From e796bae3a7f06be8c5a1deced1f00a181aa509bc Mon Sep 17 00:00:00 2001 From: miladsoft Date: Wed, 27 Nov 2024 07:02:34 +0000 Subject: [PATCH] Auto-generated commit Triggered by commit: https://github.com/block-core/angor-hub/commit/8c2edf70de82a1db86947e5d93fc52d301f08604 --- 394.2f7e3017bc79bd76.js | 1 - 394.513ca13c1ebf9f48.js | 1 + 404.html | 2 +- 767.a6646537bab60fc0.js => 767.e79dfcaf8d423435.js | 2 +- 907.7487904cafe54d75.js | 1 + 907.f9923f71f8286fd2.js | 1 - index.html | 2 +- main.1d5c26ac3665c243.js | 1 - main.476ab4b0579bfade.js | 1 + ngsw.json | 2 +- runtime.06b1b5d213285f59.js => runtime.4b8589ab227394d2.js | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 394.2f7e3017bc79bd76.js create mode 100644 394.513ca13c1ebf9f48.js rename 767.a6646537bab60fc0.js => 767.e79dfcaf8d423435.js (59%) create mode 100644 907.7487904cafe54d75.js delete mode 100644 907.f9923f71f8286fd2.js delete mode 100644 main.1d5c26ac3665c243.js create mode 100644 main.476ab4b0579bfade.js rename runtime.06b1b5d213285f59.js => runtime.4b8589ab227394d2.js (90%) diff --git a/394.2f7e3017bc79bd76.js b/394.2f7e3017bc79bd76.js deleted file mode 100644 index 760cc28..0000000 --- a/394.2f7e3017bc79bd76.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkangor=self.webpackChunkangor||[]).push([[394],{5394:(Ie,v,s)=>{s.r(v),s.d(v,{default:()=>ve});var c=s(3014),j=s(7785),b=s(708),m=s(4460),P=s(936),u=s(9471),x=s(7702),k=s(6071),_=s(3904),y=s(6389),p=s(7818),I=s(1054),F=s(1371),U=s(7712),f=s(8716),E=s(1556),R=s(9363),C=s(8447),G=s(2835),w=s(5785),$=s(1211),d=s(3797),S=s(5727),e=s(3107),Y=s(8078),T=s(3149),B=s(6388),M=s(7859),X=s(7544),N=s(1109),A=s(7153),L=s(5616),D=s(5506),V=s(4160),z=s(9207);const K=["eventInput"],Z=["commentInput"],O=()=>["hex","npub"],W=(i,a)=>({height:i,overflow:a}),J=(i,a)=>({"white-space":i,"max-height":a,overflow:"hidden"}),H=i=>({"large-font":i});function Q(i,a){if(1&i&&(e.qex(0),e.nrm(1,"img",32),e.bVm()),2&i){const t=e.XpG();e.R7$(),e.FS9("alt",(null==t.profileUser?null:t.profileUser.display_name)||(null==t.profileUser?null:t.profileUser.name)||""),e.Y8G("src",t.getSafeUrl(null==t.profileUser?null:t.profileUser.picture),e.B4B)}}function q(i,a){if(1&i&&e.nrm(0,"img",33),2&i){const t=e.XpG();e.FS9("alt",(null==t.profileUser?null:t.profileUser.display_name)||(null==t.profileUser?null:t.profileUser.name)||"")}}function ee(i,a){if(1&i){const t=e.RV6();e.j41(0,"button",34),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.openZapDialog())}),e.j41(1,"span",35),e.nrm(2,"mat-icon",36),e.j41(3,"span"),e.EFF(4),e.k0s()()()}if(2&i){const t=e.XpG();e.R7$(2),e.Y8G("svgIcon",t.isCurrentUserProfile?"heroicons_outline:qr-code":"feather:zap"),e.R7$(2),e.JRh(t.isCurrentUserProfile?"Receive Zap":"Send Zap")}}function te(i,a){if(1&i){const t=e.RV6();e.qex(0),e.j41(1,"button",34),e.bIt("click",function(){const n=e.eBV(t).$implicit,r=e.XpG();return e.Njj(r.copyKey(n))}),e.j41(2,"span",35),e.nrm(3,"mat-icon",36),e.j41(4,"span"),e.EFF(5),e.k0s()()(),e.bVm()}if(2&i){const t=a.$implicit;e.R7$(3),e.Y8G("svgIcon","heroicons_outline:clipboard-document"),e.R7$(2),e.SpI("Copy Public key (",t,")")}}function ne(i,a){1&i&&(e.j41(0,"button",37)(1,"span",35),e.nrm(2,"mat-icon",36),e.j41(3,"span"),e.EFF(4,"Edit your profile"),e.k0s()()()),2&i&&(e.Y8G("routerLink","/settings/profile"),e.R7$(2),e.Y8G("svgIcon","heroicons_outline:pencil-square"))}function oe(i,a){1&i&&(e.qex(0),e.j41(1,"button",38)(2,"span",35),e.nrm(3,"mat-icon",36),e.j41(4,"span"),e.EFF(5,"Report"),e.k0s()()(),e.j41(6,"button",38)(7,"span",35),e.nrm(8,"mat-icon",36),e.j41(9,"span"),e.EFF(10,"Turn on notifications"),e.k0s()()(),e.bVm()),2&i&&(e.R7$(3),e.Y8G("svgIcon","heroicons_solid:exclamation-triangle"),e.R7$(5),e.Y8G("svgIcon","heroicons_solid:bell"))}function ie(i,a){1&i&&(e.j41(0,"span",46),e.EFF(1,"..."),e.k0s())}function se(i,a){if(1&i){const t=e.RV6();e.j41(0,"angor-card",39)(1,"div",40)(2,"div",41),e.EFF(3," About "),e.k0s(),e.j41(4,"button",42),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.toggleAbout())}),e.nrm(5,"mat-icon",43),e.k0s()(),e.j41(6,"div",44),e.EFF(7),e.DNE(8,ie,2,0,"span",45),e.k0s()()}if(2&i){const t=e.XpG();e.Y8G("ngStyle",e.l_i(5,W,t.aboutExpanded?"auto":"80px",t.aboutExpanded?"visible":"hidden")),e.R7$(5),e.Y8G("svgIcon",t.aboutExpanded?"heroicons_outline:chevron-up":"heroicons_outline:chevron-down"),e.R7$(),e.Y8G("ngStyle",e.l_i(8,J,t.aboutExpanded?"normal":"nowrap",t.aboutExpanded?"none":"1.5em")),e.R7$(),e.SpI(" ",(null==t.profileUser?null:t.profileUser.about)||""," "),e.R7$(),e.Y8G("ngIf",!t.aboutExpanded)}}function re(i,a){if(1&i){const t=e.RV6();e.j41(0,"div",62)(1,"emoji-mart",63),e.bIt("emojiClick",function(n){e.eBV(t);const r=e.XpG(2);return e.Njj(r.addEmoji(n))}),e.k0s()()}if(2&i){const t=e.XpG(2);e.R7$(),e.Y8G("darkMode",t.darkMode)}}function ae(i,a){if(1&i){const t=e.RV6();e.j41(0,"angor-card",47)(1,"div",48)(2,"div",49),e.EFF(3,"Create Post"),e.k0s(),e.j41(4,"mat-slide-toggle",50),e.bIt("change",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.togglePreview())}),e.EFF(5," Preview "),e.k0s()(),e.j41(6,"div",51)(7,"mat-form-field",52),e.nrm(8,"textarea",53,2),e.k0s()(),e.j41(10,"div",54)(11,"div",35)(12,"button",55),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.toggleEmojiPicker())}),e.nrm(13,"mat-icon",18),e.j41(14,"span",56),e.EFF(15,"Feeling"),e.k0s()(),e.DNE(16,re,2,1,"div",57),e.j41(17,"button",58),e.nrm(18,"mat-icon",18),e.j41(19,"span",56),e.EFF(20,"Media"),e.k0s()(),e.j41(21,"button",58),e.nrm(22,"mat-icon",18),e.j41(23,"span",56),e.EFF(24,"Tag"),e.k0s()(),e.j41(25,"button",59),e.nrm(26,"mat-icon",18),e.k0s(),e.j41(27,"mat-menu",null,3)(29,"button",60)(30,"span",35),e.nrm(31,"mat-icon",36),e.j41(32,"span"),e.EFF(33,"Tag"),e.k0s()()(),e.j41(34,"button",60)(35,"span",35),e.nrm(36,"mat-icon",36),e.j41(37,"span"),e.EFF(38,"Feeling"),e.k0s()()(),e.j41(39,"button",38)(40,"span",35),e.nrm(41,"mat-icon",36),e.j41(42,"span"),e.EFF(43,"Live"),e.k0s()()(),e.j41(44,"button",38)(45,"span",35),e.nrm(46,"mat-icon",36),e.j41(47,"span"),e.EFF(48,"Gif"),e.k0s()()(),e.j41(49,"button",38)(50,"span",35),e.nrm(51,"mat-icon",36),e.j41(52,"span"),e.EFF(53,"Check in"),e.k0s()()()()(),e.j41(54,"button",61),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.sendEvent())}),e.nrm(55,"mat-icon",18),e.j41(56,"span",56),e.EFF(57,"Send"),e.k0s()()()()}if(2&i){const t=e.sdS(28),o=e.XpG();e.R7$(4),e.Y8G("color","primary"),e.R7$(3),e.Y8G("subscriptSizing","dynamic"),e.R7$(),e.Y8G("placeholder","What's on your mind?")("rows",3),e.R7$(5),e.Y8G("svgIcon","heroicons_solid:face-smile"),e.R7$(3),e.Y8G("ngIf",o.showEmojiPicker),e.R7$(2),e.Y8G("svgIcon","heroicons_solid:photo"),e.R7$(4),e.Y8G("svgIcon","heroicons_solid:user-circle"),e.R7$(3),e.Y8G("matMenuTriggerFor",t),e.R7$(),e.Y8G("svgIcon","heroicons_solid:ellipsis-horizontal"),e.R7$(5),e.Y8G("svgIcon","heroicons_solid:user-circle"),e.R7$(5),e.Y8G("svgIcon","heroicons_solid:face-smile"),e.R7$(5),e.Y8G("svgIcon","heroicons_solid:play"),e.R7$(5),e.Y8G("svgIcon","heroicons_solid:sparkles"),e.R7$(5),e.Y8G("svgIcon","heroicons_solid:map-pin"),e.R7$(4),e.Y8G("svgIcon","heroicons_solid:paper-airplane")}}function le(i,a){if(1&i&&(e.qex(0),e.j41(1,"div",86),e.nrm(2,"img",87),e.k0s(),e.bVm()),2&i){const t=e.XpG().$implicit;e.R7$(2),e.Y8G("src",t.safeWord,e.B4B)}}function ce(i,a){if(1&i&&(e.qex(0),e.j41(1,"div",86)(2,"video",88),e.nrm(3,"source",89),e.EFF(4," Your browser does not support the video tag. "),e.k0s()(),e.bVm()),2&i){const t=e.XpG().$implicit;e.R7$(3),e.Y8G("src",t.safeWord,e.B4B)}}function me(i,a){if(1&i&&(e.qex(0),e.j41(1,"div",86)(2,"audio",90),e.nrm(3,"source",91),e.EFF(4," Your browser does not support the audio element. "),e.k0s()(),e.bVm()),2&i){const t=e.XpG().$implicit;e.R7$(3),e.Y8G("src",t.safeWord,e.B4B)}}function pe(i,a){if(1&i&&(e.qex(0),e.j41(1,"div",92)(2,"a",93)(3,"span",94),e.EFF(4),e.k0s()()(),e.bVm()),2&i){const t=e.XpG().$implicit;e.R7$(2),e.Y8G("href",t.word,e.B4B),e.R7$(2),e.JRh(t.word)}}function ue(i,a){if(1&i&&(e.qex(0),e.j41(1,"div",92)(2,"span",95),e.EFF(3),e.k0s()(),e.bVm()),2&i){const t=e.XpG().$implicit,o=e.XpG(2);e.R7$(2),e.Y8G("ngClass",e.eq3(2,H,o.isSingleEmojiOrWord(t))),e.R7$(),e.SpI(" ",t.trim()," ")}}function fe(i,a){if(1&i&&(e.j41(0,"div",85),e.DNE(1,le,3,1,"ng-container",24)(2,ce,5,1,"ng-container",24)(3,me,5,1,"ng-container",24)(4,pe,5,2,"ng-container",24)(5,ue,4,4,"ng-container",24),e.k0s()),2&i){const t=a.$implicit;e.R7$(),e.Y8G("ngIf","image"===t.token),e.R7$(),e.Y8G("ngIf","video"===t.token),e.R7$(),e.Y8G("ngIf","audio"===t.token),e.R7$(),e.Y8G("ngIf","link"===t.token),e.R7$(),e.Y8G("ngIf",!t.token)}}function de(i,a){if(1&i&&(e.j41(0,"angor-card",64,4)(2,"div",65),e.nrm(3,"img",66),e.j41(4,"div",67)(5,"span",68),e.EFF(6),e.k0s(),e.j41(7,"span",69),e.EFF(8,"1 minutes ago"),e.k0s()()(),e.DNE(9,fe,6,5,"div",70),e.j41(10,"div",71)(11,"button",72),e.nrm(12,"mat-icon",73),e.j41(13,"span",56),e.EFF(14,"Unlike"),e.k0s()(),e.j41(15,"button",72),e.nrm(16,"mat-icon",74),e.j41(17,"span",56),e.EFF(18,"Comment"),e.k0s()(),e.j41(19,"button",72),e.nrm(20,"mat-icon",75),e.j41(21,"span",56),e.EFF(22,"Share"),e.k0s()(),e.j41(23,"button",72),e.nrm(24,"mat-icon",76),e.j41(25,"span",56),e.EFF(26,"Zap"),e.k0s()()(),e.nrm(27,"hr",77),e.j41(28,"div",78)(29,"div",35)(30,"div",79),e.EFF(31,"0 Zap"),e.k0s()(),e.nrm(32,"div",80),e.j41(33,"div",81)(34,"button",82),e.EFF(35," 0 Like "),e.k0s(),e.j41(36,"button",82),e.EFF(37," 0 shares "),e.k0s(),e.j41(38,"button",83)(39,"span",84),e.EFF(40,"0 Comments"),e.k0s()()()()()),2&i){const t=e.XpG();e.R7$(3),e.FS9("alt",(null==t.profileUser?null:t.profileUser.display_name)||(null==t.profileUser?null:t.profileUser.name)||""),e.Y8G("src",t.getSafeUrl(null==t.profileUser?null:t.profileUser.picture),e.B4B),e.R7$(3),e.JRh((null==t.profileUser?null:t.profileUser.display_name)||(null==t.profileUser?null:t.profileUser.name)||""),e.R7$(3),e.Y8G("ngForOf",t.parseContent.parseContent(t.eventInput.nativeElement.value))("ngForTrackBy",t.trackByFn),e.R7$(3),e.Y8G("svgIcon","heroicons_solid:heart"),e.R7$(4),e.Y8G("svgIcon","heroicons_solid:chat-bubble-left-ellipsis"),e.R7$(4),e.Y8G("svgIcon","heroicons_solid:share"),e.R7$(4),e.Y8G("svgIcon","heroicons_solid:bolt")}}function ge(i,a){1&i&&e.nrm(0,"app-post",30),2&i&&e.Y8G("item",a.$implicit)}function he(i,a){if(1&i){const t=e.RV6();e.j41(0,"div",31)(1,"button",96),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.loadNextPage())}),e.EFF(2),e.k0s()()}if(2&i){const t=e.XpG();e.R7$(),e.Y8G("disabled",t.loading),e.R7$(),e.SpI(" ",t.loading?"Loading...":"Load More Posts"," ")}}const ve=[{path:"",component:(()=>{class i{constructor(t,o,n,r,l,g,h,be,xe,ke,_e,ye,je,Pe){this._changeDetectorRef=t,this._signerService=o,this._storageService=n,this._sanitizer=r,this._route=l,this._router=g,this._snackBar=h,this._dialog=be,this._angorConfigService=xe,this._angorConfirmationService=ke,this._eventService=_e,this._subscriptionService=ye,this._clipboard=je,this.parseContent=Pe,this.darkMode=!1,this.isLoading=!0,this.errorMessage=null,this._unsubscribeAll=new C.B,this.allPublicKeys=[],this.isCurrentUserProfile=!1,this.isFollowing=!1,this.showEmojiPicker=!1,this.showCommentEmojiPicker=!1,this.paymentInvoice="",this.invoiceAmount="?",this.isLiked=!1,this.isPreview=!1,this.posts=[],this.currentPage=1,this.loading=!1,this.myLikes=[],this.myLikedNoteIds=[],this.isLoadingPosts=!0,this.noEventsMessage="",this.hasMorePosts=!0,this.followersList=[],this.followingList=[],this.aboutExpanded=!0,this.totalContacts=0,this.followersCount=0,this.followingCount=0}ngOnInit(){var t=this;return(0,c.A)(function*(){t.initializeTheme(),t.processRouteParams(),t.loadInitialPosts(),t.subscribeToNewPosts()})()}initializeTheme(){this._angorConfigService.config$.subscribe(t=>{"auto"===t.scheme?this.detectSystemTheme():this.darkMode="dark"===t.scheme})}checkIfRoutePubKeyIsFollowing(){this.isFollowing=!(!this.routePubKey||!this.followersList)&&this.followersList.some(t=>t.pubkey===this.routePubKey)}processRouteParams(){this._route.paramMap.subscribe(t=>{const o=t.get("pubkey")||"";if(o){const n=this._signerService.processKey(o);n?(this.routePubKey=n,this.isCurrentUserProfile=!1):(this.errorMessage="Public key is invalid. Please check your input.",this.setCurrentUserProfile())}else this.setCurrentUserProfile();this.loadUserProfileData(this.routePubKey)})}setCurrentUserProfile(){this.isCurrentUserProfile=!0,this.routePubKey=this._signerService.getPublicKey()}loadUserProfileData(t){this.loadUserProfile(t)}isValidHexPubkey(t){return/^[a-fA-F0-9]{64}$/.test(t)}loadInitialPosts(){var t=this;return(0,c.A)(function*(){t.loading=!0;let o=0;try{for(;o<5;){const l=yield t._storageService.getPostsByPubKeysWithPagination([t.routePubKey],t.currentPage,10);if(l.length>0){t.posts=[...t.posts,...l],t.posts.sort((g,h)=>h.created_at-g.created_at);break}o++,o<5&&(yield t.delay(3e3))}t.hasMorePosts=t.posts.length>0,t.hasMorePosts||console.log("This user has no posts.")}catch(l){console.error("Error loading posts:",l)}finally{t.loading=!1}t.refreshUI()})()}delay(t){return new Promise(o=>setTimeout(o,t))}subscribeToNewPosts(){var t=this;this.isCurrentUserProfile?this._storageService.posts$.subscribe(o=>{o&&o.pubkey===this.routePubKey&&(this.posts.unshift(o),this.posts.sort((n,r)=>r.created_at-n.created_at),this.refreshUI())}):this.postsSubscriptionId=this._subscriptionService.addSubscriptions([{authors:[this.routePubKey],kinds:[1]}],function(){var n=(0,c.A)(function*(r){t.isReply(r)||t._storageService.savePost(r)});return function(r){return n.apply(this,arguments)}}())}isReply(t){return t.tags.filter(n=>"e"===n[0]||"p"===n[0]).length>0}loadNextPage(){this.loading||(this.currentPage++,this.loadInitialPosts())}toggleAbout(){this.aboutExpanded=!this.aboutExpanded}ngOnDestroy(){this.subscriptionId&&this._subscriptionService.removeSubscriptionById(this.subscriptionId),this.postsSubscriptionId&&this._subscriptionService.removeSubscriptionById(this.postsSubscriptionId),this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}loadUserProfile(t){var o=this;return(0,c.A)(function*(){if(o.isLoading=!0,o.errorMessage=null,o.profileUser=null,o.refreshUI(),!t)return o.errorMessage="No public key found. Please log in again.",o.isLoading=!1,void o.refreshUI();try{const n=yield o._storageService.getProfile(t);n&&(o.profileUser=n,o.refreshUI()),o.subscribeToUserProfileAndContacts(t)}catch(n){console.error("Error loading user profile:",n)}})()}subscribeToUserProfileAndContacts(t){var o=this;return(0,c.A)(function*(){o.subscriptionId=o._subscriptionService.addSubscriptions([{authors:[t],kinds:[0],limit:1},{kinds:[d.In],authors:[t]},{kinds:[d.In],"#p":[t]}],function(){var r=(0,c.A)(function*(l){switch(l.kind){case 0:yield o.processProfileMetadata(l,t);break;case d.In:o.processContactData(l,t)}});return function(l){return r.apply(this,arguments)}}())})()}processProfileMetadata(t,o){var n=this;return(0,c.A)(function*(){try{const r=JSON.parse(t.content);n.profileUser=r,yield n._storageService.saveProfile(o,r),n._changeDetectorRef.markForCheck()}catch(r){console.error("Error processing metadata event:",r)}})()}processContactData(t,o){const n=t.pubkey===o,r={id:t.id,pubkey:t.pubkey,created_at:t.created_at,tags:t.tags,isFollower:n};n?(this.followersList.push(r),this.followersCount++,this.totalContacts++):(this.followingList.push(r),this.followingCount++,this.totalContacts++),this.checkIfRoutePubKeyIsFollowing(),this.refreshUI()}getSafeUrl(t){return this._sanitizer.bypassSecurityTrustUrl(t)}refreshUI(){this._changeDetectorRef.detectChanges()}openSnackBar(t,o="dismiss"){this._snackBar.open(t,o,{duration:3e3})}canUseZap(){var t=this;return(0,c.A)(function*(){return!(!t.profileUser||!t.profileUser.lud06&&!t.profileUser.lud16)||(t.openSnackBar("Using Zap is not possible. Please complete your profile to include lud06 or lud16."),!1)})()}openZapDialog(t=""){var o=this;return(0,c.A)(function*(){(yield o.canUseZap())&&o._dialog.open($.r,{width:"405px",maxHeight:"90vh",data:{lud16:o.profileUser.lud16,lud06:o.profileUser.lud06,pubkey:o.profileUser.pubkey,eventId:t}})})()}toggleLike(){this.isLiked=!this.isLiked,this.isLiked&&setTimeout(()=>{this.isLiked=!1,this.isLiked=!0},300)}addEmoji(t){this.eventInput.nativeElement.value+=t.emoji.native,this.showEmojiPicker=!1}toggleEmojiPicker(){this.showCommentEmojiPicker=!1,this.showEmojiPicker=!this.showEmojiPicker}addEmojiTocomment(t){this.commentInput.nativeElement.value+=t.emoji.native,this.showCommentEmojiPicker=!1}detectSystemTheme(){const t=window.matchMedia("(prefers-color-scheme: dark)");this.darkMode=t.matches,t.addEventListener("change",o=>{this.darkMode=o.matches})}togglePreview(){this.isPreview=!this.isPreview}sendEvent(){""!=this.eventInput.nativeElement.value&&this._eventService.sendTextEvent(this.eventInput.nativeElement.value).then(()=>{this.eventInput.nativeElement.value="",this._changeDetectorRef.markForCheck()}).catch(t=>{console.error("Failed to send Event:",t)})}copyHex(){this._clipboard.copy(this.routePubKey),this.openSnackBar("hex public key copied","dismiss")}copyNpub(){var t=this._signerService.getNpubFromPubkey(this.routePubKey);this._clipboard.copy(t),this.openSnackBar("npub public key copied","dismiss")}copyKey(t){if("hex"===t)this._clipboard.copy(this.routePubKey),this.openSnackBar("hex public key copied","dismiss");else if("npub"===t){const o=this._signerService.getNpubFromPubkey(this.routePubKey);this._clipboard.copy(o),this.openSnackBar("npub public key copied","dismiss")}}isSingleEmojiOrWord(t){const o=t.trim(),n=/^\w+$/.test(o),r=/^[\p{Emoji}]+$/u.test(o);return n||r}openPost(t){this._router.navigate(["/post",t])}static{this.\u0275fac=function(o){return new(o||i)(e.rXU(e.gRc),e.rXU(Y.A),e.rXU(T.n),e.rXU(B.up),e.rXU(f.nX),e.rXU(f.Ix),e.rXU(M.UG),e.rXU(X.bZ),e.rXU(N.P),e.rXU(A.m),e.rXU(L.U),e.rXU(D.n),e.rXU(V.B0),e.rXU(z.m))}}static{this.\u0275cmp=e.VBU({type:i,selectors:[["profile"]],viewQuery:function(o,n){if(1&o&&(e.GBs(K,5),e.GBs(Z,5)),2&o){let r;e.mGM(r=e.lsd())&&(n.eventInput=r.first),e.mGM(r=e.lsd())&&(n.commentInput=r.first)}},decls:40,vars:19,consts:[["defaultAvatar",""],["profileMenu","matMenu"],["eventInput",""],["postCardMenu01","matMenu"],["expandableComments","angorCard"],[1,"flex","min-w-0","flex-auto","flex-col"],[1,"bg-card","flex","flex-col","shadow"],["onerror","this.onerror=null; this.src='/images/pages/profile/cover.jpg';",1,"h-40","object-cover","lg:h-80",3,"src","alt"],[1,"bg-card","mx-auto","flex","w-full","max-w-5xl","flex-0","flex-col","items-center","px-8","lg:h-18","lg:flex-row"],[1,"-mt-26","flex-shrink-0","rounded-full","lg:-mt-22"],[4,"ngIf","ngIfElse"],[1,"mt-4","flex","flex-grow","flex-col","items-center","lg:ml-8","lg:mt-0","lg:items-start"],[1,"max-w-full","truncate","text-lg","font-bold","leading-tight","lg:max-w-[25rem]",2,"white-space","nowrap","overflow","hidden","text-overflow","ellipsis"],[1,"text-secondary","max-w-full","truncate","leading-tight","lg:max-w-[25rem]",2,"white-space","nowrap","overflow","hidden","text-overflow","ellipsis"],[1,"flex","flex-shrink-0","items-center","space-x-6","lg:mt-0"],[1,"mb-4","mt-8","flex","flex-shrink-0","items-center","space-x-6","lg:m-0","lg:ml-auto"],[1,"flex","h-10","w-10","items-center","justify-center","rounded-full","border","bg-white","shadow-md"],["mat-icon-button",""],[1,"icon-size-5",3,"svgIcon"],["mat-icon-button","",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"my-2"],["mat-menu-item","",3,"routerLink",4,"ngIf"],[4,"ngIf"],[1,"mx-auto","w-full","max-w-5xl","p-6","sm:p-8"],[1,"m-auto","flex","w-full","max-w-140","flex-col","items-start"],["class","about-section mb-8 flex w-full flex-col items-start p-6 pb-6 transition-all duration-300 sm:p-8","style","position: relative",3,"ngStyle",4,"ngIf"],["class","mb-8 flex w-full flex-col p-6 pb-6 sm:p-8",4,"ngIf"],["class","mb-8 flex w-full flex-col bg-primary-50 dark:bg-primary-800",4,"ngIf"],[1,"mb-8","flex","w-full","flex-col",3,"item"],[1,"m-auto","mt-4","flex","justify-center"],["onerror","this.onerror=null; this.src='/images/avatars/avatar-placeholder.png';",1,"ring-bg-card","h-32","min-h-32","w-32","min-w-32","max-w-fit","rounded-full","object-cover","ring-4",3,"src","alt"],["src","/images/avatars/avatar-placeholder.png","onerror","this.onerror=null; this.src='/images/avatars/avatar-placeholder.png';",1,"ring-bg-card","h-32","min-h-32","w-32","min-w-32","rounded-full","object-cover","ring-4",3,"alt"],["mat-menu-item","",3,"click"],[1,"flex","items-center"],[1,"mr-3","icon-size-5",3,"svgIcon"],["mat-menu-item","",3,"routerLink"],["mat-menu-item",""],[1,"about-section","mb-8","flex","w-full","flex-col","items-start","p-6","pb-6","transition-all","duration-300","sm:p-8",2,"position","relative",3,"ngStyle"],[1,"mb-2","flex","w-full","items-center","justify-between"],[1,"text-2xl","font-semibold","leading-tight"],["mat-icon-button","","color","primary","aria-label","Toggle about section",2,"position","absolute","top","16px","right","16px",3,"click"],[3,"svgIcon"],[1,"about-content","text-base","text-gray-700","dark:text-gray-50","transition-all","duration-300",3,"ngStyle"],["class","text-gray-500",4,"ngIf"],[1,"text-gray-500"],[1,"mb-8","flex","w-full","flex-col","p-6","pb-6","sm:p-8"],[1,"flex","justify-between"],[1,"text-xl","font-semibold"],[1,"-mr-4","ml-auto",3,"change","color"],[1,"mt-8","flex","flex-col","items-start","sm:flex-row"],[1,"w-full",3,"subscriptSizing"],["matInput","","cdkTextareaAutosize","",3,"placeholder","rows"],[1,"-mx-3","mt-6","flex","items-center","justify-between","sm:mt-8"],["mat-button","",1,"mr-1","px-3",3,"click"],[1,"ml-2"],["class","emoji-picker-container-global",4,"ngIf"],["mat-button","",1,"mr-1","hidden","px-3","sm:inline-flex"],["mat-button","",1,"px-3",3,"matMenuTriggerFor"],["mat-menu-item","",1,"sm:hidden"],["mat-button","",1,"mr-1","flex","px-3",3,"click"],[1,"emoji-picker-container-global"],[3,"emojiClick","darkMode"],[1,"mb-8","flex","w-full","flex-col","bg-primary-50","dark:bg-primary-800"],[1,"mx-6","mb-4","mt-6","flex","items-center","sm:mx-8"],["onerror","this.onerror=null; this.src='/images/avatars/avatar-placeholder.png';",1,"mr-4","h-10","w-10","rounded-full","object-cover",3,"src","alt"],[1,"flex","flex-col"],[1,"font-semibold","leading-none"],[1,"text-secondary","mt-1","text-sm","leading-none"],["class","inline-block whitespace-pre-wrap break-words",4,"ngFor","ngForOf","ngForTrackBy"],[1,"mx-3","flex","items-center","sm:mx-5"],["mat-button","",1,"mr-1","px-3"],[1,"text-red-500","icon-size-5",3,"svgIcon"],[1,"text-blue-500","icon-size-5",3,"svgIcon"],[1,"text-green-500","icon-size-5",3,"svgIcon"],[1,"text-orange-500","icon-size-5",3,"svgIcon"],[1,"mx-6","mb-6","mt-4","border-b","sm:mx-8"],[1,"mx-6","mb-4","flex","flex-col","sm:mx-8","sm:mb-6","sm:flex-row","sm:items-center"],[1,"ml-3","text-md","tracking-tight"],[1,"hidden","flex-auto","sm:flex"],[1,"mt-4","flex","items-center","sm:mt-0"],["mat-button","",1,"-ml-2","mr-1","px-3","sm:ml-0"],["mat-button","",1,"px-3","sm:-mr-4"],[1,"mr-1"],[1,"inline-block","whitespace-pre-wrap","break-words"],[1,"relative","mb-4","block"],["alt","Embedded Image",1,"max-h-140","object-cover",2,"width","100%",3,"src"],["controls","",2,"width","100%"],["type","video/mp4",3,"src"],["controls",""],["type","audio/mpeg",3,"src"],[1,"mx-6","mb-6","mt-2","sm:mx-8"],["target","_blank",1,"inline-block","break-words","text-blue-500","underline",3,"href"],[1,"inline-block","break-words"],[1,"inline-block","break-words",3,"ngClass"],["mat-raised-button","","color","primary",1,"bg-card","text-gray-700","hover:bg-gray-200","dark:text-gray-300","dark:hover:bg-gray-700",3,"click","disabled"]],template:function(o,n){if(1&o&&(e.j41(0,"div",5)(1,"div",6)(2,"div"),e.nrm(3,"img",7),e.k0s(),e.j41(4,"div",8)(5,"div",9),e.DNE(6,Q,2,2,"ng-container",10)(7,q,1,1,"ng-template",null,0,e.C5r),e.k0s(),e.j41(9,"div",11)(10,"div",12),e.EFF(11),e.k0s(),e.j41(12,"div",13),e.EFF(13),e.k0s()(),e.j41(14,"div",14)(15,"div",15)(16,"div",16)(17,"button",17),e.nrm(18,"mat-icon",18),e.k0s()(),e.j41(19,"div",16)(20,"button",17),e.nrm(21,"mat-icon",18),e.k0s()(),e.j41(22,"div")(23,"button",19),e.nrm(24,"mat-icon",18),e.k0s(),e.j41(25,"mat-menu",null,1),e.DNE(27,ee,5,2,"button",20)(28,te,6,2,"ng-container",21),e.nrm(29,"mat-divider",22),e.DNE(30,ne,5,2,"button",23)(31,oe,11,2,"ng-container",24),e.k0s()()()()()(),e.j41(32,"div",25)(33,"div",26),e.DNE(34,se,9,11,"angor-card",27)(35,ae,58,16,"angor-card",28)(36,de,41,9,"angor-card",29),e.Z7z(37,ge,1,1,"app-post",30,e.Vm6),e.DNE(39,he,3,2,"div",31),e.k0s()()()),2&o){const r=e.sdS(8),l=e.sdS(26);e.R7$(3),e.FS9("alt",(null==n.profileUser?null:n.profileUser.display_name)||(null==n.profileUser?null:n.profileUser.name)||"Banner"),e.Y8G("src",(null==n.profileUser?null:n.profileUser.banner)||"/images/pages/profile/cover.jpg",e.B4B),e.R7$(3),e.Y8G("ngIf",null==n.profileUser?null:n.profileUser.picture)("ngIfElse",r),e.R7$(5),e.SpI(" ",(null==n.profileUser?null:n.profileUser.display_name)||(null==n.profileUser?null:n.profileUser.name)||"Unknown User"," "),e.R7$(2),e.SpI(" ",(null==n.profileUser?null:n.profileUser.username)||(null==n.profileUser?null:n.profileUser.name)," "),e.R7$(5),e.Y8G("svgIcon","heroicons_outline:chat-bubble-left-right"),e.R7$(3),e.Y8G("svgIcon","heroicons_solid:bookmark"),e.R7$(2),e.Y8G("matMenuTriggerFor",l),e.R7$(),e.Y8G("svgIcon","heroicons_solid:ellipsis-vertical"),e.R7$(3),e.Y8G("ngIf",!n.isCurrentUserProfile||n.isCurrentUserProfile),e.R7$(),e.Y8G("ngForOf",e.lJ4(18,O)),e.R7$(2),e.Y8G("ngIf",n.isCurrentUserProfile),e.R7$(),e.Y8G("ngIf",!n.isCurrentUserProfile),e.R7$(3),e.Y8G("ngIf",(null==n.profileUser?null:n.profileUser.about)&&""!==n.profileUser.about.trim()),e.R7$(),e.Y8G("ngIf",n.isCurrentUserProfile),e.R7$(),e.Y8G("ngIf",n.isPreview),e.R7$(),e.Dyx(n.posts),e.R7$(2),e.vxM(n.hasMorePosts?39:-1)}},dependencies:[f.Wk,j.n,_.m_,_.An,u.Hl,u.$z,u.iY,p.Cn,p.kk,p.fb,p.Cp,k.RG,k.rl,y.fS,y.fg,b.xb,b.EE,x.w,x.q,U.uc,m.YU,m.MD,m.Sq,m.bT,m.B3,P.YN,E.Ic,F.sG,I.D6,R.e,G.MY,w.vg,S.q],styles:[".emoji-picker-container-global{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:9999;width:350px;max-width:100%}.heart-beat{animation:heartBeatAnimation .3s ease-in-out}@keyframes heartBeatAnimation{0%{transform:scale(1)}30%{transform:scale(2)}60%{transform:scale(1)}to{transform:scale(1)}}.loading-spinner{display:flex;justify-content:center;align-items:center;margin:20px 0}.loading-spinner .spinner{border:4px solid rgba(0,0,0,.1);border-left-color:#009fb5;border-radius:50%;width:30px;height:30px;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.about-section{overflow:hidden;transition:height .3s ease}.c-img,.c-video{max-width:100%;border-radius:10px}\n"],encapsulation:2,changeDetection:0})}}return i})()}]}}]); \ No newline at end of file diff --git a/394.513ca13c1ebf9f48.js b/394.513ca13c1ebf9f48.js new file mode 100644 index 0000000..c2b4877 --- /dev/null +++ b/394.513ca13c1ebf9f48.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkangor=self.webpackChunkangor||[]).push([[394],{5394:(Ue,h,r)=>{r.r(h),r.d(h,{default:()=>ve});var c=r(3014),y=r(7785),v=r(708),m=r(4460),j=r(936),d=r(9471),b=r(7702),k=r(6071),x=r(3904),_=r(6389),p=r(7818),P=r(1054),I=r(1371),U=r(7712),f=r(8716),F=r(1556),E=r(9363),R=r(8447),G=r(2835),$=r(5785),C=r(1211),S=r(5727),e=r(3107),w=r(8078),Y=r(3149),T=r(6388),B=r(7859),M=r(7544),X=r(1109),A=r(7153),N=r(5616),V=r(5506),L=r(4160),D=r(9207),z=r(7112);const K=["eventInput"],Z=["commentInput"],O=()=>["hex","npub"],W=(i,a)=>({height:i,overflow:a}),J=(i,a)=>({"white-space":i,"max-height":a,overflow:"hidden"}),H=i=>({"large-font":i});function Q(i,a){if(1&i&&(e.qex(0),e.nrm(1,"img",33),e.bVm()),2&i){const t=e.XpG();e.R7$(),e.FS9("alt",(null==t.profileUser?null:t.profileUser.display_name)||(null==t.profileUser?null:t.profileUser.name)||""),e.Y8G("src",t.getSafeUrl(null==t.profileUser?null:t.profileUser.picture),e.B4B)}}function q(i,a){if(1&i&&e.nrm(0,"img",34),2&i){const t=e.XpG();e.FS9("alt",(null==t.profileUser?null:t.profileUser.display_name)||(null==t.profileUser?null:t.profileUser.name)||"")}}function ee(i,a){if(1&i){const t=e.RV6();e.j41(0,"button",35),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.openZapDialog())}),e.j41(1,"span",36),e.nrm(2,"mat-icon",37),e.j41(3,"span"),e.EFF(4),e.k0s()()()}if(2&i){const t=e.XpG();e.R7$(2),e.Y8G("svgIcon",t.isCurrentUserProfile?"heroicons_outline:qr-code":"feather:zap"),e.R7$(2),e.JRh(t.isCurrentUserProfile?"Receive Zap":"Send Zap")}}function te(i,a){if(1&i){const t=e.RV6();e.qex(0),e.j41(1,"button",35),e.bIt("click",function(){const o=e.eBV(t).$implicit,s=e.XpG();return e.Njj(s.copyKey(o))}),e.j41(2,"span",36),e.nrm(3,"mat-icon",37),e.j41(4,"span"),e.EFF(5),e.k0s()()(),e.bVm()}if(2&i){const t=a.$implicit;e.R7$(3),e.Y8G("svgIcon","heroicons_outline:clipboard-document"),e.R7$(2),e.SpI("Copy Public key (",t,")")}}function oe(i,a){1&i&&(e.j41(0,"button",38)(1,"span",36),e.nrm(2,"mat-icon",37),e.j41(3,"span"),e.EFF(4,"Edit your profile"),e.k0s()()()),2&i&&(e.Y8G("routerLink","/settings/profile"),e.R7$(2),e.Y8G("svgIcon","heroicons_outline:pencil-square"))}function ne(i,a){1&i&&(e.qex(0),e.j41(1,"button",39)(2,"span",36),e.nrm(3,"mat-icon",37),e.j41(4,"span"),e.EFF(5,"Report"),e.k0s()()(),e.j41(6,"button",39)(7,"span",36),e.nrm(8,"mat-icon",37),e.j41(9,"span"),e.EFF(10,"Turn on notifications"),e.k0s()()(),e.bVm()),2&i&&(e.R7$(3),e.Y8G("svgIcon","heroicons_solid:exclamation-triangle"),e.R7$(5),e.Y8G("svgIcon","heroicons_solid:bell"))}function ie(i,a){1&i&&(e.j41(0,"span",47),e.EFF(1,"..."),e.k0s())}function re(i,a){if(1&i){const t=e.RV6();e.j41(0,"angor-card",40)(1,"div",41)(2,"div",42),e.EFF(3," About "),e.k0s(),e.j41(4,"button",43),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.toggleAbout())}),e.nrm(5,"mat-icon",44),e.k0s()(),e.j41(6,"div",45),e.EFF(7),e.DNE(8,ie,2,0,"span",46),e.k0s()()}if(2&i){const t=e.XpG();e.Y8G("ngStyle",e.l_i(5,W,t.aboutExpanded?"auto":"80px",t.aboutExpanded?"visible":"hidden")),e.R7$(5),e.Y8G("svgIcon",t.aboutExpanded?"heroicons_outline:chevron-up":"heroicons_outline:chevron-down"),e.R7$(),e.Y8G("ngStyle",e.l_i(8,J,t.aboutExpanded?"normal":"nowrap",t.aboutExpanded?"none":"1.5em")),e.R7$(),e.SpI(" ",(null==t.profileUser?null:t.profileUser.about)||""," "),e.R7$(),e.Y8G("ngIf",!t.aboutExpanded)}}function se(i,a){if(1&i){const t=e.RV6();e.j41(0,"div",63)(1,"emoji-mart",64),e.bIt("emojiClick",function(o){e.eBV(t);const s=e.XpG(2);return e.Njj(s.addEmoji(o))}),e.k0s()()}if(2&i){const t=e.XpG(2);e.R7$(),e.Y8G("darkMode",t.darkMode)}}function ae(i,a){if(1&i){const t=e.RV6();e.j41(0,"angor-card",48)(1,"div",49)(2,"div",50),e.EFF(3,"Create Post"),e.k0s(),e.j41(4,"mat-slide-toggle",51),e.bIt("change",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.togglePreview())}),e.EFF(5," Preview "),e.k0s()(),e.j41(6,"div",52)(7,"mat-form-field",53),e.nrm(8,"textarea",54,2),e.k0s()(),e.j41(10,"div",55)(11,"div",36)(12,"button",56),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.toggleEmojiPicker())}),e.nrm(13,"mat-icon",18),e.j41(14,"span",57),e.EFF(15,"Feeling"),e.k0s()(),e.DNE(16,se,2,1,"div",58),e.j41(17,"button",59),e.nrm(18,"mat-icon",18),e.j41(19,"span",57),e.EFF(20,"Media"),e.k0s()(),e.j41(21,"button",59),e.nrm(22,"mat-icon",18),e.j41(23,"span",57),e.EFF(24,"Tag"),e.k0s()(),e.j41(25,"button",60),e.nrm(26,"mat-icon",18),e.k0s(),e.j41(27,"mat-menu",null,3)(29,"button",61)(30,"span",36),e.nrm(31,"mat-icon",37),e.j41(32,"span"),e.EFF(33,"Tag"),e.k0s()()(),e.j41(34,"button",61)(35,"span",36),e.nrm(36,"mat-icon",37),e.j41(37,"span"),e.EFF(38,"Feeling"),e.k0s()()(),e.j41(39,"button",39)(40,"span",36),e.nrm(41,"mat-icon",37),e.j41(42,"span"),e.EFF(43,"Live"),e.k0s()()(),e.j41(44,"button",39)(45,"span",36),e.nrm(46,"mat-icon",37),e.j41(47,"span"),e.EFF(48,"Gif"),e.k0s()()(),e.j41(49,"button",39)(50,"span",36),e.nrm(51,"mat-icon",37),e.j41(52,"span"),e.EFF(53,"Check in"),e.k0s()()()()(),e.j41(54,"button",62),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.sendEvent())}),e.nrm(55,"mat-icon",18),e.j41(56,"span",57),e.EFF(57,"Send"),e.k0s()()()()}if(2&i){const t=e.sdS(28),n=e.XpG();e.R7$(4),e.Y8G("color","primary"),e.R7$(3),e.Y8G("subscriptSizing","dynamic"),e.R7$(),e.Y8G("placeholder","What's on your mind?")("rows",3),e.R7$(5),e.Y8G("svgIcon","heroicons_solid:face-smile"),e.R7$(3),e.Y8G("ngIf",n.showEmojiPicker),e.R7$(2),e.Y8G("svgIcon","heroicons_solid:photo"),e.R7$(4),e.Y8G("svgIcon","heroicons_solid:user-circle"),e.R7$(3),e.Y8G("matMenuTriggerFor",t),e.R7$(),e.Y8G("svgIcon","heroicons_solid:ellipsis-horizontal"),e.R7$(5),e.Y8G("svgIcon","heroicons_solid:user-circle"),e.R7$(5),e.Y8G("svgIcon","heroicons_solid:face-smile"),e.R7$(5),e.Y8G("svgIcon","heroicons_solid:play"),e.R7$(5),e.Y8G("svgIcon","heroicons_solid:sparkles"),e.R7$(5),e.Y8G("svgIcon","heroicons_solid:map-pin"),e.R7$(4),e.Y8G("svgIcon","heroicons_solid:paper-airplane")}}function le(i,a){if(1&i&&(e.qex(0),e.j41(1,"div",87),e.nrm(2,"img",88),e.k0s(),e.bVm()),2&i){const t=e.XpG().$implicit;e.R7$(2),e.Y8G("src",t.safeWord,e.B4B)}}function ce(i,a){if(1&i&&(e.qex(0),e.j41(1,"div",87)(2,"video",89),e.nrm(3,"source",90),e.EFF(4," Your browser does not support the video tag. "),e.k0s()(),e.bVm()),2&i){const t=e.XpG().$implicit;e.R7$(3),e.Y8G("src",t.safeWord,e.B4B)}}function me(i,a){if(1&i&&(e.qex(0),e.j41(1,"div",87)(2,"audio",91),e.nrm(3,"source",92),e.EFF(4," Your browser does not support the audio element. "),e.k0s()(),e.bVm()),2&i){const t=e.XpG().$implicit;e.R7$(3),e.Y8G("src",t.safeWord,e.B4B)}}function ue(i,a){if(1&i&&(e.qex(0),e.j41(1,"div",93)(2,"a",94)(3,"span",95),e.EFF(4),e.k0s()()(),e.bVm()),2&i){const t=e.XpG().$implicit;e.R7$(2),e.Y8G("href",t.word,e.B4B),e.R7$(2),e.JRh(t.word)}}function pe(i,a){if(1&i&&(e.qex(0),e.j41(1,"div",93)(2,"span",96),e.EFF(3),e.k0s()(),e.bVm()),2&i){const t=e.XpG().$implicit,n=e.XpG(2);e.R7$(2),e.Y8G("ngClass",e.eq3(2,H,n.isSingleEmojiOrWord(t))),e.R7$(),e.SpI(" ",t.trim()," ")}}function de(i,a){if(1&i&&(e.j41(0,"div",86),e.DNE(1,le,3,1,"ng-container",25)(2,ce,5,1,"ng-container",25)(3,me,5,1,"ng-container",25)(4,ue,5,2,"ng-container",25)(5,pe,4,4,"ng-container",25),e.k0s()),2&i){const t=a.$implicit;e.R7$(),e.Y8G("ngIf","image"===t.token),e.R7$(),e.Y8G("ngIf","video"===t.token),e.R7$(),e.Y8G("ngIf","audio"===t.token),e.R7$(),e.Y8G("ngIf","link"===t.token),e.R7$(),e.Y8G("ngIf",!t.token)}}function fe(i,a){if(1&i&&(e.j41(0,"angor-card",65,4)(2,"div",66),e.nrm(3,"img",67),e.j41(4,"div",68)(5,"span",69),e.EFF(6),e.k0s(),e.j41(7,"span",70),e.EFF(8,"1 minutes ago"),e.k0s()()(),e.DNE(9,de,6,5,"div",71),e.j41(10,"div",72)(11,"button",73),e.nrm(12,"mat-icon",74),e.j41(13,"span",57),e.EFF(14,"Unlike"),e.k0s()(),e.j41(15,"button",73),e.nrm(16,"mat-icon",75),e.j41(17,"span",57),e.EFF(18,"Comment"),e.k0s()(),e.j41(19,"button",73),e.nrm(20,"mat-icon",76),e.j41(21,"span",57),e.EFF(22,"Share"),e.k0s()(),e.j41(23,"button",73),e.nrm(24,"mat-icon",77),e.j41(25,"span",57),e.EFF(26,"Zap"),e.k0s()()(),e.nrm(27,"hr",78),e.j41(28,"div",79)(29,"div",36)(30,"div",80),e.EFF(31,"0 Zap"),e.k0s()(),e.nrm(32,"div",81),e.j41(33,"div",82)(34,"button",83),e.EFF(35," 0 Like "),e.k0s(),e.j41(36,"button",83),e.EFF(37," 0 shares "),e.k0s(),e.j41(38,"button",84)(39,"span",85),e.EFF(40,"0 Comments"),e.k0s()()()()()),2&i){const t=e.XpG();e.R7$(3),e.FS9("alt",(null==t.profileUser?null:t.profileUser.display_name)||(null==t.profileUser?null:t.profileUser.name)||""),e.Y8G("src",t.getSafeUrl(null==t.profileUser?null:t.profileUser.picture),e.B4B),e.R7$(3),e.JRh((null==t.profileUser?null:t.profileUser.display_name)||(null==t.profileUser?null:t.profileUser.name)||""),e.R7$(3),e.Y8G("ngForOf",t.parseContent.parseContent(t.eventInput.nativeElement.value))("ngForTrackBy",t.trackByFn),e.R7$(3),e.Y8G("svgIcon","heroicons_solid:heart"),e.R7$(4),e.Y8G("svgIcon","heroicons_solid:chat-bubble-left-ellipsis"),e.R7$(4),e.Y8G("svgIcon","heroicons_solid:share"),e.R7$(4),e.Y8G("svgIcon","heroicons_solid:bolt")}}function ge(i,a){1&i&&e.nrm(0,"app-post",31),2&i&&e.Y8G("item",a.$implicit)}function he(i,a){if(1&i){const t=e.RV6();e.j41(0,"div",32)(1,"button",97),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.loadNextPage())}),e.EFF(2),e.k0s()()}if(2&i){const t=e.XpG();e.R7$(),e.Y8G("disabled",t.loading),e.R7$(),e.SpI(" ",t.loading?"Loading...":"Load More Posts"," ")}}const ve=[{path:"",component:(()=>{class i{constructor(t,n,o,s,l,u,g,be,ke,xe,_e,ye,je,Pe,Ie){this._changeDetectorRef=t,this._signerService=n,this._storageService=o,this._sanitizer=s,this._route=l,this._router=u,this._snackBar=g,this._dialog=be,this._angorConfigService=ke,this._angorConfirmationService=xe,this._eventService=_e,this._subscriptionService=ye,this._clipboard=je,this.parseContent=Pe,this._bookmarkService=Ie,this.darkMode=!1,this.isLoading=!0,this.errorMessage=null,this._unsubscribeAll=new R.B,this.allPublicKeys=[],this.isCurrentUserProfile=!1,this.isFollowing=!1,this.showEmojiPicker=!1,this.showCommentEmojiPicker=!1,this.paymentInvoice="",this.invoiceAmount="?",this.isLiked=!1,this.isPreview=!1,this.posts=[],this.currentPage=1,this.loading=!1,this.myLikes=[],this.myLikedNoteIds=[],this.isLoadingPosts=!0,this.noEventsMessage="",this.hasMorePosts=!0,this.followersList=[],this.followingList=[],this.aboutExpanded=!0,this.bookmarkedProjectNpubs=[],this.bookmarks$=this._bookmarkService.bookmarks$}ngOnInit(){var t=this;return(0,c.A)(function*(){t.initializeTheme(),t.processRouteParams(),t.loadInitialPosts(),t.subscribeToNewPosts()})()}initializeTheme(){this._angorConfigService.config$.subscribe(t=>{"auto"===t.scheme?this.detectSystemTheme():this.darkMode="dark"===t.scheme})}checkIfRoutePubKeyIsFollowing(){this.isFollowing=!(!this.routePubKey||!this.followersList)&&this.followersList.some(t=>t.pubkey===this.routePubKey)}processRouteParams(){this._route.paramMap.subscribe(t=>{const n=t.get("pubkey")||"";if(n){const o=this._signerService.processKey(n);o?(this.routePubKey=o,this.isCurrentUserProfile=!1):(this.errorMessage="Public key is invalid. Please check your input.",this.setCurrentUserProfile())}else this.setCurrentUserProfile();this.loadUserProfileData(this.routePubKey)})}setCurrentUserProfile(){this.isCurrentUserProfile=!0,this.routePubKey=this._signerService.getPublicKey()}loadUserProfileData(t){this.loadUserProfile(t)}isValidHexPubkey(t){return/^[a-fA-F0-9]{64}$/.test(t)}loadInitialPosts(){var t=this;return(0,c.A)(function*(){t.loading=!0;let n=0;try{for(;n<5;){const l=yield t._storageService.getPostsByPubKeysWithPagination([t.routePubKey],t.currentPage,10);if(l.length>0){t.posts=[...t.posts,...l],t.posts.sort((u,g)=>g.created_at-u.created_at);break}n++,n<5&&(yield t.delay(3e3))}t.hasMorePosts=t.posts.length>0,t.hasMorePosts||console.log("This user has no posts.")}catch(l){console.error("Error loading posts:",l)}finally{t.loading=!1}t.refreshUI()})()}delay(t){return new Promise(n=>setTimeout(n,t))}subscribeToNewPosts(){var t=this;this.isCurrentUserProfile?this._storageService.posts$.subscribe(n=>{n&&n.pubkey===this.routePubKey&&(this.posts.unshift(n),this.posts.sort((o,s)=>s.created_at-o.created_at),this.refreshUI())}):this.postsSubscriptionId=this._subscriptionService.addSubscriptions([{authors:[this.routePubKey],kinds:[1]}],function(){var o=(0,c.A)(function*(s){t.isReply(s)||t._storageService.savePost(s)});return function(s){return o.apply(this,arguments)}}())}isReply(t){return t.tags.filter(o=>"e"===o[0]||"p"===o[0]).length>0}loadNextPage(){this.loading||(this.currentPage++,this.loadInitialPosts())}toggleAbout(){this.aboutExpanded=!this.aboutExpanded}ngOnDestroy(){this.subscriptionId&&this._subscriptionService.removeSubscriptionById(this.subscriptionId),this.postsSubscriptionId&&this._subscriptionService.removeSubscriptionById(this.postsSubscriptionId),this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}loadUserProfile(t){var n=this;return(0,c.A)(function*(){if(n.isLoading=!0,n.errorMessage=null,n.profileUser=null,n.refreshUI(),!t)return n.errorMessage="No public key found. Please log in again.",n.isLoading=!1,void n.refreshUI();try{const o=yield n._storageService.getProfile(t);o&&(n.profileUser=o,n.refreshUI()),n.subscribeToUserProfileAndContacts(t)}catch(o){console.error("Error loading user profile:",o)}})()}subscribeToUserProfileAndContacts(t){var n=this;return(0,c.A)(function*(){n.subscriptionId=n._subscriptionService.addSubscriptions([{authors:[t],kinds:[0],limit:1}],function(){var s=(0,c.A)(function*(l){yield n.processProfileMetadata(l,t)});return function(l){return s.apply(this,arguments)}}())})()}processProfileMetadata(t,n){var o=this;return(0,c.A)(function*(){try{const s=JSON.parse(t.content);o.profileUser=s,yield o._storageService.saveProfile(n,s),o._changeDetectorRef.markForCheck()}catch(s){console.error("Error processing metadata event:",s)}})()}getSafeUrl(t){return this._sanitizer.bypassSecurityTrustUrl(t)}refreshUI(){this._changeDetectorRef.detectChanges()}openSnackBar(t,n="dismiss"){this._snackBar.open(t,n,{duration:3e3})}canUseZap(){var t=this;return(0,c.A)(function*(){return!(!t.profileUser||!t.profileUser.lud06&&!t.profileUser.lud16)||(t.openSnackBar("Using Zap is not possible. Please complete your profile to include lud06 or lud16."),!1)})()}openZapDialog(t=""){var n=this;return(0,c.A)(function*(){(yield n.canUseZap())&&n._dialog.open(C.r,{width:"405px",maxHeight:"90vh",data:{lud16:n.profileUser.lud16,lud06:n.profileUser.lud06,pubkey:n.profileUser.pubkey,eventId:t}})})()}toggleLike(){this.isLiked=!this.isLiked,this.isLiked&&setTimeout(()=>{this.isLiked=!1,this.isLiked=!0},300)}addEmoji(t){this.eventInput.nativeElement.value+=t.emoji.native,this.showEmojiPicker=!1}toggleEmojiPicker(){this.showCommentEmojiPicker=!1,this.showEmojiPicker=!this.showEmojiPicker}addEmojiTocomment(t){this.commentInput.nativeElement.value+=t.emoji.native,this.showCommentEmojiPicker=!1}detectSystemTheme(){const t=window.matchMedia("(prefers-color-scheme: dark)");this.darkMode=t.matches,t.addEventListener("change",n=>{this.darkMode=n.matches})}togglePreview(){this.isPreview=!this.isPreview}sendEvent(){""!=this.eventInput.nativeElement.value&&this._eventService.sendTextEvent(this.eventInput.nativeElement.value).then(()=>{this.eventInput.nativeElement.value="",this._changeDetectorRef.markForCheck()}).catch(t=>{console.error("Failed to send Event:",t)})}copyHex(){this._clipboard.copy(this.routePubKey),this.openSnackBar("hex public key copied","dismiss")}copyNpub(){var t=this._signerService.getNpubFromPubkey(this.routePubKey);this._clipboard.copy(t),this.openSnackBar("npub public key copied","dismiss")}copyKey(t){if("hex"===t)this._clipboard.copy(this.routePubKey),this.openSnackBar("hex public key copied","dismiss");else if("npub"===t){const n=this._signerService.getNpubFromPubkey(this.routePubKey);this._clipboard.copy(n),this.openSnackBar("npub public key copied","dismiss")}}isSingleEmojiOrWord(t){const n=t.trim(),o=/^\w+$/.test(n),s=/^[\p{Emoji}]+$/u.test(n);return o||s}openPost(t){this._router.navigate(["/post",t])}toggleBookmark(t){var n=this;return(0,c.A)(function*(){(yield n._bookmarkService.isBookmarked(t))?yield n._bookmarkService.removeBookmark(t):yield n._bookmarkService.addBookmark(t)})()}isProjectBookmarked(t){var n=this;return(0,c.A)(function*(){return yield n._bookmarkService.isBookmarked(t)})()}static{this.\u0275fac=function(n){return new(n||i)(e.rXU(e.gRc),e.rXU(w.A),e.rXU(Y.n),e.rXU(T.up),e.rXU(f.nX),e.rXU(f.Ix),e.rXU(B.UG),e.rXU(M.bZ),e.rXU(X.P),e.rXU(A.m),e.rXU(N.U),e.rXU(V.n),e.rXU(L.B0),e.rXU(D.m),e.rXU(z.U))}}static{this.\u0275cmp=e.VBU({type:i,selectors:[["profile"]],viewQuery:function(n,o){if(1&n&&(e.GBs(K,5),e.GBs(Z,5)),2&n){let s;e.mGM(s=e.lsd())&&(o.eventInput=s.first),e.mGM(s=e.lsd())&&(o.commentInput=s.first)}},decls:41,vars:21,consts:[["defaultAvatar",""],["profileMenu","matMenu"],["eventInput",""],["postCardMenu01","matMenu"],["expandableComments","angorCard"],[1,"flex","min-w-0","flex-auto","flex-col"],[1,"bg-card","flex","flex-col","shadow"],["onerror","this.onerror=null; this.src='/images/pages/profile/cover.jpg';",1,"h-40","object-cover","lg:h-80",3,"src","alt"],[1,"bg-card","mx-auto","flex","w-full","max-w-5xl","flex-0","flex-col","items-center","px-8","lg:h-18","lg:flex-row"],[1,"-mt-26","flex-shrink-0","rounded-full","lg:-mt-22"],[4,"ngIf","ngIfElse"],[1,"mt-4","flex","flex-grow","flex-col","items-center","lg:ml-8","lg:mt-0","lg:items-start"],[1,"max-w-full","truncate","text-lg","font-bold","leading-tight","lg:max-w-[25rem]",2,"white-space","nowrap","overflow","hidden","text-overflow","ellipsis"],[1,"text-secondary","max-w-full","truncate","leading-tight","lg:max-w-[25rem]",2,"white-space","nowrap","overflow","hidden","text-overflow","ellipsis"],[1,"flex","flex-shrink-0","items-center","space-x-6","lg:mt-0"],[1,"mb-4","mt-8","flex","flex-shrink-0","items-center","space-x-6","lg:m-0","lg:ml-auto"],[1,"flex","h-10","w-10","items-center","justify-center","rounded-full","border","bg-white","shadow-md"],["mat-icon-button",""],[1,"icon-size-5",3,"svgIcon"],["mat-icon-button","",3,"click"],["mat-icon-button","",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"my-2"],["mat-menu-item","",3,"routerLink",4,"ngIf"],[4,"ngIf"],[1,"mx-auto","w-full","max-w-5xl","p-6","sm:p-8"],[1,"m-auto","flex","w-full","max-w-140","flex-col","items-start"],["class","about-section mb-8 flex w-full flex-col items-start p-6 pb-6 transition-all duration-300 sm:p-8","style","position: relative",3,"ngStyle",4,"ngIf"],["class","mb-8 flex w-full flex-col p-6 pb-6 sm:p-8",4,"ngIf"],["class","mb-8 flex w-full flex-col bg-primary-50 dark:bg-primary-800",4,"ngIf"],[1,"mb-8","flex","w-full","flex-col",3,"item"],[1,"m-auto","mt-4","flex","justify-center"],["onerror","this.onerror=null; this.src='/images/avatars/avatar-placeholder.png';",1,"ring-bg-card","h-32","min-h-32","w-32","min-w-32","max-w-fit","rounded-full","object-cover","ring-4",3,"src","alt"],["src","/images/avatars/avatar-placeholder.png","onerror","this.onerror=null; this.src='/images/avatars/avatar-placeholder.png';",1,"ring-bg-card","h-32","min-h-32","w-32","min-w-32","rounded-full","object-cover","ring-4",3,"alt"],["mat-menu-item","",3,"click"],[1,"flex","items-center"],[1,"mr-3","icon-size-5",3,"svgIcon"],["mat-menu-item","",3,"routerLink"],["mat-menu-item",""],[1,"about-section","mb-8","flex","w-full","flex-col","items-start","p-6","pb-6","transition-all","duration-300","sm:p-8",2,"position","relative",3,"ngStyle"],[1,"mb-2","flex","w-full","items-center","justify-between"],[1,"text-2xl","font-semibold","leading-tight"],["mat-icon-button","","color","primary","aria-label","Toggle about section",2,"position","absolute","top","16px","right","16px",3,"click"],[3,"svgIcon"],[1,"about-content","text-base","text-gray-700","dark:text-gray-50","transition-all","duration-300",3,"ngStyle"],["class","text-gray-500",4,"ngIf"],[1,"text-gray-500"],[1,"mb-8","flex","w-full","flex-col","p-6","pb-6","sm:p-8"],[1,"flex","justify-between"],[1,"text-xl","font-semibold"],[1,"-mr-4","ml-auto",3,"change","color"],[1,"mt-8","flex","flex-col","items-start","sm:flex-row"],[1,"w-full",3,"subscriptSizing"],["matInput","","cdkTextareaAutosize","",3,"placeholder","rows"],[1,"-mx-3","mt-6","flex","items-center","justify-between","sm:mt-8"],["mat-button","",1,"mr-1","px-3",3,"click"],[1,"ml-2"],["class","emoji-picker-container-global",4,"ngIf"],["mat-button","",1,"mr-1","hidden","px-3","sm:inline-flex"],["mat-button","",1,"px-3",3,"matMenuTriggerFor"],["mat-menu-item","",1,"sm:hidden"],["mat-button","",1,"mr-1","flex","px-3",3,"click"],[1,"emoji-picker-container-global"],[3,"emojiClick","darkMode"],[1,"mb-8","flex","w-full","flex-col","bg-primary-50","dark:bg-primary-800"],[1,"mx-6","mb-4","mt-6","flex","items-center","sm:mx-8"],["onerror","this.onerror=null; this.src='/images/avatars/avatar-placeholder.png';",1,"mr-4","h-10","w-10","rounded-full","object-cover",3,"src","alt"],[1,"flex","flex-col"],[1,"font-semibold","leading-none"],[1,"text-secondary","mt-1","text-sm","leading-none"],["class","inline-block whitespace-pre-wrap break-words",4,"ngFor","ngForOf","ngForTrackBy"],[1,"mx-3","flex","items-center","sm:mx-5"],["mat-button","",1,"mr-1","px-3"],[1,"text-red-500","icon-size-5",3,"svgIcon"],[1,"text-blue-500","icon-size-5",3,"svgIcon"],[1,"text-green-500","icon-size-5",3,"svgIcon"],[1,"text-orange-500","icon-size-5",3,"svgIcon"],[1,"mx-6","mb-6","mt-4","border-b","sm:mx-8"],[1,"mx-6","mb-4","flex","flex-col","sm:mx-8","sm:mb-6","sm:flex-row","sm:items-center"],[1,"ml-3","text-md","tracking-tight"],[1,"hidden","flex-auto","sm:flex"],[1,"mt-4","flex","items-center","sm:mt-0"],["mat-button","",1,"-ml-2","mr-1","px-3","sm:ml-0"],["mat-button","",1,"px-3","sm:-mr-4"],[1,"mr-1"],[1,"inline-block","whitespace-pre-wrap","break-words"],[1,"relative","mb-4","block"],["alt","Embedded Image",1,"max-h-140","object-cover",2,"width","100%",3,"src"],["controls","",2,"width","100%"],["type","video/mp4",3,"src"],["controls",""],["type","audio/mpeg",3,"src"],[1,"mx-6","mb-6","mt-2","sm:mx-8"],["target","_blank",1,"inline-block","break-words","text-blue-500","underline",3,"href"],[1,"inline-block","break-words"],[1,"inline-block","break-words",3,"ngClass"],["mat-raised-button","","color","primary",1,"bg-card","text-gray-700","hover:bg-gray-200","dark:text-gray-300","dark:hover:bg-gray-700",3,"click","disabled"]],template:function(n,o){if(1&n){const s=e.RV6();e.j41(0,"div",5)(1,"div",6)(2,"div"),e.nrm(3,"img",7),e.k0s(),e.j41(4,"div",8)(5,"div",9),e.DNE(6,Q,2,2,"ng-container",10)(7,q,1,1,"ng-template",null,0,e.C5r),e.k0s(),e.j41(9,"div",11)(10,"div",12),e.EFF(11),e.k0s(),e.j41(12,"div",13),e.EFF(13),e.k0s()(),e.j41(14,"div",14)(15,"div",15)(16,"div",16)(17,"button",17),e.nrm(18,"mat-icon",18),e.k0s()(),e.j41(19,"div",16)(20,"button",19),e.bIt("click",function(){return e.eBV(s),e.Njj(o.toggleBookmark(o.routePubKey))}),e.nrm(21,"mat-icon",18),e.nI1(22,"async"),e.k0s()(),e.j41(23,"div")(24,"button",20),e.nrm(25,"mat-icon",18),e.k0s(),e.j41(26,"mat-menu",null,1),e.DNE(28,ee,5,2,"button",21)(29,te,6,2,"ng-container",22),e.nrm(30,"mat-divider",23),e.DNE(31,oe,5,2,"button",24)(32,ne,11,2,"ng-container",25),e.k0s()()()()()(),e.j41(33,"div",26)(34,"div",27),e.DNE(35,re,9,11,"angor-card",28)(36,ae,58,16,"angor-card",29)(37,fe,41,9,"angor-card",30),e.Z7z(38,ge,1,1,"app-post",31,e.Vm6),e.DNE(40,he,3,2,"div",32),e.k0s()()()}if(2&n){let s;const l=e.sdS(8),u=e.sdS(27);e.R7$(3),e.FS9("alt",(null==o.profileUser?null:o.profileUser.display_name)||(null==o.profileUser?null:o.profileUser.name)||"Banner"),e.Y8G("src",(null==o.profileUser?null:o.profileUser.banner)||"/images/pages/profile/cover.jpg",e.B4B),e.R7$(3),e.Y8G("ngIf",null==o.profileUser?null:o.profileUser.picture)("ngIfElse",l),e.R7$(5),e.SpI(" ",(null==o.profileUser?null:o.profileUser.display_name)||(null==o.profileUser?null:o.profileUser.name)||"Unknown User"," "),e.R7$(2),e.SpI(" ",(null==o.profileUser?null:o.profileUser.username)||(null==o.profileUser?null:o.profileUser.name)," "),e.R7$(5),e.Y8G("svgIcon","heroicons_outline:chat-bubble-left-right"),e.R7$(3),e.Y8G("svgIcon",null!=(s=e.bMT(22,18,o.bookmarks$))&&s.includes(o.routePubKey)?"heroicons_solid:bookmark":"heroicons_outline:bookmark"),e.R7$(3),e.Y8G("matMenuTriggerFor",u),e.R7$(),e.Y8G("svgIcon","heroicons_solid:ellipsis-vertical"),e.R7$(3),e.Y8G("ngIf",!o.isCurrentUserProfile||o.isCurrentUserProfile),e.R7$(),e.Y8G("ngForOf",e.lJ4(20,O)),e.R7$(2),e.Y8G("ngIf",o.isCurrentUserProfile),e.R7$(),e.Y8G("ngIf",!o.isCurrentUserProfile),e.R7$(3),e.Y8G("ngIf",(null==o.profileUser?null:o.profileUser.about)&&""!==o.profileUser.about.trim()),e.R7$(),e.Y8G("ngIf",o.isCurrentUserProfile),e.R7$(),e.Y8G("ngIf",o.isPreview),e.R7$(),e.Dyx(o.posts),e.R7$(2),e.vxM(o.hasMorePosts?40:-1)}},dependencies:[f.Wk,y.n,x.m_,x.An,d.Hl,d.$z,d.iY,p.Cn,p.kk,p.fb,p.Cp,k.RG,k.rl,_.fS,_.fg,v.xb,v.EE,b.w,b.q,U.uc,m.YU,m.MD,m.Sq,m.bT,m.B3,m.Jj,j.YN,F.Ic,I.sG,P.D6,E.e,G.MY,$.vg,S.q],styles:[".emoji-picker-container-global{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:9999;width:350px;max-width:100%}.heart-beat{animation:heartBeatAnimation .3s ease-in-out}@keyframes heartBeatAnimation{0%{transform:scale(1)}30%{transform:scale(2)}60%{transform:scale(1)}to{transform:scale(1)}}.loading-spinner{display:flex;justify-content:center;align-items:center;margin:20px 0}.loading-spinner .spinner{border:4px solid rgba(0,0,0,.1);border-left-color:#009fb5;border-radius:50%;width:30px;height:30px;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.about-section{overflow:hidden;transition:height .3s ease}.c-img,.c-video{max-width:100%;border-radius:10px}\n"],encapsulation:2,changeDetection:0})}}return i})()}]}}]); \ No newline at end of file diff --git a/404.html b/404.html index a0987e7..075d2b5 100644 --- a/404.html +++ b/404.html @@ -41,5 +41,5 @@ - + diff --git a/767.a6646537bab60fc0.js b/767.e79dfcaf8d423435.js similarity index 59% rename from 767.a6646537bab60fc0.js rename to 767.e79dfcaf8d423435.js index 11a8189..ec311b3 100644 --- a/767.a6646537bab60fc0.js +++ b/767.e79dfcaf8d423435.js @@ -1 +1 @@ -"use strict";(self.webpackChunkangor=self.webpackChunkangor||[]).push([[767],{2773:(C,m,r)=>{r.d(m,{n:()=>_});var l=r(6146),v=r(3022),n=r(3107);const u=[[["","angorCardFront",""]],[["","angorCardBack",""]],"*",[["","angorCardExpansion",""]]],k=["[angorCardFront]","[angorCardBack]","*","[angorCardExpansion]"];function h(s,b){1&s&&(n.j41(0,"div",0),n.SdG(1),n.k0s(),n.j41(2,"div",1),n.SdG(3,1),n.k0s())}function x(s,b){1&s&&(n.j41(0,"div",2),n.SdG(1,3),n.k0s()),2&s&&n.Y8G("@expandCollapse",void 0)}function y(s,b){if(1&s&&(n.SdG(0,2),n.DNE(1,x,2,1,"div",2)),2&s){const c=n.XpG();n.R7$(),n.vxM(c.expanded?1:-1)}}let _=(()=>{class s{constructor(){this.expanded=!1,this.face="front",this.flippable=!1}get classList(){return{"angor-card-expanded":this.expanded,"angor-card-face-back":this.flippable&&"back"===this.face,"angor-card-face-front":this.flippable&&"front"===this.face,"angor-card-flippable":this.flippable}}ngOnChanges(c){"expanded"in c&&(this.expanded=(0,v.he)(c.expanded.currentValue)),"flippable"in c&&(this.flippable=(0,v.he)(c.flippable.currentValue))}static{this.\u0275fac=function(d){return new(d||s)}}static{this.\u0275cmp=n.VBU({type:s,selectors:[["angor-card"]],hostVars:2,hostBindings:function(d,f){2&d&&n.HbH(f.classList)},inputs:{expanded:"expanded",face:"face",flippable:"flippable"},exportAs:["angorCard"],features:[n.OA$],ngContentSelectors:k,decls:2,vars:2,consts:[[1,"angor-card-front"],[1,"angor-card-back"],[1,"angor-card-expansion"]],template:function(d,f){1&d&&(n.NAR(u),n.DNE(0,h,4,0)(1,y,2,1)),2&d&&(n.vxM(f.flippable?0:-1),n.R7$(),n.vxM(f.flippable?-1:1))},styles:["angor-card{position:relative;display:flex;overflow:hidden;--tw-bg-opacity: 1;background-color:rgba(var(--angor-bg-card-rgb),var(--tw-bg-opacity));border-radius:1rem;--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(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)}angor-card.angor-card-flippable{border-radius:0;overflow:visible;transform-style:preserve-3d;transition:transform 1s;perspective:600px;background:transparent;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}angor-card.angor-card-flippable.angor-card-face-back .angor-card-front{visibility:hidden;opacity:0;transform:rotateY(180deg)}angor-card.angor-card-flippable.angor-card-face-back .angor-card-back{visibility:visible;opacity:1;transform:rotateY(360deg)}angor-card.angor-card-flippable .angor-card-front,angor-card.angor-card-flippable .angor-card-back{display:flex;flex-direction:column;flex:1 1 auto;z-index:10;transition:transform .5s ease-out 0s,visibility 0s ease-in .2s,opacity 0s ease-in .2s;backface-visibility:hidden;--tw-bg-opacity: 1;background-color:rgba(var(--angor-bg-card-rgb),var(--tw-bg-opacity));border-radius:1rem;--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(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)}angor-card.angor-card-flippable .angor-card-front{position:relative;opacity:1;visibility:visible;transform:rotateY(0);overflow:hidden}angor-card.angor-card-flippable .angor-card-back{position:absolute;inset:0;opacity:0;visibility:hidden;transform:rotateY(180deg);overflow:hidden auto}\n"],encapsulation:2,data:{animation:l.F}})}}return s})()},7785:(C,m,r)=>{r.d(m,{n:()=>l.n});var l=r(2773)},6767:(C,m,r)=>{r.r(m),r.d(m,{default:()=>A});var l=r(3014),v=r(7785),n=r(4460),u=r(9471),k=r(2902),h=r(6071),x=r(3904),y=r(6389),_=r(2322),s=r(4375),b=r(1371),c=r(7712),d=r(8447),f=r(5424),o=r(3107),j=r(7112),w=r(3149),B=r(8716);const F=()=>[],P=a=>({"-ml-3":a});function $(a,p){if(1&a){const t=o.RV6();o.j41(0,"div",32),o.bIt("click",function(){o.eBV(t);const i=o.XpG().$implicit,g=o.XpG();return o.Njj(g.goToProjectDetails(i))}),o.EFF(1),o.k0s()}if(2&a){const t=o.XpG().$implicit;o.R7$(),o.SpI(" ",t.displayName||t.nostrPubKey," ")}}function G(a,p){if(1&a&&(o.j41(0,"div",25),o.EFF(1),o.k0s()),2&a){const t=o.XpG().$implicit;o.R7$(),o.SpI(" ",t.displayName||t.nostrPubKey," ")}}function E(a,p){if(1&a){const t=o.RV6();o.j41(0,"div",27)(1,"div",33)(2,"button",34),o.bIt("click",function(){o.eBV(t);const i=o.XpG().$implicit,g=o.XpG();return o.Njj(g.openChat(i.nostrPubKey))}),o.nrm(3,"mat-icon",35),o.k0s()(),o.j41(4,"div",33)(5,"button",34),o.bIt("click",function(){o.eBV(t);const i=o.XpG().$implicit,g=o.XpG();return o.Njj(g.toggleBookmark(i.projectIdentifier))}),o.nrm(6,"mat-icon",35),o.nI1(7,"async"),o.k0s()()()}if(2&a){let t;const e=o.XpG().$implicit,i=o.XpG();o.R7$(3),o.Y8G("svgIcon","heroicons_outline:chat-bubble-left-right"),o.R7$(3),o.Y8G("svgIcon",null!=(t=o.bMT(7,2,i.bookmarks$))&&t.includes(e.projectIdentifier)?"heroicons_solid:bookmark":"heroicons_outline:bookmark")}}function I(a,p){if(1&a&&(o.qex(0),o.nrm(1,"img",36),o.bVm()),2&a){const t=o.XpG().index,e=o.XpG().$implicit;o.R7$(),o.Mz_("alt","Investor avatar ",t+1,""),o.Y8G("ngClass",o.eq3(4,P,e.totalInvestmentsCount>1&&t>0))("src","images/avatars/avatar-placeholder.png",o.B4B)}}function R(a,p){if(1&a&&(o.qex(0),o.DNE(1,I,2,6,"ng-container",14),o.bVm()),2&a){const t=p.index;o.R7$(),o.Y8G("ngIf",t<10)}}function T(a,p){if(1&a&&(o.qex(0),o.j41(1,"angor-card",15)(2,"div",16),o.nrm(3,"img",17),o.k0s(),o.j41(4,"div",18)(5,"div",19),o.nrm(6,"img",20),o.k0s()(),o.j41(7,"div",21)(8,"div",22)(9,"div",23),o.DNE(10,$,2,1,"div",24)(11,G,2,1,"div",25),o.j41(12,"div",26),o.EFF(13),o.k0s()(),o.DNE(14,E,8,4,"div",27),o.k0s(),o.nrm(15,"hr",28),o.j41(16,"div",22)(17,"div",29),o.EFF(18),o.k0s(),o.j41(19,"div",30),o.DNE(20,R,2,1,"ng-container",31),o.k0s()()()(),o.bVm()),2&a){const t=p.$implicit;o.R7$(3),o.Y8G("src",t.banner||"/images/pages/profile/cover.jpg",o.B4B),o.R7$(3),o.Y8G("src",t.picture||"images/avatars/avatar-placeholder.png",o.B4B),o.R7$(4),o.vxM(t.displayName||t.name?10:-1),o.R7$(),o.vxM(t.name||t.displayName?-1:11),o.R7$(2),o.SpI(" ",t.about||"No description available"," "),o.R7$(),o.vxM(t.displayName||t.name?14:-1),o.R7$(4),o.SpI(" ",t.totalInvestmentsCount||0," investors "),o.R7$(2),o.Y8G("ngForOf",o.lJ4(8,F).constructor(t.totalInvestmentsCount||0))}}function S(a,p){1&a&&(o.qex(0),o.j41(1,"div",37),o.nrm(2,"mat-icon",38),o.j41(3,"div",39),o.EFF(4," No project "),o.k0s()(),o.bVm()),2&a&&(o.R7$(2),o.Y8G("svgIcon","heroicons_outline:archive-box-x-mark"))}const A=[{path:"",component:(()=>{class a{constructor(t,e,i){this._bookmarkService=t,this._storageService=e,this._router=i,this.savedProjects=[],this._unsubscribeAll=new d.B,this.bookmarks$=this._bookmarkService.bookmarks$}ngOnInit(){var t=this;return(0,l.A)(function*(){yield t._bookmarkService.initializeForCurrentUser(),yield t.loadBookmarkedProjects(),t.subscribeToBookmarkChanges()})()}trackByFn(t,e){return e.projectIdentifier||t}loadBookmarkedProjects(){var t=this;return(0,l.A)(function*(){const e=yield t._bookmarkService.getBookmarks(),i=yield t._storageService.getProjectsByIds(e);t.savedProjects=i,t.fetchMetadataForProjects(t.savedProjects)})()}subscribeToBookmarkChanges(){var t=this;this.bookmarks$.pipe((0,f.Q)(this._unsubscribeAll)).subscribe(function(){var e=(0,l.A)(function*(i){const g=yield t._storageService.getProjectsByIds(i);t.savedProjects=g,t.fetchMetadataForProjects(t.savedProjects)});return function(i){return e.apply(this,arguments)}}())}fetchMetadataForProjects(t){t.forEach(e=>{this._storageService.getProfile(e.nostrPubKey).then(i=>{i&&this.updateProjectMetadata(e,i)})})}updateProjectMetadata(t,e){t.displayName=e.name||t.displayName,t.about=e.about||t.about,t.picture=e.picture||t.picture,t.banner=e.banner||t.banner}toggleBookmark(t){var e=this;return(0,l.A)(function*(){(yield e._bookmarkService.isBookmarked(t))?yield e._bookmarkService.removeBookmark(t):yield e._bookmarkService.addBookmark(t)})()}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}goToProjectDetails(t){this._router.navigate(["/profile",t.nostrPubKey])}openChat(t){this._router.navigate(["/chat",t])}static{this.\u0275fac=function(e){return new(e||a)(o.rXU(j.U),o.rXU(w.n),o.rXU(B.Ix))}}static{this.\u0275cmp=o.VBU({type:a,selectors:[["app-bookmark"]],decls:18,vars:3,consts:[[1,"flex","min-w-0","flex-auto","flex-col"],[1,"dark","relative","flex-0","overflow-hidden","bg-gray-800","px-4","py-8","sm:p-16"],["viewBox","0 0 960 540","width","100%","height","100%","preserveAspectRatio","xMidYMax slice","xmlns","http://www.w3.org/2000/svg",1,"pointer-events-none","absolute","inset-0"],["fill","none","stroke","currentColor","stroke-width","100",1,"text-gray-700","opacity-25"],["r","234","cx","196","cy","23"],["r","234","cx","790","cy","491"],[1,"relative","z-10","flex","flex-col","items-center"],[1,"text-xl","font-semibold"],[1,"mt-1","text-center","text-4xl","font-extrabold","leading-tight","tracking-tight","sm:text-7xl"],[1,"text-secondary","mt-6","max-w-2xl","text-center","tracking-tight","sm:text-2xl"],[1,"p-6","sm:p-10"],[1,"mx-auto","flex","w-full","flex-auto","flex-col","sm:max-w-5xl"],[1,"mt-10","grid","w-full","min-w-0","grid-cols-1","gap-6","sm:grid-cols-1","md:grid-cols-1","lg:grid-cols-2"],[4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngIf"],[1,"filter-info","flex","w-full","flex-col"],[1,"flex","h-32"],["alt","Card cover image","onerror","this.onerror=null; this.src='/images/pages/profile/cover.jpg';","alt","Card cover image",1,"object-cover",3,"src"],[1,"flex","px-8"],[1,"bg-card","-mt-12","rounded-full","p-1"],["onerror","this.onerror=null; this.src='/images/avatars/avatar-placeholder.png';","alt","Project logo",1,"h-24","w-24","rounded-full","object-cover",3,"src"],[1,"flex","flex-col","px-8","pb-6","pt-4"],[1,"flex","items-center","justify-between"],[1,"min-w-0","flex-1"],["role","button",1,"truncate","text-2xl","font-semibold","leading-tight"],[1,"truncate","text-2xl","font-semibold","leading-tight"],[1,"text-secondary","mt-1","truncate","leading-tight"],[1,"absolute","top-2","right-2","flex","space-x-2"],[1,"my-6","w-full","border-t"],[1,"text-secondary","mr-3","text-md","font-medium"],[1,"flex","items-center"],[4,"ngFor","ngForOf"],["role","button",1,"truncate","text-2xl","font-semibold","leading-tight",3,"click"],[1,"flex","h-10","w-10","items-center","justify-center","rounded-full","border","bg-white","shadow-md"],["mat-icon-button","",3,"click"],[1,"icon-size-5",3,"svgIcon"],[1,"text-card","ring-bg-card","m-0.5","h-6","w-6","rounded-full","ring-2",3,"ngClass","src","alt"],[1,"flex","flex-auto","flex-col","items-center","justify-center","bg-gray-100","dark:bg-transparent"],[1,"icon-size-24",3,"svgIcon"],[1,"text-secondary","mt-4","text-2xl","font-semibold","tracking-tight"]],template:function(e,i){1&e&&(o.j41(0,"div",0)(1,"div",1),o.qSk(),o.j41(2,"svg",2)(3,"g",3),o.nrm(4,"circle",4)(5,"circle",5),o.k0s()(),o.joV(),o.j41(6,"div",6)(7,"h2",7),o.EFF(8,"Bookmark"),o.k0s(),o.j41(9,"div",8),o.EFF(10," Explore Your Saved Projects "),o.k0s(),o.j41(11,"div",9),o.EFF(12," Review and manage your bookmarked projects below. "),o.k0s()()(),o.j41(13,"div",10)(14,"div",11)(15,"div",12),o.DNE(16,T,21,9,"ng-container",13),o.k0s(),o.DNE(17,S,5,1,"ng-container",14),o.k0s()()()),2&e&&(o.R7$(16),o.Y8G("ngForOf",i.savedProjects)("ngForTrackBy",i.trackByFn),o.R7$(),o.Y8G("ngIf",0==i.savedProjects.length))},dependencies:[u.Hl,u.iY,x.m_,x.An,v.n,h.RG,s.Ve,k.Sy,y.fS,b.mV,n.YU,c.uc,_.PO,n.MD,n.Sq,n.bT,n.Jj],encapsulation:2})}}return a})()}]}}]); \ No newline at end of file +"use strict";(self.webpackChunkangor=self.webpackChunkangor||[]).push([[767],{2773:(C,m,r)=>{r.d(m,{n:()=>_});var l=r(6146),v=r(3022),e=r(3107);const u=[[["","angorCardFront",""]],[["","angorCardBack",""]],"*",[["","angorCardExpansion",""]]],k=["[angorCardFront]","[angorCardBack]","*","[angorCardExpansion]"];function h(s,x){1&s&&(e.j41(0,"div",0),e.SdG(1),e.k0s(),e.j41(2,"div",1),e.SdG(3,1),e.k0s())}function b(s,x){1&s&&(e.j41(0,"div",2),e.SdG(1,3),e.k0s()),2&s&&e.Y8G("@expandCollapse",void 0)}function y(s,x){if(1&s&&(e.SdG(0,2),e.DNE(1,b,2,1,"div",2)),2&s){const c=e.XpG();e.R7$(),e.vxM(c.expanded?1:-1)}}let _=(()=>{class s{constructor(){this.expanded=!1,this.face="front",this.flippable=!1}get classList(){return{"angor-card-expanded":this.expanded,"angor-card-face-back":this.flippable&&"back"===this.face,"angor-card-face-front":this.flippable&&"front"===this.face,"angor-card-flippable":this.flippable}}ngOnChanges(c){"expanded"in c&&(this.expanded=(0,v.he)(c.expanded.currentValue)),"flippable"in c&&(this.flippable=(0,v.he)(c.flippable.currentValue))}static{this.\u0275fac=function(d){return new(d||s)}}static{this.\u0275cmp=e.VBU({type:s,selectors:[["angor-card"]],hostVars:2,hostBindings:function(d,f){2&d&&e.HbH(f.classList)},inputs:{expanded:"expanded",face:"face",flippable:"flippable"},exportAs:["angorCard"],features:[e.OA$],ngContentSelectors:k,decls:2,vars:2,consts:[[1,"angor-card-front"],[1,"angor-card-back"],[1,"angor-card-expansion"]],template:function(d,f){1&d&&(e.NAR(u),e.DNE(0,h,4,0)(1,y,2,1)),2&d&&(e.vxM(f.flippable?0:-1),e.R7$(),e.vxM(f.flippable?-1:1))},styles:["angor-card{position:relative;display:flex;overflow:hidden;--tw-bg-opacity: 1;background-color:rgba(var(--angor-bg-card-rgb),var(--tw-bg-opacity));border-radius:1rem;--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(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)}angor-card.angor-card-flippable{border-radius:0;overflow:visible;transform-style:preserve-3d;transition:transform 1s;perspective:600px;background:transparent;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}angor-card.angor-card-flippable.angor-card-face-back .angor-card-front{visibility:hidden;opacity:0;transform:rotateY(180deg)}angor-card.angor-card-flippable.angor-card-face-back .angor-card-back{visibility:visible;opacity:1;transform:rotateY(360deg)}angor-card.angor-card-flippable .angor-card-front,angor-card.angor-card-flippable .angor-card-back{display:flex;flex-direction:column;flex:1 1 auto;z-index:10;transition:transform .5s ease-out 0s,visibility 0s ease-in .2s,opacity 0s ease-in .2s;backface-visibility:hidden;--tw-bg-opacity: 1;background-color:rgba(var(--angor-bg-card-rgb),var(--tw-bg-opacity));border-radius:1rem;--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(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)}angor-card.angor-card-flippable .angor-card-front{position:relative;opacity:1;visibility:visible;transform:rotateY(0);overflow:hidden}angor-card.angor-card-flippable .angor-card-back{position:absolute;inset:0;opacity:0;visibility:hidden;transform:rotateY(180deg);overflow:hidden auto}\n"],encapsulation:2,data:{animation:l.F}})}}return s})()},7785:(C,m,r)=>{r.d(m,{n:()=>l.n});var l=r(2773)},6767:(C,m,r)=>{r.r(m),r.d(m,{default:()=>A});var l=r(3014),v=r(7785),e=r(4460),u=r(9471),k=r(2902),h=r(6071),b=r(3904),y=r(6389),_=r(2322),s=r(4375),x=r(1371),c=r(7712),d=r(8447),f=r(5424),o=r(3107),j=r(7112),w=r(3149),B=r(8716);const P=()=>[],F=a=>({"-ml-3":a});function $(a,p){if(1&a){const t=o.RV6();o.j41(0,"div",32),o.bIt("click",function(){o.eBV(t);const i=o.XpG().$implicit,g=o.XpG();return o.Njj(g.goToProjectDetails(i))}),o.EFF(1),o.k0s()}if(2&a){const t=o.XpG().$implicit;o.R7$(),o.SpI(" ",t.displayName||t.nostrPubKey," ")}}function G(a,p){if(1&a&&(o.j41(0,"div",25),o.EFF(1),o.k0s()),2&a){const t=o.XpG().$implicit;o.R7$(),o.SpI(" ",t.displayName||t.nostrPubKey," ")}}function E(a,p){if(1&a){const t=o.RV6();o.j41(0,"div",27)(1,"div",33)(2,"button",34),o.bIt("click",function(){o.eBV(t);const i=o.XpG().$implicit,g=o.XpG();return o.Njj(g.openChat(i.nostrPubKey))}),o.nrm(3,"mat-icon",35),o.k0s()(),o.j41(4,"div",33)(5,"button",34),o.bIt("click",function(){o.eBV(t);const i=o.XpG().$implicit,g=o.XpG();return o.Njj(g.toggleBookmark(i.nostrPubKey))}),o.nrm(6,"mat-icon",35),o.nI1(7,"async"),o.k0s()()()}if(2&a){let t;const n=o.XpG().$implicit,i=o.XpG();o.R7$(3),o.Y8G("svgIcon","heroicons_outline:chat-bubble-left-right"),o.R7$(3),o.Y8G("svgIcon",null!=(t=o.bMT(7,2,i.bookmarks$))&&t.includes(n.nostrPubKey)?"heroicons_solid:bookmark":"heroicons_outline:bookmark")}}function R(a,p){if(1&a&&(o.qex(0),o.nrm(1,"img",36),o.bVm()),2&a){const t=o.XpG().index,n=o.XpG().$implicit;o.R7$(),o.Mz_("alt","Investor avatar ",t+1,""),o.Y8G("ngClass",o.eq3(4,F,n.totalInvestmentsCount>1&&t>0))("src","images/avatars/avatar-placeholder.png",o.B4B)}}function T(a,p){if(1&a&&(o.qex(0),o.DNE(1,R,2,6,"ng-container",14),o.bVm()),2&a){const t=p.index;o.R7$(),o.Y8G("ngIf",t<10)}}function I(a,p){if(1&a&&(o.qex(0),o.j41(1,"angor-card",15)(2,"div",16),o.nrm(3,"img",17),o.k0s(),o.j41(4,"div",18)(5,"div",19),o.nrm(6,"img",20),o.k0s()(),o.j41(7,"div",21)(8,"div",22)(9,"div",23),o.DNE(10,$,2,1,"div",24)(11,G,2,1,"div",25),o.j41(12,"div",26),o.EFF(13),o.k0s()(),o.DNE(14,E,8,4,"div",27),o.k0s(),o.nrm(15,"hr",28),o.j41(16,"div",22)(17,"div",29),o.EFF(18),o.k0s(),o.j41(19,"div",30),o.DNE(20,T,2,1,"ng-container",31),o.k0s()()()(),o.bVm()),2&a){const t=p.$implicit;o.R7$(3),o.Y8G("src",t.banner||"/images/pages/profile/cover.jpg",o.B4B),o.R7$(3),o.Y8G("src",t.picture||"images/avatars/avatar-placeholder.png",o.B4B),o.R7$(4),o.vxM(t.displayName||t.name?10:-1),o.R7$(),o.vxM(t.name||t.displayName?-1:11),o.R7$(2),o.SpI(" ",t.about||"No description available"," "),o.R7$(),o.vxM(t.displayName||t.name?14:-1),o.R7$(4),o.SpI(" ",t.totalInvestmentsCount||0," investors "),o.R7$(2),o.Y8G("ngForOf",o.lJ4(8,P).constructor(t.totalInvestmentsCount||0))}}function S(a,p){1&a&&(o.qex(0),o.j41(1,"div",37),o.nrm(2,"mat-icon",38),o.j41(3,"div",39),o.EFF(4," No project "),o.k0s()(),o.bVm()),2&a&&(o.R7$(2),o.Y8G("svgIcon","heroicons_outline:archive-box-x-mark"))}const A=[{path:"",component:(()=>{class a{constructor(t,n,i){this._bookmarkService=t,this._storageService=n,this._router=i,this.savedProjects=[],this._unsubscribeAll=new d.B,this.bookmarks$=this._bookmarkService.bookmarks$}ngOnInit(){var t=this;return(0,l.A)(function*(){yield t._bookmarkService.initializeForCurrentUser(),yield t.loadBookmarkedProjects(),t.subscribeToBookmarkChanges()})()}trackByFn(t,n){return n.nostrPubKey||t}loadBookmarkedProjects(){var t=this;return(0,l.A)(function*(){const n=yield t._bookmarkService.getBookmarks(),i=yield t._storageService.getProjectsByNostrPubKeys(n);t.savedProjects=i,t.fetchMetadataForProjects(t.savedProjects)})()}subscribeToBookmarkChanges(){var t=this;this.bookmarks$.pipe((0,f.Q)(this._unsubscribeAll)).subscribe(function(){var n=(0,l.A)(function*(i){const g=yield t._storageService.getProjectsByNostrPubKeys(i);t.savedProjects=g,t.fetchMetadataForProjects(t.savedProjects)});return function(i){return n.apply(this,arguments)}}())}fetchMetadataForProjects(t){t.forEach(n=>{this._storageService.getProfile(n.nostrPubKey).then(i=>{i&&this.updateProjectMetadata(n,i)})})}updateProjectMetadata(t,n){t.displayName=n.name||t.displayName,t.about=n.about||t.about,t.picture=n.picture||t.picture,t.banner=n.banner||t.banner}toggleBookmark(t){var n=this;return(0,l.A)(function*(){(yield n._bookmarkService.isBookmarked(t))?yield n._bookmarkService.removeBookmark(t):yield n._bookmarkService.addBookmark(t)})()}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}goToProjectDetails(t){this._router.navigate(["/profile",t.nostrPubKey])}openChat(t){this._router.navigate(["/chat",t])}static{this.\u0275fac=function(n){return new(n||a)(o.rXU(j.U),o.rXU(w.n),o.rXU(B.Ix))}}static{this.\u0275cmp=o.VBU({type:a,selectors:[["app-bookmark"]],decls:18,vars:3,consts:[[1,"flex","min-w-0","flex-auto","flex-col"],[1,"dark","relative","flex-0","overflow-hidden","bg-gray-800","px-4","py-8","sm:p-16"],["viewBox","0 0 960 540","width","100%","height","100%","preserveAspectRatio","xMidYMax slice","xmlns","http://www.w3.org/2000/svg",1,"pointer-events-none","absolute","inset-0"],["fill","none","stroke","currentColor","stroke-width","100",1,"text-gray-700","opacity-25"],["r","234","cx","196","cy","23"],["r","234","cx","790","cy","491"],[1,"relative","z-10","flex","flex-col","items-center"],[1,"text-xl","font-semibold"],[1,"mt-1","text-center","text-4xl","font-extrabold","leading-tight","tracking-tight","sm:text-7xl"],[1,"text-secondary","mt-6","max-w-2xl","text-center","tracking-tight","sm:text-2xl"],[1,"p-6","sm:p-10"],[1,"mx-auto","flex","w-full","flex-auto","flex-col","sm:max-w-5xl"],[1,"mt-10","grid","w-full","min-w-0","grid-cols-1","gap-6","sm:grid-cols-1","md:grid-cols-1","lg:grid-cols-2"],[4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngIf"],[1,"filter-info","flex","w-full","flex-col"],[1,"flex","h-32"],["alt","Card cover image","onerror","this.onerror=null; this.src='/images/pages/profile/cover.jpg';","alt","Card cover image",1,"object-cover",3,"src"],[1,"flex","px-8"],[1,"bg-card","-mt-12","rounded-full","p-1"],["onerror","this.onerror=null; this.src='/images/avatars/avatar-placeholder.png';","alt","Project logo",1,"h-24","w-24","rounded-full","object-cover",3,"src"],[1,"flex","flex-col","px-8","pb-6","pt-4"],[1,"flex","items-center","justify-between"],[1,"min-w-0","flex-1"],["role","button",1,"truncate","text-2xl","font-semibold","leading-tight"],[1,"truncate","text-2xl","font-semibold","leading-tight"],[1,"text-secondary","mt-1","truncate","leading-tight"],[1,"absolute","top-2","right-2","flex","space-x-2"],[1,"my-6","w-full","border-t"],[1,"text-secondary","mr-3","text-md","font-medium"],[1,"flex","items-center"],[4,"ngFor","ngForOf"],["role","button",1,"truncate","text-2xl","font-semibold","leading-tight",3,"click"],[1,"flex","h-10","w-10","items-center","justify-center","rounded-full","border","bg-white","shadow-md"],["mat-icon-button","",3,"click"],[1,"icon-size-5",3,"svgIcon"],[1,"text-card","ring-bg-card","m-0.5","h-6","w-6","rounded-full","ring-2",3,"ngClass","src","alt"],[1,"flex","flex-auto","flex-col","items-center","justify-center","bg-gray-100","dark:bg-transparent"],[1,"icon-size-24",3,"svgIcon"],[1,"text-secondary","mt-4","text-2xl","font-semibold","tracking-tight"]],template:function(n,i){1&n&&(o.j41(0,"div",0)(1,"div",1),o.qSk(),o.j41(2,"svg",2)(3,"g",3),o.nrm(4,"circle",4)(5,"circle",5),o.k0s()(),o.joV(),o.j41(6,"div",6)(7,"h2",7),o.EFF(8,"Bookmark"),o.k0s(),o.j41(9,"div",8),o.EFF(10," Explore Your Saved Projects "),o.k0s(),o.j41(11,"div",9),o.EFF(12," Review and manage your bookmarked projects below. "),o.k0s()()(),o.j41(13,"div",10)(14,"div",11)(15,"div",12),o.DNE(16,I,21,9,"ng-container",13),o.k0s(),o.DNE(17,S,5,1,"ng-container",14),o.k0s()()()),2&n&&(o.R7$(16),o.Y8G("ngForOf",i.savedProjects)("ngForTrackBy",i.trackByFn),o.R7$(),o.Y8G("ngIf",0==i.savedProjects.length))},dependencies:[u.Hl,u.iY,b.m_,b.An,v.n,h.RG,s.Ve,k.Sy,y.fS,x.mV,e.YU,c.uc,_.PO,e.MD,e.Sq,e.bT,e.Jj],encapsulation:2})}}return a})()}]}}]); \ No newline at end of file diff --git a/907.7487904cafe54d75.js b/907.7487904cafe54d75.js new file mode 100644 index 0000000..3d9d929 --- /dev/null +++ b/907.7487904cafe54d75.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkangor=self.webpackChunkangor||[]).push([[907],{2773:(_,u,n)=>{n.d(u,{n:()=>I});var f=n(6146),k=n(3022),i=n(3107);const m=[[["","angorCardFront",""]],[["","angorCardBack",""]],"*",[["","angorCardExpansion",""]]],w=["[angorCardFront]","[angorCardBack]","*","[angorCardExpansion]"];function b(l,v){1&l&&(i.j41(0,"div",0),i.SdG(1),i.k0s(),i.j41(2,"div",1),i.SdG(3,1),i.k0s())}function y(l,v){1&l&&(i.j41(0,"div",2),i.SdG(1,3),i.k0s()),2&l&&i.Y8G("@expandCollapse",void 0)}function S(l,v){if(1&l&&(i.SdG(0,2),i.DNE(1,y,2,1,"div",2)),2&l){const d=i.XpG();i.R7$(),i.vxM(d.expanded?1:-1)}}let I=(()=>{class l{constructor(){this.expanded=!1,this.face="front",this.flippable=!1}get classList(){return{"angor-card-expanded":this.expanded,"angor-card-face-back":this.flippable&&"back"===this.face,"angor-card-face-front":this.flippable&&"front"===this.face,"angor-card-flippable":this.flippable}}ngOnChanges(d){"expanded"in d&&(this.expanded=(0,k.he)(d.expanded.currentValue)),"flippable"in d&&(this.flippable=(0,k.he)(d.flippable.currentValue))}static{this.\u0275fac=function(h){return new(h||l)}}static{this.\u0275cmp=i.VBU({type:l,selectors:[["angor-card"]],hostVars:2,hostBindings:function(h,p){2&h&&i.HbH(p.classList)},inputs:{expanded:"expanded",face:"face",flippable:"flippable"},exportAs:["angorCard"],features:[i.OA$],ngContentSelectors:w,decls:2,vars:2,consts:[[1,"angor-card-front"],[1,"angor-card-back"],[1,"angor-card-expansion"]],template:function(h,p){1&h&&(i.NAR(m),i.DNE(0,b,4,0)(1,S,2,1)),2&h&&(i.vxM(p.flippable?0:-1),i.R7$(),i.vxM(p.flippable?-1:1))},styles:["angor-card{position:relative;display:flex;overflow:hidden;--tw-bg-opacity: 1;background-color:rgba(var(--angor-bg-card-rgb),var(--tw-bg-opacity));border-radius:1rem;--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(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)}angor-card.angor-card-flippable{border-radius:0;overflow:visible;transform-style:preserve-3d;transition:transform 1s;perspective:600px;background:transparent;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}angor-card.angor-card-flippable.angor-card-face-back .angor-card-front{visibility:hidden;opacity:0;transform:rotateY(180deg)}angor-card.angor-card-flippable.angor-card-face-back .angor-card-back{visibility:visible;opacity:1;transform:rotateY(360deg)}angor-card.angor-card-flippable .angor-card-front,angor-card.angor-card-flippable .angor-card-back{display:flex;flex-direction:column;flex:1 1 auto;z-index:10;transition:transform .5s ease-out 0s,visibility 0s ease-in .2s,opacity 0s ease-in .2s;backface-visibility:hidden;--tw-bg-opacity: 1;background-color:rgba(var(--angor-bg-card-rgb),var(--tw-bg-opacity));border-radius:1rem;--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(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)}angor-card.angor-card-flippable .angor-card-front{position:relative;opacity:1;visibility:visible;transform:rotateY(0);overflow:hidden}angor-card.angor-card-flippable .angor-card-back{position:absolute;inset:0;opacity:0;visibility:hidden;transform:rotateY(180deg);overflow:hidden auto}\n"],encapsulation:2,data:{animation:f.F}})}}return l})()},7785:(_,u,n)=>{n.d(u,{n:()=>f.n});var f=n(2773)},8288:(_,u,n)=>{n.r(u),n.d(u,{default:()=>ct});var f=n(3014),k=n(7785),i=n(4460),m=n(9471),w=n(2902),b=n(6071),y=n(3904),S=n(6389),I=n(2322),l=n(4375),v=n(1371),d=n(7712),h=n(8447),p=n(5424),g=n(2040),P=n(7178),x=n(3016),t=n(3107),C=n(1217),j=n(1787),N=n(8915),M=n(8249),D=n(5903),R=n(7947),E=n(5823),F=n(2867),A=n(1483),V=n(36),T=n(5351);const O=(s,c)=>(s.push(c),s);function $(){return(0,T.N)((s,c)=>{(function Y(s,c){return(0,T.N)((0,V.S)(s,c,arguments.length>=2,!1,!0))})(O,[])(s).subscribe(c)})}var L=n(7691),X=n(1128),B=n(3149),U=n(5506);let K=(()=>{class s{constructor(e,o,r,a){this.http=e,this.indexerService=o,this.storageService=r,this.subscriptionService=a,this.INITIAL_OFFSET=0,this.LIMIT=50,this.offset=this.INITIAL_OFFSET,this.totalProjects=0,this.totalProjectsFetched=!1,this.projectsSubject=new C.t([]),this.projects$=this.projectsSubject.asObservable().pipe((0,M.t)(1)),this.loadingSubject=new C.t(!1),this.loading$=this.loadingSubject.asObservable(),this.noMoreProjectsSubject=new C.t(!1),this.noMoreProjects$=this.noMoreProjectsSubject.asObservable(),this.projectStatsSubject=new C.t({}),this.projectStats$=this.projectStatsSubject.asObservable().pipe((0,M.t)(1)),this.selectedNetwork=this.indexerService.getNetwork(),console.log("Selected network:",this.selectedNetwork)}fetchProjects(){if(this.loadingSubject.value||this.noMoreProjectsSubject.value)return console.log("Skipping fetch: Already loading or no more projects."),(0,x.of)([]);this.loadingSubject.next(!0);const o=`${this.indexerService.getPrimaryIndexer(this.selectedNetwork)}api/query/Angor/projects?${this.totalProjectsFetched?`offset=${this.offset}&`:""}limit=${this.LIMIT}`;return this.http.get(o,{observe:"response"}).pipe((0,D.L)(3),(0,g.M)(r=>this.handlePaginationResponse(r)),(0,R.T)(r=>r.body||[]),(0,E.Z)(this.filterUniqueProjects.bind(this)),(0,F.n)(this.processNewProjects.bind(this)),(0,P.W)(this.handleError.bind(this)),(0,g.M)(()=>this.loadingSubject.next(!1)))}handlePaginationResponse(e){if(!this.totalProjectsFetched&&e?.headers){const o=e.headers.get("pagination-total");this.totalProjects=o?+o:0,this.totalProjectsFetched=!0,this.offset=Math.max(this.totalProjects-this.LIMIT,0)}}filterUniqueProjects(e){return(0,j.H)(e).pipe((0,A.p)(o=>!this.projectsSubject.value.some(r=>r.projectIdentifier===o.projectIdentifier)),$())}processNewProjects(e){if(!e.length)return this.noMoreProjectsSubject.next(!0),(0,x.of)([]);const o=(0,j.H)(e).pipe((0,E.Z)(a=>(0,j.H)(this.storageService.saveProject(a))),$()),r=(0,j.H)(e).pipe((0,E.Z)(this.fetchProjectDetails.bind(this)),$());return o.pipe((0,F.n)(()=>r),(0,g.M)(this.updateProjectsList.bind(this)))}fetchProjectDetails(e){return(0,j.H)(this.storageService.getProjectStats(e.projectIdentifier)).pipe((0,R.T)(o=>(e.totalInvestmentsCount=o?.investorCount??0,this.updateProjectStats(e.projectIdentifier,o),e)),(0,P.W)(o=>(console.error(`Error fetching details for project ${e.projectIdentifier}:`,o),(0,x.of)(e))))}updateProjectsList(e){const o=[...this.projectsSubject.value,...e];this.projectsSubject.next(o),this.subscribeToProjectsMetadata(e.map(r=>r.nostrPubKey)),this.offset=Math.max(this.offset-this.LIMIT,0)}updateProjectStats(e,o){this.projectStatsSubject.next({...this.projectStatsSubject.value,[e]:o})}handleError(e){return console.error("Error fetching projects:",e),this.loadingSubject.next(!1),(0,N.$)(()=>new Error("Failed to fetch projects. Please try again later."))}subscribeToProjectsMetadata(e){this.subscriptionService.addSubscriptions([{kinds:[0],authors:e}],r=>{const a=this.parseMetadataEvent(r);this.storageService.saveProfile(r.pubkey,a)})}parseMetadataEvent(e){try{return JSON.parse(e.content)}catch(o){return console.error("Error parsing metadata event:",o),{}}}fetchProjectStats(e){const r=`${this.indexerService.getPrimaryIndexer(this.selectedNetwork)}api/query/Angor/projects/${e}/stats`;return this.http.get(r).pipe((0,g.M)(a=>this.updateProjectStats(e,a)),(0,P.W)(a=>(console.error(`Error fetching stats for project ${e}:`,a),(0,x.of)({}))))}resetProjects(){this.projectsSubject.next([]),this.noMoreProjectsSubject.next(!1),this.loadingSubject.next(!1),this.projectStatsSubject.next({}),this.offset=this.INITIAL_OFFSET,this.totalProjectsFetched=!1}static{this.\u0275fac=function(o){return new(o||s)(t.KVO(L.Qq),t.KVO(X.F),t.KVO(B.n),t.KVO(U.n))}}static{this.\u0275prov=t.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();var Q=n(8716),H=n(7112);const z=()=>[],W=s=>({"-ml-3":s});function J(s,c){if(1&s){const e=t.RV6();t.j41(0,"button",27),t.bIt("click",function(){t.eBV(e);const r=t.XpG(),a=t.sdS(20);return t.Njj(r.resetSearch(a))}),t.nrm(1,"mat-icon",28),t.k0s()}2&s&&(t.R7$(),t.Y8G("svgIcon","heroicons_solid:x-mark"))}function Z(s,c){if(1&s){const e=t.RV6();t.j41(0,"button",29),t.bIt("click",function(){t.eBV(e);const r=t.XpG(),a=t.sdS(20);return t.Njj(r.filterByQuery(a.value))}),t.nrm(1,"mat-icon",28),t.k0s()}2&s&&(t.R7$(),t.Y8G("svgIcon","heroicons_solid:magnifying-glass"))}function q(s,c){if(1&s){const e=t.RV6();t.j41(0,"div",47),t.bIt("click",function(){t.eBV(e);const r=t.XpG().$implicit,a=t.XpG();return t.Njj(a.goToProjectDetails(r))}),t.EFF(1),t.k0s()}if(2&s){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.displayName||e.nostrPubKey," ")}}function tt(s,c){if(1&s&&(t.j41(0,"div",40),t.EFF(1),t.k0s()),2&s){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.displayName||e.nostrPubKey," ")}}function et(s,c){if(1&s){const e=t.RV6();t.j41(0,"div",42)(1,"div",48)(2,"button",49),t.bIt("click",function(){t.eBV(e);const r=t.XpG().$implicit,a=t.XpG();return t.Njj(a.openChat(r.nostrPubKey))}),t.nrm(3,"mat-icon",50),t.k0s()(),t.j41(4,"div",48)(5,"button",49),t.bIt("click",function(){t.eBV(e);const r=t.XpG().$implicit,a=t.XpG();return t.Njj(a.toggleBookmark(r.nostrPubKey))}),t.nrm(6,"mat-icon",50),t.nI1(7,"async"),t.k0s()()()}if(2&s){let e;const o=t.XpG().$implicit,r=t.XpG();t.R7$(3),t.Y8G("svgIcon","heroicons_outline:chat-bubble-left-right"),t.R7$(3),t.Y8G("svgIcon",null!=(e=t.bMT(7,2,r.bookmarks$))&&e.includes(o.nostrPubKey)?"heroicons_solid:bookmark":"heroicons_outline:bookmark")}}function ot(s,c){if(1&s&&(t.qex(0),t.nrm(1,"img",51),t.bVm()),2&s){const e=t.XpG().index,o=t.XpG().$implicit;t.R7$(),t.Mz_("alt","Investor avatar ",e+1,""),t.Y8G("ngClass",t.eq3(4,W,o.totalInvestmentsCount>1&&e>0))("src","images/avatars/avatar-placeholder.png",t.B4B)}}function rt(s,c){if(1&s&&(t.qex(0),t.DNE(1,ot,2,6,"ng-container",24),t.bVm()),2&s){const e=c.index;t.R7$(),t.Y8G("ngIf",e<10)}}function st(s,c){if(1&s&&(t.qex(0),t.j41(1,"angor-card",30)(2,"div",31),t.nrm(3,"img",32),t.k0s(),t.j41(4,"div",33)(5,"div",34),t.nrm(6,"img",35),t.k0s()(),t.j41(7,"div",36)(8,"div",37)(9,"div",38),t.DNE(10,q,2,1,"div",39)(11,tt,2,1,"div",40),t.j41(12,"div",41),t.EFF(13),t.k0s()(),t.DNE(14,et,8,4,"div",42),t.k0s(),t.nrm(15,"hr",43),t.j41(16,"div",37)(17,"div",44),t.EFF(18),t.k0s(),t.j41(19,"div",45),t.DNE(20,rt,2,1,"ng-container",46),t.k0s()()()(),t.bVm()),2&s){const e=c.$implicit;t.R7$(3),t.Y8G("src",e.banner||"/images/pages/profile/cover.jpg",t.B4B),t.R7$(3),t.Y8G("src",e.picture||"images/avatars/avatar-placeholder.png",t.B4B),t.R7$(4),t.vxM(e.displayName||e.name?10:-1),t.R7$(),t.vxM(e.name||e.displayName?-1:11),t.R7$(2),t.SpI(" ",e.about||"No description available"," "),t.R7$(),t.vxM(e.displayName||e.name?14:-1),t.R7$(4),t.SpI(" ",e.totalInvestmentsCount||0," investors "),t.R7$(2),t.Y8G("ngForOf",t.lJ4(8,z).constructor(e.totalInvestmentsCount||0))}}function nt(s,c){1&s&&(t.qex(0),t.j41(1,"div",52),t.nrm(2,"mat-icon",53),t.j41(3,"div",54),t.EFF(4," No project "),t.k0s()(),t.bVm()),2&s&&(t.R7$(2),t.Y8G("svgIcon","heroicons_outline:archive-box-x-mark"))}function it(s,c){if(1&s){const e=t.RV6();t.j41(0,"div",55)(1,"button",56),t.bIt("click",function(){t.eBV(e);const r=t.XpG();return t.Njj(r.loadMoreProjects())}),t.EFF(2),t.k0s()()}if(2&s){const e=t.XpG();t.R7$(),t.Y8G("disabled",e.loading),t.R7$(),t.SpI(" ",e.loading?"Loading...":"Load More Projects"," ")}}function at(s,c){if(1&s&&(t.j41(0,"div",57),t.EFF(1),t.k0s()),2&s){const e=t.XpG();t.R7$(),t.SpI(" ",e.errorMessage," ")}}const ct=[{path:"",component:(()=>{class s{constructor(e,o,r,a,G){this._projectsService=e,this._storageService=o,this._changeDetectorRef=r,this._router=a,this._bookmarkService=G,this.projects=[],this.filteredProjects=[],this.loading=!1,this.errorMessage="",this.noMoreProjects=!1,this.bookmarkedProjectNpubs=[],this._unsubscribeAll=new h.B,this.bookmarks$=this._bookmarkService.bookmarks$}ngOnInit(){var e=this;return(0,f.A)(function*(){yield e._bookmarkService.initializeForCurrentUser(),e.loadInitialProjects(),e.subscribeToProjectsUpdates(),e.subscribeToLoading(),e.subscribeToNoMoreProjects(),e.subscribeToBookmarkChanges()})()}loadInitialProjects(){this._projectsService.resetProjects(),this._projectsService.fetchProjects().pipe((0,p.Q)(this._unsubscribeAll)).subscribe({next:e=>{this.projects=e,this.filteredProjects=this.projects,this.updateBookmarkStatus(),this.fetchMetadataForProjects(e),this._changeDetectorRef.detectChanges()},error:e=>{this.errorMessage="Error loading projects",this._changeDetectorRef.detectChanges()}})}subscribeToBookmarkChanges(){this.bookmarks$.pipe((0,p.Q)(this._unsubscribeAll)).subscribe(e=>{this.bookmarkedProjectNpubs=e,this.updateBookmarkStatus(),this._changeDetectorRef.detectChanges()})}updateBookmarkStatus(){this.projects.forEach(e=>{e.isBookmarked=this.bookmarkedProjectNpubs.includes(e.nostrPubKey)}),this.filteredProjects=[...this.projects]}fetchMetadataForProjects(e){e.forEach(o=>{this._storageService.getProfile(o.nostrPubKey).then(r=>{r&&this.updateProjectMetadata(o,r)})})}subscribeToProjectsUpdates(){this._storageService.profile$.pipe((0,p.Q)(this._unsubscribeAll)).subscribe(e=>{if(e&&e.pubKey){const o=this.projects.find(r=>r.nostrPubKey===e.pubKey);o&&(this.updateProjectMetadata(o,e.metadata),this._changeDetectorRef.detectChanges())}})}updateProjectMetadata(e,o){e.displayName=o.name||e.displayName,e.about=o.about||e.about,e.picture=o.picture||e.picture,e.banner=o.banner||e.banner}loadMoreProjects(){this._projectsService.fetchProjects().pipe((0,p.Q)(this._unsubscribeAll)).subscribe({next:e=>{const o=e.filter(r=>!this.projects.some(a=>a.projectIdentifier===r.projectIdentifier));this.projects=[...this.projects,...o],this.filteredProjects=[...this.projects],this.fetchMetadataForProjects(o),this._changeDetectorRef.detectChanges()},error:e=>{this.errorMessage="Error loading more projects",this._changeDetectorRef.detectChanges()}})}subscribeToLoading(){this._projectsService.loading$.pipe((0,p.Q)(this._unsubscribeAll)).subscribe(e=>{this.loading=e,this._changeDetectorRef.detectChanges()})}subscribeToNoMoreProjects(){this._projectsService.noMoreProjects$.pipe((0,p.Q)(this._unsubscribeAll)).subscribe(e=>{this.noMoreProjects=e,this._changeDetectorRef.detectChanges()})}trackByFn(e,o){return o.projectIdentifier||e}openChat(e){this._router.navigate(["/chat",e])}goToProjectDetails(e){this._projectsService.fetchProjectStats(e.projectIdentifier).pipe((0,g.M)(o=>{this._storageService.saveProjectStats(e.projectIdentifier,o)}),(0,g.M)(()=>{this._router.navigate(["/profile",e.nostrPubKey])}),(0,P.W)(o=>(console.error(`Failed to navigate to project details for ${e.projectIdentifier}:`,o),(0,x.of)(null)))).subscribe()}filterByQuery(e){if(!e||""===e.trim())return this.filteredProjects=[...this.projects],this.showCloseSearchButton=!1,void this._changeDetectorRef.detectChanges();const o=e.toLowerCase();this.filteredProjects=this.projects.filter(r=>r.displayName&&r.displayName.toLowerCase().includes(o)||r.about&&r.about.toLowerCase().includes(o)||r.displayName&&r.displayName.toLowerCase().includes(o)||r.nostrPubKey&&r.nostrPubKey.toLowerCase().includes(o)||r.projectIdentifier&&r.projectIdentifier.toLowerCase().includes(o)),this.showCloseSearchButton=this.projects.length>0,this._changeDetectorRef.detectChanges()}resetSearch(e){e.value="",this.filterByQuery(""),this.showCloseSearchButton=!1}toggleBookmark(e){var o=this;return(0,f.A)(function*(){(yield o._bookmarkService.isBookmarked(e))?yield o._bookmarkService.removeBookmark(e):yield o._bookmarkService.addBookmark(e)})()}isProjectBookmarked(e){var o=this;return(0,f.A)(function*(){return yield o._bookmarkService.isBookmarked(e)})()}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(o){return new(o||s)(t.rXU(K),t.rXU(B.n),t.rXU(t.gRc),t.rXU(Q.Ix),t.rXU(H.U))}}static{this.\u0275cmp=t.VBU({type:s,selectors:[["explore"]],decls:31,vars:10,consts:[["query",""],[1,"flex","min-w-0","flex-auto","flex-col"],[1,"dark","relative","flex-0","overflow-hidden","bg-gray-800","px-4","py-8","sm:p-16"],["viewBox","0 0 960 540","width","100%","height","100%","preserveAspectRatio","xMidYMax slice","xmlns","http://www.w3.org/2000/svg",1,"pointer-events-none","absolute","inset-0"],["fill","none","stroke","currentColor","stroke-width","100",1,"text-gray-700","opacity-25"],["r","234","cx","196","cy","23"],["r","234","cx","790","cy","491"],[1,"relative","z-10","flex","flex-col","items-center"],[1,"text-xl","font-semibold"],[1,"mt-1","text-center","text-4xl","font-extrabold","leading-tight","tracking-tight","sm:text-7xl"],[1,"text-secondary","mt-6","max-w-2xl","text-center","tracking-tight","sm:text-2xl"],[1,"p-6","sm:p-10"],[1,"mx-auto","flex","w-full","max-w-xs","flex-auto","flex-col","sm:max-w-5xl"],[1,"flex","w-full","max-w-xs","flex-col","items-center","justify-between","sm:max-w-none","sm:flex-row"],[1,"flex","w-full","items-center","space-x-2","sm:w-auto"],[1,"mt-4","w-full","sm:w-80",3,"keyup.enter","subscriptSizing"],["matPrefix","",1,"icon-size-5",3,"svgIcon"],["placeholder","Search ...","matInput",""],["mat-icon-button","","color","warn","class","mt-4",3,"click",4,"ngIf"],["mat-icon-button","","color","success","class","mt-4",3,"click",4,"ngIf"],[1,"mt-8","sm:ml-auto","sm:mt-0",3,"color"],[1,"mx-auto","flex","w-full","flex-auto","flex-col","sm:max-w-5xl"],[1,"mt-10","grid","w-full","min-w-0","grid-cols-1","gap-6","sm:grid-cols-1","md:grid-cols-1","lg:grid-cols-2"],[4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngIf"],["class","mt-10 flex justify-center",4,"ngIf"],["class","error-message",4,"ngIf"],["mat-icon-button","","color","warn",1,"mt-4",3,"click"],[3,"svgIcon"],["mat-icon-button","","color","success",1,"mt-4",3,"click"],[1,"filter-info","flex","w-full","flex-col"],[1,"flex","h-32"],["alt","Card cover image","onerror","this.onerror=null; this.src='/images/pages/profile/cover.jpg';","alt","Card cover image",1,"object-cover",3,"src"],[1,"flex","px-8"],[1,"bg-card","-mt-12","rounded-full","p-1"],["onerror","this.onerror=null; this.src='/images/avatars/avatar-placeholder.png';","alt","Project logo",1,"h-24","w-24","rounded-full","object-cover",3,"src"],[1,"flex","flex-col","px-8","pb-6","pt-4"],[1,"flex","items-center","justify-between"],[1,"min-w-0","flex-1"],["role","button",1,"truncate","text-2xl","font-semibold","leading-tight"],[1,"truncate","text-2xl","font-semibold","leading-tight"],[1,"text-secondary","mt-1","truncate","leading-tight"],[1,"absolute","top-2","right-2","flex","space-x-2"],[1,"my-6","w-full","border-t"],[1,"text-secondary","mr-3","text-md","font-medium"],[1,"flex","items-center"],[4,"ngFor","ngForOf"],["role","button",1,"truncate","text-2xl","font-semibold","leading-tight",3,"click"],[1,"flex","h-10","w-10","items-center","justify-center","rounded-full","border","bg-white","shadow-md"],["mat-icon-button","",3,"click"],[1,"icon-size-5",3,"svgIcon"],[1,"text-card","ring-bg-card","m-0.5","h-6","w-6","rounded-full","ring-2",3,"ngClass","src","alt"],[1,"flex","flex-auto","flex-col","items-center","justify-center","bg-gray-100","dark:bg-transparent"],[1,"icon-size-24",3,"svgIcon"],[1,"text-secondary","mt-4","text-2xl","font-semibold","tracking-tight"],[1,"mt-10","flex","justify-center"],["mat-raised-button","","color","primary",1,"bg-card","text-gray-700","hover:bg-gray-200","dark:text-gray-300","dark:hover:bg-gray-700",3,"click","disabled"],[1,"error-message"]],template:function(o,r){if(1&o){const a=t.RV6();t.j41(0,"div",1)(1,"div",2),t.qSk(),t.j41(2,"svg",3)(3,"g",4),t.nrm(4,"circle",5)(5,"circle",6),t.k0s()(),t.joV(),t.j41(6,"div",7)(7,"h2",8),t.EFF(8,"Explore Projects"),t.k0s(),t.j41(9,"div",9),t.EFF(10," What\u2019s your next investment? "),t.k0s(),t.j41(11,"div",10),t.EFF(12," Check out our projects and find your next investment opportunity. "),t.k0s()()(),t.j41(13,"div",11)(14,"div",12)(15,"div",13)(16,"div",14)(17,"mat-form-field",15),t.bIt("keyup.enter",function(){t.eBV(a);const lt=t.sdS(20);return t.Njj(r.filterByQuery(lt.value))}),t.nrm(18,"mat-icon",16)(19,"input",17,0),t.k0s(),t.DNE(21,J,2,1,"button",18)(22,Z,2,1,"button",19),t.k0s(),t.j41(23,"mat-slide-toggle",20),t.EFF(24," Hide completed "),t.k0s()()(),t.j41(25,"div",21)(26,"div",22),t.DNE(27,st,21,9,"ng-container",23),t.k0s(),t.DNE(28,nt,5,1,"ng-container",24)(29,it,3,2,"div",25)(30,at,2,1,"div",26),t.k0s()()()}2&o&&(t.R7$(17),t.Y8G("subscriptSizing","dynamic"),t.R7$(),t.Y8G("svgIcon","heroicons_solid:magnifying-glass"),t.R7$(3),t.Y8G("ngIf",r.showCloseSearchButton),t.R7$(),t.Y8G("ngIf",!r.showCloseSearchButton),t.R7$(),t.Y8G("color","primary"),t.R7$(4),t.Y8G("ngForOf",r.filteredProjects)("ngForTrackBy",r.trackByFn),t.R7$(),t.Y8G("ngIf",0==r.filteredProjects.length),t.R7$(),t.Y8G("ngIf",r.filteredProjects.length>0),t.R7$(),t.Y8G("ngIf",!r.loading&&r.errorMessage))},dependencies:[m.Hl,m.$z,m.iY,y.m_,y.An,k.n,b.RG,b.rl,b.JW,l.Ve,w.Sy,S.fS,S.fg,v.mV,v.sG,i.YU,d.uc,I.PO,i.MD,i.Sq,i.bT,i.Jj],encapsulation:2})}}return s})()}]}}]); \ No newline at end of file diff --git a/907.f9923f71f8286fd2.js b/907.f9923f71f8286fd2.js deleted file mode 100644 index 98e4241..0000000 --- a/907.f9923f71f8286fd2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkangor=self.webpackChunkangor||[]).push([[907],{2773:(_,u,n)=>{n.d(u,{n:()=>w});var f=n(6146),k=n(3022),i=n(3107);const m=[[["","angorCardFront",""]],[["","angorCardBack",""]],"*",[["","angorCardExpansion",""]]],I=["[angorCardFront]","[angorCardBack]","*","[angorCardExpansion]"];function b(l,v){1&l&&(i.j41(0,"div",0),i.SdG(1),i.k0s(),i.j41(2,"div",1),i.SdG(3,1),i.k0s())}function y(l,v){1&l&&(i.j41(0,"div",2),i.SdG(1,3),i.k0s()),2&l&&i.Y8G("@expandCollapse",void 0)}function S(l,v){if(1&l&&(i.SdG(0,2),i.DNE(1,y,2,1,"div",2)),2&l){const d=i.XpG();i.R7$(),i.vxM(d.expanded?1:-1)}}let w=(()=>{class l{constructor(){this.expanded=!1,this.face="front",this.flippable=!1}get classList(){return{"angor-card-expanded":this.expanded,"angor-card-face-back":this.flippable&&"back"===this.face,"angor-card-face-front":this.flippable&&"front"===this.face,"angor-card-flippable":this.flippable}}ngOnChanges(d){"expanded"in d&&(this.expanded=(0,k.he)(d.expanded.currentValue)),"flippable"in d&&(this.flippable=(0,k.he)(d.flippable.currentValue))}static{this.\u0275fac=function(h){return new(h||l)}}static{this.\u0275cmp=i.VBU({type:l,selectors:[["angor-card"]],hostVars:2,hostBindings:function(h,p){2&h&&i.HbH(p.classList)},inputs:{expanded:"expanded",face:"face",flippable:"flippable"},exportAs:["angorCard"],features:[i.OA$],ngContentSelectors:I,decls:2,vars:2,consts:[[1,"angor-card-front"],[1,"angor-card-back"],[1,"angor-card-expansion"]],template:function(h,p){1&h&&(i.NAR(m),i.DNE(0,b,4,0)(1,S,2,1)),2&h&&(i.vxM(p.flippable?0:-1),i.R7$(),i.vxM(p.flippable?-1:1))},styles:["angor-card{position:relative;display:flex;overflow:hidden;--tw-bg-opacity: 1;background-color:rgba(var(--angor-bg-card-rgb),var(--tw-bg-opacity));border-radius:1rem;--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(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)}angor-card.angor-card-flippable{border-radius:0;overflow:visible;transform-style:preserve-3d;transition:transform 1s;perspective:600px;background:transparent;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}angor-card.angor-card-flippable.angor-card-face-back .angor-card-front{visibility:hidden;opacity:0;transform:rotateY(180deg)}angor-card.angor-card-flippable.angor-card-face-back .angor-card-back{visibility:visible;opacity:1;transform:rotateY(360deg)}angor-card.angor-card-flippable .angor-card-front,angor-card.angor-card-flippable .angor-card-back{display:flex;flex-direction:column;flex:1 1 auto;z-index:10;transition:transform .5s ease-out 0s,visibility 0s ease-in .2s,opacity 0s ease-in .2s;backface-visibility:hidden;--tw-bg-opacity: 1;background-color:rgba(var(--angor-bg-card-rgb),var(--tw-bg-opacity));border-radius:1rem;--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(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)}angor-card.angor-card-flippable .angor-card-front{position:relative;opacity:1;visibility:visible;transform:rotateY(0);overflow:hidden}angor-card.angor-card-flippable .angor-card-back{position:absolute;inset:0;opacity:0;visibility:hidden;transform:rotateY(180deg);overflow:hidden auto}\n"],encapsulation:2,data:{animation:f.F}})}}return l})()},7785:(_,u,n)=>{n.d(u,{n:()=>f.n});var f=n(2773)},8288:(_,u,n)=>{n.r(u),n.d(u,{default:()=>ct});var f=n(3014),k=n(7785),i=n(4460),m=n(9471),I=n(2902),b=n(6071),y=n(3904),S=n(6389),w=n(2322),l=n(4375),v=n(1371),d=n(7712),h=n(8447),p=n(5424),g=n(2040),C=n(7178),x=n(3016),t=n(3107),P=n(1217),j=n(1787),N=n(8915),M=n(8249),D=n(5903),R=n(7947),E=n(5823),F=n(2867),A=n(1483),V=n(36),T=n(5351);const O=(s,c)=>(s.push(c),s);function $(){return(0,T.N)((s,c)=>{(function Y(s,c){return(0,T.N)((0,V.S)(s,c,arguments.length>=2,!1,!0))})(O,[])(s).subscribe(c)})}var L=n(7691),X=n(1128),B=n(3149),U=n(5506);let K=(()=>{class s{constructor(e,o,r,a){this.http=e,this.indexerService=o,this.storageService=r,this.subscriptionService=a,this.INITIAL_OFFSET=0,this.LIMIT=50,this.offset=this.INITIAL_OFFSET,this.totalProjects=0,this.totalProjectsFetched=!1,this.projectsSubject=new P.t([]),this.projects$=this.projectsSubject.asObservable().pipe((0,M.t)(1)),this.loadingSubject=new P.t(!1),this.loading$=this.loadingSubject.asObservable(),this.noMoreProjectsSubject=new P.t(!1),this.noMoreProjects$=this.noMoreProjectsSubject.asObservable(),this.projectStatsSubject=new P.t({}),this.projectStats$=this.projectStatsSubject.asObservable().pipe((0,M.t)(1)),this.selectedNetwork=this.indexerService.getNetwork(),console.log("Selected network:",this.selectedNetwork)}fetchProjects(){if(this.loadingSubject.value||this.noMoreProjectsSubject.value)return console.log("Skipping fetch: Already loading or no more projects."),(0,x.of)([]);this.loadingSubject.next(!0);const o=`${this.indexerService.getPrimaryIndexer(this.selectedNetwork)}api/query/Angor/projects?${this.totalProjectsFetched?`offset=${this.offset}&`:""}limit=${this.LIMIT}`;return this.http.get(o,{observe:"response"}).pipe((0,D.L)(3),(0,g.M)(r=>this.handlePaginationResponse(r)),(0,R.T)(r=>r.body||[]),(0,E.Z)(this.filterUniqueProjects.bind(this)),(0,F.n)(this.processNewProjects.bind(this)),(0,C.W)(this.handleError.bind(this)),(0,g.M)(()=>this.loadingSubject.next(!1)))}handlePaginationResponse(e){if(!this.totalProjectsFetched&&e?.headers){const o=e.headers.get("pagination-total");this.totalProjects=o?+o:0,this.totalProjectsFetched=!0,this.offset=Math.max(this.totalProjects-this.LIMIT,0)}}filterUniqueProjects(e){return(0,j.H)(e).pipe((0,A.p)(o=>!this.projectsSubject.value.some(r=>r.projectIdentifier===o.projectIdentifier)),$())}processNewProjects(e){if(!e.length)return this.noMoreProjectsSubject.next(!0),(0,x.of)([]);const o=(0,j.H)(e).pipe((0,E.Z)(a=>(0,j.H)(this.storageService.saveProject(a))),$()),r=(0,j.H)(e).pipe((0,E.Z)(this.fetchProjectDetails.bind(this)),$());return o.pipe((0,F.n)(()=>r),(0,g.M)(this.updateProjectsList.bind(this)))}fetchProjectDetails(e){return(0,j.H)(this.storageService.getProjectStats(e.projectIdentifier)).pipe((0,R.T)(o=>(e.totalInvestmentsCount=o?.investorCount??0,this.updateProjectStats(e.projectIdentifier,o),e)),(0,C.W)(o=>(console.error(`Error fetching details for project ${e.projectIdentifier}:`,o),(0,x.of)(e))))}updateProjectsList(e){const o=[...this.projectsSubject.value,...e];this.projectsSubject.next(o),this.subscribeToProjectsMetadata(e.map(r=>r.nostrPubKey)),this.offset=Math.max(this.offset-this.LIMIT,0)}updateProjectStats(e,o){this.projectStatsSubject.next({...this.projectStatsSubject.value,[e]:o})}handleError(e){return console.error("Error fetching projects:",e),this.loadingSubject.next(!1),(0,N.$)(()=>new Error("Failed to fetch projects. Please try again later."))}subscribeToProjectsMetadata(e){this.subscriptionService.addSubscriptions([{kinds:[0],authors:e}],r=>{const a=this.parseMetadataEvent(r);this.storageService.saveProfile(r.pubkey,a)})}parseMetadataEvent(e){try{return JSON.parse(e.content)}catch(o){return console.error("Error parsing metadata event:",o),{}}}fetchProjectStats(e){const r=`${this.indexerService.getPrimaryIndexer(this.selectedNetwork)}api/query/Angor/projects/${e}/stats`;return this.http.get(r).pipe((0,g.M)(a=>this.updateProjectStats(e,a)),(0,C.W)(a=>(console.error(`Error fetching stats for project ${e}:`,a),(0,x.of)({}))))}resetProjects(){this.projectsSubject.next([]),this.noMoreProjectsSubject.next(!1),this.loadingSubject.next(!1),this.projectStatsSubject.next({}),this.offset=this.INITIAL_OFFSET,this.totalProjectsFetched=!1}static{this.\u0275fac=function(o){return new(o||s)(t.KVO(L.Qq),t.KVO(X.F),t.KVO(B.n),t.KVO(U.n))}}static{this.\u0275prov=t.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();var Q=n(8716),H=n(7112);const z=()=>[],W=s=>({"-ml-3":s});function J(s,c){if(1&s){const e=t.RV6();t.j41(0,"button",27),t.bIt("click",function(){t.eBV(e);const r=t.XpG(),a=t.sdS(20);return t.Njj(r.resetSearch(a))}),t.nrm(1,"mat-icon",28),t.k0s()}2&s&&(t.R7$(),t.Y8G("svgIcon","heroicons_solid:x-mark"))}function Z(s,c){if(1&s){const e=t.RV6();t.j41(0,"button",29),t.bIt("click",function(){t.eBV(e);const r=t.XpG(),a=t.sdS(20);return t.Njj(r.filterByQuery(a.value))}),t.nrm(1,"mat-icon",28),t.k0s()}2&s&&(t.R7$(),t.Y8G("svgIcon","heroicons_solid:magnifying-glass"))}function q(s,c){if(1&s){const e=t.RV6();t.j41(0,"div",47),t.bIt("click",function(){t.eBV(e);const r=t.XpG().$implicit,a=t.XpG();return t.Njj(a.goToProjectDetails(r))}),t.EFF(1),t.k0s()}if(2&s){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.displayName||e.nostrPubKey," ")}}function tt(s,c){if(1&s&&(t.j41(0,"div",40),t.EFF(1),t.k0s()),2&s){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.displayName||e.nostrPubKey," ")}}function et(s,c){if(1&s){const e=t.RV6();t.j41(0,"div",42)(1,"div",48)(2,"button",49),t.bIt("click",function(){t.eBV(e);const r=t.XpG().$implicit,a=t.XpG();return t.Njj(a.openChat(r.nostrPubKey))}),t.nrm(3,"mat-icon",50),t.k0s()(),t.j41(4,"div",48)(5,"button",49),t.bIt("click",function(){t.eBV(e);const r=t.XpG().$implicit,a=t.XpG();return t.Njj(a.toggleBookmark(r.projectIdentifier))}),t.nrm(6,"mat-icon",50),t.nI1(7,"async"),t.k0s()()()}if(2&s){let e;const o=t.XpG().$implicit,r=t.XpG();t.R7$(3),t.Y8G("svgIcon","heroicons_outline:chat-bubble-left-right"),t.R7$(3),t.Y8G("svgIcon",null!=(e=t.bMT(7,2,r.bookmarks$))&&e.includes(o.projectIdentifier)?"heroicons_solid:bookmark":"heroicons_outline:bookmark")}}function ot(s,c){if(1&s&&(t.qex(0),t.nrm(1,"img",51),t.bVm()),2&s){const e=t.XpG().index,o=t.XpG().$implicit;t.R7$(),t.Mz_("alt","Investor avatar ",e+1,""),t.Y8G("ngClass",t.eq3(4,W,o.totalInvestmentsCount>1&&e>0))("src","images/avatars/avatar-placeholder.png",t.B4B)}}function rt(s,c){if(1&s&&(t.qex(0),t.DNE(1,ot,2,6,"ng-container",24),t.bVm()),2&s){const e=c.index;t.R7$(),t.Y8G("ngIf",e<10)}}function st(s,c){if(1&s&&(t.qex(0),t.j41(1,"angor-card",30)(2,"div",31),t.nrm(3,"img",32),t.k0s(),t.j41(4,"div",33)(5,"div",34),t.nrm(6,"img",35),t.k0s()(),t.j41(7,"div",36)(8,"div",37)(9,"div",38),t.DNE(10,q,2,1,"div",39)(11,tt,2,1,"div",40),t.j41(12,"div",41),t.EFF(13),t.k0s()(),t.DNE(14,et,8,4,"div",42),t.k0s(),t.nrm(15,"hr",43),t.j41(16,"div",37)(17,"div",44),t.EFF(18),t.k0s(),t.j41(19,"div",45),t.DNE(20,rt,2,1,"ng-container",46),t.k0s()()()(),t.bVm()),2&s){const e=c.$implicit;t.R7$(3),t.Y8G("src",e.banner||"/images/pages/profile/cover.jpg",t.B4B),t.R7$(3),t.Y8G("src",e.picture||"images/avatars/avatar-placeholder.png",t.B4B),t.R7$(4),t.vxM(e.displayName||e.name?10:-1),t.R7$(),t.vxM(e.name||e.displayName?-1:11),t.R7$(2),t.SpI(" ",e.about||"No description available"," "),t.R7$(),t.vxM(e.displayName||e.name?14:-1),t.R7$(4),t.SpI(" ",e.totalInvestmentsCount||0," investors "),t.R7$(2),t.Y8G("ngForOf",t.lJ4(8,z).constructor(e.totalInvestmentsCount||0))}}function nt(s,c){1&s&&(t.qex(0),t.j41(1,"div",52),t.nrm(2,"mat-icon",53),t.j41(3,"div",54),t.EFF(4," No project "),t.k0s()(),t.bVm()),2&s&&(t.R7$(2),t.Y8G("svgIcon","heroicons_outline:archive-box-x-mark"))}function it(s,c){if(1&s){const e=t.RV6();t.j41(0,"div",55)(1,"button",56),t.bIt("click",function(){t.eBV(e);const r=t.XpG();return t.Njj(r.loadMoreProjects())}),t.EFF(2),t.k0s()()}if(2&s){const e=t.XpG();t.R7$(),t.Y8G("disabled",e.loading),t.R7$(),t.SpI(" ",e.loading?"Loading...":"Load More Projects"," ")}}function at(s,c){if(1&s&&(t.j41(0,"div",57),t.EFF(1),t.k0s()),2&s){const e=t.XpG();t.R7$(),t.SpI(" ",e.errorMessage," ")}}const ct=[{path:"",component:(()=>{class s{constructor(e,o,r,a,G){this._projectsService=e,this._storageService=o,this._changeDetectorRef=r,this._router=a,this._bookmarkService=G,this.projects=[],this.filteredProjects=[],this.loading=!1,this.errorMessage="",this.noMoreProjects=!1,this.bookmarkedProjectIds=[],this._unsubscribeAll=new h.B,this.bookmarks$=this._bookmarkService.bookmarks$}ngOnInit(){var e=this;return(0,f.A)(function*(){yield e._bookmarkService.initializeForCurrentUser(),e.loadInitialProjects(),e.subscribeToProjectsUpdates(),e.subscribeToLoading(),e.subscribeToNoMoreProjects(),e.subscribeToBookmarkChanges()})()}loadInitialProjects(){this._projectsService.resetProjects(),this._projectsService.fetchProjects().pipe((0,p.Q)(this._unsubscribeAll)).subscribe({next:e=>{this.projects=e,this.filteredProjects=this.projects,this.updateBookmarkStatus(),this.fetchMetadataForProjects(e),this._changeDetectorRef.detectChanges()},error:e=>{this.errorMessage="Error loading projects",this._changeDetectorRef.detectChanges()}})}subscribeToBookmarkChanges(){this.bookmarks$.pipe((0,p.Q)(this._unsubscribeAll)).subscribe(e=>{this.bookmarkedProjectIds=e,this.updateBookmarkStatus(),this._changeDetectorRef.detectChanges()})}updateBookmarkStatus(){this.projects.forEach(e=>{e.isBookmarked=this.bookmarkedProjectIds.includes(e.projectIdentifier)}),this.filteredProjects=[...this.projects]}fetchMetadataForProjects(e){e.forEach(o=>{this._storageService.getProfile(o.nostrPubKey).then(r=>{r&&this.updateProjectMetadata(o,r)})})}subscribeToProjectsUpdates(){this._storageService.profile$.pipe((0,p.Q)(this._unsubscribeAll)).subscribe(e=>{if(e&&e.pubKey){const o=this.projects.find(r=>r.nostrPubKey===e.pubKey);o&&(this.updateProjectMetadata(o,e.metadata),this._changeDetectorRef.detectChanges())}})}updateProjectMetadata(e,o){e.displayName=o.name||e.displayName,e.about=o.about||e.about,e.picture=o.picture||e.picture,e.banner=o.banner||e.banner}loadMoreProjects(){this._projectsService.fetchProjects().pipe((0,p.Q)(this._unsubscribeAll)).subscribe({next:e=>{const o=e.filter(r=>!this.projects.some(a=>a.projectIdentifier===r.projectIdentifier));this.projects=[...this.projects,...o],this.filteredProjects=[...this.projects],this.fetchMetadataForProjects(o),this._changeDetectorRef.detectChanges()},error:e=>{this.errorMessage="Error loading more projects",this._changeDetectorRef.detectChanges()}})}subscribeToLoading(){this._projectsService.loading$.pipe((0,p.Q)(this._unsubscribeAll)).subscribe(e=>{this.loading=e,this._changeDetectorRef.detectChanges()})}subscribeToNoMoreProjects(){this._projectsService.noMoreProjects$.pipe((0,p.Q)(this._unsubscribeAll)).subscribe(e=>{this.noMoreProjects=e,this._changeDetectorRef.detectChanges()})}trackByFn(e,o){return o.projectIdentifier||e}openChat(e){this._router.navigate(["/chat",e])}goToProjectDetails(e){this._projectsService.fetchProjectStats(e.projectIdentifier).pipe((0,g.M)(o=>{this._storageService.saveProjectStats(e.projectIdentifier,o)}),(0,g.M)(()=>{this._router.navigate(["/profile",e.nostrPubKey])}),(0,C.W)(o=>(console.error(`Failed to navigate to project details for ${e.projectIdentifier}:`,o),(0,x.of)(null)))).subscribe()}filterByQuery(e){if(!e||""===e.trim())return this.filteredProjects=[...this.projects],this.showCloseSearchButton=!1,void this._changeDetectorRef.detectChanges();const o=e.toLowerCase();this.filteredProjects=this.projects.filter(r=>r.displayName&&r.displayName.toLowerCase().includes(o)||r.about&&r.about.toLowerCase().includes(o)||r.displayName&&r.displayName.toLowerCase().includes(o)||r.nostrPubKey&&r.nostrPubKey.toLowerCase().includes(o)||r.projectIdentifier&&r.projectIdentifier.toLowerCase().includes(o)),this.showCloseSearchButton=this.projects.length>0,this._changeDetectorRef.detectChanges()}resetSearch(e){e.value="",this.filterByQuery(""),this.showCloseSearchButton=!1}toggleBookmark(e){var o=this;return(0,f.A)(function*(){(yield o._bookmarkService.isBookmarked(e))?yield o._bookmarkService.removeBookmark(e):yield o._bookmarkService.addBookmark(e)})()}isProjectBookmarked(e){var o=this;return(0,f.A)(function*(){return yield o._bookmarkService.isBookmarked(e)})()}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(o){return new(o||s)(t.rXU(K),t.rXU(B.n),t.rXU(t.gRc),t.rXU(Q.Ix),t.rXU(H.U))}}static{this.\u0275cmp=t.VBU({type:s,selectors:[["explore"]],decls:31,vars:10,consts:[["query",""],[1,"flex","min-w-0","flex-auto","flex-col"],[1,"dark","relative","flex-0","overflow-hidden","bg-gray-800","px-4","py-8","sm:p-16"],["viewBox","0 0 960 540","width","100%","height","100%","preserveAspectRatio","xMidYMax slice","xmlns","http://www.w3.org/2000/svg",1,"pointer-events-none","absolute","inset-0"],["fill","none","stroke","currentColor","stroke-width","100",1,"text-gray-700","opacity-25"],["r","234","cx","196","cy","23"],["r","234","cx","790","cy","491"],[1,"relative","z-10","flex","flex-col","items-center"],[1,"text-xl","font-semibold"],[1,"mt-1","text-center","text-4xl","font-extrabold","leading-tight","tracking-tight","sm:text-7xl"],[1,"text-secondary","mt-6","max-w-2xl","text-center","tracking-tight","sm:text-2xl"],[1,"p-6","sm:p-10"],[1,"mx-auto","flex","w-full","max-w-xs","flex-auto","flex-col","sm:max-w-5xl"],[1,"flex","w-full","max-w-xs","flex-col","items-center","justify-between","sm:max-w-none","sm:flex-row"],[1,"flex","w-full","items-center","space-x-2","sm:w-auto"],[1,"mt-4","w-full","sm:w-80",3,"keyup.enter","subscriptSizing"],["matPrefix","",1,"icon-size-5",3,"svgIcon"],["placeholder","Search ...","matInput",""],["mat-icon-button","","color","warn","class","mt-4",3,"click",4,"ngIf"],["mat-icon-button","","color","success","class","mt-4",3,"click",4,"ngIf"],[1,"mt-8","sm:ml-auto","sm:mt-0",3,"color"],[1,"mx-auto","flex","w-full","flex-auto","flex-col","sm:max-w-5xl"],[1,"mt-10","grid","w-full","min-w-0","grid-cols-1","gap-6","sm:grid-cols-1","md:grid-cols-1","lg:grid-cols-2"],[4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngIf"],["class","mt-10 flex justify-center",4,"ngIf"],["class","error-message",4,"ngIf"],["mat-icon-button","","color","warn",1,"mt-4",3,"click"],[3,"svgIcon"],["mat-icon-button","","color","success",1,"mt-4",3,"click"],[1,"filter-info","flex","w-full","flex-col"],[1,"flex","h-32"],["alt","Card cover image","onerror","this.onerror=null; this.src='/images/pages/profile/cover.jpg';","alt","Card cover image",1,"object-cover",3,"src"],[1,"flex","px-8"],[1,"bg-card","-mt-12","rounded-full","p-1"],["onerror","this.onerror=null; this.src='/images/avatars/avatar-placeholder.png';","alt","Project logo",1,"h-24","w-24","rounded-full","object-cover",3,"src"],[1,"flex","flex-col","px-8","pb-6","pt-4"],[1,"flex","items-center","justify-between"],[1,"min-w-0","flex-1"],["role","button",1,"truncate","text-2xl","font-semibold","leading-tight"],[1,"truncate","text-2xl","font-semibold","leading-tight"],[1,"text-secondary","mt-1","truncate","leading-tight"],[1,"absolute","top-2","right-2","flex","space-x-2"],[1,"my-6","w-full","border-t"],[1,"text-secondary","mr-3","text-md","font-medium"],[1,"flex","items-center"],[4,"ngFor","ngForOf"],["role","button",1,"truncate","text-2xl","font-semibold","leading-tight",3,"click"],[1,"flex","h-10","w-10","items-center","justify-center","rounded-full","border","bg-white","shadow-md"],["mat-icon-button","",3,"click"],[1,"icon-size-5",3,"svgIcon"],[1,"text-card","ring-bg-card","m-0.5","h-6","w-6","rounded-full","ring-2",3,"ngClass","src","alt"],[1,"flex","flex-auto","flex-col","items-center","justify-center","bg-gray-100","dark:bg-transparent"],[1,"icon-size-24",3,"svgIcon"],[1,"text-secondary","mt-4","text-2xl","font-semibold","tracking-tight"],[1,"mt-10","flex","justify-center"],["mat-raised-button","","color","primary",1,"bg-card","text-gray-700","hover:bg-gray-200","dark:text-gray-300","dark:hover:bg-gray-700",3,"click","disabled"],[1,"error-message"]],template:function(o,r){if(1&o){const a=t.RV6();t.j41(0,"div",1)(1,"div",2),t.qSk(),t.j41(2,"svg",3)(3,"g",4),t.nrm(4,"circle",5)(5,"circle",6),t.k0s()(),t.joV(),t.j41(6,"div",7)(7,"h2",8),t.EFF(8,"Explore Projects"),t.k0s(),t.j41(9,"div",9),t.EFF(10," What\u2019s your next investment? "),t.k0s(),t.j41(11,"div",10),t.EFF(12," Check out our projects and find your next investment opportunity. "),t.k0s()()(),t.j41(13,"div",11)(14,"div",12)(15,"div",13)(16,"div",14)(17,"mat-form-field",15),t.bIt("keyup.enter",function(){t.eBV(a);const lt=t.sdS(20);return t.Njj(r.filterByQuery(lt.value))}),t.nrm(18,"mat-icon",16)(19,"input",17,0),t.k0s(),t.DNE(21,J,2,1,"button",18)(22,Z,2,1,"button",19),t.k0s(),t.j41(23,"mat-slide-toggle",20),t.EFF(24," Hide completed "),t.k0s()()(),t.j41(25,"div",21)(26,"div",22),t.DNE(27,st,21,9,"ng-container",23),t.k0s(),t.DNE(28,nt,5,1,"ng-container",24)(29,it,3,2,"div",25)(30,at,2,1,"div",26),t.k0s()()()}2&o&&(t.R7$(17),t.Y8G("subscriptSizing","dynamic"),t.R7$(),t.Y8G("svgIcon","heroicons_solid:magnifying-glass"),t.R7$(3),t.Y8G("ngIf",r.showCloseSearchButton),t.R7$(),t.Y8G("ngIf",!r.showCloseSearchButton),t.R7$(),t.Y8G("color","primary"),t.R7$(4),t.Y8G("ngForOf",r.filteredProjects)("ngForTrackBy",r.trackByFn),t.R7$(),t.Y8G("ngIf",0==r.filteredProjects.length),t.R7$(),t.Y8G("ngIf",r.filteredProjects.length>0),t.R7$(),t.Y8G("ngIf",!r.loading&&r.errorMessage))},dependencies:[m.Hl,m.$z,m.iY,y.m_,y.An,k.n,b.RG,b.rl,b.JW,l.Ve,I.Sy,S.fS,S.fg,v.mV,v.sG,i.YU,d.uc,w.PO,i.MD,i.Sq,i.bT,i.Jj],encapsulation:2})}}return s})()}]}}]); \ No newline at end of file diff --git a/index.html b/index.html index a0987e7..075d2b5 100644 --- a/index.html +++ b/index.html @@ -41,5 +41,5 @@ - + diff --git a/main.1d5c26ac3665c243.js b/main.1d5c26ac3665c243.js deleted file mode 100644 index 61ec4e4..0000000 --- a/main.1d5c26ac3665c243.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkangor=self.webpackChunkangor||[]).push([[792],{6146:(i,s,o)=>{"use strict";o.d(s,{F:()=>n.F});var n=o(799)},799:(i,s,o)=>{"use strict";o.d(s,{F:()=>ae});let n=(()=>{class le{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 le})(),a=(()=>{class le{static{this.complex="375ms"}static{this.entering="225ms"}static{this.exiting="195ms"}}return le})();var l=o(1204);const st=(le,ve,se,or,fr=`${a.entering} ${n.deceleration}`,yr=`${a.exiting} ${n.acceleration}`)=>(0,l.hZ)(le,[(0,l.wk)("void",(0,l.iF)(ve)),(0,l.wk)("*",(0,l.iF)(se)),(0,l.kY)("void => false, * => false",[]),(0,l.kY)("void => *",(0,l.i0)(or||fr),{params:{timings:fr}}),(0,l.kY)("* => void",(0,l.i0)(or||yr),{params:{timings:yr}})]),ae=[(0,l.hZ)("expandCollapse",[(0,l.wk)("void, collapsed",(0,l.iF)({height:"0"})),(0,l.wk)("*, expanded",(0,l.iF)("*")),(0,l.kY)("void <=> false, collapsed <=> false, expanded <=> false",[]),(0,l.kY)("void <=> *, collapsed <=> expanded",(0,l.i0)("{{timings}}"),{params:{timings:`${a.entering} ${n.deceleration}`}})]),(0,l.hZ)("fadeIn",[(0,l.wk)("void",(0,l.iF)({opacity:0})),(0,l.wk)("*",(0,l.iF)({opacity:1})),(0,l.kY)("void => false",[]),(0,l.kY)("void => *",(0,l.i0)("{{timings}}"),{params:{timings:`${a.entering} ${n.deceleration}`}})]),(0,l.hZ)("fadeInTop",[(0,l.wk)("void",(0,l.iF)({opacity:0,transform:"translate3d(0, -100%, 0)"})),(0,l.wk)("*",(0,l.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,l.kY)("void => false",[]),(0,l.kY)("void => *",(0,l.i0)("{{timings}}"),{params:{timings:`${a.entering} ${n.deceleration}`}})]),(0,l.hZ)("fadeInBottom",[(0,l.wk)("void",(0,l.iF)({opacity:0,transform:"translate3d(0, 100%, 0)"})),(0,l.wk)("*",(0,l.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,l.kY)("void => false",[]),(0,l.kY)("void => *",(0,l.i0)("{{timings}}"),{params:{timings:`${a.entering} ${n.deceleration}`}})]),(0,l.hZ)("fadeInLeft",[(0,l.wk)("void",(0,l.iF)({opacity:0,transform:"translate3d(-100%, 0, 0)"})),(0,l.wk)("*",(0,l.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,l.kY)("void => false",[]),(0,l.kY)("void => *",(0,l.i0)("{{timings}}"),{params:{timings:`${a.entering} ${n.deceleration}`}})]),(0,l.hZ)("fadeInRight",[(0,l.wk)("void",(0,l.iF)({opacity:0,transform:"translate3d(100%, 0, 0)"})),(0,l.wk)("*",(0,l.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,l.kY)("void => false",[]),(0,l.kY)("void => *",(0,l.i0)("{{timings}}"),{params:{timings:`${a.entering} ${n.deceleration}`}})]),(0,l.hZ)("fadeOut",[(0,l.wk)("*",(0,l.iF)({opacity:1})),(0,l.wk)("void",(0,l.iF)({opacity:0})),(0,l.kY)("false => void",[]),(0,l.kY)("* => void",(0,l.i0)("{{timings}}"),{params:{timings:`${a.exiting} ${n.acceleration}`}})]),(0,l.hZ)("fadeOutTop",[(0,l.wk)("*",(0,l.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,l.wk)("void",(0,l.iF)({opacity:0,transform:"translate3d(0, -100%, 0)"})),(0,l.kY)("false => void",[]),(0,l.kY)("* => void",(0,l.i0)("{{timings}}"),{params:{timings:`${a.exiting} ${n.acceleration}`}})]),(0,l.hZ)("fadeOutBottom",[(0,l.wk)("*",(0,l.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,l.wk)("void",(0,l.iF)({opacity:0,transform:"translate3d(0, 100%, 0)"})),(0,l.kY)("false => void",[]),(0,l.kY)("* => void",(0,l.i0)("{{timings}}"),{params:{timings:`${a.exiting} ${n.acceleration}`}})]),(0,l.hZ)("fadeOutLeft",[(0,l.wk)("*",(0,l.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,l.wk)("void",(0,l.iF)({opacity:0,transform:"translate3d(-100%, 0, 0)"})),(0,l.kY)("false => void",[]),(0,l.kY)("* => void",(0,l.i0)("{{timings}}"),{params:{timings:`${a.exiting} ${n.acceleration}`}})]),(0,l.hZ)("fadeOutRight",[(0,l.wk)("*",(0,l.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,l.wk)("void",(0,l.iF)({opacity:0,transform:"translate3d(100%, 0, 0)"})),(0,l.kY)("false => void",[]),(0,l.kY)("* => void",(0,l.i0)("{{timings}}"),{params:{timings:`${a.exiting} ${n.acceleration}`}})]),(0,l.hZ)("shake",[(0,l.kY)("void => false",[]),(0,l.kY)("void => *, * => true",[(0,l.i0)("{{timings}}",(0,l.i7)([(0,l.iF)({transform:"translate3d(0, 0, 0)",offset:0}),(0,l.iF)({transform:"translate3d(-10px, 0, 0)",offset:.1}),(0,l.iF)({transform:"translate3d(10px, 0, 0)",offset:.2}),(0,l.iF)({transform:"translate3d(-10px, 0, 0)",offset:.3}),(0,l.iF)({transform:"translate3d(10px, 0, 0)",offset:.4}),(0,l.iF)({transform:"translate3d(-10px, 0, 0)",offset:.5}),(0,l.iF)({transform:"translate3d(10px, 0, 0)",offset:.6}),(0,l.iF)({transform:"translate3d(-10px, 0, 0)",offset:.7}),(0,l.iF)({transform:"translate3d(10px, 0, 0)",offset:.8}),(0,l.iF)({transform:"translate3d(-10px, 0, 0)",offset:.9}),(0,l.iF)({transform:"translate3d(0, 0, 0)",offset:1})]))],{params:{timings:"0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955)"}})]),(0,l.hZ)("slideInTop",[(0,l.wk)("void",(0,l.iF)({transform:"translate3d(0, -100%, 0)"})),(0,l.wk)("*",(0,l.iF)({transform:"translate3d(0, 0, 0)"})),(0,l.kY)("void => false",[]),(0,l.kY)("void => *",(0,l.i0)("{{timings}}"),{params:{timings:`${a.entering} ${n.deceleration}`}})]),(0,l.hZ)("slideInBottom",[(0,l.wk)("void",(0,l.iF)({transform:"translate3d(0, 100%, 0)"})),(0,l.wk)("*",(0,l.iF)({transform:"translate3d(0, 0, 0)"})),(0,l.kY)("void => false",[]),(0,l.kY)("void => *",(0,l.i0)("{{timings}}"),{params:{timings:`${a.entering} ${n.deceleration}`}})]),(0,l.hZ)("slideInLeft",[(0,l.wk)("void",(0,l.iF)({transform:"translate3d(-100%, 0, 0)"})),(0,l.wk)("*",(0,l.iF)({transform:"translate3d(0, 0, 0)"})),(0,l.kY)("void => false",[]),(0,l.kY)("void => *",(0,l.i0)("{{timings}}"),{params:{timings:`${a.entering} ${n.deceleration}`}})]),(0,l.hZ)("slideInRight",[(0,l.wk)("void",(0,l.iF)({transform:"translate3d(100%, 0, 0)"})),(0,l.wk)("*",(0,l.iF)({transform:"translate3d(0, 0, 0)"})),(0,l.kY)("void => false",[]),(0,l.kY)("void => *",(0,l.i0)("{{timings}}"),{params:{timings:`${a.entering} ${n.deceleration}`}})]),(0,l.hZ)("slideOutTop",[(0,l.wk)("*",(0,l.iF)({transform:"translate3d(0, 0, 0)"})),(0,l.wk)("void",(0,l.iF)({transform:"translate3d(0, -100%, 0)"})),(0,l.kY)("false => void",[]),(0,l.kY)("* => void",(0,l.i0)("{{timings}}"),{params:{timings:`${a.exiting} ${n.acceleration}`}})]),(0,l.hZ)("slideOutBottom",[(0,l.wk)("*",(0,l.iF)({transform:"translate3d(0, 0, 0)"})),(0,l.wk)("void",(0,l.iF)({transform:"translate3d(0, 100%, 0)"})),(0,l.kY)("false => void",[]),(0,l.kY)("* => void",(0,l.i0)("{{timings}}"),{params:{timings:`${a.exiting} ${n.acceleration}`}})]),(0,l.hZ)("slideOutLeft",[(0,l.wk)("*",(0,l.iF)({transform:"translate3d(0, 0, 0)"})),(0,l.wk)("void",(0,l.iF)({transform:"translate3d(-100%, 0, 0)"})),(0,l.kY)("false => void",[]),(0,l.kY)("* => void",(0,l.i0)("{{timings}}"),{params:{timings:`${a.exiting} ${n.acceleration}`}})]),(0,l.hZ)("slideOutRight",[(0,l.wk)("*",(0,l.iF)({transform:"translate3d(0, 0, 0)"})),(0,l.wk)("void",(0,l.iF)({transform:"translate3d(100%, 0, 0)"})),(0,l.kY)("false => void",[]),(0,l.kY)("* => void",(0,l.i0)("{{timings}}"),{params:{timings:`${a.exiting} ${n.acceleration}`}})]),st("zoomIn",{opacity:0,transform:"scale(0.5)"},{opacity:1,transform:"scale(1)"},""),st("zoomOut",{opacity:1,transform:"scale(1)"},{opacity:0,transform:"scale(0.5)"},"")]},3871:(i,s,o)=>{"use strict";o.d(s,{$w:()=>Or,lX:()=>l,Tv:()=>Ds});var n=o(6146),a=o(3107);let l=(()=>{class Z{constructor(){this._componentRegistry=new Map,this._navigationStore=new Map}registerComponent(et,ne){this._componentRegistry.set(et,ne)}deregisterComponent(et){this._componentRegistry.delete(et)}getComponent(et){return this._componentRegistry.get(et)}storeNavigation(et,ne){this._navigationStore.set(et,ne)}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,ne=[]){for(const Ee of et)"basic"===Ee.type?ne.push(Ee):Ee.children&&this.getFlatNavigation(Ee.children,ne);return ne}getItem(et,ne){for(const Ee of ne){if(Ee.id===et)return Ee;if(Ee.children){const Fr=this.getItem(et,Ee.children);if(Fr)return Fr}}return null}getItemParent(et,ne,Ee){for(const Fr of ne){if(Fr.id===et)return Ee;if(Fr.children){const Ir=this.getItemParent(et,Fr.children,Fr);if(Ir)return Ir}}return null}static{this.\u0275fac=function(ne){return new(ne||Z)}}static{this.\u0275prov=a.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"})}}return Z})();var y=o(3939),k=o(7838),C=o(8447),A=o(4460),S=o(3904),T=o(7818),O=o(7712),P=o(8716),q=o(5424);const X=Z=>({"angor-horizontal-navigation-item-active-forced":Z}),J=Z=>[Z];function ht(Z,qt){1&Z&&a.eu8(0)}function ct(Z,qt){if(1&Z&&(a.j41(0,"div",2),a.DNE(1,ht,1,0,"ng-container",7),a.k0s()),2&Z){let et,ne,Ee,Fr;const Ir=a.XpG(),Hr=a.sdS(9);a.Y8G("ngClass",a.eq3(10,X,Ir.item.active))("routerLink",a.eq3(12,J,Ir.item.link))("fragment",null!==(et=Ir.item.fragment)&&void 0!==et?et:null)("preserveFragment",null!==(ne=Ir.item.preserveFragment)&&void 0!==ne&&ne)("queryParams",null!==(Ee=Ir.item.queryParams)&&void 0!==Ee?Ee:null)("queryParamsHandling",null!==(Fr=Ir.item.queryParamsHandling)&&void 0!==Fr?Fr:null)("routerLinkActive","angor-horizontal-navigation-item-active")("routerLinkActiveOptions",Ir.isActiveMatchOptions)("matTooltip",Ir.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",Hr)}}function pt(Z,qt){1&Z&&a.eu8(0)}function kt(Z,qt){if(1&Z&&(a.j41(0,"a",3),a.DNE(1,pt,1,0,"ng-container",7),a.k0s()),2&Z){const et=a.XpG(),ne=a.sdS(9);a.Y8G("href",et.item.link,a.B4B)("target",et.item.target||"_self")("matTooltip",et.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",ne)}}function Et(Z,qt){1&Z&&a.eu8(0)}function It(Z,qt){if(1&Z){const et=a.RV6();a.j41(0,"div",8),a.bIt("click",function(){a.eBV(et);const Ee=a.XpG();return a.Njj(Ee.item.function(Ee.item))}),a.DNE(1,Et,1,0,"ng-container",7),a.k0s()}if(2&Z){const et=a.XpG(),ne=a.sdS(9);a.Y8G("ngClass",a.eq3(3,X,et.item.active))("matTooltip",et.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",ne)}}function yt(Z,qt){1&Z&&a.eu8(0)}function _t(Z,qt){if(1&Z){const et=a.RV6();a.j41(0,"div",9),a.bIt("click",function(){a.eBV(et);const Ee=a.XpG();return a.Njj(Ee.item.function(Ee.item))}),a.DNE(1,yt,1,0,"ng-container",7),a.k0s()}if(2&Z){let et,ne,Ee,Fr;const Ir=a.XpG(),Hr=a.sdS(9);a.Y8G("ngClass",a.eq3(10,X,Ir.item.active))("routerLink",a.eq3(12,J,Ir.item.link))("fragment",null!==(et=Ir.item.fragment)&&void 0!==et?et:null)("preserveFragment",null!==(ne=Ir.item.preserveFragment)&&void 0!==ne&&ne)("queryParams",null!==(Ee=Ir.item.queryParams)&&void 0!==Ee?Ee:null)("queryParamsHandling",null!==(Fr=Ir.item.queryParamsHandling)&&void 0!==Fr?Fr:null)("routerLinkActive","angor-horizontal-navigation-item-active")("routerLinkActiveOptions",Ir.isActiveMatchOptions)("matTooltip",Ir.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",Hr)}}function at(Z,qt){1&Z&&a.eu8(0)}function st(Z,qt){if(1&Z){const et=a.RV6();a.j41(0,"a",10),a.bIt("click",function(){a.eBV(et);const Ee=a.XpG();return a.Njj(Ee.item.function(Ee.item))}),a.DNE(1,at,1,0,"ng-container",7),a.k0s()}if(2&Z){const et=a.XpG(),ne=a.sdS(9);a.Y8G("href",et.item.link,a.B4B)("target",et.item.target||"_self")("matTooltip",et.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",ne)}}function vt(Z,qt){1&Z&&a.eu8(0)}function Pt(Z,qt){if(1&Z&&(a.j41(0,"div",4),a.DNE(1,vt,1,0,"ng-container",7),a.k0s()),2&Z){const et=a.XpG(),ne=a.sdS(9);a.Y8G("ngClass",a.eq3(3,X,et.item.active))("matTooltip",et.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",ne)}}function ae(Z,qt){1&Z&&a.eu8(0)}function le(Z,qt){if(1&Z&&(a.j41(0,"div",6),a.DNE(1,ae,1,0,"ng-container",7),a.k0s()),2&Z){a.XpG();const et=a.sdS(9);a.R7$(),a.Y8G("ngTemplateOutlet",et)}}function ve(Z,qt){if(1&Z&&a.nrm(0,"mat-icon",11),2&Z){const et=a.XpG(2);a.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function se(Z,qt){if(1&Z&&(a.j41(0,"div",15)(1,"span",14),a.EFF(2),a.k0s()()),2&Z){const et=a.XpG(2);a.R7$(),a.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),a.R7$(),a.SpI(" ",et.item.subtitle," ")}}function or(Z,qt){if(1&Z&&(a.j41(0,"div",16)(1,"div",17),a.EFF(2),a.k0s()()),2&Z){const et=a.XpG(2);a.R7$(),a.Y8G("ngClass",et.item.badge.classes),a.R7$(),a.SpI(" ",et.item.badge.title," ")}}function fr(Z,qt){if(1&Z&&(a.DNE(0,ve,1,2,"mat-icon",11),a.j41(1,"div",12)(2,"div",13)(3,"span",14),a.EFF(4),a.k0s()(),a.DNE(5,se,3,2,"div",15),a.k0s(),a.DNE(6,or,3,2,"div",16)),2&Z){const et=a.XpG();a.vxM(et.item.icon?0:-1),a.R7$(3),a.Y8G("ngClass",null==et.item.classes?null:et.item.classes.title),a.R7$(),a.SpI(" ",et.item.title," "),a.R7$(),a.vxM(et.item.subtitle?5:-1),a.R7$(),a.vxM(et.item.badge?6:-1)}}let yr=(()=>{class Z{constructor(){this._changeDetectorRef=(0,a.WQX)(a.gRc),this._angorNavigationService=(0,a.WQX)(l),this._angorUtilsService=(0,a.WQX)(y.Q),this.isActiveMatchOptions=this._angorUtilsService.subsetMatchOptions,this._unsubscribeAll=new C.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,q.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(ne){return new(ne||Z)}}static{this.\u0275cmp=a.VBU({type:Z,selectors:[["angor-horizontal-navigation-basic-item"]],inputs:{item:"item",name:"name"},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(ne,Ee){1&ne&&(a.j41(0,"div",1),a.DNE(1,ct,2,14,"div",2)(2,kt,2,4,"a",3)(3,It,2,5,"div",4)(4,_t,2,14,"div",2)(5,st,2,4,"a",5)(6,Pt,2,5,"div",4)(7,le,2,1,"div",6),a.k0s(),a.DNE(8,fr,7,5,"ng-template",null,0,a.C5r)),2&ne&&(a.AVh("angor-horizontal-navigation-item-has-subtitle",!!Ee.item.subtitle),a.Y8G("ngClass",null==Ee.item.classes?null:Ee.item.classes.wrapper),a.R7$(),a.vxM(!Ee.item.link||Ee.item.externalLink||Ee.item.function||Ee.item.disabled?-1:1),a.R7$(),a.vxM(Ee.item.link&&Ee.item.externalLink&&!Ee.item.function&&!Ee.item.disabled?2:-1),a.R7$(),a.vxM(Ee.item.link||!Ee.item.function||Ee.item.disabled?-1:3),a.R7$(),a.vxM(Ee.item.link&&!Ee.item.externalLink&&Ee.item.function&&!Ee.item.disabled?4:-1),a.R7$(),a.vxM(Ee.item.link&&Ee.item.externalLink&&Ee.item.function&&!Ee.item.disabled?5:-1),a.R7$(),a.vxM(Ee.item.link||Ee.item.function||Ee.item.disabled?-1:6),a.R7$(),a.vxM(Ee.item.disabled?7:-1))},dependencies:[A.YU,P.Wk,P.wQ,O.uc,O.oV,A.T3,T.Cn,T.fb,S.m_,S.An],encapsulation:2,changeDetection:0})}}return Z})(),jr=(()=>{class Z{constructor(){this._changeDetectorRef=(0,a.WQX)(a.gRc),this._angorNavigationService=(0,a.WQX)(l),this._unsubscribeAll=new C.B}ngOnInit(){this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorHorizontalNavigationComponent.onRefreshed.pipe((0,q.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(ne){return new(ne||Z)}}static{this.\u0275cmp=a.VBU({type:Z,selectors:[["angor-horizontal-navigation-divider-item"]],inputs:{item:"item",name:"name"},decls:1,vars:1,consts:[[1,"angor-horizontal-navigation-item-wrapper","divider",3,"ngClass"]],template:function(ne,Ee){1&ne&&a.nrm(0,"div",0),2&ne&&a.Y8G("ngClass",null==Ee.item.classes?null:Ee.item.classes.wrapper)},dependencies:[A.YU],encapsulation:2,changeDetection:0})}}return Z})();const wr=["matMenu"],Qt=(Z,qt)=>({"angor-horizontal-navigation-menu-active":Z,"angor-horizontal-navigation-menu-active-forced":qt}),be=Z=>({$implicit:Z}),Ht=(Z,qt)=>({"angor-horizontal-navigation-item-disabled":Z,"angor-horizontal-navigation-item-active-forced":qt});function Bt(Z,qt){1&Z&&a.eu8(0)}function Fe(Z,qt){if(1&Z){const et=a.RV6();a.j41(0,"div",6,2),a.bIt("onMenuOpen",function(){a.eBV(et);const Ee=a.XpG();return a.Njj(Ee.triggerChangeDetection())})("onMenuClose",function(){a.eBV(et);const Ee=a.XpG();return a.Njj(Ee.triggerChangeDetection())}),a.DNE(2,Bt,1,0,"ng-container",7),a.k0s()}if(2&Z){const et=a.sdS(1),ne=a.XpG(),Ee=a.sdS(2),Fr=a.sdS(6);a.Y8G("ngClass",a.l_i(4,Qt,et.menuOpen,ne.item.active))("matMenuTriggerFor",Ee),a.R7$(2),a.Y8G("ngTemplateOutlet",Fr)("ngTemplateOutletContext",a.eq3(7,be,ne.item))}}function zt(Z,qt){if(1&Z&&(a.j41(0,"div",8),a.nrm(1,"angor-horizontal-navigation-basic-item",11),a.k0s()),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("disabled",et.disabled),a.R7$(),a.Y8G("item",et)("name",ne.name)}}function Yt(Z,qt){1&Z&&a.eu8(0)}function oe(Z,qt){if(1&Z&&(a.j41(0,"div",9),a.DNE(1,Yt,1,0,"ng-container",7),a.nrm(2,"angor-horizontal-navigation-branch-item",12,3),a.k0s()),2&Z){const et=a.sdS(3),ne=a.XpG(2).$implicit,Ee=a.XpG(),Fr=a.sdS(6);a.Y8G("disabled",ne.disabled)("matMenuTriggerFor",et.matMenu),a.R7$(),a.Y8G("ngTemplateOutlet",Fr)("ngTemplateOutletContext",a.eq3(7,be,ne)),a.R7$(),a.Y8G("child",!0)("item",ne)("name",Ee.name)}}function Oe(Z,qt){if(1&Z&&(a.j41(0,"div",10),a.nrm(1,"angor-horizontal-navigation-divider-item",11),a.k0s()),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.R7$(),a.Y8G("item",et)("name",ne.name)}}function $e(Z,qt){if(1&Z&&a.DNE(0,zt,2,3,"div",8)(1,oe,4,9,"div",9)(2,Oe,2,2,"div",10),2&Z){const et=a.XpG().$implicit;a.vxM("basic"===et.type?0:-1),a.R7$(),a.vxM("aside"===et.type||"collapsable"===et.type||"group"===et.type?1:-1),a.R7$(),a.vxM("divider"===et.type?2:-1)}}function Dt(Z,qt){if(1&Z&&a.DNE(0,$e,3,3),2&Z){const et=qt.$implicit;a.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function wt(Z,qt){if(1&Z&&a.nrm(0,"mat-icon",15),2&Z){const et=a.XpG().$implicit;a.Y8G("ngClass",null==et.classes?null:et.classes.icon)("svgIcon",et.icon)}}function ie(Z,qt){if(1&Z&&(a.j41(0,"div",19)(1,"span",18),a.EFF(2),a.k0s()()),2&Z){const et=a.XpG().$implicit;a.R7$(),a.Y8G("ngClass",null==et.classes?null:et.classes.subtitle),a.R7$(),a.SpI(" ",et.subtitle," ")}}function Xe(Z,qt){if(1&Z&&(a.j41(0,"div",20)(1,"div",21),a.EFF(2),a.k0s()()),2&Z){const et=a.XpG().$implicit;a.R7$(),a.Y8G("ngClass",et.badge.classes),a.R7$(),a.SpI(" ",et.badge.title," ")}}function Te(Z,qt){if(1&Z&&(a.j41(0,"div",13)(1,"div",14),a.DNE(2,wt,1,2,"mat-icon",15),a.j41(3,"div",16)(4,"div",17)(5,"span",18),a.EFF(6),a.k0s()(),a.DNE(7,ie,3,2,"div",19),a.k0s(),a.DNE(8,Xe,3,2,"div",20),a.k0s()()),2&Z){const et=qt.$implicit;a.AVh("angor-horizontal-navigation-item-has-subtitle",!!et.subtitle),a.Y8G("ngClass",null==et.classes?null:et.classes.wrapper),a.R7$(),a.Y8G("ngClass",a.l_i(10,Ht,et.disabled,et.active))("matTooltip",et.tooltip||""),a.R7$(),a.vxM(et.icon?2:-1),a.R7$(3),a.Y8G("ngClass",null==et.classes?null:et.classes.title),a.R7$(),a.SpI(" ",et.title," "),a.R7$(),a.vxM(et.subtitle?7:-1),a.R7$(),a.vxM(et.badge?8:-1)}}let Ke=(()=>{class Z{constructor(){this._changeDetectorRef=(0,a.WQX)(a.gRc),this._angorNavigationService=(0,a.WQX)(l),this.child=!1,this._unsubscribeAll=new C.B}ngOnInit(){this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorHorizontalNavigationComponent.onRefreshed.pipe((0,q.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}triggerChangeDetection(){this._changeDetectorRef.markForCheck()}trackByFn(et,ne){return ne.id||et}static{this.\u0275fac=function(ne){return new(ne||Z)}}static{this.\u0275cmp=a.VBU({type:Z,selectors:[["angor-horizontal-navigation-branch-item"]],viewQuery:function(ne,Ee){if(1&ne&&a.GBs(wr,7),2&ne){let Fr;a.mGM(Fr=a.lsd())&&(Ee.matMenu=Fr.first)}},inputs:{child:"child",item:"item",name:"name"},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(ne,Ee){1&ne&&(a.DNE(0,Fe,3,9,"div",4),a.j41(1,"mat-menu",5,0),a.Z7z(3,Dt,1,1,null,null,Ee.trackByFn,!0),a.k0s(),a.DNE(5,Te,9,13,"ng-template",null,1,a.C5r)),2&ne&&(a.vxM(Ee.child?-1:0),a.R7$(),a.Y8G("overlapTrigger",!1),a.R7$(2),a.Dyx(Ee.item.children))},dependencies:()=>[Z,A.YU,T.Cn,T.kk,T.fb,T.Cp,A.T3,yr,jr,O.uc,O.oV,S.m_,S.An],encapsulation:2,changeDetection:0})}}return Z})(),re=(()=>{class Z{constructor(){this._changeDetectorRef=(0,a.WQX)(a.gRc),this._angorNavigationService=(0,a.WQX)(l),this._unsubscribeAll=new C.B}ngOnInit(){this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorHorizontalNavigationComponent.onRefreshed.pipe((0,q.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(ne){return new(ne||Z)}}static{this.\u0275cmp=a.VBU({type:Z,selectors:[["angor-horizontal-navigation-spacer-item"]],inputs:{item:"item",name:"name"},decls:1,vars:1,consts:[[1,"angor-horizontal-navigation-item-wrapper",3,"ngClass"]],template:function(ne,Ee){1&ne&&a.nrm(0,"div",0),2&ne&&a.Y8G("ngClass",null==Ee.item.classes?null:Ee.item.classes.wrapper)},dependencies:[A.YU],encapsulation:2,changeDetection:0})}}return Z})();function Ve(Z,qt){if(1&Z&&a.nrm(0,"angor-horizontal-navigation-basic-item",1),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)}}function tr(Z,qt){if(1&Z&&a.nrm(0,"angor-horizontal-navigation-branch-item",1),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)}}function Tr(Z,qt){if(1&Z&&a.nrm(0,"angor-horizontal-navigation-spacer-item",1),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)}}function Wr(Z,qt){if(1&Z&&a.DNE(0,Ve,1,2,"angor-horizontal-navigation-basic-item",1)(1,tr,1,2,"angor-horizontal-navigation-branch-item",1)(2,Tr,1,2,"angor-horizontal-navigation-spacer-item",1),2&Z){const et=a.XpG().$implicit;a.vxM("basic"===et.type?0:-1),a.R7$(),a.vxM("aside"===et.type||"collapsable"===et.type||"group"===et.type?1:-1),a.R7$(),a.vxM("spacer"===et.type?2:-1)}}function Lo(Z,qt){if(1&Z&&a.DNE(0,Wr,3,3),2&Z){const et=qt.$implicit;a.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}let Or=(()=>{class Z{constructor(){this._changeDetectorRef=(0,a.WQX)(a.gRc),this._angorNavigationService=(0,a.WQX)(l),this._angorUtilsService=(0,a.WQX)(y.Q),this.name=this._angorUtilsService.randomId(),this.onRefreshed=new k.m(1),this._unsubscribeAll=new C.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,ne){return ne.id||et}static{this.\u0275fac=function(ne){return new(ne||Z)}}static{this.\u0275cmp=a.VBU({type:Z,selectors:[["angor-horizontal-navigation"]],inputs:{name:"name",navigation:"navigation"},exportAs:["angorHorizontalNavigation"],features:[a.OA$],decls:3,vars:0,consts:[[1,"angor-horizontal-navigation-wrapper"],[1,"angor-horizontal-navigation-menu-item",3,"item","name"]],template:function(ne,Ee){1&ne&&(a.j41(0,"div",0),a.Z7z(1,Lo,1,1,null,null,Ee.trackByFn,!0),a.k0s()),2&ne&&(a.R7$(),a.Dyx(Ee.navigation))},dependencies:[yr,Ke,re],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, 1))!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, 1))!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, 1))!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, 1))!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, 1))!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, 1))!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, 1))!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, 1))!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:n.F},changeDetection:0})}}return Z})();const fo=Z=>({"angor-vertical-navigation-item-active-forced":Z}),cr=Z=>[Z];function Lt(Z,qt){1&Z&&a.eu8(0)}function At(Z,qt){if(1&Z&&(a.j41(0,"a",2),a.DNE(1,Lt,1,0,"ng-container",6),a.k0s()),2&Z){let et,ne,Ee,Fr;const Ir=a.XpG(),Hr=a.sdS(9);a.Y8G("ngClass",a.eq3(10,fo,Ir.item.active))("routerLink",a.eq3(12,cr,Ir.item.link))("fragment",null!==(et=Ir.item.fragment)&&void 0!==et?et:null)("preserveFragment",null!==(ne=Ir.item.preserveFragment)&&void 0!==ne&&ne)("queryParams",null!==(Ee=Ir.item.queryParams)&&void 0!==Ee?Ee:null)("queryParamsHandling",null!==(Fr=Ir.item.queryParamsHandling)&&void 0!==Fr?Fr:null)("routerLinkActive","angor-vertical-navigation-item-active")("routerLinkActiveOptions",Ir.isActiveMatchOptions)("matTooltip",Ir.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",Hr)}}function Zt(Z,qt){1&Z&&a.eu8(0)}function W(Z,qt){if(1&Z&&(a.j41(0,"a",3),a.DNE(1,Zt,1,0,"ng-container",6),a.k0s()),2&Z){const et=a.XpG(),ne=a.sdS(9);a.Y8G("href",et.item.link,a.B4B)("target",et.item.target||"_self")("matTooltip",et.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",ne)}}function N(Z,qt){1&Z&&a.eu8(0)}function z(Z,qt){if(1&Z){const et=a.RV6();a.j41(0,"div",7),a.bIt("click",function(){a.eBV(et);const Ee=a.XpG();return a.Njj(Ee.item.function(Ee.item))}),a.DNE(1,N,1,0,"ng-container",6),a.k0s()}if(2&Z){const et=a.XpG(),ne=a.sdS(9);a.Y8G("ngClass",a.eq3(3,fo,et.item.active))("matTooltip",et.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",ne)}}function Rt(Z,qt){1&Z&&a.eu8(0)}function ue(Z,qt){if(1&Z){const et=a.RV6();a.j41(0,"a",8),a.bIt("click",function(){a.eBV(et);const Ee=a.XpG();return a.Njj(Ee.item.function(Ee.item))}),a.DNE(1,Rt,1,0,"ng-container",6),a.k0s()}if(2&Z){let et,ne,Ee,Fr;const Ir=a.XpG(),Hr=a.sdS(9);a.Y8G("ngClass",a.eq3(10,fo,Ir.item.active))("routerLink",a.eq3(12,cr,Ir.item.link))("fragment",null!==(et=Ir.item.fragment)&&void 0!==et?et:null)("preserveFragment",null!==(ne=Ir.item.preserveFragment)&&void 0!==ne&&ne)("queryParams",null!==(Ee=Ir.item.queryParams)&&void 0!==Ee?Ee:null)("queryParamsHandling",null!==(Fr=Ir.item.queryParamsHandling)&&void 0!==Fr?Fr:null)("routerLinkActive","angor-vertical-navigation-item-active")("routerLinkActiveOptions",Ir.isActiveMatchOptions)("matTooltip",Ir.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",Hr)}}function he(Z,qt){1&Z&&a.eu8(0)}function Se(Z,qt){if(1&Z){const et=a.RV6();a.j41(0,"a",9),a.bIt("click",function(){a.eBV(et);const Ee=a.XpG();return a.Njj(Ee.item.function(Ee.item))}),a.DNE(1,he,1,0,"ng-container",6),a.k0s()}if(2&Z){const et=a.XpG(),ne=a.sdS(9);a.Y8G("href",et.item.link,a.B4B)("target",et.item.target||"_self")("matTooltip",et.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",ne)}}function Sr(Z,qt){1&Z&&a.eu8(0)}function ar(Z,qt){if(1&Z&&(a.j41(0,"div",4),a.DNE(1,Sr,1,0,"ng-container",6),a.k0s()),2&Z){const et=a.XpG(),ne=a.sdS(9);a.Y8G("ngClass",a.eq3(3,fo,et.item.active))("matTooltip",et.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",ne)}}function dr(Z,qt){1&Z&&a.eu8(0)}function Mr(Z,qt){if(1&Z&&(a.j41(0,"div",5),a.DNE(1,dr,1,0,"ng-container",6),a.k0s()),2&Z){const et=a.XpG(),ne=a.sdS(9);a.Y8G("matTooltip",et.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",ne)}}function ao(Z,qt){if(1&Z&&a.nrm(0,"mat-icon",10),2&Z){const et=a.XpG(2);a.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function xr(Z,qt){if(1&Z&&(a.j41(0,"div",14)(1,"span",13),a.EFF(2),a.k0s()()),2&Z){const et=a.XpG(2);a.R7$(),a.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),a.R7$(),a.SpI(" ",et.item.subtitle," ")}}function zo(Z,qt){if(1&Z&&(a.j41(0,"div",15)(1,"div",16),a.EFF(2),a.k0s()()),2&Z){const et=a.XpG(2);a.R7$(),a.Y8G("ngClass",et.item.badge.classes),a.R7$(),a.SpI(" ",et.item.badge.title," ")}}function To(Z,qt){if(1&Z&&(a.DNE(0,ao,1,2,"mat-icon",10),a.j41(1,"div",11)(2,"div",12)(3,"span",13),a.EFF(4),a.k0s()(),a.DNE(5,xr,3,2,"div",14),a.k0s(),a.DNE(6,zo,3,2,"div",15)),2&Z){const et=a.XpG();a.vxM(et.item.icon?0:-1),a.R7$(3),a.Y8G("ngClass",null==et.item.classes?null:et.item.classes.title),a.R7$(),a.SpI(" ",et.item.title," "),a.R7$(),a.vxM(et.item.subtitle?5:-1),a.R7$(),a.vxM(et.item.badge?6:-1)}}let Ho=(()=>{class Z{constructor(){this._changeDetectorRef=(0,a.WQX)(a.gRc),this._angorNavigationService=(0,a.WQX)(l),this._angorUtilsService=(0,a.WQX)(y.Q),this.isActiveMatchOptions=this._angorUtilsService.subsetMatchOptions,this._unsubscribeAll=new C.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,q.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(ne){return new(ne||Z)}}static{this.\u0275cmp=a.VBU({type:Z,selectors:[["angor-vertical-navigation-basic-item"]],inputs:{item:"item",name:"name"},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(ne,Ee){1&ne&&(a.j41(0,"div",1),a.DNE(1,At,2,14,"a",2)(2,W,2,4,"a",3)(3,z,2,5,"div",4)(4,ue,2,14,"a",2)(5,Se,2,4,"a",3)(6,ar,2,5,"div",4)(7,Mr,2,2,"div",5),a.k0s(),a.DNE(8,To,7,5,"ng-template",null,0,a.C5r)),2&ne&&(a.AVh("angor-vertical-navigation-item-has-subtitle",!!Ee.item.subtitle),a.Y8G("ngClass",null==Ee.item.classes?null:Ee.item.classes.wrapper),a.R7$(),a.vxM(!Ee.item.link||Ee.item.externalLink||Ee.item.function||Ee.item.disabled?-1:1),a.R7$(),a.vxM(Ee.item.link&&Ee.item.externalLink&&!Ee.item.function&&!Ee.item.disabled?2:-1),a.R7$(),a.vxM(Ee.item.link||!Ee.item.function||Ee.item.disabled?-1:3),a.R7$(),a.vxM(Ee.item.link&&!Ee.item.externalLink&&Ee.item.function&&!Ee.item.disabled?4:-1),a.R7$(),a.vxM(Ee.item.link&&Ee.item.externalLink&&Ee.item.function&&!Ee.item.disabled?5:-1),a.R7$(),a.vxM(Ee.item.link||Ee.item.function||Ee.item.disabled?-1:6),a.R7$(),a.vxM(Ee.item.disabled?7:-1))},dependencies:[A.YU,P.Wk,P.wQ,O.uc,O.oV,A.T3,S.m_,S.An],encapsulation:2,changeDetection:0})}}return Z})(),we=(()=>{class Z{constructor(){this._changeDetectorRef=(0,a.WQX)(a.gRc),this._angorNavigationService=(0,a.WQX)(l),this._unsubscribeAll=new C.B}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,q.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(ne){return new(ne||Z)}}static{this.\u0275cmp=a.VBU({type:Z,selectors:[["angor-vertical-navigation-divider-item"]],inputs:{item:"item",name:"name"},decls:1,vars:1,consts:[[1,"angor-vertical-navigation-item-wrapper","divider",3,"ngClass"]],template:function(ne,Ee){1&ne&&a.nrm(0,"div",0),2&ne&&a.Y8G("ngClass",null==Ee.item.classes?null:Ee.item.classes.wrapper)},dependencies:[A.YU],encapsulation:2,changeDetection:0})}}return Z})(),ze=(()=>{class Z{constructor(){this._changeDetectorRef=(0,a.WQX)(a.gRc),this._angorNavigationService=(0,a.WQX)(l),this._unsubscribeAll=new C.B}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,q.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(ne){return new(ne||Z)}}static{this.\u0275cmp=a.VBU({type:Z,selectors:[["angor-vertical-navigation-spacer-item"]],inputs:{item:"item",name:"name"},decls:1,vars:1,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"]],template:function(ne,Ee){1&ne&&a.nrm(0,"div",0),2&ne&&a.Y8G("ngClass",null==Ee.item.classes?null:Ee.item.classes.wrapper)},dependencies:[A.YU],encapsulation:2,changeDetection:0})}}return Z})();function Mt(Z,qt){if(1&Z&&a.nrm(0,"mat-icon",2),2&Z){const et=a.XpG();a.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function Wt(Z,qt){if(1&Z&&(a.j41(0,"div",6)(1,"span",5),a.EFF(2),a.k0s()()),2&Z){const et=a.XpG();a.R7$(),a.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),a.R7$(),a.SpI(" ",et.item.subtitle," ")}}function $t(Z,qt){if(1&Z&&(a.j41(0,"div",7)(1,"div",8),a.EFF(2),a.k0s()()),2&Z){const et=a.XpG();a.R7$(),a.Y8G("ngClass",et.item.badge.classes),a.R7$(),a.SpI(" ",et.item.badge.title," ")}}function Ce(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-basic-item",9),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)}}function ce(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-collapsable-item",10),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)("autoCollapse",ne.autoCollapse)}}function Be(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-divider-item",9),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)}}function vr(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-group-item",9),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)}}function qr(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-spacer-item",9),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)}}function ko(Z,qt){if(1&Z&&a.DNE(0,Ce,1,2,"angor-vertical-navigation-basic-item",9)(1,ce,1,3,"angor-vertical-navigation-collapsable-item",10)(2,Be,1,2,"angor-vertical-navigation-divider-item",9)(3,vr,1,2,"angor-vertical-navigation-group-item",9)(4,qr,1,2,"angor-vertical-navigation-spacer-item",9),2&Z){const et=a.XpG().$implicit;a.vxM("basic"===et.type?0:-1),a.R7$(),a.vxM("collapsable"===et.type?1:-1),a.R7$(),a.vxM("divider"===et.type?2:-1),a.R7$(),a.vxM("group"===et.type?3:-1),a.R7$(),a.vxM("spacer"===et.type?4:-1)}}function sn(Z,qt){if(1&Z&&a.DNE(0,ko,5,5),2&Z){const et=qt.$implicit;a.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}let hn=(()=>{class Z{constructor(){this._changeDetectorRef=(0,a.WQX)(a.gRc),this._angorNavigationService=(0,a.WQX)(l),this._unsubscribeAll=new C.B}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,q.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}trackByFn(et,ne){return ne.id||et}static{this.\u0275fac=function(ne){return new(ne||Z)}}static{this.\u0275cmp=a.VBU({type:Z,selectors:[["angor-vertical-navigation-group-item"]],inputs:{autoCollapse:"autoCollapse",item:"item",name:"name"},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(ne,Ee){1&ne&&(a.j41(0,"div",0)(1,"div",1),a.DNE(2,Mt,1,2,"mat-icon",2),a.j41(3,"div",3)(4,"div",4)(5,"span",5),a.EFF(6),a.k0s()(),a.DNE(7,Wt,3,2,"div",6),a.k0s(),a.DNE(8,$t,3,2,"div",7),a.k0s()(),a.Z7z(9,sn,1,1,null,null,Ee.trackByFn,!0)),2&ne&&(a.AVh("angor-vertical-navigation-item-has-subtitle",!!Ee.item.subtitle),a.Y8G("ngClass",null==Ee.item.classes?null:Ee.item.classes.wrapper),a.R7$(2),a.vxM(Ee.item.icon?2:-1),a.R7$(3),a.Y8G("ngClass",null==Ee.item.classes?null:Ee.item.classes.title),a.R7$(),a.SpI(" ",Ee.item.title," "),a.R7$(),a.vxM(Ee.item.subtitle?7:-1),a.R7$(),a.vxM(Ee.item.badge?8:-1),a.R7$(),a.Dyx(Ee.item.children))},dependencies:()=>[Z,A.YU,S.m_,S.An,Ho,qi,we,ze],encapsulation:2,changeDetection:0})}}return Z})();var Zn=o(1483);const Je=Z=>({"angor-vertical-navigation-item-disabled":Z});function Ae(Z,qt){if(1&Z&&a.nrm(0,"mat-icon",2),2&Z){const et=a.XpG();a.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function te(Z,qt){if(1&Z&&(a.j41(0,"div",6)(1,"span",5),a.EFF(2),a.k0s()()),2&Z){const et=a.XpG();a.R7$(),a.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),a.R7$(),a.SpI(" ",et.item.subtitle," ")}}function Re(Z,qt){if(1&Z&&(a.j41(0,"div",7)(1,"div",10),a.EFF(2),a.k0s()()),2&Z){const et=a.XpG();a.R7$(),a.Y8G("ngClass",et.item.badge.classes),a.R7$(),a.SpI(" ",et.item.badge.title," ")}}function ir(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-basic-item",11),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG(2);a.Y8G("item",et)("name",ne.name)}}function gr(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-collapsable-item",12),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG(2);a.Y8G("item",et)("name",ne.name)("autoCollapse",ne.autoCollapse)}}function po(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-divider-item",11),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG(2);a.Y8G("item",et)("name",ne.name)}}function ki(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-group-item",11),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG(2);a.Y8G("item",et)("name",ne.name)}}function Ln(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-spacer-item",11),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG(2);a.Y8G("item",et)("name",ne.name)}}function ua(Z,qt){if(1&Z&&a.DNE(0,ir,1,2,"angor-vertical-navigation-basic-item",11)(1,gr,1,3,"angor-vertical-navigation-collapsable-item",12)(2,po,1,2,"angor-vertical-navigation-divider-item",11)(3,ki,1,2,"angor-vertical-navigation-group-item",11)(4,Ln,1,2,"angor-vertical-navigation-spacer-item",11),2&Z){const et=a.XpG().$implicit;a.vxM("basic"===et.type?0:-1),a.R7$(),a.vxM("collapsable"===et.type?1:-1),a.R7$(),a.vxM("divider"===et.type?2:-1),a.R7$(),a.vxM("group"===et.type?3:-1),a.R7$(),a.vxM("spacer"===et.type?4:-1)}}function $i(Z,qt){if(1&Z&&a.DNE(0,ua,5,5),2&Z){const et=qt.$implicit;a.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function cn(Z,qt){if(1&Z&&(a.j41(0,"div",9),a.Z7z(1,$i,1,1,null,null,a.BUC().trackByFn,!0),a.k0s()),2&Z){const et=a.XpG();a.Y8G("@expandCollapse",void 0),a.R7$(),a.Dyx(et.item.children)}}let qi=(()=>{class Z{constructor(){this._changeDetectorRef=(0,a.WQX)(a.gRc),this._router=(0,a.WQX)(P.Ix),this._angorNavigationService=(0,a.WQX)(l),this.isCollapsed=!0,this.isExpanded=!1,this._unsubscribeAll=new C.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,q.Q)(this._unsubscribeAll)).subscribe(et=>{null!==et&&this._isChildrenOf(et,this.item)&&this.collapse()}),this.autoCollapse&&this._angorVerticalNavigationComponent.onCollapsableItemExpanded.pipe((0,q.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,Zn.p)(et=>et instanceof P.wF),(0,q.Q)(this._unsubscribeAll)).subscribe(et=>{this._hasActiveChild(this.item,et.urlAfterRedirects)?this.expand():this.autoCollapse&&this.collapse()}),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,q.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,ne){return ne.id||et}_hasActiveChild(et,ne){const Ee=et.children;if(!Ee)return!1;for(const Fr of Ee)if(Fr.children&&this._hasActiveChild(Fr,ne)||Fr.link&&this._router.isActive(Fr.link,Fr.exactMatch||!1))return!0;return!1}_isChildrenOf(et,ne){const Ee=et.children;if(!Ee)return!1;if(Ee.indexOf(ne)>-1)return!0;for(const Fr of Ee)if(Fr.children&&this._isChildrenOf(Fr,ne))return!0;return!1}static{this.\u0275fac=function(ne){return new(ne||Z)}}static{this.\u0275cmp=a.VBU({type:Z,selectors:[["angor-vertical-navigation-collapsable-item"]],hostVars:2,hostBindings:function(ne,Ee){2&ne&&a.HbH(Ee.classList)},inputs:{autoCollapse:"autoCollapse",item:"item",name:"name"},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(ne,Ee){1&ne&&(a.j41(0,"div",0)(1,"div",1),a.bIt("click",function(){return Ee.toggleCollapsable()}),a.DNE(2,Ae,1,2,"mat-icon",2),a.j41(3,"div",3)(4,"div",4)(5,"span",5),a.EFF(6),a.k0s()(),a.DNE(7,te,3,2,"div",6),a.k0s(),a.DNE(8,Re,3,2,"div",7),a.nrm(9,"mat-icon",8),a.k0s()(),a.DNE(10,cn,3,1,"div",9)),2&ne&&(a.AVh("angor-vertical-navigation-item-has-subtitle",!!Ee.item.subtitle),a.Y8G("ngClass",null==Ee.item.classes?null:Ee.item.classes.wrapper),a.R7$(),a.Y8G("ngClass",a.eq3(12,Je,Ee.item.disabled))("matTooltip",Ee.item.tooltip||""),a.R7$(),a.vxM(Ee.item.icon?2:-1),a.R7$(3),a.Y8G("ngClass",null==Ee.item.classes?null:Ee.item.classes.title),a.R7$(),a.SpI(" ",Ee.item.title," "),a.R7$(),a.vxM(Ee.item.subtitle?7:-1),a.R7$(),a.vxM(Ee.item.badge?8:-1),a.R7$(),a.Y8G("svgIcon","heroicons_solid:chevron-right"),a.R7$(),a.vxM(Ee.isCollapsed?-1:10))},dependencies:()=>[Z,A.YU,O.uc,O.oV,S.m_,S.An,Ho,we,hn,ze],encapsulation:2,data:{animation:n.F},changeDetection:0})}}return Z})();const pi=(Z,qt,et)=>({"angor-vertical-navigation-item-active":Z,"angor-vertical-navigation-item-disabled":qt,"angor-vertical-navigation-item-active-forced":et});function Ji(Z,qt){if(1&Z&&a.nrm(0,"mat-icon",2),2&Z){const et=a.XpG();a.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function Fi(Z,qt){if(1&Z&&(a.j41(0,"div",6)(1,"span",5),a.EFF(2),a.k0s()()),2&Z){const et=a.XpG();a.R7$(),a.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),a.R7$(),a.SpI(" ",et.item.subtitle," ")}}function is(Z,qt){if(1&Z&&(a.j41(0,"div",7)(1,"div",9),a.EFF(2),a.k0s()()),2&Z){const et=a.XpG();a.R7$(),a.Y8G("ngClass",et.item.badge.classes),a.R7$(),a.SpI(" ",et.item.badge.title," ")}}function si(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-basic-item",10),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG(2);a.Y8G("item",et)("name",ne.name)}}function hi(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-collapsable-item",11),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG(2);a.Y8G("item",et)("name",ne.name)("autoCollapse",ne.autoCollapse)}}function On(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-divider-item",10),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG(2);a.Y8G("item",et)("name",ne.name)}}function Mi(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-group-item",10),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG(2);a.Y8G("item",et)("name",ne.name)}}function Jt(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-spacer-item",10),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG(2);a.Y8G("item",et)("name",ne.name)}}function ke(Z,qt){if(1&Z&&a.DNE(0,si,1,2,"angor-vertical-navigation-basic-item",10)(1,hi,1,3,"angor-vertical-navigation-collapsable-item",11)(2,On,1,2,"angor-vertical-navigation-divider-item",10)(3,Mi,1,2,"angor-vertical-navigation-group-item",10)(4,Jt,1,2,"angor-vertical-navigation-spacer-item",10),2&Z){const et=a.XpG().$implicit;a.vxM("basic"===et.type?0:-1),a.R7$(),a.vxM("collapsable"===et.type?1:-1),a.R7$(),a.vxM("divider"===et.type?2:-1),a.R7$(),a.vxM("group"===et.type?3:-1),a.R7$(),a.vxM("spacer"===et.type?4:-1)}}function de(Z,qt){if(1&Z&&a.DNE(0,ke,5,5),2&Z){const et=qt.$implicit;a.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function ft(Z,qt){if(1&Z&&(a.j41(0,"div",8),a.Z7z(1,de,1,1,null,null,a.BUC().trackByFn,!0),a.k0s()),2&Z){const et=a.XpG();a.R7$(),a.Dyx(et.item.children)}}let Gt=(()=>{class Z{constructor(){this._changeDetectorRef=(0,a.WQX)(a.gRc),this._router=(0,a.WQX)(P.Ix),this._angorNavigationService=(0,a.WQX)(l),this.active=!1,this._unsubscribeAll=new C.B}ngOnChanges(et){"activeItemId"in et&&this._markIfActive(this._router.url)}ngOnInit(){this._markIfActive(this._router.url),this._router.events.pipe((0,Zn.p)(et=>et instanceof P.wF),(0,q.Q)(this._unsubscribeAll)).subscribe(et=>{this._markIfActive(et.urlAfterRedirects)}),this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,q.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}trackByFn(et,ne){return ne.id||et}_hasActiveChild(et,ne){const Ee=et.children;if(!Ee)return!1;for(const Fr of Ee){if(Fr.children&&this._hasActiveChild(Fr,ne))return!0;if("basic"===Fr.type&&Fr.link&&this._router.isActive(Fr.link,Fr.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(ne){return new(ne||Z)}}static{this.\u0275cmp=a.VBU({type:Z,selectors:[["angor-vertical-navigation-aside-item"]],inputs:{activeItemId:"activeItemId",autoCollapse:"autoCollapse",item:"item",name:"name",skipChildren:"skipChildren"},features:[a.OA$],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(ne,Ee){1&ne&&(a.j41(0,"div",0)(1,"div",1),a.DNE(2,Ji,1,2,"mat-icon",2),a.j41(3,"div",3)(4,"div",4)(5,"span",5),a.EFF(6),a.k0s()(),a.DNE(7,Fi,3,2,"div",6),a.k0s(),a.DNE(8,is,3,2,"div",7),a.k0s()(),a.DNE(9,ft,3,0,"div",8)),2&ne&&(a.AVh("angor-vertical-navigation-item-has-subtitle",!!Ee.item.subtitle),a.Y8G("ngClass",null==Ee.item.classes?null:Ee.item.classes.wrapper),a.R7$(),a.Y8G("ngClass",a.sMw(11,pi,Ee.active,Ee.item.disabled,Ee.item.active))("matTooltip",Ee.item.tooltip||""),a.R7$(),a.vxM(Ee.item.icon?2:-1),a.R7$(3),a.Y8G("ngClass",null==Ee.item.classes?null:Ee.item.classes.title),a.R7$(),a.SpI(" ",Ee.item.title," "),a.R7$(),a.vxM(Ee.item.subtitle?7:-1),a.R7$(),a.vxM(Ee.item.badge?8:-1),a.R7$(),a.vxM(Ee.skipChildren?-1:9))},dependencies:[A.YU,O.uc,O.oV,S.m_,S.An,Ho,qi,we,hn,ze],encapsulation:2,changeDetection:0})}}return Z})();class Ot{constructor(qt,et,ne,Ee){this.x=qt,this.y=et,this.w=ne,this.h=Ee}}class me{constructor(qt,et){this.x=qt,this.y=et}}var He=o(3022),Me=o(2147),ur=o(4819);function Er(Z){return getComputedStyle(Z)}function kr(Z,qt){for(var et in qt){var ne=qt[et];"number"==typeof ne&&(ne+="px"),Z.style[et]=ne}return Z}function Rr(Z){var qt=document.createElement("div");return qt.className=Z,qt}var $r=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function Jr(Z,qt){if(!$r)throw new Error("No element matching method supported");return $r.call(Z,qt)}function so(Z){Z.remove?Z.remove():Z.parentNode&&Z.parentNode.removeChild(Z)}function xo(Z,qt){return Array.prototype.filter.call(Z.children,function(et){return Jr(et,qt)})}var Eo={main:"ps",rtl:"ps__rtl",element:{thumb:function(Z){return"ps__thumb-"+Z},rail:function(Z){return"ps__rail-"+Z},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(Z){return"ps--active-"+Z},scrolling:function(Z){return"ps--scrolling-"+Z}}},bn={x:null,y:null};function rn(Z,qt){var et=Z.element.classList,ne=Eo.state.scrolling(qt);et.contains(ne)?clearTimeout(bn[qt]):et.add(ne)}function Mn(Z,qt){bn[qt]=setTimeout(function(){return Z.isAlive&&Z.element.classList.remove(Eo.state.scrolling(qt))},Z.settings.scrollingThreshold)}var Qo=function(qt){this.element=qt,this.handlers={}},Fo={isEmpty:{configurable:!0}};Qo.prototype.bind=function(qt,et){typeof this.handlers[qt]>"u"&&(this.handlers[qt]=[]),this.handlers[qt].push(et),this.element.addEventListener(qt,et,!1)},Qo.prototype.unbind=function(qt,et){var ne=this;this.handlers[qt]=this.handlers[qt].filter(function(Ee){return!(!et||Ee===et)||(ne.element.removeEventListener(qt,Ee,!1),!1)})},Qo.prototype.unbindAll=function(){for(var qt in this.handlers)this.unbind(qt)},Fo.isEmpty.get=function(){var Z=this;return Object.keys(this.handlers).every(function(qt){return 0===Z.handlers[qt].length})},Object.defineProperties(Qo.prototype,Fo);var Ei=function(){this.eventElements=[]};function ta(Z){if("function"==typeof window.CustomEvent)return new CustomEvent(Z);var qt=document.createEvent("CustomEvent");return qt.initCustomEvent(Z,!1,!1,void 0),qt}function Wa(Z,qt,et,ne,Ee){var Fr;if(void 0===ne&&(ne=!0),void 0===Ee&&(Ee=!1),"top"===qt)Fr=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==qt)throw new Error("A proper axis should be provided");Fr=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function as(Z,qt,et,ne,Ee){var Fr=et[0],Ir=et[1],Hr=et[2],Qr=et[3],qo=et[4],Wn=et[5];void 0===ne&&(ne=!0),void 0===Ee&&(Ee=!1);var Mo=Z.element;Z.reach[Qr]=null,Mo[Hr]<1&&(Z.reach[Qr]="start"),Mo[Hr]>Z[Fr]-Z[Ir]-1&&(Z.reach[Qr]="end"),qt&&(Mo.dispatchEvent(ta("ps-scroll-"+Qr)),qt<0?Mo.dispatchEvent(ta("ps-scroll-"+qo)):qt>0&&Mo.dispatchEvent(ta("ps-scroll-"+Wn)),ne&&function Ro(Z,qt){rn(Z,qt),Mn(Z,qt)}(Z,Qr)),Z.reach[Qr]&&(qt||Ee)&&Mo.dispatchEvent(ta("ps-"+Qr+"-reach-"+Z.reach[Qr]))}(Z,et,Fr,ne,Ee)}function Pn(Z){return parseInt(Z,10)||0}Ei.prototype.eventElement=function(qt){var et=this.eventElements.filter(function(ne){return ne.element===qt})[0];return et||(et=new Qo(qt),this.eventElements.push(et)),et},Ei.prototype.bind=function(qt,et,ne){this.eventElement(qt).bind(et,ne)},Ei.prototype.unbind=function(qt,et,ne){var Ee=this.eventElement(qt);Ee.unbind(et,ne),Ee.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(Ee),1)},Ei.prototype.unbindAll=function(){this.eventElements.forEach(function(qt){return qt.unbindAll()}),this.eventElements=[]},Ei.prototype.once=function(qt,et,ne){var Ee=this.eventElement(qt),Fr=function(Ir){Ee.unbind(et,Fr),ne(Ir)};Ee.bind(et,Fr)};var Ka={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 Ii(Z){var qt=Z.element,et=Math.floor(qt.scrollTop),ne=qt.getBoundingClientRect();Z.containerWidth=Math.floor(ne.width),Z.containerHeight=Math.floor(ne.height),Z.contentWidth=qt.scrollWidth,Z.contentHeight=qt.scrollHeight,qt.contains(Z.scrollbarXRail)||(xo(qt,Eo.element.rail("x")).forEach(function(Ee){return so(Ee)}),qt.appendChild(Z.scrollbarXRail)),qt.contains(Z.scrollbarYRail)||(xo(qt,Eo.element.rail("y")).forEach(function(Ee){return so(Ee)}),qt.appendChild(Z.scrollbarYRail)),!Z.settings.suppressScrollX&&Z.containerWidth+Z.settings.scrollXMarginOffset=Z.railXWidth-Z.scrollbarXWidth&&(Z.scrollbarXLeft=Z.railXWidth-Z.scrollbarXWidth),Z.scrollbarYTop>=Z.railYHeight-Z.scrollbarYHeight&&(Z.scrollbarYTop=Z.railYHeight-Z.scrollbarYHeight),function Ri(Z,qt){var et={width:qt.railXWidth},ne=Math.floor(Z.scrollTop);et.left=qt.isRtl?qt.negativeScrollAdjustment+Z.scrollLeft+qt.containerWidth-qt.contentWidth:Z.scrollLeft,qt.isScrollbarXUsingBottom?et.bottom=qt.scrollbarXBottom-ne:et.top=qt.scrollbarXTop+ne,kr(qt.scrollbarXRail,et);var Ee={top:ne,height:qt.railYHeight};qt.isScrollbarYUsingRight?Ee.right=qt.isRtl?qt.contentWidth-(qt.negativeScrollAdjustment+Z.scrollLeft)-qt.scrollbarYRight-qt.scrollbarYOuterWidth-9:qt.scrollbarYRight-Z.scrollLeft:Ee.left=qt.isRtl?qt.negativeScrollAdjustment+Z.scrollLeft+2*qt.containerWidth-qt.contentWidth-qt.scrollbarYLeft-qt.scrollbarYOuterWidth:qt.scrollbarYLeft+Z.scrollLeft,kr(qt.scrollbarYRail,Ee),kr(qt.scrollbarX,{left:qt.scrollbarXLeft,width:qt.scrollbarXWidth-qt.railBorderXWidth}),kr(qt.scrollbarY,{top:qt.scrollbarYTop,height:qt.scrollbarYHeight-qt.railBorderYWidth})}(qt,Z),Z.scrollbarXActive?qt.classList.add(Eo.state.active("x")):(qt.classList.remove(Eo.state.active("x")),Z.scrollbarXWidth=0,Z.scrollbarXLeft=0,qt.scrollLeft=!0===Z.isRtl?Z.contentWidth:0),Z.scrollbarYActive?qt.classList.add(Eo.state.active("y")):(qt.classList.remove(Eo.state.active("y")),Z.scrollbarYHeight=0,Z.scrollbarYTop=0,qt.scrollTop=0)}function Ea(Z,qt){return Z.settings.minScrollbarLength&&(qt=Math.max(qt,Z.settings.minScrollbarLength)),Z.settings.maxScrollbarLength&&(qt=Math.min(qt,Z.settings.maxScrollbarLength)),qt}var Ki=null;function Gi(Z,qt){var et=qt[0],ne=qt[1],Ee=qt[2],Fr=qt[3],Ir=qt[4],Hr=qt[5],Qr=qt[6],qo=qt[7],Wn=qt[8],Mo=Z.element,gn=null,Ko=null,pn=null;function Fn(Hi){Hi.touches&&Hi.touches[0]&&(Hi[Ee]=Hi.touches[0]["page"+qo.toUpperCase()]),Ki===Ir&&(Mo[Qr]=gn+pn*(Hi[Ee]-Ko),rn(Z,qo),Ii(Z),Hi.stopPropagation(),Hi.preventDefault())}function Oi(){Mn(Z,qo),Z[Wn].classList.remove(Eo.state.clicking),document.removeEventListener("mousemove",Fn),document.removeEventListener("mouseup",Oi),document.removeEventListener("touchmove",Fn),document.removeEventListener("touchend",Oi),Ki=null}function ji(Hi){null===Ki&&(Ki=Ir,gn=Mo[Qr],Hi.touches&&(Hi[Ee]=Hi.touches[0]["page"+qo.toUpperCase()]),Ko=Hi[Ee],pn=(Z[ne]-Z[et])/(Z[Fr]-Z[Hr]),Hi.touches?(document.addEventListener("touchmove",Fn,{passive:!1}),document.addEventListener("touchend",Oi)):(document.addEventListener("mousemove",Fn),document.addEventListener("mouseup",Oi)),Z[Wn].classList.add(Eo.state.clicking)),Hi.stopPropagation(),Hi.cancelable&&Hi.preventDefault()}Z[Ir].addEventListener("mousedown",ji),Z[Ir].addEventListener("touchstart",ji)}var ni={"click-rail":function pa(Z){Z.event.bind(Z.scrollbarY,"mousedown",function(qt){return qt.stopPropagation()}),Z.event.bind(Z.scrollbarYRail,"mousedown",function(qt){var et=qt.pageY-window.pageYOffset-Z.scrollbarYRail.getBoundingClientRect().top;Z.element.scrollTop+=(et>Z.scrollbarYTop?1:-1)*Z.containerHeight,Ii(Z),qt.stopPropagation()}),Z.event.bind(Z.scrollbarX,"mousedown",function(qt){return qt.stopPropagation()}),Z.event.bind(Z.scrollbarXRail,"mousedown",function(qt){var et=qt.pageX-window.pageXOffset-Z.scrollbarXRail.getBoundingClientRect().left;Z.element.scrollLeft+=(et>Z.scrollbarXLeft?1:-1)*Z.containerWidth,Ii(Z),qt.stopPropagation()})},"drag-thumb":function gi(Z){Gi(Z,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"]),Gi(Z,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"])},keyboard:function Ra(Z){var qt=Z.element;Z.event.bind(Z.ownerDocument,"keydown",function(Fr){if(!(Fr.isDefaultPrevented&&Fr.isDefaultPrevented()||Fr.defaultPrevented)&&(Jr(qt,":hover")||Jr(Z.scrollbarX,":focus")||Jr(Z.scrollbarY,":focus"))){var Ir=document.activeElement?document.activeElement:Z.ownerDocument.activeElement;if(Ir){if("IFRAME"===Ir.tagName)Ir=Ir.contentDocument.activeElement;else for(;Ir.shadowRoot;)Ir=Ir.shadowRoot.activeElement;if(function _n(Z){return Jr(Z,"input,[contenteditable]")||Jr(Z,"select,[contenteditable]")||Jr(Z,"textarea,[contenteditable]")||Jr(Z,"button,[contenteditable]")}(Ir))return}var Hr=0,Qr=0;switch(Fr.which){case 37:Hr=Fr.metaKey?-Z.contentWidth:Fr.altKey?-Z.containerWidth:-30;break;case 38:Qr=Fr.metaKey?Z.contentHeight:Fr.altKey?Z.containerHeight:30;break;case 39:Hr=Fr.metaKey?Z.contentWidth:Fr.altKey?Z.containerWidth:30;break;case 40:Qr=Fr.metaKey?-Z.contentHeight:Fr.altKey?-Z.containerHeight:-30;break;case 32:Qr=Fr.shiftKey?Z.containerHeight:-Z.containerHeight;break;case 33:Qr=Z.containerHeight;break;case 34:Qr=-Z.containerHeight;break;case 36:Qr=Z.contentHeight;break;case 35:Qr=-Z.contentHeight;break;default:return}Z.settings.suppressScrollX&&0!==Hr||Z.settings.suppressScrollY&&0!==Qr||(qt.scrollTop-=Qr,qt.scrollLeft+=Hr,Ii(Z),function Ee(Fr,Ir){var Hr=Math.floor(qt.scrollTop);if(0===Fr){if(!Z.scrollbarYActive)return!1;if(0===Hr&&Ir>0||Hr>=Z.contentHeight-Z.containerHeight&&Ir<0)return!Z.settings.wheelPropagation}var Qr=qt.scrollLeft;if(0===Ir){if(!Z.scrollbarXActive)return!1;if(0===Qr&&Fr<0||Qr>=Z.contentWidth-Z.containerWidth&&Fr>0)return!Z.settings.wheelPropagation}return!0}(Hr,Qr)&&Fr.preventDefault())}})},wheel:function Xo(Z){var qt=Z.element;function Fr(Ir){var Hr=function ne(Ir){var Hr=Ir.deltaX,Qr=-1*Ir.deltaY;return(typeof Hr>"u"||typeof Qr>"u")&&(Hr=-1*Ir.wheelDeltaX/6,Qr=Ir.wheelDeltaY/6),Ir.deltaMode&&1===Ir.deltaMode&&(Hr*=10,Qr*=10),Hr!=Hr&&Qr!=Qr&&(Hr=0,Qr=Ir.wheelDelta),Ir.shiftKey?[-Qr,-Hr]:[Hr,Qr]}(Ir),Qr=Hr[0],qo=Hr[1];if(!function Ee(Ir,Hr,Qr){if(!Ka.isWebKit&&qt.querySelector("select:focus"))return!0;if(!qt.contains(Ir))return!1;for(var qo=Ir;qo&&qo!==qt;){if(qo.classList.contains(Eo.element.consuming))return!0;var Wn=Er(qo);if(Qr&&Wn.overflowY.match(/(scroll|auto)/)){var Mo=qo.scrollHeight-qo.clientHeight;if(Mo>0&&(qo.scrollTop>0&&Qr<0||qo.scrollTop0))return!0}if(Hr&&Wn.overflowX.match(/(scroll|auto)/)){var gn=qo.scrollWidth-qo.clientWidth;if(gn>0&&(qo.scrollLeft>0&&Hr<0||qo.scrollLeft0))return!0}qo=qo.parentNode}return!1}(Ir.target,Qr,qo)){var Wn=!1;Z.settings.useBothWheelAxes?Z.scrollbarYActive&&!Z.scrollbarXActive?(qo?qt.scrollTop-=qo*Z.settings.wheelSpeed:qt.scrollTop+=Qr*Z.settings.wheelSpeed,Wn=!0):Z.scrollbarXActive&&!Z.scrollbarYActive&&(Qr?qt.scrollLeft+=Qr*Z.settings.wheelSpeed:qt.scrollLeft-=qo*Z.settings.wheelSpeed,Wn=!0):(qt.scrollTop-=qo*Z.settings.wheelSpeed,qt.scrollLeft+=Qr*Z.settings.wheelSpeed),Ii(Z),Wn=Wn||function et(Ir,Hr){var Qr=Math.floor(qt.scrollTop),qo=0===qt.scrollTop,Wn=Qr+qt.offsetHeight===qt.scrollHeight,Mo=0===qt.scrollLeft,gn=qt.scrollLeft+qt.offsetWidth===qt.scrollWidth;return!(Math.abs(Hr)>Math.abs(Ir)?qo||Wn:Mo||gn)||!Z.settings.wheelPropagation}(Qr,qo),Wn&&!Ir.ctrlKey&&(Ir.stopPropagation(),Ir.preventDefault())}}typeof window.onwheel<"u"?Z.event.bind(qt,"wheel",Fr):typeof window.onmousewheel<"u"&&Z.event.bind(qt,"mousewheel",Fr)},touch:function Ca(Z){if(Ka.supportsTouch||Ka.supportsIePointer){var qt=Z.element,et={startOffset:{},startTime:0,speed:{},easingLoop:null};Ka.supportsTouch?(Z.event.bind(qt,"touchstart",Hr),Z.event.bind(qt,"touchmove",qo),Z.event.bind(qt,"touchend",Wn)):Ka.supportsIePointer&&(window.PointerEvent?(Z.event.bind(qt,"pointerdown",Hr),Z.event.bind(qt,"pointermove",qo),Z.event.bind(qt,"pointerup",Wn)):window.MSPointerEvent&&(Z.event.bind(qt,"MSPointerDown",Hr),Z.event.bind(qt,"MSPointerMove",qo),Z.event.bind(qt,"MSPointerUp",Wn)))}function Ee(Mo,gn){qt.scrollTop-=gn,qt.scrollLeft-=Mo,Ii(Z)}function Fr(Mo){return Mo.targetTouches?Mo.targetTouches[0]:Mo}function Ir(Mo){return!(Mo.target===Z.scrollbarX||Mo.target===Z.scrollbarY||Mo.pointerType&&"pen"===Mo.pointerType&&0===Mo.buttons||!(Mo.targetTouches&&1===Mo.targetTouches.length||Mo.pointerType&&"mouse"!==Mo.pointerType&&Mo.pointerType!==Mo.MSPOINTER_TYPE_MOUSE))}function Hr(Mo){if(Ir(Mo)){var gn=Fr(Mo);et.startOffset.pageX=gn.pageX,et.startOffset.pageY=gn.pageY,et.startTime=(new Date).getTime(),null!==et.easingLoop&&clearInterval(et.easingLoop)}}function qo(Mo){if(Ir(Mo)){var gn=Fr(Mo),Ko={pageX:gn.pageX,pageY:gn.pageY},pn=Ko.pageX-et.startOffset.pageX,Fn=Ko.pageY-et.startOffset.pageY;if(function Qr(Mo,gn,Ko){if(!qt.contains(Mo))return!1;for(var pn=Mo;pn&&pn!==qt;){if(pn.classList.contains(Eo.element.consuming))return!0;var Fn=Er(pn);if(Ko&&Fn.overflowY.match(/(scroll|auto)/)){var Oi=pn.scrollHeight-pn.clientHeight;if(Oi>0&&(pn.scrollTop>0&&Ko<0||pn.scrollTop0))return!0}if(gn&&Fn.overflowX.match(/(scroll|auto)/)){var ji=pn.scrollWidth-pn.clientWidth;if(ji>0&&(pn.scrollLeft>0&&gn<0||pn.scrollLeft0))return!0}pn=pn.parentNode}return!1}(Mo.target,pn,Fn))return;Ee(pn,Fn),et.startOffset=Ko;var Oi=(new Date).getTime(),ji=Oi-et.startTime;ji>0&&(et.speed.x=pn/ji,et.speed.y=Fn/ji,et.startTime=Oi),function ne(Mo,gn){var Ko=Math.floor(qt.scrollTop),pn=qt.scrollLeft,Fn=Math.abs(Mo),Oi=Math.abs(gn);if(Oi>Fn){if(gn<0&&Ko===Z.contentHeight-Z.containerHeight||gn>0&&0===Ko)return 0===window.scrollY&&gn>0&&Ka.isChrome}else if(Fn>Oi&&(Mo<0&&pn===Z.contentWidth-Z.containerWidth||Mo>0&&0===pn))return!0;return!0}(pn,Fn)&&Mo.cancelable&&Mo.preventDefault()}}function Wn(){Z.settings.swipeEasing&&(clearInterval(et.easingLoop),et.easingLoop=setInterval(function(){Z.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):(Ee(30*et.speed.x,30*et.speed.y),et.speed.x*=.8,et.speed.y*=.8):clearInterval(et.easingLoop)},10))}}},ha=function(qt,et){var ne=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 Ee in this.element=qt,qt.classList.add(Eo.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[Ee]=et[Ee];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var Wn,qo,Fr=function(){return qt.classList.add(Eo.state.focus)},Ir=function(){return qt.classList.remove(Eo.state.focus)};this.isRtl="rtl"===Er(qt).direction,!0===this.isRtl&&qt.classList.add(Eo.rtl),this.isNegativeScroll=(qo=qt.scrollLeft,qt.scrollLeft=-1,Wn=qt.scrollLeft<0,qt.scrollLeft=qo,Wn),this.negativeScrollAdjustment=this.isNegativeScroll?qt.scrollWidth-qt.clientWidth:0,this.event=new Ei,this.ownerDocument=qt.ownerDocument||document,this.scrollbarXRail=Rr(Eo.element.rail("x")),qt.appendChild(this.scrollbarXRail),this.scrollbarX=Rr(Eo.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",Fr),this.event.bind(this.scrollbarX,"blur",Ir),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var Hr=Er(this.scrollbarXRail);this.scrollbarXBottom=parseInt(Hr.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=Pn(Hr.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=Pn(Hr.borderLeftWidth)+Pn(Hr.borderRightWidth),kr(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=Pn(Hr.marginLeft)+Pn(Hr.marginRight),kr(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=Rr(Eo.element.rail("y")),qt.appendChild(this.scrollbarYRail),this.scrollbarY=Rr(Eo.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",Fr),this.event.bind(this.scrollbarY,"blur",Ir),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var Qr=Er(this.scrollbarYRail);this.scrollbarYRight=parseInt(Qr.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=Pn(Qr.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function ss(Z){var qt=Er(Z);return Pn(qt.width)+Pn(qt.paddingLeft)+Pn(qt.paddingRight)+Pn(qt.borderLeftWidth)+Pn(qt.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=Pn(Qr.borderTopWidth)+Pn(Qr.borderBottomWidth),kr(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=Pn(Qr.marginTop)+Pn(Qr.marginBottom),kr(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(qo){return ni[qo](ne)}),this.lastScrollTop=Math.floor(qt.scrollTop),this.lastScrollLeft=qt.scrollLeft,this.event.bind(this.element,"scroll",function(qo){return ne.onScroll(qo)}),Ii(this)};ha.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,kr(this.scrollbarXRail,{display:"block"}),kr(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=Pn(Er(this.scrollbarXRail).marginLeft)+Pn(Er(this.scrollbarXRail).marginRight),this.railYMarginHeight=Pn(Er(this.scrollbarYRail).marginTop)+Pn(Er(this.scrollbarYRail).marginBottom),kr(this.scrollbarXRail,{display:"none"}),kr(this.scrollbarYRail,{display:"none"}),Ii(this),Wa(this,"top",0,!1,!0),Wa(this,"left",0,!1,!0),kr(this.scrollbarXRail,{display:""}),kr(this.scrollbarYRail,{display:""}))},ha.prototype.onScroll=function(qt){this.isAlive&&(Ii(this),Wa(this,"top",this.element.scrollTop-this.lastScrollTop),Wa(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},ha.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),so(this.scrollbarX),so(this.scrollbarY),so(this.scrollbarXRail),so(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},ha.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(qt){return!qt.match(/^ps([-_].+|)$/)}).join(" ")};const Xi=ha;var Qs=o(909),mi=o(8627);let Ci=(()=>{class Z{constructor(){this._elementRef=(0,a.WQX)(a.aKT),this._platform=(0,a.WQX)(Me.OD),this.angorScrollbar=!0,this._ps=null,this._unsubscribeAll=new C.B}get elementRef(){return this._elementRef}get ps(){return this._ps}ngOnChanges(et){"angorScrollbar"in et&&(this.angorScrollbar=(0,He.he)(et.angorScrollbar.currentValue),this.angorScrollbar?this._initScrollbar():this._destroyScrollbar()),"angorScrollbarOptions"in et&&(this._options=(0,ur.A)({},this._options,et.angorScrollbarOptions.currentValue),this._reinitializeScrollbar())}ngOnInit(){(0,Qs.R)(window,"resize").pipe((0,q.Q)(this._unsubscribeAll),(0,mi.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 Ot(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 me(this._ps.reach.x||0,this._ps.reach.y||0):new me(this._elementRef.nativeElement.scrollLeft,this._elementRef.nativeElement.scrollTop)}scrollTo(et,ne,Ee){null==ne&&null==Ee?this.animateScrolling("scrollTop",et,Ee):(null!=et&&this.scrollToX(et,Ee),null!=ne&&this.scrollToY(ne,Ee))}scrollToX(et,ne){this.animateScrolling("scrollLeft",et,ne)}scrollToY(et,ne){this.animateScrolling("scrollTop",et,ne)}scrollToTop(et=0,ne){this.animateScrolling("scrollTop",et,ne)}scrollToBottom(et=0,ne){this.animateScrolling("scrollTop",this._elementRef.nativeElement.scrollHeight-this._elementRef.nativeElement.clientHeight-et,ne)}scrollToLeft(et=0,ne){this.animateScrolling("scrollLeft",et,ne)}scrollToRight(et=0,ne){this.animateScrolling("scrollLeft",this._elementRef.nativeElement.scrollWidth-this._elementRef.nativeElement.clientWidth-et,ne)}scrollToElement(et,ne=0,Ee=!1,Fr){const Ir=this._elementRef.nativeElement.querySelector(et);if(!Ir)return;const Hr=Ir.getBoundingClientRect(),Qr=this._elementRef.nativeElement.getBoundingClientRect();this._elementRef.nativeElement.classList.contains("ps--active-x")&&this._scrollToInAxis(Hr.left,Qr.left,"scrollLeft",ne,Ee,Fr),this._elementRef.nativeElement.classList.contains("ps--active-y")&&this._scrollToInAxis(Hr.top,Qr.top,"scrollTop",ne,Ee,Fr)}animateScrolling(et,ne,Ee){this._animation&&window.cancelAnimationFrame(this._animation),!Ee||typeof window>"u"?this._elementRef.nativeElement[et]=ne:ne!==this._elementRef.nativeElement[et]&&this._smoothScroll(et,ne,Ee)}_initScrollbar(){this._ps||this._platform.ANDROID||this._platform.IOS||!this._platform.isBrowser||(this._ps=new Xi(this._elementRef.nativeElement,{...this._options}))}_destroyScrollbar(){this._ps?.destroy(),this._ps=null}_reinitializeScrollbar(){setTimeout(()=>this._destroyScrollbar()),setTimeout(()=>this._initScrollbar())}_scrollToInAxis(et,ne,Ee,Fr,Ir,Hr){Ir&&et<=ne-Math.abs(Fr)||this.animateScrolling(Ee,et-ne+this._elementRef.nativeElement[Ee]+Fr,Hr)}_smoothScroll(et,ne,Ee){let Fr=0,Ir=this._elementRef.nativeElement[et];const Hr=(Ir-ne)/2;let Qr=performance.now();const qo=Wn=>{Fr+=Math.PI/(Ee/(Wn-Qr));const Mo=Math.round(ne+Hr+Hr*Math.cos(Fr));this._elementRef.nativeElement[et]===Ir&&(Fr>=Math.PI?this.animateScrolling(et,ne,0):(this._elementRef.nativeElement[et]=Mo,Ir=this._elementRef.nativeElement[et],Qr=Wn,this._animation=window.requestAnimationFrame(qo)))};window.requestAnimationFrame(qo)}static{this.\u0275fac=function(ne){return new(ne||Z)}}static{this.\u0275dir=a.FsC({type:Z,selectors:[["","angorScrollbar",""]],inputs:{angorScrollbar:"angorScrollbar",angorScrollbarOptions:"angorScrollbarOptions"},exportAs:["angorScrollbar"],features:[a.OA$]})}}return Z})();var co=o(1204),Da=o(9666),Ga=o(7509),ma=o(8136);const cs=["navigationContent"],ca=[[["","angorVerticalNavigationHeader",""]],[["","angorVerticalNavigationContentHeader",""]],[["","angorVerticalNavigationFooter",""]]],Vn=["[angorVerticalNavigationHeader]","[angorVerticalNavigationContentHeader]","[angorVerticalNavigationFooter]"],cc=Z=>({wheelPropagation:Z,suppressScrollX:!0}),ls=()=>({wheelPropagation:!1,suppressScrollX:!0});function Sa(Z,qt){if(1&Z){const et=a.RV6();a.j41(0,"angor-vertical-navigation-aside-item",10),a.bIt("click",function(){a.eBV(et);const Ee=a.XpG(2).$implicit,Fr=a.XpG();return a.Njj(Fr.toggleAside(Ee))}),a.k0s()}if(2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)("activeItemId",ne.activeAsideItemId)("autoCollapse",ne.autoCollapse)("skipChildren",!0)}}function Aa(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-basic-item",8),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)}}function Na(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-collapsable-item",9),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)("autoCollapse",ne.autoCollapse)}}function Di(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-divider-item",8),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)}}function Bi(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-group-item",9),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)("autoCollapse",ne.autoCollapse)}}function ci(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-spacer-item",8),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)}}function ga(Z,qt){if(1&Z&&a.DNE(0,Sa,1,5,"angor-vertical-navigation-aside-item",7)(1,Aa,1,2,"angor-vertical-navigation-basic-item",8)(2,Na,1,3,"angor-vertical-navigation-collapsable-item",9)(3,Di,1,2,"angor-vertical-navigation-divider-item",8)(4,Bi,1,3,"angor-vertical-navigation-group-item",9)(5,ci,1,2,"angor-vertical-navigation-spacer-item",8),2&Z){const et=a.XpG().$implicit;a.vxM("aside"===et.type?0:-1),a.R7$(),a.vxM("basic"===et.type?1:-1),a.R7$(),a.vxM("collapsable"===et.type?2:-1),a.R7$(),a.vxM("divider"===et.type?3:-1),a.R7$(),a.vxM("group"===et.type?4:-1),a.R7$(),a.vxM("spacer"===et.type?5:-1)}}function Cs(Z,qt){if(1&Z&&a.DNE(0,ga,6,6),2&Z){const et=qt.$implicit;a.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function Ta(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-aside-item",9),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG(2);a.Y8G("item",et)("name",ne.name)("autoCollapse",ne.autoCollapse)}}function Ua(Z,qt){if(1&Z&&a.DNE(0,Ta,1,3,"angor-vertical-navigation-aside-item",9),2&Z){const et=a.XpG().$implicit,ne=a.XpG(2);a.vxM("aside"===et.type&&et.id===ne.activeAsideItemId?0:-1)}}function ds(Z,qt){if(1&Z&&a.DNE(0,Ua,1,1),2&Z){const et=qt.$implicit;a.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function Bs(Z,qt){if(1&Z&&(a.j41(0,"div",6),a.Z7z(1,ds,1,1,null,null,a.BUC().trackByFn,!0),a.k0s()),2&Z){const et=a.XpG();a.Y8G("angorScrollbarOptions",a.lJ4(5,ls))("@fadeInLeft","left"===et.position)("@fadeInRight","right"===et.position)("@fadeOutLeft","left"===et.position)("@fadeOutRight","right"===et.position),a.R7$(),a.Dyx(et.navigation)}}let Ds=(()=>{class Z{constructor(){this._animationBuilder=(0,a.WQX)(co.S6),this._changeDetectorRef=(0,a.WQX)(a.gRc),this._document=(0,a.WQX)(A.qQ),this._elementRef=(0,a.WQX)(a.aKT),this._renderer2=(0,a.WQX)(a.sFG),this._router=(0,a.WQX)(P.Ix),this._scrollStrategyOptions=(0,a.WQX)(Da.Tv),this._angorNavigationService=(0,a.WQX)(l),this._angorUtilsService=(0,a.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 a.bkB,this.modeChanged=new a.bkB,this.openedChanged=new a.bkB,this.positionChanged=new a.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 C.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,Ga.h)(this.onCollapsableItemCollapsed,this.onCollapsableItemExpanded).pipe((0,q.Q)(this._unsubscribeAll),(0,ma.c)(250)).subscribe(()=>{et.forEach(ne=>{ne.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,He.he)(et.inner.currentValue)),"mode"in et){const ne=et.mode.currentValue,Ee=et.mode.previousValue;this._disableAnimations(),"over"===Ee&&"side"===ne&&this._hideOverlay(),"side"===Ee&&"over"===ne&&(this.closeAside(),this.opened&&this._showOverlay()),this.modeChanged.next(ne),setTimeout(()=>{this._enableAnimations()},500)}"navigation"in et&&this._changeDetectorRef.markForCheck(),"opened"in et&&(this.opened=(0,He.he)(et.opened.currentValue),this._toggleOpened(this.opened)),"position"in et&&this.positionChanged.next(et.position.currentValue),"transparentOverlay"in et&&(this.transparentOverlay=(0,He.he)(et.transparentOverlay.currentValue))}ngOnInit(){""===this.name&&(this.name=this._angorUtilsService.randomId()),this._angorNavigationService.registerComponent(this.name,this),this._router.events.pipe((0,Zn.p)(et=>et instanceof P.wF),(0,q.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(ne=>{const Ee=ne.target;if("class"===ne.attributeName)if(Ee.classList.contains("cdk-global-scrollblock")){const Fr=parseInt(Ee.style.top,10);this._renderer2.setStyle(this._elementRef.nativeElement,"margin-top",`${Math.abs(Fr)}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,ne){return ne.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,co.i0)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",(0,co.iF)({opacity:1}))]).create(this._overlay),this._player.play(),this._overlay.addEventListener("click",this._handleOverlayClick))}_hideOverlay(){this._overlay&&(this._player=this._animationBuilder.build([(0,co.i0)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",(0,co.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,co.i0)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",(0,co.iF)({opacity:1}))]).create(this._asideOverlay),this._player.play(),this._asideOverlay.addEventListener("click",this._handleAsideOverlayClick))}_hideAsideOverlay(){this._asideOverlay&&(this._player=this._animationBuilder.build([(0,co.i0)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",(0,co.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(ne){return new(ne||Z)}}static{this.\u0275cmp=a.VBU({type:Z,selectors:[["angor-vertical-navigation"]],viewQuery:function(ne,Ee){if(1&ne&&(a.GBs(cs,5),a.GBs(Ci,5)),2&ne){let Fr;a.mGM(Fr=a.lsd())&&(Ee._navigationContentEl=Fr.first),a.mGM(Fr=a.lsd())&&(Ee.angorScrollbarDirectives=Fr)}},hostVars:4,hostBindings:function(ne,Ee){1&ne&&a.bIt("mouseenter",function(){return Ee._onMouseenter()})("mouseleave",function(){return Ee._onMouseleave()}),2&ne&&(a.Aen(Ee.styleList),a.HbH(Ee.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"],features:[a.OA$],ngContentSelectors:Vn,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(ne,Ee){1&ne&&(a.NAR(ca),a.j41(0,"div",1)(1,"div",2),a.SdG(2),a.k0s(),a.j41(3,"div",3,0)(5,"div",4),a.SdG(6,1),a.k0s(),a.Z7z(7,Cs,1,1,null,null,Ee.trackByFn,!0),a.k0s(),a.j41(9,"div",5),a.SdG(10,2),a.k0s()(),a.DNE(11,Bs,3,6,"div",6)),2&ne&&(a.R7$(3),a.Y8G("angorScrollbarOptions",a.eq3(2,cc,Ee.inner)),a.R7$(4),a.Dyx(Ee.navigation),a.R7$(4),a.vxM(Ee.activeAsideItemId?11:-1))},dependencies:[Ci,Gt,Ho,qi,we,hn,ze],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, 1));--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, 1));--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, 1));--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, 1));--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, 1));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, 1))}: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:n.F},changeDetection:0})}}return Z})()},7891:(i,s,o)=>{"use strict";o.d(s,{t:()=>a});const a=new(o(3107).nKC)("ANGOR_APP_CONFIG")},1109:(i,s,o)=>{"use strict";o.d(s,{P:()=>k});var n=o(7891),a=o(3107),l=o(4819),y=o(1217);let k=(()=>{class C{constructor(){this._defaultConfig=(0,a.WQX)(n.t),this._configSubject=new y.t(this._defaultConfig)}get config$(){return this._configSubject.asObservable()}set config(S){const T=(0,l.A)({},this._configSubject.getValue(),S);this._configSubject.next(T)}reset(){this._configSubject.next(this._defaultConfig)}static{this.\u0275fac=function(T){return new(T||C)}}static{this.\u0275prov=a.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}}return C})()},7153:(i,s,o)=>{"use strict";o.d(s,{m:()=>pt});var n=o(4460),a=o(3107),l=o(9471),y=o(7544),k=o(3904);const C=(kt,Et,It,yt,_t,at,st,vt)=>({"bg-primary-100 text-primary-600 dark:bg-primary-600 dark:text-primary-50":kt,"bg-accent-100 text-accent-600 dark:bg-accent-600 dark:text-accent-50":Et,"bg-warn-100 text-warn-600 dark:bg-warn-600 dark:text-warn-50":It,"bg-gray-100 text-gray-600 dark:bg-gray-600 dark:text-gray-50":yt,"bg-blue-100 text-blue-600 dark:bg-blue-600 dark:text-blue-50":_t,"bg-green-100 text-green-500 dark:bg-green-500 dark:text-green-50":at,"bg-amber-100 text-amber-500 dark:bg-amber-500 dark:text-amber-50":st,"bg-red-100 text-red-600 dark:bg-red-600 dark:text-red-50":vt});function A(kt,Et){1&kt&&(a.j41(0,"div",1)(1,"button",6),a.nrm(2,"mat-icon",7),a.k0s()()),2&kt&&(a.R7$(),a.Y8G("matDialogClose",void 0),a.R7$(),a.Y8G("svgIcon","heroicons_outline:x-mark"))}function S(kt,Et){if(1&kt&&(a.j41(0,"div",3),a.nrm(1,"mat-icon",8),a.k0s()),2&kt){const It=a.XpG();a.Y8G("ngClass",a.lV(2,C,"primary"===It.data.icon.color,"accent"===It.data.icon.color,"warn"===It.data.icon.color,"basic"===It.data.icon.color,"info"===It.data.icon.color,"success"===It.data.icon.color,"warning"===It.data.icon.color,"error"===It.data.icon.color)),a.R7$(),a.Y8G("svgIcon",It.data.icon.name)}}function T(kt,Et){if(1&kt&&a.nrm(0,"div",9),2&kt){const It=a.XpG(2);a.Y8G("innerHTML",It.data.title,a.npT)}}function O(kt,Et){if(1&kt&&a.nrm(0,"div",10),2&kt){const It=a.XpG(2);a.Y8G("innerHTML",It.data.message,a.npT)}}function P(kt,Et){if(1&kt&&(a.j41(0,"div",4),a.DNE(1,T,1,1,"div",9)(2,O,1,1,"div",10),a.k0s()),2&kt){const It=a.XpG();a.R7$(),a.vxM(It.data.title?1:-1),a.R7$(),a.vxM(It.data.message?2:-1)}}function q(kt,Et){if(1&kt&&(a.j41(0,"button",11),a.EFF(1),a.k0s()),2&kt){const It=a.XpG(2);a.Y8G("matDialogClose","cancelled"),a.R7$(),a.SpI(" ",It.data.actions.cancel.label," ")}}function X(kt,Et){if(1&kt&&(a.j41(0,"button",12),a.EFF(1),a.k0s()),2&kt){const It=a.XpG(2);a.Y8G("color",It.data.actions.confirm.color)("matDialogClose","confirmed"),a.R7$(),a.SpI(" ",It.data.actions.confirm.label," ")}}function J(kt,Et){if(1&kt&&(a.j41(0,"div",5),a.DNE(1,q,2,2,"button",11)(2,X,2,3,"button",12),a.k0s()),2&kt){const It=a.XpG();a.R7$(),a.vxM(It.data.actions.cancel.show?1:-1),a.R7$(),a.vxM(It.data.actions.confirm.show?2:-1)}}let ht=(()=>{class kt{constructor(){this.data=(0,a.WQX)(y.Vh)}static{this.\u0275fac=function(yt){return new(yt||kt)}}static{this.\u0275cmp=a.VBU({type:kt,selectors:[["angor-confirmation-dialog"]],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(yt,_t){1&yt&&(a.j41(0,"div",0),a.DNE(1,A,3,2,"div",1),a.j41(2,"div",2),a.DNE(3,S,2,11,"div",3)(4,P,3,2,"div",4),a.k0s(),a.DNE(5,J,3,2,"div",5),a.k0s()),2&yt&&(a.R7$(),a.vxM(_t.data.dismissible?1:-1),a.R7$(2),a.vxM(_t.data.icon.show?3:-1),a.R7$(),a.vxM(_t.data.title||_t.data.message?4:-1),a.R7$(),a.vxM(_t.data.actions.confirm.show||_t.data.actions.cancel.show?5:-1))},dependencies:[l.Hl,l.$z,l.iY,y.hM,y.tx,k.m_,k.An,n.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 kt})();var ct=o(4819);let pt=(()=>{class kt{constructor(){this._matDialog=(0,a.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(It={}){const yt=(0,ct.A)({},this._defaultConfig,It);return this._matDialog.open(ht,{autoFocus:!1,disableClose:!yt.dismissible,data:yt,panelClass:"angor-confirmation-dialog-panel"})}static{this.\u0275fac=function(yt){return new(yt||kt)}}static{this.\u0275prov=a.jDH({token:kt,factory:kt.\u0275fac,providedIn:"root"})}}return kt})()},2012:(i,s,o)=>{"use strict";o.d(s,{l:()=>S});var n=o(1109),a=o(6520),l=o(3107),y=o(6143),k=o(7838),C=o(7947),A=o(2867);let S=(()=>{class T{constructor(){this._breakpointObserver=(0,l.WQX)(a.QP),this._angorConfigService=(0,l.WQX)(n.P),this._onMediaChange=new k.m(1),this._angorConfigService.config$.pipe((0,C.T)(P=>(0,y.A)(Object.entries(P.screens).map(([q,X])=>[q,`(min-width: ${X})`]))),(0,A.n)(P=>this._breakpointObserver.observe(Object.values(P)).pipe((0,C.T)(q=>{const X=[],J={},ht=Object.entries(q.breakpoints).filter(([ct,pt])=>pt)??[];for(const[ct]of ht){const pt=Object.entries(P).find(([kt,Et])=>Et===ct)[0];pt&&(X.push(pt),J[pt]=ct)}this._onMediaChange.next({matchingAliases:X,matchingQueries:J})})))).subscribe()}get onMediaChange$(){return this._onMediaChange.asObservable()}onMediaQueryChange$(P){return this._breakpointObserver.observe(P)}static{this.\u0275fac=function(q){return new(q||T)}}static{this.\u0275prov=l.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}}return T})()},3939:(i,s,o)=>{"use strict";o.d(s,{Q:()=>a});var n=o(3107);let a=(()=>{class l{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 A="";for(let S=0;S<10;S++)A+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return A}static{this.\u0275fac=function(C){return new(C||l)}}static{this.\u0275prov=n.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}}return l})()},4482:(i,s,o)=>{"use strict";o.d(s,{v:()=>y});var n=o(4143),a=o(8447),l=o(3107);let y=(()=>{class k{constructor(){this.publicKeySubject=new a.B,this.previousPublicKey=null,this.initializeNostrLogin(),this.setupEventListeners()}initializeNostrLogin(){(0,n.Ts)({theme:"ocean",noBanner:!0,title:"Angor Hub",onAuth:(A,S)=>{this.handleAuthSuccess(A,S)}})}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(A){const{type:S,pubkey:T,options:O}=A.detail;switch(S){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:",S)}this.previousPublicKey&&this.previousPublicKey!==T&&(console.log("Account switched to:",T),this.handleAccountSwitch(T,O)),this.previousPublicKey=T}handleAuthSuccess(A,S){console.log("Authenticated successfully with public key:",A),this.publicKeySubject.next(A)}handleSignupSuccess(A,S){console.log("Signup successful with public key:",A),this.publicKeySubject.next(A)}handleAccountSwitch(A,S){console.log("Account switched to:",A),this.publicKeySubject.next(A),window.location.reload()}handleLogout(){console.log("Logged out"),this.publicKeySubject.next("")}handleNlDarkModeEvent(A){const S=A.detail;console.log("Dark mode changed to:",S?"enabled":"disabled"),this.updateDarkMode(S)}handleNlLaunchEvent(A){const S=A.detail||"welcome";console.log(`Launching Nostr login screen: ${S}`),this.launchScreen(S)}launchScreen(A){(0,n.ql)(A)}updateDarkMode(A){document.body.classList.toggle("dark-mode",A),console.log("Dark mode is now "+(A?"enabled":"disabled"))}getPublicKeyObservable(){return this.publicKeySubject.asObservable()}launchWelcomeScreen(){(0,n.ql)("welcome")}launchSignupScreen(){(0,n.ql)("welcome-signup")}launchLoginScreen(){(0,n.ql)("welcome-login")}switchAccount(){document.dispatchEvent(new CustomEvent("nlLaunch",{detail:"switch-account"}))}logout(){document.dispatchEvent(new Event("nlLogout"))}toggleDarkMode(A){document.dispatchEvent(new CustomEvent("nlDarkMode",{detail:A}))}static{this.\u0275fac=function(S){return new(S||k)}}static{this.\u0275prov=l.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}}return k})()},3125:(i,s,o)=>{"use strict";o.d(s,{b:()=>A});var n=o(3014),a=o(3107),l=o(5492),y=o(1217),k=o(8447),C=o(4460);let A=(()=>{class S{constructor(O,P){this.document=O,this.platformId=P,this.pool=new l.lo,this.relays=[],this.maxRetries=10,this.retryDelay=15e3,this.eventSubject=new y.t(null),this.relaysSubject=new y.t([]),this.destroy$=new k.B,this.initializeRelays(),this.setupVisibilityHandling()}initializeRelays(){this.relays=this.loadRelaysFromLocalStorage(),this.connectToRelays(),this.relaysSubject.next(this.relays)}loadRelaysFromLocalStorage(){const O=JSON.parse(localStorage.getItem("nostrRelays")||"[]");return O.length>0?O.map(q=>({...q,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://nos.lol",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 O=this.relays.map(P=>({url:P.url,accessType:P.accessType,connected:P.connected,retries:P.retries,retryTimeout:P.retryTimeout}));localStorage.setItem("nostrRelays",JSON.stringify(O)),this.relaysSubject.next(this.relays)}connectToRelay(O){O.connected||(O.ws=new WebSocket(O.url),O.ws.onopen=()=>{O.connected=!0,O.retries=0,clearTimeout(O.retryTimeout),this.saveRelaysToLocalStorage()},O.ws.onerror=()=>this.handleRelayError(O),O.ws.onclose=()=>{O.connected=!1,this.handleRelayError(O)},O.ws.onmessage=({data:P})=>{try{const q=JSON.parse("string"==typeof P?P:P.toString("utf-8"));this.eventSubject.next(q)}catch(q){console.warn("Error parsing WebSocket message:",q)}})}handleRelayError(O){O.retries>=this.maxRetries?console.warn(`Max retries reached for relay: ${O.url}. No further attempts will be made.`):(O.retries++,O.retryTimeout=setTimeout(()=>this.connectToRelay(O),this.retryDelay*O.retries))}connectToRelays(){this.relays.forEach(O=>!O.connected&&this.connectToRelay(O))}ensureConnectedRelays(){var O=this;return(0,n.A)(function*(){return O.connectToRelays(),new Promise(P=>{const q=setInterval(()=>{O.getConnectedRelays().length>0&&(clearInterval(q),P())},1e3)})})()}setupVisibilityHandling(){(0,C.UE)(this.platformId)&&(this.document.addEventListener("visibilitychange",()=>{"visible"===this.document.visibilityState&&this.connectToRelays()}),window.addEventListener("beforeunload",()=>{this.relays.forEach(O=>O.ws?.close())}))}getConnectedRelays(){return this.relays.filter(O=>O.connected).map(O=>O.url)}getRelays(){return this.relaysSubject.asObservable()}publishEventToWriteRelays(O){var P=this;return(0,n.A)(function*(){const q=P.relays.filter(X=>["write","read-write"].includes(X.accessType)&&X.connected);if(!q.length)throw new Error("No connected write relays available");try{return yield Promise.any(q.map(X=>P.pool.publish([X.url],O))),P.eventSubject.next(O),O}catch(X){throw console.error("Failed to publish event to relays:",X),X}})()}addRelay(O,P="read-write"){if(!this.relays.some(q=>q.url===O)){const q={url:O,connected:!1,retries:0,retryTimeout:null,accessType:P};this.relays.push(q),this.connectToRelay(q),this.saveRelaysToLocalStorage()}}removeRelay(O){const P=this.relays.find(q=>q.url===O);P&&(P.ws?.close(),clearTimeout(P.retryTimeout)),this.relays=this.relays.filter(q=>q.url!==O),this.saveRelaysToLocalStorage()}removeAllCustomRelays(){const O=["wss://relay.angor.io","wss://relay2.angor.io"];this.relays.forEach(P=>{O.includes(P.url)||(P.ws?.close(),clearTimeout(P.retryTimeout))}),this.relays=this.relays.filter(P=>O.includes(P.url)),this.saveRelaysToLocalStorage()}updateRelayAccessType(O,P){const q=this.relays.find(X=>X.url===O);q&&(q.accessType=P,this.saveRelaysToLocalStorage())}getPool(){return this.pool}getEventStream(){return this.eventSubject.asObservable()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.relays.forEach(O=>O.ws?.close())}static{this.\u0275fac=function(P){return new(P||S)(a.KVO(C.qQ,8),a.KVO(a.Agw))}}static{this.\u0275prov=a.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}}return S})()},8078:(i,s,o)=>{"use strict";o.d(s,{A:()=>vu});var n={};o.r(n),o.d(n,{OG:()=>Xa,My:()=>ps,Ph:()=>ii,lX:()=>Pr,Id:()=>ai,fg:()=>bi,qj:()=>Qn,aT:()=>zi,lq:()=>Ao,z:()=>Rn,Q5:()=>Va});var a=o(3014),l=o(8378),y=o(2226),k=o(871),C=o(5492);function T(I){if(!Number.isSafeInteger(I)||I<0)throw new Error(`Wrong positive integer: ${I}`)}function q(I,...L){if(!function P(I){return I instanceof Uint8Array||null!=I&&"object"==typeof I&&"Uint8Array"===I.constructor.name}(I))throw new Error("Expected Uint8Array");if(L.length>0&&!L.includes(I.length))throw new Error(`Expected Uint8Array of length ${L}, not of length=${I.length}`)}function X(I){if("function"!=typeof I||"function"!=typeof I.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");T(I.outputLen),T(I.blockLen)}function J(I,L=!0){if(I.destroyed)throw new Error("Hash instance has been destroyed");if(L&&I.finished)throw new Error("Hash#digest() has already been called")}o(4704),"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");const yt=I=>new DataView(I.buffer,I.byteOffset,I.byteLength);if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function yr(I){if("string"==typeof I&&(I=function fr(I){if("string"!=typeof I)throw new Error("utf8ToBytes expected string, got "+typeof I);return new Uint8Array((new TextEncoder).encode(I))}(I)),!function It(I){return I instanceof Uint8Array||null!=I&&"object"==typeof I&&"Uint8Array"===I.constructor.name}(I))throw new Error("expected Uint8Array, got "+typeof I);return I}class wr{clone(){return this._cloneInto()}}const Qt={}.toString;function Ht(I){const L=nt=>I().update(yr(nt)).digest(),$=I();return L.outputLen=$.outputLen,L.blockLen=$.blockLen,L.create=()=>I(),L}class Yt extends wr{constructor(L,$){super(),this.finished=!1,this.destroyed=!1,X(L);const nt=yr($);if(this.iHash=L.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 xt=this.blockLen,Ut=new Uint8Array(xt);Ut.set(nt.length>xt?L.create().update(nt).digest():nt);for(let pe=0;penew Yt(I,L).update($).digest();oe.create=(I,L)=>new Yt(I,L);class Te extends wr{constructor(L,$,nt,xt){super(),this.blockLen=L,this.outputLen=$,this.padOffset=nt,this.isLE=xt,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(L),this.view=yt(this.buffer)}update(L){J(this);const{view:$,buffer:nt,blockLen:xt}=this,Ut=(L=yr(L)).length;for(let pe=0;pext-pe&&(this.process(nt,0),pe=0);for(let Qe=pe;Qe>xt&Ut),Ie=Number($&Ut),sr=nt?0:4;I.setUint32(L+(nt?4:0),pe,nt),I.setUint32(L+sr,Ie,nt)})(nt,xt-8,BigInt(8*this.length),Ut),this.process(nt,0);const Ie=yt(L),We=this.outputLen;if(We%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const sr=We/4,Cr=this.get();if(sr>Cr.length)throw new Error("_sha2: outputLen bigger than state");for(let Qe=0;Qe>re&Ke)}:{h:0|Number(I>>re&Ke),l:0|Number(I&Ke)}}const xr_split=function tr(I,L=!1){let $=new Uint32Array(I.length),nt=new Uint32Array(I.length);for(let xt=0;xtI>>>$,xr_shrSL=(I,L,$)=>I<<32-$|L>>>$,xr_rotrSH=(I,L,$)=>I>>>$|L<<32-$,xr_rotrSL=(I,L,$)=>I<<32-$|L>>>$,xr_rotrBH=(I,L,$)=>I<<64-$|L>>>$-32,xr_rotrBL=(I,L,$)=>I>>>$-32|L<<64-$,xr_add=function ue(I,L,$,nt){const xt=(L>>>0)+(nt>>>0);return{h:I+$+(xt/2**32|0)|0,l:0|xt}},xr_add3L=(I,L,$)=>(I>>>0)+(L>>>0)+($>>>0),xr_add3H=(I,L,$,nt)=>L+$+nt+(I/2**32|0)|0,xr_add4L=(I,L,$,nt)=>(I>>>0)+(L>>>0)+($>>>0)+(nt>>>0),xr_add4H=(I,L,$,nt,xt)=>L+$+nt+xt+(I/2**32|0)|0,xr_add5H=(I,L,$,nt,xt,Ut)=>L+$+nt+xt+Ut+(I/2**32|0)|0,xr_add5L=(I,L,$,nt,xt)=>(I>>>0)+(L>>>0)+($>>>0)+(nt>>>0)+(xt>>>0),[zo,To]=xr_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))),Ho=new Uint32Array(80),we=new Uint32Array(80);class ze extends Te{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:L,Al:$,Bh:nt,Bl:xt,Ch:Ut,Cl:pe,Dh:Ie,Dl:We,Eh:sr,El:Cr,Fh:Qe,Fl:Gr,Gh:zr,Gl:ro,Hh:Ar,Hl:Vr}=this;return[L,$,nt,xt,Ut,pe,Ie,We,sr,Cr,Qe,Gr,zr,ro,Ar,Vr]}set(L,$,nt,xt,Ut,pe,Ie,We,sr,Cr,Qe,Gr,zr,ro,Ar,Vr){this.Ah=0|L,this.Al=0|$,this.Bh=0|nt,this.Bl=0|xt,this.Ch=0|Ut,this.Cl=0|pe,this.Dh=0|Ie,this.Dl=0|We,this.Eh=0|sr,this.El=0|Cr,this.Fh=0|Qe,this.Fl=0|Gr,this.Gh=0|zr,this.Gl=0|ro,this.Hh=0|Ar,this.Hl=0|Vr}process(L,$){for(let Ur=0;Ur<16;Ur++,$+=4)Ho[Ur]=L.getUint32($),we[Ur]=L.getUint32($+=4);for(let Ur=16;Ur<80;Ur++){const Oo=0|Ho[Ur-15],no=0|we[Ur-15],Co=xr_rotrSH(Oo,no,1)^xr_rotrSH(Oo,no,8)^xr_shrSH(Oo,no,7),Go=xr_rotrSL(Oo,no,1)^xr_rotrSL(Oo,no,8)^xr_shrSL(Oo,no,7),Uo=0|Ho[Ur-2],oi=0|we[Ur-2],Jn=xr_rotrSH(Uo,oi,19)^xr_rotrBH(Uo,oi,61)^xr_shrSH(Uo,oi,6),Xn=xr_rotrSL(Uo,oi,19)^xr_rotrBL(Uo,oi,61)^xr_shrSL(Uo,oi,6),yi=xr_add4L(Go,Xn,we[Ur-7],we[Ur-16]),Si=xr_add4H(yi,Co,Jn,Ho[Ur-7],Ho[Ur-16]);Ho[Ur]=0|Si,we[Ur]=0|yi}let{Ah:nt,Al:xt,Bh:Ut,Bl:pe,Ch:Ie,Cl:We,Dh:sr,Dl:Cr,Eh:Qe,El:Gr,Fh:zr,Fl:ro,Gh:Ar,Gl:Vr,Hh:Xr,Hl:yo}=this;for(let Ur=0;Ur<80;Ur++){const Oo=xr_rotrSH(Qe,Gr,14)^xr_rotrSH(Qe,Gr,18)^xr_rotrBH(Qe,Gr,41),no=xr_rotrSL(Qe,Gr,14)^xr_rotrSL(Qe,Gr,18)^xr_rotrBL(Qe,Gr,41),Co=Qe&zr^~Qe&Ar,Uo=xr_add5L(yo,no,Gr&ro^~Gr&Vr,To[Ur],we[Ur]),oi=xr_add5H(Uo,Xr,Oo,Co,zo[Ur],Ho[Ur]),Jn=0|Uo,Xn=xr_rotrSH(nt,xt,28)^xr_rotrBH(nt,xt,34)^xr_rotrBH(nt,xt,39),yi=xr_rotrSL(nt,xt,28)^xr_rotrBL(nt,xt,34)^xr_rotrBL(nt,xt,39),Si=nt&Ut^nt&Ie^Ut&Ie,bs=xt&pe^xt&We^pe&We;Xr=0|Ar,yo=0|Vr,Ar=0|zr,Vr=0|ro,zr=0|Qe,ro=0|Gr,({h:Qe,l:Gr}=xr_add(0|sr,0|Cr,0|oi,0|Jn)),sr=0|Ie,Cr=0|We,Ie=0|Ut,We=0|pe,Ut=0|nt,pe=0|xt;const wo=xr_add3L(Jn,yi,bs);nt=xr_add3H(wo,oi,Xn,Si),xt=0|wo}({h:nt,l:xt}=xr_add(0|this.Ah,0|this.Al,0|nt,0|xt)),({h:Ut,l:pe}=xr_add(0|this.Bh,0|this.Bl,0|Ut,0|pe)),({h:Ie,l:We}=xr_add(0|this.Ch,0|this.Cl,0|Ie,0|We)),({h:sr,l:Cr}=xr_add(0|this.Dh,0|this.Dl,0|sr,0|Cr)),({h:Qe,l:Gr}=xr_add(0|this.Eh,0|this.El,0|Qe,0|Gr)),({h:zr,l:ro}=xr_add(0|this.Fh,0|this.Fl,0|zr,0|ro)),({h:Ar,l:Vr}=xr_add(0|this.Gh,0|this.Gl,0|Ar,0|Vr)),({h:Xr,l:yo}=xr_add(0|this.Hh,0|this.Hl,0|Xr,0|yo)),this.set(nt,xt,Ut,pe,Ie,We,sr,Cr,Qe,Gr,zr,ro,Ar,Vr,Xr,yo)}roundClean(){Ho.fill(0),we.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 Ce=Ht(()=>new ze);function ko(I){if("string"!=typeof I)throw new TypeError("Invalid mnemonic type: "+typeof I);return I.normalize("NFKD")}function ki(I,L=""){return function Dt(I,L,$,nt){const{c:xt,dkLen:Ut,DK:pe,PRF:Ie,PRFSalt:We}=function Oe(I,L,$,nt){X(I);const xt=function be(I,L){if(void 0!==L&&"[object Object]"!==Qt.call(L))throw new Error("Options should be object or undefined");return Object.assign(I,L)}({dkLen:32,asyncTick:10},nt),{c:Ut,dkLen:pe,asyncTick:Ie}=xt;if(T(Ut),T(pe),T(Ie),Ut<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const We=yr(L),sr=yr($),Cr=new Uint8Array(pe),Qe=oe.create(I,We),Gr=Qe._cloneInto().update(sr);return{c:Ut,dkLen:pe,asyncTick:Ie,DK:Cr,PRF:Qe,PRFSalt:Gr}}(I,L,$,nt);let sr;const Cr=new Uint8Array(4),Qe=yt(Cr),Gr=new Uint8Array(Ie.outputLen);for(let zr=1,ro=0;roko(`mnemonic${I}`))(L),{c:2048,dkLen:64})}function Ln(I){if(!Number.isSafeInteger(I)||I<0)throw new Error(`Wrong positive integer: ${I}`)}function cn(I,...L){if(!function $i(I){return I instanceof Uint8Array||null!=I&&"object"==typeof I&&"Uint8Array"===I.constructor.name}(I))throw new Error("Expected Uint8Array");if(L.length>0&&!L.includes(I.length))throw new Error(`Expected Uint8Array of length ${L}, not of length=${I.length}`)}function pi(I,L=!0){if(I.destroyed)throw new Error("Hash instance has been destroyed");if(L&&I.finished)throw new Error("Hash#digest() has already been called")}function On(I){return I instanceof Uint8Array||null!=I&&"object"==typeof I&&"Uint8Array"===I.constructor.name}const Mi=I=>new DataView(I.buffer,I.byteOffset,I.byteLength),Jt=(I,L)=>I<<32-L|I>>>L;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");const de=Array.from({length:256},(I,L)=>L.toString(16).padStart(2,"0")),Gt={_0:48,_9:57,_A:65,_F:70,_a:97,_f:102};function Ot(I){return I>=Gt._0&&I<=Gt._9?I-Gt._0:I>=Gt._A&&I<=Gt._F?I-(Gt._A-10):I>=Gt._a&&I<=Gt._f?I-(Gt._a-10):void 0}function Er(I){if("string"!=typeof I)throw new Error("utf8ToBytes expected string, got "+typeof I);return new Uint8Array((new TextEncoder).encode(I))}function kr(I){if("string"==typeof I&&(I=Er(I)),!On(I))throw new Error("expected Uint8Array, got "+typeof I);return I}function Rr(...I){let L=0;for(let nt=0;ntI().update(kr(nt)).digest(),$=I();return L.outputLen=$.outputLen,L.blockLen=$.blockLen,L.create=()=>I(),L}class Mn extends $r{constructor(L,$){super(),this.finished=!1,this.destroyed=!1,function qi(I){if("function"!=typeof I||"function"!=typeof I.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");Ln(I.outputLen),Ln(I.blockLen)}(L);const nt=kr($);if(this.iHash=L.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 xt=this.blockLen,Ut=new Uint8Array(xt);Ut.set(nt.length>xt?L.create().update(nt).digest():nt);for(let pe=0;penew Mn(I,L).update($).digest();Ro.create=(I,L)=>new Mn(I,L);class Fo extends $r{constructor(L,$,nt,xt){super(),this.blockLen=L,this.outputLen=$,this.padOffset=nt,this.isLE=xt,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(L),this.view=Mi(this.buffer)}update(L){pi(this);const{view:$,buffer:nt,blockLen:xt}=this,Ut=(L=kr(L)).length;for(let pe=0;pext-pe&&(this.process(nt,0),pe=0);for(let Qe=pe;Qe>xt&Ut),Ie=Number($&Ut),sr=nt?0:4;I.setUint32(L+(nt?4:0),pe,nt),I.setUint32(L+sr,Ie,nt)})(nt,xt-8,BigInt(8*this.length),Ut),this.process(nt,0);const Ie=Mi(L),We=this.outputLen;if(We%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const sr=We/4,Cr=this.get();if(sr>Cr.length)throw new Error("_sha2: outputLen bigger than state");for(let Qe=0;QeL);let as=[ta],Pn=[ta.map(I=>(9*I+5)%16)];for(let I=0;I<4;I++)for(let L of[as,Pn])L.push(L[I].map($=>Ei[$]));const _n=[[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)),ss=as.map((I,L)=>I.map($=>_n[L][$])),Ka=Pn.map((I,L)=>I.map($=>_n[L][$])),Ii=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),Ea=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),Ri=(I,L)=>I<>>32-L;function pa(I,L,$,nt){return 0===I?L^$^nt:1===I?L&$|~L&nt:2===I?(L|~$)^nt:3===I?L&nt|$&~nt:L^($|~nt)}const Ki=new Uint32Array(16);class gi extends Fo{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:L,h1:$,h2:nt,h3:xt,h4:Ut}=this;return[L,$,nt,xt,Ut]}set(L,$,nt,xt,Ut){this.h0=0|L,this.h1=0|$,this.h2=0|nt,this.h3=0|xt,this.h4=0|Ut}process(L,$){for(let zr=0;zr<16;zr++,$+=4)Ki[zr]=L.getUint32($,!0);let nt=0|this.h0,xt=nt,Ut=0|this.h1,pe=Ut,Ie=0|this.h2,We=Ie,sr=0|this.h3,Cr=sr,Qe=0|this.h4,Gr=Qe;for(let zr=0;zr<5;zr++){const ro=4-zr,Ar=Ii[zr],Vr=Ea[zr],Xr=as[zr],yo=Pn[zr],Ur=ss[zr],Oo=Ka[zr];for(let no=0;no<16;no++){const Co=Ri(nt+pa(zr,Ut,Ie,sr)+Ki[Xr[no]]+Ar,Ur[no])+Qe|0;nt=Qe,Qe=sr,sr=0|Ri(Ie,10),Ie=Ut,Ut=Co}for(let no=0;no<16;no++){const Co=Ri(xt+pa(ro,pe,We,Cr)+Ki[yo[no]]+Vr,Oo[no])+Gr|0;xt=Gr,Gr=Cr,Cr=0|Ri(We,10),We=pe,pe=Co}}this.set(this.h1+Ie+Cr|0,this.h2+sr+Gr|0,this.h3+Qe+xt|0,this.h4+nt+pe|0,this.h0+Ut+We|0)}roundClean(){Ki.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}const Gi=xo(()=>new gi),Ra=(I,L,$)=>I&L^~I&$,Xo=(I,L,$)=>I&L^I&$^L&$,Ca=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]),fi=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),ni=new Uint32Array(64);class ha extends Fo{constructor(){super(64,32,8,!1),this.A=0|fi[0],this.B=0|fi[1],this.C=0|fi[2],this.D=0|fi[3],this.E=0|fi[4],this.F=0|fi[5],this.G=0|fi[6],this.H=0|fi[7]}get(){const{A:L,B:$,C:nt,D:xt,E:Ut,F:pe,G:Ie,H:We}=this;return[L,$,nt,xt,Ut,pe,Ie,We]}set(L,$,nt,xt,Ut,pe,Ie,We){this.A=0|L,this.B=0|$,this.C=0|nt,this.D=0|xt,this.E=0|Ut,this.F=0|pe,this.G=0|Ie,this.H=0|We}process(L,$){for(let Qe=0;Qe<16;Qe++,$+=4)ni[Qe]=L.getUint32($,!1);for(let Qe=16;Qe<64;Qe++){const Gr=ni[Qe-15],zr=ni[Qe-2],ro=Jt(Gr,7)^Jt(Gr,18)^Gr>>>3,Ar=Jt(zr,17)^Jt(zr,19)^zr>>>10;ni[Qe]=Ar+ni[Qe-7]+ro+ni[Qe-16]|0}let{A:nt,B:xt,C:Ut,D:pe,E:Ie,F:We,G:sr,H:Cr}=this;for(let Qe=0;Qe<64;Qe++){const zr=Cr+(Jt(Ie,6)^Jt(Ie,11)^Jt(Ie,25))+Ra(Ie,We,sr)+Ca[Qe]+ni[Qe]|0,Ar=(Jt(nt,2)^Jt(nt,13)^Jt(nt,22))+Xo(nt,xt,Ut)|0;Cr=sr,sr=We,We=Ie,Ie=pe+zr|0,pe=Ut,Ut=xt,xt=nt,nt=zr+Ar|0}nt=nt+this.A|0,xt=xt+this.B|0,Ut=Ut+this.C|0,pe=pe+this.D|0,Ie=Ie+this.E|0,We=We+this.F|0,sr=sr+this.G|0,Cr=Cr+this.H|0,this.set(nt,xt,Ut,pe,Ie,We,sr,Cr)}roundClean(){ni.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const Qs=xo(()=>new ha),Ci=BigInt(2**32-1),co=BigInt(32);function Da(I,L=!1){return L?{h:Number(I&Ci),l:Number(I>>co&Ci)}:{h:0|Number(I>>co&Ci),l:0|Number(I&Ci)}}const et_split=function Ga(I,L=!1){let $=new Uint32Array(I.length),nt=new Uint32Array(I.length);for(let xt=0;xtI>>>$,et_shrSL=(I,L,$)=>I<<32-$|L>>>$,et_rotrSH=(I,L,$)=>I>>>$|L<<32-$,et_rotrSL=(I,L,$)=>I<<32-$|L>>>$,et_rotrBH=(I,L,$)=>I<<64-$|L>>>$-32,et_rotrBL=(I,L,$)=>I>>>$-32|L<<64-$,et_add=function Cs(I,L,$,nt){const xt=(L>>>0)+(nt>>>0);return{h:I+$+(xt/2**32|0)|0,l:0|xt}},et_add3L=(I,L,$)=>(I>>>0)+(L>>>0)+($>>>0),et_add3H=(I,L,$,nt)=>L+$+nt+(I/2**32|0)|0,et_add4L=(I,L,$,nt)=>(I>>>0)+(L>>>0)+($>>>0)+(nt>>>0),et_add4H=(I,L,$,nt,xt)=>L+$+nt+xt+(I/2**32|0)|0,et_add5H=(I,L,$,nt,xt,Ut)=>L+$+nt+xt+Ut+(I/2**32|0)|0,et_add5L=(I,L,$,nt,xt)=>(I>>>0)+(L>>>0)+($>>>0)+(nt>>>0)+(xt>>>0),[ne,Ee]=et_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))),Fr=new Uint32Array(80),Ir=new Uint32Array(80);class Hr extends Fo{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:L,Al:$,Bh:nt,Bl:xt,Ch:Ut,Cl:pe,Dh:Ie,Dl:We,Eh:sr,El:Cr,Fh:Qe,Fl:Gr,Gh:zr,Gl:ro,Hh:Ar,Hl:Vr}=this;return[L,$,nt,xt,Ut,pe,Ie,We,sr,Cr,Qe,Gr,zr,ro,Ar,Vr]}set(L,$,nt,xt,Ut,pe,Ie,We,sr,Cr,Qe,Gr,zr,ro,Ar,Vr){this.Ah=0|L,this.Al=0|$,this.Bh=0|nt,this.Bl=0|xt,this.Ch=0|Ut,this.Cl=0|pe,this.Dh=0|Ie,this.Dl=0|We,this.Eh=0|sr,this.El=0|Cr,this.Fh=0|Qe,this.Fl=0|Gr,this.Gh=0|zr,this.Gl=0|ro,this.Hh=0|Ar,this.Hl=0|Vr}process(L,$){for(let Ur=0;Ur<16;Ur++,$+=4)Fr[Ur]=L.getUint32($),Ir[Ur]=L.getUint32($+=4);for(let Ur=16;Ur<80;Ur++){const Oo=0|Fr[Ur-15],no=0|Ir[Ur-15],Co=et_rotrSH(Oo,no,1)^et_rotrSH(Oo,no,8)^et_shrSH(Oo,no,7),Go=et_rotrSL(Oo,no,1)^et_rotrSL(Oo,no,8)^et_shrSL(Oo,no,7),Uo=0|Fr[Ur-2],oi=0|Ir[Ur-2],Jn=et_rotrSH(Uo,oi,19)^et_rotrBH(Uo,oi,61)^et_shrSH(Uo,oi,6),Xn=et_rotrSL(Uo,oi,19)^et_rotrBL(Uo,oi,61)^et_shrSL(Uo,oi,6),yi=et_add4L(Go,Xn,Ir[Ur-7],Ir[Ur-16]),Si=et_add4H(yi,Co,Jn,Fr[Ur-7],Fr[Ur-16]);Fr[Ur]=0|Si,Ir[Ur]=0|yi}let{Ah:nt,Al:xt,Bh:Ut,Bl:pe,Ch:Ie,Cl:We,Dh:sr,Dl:Cr,Eh:Qe,El:Gr,Fh:zr,Fl:ro,Gh:Ar,Gl:Vr,Hh:Xr,Hl:yo}=this;for(let Ur=0;Ur<80;Ur++){const Oo=et_rotrSH(Qe,Gr,14)^et_rotrSH(Qe,Gr,18)^et_rotrBH(Qe,Gr,41),no=et_rotrSL(Qe,Gr,14)^et_rotrSL(Qe,Gr,18)^et_rotrBL(Qe,Gr,41),Co=Qe&zr^~Qe&Ar,Uo=et_add5L(yo,no,Gr&ro^~Gr&Vr,Ee[Ur],Ir[Ur]),oi=et_add5H(Uo,Xr,Oo,Co,ne[Ur],Fr[Ur]),Jn=0|Uo,Xn=et_rotrSH(nt,xt,28)^et_rotrBH(nt,xt,34)^et_rotrBH(nt,xt,39),yi=et_rotrSL(nt,xt,28)^et_rotrBL(nt,xt,34)^et_rotrBL(nt,xt,39),Si=nt&Ut^nt&Ie^Ut&Ie,bs=xt&pe^xt&We^pe&We;Xr=0|Ar,yo=0|Vr,Ar=0|zr,Vr=0|ro,zr=0|Qe,ro=0|Gr,({h:Qe,l:Gr}=et_add(0|sr,0|Cr,0|oi,0|Jn)),sr=0|Ie,Cr=0|We,Ie=0|Ut,We=0|pe,Ut=0|nt,pe=0|xt;const wo=et_add3L(Jn,yi,bs);nt=et_add3H(wo,oi,Xn,Si),xt=0|wo}({h:nt,l:xt}=et_add(0|this.Ah,0|this.Al,0|nt,0|xt)),({h:Ut,l:pe}=et_add(0|this.Bh,0|this.Bl,0|Ut,0|pe)),({h:Ie,l:We}=et_add(0|this.Ch,0|this.Cl,0|Ie,0|We)),({h:sr,l:Cr}=et_add(0|this.Dh,0|this.Dl,0|sr,0|Cr)),({h:Qe,l:Gr}=et_add(0|this.Eh,0|this.El,0|Qe,0|Gr)),({h:zr,l:ro}=et_add(0|this.Fh,0|this.Fl,0|zr,0|ro)),({h:Ar,l:Vr}=et_add(0|this.Gh,0|this.Gl,0|Ar,0|Vr)),({h:Xr,l:yo}=et_add(0|this.Hh,0|this.Hl,0|Xr,0|yo)),this.set(nt,xt,Ut,pe,Ie,We,sr,Cr,Qe,Gr,zr,ro,Ar,Vr,Xr,yo)}roundClean(){Fr.fill(0),Ir.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 Mo=xo(()=>new Hr);function Fn(I){if(!Number.isSafeInteger(I)||I<0)throw new Error(`Wrong positive integer: ${I}`)}function ji(I,...L){if(!(I instanceof Uint8Array))throw new Error("Expected Uint8Array");if(L.length>0&&!L.includes(I.length))throw new Error(`Expected Uint8Array of length ${L}, not of length=${I.length}`)}const lt={number:Fn,bool:function Oi(I){if("boolean"!=typeof I)throw new Error(`Expected boolean, not ${I}`)},bytes:ji,hash:function Hi(I){if("function"!=typeof I||"function"!=typeof I.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");Fn(I.outputLen),Fn(I.blockLen)},exists:function Us(I,L=!0){if(I.destroyed)throw new Error("Hash instance has been destroyed");if(L&&I.finished)throw new Error("Hash#digest() has already been called")},output:function $s(I,L){ji(I);const $=L.outputLen;if(I.length<$)throw new Error(`digestInto() expects output buffer of length at least ${$}`)}},dt="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,Q=I=>I instanceof Uint8Array,_o=I=>new DataView(I.buffer,I.byteOffset,I.byteLength),Jo=(I,L)=>I<<32-L|I>>>L;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function ba(I){if("string"==typeof I&&(I=function la(I){if("string"!=typeof I)throw new Error("utf8ToBytes expected string, got "+typeof I);return new Uint8Array((new TextEncoder).encode(I))}(I)),!Q(I))throw new Error("expected Uint8Array, got "+typeof I);return I}Array.from({length:256},(I,L)=>L.toString(16).padStart(2,"0"));class vc{clone(){return this._cloneInto()}}function dc(I){const L=nt=>I().update(ba(nt)).digest(),$=I();return L.outputLen=$.outputLen,L.blockLen=$.blockLen,L.create=()=>I(),L}function td(I=32){if(dt&&"function"==typeof dt.getRandomValues)return dt.getRandomValues(new Uint8Array(I));throw new Error("crypto.getRandomValues must be defined")}class uc extends vc{constructor(L,$,nt,xt){super(),this.blockLen=L,this.outputLen=$,this.padOffset=nt,this.isLE=xt,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(L),this.view=_o(this.buffer)}update(L){lt.exists(this);const{view:$,buffer:nt,blockLen:xt}=this,Ut=(L=ba(L)).length;for(let pe=0;pext-pe&&(this.process(nt,0),pe=0);for(let Qe=pe;Qe>xt&Ut),Ie=Number($&Ut),sr=nt?0:4;I.setUint32(L+(nt?4:0),pe,nt),I.setUint32(L+sr,Ie,nt)})(nt,xt-8,BigInt(8*this.length),Ut),this.process(nt,0);const Ie=_o(L),We=this.outputLen;if(We%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const sr=We/4,Cr=this.get();if(sr>Cr.length)throw new Error("_sha2: outputLen bigger than state");for(let Qe=0;QeI&L^~I&$,Oc=(I,L,$)=>I&L^I&$^L&$,Ss=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]),Ma=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),ja=new Uint32Array(64);class rd extends uc{constructor(){super(64,32,8,!1),this.A=0|Ma[0],this.B=0|Ma[1],this.C=0|Ma[2],this.D=0|Ma[3],this.E=0|Ma[4],this.F=0|Ma[5],this.G=0|Ma[6],this.H=0|Ma[7]}get(){const{A:L,B:$,C:nt,D:xt,E:Ut,F:pe,G:Ie,H:We}=this;return[L,$,nt,xt,Ut,pe,Ie,We]}set(L,$,nt,xt,Ut,pe,Ie,We){this.A=0|L,this.B=0|$,this.C=0|nt,this.D=0|xt,this.E=0|Ut,this.F=0|pe,this.G=0|Ie,this.H=0|We}process(L,$){for(let Qe=0;Qe<16;Qe++,$+=4)ja[Qe]=L.getUint32($,!1);for(let Qe=16;Qe<64;Qe++){const Gr=ja[Qe-15],zr=ja[Qe-2],ro=Jo(Gr,7)^Jo(Gr,18)^Gr>>>3,Ar=Jo(zr,17)^Jo(zr,19)^zr>>>10;ja[Qe]=Ar+ja[Qe-7]+ro+ja[Qe-16]|0}let{A:nt,B:xt,C:Ut,D:pe,E:Ie,F:We,G:sr,H:Cr}=this;for(let Qe=0;Qe<64;Qe++){const zr=Cr+(Jo(Ie,6)^Jo(Ie,11)^Jo(Ie,25))+$a(Ie,We,sr)+Ss[Qe]+ja[Qe]|0,Ar=(Jo(nt,2)^Jo(nt,13)^Jo(nt,22))+Oc(nt,xt,Ut)|0;Cr=sr,sr=We,We=Ie,Ie=pe+zr|0,pe=Ut,Ut=xt,xt=nt,nt=zr+Ar|0}nt=nt+this.A|0,xt=xt+this.B|0,Ut=Ut+this.C|0,pe=pe+this.D|0,Ie=Ie+this.E|0,We=We+this.F|0,sr=sr+this.G|0,Cr=Cr+this.H|0,this.set(nt,xt,Ut,pe,Ie,We,sr,Cr)}roundClean(){ja.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class ra extends rd{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 od=dc(()=>new rd),jc=(dc(()=>new ra),BigInt(0),BigInt(1)),pc=BigInt(2),Vc=I=>I instanceof Uint8Array,Hc=Array.from({length:256},(I,L)=>L.toString(16).padStart(2,"0"));function ps(I){if(!Vc(I))throw new Error("Uint8Array expected");let L="";for(let $=0;$nt+xt.length,0));let $=0;return I.forEach(nt=>{if(!Vc(nt))throw new Error("Uint8Array expected");L.set(nt,$),$+=nt.length}),L}const Xa=I=>(pc<new Uint8Array(I),Ui=I=>Uint8Array.from(I);function bi(I,L,$){if("number"!=typeof I||I<2)throw new Error("hashLen must be a number");if("number"!=typeof L||L<2)throw new Error("qByteLen must be a number");if("function"!=typeof $)throw new Error("hmacFn must be a function");let nt=Zs(I),xt=Zs(I),Ut=0;const pe=()=>{nt.fill(1),xt.fill(0),Ut=0},Ie=(...Qe)=>$(xt,nt,...Qe),We=(Qe=Zs())=>{xt=Ie(Ui([0]),Qe),nt=Ie(),0!==Qe.length&&(xt=Ie(Ui([1]),Qe),nt=Ie())},sr=()=>{if(Ut++>=1e3)throw new Error("drbg: tried 1000 values");let Qe=0;const Gr=[];for(;Qe{let zr;for(pe(),We(Qe);!(zr=Gr(sr()));)We();return pe(),zr}}const Cn={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,L)=>L.Fp.isValid(I),hash:I=>"function"==typeof I&&Number.isSafeInteger(I.outputLen)};function Va(I,L,$={}){const nt=(xt,Ut,pe)=>{const Ie=Cn[Ut];if("function"!=typeof Ie)throw new Error(`Invalid validator "${Ut}", expected function`);const We=I[xt];if(!(pe&&void 0===We||Ie(We,I)))throw new Error(`Invalid param ${String(xt)}=${We} (${typeof We}), expected ${Ut}`)};for(const[xt,Ut]of Object.entries(L))nt(xt,Ut,!1);for(const[xt,Ut]of Object.entries($))nt(xt,Ut,!0);return I}const di=BigInt(0),Un=BigInt(1),U=BigInt(2),Tt=BigInt(3),rt=BigInt(4),mt=BigInt(5),xe=BigInt(8);function eo(I,L){const $=I%L;return $>=di?$:L+$}function dn(I,L,$){if($<=di||L 0");if($===Un)return di;let nt=Un;for(;L>di;)L&Un&&(nt=nt*I%$),I=I*I%$,L>>=Un;return nt}function In(I,L,$){let nt=I;for(;L-- >di;)nt*=nt,nt%=$;return nt}function Dn(I,L){if(I===di||L<=di)throw new Error(`invert: expected positive integers, got n=${I} mod=${L}`);let $=eo(I,L),nt=L,xt=di,Ut=Un,pe=Un,Ie=di;for(;$!==di;){const sr=nt/$,Cr=nt%$,Qe=xt-pe*sr,Gr=Ut-Ie*sr;nt=$,$=Cr,xt=pe,Ut=Ie,pe=Qe,Ie=Gr}if(nt!==Un)throw new Error("invert: does not exist");return eo(xt,L)}BigInt(9),BigInt(16);const xn=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function La(I,L){const $=void 0!==L?L:I.toString(2).length;return{nBitLength:$,nByteLength:Math.ceil($/8)}}const Ms=BigInt(0),Is=BigInt(1);function ad(I){return function ya(I){Va(I,xn.reduce((nt,xt)=>(nt[xt]="function",nt),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"}))}(I.Fp),Va(I,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...La(I.n,I.nBitLength),...I,p:I.Fp.ORDER})}const{Ph:zc,aT:hl}=n,hc={Err:class extends Error{constructor(L=""){super(L)}},_parseInt(I){const{Err:L}=hc;if(I.length<2||2!==I[0])throw new L("Invalid signature integer tag");const $=I[1],nt=I.subarray(2,$+2);if(!$||nt.length!==$)throw new L("Invalid signature integer: wrong length");if(128&nt[0])throw new L("Invalid signature integer: negative");if(0===nt[0]&&!(128&nt[1]))throw new L("Invalid signature integer: unnecessary leading zero");return{d:zc(nt),l:I.subarray($+2)}},toSig(I){const{Err:L}=hc,$="string"==typeof I?hl(I):I;if(!($ instanceof Uint8Array))throw new Error("ui8a expected");let nt=$.length;if(nt<2||48!=$[0])throw new L("Invalid signature tag");if($[1]!==nt-2)throw new L("Invalid signature: incorrect length");const{d:xt,l:Ut}=hc._parseInt($.subarray(2)),{d:pe,l:Ie}=hc._parseInt(Ut);if(Ie.length)throw new L("Invalid signature: left bytes after parsing");return{r:xt,s:pe}},hexFromSig(I){const L=sr=>8&Number.parseInt(sr[0],16)?"00"+sr:sr,$=sr=>{const Cr=sr.toString(16);return 1&Cr.length?`0${Cr}`:Cr},nt=L($(I.s)),xt=L($(I.r)),Ut=nt.length/2,pe=xt.length/2,Ie=$(Ut),We=$(pe);return`30${$(pe+Ut+4)}02${We}${xt}02${Ie}${nt}`}},wi=BigInt(0),Wi=BigInt(1),sd=(BigInt(2),BigInt(3));function sp(I){const L=function Ud(I){const L=ad(I);return Va(L,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...L})}(I),{Fp:$,n:nt}=L,xt=$.BYTES+1,Ut=2*$.BYTES+1;function Ie(wo){return eo(wo,nt)}function We(wo){return Dn(wo,nt)}const{ProjectivePoint:sr,normPrivateKeyToScalar:Cr,weierstrassEquation:Qe,isWithinCurveOrder:Gr}=function cd(I){const L=function Bd(I){const L=ad(I);Va(L,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:$,Fp:nt,a:xt}=L;if($){if(!nt.eql(xt,nt.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof $||"bigint"!=typeof $.beta||"function"!=typeof $.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...L})}(I),{Fp:$}=L,nt=L.toBytes||((ro,Ar,Vr)=>{const Xr=Ar.toAffine();return ai(Uint8Array.from([4]),$.toBytes(Xr.x),$.toBytes(Xr.y))}),xt=L.fromBytes||(ro=>{const Ar=ro.subarray(1);return{x:$.fromBytes(Ar.subarray(0,$.BYTES)),y:$.fromBytes(Ar.subarray($.BYTES,2*$.BYTES))}});function Ut(ro){const{a:Ar,b:Vr}=L,Xr=$.sqr(ro),yo=$.mul(Xr,ro);return $.add($.add(yo,$.mul(ro,Ar)),Vr)}if(!$.eql($.sqr(L.Gy),Ut(L.Gx)))throw new Error("bad generator point: equation left != right");function pe(ro){return"bigint"==typeof ro&&wi$.eql(Ur,$.ZERO);return yo(Vr)&&yo(Xr)?Qe.ZERO:new Qe(Vr,Xr,$.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(Ar){const Vr=$.invertBatch(Ar.map(Xr=>Xr.pz));return Ar.map((Xr,yo)=>Xr.toAffine(Vr[yo])).map(Qe.fromAffine)}static fromHex(Ar){const Vr=Qe.fromAffine(xt(Qn("pointHex",Ar)));return Vr.assertValidity(),Vr}static fromPrivateKey(Ar){return Qe.BASE.multiply(We(Ar))}_setWindowSize(Ar){this._WINDOW_SIZE=Ar,sr.delete(this)}assertValidity(){if(this.is0()){if(L.allowInfinityPoint)return;throw new Error("bad point: ZERO")}const{x:Ar,y:Vr}=this.toAffine();if(!$.isValid(Ar)||!$.isValid(Vr))throw new Error("bad point: x or y not FE");const Xr=$.sqr(Vr),yo=Ut(Ar);if(!$.eql(Xr,yo))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:Ar}=this.toAffine();if($.isOdd)return!$.isOdd(Ar);throw new Error("Field doesn't support isOdd")}equals(Ar){Cr(Ar);const{px:Vr,py:Xr,pz:yo}=this,{px:Ur,py:Oo,pz:no}=Ar,Co=$.eql($.mul(Vr,no),$.mul(Ur,yo)),Go=$.eql($.mul(Xr,no),$.mul(Oo,yo));return Co&&Go}negate(){return new Qe(this.px,$.neg(this.py),this.pz)}double(){const{a:Ar,b:Vr}=L,Xr=$.mul(Vr,sd),{px:yo,py:Ur,pz:Oo}=this;let no=$.ZERO,Co=$.ZERO,Go=$.ZERO,Uo=$.mul(yo,yo),oi=$.mul(Ur,Ur),Jn=$.mul(Oo,Oo),Xn=$.mul(yo,Ur);return Xn=$.add(Xn,Xn),Go=$.mul(yo,Oo),Go=$.add(Go,Go),no=$.mul(Ar,Go),Co=$.mul(Xr,Jn),Co=$.add(no,Co),no=$.sub(oi,Co),Co=$.add(oi,Co),Co=$.mul(no,Co),no=$.mul(Xn,no),Go=$.mul(Xr,Go),Jn=$.mul(Ar,Jn),Xn=$.sub(Uo,Jn),Xn=$.mul(Ar,Xn),Xn=$.add(Xn,Go),Go=$.add(Uo,Uo),Uo=$.add(Go,Uo),Uo=$.add(Uo,Jn),Uo=$.mul(Uo,Xn),Co=$.add(Co,Uo),Jn=$.mul(Ur,Oo),Jn=$.add(Jn,Jn),Uo=$.mul(Jn,Xn),no=$.sub(no,Uo),Go=$.mul(Jn,oi),Go=$.add(Go,Go),Go=$.add(Go,Go),new Qe(no,Co,Go)}add(Ar){Cr(Ar);const{px:Vr,py:Xr,pz:yo}=this,{px:Ur,py:Oo,pz:no}=Ar;let Co=$.ZERO,Go=$.ZERO,Uo=$.ZERO;const oi=L.a,Jn=$.mul(L.b,sd);let Xn=$.mul(Vr,Ur),yi=$.mul(Xr,Oo),Si=$.mul(yo,no),bs=$.add(Vr,Xr),wo=$.add(Ur,Oo);bs=$.mul(bs,wo),wo=$.add(Xn,yi),bs=$.sub(bs,wo),wo=$.add(Vr,yo);let Vo=$.add(Ur,no);return wo=$.mul(wo,Vo),Vo=$.add(Xn,Si),wo=$.sub(wo,Vo),Vo=$.add(Xr,yo),Co=$.add(Oo,no),Vo=$.mul(Vo,Co),Co=$.add(yi,Si),Vo=$.sub(Vo,Co),Uo=$.mul(oi,wo),Co=$.mul(Jn,Si),Uo=$.add(Co,Uo),Co=$.sub(yi,Uo),Uo=$.add(yi,Uo),Go=$.mul(Co,Uo),yi=$.add(Xn,Xn),yi=$.add(yi,Xn),Si=$.mul(oi,Si),wo=$.mul(Jn,wo),yi=$.add(yi,Si),Si=$.sub(Xn,Si),Si=$.mul(oi,Si),wo=$.add(wo,Si),Xn=$.mul(yi,wo),Go=$.add(Go,Xn),Xn=$.mul(Vo,wo),Co=$.mul(bs,Co),Co=$.sub(Co,Xn),Xn=$.mul(bs,yi),Uo=$.mul(Vo,Uo),Uo=$.add(Uo,Xn),new Qe(Co,Go,Uo)}subtract(Ar){return this.add(Ar.negate())}is0(){return this.equals(Qe.ZERO)}wNAF(Ar){return zr.wNAFCached(this,sr,Ar,Vr=>{const Xr=$.invertBatch(Vr.map(yo=>yo.pz));return Vr.map((yo,Ur)=>yo.toAffine(Xr[Ur])).map(Qe.fromAffine)})}multiplyUnsafe(Ar){const Vr=Qe.ZERO;if(Ar===wi)return Vr;if(Ie(Ar),Ar===Wi)return this;const{endo:Xr}=L;if(!Xr)return zr.unsafeLadder(this,Ar);let{k1neg:yo,k1:Ur,k2neg:Oo,k2:no}=Xr.splitScalar(Ar),Co=Vr,Go=Vr,Uo=this;for(;Ur>wi||no>wi;)Ur&Wi&&(Co=Co.add(Uo)),no&Wi&&(Go=Go.add(Uo)),Uo=Uo.double(),Ur>>=Wi,no>>=Wi;return yo&&(Co=Co.negate()),Oo&&(Go=Go.negate()),Go=new Qe($.mul(Go.px,Xr.beta),Go.py,Go.pz),Co.add(Go)}multiply(Ar){Ie(Ar);let Xr,yo,Vr=Ar;const{endo:Ur}=L;if(Ur){const{k1neg:Oo,k1:no,k2neg:Co,k2:Go}=Ur.splitScalar(Vr);let{p:Uo,f:oi}=this.wNAF(no),{p:Jn,f:Xn}=this.wNAF(Go);Uo=zr.constTimeNegate(Oo,Uo),Jn=zr.constTimeNegate(Co,Jn),Jn=new Qe($.mul(Jn.px,Ur.beta),Jn.py,Jn.pz),Xr=Uo.add(Jn),yo=oi.add(Xn)}else{const{p:Oo,f:no}=this.wNAF(Vr);Xr=Oo,yo=no}return Qe.normalizeZ([Xr,yo])[0]}multiplyAndAddUnsafe(Ar,Vr,Xr){const yo=Qe.BASE,Ur=(no,Co)=>Co!==wi&&Co!==Wi&&no.equals(yo)?no.multiply(Co):no.multiplyUnsafe(Co),Oo=Ur(this,Vr).add(Ur(Ar,Xr));return Oo.is0()?void 0:Oo}toAffine(Ar){const{px:Vr,py:Xr,pz:yo}=this,Ur=this.is0();null==Ar&&(Ar=Ur?$.ONE:$.inv(yo));const Oo=$.mul(Vr,Ar),no=$.mul(Xr,Ar),Co=$.mul(yo,Ar);if(Ur)return{x:$.ZERO,y:$.ZERO};if(!$.eql(Co,$.ONE))throw new Error("invZ was invalid");return{x:Oo,y:no}}isTorsionFree(){const{h:Ar,isTorsionFree:Vr}=L;if(Ar===Wi)return!0;if(Vr)return Vr(Qe,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:Ar,clearCofactor:Vr}=L;return Ar===Wi?this:Vr?Vr(Qe,this):this.multiplyUnsafe(L.h)}toRawBytes(Ar=!0){return this.assertValidity(),nt(Qe,this,Ar)}toHex(Ar=!0){return ps(this.toRawBytes(Ar))}}Qe.BASE=new Qe(L.Gx,L.Gy,$.ONE),Qe.ZERO=new Qe($.ZERO,$.ONE,$.ZERO);const Gr=L.nBitLength,zr=function Rc(I,L){const $=(xt,Ut)=>{const pe=Ut.negate();return xt?pe:Ut},nt=xt=>({windows:Math.ceil(L/xt)+1,windowSize:2**(xt-1)});return{constTimeNegate:$,unsafeLadder(xt,Ut){let pe=I.ZERO,Ie=xt;for(;Ut>Ms;)Ut&Is&&(pe=pe.add(Ie)),Ie=Ie.double(),Ut>>=Is;return pe},precomputeWindow(xt,Ut){const{windows:pe,windowSize:Ie}=nt(Ut),We=[];let sr=xt,Cr=sr;for(let Qe=0;Qe>=zr,Vr>We&&(Vr-=Gr,pe+=Is);const Xr=Ar,yo=Ar+Math.abs(Vr)-1,Oo=Vr<0;0===Vr?Cr=Cr.add($(ro%2!=0,Ut[Xr])):sr=sr.add($(Oo,Ut[yo]))}return{p:sr,f:Cr}},wNAFCached(xt,Ut,pe,Ie){const We=xt._WINDOW_SIZE||1;let sr=Ut.get(xt);return sr||(sr=this.precomputeWindow(xt,We),1!==We&&Ut.set(xt,Ie(sr))),this.wNAF(We,sr,pe)}}}(Qe,L.endo?Math.ceil(Gr/2):Gr);return{CURVE:L,ProjectivePoint:Qe,normPrivateKeyToScalar:We,weierstrassEquation:Ut,isWithinCurveOrder:pe}}({...L,toBytes(wo,Vo,Hn){const Yn=Vo.toAffine(),Ai=$.toBytes(Yn.x),fa=ai;return Hn?fa(Uint8Array.from([Vo.hasEvenY()?2:3]),Ai):fa(Uint8Array.from([4]),Ai,$.toBytes(Yn.y))},fromBytes(wo){const Vo=wo.length,Hn=wo[0],Yn=wo.subarray(1);if(Vo!==xt||2!==Hn&&3!==Hn){if(Vo===Ut&&4===Hn)return{x:$.fromBytes(Yn.subarray(0,$.BYTES)),y:$.fromBytes(Yn.subarray($.BYTES,2*$.BYTES))};throw new Error(`Point of length ${Vo} was invalid. Expected ${xt} compressed bytes or ${Ut} uncompressed bytes`)}{const Ai=ii(Yn);if(!function pe(wo){return wips(Ao(wo,L.nByteLength));function ro(wo){return wo>nt>>Wi}const Vr=(wo,Vo,Hn)=>ii(wo.slice(Vo,Hn));class Xr{constructor(Vo,Hn,Yn){this.r=Vo,this.s=Hn,this.recovery=Yn,this.assertValidity()}static fromCompact(Vo){const Hn=L.nByteLength;return Vo=Qn("compactSignature",Vo,2*Hn),new Xr(Vr(Vo,0,Hn),Vr(Vo,Hn,2*Hn))}static fromDER(Vo){const{r:Hn,s:Yn}=hc.toSig(Qn("DER",Vo));return new Xr(Hn,Yn)}assertValidity(){if(!Gr(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!Gr(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(Vo){return new Xr(this.r,this.s,Vo)}recoverPublicKey(Vo){const{r:Hn,s:Yn,recovery:Ai}=this,fa=Go(Qn("msgHash",Vo));if(null==Ai||![0,1,2,3].includes(Ai))throw new Error("recovery id invalid");const qa=2===Ai||3===Ai?Hn+L.n:Hn;if(qa>=$.ORDER)throw new Error("recovery id 2 or 3 invalid");const tc=sr.fromHex((1&Ai?"03":"02")+zr(qa)),Cc=We(qa),qc=Ie(-fa*Cc),bl=Ie(Yn*Cc),Jc=sr.BASE.multiplyAndAddUnsafe(tc,qc,bl);if(!Jc)throw new Error("point at infinify");return Jc.assertValidity(),Jc}hasHighS(){return ro(this.s)}normalizeS(){return this.hasHighS()?new Xr(this.r,Ie(-this.s),this.recovery):this}toDERRawBytes(){return zi(this.toDERHex())}toDERHex(){return hc.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return zi(this.toCompactHex())}toCompactHex(){return zr(this.r)+zr(this.s)}}const yo={isValidPrivateKey(wo){try{return Cr(wo),!0}catch{return!1}},normPrivateKeyToScalar:Cr,randomPrivateKey:()=>{const Vo=function id(I,L,$=!1){const nt=(I=Qn("privateHash",I)).length,xt=La(L).nByteLength+8;if(xt<24||nt1024)throw new Error(`hashToPrivateScalar: expected ${xt}-1024 bytes of input, got ${nt}`);return eo($?Pr(I):ii(I),L-Un)+Un}(L.randomBytes($.BYTES+8),nt);return Ao(Vo,L.nByteLength)},precompute:(wo=8,Vo=sr.BASE)=>(Vo._setWindowSize(wo),Vo.multiply(BigInt(3)),Vo)};function Oo(wo){const Vo=wo instanceof Uint8Array,Hn="string"==typeof wo,Yn=(Vo||Hn)&&wo.length;return Vo?Yn===xt||Yn===Ut:Hn?Yn===2*xt||Yn===2*Ut:wo instanceof sr}const Co=L.bits2int||function(wo){const Vo=ii(wo),Hn=8*wo.length-L.nBitLength;return Hn>0?Vo>>BigInt(Hn):Vo},Go=L.bits2int_modN||function(wo){return Ie(Co(wo))},Uo=Xa(L.nBitLength);function oi(wo){if("bigint"!=typeof wo)throw new Error("bigint expected");if(!(wi<=wo&&wotl in Hn))throw new Error("sign() legacy options not supported");const{hash:Yn,randomBytes:Ai}=L;let{lowS:fa,prehash:qa,extraEntropy:Pa}=Hn;null==fa&&(fa=!0),wo=Qn("msgHash",wo),qa&&(wo=Qn("prehashed msgHash",Yn(wo)));const tc=Go(wo),Cc=Cr(Vo),qc=[oi(Cc),oi(tc)];if(null!=Pa){const tl=!0===Pa?Ai($.BYTES):Pa;qc.push(Qn("extraEntropy",tl,$.BYTES))}const bl=ai(...qc),Jc=tc;return{seed:bl,k2sig:function wl(tl){const Ol=Co(tl);if(!Gr(Ol))return;const fp=We(Ol),Ja=sr.BASE.multiply(Ol).toAffine(),fc=Ie(Ja.x);if(fc===wi)return;const yl=Ie(fp*Ie(Jc+fc*Cc));if(yl===wi)return;let el=(Ja.x===fc?0:2)|Number(Ja.y&Wi),Vd=yl;return fa&&ro(yl)&&(Vd=function Ar(wo){return ro(wo)?Ie(-wo):wo}(yl),el^=1),new Xr(fc,Vd,el)}}}(wo,Vo,Hn);return bi(L.hash.outputLen,L.nByteLength,L.hmac)(Yn,Ai)},verify:function bs(wo,Vo,Hn,Yn=yi){const Ai=wo;if(Vo=Qn("msgHash",Vo),Hn=Qn("publicKey",Hn),"strict"in Yn)throw new Error("options.strict was renamed to lowS");const{lowS:fa,prehash:qa}=Yn;let Pa,tc;try{if("string"==typeof Ai||Ai instanceof Uint8Array)try{Pa=Xr.fromDER(Ai)}catch(Ja){if(!(Ja instanceof hc.Err))throw Ja;Pa=Xr.fromCompact(Ai)}else{if("object"!=typeof Ai||"bigint"!=typeof Ai.r||"bigint"!=typeof Ai.s)throw new Error("PARSE");{const{r:Ja,s:fc}=Ai;Pa=new Xr(Ja,fc)}}tc=sr.fromHex(Hn)}catch(Ja){if("PARSE"===Ja.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(fa&&Pa.hasHighS())return!1;qa&&(Vo=L.hash(Vo));const{r:Cc,s:qc}=Pa,bl=Go(Vo),Jc=We(qc),wl=Ie(bl*Jc),tl=Ie(Cc*Jc),Ol=sr.BASE.multiplyAndAddUnsafe(tc,wl,tl)?.toAffine();return!!Ol&&Ie(Ol.x)===Cc},ProjectivePoint:sr,Signature:Xr,utils:yo}}BigInt(4);class Xc extends vc{constructor(L,$){super(),this.finished=!1,this.destroyed=!1,lt.hash(L);const nt=ba($);if(this.iHash=L.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 xt=this.blockLen,Ut=new Uint8Array(xt);Ut.set(nt.length>xt?L.create().update(nt).digest():nt);for(let pe=0;penew Xc(I,L).update($).digest();function cp(I){return{hash:I,hmac:(L,...$)=>Ws(I,L,function Vs(...I){const L=new Uint8Array(I.reduce((nt,xt)=>nt+xt.length,0));let $=0;return I.forEach(nt=>{if(!Q(nt))throw new Error("Uint8Array expected");L.set(nt,$),$+=nt.length}),L}(...$)),randomBytes:td}}Ws.create=(I,L)=>new Xc(I,L);const qn=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),Do=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),fl=BigInt(1),oa=BigInt(2),R=(I,L)=>(I+L/oa)/L;const F=function As(I,L,$=!1,nt={}){if(I<=di)throw new Error(`Expected Fp ORDER > 0, got ${I}`);const{nBitLength:xt,nByteLength:Ut}=La(I,L);if(Ut>2048)throw new Error("Field lengths over 2048 bytes are not supported");const pe=function ln(I){if(I%rt===Tt){const L=(I+Un)/rt;return function(nt,xt){const Ut=nt.pow(xt,L);if(!nt.eql(nt.sqr(Ut),xt))throw new Error("Cannot find square root");return Ut}}if(I%xe===mt){const L=(I-mt)/xe;return function(nt,xt){const Ut=nt.mul(xt,U),pe=nt.pow(Ut,L),Ie=nt.mul(xt,pe),We=nt.mul(nt.mul(Ie,U),pe),sr=nt.mul(Ie,nt.sub(We,nt.ONE));if(!nt.eql(nt.sqr(sr),xt))throw new Error("Cannot find square root");return sr}}return function No(I){const L=(I-Un)/U;let $,nt,xt;for($=I-Un,nt=0;$%U===di;$/=U,nt++);for(xt=U;xteo(We,I),isValid:We=>{if("bigint"!=typeof We)throw new Error("Invalid field element: expected bigint, got "+typeof We);return di<=We&&WeWe===di,isOdd:We=>(We&Un)===Un,neg:We=>eo(-We,I),eql:(We,sr)=>We===sr,sqr:We=>eo(We*We,I),add:(We,sr)=>eo(We+sr,I),sub:(We,sr)=>eo(We-sr,I),mul:(We,sr)=>eo(We*sr,I),pow:(We,sr)=>function Ni(I,L,$){if($ 0");if($===di)return I.ONE;if($===Un)return L;let nt=I.ONE,xt=L;for(;$>di;)$&Un&&(nt=I.mul(nt,xt)),xt=I.sqr(xt),$>>=Un;return nt}(Ie,We,sr),div:(We,sr)=>eo(We*Dn(sr,I),I),sqrN:We=>We*We,addN:(We,sr)=>We+sr,subN:(We,sr)=>We-sr,mulN:(We,sr)=>We*sr,inv:We=>Dn(We,I),sqrt:nt.sqrt||(We=>pe(Ie,We)),invertBatch:We=>function hs(I,L){const $=new Array(L.length),nt=L.reduce((Ut,pe,Ie)=>I.is0(pe)?Ut:($[Ie]=Ut,I.mul(Ut,pe)),I.ONE),xt=I.inv(nt);return L.reduceRight((Ut,pe,Ie)=>I.is0(pe)?Ut:($[Ie]=I.mul(Ut,$[Ie]),I.mul(Ut,pe)),xt),$}(Ie,We),cmov:(We,sr,Cr)=>Cr?sr:We,toBytes:We=>$?Rn(We,Ut):Ao(We,Ut),fromBytes:We=>{if(We.length!==Ut)throw new Error(`Fp.fromBytes: expected ${Ut}, got ${We.length}`);return $?Pr(We):ii(We)}});return Object.freeze(Ie)}(qn,void 0,void 0,{sqrt:function G(I){const L=qn,$=BigInt(3),nt=BigInt(6),xt=BigInt(11),Ut=BigInt(22),pe=BigInt(23),Ie=BigInt(44),We=BigInt(88),sr=I*I*I%L,Cr=sr*sr*I%L,Qe=In(Cr,$,L)*Cr%L,Gr=In(Qe,$,L)*Cr%L,zr=In(Gr,oa,L)*sr%L,ro=In(zr,xt,L)*zr%L,Ar=In(ro,Ut,L)*ro%L,Vr=In(Ar,Ie,L)*Ar%L,Xr=In(Vr,We,L)*Vr%L,yo=In(Xr,Ie,L)*Ar%L,Ur=In(yo,$,L)*Cr%L,Oo=In(Ur,pe,L)*ro%L,no=In(Oo,nt,L)*sr%L,Co=In(no,oa,L);if(!F.eql(F.sqr(Co),I))throw new Error("Cannot find square root");return Co}}),K=function lp(I,L){const $=nt=>sp({...I,...cp(nt)});return Object.freeze({...$(L),create:$})}({a:BigInt(0),b:BigInt(7),Fp:F,n:Do,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:I=>{const L=Do,$=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),nt=-fl*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),xt=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),Ut=$,pe=BigInt("0x100000000000000000000000000000000"),Ie=R(Ut*I,L),We=R(-nt*I,L);let sr=eo(I-Ie*$-We*xt,L),Cr=eo(-Ie*nt-We*Ut,L);const Qe=sr>pe,Gr=Cr>pe;if(Qe&&(sr=L-sr),Gr&&(Cr=L-Cr),sr>pe||Cr>pe)throw new Error("splitScalar: Endomorphism failed, k="+I);return{k1neg:Qe,k1:sr,k2neg:Gr,k2:Cr}}}},od);BigInt(0);var Yc=o(1998);const Qc=K.ProjectivePoint,dd=(0,Yc.Tq)(Qs);function ud(I){return BigInt(`0x${function ft(I){if(!On(I))throw new Error("Uint8Array expected");let L="";for(let $=0;${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 L=new Uint8Array(4);return Mi(L).setUint32(0,I,!1),L};class Rs{get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return Mi(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 L=this.privateKey;if(!L)throw new Error("No private key");return dd.encode(this.serialize(this.versions.private,Rr(new Uint8Array([0]),L)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return dd.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(L,$=fn){if(cn(L),8*L.length<128||8*L.length>512)throw new Error(`HDKey: wrong seed length=${L.length}. Should be between 128 and 512 bits; 256 bits is advised)`);const nt=Ro(Mo,_r,L);return new Rs({versions:$,chainCode:nt.slice(32),privateKey:nt.slice(0,32)})}static fromExtendedKey(L,$=fn){const nt=dd.decode(L),xt=Mi(nt),Ut=xt.getUint32(0,!1),pe={versions:$,depth:nt[4],parentFingerprint:xt.getUint32(5,!1),index:xt.getUint32(9,!1),chainCode:nt.slice(13,45)},Ie=nt.slice(45),We=0===Ie[0];if(Ut!==$[We?"private":"public"])throw new Error("Version mismatch");return new Rs(We?{...pe,privateKey:Ie.slice(1)}:{...pe,publicKey:Ie})}static fromJSON(L){return Rs.fromExtendedKey(L.xpriv)}constructor(L){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!L||"object"!=typeof L)throw new Error("HDKey.constructor must not be called directly");if(this.versions=L.versions||fn,this.depth=L.depth||0,this.chainCode=L.chainCode,this.index=L.index||0,this.parentFingerprint=L.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(L.publicKey&&L.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(L.privateKey){if(!K.utils.isValidPrivateKey(L.privateKey))throw new Error("Invalid private key");this.privKey="bigint"==typeof L.privateKey?L.privateKey:ud(L.privateKey),this.privKeyBytes=function Js(I){return function me(I){if("string"!=typeof I)throw new Error("hex string expected, got "+typeof I);const L=I.length,$=L/2;if(L%2)throw new Error("padded hex string expected, got unpadded hex of length "+L);const nt=new Uint8Array($);for(let xt=0,Ut=0;xt<$;xt++,Ut+=2){const pe=Ot(I.charCodeAt(Ut)),Ie=Ot(I.charCodeAt(Ut+1));if(void 0===pe||void 0===Ie)throw new Error('hex string expected, got non-hex character "'+(I[Ut]+I[Ut+1])+'" at index '+Ut);nt[xt]=16*pe+Ie}return nt}(I.toString(16).padStart(64,"0"))}(this.privKey),this.pubKey=K.getPublicKey(L.privateKey,!0)}else{if(!L.publicKey)throw new Error("HDKey: no public or private key provided");this.pubKey=Qc.fromHex(L.publicKey).toRawBytes(!0)}this.pubHash=Gi(Qs(this.pubKey))}derive(L){if(!/^[mM]'?/.test(L))throw new Error('Path must start with "m" or "M"');if(/^[mM]'?$/.test(L))return this;const $=L.replace(/^[mM]'?\//,"").split("/");let nt=this;for(const xt of $){const Ut=/^(\d+)('?)$/.exec(xt);if(!Ut||3!==Ut.length)throw new Error(`Invalid child index: ${xt}`);let pe=+Ut[1];if(!Number.isSafeInteger(pe)||pe>=Ml)throw new Error("Invalid index");"'"===Ut[2]&&(pe+=Ml),nt=nt.deriveChild(pe)}return nt}deriveChild(L){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let $=Nc(L);if(L>=Ml){const Ie=this.privateKey;if(!Ie)throw new Error("Could not derive hardened child key");$=Rr(new Uint8Array([0]),Ie,$)}else $=Rr(this.pubKey,$);const nt=Ro(Mo,this.chainCode,$),xt=ud(nt.slice(0,32)),Ut=nt.slice(32);if(!K.utils.isValidPrivateKey(xt))throw new Error("Tweak bigger than curve order");const pe={versions:this.versions,chainCode:Ut,depth:this.depth+1,parentFingerprint:this.fingerprint,index:L};try{if(this.privateKey){const Ie=eo(this.privKey+xt,K.CURVE.n);if(!K.utils.isValidPrivateKey(Ie))throw new Error("The tweak was out of range or the resulted private key is invalid");pe.privateKey=Ie}else{const Ie=Qc.fromHex(this.pubKey).add(Qc.fromPrivateKey(xt));if(Ie.equals(Qc.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");pe.publicKey=Ie.toRawBytes(!0)}return new Rs(pe)}catch{return this.deriveChild(L+1)}}sign(L){if(!this.privateKey)throw new Error("No privateKey set!");return cn(L,32),K.sign(L,this.privKey).toCompactRawBytes()}verify(L,$){if(cn(L,32),cn($,64),!this.publicKey)throw new Error("No publicKey set!");let nt;try{nt=K.Signature.fromCompact($)}catch{return!1}return K.verify(nt,L,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(L,$){if(!this.chainCode)throw new Error("No chainCode set");return cn($,33),Rr(Nc(L),new Uint8Array([this.depth]),Nc(this.parentFingerprint),Nc(this.index),this.chainCode,$)}}var fs=o(3107);let Zc=(()=>{class I{constructor(){this.encoder=new TextEncoder,this.decoder=new TextDecoder}getPasswordKey($){var nt=this;return(0,a.A)(function*(){return window.crypto.subtle.importKey("raw",nt.encoder.encode($),"PBKDF2",!1,["deriveKey"])})()}deriveKey($,nt,xt){return(0,a.A)(function*(){return window.crypto.subtle.deriveKey({name:"PBKDF2",salt:nt,iterations:25e4,hash:"SHA-256"},$,{name:"AES-GCM",length:256},!1,xt)})()}encryptData($,nt){var xt=this;return(0,a.A)(function*(){try{const Ut=window.crypto.getRandomValues(new Uint8Array(16)),pe=window.crypto.getRandomValues(new Uint8Array(12)),Ie=yield xt.getPasswordKey(nt),We=yield xt.deriveKey(Ie,Ut,["encrypt"]),sr=new Uint8Array(yield window.crypto.subtle.encrypt({name:"AES-GCM",iv:pe},We,xt.encoder.encode($))),Cr=new Uint8Array(Ut.length+pe.length+sr.length);return Cr.set(Ut,0),Cr.set(pe,Ut.length),Cr.set(sr,Ut.length+pe.length),Yc.K3.encode(Cr)}catch(Ut){throw console.error("Encryption failed:",Ut),new Error("Failed to encrypt data.")}})()}decryptData($,nt){var xt=this;return(0,a.A)(function*(){try{const Ut=Yc.K3.decode($),pe=Ut.slice(0,16),Ie=Ut.slice(16,28),We=Ut.slice(28),sr=yield xt.getPasswordKey(nt),Cr=yield xt.deriveKey(sr,pe,["decrypt"]),Qe=yield window.crypto.subtle.decrypt({name:"AES-GCM",iv:Ie},Cr,We);return xt.decoder.decode(Qe)}catch(Ut){throw console.error("Decryption failed:",Ut),new Error("Failed to decrypt data.")}})()}static{this.\u0275fac=function(nt){return new(nt||I)}}static{this.\u0275prov=fs.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})();var Za=o(7544),Ec=o(4482);let vu=(()=>{class I{constructor($,nt,xt){this.securityService=$,this.dialog=nt,this._nostrLoginService=xt,this.localStorageSecretKeyName="secretKey",this.localStoragePublicKeyName="publicKey",this.localStorageNpubName="npub",this.localStorageNsecName="nsec",this.storageKey="userPassword"}savePassword($,nt){const xt=Date.now()+60*nt*1e3;sessionStorage.setItem(this.storageKey,JSON.stringify({password:$,expirationTime:xt}))}getPassword(){const $=sessionStorage.getItem(this.storageKey);if(!$)return null;const{password:nt,expirationTime:xt}=JSON.parse($);return Date.now()>xt?(this.clearPassword(),null):nt}clearPassword(){sessionStorage.removeItem(this.storageKey)}changePassword($,nt,xt){var Ut=this;return(0,a.A)(function*(){try{const pe=yield Ut.getSecretKey($);if(!pe)throw new Error("Incorrect current password.");yield Ut.setSecretKey(pe,nt);const Ie=yield Ut.getNsec($);return Ie&&(yield Ut.setNsec(Ie,nt)),Ut.clearPassword(),xt&&Ut.savePassword(nt,60),!0}catch(pe){return console.error("Failed to change password: ",pe),!1}})()}getUsername($){return $.startsWith("npub")&&($=C.Qe.decode($).data.toString()),`@${localStorage.getItem(`${$}`)||C.Qe.npubEncode($)}`}npub(){let $=this.getPublicKey();return C.Qe.npubEncode($)}requestPassword(){var $=this;return(0,a.A)(function*(){return $.dialog.open(y.b,{width:"300px",disableClose:!0}).afterClosed().toPromise()})()}nsec($){var nt=this;return(0,a.A)(function*(){if(nt.usingSecretKey()){let xt=yield nt.getSecretKey($);const Ut=Uint8Array.from(k.hp.from(xt,"hex"));return C.Qe.nsecEncode(Ut)}return""})()}pubkey($){return C.Qe.decode($).data.toString()}setPublicKey($){const nt=C.Qe.npubEncode($);window.localStorage.setItem(this.localStoragePublicKeyName,$),window.localStorage.setItem(this.localStorageNpubName,nt)}getPublicKey(){const $=localStorage.getItem("__nostrlogin_nip46");if($)try{return JSON.parse($).pubkey||""}catch(nt){console.error("Error parsing nostr login data:",nt)}return localStorage.getItem(this.localStoragePublicKeyName)||""}setNpub($){localStorage.setItem(this.localStorageNpubName,$)}getNpub(){return window.localStorage.getItem(this.localStorageNpubName)||""}setSecretKey($,nt=""){var xt=this;return(0,a.A)(function*(){if(""===nt)localStorage.setItem(xt.localStorageSecretKeyName,$),localStorage.setItem("usePassword","false");else{const Ut=yield xt.securityService.encryptData($,nt);localStorage.setItem(xt.localStorageSecretKeyName,Ut),localStorage.setItem("usePassword","true")}})()}getSecretKey($=""){var nt=this;return(0,a.A)(function*(){const xt=localStorage.getItem(nt.localStorageSecretKeyName),Ut="true"===localStorage.getItem("usePassword");return xt?Ut?yield nt.securityService.decryptData(xt,$):xt:null})()}getDecryptedSecretKey(){var $=this;return(0,a.A)(function*(){try{if("true"!==localStorage.getItem("usePassword"))return $.getSecretKey();const xt=$.getPassword();if(xt)return yield $.getSecretKey(xt);const Ut=yield $.requestPassword();if(Ut?.password){const pe=yield $.getSecretKey(Ut.password);return 0!==Ut.duration&&$.savePassword(Ut.password,Ut.duration),pe}return console.error("Password not provided"),null}catch(nt){return console.error("Error decrypting private key:",nt),null}})()}setNsec($,nt=""){var xt=this;return(0,a.A)(function*(){if(""===nt)localStorage.setItem(xt.localStorageNsecName,$),localStorage.setItem("usePassword","false");else{const Ut=yield xt.securityService.encryptData($,nt);localStorage.setItem(xt.localStorageNsecName,Ut),localStorage.setItem("usePassword","true")}})()}getNsec($=""){var nt=this;return(0,a.A)(function*(){const xt=localStorage.getItem(nt.localStorageNsecName),Ut="true"===localStorage.getItem("usePassword");return xt?Ut?yield nt.securityService.decryptData(xt,$):xt:null})()}setPublicKeyFromExtension($){this.setPublicKey($)}handleLoginWithKey($,nt=""){let xt,Ut,pe,Ie;try{if($.startsWith(this.localStorageNsecName)){const sr=C.Qe.decode($);if(sr.type!==this.localStorageNsecName)throw new Error("Invalid nsec key.");xt=k.hp.from(sr.data).toString("hex")}else{if(!/^[0-9a-fA-F]{64}$/.test($))throw new Error("Invalid key format. Must be either nsec or hex.");xt=$}const We=new Uint8Array(k.hp.from(xt,"hex"));return Ut=(0,C.lG)(We),Ie=C.Qe.npubEncode(Ut),pe=C.Qe.nsecEncode(We),this.setSecretKey(xt,nt),this.setNsec(Ie,nt),this.setPublicKey(Ut),this.setNpub(Ie),!0}catch(We){return console.error("Error during key handling: ",We),!1}}handleLoginWithMnemonic($,nt="",xt=""){try{const pe=function Il(I,L,$=0){let xt=Rs.fromMasterSeed(ki(I,L)).derive(`m/44'/1237'/${$}'/0/0`).privateKey;if(!xt)throw new Error("could not derive private key");return xt}($,nt,0),Ie=(0,l.My)(pe),We=(0,C.lG)(pe),sr=C.Qe.npubEncode(We),Cr=C.Qe.nsecEncode(pe);return this.setSecretKey(Ie,xt),this.setNsec(Cr,xt),this.setPublicKey(We),this.setNpub(sr),window.localStorage.setItem(this.localStorageNsecName,Cr),!0}catch(Ut){return console.error("Error during login with mnemonic:",Ut),!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($=""){try{const nt=(0,C.Bq)(),xt=k.hp.from(nt).toString("hex"),Ut=(0,C.lG)(nt),pe=C.Qe.npubEncode(Ut),Ie=C.Qe.nsecEncode(nt);return this.setSecretKey(xt,$),this.setNsec(Ie,$),this.setPublicKey(Ut),this.setNpub(pe),{secretKey:xt,pubkey:Ut,npub:pe,nsec:Ie}}catch(nt){return console.error("Error during key generation:",nt),null}}handleLoginWithExtension(){var $=this;return(0,a.A)(function*(){const nt=globalThis;if(!nt.nostr)return!1;try{const xt=yield nt.nostr.getPublicKey();if(!xt)throw new Error("Public key not available from Nostr extension.");return $.setPublicKeyFromExtension(xt),!0}catch(xt){return console.error("Failed to connect to Nostr extension:",xt),!1}})()}encryptMessage($,nt,xt){return(0,a.A)(function*(){console.log(xt);try{return yield C.sh.encrypt($,nt,xt)}catch(Ut){throw console.error("Error encrypting message:",Ut),Ut}})()}encryptMessageWithExtension($,nt){return(0,a.A)(function*(){return yield globalThis.nostr.nip04.encrypt(nt,$)})()}decryptMessageWithExtension($,nt){return(0,a.A)(function*(){const xt=globalThis;if(xt.nostr&&"function"==typeof xt.nostr.nip04?.decrypt)try{return yield xt.nostr.nip04.decrypt($,nt)}catch(Ut){return console.error("Decryption failed:",Ut),"*Failed to decrypt content: "+Ut.message+"*"}return console.warn("Nostr extension or decrypt method is unavailable"),"Attempted Nostr Window decryption and failed."})()}decryptMessage($,nt,xt){return(0,a.A)(function*(){try{if(!$||!nt||!xt)throw new Error("Private key, public key, or encrypted message is missing or undefined.");const Ut=yield C.sh.decrypt($,nt,xt);if(!Ut)throw new Error("Decryption returned an empty message.");return Ut}catch(Ut){throw Ut}})()}getUnsignedEvent($,nt,xt){return{kind:$,pubkey:this.getPublicKey(),tags:nt,content:xt,created_at:Math.floor(Date.now()/1e3)}}getSignedEvent($,nt){const xt=(0,l.aT)(nt);return(0,C.pC)($,xt)}getMuteList(){return(localStorage.getItem("muteList")||"").split(",")}setMuteListFromTags($){let nt=[];$.forEach(xt=>{nt.push(xt[1])}),this.setMuteList(nt)}setMuteList($){if(0===$.length)localStorage.setItem("muteList","");else{let nt=Array.from(new Set($));localStorage.setItem("muteList",nt.filter(xt=>xt).join(","))}}signEventWithExtension($){return(0,a.A)(function*(){const nt=globalThis;if(nt.nostr)return yield nt.nostr.signEvent($);throw new Error("Tried to sign event with extension but failed")})()}signDMWithExtension($,nt){return(0,a.A)(function*(){const xt=globalThis;if(xt.nostr&&xt.nostr.nip04?.encrypt)return yield xt.nostr.nip04.encrypt($,nt);throw new Error("Failed to Sign with extension")})()}isUsingExtension(){var $=this;return(0,a.A)(function*(){const nt=globalThis;if(nt.nostr&&nt.nostr.getPublicKey)try{return!localStorage.getItem($.localStorageSecretKeyName)}catch(xt){return console.error("Failed to check Nostr extension:",xt),!1}return!1})()}isUsingSecretKey(){return!!localStorage.getItem(this.localStorageSecretKeyName)}getNpubFromPubkey($){try{return C.Qe.npubEncode($)}catch(nt){return console.error("Error converting hex to npub:",nt),""}}getNsecFromSeckey($){try{const nt=Uint8Array.from(k.hp.from($,"hex"));return C.Qe.nsecEncode(nt)}catch(nt){return console.error("Error converting hex to nsec:",nt),""}}getHexFromNpub($){try{const nt=C.Qe.decode($);if("npub"!==nt.type)throw new Error("Invalid npub format.");return nt.data.toString()}catch(nt){return console.error("Error converting npub to hex:",nt),""}}processKey($){try{if($.startsWith("npub")){const nt=this.getHexFromNpub($);if(!nt)throw new Error("Failed to convert npub to hex.");return nt}if(/^[0-9a-fA-F]{64}$/.test($))return $;throw new Error("Invalid key format. Must be either hex or npub.")}catch(nt){return console.error("Error processing key:",nt),""}}static{this.\u0275fac=function(nt){return new(nt||I)(fs.KVO(Zc),fs.KVO(Za.bZ),fs.KVO(Ec.v))}}static{this.\u0275prov=fs.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})()},6433:(i,s,o)=>{"use strict";o.d(s,{d:()=>C});var n=o(3014),a=o(3797),l=o(3107),y=o(5506),k=o(3149);let C=(()=>{class A{constructor(T,O){this.subscriptionService=T,this.storageService=O,this.isProfileLoaded=!1}loadUserProfile(T){var O=this;return(0,n.A)(function*(){O.isProfileLoaded||(yield O.subscribeToUserProfile(T),yield O.subscribeToUserChats(T),yield O.subscribeToUserPosts(T),yield O.subscribeToMyLikes(T),O.isProfileLoaded=!0)})()}subscribeToUserProfile(T){var O=this;return(0,n.A)(function*(){const P=yield O.storageService.getLastUpdateDate("users"),q={kinds:[0],authors:[T],limit:1};P&&(q.since=parseInt(P,10)),O.subscriptionService.addSubscriptions([q],X=>{const J=O.parseMetadataEvent(X);O.storageService.saveProfile(T,J)})})()}subscribeToUserChats(T){var O=this;return(0,n.A)(function*(){const P=yield O.storageService.getLastUpdateDate("chats"),q=[{kinds:[a.rV],authors:[T],limit:300},{kinds:[a.rV],"#p":[T],limit:300}];if(P){const X=parseInt(P,10);q.forEach(J=>J.since=X)}else O.storageService.removeAllChats();O.subscriptionService.addSubscriptions(q,X=>{const J=O.parseChatEvent(X);O.storageService.saveChatEvent(J)})})()}subscribeToUserPosts(T){var O=this;return(0,n.A)(function*(){const P=yield O.storageService.getLastUpdateDate("posts"),q={kinds:[a.av],authors:[T]};P&&(q.since=parseInt(P,10)),O.subscriptionService.addSubscriptions([q],X=>{O.isReply(X)||O.storageService.savePost(X)})})()}isReply(T){return T.tags.filter(P=>"e"===P[0]||"p"===P[0]).length>0}subscribeToMyLikes(T){var O=this;return(0,n.A)(function*(){const P=yield O.storageService.getLastUpdateDate("myLikes"),q={kinds:[a.qT],authors:[T]};P&&(q.since=parseInt(P,10)),O.subscriptionService.addSubscriptions([q],X=>{O.storageService.saveLike(X)})})()}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||A)(l.KVO(y.n),l.KVO(k.n))}}static{this.\u0275prov=l.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}}return A})()},3149:(i,s,o)=>{"use strict";o.d(s,{n:()=>C});var n=o(3014),a=o(230),l=o.n(a),y=o(1217),k=o(3107);let C=(()=>{class A{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.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.loadAllChatEventsFromDB(),this.loadAllMyLikesFromDB(),this.loadAllNotificationsFromDB(),this.loadContactStatsFromDB()}createStore(T){return l().createInstance({driver:l().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()}saveProfile(T,O){var P=this;return(0,n.A)(function*(){try{if(!T||!O)return void console.error("Invalid pubKey or metadata:",T,O);O.pubKey=T,yield P.profileStore.setItem(T,O),P.profileSubject.next({pubKey:T,metadata:O}),yield P.setUpdateHistory("profiles")}catch(q){console.error("Error saving profile",q)}})()}getProfile(T){var O=this;return(0,n.A)(function*(){try{return(yield O.profileStore.getItem(T))||null}catch(P){return console.error("Error retrieving profile metadata:",P),null}})()}getAllProfiles(){var T=this;return(0,n.A)(function*(){try{const O=[];return yield T.profileStore.iterate(P=>{O.push(P)}),O}catch(O){return console.error("Error retrieving all Profile:",O),[]}})()}searchProfile(T){var O=this;return(0,n.A)(function*(){try{const P=[],q=T.toLowerCase();return yield O.profileStore.iterate((X,J)=>{JSON.stringify(X).toLowerCase().includes(q)&&P.push({pubKey:J,profile:X})}),P}catch(P){return console.error("Error searching profiles by metadata:",P),[]}})()}getLastUpdateDate(T){var O=this;return(0,n.A)(function*(){try{return(yield O.updateHistoryStore.getItem(T))||null}catch(P){return console.error("Error retrieving last update date:",P),null}})()}saveProject(T){var O=this;return(0,n.A)(function*(){try{yield O.projectsStore.setItem(T.projectIdentifier,T);const P=yield O.getAllProjects();O.projectsSubject.next(P),yield O.setUpdateHistory("projects")}catch(P){console.error("Error saving project:",P)}})()}getProjectsByIds(T){var O=this;return(0,n.A)(function*(){if(!T||0===T.length)return[];const P=[];for(const q of T){const X=yield O.projectsStore.getItem(q);X&&P.push(X)}return P})()}getAllProjects(){var T=this;return(0,n.A)(function*(){try{const O=[];return yield T.projectsStore.iterate(P=>{O.push(P)}),O}catch(O){return console.error("Error retrieving all projects:",O),[]}})()}getProjectStats(T){var O=this;return(0,n.A)(function*(){try{return(yield O.projectStatsStore.getItem(T))||null}catch(P){return console.error("Error retrieving project stats:",P),null}})()}saveProjectStats(T,O){var P=this;return(0,n.A)(function*(){try{yield P.projectStatsStore.setItem(T,O);const q=yield P.getAllProjectStats();P.projectStatsSubject.next(q),yield P.setUpdateHistory("projectStats")}catch(q){console.error("Error saving project stats:",q)}})()}getAllProjectStats(){var T=this;return(0,n.A)(function*(){try{const O={};return yield T.projectStatsStore.iterate((P,q)=>{O[q]=P}),O}catch(O){return console.error("Error retrieving all project stats:",O),{}}})()}savePost(T){var O=this;return(0,n.A)(function*(){try{yield O.postsStore.setItem(T.id,T),yield O.setUpdateHistory("posts"),O.postsSubject.next(T)}catch(P){console.error("Error saving event type 1 and sending it to clients:",P)}})()}getPostsByPubKey(T){var O=this;return(0,n.A)(function*(){try{const P=[];return yield O.postsStore.iterate(q=>{q.pubkey===T&&1===q.kind&&P.push(q)}),P.sort((q,X)=>X.createdAt-q.createdAt)}catch(P){return console.error("Error retrieving events for pubKey:",P),[]}})()}getPostById(T){var O=this;return(0,n.A)(function*(){try{let P=null;return yield O.postsStore.iterate(q=>{if(q.id===T&&1===q.kind)return P=q,P}),P}catch(P){return console.error("Error retrieving post by ID:",P),null}})()}getAllPostsWithPagination(T,O=10){var P=this;return(0,n.A)(function*(){try{const q=[],X=(T-1)*O;return yield P.postsStore.iterate(J=>{1===J.kind&&q.push(J)}),q.sort((J,ht)=>ht.created_at-J.created_at).slice(X,X+O)}catch(q){return console.error("Error retrieving all posts with pagination:",q),[]}})()}getPostsByPubKeysWithPagination(T,O,P=10){var q=this;return(0,n.A)(function*(){try{const X=[],J=(O-1)*P;return yield q.postsStore.iterate(ht=>{T.includes(ht.pubkey)&&1===ht.kind&&X.push(ht)}),X.sort((ht,ct)=>ct.created_at-ht.created_at).slice(J,J+P)}catch(X){return console.error("Error retrieving events for pubKeys with pagination:",X),[]}})()}saveLike(T){var O=this;return(0,n.A)(function*(){try{yield O.myLikesStore.setItem(T.id,T);const P=yield O.getAllMyLikes();O.myLikesSubject.next(P),yield O.setUpdateHistory("myLikes")}catch(P){console.error("Error saving like:",P)}})()}getAllMyLikes(){var T=this;return(0,n.A)(function*(){try{const O=[];return yield T.myLikesStore.iterate(P=>{try{const q=P.tags.find(X=>"e"===X[0]);q&&O.push(q[1])}catch(q){console.warn("Error parsing like:",P,q)}}),O}catch(O){return console.error("Error retrieving all likes:",O),[]}})()}saveNotification(T){var O=this;return(0,n.A)(function*(){try{yield O.notificationsStore.setItem(T.id,T);const P=yield O.getAllNotifications();O.notificationsSubject.next(P),yield O.setUpdateHistory("notifications")}catch(P){console.error("Error saving notification:",P)}})()}getAllNotifications(){var T=this;return(0,n.A)(function*(){try{const O=[];return yield T.notificationsStore.iterate(P=>{O.push(P)}),O}catch(O){return console.error("Error retrieving all notifications:",O),[]}})()}saveChatEvent(T){var O=this;return(0,n.A)(function*(){try{yield O.chatsStore.setItem(T.id,T),yield O.setUpdateHistory("chats");const P=yield O.getAllChatEvents();O.chatEventsSubject.next(P),O.updateUnreadChatCount(P)}catch(P){console.error("Error saving chat event:",P)}})()}getAllChatEvents(){var T=this;return(0,n.A)(function*(){try{const O=[];return yield T.chatsStore.iterate(P=>{O.push(P)}),O}catch(O){return console.error("Error retrieving all chat events:",O),[]}})()}getChatEventsByPubKey(T){var O=this;return(0,n.A)(function*(){try{const P=[];return yield O.chatsStore.iterate(q=>{const X=O.getReceiverPubKeyFromTags(q.tags);(q.pubkey===T||X===T)&&P.push(q)}),P}catch(P){return console.error("Error retrieving chat events by pubkey:",P),[]}})()}updateChatEventReadStatus(T,O){var P=this;return(0,n.A)(function*(){try{const q=yield P.chatsStore.getItem(T);if(q){q.IsRead=O,yield P.chatsStore.setItem(T,q);const X=yield P.getAllChatEvents();P.chatEventsSubject.next(X),P.updateUnreadChatCount(X)}}catch(q){console.error("Error updating chat event read status:",q)}})()}markAllChatEventsAsRead(T){var O=this;return(0,n.A)(function*(){try{yield O.chatsStore.iterate(function(){var q=(0,n.A)(function*(X,J){const ht=O.getReceiverPubKeyFromTags(X.tags);(X.pubkey===T||ht===T)&&!X.IsRead&&(X.IsRead=!0,yield O.chatsStore.setItem(J,X))});return function(X,J){return q.apply(this,arguments)}}());const P=yield O.getAllChatEvents();O.chatEventsSubject.next(P),O.updateUnreadChatCount(P)}catch(P){console.error("Error marking all chat events as read:",P)}})()}getReceiverPubKeyFromTags(T){for(const O of T)if("p"===O[0]&&O[1])return O[1];return null}updateUnreadChatCount(T){const O=T.filter(P=>!P.IsRead).length;this.unreadChatCountSubject.next(O)}removeAllChats(){var T=this;return(0,n.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,n.A)(function*(){try{const P=Math.floor(Date.now()/1e3);yield O.updateHistoryStore.setItem(T,P)}catch(P){console.error("Error updating history:",P)}})()}loadAllProjectsFromDB(){var T=this;return(0,n.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,n.A)(function*(){try{const O=yield T.getAllProjectStats();T.projectStatsSubject.next(O)}catch(O){console.error("Error loading project stats from DB:",O)}})()}loadAllChatEventsFromDB(){var T=this;return(0,n.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,O=10,P=0){var q=this;return(0,n.A)(function*(){try{const X=[];return yield q.postsStore.iterate(J=>{T.includes(J.pubkey)&&X.push(J)}),X.sort((J,ht)=>ht.created_at-J.created_at).slice(P,P+O)}catch(X){return console.error("Error retrieving events from DB:",X),[]}})()}loadPosts(T,O){var P=this;return(0,n.A)(function*(){const X=10*(O-1),J=yield P.loadPostsFromDB(T,10,X);J.length>0&&J.forEach(ht=>{P.postsSubject.next(ht)})})()}loadAllMyLikesFromDB(){var T=this;return(0,n.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,n.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,n.A)(function*(){try{let O=0,P=0,q=0;yield T.contactsStore.iterate((X,J)=>{const[ht]=J.split(":");O++,X.isFollower?P++:q++}),T.contactStatsSubject.next({totalContacts:O,followersCount:P,followingCount:q})}catch(O){console.error("Error loading contact stats from DB:",O)}})()}static{this.\u0275fac=function(O){return new(O||A)}}static{this.\u0275prov=k.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}}return A})()},5506:(i,s,o)=>{"use strict";o.d(s,{n:()=>ct});var a,n=o(1217),l=new Uint8Array(16);function y(){if(!a&&!(a=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 a(l)}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 S=[],T=0;T<256;++T)S.push((T+256).toString(16).substr(1));const P=function O(pt){var kt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,Et=(S[pt[kt+0]]+S[pt[kt+1]]+S[pt[kt+2]]+S[pt[kt+3]]+"-"+S[pt[kt+4]]+S[pt[kt+5]]+"-"+S[pt[kt+6]]+S[pt[kt+7]]+"-"+S[pt[kt+8]]+S[pt[kt+9]]+"-"+S[pt[kt+10]]+S[pt[kt+11]]+S[pt[kt+12]]+S[pt[kt+13]]+S[pt[kt+14]]+S[pt[kt+15]]).toLowerCase();if(!function C(pt){return"string"==typeof pt&&k.test(pt)}(Et))throw TypeError("Stringified UUID is invalid");return Et},X=function q(pt,kt,Et){var It=(pt=pt||{}).random||(pt.rng||y)();if(It[6]=15&It[6]|64,It[8]=63&It[8]|128,kt){Et=Et||0;for(var yt=0;yt<16;++yt)kt[Et+yt]=It[yt];return kt}return P(It)};var J=o(3107),ht=o(3125);let ct=(()=>{class pt{constructor(Et){this.relayService=Et,this.subscriptions=new Map,this.activeRelays=[],this.pendingSubscriptions=new Map,this.subscriptionsSubject=new n.t(new Map),this.subscriptions$=this.subscriptionsSubject.asObservable(),this.subscriptionQueue=[],this.isProcessingQueue=!1,this.queueInterval=1e3,this.maxSubscriptionsPerBatch=5,this.debounceInterval=1e3,this.lastActionTimestamp=new Map,this.connectToAllRelays(),this.processSubscriptionQueue()}addSubscriptions(Et,It,yt){const _t=this.findExistingSubscription(Et);if(_t)return _t.callbacks.push(It),_t.id;const at=X();this.lastActionTimestamp.set(at,Date.now());const st={filter:Et,callbacks:[It],id:at};return this.subscriptions.set(st.id,st),this.subscriptionsSubject.next(this.subscriptions),this.addToQueue(st),st.id}findExistingSubscription(Et){return Array.from(this.subscriptions.values()).find(It=>JSON.stringify(It.filter)===JSON.stringify(Et))}removeSubscriptionById(Et){const It=Date.now(),yt=this.lastActionTimestamp.get(Et);yt&&It-yt{this.subscriptionQueue.length>0&&this.subscriptionQueue.splice(0,this.maxSubscriptionsPerBatch).forEach(yt=>this.subscribeToRelays(yt.filter,yt))},this.queueInterval))}subscribeToRelays(Et,It){0!==this.activeRelays.length?this.relayService.ensureConnectedRelays().then(()=>{const yt=this.relayService.getConnectedRelays();this.relayService.getPool().subscribeMany(yt,Et,{onevent:_t=>{It.callbacks.forEach(at=>at(_t))},onclose:()=>console.log("Subscription closed")})}).catch(yt=>{console.error("Error subscribing to relays:",yt)}):this.pendingSubscriptions.set(It.id,It)}subscribeToAllRelays(){this.pendingSubscriptions.forEach(Et=>{this.subscribeToRelays(Et.filter,Et)}),this.pendingSubscriptions.clear()}connectToAllRelays(){this.relayService.ensureConnectedRelays().then(()=>{this.activeRelays=this.relayService.getConnectedRelays(),this.subscribeToAllRelays()}).catch(Et=>{console.error("Error connecting to relays:",Et)})}clearAllSubscriptions(){this.subscriptions.clear(),this.pendingSubscriptions.clear(),this.subscriptionsSubject.next(new Map)}getSubscriptions(){return Array.from(this.subscriptions.values())}static{this.\u0275fac=function(It){return new(It||pt)(J.KVO(ht.b))}}static{this.\u0275prov=J.jDH({token:pt,factory:pt.\u0275fac,providedIn:"root"})}}return pt})()},2226:(i,s,o)=>{"use strict";o.d(s,{b:()=>X});var n=o(4460),a=o(936),l=o(9471),y=o(2902),k=o(7544),C=o(6071),A=o(3904),S=o(6389),T=o(4375),O=o(5785),P=o(3107);function q(J,ht){1&J&&(P.j41(0,"mat-error"),P.EFF(1," Password is required "),P.k0s())}let X=(()=>{class J{constructor(ct,pt,kt){this.fb=ct,this.dialogRef=pt,this.data=kt,this.passwordForm=this.fb.group({password:["",a.k0.required],duration:["0",a.k0.required]})}onCancel(){this.dialogRef.close()}onSubmit(){this.dialogRef.close(this.passwordForm.value)}static{this.\u0275fac=function(pt){return new(pt||J)(P.rXU(a.ok),P.rXU(k.CP),P.rXU(k.Vh))}}static{this.\u0275cmp=P.VBU({type:J,selectors:[["password-dialog"]],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(pt,kt){1&pt&&(P.j41(0,"h1",0),P.EFF(1,"Enter Password"),P.k0s(),P.j41(2,"div",1)(3,"form",2)(4,"mat-form-field",3)(5,"mat-label"),P.EFF(6,"Password"),P.k0s(),P.j41(7,"mat-icon",4),P.EFF(8,"lock"),P.k0s(),P.nrm(9,"input",5),P.DNE(10,q,2,0,"mat-error",6),P.k0s(),P.j41(11,"mat-form-field",7)(12,"mat-label"),P.EFF(13,"Duration"),P.k0s(),P.j41(14,"mat-select",8)(15,"mat-option",9),P.EFF(16,"0 Minute"),P.k0s(),P.j41(17,"mat-option",10),P.EFF(18,"1 Minute"),P.k0s(),P.j41(19,"mat-option",11),P.EFF(20,"5 Minutes"),P.k0s(),P.j41(21,"mat-option",12),P.EFF(22,"10 Minutes"),P.k0s(),P.j41(23,"mat-option",13),P.EFF(24,"1 Hour"),P.k0s()()()()(),P.j41(25,"div",14)(26,"button",15),P.bIt("click",function(){return kt.onCancel()}),P.EFF(27,"Cancel"),P.k0s(),P.j41(28,"button",16),P.bIt("click",function(){return kt.onSubmit()}),P.EFF(29," Submit "),P.k0s()()),2&pt&&(P.R7$(3),P.Y8G("formGroup",kt.passwordForm),P.R7$(),P.Y8G("subscriptSizing","dynamic"),P.R7$(5),P.Y8G("formControlName","password"),P.R7$(),P.Y8G("ngIf",kt.passwordForm.get("password").hasError("required")),P.R7$(18),P.Y8G("disabled",kt.passwordForm.invalid))},dependencies:[O.vg,l.Hl,l.$z,A.m_,A.An,a.YN,a.qT,a.me,a.BC,a.cb,y.wT,C.nJ,C.rl,a.X1,a.j4,a.JD,n.MD,n.bT,T.Ve,C.TL,C.JW,T.VO,C.RG,S.fS,S.fg],styles:[".full-width[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})}}return J})()},770:(i,s,o)=>{"use strict";var n=o(6388),a=o(8716),l=o(3107);let y=(()=>{class w{constructor(){}static{this.\u0275fac=function(b){return new(b||w)}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["app-root"]],decls:1,vars:0,template:function(b,E){1&b&&l.nrm(0,"router-outlet")},dependencies:[a.n3],styles:["[_nghost-%COMP%]{display:flex;flex:1 1 auto;width:100%;height:100%}"]})}}return w})();var k=o(3014);const C=new l.nKC("ANGOR_MOCK_API_DEFAULT_DELAY");var A=o(8915),S=o(1698),T=o(7610),O=o(3016);class P{constructor(g,d){this.url=g,this.delay=d,this._replyCount=0,this._replied=0}get response(){if(this._replyCount>0&&this._replyCount<=this._replied)return(0,A.$)(()=>new Error("Execution limit has been reached!"));if(!this._reply)return(0,A.$)(()=>new Error("Response callback function does not exist!"));if(!this.request)return(0,A.$)(()=>new Error("Request does not exist!"));this._replied++;const g=this._reply({request:this.request,urlParams:this.urlParams});return g instanceof S.c?g.pipe((0,T.s)(1)):(0,O.of)(g).pipe((0,T.s)(1))}reply(g){this._reply=g}replyCount(g){this._replyCount=g}}var q=o(6143);let X=(()=>{class w{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,b){const E={handler:void 0,urlParams:{}},V=b.split("/"),tt=this._handlers[d.toLowerCase()];for(const[bt,Kt]of tt){const ye=bt.split("/");if(V.length===ye.length&&ye.every((mr,bo)=>mr.startsWith(":")||mr===V[bo])){E.handler=Kt,E.urlParams=(0,q.A)(ye.map((mr,bo)=>mr.startsWith(":")?[mr.substring(1),V[bo]]:void 0).filter(Boolean));break}}return E}onGet(d,b){return this._registerHandler("get",d,b)}onPost(d,b){return this._registerHandler("post",d,b)}onPatch(d,b){return this._registerHandler("patch",d,b)}onDelete(d,b){return this._registerHandler("delete",d,b)}onPut(d,b){return this._registerHandler("put",d,b)}onHead(d,b){return this._registerHandler("head",d,b)}onJsonp(d,b){return this._registerHandler("jsonp",d,b)}onOptions(d,b){return this._registerHandler("options",d,b)}_registerHandler(d,b,E){const V=new P(b,E);return this._handlers[d].set(b,V),V}static{this.\u0275fac=function(b){return new(b||w)}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();var J=o(7691),ht=o(8136),ct=o(2867);const pt=(w,g)=>{const d=(0,l.WQX)(C),b=(0,l.WQX)(X),{handler:E,urlParams:V}=b.findHandler(w.method.toUpperCase(),w.url);return E?(E.request=w,E.urlParams=V,E.response.pipe((0,ht.c)(E.delay??d??0),(0,ct.n)(tt=>{if(!tt)return(0,A.$)(()=>new J.yz({error:"NOT FOUND",status:404,statusText:"NOT FOUND"}));const bt={status:tt[0],body:tt[1]};return bt.status>=200&&bt.status<300?(0,O.of)(new J.cS({body:bt.body,status:bt.status,statusText:"OK"})):(0,A.$)(()=>new J.yz({error:bt.body?.error,status:bt.status,statusText:"ERROR"}))}))):g(w)};var kt=o(7891),Et=o(7153),It=o(1217);let yt=(()=>{class w{constructor(){this._auto$=new It.t(!0),this._mode$=new It.t("indeterminate"),this._progress$=new It.t(0),this._show$=new It.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,b){b?(!0===d?(this._urlMap.set(b,d),this._show$.next(!0)):!1===d&&this._urlMap.has(b)&&this._urlMap.delete(b),0===this._urlMap.size&&this._show$.next(!1)):console.error("The request URL must be provided!")}static{this.\u0275fac=function(b){return new(b||w)}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();var _t=o(4447);const at=(w,g)=>{const d=(0,l.WQX)(yt);let b=!1;return d.auto$.pipe((0,T.s)(1)).subscribe(E=>{b=E}),b?(d._setLoadingStatus(!0,w.url),g(w).pipe((0,_t.j)(()=>{d._setLoadingStatus(!1,w.url)}))):g(w)};var st=o(2012),vt=o(2147);let Pt=(()=>{class w{constructor(){this._platform=(0,l.WQX)(vt.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(b){return new(b||w)}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();var ae=o(4460),le=o(1483);let ve=(()=>{class w{constructor(){this._document=(0,l.WQX)(ae.qQ),this._router=(0,l.WQX)(a.Ix),this._router.events.pipe((0,le.p)(d=>d instanceof a.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(b){return new(b||w)}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();var se=o(3939),or=o(2902),fr=o(7544),yr=o(6071);class wr extends Error{}class Qt extends wr{constructor(g){super(`Invalid DateTime: ${g.toMessage()}`)}}class be extends wr{constructor(g){super(`Invalid Interval: ${g.toMessage()}`)}}class Ht extends wr{constructor(g){super(`Invalid Duration: ${g.toMessage()}`)}}class Bt extends wr{}class Fe extends wr{constructor(g){super(`Invalid unit ${g}`)}}class zt extends wr{}class Yt extends wr{constructor(){super("Zone is an abstract class")}}const oe="numeric",Oe="short",$e="long",Dt={year:oe,month:oe,day:oe},wt={year:oe,month:Oe,day:oe},ie={year:oe,month:Oe,day:oe,weekday:Oe},Xe={year:oe,month:$e,day:oe},Te={year:oe,month:$e,day:oe,weekday:$e},Ke={hour:oe,minute:oe},re={hour:oe,minute:oe,second:oe},Ve={hour:oe,minute:oe,second:oe,timeZoneName:Oe},tr={hour:oe,minute:oe,second:oe,timeZoneName:$e},Tr={hour:oe,minute:oe,hourCycle:"h23"},Wr={hour:oe,minute:oe,second:oe,hourCycle:"h23"},Lo={hour:oe,minute:oe,second:oe,hourCycle:"h23",timeZoneName:Oe},Or={hour:oe,minute:oe,second:oe,hourCycle:"h23",timeZoneName:$e},fo={year:oe,month:oe,day:oe,hour:oe,minute:oe},cr={year:oe,month:oe,day:oe,hour:oe,minute:oe,second:oe},Lt={year:oe,month:Oe,day:oe,hour:oe,minute:oe},At={year:oe,month:Oe,day:oe,hour:oe,minute:oe,second:oe},Zt={year:oe,month:Oe,day:oe,weekday:Oe,hour:oe,minute:oe},W={year:oe,month:$e,day:oe,hour:oe,minute:oe,timeZoneName:Oe},N={year:oe,month:$e,day:oe,hour:oe,minute:oe,second:oe,timeZoneName:Oe},z={year:oe,month:$e,day:oe,weekday:$e,hour:oe,minute:oe,timeZoneName:$e},Rt={year:oe,month:$e,day:oe,weekday:$e,hour:oe,minute:oe,second:oe,timeZoneName:$e};class ue{get type(){throw new Yt}get name(){throw new Yt}get ianaName(){return this.name}get isUniversal(){throw new Yt}offsetName(g,d){throw new Yt}formatOffset(g,d){throw new Yt}offset(g){throw new Yt}equals(g){throw new Yt}get isValid(){throw new Yt}}let he=null;class Se extends ue{static get instance(){return null===he&&(he=new Se),he}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(g,{format:d,locale:b}){return co(g,d,b)}formatOffset(g,d){return cs(this.offset(g),d)}offset(g){return-new Date(g).getTimezoneOffset()}equals(g){return"system"===g.type}get isValid(){return!0}}let Sr={};const dr={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let xr={};class zo extends ue{static create(g){return xr[g]||(xr[g]=new zo(g)),xr[g]}static resetCache(){xr={},Sr={}}static isValidSpecifier(g){return this.isValidZone(g)}static isValidZone(g){if(!g)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:g}).format(),!0}catch{return!1}}constructor(g){super(),this.zoneName=g,this.valid=zo.isValidZone(g)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(g,{format:d,locale:b}){return co(g,d,b,this.name)}formatOffset(g,d){return cs(this.offset(g),d)}offset(g){const d=new Date(g);if(isNaN(d))return NaN;const b=function ar(w){return Sr[w]||(Sr[w]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:w,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Sr[w]}(this.name);let[E,V,tt,bt,Kt,ye,lr]=b.formatToParts?function ao(w,g){const d=w.formatToParts(g),b=[];for(let E=0;E=0?go:1e3+go,(Xi({year:E,month:V,day:tt,hour:24===Kt?0:Kt,minute:ye,second:lr,millisecond:0})-to)/6e4}equals(g){return"iana"===g.type&&g.name===this.name}get isValid(){return this.valid}}let To={},we={};function ze(w,g={}){const d=JSON.stringify([w,g]);let b=we[d];return b||(b=new Intl.DateTimeFormat(w,g),we[d]=b),b}let Mt={},$t={},ce=null,vr={};function Je(w,g,d,b){const E=w.listingMode();return"error"===E?null:"en"===E?d(g):b(g)}class te{constructor(g,d,b){this.padTo=b.padTo||0,this.floor=b.floor||!1;const{padTo:E,floor:V,...tt}=b;if(!d||Object.keys(tt).length>0){const bt={useGrouping:!1,...b};b.padTo>0&&(bt.minimumIntegerDigits=b.padTo),this.inf=function Wt(w,g={}){const d=JSON.stringify([w,g]);let b=Mt[d];return b||(b=new Intl.NumberFormat(w,g),Mt[d]=b),b}(g,bt)}}format(g){if(this.inf){const d=this.floor?Math.floor(g):g;return this.inf.format(d)}return gi(this.floor?Math.floor(g):Ca(g,3),this.padTo)}}class Re{constructor(g,d,b){let E;if(this.opts=b,this.originalZone=void 0,this.opts.timeZone)this.dt=g;else if("fixed"===g.zone.type){const tt=g.offset/60*-1,bt=tt>=0?`Etc/GMT+${tt}`:`Etc/GMT${tt}`;0!==g.offset&&zo.create(bt).valid?(E=bt,this.dt=g):(E="UTC",this.dt=0===g.offset?g:g.setZone("UTC").plus({minutes:g.offset}),this.originalZone=g.zone)}else"system"===g.zone.type?this.dt=g:"iana"===g.zone.type?(this.dt=g,E=g.zone.name):(E="UTC",this.dt=g.setZone("UTC").plus({minutes:g.offset}),this.originalZone=g.zone);const V={...this.opts};V.timeZone=V.timeZone||E,this.dtf=ze(d,V)}format(){return this.originalZone?this.formatToParts().map(({value:g})=>g).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const g=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?g.map(d=>{if("timeZoneName"===d.type){const b=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...d,value:b}}return d}):g}resolvedOptions(){return this.dtf.resolvedOptions()}}class ir{constructor(g,d,b){this.opts={style:"long",...b},!d&&Pn()&&(this.rtf=function Ce(w,g={}){const{base:d,...b}=g,E=JSON.stringify([w,b]);let V=$t[E];return V||(V=new Intl.RelativeTimeFormat(w,g),$t[E]=V),V}(g,b))}format(g,d){return this.rtf?this.rtf.format(g,d):function et(w,g,d="always",b=!1){const E={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(w);if("auto"===d&&V){const mr="days"===w;switch(g){case 1:return mr?"tomorrow":`next ${E[w][0]}`;case-1:return mr?"yesterday":`last ${E[w][0]}`;case 0:return mr?"today":`this ${E[w][0]}`}}const tt=Object.is(g,-0)||g<0,bt=Math.abs(g),Kt=1===bt,ye=E[w],lr=b?Kt?ye[1]:ye[2]||ye[1]:Kt?E[w][0]:w;return tt?`${bt} ${lr} ago`:`in ${bt} ${lr}`}(d,g,this.opts.numeric,"long"!==this.opts.style)}formatToParts(g,d){return this.rtf?this.rtf.formatToParts(g,d):[]}}const gr={firstDay:1,minimalDays:4,weekend:[6,7]};class po{static fromOpts(g){return po.create(g.locale,g.numberingSystem,g.outputCalendar,g.weekSettings,g.defaultToEN)}static create(g,d,b,E,V=!1){const tt=g||Ot.defaultLocale,bt=tt||(V?"en-US":function Be(){return ce||(ce=(new Intl.DateTimeFormat).resolvedOptions().locale,ce)}()),Kt=d||Ot.defaultNumberingSystem,ye=b||Ot.defaultOutputCalendar,lr=Ri(E)||Ot.defaultWeekSettings;return new po(bt,Kt,ye,lr,tt)}static resetCache(){ce=null,we={},Mt={},$t={}}static fromObject({locale:g,numberingSystem:d,outputCalendar:b,weekSettings:E}={}){return po.create(g,d,b,E)}constructor(g,d,b,E,V){const[tt,bt,Kt]=function ko(w){const g=w.indexOf("-x-");-1!==g&&(w=w.substring(0,g));const d=w.indexOf("-u-");if(-1===d)return[w];{let b,E;try{b=ze(w).resolvedOptions(),E=w}catch{const Kt=w.substring(0,d);b=ze(Kt).resolvedOptions(),E=Kt}const{numberingSystem:V,calendar:tt}=b;return[E,V,tt]}}(g);this.locale=tt,this.numberingSystem=d||bt||null,this.outputCalendar=b||Kt||null,this.weekSettings=E,this.intl=function sn(w,g,d){return(d||g)&&(w.includes("-u-")||(w+="-u"),d&&(w+=`-ca-${d}`),g&&(w+=`-nu-${g}`)),w}(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 Ae(w){return(!w.numberingSystem||"latn"===w.numberingSystem)&&("latn"===w.numberingSystem||!w.locale||w.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(w.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(g){return g&&0!==Object.getOwnPropertyNames(g).length?po.create(g.locale||this.specifiedLocale,g.numberingSystem||this.numberingSystem,g.outputCalendar||this.outputCalendar,Ri(g.weekSettings)||this.weekSettings,g.defaultToEN||!1):this}redefaultToEN(g={}){return this.clone({...g,defaultToEN:!0})}redefaultToSystem(g={}){return this.clone({...g,defaultToEN:!1})}months(g,d=!1){return Je(this,g,Aa,()=>{const b=d?{month:g,day:"numeric"}:{month:g},E=d?"format":"standalone";return this.monthsCache[E][g]||(this.monthsCache[E][g]=function hn(w){const g=[];for(let d=1;d<=12;d++){const b=Bo.utc(2009,d,1);g.push(w(b))}return g}(V=>this.extract(V,b,"month"))),this.monthsCache[E][g]})}weekdays(g,d=!1){return Je(this,g,ci,()=>{const b=d?{weekday:g,year:"numeric",month:"long",day:"numeric"}:{weekday:g},E=d?"format":"standalone";return this.weekdaysCache[E][g]||(this.weekdaysCache[E][g]=function Zn(w){const g=[];for(let d=1;d<=7;d++){const b=Bo.utc(2016,11,13+d);g.push(w(b))}return g}(V=>this.extract(V,b,"weekday"))),this.weekdaysCache[E][g]})}meridiems(){return Je(this,void 0,()=>ga,()=>{if(!this.meridiemCache){const g={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Bo.utc(2016,11,13,9),Bo.utc(2016,11,13,19)].map(d=>this.extract(d,g,"dayperiod"))}return this.meridiemCache})}eras(g){return Je(this,g,ds,()=>{const d={era:g};return this.eraCache[g]||(this.eraCache[g]=[Bo.utc(-40,1,1),Bo.utc(2017,1,1)].map(b=>this.extract(b,d,"era"))),this.eraCache[g]})}extract(g,d,b){const tt=this.dtFormatter(g,d).formatToParts().find(bt=>bt.type.toLowerCase()===b);return tt?tt.value:null}numberFormatter(g={}){return new te(this.intl,g.forceSimple||this.fastNumbers,g)}dtFormatter(g,d={}){return new Re(g,this.intl,d)}relFormatter(g={}){return new ir(this.intl,this.isEnglish(),g)}listFormatter(g={}){return function Ho(w,g={}){const d=JSON.stringify([w,g]);let b=To[d];return b||(b=new Intl.ListFormat(w,g),To[d]=b),b}(this.intl,g)}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:_n()?function qr(w){let g=vr[w];if(!g){const d=new Intl.Locale(w);g="getWeekInfo"in d?d.getWeekInfo():d.weekInfo,vr[w]=g}return g}(this.locale):gr}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(g){return this.locale===g.locale&&this.numberingSystem===g.numberingSystem&&this.outputCalendar===g.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let ki=null;class Ln extends ue{static get utcInstance(){return null===ki&&(ki=new Ln(0)),ki}static instance(g){return 0===g?Ln.utcInstance:new Ln(g)}static parseSpecifier(g){if(g){const d=g.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(d)return new Ln(Da(d[1],d[2]))}return null}constructor(g){super(),this.fixed=g}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${cs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${cs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(g,d){return cs(this.fixed,d)}get isUniversal(){return!0}offset(){return this.fixed}equals(g){return"fixed"===g.type&&g.fixed===this.fixed}get isValid(){return!0}}class ua extends ue{constructor(g){super(),this.zoneName=g}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 $i(w,g){if(Fo(w)||null===w)return g;if(w instanceof ue)return w;if(function Wa(w){return"string"==typeof w}(w)){const b=w.toLowerCase();return"default"===b?g:"local"===b||"system"===b?Se.instance:"utc"===b||"gmt"===b?Ln.utcInstance:Ln.parseSpecifier(b)||zo.create(w)}return Ei(w)?Ln.instance(w):"object"==typeof w&&"offset"in w&&"function"==typeof w.offset?w:new ua(w)}const cn={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"},qi={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]},pi=cn.hanidec.replace(/[\[|\]]/g,"").split("");let Fi={};function si({numberingSystem:w},g=""){const d=w||"latn";return Fi[d]||(Fi[d]={}),Fi[d][g]||(Fi[d][g]=new RegExp(`${cn[d]}${g}`)),Fi[d][g]}let ft,hi=()=>Date.now(),On="system",Mi=null,Jt=null,ke=null,de=60,Gt=null;class Ot{static get now(){return hi}static set now(g){hi=g}static set defaultZone(g){On=g}static get defaultZone(){return $i(On,Se.instance)}static get defaultLocale(){return Mi}static set defaultLocale(g){Mi=g}static get defaultNumberingSystem(){return Jt}static set defaultNumberingSystem(g){Jt=g}static get defaultOutputCalendar(){return ke}static set defaultOutputCalendar(g){ke=g}static get defaultWeekSettings(){return Gt}static set defaultWeekSettings(g){Gt=Ri(g)}static get twoDigitCutoffYear(){return de}static set twoDigitCutoffYear(g){de=g%100}static get throwOnInvalid(){return ft}static set throwOnInvalid(g){ft=g}static resetCaches(){po.resetCache(),zo.resetCache(),Bo.resetCache(),function is(){Fi={}}()}}class me{constructor(g,d){this.reason=g,this.explanation=d}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const He=[0,31,59,90,120,151,181,212,243,273,304,334],Me=[0,31,60,91,121,152,182,213,244,274,305,335];function ur(w,g){return new me("unit out of range",`you specified ${g} (of type ${typeof g}) as a ${w}, which is invalid`)}function Er(w,g,d){const b=new Date(Date.UTC(w,g-1,d));w<100&&w>=0&&b.setUTCFullYear(b.getUTCFullYear()-1900);const E=b.getUTCDay();return 0===E?7:E}function kr(w,g,d){return d+(fi(w)?Me:He)[g-1]}function Rr(w,g){const d=fi(w)?Me:He,b=d.findIndex(V=>Vmi(b,g,d)?(ye=b+1,Kt=1):ye=b,{weekYear:ye,weekNumber:Kt,weekday:bt,...ca(w)}}function so(w,g=4,d=1){const{weekYear:b,weekNumber:E,weekday:V}=w,tt=$r(Er(b,1,g),d),bt=ni(b);let ye,Kt=7*E+V-tt-7+g;Kt<1?(ye=b-1,Kt+=ni(ye)):Kt>bt?(ye=b+1,Kt-=ni(b)):ye=b;const{month:lr,day:mr}=Rr(ye,Kt);return{year:ye,month:lr,day:mr,...ca(w)}}function xo(w){const{year:g,month:d,day:b}=w;return{year:g,ordinal:kr(g,d,b),...ca(w)}}function Eo(w){const{year:g,ordinal:d}=w,{month:b,day:E}=Rr(g,d);return{year:g,month:b,day:E,...ca(w)}}function bn(w,g){if(Fo(w.localWeekday)&&Fo(w.localWeekNumber)&&Fo(w.localWeekYear))return{minDaysInFirstWeek:4,startOfWeek:1};if(!Fo(w.weekday)||!Fo(w.weekNumber)||!Fo(w.weekYear))throw new Bt("Cannot mix locale-based week fields with ISO-based week fields");return Fo(w.localWeekday)||(w.weekday=w.localWeekday),Fo(w.localWeekNumber)||(w.weekNumber=w.localWeekNumber),Fo(w.localWeekYear)||(w.weekYear=w.localWeekYear),delete w.localWeekday,delete w.localWeekNumber,delete w.localWeekYear,{minDaysInFirstWeek:g.getMinDaysInFirstWeek(),startOfWeek:g.getStartOfWeek()}}function Ro(w){const g=ta(w.year),d=pa(w.month,1,12),b=pa(w.day,1,ha(w.year,w.month));return g?d?!b&&ur("day",w.day):ur("month",w.month):ur("year",w.year)}function Qo(w){const{hour:g,minute:d,second:b,millisecond:E}=w,V=pa(g,0,23)||24===g&&0===d&&0===b&&0===E,tt=pa(d,0,59),bt=pa(b,0,59),Kt=pa(E,0,999);return V?tt?bt?!Kt&&ur("millisecond",E):ur("second",b):ur("minute",d):ur("hour",g)}function Fo(w){return typeof w>"u"}function Ei(w){return"number"==typeof w}function ta(w){return"number"==typeof w&&w%1==0}function Pn(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function _n(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function Ka(w,g,d){if(0!==w.length)return w.reduce((b,E)=>{const V=[g(E),E];return b&&d(b[0],V[0])===b[0]?b:V},null)[1]}function Ea(w,g){return Object.prototype.hasOwnProperty.call(w,g)}function Ri(w){if(null==w)return null;if("object"!=typeof w)throw new zt("Week settings must be an object");if(!pa(w.firstDay,1,7)||!pa(w.minimalDays,1,7)||!Array.isArray(w.weekend)||w.weekend.some(g=>!pa(g,1,7)))throw new zt("Invalid week settings");return{firstDay:w.firstDay,minimalDays:w.minimalDays,weekend:Array.from(w.weekend)}}function pa(w,g,d){return ta(w)&&w>=g&&w<=d}function gi(w,g=2){let b;return b=w<0?"-"+(""+-w).padStart(g,"0"):(""+w).padStart(g,"0"),b}function Gi(w){if(!Fo(w)&&null!==w&&""!==w)return parseInt(w,10)}function Ra(w){if(!Fo(w)&&null!==w&&""!==w)return parseFloat(w)}function Xo(w){if(!Fo(w)&&null!==w&&""!==w){const g=1e3*parseFloat("0."+w);return Math.floor(g)}}function Ca(w,g,d=!1){const b=10**g;return(d?Math.trunc:Math.round)(w*b)/b}function fi(w){return w%4==0&&(w%100!=0||w%400==0)}function ni(w){return fi(w)?366:365}function ha(w,g){const d=function Ki(w,g){return w-g*Math.floor(w/g)}(g-1,12)+1;return 2===d?fi(w+(g-d)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][d-1]}function Xi(w){let g=Date.UTC(w.year,w.month-1,w.day,w.hour,w.minute,w.second,w.millisecond);return w.year<100&&w.year>=0&&(g=new Date(g),g.setUTCFullYear(w.year,w.month-1,w.day)),+g}function Qs(w,g,d){return-$r(Er(w,1,g),d)+g-1}function mi(w,g=4,d=1){const b=Qs(w,g,d),E=Qs(w+1,g,d);return(ni(w)-b+E)/7}function Ci(w){return w>99?w:w>Ot.twoDigitCutoffYear?1900+w:2e3+w}function co(w,g,d,b=null){const E=new Date(w),V={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};b&&(V.timeZone=b);const tt={timeZoneName:g,...V},bt=new Intl.DateTimeFormat(d,tt).formatToParts(E).find(Kt=>"timezonename"===Kt.type.toLowerCase());return bt?bt.value:null}function Da(w,g){let d=parseInt(w,10);Number.isNaN(d)&&(d=0);const b=parseInt(g,10)||0;return 60*d+(d<0||Object.is(d,-0)?-b:b)}function Ga(w){const g=Number(w);if("boolean"==typeof w||""===w||Number.isNaN(g))throw new zt(`Invalid unit value ${w}`);return g}function ma(w,g){const d={};for(const b in w)if(Ea(w,b)){const E=w[b];if(null==E)continue;d[g(b)]=Ga(E)}return d}function cs(w,g){const d=Math.trunc(Math.abs(w/60)),b=Math.trunc(Math.abs(w%60)),E=w>=0?"+":"-";switch(g){case"short":return`${E}${gi(d,2)}:${gi(b,2)}`;case"narrow":return`${E}${d}${b>0?`:${b}`:""}`;case"techie":return`${E}${gi(d,2)}${gi(b,2)}`;default:throw new RangeError(`Value format ${g} is out of range for property format`)}}function ca(w){return function Ii(w,g){return g.reduce((d,b)=>(d[b]=w[b],d),{})}(w,["hour","minute","second","millisecond"])}const cc=["January","February","March","April","May","June","July","August","September","October","November","December"],ls=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Sa=["J","F","M","A","M","J","J","A","S","O","N","D"];function Aa(w){switch(w){case"narrow":return[...Sa];case"short":return[...ls];case"long":return[...cc];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 Na=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Di=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Bi=["M","T","W","T","F","S","S"];function ci(w){switch(w){case"narrow":return[...Bi];case"short":return[...Di];case"long":return[...Na];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ga=["AM","PM"],Cs=["Before Christ","Anno Domini"],Ta=["BC","AD"],Ua=["B","A"];function ds(w){switch(w){case"narrow":return[...Ua];case"short":return[...Ta];case"long":return[...Cs];default:return null}}function Ee(w,g){let d="";for(const b of w)d+=b.literal?b.val:g(b.val);return d}const Fr={D:Dt,DD:wt,DDD:Xe,DDDD:Te,t:Ke,tt:re,ttt:Ve,tttt:tr,T:Tr,TT:Wr,TTT:Lo,TTTT:Or,f:fo,ff:Lt,fff:W,ffff:z,F:cr,FF:At,FFF:N,FFFF:Rt};class Ir{static create(g,d={}){return new Ir(g,d)}static parseFormat(g){let d=null,b="",E=!1;const V=[];for(let tt=0;tt0&&V.push({literal:E||/^\s+$/.test(b),val:b}),d=null,b="",E=!E):E||bt===d?b+=bt:(b.length>0&&V.push({literal:/^\s+$/.test(b),val:b}),b=bt,d=bt)}return b.length>0&&V.push({literal:E||/^\s+$/.test(b),val:b}),V}static macroTokenToFormatOpts(g){return Fr[g]}constructor(g,d){this.opts=d,this.loc=g,this.systemLoc=null}formatWithSystemDefault(g,d){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(g,{...this.opts,...d}).format()}dtFormatter(g,d={}){return this.loc.dtFormatter(g,{...this.opts,...d})}formatDateTime(g,d){return this.dtFormatter(g,d).format()}formatDateTimeParts(g,d){return this.dtFormatter(g,d).formatToParts()}formatInterval(g,d){return this.dtFormatter(g.start,d).dtf.formatRange(g.start.toJSDate(),g.end.toJSDate())}resolvedOptions(g,d){return this.dtFormatter(g,d).resolvedOptions()}num(g,d=0){if(this.opts.forceSimple)return gi(g,d);const b={...this.opts};return d>0&&(b.padTo=d),this.loc.numberFormatter(b).format(g)}formatDateTimeFromString(g,d){const b="en"===this.loc.listingMode(),E=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,V=(to,go)=>this.loc.extract(g,to,go),tt=to=>g.isOffsetFixed&&0===g.offset&&to.allowZ?"Z":g.isValid?g.zone.formatOffset(g.ts,to.format):"",Kt=(to,go)=>b?function Z(w,g){return Aa(g)[w.month-1]}(g,to):V(go?{month:to}:{month:to,day:"numeric"},"month"),ye=(to,go)=>b?function Ds(w,g){return ci(g)[w.weekday-1]}(g,to):V(go?{weekday:to}:{weekday:to,month:"long",day:"numeric"},"weekday"),lr=to=>{const go=Ir.macroTokenToFormatOpts(to);return go?this.formatWithSystemDefault(g,go):to},mr=to=>b?function qt(w,g){return ds(g)[w.year<0?0:1]}(g,to):V({era:to},"era");return Ee(Ir.parseFormat(d),to=>{switch(to){case"S":return this.num(g.millisecond);case"u":case"SSS":return this.num(g.millisecond,3);case"s":return this.num(g.second);case"ss":return this.num(g.second,2);case"uu":return this.num(Math.floor(g.millisecond/10),2);case"uuu":return this.num(Math.floor(g.millisecond/100));case"m":return this.num(g.minute);case"mm":return this.num(g.minute,2);case"h":return this.num(g.hour%12==0?12:g.hour%12);case"hh":return this.num(g.hour%12==0?12:g.hour%12,2);case"H":return this.num(g.hour);case"HH":return this.num(g.hour,2);case"Z":return tt({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return tt({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return tt({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return g.zone.offsetName(g.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return g.zone.offsetName(g.ts,{format:"long",locale:this.loc.locale});case"z":return g.zoneName;case"a":return b?function Bs(w){return ga[w.hour<12?0:1]}(g):V({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return E?V({day:"numeric"},"day"):this.num(g.day);case"dd":return E?V({day:"2-digit"},"day"):this.num(g.day,2);case"c":case"E":return this.num(g.weekday);case"ccc":return ye("short",!0);case"cccc":return ye("long",!0);case"ccccc":return ye("narrow",!0);case"EEE":return ye("short",!1);case"EEEE":return ye("long",!1);case"EEEEE":return ye("narrow",!1);case"L":return E?V({month:"numeric",day:"numeric"},"month"):this.num(g.month);case"LL":return E?V({month:"2-digit",day:"numeric"},"month"):this.num(g.month,2);case"LLL":return Kt("short",!0);case"LLLL":return Kt("long",!0);case"LLLLL":return Kt("narrow",!0);case"M":return E?V({month:"numeric"},"month"):this.num(g.month);case"MM":return E?V({month:"2-digit"},"month"):this.num(g.month,2);case"MMM":return Kt("short",!1);case"MMMM":return Kt("long",!1);case"MMMMM":return Kt("narrow",!1);case"y":return E?V({year:"numeric"},"year"):this.num(g.year);case"yy":return E?V({year:"2-digit"},"year"):this.num(g.year.toString().slice(-2),2);case"yyyy":return E?V({year:"numeric"},"year"):this.num(g.year,4);case"yyyyyy":return E?V({year:"numeric"},"year"):this.num(g.year,6);case"G":return mr("short");case"GG":return mr("long");case"GGGGG":return mr("narrow");case"kk":return this.num(g.weekYear.toString().slice(-2),2);case"kkkk":return this.num(g.weekYear,4);case"W":return this.num(g.weekNumber);case"WW":return this.num(g.weekNumber,2);case"n":return this.num(g.localWeekNumber);case"nn":return this.num(g.localWeekNumber,2);case"ii":return this.num(g.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(g.localWeekYear,4);case"o":return this.num(g.ordinal);case"ooo":return this.num(g.ordinal,3);case"q":return this.num(g.quarter);case"qq":return this.num(g.quarter,2);case"X":return this.num(Math.floor(g.ts/1e3));case"x":return this.num(g.ts);default:return lr(to)}})}formatDurationFromString(g,d){const b=Kt=>{switch(Kt[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=Ir.parseFormat(d),tt=V.reduce((Kt,{literal:ye,val:lr})=>ye?Kt:Kt.concat(lr),[]);return Ee(V,(Kt=>ye=>{const lr=b(ye);return lr?this.num(Kt.get(lr),ye.length):ye})(g.shiftTo(...tt.map(b).filter(Kt=>Kt))))}}const Hr=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Qr(...w){const g=w.reduce((d,b)=>d+b.source,"");return RegExp(`^${g}$`)}function qo(...w){return g=>w.reduce(([d,b,E],V)=>{const[tt,bt,Kt]=V(g,E);return[{...d,...tt},bt||b,Kt]},[{},null,1]).slice(0,2)}function Wn(w,...g){if(null==w)return[null,null];for(const[d,b]of g){const E=d.exec(w);if(E)return b(E)}return[null,null]}function Mo(...w){return(g,d)=>{const b={};let E;for(E=0;Evoid 0!==to&&(go||to&&lr)?-to:to;return[{years:bo(Ra(d)),months:bo(Ra(b)),weeks:bo(Ra(E)),days:bo(Ra(V)),hours:bo(Ra(tt)),minutes:bo(Ra(bt)),seconds:bo(Ra(Kt),"-0"===Kt),milliseconds:bo(Xo(ye),mr)}]}const pl={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function lc(w,g,d,b,E,V,tt){const bt={year:2===g.length?Ci(Gi(g)):Gi(g),month:ls.indexOf(d)+1,day:Gi(b),hour:Gi(E),minute:Gi(V)};return tt&&(bt.second=Gi(tt)),w&&(bt.weekday=w.length>3?Na.indexOf(w)+1:Di.indexOf(w)+1),bt}const wn=/^(?:(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 la(w){const[,g,d,b,E,V,tt,bt,Kt,ye,lr,mr]=w,bo=lc(g,E,b,d,V,tt,bt);let to;return to=Kt?pl[Kt]:ye?0:Da(lr,mr),[bo,new Ln(to)]}const Vs=/^(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$/,vc=/^(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$/,Fd=/^(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 _c(w){const[,g,d,b,E,V,tt,bt]=w;return[lc(g,E,b,d,V,tt,bt),Ln.utcInstance]}function dc(w){const[,g,d,b,E,V,tt,bt]=w;return[lc(g,bt,d,b,E,V,tt),Ln.utcInstance]}const vn=Qr(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Oi),Ic=Qr(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Oi),td=Qr(/(\d{4})-?(\d{3})/,Oi),ed=Qr(Fn),uc=qo(function je(w,g){return[{year:Ft(w,g),month:Ft(w,g+1,1),day:Ft(w,g+2,1)},null,g+3]},_o,Jo,ea),$a=qo($s,_o,Jo,ea),Oc=qo(us,_o,Jo,ea),Ss=qo(_o,Jo,ea),od=qo(_o),xc=Qr(/(\d{4})-(\d\d)-(\d\d)/,Q),jc=Qr(dt),pc=qo(_o,Jo,ea),Hc="Invalid Duration",ps={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}},nd={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},...ps},Vi=365.2425,zi=30.436875,ii={years:{quarters:4,months:12,weeks:Vi/7,days:Vi,hours:24*Vi,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:Vi/28,days:Vi/4,hours:24*Vi/4,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:zi/7,days:zi,hours:24*zi,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...ps},Pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Ao=Pr.slice(0).reverse();function Rn(w,g,d=!1){const b={values:d?g.values:{...w.values,...g.values||{}},loc:w.loc.clone(g.loc),conversionAccuracy:g.conversionAccuracy||w.conversionAccuracy,matrix:g.matrix||w.matrix};return new Bn(b)}function wa(w,g){let d=g.milliseconds??0;for(const b of Ao.slice(1))g[b]&&(d+=g[b]*w[b].milliseconds);return d}function Qn(w,g){const d=wa(w,g)<0?-1:1;Pr.reduceRight((b,E)=>{if(Fo(g[E]))return b;if(b){const tt=w[E][b],bt=Math.floor(g[b]*d/tt);g[E]+=bt*d,g[b]-=bt*tt*d}return E},null),Pr.reduce((b,E)=>{if(Fo(g[E]))return b;if(b){const V=g[b]%1;g[b]-=V,g[E]+=V*w[b][E]}return E},null)}class Bn{constructor(g){const d="longterm"===g.conversionAccuracy||!1;let b=d?ii:nd;g.matrix&&(b=g.matrix),this.values=g.values,this.loc=g.loc||po.create(),this.conversionAccuracy=d?"longterm":"casual",this.invalid=g.invalid||null,this.matrix=b,this.isLuxonDuration=!0}static fromMillis(g,d){return Bn.fromObject({milliseconds:g},d)}static fromObject(g,d={}){if(null==g||"object"!=typeof g)throw new zt("Duration.fromObject: argument expected to be an object, got "+(null===g?"null":typeof g));return new Bn({values:ma(g,Bn.normalizeUnit),loc:po.fromObject(d),conversionAccuracy:d.conversionAccuracy,matrix:d.matrix})}static fromDurationLike(g){if(Ei(g))return Bn.fromMillis(g);if(Bn.isDuration(g))return g;if("object"==typeof g)return Bn.fromObject(g);throw new zt(`Unknown duration argument ${g} of type ${typeof g}`)}static fromISO(g,d){const[b]=function ra(w){return Wn(w,[yc,js])}(g);return b?Bn.fromObject(b,d):Bn.invalid("unparsable",`the input "${g}" can't be parsed as ISO 8601`)}static fromISOTime(g,d){const[b]=function Al(w){return Wn(w,[Mc,od])}(g);return b?Bn.fromObject(b,d):Bn.invalid("unparsable",`the input "${g}" can't be parsed as ISO 8601`)}static invalid(g,d=null){if(!g)throw new zt("need to specify a reason the Duration is invalid");const b=g instanceof me?g:new me(g,d);if(Ot.throwOnInvalid)throw new Ht(b);return new Bn({invalid:b})}static normalizeUnit(g){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"}[g&&g.toLowerCase()];if(!d)throw new Fe(g);return d}static isDuration(g){return g&&g.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(g,d={}){const b={...d,floor:!1!==d.round&&!1!==d.floor};return this.isValid?Ir.create(this.loc,b).formatDurationFromString(this,g):Hc}toHuman(g={}){if(!this.isValid)return Hc;const d=Pr.map(b=>{const E=this.values[b];return Fo(E)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...g,unit:b.slice(0,-1)}).format(E)}).filter(b=>b);return this.loc.listFormatter({type:"conjunction",style:g.listStyle||"narrow",...g}).format(d)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let g="P";return 0!==this.years&&(g+=this.years+"Y"),(0!==this.months||0!==this.quarters)&&(g+=this.months+3*this.quarters+"M"),0!==this.weeks&&(g+=this.weeks+"W"),0!==this.days&&(g+=this.days+"D"),(0!==this.hours||0!==this.minutes||0!==this.seconds||0!==this.milliseconds)&&(g+="T"),0!==this.hours&&(g+=this.hours+"H"),0!==this.minutes&&(g+=this.minutes+"M"),(0!==this.seconds||0!==this.milliseconds)&&(g+=Ca(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===g&&(g+="T0S"),g}toISOTime(g={}){if(!this.isValid)return null;const d=this.toMillis();return d<0||d>=864e5?null:(g={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...g,includeOffset:!1},Bo.fromMillis(d,{zone:"UTC"}).toISOTime(g))}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?wa(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(g){if(!this.isValid)return this;const d=Bn.fromDurationLike(g),b={};for(const E of Pr)(Ea(d.values,E)||Ea(this.values,E))&&(b[E]=d.get(E)+this.get(E));return Rn(this,{values:b},!0)}minus(g){if(!this.isValid)return this;const d=Bn.fromDurationLike(g);return this.plus(d.negate())}mapUnits(g){if(!this.isValid)return this;const d={};for(const b of Object.keys(this.values))d[b]=Ga(g(this.values[b],b));return Rn(this,{values:d},!0)}get(g){return this[Bn.normalizeUnit(g)]}set(g){return this.isValid?Rn(this,{values:{...this.values,...ma(g,Bn.normalizeUnit)}}):this}reconfigure({locale:g,numberingSystem:d,conversionAccuracy:b,matrix:E}={}){return Rn(this,{loc:this.loc.clone({locale:g,numberingSystem:d}),matrix:E,conversionAccuracy:b})}as(g){return this.isValid?this.shiftTo(g).get(g):NaN}normalize(){if(!this.isValid)return this;const g=this.toObject();return Qn(this.matrix,g),Rn(this,{values:g},!0)}rescale(){return this.isValid?Rn(this,{values:function ai(w){const g={};for(const[d,b]of Object.entries(w))0!==b&&(g[d]=b);return g}(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...g){if(!this.isValid)return this;if(0===g.length)return this;g=g.map(tt=>Bn.normalizeUnit(tt));const d={},b={},E=this.toObject();let V;for(const tt of Pr)if(g.indexOf(tt)>=0){V=tt;let bt=0;for(const ye in b)bt+=this.matrix[ye][tt]*b[ye],b[ye]=0;Ei(E[tt])&&(bt+=E[tt]);const Kt=Math.trunc(bt);d[tt]=Kt,b[tt]=(1e3*bt-1e3*Kt)/1e3}else Ei(E[tt])&&(b[tt]=E[tt]);for(const tt in b)0!==b[tt]&&(d[V]+=tt===V?b[tt]:b[tt]/this.matrix[V][tt]);return Qn(this.matrix,d),Rn(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 g={};for(const d of Object.keys(this.values))g[d]=0===this.values[d]?0:-this.values[d];return Rn(this,{values:g},!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(g){if(!this.isValid||!g.isValid||!this.loc.equals(g.loc))return!1;function d(b,E){return void 0===b||0===b?void 0===E||0===E:b===E}for(const b of Pr)if(!d(this.values[b],g.values[b]))return!1;return!0}}const Kn="Invalid Interval";class li{constructor(g){this.s=g.start,this.e=g.end,this.invalid=g.invalid||null,this.isLuxonInterval=!0}static invalid(g,d=null){if(!g)throw new zt("need to specify a reason the Interval is invalid");const b=g instanceof me?g:new me(g,d);if(Ot.throwOnInvalid)throw new be(b);return new li({invalid:b})}static fromDateTimes(g,d){const b=Kc(g),E=Kc(d),V=function ri(w,g){return w&&w.isValid?g&&g.isValid?gg}isBefore(g){return!!this.isValid&&this.e<=g}contains(g){return!!this.isValid&&this.s<=g&&this.e>g}set({start:g,end:d}={}){return this.isValid?li.fromDateTimes(g||this.s,d||this.e):this}splitAt(...g){if(!this.isValid)return[];const d=g.map(Kc).filter(tt=>this.contains(tt)).sort((tt,bt)=>tt.toMillis()-bt.toMillis()),b=[];let{s:E}=this,V=0;for(;E+this.e?this.e:tt;b.push(li.fromDateTimes(E,bt)),E=bt,V+=1}return b}splitBy(g){const d=Bn.fromDurationLike(g);if(!this.isValid||!d.isValid||0===d.as("milliseconds"))return[];let V,{s:b}=this,E=1;const tt=[];for(;bKt*E));V=+bt>+this.e?this.e:bt,tt.push(li.fromDateTimes(b,V)),b=V,E+=1}return tt}divideEqually(g){return this.isValid?this.splitBy(this.length()/g).slice(0,g):[]}overlaps(g){return this.e>g.s&&this.s=g.e}equals(g){return!(!this.isValid||!g.isValid)&&this.s.equals(g.s)&&this.e.equals(g.e)}intersection(g){if(!this.isValid)return this;const d=this.s>g.s?this.s:g.s,b=this.e=b?null:li.fromDateTimes(d,b)}union(g){return this.isValid?li.fromDateTimes(this.sg.e?this.e:g.e):this}static merge(g){const[d,b]=g.sort((E,V)=>E.s-V.s).reduce(([E,V],tt)=>V?V.overlaps(tt)||V.abutsStart(tt)?[E,V.union(tt)]:[E.concat([V]),tt]:[E,tt],[[],null]);return b&&d.push(b),d}static xor(g){let d=null,b=0;const E=[],V=g.map(Kt=>[{time:Kt.s,type:"s"},{time:Kt.e,type:"e"}]),bt=Array.prototype.concat(...V).sort((Kt,ye)=>Kt.time-ye.time);for(const Kt of bt)b+="s"===Kt.type?1:-1,1===b?d=Kt.time:(d&&+d!=+Kt.time&&E.push(li.fromDateTimes(d,Kt.time)),d=null);return li.merge(E)}difference(...g){return li.xor([this].concat(g)).map(d=>this.intersection(d)).filter(d=>d&&!d.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:Kn}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(g=Dt,d={}){return this.isValid?Ir.create(this.s.loc.clone(d),g).formatInterval(this):Kn}toISO(g){return this.isValid?`${this.s.toISO(g)}/${this.e.toISO(g)}`:Kn}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Kn}toISOTime(g){return this.isValid?`${this.s.toISOTime(g)}/${this.e.toISOTime(g)}`:Kn}toFormat(g,{separator:d=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(g)}${d}${this.e.toFormat(g)}`:Kn}toDuration(g,d){return this.isValid?this.e.diff(this.s,g,d):Bn.invalid(this.invalidReason)}mapEndpoints(g){return li.fromDateTimes(g(this.s),g(this.e))}}class on{static hasDST(g=Ot.defaultZone){const d=Bo.now().setZone(g).set({month:12});return!g.isUniversal&&d.offset!==d.set({month:6}).offset}static isValidIANAZone(g){return zo.isValidZone(g)}static normalizeZone(g){return $i(g,Ot.defaultZone)}static getStartOfWeek({locale:g=null,locObj:d=null}={}){return(d||po.create(g)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:g=null,locObj:d=null}={}){return(d||po.create(g)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:g=null,locObj:d=null}={}){return(d||po.create(g)).getWeekendDays().slice()}static months(g="long",{locale:d=null,numberingSystem:b=null,locObj:E=null,outputCalendar:V="gregory"}={}){return(E||po.create(d,b,V)).months(g)}static monthsFormat(g="long",{locale:d=null,numberingSystem:b=null,locObj:E=null,outputCalendar:V="gregory"}={}){return(E||po.create(d,b,V)).months(g,!0)}static weekdays(g="long",{locale:d=null,numberingSystem:b=null,locObj:E=null}={}){return(E||po.create(d,b,null)).weekdays(g)}static weekdaysFormat(g="long",{locale:d=null,numberingSystem:b=null,locObj:E=null}={}){return(E||po.create(d,b,null)).weekdays(g,!0)}static meridiems({locale:g=null}={}){return po.create(g).meridiems()}static eras(g="short",{locale:d=null}={}){return po.create(d,null,"gregory").eras(g)}static features(){return{relative:Pn(),localeWeek:_n()}}}function Xa(w,g){const d=E=>E.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),b=d(g)-d(w);return Math.floor(Bn.fromMillis(b).as("days"))}function Cn(w,g=d=>d){return{regex:w,deser:([d])=>g(function Ji(w){let g=parseInt(w,10);if(isNaN(g)){g="";for(let d=0;d=V&&b<=tt&&(g+=b-V)}}return parseInt(g,10)}return g}(d))}}const di="[ \xa0]",Un=new RegExp(di,"g");function U(w){return w.replace(/\./g,"\\.?").replace(Un,di)}function Tt(w){return w.replace(/\./g,"").replace(Un," ").toLowerCase()}function rt(w,g){return null===w?null:{regex:RegExp(w.map(U).join("|")),deser:([d])=>w.findIndex(b=>Tt(d)===Tt(b))+g}}function mt(w,g){return{regex:w,deser:([,d,b])=>Da(d,b),groups:g}}function xe(w){return{regex:w,deser:([g])=>g}}function Ge(w){return w.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}const eo={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 ln=null;function ya(w,g){return Array.prototype.concat(...w.map(d=>function xn(w,g){if(w.literal)return w;const b=Hs(Ir.macroTokenToFormatOpts(w.val),g);return null==b||b.includes(void 0)?w:b}(d,g)))}class Ni{constructor(g,d){if(this.locale=g,this.format=d,this.tokens=ya(Ir.parseFormat(d),g),this.units=this.tokens.map(b=>function Br(w,g){const d=si(g),b=si(g,"{2}"),E=si(g,"{3}"),V=si(g,"{4}"),tt=si(g,"{6}"),bt=si(g,"{1,2}"),Kt=si(g,"{1,3}"),ye=si(g,"{1,6}"),lr=si(g,"{1,9}"),mr=si(g,"{2,4}"),bo=si(g,"{4,6}"),to=Sn=>({regex:RegExp(Ge(Sn.val)),deser:([Ti])=>Ti,literal:!0}),en=(Sn=>{if(w.literal)return to(Sn);switch(Sn.val){case"G":return rt(g.eras("short"),0);case"GG":return rt(g.eras("long"),0);case"y":return Cn(ye);case"yy":case"kk":return Cn(mr,Ci);case"yyyy":case"kkkk":return Cn(V);case"yyyyy":return Cn(bo);case"yyyyyy":return Cn(tt);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Cn(bt);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Cn(b);case"MMM":return rt(g.months("short",!0),1);case"MMMM":return rt(g.months("long",!0),1);case"LLL":return rt(g.months("short",!1),1);case"LLLL":return rt(g.months("long",!1),1);case"o":case"S":return Cn(Kt);case"ooo":case"SSS":return Cn(E);case"u":return xe(lr);case"uu":return xe(bt);case"uuu":case"E":case"c":return Cn(d);case"a":return rt(g.meridiems(),0);case"EEE":return rt(g.weekdays("short",!1),1);case"EEEE":return rt(g.weekdays("long",!1),1);case"ccc":return rt(g.weekdays("short",!0),1);case"cccc":return rt(g.weekdays("long",!0),1);case"Z":case"ZZ":return mt(new RegExp(`([+-]${bt.source})(?::(${b.source}))?`),2);case"ZZZ":return mt(new RegExp(`([+-]${bt.source})(${b.source})?`),2);case"z":return xe(/[a-z_+-/]{1,256}?/i);case" ":return xe(/[^\S\n\r]/);default:return to(Sn)}})(w)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return en.token=w,en}(b,g)),this.disqualifyingUnit=this.units.find(b=>b.invalidReason),!this.disqualifyingUnit){const[b,E]=function In(w){return[`^${w.map(d=>d.regex).reduce((d,b)=>`${d}(${b.source})`,"")}$`,w]}(this.units);this.regex=RegExp(b,"i"),this.handlers=E}}explainFromTokens(g){if(this.isValid){const[d,b]=function Dn(w,g,d){const b=w.match(g);if(b){const E={};let V=1;for(const tt in d)if(Ea(d,tt)){const bt=d[tt],Kt=bt.groups?bt.groups+1:1;!bt.literal&&bt.token&&(E[bt.token.val[0]]=bt.deser(b.slice(V,V+Kt))),V+=Kt}return[b,E]}return[b,{}]}(g,this.regex,this.handlers),[E,V,tt]=b?function No(w){let b,d=null;return Fo(w.z)||(d=zo.create(w.z)),Fo(w.Z)||(d||(d=new Ln(w.Z)),b=w.Z),Fo(w.q)||(w.M=3*(w.q-1)+1),Fo(w.h)||(w.h<12&&1===w.a?w.h+=12:12===w.h&&0===w.a&&(w.h=0)),0===w.G&&w.y&&(w.y=-w.y),Fo(w.u)||(w.S=Xo(w.u)),[Object.keys(w).reduce((V,tt)=>{const bt=(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}})(tt);return bt&&(V[bt]=w[tt]),V},{}),d,b]}(b):[null,null,void 0];if(Ea(b,"a")&&Ea(b,"H"))throw new Bt("Can't include meridiem when specifying 24-hour format");return{input:g,tokens:this.tokens,regex:this.regex,rawMatches:d,matches:b,result:E,zone:V,specificOffset:tt}}return{input:g,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function hs(w,g,d){return new Ni(w,d).explainFromTokens(g)}function Hs(w,g){if(!w)return null;const b=Ir.create(g,w).dtFormatter(function nn(){return ln||(ln=Bo.fromMillis(1555555555555)),ln}()),E=b.formatToParts(),V=b.resolvedOptions();return E.map(tt=>function dn(w,g,d){const{type:b,value:E}=w;if("literal"===b){const Kt=/^\s+$/.test(E);return{literal:!Kt,val:Kt?" ":E}}let tt=b;"hour"===b&&(tt=null!=g.hour12?g.hour12?"hour12":"hour24":null!=g.hourCycle?"h11"===g.hourCycle||"h12"===g.hourCycle?"hour12":"hour24":d.hour12?"hour12":"hour24");let bt=eo[tt];if("object"==typeof bt&&(bt=bt[g[b]]),bt)return{literal:!1,val:bt}}(tt,w,V))}const La="Invalid DateTime",As=864e13;function Ts(w){return new me("unsupported zone",`the zone "${w.name}" is not supported`)}function qs(w){return null===w.weekData&&(w.weekData=Jr(w.c)),w.weekData}function id(w){return null===w.localWeekData&&(w.localWeekData=Jr(w.c,w.loc.getMinDaysInFirstWeek(),w.loc.getStartOfWeek())),w.localWeekData}function Ms(w,g){const d={ts:w.ts,zone:w.zone,c:w.c,o:w.o,loc:w.loc,invalid:w.invalid};return new Bo({...d,...g,old:d})}function Is(w,g,d){let b=w-60*g*1e3;const E=d.offset(b);if(g===E)return[b,g];b-=60*(E-g)*1e3;const V=d.offset(b);return E===V?[b,E]:[w-60*Math.min(E,V)*1e3,Math.max(E,V)]}function Rc(w,g){const d=new Date(w+=60*g*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 ad(w,g,d){return Is(Xi(w),g,d)}function Bd(w,g){const d=w.o,b=w.c.year+Math.trunc(g.years),E=w.c.month+Math.trunc(g.months)+3*Math.trunc(g.quarters),V={...w.c,year:b,month:E,day:Math.min(w.c.day,ha(b,E))+Math.trunc(g.days)+7*Math.trunc(g.weeks)},tt=Bn.fromObject({years:g.years-Math.trunc(g.years),quarters:g.quarters-Math.trunc(g.quarters),months:g.months-Math.trunc(g.months),weeks:g.weeks-Math.trunc(g.weeks),days:g.days-Math.trunc(g.days),hours:g.hours,minutes:g.minutes,seconds:g.seconds,milliseconds:g.milliseconds}).as("milliseconds"),bt=Xi(V);let[Kt,ye]=Is(bt,d,w.zone);return 0!==tt&&(Kt+=tt,ye=w.zone.offset(Kt)),{ts:Kt,o:ye}}function zc(w,g,d,b,E,V){const{setZone:tt,zone:bt}=d;if(w&&0!==Object.keys(w).length||g){const Kt=g||bt,ye=Bo.fromObject(w,{...d,zone:Kt,specificOffset:V});return tt?ye:ye.setZone(bt)}return Bo.invalid(new me("unparsable",`the input "${E}" can't be parsed as ${b}`))}function hl(w,g,d=!0){return w.isValid?Ir.create(po.create("en-US"),{allowZ:d,forceSimple:!0}).formatDateTimeFromString(w,g):null}function hc(w,g){const d=w.c.year>9999||w.c.year<0;let b="";return d&&w.c.year>=0&&(b+="+"),b+=gi(w.c.year,d?6:4),g?(b+="-",b+=gi(w.c.month),b+="-",b+=gi(w.c.day)):(b+=gi(w.c.month),b+=gi(w.c.day)),b}function wi(w,g,d,b,E,V){let tt=gi(w.c.hour);return g?(tt+=":",tt+=gi(w.c.minute),(0!==w.c.millisecond||0!==w.c.second||!d)&&(tt+=":")):tt+=gi(w.c.minute),(0!==w.c.millisecond||0!==w.c.second||!d)&&(tt+=gi(w.c.second),(0!==w.c.millisecond||!b)&&(tt+=".",tt+=gi(w.c.millisecond,3))),E&&(w.isOffsetFixed&&0===w.offset&&!V?tt+="Z":w.o<0?(tt+="-",tt+=gi(Math.trunc(-w.o/60)),tt+=":",tt+=gi(Math.trunc(-w.o%60))):(tt+="+",tt+=gi(Math.trunc(w.o/60)),tt+=":",tt+=gi(Math.trunc(w.o%60)))),V&&(tt+="["+w.zone.ianaName+"]"),tt}const Wi={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},kc={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},sd={ordinal:1,hour:0,minute:0,second:0,millisecond:0},gl=["year","month","day","hour","minute","second","millisecond"],cd=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Ud=["year","ordinal","hour","minute","second","millisecond"];function $d(w){switch(w.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function sp(w){const g={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"}[w.toLowerCase()];if(!g)throw new Fe(w);return g}(w)}}function $o(w,g){const d=$i(g.zone,Ot.defaultZone);if(!d.isValid)return Bo.invalid(Ts(d));const b=po.fromObject(g);let E,V;if(Fo(w.year))E=Ot.now();else{for(const Kt of gl)Fo(w[Kt])&&(w[Kt]=Wi[Kt]);const tt=Ro(w)||Qo(w);if(tt)return Bo.invalid(tt);const bt=function _h(w){return zs[w]||(void 0===Wc&&(Wc=Ot.now()),zs[w]=w.offset(Wc)),zs[w]}(d);[E,V]=ad(w,bt,d)}return new Bo({ts:E,zone:d,loc:b,o:V})}function Tl(w,g,d){const b=!!Fo(d.round)||d.round,E=(tt,bt)=>(tt=Ca(tt,b||d.calendary?0:2,!0),g.loc.clone(d).relFormatter(d).format(tt,bt)),V=tt=>d.calendary?g.hasSame(w,tt)?0:g.startOf(tt).diff(w.startOf(tt),tt).get(tt):g.diff(w,tt).get(tt);if(d.unit)return E(V(d.unit),d.unit);for(const tt of d.units){const bt=V(tt);if(Math.abs(bt)>=1)return E(bt,tt)}return E(w>g?-0:0,d.units[d.units.length-1])}function Ha(w){let d,g={};return w.length>0&&"object"==typeof w[w.length-1]?(g=w[w.length-1],d=Array.from(w).slice(0,w.length-1)):d=Array.from(w),[g,d]}let Wc,zs={};class Bo{constructor(g){const d=g.zone||Ot.defaultZone;let b=g.invalid||(Number.isNaN(g.ts)?new me("invalid input"):null)||(d.isValid?null:Ts(d));this.ts=Fo(g.ts)?Ot.now():g.ts;let E=null,V=null;if(!b)if(g.old&&g.old.ts===this.ts&&g.old.zone.equals(d))[E,V]=[g.old.c,g.old.o];else{const bt=Ei(g.o)&&!g.old?g.o:d.offset(this.ts);E=Rc(this.ts,bt),b=Number.isNaN(E.year)?new me("invalid input"):null,E=b?null:E,V=b?null:bt}this._zone=d,this.loc=g.loc||po.create(),this.invalid=b,this.weekData=null,this.localWeekData=null,this.c=E,this.o=V,this.isLuxonDateTime=!0}static now(){return new Bo({})}static local(){const[g,d]=Ha(arguments),[b,E,V,tt,bt,Kt,ye]=d;return $o({year:b,month:E,day:V,hour:tt,minute:bt,second:Kt,millisecond:ye},g)}static utc(){const[g,d]=Ha(arguments),[b,E,V,tt,bt,Kt,ye]=d;return g.zone=Ln.utcInstance,$o({year:b,month:E,day:V,hour:tt,minute:bt,second:Kt,millisecond:ye},g)}static fromJSDate(g,d={}){const b=function as(w){return"[object Date]"===Object.prototype.toString.call(w)}(g)?g.valueOf():NaN;if(Number.isNaN(b))return Bo.invalid("invalid input");const E=$i(d.zone,Ot.defaultZone);return E.isValid?new Bo({ts:b,zone:E,loc:po.fromObject(d)}):Bo.invalid(Ts(E))}static fromMillis(g,d={}){if(Ei(g))return g<-As||g>As?Bo.invalid("Timestamp out of range"):new Bo({ts:g,zone:$i(d.zone,Ot.defaultZone),loc:po.fromObject(d)});throw new zt(`fromMillis requires a numerical input, but received a ${typeof g} with value ${g}`)}static fromSeconds(g,d={}){if(Ei(g))return new Bo({ts:1e3*g,zone:$i(d.zone,Ot.defaultZone),loc:po.fromObject(d)});throw new zt("fromSeconds requires a numerical input")}static fromObject(g,d={}){g=g||{};const b=$i(d.zone,Ot.defaultZone);if(!b.isValid)return Bo.invalid(Ts(b));const E=po.fromObject(d),V=ma(g,$d),{minDaysInFirstWeek:tt,startOfWeek:bt}=bn(V,E),Kt=Ot.now(),ye=Fo(d.specificOffset)?b.offset(Kt):d.specificOffset,lr=!Fo(V.ordinal),mr=!Fo(V.year),bo=!Fo(V.month)||!Fo(V.day),to=mr||bo,go=V.weekYear||V.weekNumber;if((to||lr)&&go)throw new Bt("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(bo&&lr)throw new Bt("Can't mix ordinal dates with month/day");const en=go||V.weekday&&!to;let Sn,Ti,ui=Rc(Kt,ye);en?(Sn=cd,Ti=kc,ui=Jr(ui,tt,bt)):lr?(Sn=Ud,Ti=sd,ui=xo(ui)):(Sn=gl,Ti=Wi);let xs=!1;for(const Bc of Sn)Fo(V[Bc])?V[Bc]=xs?Ti[Bc]:ui[Bc]:xs=!0;const es=en?function rn(w,g=4,d=1){const b=ta(w.weekYear),E=pa(w.weekNumber,1,mi(w.weekYear,g,d)),V=pa(w.weekday,1,7);return b?E?!V&&ur("weekday",w.weekday):ur("week",w.weekNumber):ur("weekYear",w.weekYear)}(V,tt,bt):lr?function Mn(w){const g=ta(w.year),d=pa(w.ordinal,1,ni(w.year));return g?!d&&ur("ordinal",w.ordinal):ur("year",w.year)}(V):Ro(V),Rd=es||Qo(V);if(Rd)return Bo.invalid(Rd);const wc=en?so(V,tt,bt):lr?Eo(V):V,[ks,Ys]=ad(wc,ye,b),Sc=new Bo({ts:ks,zone:b,o:Ys,loc:E});return V.weekday&&to&&g.weekday!==Sc.weekday?Bo.invalid("mismatched weekday",`you can't specify both a weekday of ${V.weekday} and a date of ${Sc.toISO()}`):Sc.isValid?Sc:Bo.invalid(Sc.invalid)}static fromISO(g,d={}){const[b,E]=function Ma(w){return Wn(w,[vn,uc],[Ic,$a],[td,Oc],[ed,Ss])}(g);return zc(b,E,d,"ISO 8601",g)}static fromRFC2822(g,d={}){const[b,E]=function ja(w){return Wn(function ba(w){return w.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(w),[wn,la])}(g);return zc(b,E,d,"RFC 2822",g)}static fromHTTP(g,d={}){const[b,E]=function rd(w){return Wn(w,[Vs,_c],[vc,_c],[Fd,dc])}(g);return zc(b,E,d,"HTTP",d)}static fromFormat(g,d,b={}){if(Fo(g)||Fo(d))throw new zt("fromFormat requires an input string and a format");const{locale:E=null,numberingSystem:V=null}=b,tt=po.fromOpts({locale:E,numberingSystem:V,defaultToEN:!0}),[bt,Kt,ye,lr]=function Yi(w,g,d){const{result:b,zone:E,specificOffset:V,invalidReason:tt}=hs(w,g,d);return[b,E,V,tt]}(tt,g,d);return lr?Bo.invalid(lr):zc(bt,Kt,b,`format ${d}`,g,ye)}static fromString(g,d,b={}){return Bo.fromFormat(g,d,b)}static fromSQL(g,d={}){const[b,E]=function Vc(w){return Wn(w,[xc,uc],[jc,pc])}(g);return zc(b,E,d,"SQL",g)}static invalid(g,d=null){if(!g)throw new zt("need to specify a reason the DateTime is invalid");const b=g instanceof me?g:new me(g,d);if(Ot.throwOnInvalid)throw new Qt(b);return new Bo({invalid:b})}static isDateTime(g){return g&&g.isLuxonDateTime||!1}static parseFormatForOpts(g,d={}){const b=Hs(g,po.fromObject(d));return b?b.map(E=>E?E.val:null).join(""):null}static expandFormat(g,d={}){return ya(Ir.parseFormat(g),po.fromObject(d)).map(E=>E.val).join("")}static resetCache(){Wc=void 0,zs={}}get(g){return this[g]}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?qs(this).weekYear:NaN}get weekNumber(){return this.isValid?qs(this).weekNumber:NaN}get weekday(){return this.isValid?qs(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?id(this).weekday:NaN}get localWeekNumber(){return this.isValid?id(this).weekNumber:NaN}get localWeekYear(){return this.isValid?id(this).weekYear:NaN}get ordinal(){return this.isValid?xo(this.c).ordinal:NaN}get monthShort(){return this.isValid?on.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?on.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?on.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?on.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 g=864e5,d=6e4,b=Xi(this.c),E=this.zone.offset(b-g),V=this.zone.offset(b+g),tt=this.zone.offset(b-E*d),bt=this.zone.offset(b-V*d);if(tt===bt)return[this];const Kt=b-tt*d,ye=b-bt*d,lr=Rc(Kt,tt),mr=Rc(ye,bt);return lr.hour===mr.hour&&lr.minute===mr.minute&&lr.second===mr.second&&lr.millisecond===mr.millisecond?[Ms(this,{ts:Kt}),Ms(this,{ts:ye})]:[this]}get isInLeapYear(){return fi(this.year)}get daysInMonth(){return ha(this.year,this.month)}get daysInYear(){return this.isValid?ni(this.year):NaN}get weeksInWeekYear(){return this.isValid?mi(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?mi(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(g={}){const{locale:d,numberingSystem:b,calendar:E}=Ir.create(this.loc.clone(g),g).resolvedOptions(this);return{locale:d,numberingSystem:b,outputCalendar:E}}toUTC(g=0,d={}){return this.setZone(Ln.instance(g),d)}toLocal(){return this.setZone(Ot.defaultZone)}setZone(g,{keepLocalTime:d=!1,keepCalendarTime:b=!1}={}){if((g=$i(g,Ot.defaultZone)).equals(this.zone))return this;if(g.isValid){let E=this.ts;if(d||b){const V=g.offset(this.ts),tt=this.toObject();[E]=ad(tt,V,g)}return Ms(this,{ts:E,zone:g})}return Bo.invalid(Ts(g))}reconfigure({locale:g,numberingSystem:d,outputCalendar:b}={}){return Ms(this,{loc:this.loc.clone({locale:g,numberingSystem:d,outputCalendar:b})})}setLocale(g){return this.reconfigure({locale:g})}set(g){if(!this.isValid)return this;const d=ma(g,$d),{minDaysInFirstWeek:b,startOfWeek:E}=bn(d,this.loc),V=!Fo(d.weekYear)||!Fo(d.weekNumber)||!Fo(d.weekday),tt=!Fo(d.ordinal),bt=!Fo(d.year),Kt=!Fo(d.month)||!Fo(d.day);if((bt||Kt||tt)&&(d.weekYear||d.weekNumber))throw new Bt("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(Kt&&tt)throw new Bt("Can't mix ordinal dates with month/day");let mr;V?mr=so({...Jr(this.c,b,E),...d},b,E):Fo(d.ordinal)?(mr={...this.toObject(),...d},Fo(d.day)&&(mr.day=Math.min(ha(mr.year,mr.month),mr.day))):mr=Eo({...xo(this.c),...d});const[bo,to]=ad(mr,this.o,this.zone);return Ms(this,{ts:bo,o:to})}plus(g){return this.isValid?Ms(this,Bd(this,Bn.fromDurationLike(g))):this}minus(g){return this.isValid?Ms(this,Bd(this,Bn.fromDurationLike(g).negate())):this}startOf(g,{useLocaleWeeks:d=!1}={}){if(!this.isValid)return this;const b={},E=Bn.normalizeUnit(g);switch(E){case"years":b.month=1;case"quarters":case"months":b.day=1;case"weeks":case"days":b.hour=0;case"hours":b.minute=0;case"minutes":b.second=0;case"seconds":b.millisecond=0}if("weeks"===E)if(d){const V=this.loc.getStartOfWeek(),{weekday:tt}=this;ttthis.valueOf(),ye=function Ui(w,g,d,b){let[E,V,tt,bt]=function Zs(w,g,d){const b=[["years",(Kt,ye)=>ye.year-Kt.year],["quarters",(Kt,ye)=>ye.quarter-Kt.quarter+4*(ye.year-Kt.year)],["months",(Kt,ye)=>ye.month-Kt.month+12*(ye.year-Kt.year)],["weeks",(Kt,ye)=>{const lr=Xa(Kt,ye);return(lr-lr%7)/7}],["days",Xa]],E={},V=w;let tt,bt;for(const[Kt,ye]of b)d.indexOf(Kt)>=0&&(tt=Kt,E[Kt]=ye(w,g),bt=V.plus(E),bt>g?(E[Kt]--,(w=V.plus(E))>g&&(bt=w,E[Kt]--,w=V.plus(E))):w=bt);return[w,E,bt,tt]}(w,g,d);const Kt=g-E,ye=d.filter(mr=>["hours","minutes","seconds","milliseconds"].indexOf(mr)>=0);0===ye.length&&(tt0?Bn.fromMillis(Kt,b).shiftTo(...ye).plus(lr):lr}(tt?this:g,tt?g:this,V,E);return tt?ye.negate():ye}diffNow(g="milliseconds",d={}){return this.diff(Bo.now(),g,d)}until(g){return this.isValid?li.fromDateTimes(this,g):this}hasSame(g,d,b){if(!this.isValid)return!1;const E=g.valueOf(),V=this.setZone(g.zone,{keepLocalTime:!0});return V.startOf(d,b)<=E&&E<=V.endOf(d,b)}equals(g){return this.isValid&&g.isValid&&this.valueOf()===g.valueOf()&&this.zone.equals(g.zone)&&this.loc.equals(g.loc)}toRelative(g={}){if(!this.isValid)return null;const d=g.base||Bo.fromObject({},{zone:this.zone}),b=g.padding?thisd.valueOf(),Math.min)}static max(...g){if(!g.every(Bo.isDateTime))throw new zt("max requires all arguments be DateTimes");return Ka(g,d=>d.valueOf(),Math.max)}static fromFormatExplain(g,d,b={}){const{locale:E=null,numberingSystem:V=null}=b;return hs(po.fromOpts({locale:E,numberingSystem:V,defaultToEN:!0}),g,d)}static fromStringExplain(g,d,b={}){return Bo.fromFormatExplain(g,d,b)}static buildFormatParser(g,d={}){const{locale:b=null,numberingSystem:E=null}=d,V=po.fromOpts({locale:b,numberingSystem:E,defaultToEN:!0});return new Ni(V,g)}static fromFormatParser(g,d,b={}){if(Fo(g)||Fo(d))throw new zt("fromFormatParser requires an input string and a format parser");const{locale:E=null,numberingSystem:V=null}=b,tt=po.fromOpts({locale:E,numberingSystem:V,defaultToEN:!0});if(!tt.equals(d.locale))throw new zt(`fromFormatParser called with a locale of ${tt}, but the format parser was created for ${d.locale}`);const{result:bt,zone:Kt,specificOffset:ye,invalidReason:lr}=d.explainFromTokens(g);return lr?Bo.invalid(lr):zc(bt,Kt,b,`format ${d.format}`,g,ye)}static get DATE_SHORT(){return Dt}static get DATE_MED(){return wt}static get DATE_MED_WITH_WEEKDAY(){return ie}static get DATE_FULL(){return Xe}static get DATE_HUGE(){return Te}static get TIME_SIMPLE(){return Ke}static get TIME_WITH_SECONDS(){return re}static get TIME_WITH_SHORT_OFFSET(){return Ve}static get TIME_WITH_LONG_OFFSET(){return tr}static get TIME_24_SIMPLE(){return Tr}static get TIME_24_WITH_SECONDS(){return Wr}static get TIME_24_WITH_SHORT_OFFSET(){return Lo}static get TIME_24_WITH_LONG_OFFSET(){return Or}static get DATETIME_SHORT(){return fo}static get DATETIME_SHORT_WITH_SECONDS(){return cr}static get DATETIME_MED(){return Lt}static get DATETIME_MED_WITH_SECONDS(){return At}static get DATETIME_MED_WITH_WEEKDAY(){return Zt}static get DATETIME_FULL(){return W}static get DATETIME_FULL_WITH_SECONDS(){return N}static get DATETIME_HUGE(){return z}static get DATETIME_HUGE_WITH_SECONDS(){return Rt}}function Kc(w){if(Bo.isDateTime(w))return w;if(w&&w.valueOf&&Ei(w.valueOf()))return Bo.fromJSDate(w);if(w&&"object"==typeof w)return Bo.fromObject(w);throw new zt(`Unknown datetime argument: ${w}, of type ${typeof w}`)}const gc=new l.nKC("MAT_LUXON_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function bu(){return{useUtc:!1,firstDayOfWeek:0,defaultOutputCalendar:"gregory"}}});let Xc=(()=>{class w extends or.MJ{_useUTC;_firstDayOfWeek;_defaultOutputCalendar;constructor(){super();const d=(0,l.WQX)(or.Ju,{optional:!0}),b=(0,l.WQX)(gc,{optional:!0});this._useUTC=!!b?.useUtc,this._firstDayOfWeek=b?.firstDayOfWeek||0,this._defaultOutputCalendar=b?.defaultOutputCalendar||"gregory",this.setLocale(d||Bo.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 on.months(d,{locale:this.locale,outputCalendar:this._defaultOutputCalendar})}getDateNames(){const d=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return function ld(w,g){const d=Array(w);for(let b=0;bd.format(Bo.utc(2017,1,b+1).toJSDate()))}getDayOfWeekNames(d){const b=on.weekdays(d,{locale:this.locale});return b.unshift(b.pop()),b}getYearName(d){return d.toFormat("yyyy",this._getOptions())}getFirstDayOfWeek(){return this._firstDayOfWeek}getNumDaysInMonth(d){return d.daysInMonth}clone(d){return Bo.fromObject(d.toObject(),this._getOptions())}createDate(d,b,E){const V=this._getOptions();if(b<0||b>11)throw Error(`Invalid month index "${b}". Month index has to be between 0 and 11.`);if(E<1)throw Error(`Invalid date "${E}". Date has to be greater than 0.`);const tt=this._useUTC?Bo.utc(d,b+1,E,V):Bo.local(d,b+1,E,V);if(!this.isValid(tt))throw Error(`Invalid date "${E}". Reason: "${tt.invalidReason}".`);return tt}today(){const d=this._getOptions();return this._useUTC?Bo.utc(d):Bo.local(d)}parse(d,b){const E=this._getOptions();if("string"==typeof d&&d.length>0){const V=Bo.fromISO(d,E);if(this.isValid(V))return V;const tt=Array.isArray(b)?b:[b];if(!b.length)throw Error("Formats array must not be empty.");for(const bt of tt){const Kt=Bo.fromFormat(d,bt,E);if(this.isValid(Kt))return Kt}return this.invalid()}return"number"==typeof d?Bo.fromMillis(d,E):d instanceof Date?Bo.fromJSDate(d,E):d instanceof Bo?Bo.fromMillis(d.toMillis(),E):null}format(d,b){if(!this.isValid(d))throw Error("LuxonDateAdapter: Cannot format invalid date.");return this._useUTC?d.setLocale(this.locale).setZone("utc").toFormat(b):d.setLocale(this.locale).toFormat(b)}addCalendarYears(d,b){return d.reconfigure(this._getOptions()).plus({years:b})}addCalendarMonths(d,b){return d.reconfigure(this._getOptions()).plus({months:b})}addCalendarDays(d,b){return d.reconfigure(this._getOptions()).plus({days:b})}toIso8601(d){return d.toISO()}deserialize(d){const b=this._getOptions();let E;if(d instanceof Date&&(E=Bo.fromJSDate(d,b)),"string"==typeof d){if(!d)return null;E=Bo.fromISO(d,b)}return E&&this.isValid(E)?E:super.deserialize(d)}isDateInstance(d){return d instanceof Bo}isValid(d){return d.isValid}invalid(){return Bo.invalid("Invalid Luxon DateTime object.")}setTime(d,b,E,V){return this.clone(d).set({hour:b,minute:E,second:V,millisecond:0})}getHours(d){return d.hour}getMinutes(d){return d.minute}getSeconds(d){return d.second}parseTime(d,b){const E=this.parse(d,b);return(!E||!this.isValid(E))&&"string"==typeof d&&this.parse(d.replace(/[^0-9:(AM|PM)]/gi,""),b)||E}addSeconds(d,b){return d.reconfigure(this._getOptions()).plus({seconds:b})}_getOptions(){return{zone:this._useUTC?"utc":void 0,locale:this.locale,outputCalendar:this._defaultOutputCalendar}}static \u0275fac=function(b){return new(b||w)};static \u0275prov=l.jDH({token:w,factory:w.\u0275fac})}return w})();var Do=o(1204);function oa(w){return new l.wOt(3e3,!1)}function An(w){switch(w.length){case 0:return new Do.sf;case 1:return w[0];default:return new Do.ui(w)}}function Nc(w,g,d=new Map,b=new Map){const E=[],V=[];let tt=-1,bt=null;if(g.forEach(Kt=>{const ye=Kt.get("offset"),lr=ye==tt,mr=lr&&bt||new Map;Kt.forEach((bo,to)=>{let go=to,en=bo;if("offset"!==to)switch(go=w.normalizePropertyName(go,E),en){case Do.FX:en=d.get(to);break;case Do.kp:en=b.get(to);break;default:en=w.normalizeStyleValue(to,go,en,E)}mr.set(go,en)}),lr||V.push(mr),bt=mr,tt=ye}),E.length)throw function dp(){return new l.wOt(3502,!1)}();return V}function Rs(w,g,d,b){switch(g){case"start":w.onStart(()=>b(d&&Qa(d,"start",w)));break;case"done":w.onDone(()=>b(d&&Qa(d,"done",w)));break;case"destroy":w.onDestroy(()=>b(d&&Qa(d,"destroy",w)))}}function Qa(w,g,d){const V=Il(w.element,w.triggerName,w.fromState,w.toState,g||w.phaseName,d.totalTime??w.totalTime,!!d.disabled),tt=w._data;return null!=tt&&(V._data=tt),V}function Il(w,g,d,b,E="",V=0,tt){return{element:w,triggerName:g,fromState:d,toState:b,phaseName:E,totalTime:V,disabled:!!tt}}function gs(w,g,d){let b=w.get(g);return b||w.set(g,b=d),b}function yu(w){const g=w.indexOf(":");return[w.substring(1,g),w.slice(g+1)]}const qg=typeof document>"u"?null:document.documentElement;function hp(w){const g=w.parentNode||w.host||null;return g===qg?null:g}let fs=null,Zc=!1;function I(w,g){for(;g;){if(g===w)return!0;g=hp(g)}return!1}function L(w,g,d){if(d)return Array.from(w.querySelectorAll(g));const b=w.querySelector(g);return b?[b]:[]}let nt=(()=>{class w{validateStyleProperty(d){return function Za(w){fs||(fs=function vu(){return typeof document<"u"?document.body:null}()||{},Zc=!!fs.style&&"WebkitAppearance"in fs.style);let g=!0;return fs.style&&!function gp(w){return"ebkit"==w.substring(1,6)}(w)&&(g=w in fs.style,!g&&Zc&&(g="Webkit"+w.charAt(0).toUpperCase()+w.slice(1)in fs.style)),g}(d)}containsElement(d,b){return I(d,b)}getParentElement(d){return hp(d)}query(d,b,E){return L(d,b,E)}computeStyle(d,b,E){return E||""}animate(d,b,E,V,tt,bt=[],Kt){return new Do.sf(E,V)}static \u0275fac=function(b){return new(b||w)};static \u0275prov=l.jDH({token:w,factory:w.\u0275fac})}return w})();class xt{static NOOP=new nt}class Ut{}const Ie=1e3,Cr="ng-enter",Qe="ng-leave",Gr="ng-trigger",zr=".ng-trigger",ro="ng-animating",Ar=".ng-animating";function Vr(w){if("number"==typeof w)return w;const g=w.match(/^(-?[\.\d]+)(m?s)/);return!g||g.length<2?0:Xr(parseFloat(g[1]),g[2])}function Xr(w,g){return"s"===g?w*Ie:w}function yo(w,g,d){return w.hasOwnProperty("duration")?w:function Ur(w,g,d){let E,V=0,tt="";if("string"==typeof w){const bt=w.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===bt)return g.push(oa()),{duration:0,delay:0,easing:""};E=Xr(parseFloat(bt[1]),bt[2]);const Kt=bt[3];null!=Kt&&(V=Xr(parseFloat(Kt),bt[4]));const ye=bt[5];ye&&(tt=ye)}else E=w;if(!d){let bt=!1,Kt=g.length;E<0&&(g.push(function R(){return new l.wOt(3100,!1)}()),bt=!0),V<0&&(g.push(function G(){return new l.wOt(3101,!1)}()),bt=!0),bt&&g.splice(Kt,0,oa())}return{duration:E,delay:V,easing:tt}}(w,g,d)}function Co(w,g,d){g.forEach((b,E)=>{const V=bs(E);d&&!d.has(E)&&d.set(E,w.style[V]),w.style[V]=b})}function Go(w,g){g.forEach((d,b)=>{const E=bs(b);w.style[E]=""})}function Uo(w){return Array.isArray(w)?1==w.length?w[0]:(0,Do.K2)(w):w}const Jn=new RegExp("{{\\s*(.+?)\\s*}}","g");function Xn(w){let g=[];if("string"==typeof w){let d;for(;d=Jn.exec(w);)g.push(d[1]);Jn.lastIndex=0}return g}function yi(w,g,d){const b=`${w}`,E=b.replace(Jn,(V,tt)=>{let bt=g[tt];return null==bt&&(d.push(function K(){return new l.wOt(3003,!1)}()),bt=""),bt.toString()});return E==b?w:E}const Si=/-+([a-z0-9])/g;function bs(w){return w.replace(Si,(...g)=>g[1].toUpperCase())}function Yn(w,g,d){switch(g.type){case Do.If.Trigger:return w.visitTrigger(g,d);case Do.If.State:return w.visitState(g,d);case Do.If.Transition:return w.visitTransition(g,d);case Do.If.Sequence:return w.visitSequence(g,d);case Do.If.Group:return w.visitGroup(g,d);case Do.If.Animate:return w.visitAnimate(g,d);case Do.If.Keyframes:return w.visitKeyframes(g,d);case Do.If.Style:return w.visitStyle(g,d);case Do.If.Reference:return w.visitReference(g,d);case Do.If.AnimateChild:return w.visitAnimateChild(g,d);case Do.If.AnimateRef:return w.visitAnimateRef(g,d);case Do.If.Query:return w.visitQuery(g,d);case Do.If.Stagger:return w.visitStagger(g,d);default:throw function gt(){return new l.wOt(3004,!1)}()}}function Ai(w,g){return window.getComputedStyle(w)[g]}const fa=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 qa extends Ut{normalizePropertyName(g,d){return bs(g)}normalizeStyleValue(g,d,b,E){let V="";const tt=b.toString().trim();if(fa.has(d)&&0!==b&&"0"!==b)if("number"==typeof b)V="px";else{const bt=b.match(/^[+-]?[\d\.]+([a-z]*)$/);bt&&0==bt[1].length&&E.push(function Vt(){return new l.wOt(3005,!1)}())}return tt+V}}const wl="*";const Ja=new Set(["true","1"]),fc=new Set(["false","0"]);function yl(w,g){const d=Ja.has(w)||fc.has(w),b=Ja.has(g)||fc.has(g);return(E,V)=>{let tt=w==wl||w==E,bt=g==wl||g==V;return!tt&&d&&"boolean"==typeof E&&(tt=E?Ja.has(w):fc.has(w)),!bt&&b&&"boolean"==typeof V&&(bt=V?Ja.has(g):fc.has(g)),tt&&bt}}const Vd=new RegExp("s*:selfs*,?","g");function Hd(w,g,d,b){return new mp(w).build(g,d,b)}class mp{_driver;constructor(g){this._driver=g}build(g,d,b){const E=new Wd(d);return this._resetContextStyleTimingState(E),Yn(this,Uo(g),E)}_resetContextStyleTimingState(g){g.currentQuerySelector="",g.collectedStyles=new Map,g.collectedStyles.set("",new Map),g.currentTime=0}visitTrigger(g,d){let b=d.queryCount=0,E=d.depCount=0;const V=[],tt=[];return"@"==g.name.charAt(0)&&d.errors.push(function De(){return new l.wOt(3006,!1)}()),g.definitions.forEach(bt=>{if(this._resetContextStyleTimingState(d),bt.type==Do.If.State){const Kt=bt,ye=Kt.name;ye.toString().split(/\s*,\s*/).forEach(lr=>{Kt.name=lr,V.push(this.visitState(Kt,d))}),Kt.name=ye}else if(bt.type==Do.If.Transition){const Kt=this.visitTransition(bt,d);b+=Kt.queryCount,E+=Kt.depCount,tt.push(Kt)}else d.errors.push(function pr(){return new l.wOt(3007,!1)}())}),{type:Do.If.Trigger,name:g.name,states:V,transitions:tt,queryCount:b,depCount:E,options:null}}visitState(g,d){const b=this.visitStyle(g.styles,d),E=g.options&&g.options.params||null;if(b.containsDynamicStyles){const V=new Set,tt=E||{};b.styles.forEach(bt=>{bt instanceof Map&&bt.forEach(Kt=>{Xn(Kt).forEach(ye=>{tt.hasOwnProperty(ye)||V.add(ye)})})}),V.size&&d.errors.push(function nr(){return new l.wOt(3008,!1)}(0,V.values()))}return{type:Do.If.State,name:g.name,style:b,options:E?{params:E}:null}}visitTransition(g,d){d.queryCount=0,d.depCount=0;const b=Yn(this,Uo(g.animation),d),E=function tl(w,g){const d=[];return"string"==typeof w?w.split(/\s*,\s*/).forEach(b=>function Ol(w,g,d){if(":"==w[0]){const Kt=function fp(w,g){switch(w){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(d,b)=>parseFloat(b)>parseFloat(d);case":decrement":return(d,b)=>parseFloat(b) *"}}(w,d);if("function"==typeof Kt)return void g.push(Kt);w=Kt}const b=w.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==b||b.length<4)return d.push(function Ya(){return new l.wOt(3015,!1)}()),g;const E=b[1],V=b[2],tt=b[3];g.push(yl(E,tt)),"<"==V[0]&&(E!=wl||tt!=wl)&&g.push(yl(tt,E))}(b,d,g)):d.push(w),d}(g.expr,d.errors);return{type:Do.If.Transition,matchers:E,animation:b,queryCount:d.queryCount,depCount:d.depCount,options:Lc(g.options)}}visitSequence(g,d){return{type:Do.If.Sequence,steps:g.steps.map(b=>Yn(this,b,d)),options:Lc(g.options)}}visitGroup(g,d){const b=d.currentTime;let E=0;const V=g.steps.map(tt=>{d.currentTime=b;const bt=Yn(this,tt,d);return E=Math.max(E,d.currentTime),bt});return d.currentTime=E,{type:Do.If.Group,steps:V,options:Lc(g.options)}}visitAnimate(g,d){const b=function bp(w,g){if(w.hasOwnProperty("duration"))return w;if("number"==typeof w)return xh(yo(w,g).duration,0,"");const d=w;if(d.split(/\s+/).some(V=>"{"==V.charAt(0)&&"{"==V.charAt(1))){const V=xh(0,0,"");return V.dynamic=!0,V.strValue=d,V}const E=yo(d,g);return xh(E.duration,E.delay,E.easing)}(g.timings,d.errors);d.currentAnimateTimings=b;let E,V=g.styles?g.styles:(0,Do.iF)({});if(V.type==Do.If.Keyframes)E=this.visitKeyframes(V,d);else{let tt=g.styles,bt=!1;if(!tt){bt=!0;const ye={};b.easing&&(ye.easing=b.easing),tt=(0,Do.iF)(ye)}d.currentTime+=b.duration+b.delay;const Kt=this.visitStyle(tt,d);Kt.isEmptyStep=bt,E=Kt}return d.currentAnimateTimings=null,{type:Do.If.Animate,timings:b,style:E,options:null}}visitStyle(g,d){const b=this._makeStyleAst(g,d);return this._validateStyleAst(b,d),b}_makeStyleAst(g,d){const b=[],E=Array.isArray(g.styles)?g.styles:[g.styles];for(let bt of E)"string"==typeof bt?bt===Do.kp?b.push(bt):d.errors.push(new l.wOt(3002,!1)):b.push(new Map(Object.entries(bt)));let V=!1,tt=null;return b.forEach(bt=>{if(bt instanceof Map&&(bt.has("easing")&&(tt=bt.get("easing"),bt.delete("easing")),!V))for(let Kt of bt.values())if(Kt.toString().indexOf("{{")>=0){V=!0;break}}),{type:Do.If.Style,styles:b,easing:tt,offset:g.offset,containsDynamicStyles:V,options:null}}_validateStyleAst(g,d){const b=d.currentAnimateTimings;let E=d.currentTime,V=d.currentTime;b&&V>0&&(V-=b.duration+b.delay),g.styles.forEach(tt=>{"string"!=typeof tt&&tt.forEach((bt,Kt)=>{const ye=d.collectedStyles.get(d.currentQuerySelector),lr=ye.get(Kt);let mr=!0;lr&&(V!=E&&V>=lr.startTime&&E<=lr.endTime&&(d.errors.push(function Io(){return new l.wOt(3010,!1)}()),mr=!1),V=lr.startTime),mr&&ye.set(Kt,{startTime:V,endTime:E}),d.options&&function oi(w,g,d){const b=g.params||{},E=Xn(w);E.length&&E.forEach(V=>{b.hasOwnProperty(V)||d.push(function F(){return new l.wOt(3001,!1)}())})}(bt,d.options,d.errors)})})}visitKeyframes(g,d){const b={type:Do.If.Keyframes,styles:[],options:null};if(!d.currentAnimateTimings)return d.errors.push(function Gn(){return new l.wOt(3011,!1)}()),b;let V=0;const tt=[];let bt=!1,Kt=!1,ye=0;const lr=g.steps.map(Ti=>{const ui=this._makeStyleAst(Ti,d);let xs=null!=ui.offset?ui.offset:function tf(w){if("string"==typeof w)return null;let g=null;if(Array.isArray(w))w.forEach(d=>{if(d instanceof Map&&d.has("offset")){const b=d;g=parseFloat(b.get("offset")),b.delete("offset")}});else if(w instanceof Map&&w.has("offset")){const d=w;g=parseFloat(d.get("offset")),d.delete("offset")}return g}(ui.styles),es=0;return null!=xs&&(V++,es=ui.offset=xs),Kt=Kt||es<0||es>1,bt=bt||es0&&V{const xs=bo>0?ui==to?1:bo*ui:tt[ui],es=xs*Sn;d.currentTime=go+en.delay+es,en.duration=es,this._validateStyleAst(Ti,d),Ti.offset=xs,b.styles.push(Ti)}),b}visitReference(g,d){return{type:Do.If.Reference,animation:Yn(this,Uo(g.animation),d),options:Lc(g.options)}}visitAnimateChild(g,d){return d.depCount++,{type:Do.If.AnimateChild,options:Lc(g.options)}}visitAnimateRef(g,d){return{type:Do.If.AnimateRef,animation:this.visitReference(g.animation,d),options:Lc(g.options)}}visitQuery(g,d){const b=d.currentQuerySelector,E=g.options||{};d.queryCount++,d.currentQuery=g;const[V,tt]=function zd(w){const g=!!w.split(/\s*,\s*/).find(d=>":self"==d);return g&&(w=w.replace(Vd,"")),w=w.replace(/@\*/g,zr).replace(/@\w+/g,d=>zr+"-"+d.slice(1)).replace(/:animating/g,Ar),[w,g]}(g.selector);d.currentQuerySelector=b.length?b+" "+V:V,gs(d.collectedStyles,d.currentQuerySelector,new Map);const bt=Yn(this,Uo(g.animation),d);return d.currentQuery=null,d.currentQuerySelector=b,{type:Do.If.Query,selector:V,limit:E.limit||0,optional:!!E.optional,includeSelf:tt,animation:bt,originalSelector:g.selector,options:Lc(g.options)}}visitStagger(g,d){d.currentQuery||d.errors.push(function da(){return new l.wOt(3013,!1)}());const b="full"===g.timings?{duration:0,delay:0,easing:"full"}:yo(g.timings,d.errors,!0);return{type:Do.If.Stagger,animation:Yn(this,Uo(g.animation),d),timings:b,options:null}}}class Wd{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(g){this.errors=g}}function Lc(w){return w?(w={...w}).params&&(w.params=function Jg(w){return w?{...w}:null}(w.params)):w={},w}function xh(w,g,d){return{duration:w,delay:g,easing:d}}function _u(w,g,d,b,E,V,tt=null,bt=!1){return{type:1,element:w,keyframes:g,preStyleProps:d,postStyleProps:b,duration:E,delay:V,totalTime:E+V,easing:tt,subTimeline:bt}}class Kd{_map=new Map;get(g){return this._map.get(g)||[]}append(g,d){let b=this._map.get(g);b||this._map.set(g,b=[]),b.push(...d)}has(g){return this._map.has(g)}clear(){this._map.clear()}}const rf=new RegExp(":enter","g"),kh=new RegExp(":leave","g");function xu(w,g,d,b,E,V=new Map,tt=new Map,bt,Kt,ye=[]){return(new Rl).buildKeyframes(w,g,d,b,E,V,tt,bt,Kt,ye)}class Rl{buildKeyframes(g,d,b,E,V,tt,bt,Kt,ye,lr=[]){ye=ye||new Kd;const mr=new ku(g,d,ye,E,V,lr,[]);mr.options=Kt;const bo=Kt.delay?Vr(Kt.delay):0;mr.currentTimeline.delayNextStep(bo),mr.currentTimeline.setStyles([tt],null,mr.errors,Kt),Yn(this,b,mr);const to=mr.timelines.filter(go=>go.containsAnimation());if(to.length&&bt.size){let go;for(let en=to.length-1;en>=0;en--){const Sn=to[en];if(Sn.element===d){go=Sn;break}}go&&!go.allowOnlyTimelineStyles()&&go.setStyles([bt],null,mr.errors,Kt)}return to.length?to.map(go=>go.buildKeyframes()):[_u(d,[],[],[],0,bo,"",!1)]}visitTrigger(g,d){}visitState(g,d){}visitTransition(g,d){}visitAnimateChild(g,d){const b=d.subInstructions.get(d.element);if(b){const E=d.createSubContext(g.options),V=d.currentTimeline.currentTime,tt=this._visitSubInstructions(b,E,E.options);V!=tt&&d.transformIntoNewTimeline(tt)}d.previousNode=g}visitAnimateRef(g,d){const b=d.createSubContext(g.options);b.transformIntoNewTimeline(),this._applyAnimationRefDelays([g.options,g.animation.options],d,b),this.visitReference(g.animation,b),d.transformIntoNewTimeline(b.currentTimeline.currentTime),d.previousNode=g}_applyAnimationRefDelays(g,d,b){for(const E of g){const V=E?.delay;if(V){const tt="number"==typeof V?V:Vr(yi(V,E?.params??{},d.errors));b.delayNextStep(tt)}}}_visitSubInstructions(g,d,b){let V=d.currentTimeline.currentTime;const tt=null!=b.duration?Vr(b.duration):null,bt=null!=b.delay?Vr(b.delay):null;return 0!==tt&&g.forEach(Kt=>{const ye=d.appendInstructionToTimeline(Kt,tt,bt);V=Math.max(V,ye.duration+ye.delay)}),V}visitReference(g,d){d.updateOptions(g.options,!0),Yn(this,g.animation,d),d.previousNode=g}visitSequence(g,d){const b=d.subContextCount;let E=d;const V=g.options;if(V&&(V.params||V.delay)&&(E=d.createSubContext(V),E.transformIntoNewTimeline(),null!=V.delay)){E.previousNode.type==Do.If.Style&&(E.currentTimeline.snapshotCurrentStyles(),E.previousNode=Nl);const tt=Vr(V.delay);E.delayNextStep(tt)}g.steps.length&&(g.steps.forEach(tt=>Yn(this,tt,E)),E.currentTimeline.applyStylesToKeyframe(),E.subContextCount>b&&E.transformIntoNewTimeline()),d.previousNode=g}visitGroup(g,d){const b=[];let E=d.currentTimeline.currentTime;const V=g.options&&g.options.delay?Vr(g.options.delay):0;g.steps.forEach(tt=>{const bt=d.createSubContext(g.options);V&&bt.delayNextStep(V),Yn(this,tt,bt),E=Math.max(E,bt.currentTimeline.currentTime),b.push(bt.currentTimeline)}),b.forEach(tt=>d.currentTimeline.mergeTimelineCollectedStyles(tt)),d.transformIntoNewTimeline(E),d.previousNode=g}_visitTiming(g,d){if(g.dynamic){const b=g.strValue;return yo(d.params?yi(b,d.params,d.errors):b,d.errors)}return{duration:g.duration,delay:g.delay,easing:g.easing}}visitAnimate(g,d){const b=d.currentAnimateTimings=this._visitTiming(g.timings,d),E=d.currentTimeline;b.delay&&(d.incrementTime(b.delay),E.snapshotCurrentStyles());const V=g.style;V.type==Do.If.Keyframes?this.visitKeyframes(V,d):(d.incrementTime(b.duration),this.visitStyle(V,d),E.applyStylesToKeyframe()),d.currentAnimateTimings=null,d.previousNode=g}visitStyle(g,d){const b=d.currentTimeline,E=d.currentAnimateTimings;!E&&b.hasCurrentStyleProperties()&&b.forwardFrame();const V=E&&E.easing||g.easing;g.isEmptyStep?b.applyEmptyStep(V):b.setStyles(g.styles,V,d.errors,d.options),d.previousNode=g}visitKeyframes(g,d){const b=d.currentAnimateTimings,E=d.currentTimeline.duration,V=b.duration,bt=d.createSubContext().currentTimeline;bt.easing=b.easing,g.styles.forEach(Kt=>{bt.forwardTime((Kt.offset||0)*V),bt.setStyles(Kt.styles,Kt.easing,d.errors,d.options),bt.applyStylesToKeyframe()}),d.currentTimeline.mergeTimelineCollectedStyles(bt),d.transformIntoNewTimeline(E+V),d.previousNode=g}visitQuery(g,d){const b=d.currentTimeline.currentTime,E=g.options||{},V=E.delay?Vr(E.delay):0;V&&(d.previousNode.type===Do.If.Style||0==b&&d.currentTimeline.hasCurrentStyleProperties())&&(d.currentTimeline.snapshotCurrentStyles(),d.previousNode=Nl);let tt=b;const bt=d.invokeQuery(g.selector,g.originalSelector,g.limit,g.includeSelf,!!E.optional,d.errors);d.currentQueryTotal=bt.length;let Kt=null;bt.forEach((ye,lr)=>{d.currentQueryIndex=lr;const mr=d.createSubContext(g.options,ye);V&&mr.delayNextStep(V),ye===d.element&&(Kt=mr.currentTimeline),Yn(this,g.animation,mr),mr.currentTimeline.applyStylesToKeyframe(),tt=Math.max(tt,mr.currentTimeline.currentTime)}),d.currentQueryIndex=0,d.currentQueryTotal=0,d.transformIntoNewTimeline(tt),Kt&&(d.currentTimeline.mergeTimelineCollectedStyles(Kt),d.currentTimeline.snapshotCurrentStyles()),d.previousNode=g}visitStagger(g,d){const b=d.parentContext,E=d.currentTimeline,V=g.timings,tt=Math.abs(V.duration),bt=tt*(d.currentQueryTotal-1);let Kt=tt*d.currentQueryIndex;switch(V.duration<0?"reverse":V.easing){case"reverse":Kt=bt-Kt;break;case"full":Kt=b.currentStaggerTime}const lr=d.currentTimeline;Kt&&lr.delayNextStep(Kt);const mr=lr.currentTime;Yn(this,g.animation,d),d.previousNode=g,b.currentStaggerTime=E.currentTime-mr+(E.startTime-b.currentTimeline.startTime)}}const Nl={};class ku{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Nl;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(g,d,b,E,V,tt,bt,Kt){this._driver=g,this.element=d,this.subInstructions=b,this._enterClassName=E,this._leaveClassName=V,this.errors=tt,this.timelines=bt,this.currentTimeline=Kt||new Gd(this._driver,d,0),bt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(g,d){if(!g)return;const b=g;let E=this.options;null!=b.duration&&(E.duration=Vr(b.duration)),null!=b.delay&&(E.delay=Vr(b.delay));const V=b.params;if(V){let tt=E.params;tt||(tt=this.options.params={}),Object.keys(V).forEach(bt=>{(!d||!tt.hasOwnProperty(bt))&&(tt[bt]=yi(V[bt],tt,this.errors))})}}_copyOptions(){const g={};if(this.options){const d=this.options.params;if(d){const b=g.params={};Object.keys(d).forEach(E=>{b[E]=d[E]})}}return g}createSubContext(g=null,d,b){const E=d||this.element,V=new ku(this._driver,E,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(E,b||0));return V.previousNode=this.previousNode,V.currentAnimateTimings=this.currentAnimateTimings,V.options=this._copyOptions(),V.updateOptions(g),V.currentQueryIndex=this.currentQueryIndex,V.currentQueryTotal=this.currentQueryTotal,V.parentContext=this,this.subContextCount++,V}transformIntoNewTimeline(g){return this.previousNode=Nl,this.currentTimeline=this.currentTimeline.fork(this.element,g),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(g,d,b){const E={duration:d??g.duration,delay:this.currentTimeline.currentTime+(b??0)+g.delay,easing:""},V=new Eh(this._driver,g.element,g.keyframes,g.preStyleProps,g.postStyleProps,E,g.stretchStartingKeyframe);return this.timelines.push(V),E}incrementTime(g){this.currentTimeline.forwardTime(this.currentTimeline.duration+g)}delayNextStep(g){g>0&&this.currentTimeline.delayNextStep(g)}invokeQuery(g,d,b,E,V,tt){let bt=[];if(E&&bt.push(this.element),g.length>0){g=(g=g.replace(rf,"."+this._enterClassName)).replace(kh,"."+this._leaveClassName);let ye=this._driver.query(this.element,g,1!=b);0!==b&&(ye=b<0?ye.slice(ye.length+b,ye.length):ye.slice(0,b)),bt.push(...ye)}return!V&&0==bt.length&&tt.push(function Wo(){return new l.wOt(3014,!1)}()),bt}}class Gd{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(g,d,b,E){this._driver=g,this.element=d,this.startTime=b,this._elementTimelineStylesLookup=E,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(g){const d=1===this._keyframes.size&&this._pendingStyles.size;this.duration||d?(this.forwardTime(this.currentTime+g),d&&this.snapshotCurrentStyles()):this.startTime+=g}fork(g,d){return this.applyStylesToKeyframe(),new Gd(this._driver,g,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(g){this.applyStylesToKeyframe(),this.duration=g,this._loadKeyframe()}_updateStyle(g,d){this._localTimelineStyles.set(g,d),this._globalTimelineStyles.set(g,d),this._styleSummary.set(g,{time:this.currentTime,value:d})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(g){g&&this._previousKeyframe.set("easing",g);for(let[d,b]of this._globalTimelineStyles)this._backFill.set(d,b||Do.kp),this._currentKeyframe.set(d,Do.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(g,d,b,E){d&&this._previousKeyframe.set("easing",d);const V=E&&E.params||{},tt=function Ch(w,g){const d=new Map;let b;return w.forEach(E=>{if("*"===E){b??=g.keys();for(let V of b)d.set(V,Do.kp)}else for(let[V,tt]of E)d.set(V,tt)}),d}(g,this._globalTimelineStyles);for(let[bt,Kt]of tt){const ye=yi(Kt,V,b);this._pendingStyles.set(bt,ye),this._localTimelineStyles.has(bt)||this._backFill.set(bt,this._globalTimelineStyles.get(bt)??Do.kp),this._updateStyle(bt,ye)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((g,d)=>{this._currentKeyframe.set(d,g)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((g,d)=>{this._currentKeyframe.has(d)||this._currentKeyframe.set(d,g)}))}snapshotCurrentStyles(){for(let[g,d]of this._localTimelineStyles)this._pendingStyles.set(g,d),this._updateStyle(g,d)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const g=[];for(let d in this._currentKeyframe)g.push(d);return g}mergeTimelineCollectedStyles(g){g._styleSummary.forEach((d,b)=>{const E=this._styleSummary.get(b);(!E||d.time>E.time)&&this._updateStyle(b,d.value)})}buildKeyframes(){this.applyStylesToKeyframe();const g=new Set,d=new Set,b=1===this._keyframes.size&&0===this.duration;let E=[];this._keyframes.forEach((bt,Kt)=>{const ye=new Map([...this._backFill,...bt]);ye.forEach((lr,mr)=>{lr===Do.FX?g.add(mr):lr===Do.kp&&d.add(mr)}),b||ye.set("offset",Kt/this.duration),E.push(ye)});const V=[...g.values()],tt=[...d.values()];if(b){const bt=E[0],Kt=new Map(bt);bt.set("offset",0),Kt.set("offset",1),E=[bt,Kt]}return _u(this.element,E,V,tt,this.duration,this.startTime,this.easing,!1)}}class Eh extends Gd{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(g,d,b,E,V,tt,bt=!1){super(g,d,tt.delay),this.keyframes=b,this.preStyleProps=E,this.postStyleProps=V,this._stretchStartingKeyframe=bt,this.timings={duration:tt.duration,delay:tt.delay,easing:tt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let g=this.keyframes,{delay:d,duration:b,easing:E}=this.timings;if(this._stretchStartingKeyframe&&d){const V=[],tt=b+d,bt=d/tt,Kt=new Map(g[0]);Kt.set("offset",0),V.push(Kt);const ye=new Map(g[0]);ye.set("offset",yp(bt)),V.push(ye);const lr=g.length-1;for(let mr=1;mr<=lr;mr++){let bo=new Map(g[mr]);const to=bo.get("offset");bo.set("offset",yp((d+to*b)/tt)),V.push(bo)}b=tt,d=0,E="",g=V}return _u(this.element,g,this.preStyleProps,this.postStyleProps,b,d,E,!0)}}function yp(w,g=3){const d=Math.pow(10,g-1);return Math.round(w*d)/d}function vp(w,g,d,b,E,V,tt,bt,Kt,ye,lr,mr,bo){return{type:0,element:w,triggerName:g,isRemovalTransition:E,fromState:d,fromStyles:V,toState:b,toStyles:tt,timelines:bt,queriedElements:Kt,preStyleProps:ye,postStyleProps:lr,totalTime:mr,errors:bo}}const hd={};class Fc{_triggerName;ast;_stateStyles;constructor(g,d,b){this._triggerName=g,this.ast=d,this._stateStyles=b}match(g,d,b,E){return function Eu(w,g,d,b,E){return w.some(V=>V(g,d,b,E))}(this.ast.matchers,g,d,b,E)}buildStyles(g,d,b){let E=this._stateStyles.get("*");return void 0!==g&&(E=this._stateStyles.get(g?.toString())||E),E?E.buildStyles(d,b):new Map}build(g,d,b,E,V,tt,bt,Kt,ye,lr){const mr=[],bo=this.ast.options&&this.ast.options.params||hd,go=this.buildStyles(b,bt&&bt.params||hd,mr),en=Kt&&Kt.params||hd,Sn=this.buildStyles(E,en,mr),Ti=new Set,ui=new Map,xs=new Map,es="void"===E,Rd={params:_p(en,bo),delay:this.ast.options?.delay},wc=lr?[]:xu(g,d,this.ast.animation,V,tt,go,Sn,Rd,ye,mr);let ks=0;return wc.forEach(Ys=>{ks=Math.max(Ys.duration+Ys.delay,ks)}),mr.length?vp(d,this._triggerName,b,E,es,go,Sn,[],[],ui,xs,ks,mr):(wc.forEach(Ys=>{const Sc=Ys.element,Bc=gs(ui,Sc,new Set);Ys.preStyleProps.forEach(fu=>Bc.add(fu));const ph=gs(xs,Sc,new Set);Ys.postStyleProps.forEach(fu=>ph.add(fu)),Sc!==d&&Ti.add(Sc)}),vp(d,this._triggerName,b,E,es,go,Sn,wc,[...Ti.values()],ui,xs,ks))}}function _p(w,g){const d={...g};return Object.entries(w).forEach(([b,E])=>{null!=E&&(d[b]=E)}),d}class Ll{styles;defaultParams;normalizer;constructor(g,d,b){this.styles=g,this.defaultParams=d,this.normalizer=b}buildStyles(g,d){const b=new Map,E=_p(g,this.defaultParams);return this.styles.styles.forEach(V=>{"string"!=typeof V&&V.forEach((tt,bt)=>{tt&&(tt=yi(tt,E,d));const Kt=this.normalizer.normalizePropertyName(bt,d);tt=this.normalizer.normalizeStyleValue(bt,Kt,tt,d),b.set(bt,tt)})}),b}}class Fa{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(g,d,b){this.name=g,this.ast=d,this._normalizer=b,d.states.forEach(E=>{this.states.set(E.name,new Ll(E.style,E.options&&E.options.params||{},b))}),xp(this.states,"true","1"),xp(this.states,"false","0"),d.transitions.forEach(E=>{this.transitionFactories.push(new Fc(g,E,this.states))}),this.fallbackTransition=function Dh(w,g){return new Fc(w,{type:Do.If.Transition,animation:{type:Do.If.Sequence,steps:[],options:null},matchers:[(tt,bt)=>!0],options:null,queryCount:0,depCount:0},g)}(g,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(g,d,b,E){return this.transitionFactories.find(tt=>tt.match(g,d,b,E))||null}matchStyles(g,d,b){return this.fallbackTransition.buildStyles(g,d,b)}}function xp(w,g,d){w.has(g)?w.has(d)||w.set(d,w.get(g)):w.has(d)&&w.set(g,w.get(d))}const Cu=new Kd;class nf{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(g,d,b){this.bodyNode=g,this._driver=d,this._normalizer=b}register(g,d){const b=[],V=Hd(this._driver,d,b,[]);if(b.length)throw function up(){return new l.wOt(3503,!1)}();this._animations.set(g,V)}_buildPlayer(g,d,b){const E=g.element,V=Nc(this._normalizer,g.keyframes,d,b);return this._driver.animate(E,V,g.duration,g.delay,g.easing,[],!0)}create(g,d,b={}){const E=[],V=this._animations.get(g);let tt;const bt=new Map;if(V?(tt=xu(this._driver,d,V,Cr,Qe,new Map,new Map,b,Cu,E),tt.forEach(lr=>{const mr=gs(bt,lr.element,new Map);lr.postStyleProps.forEach(bo=>mr.set(bo,null))})):(E.push(function pp(){return new l.wOt(3300,!1)}()),tt=[]),E.length)throw function ml(){return new l.wOt(3504,!1)}();bt.forEach((lr,mr)=>{lr.forEach((bo,to)=>{lr.set(to,this._driver.computeStyle(mr,to,Do.kp))})});const ye=An(tt.map(lr=>{const mr=bt.get(lr.element);return this._buildPlayer(lr,new Map,mr)}));return this._playersById.set(g,ye),ye.onDestroy(()=>this.destroy(g)),this.players.push(ye),ye}destroy(g){const d=this._getPlayer(g);d.destroy(),this._playersById.delete(g);const b=this.players.indexOf(d);b>=0&&this.players.splice(b,1)}_getPlayer(g){const d=this._playersById.get(g);if(!d)throw function Yc(){return new l.wOt(3301,!1)}();return d}listen(g,d,b,E){const V=Il(d,"","","");return Rs(this._getPlayer(g),b,V,E),()=>{}}command(g,d,b,E){if("register"==b)return void this.register(g,E[0]);if("create"==b)return void this.create(g,d,E[0]||{});const V=this._getPlayer(g);switch(b){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(E[0]));break;case"destroy":this.destroy(g)}}}const Xd="ng-animate-queued",kp="ng-animate-disabled",Sh=[],Ah={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Su={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Gs="__ng_removed";class Au{namespaceId;value;options;get params(){return this.options.params}constructor(g,d=""){this.namespaceId=d;const b=g&&g.hasOwnProperty("value");if(this.value=function Dp(w){return w??null}(b?g.value:g),b){const{value:V,...tt}=g;this.options=tt}else this.options={};this.options.params||(this.options.params={})}absorbOptions(g){const d=g.params;if(d){const b=this.options.params;Object.keys(d).forEach(E=>{null==b[E]&&(b[E]=d[E])})}}}const Zd="void",Tu=new Au(Zd);class Ep{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(g,d,b){this.id=g,this.hostElement=d,this._engine=b,this._hostClassName="ng-tns-"+g,va(d,this._hostClassName)}listen(g,d,b,E){if(!this._triggers.has(d))throw function Qc(){return new l.wOt(3302,!1)}();if(null==b||0==b.length)throw function dd(){return new l.wOt(3303,!1)}();if(!function cf(w){return"start"==w||"done"==w}(b))throw function ud(){return new l.wOt(3400,!1)}();const V=gs(this._elementListeners,g,[]),tt={name:d,phase:b,callback:E};V.push(tt);const bt=gs(this._engine.statesByElement,g,new Map);return bt.has(d)||(va(g,Gr),va(g,Gr+"-"+d),bt.set(d,Tu)),()=>{this._engine.afterFlush(()=>{const Kt=V.indexOf(tt);Kt>=0&&V.splice(Kt,1),this._triggers.has(d)||bt.delete(d)})}}register(g,d){return!this._triggers.has(g)&&(this._triggers.set(g,d),!0)}_getTrigger(g){const d=this._triggers.get(g);if(!d)throw function Js(){return new l.wOt(3401,!1)}();return d}trigger(g,d,b,E=!0){const V=this._getTrigger(d),tt=new sf(this.id,d,g);let bt=this._engine.statesByElement.get(g);bt||(va(g,Gr),va(g,Gr+"-"+d),this._engine.statesByElement.set(g,bt=new Map));let Kt=bt.get(d);const ye=new Au(b,this.id);if(!(b&&b.hasOwnProperty("value"))&&Kt&&ye.absorbOptions(Kt.options),bt.set(d,ye),Kt||(Kt=Tu),ye.value!==Zd&&Kt.value===ye.value){if(!function Mh(w,g){const d=Object.keys(w),b=Object.keys(g);if(d.length!=b.length)return!1;for(let E=0;E{Go(g,Sn),Co(g,Ti)})}return}const bo=gs(this._engine.playersByElement,g,[]);bo.forEach(en=>{en.namespaceId==this.id&&en.triggerName==d&&en.queued&&en.destroy()});let to=V.matchTransition(Kt.value,ye.value,g,ye.params),go=!1;if(!to){if(!E)return;to=V.fallbackTransition,go=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:g,triggerName:d,transition:to,fromState:Kt,toState:ye,player:tt,isFallbackTransition:go}),go||(va(g,Xd),tt.onStart(()=>{Pl(g,Xd)})),tt.onDone(()=>{let en=this.players.indexOf(tt);en>=0&&this.players.splice(en,1);const Sn=this._engine.playersByElement.get(g);if(Sn){let Ti=Sn.indexOf(tt);Ti>=0&&Sn.splice(Ti,1)}}),this.players.push(tt),bo.push(tt),tt}deregister(g){this._triggers.delete(g),this._engine.statesByElement.forEach(d=>d.delete(g)),this._elementListeners.forEach((d,b)=>{this._elementListeners.set(b,d.filter(E=>E.name!=g))})}clearElementCache(g){this._engine.statesByElement.delete(g),this._elementListeners.delete(g);const d=this._engine.playersByElement.get(g);d&&(d.forEach(b=>b.destroy()),this._engine.playersByElement.delete(g))}_signalRemovalForInnerTriggers(g,d){const b=this._engine.driver.query(g,zr,!0);b.forEach(E=>{if(E[Gs])return;const V=this._engine.fetchNamespacesByElement(E);V.size?V.forEach(tt=>tt.triggerLeaveAnimation(E,d,!1,!0)):this.clearElementCache(E)}),this._engine.afterFlushAnimationsDone(()=>b.forEach(E=>this.clearElementCache(E)))}triggerLeaveAnimation(g,d,b,E){const V=this._engine.statesByElement.get(g),tt=new Map;if(V){const bt=[];if(V.forEach((Kt,ye)=>{if(tt.set(ye,Kt.value),this._triggers.has(ye)){const lr=this.trigger(g,ye,Zd,E);lr&&bt.push(lr)}}),bt.length)return this._engine.markElementAsRemoved(this.id,g,!0,d,tt),b&&An(bt).onDone(()=>this._engine.processLeaveNode(g)),!0}return!1}prepareLeaveAnimationListeners(g){const d=this._elementListeners.get(g),b=this._engine.statesByElement.get(g);if(d&&b){const E=new Set;d.forEach(V=>{const tt=V.name;if(E.has(tt))return;E.add(tt);const Kt=this._triggers.get(tt).fallbackTransition,ye=b.get(tt)||Tu,lr=new Au(Zd),mr=new sf(this.id,tt,g);this._engine.totalQueuedPlayers++,this._queue.push({element:g,triggerName:tt,transition:Kt,fromState:ye,toState:lr,player:mr,isFallbackTransition:!0})})}}removeNode(g,d){const b=this._engine;if(g.childElementCount&&this._signalRemovalForInnerTriggers(g,d),this.triggerLeaveAnimation(g,d,!0))return;let E=!1;if(b.totalAnimations){const V=b.players.length?b.playersByQueriedElement.get(g):[];if(V&&V.length)E=!0;else{let tt=g;for(;tt=tt.parentNode;)if(b.statesByElement.get(tt)){E=!0;break}}}if(this.prepareLeaveAnimationListeners(g),E)b.markElementAsRemoved(this.id,g,!1,d);else{const V=g[Gs];(!V||V===Ah)&&(b.afterFlush(()=>this.clearElementCache(g)),b.destroyInnerAnimations(g),b._onRemovalComplete(g,d))}}insertNode(g,d){va(g,this._hostClassName)}drainQueuedTransitions(g){const d=[];return this._queue.forEach(b=>{const E=b.player;if(E.destroyed)return;const V=b.element,tt=this._elementListeners.get(V);tt&&tt.forEach(bt=>{if(bt.name==b.triggerName){const Kt=Il(V,b.triggerName,b.fromState.value,b.toState.value);Kt._data=g,Rs(b.player,bt.phase,Kt,bt.callback)}}),E.markedForDestroy?this._engine.afterFlush(()=>{E.destroy()}):d.push(b)}),this._queue=[],d.sort((b,E)=>{const V=b.transition.ast.depCount,tt=E.transition.ast.depCount;return 0==V||0==tt?V-tt:this._engine.driver.containsElement(b.element,E.element)?1:-1})}destroy(g){this.players.forEach(d=>d.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,g)}}class af{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(g,d)=>{};_onRemovalComplete(g,d){this.onRemovalComplete(g,d)}constructor(g,d,b){this.bodyNode=g,this.driver=d,this._normalizer=b}get queuedPlayers(){const g=[];return this._namespaceList.forEach(d=>{d.players.forEach(b=>{b.queued&&g.push(b)})}),g}createNamespace(g,d){const b=new Ep(g,d,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,d)?this._balanceNamespaceList(b,d):(this.newHostElements.set(d,b),this.collectEnterElement(d)),this._namespaceLookup[g]=b}_balanceNamespaceList(g,d){const b=this._namespaceList,E=this.namespacesByHostElement;if(b.length-1>=0){let tt=!1,bt=this.driver.getParentElement(d);for(;bt;){const Kt=E.get(bt);if(Kt){const ye=b.indexOf(Kt);b.splice(ye+1,0,g),tt=!0;break}bt=this.driver.getParentElement(bt)}tt||b.unshift(g)}else b.push(g);return E.set(d,g),g}register(g,d){let b=this._namespaceLookup[g];return b||(b=this.createNamespace(g,d)),b}registerTrigger(g,d,b){let E=this._namespaceLookup[g];E&&E.register(d,b)&&this.totalAnimations++}destroy(g,d){g&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const b=this._fetchNamespace(g);this.namespacesByHostElement.delete(b.hostElement);const E=this._namespaceList.indexOf(b);E>=0&&this._namespaceList.splice(E,1),b.destroy(d),delete this._namespaceLookup[g]}))}_fetchNamespace(g){return this._namespaceLookup[g]}fetchNamespacesByElement(g){const d=new Set,b=this.statesByElement.get(g);if(b)for(let E of b.values())if(E.namespaceId){const V=this._fetchNamespace(E.namespaceId);V&&d.add(V)}return d}trigger(g,d,b,E){if(Qi(d)){const V=this._fetchNamespace(g);if(V)return V.trigger(d,b,E),!0}return!1}insertNode(g,d,b,E){if(!Qi(d))return;const V=d[Gs];if(V&&V.setForRemoval){V.setForRemoval=!1,V.setForMove=!0;const tt=this.collectedLeaveElements.indexOf(d);tt>=0&&this.collectedLeaveElements.splice(tt,1)}if(g){const tt=this._fetchNamespace(g);tt&&tt.insertNode(d,b)}E&&this.collectEnterElement(d)}collectEnterElement(g){this.collectedEnterElements.push(g)}markElementAsDisabled(g,d){d?this.disabledNodes.has(g)||(this.disabledNodes.add(g),va(g,kp)):this.disabledNodes.has(g)&&(this.disabledNodes.delete(g),Pl(g,kp))}removeNode(g,d,b){if(Qi(d)){const E=g?this._fetchNamespace(g):null;E?E.removeNode(d,b):this.markElementAsRemoved(g,d,!1,b);const V=this.namespacesByHostElement.get(d);V&&V.id!==g&&V.removeNode(d,b)}else this._onRemovalComplete(d,b)}markElementAsRemoved(g,d,b,E,V){this.collectedLeaveElements.push(d),d[Gs]={namespaceId:g,setForRemoval:E,hasAnimation:b,removedBeforeQueried:!1,previousTriggersValues:V}}listen(g,d,b,E,V){return Qi(d)?this._fetchNamespace(g).listen(d,b,E,V):()=>{}}_buildInstruction(g,d,b,E,V){return g.transition.build(this.driver,g.element,g.fromState.value,g.toState.value,b,E,g.fromState.options,g.toState.options,d,V)}destroyInnerAnimations(g){let d=this.driver.query(g,zr,!0);d.forEach(b=>this.destroyActiveAnimationsForElement(b)),0!=this.playersByQueriedElement.size&&(d=this.driver.query(g,Ar,!0),d.forEach(b=>this.finishActiveQueriedAnimationOnElement(b)))}destroyActiveAnimationsForElement(g){const d=this.playersByElement.get(g);d&&d.forEach(b=>{b.queued?b.markedForDestroy=!0:b.destroy()})}finishActiveQueriedAnimationOnElement(g){const d=this.playersByQueriedElement.get(g);d&&d.forEach(b=>b.finish())}whenRenderingDone(){return new Promise(g=>{if(this.players.length)return An(this.players).onDone(()=>g());g()})}processLeaveNode(g){const d=g[Gs];if(d&&d.setForRemoval){if(g[Gs]=Ah,d.namespaceId){this.destroyInnerAnimations(g);const b=this._fetchNamespace(d.namespaceId);b&&b.clearElementCache(g)}this._onRemovalComplete(g,d.setForRemoval)}g.classList?.contains(kp)&&this.markElementAsDisabled(g,!1),this.driver.query(g,".ng-animate-disabled",!0).forEach(b=>{this.markElementAsDisabled(b,!1)})}flush(g=-1){let d=[];if(this.newHostElements.size&&(this.newHostElements.forEach((b,E)=>this._balanceNamespaceList(b,E)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let b=0;bb()),this._flushFns=[],this._whenQuietFns.length){const b=this._whenQuietFns;this._whenQuietFns=[],d.length?An(d).onDone(()=>{b.forEach(E=>E())}):b.forEach(E=>E())}}reportError(g){throw function _r(){return new l.wOt(3402,!1)}()}_flushAnimations(g,d){const b=new Kd,E=[],V=new Map,tt=[],bt=new Map,Kt=new Map,ye=new Map,lr=new Set;this.disabledNodes.forEach(Zo=>{lr.add(Zo);const yn=this.driver.query(Zo,".ng-animate-queued",!0);for(let Tn=0;Tn{const Tn=Cr+en++;go.set(yn,Tn),Zo.forEach(xi=>va(xi,Tn))});const Sn=[],Ti=new Set,ui=new Set;for(let Zo=0;ZoTi.add(xi)):ui.add(yn))}const xs=new Map,es=Sp(bo,Array.from(Ti));es.forEach((Zo,yn)=>{const Tn=Qe+en++;xs.set(yn,Tn),Zo.forEach(xi=>va(xi,Tn))}),g.push(()=>{to.forEach((Zo,yn)=>{const Tn=go.get(yn);Zo.forEach(xi=>Pl(xi,Tn))}),es.forEach((Zo,yn)=>{const Tn=xs.get(yn);Zo.forEach(xi=>Pl(xi,Tn))}),Sn.forEach(Zo=>{this.processLeaveNode(Zo)})});const Rd=[],wc=[];for(let Zo=this._namespaceList.length-1;Zo>=0;Zo--)this._namespaceList[Zo].drainQueuedTransitions(d).forEach(Tn=>{const xi=Tn.player,Es=Tn.element;if(Rd.push(xi),this.collectedEnterElements.length){const os=Es[Gs];if(os&&os.setForMove){if(os.previousTriggersValues&&os.previousTriggersValues.has(Tn.triggerName)){const Ql=os.previousTriggersValues.get(Tn.triggerName),dl=this.statesByElement.get(Tn.element);if(dl&&dl.has(Tn.triggerName)){const hh=dl.get(Tn.triggerName);hh.value=Ql,dl.set(Tn.triggerName,hh)}}return void xi.destroy()}}const rs=!mr||!this.driver.containsElement(mr,Es),ac=xs.get(Es),Nd=go.get(Es),ka=this._buildInstruction(Tn,b,Nd,ac,rs);if(ka.errors&&ka.errors.length)return void wc.push(ka);if(rs)return xi.onStart(()=>Go(Es,ka.fromStyles)),xi.onDestroy(()=>Co(Es,ka.toStyles)),void E.push(xi);if(Tn.isFallbackTransition)return xi.onStart(()=>Go(Es,ka.fromStyles)),xi.onDestroy(()=>Co(Es,ka.toStyles)),void E.push(xi);const rm=[];ka.timelines.forEach(os=>{os.stretchStartingKeyframe=!0,this.disabledNodes.has(os.element)||rm.push(os)}),ka.timelines=rm,b.append(Es,ka.timelines),tt.push({instruction:ka,player:xi,element:Es}),ka.queriedElements.forEach(os=>gs(bt,os,[]).push(xi)),ka.preStyleProps.forEach((os,Ql)=>{if(os.size){let dl=Kt.get(Ql);dl||Kt.set(Ql,dl=new Set),os.forEach((hh,Eg)=>dl.add(Eg))}}),ka.postStyleProps.forEach((os,Ql)=>{let dl=ye.get(Ql);dl||ye.set(Ql,dl=new Set),os.forEach((hh,Eg)=>dl.add(Eg))})});if(wc.length){const Zo=[];wc.forEach(yn=>{Zo.push(function Ml(){return new l.wOt(3505,!1)}())}),Rd.forEach(yn=>yn.destroy()),this.reportError(Zo)}const ks=new Map,Ys=new Map;tt.forEach(Zo=>{const yn=Zo.element;b.has(yn)&&(Ys.set(yn,yn),this._beforeAnimationBuild(Zo.player.namespaceId,Zo.instruction,ks))}),E.forEach(Zo=>{const yn=Zo.element;this._getPreviousPlayers(yn,!1,Zo.namespaceId,Zo.triggerName,null).forEach(xi=>{gs(ks,yn,[]).push(xi),xi.destroy()})});const Sc=Sn.filter(Zo=>Ou(Zo,Kt,ye)),Bc=new Map;Th(Bc,this.driver,ui,ye,Do.kp).forEach(Zo=>{Ou(Zo,Kt,ye)&&Sc.push(Zo)});const fu=new Map;to.forEach((Zo,yn)=>{Th(fu,this.driver,new Set(Zo),Kt,Do.FX)}),Sc.forEach(Zo=>{const yn=Bc.get(Zo),Tn=fu.get(Zo);Bc.set(Zo,new Map([...yn?.entries()??[],...Tn?.entries()??[]]))});const em=[],kg=[],iw={};tt.forEach(Zo=>{const{element:yn,player:Tn,instruction:xi}=Zo;if(b.has(yn)){if(lr.has(yn))return Tn.onDestroy(()=>Co(yn,xi.toStyles)),Tn.disabled=!0,Tn.overrideTotalTime(xi.totalTime),void E.push(Tn);let Es=iw;if(Ys.size>1){let ac=yn;const Nd=[];for(;ac=ac.parentNode;){const ka=Ys.get(ac);if(ka){Es=ka;break}Nd.push(ac)}Nd.forEach(ka=>Ys.set(ka,Es))}const rs=this._buildAnimation(Tn.namespaceId,xi,ks,V,fu,Bc);if(Tn.setRealPlayer(rs),Es===iw)em.push(Tn);else{const ac=this.playersByElement.get(Es);ac&&ac.length&&(Tn.parentPlayer=An(ac)),E.push(Tn)}}else Go(yn,xi.fromStyles),Tn.onDestroy(()=>Co(yn,xi.toStyles)),kg.push(Tn),lr.has(yn)&&E.push(Tn)}),kg.forEach(Zo=>{const yn=V.get(Zo.element);if(yn&&yn.length){const Tn=An(yn);Zo.setRealPlayer(Tn)}}),E.forEach(Zo=>{Zo.parentPlayer?Zo.syncPlayerEvents(Zo.parentPlayer):Zo.destroy()});for(let Zo=0;Zo!rs.destroyed);Es.length?Iu(this,yn,Es):this.processLeaveNode(yn)}return Sn.length=0,em.forEach(Zo=>{this.players.push(Zo),Zo.onDone(()=>{Zo.destroy();const yn=this.players.indexOf(Zo);this.players.splice(yn,1)}),Zo.play()}),em}afterFlush(g){this._flushFns.push(g)}afterFlushAnimationsDone(g){this._whenQuietFns.push(g)}_getPreviousPlayers(g,d,b,E,V){let tt=[];if(d){const bt=this.playersByQueriedElement.get(g);bt&&(tt=bt)}else{const bt=this.playersByElement.get(g);if(bt){const Kt=!V||V==Zd;bt.forEach(ye=>{ye.queued||!Kt&&ye.triggerName!=E||tt.push(ye)})}}return(b||E)&&(tt=tt.filter(bt=>!(b&&b!=bt.namespaceId||E&&E!=bt.triggerName))),tt}_beforeAnimationBuild(g,d,b){const V=d.element,tt=d.isRemovalTransition?void 0:g,bt=d.isRemovalTransition?void 0:d.triggerName;for(const Kt of d.timelines){const ye=Kt.element,lr=ye!==V,mr=gs(b,ye,[]);this._getPreviousPlayers(ye,lr,tt,bt,d.toState).forEach(to=>{const go=to.getRealPlayer();go.beforeDestroy&&go.beforeDestroy(),to.destroy(),mr.push(to)})}Go(V,d.fromStyles)}_buildAnimation(g,d,b,E,V,tt){const bt=d.triggerName,Kt=d.element,ye=[],lr=new Set,mr=new Set,bo=d.timelines.map(go=>{const en=go.element;lr.add(en);const Sn=en[Gs];if(Sn&&Sn.removedBeforeQueried)return new Do.sf(go.duration,go.delay);const Ti=en!==Kt,ui=function rl(w){const g=[];return md(w,g),g}((b.get(en)||Sh).map(ks=>ks.getRealPlayer())).filter(ks=>!!ks.element&&ks.element===en),xs=V.get(en),es=tt.get(en),Rd=Nc(this._normalizer,go.keyframes,xs,es),wc=this._buildPlayer(go,Rd,ui);if(go.subTimeline&&E&&mr.add(en),Ti){const ks=new sf(g,bt,en);ks.setRealPlayer(wc),ye.push(ks)}return wc});ye.forEach(go=>{gs(this.playersByQueriedElement,go.element,[]).push(go),go.onDone(()=>function Cp(w,g,d){let b=w.get(g);if(b){if(b.length){const E=b.indexOf(d);b.splice(E,1)}0==b.length&&w.delete(g)}return b}(this.playersByQueriedElement,go.element,go))}),lr.forEach(go=>va(go,ro));const to=An(bo);return to.onDestroy(()=>{lr.forEach(go=>Pl(go,ro)),Co(Kt,d.toStyles)}),mr.forEach(go=>{gs(E,go,[]).push(to)}),to}_buildPlayer(g,d,b){return d.length>0?this.driver.animate(g.element,d,g.duration,g.delay,g.easing,b):new Do.sf(g.duration,g.delay)}}class sf{namespaceId;triggerName;element;_player=new Do.sf;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(g,d,b){this.namespaceId=g,this.triggerName=d,this.element=b}setRealPlayer(g){this._containsRealPlayer||(this._player=g,this._queuedCallbacks.forEach((d,b)=>{d.forEach(E=>Rs(g,b,void 0,E))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(g.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(g){this.totalTime=g}syncPlayerEvents(g){const d=this._player;d.triggerCallback&&g.onStart(()=>d.triggerCallback("start")),g.onDone(()=>this.finish()),g.onDestroy(()=>this.destroy())}_queueEvent(g,d){gs(this._queuedCallbacks,g,[]).push(d)}onDone(g){this.queued&&this._queueEvent("done",g),this._player.onDone(g)}onStart(g){this.queued&&this._queueEvent("start",g),this._player.onStart(g)}onDestroy(g){this.queued&&this._queueEvent("destroy",g),this._player.onDestroy(g)}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(g){this.queued||this._player.setPosition(g)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(g){const d=this._player;d.triggerCallback&&d.triggerCallback(g)}}function Qi(w){return w&&1===w.nodeType}function Mu(w,g){const d=w.style.display;return w.style.display=g??"none",d}function Th(w,g,d,b,E){const V=[];d.forEach(Kt=>V.push(Mu(Kt)));const tt=[];b.forEach((Kt,ye)=>{const lr=new Map;Kt.forEach(mr=>{const bo=g.computeStyle(ye,mr,E);lr.set(mr,bo),(!bo||0==bo.length)&&(ye[Gs]=Su,tt.push(ye))}),w.set(ye,lr)});let bt=0;return d.forEach(Kt=>Mu(Kt,V[bt++])),tt}function Sp(w,g){const d=new Map;if(w.forEach(bt=>d.set(bt,[])),0==g.length)return d;const E=new Set(g),V=new Map;function tt(bt){if(!bt)return 1;let Kt=V.get(bt);if(Kt)return Kt;const ye=bt.parentNode;return Kt=d.has(ye)?ye:E.has(ye)?1:tt(ye),V.set(bt,Kt),Kt}return g.forEach(bt=>{const Kt=tt(bt);1!==Kt&&d.get(Kt).push(bt)}),d}function va(w,g){w.classList?.add(g)}function Pl(w,g){w.classList?.remove(g)}function Iu(w,g,d){An(d).onDone(()=>w.processLeaveNode(g))}function md(w,g){for(let d=0;dE.add(V)):g.set(w,b),d.delete(w),!0}class ol{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(g,d)=>{};constructor(g,d,b){this._driver=d,this._normalizer=b,this._transitionEngine=new af(g.body,d,b),this._timelineEngine=new nf(g.body,d,b),this._transitionEngine.onRemovalComplete=(E,V)=>this.onRemovalComplete(E,V)}registerTrigger(g,d,b,E,V){const tt=g+"-"+E;let bt=this._triggerCache[tt];if(!bt){const Kt=[],lr=Hd(this._driver,V,Kt,[]);if(Kt.length)throw function wu(){return new l.wOt(3404,!1)}();bt=function gd(w,g,d){return new Fa(w,g,d)}(E,lr,this._normalizer),this._triggerCache[tt]=bt}this._transitionEngine.registerTrigger(d,E,bt)}register(g,d){this._transitionEngine.register(g,d)}destroy(g,d){this._transitionEngine.destroy(g,d)}onInsert(g,d,b,E){this._transitionEngine.insertNode(g,d,b,E)}onRemove(g,d,b){this._transitionEngine.removeNode(g,d,b)}disableAnimations(g,d){this._transitionEngine.markElementAsDisabled(g,d)}process(g,d,b,E){if("@"==b.charAt(0)){const[V,tt]=yu(b);this._timelineEngine.command(V,d,tt,E)}else this._transitionEngine.trigger(g,d,b,E)}listen(g,d,b,E,V){if("@"==b.charAt(0)){const[tt,bt]=yu(b);return this._timelineEngine.listen(tt,d,bt,V)}return this._transitionEngine.listen(g,d,b,E,V)}flush(g=-1){this._transitionEngine.flush(g)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(g){this._transitionEngine.afterFlushAnimationsDone(g)}}let Ap=(()=>{class w{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(d,b,E){this._element=d,this._startStyles=b,this._endStyles=E;let V=w.initialStylesByElement.get(d);V||w.initialStylesByElement.set(d,V=new Map),this._initialStyles=V}start(){this._state<1&&(this._startStyles&&Co(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Co(this._element,this._initialStyles),this._endStyles&&(Co(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(w.initialStylesByElement.delete(this._element),this._startStyles&&(Go(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Go(this._element,this._endStyles),this._endStyles=null),Co(this._element,this._initialStyles),this._state=3)}}return w})();function Tp(w){let g=null;return w.forEach((d,b)=>{(function nl(w){return"display"===w||"position"===w})(b)&&(g=g||new Map,g.set(b,d))}),g}class bd{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(g,d,b,E){this.element=g,this.keyframes=d,this.options=b,this._specialStyles=E,this._duration=b.duration,this._delay=b.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(g=>g()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const g=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,g,this.options),this._finalKeyframe=g.length?g[g.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(g){const d=[];return g.forEach(b=>{d.push(Object.fromEntries(b))}),d}_triggerWebAnimation(g,d,b){return g.animate(this._convertKeyframesToObject(d),b)}onStart(g){this._originalOnStartFns.push(g),this._onStartFns.push(g)}onDone(g){this._originalOnDoneFns.push(g),this._onDoneFns.push(g)}onDestroy(g){this._onDestroyFns.push(g)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(g=>g()),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(g=>g()),this._onDestroyFns=[])}setPosition(g){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=g*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const g=new Map;this.hasStarted()&&this._finalKeyframe.forEach((b,E)=>{"offset"!==E&&g.set(E,this._finished?b:Ai(this.element,E))}),this.currentSnapshot=g}triggerCallback(g){const d="start"===g?this._onStartFns:this._onDoneFns;d.forEach(b=>b()),d.length=0}}class Ru{validateStyleProperty(g){return!0}validateAnimatableStyleProperty(g){return!0}containsElement(g,d){return I(g,d)}getParentElement(g){return hp(g)}query(g,d,b){return L(g,d,b)}computeStyle(g,d,b){return Ai(g,d)}animate(g,d,b,E,V,tt=[]){const Kt={duration:b,delay:E,fill:0==E?"both":"forwards"};V&&(Kt.easing=V);const ye=new Map,lr=tt.filter(to=>to instanceof bd);(function Vo(w,g){return 0===w||0===g})(b,E)&&lr.forEach(to=>{to.currentSnapshot.forEach((go,en)=>ye.set(en,go))});let mr=function Oo(w){return w.length?w[0]instanceof Map?w:w.map(g=>new Map(Object.entries(g))):[]}(d).map(to=>new Map(to));mr=function Hn(w,g,d){if(d.size&&g.length){let b=g[0],E=[];if(d.forEach((V,tt)=>{b.has(tt)||E.push(tt),b.set(tt,V)}),E.length)for(let V=1;Vtt.set(bt,Ai(w,bt)))}}return g}(g,mr,ye);const bo=function _l(w,g){let d=null,b=null;return Array.isArray(g)&&g.length?(d=Tp(g[0]),g.length>1&&(b=Tp(g[g.length-1]))):g instanceof Map&&(d=Tp(g)),d||b?new Ap(w,d,b):null}(g,mr);return new bd(g,mr,Kt,bo)}}const qd="@.disabled";class Mp{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(g,d,b,E){this.namespaceId=g,this.delegate=d,this.engine=b,this._onDestroy=E}get data(){return this.delegate.data}destroyNode(g){this.delegate.destroyNode?.(g)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(g,d){return this.delegate.createElement(g,d)}createComment(g){return this.delegate.createComment(g)}createText(g){return this.delegate.createText(g)}appendChild(g,d){this.delegate.appendChild(g,d),this.engine.onInsert(this.namespaceId,d,g,!1)}insertBefore(g,d,b,E=!0){this.delegate.insertBefore(g,d,b),this.engine.onInsert(this.namespaceId,d,g,E)}removeChild(g,d,b){this.parentNode(d)&&this.engine.onRemove(this.namespaceId,d,this.delegate)}selectRootElement(g,d){return this.delegate.selectRootElement(g,d)}parentNode(g){return this.delegate.parentNode(g)}nextSibling(g){return this.delegate.nextSibling(g)}setAttribute(g,d,b,E){this.delegate.setAttribute(g,d,b,E)}removeAttribute(g,d,b){this.delegate.removeAttribute(g,d,b)}addClass(g,d){this.delegate.addClass(g,d)}removeClass(g,d){this.delegate.removeClass(g,d)}setStyle(g,d,b,E){this.delegate.setStyle(g,d,b,E)}removeStyle(g,d,b){this.delegate.removeStyle(g,d,b)}setProperty(g,d,b){"@"==d.charAt(0)&&d==qd?this.disableAnimations(g,!!b):this.delegate.setProperty(g,d,b)}setValue(g,d){this.delegate.setValue(g,d)}listen(g,d,b){return this.delegate.listen(g,d,b)}disableAnimations(g,d){this.engine.disableAnimations(g,d)}}class ia extends Mp{factory;constructor(g,d,b,E,V){super(d,b,E,V),this.factory=g,this.namespaceId=d}setProperty(g,d,b){"@"==d.charAt(0)?"."==d.charAt(1)&&d==qd?this.disableAnimations(g,b=void 0===b||!!b):this.engine.process(this.namespaceId,g,d.slice(1),b):this.delegate.setProperty(g,d,b)}listen(g,d,b){if("@"==d.charAt(0)){const E=function Ih(w){switch(w){case"body":return document.body;case"document":return document;case"window":return window;default:return w}}(g);let V=d.slice(1),tt="";return"@"!=V.charAt(0)&&([V,tt]=function Ip(w){const g=w.indexOf(".");return[w.substring(0,g),w.slice(g+1)]}(V)),this.engine.listen(this.namespaceId,E,V,tt,bt=>{this.factory.scheduleListenerCallback(bt._data||-1,b,bt)})}return this.delegate.listen(g,d,b)}}class df{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(g,d,b){this.delegate=g,this.engine=d,this._zone=b,d.onRemovalComplete=(E,V)=>{V?.removeChild(null,E)}}createRenderer(g,d){const E=this.delegate.createRenderer(g,d);if(!g||!d?.data?.animation){const ye=this._rendererCache;let lr=ye.get(E);return lr||(lr=new Mp("",E,this.engine,()=>ye.delete(E)),ye.set(E,lr)),lr}const V=d.id,tt=d.id+"-"+this._currentId;this._currentId++,this.engine.register(tt,g);const bt=ye=>{Array.isArray(ye)?ye.forEach(bt):this.engine.registerTrigger(V,tt,g,ye.name,ye)};return d.data.animation.forEach(bt),new ia(this,tt,E,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(g,d,b){if(g>=0&&gd(b));const E=this._animationCallbacksBuffer;0==E.length&&queueMicrotask(()=>{this._zone.run(()=>{E.forEach(V=>{const[tt,bt]=V;tt(bt)}),this._animationCallbacksBuffer=[]})}),E.push([d,b])}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 wd=[{provide:Ut,useFactory:function Op(){return new qa}},{provide:ol,useClass:(()=>{class w extends ol{constructor(d,b,E){super(d,b,E)}ngOnDestroy(){this.flush()}static \u0275fac=function(b){return new(b||w)(l.KVO(ae.qQ),l.KVO(xt),l.KVO(Ut))};static \u0275prov=l.jDH({token:w,factory:w.\u0275fac})}return w})()},{provide:l._9s,useFactory:function Rh(w,g,d){return new df(w,g,d)},deps:[n.B7,ol,l.SKi]}],Rp=[{provide:xt,useFactory:()=>new Ru},{provide:l.bc$,useValue:"BrowserAnimations"},...wd];var Jd=o(6381),yd=o(909),Um=o(3569),ec=o(8447),Lh=o(850);const vd=new S.c(Lh.l);var _d=o(7509),El=o(1787),Oa=o(7947),Np=o(1642),Nu=o(1126),Ph=o(7225),tu=o(5351);const eu={connector:()=>new ec.B};function Lp(w,g=eu){const{connector:d}=g;return(0,tu.N)((b,E)=>{const V=d();(0,Ph.Tg)(w(function pf(w){return new S.c(g=>w.subscribe(g))}(V))).subscribe(E),E.add(b.subscribe(V))})}var xd=o(2040);const il="Service workers are disabled or not supported by this browser";class kd{serviceWorker;worker;registration;events;constructor(g){if(this.serviceWorker=g,g){const b=(0,yd.R)(g,"controllerchange").pipe((0,Oa.T)(()=>g.controller)),E=(0,Jd.v)(()=>(0,O.of)(g.controller)),V=(0,Um.x)(E,b);this.worker=V.pipe((0,le.p)(lr=>!!lr)),this.registration=this.worker.pipe((0,ct.n)(()=>g.getRegistration()));const ye=(0,yd.R)(g,"message").pipe((0,Oa.T)(lr=>lr.data)).pipe((0,le.p)(lr=>lr&&lr.type)).pipe(function Fl(w){return w?g=>Lp(w)(g):g=>function ru(w,g){const d=(0,Nu.T)(w)?w:()=>w;return(0,Nu.T)(g)?Lp(g,{connector:d}):b=>new Np.G(b,d)}(new ec.B)(g)}());ye.connect(),this.events=ye}else this.worker=this.events=this.registration=function ou(w){return(0,Jd.v)(()=>(0,A.$)(new Error(w)))}(il)}postMessage(g,d){return this.worker.pipe((0,T.s)(1),(0,xd.M)(b=>{b.postMessage({action:g,...d})})).toPromise().then(()=>{})}postMessageWithOperation(g,d,b){const E=this.waitForOperationCompleted(b),V=this.postMessage(g,d);return Promise.all([V,E]).then(([,tt])=>tt)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(g){let d;return d="string"==typeof g?b=>b.type===g:b=>g.includes(b.type),this.events.pipe((0,le.p)(d))}nextEventOfType(g){return this.eventsOfType(g).pipe((0,T.s)(1))}waitForOperationCompleted(g){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,le.p)(d=>d.nonce===g),(0,T.s)(1),(0,Oa.T)(d=>{if(void 0!==d.result)return d.result;throw new Error(d.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let Fh=(()=>{class w{sw;messages;notificationClicks;subscription;get isEnabled(){return this.sw.isEnabled}pushManager=null;subscriptionChanges=new ec.B;constructor(d){if(this.sw=d,!d.isEnabled)return this.messages=vd,this.notificationClicks=vd,void(this.subscription=vd);this.messages=this.sw.eventsOfType("PUSH").pipe((0,Oa.T)(E=>E.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,Oa.T)(E=>E.data)),this.pushManager=this.sw.registration.pipe((0,Oa.T)(E=>E.pushManager));const b=this.pushManager.pipe((0,ct.n)(E=>E.getSubscription()));this.subscription=(0,_d.h)(b,this.subscriptionChanges)}requestSubscription(d){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(il));const b={userVisibleOnly:!0};let E=this.decodeBase64(d.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),V=new Uint8Array(new ArrayBuffer(E.length));for(let tt=0;tttt.subscribe(b)),(0,T.s)(1)).toPromise().then(tt=>(this.subscriptionChanges.next(tt),tt))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,T.s)(1),(0,ct.n)(b=>{if(null===b)throw new Error("Not subscribed to push notifications.");return b.unsubscribe().then(E=>{if(!E)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(il))}decodeBase64(d){return atob(d)}static \u0275fac=function(b){return new(b||w)(l.KVO(kd))};static \u0275prov=l.jDH({token:w,factory:w.\u0275fac})}return w})(),Lu=(()=>{class w{sw;versionUpdates;unrecoverable;get isEnabled(){return this.sw.isEnabled}constructor(d){if(this.sw=d,!d.isEnabled)return this.versionUpdates=vd,void(this.unrecoverable=vd);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(il));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(il));const d=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:d},d)}static \u0275fac=function(b){return new(b||w)(l.KVO(kd))};static \u0275prov=l.jDH({token:w,factory:w.\u0275fac})}return w})();const Pp=new l.nKC("");function Bp(w,g,d,b){return()=>{if(!(0,ae.UE)(b)||!("serviceWorker"in navigator)||!1===d.enabled)return;const E=w.get(l.SKi),V=w.get(l.o8S);let tt;if(E.runOutsideAngular(()=>{const bt=navigator.serviceWorker,Kt=()=>bt.controller?.postMessage({action:"INITIALIZE"});bt.addEventListener("controllerchange",Kt),V.onDestroy(()=>{bt.removeEventListener("controllerchange",Kt)})}),"function"==typeof d.registrationStrategy)tt=d.registrationStrategy();else{const[bt,...Kt]=(d.registrationStrategy||"registerWhenStable:30000").split(":");switch(bt){case"registerImmediately":tt=(0,O.of)(null);break;case"registerWithDelay":tt=Bh(+Kt[0]||0);break;case"registerWhenStable":const ye=(0,El.H)(w.get(l.o8S).whenStable());tt=Kt[0]?(0,_d.h)(ye,Bh(+Kt[0])):ye;break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${d.registrationStrategy}`)}}E.runOutsideAngular(()=>tt.pipe((0,T.s)(1)).subscribe(()=>navigator.serviceWorker.register(g,{scope:d.scope}).catch(bt=>console.error("Service worker registration failed with:",bt))))}}function Bh(w){return(0,O.of)(null).pipe((0,ht.c)(w))}function Uh(w,g){return new kd((0,ae.UE)(g)&&!1!==w.enabled?navigator.serviceWorker:void 0)}class ws{enabled;scope;registrationStrategy}var Bl=o(2653),jm=o(5903),hf=o(7178),ys=o(8249),al=o(6627),$p=o(6564);function iu(w){return w&&w.constructor&&"function"==typeof w.constructor.isBuffer&&w.constructor.isBuffer(w)}function $h(w){return w}function jp(w,g){const d=(g=g||{}).delimiter||".",b=g.maxDepth,E=g.transformKey||$h,V={};return function tt(bt,Kt,ye){ye=ye||1,Object.keys(bt).forEach(function(lr){const mr=bt[lr],bo=g.safe&&Array.isArray(mr),to=Object.prototype.toString.call(mr),go=iu(mr),en="[object Object]"===to||"[object Array]"===to,Sn=Kt?Kt+d+E(lr):E(lr);if(!bo&&!go&&en&&Object.keys(mr).length&&(!g.maxDepth||ye0&&(bo=bt(mr.shift()),to=bt(mr[0]))}go[bo]=Pu(w[lr],g)}),V}class jh{translations;constructor(g){this.translations=g}getTranslation(g){return(0,O.of)(this.translations.get(g)||{})}}const Vh=new l.nKC("TRANSLOCO_LOADER");function Vp(w,g){return w&&(Object.prototype.hasOwnProperty.call(w,g)?w[g]:g.split(".").reduce((d,b)=>d?.[b],w))}function Hh(w){return w?Array.isArray(w)?w.length:au(w)?Object.keys(w).length:w?w.length:0:0}function sl(w){return"string"==typeof w}function au(w){return!!w&&"object"==typeof w&&!Array.isArray(w)}function Ed(w){return null==w}function zp(w){return!1===Ed(w)}function Wp(w){return w&&"string"==typeof w.scope}function Kp(w){return jp(w,{safe:!0})}const Ul=new l.nKC("TRANSLOCO_CONFIG",{providedIn:"root",factory:()=>$l}),$l={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"]};function Xh(w={}){return{...$l,...w,missingHandler:{...$l.missingHandler,...w.missingHandler},flatten:{...$l.flatten,...w.flatten}}}const Gp=new l.nKC("TRANSLOCO_TRANSPILER");let Yh=(()=>{class w{interpolationMatcher;constructor(d){this.interpolationMatcher=function Xp(w){const[g,d]=w.interpolation;return new RegExp(`${g}(.*?)${d}`,"g")}(d??$l)}transpile(d,b={},E,V){return sl(d)?d.replace(this.interpolationMatcher,(tt,bt)=>(bt=bt.trim(),zp(b[bt])?b[bt]:zp(E[bt])?this.transpile(E[bt],b,E,V):"")):(b&&(au(d)?d=this.handleObject(d,b,E,V):Array.isArray(d)&&(d=this.handleArray(d,b,E,V))),d)}handleObject(d,b={},E,V){let tt=d;return Object.keys(b).forEach(bt=>{const Kt=Vp(tt,bt),ye=Vp(b,bt),lr=this.transpile(Kt,ye,E,V);tt=function gf(w,g,d){w={...w};const b=g.split("."),E=b.length-1;return b.reduce((V,tt,bt)=>(V[tt]=bt===E?d:Array.isArray(V[tt])?V[tt].slice():{...V[tt]},V&&V[tt]),w),w}(tt,bt,lr)}),tt}handleArray(d,b={},E,V){return d.map(tt=>this.transpile(tt,b,E,V))}static \u0275fac=function(b){return new(b||w)(l.KVO(Ul,8))};static \u0275prov=l.jDH({token:w,factory:w.\u0275fac})}return w})();const rc=new l.nKC("TRANSLOCO_MISSING_HANDLER");let Cd=(()=>{class w{handle(d,b){return b.missingHandler.logMissingKey&&!b.prodMode&&console.warn(`%c Missing translation for '${d}'`,"font-size: 12px; color: red"),d}static \u0275fac=function(b){return new(b||w)};static \u0275prov=l.jDH({token:w,factory:w.\u0275fac})}return w})();const Qp=new l.nKC("TRANSLOCO_INTERCEPTOR");let su=(()=>{class w{preSaveTranslation(d){return d}preSaveTranslationKey(d,b){return b}static \u0275fac=function(b){return new(b||w)};static \u0275prov=l.jDH({token:w,factory:w.\u0275fac})}return w})();const v=new l.nKC("TRANSLOCO_FALLBACK_STRATEGY");let rr,_=(()=>{class w{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(b){return new(b||w)(l.KVO(Ul))};static \u0275prov=l.jDH({token:w,factory:w.\u0275fac})}return w})();function D(w){if(!w)return"";const g=w.split("/");return g.pop(),g.join("/")}function j(w){return w?w.split("/").pop():""}function _e(w){return{scope:D(w)||null,langName:j(w)}}function Pe(w){const{path:g,inlineLoader:d,mainLoader:b,data:E}=w;if(d){if(!1===function Wh(w){return"function"==typeof w}(d[g]))throw`You're using an inline loader but didn't provide a loader for ${g}`;return d[g]().then(tt=>tt.default?tt.default:tt)}return b.getTranslation(g,E)}let Ye=(()=>{class w{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 ec.B;events$=this.events.asObservable();config;constructor(d,b,E,V,tt,bt){this.loader=d,this.parser=b,this.missingHandler=E,this.interceptor=V,this.fallbackStrategy=bt,this.loader||(this.loader=new jh(this.translations)),rr=this,this.config=JSON.parse(JSON.stringify(tt)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new It.t(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.subscription=this.events$.subscribe(Kt=>{"translationLoadSuccess"===Kt.type&&Kt.wasFailure&&this.setActiveLang(Kt.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:_e(d)}),this}setAvailableLangs(d){this.availableLangs=d}getAvailableLangs(){return this.availableLangs}load(d,b={}){const E=this.cache.get(d);if(E)return E;let V;const tt=this._isLangScoped(d);let bt;tt&&(bt=D(d));const Kt={path:d,mainLoader:this.loader,inlineLoader:b.inlineLoader,data:tt?{scope:bt}:void 0};if(this.useFallbackTranslation(d)){const lr=tt?`${bt}/${this.firstFallbackLang}`:this.firstFallbackLang,mr=function Le({mainLoader:w,path:g,data:d,fallbackPath:b,inlineLoader:E}){return(b?[g,b]:[g]).map(tt=>{const bt=Pe({path:tt,mainLoader:w,inlineLoader:E,data:d});return(0,El.H)(bt).pipe((0,Oa.T)(Kt=>({translation:Kt,lang:tt})))})}({...Kt,fallbackPath:lr});V=(0,Bl.p)(mr)}else{const lr=Pe(Kt);V=(0,El.H)(lr)}const ye=V.pipe((0,jm.L)(this.config.failedRetries),(0,xd.M)(lr=>{Array.isArray(lr)?lr.forEach(mr=>{this.handleSuccess(mr.lang,mr.translation),mr.lang!==d&&this.cache.set(mr.lang,(0,O.of)({}))}):this.handleSuccess(d,lr)}),(0,hf.W)(lr=>(this.config.prodMode||console.error(`Error while trying to load "${d}"`,lr),this.handleFailure(d,b))),(0,ys.t)(1));return this.cache.set(d,ye),ye}translate(d,b={},E=this.getActiveLang()){if(!d)return d;const{scope:V,resolveLang:tt}=this.resolveLangAndScope(E);if(Array.isArray(d))return d.map(ye=>this.translate(V?`${V}.${ye}`:ye,b,tt));d=V?`${V}.${d}`:d;const bt=this.getTranslation(tt),Kt=bt[d];return Kt?this.parser.transpile(Kt,b,bt,d):this._handleMissingKey(d,Kt,b)}selectTranslate(d,b,E,V=!1){let tt;const bt=(ye,lr)=>this.load(ye,lr).pipe((0,Oa.T)(()=>V?this.translateObject(d,b,ye):this.translate(d,b,ye)));if(Ed(E))return this.langChanges$.pipe((0,ct.n)(ye=>bt(ye)));if(function mf(w){return Array.isArray(w)&&w.every(Wp)}(E)||Wp(E)){const ye=Array.isArray(E)?E[0]:E;E=ye.scope,tt=function Xt(w,g){return function Kh(w){return w&&au(w.loader)}(w)?function Nt(w,g){return Object.keys(w).reduce((d,b)=>(d[`${g}/${b}`]=w[b],d),{})}(w.loader,g):void 0}(ye,ye.scope)}if(this.isLang(E)||this.isScopeWithLang(E))return bt(E);const Kt=E;return this.langChanges$.pipe((0,ct.n)(ye=>bt(`${Kt}/${ye}`,{inlineLoader:tt})))}isScopeWithLang(d){return this.isLang(j(d))}translateObject(d,b={},E=this.getActiveLang()){if(sl(d)||Array.isArray(d)){const{resolveLang:tt,scope:bt}=this.resolveLangAndScope(E);if(Array.isArray(d))return d.map(lr=>this.translateObject(bt?`${bt}.${lr}`:lr,b,tt));const Kt=this.getTranslation(tt),ye=function Gh(w){return Pu(w)}(this.getObjectByKey(Kt,d=bt?`${bt}.${d}`:d));return function zh(w){return 0===Hh(w)}(ye)?this.translate(d,b,E):this.parser.transpile(ye,b,Kt,d)}const V=[];for(const[tt,bt]of this.getEntries(d))V.push(this.translateObject(tt,bt,E));return V}selectTranslateObject(d,b,E){if(sl(d)||Array.isArray(d))return this.selectTranslate(d,b,E,!0);const[[V,tt],...bt]=this.getEntries(d);return this.selectTranslateObject(V,tt,E).pipe((0,Oa.T)(Kt=>{const ye=[Kt];for(const[lr,mr]of bt)ye.push(this.translateObject(lr,mr,E));return ye}))}getTranslation(d){if(d){if(this.isLang(d))return this.translations.get(d)||{};{const{scope:b,resolveLang:E}=this.resolveLangAndScope(d),V=this.translations.get(E)||{};return this.getObjectByKey(V,b)}}return this.translations}selectTranslation(d){let b=this.langChanges$;if(d){const E=j(d)!==d;b=this.isLang(d)||E?(0,O.of)(d):this.langChanges$.pipe((0,Oa.T)(V=>`${d}/${V}`))}return b.pipe((0,ct.n)(E=>this.load(E).pipe((0,Oa.T)(()=>this.getTranslation(E)))))}setTranslation(d,b=this.getActiveLang(),E={}){const tt={merge:!0,emitChange:!0,...E},bt=D(b);let Kt=d;if(bt){const to=this.getMappedScope(bt);Kt=Kp({[to]:d})}const ye=bt?j(b):b,lr={...tt.merge&&this.getTranslation(ye),...Kt},mr=this.config.flatten.aot?lr:Kp(lr),bo=this.interceptor.preSaveTranslation(mr,ye);this.translations.set(ye,bo),tt.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(d,b,E=this.getActiveLang(),V={}){const tt=this.interceptor.preSaveTranslationKey(d,b,E);this.setTranslation({[d]:tt},E,{...V,merge:!0})}setFallbackLangForMissingTranslation({fallbackLang:d}){const b=Array.isArray(d)?d[0]:d;d&&this.useFallbackTranslation(b)&&(this.firstFallbackLang=b)}_handleMissingKey(d,b,E){if(this.config.missingHandler.allowEmpty&&""===b)return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;const V=this.translate(d,E,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,V}return this.missingHandler.handle(d,this.getMissingHandlerData(),E)}_isLangScoped(d){return-1===this.getAvailableLangsIds().indexOf(d)}isLang(d){return-1!==this.getAvailableLangsIds().indexOf(d)}_loadDependencies(d,b){const E=j(d);return this._isLangScoped(d)&&!this.isLoadedTranslation(E)?(0,al.z)([this.load(E),this.load(d,{inlineLoader:b})]):this.load(d,{inlineLoader:b})}_completeScopeWithLang(d){return this._isLangScoped(d)&&!this.isLang(j(d))?`${d}/${this.getActiveLang()}`:d}_setScopeAlias(d,b){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[d]=b}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null),this.cache.clear()}isLoadedTranslation(d){return Hh(this.getTranslation(d))}getAvailableLangsIds(){return sl(this.getAvailableLangs()[0])?this.getAvailableLangs():this.getAvailableLangs().map(b=>b.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,b){this.setTranslation(b,d,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:_e(d)}),this.failedLangs.forEach(E=>this.cache.delete(E)),this.failedLangs.clear()}handleFailure(d,b){Ed(b.failedCounter)&&(b.failedCounter=0,b.fallbackLangs||(b.fallbackLangs=this.fallbackStrategy.getNextLangs(d)));const E=d.split("/"),tt=b.fallbackLangs[b.failedCounter];if(this.failedLangs.add(d),this.cache.has(tt))return this.handleSuccess(tt,this.getTranslation(tt)),$p.w;if(!tt||tt===E[E.length-1]){let ye="Unable to load translation and all the fallback languages";throw E.length>1&&(ye+=", did you misspelled the scope name?"),new Error(ye)}let Kt=tt;return E.length>1&&(E[E.length-1]=tt,Kt=E.join("/")),b.failedCounter++,this.events.next({type:"translationLoadFailure",payload:_e(d)}),this.load(Kt,b)}getMappedScope(d){const{scopeMapping:b={}}=this.config;return b[d]||function Bu(w){return w.replace(/(?:^\w|[A-Z]|\b\w)/g,(g,d)=>0==d?g.toLowerCase():g.toUpperCase()).replace(/\s+|_|-|\//g,"")}(d)}resolveLangAndScope(d){let E,b=d;if(this._isLangScoped(d)){const V=j(d),tt=this.isLang(V);b=tt?V:this.getActiveLang(),E=this.getMappedScope(tt?D(d):d)}return{scope:E,resolveLang:b}}getObjectByKey(d,b){const E={},V=`${b}.`;for(const tt in d)tt.startsWith(V)&&(E[tt.replace(V,"")]=d[tt]);return E}getEntries(d){return d instanceof Map?d.entries():Object.entries(d)}static \u0275fac=function(b){return new(b||w)(l.KVO(Vh,8),l.KVO(Gp),l.KVO(rc),l.KVO(Qp),l.KVO(Ul),l.KVO(v))};static \u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})();function ho(w){return(0,l.EmA)([{provide:Gp,useClass:w,deps:[Ul]}])}function Yo(w){return(0,l.EmA)([{provide:v,useClass:w,deps:[Ul]}])}function mn(w){return(0,l.EmA)([{provide:rc,useClass:w}])}function vo(w){return(0,l.EmA)([{provide:Qp,useClass:w}])}new l.nKC("TRANSLOCO_LANG"),new l.nKC("TRANSLOCO_LOADING_TEMPLATE"),new l.nKC("TRANSLOCO_SCOPE"),new l.nKC("TRANSLOCO_TEST_LANGS - Available testing languages"),new l.nKC("TRANSLOCO_TEST_OPTIONS - Testing options");var Xs=o(7838);let _s=(()=>{class w{constructor(){this._httpClient=(0,l.WQX)(J.Qq),this._navigation=new Xs.m(1)}get navigation$(){return this._navigation.asObservable()}get(){return this._httpClient.get("api/navigation").pipe((0,xd.M)(d=>{this._navigation.next(d)}))}static{this.\u0275fac=function(b){return new(b||w)}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})(),jl=(()=>{class w{constructor(d){this._httpClient=d,this._chat=new It.t(null),this._chats=new It.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,xd.M)(d=>{this._chats.next(d)}))}getChatById(d){return this._httpClient.get("api/apps/chat/chat",{params:{id:d}}).pipe((0,Oa.T)(b=>(this._chat.next(b),b)),(0,ct.n)(b=>b?(0,O.of)(b):(0,A.$)("Could not found chat with id of "+d+"!")))}static{this.\u0275fac=function(b){return new(b||w)(l.KVO(J.Qq))}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();const cl=new class Li{constructor(g){this.version=g,this.full=g,this.major=g.split(".")[0],this.minor=g.split(".")[1],this.patch=g.split(".").slice(2).join(".")}}("0.0.12").full;var ts=o(5424),Zi=o(3022),Vl=o(2322);function ju(w,g){if(1&w&&l.nrm(0,"mat-progress-bar",0),2&w){const d=l.XpG();l.Y8G("mode",d.mode)("value",d.progress)}}let Hl=(()=>{class w{constructor(){this._angorLoadingService=(0,l.WQX)(yt),this.autoMode=!0,this.progress=0,this.show=!1,this._unsubscribeAll=new ec.B}ngOnChanges(d){"autoMode"in d&&this._angorLoadingService.setAutoMode((0,Zi.he)(d.autoMode.currentValue))}ngOnInit(){this._angorLoadingService.mode$.pipe((0,ts.Q)(this._unsubscribeAll)).subscribe(d=>{this.mode=d}),this._angorLoadingService.progress$.pipe((0,ts.Q)(this._unsubscribeAll)).subscribe(d=>{this.progress=d}),this._angorLoadingService.show$.pipe((0,ts.Q)(this._unsubscribeAll)).subscribe(d=>{this.show=d})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(b){return new(b||w)}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["angor-loading-bar"]],inputs:{autoMode:"autoMode"},exportAs:["angorLoadingBar"],features:[l.OA$],decls:1,vars:1,consts:[[3,"mode","value"]],template:function(b,E){1&b&&l.DNE(0,ju,1,2,"mat-progress-bar",0),2&b&&l.vxM(E.show?0:-1)},dependencies:[Vl.PO,Vl.HM],styles:["angor-loading-bar{position:fixed;top:0;z-index:999;width:100%;height:6px}\n"],encapsulation:2})}}return w})();function Zp(w,g){1&w&&l.nrm(0,"router-outlet")}let Qh=(()=>{class w{constructor(){this._unsubscribeAll=new ec.B}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(b){return new(b||w)}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["empty-layout"]],decls:4,vars:1,consts:[[1,"flex","w-full","flex-auto","flex-col"],[1,"flex","flex-auto","flex-col"]],template:function(b,E){1&b&&(l.nrm(0,"angor-loading-bar"),l.j41(1,"div",0)(2,"div",1),l.DNE(3,Zp,1,0,"router-outlet"),l.k0s()()),2&b&&(l.R7$(3),l.vxM(3))},dependencies:[Hl,a.n3],encapsulation:2})}}return w})();var bc=o(9471),nc=o(3904),zl=o(7712);function wf(w,g){1&w&&l.nrm(0,"mat-icon",3)}let Cl=(()=>{class w{constructor(){this._document=(0,l.WQX)(ae.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(b){return new(b||w)}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["angor-fullscreen"]],inputs:{iconTpl:"iconTpl",tooltip:"tooltip"},exportAs:["angorFullscreen"],decls:4,vars:2,consts:[["defaultIconTpl",""],["mat-icon-button","",3,"click","matTooltip"],[3,"ngTemplateOutlet"],["svgIcon","heroicons_outline:arrows-pointing-out"]],template:function(b,E){if(1&b){const V=l.RV6();l.j41(0,"button",1),l.bIt("click",function(){return l.eBV(V),l.Njj(E.toggleFullscreen())}),l.eu8(1,2),l.k0s(),l.DNE(2,wf,1,0,"ng-template",null,0,l.C5r)}if(2&b){const V=l.sdS(3);l.Y8G("matTooltip",E.tooltip||"Toggle Fullscreen"),l.R7$(),l.Y8G("ngTemplateOutlet",E.iconTpl||V)}},dependencies:[bc.Hl,bc.iY,zl.uc,zl.oV,ae.T3,nc.m_,nc.An],encapsulation:2,changeDetection:0})}}return w})();var qp=o(3871),yf=o(6192),Jp=o(3125);let Zh=(()=>{class w{constructor(d){this.relayService=d,this.notificationSubject=new It.t([]),this.notificationCount=new It.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,b){localStorage.setItem("notificationCount",d.toString()),localStorage.setItem("lastNotificationTimestamp",b.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 b=this;return(0,k.A)(function*(){yield b.relayService.ensureConnectedRelays();const E=b.relayService.getPool(),V=b.relayService.getConnectedRelays();if(0===V.length)throw new Error("No connected relays");const tt=b.loadTimestampFromLocalStorage(),bt=b.loadFilterPreferences();0===bt.length&&bt.push(1,3,4,7,9735);const Kt={kinds:bt,"#p":[d],limit:50,since:tt||void 0};return new Promise(ye=>{E.subscribeMany(V,[Kt],{onevent:mr=>b.handleNotificationEvent(mr,d),oneose(){ye()}})})})()}handleNotificationEvent(d,b){if(this.isNotificationEvent(d,b)){const V=new Date(1e3*d.created_at);let tt="",bt="",Kt="";switch(d.kind){case 1:tt="Mention",bt="Mentioned you in an event.",Kt="heroicons_outline:at-symbol";break;case 4:tt="Private Message",bt="Sent a private message.",Kt="heroicons_outline:envelope-open";break;case 9735:tt="Zap",bt="Received a zap event.",Kt="feather:zap";break;case 3:tt="New Follower",bt="You have a new follower.",Kt="heroicons_outline:user-plus";break;case 7:tt="New Like",bt="You have a new Like.",Kt="heroicons_outline:hand-thumb-up";break;default:tt="Notification",Kt="heroicons_outline:bell"}const mr=[{id:d.id,icon:Kt,title:tt,description:bt,time:V,kind:d.kind,read:!1},...this.notificationSubject.value].slice(0,50);this.notificationSubject.next(mr),this.incrementNotificationCount(d.created_at)}}incrementNotificationCount(d){const b=this.notificationCount.value+1;this.notificationCount.next(b),this.saveNotificationData(b,d)}markAllAsRead(){const d=this.notificationSubject.value.map(E=>({...E,read:!0}));this.notificationSubject.next(d),this.notificationCount.next(0);const b=Math.floor(Date.now()/1e3);this.saveNotificationData(0,b)}isNotificationEvent(d,b){return d.tags.some(E=>"p"===E[0]&&E[1]===b)}static{this.\u0275fac=function(b){return new(b||w)(l.KVO(Jp.b))}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();var Dd=o(9666),Vu=o(8078);const th=["notificationsOrigin"],Ls=["notificationsPanel"],s0=w=>({unread:w}),xa=(w,g)=>({"bg-gray-400 dark:bg-gray-500 sm:opacity-0 sm:group-hover:opacity-100":w,"bg-primary":g});function c0(w,g){if(1&w&&(l.j41(0,"span",4)(1,"span",6),l.EFF(2),l.k0s()()),2&w){const d=l.XpG();l.R7$(2),l.SpI(" ",d.unreadCount," ")}}function l0(w,g){1&w&&l.eu8(0)}function vf(w,g){if(1&w&&(l.j41(0,"a",23),l.DNE(1,l0,1,0,"ng-container",25),l.k0s()),2&w){const d=l.XpG(2).$implicit,b=l.sdS(9);l.Y8G("href",d.link,l.B4B),l.R7$(),l.Y8G("ngTemplateOutlet",b)}}function Vm(w,g){1&w&&l.eu8(0)}function Hm(w,g){if(1&w&&(l.j41(0,"a",24),l.DNE(1,Vm,1,0,"ng-container",25),l.k0s()),2&w){const d=l.XpG(2).$implicit,b=l.sdS(9);l.Y8G("routerLink",d.link),l.R7$(),l.Y8G("ngTemplateOutlet",b)}}function d0(w,g){if(1&w&&l.DNE(0,vf,2,2,"a",23)(1,Hm,2,2,"a",24),2&w){const d=l.XpG().$implicit;l.vxM(d.useRouter?-1:0),l.R7$(),l.vxM(d.useRouter?1:-1)}}function A1(w,g){1&w&&l.eu8(0)}function zm(w,g){if(1&w&&(l.j41(0,"div",17),l.DNE(1,A1,1,0,"ng-container",25),l.k0s()),2&w){l.XpG();const d=l.sdS(9);l.R7$(),l.Y8G("ngTemplateOutlet",d)}}function u0(w,g){if(1&w&&(l.j41(0,"div",26),l.nrm(1,"mat-icon",32),l.k0s()),2&w){const d=l.XpG(2).$implicit;l.R7$(),l.Y8G("svgIcon",d.icon)}}function qh(w,g){if(1&w&&l.nrm(0,"img",27),2&w){const d=l.XpG(2).$implicit;l.Y8G("src",d.image,l.B4B)("alt","Notification image")}}function _f(w,g){if(1&w&&l.nrm(0,"div",29),2&w){const d=l.XpG(2).$implicit;l.Y8G("innerHTML",d.title,l.npT)}}function xf(w,g){if(1&w&&l.nrm(0,"div",30),2&w){const d=l.XpG(2).$implicit;l.Y8G("innerHTML",d.description,l.npT)}}function Hu(w,g){if(1&w&&(l.DNE(0,u0,2,1,"div",26)(1,qh,1,2,"img",27),l.j41(2,"div",28),l.DNE(3,_f,1,1,"div",29)(4,xf,1,1,"div",30),l.j41(5,"div",31),l.EFF(6),l.nI1(7,"date"),l.k0s()()),2&w){const d=l.XpG().$implicit;l.vxM(d.icon&&!d.image?0:-1),l.R7$(),l.vxM(d.image?1:-1),l.R7$(2),l.vxM(d.title?3:-1),l.R7$(),l.vxM(d.description?4:-1),l.R7$(2),l.SpI(" ",l.i5U(7,5,d.time,"MMM dd, h:mm a")," ")}}function Jh(w,g){if(1&w){const d=l.RV6();l.j41(0,"div",16),l.DNE(1,d0,2,2)(2,zm,2,1,"div",17),l.j41(3,"div",18)(4,"button",19),l.bIt("click",function(){const E=l.eBV(d).$implicit,V=l.XpG(2);return l.Njj(V.toggleRead(E))}),l.nrm(5,"span",20),l.k0s(),l.j41(6,"button",21),l.bIt("click",function(){const E=l.eBV(d).$implicit,V=l.XpG(2);return l.Njj(V.delete(E))}),l.nrm(7,"mat-icon",22),l.k0s()()(),l.DNE(8,Hu,8,8,"ng-template",null,2,l.C5r)}if(2&w){const d=g.$implicit;l.Y8G("ngClass",l.eq3(7,s0,!d.read)),l.R7$(),l.vxM(d.link?1:-1),l.R7$(),l.vxM(d.link?-1:2),l.R7$(2),l.Y8G("matTooltip",d.read?"Mark as unread":"Mark as read"),l.R7$(),l.Y8G("ngClass",l.l_i(9,xa,d.read,!d.read)),l.R7$(),l.Y8G("matTooltip","Remove"),l.R7$(),l.Y8G("svgIcon","heroicons_solid:x-mark")}}function tg(w,g){1&w&&(l.j41(0,"div",15)(1,"div",33),l.nrm(2,"mat-icon",34),l.k0s(),l.j41(3,"div",35),l.EFF(4," No notifications "),l.k0s(),l.j41(5,"div",36),l.EFF(6," When you have notifications, they will appear here. "),l.k0s()()),2&w&&(l.R7$(2),l.Y8G("svgIcon","heroicons_outline:bell"))}function zu(w,g){if(1&w){const d=l.RV6();l.j41(0,"div",7)(1,"div",8)(2,"div",9)(3,"button",3),l.bIt("click",function(){l.eBV(d);const E=l.XpG();return l.Njj(E.closePanel())}),l.nrm(4,"mat-icon",10),l.k0s()(),l.j41(5,"div",11),l.EFF(6,"Notifications"),l.k0s(),l.j41(7,"div",12)(8,"button",13),l.bIt("click",function(){l.eBV(d);const E=l.XpG();return l.Njj(E.markAllAsRead())}),l.nrm(9,"mat-icon",10),l.k0s()()(),l.j41(10,"div",14),l.Z7z(11,Jh,10,12,null,null,l.BUC().trackByFn,!0),l.DNE(13,tg,7,1,"div",15),l.k0s()()}if(2&w){const d=l.XpG();l.R7$(4),l.Y8G("svgIcon","heroicons_solid:x-mark"),l.R7$(4),l.Y8G("matTooltip","Mark all as read")("disabled",0===d.unreadCount),l.R7$(),l.Y8G("svgIcon","heroicons_solid:envelope-open"),l.R7$(2),l.Dyx(d.notifications),l.R7$(2),l.vxM(d.notifications&&d.notifications.length?-1:13)}}let eg=(()=>{class w{constructor(d,b,E,V,tt){this._notificationService=d,this._changeDetectorRef=b,this._overlay=E,this._viewContainerRef=V,this._signerService=tt,this.notifications=[],this.unreadCount=0,this._unsubscribeAll=new ec.B}ngOnInit(){const d=this._signerService.getPublicKey();this._notificationService.subscribeToNotifications(d).then(()=>{this._notificationService.getNotificationObservable().pipe((0,ts.Q)(this._unsubscribeAll)).subscribe(b=>{this.notifications=b,this._changeDetectorRef.markForCheck()}),this._notificationService.getNotificationCount().pipe((0,ts.Q)(this._unsubscribeAll)).subscribe(b=>{this.unreadCount=b,this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}openPanel(){!this._notificationsPanel||!this._notificationsOrigin||(this._overlayRef||this._createOverlay(),this._overlayRef.attach(new yf.VA(this._notificationsPanel,this._viewContainerRef)))}closePanel(){this._overlayRef&&this._overlayRef.detach()}markAllAsRead(){this._notificationService.markAllAsRead()}toggleRead(d){d.read=!d.read}trackByFn(d,b){return b.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(b){return new(b||w)(l.rXU(Zh),l.rXU(l.gRc),l.rXU(Dd.hJ),l.rXU(l.c1b),l.rXU(Vu.A))}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["notifications"]],viewQuery:function(b,E){if(1&b&&(l.GBs(th,5),l.GBs(Ls,5)),2&b){let V;l.mGM(V=l.lsd())&&(E._notificationsOrigin=V.first),l.mGM(V=l.lsd())&&(E._notificationsPanel=V.first)}},exportAs:["notifications"],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(b,E){if(1&b){const V=l.RV6();l.j41(0,"button",3,0),l.bIt("click",function(){return l.eBV(V),l.Njj(E.openPanel())}),l.DNE(2,c0,3,1,"span",4),l.nrm(3,"mat-icon",5),l.k0s(),l.DNE(4,zu,14,5,"ng-template",null,1,l.C5r)}2&b&&(l.R7$(2),l.vxM(E.unreadCount>0?2:-1),l.R7$(),l.Y8G("svgIcon","heroicons_outline:bell"))},dependencies:[bc.Hl,bc.iY,nc.m_,nc.An,zl.uc,zl.oV,ae.YU,ae.T3,a.Wk,ae.vh],encapsulation:2,changeDetection:0})}}return w})();var kf=o(799),Sd=o(936),Ef=o(8108),Wl=o(8559),Cf=o(5710),p0=o(2944),ic=o(5919),Wu=o(6520),T1=o(593);const Wm=["panel"],h0=["*"];function Km(w,g){if(1&w){const d=l.RV6();l.j41(0,"div",1,0),l.bIt("@panelAnimation.done",function(E){l.eBV(d);const V=l.XpG();return l.Njj(V._animationDone.next(E))}),l.SdG(2),l.k0s()}if(2&w){const d=g.id,b=l.XpG();l.HbH(b._classList),l.AVh("mat-mdc-autocomplete-visible",b.showPanel)("mat-mdc-autocomplete-hidden",!b.showPanel)("mat-primary","primary"===b._color)("mat-accent","accent"===b._color)("mat-warn","warn"===b._color),l.Y8G("id",b.id)("@panelAnimation",b.isOpen?"visible":"hidden"),l.BMQ("aria-label",b.ariaLabel||null)("aria-labelledby",b._getPanelAriaLabelledby(d))}}const M1=(0,Do.hZ)("panelAnimation",[(0,Do.wk)("void, hidden",(0,Do.iF)({opacity:0,transform:"scaleY(0.8)"})),(0,Do.kY)(":enter, hidden => visible",[(0,Do.Os)([(0,Do.i0)("0.03s linear",(0,Do.iF)({opacity:1})),(0,Do.i0)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,Do.iF)({transform:"scaleY(1)"}))])]),(0,Do.kY)(":leave, visible => hidden",[(0,Do.i0)("0.075s linear",(0,Do.iF)({opacity:0}))])]);class Gm{source;option;constructor(g,d){this.source=g,this.option=d}}const Xm=new l.nKC("mat-autocomplete-default-options",{providedIn:"root",factory:function Ym(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let Ad=(()=>{class w{_changeDetectorRef=(0,l.WQX)(l.gRc);_elementRef=(0,l.WQX)(l.aKT);_defaults=(0,l.WQX)(Xm);_activeOptionChanges=Cf.yU.EMPTY;_animationDone=new l.bkB;_keyManager;showPanel=!1;get isOpen(){return this._isOpen&&this.showPanel}_isOpen=!1;_latestOpeningTrigger;_setColor(d){this._color=d,this._changeDetectorRef.markForCheck()}_color;template;panel;options;optionGroups;ariaLabel;ariaLabelledby;displayWith=null;autoActiveFirstOption;autoSelectActiveOption;requireSelection;panelWidth;disableRipple;optionSelected=new l.bkB;opened=new l.bkB;closed=new l.bkB;optionActivated=new l.bkB;set classList(d){this._classList=d,this._elementRef.nativeElement.className=""}_classList;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(d){this._hideSingleSelectionIndicator=d,this._syncParentProperties()}_hideSingleSelectionIndicator;_syncParentProperties(){if(this.options)for(const d of this.options)d._changeDetectorRef.markForCheck()}id=(0,l.WQX)(Wl.g7).getId("mat-autocomplete-");inertGroups;constructor(){const d=(0,l.WQX)(vt.OD);this.inertGroups=d?.SAFARI||!1,this.autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.requireSelection=!!this._defaults.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new Wl.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 b=new Gm(this,d);this.optionSelected.emit(b)}_getPanelAriaLabelledby(d){return this.ariaLabel?null:this.ariaLabelledby?(d?d+" ":"")+this.ariaLabelledby:d}_skipPredicate(){return!1}static \u0275fac=function(b){return new(b||w)};static \u0275cmp=l.VBU({type:w,selectors:[["mat-autocomplete"]],contentQueries:function(b,E,V){if(1&b&&(l.wni(V,or.wT,5),l.wni(V,or.QC,5)),2&b){let tt;l.mGM(tt=l.lsd())&&(E.options=tt),l.mGM(tt=l.lsd())&&(E.optionGroups=tt)}},viewQuery:function(b,E){if(1&b&&(l.GBs(l.C4Q,7),l.GBs(Wm,5)),2&b){let V;l.mGM(V=l.lsd())&&(E.template=V.first),l.mGM(V=l.lsd())&&(E.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",l.L39],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",l.L39],requireSelection:[2,"requireSelection","requireSelection",l.L39],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",l.L39],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",l.L39]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[l.Jv_([{provide:or.is,useExisting:w}]),l.GFd],ngContentSelectors:h0,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(b,E){1&b&&(l.NAR(),l.DNE(0,Km,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-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: 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:[M1]},changeDetection:0})}return w})();const O1={provide:Sd.kq,useExisting:(0,l.Rfq)(()=>qm),multi:!0},Zm=new l.nKC("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const w=(0,l.WQX)(Dd.hJ);return()=>w.scrollStrategies.reposition()}}),eh={provide:Zm,deps:[Dd.hJ],useFactory:function rg(w){return()=>w.scrollStrategies.reposition()}};let qm=(()=>{class w{_element=(0,l.WQX)(l.aKT);_overlay=(0,l.WQX)(Dd.hJ);_viewContainerRef=(0,l.WQX)(l.c1b);_zone=(0,l.WQX)(l.SKi);_changeDetectorRef=(0,l.WQX)(l.gRc);_dir=(0,l.WQX)(p0.dS,{optional:!0});_formField=(0,l.WQX)(yr.xb,{optional:!0,host:!0});_document=(0,l.WQX)(ae.qQ);_viewportRuler=(0,l.WQX)(Ef.Xj);_defaults=(0,l.WQX)(Xm,{optional:!0});_overlayRef;_portal;_componentDestroyed=!1;_scrollStrategy=(0,l.WQX)(Zm);_keydownSubscription;_outsideClickSubscription;_previousValue;_valueOnAttach;_valueOnLastKeydown;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=Cf.yU.EMPTY;_breakpointObserver=(0,l.WQX)(Wu.QP);_handsetLandscapeSubscription=Cf.yU.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption;_closeKeyEventStream=new ec.B;_windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen};_onChange=()=>{};_onTouched=()=>{};autocomplete;position="auto";connectedTo;autocompleteAttribute="off";autocompleteDisabled;_initialized=new ec.B;_injector=(0,l.WQX)(l.zZn);constructor(){}_aboveClass="mat-mdc-autocomplete-panel-above";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}_overlayAttached=!1;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,Wl.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,_d.h)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,le.p)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,le.p)(()=>this._overlayAttached)):(0,O.of)()).pipe((0,Oa.T)(d=>d instanceof or.MI?d:null))}optionSelections=(0,Jd.v)(()=>{const d=this.autocomplete?this.autocomplete.options:null;return d?d.changes.pipe((0,T1.Z)(d),(0,ct.n)(()=>(0,_d.h)(...d.map(b=>b.onSelectionChange)))):this._initialized.pipe((0,ct.n)(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,_d.h)((0,yd.R)(this._document,"click"),(0,yd.R)(this._document,"auxclick"),(0,yd.R)(this._document,"touchend")).pipe((0,le.p)(d=>{const b=(0,vt.Fb)(d),E=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,V=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&b!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!E||!E.contains(b))&&(!V||!V.contains(b))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(b)}))}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 b=d.keyCode,E=(0,ic.rp)(d);if(b===ic._f&&!E&&d.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&b===ic.Fm&&this.panelOpen&&!E)this.activeOption._selectViaInteraction(),this._resetActiveItem(),d.preventDefault();else if(this.autocomplete){const V=this.autocomplete._keyManager.activeItem,tt=b===ic.i7||b===ic.n6;b===ic.wn||tt&&!E&&this.panelOpen?this.autocomplete._keyManager.onKeydown(d):tt&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(tt||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 b=d.target,E=b.value;if("number"===b.type&&(E=""==E?null:parseFloat(E)),this._previousValue!==E){if(this._previousValue=E,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(E),E){if(this.panelOpen&&!this.autocomplete.requireSelection){const V=this.autocomplete.options?.find(tt=>tt.selected);V&&E!==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 S.c(E=>{(0,l.mal)(()=>{E.next()},{injector:this._injector})}),b=this.autocomplete.options.changes.pipe((0,xd.M)(()=>this._positionStrategy.reapplyLastPosition()),(0,ht.c)(0));return(0,_d.h)(d,b).pipe((0,ct.n)(()=>this._zone.run(()=>{const E=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),E!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),(0,T.s)(1)).subscribe(E=>this._setValueAndClose(E))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(d){const b=this.autocomplete;return b&&b.displayWith?b.displayWith(d):d}_assignOptionValue(d){const b=this._getDisplayValue(d);null==d&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(b??"")}_updateNativeInputValue(d){this._formField?this._formField._control.value=d:this._element.nativeElement.value=d,this._previousValue=d}_setValueAndClose(d){const b=this.autocomplete,E=d?d.source:this._pendingAutoselectedOption;E?(this._clearPreviousSelectedOption(E),this._assignOptionValue(E.value),this._onChange(E.value),b._emitSelectEvent(E),this._element.nativeElement.focus()):b.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),b._animationDone?b._animationDone.pipe((0,T.s)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(d,b){this.autocomplete?.options?.forEach(E=>{E!==d&&E.selected&&E.deselect(b)})}_openPanelInternal(d=this._element.nativeElement.value){this._attachOverlay(d),this._floatLabel(),this._trackedModal&&(0,Wl.px)(this._trackedModal,"aria-owns",this.autocomplete.id)}_attachOverlay(d){let b=this._overlayRef;b?(this._positionStrategy.setOrigin(this._getConnectedElement()),b.updateSize({width:this._getPanelWidth()})):(this._portal=new yf.VA(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),b=this._overlay.create(this._getOverlayConfig()),this._overlayRef=b,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&b&&b.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(Wu.Rp.HandsetLandscape).subscribe(V=>{V.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),b&&!b.hasAttached()&&(b.attach(this._portal),this._valueOnAttach=d,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());const E=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&E!==this.panelOpen&&this._emitOpened()}_handlePanelKeydown=d=>{(d.keyCode===ic._f&&!(0,ic.rp)(d)||d.keyCode===ic.i7&&(0,ic.rp)(d,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),d.stopPropagation(),d.preventDefault())};_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 Dd.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 b=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],E=this._aboveClass,V=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:E},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:E}];let tt;tt="above"===this.position?V:"below"===this.position?b:[...b,...V],d.withPositions(tt)}_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 b=-1;for(let E=0;E .cdk-overlay-container [aria-modal="true"]');if(!d)return;const b=this.autocomplete.id;this._trackedModal&&(0,Wl.Ae)(this._trackedModal,"aria-owns",b),(0,Wl.px)(d,"aria-owns",b),this._trackedModal=d}_clearFromModal(){this._trackedModal&&((0,Wl.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static \u0275fac=function(b){return new(b||w)};static \u0275dir=l.FsC({type:w,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(b,E){1&b&&l.bIt("focusin",function(){return E._handleFocus()})("blur",function(){return E._onTouched()})("input",function(tt){return E._handleInput(tt)})("keydown",function(tt){return E._handleKeydown(tt)})("click",function(){return E._handleClick()}),2&b&&l.BMQ("autocomplete",E.autocompleteAttribute)("role",E.autocompleteDisabled?null:"combobox")("aria-autocomplete",E.autocompleteDisabled?null:"list")("aria-activedescendant",E.panelOpen&&E.activeOption?E.activeOption.id:null)("aria-expanded",E.autocompleteDisabled?null:E.panelOpen.toString())("aria-controls",E.autocompleteDisabled||!E.panelOpen||null==E.autocomplete?null:E.autocomplete.id)("aria-haspopup",E.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",l.L39]},exportAs:["matAutocompleteTrigger"],features:[l.Jv_([O1]),l.GFd,l.OA$]})}return w})(),Jm=(()=>{class w{static \u0275fac=function(b){return new(b||w)};static \u0275mod=l.$C({type:w});static \u0275inj=l.G2t({providers:[eh],imports:[Dd.z_,or.Sy,or.yE,Ef.Gj,or.Sy,or.yE]})}return w})();var g0=o(6389),f0=o(8627),og=o(3149);const tb=["barSearchInput"],m0=["matAutocomplete"];function b0(w,g){if(1&w){const d=l.RV6();l.j41(0,"button",5),l.bIt("click",function(){l.eBV(d);const E=l.XpG(2);return l.Njj(E.open())}),l.nrm(1,"mat-icon",6),l.k0s()}2&w&&(l.R7$(),l.Y8G("svgIcon","heroicons_outline:magnifying-glass"))}function rh(w,g){1&w&&(l.j41(0,"mat-option",14),l.EFF(1," No results found! "),l.k0s())}function eb(w,g){if(1&w){const d=l.RV6();l.j41(0,"img",22),l.bIt("error",function(E){l.eBV(d);const V=l.XpG(5);return l.Njj(V.handleImageError(E))}),l.k0s()}if(2&w){const d=l.XpG().$implicit;l.Mz_("alt","",d.name,"'s avatar"),l.Y8G("src",d.avatar,l.B4B)}}function Df(w,g){1&w&&(l.qex(0),l.nrm(1,"mat-icon",23),l.bVm()),2&w&&(l.R7$(),l.Y8G("svgIcon","heroicons_outline:user-circle"))}function w0(w,g){if(1&w&&(l.j41(0,"div",24),l.EFF(1),l.k0s()),2&w){const d=l.XpG().$implicit;l.R7$(),l.SpI(" ",d.about," ")}}function R1(w,g){if(1&w&&(l.qex(0),l.j41(1,"mat-option",15)(2,"div",16)(3,"div",17),l.DNE(4,eb,1,3,"img",18)(5,Df,2,1,"ng-container",2),l.k0s(),l.j41(6,"div",19)(7,"span",20),l.EFF(8),l.k0s(),l.DNE(9,w0,2,1,"div",21),l.k0s()()(),l.bVm()),2&w){const d=g.$implicit;l.R7$(),l.Y8G("routerLink",d.link)("value",d.name),l.R7$(3),l.Y8G("ngIf",d.avatar),l.R7$(),l.Y8G("ngIf",!d.avatar),l.R7$(3),l.JRh(d.name),l.R7$(),l.Y8G("ngIf",d.about)}}function N1(w,g){if(1&w&&(l.qex(0),l.DNE(1,R1,10,6,"ng-container",12),l.bVm()),2&w){const d=g.$implicit,b=l.XpG(3);l.R7$(),l.Y8G("ngForOf",d.results)("ngForTrackBy",b.trackByFn)}}function oh(w,g){if(1&w){const d=l.RV6();l.j41(0,"div",7),l.nrm(1,"mat-icon",8),l.j41(2,"input",9,0),l.bIt("keydown",function(E){l.eBV(d);const V=l.XpG(2);return l.Njj(V.onKeydown(E))}),l.k0s(),l.j41(4,"mat-autocomplete",10,1),l.DNE(6,rh,2,0,"mat-option",11)(7,N1,2,2,"ng-container",12),l.k0s(),l.j41(8,"button",13),l.bIt("click",function(){l.eBV(d);const E=l.XpG(2);return l.Njj(E.close())}),l.nrm(9,"mat-icon",6),l.k0s()()}if(2&w){const d=l.sdS(5),b=l.XpG(2);l.Y8G("@slideInTop",void 0)("@slideOutTop",void 0),l.R7$(),l.Y8G("svgIcon","heroicons_outline:magnifying-glass"),l.R7$(),l.Y8G("formControl",b.searchControl)("matAutocomplete",d)("placeholder","Search..."),l.R7$(2),l.Y8G("autoSelectActiveOption",!0)("disableRipple",!0),l.R7$(2),l.Y8G("ngIf",b.resultSets&&!b.resultSets.length),l.R7$(),l.Y8G("ngForOf",b.resultSets)("ngForTrackBy",b.trackByFn),l.R7$(2),l.Y8G("svgIcon","heroicons_outline:x-mark")}}function y0(w,g){if(1&w&&(l.j41(0,"div"),l.DNE(1,b0,2,1,"button",3)(2,oh,10,12,"div",4),l.k0s()),2&w){const d=l.XpG();l.R7$(),l.Y8G("ngIf",!d.opened),l.R7$(),l.Y8G("ngIf",d.opened)}}let nh=(()=>{class w{constructor(d,b){this._storageService=d,this._sanitizer=b,this.appearance="basic",this.debounce=300,this.minLength=2,this.search=new l.bkB,this.opened=!1,this.searchControl=new Sd.hs,this._unsubscribeAll=new ec.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,f0.B)(this.debounce),(0,ts.Q)(this._unsubscribeAll),(0,Oa.T)(b=>((!b||b.lengthb&&b.length>=this.minLength)).subscribe(function(){var b=(0,k.A)(function*(E){const V=yield d._storageService.searchProfile(E);d.resultSets=V.map(tt=>({label:"Project",results:[{name:tt.profile.name||tt.profile.displayName||tt.pubKey,pubkey:tt.pubKey,username:tt.profile.username||"",website:tt.profile.website||"",about:tt.profile.about?tt.profile.about.replace(/<\/?[^>]+(>|$)/g,""):"",avatar:tt.profile.picture||null,banner:tt.profile.banner||null,link:`/profile/${tt.pubKey}`}]})),d.search.next(d.resultSets)});return function(E){return b.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,b){return b.id||d}handleImageError(d){const b=d.target;b.onerror=null,b.src="images/avatars/avatar-placeholder.png"}static{this.\u0275fac=function(b){return new(b||w)(l.rXU(og.n),l.rXU(n.up))}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["search"]],viewQuery:function(b,E){if(1&b&&(l.GBs(tb,5),l.GBs(m0,5)),2&b){let V;l.mGM(V=l.lsd())&&(E.barSearchInput=V.first),l.mGM(V=l.lsd())&&(E.matAutocomplete=V.first)}},inputs:{appearance:"appearance",debounce:"debounce",minLength:"minLength"},outputs:{search:"search"},exportAs:["angorSearch"],features:[l.Jv_([{provide:Zm,useFactory:()=>{const d=(0,l.WQX)(Dd.hJ);return()=>d.scrollStrategies.block()}}]),l.OA$],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(b,E){1&b&&l.DNE(0,y0,3,2,"div",2),2&b&&l.Y8G("ngIf","bar"===E.appearance)},dependencies:[bc.Hl,bc.iY,nc.m_,nc.An,Sd.YN,Sd.me,Sd.BC,Jm,Ad,or.wT,qm,Sd.X1,Sd.l_,or.Sy,a.Wk,yr.RG,g0.fS,ae.MD,ae.Sq,ae.bT],encapsulation:2,data:{animation:kf.F}})}}return w})();var ng=o(7702),Td=o(7818),v0=o(1109),L1=o(4482);const rb=()=>["/settings"];function _0(w,g){if(1&w&&(l.qex(0),l.nrm(1,"img",15),l.bVm()),2&w){const d=l.XpG();l.R7$(),l.Y8G("src",d.getSafeUrl(null==d.user?null:d.user.picture),l.B4B)}}function ob(w,g){1&w&&l.nrm(0,"mat-icon",12),2&w&&l.Y8G("svgIcon","heroicons_outline:user-circle")}let ig=(()=>{class w{constructor(d,b,E,V,tt,bt,Kt){this._changeDetectorRef=d,this._router=b,this._angorConfigService=E,this._signerService=V,this._storageService=tt,this.sanitizer=bt,this._nostrLoginService=Kt,this.isLoading=!0,this.errorMessage=null,this._unsubscribeAll=new ec.B}ngOnInit(){this.userPubKey=this._signerService.getPublicKey(),this._angorConfigService.config$.pipe((0,ts.Q)(this._unsubscribeAll)).subscribe(d=>{localStorage.setItem("angorConfig",JSON.stringify(d)),this.config=d,this._changeDetectorRef.detectChanges()}),this.loadUserProfile(),this._storageService.profile$.subscribe(d=>{d&&d.pubKey===this.userPubKey&&(this.user=d.metadata,this._changeDetectorRef.detectChanges())})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}loadUserProfile(){var d=this;return(0,k.A)(function*(){d._storageService.getProfile(d.userPubKey).then(b=>{d.user=b,d._changeDetectorRef.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(b){return new(b||w)(l.rXU(l.gRc),l.rXU(a.Ix),l.rXU(v0.P),l.rXU(Vu.A),l.rXU(og.n),l.rXU(n.up),l.rXU(L1.v))}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["user"]],decls:50,vars:16,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"],["mat-menu-item","",3,"routerLink"],["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(b,E){if(1&b){const V=l.RV6();l.j41(0,"button",3)(1,"span",4),l.DNE(2,_0,2,1,"ng-container",5)(3,ob,1,1,"ng-template",null,0,l.C5r),l.k0s()(),l.j41(5,"mat-menu",6,1)(7,"button",7)(8,"span",8)(9,"span"),l.EFF(10,"Logged in as"),l.k0s(),l.j41(11,"span",9),l.EFF(12),l.k0s()()(),l.nrm(13,"mat-divider",10),l.j41(14,"button",11),l.bIt("click",function(){return l.eBV(V),l.Njj(E.Switch())}),l.nrm(15,"mat-icon",12),l.j41(16,"span"),l.EFF(17,"Switch account"),l.k0s()(),l.j41(18,"button",11),l.bIt("click",function(){return l.eBV(V),l.Njj(E.profile())}),l.nrm(19,"mat-icon",12),l.j41(20,"span"),l.EFF(21,"Profile"),l.k0s()(),l.j41(22,"button",13),l.nrm(23,"mat-icon",12),l.j41(24,"span"),l.EFF(25,"Options"),l.k0s()(),l.nrm(26,"mat-divider",10),l.j41(27,"button",11),l.bIt("click",function(){return l.eBV(V),l.Njj(E.logout())}),l.nrm(28,"mat-icon",12),l.j41(29,"span"),l.EFF(30,"logout"),l.k0s()()(),l.j41(31,"mat-menu",null,2)(33,"button",11),l.bIt("click",function(){return l.eBV(V),l.Njj(E.setScheme("auto"))}),l.nrm(34,"mat-icon",12),l.j41(35,"span"),l.EFF(36,"Auto Theme"),l.k0s()(),l.j41(37,"button",11),l.bIt("click",function(){return l.eBV(V),l.Njj(E.setScheme("light"))}),l.nrm(38,"mat-icon",12),l.j41(39,"span"),l.EFF(40,"Light Theme"),l.k0s()(),l.j41(41,"button",11),l.bIt("click",function(){return l.eBV(V),l.Njj(E.setScheme("dark"))}),l.nrm(42,"mat-icon",12),l.j41(43,"span"),l.EFF(44,"Dark Theme"),l.k0s()(),l.nrm(45,"mat-divider"),l.j41(46,"button",14),l.nrm(47,"mat-icon",12),l.j41(48,"span"),l.EFF(49,"Settings"),l.k0s()()()}if(2&b){const V=l.sdS(4),tt=l.sdS(6),bt=l.sdS(32);l.Y8G("matMenuTriggerFor",tt),l.R7$(2),l.Y8G("ngIf",null==E.user?null:E.user.picture)("ngIfElse",V),l.R7$(3),l.Y8G("xPosition","before"),l.R7$(7),l.JRh((null==E.user?null:E.user.display_name)||(null==E.user?null:E.user.name)||"Unknown User"),l.R7$(3),l.Y8G("svgIcon","heroicons_outline:user-circle"),l.R7$(4),l.Y8G("svgIcon","heroicons_outline:user-circle"),l.R7$(3),l.Y8G("matMenuTriggerFor",bt),l.R7$(),l.Y8G("svgIcon","heroicons_outline:cog-8-tooth"),l.R7$(5),l.Y8G("svgIcon","heroicons_outline:arrow-right-on-rectangle"),l.R7$(6),l.Y8G("svgIcon","heroicons_solid:bolt"),l.R7$(4),l.Y8G("svgIcon","heroicons_solid:sun"),l.R7$(4),l.Y8G("svgIcon","heroicons_solid:moon"),l.R7$(4),l.Y8G("routerLink",l.lJ4(15,rb)),l.R7$(),l.Y8G("svgIcon","heroicons_outline:cog-8-tooth")}},dependencies:[bc.Hl,bc.iY,Td.Cn,Td.kk,Td.fb,Td.Cp,nc.m_,nc.An,ng.w,ng.q,ae.MD,ae.bT,a.iI,a.Wk],encapsulation:2,changeDetection:0})}}return w})();var nb=o(6061),cu=o(9587);let x0=(()=>{class w{constructor(d,b){this.swUpdate=d,this.zone=b,this.newVersionAvailableSubject=new It.t(!1),this.isNewVersionAvailable$=this.newVersionAvailableSubject.asObservable(),this.intervalSource=function ib(w=0,g=nb.E){return w<0&&(w=0),(0,cu.O)(w,w,g)}(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(b){console.error("Failed to check for updates:",b)}}))})}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(b){return new(b||w)(l.KVO(Lu),l.KVO(l.SKi))}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();function k0(w,g){if(1&w){const d=l.RV6();l.j41(0,"button",1),l.bIt("click",function(){l.eBV(d);const E=l.XpG();return l.Njj(E.applyUpdate())}),l.nrm(1,"mat-icon",2),l.k0s()}if(2&w){const d=l.XpG();l.Y8G("matTooltip",d.tooltip||"Update App"),l.R7$(),l.Y8G("svgIcon","heroicons_outline:cloud-arrow-down")}}let ab=(()=>{class w{constructor(d,b){this.updateService=d,this._changeDetectorRef=b,this.updateService.isNewVersionAvailable$.subscribe(E=>{E&&this._changeDetectorRef.detectChanges()})}applyUpdate(){this.updateService.applyUpdate()}static{this.\u0275fac=function(b){return new(b||w)(l.rXU(x0),l.rXU(l.gRc))}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["update"]],inputs:{tooltip:"tooltip"},exportAs:["update"],decls:2,vars:3,consts:[["mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"click","matTooltip"],[3,"svgIcon"]],template:function(b,E){1&b&&(l.DNE(0,k0,2,2,"button",0),l.nI1(1,"async")),2&b&&l.Y8G("ngIf",l.bMT(1,1,E.updateService.isNewVersionAvailable$))},dependencies:[bc.Hl,bc.iY,nc.m_,nc.An,zl.uc,zl.oV,ae.MD,ae.bT,ae.Jj],encapsulation:2,changeDetection:0})}}return w})();function E0(w,g){if(1&w&&(l.j41(0,"angor-vertical-navigation",0),l.qex(1,10),l.j41(2,"div",11),l.nrm(3,"img",12),l.k0s(),l.bVm(),l.k0s()),2&w){const d=l.XpG();l.Y8G("mode","over")("name","mainNavigation")("navigation",d.navigation.default)("opened",!1)}}function sb(w,g){if(1&w&&(l.j41(0,"div",13)(1,"div",14),l.nrm(2,"img",15)(3,"img",16),l.k0s(),l.nrm(4,"img",17),l.k0s(),l.nrm(5,"angor-horizontal-navigation",18)),2&w){const d=l.XpG();l.R7$(5),l.Y8G("name","mainNavigation")("navigation",d.navigation.horizontal)}}function C0(w,g){if(1&w){const d=l.RV6();l.j41(0,"button",19),l.bIt("click",function(){l.eBV(d);const E=l.XpG();return l.Njj(E.toggleNavigation("mainNavigation"))}),l.nrm(1,"mat-icon",20),l.k0s()}2&w&&(l.R7$(),l.Y8G("svgIcon","heroicons_outline:bars-3"))}function D0(w,g){1&w&&l.nrm(0,"router-outlet")}let S0=(()=>{class w{constructor(d,b,E,V,tt){this._activatedRoute=d,this._router=b,this._navigationService=E,this._angorMediaWatcherService=V,this._angorNavigationService=tt,this._unsubscribeAll=new ec.B,this.version=cl}ngOnInit(){this._navigationService.navigation$.pipe((0,ts.Q)(this._unsubscribeAll)).subscribe(d=>{this.navigation=d}),this._angorMediaWatcherService.onMediaChange$.pipe((0,ts.Q)(this._unsubscribeAll)).subscribe(({matchingAliases:d})=>{this.isScreenSmall=!d.includes("md")})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}toggleNavigation(d){const b=this._angorNavigationService.getComponent(d);b&&b.toggle()}static{this.\u0275fac=function(b){return new(b||w)(l.rXU(a.nX),l.rXU(a.Ix),l.rXU(_s),l.rXU(st.l),l.rXU(qp.lX))}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["modern-layout"]],decls:17,vars:6,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(b,E){1&b&&(l.nrm(0,"angor-loading-bar"),l.DNE(1,E0,4,4,"angor-vertical-navigation",0),l.j41(2,"div",1)(3,"div",2),l.DNE(4,sb,6,2)(5,C0,2,1,"button",3),l.j41(6,"div",4),l.nrm(7,"update")(8,"angor-fullscreen",5)(9,"search",6)(10,"notifications")(11,"user"),l.k0s()(),l.j41(12,"div",7),l.DNE(13,D0,1,0,"router-outlet"),l.k0s(),l.j41(14,"div",8)(15,"span",9),l.EFF(16),l.k0s()()()),2&b&&(l.R7$(),l.vxM(E.isScreenSmall?1:-1),l.R7$(3),l.vxM(E.isScreenSmall?-1:4),l.R7$(),l.vxM(E.isScreenSmall?5:-1),l.R7$(4),l.Y8G("appearance","bar"),l.R7$(4),l.vxM(13),l.R7$(3),l.SpI("Angor Hub - version ",E.version,""))},dependencies:[Hl,qp.Tv,qp.$w,bc.Hl,bc.iY,nc.m_,nc.An,Cl,nh,eg,ig,a.n3,ab],encapsulation:2})}}return w})();function A0(w,g){1&w&&l.nrm(0,"router-outlet")}let T0=(()=>{class w{constructor(d,b,E,V,tt){this._activatedRoute=d,this._router=b,this._navigationService=E,this._angorMediaWatcherService=V,this._angorNavigationService=tt,this._unsubscribeAll=new ec.B,this.version=cl}ngOnInit(){this._navigationService.navigation$.pipe((0,ts.Q)(this._unsubscribeAll)).subscribe(d=>{this.navigation=d}),this._angorMediaWatcherService.onMediaChange$.pipe((0,ts.Q)(this._unsubscribeAll)).subscribe(({matchingAliases:d})=>{this.isScreenSmall=!d.includes("md")})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}toggleNavigation(d){const b=this._angorNavigationService.getComponent(d);b&&b.toggle()}static{this.\u0275fac=function(b){return new(b||w)(l.rXU(a.nX),l.rXU(a.Ix),l.rXU(_s),l.rXU(st.l),l.rXU(qp.lX))}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["classic-layout"]],decls:21,vars:8,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(b,E){1&b&&(l.nrm(0,"angor-loading-bar"),l.j41(1,"angor-vertical-navigation",0),l.qex(2,1),l.j41(3,"div",2),l.nrm(4,"img",3)(5,"img",4),l.k0s(),l.bVm(),l.k0s(),l.j41(6,"div",5)(7,"div",6)(8,"button",7),l.bIt("click",function(){return E.toggleNavigation("mainNavigation")}),l.nrm(9,"mat-icon",8),l.k0s(),l.j41(10,"div",9),l.nrm(11,"update")(12,"angor-fullscreen",10)(13,"search",11)(14,"notifications")(15,"user"),l.k0s()(),l.j41(16,"div",12),l.DNE(17,A0,1,0,"router-outlet"),l.k0s(),l.j41(18,"div",13)(19,"span",14),l.EFF(20),l.k0s()()()),2&b&&(l.R7$(),l.Y8G("mode",E.isScreenSmall?"over":"side")("name","mainNavigation")("navigation",E.navigation.default)("opened",!E.isScreenSmall),l.R7$(8),l.Y8G("svgIcon","heroicons_outline:bars-3"),l.R7$(4),l.Y8G("appearance","bar"),l.R7$(4),l.vxM(17),l.R7$(3),l.SpI("Angor Hub - version ",E.version,""))},dependencies:[Hl,qp.Tv,bc.Hl,bc.iY,nc.m_,nc.An,Cl,nh,eg,ig,a.n3,ab],encapsulation:2})}}return w})();function Sf(w,g){1&w&&l.nrm(0,"empty-layout")}function M0(w,g){1&w&&l.nrm(0,"modern-layout")}function I0(w,g){1&w&&l.nrm(0,"classic-layout")}let Dl=(()=>{class w{constructor(d,b,E,V,tt,bt,Kt){this._activatedRoute=d,this._document=b,this._renderer2=E,this._router=V,this._angorConfigService=tt,this._angorMediaWatcherService=bt,this._angorPlatformService=Kt,this._unsubscribeAll=new ec.B}ngOnInit(){(0,al.z)([this._angorConfigService.config$,this._angorMediaWatcherService.onMediaQueryChange$(["(prefers-color-scheme: dark)","(prefers-color-scheme: light)"])]).pipe((0,ts.Q)(this._unsubscribeAll),(0,Oa.T)(([d,b])=>{const E={scheme:d.scheme,theme:d.theme};return"auto"===d.scheme&&(E.scheme=b.breakpoints["(prefers-color-scheme: dark)"]?"dark":"light"),E})).subscribe(d=>{this.scheme=d.scheme,this.theme=d.theme,this._updateScheme(),this._updateTheme()}),this._angorConfigService.config$.pipe((0,ts.Q)(this._unsubscribeAll)).subscribe(d=>{this.config=d,this._updateLayout()}),this._router.events.pipe((0,le.p)(d=>d instanceof a.wF),(0,ts.Q)(this._unsubscribeAll)).subscribe(()=>{this._updateLayout()}),this._renderer2.setAttribute(this._document.querySelector("[ng-version]"),"angor-version",cl),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 b=d.snapshot.queryParamMap.get("layout");b&&(this.layout=b,this.config&&(this.config.layout=b)),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(b){return new(b||w)(l.rXU(a.nX),l.rXU(ae.qQ),l.rXU(l.sFG),l.rXU(a.Ix),l.rXU(v0.P),l.rXU(st.l),l.rXU(Pt))}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["layout"]],decls:3,vars:3,template:function(b,E){1&b&&l.DNE(0,Sf,1,0,"empty-layout")(1,M0,1,0,"modern-layout")(2,I0,1,0,"classic-layout"),2&b&&(l.vxM("empty"===E.layout?0:-1),l.R7$(),l.vxM("modern"===E.layout?1:-1),l.R7$(),l.vxM("classic"===E.layout?2:-1))},dependencies:[Qh,S0,T0],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 w})();const lu=()=>{const w=(0,l.WQX)(Vu.A),g=(0,l.WQX)(a.Ix);return""!==w.getPublicKey()||g.parseUrl("/login")},Af=[{path:"",pathMatch:"full",redirectTo:"home"},{path:"project/:pubkey",pathMatch:"full",redirectTo:"explore"},{path:"login-redirect",pathMatch:"full",redirectTo:"explore"},{path:"",component:Dl,data:{layout:"empty"},children:[{path:"login",loadChildren:()=>Promise.all([o.e(87),o.e(232)]).then(o.bind(o,6232))},{path:"create",loadChildren:()=>Promise.all([o.e(87),o.e(664)]).then(o.bind(o,9664))}]},{path:"",canActivate:[lu],canActivateChild:[lu],component:Dl,data:{layout:"empty"},children:[{path:"logout",loadChildren:()=>o.e(957).then(o.bind(o,7957))}]},{path:"",canActivate:[lu],canActivateChild:[lu],component:Dl,resolve:{initialData:()=>{const w=(0,l.WQX)(_s);return(0,l.WQX)(jl),(0,Bl.p)([w.get()])}},children:[{path:"home",loadChildren:()=>Promise.all([o.e(859),o.e(523),o.e(900),o.e(836)]).then(o.bind(o,836))},{path:"explore",loadChildren:()=>Promise.all([o.e(371),o.e(76),o.e(907)]).then(o.bind(o,8288))},{path:"zap",loadChildren:()=>Promise.all([o.e(859),o.e(785)]).then(o.bind(o,8166))},{path:"bookmark",loadChildren:()=>Promise.all([o.e(371),o.e(76),o.e(767)]).then(o.bind(o,6767))},{path:"profile",loadChildren:()=>Promise.all([o.e(859),o.e(523),o.e(371),o.e(556),o.e(900),o.e(394)]).then(o.bind(o,5394))},{path:"profile/:pubkey",loadChildren:()=>Promise.all([o.e(859),o.e(523),o.e(371),o.e(556),o.e(900),o.e(394)]).then(o.bind(o,5394))},{path:"post",loadChildren:()=>Promise.all([o.e(859),o.e(523),o.e(556),o.e(900),o.e(544)]).then(o.bind(o,6544))},{path:"post/:id",loadChildren:()=>Promise.all([o.e(859),o.e(523),o.e(556),o.e(900),o.e(544)]).then(o.bind(o,6544))},{path:"settings",loadChildren:()=>Promise.all([o.e(859),o.e(371),o.e(76),o.e(126)]).then(o.bind(o,6126))},{path:"settings/:id",loadChildren:()=>Promise.all([o.e(859),o.e(371),o.e(76),o.e(126)]).then(o.bind(o,6126))},{path:"chat",loadChildren:()=>Promise.all([o.e(859),o.e(523),o.e(556),o.e(512)]).then(o.bind(o,1512))},{path:"404-not-found",pathMatch:"full",loadChildren:()=>o.e(256).then(o.bind(o,9256))},{path:"**",redirectTo:"404-not-found"}]}];let Ku=(()=>{class w{constructor(){const d=(0,l.WQX)(n.up),b=(0,l.WQX)(nc.tp);b.addSvgIconSet(d.bypassSecurityTrustResourceUrl("icons/material-twotone.svg")),b.addSvgIconSetInNamespace("mat_outline",d.bypassSecurityTrustResourceUrl("icons/material-outline.svg")),b.addSvgIconSetInNamespace("mat_solid",d.bypassSecurityTrustResourceUrl("icons/material-solid.svg")),b.addSvgIconSetInNamespace("feather",d.bypassSecurityTrustResourceUrl("icons/feather.svg")),b.addSvgIconSetInNamespace("heroicons_outline",d.bypassSecurityTrustResourceUrl("icons/heroicons-outline.svg")),b.addSvgIconSetInNamespace("heroicons_solid",d.bypassSecurityTrustResourceUrl("icons/heroicons-solid.svg")),b.addSvgIconSetInNamespace("heroicons_mini",d.bypassSecurityTrustResourceUrl("icons/heroicons-mini.svg"))}static{this.\u0275fac=function(b){return new(b||w)}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();var R0=o(8747),P1=o(1540);let Tf=(()=>{class w{constructor(d){this.httpClient=d}getTranslation(d){return this.httpClient.get(`./i18n/${d}.json`)}static{this.\u0275fac=function(b){return new(b||w)(l.KVO(J.Qq))}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();const cb=[{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:"0",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"}],lb=[{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 db=o(1238);var L0=o(2065),sg=o(101),P0=o(6259),F0=o(1561);const B0=(0,o(5717).A)(Object.keys,Object);var $0=Object.prototype.hasOwnProperty;var H0=o(2808);const Mf=function ub(w){return(0,H0.A)(w)?(0,P0.A)(w):function j0(w){if(!(0,F0.A)(w))return B0(w);var g=[];for(var d in Object(w))$0.call(w,d)&&"constructor"!=d&&g.push(d);return g}(w)};var If=o(3959);var ih=o(4224),pb=o(1369);const K0=function F1(){return[]};var Of=Object.prototype.propertyIsEnumerable,lg=Object.getOwnPropertySymbols;const fb=lg?function(w){return null==w?[]:(w=Object(w),function hb(w,g){for(var d=-1,b=null==w?0:w.length,E=0,V=[];++d{class w{constructor(d){this._angorMockApiService=d,this._defaultNavigation=cb,this._horizontalNavigation=lb,this.registerHandlers()}registerHandlers(){this._angorMockApiService.onGet("api/navigation").reply(()=>(this._horizontalNavigation.forEach(d=>{this._defaultNavigation.forEach(b=>{b.id===d.id&&(d.children=xg(b.children))})}),[200,{default:xg(this._defaultNavigation),horizontal:xg(this._horizontalNavigation)}]))}static{this.\u0275fac=function(b){return new(b||w)(l.KVO(X))}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})()];let nw=(()=>{class w{constructor(d){this.http=d,this.timestamp=null,this.ngswFilePath="/ngsw.json"}load(){var d=this;return(0,k.A)(function*(){try{const b=yield d.http.get(d.ngswFilePath).toPromise();b&&b.timestamp?(d.timestamp=b.timestamp,console.log("Timestamp successfully loaded:",d.timestamp)):console.error("Invalid data format in ngsw.json")}catch(b){console.error("Error loading ngsw.json:",b)}})()}getTimestamp(){return this.timestamp}loadHash(){return this.http.get(this.ngswFilePath).pipe((0,Oa.T)(d=>d.timestamp||null),(0,hf.W)(d=>(console.error("Error fetching ngsw.json hash:",d),(0,A.$)(()=>new Error("Failed to load hash.")))))}static{this.\u0275fac=function(b){return new(b||w)(l.KVO(J.Qq))}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();var Jf=o(6433),Ey=o(4143);const uh={providers:[function Nh(){return(0,l.ngT)("NgEagerAnimations"),[...Rp]}(),(0,J.$R)(),function nu(w,g={}){return(0,l.EmA)([Fh,Lu,{provide:Pp,useValue:w},{provide:ws,useValue:g},{provide:kd,useFactory:Uh,deps:[ws,l.Agw]},{provide:l.hnV,useFactory:Bp,deps:[l.zZn,Pp,ws,l.Agw],multi:!0}])}("ngsw-worker.js",{enabled:!(0,l.naY)(),registrationStrategy:"registerWhenStable:30000"}),{provide:l.hnV,useFactory:function tm(w){return()=>w.load()},deps:[nw,Vu.A,Jf.d],multi:!0},{provide:l.hnV,useFactory:function dh(w,g){return(0,k.A)(function*(){const d=w.getPublicKey();d&&(yield g.loadUserProfile(d))})},deps:[Vu.A,Jf.d],multi:!0},{provide:l.hnV,useFactory:function gu(){return()=>{(0,Ey.Ts)({theme:"ocean",noBanner:!0,title:"Angor Hub",onAuth:(w,g)=>{}})}},multi:!0},(0,a.lh)(Af,(0,a.oH)({scrollPositionRestoration:"enabled"})),{provide:or.MJ,useClass:Xc},{provide:or.de,useValue:{parse:{dateInput:"D"},display:{dateInput:"DDD",monthYearLabel:"LLL yyyy",dateA11yLabel:"DD",monthYearA11yLabel:"LLLL yyyy"}}},function tn(w){const g=[ho(Yh),mn(Cd),vo(su),Yo(_)];return w.config&&g.push(function ti(w){return(0,l.EmA)([{provide:Ul,useValue:Xh(w)}])}(w.config)),w.loader&&g.push(function ei(w){return(0,l.EmA)([{provide:Vh,useClass:w}])}(w.loader)),g}({config:{availableLangs:[{id:"en",label:"English"}],defaultLang:"en",fallbackLang:"en",reRenderOnLangChange:!0,prodMode:!0},loader:Tf}),{provide:l.hnV,useFactory:()=>{const w=(0,l.WQX)(Ye),g=w.getDefaultLang();return w.setActiveLang(g),()=>function ag(w,g){const d="object"==typeof g;return new Promise((b,E)=>{const V=new P1.Ms({next:tt=>{b(tt),V.unsubscribe()},error:E,complete:()=>{d?b(g.defaultValue):E(new R0.G)}});w.subscribe(V)})}(w.load(g))},multi:!0},[{provide:l.Z63,useValue:()=>(0,l.WQX)(Ku),multi:!0}],(w=>{const g=[{provide:or.N,useValue:{doctype:!0,theme:!1,version:!0}},{provide:yr.U$,useValue:{appearance:"fill"}},{provide:C,useValue:w?.mockApi?.delay??0},{provide:kt.t,useValue:w?.angor??{}},(0,l.oKB)(fr.hM),{provide:l.Z63,useValue:()=>(0,l.WQX)(Et.m),multi:!0},(0,J.$R)((0,J.b$)([at])),{provide:l.Z63,useValue:()=>(0,l.WQX)(yt),multi:!0},{provide:l.Z63,useValue:()=>(0,l.WQX)(st.l),multi:!0},{provide:l.Z63,useValue:()=>(0,l.WQX)(Pt),multi:!0},{provide:l.Z63,useValue:()=>(0,l.WQX)(ve),multi:!0},{provide:l.Z63,useValue:()=>(0,l.WQX)(se.Q),multi:!0}];return w?.mockApi?.services&&g.push((0,J.$R)((0,J.b$)([pt])),{provide:l.hnV,deps:[...w.mockApi.services],useFactory:()=>()=>null,multi:!0}),g})({mockApi:{delay:0,services:qu},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,n.B8)(y,uh).catch(w=>console.error(w))},9566:(i,s)=>{"use strict";s.byteLength=function A(X){var J=C(X),ct=J[1];return 3*(J[0]+ct)/4-ct},s.toByteArray=function T(X){var J,yt,ht=C(X),ct=ht[0],pt=ht[1],kt=new a(function S(X,J,ht){return 3*(J+ht)/4-ht}(0,ct,pt)),Et=0,It=pt>0?ct-4:ct;for(yt=0;yt>16&255,kt[Et++]=J>>8&255,kt[Et++]=255&J;return 2===pt&&(J=n[X.charCodeAt(yt)]<<2|n[X.charCodeAt(yt+1)]>>4,kt[Et++]=255&J),1===pt&&(J=n[X.charCodeAt(yt)]<<10|n[X.charCodeAt(yt+1)]<<4|n[X.charCodeAt(yt+2)]>>2,kt[Et++]=J>>8&255,kt[Et++]=255&J),kt},s.fromByteArray=function q(X){for(var J,ht=X.length,ct=ht%3,pt=[],Et=0,It=ht-ct;EtIt?It:Et+16383));return 1===ct?pt.push(o[(J=X[ht-1])>>2]+o[J<<4&63]+"=="):2===ct&&pt.push(o[(J=(X[ht-2]<<8)+X[ht-1])>>10]+o[J>>4&63]+o[J<<2&63]+"="),pt.join("")};for(var o=[],n=[],a=typeof Uint8Array<"u"?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0;y<64;++y)o[y]=l[y],n[l.charCodeAt(y)]=y;function C(X){var J=X.length;if(J%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var ht=X.indexOf("=");return-1===ht&&(ht=J),[ht,ht===J?0:4-ht%4]}function O(X){return o[X>>18&63]+o[X>>12&63]+o[X>>6&63]+o[63&X]}function P(X,J,ht){for(var pt=[],kt=J;kt{"use strict";const a=o(9566),l=o(9859),y="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;s.hp=S,s.IS=50;const k=2147483647;function A(W){if(W>k)throw new RangeError('The value "'+W+'" is invalid for option "size"');const N=new Uint8Array(W);return Object.setPrototypeOf(N,S.prototype),N}function S(W,N,z){if("number"==typeof W){if("string"==typeof N)throw new TypeError('The "string" argument must be of type string. Received type number');return q(W)}return T(W,N,z)}function T(W,N,z){if("string"==typeof W)return function X(W,N){if(("string"!=typeof N||""===N)&&(N="utf8"),!S.isEncoding(N))throw new TypeError("Unknown encoding: "+N);const z=0|It(W,N);let Rt=A(z);const ue=Rt.write(W,N);return ue!==z&&(Rt=Rt.slice(0,ue)),Rt}(W,N);if(ArrayBuffer.isView(W))return function ht(W){if(fo(W,Uint8Array)){const N=new Uint8Array(W);return ct(N.buffer,N.byteOffset,N.byteLength)}return J(W)}(W);if(null==W)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof W);if(fo(W,ArrayBuffer)||W&&fo(W.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(fo(W,SharedArrayBuffer)||W&&fo(W.buffer,SharedArrayBuffer)))return ct(W,N,z);if("number"==typeof W)throw new TypeError('The "value" argument must not be of type number. Received type number');const Rt=W.valueOf&&W.valueOf();if(null!=Rt&&Rt!==W)return S.from(Rt,N,z);const ue=function pt(W){if(S.isBuffer(W)){const N=0|kt(W.length),z=A(N);return 0===z.length||W.copy(z,0,0,N),z}return void 0!==W.length?"number"!=typeof W.length||cr(W.length)?A(0):J(W):"Buffer"===W.type&&Array.isArray(W.data)?J(W.data):void 0}(W);if(ue)return ue;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof W[Symbol.toPrimitive])return S.from(W[Symbol.toPrimitive]("string"),N,z);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof W)}function O(W){if("number"!=typeof W)throw new TypeError('"size" argument must be of type number');if(W<0)throw new RangeError('The value "'+W+'" is invalid for option "size"')}function q(W){return O(W),A(W<0?0:0|kt(W))}function J(W){const N=W.length<0?0:0|kt(W.length),z=A(N);for(let Rt=0;Rt=k)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k.toString(16)+" bytes");return 0|W}function It(W,N){if(S.isBuffer(W))return W.length;if(ArrayBuffer.isView(W)||fo(W,ArrayBuffer))return W.byteLength;if("string"!=typeof W)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof W);const z=W.length,Rt=arguments.length>2&&!0===arguments[2];if(!Rt&&0===z)return 0;let ue=!1;for(;;)switch(N){case"ascii":case"latin1":case"binary":return z;case"utf8":case"utf-8":return tr(W).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*z;case"hex":return z>>>1;case"base64":return Lo(W).length;default:if(ue)return Rt?-1:tr(W).length;N=(""+N).toLowerCase(),ue=!0}}function yt(W,N,z){let Rt=!1;if((void 0===N||N<0)&&(N=0),N>this.length||((void 0===z||z>this.length)&&(z=this.length),z<=0)||(z>>>=0)<=(N>>>=0))return"";for(W||(W="utf8");;)switch(W){case"hex":return Qt(this,N,z);case"utf8":case"utf-8":return or(this,N,z);case"ascii":return jr(this,N,z);case"latin1":case"binary":return wr(this,N,z);case"base64":return se(this,N,z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return be(this,N,z);default:if(Rt)throw new TypeError("Unknown encoding: "+W);W=(W+"").toLowerCase(),Rt=!0}}function _t(W,N,z){const Rt=W[N];W[N]=W[z],W[z]=Rt}function at(W,N,z,Rt,ue){if(0===W.length)return-1;if("string"==typeof z?(Rt=z,z=0):z>2147483647?z=2147483647:z<-2147483648&&(z=-2147483648),cr(z=+z)&&(z=ue?0:W.length-1),z<0&&(z=W.length+z),z>=W.length){if(ue)return-1;z=W.length-1}else if(z<0){if(!ue)return-1;z=0}if("string"==typeof N&&(N=S.from(N,Rt)),S.isBuffer(N))return 0===N.length?-1:st(W,N,z,Rt,ue);if("number"==typeof N)return N&=255,"function"==typeof Uint8Array.prototype.indexOf?ue?Uint8Array.prototype.indexOf.call(W,N,z):Uint8Array.prototype.lastIndexOf.call(W,N,z):st(W,[N],z,Rt,ue);throw new TypeError("val must be string, number or Buffer")}function st(W,N,z,Rt,ue){let dr,he=1,Se=W.length,Sr=N.length;if(void 0!==Rt&&("ucs2"===(Rt=String(Rt).toLowerCase())||"ucs-2"===Rt||"utf16le"===Rt||"utf-16le"===Rt)){if(W.length<2||N.length<2)return-1;he=2,Se/=2,Sr/=2,z/=2}function ar(Mr,ao){return 1===he?Mr[ao]:Mr.readUInt16BE(ao*he)}if(ue){let Mr=-1;for(dr=z;drSe&&(z=Se-Sr),dr=z;dr>=0;dr--){let Mr=!0;for(let ao=0;aoue&&(Rt=ue):Rt=ue;const he=N.length;let Se;for(Rt>he/2&&(Rt=he/2),Se=0;Se>8,ue=z%256,he.push(ue),he.push(Rt);return he}(N,W.length-z),W,z,Rt)}function se(W,N,z){return a.fromByteArray(0===N&&z===W.length?W:W.slice(N,z))}function or(W,N,z){z=Math.min(W.length,z);const Rt=[];let ue=N;for(;ue239?4:he>223?3:he>191?2:1;if(ue+Sr<=z){let ar,dr,Mr,ao;switch(Sr){case 1:he<128&&(Se=he);break;case 2:ar=W[ue+1],128==(192&ar)&&(ao=(31&he)<<6|63&ar,ao>127&&(Se=ao));break;case 3:ar=W[ue+1],dr=W[ue+2],128==(192&ar)&&128==(192&dr)&&(ao=(15&he)<<12|(63&ar)<<6|63&dr,ao>2047&&(ao<55296||ao>57343)&&(Se=ao));break;case 4:ar=W[ue+1],dr=W[ue+2],Mr=W[ue+3],128==(192&ar)&&128==(192&dr)&&128==(192&Mr)&&(ao=(15&he)<<18|(63&ar)<<12|(63&dr)<<6|63&Mr,ao>65535&&ao<1114112&&(Se=ao))}}null===Se?(Se=65533,Sr=1):Se>65535&&(Se-=65536,Rt.push(Se>>>10&1023|55296),Se=56320|1023&Se),Rt.push(Se),ue+=Sr}return function yr(W){const N=W.length;if(N<=fr)return String.fromCharCode.apply(String,W);let z="",Rt=0;for(;Rtue.length?(S.isBuffer(Se)||(Se=S.from(Se)),Se.copy(ue,he)):Uint8Array.prototype.set.call(ue,Se,he);else{if(!S.isBuffer(Se))throw new TypeError('"list" argument must be an Array of Buffers');Se.copy(ue,he)}he+=Se.length}return ue},S.byteLength=It,S.prototype._isBuffer=!0,S.prototype.swap16=function(){const N=this.length;if(N%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let z=0;zz&&(N+=" ... "),""},y&&(S.prototype[y]=S.prototype.inspect),S.prototype.compare=function(N,z,Rt,ue,he){if(fo(N,Uint8Array)&&(N=S.from(N,N.offset,N.byteLength)),!S.isBuffer(N))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof N);if(void 0===z&&(z=0),void 0===Rt&&(Rt=N?N.length:0),void 0===ue&&(ue=0),void 0===he&&(he=this.length),z<0||Rt>N.length||ue<0||he>this.length)throw new RangeError("out of range index");if(ue>=he&&z>=Rt)return 0;if(ue>=he)return-1;if(z>=Rt)return 1;if(this===N)return 0;let Se=(he>>>=0)-(ue>>>=0),Sr=(Rt>>>=0)-(z>>>=0);const ar=Math.min(Se,Sr),dr=this.slice(ue,he),Mr=N.slice(z,Rt);for(let ao=0;ao>>=0,isFinite(Rt)?(Rt>>>=0,void 0===ue&&(ue="utf8")):(ue=Rt,Rt=void 0)}const he=this.length-z;if((void 0===Rt||Rt>he)&&(Rt=he),N.length>0&&(Rt<0||z<0)||z>this.length)throw new RangeError("Attempt to write outside buffer bounds");ue||(ue="utf8");let Se=!1;for(;;)switch(ue){case"hex":return vt(this,N,z,Rt);case"utf8":case"utf-8":return Pt(this,N,z,Rt);case"ascii":case"latin1":case"binary":return ae(this,N,z,Rt);case"base64":return le(this,N,z,Rt);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ve(this,N,z,Rt);default:if(Se)throw new TypeError("Unknown encoding: "+ue);ue=(""+ue).toLowerCase(),Se=!0}},S.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const fr=4096;function jr(W,N,z){let Rt="";z=Math.min(W.length,z);for(let ue=N;ueRt)&&(z=Rt);let ue="";for(let he=N;hez)throw new RangeError("Trying to access beyond buffer length")}function Bt(W,N,z,Rt,ue,he){if(!S.isBuffer(W))throw new TypeError('"buffer" argument must be a Buffer instance');if(N>ue||NW.length)throw new RangeError("Index out of range")}function Fe(W,N,z,Rt,ue){Xe(N,Rt,ue,W,z,7);let he=Number(N&BigInt(4294967295));W[z++]=he,he>>=8,W[z++]=he,he>>=8,W[z++]=he,he>>=8,W[z++]=he;let Se=Number(N>>BigInt(32)&BigInt(4294967295));return W[z++]=Se,Se>>=8,W[z++]=Se,Se>>=8,W[z++]=Se,Se>>=8,W[z++]=Se,z}function zt(W,N,z,Rt,ue){Xe(N,Rt,ue,W,z,7);let he=Number(N&BigInt(4294967295));W[z+7]=he,he>>=8,W[z+6]=he,he>>=8,W[z+5]=he,he>>=8,W[z+4]=he;let Se=Number(N>>BigInt(32)&BigInt(4294967295));return W[z+3]=Se,Se>>=8,W[z+2]=Se,Se>>=8,W[z+1]=Se,Se>>=8,W[z]=Se,z+8}function Yt(W,N,z,Rt,ue,he){if(z+Rt>W.length)throw new RangeError("Index out of range");if(z<0)throw new RangeError("Index out of range")}function oe(W,N,z,Rt,ue){return N=+N,z>>>=0,ue||Yt(W,0,z,4),l.write(W,N,z,Rt,23,4),z+4}function Oe(W,N,z,Rt,ue){return N=+N,z>>>=0,ue||Yt(W,0,z,8),l.write(W,N,z,Rt,52,8),z+8}S.prototype.slice=function(N,z){const Rt=this.length;(N=~~N)<0?(N+=Rt)<0&&(N=0):N>Rt&&(N=Rt),(z=void 0===z?Rt:~~z)<0?(z+=Rt)<0&&(z=0):z>Rt&&(z=Rt),z>>=0,z>>>=0,Rt||Ht(N,z,this.length);let ue=this[N],he=1,Se=0;for(;++Se>>=0,z>>>=0,Rt||Ht(N,z,this.length);let ue=this[N+--z],he=1;for(;z>0&&(he*=256);)ue+=this[N+--z]*he;return ue},S.prototype.readUint8=S.prototype.readUInt8=function(N,z){return N>>>=0,z||Ht(N,1,this.length),this[N]},S.prototype.readUint16LE=S.prototype.readUInt16LE=function(N,z){return N>>>=0,z||Ht(N,2,this.length),this[N]|this[N+1]<<8},S.prototype.readUint16BE=S.prototype.readUInt16BE=function(N,z){return N>>>=0,z||Ht(N,2,this.length),this[N]<<8|this[N+1]},S.prototype.readUint32LE=S.prototype.readUInt32LE=function(N,z){return N>>>=0,z||Ht(N,4,this.length),(this[N]|this[N+1]<<8|this[N+2]<<16)+16777216*this[N+3]},S.prototype.readUint32BE=S.prototype.readUInt32BE=function(N,z){return N>>>=0,z||Ht(N,4,this.length),16777216*this[N]+(this[N+1]<<16|this[N+2]<<8|this[N+3])},S.prototype.readBigUInt64LE=At(function(N){Te(N>>>=0,"offset");const z=this[N],Rt=this[N+7];(void 0===z||void 0===Rt)&&Ke(N,this.length-8);const ue=z+256*this[++N]+65536*this[++N]+this[++N]*2**24,he=this[++N]+256*this[++N]+65536*this[++N]+Rt*2**24;return BigInt(ue)+(BigInt(he)<>>=0,"offset");const z=this[N],Rt=this[N+7];(void 0===z||void 0===Rt)&&Ke(N,this.length-8);const ue=z*2**24+65536*this[++N]+256*this[++N]+this[++N],he=this[++N]*2**24+65536*this[++N]+256*this[++N]+Rt;return(BigInt(ue)<>>=0,z>>>=0,Rt||Ht(N,z,this.length);let ue=this[N],he=1,Se=0;for(;++Se=he&&(ue-=Math.pow(2,8*z)),ue},S.prototype.readIntBE=function(N,z,Rt){N>>>=0,z>>>=0,Rt||Ht(N,z,this.length);let ue=z,he=1,Se=this[N+--ue];for(;ue>0&&(he*=256);)Se+=this[N+--ue]*he;return he*=128,Se>=he&&(Se-=Math.pow(2,8*z)),Se},S.prototype.readInt8=function(N,z){return N>>>=0,z||Ht(N,1,this.length),128&this[N]?-1*(255-this[N]+1):this[N]},S.prototype.readInt16LE=function(N,z){N>>>=0,z||Ht(N,2,this.length);const Rt=this[N]|this[N+1]<<8;return 32768&Rt?4294901760|Rt:Rt},S.prototype.readInt16BE=function(N,z){N>>>=0,z||Ht(N,2,this.length);const Rt=this[N+1]|this[N]<<8;return 32768&Rt?4294901760|Rt:Rt},S.prototype.readInt32LE=function(N,z){return N>>>=0,z||Ht(N,4,this.length),this[N]|this[N+1]<<8|this[N+2]<<16|this[N+3]<<24},S.prototype.readInt32BE=function(N,z){return N>>>=0,z||Ht(N,4,this.length),this[N]<<24|this[N+1]<<16|this[N+2]<<8|this[N+3]},S.prototype.readBigInt64LE=At(function(N){Te(N>>>=0,"offset");const z=this[N],Rt=this[N+7];return(void 0===z||void 0===Rt)&&Ke(N,this.length-8),(BigInt(this[N+4]+256*this[N+5]+65536*this[N+6]+(Rt<<24))<>>=0,"offset");const z=this[N],Rt=this[N+7];(void 0===z||void 0===Rt)&&Ke(N,this.length-8);const ue=(z<<24)+65536*this[++N]+256*this[++N]+this[++N];return(BigInt(ue)<>>=0,z||Ht(N,4,this.length),l.read(this,N,!0,23,4)},S.prototype.readFloatBE=function(N,z){return N>>>=0,z||Ht(N,4,this.length),l.read(this,N,!1,23,4)},S.prototype.readDoubleLE=function(N,z){return N>>>=0,z||Ht(N,8,this.length),l.read(this,N,!0,52,8)},S.prototype.readDoubleBE=function(N,z){return N>>>=0,z||Ht(N,8,this.length),l.read(this,N,!1,52,8)},S.prototype.writeUintLE=S.prototype.writeUIntLE=function(N,z,Rt,ue){N=+N,z>>>=0,Rt>>>=0,ue||Bt(this,N,z,Rt,Math.pow(2,8*Rt)-1,0);let he=1,Se=0;for(this[z]=255&N;++Se>>=0,Rt>>>=0,ue||Bt(this,N,z,Rt,Math.pow(2,8*Rt)-1,0);let he=Rt-1,Se=1;for(this[z+he]=255&N;--he>=0&&(Se*=256);)this[z+he]=N/Se&255;return z+Rt},S.prototype.writeUint8=S.prototype.writeUInt8=function(N,z,Rt){return N=+N,z>>>=0,Rt||Bt(this,N,z,1,255,0),this[z]=255&N,z+1},S.prototype.writeUint16LE=S.prototype.writeUInt16LE=function(N,z,Rt){return N=+N,z>>>=0,Rt||Bt(this,N,z,2,65535,0),this[z]=255&N,this[z+1]=N>>>8,z+2},S.prototype.writeUint16BE=S.prototype.writeUInt16BE=function(N,z,Rt){return N=+N,z>>>=0,Rt||Bt(this,N,z,2,65535,0),this[z]=N>>>8,this[z+1]=255&N,z+2},S.prototype.writeUint32LE=S.prototype.writeUInt32LE=function(N,z,Rt){return N=+N,z>>>=0,Rt||Bt(this,N,z,4,4294967295,0),this[z+3]=N>>>24,this[z+2]=N>>>16,this[z+1]=N>>>8,this[z]=255&N,z+4},S.prototype.writeUint32BE=S.prototype.writeUInt32BE=function(N,z,Rt){return N=+N,z>>>=0,Rt||Bt(this,N,z,4,4294967295,0),this[z]=N>>>24,this[z+1]=N>>>16,this[z+2]=N>>>8,this[z+3]=255&N,z+4},S.prototype.writeBigUInt64LE=At(function(N,z=0){return Fe(this,N,z,BigInt(0),BigInt("0xffffffffffffffff"))}),S.prototype.writeBigUInt64BE=At(function(N,z=0){return zt(this,N,z,BigInt(0),BigInt("0xffffffffffffffff"))}),S.prototype.writeIntLE=function(N,z,Rt,ue){if(N=+N,z>>>=0,!ue){const ar=Math.pow(2,8*Rt-1);Bt(this,N,z,Rt,ar-1,-ar)}let he=0,Se=1,Sr=0;for(this[z]=255&N;++he>>=0,!ue){const ar=Math.pow(2,8*Rt-1);Bt(this,N,z,Rt,ar-1,-ar)}let he=Rt-1,Se=1,Sr=0;for(this[z+he]=255&N;--he>=0&&(Se*=256);)N<0&&0===Sr&&0!==this[z+he+1]&&(Sr=1),this[z+he]=(N/Se|0)-Sr&255;return z+Rt},S.prototype.writeInt8=function(N,z,Rt){return N=+N,z>>>=0,Rt||Bt(this,N,z,1,127,-128),N<0&&(N=255+N+1),this[z]=255&N,z+1},S.prototype.writeInt16LE=function(N,z,Rt){return N=+N,z>>>=0,Rt||Bt(this,N,z,2,32767,-32768),this[z]=255&N,this[z+1]=N>>>8,z+2},S.prototype.writeInt16BE=function(N,z,Rt){return N=+N,z>>>=0,Rt||Bt(this,N,z,2,32767,-32768),this[z]=N>>>8,this[z+1]=255&N,z+2},S.prototype.writeInt32LE=function(N,z,Rt){return N=+N,z>>>=0,Rt||Bt(this,N,z,4,2147483647,-2147483648),this[z]=255&N,this[z+1]=N>>>8,this[z+2]=N>>>16,this[z+3]=N>>>24,z+4},S.prototype.writeInt32BE=function(N,z,Rt){return N=+N,z>>>=0,Rt||Bt(this,N,z,4,2147483647,-2147483648),N<0&&(N=4294967295+N+1),this[z]=N>>>24,this[z+1]=N>>>16,this[z+2]=N>>>8,this[z+3]=255&N,z+4},S.prototype.writeBigInt64LE=At(function(N,z=0){return Fe(this,N,z,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),S.prototype.writeBigInt64BE=At(function(N,z=0){return zt(this,N,z,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),S.prototype.writeFloatLE=function(N,z,Rt){return oe(this,N,z,!0,Rt)},S.prototype.writeFloatBE=function(N,z,Rt){return oe(this,N,z,!1,Rt)},S.prototype.writeDoubleLE=function(N,z,Rt){return Oe(this,N,z,!0,Rt)},S.prototype.writeDoubleBE=function(N,z,Rt){return Oe(this,N,z,!1,Rt)},S.prototype.copy=function(N,z,Rt,ue){if(!S.isBuffer(N))throw new TypeError("argument should be a Buffer");if(Rt||(Rt=0),!ue&&0!==ue&&(ue=this.length),z>=N.length&&(z=N.length),z||(z=0),ue>0&&ue=this.length)throw new RangeError("Index out of range");if(ue<0)throw new RangeError("sourceEnd out of bounds");ue>this.length&&(ue=this.length),N.length-z>>=0,Rt=void 0===Rt?this.length:Rt>>>0,N||(N=0),"number"==typeof N)for(he=z;he=Rt+4;z-=3)N=`_${W.slice(z-3,z)}${N}`;return`${W.slice(0,z)}${N}`}function Xe(W,N,z,Rt,ue,he){if(W>z||W3?0===N||N===BigInt(0)?`>= 0${Se} and < 2${Se} ** ${8*(he+1)}${Se}`:`>= -(2${Se} ** ${8*(he+1)-1}${Se}) and < 2 ** ${8*(he+1)-1}${Se}`:`>= ${N}${Se} and <= ${z}${Se}`,new $e.ERR_OUT_OF_RANGE("value",Sr,W)}!function ie(W,N,z){Te(N,"offset"),(void 0===W[N]||void 0===W[N+z])&&Ke(N,W.length-(z+1))}(Rt,ue,he)}function Te(W,N){if("number"!=typeof W)throw new $e.ERR_INVALID_ARG_TYPE(N,"number",W)}function Ke(W,N,z){throw Math.floor(W)!==W?(Te(W,z),new $e.ERR_OUT_OF_RANGE(z||"offset","an integer",W)):N<0?new $e.ERR_BUFFER_OUT_OF_BOUNDS:new $e.ERR_OUT_OF_RANGE(z||"offset",`>= ${z?1:0} and <= ${N}`,W)}Dt("ERR_BUFFER_OUT_OF_BOUNDS",function(W){return W?`${W} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Dt("ERR_INVALID_ARG_TYPE",function(W,N){return`The "${W}" argument must be of type number. Received type ${typeof N}`},TypeError),Dt("ERR_OUT_OF_RANGE",function(W,N,z){let Rt=`The value of "${W}" is out of range.`,ue=z;return Number.isInteger(z)&&Math.abs(z)>2**32?ue=wt(String(z)):"bigint"==typeof z&&(ue=String(z),(z>BigInt(2)**BigInt(32)||z<-(BigInt(2)**BigInt(32)))&&(ue=wt(ue)),ue+="n"),Rt+=` It must be ${N}. Received ${ue}`,Rt},RangeError);const re=/[^+/0-9A-Za-z-_]/g;function tr(W,N){let z;N=N||1/0;const Rt=W.length;let ue=null;const he=[];for(let Se=0;Se55295&&z<57344){if(!ue){if(z>56319){(N-=3)>-1&&he.push(239,191,189);continue}if(Se+1===Rt){(N-=3)>-1&&he.push(239,191,189);continue}ue=z;continue}if(z<56320){(N-=3)>-1&&he.push(239,191,189),ue=z;continue}z=65536+(ue-55296<<10|z-56320)}else ue&&(N-=3)>-1&&he.push(239,191,189);if(ue=null,z<128){if((N-=1)<0)break;he.push(z)}else if(z<2048){if((N-=2)<0)break;he.push(z>>6|192,63&z|128)}else if(z<65536){if((N-=3)<0)break;he.push(z>>12|224,z>>6&63|128,63&z|128)}else{if(!(z<1114112))throw new Error("Invalid code point");if((N-=4)<0)break;he.push(z>>18|240,z>>12&63|128,z>>6&63|128,63&z|128)}}return he}function Lo(W){return a.toByteArray(function Ve(W){if((W=(W=W.split("=")[0]).trim().replace(re,"")).length<2)return"";for(;W.length%4!=0;)W+="=";return W}(W))}function Or(W,N,z,Rt){let ue;for(ue=0;ue=N.length||ue>=W.length);++ue)N[ue+z]=W[ue];return ue}function fo(W,N){return W instanceof N||null!=W&&null!=W.constructor&&null!=W.constructor.name&&W.constructor.name===N.name}function cr(W){return W!=W}const Lt=function(){const W="0123456789abcdef",N=new Array(256);for(let z=0;z<16;++z){const Rt=16*z;for(let ue=0;ue<16;++ue)N[Rt+ue]=W[z]+W[ue]}return N}();function At(W){return typeof BigInt>"u"?Zt:W}function Zt(){throw new Error("BigInt not supported")}},9859:(i,s)=>{s.read=function(o,n,a,l,y){var k,C,A=8*y-l-1,S=(1<>1,O=-7,P=a?y-1:0,q=a?-1:1,X=o[n+P];for(P+=q,k=X&(1<<-O)-1,X>>=-O,O+=A;O>0;k=256*k+o[n+P],P+=q,O-=8);for(C=k&(1<<-O)-1,k>>=-O,O+=l;O>0;C=256*C+o[n+P],P+=q,O-=8);if(0===k)k=1-T;else{if(k===S)return C?NaN:1/0*(X?-1:1);C+=Math.pow(2,l),k-=T}return(X?-1:1)*C*Math.pow(2,k-l)},s.write=function(o,n,a,l,y,k){var C,A,S,T=8*k-y-1,O=(1<>1,q=23===y?Math.pow(2,-24)-Math.pow(2,-77):0,X=l?0:k-1,J=l?1:-1,ht=n<0||0===n&&1/n<0?1:0;for(n=Math.abs(n),isNaN(n)||n===1/0?(A=isNaN(n)?1:0,C=O):(C=Math.floor(Math.log(n)/Math.LN2),n*(S=Math.pow(2,-C))<1&&(C--,S*=2),(n+=C+P>=1?q/S:q*Math.pow(2,1-P))*S>=2&&(C++,S/=2),C+P>=O?(A=0,C=O):C+P>=1?(A=(n*S-1)*Math.pow(2,y),C+=P):(A=n*Math.pow(2,P-1)*Math.pow(2,y),C=0));y>=8;o[a+X]=255&A,X+=J,A/=256,y-=8);for(C=C<0;o[a+X]=255&C,X+=J,C/=256,T-=8);o[a+X-J]|=128*ht}},230:i=>{i.exports=function a(l,y,k){function C(T,O){if(!y[T]){if(!l[T]){if(A)return A(T,!0);var q=new Error("Cannot find module '"+T+"'");throw q.code="MODULE_NOT_FOUND",q}var X=y[T]={exports:{}};l[T][0].call(X.exports,function(J){return C(l[T][1][J]||J)},X,X.exports,a,l,y,k)}return y[T].exports}for(var A=void 0,S=0;S"u"&&a(3);var P=Promise;function q(ft,Gt){Gt&&ft.then(function(Ot){Gt(null,Ot)},function(Ot){Gt(Ot)})}function X(ft,Gt,Ot){"function"==typeof Gt&&ft.then(Gt),"function"==typeof Ot&&ft.catch(Ot)}function J(ft){return"string"!=typeof ft&&(console.warn(ft+" used as a key, but it is not a string."),ft=String(ft)),ft}function ht(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var ct="local-forage-detect-blob-support",pt=void 0,kt={},Et=Object.prototype.toString,It="readonly",yt="readwrite";function _t(ft){for(var Gt=ft.length,Ot=new ArrayBuffer(Gt),me=new Uint8Array(Ot),He=0;He=43)}}).catch(function(){return!1})}(ft).then(function(Gt){return pt=Gt})}function vt(ft){var Gt=kt[ft.name],Ot={};Ot.promise=new P(function(me,He){Ot.resolve=me,Ot.reject=He}),Gt.deferredOperations.push(Ot),Gt.dbReady=Gt.dbReady?Gt.dbReady.then(function(){return Ot.promise}):Ot.promise}function Pt(ft){var Ot=kt[ft.name].deferredOperations.pop();if(Ot)return Ot.resolve(),Ot.promise}function ae(ft,Gt){var me=kt[ft.name].deferredOperations.pop();if(me)return me.reject(Gt),me.promise}function le(ft,Gt){return new P(function(Ot,me){if(kt[ft.name]=kt[ft.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},ft.db){if(!Gt)return Ot(ft.db);vt(ft),ft.db.close()}var He=[ft.name];Gt&&He.push(ft.version);var Me=S.open.apply(S,He);Gt&&(Me.onupgradeneeded=function(ur){var Er=Me.result;try{Er.createObjectStore(ft.storeName),ur.oldVersion<=1&&Er.createObjectStore(ct)}catch(kr){if("ConstraintError"!==kr.name)throw kr;console.warn('The database "'+ft.name+'" has been upgraded from version '+ur.oldVersion+" to version "+ur.newVersion+', but the storage "'+ft.storeName+'" already exists.')}}),Me.onerror=function(ur){ur.preventDefault(),me(Me.error)},Me.onsuccess=function(){var ur=Me.result;ur.onversionchange=function(Er){Er.target.close()},Ot(ur),Pt(ft)}})}function ve(ft){return le(ft,!1)}function se(ft){return le(ft,!0)}function or(ft,Gt){if(!ft.db)return!0;var Ot=!ft.db.objectStoreNames.contains(ft.storeName),He=ft.version>ft.db.version;if(ft.versionft.version&&(ft.version=Me)}return!0}return!1}function yr(ft){return O([_t(atob(ft.data))],{type:ft.type})}function jr(ft){return ft&&ft.__local_forage_encoded_blob}function wr(ft){var Gt=this,Ot=Gt._initReady().then(function(){var me=kt[Gt._dbInfo.name];if(me&&me.dbReady)return me.dbReady});return X(Ot,ft,ft),Ot}function be(ft,Gt,Ot,me){void 0===me&&(me=1);try{var He=ft.db.transaction(ft.storeName,Gt);Ot(null,He)}catch(Me){if(me>0&&(!ft.db||"InvalidStateError"===Me.name||"NotFoundError"===Me.name))return P.resolve().then(function(){if(!ft.db||"NotFoundError"===Me.name&&!ft.db.objectStoreNames.contains(ft.storeName)&&ft.version<=ft.db.version)return ft.db&&(ft.version=ft.db.version+1),se(ft)}).then(function(){return function Qt(ft){vt(ft);for(var Gt=kt[ft.name],Ot=Gt.forages,me=0;me>4,$r[He++]=(15&ur)<<4|Er>>2,$r[He++]=(3&Er)<<6|63&kr;return Rr}function Se(ft){var me,Gt=new Uint8Array(ft),Ot="";for(me=0;me>2],Ot+=Ke[(3&Gt[me])<<4|Gt[me+1]>>4],Ot+=Ke[(15&Gt[me+1])<<2|Gt[me+2]>>6],Ot+=Ke[63&Gt[me+2]];return Gt.length%3==2?Ot=Ot.substring(0,Ot.length-1)+"=":Gt.length%3==1&&(Ot=Ot.substring(0,Ot.length-2)+"=="),Ot}var dr={serialize:function Sr(ft,Gt){var Ot="";if(ft&&(Ot=ue.call(ft)),ft&&("[object ArrayBuffer]"===Ot||ft.buffer&&"[object ArrayBuffer]"===ue.call(ft.buffer))){var me,He=tr;ft instanceof ArrayBuffer?(me=ft,He+=Wr):(me=ft.buffer,"[object Int8Array]"===Ot?He+="si08":"[object Uint8Array]"===Ot?He+="ui08":"[object Uint8ClampedArray]"===Ot?He+="uic8":"[object Int16Array]"===Ot?He+="si16":"[object Uint16Array]"===Ot?He+="ur16":"[object Int32Array]"===Ot?He+="si32":"[object Uint32Array]"===Ot?He+=W:"[object Float32Array]"===Ot?He+=N:"[object Float64Array]"===Ot?He+=z:Gt(new Error("Failed to get type for BinaryArray"))),Gt(He+Se(me))}else if("[object Blob]"===Ot){var Me=new FileReader;Me.onload=function(){var ur="~~local_forage_type~"+ft.type+"~"+Se(this.result);Gt(tr+Lo+ur)},Me.readAsArrayBuffer(ft)}else try{Gt(JSON.stringify(ft))}catch(ur){console.error("Couldn't convert value into a JSON string: ",ft),Gt(null,ur)}},deserialize:function ar(ft){if(ft.substring(0,9)!==tr)return JSON.parse(ft);var me,Gt=ft.substring(13),Ot=ft.substring(9,13);if(Ot===Lo&&Ve.test(Gt)){var He=Gt.match(Ve);me=He[1],Gt=Gt.substring(He[0].length)}var Me=he(Gt);switch(Ot){case Wr:return Me;case Lo:return O([Me],{type:me});case"si08":return new Int8Array(Me);case"ui08":return new Uint8Array(Me);case"uic8":return new Uint8ClampedArray(Me);case"si16":return new Int16Array(Me);case"ur16":return new Uint16Array(Me);case"si32":return new Int32Array(Me);case W:return new Uint32Array(Me);case N:return new Float32Array(Me);case z:return new Float64Array(Me);default:throw new Error("Unkown type: "+Ot)}},stringToBuffer:he,bufferToString:Se};function Mr(ft,Gt,Ot,me){ft.executeSql("CREATE TABLE IF NOT EXISTS "+Gt.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],Ot,me)}function xr(ft,Gt,Ot,me,He,Me){ft.executeSql(Ot,me,He,function(ur,Er){Er.code===Er.SYNTAX_ERR?ur.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[Gt.storeName],function(kr,Rr){Rr.rows.length?Me(kr,Er):Mr(kr,Gt,function(){kr.executeSql(Ot,me,He,Me)},Me)},Me):Me(ur,Er)},Me)}function Ho(ft,Gt,Ot,me){var He=this;ft=J(ft);var Me=new P(function(ur,Er){He.ready().then(function(){void 0===Gt&&(Gt=null);var kr=Gt,Rr=He._dbInfo;Rr.serializer.serialize(Gt,function($r,Jr){Jr?Er(Jr):Rr.db.transaction(function(so){xr(so,Rr,"INSERT OR REPLACE INTO "+Rr.storeName+" (key, value) VALUES (?, ?)",[ft,$r],function(){ur(kr)},function(xo,Eo){Er(Eo)})},function(so){if(so.code===so.QUOTA_ERR){if(me>0)return void ur(Ho.apply(He,[ft,kr,Ot,me-1]));Er(so)}})})}).catch(Er)});return q(Me,Ot),Me}var vr={_driver:"webSQLStorage",_initStorage:function ao(ft){var Gt=this,Ot={db:null};if(ft)for(var me in ft)Ot[me]="string"!=typeof ft[me]?ft[me].toString():ft[me];var He=new P(function(Me,ur){try{Ot.db=openDatabase(Ot.name,String(Ot.version),Ot.description,Ot.size)}catch(Er){return ur(Er)}Ot.db.transaction(function(Er){Mr(Er,Ot,function(){Gt._dbInfo=Ot,Me()},function(kr,Rr){ur(Rr)})},ur)});return Ot.serializer=dr,He},_support:function Te(){return"function"==typeof openDatabase}(),iterate:function To(ft,Gt){var Ot=this,me=new P(function(He,Me){Ot.ready().then(function(){var ur=Ot._dbInfo;ur.db.transaction(function(Er){xr(Er,ur,"SELECT * FROM "+ur.storeName,[],function(kr,Rr){for(var $r=Rr.rows,Jr=$r.length,so=0;so '__WebKitDatabaseInfoTable__'",[],function(He,Me){for(var ur=[],Er=0;Er0}var ua={_driver:"localStorageWrapper",_initStorage:function Zn(ft){var Ot={};if(ft)for(var me in ft)Ot[me]=ft[me];return Ot.keyPrefix=ko(ft,this._defaultConfig),hn()?(this._dbInfo=Ot,Ot.serializer=dr,P.resolve()):P.reject()},_support:function qr(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}(),iterate:function te(ft,Gt){var Ot=this,me=Ot.ready().then(function(){for(var He=Ot._dbInfo,Me=He.keyPrefix,ur=Me.length,Er=localStorage.length,kr=1,Rr=0;Rr=0;He--){var Me=localStorage.key(He);0===Me.indexOf(me)&&localStorage.removeItem(Me)}});return q(Ot,ft),Ot},length:function gr(ft){var Ot=this.keys().then(function(me){return me.length});return q(Ot,ft),Ot},key:function Re(ft,Gt){var Ot=this,me=Ot.ready().then(function(){var Me,He=Ot._dbInfo;try{Me=localStorage.key(ft)}catch{Me=null}return Me&&(Me=Me.substring(He.keyPrefix.length)),Me});return q(me,Gt),me},keys:function ir(ft){var Gt=this,Ot=Gt.ready().then(function(){for(var me=Gt._dbInfo,He=localStorage.length,Me=[],ur=0;ur=0;ur--){var Er=localStorage.key(ur);0===Er.indexOf(Me)&&localStorage.removeItem(Er)}}):P.reject("Invalid arguments"),Gt),He}},$i=function(Gt,Ot){return Gt===Ot||"number"==typeof Gt&&"number"==typeof Ot&&isNaN(Gt)&&isNaN(Ot)},cn=function(Gt,Ot){for(var me=Gt.length,He=0;He"u"?"undefined":k(Ot))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var me in Ot){if("storeName"===me&&(Ot[me]=Ot[me].replace(/\W/g,"_")),"version"===me&&"number"!=typeof Ot[me])return new Error("Database version must be a number.");this._config[me]=Ot[me]}return!("driver"in Ot)||!Ot.driver||this.setDriver(this._config.driver)}return"string"==typeof Ot?this._config[Ot]:this._config},ft.prototype.defineDriver=function(Ot,me,He){var Me=new P(function(ur,Er){try{var kr=Ot._driver,Rr=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!Ot._driver)return void Er(Rr);for(var $r=hi.concat("_initStorage"),Jr=0,so=$r.length;Jr{"use strict";o.d(s,{t:()=>a});var n=o(8447);class a extends n.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:C}=this;if(y)throw k;return this._throwIfClosed(),C}next(y){super.next(this._value=y)}}},1698:(i,s,o)=>{"use strict";o.d(s,{c:()=>S});var n=o(1540),a=o(5710),l=o(2563),y=o(6742),k=o(3305),C=o(1126),A=o(4171);let S=(()=>{class q{constructor(J){J&&(this._subscribe=J)}lift(J){const ht=new q;return ht.source=this,ht.operator=J,ht}subscribe(J,ht,ct){const pt=function P(q){return q&&q instanceof n.vU||function O(q){return q&&(0,C.T)(q.next)&&(0,C.T)(q.error)&&(0,C.T)(q.complete)}(q)&&(0,a.Uv)(q)}(J)?J:new n.Ms(J,ht,ct);return(0,A.Y)(()=>{const{operator:kt,source:Et}=this;pt.add(kt?kt.call(pt,Et):Et?this._subscribe(pt):this._trySubscribe(pt))}),pt}_trySubscribe(J){try{return this._subscribe(J)}catch(ht){J.error(ht)}}forEach(J,ht){return new(ht=T(ht))((ct,pt)=>{const kt=new n.Ms({next:Et=>{try{J(Et)}catch(It){pt(It),kt.unsubscribe()}},error:pt,complete:ct});this.subscribe(kt)})}_subscribe(J){var ht;return null===(ht=this.source)||void 0===ht?void 0:ht.subscribe(J)}[l.s](){return this}pipe(...J){return(0,y.m)(J)(this)}toPromise(J){return new(J=T(J))((ht,ct)=>{let pt;this.subscribe(kt=>pt=kt,kt=>ct(kt),()=>ht(pt))})}}return q.create=X=>new q(X),q})();function T(q){var X;return null!==(X=q??k.$.Promise)&&void 0!==X?X:Promise}},7838:(i,s,o)=>{"use strict";o.d(s,{m:()=>l});var n=o(8447),a=o(6188);class l extends n.B{constructor(k=1/0,C=1/0,A=a.U){super(),this._bufferSize=k,this._windowTime=C,this._timestampProvider=A,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=C===1/0,this._bufferSize=Math.max(1,k),this._windowTime=Math.max(1,C)}next(k){const{isStopped:C,_buffer:A,_infiniteTimeWindow:S,_timestampProvider:T,_windowTime:O}=this;C||(A.push(k),!S&&A.push(T.now()+O)),this._trimBuffer(),super.next(k)}_subscribe(k){this._throwIfClosed(),this._trimBuffer();const C=this._innerSubscribe(k),{_infiniteTimeWindow:A,_buffer:S}=this,T=S.slice();for(let O=0;O{"use strict";o.d(s,{B:()=>A});var n=o(1698),a=o(5710);const y=(0,o(5644).L)(T=>function(){T(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var k=o(5891),C=o(4171);let A=(()=>{class T extends n.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(P){const q=new S(this,this);return q.operator=P,q}_throwIfClosed(){if(this.closed)throw new y}next(P){(0,C.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const q of this.currentObservers)q.next(P)}})}error(P){(0,C.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=P;const{observers:q}=this;for(;q.length;)q.shift().error(P)}})}complete(){(0,C.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:P}=this;for(;P.length;)P.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var P;return(null===(P=this.observers)||void 0===P?void 0:P.length)>0}_trySubscribe(P){return this._throwIfClosed(),super._trySubscribe(P)}_subscribe(P){return this._throwIfClosed(),this._checkFinalizedStatuses(P),this._innerSubscribe(P)}_innerSubscribe(P){const{hasError:q,isStopped:X,observers:J}=this;return q||X?a.Kn:(this.currentObservers=null,J.push(P),new a.yU(()=>{this.currentObservers=null,(0,k.o)(J,P)}))}_checkFinalizedStatuses(P){const{hasError:q,thrownError:X,isStopped:J}=this;q?P.error(X):J&&P.complete()}asObservable(){const P=new n.c;return P.source=this,P}}return T.create=(O,P)=>new S(O,P),T})();class S extends A{constructor(O,P){super(),this.destination=O,this.source=P}next(O){var P,q;null===(q=null===(P=this.destination)||void 0===P?void 0:P.next)||void 0===q||q.call(P,O)}error(O){var P,q;null===(q=null===(P=this.destination)||void 0===P?void 0:P.error)||void 0===q||q.call(P,O)}complete(){var O,P;null===(P=null===(O=this.destination)||void 0===O?void 0:O.complete)||void 0===P||P.call(O)}_subscribe(O){var P,q;return null!==(q=null===(P=this.source)||void 0===P?void 0:P.subscribe(O))&&void 0!==q?q:a.Kn}}},1540:(i,s,o)=>{"use strict";o.d(s,{Ms:()=>ct,vU:()=>q});var n=o(1126),a=o(5710),l=o(3305),y=o(191),k=o(850);const C=T("C",void 0,void 0);function T(yt,_t,at){return{kind:yt,value:_t,error:at}}var O=o(3695),P=o(4171);class q extends a.yU{constructor(_t){super(),this.isStopped=!1,_t?(this.destination=_t,(0,a.Uv)(_t)&&_t.add(this)):this.destination=It}static create(_t,at,st){return new ct(_t,at,st)}next(_t){this.isStopped?Et(function S(yt){return T("N",yt,void 0)}(_t),this):this._next(_t)}error(_t){this.isStopped?Et(function A(yt){return T("E",void 0,yt)}(_t),this):(this.isStopped=!0,this._error(_t))}complete(){this.isStopped?Et(C,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(_t){this.destination.next(_t)}_error(_t){try{this.destination.error(_t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const X=Function.prototype.bind;function J(yt,_t){return X.call(yt,_t)}class ht{constructor(_t){this.partialObserver=_t}next(_t){const{partialObserver:at}=this;if(at.next)try{at.next(_t)}catch(st){pt(st)}}error(_t){const{partialObserver:at}=this;if(at.error)try{at.error(_t)}catch(st){pt(st)}else pt(_t)}complete(){const{partialObserver:_t}=this;if(_t.complete)try{_t.complete()}catch(at){pt(at)}}}class ct extends q{constructor(_t,at,st){let vt;if(super(),(0,n.T)(_t)||!_t)vt={next:_t??void 0,error:at??void 0,complete:st??void 0};else{let Pt;this&&l.$.useDeprecatedNextContext?(Pt=Object.create(_t),Pt.unsubscribe=()=>this.unsubscribe(),vt={next:_t.next&&J(_t.next,Pt),error:_t.error&&J(_t.error,Pt),complete:_t.complete&&J(_t.complete,Pt)}):vt=_t}this.destination=new ht(vt)}}function pt(yt){l.$.useDeprecatedSynchronousErrorHandling?(0,P.l)(yt):(0,y.m)(yt)}function Et(yt,_t){const{onStoppedNotification:at}=l.$;at&&O.f.setTimeout(()=>at(yt,_t))}const It={closed:!0,next:k.l,error:function kt(yt){throw yt},complete:k.l}},5710:(i,s,o)=>{"use strict";o.d(s,{Kn:()=>C,yU:()=>k,Uv:()=>A});var n=o(1126);const l=(0,o(5644).L)(T=>function(P){T(this),this.message=P?`${P.length} errors occurred during unsubscription:\n${P.map((q,X)=>`${X+1}) ${q.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=P});var y=o(5891);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:P}=this;if(P)if(this._parentage=null,Array.isArray(P))for(const J of P)J.remove(this);else P.remove(this);const{initialTeardown:q}=this;if((0,n.T)(q))try{q()}catch(J){O=J instanceof l?J.errors:[J]}const{_finalizers:X}=this;if(X){this._finalizers=null;for(const J of X)try{S(J)}catch(ht){O=O??[],ht instanceof l?O=[...O,...ht.errors]:O.push(ht)}}if(O)throw new l(O)}}add(O){var P;if(O&&O!==this)if(this.closed)S(O);else{if(O instanceof k){if(O.closed||O._hasParent(this))return;O._addParent(this)}(this._finalizers=null!==(P=this._finalizers)&&void 0!==P?P:[]).push(O)}}_hasParent(O){const{_parentage:P}=this;return P===O||Array.isArray(P)&&P.includes(O)}_addParent(O){const{_parentage:P}=this;this._parentage=Array.isArray(P)?(P.push(O),P):P?[P,O]:O}_removeParent(O){const{_parentage:P}=this;P===O?this._parentage=null:Array.isArray(P)&&(0,y.o)(P,O)}remove(O){const{_finalizers:P}=this;P&&(0,y.o)(P,O),O instanceof k&&O._removeParent(this)}}k.EMPTY=(()=>{const T=new k;return T.closed=!0,T})();const C=k.EMPTY;function A(T){return T instanceof k||T&&"closed"in T&&(0,n.T)(T.remove)&&(0,n.T)(T.add)&&(0,n.T)(T.unsubscribe)}function S(T){(0,n.T)(T)?T():T.unsubscribe()}},3305:(i,s,o)=>{"use strict";o.d(s,{$:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},1642:(i,s,o)=>{"use strict";o.d(s,{G:()=>C});var n=o(1698),a=o(5710),l=o(3589),y=o(2483),k=o(5351);class C extends n.c{constructor(S,T){super(),this.source=S,this.subjectFactory=T,this._subject=null,this._refCount=0,this._connection=null,(0,k.S)(S)&&(this.lift=S.lift)}_subscribe(S){return this.getSubject().subscribe(S)}getSubject(){const S=this._subject;return(!S||S.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:S}=this;this._subject=this._connection=null,S?.unsubscribe()}connect(){let S=this._connection;if(!S){S=this._connection=new a.yU;const T=this.getSubject();S.add(this.source.subscribe((0,y._)(T,void 0,()=>{this._teardown(),T.complete()},O=>{this._teardown(),T.error(O)},()=>this._teardown()))),S.closed&&(this._connection=null,S=a.yU.EMPTY)}return S}refCount(){return(0,l.B)()(this)}}},6627:(i,s,o)=>{"use strict";o.d(s,{z:()=>O});var n=o(1698),a=o(3740),l=o(1787),y=o(9220),k=o(3759),C=o(4327),A=o(9321),S=o(2483),T=o(8266);function O(...X){const J=(0,C.lI)(X),ht=(0,C.ms)(X),{args:ct,keys:pt}=(0,a.D)(X);if(0===ct.length)return(0,l.H)([],J);const kt=new n.c(function P(X,J,ht=y.D){return ct=>{q(J,()=>{const{length:pt}=X,kt=new Array(pt);let Et=pt,It=pt;for(let yt=0;yt{const _t=(0,l.H)(X[yt],J);let at=!1;_t.subscribe((0,S._)(ct,st=>{kt[yt]=st,at||(at=!0,It--),It||ct.next(ht(kt.slice()))},()=>{--Et||ct.complete()}))},ct)},ct)}}(ct,J,pt?Et=>(0,A.e)(pt,Et):y.D));return ht?kt.pipe((0,k.I)(ht)):kt}function q(X,J,ht){X?(0,T.N)(ht,X,J):J()}},3569:(i,s,o)=>{"use strict";o.d(s,{x:()=>k});var n=o(1890),l=o(4327),y=o(1787);function k(...C){return function a(){return(0,n.U)(1)}()((0,y.H)(C,(0,l.lI)(C)))}},6381:(i,s,o)=>{"use strict";o.d(s,{v:()=>l});var n=o(1698),a=o(7225);function l(y){return new n.c(k=>{(0,a.Tg)(y()).subscribe(k)})}},6564:(i,s,o)=>{"use strict";o.d(s,{w:()=>a});const a=new(o(1698).c)(k=>k.complete())},2653:(i,s,o)=>{"use strict";o.d(s,{p:()=>S});var n=o(1698),a=o(3740),l=o(7225),y=o(4327),k=o(2483),C=o(3759),A=o(9321);function S(...T){const O=(0,y.ms)(T),{args:P,keys:q}=(0,a.D)(T),X=new n.c(J=>{const{length:ht}=P;if(!ht)return void J.complete();const ct=new Array(ht);let pt=ht,kt=ht;for(let Et=0;Et{It||(It=!0,kt--),ct[Et]=yt},()=>pt--,void 0,()=>{(!pt||!It)&&(kt||J.next(q?(0,A.e)(q,ct):ct),J.complete())}))}});return O?X.pipe((0,C.I)(O)):X}},1787:(i,s,o)=>{"use strict";o.d(s,{H:()=>st});var n=o(7225),a=o(8266),l=o(5351),y=o(2483);function k(vt,Pt=0){return(0,l.N)((ae,le)=>{ae.subscribe((0,y._)(le,ve=>(0,a.N)(le,vt,()=>le.next(ve),Pt),()=>(0,a.N)(le,vt,()=>le.complete(),Pt),ve=>(0,a.N)(le,vt,()=>le.error(ve),Pt)))})}function C(vt,Pt=0){return(0,l.N)((ae,le)=>{le.add(vt.schedule(()=>ae.subscribe(le),Pt))})}var T=o(1698),P=o(6952),q=o(1126);function J(vt,Pt){if(!vt)throw new Error("Iterable cannot be null");return new T.c(ae=>{(0,a.N)(ae,Pt,()=>{const le=vt[Symbol.asyncIterator]();(0,a.N)(ae,Pt,()=>{le.next().then(ve=>{ve.done?ae.complete():ae.next(ve.value)})},0,!0)})})}var ht=o(6600),ct=o(6505),pt=o(6786),kt=o(4876),Et=o(8394),It=o(8810),yt=o(3173);function st(vt,Pt){return Pt?function at(vt,Pt){if(null!=vt){if((0,ht.l)(vt))return function A(vt,Pt){return(0,n.Tg)(vt).pipe(C(Pt),k(Pt))}(vt,Pt);if((0,pt.X)(vt))return function O(vt,Pt){return new T.c(ae=>{let le=0;return Pt.schedule(function(){le===vt.length?ae.complete():(ae.next(vt[le++]),ae.closed||this.schedule())})})}(vt,Pt);if((0,ct.y)(vt))return function S(vt,Pt){return(0,n.Tg)(vt).pipe(C(Pt),k(Pt))}(vt,Pt);if((0,Et.T)(vt))return J(vt,Pt);if((0,kt.x)(vt))return function X(vt,Pt){return new T.c(ae=>{let le;return(0,a.N)(ae,Pt,()=>{le=vt[P.l](),(0,a.N)(ae,Pt,()=>{let ve,se;try{({value:ve,done:se}=le.next())}catch(or){return void ae.error(or)}se?ae.complete():ae.next(ve)},0,!0)}),()=>(0,q.T)(le?.return)&&le.return()})}(vt,Pt);if((0,yt.U)(vt))return function _t(vt,Pt){return J((0,yt.C)(vt),Pt)}(vt,Pt)}throw(0,It.L)(vt)}(vt,Pt):(0,n.Tg)(vt)}},909:(i,s,o)=>{"use strict";o.d(s,{R:()=>O});var n=o(7225),a=o(1698),l=o(5823),y=o(6786),k=o(1126),C=o(3759);const A=["addListener","removeListener"],S=["addEventListener","removeEventListener"],T=["on","off"];function O(ht,ct,pt,kt){if((0,k.T)(pt)&&(kt=pt,pt=void 0),kt)return O(ht,ct,pt).pipe((0,C.I)(kt));const[Et,It]=function J(ht){return(0,k.T)(ht.addEventListener)&&(0,k.T)(ht.removeEventListener)}(ht)?S.map(yt=>_t=>ht[yt](ct,_t,pt)):function q(ht){return(0,k.T)(ht.addListener)&&(0,k.T)(ht.removeListener)}(ht)?A.map(P(ht,ct)):function X(ht){return(0,k.T)(ht.on)&&(0,k.T)(ht.off)}(ht)?T.map(P(ht,ct)):[];if(!Et&&(0,y.X)(ht))return(0,l.Z)(yt=>O(yt,ct,pt))((0,n.Tg)(ht));if(!Et)throw new TypeError("Invalid event target");return new a.c(yt=>{const _t=(...at)=>yt.next(1It(_t)})}function P(ht,ct){return pt=>kt=>ht[pt](ct,kt)}},7225:(i,s,o)=>{"use strict";o.d(s,{Tg:()=>X});var n=o(1635),a=o(6786),l=o(6505),y=o(1698),k=o(6600),C=o(8394),A=o(8810),S=o(4876),T=o(3173),O=o(1126),P=o(191),q=o(2563);function X(yt){if(yt instanceof y.c)return yt;if(null!=yt){if((0,k.l)(yt))return function J(yt){return new y.c(_t=>{const at=yt[q.s]();if((0,O.T)(at.subscribe))return at.subscribe(_t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(yt);if((0,a.X)(yt))return function ht(yt){return new y.c(_t=>{for(let at=0;at{yt.then(at=>{_t.closed||(_t.next(at),_t.complete())},at=>_t.error(at)).then(null,P.m)})}(yt);if((0,C.T)(yt))return kt(yt);if((0,S.x)(yt))return function pt(yt){return new y.c(_t=>{for(const at of yt)if(_t.next(at),_t.closed)return;_t.complete()})}(yt);if((0,T.U)(yt))return function Et(yt){return kt((0,T.C)(yt))}(yt)}throw(0,A.L)(yt)}function kt(yt){return new y.c(_t=>{(function It(yt,_t){var at,st,vt,Pt;return(0,n.sH)(this,void 0,void 0,function*(){try{for(at=(0,n.xN)(yt);!(st=yield at.next()).done;)if(_t.next(st.value),_t.closed)return}catch(ae){vt={error:ae}}finally{try{st&&!st.done&&(Pt=at.return)&&(yield Pt.call(at))}finally{if(vt)throw vt.error}}_t.complete()})})(yt,_t).catch(at=>_t.error(at))})}},7509:(i,s,o)=>{"use strict";o.d(s,{h:()=>C});var n=o(1890),a=o(7225),l=o(6564),y=o(4327),k=o(1787);function C(...A){const S=(0,y.lI)(A),T=(0,y.R0)(A,1/0),O=A;return O.length?1===O.length?(0,a.Tg)(O[0]):(0,n.U)(T)((0,k.H)(O,S)):l.w}},3016:(i,s,o)=>{"use strict";o.d(s,{of:()=>l});var n=o(4327),a=o(1787);function l(...y){const k=(0,n.lI)(y);return(0,a.H)(y,k)}},8915:(i,s,o)=>{"use strict";o.d(s,{$:()=>l});var n=o(1698),a=o(1126);function l(y,k){const C=(0,a.T)(y)?y:()=>y,A=S=>S.error(C());return new n.c(k?S=>k.schedule(A,0,S):A)}},9587:(i,s,o)=>{"use strict";o.d(s,{O:()=>k});var n=o(1698),a=o(6061),l=o(9921);function k(C=0,A,S=a.b){let T=-1;return null!=A&&((0,l.m)(A)?S=A:T=A),new n.c(O=>{let P=function y(C){return C instanceof Date&&!isNaN(C)}(C)?+C-S.now():C;P<0&&(P=0);let q=0;return S.schedule(function(){O.closed||(O.next(q++),0<=T?this.schedule(void 0,T):O.complete())},P)})}},2483:(i,s,o)=>{"use strict";o.d(s,{_:()=>a});var n=o(1540);function a(y,k,C,A,S){return new l(y,k,C,A,S)}class l extends n.vU{constructor(k,C,A,S,T,O){super(k),this.onFinalize=T,this.shouldUnsubscribe=O,this._next=C?function(P){try{C(P)}catch(q){k.error(q)}}:super._next,this._error=S?function(P){try{S(P)}catch(q){k.error(q)}finally{this.unsubscribe()}}:super._error,this._complete=A?function(){try{A()}catch(P){k.error(P)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var k;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:C}=this;super.unsubscribe(),!C&&(null===(k=this.onFinalize)||void 0===k||k.call(this))}}}},5684:(i,s,o)=>{"use strict";o.d(s,{Z:()=>A});var n=o(6061),a=o(5351),l=o(7225),y=o(2483),C=o(9587);function A(S,T=n.E){return function k(S){return(0,a.N)((T,O)=>{let P=!1,q=null,X=null,J=!1;const ht=()=>{if(X?.unsubscribe(),X=null,P){P=!1;const pt=q;q=null,O.next(pt)}J&&O.complete()},ct=()=>{X=null,J&&O.complete()};T.subscribe((0,y._)(O,pt=>{P=!0,q=pt,X||(0,l.Tg)(S(pt)).subscribe(X=(0,y._)(O,ht,ct))},()=>{J=!0,(!P||!X||X.closed)&&O.complete()}))})}(()=>(0,C.O)(S,T))}},7178:(i,s,o)=>{"use strict";o.d(s,{W:()=>y});var n=o(7225),a=o(2483),l=o(5351);function y(k){return(0,l.N)((C,A)=>{let O,S=null,T=!1;S=C.subscribe((0,a._)(A,void 0,void 0,P=>{O=(0,n.Tg)(k(P,y(k)(C))),S?(S.unsubscribe(),S=null,O.subscribe(A)):T=!0})),T&&(S.unsubscribe(),S=null,O.subscribe(A))})}},1459:(i,s,o)=>{"use strict";o.d(s,{H:()=>l});var n=o(5823),a=o(1126);function l(y,k){return(0,a.T)(k)?(0,n.Z)(y,k,1):(0,n.Z)(y,1)}},8627:(i,s,o)=>{"use strict";o.d(s,{B:()=>y});var n=o(6061),a=o(5351),l=o(2483);function y(k,C=n.E){return(0,a.N)((A,S)=>{let T=null,O=null,P=null;const q=()=>{if(T){T.unsubscribe(),T=null;const J=O;O=null,S.next(J)}};function X(){const J=P+k,ht=C.now();if(ht{O=J,P=C.now(),T||(T=C.schedule(X,k),S.add(T))},()=>{q(),S.complete()},void 0,()=>{O=T=null}))})}},5670:(i,s,o)=>{"use strict";o.d(s,{U:()=>l});var n=o(5351),a=o(2483);function l(y){return(0,n.N)((k,C)=>{let A=!1;k.subscribe((0,a._)(C,S=>{A=!0,C.next(S)},()=>{A||C.next(y),C.complete()}))})}},8136:(i,s,o)=>{"use strict";o.d(s,{c:()=>X});var n=o(6061),a=o(3569),l=o(7610),y=o(5351),k=o(2483),C=o(850),S=o(6590),T=o(5823),O=o(7225);function P(J,ht){return ht?ct=>(0,a.x)(ht.pipe((0,l.s)(1),function A(){return(0,y.N)((J,ht)=>{J.subscribe((0,k._)(ht,C.l))})}()),ct.pipe(P(J))):(0,T.Z)((ct,pt)=>(0,O.Tg)(J(ct,pt)).pipe((0,l.s)(1),(0,S.u)(ct)))}var q=o(9587);function X(J,ht=n.E){const ct=(0,q.O)(J,ht);return P(()=>ct)}},6645:(i,s,o)=>{"use strict";o.d(s,{F:()=>y});var n=o(9220),a=o(5351),l=o(2483);function y(C,A=n.D){return C=C??k,(0,a.N)((S,T)=>{let O,P=!0;S.subscribe((0,l._)(T,q=>{const X=A(q);(P||!C(O,X))&&(P=!1,O=X,T.next(q))}))})}function k(C,A){return C===A}},1483:(i,s,o)=>{"use strict";o.d(s,{p:()=>l});var n=o(5351),a=o(2483);function l(y,k){return(0,n.N)((C,A)=>{let S=0;C.subscribe((0,a._)(A,T=>y.call(k,T,S++)&&A.next(T)))})}},4447:(i,s,o)=>{"use strict";o.d(s,{j:()=>a});var n=o(5351);function a(l){return(0,n.N)((y,k)=>{try{y.subscribe(k)}finally{k.add(l)}})}},1703:(i,s,o)=>{"use strict";o.d(s,{$:()=>A});var n=o(8747),a=o(1483),l=o(7610),y=o(5670),k=o(5017),C=o(9220);function A(S,T){const O=arguments.length>=2;return P=>P.pipe(S?(0,a.p)((q,X)=>S(q,X,P)):C.D,(0,l.s)(1),O?(0,y.U)(T):(0,k.v)(()=>new n.G))}},7947:(i,s,o)=>{"use strict";o.d(s,{T:()=>l});var n=o(5351),a=o(2483);function l(y,k){return(0,n.N)((C,A)=>{let S=0;C.subscribe((0,a._)(A,T=>{A.next(y.call(k,T,S++))}))})}},6590:(i,s,o)=>{"use strict";o.d(s,{u:()=>a});var n=o(7947);function a(l){return(0,n.T)(()=>l)}},1890:(i,s,o)=>{"use strict";o.d(s,{U:()=>l});var n=o(5823),a=o(9220);function l(y=1/0){return(0,n.Z)(a.D,y)}},5823:(i,s,o)=>{"use strict";o.d(s,{Z:()=>S});var n=o(7947),a=o(7225),l=o(5351),y=o(8266),k=o(2483),A=o(1126);function S(T,O,P=1/0){return(0,A.T)(O)?S((q,X)=>(0,n.T)((J,ht)=>O(q,J,X,ht))((0,a.Tg)(T(q,X))),P):("number"==typeof O&&(P=O),(0,l.N)((q,X)=>function C(T,O,P,q,X,J,ht,ct){const pt=[];let kt=0,Et=0,It=!1;const yt=()=>{It&&!pt.length&&!kt&&O.complete()},_t=st=>kt{J&&O.next(st),kt++;let vt=!1;(0,a.Tg)(P(st,Et++)).subscribe((0,k._)(O,Pt=>{X?.(Pt),J?_t(Pt):O.next(Pt)},()=>{vt=!0},void 0,()=>{if(vt)try{for(kt--;pt.length&&ktat(Pt)):at(Pt)}yt()}catch(Pt){O.error(Pt)}}))};return T.subscribe((0,k._)(O,_t,()=>{It=!0,yt()})),()=>{ct?.()}}(q,X,T,P)))}},3589:(i,s,o)=>{"use strict";o.d(s,{B:()=>l});var n=o(5351),a=o(2483);function l(){return(0,n.N)((y,k)=>{let C=null;y._refCount++;const A=(0,a._)(k,void 0,void 0,void 0,()=>{if(!y||y._refCount<=0||0<--y._refCount)return void(C=null);const S=y._connection,T=C;C=null,S&&(!T||S===T)&&S.unsubscribe(),k.unsubscribe()});y.subscribe(A),A.closed||(C=y.connect())})}},5903:(i,s,o)=>{"use strict";o.d(s,{L:()=>C});var n=o(5351),a=o(2483),l=o(9220),y=o(9587),k=o(7225);function C(A=1/0){let S;S=A&&"object"==typeof A?A:{count:A};const{count:T=1/0,delay:O,resetOnSuccess:P=!1}=S;return T<=0?l.D:(0,n.N)((q,X)=>{let ht,J=0;const ct=()=>{let pt=!1;ht=q.subscribe((0,a._)(X,kt=>{P&&(J=0),X.next(kt)},void 0,kt=>{if(J++{ht?(ht.unsubscribe(),ht=null,ct()):pt=!0};if(null!=O){const It="number"==typeof O?(0,y.O)(O):(0,k.Tg)(O(kt,J)),yt=(0,a._)(X,()=>{yt.unsubscribe(),Et()},()=>{X.complete()});It.subscribe(yt)}else Et()}else X.error(kt)})),pt&&(ht.unsubscribe(),ht=null,ct())};ct()})}},36:(i,s,o)=>{"use strict";o.d(s,{S:()=>a});var n=o(2483);function a(l,y,k,C,A){return(S,T)=>{let O=k,P=y,q=0;S.subscribe((0,n._)(T,X=>{const J=q++;P=O?l(P,X,J):(O=!0,X),C&&T.next(P)},A&&(()=>{O&&T.next(P),T.complete()})))}}},6218:(i,s,o)=>{"use strict";o.d(s,{u:()=>k});var n=o(7225),a=o(8447),l=o(1540),y=o(5351);function k(A={}){const{connector:S=()=>new a.B,resetOnError:T=!0,resetOnComplete:O=!0,resetOnRefCountZero:P=!0}=A;return q=>{let X,J,ht,ct=0,pt=!1,kt=!1;const Et=()=>{J?.unsubscribe(),J=void 0},It=()=>{Et(),X=ht=void 0,pt=kt=!1},yt=()=>{const _t=X;It(),_t?.unsubscribe()};return(0,y.N)((_t,at)=>{ct++,!kt&&!pt&&Et();const st=ht=ht??S();at.add(()=>{ct--,0===ct&&!kt&&!pt&&(J=C(yt,P))}),st.subscribe(at),!X&&ct>0&&(X=new l.Ms({next:vt=>st.next(vt),error:vt=>{kt=!0,Et(),J=C(It,T,vt),st.error(vt)},complete:()=>{pt=!0,Et(),J=C(It,O),st.complete()}}),(0,n.Tg)(_t).subscribe(X))})(q)}}function C(A,S,...T){if(!0===S)return void A();if(!1===S)return;const O=new l.Ms({next:()=>{O.unsubscribe(),A()}});return(0,n.Tg)(S(...T)).subscribe(O)}},8249:(i,s,o)=>{"use strict";o.d(s,{t:()=>l});var n=o(7838),a=o(6218);function l(y,k,C){let A,S=!1;return y&&"object"==typeof y?({bufferSize:A=1/0,windowTime:k=1/0,refCount:S=!1,scheduler:C}=y):A=y??1/0,(0,a.u)({connector:()=>new n.m(A,k,C),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:S})}},1866:(i,s,o)=>{"use strict";o.d(s,{i:()=>a});var n=o(1483);function a(l){return(0,n.p)((y,k)=>l<=k)}},593:(i,s,o)=>{"use strict";o.d(s,{Z:()=>y});var n=o(3569),a=o(4327),l=o(5351);function y(...k){const C=(0,a.lI)(k);return(0,l.N)((A,S)=>{(C?(0,n.x)(k,A,C):(0,n.x)(k,A)).subscribe(S)})}},2867:(i,s,o)=>{"use strict";o.d(s,{n:()=>y});var n=o(7225),a=o(5351),l=o(2483);function y(k,C){return(0,a.N)((A,S)=>{let T=null,O=0,P=!1;const q=()=>P&&!T&&S.complete();A.subscribe((0,l._)(S,X=>{T?.unsubscribe();let J=0;const ht=O++;(0,n.Tg)(k(X,ht)).subscribe(T=(0,l._)(S,ct=>S.next(C?C(X,ct,ht,J++):ct),()=>{T=null,q()}))},()=>{P=!0,q()}))})}},7610:(i,s,o)=>{"use strict";o.d(s,{s:()=>y});var n=o(6564),a=o(5351),l=o(2483);function y(k){return k<=0?()=>n.w:(0,a.N)((C,A)=>{let S=0;C.subscribe((0,l._)(A,T=>{++S<=k&&(A.next(T),k<=S&&A.complete())}))})}},5424:(i,s,o)=>{"use strict";o.d(s,{Q:()=>k});var n=o(5351),a=o(2483),l=o(7225),y=o(850);function k(C){return(0,n.N)((A,S)=>{(0,l.Tg)(C).subscribe((0,a._)(S,()=>S.complete(),y.l)),!S.closed&&A.subscribe(S)})}},8445:(i,s,o)=>{"use strict";o.d(s,{v:()=>l});var n=o(5351),a=o(2483);function l(y,k=!1){return(0,n.N)((C,A)=>{let S=0;C.subscribe((0,a._)(A,T=>{const O=y(T,S++);(O||k)&&A.next(T),!O&&A.complete()}))})}},2040:(i,s,o)=>{"use strict";o.d(s,{M:()=>k});var n=o(1126),a=o(5351),l=o(2483),y=o(9220);function k(C,A,S){const T=(0,n.T)(C)||A||S?{next:C,error:A,complete:S}:C;return T?(0,a.N)((O,P)=>{var q;null===(q=T.subscribe)||void 0===q||q.call(T);let X=!0;O.subscribe((0,l._)(P,J=>{var ht;null===(ht=T.next)||void 0===ht||ht.call(T,J),P.next(J)},()=>{var J;X=!1,null===(J=T.complete)||void 0===J||J.call(T),P.complete()},J=>{var ht;X=!1,null===(ht=T.error)||void 0===ht||ht.call(T,J),P.error(J)},()=>{var J,ht;X&&(null===(J=T.unsubscribe)||void 0===J||J.call(T)),null===(ht=T.finalize)||void 0===ht||ht.call(T)}))}):y.D}},5017:(i,s,o)=>{"use strict";o.d(s,{v:()=>y});var n=o(8747),a=o(5351),l=o(2483);function y(C=k){return(0,a.N)((A,S)=>{let T=!1;A.subscribe((0,l._)(S,O=>{T=!0,S.next(O)},()=>T?S.complete():S.error(C())))})}function k(){return new n.G}},9899:(i,s,o)=>{"use strict";o.d(s,{R:()=>k});var n=o(5710);class a extends n.yU{constructor(A,S){super()}schedule(A,S=0){return this}}const l={setInterval(C,A,...S){const{delegate:T}=l;return T?.setInterval?T.setInterval(C,A,...S):setInterval(C,A,...S)},clearInterval(C){const{delegate:A}=l;return(A?.clearInterval||clearInterval)(C)},delegate:void 0};var y=o(5891);class k extends a{constructor(A,S){super(A,S),this.scheduler=A,this.work=S,this.pending=!1}schedule(A,S=0){var T;if(this.closed)return this;this.state=A;const O=this.id,P=this.scheduler;return null!=O&&(this.id=this.recycleAsyncId(P,O,S)),this.pending=!0,this.delay=S,this.id=null!==(T=this.id)&&void 0!==T?T:this.requestAsyncId(P,this.id,S),this}requestAsyncId(A,S,T=0){return l.setInterval(A.flush.bind(A,this),T)}recycleAsyncId(A,S,T=0){if(null!=T&&this.delay===T&&!1===this.pending)return S;null!=S&&l.clearInterval(S)}execute(A,S){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const T=this._execute(A,S);if(T)return T;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(A,S){let O,T=!1;try{this.work(A)}catch(P){T=!0,O=P||new Error("Scheduled action threw falsy error")}if(T)return this.unsubscribe(),O}unsubscribe(){if(!this.closed){const{id:A,scheduler:S}=this,{actions:T}=S;this.work=this.state=this.scheduler=null,this.pending=!1,(0,y.o)(T,this),null!=A&&(this.id=this.recycleAsyncId(S,A,null)),this.delay=null,super.unsubscribe()}}}},8050:(i,s,o)=>{"use strict";o.d(s,{q:()=>l});var n=o(6188);class a{constructor(k,C=a.now){this.schedulerActionCtor=k,this.now=C}schedule(k,C=0,A){return new this.schedulerActionCtor(this,k).schedule(A,C)}}a.now=n.U.now;class l extends a{constructor(k,C=a.now){super(k,C),this.actions=[],this._active=!1}flush(k){const{actions:C}=this;if(this._active)return void C.push(k);let A;this._active=!0;do{if(A=k.execute(k.state,k.delay))break}while(k=C.shift());if(this._active=!1,A){for(;k=C.shift();)k.unsubscribe();throw A}}}},4984:(i,s,o)=>{"use strict";o.d(s,{$:()=>J});var n=o(9899);let l,a=1;const y={};function k(ct){return ct in y&&(delete y[ct],!0)}const C={setImmediate(ct){const pt=a++;return y[pt]=!0,l||(l=Promise.resolve()),l.then(()=>k(pt)&&ct()),pt},clearImmediate(ct){k(ct)}},{setImmediate:S,clearImmediate:T}=C,O={setImmediate(...ct){const{delegate:pt}=O;return(pt?.setImmediate||S)(...ct)},clearImmediate(ct){const{delegate:pt}=O;return(pt?.clearImmediate||T)(ct)},delegate:void 0};var q=o(8050);const J=new class X extends q.q{flush(pt){this._active=!0;const kt=this._scheduled;this._scheduled=void 0;const{actions:Et}=this;let It;pt=pt||Et.shift();do{if(It=pt.execute(pt.state,pt.delay))break}while((pt=Et[0])&&pt.id===kt&&Et.shift());if(this._active=!1,It){for(;(pt=Et[0])&&pt.id===kt&&Et.shift();)pt.unsubscribe();throw It}}}(class P extends n.R{constructor(pt,kt){super(pt,kt),this.scheduler=pt,this.work=kt}requestAsyncId(pt,kt,Et=0){return null!==Et&&Et>0?super.requestAsyncId(pt,kt,Et):(pt.actions.push(this),pt._scheduled||(pt._scheduled=O.setImmediate(pt.flush.bind(pt,void 0))))}recycleAsyncId(pt,kt,Et=0){var It;if(null!=Et?Et>0:this.delay>0)return super.recycleAsyncId(pt,kt,Et);const{actions:yt}=pt;null!=kt&&(null===(It=yt[yt.length-1])||void 0===It?void 0:It.id)!==kt&&(O.clearImmediate(kt),pt._scheduled===kt&&(pt._scheduled=void 0))}})},6061:(i,s,o)=>{"use strict";o.d(s,{E:()=>l,b:()=>y});var n=o(9899);const l=new(o(8050).q)(n.R),y=l},6188:(i,s,o)=>{"use strict";o.d(s,{U:()=>n});const n={now:()=>(n.delegate||Date).now(),delegate:void 0}},3695:(i,s,o)=>{"use strict";o.d(s,{f:()=>n});const n={setTimeout(a,l,...y){const{delegate:k}=n;return k?.setTimeout?k.setTimeout(a,l,...y):setTimeout(a,l,...y)},clearTimeout(a){const{delegate:l}=n;return(l?.clearTimeout||clearTimeout)(a)},delegate:void 0}},6952:(i,s,o)=>{"use strict";o.d(s,{l:()=>a});const a=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},2563:(i,s,o)=>{"use strict";o.d(s,{s:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},8747:(i,s,o)=>{"use strict";o.d(s,{G:()=>a});const a=(0,o(5644).L)(l=>function(){l(this),this.name="EmptyError",this.message="no elements in sequence"})},4327:(i,s,o)=>{"use strict";o.d(s,{R0:()=>C,lI:()=>k,ms:()=>y});var n=o(1126),a=o(9921);function l(A){return A[A.length-1]}function y(A){return(0,n.T)(l(A))?A.pop():void 0}function k(A){return(0,a.m)(l(A))?A.pop():void 0}function C(A,S){return"number"==typeof l(A)?A.pop():S}},3740:(i,s,o)=>{"use strict";o.d(s,{D:()=>k});const{isArray:n}=Array,{getPrototypeOf:a,prototype:l,keys:y}=Object;function k(A){if(1===A.length){const S=A[0];if(n(S))return{args:S,keys:null};if(function C(A){return A&&"object"==typeof A&&a(A)===l}(S)){const T=y(S);return{args:T.map(O=>S[O]),keys:T}}}return{args:A,keys:null}}},5891:(i,s,o)=>{"use strict";function n(a,l){if(a){const y=a.indexOf(l);0<=y&&a.splice(y,1)}}o.d(s,{o:()=>n})},5644:(i,s,o)=>{"use strict";function n(a){const y=a(k=>{Error.call(k),k.stack=(new Error).stack});return y.prototype=Object.create(Error.prototype),y.prototype.constructor=y,y}o.d(s,{L:()=>n})},9321:(i,s,o)=>{"use strict";function n(a,l){return a.reduce((y,k,C)=>(y[k]=l[C],y),{})}o.d(s,{e:()=>n})},4171:(i,s,o)=>{"use strict";o.d(s,{Y:()=>l,l:()=>y});var n=o(3305);let a=null;function l(k){if(n.$.useDeprecatedSynchronousErrorHandling){const C=!a;if(C&&(a={errorThrown:!1,error:null}),k(),C){const{errorThrown:A,error:S}=a;if(a=null,A)throw S}}else k()}function y(k){n.$.useDeprecatedSynchronousErrorHandling&&a&&(a.errorThrown=!0,a.error=k)}},8266:(i,s,o)=>{"use strict";function n(a,l,y,k=0,C=!1){const A=l.schedule(function(){y(),C?a.add(this.schedule(null,k)):this.unsubscribe()},k);if(a.add(A),!C)return A}o.d(s,{N:()=>n})},9220:(i,s,o)=>{"use strict";function n(a){return a}o.d(s,{D:()=>n})},6786:(i,s,o)=>{"use strict";o.d(s,{X:()=>n});const n=a=>a&&"number"==typeof a.length&&"function"!=typeof a},8394:(i,s,o)=>{"use strict";o.d(s,{T:()=>a});var n=o(1126);function a(l){return Symbol.asyncIterator&&(0,n.T)(l?.[Symbol.asyncIterator])}},1126:(i,s,o)=>{"use strict";function n(a){return"function"==typeof a}o.d(s,{T:()=>n})},6600:(i,s,o)=>{"use strict";o.d(s,{l:()=>l});var n=o(2563),a=o(1126);function l(y){return(0,a.T)(y[n.s])}},4876:(i,s,o)=>{"use strict";o.d(s,{x:()=>l});var n=o(6952),a=o(1126);function l(y){return(0,a.T)(y?.[n.l])}},1531:(i,s,o)=>{"use strict";o.d(s,{A:()=>l});var n=o(1698),a=o(1126);function l(y){return!!y&&(y instanceof n.c||(0,a.T)(y.lift)&&(0,a.T)(y.subscribe))}},6505:(i,s,o)=>{"use strict";o.d(s,{y:()=>a});var n=o(1126);function a(l){return(0,n.T)(l?.then)}},3173:(i,s,o)=>{"use strict";o.d(s,{C:()=>l,U:()=>y});var n=o(1635),a=o(1126);function l(k){return(0,n.AQ)(this,arguments,function*(){const A=k.getReader();try{for(;;){const{value:S,done:T}=yield(0,n.N3)(A.read());if(T)return yield(0,n.N3)(void 0);yield yield(0,n.N3)(S)}}finally{A.releaseLock()}})}function y(k){return(0,a.T)(k?.getReader)}},9921:(i,s,o)=>{"use strict";o.d(s,{m:()=>a});var n=o(1126);function a(l){return l&&(0,n.T)(l.schedule)}},5351:(i,s,o)=>{"use strict";o.d(s,{N:()=>l,S:()=>a});var n=o(1126);function a(y){return(0,n.T)(y?.lift)}function l(y){return k=>{if(a(k))return k.lift(function(C){try{return y(C,this)}catch(A){this.error(A)}});throw new TypeError("Unable to lift unknown Observable type")}}},3759:(i,s,o)=>{"use strict";o.d(s,{I:()=>y});var n=o(7947);const{isArray:a}=Array;function y(k){return(0,n.T)(C=>function l(k,C){return a(C)?k(...C):k(C)}(k,C))}},850:(i,s,o)=>{"use strict";function n(){}o.d(s,{l:()=>n})},6742:(i,s,o)=>{"use strict";o.d(s,{F:()=>a,m:()=>l});var n=o(9220);function a(...y){return l(y)}function l(y){return 0===y.length?n.D:1===y.length?y[0]:function(C){return y.reduce((A,S)=>S(A),C)}}},191:(i,s,o)=>{"use strict";o.d(s,{m:()=>l});var n=o(3305),a=o(3695);function l(y){a.f.setTimeout(()=>{const{onUnhandledError:k}=n.$;if(!k)throw y;k(y)})}},8810:(i,s,o)=>{"use strict";function n(a){return new TypeError(`You provided ${null!==a&&"object"==typeof a?"an invalid object":`'${a}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}o.d(s,{L:()=>n})},1204:(i,s,o)=>{"use strict";o.d(s,{FX:()=>le,If:()=>l,K2:()=>S,MA:()=>J,Os:()=>A,P:()=>ct,S6:()=>kt,hZ:()=>k,i0:()=>C,i7:()=>P,iF:()=>T,kY:()=>q,kp:()=>y,sf:()=>Pt,ui:()=>ae,wk:()=>O});var n=o(4460),a=o(3107),l=function(ve){return ve[ve.State=0]="State",ve[ve.Transition=1]="Transition",ve[ve.Sequence=2]="Sequence",ve[ve.Group=3]="Group",ve[ve.Animate=4]="Animate",ve[ve.Keyframes=5]="Keyframes",ve[ve.Style=6]="Style",ve[ve.Trigger=7]="Trigger",ve[ve.Reference=8]="Reference",ve[ve.AnimateChild=9]="AnimateChild",ve[ve.AnimateRef=10]="AnimateRef",ve[ve.Query=11]="Query",ve[ve.Stagger=12]="Stagger",ve}(l||{});const y="*";function k(ve,se){return{type:l.Trigger,name:ve,definitions:se,options:{}}}function C(ve,se=null){return{type:l.Animate,styles:se,timings:ve}}function A(ve,se=null){return{type:l.Group,steps:ve,options:se}}function S(ve,se=null){return{type:l.Sequence,steps:ve,options:se}}function T(ve){return{type:l.Style,styles:ve,offset:null}}function O(ve,se,or){return{type:l.State,name:ve,styles:se,options:or}}function P(ve){return{type:l.Keyframes,steps:ve}}function q(ve,se,or=null){return{type:l.Transition,expr:ve,animation:se,options:or}}function J(ve=null){return{type:l.AnimateChild,options:ve}}function ct(ve,se,or=null){return{type:l.Query,selector:ve,animation:se,options:or}}let kt=(()=>{class ve{static \u0275fac=function(fr){return new(fr||ve)};static \u0275prov=a.jDH({token:ve,factory:()=>(0,a.WQX)(It),providedIn:"root"})}return ve})();class Et{}let It=(()=>{class ve extends kt{animationModuleType=(0,a.WQX)(a.bc$,{optional:!0});_nextAnimationId=0;_renderer;constructor(or,fr){if(super(),this._renderer=or.createRenderer(fr.body,{id:"0",encapsulation:a.gXe.None,styles:[],data:{animation:[]}}),null===this.animationModuleType&&!function vt(ve){const se=ve.\u0275type;return 0===se||1===se}(this._renderer))throw new a.wOt(3600,!1)}build(or){const fr=this._nextAnimationId;this._nextAnimationId++;const yr=Array.isArray(or)?S(or):or;return at(this._renderer,null,fr,"register",[yr]),new yt(fr,this._renderer)}static \u0275fac=function(fr){return new(fr||ve)(a.KVO(a._9s),a.KVO(n.qQ))};static \u0275prov=a.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}return ve})();class yt extends Et{_id;_renderer;constructor(se,or){super(),this._id=se,this._renderer=or}create(se,or){return new _t(this._id,se,or||{},this._renderer)}}class _t{id;element;_renderer;parentPlayer=null;_started=!1;constructor(se,or,fr,yr){this.id=se,this.element=or,this._renderer=yr,this._command("create",fr)}_listen(se,or){return this._renderer.listen(this.element,`@@${this.id}:${se}`,or)}_command(se,...or){at(this._renderer,this.element,this.id,se,or)}onDone(se){this._listen("done",se)}onStart(se){this._listen("start",se)}onDestroy(se){this._listen("destroy",se)}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(se){this._command("setPosition",se)}getPosition(){return function st(ve){const se=ve.\u0275type;return 0===se?ve:1===se?ve.animationRenderer:null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}totalTime=0}function at(ve,se,or,fr,yr){ve.setProperty(se,`@@${or}:${fr}`,yr)}class Pt{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(se=0,or=0){this.totalTime=se+or}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(se=>se()),this._onDoneFns=[])}onStart(se){this._originalOnStartFns.push(se),this._onStartFns.push(se)}onDone(se){this._originalOnDoneFns.push(se),this._onDoneFns.push(se)}onDestroy(se){this._onDestroyFns.push(se)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(se=>se()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(se=>se()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(se){this._position=this.totalTime?se*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(se){const or="start"==se?this._onStartFns:this._onDoneFns;or.forEach(fr=>fr()),or.length=0}}class ae{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(se){this.players=se;let or=0,fr=0,yr=0;const jr=this.players.length;0==jr?queueMicrotask(()=>this._onFinish()):this.players.forEach(wr=>{wr.onDone(()=>{++or==jr&&this._onFinish()}),wr.onDestroy(()=>{++fr==jr&&this._onDestroy()}),wr.onStart(()=>{++yr==jr&&this._onStart()})}),this.totalTime=this.players.reduce((wr,Qt)=>Math.max(wr,Qt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(se=>se()),this._onDoneFns=[])}init(){this.players.forEach(se=>se.init())}onStart(se){this._onStartFns.push(se)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(se=>se()),this._onStartFns=[])}onDone(se){this._onDoneFns.push(se)}onDestroy(se){this._onDestroyFns.push(se)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(se=>se.play())}pause(){this.players.forEach(se=>se.pause())}restart(){this.players.forEach(se=>se.restart())}finish(){this._onFinish(),this.players.forEach(se=>se.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(se=>se.destroy()),this._onDestroyFns.forEach(se=>se()),this._onDestroyFns=[])}reset(){this.players.forEach(se=>se.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(se){const or=se*this.totalTime;this.players.forEach(fr=>{const yr=fr.totalTime?Math.min(1,or/fr.totalTime):1;fr.setPosition(yr)})}getPosition(){const se=this.players.reduce((or,fr)=>null===or||fr.totalTime>or.totalTime?fr:or,null);return null!=se?se.getPosition():0}beforeDestroy(){this.players.forEach(se=>{se.beforeDestroy&&se.beforeDestroy()})}triggerCallback(se){const or="start"==se?this._onStartFns:this._onDoneFns;or.forEach(fr=>fr()),or.length=0}}const le="!"},8559:(i,s,o)=>{"use strict";o.d(s,{Pd:()=>sn,Au:()=>be,vr:()=>or,Bu:()=>Ht,FN:()=>$t,GX:()=>Lt,Q_:()=>ko,Z7:()=>wt,Ai:()=>Ho,g7:()=>Zn,px:()=>st,_G:()=>ue,w6:()=>he,Ae:()=>vt});var n=o(4460),a=o(3107),l=o(2147),y=o(5467),k=o(5919),C=o(8447),A=o(5710),T=(o(1531),o(3016)),O=o(1217),P=o(2040),q=o(8627),X=o(1483),J=o(7947),ct=(o(7610),o(1866)),pt=o(6645),kt=o(5424),It=o(7747),yt=o(3022),_t=o(6520);const at=" ";function st(Je,Ae,te){const Re=Pt(Je,Ae);te=te.trim(),!Re.some(ir=>ir.trim()===te)&&(Re.push(te),Je.setAttribute(Ae,Re.join(at)))}function vt(Je,Ae,te){const Re=Pt(Je,Ae);te=te.trim();const ir=Re.filter(gr=>gr!==te);ir.length?Je.setAttribute(Ae,ir.join(at)):Je.removeAttribute(Ae)}function Pt(Je,Ae){return Je.getAttribute(Ae)?.match(/\S+/g)??[]}const le="cdk-describedby-message",ve="cdk-describedby-host";let se=0,or=(()=>{class Je{_platform=(0,a.WQX)(l.OD);_document=(0,a.WQX)(n.qQ);_messageRegistry=new Map;_messagesContainer=null;_id=""+se++;constructor(){(0,a.WQX)(y.l).load(y.Y),this._id=(0,a.WQX)(a.sZ2)+"-"+se++}describe(te,Re,ir){if(!this._canBeDescribed(te,Re))return;const gr=fr(Re,ir);"string"!=typeof Re?(yr(Re,this._id),this._messageRegistry.set(gr,{messageElement:Re,referenceCount:0})):this._messageRegistry.has(gr)||this._createMessageElement(Re,ir),this._isElementDescribedByMessage(te,gr)||this._addMessageReference(te,gr)}removeDescription(te,Re,ir){if(!Re||!this._isElementNode(te))return;const gr=fr(Re,ir);if(this._isElementDescribedByMessage(te,gr)&&this._removeMessageReference(te,gr),"string"==typeof Re){const po=this._messageRegistry.get(gr);po&&0===po.referenceCount&&this._deleteMessageElement(gr)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const te=this._document.querySelectorAll(`[${ve}="${this._id}"]`);for(let Re=0;Re0!=ir.indexOf(le));te.setAttribute("aria-describedby",Re.join(" "))}_addMessageReference(te,Re){const ir=this._messageRegistry.get(Re);st(te,"aria-describedby",ir.messageElement.id),te.setAttribute(ve,this._id),ir.referenceCount++}_removeMessageReference(te,Re){const ir=this._messageRegistry.get(Re);ir.referenceCount--,vt(te,"aria-describedby",ir.messageElement.id),te.removeAttribute(ve)}_isElementDescribedByMessage(te,Re){const ir=Pt(te,"aria-describedby"),gr=this._messageRegistry.get(Re),po=gr&&gr.messageElement.id;return!!po&&-1!=ir.indexOf(po)}_canBeDescribed(te,Re){if(!this._isElementNode(te))return!1;if(Re&&"object"==typeof Re)return!0;const ir=null==Re?"":`${Re}`.trim(),gr=te.getAttribute("aria-label");return!(!ir||gr&&gr.trim()===ir)}_isElementNode(te){return te.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(Re){return new(Re||Je)};static \u0275prov=a.jDH({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})();function fr(Je,Ae){return"string"==typeof Je?`${Ae||""}/${Je}`:Je}function yr(Je,Ae){Je.id||(Je.id=`${le}-${Ae}-${se++}`)}class wr{_letterKeyStream=new C.B;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new C.B;selectedItem=this._selectedItem;constructor(Ae,te){const Re="number"==typeof te?.debounceInterval?te.debounceInterval:200;te?.skipPredicate&&(this._skipPredicateFn=te.skipPredicate),this.setItems(Ae),this._setupKeyHandler(Re)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(Ae){this._selectedItemIndex=Ae}setItems(Ae){this._items=Ae}handleKey(Ae){const te=Ae.keyCode;Ae.key&&1===Ae.key.length?this._letterKeyStream.next(Ae.key.toLocaleUpperCase()):(te>=k.A&&te<=k.Z||te>=k.f2&&te<=k.bn)&&this._letterKeyStream.next(String.fromCharCode(te))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(Ae){this._letterKeyStream.pipe((0,P.M)(te=>this._pressedLetters.push(te)),(0,q.B)(Ae),(0,X.p)(()=>this._pressedLetters.length>0),(0,J.T)(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(te=>{for(let Re=1;ReAe.disabled;constructor(Ae,te){this._items=Ae,Ae instanceof a.rOR?this._itemChangesSubscription=Ae.changes.subscribe(Re=>this._itemsChanged(Re.toArray())):(0,a.Hps)(Ae)&&(this._effectRef=(0,a.QZP)(()=>this._itemsChanged(Ae()),{injector:te}))}tabOut=new C.B;change=new C.B;skipPredicate(Ae){return this._skipPredicateFn=Ae,this}withWrap(Ae=!0){return this._wrap=Ae,this}withVerticalOrientation(Ae=!0){return this._vertical=Ae,this}withHorizontalOrientation(Ae){return this._horizontal=Ae,this}withAllowedModifierKeys(Ae){return this._allowedModifierKeys=Ae,this}withTypeAhead(Ae=200){this._typeaheadSubscription.unsubscribe();const te=this._getItemsArray();return this._typeahead=new wr(te,{debounceInterval:"number"==typeof Ae?Ae:void 0,skipPredicate:Re=>this._skipPredicateFn(Re)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(Re=>{this.setActiveItem(Re)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(Ae=!0){return this._homeAndEnd=Ae,this}withPageUpDown(Ae=!0,te=10){return this._pageUpAndDown={enabled:Ae,delta:te},this}setActiveItem(Ae){const te=this._activeItem();this.updateActiveItem(Ae),this._activeItem()!==te&&this.change.next(this._activeItemIndex)}onKeydown(Ae){const te=Ae.keyCode,ir=["altKey","ctrlKey","metaKey","shiftKey"].every(gr=>!Ae[gr]||this._allowedModifierKeys.indexOf(gr)>-1);switch(te){case k.wn:return void this.tabOut.next();case k.n6:if(this._vertical&&ir){this.setNextItemActive();break}return;case k.i7:if(this._vertical&&ir){this.setPreviousItemActive();break}return;case k.LE:if(this._horizontal&&ir){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case k.UQ:if(this._horizontal&&ir){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case k.yZ:if(this._homeAndEnd&&ir){this.setFirstItemActive();break}return;case k.Kp:if(this._homeAndEnd&&ir){this.setLastItemActive();break}return;case k.w_:if(this._pageUpAndDown.enabled&&ir){const gr=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(gr>0?gr:0,1);break}return;case k.dB:if(this._pageUpAndDown.enabled&&ir){const gr=this._activeItemIndex+this._pageUpAndDown.delta,po=this._getItemsArray().length;this._setActiveItemByIndex(gr-1&&Re!==this._activeItemIndex&&(this._activeItemIndex=Re,this._typeahead?.setCurrentSelectedItemIndex(Re))}}}class be extends Qt{setActiveItem(Ae){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(Ae),this.activeItem&&this.activeItem.setActiveStyles()}}class Ht extends Qt{_origin="program";setFocusOrigin(Ae){return this._origin=Ae,this}setActiveItem(Ae){super.setActiveItem(Ae),this.activeItem&&this.activeItem.focus(this._origin)}}let wt=(()=>{class Je{_platform=(0,a.WQX)(l.OD);constructor(){}isDisabled(te){return te.hasAttribute("disabled")}isVisible(te){return function Xe(Je){return!!(Je.offsetWidth||Je.offsetHeight||"function"==typeof Je.getClientRects&&Je.getClientRects().length)}(te)&&"visible"===getComputedStyle(te).visibility}isTabbable(te){if(!this._platform.isBrowser)return!1;const Re=function ie(Je){try{return Je.frameElement}catch{return null}}(function fo(Je){return Je.ownerDocument&&Je.ownerDocument.defaultView||window}(te));if(Re&&(-1===Wr(Re)||!this.isVisible(Re)))return!1;let ir=te.nodeName.toLowerCase(),gr=Wr(te);return te.hasAttribute("contenteditable")?-1!==gr:!("iframe"===ir||"object"===ir||this._platform.WEBKIT&&this._platform.IOS&&!function Lo(Je){let Ae=Je.nodeName.toLowerCase(),te="input"===Ae&&Je.type;return"text"===te||"password"===te||"select"===Ae||"textarea"===Ae}(te))&&("audio"===ir?!!te.hasAttribute("controls")&&-1!==gr:"video"===ir?-1!==gr&&(null!==gr||this._platform.FIREFOX||te.hasAttribute("controls")):te.tabIndex>=0)}isFocusable(te,Re){return function Or(Je){return!function Ke(Je){return function Ve(Je){return"input"==Je.nodeName.toLowerCase()}(Je)&&"hidden"==Je.type}(Je)&&(function Te(Je){let Ae=Je.nodeName.toLowerCase();return"input"===Ae||"select"===Ae||"button"===Ae||"textarea"===Ae}(Je)||function re(Je){return function tr(Je){return"a"==Je.nodeName.toLowerCase()}(Je)&&Je.hasAttribute("href")}(Je)||Je.hasAttribute("contenteditable")||Tr(Je))}(te)&&!this.isDisabled(te)&&(Re?.ignoreVisibility||this.isVisible(te))}static \u0275fac=function(Re){return new(Re||Je)};static \u0275prov=a.jDH({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})();function Tr(Je){if(!Je.hasAttribute("tabindex")||void 0===Je.tabIndex)return!1;let Ae=Je.getAttribute("tabindex");return!(!Ae||isNaN(parseInt(Ae,10)))}function Wr(Je){if(!Tr(Je))return null;const Ae=parseInt(Je.getAttribute("tabindex")||"",10);return isNaN(Ae)?-1:Ae}class cr{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(Ae){this._enabled=Ae,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Ae,this._startAnchor),this._toggleAnchorTabIndex(Ae,this._endAnchor))}_enabled=!0;constructor(Ae,te,Re,ir,gr=!1,po){this._element=Ae,this._checker=te,this._ngZone=Re,this._document=ir,this._injector=po,gr||this.attachAnchors()}destroy(){const Ae=this._startAnchor,te=this._endAnchor;Ae&&(Ae.removeEventListener("focus",this.startAnchorListener),Ae.remove()),te&&(te.removeEventListener("focus",this.endAnchorListener),te.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(Ae){return new Promise(te=>{this._executeOnStable(()=>te(this.focusInitialElement(Ae)))})}focusFirstTabbableElementWhenReady(Ae){return new Promise(te=>{this._executeOnStable(()=>te(this.focusFirstTabbableElement(Ae)))})}focusLastTabbableElementWhenReady(Ae){return new Promise(te=>{this._executeOnStable(()=>te(this.focusLastTabbableElement(Ae)))})}_getRegionBoundary(Ae){const te=this._element.querySelectorAll(`[cdk-focus-region-${Ae}], [cdkFocusRegion${Ae}], [cdk-focus-${Ae}]`);return"start"==Ae?te.length?te[0]:this._getFirstTabbableElement(this._element):te.length?te[te.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Ae){const te=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(te){if(!this._checker.isFocusable(te)){const Re=this._getFirstTabbableElement(te);return Re?.focus(Ae),!!Re}return te.focus(Ae),!0}return this.focusFirstTabbableElement(Ae)}focusFirstTabbableElement(Ae){const te=this._getRegionBoundary("start");return te&&te.focus(Ae),!!te}focusLastTabbableElement(Ae){const te=this._getRegionBoundary("end");return te&&te.focus(Ae),!!te}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Ae){if(this._checker.isFocusable(Ae)&&this._checker.isTabbable(Ae))return Ae;const te=Ae.children;for(let Re=0;Re=0;Re--){const ir=te[Re].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(te[Re]):null;if(ir)return ir}return null}_createAnchor(){const Ae=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Ae),Ae.classList.add("cdk-visually-hidden"),Ae.classList.add("cdk-focus-trap-anchor"),Ae.setAttribute("aria-hidden","true"),Ae}_toggleAnchorTabIndex(Ae,te){Ae?te.setAttribute("tabindex","0"):te.removeAttribute("tabindex")}toggleAnchors(Ae){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Ae,this._startAnchor),this._toggleAnchorTabIndex(Ae,this._endAnchor))}_executeOnStable(Ae){this._injector?(0,a.mal)(Ae,{injector:this._injector}):setTimeout(Ae)}}let Lt=(()=>{class Je{_checker=(0,a.WQX)(wt);_ngZone=(0,a.WQX)(a.SKi);_document=(0,a.WQX)(n.qQ);_injector=(0,a.WQX)(a.zZn);constructor(){(0,a.WQX)(y.l).load(y.Y)}create(te,Re=!1){return new cr(te,this._checker,this._ngZone,this._document,Re,this._injector)}static \u0275fac=function(Re){return new(Re||Je)};static \u0275prov=a.jDH({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})();function ue(Je){return 0===Je.buttons||0===Je.detail}function he(Je){const Ae=Je.touches&&Je.touches[0]||Je.changedTouches&&Je.changedTouches[0];return!(!Ae||-1!==Ae.identifier||null!=Ae.radiusX&&1!==Ae.radiusX||null!=Ae.radiusY&&1!==Ae.radiusY)}const Se=new a.nKC("cdk-input-modality-detector-options"),Sr={ignoreKeys:[k.A$,k.W3,k.eg,k.Ge,k.FX]},dr=(0,l.BQ)({passive:!0,capture:!0});let Mr=(()=>{class Je{_platform=(0,a.WQX)(l.OD);modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new O.t(null);_options;_lastTouchMs=0;_onKeydown=te=>{this._options?.ignoreKeys?.some(Re=>Re===te.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,l.Fb)(te))};_onMousedown=te=>{Date.now()-this._lastTouchMs<650||(this._modality.next(ue(te)?"keyboard":"mouse"),this._mostRecentTarget=(0,l.Fb)(te))};_onTouchstart=te=>{he(te)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,l.Fb)(te))};constructor(){const te=(0,a.WQX)(a.SKi),Re=(0,a.WQX)(n.qQ),ir=(0,a.WQX)(Se,{optional:!0});this._options={...Sr,...ir},this.modalityDetected=this._modality.pipe((0,ct.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,pt.F)()),this._platform.isBrowser&&te.runOutsideAngular(()=>{Re.addEventListener("keydown",this._onKeydown,dr),Re.addEventListener("mousedown",this._onMousedown,dr),Re.addEventListener("touchstart",this._onTouchstart,dr)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,dr),document.removeEventListener("mousedown",this._onMousedown,dr),document.removeEventListener("touchstart",this._onTouchstart,dr))}static \u0275fac=function(Re){return new(Re||Je)};static \u0275prov=a.jDH({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})();const ao=new a.nKC("liveAnnouncerElement",{providedIn:"root",factory:function xr(){return null}}),zo=new a.nKC("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let To=0,Ho=(()=>{class Je{_ngZone=(0,a.WQX)(a.SKi);_defaultOptions=(0,a.WQX)(zo,{optional:!0});_liveElement;_document=(0,a.WQX)(n.qQ);_previousTimeout;_currentPromise;_currentResolve;constructor(){const te=(0,a.WQX)(ao,{optional:!0});this._liveElement=te||this._createLiveElement()}announce(te,...Re){const ir=this._defaultOptions;let gr,po;return 1===Re.length&&"number"==typeof Re[0]?po=Re[0]:[gr,po]=Re,this.clear(),clearTimeout(this._previousTimeout),gr||(gr=ir&&ir.politeness?ir.politeness:"polite"),null==po&&ir&&(po=ir.duration),this._liveElement.setAttribute("aria-live",gr),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(ki=>this._currentResolve=ki)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=te,"number"==typeof po&&(this._previousTimeout=setTimeout(()=>this.clear(),po)),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 te="cdk-live-announcer-element",Re=this._document.getElementsByClassName(te),ir=this._document.createElement("div");for(let gr=0;gr .cdk-overlay-container [aria-modal="true"]');for(let ir=0;ir{class Je{_ngZone=(0,a.WQX)(a.SKi);_platform=(0,a.WQX)(l.OD);_inputModalityDetector=(0,a.WQX)(Mr);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)};_document=(0,a.WQX)(n.qQ,{optional:!0});_stopInputModalityDetector=new C.B;constructor(){const te=(0,a.WQX)(Mt,{optional:!0});this._detectionMode=te?.detectionMode||ze.IMMEDIATE}_rootNodeFocusAndBlurListener=te=>{for(let ir=(0,l.Fb)(te);ir;ir=ir.parentElement)"focus"===te.type?this._onFocus(te,ir):this._onBlur(te,ir)};monitor(te,Re=!1){const ir=(0,yt.i8)(te);if(!this._platform.isBrowser||1!==ir.nodeType)return(0,T.of)();const gr=(0,l.KT)(ir)||this._getDocument(),po=this._elementInfo.get(ir);if(po)return Re&&(po.checkChildren=!0),po.subject;const ki={checkChildren:Re,subject:new C.B,rootNode:gr};return this._elementInfo.set(ir,ki),this._registerGlobalListeners(ki),ki.subject}stopMonitoring(te){const Re=(0,yt.i8)(te),ir=this._elementInfo.get(Re);ir&&(ir.subject.complete(),this._setClasses(Re),this._elementInfo.delete(Re),this._removeGlobalListeners(ir))}focusVia(te,Re,ir){const gr=(0,yt.i8)(te);gr===this._getDocument().activeElement?this._getClosestElementsInfo(gr).forEach(([ki,Ln])=>this._originChanged(ki,Re,Ln)):(this._setOrigin(Re),"function"==typeof gr.focus&&gr.focus(ir))}ngOnDestroy(){this._elementInfo.forEach((te,Re)=>this.stopMonitoring(Re))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(te){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(te)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:te&&this._isLastInteractionFromInputLabel(te)?"mouse":"program"}_shouldBeAttributedToTouch(te){return this._detectionMode===ze.EVENTUAL||!!te?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(te,Re){te.classList.toggle("cdk-focused",!!Re),te.classList.toggle("cdk-touch-focused","touch"===Re),te.classList.toggle("cdk-keyboard-focused","keyboard"===Re),te.classList.toggle("cdk-mouse-focused","mouse"===Re),te.classList.toggle("cdk-program-focused","program"===Re)}_setOrigin(te,Re=!1){this._ngZone.runOutsideAngular(()=>{this._origin=te,this._originFromTouchInteraction="touch"===te&&Re,this._detectionMode===ze.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(te,Re){const ir=this._elementInfo.get(Re),gr=(0,l.Fb)(te);!ir||!ir.checkChildren&&Re!==gr||this._originChanged(Re,this._getFocusOrigin(gr),ir)}_onBlur(te,Re){const ir=this._elementInfo.get(Re);!ir||ir.checkChildren&&te.relatedTarget instanceof Node&&Re.contains(te.relatedTarget)||(this._setClasses(Re),this._emitOrigin(ir,null))}_emitOrigin(te,Re){te.subject.observers.length&&this._ngZone.run(()=>te.subject.next(Re))}_registerGlobalListeners(te){if(!this._platform.isBrowser)return;const Re=te.rootNode,ir=this._rootNodeFocusListenerCount.get(Re)||0;ir||this._ngZone.runOutsideAngular(()=>{Re.addEventListener("focus",this._rootNodeFocusAndBlurListener,Wt),Re.addEventListener("blur",this._rootNodeFocusAndBlurListener,Wt)}),this._rootNodeFocusListenerCount.set(Re,ir+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,kt.Q)(this._stopInputModalityDetector)).subscribe(gr=>{this._setOrigin(gr,!0)}))}_removeGlobalListeners(te){const Re=te.rootNode;if(this._rootNodeFocusListenerCount.has(Re)){const ir=this._rootNodeFocusListenerCount.get(Re);ir>1?this._rootNodeFocusListenerCount.set(Re,ir-1):(Re.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Wt),Re.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Wt),this._rootNodeFocusListenerCount.delete(Re))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(te,Re,ir){this._setClasses(te,Re),this._emitOrigin(ir,Re),this._lastFocusOrigin=Re}_getClosestElementsInfo(te){const Re=[];return this._elementInfo.forEach((ir,gr)=>{(gr===te||ir.checkChildren&&gr.contains(te))&&Re.push([gr,ir])}),Re}_isLastInteractionFromInputLabel(te){const{_mostRecentTarget:Re,mostRecentModality:ir}=this._inputModalityDetector;if("mouse"!==ir||!Re||Re===te||"INPUT"!==te.nodeName&&"TEXTAREA"!==te.nodeName||te.disabled)return!1;const gr=te.labels;if(gr)for(let po=0;po{class Je{_platform=(0,a.WQX)(l.OD);_hasCheckedHighContrastMode;_document=(0,a.WQX)(n.qQ);_breakpointSubscription;constructor(){this._breakpointSubscription=(0,a.WQX)(_t.QP).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return ce.NONE;const te=this._document.createElement("div");te.style.backgroundColor="rgb(1,2,3)",te.style.position="absolute",this._document.body.appendChild(te);const Re=this._document.defaultView||window,ir=Re&&Re.getComputedStyle?Re.getComputedStyle(te):null,gr=(ir&&ir.backgroundColor||"").replace(/ /g,"");switch(te.remove(),gr){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return ce.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return ce.BLACK_ON_WHITE}return ce.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const te=this._document.body.classList;te.remove(qr,Be,vr),this._hasCheckedHighContrastMode=!0;const Re=this.getHighContrastMode();Re===ce.BLACK_ON_WHITE?te.add(qr,Be):Re===ce.WHITE_ON_BLACK&&te.add(qr,vr)}}static \u0275fac=function(Re){return new(Re||Je)};static \u0275prov=a.jDH({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})(),sn=(()=>{class Je{constructor(){(0,a.WQX)(ko)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(Re){return new(Re||Je)};static \u0275mod=a.$C({type:Je});static \u0275inj=a.G2t({imports:[It.w5]})}return Je})();const hn={};let Zn=(()=>{class Je{_appId=(0,a.WQX)(a.sZ2);getId(te){return"ng"!==this._appId&&(te+=this._appId),hn.hasOwnProperty(te)||(hn[te]=0),`${te}${hn[te]++}`}static \u0275fac=function(Re){return new(Re||Je)};static \u0275prov=a.jDH({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})()},2944:(i,s,o)=>{"use strict";o.d(s,{dS:()=>A,jI:()=>T});var n=o(3107),a=o(4460);const l=new n.nKC("cdk-dir-doc",{providedIn:"root",factory:function y(){return(0,n.WQX)(a.qQ)}}),k=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let A=(()=>{class O{value="ltr";change=new n.bkB;constructor(){const q=(0,n.WQX)(l,{optional:!0});q&&(this.value=function C(O){const P=O?.toLowerCase()||"";return"auto"===P&&typeof navigator<"u"&&navigator?.language?k.test(navigator.language)?"rtl":"ltr":"rtl"===P?"rtl":"ltr"}((q.body?q.body.dir:null)||(q.documentElement?q.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(X){return new(X||O)};static \u0275prov=n.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}return O})(),T=(()=>{class O{static \u0275fac=function(X){return new(X||O)};static \u0275mod=n.$C({type:O});static \u0275inj=n.G2t({})}return O})()},3022:(i,s,o)=>{"use strict";o.d(s,{FG:()=>k,OE:()=>l,a1:()=>C,he:()=>a,i8:()=>A});var n=o(3107);function a(T){return null!=T&&"false"!=`${T}`}function l(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 C(T){return null==T?"":"string"==typeof T?T:`${T}px`}function A(T){return T instanceof n.aKT?T.nativeElement:T}},1349:(i,s,o)=>{"use strict";o.d(s,{CB:()=>q,zP:()=>J}),o(1531),o(3016);var l=o(8447),y=o(3107);class q{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new l.B;constructor(ct=!1,pt,kt=!0,Et){this._multiple=ct,this._emitChanges=kt,this.compareWith=Et,pt&&pt.length&&(ct?pt.forEach(It=>this._markSelected(It)):this._markSelected(pt[0]),this._selectedToEmit.length=0)}select(...ct){this._verifyValueAssignment(ct),ct.forEach(kt=>this._markSelected(kt));const pt=this._hasQueuedChanges();return this._emitChangeEvent(),pt}deselect(...ct){this._verifyValueAssignment(ct),ct.forEach(kt=>this._unmarkSelected(kt));const pt=this._hasQueuedChanges();return this._emitChangeEvent(),pt}setSelection(...ct){this._verifyValueAssignment(ct);const pt=this.selected,kt=new Set(ct);ct.forEach(It=>this._markSelected(It)),pt.filter(It=>!kt.has(this._getConcreteValue(It,kt))).forEach(It=>this._unmarkSelected(It));const Et=this._hasQueuedChanges();return this._emitChangeEvent(),Et}toggle(ct){return this.isSelected(ct)?this.deselect(ct):this.select(ct)}clear(ct=!0){this._unmarkAll();const pt=this._hasQueuedChanges();return ct&&this._emitChangeEvent(),pt}isSelected(ct){return this._selection.has(this._getConcreteValue(ct))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(ct){this._multiple&&this.selected&&this._selected.sort(ct)}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(ct){ct=this._getConcreteValue(ct),this.isSelected(ct)||(this._multiple||this._unmarkAll(),this.isSelected(ct)||this._selection.add(ct),this._emitChanges&&this._selectedToEmit.push(ct))}_unmarkSelected(ct){ct=this._getConcreteValue(ct),this.isSelected(ct)&&(this._selection.delete(ct),this._emitChanges&&this._deselectedToEmit.push(ct))}_unmarkAll(){this.isEmpty()||this._selection.forEach(ct=>this._unmarkSelected(ct))}_verifyValueAssignment(ct){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(ct,pt){if(this.compareWith){pt=pt??this._selection;for(let kt of pt)if(this.compareWith(ct,kt))return kt;return ct}return ct}}let J=(()=>{class ht{_listeners=[];notify(pt,kt){for(let Et of this._listeners)Et(pt,kt)}listen(pt){return this._listeners.push(pt),()=>{this._listeners=this._listeners.filter(kt=>pt!==kt)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(kt){return new(kt||ht)};static \u0275prov=y.jDH({token:ht,factory:ht.\u0275fac,providedIn:"root"})}return ht})()},5919:(i,s,o)=>{"use strict";o.d(s,{A:()=>Bt,A$:()=>S,FX:()=>C,Fm:()=>k,Ge:()=>N,Kp:()=>ht,LE:()=>Et,UQ:()=>pt,W3:()=>A,Z:()=>W,_f:()=>P,bn:()=>jr,dB:()=>J,eg:()=>Gt,f2:()=>vt,i7:()=>kt,n6:()=>It,rp:()=>Ot,t6:()=>q,w_:()=>X,wn:()=>l,yZ:()=>ct});const l=9,k=13,C=16,A=17,S=18,P=27,q=32,X=33,J=34,ht=35,ct=36,pt=37,kt=38,Et=39,It=40,vt=48,jr=57,Bt=65,W=90,N=91,Gt=224;function Ot(me,...He){return He.length?He.some(Me=>me[Me]):me.altKey||me.shiftKey||me.ctrlKey||me.metaKey}},6520:(i,s,o)=>{"use strict";o.d(s,{QP:()=>It,Rp:()=>_t});var n=o(3107),a=o(3022),l=o(8447),y=o(6627),k=o(3569),C=o(1698),A=o(7610),S=o(1866),T=o(8627),O=o(7947),P=o(593),q=o(5424),X=o(2147);const ht=new Set;let ct,pt=(()=>{class at{_platform=(0,n.WQX)(X.OD);_nonce=(0,n.WQX)(n.BIS,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Et}matchMedia(vt){return(this._platform.WEBKIT||this._platform.BLINK)&&function kt(at,st){if(!ht.has(at))try{ct||(ct=document.createElement("style"),st&&ct.setAttribute("nonce",st),ct.setAttribute("type","text/css"),document.head.appendChild(ct)),ct.sheet&&(ct.sheet.insertRule(`@media ${at} {body{ }}`,0),ht.add(at))}catch(vt){console.error(vt)}}(vt,this._nonce),this._matchMedia(vt)}static \u0275fac=function(Pt){return new(Pt||at)};static \u0275prov=n.jDH({token:at,factory:at.\u0275fac,providedIn:"root"})}return at})();function Et(at){return{matches:"all"===at||""===at,media:at,addListener:()=>{},removeListener:()=>{}}}let It=(()=>{class at{_mediaMatcher=(0,n.WQX)(pt);_zone=(0,n.WQX)(n.SKi);_queries=new Map;_destroySubject=new l.B;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(vt){return yt((0,a.FG)(vt)).some(ae=>this._registerQuery(ae).mql.matches)}observe(vt){const ae=yt((0,a.FG)(vt)).map(ve=>this._registerQuery(ve).observable);let le=(0,y.z)(ae);return le=(0,k.x)(le.pipe((0,A.s)(1)),le.pipe((0,S.i)(1),(0,T.B)(0))),le.pipe((0,O.T)(ve=>{const se={matches:!1,breakpoints:{}};return ve.forEach(({matches:or,query:fr})=>{se.matches=se.matches||or,se.breakpoints[fr]=or}),se}))}_registerQuery(vt){if(this._queries.has(vt))return this._queries.get(vt);const Pt=this._mediaMatcher.matchMedia(vt),le={observable:new C.c(ve=>{const se=or=>this._zone.run(()=>ve.next(or));return Pt.addListener(se),()=>{Pt.removeListener(se)}}).pipe((0,P.Z)(Pt),(0,O.T)(({matches:ve})=>({query:vt,matches:ve})),(0,q.Q)(this._destroySubject)),mql:Pt};return this._queries.set(vt,le),le}static \u0275fac=function(Pt){return new(Pt||at)};static \u0275prov=n.jDH({token:at,factory:at.\u0275fac,providedIn:"root"})}return at})();function yt(at){return at.map(st=>st.split(",")).reduce((st,vt)=>st.concat(vt)).map(st=>st.trim())}const _t={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)"}},7747:(i,s,o)=>{"use strict";o.d(s,{w5:()=>C});var n=o(3107);let l=(()=>{class A{create(T){return typeof MutationObserver>"u"?null:new MutationObserver(T)}static \u0275fac=function(O){return new(O||A)};static \u0275prov=n.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})(),C=(()=>{class A{static \u0275fac=function(O){return new(O||A)};static \u0275mod=n.$C({type:A});static \u0275inj=n.G2t({providers:[l]})}return A})()},9666:(i,s,o)=>{"use strict";o.d(s,{$Q:()=>tr,Sf:()=>be,Tv:()=>vt,WB:()=>Tr,hJ:()=>Ke,rR:()=>Pt,yY:()=>Ht,z_:()=>Or});var n=o(8108),a=o(4460),l=o(3107),y=o(3022),k=o(2147),C=o(1483),A=o(5424),S=o(8445),T=o(2944),O=o(6192),P=o(8559),q=o(5467),X=o(8447),J=o(5710),ht=o(7509),ct=o(5919);const pt=(0,k.CZ)();class kt{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(Lt,At){this._viewportRuler=Lt,this._document=At}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,Zt=Lt.style,W=this._document.body.style,N=Zt.scrollBehavior||"",z=W.scrollBehavior||"";this._isEnabled=!1,Zt.left=this._previousHTMLStyles.left,Zt.top=this._previousHTMLStyles.top,Lt.classList.remove("cdk-global-scrollblock"),pt&&(Zt.scrollBehavior=W.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),pt&&(Zt.scrollBehavior=N,W.scrollBehavior=z)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const At=this._document.body,Zt=this._viewportRuler.getViewportSize();return At.scrollHeight>Zt.height||At.scrollWidth>Zt.width}}class It{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(Lt,At,Zt,W){this._scrollDispatcher=Lt,this._ngZone=At,this._viewportRuler=Zt,this._config=W}attach(Lt){this._overlayRef=Lt}enable(){if(this._scrollSubscription)return;const Lt=this._scrollDispatcher.scrolled(0).pipe((0,C.p)(At=>!At||!this._overlayRef.overlayElement.contains(At.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=Lt.subscribe(()=>{const At=this._viewportRuler.getViewportScrollPosition().top;Math.abs(At-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}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}class yt{enable(){}disable(){}attach(){}}function _t(cr,Lt){return Lt.some(At=>cr.bottomAt.bottom||cr.rightAt.right)}function at(cr,Lt){return Lt.some(At=>cr.topAt.bottom||cr.leftAt.right)}class st{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(Lt,At,Zt,W){this._scrollDispatcher=Lt,this._viewportRuler=At,this._ngZone=Zt,this._config=W}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 At=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Zt,height:W}=this._viewportRuler.getViewportSize();_t(At,[{width:Zt,height:W,bottom:W,right:Zt,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 vt=(()=>{class cr{_scrollDispatcher=(0,l.WQX)(n.R);_viewportRuler=(0,l.WQX)(n.Xj);_ngZone=(0,l.WQX)(l.SKi);_document=(0,l.WQX)(a.qQ);constructor(){}noop=()=>new yt;close=At=>new It(this._scrollDispatcher,this._ngZone,this._viewportRuler,At);block=()=>new kt(this._viewportRuler,this._document);reposition=At=>new st(this._scrollDispatcher,this._viewportRuler,this._ngZone,At);static \u0275fac=function(Zt){return new(Zt||cr)};static \u0275prov=l.jDH({token:cr,factory:cr.\u0275fac,providedIn:"root"})}return cr})();class Pt{positionStrategy;scrollStrategy=new yt;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(Lt){if(Lt){const At=Object.keys(Lt);for(const Zt of At)void 0!==Lt[Zt]&&(this[Zt]=Lt[Zt])}}}class ve{connectionPair;scrollableViewProperties;constructor(Lt,At){this.connectionPair=Lt,this.scrollableViewProperties=At}}let fr=(()=>{class cr{_attachedOverlays=[];_document=(0,l.WQX)(a.qQ);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(At){this.remove(At),this._attachedOverlays.push(At)}remove(At){const Zt=this._attachedOverlays.indexOf(At);Zt>-1&&this._attachedOverlays.splice(Zt,1),0===this._attachedOverlays.length&&this.detach()}static \u0275fac=function(Zt){return new(Zt||cr)};static \u0275prov=l.jDH({token:cr,factory:cr.\u0275fac,providedIn:"root"})}return cr})(),yr=(()=>{class cr extends fr{_ngZone=(0,l.WQX)(l.SKi,{optional:!0});add(At){super.add(At),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)}_keydownListener=At=>{const Zt=this._attachedOverlays;for(let W=Zt.length-1;W>-1;W--)if(Zt[W]._keydownEvents.observers.length>0){const N=Zt[W]._keydownEvents;this._ngZone?this._ngZone.run(()=>N.next(At)):N.next(At);break}};static \u0275fac=(()=>{let At;return function(W){return(At||(At=l.xGo(cr)))(W||cr)}})();static \u0275prov=l.jDH({token:cr,factory:cr.\u0275fac,providedIn:"root"})}return cr})(),jr=(()=>{class cr extends fr{_platform=(0,l.WQX)(k.OD);_ngZone=(0,l.WQX)(l.SKi,{optional:!0});_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;add(At){if(super.add(At),!this._isAttached){const Zt=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Zt)):this._addEventListeners(Zt),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Zt.style.cursor,Zt.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const At=this._document.body;At.removeEventListener("pointerdown",this._pointerDownListener,!0),At.removeEventListener("click",this._clickListener,!0),At.removeEventListener("auxclick",this._clickListener,!0),At.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(At.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(At){At.addEventListener("pointerdown",this._pointerDownListener,!0),At.addEventListener("click",this._clickListener,!0),At.addEventListener("auxclick",this._clickListener,!0),At.addEventListener("contextmenu",this._clickListener,!0)}_pointerDownListener=At=>{this._pointerDownEventTarget=(0,k.Fb)(At)};_clickListener=At=>{const Zt=(0,k.Fb)(At),W="click"===At.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Zt;this._pointerDownEventTarget=null;const N=this._attachedOverlays.slice();for(let z=N.length-1;z>-1;z--){const Rt=N[z];if(Rt._outsidePointerEvents.observers.length<1||!Rt.hasAttached())continue;if(wr(Rt.overlayElement,Zt)||wr(Rt.overlayElement,W))break;const ue=Rt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>ue.next(At)):ue.next(At)}};static \u0275fac=(()=>{let At;return function(W){return(At||(At=l.xGo(cr)))(W||cr)}})();static \u0275prov=l.jDH({token:cr,factory:cr.\u0275fac,providedIn:"root"})}return cr})();function wr(cr,Lt){const At=typeof ShadowRoot<"u"&&ShadowRoot;let Zt=Lt;for(;Zt;){if(Zt===cr)return!0;Zt=At&&Zt instanceof ShadowRoot?Zt.host:Zt.parentNode}return!1}let Qt=(()=>{class cr{static \u0275fac=function(Zt){return new(Zt||cr)};static \u0275cmp=l.VBU({type:cr,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(Zt,W){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}"],encapsulation:2,changeDetection:0})}return cr})(),be=(()=>{class cr{_platform=(0,l.WQX)(k.OD);_containerElement;_document=(0,l.WQX)(a.qQ);_styleLoader=(0,l.WQX)(q.l);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const At="cdk-overlay-container";if(this._platform.isBrowser||(0,k.v8)()){const W=this._document.querySelectorAll(`.${At}[platform="server"], .${At}[platform="test"]`);for(let N=0;Nthis._backdropClick.next(Lt);_backdropTransitionendHandler=Lt=>{this._disposeBackdrop(Lt.target)};_previousHostParent;_keydownEvents=new X.B;_outsidePointerEvents=new X.B;_renders=new X.B;_afterRenderRef;_afterNextRenderRef;constructor(Lt,At,Zt,W,N,z,Rt,ue,he,Se=!1,Sr){this._portalOutlet=Lt,this._host=At,this._pane=Zt,this._config=W,this._ngZone=N,this._keyboardDispatcher=z,this._document=Rt,this._location=ue,this._outsideClickDispatcher=he,this._animationsDisabled=Se,this._injector=Sr,W.scrollStrategy&&(this._scrollStrategy=W.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=W.positionStrategy,this._afterRenderRef=(0,l.O8t)(()=>(0,l.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 At=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,l.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 At?.onDestroy&&At.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),At}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,At,Zt){const W=(0,y.FG)(At||[]).filter(N=>!!N);W.length&&(Zt?Lt.classList.add(...W):Lt.classList.remove(...W))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{const Lt=this._renders.pipe((0,A.Q)((0,ht.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 Bt="cdk-overlay-connected-position-bounding-box",Fe=/([A-Za-z%]+)$/;class zt{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new X.B;_resizeSubscription=J.yU.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(Lt,At,Zt,W,N){this._viewportRuler=At,this._document=Zt,this._platform=W,this._overlayContainer=N,this.setOrigin(Lt)}attach(Lt){this._validatePositions(),Lt.hostElement.classList.add(Bt),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,At=this._overlayRect,Zt=this._viewportRect,W=this._containerRect,N=[];let z;for(let Rt of this._preferredPositions){let ue=this._getOriginPoint(Lt,W,Rt),he=this._getOverlayPoint(ue,At,Rt),Se=this._getOverlayFit(he,At,Zt,Rt);if(Se.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Rt,ue);this._canFitWithFlexibleDimensions(Se,he,Zt)?N.push({position:Rt,origin:ue,overlayRect:At,boundingBoxRect:this._calculateBoundingBoxRect(ue,Rt)}):(!z||z.overlayFit.visibleAreaue&&(ue=Se,Rt=he)}return this._isPushed=!1,void this._applyPosition(Rt.position,Rt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(z.position,z.originPoint);this._applyPosition(z.position,z.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Yt(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Bt),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 At=this._getOriginPoint(this._originRect,this._containerRect,Lt);this._applyPosition(Lt,At)}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,At,Zt){let W,N;if("center"==Zt.originX)W=Lt.left+Lt.width/2;else{const z=this._isRtl()?Lt.right:Lt.left,Rt=this._isRtl()?Lt.left:Lt.right;W="start"==Zt.originX?z:Rt}return At.left<0&&(W-=At.left),N="center"==Zt.originY?Lt.top+Lt.height/2:"top"==Zt.originY?Lt.top:Lt.bottom,At.top<0&&(N-=At.top),{x:W,y:N}}_getOverlayPoint(Lt,At,Zt){let W,N;return W="center"==Zt.overlayX?-At.width/2:"start"===Zt.overlayX?this._isRtl()?-At.width:0:this._isRtl()?0:-At.width,N="center"==Zt.overlayY?-At.height/2:"top"==Zt.overlayY?0:-At.height,{x:Lt.x+W,y:Lt.y+N}}_getOverlayFit(Lt,At,Zt,W){const N=Oe(At);let{x:z,y:Rt}=Lt,ue=this._getOffset(W,"x"),he=this._getOffset(W,"y");ue&&(z+=ue),he&&(Rt+=he);let ar=0-Rt,dr=Rt+N.height-Zt.height,Mr=this._subtractOverflows(N.width,0-z,z+N.width-Zt.width),ao=this._subtractOverflows(N.height,ar,dr),xr=Mr*ao;return{visibleArea:xr,isCompletelyWithinViewport:N.width*N.height===xr,fitsInViewportVertically:ao===N.height,fitsInViewportHorizontally:Mr==N.width}}_canFitWithFlexibleDimensions(Lt,At,Zt){if(this._hasFlexibleDimensions){const W=Zt.bottom-At.y,N=Zt.right-At.x,z=oe(this._overlayRef.getConfig().minHeight),Rt=oe(this._overlayRef.getConfig().minWidth);return(Lt.fitsInViewportVertically||null!=z&&z<=W)&&(Lt.fitsInViewportHorizontally||null!=Rt&&Rt<=N)}return!1}_pushOverlayOnScreen(Lt,At,Zt){if(this._previousPushAmount&&this._positionLocked)return{x:Lt.x+this._previousPushAmount.x,y:Lt.y+this._previousPushAmount.y};const W=Oe(At),N=this._viewportRect,z=Math.max(Lt.x+W.width-N.width,0),Rt=Math.max(Lt.y+W.height-N.height,0),ue=Math.max(N.top-Zt.top-Lt.y,0),he=Math.max(N.left-Zt.left-Lt.x,0);let Se=0,Sr=0;return Se=W.width<=N.width?he||-z:Lt.xMr&&!this._isInitialRender&&!this._growAfterOpen&&(z=Lt.y-Mr/2)}if("end"===At.overlayX&&!W||"start"===At.overlayX&&W)ar=Zt.width-Lt.x+2*this._viewportMargin,Se=Lt.x-this._viewportMargin;else if("start"===At.overlayX&&!W||"end"===At.overlayX&&W)Sr=Lt.x,Se=Zt.right-Lt.x;else{const dr=Math.min(Zt.right-Lt.x+Zt.left,Lt.x),Mr=this._lastBoundingBoxSize.width;Se=2*dr,Sr=Lt.x-dr,Se>Mr&&!this._isInitialRender&&!this._growAfterOpen&&(Sr=Lt.x-Mr/2)}return{top:z,left:Sr,bottom:Rt,right:ar,width:Se,height:N}}_setBoundingBoxStyles(Lt,At){const Zt=this._calculateBoundingBoxRect(Lt,At);!this._isInitialRender&&!this._growAfterOpen&&(Zt.height=Math.min(Zt.height,this._lastBoundingBoxSize.height),Zt.width=Math.min(Zt.width,this._lastBoundingBoxSize.width));const W={};if(this._hasExactPosition())W.top=W.left="0",W.bottom=W.right=W.maxHeight=W.maxWidth="",W.width=W.height="100%";else{const N=this._overlayRef.getConfig().maxHeight,z=this._overlayRef.getConfig().maxWidth;W.height=(0,y.a1)(Zt.height),W.top=(0,y.a1)(Zt.top),W.bottom=(0,y.a1)(Zt.bottom),W.width=(0,y.a1)(Zt.width),W.left=(0,y.a1)(Zt.left),W.right=(0,y.a1)(Zt.right),W.alignItems="center"===At.overlayX?"center":"end"===At.overlayX?"flex-end":"flex-start",W.justifyContent="center"===At.overlayY?"center":"bottom"===At.overlayY?"flex-end":"flex-start",N&&(W.maxHeight=(0,y.a1)(N)),z&&(W.maxWidth=(0,y.a1)(z))}this._lastBoundingBoxSize=Zt,Yt(this._boundingBox.style,W)}_resetBoundingBoxStyles(){Yt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Yt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Lt,At){const Zt={},W=this._hasExactPosition(),N=this._hasFlexibleDimensions,z=this._overlayRef.getConfig();if(W){const Se=this._viewportRuler.getViewportScrollPosition();Yt(Zt,this._getExactOverlayY(At,Lt,Se)),Yt(Zt,this._getExactOverlayX(At,Lt,Se))}else Zt.position="static";let Rt="",ue=this._getOffset(At,"x"),he=this._getOffset(At,"y");ue&&(Rt+=`translateX(${ue}px) `),he&&(Rt+=`translateY(${he}px)`),Zt.transform=Rt.trim(),z.maxHeight&&(W?Zt.maxHeight=(0,y.a1)(z.maxHeight):N&&(Zt.maxHeight="")),z.maxWidth&&(W?Zt.maxWidth=(0,y.a1)(z.maxWidth):N&&(Zt.maxWidth="")),Yt(this._pane.style,Zt)}_getExactOverlayY(Lt,At,Zt){let W={top:"",bottom:""},N=this._getOverlayPoint(At,this._overlayRect,Lt);return this._isPushed&&(N=this._pushOverlayOnScreen(N,this._overlayRect,Zt)),"bottom"===Lt.overlayY?W.bottom=this._document.documentElement.clientHeight-(N.y+this._overlayRect.height)+"px":W.top=(0,y.a1)(N.y),W}_getExactOverlayX(Lt,At,Zt){let z,W={left:"",right:""},N=this._getOverlayPoint(At,this._overlayRect,Lt);return this._isPushed&&(N=this._pushOverlayOnScreen(N,this._overlayRect,Zt)),z=this._isRtl()?"end"===Lt.overlayX?"left":"right":"end"===Lt.overlayX?"right":"left","right"===z?W.right=this._document.documentElement.clientWidth-(N.x+this._overlayRect.width)+"px":W.left=(0,y.a1)(N.x),W}_getScrollVisibility(){const Lt=this._getOriginRect(),At=this._pane.getBoundingClientRect(),Zt=this._scrollables.map(W=>W.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:at(Lt,Zt),isOriginOutsideView:_t(Lt,Zt),isOverlayClipped:at(At,Zt),isOverlayOutsideView:_t(At,Zt)}}_subtractOverflows(Lt,...At){return At.reduce((Zt,W)=>Zt-Math.max(W,0),Lt)}_getNarrowedViewportRect(){const Lt=this._document.documentElement.clientWidth,At=this._document.documentElement.clientHeight,Zt=this._viewportRuler.getViewportScrollPosition();return{top:Zt.top+this._viewportMargin,left:Zt.left+this._viewportMargin,right:Zt.left+Lt-this._viewportMargin,bottom:Zt.top+At-this._viewportMargin,width:Lt-2*this._viewportMargin,height:At-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Lt,At){return"x"===At?null==Lt.offsetX?this._offsetX:Lt.offsetX:null==Lt.offsetY?this._offsetY:Lt.offsetY}_validatePositions(){}_addPanelClasses(Lt){this._pane&&(0,y.FG)(Lt).forEach(At=>{""!==At&&-1===this._appliedPanelClasses.indexOf(At)&&(this._appliedPanelClasses.push(At),this._pane.classList.add(At))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(Lt=>{this._pane.classList.remove(Lt)}),this._appliedPanelClasses=[])}_getOriginRect(){const Lt=this._origin;if(Lt instanceof l.aKT)return Lt.nativeElement.getBoundingClientRect();if(Lt instanceof Element)return Lt.getBoundingClientRect();const At=Lt.width||0,Zt=Lt.height||0;return{top:Lt.y,bottom:Lt.y+Zt,left:Lt.x,right:Lt.x+At,height:Zt,width:At}}}function Yt(cr,Lt){for(let At in Lt)Lt.hasOwnProperty(At)&&(cr[At]=Lt[At]);return cr}function oe(cr){if("number"!=typeof cr&&null!=cr){const[Lt,At]=cr.split(Fe);return At&&"px"!==At?null:parseFloat(Lt)}return cr||null}function Oe(cr){return{top:Math.floor(cr.top),right:Math.floor(cr.right),bottom:Math.floor(cr.bottom),left:Math.floor(cr.left),width:Math.floor(cr.width),height:Math.floor(cr.height)}}const ie="cdk-global-overlay-wrapper";class Xe{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(Lt){const At=Lt.getConfig();this._overlayRef=Lt,this._width&&!At.width&&Lt.updateSize({width:this._width}),this._height&&!At.height&&Lt.updateSize({height:this._height}),Lt.hostElement.classList.add(ie),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,At=this._overlayRef.hostElement.style,Zt=this._overlayRef.getConfig(),{width:W,height:N,maxWidth:z,maxHeight:Rt}=Zt,ue=!("100%"!==W&&"100vw"!==W||z&&"100%"!==z&&"100vw"!==z),he=!("100%"!==N&&"100vh"!==N||Rt&&"100%"!==Rt&&"100vh"!==Rt),Se=this._xPosition,Sr=this._xOffset,ar="rtl"===this._overlayRef.getConfig().direction;let dr="",Mr="",ao="";ue?ao="flex-start":"center"===Se?(ao="center",ar?Mr=Sr:dr=Sr):ar?"left"===Se||"end"===Se?(ao="flex-end",dr=Sr):("right"===Se||"start"===Se)&&(ao="flex-start",Mr=Sr):"left"===Se||"start"===Se?(ao="flex-start",dr=Sr):("right"===Se||"end"===Se)&&(ao="flex-end",Mr=Sr),Lt.position=this._cssPosition,Lt.marginLeft=ue?"0":dr,Lt.marginTop=he?"0":this._topOffset,Lt.marginBottom=this._bottomOffset,Lt.marginRight=ue?"0":Mr,At.justifyContent=ao,At.alignItems=he?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Lt=this._overlayRef.overlayElement.style,At=this._overlayRef.hostElement,Zt=At.style;At.classList.remove(ie),Zt.justifyContent=Zt.alignItems=Lt.marginTop=Lt.marginBottom=Lt.marginLeft=Lt.marginRight=Lt.position="",this._overlayRef=null,this._isDisposed=!0}}let Te=(()=>{class cr{_viewportRuler=(0,l.WQX)(n.Xj);_document=(0,l.WQX)(a.qQ);_platform=(0,l.WQX)(k.OD);_overlayContainer=(0,l.WQX)(be);constructor(){}global(){return new Xe}flexibleConnectedTo(At){return new zt(At,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static \u0275fac=function(Zt){return new(Zt||cr)};static \u0275prov=l.jDH({token:cr,factory:cr.\u0275fac,providedIn:"root"})}return cr})(),Ke=(()=>{class cr{scrollStrategies=(0,l.WQX)(vt);_overlayContainer=(0,l.WQX)(be);_positionBuilder=(0,l.WQX)(Te);_keyboardDispatcher=(0,l.WQX)(yr);_injector=(0,l.WQX)(l.zZn);_ngZone=(0,l.WQX)(l.SKi);_document=(0,l.WQX)(a.qQ);_directionality=(0,l.WQX)(T.dS);_location=(0,l.WQX)(a.aZ);_outsideClickDispatcher=(0,l.WQX)(jr);_animationsModuleType=(0,l.WQX)(l.bc$,{optional:!0});_idGenerator=(0,l.WQX)(P.g7);_appRef;_styleLoader=(0,l.WQX)(q.l);constructor(){}create(At){this._styleLoader.load(Qt);const Zt=this._createHostElement(),W=this._createPaneElement(Zt),N=this._createPortalOutlet(W),z=new Pt(At);return z.direction=z.direction||this._directionality.value,new Ht(N,Zt,W,z,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType,this._injector.get(l.uvJ))}position(){return this._positionBuilder}_createPaneElement(At){const Zt=this._document.createElement("div");return Zt.id=this._idGenerator.getId("cdk-overlay-"),Zt.classList.add("cdk-overlay-pane"),At.appendChild(Zt),Zt}_createHostElement(){const At=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(At),At}_createPortalOutlet(At){return this._appRef||(this._appRef=this._injector.get(l.o8S)),new O.aI(At,null,this._appRef,this._injector,this._document)}static \u0275fac=function(Zt){return new(Zt||cr)};static \u0275prov=l.jDH({token:cr,factory:cr.\u0275fac,providedIn:"root"})}return cr})();const re=[{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"}],Ve=new l.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const cr=(0,l.WQX)(Ke);return()=>cr.scrollStrategies.reposition()}});let tr=(()=>{class cr{elementRef=(0,l.WQX)(l.aKT);constructor(){}static \u0275fac=function(Zt){return new(Zt||cr)};static \u0275dir=l.FsC({type:cr,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return cr})(),Tr=(()=>{class cr{_overlay=(0,l.WQX)(Ke);_dir=(0,l.WQX)(T.dS,{optional:!0});_overlayRef;_templatePortal;_backdropSubscription=J.yU.EMPTY;_attachSubscription=J.yU.EMPTY;_detachSubscription=J.yU.EMPTY;_positionSubscription=J.yU.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=(0,l.WQX)(Ve);_disposeOnNavigation=!1;_ngZone=(0,l.WQX)(l.SKi);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(At){this._offsetX=At,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(At){this._offsetY=At,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(At){this._disposeOnNavigation=At}backdropClick=new l.bkB;positionChange=new l.bkB;attach=new l.bkB;detach=new l.bkB;overlayKeydown=new l.bkB;overlayOutsideClick=new l.bkB;constructor(){const At=(0,l.WQX)(l.C4Q),Zt=(0,l.WQX)(l.c1b);this._templatePortal=new O.VA(At,Zt),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(At){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),At.origin&&this.open&&this._position.apply()),At.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=re);const At=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=At.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=At.detachments().subscribe(()=>this.detach.emit()),At.keydownEvents().subscribe(Zt=>{this.overlayKeydown.next(Zt),Zt.keyCode===ct._f&&!this.disableClose&&!(0,ct.rp)(Zt)&&(Zt.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Zt=>{const W=this._getOriginElement(),N=(0,k.Fb)(Zt);(!W||W!==N&&!W.contains(N))&&this.overlayOutsideClick.next(Zt)})}_buildConfig(){const At=this._position=this.positionStrategy||this._createPositionStrategy(),Zt=new Pt({direction:this._dir||"ltr",positionStrategy:At,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(Zt.width=this.width),(this.height||0===this.height)&&(Zt.height=this.height),(this.minWidth||0===this.minWidth)&&(Zt.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Zt.minHeight=this.minHeight),this.backdropClass&&(Zt.backdropClass=this.backdropClass),this.panelClass&&(Zt.panelClass=this.panelClass),Zt}_updatePositionStrategy(At){const Zt=this.positions.map(W=>({originX:W.originX,originY:W.originY,overlayX:W.overlayX,overlayY:W.overlayY,offsetX:W.offsetX||this.offsetX,offsetY:W.offsetY||this.offsetY,panelClass:W.panelClass||void 0}));return At.setOrigin(this._getOrigin()).withPositions(Zt).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const At=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(At),At}_getOrigin(){return this.origin instanceof tr?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof tr?this.origin.elementRef.nativeElement:this.origin instanceof l.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(At=>{this.backdropClick.emit(At)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,S.v)(()=>this.positionChange.observers.length>0)).subscribe(At=>{this._ngZone.run(()=>this.positionChange.emit(At)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static \u0275fac=function(Zt){return new(Zt||cr)};static \u0275dir=l.FsC({type:cr,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",l.L39],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",l.L39],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",l.L39],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",l.L39],push:[2,"cdkConnectedOverlayPush","push",l.L39],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",l.L39]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[l.GFd,l.OA$]})}return cr})();const Lo={provide:Ve,deps:[Ke],useFactory:function Wr(cr){return()=>cr.scrollStrategies.reposition()}};let Or=(()=>{class cr{static \u0275fac=function(Zt){return new(Zt||cr)};static \u0275mod=l.$C({type:cr});static \u0275inj=l.G2t({providers:[Ke,Lo],imports:[T.jI,O.jc,n.E9,n.E9]})}return cr})()},2147:(i,s,o)=>{"use strict";o.d(s,{BD:()=>ct,BQ:()=>P,CZ:()=>ht,Fb:()=>yt,KT:()=>Et,MU:()=>S,OD:()=>y,r5:()=>q,v8:()=>_t,vc:()=>It});var n=o(3107),a=o(4460);let l;try{l=typeof Intl<"u"&&Intl.v8BreakIterator}catch{l=!1}let C,y=(()=>{class at{_platformId=(0,n.WQX)(n.Agw);isBrowser=this._platformId?(0,a.UE)(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!l)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(Pt){return new(Pt||at)};static \u0275prov=n.jDH({token:at,factory:at.\u0275fac,providedIn:"root"})}return at})();const A=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function S(){if(C)return C;if("object"!=typeof document||!document)return C=new Set(A),C;let at=document.createElement("input");return C=new Set(A.filter(st=>(at.setAttribute("type",st),at.type===st))),C}let T;function P(at){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}()?at:!!at.capture}var q=function(at){return at[at.NORMAL=0]="NORMAL",at[at.NEGATED=1]="NEGATED",at[at.INVERTED=2]="INVERTED",at}(q||{});let X,J,pt;function ht(){if(null==J){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return J=!1,J;if("scrollBehavior"in document.documentElement.style)J=!0;else{const at=Element.prototype.scrollTo;J=!!at&&!/\{\s*\[native code\]\s*\}/.test(at.toString())}}return J}function ct(){if("object"!=typeof document||!document)return q.NORMAL;if(null==X){const at=document.createElement("div"),st=at.style;at.dir="rtl",st.width="1px",st.overflow="auto",st.visibility="hidden",st.pointerEvents="none",st.position="absolute";const vt=document.createElement("div"),Pt=vt.style;Pt.width="2px",Pt.height="1px",at.appendChild(vt),document.body.appendChild(at),X=q.NORMAL,0===at.scrollLeft&&(at.scrollLeft=1,X=0===at.scrollLeft?q.NEGATED:q.INVERTED),at.remove()}return X}function Et(at){if(function kt(){if(null==pt){const at=typeof document<"u"?document.head:null;pt=!(!at||!at.createShadowRoot&&!at.attachShadow)}return pt}()){const st=at.getRootNode?at.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&st instanceof ShadowRoot)return st}return null}function It(){let at=typeof document<"u"&&document?document.activeElement:null;for(;at&&at.shadowRoot;){const st=at.shadowRoot.activeElement;if(st===at)break;at=st}return at}function yt(at){return at.composedPath?at.composedPath()[0]:at.target}function _t(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6192:(i,s,o)=>{"use strict";o.d(s,{A8:()=>O,I3:()=>Et,VA:()=>P,aI:()=>ht,jc:()=>yt,lb:()=>X});var n=o(3107),a=o(4460);class T{_attachedHost;attach(st){return this._attachedHost=st,st.attach(this)}detach(){let st=this._attachedHost;null!=st&&(this._attachedHost=null,st.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(st){this._attachedHost=st}}class O extends T{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(st,vt,Pt,ae,le){super(),this.component=st,this.viewContainerRef=vt,this.injector=Pt,this.projectableNodes=le}}class P extends T{templateRef;viewContainerRef;context;injector;constructor(st,vt,Pt,ae){super(),this.templateRef=st,this.viewContainerRef=vt,this.context=Pt,this.injector=ae}get origin(){return this.templateRef.elementRef}attach(st,vt=this.context){return this.context=vt,super.attach(st)}detach(){return this.context=void 0,super.detach()}}class q extends T{element;constructor(st){super(),this.element=st instanceof n.aKT?st.nativeElement:st}}class X{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(st){return st instanceof O?(this._attachedPortal=st,this.attachComponentPortal(st)):st instanceof P?(this._attachedPortal=st,this.attachTemplatePortal(st)):this.attachDomPortal&&st instanceof q?(this._attachedPortal=st,this.attachDomPortal(st)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(st){this._disposeFn=st}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class ht extends X{outletElement;_appRef;_defaultInjector;_document;constructor(st,vt,Pt,ae,le){super(),this.outletElement=st,this._appRef=Pt,this._defaultInjector=ae,this._document=le}attachComponentPortal(st){let vt;if(st.viewContainerRef){const Pt=st.injector||st.viewContainerRef.injector,ae=Pt.get(n.Vns,null,{optional:!0})||void 0;vt=st.viewContainerRef.createComponent(st.component,{index:st.viewContainerRef.length,injector:Pt,ngModuleRef:ae,projectableNodes:st.projectableNodes||void 0}),this.setDisposeFn(()=>vt.destroy())}else vt=(0,n.a0P)(st.component,{elementInjector:st.injector||this._defaultInjector||n.zZn.NULL,environmentInjector:this._appRef.injector,projectableNodes:st.projectableNodes||void 0}),this._appRef.attachView(vt.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(vt.hostView),vt.destroy()});return this.outletElement.appendChild(this._getComponentRootNode(vt)),this._attachedPortal=st,vt}attachTemplatePortal(st){let vt=st.viewContainerRef,Pt=vt.createEmbeddedView(st.templateRef,st.context,{injector:st.injector});return Pt.rootNodes.forEach(ae=>this.outletElement.appendChild(ae)),Pt.detectChanges(),this.setDisposeFn(()=>{let ae=vt.indexOf(Pt);-1!==ae&&vt.remove(ae)}),this._attachedPortal=st,Pt}attachDomPortal=st=>{const vt=st.element,Pt=this._document.createComment("dom-portal");vt.parentNode.insertBefore(Pt,vt),this.outletElement.appendChild(vt),this._attachedPortal=st,super.setDisposeFn(()=>{Pt.parentNode&&Pt.parentNode.replaceChild(vt,Pt)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(st){return st.hostView.rootNodes[0]}}let Et=(()=>{class at extends X{_moduleRef=(0,n.WQX)(n.Vns,{optional:!0});_document=(0,n.WQX)(a.qQ);_viewContainerRef=(0,n.WQX)(n.c1b);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(vt){this.hasAttached()&&!vt&&!this._isInitialized||(this.hasAttached()&&super.detach(),vt&&super.attach(vt),this._attachedPortal=vt||null)}attached=new n.bkB;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(vt){vt.setAttachedHost(this);const Pt=null!=vt.viewContainerRef?vt.viewContainerRef:this._viewContainerRef,ae=Pt.createComponent(vt.component,{index:Pt.length,injector:vt.injector||Pt.injector,projectableNodes:vt.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return Pt!==this._viewContainerRef&&this._getRootNode().appendChild(ae.hostView.rootNodes[0]),super.setDisposeFn(()=>ae.destroy()),this._attachedPortal=vt,this._attachedRef=ae,this.attached.emit(ae),ae}attachTemplatePortal(vt){vt.setAttachedHost(this);const Pt=this._viewContainerRef.createEmbeddedView(vt.templateRef,vt.context,{injector:vt.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=vt,this._attachedRef=Pt,this.attached.emit(Pt),Pt}attachDomPortal=vt=>{const Pt=vt.element,ae=this._document.createComment("dom-portal");vt.setAttachedHost(this),Pt.parentNode.insertBefore(ae,Pt),this._getRootNode().appendChild(Pt),this._attachedPortal=vt,super.setDisposeFn(()=>{ae.parentNode&&ae.parentNode.replaceChild(Pt,ae)})};_getRootNode(){const vt=this._viewContainerRef.element.nativeElement;return vt.nodeType===vt.ELEMENT_NODE?vt:vt.parentNode}static \u0275fac=function(Pt){return new(Pt||at)};static \u0275dir=n.FsC({type:at,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.Vt3]})}return at})(),yt=(()=>{class at{static \u0275fac=function(Pt){return new(Pt||at)};static \u0275mod=n.$C({type:at});static \u0275inj=n.G2t({})}return at})()},5467:(i,s,o)=>{"use strict";o.d(s,{Y:()=>y,l:()=>l});var n=o(3107);const a=new WeakMap;let l=(()=>{class k{_appRef;_injector=(0,n.WQX)(n.zZn);_environmentInjector=(0,n.WQX)(n.uvJ);load(A){const S=this._appRef=this._appRef||this._injector.get(n.o8S);let T=a.get(S);T||(T={loaders:new Set,refs:[]},a.set(S,T),S.onDestroy(()=>{a.get(S)?.refs.forEach(O=>O.destroy()),a.delete(S)})),T.loaders.has(A)||(T.loaders.add(A),T.refs.push((0,n.a0P)(A,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(S){return new(S||k)};static \u0275prov=n.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})(),y=(()=>{class k{static \u0275fac=function(S){return new(S||k)};static \u0275cmp=n.VBU({type:k,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(S,T){},styles:[".cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}"],encapsulation:2,changeDetection:0})}return k})()},8108:(i,s,o)=>{"use strict";o.d(s,{uv:()=>se,Gj:()=>Yt,R:()=>ve,E9:()=>oe,Xj:()=>fr});var n=o(3022),a=o(3107),l=o(8447),y=o(3016),k=o(1698),C=o(909),A=o(9899),S=o(5710);const T={schedule(Oe){let $e=requestAnimationFrame,Dt=cancelAnimationFrame;const{delegate:wt}=T;wt&&($e=wt.requestAnimationFrame,Dt=wt.cancelAnimationFrame);const ie=$e(Xe=>{Dt=void 0,Oe(Xe)});return new S.yU(()=>Dt?.(ie))},requestAnimationFrame(...Oe){const{delegate:$e}=T;return($e?.requestAnimationFrame||requestAnimationFrame)(...Oe)},cancelAnimationFrame(...Oe){const{delegate:$e}=T;return($e?.cancelAnimationFrame||cancelAnimationFrame)(...Oe)},delegate:void 0};var P=o(8050);new class q extends P.q{flush($e){this._active=!0;const Dt=this._scheduled;this._scheduled=void 0;const{actions:wt}=this;let ie;$e=$e||wt.shift();do{if(ie=$e.execute($e.state,$e.delay))break}while(($e=wt[0])&&$e.id===Dt&&wt.shift());if(this._active=!1,ie){for(;($e=wt[0])&&$e.id===Dt&&wt.shift();)$e.unsubscribe();throw ie}}}(class O extends A.R{constructor($e,Dt){super($e,Dt),this.scheduler=$e,this.work=Dt}requestAsyncId($e,Dt,wt=0){return null!==wt&&wt>0?super.requestAsyncId($e,Dt,wt):($e.actions.push(this),$e._scheduled||($e._scheduled=T.requestAnimationFrame(()=>$e.flush(void 0))))}recycleAsyncId($e,Dt,wt=0){var ie;if(null!=wt?wt>0:this.delay>0)return super.recycleAsyncId($e,Dt,wt);const{actions:Xe}=$e;null!=Dt&&(null===(ie=Xe[Xe.length-1])||void 0===ie?void 0:ie.id)!==Dt&&(T.cancelAnimationFrame(Dt),$e._scheduled=void 0)}});o(4984);var ct=o(5684),pt=o(1483),kt=o(5424),Et=o(2147),It=o(4460),yt=o(2944);let ve=(()=>{class Oe{_ngZone=(0,a.WQX)(a.SKi);_platform=(0,a.WQX)(Et.OD);_document=(0,a.WQX)(It.qQ,{optional:!0});constructor(){}_scrolled=new l.B;_globalSubscription=null;_scrolledCount=0;scrollContainers=new Map;register(Dt){this.scrollContainers.has(Dt)||this.scrollContainers.set(Dt,Dt.elementScrolled().subscribe(()=>this._scrolled.next(Dt)))}deregister(Dt){const wt=this.scrollContainers.get(Dt);wt&&(wt.unsubscribe(),this.scrollContainers.delete(Dt))}scrolled(Dt=20){return this._platform.isBrowser?new k.c(wt=>{this._globalSubscription||this._addGlobalListener();const ie=Dt>0?this._scrolled.pipe((0,ct.Z)(Dt)).subscribe(wt):this._scrolled.subscribe(wt);return this._scrolledCount++,()=>{ie.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,y.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((Dt,wt)=>this.deregister(wt)),this._scrolled.complete()}ancestorScrolled(Dt,wt){const ie=this.getAncestorScrollContainers(Dt);return this.scrolled(wt).pipe((0,pt.p)(Xe=>!Xe||ie.indexOf(Xe)>-1))}getAncestorScrollContainers(Dt){const wt=[];return this.scrollContainers.forEach((ie,Xe)=>{this._scrollableContainsElement(Xe,Dt)&&wt.push(Xe)}),wt}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(Dt,wt){let ie=(0,n.i8)(wt),Xe=Dt.getElementRef().nativeElement;do{if(ie==Xe)return!0}while(ie=ie.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const Dt=this._getWindow();return(0,C.R)(Dt.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static \u0275fac=function(wt){return new(wt||Oe)};static \u0275prov=a.jDH({token:Oe,factory:Oe.\u0275fac,providedIn:"root"})}return Oe})(),se=(()=>{class Oe{elementRef=(0,a.WQX)(a.aKT);scrollDispatcher=(0,a.WQX)(ve);ngZone=(0,a.WQX)(a.SKi);dir=(0,a.WQX)(yt.dS,{optional:!0});_destroyed=new l.B;_elementScrolled=new k.c(Dt=>this.ngZone.runOutsideAngular(()=>(0,C.R)(this.elementRef.nativeElement,"scroll").pipe((0,kt.Q)(this._destroyed)).subscribe(Dt)));constructor(){}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(Dt){const wt=this.elementRef.nativeElement,ie=this.dir&&"rtl"==this.dir.value;null==Dt.left&&(Dt.left=ie?Dt.end:Dt.start),null==Dt.right&&(Dt.right=ie?Dt.start:Dt.end),null!=Dt.bottom&&(Dt.top=wt.scrollHeight-wt.clientHeight-Dt.bottom),ie&&(0,Et.BD)()!=Et.r5.NORMAL?(null!=Dt.left&&(Dt.right=wt.scrollWidth-wt.clientWidth-Dt.left),(0,Et.BD)()==Et.r5.INVERTED?Dt.left=Dt.right:(0,Et.BD)()==Et.r5.NEGATED&&(Dt.left=Dt.right?-Dt.right:Dt.right)):null!=Dt.right&&(Dt.left=wt.scrollWidth-wt.clientWidth-Dt.right),this._applyScrollToOptions(Dt)}_applyScrollToOptions(Dt){const wt=this.elementRef.nativeElement;(0,Et.CZ)()?wt.scrollTo(Dt):(null!=Dt.top&&(wt.scrollTop=Dt.top),null!=Dt.left&&(wt.scrollLeft=Dt.left))}measureScrollOffset(Dt){const wt="left",Xe=this.elementRef.nativeElement;if("top"==Dt)return Xe.scrollTop;if("bottom"==Dt)return Xe.scrollHeight-Xe.clientHeight-Xe.scrollTop;const Te=this.dir&&"rtl"==this.dir.value;return"start"==Dt?Dt=Te?"right":wt:"end"==Dt&&(Dt=Te?wt:"right"),Te&&(0,Et.BD)()==Et.r5.INVERTED?Dt==wt?Xe.scrollWidth-Xe.clientWidth-Xe.scrollLeft:Xe.scrollLeft:Te&&(0,Et.BD)()==Et.r5.NEGATED?Dt==wt?Xe.scrollLeft+Xe.scrollWidth-Xe.clientWidth:-Xe.scrollLeft:Dt==wt?Xe.scrollLeft:Xe.scrollWidth-Xe.clientWidth-Xe.scrollLeft}static \u0275fac=function(wt){return new(wt||Oe)};static \u0275dir=a.FsC({type:Oe,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return Oe})(),fr=(()=>{class Oe{_platform=(0,a.WQX)(Et.OD);_viewportSize;_change=new l.B;_changeListener=Dt=>{this._change.next(Dt)};_document=(0,a.WQX)(It.qQ,{optional:!0});constructor(){(0,a.WQX)(a.SKi).runOutsideAngular(()=>{if(this._platform.isBrowser){const wt=this._getWindow();wt.addEventListener("resize",this._changeListener),wt.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const Dt=this._getWindow();Dt.removeEventListener("resize",this._changeListener),Dt.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const Dt={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),Dt}getViewportRect(){const Dt=this.getViewportScrollPosition(),{width:wt,height:ie}=this.getViewportSize();return{top:Dt.top,left:Dt.left,bottom:Dt.top+ie,right:Dt.left+wt,height:ie,width:wt}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const Dt=this._document,wt=this._getWindow(),ie=Dt.documentElement,Xe=ie.getBoundingClientRect();return{top:-Xe.top||Dt.body.scrollTop||wt.scrollY||ie.scrollTop||0,left:-Xe.left||Dt.body.scrollLeft||wt.scrollX||ie.scrollLeft||0}}change(Dt=20){return Dt>0?this._change.pipe((0,ct.Z)(Dt)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const Dt=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:Dt.innerWidth,height:Dt.innerHeight}:{width:0,height:0}}static \u0275fac=function(wt){return new(wt||Oe)};static \u0275prov=a.jDH({token:Oe,factory:Oe.\u0275fac,providedIn:"root"})}return Oe})(),Yt=(()=>{class Oe{static \u0275fac=function(wt){return new(wt||Oe)};static \u0275mod=a.$C({type:Oe});static \u0275inj=a.G2t({})}return Oe})(),oe=(()=>{class Oe{static \u0275fac=function(wt){return new(wt||Oe)};static \u0275mod=a.$C({type:Oe});static \u0275inj=a.G2t({imports:[yt.jI,Yt,yt.jI,Yt]})}return Oe})()},708:(i,s,o)=>{"use strict";o.d(s,{EE:()=>ct,P8:()=>X,xb:()=>ht});var n=o(2147),a=o(3107),l=o(5467),y=o(3022),k=o(6564),C=o(8447),A=o(909),S=o(4460),T=o(5684),O=o(5424);let P=(()=>{class pt{static \u0275fac=function(It){return new(It||pt)};static \u0275cmp=a.VBU({type:pt,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(It,yt){},styles:["textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}"],encapsulation:2,changeDetection:0})}return pt})();const q=(0,n.BQ)({passive:!0});let X=(()=>{class pt{_platform=(0,a.WQX)(n.OD);_ngZone=(0,a.WQX)(a.SKi);_styleLoader=(0,a.WQX)(l.l);_monitoredElements=new Map;constructor(){}monitor(Et){if(!this._platform.isBrowser)return k.w;this._styleLoader.load(P);const It=(0,y.i8)(Et),yt=this._monitoredElements.get(It);if(yt)return yt.subject;const _t=new C.B,at="cdk-text-field-autofilled",st=vt=>{"cdk-text-field-autofill-start"!==vt.animationName||It.classList.contains(at)?"cdk-text-field-autofill-end"===vt.animationName&&It.classList.contains(at)&&(It.classList.remove(at),this._ngZone.run(()=>_t.next({target:vt.target,isAutofilled:!1}))):(It.classList.add(at),this._ngZone.run(()=>_t.next({target:vt.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{It.addEventListener("animationstart",st,q),It.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(It,{subject:_t,unlisten:()=>{It.removeEventListener("animationstart",st,q)}}),_t}stopMonitoring(Et){const It=(0,y.i8)(Et),yt=this._monitoredElements.get(It);yt&&(yt.unlisten(),yt.subject.complete(),It.classList.remove("cdk-text-field-autofill-monitored"),It.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(It))}ngOnDestroy(){this._monitoredElements.forEach((Et,It)=>this.stopMonitoring(It))}static \u0275fac=function(It){return new(It||pt)};static \u0275prov=a.jDH({token:pt,factory:pt.\u0275fac,providedIn:"root"})}return pt})(),ht=(()=>{class pt{_elementRef=(0,a.WQX)(a.aKT);_platform=(0,a.WQX)(n.OD);_ngZone=(0,a.WQX)(a.SKi);_previousValue;_initialHeight;_destroyed=new C.B;_minRows;_maxRows;_enabled=!0;_previousMinRows=-1;_textareaElement;get minRows(){return this._minRows}set minRows(Et){this._minRows=(0,y.OE)(Et),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(Et){this._maxRows=(0,y.OE)(Et),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(Et){this._enabled!==Et&&((this._enabled=Et)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(Et){this._cachedPlaceholderHeight=void 0,Et?this._textareaElement.setAttribute("placeholder",Et):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_cachedLineHeight;_cachedPlaceholderHeight;_document=(0,a.WQX)(S.qQ,{optional:!0});_hasFocus;_isViewInited=!1;constructor(){(0,a.WQX)(l.l).load(P),this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){const Et=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;Et&&(this._textareaElement.style.minHeight=Et)}_setMaxHeight(){const Et=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;Et&&(this._textareaElement.style.maxHeight=Et)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const Et=this._getWindow();(0,A.R)(Et,"resize").pipe((0,T.Z)(16),(0,O.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 Et=this._textareaElement.cloneNode(!1);Et.rows=1,Et.style.position="absolute",Et.style.visibility="hidden",Et.style.border="none",Et.style.padding="0",Et.style.height="",Et.style.minHeight="",Et.style.maxHeight="",Et.style.overflow="hidden",this._textareaElement.parentNode.appendChild(Et),this._cachedLineHeight=Et.clientHeight,Et.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const Et=this._textareaElement,It=Et.style.marginBottom||"",yt=this._platform.FIREFOX,_t=yt&&this._hasFocus,at=yt?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";_t&&(Et.style.marginBottom=`${Et.clientHeight}px`),Et.classList.add(at);const st=Et.scrollHeight-4;return Et.classList.remove(at),_t&&(Et.style.marginBottom=It),st}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const Et=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=Et}_handleFocusEvent=Et=>{this._hasFocus="focus"===Et.type};ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(Et=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const It=this._elementRef.nativeElement,yt=It.value;if(!Et&&this._minRows===this._previousMinRows&&yt===this._previousValue)return;const _t=this._measureScrollHeight(),at=Math.max(_t,this._cachedPlaceholderHeight||0);It.style.height=`${at}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(It)):setTimeout(()=>this._scrollToCaretPosition(It))}),this._previousValue=yt,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(Et){const{selectionStart:It,selectionEnd:yt}=Et;!this._destroyed.isStopped&&this._hasFocus&&Et.setSelectionRange(It,yt)}static \u0275fac=function(It){return new(It||pt)};static \u0275dir=a.FsC({type:pt,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(It,yt){1&It&&a.bIt("input",function(){return yt._noopInputHandler()})},inputs:{minRows:[0,"cdkAutosizeMinRows","minRows"],maxRows:[0,"cdkAutosizeMaxRows","maxRows"],enabled:[2,"cdkTextareaAutosize","enabled",a.L39],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"],features:[a.GFd]})}return pt})(),ct=(()=>{class pt{static \u0275fac=function(It){return new(It||pt)};static \u0275mod=a.$C({type:pt});static \u0275inj=a.G2t({})}return pt})()},4460:(i,s,o)=>{"use strict";o.d(s,{AJ:()=>co,B3:()=>Eo,Jj:()=>ta,MD:()=>Ci,N0:()=>Sa,PV:()=>Pn,QT:()=>y,Sm:()=>pt,Sq:()=>ft,T3:()=>bn,UE:()=>Ga,VF:()=>C,Vy:()=>ma,Xr:()=>ca,YU:()=>Mi,ZD:()=>k,_b:()=>si,aZ:()=>Et,bT:()=>me,fw:()=>kt,hb:()=>ht,hj:()=>O,jo:()=>pa,qQ:()=>S,vh:()=>Ea});var n=o(3107),a=o(8447);let l=null;function y(){return l}function k(U){l??=U}class C{}const S=new n.nKC("");let T=(()=>{class U{historyGo(rt){throw new Error("")}static \u0275fac=function(mt){return new(mt||U)};static \u0275prov=n.jDH({token:U,factory:()=>(0,n.WQX)(P),providedIn:"platform"})}return U})();const O=new n.nKC("");let P=(()=>{class U extends T{_location;_history;_doc=(0,n.WQX)(S);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return y().getBaseHref(this._doc)}onPopState(rt){const mt=y().getGlobalEventTarget(this._doc,"window");return mt.addEventListener("popstate",rt,!1),()=>mt.removeEventListener("popstate",rt)}onHashChange(rt){const mt=y().getGlobalEventTarget(this._doc,"window");return mt.addEventListener("hashchange",rt,!1),()=>mt.removeEventListener("hashchange",rt)}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(rt){this._location.pathname=rt}pushState(rt,mt,xe){this._history.pushState(rt,mt,xe)}replaceState(rt,mt,xe){this._history.replaceState(rt,mt,xe)}forward(){this._history.forward()}back(){this._history.back()}historyGo(rt=0){this._history.go(rt)}getState(){return this._history.state}static \u0275fac=function(mt){return new(mt||U)};static \u0275prov=n.jDH({token:U,factory:()=>new U,providedIn:"platform"})}return U})();function q(U,Tt){if(0==U.length)return Tt;if(0==Tt.length)return U;let rt=0;return U.endsWith("/")&&rt++,Tt.startsWith("/")&&rt++,2==rt?U+Tt.substring(1):1==rt?U+Tt:U+"/"+Tt}function X(U){const Tt=U.match(/#|\?|$/),rt=Tt&&Tt.index||U.length;return U.slice(0,rt-("/"===U[rt-1]?1:0))+U.slice(rt)}function J(U){return U&&"?"!==U[0]?"?"+U:U}let ht=(()=>{class U{historyGo(rt){throw new Error("")}static \u0275fac=function(mt){return new(mt||U)};static \u0275prov=n.jDH({token:U,factory:()=>(0,n.WQX)(pt),providedIn:"root"})}return U})();const ct=new n.nKC("");let pt=(()=>{class U extends ht{_platformLocation;_baseHref;_removeListenerFns=[];constructor(rt,mt){super(),this._platformLocation=rt,this._baseHref=mt??this._platformLocation.getBaseHrefFromDOM()??(0,n.WQX)(S).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(rt){this._removeListenerFns.push(this._platformLocation.onPopState(rt),this._platformLocation.onHashChange(rt))}getBaseHref(){return this._baseHref}prepareExternalUrl(rt){return q(this._baseHref,rt)}path(rt=!1){const mt=this._platformLocation.pathname+J(this._platformLocation.search),xe=this._platformLocation.hash;return xe&&rt?`${mt}${xe}`:mt}pushState(rt,mt,xe,Ge){const Br=this.prepareExternalUrl(xe+J(Ge));this._platformLocation.pushState(rt,mt,Br)}replaceState(rt,mt,xe,Ge){const Br=this.prepareExternalUrl(xe+J(Ge));this._platformLocation.replaceState(rt,mt,Br)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(rt=0){this._platformLocation.historyGo?.(rt)}static \u0275fac=function(mt){return new(mt||U)(n.KVO(T),n.KVO(ct,8))};static \u0275prov=n.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})(),kt=(()=>{class U extends ht{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(rt,mt){super(),this._platformLocation=rt,null!=mt&&(this._baseHref=mt)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(rt){this._removeListenerFns.push(this._platformLocation.onPopState(rt),this._platformLocation.onHashChange(rt))}getBaseHref(){return this._baseHref}path(rt=!1){const mt=this._platformLocation.hash??"#";return mt.length>0?mt.substring(1):mt}prepareExternalUrl(rt){const mt=q(this._baseHref,rt);return mt.length>0?"#"+mt:mt}pushState(rt,mt,xe,Ge){let Br=this.prepareExternalUrl(xe+J(Ge));0==Br.length&&(Br=this._platformLocation.pathname),this._platformLocation.pushState(rt,mt,Br)}replaceState(rt,mt,xe,Ge){let Br=this.prepareExternalUrl(xe+J(Ge));0==Br.length&&(Br=this._platformLocation.pathname),this._platformLocation.replaceState(rt,mt,Br)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(rt=0){this._platformLocation.historyGo?.(rt)}static \u0275fac=function(mt){return new(mt||U)(n.KVO(T),n.KVO(ct,8))};static \u0275prov=n.jDH({token:U,factory:U.\u0275fac})}return U})(),Et=(()=>{class U{_subject=new a.B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(rt){this._locationStrategy=rt;const mt=this._locationStrategy.getBaseHref();this._basePath=function at(U){if(new RegExp("^(https?:)?//").test(U)){const[,rt]=U.split(/\/\/[^\/]+/);return rt}return U}(X(_t(mt))),this._locationStrategy.onPopState(xe=>{this._subject.next({url:this.path(!0),pop:!0,state:xe.state,type:xe.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(rt=!1){return this.normalize(this._locationStrategy.path(rt))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(rt,mt=""){return this.path()==this.normalize(rt+J(mt))}normalize(rt){return U.stripTrailingSlash(function yt(U,Tt){if(!U||!Tt.startsWith(U))return Tt;const rt=Tt.substring(U.length);return""===rt||["/",";","?","#"].includes(rt[0])?rt:Tt}(this._basePath,_t(rt)))}prepareExternalUrl(rt){return rt&&"/"!==rt[0]&&(rt="/"+rt),this._locationStrategy.prepareExternalUrl(rt)}go(rt,mt="",xe=null){this._locationStrategy.pushState(xe,"",rt,mt),this._notifyUrlChangeListeners(this.prepareExternalUrl(rt+J(mt)),xe)}replaceState(rt,mt="",xe=null){this._locationStrategy.replaceState(xe,"",rt,mt),this._notifyUrlChangeListeners(this.prepareExternalUrl(rt+J(mt)),xe)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(rt=0){this._locationStrategy.historyGo?.(rt)}onUrlChange(rt){return this._urlChangeListeners.push(rt),this._urlChangeSubscription??=this.subscribe(mt=>{this._notifyUrlChangeListeners(mt.url,mt.state)}),()=>{const mt=this._urlChangeListeners.indexOf(rt);this._urlChangeListeners.splice(mt,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(rt="",mt){this._urlChangeListeners.forEach(xe=>xe(rt,mt))}subscribe(rt,mt,xe){return this._subject.subscribe({next:rt,error:mt??void 0,complete:xe??void 0})}static normalizeQueryParams=J;static joinWithSlash=q;static stripTrailingSlash=X;static \u0275fac=function(mt){return new(mt||U)(n.KVO(ht))};static \u0275prov=n.jDH({token:U,factory:()=>function It(){return new Et((0,n.KVO)(ht))}(),providedIn:"root"})}return U})();function _t(U){return U.replace(/\/index.html$/,"")}var Pt=function(U){return U[U.Zero=0]="Zero",U[U.One=1]="One",U[U.Two=2]="Two",U[U.Few=3]="Few",U[U.Many=4]="Many",U[U.Other=5]="Other",U}(Pt||{}),ae=function(U){return U[U.Format=0]="Format",U[U.Standalone=1]="Standalone",U}(ae||{}),le=function(U){return U[U.Narrow=0]="Narrow",U[U.Abbreviated=1]="Abbreviated",U[U.Wide=2]="Wide",U[U.Short=3]="Short",U}(le||{}),ve=function(U){return U[U.Short=0]="Short",U[U.Medium=1]="Medium",U[U.Long=2]="Long",U[U.Full=3]="Full",U}(ve||{});const se={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 Bt(U,Tt){return Ve((0,n.H5H)(U)[n.KH2.DateFormat],Tt)}function Fe(U,Tt){return Ve((0,n.H5H)(U)[n.KH2.TimeFormat],Tt)}function zt(U,Tt){return Ve((0,n.H5H)(U)[n.KH2.DateTimeFormat],Tt)}function Yt(U,Tt){const rt=(0,n.H5H)(U),mt=rt[n.KH2.NumberSymbols][Tt];if(typeof mt>"u"){if(Tt===se.CurrencyDecimal)return rt[n.KH2.NumberSymbols][se.Decimal];if(Tt===se.CurrencyGroup)return rt[n.KH2.NumberSymbols][se.Group]}return mt}const ie=n.mq5;function Xe(U){if(!U[n.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${U[n.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ve(U,Tt){for(let rt=Tt;rt>-1;rt--)if(typeof U[rt]<"u")return U[rt];throw new Error("Locale data API: locale data undefined")}function tr(U){const[Tt,rt]=U.split(":");return{hours:+Tt,minutes:+rt}}const Or=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,fo={},cr=/((?:[^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 Lt=function(U){return U[U.Short=0]="Short",U[U.ShortGMT=1]="ShortGMT",U[U.Long=2]="Long",U[U.Extended=3]="Extended",U}(Lt||{}),At=function(U){return U[U.FullYear=0]="FullYear",U[U.Month=1]="Month",U[U.Date=2]="Date",U[U.Hours=3]="Hours",U[U.Minutes=4]="Minutes",U[U.Seconds=5]="Seconds",U[U.FractionalSeconds=6]="FractionalSeconds",U[U.Day=7]="Day",U}(At||{}),Zt=function(U){return U[U.DayPeriods=0]="DayPeriods",U[U.Days=1]="Days",U[U.Months=2]="Months",U[U.Eras=3]="Eras",U}(Zt||{});function W(U,Tt,rt,mt){let xe=function ce(U){if(vr(U))return U;if("number"==typeof U&&!isNaN(U))return new Date(U);if("string"==typeof U){if(U=U.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(U)){const[xe,Ge=1,Br=1]=U.split("-").map(eo=>+eo);return N(xe,Ge-1,Br)}const rt=parseFloat(U);if(!isNaN(U-rt))return new Date(rt);let mt;if(mt=U.match(Or))return function Be(U){const Tt=new Date(0);let rt=0,mt=0;const xe=U[8]?Tt.setUTCFullYear:Tt.setFullYear,Ge=U[8]?Tt.setUTCHours:Tt.setHours;U[9]&&(rt=Number(U[9]+U[10]),mt=Number(U[9]+U[11])),xe.call(Tt,Number(U[1]),Number(U[2])-1,Number(U[3]));const Br=Number(U[4]||0)-rt,eo=Number(U[5]||0)-mt,dn=Number(U[6]||0),In=Math.floor(1e3*parseFloat("0."+(U[7]||0)));return Ge.call(Tt,Br,eo,dn,In),Tt}(mt)}const Tt=new Date(U);if(!vr(Tt))throw new Error(`Unable to convert "${U}" into a date`);return Tt}(U);Tt=z(rt,Tt)||Tt;let eo,Br=[];for(;Tt;){if(eo=cr.exec(Tt),!eo){Br.push(Tt);break}{Br=Br.concat(eo.slice(1));const Dn=Br.pop();if(!Dn)break;Tt=Dn}}let dn=xe.getTimezoneOffset();mt&&(dn=Wt(mt,dn),xe=function Ce(U,Tt,rt){const mt=rt?-1:1,xe=U.getTimezoneOffset();return function $t(U,Tt){return(U=new Date(U.getTime())).setMinutes(U.getMinutes()+Tt),U}(U,mt*(Wt(Tt,xe)-xe))}(xe,mt,!0));let In="";return Br.forEach(Dn=>{const No=function Mt(U){if(ze[U])return ze[U];let Tt;switch(U){case"G":case"GG":case"GGG":Tt=ar(Zt.Eras,le.Abbreviated);break;case"GGGG":Tt=ar(Zt.Eras,le.Wide);break;case"GGGGG":Tt=ar(Zt.Eras,le.Narrow);break;case"y":Tt=Se(At.FullYear,1,0,!1,!0);break;case"yy":Tt=Se(At.FullYear,2,0,!0,!0);break;case"yyy":Tt=Se(At.FullYear,3,0,!1,!0);break;case"yyyy":Tt=Se(At.FullYear,4,0,!1,!0);break;case"Y":Tt=we(1);break;case"YY":Tt=we(2,!0);break;case"YYY":Tt=we(3);break;case"YYYY":Tt=we(4);break;case"M":case"L":Tt=Se(At.Month,1,1);break;case"MM":case"LL":Tt=Se(At.Month,2,1);break;case"MMM":Tt=ar(Zt.Months,le.Abbreviated);break;case"MMMM":Tt=ar(Zt.Months,le.Wide);break;case"MMMMM":Tt=ar(Zt.Months,le.Narrow);break;case"LLL":Tt=ar(Zt.Months,le.Abbreviated,ae.Standalone);break;case"LLLL":Tt=ar(Zt.Months,le.Wide,ae.Standalone);break;case"LLLLL":Tt=ar(Zt.Months,le.Narrow,ae.Standalone);break;case"w":Tt=Ho(1);break;case"ww":Tt=Ho(2);break;case"W":Tt=Ho(1,!0);break;case"d":Tt=Se(At.Date,1);break;case"dd":Tt=Se(At.Date,2);break;case"c":case"cc":Tt=Se(At.Day,1);break;case"ccc":Tt=ar(Zt.Days,le.Abbreviated,ae.Standalone);break;case"cccc":Tt=ar(Zt.Days,le.Wide,ae.Standalone);break;case"ccccc":Tt=ar(Zt.Days,le.Narrow,ae.Standalone);break;case"cccccc":Tt=ar(Zt.Days,le.Short,ae.Standalone);break;case"E":case"EE":case"EEE":Tt=ar(Zt.Days,le.Abbreviated);break;case"EEEE":Tt=ar(Zt.Days,le.Wide);break;case"EEEEE":Tt=ar(Zt.Days,le.Narrow);break;case"EEEEEE":Tt=ar(Zt.Days,le.Short);break;case"a":case"aa":case"aaa":Tt=ar(Zt.DayPeriods,le.Abbreviated);break;case"aaaa":Tt=ar(Zt.DayPeriods,le.Wide);break;case"aaaaa":Tt=ar(Zt.DayPeriods,le.Narrow);break;case"b":case"bb":case"bbb":Tt=ar(Zt.DayPeriods,le.Abbreviated,ae.Standalone,!0);break;case"bbbb":Tt=ar(Zt.DayPeriods,le.Wide,ae.Standalone,!0);break;case"bbbbb":Tt=ar(Zt.DayPeriods,le.Narrow,ae.Standalone,!0);break;case"B":case"BB":case"BBB":Tt=ar(Zt.DayPeriods,le.Abbreviated,ae.Format,!0);break;case"BBBB":Tt=ar(Zt.DayPeriods,le.Wide,ae.Format,!0);break;case"BBBBB":Tt=ar(Zt.DayPeriods,le.Narrow,ae.Format,!0);break;case"h":Tt=Se(At.Hours,1,-12);break;case"hh":Tt=Se(At.Hours,2,-12);break;case"H":Tt=Se(At.Hours,1);break;case"HH":Tt=Se(At.Hours,2);break;case"m":Tt=Se(At.Minutes,1);break;case"mm":Tt=Se(At.Minutes,2);break;case"s":Tt=Se(At.Seconds,1);break;case"ss":Tt=Se(At.Seconds,2);break;case"S":Tt=Se(At.FractionalSeconds,1);break;case"SS":Tt=Se(At.FractionalSeconds,2);break;case"SSS":Tt=Se(At.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Tt=Mr(Lt.Short);break;case"ZZZZZ":Tt=Mr(Lt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Tt=Mr(Lt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Tt=Mr(Lt.Long);break;default:return null}return ze[U]=Tt,Tt}(Dn);In+=No?No(xe,rt,dn):"''"===Dn?"'":Dn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),In}function N(U,Tt,rt){const mt=new Date(0);return mt.setFullYear(U,Tt,rt),mt.setHours(0,0,0),mt}function z(U,Tt){const rt=function fr(U){return(0,n.H5H)(U)[n.KH2.LocaleId]}(U);if(fo[rt]??={},fo[rt][Tt])return fo[rt][Tt];let mt="";switch(Tt){case"shortDate":mt=Bt(U,ve.Short);break;case"mediumDate":mt=Bt(U,ve.Medium);break;case"longDate":mt=Bt(U,ve.Long);break;case"fullDate":mt=Bt(U,ve.Full);break;case"shortTime":mt=Fe(U,ve.Short);break;case"mediumTime":mt=Fe(U,ve.Medium);break;case"longTime":mt=Fe(U,ve.Long);break;case"fullTime":mt=Fe(U,ve.Full);break;case"short":const xe=z(U,"shortTime"),Ge=z(U,"shortDate");mt=Rt(zt(U,ve.Short),[xe,Ge]);break;case"medium":const Br=z(U,"mediumTime"),eo=z(U,"mediumDate");mt=Rt(zt(U,ve.Medium),[Br,eo]);break;case"long":const dn=z(U,"longTime"),In=z(U,"longDate");mt=Rt(zt(U,ve.Long),[dn,In]);break;case"full":const Dn=z(U,"fullTime"),No=z(U,"fullDate");mt=Rt(zt(U,ve.Full),[Dn,No])}return mt&&(fo[rt][Tt]=mt),mt}function Rt(U,Tt){return Tt&&(U=U.replace(/\{([^}]+)}/g,function(rt,mt){return null!=Tt&&mt in Tt?Tt[mt]:rt})),U}function ue(U,Tt,rt="-",mt,xe){let Ge="";(U<0||xe&&U<=0)&&(xe?U=1-U:(U=-U,Ge=rt));let Br=String(U);for(;Br.length0||eo>-rt)&&(eo+=rt),U===At.Hours)0===eo&&-12===rt&&(eo=12);else if(U===At.FractionalSeconds)return function he(U,Tt){return ue(U,3).substring(0,Tt)}(eo,Tt);const dn=Yt(Br,se.MinusSign);return ue(eo,Tt,dn,mt,xe)}}function ar(U,Tt,rt=ae.Format,mt=!1){return function(xe,Ge){return function dr(U,Tt,rt,mt,xe,Ge){switch(rt){case Zt.Months:return function wr(U,Tt,rt){const mt=(0,n.H5H)(U),Ge=Ve([mt[n.KH2.MonthsFormat],mt[n.KH2.MonthsStandalone]],Tt);return Ve(Ge,rt)}(Tt,xe,mt)[U.getMonth()];case Zt.Days:return function jr(U,Tt,rt){const mt=(0,n.H5H)(U),Ge=Ve([mt[n.KH2.DaysFormat],mt[n.KH2.DaysStandalone]],Tt);return Ve(Ge,rt)}(Tt,xe,mt)[U.getDay()];case Zt.DayPeriods:const Br=U.getHours(),eo=U.getMinutes();if(Ge){const In=function Te(U){const Tt=(0,n.H5H)(U);return Xe(Tt),(Tt[n.KH2.ExtraData][2]||[]).map(mt=>"string"==typeof mt?tr(mt):[tr(mt[0]),tr(mt[1])])}(Tt),Dn=function Ke(U,Tt,rt){const mt=(0,n.H5H)(U);Xe(mt);const Ge=Ve([mt[n.KH2.ExtraData][0],mt[n.KH2.ExtraData][1]],Tt)||[];return Ve(Ge,rt)||[]}(Tt,xe,mt),No=In.findIndex(ln=>{if(Array.isArray(ln)){const[nn,xn]=ln,ya=Br>=nn.hours&&eo>=nn.minutes,Ni=Br0?Math.floor(xe/60):Math.ceil(xe/60);switch(U){case Lt.Short:return(xe>=0?"+":"")+ue(Br,2,Ge)+ue(Math.abs(xe%60),2,Ge);case Lt.ShortGMT:return"GMT"+(xe>=0?"+":"")+ue(Br,1,Ge);case Lt.Long:return"GMT"+(xe>=0?"+":"")+ue(Br,2,Ge)+":"+ue(Math.abs(xe%60),2,Ge);case Lt.Extended:return 0===mt?"Z":(xe>=0?"+":"")+ue(Br,2,Ge)+":"+ue(Math.abs(xe%60),2,Ge);default:throw new Error(`Unknown zone width "${U}"`)}}}const ao=0,xr=4;function To(U){const Tt=U.getDay(),rt=0===Tt?-3:xr-Tt;return N(U.getFullYear(),U.getMonth(),U.getDate()+rt)}function Ho(U,Tt=!1){return function(rt,mt){let xe;if(Tt){const Ge=new Date(rt.getFullYear(),rt.getMonth(),1).getDay()-1,Br=rt.getDate();xe=1+Math.floor((Br+Ge)/7)}else{const Ge=To(rt),Br=function zo(U){const Tt=N(U,ao,1).getDay();return N(U,0,1+(Tt<=xr?xr:xr+7)-Tt)}(Ge.getFullYear()),eo=Ge.getTime()-Br.getTime();xe=1+Math.round(eo/6048e5)}return ue(xe,U,Yt(mt,se.MinusSign))}}function we(U,Tt=!1){return function(rt,mt){return ue(To(rt).getFullYear(),U,Yt(mt,se.MinusSign),Tt)}}const ze={};function Wt(U,Tt){U=U.replace(/:/g,"");const rt=Date.parse("Jan 01, 1970 00:00:00 "+U)/6e4;return isNaN(rt)?Tt:rt}function vr(U){return U instanceof Date&&!isNaN(U.valueOf())}let pi=(()=>{class U{static \u0275fac=function(mt){return new(mt||U)};static \u0275prov=n.jDH({token:U,factory:function(mt){let xe=null;return mt?xe=new mt:(Ge=n.KVO(n.xe9),xe=new Fi(Ge)),xe;var Ge},providedIn:"root"})}return U})();let Fi=(()=>{class U extends pi{locale;constructor(rt){super(),this.locale=rt}getPluralCategory(rt,mt){switch(ie(mt||this.locale)(rt)){case Pt.Zero:return"zero";case Pt.One:return"one";case Pt.Two:return"two";case Pt.Few:return"few";case Pt.Many:return"many";default:return"other"}}static \u0275fac=function(mt){return new(mt||U)(n.KVO(n.xe9))};static \u0275prov=n.jDH({token:U,factory:U.\u0275fac})}return U})();function si(U,Tt){Tt=encodeURIComponent(Tt);for(const rt of U.split(";")){const mt=rt.indexOf("="),[xe,Ge]=-1==mt?[rt,""]:[rt.slice(0,mt),rt.slice(mt+1)];if(xe.trim()===Tt)return decodeURIComponent(Ge)}return null}const hi=/\s+/,On=[];let Mi=(()=>{class U{_ngEl;_renderer;initialClasses=On;rawClass;stateMap=new Map;constructor(rt,mt){this._ngEl=rt,this._renderer=mt}set klass(rt){this.initialClasses=null!=rt?rt.trim().split(hi):On}set ngClass(rt){this.rawClass="string"==typeof rt?rt.trim().split(hi):rt}ngDoCheck(){for(const mt of this.initialClasses)this._updateState(mt,!0);const rt=this.rawClass;if(Array.isArray(rt)||rt instanceof Set)for(const mt of rt)this._updateState(mt,!0);else if(null!=rt)for(const mt of Object.keys(rt))this._updateState(mt,!!rt[mt]);this._applyStateDiff()}_updateState(rt,mt){const xe=this.stateMap.get(rt);void 0!==xe?(xe.enabled!==mt&&(xe.changed=!0,xe.enabled=mt),xe.touched=!0):this.stateMap.set(rt,{enabled:mt,changed:!0,touched:!0})}_applyStateDiff(){for(const rt of this.stateMap){const mt=rt[0],xe=rt[1];xe.changed?(this._toggleClass(mt,xe.enabled),xe.changed=!1):xe.touched||(xe.enabled&&this._toggleClass(mt,!1),this.stateMap.delete(mt)),xe.touched=!1}}_toggleClass(rt,mt){(rt=rt.trim()).length>0&&rt.split(hi).forEach(xe=>{mt?this._renderer.addClass(this._ngEl.nativeElement,xe):this._renderer.removeClass(this._ngEl.nativeElement,xe)})}static \u0275fac=function(mt){return new(mt||U)(n.rXU(n.aKT),n.rXU(n.sFG))};static \u0275dir=n.FsC({type:U,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return U})();class de{$implicit;ngForOf;index;count;constructor(Tt,rt,mt,xe){this.$implicit=Tt,this.ngForOf=rt,this.index=mt,this.count=xe}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 ft=(()=>{class U{_viewContainer;_template;_differs;set ngForOf(rt){this._ngForOf=rt,this._ngForOfDirty=!0}set ngForTrackBy(rt){this._trackByFn=rt}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(rt,mt,xe){this._viewContainer=rt,this._template=mt,this._differs=xe}set ngForTemplate(rt){rt&&(this._template=rt)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const rt=this._ngForOf;!this._differ&&rt&&(this._differ=this._differs.find(rt).create(this.ngForTrackBy))}if(this._differ){const rt=this._differ.diff(this._ngForOf);rt&&this._applyChanges(rt)}}_applyChanges(rt){const mt=this._viewContainer;rt.forEachOperation((xe,Ge,Br)=>{if(null==xe.previousIndex)mt.createEmbeddedView(this._template,new de(xe.item,this._ngForOf,-1,-1),null===Br?void 0:Br);else if(null==Br)mt.remove(null===Ge?void 0:Ge);else if(null!==Ge){const eo=mt.get(Ge);mt.move(eo,Br),Gt(eo,xe)}});for(let xe=0,Ge=mt.length;xe{Gt(mt.get(xe.currentIndex),xe)})}static ngTemplateContextGuard(rt,mt){return!0}static \u0275fac=function(mt){return new(mt||U)(n.rXU(n.c1b),n.rXU(n.C4Q),n.rXU(n._q3))};static \u0275dir=n.FsC({type:U,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return U})();function Gt(U,Tt){U.context.$implicit=Tt.item}let me=(()=>{class U{_viewContainer;_context=new He;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(rt,mt){this._viewContainer=rt,this._thenTemplateRef=mt}set ngIf(rt){this._context.$implicit=this._context.ngIf=rt,this._updateView()}set ngIfThen(rt){Me("ngIfThen",rt),this._thenTemplateRef=rt,this._thenViewRef=null,this._updateView()}set ngIfElse(rt){Me("ngIfElse",rt),this._elseTemplateRef=rt,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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(rt,mt){return!0}static \u0275fac=function(mt){return new(mt||U)(n.rXU(n.c1b),n.rXU(n.C4Q))};static \u0275dir=n.FsC({type:U,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return U})();class He{$implicit=null;ngIf=null}function Me(U,Tt){if(Tt&&!Tt.createEmbeddedView)throw new Error(`${U} must be a TemplateRef, but received '${(0,n.Tbb)(Tt)}'.`)}let Eo=(()=>{class U{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(rt,mt,xe){this._ngEl=rt,this._differs=mt,this._renderer=xe}set ngStyle(rt){this._ngStyle=rt,!this._differ&&rt&&(this._differ=this._differs.find(rt).create())}ngDoCheck(){if(this._differ){const rt=this._differ.diff(this._ngStyle);rt&&this._applyChanges(rt)}}_setStyle(rt,mt){const[xe,Ge]=rt.split("."),Br=-1===xe.indexOf("-")?void 0:n.czy.DashCase;null!=mt?this._renderer.setStyle(this._ngEl.nativeElement,xe,Ge?`${mt}${Ge}`:mt,Br):this._renderer.removeStyle(this._ngEl.nativeElement,xe,Br)}_applyChanges(rt){rt.forEachRemovedItem(mt=>this._setStyle(mt.key,null)),rt.forEachAddedItem(mt=>this._setStyle(mt.key,mt.currentValue)),rt.forEachChangedItem(mt=>this._setStyle(mt.key,mt.currentValue))}static \u0275fac=function(mt){return new(mt||U)(n.rXU(n.aKT),n.rXU(n.MKu),n.rXU(n.sFG))};static \u0275dir=n.FsC({type:U,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return U})(),bn=(()=>{class U{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(rt){this._viewContainerRef=rt}ngOnChanges(rt){if(this._shouldRecreateView(rt)){const mt=this._viewContainerRef;if(this._viewRef&&mt.remove(mt.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const xe=this._createContextForwardProxy();this._viewRef=mt.createEmbeddedView(this.ngTemplateOutlet,xe,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(rt){return!!rt.ngTemplateOutlet||!!rt.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(rt,mt,xe)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,mt,xe),get:(rt,mt,xe)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,mt,xe)}})}static \u0275fac=function(mt){return new(mt||U)(n.rXU(n.c1b))};static \u0275dir=n.FsC({type:U,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[n.OA$]})}return U})();function Mn(U,Tt){return new n.wOt(2100,!1)}class Ro{createSubscription(Tt,rt){return(0,n.O8t)(()=>Tt.subscribe({next:rt,error:mt=>{throw mt}}))}dispose(Tt){(0,n.O8t)(()=>Tt.unsubscribe())}}class Qo{createSubscription(Tt,rt){return Tt.then(rt,mt=>{throw mt})}dispose(Tt){}}const Fo=new Qo,Ei=new Ro;let ta=(()=>{class U{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(rt){this._ref=rt}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(rt){if(!this._obj){if(rt)try{this.markForCheckOnValueUpdate=!1,this._subscribe(rt)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return rt!==this._obj?(this._dispose(),this.transform(rt)):this._latestValue}_subscribe(rt){this._obj=rt,this._strategy=this._selectStrategy(rt),this._subscription=this._strategy.createSubscription(rt,mt=>this._updateLatestValue(rt,mt))}_selectStrategy(rt){if((0,n.jNT)(rt))return Fo;if((0,n.zjR)(rt))return Ei;throw Mn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(rt,mt){rt===this._obj&&(this._latestValue=mt,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(mt){return new(mt||U)(n.rXU(n.gRc,16))};static \u0275pipe=n.EJ8({name:"async",type:U,pure:!1})}return U})();const as=/(?:[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 Pn=(()=>{class U{transform(rt){if(null==rt)return null;if("string"!=typeof rt)throw Mn();return rt.replace(as,mt=>mt[0].toUpperCase()+mt.slice(1).toLowerCase())}static \u0275fac=function(mt){return new(mt||U)};static \u0275pipe=n.EJ8({name:"titlecase",type:U,pure:!0})}return U})();const Ka=new n.nKC(""),Ii=new n.nKC("");let Ea=(()=>{class U{locale;defaultTimezone;defaultOptions;constructor(rt,mt,xe){this.locale=rt,this.defaultTimezone=mt,this.defaultOptions=xe}transform(rt,mt,xe,Ge){if(null==rt||""===rt||rt!=rt)return null;try{return W(rt,mt??this.defaultOptions?.dateFormat??"mediumDate",Ge||this.locale,xe??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Br){throw Mn()}}static \u0275fac=function(mt){return new(mt||U)(n.rXU(n.xe9,16),n.rXU(Ka,24),n.rXU(Ii,24))};static \u0275pipe=n.EJ8({name:"date",type:U,pure:!0})}return U})();const Ri=/#/g;let pa=(()=>{class U{_localization;constructor(rt){this._localization=rt}transform(rt,mt,xe){if(null==rt)return"";if("object"!=typeof mt||null===mt)throw Mn();return mt[function Ji(U,Tt,rt,mt){let xe=`=${U}`;if(Tt.indexOf(xe)>-1||(xe=rt.getPluralCategory(U,mt),Tt.indexOf(xe)>-1))return xe;if(Tt.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${U}"`)}(rt,Object.keys(mt),this._localization,xe)].replace(Ri,rt.toString())}static \u0275fac=function(mt){return new(mt||U)(n.rXU(pi,16))};static \u0275pipe=n.EJ8({name:"i18nPlural",type:U,pure:!0})}return U})(),Ci=(()=>{class U{static \u0275fac=function(mt){return new(mt||U)};static \u0275mod=n.$C({type:U});static \u0275inj=n.G2t({})}return U})();const co="browser",Da="server";function Ga(U){return U===co}function ma(U){return U===Da}let ca=(()=>{class U{static \u0275prov=(0,n.jDH)({token:U,providedIn:"root",factory:()=>Ga((0,n.WQX)(n.Agw))?new Vn((0,n.WQX)(S),window):new ls})}return U})();class Vn{document;window;offset=()=>[0,0];constructor(Tt,rt){this.document=Tt,this.window=rt}setOffset(Tt){this.offset=Array.isArray(Tt)?()=>Tt:Tt}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(Tt){this.window.scrollTo(Tt[0],Tt[1])}scrollToAnchor(Tt){const rt=function cc(U,Tt){const rt=U.getElementById(Tt)||U.getElementsByName(Tt)[0];if(rt)return rt;if("function"==typeof U.createTreeWalker&&U.body&&"function"==typeof U.body.attachShadow){const mt=U.createTreeWalker(U.body,NodeFilter.SHOW_ELEMENT);let xe=mt.currentNode;for(;xe;){const Ge=xe.shadowRoot;if(Ge){const Br=Ge.getElementById(Tt)||Ge.querySelector(`[name="${Tt}"]`);if(Br)return Br}xe=mt.nextNode()}}return null}(this.document,Tt);rt&&(this.scrollToElement(rt),rt.focus())}setHistoryScrollRestoration(Tt){this.window.history.scrollRestoration=Tt}scrollToElement(Tt){const rt=Tt.getBoundingClientRect(),mt=rt.left+this.window.pageXOffset,xe=rt.top+this.window.pageYOffset,Ge=this.offset();this.window.scrollTo(mt-Ge[0],xe-Ge[1])}}class ls{setOffset(Tt){}getScrollPosition(){return[0,0]}scrollToPosition(Tt){}scrollToAnchor(Tt){}setHistoryScrollRestoration(Tt){}}class Sa{}},7691:(i,s,o)=>{"use strict";o.d(s,{$R:()=>$t,Nl:()=>_t,Qq:()=>Fe,b$:()=>Ce,cS:()=>jr,yz:()=>wr});var n=o(3014),a=o(3107),l=o(3016),y=o(1698),k=o(1787),C=o(1459),A=o(1483),S=o(7947),T=o(4447),O=o(2867),P=o(4460);class q{}class X{}class J{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(ke){ke?"string"==typeof ke?this.lazyInit=()=>{this.headers=new Map,ke.split("\n").forEach(de=>{const ft=de.indexOf(":");if(ft>0){const Gt=de.slice(0,ft),Ot=de.slice(ft+1).trim();this.addHeaderEntry(Gt,Ot)}})}:typeof Headers<"u"&&ke instanceof Headers?(this.headers=new Map,ke.forEach((de,ft)=>{this.addHeaderEntry(ft,de)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(ke).forEach(([de,ft])=>{this.setHeaderEntries(de,ft)})}:this.headers=new Map}has(ke){return this.init(),this.headers.has(ke.toLowerCase())}get(ke){this.init();const de=this.headers.get(ke.toLowerCase());return de&&de.length>0?de[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ke){return this.init(),this.headers.get(ke.toLowerCase())||null}append(ke,de){return this.clone({name:ke,value:de,op:"a"})}set(ke,de){return this.clone({name:ke,value:de,op:"s"})}delete(ke,de){return this.clone({name:ke,value:de,op:"d"})}maybeSetNormalizedName(ke,de){this.normalizedNames.has(de)||this.normalizedNames.set(de,ke)}init(){this.lazyInit&&(this.lazyInit instanceof J?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(ke=>this.applyUpdate(ke)),this.lazyUpdate=null))}copyFrom(ke){ke.init(),Array.from(ke.headers.keys()).forEach(de=>{this.headers.set(de,ke.headers.get(de)),this.normalizedNames.set(de,ke.normalizedNames.get(de))})}clone(ke){const de=new J;return de.lazyInit=this.lazyInit&&this.lazyInit instanceof J?this.lazyInit:this,de.lazyUpdate=(this.lazyUpdate||[]).concat([ke]),de}applyUpdate(ke){const de=ke.name.toLowerCase();switch(ke.op){case"a":case"s":let ft=ke.value;if("string"==typeof ft&&(ft=[ft]),0===ft.length)return;this.maybeSetNormalizedName(ke.name,de);const Gt=("a"===ke.op?this.headers.get(de):void 0)||[];Gt.push(...ft),this.headers.set(de,Gt);break;case"d":const Ot=ke.value;if(Ot){let me=this.headers.get(de);if(!me)return;me=me.filter(He=>-1===Ot.indexOf(He)),0===me.length?(this.headers.delete(de),this.normalizedNames.delete(de)):this.headers.set(de,me)}else this.headers.delete(de),this.normalizedNames.delete(de)}}addHeaderEntry(ke,de){const ft=ke.toLowerCase();this.maybeSetNormalizedName(ke,ft),this.headers.has(ft)?this.headers.get(ft).push(de):this.headers.set(ft,[de])}setHeaderEntries(ke,de){const ft=(Array.isArray(de)?de:[de]).map(Ot=>Ot.toString()),Gt=ke.toLowerCase();this.headers.set(Gt,ft),this.maybeSetNormalizedName(ke,Gt)}forEach(ke){this.init(),Array.from(this.normalizedNames.keys()).forEach(de=>ke(this.normalizedNames.get(de),this.headers.get(de)))}}class ct{encodeKey(ke){return It(ke)}encodeValue(ke){return It(ke)}decodeKey(ke){return decodeURIComponent(ke)}decodeValue(ke){return decodeURIComponent(ke)}}const kt=/%(\d[a-f0-9])/gi,Et={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function It(Jt){return encodeURIComponent(Jt).replace(kt,(ke,de)=>Et[de]??ke)}function yt(Jt){return`${Jt}`}class _t{map;encoder;updates=null;cloneFrom=null;constructor(ke={}){if(this.encoder=ke.encoder||new ct,ke.fromString){if(ke.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function pt(Jt,ke){const de=new Map;return Jt.length>0&&Jt.replace(/^\?/,"").split("&").forEach(Gt=>{const Ot=Gt.indexOf("="),[me,He]=-1==Ot?[ke.decodeKey(Gt),""]:[ke.decodeKey(Gt.slice(0,Ot)),ke.decodeValue(Gt.slice(Ot+1))],Me=de.get(me)||[];Me.push(He),de.set(me,Me)}),de}(ke.fromString,this.encoder)}else ke.fromObject?(this.map=new Map,Object.keys(ke.fromObject).forEach(de=>{const ft=ke.fromObject[de],Gt=Array.isArray(ft)?ft.map(yt):[yt(ft)];this.map.set(de,Gt)})):this.map=null}has(ke){return this.init(),this.map.has(ke)}get(ke){this.init();const de=this.map.get(ke);return de?de[0]:null}getAll(ke){return this.init(),this.map.get(ke)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ke,de){return this.clone({param:ke,value:de,op:"a"})}appendAll(ke){const de=[];return Object.keys(ke).forEach(ft=>{const Gt=ke[ft];Array.isArray(Gt)?Gt.forEach(Ot=>{de.push({param:ft,value:Ot,op:"a"})}):de.push({param:ft,value:Gt,op:"a"})}),this.clone(de)}set(ke,de){return this.clone({param:ke,value:de,op:"s"})}delete(ke,de){return this.clone({param:ke,value:de,op:"d"})}toString(){return this.init(),this.keys().map(ke=>{const de=this.encoder.encodeKey(ke);return this.map.get(ke).map(ft=>de+"="+this.encoder.encodeValue(ft)).join("&")}).filter(ke=>""!==ke).join("&")}clone(ke){const de=new _t({encoder:this.encoder});return de.cloneFrom=this.cloneFrom||this,de.updates=(this.updates||[]).concat(ke),de}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(ke=>this.map.set(ke,this.cloneFrom.map.get(ke))),this.updates.forEach(ke=>{switch(ke.op){case"a":case"s":const de=("a"===ke.op?this.map.get(ke.param):void 0)||[];de.push(yt(ke.value)),this.map.set(ke.param,de);break;case"d":if(void 0===ke.value){this.map.delete(ke.param);break}{let ft=this.map.get(ke.param)||[];const Gt=ft.indexOf(yt(ke.value));-1!==Gt&&ft.splice(Gt,1),ft.length>0?this.map.set(ke.param,ft):this.map.delete(ke.param)}}}),this.cloneFrom=this.updates=null)}}class st{map=new Map;set(ke,de){return this.map.set(ke,de),this}get(ke){return this.map.has(ke)||this.map.set(ke,ke.defaultValue()),this.map.get(ke)}delete(ke){return this.map.delete(ke),this}has(ke){return this.map.has(ke)}keys(){return this.map.keys()}}function Pt(Jt){return typeof ArrayBuffer<"u"&&Jt instanceof ArrayBuffer}function ae(Jt){return typeof Blob<"u"&&Jt instanceof Blob}function le(Jt){return typeof FormData<"u"&&Jt instanceof FormData}class se{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(ke,de,ft,Gt){let Ot;if(this.url=de,this.method=ke.toUpperCase(),function vt(Jt){switch(Jt){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Gt?(this.body=void 0!==ft?ft:null,Ot=Gt):Ot=ft,Ot&&(this.reportProgress=!!Ot.reportProgress,this.withCredentials=!!Ot.withCredentials,Ot.responseType&&(this.responseType=Ot.responseType),Ot.headers&&(this.headers=Ot.headers),Ot.context&&(this.context=Ot.context),Ot.params&&(this.params=Ot.params),this.transferCache=Ot.transferCache),this.headers??=new J,this.context??=new st,this.params){const me=this.params.toString();if(0===me.length)this.urlWithParams=de;else{const He=de.indexOf("?");this.urlWithParams=de+(-1===He?"?":HeRr.set($r,ke.setHeaders[$r]),ur)),ke.setParams&&(Er=Object.keys(ke.setParams).reduce((Rr,$r)=>Rr.set($r,ke.setParams[$r]),Er)),new se(de,ft,me,{params:Er,headers:ur,context:kr,reportProgress:Me,responseType:Gt,withCredentials:He,transferCache:Ot})}}var or=function(Jt){return Jt[Jt.Sent=0]="Sent",Jt[Jt.UploadProgress=1]="UploadProgress",Jt[Jt.ResponseHeader=2]="ResponseHeader",Jt[Jt.DownloadProgress=3]="DownloadProgress",Jt[Jt.Response=4]="Response",Jt[Jt.User=5]="User",Jt}(or||{});class fr{headers;status;statusText;url;ok;type;constructor(ke,de=200,ft="OK"){this.headers=ke.headers||new J,this.status=void 0!==ke.status?ke.status:de,this.statusText=ke.statusText||ft,this.url=ke.url||null,this.ok=this.status>=200&&this.status<300}}class yr extends fr{constructor(ke={}){super(ke)}type=or.ResponseHeader;clone(ke={}){return new yr({headers:ke.headers||this.headers,status:void 0!==ke.status?ke.status:this.status,statusText:ke.statusText||this.statusText,url:ke.url||this.url||void 0})}}class jr extends fr{body;constructor(ke={}){super(ke),this.body=void 0!==ke.body?ke.body:null}type=or.Response;clone(ke={}){return new jr({body:void 0!==ke.body?ke.body:this.body,headers:ke.headers||this.headers,status:void 0!==ke.status?ke.status:this.status,statusText:ke.statusText||this.statusText,url:ke.url||this.url||void 0})}}class wr extends fr{name="HttpErrorResponse";message;error;ok=!1;constructor(ke){super(ke,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ke.url||"(unknown url)"}`:`Http failure response for ${ke.url||"(unknown url)"}: ${ke.status} ${ke.statusText}`,this.error=ke.error||null}}function Bt(Jt,ke){return{body:ke,headers:Jt.headers,context:Jt.context,observe:Jt.observe,params:Jt.params,reportProgress:Jt.reportProgress,responseType:Jt.responseType,withCredentials:Jt.withCredentials,transferCache:Jt.transferCache}}let Fe=(()=>{class Jt{handler;constructor(de){this.handler=de}request(de,ft,Gt={}){let Ot;if(de instanceof se)Ot=de;else{let Me,ur;Me=Gt.headers instanceof J?Gt.headers:new J(Gt.headers),Gt.params&&(ur=Gt.params instanceof _t?Gt.params:new _t({fromObject:Gt.params})),Ot=new se(de,ft,void 0!==Gt.body?Gt.body:null,{headers:Me,context:Gt.context,params:ur,reportProgress:Gt.reportProgress,responseType:Gt.responseType||"json",withCredentials:Gt.withCredentials,transferCache:Gt.transferCache})}const me=(0,l.of)(Ot).pipe((0,C.H)(Me=>this.handler.handle(Me)));if(de instanceof se||"events"===Gt.observe)return me;const He=me.pipe((0,A.p)(Me=>Me instanceof jr));switch(Gt.observe||"body"){case"body":switch(Ot.responseType){case"arraybuffer":return He.pipe((0,S.T)(Me=>{if(null!==Me.body&&!(Me.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Me.body}));case"blob":return He.pipe((0,S.T)(Me=>{if(null!==Me.body&&!(Me.body instanceof Blob))throw new Error("Response is not a Blob.");return Me.body}));case"text":return He.pipe((0,S.T)(Me=>{if(null!==Me.body&&"string"!=typeof Me.body)throw new Error("Response is not a string.");return Me.body}));default:return He.pipe((0,S.T)(Me=>Me.body))}case"response":return He;default:throw new Error(`Unreachable: unhandled observe type ${Gt.observe}}`)}}delete(de,ft={}){return this.request("DELETE",de,ft)}get(de,ft={}){return this.request("GET",de,ft)}head(de,ft={}){return this.request("HEAD",de,ft)}jsonp(de,ft){return this.request("JSONP",de,{params:(new _t).append(ft,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(de,ft={}){return this.request("OPTIONS",de,ft)}patch(de,ft,Gt={}){return this.request("PATCH",de,Bt(Gt,ft))}post(de,ft,Gt={}){return this.request("POST",de,Bt(Gt,ft))}put(de,ft,Gt={}){return this.request("PUT",de,Bt(Gt,ft))}static \u0275fac=function(ft){return new(ft||Jt)(a.KVO(q))};static \u0275prov=a.jDH({token:Jt,factory:Jt.\u0275fac})}return Jt})();const zt=/^\)\]\}',?\n/;function oe(Jt){if(Jt.url)return Jt.url;const ke="X-Request-URL".toLocaleLowerCase();return Jt.headers.get(ke)}let Oe=(()=>{class Jt{fetchImpl=(0,a.WQX)($e,{optional:!0})?.fetch??((...de)=>globalThis.fetch(...de));ngZone=(0,a.WQX)(a.SKi);handle(de){return new y.c(ft=>{const Gt=new AbortController;return this.doRequest(de,Gt.signal,ft).then(Dt,Ot=>ft.error(new wr({error:Ot}))),()=>Gt.abort()})}doRequest(de,ft,Gt){var Ot=this;return(0,n.A)(function*(){const me=Ot.createRequestInit(de);let He;try{const Jr=Ot.ngZone.runOutsideAngular(()=>Ot.fetchImpl(de.urlWithParams,{signal:ft,...me}));(function wt(Jt){Jt.then(Dt,Dt)})(Jr),Gt.next({type:or.Sent}),He=yield Jr}catch(Jr){return void Gt.error(new wr({error:Jr,status:Jr.status??0,statusText:Jr.statusText,url:de.urlWithParams,headers:Jr.headers}))}const Me=new J(He.headers),ur=He.statusText,Er=oe(He)??de.urlWithParams;let kr=He.status,Rr=null;if(de.reportProgress&&Gt.next(new yr({headers:Me,status:kr,statusText:ur,url:Er})),He.body){const Jr=He.headers.get("content-length"),so=[],xo=He.body.getReader();let bn,rn,Eo=0;const Mn=typeof Zone<"u"&&Zone.current;yield Ot.ngZone.runOutsideAngular((0,n.A)(function*(){for(;;){const{done:Qo,value:Fo}=yield xo.read();if(Qo)break;if(so.push(Fo),Eo+=Fo.length,de.reportProgress){rn="text"===de.responseType?(rn??"")+(bn??=new TextDecoder).decode(Fo,{stream:!0}):void 0;const Ei=()=>Gt.next({type:or.DownloadProgress,total:Jr?+Jr:void 0,loaded:Eo,partialText:rn});Mn?Mn.run(Ei):Ei()}}}));const Ro=Ot.concatChunks(so,Eo);try{const Qo=He.headers.get("Content-Type")??"";Rr=Ot.parseBody(de,Ro,Qo)}catch(Qo){return void Gt.error(new wr({error:Qo,headers:new J(He.headers),status:He.status,statusText:He.statusText,url:oe(He)??de.urlWithParams}))}}0===kr&&(kr=Rr?200:0),kr>=200&&kr<300?(Gt.next(new jr({body:Rr,headers:Me,status:kr,statusText:ur,url:Er})),Gt.complete()):Gt.error(new wr({error:Rr,headers:Me,status:kr,statusText:ur,url:Er}))})()}parseBody(de,ft,Gt){switch(de.responseType){case"json":const Ot=(new TextDecoder).decode(ft).replace(zt,"");return""===Ot?null:JSON.parse(Ot);case"text":return(new TextDecoder).decode(ft);case"blob":return new Blob([ft],{type:Gt});case"arraybuffer":return ft.buffer}}createRequestInit(de){const ft={},Gt=de.withCredentials?"include":void 0;if(de.headers.forEach((Ot,me)=>ft[Ot]=me.join(",")),de.headers.has("Accept")||(ft.Accept="application/json, text/plain, */*"),!de.headers.has("Content-Type")){const Ot=de.detectContentTypeHeader();null!==Ot&&(ft["Content-Type"]=Ot)}return{body:de.serializeBody(),method:de.method,headers:ft,credentials:Gt}}concatChunks(de,ft){const Gt=new Uint8Array(ft);let Ot=0;for(const me of de)Gt.set(me,Ot),Ot+=me.length;return Gt}static \u0275fac=function(ft){return new(ft||Jt)};static \u0275prov=a.jDH({token:Jt,factory:Jt.\u0275fac})}return Jt})();class $e{}function Dt(){}function ie(Jt,ke){return ke(Jt)}const re=new a.nKC(""),Ve=new a.nKC(""),tr=new a.nKC("",{providedIn:"root",factory:()=>!0});let Or=(()=>{class Jt extends q{backend;injector;chain=null;pendingTasks=(0,a.WQX)(a.TgB);contributeToStability=(0,a.WQX)(tr);constructor(de,ft){super(),this.backend=de,this.injector=ft}handle(de){if(null===this.chain){const ft=Array.from(new Set([...this.injector.get(re),...this.injector.get(Ve,[])]));this.chain=ft.reduceRight((Gt,Ot)=>function Te(Jt,ke,de){return(ft,Gt)=>(0,a.N4e)(de,()=>ke(ft,Ot=>Jt(Ot,Gt)))}(Gt,Ot,this.injector),ie)}if(this.contributeToStability){const ft=this.pendingTasks.add();return this.chain(de,Gt=>this.backend.handle(Gt)).pipe((0,T.j)(()=>this.pendingTasks.remove(ft)))}return this.chain(de,ft=>this.backend.handle(ft))}static \u0275fac=function(ft){return new(ft||Jt)(a.KVO(X),a.KVO(a.uvJ))};static \u0275prov=a.jDH({token:Jt,factory:Jt.\u0275fac})}return Jt})();const Se=/^\)\]\}',?\n/;let ar=(()=>{class Jt{xhrFactory;constructor(de){this.xhrFactory=de}handle(de){if("JSONP"===de.method)throw new a.wOt(-2800,!1);const ft=this.xhrFactory;return(ft.\u0275loadImpl?(0,k.H)(ft.\u0275loadImpl()):(0,l.of)(null)).pipe((0,O.n)(()=>new y.c(Ot=>{const me=ft.build();if(me.open(de.method,de.urlWithParams),de.withCredentials&&(me.withCredentials=!0),de.headers.forEach((so,xo)=>me.setRequestHeader(so,xo.join(","))),de.headers.has("Accept")||me.setRequestHeader("Accept","application/json, text/plain, */*"),!de.headers.has("Content-Type")){const so=de.detectContentTypeHeader();null!==so&&me.setRequestHeader("Content-Type",so)}if(de.responseType){const so=de.responseType.toLowerCase();me.responseType="json"!==so?so:"text"}const He=de.serializeBody();let Me=null;const ur=()=>{if(null!==Me)return Me;const so=me.statusText||"OK",xo=new J(me.getAllResponseHeaders()),Eo=function Sr(Jt){return"responseURL"in Jt&&Jt.responseURL?Jt.responseURL:/^X-Request-URL:/m.test(Jt.getAllResponseHeaders())?Jt.getResponseHeader("X-Request-URL"):null}(me)||de.url;return Me=new yr({headers:xo,status:me.status,statusText:so,url:Eo}),Me},Er=()=>{let{headers:so,status:xo,statusText:Eo,url:bn}=ur(),rn=null;204!==xo&&(rn=typeof me.response>"u"?me.responseText:me.response),0===xo&&(xo=rn?200:0);let Mn=xo>=200&&xo<300;if("json"===de.responseType&&"string"==typeof rn){const Ro=rn;rn=rn.replace(Se,"");try{rn=""!==rn?JSON.parse(rn):null}catch(Qo){rn=Ro,Mn&&(Mn=!1,rn={error:Qo,text:rn})}}Mn?(Ot.next(new jr({body:rn,headers:so,status:xo,statusText:Eo,url:bn||void 0})),Ot.complete()):Ot.error(new wr({error:rn,headers:so,status:xo,statusText:Eo,url:bn||void 0}))},kr=so=>{const{url:xo}=ur(),Eo=new wr({error:so,status:me.status||0,statusText:me.statusText||"Unknown Error",url:xo||void 0});Ot.error(Eo)};let Rr=!1;const $r=so=>{Rr||(Ot.next(ur()),Rr=!0);let xo={type:or.DownloadProgress,loaded:so.loaded};so.lengthComputable&&(xo.total=so.total),"text"===de.responseType&&me.responseText&&(xo.partialText=me.responseText),Ot.next(xo)},Jr=so=>{let xo={type:or.UploadProgress,loaded:so.loaded};so.lengthComputable&&(xo.total=so.total),Ot.next(xo)};return me.addEventListener("load",Er),me.addEventListener("error",kr),me.addEventListener("timeout",kr),me.addEventListener("abort",kr),de.reportProgress&&(me.addEventListener("progress",$r),null!==He&&me.upload&&me.upload.addEventListener("progress",Jr)),me.send(He),Ot.next({type:or.Sent}),()=>{me.removeEventListener("error",kr),me.removeEventListener("abort",kr),me.removeEventListener("load",Er),me.removeEventListener("timeout",kr),de.reportProgress&&(me.removeEventListener("progress",$r),null!==He&&me.upload&&me.upload.removeEventListener("progress",Jr)),me.readyState!==me.DONE&&me.abort()}})))}static \u0275fac=function(ft){return new(ft||Jt)(a.KVO(P.N0))};static \u0275prov=a.jDH({token:Jt,factory:Jt.\u0275fac})}return Jt})();const dr=new a.nKC(""),ao=new a.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),zo=new a.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class To{}let Ho=(()=>{class Jt{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(de,ft,Gt){this.doc=de,this.platform=ft,this.cookieName=Gt}getToken(){if("server"===this.platform)return null;const de=this.doc.cookie||"";return de!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,P._b)(de,this.cookieName),this.lastCookieString=de),this.lastToken}static \u0275fac=function(ft){return new(ft||Jt)(a.KVO(P.qQ),a.KVO(a.Agw),a.KVO(ao))};static \u0275prov=a.jDH({token:Jt,factory:Jt.\u0275fac})}return Jt})();function we(Jt,ke){const de=Jt.url.toLowerCase();if(!(0,a.WQX)(dr)||"GET"===Jt.method||"HEAD"===Jt.method||de.startsWith("http://")||de.startsWith("https://"))return ke(Jt);const ft=(0,a.WQX)(To).getToken(),Gt=(0,a.WQX)(zo);return null!=ft&&!Jt.headers.has(Gt)&&(Jt=Jt.clone({headers:Jt.headers.set(Gt,ft)})),ke(Jt)}var Mt=function(Jt){return Jt[Jt.Interceptors=0]="Interceptors",Jt[Jt.LegacyInterceptors=1]="LegacyInterceptors",Jt[Jt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Jt[Jt.NoXsrfProtection=3]="NoXsrfProtection",Jt[Jt.JsonpSupport=4]="JsonpSupport",Jt[Jt.RequestsMadeViaParent=5]="RequestsMadeViaParent",Jt[Jt.Fetch=6]="Fetch",Jt}(Mt||{});function $t(...Jt){const ke=[Fe,ar,Or,{provide:q,useExisting:Or},{provide:X,useFactory:()=>(0,a.WQX)(Oe,{optional:!0})??(0,a.WQX)(ar)},{provide:re,useValue:we,multi:!0},{provide:dr,useValue:!0},{provide:To,useClass:Ho}];for(const de of Jt)ke.push(...de.\u0275providers);return(0,a.EmA)(ke)}function Ce(Jt){return function Wt(Jt,ke){return{\u0275kind:Jt,\u0275providers:ke}}(Mt.Interceptors,Jt.map(ke=>({provide:re,useValue:ke,multi:!0})))}},3107:(i,s,o)=>{"use strict";function a(t,e){return Object.is(t,e)}o.d(s,{bc$:()=>D,iLQ:()=>gm,sZ2:()=>Cd,hnV:()=>Hy,wjH:()=>zn,o8S:()=>ul,BIS:()=>j,gRc:()=>CE,Ql9:()=>FA,Ocv:()=>zA,Z63:()=>Qr,aKT:()=>Oa,uvJ:()=>la,zcH:()=>kl,bkB:()=>nl,ES_:()=>cf,$GK:()=>_n,nKC:()=>de,zZn:()=>Qi,_q3:()=>b1,MKu:()=>w1,xe9:()=>u1,Co$:()=>l_,Vns:()=>fh,SKi:()=>ia,Xx1:()=>ls,Agw:()=>v,PLl:()=>su,rOR:()=>Ph,sFG:()=>V5,_9s:()=>Oy,czy:()=>gg,WPN:()=>uu,kdw:()=>Aa,C4Q:()=>am,NYb:()=>P3,giA:()=>I_,RxE:()=>gE,c1b:()=>Ew,gXe:()=>Dl,mal:()=>Xs,Tzd:()=>vs,L39:()=>GT,EWP:()=>k1,sbv:()=>jC,a0P:()=>w8,Ol2:()=>Fy,w6W:()=>r3,QZP:()=>C1,Rfq:()=>Mt,oKB:()=>Us,WQX:()=>co,hFB:()=>$m,naY:()=>JA,Hps:()=>Uy,QuC:()=>Oi,EmA:()=>ji,Udg:()=>XT,HJs:()=>y8,N4e:()=>$a,vPA:()=>Tg,O8t:()=>Yg,H3F:()=>k_,H8p:()=>yc,KH2:()=>Kg,TgB:()=>_l,wOt:()=>Or,WHO:()=>T_,e01:()=>M_,lNU:()=>Lo,h9k:()=>Lf,$MX:()=>cg,ZF7:()=>Gu,Kcf:()=>U0,e5t:()=>H0,UyX:()=>j0,cWb:()=>$0,osQ:()=>V0,H5H:()=>Vv,Zy3:()=>fo,mq5:()=>C2,JZv:()=>dr,TL3:()=>ET,LfX:()=>Fi,plB:()=>Ju,jNT:()=>Vy,zjR:()=>O_,ngT:()=>an,hVU:()=>L3,TL$:()=>bf,Tbb:()=>To,rcV:()=>Gl,nM4:()=>Ax,Vt3:()=>pv,GFd:()=>Rx,OA$:()=>Wc,Jv_:()=>Pk,R7$:()=>xg,BMQ:()=>Dv,HbH:()=>a2,ZvI:()=>h2,AVh:()=>Rv,BUC:()=>g2,vxM:()=>w2,wni:()=>ak,C6U:()=>dk,VBU:()=>m_,FsC:()=>w_,jDH:()=>cn,G2t:()=>pi,$C:()=>By,EJ8:()=>y_,rXU:()=>qu,nrm:()=>Bv,eu8:()=>Uv,bVm:()=>Fw,qex:()=>Pw,k0s:()=>Lw,j41:()=>Nw,RV6:()=>E2,xGo:()=>xp,Mr5:()=>$v,KVO:()=>mi,kS0:()=>Yd,QTQ:()=>nw,bIt:()=>Wv,lsd:()=>lk,joV:()=>Uo,qSk:()=>Co,XpG:()=>X2,nI1:()=>Yk,bMT:()=>Qk,i5U:()=>Zk,SdG:()=>Q2,NAR:()=>Y2,Y8G:()=>Mv,FS9:()=>Xv,Mz_:()=>Vw,lJ4:()=>Bk,eq3:()=>Uk,l_i:()=>$k,sMw:()=>jk,ziG:()=>Vk,lV:()=>Hk,NyB:()=>uk,mGM:()=>ck,sdS:()=>pk,Dyx:()=>_2,Z7z:()=>v2,Vm6:()=>y2,Njj:()=>pd,eBV:()=>Ml,npT:()=>yb,f$h:()=>Ff,B4B:()=>Xu,n$t:()=>vb,Aen:()=>Zl,xc7:()=>Ov,Kam:()=>Kv,zvX:()=>jv,DNE:()=>fv,C5r:()=>qk,EFF:()=>xk,JRh:()=>Qv,SpI:()=>Hw,DH7:()=>Ok,mxI:()=>qv,R50:()=>Zv,GBs:()=>sk}),o(3014);let l=null,y=!1,k=1;const C=Symbol("SIGNAL");function A(t){const e=l;return l=t,e}const P={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 q(t){if(y)throw new Error("");if(null===l)return;l.consumerOnSignalRead(t);const e=l.nextProducerIndex++;Pt(l),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function yt(t){Pt(t);for(let e=0;e0}function Pt(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function ae(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function le(t){return void 0!==t.producerNode}function ve(t){const e=Object.create(yr);e.computation=t;const r=()=>{if(J(e),q(e),e.value===fr)throw e.error;return e.value};return r[C]=e,r}const se=Symbol("UNSET"),or=Symbol("COMPUTING"),fr=Symbol("ERRORED"),yr={...P,value:se,dirty:!0,error:null,equal:a,producerMustRecompute:t=>t.value===se||t.value===or,producerRecomputeValue(t){if(t.value===or)throw new Error("Detected cycle in computations.");const e=t.value;t.value=or;const r=Et(t);let c;try{c=t.computation()}catch(p){c=fr,t.error=p}finally{It(t,r)}e!==se&&e!==fr&&c!==fr&&t.equal(e,c)?t.value=e:(t.value=c,t.version++)}};let wr=function jr(){throw new Error};function Qt(){wr()}let Ht=null;function Yt(t,e){ct()||Qt(),t.equal(t.value,e)||(t.value=e,function Dt(t){t.version++,function X(){k++}(),ht(t),Ht?.()}(t))}const $e={...P,equal:a,value:void 0};const ie=()=>{},Xe={...P,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{null!==t.schedule&&t.schedule(t.ref)},hasRun:!1,cleanupFn:ie};var Ke=o(1217),re=o(8447),Ve=o(5710),tr=o(7947);o(1703);const Lo="https://g.co/ng/security#xss";class Or extends Error{code;constructor(e,r){super(fo(e,r)),this.code=e}}function fo(t,e){return`NG0${Math.abs(t)}${e?": "+e:""}`}const cr=Symbol("InputSignalNode#UNSET"),Lt={...$e,transformFn:void 0,applyValueToInputSignal(t,e){Yt(t,e)}};function W(t,e){const r=Object.create(Lt);function c(){if(q(r),r.value===cr)throw new Or(-950,!1);return r.value}return r.value=t,r.transformFn=e?.transform,c[C]=r,c}function N(t){return{toString:t}.toString()}const Rt="__parameters__";function Sr(t,e,r){return N(()=>{const c=function Se(t){return function(...r){if(t){const c=t(...r);for(const p in c)this[p]=c[p]}}}(e);function p(...m){if(this instanceof p)return c.apply(this,m),this;const x=new p(...m);return M.annotation=x,M;function M(B,ot,Ct){const jt=B.hasOwnProperty(Rt)?B[Rt]:Object.defineProperty(B,Rt,{value:[]})[Rt];for(;jt.length<=Ct;)jt.push(null);return(jt[Ct]=jt[Ct]||[]).push(x),B}}return r&&(p.prototype=Object.create(r.prototype)),p.prototype.ngMetadataName=t,p.annotationCls=p,p})}const dr=globalThis;function xr(t){for(let e in t)if(t[e]===xr)return e;throw Error("Could not find renamed property on target object.")}function zo(t,e){for(const r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function To(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(To).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 r=e.indexOf("\n");return-1===r?e:e.substring(0,r)}function Ho(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const ze=xr({__forward_ref__:xr});function Mt(t){return t.__forward_ref__=Mt,t.toString=function(){return To(this())},t}function Wt(t){return $t(t)?t():t}function $t(t){return"function"==typeof t&&t.hasOwnProperty(ze)&&t.__forward_ref__===Mt}function cn(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function pi(t){return{providers:t.providers||[],imports:t.imports||[]}}function Ji(t){return is(t,On)||is(t,Jt)}function Fi(t){return null!==Ji(t)}function is(t,e){return t.hasOwnProperty(e)?t[e]:null}function hi(t){return t&&(t.hasOwnProperty(Mi)||t.hasOwnProperty(ke))?t[Mi]:null}const On=xr({\u0275prov:xr}),Mi=xr({\u0275inj:xr}),Jt=xr({ngInjectableDef:xr}),ke=xr({ngInjectorDef:xr});class de{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(e,r){this._desc=e,this.\u0275prov=void 0,"number"==typeof r?this.__NG_ELEMENT_ID__=r:void 0!==r&&(this.\u0275prov=cn({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function $r(t){return t&&!!t.\u0275providers}const Jr=xr({\u0275cmp:xr}),so=xr({\u0275dir:xr}),xo=xr({\u0275pipe:xr}),Eo=xr({\u0275mod:xr}),bn=xr({\u0275fac:xr}),rn=xr({__NG_ELEMENT_ID__:xr}),Mn=xr({__NG_ENV_ID__:xr});function Ro(t){return"string"==typeof t?t:null==t?"":String(t)}function Pn(t,e){throw new Or(-201,!1)}var _n=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}(_n||{});let ss;function Ka(){return ss}function Ii(t){const e=ss;return ss=t,e}function Ea(t,e,r){const c=Ji(t);return c&&"root"==c.providedIn?void 0===c.value?c.value=c.factory():c.value:r&_n.Optional?null:void 0!==e?e:void Pn()}const Ki={},gi="__NG_DI_FLAG__",Gi="ngTempTokenPath",Xo=/\n/gm,fi="__source";let ni;function Xi(t){const e=ni;return ni=t,e}function Qs(t,e=_n.Default){if(void 0===ni)throw new Or(-203,!1);return null===ni?Ea(t,void 0,e):ni.get(t,e&_n.Optional?null:void 0,e)}function mi(t,e=_n.Default){return(Ka()||Qs)(Wt(t),e)}function co(t,e=_n.Default){return mi(t,Da(e))}function Da(t){return typeof t>"u"||"number"==typeof t?t:(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Ga(t){const e=[];for(let r=0;rArray.isArray(r)?ga(r,e):e(r))}function Cs(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function Ta(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function qt(t,e,r){let c=ne(t,e);return c>=0?t[1|c]=r:(c=~c,function Ds(t,e,r,c){let p=t.length;if(p==e)t.push(r,c);else if(1===p)t.push(c,t[0]),t[0]=r;else{for(p--,t.push(t[p-1],t[p]);p>e;)t[p]=t[p-2],p--;t[e]=r,t[e+1]=c}}(t,c,e,r)),c}function et(t,e){const r=ne(t,e);if(r>=0)return t[1|r]}function ne(t,e){return function Fr(t,e,r){let c=0,p=t.length>>r;for(;p!==c;){const m=c+(p-c>>1),x=t[m<e?p=m:c=m+1}return~(p<{r.push(x)};return ga(e,x=>{const M=x;lt(M,m,[],c)&&(p||=[],p.push(M))}),void 0!==p&&us(p,m),r}function us(t,e){for(let r=0;r{e(m,c)})}}function lt(t,e,r,c){if(!(t=Wt(t)))return!1;let p=null,m=hi(t);const x=!m&&Ko(t);if(m||x){if(x&&!x.standalone)return!1;p=t}else{const B=t.ngModule;if(m=hi(B),!m)return!1;p=B}const M=c.has(p);if(x){if(M)return!1;if(c.add(p),x.dependencies){const B="function"==typeof x.dependencies?x.dependencies():x.dependencies;for(const ot of B)lt(ot,e,r,c)}}else{if(!m)return!1;{if(null!=m.imports&&!M){let ot;c.add(p);try{ga(m.imports,Ct=>{lt(Ct,e,r,c)&&(ot||=[],ot.push(Ct))})}finally{}void 0!==ot&&us(ot,e)}if(!M){const ot=Di(p)||(()=>new p);e({provide:p,useFactory:ot,deps:Hr},p),e({provide:Wn,useValue:p,multi:!0},p),e({provide:Qr,useValue:()=>mi(p),multi:!0},p)}const B=m.providers;if(null!=B&&!M){const ot=t;Q(B,Ct=>{e(Ct,ot)})}}}return p!==t&&void 0!==t.providers}function Q(t,e){for(let r of t)$r(r)&&(r=r.\u0275providers),Array.isArray(r)?Q(r,e):e(r)}const Ft=xr({provide:String,useValue:xr});function je(t){return null!==t&&"object"==typeof t&&Ft in t}function ea(t){return"function"==typeof t}const yc=new de(""),js={},pl={};let lc;function wn(){return void 0===lc&&(lc=new Mo),lc}class la{}class ba extends la{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(e,r,c,p){super(),this.parent=r,this.source=c,this.scopes=p,uc(e,x=>this.processProvider(x)),this.records.set(qo,vn(void 0,this)),p.has("environment")&&this.records.set(la,vn(void 0,this));const m=this.records.get(yc);null!=m&&"string"==typeof m.value&&this.scopes.add(m.value),this.injectorDefTypes=new Set(this.get(Wn,Hr,_n.Self))}destroy(){dc(this),this._destroyed=!0;const e=A(null);try{for(const c of this._ngOnDestroyHooks)c.ngOnDestroy();const r=this._onDestroyHooks;this._onDestroyHooks=[];for(const c of r)c()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),A(e)}}onDestroy(e){return dc(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){dc(this);const r=Xi(this),c=Ii(void 0);try{return e()}finally{Xi(r),Ii(c)}}get(e,r=Ki,c=_n.Default){if(dc(this),e.hasOwnProperty(Mn))return e[Mn](this);c=Da(c);const m=Xi(this),x=Ii(void 0);try{if(!(c&_n.SkipSelf)){let B=this.records.get(e);if(void 0===B){const ot=function ed(t){return"function"==typeof t||"object"==typeof t&&t instanceof de}(e)&&Ji(e);B=ot&&this.injectableDefInScope(ot)?vn(Vs(e),js):null,this.records.set(e,B)}if(null!=B)return this.hydrate(e,B)}return(c&_n.Self?wn():this.parent).get(e,r=c&_n.Optional&&r===Ki?null:r)}catch(M){if("NullInjectorError"===M.name){if((M[Gi]=M[Gi]||[]).unshift(To(e)),m)throw M;return function ca(t,e,r,c){const p=t[Gi];throw e[fi]&&p.unshift(e[fi]),t.message=function Vn(t,e,r,c=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let p=To(e);if(Array.isArray(e))p=e.map(To).join(" -> ");else if("object"==typeof e){let m=[];for(let x in e)if(e.hasOwnProperty(x)){let M=e[x];m.push(x+":"+("string"==typeof M?JSON.stringify(M):To(M)))}p=`{${m.join(", ")}}`}return`${r}${c?"("+c+")":""}[${p}]: ${t.replace(Xo,"\n ")}`}("\n"+t.message,p,r,c),t.ngTokenPath=p,t[Gi]=null,t}(M,e,"R3InjectorError",this.source)}throw M}finally{Ii(x),Xi(m)}}resolveInjectorInitializers(){const e=A(null),r=Xi(this),c=Ii(void 0);try{const m=this.get(Qr,Hr,_n.Self);for(const x of m)x()}finally{Xi(r),Ii(c),A(e)}}toString(){const e=[],r=this.records;for(const c of r.keys())e.push(To(c));return`R3Injector[${e.join(", ")}]`}processProvider(e){let r=ea(e=Wt(e))?e:Wt(e&&e.provide);const c=function Fd(t){return je(t)?vn(void 0,t.useValue):vn(_c(t),js)}(e);if(!ea(e)&&!0===e.multi){let p=this.records.get(r);p||(p=vn(void 0,js,!0),p.factory=()=>Ga(p.multi),this.records.set(r,p)),r=e,p.multi.push(e)}this.records.set(r,c)}hydrate(e,r){const c=A(null);try{return r.value===js&&(r.value=pl,r.value=r.factory()),"object"==typeof r.value&&r.value&&function td(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{A(c)}}injectableDefInScope(e){if(!e.providedIn)return!1;const r=Wt(e.providedIn);return"string"==typeof r?"any"===r||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){const r=this._onDestroyHooks.indexOf(e);-1!==r&&this._onDestroyHooks.splice(r,1)}}function Vs(t){const e=Ji(t),r=null!==e?e.factory:Di(t);if(null!==r)return r;if(t instanceof de)throw new Or(204,!1);if(t instanceof Function)return function vc(t){if(t.length>0)throw new Or(204,!1);const r=function si(t){return t&&(t[On]||t[Jt])||null}(t);return null!==r?()=>r.factory(t):()=>new t}(t);throw new Or(204,!1)}function _c(t,e,r){let c;if(ea(t)){const p=Wt(t);return Di(p)||Vs(p)}if(je(t))c=()=>Wt(t.useValue);else if(function Jo(t){return!(!t||!t.useFactory)}(t))c=()=>t.useFactory(...Ga(t.deps||[]));else if(function _o(t){return!(!t||!t.useExisting)}(t))c=()=>mi(Wt(t.useExisting));else{const p=Wt(t&&(t.useClass||t.provide));if(!function Ic(t){return!!t.deps}(t))return Di(p)||Vs(p);c=()=>new p(...Ga(t.deps))}return c}function dc(t){if(t.destroyed)throw new Or(205,!1)}function vn(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function uc(t,e){for(const r of t)Array.isArray(r)?uc(r,e):r&&$r(r)?uc(r.\u0275providers,e):e(r)}function $a(t,e){t instanceof ba&&dc(t);const c=Xi(t),p=Ii(void 0);try{return e()}finally{Xi(c),Ii(p)}}function Oc(){return void 0!==Ka()||null!=function ha(){return ni}()}function Ss(t){if(!Oc())throw new Or(-203,!1)}const ii=0,Pr=1,Ao=2,Rn=3,wa=4,Qn=5,ai=6,Bn=7,Kn=8,ri=9,li=10,on=11,Xa=12,Zs=13,Ui=14,bi=15,Cn=16,Va=17,di=18,Un=19,U=20,Tt=21,rt=22,mt=23,xe=24,Ge=25,Br=1,dn=7,Dn=9,No=10;var ln=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(ln||{});function nn(t){return Array.isArray(t)&&"object"==typeof t[Br]}function xn(t){return Array.isArray(t)&&!0===t[Br]}function ya(t){return!!(4&t.flags)}function Ni(t){return t.componentOffset>-1}function hs(t){return!(1&~t.flags)}function Yi(t){return!!t.template}function Hs(t){return!!(512&t[Ao])}class Tl{previousValue;currentValue;firstChange;constructor(e,r,c){this.previousValue=e,this.currentValue=r,this.firstChange=c}isFirstChange(){return this.firstChange}}function Ha(t,e,r,c){null!==e?e.applyValueToInputSignal(e,c):t[r]=c}const Wc=(()=>{const t=()=>zs;return t.ngInherit=!0,t})();function zs(t){return t.type.prototype.ngOnChanges&&(t.setInput=Kc),Bo}function Bo(){const t=gc(this),e=t?.current;if(e){const r=t.previous;if(r===Ir)t.previous=e;else for(let c in e)r[c]=e[c];t.current=null,this.ngOnChanges(e)}}function Kc(t,e,r,c,p){const m=this.declaredInputs[c],x=gc(t)||function bu(t,e){return t[Gc]=e}(t,{previous:Ir,current:null}),M=x.current||(x.current={}),B=x.previous,ot=B[m];M[m]=new Tl(ot&&ot.currentValue,r,B===Ir),Ha(t,e,p,r)}const Gc="__ngSimpleChanges__";function gc(t){return t[Gc]||null}const Ws=function(t,e,r){},cp="svg";function qn(t){for(;Array.isArray(t);)t=t[ii];return t}function fl(t,e){return qn(e[t])}function oa(t,e){return qn(e[t.index])}function G(t,e){return t.data[e]}function F(t,e){return t[e]}function K(t,e){const r=e[t];return nn(r)?r:r[ii]}function Vt(t){return!(128&~t[Ao])}function pr(t,e){return null==e?null:t[e]}function nr(t){t[Va]=0}function uo(t){1024&t[Ao]||(t[Ao]|=1024,Vt(t)&&Ia(t))}function Io(t){return!!(9216&t[Ao]||t[xe]?.dirty)}function Gn(t){t[li].changeDetectionScheduler?.notify(9),64&t[Ao]&&(t[Ao]|=1024),Io(t)&&Ia(t)}function Ia(t){t[li].changeDetectionScheduler?.notify(0);let e=da(t);for(;null!==e&&!(8192&e[Ao])&&(e[Ao]|=8192,Vt(e));)e=da(e)}function na(t,e){if(!(256&~t[Ao]))throw new Or(911,!1);null===t[Tt]&&(t[Tt]=[]),t[Tt].push(e)}function da(t){const e=t[Rn];return xn(e)?e[Rn]:e}const Wo={lFrame:ro(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let jd=!1;function pp(){return Wo.bindingsEnabled}function ml(){return null!==Wo.skipHydrationRootTNode}function _r(){return Wo.lFrame.lView}function fn(){return Wo.lFrame.tView}function Ml(t){return Wo.lFrame.contextLView=t,t[Kn]}function pd(t){return Wo.lFrame.contextLView=null,t}function An(){let t=Nc();for(;null!==t&&64===t.type;)t=t.parent;return t}function Nc(){return Wo.lFrame.currentTNode}function Qa(t,e){const r=Wo.lFrame;r.currentTNode=t,r.isParent=e}function Il(){return Wo.lFrame.isParent}function gs(){Wo.lFrame.isParent=!1}function fs(){return jd}function Zc(t){const e=jd;return jd=t,e}function Za(){const t=Wo.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function I(){return Wo.lFrame.bindingIndex++}function L(t){const e=Wo.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function xt(t,e){const r=Wo.lFrame;r.bindingIndex=r.bindingRootIndex=t,pe(e)}function pe(t){Wo.lFrame.currentDirectiveIndex=t}function Ie(t){const e=Wo.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function We(){return Wo.lFrame.currentQueryIndex}function sr(t){Wo.lFrame.currentQueryIndex=t}function Cr(t){const e=t[Pr];return 2===e.type?e.declTNode:1===e.type?t[Qn]:null}function Qe(t,e,r){if(r&_n.SkipSelf){let p=e,m=t;for(;!(p=p.parent,null!==p||r&_n.Host||(p=Cr(m),null===p||(m=m[Ui],10&p.type))););if(null===p)return!1;e=p,t=m}const c=Wo.lFrame=zr();return c.currentTNode=e,c.lView=t,!0}function Gr(t){const e=zr(),r=t[Pr];Wo.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function zr(){const t=Wo.lFrame,e=null===t?null:t.child;return null===e?ro(t):e}function ro(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 Ar(){const t=Wo.lFrame;return Wo.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Vr=Ar;function Xr(){const t=Ar();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 Ur(){return Wo.lFrame.selectedIndex}function Oo(t){Wo.lFrame.selectedIndex=t}function no(){const t=Wo.lFrame;return G(t.tView,t.selectedIndex)}function Co(){Wo.lFrame.currentNamespace=cp}function Uo(){!function oi(){Wo.lFrame.currentNamespace=null}()}let Xn=!0;function yi(){return Xn}function Si(t){Xn=t}function wo(t,e){for(let r=e.directiveStart,c=e.directiveEnd;r=c)break}else e[B]<0&&(t[Va]+=65536),(M>14>16&&(3&t[Ao])===e&&(t[Ao]+=16384,fa(M,m)):fa(M,m)}const Pa=-1;class tc{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(e,r,c){this.factory=e,this.canSeeViewProviders=r,this.injectImpl=c}}function Ja(t,e,r){let c=0;for(;ce){x=m-1;break}}}for(;m>16}(t),c=e;for(;r>0;)c=c[Ui],r--;return c}let bp=!0;function Lc(t){const e=bp;return bp=t,e}const _u=255,Kd=5;let ef=0;const Pc={};function wp(t,e){const r=xu(t,e);if(-1!==r)return r;const c=e[Pr];c.firstCreatePass&&(t.injectorIndex=e.length,kh(c.data,t),kh(e,null),kh(c.blueprint,null));const p=Rl(t,e),m=t.injectorIndex;if(mp(p)){const x=zd(p),M=Wd(p,e),B=M[Pr].data;for(let ot=0;ot<8;ot++)e[m+ot]=M[x+ot]|B[x+ot]}return e[m+8]=p,m}function kh(t,e){t.push(0,0,0,0,0,0,0,0,e)}function xu(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Rl(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let r=0,c=null,p=e;for(;null!==p;){if(c=Xd(p),null===c)return Pa;if(r++,p=p[Ui],-1!==c.injectorIndex)return c.injectorIndex|r<<16}return Pa}function Nl(t,e,r){!function rf(t,e,r){let c;"string"==typeof r?c=r.charCodeAt(0)||0:r.hasOwnProperty(rn)&&(c=r[rn]),null==c&&(c=r[rn]=ef++);const p=c&_u;e.data[t+(p>>Kd)]|=1<=0?e&_u:Dh:e}(r);if("function"==typeof m){if(!Qe(e,t,c))return c&_n.Host?Gd(p,0,c):Eh(e,r,c,p);try{let x;if(x=m(c),null!=x||c&_n.Optional)return x;Pn()}finally{Vr()}}else if("number"==typeof m){let x=null,M=xu(t,e),B=Pa,ot=c&_n.Host?e[bi][Qn]:null;for((-1===M||c&_n.SkipSelf)&&(B=-1===M?Rl(t,e):e[M+8],B!==Pa&&_p(c,!1)?(x=e[Pr],M=zd(B),e=Wd(B,e)):M=-1);-1!==M;){const Ct=e[Pr];if(Eu(m,M,Ct.data)){const jt=vp(M,e,r,x,c,ot);if(jt!==Pc)return jt}B=e[M+8],B!==Pa&&_p(c,e[Pr].data[M+8]===ot)&&Eu(m,M,e)?(x=Ct,M=zd(B),e=Wd(B,e)):M=-1}}return p}function vp(t,e,r,c,p,m){const x=e[Pr],M=x.data[t+8],Ct=hd(M,x,r,null==c?Ni(M)&&bp:c!=x&&!!(3&M.type),p&_n.Host&&m===M);return null!==Ct?Fc(e,x,Ct,M):Pc}function hd(t,e,r,c,p){const m=t.providerIndexes,x=e.data,M=1048575&m,B=t.directiveStart,Ct=m>>20,Ne=p?M+Ct:t.directiveEnd;for(let Ue=c?M:M+Ct;Ue=B&&qe.type===r)return Ue}if(p){const Ue=x[B];if(Ue&&Yi(Ue)&&Ue.type===r)return B}return null}function Fc(t,e,r,c){let p=t[r];const m=e.data;if(function Cc(t){return t instanceof tc}(p)){const x=p;x.resolving&&function ta(t,e){throw e&&e.join(" > "),new Or(-200,t)}(function Qo(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Ro(t)}(m[r]));const M=Lc(x.canSeeViewProviders);x.resolving=!0;const ot=x.injectImpl?Ii(x.injectImpl):null;Qe(t,c,_n.Default);try{p=t[r]=x.factory(void 0,m,t,c),e.firstCreatePass&&r>=c.directiveStart&&function bs(t,e,r){const{ngOnChanges:c,ngOnInit:p,ngDoCheck:m}=e.type.prototype;if(c){const x=zs(e);(r.preOrderHooks??=[]).push(t,x),(r.preOrderCheckHooks??=[]).push(t,x)}p&&(r.preOrderHooks??=[]).push(0-t,p),m&&((r.preOrderHooks??=[]).push(t,m),(r.preOrderCheckHooks??=[]).push(t,m))}(r,m[r],e)}finally{null!==ot&&Ii(ot),Lc(M),x.resolving=!1,Vr()}}return p}function Eu(t,e,r){return!!(r[e+(t>>Kd)]&1<{const e=t.prototype.constructor,r=e[bn]||Cu(e),c=Object.prototype;let p=Object.getPrototypeOf(t.prototype).constructor;for(;p&&p!==c;){const m=p[bn]||Cu(p);if(m&&m!==r)return m;p=Object.getPrototypeOf(p)}return m=>new m})}function Cu(t){return $t(t)?()=>{const e=Cu(Wt(t));return e&&e()}:Di(t)}function Xd(t){const e=t[Pr],r=e.type;return 2===r?e.declTNode:1===r?t[Qn]:null}function Yd(t){return function ku(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const r=t.attrs;if(r){const c=r.length;let p=0;for(;pmi(qo)});static __NG_ELEMENT_ID__=-1}class cf{attributeName;constructor(e){this.attributeName=e}__NG_ELEMENT_ID__=()=>Yd(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}new de("").__NG_ELEMENT_ID__=t=>{const e=An();if(null===e)throw new Or(204,!1);if(2&e.type)return e.value;if(t&_n.Optional)return null;throw new Or(204,!1)};const Sp=!1;let va=(()=>class t{static __NG_ELEMENT_ID__=Iu;static __NG_ENV_ID__=r=>r})();class Pl extends va{_lView;constructor(e){super(),this._lView=e}onDestroy(e){return na(this._lView,e),()=>function Os(t,e){if(null===t[Tt])return;const r=t[Tt].indexOf(e);-1!==r&&t[Tt].splice(r,1)}(this._lView,e)}}function Iu(){return new Pl(_r())}class rl{}const md=new de("",{providedIn:"root",factory:()=>!1}),Ou=new de(""),ol=new de("");let _l=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Ke.t(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}has(r){return this.pendingTasks.has(r)}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=cn({token:t,providedIn:"root",factory:()=>new t})}return t})();const nl=class Tp extends re.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(e=!1){super(),this.__isAsync=e,Oc()&&(this.destroyRef=co(va,{optional:!0})??void 0,this.pendingTasks=co(_l,{optional:!0})??void 0)}emit(e){const r=A(null);try{super.next(e)}finally{A(r)}}subscribe(e,r,c){let p=e,m=r||(()=>null),x=c;if(e&&"object"==typeof e){const B=e;p=B.next?.bind(B),m=B.error?.bind(B),x=B.complete?.bind(B)}this.__isAsync&&(m=this.wrapInTimeout(m),p&&(p=this.wrapInTimeout(p)),x&&(x=this.wrapInTimeout(x)));const M=super.subscribe({next:p,error:m,complete:x});return e instanceof Ve.yU&&e.add(M),M}wrapInTimeout(e){return r=>{const c=this.pendingTasks?.add();setTimeout(()=>{e(r),void 0!==c&&this.pendingTasks?.remove(c)})}}};function bd(...t){}function Ru(t){let e,r;function c(){t=bd;try{void 0!==r&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(r),void 0!==e&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),c()}),"function"==typeof requestAnimationFrame&&(r=requestAnimationFrame(()=>{t(),c()})),()=>c()}function lf(t){return queueMicrotask(()=>t()),()=>{t=bd}}const xl="isAngularZone",qd=xl+"_ID";let Mp=0;class ia{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new nl(!1);onMicrotaskEmpty=new nl(!1);onStable=new nl(!1);onError=new nl(!1);constructor(e){const{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:c=!1,shouldCoalesceRunChangeDetection:p=!1,scheduleInRootZone:m=Sp}=e;if(typeof Zone>"u")throw new Or(908,!1);Zone.assertZonePatched();const x=this;x._nesting=0,x._outer=x._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(x._inner=x._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(x._inner=x._inner.fork(Zone.longStackTraceZoneSpec)),x.shouldCoalesceEventChangeDetection=!p&&c,x.shouldCoalesceRunChangeDetection=p,x.callbackScheduled=!1,x.scheduleInRootZone=m,function Oh(t){const e=()=>{!function df(t){function e(){Ru(()=>{t.callbackScheduled=!1,Op(t),t.isCheckStableRunning=!0,Ip(t),t.isCheckStableRunning=!1})}t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),Op(t))}(t)},r=Mp++;t._inner=t._inner.fork({name:"angular",properties:{[xl]:!0,[qd]:r,[qd+r]:!0},onInvokeTask:(c,p,m,x,M,B)=>{if(function uf(t){return Nh(t,"__ignore_ng_zone__")}(B))return c.invokeTask(m,x,M,B);try{return Rh(t),c.invokeTask(m,x,M,B)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===x.type||t.shouldCoalesceRunChangeDetection)&&e(),wd(t)}},onInvoke:(c,p,m,x,M,B,ot)=>{try{return Rh(t),c.invoke(m,x,M,B,ot)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!function Fm(t){return Nh(t,"__scheduler_tick__")}(B)&&e(),wd(t)}},onHasTask:(c,p,m,x)=>{c.hasTask(m,x),p===m&&("microTask"==x.change?(t._hasPendingMicrotasks=x.microTask,Op(t),Ip(t)):"macroTask"==x.change&&(t.hasPendingMacrotasks=x.macroTask))},onHandleError:(c,p,m,x)=>(c.handleError(m,x),t.runOutsideAngular(()=>t.onError.emit(x)),!1)})}(x)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(xl)}static assertInAngularZone(){if(!ia.isInAngularZone())throw new Or(909,!1)}static assertNotInAngularZone(){if(ia.isInAngularZone())throw new Or(909,!1)}run(e,r,c){return this._inner.run(e,r,c)}runTask(e,r,c,p){const m=this._inner,x=m.scheduleEventTask("NgZoneEvent: "+p,e,Ih,bd,bd);try{return m.runTask(x,r,c)}finally{m.cancelTask(x)}}runGuarded(e,r,c){return this._inner.runGuarded(e,r,c)}runOutsideAngular(e){return this._outer.run(e)}}const Ih={};function Ip(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 Op(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&!0===t.callbackScheduled)}function Rh(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function wd(t){t._nesting--,Ip(t)}class Rp{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new nl;onMicrotaskEmpty=new nl;onStable=new nl;onError=new nl;run(e,r,c){return e.apply(r,c)}runGuarded(e,r,c){return e.apply(r,c)}runOutsideAngular(e){return e()}runTask(e,r,c,p){return e.apply(r,c)}}function Nh(t,e){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0]?.data?.[e]}class kl{_console=console;handleError(e){this._console.error("ERROR",e)}}const Jd=new de("",{providedIn:"root",factory:()=>{const t=co(ia),e=co(kl);return r=>t.runOutsideAngular(()=>e.handleError(r))}});function Lh(t,e){return W(t,e)}const $m=(Lh.required=function vd(t){return W(cr,t)},Lh);function _d(){return El(An(),_r())}function El(t,e){return new Oa(oa(t,e))}let Oa=(()=>class t{nativeElement;constructor(r){this.nativeElement=r}static __NG_ELEMENT_ID__=_d})();function Np(t){return t instanceof Oa?t.nativeElement:t}function Nu(){return this._results[Symbol.iterator]()}class Ph{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new re.B}constructor(e=!1){this._emitDistinctChangesOnly=e}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;const c=function ci(t){return t.flat(Number.POSITIVE_INFINITY)}(e);(this._changesDetected=!function Bi(t,e,r){if(t.length!==e.length)return!1;for(let c=0;cQp}),Qp="ng",su=new de(""),v=new de("",{providedIn:"platform",factory:()=>"unknown"}),D=new de(""),j=new de("",{providedIn:"root",factory:()=>rc().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),ei=new de("",{providedIn:"root",factory:()=>!1}),vo=new Set;function an(t){vo.has(t)||(vo.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var zn=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(zn||{});let Ba=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=cn({token:t,providedIn:"root",factory:()=>new t})}return t})();const Ns=[zn.EarlyRead,zn.Write,zn.MixedReadWrite,zn.Read];let oc=(()=>{class t{ngZone=co(ia);scheduler=co(rl);errorHandler=co(kl,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;execute(){this.executing=!0;for(const r of Ns)for(const c of this.sequences)if(!c.erroredOrDestroyed&&c.hooks[r])try{c.pipelinedValue=this.ngZone.runOutsideAngular(()=>c.hooks[r](c.pipelinedValue))}catch(p){c.erroredOrDestroyed=!0,this.errorHandler?.handleError(p)}this.executing=!1;for(const r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(const r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(r){this.executing?this.deferredRegistrations.add(r):(this.sequences.add(r),this.scheduler.notify(7))}unregister(r){this.executing&&this.sequences.has(r)?(r.erroredOrDestroyed=!0,r.pipelinedValue=void 0,r.once=!0):(this.sequences.delete(r),this.deferredRegistrations.delete(r))}static \u0275prov=cn({token:t,providedIn:"root",factory:()=>new t})}return t})();class mc{impl;hooks;once;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(e,r,c,p){this.impl=e,this.hooks=r,this.once=c,this.unregisterOnDestroy=p?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function vs(t,e){!e?.injector&&Ss();const r=e?.injector??co(Qi);return typeof ngServerMode<"u"&&ngServerMode?$u:(an("NgAfterRender"),jl(t,r,e,!1))}function Xs(t,e){!e?.injector&&Ss();const r=e?.injector??co(Qi);return typeof ngServerMode<"u"&&ngServerMode?$u:(an("NgAfterNextRender"),jl(t,r,e,!0))}function jl(t,e,r,c){const p=e.get(Ba);p.impl??=e.get(oc);const m=r?.phase??zn.MixedReadWrite,x=!0!==r?.manualCleanup?e.get(va):null,M=new mc(p.impl,function _s(t,e){if(t instanceof Function){const r=[void 0,void 0,void 0,void 0];return r[e]=t,r}return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}(t,m),c,x);return p.impl.register(M),M}const $u={destroy(){}};let Jm=()=>null;function og(t,e,r=!1){return Jm(t,e,r)}var Dl=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Dl||{});let lu,ag;function Ku(t){return function Af(){if(void 0===lu&&(lu=null,dr.trustedTypes))try{lu=dr.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return lu}()?.createHTML(t)||t}function Tf(){if(void 0===ag&&(ag=null,dr.trustedTypes))try{ag=dr.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return ag}function cb(t){return Tf()?.createHTML(t)||t}function db(t){return Tf()?.createScriptURL(t)||t}class du{changingThisBreaksApplicationSecurity;constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Lo})`}}class N0 extends du{getTypeName(){return"HTML"}}class L0 extends du{getTypeName(){return"Style"}}class sg extends du{getTypeName(){return"Script"}}class P0 extends du{getTypeName(){return"URL"}}class F0 extends du{getTypeName(){return"ResourceURL"}}function Gl(t){return t instanceof du?t.changingThisBreaksApplicationSecurity:t}function Gu(t,e){const r=function B0(t){return t instanceof du&&t.getTypeName()||null}(t);if(null!=r&&r!==e){if("ResourceURL"===r&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${Lo})`)}return r===e}function U0(t){return new N0(t)}function $0(t){return new L0(t)}function j0(t){return new sg(t)}function V0(t){return new P0(t)}function H0(t){return new F0(t)}class Mf{inertDocumentHelper;constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const r=(new window.DOMParser).parseFromString(Ku(e),"text/html").body;return null===r?this.inertDocumentHelper.getInertBodyElement(e):(r.firstChild?.remove(),r)}catch{return null}}}class z0{defaultDoc;inertDocument;constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){const r=this.inertDocument.createElement("template");return r.innerHTML=Ku(e),r}}const If=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function cg(t){return(t=String(t)).match(If)?t:"unsafe:"+t}function Xl(t){const e={};for(const r of t.split(","))e[r]=!0;return e}function ih(...t){const e={};for(const r of t)for(const c in r)r.hasOwnProperty(c)&&(e[c]=!0);return e}const pb=Xl("area,br,col,hr,img,wbr"),hb=Xl("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),gb=Xl("rp,rt"),Of=ih(pb,ih(hb,Xl("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")),ih(gb,Xl("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")),ih(gb,hb)),lg=Xl("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mb=ih(lg,Xl("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"),Xl("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")),G0=Xl("script,style,template");class X0{sanitizedSomething=!1;buf=[];sanitizeChildren(e){let r=e.firstChild,c=!0,p=[];for(;r;)if(r.nodeType===Node.ELEMENT_NODE?c=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,c&&r.firstChild)p.push(r),r=Q0(r);else for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let m=Y0(r);if(m){r=m;break}r=p.pop()}return this.buf.join("")}startElement(e){const r=wb(e).toLowerCase();if(!Of.hasOwnProperty(r))return this.sanitizedSomething=!0,!G0.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);const c=e.attributes;for(let p=0;p"),!0}endElement(e){const r=wb(e).toLowerCase();Of.hasOwnProperty(r)&&!pb.hasOwnProperty(r)&&(this.buf.push(""))}chars(e){this.buf.push(Nf(e))}}function Y0(t){const e=t.nextSibling;if(e&&t!==e.previousSibling)throw Rf(e);return e}function Q0(t){const e=t.firstChild;if(e&&function bb(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(t,e))throw Rf(e);return e}function wb(t){const e=t.nodeName;return"string"==typeof e?e:"FORM"}function Rf(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}const Z0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,q0=/([^\#-~ |!])/g;function Nf(t){return t.replace(/&/g,"&").replace(Z0,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(q0,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let dg;function Lf(t,e){let r=null;try{dg=dg||function ub(t){const e=new z0(t);return function W0(){try{return!!(new window.DOMParser).parseFromString(Ku(""),"text/html")}catch{return!1}}()?new Mf(e):e}(t);let c=e?String(e):"";r=dg.getInertBodyElement(c);let p=5,m=c;do{if(0===p)throw new Error("Failed to sanitize html because the input is unstable");p--,c=m,m=r.innerHTML,r=dg.getInertBodyElement(c)}while(c!==m);return Ku((new X0).sanitizeChildren(Pf(r)||r))}finally{if(r){const c=Pf(r)||r;for(;c.firstChild;)c.firstChild.remove()}}}function Pf(t){return"content"in t&&function J0(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var uu=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}(uu||{});function yb(t){const e=pu();return e?cb(e.sanitize(uu.HTML,t)||""):Gu(t,"HTML")?cb(Gl(t)):Lf(rc(),Ro(t))}function Xu(t){const e=pu();return e?e.sanitize(uu.URL,t)||"":Gu(t,"URL")?Gl(t):cg(Ro(t))}function Ff(t){const e=pu();if(e)return db(e.sanitize(uu.RESOURCE_URL,t)||"");if(Gu(t,"ResourceURL"))return db(Gl(t));throw new Or(904,!1)}function vb(t,e,r){return function $f(t,e){return"src"===e&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===e&&("base"===t||"link"===t)?Ff:Xu}(e,r)(t)}function pu(){const t=_r();return t&&t[li].sanitizer}const xb=/^>|^->||--!>|)/g,kb="\u200b$1\u200b";function Dc(t){return t instanceof Function?t():t}var Md=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(Md||{}),gg=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(gg||{});let Hf;function zf(t,e){return Hf(t,e)}function Zu(t,e,r,c,p){if(null!=c){let m,x=!1;xn(c)?m=c:nn(c)&&(x=!0,c=c[ii]);const M=qn(c);0===t&&null!==r?null==p?Wb(e,r,M):hu(e,r,M,p||null,!0):1===t&&null!==r?hu(e,r,M,p||null,!0):2===t?function ch(t,e,r){t.removeChild(null,e,r)}(e,M,x):3===t&&e.destroyNode(M),null!=m&&function Jb(t,e,r,c,p){const m=r[dn];m!==qn(r)&&Zu(e,t,c,m,p);for(let M=No;Me.replace(Yu,kb))}(e))}function fg(t,e,r){return t.createElement(e,r)}function jb(t,e){e[li].changeDetectionScheduler?.notify(10),_g(t,e,e[on],2,null,null)}function Vb(t,e){const r=t[Dn],c=e[Rn];(nn(c)||e[bi]!==c[Rn][bi])&&(t[Ao]|=ln.HasTransplantedViews),null===r?t[Dn]=[e]:r.push(e)}function mg(t,e){const r=t[Dn],c=r.indexOf(e);r.splice(c,1)}function ah(t,e){if(t.length<=No)return;const r=No+e,c=t[r];if(c){const p=c[Cn];null!==p&&p!==t&&mg(p,c),e>0&&(t[r-1][wa]=c[wa]);const m=Ta(t,No+e);!function $b(t,e){jb(t,e),e[ii]=null,e[Qn]=null}(c[Pr],c);const x=m[di];null!==x&&x.detachView(m[Pr]),c[Rn]=null,c[wa]=null,c[Ao]&=-129}return c}function sh(t,e){if(!(256&e[Ao])){const r=e[on];r.destroyNode&&_g(t,e,r,3,null,null),function ay(t){let e=t[Xa];if(!e)return Gf(t[Pr],t);for(;e;){let r=null;if(nn(e))r=e[Xa];else{const c=e[No];c&&(r=c)}if(!r){for(;e&&!e[wa]&&e!==t;)nn(e)&&Gf(e[Pr],e),e=e[Rn];null===e&&(e=t),nn(e)&&Gf(e[Pr],e),r=e&&e[wa]}e=r}}(e)}}function Gf(t,e){if(256&e[Ao])return;const r=A(null);try{e[Ao]&=-129,e[Ao]|=256,e[xe]&&_t(e[xe]),function bg(t,e){let r;if(null!=t&&null!=(r=t.destroyHooks))for(let c=0;c=0?c[M]():c[-M].unsubscribe(),x+=2}else r[x].call(c[r[x+1]]);null!==c&&(e[Bn]=null);const p=e[Tt];if(null!==p){e[Tt]=null;for(let x=0;x-1){const{encapsulation:m}=t.data[c.directiveStart+p];if(m===Dl.None||m===Dl.Emulated)return null}return oa(c,r)}}(t,e.parent,r)}function hu(t,e,r,c,p){t.insertBefore(e,r,c,p)}function Wb(t,e,r){t.appendChild(e,r)}function Kb(t,e,r,c,p){null!==c?hu(t,e,r,c,p):Wb(t,e,r)}function Xf(t,e){return t.parentNode(e)}function Yf(t,e,r){return Xb(t,e,r)}let Qf,Xb=function Gb(t,e,r){return 40&t.type?oa(t,r):null};function yg(t,e,r,c){const p=wg(t,c,e),m=e[on],M=Yf(c.parent||e[Qn],c,e);if(null!=p)if(Array.isArray(r))for(let B=0;B-1){let m;for(;++pm?"":p[Ct+1].toLowerCase(),2&c&&ot!==jt){if(ll(c))return!1;x=!0}}}}else{if(!x&&!ll(c)&&!ll(B))return!1;if(x&&ll(B))continue;x=!1,c=B|1&c}}return ll(c)||x}function ll(t){return!(1&t)}function my(t,e,r,c){if(null===e)return-1;let p=0;if(c||!r){let m=!1;for(;p-1)for(r++;r0?'="'+M+'"':"")+"]"}else 8&c?p+="."+x:4&c&&(p+=" "+x);else""!==p&&!ll(x)&&(e+=lh(m,p),p=""),c=x,m=m||!ll(c);r++}return""!==p&&(e+=lh(m,p)),e}const $n={};function xg(t=1){ky(fn(),_r(),Ur()+t,!1)}function ky(t,e,r,c){if(!c)if(3&~e[Ao]){const m=t.preOrderHooks;null!==m&&Hn(e,m,0,r)}else{const m=t.preOrderCheckHooks;null!==m&&Vo(e,m,r)}Oo(r)}function qu(t,e=_n.Default){const r=_r();return null===r?mi(t,e):yp(An(),r,Wt(t),e)}function nw(){throw new Error("invalid")}function Jf(t,e,r,c,p,m){const x=A(null);try{let M=null;p&Md.SignalBased&&(M=e[c][C]),null!==M&&void 0!==M.transformFn&&(m=M.transformFn(m)),p&Md.HasDecoratorInputTransform&&(m=t.inputTransforms[c].call(e,m)),null!==t.setInput?t.setInput(e,M,m,r,c):Ha(e,M,c,m)}finally{A(x)}}function dh(t,e,r,c,p,m,x,M,B,ot,Ct){const jt=e.blueprint.slice();return jt[ii]=p,jt[Ao]=1228|c,(null!==ot||t&&2048&t[Ao])&&(jt[Ao]|=2048),nr(jt),jt[Rn]=jt[Ui]=t,jt[Kn]=r,jt[li]=x||t&&t[li],jt[on]=M||t&&t[on],jt[ri]=B||t&&t[ri]||null,jt[Qn]=m,jt[Un]=function Fh(){return kd++}(),jt[ai]=Ct,jt[U]=ot,jt[bi]=2==e.type?t[bi]:jt,jt}function gu(t,e,r,c,p){let m=t.data[e];if(null===m)m=function tm(t,e,r,c,p){const m=Nc(),x=Il(),B=t.data[e]=function to(t,e,r,c,p,m){let x=e?e.injectorIndex:-1,M=0;return ml()&&(M|=128),{type:r,index:c,insertBeforeIndex:null,injectorIndex:x,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:M,providerIndexes:0,value:p,attrs:m,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,x?m:m&&m.parent,r,e,c,p);return null===t.firstChild&&(t.firstChild=B),null!==m&&(x?null==m.child&&null!==B.parent&&(m.child=B):null===m.next&&(m.next=B,B.prev=m)),B}(t,e,r,c,p),function $(){return Wo.lFrame.inI18n}()&&(m.flags|=32);else if(64&m.type){m.type=r,m.value=c,m.attrs=p;const x=function Rs(){const t=Wo.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();m.injectorIndex=null===x?-1:x.injectorIndex}return Qa(m,!0),m}function uh(t,e,r,c){if(0===r)return-1;const p=e.length;for(let m=0;mGe&&ky(t,e,Ge,!1),Ws(x?2:0,p),r(c,p)}finally{Oo(m),Ws(x?3:1,p)}}function g(t,e,r){if(ya(e)){const c=A(null);try{const m=e.directiveEnd;for(let x=e.directiveStart;xnull;function go(t,e,r,c,p){for(let m in e){if(!e.hasOwnProperty(m))continue;const x=e[m];if(void 0===x)continue;c??={};let M,B=Md.None;Array.isArray(x)?(M=x[0],B=x[1]):M=x;let ot=m;if(null!==p){if(!p.hasOwnProperty(m))continue;ot=p[m]}0===t?en(c,r,ot,M,B):en(c,r,ot,M)}return c}function en(t,e,r,c,p){let m;t.hasOwnProperty(r)?(m=t[r]).push(e,c):m=t[r]=[e,c],void 0!==p&&m.push(p)}function ui(t,e,r,c,p,m,x,M){const B=oa(e,r);let Ct,ot=e.inputs;!M&&null!=ot&&(Ct=ot[c])?(Cy(t,r,Ct,c,p),Ni(e)&&function xs(t,e){const r=K(e,t);16&r[Ao]||(r[Ao]|=64)}(r,e.index)):3&e.type&&(c=function Ti(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(c),p=null!=x?x(p,e.value||"",c):p,m.setProperty(B,c,p))}function wc(t,e,r,c){if(pp()){const p=null===c?null:{"":-1},m=function em(t,e){const r=t.directiveRegistry;let c=null,p=null;if(r)for(let m=0;m0;){const r=t[--e];if("number"==typeof r&&r<0)return r}return 0})(x)!=M&&x.push(M),x.push(r,c,m)}}(t,e,c,uh(t,r,p.hostVars,$n),p)}function xi(t){let e=16;return t.signals?e=4096:t.onPush&&(e=64),e}function rs(t,e,r,c,p,m){const x=oa(t,e);!function ac(t,e,r,c,p,m,x){if(null==m)t.removeAttribute(e,p,r);else{const M=null==x?Ro(m):x(m,c||"",p);t.setAttribute(e,p,M,r)}}(e[on],x,m,t.value,r,c,p)}function Nd(t,e,r,c,p,m){const x=m[e];if(null!==x)for(let M=0;M0&&(r[p-1][wa]=e),c{Ia(t.lView)},consumerOnSignalRead(){this.lView[xe]=this}},E5={...P,consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=da(t.lView);for(;e&&!t_(e[Pr]);)e=da(e);e&&uo(e)},consumerOnSignalRead(){this.lView[xe]=this}};function t_(t){return 2!==t.type}function e_(t){if(null===t[mt])return;let e=!0;for(;e;){let r=!1;for(const c of t[mt])c.dirty&&(r=!0,null===c.zone||Zone.current===c.zone?c.run():c.zone.run(()=>c.run()));e=r&&!!(8192&t[Ao])}}const C5=100;function lw(t,e=!0,r=0){const p=t[li].rendererFactory;p.begin?.();try{!function D5(t,e){const r=fs();try{Zc(!0),Ay(t,e);let c=0;for(;Io(t);){if(c===C5)throw new Or(103,!1);c++,Ay(t,1)}}finally{Zc(r)}}(t,r)}catch(x){throw e&&sw(t,x),x}finally{p.end?.()}}function o_(t,e,r,c){const p=e[Ao];if(!(256&~p))return;Gr(e);let M=!0,B=null,ot=null;t_(t)?(ot=function y5(t){return t[xe]??function v5(t){const e=J1.pop()??Object.create(x5);return e.lView=t,e}(t)}(e),B=Et(ot)):null===function S(){return l}()?(M=!1,ot=function k5(t){const e=t[xe]??Object.create(E5);return e.lView=t,e}(e),B=Et(ot)):e[xe]&&(_t(e[xe]),e[xe]=null);try{nr(e),function vu(t){return Wo.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==r&&w(t,e,r,2,c);const Ct=!(3&~p);if(Ct){const Ue=t.preOrderCheckHooks;null!==Ue&&Vo(e,Ue,null)}else{const Ue=t.preOrderHooks;null!==Ue&&Hn(e,Ue,0,null),Yn(e,0)}if(function S5(t){for(let e=sl(t);null!==e;e=Hp(e)){if(!(e[Ao]&ln.HasTransplantedViews))continue;const r=e[Dn];for(let c=0;c-1&&(ah(e,c),Ta(r,c))}this._attachedToViewContainer=!1}sh(this._lView[Pr],this._lView)}onDestroy(e){na(this._lView,e)}markForCheck(){nm(this._cdRefInjectingView||this._lView,4)}markForRefresh(){uo(this._cdRefInjectingView||this._lView)}detach(){this._lView[Ao]&=-129}reattach(){Gn(this._lView),this._lView[Ao]|=128}detectChanges(){this._lView[Ao]|=1024,lw(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Or(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const e=Hs(this._lView),r=this._lView[Cn];null!==r&&!e&&mg(r,this._lView),jb(this._lView[Pr],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Or(902,!1);this._appRef=e;const r=Hs(this._lView),c=this._lView[Cn];null!==c&&!r&&Vb(c,this._lView),Gn(this._lView)}}let am=(()=>class t{static __NG_ELEMENT_ID__=I5})();const T5=am,M5=class extends T5{_declarationLView;_declarationTContainer;elementRef;constructor(e,r,c){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=c}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,c){const p=Cg(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:c});return new im(p)}};function I5(){return dw(An(),_r())}function dw(t,e){return 4&t.type?new M5(e,t,El(t,e)):null}class $5{resolveComponentFactory(e){throw Error(`No component factory found for ${To(e)}.`)}}class pw{static NULL=new $5}class fh{}class l_{}class j5{}class d_{}class Oy{}let V5=(()=>class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>function H5(){const t=_r(),r=K(An().index,t);return(nn(r)?r:t)[on]}()})(),z5=(()=>{class t{static \u0275prov=cn({token:t,providedIn:"root",factory:()=>null})}return t})();function Ju(t){return!!gn(t)}function gw(t,e,r){let c=r?t.styles:null,p=r?t.classes:null,m=0;if(null!==e)for(let x=0;x0&&tw(t,r,m.join(" "))}}(Ne,ns,qe,c),void 0!==r&&function t3(t,e,r){const c=t.projection=[];for(let p=0;pr()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Py extends l_{moduleType;constructor(e){super(),this.moduleType=e}create(e){return new Ly(this.moduleType,e,[])}}class f_ extends fh{injector;componentFactoryResolver=new h_(this);instance=null;constructor(e){super();const r=new ba([...e.providers,{provide:fh,useValue:this},{provide:pw,useValue:this.componentFactoryResolver}],e.parent||wn(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function Fy(t,e,r=null){return new f_({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}let n3=(()=>{class t{_injector;cachedInjectors=new Map;constructor(r){this._injector=r}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){const c=$s(0,r.type),p=c.length>0?Fy([c],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,p)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=cn({token:t,providedIn:"environment",factory:()=>new t(mi(la))})}return t})();function m_(t){return N(()=>{const e=v_(t),r={...e,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===il.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:e.standalone?p=>p.get(n3).getOrCreateStandaloneInjector(r):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Dl.Emulated,styles:t.styles||Hr,_:null,schemas:t.schemas||null,tView:null,id:""};e.standalone&&an("NgStandalone"),__(r);const c=t.dependencies;return r.directiveDefs=fw(c,!1),r.pipeDefs=fw(c,!0),r.id=function c3(t){let e=0;const r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const p of r)e=Math.imul(31,e)+p.charCodeAt(0)|0;return e+=2147483648,"c"+e}(r),r})}function i3(t){return Ko(t)||pn(t)}function a3(t){return null!==t}function By(t){return N(()=>({type:t.type,bootstrap:t.bootstrap||Hr,declarations:t.declarations||Hr,imports:t.imports||Hr,exports:t.exports||Hr,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function b_(t,e){if(null==t)return Ir;const r={};for(const c in t)if(t.hasOwnProperty(c)){const p=t[c];let m,x,M=Md.None;Array.isArray(p)?(M=p[0],m=p[1],x=p[2]??m):(m=p,x=p),e?(r[m]=M!==Md.None?[c,M]:c,e[m]=x):r[m]=c}return r}function w_(t){return N(()=>{const e=v_(t);return __(e),e})}function y_(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function v_(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||Ir,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:!0===t.signals,selectors:t.selectors||Hr,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:b_(t.inputs,e),outputs:b_(t.outputs),debugInfo:null}}function __(t){t.features?.forEach(e=>e(t))}function fw(t,e){if(!t)return null;const r=e?Fn:i3;return()=>("function"==typeof t?t():t).map(c=>r(c)).filter(a3)}let k_=(()=>{class t{log(r){console.log(r)}warn(r){console.warn(r)}static \u0275fac=function(c){return new(c||t)};static \u0275prov=cn({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function Uy(t){return"function"==typeof t&&void 0!==t[C]}const D_="ng";function L3(t,e){!function A_(t,e){if(typeof COMPILED>"u"||!COMPILED){const r=dr;r[D_]??={},r[D_][t]=e}}(t,e)}const T_=new de(""),M_=new de("");let jy,P3=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(r,c,p){this._ngZone=r,this.registry=c,jy||(function F3(t){jy=t}(p),p.addToWindow(c)),this._watchAngularEvents(),r.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:()=>{ia.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 r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb()}});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(c=>!c.updateCb||!c.updateCb(r)||(clearTimeout(c.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,c,p){let m=-1;c&&c>0&&(m=setTimeout(()=>{this._callbacks=this._callbacks.filter(x=>x.timeoutId!==m),r()},c)),this._callbacks.push({doneCb:r,timeoutId:m,updateCb:p})}whenStable(r,c,p){if(p&&!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(r,c,p),this._runCallbacksIfReady()}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,c,p){return[]}static \u0275fac=function(c){return new(c||t)(mi(ia),mi(I_),mi(M_))};static \u0275prov=cn({token:t,factory:t.\u0275fac})}return t})(),I_=(()=>{class t{_applications=new Map;registerApplication(r,c){this._applications.set(r,c)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,c=!0){return jy?.findTestabilityInTree(this,r,c)??null}static \u0275fac=function(c){return new(c||t)};static \u0275prov=cn({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function Vy(t){return!!t&&"function"==typeof t.then}function O_(t){return!!t&&"function"==typeof t.subscribe}const Hy=new de("");let R_=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((r,c)=>{this.resolve=r,this.reject=c});appInits=co(Hy,{optional:!0})??[];injector=co(Qi);constructor(){}runInitializers(){if(this.initialized)return;const r=[];for(const p of this.appInits){const m=$a(this.injector,p);if(Vy(m))r.push(m);else if(O_(m)){const x=new Promise((M,B)=>{m.subscribe({complete:M,error:B})});r.push(x)}}const c=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{c()}).catch(p=>{this.reject(p)}),0===r.length&&c(),this.initialized=!0}static \u0275fac=function(c){return new(c||t)};static \u0275prov=cn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),zy=(()=>{class t{static \u0275prov=cn({token:t,providedIn:"root",factory:()=>new N_})}return t})();class N_{queuedEffectCount=0;queues=new Map;schedule(e){this.enqueue(e)}enqueue(e){const r=e.zone;this.queues.has(r)||this.queues.set(r,new Set);const c=this.queues.get(r);c.has(e)||(this.queuedEffectCount++,c.add(e))}flush(){for(;this.queuedEffectCount>0;)for(const[e,r]of this.queues)null===e?this.flushQueue(r):e.run(()=>this.flushQueue(r))}flushQueue(e){for(const r of e)e.delete(r),this.queuedEffectCount--,r.run()}}const gm=new de("");let ul=(()=>{class t{_bootstrapListeners=[];_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=co(Jd);afterRenderManager=co(Ba);zonelessEnabled=co(md);rootEffectScheduler=co(zy);dirtyFlags=0;deferredDirtyFlags=0;externalTestViews=new Set;afterTick=new re.B;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=co(_l).hasPendingTasks.pipe((0,tr.T)(r=>!r));whenStable(){let r;return new Promise(c=>{r=this.isStable.subscribe({next:p=>{p&&c()}})}).finally(()=>{r.unsubscribe()})}_injector=co(la);get injector(){return this._injector}bootstrap(r,c){const p=r instanceof d_;if(!this._injector.get(R_).done)throw!p&&Oi(r),new Or(405,!1);let x;x=p?r:this._injector.get(pw).resolveComponentFactory(r),this.componentTypes.push(x.componentType);const M=function B3(t){return t.isBoundToModule}(x)?void 0:this._injector.get(fh),ot=x.create(Qi.NULL,[],c||x.selector,M),Ct=ot.location.nativeElement,jt=ot.injector.get(T_,null);return jt?.registerApplication(Ct),ot.onDestroy(()=>{this.detachView(ot.hostView),ww(this.components,ot),jt?.unregisterApplication(Ct)}),this._loadComponent(ot),ot}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new Or(101,!1);const r=A(null);try{this._runningTick=!0,this.synchronize()}catch(c){this.internalErrorHandler(c)}finally{this._runningTick=!1,A(r),this.afterTick.next()}}synchronize(){let r=null;this._injector.destroyed||(r=this._injector.get(Oy,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let c=0;for(;0!==this.dirtyFlags&&c++<10;)this.synchronizeOnce(r)}synchronizeOnce(r){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),7&this.dirtyFlags){const c=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:p,notifyErrorHandler:m}of this.allViews)j3(p,m,c,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}else r?.begin?.(),r?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:r})=>Io(r))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(r){const c=r;this._views.push(c),c.attachToAppRef(this)}detachView(r){const c=r;ww(this._views,c),c.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const c=this._injector.get(gm,[]);[...this._bootstrapListeners,...c].forEach(p=>p(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>ww(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new Or(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(c){return new(c||t)};static \u0275prov=cn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ww(t,e){const r=t.indexOf(e);r>-1&&t.splice(r,1)}function j3(t,e,r,c){(r||Io(t))&&lw(t,e,r&&!c?0:1)}let ex=()=>null;function Ag(t,e){return ex(t,e)}let Ew=(()=>class t{static __NG_ELEMENT_ID__=SC})();function SC(){return nx(An(),_r())}const AC=Ew,rx=class extends AC{_lContainer;_hostTNode;_hostLView;constructor(e,r,c){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=c}get element(){return El(this._hostTNode,this._hostLView)}get injector(){return new Fa(this._hostTNode,this._hostLView)}get parentInjector(){const e=Rl(this._hostTNode,this._hostLView);if(mp(e)){const r=Wd(e,this._hostLView),c=zd(e);return new Fa(r[Pr].data[c+8],r)}return new Fa(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const r=ox(this._lContainer);return null!==r&&r[e]||null}get length(){return this._lContainer.length-No}createEmbeddedView(e,r,c){let p,m;"number"==typeof c?p=c:null!=c&&(p=c.index,m=c.injector);const x=Ag(this._lContainer,e.ssrId),M=e.createEmbeddedViewImpl(r||{},m,x);return this.insertImpl(M,p,gh(this._hostTNode,x)),M}createComponent(e,r,c,p,m){const x=e&&!function xc(t){return"function"==typeof t}(e);let M;if(x)M=r;else{const qe=r||{};M=qe.index,c=qe.injector,p=qe.projectableNodes,m=qe.environmentInjector||qe.ngModuleRef}const B=x?e:new pm(Ko(e)),ot=c||this.parentInjector;if(!m&&null==B.ngModule){const Nr=(x?ot:this.parentInjector).get(la,null);Nr&&(m=Nr)}const Ct=Ko(B.componentType??{}),jt=Ag(this._lContainer,Ct?.id??null),Ue=B.create(ot,p,jt?.firstChild??null,m);return this.insertImpl(Ue.hostView,M,gh(this._hostTNode,jt)),Ue}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,c){const p=e._lView;if(function De(t){return xn(t[Rn])}(p)){const M=this.indexOf(e);if(-1!==M)this.detach(M);else{const B=p[Rn],ot=new rx(B,B[Qn],B[Rn]);ot.detach(ot.indexOf(e))}}const m=this._adjustIndex(r),x=this._lContainer;return Dg(x,p,m,c),e.attachToViewContainerRef(),Cs(ev(x),m,e),e}move(e,r){return this.insert(e,r)}indexOf(e){const r=ox(this._lContainer);return null!==r?r.indexOf(e):-1}remove(e){const r=this._adjustIndex(e,-1),c=ah(this._lContainer,r);c&&(Ta(ev(this._lContainer),r),sh(c[Pr],c))}detach(e){const r=this._adjustIndex(e,-1),c=ah(this._lContainer,r);return c&&null!=Ta(ev(this._lContainer),r)?new im(c):null}_adjustIndex(e,r=0){return e??this.length+r}};function ox(t){return t[8]}function ev(t){return t[8]||(t[8]=[])}function nx(t,e){let r;const c=e[t.index];return xn(c)?r=c:(r=rm(c,e,null,t),e[t.index]=r,os(e,r)),ix(r,e,t,c),new rx(r,t,e)}let ix=function sx(t,e,r,c){if(t[dn])return;let p;p=8&r.type?qn(c):function TC(t,e){const r=t[on],c=r.createComment(""),p=oa(e,t);return hu(r,Xf(r,p),c,function cy(t,e){return t.nextSibling(e)}(r,p),!1),c}(e,r),t[dn]=p},rv=()=>!1;class ov{queryList;matches=null;constructor(e){this.queryList=e}clone(){return new ov(this.queryList)}setDirty(){this.queryList.setDirty()}}class nv{queries;constructor(e=[]){this.queries=e}createEmbeddedView(e){const r=e.queries;if(null!==r){const c=null!==e.contentQueries?e.contentQueries[0]:r.length,p=[];for(let m=0;me.trim())}(e):e}}class iv{queries;constructor(e=[]){this.queries=e}elementStart(e,r){for(let c=0;c0)c.push(x[M/2]);else{const ot=m[M+1],Ct=e[-B];for(let jt=No;jt(q(e),e.value);return r[C]=e,r}(t),c=r[C];return e?.equal&&(c.equal=e.equal),r.set=p=>Yt(c,p),r.update=p=>function oe(t,e){ct()||Qt(),Yt(t,e(t.value))}(c,p),r.asReadonly=dv.bind(r),r}function dv(){const t=this[C];if(void 0===t.readonlyFn){const e=()=>this();e[C]=t,t.readonlyFn=e}return t.readonlyFn}function fx(t){return Uy(t)&&"function"==typeof t.set}function uv(t,e,r){let c;const p=ve(()=>{c._dirtyCounter();const m=function UC(t,e){const r=t._lView,c=t._queryIndex;if(void 0===r||void 0===c||4&r[Ao])return e?void 0:Hr;const p=cv(r,c),m=gx(r,c);return p.reset(m,Np),e?p.first:p._changesDetected||void 0===t._flatValue?t._flatValue=p.toArray():t._flatValue}(c,t);if(e&&void 0===m)throw new Or(-951,!1);return m});return c=p[C],c._dirtyCounter=Tg(0),c._flatValue=void 0,p}function vx(t,e){return function mx(t){return uv(!0,!1)}()}const jC=(vx.required=function $C(t,e){return function bx(t){return uv(!0,!0)}()},vx);function pv(t){let e=function Sx(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),r=!0;const c=[t];for(;e;){let p;if(Yi(t))p=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Or(903,!1);p=e.\u0275dir}if(p){if(r){c.push(p);const x=t;x.inputs=Dw(t.inputs),x.inputTransforms=Dw(t.inputTransforms),x.declaredInputs=Dw(t.declaredInputs),x.outputs=Dw(t.outputs);const M=p.hostBindings;M&&t4(t,M);const B=p.viewQuery,ot=p.contentQueries;if(B&&qC(t,B),ot&&JC(t,ot),QC(t,p),zo(t.outputs,p.outputs),Yi(p)&&p.data.animation){const Ct=t.data;Ct.animation=(Ct.animation||[]).concat(p.data.animation)}}const m=p.features;if(m)for(let x=0;x=0;c--){const p=t[c];p.hostVars=e+=p.hostVars,p.hostAttrs=el(p.hostAttrs,r=el(r,p.hostAttrs))}}(c)}function QC(t,e){for(const r in e.inputs){if(!e.inputs.hasOwnProperty(r)||t.inputs.hasOwnProperty(r))continue;const c=e.inputs[r];if(void 0!==c&&(t.inputs[r]=c,t.declaredInputs[r]=e.declaredInputs[r],null!==e.inputTransforms)){const p=Array.isArray(c)?c[0]:c;if(!e.inputTransforms.hasOwnProperty(p))continue;t.inputTransforms??={},t.inputTransforms[p]=e.inputTransforms[p]}}}function Dw(t){return t===Ir?{}:t===Hr?[]:t}function qC(t,e){const r=t.viewQuery;t.viewQuery=r?(c,p)=>{e(c,p),r(c,p)}:e}function JC(t,e){const r=t.contentQueries;t.contentQueries=r?(c,p,m)=>{e(c,p,m),r(c,p,m)}:e}function t4(t,e){const r=t.hostBindings;t.hostBindings=r?(c,p)=>{e(c,p),r(c,p)}:e}function Ax(t){const e=r=>{const c=Array.isArray(t);null===r.hostDirectives?(r.findHostDirectiveDefs=Tx,r.hostDirectives=c?t.map(hv):[t]):c?r.hostDirectives.unshift(...t.map(hv)):r.hostDirectives.unshift(t)};return e.ngInherit=!0,e}function Tx(t,e,r){if(null!==t.hostDirectives)for(const c of t.hostDirectives)if("function"==typeof c){const p=c();for(const m of p)Mx(hv(m),e,r)}else Mx(c,e,r)}function Mx(t,e,r){const c=pn(t.directive);(function n4(t,e){for(const r in e)e.hasOwnProperty(r)&&(t[e[r]]=t[r])})(c.declaredInputs,t.inputs),Tx(c,e,r),r.set(c,t),e.push(c)}function hv(t){return"function"==typeof t?{directive:Wt(t),inputs:Ir,outputs:Ir}:{directive:Wt(t.directive),inputs:Ix(t.inputs),outputs:Ix(t.outputs)}}function Ix(t){if(void 0===t||0===t.length)return Ir;const e={};for(let r=0;r>17&32767}function Sv(t){return 2|t}function wh(t){return(131068&t)>>2}function Av(t,e){return-131069&t|e<<2}function Tv(t){return 1|t}function Jx(t,e,r,c){const p=t[r+1],m=null===e;let x=c?ip(p):wh(p),M=!1;for(;0!==x&&(!1===M||m);){const ot=t[x+1];oD(t[x],e)&&(M=!0,t[x+1]=c?Tv(ot):Sv(ot)),x=c?ip(ot):wh(ot)}M&&(t[r+1]=c?Sv(p):Tv(p))}function oD(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&ne(t,e)>=0}const Ps={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function t2(t){return t.substring(Ps.key,Ps.keyEnd)}function nD(t){return t.substring(Ps.value,Ps.valueEnd)}function e2(t,e){const r=Ps.textEnd;return r===e?-1:(e=Ps.keyEnd=function sD(t,e,r){for(;e32;)e++;return e}(t,Ps.key=e,r),zg(t,e,r))}function r2(t,e){const r=Ps.textEnd;let c=Ps.key=zg(t,e,r);return r===c?-1:(c=Ps.keyEnd=function cD(t,e,r){let c;for(;e=65&&(-33&c)<=90||c>=48&&c<=57);)e++;return e}(t,c,r),c=n2(t,c,r),c=Ps.value=zg(t,c,r),c=Ps.valueEnd=function lD(t,e,r){let c=-1,p=-1,m=-1,x=e,M=x;for(;x32&&(M=x),m=p,p=c,c=-33&B}return M}(t,c,r),n2(t,c,r))}function o2(t){Ps.key=0,Ps.keyEnd=0,Ps.value=0,Ps.valueEnd=0,Ps.textEnd=t.length}function zg(t,e,r){for(;e=0;r=r2(e,r))l2(t,t2(e),nD(e))}function a2(t){Jl(mD,Pd,t,!0)}function Pd(t,e){for(let r=function iD(t){return o2(t),e2(t,zg(t,0,Ps.textEnd))}(e);r>=0;r=e2(e,r))qt(t,t2(e),!0)}function ql(t,e,r,c){const p=_r(),m=fn(),x=L(2);m.firstUpdatePass&&c2(m,t,x,c),e!==$n&&za(p,x,e)&&d2(m,m.data[Ur()],p,p[on],t,p[x+1]=function wD(t,e){return null==t||""===t||("string"==typeof e?t+=e:"object"==typeof t&&(t=To(Gl(t)))),t}(e,r),c,x)}function Jl(t,e,r,c){const p=fn(),m=L(2);p.firstUpdatePass&&c2(p,null,m,c);const x=_r();if(r!==$n&&za(x,m,r)){const M=p.data[Ur()];if(p2(M,c)&&!s2(p,m)){let B=c?M.classesWithoutHost:M.stylesWithoutHost;null!==B&&(r=Ho(B,r||"")),Iv(p,M,x,r,c)}else!function bD(t,e,r,c,p,m,x,M){p===$n&&(p=Hr);let B=0,ot=0,Ct=0=t.expandoStartIndex}function c2(t,e,r,c){const p=t.data;if(null===p[r+1]){const m=p[Ur()],x=s2(t,r);p2(m,c)&&null===e&&!x&&(e=!1),e=function uD(t,e,r,c){const p=Ie(t);let m=c?e.residualClasses:e.residualStyles;if(null===p)0===(c?e.classBindings:e.styleBindings)&&(r=km(r=Nv(null,t,e,r,c),e.attrs,c),m=null);else{const x=e.directiveStylingLast;if(-1===x||t[x]!==p)if(r=Nv(p,t,e,r,c),null===m){let B=function pD(t,e,r){const c=r?e.classBindings:e.styleBindings;if(0!==wh(c))return t[ip(c)]}(t,e,c);void 0!==B&&Array.isArray(B)&&(B=Nv(null,t,e,B[1],c),B=km(B,e.attrs,c),function hD(t,e,r,c){t[ip(r?e.classBindings:e.styleBindings)]=c}(t,e,c,B))}else m=function gD(t,e,r){let c;const p=e.directiveEnd;for(let m=1+e.directiveStylingLast;m0)&&(ot=!0)):Ct=r,p)if(0!==B){const Ne=ip(t[M+1]);t[c+1]=Iw(Ne,M),0!==Ne&&(t[Ne+1]=Av(t[Ne+1],c)),t[M+1]=function J4(t,e){return 131071&t|e<<17}(t[M+1],c)}else t[c+1]=Iw(M,0),0!==M&&(t[M+1]=Av(t[M+1],c)),M=c;else t[c+1]=Iw(B,0),0===M?M=c:t[B+1]=Av(t[B+1],c),B=c;ot&&(t[c+1]=Sv(t[c+1])),Jx(t,Ct,c,!0),Jx(t,Ct,c,!1),function rD(t,e,r,c,p){const m=p?t.residualClasses:t.residualStyles;null!=m&&"string"==typeof e&&ne(m,e)>=0&&(r[c+1]=Tv(r[c+1]))}(e,Ct,t,c,m),x=Iw(M,B),m?e.classBindings=x:e.styleBindings=x}(p,m,e,r,x,c)}}function Nv(t,e,r,c,p){let m=null;const x=r.directiveEnd;let M=r.directiveStylingLast;for(-1===M?M=r.directiveStart:M++;M0;){const B=t[p],ot=Array.isArray(B),Ct=ot?B[1]:B,jt=null===Ct;let Ne=r[p+1];Ne===$n&&(Ne=jt?Hr:void 0);let Ue=jt?et(Ne,c):Ct===c?Ne:void 0;if(ot&&!Ow(Ue)&&(Ue=et(B,c)),Ow(Ue)&&(M=Ue,x))return M;const qe=t[p+1];p=x?ip(qe):wh(qe)}if(null!==e){let B=m?e.residualClasses:e.residualStyles;null!=B&&(M=et(B,c))}return M}function Ow(t){return void 0!==t}function p2(t,e){return!!(t.flags&(e?8:16))}function h2(t,e,r){Jl(qt,Pd,Pg(_r(),t,e,r),!0)}function g2(){return _r()[bi][Kn]}class SD{destroy(e){}updateValue(e,r){}swap(e,r){const c=Math.min(e,r),p=Math.max(e,r),m=this.detach(p);if(p-c>1){const x=this.detach(c);this.attach(c,m),this.attach(p,x)}else this.attach(c,m)}move(e,r){this.attach(r,this.detach(e))}}function Lv(t,e,r,c,p){return t===r&&Object.is(e,c)?1:Object.is(p(t,e),p(r,c))?-1:0}function Pv(t,e,r,c){return!(void 0===e||!e.has(c)||(t.attach(r,e.get(c)),e.delete(c),0))}function f2(t,e,r,c,p){if(Pv(t,e,c,r(c,p)))t.updateValue(c,p);else{const m=t.create(c,p);t.attach(c,m)}}function m2(t,e,r,c){const p=new Set;for(let m=e;m<=r;m++)p.add(c(m,t.at(m)));return p}class b2{kvMap=new Map;_vMap=void 0;has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;const r=this.kvMap.get(e);return void 0!==this._vMap&&this._vMap.has(r)?(this.kvMap.set(e,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,r){if(this.kvMap.has(e)){let c=this.kvMap.get(e);void 0===this._vMap&&(this._vMap=new Map);const p=this._vMap;for(;p.has(c);)c=p.get(c);p.set(c,r)}else this.kvMap.set(e,r)}forEach(e){for(let[r,c]of this.kvMap)if(e(c,r),void 0!==this._vMap){const p=this._vMap;for(;p.has(c);)c=p.get(c),e(c,r)}}}function w2(t,e){an("NgControlFlow");const r=_r(),c=I(),p=r[c]!==$n?r[c]:-1,m=-1!==p?Rw(r,Ge+p):void 0;if(za(r,c,t)){const M=A(null);try{if(void 0!==m&&Dy(m,0),-1!==t){const B=Ge+t,ot=Rw(r,B),Ct=Fv(r[Pr],B),jt=Ag(ot,Ct.tView.ssrId);Dg(ot,Cg(r,Ct,e,{dehydratedView:jt}),0,gh(Ct,jt))}}finally{A(M)}}else if(void 0!==m){const M=q1(m,0);void 0!==M&&(M[Kn]=e)}}class TD{lContainer;$implicit;$index;constructor(e,r,c){this.lContainer=e,this.$implicit=r,this.$index=c}get $count(){return this.lContainer.length-No}}function y2(t){return t}class ID{hasEmptyBlock;trackByFn;liveCollection;constructor(e,r,c){this.hasEmptyBlock=e,this.trackByFn=r,this.liveCollection=c}}function v2(t,e,r,c,p,m,x,M,B,ot,Ct,jt,Ne){an("NgControlFlow");const Ue=_r(),qe=fn(),Nr=void 0!==B,Yr=_r(),lo=M?x.bind(Yr[bi][Kn]):x,Lr=new ID(Nr,lo);Yr[Ge+t]=Lr,_m(Ue,qe,t+1,e,r,c,p,pr(qe.consts,m)),Nr&&_m(Ue,qe,t+2,B,ot,Ct,jt,pr(qe.consts,Ne))}class OD extends SD{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(e,r,c){super(),this.lContainer=e,this.hostLView=r,this.templateTNode=c}get length(){return this.lContainer.length-No}at(e){return this.getLView(e)[Kn].$implicit}attach(e,r){const c=r[ai];this.needsIndexUpdate||=e!==this.length,Dg(this.lContainer,r,e,gh(this.templateTNode,c))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,function RD(t,e){return ah(t,e)}(this.lContainer,e)}create(e,r){const c=Ag(this.lContainer,this.templateTNode.tView.ssrId),p=Cg(this.hostLView,this.templateTNode,new TD(this.lContainer,r,e),{dehydratedView:c});return this.operationsCounter?.recordCreate(),p}destroy(e){sh(e[Pr],e),this.operationsCounter?.recordDestroy()}updateValue(e,r){this.getLView(e)[Kn].$implicit=r}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e{t.destroy(B)})}(B,t,m.trackByFn),B.updateIndexes(),m.hasEmptyBlock){const ot=I(),Ct=0===B.length;if(za(c,ot,Ct)){const jt=r+2,Ne=Rw(c,jt);if(Ct){const Ue=Fv(p,jt),qe=Ag(Ne,Ue.tView.ssrId);Dg(Ne,Cg(c,Ue,void 0,{dehydratedView:qe}),0,gh(Ue,qe))}else Dy(Ne,0)}}}finally{A(e)}}function Rw(t,e){return t[e]}function Fv(t,e){return G(t,e)}function Nw(t,e,r,c){const p=_r(),m=fn(),x=Ge+t,M=p[on],B=m.firstCreatePass?function LD(t,e,r,c,p,m){const x=e.consts,B=gu(e,t,2,c,pr(x,p));return wc(e,r,B,pr(x,m)),null!==B.attrs&&gw(B,B.attrs,!1),null!==B.mergedAttrs&&gw(B,B.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,B),B}(x,m,p,e,r,c):m.data[x],ot=x2(m,p,B,M,e,t);p[x]=ot;const Ct=hs(B);return Qa(B,!0),ew(M,ot,B),!function Ig(t){return!(32&~t.flags)}(B)&&yi()&&yg(m,p,ot,B),0===function wu(){return Wo.lFrame.elementDepthCount}()&&ys(ot,p),function dp(){Wo.lFrame.elementDepthCount++}(),Ct&&(d(m,p,B),g(m,B,p)),null!==c&&b(p,B),Nw}function Lw(){let t=An();Il()?gs():(t=t.parent,Qa(t,!1));const e=t;(function Yc(t){return Wo.skipHydrationRootTNode===t})(e)&&function Js(){Wo.skipHydrationRootTNode=null}(),function up(){Wo.lFrame.elementDepthCount--}();const r=fn();return r.firstCreatePass&&(wo(r,t),ya(t)&&r.queries.elementEnd(t)),null!=e.classesWithoutHost&&function wl(t){return!!(8&t.flags)}(e)&&Iv(r,e,_r(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function tl(t){return!!(16&t.flags)}(e)&&Iv(r,e,_r(),e.stylesWithoutHost,!1),Lw}function Bv(t,e,r,c){return Nw(t,e,r,c),Lw(),Bv}let x2=(t,e,r,c,p,m)=>(Si(!0),fg(c,p,function Jn(){return Wo.lFrame.currentNamespace}()));function Pw(t,e,r){const c=_r(),p=fn(),m=t+Ge,x=p.firstCreatePass?function BD(t,e,r,c,p){const m=e.consts,x=pr(m,c),M=gu(e,t,8,"ng-container",x);return null!==x&&gw(M,x,!0),wc(e,r,M,pr(m,p)),null!==e.queries&&e.queries.elementStart(e,M),M}(m,p,c,e,r):p.data[m];Qa(x,!0);const M=k2(p,c,x,t);return c[m]=M,yi()&&yg(p,c,M,x),ys(M,c),hs(x)&&(d(p,c,x),g(p,x,c)),null!=r&&b(c,x),Pw}function Fw(){let t=An();const e=fn();return Il()?gs():(t=t.parent,Qa(t,!1)),e.firstCreatePass&&(wo(e,t),ya(t)&&e.queries.elementEnd(t)),Fw}function Uv(t,e,r){return Pw(t,e,r),Fw(),Uv}let k2=(t,e,r,c)=>(Si(!0),Kf(e[on],""));function E2(){return _r()}function $v(t,e,r){const c=_r();return za(c,I(),e)&&ui(fn(),no(),c,t,e,c[on],r,!0),$v}function jv(t,e,r){const c=_r();if(za(c,I(),e)){const m=fn(),x=no();ui(m,x,c,t,e,Z1(Ie(m.data),x,c),r,!0)}return jv}const yh=void 0;var VD=["en",[["a","p"],["AM","PM"],yh],[["AM","PM"],yh,yh],[["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"]],yh,[["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"]],yh,[["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}",yh,"{1} 'at' {0}",yh],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function jD(t){const r=Math.floor(Math.abs(t)),c=t.toString().replace(/^[^.]*\.?/,"").length;return 1===r&&0===c?1:5}];let Wg={};function Vv(t){const e=function HD(t){return t.toLowerCase().replace(/_/g,"-")}(t);let r=D2(e);if(r)return r;const c=e.split("-")[0];if(r=D2(c),r)return r;if("en"===c)return VD;throw new Or(701,!1)}function C2(t){return Vv(t)[Kg.PluralCase]}function D2(t){return t in Wg||(Wg[t]=dr.ng&&dr.ng.common&&dr.ng.common.locales&&dr.ng.common.locales[t]),Wg[t]}var Kg=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}(Kg||{});const Bw="en-US";let S2=Bw,W2=(t,e,r)=>{};function Wv(t,e,r,c){const p=_r(),m=fn(),x=An();return Gv(m,p,p[on],x,t,e,c),Wv}function Kv(t,e){const r=An(),c=_r(),p=fn();return Gv(p,c,Z1(Ie(p.data),r,c),r,t,e),Kv}function Gv(t,e,r,c,p,m,x){const M=hs(c),ot=t.firstCreatePass&&Eg(t),Ct=e[Kn],jt=hh(e);let Ne=!0;if(3&c.type||x){const Nr=oa(c,e),Yr=x?x(Nr):Nr,lo=jt.length,Lr=x?jn=>x(qn(jn[c.index])):c.index;let En=null;if(!x&&M&&(En=function OS(t,e,r,c){const p=t.cleanup;if(null!=p)for(let m=0;mB?M[B]:null}"string"==typeof x&&(m+=2)}return null}(t,e,p,c.index)),null!==En)(En.__ngLastListenerFn__||En).__ngNextListenerFn__=m,En.__ngLastListenerFn__=m,Ne=!1;else{m=G2(c,e,Ct,m),W2(Nr,p,m);const jn=r.listen(Yr,p,m);jt.push(m,jn),ot&&ot.push(p,Lr,lo,lo+1)}}else m=G2(c,e,Ct,m);const Ue=c.outputs;let qe;if(Ne&&null!==Ue&&(qe=Ue[p])){const Nr=qe.length;if(Nr)for(let Yr=0;Yr-1?K(t.index,e):e,5);let M=K2(e,r,c,m),B=p.__ngNextListenerFn__;for(;B;)M=K2(e,r,B,m)&&M,B=B.__ngNextListenerFn__;return M}}function X2(t=1){return function yo(t){return(Wo.lFrame.contextLView=function un(t,e){for(;t>0;)e=e[Ui],t--;return e}(t,Wo.lFrame.contextLView))[Kn]}(t)}function RS(t,e){let r=null;const c=function by(t){const e=t.attrs;if(null!=e){const r=e.indexOf(5);if(!(1&r))return e[r+1]}return null}(t);for(let p=0;pr._dirtyCounter.update(c=>c+1))}(e,px(t,r,c,p))}function uk(t=1){sr(We()+t)}function pk(t){return F(function yu(){return Wo.lFrame.contextLView}(),Ge+t)}function xk(t,e=""){const r=_r(),c=fn(),p=t+Ge,m=c.firstCreatePass?gu(c,p,1,e,null):c.data[p],x=kk(c,r,m,e,t);r[p]=x,yi()&&yg(c,r,x,m),Qa(m,!1)}let kk=(t,e,r,c,p)=>(Si(!0),function Wf(t,e){return t.createText(e)}(e[on],c));function Qv(t){return Hw("",t,""),Qv}function Hw(t,e,r){const c=_r(),p=Pg(c,t,e,r);return p!==$n&&function mu(t,e,r){const c=fl(e,t);!function Ub(t,e,r){t.setValue(e,r)}(t[on],c,r)}(c,Ur(),p),Hw}function Zv(t,e,r){fx(e)&&(e=e());const c=_r();return za(c,I(),e)&&ui(fn(),no(),c,t,e,c[on],r,!1),Zv}function Ok(t,e){const r=fx(t);return r&&t.set(e),r}function qv(t,e){const r=_r(),c=fn(),p=An();return Gv(c,r,r[on],p,t,e),qv}function Jv(t,e,r,c,p){if(t=Wt(t),Array.isArray(t))for(let m=0;m>20;if(ea(t)||!t.multi){const Ue=new tc(ot,p,qu),qe=e1(B,e,p?Ct:Ct+Ne,jt);-1===qe?(Nl(wp(M,x),m,B),t1(m,t,e.length),e.push(B),M.directiveStart++,M.directiveEnd++,p&&(M.providerIndexes+=1048576),r.push(Ue),x.push(Ue)):(r[qe]=Ue,x[qe]=Ue)}else{const Ue=e1(B,e,Ct+Ne,jt),qe=e1(B,e,Ct,Ct+Ne),Yr=qe>=0&&r[qe];if(p&&!Yr||!p&&!(Ue>=0&&r[Ue])){Nl(wp(M,x),m,B);const lo=function qS(t,e,r,c,p){const m=new tc(t,r,qu);return m.multi=[],m.index=e,m.componentProviders=0,Lk(m,p,c&&!r),m}(p?ZS:QS,r.length,p,c,ot);!p&&Yr&&(r[qe].providerFactory=lo),t1(m,t,e.length,0),e.push(B),M.directiveStart++,M.directiveEnd++,p&&(M.providerIndexes+=1048576),r.push(lo),x.push(lo)}else t1(m,t,Ue>-1?Ue:qe,Lk(r[p?qe:Ue],ot,!p&&c));!p&&c&&Yr&&r[qe].componentProviders++}}}function t1(t,e,r,c){const p=ea(e),m=function Mc(t){return!!t.useClass}(e);if(p||m){const B=(m?Wt(e.useClass):e).prototype.ngOnDestroy;if(B){const ot=t.destroyHooks||(t.destroyHooks=[]);if(!p&&e.multi){const Ct=ot.indexOf(r);-1===Ct?ot.push(r,[c,B]):ot[Ct+1].push(c,B)}else ot.push(r,B)}}}function Lk(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function e1(t,e,r,c){for(let p=r;p{r.providersResolver=(c,p)=>function YS(t,e,r){const c=fn();if(c.firstCreatePass){const p=Yi(t);Jv(r,c.data,c.blueprint,p,!0),Jv(e,c.data,c.blueprint,p,!1)}}(c,p?p(t):t,e)}}function Bk(t,e,r){const c=Za()+t,p=_r();return p[c]===$n?Ld(p,c,r?e.call(r):e()):vm(p,c)}function Uk(t,e,r,c){return zk(_r(),Za(),t,e,r,c)}function $k(t,e,r,c,p){return Wk(_r(),Za(),t,e,r,c,p)}function jk(t,e,r,c,p,m){return function Kk(t,e,r,c,p,m,x,M){const B=e+r;return function Aw(t,e,r,c,p){const m=bh(t,e,r,c);return za(t,e+2,p)||m}(t,B,p,m,x)?Ld(t,B+3,M?c.call(M,p,m,x):c(p,m,x)):Tm(t,B+3)}(_r(),Za(),t,e,r,c,p,m)}function Vk(t,e,r,c,p,m,x){return function Gk(t,e,r,c,p,m,x,M,B){const ot=e+r;return Sl(t,ot,p,m,x,M)?Ld(t,ot+4,B?c.call(B,p,m,x,M):c(p,m,x,M)):Tm(t,ot+4)}(_r(),Za(),t,e,r,c,p,m,x)}function Hk(t,e,r,c,p,m,x,M,B,ot,Ct){const jt=Za()+t,Ne=_r(),Ue=Sl(Ne,jt,r,c,p,m);return Sl(Ne,jt+4,x,M,B,ot)||Ue?Ld(Ne,jt+8,Ct?e.call(Ct,r,c,p,m,x,M,B,ot):e(r,c,p,m,x,M,B,ot)):vm(Ne,jt+8)}function Tm(t,e){const r=t[e];return r===$n?void 0:r}function zk(t,e,r,c,p,m){const x=e+r;return za(t,x,p)?Ld(t,x+1,m?c.call(m,p):c(p)):Tm(t,x+1)}function Wk(t,e,r,c,p,m,x){const M=e+r;return bh(t,M,p,m)?Ld(t,M+2,x?c.call(x,p,m):c(p,m)):Tm(t,M+2)}function Yk(t,e){const r=fn();let c;const p=t+Ge;r.firstCreatePass?(c=function aA(t,e){if(e)for(let r=e.length-1;r>=0;r--){const c=e[r];if(t===c.name)return c}}(e,r.pipeRegistry),r.data[p]=c,c.onDestroy&&(r.destroyHooks??=[]).push(p,c.onDestroy)):c=r.data[p];const m=c.factory||(c.factory=Di(c.type)),M=Ii(qu);try{const B=Lc(!1),ot=m();return Lc(B),function Yv(t,e,r,c){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=c}(r,_r(),p,ot),ot}finally{Ii(M)}}function Qk(t,e,r){const c=t+Ge,p=_r(),m=F(p,c);return Mm(p,c)?zk(p,Za(),e,m.transform,r,m):m.transform(r)}function Zk(t,e,r,c){const p=t+Ge,m=_r(),x=F(m,p);return Mm(m,p)?Wk(m,Za(),e,x.transform,r,c,x):x.transform(r,c)}function Mm(t,e){return t[Pr].data[e].pure}function qk(t,e){return dw(t,e)}class gE{full;major;minor;patch;constructor(e){this.full=e;const r=e.split(".");this.major=r[0],this.minor=r[1],this.patch=r.slice(2).join(".")}}class PA{ngModuleFactory;componentFactories;constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}}let FA=(()=>{class t{compileModuleSync(r){return new Py(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const c=this.compileModuleSync(r),m=Dc(gn(r).declarations).reduce((x,M)=>{const B=Ko(M);return B&&x.push(new pm(B)),x},[]);return new PA(c,m)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}static \u0275fac=function(c){return new(c||t)};static \u0275prov=cn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),$A=(()=>{class t{zone=co(ia);changeDetectionScheduler=co(rl);applicationRef=co(ul);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(c){return new(c||t)};static \u0275prov=cn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function c1({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:r}){return t??=()=>new ia({...l1(),scheduleInRootZone:r}),[{provide:ia,useFactory:t},{provide:Qr,multi:!0,useFactory:()=>{const c=co($A,{optional:!0});return()=>c.initialize()}},{provide:Qr,multi:!0,useFactory:()=>{const c=co(VA);return()=>{c.initialize()}}},!0===e?{provide:Ou,useValue:!0}:[],{provide:ol,useValue:r??Sp}]}function l1(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}let VA=(()=>{class t{subscription=new Ve.yU;initialized=!1;zone=co(ia);pendingTasks=co(_l);initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ia.assertNotInAngularZone(),queueMicrotask(()=>{null!==r&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ia.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(c){return new(c||t)};static \u0275prov=cn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Om=(()=>{class t{appRef=co(ul);taskService=co(_l);ngZone=co(ia);zonelessEnabled=co(md);disableScheduling=co(Ou,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Ve.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(qd):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(co(ol,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){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 Rp||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&5===r)return;let c=!1;switch(r){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 8:this.appRef.deferredDirtyFlags|=8;break;case 6:case 14:this.appRef.dirtyFlags|=2,c=!0;break;case 13:this.appRef.dirtyFlags|=16,c=!0;break;case 12:c=!0;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick(c))return;const p=this.useMicrotaskScheduler?lf:Ru;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>p(()=>this.tick())):this.ngZone.runOutsideAngular(()=>p(()=>this.tick()))}shouldScheduleTick(r){return!(this.disableScheduling&&!r||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(qd+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const r=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(c){throw this.taskService.remove(r),c}finally{this.cleanup()}this.useMicrotaskScheduler=!0,lf(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(r)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}static \u0275fac=function(c){return new(c||t)};static \u0275prov=cn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const u1=new de("",{providedIn:"root",factory:()=>co(u1,_n.Optional|_n.SkipSelf)||function HA(){return typeof $localize<"u"&&$localize.locale||Bw}()}),zA=new de("",{providedIn:"root",factory:()=>"USD"}),Kw=new de("");function Gw(t){return!t.moduleRef}let ap=null;function JA(){return!1}let CE=(()=>class t{static __NG_ELEMENT_ID__=tT})();function tT(t){return function eT(t,e,r){if(Ni(t)&&!r){const c=K(t.index,e);return new im(c,c)}return 175&t.type?new im(e[bi],e):null}(An(),_r(),!(16&~t))}class TE{constructor(){}supports(e){return Sw(e)}create(e){return new aT(e)}}const iT=(t,e)=>e;class aT{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(e){this._trackByFn=e||iT}forEachItem(e){let r;for(r=this._itHead;null!==r;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,c=this._removalsHead,p=0,m=null;for(;r||c;){const x=!c||r&&r.currentIndex{x=this._trackByFn(p,M),null!==r&&Object.is(r.trackById,x)?(c&&(r=this._verifyReinsertion(r,M,x,p)),Object.is(r.item,M)||this._addIdentityChange(r,M)):(r=this._mismatch(r,M,x,p),c=!0),r=r._next,p++}),this.length=p;return this._truncate(r),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,r,c,p){let m;return null===e?m=this._itTail:(m=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null))?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,m,p)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(c,p))?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,m,p)):e=this._addAfter(new sT(r,c),m,p),e}_verifyReinsertion(e,r,c,p){let m=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null);return null!==m?e=this._reinsertAfter(m,e._prev,p):e.currentIndex!=p&&(e.currentIndex=p,this._addToMoves(e,p)),e}_truncate(e){for(;null!==e;){const r=e._next;this._addToRemovals(this._unlink(e)),e=r}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,r,c){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const p=e._prevRemoved,m=e._nextRemoved;return null===p?this._removalsHead=m:p._nextRemoved=m,null===m?this._removalsTail=p:m._prevRemoved=p,this._insertAfter(e,r,c),this._addToMoves(e,c),e}_moveAfter(e,r,c){return this._unlink(e),this._insertAfter(e,r,c),this._addToMoves(e,c),e}_addAfter(e,r,c){return this._insertAfter(e,r,c),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,r,c){const p=null===r?this._itHead:r._next;return e._next=p,e._prev=r,null===p?this._itTail=e:p._prev=e,null===r?this._itHead=e:r._next=e,null===this._linkedRecords&&(this._linkedRecords=new ME),this._linkedRecords.put(e),e.currentIndex=c,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const r=e._prev,c=e._next;return null===r?this._itHead=c:r._next=c,null===c?this._itTail=r:c._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ME),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,r){return e.item=r,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class sT{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(e,r){this.item=e,this.trackById=r}}class cT{_head=null;_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,r){let c;for(c=this._head;null!==c;c=c._nextDup)if((null===r||r<=c.currentIndex)&&Object.is(c.trackById,e))return c;return null}remove(e){const r=e._prevDup,c=e._nextDup;return null===r?this._head=c:r._nextDup=c,null===c?this._tail=r:c._prevDup=r,null===this._head}}class ME{map=new Map;put(e){const r=e.trackById;let c=this.map.get(r);c||(c=new cT,this.map.set(r,c)),c.add(e)}get(e,r){const p=this.map.get(e);return p?p.get(e,r):null}remove(e){const r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function IE(t,e,r){const c=t.previousIndex;if(null===c)return c;let p=0;return r&&c{if(r&&r.key===p)this._maybeAddToChanges(r,c),this._appendAfter=r,r=r._next;else{const m=this._getOrCreateRecordForKey(p,c);r=this._insertBeforeOrAppend(r,m)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let c=r;null!==c;c=c._nextRemoved)c===this._mapHead&&(this._mapHead=null),this._records.delete(c.key),c._nextRemoved=c._next,c.previousValue=c.currentValue,c.currentValue=null,c._prev=null,c._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,r){if(e){const c=e._prev;return r._next=e,r._prev=c,e._prev=r,c&&(c._next=r),e===this._mapHead&&(this._mapHead=r),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(e,r){if(this._records.has(e)){const p=this._records.get(e);this._maybeAddToChanges(p,r);const m=p._prev,x=p._next;return m&&(m._next=x),x&&(x._prev=m),p._next=null,p._prev=null,p}const c=new dT(e);return this._records.set(e,c),c.currentValue=r,this._addToAdditions(c),c}_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,r){Object.is(r,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=r,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,r){e instanceof Map?e.forEach(r):Object.keys(e).forEach(c=>r(e[c],c))}}class dT{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(e){this.key=e}}function RE(){return new b1([new TE])}let b1=(()=>{class t{factories;static \u0275prov=cn({token:t,providedIn:"root",factory:RE});constructor(r){this.factories=r}static create(r,c){if(null!=c){const p=c.factories.slice();r=r.concat(p)}return new t(r)}static extend(r){return{provide:t,useFactory:c=>t.create(r,c||RE()),deps:[[t,new Aa,new ls]]}}find(r){const c=this.factories.find(p=>p.supports(r));if(null!=c)return c;throw new Or(901,!1)}}return t})();function NE(){return new w1([new OE])}let w1=(()=>{class t{static \u0275prov=cn({token:t,providedIn:"root",factory:NE});factories;constructor(r){this.factories=r}static create(r,c){if(c){const p=c.factories.slice();r=r.concat(p)}return new t(r)}static extend(r){return{provide:t,useFactory:c=>t.create(r,c||NE()),deps:[[t,new Aa,new ls]]}}find(r){const c=this.factories.find(p=>p.supports(r));if(c)return c;throw new Or(901,!1)}}return t})();function ET(t){try{const{rootComponent:e,appProviders:r,platformProviders:c}=t,p=function qA(t=[]){if(ap)return ap;const e=function xE(t=[],e){return Qi.create({name:e,providers:[{provide:yc,useValue:"platform"},{provide:Kw,useValue:new Set([()=>ap=null])},...t]})}(t);return ap=e,function L_(){!function be(t){wr=t}(()=>{throw new Or(600,!1)})}(),function kE(t){const e=t.get(su,null);$a(t,()=>{e?.forEach(r=>r())})}(e),e}(c),m=[c1({}),{provide:rl,useExisting:Om},...r||[]];return function yE(t){const e=Gw(t)?t.r3Injector:t.moduleRef.injector,r=e.get(ia);return r.run(()=>{Gw(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();const c=e.get(kl,null);let p;if(r.runOutsideAngular(()=>{p=r.onError.subscribe({next:m=>{c.handleError(m)}})}),Gw(t)){const m=()=>e.destroy(),x=t.platformInjector.get(Kw);x.add(m),e.onDestroy(()=>{p.unsubscribe(),x.delete(m)})}else{const m=()=>t.moduleRef.destroy(),x=t.platformInjector.get(Kw);x.add(m),t.moduleRef.onDestroy(()=>{ww(t.allPlatformModules,t.moduleRef),p.unsubscribe(),x.delete(m)})}return function $3(t,e,r){try{const c=r();return Vy(c)?c.catch(p=>{throw e.runOutsideAngular(()=>t.handleError(p)),p}):c}catch(c){throw e.runOutsideAngular(()=>t.handleError(c)),c}}(c,r,()=>{const m=e.get(R_);return m.runInitializers(),m.donePromise.then(()=>{if(function GD(t){"string"==typeof t&&(S2=t.toLowerCase().replace(/_/g,"-"))}(e.get(u1,Bw)||Bw),Gw(t)){const M=e.get(ul);return void 0!==t.rootComponent&&M.bootstrap(t.rootComponent),M}return function YA(t,e){const r=t.injector.get(ul);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(c=>r.bootstrap(c));else{if(!t.instance.ngDoBootstrap)throw new Or(-403,!1);t.instance.ngDoBootstrap(r)}e.push(t)}(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}({r3Injector:new f_({providers:m,parent:p,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:p,rootComponent:e})}catch(e){return Promise.reject(e)}}function GT(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function XT(t,e=NaN){return isNaN(parseFloat(t))||isNaN(Number(t))?e:Number(t)}function k1(t,e){an("NgSignals");const r=ve(t);return e?.equal&&(r[C].equal=e.equal),r}function Yg(t){const e=A(null);try{return t()}finally{A(e)}}let c5=(()=>class t{view;node;constructor(r,c){this.view=r,this.node=c}static __NG_ELEMENT_ID__=t8})();function t8(){return new c5(_r(),An())}let r8=(()=>{class t extends N_{pendingTasks=co(_l);taskId=null;schedule(r){super.schedule(r),null===this.taskId&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{null!==this.taskId&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=cn({token:t,providedIn:"root",factory:()=>new t})}return t})();class o8{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(e,r,c,p,m,x){this.scheduler=e,this.effectFn=r,this.zone=c,this.injector=m,this.watcher=function wt(t,e,r){const c=Object.create(Xe);r&&(c.consumerAllowSignalWrites=!0),c.fn=t,c.schedule=e;const p=B=>{c.cleanupFn=B};return c.ref={notify:()=>pt(c),run:()=>{if(null===c.fn)return;if(function T(){return y}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(c.dirty=!1,c.hasRun&&!yt(c))return;c.hasRun=!0;const B=Et(c);try{c.cleanupFn(),c.cleanupFn=ie,c.fn(p)}finally{It(c,B)}},cleanup:()=>c.cleanupFn(),destroy:()=>function x(B){(function m(B){return null===B.fn&&null===B.schedule})(B)||(_t(B),B.cleanupFn(),B.fn=null,B.schedule=null,B.cleanupFn=ie)}(c),[C]:c},c.ref}(M=>this.runEffect(M),()=>this.schedule(),x),this.unregisterOnDestroy=p?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(r){this.injector.get(kl,null,{optional:!0})?.handleError(r)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}let E1=!1;class a8{[C];constructor(e){this[C]=e}destroy(){this[C].destroy()}}function C1(t,e){if(E1)return function i8(t,e){an("NgSignals"),!e?.injector&&Ss();const r=e?.injector??co(Qi),c=!0!==e?.manualCleanup?r.get(va):null,p=new o8(r.get(r8),t,typeof Zone>"u"?null:Zone.current,c,r,e?.allowSignalWrites??!1),m=r.get(CE,null,{optional:!0});return m&&8&m._lView[Ao]?(m._lView[rt]??=[]).push(p.watcher.notify):p.watcher.notify(),p}(t,e);an("NgSignals"),!e?.injector&&Ss();const r=e?.injector??co(Qi);let p,c=!0!==e?.manualCleanup?r.get(va):null;const m=r.get(c5,null,{optional:!0}),x=r.get(rl);return null===m||e?.forceRoot?p=function d8(t,e,r){const c=Object.create(s8);return c.fn=t,c.scheduler=e,c.notifier=r,c.zone=typeof Zone<"u"?Zone.current:null,c.scheduler.schedule(c),c.notifier.notify(13),c}(t,r.get(zy),x):(p=function l8(t,e,r){const c=Object.create(c8);return c.view=t,c.zone=typeof Zone<"u"?Zone.current:null,c.notifier=e,c.fn=r,t[mt]??=new Set,t[mt].add(c),c.consumerMarkedDirty(c),c}(m.view,x,t),c instanceof Pl&&c._lView===m.view&&(c=null)),p.injector=r,null!==c&&(p.onDestroyFn=c.onDestroy(()=>p.destroy())),new a8(p)}const l5={...P,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:bd,run(){if(this.dirty=!1,this.hasRun&&!yt(this))return;this.hasRun=!0;const t=c=>(this.cleanupFns??=[]).push(c),e=Et(this),r=Zc(!1);try{this.maybeCleanup(),this.fn(t)}finally{Zc(r),It(this,e)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}},s8={...l5,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){_t(this),this.onDestroyFn(),this.maybeCleanup()}},c8={...l5,consumerMarkedDirty(){this.view[Ao]|=8192,Ia(this.view),this.notifier.notify(14)},destroy(){_t(this),this.onDestroyFn(),this.maybeCleanup(),this.view[mt]?.delete(this)}};function w8(t,e){const r=Ko(t),c=e.elementInjector||wn();return new pm(r).create(c,e.projectableNodes,e.hostElement,e.environmentInjector)}function y8(t){const e=Ko(t);if(!e)return null;const r=new pm(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}},936:(i,s,o)=>{"use strict";o.d(s,{BC:()=>tr,JD:()=>Ci,Q0:()=>ss,X1:()=>us,YN:()=>$s,YS:()=>Bs,cV:()=>Rr,cb:()=>Tr,cz:()=>kt,hs:()=>xo,j4:()=>Ca,k0:()=>yt,kq:()=>T,l_:()=>Ra,me:()=>ht,ok:()=>Oi,qT:()=>Pn,tU:()=>Fr,vO:()=>Te,vS:()=>as,xq:()=>Ds,ze:()=>Hi});var n=o(3107),a=o(4460),l=o(1787),y=o(2653),k=o(8447),C=o(7947);let A=(()=>{class lt{_renderer;_elementRef;onChange=Q=>{};onTouched=()=>{};constructor(Q,Ft){this._renderer=Q,this._elementRef=Ft}setProperty(Q,Ft){this._renderer.setProperty(this._elementRef.nativeElement,Q,Ft)}registerOnTouched(Q){this.onTouched=Q}registerOnChange(Q){this.onChange=Q}setDisabledState(Q){this.setProperty("disabled",Q)}static \u0275fac=function(Ft){return new(Ft||lt)(n.rXU(n.sFG),n.rXU(n.aKT))};static \u0275dir=n.FsC({type:lt})}return lt})(),S=(()=>{class lt extends A{static \u0275fac=(()=>{let Q;return function(je){return(Q||(Q=n.xGo(lt)))(je||lt)}})();static \u0275dir=n.FsC({type:lt,features:[n.Vt3]})}return lt})();const T=new n.nKC(""),q={provide:T,useExisting:(0,n.Rfq)(()=>ht),multi:!0},J=new n.nKC("");let ht=(()=>{class lt extends A{_compositionMode;_composing=!1;constructor(Q,Ft,je){super(Q,Ft),this._compositionMode=je,null==this._compositionMode&&(this._compositionMode=!function X(){const lt=(0,a.QT)()?(0,a.QT)().getUserAgent():"";return/android (\d+)/.test(lt.toLowerCase())}())}writeValue(Q){this.setProperty("value",Q??"")}_handleInput(Q){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Q)}_compositionStart(){this._composing=!0}_compositionEnd(Q){this._composing=!1,this._compositionMode&&this.onChange(Q)}static \u0275fac=function(Ft){return new(Ft||lt)(n.rXU(n.sFG),n.rXU(n.aKT),n.rXU(J,8))};static \u0275dir=n.FsC({type:lt,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&&n.bIt("input",function(Jo){return je._handleInput(Jo.target.value)})("blur",function(){return je.onTouched()})("compositionstart",function(){return je._compositionStart()})("compositionend",function(Jo){return je._compositionEnd(Jo.target.value)})},standalone:!1,features:[n.Jv_([q]),n.Vt3]})}return lt})();function ct(lt){return null==lt||("string"==typeof lt||Array.isArray(lt))&&0===lt.length}function pt(lt){return null!=lt&&"number"==typeof lt.length}const kt=new n.nKC(""),Et=new n.nKC(""),It=/^(?=.{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 yt{static min(dt){return function _t(lt){return dt=>{if(ct(dt.value)||ct(lt))return null;const Q=parseFloat(dt.value);return!isNaN(Q)&&Q{if(ct(dt.value)||ct(lt))return null;const Q=parseFloat(dt.value);return!isNaN(Q)&&Q>lt?{max:{max:lt,actual:dt.value}}:null}}(dt)}static required(dt){return st(dt)}static requiredTrue(dt){return vt(dt)}static email(dt){return function Pt(lt){return ct(lt.value)||It.test(lt.value)?null:{email:!0}}(dt)}static minLength(dt){return function ae(lt){return dt=>ct(dt.value)||!pt(dt.value)?null:dt.value.length{if(ct(Ft.value))return null;const je=Ft.value;return dt.test(je)?null:{pattern:{requiredPattern:Q,actualValue:je}}}}(dt)}static nullValidator(dt){return null}static compose(dt){return be(dt)}static composeAsync(dt){return Bt(dt)}}function st(lt){return ct(lt.value)?{required:!0}:null}function vt(lt){return!0===lt.value?null:{required:!0}}function le(lt){return dt=>pt(dt.value)&&dt.value.length>lt?{maxlength:{requiredLength:lt,actualLength:dt.value.length}}:null}function se(lt){return null}function or(lt){return null!=lt}function fr(lt){return(0,n.jNT)(lt)?(0,l.H)(lt):lt}function yr(lt){let dt={};return lt.forEach(Q=>{dt=null!=Q?{...dt,...Q}:dt}),0===Object.keys(dt).length?null:dt}function jr(lt,dt){return dt.map(Q=>Q(lt))}function Qt(lt){return lt.map(dt=>function wr(lt){return!lt.validate}(dt)?dt:Q=>dt.validate(Q))}function be(lt){if(!lt)return null;const dt=lt.filter(or);return 0==dt.length?null:function(Q){return yr(jr(Q,dt))}}function Ht(lt){return null!=lt?be(Qt(lt)):null}function Bt(lt){if(!lt)return null;const dt=lt.filter(or);return 0==dt.length?null:function(Q){const Ft=jr(Q,dt).map(fr);return(0,y.p)(Ft).pipe((0,C.T)(yr))}}function Fe(lt){return null!=lt?Bt(Qt(lt)):null}function zt(lt,dt){return null===lt?[dt]:Array.isArray(lt)?[...lt,dt]:[lt,dt]}function Yt(lt){return lt._rawValidators}function oe(lt){return lt._rawAsyncValidators}function Oe(lt){return lt?Array.isArray(lt)?lt:[lt]:[]}function $e(lt,dt){return Array.isArray(lt)?lt.includes(dt):lt===dt}function Dt(lt,dt){const Q=Oe(dt);return Oe(lt).forEach(je=>{$e(Q,je)||Q.push(je)}),Q}function wt(lt,dt){return Oe(dt).filter(Q=>!$e(lt,Q))}class ie{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(dt){this._rawValidators=dt||[],this._composedValidatorFn=Ht(this._rawValidators)}_setAsyncValidators(dt){this._rawAsyncValidators=dt||[],this._composedAsyncValidatorFn=Fe(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(dt){this._onDestroyCallbacks.push(dt)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(dt=>dt()),this._onDestroyCallbacks=[]}reset(dt=void 0){this.control&&this.control.reset(dt)}hasError(dt,Q){return!!this.control&&this.control.hasError(dt,Q)}getError(dt,Q){return this.control?this.control.getError(dt,Q):null}}class Xe extends ie{name;get formDirective(){return null}get path(){return null}}class Te extends ie{_parent=null;name=null;valueAccessor=null}class Ke{_cd;constructor(dt){this._cd=dt}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 tr=(()=>{class lt extends Ke{constructor(Q){super(Q)}static \u0275fac=function(Ft){return new(Ft||lt)(n.rXU(Te,2))};static \u0275dir=n.FsC({type:lt,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Ft,je){2&Ft&&n.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)},standalone:!1,features:[n.Vt3]})}return lt})(),Tr=(()=>{class lt extends Ke{constructor(Q){super(Q)}static \u0275fac=function(Ft){return new(Ft||lt)(n.rXU(Xe,10))};static \u0275dir=n.FsC({type:lt,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Ft,je){2&Ft&&n.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)},standalone:!1,features:[n.Vt3]})}return lt})();const Mr="VALID",ao="INVALID",xr="PENDING",zo="DISABLED";class To{}class Ho extends To{value;source;constructor(dt,Q){super(),this.value=dt,this.source=Q}}class we extends To{pristine;source;constructor(dt,Q){super(),this.pristine=dt,this.source=Q}}class ze extends To{touched;source;constructor(dt,Q){super(),this.touched=dt,this.source=Q}}class Mt extends To{status;source;constructor(dt,Q){super(),this.status=dt,this.source=Q}}class Wt extends To{source;constructor(dt){super(),this.source=dt}}class $t extends To{source;constructor(dt){super(),this.source=dt}}function Ce(lt){return(qr(lt)?lt.validators:lt)||null}function Be(lt,dt){return(qr(dt)?dt.asyncValidators:lt)||null}function qr(lt){return null!=lt&&!Array.isArray(lt)&&"object"==typeof lt}function ko(lt,dt,Q){const Ft=lt.controls;if(!(dt?Object.keys(Ft):Ft).length)throw new n.wOt(1e3,"");if(!Ft[Q])throw new n.wOt(1001,"")}function sn(lt,dt,Q){lt._forEachChild((Ft,je)=>{if(void 0===Q[je])throw new n.wOt(1002,"")})}class hn{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(dt,Q){this._assignValidators(dt),this._assignAsyncValidators(Q)}get validator(){return this._composedValidatorFn}set validator(dt){this._rawValidators=this._composedValidatorFn=dt}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(dt){this._rawAsyncValidators=this._composedAsyncValidatorFn=dt}get parent(){return this._parent}get status(){return(0,n.O8t)(this.statusReactive)}set status(dt){(0,n.O8t)(()=>this.statusReactive.set(dt))}_status=(0,n.EWP)(()=>this.statusReactive());statusReactive=(0,n.vPA)(void 0);get valid(){return this.status===Mr}get invalid(){return this.status===ao}get pending(){return this.status==xr}get disabled(){return this.status===zo}get enabled(){return this.status!==zo}errors;get pristine(){return(0,n.O8t)(this.pristineReactive)}set pristine(dt){(0,n.O8t)(()=>this.pristineReactive.set(dt))}_pristine=(0,n.EWP)(()=>this.pristineReactive());pristineReactive=(0,n.vPA)(!0);get dirty(){return!this.pristine}get touched(){return(0,n.O8t)(this.touchedReactive)}set touched(dt){(0,n.O8t)(()=>this.touchedReactive.set(dt))}_touched=(0,n.EWP)(()=>this.touchedReactive());touchedReactive=(0,n.vPA)(!1);get untouched(){return!this.touched}_events=new k.B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(dt){this._assignValidators(dt)}setAsyncValidators(dt){this._assignAsyncValidators(dt)}addValidators(dt){this.setValidators(Dt(dt,this._rawValidators))}addAsyncValidators(dt){this.setAsyncValidators(Dt(dt,this._rawAsyncValidators))}removeValidators(dt){this.setValidators(wt(dt,this._rawValidators))}removeAsyncValidators(dt){this.setAsyncValidators(wt(dt,this._rawAsyncValidators))}hasValidator(dt){return $e(this._rawValidators,dt)}hasAsyncValidator(dt){return $e(this._rawAsyncValidators,dt)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(dt={}){const Q=!1===this.touched;this.touched=!0;const Ft=dt.sourceControl??this;this._parent&&!dt.onlySelf&&this._parent.markAsTouched({...dt,sourceControl:Ft}),Q&&!1!==dt.emitEvent&&this._events.next(new ze(!0,Ft))}markAllAsTouched(dt={}){this.markAsTouched({onlySelf:!0,emitEvent:dt.emitEvent,sourceControl:this}),this._forEachChild(Q=>Q.markAllAsTouched(dt))}markAsUntouched(dt={}){const Q=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const Ft=dt.sourceControl??this;this._forEachChild(je=>{je.markAsUntouched({onlySelf:!0,emitEvent:dt.emitEvent,sourceControl:Ft})}),this._parent&&!dt.onlySelf&&this._parent._updateTouched(dt,Ft),Q&&!1!==dt.emitEvent&&this._events.next(new ze(!1,Ft))}markAsDirty(dt={}){const Q=!0===this.pristine;this.pristine=!1;const Ft=dt.sourceControl??this;this._parent&&!dt.onlySelf&&this._parent.markAsDirty({...dt,sourceControl:Ft}),Q&&!1!==dt.emitEvent&&this._events.next(new we(!1,Ft))}markAsPristine(dt={}){const Q=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const Ft=dt.sourceControl??this;this._forEachChild(je=>{je.markAsPristine({onlySelf:!0,emitEvent:dt.emitEvent})}),this._parent&&!dt.onlySelf&&this._parent._updatePristine(dt,Ft),Q&&!1!==dt.emitEvent&&this._events.next(new we(!0,Ft))}markAsPending(dt={}){this.status=xr;const Q=dt.sourceControl??this;!1!==dt.emitEvent&&(this._events.next(new Mt(this.status,Q)),this.statusChanges.emit(this.status)),this._parent&&!dt.onlySelf&&this._parent.markAsPending({...dt,sourceControl:Q})}disable(dt={}){const Q=this._parentMarkedDirty(dt.onlySelf);this.status=zo,this.errors=null,this._forEachChild(je=>{je.disable({...dt,onlySelf:!0})}),this._updateValue();const Ft=dt.sourceControl??this;!1!==dt.emitEvent&&(this._events.next(new Ho(this.value,Ft)),this._events.next(new Mt(this.status,Ft)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...dt,skipPristineCheck:Q},this),this._onDisabledChange.forEach(je=>je(!0))}enable(dt={}){const Q=this._parentMarkedDirty(dt.onlySelf);this.status=Mr,this._forEachChild(Ft=>{Ft.enable({...dt,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:dt.emitEvent}),this._updateAncestors({...dt,skipPristineCheck:Q},this),this._onDisabledChange.forEach(Ft=>Ft(!1))}_updateAncestors(dt,Q){this._parent&&!dt.onlySelf&&(this._parent.updateValueAndValidity(dt),dt.skipPristineCheck||this._parent._updatePristine({},Q),this._parent._updateTouched({},Q))}setParent(dt){this._parent=dt}getRawValue(){return this.value}updateValueAndValidity(dt={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const Ft=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Mr||this.status===xr)&&this._runAsyncValidator(Ft,dt.emitEvent)}const Q=dt.sourceControl??this;!1!==dt.emitEvent&&(this._events.next(new Ho(this.value,Q)),this._events.next(new Mt(this.status,Q)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!dt.onlySelf&&this._parent.updateValueAndValidity({...dt,sourceControl:Q})}_updateTreeValidity(dt={emitEvent:!0}){this._forEachChild(Q=>Q._updateTreeValidity(dt)),this.updateValueAndValidity({onlySelf:!0,emitEvent:dt.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?zo:Mr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(dt,Q){if(this.asyncValidator){this.status=xr,this._hasOwnPendingAsyncValidator={emitEvent:!1!==Q};const Ft=fr(this.asyncValidator(this));this._asyncValidationSubscription=Ft.subscribe(je=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(je,{emitEvent:Q,shouldHaveEmitted:dt})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const dt=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,dt}return!1}setErrors(dt,Q={}){this.errors=dt,this._updateControlsErrors(!1!==Q.emitEvent,this,Q.shouldHaveEmitted)}get(dt){let Q=dt;return null==Q||(Array.isArray(Q)||(Q=Q.split(".")),0===Q.length)?null:Q.reduce((Ft,je)=>Ft&&Ft._find(je),this)}getError(dt,Q){const Ft=Q?this.get(Q):this;return Ft&&Ft.errors?Ft.errors[dt]:null}hasError(dt,Q){return!!this.getError(dt,Q)}get root(){let dt=this;for(;dt._parent;)dt=dt._parent;return dt}_updateControlsErrors(dt,Q,Ft){this.status=this._calculateStatus(),dt&&this.statusChanges.emit(this.status),(dt||Ft)&&this._events.next(new Mt(this.status,Q)),this._parent&&this._parent._updateControlsErrors(dt,Q,Ft)}_initObservables(){this.valueChanges=new n.bkB,this.statusChanges=new n.bkB}_calculateStatus(){return this._allControlsDisabled()?zo:this.errors?ao:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(xr)?xr:this._anyControlsHaveStatus(ao)?ao:Mr}_anyControlsHaveStatus(dt){return this._anyControls(Q=>Q.status===dt)}_anyControlsDirty(){return this._anyControls(dt=>dt.dirty)}_anyControlsTouched(){return this._anyControls(dt=>dt.touched)}_updatePristine(dt,Q){const Ft=!this._anyControlsDirty(),je=this.pristine!==Ft;this.pristine=Ft,this._parent&&!dt.onlySelf&&this._parent._updatePristine(dt,Q),je&&this._events.next(new we(this.pristine,Q))}_updateTouched(dt={},Q){this.touched=this._anyControlsTouched(),this._events.next(new ze(this.touched,Q)),this._parent&&!dt.onlySelf&&this._parent._updateTouched(dt,Q)}_onDisabledChange=[];_registerOnCollectionChange(dt){this._onCollectionChange=dt}_setUpdateStrategy(dt){qr(dt)&&null!=dt.updateOn&&(this._updateOn=dt.updateOn)}_parentMarkedDirty(dt){return!dt&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(dt){return null}_assignValidators(dt){this._rawValidators=Array.isArray(dt)?dt.slice():dt,this._composedValidatorFn=function ce(lt){return Array.isArray(lt)?Ht(lt):lt||null}(this._rawValidators)}_assignAsyncValidators(dt){this._rawAsyncValidators=Array.isArray(dt)?dt.slice():dt,this._composedAsyncValidatorFn=function vr(lt){return Array.isArray(lt)?Fe(lt):lt||null}(this._rawAsyncValidators)}}class Zn extends hn{constructor(dt,Q,Ft){super(Ce(Q),Be(Ft,Q)),this.controls=dt,this._initObservables(),this._setUpdateStrategy(Q),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(dt,Q){return this.controls[dt]?this.controls[dt]:(this.controls[dt]=Q,Q.setParent(this),Q._registerOnCollectionChange(this._onCollectionChange),Q)}addControl(dt,Q,Ft={}){this.registerControl(dt,Q),this.updateValueAndValidity({emitEvent:Ft.emitEvent}),this._onCollectionChange()}removeControl(dt,Q={}){this.controls[dt]&&this.controls[dt]._registerOnCollectionChange(()=>{}),delete this.controls[dt],this.updateValueAndValidity({emitEvent:Q.emitEvent}),this._onCollectionChange()}setControl(dt,Q,Ft={}){this.controls[dt]&&this.controls[dt]._registerOnCollectionChange(()=>{}),delete this.controls[dt],Q&&this.registerControl(dt,Q),this.updateValueAndValidity({emitEvent:Ft.emitEvent}),this._onCollectionChange()}contains(dt){return this.controls.hasOwnProperty(dt)&&this.controls[dt].enabled}setValue(dt,Q={}){sn(this,0,dt),Object.keys(dt).forEach(Ft=>{ko(this,!0,Ft),this.controls[Ft].setValue(dt[Ft],{onlySelf:!0,emitEvent:Q.emitEvent})}),this.updateValueAndValidity(Q)}patchValue(dt,Q={}){null!=dt&&(Object.keys(dt).forEach(Ft=>{const je=this.controls[Ft];je&&je.patchValue(dt[Ft],{onlySelf:!0,emitEvent:Q.emitEvent})}),this.updateValueAndValidity(Q))}reset(dt={},Q={}){this._forEachChild((Ft,je)=>{Ft.reset(dt?dt[je]:null,{onlySelf:!0,emitEvent:Q.emitEvent})}),this._updatePristine(Q,this),this._updateTouched(Q,this),this.updateValueAndValidity(Q)}getRawValue(){return this._reduceChildren({},(dt,Q,Ft)=>(dt[Ft]=Q.getRawValue(),dt))}_syncPendingControls(){let dt=this._reduceChildren(!1,(Q,Ft)=>!!Ft._syncPendingControls()||Q);return dt&&this.updateValueAndValidity({onlySelf:!0}),dt}_forEachChild(dt){Object.keys(this.controls).forEach(Q=>{const Ft=this.controls[Q];Ft&&dt(Ft,Q)})}_setUpControls(){this._forEachChild(dt=>{dt.setParent(this),dt._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(dt){for(const[Q,Ft]of Object.entries(this.controls))if(this.contains(Q)&&dt(Ft))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Q,Ft,je)=>((Ft.enabled||this.disabled)&&(Q[je]=Ft.value),Q))}_reduceChildren(dt,Q){let Ft=dt;return this._forEachChild((je,_o)=>{Ft=Q(Ft,je,_o)}),Ft}_allControlsDisabled(){for(const dt of Object.keys(this.controls))if(this.controls[dt].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(dt){return this.controls.hasOwnProperty(dt)?this.controls[dt]:null}}class Re extends Zn{}const gr=new n.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>po}),po="always";function ki(lt,dt){return[...dt.path,lt]}function Ln(lt,dt,Q=po){qi(lt,dt),dt.valueAccessor.writeValue(lt.value),(lt.disabled||"always"===Q)&&dt.valueAccessor.setDisabledState?.(lt.disabled),function Ji(lt,dt){dt.valueAccessor.registerOnChange(Q=>{lt._pendingValue=Q,lt._pendingChange=!0,lt._pendingDirty=!0,"change"===lt.updateOn&&is(lt,dt)})}(lt,dt),function si(lt,dt){const Q=(Ft,je)=>{dt.valueAccessor.writeValue(Ft),je&&dt.viewToModelUpdate(Ft)};lt.registerOnChange(Q),dt._registerOnDestroy(()=>{lt._unregisterOnChange(Q)})}(lt,dt),function Fi(lt,dt){dt.valueAccessor.registerOnTouched(()=>{lt._pendingTouched=!0,"blur"===lt.updateOn&<._pendingChange&&is(lt,dt),"submit"!==lt.updateOn&<.markAsTouched()})}(lt,dt),function cn(lt,dt){if(dt.valueAccessor.setDisabledState){const Q=Ft=>{dt.valueAccessor.setDisabledState(Ft)};lt.registerOnDisabledChange(Q),dt._registerOnDestroy(()=>{lt._unregisterOnDisabledChange(Q)})}}(lt,dt)}function ua(lt,dt,Q=!0){const Ft=()=>{};dt.valueAccessor&&(dt.valueAccessor.registerOnChange(Ft),dt.valueAccessor.registerOnTouched(Ft)),pi(lt,dt),lt&&(dt._invokeOnDestroyCallbacks(),lt._registerOnCollectionChange(()=>{}))}function $i(lt,dt){lt.forEach(Q=>{Q.registerOnValidatorChange&&Q.registerOnValidatorChange(dt)})}function qi(lt,dt){const Q=Yt(lt);null!==dt.validator?lt.setValidators(zt(Q,dt.validator)):"function"==typeof Q&<.setValidators([Q]);const Ft=oe(lt);null!==dt.asyncValidator?lt.setAsyncValidators(zt(Ft,dt.asyncValidator)):"function"==typeof Ft&<.setAsyncValidators([Ft]);const je=()=>lt.updateValueAndValidity();$i(dt._rawValidators,je),$i(dt._rawAsyncValidators,je)}function pi(lt,dt){let Q=!1;if(null!==lt){if(null!==dt.validator){const je=Yt(lt);if(Array.isArray(je)&&je.length>0){const _o=je.filter(Jo=>Jo!==dt.validator);_o.length!==je.length&&(Q=!0,lt.setValidators(_o))}}if(null!==dt.asyncValidator){const je=oe(lt);if(Array.isArray(je)&&je.length>0){const _o=je.filter(Jo=>Jo!==dt.asyncValidator);_o.length!==je.length&&(Q=!0,lt.setAsyncValidators(_o))}}}const Ft=()=>{};return $i(dt._rawValidators,Ft),$i(dt._rawAsyncValidators,Ft),Q}function is(lt,dt){lt._pendingDirty&<.markAsDirty(),lt.setValue(lt._pendingValue,{emitModelToViewChange:!1}),dt.viewToModelUpdate(lt._pendingValue),lt._pendingChange=!1}function hi(lt,dt){qi(lt,dt)}function Gt(lt,dt){if(!lt.hasOwnProperty("model"))return!1;const Q=lt.model;return!!Q.isFirstChange()||!Object.is(dt,Q.currentValue)}function me(lt,dt){lt._syncPendingControls(),dt.forEach(Q=>{const Ft=Q.control;"submit"===Ft.updateOn&&Ft._pendingChange&&(Q.viewToModelUpdate(Ft._pendingValue),Ft._pendingChange=!1)})}function He(lt,dt){if(!dt)return null;let Q,Ft,je;return Array.isArray(dt),dt.forEach(_o=>{_o.constructor===ht?Q=_o:function Ot(lt){return Object.getPrototypeOf(lt.constructor)===S}(_o)?Ft=_o:je=_o}),je||Ft||Q||null}const Er={provide:Xe,useExisting:(0,n.Rfq)(()=>Rr)},kr=Promise.resolve();let Rr=(()=>{class lt extends Xe{callSetDisabledState;get submitted(){return(0,n.O8t)(this.submittedReactive)}_submitted=(0,n.EWP)(()=>this.submittedReactive());submittedReactive=(0,n.vPA)(!1);_directives=new Set;form;ngSubmit=new n.bkB;options;constructor(Q,Ft,je){super(),this.callSetDisabledState=je,this.form=new Zn({},Ht(Q),Fe(Ft))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(Q){kr.then(()=>{const Ft=this._findContainer(Q.path);Q.control=Ft.registerControl(Q.name,Q.control),Ln(Q.control,Q,this.callSetDisabledState),Q.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(Q)})}getControl(Q){return this.form.get(Q.path)}removeControl(Q){kr.then(()=>{const Ft=this._findContainer(Q.path);Ft&&Ft.removeControl(Q.name),this._directives.delete(Q)})}addFormGroup(Q){kr.then(()=>{const Ft=this._findContainer(Q.path),je=new Zn({});hi(je,Q),Ft.registerControl(Q.name,je),je.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(Q){kr.then(()=>{const Ft=this._findContainer(Q.path);Ft&&Ft.removeControl(Q.name)})}getFormGroup(Q){return this.form.get(Q.path)}updateModel(Q,Ft){kr.then(()=>{this.form.get(Q.path).setValue(Ft)})}setValue(Q){this.control.setValue(Q)}onSubmit(Q){return this.submittedReactive.set(!0),me(this.form,this._directives),this.ngSubmit.emit(Q),"dialog"===Q?.target?.method}onReset(){this.resetForm()}resetForm(Q=void 0){this.form.reset(Q),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(Q){return Q.pop(),Q.length?this.form.get(Q):this.form}static \u0275fac=function(Ft){return new(Ft||lt)(n.rXU(kt,10),n.rXU(Et,10),n.rXU(gr,8))};static \u0275dir=n.FsC({type:lt,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Ft,je){1&Ft&&n.bIt("submit",function(Jo){return je.onSubmit(Jo)})("reset",function(){return je.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[n.Jv_([Er]),n.Vt3]})}return lt})();function $r(lt,dt){const Q=lt.indexOf(dt);Q>-1&<.splice(Q,1)}function Jr(lt){return"object"==typeof lt&&null!==lt&&2===Object.keys(lt).length&&"value"in lt&&"disabled"in lt}const so=class extends hn{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(dt=null,Q,Ft){super(Ce(Q),Be(Ft,Q)),this._applyFormState(dt),this._setUpdateStrategy(Q),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),qr(Q)&&(Q.nonNullable||Q.initialValueIsDefault)&&(this.defaultValue=Jr(dt)?dt.value:dt)}setValue(dt,Q={}){this.value=this._pendingValue=dt,this._onChange.length&&!1!==Q.emitModelToViewChange&&this._onChange.forEach(Ft=>Ft(this.value,!1!==Q.emitViewToModelChange)),this.updateValueAndValidity(Q)}patchValue(dt,Q={}){this.setValue(dt,Q)}reset(dt=this.defaultValue,Q={}){this._applyFormState(dt),this.markAsPristine(Q),this.markAsUntouched(Q),this.setValue(this.value,Q),this._pendingChange=!1}_updateValue(){}_anyControls(dt){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(dt){this._onChange.push(dt)}_unregisterOnChange(dt){$r(this._onChange,dt)}registerOnDisabledChange(dt){this._onDisabledChange.push(dt)}_unregisterOnDisabledChange(dt){$r(this._onDisabledChange,dt)}_forEachChild(dt){}_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(dt){Jr(dt)?(this.value=this._pendingValue=dt.value,dt.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=dt}},xo=so,ta={provide:Te,useExisting:(0,n.Rfq)(()=>as)},Wa=Promise.resolve();let as=(()=>{class lt extends Te{_changeDetectorRef;callSetDisabledState;control=new so;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new n.bkB;constructor(Q,Ft,je,_o,Jo,ea){super(),this._changeDetectorRef=Jo,this.callSetDisabledState=ea,this._parent=Q,this._setValidators(Ft),this._setAsyncValidators(je),this.valueAccessor=He(0,_o)}ngOnChanges(Q){if(this._checkForErrors(),!this._registered||"name"in Q){if(this._registered&&(this._checkName(),this.formDirective)){const Ft=Q.name.previousValue;this.formDirective.removeControl({name:Ft,path:this._getPath(Ft)})}this._setUpControl()}"isDisabled"in Q&&this._updateDisabled(Q),Gt(Q,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(Q){this.viewModel=Q,this.update.emit(Q)}_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(){Ln(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(Q){Wa.then(()=>{this.control.setValue(Q,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Q){const Ft=Q.isDisabled.currentValue,je=0!==Ft&&(0,n.L39)(Ft);Wa.then(()=>{je&&!this.control.disabled?this.control.disable():!je&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Q){return this._parent?ki(Q,this._parent):[Q]}static \u0275fac=function(Ft){return new(Ft||lt)(n.rXU(Xe,9),n.rXU(kt,10),n.rXU(Et,10),n.rXU(T,10),n.rXU(n.gRc,8),n.rXU(gr,8))};static \u0275dir=n.FsC({type:lt,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"],standalone:!1,features:[n.Jv_([ta]),n.Vt3,n.OA$]})}return lt})(),Pn=(()=>{class lt{static \u0275fac=function(Ft){return new(Ft||lt)};static \u0275dir=n.FsC({type:lt,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return lt})();const _n={provide:T,useExisting:(0,n.Rfq)(()=>ss),multi:!0};let ss=(()=>{class lt extends S{writeValue(Q){this.setProperty("value",Q??"")}registerOnChange(Q){this.onChange=Ft=>{Q(""==Ft?null:parseFloat(Ft))}}static \u0275fac=(()=>{let Q;return function(je){return(Q||(Q=n.xGo(lt)))(je||lt)}})();static \u0275dir=n.FsC({type:lt,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Ft,je){1&Ft&&n.bIt("input",function(Jo){return je.onChange(Jo.target.value)})("blur",function(){return je.onTouched()})},standalone:!1,features:[n.Jv_([_n]),n.Vt3]})}return lt})();const gi=new n.nKC(""),Gi={provide:Te,useExisting:(0,n.Rfq)(()=>Ra)};let Ra=(()=>{class lt extends Te{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(Q){}model;update=new n.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(Q,Ft,je,_o,Jo){super(),this._ngModelWarningConfig=_o,this.callSetDisabledState=Jo,this._setValidators(Q),this._setAsyncValidators(Ft),this.valueAccessor=He(0,je)}ngOnChanges(Q){if(this._isControlChanged(Q)){const Ft=Q.form.previousValue;Ft&&ua(Ft,this,!1),Ln(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Gt(Q,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ua(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(Q){this.viewModel=Q,this.update.emit(Q)}_isControlChanged(Q){return Q.hasOwnProperty("form")}static \u0275fac=function(Ft){return new(Ft||lt)(n.rXU(kt,10),n.rXU(Et,10),n.rXU(T,10),n.rXU(gi,8),n.rXU(gr,8))};static \u0275dir=n.FsC({type:lt,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[n.Jv_([Gi]),n.Vt3,n.OA$]})}return lt})();const Xo={provide:Xe,useExisting:(0,n.Rfq)(()=>Ca)};let Ca=(()=>{class lt extends Xe{callSetDisabledState;get submitted(){return(0,n.O8t)(this._submittedReactive)}set submitted(Q){this._submittedReactive.set(Q)}_submitted=(0,n.EWP)(()=>this._submittedReactive());_submittedReactive=(0,n.vPA)(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new n.bkB;constructor(Q,Ft,je){super(),this.callSetDisabledState=je,this._setValidators(Q),this._setAsyncValidators(Ft)}ngOnChanges(Q){this._checkFormPresent(),Q.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(pi(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Q){const Ft=this.form.get(Q.path);return Ln(Ft,Q,this.callSetDisabledState),Ft.updateValueAndValidity({emitEvent:!1}),this.directives.push(Q),Ft}getControl(Q){return this.form.get(Q.path)}removeControl(Q){ua(Q.control||null,Q,!1),function Me(lt,dt){const Q=lt.indexOf(dt);Q>-1&<.splice(Q,1)}(this.directives,Q)}addFormGroup(Q){this._setUpFormContainer(Q)}removeFormGroup(Q){this._cleanUpFormContainer(Q)}getFormGroup(Q){return this.form.get(Q.path)}addFormArray(Q){this._setUpFormContainer(Q)}removeFormArray(Q){this._cleanUpFormContainer(Q)}getFormArray(Q){return this.form.get(Q.path)}updateModel(Q,Ft){this.form.get(Q.path).setValue(Ft)}onSubmit(Q){return this._submittedReactive.set(!0),me(this.form,this.directives),this.ngSubmit.emit(Q),this.form._events.next(new Wt(this.control)),"dialog"===Q?.target?.method}onReset(){this.resetForm()}resetForm(Q=void 0){this.form.reset(Q),this._submittedReactive.set(!1),this.form._events.next(new $t(this.form))}_updateDomValue(){this.directives.forEach(Q=>{const Ft=Q.control,je=this.form.get(Q.path);Ft!==je&&(ua(Ft||null,Q),(lt=>lt instanceof so)(je)&&(Ln(je,Q,this.callSetDisabledState),Q.control=je))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Q){const Ft=this.form.get(Q.path);hi(Ft,Q),Ft.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Q){if(this.form){const Ft=this.form.get(Q.path);Ft&&function On(lt,dt){return pi(lt,dt)}(Ft,Q)&&Ft.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){qi(this.form,this),this._oldForm&&pi(this._oldForm,this)}_checkFormPresent(){}static \u0275fac=function(Ft){return new(Ft||lt)(n.rXU(kt,10),n.rXU(Et,10),n.rXU(gr,8))};static \u0275dir=n.FsC({type:lt,selectors:[["","formGroup",""]],hostBindings:function(Ft,je){1&Ft&&n.bIt("submit",function(Jo){return je.onSubmit(Jo)})("reset",function(){return je.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[n.Jv_([Xo]),n.Vt3,n.OA$]})}return lt})();const mi={provide:Te,useExisting:(0,n.Rfq)(()=>Ci)};let Ci=(()=>{class lt extends Te{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(Q){}model;update=new n.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(Q,Ft,je,_o,Jo){super(),this._ngModelWarningConfig=Jo,this._parent=Q,this._setValidators(Ft),this._setAsyncValidators(je),this.valueAccessor=He(0,_o)}ngOnChanges(Q){this._added||this._setUpControl(),Gt(Q,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Q){this.viewModel=Q,this.update.emit(Q)}get path(){return ki(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 \u0275fac=function(Ft){return new(Ft||lt)(n.rXU(Xe,13),n.rXU(kt,10),n.rXU(Et,10),n.rXU(T,10),n.rXU(gi,8))};static \u0275dir=n.FsC({type:lt,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[n.Jv_([mi]),n.Vt3,n.OA$]})}return lt})();let Bi=(()=>{class lt{_validator=se;_onChange;_enabled;ngOnChanges(Q){if(this.inputName in Q){const Ft=this.normalizeInput(Q[this.inputName].currentValue);this._enabled=this.enabled(Ft),this._validator=this._enabled?this.createValidator(Ft):se,this._onChange&&this._onChange()}}validate(Q){return this._validator(Q)}registerOnValidatorChange(Q){this._onChange=Q}enabled(Q){return null!=Q}static \u0275fac=function(Ft){return new(Ft||lt)};static \u0275dir=n.FsC({type:lt,features:[n.OA$]})}return lt})();const Ua={provide:kt,useExisting:(0,n.Rfq)(()=>Bs),multi:!0},ds={provide:kt,useExisting:(0,n.Rfq)(()=>Ds),multi:!0};let Bs=(()=>{class lt extends Bi{required;inputName="required";normalizeInput=n.L39;createValidator=Q=>st;enabled(Q){return Q}static \u0275fac=(()=>{let Q;return function(je){return(Q||(Q=n.xGo(lt)))(je||lt)}})();static \u0275dir=n.FsC({type:lt,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Ft,je){2&Ft&&n.BMQ("required",je._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[n.Jv_([Ua]),n.Vt3]})}return lt})(),Ds=(()=>{class lt extends Bs{createValidator=Q=>vt;static \u0275fac=(()=>{let Q;return function(je){return(Q||(Q=n.xGo(lt)))(je||lt)}})();static \u0275dir=n.FsC({type:lt,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(Ft,je){2&Ft&&n.BMQ("required",je._enabled?"":null)},standalone:!1,features:[n.Jv_([ds]),n.Vt3]})}return lt})();const Ee={provide:kt,useExisting:(0,n.Rfq)(()=>Fr),multi:!0};let Fr=(()=>{class lt extends Bi{maxlength;inputName="maxlength";normalizeInput=Q=>function Na(lt){return"number"==typeof lt?lt:parseInt(lt,10)}(Q);createValidator=Q=>le(Q);static \u0275fac=(()=>{let Q;return function(je){return(Q||(Q=n.xGo(lt)))(je||lt)}})();static \u0275dir=n.FsC({type:lt,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(Ft,je){2&Ft&&n.BMQ("maxlength",je._enabled?je.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[n.Jv_([Ee]),n.Vt3]})}return lt})(),Mo=(()=>{class lt{static \u0275fac=function(Ft){return new(Ft||lt)};static \u0275mod=n.$C({type:lt});static \u0275inj=n.G2t({})}return lt})();class gn extends hn{constructor(dt,Q,Ft){super(Ce(Q),Be(Ft,Q)),this.controls=dt,this._initObservables(),this._setUpdateStrategy(Q),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(dt){return this.controls[this._adjustIndex(dt)]}push(dt,Q={}){this.controls.push(dt),this._registerControl(dt),this.updateValueAndValidity({emitEvent:Q.emitEvent}),this._onCollectionChange()}insert(dt,Q,Ft={}){this.controls.splice(dt,0,Q),this._registerControl(Q),this.updateValueAndValidity({emitEvent:Ft.emitEvent})}removeAt(dt,Q={}){let Ft=this._adjustIndex(dt);Ft<0&&(Ft=0),this.controls[Ft]&&this.controls[Ft]._registerOnCollectionChange(()=>{}),this.controls.splice(Ft,1),this.updateValueAndValidity({emitEvent:Q.emitEvent})}setControl(dt,Q,Ft={}){let je=this._adjustIndex(dt);je<0&&(je=0),this.controls[je]&&this.controls[je]._registerOnCollectionChange(()=>{}),this.controls.splice(je,1),Q&&(this.controls.splice(je,0,Q),this._registerControl(Q)),this.updateValueAndValidity({emitEvent:Ft.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(dt,Q={}){sn(this,0,dt),dt.forEach((Ft,je)=>{ko(this,!1,je),this.at(je).setValue(Ft,{onlySelf:!0,emitEvent:Q.emitEvent})}),this.updateValueAndValidity(Q)}patchValue(dt,Q={}){null!=dt&&(dt.forEach((Ft,je)=>{this.at(je)&&this.at(je).patchValue(Ft,{onlySelf:!0,emitEvent:Q.emitEvent})}),this.updateValueAndValidity(Q))}reset(dt=[],Q={}){this._forEachChild((Ft,je)=>{Ft.reset(dt[je],{onlySelf:!0,emitEvent:Q.emitEvent})}),this._updatePristine(Q,this),this._updateTouched(Q,this),this.updateValueAndValidity(Q)}getRawValue(){return this.controls.map(dt=>dt.getRawValue())}clear(dt={}){this.controls.length<1||(this._forEachChild(Q=>Q._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:dt.emitEvent}))}_adjustIndex(dt){return dt<0?dt+this.length:dt}_syncPendingControls(){let dt=this.controls.reduce((Q,Ft)=>!!Ft._syncPendingControls()||Q,!1);return dt&&this.updateValueAndValidity({onlySelf:!0}),dt}_forEachChild(dt){this.controls.forEach((Q,Ft)=>{dt(Q,Ft)})}_updateValue(){this.value=this.controls.filter(dt=>dt.enabled||this.disabled).map(dt=>dt.value)}_anyControls(dt){return this.controls.some(Q=>Q.enabled&&dt(Q))}_setUpControls(){this._forEachChild(dt=>this._registerControl(dt))}_allControlsDisabled(){for(const dt of this.controls)if(dt.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(dt){dt.setParent(this),dt._registerOnCollectionChange(this._onCollectionChange)}_find(dt){return this.at(dt)??null}}function Fn(lt){return!!lt&&(void 0!==lt.asyncValidators||void 0!==lt.validators||void 0!==lt.updateOn)}let Oi=(()=>{class lt{useNonNullable=!1;get nonNullable(){const Q=new lt;return Q.useNonNullable=!0,Q}group(Q,Ft=null){const je=this._reduceControls(Q);let _o={};return Fn(Ft)?_o=Ft:null!==Ft&&(_o.validators=Ft.validator,_o.asyncValidators=Ft.asyncValidator),new Zn(je,_o)}record(Q,Ft=null){const je=this._reduceControls(Q);return new Re(je,Ft)}control(Q,Ft,je){let _o={};return this.useNonNullable?(Fn(Ft)?_o=Ft:(_o.validators=Ft,_o.asyncValidators=je),new so(Q,{..._o,nonNullable:!0})):new so(Q,Ft,je)}array(Q,Ft,je){const _o=Q.map(Jo=>this._createControl(Jo));return new gn(_o,Ft,je)}_reduceControls(Q){const Ft={};return Object.keys(Q).forEach(je=>{Ft[je]=this._createControl(Q[je])}),Ft}_createControl(Q){return Q instanceof so||Q instanceof hn?Q:Array.isArray(Q)?this.control(Q[0],Q.length>1?Q[1]:null,Q.length>2?Q[2]:null):this.control(Q)}static \u0275fac=function(Ft){return new(Ft||lt)};static \u0275prov=n.jDH({token:lt,factory:lt.\u0275fac,providedIn:"root"})}return lt})(),Hi=(()=>{class lt extends Oi{group(Q,Ft=null){return super.group(Q,Ft)}control(Q,Ft,je){return super.control(Q,Ft,je)}array(Q,Ft,je){return super.array(Q,Ft,je)}static \u0275fac=(()=>{let Q;return function(je){return(Q||(Q=n.xGo(lt)))(je||lt)}})();static \u0275prov=n.jDH({token:lt,factory:lt.\u0275fac,providedIn:"root"})}return lt})(),$s=(()=>{class lt{static withConfig(Q){return{ngModule:lt,providers:[{provide:gr,useValue:Q.callSetDisabledState??po}]}}static \u0275fac=function(Ft){return new(Ft||lt)};static \u0275mod=n.$C({type:lt});static \u0275inj=n.G2t({imports:[Mo]})}return lt})(),us=(()=>{class lt{static withConfig(Q){return{ngModule:lt,providers:[{provide:gi,useValue:Q.warnOnNgModelWithFormControl??"always"},{provide:gr,useValue:Q.callSetDisabledState??po}]}}static \u0275fac=function(Ft){return new(Ft||lt)};static \u0275mod=n.$C({type:lt});static \u0275inj=n.G2t({imports:[Mo]})}return lt})()},9471:(i,s,o)=>{"use strict";o.d(s,{$z:()=>at,Hl:()=>jr,iY:()=>fr,pQ:()=>yr});var n=o(3107),a=o(8559),l=o(2147),y=o(2902),k=o(5467);const C=["mat-button",""],A=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],S=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],O="@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}",J=["mat-icon-button",""],ht=["*"],pt=new n.nKC("MAT_BUTTON_CONFIG"),Et=[{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 It=(()=>{class wr{_elementRef=(0,n.WQX)(n.aKT);_platform=(0,n.WQX)(l.OD);_ngZone=(0,n.WQX)(n.SKi);_animationMode=(0,n.WQX)(n.bc$,{optional:!0});_focusMonitor=(0,n.WQX)(a.FN);_rippleLoader=(0,n.WQX)(y.Ej);_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(be){this._disableRipple=be,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(be){this._disabled=be,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;constructor(){(0,n.WQX)(k.l).load(y.Ah);const be=(0,n.WQX)(pt,{optional:!0}),Ht=this._elementRef.nativeElement,Bt=Ht.classList;this.disabledInteractive=be?.disabledInteractive??!1,this.color=be?.color??null,this._rippleLoader?.configureRipple(Ht,{className:"mat-mdc-button-ripple"});for(const{attribute:Fe,mdcClasses:zt}of Et)Ht.hasAttribute(Fe)&&Bt.add(...zt)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(be="program",Ht){be?this._focusMonitor.focusVia(this._elementRef.nativeElement,be,Ht):this._elementRef.nativeElement.focus(Ht)}_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 \u0275fac=function(Ht){return new(Ht||wr)};static \u0275dir=n.FsC({type:wr,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",n.L39],disabled:[2,"disabled","disabled",n.L39],ariaDisabled:[2,"aria-disabled","ariaDisabled",n.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",n.L39]},features:[n.GFd]})}return wr})(),_t=(()=>{class wr extends It{tabIndex;ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_haltDisabledEvents=be=>{this.disabled&&(be.preventDefault(),be.stopImmediatePropagation())};_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:this.disabled||null}static \u0275fac=(()=>{let be;return function(Bt){return(be||(be=n.xGo(wr)))(Bt||wr)}})();static \u0275dir=n.FsC({type:wr,inputs:{tabIndex:[2,"tabIndex","tabIndex",be=>null==be?void 0:(0,n.Udg)(be)]},features:[n.GFd,n.Vt3]})}return wr})(),at=(()=>{class wr extends It{static \u0275fac=(()=>{let be;return function(Bt){return(be||(be=n.xGo(wr)))(Bt||wr)}})();static \u0275cmp=n.VBU({type:wr,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(Ht,Bt){2&Ht&&(n.BMQ("disabled",Bt._getDisabledAttribute())("aria-disabled",Bt._getAriaDisabled()),n.HbH(Bt.color?"mat-"+Bt.color:""),n.AVh("mat-mdc-button-disabled",Bt.disabled)("mat-mdc-button-disabled-interactive",Bt.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===Bt._animationMode)("mat-unthemed",!Bt.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[n.Vt3],attrs:C,ngContentSelectors:S,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Ht,Bt){1&Ht&&(n.NAR(A),n.nrm(0,"span",0),n.SdG(1),n.j41(2,"span",1),n.SdG(3,1),n.k0s(),n.SdG(4,2),n.nrm(5,"span",2)(6,"span",3)),2&Ht&&n.AVh("mdc-button__ripple",!Bt._isFab)("mdc-fab__ripple",Bt._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, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);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, -4px);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, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-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-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-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-sys-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-sys-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, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);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, -8px);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, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-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-sys-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-sys-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-sys-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-sys-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, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.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);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);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, -8px);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, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-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-sys-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-sys-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-sys-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-sys-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, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.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-sys-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);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);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, -8px);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, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-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-sys-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-sys-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-sys-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-sys-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, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.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, 1px);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-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-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-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}"],encapsulation:2,changeDetection:0})}return wr})(),fr=(()=>{class wr extends It{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(Ht){return new(Ht||wr)};static \u0275cmp=n.VBU({type:wr,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(Ht,Bt){2&Ht&&(n.BMQ("disabled",Bt._getDisabledAttribute())("aria-disabled",Bt._getAriaDisabled()),n.HbH(Bt.color?"mat-"+Bt.color:""),n.AVh("mat-mdc-button-disabled",Bt.disabled)("mat-mdc-button-disabled-interactive",Bt.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===Bt._animationMode)("mat-unthemed",!Bt.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[n.Vt3],attrs:J,ngContentSelectors:ht,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Ht,Bt){1&Ht&&(n.NAR(),n.nrm(0,"span",0),n.SdG(1),n.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, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.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-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-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-sys-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-sys-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-sys-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-sys-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, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.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}',O],encapsulation:2,changeDetection:0})}return wr})(),yr=(()=>{class wr extends _t{static \u0275fac=(()=>{let be;return function(Bt){return(be||(be=n.xGo(wr)))(Bt||wr)}})();static \u0275cmp=n.VBU({type:wr,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(Ht,Bt){2&Ht&&(n.BMQ("disabled",Bt._getDisabledAttribute())("tabindex",Bt.disabled&&!Bt.disabledInteractive?-1:Bt.tabIndex)("aria-disabled",Bt._getAriaDisabled()),n.HbH(Bt.color?"mat-"+Bt.color:""),n.AVh("mat-mdc-button-disabled",Bt.disabled)("mat-mdc-button-disabled-interactive",Bt.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===Bt._animationMode)("mat-unthemed",!Bt.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[n.Vt3],attrs:J,ngContentSelectors:ht,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Ht,Bt){1&Ht&&(n.NAR(),n.nrm(0,"span",0),n.SdG(1),n.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, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.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-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-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-sys-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-sys-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-sys-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-sys-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, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.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}',O],encapsulation:2,changeDetection:0})}return wr})(),jr=(()=>{class wr{static \u0275fac=function(Ht){return new(Ht||wr)};static \u0275mod=n.$C({type:wr});static \u0275inj=n.G2t({imports:[y.yE,y.pZ,y.yE]})}return wr})()},2902:(i,s,o)=>{"use strict";o.d(s,{Ah:()=>Yt,Ej:()=>To,Ju:()=>Pt,MI:()=>Rt,MJ:()=>ve,N:()=>at,QC:()=>N,Sy:()=>Sr,TL:()=>Se,X0:()=>vt,de:()=>se,es:()=>zt,is:()=>W,jb:()=>he,pZ:()=>Lt,r6:()=>cr,tO:()=>Ho,wT:()=>ue,yE:()=>st});var n=o(3107),a=o(8559),l=o(2944),y=o(8447),k=o(2147),C=o(3022),A=o(5467),S=o(5919),T=o(4460);const q=["text"],X=[[["mat-icon"]],"*"],J=["mat-icon","*"];function ht(we,ze){if(1&we&&n.nrm(0,"mat-pseudo-checkbox",1),2&we){const Mt=n.XpG();n.Y8G("disabled",Mt.disabled)("state",Mt.selected?"checked":"unchecked")}}function ct(we,ze){if(1&we&&n.nrm(0,"mat-pseudo-checkbox",3),2&we){const Mt=n.XpG();n.Y8G("disabled",Mt.disabled)}}function pt(we,ze){if(1&we&&(n.j41(0,"span",4),n.EFF(1),n.k0s()),2&we){const Mt=n.XpG();n.R7$(),n.SpI("(",Mt.group.label,")")}}const kt=["mat-internal-form-field",""],Et=["*"],at=new n.nKC("mat-sanity-checks",{providedIn:"root",factory:()=>!0});let st=(()=>{class we{constructor(){(0,n.WQX)(a.Q_)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(Wt){return new(Wt||we)};static \u0275mod=n.$C({type:we});static \u0275inj=n.G2t({imports:[l.jI,l.jI]})}return we})();class vt{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(ze,Mt,Wt,$t,Ce){this._defaultMatcher=ze,this.ngControl=Mt,this._parentFormGroup=Wt,this._parentForm=$t,this._stateChanges=Ce}updateErrorState(){const ze=this.errorState,Mt=this._parentFormGroup||this._parentForm,Wt=this.matcher||this._defaultMatcher,$t=this.ngControl?this.ngControl.control:null,Ce=Wt?.isErrorState($t,Mt)??!1;Ce!==ze&&(this.errorState=Ce,this._stateChanges.next())}}const Pt=new n.nKC("MAT_DATE_LOCALE",{providedIn:"root",factory:function ae(){return(0,n.WQX)(n.xe9)}}),le="Method not implemented";class ve{locale;_localeChanges=new y.B;localeChanges=this._localeChanges;setTime(ze,Mt,Wt,$t){throw new Error(le)}getHours(ze){throw new Error(le)}getMinutes(ze){throw new Error(le)}getSeconds(ze){throw new Error(le)}parseTime(ze,Mt){throw new Error(le)}addSeconds(ze,Mt){throw new Error(le)}getValidDateOrNull(ze){return this.isDateInstance(ze)&&this.isValid(ze)?ze:null}deserialize(ze){return null==ze||this.isDateInstance(ze)&&this.isValid(ze)?ze:this.invalid()}setLocale(ze){this.locale=ze,this._localeChanges.next()}compareDate(ze,Mt){return this.getYear(ze)-this.getYear(Mt)||this.getMonth(ze)-this.getMonth(Mt)||this.getDate(ze)-this.getDate(Mt)}compareTime(ze,Mt){return this.getHours(ze)-this.getHours(Mt)||this.getMinutes(ze)-this.getMinutes(Mt)||this.getSeconds(ze)-this.getSeconds(Mt)}sameDate(ze,Mt){if(ze&&Mt){let Wt=this.isValid(ze),$t=this.isValid(Mt);return Wt&&$t?!this.compareDate(ze,Mt):Wt==$t}return ze==Mt}sameTime(ze,Mt){if(ze&&Mt){const Wt=this.isValid(ze),$t=this.isValid(Mt);return Wt&&$t?!this.compareTime(ze,Mt):Wt==$t}return ze==Mt}clampDate(ze,Mt,Wt){return Mt&&this.compareDate(ze,Mt)<0?Mt:Wt&&this.compareDate(ze,Wt)>0?Wt:ze}}const se=new n.nKC("mat-date-formats");let zt=(()=>{class we{isErrorState(Mt,Wt){return!!(Mt&&Mt.invalid&&(Mt.touched||Wt&&Wt.submitted))}static \u0275fac=function(Wt){return new(Wt||we)};static \u0275prov=n.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})(),Yt=(()=>{class we{static \u0275fac=function(Wt){return new(Wt||we)};static \u0275cmp=n.VBU({type:we,selectors:[["structural-styles"]],decls:0,vars:0,template:function(Wt,$t){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}'],encapsulation:2,changeDetection:0})}return we})();var wt=function(we){return we[we.FADING_IN=0]="FADING_IN",we[we.VISIBLE=1]="VISIBLE",we[we.FADING_OUT=2]="FADING_OUT",we[we.HIDDEN=3]="HIDDEN",we}(wt||{});class ie{_renderer;element;config;_animationForciblyDisabledThroughCss;state=wt.HIDDEN;constructor(ze,Mt,Wt,$t=!1){this._renderer=ze,this.element=Mt,this.config=Wt,this._animationForciblyDisabledThroughCss=$t}fadeOut(){this._renderer.fadeOutRipple(this)}}const Xe=(0,k.BQ)({passive:!0,capture:!0});class Te{_events=new Map;addHandler(ze,Mt,Wt,$t){const Ce=this._events.get(Mt);if(Ce){const ce=Ce.get(Wt);ce?ce.add($t):Ce.set(Wt,new Set([$t]))}else this._events.set(Mt,new Map([[Wt,new Set([$t])]])),ze.runOutsideAngular(()=>{document.addEventListener(Mt,this._delegateEventHandler,Xe)})}removeHandler(ze,Mt,Wt){const $t=this._events.get(ze);if(!$t)return;const Ce=$t.get(Mt);Ce&&(Ce.delete(Wt),0===Ce.size&&$t.delete(Mt),0===$t.size&&(this._events.delete(ze),document.removeEventListener(ze,this._delegateEventHandler,Xe)))}_delegateEventHandler=ze=>{const Mt=(0,k.Fb)(ze);Mt&&this._events.get(ze.type)?.forEach((Wt,$t)=>{($t===Mt||$t.contains(Mt))&&Wt.forEach(Ce=>Ce.handleEvent(ze))})}}const Ke={enterDuration:225,exitDuration:150},Ve=(0,k.BQ)({passive:!0,capture:!0}),tr=["mousedown","touchstart"],Tr=["mouseup","mouseleave","touchend","touchcancel"];let Wr=(()=>{class we{static \u0275fac=function(Wt){return new(Wt||we)};static \u0275cmp=n.VBU({type:we,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(Wt,$t){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}"],encapsulation:2,changeDetection:0})}return we})();class Lo{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new Te;constructor(ze,Mt,Wt,$t,Ce){this._target=ze,this._ngZone=Mt,this._platform=$t,$t.isBrowser&&(this._containerElement=(0,C.i8)(Wt)),Ce&&Ce.get(A.l).load(Wr)}fadeInRipple(ze,Mt,Wt={}){const $t=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Ce={...Ke,...Wt.animation};Wt.centered&&(ze=$t.left+$t.width/2,Mt=$t.top+$t.height/2);const ce=Wt.radius||function Or(we,ze,Mt){const Wt=Math.max(Math.abs(we-Mt.left),Math.abs(we-Mt.right)),$t=Math.max(Math.abs(ze-Mt.top),Math.abs(ze-Mt.bottom));return Math.sqrt(Wt*Wt+$t*$t)}(ze,Mt,$t),Be=ze-$t.left,vr=Mt-$t.top,qr=Ce.enterDuration,ko=document.createElement("div");ko.classList.add("mat-ripple-element"),ko.style.left=Be-ce+"px",ko.style.top=vr-ce+"px",ko.style.height=2*ce+"px",ko.style.width=2*ce+"px",null!=Wt.color&&(ko.style.backgroundColor=Wt.color),ko.style.transitionDuration=`${qr}ms`,this._containerElement.appendChild(ko);const sn=window.getComputedStyle(ko),Zn=sn.transitionDuration,Je="none"===sn.transitionProperty||"0s"===Zn||"0s, 0s"===Zn||0===$t.width&&0===$t.height,Ae=new ie(this,ko,Wt,Je);ko.style.transform="scale3d(1, 1, 1)",Ae.state=wt.FADING_IN,Wt.persistent||(this._mostRecentTransientRipple=Ae);let te=null;return!Je&&(qr||Ce.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Re=()=>{te&&(te.fallbackTimer=null),clearTimeout(gr),this._finishRippleTransition(Ae)},ir=()=>this._destroyRipple(Ae),gr=setTimeout(ir,qr+100);ko.addEventListener("transitionend",Re),ko.addEventListener("transitioncancel",ir),te={onTransitionEnd:Re,onTransitionCancel:ir,fallbackTimer:gr}}),this._activeRipples.set(Ae,te),(Je||!qr)&&this._finishRippleTransition(Ae),Ae}fadeOutRipple(ze){if(ze.state===wt.FADING_OUT||ze.state===wt.HIDDEN)return;const Mt=ze.element,Wt={...Ke,...ze.config.animation};Mt.style.transitionDuration=`${Wt.exitDuration}ms`,Mt.style.opacity="0",ze.state=wt.FADING_OUT,(ze._animationForciblyDisabledThroughCss||!Wt.exitDuration)&&this._finishRippleTransition(ze)}fadeOutAll(){this._getActiveRipples().forEach(ze=>ze.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(ze=>{ze.config.persistent||ze.fadeOut()})}setupTriggerEvents(ze){const Mt=(0,C.i8)(ze);!this._platform.isBrowser||!Mt||Mt===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Mt,tr.forEach(Wt=>{Lo._eventManager.addHandler(this._ngZone,Wt,Mt,this)}))}handleEvent(ze){"mousedown"===ze.type?this._onMousedown(ze):"touchstart"===ze.type?this._onTouchStart(ze):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Tr.forEach(Mt=>{this._triggerElement.addEventListener(Mt,this,Ve)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(ze){ze.state===wt.FADING_IN?this._startFadeOutTransition(ze):ze.state===wt.FADING_OUT&&this._destroyRipple(ze)}_startFadeOutTransition(ze){const Mt=ze===this._mostRecentTransientRipple,{persistent:Wt}=ze.config;ze.state=wt.VISIBLE,!Wt&&(!Mt||!this._isPointerDown)&&ze.fadeOut()}_destroyRipple(ze){const Mt=this._activeRipples.get(ze)??null;this._activeRipples.delete(ze),this._activeRipples.size||(this._containerRect=null),ze===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),ze.state=wt.HIDDEN,null!==Mt&&(ze.element.removeEventListener("transitionend",Mt.onTransitionEnd),ze.element.removeEventListener("transitioncancel",Mt.onTransitionCancel),null!==Mt.fallbackTimer&&clearTimeout(Mt.fallbackTimer)),ze.element.remove()}_onMousedown(ze){const Mt=(0,a._G)(ze),Wt=this._lastTouchStartEvent&&Date.now(){!ze.config.persistent&&(ze.state===wt.VISIBLE||ze.config.terminateOnPointerUp&&ze.state===wt.FADING_IN)&&ze.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const ze=this._triggerElement;ze&&(tr.forEach(Mt=>Lo._eventManager.removeHandler(Mt,ze,this)),this._pointerUpEventsRegistered&&(Tr.forEach(Mt=>ze.removeEventListener(Mt,this,Ve)),this._pointerUpEventsRegistered=!1))}}const fo=new n.nKC("mat-ripple-global-options");let cr=(()=>{class we{_elementRef=(0,n.WQX)(n.aKT);_animationMode=(0,n.WQX)(n.bc$,{optional:!0});color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(Mt){Mt&&this.fadeOutAllNonPersistent(),this._disabled=Mt,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Mt){this._trigger=Mt,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){const Mt=(0,n.WQX)(n.SKi),Wt=(0,n.WQX)(k.OD),$t=(0,n.WQX)(fo,{optional:!0}),Ce=(0,n.WQX)(n.zZn);this._globalOptions=$t||{},this._rippleRenderer=new Lo(this,Mt,this._elementRef,Wt,Ce)}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(Mt,Wt=0,$t){return"number"==typeof Mt?this._rippleRenderer.fadeInRipple(Mt,Wt,{...this.rippleConfig,...$t}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...Mt})}static \u0275fac=function(Wt){return new(Wt||we)};static \u0275dir=n.FsC({type:we,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Wt,$t){2&Wt&&n.AVh("mat-ripple-unbounded",$t.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"]})}return we})(),Lt=(()=>{class we{static \u0275fac=function(Wt){return new(Wt||we)};static \u0275mod=n.$C({type:we});static \u0275inj=n.G2t({imports:[st,st]})}return we})(),At=(()=>{class we{_animationMode=(0,n.WQX)(n.bc$,{optional:!0});state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(Wt){return new(Wt||we)};static \u0275cmp=n.VBU({type:we,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(Wt,$t){2&Wt&&n.AVh("mat-pseudo-checkbox-indeterminate","indeterminate"===$t.state)("mat-pseudo-checkbox-checked","checked"===$t.state)("mat-pseudo-checkbox-disabled",$t.disabled)("mat-pseudo-checkbox-minimal","minimal"===$t.appearance)("mat-pseudo-checkbox-full","full"===$t.appearance)("_mat-animation-noopable","NoopAnimations"===$t._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(Wt,$t){},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-sys-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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-sys-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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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-sys-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-sys-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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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-sys-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 we})(),Zt=(()=>{class we{static \u0275fac=function(Wt){return new(Wt||we)};static \u0275mod=n.$C({type:we});static \u0275inj=n.G2t({imports:[st]})}return we})();const W=new n.nKC("MAT_OPTION_PARENT_COMPONENT"),N=new n.nKC("MatOptgroup");class Rt{source;isUserInput;constructor(ze,Mt=!1){this.source=ze,this.isUserInput=Mt}}let ue=(()=>{class we{_element=(0,n.WQX)(n.aKT);_changeDetectorRef=(0,n.WQX)(n.gRc);_parent=(0,n.WQX)(W,{optional:!0});group=(0,n.WQX)(N,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_disabled=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=(0,n.WQX)(a.g7).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(Mt){this._disabled=Mt}get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}onSelectionChange=new n.bkB;_text;_stateChanges=new y.B;constructor(){(0,n.WQX)(A.l).load(Yt),(0,n.WQX)(A.l).load(A.Y),this._signalDisableRipple=!!this._parent&&(0,n.Hps)(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(Mt=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),Mt&&this._emitSelectionChangeEvent())}deselect(Mt=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),Mt&&this._emitSelectionChangeEvent())}focus(Mt,Wt){const $t=this._getHostElement();"function"==typeof $t.focus&&$t.focus(Wt)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Mt){(Mt.keyCode===S.Fm||Mt.keyCode===S.t6)&&!(0,S.rp)(Mt)&&(this._selectViaInteraction(),Mt.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 Mt=this.viewValue;Mt!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=Mt)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Mt=!1){this.onSelectionChange.emit(new Rt(this,Mt))}static \u0275fac=function(Wt){return new(Wt||we)};static \u0275cmp=n.VBU({type:we,selectors:[["mat-option"]],viewQuery:function(Wt,$t){if(1&Wt&&n.GBs(q,7),2&Wt){let Ce;n.mGM(Ce=n.lsd())&&($t._text=Ce.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(Wt,$t){1&Wt&&n.bIt("click",function(){return $t._selectViaInteraction()})("keydown",function(ce){return $t._handleKeydown(ce)}),2&Wt&&(n.Mr5("id",$t.id),n.BMQ("aria-selected",$t.selected)("aria-disabled",$t.disabled.toString()),n.AVh("mdc-list-item--selected",$t.selected)("mat-mdc-option-multiple",$t.multiple)("mat-mdc-option-active",$t.active)("mdc-list-item--disabled",$t.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",n.L39]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],features:[n.GFd],ngContentSelectors:J,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-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(Wt,$t){1&Wt&&(n.NAR(X),n.DNE(0,ht,1,2,"mat-pseudo-checkbox",1),n.SdG(1),n.j41(2,"span",2,0),n.SdG(4,1),n.k0s(),n.DNE(5,ct,1,1,"mat-pseudo-checkbox",3)(6,pt,2,1,"span",4),n.nrm(7,"div",5)),2&Wt&&(n.vxM($t.multiple?0:-1),n.R7$(5),n.vxM($t.multiple||!$t.selected||$t.hideSingleSelectionIndicator?-1:5),n.R7$(),n.vxM($t.group&&$t.group._inert?6:-1),n.R7$(),n.Y8G("matRippleTrigger",$t._getHostElement())("matRippleDisabled",$t.disabled||$t.disableRipple))},dependencies:[At,cr],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-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.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, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));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-sys-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-sys-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-sys-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}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::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-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return we})();function he(we,ze,Mt){if(Mt.length){let Wt=ze.toArray(),$t=Mt.toArray(),Ce=0;for(let ce=0;ceMt+Wt?Math.max(0,we-Wt+ze):Mt}let Sr=(()=>{class we{static \u0275fac=function(Wt){return new(Wt||we)};static \u0275mod=n.$C({type:we});static \u0275inj=n.G2t({imports:[Lt,st,Zt]})}return we})();const ar={capture:!0},dr=["focus","mousedown","mouseenter","touchstart"],Mr="mat-ripple-loader-uninitialized",ao="mat-ripple-loader-class-name",xr="mat-ripple-loader-centered",zo="mat-ripple-loader-disabled";let To=(()=>{class we{_document=(0,n.WQX)(T.qQ,{optional:!0});_animationMode=(0,n.WQX)(n.bc$,{optional:!0});_globalRippleOptions=(0,n.WQX)(fo,{optional:!0});_platform=(0,n.WQX)(k.OD);_ngZone=(0,n.WQX)(n.SKi);_injector=(0,n.WQX)(n.zZn);_hosts=new Map;constructor(){this._ngZone.runOutsideAngular(()=>{for(const Mt of dr)this._document?.addEventListener(Mt,this._onInteraction,ar)})}ngOnDestroy(){const Mt=this._hosts.keys();for(const Wt of Mt)this.destroyRipple(Wt);for(const Wt of dr)this._document?.removeEventListener(Wt,this._onInteraction,ar)}configureRipple(Mt,Wt){Mt.setAttribute(Mr,this._globalRippleOptions?.namespace??""),(Wt.className||!Mt.hasAttribute(ao))&&Mt.setAttribute(ao,Wt.className||""),Wt.centered&&Mt.setAttribute(xr,""),Wt.disabled&&Mt.setAttribute(zo,"")}setDisabled(Mt,Wt){const $t=this._hosts.get(Mt);$t?($t.target.rippleDisabled=Wt,!Wt&&!$t.hasSetUpEvents&&($t.hasSetUpEvents=!0,$t.renderer.setupTriggerEvents(Mt))):Wt?Mt.setAttribute(zo,""):Mt.removeAttribute(zo)}_onInteraction=Mt=>{const Wt=(0,k.Fb)(Mt);if(Wt instanceof HTMLElement){const $t=Wt.closest(`[${Mr}="${this._globalRippleOptions?.namespace??""}"]`);$t&&this._createRipple($t)}};_createRipple(Mt){if(!this._document||this._hosts.has(Mt))return;Mt.querySelector(".mat-ripple")?.remove();const Wt=this._document.createElement("span");Wt.classList.add("mat-ripple",Mt.getAttribute(ao)),Mt.append(Wt);const $t="NoopAnimations"===this._animationMode,Ce=this._globalRippleOptions,ce=$t?0:Ce?.animation?.enterDuration??Ke.enterDuration,Be=$t?0:Ce?.animation?.exitDuration??Ke.exitDuration,vr={rippleDisabled:$t||Ce?.disabled||Mt.hasAttribute(zo),rippleConfig:{centered:Mt.hasAttribute(xr),terminateOnPointerUp:Ce?.terminateOnPointerUp,animation:{enterDuration:ce,exitDuration:Be}}},qr=new Lo(vr,this._ngZone,Wt,this._platform,this._injector),ko=!vr.rippleDisabled;ko&&qr.setupTriggerEvents(Mt),this._hosts.set(Mt,{target:vr,renderer:qr,hasSetUpEvents:ko}),Mt.removeAttribute(Mr)}destroyRipple(Mt){const Wt=this._hosts.get(Mt);Wt&&(Wt.renderer._removeTriggerEvents(),this._hosts.delete(Mt))}static \u0275fac=function(Wt){return new(Wt||we)};static \u0275prov=n.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})(),Ho=(()=>{class we{labelPosition;static \u0275fac=function(Wt){return new(Wt||we)};static \u0275cmp=n.VBU({type:we,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(Wt,$t){2&Wt&&n.AVh("mdc-form-field--align-end","before"===$t.labelPosition)},inputs:{labelPosition:"labelPosition"},attrs:kt,ngContentSelectors:Et,decls:1,vars:0,template:function(Wt,$t){1&Wt&&(n.NAR(),n.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 we})()},7544:(i,s,o)=>{"use strict";o.d(s,{Vh:()=>Dt,bZ:()=>Ke,E7:()=>Wr,tx:()=>re,Yi:()=>Tr,hM:()=>fo,CP:()=>Oe});var n=o(9666),a=o(3107),l=o(8559),y=o(2147),k=o(6192),C=o(4460),A=o(5919),S=o(8447),T=o(6381),O=o(3016),P=o(2944),q=o(593);function X(At,Zt){}class J{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!0;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;componentFactoryResolver;providers;container;templateContext}let ct=(()=>{class At extends k.lb{_elementRef=(0,a.WQX)(a.aKT);_focusTrapFactory=(0,a.WQX)(l.GX);_config;_interactivityChecker=(0,a.WQX)(l.Z7);_ngZone=(0,a.WQX)(a.SKi);_overlayRef=(0,a.WQX)(n.yY);_focusMonitor=(0,a.WQX)(l.FN);_platform=(0,a.WQX)(y.OD);_document=(0,a.WQX)(C.qQ,{optional:!0});_portalOutlet;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_changeDetectorRef=(0,a.WQX)(a.gRc);_injector=(0,a.WQX)(a.zZn);_isDestroyed=!1;constructor(){super(),this._config=(0,a.WQX)(J,{optional:!0})||new J,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(W){this._ariaLabelledByQueue.push(W),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(W){const N=this._ariaLabelledByQueue.indexOf(W);N>-1&&(this._ariaLabelledByQueue.splice(N,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(W){this._portalOutlet.hasAttached();const N=this._portalOutlet.attachComponentPortal(W);return this._contentAttached(),N}attachTemplatePortal(W){this._portalOutlet.hasAttached();const N=this._portalOutlet.attachTemplatePortal(W);return this._contentAttached(),N}attachDomPortal=W=>{this._portalOutlet.hasAttached();const N=this._portalOutlet.attachDomPortal(W);return this._contentAttached(),N};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(W,N){this._interactivityChecker.isFocusable(W)||(W.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const z=()=>{W.removeEventListener("blur",z),W.removeEventListener("mousedown",z),W.removeAttribute("tabindex")};W.addEventListener("blur",z),W.addEventListener("mousedown",z)})),W.focus(N)}_focusByCssSelector(W,N){let z=this._elementRef.nativeElement.querySelector(W);z&&this._forceFocus(z,N)}_trapFocus(){this._isDestroyed||(0,a.mal)(()=>{const W=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||W.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 W=this._config.restoreFocus;let N=null;if("string"==typeof W?N=this._document.querySelector(W):"boolean"==typeof W?N=W?this._elementFocusedBeforeDialogWasOpened:null:W&&(N=W),this._config.restoreFocus&&N&&"function"==typeof N.focus){const z=(0,y.vc)(),Rt=this._elementRef.nativeElement;(!z||z===this._document.body||z===Rt||Rt.contains(z))&&(this._focusMonitor?(this._focusMonitor.focusVia(N,this._closeInteractionType),this._closeInteractionType=null):N.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const W=this._elementRef.nativeElement,N=(0,y.vc)();return W===N||W.contains(N)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,y.vc)()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static \u0275fac=function(N){return new(N||At)};static \u0275cmp=a.VBU({type:At,selectors:[["cdk-dialog-container"]],viewQuery:function(N,z){if(1&N&&a.GBs(k.I3,7),2&N){let Rt;a.mGM(Rt=a.lsd())&&(z._portalOutlet=Rt.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(N,z){2&N&&a.BMQ("id",z._config.id||null)("role",z._config.role)("aria-modal",z._config.ariaModal)("aria-labelledby",z._config.ariaLabel?null:z._ariaLabelledByQueue[0])("aria-label",z._config.ariaLabel)("aria-describedby",z._config.ariaDescribedBy||null)},features:[a.Vt3],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(N,z){1&N&&a.DNE(0,X,0,0,"ng-template",0)},dependencies:[k.I3],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return At})();class pt{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new S.B;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(Zt,W){this.overlayRef=Zt,this.config=W,this.disableClose=W.disableClose,this.backdropClick=Zt.backdropClick(),this.keydownEvents=Zt.keydownEvents(),this.outsidePointerEvents=Zt.outsidePointerEvents(),this.id=W.id,this.keydownEvents.subscribe(N=>{N.keyCode===A._f&&!this.disableClose&&!(0,A.rp)(N)&&(N.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=Zt.detachments().subscribe(()=>{!1!==W.closeOnOverlayDetachments&&this.close()})}close(Zt,W){if(this.containerInstance){const N=this.closed;this.containerInstance._closeInteractionType=W?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),N.next(Zt),N.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Zt="",W=""){return this.overlayRef.updateSize({width:Zt,height:W}),this}addPanelClass(Zt){return this.overlayRef.addPanelClass(Zt),this}removePanelClass(Zt){return this.overlayRef.removePanelClass(Zt),this}}const kt=new a.nKC("DialogScrollStrategy",{providedIn:"root",factory:()=>{const At=(0,a.WQX)(n.hJ);return()=>At.scrollStrategies.block()}}),Et=new a.nKC("DialogData"),It=new a.nKC("DefaultDialogConfig");let at=(()=>{class At{_overlay=(0,a.WQX)(n.hJ);_injector=(0,a.WQX)(a.zZn);_defaultOptions=(0,a.WQX)(It,{optional:!0});_parentDialog=(0,a.WQX)(At,{optional:!0,skipSelf:!0});_overlayContainer=(0,a.WQX)(n.Sf);_idGenerator=(0,a.WQX)(l.g7);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new S.B;_afterOpenedAtThisLevel=new S.B;_ariaHiddenElements=new Map;_scrollStrategy=(0,a.WQX)(kt);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=(0,T.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,q.Z)(void 0)));constructor(){}open(W,N){(N={...this._defaultOptions||new J,...N}).id=N.id||this._idGenerator.getId("cdk-dialog-"),N.id&&this.getDialogById(N.id);const Rt=this._getOverlayConfig(N),ue=this._overlay.create(Rt),he=new pt(ue,N),Se=this._attachContainer(ue,he,N);return he.containerInstance=Se,this._attachDialogContent(W,he,Se,N),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(he),he.closed.subscribe(()=>this._removeOpenDialog(he,!0)),this.afterOpened.next(he),he}closeAll(){st(this.openDialogs,W=>W.close())}getDialogById(W){return this.openDialogs.find(N=>N.id===W)}ngOnDestroy(){st(this._openDialogsAtThisLevel,W=>{!1===W.config.closeOnDestroy&&this._removeOpenDialog(W,!1)}),st(this._openDialogsAtThisLevel,W=>W.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(W){const N=new n.rR({positionStrategy:W.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:W.scrollStrategy||this._scrollStrategy(),panelClass:W.panelClass,hasBackdrop:W.hasBackdrop,direction:W.direction,minWidth:W.minWidth,minHeight:W.minHeight,maxWidth:W.maxWidth,maxHeight:W.maxHeight,width:W.width,height:W.height,disposeOnNavigation:W.closeOnNavigation});return W.backdropClass&&(N.backdropClass=W.backdropClass),N}_attachContainer(W,N,z){const Rt=z.injector||z.viewContainerRef?.injector,ue=[{provide:J,useValue:z},{provide:pt,useValue:N},{provide:n.yY,useValue:W}];let he;z.container?"function"==typeof z.container?he=z.container:(he=z.container.type,ue.push(...z.container.providers(z))):he=ct;const Se=new k.A8(he,z.viewContainerRef,a.zZn.create({parent:Rt||this._injector,providers:ue}));return W.attach(Se).instance}_attachDialogContent(W,N,z,Rt){if(W instanceof a.C4Q){const ue=this._createInjector(Rt,N,z,void 0);let he={$implicit:Rt.data,dialogRef:N};Rt.templateContext&&(he={...he,..."function"==typeof Rt.templateContext?Rt.templateContext():Rt.templateContext}),z.attachTemplatePortal(new k.VA(W,null,he,ue))}else{const ue=this._createInjector(Rt,N,z,this._injector),he=z.attachComponentPortal(new k.A8(W,Rt.viewContainerRef,ue));N.componentRef=he,N.componentInstance=he.instance}}_createInjector(W,N,z,Rt){const ue=W.injector||W.viewContainerRef?.injector,he=[{provide:Et,useValue:W.data},{provide:pt,useValue:N}];return W.providers&&("function"==typeof W.providers?he.push(...W.providers(N,W,z)):he.push(...W.providers)),W.direction&&(!ue||!ue.get(P.dS,null,{optional:!0}))&&he.push({provide:P.dS,useValue:{value:W.direction,change:(0,O.of)()}}),a.zZn.create({parent:ue||Rt,providers:he})}_removeOpenDialog(W,N){const z=this.openDialogs.indexOf(W);z>-1&&(this.openDialogs.splice(z,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Rt,ue)=>{Rt?ue.setAttribute("aria-hidden",Rt):ue.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),N&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const W=this._overlayContainer.getContainerElement();if(W.parentElement){const N=W.parentElement.children;for(let z=N.length-1;z>-1;z--){const Rt=N[z];Rt!==W&&"SCRIPT"!==Rt.nodeName&&"STYLE"!==Rt.nodeName&&!Rt.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(Rt,Rt.getAttribute("aria-hidden")),Rt.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const W=this._parentDialog;return W?W._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(N){return new(N||At)};static \u0275prov=a.jDH({token:At,factory:At.\u0275fac,providedIn:"root"})}return At})();function st(At,Zt){let W=At.length;for(;W--;)Zt(At[W])}let vt=(()=>{class At{static \u0275fac=function(N){return new(N||At)};static \u0275mod=a.$C({type:At});static \u0275inj=a.G2t({providers:[at],imports:[n.z_,k.jc,l.Pd,k.jc]})}return At})();var Pt=o(3022),ae=o(7509),le=o(1483),ve=o(7610),se=o(8108),or=o(2902);function yr(At,Zt){}o(1204);class jr{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!0;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;componentFactoryResolver;enterAnimationDuration;exitAnimationDuration}const wr="mdc-dialog--open",Qt="mdc-dialog--opening",be="mdc-dialog--closing";let Fe=(()=>{class At extends ct{_animationMode=(0,a.WQX)(a.bc$,{optional:!0});_animationStateChanged=new a.bkB;_animationsEnabled="NoopAnimations"!==this._animationMode;_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?Yt(this._config.enterAnimationDuration)??150:0;_exitAnimationDuration=this._animationsEnabled?Yt(this._config.exitAnimationDuration)??75:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(zt,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Qt,wr)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(wr),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(wr),this._animationsEnabled?(this._hostElement.style.setProperty(zt,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(be)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(W){this._actionSectionCount+=W,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(Qt,be)}_waitForAnimationToComplete(W,N){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(N,W)}_requestAnimationFrame(W){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(W):W()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(W){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:W})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(W){const N=super.attachComponentPortal(W);return N.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),N}static \u0275fac=(()=>{let W;return function(z){return(W||(W=a.xGo(At)))(z||At)}})();static \u0275cmp=a.VBU({type:At,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(N,z){2&N&&(a.Mr5("id",z._config.id),a.BMQ("aria-modal",z._config.ariaModal)("role",z._config.role)("aria-labelledby",z._config.ariaLabel?null:z._ariaLabelledByQueue[0])("aria-label",z._config.ariaLabel)("aria-describedby",z._config.ariaDescribedBy||null),a.AVh("_mat-animation-noopable",!z._animationsEnabled)("mat-mdc-dialog-container-with-actions",z._actionSectionCount>0))},features:[a.Vt3],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(N,z){1&N&&(a.j41(0,"div",0)(1,"div",1),a.DNE(2,yr,0,0,"ng-template",2),a.k0s()())},dependencies:[k.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, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.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, none);border-radius:var(--mdc-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-sys-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, 6px 24px 13px)}.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-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-sys-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-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-sys-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 0)}.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, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: 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 At})();const zt="--mat-dialog-transition-duration";function Yt(At){return null==At?null:"number"==typeof At?At:At.endsWith("ms")?(0,Pt.OE)(At.substring(0,At.length-2)):At.endsWith("s")?1e3*(0,Pt.OE)(At.substring(0,At.length-1)):"0"===At?0:null}var oe=function(At){return At[At.OPEN=0]="OPEN",At[At.CLOSING=1]="CLOSING",At[At.CLOSED=2]="CLOSED",At}(oe||{});class Oe{_ref;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new S.B;_beforeClosed=new S.B;_result;_closeFallbackTimeout;_state=oe.OPEN;_closeInteractionType;constructor(Zt,W,N){this._ref=Zt,this._containerInstance=N,this.disableClose=W.disableClose,this.id=Zt.id,Zt.addPanelClass("mat-mdc-dialog-panel"),N._animationStateChanged.pipe((0,le.p)(z=>"opened"===z.state),(0,ve.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),N._animationStateChanged.pipe((0,le.p)(z=>"closed"===z.state),(0,ve.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Zt.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,ae.h)(this.backdropClick(),this.keydownEvents().pipe((0,le.p)(z=>z.keyCode===A._f&&!this.disableClose&&!(0,A.rp)(z)))).subscribe(z=>{this.disableClose||(z.preventDefault(),$e(this,"keydown"===z.type?"keyboard":"mouse"))})}close(Zt){this._result=Zt,this._containerInstance._animationStateChanged.pipe((0,le.p)(W=>"closing"===W.state),(0,ve.s)(1)).subscribe(W=>{this._beforeClosed.next(Zt),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),W.totalTime+100)}),this._state=oe.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(Zt){let W=this._ref.config.positionStrategy;return Zt&&(Zt.left||Zt.right)?Zt.left?W.left(Zt.left):W.right(Zt.right):W.centerHorizontally(),Zt&&(Zt.top||Zt.bottom)?Zt.top?W.top(Zt.top):W.bottom(Zt.bottom):W.centerVertically(),this._ref.updatePosition(),this}updateSize(Zt="",W=""){return this._ref.updateSize(Zt,W),this}addPanelClass(Zt){return this._ref.addPanelClass(Zt),this}removePanelClass(Zt){return this._ref.removePanelClass(Zt),this}getState(){return this._state}_finishDialogClose(){this._state=oe.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function $e(At,Zt,W){return At._closeInteractionType=Zt,At.close(W)}const Dt=new a.nKC("MatMdcDialogData"),wt=new a.nKC("mat-mdc-dialog-default-options"),ie=new a.nKC("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const At=(0,a.WQX)(n.hJ);return()=>At.scrollStrategies.block()}});let Ke=(()=>{class At{_overlay=(0,a.WQX)(n.hJ);_defaultOptions=(0,a.WQX)(wt,{optional:!0});_scrollStrategy=(0,a.WQX)(ie);_parentDialog=(0,a.WQX)(At,{optional:!0,skipSelf:!0});_idGenerator=(0,a.WQX)(l.g7);_dialog=(0,a.WQX)(at);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new S.B;_afterOpenedAtThisLevel=new S.B;dialogConfigClass=jr;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const W=this._parentDialog;return W?W._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=(0,T.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,q.Z)(void 0)));constructor(){this._dialogRefConstructor=Oe,this._dialogContainerType=Fe,this._dialogDataToken=Dt}open(W,N){let z;(N={...this._defaultOptions||new jr,...N}).id=N.id||this._idGenerator.getId("mat-mdc-dialog-"),N.scrollStrategy=N.scrollStrategy||this._scrollStrategy();const Rt=this._dialog.open(W,{...N,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:N},{provide:J,useValue:N}]},templateContext:()=>({dialogRef:z}),providers:(ue,he,Se)=>(z=new this._dialogRefConstructor(ue,N,Se),z.updatePosition(N?.position),[{provide:this._dialogContainerType,useValue:Se},{provide:this._dialogDataToken,useValue:he.data},{provide:this._dialogRefConstructor,useValue:z}])});return z.componentRef=Rt.componentRef,z.componentInstance=Rt.componentInstance,this.openDialogs.push(z),this.afterOpened.next(z),z.afterClosed().subscribe(()=>{const ue=this.openDialogs.indexOf(z);ue>-1&&(this.openDialogs.splice(ue,1),this.openDialogs.length||this._getAfterAllClosed().next())}),z}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(W){return this.openDialogs.find(N=>N.id===W)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(W){let N=W.length;for(;N--;)W[N].close()}static \u0275fac=function(N){return new(N||At)};static \u0275prov=a.jDH({token:At,factory:At.\u0275fac,providedIn:"root"})}return At})(),re=(()=>{class At{dialogRef=(0,a.WQX)(Oe,{optional:!0});_elementRef=(0,a.WQX)(a.aKT);_dialog=(0,a.WQX)(Ke);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=Lo(this._elementRef,this._dialog.openDialogs))}ngOnChanges(W){const N=W._matDialogClose||W._matDialogCloseResult;N&&(this.dialogResult=N.currentValue)}_onButtonClick(W){$e(this.dialogRef,0===W.screenX&&0===W.screenY?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(N){return new(N||At)};static \u0275dir=a.FsC({type:At,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(N,z){1&N&&a.bIt("click",function(ue){return z._onButtonClick(ue)}),2&N&&a.BMQ("aria-label",z.ariaLabel||null)("type",z.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[a.OA$]})}return At})(),Ve=(()=>{class At{_dialogRef=(0,a.WQX)(Oe,{optional:!0});_elementRef=(0,a.WQX)(a.aKT);_dialog=(0,a.WQX)(Ke);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=Lo(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(N){return new(N||At)};static \u0275dir=a.FsC({type:At})}return At})(),Tr=(()=>{class At{static \u0275fac=function(N){return new(N||At)};static \u0275dir=a.FsC({type:At,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[a.nM4([se.uv])]})}return At})(),Wr=(()=>{class At extends Ve{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let W;return function(z){return(W||(W=a.xGo(At)))(z||At)}})();static \u0275dir=a.FsC({type:At,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(N,z){2&N&&a.AVh("mat-mdc-dialog-actions-align-start","start"===z.align)("mat-mdc-dialog-actions-align-center","center"===z.align)("mat-mdc-dialog-actions-align-end","end"===z.align)},inputs:{align:"align"},features:[a.Vt3]})}return At})();function Lo(At,Zt){let W=At.nativeElement.parentElement;for(;W&&!W.classList.contains("mat-mdc-dialog-container");)W=W.parentElement;return W?Zt.find(N=>N.id===W.id):null}let fo=(()=>{class At{static \u0275fac=function(N){return new(N||At)};static \u0275mod=a.$C({type:At});static \u0275inj=a.G2t({providers:[Ke],imports:[vt,n.z_,k.jc,or.yE,or.yE]})}return At})()},7702:(i,s,o)=>{"use strict";o.d(s,{q:()=>y,w:()=>k});var n=o(3107),a=o(3022),l=o(2902);let y=(()=>{class C{get vertical(){return this._vertical}set vertical(S){this._vertical=(0,a.he)(S)}_vertical=!1;get inset(){return this._inset}set inset(S){this._inset=(0,a.he)(S)}_inset=!1;static \u0275fac=function(T){return new(T||C)};static \u0275cmp=n.VBU({type:C,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(T,O){2&T&&(n.BMQ("aria-orientation",O.vertical?"vertical":"horizontal"),n.AVh("mat-divider-vertical",O.vertical)("mat-divider-horizontal",!O.vertical)("mat-divider-inset",O.inset))},inputs:{vertical:"vertical",inset:"inset"},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-sys-outline));border-top-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-sys-outline));border-right-width:var(--mat-divider-width, 1px)}.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 C})(),k=(()=>{class C{static \u0275fac=function(T){return new(T||C)};static \u0275mod=n.$C({type:C});static \u0275inj=n.G2t({imports:[l.yE,l.yE]})}return C})()},6071:(i,s,o)=>{"use strict";o.d(s,{xb:()=>ar,U$:()=>dr,TL:()=>tr,rl:()=>To,qT:()=>ue,RG:()=>Ho,MV:()=>Tr,nJ:()=>re,JW:()=>Lo,yw:()=>fo});var n=o(3107),a=o(8559),l=o(2944),y=o(3022),k=o(2147),C=o(4460),A=o(5710),S=o(8447),T=o(7509),O=o(593),P=o(7947),q=o(5351),X=o(2483),ht=o(1483),ct=o(5424),pt=o(1698),kt=o(8249);class It{_box;_destroyed=new S.B;_resizeSubject=new S.B;_resizeObserver;_elementObservables=new Map;constructor(ze){this._box=ze,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(Mt=>this._resizeSubject.next(Mt)))}observe(ze){return this._elementObservables.has(ze)||this._elementObservables.set(ze,new pt.c(Mt=>{const Wt=this._resizeSubject.subscribe(Mt);return this._resizeObserver?.observe(ze,{box:this._box}),()=>{this._resizeObserver?.unobserve(ze),Wt.unsubscribe(),this._elementObservables.delete(ze)}}).pipe((0,ht.p)(Mt=>Mt.some(Wt=>Wt.target===ze)),(0,kt.t)({bufferSize:1,refCount:!0}),(0,ct.Q)(this._destroyed))),this._elementObservables.get(ze)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let yt=(()=>{class we{_observers=new Map;_ngZone=(0,n.WQX)(n.SKi);constructor(){}ngOnDestroy(){for(const[,Mt]of this._observers)Mt.destroy();this._observers.clear()}observe(Mt,Wt){const $t=Wt?.box||"content-box";return this._observers.has($t)||this._observers.set($t,new It($t)),this._observers.get($t).observe(Mt)}static \u0275fac=function(Wt){return new(Wt||we)};static \u0275prov=n.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})();var _t=o(1204),at=o(7747),st=o(2902);const vt=["notch"],Pt=["matFormFieldNotchedOutline",""],ae=["*"],le=["textField"],ve=["iconPrefixContainer"],se=["textPrefixContainer"],or=["iconSuffixContainer"],fr=["textSuffixContainer"],yr=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],jr=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function wr(we,ze){1&we&&n.nrm(0,"span",21)}function Qt(we,ze){if(1&we&&(n.j41(0,"label",20),n.SdG(1,1),n.DNE(2,wr,1,0,"span",21),n.k0s()),2&we){const Mt=n.XpG(2);n.Y8G("floating",Mt._shouldLabelFloat())("monitorResize",Mt._hasOutline())("id",Mt._labelId),n.BMQ("for",Mt._control.disableAutomaticLabeling?null:Mt._control.id),n.R7$(2),n.vxM(!Mt.hideRequiredMarker&&Mt._control.required?2:-1)}}function be(we,ze){if(1&we&&n.DNE(0,Qt,3,5,"label",20),2&we){const Mt=n.XpG();n.vxM(Mt._hasFloatingLabel()?0:-1)}}function Ht(we,ze){1&we&&n.nrm(0,"div",7)}function Bt(we,ze){}function Fe(we,ze){if(1&we&&n.DNE(0,Bt,0,0,"ng-template",13),2&we){n.XpG(2);const Mt=n.sdS(1);n.Y8G("ngTemplateOutlet",Mt)}}function zt(we,ze){if(1&we&&(n.j41(0,"div",9),n.DNE(1,Fe,1,1,null,13),n.k0s()),2&we){const Mt=n.XpG();n.Y8G("matFormFieldNotchedOutlineOpen",Mt._shouldLabelFloat()),n.R7$(),n.vxM(Mt._forceDisplayInfixLabel()?-1:1)}}function Yt(we,ze){1&we&&(n.j41(0,"div",10,2),n.SdG(2,2),n.k0s())}function oe(we,ze){1&we&&(n.j41(0,"div",11,3),n.SdG(2,3),n.k0s())}function Oe(we,ze){}function $e(we,ze){if(1&we&&n.DNE(0,Oe,0,0,"ng-template",13),2&we){n.XpG();const Mt=n.sdS(1);n.Y8G("ngTemplateOutlet",Mt)}}function Dt(we,ze){1&we&&(n.j41(0,"div",14,4),n.SdG(2,4),n.k0s())}function wt(we,ze){1&we&&(n.j41(0,"div",15,5),n.SdG(2,5),n.k0s())}function ie(we,ze){1&we&&n.nrm(0,"div",16)}function Xe(we,ze){if(1&we&&(n.j41(0,"div",18),n.SdG(1,6),n.k0s()),2&we){const Mt=n.XpG();n.Y8G("@transitionMessages",Mt._subscriptAnimationState)}}function Te(we,ze){if(1&we&&(n.j41(0,"mat-hint",22),n.EFF(1),n.k0s()),2&we){const Mt=n.XpG(2);n.Y8G("id",Mt._hintLabelId),n.R7$(),n.JRh(Mt.hintLabel)}}function Ke(we,ze){if(1&we&&(n.j41(0,"div",19),n.DNE(1,Te,2,2,"mat-hint",22),n.SdG(2,7),n.nrm(3,"div",23),n.SdG(4,8),n.k0s()),2&we){const Mt=n.XpG();n.Y8G("@transitionMessages",Mt._subscriptAnimationState),n.R7$(),n.vxM(Mt.hintLabel?1:-1)}}let re=(()=>{class we{static \u0275fac=function(Wt){return new(Wt||we)};static \u0275dir=n.FsC({type:we,selectors:[["mat-label"]]})}return we})();const Ve=new n.nKC("MatError");let tr=(()=>{class we{id=(0,n.WQX)(a.g7).getId("mat-mdc-error-");constructor(){(0,n.WQX)(new n.ES_("aria-live"),{optional:!0})||(0,n.WQX)(n.aKT).nativeElement.setAttribute("aria-live","polite")}static \u0275fac=function(Wt){return new(Wt||we)};static \u0275dir=n.FsC({type:we,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(Wt,$t){2&Wt&&n.Mr5("id",$t.id)},inputs:{id:"id"},features:[n.Jv_([{provide:Ve,useExisting:we}])]})}return we})(),Tr=(()=>{class we{align="start";id=(0,n.WQX)(a.g7).getId("mat-mdc-hint-");static \u0275fac=function(Wt){return new(Wt||we)};static \u0275dir=n.FsC({type:we,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(Wt,$t){2&Wt&&(n.Mr5("id",$t.id),n.BMQ("align",null),n.AVh("mat-mdc-form-field-hint-end","end"===$t.align))},inputs:{align:"align",id:"id"}})}return we})();const Wr=new n.nKC("MatPrefix");let Lo=(()=>{class we{set _isTextSelector(Mt){this._isText=!0}_isText=!1;static \u0275fac=function(Wt){return new(Wt||we)};static \u0275dir=n.FsC({type:we,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},features:[n.Jv_([{provide:Wr,useExisting:we}])]})}return we})();const Or=new n.nKC("MatSuffix");let fo=(()=>{class we{set _isTextSelector(Mt){this._isText=!0}_isText=!1;static \u0275fac=function(Wt){return new(Wt||we)};static \u0275dir=n.FsC({type:we,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[n.Jv_([{provide:Or,useExisting:we}])]})}return we})();const cr=new n.nKC("FloatingLabelParent");let Lt=(()=>{class we{_elementRef=(0,n.WQX)(n.aKT);get floating(){return this._floating}set floating(Mt){this._floating=Mt,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(Mt){this._monitorResize=Mt,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=(0,n.WQX)(yt);_ngZone=(0,n.WQX)(n.SKi);_parent=(0,n.WQX)(cr);_resizeSubscription=new A.yU;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function At(we){if(null!==we.offsetParent)return we.scrollWidth;const Mt=we.cloneNode(!0);Mt.style.setProperty("position","absolute"),Mt.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Mt);const Wt=Mt.scrollWidth;return Mt.remove(),Wt}(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 \u0275fac=function(Wt){return new(Wt||we)};static \u0275dir=n.FsC({type:we,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(Wt,$t){2&Wt&&n.AVh("mdc-floating-label--float-above",$t.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return we})();const Zt="mdc-line-ripple--active",W="mdc-line-ripple--deactivating";let N=(()=>{class we{_elementRef=(0,n.WQX)(n.aKT);constructor(){(0,n.WQX)(n.SKi).runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const Mt=this._elementRef.nativeElement.classList;Mt.remove(W),Mt.add(Zt)}deactivate(){this._elementRef.nativeElement.classList.add(W)}_handleTransitionEnd=Mt=>{const Wt=this._elementRef.nativeElement.classList,$t=Wt.contains(W);"opacity"===Mt.propertyName&&$t&&Wt.remove(Zt,W)};ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static \u0275fac=function(Wt){return new(Wt||we)};static \u0275dir=n.FsC({type:we,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return we})(),z=(()=>{class we{_elementRef=(0,n.WQX)(n.aKT);_ngZone=(0,n.WQX)(n.SKi);open=!1;_notch;constructor(){}ngAfterViewInit(){const Mt=this._elementRef.nativeElement.querySelector(".mdc-floating-label");Mt?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(Mt.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>Mt.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(Mt){this._notch.nativeElement.style.width=this.open&&Mt?`calc(${Mt}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static \u0275fac=function(Wt){return new(Wt||we)};static \u0275cmp=n.VBU({type:we,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(Wt,$t){if(1&Wt&&n.GBs(vt,5),2&Wt){let Ce;n.mGM(Ce=n.lsd())&&($t._notch=Ce.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(Wt,$t){2&Wt&&n.AVh("mdc-notched-outline--notched",$t.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:Pt,ngContentSelectors:ae,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(Wt,$t){1&Wt&&(n.NAR(),n.nrm(0,"div",1),n.j41(1,"div",2,0),n.SdG(3),n.k0s(),n.nrm(4,"div",3))},encapsulation:2,changeDetection:0})}return we})();const Rt={transitionMessages:(0,_t.hZ)("transitionMessages",[(0,_t.wk)("enter",(0,_t.iF)({opacity:1,transform:"translateY(0%)"})),(0,_t.kY)("void => enter",[(0,_t.iF)({opacity:0,transform:"translateY(-5px)"}),(0,_t.i0)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let ue=(()=>{class we{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;static \u0275fac=function(Wt){return new(Wt||we)};static \u0275dir=n.FsC({type:we})}return we})();const ar=new n.nKC("MatFormField"),dr=new n.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let To=(()=>{class we{_elementRef=(0,n.WQX)(n.aKT);_changeDetectorRef=(0,n.WQX)(n.gRc);_dir=(0,n.WQX)(l.dS);_platform=(0,n.WQX)(k.OD);_idGenerator=(0,n.WQX)(a.g7);_defaults=(0,n.WQX)(dr,{optional:!0});_animationMode=(0,n.WQX)(n.bc$,{optional:!0});_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=(0,n.sbv)(re);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Mt){this._hideRequiredMarker=(0,y.he)(Mt)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(Mt){Mt!==this._floatLabel&&(this._floatLabel=Mt,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearance}set appearance(Mt){const Wt=this._appearance;this._appearance=Mt||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==Wt&&(this._needsOutlineLabelOffsetUpdate=!0)}_appearance="fill";get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(Mt){this._subscriptSizing=Mt||this._defaults?.subscriptSizing||"fixed"}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(Mt){this._hintLabel=Mt,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_subscriptAnimationState="";get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(Mt){this._explicitFormFieldControl=Mt}_destroyed=new S.B;_isFocused=null;_explicitFormFieldControl;_needsOutlineLabelOffsetUpdate=!1;_previousControl=null;_stateChanges;_valueChanges;_describedByChanges;_injector=(0,n.WQX)(n.zZn);constructor(){const Mt=this._defaults;Mt&&(Mt.appearance&&(this.appearance=Mt.appearance),this._hideRequiredMarker=!!Mt?.hideRequiredMarker,Mt.color&&(this.color=Mt.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._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=(0,n.EWP)(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(Mt){const Wt=this._control,$t="mat-mdc-form-field-type-";Mt&&this._elementRef.nativeElement.classList.remove($t+Mt.controlType),Wt.controlType&&this._elementRef.nativeElement.classList.add($t+Wt.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=Wt.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=Wt.stateChanges.pipe((0,O.Z)([void 0,void 0]),(0,P.T)(()=>[Wt.errorState,Wt.userAriaDescribedBy]),function J(){return(0,q.N)((we,ze)=>{let Mt,Wt=!1;we.subscribe((0,X._)(ze,$t=>{const Ce=Mt;Mt=$t,Wt&&ze.next([Ce,$t]),Wt=!0}))})}(),(0,ht.p)(([[Ce,ce],[Be,vr]])=>Ce!==Be||ce!==vr)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),Wt.ngControl&&Wt.ngControl.valueChanges&&(this._valueChanges=Wt.ngControl.valueChanges.pipe((0,ct.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(Mt=>!Mt._isText),this._hasTextPrefix=!!this._prefixChildren.find(Mt=>Mt._isText),this._hasIconSuffix=!!this._suffixChildren.find(Mt=>!Mt._isText),this._hasTextSuffix=!!this._suffixChildren.find(Mt=>Mt._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,T.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,n.Tzd)(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe((0,ct.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()}_hasFloatingLabel=(0,n.EWP)(()=>!!this._labelChild());_shouldLabelFloat(){return!!this._hasFloatingLabel()&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_shouldForward(Mt){const Wt=this._control?this._control.ngControl:null;return Wt&&Wt[Mt]}_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 Mt=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Mt.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const Wt=this._hintChildren?this._hintChildren.find(Ce=>"start"===Ce.align):null,$t=this._hintChildren?this._hintChildren.find(Ce=>"end"===Ce.align):null;Wt?Mt.push(Wt.id):this._hintLabel&&Mt.push(this._hintLabelId),$t&&Mt.push($t.id)}else this._errorChildren&&Mt.push(...this._errorChildren.map(Wt=>Wt.id));this._control.setDescribedByIds(Mt)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;const Mt=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(Mt.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdate=!0);const Wt=this._iconPrefixContainer?.nativeElement,$t=this._textPrefixContainer?.nativeElement,Ce=this._iconSuffixContainer?.nativeElement,ce=this._textSuffixContainer?.nativeElement,Be=Wt?.getBoundingClientRect().width??0,vr=$t?.getBoundingClientRect().width??0,qr=Ce?.getBoundingClientRect().width??0,ko=ce?.getBoundingClientRect().width??0;Mt.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Be+vr}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`,this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${Be+vr+qr+ko}px)`)}_isAttachedToDom(){const Mt=this._elementRef.nativeElement;if(Mt.getRootNode){const Wt=Mt.getRootNode();return Wt&&Wt!==Mt}return document.documentElement.contains(Mt)}static \u0275fac=function(Wt){return new(Wt||we)};static \u0275cmp=n.VBU({type:we,selectors:[["mat-form-field"]],contentQueries:function(Wt,$t,Ce){if(1&Wt&&(n.C6U(Ce,$t._labelChild,re,5),n.wni(Ce,ue,5),n.wni(Ce,Wr,5),n.wni(Ce,Or,5),n.wni(Ce,Ve,5),n.wni(Ce,Tr,5)),2&Wt){let ce;n.NyB(),n.mGM(ce=n.lsd())&&($t._formFieldControl=ce.first),n.mGM(ce=n.lsd())&&($t._prefixChildren=ce),n.mGM(ce=n.lsd())&&($t._suffixChildren=ce),n.mGM(ce=n.lsd())&&($t._errorChildren=ce),n.mGM(ce=n.lsd())&&($t._hintChildren=ce)}},viewQuery:function(Wt,$t){if(1&Wt&&(n.GBs(le,5),n.GBs(ve,5),n.GBs(se,5),n.GBs(or,5),n.GBs(fr,5),n.GBs(Lt,5),n.GBs(z,5),n.GBs(N,5)),2&Wt){let Ce;n.mGM(Ce=n.lsd())&&($t._textField=Ce.first),n.mGM(Ce=n.lsd())&&($t._iconPrefixContainer=Ce.first),n.mGM(Ce=n.lsd())&&($t._textPrefixContainer=Ce.first),n.mGM(Ce=n.lsd())&&($t._iconSuffixContainer=Ce.first),n.mGM(Ce=n.lsd())&&($t._textSuffixContainer=Ce.first),n.mGM(Ce=n.lsd())&&($t._floatingLabel=Ce.first),n.mGM(Ce=n.lsd())&&($t._notchedOutline=Ce.first),n.mGM(Ce=n.lsd())&&($t._lineRipple=Ce.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(Wt,$t){2&Wt&&n.AVh("mat-mdc-form-field-label-always-float",$t._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",$t._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",$t._hasIconSuffix)("mat-form-field-invalid",$t._control.errorState)("mat-form-field-disabled",$t._control.disabled)("mat-form-field-autofilled",$t._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===$t._animationMode)("mat-form-field-appearance-fill","fill"==$t.appearance)("mat-form-field-appearance-outline","outline"==$t.appearance)("mat-form-field-hide-placeholder",$t._hasFloatingLabel()&&!$t._shouldLabelFloat())("mat-focused",$t._control.focused)("mat-primary","accent"!==$t.color&&"warn"!==$t.color)("mat-accent","accent"===$t.color)("mat-warn","warn"===$t.color)("ng-untouched",$t._shouldForward("untouched"))("ng-touched",$t._shouldForward("touched"))("ng-pristine",$t._shouldForward("pristine"))("ng-dirty",$t._shouldForward("dirty"))("ng-valid",$t._shouldForward("valid"))("ng-invalid",$t._shouldForward("invalid"))("ng-pending",$t._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[n.Jv_([{provide:ar,useExisting:we},{provide:cr,useExisting:we}])],ngContentSelectors:jr,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(Wt,$t){if(1&Wt){const Ce=n.RV6();n.NAR(yr),n.DNE(0,be,1,1,"ng-template",null,0,n.C5r),n.j41(2,"div",6,1),n.bIt("click",function(Be){return n.eBV(Ce),n.Njj($t._control.onContainerClick(Be))}),n.DNE(4,Ht,1,0,"div",7),n.j41(5,"div",8),n.DNE(6,zt,2,2,"div",9)(7,Yt,3,0,"div",10)(8,oe,3,0,"div",11),n.j41(9,"div",12),n.DNE(10,$e,1,1,null,13),n.SdG(11),n.k0s(),n.DNE(12,Dt,3,0,"div",14)(13,wt,3,0,"div",15),n.k0s(),n.DNE(14,ie,1,0,"div",16),n.k0s(),n.j41(15,"div",17),n.DNE(16,Xe,2,1,"div",18)(17,Ke,5,2,"div",19),n.k0s()}if(2&Wt){let Ce;n.R7$(2),n.AVh("mdc-text-field--filled",!$t._hasOutline())("mdc-text-field--outlined",$t._hasOutline())("mdc-text-field--no-label",!$t._hasFloatingLabel())("mdc-text-field--disabled",$t._control.disabled)("mdc-text-field--invalid",$t._control.errorState),n.R7$(2),n.vxM($t._hasOutline()||$t._control.disabled?-1:4),n.R7$(2),n.vxM($t._hasOutline()?6:-1),n.R7$(),n.vxM($t._hasIconPrefix?7:-1),n.R7$(),n.vxM($t._hasTextPrefix?8:-1),n.R7$(2),n.vxM(!$t._hasOutline()||$t._forceDisplayInfixLabel()?10:-1),n.R7$(2),n.vxM($t._hasTextSuffix?12:-1),n.R7$(),n.vxM($t._hasIconSuffix?13:-1),n.R7$(),n.vxM($t._hasOutline()?-1:14),n.R7$(),n.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===$t.subscriptSizing),n.R7$(),n.vxM("error"===(Ce=$t._getDisplayedMessages())?16:"hint"===Ce?17:-1)}},dependencies:[Lt,z,C.T3,N,Tr],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--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.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-sys-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-sys-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-sys-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-sys-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-sys-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-sys-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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-sys-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-sys-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-sys-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-sys-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-sys-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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .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-sys-corner-extra-small));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-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}@media(forced-colors: 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-sys-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-sys-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-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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-sys-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-sys-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-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-sys-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-sys-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-sys-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-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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-sys-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-sys-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-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-sys-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-sys-outline));border-width:var(--mdc-outlined-text-field-outline-width, 1px)}.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-sys-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-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.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-sys-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-sys-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-sys-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, 2px)}.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-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-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-sys-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-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-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-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-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-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-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-sys-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, 1px)}.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-sys-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-sys-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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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-sys-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-sys-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, 2px)}.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-sys-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-sys-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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.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, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/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, 56px) / 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-sys-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-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-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-sys-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-sys-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, 0)}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, var(--mat-sys-neutral10))}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, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.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-sys-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-sys-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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: 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-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.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)}[dir=rtl] .mat-mdc-form-field{text-align:right}.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-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-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-sys-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-sys-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:[Rt.transitionMessages]},changeDetection:0})}return we})(),Ho=(()=>{class we{static \u0275fac=function(Wt){return new(Wt||we)};static \u0275mod=n.$C({type:we});static \u0275inj=n.G2t({imports:[st.yE,at.w5,st.yE]})}return we})()},3904:(i,s,o)=>{"use strict";o.d(s,{An:()=>be,m_:()=>Ht,tp:()=>vt});var n=o(3107),a=o(2902),l=o(4460),y=o(3016),k=o(8915),C=o(2653),A=o(5710),S=o(2040),T=o(7947),O=o(7178),P=o(4447),q=o(6218),X=o(7610),J=o(7691),ht=o(6388);const ct=["*"];let pt;function Et(Bt){return function kt(){if(void 0===pt&&(pt=null,typeof window<"u")){const Bt=window;void 0!==Bt.trustedTypes&&(pt=Bt.trustedTypes.createPolicy("angular#components",{createHTML:Fe=>Fe}))}return pt}()?.createHTML(Bt)||Bt}function It(Bt){return Error(`Unable to find icon with the name "${Bt}"`)}function _t(Bt){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Bt}".`)}function at(Bt){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Bt}".`)}class st{url;svgText;options;svgElement;constructor(Fe,zt,Yt){this.url=Fe,this.svgText=zt,this.options=Yt}}let vt=(()=>{class Bt{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(zt,Yt,oe,Oe){this._httpClient=zt,this._sanitizer=Yt,this._errorHandler=Oe,this._document=oe}addSvgIcon(zt,Yt,oe){return this.addSvgIconInNamespace("",zt,Yt,oe)}addSvgIconLiteral(zt,Yt,oe){return this.addSvgIconLiteralInNamespace("",zt,Yt,oe)}addSvgIconInNamespace(zt,Yt,oe,Oe){return this._addSvgIconConfig(zt,Yt,new st(oe,null,Oe))}addSvgIconResolver(zt){return this._resolvers.push(zt),this}addSvgIconLiteralInNamespace(zt,Yt,oe,Oe){const $e=this._sanitizer.sanitize(n.WPN.HTML,oe);if(!$e)throw at(oe);const Dt=Et($e);return this._addSvgIconConfig(zt,Yt,new st("",Dt,Oe))}addSvgIconSet(zt,Yt){return this.addSvgIconSetInNamespace("",zt,Yt)}addSvgIconSetLiteral(zt,Yt){return this.addSvgIconSetLiteralInNamespace("",zt,Yt)}addSvgIconSetInNamespace(zt,Yt,oe){return this._addSvgIconSetConfig(zt,new st(Yt,null,oe))}addSvgIconSetLiteralInNamespace(zt,Yt,oe){const Oe=this._sanitizer.sanitize(n.WPN.HTML,Yt);if(!Oe)throw at(Yt);const $e=Et(Oe);return this._addSvgIconSetConfig(zt,new st("",$e,oe))}registerFontClassAlias(zt,Yt=zt){return this._fontCssClassesByAlias.set(zt,Yt),this}classNameForFontAlias(zt){return this._fontCssClassesByAlias.get(zt)||zt}setDefaultFontSetClass(...zt){return this._defaultFontSetClass=zt,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(zt){const Yt=this._sanitizer.sanitize(n.WPN.RESOURCE_URL,zt);if(!Yt)throw _t(zt);const oe=this._cachedIconsByUrl.get(Yt);return oe?(0,y.of)(le(oe)):this._loadSvgIconFromConfig(new st(zt,null)).pipe((0,S.M)(Oe=>this._cachedIconsByUrl.set(Yt,Oe)),(0,T.T)(Oe=>le(Oe)))}getNamedSvgIcon(zt,Yt=""){const oe=ve(Yt,zt);let Oe=this._svgIconConfigs.get(oe);if(Oe)return this._getSvgFromConfig(Oe);if(Oe=this._getIconConfigFromResolvers(Yt,zt),Oe)return this._svgIconConfigs.set(oe,Oe),this._getSvgFromConfig(Oe);const $e=this._iconSetConfigs.get(Yt);return $e?this._getSvgFromIconSetConfigs(zt,$e):(0,k.$)(It(oe))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(zt){return zt.svgText?(0,y.of)(le(this._svgElementFromConfig(zt))):this._loadSvgIconFromConfig(zt).pipe((0,T.T)(Yt=>le(Yt)))}_getSvgFromIconSetConfigs(zt,Yt){const oe=this._extractIconWithNameFromAnySet(zt,Yt);if(oe)return(0,y.of)(oe);const Oe=Yt.filter($e=>!$e.svgText).map($e=>this._loadSvgIconSetFromConfig($e).pipe((0,O.W)(Dt=>{const ie=`Loading icon set URL: ${this._sanitizer.sanitize(n.WPN.RESOURCE_URL,$e.url)} failed: ${Dt.message}`;return this._errorHandler.handleError(new Error(ie)),(0,y.of)(null)})));return(0,C.p)(Oe).pipe((0,T.T)(()=>{const $e=this._extractIconWithNameFromAnySet(zt,Yt);if(!$e)throw It(zt);return $e}))}_extractIconWithNameFromAnySet(zt,Yt){for(let oe=Yt.length-1;oe>=0;oe--){const Oe=Yt[oe];if(Oe.svgText&&Oe.svgText.toString().indexOf(zt)>-1){const $e=this._svgElementFromConfig(Oe),Dt=this._extractSvgIconFromSet($e,zt,Oe.options);if(Dt)return Dt}}return null}_loadSvgIconFromConfig(zt){return this._fetchIcon(zt).pipe((0,S.M)(Yt=>zt.svgText=Yt),(0,T.T)(()=>this._svgElementFromConfig(zt)))}_loadSvgIconSetFromConfig(zt){return zt.svgText?(0,y.of)(null):this._fetchIcon(zt).pipe((0,S.M)(Yt=>zt.svgText=Yt))}_extractSvgIconFromSet(zt,Yt,oe){const Oe=zt.querySelector(`[id="${Yt}"]`);if(!Oe)return null;const $e=Oe.cloneNode(!0);if($e.removeAttribute("id"),"svg"===$e.nodeName.toLowerCase())return this._setSvgAttributes($e,oe);if("symbol"===$e.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement($e),oe);const Dt=this._svgElementFromString(Et(""));return Dt.appendChild($e),this._setSvgAttributes(Dt,oe)}_svgElementFromString(zt){const Yt=this._document.createElement("DIV");Yt.innerHTML=zt;const oe=Yt.querySelector("svg");if(!oe)throw Error(" tag not found");return oe}_toSvgElement(zt){const Yt=this._svgElementFromString(Et("")),oe=zt.attributes;for(let Oe=0;OeEt(ie)),(0,P.j)(()=>this._inProgressUrlFetches.delete($e)),(0,q.u)());return this._inProgressUrlFetches.set($e,wt),wt}_addSvgIconConfig(zt,Yt,oe){return this._svgIconConfigs.set(ve(zt,Yt),oe),this}_addSvgIconSetConfig(zt,Yt){const oe=this._iconSetConfigs.get(zt);return oe?oe.push(Yt):this._iconSetConfigs.set(zt,[Yt]),this}_svgElementFromConfig(zt){if(!zt.svgElement){const Yt=this._svgElementFromString(zt.svgText);this._setSvgAttributes(Yt,zt.options),zt.svgElement=Yt}return zt.svgElement}_getIconConfigFromResolvers(zt,Yt){for(let oe=0;oeFe?Fe.pathname+Fe.search:""}}}),jr=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],wr=jr.map(Bt=>`[${Bt}]`).join(", "),Qt=/^url\(['"]?#(.*?)['"]?\)$/;let be=(()=>{class Bt{_elementRef=(0,n.WQX)(n.aKT);_iconRegistry=(0,n.WQX)(vt);_location=(0,n.WQX)(fr);_errorHandler=(0,n.WQX)(n.zcH);_defaultColor;get color(){return this._color||this._defaultColor}set color(zt){this._color=zt}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(zt){zt!==this._svgIcon&&(zt?this._updateSvgIcon(zt):this._svgIcon&&this._clearSvgElement(),this._svgIcon=zt)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(zt){const Yt=this._cleanupFontValue(zt);Yt!==this._fontSet&&(this._fontSet=Yt,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(zt){const Yt=this._cleanupFontValue(zt);Yt!==this._fontIcon&&(this._fontIcon=Yt,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=A.yU.EMPTY;constructor(){const zt=(0,n.WQX)(new n.ES_("aria-hidden"),{optional:!0}),Yt=(0,n.WQX)(or,{optional:!0});Yt&&(Yt.color&&(this.color=this._defaultColor=Yt.color),Yt.fontSet&&(this.fontSet=Yt.fontSet)),zt||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(zt){if(!zt)return["",""];const Yt=zt.split(":");switch(Yt.length){case 1:return["",Yt[0]];case 2:return Yt;default:throw Error(`Invalid icon name: "${zt}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const zt=this._elementsWithExternalReferences;if(zt&&zt.size){const Yt=this._location.getPathname();Yt!==this._previousPath&&(this._previousPath=Yt,this._prependPathToReferences(Yt))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(zt){this._clearSvgElement();const Yt=this._location.getPathname();this._previousPath=Yt,this._cacheChildrenWithExternalReferences(zt),this._prependPathToReferences(Yt),this._elementRef.nativeElement.appendChild(zt)}_clearSvgElement(){const zt=this._elementRef.nativeElement;let Yt=zt.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();Yt--;){const oe=zt.childNodes[Yt];(1!==oe.nodeType||"svg"===oe.nodeName.toLowerCase())&&oe.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const zt=this._elementRef.nativeElement,Yt=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(oe=>oe.length>0);this._previousFontSetClass.forEach(oe=>zt.classList.remove(oe)),Yt.forEach(oe=>zt.classList.add(oe)),this._previousFontSetClass=Yt,this.fontIcon!==this._previousFontIconClass&&!Yt.includes("mat-ligature-font")&&(this._previousFontIconClass&&zt.classList.remove(this._previousFontIconClass),this.fontIcon&&zt.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(zt){return"string"==typeof zt?zt.trim().split(" ")[0]:zt}_prependPathToReferences(zt){const Yt=this._elementsWithExternalReferences;Yt&&Yt.forEach((oe,Oe)=>{oe.forEach($e=>{Oe.setAttribute($e.name,`url('${zt}#${$e.value}')`)})})}_cacheChildrenWithExternalReferences(zt){const Yt=zt.querySelectorAll(wr),oe=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Oe=0;Oe{const Dt=Yt[Oe],wt=Dt.getAttribute($e),ie=wt?wt.match(Qt):null;if(ie){let Xe=oe.get(Dt);Xe||(Xe=[],oe.set(Dt,Xe)),Xe.push({name:$e,value:ie[1]})}})}_updateSvgIcon(zt){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),zt){const[Yt,oe]=this._splitIconName(zt);Yt&&(this._svgNamespace=Yt),oe&&(this._svgName=oe),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(oe,Yt).pipe((0,X.s)(1)).subscribe(Oe=>this._setSvgElement(Oe),Oe=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Yt}:${oe}! ${Oe.message}`))})}}static \u0275fac=function(Yt){return new(Yt||Bt)};static \u0275cmp=n.VBU({type:Bt,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(Yt,oe){2&Yt&&(n.BMQ("data-mat-icon-type",oe._usingFontIcon()?"font":"svg")("data-mat-icon-name",oe._svgName||oe.fontIcon)("data-mat-icon-namespace",oe._svgNamespace||oe.fontSet)("fontIcon",oe._usingFontIcon()?oe.fontIcon:null),n.HbH(oe.color?"mat-"+oe.color:""),n.AVh("mat-icon-inline",oe.inline)("mat-icon-no-color","primary"!==oe.color&&"accent"!==oe.color&&"warn"!==oe.color))},inputs:{color:"color",inline:[2,"inline","inline",n.L39],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.GFd],ngContentSelectors:ct,decls:1,vars:0,template:function(Yt,oe){1&Yt&&(n.NAR(),n.SdG(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.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 Bt})(),Ht=(()=>{class Bt{static \u0275fac=function(Yt){return new(Yt||Bt)};static \u0275mod=n.$C({type:Bt});static \u0275inj=n.G2t({imports:[a.yE,a.yE]})}return Bt})()},6389:(i,s,o)=>{"use strict";o.d(s,{fS:()=>ht,fg:()=>J});var n=o(3022),a=o(2147),l=o(708),y=o(3107),k=o(8559),C=o(936),A=o(2902),S=o(6071),T=o(8447);const P=new y.nKC("MAT_INPUT_VALUE_ACCESSOR"),q=["button","checkbox","file","hidden","image","radio","range","reset","submit"],X=new y.nKC("MAT_INPUT_CONFIG");let J=(()=>{class ct{_elementRef=(0,y.WQX)(y.aKT);_platform=(0,y.WQX)(a.OD);ngControl=(0,y.WQX)(C.vO,{optional:!0,self:!0});_autofillMonitor=(0,y.WQX)(l.P8);_ngZone=(0,y.WQX)(y.SKi);_formField=(0,y.WQX)(S.xb,{optional:!0});_uid=(0,y.WQX)(k.g7).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_webkitBlinkWheelListenerAttached=!1;_config=(0,y.WQX)(X,{optional:!0});_formFieldDescribedBy;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new T.B;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(kt){this._disabled=(0,n.he)(kt),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(kt){this._id=kt||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(C.k0.required)??!1}set required(kt){this._required=(0,n.he)(kt)}_required;get type(){return this._type}set type(kt){this._type=kt||"text",this._validateType(),!this._isTextarea&&(0,a.MU)().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._ensureWheelDefaultBehavior()}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(kt){this._errorStateTracker.matcher=kt}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(kt){kt!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(kt):this._inputValueAccessor.value=kt,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(kt){this._readonly=(0,n.he)(kt)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(kt){this._errorStateTracker.errorState=kt}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(kt=>(0,a.MU)().has(kt));constructor(){const kt=(0,y.WQX)(C.cV,{optional:!0}),Et=(0,y.WQX)(C.j4,{optional:!0}),It=(0,y.WQX)(A.es),yt=(0,y.WQX)(P,{optional:!0,self:!0}),_t=this._elementRef.nativeElement,at=_t.nodeName.toLowerCase();yt?(0,y.Hps)(yt.value)?this._signalBasedValueAccessor=yt:this._inputValueAccessor=yt:this._inputValueAccessor=_t,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{_t.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new A.X0(It,this.ngControl,Et,kt,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===at,this._isTextarea="textarea"===at,this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=_t.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&(0,y.QZP)(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(kt=>{this.autofilled=kt.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(kt){this._elementRef.nativeElement.focus(kt)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(kt){if(kt!==this.focused){if(!this._isNativeSelect&&kt&&this.disabled&&this.disabledInteractive){const Et=this._elementRef.nativeElement;"number"===Et.type?(Et.type="text",Et.setSelectionRange(0,0),Et.type="number"):Et.setSelectionRange(0,0)}this.focused=kt,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){const kt=this._elementRef.nativeElement.value;this._previousNativeValue!==kt&&(this._previousNativeValue=kt,this.stateChanges.next())}_dirtyCheckPlaceholder(){const kt=this._getPlaceholder();if(kt!==this._previousPlaceholder){const Et=this._elementRef.nativeElement;this._previousPlaceholder=kt,kt?Et.setAttribute("placeholder",kt):Et.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){q.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let kt=this._elementRef.nativeElement.validity;return kt&&kt.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const kt=this._elementRef.nativeElement,Et=kt.options[0];return this.focused||kt.multiple||!this.empty||!!(kt.selectedIndex>-1&&Et&&Et.label)}return this.focused&&!this.disabled||!this.empty}setDescribedByIds(kt){const Et=this._elementRef.nativeElement,It=Et.getAttribute("aria-describedby");let yt;if(It){const _t=this._formFieldDescribedBy||kt;yt=kt.concat(It.split(" ").filter(at=>at&&!_t.includes(at)))}else yt=kt;this._formFieldDescribedBy=kt,yt.length?Et.setAttribute("aria-describedby",yt.join(" ")):Et.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const kt=this._elementRef.nativeElement;return this._isNativeSelect&&(kt.multiple||kt.size>1)}_iOSKeyupListener=kt=>{const Et=kt.target;!Et.value&&0===Et.selectionStart&&0===Et.selectionEnd&&(Et.setSelectionRange(1,1),Et.setSelectionRange(0,0))};_webkitBlinkWheelListener=()=>{};_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)}_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(Et){return new(Et||ct)};static \u0275dir=y.FsC({type:ct,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(Et,It){1&Et&&y.bIt("focus",function(){return It._focusChanged(!0)})("blur",function(){return It._focusChanged(!1)})("input",function(){return It._onInput()}),2&Et&&(y.Mr5("id",It.id)("disabled",It.disabled&&!It.disabledInteractive)("required",It.required),y.BMQ("name",It.name||null)("readonly",It._getReadonlyAttribute())("aria-disabled",It.disabled&&It.disabledInteractive?"true":null)("aria-invalid",It.empty&&It.required?null:It.errorState)("aria-required",It.required)("id",It.id),y.AVh("mat-input-server",It._isServer)("mat-mdc-form-field-textarea-control",It._isInFormField&&It._isTextarea)("mat-mdc-form-field-input-control",It._isInFormField)("mat-mdc-input-disabled-interactive",It.disabledInteractive)("mdc-text-field__input",It._isInFormField)("mat-mdc-native-select-inline",It._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",disabledInteractive:[2,"disabledInteractive","disabledInteractive",y.L39]},exportAs:["matInput"],features:[y.Jv_([{provide:S.qT,useExisting:ct}]),y.GFd,y.OA$]})}return ct})(),ht=(()=>{class ct{static \u0275fac=function(Et){return new(Et||ct)};static \u0275mod=y.$C({type:ct});static \u0275inj=y.G2t({imports:[A.yE,S.RG,S.RG,l.EE,A.yE]})}return ct})()},7818:(i,s,o)=>{"use strict";o.d(s,{Cn:()=>Xe,Cp:()=>ie,fb:()=>or,kk:()=>Yt});var n=o(3107),a=o(8559),l=o(5919),y=o(8447),k=o(7509),C=o(5710),A=o(3016),S=o(4984),T=o(593),O=o(2867),P=o(5424),q=o(1483),X=o(7610),J=o(8136),ht=o(4460),ct=o(2902),pt=o(5467),kt=o(6192),Et=o(1204),It=o(2944),yt=o(9666),_t=o(2147),at=o(8108);const st=["mat-menu-item",""],vt=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Pt=["mat-icon, [matMenuItemIcon]","*"];function ae(Te,Ke){1&Te&&(n.qSk(),n.j41(0,"svg",2),n.nrm(1,"polygon",3),n.k0s())}const le=["*"];function ve(Te,Ke){if(1&Te){const re=n.RV6();n.j41(0,"div",0),n.bIt("click",function(){n.eBV(re);const tr=n.XpG();return n.Njj(tr.closed.emit("click"))})("@transformMenu.start",function(tr){n.eBV(re);const Tr=n.XpG();return n.Njj(Tr._onAnimationStart(tr))})("@transformMenu.done",function(tr){n.eBV(re);const Tr=n.XpG();return n.Njj(Tr._onAnimationDone(tr))}),n.j41(1,"div",1),n.SdG(2),n.k0s()()}if(2&Te){const re=n.XpG();n.HbH(re._classList),n.Y8G("id",re.panelId)("@transformMenu",re._panelAnimationState),n.BMQ("aria-label",re.ariaLabel||null)("aria-labelledby",re.ariaLabelledby||null)("aria-describedby",re.ariaDescribedby||null)}}const se=new n.nKC("MAT_MENU_PANEL");let or=(()=>{class Te{_elementRef=(0,n.WQX)(n.aKT);_document=(0,n.WQX)(ht.qQ);_focusMonitor=(0,n.WQX)(a.FN);_parentMenu=(0,n.WQX)(se,{optional:!0});_changeDetectorRef=(0,n.WQX)(n.gRc);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new y.B;_focused=new y.B;_highlighted=!1;_triggersSubmenu=!1;constructor(){(0,n.WQX)(pt.l).load(ct.Ah),this._parentMenu?.addItem?.(this)}focus(re,Ve){this._focusMonitor&&re?this._focusMonitor.focusVia(this._getHostElement(),re,Ve):this._getHostElement().focus(Ve),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(re){this.disabled&&(re.preventDefault(),re.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const re=this._elementRef.nativeElement.cloneNode(!0),Ve=re.querySelectorAll("mat-icon, .material-icons");for(let tr=0;tr enter",(0,Et.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Et.iF)({opacity:1,transform:"scale(1)"}))),(0,Et.kY)("* => void",(0,Et.i0)("100ms 25ms linear",(0,Et.iF)({opacity:0})))]),fadeInItems:(0,Et.hZ)("fadeInItems",[(0,Et.wk)("showing",(0,Et.iF)({opacity:1})),(0,Et.kY)("void => *",[(0,Et.iF)({opacity:0}),(0,Et.i0)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Fe=new n.nKC("mat-menu-default-options",{providedIn:"root",factory:function zt(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Yt=(()=>{class Te{_elementRef=(0,n.WQX)(n.aKT);_changeDetectorRef=(0,n.WQX)(n.gRc);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_allItems;_directDescendantItems=new n.rOR;_classList={};_panelAnimationState="void";_animationDone=new y.B;_isAnimating;parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(re){this._xPosition=re,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(re){this._yPosition=re,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger;hasBackdrop;set panelClass(re){const Ve=this._previousPanelClass,tr={...this._classList};Ve&&Ve.length&&Ve.split(" ").forEach(Tr=>{tr[Tr]=!1}),this._previousPanelClass=re,re&&re.length&&(re.split(" ").forEach(Tr=>{tr[Tr]=!0}),this._elementRef.nativeElement.className=""),this._classList=tr}_previousPanelClass;get classList(){return this.panelClass}set classList(re){this.panelClass=re}closed=new n.bkB;close=this.closed;panelId=(0,n.WQX)(a.g7).getId("mat-menu-panel-");_injector=(0,n.WQX)(n.zZn);constructor(){const re=(0,n.WQX)(Fe);this.overlayPanelClass=re.overlayPanelClass||"",this._xPosition=re.xPosition,this._yPosition=re.yPosition,this.backdropClass=re.backdropClass,this.overlapTrigger=re.overlapTrigger,this.hasBackdrop=re.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new a.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)(re=>(0,k.h)(...re.map(Ve=>Ve._focused)))).subscribe(re=>this._keyManager.updateActiveItem(re)),this._directDescendantItems.changes.subscribe(re=>{const Ve=this._keyManager;if("enter"===this._panelAnimationState&&Ve.activeItem?._hasFocus()){const tr=re.toArray(),Tr=Math.max(0,Math.min(tr.length-1,Ve.activeItemIndex||0));tr[Tr]&&!tr[Tr].disabled?Ve.setActiveItem(Tr):Ve.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)(Ve=>(0,k.h)(...Ve.map(tr=>tr._hovered))))}addItem(re){}removeItem(re){}_handleKeydown(re){const Ve=re.keyCode,tr=this._keyManager;switch(Ve){case l._f:(0,l.rp)(re)||(re.preventDefault(),this.closed.emit("keydown"));break;case l.UQ:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case l.LE:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(Ve===l.i7||Ve===l.n6)&&tr.setFocusOrigin("keyboard"),void tr.onKeydown(re)}}focusFirstItem(re="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=(0,n.mal)(()=>{let Ve=null;if(this._directDescendantItems.length&&(Ve=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!Ve||!Ve.contains(document.activeElement)){const tr=this._keyManager;tr.setFocusOrigin(re).setFirstItemActive(),!tr.activeItem&&Ve&&Ve.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(re){}setPositionClasses(re=this.xPosition,Ve=this.yPosition){this._classList={...this._classList,"mat-menu-before":"before"===re,"mat-menu-after":"after"===re,"mat-menu-above":"above"===Ve,"mat-menu-below":"below"===Ve},this._changeDetectorRef.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(re){this._animationDone.next(re),this._isAnimating=!1}_onAnimationStart(re){this._isAnimating=!0,"enter"===re.toState&&0===this._keyManager.activeItemIndex&&(re.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,T.Z)(this._allItems)).subscribe(re=>{this._directDescendantItems.reset(re.filter(Ve=>Ve._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static \u0275fac=function(Ve){return new(Ve||Te)};static \u0275cmp=n.VBU({type:Te,selectors:[["mat-menu"]],contentQueries:function(Ve,tr,Tr){if(1&Ve&&(n.wni(Tr,wr,5),n.wni(Tr,or,5),n.wni(Tr,or,4)),2&Ve){let Wr;n.mGM(Wr=n.lsd())&&(tr.lazyContent=Wr.first),n.mGM(Wr=n.lsd())&&(tr._allItems=Wr),n.mGM(Wr=n.lsd())&&(tr.items=Wr)}},viewQuery:function(Ve,tr){if(1&Ve&&n.GBs(n.C4Q,5),2&Ve){let Tr;n.mGM(Tr=n.lsd())&&(tr.templateRef=Tr.first)}},hostVars:3,hostBindings:function(Ve,tr){2&Ve&&n.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",n.L39],hasBackdrop:[2,"hasBackdrop","hasBackdrop",re=>null==re?null:(0,n.L39)(re)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[n.Jv_([{provide:se,useExisting:Te}]),n.GFd],ngContentSelectors:le,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","id"],[1,"mat-mdc-menu-content"]],template:function(Ve,tr){1&Ve&&(n.NAR(),n.DNE(0,ve,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-sys-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-sys-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-sys-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-sys-surface-container));box-shadow:var(--mat-menu-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));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}@media(forced-colors: active){.mat-mdc-menu-panel{outline:solid 1px}}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-sys-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing, 8px);margin-top:var(--mat-menu-divider-top-spacing, 8px)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding: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;padding-left:var(--mat-menu-item-leading-spacing, 12px);padding-right:var(--mat-menu-item-trailing-spacing, 12px);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-menu-item::-moz-focus-inner{border:0}[dir=rtl] .mat-mdc-menu-item{padding-left:var(--mat-menu-item-trailing-spacing, 12px);padding-right:var(--mat-menu-item-leading-spacing, 12px)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-trailing-spacing, 12px)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-trailing-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-leading-spacing, 12px)}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-sys-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-sys-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, 12px);height:var(--mat-menu-item-icon-size, 24px);width:var(--mat-menu-item-icon-size, 24px)}[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, 12px)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.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, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(forced-colors: active){.mat-mdc-menu-item{margin-top:1px}}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size, 24px);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing, 12px)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing, 12px);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}@media(forced-colors: 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:[be.transformMenu,be.fadeInItems]},changeDetection:0})}return Te})();const oe=new n.nKC("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const Te=(0,n.WQX)(yt.hJ);return()=>Te.scrollStrategies.reposition()}}),$e={provide:oe,deps:[yt.hJ],useFactory:function Oe(Te){return()=>Te.scrollStrategies.reposition()}},Dt=(0,_t.BQ)({passive:!0});let ie=(()=>{class Te{_overlay=(0,n.WQX)(yt.hJ);_element=(0,n.WQX)(n.aKT);_viewContainerRef=(0,n.WQX)(n.c1b);_menuItemInstance=(0,n.WQX)(or,{optional:!0,self:!0});_dir=(0,n.WQX)(It.dS,{optional:!0});_focusMonitor=(0,n.WQX)(a.FN);_ngZone=(0,n.WQX)(n.SKi);_scrollStrategy=(0,n.WQX)(oe);_changeDetectorRef=(0,n.WQX)(n.gRc);_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=C.yU.EMPTY;_hoverSubscription=C.yU.EMPTY;_menuCloseSubscription=C.yU.EMPTY;_parentMaterialMenu;_parentInnerPadding;_handleTouchStart=re=>{(0,a.w6)(re)||(this._openedBy="touch")};_openedBy=void 0;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(re){this.menu=re}get menu(){return this._menu}set menu(re){re!==this._menu&&(this._menu=re,this._menuCloseSubscription.unsubscribe(),re&&(this._menuCloseSubscription=re.close.subscribe(Ve=>{this._destroyMenu(Ve),("click"===Ve||"tab"===Ve)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(Ve)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}_menu;menuData;restoreFocus=!0;menuOpened=new n.bkB;onMenuOpen=this.menuOpened;menuClosed=new n.bkB;onMenuClose=this.menuClosed;constructor(){const re=(0,n.WQX)(se,{optional:!0});this._parentMaterialMenu=re instanceof Yt?re:void 0,this._element.nativeElement.addEventListener("touchstart",this._handleTouchStart,Dt)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Dt),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 re=this.menu;if(this._menuOpen||!re)return;const Ve=this._createOverlay(re),tr=Ve.getConfig(),Tr=tr.positionStrategy;this._setPosition(re,Tr),tr.hasBackdrop=null==re.hasBackdrop?!this.triggersSubmenu():re.hasBackdrop,Ve.attach(this._getPortal(re)),re.lazyContent&&re.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(re),re instanceof Yt&&(re._startAnimation(),re._directDescendantItems.changes.pipe((0,P.Q)(re.close)).subscribe(()=>{Tr.withLockedPosition(!1).reapplyLastPosition(),Tr.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(re,Ve){this._focusMonitor&&re?this._focusMonitor.focusVia(this._element,re,Ve):this._element.nativeElement.focus(Ve)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(re){if(!this._overlayRef||!this.menuOpen)return;const Ve=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===re||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,Ve instanceof Yt?(Ve._resetAnimation(),Ve.lazyContent?Ve._animationDone.pipe((0,q.p)(tr=>"void"===tr.toState),(0,X.s)(1),(0,P.Q)(Ve.lazyContent._attached)).subscribe({next:()=>Ve.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),Ve?.lazyContent?.detach())}_initMenu(re){re.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,re.direction=this.dir,re.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setIsMenuOpen(re){re!==this._menuOpen&&(this._menuOpen=re,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(re),this._changeDetectorRef.markForCheck())}_createOverlay(re){if(!this._overlayRef){const Ve=this._getOverlayConfig(re);this._subscribeToPositions(re,Ve.positionStrategy),this._overlayRef=this._overlay.create(Ve),this._overlayRef.keydownEvents().subscribe(tr=>{this.menu instanceof Yt&&this.menu._handleKeydown(tr)})}return this._overlayRef}_getOverlayConfig(re){return new yt.rR({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:re.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:re.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr"})}_subscribeToPositions(re,Ve){re.setPositionClasses&&Ve.positionChanges.subscribe(tr=>{this._ngZone.run(()=>{re.setPositionClasses("start"===tr.connectionPair.overlayX?"after":"before","top"===tr.connectionPair.overlayY?"below":"above")})})}_setPosition(re,Ve){let[tr,Tr]="before"===re.xPosition?["end","start"]:["start","end"],[Wr,Lo]="above"===re.yPosition?["bottom","top"]:["top","bottom"],[Or,fo]=[Wr,Lo],[cr,Lt]=[tr,Tr],At=0;if(this.triggersSubmenu()){if(Lt=tr="before"===re.xPosition?"start":"end",Tr=cr="end"===tr?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Zt=this._parentMaterialMenu.items.first;this._parentInnerPadding=Zt?Zt._getHostElement().offsetTop:0}At="bottom"===Wr?this._parentInnerPadding:-this._parentInnerPadding}}else re.overlapTrigger||(Or="top"===Wr?"bottom":"top",fo="top"===Lo?"bottom":"top");Ve.withPositions([{originX:tr,originY:Or,overlayX:cr,overlayY:Wr,offsetY:At},{originX:Tr,originY:Or,overlayX:Lt,overlayY:Wr,offsetY:At},{originX:tr,originY:fo,overlayX:cr,overlayY:Lo,offsetY:-At},{originX:Tr,originY:fo,overlayX:Lt,overlayY:Lo,offsetY:-At}])}_menuClosingActions(){const re=this._overlayRef.backdropClick(),Ve=this._overlayRef.detachments(),tr=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,A.of)(),Tr=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,q.p)(Wr=>Wr!==this._menuItemInstance),(0,q.p)(()=>this._menuOpen)):(0,A.of)();return(0,k.h)(re,tr,Tr,Ve)}_handleMousedown(re){(0,a._G)(re)||(this._openedBy=0===re.button?"mouse":void 0,this.triggersSubmenu()&&re.preventDefault())}_handleKeydown(re){const Ve=re.keyCode;(Ve===l.Fm||Ve===l.t6)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(Ve===l.LE&&"ltr"===this.dir||Ve===l.UQ&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(re){this.triggersSubmenu()?(re.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,q.p)(re=>re===this._menuItemInstance&&!re.disabled),(0,J.c)(0,S.$)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Yt&&this.menu._isAnimating?this.menu._animationDone.pipe((0,X.s)(1),(0,J.c)(0,S.$),(0,P.Q)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(re){return(!this._portal||this._portal.templateRef!==re.templateRef)&&(this._portal=new kt.VA(re.templateRef,this._viewContainerRef)),this._portal}static \u0275fac=function(Ve){return new(Ve||Te)};static \u0275dir=n.FsC({type:Te,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(Ve,tr){1&Ve&&n.bIt("click",function(Wr){return tr._handleClick(Wr)})("mousedown",function(Wr){return tr._handleMousedown(Wr)})("keydown",function(Wr){return tr._handleKeydown(Wr)}),2&Ve&&n.BMQ("aria-haspopup",tr.menu?"menu":null)("aria-expanded",tr.menuOpen)("aria-controls",tr.menuOpen?tr.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"]})}return Te})(),Xe=(()=>{class Te{static \u0275fac=function(Ve){return new(Ve||Te)};static \u0275mod=n.$C({type:Te});static \u0275inj=n.G2t({providers:[$e],imports:[ct.pZ,ct.yE,yt.z_,at.Gj,ct.yE]})}return Te})()},2322:(i,s,o)=>{"use strict";o.d(s,{HM:()=>S,PO:()=>O});var n=o(3107),l=(o(4460),o(2902));function y(P,q){1&P&&n.nrm(0,"div",2)}const k=new n.nKC("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let S=(()=>{class P{_elementRef=(0,n.WQX)(n.aKT);_ngZone=(0,n.WQX)(n.SKi);_changeDetectorRef=(0,n.WQX)(n.gRc);_animationMode=(0,n.WQX)(n.bc$,{optional:!0});constructor(){const X=(0,n.WQX)(k,{optional:!0});this._isNoopAnimation="NoopAnimations"===this._animationMode,X&&(X.color&&(this.color=this._defaultColor=X.color),this.mode=X.mode||this.mode)}_isNoopAnimation=!1;get color(){return this._color||this._defaultColor}set color(X){this._color=X}_color;_defaultColor="primary";get value(){return this._value}set value(X){this._value=T(X||0),this._changeDetectorRef.markForCheck()}_value=0;get bufferValue(){return this._bufferValue||0}set bufferValue(X){this._bufferValue=T(X||0),this._changeDetectorRef.markForCheck()}_bufferValue=0;animationEnd=new n.bkB;get mode(){return this._mode}set mode(X){this._mode=X,this._changeDetectorRef.markForCheck()}_mode="determinate";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}_transitionendHandler=X=>{0===this.animationEnd.observers.length||!X.target||!X.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))};static \u0275fac=function(J){return new(J||P)};static \u0275cmp=n.VBU({type:P,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(J,ht){2&J&&(n.BMQ("aria-valuenow",ht._isIndeterminate()?null:ht.value)("mode",ht.mode),n.HbH("mat-"+ht.color),n.AVh("_mat-animation-noopable",ht._isNoopAnimation)("mdc-linear-progress--animation-ready",!ht._isNoopAnimation)("mdc-linear-progress--indeterminate",ht._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",n.Udg],bufferValue:[2,"bufferValue","bufferValue",n.Udg],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[n.GFd],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(J,ht){1&J&&(n.j41(0,"div",0),n.nrm(1,"div",1),n.DNE(2,y,1,0,"div",2),n.k0s(),n.j41(3,"div",3),n.nrm(4,"span",4),n.k0s(),n.j41(5,"div",5),n.nrm(6,"span",4),n.k0s()),2&J&&(n.R7$(),n.xc7("flex-basis",ht._getBufferBarFlexBasis()),n.R7$(),n.vxM("buffer"===ht.mode?2:-1),n.R7$(),n.xc7("transform",ht._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, 4px),var(--mdc-linear-progress-active-indicator-height, 4px))}@media(forced-colors: 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, 4px)}.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-sys-primary));border-top-width:var(--mdc-linear-progress-active-indicator-height, 4px)}.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, 4px);border-radius:var(--mdc-linear-progress-track-shape, var(--mat-sys-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-sys-surface-variant))}@media(forced-colors: 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-sys-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, 4px) * -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 P})();function T(P,q=0,X=100){return Math.max(q,Math.min(X,P))}let O=(()=>{class P{static \u0275fac=function(J){return new(J||P)};static \u0275mod=n.$C({type:P});static \u0275inj=n.G2t({imports:[l.yE]})}return P})()},4375:(i,s,o)=>{"use strict";o.d(s,{$2:()=>oe,VO:()=>Yt,Ve:()=>Oe});var n=o(9666),a=o(3107),l=o(2902),y=o(6071),k=o(8108),C=o(8559),A=o(2944),S=o(1349),T=o(5919),O=o(936),P=o(8447),q=o(6381),X=o(7509),J=o(593),ht=o(2867),ct=o(1483),pt=o(7947),kt=o(6645),Et=o(5424),It=o(7610),yt=o(1204),_t=o(4460);const at=["trigger"],st=["panel"],vt=[[["mat-select-trigger"]],"*"],Pt=["mat-select-trigger","*"];function ae($e,Dt){if(1&$e&&(a.j41(0,"span",4),a.EFF(1),a.k0s()),2&$e){const wt=a.XpG();a.R7$(),a.JRh(wt.placeholder)}}function le($e,Dt){1&$e&&a.SdG(0)}function ve($e,Dt){if(1&$e&&(a.j41(0,"span",11),a.EFF(1),a.k0s()),2&$e){const wt=a.XpG(2);a.R7$(),a.JRh(wt.triggerValue)}}function se($e,Dt){if(1&$e&&(a.j41(0,"span",5),a.DNE(1,le,1,0)(2,ve,2,1,"span",11),a.k0s()),2&$e){const wt=a.XpG();a.R7$(),a.vxM(wt.customTrigger?1:2)}}function or($e,Dt){if(1&$e){const wt=a.RV6();a.j41(0,"div",12,1),a.bIt("@transformPanel.done",function(Xe){a.eBV(wt);const Te=a.XpG();return a.Njj(Te._panelDoneAnimatingStream.next(Xe.toState))})("keydown",function(Xe){a.eBV(wt);const Te=a.XpG();return a.Njj(Te._handleKeydown(Xe))}),a.SdG(2,1),a.k0s()}if(2&$e){const wt=a.XpG();a.ZvI("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",wt._getPanelTheme(),""),a.Y8G("ngClass",wt.panelClass)("@transformPanel","showing"),a.BMQ("id",wt.id+"-panel")("aria-multiselectable",wt.multiple)("aria-label",wt.ariaLabel||null)("aria-labelledby",wt._getPanelAriaLabelledby())}}const fr={transformPanelWrap:(0,yt.hZ)("transformPanelWrap",[(0,yt.kY)("* => void",(0,yt.P)("@transformPanel",[(0,yt.MA)()],{optional:!0}))]),transformPanel:(0,yt.hZ)("transformPanel",[(0,yt.wk)("void",(0,yt.iF)({opacity:0,transform:"scale(1, 0.8)"})),(0,yt.kY)("void => showing",(0,yt.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,yt.iF)({opacity:1,transform:"scale(1, 1)"}))),(0,yt.kY)("* => void",(0,yt.i0)("100ms linear",(0,yt.iF)({opacity:0})))])},Qt=new a.nKC("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const $e=(0,a.WQX)(n.hJ);return()=>$e.scrollStrategies.reposition()}}),Ht=new a.nKC("MAT_SELECT_CONFIG"),Bt={provide:Qt,deps:[n.hJ],useFactory:function be($e){return()=>$e.scrollStrategies.reposition()}},Fe=new a.nKC("MatSelectTrigger");class zt{source;value;constructor(Dt,wt){this.source=Dt,this.value=wt}}let Yt=(()=>{class $e{_viewportRuler=(0,a.WQX)(k.Xj);_changeDetectorRef=(0,a.WQX)(a.gRc);_elementRef=(0,a.WQX)(a.aKT);_dir=(0,a.WQX)(A.dS,{optional:!0});_idGenerator=(0,a.WQX)(C.g7);_parentFormField=(0,a.WQX)(y.xb,{optional:!0});ngControl=(0,a.WQX)(O.vO,{self:!0,optional:!0});_liveAnnouncer=(0,a.WQX)(C.Ai);_defaultOptions=(0,a.WQX)(Ht,{optional:!0});options;optionGroups;customTrigger;_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"}];_scrollOptionIntoView(wt){const ie=this.options.toArray()[wt];if(ie){const Xe=this.panel.nativeElement,Te=(0,l.jb)(wt,this.options,this.optionGroups),Ke=ie._getHostElement();Xe.scrollTop=0===wt&&1===Te?0:(0,l.TL)(Ke.offsetTop,Ke.offsetHeight,Xe.scrollTop,Xe.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(wt){return new zt(this,wt)}_scrollStrategyFactory=(0,a.WQX)(Qt);_panelOpen=!1;_compareWith=(wt,ie)=>wt===ie;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new P.B;_errorStateTracker;stateChanges=new P.B;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_panelDoneAnimatingStream=new P.B;_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;disableRipple=!1;tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(wt){this._hideSingleSelectionIndicator=wt,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(wt){this._placeholder=wt,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(O.k0.required)??!1}set required(wt){this._required=wt,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(wt){this._multiple=wt}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(wt){this._compareWith=wt,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(wt){this._assignValue(wt)&&this._onChange(wt)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(wt){this._errorStateTracker.matcher=wt}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(wt){this._id=wt||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(wt){this._errorStateTracker.errorState=wt}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";_initialized=new P.B;optionSelectionChanges=(0,q.v)(()=>{const wt=this.options;return wt?wt.changes.pipe((0,J.Z)(wt),(0,ht.n)(()=>(0,X.h)(...wt.map(ie=>ie.onSelectionChange)))):this._initialized.pipe((0,ht.n)(()=>this.optionSelectionChanges))});openedChange=new a.bkB;_openedStream=this.openedChange.pipe((0,ct.p)(wt=>wt),(0,pt.T)(()=>{}));_closedStream=this.openedChange.pipe((0,ct.p)(wt=>!wt),(0,pt.T)(()=>{}));selectionChange=new a.bkB;valueChange=new a.bkB;constructor(){const wt=(0,a.WQX)(l.es),ie=(0,a.WQX)(O.cV,{optional:!0}),Xe=(0,a.WQX)(O.j4,{optional:!0}),Te=(0,a.WQX)(new a.ES_("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),null!=this._defaultOptions?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new l.X0(wt,this.ngControl,Xe,ie,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=null==Te?0:parseInt(Te)||0,this.id=this.id}ngOnInit(){this._selectionModel=new S.CB(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,kt.F)(),(0,Et.Q)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe((0,Et.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,Et.Q)(this._destroy)).subscribe(wt=>{wt.added.forEach(ie=>ie.select()),wt.removed.forEach(ie=>ie.deselect())}),this.options.changes.pipe((0,J.Z)(null),(0,Et.Q)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const wt=this._getTriggerAriaLabelledby(),ie=this.ngControl;if(wt!==this._triggerAriaLabelledBy){const Xe=this._elementRef.nativeElement;this._triggerAriaLabelledBy=wt,wt?Xe.setAttribute("aria-labelledby",wt):Xe.removeAttribute("aria-labelledby")}ie&&(this._previousControl!==ie.control&&(void 0!==this._previousControl&&null!==ie.disabled&&ie.disabled!==this.disabled&&(this.disabled=ie.disabled),this._previousControl=ie.control),this.updateErrorState())}ngOnChanges(wt){(wt.disabled||wt.userAriaDescribedBy)&&this.stateChanges.next(),wt.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())}_trackedModal=null;_applyModalPanelOwnership(){const wt=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!wt)return;const ie=`${this.id}-panel`;this._trackedModal&&(0,C.Ae)(this._trackedModal,"aria-owns",ie),(0,C.px)(wt,"aria-owns",ie),this._trackedModal=wt}_clearFromModal(){this._trackedModal&&((0,C.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(wt){this._assignValue(wt)}registerOnChange(wt){this._onChange=wt}registerOnTouched(wt){this._onTouched=wt}setDisabledState(wt){this.disabled=wt,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 wt=this._selectionModel.selected.map(ie=>ie.viewValue);return this._isRtl()&&wt.reverse(),wt.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(wt){this.disabled||(this.panelOpen?this._handleOpenKeydown(wt):this._handleClosedKeydown(wt))}_handleClosedKeydown(wt){const ie=wt.keyCode,Xe=ie===T.n6||ie===T.i7||ie===T.UQ||ie===T.LE,Te=ie===T.Fm||ie===T.t6,Ke=this._keyManager;if(!Ke.isTyping()&&Te&&!(0,T.rp)(wt)||(this.multiple||wt.altKey)&&Xe)wt.preventDefault(),this.open();else if(!this.multiple){const re=this.selected;Ke.onKeydown(wt);const Ve=this.selected;Ve&&re!==Ve&&this._liveAnnouncer.announce(Ve.viewValue,1e4)}}_handleOpenKeydown(wt){const ie=this._keyManager,Xe=wt.keyCode,Te=Xe===T.n6||Xe===T.i7,Ke=ie.isTyping();if(Te&&wt.altKey)wt.preventDefault(),this.close();else if(Ke||Xe!==T.Fm&&Xe!==T.t6||!ie.activeItem||(0,T.rp)(wt))if(!Ke&&this._multiple&&Xe===T.A&&wt.ctrlKey){wt.preventDefault();const re=this.options.some(Ve=>!Ve.disabled&&!Ve.selected);this.options.forEach(Ve=>{Ve.disabled||(re?Ve.select():Ve.deselect())})}else{const re=ie.activeItemIndex;ie.onKeydown(wt),this._multiple&&Te&&wt.shiftKey&&ie.activeItem&&ie.activeItemIndex!==re&&ie.activeItem._selectViaInteraction()}else wt.preventDefault(),ie.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,It.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(wt){if(this.options.forEach(ie=>ie.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&wt)Array.isArray(wt),wt.forEach(ie=>this._selectOptionByValue(ie)),this._sortValues();else{const ie=this._selectOptionByValue(wt);ie?this._keyManager.updateActiveItem(ie):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(wt){const ie=this.options.find(Xe=>{if(this._selectionModel.isSelected(Xe))return!1;try{return null!=Xe.value&&this._compareWith(Xe.value,wt)}catch{return!1}});return ie&&this._selectionModel.select(ie),ie}_assignValue(wt){return!!(wt!==this._value||this._multiple&&Array.isArray(wt))&&(this.options&&this._setSelectionByValue(wt),this._value=wt,!0)}_skipPredicate=wt=>!this.panelOpen&&wt.disabled;_getOverlayWidth(wt){return"auto"===this.panelWidth?(wt instanceof n.$Q?wt.elementRef:wt||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const wt of this.options)wt._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new C.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 wt=(0,X.h)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,Et.Q)(wt)).subscribe(ie=>{this._onSelect(ie.source,ie.isUserInput),ie.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,X.h)(...this.options.map(ie=>ie._stateChanges)).pipe((0,Et.Q)(wt)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(wt,ie){const Xe=this._selectionModel.isSelected(wt);null!=wt.value||this._multiple?(Xe!==wt.selected&&(wt.selected?this._selectionModel.select(wt):this._selectionModel.deselect(wt)),ie&&this._keyManager.setActiveItem(wt),this.multiple&&(this._sortValues(),ie&&this.focus())):(wt.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(wt.value)),Xe!==this._selectionModel.isSelected(wt)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const wt=this.options.toArray();this._selectionModel.sort((ie,Xe)=>this.sortComparator?this.sortComparator(ie,Xe,wt):wt.indexOf(ie)-wt.indexOf(Xe)),this.stateChanges.next()}}_propagateChanges(wt){let ie;ie=this.multiple?this.selected.map(Xe=>Xe.value):this.selected?this.selected.value:wt,this._value=ie,this.valueChange.emit(ie),this._onChange(ie),this.selectionChange.emit(this._getChangeEvent(ie)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let wt=-1;for(let ie=0;ie0}focus(wt){this._elementRef.nativeElement.focus(wt)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const wt=this._parentFormField?.getLabelId()||null;return this.ariaLabelledby?(wt?wt+" ":"")+this.ariaLabelledby:wt}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const wt=this._parentFormField?.getLabelId();let ie=(wt?wt+" ":"")+this._valueId;return this.ariaLabelledby&&(ie+=" "+this.ariaLabelledby),ie}_panelDoneAnimating(wt){this.openedChange.emit(wt)}setDescribedByIds(wt){wt.length?this._elementRef.nativeElement.setAttribute("aria-describedby",wt.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(ie){return new(ie||$e)};static \u0275cmp=a.VBU({type:$e,selectors:[["mat-select"]],contentQueries:function(ie,Xe,Te){if(1&ie&&(a.wni(Te,Fe,5),a.wni(Te,l.wT,5),a.wni(Te,l.QC,5)),2&ie){let Ke;a.mGM(Ke=a.lsd())&&(Xe.customTrigger=Ke.first),a.mGM(Ke=a.lsd())&&(Xe.options=Ke),a.mGM(Ke=a.lsd())&&(Xe.optionGroups=Ke)}},viewQuery:function(ie,Xe){if(1&ie&&(a.GBs(at,5),a.GBs(st,5),a.GBs(n.WB,5)),2&ie){let Te;a.mGM(Te=a.lsd())&&(Xe.trigger=Te.first),a.mGM(Te=a.lsd())&&(Xe.panel=Te.first),a.mGM(Te=a.lsd())&&(Xe._overlayDir=Te.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(ie,Xe){1&ie&&a.bIt("keydown",function(Ke){return Xe._handleKeydown(Ke)})("focus",function(){return Xe._onFocus()})("blur",function(){return Xe._onBlur()}),2&ie&&(a.BMQ("id",Xe.id)("tabindex",Xe.disabled?-1:Xe.tabIndex)("aria-controls",Xe.panelOpen?Xe.id+"-panel":null)("aria-expanded",Xe.panelOpen)("aria-label",Xe.ariaLabel||null)("aria-required",Xe.required.toString())("aria-disabled",Xe.disabled.toString())("aria-invalid",Xe.errorState)("aria-activedescendant",Xe._getAriaActiveDescendant()),a.AVh("mat-mdc-select-disabled",Xe.disabled)("mat-mdc-select-invalid",Xe.errorState)("mat-mdc-select-required",Xe.required)("mat-mdc-select-empty",Xe.empty)("mat-mdc-select-multiple",Xe.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",a.L39],disableRipple:[2,"disableRipple","disableRipple",a.L39],tabIndex:[2,"tabIndex","tabIndex",wt=>null==wt?0:(0,a.Udg)(wt)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",a.L39],placeholder:"placeholder",required:[2,"required","required",a.L39],multiple:[2,"multiple","multiple",a.L39],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",a.L39],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",a.Udg],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[a.Jv_([{provide:y.qT,useExisting:$e},{provide:l.is,useExisting:$e}]),a.GFd,a.OA$],ngContentSelectors:Pt,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(ie,Xe){if(1&ie){const Te=a.RV6();a.NAR(vt),a.j41(0,"div",2,0),a.bIt("click",function(){return a.eBV(Te),a.Njj(Xe.open())}),a.j41(3,"div",3),a.DNE(4,ae,2,1,"span",4)(5,se,3,1,"span",5),a.k0s(),a.j41(6,"div",6)(7,"div",7),a.qSk(),a.j41(8,"svg",8),a.nrm(9,"path",9),a.k0s()()()(),a.DNE(10,or,3,9,"ng-template",10),a.bIt("backdropClick",function(){return a.eBV(Te),a.Njj(Xe.close())})("attach",function(){return a.eBV(Te),a.Njj(Xe._onAttached())})("detach",function(){return a.eBV(Te),a.Njj(Xe.close())})}if(2&ie){const Te=a.sdS(1);a.R7$(3),a.BMQ("id",Xe._valueId),a.R7$(),a.vxM(Xe.empty?4:5),a.R7$(6),a.Y8G("cdkConnectedOverlayPanelClass",Xe._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Xe._scrollStrategy)("cdkConnectedOverlayOrigin",Xe._preferredOverlayOrigin||Te)("cdkConnectedOverlayOpen",Xe.panelOpen)("cdkConnectedOverlayPositions",Xe._positions)("cdkConnectedOverlayWidth",Xe._overlayWidth)}},dependencies:[n.$Q,n.WB,_t.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-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .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-sys-surface-container))}@media(forced-colors: 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-sys-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, translateY(-8px))}'],encapsulation:2,data:{animation:[fr.transformPanel]},changeDetection:0})}return $e})(),oe=(()=>{class $e{static \u0275fac=function(ie){return new(ie||$e)};static \u0275dir=a.FsC({type:$e,selectors:[["mat-select-trigger"]],features:[a.Jv_([{provide:Fe,useExisting:$e}])]})}return $e})(),Oe=(()=>{class $e{static \u0275fac=function(ie){return new(ie||$e)};static \u0275mod=a.$C({type:$e});static \u0275inj=a.G2t({providers:[Bt],imports:[n.z_,l.Sy,l.yE,k.Gj,y.RG,l.Sy,l.yE]})}return $e})()},5785:(i,s,o)=>{"use strict";o.d(s,{$C:()=>Bt,$l:()=>be,qe:()=>Ht,vg:()=>oe});var n=o(8108),a=o(3107),l=o(2902),y=o(8559),k=o(2944),C=o(3022),A=o(5919),S=o(2147),T=o(4460),O=o(8447),P=o(909),q=o(7509),X=o(1483),J=o(7947),ht=o(6590),ct=o(5424),pt=o(7610),kt=o(593),Et=o(8627),It=o(1204);const yt=["*"],_t=["content"],at=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],st=["mat-drawer","mat-drawer-content","*"];function vt(Oe,$e){if(1&Oe){const Dt=a.RV6();a.j41(0,"div",1),a.bIt("click",function(){a.eBV(Dt);const ie=a.XpG();return a.Njj(ie._onBackdropClicked())}),a.k0s()}if(2&Oe){const Dt=a.XpG();a.AVh("mat-drawer-shown",Dt._isShowingBackdrop())}}function Pt(Oe,$e){1&Oe&&(a.j41(0,"mat-drawer-content"),a.SdG(1,2),a.k0s())}const fr={transformDrawer:(0,It.hZ)("transform",[(0,It.wk)("open, open-instant",(0,It.iF)({transform:"none",visibility:"visible"})),(0,It.wk)("void",(0,It.iF)({"box-shadow":"none",visibility:"hidden"})),(0,It.kY)("void => open-instant",(0,It.i0)("0ms")),(0,It.kY)("void <=> open, open-instant => void",(0,It.i0)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},jr=new a.nKC("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function Qt(){return!1}}),wr=new a.nKC("MAT_DRAWER_CONTAINER");let be=(()=>{class Oe extends n.uv{_platform=(0,a.WQX)(S.OD);_changeDetectorRef=(0,a.WQX)(a.gRc);_container=(0,a.WQX)(Bt);constructor(){super((0,a.WQX)(a.aKT),(0,a.WQX)(n.R),(0,a.WQX)(a.SKi))}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}_shouldBeHidden(){if(this._platform.isBrowser)return!1;const{start:Dt,end:wt}=this._container;return null!=Dt&&"over"!==Dt.mode&&Dt.opened||null!=wt&&"over"!==wt.mode&&wt.opened}static \u0275fac=function(wt){return new(wt||Oe)};static \u0275cmp=a.VBU({type:Oe,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:6,hostBindings:function(wt,ie){2&wt&&(a.xc7("margin-left",ie._container._contentMargins.left,"px")("margin-right",ie._container._contentMargins.right,"px"),a.AVh("mat-drawer-content-hidden",ie._shouldBeHidden()))},features:[a.Jv_([{provide:n.uv,useExisting:Oe}]),a.Vt3],ngContentSelectors:yt,decls:1,vars:0,template:function(wt,ie){1&wt&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0})}return Oe})(),Ht=(()=>{class Oe{_elementRef=(0,a.WQX)(a.aKT);_focusTrapFactory=(0,a.WQX)(y.GX);_focusMonitor=(0,a.WQX)(y.FN);_platform=(0,a.WQX)(S.OD);_ngZone=(0,a.WQX)(a.SKi);_interactivityChecker=(0,a.WQX)(y.Z7);_doc=(0,a.WQX)(T.qQ,{optional:!0});_container=(0,a.WQX)(wr,{optional:!0});_focusTrap=null;_elementFocusedBeforeDrawerWasOpened=null;_enableAnimations=!1;_isAttached;_anchor;get position(){return this._position}set position(Dt){(Dt="end"===Dt?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(Dt),this._position=Dt,this.onPositionChanged.emit())}_position="start";get mode(){return this._mode}set mode(Dt){this._mode=Dt,this._updateFocusTrapState(),this._modeChanged.next()}_mode="over";get disableClose(){return this._disableClose}set disableClose(Dt){this._disableClose=(0,C.he)(Dt)}_disableClose=!1;get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(Dt){("true"===Dt||"false"===Dt||null==Dt)&&(Dt=(0,C.he)(Dt)),this._autoFocus=Dt}_autoFocus;get opened(){return this._opened}set opened(Dt){this.toggle((0,C.he)(Dt))}_opened=!1;_openedVia;_animationStarted=new O.B;_animationEnd=new O.B;_animationState="void";openedChange=new a.bkB(!0);_openedStream=this.openedChange.pipe((0,X.p)(Dt=>Dt),(0,J.T)(()=>{}));openedStart=this._animationStarted.pipe((0,X.p)(Dt=>Dt.fromState!==Dt.toState&&0===Dt.toState.indexOf("open")),(0,ht.u)(void 0));_closedStream=this.openedChange.pipe((0,X.p)(Dt=>!Dt),(0,J.T)(()=>{}));closedStart=this._animationStarted.pipe((0,X.p)(Dt=>Dt.fromState!==Dt.toState&&"void"===Dt.toState),(0,ht.u)(void 0));_destroyed=new O.B;onPositionChanged=new a.bkB;_content;_modeChanged=new O.B;_injector=(0,a.WQX)(a.zZn);_changeDetectorRef=(0,a.WQX)(a.gRc);constructor(){this.openedChange.pipe((0,ct.Q)(this._destroyed)).subscribe(Dt=>{Dt?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,P.R)(this._elementRef.nativeElement,"keydown").pipe((0,X.p)(Dt=>Dt.keyCode===A._f&&!this.disableClose&&!(0,A.rp)(Dt)),(0,ct.Q)(this._destroyed)).subscribe(Dt=>this._ngZone.run(()=>{this.close(),Dt.stopPropagation(),Dt.preventDefault()}))}),this._animationEnd.subscribe(Dt=>{const{fromState:wt,toState:ie}=Dt;(0===ie.indexOf("open")&&"void"===wt||"void"===ie&&0===wt.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(Dt,wt){this._interactivityChecker.isFocusable(Dt)||(Dt.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const ie=()=>{Dt.removeEventListener("blur",ie),Dt.removeEventListener("mousedown",ie),Dt.removeAttribute("tabindex")};Dt.addEventListener("blur",ie),Dt.addEventListener("mousedown",ie)})),Dt.focus(wt)}_focusByCssSelector(Dt,wt){let ie=this._elementRef.nativeElement.querySelector(Dt);ie&&this._forceFocus(ie,wt)}_takeFocus(){if(!this._focusTrap)return;const Dt=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":(0,a.mal)(()=>{!this._focusTrap.focusInitialElement()&&"function"==typeof Dt.focus&&Dt.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(Dt){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,Dt):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const Dt=this._doc.activeElement;return!!Dt&&this._elementRef.nativeElement.contains(Dt)}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(Dt){return this.toggle(!0,Dt)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(Dt=!this.opened,wt){Dt&&wt&&(this._openedVia=wt);const ie=this._setOpen(Dt,!Dt&&this._isFocusWithinDrawer(),this._openedVia||"program");return Dt||(this._openedVia=null),ie}_setOpen(Dt,wt,ie){return this._opened=Dt,Dt?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",wt&&this._restoreFocus(ie)),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(Xe=>{this.openedChange.pipe((0,pt.s)(1)).subscribe(Te=>Xe(Te?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop&&this.opened)}_updatePositionInParent(Dt){if(!this._platform.isBrowser)return;const wt=this._elementRef.nativeElement,ie=wt.parentNode;"end"===Dt?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),ie.insertBefore(this._anchor,wt)),ie.appendChild(wt)):this._anchor&&this._anchor.parentNode.insertBefore(wt,this._anchor)}static \u0275fac=function(wt){return new(wt||Oe)};static \u0275cmp=a.VBU({type:Oe,selectors:[["mat-drawer"]],viewQuery:function(wt,ie){if(1&wt&&a.GBs(_t,5),2&wt){let Xe;a.mGM(Xe=a.lsd())&&(ie._content=Xe.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(wt,ie){1&wt&&a.Kam("@transform.start",function(Te){return ie._animationStarted.next(Te)})("@transform.done",function(Te){return ie._animationEnd.next(Te)}),2&wt&&(a.zvX("@transform",ie._animationState),a.BMQ("align",null),a.AVh("mat-drawer-end","end"===ie.position)("mat-drawer-over","over"===ie.mode)("mat-drawer-push","push"===ie.mode)("mat-drawer-side","side"===ie.mode)("mat-drawer-opened",ie.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"],ngContentSelectors:yt,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(wt,ie){1&wt&&(a.NAR(),a.j41(0,"div",1,0),a.SdG(2),a.k0s())},dependencies:[n.uv],encapsulation:2,data:{animation:[fr.transformDrawer]},changeDetection:0})}return Oe})(),Bt=(()=>{class Oe{_dir=(0,a.WQX)(k.dS,{optional:!0});_element=(0,a.WQX)(a.aKT);_ngZone=(0,a.WQX)(a.SKi);_changeDetectorRef=(0,a.WQX)(a.gRc);_animationMode=(0,a.WQX)(a.bc$,{optional:!0});_allDrawers;_drawers=new a.rOR;_content;_userContent;get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(Dt){this._autosize=(0,C.he)(Dt)}_autosize=(0,a.WQX)(jr);get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(Dt){this._backdropOverride=null==Dt?null:(0,C.he)(Dt)}_backdropOverride;backdropClick=new a.bkB;_start;_end;_left;_right;_destroyed=new O.B;_doCheckSubject=new O.B;_contentMargins={left:null,right:null};_contentMarginChanges=new O.B;get scrollable(){return this._userContent||this._content}_injector=(0,a.WQX)(a.zZn);constructor(){const Dt=(0,a.WQX)(n.Xj);this._dir?.change.pipe((0,ct.Q)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),Dt.change().pipe((0,ct.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins())}ngAfterContentInit(){this._allDrawers.changes.pipe((0,kt.Z)(this._allDrawers),(0,ct.Q)(this._destroyed)).subscribe(Dt=>{this._drawers.reset(Dt.filter(wt=>!wt._container||wt._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,kt.Z)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(Dt=>{this._watchDrawerToggle(Dt),this._watchDrawerPosition(Dt),this._watchDrawerMode(Dt)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,Et.B)(10),(0,ct.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(Dt=>Dt.open())}close(){this._drawers.forEach(Dt=>Dt.close())}updateContentMargins(){let Dt=0,wt=0;if(this._left&&this._left.opened)if("side"==this._left.mode)Dt+=this._left._getWidth();else if("push"==this._left.mode){const ie=this._left._getWidth();Dt+=ie,wt-=ie}if(this._right&&this._right.opened)if("side"==this._right.mode)wt+=this._right._getWidth();else if("push"==this._right.mode){const ie=this._right._getWidth();wt+=ie,Dt-=ie}Dt=Dt||null,wt=wt||null,(Dt!==this._contentMargins.left||wt!==this._contentMargins.right)&&(this._contentMargins={left:Dt,right:wt},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(Dt){Dt._animationStarted.pipe((0,X.p)(wt=>wt.fromState!==wt.toState),(0,ct.Q)(this._drawers.changes)).subscribe(wt=>{"open-instant"!==wt.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==Dt.mode&&Dt.openedChange.pipe((0,ct.Q)(this._drawers.changes)).subscribe(()=>this._setContainerClass(Dt.opened))}_watchDrawerPosition(Dt){Dt&&Dt.onPositionChanged.pipe((0,ct.Q)(this._drawers.changes)).subscribe(()=>{(0,a.mal)(()=>{this._validateDrawers()},{injector:this._injector,phase:a.wjH.Read})})}_watchDrawerMode(Dt){Dt&&Dt._modeChanged.pipe((0,ct.Q)((0,q.h)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(Dt){const wt=this._element.nativeElement.classList,ie="mat-drawer-container-has-open";Dt?wt.add(ie):wt.remove(ie)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(Dt=>{"end"==Dt.position?this._end=Dt:this._start=Dt}),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(Dt=>Dt&&!Dt.disableClose&&this._drawerHasBackdrop(Dt)).forEach(Dt=>Dt._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(Dt){return null!=Dt&&Dt.opened}_drawerHasBackdrop(Dt){return null==this._backdropOverride?!!Dt&&"side"!==Dt.mode:this._backdropOverride}static \u0275fac=function(wt){return new(wt||Oe)};static \u0275cmp=a.VBU({type:Oe,selectors:[["mat-drawer-container"]],contentQueries:function(wt,ie,Xe){if(1&wt&&(a.wni(Xe,be,5),a.wni(Xe,Ht,5)),2&wt){let Te;a.mGM(Te=a.lsd())&&(ie._content=Te.first),a.mGM(Te=a.lsd())&&(ie._allDrawers=Te)}},viewQuery:function(wt,ie){if(1&wt&&a.GBs(be,5),2&wt){let Xe;a.mGM(Xe=a.lsd())&&(ie._userContent=Xe.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(wt,ie){2&wt&&a.AVh("mat-drawer-container-explicit-backdrop",ie._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[a.Jv_([{provide:wr,useExisting:Oe}])],ngContentSelectors:st,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(wt,ie){1&wt&&(a.NAR(at),a.DNE(0,vt,1,2,"div",0),a.SdG(1),a.SdG(2,1),a.DNE(3,Pt,2,0,"mat-drawer-content")),2&wt&&(a.vxM(ie.hasBackdrop?0:-1),a.R7$(3),a.vxM(ie._content?-1:3))},dependencies:[be],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-sys-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, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent))}.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}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-content.mat-drawer-content-hidden{opacity:0}.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-sys-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-sys-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));width:var(--mat-sidenav-container-width, 360px);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)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.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-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-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-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-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-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-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, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);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, transparent);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, transparent);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 Oe})(),oe=(()=>{class Oe{static \u0275fac=function(wt){return new(wt||Oe)};static \u0275mod=a.$C({type:Oe});static \u0275inj=a.G2t({imports:[l.yE,n.Gj,n.Gj,l.yE]})}return Oe})()},7712:(i,s,o)=>{"use strict";o.d(s,{oV:()=>se,uc:()=>yr});var n=o(5424),a=o(3022),l=o(5919),y=o(3107),k=o(4460),C=o(2147),A=o(8559),S=o(2944),T=o(9666),O=o(8108),P=o(6192),q=o(8447),J=(o(1204),o(2902));const ht=["tooltip"],kt=new y.nKC("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const jr=(0,y.WQX)(T.hJ);return()=>jr.scrollStrategies.reposition({scrollThrottle:20})}}),It={provide:kt,deps:[T.hJ],useFactory:function Et(jr){return()=>jr.scrollStrategies.reposition({scrollThrottle:20})}},_t=new y.nKC("mat-tooltip-default-options",{providedIn:"root",factory:function yt(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),st="tooltip-panel",vt=(0,C.BQ)({passive:!0});let se=(()=>{class jr{_overlay=(0,y.WQX)(T.hJ);_elementRef=(0,y.WQX)(y.aKT);_scrollDispatcher=(0,y.WQX)(O.R);_viewContainerRef=(0,y.WQX)(y.c1b);_ngZone=(0,y.WQX)(y.SKi);_platform=(0,y.WQX)(C.OD);_ariaDescriber=(0,y.WQX)(A.vr);_focusMonitor=(0,y.WQX)(A.FN);_dir=(0,y.WQX)(S.dS);_injector=(0,y.WQX)(y.zZn);_defaultOptions=(0,y.WQX)(_t,{optional:!0});_overlayRef;_tooltipInstance;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_scrollStrategy=(0,y.WQX)(kt);_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=or;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;get position(){return this._position}set position(Qt){Qt!==this._position&&(this._position=Qt,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(Qt){this._positionAtOrigin=(0,a.he)(Qt),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(Qt){const be=(0,a.he)(Qt);this._disabled!==be&&(this._disabled=be,be?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(Qt){this._showDelay=(0,a.OE)(Qt)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(Qt){this._hideDelay=(0,a.OE)(Qt),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(Qt){const be=this._message;this._message=null!=Qt?String(Qt).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(be)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(Qt){this._tooltipClass=Qt,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_document=(0,y.WQX)(k.qQ);_touchstartTimeout=null;_destroyed=new q.B;constructor(){const Qt=this._defaultOptions;Qt&&(this._showDelay=Qt.showDelay,this._hideDelay=Qt.hideDelay,Qt.position&&(this.position=Qt.position),Qt.positionAtOrigin&&(this.positionAtOrigin=Qt.positionAtOrigin),Qt.touchGestures&&(this.touchGestures=Qt.touchGestures),Qt.tooltipClass&&(this.tooltipClass=Qt.tooltipClass)),this._dir.change.pipe((0,n.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,n.Q)(this._destroyed)).subscribe(Qt=>{Qt?"keyboard"===Qt&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const Qt=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([be,Ht])=>{Qt.removeEventListener(be,Ht,vt)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(Qt,this.message,"tooltip"),this._focusMonitor.stopMonitoring(Qt)}show(Qt=this.showDelay,be){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const Ht=this._createOverlay(be);this._detach(),this._portal=this._portal||new P.A8(this._tooltipComponent,this._viewContainerRef);const Bt=this._tooltipInstance=Ht.attach(this._portal).instance;Bt._triggerElement=this._elementRef.nativeElement,Bt._mouseLeaveHideDelay=this._hideDelay,Bt.afterHidden().pipe((0,n.Q)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),Bt.show(Qt)}hide(Qt=this.hideDelay){const be=this._tooltipInstance;be&&(be.isVisible()?be.hide(Qt):(be._cancelPendingAnimations(),this._detach()))}toggle(Qt){this._isTooltipVisible()?this.hide():this.show(void 0,Qt)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(Qt){if(this._overlayRef){const Bt=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!Qt)&&Bt._origin instanceof y.aKT)return this._overlayRef;this._detach()}const be=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),Ht=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&Qt||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(be);return Ht.positionChanges.pipe((0,n.Q)(this._destroyed)).subscribe(Bt=>{this._updateCurrentPositionClass(Bt.connectionPair),this._tooltipInstance&&Bt.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:Ht,panelClass:`${this._cssClassPrefix}-${st}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,n.Q)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,n.Q)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,n.Q)(this._destroyed)).subscribe(Bt=>{this._isTooltipVisible()&&Bt.keyCode===l._f&&!(0,l.rp)(Bt)&&(Bt.preventDefault(),Bt.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(Qt){const be=Qt.getConfig().positionStrategy,Ht=this._getOrigin(),Bt=this._getOverlayPosition();be.withPositions([this._addOffset({...Ht.main,...Bt.main}),this._addOffset({...Ht.fallback,...Bt.fallback})])}_addOffset(Qt){const Ht=!this._dir||"ltr"==this._dir.value;return"top"===Qt.originY?Qt.offsetY=-8:"bottom"===Qt.originY?Qt.offsetY=8:"start"===Qt.originX?Qt.offsetX=Ht?-8:8:"end"===Qt.originX&&(Qt.offsetX=Ht?8:-8),Qt}_getOrigin(){const Qt=!this._dir||"ltr"==this._dir.value,be=this.position;let Ht;"above"==be||"below"==be?Ht={originX:"center",originY:"above"==be?"top":"bottom"}:"before"==be||"left"==be&&Qt||"right"==be&&!Qt?Ht={originX:"start",originY:"center"}:("after"==be||"right"==be&&Qt||"left"==be&&!Qt)&&(Ht={originX:"end",originY:"center"});const{x:Bt,y:Fe}=this._invertPosition(Ht.originX,Ht.originY);return{main:Ht,fallback:{originX:Bt,originY:Fe}}}_getOverlayPosition(){const Qt=!this._dir||"ltr"==this._dir.value,be=this.position;let Ht;"above"==be?Ht={overlayX:"center",overlayY:"bottom"}:"below"==be?Ht={overlayX:"center",overlayY:"top"}:"before"==be||"left"==be&&Qt||"right"==be&&!Qt?Ht={overlayX:"end",overlayY:"center"}:("after"==be||"right"==be&&Qt||"left"==be&&!Qt)&&(Ht={overlayX:"start",overlayY:"center"});const{x:Bt,y:Fe}=this._invertPosition(Ht.overlayX,Ht.overlayY);return{main:Ht,fallback:{overlayX:Bt,overlayY:Fe}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),(0,y.mal)(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(Qt){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=Qt,this._tooltipInstance._markForCheck())}_invertPosition(Qt,be){return"above"===this.position||"below"===this.position?"top"===be?be="bottom":"bottom"===be&&(be="top"):"end"===Qt?Qt="start":"start"===Qt&&(Qt="end"),{x:Qt,y:be}}_updateCurrentPositionClass(Qt){const{overlayY:be,originX:Ht,originY:Bt}=Qt;let Fe;if(Fe="center"===be?this._dir&&"rtl"===this._dir.value?"end"===Ht?"left":"right":"start"===Ht?"left":"right":"bottom"===be&&"top"===Bt?"above":"below",Fe!==this._currentPosition){const zt=this._overlayRef;if(zt){const Yt=`${this._cssClassPrefix}-${st}-`;zt.removePanelClass(Yt+this._currentPosition),zt.addPanelClass(Yt+Fe)}this._currentPosition=Fe}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",Qt=>{let be;this._setupPointerExitEventsIfNeeded(),void 0!==Qt.x&&void 0!==Qt.y&&(be=Qt),this.show(void 0,be)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",Qt=>{const be=Qt.targetTouches?.[0],Ht=be?{x:be.clientX,y:be.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,Ht)},this._defaultOptions?.touchLongPressShowDelay??500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const Qt=[];if(this._platformSupportsMouseEvents())Qt.push(["mouseleave",be=>{const Ht=be.relatedTarget;(!Ht||!this._overlayRef?.overlayElement.contains(Ht))&&this.hide()}],["wheel",be=>this._wheelListener(be)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const be=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};Qt.push(["touchend",be],["touchcancel",be])}this._addListeners(Qt),this._passiveListeners.push(...Qt)}_addListeners(Qt){Qt.forEach(([be,Ht])=>{this._elementRef.nativeElement.addEventListener(be,Ht,vt)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(Qt){if(this._isTooltipVisible()){const be=this._document.elementFromPoint(Qt.clientX,Qt.clientY),Ht=this._elementRef.nativeElement;be!==Ht&&!Ht.contains(be)&&this.hide()}}_disableNativeGesturesIfNecessary(){const Qt=this.touchGestures;if("off"!==Qt){const be=this._elementRef.nativeElement,Ht=be.style;("on"===Qt||"INPUT"!==be.nodeName&&"TEXTAREA"!==be.nodeName)&&(Ht.userSelect=Ht.msUserSelect=Ht.webkitUserSelect=Ht.MozUserSelect="none"),("on"===Qt||!be.draggable)&&(Ht.webkitUserDrag="none"),Ht.touchAction="none",Ht.webkitTapHighlightColor="transparent"}}_syncAriaDescription(Qt){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,Qt,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}static \u0275fac=function(be){return new(be||jr)};static \u0275dir=y.FsC({type:jr,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(be,Ht){2&be&&y.AVh("mat-mdc-tooltip-disabled",Ht.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"]})}return jr})(),or=(()=>{class jr{_changeDetectorRef=(0,y.WQX)(y.gRc);_elementRef=(0,y.WQX)(y.aKT);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled;_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new q.B;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){const Qt=(0,y.WQX)(y.bc$,{optional:!0});this._animationsDisabled="NoopAnimations"===Qt}show(Qt){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},Qt)}hide(Qt){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},Qt)}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:Qt}){(!Qt||!this._triggerElement.contains(Qt))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const Qt=this._elementRef.nativeElement.getBoundingClientRect();return Qt.height>24&&Qt.width>=200}_handleAnimationEnd({animationName:Qt}){(Qt===this._showAnimation||Qt===this._hideAnimation)&&this._finalizeAnimation(Qt===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(Qt){Qt?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(Qt){const be=this._tooltip.nativeElement,Ht=this._showAnimation,Bt=this._hideAnimation;if(be.classList.remove(Qt?Bt:Ht),be.classList.add(Qt?Ht:Bt),this._isVisible!==Qt&&(this._isVisible=Qt,this._changeDetectorRef.markForCheck()),Qt&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Fe=getComputedStyle(be);("0s"===Fe.getPropertyValue("animation-duration")||"none"===Fe.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}Qt&&this._onShow(),this._animationsDisabled&&(be.classList.add("_mat-animation-noopable"),this._finalizeAnimation(Qt))}static \u0275fac=function(be){return new(be||jr)};static \u0275cmp=y.VBU({type:jr,selectors:[["mat-tooltip-component"]],viewQuery:function(be,Ht){if(1&be&&y.GBs(ht,7),2&be){let Bt;y.mGM(Bt=y.lsd())&&(Ht._tooltip=Bt.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(be,Ht){1&be&&y.bIt("mouseleave",function(Fe){return Ht._handleMouseLeave(Fe)})},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(be,Ht){if(1&be){const Bt=y.RV6();y.j41(0,"div",1,0),y.bIt("animationend",function(zt){return y.eBV(Bt),y.Njj(Ht._handleAnimationEnd(zt))}),y.j41(2,"div",2),y.EFF(3),y.k0s()()}2&be&&(y.AVh("mdc-tooltip--multiline",Ht._isMultiline),y.Y8G("ngClass",Ht.tooltipClass),y.R7$(3),y.JRh(Ht.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-sys-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-sys-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 jr})(),yr=(()=>{class jr{static \u0275fac=function(be){return new(be||jr)};static \u0275mod=y.$C({type:jr});static \u0275inj=y.G2t({providers:[It],imports:[A.Pd,T.z_,J.yE,J.yE,O.Gj]})}return jr})()},6388:(i,s,o)=>{"use strict";o.d(s,{B7:()=>ve,B8:()=>Yt,hE:()=>Lo,up:()=>ar});var n=o(4460),a=o(3107);class l extends n.VF{supportsDOMEvents=!0}class y extends l{static makeCurrent(){(0,n.ZD)(new y)}onAndCancel(Ce,ce,Be){return Ce.addEventListener(ce,Be),()=>{Ce.removeEventListener(ce,Be)}}dispatchEvent(Ce,ce){Ce.dispatchEvent(ce)}remove(Ce){Ce.remove()}createElement(Ce,ce){return(ce=ce||this.getDefaultDocument()).createElement(Ce)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Ce){return Ce.nodeType===Node.ELEMENT_NODE}isShadowRoot(Ce){return Ce instanceof DocumentFragment}getGlobalEventTarget(Ce,ce){return"window"===ce?window:"document"===ce?Ce:"body"===ce?Ce.body:null}getBaseHref(Ce){const ce=function C(){return k=k||document.querySelector("base"),k?k.getAttribute("href"):null}();return null==ce?null:function A($t){return new URL($t,document.baseURI).pathname}(ce)}resetBaseElement(){k=null}getUserAgent(){return window.navigator.userAgent}getCookie(Ce){return(0,n._b)(document.cookie,Ce)}}let k=null,T=(()=>{class $t{build(){return new XMLHttpRequest}static \u0275fac=function(Be){return new(Be||$t)};static \u0275prov=a.jDH({token:$t,factory:$t.\u0275fac})}return $t})();const O=new a.nKC("");let P=(()=>{class $t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(ce,Be){this._zone=Be,ce.forEach(vr=>{vr.manager=this}),this._plugins=ce.slice().reverse()}addEventListener(ce,Be,vr){return this._findPluginFor(Be).addEventListener(ce,Be,vr)}getZone(){return this._zone}_findPluginFor(ce){let Be=this._eventNameToPlugin.get(ce);if(Be)return Be;if(Be=this._plugins.find(qr=>qr.supports(ce)),!Be)throw new a.wOt(5101,!1);return this._eventNameToPlugin.set(ce,Be),Be}static \u0275fac=function(Be){return new(Be||$t)(a.KVO(O),a.KVO(a.SKi))};static \u0275prov=a.jDH({token:$t,factory:$t.\u0275fac})}return $t})();class q{_doc;constructor(Ce){this._doc=Ce}manager}const X="ng-app-id";function J($t){for(const Ce of $t)Ce.remove()}function ht($t,Ce){const ce=Ce.createElement("style");return ce.textContent=$t,ce}function pt($t,Ce){const ce=Ce.createElement("link");return ce.setAttribute("rel","stylesheet"),ce.setAttribute("href",$t),ce}let kt=(()=>{class $t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(ce,Be,vr,qr={}){this.doc=ce,this.appId=Be,this.nonce=vr,this.isServer=(0,n.Vy)(qr),function ct($t,Ce,ce){const Be=$t.head?.querySelectorAll(`style[${X}="${Ce}"]`);if(Be)for(const vr of Be)vr.textContent&&(vr.removeAttribute(X),ce.set(vr.textContent,{usage:0,elements:[vr]}))}(ce,Be,this.inline),this.hosts.add(ce.head)}addStyles(ce,Be){for(const vr of ce)this.addUsage(vr,this.inline,ht);Be?.forEach(vr=>this.addUsage(vr,this.external,pt))}removeStyles(ce,Be){for(const vr of ce)this.removeUsage(vr,this.inline);Be?.forEach(vr=>this.removeUsage(vr,this.external))}addUsage(ce,Be,vr){const qr=Be.get(ce);qr?qr.usage++:Be.set(ce,{usage:1,elements:[...this.hosts].map(ko=>this.addElement(ko,vr(ce,this.doc)))})}removeUsage(ce,Be){const vr=Be.get(ce);vr&&(vr.usage--,vr.usage<=0&&(J(vr.elements),Be.delete(ce)))}ngOnDestroy(){for(const[,{elements:ce}]of[...this.inline,...this.external])J(ce);this.hosts.clear()}addHost(ce){this.hosts.add(ce);for(const[Be,{elements:vr}]of this.inline)vr.push(this.addElement(ce,ht(Be,this.doc)));for(const[Be,{elements:vr}]of this.external)vr.push(this.addElement(ce,pt(Be,this.doc)))}removeHost(ce){this.hosts.delete(ce)}addElement(ce,Be){return this.nonce&&Be.setAttribute("nonce",this.nonce),this.isServer&&Be.setAttribute(X,this.appId),ce.appendChild(Be)}static \u0275fac=function(Be){return new(Be||$t)(a.KVO(n.qQ),a.KVO(a.sZ2),a.KVO(a.BIS,8),a.KVO(a.Agw))};static \u0275prov=a.jDH({token:$t,factory:$t.\u0275fac})}return $t})();const Et={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"},It=/%COMP%/g,vt=new a.nKC("",{providedIn:"root",factory:()=>!0});function le($t,Ce){return Ce.map(ce=>ce.replace(It,$t))}let ve=(()=>{class $t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(ce,Be,vr,qr,ko,sn,hn,Zn=null){this.eventManager=ce,this.sharedStylesHost=Be,this.appId=vr,this.removeStylesOnCompDestroy=qr,this.doc=ko,this.platformId=sn,this.ngZone=hn,this.nonce=Zn,this.platformIsServer=(0,n.Vy)(sn),this.defaultRenderer=new se(ce,ko,hn,this.platformIsServer)}createRenderer(ce,Be){if(!ce||!Be)return this.defaultRenderer;this.platformIsServer&&Be.encapsulation===a.gXe.ShadowDom&&(Be={...Be,encapsulation:a.gXe.Emulated});const vr=this.getOrCreateRenderer(ce,Be);return vr instanceof Qt?vr.applyToHost(ce):vr instanceof wr&&vr.applyStyles(),vr}getOrCreateRenderer(ce,Be){const vr=this.rendererByCompId;let qr=vr.get(Be.id);if(!qr){const ko=this.doc,sn=this.ngZone,hn=this.eventManager,Zn=this.sharedStylesHost,Je=this.removeStylesOnCompDestroy,Ae=this.platformIsServer;switch(Be.encapsulation){case a.gXe.Emulated:qr=new Qt(hn,Zn,Be,this.appId,Je,ko,sn,Ae);break;case a.gXe.ShadowDom:return new jr(hn,Zn,ce,Be,ko,sn,this.nonce,Ae);default:qr=new wr(hn,Zn,Be,Je,ko,sn,Ae)}vr.set(Be.id,qr)}return qr}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(Be){return new(Be||$t)(a.KVO(P),a.KVO(kt),a.KVO(a.sZ2),a.KVO(vt),a.KVO(n.qQ),a.KVO(a.Agw),a.KVO(a.SKi),a.KVO(a.BIS))};static \u0275prov=a.jDH({token:$t,factory:$t.\u0275fac})}return $t})();class se{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(Ce,ce,Be,vr){this.eventManager=Ce,this.doc=ce,this.ngZone=Be,this.platformIsServer=vr}destroy(){}destroyNode=null;createElement(Ce,ce){return ce?this.doc.createElementNS(Et[ce]||ce,Ce):this.doc.createElement(Ce)}createComment(Ce){return this.doc.createComment(Ce)}createText(Ce){return this.doc.createTextNode(Ce)}appendChild(Ce,ce){(yr(Ce)?Ce.content:Ce).appendChild(ce)}insertBefore(Ce,ce,Be){Ce&&(yr(Ce)?Ce.content:Ce).insertBefore(ce,Be)}removeChild(Ce,ce){ce.remove()}selectRootElement(Ce,ce){let Be="string"==typeof Ce?this.doc.querySelector(Ce):Ce;if(!Be)throw new a.wOt(-5104,!1);return ce||(Be.textContent=""),Be}parentNode(Ce){return Ce.parentNode}nextSibling(Ce){return Ce.nextSibling}setAttribute(Ce,ce,Be,vr){if(vr){ce=vr+":"+ce;const qr=Et[vr];qr?Ce.setAttributeNS(qr,ce,Be):Ce.setAttribute(ce,Be)}else Ce.setAttribute(ce,Be)}removeAttribute(Ce,ce,Be){if(Be){const vr=Et[Be];vr?Ce.removeAttributeNS(vr,ce):Ce.removeAttribute(`${Be}:${ce}`)}else Ce.removeAttribute(ce)}addClass(Ce,ce){Ce.classList.add(ce)}removeClass(Ce,ce){Ce.classList.remove(ce)}setStyle(Ce,ce,Be,vr){vr&(a.czy.DashCase|a.czy.Important)?Ce.style.setProperty(ce,Be,vr&a.czy.Important?"important":""):Ce.style[ce]=Be}removeStyle(Ce,ce,Be){Be&a.czy.DashCase?Ce.style.removeProperty(ce):Ce.style[ce]=""}setProperty(Ce,ce,Be){null!=Ce&&(Ce[ce]=Be)}setValue(Ce,ce){Ce.nodeValue=ce}listen(Ce,ce,Be){if("string"==typeof Ce&&!(Ce=(0,n.QT)().getGlobalEventTarget(this.doc,Ce)))throw new Error(`Unsupported event target ${Ce} for event ${ce}`);return this.eventManager.addEventListener(Ce,ce,this.decoratePreventDefault(Be))}decoratePreventDefault(Ce){return ce=>{if("__ngUnwrap__"===ce)return Ce;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>Ce(ce)):Ce(ce))&&ce.preventDefault()}}}function yr($t){return"TEMPLATE"===$t.tagName&&void 0!==$t.content}class jr extends se{sharedStylesHost;hostEl;shadowRoot;constructor(Ce,ce,Be,vr,qr,ko,sn,hn){super(Ce,qr,ko,hn),this.sharedStylesHost=ce,this.hostEl=Be,this.shadowRoot=Be.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Zn=le(vr.id,vr.styles);for(const Ae of Zn){const te=document.createElement("style");sn&&te.setAttribute("nonce",sn),te.textContent=Ae,this.shadowRoot.appendChild(te)}const Je=vr.getExternalStyles?.();if(Je)for(const Ae of Je){const te=pt(Ae,qr);sn&&te.setAttribute("nonce",sn),this.shadowRoot.appendChild(te)}}nodeOrShadowRoot(Ce){return Ce===this.hostEl?this.shadowRoot:Ce}appendChild(Ce,ce){return super.appendChild(this.nodeOrShadowRoot(Ce),ce)}insertBefore(Ce,ce,Be){return super.insertBefore(this.nodeOrShadowRoot(Ce),ce,Be)}removeChild(Ce,ce){return super.removeChild(null,ce)}parentNode(Ce){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Ce)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class wr extends se{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(Ce,ce,Be,vr,qr,ko,sn,hn){super(Ce,qr,ko,sn),this.sharedStylesHost=ce,this.removeStylesOnCompDestroy=vr,this.styles=hn?le(hn,Be.styles):Be.styles,this.styleUrls=Be.getExternalStyles?.(hn)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class Qt extends wr{contentAttr;hostAttr;constructor(Ce,ce,Be,vr,qr,ko,sn,hn){const Zn=vr+"-"+Be.id;super(Ce,ce,Be,qr,ko,sn,hn,Zn),this.contentAttr=function Pt($t){return"_ngcontent-%COMP%".replace(It,$t)}(Zn),this.hostAttr=function ae($t){return"_nghost-%COMP%".replace(It,$t)}(Zn)}applyToHost(Ce){this.applyStyles(),this.setAttribute(Ce,this.hostAttr,"")}createElement(Ce,ce){const Be=super.createElement(Ce,ce);return super.setAttribute(Be,this.contentAttr,""),Be}}let be=(()=>{class $t extends q{constructor(ce){super(ce)}supports(ce){return!0}addEventListener(ce,Be,vr){return ce.addEventListener(Be,vr,!1),()=>this.removeEventListener(ce,Be,vr)}removeEventListener(ce,Be,vr){return ce.removeEventListener(Be,vr)}static \u0275fac=function(Be){return new(Be||$t)(a.KVO(n.qQ))};static \u0275prov=a.jDH({token:$t,factory:$t.\u0275fac})}return $t})();const Ht=["alt","control","meta","shift"],Bt={"\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"},Fe={alt:$t=>$t.altKey,control:$t=>$t.ctrlKey,meta:$t=>$t.metaKey,shift:$t=>$t.shiftKey};let zt=(()=>{class $t extends q{constructor(ce){super(ce)}supports(ce){return null!=$t.parseEventName(ce)}addEventListener(ce,Be,vr){const qr=$t.parseEventName(Be),ko=$t.eventCallback(qr.fullKey,vr,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,n.QT)().onAndCancel(ce,qr.domEventName,ko))}static parseEventName(ce){const Be=ce.toLowerCase().split("."),vr=Be.shift();if(0===Be.length||"keydown"!==vr&&"keyup"!==vr)return null;const qr=$t._normalizeKey(Be.pop());let ko="",sn=Be.indexOf("code");if(sn>-1&&(Be.splice(sn,1),ko="code."),Ht.forEach(Zn=>{const Je=Be.indexOf(Zn);Je>-1&&(Be.splice(Je,1),ko+=Zn+".")}),ko+=qr,0!=Be.length||0===qr.length)return null;const hn={};return hn.domEventName=vr,hn.fullKey=ko,hn}static matchEventFullKeyCode(ce,Be){let vr=Bt[ce.key]||ce.key,qr="";return Be.indexOf("code.")>-1&&(vr=ce.code,qr="code."),!(null==vr||!vr)&&(vr=vr.toLowerCase()," "===vr?vr="space":"."===vr&&(vr="dot"),Ht.forEach(ko=>{ko!==vr&&(0,Fe[ko])(ce)&&(qr+=ko+".")}),qr+=vr,qr===Be)}static eventCallback(ce,Be,vr){return qr=>{$t.matchEventFullKeyCode(qr,ce)&&vr.runGuarded(()=>Be(qr))}}static _normalizeKey(ce){return"esc"===ce?"escape":ce}static \u0275fac=function(Be){return new(Be||$t)(a.KVO(n.qQ))};static \u0275prov=a.jDH({token:$t,factory:$t.\u0275fac})}return $t})();function Yt($t,Ce){return(0,a.TL3)({rootComponent:$t,...Oe(Ce)})}function Oe($t){return{appProviders:[...Ve,...$t?.providers??[]],platformProviders:Xe}}const Xe=[{provide:a.Agw,useValue:n.AJ},{provide:a.PLl,useValue:function Dt(){y.makeCurrent()},multi:!0},{provide:n.qQ,useFactory:function ie(){return(0,a.TL$)(document),document},deps:[]}],Ve=[{provide:a.H8p,useValue:"root"},{provide:a.zcH,useFactory:function wt(){return new a.zcH},deps:[]},{provide:O,useClass:be,multi:!0,deps:[n.qQ,a.SKi,a.Agw]},{provide:O,useClass:zt,multi:!0,deps:[n.qQ]},ve,kt,P,{provide:a._9s,useExisting:ve},{provide:n.N0,useClass:T,deps:[]},[]];let Lo=(()=>{class $t{_doc;constructor(ce){this._doc=ce}getTitle(){return this._doc.title}setTitle(ce){this._doc.title=ce||""}static \u0275fac=function(Be){return new(Be||$t)(a.KVO(n.qQ))};static \u0275prov=a.jDH({token:$t,factory:$t.\u0275fac,providedIn:"root"})}return $t})(),ar=(()=>{class $t{static \u0275fac=function(Be){return new(Be||$t)};static \u0275prov=a.jDH({token:$t,factory:function(Be){let vr=null;return vr=Be?new(Be||$t):a.KVO(dr),vr},providedIn:"root"})}return $t})(),dr=(()=>{class $t extends ar{_doc;constructor(ce){super(),this._doc=ce}sanitize(ce,Be){if(null==Be)return null;switch(ce){case a.WPN.NONE:return Be;case a.WPN.HTML:return(0,a.ZF7)(Be,"HTML")?(0,a.rcV)(Be):(0,a.h9k)(this._doc,String(Be)).toString();case a.WPN.STYLE:return(0,a.ZF7)(Be,"Style")?(0,a.rcV)(Be):Be;case a.WPN.SCRIPT:if((0,a.ZF7)(Be,"Script"))return(0,a.rcV)(Be);throw new a.wOt(5200,!1);case a.WPN.URL:return(0,a.ZF7)(Be,"URL")?(0,a.rcV)(Be):(0,a.$MX)(String(Be));case a.WPN.RESOURCE_URL:if((0,a.ZF7)(Be,"ResourceURL"))return(0,a.rcV)(Be);throw new a.wOt(5201,!1);default:throw new a.wOt(5202,!1)}}bypassSecurityTrustHtml(ce){return(0,a.Kcf)(ce)}bypassSecurityTrustStyle(ce){return(0,a.cWb)(ce)}bypassSecurityTrustScript(ce){return(0,a.UyX)(ce)}bypassSecurityTrustUrl(ce){return(0,a.osQ)(ce)}bypassSecurityTrustResourceUrl(ce){return(0,a.e5t)(ce)}static \u0275fac=function(Be){return new(Be||$t)(a.KVO(n.qQ))};static \u0275prov=a.jDH({token:$t,factory:$t.\u0275fac,providedIn:"root"})}return $t})()},8716:(i,s,o)=>{"use strict";o.d(s,{nX:()=>mi,wF:()=>Gt,Ix:()=>ln,Wk:()=>ya,wQ:()=>Ni,iI:()=>zs,n3:()=>ls,lh:()=>id,oH:()=>zc});var n=o(3107),a=o(1531),l=o(1787),y=o(3016),k=o(1217),C=o(6627),A=o(8747),S=o(3569),T=o(6381),O=o(6742),P=o(8915),q=o(6564),X=o(1642),J=o(8447),ht=o(5710),ct=o(4460),pt=o(7947),kt=o(2867),Et=o(7610),It=o(593),yt=o(1483),_t=o(5823),at=o(1703),st=o(1459),vt=o(2040),Pt=o(7178),ae=o(5351),le=o(36),se=o(5670),or=o(2483);function fr(R){return R<=0?()=>q.w:(0,ae.N)((G,F)=>{let K=[];G.subscribe((0,or._)(F,gt=>{K.push(gt),R{for(const gt of K)F.next(gt);F.complete()},void 0,()=>{K=null}))})}var yr=o(5017),jr=o(9220),Qt=o(6590),be=o(4447),Ht=o(3589),Bt=o(5424),Fe=o(1890),zt=o(6388);const Yt="primary",oe=Symbol("RouteTitle");class Oe{params;constructor(G){this.params=G||{}}has(G){return Object.prototype.hasOwnProperty.call(this.params,G)}get(G){if(this.has(G)){const F=this.params[G];return Array.isArray(F)?F[0]:F}return null}getAll(G){if(this.has(G)){const F=this.params[G];return Array.isArray(F)?F:[F]}return[]}get keys(){return Object.keys(this.params)}}function $e(R){return new Oe(R)}function Dt(R,G,F){const K=F.path.split("/");if(K.length>R.length||"full"===F.pathMatch&&(G.hasChildren()||K.lengthK[Vt]===gt)}return R===G}function Ke(R){return R.length>0?R[R.length-1]:null}function re(R){return(0,a.A)(R)?R:(0,n.jNT)(R)?(0,l.H)(Promise.resolve(R)):(0,y.of)(R)}const Ve={exact:function Lo(R,G,F){if(!z(R.segments,G.segments)||!Lt(R.segments,G.segments,F)||R.numberOfChildren!==G.numberOfChildren)return!1;for(const K in G.children)if(!R.children[K]||!Lo(R.children[K],G.children[K],F))return!1;return!0},subset:fo},tr={exact:function Wr(R,G){return ie(R,G)},subset:function Or(R,G){return Object.keys(G).length<=Object.keys(R).length&&Object.keys(G).every(F=>Te(R[F],G[F]))},ignored:()=>!0};function Tr(R,G,F){return Ve[F.paths](R.root,G.root,F.matrixParams)&&tr[F.queryParams](R.queryParams,G.queryParams)&&!("exact"===F.fragment&&R.fragment!==G.fragment)}function fo(R,G,F){return cr(R,G,G.segments,F)}function cr(R,G,F,K){if(R.segments.length>F.length){const gt=R.segments.slice(0,F.length);return!(!z(gt,F)||G.hasChildren()||!Lt(gt,F,K))}if(R.segments.length===F.length){if(!z(R.segments,F)||!Lt(R.segments,F,K))return!1;for(const gt in G.children)if(!R.children[gt]||!fo(R.children[gt],G.children[gt],K))return!1;return!0}{const gt=F.slice(0,R.segments.length),Vt=F.slice(R.segments.length);return!!(z(R.segments,gt)&&Lt(R.segments,gt,K)&&R.children[Yt])&&cr(R.children[Yt],G,Vt,K)}}function Lt(R,G,F){return G.every((K,gt)=>tr[F](R[gt].parameters,K.parameters))}class At{root;queryParams;fragment;_queryParamMap;constructor(G=new Zt([],{}),F={},K=null){this.root=G,this.queryParams=F,this.fragment=K}get queryParamMap(){return this._queryParamMap??=$e(this.queryParams),this._queryParamMap}toString(){return Se.serialize(this)}}class Zt{segments;children;parent=null;constructor(G,F){this.segments=G,this.children=F,Object.values(F).forEach(K=>K.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Sr(this)}}class W{path;parameters;_parameterMap;constructor(G,F){this.path=G,this.parameters=F}get parameterMap(){return this._parameterMap??=$e(this.parameters),this._parameterMap}toString(){return Ho(this)}}function z(R,G){return R.length===G.length&&R.every((F,K)=>F.path===G[K].path)}let ue=(()=>{class R{static \u0275fac=function(K){return new(K||R)};static \u0275prov=n.jDH({token:R,factory:()=>new he,providedIn:"root"})}return R})();class he{parse(G){const F=new ko(G);return new At(F.parseRootSegment(),F.parseQueryParams(),F.parseFragment())}serialize(G){const F=`/${ar(G.root,!0)}`,K=function ze(R){const G=Object.entries(R).map(([F,K])=>Array.isArray(K)?K.map(gt=>`${Mr(F)}=${Mr(gt)}`).join("&"):`${Mr(F)}=${Mr(K)}`).filter(F=>F);return G.length?`?${G.join("&")}`:""}(G.queryParams);return`${F}${K}${"string"==typeof G.fragment?`#${function ao(R){return encodeURI(R)}(G.fragment)}`:""}`}}const Se=new he;function Sr(R){return R.segments.map(G=>Ho(G)).join("/")}function ar(R,G){if(!R.hasChildren())return Sr(R);if(G){const F=R.children[Yt]?ar(R.children[Yt],!1):"",K=[];return Object.entries(R.children).forEach(([gt,Vt])=>{gt!==Yt&&K.push(`${gt}:${ar(Vt,!1)}`)}),K.length>0?`${F}(${K.join("//")})`:F}{const F=function Rt(R,G){let F=[];return Object.entries(R.children).forEach(([K,gt])=>{K===Yt&&(F=F.concat(G(gt,K)))}),Object.entries(R.children).forEach(([K,gt])=>{K!==Yt&&(F=F.concat(G(gt,K)))}),F}(R,(K,gt)=>gt===Yt?[ar(R.children[Yt],!1)]:[`${gt}:${ar(K,!1)}`]);return 1===Object.keys(R.children).length&&null!=R.children[Yt]?`${Sr(R)}/${F[0]}`:`${Sr(R)}/(${F.join("//")})`}}function dr(R){return encodeURIComponent(R).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Mr(R){return dr(R).replace(/%3B/gi,";")}function xr(R){return dr(R).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function zo(R){return decodeURIComponent(R)}function To(R){return zo(R.replace(/\+/g,"%20"))}function Ho(R){return`${xr(R.path)}${function we(R){return Object.entries(R).map(([G,F])=>`;${xr(G)}=${xr(F)}`).join("")}(R.parameters)}`}const Mt=/^[^\/()?;#]+/;function Wt(R){const G=R.match(Mt);return G?G[0]:""}const $t=/^[^\/()?;=#]+/,ce=/^[^=?&#]+/,vr=/^[^&#]+/;class ko{url;remaining;constructor(G){this.url=G,this.remaining=G}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Zt([],{}):new Zt([],this.parseChildren())}parseQueryParams(){const G={};if(this.consumeOptional("?"))do{this.parseQueryParam(G)}while(this.consumeOptional("&"));return G}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const G=[];for(this.peekStartsWith("(")||G.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),G.push(this.parseSegment());let F={};this.peekStartsWith("/(")&&(this.capture("/"),F=this.parseParens(!0));let K={};return this.peekStartsWith("(")&&(K=this.parseParens(!1)),(G.length>0||Object.keys(F).length>0)&&(K[Yt]=new Zt(G,F)),K}parseSegment(){const G=Wt(this.remaining);if(""===G&&this.peekStartsWith(";"))throw new n.wOt(4009,!1);return this.capture(G),new W(zo(G),this.parseMatrixParams())}parseMatrixParams(){const G={};for(;this.consumeOptional(";");)this.parseParam(G);return G}parseParam(G){const F=function Ce(R){const G=R.match($t);return G?G[0]:""}(this.remaining);if(!F)return;this.capture(F);let K="";if(this.consumeOptional("=")){const gt=Wt(this.remaining);gt&&(K=gt,this.capture(K))}G[zo(F)]=zo(K)}parseQueryParam(G){const F=function Be(R){const G=R.match(ce);return G?G[0]:""}(this.remaining);if(!F)return;this.capture(F);let K="";if(this.consumeOptional("=")){const De=function qr(R){const G=R.match(vr);return G?G[0]:""}(this.remaining);De&&(K=De,this.capture(K))}const gt=To(F),Vt=To(K);if(G.hasOwnProperty(gt)){let De=G[gt];Array.isArray(De)||(De=[De],G[gt]=De),De.push(Vt)}else G[gt]=Vt}parseParens(G){const F={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const K=Wt(this.remaining),gt=this.remaining[K.length];if("/"!==gt&&")"!==gt&&";"!==gt)throw new n.wOt(4010,!1);let Vt;K.indexOf(":")>-1?(Vt=K.slice(0,K.indexOf(":")),this.capture(Vt),this.capture(":")):G&&(Vt=Yt);const De=this.parseChildren();F[Vt]=1===Object.keys(De).length?De[Yt]:new Zt([],De),this.consumeOptional("//")}return F}peekStartsWith(G){return this.remaining.startsWith(G)}consumeOptional(G){return!!this.peekStartsWith(G)&&(this.remaining=this.remaining.substring(G.length),!0)}capture(G){if(!this.consumeOptional(G))throw new n.wOt(4011,!1)}}function sn(R){return R.segments.length>0?new Zt([],{[Yt]:R}):R}function hn(R){const G={};for(const[K,gt]of Object.entries(R.children)){const Vt=hn(gt);if(K===Yt&&0===Vt.segments.length&&Vt.hasChildren())for(const[De,pr]of Object.entries(Vt.children))G[De]=pr;else(Vt.segments.length>0||Vt.hasChildren())&&(G[K]=Vt)}return function Zn(R){if(1===R.numberOfChildren&&R.children[Yt]){const G=R.children[Yt];return new Zt(R.segments.concat(G.segments),G.children)}return R}(new Zt(R.segments,G))}function Je(R){return R instanceof At}function te(R){let G;const gt=sn(function F(Vt){const De={};for(const nr of Vt.children){const uo=F(nr);De[nr.outlet]=uo}const pr=new Zt(Vt.url,De);return Vt===R&&(G=pr),pr}(R.root));return G??gt}function Re(R,G,F,K){let gt=R;for(;gt.parent;)gt=gt.parent;if(0===G.length)return po(gt,gt,gt,F,K);const Vt=function ua(R){if("string"==typeof R[0]&&1===R.length&&"/"===R[0])return new Ln(!0,0,R);let G=0,F=!1;const K=R.reduce((gt,Vt,De)=>{if("object"==typeof Vt&&null!=Vt){if(Vt.outlets){const pr={};return Object.entries(Vt.outlets).forEach(([nr,uo])=>{pr[nr]="string"==typeof uo?uo.split("/"):uo}),[...gt,{outlets:pr}]}if(Vt.segmentPath)return[...gt,Vt.segmentPath]}return"string"!=typeof Vt?[...gt,Vt]:0===De?(Vt.split("/").forEach((pr,nr)=>{0==nr&&"."===pr||(0==nr&&""===pr?F=!0:".."===pr?G++:""!=pr&>.push(pr))}),gt):[...gt,Vt]},[]);return new Ln(F,G,K)}(G);if(Vt.toRoot())return po(gt,gt,new Zt([],{}),F,K);const De=function cn(R,G,F){if(R.isAbsolute)return new $i(G,!0,0);if(!F)return new $i(G,!1,NaN);if(null===F.parent)return new $i(F,!0,0);const K=ir(R.commands[0])?0:1;return function qi(R,G,F){let K=R,gt=G,Vt=F;for(;Vt>gt;){if(Vt-=gt,K=K.parent,!K)throw new n.wOt(4005,!1);gt=K.segments.length}return new $i(K,!1,gt-Vt)}(F,F.segments.length-1+K,R.numberOfDoubleDots)}(Vt,gt,R),pr=De.processChildren?Fi(De.segmentGroup,De.index,Vt.commands):Ji(De.segmentGroup,De.index,Vt.commands);return po(gt,De.segmentGroup,pr,F,K)}function ir(R){return"object"==typeof R&&null!=R&&!R.outlets&&!R.segmentPath}function gr(R){return"object"==typeof R&&null!=R&&R.outlets}function po(R,G,F,K,gt){let De,Vt={};K&&Object.entries(K).forEach(([nr,uo])=>{Vt[nr]=Array.isArray(uo)?uo.map(un=>`${un}`):`${uo}`}),De=R===G?F:ki(R,G,F);const pr=sn(hn(De));return new At(pr,Vt,gt)}function ki(R,G,F){const K={};return Object.entries(R.children).forEach(([gt,Vt])=>{K[gt]=Vt===G?F:ki(Vt,G,F)}),new Zt(R.segments,K)}class Ln{isAbsolute;numberOfDoubleDots;commands;constructor(G,F,K){if(this.isAbsolute=G,this.numberOfDoubleDots=F,this.commands=K,G&&K.length>0&&ir(K[0]))throw new n.wOt(4003,!1);const gt=K.find(gr);if(gt&>!==Ke(K))throw new n.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class $i{segmentGroup;processChildren;index;constructor(G,F,K){this.segmentGroup=G,this.processChildren=F,this.index=K}}function Ji(R,G,F){if(R??=new Zt([],{}),0===R.segments.length&&R.hasChildren())return Fi(R,G,F);const K=function is(R,G,F){let K=0,gt=G;const Vt={match:!1,pathIndex:0,commandIndex:0};for(;gt=F.length)return Vt;const De=R.segments[gt],pr=F[K];if(gr(pr))break;const nr=`${pr}`,uo=K0&&void 0===nr)break;if(nr&&uo&&"object"==typeof uo&&void 0===uo.outlets){if(!Mi(nr,uo,De))return Vt;K+=2}else{if(!Mi(nr,{},De))return Vt;K++}gt++}return{match:!0,pathIndex:gt,commandIndex:K}}(R,G,F),gt=F.slice(K.commandIndex);if(K.match&&K.pathIndexVt!==Yt)&&R.children[Yt]&&1===R.numberOfChildren&&0===R.children[Yt].segments.length){const Vt=Fi(R.children[Yt],G,F);return new Zt(R.segments,Vt.children)}return Object.entries(K).forEach(([Vt,De])=>{"string"==typeof De&&(De=[De]),null!==De&&(gt[Vt]=Ji(R.children[Vt],G,De))}),Object.entries(R.children).forEach(([Vt,De])=>{void 0===K[Vt]&&(gt[Vt]=De)}),new Zt(R.segments,gt)}}function si(R,G,F){const K=R.segments.slice(0,G);let gt=0;for(;gt{"string"==typeof K&&(K=[K]),null!==K&&(G[F]=si(new Zt([],{}),0,K))}),G}function On(R){const G={};return Object.entries(R).forEach(([F,K])=>G[F]=`${K}`),G}function Mi(R,G,F){return R==F.path&&ie(G,F.parameters)}const Jt="imperative";var ke=function(R){return R[R.NavigationStart=0]="NavigationStart",R[R.NavigationEnd=1]="NavigationEnd",R[R.NavigationCancel=2]="NavigationCancel",R[R.NavigationError=3]="NavigationError",R[R.RoutesRecognized=4]="RoutesRecognized",R[R.ResolveStart=5]="ResolveStart",R[R.ResolveEnd=6]="ResolveEnd",R[R.GuardsCheckStart=7]="GuardsCheckStart",R[R.GuardsCheckEnd=8]="GuardsCheckEnd",R[R.RouteConfigLoadStart=9]="RouteConfigLoadStart",R[R.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",R[R.ChildActivationStart=11]="ChildActivationStart",R[R.ChildActivationEnd=12]="ChildActivationEnd",R[R.ActivationStart=13]="ActivationStart",R[R.ActivationEnd=14]="ActivationEnd",R[R.Scroll=15]="Scroll",R[R.NavigationSkipped=16]="NavigationSkipped",R}(ke||{});class de{id;url;constructor(G,F){this.id=G,this.url=F}}class ft extends de{type=ke.NavigationStart;navigationTrigger;restoredState;constructor(G,F,K="imperative",gt=null){super(G,F),this.navigationTrigger=K,this.restoredState=gt}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Gt extends de{urlAfterRedirects;type=ke.NavigationEnd;constructor(G,F,K){super(G,F),this.urlAfterRedirects=K}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Ot=function(R){return R[R.Redirect=0]="Redirect",R[R.SupersededByNewNavigation=1]="SupersededByNewNavigation",R[R.NoDataFromResolver=2]="NoDataFromResolver",R[R.GuardRejected=3]="GuardRejected",R}(Ot||{}),me=function(R){return R[R.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",R[R.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",R}(me||{});class He extends de{reason;code;type=ke.NavigationCancel;constructor(G,F,K,gt){super(G,F),this.reason=K,this.code=gt}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Me extends de{reason;code;type=ke.NavigationSkipped;constructor(G,F,K,gt){super(G,F),this.reason=K,this.code=gt}}class ur extends de{error;target;type=ke.NavigationError;constructor(G,F,K,gt){super(G,F),this.error=K,this.target=gt}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Er extends de{urlAfterRedirects;state;type=ke.RoutesRecognized;constructor(G,F,K,gt){super(G,F),this.urlAfterRedirects=K,this.state=gt}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class kr extends de{urlAfterRedirects;state;type=ke.GuardsCheckStart;constructor(G,F,K,gt){super(G,F),this.urlAfterRedirects=K,this.state=gt}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Rr extends de{urlAfterRedirects;state;shouldActivate;type=ke.GuardsCheckEnd;constructor(G,F,K,gt,Vt){super(G,F),this.urlAfterRedirects=K,this.state=gt,this.shouldActivate=Vt}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class $r extends de{urlAfterRedirects;state;type=ke.ResolveStart;constructor(G,F,K,gt){super(G,F),this.urlAfterRedirects=K,this.state=gt}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Jr extends de{urlAfterRedirects;state;type=ke.ResolveEnd;constructor(G,F,K,gt){super(G,F),this.urlAfterRedirects=K,this.state=gt}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class so{route;type=ke.RouteConfigLoadStart;constructor(G){this.route=G}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class xo{route;type=ke.RouteConfigLoadEnd;constructor(G){this.route=G}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Eo{snapshot;type=ke.ChildActivationStart;constructor(G){this.snapshot=G}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bn{snapshot;type=ke.ChildActivationEnd;constructor(G){this.snapshot=G}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rn{snapshot;type=ke.ActivationStart;constructor(G){this.snapshot=G}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mn{snapshot;type=ke.ActivationEnd;constructor(G){this.snapshot=G}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ro{routerEvent;position;anchor;type=ke.Scroll;constructor(G,F,K){this.routerEvent=G,this.position=F,this.anchor=K}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Qo{}class Fo{url;navigationBehaviorOptions;constructor(G,F){this.url=G,this.navigationBehaviorOptions=F}}function Ri(R){return R.outlet||Yt}function Ki(R){if(!R)return null;if(R.routeConfig?._injector)return R.routeConfig._injector;for(let G=R.parent;G;G=G.parent){const F=G.routeConfig;if(F?._loadedInjector)return F._loadedInjector;if(F?._injector)return F._injector}return null}class gi{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Ki(this.route?.snapshot)??this.rootInjector}constructor(G){this.rootInjector=G,this.children=new Gi(this.rootInjector)}}let Gi=(()=>{class R{rootInjector;contexts=new Map;constructor(F){this.rootInjector=F}onChildOutletCreated(F,K){const gt=this.getOrCreateContext(F);gt.outlet=K,this.contexts.set(F,gt)}onChildOutletDestroyed(F){const K=this.getContext(F);K&&(K.outlet=null,K.attachRef=null)}onOutletDeactivated(){const F=this.contexts;return this.contexts=new Map,F}onOutletReAttached(F){this.contexts=F}getOrCreateContext(F){let K=this.getContext(F);return K||(K=new gi(this.rootInjector),this.contexts.set(F,K)),K}getContext(F){return this.contexts.get(F)||null}static \u0275fac=function(K){return new(K||R)(n.KVO(n.uvJ))};static \u0275prov=n.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})();class Ra{_root;constructor(G){this._root=G}get root(){return this._root.value}parent(G){const F=this.pathFromRoot(G);return F.length>1?F[F.length-2]:null}children(G){const F=Xo(G,this._root);return F?F.children.map(K=>K.value):[]}firstChild(G){const F=Xo(G,this._root);return F&&F.children.length>0?F.children[0].value:null}siblings(G){const F=Ca(G,this._root);return F.length<2?[]:F[F.length-2].children.map(gt=>gt.value).filter(gt=>gt!==G)}pathFromRoot(G){return Ca(G,this._root).map(F=>F.value)}}function Xo(R,G){if(R===G.value)return G;for(const F of G.children){const K=Xo(R,F);if(K)return K}return null}function Ca(R,G){if(R===G.value)return[G];for(const F of G.children){const K=Ca(R,F);if(K.length)return K.unshift(G),K}return[]}class fi{value;children;constructor(G,F){this.value=G,this.children=F}toString(){return`TreeNode(${this.value})`}}function ni(R){const G={};return R&&R.children.forEach(F=>G[F.value.outlet]=F),G}class ha extends Ra{snapshot;constructor(G,F){super(G),this.snapshot=F,Ga(this,G)}toString(){return this.snapshot.toString()}}function Xi(R){const G=function Qs(R){const Vt=new co([],{},{},"",{},Yt,R,null,{});return new Da("",new fi(Vt,[]))}(R),F=new k.t([new W("",{})]),K=new k.t({}),gt=new k.t({}),Vt=new k.t({}),De=new k.t(""),pr=new mi(F,K,Vt,De,gt,Yt,R,G.root);return pr.snapshot=G.root,new ha(new fi(pr,[]),G)}class mi{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(G,F,K,gt,Vt,De,pr,nr){this.urlSubject=G,this.paramsSubject=F,this.queryParamsSubject=K,this.fragmentSubject=gt,this.dataSubject=Vt,this.outlet=De,this.component=pr,this._futureSnapshot=nr,this.title=this.dataSubject?.pipe((0,pt.T)(uo=>uo[oe]))??(0,y.of)(void 0),this.url=G,this.params=F,this.queryParams=K,this.fragment=gt,this.data=Vt}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,pt.T)(G=>$e(G))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,pt.T)(G=>$e(G))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ci(R,G,F="emptyOnly"){let K;const{routeConfig:gt}=R;return K=null===G||"always"!==F&&""!==gt?.path&&(G.component||G.routeConfig?.loadComponent)?{params:{...R.params},data:{...R.data},resolve:{...R.data,...R._resolvedData??{}}}:{params:{...G.params,...R.params},data:{...G.data,...R.data},resolve:{...R.data,...G.data,...gt?.data,...R._resolvedData}},gt&&Vn(gt)&&(K.resolve[oe]=gt.title),K}class co{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[oe]}constructor(G,F,K,gt,Vt,De,pr,nr,uo){this.url=G,this.params=F,this.queryParams=K,this.fragment=gt,this.data=Vt,this.outlet=De,this.component=pr,this.routeConfig=nr,this._resolve=uo}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??=$e(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=$e(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(K=>K.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Da extends Ra{url;constructor(G,F){super(F),this.url=G,Ga(this,F)}toString(){return ma(this._root)}}function Ga(R,G){G.value._routerState=R,G.children.forEach(F=>Ga(R,F))}function ma(R){const G=R.children.length>0?` { ${R.children.map(ma).join(", ")} } `:"";return`${R.value}${G}`}function cs(R){if(R.snapshot){const G=R.snapshot,F=R._futureSnapshot;R.snapshot=F,ie(G.queryParams,F.queryParams)||R.queryParamsSubject.next(F.queryParams),G.fragment!==F.fragment&&R.fragmentSubject.next(F.fragment),ie(G.params,F.params)||R.paramsSubject.next(F.params),function wt(R,G){if(R.length!==G.length)return!1;for(let F=0;Fie(F.parameters,G[K].parameters))}(R.url,G.url);return F&&!(!R.parent!=!G.parent)&&(!R.parent||ca(R.parent,G.parent))}function Vn(R){return"string"==typeof R.title||null===R.title}const cc=new n.nKC("");let ls=(()=>{class R{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Yt;activateEvents=new n.bkB;deactivateEvents=new n.bkB;attachEvents=new n.bkB;detachEvents=new n.bkB;routerOutletData=(0,n.hFB)(void 0);parentContexts=(0,n.WQX)(Gi);location=(0,n.WQX)(n.c1b);changeDetector=(0,n.WQX)(n.gRc);inputBinder=(0,n.WQX)(Aa,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(F){if(F.name){const{firstChange:K,previousValue:gt}=F.name;if(K)return;this.isTrackedInParentContexts(gt)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(gt)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(F){return this.parentContexts.getContext(F)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const F=this.parentContexts.getContext(this.name);F?.route&&(F.attachRef?this.attach(F.attachRef,F.route):this.activateWith(F.route,F.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new n.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new n.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new n.wOt(4012,!1);this.location.detach();const F=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(F.instance),F}attach(F,K){this.activated=F,this._activatedRoute=K,this.location.insert(F.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(F.instance)}deactivate(){if(this.activated){const F=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(F)}}activateWith(F,K){if(this.isActivated)throw new n.wOt(4013,!1);this._activatedRoute=F;const gt=this.location,De=F.snapshot.component,pr=this.parentContexts.getOrCreateContext(this.name).children,nr=new Sa(F,pr,gt.injector,this.routerOutletData);this.activated=gt.createComponent(De,{index:gt.length,injector:nr,environmentInjector:K}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(K){return new(K||R)};static \u0275dir=n.FsC({type:R,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[n.OA$]})}return R})();class Sa{route;childContexts;parent;outletData;__ngOutletInjector(G){return new Sa(this.route,this.childContexts,G,this.outletData)}constructor(G,F,K,gt){this.route=G,this.childContexts=F,this.parent=K,this.outletData=gt}get(G,F){return G===mi?this.route:G===Gi?this.childContexts:G===cc?this.outletData:this.parent.get(G,F)}}const Aa=new n.nKC("");let Na=(()=>{class R{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(F){this.unsubscribeFromRouteData(F),this.subscribeToRouteData(F)}unsubscribeFromRouteData(F){this.outletDataSubscriptions.get(F)?.unsubscribe(),this.outletDataSubscriptions.delete(F)}subscribeToRouteData(F){const{activatedRoute:K}=F,gt=(0,C.z)([K.queryParams,K.params,K.data]).pipe((0,kt.n)(([Vt,De,pr],nr)=>(pr={...Vt,...De,...pr},0===nr?(0,y.of)(pr):Promise.resolve(pr)))).subscribe(Vt=>{if(!F.isActivated||!F.activatedComponentRef||F.activatedRoute!==K||null===K.component)return void this.unsubscribeFromRouteData(F);const De=(0,n.HJs)(K.component);if(De)for(const{templateName:pr}of De.inputs)F.activatedComponentRef.setInput(pr,Vt[pr]);else this.unsubscribeFromRouteData(F)});this.outletDataSubscriptions.set(F,gt)}static \u0275fac=function(K){return new(K||R)};static \u0275prov=n.jDH({token:R,factory:R.\u0275fac})}return R})();function Bi(R,G,F){if(F&&R.shouldReuseRoute(G.value,F.value.snapshot)){const K=F.value;K._futureSnapshot=G.value;const gt=function ci(R,G,F){return G.children.map(K=>{for(const gt of F.children)if(R.shouldReuseRoute(K.value,gt.value.snapshot))return Bi(R,K,gt);return Bi(R,K)})}(R,G,F);return new fi(K,gt)}{if(R.shouldAttach(G.value)){const Vt=R.retrieve(G.value);if(null!==Vt){const De=Vt.route;return De.value._futureSnapshot=G.value,De.children=G.children.map(pr=>Bi(R,pr)),De}}const K=function ga(R){return new mi(new k.t(R.url),new k.t(R.params),new k.t(R.queryParams),new k.t(R.fragment),new k.t(R.data),R.outlet,R.component,R)}(G.value),gt=G.children.map(Vt=>Bi(R,Vt));return new fi(K,gt)}}class Cs{redirectTo;navigationBehaviorOptions;constructor(G,F){this.redirectTo=G,this.navigationBehaviorOptions=F}}const Ta="ngNavigationCancelingError";function Ua(R,G){const{redirectTo:F,navigationBehaviorOptions:K}=Je(G)?{redirectTo:G,navigationBehaviorOptions:void 0}:G,gt=ds(!1,Ot.Redirect);return gt.url=F,gt.navigationBehaviorOptions=K,gt}function ds(R,G){const F=new Error(`NavigationCancelingError: ${R||""}`);return F[Ta]=!0,F.cancellationCode=G,F}function Ds(R){return!!R&&R[Ta]}class et{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(G,F,K,gt,Vt){this.routeReuseStrategy=G,this.futureState=F,this.currState=K,this.forwardEvent=gt,this.inputBindingEnabled=Vt}activate(G){const F=this.futureState._root,K=this.currState?this.currState._root:null;this.deactivateChildRoutes(F,K,G),cs(this.futureState.root),this.activateChildRoutes(F,K,G)}deactivateChildRoutes(G,F,K){const gt=ni(F);G.children.forEach(Vt=>{const De=Vt.value.outlet;this.deactivateRoutes(Vt,gt[De],K),delete gt[De]}),Object.values(gt).forEach(Vt=>{this.deactivateRouteAndItsChildren(Vt,K)})}deactivateRoutes(G,F,K){const gt=G.value,Vt=F?F.value:null;if(gt===Vt)if(gt.component){const De=K.getContext(gt.outlet);De&&this.deactivateChildRoutes(G,F,De.children)}else this.deactivateChildRoutes(G,F,K);else Vt&&this.deactivateRouteAndItsChildren(F,K)}deactivateRouteAndItsChildren(G,F){G.value.component&&this.routeReuseStrategy.shouldDetach(G.value.snapshot)?this.detachAndStoreRouteSubtree(G,F):this.deactivateRouteAndOutlet(G,F)}detachAndStoreRouteSubtree(G,F){const K=F.getContext(G.value.outlet),gt=K&&G.value.component?K.children:F,Vt=ni(G);for(const De of Object.values(Vt))this.deactivateRouteAndItsChildren(De,gt);if(K&&K.outlet){const De=K.outlet.detach(),pr=K.children.onOutletDeactivated();this.routeReuseStrategy.store(G.value.snapshot,{componentRef:De,route:G,contexts:pr})}}deactivateRouteAndOutlet(G,F){const K=F.getContext(G.value.outlet),gt=K&&G.value.component?K.children:F,Vt=ni(G);for(const De of Object.values(Vt))this.deactivateRouteAndItsChildren(De,gt);K&&(K.outlet&&(K.outlet.deactivate(),K.children.onOutletDeactivated()),K.attachRef=null,K.route=null)}activateChildRoutes(G,F,K){const gt=ni(F);G.children.forEach(Vt=>{this.activateRoutes(Vt,gt[Vt.value.outlet],K),this.forwardEvent(new Mn(Vt.value.snapshot))}),G.children.length&&this.forwardEvent(new bn(G.value.snapshot))}activateRoutes(G,F,K){const gt=G.value,Vt=F?F.value:null;if(cs(gt),gt===Vt)if(gt.component){const De=K.getOrCreateContext(gt.outlet);this.activateChildRoutes(G,F,De.children)}else this.activateChildRoutes(G,F,K);else if(gt.component){const De=K.getOrCreateContext(gt.outlet);if(this.routeReuseStrategy.shouldAttach(gt.snapshot)){const pr=this.routeReuseStrategy.retrieve(gt.snapshot);this.routeReuseStrategy.store(gt.snapshot,null),De.children.onOutletReAttached(pr.contexts),De.attachRef=pr.componentRef,De.route=pr.route.value,De.outlet&&De.outlet.attach(pr.componentRef,pr.route.value),cs(pr.route.value),this.activateChildRoutes(G,null,De.children)}else De.attachRef=null,De.route=gt,De.outlet&&De.outlet.activateWith(gt,De.injector),this.activateChildRoutes(G,null,De.children)}else this.activateChildRoutes(G,null,K)}}class ne{path;route;constructor(G){this.path=G,this.route=this.path[this.path.length-1]}}class Ee{component;route;constructor(G,F){this.component=G,this.route=F}}function Fr(R,G,F){const K=R._root;return Qr(K,G?G._root:null,F,[K.value])}function Hr(R,G){const F=Symbol(),K=G.get(R,F);return K===F?"function"!=typeof R||(0,n.LfX)(R)?G.get(R):R:K}function Qr(R,G,F,K,gt={canDeactivateChecks:[],canActivateChecks:[]}){const Vt=ni(G);return R.children.forEach(De=>{(function qo(R,G,F,K,gt={canDeactivateChecks:[],canActivateChecks:[]}){const Vt=R.value,De=G?G.value:null,pr=F?F.getContext(R.value.outlet):null;if(De&&Vt.routeConfig===De.routeConfig){const nr=function Wn(R,G,F){if("function"==typeof F)return F(R,G);switch(F){case"pathParamsChange":return!z(R.url,G.url);case"pathParamsOrQueryParamsChange":return!z(R.url,G.url)||!ie(R.queryParams,G.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ca(R,G)||!ie(R.queryParams,G.queryParams);default:return!ca(R,G)}}(De,Vt,Vt.routeConfig.runGuardsAndResolvers);nr?gt.canActivateChecks.push(new ne(K)):(Vt.data=De.data,Vt._resolvedData=De._resolvedData),Qr(R,G,Vt.component?pr?pr.children:null:F,K,gt),nr&&pr&&pr.outlet&&pr.outlet.isActivated&>.canDeactivateChecks.push(new Ee(pr.outlet.component,De))}else De&&Mo(G,pr,gt),gt.canActivateChecks.push(new ne(K)),Qr(R,null,Vt.component?pr?pr.children:null:F,K,gt)})(De,Vt[De.value.outlet],F,K.concat([De.value]),gt),delete Vt[De.value.outlet]}),Object.entries(Vt).forEach(([De,pr])=>Mo(pr,F.getContext(De),gt)),gt}function Mo(R,G,F){const K=ni(R),gt=R.value;Object.entries(K).forEach(([Vt,De])=>{Mo(De,gt.component?G?G.children.getContext(Vt):null:G,F)}),F.canDeactivateChecks.push(new Ee(gt.component&&G&&G.outlet&&G.outlet.isActivated?G.outlet.component:null,gt))}function gn(R){return"function"==typeof R}function Us(R){return R instanceof A.G||"EmptyError"===R?.name}const $s=Symbol("INITIAL_VALUE");function us(){return(0,kt.n)(R=>(0,C.z)(R.map(G=>G.pipe((0,Et.s)(1),(0,It.Z)($s)))).pipe((0,pt.T)(G=>{for(const F of G)if(!0!==F){if(F===$s)return $s;if(!1===F||lt(F))return F}return!0}),(0,yt.p)(G=>G!==$s),(0,Et.s)(1)))}function lt(R){return Je(R)||R instanceof Cs}function js(R){return(0,O.F)((0,vt.M)(G=>{if("boolean"!=typeof G)throw Ua(0,G)}),(0,pt.T)(G=>!0===G))}class lc{segmentGroup;constructor(G){this.segmentGroup=G||null}}class wn extends Error{urlTree;constructor(G){super(),this.urlTree=G}}function la(R){return(0,P.$)(new lc(R))}class Fd{urlSerializer;urlTree;constructor(G,F){this.urlSerializer=G,this.urlTree=F}lineralizeSegments(G,F){let K=[],gt=F.root;for(;;){if(K=K.concat(gt.segments),0===gt.numberOfChildren)return(0,y.of)(K);if(gt.numberOfChildren>1||!gt.children[Yt])return(0,P.$)(new n.wOt(4e3,!1));gt=gt.children[Yt]}}applyRedirectCommands(G,F,K,gt,Vt){if("string"!=typeof F){const pr=F,{queryParams:nr,fragment:uo,routeConfig:un,url:Io,outlet:Gn,params:Ia,data:na,title:Os}=gt,da=(0,n.N4e)(Vt,()=>pr({params:Ia,data:na,queryParams:nr,fragment:uo,routeConfig:un,url:Io,outlet:Gn,title:Os}));if(da instanceof At)throw new wn(da);F=da}const De=this.applyRedirectCreateUrlTree(F,this.urlSerializer.parse(F),G,K);if("/"===F[0])throw new wn(De);return De}applyRedirectCreateUrlTree(G,F,K,gt){const Vt=this.createSegmentGroup(G,F.root,K,gt);return new At(Vt,this.createQueryParams(F.queryParams,this.urlTree.queryParams),F.fragment)}createQueryParams(G,F){const K={};return Object.entries(G).forEach(([gt,Vt])=>{if("string"==typeof Vt&&":"===Vt[0]){const pr=Vt.substring(1);K[gt]=F[pr]}else K[gt]=Vt}),K}createSegmentGroup(G,F,K,gt){const Vt=this.createSegments(G,F.segments,K,gt);let De={};return Object.entries(F.children).forEach(([pr,nr])=>{De[pr]=this.createSegmentGroup(G,nr,K,gt)}),new Zt(Vt,De)}createSegments(G,F,K,gt){return F.map(Vt=>":"===Vt.path[0]?this.findPosParam(G,Vt,gt):this.findOrReturn(Vt,K))}findPosParam(G,F,K){const gt=K[F.path.substring(1)];if(!gt)throw new n.wOt(4001,!1);return gt}findOrReturn(G,F){let K=0;for(const gt of F){if(gt.path===G.path)return F.splice(K),gt;K++}return G}}const _c={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function dc(R,G,F,K,gt){const Vt=vn(R,G,F);return Vt.matched?(K=function ta(R,G){return R.providers&&!R._injector&&(R._injector=(0,n.Ol2)(R.providers,G,`Route: ${R.path}`)),R._injector??G}(G,K),function pl(R,G,F,K){const gt=G.canMatch;if(!gt||0===gt.length)return(0,y.of)(!0);const Vt=gt.map(De=>{const pr=Hr(De,R);return re(function Hi(R){return R&&gn(R.canMatch)}(pr)?pr.canMatch(G,F):(0,n.N4e)(R,()=>pr(G,F)))});return(0,y.of)(Vt).pipe(us(),js())}(K,G,F).pipe((0,pt.T)(De=>!0===De?Vt:{..._c}))):(0,y.of)(Vt)}function vn(R,G,F){if("**"===G.path)return function Ic(R){return{matched:!0,parameters:R.length>0?Ke(R).parameters:{},consumedSegments:R,remainingSegments:[],positionalParamSegments:{}}}(F);if(""===G.path)return"full"===G.pathMatch&&(R.hasChildren()||F.length>0)?{..._c}:{matched:!0,consumedSegments:[],remainingSegments:F,parameters:{},positionalParamSegments:{}};const gt=(G.matcher||Dt)(F,R,G);if(!gt)return{..._c};const Vt={};Object.entries(gt.posParams??{}).forEach(([pr,nr])=>{Vt[pr]=nr.path});const De=gt.consumed.length>0?{...Vt,...gt.consumed[gt.consumed.length-1].parameters}:Vt;return{matched:!0,consumedSegments:gt.consumed,remainingSegments:F.slice(gt.consumed.length),parameters:De,positionalParamSegments:gt.posParams??{}}}function td(R,G,F,K){return F.length>0&&function $a(R,G,F){return F.some(K=>Ss(R,G,K)&&Ri(K)!==Yt)}(R,F,K)?{segmentGroup:new Zt(G,uc(K,new Zt(F,R.children))),slicedSegments:[]}:0===F.length&&function Oc(R,G,F){return F.some(K=>Ss(R,G,K))}(R,F,K)?{segmentGroup:new Zt(R.segments,ed(R,F,K,R.children)),slicedSegments:F}:{segmentGroup:new Zt(R.segments,R.children),slicedSegments:F}}function ed(R,G,F,K){const gt={};for(const Vt of F)if(Ss(R,G,Vt)&&!K[Ri(Vt)]){const De=new Zt([],{});gt[Ri(Vt)]=De}return{...K,...gt}}function uc(R,G){const F={};F[Yt]=G;for(const K of R)if(""===K.path&&Ri(K)!==Yt){const gt=new Zt([],{});F[Ri(K)]=gt}return F}function Ss(R,G,F){return(!(R.hasChildren()||G.length>0)||"full"!==F.pathMatch)&&""===F.path}class ja{}class od{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(G,F,K,gt,Vt,De,pr){this.injector=G,this.configLoader=F,this.rootComponentType=K,this.config=gt,this.urlTree=Vt,this.paramsInheritanceStrategy=De,this.urlSerializer=pr,this.applyRedirects=new Fd(this.urlSerializer,this.urlTree)}noMatchError(G){return new n.wOt(4002,`'${G.segmentGroup}'`)}recognize(){const G=td(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(G).pipe((0,pt.T)(({children:F,rootSnapshot:K})=>{const gt=new fi(K,F),Vt=new Da("",gt),De=function Ae(R,G,F=null,K=null){return Re(te(R),G,F,K)}(K,[],this.urlTree.queryParams,this.urlTree.fragment);return De.queryParams=this.urlTree.queryParams,Vt.url=this.urlSerializer.serialize(De),{state:Vt,tree:De}}))}match(G){const F=new co([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),Yt,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,G,Yt,F).pipe((0,pt.T)(K=>({children:K,rootSnapshot:F})),(0,Pt.W)(K=>{if(K instanceof wn)return this.urlTree=K.urlTree,this.match(K.urlTree.root);throw K instanceof lc?this.noMatchError(K):K}))}processSegmentGroup(G,F,K,gt,Vt){return 0===K.segments.length&&K.hasChildren()?this.processChildren(G,F,K,Vt):this.processSegment(G,F,K,K.segments,gt,!0,Vt).pipe((0,pt.T)(De=>De instanceof fi?[De]:[]))}processChildren(G,F,K,gt){const Vt=[];for(const De of Object.keys(K.children))"primary"===De?Vt.unshift(De):Vt.push(De);return(0,l.H)(Vt).pipe((0,st.H)(De=>{const pr=K.children[De],nr=function pa(R,G){const F=R.filter(K=>Ri(K)===G);return F.push(...R.filter(K=>Ri(K)!==G)),F}(F,De);return this.processSegmentGroup(G,nr,pr,De,gt)}),function ve(R,G){return(0,ae.N)((0,le.S)(R,G,arguments.length>=2,!0))}((De,pr)=>(De.push(...pr),De)),(0,se.U)(null),function wr(R,G){const F=arguments.length>=2;return K=>K.pipe(R?(0,yt.p)((gt,Vt)=>R(gt,Vt,K)):jr.D,fr(1),F?(0,se.U)(G):(0,yr.v)(()=>new A.G))}(),(0,_t.Z)(De=>{if(null===De)return la(K);const pr=jc(De);return function Al(R){R.sort((G,F)=>G.value.outlet===Yt?-1:F.value.outlet===Yt?1:G.value.outlet.localeCompare(F.value.outlet))}(pr),(0,y.of)(pr)}))}processSegment(G,F,K,gt,Vt,De,pr){return(0,l.H)(F).pipe((0,st.H)(nr=>this.processSegmentAgainstRoute(nr._injector??G,F,nr,K,gt,Vt,De,pr).pipe((0,Pt.W)(uo=>{if(uo instanceof lc)return(0,y.of)(null);throw uo}))),(0,at.$)(nr=>!!nr),(0,Pt.W)(nr=>{if(Us(nr))return function Ma(R,G,F){return 0===G.length&&!R.children[F]}(K,gt,Vt)?(0,y.of)(new ja):la(K);throw nr}))}processSegmentAgainstRoute(G,F,K,gt,Vt,De,pr,nr){return Ri(K)===De||De!==Yt&&Ss(gt,Vt,K)?void 0===K.redirectTo?this.matchSegmentAgainstRoute(G,gt,K,Vt,De,nr):this.allowRedirects&&pr?this.expandSegmentAgainstRouteUsingRedirect(G,gt,F,K,Vt,De,nr):la(gt):la(gt)}expandSegmentAgainstRouteUsingRedirect(G,F,K,gt,Vt,De,pr){const{matched:nr,parameters:uo,consumedSegments:un,positionalParamSegments:Io,remainingSegments:Gn}=vn(F,gt,Vt);if(!nr)return la(F);"string"==typeof gt.redirectTo&&"/"===gt.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Ia=new co(Vt,uo,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Vc(gt),Ri(gt),gt.component??gt._loadedComponent??null,gt,Hc(gt)),na=Ci(Ia,pr,this.paramsInheritanceStrategy);Ia.params=Object.freeze(na.params),Ia.data=Object.freeze(na.data);const Os=this.applyRedirects.applyRedirectCommands(un,gt.redirectTo,Io,Ia,G);return this.applyRedirects.lineralizeSegments(gt,Os).pipe((0,_t.Z)(da=>this.processSegment(G,K,F,da.concat(Gn),De,!1,pr)))}matchSegmentAgainstRoute(G,F,K,gt,Vt,De){const pr=dc(F,K,gt,G);return"**"===K.path&&(F.children={}),pr.pipe((0,kt.n)(nr=>nr.matched?this.getChildConfig(G=K._injector??G,K,gt).pipe((0,kt.n)(({routes:uo})=>{const un=K._loadedInjector??G,{parameters:Io,consumedSegments:Gn,remainingSegments:Ia}=nr,na=new co(Gn,Io,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Vc(K),Ri(K),K.component??K._loadedComponent??null,K,Hc(K)),Os=Ci(na,De,this.paramsInheritanceStrategy);na.params=Object.freeze(Os.params),na.data=Object.freeze(Os.data);const{segmentGroup:da,slicedSegments:Wo}=td(F,Gn,Ia,uo);if(0===Wo.length&&da.hasChildren())return this.processChildren(un,uo,da,na).pipe((0,pt.T)(Ks=>new fi(na,Ks)));if(0===uo.length&&0===Wo.length)return(0,y.of)(new fi(na,[]));const Ya=Ri(K)===Vt;return this.processSegment(un,uo,da,Wo,Ya?Yt:Vt,!0,na).pipe((0,pt.T)(Ks=>new fi(na,Ks instanceof fi?[Ks]:[])))})):la(F)))}getChildConfig(G,F,K){return F.children?(0,y.of)({routes:F.children,injector:G}):F.loadChildren?void 0!==F._loadedRoutes?(0,y.of)({routes:F._loadedRoutes,injector:F._loadedInjector}):function yc(R,G,F,K){const gt=G.canLoad;if(void 0===gt||0===gt.length)return(0,y.of)(!0);const Vt=gt.map(De=>{const pr=Hr(De,R);return re(function pn(R){return R&&gn(R.canLoad)}(pr)?pr.canLoad(G,F):(0,n.N4e)(R,()=>pr(G,F)))});return(0,y.of)(Vt).pipe(us(),js())}(G,F,K).pipe((0,_t.Z)(gt=>gt?this.configLoader.loadChildren(G,F).pipe((0,vt.M)(Vt=>{F._loadedRoutes=Vt.routes,F._loadedInjector=Vt.injector})):function vc(){return(0,P.$)(ds(!1,Ot.GuardRejected))}())):(0,y.of)({routes:[],injector:G})}}function xc(R){const G=R.value.routeConfig;return G&&""===G.path}function jc(R){const G=[],F=new Set;for(const K of R){if(!xc(K)){G.push(K);continue}const gt=G.find(Vt=>K.value.routeConfig===Vt.value.routeConfig);void 0!==gt?(gt.children.push(...K.children),F.add(gt)):G.push(K)}for(const K of F){const gt=jc(K.children);G.push(new fi(K.value,gt))}return G.filter(K=>!F.has(K))}function Vc(R){return R.data||{}}function Hc(R){return R.resolve||{}}function Vi(R){const G=R.children.map(F=>Vi(F)).flat();return[R,...G]}function Ao(R){return(0,kt.n)(G=>{const F=R(G);return F?(0,l.H)(F).pipe((0,pt.T)(()=>G)):(0,y.of)(G)})}let Rn=(()=>{class R{buildTitle(F){let K,gt=F.root;for(;void 0!==gt;)K=this.getResolvedTitleForRoute(gt)??K,gt=gt.children.find(Vt=>Vt.outlet===Yt);return K}getResolvedTitleForRoute(F){return F.data[oe]}static \u0275fac=function(K){return new(K||R)};static \u0275prov=n.jDH({token:R,factory:()=>(0,n.WQX)(wa),providedIn:"root"})}return R})(),wa=(()=>{class R extends Rn{title;constructor(F){super(),this.title=F}updateTitle(F){const K=this.buildTitle(F);void 0!==K&&this.title.setTitle(K)}static \u0275fac=function(K){return new(K||R)(n.KVO(zt.hE))};static \u0275prov=n.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})();const Qn=new n.nKC("",{providedIn:"root",factory:()=>({})});let ai=(()=>{class R{static \u0275fac=function(K){return new(K||R)};static \u0275cmp=n.VBU({type:R,selectors:[["ng-component"]],decls:1,vars:0,template:function(K,gt){1&K&&n.nrm(0,"router-outlet")},dependencies:[ls],encapsulation:2})}return R})();function Bn(R){const G=R.children&&R.children.map(Bn),F=G?{...R,children:G}:{...R};return!F.component&&!F.loadComponent&&(G||F.loadChildren)&&F.outlet&&F.outlet!==Yt&&(F.component=ai),F}const Kn=new n.nKC("");let ri=(()=>{class R{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,n.WQX)(n.Ql9);loadComponent(F){if(this.componentLoaders.get(F))return this.componentLoaders.get(F);if(F._loadedComponent)return(0,y.of)(F._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(F);const K=re(F.loadComponent()).pipe((0,pt.T)(Xa),(0,vt.M)(Vt=>{this.onLoadEndListener&&this.onLoadEndListener(F),F._loadedComponent=Vt}),(0,be.j)(()=>{this.componentLoaders.delete(F)})),gt=new X.G(K,()=>new J.B).pipe((0,Ht.B)());return this.componentLoaders.set(F,gt),gt}loadChildren(F,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 Vt=function li(R,G,F,K){return re(R.loadChildren()).pipe((0,pt.T)(Xa),(0,_t.Z)(gt=>gt instanceof n.Co$||Array.isArray(gt)?(0,y.of)(gt):(0,l.H)(G.compileModuleAsync(gt))),(0,pt.T)(gt=>{K&&K(R);let Vt,De,pr=!1;return Array.isArray(gt)?(De=gt,!0):(Vt=gt.create(F).injector,De=Vt.get(Kn,[],{optional:!0,self:!0}).flat()),{routes:De.map(Bn),injector:Vt}}))}(K,this.compiler,F,this.onLoadEndListener).pipe((0,be.j)(()=>{this.childrenLoaders.delete(K)})),De=new X.G(Vt,()=>new J.B).pipe((0,Ht.B)());return this.childrenLoaders.set(K,De),De}static \u0275fac=function(K){return new(K||R)};static \u0275prov=n.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})();function Xa(R){return function on(R){return R&&"object"==typeof R&&"default"in R}(R)?R.default:R}let Zs=(()=>{class R{static \u0275fac=function(K){return new(K||R)};static \u0275prov=n.jDH({token:R,factory:()=>(0,n.WQX)(Ui),providedIn:"root"})}return R})(),Ui=(()=>{class R{shouldProcessUrl(F){return!0}extract(F){return F}merge(F,K){return F}static \u0275fac=function(K){return new(K||R)};static \u0275prov=n.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})();const bi=new n.nKC(""),Cn=new n.nKC("");function Va(R,G,F){const K=R.get(Cn),gt=R.get(ct.qQ);return R.get(n.SKi).runOutsideAngular(()=>{if(!gt.startViewTransition||K.skipNextTransition)return K.skipNextTransition=!1,new Promise(uo=>setTimeout(uo));let Vt;const De=new Promise(uo=>{Vt=uo}),pr=gt.startViewTransition(()=>(Vt(),function di(R){return new Promise(G=>{(0,n.mal)({read:()=>setTimeout(G)},{injector:R})})}(R))),{onViewTransitionCreated:nr}=K;return nr&&(0,n.N4e)(R,()=>nr({transition:pr,from:G,to:F})),De})}const Un=new n.nKC("");let U=(()=>{class R{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new J.B;transitionAbortSubject=new J.B;configLoader=(0,n.WQX)(ri);environmentInjector=(0,n.WQX)(n.uvJ);urlSerializer=(0,n.WQX)(ue);rootContexts=(0,n.WQX)(Gi);location=(0,n.WQX)(ct.aZ);inputBindingEnabled=null!==(0,n.WQX)(Aa,{optional:!0});titleStrategy=(0,n.WQX)(Rn);options=(0,n.WQX)(Qn,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,n.WQX)(Zs);createViewTransition=(0,n.WQX)(bi,{optional:!0});navigationErrorHandler=(0,n.WQX)(Un,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,y.of)(void 0);rootComponentType=null;constructor(){this.configLoader.onLoadEndListener=gt=>this.events.next(new xo(gt)),this.configLoader.onLoadStartListener=gt=>this.events.next(new so(gt))}complete(){this.transitions?.complete()}handleNavigationRequest(F){const K=++this.navigationId;this.transitions?.next({...this.transitions.value,...F,id:K})}setupNavigations(F,K,gt){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:Jt,restoredState:null,currentSnapshot:gt.snapshot,targetSnapshot:null,currentRouterState:gt,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,yt.p)(Vt=>0!==Vt.id),(0,pt.T)(Vt=>({...Vt,extractedUrl:this.urlHandlingStrategy.extract(Vt.rawUrl)})),(0,kt.n)(Vt=>{let De=!1,pr=!1;return(0,y.of)(Vt).pipe((0,kt.n)(nr=>{if(this.navigationId>Vt.id)return this.cancelNavigationTransition(Vt,"",Ot.SupersededByNewNavigation),q.w;this.currentTransition=Vt,this.currentNavigation={id:nr.id,initialUrl:nr.rawUrl,extractedUrl:nr.extractedUrl,targetBrowserUrl:"string"==typeof nr.extras.browserUrl?this.urlSerializer.parse(nr.extras.browserUrl):nr.extras.browserUrl,trigger:nr.source,extras:nr.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const uo=!F.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!uo&&"reload"!==(nr.extras.onSameUrlNavigation??F.onSameUrlNavigation)){const Io="";return this.events.next(new Me(nr.id,this.urlSerializer.serialize(nr.rawUrl),Io,me.IgnoredSameUrlNavigation)),nr.resolve(!1),q.w}if(this.urlHandlingStrategy.shouldProcessUrl(nr.rawUrl))return(0,y.of)(nr).pipe((0,kt.n)(Io=>{const Gn=this.transitions?.getValue();return this.events.next(new ft(Io.id,this.urlSerializer.serialize(Io.extractedUrl),Io.source,Io.restoredState)),Gn!==this.transitions?.getValue()?q.w:Promise.resolve(Io)}),function ps(R,G,F,K,gt,Vt){return(0,_t.Z)(De=>function rd(R,G,F,K,gt,Vt,De="emptyOnly"){return new od(R,G,F,K,gt,De,Vt).recognize()}(R,G,F,K,De.extractedUrl,gt,Vt).pipe((0,pt.T)(({state:pr,tree:nr})=>({...De,targetSnapshot:pr,urlAfterRedirects:nr}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,F.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,vt.M)(Io=>{Vt.targetSnapshot=Io.targetSnapshot,Vt.urlAfterRedirects=Io.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Io.urlAfterRedirects};const Gn=new Er(Io.id,this.urlSerializer.serialize(Io.extractedUrl),this.urlSerializer.serialize(Io.urlAfterRedirects),Io.targetSnapshot);this.events.next(Gn)}));if(uo&&this.urlHandlingStrategy.shouldProcessUrl(nr.currentRawUrl)){const{id:Io,extractedUrl:Gn,source:Ia,restoredState:na,extras:Os}=nr,da=new ft(Io,this.urlSerializer.serialize(Gn),Ia,na);this.events.next(da);const Wo=Xi(this.rootComponentType).snapshot;return this.currentTransition=Vt={...nr,targetSnapshot:Wo,urlAfterRedirects:Gn,extras:{...Os,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Gn,(0,y.of)(Vt)}{const Io="";return this.events.next(new Me(nr.id,this.urlSerializer.serialize(nr.extractedUrl),Io,me.IgnoredByUrlHandlingStrategy)),nr.resolve(!1),q.w}}),(0,vt.M)(nr=>{const uo=new kr(nr.id,this.urlSerializer.serialize(nr.extractedUrl),this.urlSerializer.serialize(nr.urlAfterRedirects),nr.targetSnapshot);this.events.next(uo)}),(0,pt.T)(nr=>(this.currentTransition=Vt={...nr,guards:Fr(nr.targetSnapshot,nr.currentSnapshot,this.rootContexts)},Vt)),function dt(R,G){return(0,_t.Z)(F=>{const{targetSnapshot:K,currentSnapshot:gt,guards:{canActivateChecks:Vt,canDeactivateChecks:De}}=F;return 0===De.length&&0===Vt.length?(0,y.of)({...F,guardsResult:!0}):function Q(R,G,F,K){return(0,l.H)(R).pipe((0,_t.Z)(gt=>function Mc(R,G,F,K,gt){const Vt=G&&G.routeConfig?G.routeConfig.canDeactivate:null;if(!Vt||0===Vt.length)return(0,y.of)(!0);const De=Vt.map(pr=>{const nr=Ki(G)??gt,uo=Hr(pr,nr);return re(function ji(R){return R&&gn(R.canDeactivate)}(uo)?uo.canDeactivate(R,G,F,K):(0,n.N4e)(nr,()=>uo(R,G,F,K))).pipe((0,at.$)())});return(0,y.of)(De).pipe(us())}(gt.component,gt.route,F,G,K)),(0,at.$)(gt=>!0!==gt,!0))}(De,K,gt,R).pipe((0,_t.Z)(pr=>pr&&function Ko(R){return"boolean"==typeof R}(pr)?function Ft(R,G,F,K){return(0,l.H)(G).pipe((0,st.H)(gt=>(0,S.x)(function _o(R,G){return null!==R&&G&&G(new Eo(R)),(0,y.of)(!0)}(gt.route.parent,K),function je(R,G){return null!==R&&G&&G(new rn(R)),(0,y.of)(!0)}(gt.route,K),function ea(R,G,F){const K=G[G.length-1],Vt=G.slice(0,G.length-1).reverse().map(De=>function Ir(R){const G=R.routeConfig?R.routeConfig.canActivateChild:null;return G&&0!==G.length?{node:R,guards:G}:null}(De)).filter(De=>null!==De).map(De=>(0,T.v)(()=>{const pr=De.guards.map(nr=>{const uo=Ki(De.node)??F,un=Hr(nr,uo);return re(function Oi(R){return R&&gn(R.canActivateChild)}(un)?un.canActivateChild(K,R):(0,n.N4e)(uo,()=>un(K,R))).pipe((0,at.$)())});return(0,y.of)(pr).pipe(us())}));return(0,y.of)(Vt).pipe(us())}(R,gt.path,F),function Jo(R,G,F){const K=G.routeConfig?G.routeConfig.canActivate:null;if(!K||0===K.length)return(0,y.of)(!0);const gt=K.map(Vt=>(0,T.v)(()=>{const De=Ki(G)??F,pr=Hr(Vt,De);return re(function Fn(R){return R&&gn(R.canActivate)}(pr)?pr.canActivate(G,R):(0,n.N4e)(De,()=>pr(G,R))).pipe((0,at.$)())}));return(0,y.of)(gt).pipe(us())}(R,gt.route,F))),(0,at.$)(gt=>!0!==gt,!0))}(K,Vt,R,G):(0,y.of)(pr)),(0,pt.T)(pr=>({...F,guardsResult:pr})))})}(this.environmentInjector,nr=>this.events.next(nr)),(0,vt.M)(nr=>{if(Vt.guardsResult=nr.guardsResult,nr.guardsResult&&"boolean"!=typeof nr.guardsResult)throw Ua(0,nr.guardsResult);const uo=new Rr(nr.id,this.urlSerializer.serialize(nr.extractedUrl),this.urlSerializer.serialize(nr.urlAfterRedirects),nr.targetSnapshot,!!nr.guardsResult);this.events.next(uo)}),(0,yt.p)(nr=>!!nr.guardsResult||(this.cancelNavigationTransition(nr,"",Ot.GuardRejected),!1)),Ao(nr=>{if(nr.guards.canActivateChecks.length)return(0,y.of)(nr).pipe((0,vt.M)(uo=>{const un=new $r(uo.id,this.urlSerializer.serialize(uo.extractedUrl),this.urlSerializer.serialize(uo.urlAfterRedirects),uo.targetSnapshot);this.events.next(un)}),(0,kt.n)(uo=>{let un=!1;return(0,y.of)(uo).pipe(function nd(R,G){return(0,_t.Z)(F=>{const{targetSnapshot:K,guards:{canActivateChecks:gt}}=F;if(!gt.length)return(0,y.of)(F);const Vt=new Set(gt.map(nr=>nr.route)),De=new Set;for(const nr of Vt)if(!De.has(nr))for(const uo of Vi(nr))De.add(uo);let pr=0;return(0,l.H)(De).pipe((0,st.H)(nr=>Vt.has(nr)?function zi(R,G,F,K){const gt=R.routeConfig,Vt=R._resolve;return void 0!==gt?.title&&!Vn(gt)&&(Vt[oe]=gt.title),function ii(R,G,F,K){const gt=Xe(R);if(0===gt.length)return(0,y.of)({});const Vt={};return(0,l.H)(gt).pipe((0,_t.Z)(De=>function Pr(R,G,F,K){const gt=Ki(G)??K,Vt=Hr(R,gt);return re(Vt.resolve?Vt.resolve(G,F):(0,n.N4e)(gt,()=>Vt(G,F)))}(R[De],G,F,K).pipe((0,at.$)(),(0,vt.M)(pr=>{if(pr instanceof Cs)throw Ua(new he,pr);Vt[De]=pr}))),fr(1),(0,Qt.u)(Vt),(0,Pt.W)(De=>Us(De)?q.w:(0,P.$)(De)))}(Vt,R,G,K).pipe((0,pt.T)(De=>(R._resolvedData=De,R.data=Ci(R,R.parent,F).resolve,null)))}(nr,K,R,G):(nr.data=Ci(nr,nr.parent,R).resolve,(0,y.of)(void 0))),(0,vt.M)(()=>pr++),fr(1),(0,_t.Z)(nr=>pr===De.size?(0,y.of)(F):q.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,vt.M)({next:()=>un=!0,complete:()=>{un||this.cancelNavigationTransition(uo,"",Ot.NoDataFromResolver)}}))}),(0,vt.M)(uo=>{const un=new Jr(uo.id,this.urlSerializer.serialize(uo.extractedUrl),this.urlSerializer.serialize(uo.urlAfterRedirects),uo.targetSnapshot);this.events.next(un)}))}),Ao(nr=>{const uo=un=>{const Io=[];un.routeConfig?.loadComponent&&!un.routeConfig._loadedComponent&&Io.push(this.configLoader.loadComponent(un.routeConfig).pipe((0,vt.M)(Gn=>{un.component=Gn}),(0,pt.T)(()=>{})));for(const Gn of un.children)Io.push(...uo(Gn));return Io};return(0,C.z)(uo(nr.targetSnapshot.root)).pipe((0,se.U)(null),(0,Et.s)(1))}),Ao(()=>this.afterPreactivation()),(0,kt.n)(()=>{const{currentSnapshot:nr,targetSnapshot:uo}=Vt,un=this.createViewTransition?.(this.environmentInjector,nr.root,uo.root);return un?(0,l.H)(un).pipe((0,pt.T)(()=>Vt)):(0,y.of)(Vt)}),(0,pt.T)(nr=>{const uo=function Di(R,G,F){const K=Bi(R,G._root,F?F._root:void 0);return new ha(K,G)}(F.routeReuseStrategy,nr.targetSnapshot,nr.currentRouterState);return this.currentTransition=Vt={...nr,targetRouterState:uo},this.currentNavigation.targetRouterState=uo,Vt}),(0,vt.M)(()=>{this.events.next(new Qo)}),((R,G,F,K)=>(0,pt.T)(gt=>(new et(G,gt.targetRouterState,gt.currentRouterState,F,K).activate(R),gt)))(this.rootContexts,F.routeReuseStrategy,nr=>this.events.next(nr),this.inputBindingEnabled),(0,Et.s)(1),(0,vt.M)({next:nr=>{De=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Gt(nr.id,this.urlSerializer.serialize(nr.extractedUrl),this.urlSerializer.serialize(nr.urlAfterRedirects))),this.titleStrategy?.updateTitle(nr.targetRouterState.snapshot),nr.resolve(!0)},complete:()=>{De=!0}}),(0,Bt.Q)(this.transitionAbortSubject.pipe((0,vt.M)(nr=>{throw nr}))),(0,be.j)(()=>{!De&&!pr&&this.cancelNavigationTransition(Vt,"",Ot.SupersededByNewNavigation),this.currentTransition?.id===Vt.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,Pt.W)(nr=>{if(pr=!0,Ds(nr))this.events.next(new He(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),nr.message,nr.cancellationCode)),function Bs(R){return Ds(R)&&Je(R.url)}(nr)?this.events.next(new Fo(nr.url,nr.navigationBehaviorOptions)):Vt.resolve(!1);else{const uo=new ur(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),nr,Vt.targetSnapshot??void 0);try{const un=(0,n.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(uo));if(!(un instanceof Cs))throw this.events.next(uo),nr;{const{message:Io,cancellationCode:Gn}=Ua(0,un);this.events.next(new He(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),Io,Gn)),this.events.next(new Fo(un.redirectTo,un.navigationBehaviorOptions))}}catch(un){this.options.resolveNavigationPromiseOnError?Vt.resolve(!1):Vt.reject(un)}}return q.w}))}))}cancelNavigationTransition(F,K,gt){const Vt=new He(F.id,this.urlSerializer.serialize(F.extractedUrl),K,gt);this.events.next(Vt),F.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const F=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),K=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return F.toString()!==K?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(K){return new(K||R)};static \u0275prov=n.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})();function Tt(R){return R!==Jt}let rt=(()=>{class R{static \u0275fac=function(K){return new(K||R)};static \u0275prov=n.jDH({token:R,factory:()=>(0,n.WQX)(xe),providedIn:"root"})}return R})();class mt{shouldDetach(G){return!1}store(G,F){}shouldAttach(G){return!1}retrieve(G){return null}shouldReuseRoute(G,F){return G.routeConfig===F.routeConfig}}let xe=(()=>{class R extends mt{static \u0275fac=(()=>{let F;return function(gt){return(F||(F=n.xGo(R)))(gt||R)}})();static \u0275prov=n.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})(),Ge=(()=>{class R{static \u0275fac=function(K){return new(K||R)};static \u0275prov=n.jDH({token:R,factory:()=>(0,n.WQX)(Br),providedIn:"root"})}return R})(),Br=(()=>{class R extends Ge{location=(0,n.WQX)(ct.aZ);urlSerializer=(0,n.WQX)(ue);options=(0,n.WQX)(Qn,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=(0,n.WQX)(Zs);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new At;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=Xi(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(F){return this.location.subscribe(K=>{"popstate"===K.type&&F(K.url,K.state)})}handleRouterEvent(F,K){if(F instanceof ft)this.stateMemento=this.createStateMemento();else if(F instanceof Me)this.rawUrlTree=K.initialUrl;else if(F instanceof Er){if("eager"===this.urlUpdateStrategy&&!K.extras.skipLocationChange){const gt=this.urlHandlingStrategy.merge(K.finalUrl,K.initialUrl);this.setBrowserUrl(K.targetBrowserUrl??gt,K)}}else F instanceof Qo?(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)):F instanceof He&&(F.code===Ot.GuardRejected||F.code===Ot.NoDataFromResolver)?this.restoreHistory(K):F instanceof ur?this.restoreHistory(K,!0):F instanceof Gt&&(this.lastSuccessfulId=F.id,this.currentPageId=this.browserPageId)}setBrowserUrl(F,K){const gt=F instanceof At?this.urlSerializer.serialize(F):F;if(this.location.isCurrentPathEqualTo(gt)||K.extras.replaceUrl){const De={...K.extras.state,...this.generateNgRouterState(K.id,this.browserPageId)};this.location.replaceState(gt,"",De)}else{const Vt={...K.extras.state,...this.generateNgRouterState(K.id,this.browserPageId+1)};this.location.go(gt,"",Vt)}}restoreHistory(F,K=!1){if("computed"===this.canceledNavigationResolution){const Vt=this.currentPageId-this.browserPageId;0!==Vt?this.location.historyGo(Vt):this.currentUrlTree===F.finalUrl&&0===Vt&&(this.resetState(F),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(K&&this.resetState(F),this.resetUrlToCurrentUrlTree())}resetState(F){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,F.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(F,K){return"computed"===this.canceledNavigationResolution?{navigationId:F,\u0275routerPageId:K}:{navigationId:F}}static \u0275fac=(()=>{let F;return function(gt){return(F||(F=n.xGo(R)))(gt||R)}})();static \u0275prov=n.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})();var eo=function(R){return R[R.COMPLETE=0]="COMPLETE",R[R.FAILED=1]="FAILED",R[R.REDIRECTING=2]="REDIRECTING",R}(eo||{});function dn(R,G){R.events.pipe((0,yt.p)(F=>F instanceof Gt||F instanceof He||F instanceof ur||F instanceof Me),(0,pt.T)(F=>F instanceof Gt||F instanceof Me?eo.COMPLETE:F instanceof He&&(F.code===Ot.Redirect||F.code===Ot.SupersededByNewNavigation)?eo.REDIRECTING:eo.FAILED),(0,yt.p)(F=>F!==eo.REDIRECTING),(0,Et.s)(1)).subscribe(()=>{G()})}const Dn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},No={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ln=(()=>{class R{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,n.WQX)(n.H3F);stateManager=(0,n.WQX)(Ge);options=(0,n.WQX)(Qn,{optional:!0})||{};pendingTasks=(0,n.WQX)(n.TgB);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,n.WQX)(U);urlSerializer=(0,n.WQX)(ue);location=(0,n.WQX)(ct.aZ);urlHandlingStrategy=(0,n.WQX)(Zs);_events=new J.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,n.WQX)(rt);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,n.WQX)(Kn,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,n.WQX)(Aa,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:F=>{this.console.warn(F)}}),this.subscribeToNavigationEvents()}eventsSubscription=new ht.yU;subscribeToNavigationEvents(){const F=this.navigationTransitions.events.subscribe(K=>{try{const gt=this.navigationTransitions.currentTransition,Vt=this.navigationTransitions.currentNavigation;if(null!==gt&&null!==Vt)if(this.stateManager.handleRouterEvent(K,Vt),K instanceof He&&K.code!==Ot.Redirect&&K.code!==Ot.SupersededByNewNavigation)this.navigated=!0;else if(K instanceof Gt)this.navigated=!0;else if(K instanceof Fo){const De=K.navigationBehaviorOptions,pr=this.urlHandlingStrategy.merge(K.url,gt.currentRawUrl),nr={browserUrl:gt.extras.browserUrl,info:gt.extras.info,skipLocationChange:gt.extras.skipLocationChange,replaceUrl:gt.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Tt(gt.source),...De};this.scheduleNavigation(pr,Jt,null,nr,{resolve:gt.resolve,reject:gt.reject,promise:gt.promise})}(function xn(R){return!(R instanceof Qo||R instanceof Fo)})(K)&&this._events.next(K)}catch(gt){this.navigationTransitions.transitionAbortSubject.next(gt)}});this.eventsSubscription.add(F)}resetRootComponentType(F){this.routerState.root.component=F,this.navigationTransitions.rootComponentType=F}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Jt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((F,K)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(F,"popstate",K)},0)})}navigateToSyncWithBrowser(F,K,gt){const Vt={replaceUrl:!0},De=gt?.navigationId?gt:null;if(gt){const nr={...gt};delete nr.navigationId,delete nr.\u0275routerPageId,0!==Object.keys(nr).length&&(Vt.state=nr)}const pr=this.parseUrl(F);this.scheduleNavigation(pr,K,De,Vt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(F){this.config=F.map(Bn),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(F,K={}){const{relativeTo:gt,queryParams:Vt,fragment:De,queryParamsHandling:pr,preserveFragment:nr}=K,uo=nr?this.currentUrlTree.fragment:De;let Io,un=null;switch(pr??this.options.defaultQueryParamsHandling){case"merge":un={...this.currentUrlTree.queryParams,...Vt};break;case"preserve":un=this.currentUrlTree.queryParams;break;default:un=Vt||null}null!==un&&(un=this.removeEmptyProps(un));try{Io=te(gt?gt.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof F[0]||"/"!==F[0][0])&&(F=[]),Io=this.currentUrlTree.root}return Re(Io,F,un,uo??null)}navigateByUrl(F,K={skipLocationChange:!1}){const gt=Je(F)?F:this.parseUrl(F),Vt=this.urlHandlingStrategy.merge(gt,this.rawUrlTree);return this.scheduleNavigation(Vt,Jt,null,K)}navigate(F,K={skipLocationChange:!1}){return function nn(R){for(let G=0;G(null!=Vt&&(K[gt]=Vt),K),{})}scheduleNavigation(F,K,gt,Vt,De){if(this.disposed)return Promise.resolve(!1);let pr,nr,uo;De?(pr=De.resolve,nr=De.reject,uo=De.promise):uo=new Promise((Io,Gn)=>{pr=Io,nr=Gn});const un=this.pendingTasks.add();return dn(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(un))}),this.navigationTransitions.handleNavigationRequest({source:K,restoredState:gt,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:F,extras:Vt,resolve:pr,reject:nr,promise:uo,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),uo.catch(Io=>Promise.reject(Io))}static \u0275fac=function(K){return new(K||R)};static \u0275prov=n.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})(),ya=(()=>{class R{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new J.B;constructor(F,K,gt,Vt,De,pr){this.router=F,this.route=K,this.tabIndexAttribute=gt,this.renderer=Vt,this.el=De,this.locationStrategy=pr;const nr=De.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===nr||"area"===nr,this.isAnchorElement?this.subscription=F.events.subscribe(uo=>{uo instanceof Gt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(F){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",F)}ngOnChanges(F){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(F){null==F?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=Je(F)||Array.isArray(F)?F:[F],this.setTabIndexIfNotOnNativeEl("0"))}onClick(F,K,gt,Vt,De){const pr=this.urlTree;return!!(null===pr||this.isAnchorElement&&(0!==F||K||gt||Vt||De||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(pr,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const F=this.urlTree;this.href=null!==F&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(F)):null;const K=null===this.href?null:(0,n.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",K)}applyAttributeValue(F,K){const gt=this.renderer,Vt=this.el.nativeElement;null!==K?gt.setAttribute(Vt,F,K):gt.removeAttribute(Vt,F)}get urlTree(){return null===this.routerLinkInput?null:Je(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 \u0275fac=function(K){return new(K||R)(n.rXU(ln),n.rXU(mi),n.kS0("tabindex"),n.rXU(n.sFG),n.rXU(n.aKT),n.rXU(ct.hb))};static \u0275dir=n.FsC({type:R,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(K,gt){1&K&&n.bIt("click",function(De){return gt.onClick(De.button,De.ctrlKey,De.shiftKey,De.altKey,De.metaKey)}),2&K&&n.BMQ("target",gt.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",n.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",n.L39],replaceUrl:[2,"replaceUrl","replaceUrl",n.L39],routerLink:"routerLink"},features:[n.GFd,n.OA$]})}return R})(),Ni=(()=>{class R{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new n.bkB;constructor(F,K,gt,Vt,De){this.router=F,this.element=K,this.renderer=gt,this.cdr=Vt,this.link=De,this.routerEventsSubscription=F.events.subscribe(pr=>{pr instanceof Gt&&this.update()})}ngAfterContentInit(){(0,y.of)(this.links.changes,(0,y.of)(null)).pipe((0,Fe.U)()).subscribe(F=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const F=[...this.links.toArray(),this.link].filter(K=>!!K).map(K=>K.onChanges);this.linkInputChangesSubscription=(0,l.H)(F).pipe((0,Fe.U)()).subscribe(K=>{this._isActive!==this.isLinkActive(this.router)(K)&&this.update()})}set routerLinkActive(F){const K=Array.isArray(F)?F:F.split(" ");this.classes=K.filter(gt=>!!gt)}ngOnChanges(F){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const F=this.hasActiveLinks();this.classes.forEach(K=>{F?this.renderer.addClass(this.element.nativeElement,K):this.renderer.removeClass(this.element.nativeElement,K)}),F&&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!==F&&(this._isActive=F,this.cdr.markForCheck(),this.isActiveChange.emit(F))})}isLinkActive(F){const K=function hs(R){return!!R.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return gt=>{const Vt=gt.urlTree;return!!Vt&&F.isActive(Vt,K)}}hasActiveLinks(){const F=this.isLinkActive(this.router);return this.link&&F(this.link)||this.links.some(F)}static \u0275fac=function(K){return new(K||R)(n.rXU(ln),n.rXU(n.aKT),n.rXU(n.sFG),n.rXU(n.gRc),n.rXU(ya,8))};static \u0275dir=n.FsC({type:R,selectors:[["","routerLinkActive",""]],contentQueries:function(K,gt,Vt){if(1&K&&n.wni(Vt,ya,5),2&K){let De;n.mGM(De=n.lsd())&&(gt.links=De)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[n.OA$]})}return R})();class Yi{}let As=(()=>{class R{router;injector;preloadingStrategy;loader;subscription;constructor(F,K,gt,Vt,De){this.router=F,this.injector=gt,this.preloadingStrategy=Vt,this.loader=De}setUpPreloading(){this.subscription=this.router.events.pipe((0,yt.p)(F=>F instanceof Gt),(0,st.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(F,K){const gt=[];for(const Vt of K){Vt.providers&&!Vt._injector&&(Vt._injector=(0,n.Ol2)(Vt.providers,F,`Route: ${Vt.path}`));const De=Vt._injector??F,pr=Vt._loadedInjector??De;(Vt.loadChildren&&!Vt._loadedRoutes&&void 0===Vt.canLoad||Vt.loadComponent&&!Vt._loadedComponent)&>.push(this.preloadConfig(De,Vt)),(Vt.children||Vt._loadedRoutes)&>.push(this.processRoutes(pr,Vt.children??Vt._loadedRoutes))}return(0,l.H)(gt).pipe((0,Fe.U)())}preloadConfig(F,K){return this.preloadingStrategy.preload(K,()=>{let gt;gt=K.loadChildren&&void 0===K.canLoad?this.loader.loadChildren(F,K):(0,y.of)(null);const Vt=gt.pipe((0,_t.Z)(De=>null===De?(0,y.of)(void 0):(K._loadedRoutes=De.routes,K._loadedInjector=De.injector,this.processRoutes(De.injector??F,De.routes))));if(K.loadComponent&&!K._loadedComponent){const De=this.loader.loadComponent(K);return(0,l.H)([Vt,De]).pipe((0,Fe.U)())}return Vt})}static \u0275fac=function(K){return new(K||R)(n.KVO(ln),n.KVO(n.Ql9),n.KVO(n.uvJ),n.KVO(Yi),n.KVO(ri))};static \u0275prov=n.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})();const Ts=new n.nKC("");let qs=(()=>{class R{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(F,K,gt,Vt,De={}){this.urlSerializer=F,this.transitions=K,this.viewportScroller=gt,this.zone=Vt,this.options=De,De.scrollPositionRestoration||="disabled",De.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(F=>{F instanceof ft?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=F.navigationTrigger,this.restoredId=F.restoredState?F.restoredState.navigationId:0):F instanceof Gt?(this.lastId=F.id,this.scheduleScrollEvent(F,this.urlSerializer.parse(F.urlAfterRedirects).fragment)):F instanceof Me&&F.code===me.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(F,this.urlSerializer.parse(F.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(F=>{F instanceof Ro&&(F.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(F.position):F.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(F.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(F,K){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ro(F,"popstate"===this.lastSource?this.store[this.restoredId]:null,K))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(K){n.QTQ()};static \u0275prov=n.jDH({token:R,factory:R.\u0275fac})}return R})();function id(R,...G){return(0,n.EmA)([{provide:Kn,multi:!0,useValue:R},[],{provide:mi,useFactory:Ms,deps:[ln]},{provide:n.iLQ,multi:!0,useFactory:hl},G.map(F=>F.\u0275providers)])}function Ms(R){return R.routerState.root}function Is(R,G){return{\u0275kind:R,\u0275providers:G}}function zc(R={}){return Is(4,[{provide:Ts,useFactory:()=>{const F=(0,n.WQX)(ct.Xr),K=(0,n.WQX)(n.SKi),gt=(0,n.WQX)(U),Vt=(0,n.WQX)(ue);return new qs(Vt,gt,F,K,R)}}])}function hl(){const R=(0,n.WQX)(n.zZn);return G=>{const F=R.get(n.o8S);if(G!==F.components[0])return;const K=R.get(ln),gt=R.get(hc);1===R.get(wi)&&K.initialNavigation(),R.get(gl,null,n.$GK.Optional)?.setUpPreloading(),R.get(Ts,null,n.$GK.Optional)?.init(),K.resetRootComponentType(F.componentTypes[0]),gt.closed||(gt.next(),gt.complete(),gt.unsubscribe())}}const hc=new n.nKC("",{factory:()=>new J.B}),wi=new n.nKC("",{providedIn:"root",factory:()=>1}),gl=new n.nKC("");function cd(R){return Is(0,[{provide:gl,useExisting:As},{provide:Yi,useExisting:R}])}function $o(R){return Is(9,[{provide:bi,useValue:Va},{provide:Cn,useValue:{skipNextTransition:!!R?.skipInitialTransition,...R}}])}const Ha=new n.nKC("ROUTER_FORROOT_GUARD"),Wc=[ct.aZ,{provide:ue,useClass:he},ln,Gi,{provide:mi,useFactory:Ms,deps:[ln]},ri,[]];let zs=(()=>{class R{constructor(F){}static forRoot(F,K){return{ngModule:R,providers:[Wc,[],{provide:Kn,multi:!0,useValue:F},{provide:Ha,useFactory:gc,deps:[[ln,new n.Xx1,new n.kdw]]},K?.errorHandler?{provide:Un,useValue:K.errorHandler}:[],{provide:Qn,useValue:K||{}},K?.useHash?{provide:ct.hb,useClass:ct.fw}:{provide:ct.hb,useClass:ct.Sm},{provide:Ts,useFactory:()=>{const R=(0,n.WQX)(ct.Xr),G=(0,n.WQX)(n.SKi),F=(0,n.WQX)(Qn),K=(0,n.WQX)(U),gt=(0,n.WQX)(ue);return F.scrollOffset&&R.setOffset(F.scrollOffset),new qs(gt,K,R,G,F)}},K?.preloadingStrategy?cd(K.preloadingStrategy).\u0275providers:[],K?.initialNavigation?bu(K):[],K?.bindToComponentInputs?Is(8,[Na,{provide:Aa,useExisting:Na}]).\u0275providers:[],K?.enableViewTransitions?$o().\u0275providers:[],[{provide:ld,useFactory:hl},{provide:n.iLQ,multi:!0,useExisting:ld}]]}}static forChild(F){return{ngModule:R,providers:[{provide:Kn,multi:!0,useValue:F}]}}static \u0275fac=function(K){return new(K||R)(n.KVO(Ha,8))};static \u0275mod=n.$C({type:R});static \u0275inj=n.G2t({})}return R})();function gc(R){return"guarded"}function bu(R){return["disabled"===R.initialNavigation?Is(3,[{provide:n.hnV,multi:!0,useFactory:()=>{const G=(0,n.WQX)(ln);return()=>{G.setUpLocationChangeListener()}}},{provide:wi,useValue:2}]).\u0275providers:[],"enabledBlocking"===R.initialNavigation?Is(2,[{provide:wi,useValue:0},{provide:n.hnV,multi:!0,deps:[n.zZn],useFactory:G=>{const F=G.get(ct.hj,Promise.resolve());return()=>F.then(()=>new Promise(K=>{const gt=G.get(ln),Vt=G.get(hc);dn(gt,()=>{K(!0)}),G.get(U).afterPreactivation=()=>(K(!0),Vt.closed?(0,y.of)(void 0):Vt),gt.initialNavigation()}))}}]).\u0275providers:[]]}const ld=new n.nKC("")},4143:(__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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(3014),_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_awaitAsyncGenerator_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(5137),_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_wrapAsyncGenerator_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(9129),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,s)=>{for(var o in s)__defProp$1(i,o,{get:s[o],enumerable:!0})},hostRefs=new WeakMap,getHostRef=i=>hostRefs.get(i),registerHost=(i,s)=>hostRefs.set(i,{$flags$:0,$hostElement$:i,$cmpMeta$:s,$instanceValues$:new Map}),isMemberInElement=(i,s)=>s in i,consoleError=(i,s)=>(0,console.error)(i,s),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,s,o,n)=>i.addEventListener(s,o,n),rel:(i,s,o,n)=>i.removeEventListener(s,o,n),ce:(i,s)=>new CustomEvent(i,s)},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,s)=>o=>{i.push(o),queuePending||(queuePending=!0,s&&4&plt.$flags$?nextTick(flush):plt.raf(flush))},consume=i=>{for(let s=0;s{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 s,o,n;return null!=(n=null==(o=null==(s=i.head)?void 0:s.querySelector('meta[name="csp-nonce"]'))?void 0:o.getAttribute("content"))?n: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,s){if(i.isOk){const o=s(i.value);return o instanceof Promise?o.then(n=>ok(n)):ok(o)}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,s="")=>()=>{},h=(i,s,...o)=>{let n=null,a=null,l=null,y=!1,k=!1;const C=[],A=T=>{for(let O=0;OT[O]).join(" "))}}if("function"==typeof i)return i(null===s?{}:s,C,vdomFnUtils);const S=newVNode(i,null);return S.$attrs$=s,C.length>0&&(S.$children$=C),S.$key$=a,S.$name$=l,S},newVNode=(i,s)=>({$flags$:0,$tag$:i,$text$:s,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),Host={},isHost=i=>i&&i.$tag$===Host,vdomFnUtils={forEach:(i,s)=>i.map(convertToPublic).forEach(s),map:(i,s)=>i.map(convertToPublic).map(s).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 o={...i.vattrs};return i.vkey&&(o.key=i.vkey),i.vname&&(o.name=i.vname),h(i.vtag,o,...i.vchildren||[])}const s=newVNode(i.vtag,i.vtext);return s.$attrs$=i.vattrs,s.$children$=i.vchildren,s.$key$=i.vkey,s.$name$=i.vname,s},computeMode=i=>modeResolutionChain.map(s=>s(i)).find(s=>!!s),parsePropertyValue=(i,s)=>null==i||isComplexType(i)?i:4&s?"false"!==i&&(""===i||!!i):2&s?parseFloat(i):1&s?String(i):i,getElement=i=>i,createEvent=(i,s,o)=>{const n=getElement(i);return{emit:a=>emitEvent(n,s,{bubbles:!!(4&o),composed:!!(2&o),cancelable:!!(1&o),detail:a})}},emitEvent=(i,s,o)=>{const n=plt.ce(s,o);return i.dispatchEvent(n),n},rootAppliedStyles=new WeakMap,registerStyle=(i,s,o)=>{let n=styles.get(i);supportsConstructableStylesheets&&o?(n=n||new CSSStyleSheet,"string"==typeof n?n=s:n.replaceSync(s)):n=s,styles.set(i,n)},addStyle=(i,s,o)=>{var n;const a=getScopeId(s,o),l=styles.get(a);if(i=11===i.nodeType?i:doc,l)if("string"==typeof l){let y,k=rootAppliedStyles.get(i=i.head||i);if(k||rootAppliedStyles.set(i,k=new Set),!k.has(a)){{y=doc.createElement("style"),y.innerHTML=l;const C=null!=(n=plt.$nonce$)?n:queryNonceMetaTagContent(doc);null!=C&&y.setAttribute("nonce",C),(!(1&s.$flags$)||1&s.$flags$&&"HEAD"!==i.nodeName)&&i.insertBefore(y,i.querySelector("link"))}4&s.$flags$&&(y.innerHTML+=SLOT_FB_CSS),k&&k.add(a)}}else i.adoptedStyleSheets.includes(l)||(i.adoptedStyleSheets=[...i.adoptedStyleSheets,l]);return a},attachStyles=i=>{const s=i.$cmpMeta$,o=i.$hostElement$,n=s.$flags$,a=createTime("attachStyles",s.$tagName$),l=addStyle(o.shadowRoot?o.shadowRoot:o.getRootNode(),s,i.$modeName$);10&n&&2&n&&(o["s-sc"]=l,o.classList.add(l+"-h"),2&n&&o.classList.add(l+"-s")),a()},getScopeId=(i,s)=>"sc-"+(s&&32&i.$flags$?i.$tagName$+"-"+s:i.$tagName$),setAccessor=(i,s,o,n,a,l)=>{if(o!==n){let y=isMemberInElement(i,s),k=s.toLowerCase();if("class"===s){const C=i.classList,A=parseClassList(o),S=parseClassList(n);C.remove(...A.filter(T=>T&&!S.includes(T))),C.add(...S.filter(T=>T&&!A.includes(T)))}else if("style"===s){for(const C in o)n&&null!=n[C]||(C.includes("-")?i.style.removeProperty(C):i.style[C]="");for(const C in n)o&&n[C]===o[C]||(C.includes("-")?i.style.setProperty(C,n[C]):i.style[C]=n[C])}else if("key"!==s)if("ref"===s)n&&n(i);else if(i.__lookupSetter__(s)||"o"!==s[0]||"n"!==s[1]){const C=isComplexType(n);if((y||C&&null!==n)&&!a)try{if(i.tagName.includes("-"))i[s]=n;else{const S=n??"";"list"===s?y=!1:null!=o&&i[s]==S||(i[s]=S)}}catch{}let A=!1;k!==(k=k.replace(/^xlink\:?/,""))&&(s=k,A=!0),null==n||!1===n?!1===n&&""!==i.getAttribute(s)||(A?i.removeAttributeNS(XLINK_NS,s):i.removeAttribute(s)):(!y||4&l||a)&&!C&&(n=!0===n?"":n,A?i.setAttributeNS(XLINK_NS,s,n):i.setAttribute(s,n))}else if(s="-"===s[2]?s.slice(3):isMemberInElement(win,k)?k.slice(2):k[2]+s.slice(3),o||n){const C=s.endsWith(CAPTURE_EVENT_SUFFIX);s=s.replace(CAPTURE_EVENT_REGEX,""),o&&plt.rel(i,s,o,C),n&&plt.ael(i,s,n,C)}}},parseClassListRegex=/\s/,parseClassList=i=>i?i.split(parseClassListRegex):[],CAPTURE_EVENT_SUFFIX="Capture",CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$"),updateElement=(i,s,o)=>{const n=11===s.$elm$.nodeType&&s.$elm$.host?s.$elm$.host:s.$elm$,a=i&&i.$attrs$||EMPTY_OBJ,l=s.$attrs$||EMPTY_OBJ;for(const y of sortedAttrNames(Object.keys(a)))y in l||setAccessor(n,y,a[y],void 0,o,s.$flags$);for(const y of sortedAttrNames(Object.keys(l)))setAccessor(n,y,a[y],l[y],o,s.$flags$)},scopeId,contentRef,hostTagName;function sortedAttrNames(i){return i.includes("ref")?[...i.filter(s=>"ref"!==s),"ref"]:i}var useNativeShadowDom=!1,checkSlotFallbackVisibility=!1,checkSlotRelocate=!1,isSvgMode=!1,createElm=(i,s,o,n)=>{var a;const l=s.$children$[o];let y,k,C,A=0;if(useNativeShadowDom||(checkSlotRelocate=!0,"slot"===l.$tag$&&(scopeId&&n.classList.add(scopeId+"-s"),l.$flags$|=l.$children$?2:1)),null!==l.$text$)y=l.$elm$=doc.createTextNode(l.$text$);else if(1&l.$flags$)y=l.$elm$=doc.createTextNode("");else{if(isSvgMode||(isSvgMode="svg"===l.$tag$),y=l.$elm$=doc.createElementNS(isSvgMode?SVG_NS:HTML_NS,!useNativeShadowDom&&BUILD.slotRelocation&&2&l.$flags$?"slot-fb":l.$tag$),isSvgMode&&"foreignObject"===l.$tag$&&(isSvgMode=!1),updateElement(null,l,isSvgMode),y.getRootNode().querySelector("body")&&BUILD.scoped&&isDef(scopeId)&&y["s-si"]!==scopeId&&y.classList.add(y["s-si"]=scopeId),updateElementScopeIds(y,n),l.$children$)for(A=0;A{plt.$flags$|=1;const o=Array.from(i.childNodes);if(i["s-sr"]&&BUILD.experimentalSlotFixes){let n=i;for(;n=n.nextSibling;)n&&n["s-sn"]===i["s-sn"]&&n["s-sh"]===hostTagName&&o.push(n)}for(let n=o.length-1;n>=0;n--){const a=o[n];a["s-hn"]!==hostTagName&&a["s-ol"]&&(insertBefore(parentReferenceNode(a),a,referenceNode(a)),a["s-ol"].remove(),a["s-ol"]=void 0,a["s-sh"]=void 0,checkSlotRelocate=!0),s&&putBackInOriginalLocation(a,s)}plt.$flags$&=-2},addVnodes=(i,s,o,n,a,l)=>{let y,k=i["s-cr"]&&i["s-cr"].parentNode||i;for(k.shadowRoot&&k.tagName===hostTagName&&(k=k.shadowRoot);a<=l;++a)n[a]&&(y=createElm(null,o,a,i),y&&(n[a].$elm$=y,insertBefore(k,y,referenceNode(s))))},removeVnodes=(i,s,o)=>{for(let n=s;n<=o;++n){const a=i[n];if(a){const l=a.$elm$;nullifyVNodeRefs(a),l&&(checkSlotFallbackVisibility=!0,l["s-ol"]?l["s-ol"].remove():putBackInOriginalLocation(l,!0),l.remove())}}},updateChildren=(i,s,o,n,a=!1)=>{let l,y,k=0,C=0,A=0,S=0,T=s.length-1,O=s[0],P=s[T],q=n.length-1,X=n[0],J=n[q];for(;k<=T&&C<=q;)if(null==O)O=s[++k];else if(null==P)P=s[--T];else if(null==X)X=n[++C];else if(null==J)J=n[--q];else if(isSameVnode(O,X,a))patch(O,X,a),O=s[++k],X=n[++C];else if(isSameVnode(P,J,a))patch(P,J,a),P=s[--T],J=n[--q];else if(isSameVnode(O,J,a))"slot"!==O.$tag$&&"slot"!==J.$tag$||putBackInOriginalLocation(O.$elm$.parentNode,!1),patch(O,J,a),insertBefore(i,O.$elm$,P.$elm$.nextSibling),O=s[++k],J=n[--q];else if(isSameVnode(P,X,a))"slot"!==O.$tag$&&"slot"!==J.$tag$||putBackInOriginalLocation(P.$elm$.parentNode,!1),patch(P,X,a),insertBefore(i,P.$elm$,O.$elm$),P=s[--T],X=n[++C];else{for(A=-1,S=k;S<=T;++S)if(s[S]&&null!==s[S].$key$&&s[S].$key$===X.$key$){A=S;break}A>=0?(y=s[A],y.$tag$!==X.$tag$?l=createElm(s&&s[C],o,A,i):(patch(y,X,a),s[A]=void 0,l=y.$elm$),X=n[++C]):(l=createElm(s&&s[C],o,C,i),X=n[++C]),l&&insertBefore(parentReferenceNode(O.$elm$),l,referenceNode(O.$elm$))}k>T?addVnodes(i,null==n[q+1]?null:n[q+1].$elm$,o,n,C,q):C>q&&removeVnodes(s,k,T)},isSameVnode=(i,s,o=!1)=>!(i.$tag$!==s.$tag$||("slot"===i.$tag$?"$nodeId$"in i&&o&&8!==i.$elm$.nodeType||i.$name$!==s.$name$:!o&&i.$key$!==s.$key$)),referenceNode=i=>i&&i["s-ol"]||i,parentReferenceNode=i=>(i["s-ol"]?i["s-ol"]:i).parentNode,patch=(i,s,o=!1)=>{const n=s.$elm$=i.$elm$,a=i.$children$,l=s.$children$,y=s.$tag$,k=s.$text$;let C;null===k?(isSvgMode="svg"===y||"foreignObject"!==y&&isSvgMode,("slot"!==y||useNativeShadowDom)&&updateElement(i,s,isSvgMode),null!==a&&null!==l?updateChildren(n,a,s,l,o):null!==l?(null!==i.$text$&&(n.textContent=""),addVnodes(n,null,s,l,0,l.length-1)):!o&&BUILD.updatable&&null!==a&&removeVnodes(a,0,a.length-1),isSvgMode&&"svg"===y&&(isSvgMode=!1)):(C=n["s-cr"])?C.parentNode.textContent=k:i.$text$!==k&&(n.data=k)},updateFallbackSlotVisibility=i=>{const s=i.childNodes;for(const o of s)if(1===o.nodeType){if(o["s-sr"]){const n=o["s-sn"];o.hidden=!1;for(const a of s)if(a!==o)if(a["s-hn"]!==o["s-hn"]||""!==n){if(1===a.nodeType&&(n===a.getAttribute("slot")||n===a["s-sn"])||3===a.nodeType&&n===a["s-sn"]){o.hidden=!0;break}}else if(1===a.nodeType||3===a.nodeType&&""!==a.textContent.trim()){o.hidden=!0;break}}updateFallbackSlotVisibility(o)}},relocateNodes=[],markSlotContentForRelocation=i=>{let s,o,n;for(const a of i.childNodes){if(a["s-sr"]&&(s=a["s-cr"])&&s.parentNode){o=s.parentNode.childNodes;const l=a["s-sn"];for(n=o.length-1;n>=0;n--)if(s=o[n],!s["s-cn"]&&!s["s-nr"]&&s["s-hn"]!==a["s-hn"]&&!BUILD.experimentalSlotFixes)if(isNodeLocatedInSlot(s,l)){let y=relocateNodes.find(k=>k.$nodeToRelocate$===s);checkSlotFallbackVisibility=!0,s["s-sn"]=s["s-sn"]||l,y?(y.$nodeToRelocate$["s-sh"]=a["s-hn"],y.$slotRefNode$=a):(s["s-sh"]=a["s-hn"],relocateNodes.push({$slotRefNode$:a,$nodeToRelocate$:s})),s["s-sr"]&&relocateNodes.map(k=>{isNodeLocatedInSlot(k.$nodeToRelocate$,s["s-sn"])&&(y=relocateNodes.find(C=>C.$nodeToRelocate$===s),y&&!k.$slotRefNode$&&(k.$slotRefNode$=y.$slotRefNode$))})}else relocateNodes.some(y=>y.$nodeToRelocate$===s)||relocateNodes.push({$nodeToRelocate$:s})}1===a.nodeType&&markSlotContentForRelocation(a)}},isNodeLocatedInSlot=(i,s)=>1===i.nodeType?null===i.getAttribute("slot")&&""===s||i.getAttribute("slot")===s:i["s-sn"]===s||""===s,nullifyVNodeRefs=i=>{i.$attrs$&&i.$attrs$.ref&&i.$attrs$.ref(null),i.$children$&&i.$children$.map(nullifyVNodeRefs)},insertBefore=(i,s,o)=>{const n=i?.insertBefore(s,o);return updateElementScopeIds(s,i),n},findScopeIds=i=>{const s=[];return i&&s.push(...i["s-scs"]||[],i["s-si"],i["s-sc"],...findScopeIds(i.parentElement)),s},updateElementScopeIds=(i,s,o=!1)=>{var n;if(i&&s&&1===i.nodeType){const a=new Set(findScopeIds(s).filter(Boolean));if(a.size&&(null==(n=i.classList)||n.add(...i["s-scs"]=[...a]),i["s-ol"]||o))for(const l of Array.from(i.childNodes))updateElementScopeIds(l,i,!0)}},renderVdom=(i,s,o=!1)=>{var n,a,l,y,k;const C=i.$hostElement$,A=i.$cmpMeta$,S=i.$vnode$||newVNode(null,null),T=isHost(s)?s:h(null,null,s);if(hostTagName=C.tagName,A.$attrsToReflect$&&(T.$attrs$=T.$attrs$||{},A.$attrsToReflect$.map(([O,P])=>T.$attrs$[P]=C[O])),o&&T.$attrs$)for(const O of Object.keys(T.$attrs$))C.hasAttribute(O)&&!["key","ref","style","class"].includes(O)&&(T.$attrs$[O]=C[O]);if(T.$tag$=null,T.$flags$|=4,i.$vnode$=T,T.$elm$=S.$elm$=C.shadowRoot||C,scopeId=C["s-sc"],useNativeShadowDom=!!(1&A.$flags$),contentRef=C["s-cr"],checkSlotFallbackVisibility=!1,patch(S,T,o),plt.$flags$|=1,checkSlotRelocate){markSlotContentForRelocation(T.$elm$);for(const O of relocateNodes){const P=O.$nodeToRelocate$;if(!P["s-ol"]){const q=doc.createTextNode("");q["s-nr"]=P,insertBefore(P.parentNode,P["s-ol"]=q,P)}}for(const O of relocateNodes){const P=O.$nodeToRelocate$,q=O.$slotRefNode$;if(q){const X=q.parentNode;let J=q.nextSibling;{let ht=null==(n=P["s-ol"])?void 0:n.previousSibling;for(;ht;){let ct=null!=(a=ht["s-nr"])?a:null;if(ct&&ct["s-sn"]===P["s-sn"]&&X===ct.parentNode){for(ct=ct.nextSibling;ct===P||ct?.["s-sr"];)ct=ct?.nextSibling;if(!ct||!ct["s-nr"]){J=ct;break}}ht=ht.previousSibling}}(!J&&X!==P.parentNode||P.nextSibling!==J)&&P!==J&&(!P["s-hn"]&&P["s-ol"]&&(P["s-hn"]=P["s-ol"].parentNode.nodeName),insertBefore(X,P,J),1===P.nodeType&&(P.hidden=null!=(l=P["s-ih"])&&l)),P&&"function"==typeof q["s-rf"]&&q["s-rf"](P)}else 1===P.nodeType&&(o&&(P["s-ih"]=null!=(y=P.hidden)&&y),P.hidden=!0)}}if(checkSlotFallbackVisibility&&updateFallbackSlotVisibility(T.$elm$),plt.$flags$&=-2,relocateNodes.length=0,BUILD.experimentalScopedSlotChanges&&2&A.$flags$)for(const O of T.$elm$.childNodes)O["s-hn"]===hostTagName||O["s-sh"]||(o&&null==O["s-ih"]&&(O["s-ih"]=null!=(k=O.hidden)&&k),O.hidden=!0);contentRef=void 0},attachToAncestor=(i,s)=>{},scheduleUpdate=(i,s)=>(i.$flags$|=16,attachToAncestor(i,i.$ancestorComponent$),writeTask(()=>dispatchHooks(i,s))),dispatchHooks=(i,s)=>{const o=i.$hostElement$,n=createTime("scheduleUpdate",i.$cmpMeta$.$tagName$),a=o;if(!a)throw new Error(`Can't render component <${o.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 l;return l=safeCall(a,s?"componentWillLoad":"componentWillUpdate"),l=enqueue(l,()=>safeCall(a,"componentWillRender")),n(),enqueue(l,()=>updateComponent(i,a,s))},enqueue=(i,s)=>isPromisey(i)?i.then(s).catch(o=>{console.error(o),s()}):s(),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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s,o,n){const a=s.$hostElement$,l=createTime("update",s.$cmpMeta$.$tagName$);n&&attachStyles(s);const y=createTime("render",s.$cmpMeta$.$tagName$);callRender(s,o,a,n),y(),l(),postUpdateComponent(s)});return function(o,n,a){return i.apply(this,arguments)}}(),renderingRef=null,callRender=(i,s,o,n)=>{try{renderingRef=s,s=s.render&&s.render(),i.$flags$&=-17,i.$flags$|=2,(BUILD.hasRenderFn||BUILD.reflect)&&(BUILD.vdomRender||BUILD.reflect)&&(BUILD.hydrateServerSide||renderVdom(i,s,n))}catch(a){consoleError(a,i.$hostElement$)}return renderingRef=null,null},getRenderingRef=()=>renderingRef,postUpdateComponent=i=>{const o=i.$hostElement$,n=createTime("postUpdate",i.$cmpMeta$.$tagName$),a=o;safeCall(a,"componentDidRender"),64&i.$flags$?(safeCall(a,"componentDidUpdate"),n()):(i.$flags$|=64,safeCall(a,"componentDidLoad"),n())},forceUpdate=i=>{{const s=getHostRef(i),o=s.$hostElement$.isConnected;return o&&2==(18&s.$flags$)&&scheduleUpdate(s,!1),o}},safeCall=(i,s,o)=>{if(i&&i[s])try{return i[s](o)}catch(n){consoleError(n)}},getValue=(i,s)=>getHostRef(i).$instanceValues$.get(s),setValue=(i,s,o,n)=>{const a=getHostRef(i),l=i,y=a.$instanceValues$.get(s),k=a.$flags$,C=l;o=parsePropertyValue(o,n.$members$[s][0]);const A=Number.isNaN(y)&&Number.isNaN(o);if(o!==y&&!A){if(a.$instanceValues$.set(s,o),n.$watchers$&&128&k){const S=n.$watchers$[s];S&&S.map(T=>{try{C[T](o,y,s)}catch(O){consoleError(O,l)}})}if(2==(18&k)){if(C.componentShouldUpdate&&!1===C.componentShouldUpdate(o,y,s))return;scheduleUpdate(a,!1)}}},proxyComponent=(i,s,o)=>{var n,a;const l=i.prototype;if(s.$members$||s.$watchers$||i.watchers){i.watchers&&!s.$watchers$&&(s.$watchers$=i.watchers);const y=Object.entries(null!=(n=s.$members$)?n:{});y.map(([k,[C]])=>{(31&C||32&C)&&Object.defineProperty(l,k,{get(){return getValue(this,k)},set(A){setValue(this,k,A,s)},configurable:!0,enumerable:!0})});{const k=new Map;l.attributeChangedCallback=function(C,A,S){plt.jmp(()=>{var T;const O=k.get(C);if(this.hasOwnProperty(O))S=this[O],delete this[O];else{if(l.hasOwnProperty(O)&&"number"==typeof this[O]&&this[O]==S)return;if(null==O){const P=getHostRef(this),q=P?.$flags$;if(q&&!(8&q)&&128&q&&S!==A){const X=this,J=null==(T=s.$watchers$)?void 0:T[C];J?.forEach(ht=>{null!=X[ht]&&X[ht].call(X,S,A,C)})}return}}this[O]=(null!==S||"boolean"!=typeof this[O])&&S})},i.observedAttributes=Array.from(new Set([...Object.keys(null!=(a=s.$watchers$)?a:{}),...y.filter(([C,A])=>15&A[0]).map(([C,A])=>{var S;const T=A[1]||C;return k.set(T,C),512&A[0]&&(null==(S=s.$attrsToReflect$)||S.push([C,T])),T})]))}}return i},initializeComponent=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s,o,n,a){let l;if(!(32&o.$flags$)&&(o.$flags$|=32,l=s.constructor,customElements.whenDefined(s.localName).then(()=>o.$flags$|=128),l&&l.style)){let y;"string"==typeof l.style?y=l.style:"string"!=typeof l.style&&(o.$modeName$=computeMode(s),o.$modeName$&&(y=l.style[o.$modeName$]));const k=getScopeId(n,o.$modeName$);if(!styles.has(k)){const C=createTime("registerStyles",n.$tagName$);registerStyle(k,y,!!(1&n.$flags$)),C()}}scheduleUpdate(o,!0)});return function(o,n,a,l){return i.apply(this,arguments)}}(),fireConnectedCallback=i=>{},connectedCallback=i=>{if(!(1&plt.$flags$)){const s=getHostRef(i),o=s.$cmpMeta$,n=createTime("connectedCallback",o.$tagName$);1&s.$flags$?(addHostEventListeners(i,s,o.$listeners$),s?.$lazyInstance$?fireConnectedCallback(s.$lazyInstance$):s?.$onReadyPromise$&&s.$onReadyPromise$.then(()=>fireConnectedCallback(s.$lazyInstance$))):(s.$flags$|=1,12&o.$flags$&&setContentReference(i),o.$members$&&Object.entries(o.$members$).map(([a,[l]])=>{if(31&l&&i.hasOwnProperty(a)){const y=i[a];delete i[a],i[a]=y}}),initializeComponent(i,s,o)),n()}},setContentReference=i=>{const s=i["s-cr"]=doc.createComment("");s["s-cn"]=!0,insertBefore(i,s,i.firstChild)},disconnectedCallback=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s){if(!(1&plt.$flags$)){const o=getHostRef(s);o.$rmListeners$&&(o.$rmListeners$.map(n=>n()),o.$rmListeners$=void 0)}});return function(o){return i.apply(this,arguments)}}(),proxyCustomElement=(i,s)=>{const o={$flags$:s[0],$tagName$:s[1]};o.$members$=s[2],o.$listeners$=s[3],o.$watchers$=i.$watchers$,o.$attrsToReflect$=[];const n=i.prototype.connectedCallback,a=i.prototype.disconnectedCallback;return Object.assign(i.prototype,{__registerHost(){registerHost(this,o)},connectedCallback(){const l=getHostRef(this);addHostEventListeners(this,l,o.$listeners$),connectedCallback(this),n&&n.call(this)},disconnectedCallback(){disconnectedCallback(this),a&&a.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${o.$tagName$}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else this.attachShadow({mode:"open",delegatesFocus:!!(16&o.$flags$)})}}),i.is=o.$tagName$,proxyComponent(i,o)},Fragment=(i,s)=>s,addHostEventListeners=(i,s,o,n)=>{o&&o.map(([a,l,y])=>{const k=getHostListenerTarget(i,a),C=hostListenerProxy(s,y),A=hostListenerOpts(a);plt.ael(k,l,C,A),(s.$rmListeners$=s.$rmListeners$||[]).push(()=>plt.rel(k,l,C,A))})},hostListenerProxy=(i,s)=>o=>{try{BUILD.lazyLoad||i.$hostElement$[s](o)}catch(n){consoleError(n)}},getHostListenerTarget=(i,s)=>4&s?doc:8&s?win:16&s?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,s,o)=>{const n=i.get(s);n?n.includes(o)||n.push(o):i.set(s,[o])},debounce=(i,s)=>{let o;return(...n)=>{o&&clearTimeout(o),o=setTimeout(()=>{o=0,i(...n)},s)}},isConnected=i=>!("isConnected"in i)||i.isConnected,cleanupElements=debounce(i=>{for(let s of i.keys())i.set(s,i.get(s).filter(isConnected))},2e3),stencilSubscription=()=>{if("function"!=typeof getRenderingRef)return{};const i=new Map;return{dispose:()=>i.clear(),get:s=>{const o=getRenderingRef();o&&appendToMap(i,s,o)},set:s=>{const o=i.get(s);o&&i.set(s,o.filter(forceUpdate)),cleanupElements(i)},reset:()=>{i.forEach(s=>s.forEach(forceUpdate)),cleanupElements(i)}}},unwrap=i=>"function"==typeof i?i():i,createObservableMap=(i,s=(o,n)=>o!==n)=>{const o=unwrap(i);let n=new Map(Object.entries(o??{}));const a={dispose:[],get:[],set:[],reset:[]},l=()=>{var S;n=new Map(Object.entries(null!==(S=unwrap(i))&&void 0!==S?S:{})),a.reset.forEach(T=>T())},y=S=>(a.get.forEach(T=>T(S)),n.get(S)),k=(S,T)=>{const O=n.get(S);s(T,O,S)&&(n.set(S,T),a.set.forEach(P=>P(S,T,O)))},C=typeof Proxy>"u"?{}:new Proxy(o,{get:(S,T)=>y(T),ownKeys:S=>Array.from(n.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(S,T)=>n.has(T),set:(S,T,O)=>(k(T,O),!0)}),A=(S,T)=>(a[S].push(T),()=>{removeFromArray(a[S],T)});return{state:C,get:y,set:k,on:A,onChange:(S,T)=>{const O=A("set",(q,X)=>{q===S&&T(X)}),P=A("reset",()=>T(unwrap(i)[S]));return()=>{O(),P()}},use:(...S)=>{const T=S.reduce((O,P)=>(P.set&&O.push(A("set",P.set)),P.get&&O.push(A("get",P.get)),P.reset&&O.push(A("reset",P.reset)),P.dispose&&O.push(A("dispose",P.dispose)),O),[]);return()=>T.forEach(O=>O())},dispose:()=>{a.dispose.forEach(S=>S()),l()},reset:l,forceUpdate:S=>{const T=n.get(S);a.set.forEach(O=>O(S,T,T))}}},removeFromArray=(i,s)=>{const o=i.indexOf(s);o>=0&&(i[o]=i[i.length-1],i.length--)},createStore=(i,s)=>{const o=createObservableMap(i,s);return o.use(stencilSubscription()),o},{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(s=>h("li",null,h("a",{href:s.link,target:"_blank",onClick:()=>this.handleOpenLink(s.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"},s.img?h("img",{class:"w-full rounded-full",src:s.img,alt:s.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"},s.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",s=(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:o=>this.wrapperRef=o},h("button",{key:"e79b850f351172fec8a523a88424882b4bc1c9e0",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:"7224e21928ed0a6075d0f8809973877b8626258e",class:"truncate overflow-hidden"},this.value.name),h("svg",{key:"abcea29a8c905c9eea64162f5a2bfa79c08d3b0b",class:s,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:o=>this.ulRef=o,class:i},this.options.map(o=>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"},o.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 s=this.services.find(o=>o.domain===i.detail);state.nlImport.relay=s.relay,state.nlImport.nostrConnect=s.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_angular_builders_custom_webpack_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(s=>({name:s.domain,value:s.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:s=>this.handleDomainSelect(s),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:s=>this.handleCreateAccount(s),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...",s="Establishing connection to your key storage.";this.path===CURRENT_MODULE.LOCAL_SIGNUP?(i="Creating...",s="Publishing your profile on Nostr."):state.authUrl&&(state.isLoading?(i="Confirming...",s="Please confirm the connection in your key storage app."):(i="Almost ready!",s="Continue to confirm the connection to your key storage."));const o=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"},s),!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)),o&&h("div",{key:"b64c30fff6e6c29db92ec77d574b4908a097dce4",class:"mt-3 ml-auto mr-auto w-72"},h("button-base",{key:"7d51196c3a61860292e95332cc36ea7b90075157",onClick:n=>{state.authUrl&&!state.isLoading?this.handleContinueClick(n):this.handleStop(n)},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="",s="";if("extension"===this.info.authMethod)i="Extension",s="border-yellow-300 text-yellow-500 bg-yellow-100";else if("readOnly"===this.info.authMethod)i="Read only",s="border-gray-300 text-gray-400 bg-gray-100";else if("connect"===this.info.authMethod)i="Connect",s="border-teal-300 text-teal-600 bg-teal-100";else if("local"===this.info.authMethod)i="Temporary",s="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",s="border-orange-300 text-orange-600 bg-orange-100"}return h("div",{key:"deff079607a599f28ab3feb535ed129434d54c7f"},h("span",{key:"a46ce6b03027226914d5d6bd46b74c9ae5213339",class:`${s} 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 s=!!i?.picture,o=i.name||i.nip05||i.pubkey,n=!!o;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"},s?h("img",{class:"w-full rounded-full",src:i.picture,alt:"Logo"}):n?o[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"},o),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 s=!!i?.picture,o=i.name||i.nip05||i.pubkey,n=!!o;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"},s?h("img",{class:"w-full rounded-full",src:i.picture,alt:"Logo"}):n?o[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"},o),h("nl-login-status",{info:i})),h("svg",{onClick:a=>{a.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 s=0;for(;0!==i;)s++,i>>>=1;return s},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,s){if(exports.isValid(i))return i;try{return function(o){if("string"!=typeof o)throw new Error("Param is not a string");switch(o.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: "+o)}}(i)}catch{return s}},BitBuffer$1.prototype={get:function(i){const s=Math.floor(i/8);return 1==(this.buffer[s]>>>7-i%8&1)},put:function(i,s){for(let o=0;o>>s-o-1&1))},getLengthInBits:function(){return this.length},putBit:function(i){const s=Math.floor(this.length/8);this.buffer.length<=s&&this.buffer.push(0),i&&(this.buffer[s]|=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,s,o,n){const a=i*this.size+s;this.data[a]=o,n&&(this.reservedBit[a]=!0)},BitMatrix$1.prototype.get=function(i,s){return this.data[i*this.size+s]},BitMatrix$1.prototype.xor=function(i,s,o){this.data[i*this.size+s]^=o},BitMatrix$1.prototype.isReserved=function(i,s){return this.reservedBit[i*this.size+s]};var bitMatrix=BitMatrix$1,alignmentPattern={};!function(i){const s=utils$1$1.getSymbolSize;i.getRowColCoords=function(o){if(1===o)return[];const n=Math.floor(o/7)+2,a=s(o),l=145===a?26:2*Math.ceil((a-13)/(2*n-2)),y=[a-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 C=0,A=0,S=0,T=null,O=null;for(let P=0;P=5&&(C+=A-5+3),T=X,A=1),X=y.get(q,P),X===O?S++:(S>=5&&(C+=S-5+3),O=X,S=1)}A>=5&&(C+=A-5+3),S>=5&&(C+=S-5+3)}return C},i.getPenaltyN2=function(y){const k=y.size;let C=0;for(let A=0;A=10&&(1488===A||93===A)&&C++,S=S<<1&2047|y.get(O,T),O>=10&&(1488===S||93===S)&&C++}return 40*C},i.getPenaltyN4=function(y){let k=0;const C=y.data.length;for(let A=0;A=0;){const l=a[0];for(let k=0;k0){const a=new Uint8Array(this.degree);return a.set(o,n),a}return o};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 s=versionCheck,o=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(n,a){if(!n.ccBits)throw new Error("Invalid mode: "+n);if(!s.isValid(a))throw new Error("Invalid version: "+a);return a>=1&&a<10?n.ccBits[0]:a<27?n.ccBits[1]:n.ccBits[2]},i.getBestModeForData=function(n){return o.testNumeric(n)?i.NUMERIC:o.testAlphanumeric(n)?i.ALPHANUMERIC:o.testKanji(n)?i.KANJI:i.BYTE},i.toString=function(n){if(n&&n.id)return n.id;throw new Error("Invalid mode")},i.isValid=function(n){return n&&n.bit&&n.ccBits},i.from=function(n,a){if(i.isValid(n))return n;try{return function(l){if("string"!=typeof l)throw new Error("Param is not a string");switch(l.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: "+l)}}(n)}catch{return a}}}(mode),function(i){const s=utils$1$1,o=errorCorrectionCode,n=errorCorrectionLevel,a=mode,l=versionCheck,y=s.getBCHDigit(7973);function k(A,S){return a.getCharCountIndicator(A,S)+4}function C(A,S){let T=0;return A.forEach(function(O){const P=k(O.mode,S);T+=P+O.getBitsLength()}),T}i.from=function(A,S){return l.isValid(A)?parseInt(A,10):S},i.getCapacity=function(A,S,T){if(!l.isValid(A))throw new Error("Invalid QR Code version");void 0===T&&(T=a.BYTE);const O=8*(s.getSymbolTotalCodewords(A)-o.getTotalCodewordsCount(A,S));if(T===a.MIXED)return O;const P=O-k(T,A);switch(T){case a.NUMERIC:return Math.floor(P/10*3);case a.ALPHANUMERIC:return Math.floor(P/11*2);case a.KANJI:return Math.floor(P/13);default:return Math.floor(P/8)}},i.getBestVersionForData=function(A,S){let T;const O=n.from(S,n.M);if(Array.isArray(A)){if(A.length>1)return function(P,q){for(let X=1;X<=40;X++)if(C(P,X)<=i.getCapacity(X,q,a.MIXED))return X}(A,O);if(0===A.length)return 1;T=A[0]}else T=A;return function(P,q,X){for(let J=1;J<=40;J++)if(q<=i.getCapacity(J,X,P))return J}(T.mode,T.getLength(),O)},i.getEncodedBits=function(A){if(!l.isValid(A)||A<7)throw new Error("Invalid QR Code version");let S=A<<12;for(;s.getBCHDigit(S)-y>=0;)S^=7973<=0;)n^=G15<0&&(o=this.data.substr(s),n=parseInt(o,10),i.put(n,3*a+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 s;for(s=0;s+2<=this.data.length;s+=2){let o=45*ALPHA_NUM_CHARS.indexOf(this.data[s]);o+=ALPHA_NUM_CHARS.indexOf(this.data[s+1]),i.put(o,11)}this.data.length%2&&i.put(ALPHA_NUM_CHARS.indexOf(this.data[s]),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 s=0,o=this.data.length;s=33088&&o<=40956)o-=33088;else{if(!(o>=57408&&o<=60351))throw new Error("Invalid SJIS character: "+this.data[s]+"\nMake sure your charset is UTF-8");o-=49472}o=192*(o>>>8&255)+(255&o),i.put(o,13)}};var kanjiData=KanjiData,dijkstra={exports:{}};(function(i){var s={single_source_shortest_paths:function(o,n,a){var l={},y={};y[n]=0;var k,C,A,S,T,O,q=s.PriorityQueue.make();for(q.push(n,0);!q.empty();)for(A in C=(k=q.pop()).value,S=k.cost,T=o[C]||{})T.hasOwnProperty(A)&&(O=S+T[A],(void 0===y[A]||y[A]>O)&&(y[A]=O,q.push(A,O),l[A]=C));if(void 0!==a&&void 0===y[a]){var X=["Could not find a path from ",n," to ",a,"."].join("");throw new Error(X)}return l},extract_shortest_path_from_predecessor_list:function(o,n){for(var a=[],l=n;l;)a.push(l),l=o[l];return a.reverse(),a},find_path:function(o,n,a){var l=s.single_source_shortest_paths(o,n,a);return s.extract_shortest_path_from_predecessor_list(l,a)},PriorityQueue:{make:function(o){var n,a=s.PriorityQueue,l={};for(n in o=o||{},a)a.hasOwnProperty(n)&&(l[n]=a[n]);return l.queue=[],l.sorter=o.sorter||a.default_sorter,l},default_sorter:function(o,n){return o.cost-n.cost},push:function(o,n){this.queue.push({value:o,cost:n}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};i.exports=s})(dijkstra),function(i){const s=mode,o=numericData,n=alphanumericData,a=byteData,l=kanjiData,y=regex$1,k=utils$1$1,C=dijkstra.exports;function A(q){return unescape(encodeURIComponent(q)).length}function S(q,X,J){const ht=[];let ct;for(;null!==(ct=q.exec(J));)ht.push({data:ct[0],index:ct.index,mode:X,length:ct[0].length});return ht}function T(q){const X=S(y.NUMERIC,s.NUMERIC,q),J=S(y.ALPHANUMERIC,s.ALPHANUMERIC,q);let ht,ct;return k.isKanjiModeEnabled()?(ht=S(y.BYTE,s.BYTE,q),ct=S(y.KANJI,s.KANJI,q)):(ht=S(y.BYTE_KANJI,s.BYTE,q),ct=[]),X.concat(J,ht,ct).sort(function(pt,kt){return pt.index-kt.index}).map(function(pt){return{data:pt.data,mode:pt.mode,length:pt.length}})}function O(q,X){switch(X){case s.NUMERIC:return o.getBitsLength(q);case s.ALPHANUMERIC:return n.getBitsLength(q);case s.KANJI:return l.getBitsLength(q);case s.BYTE:return a.getBitsLength(q)}}function P(q,X){let J;const ht=s.getBestModeForData(q);if(J=s.from(X,ht),J!==s.BYTE&&J.bit=0?Et[Et.length-1]:null;return yt&&yt.mode===It.mode?(Et[Et.length-1].data+=It.data,Et):(Et.push(It),Et)},[]))},i.rawSplit=function(q){return i.fromArray(T(q,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,s){const o=i.size,n=FinderPattern.getPositions(s);for(let a=0;a=0&&k<=6&&(0===C||6===C)||C>=0&&C<=6&&(0===k||6===k)||k>=2&&k<=4&&C>=2&&C<=4,!0)}}function setupTimingPattern(i){const s=i.size;for(let o=8;o>k&1),i.set(a,l,y,!0),i.set(l,a,y,!0)}function setupFormatInfo(i,s,o){const n=i.size,a=FormatInfo.getEncodedBits(s,o);let l,y;for(l=0;l<15;l++)y=1==(a>>l&1),i.set(l<6?l:l<8?l+1:n-15+l,8,y,!0),i.set(8,l<8?n-l-1:l<9?15-l-1+1:15-l-1,y,!0);i.set(n-8,8,1,!0)}function setupData(i,s){const o=i.size;let n=-1,a=o-1,l=7,y=0;for(let k=o-1;k>0;k-=2)for(6===k&&k--;;){for(let C=0;C<2;C++)if(!i.isReserved(a,k-C)){let A=!1;y>>l&1)),i.set(a,k-C,A),l--,-1===l&&(y++,l=7)}if(a+=n,a<0||o<=a){a-=n,n=-n;break}}}function createData(i,s,o){const n=new BitBuffer;o.forEach(function(y){n.put(y.mode.bit,4),n.put(y.getLength(),Mode.getCharCountIndicator(y.mode,i)),y.write(n)});const a=8*(Utils$1.getSymbolTotalCodewords(i)-ECCode.getTotalCodewordsCount(i,s));for(n.getLengthInBits()+4<=a&&n.put(0,4);n.getLengthInBits()%8!=0;)n.putBit(0);const l=(a-n.getLengthInBits())/8;for(let y=0;y=7&&setupVersionInfo(C,s),setupData(C,y),isNaN(n)&&(n=MaskPattern.getBestMask(C,setupFormatInfo.bind(null,C,o))),MaskPattern.applyMask(n,C),setupFormatInfo(C,o,n),{modules:C,version:s,errorCorrectionLevel:o,maskPattern:n,segments:a}}qrcode.create=function(i,s){if(void 0===i||""===i)throw new Error("No input text");let o,n,a=ECLevel.M;return void 0!==s&&(a=ECLevel.from(s.errorCorrectionLevel,ECLevel.M),o=Version.from(s.version),n=MaskPattern.from(s.maskPattern),s.toSJISFunc&&Utils$1.setToSJISFunction(s.toSJISFunc)),createSymbol(i,o,a,n)};var canvas={},utils$3={};(function(i){function s(o){if("number"==typeof o&&(o=o.toString()),"string"!=typeof o)throw new Error("Color should be defined as hex string");let n=o.slice().replace("#","").split("");if(n.length<3||5===n.length||n.length>8)throw new Error("Invalid hex color: "+o);3!==n.length&&4!==n.length||(n=Array.prototype.concat.apply([],n.map(function(l){return[l,l]}))),6===n.length&&n.push("F","F");const a=parseInt(n.join(""),16);return{r:a>>24&255,g:a>>16&255,b:a>>8&255,a:255&a,hex:"#"+n.slice(0,6).join("")}}i.getOptions=function(o){o||(o={}),o.color||(o.color={});const a=o.width&&o.width>=21?o.width:void 0;return{width:a,scale:a?4:o.scale||4,margin:null==o.margin||o.margin<0?4:o.margin,color:{dark:s(o.color.dark||"#000000ff"),light:s(o.color.light||"#ffffffff")},type:o.type,rendererOpts:o.rendererOpts||{}}},i.getScale=function(o,n){return n.width&&n.width>=o+2*n.margin?n.width/(o+2*n.margin):n.scale},i.getImageWidth=function(o,n){const a=i.getScale(o,n);return Math.floor((o+2*n.margin)*a)},i.qrToImageData=function(o,n,a){const l=n.modules.size,y=n.modules.data,k=i.getScale(l,a),C=Math.floor((l+2*a.margin)*k),A=a.margin*k,S=[a.color.light,a.color.dark];for(let T=0;T=A&&O>=A&&T0&&C>0&&i[k-1]||(n+=l?svgCmd("M",C+o,.5+A+o):svgCmd("m",a,0),a=0,l=!1),C+1':"",C="',S=''+k+C+"\n";return"function"==typeof o&&o(null,S),S};const canPromise=canPromise$1,QRCode=qrcode,CanvasRenderer=canvas,SvgRenderer=svgTag;function renderCanvas(i,s,o,n,a){const l=[].slice.call(arguments,1),y=l.length,k="function"==typeof l[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?(o=s,s=n=void 0):2!==y||s.getContext||(n=o,o=s,s=void 0),new Promise(function(C,A){try{const S=QRCode.create(o,n);C(i(S,s,n))}catch(S){A(S)}})}if(y<2)throw new Error("Too few arguments provided");2===y?(a=o,o=s,s=n=void 0):3===y&&(s.getContext&&void 0===a?(a=n,n=void 0):(a=n,n=o,o=s,s=void 0));try{const C=QRCode.create(o,n);a(null,i(C,s,n))}catch(C){a(C)}}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,s,o){return SvgRenderer.render(i,o)});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_angular_builders_custom_webpack_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(s){console.error("Error generating QR Code:",s)}})()}copyToClipboard(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_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(s){console.error("Failed to copy connectionString: ",s)}})()}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(s=>({name:"@"+s,value:s}))}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":""),s=state.path.at(-1),o=!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:s}):h(Fragment,null,(()=>{if(state.isOTP)return h("nl-signin-otp",null);switch(s){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(n=>n.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||s!==CURRENT_MODULE.INFO&&s!==CURRENT_MODULE.CONFIRM_LOGOUT&&s!==CURRENT_MODULE.IMPORT_FLOW&&s!==CURRENT_MODULE.WELCOME&&s!==CURRENT_MODULE.EXTENSION&&s!==CURRENT_MODULE.PREVIOUSLY_LOGGED)&&h(Fragment,null,s===CURRENT_MODULE.WELCOME_SIGNUP||s===CURRENT_MODULE.SIGNUP||s===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"),".")):o&&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",s=(this.isOpen?"rotate-180":"rotate-0")+" duration-300 flex-shrink-0 w-4 h-4 text-gray-500",o=this.options&&this.currentAccount?this.options.filter(n=>n.pubkey!==this.currentAccount.pubkey||n.authMethod!==this.currentAccount.authMethod):[];return h("div",{key:"e2fb1c4ca91fe75f9af8c40ba3411dba388ac9fd",class:`theme-${this.themeState}`},h("div",{key:"4ea60737ca60f4e6c20d014ed197f65f7b169432",class:"relative",ref:n=>this.wrapperRef=n},h("button",{key:"5838bf67141378607ec9d7f653f2eb71fbb655ee",ref:n=>this.buttonRef=n,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:s,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:n=>this.ulRef=n,class:i},this.options&&o.map(n=>{const l=n.name||n.nip05||n.pubkey;return h("li",{onClick:()=>this.handleChange(n),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"},n?.picture?h("img",{class:"w-full rounded-full",src:n.picture,alt:"Logo"}):l?l[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"},l),h("nl-login-status",{info:n})))}),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 s,o,n;this.isNotConfirmToSend=!0,this.isOpen=!0,this.isOpenConfirm=!0,this.domain=(null===(n=null===(o=null===(s=this.userInfo)||void 0===s?void 0:s.nip05)||void 0===o?void 0:o.split("@"))||void 0===n?void 0:n[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,s,o,n,a,l;const y=!(null===(i=this.userInfo)||void 0===i||!i.picture),k=(null===(s=this.userInfo)||void 0===s?void 0:s.name)||(null===(a=null===(n=null===(o=this.userInfo)||void 0===o?void 0:o.nip05)||void 0===n?void 0:n.split("@"))||void 0===a?void 0:a[0])||(null===(l=this.userInfo)||void 0===l?void 0:l.pubkey)||"",C=!!k,A=this.userInfo&&"local"===this.userInfo.authMethod,S=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"}):C?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&&C&&h("div",{key:"ac034a746a28bd20a36770a49d02773ac97025a5",class:"show-slow truncate w-16 text-xs"},k),this.isOpen&&C&&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),A&&h(Fragment,null,!S&&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 s="";if(0===i)return s;for(var o=0;o1)s?((o=this._tasks).push.apply(o,arguments),this.length+=arguments.length):(this._tasks.push(i),this.length++);else if(s){var a;1===n?((a=Array(1+arguments.length)).push(a),a.push.apply(a,arguments),this._tasks=a):((a=Array(arguments.length)).push.apply(a,arguments),this._tasks=a),this.length+=arguments.length}else this._tasks=1===n?[this._tasks,i]:i,this.length++}function push_rebuild(i,s){var o,n=this.length;if(n>1)s?((o=this._tasks).push.apply(o,arguments),this.length+=arguments.length):(this._tasks.push(i),this.length++);else if(s){var a;1===n?((a=Array(1+arguments.length)).push(a),a.push.apply(a,arguments),this._tasks=a):((a=Array(arguments.length)).push.apply(a,arguments),this._tasks=a),this.length+=arguments.length}else this._tasks=1===n?[this._tasks,i]:i,this.length++;this.firstEmitBuildStrategy?this.call=rebuild_on_first_call:this.rebuild()}function _fast_remove_single(i,s){-1!==s&&(0===s?i.shift():s===i.length-1?i.length=i.length-1:i.splice(s,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 s,o=[],n=1;n0&&!s.includes(i.length))throw new Error(`Expected Uint8Array of length ${s}, 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,s=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(s&&i.finished)throw new Error("Hash#digest() has already been called")}function output$3(i,s){bytes$3(i);const o=s.outputLen;if(i.lengthi instanceof Uint8Array,createView$2=i=>new DataView(i.buffer,i.byteOffset,i.byteLength),rotr$2=(i,s)=>i<<32-s|i>>>s,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 s=new Uint8Array(i.reduce((n,a)=>n+a.length,0));let o=0;return i.forEach(n=>{if(!u8a$3(n))throw new Error("Uint8Array expected");s.set(n,o),o+=n.length}),s}Array.from({length:256},(i,s)=>s.toString(16).padStart(2,"0"));let Hash$2=class{clone(){return this._cloneInto()}};function wrapConstructor$2(i){const s=n=>i().update(toBytes$3(n)).digest(),o=i();return s.outputLen=o.outputLen,s.blockLen=o.blockLen,s.create=()=>i(),s}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,s,o,n){if("function"==typeof i.setBigUint64)return i.setBigUint64(s,o,n);const a=BigInt(32),l=BigInt(4294967295),y=Number(o>>a&l),k=Number(o&l),A=n?0:4;i.setUint32(s+(n?4:0),y,n),i.setUint32(s+A,k,n)}let SHA2$2=class extends Hash$2{constructor(i,s,o,n){super(),this.blockLen=i,this.outputLen=s,this.padOffset=o,this.isLE=n,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:s,buffer:o,blockLen:n}=this,a=(i=toBytes$3(i)).length;for(let l=0;ln-l&&(this.process(o,0),l=0);for(let S=l;SA.length)throw new Error("_sha2: outputLen bigger than state");for(let S=0;Si&s^~i&o,Maj$2=(i,s,o)=>i&s^i&o^s&o,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:s,C:o,D:n,E:a,F:l,G:y,H:k}=this;return[i,s,o,n,a,l,y,k]}set(i,s,o,n,a,l,y,k){this.A=0|i,this.B=0|s,this.C=0|o,this.D=0|n,this.E=0|a,this.F=0|l,this.G=0|y,this.H=0|k}process(i,s){for(let S=0;S<16;S++,s+=4)SHA256_W$2[S]=i.getUint32(s,!1);for(let S=16;S<64;S++){const T=SHA256_W$2[S-15],O=SHA256_W$2[S-2],P=rotr$2(T,7)^rotr$2(T,18)^T>>>3,q=rotr$2(O,17)^rotr$2(O,19)^O>>>10;SHA256_W$2[S]=q+SHA256_W$2[S-7]+P+SHA256_W$2[S-16]|0}let{A:o,B:n,C:a,D:l,E:y,F:k,G:C,H:A}=this;for(let S=0;S<64;S++){const T=A+(rotr$2(y,6)^rotr$2(y,11)^rotr$2(y,25))+Chi$2(y,k,C)+SHA256_K$2[S]+SHA256_W$2[S]|0,O=(rotr$2(o,2)^rotr$2(o,13)^rotr$2(o,22))+Maj$2(o,n,a)|0;A=C,C=k,k=y,y=l+T|0,l=a,a=n,n=o,o=T+O|0}o=o+this.A|0,n=n+this.B|0,a=a+this.C|0,l=l+this.D|0,y=y+this.E|0,k=k+this.F|0,C=C+this.G|0,A=A+this.H|0,this.set(o,n,a,l,y,k,C,A)}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,s)=>s.toString(16).padStart(2,"0"));function bytesToHex$2(i){if(!u8a$2(i))throw new Error("Uint8Array expected");let s="";for(let o=0;on+a.length,0));let o=0;return i.forEach(n=>{if(!u8a$2(n))throw new Error("Uint8Array expected");s.set(n,o),o+=n.length}),s}function equalBytes$1(i,s){if(i.length!==s.length)return!1;for(let o=0;o_0n$4;i>>=_1n$4,s+=1);return s}function bitGet(i,s){return i>>BigInt(s)&_1n$4}const bitSet=(i,s,o)=>i|(o?_1n$4:_0n$4)<(_2n$2<new Uint8Array(i),u8fr=i=>Uint8Array.from(i);function createHmacDrbg(i,s,o){if("number"!=typeof i||i<2)throw new Error("hashLen must be a number");if("number"!=typeof s||s<2)throw new Error("qByteLen must be a number");if("function"!=typeof o)throw new Error("hmacFn must be a function");let n=u8n(i),a=u8n(i),l=0;const y=()=>{n.fill(1),a.fill(0),l=0},k=(...S)=>o(a,n,...S),C=(S=u8n())=>{a=k(u8fr([0]),S),n=k(),0!==S.length&&(a=k(u8fr([1]),S),n=k())},A=()=>{if(l++>=1e3)throw new Error("drbg: tried 1000 values");let S=0;const T=[];for(;S{let O;for(y(),C(S);!(O=T(A()));)C();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,s)=>s.Fp.isValid(i),hash:i=>"function"==typeof i&&Number.isSafeInteger(i.outputLen)};function validateObject(i,s,o={}){const n=(a,l,y)=>{const k=validatorFns[l];if("function"!=typeof k)throw new Error(`Invalid validator "${l}", expected function`);const C=i[a];if(!(y&&void 0===C||k(C,i)))throw new Error(`Invalid param ${String(a)}=${C} (${typeof C}), expected ${l}`)};for(const[a,l]of Object.entries(s))n(a,l,!1);for(const[a,l]of Object.entries(o))n(a,l,!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,s){const o=i%s;return o>=_0n$3?o:s+o}function pow(i,s,o){if(o<=_0n$3||s<_0n$3)throw new Error("Expected power/modulo > 0");if(o===_1n$3)return _0n$3;let n=_1n$3;for(;s>_0n$3;)s&_1n$3&&(n=n*i%o),i=i*i%o,s>>=_1n$3;return n}function pow2(i,s,o){let n=i;for(;s-- >_0n$3;)n*=n,n%=o;return n}function invert(i,s){if(i===_0n$3||s<=_0n$3)throw new Error(`invert: expected positive integers, got n=${i} mod=${s}`);let o=mod(i,s),n=s,a=_0n$3,l=_1n$3;for(;o!==_0n$3;){const y=n%o,k=a-l*(n/o);n=o,o=y,a=l,l=k}if(n!==_1n$3)throw new Error("invert: does not exist");return mod(a,s)}function tonelliShanks(i){const s=(i-_1n$3)/_2n$1;let o,n,a;for(o=i-_1n$3,n=0;o%_2n$1===_0n$3;o/=_2n$1,n++);for(a=_2n$1;a(o[n]="function",o),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"}))}function FpPow(i,s,o){if(o<_0n$3)throw new Error("Expected power > 0");if(o===_0n$3)return i.ONE;if(o===_1n$3)return s;let n=i.ONE,a=s;for(;o>_0n$3;)o&_1n$3&&(n=i.mul(n,a)),a=i.sqr(a),o>>=_1n$3;return n}function FpInvertBatch(i,s){const o=new Array(s.length),n=s.reduce((l,y,k)=>i.is0(y)?l:(o[k]=l,i.mul(l,y)),i.ONE),a=i.inv(n);return s.reduceRight((l,y,k)=>i.is0(y)?l:(o[k]=i.mul(l,o[k]),i.mul(l,y)),a),o}function nLength(i,s){const o=void 0!==s?s:i.toString(2).length;return{nBitLength:o,nByteLength:Math.ceil(o/8)}}function Field(i,s,o=!1,n={}){if(i<=_0n$3)throw new Error(`Expected Fp ORDER > 0, got ${i}`);const{nBitLength:a,nByteLength:l}=nLength(i,s);if(l>2048)throw new Error("Field lengths over 2048 bytes are not supported");const y=FpSqrt(i),k=Object.freeze({ORDER:i,BITS:a,BYTES:l,MASK:bitMask(a),ZERO:_0n$3,ONE:_1n$3,create:C=>mod(C,i),isValid:C=>{if("bigint"!=typeof C)throw new Error("Invalid field element: expected bigint, got "+typeof C);return _0n$3<=C&&CC===_0n$3,isOdd:C=>(C&_1n$3)===_1n$3,neg:C=>mod(-C,i),eql:(C,A)=>C===A,sqr:C=>mod(C*C,i),add:(C,A)=>mod(C+A,i),sub:(C,A)=>mod(C-A,i),mul:(C,A)=>mod(C*A,i),pow:(C,A)=>FpPow(k,C,A),div:(C,A)=>mod(C*invert(A,i),i),sqrN:C=>C*C,addN:(C,A)=>C+A,subN:(C,A)=>C-A,mulN:(C,A)=>C*A,inv:C=>invert(C,i),sqrt:n.sqrt||(C=>y(k,C)),invertBatch:C=>FpInvertBatch(k,C),cmov:(C,A,S)=>S?A:C,toBytes:C=>o?numberToBytesLE(C,l):numberToBytesBE(C,l),fromBytes:C=>{if(C.length!==l)throw new Error(`Fp.fromBytes: expected ${l}, got ${C.length}`);return o?bytesToNumberLE(C):bytesToNumberBE(C)}});return Object.freeze(k)}function hashToPrivateScalar(i,s,o=!1){const n=(i=ensureBytes$1("privateHash",i)).length,a=nLength(s).nByteLength+8;if(a<24||n1024)throw new Error(`hashToPrivateScalar: expected ${a}-1024 bytes of input, got ${n}`);return mod(o?bytesToNumberLE(i):bytesToNumberBE(i),s-_1n$3)+_1n$3}const _0n$2=BigInt(0),_1n$2=BigInt(1);function wNAF(i,s){const o=(a,l)=>{const y=l.negate();return a?y:l},n=a=>({windows:Math.ceil(s/a)+1,windowSize:2**(a-1)});return{constTimeNegate:o,unsafeLadder(a,l){let y=i.ZERO,k=a;for(;l>_0n$2;)l&_1n$2&&(y=y.add(k)),k=k.double(),l>>=_1n$2;return y},precomputeWindow(a,l){const{windows:y,windowSize:k}=n(l),C=[];let A=a,S=A;for(let T=0;T>=P,J>C&&(J-=O,y+=_1n$2);const ht=X,ct=X+Math.abs(J)-1,kt=J<0;0===J?S=S.add(o(q%2!=0,l[ht])):A=A.add(o(kt,l[ct]))}return{p:A,f:S}},wNAFCached(a,l,y,k){const C=a._WINDOW_SIZE||1;let A=l.get(a);return A||(A=this.precomputeWindow(a,C),1!==C&&l.set(a,k(A))),this.wNAF(C,A,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 s=validateBasic(i);validateObject(s,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:o,Fp:n,a}=s;if(o){if(!n.eql(a,n.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof o||"bigint"!=typeof o.beta||"function"!=typeof o.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...s})}const{bytesToNumberBE:b2n,hexToBytes:h2b}=ut,DER={Err:class extends Error{constructor(i=""){super(i)}},_parseInt(i){const{Err:s}=DER;if(i.length<2||2!==i[0])throw new s("Invalid signature integer tag");const o=i[1],n=i.subarray(2,o+2);if(!o||n.length!==o)throw new s("Invalid signature integer: wrong length");if(128&n[0])throw new s("Invalid signature integer: negative");if(0===n[0]&&!(128&n[1]))throw new s("Invalid signature integer: unnecessary leading zero");return{d:b2n(n),l:i.subarray(o+2)}},toSig(i){const{Err:s}=DER,o="string"==typeof i?h2b(i):i;if(!(o instanceof Uint8Array))throw new Error("ui8a expected");let n=o.length;if(n<2||48!=o[0])throw new s("Invalid signature tag");if(o[1]!==n-2)throw new s("Invalid signature: incorrect length");const{d:a,l}=DER._parseInt(o.subarray(2)),{d:y,l:k}=DER._parseInt(l);if(k.length)throw new s("Invalid signature: left bytes after parsing");return{r:a,s:y}},hexFromSig(i){const s=A=>8&Number.parseInt(A[0],16)?"00"+A:A,o=A=>{const S=A.toString(16);return 1&S.length?`0${S}`:S},n=s(o(i.s)),a=s(o(i.r)),l=n.length/2,y=a.length/2,k=o(l),C=o(y);return`30${o(y+l+4)}02${C}${a}02${k}${n}`}},_0n$1=BigInt(0),_1n$1=BigInt(1);BigInt(2);const _3n=BigInt(3);function weierstrassPoints(i){const s=validatePointOpts(i),{Fp:o}=s,n=s.toBytes||((q,X,J)=>{const ht=X.toAffine();return concatBytes$2(Uint8Array.from([4]),o.toBytes(ht.x),o.toBytes(ht.y))}),a=s.fromBytes||(q=>{const X=q.subarray(1);return{x:o.fromBytes(X.subarray(0,o.BYTES)),y:o.fromBytes(X.subarray(o.BYTES,2*o.BYTES))}});function l(q){const{a:X,b:J}=s,ht=o.sqr(q),ct=o.mul(ht,q);return o.add(o.add(ct,o.mul(q,X)),J)}if(!o.eql(o.sqr(s.Gy),l(s.Gx)))throw new Error("bad generator point: equation left != right");function y(q){return"bigint"==typeof q&&_0n$1o.eql(pt,o.ZERO);return ct(J)&&ct(ht)?T.ZERO:new T(J,ht,o.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(X){const J=o.invertBatch(X.map(ht=>ht.pz));return X.map((ht,ct)=>ht.toAffine(J[ct])).map(T.fromAffine)}static fromHex(X){const J=T.fromAffine(a(ensureBytes$1("pointHex",X)));return J.assertValidity(),J}static fromPrivateKey(X){return T.BASE.multiply(C(X))}_setWindowSize(X){this._WINDOW_SIZE=X,A.delete(this)}assertValidity(){if(this.is0()){if(s.allowInfinityPoint)return;throw new Error("bad point: ZERO")}const{x:X,y:J}=this.toAffine();if(!o.isValid(X)||!o.isValid(J))throw new Error("bad point: x or y not FE");const ht=o.sqr(J),ct=l(X);if(!o.eql(ht,ct))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:X}=this.toAffine();if(o.isOdd)return!o.isOdd(X);throw new Error("Field doesn't support isOdd")}equals(X){S(X);const{px:J,py:ht,pz:ct}=this,{px:pt,py:kt,pz:Et}=X,It=o.eql(o.mul(J,Et),o.mul(pt,ct)),yt=o.eql(o.mul(ht,Et),o.mul(kt,ct));return It&&yt}negate(){return new T(this.px,o.neg(this.py),this.pz)}double(){const{a:X,b:J}=s,ht=o.mul(J,_3n),{px:ct,py:pt,pz:kt}=this;let Et=o.ZERO,It=o.ZERO,yt=o.ZERO,_t=o.mul(ct,ct),at=o.mul(pt,pt),st=o.mul(kt,kt),vt=o.mul(ct,pt);return vt=o.add(vt,vt),yt=o.mul(ct,kt),yt=o.add(yt,yt),Et=o.mul(X,yt),It=o.mul(ht,st),It=o.add(Et,It),Et=o.sub(at,It),It=o.add(at,It),It=o.mul(Et,It),Et=o.mul(vt,Et),yt=o.mul(ht,yt),st=o.mul(X,st),vt=o.sub(_t,st),vt=o.mul(X,vt),vt=o.add(vt,yt),yt=o.add(_t,_t),_t=o.add(yt,_t),_t=o.add(_t,st),_t=o.mul(_t,vt),It=o.add(It,_t),st=o.mul(pt,kt),st=o.add(st,st),_t=o.mul(st,vt),Et=o.sub(Et,_t),yt=o.mul(st,at),yt=o.add(yt,yt),yt=o.add(yt,yt),new T(Et,It,yt)}add(X){S(X);const{px:J,py:ht,pz:ct}=this,{px:pt,py:kt,pz:Et}=X;let It=o.ZERO,yt=o.ZERO,_t=o.ZERO;const at=s.a,st=o.mul(s.b,_3n);let vt=o.mul(J,pt),Pt=o.mul(ht,kt),ae=o.mul(ct,Et),le=o.add(J,ht),ve=o.add(pt,kt);le=o.mul(le,ve),ve=o.add(vt,Pt),le=o.sub(le,ve),ve=o.add(J,ct);let se=o.add(pt,Et);return ve=o.mul(ve,se),se=o.add(vt,ae),ve=o.sub(ve,se),se=o.add(ht,ct),It=o.add(kt,Et),se=o.mul(se,It),It=o.add(Pt,ae),se=o.sub(se,It),_t=o.mul(at,ve),It=o.mul(st,ae),_t=o.add(It,_t),It=o.sub(Pt,_t),_t=o.add(Pt,_t),yt=o.mul(It,_t),Pt=o.add(vt,vt),Pt=o.add(Pt,vt),ae=o.mul(at,ae),ve=o.mul(st,ve),Pt=o.add(Pt,ae),ae=o.sub(vt,ae),ae=o.mul(at,ae),ve=o.add(ve,ae),vt=o.mul(Pt,ve),yt=o.add(yt,vt),vt=o.mul(se,ve),It=o.mul(le,It),It=o.sub(It,vt),vt=o.mul(le,Pt),_t=o.mul(se,_t),_t=o.add(_t,vt),new T(It,yt,_t)}subtract(X){return this.add(X.negate())}is0(){return this.equals(T.ZERO)}wNAF(X){return P.wNAFCached(this,A,X,J=>{const ht=o.invertBatch(J.map(ct=>ct.pz));return J.map((ct,pt)=>ct.toAffine(ht[pt])).map(T.fromAffine)})}multiplyUnsafe(X){const J=T.ZERO;if(X===_0n$1)return J;if(k(X),X===_1n$1)return this;const{endo:ht}=s;if(!ht)return P.unsafeLadder(this,X);let{k1neg:ct,k1:pt,k2neg:kt,k2:Et}=ht.splitScalar(X),It=J,yt=J,_t=this;for(;pt>_0n$1||Et>_0n$1;)pt&_1n$1&&(It=It.add(_t)),Et&_1n$1&&(yt=yt.add(_t)),_t=_t.double(),pt>>=_1n$1,Et>>=_1n$1;return ct&&(It=It.negate()),kt&&(yt=yt.negate()),yt=new T(o.mul(yt.px,ht.beta),yt.py,yt.pz),It.add(yt)}multiply(X){k(X);let J,ht,ct=X;const{endo:pt}=s;if(pt){const{k1neg:kt,k1:Et,k2neg:It,k2:yt}=pt.splitScalar(ct);let{p:_t,f:at}=this.wNAF(Et),{p:st,f:vt}=this.wNAF(yt);_t=P.constTimeNegate(kt,_t),st=P.constTimeNegate(It,st),st=new T(o.mul(st.px,pt.beta),st.py,st.pz),J=_t.add(st),ht=at.add(vt)}else{const{p:kt,f:Et}=this.wNAF(ct);J=kt,ht=Et}return T.normalizeZ([J,ht])[0]}multiplyAndAddUnsafe(X,J,ht){const ct=T.BASE,pt=(Et,It)=>It!==_0n$1&&It!==_1n$1&&Et.equals(ct)?Et.multiply(It):Et.multiplyUnsafe(It),kt=pt(this,J).add(pt(X,ht));return kt.is0()?void 0:kt}toAffine(X){const{px:J,py:ht,pz:ct}=this,pt=this.is0();null==X&&(X=pt?o.ONE:o.inv(ct));const kt=o.mul(J,X),Et=o.mul(ht,X),It=o.mul(ct,X);if(pt)return{x:o.ZERO,y:o.ZERO};if(!o.eql(It,o.ONE))throw new Error("invZ was invalid");return{x:kt,y:Et}}isTorsionFree(){const{h:X,isTorsionFree:J}=s;if(X===_1n$1)return!0;if(J)return J(T,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:X,clearCofactor:J}=s;return X===_1n$1?this:J?J(T,this):this.multiplyUnsafe(s.h)}toRawBytes(X=!0){return this.assertValidity(),n(T,this,X)}toHex(X=!0){return bytesToHex$2(this.toRawBytes(X))}}T.BASE=new T(s.Gx,s.Gy,o.ONE),T.ZERO=new T(o.ZERO,o.ONE,o.ZERO);const O=s.nBitLength,P=wNAF(T,s.endo?Math.ceil(O/2):O);return{CURVE:s,ProjectivePoint:T,normPrivateKeyToScalar:C,weierstrassEquation:l,isWithinCurveOrder:y}}function validateOpts(i){const s=validateBasic(i);return validateObject(s,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...s})}function weierstrass(i){const s=validateOpts(i),{Fp:o,n}=s,a=o.BYTES+1,l=2*o.BYTES+1;function y(at){return mod(at,n)}function k(at){return invert(at,n)}const{ProjectivePoint:C,normPrivateKeyToScalar:A,weierstrassEquation:S,isWithinCurveOrder:T}=weierstrassPoints({...s,toBytes(at,st,vt){const Pt=st.toAffine(),ae=o.toBytes(Pt.x),le=concatBytes$2;return vt?le(Uint8Array.from([st.hasEvenY()?2:3]),ae):le(Uint8Array.from([4]),ae,o.toBytes(Pt.y))},fromBytes(at){const st=at.length,vt=at[0],Pt=at.subarray(1);if(st!==a||2!==vt&&3!==vt){if(st===l&&4===vt)return{x:o.fromBytes(Pt.subarray(0,o.BYTES)),y:o.fromBytes(Pt.subarray(o.BYTES,2*o.BYTES))};throw new Error(`Point of length ${st} was invalid. Expected ${a} compressed bytes or ${l} uncompressed bytes`)}{const le=bytesToNumberBE(Pt);if(!(_0n$1<(ae=le)&&aebytesToHex$2(numberToBytesBE(at,s.nByteLength));function P(at){return at>n>>_1n$1}const q=(at,st,vt)=>bytesToNumberBE(at.slice(st,vt));class X{constructor(st,vt,Pt){this.r=st,this.s=vt,this.recovery=Pt,this.assertValidity()}static fromCompact(st){const vt=s.nByteLength;return st=ensureBytes$1("compactSignature",st,2*vt),new X(q(st,0,vt),q(st,vt,2*vt))}static fromDER(st){const{r:vt,s:Pt}=DER.toSig(ensureBytes$1("DER",st));return new X(vt,Pt)}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(st){return new X(this.r,this.s,st)}recoverPublicKey(st){const{r:vt,s:Pt,recovery:ae}=this,le=pt(ensureBytes$1("msgHash",st));if(null==ae||![0,1,2,3].includes(ae))throw new Error("recovery id invalid");const ve=2===ae||3===ae?vt+s.n:vt;if(ve>=o.ORDER)throw new Error("recovery id 2 or 3 invalid");const or=C.fromHex((1&ae?"03":"02")+O(ve)),fr=k(ve),yr=y(-le*fr),jr=y(Pt*fr),wr=C.BASE.multiplyAndAddUnsafe(or,yr,jr);if(!wr)throw new Error("point at infinify");return wr.assertValidity(),wr}hasHighS(){return P(this.s)}normalizeS(){return this.hasHighS()?new X(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 J={isValidPrivateKey(at){try{return A(at),!0}catch{return!1}},normPrivateKeyToScalar:A,randomPrivateKey:()=>numberToBytesBE(hashToPrivateScalar(s.randomBytes(o.BYTES+8),n),s.nByteLength),precompute:(at=8,st=C.BASE)=>(st._setWindowSize(at),st.multiply(BigInt(3)),st)};function ht(at){const st=at instanceof Uint8Array,vt="string"==typeof at,Pt=(st||vt)&&at.length;return st?Pt===a||Pt===l:vt?Pt===2*a||Pt===2*l:at instanceof C}const ct=s.bits2int||function(at){const st=bytesToNumberBE(at),vt=8*at.length-s.nBitLength;return vt>0?st>>BigInt(vt):st},pt=s.bits2int_modN||function(at){return y(ct(at))},kt=bitMask(s.nBitLength);function Et(at){if("bigint"!=typeof at)throw new Error("bigint expected");if(!(_0n$1<=at&&atQt in vt))throw new Error("sign() legacy options not supported");const{hash:Pt,randomBytes:ae}=s;let{lowS:le,prehash:ve,extraEntropy:se}=vt;null==le&&(le=!0),at=ensureBytes$1("msgHash",at),ve&&(at=ensureBytes$1("prehashed msgHash",Pt(at)));const or=pt(at),fr=A(st),yr=[Et(fr),Et(or)];if(null!=se){const Qt=!0===se?ae(o.BYTES):se;yr.push(ensureBytes$1("extraEntropy",Qt,o.BYTES))}const jr=concatBytes$2(...yr),wr=or;return{seed:jr,k2sig:function(Qt){const be=ct(Qt);if(!T(be))return;const Ht=k(be),Bt=C.BASE.multiply(be).toAffine(),Fe=y(Bt.x);if(Fe===_0n$1)return;const zt=y(Ht*y(wr+Fe*fr));if(zt===_0n$1)return;let Yt=(Bt.x===Fe?0:2)|Number(Bt.y&_1n$1),oe=zt;return le&&P(zt)&&(oe=P(Oe=zt)?y(-Oe):Oe,Yt^=1),new X(Fe,oe,Yt);var Oe}}}(at,st,vt);return createHmacDrbg(s.hash.outputLen,s.nByteLength,s.hmac)(Pt,ae)},verify:function(at,st,vt,Pt=_t){const ae=at;if(st=ensureBytes$1("msgHash",st),vt=ensureBytes$1("publicKey",vt),"strict"in Pt)throw new Error("options.strict was renamed to lowS");const{lowS:le,prehash:ve}=Pt;let se,or;try{if("string"==typeof ae||ae instanceof Uint8Array)try{se=X.fromDER(ae)}catch(Bt){if(!(Bt instanceof DER.Err))throw Bt;se=X.fromCompact(ae)}else{if("object"!=typeof ae||"bigint"!=typeof ae.r||"bigint"!=typeof ae.s)throw new Error("PARSE");{const{r:Bt,s:Fe}=ae;se=new X(Bt,Fe)}}or=C.fromHex(vt)}catch(Bt){if("PARSE"===Bt.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(le&&se.hasHighS())return!1;ve&&(st=s.hash(st));const{r:fr,s:yr}=se,jr=pt(st),wr=k(yr),Qt=y(jr*wr),be=y(fr*wr),Ht=C.BASE.multiplyAndAddUnsafe(or,Qt,be)?.toAffine();return!!Ht&&y(Ht.x)===fr},ProjectivePoint:C,Signature:X,utils:J}}BigInt(4);let HMAC$2=class extends Hash$2{constructor(i,s){super(),this.finished=!1,this.destroyed=!1,assert$3.hash(i);const o=toBytes$3(s);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 n=this.blockLen,a=new Uint8Array(n);a.set(o.length>n?i.create().update(o).digest():o);for(let l=0;lnew HMAC$2(i,s).update(o).digest();function getHash(i){return{hash:i,hmac:(s,...o)=>hmac$2(i,s,concatBytes$3(...o)),randomBytes:randomBytes$2}}function createCurve(i,s){const o=n=>weierstrass({...i,...getHash(n)});return Object.freeze({...o(s),create:o})}hmac$2.create=(i,s)=>new HMAC$2(i,s);const secp256k1P=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),secp256k1N=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),_1n=BigInt(1),_2n=BigInt(2),divNearest=(i,s)=>(i+s/_2n)/s;function sqrtMod(i){const s=secp256k1P,o=BigInt(3),n=BigInt(6),a=BigInt(11),l=BigInt(22),y=BigInt(23),k=BigInt(44),C=BigInt(88),A=i*i*i%s,S=A*A*i%s,T=pow2(S,o,s)*S%s,O=pow2(T,o,s)*S%s,P=pow2(O,_2n,s)*A%s,q=pow2(P,a,s)*P%s,X=pow2(q,l,s)*q%s,J=pow2(X,k,s)*X%s,ht=pow2(J,C,s)*J%s,ct=pow2(ht,k,s)*X%s,pt=pow2(ct,o,s)*S%s,kt=pow2(pt,y,s)*q%s,Et=pow2(kt,n,s)*A%s,It=pow2(Et,_2n,s);if(!Fp.eql(Fp.sqr(It),i))throw new Error("Cannot find square root");return It}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 s=secp256k1N,o=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),n=-_1n*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),a=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),l=o,y=BigInt("0x100000000000000000000000000000000"),k=divNearest(l*i,s),C=divNearest(-n*i,s);let A=mod(i-k*o-C*a,s),S=mod(-k*n-C*l,s);const T=A>y,O=S>y;if(T&&(A=s-A),O&&(S=s-S),A>y||S>y)throw new Error("splitScalar: Endomorphism failed, k="+i);return{k1neg:T,k1:A,k2neg:O,k2:S}}}},sha256$2),_0n=BigInt(0),fe=i=>"bigint"==typeof i&&_0n"bigint"==typeof i&&_0na.charCodeAt(0)));o=concatBytes$2(n,n),TAGGED_HASH_PREFIXES[i]=o}return sha256$2(concatBytes$2(o,...s))}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,s,o)=>Point$1.BASE.multiplyAndAddUnsafe(i,s,o);function schnorrGetExtPubKey(i){let s=secp256k1.utils.normPrivateKeyToScalar(i),o=Point$1.fromPrivateKey(s);return{scalar:o.hasEvenY()?s:modN(-s),bytes:pointToBytes(o)}}function lift_x(i){if(!fe(i))throw new Error("bad x: need 0 < x < p");const s=modP(i*i);let o=sqrtMod(modP(s*i+BigInt(7)));o%_2n!==_0n&&(o=modP(-o));const n=new Point$1(i,o,_1n);return n.assertValidity(),n}function challenge(...i){return modN(bytesToNumberBE(taggedHash("BIP0340/challenge",...i)))}function schnorrGetPublicKey(i){return schnorrGetExtPubKey(i).bytes}function schnorrSign(i,s,o=randomBytes$2(32)){const n=ensureBytes$1("message",i),{bytes:a,scalar:l}=schnorrGetExtPubKey(s),y=ensureBytes$1("auxRand",o,32),k=numTo32b(l^bytesToNumberBE(taggedHash("BIP0340/aux",y))),C=taggedHash("BIP0340/nonce",k,a,n),A=modN(bytesToNumberBE(C));if(A===_0n)throw new Error("sign failed: k is zero");const{bytes:S,scalar:T}=schnorrGetExtPubKey(A),O=challenge(S,a,n),P=new Uint8Array(64);if(P.set(S,0),P.set(numTo32b(modN(T+O*l)),32),!schnorrVerify(P,n,a))throw new Error("sign: Invalid signature produced");return P}function schnorrVerify(i,s,o){const n=ensureBytes$1("signature",i,64),a=ensureBytes$1("message",s),l=ensureBytes$1("publicKey",o,32);try{const y=lift_x(bytesToNumberBE(l)),k=bytesToNumberBE(n.subarray(0,32));if(!fe(k))return!1;const C=bytesToNumberBE(n.subarray(32,64));if(!ge(C))return!1;const A=challenge(numTo32b(k),pointToBytes(y),a),S=GmulAdd(y,C,modN(-A));return!(!S||!S.hasEvenY()||S.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,s)=>i<<32-s|i>>>s,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,s)=>s.toString(16).padStart(2,"0"));function bytesToHex$1(i){if(!u8a$1(i))throw new Error("Uint8Array expected");let s="";for(let o=0;on+a.length,0));let o=0;return i.forEach(n=>{if(!u8a$1(n))throw new Error("Uint8Array expected");s.set(n,o),o+=n.length}),s}let Hash$1=class{clone(){return this._cloneInto()}};function wrapConstructor$1(i){const s=n=>i().update(toBytes$2(n)).digest(),o=i();return s.outputLen=o.outputLen,s.blockLen=o.blockLen,s.create=()=>i(),s}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,...s){if(!(i instanceof Uint8Array))throw new Error("Expected Uint8Array");if(s.length>0&&!s.includes(i.length))throw new Error(`Expected Uint8Array of length ${s}, 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,s=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(s&&i.finished)throw new Error("Hash#digest() has already been called")}function output$2(i,s){bytes$2(i);const o=s.outputLen;if(i.length>a&l),k=Number(o&l),A=n?0:4;i.setUint32(s+(n?4:0),y,n),i.setUint32(s+A,k,n)}let SHA2$1=class extends Hash$1{constructor(i,s,o,n){super(),this.blockLen=i,this.outputLen=s,this.padOffset=o,this.isLE=n,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:s,buffer:o,blockLen:n}=this,a=(i=toBytes$2(i)).length;for(let l=0;ln-l&&(this.process(o,0),l=0);for(let S=l;SA.length)throw new Error("_sha2: outputLen bigger than state");for(let S=0;Si&s^~i&o,Maj$1=(i,s,o)=>i&s^i&o^s&o,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:s,C:o,D:n,E:a,F:l,G:y,H:k}=this;return[i,s,o,n,a,l,y,k]}set(i,s,o,n,a,l,y,k){this.A=0|i,this.B=0|s,this.C=0|o,this.D=0|n,this.E=0|a,this.F=0|l,this.G=0|y,this.H=0|k}process(i,s){for(let S=0;S<16;S++,s+=4)SHA256_W$1[S]=i.getUint32(s,!1);for(let S=16;S<64;S++){const T=SHA256_W$1[S-15],O=SHA256_W$1[S-2],P=rotr$1(T,7)^rotr$1(T,18)^T>>>3,q=rotr$1(O,17)^rotr$1(O,19)^O>>>10;SHA256_W$1[S]=q+SHA256_W$1[S-7]+P+SHA256_W$1[S-16]|0}let{A:o,B:n,C:a,D:l,E:y,F:k,G:C,H:A}=this;for(let S=0;S<64;S++){const T=A+(rotr$1(y,6)^rotr$1(y,11)^rotr$1(y,25))+Chi$1(y,k,C)+SHA256_K$1[S]+SHA256_W$1[S]|0,O=(rotr$1(o,2)^rotr$1(o,13)^rotr$1(o,22))+Maj$1(o,n,a)|0;A=C,C=k,k=y,y=l+T|0,l=a,a=n,n=o,o=T+O|0}o=o+this.A|0,n=n+this.B|0,a=a+this.C|0,l=l+this.D|0,y=y+this.E|0,k=k+this.F|0,C=C+this.G|0,A=A+this.H|0,this.set(o,n,a,l,y,k,C,A)}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 s=(o,n)=>a=>o(n(a));return{encode:Array.from(i).reverse().reduce((o,n)=>o?s(o,n.encode):n.encode,void 0),decode:i.reduce((o,n)=>o?s(o,n.decode):n.decode,void 0)}}function alphabet$1(i){return{encode:s=>{if(!Array.isArray(s)||s.length&&"number"!=typeof s[0])throw new Error("alphabet.encode input should be an array of numbers");return s.map(o=>{if(assertNumber(o),o<0||o>=i.length)throw new Error(`Digit index outside alphabet: ${o} (alphabet: ${i.length})`);return i[o]})},decode:s=>{if(!Array.isArray(s)||s.length&&"string"!=typeof s[0])throw new Error("alphabet.decode input should be array of strings");return s.map(o=>{if("string"!=typeof o)throw new Error(`alphabet.decode: not string element=${o}`);const n=i.indexOf(o);if(-1===n)throw new Error(`Unknown letter: "${o}". Allowed: ${i}`);return n})}}}function join$1(i=""){if("string"!=typeof i)throw new Error("join separator should be string");return{encode:s=>{if(!Array.isArray(s)||s.length&&"string"!=typeof s[0])throw new Error("join.encode input should be array of strings");for(let o of s)if("string"!=typeof o)throw new Error(`join.encode: non-string input=${o}`);return s.join(i)},decode:s=>{if("string"!=typeof s)throw new Error("join.decode input should be string");return s.split(i)}}}function padding$1(i,s="="){if(assertNumber(i),"string"!=typeof s)throw new Error("padding chr should be string");return{encode(o){if(!Array.isArray(o)||o.length&&"string"!=typeof o[0])throw new Error("padding.encode input should be array of strings");for(let n of o)if("string"!=typeof n)throw new Error(`padding.encode: non-string input=${n}`);for(;o.length*i%8;)o.push(s);return o},decode(o){if(!Array.isArray(o)||o.length&&"string"!=typeof o[0])throw new Error("padding.encode input should be array of strings");for(let a of o)if("string"!=typeof a)throw new Error(`padding.decode: non-string input=${a}`);let n=o.length;if(n*i%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;n>0&&o[n-1]===s;n--)if(!((n-1)*i%8))throw new Error("Invalid padding: string has too much padding");return o.slice(0,n)}}}function normalize$1(i){if("function"!=typeof i)throw new Error("normalize fn should be function");return{encode:s=>s,decode:s=>i(s)}}function convertRadix$1(i,s,o){if(s<2)throw new Error(`convertRadix: wrong from=${s}, base cannot be less than 2`);if(o<2)throw new Error(`convertRadix: wrong to=${o}, base cannot be less than 2`);if(!Array.isArray(i))throw new Error("convertRadix: data should be array");if(!i.length)return[];let n=0;const a=[],l=Array.from(i);for(l.forEach(y=>{if(assertNumber(y),y<0||y>=s)throw new Error(`Wrong integer: ${y}`)});;){let y=0,k=!0;for(let C=n;Cnew SHA224);const gcd$1=(i,s)=>s?gcd$1(s,i%s):i,radix2carry$1=(i,s)=>i+(s-gcd$1(i,s));function convertRadix2$1(i,s,o,n){if(!Array.isArray(i))throw new Error("convertRadix2: data should be array");if(s<=0||s>32)throw new Error(`convertRadix2: wrong from=${s}`);if(o<=0||o>32)throw new Error(`convertRadix2: wrong to=${o}`);if(radix2carry$1(s,o)>32)throw new Error(`convertRadix2: carry overflow from=${s} to=${o} carryBits=${radix2carry$1(s,o)}`);let a=0,l=0;const y=2**o-1,k=[];for(const C of i){if(assertNumber(C),C>=2**s)throw new Error(`convertRadix2: invalid data word=${C} from=${s}`);if(a=a<32)throw new Error(`convertRadix2: carry overflow pos=${l} from=${s}`);for(l+=s;l>=o;l-=o)k.push((a>>l-o&y)>>>0);a&=2**l-1}if(a=a<=s)throw new Error("Excess padding");if(!n&&a)throw new Error(`Non-zero padding: ${a}`);return n&&l>0&&k.push(a>>>0),k}function radix$1(i){return assertNumber(i),{encode:s=>{if(!(s instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return convertRadix$1(Array.from(s),256,i)},decode:s=>{if(!Array.isArray(s)||s.length&&"number"!=typeof s[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(convertRadix$1(s,i,256))}}}function radix2$1(i,s=!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:o=>{if(!(o instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return convertRadix2$1(Array.from(o),8,i,!s)},decode:o=>{if(!Array.isArray(o)||o.length&&"number"!=typeof o[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(convertRadix2$1(o,i,8,s))}}}function unsafeWrapper$1(i){if("function"!=typeof i)throw new Error("unsafeWrapper fn should be function");return function(...s){try{return i.apply(null,s)}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 s="";for(let o=0;o>25;let o=(33554431&i)<<5;for(let n=0;n>n&1)&&(o^=POLYMOD_GENERATORS$1[n]);return o}function bechChecksum$1(i,s,o=1){const n=i.length;let a=1;for(let l=0;l126)throw new Error(`Invalid prefix (${i})`);a=bech32Polymod$1(a)^y>>5}a=bech32Polymod$1(a);for(let l=0;lC)throw new TypeError(`Wrong string length: ${k.length} (${k}). Expected (8..${C})`);const A=k.toLowerCase();if(k!==A&&k!==k.toUpperCase())throw new Error("String must be lowercase or uppercase");const S=(k=A).lastIndexOf("1");if(0===S||-1===S)throw new Error('Letter "1" must be present between prefix and data only');const T=k.slice(0,S),O=k.slice(S+1);if(O.length<6)throw new Error("Data must be at least 6 characters long");const P=BECH_ALPHABET$1.decode(O).slice(0,-6),q=bechChecksum$1(T,P,s);if(!O.endsWith(q))throw new Error(`Invalid checksum in ${k}: expected "${q}"`);return{prefix:T,words:P}}return{encode:function(k,C,A=90){if("string"!=typeof k)throw new Error("bech32.encode prefix should be string, not "+typeof k);if(!Array.isArray(C)||C.length&&"number"!=typeof C[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof C);const S=k.length+7+C.length;if(!1!==A&&S>A)throw new TypeError(`Length ${S} exceeds limit ${A}`);return`${k=k.toLowerCase()}1${BECH_ALPHABET$1.encode(C)}${bechChecksum$1(k,C,s)}`},decode:y,decodeToBytes:function(k){const{prefix:C,words:A}=y(k,!1);return{prefix:C,words:A,bytes:n(A)}},decodeUnsafe:unsafeWrapper$1(y),fromWords:n,fromWordsUnsafe:l,toWords:a}}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,...s){if(!isBytes$2(i))throw new Error("Expected Uint8Array");if(s.length>0&&!s.includes(i.length))throw new Error(`Expected Uint8Array of length ${s}, 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,s=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(s&&i.finished)throw new Error("Hash#digest() has already been called")}function output$1(i,s){bytes$1(i);const o=s.outputLen;if(i.lengthnew DataView(i.buffer,i.byteOffset,i.byteLength),rotr=(i,s)=>i<<32-s|i>>>s,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,s)=>s.toString(16).padStart(2,"0"));function bytesToHex(i){if(!isBytes$1(i))throw new Error("Uint8Array expected");let s="";for(let o=0;o=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 s=i.length,o=s/2;if(s%2)throw new Error("padded hex string expected, got unpadded hex of length "+s);const n=new Uint8Array(o);for(let a=0,l=0;ai().update(toBytes$1(n)).digest(),o=i();return s.outputLen=o.outputLen,s.blockLen=o.blockLen,s.create=()=>i(),s}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,s){super(),this.finished=!1,this.destroyed=!1,hash$1(i);const o=toBytes$1(s);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 n=this.blockLen,a=new Uint8Array(n);a.set(o.length>n?i.create().update(o).digest():o);for(let l=0;lnew HMAC$1(i,s).update(o).digest();function pbkdf2Init(i,s,o,n){hash$1(i);const a=checkOpts$1({dkLen:32,asyncTick:10},n),{c:l,dkLen:y,asyncTick:k}=a;if(number$1(l),number$1(y),number$1(k),l<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const C=toBytes$1(s),A=toBytes$1(o),S=new Uint8Array(y),T=hmac$1.create(i,C),O=T._cloneInto().update(A);return{c:l,dkLen:y,asyncTick:k,DK:S,PRF:T,PRFSalt:O}}function pbkdf2Output(i,s,o,n,a){return i.destroy(),s.destroy(),n&&n.destroy(),a.fill(0),o}function pbkdf2(i,s,o,n){const{c:a,dkLen:l,DK:y,PRF:k,PRFSalt:C}=pbkdf2Init(i,s,o,n);let A;const S=new Uint8Array(4),T=createView(S),O=new Uint8Array(k.outputLen);for(let P=1,q=0;q>a&l),k=Number(o&l),A=n?0:4;i.setUint32(s+(n?4:0),y,n),i.setUint32(s+A,k,n)}hmac$1.create=(i,s)=>new HMAC$1(i,s);class SHA2 extends Hash{constructor(s,o,n,a){super(),this.blockLen=s,this.outputLen=o,this.padOffset=n,this.isLE=a,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(s),this.view=createView(this.buffer)}update(s){exists$1(this);const{view:o,buffer:n,blockLen:a}=this,l=(s=toBytes$1(s)).length;for(let y=0;ya-y&&(this.process(n,0),y=0);for(let T=y;TS.length)throw new Error("_sha2: outputLen bigger than state");for(let T=0;Ti&s^~i&o,Maj=(i,s,o)=>i&s^i&o^s&o,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:s,B:o,C:n,D:a,E:l,F:y,G:k,H:C}=this;return[s,o,n,a,l,y,k,C]}set(s,o,n,a,l,y,k,C){this.A=0|s,this.B=0|o,this.C=0|n,this.D=0|a,this.E=0|l,this.F=0|y,this.G=0|k,this.H=0|C}process(s,o){for(let T=0;T<16;T++,o+=4)SHA256_W[T]=s.getUint32(o,!1);for(let T=16;T<64;T++){const O=SHA256_W[T-15],P=SHA256_W[T-2],q=rotr(O,7)^rotr(O,18)^O>>>3,X=rotr(P,17)^rotr(P,19)^P>>>10;SHA256_W[T]=X+SHA256_W[T-7]+q+SHA256_W[T-16]|0}let{A:n,B:a,C:l,D:y,E:k,F:C,G:A,H:S}=this;for(let T=0;T<64;T++){const O=S+(rotr(k,6)^rotr(k,11)^rotr(k,25))+Chi(k,C,A)+SHA256_K[T]+SHA256_W[T]|0,P=(rotr(n,2)^rotr(n,13)^rotr(n,22))+Maj(n,a,l)|0;S=A,A=C,C=k,k=y+O|0,y=l,l=a,a=n,n=O+P|0}n=n+this.A|0,a=a+this.B|0,l=l+this.C|0,y=y+this.D|0,k=k+this.E|0,C=C+this.F|0,A=A+this.G|0,S=S+this.H|0,this.set(n,a,l,y,k,C,A,S)}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,s=!1){return s?{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,s=!1){let o=new Uint32Array(i.length),n=new Uint32Array(i.length);for(let a=0;aBigInt(i>>>0)<<_32n|BigInt(s>>>0),shrSH=(i,s,o)=>i>>>o,shrSL=(i,s,o)=>i<<32-o|s>>>o,rotrSH=(i,s,o)=>i>>>o|s<<32-o,rotrSL=(i,s,o)=>i<<32-o|s>>>o,rotrBH=(i,s,o)=>i<<64-o|s>>>o-32,rotrBL=(i,s,o)=>i>>>o-32|s<<64-o,rotr32H=(i,s)=>s,rotr32L=(i,s)=>i,rotlSH=(i,s,o)=>i<>>32-o,rotlSL=(i,s,o)=>s<>>32-o,rotlBH=(i,s,o)=>s<>>64-o,rotlBL=(i,s,o)=>i<>>64-o;function add(i,s,o,n){const a=(s>>>0)+(n>>>0);return{h:i+o+(a/2**32|0)|0,l:0|a}}const add3L=(i,s,o)=>(i>>>0)+(s>>>0)+(o>>>0),add3H=(i,s,o,n)=>s+o+n+(i/2**32|0)|0,add4L=(i,s,o,n)=>(i>>>0)+(s>>>0)+(o>>>0)+(n>>>0),add4H=(i,s,o,n,a)=>s+o+n+a+(i/2**32|0)|0,add5L=(i,s,o,n,a)=>(i>>>0)+(s>>>0)+(o>>>0)+(n>>>0)+(a>>>0),add5H=(i,s,o,n,a,l)=>s+o+n+a+l+(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:s,Al:o,Bh:n,Bl:a,Ch:l,Cl:y,Dh:k,Dl:C,Eh:A,El:S,Fh:T,Fl:O,Gh:P,Gl:q,Hh:X,Hl:J}=this;return[s,o,n,a,l,y,k,C,A,S,T,O,P,q,X,J]}set(s,o,n,a,l,y,k,C,A,S,T,O,P,q,X,J){this.Ah=0|s,this.Al=0|o,this.Bh=0|n,this.Bl=0|a,this.Ch=0|l,this.Cl=0|y,this.Dh=0|k,this.Dl=0|C,this.Eh=0|A,this.El=0|S,this.Fh=0|T,this.Fl=0|O,this.Gh=0|P,this.Gl=0|q,this.Hh=0|X,this.Hl=0|J}process(s,o){for(let pt=0;pt<16;pt++,o+=4)SHA512_W_H[pt]=s.getUint32(o),SHA512_W_L[pt]=s.getUint32(o+=4);for(let pt=16;pt<80;pt++){const kt=0|SHA512_W_H[pt-15],Et=0|SHA512_W_L[pt-15],It=u64.rotrSH(kt,Et,1)^u64.rotrSH(kt,Et,8)^u64.shrSH(kt,Et,7),yt=u64.rotrSL(kt,Et,1)^u64.rotrSL(kt,Et,8)^u64.shrSL(kt,Et,7),_t=0|SHA512_W_H[pt-2],at=0|SHA512_W_L[pt-2],st=u64.rotrSH(_t,at,19)^u64.rotrBH(_t,at,61)^u64.shrSH(_t,at,6),vt=u64.rotrSL(_t,at,19)^u64.rotrBL(_t,at,61)^u64.shrSL(_t,at,6),Pt=u64.add4L(yt,vt,SHA512_W_L[pt-7],SHA512_W_L[pt-16]),ae=u64.add4H(Pt,It,st,SHA512_W_H[pt-7],SHA512_W_H[pt-16]);SHA512_W_H[pt]=0|ae,SHA512_W_L[pt]=0|Pt}let{Ah:n,Al:a,Bh:l,Bl:y,Ch:k,Cl:C,Dh:A,Dl:S,Eh:T,El:O,Fh:P,Fl:q,Gh:X,Gl:J,Hh:ht,Hl:ct}=this;for(let pt=0;pt<80;pt++){const kt=u64.rotrSH(T,O,14)^u64.rotrSH(T,O,18)^u64.rotrBH(T,O,41),Et=u64.rotrSL(T,O,14)^u64.rotrSL(T,O,18)^u64.rotrBL(T,O,41),It=T&P^~T&X,_t=u64.add5L(ct,Et,O&q^~O&J,SHA512_Kl[pt],SHA512_W_L[pt]),at=u64.add5H(_t,ht,kt,It,SHA512_Kh[pt],SHA512_W_H[pt]),st=0|_t,vt=u64.rotrSH(n,a,28)^u64.rotrBH(n,a,34)^u64.rotrBH(n,a,39),Pt=u64.rotrSL(n,a,28)^u64.rotrBL(n,a,34)^u64.rotrBL(n,a,39),ae=n&l^n&k^l&k,le=a&y^a&C^y&C;ht=0|X,ct=0|J,X=0|P,J=0|q,P=0|T,q=0|O,({h:T,l:O}=u64.add(0|A,0|S,0|at,0|st)),A=0|k,S=0|C,k=0|l,C=0|y,l=0|n,y=0|a;const ve=u64.add3L(st,Pt,le);n=u64.add3H(ve,at,vt,ae),a=0|ve}({h:n,l:a}=u64.add(0|this.Ah,0|this.Al,0|n,0|a)),({h:l,l:y}=u64.add(0|this.Bh,0|this.Bl,0|l,0|y)),({h:k,l:C}=u64.add(0|this.Ch,0|this.Cl,0|k,0|C)),({h:A,l:S}=u64.add(0|this.Dh,0|this.Dl,0|A,0|S)),({h:T,l:O}=u64.add(0|this.Eh,0|this.El,0|T,0|O)),({h:P,l:q}=u64.add(0|this.Fh,0|this.Fl,0|P,0|q)),({h:X,l:J}=u64.add(0|this.Gh,0|this.Gl,0|X,0|J)),({h:ht,l:ct}=u64.add(0|this.Hh,0|this.Hl,0|ht,0|ct)),this.set(n,a,l,y,k,C,A,S,T,O,P,q,X,J,ht,ct)}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 s=n=>n,o=(n,a)=>l=>n(a(l));return{encode:i.map(n=>n.encode).reduceRight(o,s),decode:i.map(n=>n.decode).reduce(o,s)}}function alphabet(i){return{encode:s=>{if(!Array.isArray(s)||s.length&&"number"!=typeof s[0])throw new Error("alphabet.encode input should be an array of numbers");return s.map(o=>{if(o<0||o>=i.length)throw new Error(`Digit index outside alphabet: ${o} (alphabet: ${i.length})`);return i[o]})},decode:s=>{if(!Array.isArray(s)||s.length&&"string"!=typeof s[0])throw new Error("alphabet.decode input should be array of strings");return s.map(o=>{if("string"!=typeof o)throw new Error(`alphabet.decode: not string element=${o}`);const n=i.indexOf(o);if(-1===n)throw new Error(`Unknown letter: "${o}". Allowed: ${i}`);return n})}}}function join(i=""){if("string"!=typeof i)throw new Error("join separator should be string");return{encode:s=>{if(!Array.isArray(s)||s.length&&"string"!=typeof s[0])throw new Error("join.encode input should be array of strings");for(let o of s)if("string"!=typeof o)throw new Error(`join.encode: non-string input=${o}`);return s.join(i)},decode:s=>{if("string"!=typeof s)throw new Error("join.decode input should be string");return s.split(i)}}}function padding(i,s="="){if("string"!=typeof s)throw new Error("padding chr should be string");return{encode(o){if(!Array.isArray(o)||o.length&&"string"!=typeof o[0])throw new Error("padding.encode input should be array of strings");for(let n of o)if("string"!=typeof n)throw new Error(`padding.encode: non-string input=${n}`);for(;o.length*i%8;)o.push(s);return o},decode(o){if(!Array.isArray(o)||o.length&&"string"!=typeof o[0])throw new Error("padding.encode input should be array of strings");for(let a of o)if("string"!=typeof a)throw new Error(`padding.decode: non-string input=${a}`);let n=o.length;if(n*i%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;n>0&&o[n-1]===s;n--)if(!((n-1)*i%8))throw new Error("Invalid padding: string has too much padding");return o.slice(0,n)}}}function convertRadix(i,s,o){if(s<2)throw new Error(`convertRadix: wrong from=${s}, base cannot be less than 2`);if(o<2)throw new Error(`convertRadix: wrong to=${o}, base cannot be less than 2`);if(!Array.isArray(i))throw new Error("convertRadix: data should be array");if(!i.length)return[];let n=0;const a=[],l=Array.from(i);for(l.forEach(y=>{if(y<0||y>=s)throw new Error(`Wrong integer: ${y}`)});;){let y=0,k=!0;for(let C=n;Cs?gcd(s,i%s):i,radix2carry=(i,s)=>i+(s-gcd(i,s));function convertRadix2(i,s,o,n){if(!Array.isArray(i))throw new Error("convertRadix2: data should be array");if(s<=0||s>32)throw new Error(`convertRadix2: wrong from=${s}`);if(o<=0||o>32)throw new Error(`convertRadix2: wrong to=${o}`);if(radix2carry(s,o)>32)throw new Error(`convertRadix2: carry overflow from=${s} to=${o} carryBits=${radix2carry(s,o)}`);let a=0,l=0;const y=2**o-1,k=[];for(const C of i){if(C>=2**s)throw new Error(`convertRadix2: invalid data word=${C} from=${s}`);if(a=a<32)throw new Error(`convertRadix2: carry overflow pos=${l} from=${s}`);for(l+=s;l>=o;l-=o)k.push((a>>l-o&y)>>>0);a&=2**l-1}if(a=a<=s)throw new Error("Excess padding");if(!n&&a)throw new Error(`Non-zero padding: ${a}`);return n&&l>0&&k.push(a>>>0),k}function radix(i){return{encode:s=>{if(!isBytes(s))throw new Error("radix.encode input should be Uint8Array");return convertRadix(Array.from(s),256,i)},decode:s=>{if(!Array.isArray(s)||s.length&&"number"!=typeof s[0])throw new Error("radix.decode input should be array of numbers");return Uint8Array.from(convertRadix(s,i,256))}}}function radix2(i,s=!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:o=>{if(!isBytes(o))throw new Error("radix2.encode input should be Uint8Array");return convertRadix2(Array.from(o),8,i,!s)},decode:o=>{if(!Array.isArray(o)||o.length&&"number"!=typeof o[0])throw new Error("radix2.decode input should be array of numbers");return Uint8Array.from(convertRadix2(o,i,8,s))}}}function unsafeWrapper(i){if("function"!=typeof i)throw new Error("unsafeWrapper fn should be function");return function(...s){try{return i.apply(null,s)}catch{}}}function checksum(i,s){if("function"!=typeof s)throw new Error("checksum fn should be function");return{encode(o){if(!isBytes(o))throw new Error("checksum.encode: input should be Uint8Array");const n=s(o).slice(0,i),a=new Uint8Array(o.length+i);return a.set(o),a.set(n,o.length),a},decode(o){if(!isBytes(o))throw new Error("checksum.decode: input should be Uint8Array");const n=o.slice(0,-i),a=s(n).slice(0,i),l=o.slice(-i);for(let y=0;ychain(radix(58),alphabet(i),join("")),base58=genBase58("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),createBase58check=i=>chain(checksum(4,s=>i(i(s))),base58),base58check$1=createBase58check,BECH_ALPHABET=chain(alphabet("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),join("")),POLYMOD_GENERATORS=[996825010,642813549,513874426,1027748829,705979059];function bech32Polymod(i){const s=i>>25;let o=(33554431&i)<<5;for(let n=0;n>n&1)&&(o^=POLYMOD_GENERATORS[n]);return o}function bechChecksum(i,s,o=1){const n=i.length;let a=1;for(let l=0;l126)throw new Error(`Invalid prefix (${i})`);a=bech32Polymod(a)^y>>5}a=bech32Polymod(a);for(let l=0;lC)throw new TypeError(`Wrong string length: ${k.length} (${k}). Expected (8..${C})`);const A=k.toLowerCase();if(k!==A&&k!==k.toUpperCase())throw new Error("String must be lowercase or uppercase");const S=(k=A).lastIndexOf("1");if(0===S||-1===S)throw new Error('Letter "1" must be present between prefix and data only');const T=k.slice(0,S),O=k.slice(S+1);if(O.length<6)throw new Error("Data must be at least 6 characters long");const P=BECH_ALPHABET.decode(O).slice(0,-6),q=bechChecksum(T,P,s);if(!O.endsWith(q))throw new Error(`Invalid checksum in ${k}: expected "${q}"`);return{prefix:T,words:P}}return{encode:function(k,C,A=90){if("string"!=typeof k)throw new Error("bech32.encode prefix should be string, not "+typeof k);if(!Array.isArray(C)||C.length&&"number"!=typeof C[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof C);const S=k.length+7+C.length;if(!1!==A&&S>A)throw new TypeError(`Length ${S} exceeds limit ${A}`);const T=k.toLowerCase(),O=bechChecksum(T,C,s);return`${T}1${BECH_ALPHABET.encode(C)}${O}`},decode:y,decodeToBytes:function(k){const{prefix:C,words:A}=y(k,!1);return{prefix:C,words:A,bytes:n(A)}},decodeUnsafe:unsafeWrapper(y),fromWords:n,fromWordsUnsafe:l,toWords:a}}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 s=nfkd(i),o=s.split(" ");if(![12,15,18,21,24].includes(o.length))throw new Error("Invalid mnemonic");return{nfkd:s,words:o}}function assertEntropy(i){assert$1.bytes(i,16,20,24,28,32)}function generateMnemonic(i,s=128){if(assert$1.number(s),s%32!=0||s>256)throw new TypeError("Invalid entropy");return entropyToMnemonic(randomBytes(s/8),i)}const calcChecksum=i=>{const s=8-i.length/4;return new Uint8Array([sha256(i)[0]>>s<{if("string"!=typeof s)throw new Error(`Wordlist: non-string element: ${s}`)}),utils$1.chain(utils$1.checksum(1,calcChecksum),utils$1.radix2(11,!0),utils$1.alphabet(i))}function mnemonicToEntropy(i,s){const{words:o}=normalize(i),n=getCoder(s).decode(o);return assertEntropy(n),n}function entropyToMnemonic(i,s){return assertEntropy(i),getCoder(s).encode(i).join(isJapanese(s)?"\u3000":" ")}function validateMnemonic(i,s){try{mnemonicToEntropy(i,s)}catch{return!1}return!0}const salt=i=>nfkd(`mnemonic${i}`);function mnemonicToSeedSync(i,s=""){return pbkdf2(sha512,normalize(i).nfkd,salt(s),{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,s)=>s),Pi=Id.map(i=>(9*i+5)%16);let idxL=[Id],idxR=[Pi];for(let i=0;i<4;i++)for(let s of[idxL,idxR])s.push(s[i].map(o=>Rho[o]));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,s)=>i.map(o=>shifts[s][o])),shiftsR=idxR.map((i,s)=>i.map(o=>shifts[s][o])),Kl=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),Kr=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),rotl$1=(i,s)=>i<>>32-s;function f(i,s,o,n){return 0===i?s^o^n:1===i?s&o|~s&n:2===i?(s|~o)^n:3===i?s&n|o&~n:s^(o|~n)}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:s,h1:o,h2:n,h3:a,h4:l}=this;return[s,o,n,a,l]}set(s,o,n,a,l){this.h0=0|s,this.h1=0|o,this.h2=0|n,this.h3=0|a,this.h4=0|l}process(s,o){for(let P=0;P<16;P++,o+=4)BUF[P]=s.getUint32(o,!0);let n=0|this.h0,a=n,l=0|this.h1,y=l,k=0|this.h2,C=k,A=0|this.h3,S=A,T=0|this.h4,O=T;for(let P=0;P<5;P++){const q=4-P,X=Kl[P],J=Kr[P],ht=idxL[P],ct=idxR[P],pt=shiftsL[P],kt=shiftsR[P];for(let Et=0;Et<16;Et++){const It=rotl$1(n+f(P,l,k,A)+BUF[ht[Et]]+X,pt[Et])+T|0;n=T,T=A,A=0|rotl$1(k,10),k=l,l=It}for(let Et=0;Et<16;Et++){const It=rotl$1(a+f(q,y,C,S)+BUF[ct[Et]]+J,kt[Et])+O|0;a=O,O=S,S=0|rotl$1(C,10),C=y,y=It}}this.set(this.h1+k+S|0,this.h2+A+O|0,this.h3+T+a|0,this.h4+n+y|0,this.h0+l+C|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 s=new Uint8Array(4);return createView(s).setUint32(0,i,!1),s};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 s=this.privateKey;if(!s)throw new Error("No private key");return base58check.encode(this.serialize(this.versions.private,concatBytes(new Uint8Array([0]),s)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return base58check.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(s,o=BITCOIN_VERSIONS){if(bytes$1(s),8*s.length<128||8*s.length>512)throw new Error(`HDKey: wrong seed length=${s.length}. Should be between 128 and 512 bits; 256 bits is advised)`);const n=hmac$1(sha512,MASTER_SECRET,s);return new HDKey({versions:o,chainCode:n.slice(32),privateKey:n.slice(0,32)})}static fromExtendedKey(s,o=BITCOIN_VERSIONS){const n=base58check.decode(s),a=createView(n),l=a.getUint32(0,!1),y={versions:o,depth:n[4],parentFingerprint:a.getUint32(5,!1),index:a.getUint32(9,!1),chainCode:n.slice(13,45)},k=n.slice(45),C=0===k[0];if(l!==o[C?"private":"public"])throw new Error("Version mismatch");return new HDKey(C?{...y,privateKey:k.slice(1)}:{...y,publicKey:k})}static fromJSON(s){return HDKey.fromExtendedKey(s.xpriv)}constructor(s){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!s||"object"!=typeof s)throw new Error("HDKey.constructor must not be called directly");if(this.versions=s.versions||BITCOIN_VERSIONS,this.depth=s.depth||0,this.chainCode=s.chainCode,this.index=s.index||0,this.parentFingerprint=s.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(s.publicKey&&s.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(s.privateKey){if(!secp256k1.utils.isValidPrivateKey(s.privateKey))throw new Error("Invalid private key");this.privKey="bigint"==typeof s.privateKey?s.privateKey:bytesToNumber(s.privateKey),this.privKeyBytes=numberToBytes(this.privKey),this.pubKey=secp256k1.getPublicKey(s.privateKey,!0)}else{if(!s.publicKey)throw new Error("HDKey: no public or private key provided");this.pubKey=Point.fromHex(s.publicKey).toRawBytes(!0)}this.pubHash=hash160(this.pubKey)}derive(s){if(!/^[mM]'?/.test(s))throw new Error('Path must start with "m" or "M"');if(/^[mM]'?$/.test(s))return this;const o=s.replace(/^[mM]'?\//,"").split("/");let n=this;for(const a of o){const l=/^(\d+)('?)$/.exec(a);if(!l||3!==l.length)throw new Error(`Invalid child index: ${a}`);let y=+l[1];if(!Number.isSafeInteger(y)||y>=HARDENED_OFFSET)throw new Error("Invalid index");"'"===l[2]&&(y+=HARDENED_OFFSET),n=n.deriveChild(y)}return n}deriveChild(s){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let o=toU32(s);if(s>=HARDENED_OFFSET){const k=this.privateKey;if(!k)throw new Error("Could not derive hardened child key");o=concatBytes(new Uint8Array([0]),k,o)}else o=concatBytes(this.pubKey,o);const n=hmac$1(sha512,this.chainCode,o),a=bytesToNumber(n.slice(0,32)),l=n.slice(32);if(!secp256k1.utils.isValidPrivateKey(a))throw new Error("Tweak bigger than curve order");const y={versions:this.versions,chainCode:l,depth:this.depth+1,parentFingerprint:this.fingerprint,index:s};try{if(this.privateKey){const k=mod(this.privKey+a,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(a));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(s+1)}}sign(s){if(!this.privateKey)throw new Error("No privateKey set!");return bytes$1(s,32),secp256k1.sign(s,this.privKey).toCompactRawBytes()}verify(s,o){if(bytes$1(s,32),bytes$1(o,64),!this.publicKey)throw new Error("No publicKey set!");let n;try{n=secp256k1.Signature.fromCompact(o)}catch{return!1}return secp256k1.verify(n,s,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(s,o){if(!this.chainCode)throw new Error("No chainCode set");return bytes$1(o,33),concatBytes(toU32(s),new Uint8Array([this.depth]),toU32(this.parentFingerprint),toU32(this.index),this.chainCode,o)}}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,s){if(void 0!==s&&("object"!=typeof s||!isPlainObject(s)))throw new Error("options must be object or undefined");return Object.assign(i,s)}function ensureBytes(i,s){if(!(i instanceof Uint8Array))throw new Error("Uint8Array expected");if("number"==typeof s&&i.length!==s)throw new Error(`Uint8Array length ${s} expected`)}function equalBytes(i,s){if(i.length!==s.length)throw new Error("equalBytes: Different size of Uint8Arrays");let o=!0;for(let n=0;n0&&!s.includes(i.length))throw new Error(`Expected Uint8Array of length ${s}, 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,s=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(s&&i.finished)throw new Error("Hash#digest() has already been called")}function output(i,s){bytes(i);const o=s.outputLen;if(i.length255&i[s++]|(255&i[s++])<<8;class Poly1305{constructor(s){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(s=toBytes(s),32);const o=u8to16(s,0),n=u8to16(s,2),a=u8to16(s,4),l=u8to16(s,6),y=u8to16(s,8),k=u8to16(s,10),C=u8to16(s,12),A=u8to16(s,14);this.r[0]=8191&o,this.r[1]=8191&(o>>>13|n<<3),this.r[2]=7939&(n>>>10|a<<6),this.r[3]=8191&(a>>>7|l<<9),this.r[4]=255&(l>>>4|y<<12),this.r[5]=y>>>1&8190,this.r[6]=8191&(y>>>14|k<<2),this.r[7]=8065&(k>>>11|C<<5),this.r[8]=8191&(C>>>8|A<<8),this.r[9]=A>>>5&127;for(let S=0;S<8;S++)this.pad[S]=u8to16(s,16+2*S)}process(s,o,n=!1){const a=n?0:2048,{h:l,r:y}=this,k=y[0],C=y[1],A=y[2],S=y[3],T=y[4],O=y[5],P=y[6],q=y[7],X=y[8],J=y[9],ht=u8to16(s,o+0),ct=u8to16(s,o+2),pt=u8to16(s,o+4),kt=u8to16(s,o+6),Et=u8to16(s,o+8),It=u8to16(s,o+10),yt=u8to16(s,o+12),_t=u8to16(s,o+14);let at=l[0]+(8191&ht),st=l[1]+(8191&(ht>>>13|ct<<3)),vt=l[2]+(8191&(ct>>>10|pt<<6)),Pt=l[3]+(8191&(pt>>>7|kt<<9)),ae=l[4]+(8191&(kt>>>4|Et<<12)),le=l[5]+(Et>>>1&8191),ve=l[6]+(8191&(Et>>>14|It<<2)),se=l[7]+(8191&(It>>>11|yt<<5)),or=l[8]+(8191&(yt>>>8|_t<<8)),fr=l[9]+(_t>>>5|a),yr=0,jr=yr+at*k+st*(5*J)+vt*(5*X)+Pt*(5*q)+ae*(5*P);yr=jr>>>13,jr&=8191,jr+=le*(5*O)+ve*(5*T)+se*(5*S)+or*(5*A)+fr*(5*C),yr+=jr>>>13,jr&=8191;let wr=yr+at*C+st*k+vt*(5*J)+Pt*(5*X)+ae*(5*q);yr=wr>>>13,wr&=8191,wr+=le*(5*P)+ve*(5*O)+se*(5*T)+or*(5*S)+fr*(5*A),yr+=wr>>>13,wr&=8191;let Qt=yr+at*A+st*C+vt*k+Pt*(5*J)+ae*(5*X);yr=Qt>>>13,Qt&=8191,Qt+=le*(5*q)+ve*(5*P)+se*(5*O)+or*(5*T)+fr*(5*S),yr+=Qt>>>13,Qt&=8191;let be=yr+at*S+st*A+vt*C+Pt*k+ae*(5*J);yr=be>>>13,be&=8191,be+=le*(5*X)+ve*(5*q)+se*(5*P)+or*(5*O)+fr*(5*T),yr+=be>>>13,be&=8191;let Ht=yr+at*T+st*S+vt*A+Pt*C+ae*k;yr=Ht>>>13,Ht&=8191,Ht+=le*(5*J)+ve*(5*X)+se*(5*q)+or*(5*P)+fr*(5*O),yr+=Ht>>>13,Ht&=8191;let Bt=yr+at*O+st*T+vt*S+Pt*A+ae*C;yr=Bt>>>13,Bt&=8191,Bt+=le*k+ve*(5*J)+se*(5*X)+or*(5*q)+fr*(5*P),yr+=Bt>>>13,Bt&=8191;let Fe=yr+at*P+st*O+vt*T+Pt*S+ae*A;yr=Fe>>>13,Fe&=8191,Fe+=le*C+ve*k+se*(5*J)+or*(5*X)+fr*(5*q),yr+=Fe>>>13,Fe&=8191;let zt=yr+at*q+st*P+vt*O+Pt*T+ae*S;yr=zt>>>13,zt&=8191,zt+=le*A+ve*C+se*k+or*(5*J)+fr*(5*X),yr+=zt>>>13,zt&=8191;let Yt=yr+at*X+st*q+vt*P+Pt*O+ae*T;yr=Yt>>>13,Yt&=8191,Yt+=le*S+ve*A+se*C+or*k+fr*(5*J),yr+=Yt>>>13,Yt&=8191;let oe=yr+at*J+st*X+vt*q+Pt*P+ae*O;yr=oe>>>13,oe&=8191,oe+=le*T+ve*S+se*A+or*C+fr*k,yr+=oe>>>13,oe&=8191,yr=(yr<<2)+yr|0,yr=yr+jr|0,jr=8191&yr,yr>>>=13,wr+=yr,l[0]=jr,l[1]=wr,l[2]=Qt,l[3]=be,l[4]=Ht,l[5]=Bt,l[6]=Fe,l[7]=zt,l[8]=Yt,l[9]=oe}finalize(){const{h:s,pad:o}=this,n=new Uint16Array(10);let a=s[1]>>>13;s[1]&=8191;for(let k=2;k<10;k++)s[k]+=a,a=s[k]>>>13,s[k]&=8191;s[0]+=5*a,a=s[0]>>>13,s[0]&=8191,s[1]+=a,a=s[1]>>>13,s[1]&=8191,s[2]+=a,n[0]=s[0]+5,a=n[0]>>>13,n[0]&=8191;for(let k=1;k<10;k++)n[k]=s[k]+a,a=n[k]>>>13,n[k]&=8191;n[9]-=8192;let l=(1^a)-1;for(let k=0;k<10;k++)n[k]&=l;l=~l;for(let k=0;k<10;k++)s[k]=s[k]&l|n[k];s[0]=65535&(s[0]|s[1]<<13),s[1]=65535&(s[1]>>>3|s[2]<<10),s[2]=65535&(s[2]>>>6|s[3]<<7),s[3]=65535&(s[3]>>>9|s[4]<<4),s[4]=65535&(s[4]>>>12|s[5]<<1|s[6]<<14),s[5]=65535&(s[6]>>>2|s[7]<<11),s[6]=65535&(s[7]>>>5|s[8]<<8),s[7]=65535&(s[8]>>>8|s[9]<<5);let y=s[0]+o[0];s[0]=65535&y;for(let k=1;k<8;k++)y=(s[k]+o[k]|0)+(y>>>16)|0,s[k]=65535&y}update(s){assert.exists(this);const{buffer:o,blockLen:n}=this,a=(s=toBytes(s)).length;for(let l=0;l>>0,s[l++]=n[y]>>>8;return s}digest(){const{buffer:s,outputLen:o}=this;this.digestInto(s);const n=s.slice(0,o);return this.destroy(),n}}function wrapConstructorWithKey(i){const s=(n,a)=>i(a).update(toBytes(n)).digest(),o=i(new Uint8Array(32));return s.outputLen=o.outputLen,s.blockLen=o.blockLen,s.create=n=>i(n),s}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:s,rounds:o,counterRight:n,counterLen:a,allow128bitKeys:l,extendNonceFn:y,blockLen:k}=checkOpts({rounds:20,counterRight:!1,counterLen:8,allow128bitKeys:!0,blockLen:64},i);assert.number(a),assert.number(o),assert.number(k),assert.bool(n),assert.bool(l);const C=k/4;if(k%4!=0)throw new Error("Salsa/ChaCha: blockLen must be aligned to 4 bytes");return(A,S,T,O,P=0)=>{if(assert.bytes(A),assert.bytes(S),assert.bytes(T),O||(O=new Uint8Array(T.length)),assert.bytes(O),assert.number(P),P<0||P>=2**32-1)throw new Error("Salsa/ChaCha: counter overflow");if(O.length=2**32-1)throw new Error("Salsa/ChaCha: counter overflow");const vt=Math.min(k,_t-at);if(vt===k&&yt&&It){const Pt=at/4;if(at%4!=0)throw new Error("Salsa/ChaCha: invalid block position");for(let ae=0;aei<>>32-s;function chachaCore(i,s,o,n,a,l=20){let y=i[0],k=i[1],C=i[2],A=i[3],S=s[0],T=s[1],O=s[2],P=s[3],q=s[4],X=s[5],J=s[6],ht=s[7],ct=a,pt=o[0],kt=o[1],Et=o[2],It=y,yt=k,_t=C,at=A,st=S,vt=T,Pt=O,ae=P,le=q,ve=X,se=J,or=ht,fr=ct,yr=pt,jr=kt,wr=Et;for(let be=0;bea?s.create().update(n).digest():n);for(let y=0;ynew HMAC(i,s).update(o).digest();function extract$1(i,s,o){return assert$2.hash(i),void 0===o&&(o=new Uint8Array(i.outputLen)),hmac(i,toBytes$2(o),toBytes$2(s))}hmac.create=(i,s)=>new HMAC(i,s);const HKDF_COUNTER$1=new Uint8Array([0]),EMPTY_BUFFER$1=new Uint8Array;function expand$1(i,s,o,n=32){if(assert$2.hash(i),assert$2.number(n),n>255*i.outputLen)throw new Error("Length should be <= 255*HashLen");const a=Math.ceil(n/i.outputLen);void 0===o&&(o=EMPTY_BUFFER$1);const l=new Uint8Array(a*i.outputLen),y=hmac.create(i,s),k=y._cloneInto(),C=new Uint8Array(y.outputLen);for(let A=0;Aexpand$1(i,extract$1(i,s,o),n,a);var __defProp=Object.defineProperty,__export=(i,s)=>{for(var o in s)__defProp(i,o,{get:s[o],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 s=new URL(i);return s.pathname=s.pathname.replace(/\/+/g,"/"),s.pathname.endsWith("/")&&(s.pathname=s.pathname.slice(0,-1)),("80"===s.port&&"ws:"===s.protocol||"443"===s.port&&"wss:"===s.protocol)&&(s.port=""),s.searchParams.sort(),s.hash="",s.toString()}function insertEventIntoDescendingList(i,s){let o,n=0,a=i.length-1,l=n;if(a<0)l=0;else if(s.created_at=i[n].created_at)l=n;else for(;;){if(a<=n+1){l=a;break}if(o=Math.floor(n+(a-n)/2),i[o].created_at>s.created_at)n=o;else{if(!(i[o].created_ati[a].created_at)l=a+1;else if(s.created_at<=i[n].created_at)l=n;else for(;;){if(a<=n+1){l=a;break}if(o=Math.floor(n+(a-n)/2),i[o].created_ats.created_at)){l=o;break}a=o}}return i[l]?.id!==s.id?[...i.slice(0,l),s,...i.slice(l)]: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 s=new MessageNode(i);return 0!==this._size&&this._last?(this._last.next=s,this._last=s):(this._first=s,this._last=s),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,s){const o=i;return o.pubkey=getPublicKey(s),o.id=getEventHash(o),o.sig=getSignature(o,s),o[verifiedSymbol]=!0,o}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 s=0;ss.id.startsWith(o))||i.kinds&&-1===i.kinds.indexOf(s.kind)||i.authors&&-1===i.authors.indexOf(s.pubkey)&&!i.authors.some(o=>s.pubkey.startsWith(o)))return!1;for(let o in i)if("#"===o[0]){let n=i[`#${o.slice(1)}`];if(n&&!s.tags.find(([a,l])=>a===o.slice(1)&&-1!==n.indexOf(l)))return!1}return!(i.since&&s.created_ati.until)}function matchFilters(i,s){for(let o=0;ogetHex64,getInt:()=>getInt,getSubscriptionId:()=>getSubscriptionId,matchEventId:()=>matchEventId,matchEventKind:()=>matchEventKind,matchEventPubkey:()=>matchEventPubkey});var newListeners=()=>({connect:[],disconnect:[],error:[],notice:[],auth:[]});function relayInit(i,s={}){let{listTimeout:o=3e3,getTimeout:n=3e3,countTimeout:a=3e3}=s;var l,y,k={},C=newListeners(),A={},S={};function T(){return 1===l?.readyState}function O(J){return P.apply(this,arguments)}function P(){return(P=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(J){let ht=JSON.stringify(J);if(T()||(yield new Promise(ct=>setTimeout(ct,1e3)),T()))try{l.send(ht)}catch(ct){console.log(ct)}})).apply(this,arguments)}const q=(J,{verb:ht="REQ",skipVerification:ct=!1,alreadyHaveEvent:pt=null,id:kt=Math.random().toString().slice(2)}={})=>{let Et=kt;k[Et]={id:Et,filters:J,skipVerification:ct,alreadyHaveEvent:pt},O([ht,Et,...J]);let It={sub:(yt,_t={})=>q(yt||J,{skipVerification:_t.skipVerification||ct,alreadyHaveEvent:_t.alreadyHaveEvent||pt,id:Et}),unsub:()=>{delete k[Et],delete A[Et],O(["CLOSE",Et])},on:(yt,_t)=>{A[Et]=A[Et]||{event:[],count:[],eose:[]},A[Et][yt].push(_t)},off:(yt,_t)=>{let at=A[Et],st=at[yt].indexOf(_t);st>=0&&at[yt].splice(st,1)},get events(){return eventsGenerator(It)}};return It};function X(J,ht){return new Promise((ct,pt)=>{if(!J.id)return void pt(new Error(`event ${J} has no id`));let kt=J.id;O([ht,J]),S[kt]={resolve:ct,reject:pt}})}return{url:i,sub:q,on:(J,ht)=>{C[J].push(ht),"connect"===J&&1===l?.readyState&&ht()},off:(J,ht)=>{let ct=C[J].indexOf(ht);-1!==ct&&C[J].splice(ct,1)},list:(J,ht)=>new Promise(ct=>{let pt=q(J,ht),kt=[],Et=setTimeout(()=>{pt.unsub(),ct(kt)},o);pt.on("eose",()=>{pt.unsub(),clearTimeout(Et),ct(kt)}),pt.on("event",It=>{kt.push(It)})}),get:(J,ht)=>new Promise(ct=>{let pt=q([J],ht),kt=setTimeout(()=>{pt.unsub(),ct(null)},n);pt.on("event",Et=>{pt.unsub(),clearTimeout(kt),ct(Et)})}),count:J=>new Promise(ht=>{let ct=q(J,{...q,verb:"COUNT"}),pt=setTimeout(()=>{ct.unsub(),ht(null)},a);ct.on("count",kt=>{ct.unsub(),clearTimeout(pt),ht(kt)})}),publish:J=>(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){yield X(J,"EVENT")})(),auth:J=>(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){yield X(J,"AUTH")})(),connect:(J=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return y||(y=new Promise((ht,ct)=>{try{l=new WebSocket(i)}catch(It){ct(It)}l.onopen=()=>{C.connect.forEach(It=>It()),ht()},l.onerror=()=>{y=void 0,C.error.forEach(It=>It()),ct()},l.onclose=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){y=void 0,C.disconnect.forEach(It=>It())});let pt,kt=new MessageQueue;function Et(){if(0===kt.size)return clearInterval(pt),void(pt=null);var It=kt.dequeue();if(!It)return;let yt=getSubscriptionId(It);if(yt){let _t=k[yt];if(_t&&_t.alreadyHaveEvent&&_t.alreadyHaveEvent(getHex64(It,"id"),i))return}try{let _t=JSON.parse(It);switch(_t[0]){case"EVENT":{let Pt=_t[1],ae=_t[2];return void(validateEvent(ae)&&k[Pt]&&(k[Pt].skipVerification||verifySignature(ae))&&matchFilters(k[Pt].filters,ae)&&(A[Pt]?.event||[]).forEach(le=>le(ae)))}case"COUNT":let at=_t[1],st=_t[2];return void(k[at]&&(A[at]?.count||[]).forEach(Pt=>Pt(st)));case"EOSE":{let Pt=_t[1];return void(Pt in A&&(A[Pt].eose.forEach(ae=>ae()),A[Pt].eose=[]))}case"OK":{let Pt=_t[1],ae=_t[2],le=_t[3]||"";if(Pt in S){let{resolve:ve,reject:se}=S[Pt];ae?ve(null):se(new Error(le))}return}case"NOTICE":let vt=_t[1];return void C.notice.forEach(Pt=>Pt(vt));case"AUTH":{let Pt=_t[1];return void C.auth?.forEach(ae=>ae(Pt))}}}catch{return}}l.onmessage=It=>{kt.enqueue(It.data),pt||(pt=setInterval(Et,0))}}))})())}),function(){return J.apply(this,arguments)}),close(){C=newListeners(),A={},S={},l?.readyState===WebSocket.OPEN&&l.close()},get status(){return l?.readyState??3}};var J}function eventsGenerator(i){return _eventsGenerator.apply(this,arguments)}function _eventsGenerator(){return _eventsGenerator=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_wrapAsyncGenerator_js__WEBPACK_IMPORTED_MODULE_0__.A)(function*(i){let s;const o=[],n=a=>{s?(s(a),s=void 0):o.push(a)};i.on("event",n);try{for(;;)o.length>0?yield o.shift():yield yield(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_awaitAsyncGenerator_js__WEBPACK_IMPORTED_MODULE_2__.A)(new Promise(l=>{s=l}))}finally{i.off("event",n)}}),_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 s=new Uint8Array(4);return s[0]=i>>24&255,s[1]=i>>16&255,s[2]=i>>8&255,s[3]=255&i,s}function decode(i){let{prefix:s,words:o}=bech32$1.decode(i,Bech32MaxSize),n=new Uint8Array(bech32$1.fromWords(o));switch(s){case"nprofile":{let a=parseTLV(n);if(!a[0]?.[0])throw new Error("missing TLV 0 for nprofile");if(32!==a[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nprofile",data:{pubkey:bytesToHex$1(a[0][0]),relays:a[1]?a[1].map(l=>utf8Decoder.decode(l)):[]}}}case"nevent":{let a=parseTLV(n);if(!a[0]?.[0])throw new Error("missing TLV 0 for nevent");if(32!==a[0][0].length)throw new Error("TLV 0 should be 32 bytes");if(a[2]&&32!==a[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(a[3]&&4!==a[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"nevent",data:{id:bytesToHex$1(a[0][0]),relays:a[1]?a[1].map(l=>utf8Decoder.decode(l)):[],author:a[2]?.[0]?bytesToHex$1(a[2][0]):void 0,kind:a[3]?.[0]?parseInt(bytesToHex$1(a[3][0]),16):void 0}}}case"naddr":{let a=parseTLV(n);if(!a[0]?.[0])throw new Error("missing TLV 0 for naddr");if(!a[2]?.[0])throw new Error("missing TLV 2 for naddr");if(32!==a[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(!a[3]?.[0])throw new Error("missing TLV 3 for naddr");if(4!==a[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"naddr",data:{identifier:utf8Decoder.decode(a[0][0]),pubkey:bytesToHex$1(a[2][0]),kind:parseInt(bytesToHex$1(a[3][0]),16),relays:a[1]?a[1].map(l=>utf8Decoder.decode(l)):[]}}}case"nrelay":{let a=parseTLV(n);if(!a[0]?.[0])throw new Error("missing TLV 0 for nrelay");return{type:"nrelay",data:utf8Decoder.decode(a[0][0])}}case"nsec":case"npub":case"note":return{type:s,data:bytesToHex$1(n)};default:throw new Error(`unknown prefix ${s}`)}}function parseTLV(i){let s={},o=i;for(;o.length>0;){let n=o[0],a=o[1];if(!a)throw new Error(`malformed TLV ${n}`);let l=o.slice(2,2+a);if(o=o.slice(2+a),l.lengthutf8Encoder.encode(s))}))}function neventEncode(i){let s;return null!=i.kind&&(s=integerToUint8Array(i.kind)),encodeBech32("nevent",encodeTLV({0:[hexToBytes$1(i.id)],1:(i.relays||[]).map(o=>utf8Encoder.encode(o)),2:i.author?[hexToBytes$1(i.author)]:[],3:s?[new Uint8Array(s)]:[]}))}function naddrEncode(i){let s=new ArrayBuffer(4);return new DataView(s).setUint32(0,i.kind,!1),encodeBech32("naddr",encodeTLV({0:[utf8Encoder.encode(i.identifier)],1:(i.relays||[]).map(o=>utf8Encoder.encode(o)),2:[hexToBytes$1(i.pubkey)],3:[new Uint8Array(s)]}))}function nrelayEncode(i){return encodeBech32("nrelay",encodeTLV({0:[utf8Encoder.encode(i)]}))}function encodeTLV(i){let s=[];return Object.entries(i).forEach(([o,n])=>{n.forEach(a=>{let l=new Uint8Array(a.length+2);l.set([parseInt(o)],0),l.set([a.length],1),l.set(a,2),s.push(l)})}),concatBytes$1(...s)}var nip04_exports={};function encrypt$1(i,s,o){return _encrypt$.apply(this,arguments)}function _encrypt$(){return _encrypt$=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s,o){const n=getNormalizedX(secp256k1.getSharedSecret(i,"02"+s));let a=Uint8Array.from(randomBytes$1(16)),l=utf8Encoder.encode(o),y=yield crypto.subtle.importKey("raw",n,{name:"AES-CBC"},!1,["encrypt"]),k=yield crypto.subtle.encrypt({name:"AES-CBC",iv:a},y,l);return`${base64$1.encode(new Uint8Array(k))}?iv=${base64$1.encode(new Uint8Array(a.buffer))}`}),_encrypt$.apply(this,arguments)}function decrypt$1(i,s,o){return _decrypt$.apply(this,arguments)}function _decrypt$(){return _decrypt$=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s,o){let[n,a]=o.split("?iv="),l=getNormalizedX(secp256k1.getSharedSecret(i,"02"+s)),y=yield crypto.subtle.importKey("raw",l,{name:"AES-CBC"},!1,["decrypt"]),k=base64$1.decode(n),C=base64$1.decode(a),A=yield crypto.subtle.decrypt({name:"AES-CBC",iv:C},y,k);return utf8Decoder.decode(A)}),_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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s=""){try{return(yield(yield _fetch(`https://${i}/.well-known/nostr.json?name=${s}`)).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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i){const s=i.match(NIP05_REGEX$1);if(!s)return null;const[o,n="_",a]=s;try{const l=yield _fetch(`https://${a}/.well-known/nostr.json?name=${n}`),{names:y,relays:k}=parseNIP05Result$1(yield l.json()),C=y[n];return C?{pubkey:C,relays:k?.[C]}:null}catch{return null}}),_queryProfile.apply(this,arguments)}function parseNIP05Result$1(i){const s={names:{}};for(const[o,n]of Object.entries(i.names))"string"==typeof o&&"string"==typeof n&&(s.names[o]=n);if(i.relays){s.relays={};for(const[o,n]of Object.entries(i.relays))"string"==typeof o&&Array.isArray(n)&&(s.relays[o]=n.filter(a=>"string"==typeof a))}return s}var nip06_exports={};function privateKeyFromSeedWords(i,s){let o=HDKey.fromMasterSeed(mnemonicToSeedSync(i,s)).derive("m/44'/1237'/0'/0/0").privateKey;if(!o)throw new Error("could not derive private key");return bytesToHex$1(o)}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 s={reply:void 0,root:void 0,mentions:[],profiles:[]},o=[];for(const n of i.tags)"e"===n[0]&&n[1]&&o.push(n),"p"===n[0]&&n[1]&&s.profiles.push({pubkey:n[1],relays:n[2]?[n[2]]:[]});for(let n=0;nparse});var nip13_exports={};function getPow(i){let s=0;for(let o=0;o=s)break}return n}__export(nip13_exports,{getPow:()=>getPow,minePow:()=>minePow});var nip18_exports={};function finishRepostEvent(i,s,o,n){return finishEvent({kind:6,tags:[...i.tags??[],["e",s.id,o],["p",s.pubkey]],content:""===i.content?"":JSON.stringify(s),created_at:i.created_at},n)}function getRepostedEventPointer(i){if(6!==i.kind)return;let s,o;for(let n=i.tags.length-1;n>=0&&(void 0===s||void 0===o);n--){const a=i.tags[n];a.length>=2&&("e"===a[0]&&void 0===s?s=a:"p"===a[0]&&void 0===o&&(o=a))}return void 0!==s?{id:s[1],relays:[s[2],o?.[2]].filter(n=>"string"==typeof n),author:o?.[1]}:void 0}function getRepostedEvent(i,{skipVerification:s}={}){const o=getRepostedEventPointer(i);if(void 0===o||""===i.content)return;let n;try{n=JSON.parse(i.content)}catch{return}return n.id===o.id&&(s||verifySignature(n))?n: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 s=i.match(new RegExp(`^${NOSTR_URI_REGEX.source}$`));if(!s)throw new Error(`Invalid Nostr URI: ${i}`);return{uri:s[0],value:s[1],decoded:decode(s[1])}}var nip25_exports={};function finishReactionEvent(i,s,o){const n=s.tags.filter(a=>a.length>=2&&("e"===a[0]||"p"===a[0]));return finishEvent({...i,kind:7,tags:[...i.tags??[],...n,["e",s.id],["p",s.pubkey]],content:i.content??"+"},o)}function getReactedEventPointer(i){if(7!==i.kind)return;let s,o;for(let n=i.tags.length-1;n>=0&&(void 0===s||void 0===o);n--){const a=i.tags[n];a.length>=2&&("e"===a[0]&&void 0===s?s=a:"p"===a[0]&&void 0===o&&(o=a))}return void 0!==s&&void 0!==o?{id:s[1],relays:[s[2],o[2]].filter(n=>void 0!==n),author:o[1]}:void 0}__export(nip25_exports,{finishReactionEvent:()=>finishReactionEvent,getReactedEventPointer:()=>getReactedEventPointer});var nip26_exports={};function createDelegation(i,s){let o=[];(s.kind||-1)>=0&&o.push(`kind=${s.kind}`),s.until&&o.push(`created_at<${s.until}`),s.since&&o.push(`created_at>${s.since}`);let n=o.join("&");if(""===n)throw new Error("refusing to create a delegation without any conditions");let a=sha256$1(utf8Encoder.encode(`nostr:delegation:${s.pubkey}:${n}`)),l=bytesToHex$1(schnorr.sign(a,i));return{from:getPublicKey(i),to:s.pubkey,cond:n,sig:l}}function getDelegator(i){let s=i.tags.find(k=>"delegation"===k[0]&&k.length>=4);if(!s)return null;let o=s[1],n=s[2],a=s[3],l=n.split("&");for(let k=0;k"===A&&i.created_at>parseInt(S)))return null}let y=sha256$1(utf8Encoder.encode(`nostr:delegation:${i.pubkey}:${n}`));return schnorr.verify(a,y,o)?o: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 s=i.matchAll(regex());for(const o of s)try{const[n,a]=o;yield{uri:n,value:a,decoded:decode(a),start:o.index,end:o.index+n.length}}catch{}}function replaceAll(i,s){return i.replaceAll(regex(),(o,n)=>s({uri:o,value:n,decoded:decode(n)}))}var nip28_exports={};__export(nip28_exports,{channelCreateEvent:()=>channelCreateEvent,channelHideMessageEvent:()=>channelHideMessageEvent,channelMessageEvent:()=>channelMessageEvent,channelMetadataEvent:()=>channelMetadataEvent,channelMuteUserEvent:()=>channelMuteUserEvent});var channelCreateEvent=(i,s)=>{let o;if("object"==typeof i.content)o=JSON.stringify(i.content);else{if("string"!=typeof i.content)return;o=i.content}return finishEvent({kind:40,tags:[...i.tags??[]],content:o,created_at:i.created_at},s)},channelMetadataEvent=(i,s)=>{let o;if("object"==typeof i.content)o=JSON.stringify(i.content);else{if("string"!=typeof i.content)return;o=i.content}return finishEvent({kind:41,tags:[["e",i.channel_create_event_id],...i.tags??[]],content:o,created_at:i.created_at},s)},channelMessageEvent=(i,s)=>{const o=[["e",i.channel_create_event_id,i.relay_url,"root"]];return i.reply_to_channel_message_event_id&&o.push(["e",i.reply_to_channel_message_event_id,i.relay_url,"reply"]),finishEvent({kind:42,tags:[...o,...i.tags??[]],content:i.content,created_at:i.created_at},s)},channelHideMessageEvent=(i,s)=>{let o;if("object"==typeof i.content)o=JSON.stringify(i.content);else{if("string"!=typeof i.content)return;o=i.content}return finishEvent({kind:43,tags:[["e",i.channel_message_event_id],...i.tags??[]],content:o,created_at:i.created_at},s)},channelMuteUserEvent=(i,s)=>{let o;if("object"==typeof i.content)o=JSON.stringify(i.content);else{if("string"!=typeof i.content)return;o=i.content}return finishEvent({kind:44,tags:[["p",i.pubkey_to_mute],...i.tags??[]],content:o,created_at:i.created_at},s)},nip39_exports={},_fetch2;__export(nip39_exports,{useFetchImplementation:()=>useFetchImplementation2,validateGithub:()=>validateGithub});try{_fetch2=fetch}catch{}function useFetchImplementation2(i){_fetch2=i}function validateGithub(i,s,o){return _validateGithub.apply(this,arguments)}function _validateGithub(){return _validateGithub=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s,o){try{return(yield(yield _fetch2(`https://gist.github.com/${s}/${o}/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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*({challenge:s,relay:o,sign:n}){const a={kind:22242,created_at:Math.floor(Date.now()/1e3),tags:[["relay",o.url],["challenge",s]],content:""};return o.auth(yield n(a))});return function(o){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,s)=>secp256k1.getSharedSecret(i,"02"+s).subarray(1,33),getMessageKeys(i,s){const o=hkdf(sha256$1,i,s,"nip44-v2",76);return{encryption:o.subarray(0,32),nonce:o.subarray(32,44),auth:o.subarray(44,76)}},calcPadding(i){if(!Number.isSafeInteger(i)||i<0)throw new Error("expected positive integer");if(i<=32)return 32;const s=1<=utils.v2.maxPlaintextSize)throw new Error("invalid plaintext length: must be between 1b and 64KB");const n=utils.v2.calcPadding(o),a=new Uint8Array(n-o),l=new Uint8Array(2);return new DataView(l.buffer).setUint16(0,o),concatBytes$1(l,s,a)},unpad(i){const s=new DataView(i.buffer).getUint16(0),o=i.subarray(2,2+s);if(0===s||o.length!==s||i.length!==2+utils.v2.calcPadding(s))throw new Error("invalid padding");return utf8Decoder.decode(o)}}};function encrypt2(i,s,o={}){const n=o.version??2;if(2!==n)throw new Error("unknown encryption version "+n);const a=o.salt??randomBytes$1(32);ensureBytes(a,32);const l=utils.v2.getMessageKeys(i,a),y=utils.v2.pad(s),k=chacha20(l.encryption,l.nonce,y),C=hmac(sha256$1,l.auth,k);return base64$1.encode(concatBytes$1(new Uint8Array([n]),a,k,C))}function decrypt2(i,s){const o=utils.v2;ensureBytes(i,32);const n=s.length;if(n=o.maxCiphertextSize)throw new Error("invalid ciphertext length: "+n);if("#"===s[0])throw new Error("unknown encryption version");let a;try{a=base64$1.decode(s)}catch(T){throw new Error("invalid base64: "+T.message)}const l=a.subarray(0,1)[0];if(2!==l)throw new Error("unknown encryption version "+l);const y=a.subarray(1,33),k=a.subarray(33,-32),C=a.subarray(-32),A=o.getMessageKeys(i,y);if(!equalBytes(hmac(sha256$1,A.auth,k),C))throw new Error("invalid MAC");const S=chacha20(A.encryption,A.nonce,k);return o.unpad(S)}var nip47_exports={};function parseConnectionString(i){const{pathname:s,searchParams:o}=new URL(i),n=s,a=o.get("relay"),l=o.get("secret");if(!n||!a||!l)throw new Error("invalid connection string");return{pubkey:n,relay:a,secret:l}}function makeNwcRequestEvent(i){return _makeNwcRequestEvent.apply(this,arguments)}function _makeNwcRequestEvent(){return _makeNwcRequestEvent=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*({pubkey:i,secret:s,invoice:o}){const n={method:"pay_invoice",params:{invoice:o}},a=yield encrypt$1(s,i,JSON.stringify(n));return finishEvent({kind:23194,created_at:Math.round(Date.now()/1e3),content:a,tags:[["p",i]]},s)}),_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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i){try{let s="",{lud06:o,lud16:n}=JSON.parse(i.content);if(o){let{words:y}=bech32$1.decode(o,1e3),k=bech32$1.fromWords(y);s=utf8Decoder.decode(k)}else{if(!n)return null;{let[y,k]=n.split("@");s=`https://${k}/.well-known/lnurlp/${y}`}}let a=yield _fetch3(s),l=yield a.json();if(l.allowsNostr&&l.nostrPubkey)return l.callback}catch{}return null}),_getZapEndpoint.apply(this,arguments)}function makeZapRequest({profile:i,event:s,amount:o,relays:n,comment:a=""}){if(!o)throw new Error("amount not given");if(!i)throw new Error("profile not given");let l={kind:9734,created_at:Math.round(Date.now()/1e3),content:a,tags:[["p",i],["amount",o.toString()],["relays",...n]]};return s&&l.tags.push(["e",s]),l}function validateZapRequest(i){let s;try{s=JSON.parse(i)}catch{return"Invalid zap request JSON."}if(!validateEvent(s))return"Zap request is not a valid Nostr event.";if(!verifySignature(s))return"Invalid signature on zap request.";let o=s.tags.find(([a,l])=>"p"===a&&l);if(!o)return"Zap request doesn't have a 'p' tag.";if(!o[1].match(/^[a-f0-9]{64}$/))return"Zap request 'p' tag is not valid hex.";let n=s.tags.find(([a,l])=>"e"===a&&l);return n&&!n[1].match(/^[a-f0-9]{64}$/)?"Zap request 'e' tag is not valid hex.":s.tags.find(([a,l])=>"relays"===a&&l)?null:"Zap request doesn't have a 'relays' tag."}function makeZapReceipt({zapRequest:i,preimage:s,bolt11:o,paidAt:n}){let a=JSON.parse(i).tags.filter(([y])=>"e"===y||"p"===y||"a"===y),l={kind:9735,created_at:Math.round(n.getTime()/1e3),content:"",tags:[...a,["bolt11",o],["description",i]]};return s&&l.tags.push(["preimage",s]),l}var nip98_exports={};__export(nip98_exports,{getToken:()=>getToken,unpackEventFromToken:()=>unpackEventFromToken,validateEvent:()=>validateEvent2,validateToken:()=>validateToken});var _authorizationScheme="Nostr ";function getToken(i,s,o){return _getToken.apply(this,arguments)}function _getToken(){return _getToken=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s,o,n=!1){if(!i||!s)throw new Error("Missing loginUrl or httpMethod");const a=getBlankEvent(27235);a.tags=[["u",i],["method",s]],a.created_at=Math.round((new Date).getTime()/1e3);const l=yield o(a);return(n?_authorizationScheme:"")+base64$1.encode(utf8Encoder.encode(JSON.stringify(l)))}),_getToken.apply(this,arguments)}function validateToken(i,s,o){return _validateToken.apply(this,arguments)}function _validateToken(){return _validateToken=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s,o){const n=yield unpackEventFromToken(i).catch(a=>{throw a});return yield validateEvent2(n,s,o).catch(a=>{throw a})}),_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_angular_builders_custom_webpack_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 s=utf8Decoder.decode(base64$1.decode(i));if(!s||0===s.length||!s.startsWith("{"))throw new Error("Invalid token");return JSON.parse(s)}),_unpackEventFromToken.apply(this,arguments)}function validateEvent2(i,s,o){return _validateEvent.apply(this,arguments)}function _validateEvent(){return _validateEvent=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s,o){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 n=i.tags.find(l=>"u"===l[0]);if(1!==n?.length&&n?.[1]!==s)throw new Error("Invalid nostr event, url tag invalid");const a=i.tags.find(l=>"method"===l[0]);if(1!==a?.length&&a?.[1].toLowerCase()!==o.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,s=60*i,o=60*s,n=24*o,a=7*n;function y(k,C,A,S){var T=C>=1.5*A;return Math.round(k/A)+" "+S+(T?"s":"")}return ms=function(k,C){C=C||{};var S,T,A=typeof k;if("string"===A&&k.length>0)return function(S){if(!((S=String(S)).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(S);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*a;case"days":case"day":case"d":return O*n;case"hours":case"hour":case"hrs":case"hr":case"h":return O*o;case"minutes":case"minute":case"mins":case"min":case"m":return O*s;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"===A&&isFinite(k))return C.long?(S=k,(T=Math.abs(S))>=n?y(S,T,n,"day"):T>=o?y(S,T,o,"hour"):T>=s?y(S,T,s,"minute"):T>=i?y(S,T,i,"second"):S+" ms"):function(S){var T=Math.abs(S);return T>=n?Math.round(S/n)+"d":T>=o?Math.round(S/o)+"h":T>=s?Math.round(S/s)+"m":T>=i?Math.round(S/i)+"s":S+"ms"}(k);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(k))}}function setup(i){function s(a){let l,y,k,C=null;function A(...S){if(!A.enabled)return;const T=A,O=Number(new Date);T.diff=O-(l||O),T.prev=l,T.curr=O,l=O,S[0]=s.coerce(S[0]),"string"!=typeof S[0]&&S.unshift("%O");let q=0;S[0]=S[0].replace(/%([a-zA-Z%])/g,(X,J)=>{if("%%"===X)return"%";q++;const ht=s.formatters[J];return"function"==typeof ht&&(X=ht.call(T,S[q]),S.splice(q,1),q--),X}),s.formatArgs.call(T,S),(T.log||s.log).apply(T,S)}return A.namespace=a,A.useColors=s.useColors(),A.color=s.selectColor(a),A.extend=o,A.destroy=s.destroy,Object.defineProperty(A,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==C?C:(y!==s.namespaces&&(y=s.namespaces,k=s.enabled(a)),k),set:S=>{C=S}}),"function"==typeof s.init&&s.init(A),A}function o(a,l){const y=s(this.namespace+(void 0===l?":":l)+a);return y.log=this.log,y}function n(a){return a.toString().substring(2,a.toString().length-2).replace(/\.\*\?$/,"*")}return s.debug=s,s.default=s,s.coerce=function(a){return a instanceof Error?a.stack||a.message:a},s.disable=function(){const a=[...s.names.map(n),...s.skips.map(n).map(l=>"-"+l)].join(",");return s.enable(""),a},s.enable=function(a){let l;s.save(a),s.namespaces=a,s.names=[],s.skips=[];const y=("string"==typeof a?a:"").split(/[\s,]+/),k=y.length;for(l=0;l{s[a]=i[a]}),s.names=[],s.skips=[],s.formatters={},s.selectColor=function(a){let l=0;for(let y=0;y{"%%"!==k&&(l++,"%c"===k&&(y=l))}),n.splice(y,0,a)},s.save=function(n){try{n?s.storage.setItem("debug",n):s.storage.removeItem("debug")}catch{}},s.load=function(){let n;try{n=s.storage.getItem("debug")}catch{}return!n&&typeof process<"u"&&"env"in process&&(n=process.env.DEBUG),n},s.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+)/))},s.storage=function(){try{return localStorage}catch{}}(),s.destroy=(()=>{let n=!1;return()=>{n||(n=!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`."))}})(),s.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"],s.log=console.debug||console.log||(()=>{}),i.exports=common(s);const{formatters:o}=i.exports;o.j=function(n){try{return JSON.stringify(n)}catch(a){return"[UnexpectedJSONParseError]: "+a.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(s,o,n){const{entryExpirationTimeInMS:a=null,next:l=null,prev:y=null,onEntryEvicted:k,onEntryMarkedAsMostRecentlyUsed:C,clone:A,cloneFn:S}=n??{};if("number"==typeof a&&(a<=0||Number.isNaN(a)))throw new Error("entryExpirationTimeInMS must either be null (no expiry) or greater than 0");this.clone=null!=A&&A,this.cloneFn=S??this.defaultClone,this.key=s,this.internalValue=this.clone?this.cloneFn(o):o,this.created=Date.now(),this.entryExpirationTimeInMS=a,this.next=l,this.prev=y,this.onEntryEvicted=k,this.onEntryMarkedAsMostRecentlyUsed=C}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:s,value:o,isExpired:n}=this;this.onEntryEvicted({key:s,value:o,isExpired:n})}}invokeOnEntryMarkedAsMostRecentlyUsed(){if(this.onEntryMarkedAsMostRecentlyUsed){const{key:s,value:o}=this;this.onEntryMarkedAsMostRecentlyUsed({key:s,value:o})}}defaultClone(s){return"boolean"==typeof s||"string"==typeof s||"number"==typeof s?s:JSON.parse(JSON.stringify(s))}}LRUCacheNode$1.LRUCacheNode=LRUCacheNode,Object.defineProperty(LRUCache$1,"__esModule",{value:!0}),LRUCache$1.LRUCache=void 0;const LRUCacheNode_1=LRUCacheNode$1;class LRUCache{constructor(s){this.lookupTable=new Map,this.head=null,this.tail=null;const{maxSize:o=25,entryExpirationTimeInMS:n=null,onEntryEvicted:a,onEntryMarkedAsMostRecentlyUsed:l,cloneFn:y,clone:k}=s??{};if(Number.isNaN(o)||o<=0)throw new Error("maxSize must be greater than 0.");if("number"==typeof n&&(n<=0||Number.isNaN(n)))throw new Error("entryExpirationTimeInMS must either be null (no expiry) or greater than 0");this.maxSizeInternal=o,this.entryExpirationTimeInMS=n,this.onEntryEvicted=a,this.onEntryMarkedAsMostRecentlyUsed=l,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(s){if(Number.isNaN(s)||s<=0)throw new Error("maxSize must be greater than 0.");this.maxSizeInternal=s,this.enforceSizeLimit()}set(s,o,n){const a=this.lookupTable.get(s);a&&this.removeNodeFromListAndLookupTable(a);const l=new LRUCacheNode_1.LRUCacheNode(s,o,{entryExpirationTimeInMS:this.entryExpirationTimeInMS,onEntryEvicted:this.onEntryEvicted,onEntryMarkedAsMostRecentlyUsed:this.onEntryMarkedAsMostRecentlyUsed,clone:this.clone,cloneFn:this.cloneFn,...n});return this.setNodeAsHead(l),this.lookupTable.set(s,l),this.enforceSizeLimit(),this}get(s){const o=this.lookupTable.get(s);return o?o.isExpired?(this.removeNodeFromListAndLookupTable(o),null):(this.setNodeAsHead(o),o.value):null}peek(s){const o=this.lookupTable.get(s);return o?o.isExpired?(this.removeNodeFromListAndLookupTable(o),null):o.value:null}delete(s){const o=this.lookupTable.get(s);return!!o&&this.removeNodeFromListAndLookupTable(o)}has(s){const o=this.lookupTable.get(s);return!(!o||o.isExpired&&(this.removeNodeFromListAndLookupTable(o),1))}clear(){this.head=null,this.tail=null,this.lookupTable.clear()}find(s){let o=this.head;for(;o;){if(o.isExpired){const a=o.next;this.removeNodeFromListAndLookupTable(o),o=a;continue}const n=this.mapNodeToEntry(o);if(s(n))return this.setNodeAsHead(o),n;o=o.next}return null}forEach(s){let o=this.head,n=0;for(;o;)if(o.isExpired){const a=o.next;this.removeNodeFromListAndLookupTable(o),o=a}else s(o.value,o.key,n),o=o.next,n++}*values(){let s=this.head;for(;s;)if(s.isExpired){const o=s.next;this.removeNodeFromListAndLookupTable(s),s=o}else yield s.value,s=s.next}*keys(){let s=this.head;for(;s;)if(s.isExpired){const o=s.next;this.removeNodeFromListAndLookupTable(s),s=o}else yield s.key,s=s.next}*entries(){let s=this.head;for(;s;)if(s.isExpired){const o=s.next;this.removeNodeFromListAndLookupTable(s),s=o}else yield this.mapNodeToEntry(s),s=s.next}*[Symbol.iterator](){let s=this.head;for(;s;)if(s.isExpired){const o=s.next;this.removeNodeFromListAndLookupTable(s),s=o}else yield this.mapNodeToEntry(s),s=s.next}enforceSizeLimit(){let s=this.tail;for(;null!==s&&this.size>this.maxSizeInternal;){const o=s.prev;this.removeNodeFromListAndLookupTable(s),s=o}}mapNodeToEntry({key:s,value:o}){return{key:s,value:o}}setNodeAsHead(s){this.removeNodeFromList(s),this.head?(s.next=this.head,this.head.prev=s,this.head=s):(this.head=s,this.tail=s),s.invokeOnEntryMarkedAsMostRecentlyUsed()}removeNodeFromList(s){null!==s.prev&&(s.prev.next=s.next),null!==s.next&&(s.next.prev=s.prev),this.head===s&&(this.head=s.next),this.tail===s&&(this.tail=s.prev),s.next=null,s.prev=null}removeNodeFromListAndLookupTable(s){return s.invokeOnEvicted(),this.removeNodeFromList(s),this.lookupTable.delete(s.key)}cleanCache(){if(!this.entryExpirationTimeInMS)return;const s=[];for(const o of this.lookupTable.values())o.isExpired&&s.push(o);s.forEach(o=>this.removeNodeFromListAndLookupTable(o))}}LRUCache$1.LRUCache=LRUCache,function(i){var s=commonjsGlobal&&commonjsGlobal.__createBinding||(Object.create?function(n,a,l,y){void 0===y&&(y=l);var k=Object.getOwnPropertyDescriptor(a,l);k&&!("get"in k?!a.__esModule:k.writable||k.configurable)||(k={enumerable:!0,get:function(){return a[l]}}),Object.defineProperty(n,y,k)}:function(n,a,l,y){void 0===y&&(y=l),n[y]=a[l]}),o=commonjsGlobal&&commonjsGlobal.__exportStar||function(n,a){for(var l in n)"default"===l||Object.prototype.hasOwnProperty.call(a,l)||s(a,n,l)};Object.defineProperty(i,"__esModule",{value:!0}),o(LRUCache$1,i)}(dist);var lib={};(function(i){function s(_t){if(!Number.isSafeInteger(_t))throw new Error(`Wrong integer: ${_t}`)}function o(..._t){const at=(st,vt)=>Pt=>st(vt(Pt));return{encode:Array.from(_t).reverse().reduce((st,vt)=>st?at(st,vt.encode):vt.encode,void 0),decode:_t.reduce((st,vt)=>st?at(st,vt.decode):vt.decode,void 0)}}function n(_t){return{encode:at=>{if(!Array.isArray(at)||at.length&&"number"!=typeof at[0])throw new Error("alphabet.encode input should be an array of numbers");return at.map(st=>{if(s(st),st<0||st>=_t.length)throw new Error(`Digit index outside alphabet: ${st} (alphabet: ${_t.length})`);return _t[st]})},decode:at=>{if(!Array.isArray(at)||at.length&&"string"!=typeof at[0])throw new Error("alphabet.decode input should be array of strings");return at.map(st=>{if("string"!=typeof st)throw new Error(`alphabet.decode: not string element=${st}`);const vt=_t.indexOf(st);if(-1===vt)throw new Error(`Unknown letter: "${st}". Allowed: ${_t}`);return vt})}}}function a(_t=""){if("string"!=typeof _t)throw new Error("join separator should be string");return{encode:at=>{if(!Array.isArray(at)||at.length&&"string"!=typeof at[0])throw new Error("join.encode input should be array of strings");for(let st of at)if("string"!=typeof st)throw new Error(`join.encode: non-string input=${st}`);return at.join(_t)},decode:at=>{if("string"!=typeof at)throw new Error("join.decode input should be string");return at.split(_t)}}}function l(_t,at="="){if(s(_t),"string"!=typeof at)throw new Error("padding chr should be string");return{encode(st){if(!Array.isArray(st)||st.length&&"string"!=typeof st[0])throw new Error("padding.encode input should be array of strings");for(let vt of st)if("string"!=typeof vt)throw new Error(`padding.encode: non-string input=${vt}`);for(;st.length*_t%8;)st.push(at);return st},decode(st){if(!Array.isArray(st)||st.length&&"string"!=typeof st[0])throw new Error("padding.encode input should be array of strings");for(let Pt of st)if("string"!=typeof Pt)throw new Error(`padding.decode: non-string input=${Pt}`);let vt=st.length;if(vt*_t%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;vt>0&&st[vt-1]===at;vt--)if(!((vt-1)*_t%8))throw new Error("Invalid padding: string has too much padding");return st.slice(0,vt)}}}function y(_t){if("function"!=typeof _t)throw new Error("normalize fn should be function");return{encode:at=>at,decode:at=>_t(at)}}function k(_t,at,st){if(at<2)throw new Error(`convertRadix: wrong from=${at}, base cannot be less than 2`);if(st<2)throw new Error(`convertRadix: wrong to=${st}, base cannot be less than 2`);if(!Array.isArray(_t))throw new Error("convertRadix: data should be array");if(!_t.length)return[];let vt=0;const Pt=[],ae=Array.from(_t);for(ae.forEach(le=>{if(s(le),le<0||le>=at)throw new Error(`Wrong integer: ${le}`)});;){let le=0,ve=!0;for(let se=vt;seat?C(at,_t%at):_t,A=(_t,at)=>_t+(at-C(_t,at));function S(_t,at,st,vt){if(!Array.isArray(_t))throw new Error("convertRadix2: data should be array");if(at<=0||at>32)throw new Error(`convertRadix2: wrong from=${at}`);if(st<=0||st>32)throw new Error(`convertRadix2: wrong to=${st}`);if(A(at,st)>32)throw new Error(`convertRadix2: carry overflow from=${at} to=${st} carryBits=${A(at,st)}`);let Pt=0,ae=0;const le=2**st-1,ve=[];for(const se of _t){if(s(se),se>=2**at)throw new Error(`convertRadix2: invalid data word=${se} from=${at}`);if(Pt=Pt<32)throw new Error(`convertRadix2: carry overflow pos=${ae} from=${at}`);for(ae+=at;ae>=st;ae-=st)ve.push((Pt>>ae-st&le)>>>0);Pt&=2**ae-1}if(Pt=Pt<=at)throw new Error("Excess padding");if(!vt&&Pt)throw new Error(`Non-zero padding: ${Pt}`);return vt&&ae>0&&ve.push(Pt>>>0),ve}function T(_t){return s(_t),{encode:at=>{if(!(at instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return k(Array.from(at),256,_t)},decode:at=>{if(!Array.isArray(at)||at.length&&"number"!=typeof at[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(k(at,_t,256))}}}function O(_t,at=!1){if(s(_t),_t<=0||_t>32)throw new Error("radix2: bits should be in (0..32]");if(A(8,_t)>32||A(_t,8)>32)throw new Error("radix2: carry overflow");return{encode:st=>{if(!(st instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return S(Array.from(st),8,_t,!at)},decode:st=>{if(!Array.isArray(st)||st.length&&"number"!=typeof st[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(S(st,_t,8,at))}}}function P(_t){if("function"!=typeof _t)throw new Error("unsafeWrapper fn should be function");return function(...at){try{return _t.apply(null,at)}catch{}}}function q(_t,at){if(s(_t),"function"!=typeof at)throw new Error("checksum fn should be function");return{encode(st){if(!(st instanceof Uint8Array))throw new Error("checksum.encode: input should be Uint8Array");const vt=at(st).slice(0,_t),Pt=new Uint8Array(st.length+_t);return Pt.set(st),Pt.set(vt,st.length),Pt},decode(st){if(!(st instanceof Uint8Array))throw new Error("checksum.decode: input should be Uint8Array");const vt=st.slice(0,-_t),Pt=at(vt).slice(0,_t),ae=st.slice(-_t);for(let le=0;le<_t;le++)if(Pt[le]!==ae[le])throw new Error("Invalid checksum");return vt}}}i.utils={alphabet:n,chain:o,checksum:q,radix:T,radix2:O,join:a,padding:l},i.base16=o(O(4),n("0123456789ABCDEF"),a("")),i.base32=o(O(5),n("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),l(5),a("")),i.base32hex=o(O(5),n("0123456789ABCDEFGHIJKLMNOPQRSTUV"),l(5),a("")),i.base32crockford=o(O(5),n("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),a(""),y(_t=>_t.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),i.base64=o(O(6),n("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),l(6),a("")),i.base64url=o(O(6),n("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),l(6),a(""));const X=_t=>o(T(58),n(_t),a(""));i.base58=X("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),i.base58flickr=X("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),i.base58xrp=X("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");const J=[0,2,3,5,6,7,9,10,11];i.base58xmr={encode(_t){let at="";for(let st=0;st<_t.length;st+=8){const vt=_t.subarray(st,st+8);at+=i.base58.encode(vt).padStart(J[vt.length],"1")}return at},decode(_t){let at=[];for(let st=0;st<_t.length;st+=11){const vt=_t.slice(st,st+11),Pt=J.indexOf(vt.length),ae=i.base58.decode(vt);for(let le=0;leo(q(4,at=>_t(_t(at))),i.base58);const ht=o(n("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),a("")),ct=[996825010,642813549,513874426,1027748829,705979059];function pt(_t){const at=_t>>25;let st=(33554431&_t)<<5;for(let vt=0;vt>vt&1)&&(st^=ct[vt]);return st}function kt(_t,at,st=1){const vt=_t.length;let Pt=1;for(let ae=0;ae126)throw new Error(`Invalid prefix (${_t})`);Pt=pt(Pt)^le>>5}Pt=pt(Pt);for(let ae=0;aese)throw new TypeError(`Wrong string length: ${ve.length} (${ve}). Expected (8..${se})`);const or=ve.toLowerCase();if(ve!==or&&ve!==ve.toUpperCase())throw new Error("String must be lowercase or uppercase");const fr=(ve=or).lastIndexOf("1");if(0===fr||-1===fr)throw new Error('Letter "1" must be present between prefix and data only');const yr=ve.slice(0,fr),jr=ve.slice(fr+1);if(jr.length<6)throw new Error("Data must be at least 6 characters long");const wr=ht.decode(jr).slice(0,-6),Qt=kt(yr,wr,at);if(!jr.endsWith(Qt))throw new Error(`Invalid checksum in ${ve}: expected "${Qt}"`);return{prefix:yr,words:wr}}return{encode:function(ve,se,or=90){if("string"!=typeof ve)throw new Error("bech32.encode prefix should be string, not "+typeof ve);if(!Array.isArray(se)||se.length&&"number"!=typeof se[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof se);const fr=ve.length+7+se.length;if(!1!==or&&fr>or)throw new TypeError(`Length ${fr} exceeds limit ${or}`);return`${ve=ve.toLowerCase()}1${ht.encode(se)}${kt(ve,se,at)}`},decode:le,decodeToBytes:function(ve){const{prefix:se,words:or}=le(ve,!1);return{prefix:se,words:or,bytes:vt(or)}},decodeUnsafe:P(le),fromWords:vt,fromWordsUnsafe:ae,toWords:Pt}}i.bech32=Et("bech32"),i.bech32m=Et("bech32m"),i.utf8={encode:_t=>(new TextDecoder).decode(_t),decode:_t=>(new TextEncoder).encode(_t)},i.hex=o(O(4),n("0123456789abcdef"),a(""),y(_t=>{if("string"!=typeof _t||_t.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof _t} with length ${_t.length}`);return _t.toLowerCase()}));const It={utf8:i.utf8,hex:i.hex,base16:i.base16,base32:i.base32,base64:i.base64,base64url:i.base64url,base58:i.base58,base58xmr:i.base58xmr},yt=`Invalid encoding type. Available types: ${Object.keys(It).join(", ")}`;i.bytesToString=(_t,at)=>{if("string"!=typeof _t||!It.hasOwnProperty(_t))throw new TypeError(yt);if(!(at instanceof Uint8Array))throw new TypeError("bytesToString() expects Uint8Array");return It[_t].encode(at)},i.str=i.bytesToString,i.stringToBytes=(_t,at)=>{if(!It.hasOwnProperty(_t))throw new TypeError(yt);if("string"!=typeof at)throw new TypeError("stringToBytes() expects string");return It[_t].decode(at)},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,s=Object.keys(TAGCODES);ithis.handleNotice(s))}initiateAuth(i={limit:1}){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){s.debug("Initiating authentication");const o=s.relay.sub([i],{id:"auth-test"});o.on("eose",()=>{o.unsub(),s._status=1,s.ndkRelay.emit("ready"),s.debug("Authentication not required"),o.unsub()}),s.debug("Authentication request started")})()}connect(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const s=()=>{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"))},o=()=>{i.updateConnectionStats.disconnected(),1===i._status&&(i._status=3,i.handleReconnection()),i.ndkRelay.emit("disconnect")},n=function(){var a=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(l){i.debug("Relay requested authentication",{havePolicy:!!i.ndkRelay.authPolicy}),i.ndkRelay.authPolicy?7!==i._status&&(i._status=7,yield i.ndkRelay.authPolicy(i.ndkRelay,l),7===i._status&&(i.debug("Authentication policy finished"),i._status=1,i.ndkRelay.emit("ready"))):yield i.ndkRelay.emit("auth",l)});return function(y){return a.apply(this,arguments)}}();try{i.updateConnectionStats.attempt(),i._status=0,i.relay.off("connect",s),i.relay.off("disconnect",o),i.relay.on("connect",s),i.relay.on("disconnect",o),i.relay.on("auth",n),yield i.relay.connect()}catch(a){throw i.debug("Failed to connect",a),i._status=3,a}})()}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 s=i.reduce((n,a)=>n+a,0)/i.length,o=i.map(n=>Math.pow(n-s,2)).reduce((n,a)=>n+a,0)/i.length;return Math.sqrt(o)<1e3}handleNotice(i){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){(i.includes("oo many")||i.includes("aximum"))&&(s.disconnect(),setTimeout(()=>s.connect(),2e3),s.debug(s.relay.url,"Relay complaining?",i)),s.ndkRelay.emit("notice",s,i)})()}handleReconnection(i=0){if(this.isFlapping())return this.ndkRelay.emit("flapping",this,this._connectionStats),void(this._status=5);const s=this.connectedAt?Math.max(0,6e4-(Date.now()-this.connectedAt)):0;setTimeout(()=>{this._status=4,this.connect().then(()=>{this.debug("Reconnected")}).catch(o=>{this.debug("Reconnect failed",o),i<5?setTimeout(()=>{this.handleReconnection(i+1)},6e4):this.debug("Reconnect failed after 5 attempts")})},s)}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,s=2500){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const n=()=>new Promise((C,A)=>{try{o.publishEvent(i,s).then(S=>C(S)).catch(S=>A(S))}catch(S){A(S)}}),a=new Promise((C,A)=>{setTimeout(()=>A(new Error("Timeout")),s)}),l=()=>{n().then(C=>y(C)).catch(C=>k(C))};let y,k;return 1===o.ndkRelay.status?Promise.race([n(),a]):Promise.race([new Promise((C,A)=>{y=C,k=A,o.ndkRelay.once("connect",l)}),a]).finally(()=>{o.ndkRelay.removeListener("connect",l)})})()}publishEvent(i,s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const n=yield i.toNostrEvent(),a=o.ndkRelay.connectivity.relay.publish(n);let l;const y=new Promise((C,A)=>{a.then(()=>{clearTimeout(l),o.ndkRelay.emit("published",i),C(!0)}).catch(S=>{clearTimeout(l),o.ndkRelay.debug("Publish failed",S,i.id),o.ndkRelay.emit("publish:failed",i,S),A(S)})});if(!s||i.isEphemeral())return y;const k=new Promise((C,A)=>{l=setTimeout(()=>{o.ndkRelay.debug("Publish timed out",i.rawEvent()),o.ndkRelay.emit("publish:failed",i,"Timeout"),A(new Error("Publish operation timed out"))},s)});return Promise.race([y,k])})()}auth(i){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return s.ndkRelay.connectivity.relay.auth(i.rawEvent())})()}};function calculateGroupableId(i){const s=[];for(const o of i){if(o.since||o.until)return null;const n=Object.keys(o||{}).sort().join("-");s.push(n)}return s.join("|")}function mergeFilters(i){const s={};return i.forEach(o=>{Object.entries(o).forEach(([n,a])=>{s[n]=Array.isArray(a)?void 0===s[n]?[...a]:Array.from(new Set([...s[n],...a])):a})}),s}var MAX_SUBID_LENGTH=20;function queryFullyFilled(i){return!(!filterIncludesIds(i.filter)||!resultHasAllRequestedIds(i))}function compareFilter(i,s){if(Object.keys(i).length!==Object.keys(s).length)return!1;for(const[o,n]of Object.entries(i)){const a=s[o];if(!a)return!1;if(Array.isArray(n)&&Array.isArray(a)){const l=n;for(const y of a)if(!l.includes(y))return!1}else if(a!==n)return!1}return!0}function filterIncludesIds(i){return!!i.ids}function resultHasAllRequestedIds(i){const s=i.filter.ids;return!!s&&s.length===i.eventFirstSeen.size}function generateSubId(i,s){const o=i.map(k=>k.subId).filter(Boolean),n=[],a=new Set,l=new Set;if(o.length>0)n.push(Array.from(new Set(o)).join(","));else{for(const k of s)for(const C of Object.keys(k))"kinds"===C?k.kinds?.forEach(A=>l.add(A)):a.add(C);l.size>0&&n.push("kinds:"+Array.from(l).join(",")),a.size>0&&n.push(Array.from(a).join(","))}let y=n.join("-");return y.length>MAX_SUBID_LENGTH&&(y=y.substring(0,MAX_SUBID_LENGTH)),1!==o.length&&(y+="-"+Math.floor(999*Math.random()).toString()),y}function filterFromId(i){let s;if(i.match(NIP33_A_REGEX)){const[o,n,a]=i.split(":"),l={authors:[n],kinds:[parseInt(o)]};return a&&(l["#d"]=[a]),l}try{switch(s=nip19_exports.decode(i),s.type){case"nevent":return{ids:[s.data.id]};case"note":return{ids:[s.data]};case"naddr":return{authors:[s.data.pubkey],"#d":[s.data.identifier],kinds:[s.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 s=nip19_exports.decode(i);if(["naddr","nevent"].includes(s?.type)){const o=s.data;if(o?.relays)return o.relays.map(n=>new NDKRelay(n))}}catch{}return[]}var NDKGroupedSubscriptions=class extends lib$1.EventEmitter{subscriptions;req;debug;constructor(i,s){super(),this.subscriptions=i,this.debug=s||this.subscriptions[0].subscription.debug.extend("grouped");for(const o of i)this.handleSubscriptionClosure(o)}addSubscription(i){this.subscriptions.push(i),this.handleSubscriptionClosure(i)}eventReceived(i){for(const s of this.subscriptions)s.eventReceived(i)}eoseReceived(i){Array.from(this.subscriptions).forEach(function(){var s=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(o){o.subscription.eoseReceived(i)});return function(o){return s.apply(this,arguments)}}())}handleSubscriptionClosure(i){i.subscription.on("close",()=>{const s=this.subscriptions.findIndex(o=>o.subscription===i.subscription);this.subscriptions.splice(s,1),this.subscriptions.length<=0&&this.emit("close")})}map(i){return this.subscriptions.map(i)}[Symbol.iterator](){let i=0;const s=this.subscriptions;return{next:()=>imatchFilter(o,s))}};function findMatchingActiveSubscriptions(i,s){if(i.length!==s.length)return!1;for(let o=0;o{this.delayedItems.get(o)&&this.delayedItems.delete(o)}));let y=this.executionTimeoutsByGroupId.get(o);y&&"at-most"!==i.opts.groupableDelayType||(y=setTimeout(()=>{this.executeGroup(o,i)},i.opts.groupableDelay),this.executionTimeoutsByGroupId.set(o,y)),this.delayedTimers.has(o)?this.delayedTimers.get(o).push(y):this.delayedTimers.set(o,[y])}executeGroup(i,s){const o=this.delayedItems.get(i);this.delayedItems.delete(i);const n=this.delayedTimers.get(i);if(this.delayedTimers.delete(i),n)for(const a of n)clearTimeout(a);if(o){const a=o.subscriptions[0].filters.length,l=[];for(let y=0;yC.filters[y]);l.push(mergeFilters(k))}this.executeSubscriptions(i,o,l)}}executeSubscriptionsWhenConnected(i,s,o){const n=()=>{this.debug("new relay coming online for active subscription",{relay:this.ndkRelay.url,mergeFilters}),this.executeSubscriptionsConnected(i,s,o)};this.ndkRelay.once("ready",n),s.once("close",()=>{this.ndkRelay.removeListener("ready",n)})}executeSubscriptions(i,s,o){this.conn.isAvailable()?this.executeSubscriptionsConnected(i,s,o):this.executeSubscriptionsWhenConnected(i,s,o)}executeSubscriptionsConnected(i,s,o){const n=[];for(const{subscription:k}of s)n.push(k);const a=generateSubId(n,o);s.req=o;const l={id:a};(this.ndkRelay.trusted||n.every(k=>k.opts.skipVerification))&&(l.skipVerification=!0);const y=this.conn.relay.sub(o,l);return this.activeSubscriptions.set(y,s),i&&this.activeSubscriptionsByGroupId.set(i,{filters:o,sub:y}),y.on("event",k=>{const C=new NDKEvent(void 0,k);C.relay=this.ndkRelay,this.activeSubscriptions.get(y)?.eventReceived(C)}),y.on("eose",()=>{this.activeSubscriptions.get(y)?.eoseReceived(this.ndkRelay)}),s.once("close",()=>{y.unsub(),this.activeSubscriptions.delete(y),i&&this.activeSubscriptionsByGroupId.delete(i)}),this.executeSubscriptionsWhenConnected(i,s,o),y}executedFilters(){const i=new Map;for(const[,s]of this.activeSubscriptions)i.set(s.req,s.map(o=>o.subscription));return i}},NDKRelay=class extends lib$1.EventEmitter{url;scores;connectivity;subs;publisher;authPolicy;authRequired=!1;trusted=!1;complaining=!1;debug;constructor(i,s){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=s}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_angular_builders_custom_webpack_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,s){this.subs.subscribe(i,s)}publish(i,s=2500){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.publisher.publish(i,s)})()}auth(i){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return s.publisher.auth(i)})()}scoreSlowerEvent(i){}tagReference(i){const s=["r",this.url];return i&&s.push(i),s}referenceTags(){return[["r",this.url]]}activeSubscriptions(){return this.subs.executedFilters()}},PublishError=class extends Error{errors;constructor(i,s){super(i),this.errors=s}},NDKRelaySet=class p5{relays;debug;ndk;constructor(s,o){this.relays=s,this.ndk=o,this.debug=o.debug.extend("relayset")}addRelay(s){this.relays.add(s)}static fromRelayUrls(s,o){const n=new Set;for(const a of s){const l=o.pool.relays.get(a);if(l)n.add(l);else{const y=new NDKRelay(a);o.pool.useTemporaryRelay(y),n.add(y)}}return new p5(new Set(n),o)}publish(s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const a=new Set,l=new Map,y=s.isEphemeral(),k=Array.from(n.relays).map(C=>new Promise(A=>{C.publish(s,o).then(()=>{a.add(C),A()}).catch(S=>{y||(l.set(C,S),n.debug("error publishing to relay",{relay:C.url,err:S})),A()})}));if(yield Promise.all(k),0===a.size&&!y)throw new PublishError("No relay was able to receive the event",l);return a})()}size(){return this.relays.size}};function calculateRelaySetFromEvent(i,s){const o=new Set;return i.pool?.relays.forEach(n=>o.add(n)),new NDKRelaySet(o,i)}function getWriteRelaysFor(i,s){if(i.outboxTracker)return i.outboxTracker.data.get(s)?.writeRelays}function calculateRelaySetsFromFilter(i,s){const o=new Map,n=new Set;if(s.forEach(a=>{a.authors&&a.authors.forEach(l=>n.add(l))}),n.size>0){const a=new Map;for(const l of n){const y=getWriteRelaysFor(i,l);y&&y.size>0?(i.debug(`Adding ${y.size} relays for ${l}`),y.forEach(k=>{const C=a.get(k)||[];C.push(l),a.set(k,C)})):i.explicitRelayUrls?.forEach(k=>{const C=a.get(k)||[];C.push(l),a.set(k,C)})}for(const l of a.keys())o.set(l,[]);for(const l of s)if(l.authors)for(const[y,k]of a.entries()){const C=l.authors.filter(A=>k.includes(A));o.set(y,[...o.get(y),{...l,authors:C}])}else for(const y of a.keys())o.set(y,[...o.get(y),l])}else i.explicitRelayUrls?.forEach(a=>{o.set(a,s)});return o}function calculateRelaySetsFromFilters(i,s){return calculateRelaySetsFromFilter(i,s)}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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let s,o,n,a;if(i.zappedUser&&(i.zappedUser.profile||(yield i.zappedUser.fetchProfile({groupable:!1})),s=(i.zappedUser.profile||{}).lud06,o=(i.zappedUser.profile||{}).lud16),o&&!o.startsWith("LNURL")){const[l,y]=o.split("@");n=`https://${y}/.well-known/lnurlp/${l}`}else if(s){const{words:l}=bech32.decode(s,1e3),y=bech32.fromWords(l);n=new TextDecoder("utf-8").decode(y)}if(!n)throw new Error("No zap endpoint found");try{const l=i.ndk.httpFetch||fetch,y=yield l(n);if(200!==y.status){const C=yield y.text();throw new Error(`Unable to fetch zap endpoint ${n}: ${C}`)}const k=yield y.json();return k?.allowsNostr&&(k?.nostrPubkey||k?.nostrPubKey)&&(a=k.callback),a}catch(l){throw new Error(`Unable to fetch zap endpoint ${n}: ${l}`)}})()}createZapRequest(i,s,o,n,a){var l=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const y=yield l.generateZapRequest(i,s,o,n);if(!y)return null;const{event:k,zapEndpoint:C}=y;if(!k)throw new Error("No zap request event found");let A;yield k.sign(a);try{A=yield l.getInvoice(k,i,C)}catch(S){throw new Error("Failed to get invoice: "+S)}return A})()}getInvoice(i,s,o){return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return(yield(yield fetch(`${o}?`+new URLSearchParams({amount:s.toString(),nostr:JSON.stringify(i.rawEvent())}))).json()).pr})()}generateZapRequest(i,s,o,n,a){var l=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const y=yield l.getZapEndpoint();if(!y)throw new Error("No zap endpoint found");if(!l.zappedEvent&&!l.zappedUser)throw new Error("No zapped event or user found");const k=nip57_exports.makeZapRequest({profile:l.zappedUser.pubkey,event:null,amount:i,comment:s||"",relays:n??l.relays()});if(l.zappedEvent){const A=l.zappedEvent.referenceTags();k.tags.push(...A)}k.tags.push(["lnurl",y]);const C=new NDKEvent(l.ndk,k);return o&&(C.tags=C.tags.concat(o)),{event:C,zapEndpoint:y}})()}relays(){let i=[];return this.ndk?.pool?.relays&&(i=this.ndk.pool.urls()),i.length||(i=DEFAULT_RELAYS),i}};function mergeTags(i,s){const o=new Map,n=(a,l)=>a.every((y,k)=>y===l[k]);return i.concat(s).forEach(a=>{for(let[l,y]of o)if(n(y,a)||n(a,y))return void(a.length>=y.length&&o.set(l,a));o.set(a.join(","),a)}),Array.from(o.values())}function generateContentTags(i){return _generateContentTags.apply(this,arguments)}function _generateContentTags(){return _generateContentTags=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s=[]){let o=[];const n=a=>{s.find(l=>l[0]===a[0]&&l[1]===a[1])||s.push(a)};return i=i.replace(/(@|nostr:)(npub|nprofile|note|nevent|naddr)[a-zA-Z0-9]+/g,a=>{try{const l=a.split(/(@|nostr:)/)[2],{type:y,data:k}=nip19_exports.decode(l);let C;switch(y){case"npub":C=["p",k];break;case"nprofile":C=["p",k.pubkey];break;case"note":o.push(new Promise(function(){var A=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(S){n(["e",k,yield maybeGetEventRelayUrl(l),"mention"]),S()});return function(S){return A.apply(this,arguments)}}()));break;case"nevent":o.push(new Promise(function(){var A=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(S){let{id:T,relays:O,author:P}=k;O&&0!==O.length||(O=[yield maybeGetEventRelayUrl(l)]),n(["e",T,O[0],"mention"]),P&&n(["p",P]),S()});return function(S){return A.apply(this,arguments)}}()));break;case"naddr":o.push(new Promise(function(){var A=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(S){const T=[k.kind,k.pubkey,k.identifier].join(":");let O=k.relays??[];0===O.length&&(O=[yield maybeGetEventRelayUrl(l)]),n(["a",T,O[0],"mention"]),n(["p",k.pubkey]),S()});return function(S){return A.apply(this,arguments)}}()));break;default:return a}return C&&n(C),`nostr:${l}`}catch{return a}}),yield Promise.all(o),{content:i=i.replace(/#(\w+)/g,(a,l)=>{const y=["t",l];return s.find(k=>k[0]===y[0]&&k[1]===y[1])||s.push(y),a}),tags:s}}),_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_angular_builders_custom_webpack_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,s){return _encrypt.apply(this,arguments)}function _encrypt(){return _encrypt=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s){if(!this.ndk)throw new Error("No NDK instance found!");if(s||(yield this.ndk.assertSigner(),s=this.ndk.signer),!i){const o=this.getMatchingTags("p");if(1!==o.length)throw new Error("No recipient could be determined and no explicit recipient was provided");i=this.ndk.getUser({hexpubkey:o[0][1]})}this.content=yield s?.encrypt(i,this.content)}),_encrypt.apply(this,arguments)}function decrypt(i,s){return _decrypt.apply(this,arguments)}function _decrypt(){return _decrypt=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s){if(!this.ndk)throw new Error("No NDK instance found!");s||(yield this.ndk.assertSigner(),s=this.ndk.signer),i||(i=this.author),this.content=yield s?.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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i=!0,s){if(!s&&i){if(!this.ndk)throw new Error("No NDK instance found");this.ndk.assertSigner(),s=this.ndk.signer}const o=new NDKEvent(this.ndk,{kind:getKind(this),content:""});return o.tag(this),16===o.kind&&o.tags.push(["k",`${this.kind}`]),s&&(yield o.sign(s)),i&&(yield o.publish()),o}),_repost.apply(this,arguments)}function getKind(i){return 1===i.kind?6:16}var NDKEvent=class n0 extends lib$1.EventEmitter{ndk;created_at;content="";tags=[];kind;id="";sig;pubkey="";_author=void 0;relay;constructor(s,o){super(),this.ndk=s,this.created_at=o?.created_at,this.content=o?.content||"",this.tags=o?.tags||[],this.id=o?.id||"",this.sig=o?.sig,this.pubkey=o?.pubkey||"",this.kind=o?.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(s){this.pubkey=s.hexpubkey,this._author=void 0}get author(){if(this._author)return this._author;if(!this.ndk)throw new Error("No NDK instance found");const s=this.ndk.getUser({hexpubkey:this.pubkey});return this._author=s,s}tag(s,o){let n=[];if(s instanceof NDKUser){const a=["p",s.pubkey];o&&a.push(o),n.push(a)}else if(s instanceof n0){const a=s;n=a.referenceTags(o,a?.pubkey===this.pubkey);for(const y of a.getMatchingTags("p"))y[1]!==this.pubkey&&(this.tags.find(k=>"p"===k[0]&&k[1]===y[1])||this.tags.push(["p",y[1]]))}else n=[s];this.tags=mergeTags(this.tags,n)}toNostrEvent(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!s&&""===o.pubkey){const y=yield o.ndk?.signer?.user();o.pubkey=y?.hexpubkey||""}o.created_at||(o.created_at=Math.floor(Date.now()/1e3));const n=o.rawEvent(),{content:a,tags:l}=yield o.generateTags();n.content=a||"",n.tags=l;try{o.id=getEventHash(n)}catch{}return o.id&&(n.id=o.id),o.sig&&(n.sig=o.sig),n})()}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(s){return this.tags.filter(o=>o[0]===s)}tagValue(s){const o=this.getMatchingTags(s);if(0!==o.length)return o[0][1]}get alt(){return this.tagValue("alt")}set alt(s){this.removeTag("alt"),s&&this.tags.push(["alt",s])}removeTag(s){this.tags=this.tags.filter(o=>o[0]!==s)}sign(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){s?o.author=yield s.user():(o.ndk?.assertSigner(),s=o.ndk.signer),yield o.generateTags(),o.isReplaceable()&&(o.created_at=Math.floor(Date.now()/1e3));const n=yield o.toNostrEvent();return o.sig=yield s.sign(n),o.sig})()}publish(s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(n.sig||(yield n.sign()),!n.ndk)throw new Error("NDKEvent must be associated with an NDK instance to publish");return s||(s=n.ndk.devWriteRelaySet||calculateRelaySetFromEvent(n.ndk)),s.publish(n,o)})()}generateTags(){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let o=[];const n=yield generateContentTags(s.content,s.tags),a=n.content;if(o=n.tags,s.kind&&s.isParamReplaceable()&&!s.getMatchingTags("d")[0]){const l=s.tagValue("title");let y=[...Array(l?6:16)].map(()=>Math.random().toString(36)[2]).join("");l&&l.length>0&&(y=l.replace(/[^a-z0-9]+/gi,"-").replace(/^-|-$/g,"")+"-"+y),o.push(["d",y])}if((s.ndk?.clientName||s.ndk?.clientNip89)&&!s.tagValue("client")){const l=["client",s.ndk.clientName??""];s.ndk.clientNip89&&l.push(s.ndk.clientNip89),o.push(l)}return{content:a||"",tags:o}})()}muted(){const s=this.ndk?.mutedIds.get(this.pubkey);if(s&&"p"===s)return"author";const o=this.tagReference(),n=this.ndk?.mutedIds.get(o[1]);return n&&n===o[0]?"event":null}replaceableDTag(){if(this.kind&&this.kind>=3e4&&this.kind<=4e4){const s=this.getMatchingTags("d")[0];return s?s[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 s=this.replaceableDTag();return`${this.kind}:${this.pubkey}:${s}`}tagReference(s){let o;return o=this.isParamReplaceable()?["a",this.tagAddress()]:["e",this.tagId()],o.push(this.relay?this.relay.url:""),s&&o.push(s),o}referenceTags(s,o){let n=[];return n=this.isParamReplaceable()?[["a",this.tagAddress()],["e",this.id]]:[["e",this.id]],this.relay?.url?n=n.map(a=>(a.push(this.relay?.url),a)):s&&(n=n.map(a=>(a.push(""),a))),s&&n.forEach(a=>a.push(s)),o||n.push(...this.author.referenceTags()),n}filter(){return this.isParamReplaceable()?{"#a":[this.tagId()]}:{"#e":[this.tagId()]}}zap(s,o,n,a,l){var y=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!y.ndk)throw new Error("No NDK instance found");l||y.ndk.assertSigner();const k=new Zap({ndk:y.ndk,zappedEvent:y,zappedUser:a}),C=Array.from(y.ndk.pool.relays.keys());return yield k.createZapRequest(s,o,n,C,l)})()}delete(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_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 n=new n0(o.ndk,{kind:5,content:s||""});return n.tag(o),yield n.publish(),n})()}repost=repost.bind(this);react(s,o=!0){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!n.ndk)throw new Error("No NDK instance found");n.ndk.assertSigner();const a=new n0(n.ndk,{kind:7,content:s});return a.tag(n),o?yield a.publish():yield a.sign(),a})()}get isValid(){return!0}},READ_MARKER="read",WRITE_MARKER="write",NDKRelayList=class h5 extends NDKEvent{constructor(s,o){super(s,o),this.kind??=10002}static from(s){return new h5(s.ndk,s.rawEvent())}get readRelayUrls(){return this.getMatchingTags("r").filter(s=>!s[2]||s[2]&&s[2]===READ_MARKER).map(s=>s[1])}set readRelayUrls(s){for(const o of s)this.tags.push(["r",o,READ_MARKER])}get writeRelayUrls(){return this.getMatchingTags("r").filter(s=>!s[2]||s[2]&&s[2]===WRITE_MARKER).map(s=>s[1])}set writeRelayUrls(s){for(const o of s)this.tags.push(["r",o,WRITE_MARKER])}get bothRelayUrls(){return this.getMatchingTags("r").filter(s=>!s[2]).map(s=>s[1])}set bothRelayUrls(s){for(const o of s)this.tags.push(["r",o])}get relays(){return this.getMatchingTags("r").map(s=>s[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,s,o,n,a){if(super(),this.ndk=i,this.pool=o?.pool||i.pool,this.opts={...defaultOpts,...o||{}},this.filters=s instanceof Array?s:[s],this.subId=a||o?.subId,this.internalId=Math.random().toString(36).substring(7),this.relaySet=n,this.debug=i.debug.extend(`subscription[${o?.subId??this.internalId}]`),this.eoseDebug=this.debug.extend("eose"),this.skipVerification=o?.skipVerification||!1,this.skipValidation=o?.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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let s;i.shouldQueryCache()&&(s=i.startWithCache(),i.shouldWaitForCache()&&(yield s,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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(i.ndk.cacheAdapter?.query){const s=i.ndk.cacheAdapter.query(i);i.ndk.cacheAdapter.locking&&(yield s)}})()}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,s]of this.relayFilters)this.pool.getRelay(i).subscribe(this,s);else this.debug("No relays to subscribe to",this.ndk.explicitRelayUrls)}eventReceived(i,s,o=!1){if(s&&(i.relay=s),s||(s=i.relay),this.skipValidation||i.isValid){if(!o&&s){let n=this.eventsPerRelay.get(s);if(n||(n=new Set,this.eventsPerRelay.set(s,n)),n.add(i.id),this.eventFirstSeen.has(i.id)){const a=Date.now()-(this.eventFirstSeen.get(i.id)||0);return s.scoreSlowerEvent(a),void this.emit("event:dup",i,s,a,this)}this.ndk.cacheAdapter&&this.ndk.cacheAdapter.setEvent(i,this.filters,s),this.eventFirstSeen.set(i.id,Date.now())}else this.eventFirstSeen.set(i.id,0);i.ndk||(i.ndk=this.ndk),this.emit("event",i,s,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 s=this.lastEventReceivedAt?Date.now()-this.lastEventReceivedAt:void 0;const o=this.eosesSeen.size===this.relayFilters?.size;if(queryFullyFilled(this))this.emit("eose"),this.eoseDebug("Query fully filled"),this.opts?.closeOnEose&&this.stop();else if(o)this.emit("eose"),this.eoseDebug("All EOSEs seen"),this.opts?.closeOnEose&&this.stop();else{let n=1e3;const a=this.eosesSeen.size/this.relayFilters.size;if(this.eosesSeen.size>=2&&a>=.5){n*=1-a,this.eoseTimeout&&clearTimeout(this.eoseTimeout);const l=()=>{s=this.lastEventReceivedAt?Date.now()-this.lastEventReceivedAt:void 0,void 0!==s&&s<20?this.eoseTimeout=setTimeout(l,n):(this.emit("eose"),this.opts?.closeOnEose&&this.stop())};this.eoseTimeout=setTimeout(l,n)}}}};function follows(i,s){return _follows.apply(this,arguments)}function _follows(){return _follows=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s,o=3){if(!this.ndk)throw new Error("NDK not set");const n=Array.from(yield this.ndk.fetchEvents({kinds:[o],authors:[this.pubkey]},i||{groupable:!1}))[0];if(n){const a=new Set;return n.tags.forEach(l=>{if("p"===l[0])try{a.add(l[1]),s&&this.ndk?.outboxTracker?.trackUsers([l[1]])}catch{}}),[...a].reduce((l,y)=>{const k=new NDKUser({pubkey:y});return k.ndk=this.ndk,l.add(k),l},new Set)}return new Set}),_follows.apply(this,arguments)}function profileFromEvent(i){const s={};let o;try{o=JSON.parse(i.content)}catch(n){throw new Error(`Failed to parse profile event: ${n}`)}return Object.keys(o).forEach(n=>{switch(n){case"name":s.name=o.name;break;case"display_name":s.displayName=o.display_name;break;case"image":case"picture":s.image=o.image||o.picture;break;case"banner":s.banner=o.banner;break;case"bio":s.bio=o.bio;break;case"nip05":s.nip05=o.nip05;break;case"lud06":s.lud06=o.lud06;break;case"lud16":s.lud16=o.lud16;break;case"about":s.about=o.about;break;case"zapService":s.zapService=o.zapService;break;case"website":s.website=o.website;break;default:s[n]=o[n]}}),s}function serializeProfile(i){const s={};for(const[o,n]of Object.entries(i))switch(o){case"username":case"name":s.name=n;break;case"displayName":s.display_name=n;break;case"image":case"picture":s.picture=n;break;case"bio":case"about":s.about=n;break;default:s[o]=n}return JSON.stringify(s)}var NDKList=class g5 extends NDKEvent{_encryptedTags;encryptedTagsLength;constructor(s,o){super(s,o),this.kind??=30001}static from(s){return new g5(s.ndk,s.rawEvent())}get title(){const s=this.tagValue("title")||this.tagValue("name");return 3!==this.kind||s?1e4!==this.kind||s?10001!==this.kind||s?10002!==this.kind||s?10003!==this.kind||s?10004!==this.kind||s?10005!==this.kind||s?10006!==this.kind||s?10007!==this.kind||s?10015!==this.kind||s?10030!==this.kind||s?s??this.tagValue("d"):"Emojis":"Interests":"Search Relays":"Blocked Relays":"Public Chats":"Communities":"Bookmarks":"Relay Metadata":"Pinned Notes":"Mute":"Contacts"}set title(s){if(this.removeTag("title"),this.removeTag("name"),!s)throw new Error("Title cannot be empty");this.tags.push(["title",s])}get name(){const s=this.tagValue("name");return 3!==this.kind||s?1e4!==this.kind||s?10001!==this.kind||s?10002!==this.kind||s?10003!==this.kind||s?10004!==this.kind||s?10005!==this.kind||s?10006!==this.kind||s?10007!==this.kind||s?10015!==this.kind||s?10030!==this.kind||s?s??this.tagValue("d"):"Emojis":"Interests":"Search Relays":"Blocked Relays":"Public Chats":"Communities":"Bookmarks":"Relay Metadata":"Pinned Notes":"Mute":"Contacts"}set name(s){if(this.removeTag("name"),!s)throw new Error("Name cannot be empty");this.tags.push(["title",s])}get description(){return this.tagValue("description")}set description(s){s?this.tags.push(["description",s]):this.removeTag("description")}isEncryptedTagsCacheValid(){return!(!this._encryptedTags||this.encryptedTagsLength!==this.content.length)}encryptedTags(s=!0){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(s&&o.isEncryptedTagsCacheValid())return o._encryptedTags;if(!o.ndk)throw new Error("NDK instance not set");if(!o.ndk.signer)throw new Error("NDK signer not set");const n=yield o.ndk.signer.user();try{if(o.content.length>0)try{const a=yield o.ndk.signer.decrypt(n,o.content),l=JSON.parse(a);return l&&l[0]?(o.encryptedTagsLength=o.content.length,o._encryptedTags=l):(o.encryptedTagsLength=o.content.length,o._encryptedTags=[])}catch{console.log(`error decrypting ${o.content}`)}}catch{}return[]})()}validateTag(s){return!0}get items(){return this.tags.filter(s=>!["d","L","l","title","name","description","summary","image","thumb","alt","expiration","subject"].includes(s[0]))}addItem(s,o=void 0,n=!1){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a.ndk)throw new Error("NDK instance not set");if(!a.ndk.signer)throw new Error("NDK signer not set");let l;if(s instanceof NDKEvent)l=s.referenceTags();else if(s instanceof NDKUser)l=s.referenceTags();else if(s instanceof NDKRelay)l=s.referenceTags();else{if(!Array.isArray(s))throw new Error("Invalid object type");l=[s]}if(o&&l[0].push(o),n){const y=yield a.ndk.signer.user(),k=yield a.encryptedTags();k.push(...l),a._encryptedTags=k,a.encryptedTagsLength=a.content.length,a.content=JSON.stringify(k),yield a.encrypt(y)}else a.tags.push(...l);a.created_at=Math.floor(Date.now()/1e3),a.emit("change")})()}removeItem(s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!n.ndk)throw new Error("NDK instance not set");if(!n.ndk.signer)throw new Error("NDK signer not set");if(o){const a=yield n.ndk.signer.user(),l=yield n.encryptedTags();l.splice(s,1),n._encryptedTags=l,n.encryptedTagsLength=n.content.length,n.content=JSON.stringify(l),yield n.encrypt(a)}else n.tags.splice(s,1);return n.created_at=Math.floor(Date.now()/1e3),n.emit("change"),n})()}},lists_default=NDKList;function pin(i,s,o){return _pin.apply(this,arguments)}function _pin(){return _pin=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s,o){if(!this.ndk)throw new Error("No NDK instance found");if(this.ndk.assertSigner(),!s){const n=yield this.ndk.fetchEvents({kinds:[10001],authors:[this.pubkey]},{cacheUsage:"ONLY_RELAY"});s=n.size>0?lists_default.from(Array.from(n)[0]):new NDKEvent(this.ndk,{kind:10001})}return s.tag(i),o&&(yield s.publish()),s}),_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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s=fetch,o={}){const n=i.match(NIP05_REGEX);if(!n)return null;const[a,l="_",y]=n;try{const k=yield s(`https://${y}/.well-known/nostr.json?name=${l}`,o),{names:C,relays:A,nip46:S}=parseNIP05Result(yield k.json()),T=C[l];return T?{pubkey:T,relays:A?.[T],nip46:S?.[T]}:null}catch{return null}}),_getNip05For.apply(this,arguments)}function parseNIP05Result(i){const s={names:{}};for(const[o,n]of Object.entries(i.names))"string"==typeof o&&"string"==typeof n&&(s.names[o]=n);if(i.relays){s.relays={};for(const[o,n]of Object.entries(i.relays))"string"==typeof o&&Array.isArray(n)&&(s.relays[o]=n.filter(a=>"string"==typeof a))}if(i.nip46){s.nip46={};for(const[o,n]of Object.entries(i.relays))"string"==typeof o&&Array.isArray(n)&&(s.nip46[o]=n.filter(a=>"string"==typeof a))}return s}var NDKUser=class S1{ndk;profile;_npub;_pubkey;relayUrls=[];nip46Urls=[];constructor(s){s.npub&&(this._npub=s.npub),s.hexpubkey&&(this._pubkey=s.hexpubkey),s.pubkey&&(this._pubkey=s.pubkey),s.relayUrls&&(this.relayUrls=s.relayUrls),s.nip46Urls&&(this.nip46Urls=s.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(s){this._npub=s}get hexpubkey(){return this.pubkey}set hexpubkey(s){this._pubkey=s}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(s){this._pubkey=s}static fromNip05(s,o,n=!1){return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(o?.cacheAdapter&&o.cacheAdapter.loadNip05){const y=yield o.cacheAdapter.loadNip05(s);if(y){const k=new S1({pubkey:y.pubkey,relayUrls:y.relays,nip46Urls:y.nip46});return k.ndk=o,k}}let a={};n&&(a.cache="no-cache");const l=yield getNip05For(s,o?.httpFetch,a);if(l&&o?.cacheAdapter&&o.cacheAdapter.saveNip05&&o?.cacheAdapter.saveNip05(s,l),l){const y=new S1({pubkey:l.pubkey,relayUrls:l.relays,nip46Urls:l.nip46});return y.ndk=o,y}})()}fetchProfile(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!o.ndk)throw new Error("NDK not set");o.profile||(o.profile={});let n=null;if(o.ndk.cacheAdapter&&o.ndk.cacheAdapter.fetchProfile&&"ONLY_RELAY"!==s?.cacheUsage){const l=yield o.ndk.cacheAdapter.fetchProfile(o.pubkey);if(l)return o.profile=l,l}!s&&o.ndk.cacheAdapter&&o.ndk.cacheAdapter.locking&&(n=yield o.ndk.fetchEvents({kinds:[0],authors:[o.pubkey]},{cacheUsage:"ONLY_CACHE",closeOnEose:!0,groupable:!1}),s={cacheUsage:"ONLY_RELAY",closeOnEose:!0,groupable:!0,groupableDelay:250}),n&&0!==n.size||(n=yield o.ndk.fetchEvents({kinds:[0],authors:[o.pubkey]},s));const a=Array.from(n).sort((l,y)=>l.created_at-y.created_at);return 0===a.length?null:(o.profile=profileFromEvent(a[0]),o.profile&&o.ndk.cacheAdapter&&o.ndk.cacheAdapter.saveProfile&&o.ndk.cacheAdapter.saveProfile(o.pubkey,o.profile),o.profile)})()}follows=follows.bind(this);pin=pin.bind(this);relayList(){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!s.ndk)throw new Error("NDK not set");const o=s.ndk.outboxPool||s.ndk.pool,n=new Set;for(const y of o.relays.values())n.add(y);const a=new NDKRelaySet(n,s.ndk),l=yield s.ndk.fetchEvent({kinds:[10002],authors:[s.pubkey]},{closeOnEose:!0,pool:o,groupable:!0,subId:`relay-list-${s.pubkey.slice(0,6)}`},a);return l?NDKRelayList.from(l):yield s.relayListFromKind3()})()}relayListFromKind3(){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!s.ndk)throw new Error("NDK not set");const o=yield s.ndk.fetchEvent({kinds:[3],authors:[s.pubkey]});if(o)try{const n=JSON.parse(o.content),a=new NDKRelayList(s.ndk),l=new Set,y=new Set;for(const[k,C]of Object.entries(n))if(C){const A=C;A.write&&y.add(k),A.read&&l.add(k)}else l.add(k),y.add(k);return a.readRelayUrls=Array.from(l),a.writeRelayUrls=Array.from(y),a}catch{}})()}tagReference(){return["p",this.pubkey]}referenceTags(s){const o=[["p",this.pubkey]];return s&&o[0].push("",s),o}publish(){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_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.profile)throw new Error("No profile available");s.ndk.assertSigner(),yield new NDKEvent(s.ndk,{kind:0,content:serializeProfile(s.profile)}).publish()})()}follow(s,o,n=3){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_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.ndk.assertSigner(),o||(o=yield a.follows(void 0,void 0,n)),o.has(s))return!1;o.add(s);const l=new NDKEvent(a.ndk,{kind:n});for(const y of o)l.tag(y);return yield l.publish(),!0})()}validateNip05(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!o.ndk)throw new Error("No NDK instance found");const n=yield getNip05For(s);return null===n?null:n.pubkey===o.pubkey})()}zap(s,o,n,a){var l=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!l.ndk)throw new Error("No NDK instance found");a||l.ndk.assertSigner();const y=new Zap({ndk:l.ndk,zappedUser:l}),k=Array.from(l.ndk.pool.relays.keys());return yield y.createZapRequest(s,o,n,k,a)})()}},NDKPrivateKeySigner=class f5{_user;privateKey;constructor(s){s&&(this.privateKey=s,this._user=new NDKUser({hexpubkey:getPublicKey(this.privateKey)}))}static generate(){const s=generatePrivateKey();return new f5(s)}blockUntilReady(){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!s._user)throw new Error("NDKUser not initialized");return s._user})()}user(){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return yield s.blockUntilReady(),s._user})()}sign(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!o.privateKey)throw Error("Attempted to sign without a private key");return getSignature(s,o.privateKey)})()}encrypt(s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!n.privateKey)throw Error("Attempted to encrypt without a private key");const a=s.hexpubkey;return yield nip04_exports.encrypt(n.privateKey,a,o)})()}decrypt(s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!n.privateKey)throw Error("Attempted to decrypt without a private key");const a=s.hexpubkey;return yield nip04_exports.decrypt(n.privateKey,a,o)})()}},NDKNostrRpc=class extends lib$1.EventEmitter{ndk;signer;debug;constructor(i,s,o){super(),this.ndk=i,this.signer=s,this.debug=o.extend("rpc")}subscribe(i){var s=this;const o=this.ndk.subscribe(i,{closeOnEose:!1,groupable:!1});return o.on("event",function(){var n=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a){try{const l=yield s.parseEvent(a);s.emit(l.method?"request":`response-${l.id}`,l)}catch(l){s.debug("error parsing event",l,a.rawEvent())}});return function(a){return n.apply(this,arguments)}}()),new Promise((n,a)=>{o.on("eose",()=>n(o))})}parseEvent(i){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o=s.ndk.getUser({hexpubkey:i.pubkey});o.ndk=s.ndk;const n=yield s.signer.decrypt(o,i.content),a=JSON.parse(n),{id:l,method:y,params:k,result:C,error:A}=a;return y?{id:l,pubkey:i.pubkey,method:y,params:k,event:i}:{id:l,result:C,error:A,event:i}})()}sendResponse(i,s,o,n=24133,a){var l=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const y={id:i,result:o};a&&(y.error=a);const k=yield l.signer.user(),C=l.ndk.getUser({hexpubkey:s}),A=new NDKEvent(l.ndk,{kind:n,content:JSON.stringify(y),tags:[["p",s]],pubkey:k.hexpubkey});A.content=yield l.signer.encrypt(C,A.content),yield A.sign(l.signer),yield A.publish()})()}sendRequest(i,s,o=[],n=24133,a){var l=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const y=Math.random().toString(36).substring(7),k=yield l.signer.user(),C=l.ndk.getUser({hexpubkey:i}),A={id:y,method:s,params:o},S=new Promise(O=>{const P=q=>{"auth_url"===q.result?(l.once(`response-${y}`,P),l.emit("authUrl",q.error)):a&&a(q)};l.once(`response-${y}`,P)}),T=new NDKEvent(l.ndk,{kind:n,content:JSON.stringify(A),tags:[["p",i]],pubkey:k.pubkey});return T.content=yield l.signer.encrypt(C,T.content),yield T.sign(l.signer),l.debug(`sending ${s} request to`,i),yield T.publish(),S})()}},NDKNip46Signer=class extends lib$1.EventEmitter{ndk;remoteUser;remotePubkey;token;localSigner;nip05;rpc;debug;relayUrls=[];constructor(i,s,o){let n,a;if(super(),s.includes("#")){const l=s.split("#");n=new NDKUser({npub:l[0]}).pubkey,a=l[1]}else s.startsWith("npub")?n=new NDKUser({npub:s}).pubkey:s.match(/\./)?this.nip05=s:n=s;this.ndk=i,n&&(this.remotePubkey=n),this.token=a,this.debug=i.debug.extend("nip46:signer"),this.remoteUser=new NDKUser({pubkey:n}),this.localSigner=o||NDKPrivateKeySigner.generate(),this.rpc=new NDKNostrRpc(i,this.localSigner,this.debug),this.rpc.on("authUrl",(...l)=>{this.emit("authUrl",...l)}),this.localSigner.user().then(l=>{this.rpc.subscribe({kinds:[24133,24134],"#p":[l.pubkey]})})}user(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const s=yield i.localSigner.user(),o=i.ndk.getUser({pubkey:i.remotePubkey});if(i.nip05&&!i.remotePubkey&&NDKUser.fromNip05(i.nip05).then(n=>{n&&(i.remoteUser=n,i.remotePubkey=n.pubkey,i.relayUrls=n.nip46Urls)}),!i.remotePubkey)throw new Error("Remote pubkey not set");return new Promise((n,a)=>{setTimeout(()=>{const l=[s.pubkey];i.token&&l.push(i.token),i.rpc.sendRequest(i.remotePubkey,"connect",l,24133,y=>{"ack"===y.result?n(o):a(y.error)})},100)})})()}encrypt(i,s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.debug("asking for encryption"),new Promise((n,a)=>{o.rpc.sendRequest(o.remotePubkey,"nip04_encrypt",[i.pubkey,s],24133,l=>{l.error?a(l.error):n(l.result)})})})()}decrypt(i,s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.debug("asking for decryption"),new Promise((n,a)=>{o.rpc.sendRequest(o.remotePubkey,"nip04_decrypt",[i.pubkey,s],24133,l=>{if(l.error)a(l.error);else{const y=JSON.parse(l.result);n(y[0])}})})})()}sign(i){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return s.debug("asking for a signature"),new Promise((o,n)=>{s.rpc.sendRequest(s.remotePubkey,"sign_event",[JSON.stringify(i)],24133,a=>{if(s.debug("got a response",a),a.error)n(a.error);else{const l=JSON.parse(a.result);o(l.sig)}})})})()}createAccount(i,s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){n.debug("asking to create an account");const a=[];return i&&a.push(i),s&&a.push(s),o&&a.push(o),new Promise((l,y)=>{n.rpc.sendRequest(n.remotePubkey,"create_account",a,24134,k=>{n.debug("got a response",k),k.error?y(k.error):l(k.result)})})})()}};function dedup(i,s){return i.created_at>s.created_at?i:s}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 s of i){const o=getKeyFromItem(s);if(this.data.has(o))continue;const n=this.track(s,"user"),a=s instanceof NDKUser?s:new NDKUser({hexpubkey:s});a.ndk=this.ndk,a.relayList().then(l=>{if(l){n.readRelays=new Set(l.readRelayUrls),n.writeRelays=new Set(l.writeRelayUrls);for(const y of n.readRelays)this.ndk.pool.blacklistRelayUrls.has(y)&&(this.debug(`removing blacklisted relay ${y} from read relays`),n.readRelays.delete(y));for(const y of n.writeRelays)this.ndk.pool.blacklistRelayUrls.has(y)&&(this.debug(`removing blacklisted relay ${y} from write relays`),n.writeRelays.delete(y));this.data.set(o,n),this.debug(`Adding ${n.readRelays.size} read relays and ${n.writeRelays.size} write relays for ${a.hexpubkey}`)}})}}track(i,s){const o=getKeyFromItem(i);s??=getTypeFromItem(i);let n=this.data.get(o);return n||(n=new OutboxItem(s)),this.data.set(o,n),n}};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=[],s=[],o,n){super(),this.debug=n??o.debug.extend("pool");for(const a of i){const l=new NDKRelay(a);this.addRelay(l,!1)}this.blacklistRelayUrls=new Set(s)}useTemporaryRelay(i,s=6e5){const o=this.relays.has(i.url);o||this.addRelay(i);const n=this.temporaryRelayTimers.get(i.url);if(n&&clearTimeout(n),!o||n){const a=setTimeout(()=>{this.removeRelay(i.url)},s);this.temporaryRelayTimers.set(i.url,a)}}addRelay(i,s=!0){var o=this;const n=i.url;this.blacklistRelayUrls?.has(n)?this.debug(`Relay ${n} is blacklisted`):(i.on("notice",function(){var a=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(l,y){return o.emit("notice",l,y)});return function(l,y){return a.apply(this,arguments)}}()),i.on("connect",()=>this.handleRelayConnect(n)),i.on("ready",()=>this.handleRelayReady(i)),i.on("disconnect",(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.emit("relay:disconnect",i)})),i.on("flapping",()=>this.handleFlapping(i)),i.on("auth",function(){var a=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(l){return o.emit("relay:auth",i,l)});return function(l){return a.apply(this,arguments)}}()),this.relays.set(n,i),s&&i.connect().catch(a=>{this.debug(`Failed to connect to relay ${n}`,a)}))}removeRelay(i){const s=this.relays.get(i);if(s)return s.disconnect(),this.relays.delete(i),this.emit("relay:disconnect",s),!0;const o=this.temporaryRelayTimers.get(i);return o&&(clearTimeout(o),this.temporaryRelayTimers.delete(i)),!1}getRelay(i,s=!0){let o=this.relays.get(i);return o||(o=new NDKRelay(i),this.addRelay(o,s)),o}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 s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o=[];s.debug(`Connecting to ${s.relays.size} relays${i?`, timeout ${i}...`:""}`);for(const n of s.relays.values())if(i){const a=new Promise((l,y)=>{setTimeout(()=>y(`Timed out after ${i}ms`),i)});o.push(Promise.race([n.connect(),a]).catch(l=>{s.debug(`Failed to connect to relay ${n.url}: ${l??"No reason specified"}`)}))}else o.push(n.connect());i&&setTimeout(()=>{const n=s.stats().connected===s.relays.size,a=s.stats().connected>0;!n&&a&&s.emit("connect")},i),yield Promise.all(o)})()}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 s=this.backoffTimes.get(i.url)||5e3;s*=2,this.backoffTimes.set(i.url,s),this.debug(`Backoff time for ${i.url} is ${s}ms`),setTimeout(()=>{this.debug(`Attempting to reconnect to ${i.url}`),i.connect(),this.checkOnFlappingRelays()},s),i.disconnect(),this.emit("flapping",i)}size(){return this.relays.size}stats(){const i={total:0,connected:0,disconnected:0,connecting:0};for(const s of this.relays.values())i.total++,1===s.status?i.connected++:3===s.status?i.disconnected++:0===s.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,s){const o=s.connectedRelays();if(!Array.from(i.relays).some(n=>o.map(a=>a.url).includes(n.url)))for(const n of o)i.addRelay(n);if(0===o.length)for(const n of s.relays.values())i.addRelay(n);return i}var SPEC_PATH="/.well-known/nostr/nip96.json",Nip96=class{ndk;spec;url;nip98Required=!1;constructor(i,s){this.url=`https://${i}${SPEC_PATH}`,this.ndk=s}prepareUpload(i,s="POST"){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(o.validateHttpFetch(),o.spec||(yield o.fetchSpec()),!o.spec)throw new Error("Failed to fetch NIP96 spec");let n={};return o.nip98Required&&(n={Authorization:yield o.generateNip98Header(o.spec.api_url,s,i)}),{url:o.spec.api_url,headers:n}})()}xhrUpload(i,s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const n="POST",{url:a,headers:l}=yield o.prepareUpload(s,n);i.open(n,a,!0),l.Authorization&&i.setRequestHeader("Authorization",l.Authorization);const y=new FormData;return y.append("file",s),new Promise((k,C)=>{i.onload=function(){i.status>=200&&i.status<300?k(JSON.parse(i.responseText)):C(new Error(i.statusText))},i.onerror=function(){C(new Error("Network Error"))},i.send(y)})})()}upload(i){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o="POST",{url:n,headers:a}=yield s.prepareUpload(i,o),l=new FormData;l.append("file",i);const y=yield s.ndk.httpFetch(s.spec.api_url,{method:o,headers:a,body:l});if(200!==y.status)throw new Error(`Failed to upload file to ${n}`);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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){i.validateHttpFetch();const s=yield i.ndk.httpFetch(i.url);if(200!==s.status)throw new Error(`Failed to fetch NIP96 spec from ${i.url}`);const o=yield s.json();if(!o)throw new Error(`Failed to parse NIP96 spec from ${i.url}`);i.spec=o,i.nip98Required=i.spec.plans.free.is_nip98_required})()}generateNip98Header(i,s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const a=new NDKEvent(n.ndk,{kind:27235,tags:[["u",i],["method",s]]});if(["POST","PUT","PATCH"].includes(s)){const l=yield n.calculateSha256(o);a.tags.push(["payload",l])}return yield a.sign(),`Nostr ${btoa(JSON.stringify(a.rawEvent()))}`})()}calculateSha256(i){return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const s=yield i.arrayBuffer(),o=yield crypto.subtle.digest("SHA-256",s);return Array.from(new Uint8Array(o)).map(n=>n.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 s;super(),s=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 o=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(n,a){s.relayAuthDefaultPolicy&&(yield s.relayAuthDefaultPolicy(n,a))});return function(n,a){return o.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,s,o=!0){let n;return n="string"==typeof i?new NDKRelay(i,s):i,this.pool.addRelay(n,o),this.explicitRelayUrls.push(n.url),n}toJSON(){return{relayCount:this.pool.relays.size}.toString()}get activeUser(){return this._activeUser}set activeUser(i){var s=this;const o=this._activeUser?.pubkey!==i?.pubkey;if(this._activeUser=i,i&&o){const n=function(){var C=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(A){const S=yield A.relayList();if(S){s.debug("Connecting to user relays",{npub:A.npub,relays:S.relays});for(const T of S.relays){let O=s.pool.relays.get(T);O||(O=new NDKRelay(T),s.pool.addRelay(O))}}else s.debug("No relay list found for user",{npub:A.npub})});return function(S){return C.apply(this,arguments)}}(),a=function(){var C=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(A){const S=yield s.fetchEvents([{kinds:[1e4],authors:[A.pubkey]},{kinds:[3e4],authors:[A.pubkey],"#d":["mute"],limit:1}]);if(S)for(const T of S){const O=lists_default.from(T);for(const P of O.items)s.mutedIds.set(P[1],P[0])}else s.debug("No mute list found for user",{npub:A.npub})});return function(S){return C.apply(this,arguments)}}(),l=[];this.autoConnectUserRelays&&l.push(n),this.autoFetchUserMutelist&&l.push(a);const y=function(){var C=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(A){for(const S of l)yield S(A)});return function(S){return C.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",C=>{this.debug("New relay ready",C?.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(s=>{s.ndk=this,this.activeUser=s})}connect(i){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){s._signer&&s.autoConnectUserRelays&&(s.debug("Attempting to connect to user relays specified by signer"),s._signer.relays)&&(yield s._signer.relays()).forEach(n=>s.pool.addRelay(n));const o=[s.pool.connect(i)];return s.outboxPool&&o.push(s.outboxPool.connect(i)),s.debug("Connecting to relays",{timeoutMs:i}),Promise.allSettled(o).then(()=>{})})()}getUser(i){const s=new NDKUser(i);return s.ndk=this,s}getUserFromNip05(i,s=!1){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return NDKUser.fromNip05(i,o,s)})()}subscribe(i,s,o,n=!0){const a=new NDKSubscription(this,i,s,o);if(o)for(const l of o.relays)this.pool.useTemporaryRelay(l);if(this.outboxPool&&a.hasAuthorsFilter()){const l=a.filters.filter(y=>y.authors&&y.authors?.length>0).map(y=>y.authors).flat();this.outboxTracker?.trackUsers(l)}return n&&a.start(),a}publish(i,s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return n.debug("Deprecated: Use `event.publish()` instead"),i.publish(s,o)})()}fetchEvent(i,s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let a,l;if(o instanceof NDKRelay?l=new NDKRelaySet(new Set([o]),n):o instanceof NDKRelaySet&&(l=o),!o&&"string"==typeof i&&!isNip33AValue(i)){const y=relaysFromBech32(i);y.length>0&&(l=new NDKRelaySet(new Set(y),n),l=correctRelaySet(l,n.pool))}if(a="string"==typeof i?filterFromId(i):i,!a)throw new Error(`Invalid filter: ${JSON.stringify(i)}`);return new Promise(y=>{const k=n.subscribe(a,{...s||{},closeOnEose:!0},l,!1);k.on("event",C=>{C.ndk=n,y(C)}),k.on("eose",()=>{y(null)}),k.start()})})()}fetchEvents(i,s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return new Promise(a=>{const l=new Map,y=n.subscribe(i,{...s||{},closeOnEose:!0},o,!1),k=C=>{const A=C.deduplicationKey(),S=l.get(A);S&&(C=dedup(S,C)),C.ndk=n,l.set(A,C)};y.on("event",k),y.on("event:dup",k),y.on("eose",()=>{a(new Set(l.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,s)=>{localStorage.setItem(i,s)},localStorageGetItem=i=>{const s=window.localStorage.getItem(i);if(s)try{return JSON.parse(s)}catch{}return null},localStorageRemoveItem=i=>{localStorage.removeItem(i)},fetchProfile=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s,o){const n=new NDKUser({pubkey:s.pubkey});return n.ndk=o,yield n.fetchProfile()});return function(o,n){return i.apply(this,arguments)}}(),createProfile=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s,o,n,a){const l={name:s.name},y=new NDKEvent(o,{kind:0,created_at:Math.floor(Date.now()/1e3),pubkey:s.pubkey,content:JSON.stringify(l),tags:[]});window.location.hostname&&y.tags.push(["client",window.location.hostname]);const k=new NDKEvent(o,{kind:10002,created_at:Math.floor(Date.now()/1e3),pubkey:s.pubkey,content:"",tags:[]}),C=(a||"").split(",").map(A=>A.trim()).filter(A=>A.startsWith("ws"));C.length||C.push(...DEFAULT_SIGNUP_RELAYS);for(const A of C)k.tags.push(["r",A]);yield y.sign(n),console.log("signed profile",y),yield k.sign(n),console.log("signed relays",k),yield y.publish(NDKRelaySet.fromRelayUrls(OUTBOX_RELAYS$1,o)),console.log("published profile",y),yield k.publish(NDKRelaySet.fromRelayUrls(OUTBOX_RELAYS$1,o)),console.log("published relays",k)});return function(o,n,a,l){return i.apply(this,arguments)}}(),bunkerUrlToInfo=(i,s="")=>{const o=new URL(i);return{pubkey:o.hostname||o.pathname.split("//")[1],sk:s||generatePrivateKey(),relays:o.searchParams.getAll("relay"),token:o.searchParams.get("secret")||"",authMethod:"connect"}},isBunkerUrl=i=>i.startsWith("bunker://"),getBunkerUrl=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s,o){if(!s)return"";if(isBunkerUrl(s))return s;if(s.includes("@")){const[n,a]=s.toLocaleLowerCase().split("@"),l=o.devOverrideBunkerOrigin||`https://${a}`,y=`${l}/.well-known/nostr.json?name=_`,k=`${l}/.well-known/nostr.json?name=${n}`,C=yield fetch(y),A=yield C.json(),T=A.nip46[A.names._],O=yield fetch(k),P=(yield O.json()).names[n];if(!T.length)throw new Error("Bunker relay not provided");return`bunker://${P}?relay=${T[0]}`}throw new Error("Invalid user name or bunker url")});return function(o,n){return i.apply(this,arguments)}}(),checkNip05=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s){let o=!1,n="",a="";return yield(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!s||!s.includes("@"))return;const[l,y]=s.toLocaleLowerCase().split("@");if(!l)return;if(!new RegExp(/^[\w-.]+@([\w-]+\.)+[\w-]{2,8}$/g).test(s))return void(n="Invalid name");if(!y)return void(n="Select service");const k=`https://${y}/.well-known/nostr.json?name=${l.toLowerCase()}`;try{const C=yield fetch(k),A=yield C.json();if(A.names[l])return void(a=A.names[l])}catch{}o=!0})(),{available:o,taken:""!=a,error:n,pubkey:a}});return function(o){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 s=localStorageGetItem(LOGGED_IN_ACCOUNTS)||[],o=localStorageGetItem(RECENT_ACCOUNTS)||[];s.forEach(y=>upgradeInfo(y)),o.forEach(y=>upgradeInfo(y));const n=s,a=s.findIndex(y=>y.pubkey===i.pubkey&&y.authMethod===i.authMethod);-1!==a?n[a]=i:n.push(i);const l=o.filter(y=>y.pubkey!==i.pubkey||y.authMethod!==i.authMethod);localStorageSetItem(RECENT_ACCOUNTS,JSON.stringify(l)),localStorageSetItem(LOGGED_IN_ACCOUNTS,JSON.stringify(n))},localStorageRemoveCurrentAccount=()=>{const i=localStorageGetItem(LOCAL_STORE_KEY);if(!i)return;upgradeInfo(i);const s={...i};delete s.sk,delete s.otpData;const o=localStorageGetItem(LOGGED_IN_ACCOUNTS)||[],n=localStorageGetItem(RECENT_ACCOUNTS)||[];o.forEach(y=>upgradeInfo(y)),n.forEach(y=>upgradeInfo(y));const a=n;if("connect"===s.authMethod&&s.bunkerUrl&&s.bunkerUrl.includes("secret="))console.log("nostr login bunker conn with a secret not saved to recent");else if("local"===s.authMethod)console.log("nostr login temporary local keys not save to recent");else{const y=n.findIndex(k=>k.pubkey===s.pubkey&&k.authMethod===s.authMethod);-1!==y?a[y]=s:a.push(s)}const l=o.filter(y=>y.pubkey!==i.pubkey||y.authMethod!==i.authMethod);localStorageSetItem(RECENT_ACCOUNTS,JSON.stringify(a)),localStorageSetItem(LOGGED_IN_ACCOUNTS,JSON.stringify(l)),localStorageRemoveItem(LOCAL_STORE_KEY)},localStorageRemoveRecent=i=>{const s=localStorageGetItem(RECENT_ACCOUNTS)||[];s.forEach(n=>upgradeInfo(n));const o=s.filter(n=>n.pubkey!==i.pubkey||n.authMethod!==i.authMethod);localStorageSetItem(RECENT_ACCOUNTS,JSON.stringify(o))},localStorageGetRecents=()=>{const i=localStorageGetItem(RECENT_ACCOUNTS)||[];return i.forEach(s=>upgradeInfo(s)),i},localStorageGetAccounts=()=>{const i=localStorageGetItem(LOGGED_IN_ACCOUNTS)||[];return i.forEach(s=>upgradeInfo(s)),i},localStorageGetCurrent=()=>{const i=localStorageGetItem(LOCAL_STORE_KEY);return i&&upgradeInfo(i),i},getDarkMode=i=>{const s=localStorage.getItem("nl-dark-mode");return s?!!JSON.parse(s):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_angular_builders_custom_webpack_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(s){super(),this.params=s}onAuthUrl(s){this.banner&&(this.banner.notify={confirm:Date.now(),url:s})}onUserInfo(s){this.banner&&(this.banner.userInfo=s)}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(s){this.banner&&(this.banner.accounts=s)}onDarkMode(s){this.banner&&(this.banner.darkMode=s)}launchAuthBanner(s){var o=this;this.banner=document.createElement("nl-banner"),this.banner.setAttribute("dark-mode",String(getDarkMode(s))),s.theme&&this.banner.setAttribute("theme",s.theme),s.noBanner&&this.banner.setAttribute("hidden-mode","true"),this.banner.addEventListener("handleLoginBanner",n=>{this.emit("launch",n.detail)}),this.banner.addEventListener("handleConfirmLogout",()=>{this.emit("onConfirmLogout")}),this.banner.addEventListener("handleLogoutBanner",(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){o.emit("logout")})),this.banner.addEventListener("handleImportModal",n=>{this.emit("import")}),this.banner.addEventListener("handleNotifyConfirmBanner",n=>{this.emit("onAuthUrlClick",n.detail)}),this.banner.addEventListener("handleSetConfirmBanner",n=>{this.listNotifies.push(n.detail),this.banner&&(this.banner.listNotifies=this.listNotifies)}),this.banner.addEventListener("handleSwitchAccount",n=>{this.emit("onSwitchAccount",n.detail)}),this.banner.addEventListener("handleOpenWelcomeModal",()=>{this.emit("launch",this.params.optionsModal.startScreen),this.banner&&(this.banner.isOpen=!1)}),this.banner.addEventListener("handleRetryConfirmBanner",()=>{const n=this.listNotifies.pop();n&&(this.banner&&(this.banner.listNotifies=this.listNotifies),this.emit("onAuthUrlClick",n))}),document.body.appendChild(this.banner)}}function extract(i,s,o){return hash$1(i),void 0===o&&(o=new Uint8Array(i.outputLen)),hmac$1(i,toBytes$1(o),toBytes$1(s))}const HKDF_COUNTER=new Uint8Array([0]),EMPTY_BUFFER=new Uint8Array;function expand(i,s,o,n=32){if(hash$1(i),number$1(n),n>255*i.outputLen)throw new Error("Length should be <= 255*HashLen");const a=Math.ceil(n/i.outputLen);void 0===o&&(o=EMPTY_BUFFER);const l=new Uint8Array(a*i.outputLen),y=hmac$1.create(i,s),k=y._cloneInto(),C=new Uint8Array(y.outputLen);for(let A=0;Adecoder.decode(i),getConversationKey(i,s){const o=secp256k1.getSharedSecret(i,"02"+s).subarray(1,33);return extract(sha256,o,"nip44-v2")},getMessageKeys(i,s){const o=expand(sha256,i,s,76);return{chacha_key:o.subarray(0,32),chacha_nonce:o.subarray(32,44),hmac_key:o.subarray(44,76)}},calcPaddedLen(i){if(!Number.isSafeInteger(i)||i<1)throw new Error("expected positive integer");if(i<=32)return 32;const s=1<u.maxPlaintextSize)throw new Error("invalid plaintext size: must be between 1 and 65535 bytes");const s=new Uint8Array(2);return new DataView(s.buffer).setUint16(0,i,!1),s},pad(i){const s=u.utf8Encode(i),o=s.length;return concatBytes(u.writeU16BE(o),s,new Uint8Array(u.calcPaddedLen(o)-o))},unpad(i){const s=new DataView(i.buffer).getUint16(0),o=i.subarray(2,2+s);if(su.maxPlaintextSize||o.length!==s||i.length!==2+u.calcPaddedLen(s))throw new Error("invalid padding");return u.utf8Decode(o)},hmacAad(i,s,o){if(32!==o.length)throw new Error("AAD associated data must be 32 bytes");const n=concatBytes(o,s);return hmac$1(sha256,i,n)},decodePayload(i){if("string"!=typeof i)throw new Error("payload must be a valid string");const s=i.length;if(s<132||s>87472)throw new Error("invalid payload length: "+s);if("#"===i[0])throw new Error("unknown encryption version");let o;try{o=base64.decode(i)}catch(l){throw new Error("invalid base64: "+l.message)}const n=o.length;if(n<99||n>65603)throw new Error("invalid data length: "+n);const a=o[0];if(2!==a)throw new Error("unknown encryption version "+a);return{nonce:o.subarray(1,33),ciphertext:o.subarray(33,-32),mac:o.subarray(-32)}}};function encryptNip44(i,s,o=randomBytes(32)){const{chacha_key:n,chacha_nonce:a,hmac_key:l}=u.getMessageKeys(s,o),y=u.pad(i),k=chacha20(n,a,y),C=u.hmacAad(l,k,o);return base64.encode(concatBytes(new Uint8Array([2]),o,k,C))}function decryptNip44(i,s){const{nonce:o,ciphertext:n,mac:a}=u.decodePayload(i),{chacha_key:l,chacha_nonce:y,hmac_key:k}=u.getMessageKeys(s,o);if(!equalBytes(u.hmacAad(k,n,o),a))throw new Error("invalid MAC");const C=chacha20(l,y,n);return u.unpad(C)}class Nip44{cache=new Map;createKey(s,o){return u.getConversationKey(s,o)}getKey(s,o,n){const a=getPublicKey(s)+o;let l=this.cache.get(a);if(l)return l;const y=this.createKey(s,o);return this.cache.set(a,y),y}encrypt(s,o,n){return encryptNip44(n,this.getKey(s,o))}decrypt(s,o,n){return decryptNip44(n,this.getKey(s,o))}}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(s){super(),this.params=s,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 s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(s.signerPromise)try{yield s.signerPromise}catch{}if(s.launcherPromise)try{yield s.launcherPromise}catch{}})()}nostrConnect(s,o=!1){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const a={authMethod:"connect",pubkey:"",sk:n.nostrConnectKey,relays:[s=s||DEFAULT_NOSTRCONNECT_RELAY]},l=yield n.initSigner(a,{listen:!0});if(!l)throw new Error("Bad remote pubkey");return a.pubkey=l,a.bunkerUrl=`bunker://${l}?relay=${s}`,o||n.onAuth("login",a),a})()}getNostrConnectServices(){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){s.nostrConnectKey=generatePrivateKey(),s.nostrConnectSecret=Math.random().toString(36).substring(7);const o=getPublicKey(s.nostrConnectKey),n={name:document.location.host,url:document.location.href,icon:yield getIcon(),perms:s.params.optionsModal.perms},a=`nostrconnect://${o}?metadata=${encodeURIComponent(JSON.stringify(n))}&secret=${s.nostrConnectSecret}`,l=s.localSigner?"#import="+nip19_exports.nsecEncode(s.localSigner.privateKey):"",y=NOSTRCONNECT_APPS.map(k=>({...k}));for(const k of y){let C=DEFAULT_NOSTRCONNECT_RELAY;if(k.link.startsWith("https://")){const S=new URL(k.link);try{const T=yield(yield fetch(`${S.origin}/.well-known/nostr.json`)).json(),P=T.nip46[T.names._];P&&P.length&&(C=P[0])}catch(T){console.log("Bad app info",T,S)}}k.link=k.link.replace("",a+"&relay="+C+l)}return[a+l,y]})()}localSignup(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const n=generatePrivateKey(),a={pubkey:getPublicKey(n),sk:n,name:s,authMethod:"local"};console.log(`localSignup name: ${s}`),yield o.setLocal(a,!0)})()}setLocal(s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){n.releaseSigner(),n.localSigner=new NDKPrivateKeySigner(s.sk),o&&(yield createProfile(s,n.profileNdk,n.localSigner,n.params.optionsModal.signupRelays)),n.onAuth("login",s)})()}importAndConnect(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const n=yield o.nostrConnect(s,!0);yield o.logout(!0),o.localSigner=null,o.onAuth("login",n)})()}setReadOnly(s){this.onAuth("login",{pubkey:s,authMethod:"readOnly"})}setExtension(s){this.onAuth("login",{pubkey:s,authMethod:"extension"})}setOTP(s,o){this.onAuth("login",{pubkey:s,authMethod:"otp",otpData:o})}setConnect(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){o.releaseSigner(),yield o.initSigner(s),o.onAuth("login",s)})()}createAccount(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const[n,a]=s.split("@"),l=yield getBunkerUrl(`_@${a}`,o.params.optionsModal);console.log("create account bunker's url",l);const y=bunkerUrlToInfo(l),k=!!o.params.userInfo;yield o.initSigner(y,{eventToAddAccount:k});const C=[n,a,"",o.params.optionsModal.perms||""];console.log("signer",o.signer);const A=yield new Promise(S=>{o.signer.rpc.sendRequest(y.pubkey,"create_account",C,void 0,S)});if(console.log("create_account pubkey",A),"error"===A.result)throw new Error(A.error);return{bunkerUrl:`bunker://${A.result}?relay=${y.relays?.[0]}`,sk:y.sk}})()}releaseSigner(){this.signer=null,this.localSigner=null;for(const s of this.ndk.pool.relays.keys())this.ndk.pool.removeRelay(s)}logout(s=!1){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){s||o.releaseSigner(),localStorageRemoveCurrentAccount(),o.onAuth("logout"),o.emit("updateAccounts")})()}setUserInfo(s){this.params.userInfo=s,this.emit("onUserInfo",s),s&&(localStorageAddAccount(s),this.emit("updateAccounts"))}exportKeys(){return this.params.userInfo?"local"!==this.params.userInfo.authMethod?"":nip19_exports.nsecEncode(this.params.userInfo.sk):""}onAuth(s,o=null){if("logout"!==s&&!o)throw new Error("No user info in onAuth");if(o&&this.params.userInfo&&(o.pubkey!==this.params.userInfo.pubkey||o.authMethod!==this.params.userInfo.authMethod)){const n=new CustomEvent("nlAuth",{detail:{type:"logout"}});console.log("nostr-login auth",n.detail),document.dispatchEvent(n)}this.setUserInfo(o),o&&fetchProfile(o,this.profileNdk).then(n=>{if(this.params.userInfo!==o)return;const a={...this.params.userInfo,picture:n?.image||n?.picture,name:n?.name||n?.displayName||n?.nip05||nip19_exports.npubEncode(o.pubkey)};this.setUserInfo(a)});try{const n=o?nip19_exports.npubEncode(o.pubkey):"",a={type:s};"logout"!==s&&(a.pubkey=o.pubkey,o.sk&&(a.localNsec=nip19_exports.nsecEncode(o.sk)),o.relays&&(a.relays=o.relays),o.otpData&&(a.otpData=o.otpData),a.method=o.authMethod||"connect");const l=new CustomEvent("nlAuth",{detail:a});console.log("nostr-login auth",a),document.dispatchEvent(l),this.params.optionsModal.onAuth&&this.params.optionsModal.onAuth(n,a)}catch(n){console.log("onAuth error",n)}}initSigner(s,{listen:o=!1,connect:n=!1,eventToAddAccount:a=!1}={}){var l=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(l.signerPromise)try{yield l.signerPromise}catch{}return l.signerPromise=new Promise(function(){var y=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(k,C){try{if(s.relays)for(const A of s.relays)l.ndk.addExplicitRelay(A,void 0);if(yield l.ndk.connect(),l.signer=new NDKNip46Signer(l.ndk,s.pubkey,new NDKPrivateKeySigner(s.sk)),o||l.signer.on("authUrl",A=>{console.log("nostr login auth url",A),l.emit("onAuthUrl",{url:A,eventToAddAccount:a})}),o){const A=getPublicKey(s.sk);console.log("nostr-login listening for conn to",A);const S=yield l.signer.rpc.subscribe({kinds:[24133],"#p":[A]});S.on("event",function(){var T=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(O){try{const P=yield l.signer.rpc.parseEvent(O);if(!P.method){const q=P;if("auth_url"===q.result)return;"ack"===q.result||q.result===l.nostrConnectSecret?(l.signer.remotePubkey=O.pubkey,l.signer.remoteUser=new NDKUser({pubkey:O.pubkey}),s.pubkey=O.pubkey,k(O.pubkey)):C(q.error)}}catch(P){console.log("error parsing event",P,O.rawEvent())}S.stop()});return function(O){return T.apply(this,arguments)}}())}else n&&(yield new Promise((A,S)=>{l.signer&&s.sk&&l.signer.rpc.sendRequest(s.pubkey,"connect",[s.pubkey,s.token||"",l.params.optionsModal.perms||""],24133,O=>{"ack"===O.result?A():S(O.error)})})),k(void 0)}catch(A){console.log("initSigner failure",A),l.signer=null,C(A)}});return function(k,C){return y.apply(this,arguments)}}()),l.signerPromise})()}authNip46(s,o,n,a=""){var l=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){try{const y=bunkerUrlToInfo(n,a);if(isBunkerUrl(o)?y.bunkerUrl=o:y.nip05=o,!y.pubkey||!y.sk||!y.relays?.[0])throw new Error(`Bad bunker url ${n}`);const k=!!l.params.userInfo;yield l.initSigner(y,{connect:!0,eventToAddAccount:k}),l.onAuth(s,y)}catch(y){throw console.log("nostr login auth failed",y),y}})()}signEvent(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.localSigner?(s.pubkey=getPublicKey(o.localSigner.privateKey),s.id=getEventHash(s),s.sig=yield o.localSigner.sign(s)):(s.pubkey=o.signer?.remotePubkey,s.id=getEventHash(s),s.sig=yield o.signer?.sign(s)),console.log("signed",{event:s}),s})()}codec_call(s,o,n){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return new Promise((l,y)=>{a.signer.rpc.sendRequest(a.signer.remotePubkey,s,[o,n],24133,k=>{k.error?y(k.error):l(k.result)})})})()}encrypt04(s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return n.localSigner?n.localSigner.encrypt(new NDKUser({pubkey:s}),o):n.signer.encrypt(new NDKUser({pubkey:s}),o)})()}decrypt04(s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return n.localSigner?n.localSigner.decrypt(new NDKUser({pubkey:s}),o):n.codec_call("nip04_decrypt",s,o)})()}encrypt44(s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return n.localSigner?n.nip44Codec.encrypt(n.localSigner.privateKey,s,o):n.codec_call("nip44_encrypt",s,o)})()}decrypt44(s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return n.localSigner?n.nip44Codec.decrypt(n.localSigner.privateKey,s,o):n.codec_call("nip44_decrypt",s,o)})()}}class ModalManager extends lib$1.EventEmitter{modal=null;params;extensionService;authNostrService;launcherPromise;accounts=[];recents=[];opt;constructor(s,o,n){super(),this.params=s,this.extensionService=n,this.authNostrService=o}waitReady(){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(s.launcherPromise)try{yield s.launcherPromise}catch{}})()}launch(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(o.launcherPromise)try{yield o.launcherPromise}catch{}o.opt=s;const n=document.createElement("dialog");o.modal=document.createElement("nl-auth"),o.modal.accounts=o.accounts,o.modal.recents=o.recents,o.modal.setAttribute("dark-mode",String(getDarkMode(s))),s.theme&&o.modal.setAttribute("theme",s.theme),s.startScreen&&o.modal.setAttribute("start-screen",s.startScreen),o.modal.setAttribute("bunkers",s.bunkers?s.bunkers:"nsec.app,highlighter.com"),void 0!==s.methods&&(o.modal.authMethods=s.methods),void 0!==s.localSignup&&(o.modal.localSignup=s.localSignup),s.title&&(o.modal.welcomeTitle=s.title),s.description&&(o.modal.welcomeDescription=s.description),o.modal.hasExtension=o.extensionService.hasExtension(),o.modal.hasOTP=!!s.otpRequestUrl&&!!s.otpReplyUrl,o.modal.isLoadingExtension=!1,o.modal.isLoading=!1,[o.modal.connectionString,o.modal.connectionStringServices]=yield o.authNostrService.getNostrConnectServices(),n.appendChild(o.modal),document.body.appendChild(n);let a="";return o.launcherPromise=new Promise((l,y)=>{n.addEventListener("close",()=>{y(new Error("Closed")),o.modal&&(o.modal.isLoading=!1,o.modal.authUrl="",o.modal.error="",o.modal.isLoadingExtension=!1,document.body.removeChild(o.modal.parentNode),o.modal=null)});const k=X=>{o.modal&&(o.modal.isLoading=!0),getBunkerUrl(X,o.params.optionsModal).then(J=>o.authNostrService.authNip46("login",X,J)).then(()=>{o.modal&&(o.modal.isLoading=!1),n.close(),l()}).catch(J=>{console.log("error",J),o.modal&&(o.modal.isLoading=!1,o.modal.error=J.toString())})},A=function(){var X=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){try{yield navigator.clipboard.writeText(o.authNostrService.exportKeys()),localStorageSetItem("backupKey","true")}catch(J){console.error("Failed to copy to clipboard: ",J)}});return function(){return X.apply(this,arguments)}}(),S=function(){var X=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(J){o.modal&&(o.modal.isLoading=!0);try{yield o.authNostrService.importAndConnect(J),o.modal&&(o.modal.isLoading=!1),n.close(),l()}catch(ht){console.log("error",ht),o.modal&&(o.modal.isLoading=!1,o.modal.error=ht.toString())}});return function(ht){return X.apply(this,arguments)}}(),T=function(){var X=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(J){J&&o.modal&&(o.modal.isLoading=!0);try{yield o.authNostrService.nostrConnect(J),o.modal&&(o.modal.isLoading=!1),n.close(),l()}catch(ht){console.log("error",ht),o.modal&&(o.modal.isLoading=!1,o.modal.error=ht.toString())}});return function(ht){return X.apply(this,arguments)}}(),O=function(){var X=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(J){o.modal&&(o.modal.isLoading=!0);try{if(!J)throw new Error("Please enter some nickname");yield o.authNostrService.localSignup(J),o.modal&&(o.modal.isLoading=!1),n.close(),l()}catch(ht){console.log("error",ht),o.modal&&(o.modal.isLoading=!1,o.modal.error=ht.toString())}});return function(ht){return X.apply(this,arguments)}}();if(!o.modal)throw new Error("WTH?");o.modal.addEventListener("handleContinue",()=>{o.modal&&(o.modal.isLoading=!0,o.emit("onAuthUrlClick",o.modal.authUrl))}),o.modal.addEventListener("nlLogin",X=>{k(X.detail)}),o.modal.addEventListener("nlSignup",X=>{(X=>{o.modal&&(o.modal.isLoading=!0),o.authNostrService.createAccount(X).then(({bunkerUrl:J,sk:ht})=>o.authNostrService.authNip46("signup",X,J,ht)).then(()=>{o.modal&&(o.modal.isLoading=!1),n.close(),l()}).catch(J=>{console.log("error",J),o.modal&&(o.modal.isLoading=!1,o.modal.error=J.toString())})})(X.detail)}),o.modal.addEventListener("nlLocalSignup",X=>{O(X.detail)}),o.modal.addEventListener("nlImportAccount",X=>{S(X.detail)}),o.modal.addEventListener("nlExportKeys",X=>{A()}),o.modal.addEventListener("handleLogoutBanner",()=>{o.emit("onLogoutBanner")}),o.modal.addEventListener("nlNostrConnect",X=>{T(X.detail)}),o.modal.addEventListener("nlNostrConnectDefault",()=>{T()}),o.modal.addEventListener("nlSwitchAccount",X=>{o.emit("onSwitchAccount",X.detail),setTimeout(()=>n.close(),300)}),o.modal.addEventListener("nlLoginRecentAccount",function(){var X=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(J){const ht=J.detail;if("readOnly"===ht.authMethod)o.authNostrService.setReadOnly(ht.pubkey),n.close();else if("otp"===ht.authMethod){console.log("recent otp login",ht);try{o.modal.dispatchEvent(new CustomEvent("nlLoginOTPUser",{detail:ht.nip05||ht.pubkey}))}catch(ct){console.error(ct)}}else if("extension"===ht.authMethod)yield o.extensionService.trySetExtensionForPubkey(ht.pubkey),n.close();else{const ct=ht.bunkerUrl||ht.nip05;if(!ct)throw new Error("Bad connect info");k(ct)}});return function(J){return X.apply(this,arguments)}}()),o.modal.addEventListener("nlRemoveRecent",X=>{localStorageRemoveRecent(X.detail),o.emit("updateAccounts")});const P=function(){var X=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(J){let ht="";if(J.includes("@")){const{error:ct,pubkey:pt}=yield checkNip05(J);if(!pt)throw new Error(ct);ht=pt}else if(J.startsWith("npub")){const{type:ct,data:pt}=nip19_exports.decode(J);if("npub"!==ct)throw new Error("Bad npub");ht=pt}else 64===J.trim().length&&(ht=J.trim(),nip19_exports.npubEncode(ht));return ht});return function(ht){return X.apply(this,arguments)}}();o.modal.addEventListener("nlLoginReadOnly",function(){var X=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(J){if(!o.modal)return;o.modal.isLoading=!0;const ht=J.detail;try{const ct=yield P(ht);o.authNostrService.setReadOnly(ct),o.modal.isLoading=!1,n.close(),l()}catch(ct){console.log("error",ct),o.modal.isLoading=!1,o.modal.error=ct.toString()||ct}});return function(J){return X.apply(this,arguments)}}()),o.modal.addEventListener("nlLoginExtension",(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!o.extensionService.hasExtension())throw new Error("No extension");if(o.modal)try{o.modal.isLoadingExtension=!0,yield o.extensionService.setExtension(),o.modal.isLoadingExtension=!1,n.close(),l()}catch(X){console.log("extension error",X),o.modal.error=X.toString()}})),o.modal.addEventListener("nlLoginOTPUser",function(){var X=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(J){if(!o.modal)return;o.modal.isLoading=!0;const ht=J.detail;try{const ct=yield P(ht),pt=o.opt.otpRequestUrl+(o.opt.otpRequestUrl.includes("?")?"&":"?")+"pubkey="+ct,kt=yield fetch(pt);if(200!==kt.status)throw console.warn("nostr-login: bad otp reply",kt),new Error("Failed to send DM");o.modal.isOTP=!0,a=ct,o.modal.isLoading=!1}catch(ct){console.log("error",ct),o.modal.isLoading=!1,o.modal.error=ct.toString()||ct}});return function(J){return X.apply(this,arguments)}}()),o.modal.addEventListener("nlLoginOTPCode",function(){var X=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(J){if(!o.modal)return;o.modal.isLoading=!0;const ht=J.detail;try{const ct=o.opt.otpReplyUrl+(o.opt.otpRequestUrl.includes("?")?"&":"?")+"pubkey="+a+"&code="+ht,pt=yield fetch(ct);if(200!==pt.status)throw console.warn("nostr-login: bad otp reply",pt),new Error("Invalid code");const kt=yield pt.text();o.authNostrService.setOTP(a,kt),o.modal.isOTP=!1,o.modal.isLoading=!1,n.close(),l()}catch(ct){console.log("error",ct),o.modal.isLoading=!1,o.modal.error=ct.toString()||ct}});return function(J){return X.apply(this,arguments)}}()),o.modal.addEventListener("nlCheckSignup",function(){var X=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(J){const{available:ht,taken:ct,error:pt}=yield checkNip05(J.detail);o.modal&&(o.modal.error=String(pt),!pt&&ct&&(o.modal.error="Already taken"),o.modal.signupNameIsAvailable=ht)});return function(J){return X.apply(this,arguments)}}()),o.modal.addEventListener("nlCheckLogin",function(){var X=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(J){const{available:ht,taken:ct,error:pt}=yield checkNip05(J.detail);o.modal&&(o.modal.error=String(pt),ht&&(o.modal.error="Name not found"),o.modal.loginIsGood=ct)});return function(J){return X.apply(this,arguments)}}());const q=()=>{o.modal&&(o.modal.isLoading=!1),n.close(),y(new Error("Cancelled"))};o.modal.addEventListener("stopFetchHandler",q),o.modal.addEventListener("nlCloseModal",q),o.modal.addEventListener("nlChangeDarkMode",X=>{setDarkMode(X.detail),document.dispatchEvent(new CustomEvent("nlDarkMode",{detail:X.detail}))}),n.showModal()}),o.launcherPromise})()}connectModals(s){var o=this;const n=function(){var l=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(y){yield o.launch(y)});return function(k){return l.apply(this,arguments)}}(),a=document.getElementsByTagName("nl-button");for(let l=0;l{this.checkExtension(s)&&clearTimeout(o)},100)}checkExtension(s){return!(this.nostrExtension||!window.nostr||window.nostr===s||(this.initExtension(s),0))}initExtension(s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){n.nostrExtension=window.nostr,window.nostr=s,"extension"===n.params.userInfo?.authMethod&&(yield n.trySetExtensionForPubkey(n.params.userInfo.pubkey)),o||setTimeout(()=>{window.nostr!==s&&n.nostrExtension!==window.nostr&&n.initExtension(s,!0)},300)})()}setExtensionReadPubkey(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){window.nostr=o.nostrExtension;const n=yield window.nostr.getPublicKey();s&&s!==n?o.emit("extensionLogout"):o.emit("extensionLogin",n)})()}trySetExtensionForPubkey(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(o.nostrExtension)return o.setExtensionReadPubkey(s)})()}setExtension(){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return s.setExtensionReadPubkey()})()}unsetExtension(s){window.nostr===this.nostrExtension&&(window.nostr=s)}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(s){if(!this.popup||this.popup.closed){if(this.popup=window.open(s,"_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(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let n,a;o.callTimer||(o.callTimer=setTimeout(()=>o.emit("onCallTimeout"),CALL_TIMEOUT)),o.callCount||(yield o.emit("onCallStart")),o.callCount++;try{a=yield s()}catch(l){n=l}if(o.callCount--,yield o.emit("onCallEnd"),o.callTimer&&clearTimeout(o.callTimer),o.callTimer=void 0,n)throw n;return a})()}}class NostrLoginInitializer{extensionService;params;authNostrService;nostr;processManager;popupManager;bannerManager;modalManager;constructor(){var s=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 o={waitReady:(n=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){yield s.authNostrService.waitReady(),yield s.modalManager.waitReady()}),function(){return n.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:n=>this.processManager.wait(n)};var n;this.nostr=new Nostr(o),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:n,eventToAddAccount:a})=>{this.processManager.onAuthUrl(),a?this.modalManager.onAuthUrl(n):this.params.userInfo?this.bannerManager.onAuthUrl(n):this.modalManager.onAuthUrl(n)}),this.authNostrService.on("updateAccounts",()=>{this.updateAccounts()}),this.authNostrService.on("onUserInfo",n=>{this.bannerManager.onUserInfo(n)}),this.modalManager.on("onAuthUrlClick",n=>{this.popupManager.ensurePopup(n)}),this.modalManager.on("onSwitchAccount",function(){var n=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a){s.switchAccount(a)});return function(a){return n.apply(this,arguments)}}()),this.modalManager.on("onLogoutBanner",function(){var n=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a){logout()});return function(a){return n.apply(this,arguments)}}()),this.bannerManager.on("onConfirmLogout",(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){console.log(4),s.launch("confirm-logout")})),this.modalManager.on("updateAccounts",()=>{this.updateAccounts()}),this.bannerManager.on("logout",()=>{logout()}),this.bannerManager.on("onAuthUrlClick",n=>{this.popupManager.ensurePopup(n)}),this.bannerManager.on("onSwitchAccount",function(){var n=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a){s.switchAccount(a)});return function(a){return n.apply(this,arguments)}}()),this.bannerManager.on("import",()=>{this.launch("import")}),this.extensionService.on("extensionLogin",n=>{this.authNostrService.setExtension(n)}),this.extensionService.on("extensionLogout",()=>{logout()}),this.bannerManager.on("launch",n=>{this.launch(n)})}switchAccount(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(console.log("nostr login switch to info",s),o.extensionService.unsetExtension(o.nostr),"readOnly"===s.authMethod)o.authNostrService.setReadOnly(s.pubkey);else if("otp"===s.authMethod)o.authNostrService.setOTP(s.pubkey,s.otpData||"");else if("local"===s.authMethod&&s.sk)o.authNostrService.setLocal(s);else if("extension"===s.authMethod)yield o.extensionService.trySetExtensionForPubkey(s.pubkey);else{if(!("connect"===s.authMethod&&s.sk&&s.relays&&s.relays[0]))throw new Error("Bad auth info");o.authNostrService.setConnect(s)}})()}updateAccounts(){const s=localStorageGetAccounts(),o=localStorageGetRecents();this.bannerManager.onUpdateAccounts(s),this.modalManager.onUpdateAccounts(s,o)}launch=s=>{const o=localStorageGetRecents(),n=localStorageGetAccounts(),a=s?{startScreen:s}:this.params.optionsModal;return s||!o?.length&&!n?.length||(a.startScreen="switch-account"),this.modalManager.launch(a).catch(()=>{})};init=(()=>{var o,s=this;return o=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(n){s.extensionService.startCheckingExtension(s.nostr),window.nostr=s.nostr,s.modalManager.connectModals(n),s.bannerManager.launchAuthBanner(n),n&&(s.params.optionsModal={...n});try{const a=localStorageGetCurrent();if(a){if(!a.pubkey)throw new Error("Bad stored info");yield s.switchAccount(a)}}catch(a){console.log("nostr login init error",a),yield logout()}s.updateAccounts()}),function(n){return o.apply(this,arguments)}})();logout=(()=>{var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){s.extensionService.unsetExtension(s.nostr),yield s.authNostrService.logout()})})();setDarkMode=s=>{localStorageSetItem("nl-dark-mode",`${s}`),this.bannerManager.onDarkMode(s),this.modalManager.onDarkMode(s)}}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)})},8378:(i,s,o)=>{"use strict";o.d(s,{My:()=>It,aT:()=>at});const Et=Array.from({length:256},(Qt,be)=>be.toString(16).padStart(2,"0"));function It(Qt){!function l(Qt,...be){if(!function a(Qt){return Qt instanceof Uint8Array||ArrayBuffer.isView(Qt)&&"Uint8Array"===Qt.constructor.name}(Qt))throw new Error("Uint8Array expected");if(be.length>0&&!be.includes(Qt.length))throw new Error("Uint8Array expected of length "+be+", got length="+Qt.length)}(Qt);let be="";for(let Ht=0;Ht=yt._0&&Qt<=yt._9?Qt-yt._0:Qt>=yt.A&&Qt<=yt.F?Qt-(yt.A-10):Qt>=yt.a&&Qt<=yt.f?Qt-(yt.a-10):void 0}function at(Qt){if("string"!=typeof Qt)throw new Error("hex string expected, got "+typeof Qt);const be=Qt.length,Ht=be/2;if(be%2)throw new Error("hex string expected, got unpadded hex of length "+be);const Bt=new Uint8Array(Ht);for(let Fe=0,zt=0;Fe{"use strict";function a(Te){return Te instanceof Uint8Array||null!=Te&&"object"==typeof Te&&"Uint8Array"===Te.constructor.name}function l(...Te){const Ke=Tr=>Tr,re=(Tr,Wr)=>Lo=>Tr(Wr(Lo));return{encode:Te.map(Tr=>Tr.encode).reduceRight(re,Ke),decode:Te.map(Tr=>Tr.decode).reduce(re,Ke)}}function y(Te){return{encode:Ke=>{if(!Array.isArray(Ke)||Ke.length&&"number"!=typeof Ke[0])throw new Error("alphabet.encode input should be an array of numbers");return Ke.map(re=>{if(re<0||re>=Te.length)throw new Error(`Digit index outside alphabet: ${re} (alphabet: ${Te.length})`);return Te[re]})},decode:Ke=>{if(!Array.isArray(Ke)||Ke.length&&"string"!=typeof Ke[0])throw new Error("alphabet.decode input should be array of strings");return Ke.map(re=>{if("string"!=typeof re)throw new Error(`alphabet.decode: not string element=${re}`);const Ve=Te.indexOf(re);if(-1===Ve)throw new Error(`Unknown letter: "${re}". Allowed: ${Te}`);return Ve})}}}function k(Te=""){if("string"!=typeof Te)throw new Error("join separator should be string");return{encode:Ke=>{if(!Array.isArray(Ke)||Ke.length&&"string"!=typeof Ke[0])throw new Error("join.encode input should be array of strings");for(let re of Ke)if("string"!=typeof re)throw new Error(`join.encode: non-string input=${re}`);return Ke.join(Te)},decode:Ke=>{if("string"!=typeof Ke)throw new Error("join.decode input should be string");return Ke.split(Te)}}}function C(Te,Ke="="){if("string"!=typeof Ke)throw new Error("padding chr should be string");return{encode(re){if(!Array.isArray(re)||re.length&&"string"!=typeof re[0])throw new Error("padding.encode input should be array of strings");for(let Ve of re)if("string"!=typeof Ve)throw new Error(`padding.encode: non-string input=${Ve}`);for(;re.length*Te%8;)re.push(Ke);return re},decode(re){if(!Array.isArray(re)||re.length&&"string"!=typeof re[0])throw new Error("padding.encode input should be array of strings");for(let tr of re)if("string"!=typeof tr)throw new Error(`padding.decode: non-string input=${tr}`);let Ve=re.length;if(Ve*Te%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;Ve>0&&re[Ve-1]===Ke;Ve--)if(!((Ve-1)*Te%8))throw new Error("Invalid padding: string has too much padding");return re.slice(0,Ve)}}}function S(Te,Ke,re){if(Ke<2)throw new Error(`convertRadix: wrong from=${Ke}, base cannot be less than 2`);if(re<2)throw new Error(`convertRadix: wrong to=${re}, base cannot be less than 2`);if(!Array.isArray(Te))throw new Error("convertRadix: data should be array");if(!Te.length)return[];let Ve=0;const tr=[],Tr=Array.from(Te);for(Tr.forEach(Wr=>{if(Wr<0||Wr>=Ke)throw new Error(`Wrong integer: ${Wr}`)});;){let Wr=0,Lo=!0;for(let Or=Ve;OrFe,K3:()=>at,Tq:()=>jr});const T=(Te,Ke)=>Ke?T(Ke,Te%Ke):Te,O=(Te,Ke)=>Te+(Ke-T(Te,Ke));function P(Te,Ke,re,Ve){if(!Array.isArray(Te))throw new Error("convertRadix2: data should be array");if(Ke<=0||Ke>32)throw new Error(`convertRadix2: wrong from=${Ke}`);if(re<=0||re>32)throw new Error(`convertRadix2: wrong to=${re}`);if(O(Ke,re)>32)throw new Error(`convertRadix2: carry overflow from=${Ke} to=${re} carryBits=${O(Ke,re)}`);let tr=0,Tr=0;const Wr=2**re-1,Lo=[];for(const Or of Te){if(Or>=2**Ke)throw new Error(`convertRadix2: invalid data word=${Or} from=${Ke}`);if(tr=tr<32)throw new Error(`convertRadix2: carry overflow pos=${Tr} from=${Ke}`);for(Tr+=Ke;Tr>=re;Tr-=re)Lo.push((tr>>Tr-re&Wr)>>>0);tr&=2**Tr-1}if(tr=tr<=Ke)throw new Error("Excess padding");if(!Ve&&tr)throw new Error(`Non-zero padding: ${tr}`);return Ve&&Tr>0&&Lo.push(tr>>>0),Lo}function q(Te){return{encode:Ke=>{if(!a(Ke))throw new Error("radix.encode input should be Uint8Array");return S(Array.from(Ke),256,Te)},decode:Ke=>{if(!Array.isArray(Ke)||Ke.length&&"number"!=typeof Ke[0])throw new Error("radix.decode input should be array of numbers");return Uint8Array.from(S(Ke,Te,256))}}}function X(Te,Ke=!1){if(Te<=0||Te>32)throw new Error("radix2: bits should be in (0..32]");if(O(8,Te)>32||O(Te,8)>32)throw new Error("radix2: carry overflow");return{encode:re=>{if(!a(re))throw new Error("radix2.encode input should be Uint8Array");return P(Array.from(re),8,Te,!Ke)},decode:re=>{if(!Array.isArray(re)||re.length&&"number"!=typeof re[0])throw new Error("radix2.decode input should be array of numbers");return Uint8Array.from(P(re,Te,8,Ke))}}}function J(Te){if("function"!=typeof Te)throw new Error("unsafeWrapper fn should be function");return function(...Ke){try{return Te.apply(null,Ke)}catch{}}}function ht(Te,Ke){if("function"!=typeof Ke)throw new Error("checksum fn should be function");return{encode(re){if(!a(re))throw new Error("checksum.encode: input should be Uint8Array");const Ve=Ke(re).slice(0,Te),tr=new Uint8Array(re.length+Te);return tr.set(re),tr.set(Ve,re.length),tr},decode(re){if(!a(re))throw new Error("checksum.decode: input should be Uint8Array");const Ve=re.slice(0,-Te),tr=Ke(Ve).slice(0,Te),Tr=re.slice(-Te);for(let Wr=0;Wrl(q(58),y("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),k("")))(),jr=Te=>l(ht(4,Ke=>Te(Te(Ke))),le),wr=l(y("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),k("")),Qt=[996825010,642813549,513874426,1027748829,705979059];function be(Te){const Ke=Te>>25;let re=(33554431&Te)<<5;for(let Ve=0;Ve>Ve&1)&&(re^=Qt[Ve]);return re}function Ht(Te,Ke,re=1){const Ve=Te.length;let tr=1;for(let Tr=0;Tr126)throw new Error(`Invalid prefix (${Te})`);tr=be(tr)^Wr>>5}tr=be(tr);for(let Tr=0;TrZt)throw new TypeError(`Length ${W} exceeds limit ${Zt}`);const N=Lt.toLowerCase(),z=Ht(N,At,Ke);return`${N}1${wr.encode(At)}${z}`}function Lo(Lt,At=90){if("string"!=typeof Lt)throw new Error("bech32.decode input should be string, not "+typeof Lt);if(Lt.length<8||!1!==At&&Lt.length>At)throw new TypeError(`Wrong string length: ${Lt.length} (${Lt}). Expected (8..${At})`);const Zt=Lt.toLowerCase();if(Lt!==Zt&&Lt!==Lt.toUpperCase())throw new Error("String must be lowercase or uppercase");const W=Zt.lastIndexOf("1");if(0===W||-1===W)throw new Error('Letter "1" must be present between prefix and data only');const N=Zt.slice(0,W),z=Zt.slice(W+1);if(z.length<6)throw new Error("Data must be at least 6 characters long");const Rt=wr.decode(z).slice(0,-6),ue=Ht(N,Rt,Ke);if(!z.endsWith(ue))throw new Error(`Invalid checksum in ${Lt}: expected "${ue}"`);return{prefix:N,words:Rt}}return{encode:Wr,decode:Lo,encodeFromBytes:function cr(Lt,At){return Wr(Lt,tr(At))},decodeToBytes:function fo(Lt){const{prefix:At,words:Zt}=Lo(Lt,!1);return{prefix:At,words:Zt,bytes:Ve(Zt)}},decodeUnsafe:J(Lo),fromWords:Ve,fromWordsUnsafe:Tr,toWords:tr}}const Fe=Bt("bech32")},2769:(i,s,o)=>{"use strict";o.d(s,{A:()=>y});var n=o(3121),a=o(9311);const y=(0,n.A)(a.A,"Map")},1238:(i,s,o)=>{"use strict";o.d(s,{A:()=>ue});var l=o(2486);const k=function y(he,Se){for(var Sr=he.length;Sr--;)if((0,l.A)(he[Sr][0],Se))return Sr;return-1};var A=Array.prototype.splice;function ct(he){var Se=-1,Sr=null==he?0:he.length;for(this.clear();++Se-1},ct.prototype.set=function J(he,Se){var Sr=this.__data__,ar=k(Sr,he);return ar<0?(++this.size,Sr.push([he,Se])):Sr[ar][1]=Se,this};const pt=ct;var Pt=o(2769);const ve=(0,o(3121).A)(Object,"create");var Qt=Object.prototype.hasOwnProperty;var Fe=Object.prototype.hasOwnProperty;function Dt(he){var Se=-1,Sr=null==he?0:he.length;for(this.clear();++Se{"use strict";o.d(s,{A:()=>l});const l=o(9311).A.Symbol},6259:(i,s,o)=>{"use strict";o.d(s,{A:()=>P});var l=o(1656),y=o(9007),k=o(5303),C=o(3467),A=o(766),T=Object.prototype.hasOwnProperty;const P=function O(q,X){var J=(0,y.A)(q),ht=!J&&(0,l.A)(q),ct=!J&&!ht&&(0,k.A)(q),pt=!J&&!ht&&!ct&&(0,A.A)(q),kt=J||ht||ct||pt,Et=kt?function n(q,X){for(var J=-1,ht=Array(q);++J{"use strict";o.d(s,{A:()=>C});var n=o(8758),a=o(2486),y=Object.prototype.hasOwnProperty;const C=function k(A,S,T){var O=A[S];(!y.call(A,S)||!(0,a.A)(O,T)||void 0===T&&!(S in A))&&(0,n.A)(A,S,T)}},8758:(i,s,o)=>{"use strict";o.d(s,{A:()=>l});var n=o(4133);const l=function a(y,k,C){"__proto__"==k&&n.A?(0,n.A)(y,k,{configurable:!0,enumerable:!0,value:C,writable:!0}):y[k]=C}},5688:(i,s,o)=>{"use strict";o.d(s,{A:()=>ct});var n=o(4883),a=Object.prototype,l=a.hasOwnProperty,y=a.toString,k=n.A?n.A.toStringTag:void 0;var T=Object.prototype.toString;var J=n.A?n.A.toStringTag:void 0;const ct=function ht(pt){return null==pt?void 0===pt?"[object Undefined]":"[object Null]":J&&J in Object(pt)?function C(pt){var kt=l.call(pt,k),Et=pt[k];try{pt[k]=void 0;var It=!0}catch{}var yt=y.call(pt);return It&&(kt?pt[k]=Et:delete pt[k]),yt}(pt):function O(pt){return T.call(pt)}(pt)}},4975:(i,s,o)=>{"use strict";o.d(s,{A:()=>a});const a=function n(l){return function(y){return l(y)}}},3031:(i,s,o)=>{"use strict";o.d(s,{A:()=>k});const l=o(9311).A.Uint8Array,k=function y(C){var A=new C.constructor(C.byteLength);return new l(A).set(new l(C)),A}},4224:(i,s,o)=>{"use strict";o.d(s,{A:()=>S});var n=o(9311),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,l=a&&"object"==typeof module&&module&&!module.nodeType&&module,k=l&&l.exports===a?n.A.Buffer:void 0,C=k?k.allocUnsafe:void 0;const S=function A(T,O){if(O)return T.slice();var P=T.length,q=C?C(P):new T.constructor(P);return T.copy(q),q}},7383:(i,s,o)=>{"use strict";o.d(s,{A:()=>l});var n=o(3031);const l=function a(y,k){var C=k?(0,n.A)(y.buffer):y.buffer;return new y.constructor(C,y.byteOffset,y.length)}},1369:(i,s,o)=>{"use strict";o.d(s,{A:()=>a});const a=function n(l,y){var k=-1,C=l.length;for(y||(y=Array(C));++k{"use strict";o.d(s,{A:()=>y});var n=o(2065),a=o(8758);const y=function l(k,C,A,S){var T=!A;A||(A={});for(var O=-1,P=C.length;++O{"use strict";o.d(s,{A:()=>l});var n=o(3121);const l=function(){try{var y=(0,n.A)(Object,"defineProperty");return y({},"",{}),y}catch{}}()},8618:(i,s,o)=>{"use strict";o.d(s,{A:()=>a});const a="object"==typeof global&&global&&global.Object===Object&&global},3121:(i,s,o)=>{"use strict";o.d(s,{A:()=>_t});var at,n=o(5656),l=o(9311).A["__core-js_shared__"],k=(at=/[^.]+$/.exec(l&&l.keys&&l.keys.IE_PROTO||""))?"Symbol(src)_1."+at:"";var S=o(7999),T=o(4435),P=/^\[object .+?Constructor\]$/,ct=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const kt=function pt(at){return!(!(0,S.A)(at)||function C(at){return!!k&&k in at}(at))&&((0,n.A)(at)?ct:P).test((0,T.A)(at))},_t=function yt(at,st){var vt=function Et(at,st){return at?.[st]}(at,st);return kt(vt)?vt:void 0}},5749:(i,s,o)=>{"use strict";o.d(s,{A:()=>l});const l=(0,o(5717).A)(Object.getPrototypeOf,Object)},223:(i,s,o)=>{"use strict";o.d(s,{A:()=>S});var n=o(7999),a=Object.create;const y=function(){function T(){}return function(O){if(!(0,n.A)(O))return{};if(a)return a(O);T.prototype=O;var P=new T;return T.prototype=void 0,P}}();var k=o(5749),C=o(1561);const S=function A(T){return"function"!=typeof T.constructor||(0,C.A)(T)?{}:y((0,k.A)(T))}},3467:(i,s,o)=>{"use strict";o.d(s,{A:()=>y});var a=/^(?:0|[1-9]\d*)$/;const y=function l(k,C){var A=typeof k;return!!(C=C??9007199254740991)&&("number"==A||"symbol"!=A&&a.test(k))&&k>-1&&k%1==0&&k{"use strict";o.d(s,{A:()=>l});var n=Object.prototype;const l=function a(y){var k=y&&y.constructor;return y===("function"==typeof k&&k.prototype||n)}},8583:(i,s,o)=>{"use strict";o.d(s,{A:()=>A});var n=o(8618),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,l=a&&"object"==typeof module&&module&&!module.nodeType&&module,k=l&&l.exports===a&&n.A.process;const A=function(){try{return l&&l.require&&l.require("util").types||k&&k.binding&&k.binding("util")}catch{}}()},5717:(i,s,o)=>{"use strict";o.d(s,{A:()=>a});const a=function n(l,y){return function(k){return l(y(k))}}},9311:(i,s,o)=>{"use strict";o.d(s,{A:()=>y});var n=o(8618),a="object"==typeof self&&self&&self.Object===Object&&self;const y=n.A||a||Function("return this")()},4435:(i,s,o)=>{"use strict";o.d(s,{A:()=>y});var a=Function.prototype.toString;const y=function l(k){if(null!=k){try{return a.call(k)}catch{}try{return k+""}catch{}}return""}},2486:(i,s,o)=>{"use strict";o.d(s,{A:()=>a});const a=function n(l,y){return l===y||l!=l&&y!=y}},6143:(i,s,o)=>{"use strict";o.d(s,{A:()=>a});const a=function n(l){for(var y=-1,k=null==l?0:l.length,C={};++y{"use strict";o.d(s,{A:()=>O});var n=o(5688),a=o(2312);const k=function y(P){return(0,a.A)(P)&&"[object Arguments]"==(0,n.A)(P)};var C=Object.prototype,A=C.hasOwnProperty,S=C.propertyIsEnumerable;const O=k(function(){return arguments}())?k:function(P){return(0,a.A)(P)&&A.call(P,"callee")&&!S.call(P,"callee")}},9007:(i,s,o)=>{"use strict";o.d(s,{A:()=>a});const a=Array.isArray},2808:(i,s,o)=>{"use strict";o.d(s,{A:()=>y});var n=o(5656),a=o(4184);const y=function l(k){return null!=k&&(0,a.A)(k.length)&&!(0,n.A)(k)}},5303:(i,s,o)=>{"use strict";o.d(s,{A:()=>O});var n=o(9311),y="object"==typeof exports&&exports&&!exports.nodeType&&exports,k=y&&"object"==typeof module&&module&&!module.nodeType&&module,A=k&&k.exports===y?n.A.Buffer:void 0;const O=(A?A.isBuffer:void 0)||function a(){return!1}},5656:(i,s,o)=>{"use strict";o.d(s,{A:()=>S});var n=o(5688),a=o(7999);const S=function A(T){if(!(0,a.A)(T))return!1;var O=(0,n.A)(T);return"[object Function]"==O||"[object GeneratorFunction]"==O||"[object AsyncFunction]"==O||"[object Proxy]"==O}},4184:(i,s,o)=>{"use strict";o.d(s,{A:()=>l});const l=function a(y){return"number"==typeof y&&y>-1&&y%1==0&&y<=9007199254740991}},7999:(i,s,o)=>{"use strict";o.d(s,{A:()=>a});const a=function n(l){var y=typeof l;return null!=l&&("object"==y||"function"==y)}},2312:(i,s,o)=>{"use strict";o.d(s,{A:()=>a});const a=function n(l){return null!=l&&"object"==typeof l}},766:(i,s,o)=>{"use strict";o.d(s,{A:()=>wr});var n=o(5688),a=o(4184),l=o(2312),le={};le["[object Float32Array]"]=le["[object Float64Array]"]=le["[object Int8Array]"]=le["[object Int16Array]"]=le["[object Int32Array]"]=le["[object Uint8Array]"]=le["[object Uint8ClampedArray]"]=le["[object Uint16Array]"]=le["[object Uint32Array]"]=!0,le["[object Arguments]"]=le["[object Array]"]=le["[object ArrayBuffer]"]=le["[object Boolean]"]=le["[object DataView]"]=le["[object Date]"]=le["[object Error]"]=le["[object Function]"]=le["[object Map]"]=le["[object Number]"]=le["[object Object]"]=le["[object RegExp]"]=le["[object Set]"]=le["[object String]"]=le["[object WeakMap]"]=!1;var or=o(4975),fr=o(8583),yr=fr.A&&fr.A.isTypedArray;const wr=yr?(0,or.A)(yr):function ve(Qt){return(0,l.A)(Qt)&&(0,a.A)(Qt.length)&&!!le[(0,n.A)(Qt)]}},3959:(i,s,o)=>{"use strict";o.d(s,{A:()=>q});var n=o(6259),a=o(7999),l=o(1561);var A=Object.prototype.hasOwnProperty;const T=function S(X){if(!(0,a.A)(X))return function y(X){var J=[];if(null!=X)for(var ht in Object(X))J.push(ht);return J}(X);var J=(0,l.A)(X),ht=[];for(var ct in X)"constructor"==ct&&(J||!A.call(X,ct))||ht.push(ct);return ht};var O=o(2808);const q=function P(X){return(0,O.A)(X)?(0,n.A)(X,!0):T(X)}},4819:(i,s,o)=>{"use strict";o.d(s,{A:()=>Sr});var n=o(1238),a=o(8758),l=o(2486);const k=function y(ar,dr,Mr){(void 0!==Mr&&!(0,l.A)(ar[dr],Mr)||void 0===Mr&&!(dr in ar))&&(0,a.A)(ar,dr,Mr)},T=function C(ar){return function(dr,Mr,ao){for(var xr=-1,zo=Object(dr),To=ao(dr),Ho=To.length;Ho--;){var we=To[ar?Ho:++xr];if(!1===Mr(zo[we],we,zo))break}return dr}}();var O=o(4224),P=o(7383),q=o(1369),X=o(223),J=o(1656),ht=o(9007),ct=o(2808),pt=o(2312);var It=o(5303),yt=o(5656),_t=o(7999),at=o(5688),st=o(5749),le=Function.prototype.toString,ve=Object.prototype.hasOwnProperty,se=le.call(Object);var yr=o(766);const wr=function jr(ar,dr){if(("constructor"!==dr||"function"!=typeof ar[dr])&&"__proto__"!=dr)return ar[dr]};var Qt=o(101),be=o(3959);const zt=function Fe(ar,dr,Mr,ao,xr,zo,To){var Ho=wr(ar,Mr),we=wr(dr,Mr),ze=To.get(we);if(ze)k(ar,Mr,ze);else{var Mt=zo?zo(Ho,we,Mr+"",ar,dr,To):void 0,Wt=void 0===Mt;if(Wt){var $t=(0,ht.A)(we),Ce=!$t&&(0,It.A)(we),ce=!$t&&!Ce&&(0,yr.A)(we);Mt=we,$t||Ce||ce?(0,ht.A)(Ho)?Mt=Ho:function kt(ar){return(0,pt.A)(ar)&&(0,ct.A)(ar)}(Ho)?Mt=(0,q.A)(Ho):Ce?(Wt=!1,Mt=(0,O.A)(we,!0)):ce?(Wt=!1,Mt=(0,P.A)(we,!0)):Mt=[]:function or(ar){if(!(0,pt.A)(ar)||"[object Object]"!=(0,at.A)(ar))return!1;var dr=(0,st.A)(ar);if(null===dr)return!0;var Mr=ve.call(dr,"constructor")&&dr.constructor;return"function"==typeof Mr&&Mr instanceof Mr&&le.call(Mr)==se}(we)||(0,J.A)(we)?(Mt=Ho,(0,J.A)(Ho)?Mt=function Ht(ar){return(0,Qt.A)(ar,(0,be.A)(ar))}(Ho):(!(0,_t.A)(Ho)||(0,yt.A)(Ho))&&(Mt=(0,X.A)(we))):Wt=!1}Wt&&(To.set(we,Mt),xr(Mt,we,ao,zo,To),To.delete(we)),k(ar,Mr,Mt)}},oe=function Yt(ar,dr,Mr,ao,xr){ar!==dr&&T(dr,function(zo,To){if(xr||(xr=new n.A),(0,_t.A)(zo))zt(ar,dr,To,Mr,Yt,ao,xr);else{var Ho=ao?ao(wr(ar,To),zo,To+"",ar,dr,xr):void 0;void 0===Ho&&(Ho=zo),k(ar,To,Ho)}},be.A)},$e=function Oe(ar){return ar};var ie=Math.max;const re=function Ke(ar){return function(){return ar}};var Ve=o(4133),Or=Date.now;const At=function fo(ar){var dr=0,Mr=0;return function(){var ao=Or(),xr=16-(ao-Mr);if(Mr=ao,xr>0){if(++dr>=800)return arguments[0]}else dr=0;return ar.apply(void 0,arguments)}}(Ve.A?function(ar,dr){return(0,Ve.A)(ar,"toString",{configurable:!0,enumerable:!1,value:re(dr),writable:!0})}:$e),W=function Zt(ar,dr){return At(function Xe(ar,dr,Mr){return dr=ie(void 0===dr?ar.length-1:dr,0),function(){for(var ao=arguments,xr=-1,zo=ie(ao.length-dr,0),To=Array(zo);++xr1?Mr[xr-1]:void 0,To=xr>2?Mr[2]:void 0;for(zo=ar.length>3&&"function"==typeof zo?(xr--,zo):void 0,To&&function z(ar,dr,Mr){if(!(0,_t.A)(Mr))return!1;var ao=typeof dr;return!!("number"==ao?(0,ct.A)(Mr)&&(0,N.A)(dr,Mr.length):"string"==ao&&dr in Mr)&&(0,l.A)(Mr[dr],ar)}(Mr[0],Mr[1],To)&&(zo=xr<3?void 0:zo,xr=1),dr=Object(dr);++ao{"use strict";o.d(s,{lo:()=>xp,pC:()=>Js,Bq:()=>dd,dq:()=>Yc,lG:()=>ud,sh:()=>Cp,Qe:()=>Cu});var n={};o.r(n),o.d(n,{OG:()=>z,My:()=>Te,Ph:()=>tr,lX:()=>Tr,Id:()=>cr,fg:()=>he,qj:()=>fo,aT:()=>Ve,lq:()=>Wr,z:()=>Lo,Q5:()=>Sr});var a=o(3014);function l(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 A(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 P="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,q=v=>v instanceof Uint8Array,ht=v=>new DataView(v.buffer,v.byteOffset,v.byteLength),ct=(v,_)=>v<<32-_|v>>>_;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function vt(v){if("string"==typeof v&&(v=function st(v){if("string"!=typeof v)throw new Error("utf8ToBytes expected string, got "+typeof v);return new Uint8Array((new TextEncoder).encode(v))}(v)),!q(v))throw new Error("expected Uint8Array, got "+typeof v);return v}class ae{clone(){return this._cloneInto()}}function se(v){const _=j=>v().update(vt(j)).digest(),D=v();return _.outputLen=D.outputLen,_.blockLen=D.blockLen,_.create=()=>v(),_}function yr(v=32){if(P&&"function"==typeof P.getRandomValues)return P.getRandomValues(new Uint8Array(v));throw new Error("crypto.getRandomValues must be defined")}class wr extends ae{constructor(_,D,j,Y){super(),this.blockLen=_,this.outputLen=D,this.padOffset=j,this.isLE=Y,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(_),this.view=ht(this.buffer)}update(_){A(this);const{view:D,buffer:j,blockLen:Y}=this,it=(_=vt(_)).length;for(let St=0;StY-St&&(this.process(j,0),St=0);for(let Le=St;Le>Y&it),Nt=Number(D&it),_e=j?0:4;v.setUint32(_+(j?4:0),St,j),v.setUint32(_+_e,Nt,j)})(j,Y-8,BigInt(8*this.length),it),this.process(j,0);const Nt=ht(_),Xt=this.outputLen;if(Xt%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const _e=Xt/4,Pe=this.get();if(_e>Pe.length)throw new Error("_sha2: outputLen bigger than state");for(let Le=0;Le<_e;Le++)Nt.setUint32(4*Le,Pe[Le],it)}digest(){const{buffer:_,outputLen:D}=this;this.digestInto(_);const j=_.slice(0,D);return this.destroy(),j}_cloneInto(_){_||(_=new this.constructor),_.set(...this.get());const{blockLen:D,buffer:j,length:Y,finished:it,destroyed:St,pos:Nt}=this;return _.length=Y,_.pos=Nt,_.finished=it,_.destroyed=St,Y%D&&_.buffer.set(j),_}}const Qt=(v,_,D)=>v&_^~v&D,be=(v,_,D)=>v&_^v&D^_&D,Ht=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]),Bt=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Fe=new Uint32Array(64);class zt extends wr{constructor(){super(64,32,8,!1),this.A=0|Bt[0],this.B=0|Bt[1],this.C=0|Bt[2],this.D=0|Bt[3],this.E=0|Bt[4],this.F=0|Bt[5],this.G=0|Bt[6],this.H=0|Bt[7]}get(){const{A:_,B:D,C:j,D:Y,E:it,F:St,G:Nt,H:Xt}=this;return[_,D,j,Y,it,St,Nt,Xt]}set(_,D,j,Y,it,St,Nt,Xt){this.A=0|_,this.B=0|D,this.C=0|j,this.D=0|Y,this.E=0|it,this.F=0|St,this.G=0|Nt,this.H=0|Xt}process(_,D){for(let Le=0;Le<16;Le++,D+=4)Fe[Le]=_.getUint32(D,!1);for(let Le=16;Le<64;Le++){const rr=Fe[Le-15],hr=Fe[Le-2],er=ct(rr,7)^ct(rr,18)^rr>>>3,Ye=ct(hr,17)^ct(hr,19)^hr>>>10;Fe[Le]=Ye+Fe[Le-7]+er+Fe[Le-16]|0}let{A:j,B:Y,C:it,D:St,E:Nt,F:Xt,G:_e,H:Pe}=this;for(let Le=0;Le<64;Le++){const hr=Pe+(ct(Nt,6)^ct(Nt,11)^ct(Nt,25))+Qt(Nt,Xt,_e)+Ht[Le]+Fe[Le]|0,Ye=(ct(j,2)^ct(j,13)^ct(j,22))+be(j,Y,it)|0;Pe=_e,_e=Xt,Xt=Nt,Nt=St+hr|0,St=it,it=Y,Y=j,j=hr+Ye|0}j=j+this.A|0,Y=Y+this.B|0,it=it+this.C|0,St=St+this.D|0,Nt=Nt+this.E|0,Xt=Xt+this.F|0,_e=_e+this.G|0,Pe=Pe+this.H|0,this.set(j,Y,it,St,Nt,Xt,_e,Pe)}roundClean(){Fe.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const oe=se(()=>new zt),Dt=(BigInt(0),BigInt(1)),wt=BigInt(2),ie=v=>v instanceof Uint8Array,Xe=Array.from({length:256},(v,_)=>_.toString(16).padStart(2,"0"));function Te(v){if(!ie(v))throw new Error("Uint8Array expected");let _="";for(let D=0;Dj+Y.length,0));let D=0;return v.forEach(j=>{if(!ie(j))throw new Error("Uint8Array expected");_.set(j,D),D+=j.length}),_}const z=v=>(wt<new Uint8Array(v),ue=v=>Uint8Array.from(v);function he(v,_,D){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 D)throw new Error("hmacFn must be a function");let j=Rt(v),Y=Rt(v),it=0;const St=()=>{j.fill(1),Y.fill(0),it=0},Nt=(...Le)=>D(Y,j,...Le),Xt=(Le=Rt())=>{Y=Nt(ue([0]),Le),j=Nt(),0!==Le.length&&(Y=Nt(ue([1]),Le),j=Nt())},_e=()=>{if(it++>=1e3)throw new Error("drbg: tried 1000 values");let Le=0;const rr=[];for(;Le<_;){j=Nt();const hr=j.slice();rr.push(hr),Le+=j.length}return cr(...rr)};return(Le,rr)=>{let hr;for(St(),Xt(Le);!(hr=rr(_e()));)Xt();return St(),hr}}const Se={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 Sr(v,_,D={}){const j=(Y,it,St)=>{const Nt=Se[it];if("function"!=typeof Nt)throw new Error(`Invalid validator "${it}", expected function`);const Xt=v[Y];if(!(St&&void 0===Xt||Nt(Xt,v)))throw new Error(`Invalid param ${String(Y)}=${Xt} (${typeof Xt}), expected ${it}`)};for(const[Y,it]of Object.entries(_))j(Y,it,!1);for(const[Y,it]of Object.entries(D))j(Y,it,!0);return v}const ar=BigInt(0),dr=BigInt(1),Mr=BigInt(2),ao=BigInt(3),xr=BigInt(4),zo=BigInt(5),To=BigInt(8);function ze(v,_){const D=v%_;return D>=ar?D:_+D}function Mt(v,_,D){if(D<=ar||_ 0");if(D===dr)return ar;let j=dr;for(;_>ar;)_&dr&&(j=j*v%D),v=v*v%D,_>>=dr;return j}function Wt(v,_,D){let j=v;for(;_-- >ar;)j*=j,j%=D;return j}function $t(v,_){if(v===ar||_<=ar)throw new Error(`invert: expected positive integers, got n=${v} mod=${_}`);let D=ze(v,_),j=_,Y=ar,it=dr,St=dr,Nt=ar;for(;D!==ar;){const _e=j/D,Pe=j%D,Le=Y-St*_e,rr=it-Nt*_e;j=D,D=Pe,Y=St,it=Nt,St=Le,Nt=rr}if(j!==dr)throw new Error("invert: does not exist");return ze(Y,_)}BigInt(9),BigInt(16);const vr=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function Je(v,_){const D=void 0!==_?_:v.toString(2).length;return{nBitLength:D,nByteLength:Math.ceil(D/8)}}function gr(v){if("bigint"!=typeof v)throw new Error("field order must be bigint");const _=v.toString(2).length;return Math.ceil(_/8)}function po(v){const _=gr(v);return _+Math.ceil(_/2)}class Ln extends ae{constructor(_,D){super(),this.finished=!1,this.destroyed=!1,function C(v){if("function"!=typeof v||"function"!=typeof v.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");l(v.outputLen),l(v.blockLen)}(_);const j=vt(D);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 Y=this.blockLen,it=new Uint8Array(Y);it.set(j.length>Y?_.create().update(j).digest():j);for(let St=0;Stnew Ln(v,_).update(D).digest();ua.create=(v,_)=>new Ln(v,_);const $i=BigInt(0),cn=BigInt(1);function pi(v){return function qr(v){Sr(v,vr.reduce((j,Y)=>(j[Y]="function",j),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"}))}(v.Fp),Sr(v,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...Je(v.n,v.nBitLength),...v,p:v.Fp.ORDER})}const{Ph:Fi,aT:is}=n,si={Err:class extends Error{constructor(_=""){super(_)}},_parseInt(v){const{Err:_}=si;if(v.length<2||2!==v[0])throw new _("Invalid signature integer tag");const D=v[1],j=v.subarray(2,D+2);if(!D||j.length!==D)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:Fi(j),l:v.subarray(D+2)}},toSig(v){const{Err:_}=si,D="string"==typeof v?is(v):v;if(!(D instanceof Uint8Array))throw new Error("ui8a expected");let j=D.length;if(j<2||48!=D[0])throw new _("Invalid signature tag");if(D[1]!==j-2)throw new _("Invalid signature: incorrect length");const{d:Y,l:it}=si._parseInt(D.subarray(2)),{d:St,l:Nt}=si._parseInt(it);if(Nt.length)throw new _("Invalid signature: left bytes after parsing");return{r:Y,s:St}},hexFromSig(v){const _=_e=>8&Number.parseInt(_e[0],16)?"00"+_e:_e,D=_e=>{const Pe=_e.toString(16);return 1&Pe.length?`0${Pe}`:Pe},j=_(D(v.s)),Y=_(D(v.r)),it=j.length/2,St=Y.length/2,Nt=D(it),Xt=D(St);return`30${D(St+it+4)}02${Xt}${Y}02${Nt}${j}`}},hi=BigInt(0),On=BigInt(1),Jt=(BigInt(2),BigInt(3));function Gt(v){const _=function ft(v){const _=pi(v);return Sr(_,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,..._})}(v),{Fp:D,n:j}=_,Y=D.BYTES+1,it=2*D.BYTES+1;function Nt(oo){return ze(oo,j)}function Xt(oo){return $t(oo,j)}const{ProjectivePoint:_e,normPrivateKeyToScalar:Pe,weierstrassEquation:Le,isWithinCurveOrder:rr}=function de(v){const _=function Ji(v){const _=pi(v);Sr(_,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:D,Fp:j,a:Y}=_;if(D){if(!j.eql(Y,j.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof D||"bigint"!=typeof D.beta||"function"!=typeof D.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({..._})}(v),{Fp:D}=_,j=_.toBytes||((er,Ye,Ze)=>{const br=Ye.toAffine();return cr(Uint8Array.from([4]),D.toBytes(br.x),D.toBytes(br.y))}),Y=_.fromBytes||(er=>{const Ye=er.subarray(1);return{x:D.fromBytes(Ye.subarray(0,D.BYTES)),y:D.fromBytes(Ye.subarray(D.BYTES,2*D.BYTES))}});function it(er){const{a:Ye,b:Ze}=_,br=D.sqr(er),Dr=D.mul(br,er);return D.add(D.add(Dr,D.mul(er,Ye)),Ze)}if(!D.eql(D.sqr(_.Gy),it(_.Gx)))throw new Error("bad generator point: equation left != right");function St(er){return"bigint"==typeof er&&hiD.eql(Zr,D.ZERO);return Dr(Ze)&&Dr(br)?Le.ZERO:new Le(Ze,br,D.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(Ye){const Ze=D.invertBatch(Ye.map(br=>br.pz));return Ye.map((br,Dr)=>br.toAffine(Ze[Dr])).map(Le.fromAffine)}static fromHex(Ye){const Ze=Le.fromAffine(Y(fo("pointHex",Ye)));return Ze.assertValidity(),Ze}static fromPrivateKey(Ye){return Le.BASE.multiply(Xt(Ye))}_setWindowSize(Ye){this._WINDOW_SIZE=Ye,_e.delete(this)}assertValidity(){if(this.is0()){if(_.allowInfinityPoint&&!D.is0(this.py))return;throw new Error("bad point: ZERO")}const{x:Ye,y:Ze}=this.toAffine();if(!D.isValid(Ye)||!D.isValid(Ze))throw new Error("bad point: x or y not FE");const br=D.sqr(Ze),Dr=it(Ye);if(!D.eql(br,Dr))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:Ye}=this.toAffine();if(D.isOdd)return!D.isOdd(Ye);throw new Error("Field doesn't support isOdd")}equals(Ye){Pe(Ye);const{px:Ze,py:br,pz:Dr}=this,{px:Zr,py:io,pz:Po}=Ye,mo=D.eql(D.mul(Ze,Po),D.mul(Zr,Dr)),So=D.eql(D.mul(br,Po),D.mul(io,Dr));return mo&&So}negate(){return new Le(this.px,D.neg(this.py),this.pz)}double(){const{a:Ye,b:Ze}=_,br=D.mul(Ze,Jt),{px:Dr,py:Zr,pz:io}=this;let Po=D.ZERO,mo=D.ZERO,So=D.ZERO,jo=D.mul(Dr,Dr),Nn=D.mul(Zr,Zr),kn=D.mul(io,io),tn=D.mul(Dr,Zr);return tn=D.add(tn,tn),So=D.mul(Dr,io),So=D.add(So,So),Po=D.mul(Ye,So),mo=D.mul(br,kn),mo=D.add(Po,mo),Po=D.sub(Nn,mo),mo=D.add(Nn,mo),mo=D.mul(Po,mo),Po=D.mul(tn,Po),So=D.mul(br,So),kn=D.mul(Ye,kn),tn=D.sub(jo,kn),tn=D.mul(Ye,tn),tn=D.add(tn,So),So=D.add(jo,jo),jo=D.add(So,jo),jo=D.add(jo,kn),jo=D.mul(jo,tn),mo=D.add(mo,jo),kn=D.mul(Zr,io),kn=D.add(kn,kn),jo=D.mul(kn,tn),Po=D.sub(Po,jo),So=D.mul(kn,Nn),So=D.add(So,So),So=D.add(So,So),new Le(Po,mo,So)}add(Ye){Pe(Ye);const{px:Ze,py:br,pz:Dr}=this,{px:Zr,py:io,pz:Po}=Ye;let mo=D.ZERO,So=D.ZERO,jo=D.ZERO;const Nn=_.a,kn=D.mul(_.b,Jt);let tn=D.mul(Ze,Zr),ti=D.mul(br,io),ei=D.mul(Dr,Po),vi=D.add(Ze,br),oo=D.add(Zr,io);vi=D.mul(vi,oo),oo=D.add(tn,ti),vi=D.sub(vi,oo),oo=D.add(Ze,Dr);let ho=D.add(Zr,Po);return oo=D.mul(oo,ho),ho=D.add(tn,ei),oo=D.sub(oo,ho),ho=D.add(br,Dr),mo=D.add(io,Po),ho=D.mul(ho,mo),mo=D.add(ti,ei),ho=D.sub(ho,mo),jo=D.mul(Nn,oo),mo=D.mul(kn,ei),jo=D.add(mo,jo),mo=D.sub(ti,jo),jo=D.add(ti,jo),So=D.mul(mo,jo),ti=D.add(tn,tn),ti=D.add(ti,tn),ei=D.mul(Nn,ei),oo=D.mul(kn,oo),ti=D.add(ti,ei),ei=D.sub(tn,ei),ei=D.mul(Nn,ei),oo=D.add(oo,ei),tn=D.mul(ti,oo),So=D.add(So,tn),tn=D.mul(ho,oo),mo=D.mul(vi,mo),mo=D.sub(mo,tn),tn=D.mul(vi,ti),jo=D.mul(ho,jo),jo=D.add(jo,tn),new Le(mo,So,jo)}subtract(Ye){return this.add(Ye.negate())}is0(){return this.equals(Le.ZERO)}wNAF(Ye){return hr.wNAFCached(this,_e,Ye,Ze=>{const br=D.invertBatch(Ze.map(Dr=>Dr.pz));return Ze.map((Dr,Zr)=>Dr.toAffine(br[Zr])).map(Le.fromAffine)})}multiplyUnsafe(Ye){const Ze=Le.ZERO;if(Ye===hi)return Ze;if(Nt(Ye),Ye===On)return this;const{endo:br}=_;if(!br)return hr.unsafeLadder(this,Ye);let{k1neg:Dr,k1:Zr,k2neg:io,k2:Po}=br.splitScalar(Ye),mo=Ze,So=Ze,jo=this;for(;Zr>hi||Po>hi;)Zr&On&&(mo=mo.add(jo)),Po&On&&(So=So.add(jo)),jo=jo.double(),Zr>>=On,Po>>=On;return Dr&&(mo=mo.negate()),io&&(So=So.negate()),So=new Le(D.mul(So.px,br.beta),So.py,So.pz),mo.add(So)}multiply(Ye){Nt(Ye);let br,Dr,Ze=Ye;const{endo:Zr}=_;if(Zr){const{k1neg:io,k1:Po,k2neg:mo,k2:So}=Zr.splitScalar(Ze);let{p:jo,f:Nn}=this.wNAF(Po),{p:kn,f:tn}=this.wNAF(So);jo=hr.constTimeNegate(io,jo),kn=hr.constTimeNegate(mo,kn),kn=new Le(D.mul(kn.px,Zr.beta),kn.py,kn.pz),br=jo.add(kn),Dr=Nn.add(tn)}else{const{p:io,f:Po}=this.wNAF(Ze);br=io,Dr=Po}return Le.normalizeZ([br,Dr])[0]}multiplyAndAddUnsafe(Ye,Ze,br){const Dr=Le.BASE,Zr=(Po,mo)=>mo!==hi&&mo!==On&&Po.equals(Dr)?Po.multiply(mo):Po.multiplyUnsafe(mo),io=Zr(this,Ze).add(Zr(Ye,br));return io.is0()?void 0:io}toAffine(Ye){const{px:Ze,py:br,pz:Dr}=this,Zr=this.is0();null==Ye&&(Ye=Zr?D.ONE:D.inv(Dr));const io=D.mul(Ze,Ye),Po=D.mul(br,Ye),mo=D.mul(Dr,Ye);if(Zr)return{x:D.ZERO,y:D.ZERO};if(!D.eql(mo,D.ONE))throw new Error("invZ was invalid");return{x:io,y:Po}}isTorsionFree(){const{h:Ye,isTorsionFree:Ze}=_;if(Ye===On)return!0;if(Ze)return Ze(Le,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:Ye,clearCofactor:Ze}=_;return Ye===On?this:Ze?Ze(Le,this):this.multiplyUnsafe(_.h)}toRawBytes(Ye=!0){return this.assertValidity(),j(Le,this,Ye)}toHex(Ye=!0){return Te(this.toRawBytes(Ye))}}Le.BASE=new Le(_.Gx,_.Gy,D.ONE),Le.ZERO=new Le(D.ZERO,D.ONE,D.ZERO);const rr=_.nBitLength,hr=function qi(v,_){const D=(Y,it)=>{const St=it.negate();return Y?St:it},j=Y=>({windows:Math.ceil(_/Y)+1,windowSize:2**(Y-1)});return{constTimeNegate:D,unsafeLadder(Y,it){let St=v.ZERO,Nt=Y;for(;it>$i;)it&cn&&(St=St.add(Nt)),Nt=Nt.double(),it>>=cn;return St},precomputeWindow(Y,it){const{windows:St,windowSize:Nt}=j(it),Xt=[];let _e=Y,Pe=_e;for(let Le=0;Le>=hr,Ze>Xt&&(Ze-=rr,St+=cn);const br=Ye,Dr=Ye+Math.abs(Ze)-1,io=Ze<0;0===Ze?Pe=Pe.add(D(er%2!=0,it[br])):_e=_e.add(D(io,it[Dr]))}return{p:_e,f:Pe}},wNAFCached(Y,it,St,Nt){const Xt=Y._WINDOW_SIZE||1;let _e=it.get(Y);return _e||(_e=this.precomputeWindow(Y,Xt),1!==Xt&&it.set(Y,Nt(_e))),this.wNAF(Xt,_e,St)}}}(Le,_.endo?Math.ceil(rr/2):rr);return{CURVE:_,ProjectivePoint:Le,normPrivateKeyToScalar:Xt,weierstrassEquation:it,isWithinCurveOrder:St}}({..._,toBytes(oo,ho,Yo){const mn=ho.toAffine(),vo=D.toBytes(mn.x),an=cr;return Yo?an(Uint8Array.from([ho.hasEvenY()?2:3]),vo):an(Uint8Array.from([4]),vo,D.toBytes(mn.y))},fromBytes(oo){const ho=oo.length,Yo=oo[0],mn=oo.subarray(1);if(ho!==Y||2!==Yo&&3!==Yo){if(ho===it&&4===Yo)return{x:D.fromBytes(mn.subarray(0,D.BYTES)),y:D.fromBytes(mn.subarray(D.BYTES,2*D.BYTES))};throw new Error(`Point of length ${ho} was invalid. Expected ${Y} compressed bytes or ${it} uncompressed bytes`)}{const vo=tr(mn);if(!function St(oo){return hiTe(Wr(oo,_.nByteLength));function er(oo){return oo>j>>On}const Ze=(oo,ho,Yo)=>tr(oo.slice(ho,Yo));class br{constructor(ho,Yo,mn){this.r=ho,this.s=Yo,this.recovery=mn,this.assertValidity()}static fromCompact(ho){const Yo=_.nByteLength;return ho=fo("compactSignature",ho,2*Yo),new br(Ze(ho,0,Yo),Ze(ho,Yo,2*Yo))}static fromDER(ho){const{r:Yo,s:mn}=si.toSig(fo("DER",ho));return new br(Yo,mn)}assertValidity(){if(!rr(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!rr(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(ho){return new br(this.r,this.s,ho)}recoverPublicKey(ho){const{r:Yo,s:mn,recovery:vo}=this,an=So(fo("msgHash",ho));if(null==vo||![0,1,2,3].includes(vo))throw new Error("recovery id invalid");const _i=2===vo||3===vo?Yo+_.n:Yo;if(_i>=D.ORDER)throw new Error("recovery id 2 or 3 invalid");const Ba=_e.fromHex((1&vo?"03":"02")+hr(_i)),Ns=Xt(_i),oc=Nt(-an*Ns),mc=Nt(mn*Ns),vs=_e.BASE.multiplyAndAddUnsafe(Ba,oc,mc);if(!vs)throw new Error("point at infinify");return vs.assertValidity(),vs}hasHighS(){return er(this.s)}normalizeS(){return this.hasHighS()?new br(this.r,Nt(-this.s),this.recovery):this}toDERRawBytes(){return Ve(this.toDERHex())}toDERHex(){return si.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return Ve(this.toCompactHex())}toCompactHex(){return hr(this.r)+hr(this.s)}}const Dr={isValidPrivateKey(oo){try{return Pe(oo),!0}catch{return!1}},normPrivateKeyToScalar:Pe,randomPrivateKey:()=>{const oo=po(_.n);return function ki(v,_,D=!1){const j=v.length,Y=gr(_),it=po(_);if(j<16||j1024)throw new Error(`expected ${it}-1024 bytes of input, got ${j}`);const Nt=ze(D?tr(v):Tr(v),_-dr)+dr;return D?Lo(Nt,Y):Wr(Nt,Y)}(_.randomBytes(oo),_.n)},precompute:(oo=8,ho=_e.BASE)=>(ho._setWindowSize(oo),ho.multiply(BigInt(3)),ho)};function io(oo){const ho=oo instanceof Uint8Array,Yo="string"==typeof oo,mn=(ho||Yo)&&oo.length;return ho?mn===Y||mn===it:Yo?mn===2*Y||mn===2*it:oo instanceof _e}const mo=_.bits2int||function(oo){const ho=tr(oo),Yo=8*oo.length-_.nBitLength;return Yo>0?ho>>BigInt(Yo):ho},So=_.bits2int_modN||function(oo){return Nt(mo(oo))},jo=z(_.nBitLength);function Nn(oo){if("bigint"!=typeof oo)throw new Error("bigint expected");if(!(hi<=oo&&oo_s in Yo))throw new Error("sign() legacy options not supported");const{hash:mn,randomBytes:vo}=_;let{lowS:an,prehash:_i,extraEntropy:zn}=Yo;null==an&&(an=!0),oo=fo("msgHash",oo),_i&&(oo=fo("prehashed msgHash",mn(oo)));const Ba=So(oo),Ns=Pe(ho),oc=[Nn(Ns),Nn(Ba)];if(null!=zn){const _s=!0===zn?vo(D.BYTES):zn;oc.push(fo("extraEntropy",_s))}const mc=cr(...oc),vs=Ba;return{seed:mc,k2sig:function Xs(_s){const jl=mo(_s);if(!rr(jl))return;const $u=Xt(jl),Li=_e.BASE.multiply(jl).toAffine(),cl=Nt(Li.x);if(cl===hi)return;const ts=Nt($u*Nt(vs+cl*Ns));if(ts===hi)return;let Zi=(Li.x===cl?0:2)|Number(Li.y&On),Vl=ts;return an&&er(ts)&&(Vl=function Ye(oo){return er(oo)?Nt(-oo):oo}(ts),Zi^=1),new br(cl,Vl,Zi)}}}(oo,ho,Yo);return he(_.hash.outputLen,_.nByteLength,_.hmac)(mn,vo)},verify:function vi(oo,ho,Yo,mn=ti){const vo=oo;if(ho=fo("msgHash",ho),Yo=fo("publicKey",Yo),"strict"in mn)throw new Error("options.strict was renamed to lowS");const{lowS:an,prehash:_i}=mn;let zn,Ba;try{if("string"==typeof vo||vo instanceof Uint8Array)try{zn=br.fromDER(vo)}catch(Li){if(!(Li instanceof si.Err))throw Li;zn=br.fromCompact(vo)}else{if("object"!=typeof vo||"bigint"!=typeof vo.r||"bigint"!=typeof vo.s)throw new Error("PARSE");{const{r:Li,s:cl}=vo;zn=new br(Li,cl)}}Ba=_e.fromHex(Yo)}catch(Li){if("PARSE"===Li.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(an&&zn.hasHighS())return!1;_i&&(ho=_.hash(ho));const{r:Ns,s:oc}=zn,mc=So(ho),vs=Xt(oc),Xs=Nt(mc*vs),_s=Nt(Ns*vs),jl=_e.BASE.multiplyAndAddUnsafe(Ba,Xs,_s)?.toAffine();return!!jl&&Nt(jl.x)===Ns},ProjectivePoint:_e,Signature:br,utils:Dr}}function He(v){return{hash:v,hmac:(_,...D)=>ua(v,_,function Pt(...v){const _=new Uint8Array(v.reduce((j,Y)=>j+Y.length,0));let D=0;return v.forEach(j=>{if(!q(j))throw new Error("Uint8Array expected");_.set(j,D),D+=j.length}),_}(...D)),randomBytes:yr}}BigInt(4);const ur=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),Er=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),kr=BigInt(1),Rr=BigInt(2),$r=(v,_)=>(v+_/Rr)/_;function Jr(v){const _=ur,D=BigInt(3),j=BigInt(6),Y=BigInt(11),it=BigInt(22),St=BigInt(23),Nt=BigInt(44),Xt=BigInt(88),_e=v*v*v%_,Pe=_e*_e*v%_,Le=Wt(Pe,D,_)*Pe%_,rr=Wt(Le,D,_)*Pe%_,hr=Wt(rr,Rr,_)*_e%_,er=Wt(hr,Y,_)*hr%_,Ye=Wt(er,it,_)*er%_,Ze=Wt(Ye,Nt,_)*Ye%_,br=Wt(Ze,Xt,_)*Ze%_,Dr=Wt(br,Nt,_)*Ye%_,Zr=Wt(Dr,D,_)*Pe%_,io=Wt(Zr,St,_)*er%_,Po=Wt(io,j,_)*_e%_,mo=Wt(Po,Rr,_);if(!so.eql(so.sqr(mo),v))throw new Error("Cannot find square root");return mo}const so=function Ae(v,_,D=!1,j={}){if(v<=ar)throw new Error(`Expected Field ORDER > 0, got ${v}`);const{nBitLength:Y,nByteLength:it}=Je(v,_);if(it>2048)throw new Error("Field lengths over 2048 bytes are not supported");const St=function ce(v){if(v%xr===ao){const _=(v+dr)/xr;return function(j,Y){const it=j.pow(Y,_);if(!j.eql(j.sqr(it),Y))throw new Error("Cannot find square root");return it}}if(v%To===zo){const _=(v-zo)/To;return function(j,Y){const it=j.mul(Y,Mr),St=j.pow(it,_),Nt=j.mul(Y,St),Xt=j.mul(j.mul(Nt,Mr),St),_e=j.mul(Nt,j.sub(Xt,j.ONE));if(!j.eql(j.sqr(_e),Y))throw new Error("Cannot find square root");return _e}}return function Ce(v){const _=(v-dr)/Mr;let D,j,Y;for(D=v-dr,j=0;D%Mr===ar;D/=Mr,j++);for(Y=Mr;Yze(Xt,v),isValid:Xt=>{if("bigint"!=typeof Xt)throw new Error("Invalid field element: expected bigint, got "+typeof Xt);return ar<=Xt&&XtXt===ar,isOdd:Xt=>(Xt&dr)===dr,neg:Xt=>ze(-Xt,v),eql:(Xt,_e)=>Xt===_e,sqr:Xt=>ze(Xt*Xt,v),add:(Xt,_e)=>ze(Xt+_e,v),sub:(Xt,_e)=>ze(Xt-_e,v),mul:(Xt,_e)=>ze(Xt*_e,v),pow:(Xt,_e)=>function ko(v,_,D){if(D 0");if(D===ar)return v.ONE;if(D===dr)return _;let j=v.ONE,Y=_;for(;D>ar;)D&dr&&(j=v.mul(j,Y)),Y=v.sqr(Y),D>>=dr;return j}(Nt,Xt,_e),div:(Xt,_e)=>ze(Xt*$t(_e,v),v),sqrN:Xt=>Xt*Xt,addN:(Xt,_e)=>Xt+_e,subN:(Xt,_e)=>Xt-_e,mulN:(Xt,_e)=>Xt*_e,inv:Xt=>$t(Xt,v),sqrt:j.sqrt||(Xt=>St(Nt,Xt)),invertBatch:Xt=>function sn(v,_){const D=new Array(_.length),j=_.reduce((it,St,Nt)=>v.is0(St)?it:(D[Nt]=it,v.mul(it,St)),v.ONE),Y=v.inv(j);return _.reduceRight((it,St,Nt)=>v.is0(St)?it:(D[Nt]=v.mul(it,D[Nt]),v.mul(it,St)),Y),D}(Nt,Xt),cmov:(Xt,_e,Pe)=>Pe?_e:Xt,toBytes:Xt=>D?Lo(Xt,it):Wr(Xt,it),fromBytes:Xt=>{if(Xt.length!==it)throw new Error(`Fp.fromBytes: expected ${it}, got ${Xt.length}`);return D?Tr(Xt):tr(Xt)}});return Object.freeze(Nt)}(ur,void 0,void 0,{sqrt:Jr}),xo=function Me(v,_){const D=j=>Gt({...v,...He(j)});return Object.freeze({...D(_),create:D})}({a:BigInt(0),b:BigInt(7),Fp:so,n:Er,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:v=>{const _=Er,D=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),j=-kr*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),Y=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),it=D,St=BigInt("0x100000000000000000000000000000000"),Nt=$r(it*v,_),Xt=$r(-j*v,_);let _e=ze(v-Nt*D-Xt*Y,_),Pe=ze(-Nt*j-Xt*it,_);const Le=_e>St,rr=Pe>St;if(Le&&(_e=_-_e),rr&&(Pe=_-Pe),_e>St||Pe>St)throw new Error("splitScalar: Endomorphism failed, k="+v);return{k1neg:Le,k1:_e,k2neg:rr,k2:Pe}}}},oe),Eo=BigInt(0),bn=v=>"bigint"==typeof v&&EoY.charCodeAt(0)));D=cr(j,j),Mn[v]=D}return oe(cr(D,..._))}const Qo=v=>v.toRawBytes(!0).slice(1),Fo=v=>Wr(v,32),Ei=v=>ze(v,ur),ta=v=>ze(v,Er),Wa=xo.ProjectivePoint;function Pn(v){let _=xo.utils.normPrivateKeyToScalar(v),D=Wa.fromPrivateKey(_);return{scalar:D.hasEvenY()?_:ta(-_),bytes:Qo(D)}}function _n(v){if(!bn(v))throw new Error("bad x: need 0 < x < p");const _=Ei(v*v);let j=Jr(Ei(_*v+BigInt(7)));j%Rr!==Eo&&(j=Ei(-j));const Y=new Wa(v,j,kr);return Y.assertValidity(),Y}function ss(...v){return ta(tr(Ro("BIP0340/challenge",...v)))}function Ea(v,_,D){const j=fo("signature",v,64),Y=fo("message",_),it=fo("publicKey",D,32);try{const St=_n(tr(it)),Nt=tr(j.subarray(0,32));if(!bn(Nt))return!1;const Xt=tr(j.subarray(32,64));if(!(v=>"bigint"==typeof v&&EoWa.BASE.multiplyAndAddUnsafe(v,_,D))(St,Xt,ta(-_e));return!(!Pe||!Pe.hasEvenY()||Pe.toAffine().x!==Nt)}catch{return!1}}const Ri={getPublicKey:function Ka(v){return Pn(v).bytes},sign:function Ii(v,_,D=yr(32)){const j=fo("message",v),{bytes:Y,scalar:it}=Pn(_),St=fo("auxRand",D,32),Nt=Fo(it^tr(Ro("BIP0340/aux",St))),Xt=Ro("BIP0340/nonce",Nt,Y,j),_e=ta(tr(Xt));if(_e===Eo)throw new Error("sign failed: k is zero");const{bytes:Pe,scalar:Le}=Pn(_e),rr=ss(Pe,Y,j),hr=new Uint8Array(64);if(hr.set(Pe,0),hr.set(Fo(ta(Le+rr*it)),32),!Ea(hr,j,Y))throw new Error("sign: Invalid signature produced");return hr},verify:Ea,utils:{randomPrivateKey:xo.utils.randomPrivateKey,lift_x:_n,pointToBytes:Qo,numberToBytesBE:Wr,bytesToNumberBE:tr,taggedHash:Ro,mod:ze}};var Xo=o(4704);function Ca(v){if(!Number.isSafeInteger(v)||v<0)throw new Error(`Wrong positive integer: ${v}`)}function ni(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 Ci={number:Ca,bool:function fi(v){if("boolean"!=typeof v)throw new Error(`Expected boolean, not ${v}`)},bytes:ni,hash:function ha(v){if("function"!=typeof v||"function"!=typeof v.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");Ca(v.outputLen),Ca(v.blockLen)},exists:function Xi(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 Qs(v,_){ni(v);const D=_.outputLen;if(v.lengthY-St&&(this.process(j,0),St=0);for(let Le=St;Le>Y&it),Nt=Number(D&it),_e=j?0:4;v.setUint32(_+(j?4:0),St,j),v.setUint32(_+_e,Nt,j)})(j,Y-8,BigInt(8*this.length),it),this.process(j,0);const Nt=(0,Xo.O8)(_),Xt=this.outputLen;if(Xt%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const _e=Xt/4,Pe=this.get();if(_e>Pe.length)throw new Error("_sha2: outputLen bigger than state");for(let Le=0;Le<_e;Le++)Nt.setUint32(4*Le,Pe[Le],it)}digest(){const{buffer:_,outputLen:D}=this;this.digestInto(_);const j=_.slice(0,D);return this.destroy(),j}_cloneInto(_){_||(_=new this.constructor),_.set(...this.get());const{blockLen:D,buffer:j,length:Y,finished:it,destroyed:St,pos:Nt}=this;return _.length=Y,_.pos=Nt,_.finished=it,_.destroyed=St,Y%D&&_.buffer.set(j),_}}const Ga=(v,_,D)=>v&_^~v&D,ma=(v,_,D)=>v&_^v&D^_&D,cs=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]),ca=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Vn=new Uint32Array(64);class cc extends Da{constructor(){super(64,32,8,!1),this.A=0|ca[0],this.B=0|ca[1],this.C=0|ca[2],this.D=0|ca[3],this.E=0|ca[4],this.F=0|ca[5],this.G=0|ca[6],this.H=0|ca[7]}get(){const{A:_,B:D,C:j,D:Y,E:it,F:St,G:Nt,H:Xt}=this;return[_,D,j,Y,it,St,Nt,Xt]}set(_,D,j,Y,it,St,Nt,Xt){this.A=0|_,this.B=0|D,this.C=0|j,this.D=0|Y,this.E=0|it,this.F=0|St,this.G=0|Nt,this.H=0|Xt}process(_,D){for(let Le=0;Le<16;Le++,D+=4)Vn[Le]=_.getUint32(D,!1);for(let Le=16;Le<64;Le++){const rr=Vn[Le-15],hr=Vn[Le-2],er=(0,Xo.Ow)(rr,7)^(0,Xo.Ow)(rr,18)^rr>>>3,Ye=(0,Xo.Ow)(hr,17)^(0,Xo.Ow)(hr,19)^hr>>>10;Vn[Le]=Ye+Vn[Le-7]+er+Vn[Le-16]|0}let{A:j,B:Y,C:it,D:St,E:Nt,F:Xt,G:_e,H:Pe}=this;for(let Le=0;Le<64;Le++){const hr=Pe+((0,Xo.Ow)(Nt,6)^(0,Xo.Ow)(Nt,11)^(0,Xo.Ow)(Nt,25))+Ga(Nt,Xt,_e)+cs[Le]+Vn[Le]|0,Ye=((0,Xo.Ow)(j,2)^(0,Xo.Ow)(j,13)^(0,Xo.Ow)(j,22))+ma(j,Y,it)|0;Pe=_e,_e=Xt,Xt=Nt,Nt=St+hr|0,St=it,it=Y,Y=j,j=hr+Ye|0}j=j+this.A|0,Y=Y+this.B|0,it=it+this.C|0,St=St+this.D|0,Nt=Nt+this.E|0,Xt=Xt+this.F|0,_e=_e+this.G|0,Pe=Pe+this.H|0,this.set(j,Y,it,St,Nt,Xt,_e,Pe)}roundClean(){Vn.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class ls extends cc{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 Sa=(0,Xo.ld)(()=>new cc);function Na(v){if(!Number.isSafeInteger(v))throw new Error(`Wrong integer: ${v}`)}function Di(...v){const _=(Y,it)=>St=>Y(it(St));return{encode:Array.from(v).reverse().reduce((Y,it)=>Y?_(Y,it.encode):it.encode,void 0),decode:v.reduce((Y,it)=>Y?_(Y,it.decode):it.decode,void 0)}}function Bi(v){return{encode:_=>{if(!Array.isArray(_)||_.length&&"number"!=typeof _[0])throw new Error("alphabet.encode input should be an array of numbers");return _.map(D=>{if(Na(D),D<0||D>=v.length)throw new Error(`Digit index outside alphabet: ${D} (alphabet: ${v.length})`);return v[D]})},decode:_=>{if(!Array.isArray(_)||_.length&&"string"!=typeof _[0])throw new Error("alphabet.decode input should be array of strings");return _.map(D=>{if("string"!=typeof D)throw new Error(`alphabet.decode: not string element=${D}`);const j=v.indexOf(D);if(-1===j)throw new Error(`Unknown letter: "${D}". Allowed: ${v}`);return j})}}}function ci(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 D of _)if("string"!=typeof D)throw new Error(`join.encode: non-string input=${D}`);return _.join(v)},decode:_=>{if("string"!=typeof _)throw new Error("join.decode input should be string");return _.split(v)}}}function ga(v,_="="){if(Na(v),"string"!=typeof _)throw new Error("padding chr should be string");return{encode(D){if(!Array.isArray(D)||D.length&&"string"!=typeof D[0])throw new Error("padding.encode input should be array of strings");for(let j of D)if("string"!=typeof j)throw new Error(`padding.encode: non-string input=${j}`);for(;D.length*v%8;)D.push(_);return D},decode(D){if(!Array.isArray(D)||D.length&&"string"!=typeof D[0])throw new Error("padding.encode input should be array of strings");for(let Y of D)if("string"!=typeof Y)throw new Error(`padding.decode: non-string input=${Y}`);let j=D.length;if(j*v%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;j>0&&D[j-1]===_;j--)if(!((j-1)*v%8))throw new Error("Invalid padding: string has too much padding");return D.slice(0,j)}}}function Cs(v){if("function"!=typeof v)throw new Error("normalize fn should be function");return{encode:_=>_,decode:_=>v(_)}}function Ta(v,_,D){if(_<2)throw new Error(`convertRadix: wrong from=${_}, base cannot be less than 2`);if(D<2)throw new Error(`convertRadix: wrong to=${D}, 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 Y=[],it=Array.from(v);for(it.forEach(St=>{if(Na(St),St<0||St>=_)throw new Error(`Wrong integer: ${St}`)});;){let St=0,Nt=!0;for(let Xt=j;Xtnew ls);const Ua=(v,_)=>_?Ua(_,v%_):v,ds=(v,_)=>v+(_-Ua(v,_));function Bs(v,_,D,j){if(!Array.isArray(v))throw new Error("convertRadix2: data should be array");if(_<=0||_>32)throw new Error(`convertRadix2: wrong from=${_}`);if(D<=0||D>32)throw new Error(`convertRadix2: wrong to=${D}`);if(ds(_,D)>32)throw new Error(`convertRadix2: carry overflow from=${_} to=${D} carryBits=${ds(_,D)}`);let Y=0,it=0;const St=2**D-1,Nt=[];for(const Xt of v){if(Na(Xt),Xt>=2**_)throw new Error(`convertRadix2: invalid data word=${Xt} from=${_}`);if(Y=Y<<_|Xt,it+_>32)throw new Error(`convertRadix2: carry overflow pos=${it} from=${_}`);for(it+=_;it>=D;it-=D)Nt.push((Y>>it-D&St)>>>0);Y&=2**it-1}if(Y=Y<=_)throw new Error("Excess padding");if(!j&&Y)throw new Error(`Non-zero padding: ${Y}`);return j&&it>0&&Nt.push(Y>>>0),Nt}function Z(v,_=!1){if(Na(v),v<=0||v>32)throw new Error("radix2: bits should be in (0..32]");if(ds(8,v)>32||ds(v,8)>32)throw new Error("radix2: carry overflow");return{encode:D=>{if(!(D instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return Bs(Array.from(D),8,v,!_)},decode:D=>{if(!Array.isArray(D)||D.length&&"number"!=typeof D[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(Bs(D,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{}}}Di(Z(4),Bi("0123456789ABCDEF"),ci("")),Di(Z(5),Bi("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),ga(5),ci(""));const Qr=(Di(Z(5),Bi("0123456789ABCDEFGHIJKLMNOPQRSTUV"),ga(5),ci("")),Di(Z(5),Bi("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),ci(""),Cs(v=>v.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),Di(Z(6),Bi("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),ga(6),ci(""))),Wn=(Di(Z(6),Bi("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),ga(6),ci("")),v=>Di(function Ds(v){return Na(v),{encode:_=>{if(!(_ instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return Ta(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(Ta(_,v,256))}}}(58),Bi(v),ci(""))),ji=(Wn("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),Wn("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),Wn("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz"),Di(Bi("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),ci(""))),Hi=[996825010,642813549,513874426,1027748829,705979059];function Us(v){const _=v>>25;let D=(33554431&v)<<5;for(let j=0;j>j&1)&&(D^=Hi[j]);return D}function $s(v,_,D=1){const j=v.length;let Y=1;for(let it=0;it126)throw new Error(`Invalid prefix (${v})`);Y=Us(Y)^St>>5}Y=Us(Y);for(let it=0;itLe)throw new TypeError(`Wrong string length: ${Pe.length} (${Pe}). Expected (8..${Le})`);const rr=Pe.toLowerCase();if(Pe!==rr&&Pe!==Pe.toUpperCase())throw new Error("String must be lowercase or uppercase");const hr=(Pe=rr).lastIndexOf("1");if(0===hr||-1===hr)throw new Error('Letter "1" must be present between prefix and data only');const er=Pe.slice(0,hr),Ye=Pe.slice(hr+1);if(Ye.length<6)throw new Error("Data must be at least 6 characters long");const Ze=ji.decode(Ye).slice(0,-6),br=$s(er,Ze,_);if(!Ye.endsWith(br))throw new Error(`Invalid checksum in ${Pe}: expected "${br}"`);return{prefix:er,words:Ze}}return{encode:function St(Pe,Le,rr=90){if("string"!=typeof Pe)throw new Error("bech32.encode prefix should be string, not "+typeof Pe);if(!Array.isArray(Le)||Le.length&&"number"!=typeof Le[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof Le);const hr=Pe.length+7+Le.length;if(!1!==rr&&hr>rr)throw new TypeError(`Length ${hr} exceeds limit ${rr}`);return`${Pe=Pe.toLowerCase()}1${ji.encode(Le)}${$s(Pe,Le,_)}`},decode:Nt,decodeToBytes:function _e(Pe){const{prefix:Le,words:rr}=Nt(Pe,!1);return{prefix:Le,words:rr,bytes:j(rr)}},decodeUnsafe:qt(Nt),fromWords:j,fromWordsUnsafe:it,toWords:Y}}const lt=us("bech32");function js(v){if(!Number.isSafeInteger(v)||v<0)throw new Error(`positive integer expected, not ${v}`)}function pl(v){if("boolean"!=typeof v)throw new Error(`boolean expected, not ${v}`)}function lc(v){return v instanceof Uint8Array||null!=v&&"object"==typeof v&&"Uint8Array"===v.constructor.name}function wn(v,..._){if(!lc(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 ba(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 Vs(v,_){wn(v);const D=_.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 vn=v=>new Uint32Array(v.buffer,v.byteOffset,Math.floor(v.byteLength/4)),Ic=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 pc(v){if("string"==typeof v)v=function xc(v){if("string"!=typeof v)throw new Error("string expected, got "+typeof v);return new Uint8Array((new TextEncoder).encode(v))}(v);else{if(!lc(v))throw new Error("Uint8Array expected, got "+typeof v);v=v.slice()}return v}function ps(v,_){if(v.length!==_.length)return!1;let D=0;for(let j=0;j(Object.assign(_,v),_);function zi(v,_,D,j){if("function"==typeof v.setBigUint64)return v.setBigUint64(_,D,j);const Y=BigInt(32),it=BigInt(4294967295),St=Number(D>>Y&it),Nt=Number(D&it),_e=j?0:4;v.setUint32(_+(j?4:0),St,j),v.setUint32(_+_e,Nt,j)}const Ao=new Uint8Array(16),Rn=vn(Ao),Qn=(v,_,D,j)=>({s3:D<<31|j>>>1,s2:_<<31|D>>>1,s1:v<<31|_>>>1,s0:v>>>1^225<<24&-(1&j)}),ai=v=>(v>>>0&255)<<24|(v>>>8&255)<<16|(v>>>16&255)<<8|v>>>24&255;class ri{constructor(_,D){this.blockLen=16,this.outputLen=16,this.s0=0,this.s1=0,this.s2=0,this.s3=0,this.finished=!1,wn(_=pc(_),16);const j=Ic(_);let Y=j.getUint32(0,!1),it=j.getUint32(4,!1),St=j.getUint32(8,!1),Nt=j.getUint32(12,!1);const Xt=[];for(let er=0;er<128;er++)Xt.push({s0:ai(Y),s1:ai(it),s2:ai(St),s3:ai(Nt)}),({s0:Y,s1:it,s2:St,s3:Nt}=Qn(Y,it,St,Nt));const _e=(v=D||1024)>65536?8:v>1024?4:2;var v;if(![1,2,4,8].includes(_e))throw new Error(`ghash: wrong window size=${_e}, should be 2, 4 or 8`);this.W=_e;const Le=128/_e,rr=this.windowSize=2**_e,hr=[];for(let er=0;er>>_e-io-1&1))continue;const{s0:mo,s1:So,s2:jo,s3:Nn}=Xt[_e*er+io];Ze^=mo,br^=So,Dr^=jo,Zr^=Nn}hr.push({s0:Ze,s1:br,s2:Dr,s3:Zr})}this.t=hr}_updateBlock(_,D,j,Y){_^=this.s0,D^=this.s1,j^=this.s2,Y^=this.s3;const{W:it,t:St,windowSize:Nt}=this;let Xt=0,_e=0,Pe=0,Le=0;const rr=(1<>>8*Ye&255;for(let br=8/it-1;br>=0;br--){const Dr=Ze>>>it*br&rr,{s0:Zr,s1:io,s2:Po,s3:mo}=St[hr*Nt+Dr];Xt^=Zr,_e^=io,Pe^=Po,Le^=mo,hr+=1}}this.s0=Xt,this.s1=_e,this.s2=Pe,this.s3=Le}update(_){_=pc(_),ba(this);const D=vn(_),j=Math.floor(_.length/16),Y=_.length%16;for(let it=0;it>>1|D,D=(1&Y)<<7}return v[0]^=225&-_,v}((_=pc(_)).slice());super(j,D),j.fill(0)}update(_){_=pc(_),ba(this);const D=vn(_),j=_.length%16,Y=Math.floor(_.length/16);for(let it=0;itv(Y,j.length).update(pc(j)).digest(),D=v(new Uint8Array(16),0);return _.outputLen=D.outputLen,_.blockLen=D.blockLen,_.create=(j,Y)=>v(j,Y),_}on((v,_)=>new ri(v,_)),on((v,_)=>new li(v,_)),new Uint8Array(16);const Va=283;function di(v){return v<<1^Va&-(v>>7)}function Un(v,_){let D=0;for(;_>0;_>>=1)D^=v&-(1&_),v=di(v);return D}const U=(()=>{let v=new Uint8Array(256);for(let D=0,j=1;D<256;D++,j^=di(j))v[D]=j;const _=new Uint8Array(256);_[0]=99;for(let D=0;D<255;D++){let j=v[255-D];j|=j<<8,_[v[D]]=255&(j^j>>4^j>>5^j>>6^j>>7^99)}return _})(),Tt=U.map((v,_)=>U.indexOf(_)),rt=v=>v<<24|v>>>8,mt=v=>v<<8|v>>>24;function xe(v,_){if(256!==v.length)throw new Error("Wrong sbox length");const D=new Uint32Array(256).map((_e,Pe)=>_(v[Pe])),j=D.map(mt),Y=j.map(mt),it=Y.map(mt),St=new Uint32Array(65536),Nt=new Uint32Array(65536),Xt=new Uint16Array(65536);for(let _e=0;_e<256;_e++)for(let Pe=0;Pe<256;Pe++){const Le=256*_e+Pe;St[Le]=D[_e]^j[Pe],Nt[Le]=Y[_e]^it[Pe],Xt[Le]=v[_e]<<8|v[Pe]}return{sbox:v,sbox2:Xt,T0:D,T1:j,T2:Y,T3:it,T01:St,T23:Nt}}const Ge=xe(U,v=>Un(v,3)<<24|v<<16|v<<8|Un(v,2)),Br=xe(Tt,v=>Un(v,11)<<24|Un(v,13)<<16|Un(v,9)<<8|Un(v,14)),eo=(()=>{const v=new Uint8Array(16);for(let _=0,D=1;_<16;_++,D=di(D))v[_]=D;return v})();function dn(v){wn(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:D}=Ge,j=vn(v),Y=j.length,it=Nt=>No(D,Nt,Nt,Nt,Nt),St=new Uint32Array(_+28);St.set(j);for(let Nt=Y;Nt6&&Nt%Y==4&&(Xt=it(Xt)),St[Nt]=St[Nt-Y]^Xt}return St}function Dn(v,_,D,j,Y,it){return v[D<<8&65280|j>>>8&255]^_[Y>>>8&65280|it>>>24&255]}function No(v,_,D,j,Y){return v[255&_|65280&D]|v[j>>>16&255|Y>>>16&65280]<<16}function ln(v,_,D,j,Y){const{sbox2:it,T01:St,T23:Nt}=Ge;let Xt=0;_^=v[Xt++],D^=v[Xt++],j^=v[Xt++],Y^=v[Xt++];const _e=v.length/4-2;for(let er=0;er<_e;er++){const Ye=v[Xt++]^Dn(St,Nt,_,D,j,Y),Ze=v[Xt++]^Dn(St,Nt,D,j,Y,_),br=v[Xt++]^Dn(St,Nt,j,Y,_,D),Dr=v[Xt++]^Dn(St,Nt,Y,_,D,j);_=Ye,D=Ze,j=br,Y=Dr}return{s0:v[Xt++]^No(it,_,D,j,Y),s1:v[Xt++]^No(it,D,j,Y,_),s2:v[Xt++]^No(it,j,Y,_,D),s3:v[Xt++]^No(it,Y,_,D,j)}}function nn(v,_,D,j,Y){const{sbox2:it,T01:St,T23:Nt}=Br;let Xt=0;_^=v[Xt++],D^=v[Xt++],j^=v[Xt++],Y^=v[Xt++];const _e=v.length/4-2;for(let er=0;er<_e;er++){const Ye=v[Xt++]^Dn(St,Nt,_,Y,j,D),Ze=v[Xt++]^Dn(St,Nt,D,_,Y,j),br=v[Xt++]^Dn(St,Nt,j,D,_,Y),Dr=v[Xt++]^Dn(St,Nt,Y,j,D,_);_=Ye,D=Ze,j=br,Y=Dr}return{s0:v[Xt++]^No(it,_,Y,j,D),s1:v[Xt++]^No(it,D,_,Y,j),s2:v[Xt++]^No(it,j,D,_,Y),s3:v[Xt++]^No(it,Y,j,D,_)}}function xn(v,_){if(!_)return new Uint8Array(v);if(wn(_),_.length{const Nt=dn(_),{b:Xt,o:_e,out:Pe}=function Hs(v,_,D){let j=v.length;const Y=j%16;if(!_&&0!==Y)throw new Error("aec/(cbc-ecb): unpadded plaintext with disabled padding");const it=vn(v);if(_){let Xt=16-Y;Xt||(Xt=16),j+=Xt}const St=xn(j,D);return{b:it,o:vn(St),out:St}}(it,Y,St),Le=vn(D);let rr=Le[0],hr=Le[1],er=Le[2],Ye=Le[3],Ze=0;for(;Ze+4<=Xt.length;)rr^=Xt[Ze+0],hr^=Xt[Ze+1],er^=Xt[Ze+2],Ye^=Xt[Ze+3],({s0:rr,s1:hr,s2:er,s3:Ye}=ln(Nt,rr,hr,er,Ye)),_e[Ze++]=rr,_e[Ze++]=hr,_e[Ze++]=er,_e[Ze++]=Ye;if(Y){const br=function As(v){const _=new Uint8Array(16),D=vn(_);_.set(v);const j=16-v.length;for(let Y=16-j;Y<16;Y++)_[Y]=j;return D}(it.subarray(4*Ze));rr^=br[0],hr^=br[1],er^=br[2],Ye^=br[3],({s0:rr,s1:hr,s2:er,s3:Ye}=ln(Nt,rr,hr,er,Ye)),_e[Ze++]=rr,_e[Ze++]=hr,_e[Ze++]=er,_e[Ze++]=Ye}return Nt.fill(0),Pe},decrypt:(it,St)=>{!function Yi(v){if(wn(v),v.length%16!=0)throw new Error("aes/(cbc-ecb).decrypt ciphertext should consist of blocks with size 16")}(it);const Nt=function In(v){const _=dn(v),D=_.slice(),j=_.length,{sbox2:Y}=Ge,{T0:it,T1:St,T2:Nt,T3:Xt}=Br;for(let _e=0;_e>>8&255]^Nt[Le>>>16&255]^Xt[Le>>>24]}return D}(_),Xt=vn(D),_e=xn(it.length,St),Pe=vn(it),Le=vn(_e);let rr=Xt[0],hr=Xt[1],er=Xt[2],Ye=Xt[3];for(let Ze=0;Ze+4<=Pe.length;){const br=rr,Dr=hr,Zr=er,io=Ye;rr=Pe[Ze+0],hr=Pe[Ze+1],er=Pe[Ze+2],Ye=Pe[Ze+3];const{s0:Po,s1:mo,s2:So,s3:jo}=nn(Nt,rr,hr,er,Ye);Le[Ze++]=Po^br,Le[Ze++]=mo^Dr,Le[Ze++]=So^Zr,Le[Ze++]=jo^io}return Nt.fill(0),function La(v,_){if(!_)return v;const D=v.length;if(!D)throw new Error("aes/pcks5: empty ciphertext not allowed");const j=v[D-1];if(j<=0||j>16)throw new Error(`aes/pcks5: wrong padding byte: ${j}`);const Y=v.subarray(0,-j);for(let it=0;it255&v[_++]|(255&v[_++])<<8;class Wi{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,wn(_=pc(_),32);const D=wi(_,0),j=wi(_,2),Y=wi(_,4),it=wi(_,6),St=wi(_,8),Nt=wi(_,10),Xt=wi(_,12),_e=wi(_,14);this.r[0]=8191&D,this.r[1]=8191&(D>>>13|j<<3),this.r[2]=7939&(j>>>10|Y<<6),this.r[3]=8191&(Y>>>7|it<<9),this.r[4]=255&(it>>>4|St<<12),this.r[5]=St>>>1&8190,this.r[6]=8191&(St>>>14|Nt<<2),this.r[7]=8065&(Nt>>>11|Xt<<5),this.r[8]=8191&(Xt>>>8|_e<<8),this.r[9]=_e>>>5&127;for(let Pe=0;Pe<8;Pe++)this.pad[Pe]=wi(_,16+2*Pe)}process(_,D,j=!1){const Y=j?0:2048,{h:it,r:St}=this,Nt=St[0],Xt=St[1],_e=St[2],Pe=St[3],Le=St[4],rr=St[5],hr=St[6],er=St[7],Ye=St[8],Ze=St[9],br=wi(_,D+0),Dr=wi(_,D+2),Zr=wi(_,D+4),io=wi(_,D+6),Po=wi(_,D+8),mo=wi(_,D+10),So=wi(_,D+12),jo=wi(_,D+14);let Nn=it[0]+(8191&br),kn=it[1]+(8191&(br>>>13|Dr<<3)),tn=it[2]+(8191&(Dr>>>10|Zr<<6)),ti=it[3]+(8191&(Zr>>>7|io<<9)),ei=it[4]+(8191&(io>>>4|Po<<12)),vi=it[5]+(Po>>>1&8191),oo=it[6]+(8191&(Po>>>14|mo<<2)),ho=it[7]+(8191&(mo>>>11|So<<5)),Yo=it[8]+(8191&(So>>>8|jo<<8)),mn=it[9]+(jo>>>5|Y),vo=0,an=vo+Nn*Nt+kn*(5*Ze)+tn*(5*Ye)+ti*(5*er)+ei*(5*hr);vo=an>>>13,an&=8191,an+=vi*(5*rr)+oo*(5*Le)+ho*(5*Pe)+Yo*(5*_e)+mn*(5*Xt),vo+=an>>>13,an&=8191;let _i=vo+Nn*Xt+kn*Nt+tn*(5*Ze)+ti*(5*Ye)+ei*(5*er);vo=_i>>>13,_i&=8191,_i+=vi*(5*hr)+oo*(5*rr)+ho*(5*Le)+Yo*(5*Pe)+mn*(5*_e),vo+=_i>>>13,_i&=8191;let zn=vo+Nn*_e+kn*Xt+tn*Nt+ti*(5*Ze)+ei*(5*Ye);vo=zn>>>13,zn&=8191,zn+=vi*(5*er)+oo*(5*hr)+ho*(5*rr)+Yo*(5*Le)+mn*(5*Pe),vo+=zn>>>13,zn&=8191;let Ba=vo+Nn*Pe+kn*_e+tn*Xt+ti*Nt+ei*(5*Ze);vo=Ba>>>13,Ba&=8191,Ba+=vi*(5*Ye)+oo*(5*er)+ho*(5*hr)+Yo*(5*rr)+mn*(5*Le),vo+=Ba>>>13,Ba&=8191;let Ns=vo+Nn*Le+kn*Pe+tn*_e+ti*Xt+ei*Nt;vo=Ns>>>13,Ns&=8191,Ns+=vi*(5*Ze)+oo*(5*Ye)+ho*(5*er)+Yo*(5*hr)+mn*(5*rr),vo+=Ns>>>13,Ns&=8191;let oc=vo+Nn*rr+kn*Le+tn*Pe+ti*_e+ei*Xt;vo=oc>>>13,oc&=8191,oc+=vi*Nt+oo*(5*Ze)+ho*(5*Ye)+Yo*(5*er)+mn*(5*hr),vo+=oc>>>13,oc&=8191;let mc=vo+Nn*hr+kn*rr+tn*Le+ti*Pe+ei*_e;vo=mc>>>13,mc&=8191,mc+=vi*Xt+oo*Nt+ho*(5*Ze)+Yo*(5*Ye)+mn*(5*er),vo+=mc>>>13,mc&=8191;let vs=vo+Nn*er+kn*hr+tn*rr+ti*Le+ei*Pe;vo=vs>>>13,vs&=8191,vs+=vi*_e+oo*Xt+ho*Nt+Yo*(5*Ze)+mn*(5*Ye),vo+=vs>>>13,vs&=8191;let Xs=vo+Nn*Ye+kn*er+tn*hr+ti*rr+ei*Le;vo=Xs>>>13,Xs&=8191,Xs+=vi*Pe+oo*_e+ho*Xt+Yo*Nt+mn*(5*Ze),vo+=Xs>>>13,Xs&=8191;let _s=vo+Nn*Ze+kn*Ye+tn*er+ti*hr+ei*rr;vo=_s>>>13,_s&=8191,_s+=vi*Le+oo*Pe+ho*_e+Yo*Xt+mn*Nt,vo+=_s>>>13,_s&=8191,vo=(vo<<2)+vo|0,vo=vo+an|0,an=8191&vo,vo>>>=13,_i+=vo,it[0]=an,it[1]=_i,it[2]=zn,it[3]=Ba,it[4]=Ns,it[5]=oc,it[6]=mc,it[7]=vs,it[8]=Xs,it[9]=_s}finalize(){const{h:_,pad:D}=this,j=new Uint16Array(10);let Y=_[1]>>>13;_[1]&=8191;for(let Nt=2;Nt<10;Nt++)_[Nt]+=Y,Y=_[Nt]>>>13,_[Nt]&=8191;_[0]+=5*Y,Y=_[0]>>>13,_[0]&=8191,_[1]+=Y,Y=_[1]>>>13,_[1]&=8191,_[2]+=Y,j[0]=_[0]+5,Y=j[0]>>>13,j[0]&=8191;for(let Nt=1;Nt<10;Nt++)j[Nt]=_[Nt]+Y,Y=j[Nt]>>>13,j[Nt]&=8191;j[9]-=8192;let it=(1^Y)-1;for(let Nt=0;Nt<10;Nt++)j[Nt]&=it;it=~it;for(let Nt=0;Nt<10;Nt++)_[Nt]=_[Nt]&it|j[Nt];_[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 St=_[0]+D[0];_[0]=65535&St;for(let Nt=1;Nt<8;Nt++)St=(_[Nt]+D[Nt]|0)+(St>>>16)|0,_[Nt]=65535&St}update(_){ba(this);const{buffer:D,blockLen:j}=this,Y=(_=pc(_)).length;for(let it=0;it>>0,_[it++]=j[St]>>>8;return _}digest(){const{buffer:_,outputLen:D}=this;this.digestInto(_);const j=_.slice(0,D);return this.destroy(),j}}const sd=function kc(v){const _=(j,Y)=>v(Y).update(pc(j)).digest(),D=v(new Uint8Array(32));return _.outputLen=D.outputLen,_.blockLen=D.blockLen,_.create=j=>v(j),_}(v=>new Wi(v)),gl=v=>Uint8Array.from(v.split("").map(_=>_.charCodeAt(0))),cd=gl("expand 16-byte k"),Ud=gl("expand 32-byte k"),sp=vn(cd),$d=vn(Ud);function $o(v,_){return v<<_|v>>>32-_}function Tl(v){return v.byteOffset%4==0}$d.slice();const zs=2**32-1,Bo=new Uint32Array;function Gc(v,_){const{allowShortKeys:D,extendNonceFn:j,counterLength:Y,counterRight:it,rounds:St}=function Hc(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 js(Y),js(St),pl(it),pl(D),(Nt,Xt,_e,Pe,Le=0)=>{wn(Nt),wn(Xt),wn(_e);const rr=_e.length;if(Pe||(Pe=new Uint8Array(rr)),wn(Pe),js(Le),Le<0||Le>=zs)throw new Error("arx: counter overflow");if(Pe.length=zs)throw new Error("arx: counter overflow");const Ye=Math.min(64,Xt-er);if(Le&&64===Ye){const Ze=er/4;if(er%4!=0)throw new Error("arx: invalid block position");for(let Dr,br=0;br<16;br++)Dr=Ze+br,hr[Dr]=rr[Dr]^Pe[br];er+=64}else{for(let br,Ze=0;Ze0;)hr.pop().fill(0);return Pe}}function gc(v,_,D,j,Y,it=20){let St=v[0],Nt=v[1],Xt=v[2],_e=v[3],Pe=_[0],Le=_[1],rr=_[2],hr=_[3],er=_[4],Ye=_[5],Ze=_[6],br=_[7],Dr=Y,Zr=D[0],io=D[1],Po=D[2],mo=St,So=Nt,jo=Xt,Nn=_e,kn=Pe,tn=Le,ti=rr,ei=hr,vi=er,oo=Ye,ho=Ze,Yo=br,mn=Dr,vo=Zr,an=io,_i=Po;for(let Ba=0;Ba{v.update(_);const D=_.length%16;D&&v.update(qn.subarray(D))},fl=new Uint8Array(32);function oa(v,_,D,j,Y){const it=v(_,D,fl),St=sd.create(it);Y&&Do(St,Y),Do(St,j);const Nt=new Uint8Array(16),Xt=Ic(Nt);zi(Xt,0,BigInt(Y?Y.length:0),!0),zi(Xt,8,BigInt(j.length),!0),St.update(Nt);const _e=St.digest();return it.fill(0),_e}const R=v=>(_,D,j)=>(wn(_,32),wn(D),{encrypt:(it,St)=>{const Nt=it.length,Xt=Nt+16;St?wn(St,Xt):St=new Uint8Array(Xt),v(_,D,it,St,1);const _e=oa(v,_,D,St.subarray(0,-16),j);return St.set(_e,Nt),St},decrypt:(it,St)=>{const Nt=it.length,Xt=Nt-16;if(Nt<16)throw new Error("encrypted data must be at least 16 bytes");St?wn(St,Xt):St=new Uint8Array(Xt);const _e=it.subarray(0,-16);if(!ps(it.subarray(-16),oa(v,_,D,_e,j)))throw new Error("invalid tag");return v(_,D,_e,St,1),St}});R(Xc),R(Ws);class K extends Xo.Vw{constructor(_,D){super(),this.finished=!1,this.destroyed=!1,Ci.hash(_);const j=(0,Xo.ZJ)(D);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 Y=this.blockLen,it=new Uint8Array(Y);it.set(j.length>Y?_.create().update(j).digest():j);for(let St=0;Stnew K(v,_).update(D).digest();gt.create=(v,_)=>new K(v,_);const De=new Uint8Array([0]),pr=new Uint8Array;var un=Object.defineProperty,Io=(v,_)=>{for(var D in _)un(v,D,{get:_[D],enumerable:!0})},Gn=Symbol("verified"),Ia=v=>v instanceof Object;function na(v){if(!Ia(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;_up,QueueNode:()=>dp,binarySearch:()=>wu,insertEventIntoAscendingList:()=>Zg,insertEventIntoDescendingList:()=>jd,normalizeURL:()=>Ks,utf8Decoder:()=>Wo,utf8Encoder:()=>Ya});var Wo=new TextDecoder("utf-8"),Ya=new TextEncoder;function Ks(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 jd(v,_){const[D,j]=wu(v,Y=>_.id===Y.id?0:_.created_at===Y.created_at?-1:Y.created_at-_.created_at);return j||v.splice(D,0,_),v}function Zg(v,_){const[D,j]=wu(v,Y=>_.id===Y.id?0:_.created_at===Y.created_at?-1:_.created_at-Y.created_at);return j||v.splice(D,0,_),v}function wu(v,_){let D=0,j=v.length-1;for(;D<=j;){const Y=Math.floor((D+j)/2),it=_(v[Y]);if(0===it)return[Y,!0];it<0?j=Y-1:D=Y+1}return[D,!1]}var dp=class{value;next=null;prev=null;constructor(v){this.value=v}},up=class{first;last;constructor(){this.first=null,this.last=null}enqueue(v){const _=new dp(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 Yc(v){let _=Sa(Ya.encode(function ml(v){if(!na(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,Xo.My)(_)}var Qc=new class{generateSecretKey(){return Ri.utils.randomPrivateKey()}getPublicKey(v){return(0,Xo.My)(Ri.getPublicKey(v))}finalizeEvent(v,_){const D=v;return D.pubkey=(0,Xo.My)(Ri.getPublicKey(_)),D.id=Yc(D),D.sig=(0,Xo.My)(Ri.sign(Yc(D),_)),D[Gn]=!0,D}verifyEvent(v){if("boolean"==typeof v[Gn])return v[Gn];const _=Yc(v);if(_!==v.id)return v[Gn]=!1,!1;try{const D=Ri.verify(v.sig,_,v.pubkey);return v[Gn]=D,D}catch{return v[Gn]=!1,!1}}},dd=Qc.generateSecretKey,ud=Qc.getPublicKey,Js=Qc.finalizeEvent,_r=Qc.verifyEvent;function Ml(v){return 1e3<=v&&v<1e4||[1,2,4,5,6,7,8,16,40,41,42,43,44].includes(v)}function pd(v){return[0,3].includes(v)||1e4<=v&&v<2e4}function An(v){return 2e4<=v&&v<3e4}function Nc(v){return 3e4<=v&&v<4e4}function Rs(v){return Ml(v)?"regular":pd(v)?"replaceable":An(v)?"ephemeral":Nc(v)?"parameterized":"unknown"}function Qa(v,_){const D=_ instanceof Array?_:[_];return na(v)&&D.includes(v.kind)||!1}Io({},{Application:()=>vl,BadgeAward:()=>Za,BadgeDefinition:()=>fp,BlockedRelaysList:()=>yi,BookmarkList:()=>oi,Bookmarksets:()=>wl,Calendar:()=>Lc,CalendarEventRSVP:()=>xh,ChannelCreation:()=>L,ChannelHideMessage:()=>xt,ChannelMessage:()=>nt,ChannelMetadata:()=>$,ChannelMuteUser:()=>Ut,ClassifiedListing:()=>Jg,ClientAuth:()=>fa,CommunitiesList:()=>Jn,CommunityDefinition:()=>ef,CommunityPostApproval:()=>ro,Contacts:()=>qg,CreateOrUpdateProduct:()=>yl,CreateOrUpdateStall:()=>fc,Curationsets:()=>tl,Date:()=>tf,DirectMessageRelaysList:()=>Vo,DraftClassifiedListing:()=>Wd,DraftLong:()=>Vd,Emojisets:()=>Hd,EncryptedDirectMessage:()=>hp,EventDeletion:()=>gp,FileMetadata:()=>We,FileServerPreference:()=>Hn,Followsets:()=>qc,GenericRepost:()=>I,Genericlists:()=>bl,GiftWrap:()=>Ie,HTTPAuth:()=>Cc,Handlerinformation:()=>Kd,Handlerrecommendation:()=>_u,Highlights:()=>no,InterestsList:()=>bs,Interestsets:()=>Ja,JobFeedback:()=>Xr,JobRequest:()=>Ar,JobResult:()=>Vr,Label:()=>zr,LightningPubRPC:()=>Ai,LiveChatMessage:()=>sr,LiveEvent:()=>mp,LongFormArticle:()=>el,Metadata:()=>Il,Mutelist:()=>Co,NWCWalletInfo:()=>Yn,NWCWalletRequest:()=>qa,NWCWalletResponse:()=>Pa,NostrConnect:()=>tc,OpenTimestamps:()=>pe,Pinlist:()=>Go,PrivateDirectMessage:()=>vu,ProblemTracker:()=>Cr,ProfileBadges:()=>Ol,PublicChatsList:()=>Xn,Reaction:()=>Zc,RecommendRelay:()=>yu,RelayList:()=>Uo,Relaysets:()=>Jc,Report:()=>Qe,Reporting:()=>Gr,Repost:()=>fs,Seal:()=>Ec,SearchRelaysList:()=>Si,ShortTextNote:()=>gs,Time:()=>bp,UserEmojiList:()=>wo,UserStatuses:()=>zd,Zap:()=>Oo,ZapGoal:()=>yo,ZapRequest:()=>Ur,classifyKind:()=>Rs,isEphemeralKind:()=>An,isKind:()=>Qa,isParameterizedReplaceableKind:()=>Nc,isRegularKind:()=>Ml,isReplaceableKind:()=>pd});var Il=0,gs=1,yu=2,qg=3,hp=4,gp=5,fs=6,Zc=7,Za=8,Ec=13,vu=14,I=16,L=40,$=41,nt=42,xt=43,Ut=44,pe=1040,Ie=1059,We=1063,sr=1311,Cr=1971,Qe=1984,Gr=1984,zr=1985,ro=4550,Ar=5999,Vr=6999,Xr=7e3,yo=9041,Ur=9734,Oo=9735,no=9802,Co=1e4,Go=10001,Uo=10002,oi=10003,Jn=10004,Xn=10005,yi=10006,Si=10007,bs=10015,wo=10030,Vo=10050,Hn=10096,Yn=13194,Ai=21e3,fa=22242,qa=23194,Pa=23195,tc=24133,Cc=27235,qc=3e4,bl=30001,Jc=30002,wl=30003,tl=30004,Ol=30008,fp=30009,Ja=30015,fc=30017,yl=30018,el=30023,Vd=30024,Hd=30030,vl=30078,mp=30311,zd=30315,Jg=30402,Wd=30403,tf=31922,bp=31923,Lc=31924,xh=31925,_u=31989,Kd=31990,ef=34550;function Pc(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 D in v)if("#"===D[0]){let Y=v[`#${D.slice(1)}`];if(Y&&!_.tags.find(([it,St])=>it===D.slice(1)&&-1!==Y.indexOf(St)))return!1}return!(v.since&&_.created_atv.until)}function Rl(v,_){let D=_.length+3,j=v.indexOf(`"${_}":`)+D,Y=v.slice(j).indexOf('"')+j+1;return v.slice(Y,Y+64)}function Nl(v,_){let D=_.length,j=v.indexOf(`"${_}":`)+D+3,Y=v.slice(j),it=Math.min(Y.indexOf(","),Y.indexOf("}"));return parseInt(Y.slice(0,it),10)}function ku(v){let _=v.slice(0,22).indexOf('"EVENT"');if(-1===_)return null;let D=v.slice(_+7+1).indexOf('"');if(-1===D)return null;let j=_+7+1+D,Y=v.slice(j+1,80).indexOf('"');return-1===Y?null:v.slice(j+1,j+1+Y)}function Gd(v,_){return _===Rl(v,"id")}function Eh(v,_){return _===Rl(v,"pubkey")}function yp(v,_){return _===Nl(v,"kind")}function vp(v,_){return{kind:fa,created_at:Math.floor(Date.now()/1e3),tags:[["relay",v],["challenge",_]],content:""}}function hd(){return Fc.apply(this,arguments)}function Fc(){return(Fc=(0,a.A)(function*(){return new Promise(v=>{const _=new MessageChannel,D=()=>{_.port1.removeEventListener("message",D),v()};_.port1.addEventListener("message",D),_.port2.postMessage(0),_.port1.start()})})).apply(this,arguments)}Io({},{getHex64:()=>Rl,getInt:()=>Nl,getSubscriptionId:()=>ku,matchEventId:()=>Gd,matchEventKind:()=>yp,matchEventPubkey:()=>Eh}),Io({},{makeAuthEvent:()=>vp});var Pm=v=>(v[Gn]=!0,!0),Eu=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 up;queueRunning=!1;challenge;serial=0;verifyEvent;_WebSocket;constructor(v,_){this.url=Ks(v),this.verifyEvent=_.verifyEvent,this._WebSocket=_.websocketImplementation||WebSocket}static connect(v,_){return(0,a.A)(function*(){const D=new Eu(v,_);return yield D.connect(),D})()}closeAllSubscriptions(v){for(let[_,D]of this.openSubs)D.close(v);this.openSubs.clear();for(let[_,D]of this.openEventPublishes)D.reject(new Error(v));this.openEventPublishes.clear();for(let[_,D]of this.openCountRequests)D.reject(new Error(v));this.openCountRequests.clear()}get connected(){return this._connected}connect(){var v=this;return(0,a.A)(function*(){return v.connectionPromise||(v.challenge=void 0,v.connectionPromise=new Promise((_,D)=>{v.connectionTimeoutHandle=setTimeout(()=>{D("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 D(j)}v.ws.onopen=()=>{clearTimeout(v.connectionTimeoutHandle),v._connected=!0,_()},v.ws.onerror=j=>{D(j.message||"websocket error"),v._connected&&(v._connected=!1,v.connectionPromise=void 0,v.onclose?.(),v.closeAllSubscriptions("relay connection errored"))},v.ws.onclose=(0,a.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,a.A)(function*(){for(v.queueRunning=!0;!1!==v.handleNext();)yield hd();v.queueRunning=!1})()}handleNext(){const v=this.incomingMessageQueue.dequeue();if(!v)return!1;const _=ku(v);if(_){const D=this.openSubs.get(_);if(!D)return;const j=Rl(v,"id"),Y=D.alreadyHaveEvent?.(j);if(D.receivedEvent?.(this,j),Y)return}try{let D=JSON.parse(v);switch(D[0]){case"EVENT":{const j=this.openSubs.get(D[1]),Y=D[2];return void(this.verifyEvent(Y)&&function rf(v,_){for(let D=0;D{_.ws?.send(v)})})()}auth(v){var _=this;return(0,a.A)(function*(){if(!_.challenge)throw new Error("can't perform auth, no challenge was received");const D=yield v(vp(_.url,_.challenge)),j=new Promise((Y,it)=>{_.openEventPublishes.set(D.id,{resolve:Y,reject:it})});return _.send('["AUTH",'+JSON.stringify(D)+"]"),j})()}publish(v){var _=this;return(0,a.A)(function*(){const D=new Promise((j,Y)=>{_.openEventPublishes.set(v.id,{resolve:j,reject:Y})});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),D})()}count(v,_){var D=this;return(0,a.A)(function*(){D.serial++;const j=_?.id||"count:"+D.serial,Y=new Promise((it,St)=>{D.openCountRequests.set(j,{resolve:it,reject:St})});return D.send('["COUNT","'+j+'",'+JSON.stringify(v).substring(1)),Y})()}subscribe(v,_){const D=this.prepareSubscription(v,_);return D.fire(),D}prepareSubscription(v,_){this.serial++;const D=_.id||"sub:"+this.serial,j=new _p(this,D,v,_);return this.openSubs.set(D,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()}},_p=class{relay;id;closed=!1;eosed=!1;filters;alreadyHaveEvent;receivedEvent;onevent;oneose;onclose;eoseTimeout;eoseTimeoutHandle;constructor(v,_,D,j){this.relay=v,this.filters=D,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||(Y=>{console.warn(`onevent() callback not defined for subscription '${this.id}' in relay ${this.relay.url}. event received:`,Y)})}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 Dh,Fa=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 D=this;return(0,a.A)(function*(){v=Ks(v);let j=D.relays.get(v);return j||(j=new Eu(v,{verifyEvent:D.trustedRelayURLs.has(v)?Pm:D.verifyEvent,websocketImplementation:D._WebSocket}),_?.connectionTimeout&&(j.connectionTimeout=_.connectionTimeout),D.relays.set(v,j)),yield j.connect(),j})()}close(v){v.map(Ks).forEach(_=>{this.relays.get(_)?.close()})}subscribeMany(v,_,D){return this.subscribeManyMap(Object.fromEntries(v.map(j=>[j,_])),D)}subscribeManyMap(v,_){var D=this;this.trackRelays&&(_.receivedEvent=(rr,hr)=>{let er=this.seenOn.get(hr);er||(er=new Set,this.seenOn.set(hr,er)),er.add(rr)});const j=new Set,Y=[],it=Object.keys(v).length,St=[];let Nt=rr=>{St[rr]=!0,St.filter(hr=>hr).length===it&&(_.oneose?.(),Nt=()=>{})};const Xt=[];let _e=(rr,hr)=>{Nt(rr),Xt[rr]=hr,Xt.filter(er=>er).length===it&&(_.onclose?.(Xt),_e=()=>{})};const Pe=rr=>{if(_.alreadyHaveEvent?.(rr))return!0;const hr=j.has(rr);return j.add(rr),hr},Le=Promise.all(Object.entries(v).map(function(){var rr=(0,a.A)(function*(hr,er,Ye){if(Ye.indexOf(hr)!==er)return void _e(er,"duplicate url");let Dr,[Ze,br]=hr;Ze=Ks(Ze);try{Dr=yield D.ensureRelay(Ze,{connectionTimeout:_.maxWait?Math.max(.8*_.maxWait,_.maxWait-1e3):void 0})}catch(io){return void _e(er,io?.message||String(io))}let Zr=Dr.subscribe(br,{..._,oneose:()=>Nt(er),onclose:io=>_e(er,io),alreadyHaveEvent:Pe,eoseTimeout:_.maxWait});Y.push(Zr)});return function(hr,er,Ye){return rr.apply(this,arguments)}}()));return{close:()=>(0,a.A)(function*(){yield Le,Y.forEach(rr=>{rr.close()})})()}}subscribeManyEose(v,_,D){const j=this.subscribeMany(v,_,{...D,oneose(){j.close()}});return j}querySync(v,_,D){var j=this;return(0,a.A)(function*(){return new Promise(function(){var Y=(0,a.A)(function*(it){const St=[];j.subscribeManyEose(v,[_],{...D,onevent(Nt){St.push(Nt)},onclose(Nt){it(St)}})});return function(it){return Y.apply(this,arguments)}}())})()}get(v,_,D){var j=this;return(0,a.A)(function*(){_.limit=1;const Y=yield j.querySync(v,_,D);return Y.sort((it,St)=>St.created_at-it.created_at),Y[0]||null})()}publish(v,_){var D=this;return v.map(Ks).map(function(){var j=(0,a.A)(function*(Y,it,St){if(St.indexOf(Y)!==it)return Promise.reject("duplicate url");let Nt=yield D.ensureRelay(Y);return Nt.publish(_).then(Xt=>{if(D.trackRelays){let _e=D.seenOn.get(_.id);_e||(_e=new Set,D.seenOn.set(_.id,_e)),_e.add(Nt)}return Xt})});return function(Y,it,St){return j.apply(this,arguments)}}())}listConnectionStatus(){const v=new Map;return this.relays.forEach((_,D)=>v.set(D,_.connected)),v}destroy(){this.relays.forEach(v=>v.close()),this.relays=new Map}};try{Dh=WebSocket}catch{}var xp=class extends Fa{constructor(){super({verifyEvent:_r,websocketImplementation:Dh})}},Cu={};Io(Cu,{BECH32_REGEX:()=>Yd,Bech32MaxSize:()=>Xd,NostrTypeGuard:()=>nf,decode:()=>fd,encodeBytes:()=>Gs,naddrEncode:()=>Tu,neventEncode:()=>Zd,noteEncode:()=>Ah,nprofileEncode:()=>Au,npubEncode:()=>Sh,nsecEncode:()=>Du});var nf={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||"")},Xd=5e3,Yd=/[\x21-\x7E]{1,83}1[023456789acdefghjklmnpqrstuvwxyz]{6,}/;function fd(v){let{prefix:_,words:D}=lt.decode(v,Xd),j=new Uint8Array(lt.fromWords(D));switch(_){case"nprofile":{let Y=Qd(j);if(!Y[0]?.[0])throw new Error("missing TLV 0 for nprofile");if(32!==Y[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nprofile",data:{pubkey:(0,Xo.My)(Y[0][0]),relays:Y[1]?Y[1].map(it=>Wo.decode(it)):[]}}}case"nevent":{let Y=Qd(j);if(!Y[0]?.[0])throw new Error("missing TLV 0 for nevent");if(32!==Y[0][0].length)throw new Error("TLV 0 should be 32 bytes");if(Y[2]&&32!==Y[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(Y[3]&&4!==Y[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"nevent",data:{id:(0,Xo.My)(Y[0][0]),relays:Y[1]?Y[1].map(it=>Wo.decode(it)):[],author:Y[2]?.[0]?(0,Xo.My)(Y[2][0]):void 0,kind:Y[3]?.[0]?parseInt((0,Xo.My)(Y[3][0]),16):void 0}}}case"naddr":{let Y=Qd(j);if(!Y[0]?.[0])throw new Error("missing TLV 0 for naddr");if(!Y[2]?.[0])throw new Error("missing TLV 2 for naddr");if(32!==Y[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(!Y[3]?.[0])throw new Error("missing TLV 3 for naddr");if(4!==Y[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"naddr",data:{identifier:Wo.decode(Y[0][0]),pubkey:(0,Xo.My)(Y[2][0]),kind:parseInt((0,Xo.My)(Y[3][0]),16),relays:Y[1]?Y[1].map(it=>Wo.decode(it)):[]}}}case"nsec":return{type:_,data:j};case"npub":case"note":return{type:_,data:(0,Xo.My)(j)};default:throw new Error(`unknown prefix ${_}`)}}function Qd(v){let _={},D=v;for(;D.length>0;){let j=D[0],Y=D[1],it=D.slice(2,2+Y);if(D=D.slice(2+Y),it.lengthYa.encode(D))}))}function Zd(v){let _;return void 0!==v.kind&&(_=function kp(v){const _=new Uint8Array(4);return _[0]=v>>24&255,_[1]=v>>16&255,_[2]=v>>8&255,_[3]=255&v,_}(v.kind)),Su("nevent",Ep({0:[(0,Xo.aT)(v.id)],1:(v.relays||[]).map(j=>Ya.encode(j)),2:v.author?[(0,Xo.aT)(v.author)]:[],3:_?[new Uint8Array(_)]:[]}))}function Tu(v){let _=new ArrayBuffer(4);return new DataView(_).setUint32(0,v.kind,!1),Su("naddr",Ep({0:[Ya.encode(v.identifier)],1:(v.relays||[]).map(j=>Ya.encode(j)),2:[(0,Xo.aT)(v.pubkey)],3:[new Uint8Array(_)]}))}function Ep(v){let _=[];return Object.entries(v).reverse().forEach(([D,j])=>{j.forEach(Y=>{let it=new Uint8Array(Y.length+2);it.set([parseInt(D)],0),it.set([Y.length],1),it.set(Y,2),_.push(it)})}),(0,Xo.Id)(..._)}var Cp={};function Dp(v,_,D){return Qi.apply(this,arguments)}function Qi(){return(Qi=(0,a.A)(function*(v,_,D){const j=v instanceof Uint8Array?(0,Xo.My)(v):v,it=Th(xo.getSharedSecret(j,"02"+_));let St=Uint8Array.from((0,Xo.po)(16)),Nt=Ya.encode(D),Xt=qs(it,St).encrypt(Nt);return`${Qr.encode(new Uint8Array(Xt))}?iv=${Qr.encode(new Uint8Array(St.buffer))}`})).apply(this,arguments)}function cf(v,_,D){return Mu.apply(this,arguments)}function Mu(){return(Mu=(0,a.A)(function*(v,_,D){const j=v instanceof Uint8Array?(0,Xo.My)(v):v;let[Y,it]=D.split("?iv="),Nt=Th(xo.getSharedSecret(j,"02"+_)),Xt=Qr.decode(it),_e=Qr.decode(Y),Pe=qs(Nt,Xt).decrypt(_e);return Wo.decode(Pe)})).apply(this,arguments)}function Th(v){return v.slice(1,33)}Io(Cp,{decrypt:()=>cf,encrypt:()=>Dp}),Io({},{NIP05_REGEX:()=>va,isNip05:()=>Pl,isValid:()=>_l,queryProfile:()=>Ou,searchDomain:()=>md,useFetchImplementation:()=>rl});var Iu,va=/^(?:([\w.+-]+)@)?([\w_-]+(\.[\w_-]+)+)$/,Pl=v=>va.test(v||"");try{Iu=fetch}catch{}function rl(v){Iu=v}function md(v){return Mh.apply(this,arguments)}function Mh(){return(Mh=(0,a.A)(function*(v,_=""){try{const D=`https://${v}/.well-known/nostr.json?name=${_}`,j=yield Iu(D,{redirect:"manual"});if(200!==j.status)throw Error("Wrong response code");return(yield j.json()).names}catch{return{}}})).apply(this,arguments)}function Ou(v){return ol.apply(this,arguments)}function ol(){return(ol=(0,a.A)(function*(v){const _=v.match(va);if(!_)return null;const[,D="_",j]=_;try{const Y=`https://${j}/.well-known/nostr.json?name=${D}`,it=yield Iu(Y,{redirect:"manual"});if(200!==it.status)throw Error("Wrong response code");const St=yield it.json(),Nt=St.names[D];return Nt?{pubkey:Nt,relays:St.relays?.[Nt]}:null}catch{return null}})).apply(this,arguments)}function _l(v,_){return Ap.apply(this,arguments)}function Ap(){return(Ap=(0,a.A)(function*(v,_){const D=yield Ou(_);return!!D&&D.pubkey===v})).apply(this,arguments)}function nl(v){const _={reply:void 0,root:void 0,mentions:[],profiles:[],quotes:[]};let D,j;for(let Y=v.tags.length-1;Y>=0;Y--){const it=v.tags[Y];if("e"===it[0]&&it[1]){const[St,Nt,Xt,_e,Pe]=it,Le={id:Nt,relays:Xt?[Xt]:[],author:Pe};if("root"===_e){_.root=Le;continue}if("reply"===_e){_.reply=Le;continue}if("mention"===_e){_.mentions.push(Le);continue}D?j=Le:D=Le,_.mentions.push(Le)}else{if("q"===it[0]&&it[1]){const[St,Nt,Xt]=it;_.quotes.push({id:Nt,relays:Xt?[Xt]:[]})}"p"===it[0]&&it[1]&&_.profiles.push({pubkey:it[1],relays:it[2]?[it[2]]:[]})}}return _.root||(_.root=j||D||_.reply),_.reply||(_.reply=D||_.root),[_.reply,_.root].forEach(Y=>{if(!Y)return;let it=_.mentions.indexOf(Y);if(-1!==it&&_.mentions.splice(it,1),Y.author){let St=_.profiles.find(Nt=>Nt.pubkey===Y.author);St&&St.relays&&(Y.relays||(Y.relays=[]),St.relays.forEach(Nt=>{-1===Y.relays?.indexOf(Nt)&&Y.relays.push(Nt)}),St.relays=Y.relays)}}),_.mentions.forEach(Y=>{if(Y.author){let it=_.profiles.find(St=>St.pubkey===Y.author);it&&it.relays&&(Y.relays||(Y.relays=[]),it.relays.forEach(St=>{-1===Y.relays.indexOf(St)&&Y.relays.push(St)}),it.relays=Y.relays)}}),_}Io({},{parse:()=>nl}),Io({},{fetchRelayInformation:()=>a0,useFetchImplementation:()=>lf});try{fetch}catch{}function lf(v){}function a0(v){return xl.apply(this,arguments)}function xl(){return(xl=(0,a.A)(function*(v){return yield(yield fetch(v.replace("ws://","http://").replace("wss://","https://"),{headers:{Accept:"application/nostr+json"}})).json()})).apply(this,arguments)}function Mp(v){let _=0;for(let D=0;D<64;D+=8){const j=parseInt(v.substring(D,D+8),16);if(0!==j){_+=Math.clz32(j);break}_+=32}return _}function ia(v,_){let D=0;const j=v,Y=["nonce",D.toString(),_.toString()];for(j.tags.push(Y);;){const it=Math.floor((new Date).getTime()/1e3);if(it!==j.created_at&&(D=0,j.created_at=it),Y[1]=(++D).toString(),j.id=Ih(j),Mp(j.id)>=_)break}return j}function Ih(v){return(0,Xo.My)(Sa(Ya.encode(JSON.stringify([0,v.pubkey,v.created_at,v.kind,v.tags,v.content]))))}function df(v,_,D,j){return Js({kind:fs,tags:[...v.tags??[],["e",_.id,D],["p",_.pubkey]],content:""===v.content?"":JSON.stringify(_),created_at:v.created_at},j)}function Oh(v){if(v.kind!==fs)return;let _,D;for(let j=v.tags.length-1;j>=0&&(void 0===_||void 0===D);j--){const Y=v.tags[j];Y.length>=2&&("e"===Y[0]&&void 0===_?_=Y:"p"===Y[0]&&void 0===D&&(D=Y))}return void 0!==_?{id:_[1],relays:[_[2],D?.[2]].filter(j=>"string"==typeof j),author:D?.[1]}:void 0}function Op(v,{skipVerification:_}={}){const D=Oh(v);if(void 0===D||""===v.content)return;let j;try{j=JSON.parse(v.content)}catch{return}return j.id===D.id&&(_||_r(j))?j:void 0}Io({},{fastEventHash:()=>Ih,getPow:()=>Mp,minePow:()=>ia}),Io({},{finishRepostEvent:()=>df,getRepostedEvent:()=>Op,getRepostedEventPointer:()=>Oh}),Io({},{NOSTR_URI_REGEX:()=>wd,parse:()=>uf,test:()=>Rp});var wd=new RegExp(`nostr:(${Yd.source})`);function Rp(v){return"string"==typeof v&&new RegExp(`^${wd.source}$`).test(v)}function uf(v){const _=v.match(new RegExp(`^${wd.source}$`));if(!_)throw new Error(`Invalid Nostr URI: ${v}`);return{uri:_[0],value:_[1],decoded:fd(_[1])}}function Nh(v,_,D){const j=_.tags.filter(Y=>Y.length>=2&&("e"===Y[0]||"p"===Y[0]));return Js({...v,kind:Zc,tags:[...v.tags??[],...j,["e",_.id],["p",_.pubkey]],content:v.content??"+"},D)}function Bm(v){if(v.kind!==Zc)return;let _,D;for(let j=v.tags.length-1;j>=0&&(void 0===_||void 0===D);j--){const Y=v.tags[j];Y.length>=2&&("e"===Y[0]&&void 0===_?_=Y:"p"===Y[0]&&void 0===D&&(D=Y))}return void 0!==_&&void 0!==D?{id:_[1],relays:[_[2],D[2]].filter(j=>void 0!==j),author:D[1]}:void 0}Io({},{finishReactionEvent:()=>Nh,getReactedEventPointer:()=>Bm}),Io({},{matchAll:()=>yd,regex:()=>Jd,replaceAll:()=>Um});var Jd=()=>new RegExp(`\\b${wd.source}\\b`,"g");function*yd(v){const _=v.matchAll(Jd());for(const D of _)try{const[j,Y]=D;yield{uri:j,value:Y,decoded:fd(Y),start:D.index,end:D.index+j.length}}catch{}}function Um(v,_){return v.replaceAll(Jd(),(D,j)=>_({uri:D,value:j,decoded:fd(j)}))}Io({},{channelCreateEvent:()=>Lh,channelHideMessageEvent:()=>_d,channelMessageEvent:()=>$m,channelMetadataEvent:()=>vd,channelMuteUserEvent:()=>El});var Lh=(v,_)=>{let D;if("object"==typeof v.content)D=JSON.stringify(v.content);else{if("string"!=typeof v.content)return;D=v.content}return Js({kind:L,tags:[...v.tags??[]],content:D,created_at:v.created_at},_)},vd=(v,_)=>{let D;if("object"==typeof v.content)D=JSON.stringify(v.content);else{if("string"!=typeof v.content)return;D=v.content}return Js({kind:$,tags:[["e",v.channel_create_event_id],...v.tags??[]],content:D,created_at:v.created_at},_)},$m=(v,_)=>{const D=[["e",v.channel_create_event_id,v.relay_url,"root"]];return v.reply_to_channel_message_event_id&&D.push(["e",v.reply_to_channel_message_event_id,v.relay_url,"reply"]),Js({kind:nt,tags:[...D,...v.tags??[]],content:v.content,created_at:v.created_at},_)},_d=(v,_)=>{let D;if("object"==typeof v.content)D=JSON.stringify(v.content);else{if("string"!=typeof v.content)return;D=v.content}return Js({kind:xt,tags:[["e",v.channel_message_event_id],...v.tags??[]],content:D,created_at:v.created_at},_)},El=(v,_)=>{let D;if("object"==typeof v.content)D=JSON.stringify(v.content);else{if("string"!=typeof v.content)return;D=v.content}return Js({kind:Ut,tags:[["p",v.pubkey_to_mute],...v.tags??[]],content:D,created_at:v.created_at},_)};Io({},{EMOJI_SHORTCODE_REGEX:()=>Np,matchAll:()=>Ph,regex:()=>Nu,replaceAll:()=>tu});var eu,Np=/:(\w+):/,Nu=()=>new RegExp(`\\B${Np.source}\\B`,"g");function*Ph(v){const _=v.matchAll(Nu());for(const D of _)try{const[j,Y]=D;yield{shortcode:j,name:Y,start:D.index,end:D.index+j.length}}catch{}}function tu(v,_){return v.replaceAll(Nu(),(D,j)=>_({shortcode:D,name:j}))}Io({},{useFetchImplementation:()=>Lp,validateGithub:()=>ru});try{eu=fetch}catch{}function Lp(v){eu=v}function ru(v,_,D){return Fl.apply(this,arguments)}function Fl(){return(Fl=(0,a.A)(function*(v,_,D){try{return(yield(yield eu(`https://gist.github.com/${_}/${D}/raw`)).text())===`Verifying that I control the following Nostr public key: ${v}`}catch{return!1}})).apply(this,arguments)}Io({},{decrypt:()=>Up,encrypt:()=>nu,getConversationKey:()=>kd,v2:()=>Bl});var il=1,ou=65535;function kd(v,_){const D=xo.getSharedSecret(v,"02"+_).subarray(1,33);return function Vt(v,_,D){return Ci.hash(v),void 0===D&&(D=new Uint8Array(v.outputLen)),gt(v,(0,Xo.ZJ)(D),(0,Xo.ZJ)(_))}(Sa,D,"nip44-v2")}function Fh(v,_){const D=function nr(v,_,D,j=32){if(Ci.hash(v),Ci.number(j),j>255*v.outputLen)throw new Error("Length should be <= 255*HashLen");const Y=Math.ceil(j/v.outputLen);void 0===D&&(D=pr);const it=new Uint8Array(Y*v.outputLen),St=gt.create(v,_),Nt=St._cloneInto(),Xt=new Uint8Array(St.outputLen);for(let _e=0;_eou)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),_}(D),Y=new Uint8Array(Lu(D)-D);return(0,Xo.Id)(j,_,Y)}(v),Nt=Xc(j,Y,St),Xt=Uh(it,Nt,D);return Qr.encode((0,Xo.Id)(new Uint8Array([2]),D,Nt,Xt))}function Up(v,_){const{nonce:D,ciphertext:j,mac:Y}=function ws(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 D;try{D=Qr.decode(v)}catch(it){throw new Error("invalid base64: "+it.message)}const j=D.length;if(j<99||j>65603)throw new Error("invalid data length: "+j);const Y=D[0];if(2!==Y)throw new Error("unknown encryption version "+Y);return{nonce:D.subarray(1,33),ciphertext:D.subarray(33,-32),mac:D.subarray(-32)}}(v),{chacha_key:it,chacha_nonce:St,hmac_key:Nt}=Fh(_,D);if(!ps(Uh(Nt,j,D),Y))throw new Error("invalid MAC");return function Bh(v){const _=new DataView(v.buffer).getUint16(0),D=v.subarray(2,2+_);if(_ou||D.length!==_||v.length!==2+Lu(_))throw new Error("invalid padding");return Wo.decode(D)}(Xc(it,St,j))}var iu,Bl={utils:{getConversationKey:kd,calcPaddedLen:Lu},encrypt:nu,decrypt:Up};function hf(v){const{pathname:_,searchParams:D}=new URL(v),j=_,Y=D.get("relay"),it=D.get("secret");if(!j||!Y||!it)throw new Error("invalid connection string");return{pubkey:j,relay:Y,secret:it}}function ys(v,_,D){return al.apply(this,arguments)}function al(){return(al=(0,a.A)(function*(v,_,D){const Y=yield Dp(_,v,JSON.stringify({method:"pay_invoice",params:{invoice:D}})),it={kind:qa,created_at:Math.round(Date.now()/1e3),content:Y,tags:[["p",v]]};return Js(it,_)})).apply(this,arguments)}Io({},{makeNwcRequestEvent:()=>ys,parseConnectionString:()=>hf}),Io({},{getZapEndpoint:()=>jp,makeZapReceipt:()=>Vp,makeZapRequest:()=>jh,useFetchImplementation:()=>$h,validateZapRequest:()=>Vh});try{iu=fetch}catch{}function $h(v){iu=v}function jp(v){return Pu.apply(this,arguments)}function Pu(){return(Pu=(0,a.A)(function*(v){try{let _="",{lud06:D,lud16:j}=JSON.parse(v.content);if(D){let{words:St}=lt.decode(D,1e3),Nt=lt.fromWords(St);_=Wo.decode(Nt)}else{if(!j)return null;{let[St,Nt]=j.split("@");_=new URL(`/.well-known/lnurlp/${St}`,`https://${Nt}`).toString()}}let it=yield(yield iu(_)).json();if(it.allowsNostr&&it.nostrPubkey)return it.callback}catch{}return null})).apply(this,arguments)}function jh({profile:v,event:_,amount:D,relays:j,comment:Y=""}){if(!D)throw new Error("amount not given");if(!v)throw new Error("profile not given");let it={kind:9734,created_at:Math.round(Date.now()/1e3),content:Y,tags:[["p",v],["amount",D.toString()],["relays",...j]]};return _&&it.tags.push(["e",_]),it}function Vh(v){let _;try{_=JSON.parse(v)}catch{return"Invalid zap request JSON."}if(!na(_))return"Zap request is not a valid Nostr event.";if(!_r(_))return"Invalid signature on zap request.";let D=_.tags.find(([it,St])=>"p"===it&&St);if(!D)return"Zap request doesn't have a 'p' tag.";if(!D[1].match(/^[a-f0-9]{64}$/))return"Zap request 'p' tag is not valid hex.";let j=_.tags.find(([it,St])=>"e"===it&&St);return j&&!j[1].match(/^[a-f0-9]{64}$/)?"Zap request 'e' tag is not valid hex.":_.tags.find(([it,St])=>"relays"===it&&St)?null:"Zap request doesn't have a 'relays' tag."}function Vp({zapRequest:v,preimage:_,bolt11:D,paidAt:j}){let Y=JSON.parse(v),it=Y.tags.filter(([Nt])=>"e"===Nt||"p"===Nt||"a"===Nt),St={kind:9735,created_at:Math.round(j.getTime()/1e3),content:"",tags:[...it,["P",Y.pubkey],["bolt11",D],["description",v]]};return _&&St.tags.push(["preimage",_]),St}Io({},{createRumor:()=>Fu,createSeal:()=>Bu,createWrap:()=>Uu,unwrapEvent:()=>ff,unwrapManyEvents:()=>Wp,wrapEvent:()=>Ed,wrapManyEvents:()=>zp});var zh=()=>Math.round(Date.now()/1e3),Wh=()=>Math.round(zh()-172800*Math.random()),sl=(v,_)=>kd(v,_),Hp=(v,_,D)=>nu(JSON.stringify(v),sl(_,D)),au=(v,_)=>JSON.parse(Up(v.content,sl(_,v.pubkey)));function Fu(v,_){const D={created_at:zh(),content:"",tags:[],...v,pubkey:ud(_)};return D.id=Yc(D),D}function Bu(v,_,D){return Js({kind:Ec,content:Hp(v,_,D),created_at:Wh(),tags:[]},_)}function Uu(v,_){const D=dd();return Js({kind:Ie,content:Hp(v,D,_),created_at:Wh(),tags:[["p",_]]},D)}function Ed(v,_,D){return Uu(Bu(Fu(v,_),_,D),D)}function zp(v,_,D){if(!D||0===D.length)throw new Error("At least one recipient is required.");const j=ud(_),Y=[Ed(v,_,j)];return D.forEach(it=>{Y.push(Ed(v,_,it))}),Y}function ff(v,_){const D=au(v,_);return au(D,_)}function Wp(v,_){let D=[];return v.forEach(j=>{D.push(ff(j,_))}),D.sort((j,Y)=>j.created_at-Y.created_at),D}Io({},{getToken:()=>Gh,hashPayload:()=>rc,unpackEventFromToken:()=>Xh,validateEvent:()=>Qp,validateEventKind:()=>Xp,validateEventMethodTag:()=>bf,validateEventPayloadTag:()=>Cd,validateEventTimestamp:()=>Yh,validateEventUrlTag:()=>Yp,validateToken:()=>Ul});var Kh="Nostr ";function Gh(v,_,D){return Kp.apply(this,arguments)}function Kp(){return(Kp=(0,a.A)(function*(v,_,D,j=!1,Y){const it={kind:Cc,tags:[["u",v],["method",_]],created_at:Math.round((new Date).getTime()/1e3),content:""};Y&&it.tags.push(["payload",rc(Y)]);const St=yield D(it);return(j?Kh:"")+Qr.encode(Ya.encode(JSON.stringify(St)))})).apply(this,arguments)}function Ul(v,_,D){return $l.apply(this,arguments)}function $l(){return($l=(0,a.A)(function*(v,_,D){const j=yield Xh(v).catch(it=>{throw it});return yield Qp(j,_,D).catch(it=>{throw it})})).apply(this,arguments)}function Xh(v){return Gp.apply(this,arguments)}function Gp(){return(Gp=(0,a.A)(function*(v){if(!v)throw new Error("Missing token");v=v.replace(Kh,"");const _=Wo.decode(Qr.decode(v));if(!_||0===_.length||!_.startsWith("{"))throw new Error("Invalid token");return JSON.parse(_)})).apply(this,arguments)}function Yh(v){return!!v.created_at&&Math.round((new Date).getTime()/1e3)-v.created_at<60}function Xp(v){return v.kind===Cc}function Yp(v,_){const D=v.tags.find(j=>"u"===j[0]);return!!D&&D.length>0&&D[1]===_}function bf(v,_){const D=v.tags.find(j=>"method"===j[0]);return!!D&&D.length>0&&D[1].toLowerCase()===_.toLowerCase()}function rc(v){const _=Sa(Ya.encode(JSON.stringify(v)));return(0,Xo.My)(_)}function Cd(v,_){const D=v.tags.find(Y=>"payload"===Y[0]);if(!D)return!1;const j=rc(_);return D.length>0&&D[1]===j}function Qp(v,_,D,j){return su.apply(this,arguments)}function su(){return(su=(0,a.A)(function*(v,_,D,j){if(!_r(v))throw new Error("Invalid nostr event, signature invalid");if(!Xp(v))throw new Error("Invalid nostr event, kind invalid");if(!Yh(v))throw new Error("Invalid nostr event, created_at timestamp invalid");if(!Yp(v,_))throw new Error("Invalid nostr event, url tag invalid");if(!bf(v,D))throw new Error("Invalid nostr event, method tag invalid");if(j&&"object"==typeof j&&Object.keys(j).length>0&&!Cd(v,j))throw new Error("Invalid nostr event, payload tag does not match request body hash");return!0})).apply(this,arguments)}},3797:(i,s,o)=>{"use strict";o.d(s,{In:()=>X,OS:()=>O,av:()=>P,qT:()=>pt,rV:()=>J}),Symbol("verified");var O=0,P=1,X=3,J=4,pt=7},4704:(i,s,o)=>{"use strict";o.d(s,{Vw:()=>pt,My:()=>T,Id:()=>ct,O8:()=>k,aT:()=>O,po:()=>at,Ow:()=>C,ZJ:()=>ht,ld:()=>It});const n="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,a=st=>st instanceof Uint8Array,k=st=>new DataView(st.buffer,st.byteOffset,st.byteLength),C=(st,vt)=>st<<32-vt|st>>>vt;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");const S=Array.from({length:256},(st,vt)=>vt.toString(16).padStart(2,"0"));function T(st){if(!a(st))throw new Error("Uint8Array expected");let vt="";for(let Pt=0;Ptae+le.length,0));let Pt=0;return st.forEach(ae=>{if(!a(ae))throw new Error("Uint8Array expected");vt.set(ae,Pt),Pt+=ae.length}),vt}class pt{clone(){return this._cloneInto()}}function It(st){const vt=ae=>st().update(ht(ae)).digest(),Pt=st();return vt.outputLen=Pt.outputLen,vt.blockLen=Pt.blockLen,vt.create=()=>st(),vt}function at(st=32){if(n&&"function"==typeof n.getRandomValues)return n.getRandomValues(new Uint8Array(st));throw new Error("crypto.getRandomValues must be defined")}},2661:(i,s,o)=>{"use strict";function n(a,l){this.v=a,this.k=l}o.d(s,{A:()=>n})},3014:(i,s,o)=>{"use strict";function n(l,y,k,C,A,S,T){try{var O=l[S](T),P=O.value}catch(q){return void k(q)}O.done?y(P):Promise.resolve(P).then(C,A)}function a(l){return function(){var y=this,k=arguments;return new Promise(function(C,A){var S=l.apply(y,k);function T(P){n(S,C,A,T,O,"next",P)}function O(P){n(S,C,A,T,O,"throw",P)}T(void 0)})}}o.d(s,{A:()=>a})},5137:(i,s,o)=>{"use strict";o.d(s,{A:()=>a});var n=o(2661);function a(l){return new n.A(l,0)}},9129:(i,s,o)=>{"use strict";o.d(s,{A:()=>a});var n=o(2661);function a(y){return function(){return new l(y.apply(this,arguments))}}function l(y){var k,C;function A(T,O){try{var P=y[T](O),q=P.value,X=q instanceof n.A;Promise.resolve(X?q.v:q).then(function(J){if(X){var ht="return"===T?"return":"next";if(!q.k||J.done)return A(ht,J);J=y[ht](J).value}S(P.done?"return":"normal",J)},function(J){A("throw",J)})}catch(J){S("throw",J)}}function S(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)?A(k.key,k.arg):C=null}this._invoke=function(T,O){return new Promise(function(P,q){var X={key:T,arg:O,resolve:P,reject:q,next:null};C?C=C.next=X:(k=C=X,A(T,O))})},"function"!=typeof y.return&&(this.return=void 0)}l.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},l.prototype.next=function(y){return this._invoke("next",y)},l.prototype.throw=function(y){return this._invoke("throw",y)},l.prototype.return=function(y){return this._invoke("return",y)}},1635:(i,s,o)=>{"use strict";function q(Ht,Bt,Fe,zt){return new(Fe||(Fe=Promise))(function(oe,Oe){function $e(ie){try{wt(zt.next(ie))}catch(Xe){Oe(Xe)}}function Dt(ie){try{wt(zt.throw(ie))}catch(Xe){Oe(Xe)}}function wt(ie){ie.done?oe(ie.value):function Yt(oe){return oe instanceof Fe?oe:new Fe(function(Oe){Oe(oe)})}(ie.value).then($e,Dt)}wt((zt=zt.apply(Ht,Bt||[])).next())})}function yt(Ht){return this instanceof yt?(this.v=Ht,this):new yt(Ht)}function _t(Ht,Bt,Fe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Yt,zt=Fe.apply(Ht,Bt||[]),oe=[];return Yt=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),$e("next"),$e("throw"),$e("return",function Oe(Ke){return function(re){return Promise.resolve(re).then(Ke,Xe)}}),Yt[Symbol.asyncIterator]=function(){return this},Yt;function $e(Ke,re){zt[Ke]&&(Yt[Ke]=function(Ve){return new Promise(function(tr,Tr){oe.push([Ke,Ve,tr,Tr])>1||Dt(Ke,Ve)})},re&&(Yt[Ke]=re(Yt[Ke])))}function Dt(Ke,re){try{!function wt(Ke){Ke.value instanceof yt?Promise.resolve(Ke.value.v).then(ie,Xe):Te(oe[0][2],Ke)}(zt[Ke](re))}catch(Ve){Te(oe[0][3],Ve)}}function ie(Ke){Dt("next",Ke)}function Xe(Ke){Dt("throw",Ke)}function Te(Ke,re){Ke(re),oe.shift(),oe.length&&Dt(oe[0][0],oe[0][1])}}function st(Ht){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Fe,Bt=Ht[Symbol.asyncIterator];return Bt?Bt.call(Ht):(Ht=function ct(Ht){var Bt="function"==typeof Symbol&&Symbol.iterator,Fe=Bt&&Ht[Bt],zt=0;if(Fe)return Fe.call(Ht);if(Ht&&"number"==typeof Ht.length)return{next:function(){return Ht&&zt>=Ht.length&&(Ht=void 0),{value:Ht&&Ht[zt++],done:!Ht}}};throw new TypeError(Bt?"Object is not iterable.":"Symbol.iterator is not defined.")}(Ht),Fe={},zt("next"),zt("throw"),zt("return"),Fe[Symbol.asyncIterator]=function(){return this},Fe);function zt(oe){Fe[oe]=Ht[oe]&&function(Oe){return new Promise(function($e,Dt){!function Yt(oe,Oe,$e,Dt){Promise.resolve(Dt).then(function(wt){oe({value:wt,done:$e})},Oe)}($e,Dt,(Oe=Ht[oe](Oe)).done,Oe.value)})}}}o.d(s,{AQ:()=>_t,N3:()=>yt,sH:()=>q,xN:()=>st}),"function"==typeof SuppressedError&&SuppressedError}},i=>{i(i.s=770)}]); \ No newline at end of file diff --git a/main.476ab4b0579bfade.js b/main.476ab4b0579bfade.js new file mode 100644 index 0000000..844f9a6 --- /dev/null +++ b/main.476ab4b0579bfade.js @@ -0,0 +1 @@ +(self.webpackChunkangor=self.webpackChunkangor||[]).push([[792],{6146:(i,s,o)=>{"use strict";o.d(s,{F:()=>n.F});var n=o(799)},799:(i,s,o)=>{"use strict";o.d(s,{F:()=>ae});let n=(()=>{class le{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 le})(),a=(()=>{class le{static{this.complex="375ms"}static{this.entering="225ms"}static{this.exiting="195ms"}}return le})();var l=o(1204);const st=(le,ve,se,or,fr=`${a.entering} ${n.deceleration}`,yr=`${a.exiting} ${n.acceleration}`)=>(0,l.hZ)(le,[(0,l.wk)("void",(0,l.iF)(ve)),(0,l.wk)("*",(0,l.iF)(se)),(0,l.kY)("void => false, * => false",[]),(0,l.kY)("void => *",(0,l.i0)(or||fr),{params:{timings:fr}}),(0,l.kY)("* => void",(0,l.i0)(or||yr),{params:{timings:yr}})]),ae=[(0,l.hZ)("expandCollapse",[(0,l.wk)("void, collapsed",(0,l.iF)({height:"0"})),(0,l.wk)("*, expanded",(0,l.iF)("*")),(0,l.kY)("void <=> false, collapsed <=> false, expanded <=> false",[]),(0,l.kY)("void <=> *, collapsed <=> expanded",(0,l.i0)("{{timings}}"),{params:{timings:`${a.entering} ${n.deceleration}`}})]),(0,l.hZ)("fadeIn",[(0,l.wk)("void",(0,l.iF)({opacity:0})),(0,l.wk)("*",(0,l.iF)({opacity:1})),(0,l.kY)("void => false",[]),(0,l.kY)("void => *",(0,l.i0)("{{timings}}"),{params:{timings:`${a.entering} ${n.deceleration}`}})]),(0,l.hZ)("fadeInTop",[(0,l.wk)("void",(0,l.iF)({opacity:0,transform:"translate3d(0, -100%, 0)"})),(0,l.wk)("*",(0,l.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,l.kY)("void => false",[]),(0,l.kY)("void => *",(0,l.i0)("{{timings}}"),{params:{timings:`${a.entering} ${n.deceleration}`}})]),(0,l.hZ)("fadeInBottom",[(0,l.wk)("void",(0,l.iF)({opacity:0,transform:"translate3d(0, 100%, 0)"})),(0,l.wk)("*",(0,l.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,l.kY)("void => false",[]),(0,l.kY)("void => *",(0,l.i0)("{{timings}}"),{params:{timings:`${a.entering} ${n.deceleration}`}})]),(0,l.hZ)("fadeInLeft",[(0,l.wk)("void",(0,l.iF)({opacity:0,transform:"translate3d(-100%, 0, 0)"})),(0,l.wk)("*",(0,l.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,l.kY)("void => false",[]),(0,l.kY)("void => *",(0,l.i0)("{{timings}}"),{params:{timings:`${a.entering} ${n.deceleration}`}})]),(0,l.hZ)("fadeInRight",[(0,l.wk)("void",(0,l.iF)({opacity:0,transform:"translate3d(100%, 0, 0)"})),(0,l.wk)("*",(0,l.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,l.kY)("void => false",[]),(0,l.kY)("void => *",(0,l.i0)("{{timings}}"),{params:{timings:`${a.entering} ${n.deceleration}`}})]),(0,l.hZ)("fadeOut",[(0,l.wk)("*",(0,l.iF)({opacity:1})),(0,l.wk)("void",(0,l.iF)({opacity:0})),(0,l.kY)("false => void",[]),(0,l.kY)("* => void",(0,l.i0)("{{timings}}"),{params:{timings:`${a.exiting} ${n.acceleration}`}})]),(0,l.hZ)("fadeOutTop",[(0,l.wk)("*",(0,l.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,l.wk)("void",(0,l.iF)({opacity:0,transform:"translate3d(0, -100%, 0)"})),(0,l.kY)("false => void",[]),(0,l.kY)("* => void",(0,l.i0)("{{timings}}"),{params:{timings:`${a.exiting} ${n.acceleration}`}})]),(0,l.hZ)("fadeOutBottom",[(0,l.wk)("*",(0,l.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,l.wk)("void",(0,l.iF)({opacity:0,transform:"translate3d(0, 100%, 0)"})),(0,l.kY)("false => void",[]),(0,l.kY)("* => void",(0,l.i0)("{{timings}}"),{params:{timings:`${a.exiting} ${n.acceleration}`}})]),(0,l.hZ)("fadeOutLeft",[(0,l.wk)("*",(0,l.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,l.wk)("void",(0,l.iF)({opacity:0,transform:"translate3d(-100%, 0, 0)"})),(0,l.kY)("false => void",[]),(0,l.kY)("* => void",(0,l.i0)("{{timings}}"),{params:{timings:`${a.exiting} ${n.acceleration}`}})]),(0,l.hZ)("fadeOutRight",[(0,l.wk)("*",(0,l.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,l.wk)("void",(0,l.iF)({opacity:0,transform:"translate3d(100%, 0, 0)"})),(0,l.kY)("false => void",[]),(0,l.kY)("* => void",(0,l.i0)("{{timings}}"),{params:{timings:`${a.exiting} ${n.acceleration}`}})]),(0,l.hZ)("shake",[(0,l.kY)("void => false",[]),(0,l.kY)("void => *, * => true",[(0,l.i0)("{{timings}}",(0,l.i7)([(0,l.iF)({transform:"translate3d(0, 0, 0)",offset:0}),(0,l.iF)({transform:"translate3d(-10px, 0, 0)",offset:.1}),(0,l.iF)({transform:"translate3d(10px, 0, 0)",offset:.2}),(0,l.iF)({transform:"translate3d(-10px, 0, 0)",offset:.3}),(0,l.iF)({transform:"translate3d(10px, 0, 0)",offset:.4}),(0,l.iF)({transform:"translate3d(-10px, 0, 0)",offset:.5}),(0,l.iF)({transform:"translate3d(10px, 0, 0)",offset:.6}),(0,l.iF)({transform:"translate3d(-10px, 0, 0)",offset:.7}),(0,l.iF)({transform:"translate3d(10px, 0, 0)",offset:.8}),(0,l.iF)({transform:"translate3d(-10px, 0, 0)",offset:.9}),(0,l.iF)({transform:"translate3d(0, 0, 0)",offset:1})]))],{params:{timings:"0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955)"}})]),(0,l.hZ)("slideInTop",[(0,l.wk)("void",(0,l.iF)({transform:"translate3d(0, -100%, 0)"})),(0,l.wk)("*",(0,l.iF)({transform:"translate3d(0, 0, 0)"})),(0,l.kY)("void => false",[]),(0,l.kY)("void => *",(0,l.i0)("{{timings}}"),{params:{timings:`${a.entering} ${n.deceleration}`}})]),(0,l.hZ)("slideInBottom",[(0,l.wk)("void",(0,l.iF)({transform:"translate3d(0, 100%, 0)"})),(0,l.wk)("*",(0,l.iF)({transform:"translate3d(0, 0, 0)"})),(0,l.kY)("void => false",[]),(0,l.kY)("void => *",(0,l.i0)("{{timings}}"),{params:{timings:`${a.entering} ${n.deceleration}`}})]),(0,l.hZ)("slideInLeft",[(0,l.wk)("void",(0,l.iF)({transform:"translate3d(-100%, 0, 0)"})),(0,l.wk)("*",(0,l.iF)({transform:"translate3d(0, 0, 0)"})),(0,l.kY)("void => false",[]),(0,l.kY)("void => *",(0,l.i0)("{{timings}}"),{params:{timings:`${a.entering} ${n.deceleration}`}})]),(0,l.hZ)("slideInRight",[(0,l.wk)("void",(0,l.iF)({transform:"translate3d(100%, 0, 0)"})),(0,l.wk)("*",(0,l.iF)({transform:"translate3d(0, 0, 0)"})),(0,l.kY)("void => false",[]),(0,l.kY)("void => *",(0,l.i0)("{{timings}}"),{params:{timings:`${a.entering} ${n.deceleration}`}})]),(0,l.hZ)("slideOutTop",[(0,l.wk)("*",(0,l.iF)({transform:"translate3d(0, 0, 0)"})),(0,l.wk)("void",(0,l.iF)({transform:"translate3d(0, -100%, 0)"})),(0,l.kY)("false => void",[]),(0,l.kY)("* => void",(0,l.i0)("{{timings}}"),{params:{timings:`${a.exiting} ${n.acceleration}`}})]),(0,l.hZ)("slideOutBottom",[(0,l.wk)("*",(0,l.iF)({transform:"translate3d(0, 0, 0)"})),(0,l.wk)("void",(0,l.iF)({transform:"translate3d(0, 100%, 0)"})),(0,l.kY)("false => void",[]),(0,l.kY)("* => void",(0,l.i0)("{{timings}}"),{params:{timings:`${a.exiting} ${n.acceleration}`}})]),(0,l.hZ)("slideOutLeft",[(0,l.wk)("*",(0,l.iF)({transform:"translate3d(0, 0, 0)"})),(0,l.wk)("void",(0,l.iF)({transform:"translate3d(-100%, 0, 0)"})),(0,l.kY)("false => void",[]),(0,l.kY)("* => void",(0,l.i0)("{{timings}}"),{params:{timings:`${a.exiting} ${n.acceleration}`}})]),(0,l.hZ)("slideOutRight",[(0,l.wk)("*",(0,l.iF)({transform:"translate3d(0, 0, 0)"})),(0,l.wk)("void",(0,l.iF)({transform:"translate3d(100%, 0, 0)"})),(0,l.kY)("false => void",[]),(0,l.kY)("* => void",(0,l.i0)("{{timings}}"),{params:{timings:`${a.exiting} ${n.acceleration}`}})]),st("zoomIn",{opacity:0,transform:"scale(0.5)"},{opacity:1,transform:"scale(1)"},""),st("zoomOut",{opacity:1,transform:"scale(1)"},{opacity:0,transform:"scale(0.5)"},"")]},3871:(i,s,o)=>{"use strict";o.d(s,{$w:()=>Or,lX:()=>l,Tv:()=>Ds});var n=o(6146),a=o(3107);let l=(()=>{class Z{constructor(){this._componentRegistry=new Map,this._navigationStore=new Map}registerComponent(et,ne){this._componentRegistry.set(et,ne)}deregisterComponent(et){this._componentRegistry.delete(et)}getComponent(et){return this._componentRegistry.get(et)}storeNavigation(et,ne){this._navigationStore.set(et,ne)}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,ne=[]){for(const Ee of et)"basic"===Ee.type?ne.push(Ee):Ee.children&&this.getFlatNavigation(Ee.children,ne);return ne}getItem(et,ne){for(const Ee of ne){if(Ee.id===et)return Ee;if(Ee.children){const Fr=this.getItem(et,Ee.children);if(Fr)return Fr}}return null}getItemParent(et,ne,Ee){for(const Fr of ne){if(Fr.id===et)return Ee;if(Fr.children){const Ir=this.getItemParent(et,Fr.children,Fr);if(Ir)return Ir}}return null}static{this.\u0275fac=function(ne){return new(ne||Z)}}static{this.\u0275prov=a.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"})}}return Z})();var y=o(3939),k=o(7838),C=o(8447),A=o(4460),S=o(3904),T=o(7818),O=o(7712),P=o(8716),q=o(5424);const Y=Z=>({"angor-horizontal-navigation-item-active-forced":Z}),J=Z=>[Z];function ht(Z,qt){1&Z&&a.eu8(0)}function ct(Z,qt){if(1&Z&&(a.j41(0,"div",2),a.DNE(1,ht,1,0,"ng-container",7),a.k0s()),2&Z){let et,ne,Ee,Fr;const Ir=a.XpG(),Hr=a.sdS(9);a.Y8G("ngClass",a.eq3(10,Y,Ir.item.active))("routerLink",a.eq3(12,J,Ir.item.link))("fragment",null!==(et=Ir.item.fragment)&&void 0!==et?et:null)("preserveFragment",null!==(ne=Ir.item.preserveFragment)&&void 0!==ne&&ne)("queryParams",null!==(Ee=Ir.item.queryParams)&&void 0!==Ee?Ee:null)("queryParamsHandling",null!==(Fr=Ir.item.queryParamsHandling)&&void 0!==Fr?Fr:null)("routerLinkActive","angor-horizontal-navigation-item-active")("routerLinkActiveOptions",Ir.isActiveMatchOptions)("matTooltip",Ir.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",Hr)}}function pt(Z,qt){1&Z&&a.eu8(0)}function kt(Z,qt){if(1&Z&&(a.j41(0,"a",3),a.DNE(1,pt,1,0,"ng-container",7),a.k0s()),2&Z){const et=a.XpG(),ne=a.sdS(9);a.Y8G("href",et.item.link,a.B4B)("target",et.item.target||"_self")("matTooltip",et.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",ne)}}function Et(Z,qt){1&Z&&a.eu8(0)}function It(Z,qt){if(1&Z){const et=a.RV6();a.j41(0,"div",8),a.bIt("click",function(){a.eBV(et);const Ee=a.XpG();return a.Njj(Ee.item.function(Ee.item))}),a.DNE(1,Et,1,0,"ng-container",7),a.k0s()}if(2&Z){const et=a.XpG(),ne=a.sdS(9);a.Y8G("ngClass",a.eq3(3,Y,et.item.active))("matTooltip",et.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",ne)}}function yt(Z,qt){1&Z&&a.eu8(0)}function _t(Z,qt){if(1&Z){const et=a.RV6();a.j41(0,"div",9),a.bIt("click",function(){a.eBV(et);const Ee=a.XpG();return a.Njj(Ee.item.function(Ee.item))}),a.DNE(1,yt,1,0,"ng-container",7),a.k0s()}if(2&Z){let et,ne,Ee,Fr;const Ir=a.XpG(),Hr=a.sdS(9);a.Y8G("ngClass",a.eq3(10,Y,Ir.item.active))("routerLink",a.eq3(12,J,Ir.item.link))("fragment",null!==(et=Ir.item.fragment)&&void 0!==et?et:null)("preserveFragment",null!==(ne=Ir.item.preserveFragment)&&void 0!==ne&&ne)("queryParams",null!==(Ee=Ir.item.queryParams)&&void 0!==Ee?Ee:null)("queryParamsHandling",null!==(Fr=Ir.item.queryParamsHandling)&&void 0!==Fr?Fr:null)("routerLinkActive","angor-horizontal-navigation-item-active")("routerLinkActiveOptions",Ir.isActiveMatchOptions)("matTooltip",Ir.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",Hr)}}function at(Z,qt){1&Z&&a.eu8(0)}function st(Z,qt){if(1&Z){const et=a.RV6();a.j41(0,"a",10),a.bIt("click",function(){a.eBV(et);const Ee=a.XpG();return a.Njj(Ee.item.function(Ee.item))}),a.DNE(1,at,1,0,"ng-container",7),a.k0s()}if(2&Z){const et=a.XpG(),ne=a.sdS(9);a.Y8G("href",et.item.link,a.B4B)("target",et.item.target||"_self")("matTooltip",et.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",ne)}}function vt(Z,qt){1&Z&&a.eu8(0)}function Pt(Z,qt){if(1&Z&&(a.j41(0,"div",4),a.DNE(1,vt,1,0,"ng-container",7),a.k0s()),2&Z){const et=a.XpG(),ne=a.sdS(9);a.Y8G("ngClass",a.eq3(3,Y,et.item.active))("matTooltip",et.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",ne)}}function ae(Z,qt){1&Z&&a.eu8(0)}function le(Z,qt){if(1&Z&&(a.j41(0,"div",6),a.DNE(1,ae,1,0,"ng-container",7),a.k0s()),2&Z){a.XpG();const et=a.sdS(9);a.R7$(),a.Y8G("ngTemplateOutlet",et)}}function ve(Z,qt){if(1&Z&&a.nrm(0,"mat-icon",11),2&Z){const et=a.XpG(2);a.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function se(Z,qt){if(1&Z&&(a.j41(0,"div",15)(1,"span",14),a.EFF(2),a.k0s()()),2&Z){const et=a.XpG(2);a.R7$(),a.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),a.R7$(),a.SpI(" ",et.item.subtitle," ")}}function or(Z,qt){if(1&Z&&(a.j41(0,"div",16)(1,"div",17),a.EFF(2),a.k0s()()),2&Z){const et=a.XpG(2);a.R7$(),a.Y8G("ngClass",et.item.badge.classes),a.R7$(),a.SpI(" ",et.item.badge.title," ")}}function fr(Z,qt){if(1&Z&&(a.DNE(0,ve,1,2,"mat-icon",11),a.j41(1,"div",12)(2,"div",13)(3,"span",14),a.EFF(4),a.k0s()(),a.DNE(5,se,3,2,"div",15),a.k0s(),a.DNE(6,or,3,2,"div",16)),2&Z){const et=a.XpG();a.vxM(et.item.icon?0:-1),a.R7$(3),a.Y8G("ngClass",null==et.item.classes?null:et.item.classes.title),a.R7$(),a.SpI(" ",et.item.title," "),a.R7$(),a.vxM(et.item.subtitle?5:-1),a.R7$(),a.vxM(et.item.badge?6:-1)}}let yr=(()=>{class Z{constructor(){this._changeDetectorRef=(0,a.WQX)(a.gRc),this._angorNavigationService=(0,a.WQX)(l),this._angorUtilsService=(0,a.WQX)(y.Q),this.isActiveMatchOptions=this._angorUtilsService.subsetMatchOptions,this._unsubscribeAll=new C.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,q.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(ne){return new(ne||Z)}}static{this.\u0275cmp=a.VBU({type:Z,selectors:[["angor-horizontal-navigation-basic-item"]],inputs:{item:"item",name:"name"},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(ne,Ee){1&ne&&(a.j41(0,"div",1),a.DNE(1,ct,2,14,"div",2)(2,kt,2,4,"a",3)(3,It,2,5,"div",4)(4,_t,2,14,"div",2)(5,st,2,4,"a",5)(6,Pt,2,5,"div",4)(7,le,2,1,"div",6),a.k0s(),a.DNE(8,fr,7,5,"ng-template",null,0,a.C5r)),2&ne&&(a.AVh("angor-horizontal-navigation-item-has-subtitle",!!Ee.item.subtitle),a.Y8G("ngClass",null==Ee.item.classes?null:Ee.item.classes.wrapper),a.R7$(),a.vxM(!Ee.item.link||Ee.item.externalLink||Ee.item.function||Ee.item.disabled?-1:1),a.R7$(),a.vxM(Ee.item.link&&Ee.item.externalLink&&!Ee.item.function&&!Ee.item.disabled?2:-1),a.R7$(),a.vxM(Ee.item.link||!Ee.item.function||Ee.item.disabled?-1:3),a.R7$(),a.vxM(Ee.item.link&&!Ee.item.externalLink&&Ee.item.function&&!Ee.item.disabled?4:-1),a.R7$(),a.vxM(Ee.item.link&&Ee.item.externalLink&&Ee.item.function&&!Ee.item.disabled?5:-1),a.R7$(),a.vxM(Ee.item.link||Ee.item.function||Ee.item.disabled?-1:6),a.R7$(),a.vxM(Ee.item.disabled?7:-1))},dependencies:[A.YU,P.Wk,P.wQ,O.uc,O.oV,A.T3,T.Cn,T.fb,S.m_,S.An],encapsulation:2,changeDetection:0})}}return Z})(),jr=(()=>{class Z{constructor(){this._changeDetectorRef=(0,a.WQX)(a.gRc),this._angorNavigationService=(0,a.WQX)(l),this._unsubscribeAll=new C.B}ngOnInit(){this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorHorizontalNavigationComponent.onRefreshed.pipe((0,q.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(ne){return new(ne||Z)}}static{this.\u0275cmp=a.VBU({type:Z,selectors:[["angor-horizontal-navigation-divider-item"]],inputs:{item:"item",name:"name"},decls:1,vars:1,consts:[[1,"angor-horizontal-navigation-item-wrapper","divider",3,"ngClass"]],template:function(ne,Ee){1&ne&&a.nrm(0,"div",0),2&ne&&a.Y8G("ngClass",null==Ee.item.classes?null:Ee.item.classes.wrapper)},dependencies:[A.YU],encapsulation:2,changeDetection:0})}}return Z})();const wr=["matMenu"],Qt=(Z,qt)=>({"angor-horizontal-navigation-menu-active":Z,"angor-horizontal-navigation-menu-active-forced":qt}),be=Z=>({$implicit:Z}),Ht=(Z,qt)=>({"angor-horizontal-navigation-item-disabled":Z,"angor-horizontal-navigation-item-active-forced":qt});function Bt(Z,qt){1&Z&&a.eu8(0)}function Fe(Z,qt){if(1&Z){const et=a.RV6();a.j41(0,"div",6,2),a.bIt("onMenuOpen",function(){a.eBV(et);const Ee=a.XpG();return a.Njj(Ee.triggerChangeDetection())})("onMenuClose",function(){a.eBV(et);const Ee=a.XpG();return a.Njj(Ee.triggerChangeDetection())}),a.DNE(2,Bt,1,0,"ng-container",7),a.k0s()}if(2&Z){const et=a.sdS(1),ne=a.XpG(),Ee=a.sdS(2),Fr=a.sdS(6);a.Y8G("ngClass",a.l_i(4,Qt,et.menuOpen,ne.item.active))("matMenuTriggerFor",Ee),a.R7$(2),a.Y8G("ngTemplateOutlet",Fr)("ngTemplateOutletContext",a.eq3(7,be,ne.item))}}function zt(Z,qt){if(1&Z&&(a.j41(0,"div",8),a.nrm(1,"angor-horizontal-navigation-basic-item",11),a.k0s()),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("disabled",et.disabled),a.R7$(),a.Y8G("item",et)("name",ne.name)}}function Yt(Z,qt){1&Z&&a.eu8(0)}function oe(Z,qt){if(1&Z&&(a.j41(0,"div",9),a.DNE(1,Yt,1,0,"ng-container",7),a.nrm(2,"angor-horizontal-navigation-branch-item",12,3),a.k0s()),2&Z){const et=a.sdS(3),ne=a.XpG(2).$implicit,Ee=a.XpG(),Fr=a.sdS(6);a.Y8G("disabled",ne.disabled)("matMenuTriggerFor",et.matMenu),a.R7$(),a.Y8G("ngTemplateOutlet",Fr)("ngTemplateOutletContext",a.eq3(7,be,ne)),a.R7$(),a.Y8G("child",!0)("item",ne)("name",Ee.name)}}function Oe(Z,qt){if(1&Z&&(a.j41(0,"div",10),a.nrm(1,"angor-horizontal-navigation-divider-item",11),a.k0s()),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.R7$(),a.Y8G("item",et)("name",ne.name)}}function $e(Z,qt){if(1&Z&&a.DNE(0,zt,2,3,"div",8)(1,oe,4,9,"div",9)(2,Oe,2,2,"div",10),2&Z){const et=a.XpG().$implicit;a.vxM("basic"===et.type?0:-1),a.R7$(),a.vxM("aside"===et.type||"collapsable"===et.type||"group"===et.type?1:-1),a.R7$(),a.vxM("divider"===et.type?2:-1)}}function Dt(Z,qt){if(1&Z&&a.DNE(0,$e,3,3),2&Z){const et=qt.$implicit;a.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function wt(Z,qt){if(1&Z&&a.nrm(0,"mat-icon",15),2&Z){const et=a.XpG().$implicit;a.Y8G("ngClass",null==et.classes?null:et.classes.icon)("svgIcon",et.icon)}}function ie(Z,qt){if(1&Z&&(a.j41(0,"div",19)(1,"span",18),a.EFF(2),a.k0s()()),2&Z){const et=a.XpG().$implicit;a.R7$(),a.Y8G("ngClass",null==et.classes?null:et.classes.subtitle),a.R7$(),a.SpI(" ",et.subtitle," ")}}function Xe(Z,qt){if(1&Z&&(a.j41(0,"div",20)(1,"div",21),a.EFF(2),a.k0s()()),2&Z){const et=a.XpG().$implicit;a.R7$(),a.Y8G("ngClass",et.badge.classes),a.R7$(),a.SpI(" ",et.badge.title," ")}}function Te(Z,qt){if(1&Z&&(a.j41(0,"div",13)(1,"div",14),a.DNE(2,wt,1,2,"mat-icon",15),a.j41(3,"div",16)(4,"div",17)(5,"span",18),a.EFF(6),a.k0s()(),a.DNE(7,ie,3,2,"div",19),a.k0s(),a.DNE(8,Xe,3,2,"div",20),a.k0s()()),2&Z){const et=qt.$implicit;a.AVh("angor-horizontal-navigation-item-has-subtitle",!!et.subtitle),a.Y8G("ngClass",null==et.classes?null:et.classes.wrapper),a.R7$(),a.Y8G("ngClass",a.l_i(10,Ht,et.disabled,et.active))("matTooltip",et.tooltip||""),a.R7$(),a.vxM(et.icon?2:-1),a.R7$(3),a.Y8G("ngClass",null==et.classes?null:et.classes.title),a.R7$(),a.SpI(" ",et.title," "),a.R7$(),a.vxM(et.subtitle?7:-1),a.R7$(),a.vxM(et.badge?8:-1)}}let Ke=(()=>{class Z{constructor(){this._changeDetectorRef=(0,a.WQX)(a.gRc),this._angorNavigationService=(0,a.WQX)(l),this.child=!1,this._unsubscribeAll=new C.B}ngOnInit(){this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorHorizontalNavigationComponent.onRefreshed.pipe((0,q.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}triggerChangeDetection(){this._changeDetectorRef.markForCheck()}trackByFn(et,ne){return ne.id||et}static{this.\u0275fac=function(ne){return new(ne||Z)}}static{this.\u0275cmp=a.VBU({type:Z,selectors:[["angor-horizontal-navigation-branch-item"]],viewQuery:function(ne,Ee){if(1&ne&&a.GBs(wr,7),2&ne){let Fr;a.mGM(Fr=a.lsd())&&(Ee.matMenu=Fr.first)}},inputs:{child:"child",item:"item",name:"name"},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(ne,Ee){1&ne&&(a.DNE(0,Fe,3,9,"div",4),a.j41(1,"mat-menu",5,0),a.Z7z(3,Dt,1,1,null,null,Ee.trackByFn,!0),a.k0s(),a.DNE(5,Te,9,13,"ng-template",null,1,a.C5r)),2&ne&&(a.vxM(Ee.child?-1:0),a.R7$(),a.Y8G("overlapTrigger",!1),a.R7$(2),a.Dyx(Ee.item.children))},dependencies:()=>[Z,A.YU,T.Cn,T.kk,T.fb,T.Cp,A.T3,yr,jr,O.uc,O.oV,S.m_,S.An],encapsulation:2,changeDetection:0})}}return Z})(),re=(()=>{class Z{constructor(){this._changeDetectorRef=(0,a.WQX)(a.gRc),this._angorNavigationService=(0,a.WQX)(l),this._unsubscribeAll=new C.B}ngOnInit(){this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorHorizontalNavigationComponent.onRefreshed.pipe((0,q.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(ne){return new(ne||Z)}}static{this.\u0275cmp=a.VBU({type:Z,selectors:[["angor-horizontal-navigation-spacer-item"]],inputs:{item:"item",name:"name"},decls:1,vars:1,consts:[[1,"angor-horizontal-navigation-item-wrapper",3,"ngClass"]],template:function(ne,Ee){1&ne&&a.nrm(0,"div",0),2&ne&&a.Y8G("ngClass",null==Ee.item.classes?null:Ee.item.classes.wrapper)},dependencies:[A.YU],encapsulation:2,changeDetection:0})}}return Z})();function Ve(Z,qt){if(1&Z&&a.nrm(0,"angor-horizontal-navigation-basic-item",1),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)}}function tr(Z,qt){if(1&Z&&a.nrm(0,"angor-horizontal-navigation-branch-item",1),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)}}function Tr(Z,qt){if(1&Z&&a.nrm(0,"angor-horizontal-navigation-spacer-item",1),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)}}function Wr(Z,qt){if(1&Z&&a.DNE(0,Ve,1,2,"angor-horizontal-navigation-basic-item",1)(1,tr,1,2,"angor-horizontal-navigation-branch-item",1)(2,Tr,1,2,"angor-horizontal-navigation-spacer-item",1),2&Z){const et=a.XpG().$implicit;a.vxM("basic"===et.type?0:-1),a.R7$(),a.vxM("aside"===et.type||"collapsable"===et.type||"group"===et.type?1:-1),a.R7$(),a.vxM("spacer"===et.type?2:-1)}}function Lo(Z,qt){if(1&Z&&a.DNE(0,Wr,3,3),2&Z){const et=qt.$implicit;a.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}let Or=(()=>{class Z{constructor(){this._changeDetectorRef=(0,a.WQX)(a.gRc),this._angorNavigationService=(0,a.WQX)(l),this._angorUtilsService=(0,a.WQX)(y.Q),this.name=this._angorUtilsService.randomId(),this.onRefreshed=new k.m(1),this._unsubscribeAll=new C.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,ne){return ne.id||et}static{this.\u0275fac=function(ne){return new(ne||Z)}}static{this.\u0275cmp=a.VBU({type:Z,selectors:[["angor-horizontal-navigation"]],inputs:{name:"name",navigation:"navigation"},exportAs:["angorHorizontalNavigation"],features:[a.OA$],decls:3,vars:0,consts:[[1,"angor-horizontal-navigation-wrapper"],[1,"angor-horizontal-navigation-menu-item",3,"item","name"]],template:function(ne,Ee){1&ne&&(a.j41(0,"div",0),a.Z7z(1,Lo,1,1,null,null,Ee.trackByFn,!0),a.k0s()),2&ne&&(a.R7$(),a.Dyx(Ee.navigation))},dependencies:[yr,Ke,re],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, 1))!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, 1))!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, 1))!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, 1))!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, 1))!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, 1))!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, 1))!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, 1))!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:n.F},changeDetection:0})}}return Z})();const fo=Z=>({"angor-vertical-navigation-item-active-forced":Z}),cr=Z=>[Z];function Lt(Z,qt){1&Z&&a.eu8(0)}function At(Z,qt){if(1&Z&&(a.j41(0,"a",2),a.DNE(1,Lt,1,0,"ng-container",6),a.k0s()),2&Z){let et,ne,Ee,Fr;const Ir=a.XpG(),Hr=a.sdS(9);a.Y8G("ngClass",a.eq3(10,fo,Ir.item.active))("routerLink",a.eq3(12,cr,Ir.item.link))("fragment",null!==(et=Ir.item.fragment)&&void 0!==et?et:null)("preserveFragment",null!==(ne=Ir.item.preserveFragment)&&void 0!==ne&&ne)("queryParams",null!==(Ee=Ir.item.queryParams)&&void 0!==Ee?Ee:null)("queryParamsHandling",null!==(Fr=Ir.item.queryParamsHandling)&&void 0!==Fr?Fr:null)("routerLinkActive","angor-vertical-navigation-item-active")("routerLinkActiveOptions",Ir.isActiveMatchOptions)("matTooltip",Ir.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",Hr)}}function Zt(Z,qt){1&Z&&a.eu8(0)}function W(Z,qt){if(1&Z&&(a.j41(0,"a",3),a.DNE(1,Zt,1,0,"ng-container",6),a.k0s()),2&Z){const et=a.XpG(),ne=a.sdS(9);a.Y8G("href",et.item.link,a.B4B)("target",et.item.target||"_self")("matTooltip",et.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",ne)}}function N(Z,qt){1&Z&&a.eu8(0)}function z(Z,qt){if(1&Z){const et=a.RV6();a.j41(0,"div",7),a.bIt("click",function(){a.eBV(et);const Ee=a.XpG();return a.Njj(Ee.item.function(Ee.item))}),a.DNE(1,N,1,0,"ng-container",6),a.k0s()}if(2&Z){const et=a.XpG(),ne=a.sdS(9);a.Y8G("ngClass",a.eq3(3,fo,et.item.active))("matTooltip",et.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",ne)}}function Rt(Z,qt){1&Z&&a.eu8(0)}function ue(Z,qt){if(1&Z){const et=a.RV6();a.j41(0,"a",8),a.bIt("click",function(){a.eBV(et);const Ee=a.XpG();return a.Njj(Ee.item.function(Ee.item))}),a.DNE(1,Rt,1,0,"ng-container",6),a.k0s()}if(2&Z){let et,ne,Ee,Fr;const Ir=a.XpG(),Hr=a.sdS(9);a.Y8G("ngClass",a.eq3(10,fo,Ir.item.active))("routerLink",a.eq3(12,cr,Ir.item.link))("fragment",null!==(et=Ir.item.fragment)&&void 0!==et?et:null)("preserveFragment",null!==(ne=Ir.item.preserveFragment)&&void 0!==ne&&ne)("queryParams",null!==(Ee=Ir.item.queryParams)&&void 0!==Ee?Ee:null)("queryParamsHandling",null!==(Fr=Ir.item.queryParamsHandling)&&void 0!==Fr?Fr:null)("routerLinkActive","angor-vertical-navigation-item-active")("routerLinkActiveOptions",Ir.isActiveMatchOptions)("matTooltip",Ir.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",Hr)}}function he(Z,qt){1&Z&&a.eu8(0)}function Se(Z,qt){if(1&Z){const et=a.RV6();a.j41(0,"a",9),a.bIt("click",function(){a.eBV(et);const Ee=a.XpG();return a.Njj(Ee.item.function(Ee.item))}),a.DNE(1,he,1,0,"ng-container",6),a.k0s()}if(2&Z){const et=a.XpG(),ne=a.sdS(9);a.Y8G("href",et.item.link,a.B4B)("target",et.item.target||"_self")("matTooltip",et.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",ne)}}function Sr(Z,qt){1&Z&&a.eu8(0)}function ar(Z,qt){if(1&Z&&(a.j41(0,"div",4),a.DNE(1,Sr,1,0,"ng-container",6),a.k0s()),2&Z){const et=a.XpG(),ne=a.sdS(9);a.Y8G("ngClass",a.eq3(3,fo,et.item.active))("matTooltip",et.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",ne)}}function dr(Z,qt){1&Z&&a.eu8(0)}function Mr(Z,qt){if(1&Z&&(a.j41(0,"div",5),a.DNE(1,dr,1,0,"ng-container",6),a.k0s()),2&Z){const et=a.XpG(),ne=a.sdS(9);a.Y8G("matTooltip",et.item.tooltip||""),a.R7$(),a.Y8G("ngTemplateOutlet",ne)}}function ao(Z,qt){if(1&Z&&a.nrm(0,"mat-icon",10),2&Z){const et=a.XpG(2);a.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function xr(Z,qt){if(1&Z&&(a.j41(0,"div",14)(1,"span",13),a.EFF(2),a.k0s()()),2&Z){const et=a.XpG(2);a.R7$(),a.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),a.R7$(),a.SpI(" ",et.item.subtitle," ")}}function zo(Z,qt){if(1&Z&&(a.j41(0,"div",15)(1,"div",16),a.EFF(2),a.k0s()()),2&Z){const et=a.XpG(2);a.R7$(),a.Y8G("ngClass",et.item.badge.classes),a.R7$(),a.SpI(" ",et.item.badge.title," ")}}function To(Z,qt){if(1&Z&&(a.DNE(0,ao,1,2,"mat-icon",10),a.j41(1,"div",11)(2,"div",12)(3,"span",13),a.EFF(4),a.k0s()(),a.DNE(5,xr,3,2,"div",14),a.k0s(),a.DNE(6,zo,3,2,"div",15)),2&Z){const et=a.XpG();a.vxM(et.item.icon?0:-1),a.R7$(3),a.Y8G("ngClass",null==et.item.classes?null:et.item.classes.title),a.R7$(),a.SpI(" ",et.item.title," "),a.R7$(),a.vxM(et.item.subtitle?5:-1),a.R7$(),a.vxM(et.item.badge?6:-1)}}let Ho=(()=>{class Z{constructor(){this._changeDetectorRef=(0,a.WQX)(a.gRc),this._angorNavigationService=(0,a.WQX)(l),this._angorUtilsService=(0,a.WQX)(y.Q),this.isActiveMatchOptions=this._angorUtilsService.subsetMatchOptions,this._unsubscribeAll=new C.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,q.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(ne){return new(ne||Z)}}static{this.\u0275cmp=a.VBU({type:Z,selectors:[["angor-vertical-navigation-basic-item"]],inputs:{item:"item",name:"name"},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(ne,Ee){1&ne&&(a.j41(0,"div",1),a.DNE(1,At,2,14,"a",2)(2,W,2,4,"a",3)(3,z,2,5,"div",4)(4,ue,2,14,"a",2)(5,Se,2,4,"a",3)(6,ar,2,5,"div",4)(7,Mr,2,2,"div",5),a.k0s(),a.DNE(8,To,7,5,"ng-template",null,0,a.C5r)),2&ne&&(a.AVh("angor-vertical-navigation-item-has-subtitle",!!Ee.item.subtitle),a.Y8G("ngClass",null==Ee.item.classes?null:Ee.item.classes.wrapper),a.R7$(),a.vxM(!Ee.item.link||Ee.item.externalLink||Ee.item.function||Ee.item.disabled?-1:1),a.R7$(),a.vxM(Ee.item.link&&Ee.item.externalLink&&!Ee.item.function&&!Ee.item.disabled?2:-1),a.R7$(),a.vxM(Ee.item.link||!Ee.item.function||Ee.item.disabled?-1:3),a.R7$(),a.vxM(Ee.item.link&&!Ee.item.externalLink&&Ee.item.function&&!Ee.item.disabled?4:-1),a.R7$(),a.vxM(Ee.item.link&&Ee.item.externalLink&&Ee.item.function&&!Ee.item.disabled?5:-1),a.R7$(),a.vxM(Ee.item.link||Ee.item.function||Ee.item.disabled?-1:6),a.R7$(),a.vxM(Ee.item.disabled?7:-1))},dependencies:[A.YU,P.Wk,P.wQ,O.uc,O.oV,A.T3,S.m_,S.An],encapsulation:2,changeDetection:0})}}return Z})(),we=(()=>{class Z{constructor(){this._changeDetectorRef=(0,a.WQX)(a.gRc),this._angorNavigationService=(0,a.WQX)(l),this._unsubscribeAll=new C.B}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,q.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(ne){return new(ne||Z)}}static{this.\u0275cmp=a.VBU({type:Z,selectors:[["angor-vertical-navigation-divider-item"]],inputs:{item:"item",name:"name"},decls:1,vars:1,consts:[[1,"angor-vertical-navigation-item-wrapper","divider",3,"ngClass"]],template:function(ne,Ee){1&ne&&a.nrm(0,"div",0),2&ne&&a.Y8G("ngClass",null==Ee.item.classes?null:Ee.item.classes.wrapper)},dependencies:[A.YU],encapsulation:2,changeDetection:0})}}return Z})(),ze=(()=>{class Z{constructor(){this._changeDetectorRef=(0,a.WQX)(a.gRc),this._angorNavigationService=(0,a.WQX)(l),this._unsubscribeAll=new C.B}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,q.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(ne){return new(ne||Z)}}static{this.\u0275cmp=a.VBU({type:Z,selectors:[["angor-vertical-navigation-spacer-item"]],inputs:{item:"item",name:"name"},decls:1,vars:1,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"]],template:function(ne,Ee){1&ne&&a.nrm(0,"div",0),2&ne&&a.Y8G("ngClass",null==Ee.item.classes?null:Ee.item.classes.wrapper)},dependencies:[A.YU],encapsulation:2,changeDetection:0})}}return Z})();function Mt(Z,qt){if(1&Z&&a.nrm(0,"mat-icon",2),2&Z){const et=a.XpG();a.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function Wt(Z,qt){if(1&Z&&(a.j41(0,"div",6)(1,"span",5),a.EFF(2),a.k0s()()),2&Z){const et=a.XpG();a.R7$(),a.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),a.R7$(),a.SpI(" ",et.item.subtitle," ")}}function $t(Z,qt){if(1&Z&&(a.j41(0,"div",7)(1,"div",8),a.EFF(2),a.k0s()()),2&Z){const et=a.XpG();a.R7$(),a.Y8G("ngClass",et.item.badge.classes),a.R7$(),a.SpI(" ",et.item.badge.title," ")}}function Ce(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-basic-item",9),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)}}function ce(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-collapsable-item",10),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)("autoCollapse",ne.autoCollapse)}}function Be(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-divider-item",9),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)}}function vr(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-group-item",9),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)}}function qr(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-spacer-item",9),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)}}function ko(Z,qt){if(1&Z&&a.DNE(0,Ce,1,2,"angor-vertical-navigation-basic-item",9)(1,ce,1,3,"angor-vertical-navigation-collapsable-item",10)(2,Be,1,2,"angor-vertical-navigation-divider-item",9)(3,vr,1,2,"angor-vertical-navigation-group-item",9)(4,qr,1,2,"angor-vertical-navigation-spacer-item",9),2&Z){const et=a.XpG().$implicit;a.vxM("basic"===et.type?0:-1),a.R7$(),a.vxM("collapsable"===et.type?1:-1),a.R7$(),a.vxM("divider"===et.type?2:-1),a.R7$(),a.vxM("group"===et.type?3:-1),a.R7$(),a.vxM("spacer"===et.type?4:-1)}}function sn(Z,qt){if(1&Z&&a.DNE(0,ko,5,5),2&Z){const et=qt.$implicit;a.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}let hn=(()=>{class Z{constructor(){this._changeDetectorRef=(0,a.WQX)(a.gRc),this._angorNavigationService=(0,a.WQX)(l),this._unsubscribeAll=new C.B}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,q.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}trackByFn(et,ne){return ne.id||et}static{this.\u0275fac=function(ne){return new(ne||Z)}}static{this.\u0275cmp=a.VBU({type:Z,selectors:[["angor-vertical-navigation-group-item"]],inputs:{autoCollapse:"autoCollapse",item:"item",name:"name"},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(ne,Ee){1&ne&&(a.j41(0,"div",0)(1,"div",1),a.DNE(2,Mt,1,2,"mat-icon",2),a.j41(3,"div",3)(4,"div",4)(5,"span",5),a.EFF(6),a.k0s()(),a.DNE(7,Wt,3,2,"div",6),a.k0s(),a.DNE(8,$t,3,2,"div",7),a.k0s()(),a.Z7z(9,sn,1,1,null,null,Ee.trackByFn,!0)),2&ne&&(a.AVh("angor-vertical-navigation-item-has-subtitle",!!Ee.item.subtitle),a.Y8G("ngClass",null==Ee.item.classes?null:Ee.item.classes.wrapper),a.R7$(2),a.vxM(Ee.item.icon?2:-1),a.R7$(3),a.Y8G("ngClass",null==Ee.item.classes?null:Ee.item.classes.title),a.R7$(),a.SpI(" ",Ee.item.title," "),a.R7$(),a.vxM(Ee.item.subtitle?7:-1),a.R7$(),a.vxM(Ee.item.badge?8:-1),a.R7$(),a.Dyx(Ee.item.children))},dependencies:()=>[Z,A.YU,S.m_,S.An,Ho,qi,we,ze],encapsulation:2,changeDetection:0})}}return Z})();var Zn=o(1483);const Je=Z=>({"angor-vertical-navigation-item-disabled":Z});function Ae(Z,qt){if(1&Z&&a.nrm(0,"mat-icon",2),2&Z){const et=a.XpG();a.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function te(Z,qt){if(1&Z&&(a.j41(0,"div",6)(1,"span",5),a.EFF(2),a.k0s()()),2&Z){const et=a.XpG();a.R7$(),a.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),a.R7$(),a.SpI(" ",et.item.subtitle," ")}}function Re(Z,qt){if(1&Z&&(a.j41(0,"div",7)(1,"div",10),a.EFF(2),a.k0s()()),2&Z){const et=a.XpG();a.R7$(),a.Y8G("ngClass",et.item.badge.classes),a.R7$(),a.SpI(" ",et.item.badge.title," ")}}function ir(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-basic-item",11),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG(2);a.Y8G("item",et)("name",ne.name)}}function gr(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-collapsable-item",12),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG(2);a.Y8G("item",et)("name",ne.name)("autoCollapse",ne.autoCollapse)}}function po(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-divider-item",11),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG(2);a.Y8G("item",et)("name",ne.name)}}function ki(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-group-item",11),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG(2);a.Y8G("item",et)("name",ne.name)}}function Ln(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-spacer-item",11),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG(2);a.Y8G("item",et)("name",ne.name)}}function ua(Z,qt){if(1&Z&&a.DNE(0,ir,1,2,"angor-vertical-navigation-basic-item",11)(1,gr,1,3,"angor-vertical-navigation-collapsable-item",12)(2,po,1,2,"angor-vertical-navigation-divider-item",11)(3,ki,1,2,"angor-vertical-navigation-group-item",11)(4,Ln,1,2,"angor-vertical-navigation-spacer-item",11),2&Z){const et=a.XpG().$implicit;a.vxM("basic"===et.type?0:-1),a.R7$(),a.vxM("collapsable"===et.type?1:-1),a.R7$(),a.vxM("divider"===et.type?2:-1),a.R7$(),a.vxM("group"===et.type?3:-1),a.R7$(),a.vxM("spacer"===et.type?4:-1)}}function $i(Z,qt){if(1&Z&&a.DNE(0,ua,5,5),2&Z){const et=qt.$implicit;a.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function cn(Z,qt){if(1&Z&&(a.j41(0,"div",9),a.Z7z(1,$i,1,1,null,null,a.BUC().trackByFn,!0),a.k0s()),2&Z){const et=a.XpG();a.Y8G("@expandCollapse",void 0),a.R7$(),a.Dyx(et.item.children)}}let qi=(()=>{class Z{constructor(){this._changeDetectorRef=(0,a.WQX)(a.gRc),this._router=(0,a.WQX)(P.Ix),this._angorNavigationService=(0,a.WQX)(l),this.isCollapsed=!0,this.isExpanded=!1,this._unsubscribeAll=new C.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,q.Q)(this._unsubscribeAll)).subscribe(et=>{null!==et&&this._isChildrenOf(et,this.item)&&this.collapse()}),this.autoCollapse&&this._angorVerticalNavigationComponent.onCollapsableItemExpanded.pipe((0,q.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,Zn.p)(et=>et instanceof P.wF),(0,q.Q)(this._unsubscribeAll)).subscribe(et=>{this._hasActiveChild(this.item,et.urlAfterRedirects)?this.expand():this.autoCollapse&&this.collapse()}),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,q.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,ne){return ne.id||et}_hasActiveChild(et,ne){const Ee=et.children;if(!Ee)return!1;for(const Fr of Ee)if(Fr.children&&this._hasActiveChild(Fr,ne)||Fr.link&&this._router.isActive(Fr.link,Fr.exactMatch||!1))return!0;return!1}_isChildrenOf(et,ne){const Ee=et.children;if(!Ee)return!1;if(Ee.indexOf(ne)>-1)return!0;for(const Fr of Ee)if(Fr.children&&this._isChildrenOf(Fr,ne))return!0;return!1}static{this.\u0275fac=function(ne){return new(ne||Z)}}static{this.\u0275cmp=a.VBU({type:Z,selectors:[["angor-vertical-navigation-collapsable-item"]],hostVars:2,hostBindings:function(ne,Ee){2&ne&&a.HbH(Ee.classList)},inputs:{autoCollapse:"autoCollapse",item:"item",name:"name"},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(ne,Ee){1&ne&&(a.j41(0,"div",0)(1,"div",1),a.bIt("click",function(){return Ee.toggleCollapsable()}),a.DNE(2,Ae,1,2,"mat-icon",2),a.j41(3,"div",3)(4,"div",4)(5,"span",5),a.EFF(6),a.k0s()(),a.DNE(7,te,3,2,"div",6),a.k0s(),a.DNE(8,Re,3,2,"div",7),a.nrm(9,"mat-icon",8),a.k0s()(),a.DNE(10,cn,3,1,"div",9)),2&ne&&(a.AVh("angor-vertical-navigation-item-has-subtitle",!!Ee.item.subtitle),a.Y8G("ngClass",null==Ee.item.classes?null:Ee.item.classes.wrapper),a.R7$(),a.Y8G("ngClass",a.eq3(12,Je,Ee.item.disabled))("matTooltip",Ee.item.tooltip||""),a.R7$(),a.vxM(Ee.item.icon?2:-1),a.R7$(3),a.Y8G("ngClass",null==Ee.item.classes?null:Ee.item.classes.title),a.R7$(),a.SpI(" ",Ee.item.title," "),a.R7$(),a.vxM(Ee.item.subtitle?7:-1),a.R7$(),a.vxM(Ee.item.badge?8:-1),a.R7$(),a.Y8G("svgIcon","heroicons_solid:chevron-right"),a.R7$(),a.vxM(Ee.isCollapsed?-1:10))},dependencies:()=>[Z,A.YU,O.uc,O.oV,S.m_,S.An,Ho,we,hn,ze],encapsulation:2,data:{animation:n.F},changeDetection:0})}}return Z})();const pi=(Z,qt,et)=>({"angor-vertical-navigation-item-active":Z,"angor-vertical-navigation-item-disabled":qt,"angor-vertical-navigation-item-active-forced":et});function Ji(Z,qt){if(1&Z&&a.nrm(0,"mat-icon",2),2&Z){const et=a.XpG();a.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function Fi(Z,qt){if(1&Z&&(a.j41(0,"div",6)(1,"span",5),a.EFF(2),a.k0s()()),2&Z){const et=a.XpG();a.R7$(),a.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),a.R7$(),a.SpI(" ",et.item.subtitle," ")}}function is(Z,qt){if(1&Z&&(a.j41(0,"div",7)(1,"div",9),a.EFF(2),a.k0s()()),2&Z){const et=a.XpG();a.R7$(),a.Y8G("ngClass",et.item.badge.classes),a.R7$(),a.SpI(" ",et.item.badge.title," ")}}function si(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-basic-item",10),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG(2);a.Y8G("item",et)("name",ne.name)}}function hi(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-collapsable-item",11),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG(2);a.Y8G("item",et)("name",ne.name)("autoCollapse",ne.autoCollapse)}}function On(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-divider-item",10),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG(2);a.Y8G("item",et)("name",ne.name)}}function Mi(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-group-item",10),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG(2);a.Y8G("item",et)("name",ne.name)}}function Jt(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-spacer-item",10),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG(2);a.Y8G("item",et)("name",ne.name)}}function ke(Z,qt){if(1&Z&&a.DNE(0,si,1,2,"angor-vertical-navigation-basic-item",10)(1,hi,1,3,"angor-vertical-navigation-collapsable-item",11)(2,On,1,2,"angor-vertical-navigation-divider-item",10)(3,Mi,1,2,"angor-vertical-navigation-group-item",10)(4,Jt,1,2,"angor-vertical-navigation-spacer-item",10),2&Z){const et=a.XpG().$implicit;a.vxM("basic"===et.type?0:-1),a.R7$(),a.vxM("collapsable"===et.type?1:-1),a.R7$(),a.vxM("divider"===et.type?2:-1),a.R7$(),a.vxM("group"===et.type?3:-1),a.R7$(),a.vxM("spacer"===et.type?4:-1)}}function de(Z,qt){if(1&Z&&a.DNE(0,ke,5,5),2&Z){const et=qt.$implicit;a.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function ft(Z,qt){if(1&Z&&(a.j41(0,"div",8),a.Z7z(1,de,1,1,null,null,a.BUC().trackByFn,!0),a.k0s()),2&Z){const et=a.XpG();a.R7$(),a.Dyx(et.item.children)}}let Gt=(()=>{class Z{constructor(){this._changeDetectorRef=(0,a.WQX)(a.gRc),this._router=(0,a.WQX)(P.Ix),this._angorNavigationService=(0,a.WQX)(l),this.active=!1,this._unsubscribeAll=new C.B}ngOnChanges(et){"activeItemId"in et&&this._markIfActive(this._router.url)}ngOnInit(){this._markIfActive(this._router.url),this._router.events.pipe((0,Zn.p)(et=>et instanceof P.wF),(0,q.Q)(this._unsubscribeAll)).subscribe(et=>{this._markIfActive(et.urlAfterRedirects)}),this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,q.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}trackByFn(et,ne){return ne.id||et}_hasActiveChild(et,ne){const Ee=et.children;if(!Ee)return!1;for(const Fr of Ee){if(Fr.children&&this._hasActiveChild(Fr,ne))return!0;if("basic"===Fr.type&&Fr.link&&this._router.isActive(Fr.link,Fr.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(ne){return new(ne||Z)}}static{this.\u0275cmp=a.VBU({type:Z,selectors:[["angor-vertical-navigation-aside-item"]],inputs:{activeItemId:"activeItemId",autoCollapse:"autoCollapse",item:"item",name:"name",skipChildren:"skipChildren"},features:[a.OA$],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(ne,Ee){1&ne&&(a.j41(0,"div",0)(1,"div",1),a.DNE(2,Ji,1,2,"mat-icon",2),a.j41(3,"div",3)(4,"div",4)(5,"span",5),a.EFF(6),a.k0s()(),a.DNE(7,Fi,3,2,"div",6),a.k0s(),a.DNE(8,is,3,2,"div",7),a.k0s()(),a.DNE(9,ft,3,0,"div",8)),2&ne&&(a.AVh("angor-vertical-navigation-item-has-subtitle",!!Ee.item.subtitle),a.Y8G("ngClass",null==Ee.item.classes?null:Ee.item.classes.wrapper),a.R7$(),a.Y8G("ngClass",a.sMw(11,pi,Ee.active,Ee.item.disabled,Ee.item.active))("matTooltip",Ee.item.tooltip||""),a.R7$(),a.vxM(Ee.item.icon?2:-1),a.R7$(3),a.Y8G("ngClass",null==Ee.item.classes?null:Ee.item.classes.title),a.R7$(),a.SpI(" ",Ee.item.title," "),a.R7$(),a.vxM(Ee.item.subtitle?7:-1),a.R7$(),a.vxM(Ee.item.badge?8:-1),a.R7$(),a.vxM(Ee.skipChildren?-1:9))},dependencies:[A.YU,O.uc,O.oV,S.m_,S.An,Ho,qi,we,hn,ze],encapsulation:2,changeDetection:0})}}return Z})();class Ot{constructor(qt,et,ne,Ee){this.x=qt,this.y=et,this.w=ne,this.h=Ee}}class me{constructor(qt,et){this.x=qt,this.y=et}}var He=o(3022),Me=o(2147),ur=o(4819);function Er(Z){return getComputedStyle(Z)}function kr(Z,qt){for(var et in qt){var ne=qt[et];"number"==typeof ne&&(ne+="px"),Z.style[et]=ne}return Z}function Rr(Z){var qt=document.createElement("div");return qt.className=Z,qt}var $r=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function Jr(Z,qt){if(!$r)throw new Error("No element matching method supported");return $r.call(Z,qt)}function so(Z){Z.remove?Z.remove():Z.parentNode&&Z.parentNode.removeChild(Z)}function xo(Z,qt){return Array.prototype.filter.call(Z.children,function(et){return Jr(et,qt)})}var Eo={main:"ps",rtl:"ps__rtl",element:{thumb:function(Z){return"ps__thumb-"+Z},rail:function(Z){return"ps__rail-"+Z},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(Z){return"ps--active-"+Z},scrolling:function(Z){return"ps--scrolling-"+Z}}},bn={x:null,y:null};function rn(Z,qt){var et=Z.element.classList,ne=Eo.state.scrolling(qt);et.contains(ne)?clearTimeout(bn[qt]):et.add(ne)}function Mn(Z,qt){bn[qt]=setTimeout(function(){return Z.isAlive&&Z.element.classList.remove(Eo.state.scrolling(qt))},Z.settings.scrollingThreshold)}var Qo=function(qt){this.element=qt,this.handlers={}},Fo={isEmpty:{configurable:!0}};Qo.prototype.bind=function(qt,et){typeof this.handlers[qt]>"u"&&(this.handlers[qt]=[]),this.handlers[qt].push(et),this.element.addEventListener(qt,et,!1)},Qo.prototype.unbind=function(qt,et){var ne=this;this.handlers[qt]=this.handlers[qt].filter(function(Ee){return!(!et||Ee===et)||(ne.element.removeEventListener(qt,Ee,!1),!1)})},Qo.prototype.unbindAll=function(){for(var qt in this.handlers)this.unbind(qt)},Fo.isEmpty.get=function(){var Z=this;return Object.keys(this.handlers).every(function(qt){return 0===Z.handlers[qt].length})},Object.defineProperties(Qo.prototype,Fo);var Ei=function(){this.eventElements=[]};function ta(Z){if("function"==typeof window.CustomEvent)return new CustomEvent(Z);var qt=document.createEvent("CustomEvent");return qt.initCustomEvent(Z,!1,!1,void 0),qt}function Wa(Z,qt,et,ne,Ee){var Fr;if(void 0===ne&&(ne=!0),void 0===Ee&&(Ee=!1),"top"===qt)Fr=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==qt)throw new Error("A proper axis should be provided");Fr=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function as(Z,qt,et,ne,Ee){var Fr=et[0],Ir=et[1],Hr=et[2],Qr=et[3],qo=et[4],Wn=et[5];void 0===ne&&(ne=!0),void 0===Ee&&(Ee=!1);var Mo=Z.element;Z.reach[Qr]=null,Mo[Hr]<1&&(Z.reach[Qr]="start"),Mo[Hr]>Z[Fr]-Z[Ir]-1&&(Z.reach[Qr]="end"),qt&&(Mo.dispatchEvent(ta("ps-scroll-"+Qr)),qt<0?Mo.dispatchEvent(ta("ps-scroll-"+qo)):qt>0&&Mo.dispatchEvent(ta("ps-scroll-"+Wn)),ne&&function Ro(Z,qt){rn(Z,qt),Mn(Z,qt)}(Z,Qr)),Z.reach[Qr]&&(qt||Ee)&&Mo.dispatchEvent(ta("ps-"+Qr+"-reach-"+Z.reach[Qr]))}(Z,et,Fr,ne,Ee)}function Pn(Z){return parseInt(Z,10)||0}Ei.prototype.eventElement=function(qt){var et=this.eventElements.filter(function(ne){return ne.element===qt})[0];return et||(et=new Qo(qt),this.eventElements.push(et)),et},Ei.prototype.bind=function(qt,et,ne){this.eventElement(qt).bind(et,ne)},Ei.prototype.unbind=function(qt,et,ne){var Ee=this.eventElement(qt);Ee.unbind(et,ne),Ee.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(Ee),1)},Ei.prototype.unbindAll=function(){this.eventElements.forEach(function(qt){return qt.unbindAll()}),this.eventElements=[]},Ei.prototype.once=function(qt,et,ne){var Ee=this.eventElement(qt),Fr=function(Ir){Ee.unbind(et,Fr),ne(Ir)};Ee.bind(et,Fr)};var Ka={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 Ii(Z){var qt=Z.element,et=Math.floor(qt.scrollTop),ne=qt.getBoundingClientRect();Z.containerWidth=Math.floor(ne.width),Z.containerHeight=Math.floor(ne.height),Z.contentWidth=qt.scrollWidth,Z.contentHeight=qt.scrollHeight,qt.contains(Z.scrollbarXRail)||(xo(qt,Eo.element.rail("x")).forEach(function(Ee){return so(Ee)}),qt.appendChild(Z.scrollbarXRail)),qt.contains(Z.scrollbarYRail)||(xo(qt,Eo.element.rail("y")).forEach(function(Ee){return so(Ee)}),qt.appendChild(Z.scrollbarYRail)),!Z.settings.suppressScrollX&&Z.containerWidth+Z.settings.scrollXMarginOffset=Z.railXWidth-Z.scrollbarXWidth&&(Z.scrollbarXLeft=Z.railXWidth-Z.scrollbarXWidth),Z.scrollbarYTop>=Z.railYHeight-Z.scrollbarYHeight&&(Z.scrollbarYTop=Z.railYHeight-Z.scrollbarYHeight),function Ri(Z,qt){var et={width:qt.railXWidth},ne=Math.floor(Z.scrollTop);et.left=qt.isRtl?qt.negativeScrollAdjustment+Z.scrollLeft+qt.containerWidth-qt.contentWidth:Z.scrollLeft,qt.isScrollbarXUsingBottom?et.bottom=qt.scrollbarXBottom-ne:et.top=qt.scrollbarXTop+ne,kr(qt.scrollbarXRail,et);var Ee={top:ne,height:qt.railYHeight};qt.isScrollbarYUsingRight?Ee.right=qt.isRtl?qt.contentWidth-(qt.negativeScrollAdjustment+Z.scrollLeft)-qt.scrollbarYRight-qt.scrollbarYOuterWidth-9:qt.scrollbarYRight-Z.scrollLeft:Ee.left=qt.isRtl?qt.negativeScrollAdjustment+Z.scrollLeft+2*qt.containerWidth-qt.contentWidth-qt.scrollbarYLeft-qt.scrollbarYOuterWidth:qt.scrollbarYLeft+Z.scrollLeft,kr(qt.scrollbarYRail,Ee),kr(qt.scrollbarX,{left:qt.scrollbarXLeft,width:qt.scrollbarXWidth-qt.railBorderXWidth}),kr(qt.scrollbarY,{top:qt.scrollbarYTop,height:qt.scrollbarYHeight-qt.railBorderYWidth})}(qt,Z),Z.scrollbarXActive?qt.classList.add(Eo.state.active("x")):(qt.classList.remove(Eo.state.active("x")),Z.scrollbarXWidth=0,Z.scrollbarXLeft=0,qt.scrollLeft=!0===Z.isRtl?Z.contentWidth:0),Z.scrollbarYActive?qt.classList.add(Eo.state.active("y")):(qt.classList.remove(Eo.state.active("y")),Z.scrollbarYHeight=0,Z.scrollbarYTop=0,qt.scrollTop=0)}function Ea(Z,qt){return Z.settings.minScrollbarLength&&(qt=Math.max(qt,Z.settings.minScrollbarLength)),Z.settings.maxScrollbarLength&&(qt=Math.min(qt,Z.settings.maxScrollbarLength)),qt}var Ki=null;function Gi(Z,qt){var et=qt[0],ne=qt[1],Ee=qt[2],Fr=qt[3],Ir=qt[4],Hr=qt[5],Qr=qt[6],qo=qt[7],Wn=qt[8],Mo=Z.element,gn=null,Ko=null,pn=null;function Fn(Hi){Hi.touches&&Hi.touches[0]&&(Hi[Ee]=Hi.touches[0]["page"+qo.toUpperCase()]),Ki===Ir&&(Mo[Qr]=gn+pn*(Hi[Ee]-Ko),rn(Z,qo),Ii(Z),Hi.stopPropagation(),Hi.preventDefault())}function Oi(){Mn(Z,qo),Z[Wn].classList.remove(Eo.state.clicking),document.removeEventListener("mousemove",Fn),document.removeEventListener("mouseup",Oi),document.removeEventListener("touchmove",Fn),document.removeEventListener("touchend",Oi),Ki=null}function ji(Hi){null===Ki&&(Ki=Ir,gn=Mo[Qr],Hi.touches&&(Hi[Ee]=Hi.touches[0]["page"+qo.toUpperCase()]),Ko=Hi[Ee],pn=(Z[ne]-Z[et])/(Z[Fr]-Z[Hr]),Hi.touches?(document.addEventListener("touchmove",Fn,{passive:!1}),document.addEventListener("touchend",Oi)):(document.addEventListener("mousemove",Fn),document.addEventListener("mouseup",Oi)),Z[Wn].classList.add(Eo.state.clicking)),Hi.stopPropagation(),Hi.cancelable&&Hi.preventDefault()}Z[Ir].addEventListener("mousedown",ji),Z[Ir].addEventListener("touchstart",ji)}var ni={"click-rail":function pa(Z){Z.event.bind(Z.scrollbarY,"mousedown",function(qt){return qt.stopPropagation()}),Z.event.bind(Z.scrollbarYRail,"mousedown",function(qt){var et=qt.pageY-window.pageYOffset-Z.scrollbarYRail.getBoundingClientRect().top;Z.element.scrollTop+=(et>Z.scrollbarYTop?1:-1)*Z.containerHeight,Ii(Z),qt.stopPropagation()}),Z.event.bind(Z.scrollbarX,"mousedown",function(qt){return qt.stopPropagation()}),Z.event.bind(Z.scrollbarXRail,"mousedown",function(qt){var et=qt.pageX-window.pageXOffset-Z.scrollbarXRail.getBoundingClientRect().left;Z.element.scrollLeft+=(et>Z.scrollbarXLeft?1:-1)*Z.containerWidth,Ii(Z),qt.stopPropagation()})},"drag-thumb":function gi(Z){Gi(Z,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"]),Gi(Z,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"])},keyboard:function Ra(Z){var qt=Z.element;Z.event.bind(Z.ownerDocument,"keydown",function(Fr){if(!(Fr.isDefaultPrevented&&Fr.isDefaultPrevented()||Fr.defaultPrevented)&&(Jr(qt,":hover")||Jr(Z.scrollbarX,":focus")||Jr(Z.scrollbarY,":focus"))){var Ir=document.activeElement?document.activeElement:Z.ownerDocument.activeElement;if(Ir){if("IFRAME"===Ir.tagName)Ir=Ir.contentDocument.activeElement;else for(;Ir.shadowRoot;)Ir=Ir.shadowRoot.activeElement;if(function _n(Z){return Jr(Z,"input,[contenteditable]")||Jr(Z,"select,[contenteditable]")||Jr(Z,"textarea,[contenteditable]")||Jr(Z,"button,[contenteditable]")}(Ir))return}var Hr=0,Qr=0;switch(Fr.which){case 37:Hr=Fr.metaKey?-Z.contentWidth:Fr.altKey?-Z.containerWidth:-30;break;case 38:Qr=Fr.metaKey?Z.contentHeight:Fr.altKey?Z.containerHeight:30;break;case 39:Hr=Fr.metaKey?Z.contentWidth:Fr.altKey?Z.containerWidth:30;break;case 40:Qr=Fr.metaKey?-Z.contentHeight:Fr.altKey?-Z.containerHeight:-30;break;case 32:Qr=Fr.shiftKey?Z.containerHeight:-Z.containerHeight;break;case 33:Qr=Z.containerHeight;break;case 34:Qr=-Z.containerHeight;break;case 36:Qr=Z.contentHeight;break;case 35:Qr=-Z.contentHeight;break;default:return}Z.settings.suppressScrollX&&0!==Hr||Z.settings.suppressScrollY&&0!==Qr||(qt.scrollTop-=Qr,qt.scrollLeft+=Hr,Ii(Z),function Ee(Fr,Ir){var Hr=Math.floor(qt.scrollTop);if(0===Fr){if(!Z.scrollbarYActive)return!1;if(0===Hr&&Ir>0||Hr>=Z.contentHeight-Z.containerHeight&&Ir<0)return!Z.settings.wheelPropagation}var Qr=qt.scrollLeft;if(0===Ir){if(!Z.scrollbarXActive)return!1;if(0===Qr&&Fr<0||Qr>=Z.contentWidth-Z.containerWidth&&Fr>0)return!Z.settings.wheelPropagation}return!0}(Hr,Qr)&&Fr.preventDefault())}})},wheel:function Xo(Z){var qt=Z.element;function Fr(Ir){var Hr=function ne(Ir){var Hr=Ir.deltaX,Qr=-1*Ir.deltaY;return(typeof Hr>"u"||typeof Qr>"u")&&(Hr=-1*Ir.wheelDeltaX/6,Qr=Ir.wheelDeltaY/6),Ir.deltaMode&&1===Ir.deltaMode&&(Hr*=10,Qr*=10),Hr!=Hr&&Qr!=Qr&&(Hr=0,Qr=Ir.wheelDelta),Ir.shiftKey?[-Qr,-Hr]:[Hr,Qr]}(Ir),Qr=Hr[0],qo=Hr[1];if(!function Ee(Ir,Hr,Qr){if(!Ka.isWebKit&&qt.querySelector("select:focus"))return!0;if(!qt.contains(Ir))return!1;for(var qo=Ir;qo&&qo!==qt;){if(qo.classList.contains(Eo.element.consuming))return!0;var Wn=Er(qo);if(Qr&&Wn.overflowY.match(/(scroll|auto)/)){var Mo=qo.scrollHeight-qo.clientHeight;if(Mo>0&&(qo.scrollTop>0&&Qr<0||qo.scrollTop0))return!0}if(Hr&&Wn.overflowX.match(/(scroll|auto)/)){var gn=qo.scrollWidth-qo.clientWidth;if(gn>0&&(qo.scrollLeft>0&&Hr<0||qo.scrollLeft0))return!0}qo=qo.parentNode}return!1}(Ir.target,Qr,qo)){var Wn=!1;Z.settings.useBothWheelAxes?Z.scrollbarYActive&&!Z.scrollbarXActive?(qo?qt.scrollTop-=qo*Z.settings.wheelSpeed:qt.scrollTop+=Qr*Z.settings.wheelSpeed,Wn=!0):Z.scrollbarXActive&&!Z.scrollbarYActive&&(Qr?qt.scrollLeft+=Qr*Z.settings.wheelSpeed:qt.scrollLeft-=qo*Z.settings.wheelSpeed,Wn=!0):(qt.scrollTop-=qo*Z.settings.wheelSpeed,qt.scrollLeft+=Qr*Z.settings.wheelSpeed),Ii(Z),Wn=Wn||function et(Ir,Hr){var Qr=Math.floor(qt.scrollTop),qo=0===qt.scrollTop,Wn=Qr+qt.offsetHeight===qt.scrollHeight,Mo=0===qt.scrollLeft,gn=qt.scrollLeft+qt.offsetWidth===qt.scrollWidth;return!(Math.abs(Hr)>Math.abs(Ir)?qo||Wn:Mo||gn)||!Z.settings.wheelPropagation}(Qr,qo),Wn&&!Ir.ctrlKey&&(Ir.stopPropagation(),Ir.preventDefault())}}typeof window.onwheel<"u"?Z.event.bind(qt,"wheel",Fr):typeof window.onmousewheel<"u"&&Z.event.bind(qt,"mousewheel",Fr)},touch:function Ca(Z){if(Ka.supportsTouch||Ka.supportsIePointer){var qt=Z.element,et={startOffset:{},startTime:0,speed:{},easingLoop:null};Ka.supportsTouch?(Z.event.bind(qt,"touchstart",Hr),Z.event.bind(qt,"touchmove",qo),Z.event.bind(qt,"touchend",Wn)):Ka.supportsIePointer&&(window.PointerEvent?(Z.event.bind(qt,"pointerdown",Hr),Z.event.bind(qt,"pointermove",qo),Z.event.bind(qt,"pointerup",Wn)):window.MSPointerEvent&&(Z.event.bind(qt,"MSPointerDown",Hr),Z.event.bind(qt,"MSPointerMove",qo),Z.event.bind(qt,"MSPointerUp",Wn)))}function Ee(Mo,gn){qt.scrollTop-=gn,qt.scrollLeft-=Mo,Ii(Z)}function Fr(Mo){return Mo.targetTouches?Mo.targetTouches[0]:Mo}function Ir(Mo){return!(Mo.target===Z.scrollbarX||Mo.target===Z.scrollbarY||Mo.pointerType&&"pen"===Mo.pointerType&&0===Mo.buttons||!(Mo.targetTouches&&1===Mo.targetTouches.length||Mo.pointerType&&"mouse"!==Mo.pointerType&&Mo.pointerType!==Mo.MSPOINTER_TYPE_MOUSE))}function Hr(Mo){if(Ir(Mo)){var gn=Fr(Mo);et.startOffset.pageX=gn.pageX,et.startOffset.pageY=gn.pageY,et.startTime=(new Date).getTime(),null!==et.easingLoop&&clearInterval(et.easingLoop)}}function qo(Mo){if(Ir(Mo)){var gn=Fr(Mo),Ko={pageX:gn.pageX,pageY:gn.pageY},pn=Ko.pageX-et.startOffset.pageX,Fn=Ko.pageY-et.startOffset.pageY;if(function Qr(Mo,gn,Ko){if(!qt.contains(Mo))return!1;for(var pn=Mo;pn&&pn!==qt;){if(pn.classList.contains(Eo.element.consuming))return!0;var Fn=Er(pn);if(Ko&&Fn.overflowY.match(/(scroll|auto)/)){var Oi=pn.scrollHeight-pn.clientHeight;if(Oi>0&&(pn.scrollTop>0&&Ko<0||pn.scrollTop0))return!0}if(gn&&Fn.overflowX.match(/(scroll|auto)/)){var ji=pn.scrollWidth-pn.clientWidth;if(ji>0&&(pn.scrollLeft>0&&gn<0||pn.scrollLeft0))return!0}pn=pn.parentNode}return!1}(Mo.target,pn,Fn))return;Ee(pn,Fn),et.startOffset=Ko;var Oi=(new Date).getTime(),ji=Oi-et.startTime;ji>0&&(et.speed.x=pn/ji,et.speed.y=Fn/ji,et.startTime=Oi),function ne(Mo,gn){var Ko=Math.floor(qt.scrollTop),pn=qt.scrollLeft,Fn=Math.abs(Mo),Oi=Math.abs(gn);if(Oi>Fn){if(gn<0&&Ko===Z.contentHeight-Z.containerHeight||gn>0&&0===Ko)return 0===window.scrollY&&gn>0&&Ka.isChrome}else if(Fn>Oi&&(Mo<0&&pn===Z.contentWidth-Z.containerWidth||Mo>0&&0===pn))return!0;return!0}(pn,Fn)&&Mo.cancelable&&Mo.preventDefault()}}function Wn(){Z.settings.swipeEasing&&(clearInterval(et.easingLoop),et.easingLoop=setInterval(function(){Z.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):(Ee(30*et.speed.x,30*et.speed.y),et.speed.x*=.8,et.speed.y*=.8):clearInterval(et.easingLoop)},10))}}},ha=function(qt,et){var ne=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 Ee in this.element=qt,qt.classList.add(Eo.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[Ee]=et[Ee];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var Wn,qo,Fr=function(){return qt.classList.add(Eo.state.focus)},Ir=function(){return qt.classList.remove(Eo.state.focus)};this.isRtl="rtl"===Er(qt).direction,!0===this.isRtl&&qt.classList.add(Eo.rtl),this.isNegativeScroll=(qo=qt.scrollLeft,qt.scrollLeft=-1,Wn=qt.scrollLeft<0,qt.scrollLeft=qo,Wn),this.negativeScrollAdjustment=this.isNegativeScroll?qt.scrollWidth-qt.clientWidth:0,this.event=new Ei,this.ownerDocument=qt.ownerDocument||document,this.scrollbarXRail=Rr(Eo.element.rail("x")),qt.appendChild(this.scrollbarXRail),this.scrollbarX=Rr(Eo.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",Fr),this.event.bind(this.scrollbarX,"blur",Ir),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var Hr=Er(this.scrollbarXRail);this.scrollbarXBottom=parseInt(Hr.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=Pn(Hr.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=Pn(Hr.borderLeftWidth)+Pn(Hr.borderRightWidth),kr(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=Pn(Hr.marginLeft)+Pn(Hr.marginRight),kr(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=Rr(Eo.element.rail("y")),qt.appendChild(this.scrollbarYRail),this.scrollbarY=Rr(Eo.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",Fr),this.event.bind(this.scrollbarY,"blur",Ir),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var Qr=Er(this.scrollbarYRail);this.scrollbarYRight=parseInt(Qr.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=Pn(Qr.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function ss(Z){var qt=Er(Z);return Pn(qt.width)+Pn(qt.paddingLeft)+Pn(qt.paddingRight)+Pn(qt.borderLeftWidth)+Pn(qt.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=Pn(Qr.borderTopWidth)+Pn(Qr.borderBottomWidth),kr(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=Pn(Qr.marginTop)+Pn(Qr.marginBottom),kr(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(qo){return ni[qo](ne)}),this.lastScrollTop=Math.floor(qt.scrollTop),this.lastScrollLeft=qt.scrollLeft,this.event.bind(this.element,"scroll",function(qo){return ne.onScroll(qo)}),Ii(this)};ha.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,kr(this.scrollbarXRail,{display:"block"}),kr(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=Pn(Er(this.scrollbarXRail).marginLeft)+Pn(Er(this.scrollbarXRail).marginRight),this.railYMarginHeight=Pn(Er(this.scrollbarYRail).marginTop)+Pn(Er(this.scrollbarYRail).marginBottom),kr(this.scrollbarXRail,{display:"none"}),kr(this.scrollbarYRail,{display:"none"}),Ii(this),Wa(this,"top",0,!1,!0),Wa(this,"left",0,!1,!0),kr(this.scrollbarXRail,{display:""}),kr(this.scrollbarYRail,{display:""}))},ha.prototype.onScroll=function(qt){this.isAlive&&(Ii(this),Wa(this,"top",this.element.scrollTop-this.lastScrollTop),Wa(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},ha.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),so(this.scrollbarX),so(this.scrollbarY),so(this.scrollbarXRail),so(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},ha.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(qt){return!qt.match(/^ps([-_].+|)$/)}).join(" ")};const Xi=ha;var Qs=o(909),mi=o(8627);let Ci=(()=>{class Z{constructor(){this._elementRef=(0,a.WQX)(a.aKT),this._platform=(0,a.WQX)(Me.OD),this.angorScrollbar=!0,this._ps=null,this._unsubscribeAll=new C.B}get elementRef(){return this._elementRef}get ps(){return this._ps}ngOnChanges(et){"angorScrollbar"in et&&(this.angorScrollbar=(0,He.he)(et.angorScrollbar.currentValue),this.angorScrollbar?this._initScrollbar():this._destroyScrollbar()),"angorScrollbarOptions"in et&&(this._options=(0,ur.A)({},this._options,et.angorScrollbarOptions.currentValue),this._reinitializeScrollbar())}ngOnInit(){(0,Qs.R)(window,"resize").pipe((0,q.Q)(this._unsubscribeAll),(0,mi.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 Ot(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 me(this._ps.reach.x||0,this._ps.reach.y||0):new me(this._elementRef.nativeElement.scrollLeft,this._elementRef.nativeElement.scrollTop)}scrollTo(et,ne,Ee){null==ne&&null==Ee?this.animateScrolling("scrollTop",et,Ee):(null!=et&&this.scrollToX(et,Ee),null!=ne&&this.scrollToY(ne,Ee))}scrollToX(et,ne){this.animateScrolling("scrollLeft",et,ne)}scrollToY(et,ne){this.animateScrolling("scrollTop",et,ne)}scrollToTop(et=0,ne){this.animateScrolling("scrollTop",et,ne)}scrollToBottom(et=0,ne){this.animateScrolling("scrollTop",this._elementRef.nativeElement.scrollHeight-this._elementRef.nativeElement.clientHeight-et,ne)}scrollToLeft(et=0,ne){this.animateScrolling("scrollLeft",et,ne)}scrollToRight(et=0,ne){this.animateScrolling("scrollLeft",this._elementRef.nativeElement.scrollWidth-this._elementRef.nativeElement.clientWidth-et,ne)}scrollToElement(et,ne=0,Ee=!1,Fr){const Ir=this._elementRef.nativeElement.querySelector(et);if(!Ir)return;const Hr=Ir.getBoundingClientRect(),Qr=this._elementRef.nativeElement.getBoundingClientRect();this._elementRef.nativeElement.classList.contains("ps--active-x")&&this._scrollToInAxis(Hr.left,Qr.left,"scrollLeft",ne,Ee,Fr),this._elementRef.nativeElement.classList.contains("ps--active-y")&&this._scrollToInAxis(Hr.top,Qr.top,"scrollTop",ne,Ee,Fr)}animateScrolling(et,ne,Ee){this._animation&&window.cancelAnimationFrame(this._animation),!Ee||typeof window>"u"?this._elementRef.nativeElement[et]=ne:ne!==this._elementRef.nativeElement[et]&&this._smoothScroll(et,ne,Ee)}_initScrollbar(){this._ps||this._platform.ANDROID||this._platform.IOS||!this._platform.isBrowser||(this._ps=new Xi(this._elementRef.nativeElement,{...this._options}))}_destroyScrollbar(){this._ps?.destroy(),this._ps=null}_reinitializeScrollbar(){setTimeout(()=>this._destroyScrollbar()),setTimeout(()=>this._initScrollbar())}_scrollToInAxis(et,ne,Ee,Fr,Ir,Hr){Ir&&et<=ne-Math.abs(Fr)||this.animateScrolling(Ee,et-ne+this._elementRef.nativeElement[Ee]+Fr,Hr)}_smoothScroll(et,ne,Ee){let Fr=0,Ir=this._elementRef.nativeElement[et];const Hr=(Ir-ne)/2;let Qr=performance.now();const qo=Wn=>{Fr+=Math.PI/(Ee/(Wn-Qr));const Mo=Math.round(ne+Hr+Hr*Math.cos(Fr));this._elementRef.nativeElement[et]===Ir&&(Fr>=Math.PI?this.animateScrolling(et,ne,0):(this._elementRef.nativeElement[et]=Mo,Ir=this._elementRef.nativeElement[et],Qr=Wn,this._animation=window.requestAnimationFrame(qo)))};window.requestAnimationFrame(qo)}static{this.\u0275fac=function(ne){return new(ne||Z)}}static{this.\u0275dir=a.FsC({type:Z,selectors:[["","angorScrollbar",""]],inputs:{angorScrollbar:"angorScrollbar",angorScrollbarOptions:"angorScrollbarOptions"},exportAs:["angorScrollbar"],features:[a.OA$]})}}return Z})();var co=o(1204),Da=o(9666),Ga=o(7509),ma=o(8136);const cs=["navigationContent"],ca=[[["","angorVerticalNavigationHeader",""]],[["","angorVerticalNavigationContentHeader",""]],[["","angorVerticalNavigationFooter",""]]],Vn=["[angorVerticalNavigationHeader]","[angorVerticalNavigationContentHeader]","[angorVerticalNavigationFooter]"],cc=Z=>({wheelPropagation:Z,suppressScrollX:!0}),ls=()=>({wheelPropagation:!1,suppressScrollX:!0});function Sa(Z,qt){if(1&Z){const et=a.RV6();a.j41(0,"angor-vertical-navigation-aside-item",10),a.bIt("click",function(){a.eBV(et);const Ee=a.XpG(2).$implicit,Fr=a.XpG();return a.Njj(Fr.toggleAside(Ee))}),a.k0s()}if(2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)("activeItemId",ne.activeAsideItemId)("autoCollapse",ne.autoCollapse)("skipChildren",!0)}}function Aa(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-basic-item",8),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)}}function Na(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-collapsable-item",9),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)("autoCollapse",ne.autoCollapse)}}function Di(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-divider-item",8),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)}}function Bi(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-group-item",9),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)("autoCollapse",ne.autoCollapse)}}function ci(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-spacer-item",8),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG();a.Y8G("item",et)("name",ne.name)}}function ga(Z,qt){if(1&Z&&a.DNE(0,Sa,1,5,"angor-vertical-navigation-aside-item",7)(1,Aa,1,2,"angor-vertical-navigation-basic-item",8)(2,Na,1,3,"angor-vertical-navigation-collapsable-item",9)(3,Di,1,2,"angor-vertical-navigation-divider-item",8)(4,Bi,1,3,"angor-vertical-navigation-group-item",9)(5,ci,1,2,"angor-vertical-navigation-spacer-item",8),2&Z){const et=a.XpG().$implicit;a.vxM("aside"===et.type?0:-1),a.R7$(),a.vxM("basic"===et.type?1:-1),a.R7$(),a.vxM("collapsable"===et.type?2:-1),a.R7$(),a.vxM("divider"===et.type?3:-1),a.R7$(),a.vxM("group"===et.type?4:-1),a.R7$(),a.vxM("spacer"===et.type?5:-1)}}function Cs(Z,qt){if(1&Z&&a.DNE(0,ga,6,6),2&Z){const et=qt.$implicit;a.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function Ta(Z,qt){if(1&Z&&a.nrm(0,"angor-vertical-navigation-aside-item",9),2&Z){const et=a.XpG(2).$implicit,ne=a.XpG(2);a.Y8G("item",et)("name",ne.name)("autoCollapse",ne.autoCollapse)}}function Ua(Z,qt){if(1&Z&&a.DNE(0,Ta,1,3,"angor-vertical-navigation-aside-item",9),2&Z){const et=a.XpG().$implicit,ne=a.XpG(2);a.vxM("aside"===et.type&&et.id===ne.activeAsideItemId?0:-1)}}function ds(Z,qt){if(1&Z&&a.DNE(0,Ua,1,1),2&Z){const et=qt.$implicit;a.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function Bs(Z,qt){if(1&Z&&(a.j41(0,"div",6),a.Z7z(1,ds,1,1,null,null,a.BUC().trackByFn,!0),a.k0s()),2&Z){const et=a.XpG();a.Y8G("angorScrollbarOptions",a.lJ4(5,ls))("@fadeInLeft","left"===et.position)("@fadeInRight","right"===et.position)("@fadeOutLeft","left"===et.position)("@fadeOutRight","right"===et.position),a.R7$(),a.Dyx(et.navigation)}}let Ds=(()=>{class Z{constructor(){this._animationBuilder=(0,a.WQX)(co.S6),this._changeDetectorRef=(0,a.WQX)(a.gRc),this._document=(0,a.WQX)(A.qQ),this._elementRef=(0,a.WQX)(a.aKT),this._renderer2=(0,a.WQX)(a.sFG),this._router=(0,a.WQX)(P.Ix),this._scrollStrategyOptions=(0,a.WQX)(Da.Tv),this._angorNavigationService=(0,a.WQX)(l),this._angorUtilsService=(0,a.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 a.bkB,this.modeChanged=new a.bkB,this.openedChanged=new a.bkB,this.positionChanged=new a.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 C.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,Ga.h)(this.onCollapsableItemCollapsed,this.onCollapsableItemExpanded).pipe((0,q.Q)(this._unsubscribeAll),(0,ma.c)(250)).subscribe(()=>{et.forEach(ne=>{ne.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,He.he)(et.inner.currentValue)),"mode"in et){const ne=et.mode.currentValue,Ee=et.mode.previousValue;this._disableAnimations(),"over"===Ee&&"side"===ne&&this._hideOverlay(),"side"===Ee&&"over"===ne&&(this.closeAside(),this.opened&&this._showOverlay()),this.modeChanged.next(ne),setTimeout(()=>{this._enableAnimations()},500)}"navigation"in et&&this._changeDetectorRef.markForCheck(),"opened"in et&&(this.opened=(0,He.he)(et.opened.currentValue),this._toggleOpened(this.opened)),"position"in et&&this.positionChanged.next(et.position.currentValue),"transparentOverlay"in et&&(this.transparentOverlay=(0,He.he)(et.transparentOverlay.currentValue))}ngOnInit(){""===this.name&&(this.name=this._angorUtilsService.randomId()),this._angorNavigationService.registerComponent(this.name,this),this._router.events.pipe((0,Zn.p)(et=>et instanceof P.wF),(0,q.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(ne=>{const Ee=ne.target;if("class"===ne.attributeName)if(Ee.classList.contains("cdk-global-scrollblock")){const Fr=parseInt(Ee.style.top,10);this._renderer2.setStyle(this._elementRef.nativeElement,"margin-top",`${Math.abs(Fr)}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,ne){return ne.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,co.i0)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",(0,co.iF)({opacity:1}))]).create(this._overlay),this._player.play(),this._overlay.addEventListener("click",this._handleOverlayClick))}_hideOverlay(){this._overlay&&(this._player=this._animationBuilder.build([(0,co.i0)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",(0,co.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,co.i0)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",(0,co.iF)({opacity:1}))]).create(this._asideOverlay),this._player.play(),this._asideOverlay.addEventListener("click",this._handleAsideOverlayClick))}_hideAsideOverlay(){this._asideOverlay&&(this._player=this._animationBuilder.build([(0,co.i0)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",(0,co.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(ne){return new(ne||Z)}}static{this.\u0275cmp=a.VBU({type:Z,selectors:[["angor-vertical-navigation"]],viewQuery:function(ne,Ee){if(1&ne&&(a.GBs(cs,5),a.GBs(Ci,5)),2&ne){let Fr;a.mGM(Fr=a.lsd())&&(Ee._navigationContentEl=Fr.first),a.mGM(Fr=a.lsd())&&(Ee.angorScrollbarDirectives=Fr)}},hostVars:4,hostBindings:function(ne,Ee){1&ne&&a.bIt("mouseenter",function(){return Ee._onMouseenter()})("mouseleave",function(){return Ee._onMouseleave()}),2&ne&&(a.Aen(Ee.styleList),a.HbH(Ee.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"],features:[a.OA$],ngContentSelectors:Vn,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(ne,Ee){1&ne&&(a.NAR(ca),a.j41(0,"div",1)(1,"div",2),a.SdG(2),a.k0s(),a.j41(3,"div",3,0)(5,"div",4),a.SdG(6,1),a.k0s(),a.Z7z(7,Cs,1,1,null,null,Ee.trackByFn,!0),a.k0s(),a.j41(9,"div",5),a.SdG(10,2),a.k0s()(),a.DNE(11,Bs,3,6,"div",6)),2&ne&&(a.R7$(3),a.Y8G("angorScrollbarOptions",a.eq3(2,cc,Ee.inner)),a.R7$(4),a.Dyx(Ee.navigation),a.R7$(4),a.vxM(Ee.activeAsideItemId?11:-1))},dependencies:[Ci,Gt,Ho,qi,we,hn,ze],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, 1));--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, 1));--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, 1));--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, 1));--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, 1));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, 1))}: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:n.F},changeDetection:0})}}return Z})()},7891:(i,s,o)=>{"use strict";o.d(s,{t:()=>a});const a=new(o(3107).nKC)("ANGOR_APP_CONFIG")},1109:(i,s,o)=>{"use strict";o.d(s,{P:()=>k});var n=o(7891),a=o(3107),l=o(4819),y=o(1217);let k=(()=>{class C{constructor(){this._defaultConfig=(0,a.WQX)(n.t),this._configSubject=new y.t(this._defaultConfig)}get config$(){return this._configSubject.asObservable()}set config(S){const T=(0,l.A)({},this._configSubject.getValue(),S);this._configSubject.next(T)}reset(){this._configSubject.next(this._defaultConfig)}static{this.\u0275fac=function(T){return new(T||C)}}static{this.\u0275prov=a.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}}return C})()},7153:(i,s,o)=>{"use strict";o.d(s,{m:()=>pt});var n=o(4460),a=o(3107),l=o(9471),y=o(7544),k=o(3904);const C=(kt,Et,It,yt,_t,at,st,vt)=>({"bg-primary-100 text-primary-600 dark:bg-primary-600 dark:text-primary-50":kt,"bg-accent-100 text-accent-600 dark:bg-accent-600 dark:text-accent-50":Et,"bg-warn-100 text-warn-600 dark:bg-warn-600 dark:text-warn-50":It,"bg-gray-100 text-gray-600 dark:bg-gray-600 dark:text-gray-50":yt,"bg-blue-100 text-blue-600 dark:bg-blue-600 dark:text-blue-50":_t,"bg-green-100 text-green-500 dark:bg-green-500 dark:text-green-50":at,"bg-amber-100 text-amber-500 dark:bg-amber-500 dark:text-amber-50":st,"bg-red-100 text-red-600 dark:bg-red-600 dark:text-red-50":vt});function A(kt,Et){1&kt&&(a.j41(0,"div",1)(1,"button",6),a.nrm(2,"mat-icon",7),a.k0s()()),2&kt&&(a.R7$(),a.Y8G("matDialogClose",void 0),a.R7$(),a.Y8G("svgIcon","heroicons_outline:x-mark"))}function S(kt,Et){if(1&kt&&(a.j41(0,"div",3),a.nrm(1,"mat-icon",8),a.k0s()),2&kt){const It=a.XpG();a.Y8G("ngClass",a.lV(2,C,"primary"===It.data.icon.color,"accent"===It.data.icon.color,"warn"===It.data.icon.color,"basic"===It.data.icon.color,"info"===It.data.icon.color,"success"===It.data.icon.color,"warning"===It.data.icon.color,"error"===It.data.icon.color)),a.R7$(),a.Y8G("svgIcon",It.data.icon.name)}}function T(kt,Et){if(1&kt&&a.nrm(0,"div",9),2&kt){const It=a.XpG(2);a.Y8G("innerHTML",It.data.title,a.npT)}}function O(kt,Et){if(1&kt&&a.nrm(0,"div",10),2&kt){const It=a.XpG(2);a.Y8G("innerHTML",It.data.message,a.npT)}}function P(kt,Et){if(1&kt&&(a.j41(0,"div",4),a.DNE(1,T,1,1,"div",9)(2,O,1,1,"div",10),a.k0s()),2&kt){const It=a.XpG();a.R7$(),a.vxM(It.data.title?1:-1),a.R7$(),a.vxM(It.data.message?2:-1)}}function q(kt,Et){if(1&kt&&(a.j41(0,"button",11),a.EFF(1),a.k0s()),2&kt){const It=a.XpG(2);a.Y8G("matDialogClose","cancelled"),a.R7$(),a.SpI(" ",It.data.actions.cancel.label," ")}}function Y(kt,Et){if(1&kt&&(a.j41(0,"button",12),a.EFF(1),a.k0s()),2&kt){const It=a.XpG(2);a.Y8G("color",It.data.actions.confirm.color)("matDialogClose","confirmed"),a.R7$(),a.SpI(" ",It.data.actions.confirm.label," ")}}function J(kt,Et){if(1&kt&&(a.j41(0,"div",5),a.DNE(1,q,2,2,"button",11)(2,Y,2,3,"button",12),a.k0s()),2&kt){const It=a.XpG();a.R7$(),a.vxM(It.data.actions.cancel.show?1:-1),a.R7$(),a.vxM(It.data.actions.confirm.show?2:-1)}}let ht=(()=>{class kt{constructor(){this.data=(0,a.WQX)(y.Vh)}static{this.\u0275fac=function(yt){return new(yt||kt)}}static{this.\u0275cmp=a.VBU({type:kt,selectors:[["angor-confirmation-dialog"]],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(yt,_t){1&yt&&(a.j41(0,"div",0),a.DNE(1,A,3,2,"div",1),a.j41(2,"div",2),a.DNE(3,S,2,11,"div",3)(4,P,3,2,"div",4),a.k0s(),a.DNE(5,J,3,2,"div",5),a.k0s()),2&yt&&(a.R7$(),a.vxM(_t.data.dismissible?1:-1),a.R7$(2),a.vxM(_t.data.icon.show?3:-1),a.R7$(),a.vxM(_t.data.title||_t.data.message?4:-1),a.R7$(),a.vxM(_t.data.actions.confirm.show||_t.data.actions.cancel.show?5:-1))},dependencies:[l.Hl,l.$z,l.iY,y.hM,y.tx,k.m_,k.An,n.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 kt})();var ct=o(4819);let pt=(()=>{class kt{constructor(){this._matDialog=(0,a.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(It={}){const yt=(0,ct.A)({},this._defaultConfig,It);return this._matDialog.open(ht,{autoFocus:!1,disableClose:!yt.dismissible,data:yt,panelClass:"angor-confirmation-dialog-panel"})}static{this.\u0275fac=function(yt){return new(yt||kt)}}static{this.\u0275prov=a.jDH({token:kt,factory:kt.\u0275fac,providedIn:"root"})}}return kt})()},2012:(i,s,o)=>{"use strict";o.d(s,{l:()=>S});var n=o(1109),a=o(6520),l=o(3107),y=o(6143),k=o(7838),C=o(7947),A=o(2867);let S=(()=>{class T{constructor(){this._breakpointObserver=(0,l.WQX)(a.QP),this._angorConfigService=(0,l.WQX)(n.P),this._onMediaChange=new k.m(1),this._angorConfigService.config$.pipe((0,C.T)(P=>(0,y.A)(Object.entries(P.screens).map(([q,Y])=>[q,`(min-width: ${Y})`]))),(0,A.n)(P=>this._breakpointObserver.observe(Object.values(P)).pipe((0,C.T)(q=>{const Y=[],J={},ht=Object.entries(q.breakpoints).filter(([ct,pt])=>pt)??[];for(const[ct]of ht){const pt=Object.entries(P).find(([kt,Et])=>Et===ct)[0];pt&&(Y.push(pt),J[pt]=ct)}this._onMediaChange.next({matchingAliases:Y,matchingQueries:J})})))).subscribe()}get onMediaChange$(){return this._onMediaChange.asObservable()}onMediaQueryChange$(P){return this._breakpointObserver.observe(P)}static{this.\u0275fac=function(q){return new(q||T)}}static{this.\u0275prov=l.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}}return T})()},3939:(i,s,o)=>{"use strict";o.d(s,{Q:()=>a});var n=o(3107);let a=(()=>{class l{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 A="";for(let S=0;S<10;S++)A+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return A}static{this.\u0275fac=function(C){return new(C||l)}}static{this.\u0275prov=n.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}}return l})()},4482:(i,s,o)=>{"use strict";o.d(s,{v:()=>y});var n=o(4143),a=o(8447),l=o(3107);let y=(()=>{class k{constructor(){this.publicKeySubject=new a.B,this.previousPublicKey=null,this.initializeNostrLogin(),this.setupEventListeners()}initializeNostrLogin(){(0,n.Ts)({theme:"ocean",noBanner:!0,title:"Angor Hub",onAuth:(A,S)=>{this.handleAuthSuccess(A,S)}})}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(A){const{type:S,pubkey:T,options:O}=A.detail;switch(S){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:",S)}this.previousPublicKey&&this.previousPublicKey!==T&&(console.log("Account switched to:",T),this.handleAccountSwitch(T,O)),this.previousPublicKey=T}handleAuthSuccess(A,S){console.log("Authenticated successfully with public key:",A),this.publicKeySubject.next(A)}handleSignupSuccess(A,S){console.log("Signup successful with public key:",A),this.publicKeySubject.next(A)}handleAccountSwitch(A,S){console.log("Account switched to:",A),this.publicKeySubject.next(A),window.location.reload()}handleLogout(){console.log("Logged out"),this.publicKeySubject.next("")}handleNlDarkModeEvent(A){const S=A.detail;console.log("Dark mode changed to:",S?"enabled":"disabled"),this.updateDarkMode(S)}handleNlLaunchEvent(A){const S=A.detail||"welcome";console.log(`Launching Nostr login screen: ${S}`),this.launchScreen(S)}launchScreen(A){(0,n.ql)(A)}updateDarkMode(A){document.body.classList.toggle("dark-mode",A),console.log("Dark mode is now "+(A?"enabled":"disabled"))}getPublicKeyObservable(){return this.publicKeySubject.asObservable()}launchWelcomeScreen(){(0,n.ql)("welcome")}launchSignupScreen(){(0,n.ql)("welcome-signup")}launchLoginScreen(){(0,n.ql)("welcome-login")}switchAccount(){document.dispatchEvent(new CustomEvent("nlLaunch",{detail:"switch-account"}))}logout(){document.dispatchEvent(new Event("nlLogout"))}toggleDarkMode(A){document.dispatchEvent(new CustomEvent("nlDarkMode",{detail:A}))}static{this.\u0275fac=function(S){return new(S||k)}}static{this.\u0275prov=l.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}}return k})()},3125:(i,s,o)=>{"use strict";o.d(s,{b:()=>A});var n=o(3014),a=o(3107),l=o(5492),y=o(1217),k=o(8447),C=o(4460);let A=(()=>{class S{constructor(O,P){this.document=O,this.platformId=P,this.pool=new l.lo,this.relays=[],this.maxRetries=10,this.retryDelay=15e3,this.eventSubject=new y.t(null),this.relaysSubject=new y.t([]),this.destroy$=new k.B,this.initializeRelays(),this.setupVisibilityHandling()}initializeRelays(){this.relays=this.loadRelaysFromLocalStorage(),this.connectToRelays(),this.relaysSubject.next(this.relays)}loadRelaysFromLocalStorage(){const O=JSON.parse(localStorage.getItem("nostrRelays")||"[]");return O.length>0?O.map(q=>({...q,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://nos.lol",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 O=this.relays.map(P=>({url:P.url,accessType:P.accessType,connected:P.connected,retries:P.retries,retryTimeout:P.retryTimeout}));localStorage.setItem("nostrRelays",JSON.stringify(O)),this.relaysSubject.next(this.relays)}connectToRelay(O){O.connected||(O.ws=new WebSocket(O.url),O.ws.onopen=()=>{O.connected=!0,O.retries=0,clearTimeout(O.retryTimeout),this.saveRelaysToLocalStorage()},O.ws.onerror=()=>this.handleRelayError(O),O.ws.onclose=()=>{O.connected=!1,this.handleRelayError(O)},O.ws.onmessage=({data:P})=>{try{const q=JSON.parse("string"==typeof P?P:P.toString("utf-8"));this.eventSubject.next(q)}catch(q){console.warn("Error parsing WebSocket message:",q)}})}handleRelayError(O){O.retries>=this.maxRetries?console.warn(`Max retries reached for relay: ${O.url}. No further attempts will be made.`):(O.retries++,O.retryTimeout=setTimeout(()=>this.connectToRelay(O),this.retryDelay*O.retries))}connectToRelays(){this.relays.forEach(O=>!O.connected&&this.connectToRelay(O))}ensureConnectedRelays(){var O=this;return(0,n.A)(function*(){return O.connectToRelays(),new Promise(P=>{const q=setInterval(()=>{O.getConnectedRelays().length>0&&(clearInterval(q),P())},1e3)})})()}setupVisibilityHandling(){(0,C.UE)(this.platformId)&&(this.document.addEventListener("visibilitychange",()=>{"visible"===this.document.visibilityState&&this.connectToRelays()}),window.addEventListener("beforeunload",()=>{this.relays.forEach(O=>O.ws?.close())}))}getConnectedRelays(){return this.relays.filter(O=>O.connected).map(O=>O.url)}getRelays(){return this.relaysSubject.asObservable()}publishEventToWriteRelays(O){var P=this;return(0,n.A)(function*(){const q=P.relays.filter(Y=>["write","read-write"].includes(Y.accessType)&&Y.connected);if(!q.length)throw new Error("No connected write relays available");try{return yield Promise.any(q.map(Y=>P.pool.publish([Y.url],O))),P.eventSubject.next(O),O}catch(Y){throw console.error("Failed to publish event to relays:",Y),Y}})()}addRelay(O,P="read-write"){if(!this.relays.some(q=>q.url===O)){const q={url:O,connected:!1,retries:0,retryTimeout:null,accessType:P};this.relays.push(q),this.connectToRelay(q),this.saveRelaysToLocalStorage()}}removeRelay(O){const P=this.relays.find(q=>q.url===O);P&&(P.ws?.close(),clearTimeout(P.retryTimeout)),this.relays=this.relays.filter(q=>q.url!==O),this.saveRelaysToLocalStorage()}removeAllCustomRelays(){const O=["wss://relay.angor.io","wss://relay2.angor.io"];this.relays.forEach(P=>{O.includes(P.url)||(P.ws?.close(),clearTimeout(P.retryTimeout))}),this.relays=this.relays.filter(P=>O.includes(P.url)),this.saveRelaysToLocalStorage()}updateRelayAccessType(O,P){const q=this.relays.find(Y=>Y.url===O);q&&(q.accessType=P,this.saveRelaysToLocalStorage())}getPool(){return this.pool}getEventStream(){return this.eventSubject.asObservable()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.relays.forEach(O=>O.ws?.close())}static{this.\u0275fac=function(P){return new(P||S)(a.KVO(C.qQ,8),a.KVO(a.Agw))}}static{this.\u0275prov=a.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}}return S})()},8078:(i,s,o)=>{"use strict";o.d(s,{A:()=>vu});var n={};o.r(n),o.d(n,{OG:()=>Xa,My:()=>ps,Ph:()=>ii,lX:()=>Pr,Id:()=>ai,fg:()=>bi,qj:()=>Qn,aT:()=>zi,lq:()=>Ao,z:()=>Rn,Q5:()=>Va});var a=o(3014),l=o(8378),y=o(2226),k=o(871),C=o(5492);function T(I){if(!Number.isSafeInteger(I)||I<0)throw new Error(`Wrong positive integer: ${I}`)}function q(I,...L){if(!function P(I){return I instanceof Uint8Array||null!=I&&"object"==typeof I&&"Uint8Array"===I.constructor.name}(I))throw new Error("Expected Uint8Array");if(L.length>0&&!L.includes(I.length))throw new Error(`Expected Uint8Array of length ${L}, not of length=${I.length}`)}function Y(I){if("function"!=typeof I||"function"!=typeof I.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");T(I.outputLen),T(I.blockLen)}function J(I,L=!0){if(I.destroyed)throw new Error("Hash instance has been destroyed");if(L&&I.finished)throw new Error("Hash#digest() has already been called")}o(4704),"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");const yt=I=>new DataView(I.buffer,I.byteOffset,I.byteLength);if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function yr(I){if("string"==typeof I&&(I=function fr(I){if("string"!=typeof I)throw new Error("utf8ToBytes expected string, got "+typeof I);return new Uint8Array((new TextEncoder).encode(I))}(I)),!function It(I){return I instanceof Uint8Array||null!=I&&"object"==typeof I&&"Uint8Array"===I.constructor.name}(I))throw new Error("expected Uint8Array, got "+typeof I);return I}class wr{clone(){return this._cloneInto()}}const Qt={}.toString;function Ht(I){const L=nt=>I().update(yr(nt)).digest(),$=I();return L.outputLen=$.outputLen,L.blockLen=$.blockLen,L.create=()=>I(),L}class Yt extends wr{constructor(L,$){super(),this.finished=!1,this.destroyed=!1,Y(L);const nt=yr($);if(this.iHash=L.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 xt=this.blockLen,Ut=new Uint8Array(xt);Ut.set(nt.length>xt?L.create().update(nt).digest():nt);for(let pe=0;penew Yt(I,L).update($).digest();oe.create=(I,L)=>new Yt(I,L);class Te extends wr{constructor(L,$,nt,xt){super(),this.blockLen=L,this.outputLen=$,this.padOffset=nt,this.isLE=xt,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(L),this.view=yt(this.buffer)}update(L){J(this);const{view:$,buffer:nt,blockLen:xt}=this,Ut=(L=yr(L)).length;for(let pe=0;pext-pe&&(this.process(nt,0),pe=0);for(let Qe=pe;Qe>xt&Ut),Ie=Number($&Ut),sr=nt?0:4;I.setUint32(L+(nt?4:0),pe,nt),I.setUint32(L+sr,Ie,nt)})(nt,xt-8,BigInt(8*this.length),Ut),this.process(nt,0);const Ie=yt(L),We=this.outputLen;if(We%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const sr=We/4,Cr=this.get();if(sr>Cr.length)throw new Error("_sha2: outputLen bigger than state");for(let Qe=0;Qe>re&Ke)}:{h:0|Number(I>>re&Ke),l:0|Number(I&Ke)}}const xr_split=function tr(I,L=!1){let $=new Uint32Array(I.length),nt=new Uint32Array(I.length);for(let xt=0;xtI>>>$,xr_shrSL=(I,L,$)=>I<<32-$|L>>>$,xr_rotrSH=(I,L,$)=>I>>>$|L<<32-$,xr_rotrSL=(I,L,$)=>I<<32-$|L>>>$,xr_rotrBH=(I,L,$)=>I<<64-$|L>>>$-32,xr_rotrBL=(I,L,$)=>I>>>$-32|L<<64-$,xr_add=function ue(I,L,$,nt){const xt=(L>>>0)+(nt>>>0);return{h:I+$+(xt/2**32|0)|0,l:0|xt}},xr_add3L=(I,L,$)=>(I>>>0)+(L>>>0)+($>>>0),xr_add3H=(I,L,$,nt)=>L+$+nt+(I/2**32|0)|0,xr_add4L=(I,L,$,nt)=>(I>>>0)+(L>>>0)+($>>>0)+(nt>>>0),xr_add4H=(I,L,$,nt,xt)=>L+$+nt+xt+(I/2**32|0)|0,xr_add5H=(I,L,$,nt,xt,Ut)=>L+$+nt+xt+Ut+(I/2**32|0)|0,xr_add5L=(I,L,$,nt,xt)=>(I>>>0)+(L>>>0)+($>>>0)+(nt>>>0)+(xt>>>0),[zo,To]=xr_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))),Ho=new Uint32Array(80),we=new Uint32Array(80);class ze extends Te{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:L,Al:$,Bh:nt,Bl:xt,Ch:Ut,Cl:pe,Dh:Ie,Dl:We,Eh:sr,El:Cr,Fh:Qe,Fl:Gr,Gh:zr,Gl:ro,Hh:Ar,Hl:Vr}=this;return[L,$,nt,xt,Ut,pe,Ie,We,sr,Cr,Qe,Gr,zr,ro,Ar,Vr]}set(L,$,nt,xt,Ut,pe,Ie,We,sr,Cr,Qe,Gr,zr,ro,Ar,Vr){this.Ah=0|L,this.Al=0|$,this.Bh=0|nt,this.Bl=0|xt,this.Ch=0|Ut,this.Cl=0|pe,this.Dh=0|Ie,this.Dl=0|We,this.Eh=0|sr,this.El=0|Cr,this.Fh=0|Qe,this.Fl=0|Gr,this.Gh=0|zr,this.Gl=0|ro,this.Hh=0|Ar,this.Hl=0|Vr}process(L,$){for(let Ur=0;Ur<16;Ur++,$+=4)Ho[Ur]=L.getUint32($),we[Ur]=L.getUint32($+=4);for(let Ur=16;Ur<80;Ur++){const Oo=0|Ho[Ur-15],no=0|we[Ur-15],Co=xr_rotrSH(Oo,no,1)^xr_rotrSH(Oo,no,8)^xr_shrSH(Oo,no,7),Go=xr_rotrSL(Oo,no,1)^xr_rotrSL(Oo,no,8)^xr_shrSL(Oo,no,7),Uo=0|Ho[Ur-2],oi=0|we[Ur-2],Jn=xr_rotrSH(Uo,oi,19)^xr_rotrBH(Uo,oi,61)^xr_shrSH(Uo,oi,6),Xn=xr_rotrSL(Uo,oi,19)^xr_rotrBL(Uo,oi,61)^xr_shrSL(Uo,oi,6),yi=xr_add4L(Go,Xn,we[Ur-7],we[Ur-16]),Si=xr_add4H(yi,Co,Jn,Ho[Ur-7],Ho[Ur-16]);Ho[Ur]=0|Si,we[Ur]=0|yi}let{Ah:nt,Al:xt,Bh:Ut,Bl:pe,Ch:Ie,Cl:We,Dh:sr,Dl:Cr,Eh:Qe,El:Gr,Fh:zr,Fl:ro,Gh:Ar,Gl:Vr,Hh:Xr,Hl:yo}=this;for(let Ur=0;Ur<80;Ur++){const Oo=xr_rotrSH(Qe,Gr,14)^xr_rotrSH(Qe,Gr,18)^xr_rotrBH(Qe,Gr,41),no=xr_rotrSL(Qe,Gr,14)^xr_rotrSL(Qe,Gr,18)^xr_rotrBL(Qe,Gr,41),Co=Qe&zr^~Qe&Ar,Uo=xr_add5L(yo,no,Gr&ro^~Gr&Vr,To[Ur],we[Ur]),oi=xr_add5H(Uo,Xr,Oo,Co,zo[Ur],Ho[Ur]),Jn=0|Uo,Xn=xr_rotrSH(nt,xt,28)^xr_rotrBH(nt,xt,34)^xr_rotrBH(nt,xt,39),yi=xr_rotrSL(nt,xt,28)^xr_rotrBL(nt,xt,34)^xr_rotrBL(nt,xt,39),Si=nt&Ut^nt&Ie^Ut&Ie,bs=xt&pe^xt&We^pe&We;Xr=0|Ar,yo=0|Vr,Ar=0|zr,Vr=0|ro,zr=0|Qe,ro=0|Gr,({h:Qe,l:Gr}=xr_add(0|sr,0|Cr,0|oi,0|Jn)),sr=0|Ie,Cr=0|We,Ie=0|Ut,We=0|pe,Ut=0|nt,pe=0|xt;const wo=xr_add3L(Jn,yi,bs);nt=xr_add3H(wo,oi,Xn,Si),xt=0|wo}({h:nt,l:xt}=xr_add(0|this.Ah,0|this.Al,0|nt,0|xt)),({h:Ut,l:pe}=xr_add(0|this.Bh,0|this.Bl,0|Ut,0|pe)),({h:Ie,l:We}=xr_add(0|this.Ch,0|this.Cl,0|Ie,0|We)),({h:sr,l:Cr}=xr_add(0|this.Dh,0|this.Dl,0|sr,0|Cr)),({h:Qe,l:Gr}=xr_add(0|this.Eh,0|this.El,0|Qe,0|Gr)),({h:zr,l:ro}=xr_add(0|this.Fh,0|this.Fl,0|zr,0|ro)),({h:Ar,l:Vr}=xr_add(0|this.Gh,0|this.Gl,0|Ar,0|Vr)),({h:Xr,l:yo}=xr_add(0|this.Hh,0|this.Hl,0|Xr,0|yo)),this.set(nt,xt,Ut,pe,Ie,We,sr,Cr,Qe,Gr,zr,ro,Ar,Vr,Xr,yo)}roundClean(){Ho.fill(0),we.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 Ce=Ht(()=>new ze);function ko(I){if("string"!=typeof I)throw new TypeError("Invalid mnemonic type: "+typeof I);return I.normalize("NFKD")}function ki(I,L=""){return function Dt(I,L,$,nt){const{c:xt,dkLen:Ut,DK:pe,PRF:Ie,PRFSalt:We}=function Oe(I,L,$,nt){Y(I);const xt=function be(I,L){if(void 0!==L&&"[object Object]"!==Qt.call(L))throw new Error("Options should be object or undefined");return Object.assign(I,L)}({dkLen:32,asyncTick:10},nt),{c:Ut,dkLen:pe,asyncTick:Ie}=xt;if(T(Ut),T(pe),T(Ie),Ut<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const We=yr(L),sr=yr($),Cr=new Uint8Array(pe),Qe=oe.create(I,We),Gr=Qe._cloneInto().update(sr);return{c:Ut,dkLen:pe,asyncTick:Ie,DK:Cr,PRF:Qe,PRFSalt:Gr}}(I,L,$,nt);let sr;const Cr=new Uint8Array(4),Qe=yt(Cr),Gr=new Uint8Array(Ie.outputLen);for(let zr=1,ro=0;roko(`mnemonic${I}`))(L),{c:2048,dkLen:64})}function Ln(I){if(!Number.isSafeInteger(I)||I<0)throw new Error(`Wrong positive integer: ${I}`)}function cn(I,...L){if(!function $i(I){return I instanceof Uint8Array||null!=I&&"object"==typeof I&&"Uint8Array"===I.constructor.name}(I))throw new Error("Expected Uint8Array");if(L.length>0&&!L.includes(I.length))throw new Error(`Expected Uint8Array of length ${L}, not of length=${I.length}`)}function pi(I,L=!0){if(I.destroyed)throw new Error("Hash instance has been destroyed");if(L&&I.finished)throw new Error("Hash#digest() has already been called")}function On(I){return I instanceof Uint8Array||null!=I&&"object"==typeof I&&"Uint8Array"===I.constructor.name}const Mi=I=>new DataView(I.buffer,I.byteOffset,I.byteLength),Jt=(I,L)=>I<<32-L|I>>>L;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");const de=Array.from({length:256},(I,L)=>L.toString(16).padStart(2,"0")),Gt={_0:48,_9:57,_A:65,_F:70,_a:97,_f:102};function Ot(I){return I>=Gt._0&&I<=Gt._9?I-Gt._0:I>=Gt._A&&I<=Gt._F?I-(Gt._A-10):I>=Gt._a&&I<=Gt._f?I-(Gt._a-10):void 0}function Er(I){if("string"!=typeof I)throw new Error("utf8ToBytes expected string, got "+typeof I);return new Uint8Array((new TextEncoder).encode(I))}function kr(I){if("string"==typeof I&&(I=Er(I)),!On(I))throw new Error("expected Uint8Array, got "+typeof I);return I}function Rr(...I){let L=0;for(let nt=0;ntI().update(kr(nt)).digest(),$=I();return L.outputLen=$.outputLen,L.blockLen=$.blockLen,L.create=()=>I(),L}class Mn extends $r{constructor(L,$){super(),this.finished=!1,this.destroyed=!1,function qi(I){if("function"!=typeof I||"function"!=typeof I.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");Ln(I.outputLen),Ln(I.blockLen)}(L);const nt=kr($);if(this.iHash=L.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 xt=this.blockLen,Ut=new Uint8Array(xt);Ut.set(nt.length>xt?L.create().update(nt).digest():nt);for(let pe=0;penew Mn(I,L).update($).digest();Ro.create=(I,L)=>new Mn(I,L);class Fo extends $r{constructor(L,$,nt,xt){super(),this.blockLen=L,this.outputLen=$,this.padOffset=nt,this.isLE=xt,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(L),this.view=Mi(this.buffer)}update(L){pi(this);const{view:$,buffer:nt,blockLen:xt}=this,Ut=(L=kr(L)).length;for(let pe=0;pext-pe&&(this.process(nt,0),pe=0);for(let Qe=pe;Qe>xt&Ut),Ie=Number($&Ut),sr=nt?0:4;I.setUint32(L+(nt?4:0),pe,nt),I.setUint32(L+sr,Ie,nt)})(nt,xt-8,BigInt(8*this.length),Ut),this.process(nt,0);const Ie=Mi(L),We=this.outputLen;if(We%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const sr=We/4,Cr=this.get();if(sr>Cr.length)throw new Error("_sha2: outputLen bigger than state");for(let Qe=0;QeL);let as=[ta],Pn=[ta.map(I=>(9*I+5)%16)];for(let I=0;I<4;I++)for(let L of[as,Pn])L.push(L[I].map($=>Ei[$]));const _n=[[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)),ss=as.map((I,L)=>I.map($=>_n[L][$])),Ka=Pn.map((I,L)=>I.map($=>_n[L][$])),Ii=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),Ea=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),Ri=(I,L)=>I<>>32-L;function pa(I,L,$,nt){return 0===I?L^$^nt:1===I?L&$|~L&nt:2===I?(L|~$)^nt:3===I?L&nt|$&~nt:L^($|~nt)}const Ki=new Uint32Array(16);class gi extends Fo{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:L,h1:$,h2:nt,h3:xt,h4:Ut}=this;return[L,$,nt,xt,Ut]}set(L,$,nt,xt,Ut){this.h0=0|L,this.h1=0|$,this.h2=0|nt,this.h3=0|xt,this.h4=0|Ut}process(L,$){for(let zr=0;zr<16;zr++,$+=4)Ki[zr]=L.getUint32($,!0);let nt=0|this.h0,xt=nt,Ut=0|this.h1,pe=Ut,Ie=0|this.h2,We=Ie,sr=0|this.h3,Cr=sr,Qe=0|this.h4,Gr=Qe;for(let zr=0;zr<5;zr++){const ro=4-zr,Ar=Ii[zr],Vr=Ea[zr],Xr=as[zr],yo=Pn[zr],Ur=ss[zr],Oo=Ka[zr];for(let no=0;no<16;no++){const Co=Ri(nt+pa(zr,Ut,Ie,sr)+Ki[Xr[no]]+Ar,Ur[no])+Qe|0;nt=Qe,Qe=sr,sr=0|Ri(Ie,10),Ie=Ut,Ut=Co}for(let no=0;no<16;no++){const Co=Ri(xt+pa(ro,pe,We,Cr)+Ki[yo[no]]+Vr,Oo[no])+Gr|0;xt=Gr,Gr=Cr,Cr=0|Ri(We,10),We=pe,pe=Co}}this.set(this.h1+Ie+Cr|0,this.h2+sr+Gr|0,this.h3+Qe+xt|0,this.h4+nt+pe|0,this.h0+Ut+We|0)}roundClean(){Ki.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}const Gi=xo(()=>new gi),Ra=(I,L,$)=>I&L^~I&$,Xo=(I,L,$)=>I&L^I&$^L&$,Ca=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]),fi=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),ni=new Uint32Array(64);class ha extends Fo{constructor(){super(64,32,8,!1),this.A=0|fi[0],this.B=0|fi[1],this.C=0|fi[2],this.D=0|fi[3],this.E=0|fi[4],this.F=0|fi[5],this.G=0|fi[6],this.H=0|fi[7]}get(){const{A:L,B:$,C:nt,D:xt,E:Ut,F:pe,G:Ie,H:We}=this;return[L,$,nt,xt,Ut,pe,Ie,We]}set(L,$,nt,xt,Ut,pe,Ie,We){this.A=0|L,this.B=0|$,this.C=0|nt,this.D=0|xt,this.E=0|Ut,this.F=0|pe,this.G=0|Ie,this.H=0|We}process(L,$){for(let Qe=0;Qe<16;Qe++,$+=4)ni[Qe]=L.getUint32($,!1);for(let Qe=16;Qe<64;Qe++){const Gr=ni[Qe-15],zr=ni[Qe-2],ro=Jt(Gr,7)^Jt(Gr,18)^Gr>>>3,Ar=Jt(zr,17)^Jt(zr,19)^zr>>>10;ni[Qe]=Ar+ni[Qe-7]+ro+ni[Qe-16]|0}let{A:nt,B:xt,C:Ut,D:pe,E:Ie,F:We,G:sr,H:Cr}=this;for(let Qe=0;Qe<64;Qe++){const zr=Cr+(Jt(Ie,6)^Jt(Ie,11)^Jt(Ie,25))+Ra(Ie,We,sr)+Ca[Qe]+ni[Qe]|0,Ar=(Jt(nt,2)^Jt(nt,13)^Jt(nt,22))+Xo(nt,xt,Ut)|0;Cr=sr,sr=We,We=Ie,Ie=pe+zr|0,pe=Ut,Ut=xt,xt=nt,nt=zr+Ar|0}nt=nt+this.A|0,xt=xt+this.B|0,Ut=Ut+this.C|0,pe=pe+this.D|0,Ie=Ie+this.E|0,We=We+this.F|0,sr=sr+this.G|0,Cr=Cr+this.H|0,this.set(nt,xt,Ut,pe,Ie,We,sr,Cr)}roundClean(){ni.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const Qs=xo(()=>new ha),Ci=BigInt(2**32-1),co=BigInt(32);function Da(I,L=!1){return L?{h:Number(I&Ci),l:Number(I>>co&Ci)}:{h:0|Number(I>>co&Ci),l:0|Number(I&Ci)}}const et_split=function Ga(I,L=!1){let $=new Uint32Array(I.length),nt=new Uint32Array(I.length);for(let xt=0;xtI>>>$,et_shrSL=(I,L,$)=>I<<32-$|L>>>$,et_rotrSH=(I,L,$)=>I>>>$|L<<32-$,et_rotrSL=(I,L,$)=>I<<32-$|L>>>$,et_rotrBH=(I,L,$)=>I<<64-$|L>>>$-32,et_rotrBL=(I,L,$)=>I>>>$-32|L<<64-$,et_add=function Cs(I,L,$,nt){const xt=(L>>>0)+(nt>>>0);return{h:I+$+(xt/2**32|0)|0,l:0|xt}},et_add3L=(I,L,$)=>(I>>>0)+(L>>>0)+($>>>0),et_add3H=(I,L,$,nt)=>L+$+nt+(I/2**32|0)|0,et_add4L=(I,L,$,nt)=>(I>>>0)+(L>>>0)+($>>>0)+(nt>>>0),et_add4H=(I,L,$,nt,xt)=>L+$+nt+xt+(I/2**32|0)|0,et_add5H=(I,L,$,nt,xt,Ut)=>L+$+nt+xt+Ut+(I/2**32|0)|0,et_add5L=(I,L,$,nt,xt)=>(I>>>0)+(L>>>0)+($>>>0)+(nt>>>0)+(xt>>>0),[ne,Ee]=et_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))),Fr=new Uint32Array(80),Ir=new Uint32Array(80);class Hr extends Fo{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:L,Al:$,Bh:nt,Bl:xt,Ch:Ut,Cl:pe,Dh:Ie,Dl:We,Eh:sr,El:Cr,Fh:Qe,Fl:Gr,Gh:zr,Gl:ro,Hh:Ar,Hl:Vr}=this;return[L,$,nt,xt,Ut,pe,Ie,We,sr,Cr,Qe,Gr,zr,ro,Ar,Vr]}set(L,$,nt,xt,Ut,pe,Ie,We,sr,Cr,Qe,Gr,zr,ro,Ar,Vr){this.Ah=0|L,this.Al=0|$,this.Bh=0|nt,this.Bl=0|xt,this.Ch=0|Ut,this.Cl=0|pe,this.Dh=0|Ie,this.Dl=0|We,this.Eh=0|sr,this.El=0|Cr,this.Fh=0|Qe,this.Fl=0|Gr,this.Gh=0|zr,this.Gl=0|ro,this.Hh=0|Ar,this.Hl=0|Vr}process(L,$){for(let Ur=0;Ur<16;Ur++,$+=4)Fr[Ur]=L.getUint32($),Ir[Ur]=L.getUint32($+=4);for(let Ur=16;Ur<80;Ur++){const Oo=0|Fr[Ur-15],no=0|Ir[Ur-15],Co=et_rotrSH(Oo,no,1)^et_rotrSH(Oo,no,8)^et_shrSH(Oo,no,7),Go=et_rotrSL(Oo,no,1)^et_rotrSL(Oo,no,8)^et_shrSL(Oo,no,7),Uo=0|Fr[Ur-2],oi=0|Ir[Ur-2],Jn=et_rotrSH(Uo,oi,19)^et_rotrBH(Uo,oi,61)^et_shrSH(Uo,oi,6),Xn=et_rotrSL(Uo,oi,19)^et_rotrBL(Uo,oi,61)^et_shrSL(Uo,oi,6),yi=et_add4L(Go,Xn,Ir[Ur-7],Ir[Ur-16]),Si=et_add4H(yi,Co,Jn,Fr[Ur-7],Fr[Ur-16]);Fr[Ur]=0|Si,Ir[Ur]=0|yi}let{Ah:nt,Al:xt,Bh:Ut,Bl:pe,Ch:Ie,Cl:We,Dh:sr,Dl:Cr,Eh:Qe,El:Gr,Fh:zr,Fl:ro,Gh:Ar,Gl:Vr,Hh:Xr,Hl:yo}=this;for(let Ur=0;Ur<80;Ur++){const Oo=et_rotrSH(Qe,Gr,14)^et_rotrSH(Qe,Gr,18)^et_rotrBH(Qe,Gr,41),no=et_rotrSL(Qe,Gr,14)^et_rotrSL(Qe,Gr,18)^et_rotrBL(Qe,Gr,41),Co=Qe&zr^~Qe&Ar,Uo=et_add5L(yo,no,Gr&ro^~Gr&Vr,Ee[Ur],Ir[Ur]),oi=et_add5H(Uo,Xr,Oo,Co,ne[Ur],Fr[Ur]),Jn=0|Uo,Xn=et_rotrSH(nt,xt,28)^et_rotrBH(nt,xt,34)^et_rotrBH(nt,xt,39),yi=et_rotrSL(nt,xt,28)^et_rotrBL(nt,xt,34)^et_rotrBL(nt,xt,39),Si=nt&Ut^nt&Ie^Ut&Ie,bs=xt&pe^xt&We^pe&We;Xr=0|Ar,yo=0|Vr,Ar=0|zr,Vr=0|ro,zr=0|Qe,ro=0|Gr,({h:Qe,l:Gr}=et_add(0|sr,0|Cr,0|oi,0|Jn)),sr=0|Ie,Cr=0|We,Ie=0|Ut,We=0|pe,Ut=0|nt,pe=0|xt;const wo=et_add3L(Jn,yi,bs);nt=et_add3H(wo,oi,Xn,Si),xt=0|wo}({h:nt,l:xt}=et_add(0|this.Ah,0|this.Al,0|nt,0|xt)),({h:Ut,l:pe}=et_add(0|this.Bh,0|this.Bl,0|Ut,0|pe)),({h:Ie,l:We}=et_add(0|this.Ch,0|this.Cl,0|Ie,0|We)),({h:sr,l:Cr}=et_add(0|this.Dh,0|this.Dl,0|sr,0|Cr)),({h:Qe,l:Gr}=et_add(0|this.Eh,0|this.El,0|Qe,0|Gr)),({h:zr,l:ro}=et_add(0|this.Fh,0|this.Fl,0|zr,0|ro)),({h:Ar,l:Vr}=et_add(0|this.Gh,0|this.Gl,0|Ar,0|Vr)),({h:Xr,l:yo}=et_add(0|this.Hh,0|this.Hl,0|Xr,0|yo)),this.set(nt,xt,Ut,pe,Ie,We,sr,Cr,Qe,Gr,zr,ro,Ar,Vr,Xr,yo)}roundClean(){Fr.fill(0),Ir.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 Mo=xo(()=>new Hr);function Fn(I){if(!Number.isSafeInteger(I)||I<0)throw new Error(`Wrong positive integer: ${I}`)}function ji(I,...L){if(!(I instanceof Uint8Array))throw new Error("Expected Uint8Array");if(L.length>0&&!L.includes(I.length))throw new Error(`Expected Uint8Array of length ${L}, not of length=${I.length}`)}const lt={number:Fn,bool:function Oi(I){if("boolean"!=typeof I)throw new Error(`Expected boolean, not ${I}`)},bytes:ji,hash:function Hi(I){if("function"!=typeof I||"function"!=typeof I.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");Fn(I.outputLen),Fn(I.blockLen)},exists:function Us(I,L=!0){if(I.destroyed)throw new Error("Hash instance has been destroyed");if(L&&I.finished)throw new Error("Hash#digest() has already been called")},output:function $s(I,L){ji(I);const $=L.outputLen;if(I.length<$)throw new Error(`digestInto() expects output buffer of length at least ${$}`)}},dt="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,Q=I=>I instanceof Uint8Array,_o=I=>new DataView(I.buffer,I.byteOffset,I.byteLength),Jo=(I,L)=>I<<32-L|I>>>L;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function ba(I){if("string"==typeof I&&(I=function la(I){if("string"!=typeof I)throw new Error("utf8ToBytes expected string, got "+typeof I);return new Uint8Array((new TextEncoder).encode(I))}(I)),!Q(I))throw new Error("expected Uint8Array, got "+typeof I);return I}Array.from({length:256},(I,L)=>L.toString(16).padStart(2,"0"));class vc{clone(){return this._cloneInto()}}function dc(I){const L=nt=>I().update(ba(nt)).digest(),$=I();return L.outputLen=$.outputLen,L.blockLen=$.blockLen,L.create=()=>I(),L}function td(I=32){if(dt&&"function"==typeof dt.getRandomValues)return dt.getRandomValues(new Uint8Array(I));throw new Error("crypto.getRandomValues must be defined")}class uc extends vc{constructor(L,$,nt,xt){super(),this.blockLen=L,this.outputLen=$,this.padOffset=nt,this.isLE=xt,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(L),this.view=_o(this.buffer)}update(L){lt.exists(this);const{view:$,buffer:nt,blockLen:xt}=this,Ut=(L=ba(L)).length;for(let pe=0;pext-pe&&(this.process(nt,0),pe=0);for(let Qe=pe;Qe>xt&Ut),Ie=Number($&Ut),sr=nt?0:4;I.setUint32(L+(nt?4:0),pe,nt),I.setUint32(L+sr,Ie,nt)})(nt,xt-8,BigInt(8*this.length),Ut),this.process(nt,0);const Ie=_o(L),We=this.outputLen;if(We%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const sr=We/4,Cr=this.get();if(sr>Cr.length)throw new Error("_sha2: outputLen bigger than state");for(let Qe=0;QeI&L^~I&$,Oc=(I,L,$)=>I&L^I&$^L&$,Ss=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]),Ma=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),ja=new Uint32Array(64);class rd extends uc{constructor(){super(64,32,8,!1),this.A=0|Ma[0],this.B=0|Ma[1],this.C=0|Ma[2],this.D=0|Ma[3],this.E=0|Ma[4],this.F=0|Ma[5],this.G=0|Ma[6],this.H=0|Ma[7]}get(){const{A:L,B:$,C:nt,D:xt,E:Ut,F:pe,G:Ie,H:We}=this;return[L,$,nt,xt,Ut,pe,Ie,We]}set(L,$,nt,xt,Ut,pe,Ie,We){this.A=0|L,this.B=0|$,this.C=0|nt,this.D=0|xt,this.E=0|Ut,this.F=0|pe,this.G=0|Ie,this.H=0|We}process(L,$){for(let Qe=0;Qe<16;Qe++,$+=4)ja[Qe]=L.getUint32($,!1);for(let Qe=16;Qe<64;Qe++){const Gr=ja[Qe-15],zr=ja[Qe-2],ro=Jo(Gr,7)^Jo(Gr,18)^Gr>>>3,Ar=Jo(zr,17)^Jo(zr,19)^zr>>>10;ja[Qe]=Ar+ja[Qe-7]+ro+ja[Qe-16]|0}let{A:nt,B:xt,C:Ut,D:pe,E:Ie,F:We,G:sr,H:Cr}=this;for(let Qe=0;Qe<64;Qe++){const zr=Cr+(Jo(Ie,6)^Jo(Ie,11)^Jo(Ie,25))+$a(Ie,We,sr)+Ss[Qe]+ja[Qe]|0,Ar=(Jo(nt,2)^Jo(nt,13)^Jo(nt,22))+Oc(nt,xt,Ut)|0;Cr=sr,sr=We,We=Ie,Ie=pe+zr|0,pe=Ut,Ut=xt,xt=nt,nt=zr+Ar|0}nt=nt+this.A|0,xt=xt+this.B|0,Ut=Ut+this.C|0,pe=pe+this.D|0,Ie=Ie+this.E|0,We=We+this.F|0,sr=sr+this.G|0,Cr=Cr+this.H|0,this.set(nt,xt,Ut,pe,Ie,We,sr,Cr)}roundClean(){ja.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class ra extends rd{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 od=dc(()=>new rd),jc=(dc(()=>new ra),BigInt(0),BigInt(1)),pc=BigInt(2),Vc=I=>I instanceof Uint8Array,Hc=Array.from({length:256},(I,L)=>L.toString(16).padStart(2,"0"));function ps(I){if(!Vc(I))throw new Error("Uint8Array expected");let L="";for(let $=0;$nt+xt.length,0));let $=0;return I.forEach(nt=>{if(!Vc(nt))throw new Error("Uint8Array expected");L.set(nt,$),$+=nt.length}),L}const Xa=I=>(pc<new Uint8Array(I),Ui=I=>Uint8Array.from(I);function bi(I,L,$){if("number"!=typeof I||I<2)throw new Error("hashLen must be a number");if("number"!=typeof L||L<2)throw new Error("qByteLen must be a number");if("function"!=typeof $)throw new Error("hmacFn must be a function");let nt=Zs(I),xt=Zs(I),Ut=0;const pe=()=>{nt.fill(1),xt.fill(0),Ut=0},Ie=(...Qe)=>$(xt,nt,...Qe),We=(Qe=Zs())=>{xt=Ie(Ui([0]),Qe),nt=Ie(),0!==Qe.length&&(xt=Ie(Ui([1]),Qe),nt=Ie())},sr=()=>{if(Ut++>=1e3)throw new Error("drbg: tried 1000 values");let Qe=0;const Gr=[];for(;Qe{let zr;for(pe(),We(Qe);!(zr=Gr(sr()));)We();return pe(),zr}}const Cn={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,L)=>L.Fp.isValid(I),hash:I=>"function"==typeof I&&Number.isSafeInteger(I.outputLen)};function Va(I,L,$={}){const nt=(xt,Ut,pe)=>{const Ie=Cn[Ut];if("function"!=typeof Ie)throw new Error(`Invalid validator "${Ut}", expected function`);const We=I[xt];if(!(pe&&void 0===We||Ie(We,I)))throw new Error(`Invalid param ${String(xt)}=${We} (${typeof We}), expected ${Ut}`)};for(const[xt,Ut]of Object.entries(L))nt(xt,Ut,!1);for(const[xt,Ut]of Object.entries($))nt(xt,Ut,!0);return I}const di=BigInt(0),Un=BigInt(1),U=BigInt(2),Tt=BigInt(3),rt=BigInt(4),mt=BigInt(5),xe=BigInt(8);function eo(I,L){const $=I%L;return $>=di?$:L+$}function dn(I,L,$){if($<=di||L 0");if($===Un)return di;let nt=Un;for(;L>di;)L&Un&&(nt=nt*I%$),I=I*I%$,L>>=Un;return nt}function In(I,L,$){let nt=I;for(;L-- >di;)nt*=nt,nt%=$;return nt}function Dn(I,L){if(I===di||L<=di)throw new Error(`invert: expected positive integers, got n=${I} mod=${L}`);let $=eo(I,L),nt=L,xt=di,Ut=Un,pe=Un,Ie=di;for(;$!==di;){const sr=nt/$,Cr=nt%$,Qe=xt-pe*sr,Gr=Ut-Ie*sr;nt=$,$=Cr,xt=pe,Ut=Ie,pe=Qe,Ie=Gr}if(nt!==Un)throw new Error("invert: does not exist");return eo(xt,L)}BigInt(9),BigInt(16);const xn=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function La(I,L){const $=void 0!==L?L:I.toString(2).length;return{nBitLength:$,nByteLength:Math.ceil($/8)}}const Ms=BigInt(0),Is=BigInt(1);function ad(I){return function ya(I){Va(I,xn.reduce((nt,xt)=>(nt[xt]="function",nt),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"}))}(I.Fp),Va(I,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...La(I.n,I.nBitLength),...I,p:I.Fp.ORDER})}const{Ph:zc,aT:hl}=n,hc={Err:class extends Error{constructor(L=""){super(L)}},_parseInt(I){const{Err:L}=hc;if(I.length<2||2!==I[0])throw new L("Invalid signature integer tag");const $=I[1],nt=I.subarray(2,$+2);if(!$||nt.length!==$)throw new L("Invalid signature integer: wrong length");if(128&nt[0])throw new L("Invalid signature integer: negative");if(0===nt[0]&&!(128&nt[1]))throw new L("Invalid signature integer: unnecessary leading zero");return{d:zc(nt),l:I.subarray($+2)}},toSig(I){const{Err:L}=hc,$="string"==typeof I?hl(I):I;if(!($ instanceof Uint8Array))throw new Error("ui8a expected");let nt=$.length;if(nt<2||48!=$[0])throw new L("Invalid signature tag");if($[1]!==nt-2)throw new L("Invalid signature: incorrect length");const{d:xt,l:Ut}=hc._parseInt($.subarray(2)),{d:pe,l:Ie}=hc._parseInt(Ut);if(Ie.length)throw new L("Invalid signature: left bytes after parsing");return{r:xt,s:pe}},hexFromSig(I){const L=sr=>8&Number.parseInt(sr[0],16)?"00"+sr:sr,$=sr=>{const Cr=sr.toString(16);return 1&Cr.length?`0${Cr}`:Cr},nt=L($(I.s)),xt=L($(I.r)),Ut=nt.length/2,pe=xt.length/2,Ie=$(Ut),We=$(pe);return`30${$(pe+Ut+4)}02${We}${xt}02${Ie}${nt}`}},wi=BigInt(0),Wi=BigInt(1),sd=(BigInt(2),BigInt(3));function sp(I){const L=function Ud(I){const L=ad(I);return Va(L,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...L})}(I),{Fp:$,n:nt}=L,xt=$.BYTES+1,Ut=2*$.BYTES+1;function Ie(wo){return eo(wo,nt)}function We(wo){return Dn(wo,nt)}const{ProjectivePoint:sr,normPrivateKeyToScalar:Cr,weierstrassEquation:Qe,isWithinCurveOrder:Gr}=function cd(I){const L=function Bd(I){const L=ad(I);Va(L,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:$,Fp:nt,a:xt}=L;if($){if(!nt.eql(xt,nt.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof $||"bigint"!=typeof $.beta||"function"!=typeof $.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...L})}(I),{Fp:$}=L,nt=L.toBytes||((ro,Ar,Vr)=>{const Xr=Ar.toAffine();return ai(Uint8Array.from([4]),$.toBytes(Xr.x),$.toBytes(Xr.y))}),xt=L.fromBytes||(ro=>{const Ar=ro.subarray(1);return{x:$.fromBytes(Ar.subarray(0,$.BYTES)),y:$.fromBytes(Ar.subarray($.BYTES,2*$.BYTES))}});function Ut(ro){const{a:Ar,b:Vr}=L,Xr=$.sqr(ro),yo=$.mul(Xr,ro);return $.add($.add(yo,$.mul(ro,Ar)),Vr)}if(!$.eql($.sqr(L.Gy),Ut(L.Gx)))throw new Error("bad generator point: equation left != right");function pe(ro){return"bigint"==typeof ro&&wi$.eql(Ur,$.ZERO);return yo(Vr)&&yo(Xr)?Qe.ZERO:new Qe(Vr,Xr,$.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(Ar){const Vr=$.invertBatch(Ar.map(Xr=>Xr.pz));return Ar.map((Xr,yo)=>Xr.toAffine(Vr[yo])).map(Qe.fromAffine)}static fromHex(Ar){const Vr=Qe.fromAffine(xt(Qn("pointHex",Ar)));return Vr.assertValidity(),Vr}static fromPrivateKey(Ar){return Qe.BASE.multiply(We(Ar))}_setWindowSize(Ar){this._WINDOW_SIZE=Ar,sr.delete(this)}assertValidity(){if(this.is0()){if(L.allowInfinityPoint)return;throw new Error("bad point: ZERO")}const{x:Ar,y:Vr}=this.toAffine();if(!$.isValid(Ar)||!$.isValid(Vr))throw new Error("bad point: x or y not FE");const Xr=$.sqr(Vr),yo=Ut(Ar);if(!$.eql(Xr,yo))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:Ar}=this.toAffine();if($.isOdd)return!$.isOdd(Ar);throw new Error("Field doesn't support isOdd")}equals(Ar){Cr(Ar);const{px:Vr,py:Xr,pz:yo}=this,{px:Ur,py:Oo,pz:no}=Ar,Co=$.eql($.mul(Vr,no),$.mul(Ur,yo)),Go=$.eql($.mul(Xr,no),$.mul(Oo,yo));return Co&&Go}negate(){return new Qe(this.px,$.neg(this.py),this.pz)}double(){const{a:Ar,b:Vr}=L,Xr=$.mul(Vr,sd),{px:yo,py:Ur,pz:Oo}=this;let no=$.ZERO,Co=$.ZERO,Go=$.ZERO,Uo=$.mul(yo,yo),oi=$.mul(Ur,Ur),Jn=$.mul(Oo,Oo),Xn=$.mul(yo,Ur);return Xn=$.add(Xn,Xn),Go=$.mul(yo,Oo),Go=$.add(Go,Go),no=$.mul(Ar,Go),Co=$.mul(Xr,Jn),Co=$.add(no,Co),no=$.sub(oi,Co),Co=$.add(oi,Co),Co=$.mul(no,Co),no=$.mul(Xn,no),Go=$.mul(Xr,Go),Jn=$.mul(Ar,Jn),Xn=$.sub(Uo,Jn),Xn=$.mul(Ar,Xn),Xn=$.add(Xn,Go),Go=$.add(Uo,Uo),Uo=$.add(Go,Uo),Uo=$.add(Uo,Jn),Uo=$.mul(Uo,Xn),Co=$.add(Co,Uo),Jn=$.mul(Ur,Oo),Jn=$.add(Jn,Jn),Uo=$.mul(Jn,Xn),no=$.sub(no,Uo),Go=$.mul(Jn,oi),Go=$.add(Go,Go),Go=$.add(Go,Go),new Qe(no,Co,Go)}add(Ar){Cr(Ar);const{px:Vr,py:Xr,pz:yo}=this,{px:Ur,py:Oo,pz:no}=Ar;let Co=$.ZERO,Go=$.ZERO,Uo=$.ZERO;const oi=L.a,Jn=$.mul(L.b,sd);let Xn=$.mul(Vr,Ur),yi=$.mul(Xr,Oo),Si=$.mul(yo,no),bs=$.add(Vr,Xr),wo=$.add(Ur,Oo);bs=$.mul(bs,wo),wo=$.add(Xn,yi),bs=$.sub(bs,wo),wo=$.add(Vr,yo);let Vo=$.add(Ur,no);return wo=$.mul(wo,Vo),Vo=$.add(Xn,Si),wo=$.sub(wo,Vo),Vo=$.add(Xr,yo),Co=$.add(Oo,no),Vo=$.mul(Vo,Co),Co=$.add(yi,Si),Vo=$.sub(Vo,Co),Uo=$.mul(oi,wo),Co=$.mul(Jn,Si),Uo=$.add(Co,Uo),Co=$.sub(yi,Uo),Uo=$.add(yi,Uo),Go=$.mul(Co,Uo),yi=$.add(Xn,Xn),yi=$.add(yi,Xn),Si=$.mul(oi,Si),wo=$.mul(Jn,wo),yi=$.add(yi,Si),Si=$.sub(Xn,Si),Si=$.mul(oi,Si),wo=$.add(wo,Si),Xn=$.mul(yi,wo),Go=$.add(Go,Xn),Xn=$.mul(Vo,wo),Co=$.mul(bs,Co),Co=$.sub(Co,Xn),Xn=$.mul(bs,yi),Uo=$.mul(Vo,Uo),Uo=$.add(Uo,Xn),new Qe(Co,Go,Uo)}subtract(Ar){return this.add(Ar.negate())}is0(){return this.equals(Qe.ZERO)}wNAF(Ar){return zr.wNAFCached(this,sr,Ar,Vr=>{const Xr=$.invertBatch(Vr.map(yo=>yo.pz));return Vr.map((yo,Ur)=>yo.toAffine(Xr[Ur])).map(Qe.fromAffine)})}multiplyUnsafe(Ar){const Vr=Qe.ZERO;if(Ar===wi)return Vr;if(Ie(Ar),Ar===Wi)return this;const{endo:Xr}=L;if(!Xr)return zr.unsafeLadder(this,Ar);let{k1neg:yo,k1:Ur,k2neg:Oo,k2:no}=Xr.splitScalar(Ar),Co=Vr,Go=Vr,Uo=this;for(;Ur>wi||no>wi;)Ur&Wi&&(Co=Co.add(Uo)),no&Wi&&(Go=Go.add(Uo)),Uo=Uo.double(),Ur>>=Wi,no>>=Wi;return yo&&(Co=Co.negate()),Oo&&(Go=Go.negate()),Go=new Qe($.mul(Go.px,Xr.beta),Go.py,Go.pz),Co.add(Go)}multiply(Ar){Ie(Ar);let Xr,yo,Vr=Ar;const{endo:Ur}=L;if(Ur){const{k1neg:Oo,k1:no,k2neg:Co,k2:Go}=Ur.splitScalar(Vr);let{p:Uo,f:oi}=this.wNAF(no),{p:Jn,f:Xn}=this.wNAF(Go);Uo=zr.constTimeNegate(Oo,Uo),Jn=zr.constTimeNegate(Co,Jn),Jn=new Qe($.mul(Jn.px,Ur.beta),Jn.py,Jn.pz),Xr=Uo.add(Jn),yo=oi.add(Xn)}else{const{p:Oo,f:no}=this.wNAF(Vr);Xr=Oo,yo=no}return Qe.normalizeZ([Xr,yo])[0]}multiplyAndAddUnsafe(Ar,Vr,Xr){const yo=Qe.BASE,Ur=(no,Co)=>Co!==wi&&Co!==Wi&&no.equals(yo)?no.multiply(Co):no.multiplyUnsafe(Co),Oo=Ur(this,Vr).add(Ur(Ar,Xr));return Oo.is0()?void 0:Oo}toAffine(Ar){const{px:Vr,py:Xr,pz:yo}=this,Ur=this.is0();null==Ar&&(Ar=Ur?$.ONE:$.inv(yo));const Oo=$.mul(Vr,Ar),no=$.mul(Xr,Ar),Co=$.mul(yo,Ar);if(Ur)return{x:$.ZERO,y:$.ZERO};if(!$.eql(Co,$.ONE))throw new Error("invZ was invalid");return{x:Oo,y:no}}isTorsionFree(){const{h:Ar,isTorsionFree:Vr}=L;if(Ar===Wi)return!0;if(Vr)return Vr(Qe,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:Ar,clearCofactor:Vr}=L;return Ar===Wi?this:Vr?Vr(Qe,this):this.multiplyUnsafe(L.h)}toRawBytes(Ar=!0){return this.assertValidity(),nt(Qe,this,Ar)}toHex(Ar=!0){return ps(this.toRawBytes(Ar))}}Qe.BASE=new Qe(L.Gx,L.Gy,$.ONE),Qe.ZERO=new Qe($.ZERO,$.ONE,$.ZERO);const Gr=L.nBitLength,zr=function Rc(I,L){const $=(xt,Ut)=>{const pe=Ut.negate();return xt?pe:Ut},nt=xt=>({windows:Math.ceil(L/xt)+1,windowSize:2**(xt-1)});return{constTimeNegate:$,unsafeLadder(xt,Ut){let pe=I.ZERO,Ie=xt;for(;Ut>Ms;)Ut&Is&&(pe=pe.add(Ie)),Ie=Ie.double(),Ut>>=Is;return pe},precomputeWindow(xt,Ut){const{windows:pe,windowSize:Ie}=nt(Ut),We=[];let sr=xt,Cr=sr;for(let Qe=0;Qe>=zr,Vr>We&&(Vr-=Gr,pe+=Is);const Xr=Ar,yo=Ar+Math.abs(Vr)-1,Oo=Vr<0;0===Vr?Cr=Cr.add($(ro%2!=0,Ut[Xr])):sr=sr.add($(Oo,Ut[yo]))}return{p:sr,f:Cr}},wNAFCached(xt,Ut,pe,Ie){const We=xt._WINDOW_SIZE||1;let sr=Ut.get(xt);return sr||(sr=this.precomputeWindow(xt,We),1!==We&&Ut.set(xt,Ie(sr))),this.wNAF(We,sr,pe)}}}(Qe,L.endo?Math.ceil(Gr/2):Gr);return{CURVE:L,ProjectivePoint:Qe,normPrivateKeyToScalar:We,weierstrassEquation:Ut,isWithinCurveOrder:pe}}({...L,toBytes(wo,Vo,Hn){const Yn=Vo.toAffine(),Ai=$.toBytes(Yn.x),fa=ai;return Hn?fa(Uint8Array.from([Vo.hasEvenY()?2:3]),Ai):fa(Uint8Array.from([4]),Ai,$.toBytes(Yn.y))},fromBytes(wo){const Vo=wo.length,Hn=wo[0],Yn=wo.subarray(1);if(Vo!==xt||2!==Hn&&3!==Hn){if(Vo===Ut&&4===Hn)return{x:$.fromBytes(Yn.subarray(0,$.BYTES)),y:$.fromBytes(Yn.subarray($.BYTES,2*$.BYTES))};throw new Error(`Point of length ${Vo} was invalid. Expected ${xt} compressed bytes or ${Ut} uncompressed bytes`)}{const Ai=ii(Yn);if(!function pe(wo){return wips(Ao(wo,L.nByteLength));function ro(wo){return wo>nt>>Wi}const Vr=(wo,Vo,Hn)=>ii(wo.slice(Vo,Hn));class Xr{constructor(Vo,Hn,Yn){this.r=Vo,this.s=Hn,this.recovery=Yn,this.assertValidity()}static fromCompact(Vo){const Hn=L.nByteLength;return Vo=Qn("compactSignature",Vo,2*Hn),new Xr(Vr(Vo,0,Hn),Vr(Vo,Hn,2*Hn))}static fromDER(Vo){const{r:Hn,s:Yn}=hc.toSig(Qn("DER",Vo));return new Xr(Hn,Yn)}assertValidity(){if(!Gr(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!Gr(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(Vo){return new Xr(this.r,this.s,Vo)}recoverPublicKey(Vo){const{r:Hn,s:Yn,recovery:Ai}=this,fa=Go(Qn("msgHash",Vo));if(null==Ai||![0,1,2,3].includes(Ai))throw new Error("recovery id invalid");const qa=2===Ai||3===Ai?Hn+L.n:Hn;if(qa>=$.ORDER)throw new Error("recovery id 2 or 3 invalid");const tc=sr.fromHex((1&Ai?"03":"02")+zr(qa)),Cc=We(qa),qc=Ie(-fa*Cc),bl=Ie(Yn*Cc),Jc=sr.BASE.multiplyAndAddUnsafe(tc,qc,bl);if(!Jc)throw new Error("point at infinify");return Jc.assertValidity(),Jc}hasHighS(){return ro(this.s)}normalizeS(){return this.hasHighS()?new Xr(this.r,Ie(-this.s),this.recovery):this}toDERRawBytes(){return zi(this.toDERHex())}toDERHex(){return hc.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return zi(this.toCompactHex())}toCompactHex(){return zr(this.r)+zr(this.s)}}const yo={isValidPrivateKey(wo){try{return Cr(wo),!0}catch{return!1}},normPrivateKeyToScalar:Cr,randomPrivateKey:()=>{const Vo=function id(I,L,$=!1){const nt=(I=Qn("privateHash",I)).length,xt=La(L).nByteLength+8;if(xt<24||nt1024)throw new Error(`hashToPrivateScalar: expected ${xt}-1024 bytes of input, got ${nt}`);return eo($?Pr(I):ii(I),L-Un)+Un}(L.randomBytes($.BYTES+8),nt);return Ao(Vo,L.nByteLength)},precompute:(wo=8,Vo=sr.BASE)=>(Vo._setWindowSize(wo),Vo.multiply(BigInt(3)),Vo)};function Oo(wo){const Vo=wo instanceof Uint8Array,Hn="string"==typeof wo,Yn=(Vo||Hn)&&wo.length;return Vo?Yn===xt||Yn===Ut:Hn?Yn===2*xt||Yn===2*Ut:wo instanceof sr}const Co=L.bits2int||function(wo){const Vo=ii(wo),Hn=8*wo.length-L.nBitLength;return Hn>0?Vo>>BigInt(Hn):Vo},Go=L.bits2int_modN||function(wo){return Ie(Co(wo))},Uo=Xa(L.nBitLength);function oi(wo){if("bigint"!=typeof wo)throw new Error("bigint expected");if(!(wi<=wo&&wotl in Hn))throw new Error("sign() legacy options not supported");const{hash:Yn,randomBytes:Ai}=L;let{lowS:fa,prehash:qa,extraEntropy:Pa}=Hn;null==fa&&(fa=!0),wo=Qn("msgHash",wo),qa&&(wo=Qn("prehashed msgHash",Yn(wo)));const tc=Go(wo),Cc=Cr(Vo),qc=[oi(Cc),oi(tc)];if(null!=Pa){const tl=!0===Pa?Ai($.BYTES):Pa;qc.push(Qn("extraEntropy",tl,$.BYTES))}const bl=ai(...qc),Jc=tc;return{seed:bl,k2sig:function wl(tl){const Ol=Co(tl);if(!Gr(Ol))return;const fp=We(Ol),Ja=sr.BASE.multiply(Ol).toAffine(),fc=Ie(Ja.x);if(fc===wi)return;const yl=Ie(fp*Ie(Jc+fc*Cc));if(yl===wi)return;let el=(Ja.x===fc?0:2)|Number(Ja.y&Wi),Vd=yl;return fa&&ro(yl)&&(Vd=function Ar(wo){return ro(wo)?Ie(-wo):wo}(yl),el^=1),new Xr(fc,Vd,el)}}}(wo,Vo,Hn);return bi(L.hash.outputLen,L.nByteLength,L.hmac)(Yn,Ai)},verify:function bs(wo,Vo,Hn,Yn=yi){const Ai=wo;if(Vo=Qn("msgHash",Vo),Hn=Qn("publicKey",Hn),"strict"in Yn)throw new Error("options.strict was renamed to lowS");const{lowS:fa,prehash:qa}=Yn;let Pa,tc;try{if("string"==typeof Ai||Ai instanceof Uint8Array)try{Pa=Xr.fromDER(Ai)}catch(Ja){if(!(Ja instanceof hc.Err))throw Ja;Pa=Xr.fromCompact(Ai)}else{if("object"!=typeof Ai||"bigint"!=typeof Ai.r||"bigint"!=typeof Ai.s)throw new Error("PARSE");{const{r:Ja,s:fc}=Ai;Pa=new Xr(Ja,fc)}}tc=sr.fromHex(Hn)}catch(Ja){if("PARSE"===Ja.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(fa&&Pa.hasHighS())return!1;qa&&(Vo=L.hash(Vo));const{r:Cc,s:qc}=Pa,bl=Go(Vo),Jc=We(qc),wl=Ie(bl*Jc),tl=Ie(Cc*Jc),Ol=sr.BASE.multiplyAndAddUnsafe(tc,wl,tl)?.toAffine();return!!Ol&&Ie(Ol.x)===Cc},ProjectivePoint:sr,Signature:Xr,utils:yo}}BigInt(4);class Xc extends vc{constructor(L,$){super(),this.finished=!1,this.destroyed=!1,lt.hash(L);const nt=ba($);if(this.iHash=L.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 xt=this.blockLen,Ut=new Uint8Array(xt);Ut.set(nt.length>xt?L.create().update(nt).digest():nt);for(let pe=0;penew Xc(I,L).update($).digest();function cp(I){return{hash:I,hmac:(L,...$)=>Ws(I,L,function Vs(...I){const L=new Uint8Array(I.reduce((nt,xt)=>nt+xt.length,0));let $=0;return I.forEach(nt=>{if(!Q(nt))throw new Error("Uint8Array expected");L.set(nt,$),$+=nt.length}),L}(...$)),randomBytes:td}}Ws.create=(I,L)=>new Xc(I,L);const qn=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),Do=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),fl=BigInt(1),oa=BigInt(2),R=(I,L)=>(I+L/oa)/L;const F=function As(I,L,$=!1,nt={}){if(I<=di)throw new Error(`Expected Fp ORDER > 0, got ${I}`);const{nBitLength:xt,nByteLength:Ut}=La(I,L);if(Ut>2048)throw new Error("Field lengths over 2048 bytes are not supported");const pe=function ln(I){if(I%rt===Tt){const L=(I+Un)/rt;return function(nt,xt){const Ut=nt.pow(xt,L);if(!nt.eql(nt.sqr(Ut),xt))throw new Error("Cannot find square root");return Ut}}if(I%xe===mt){const L=(I-mt)/xe;return function(nt,xt){const Ut=nt.mul(xt,U),pe=nt.pow(Ut,L),Ie=nt.mul(xt,pe),We=nt.mul(nt.mul(Ie,U),pe),sr=nt.mul(Ie,nt.sub(We,nt.ONE));if(!nt.eql(nt.sqr(sr),xt))throw new Error("Cannot find square root");return sr}}return function No(I){const L=(I-Un)/U;let $,nt,xt;for($=I-Un,nt=0;$%U===di;$/=U,nt++);for(xt=U;xteo(We,I),isValid:We=>{if("bigint"!=typeof We)throw new Error("Invalid field element: expected bigint, got "+typeof We);return di<=We&&WeWe===di,isOdd:We=>(We&Un)===Un,neg:We=>eo(-We,I),eql:(We,sr)=>We===sr,sqr:We=>eo(We*We,I),add:(We,sr)=>eo(We+sr,I),sub:(We,sr)=>eo(We-sr,I),mul:(We,sr)=>eo(We*sr,I),pow:(We,sr)=>function Ni(I,L,$){if($ 0");if($===di)return I.ONE;if($===Un)return L;let nt=I.ONE,xt=L;for(;$>di;)$&Un&&(nt=I.mul(nt,xt)),xt=I.sqr(xt),$>>=Un;return nt}(Ie,We,sr),div:(We,sr)=>eo(We*Dn(sr,I),I),sqrN:We=>We*We,addN:(We,sr)=>We+sr,subN:(We,sr)=>We-sr,mulN:(We,sr)=>We*sr,inv:We=>Dn(We,I),sqrt:nt.sqrt||(We=>pe(Ie,We)),invertBatch:We=>function hs(I,L){const $=new Array(L.length),nt=L.reduce((Ut,pe,Ie)=>I.is0(pe)?Ut:($[Ie]=Ut,I.mul(Ut,pe)),I.ONE),xt=I.inv(nt);return L.reduceRight((Ut,pe,Ie)=>I.is0(pe)?Ut:($[Ie]=I.mul(Ut,$[Ie]),I.mul(Ut,pe)),xt),$}(Ie,We),cmov:(We,sr,Cr)=>Cr?sr:We,toBytes:We=>$?Rn(We,Ut):Ao(We,Ut),fromBytes:We=>{if(We.length!==Ut)throw new Error(`Fp.fromBytes: expected ${Ut}, got ${We.length}`);return $?Pr(We):ii(We)}});return Object.freeze(Ie)}(qn,void 0,void 0,{sqrt:function G(I){const L=qn,$=BigInt(3),nt=BigInt(6),xt=BigInt(11),Ut=BigInt(22),pe=BigInt(23),Ie=BigInt(44),We=BigInt(88),sr=I*I*I%L,Cr=sr*sr*I%L,Qe=In(Cr,$,L)*Cr%L,Gr=In(Qe,$,L)*Cr%L,zr=In(Gr,oa,L)*sr%L,ro=In(zr,xt,L)*zr%L,Ar=In(ro,Ut,L)*ro%L,Vr=In(Ar,Ie,L)*Ar%L,Xr=In(Vr,We,L)*Vr%L,yo=In(Xr,Ie,L)*Ar%L,Ur=In(yo,$,L)*Cr%L,Oo=In(Ur,pe,L)*ro%L,no=In(Oo,nt,L)*sr%L,Co=In(no,oa,L);if(!F.eql(F.sqr(Co),I))throw new Error("Cannot find square root");return Co}}),K=function lp(I,L){const $=nt=>sp({...I,...cp(nt)});return Object.freeze({...$(L),create:$})}({a:BigInt(0),b:BigInt(7),Fp:F,n:Do,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:I=>{const L=Do,$=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),nt=-fl*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),xt=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),Ut=$,pe=BigInt("0x100000000000000000000000000000000"),Ie=R(Ut*I,L),We=R(-nt*I,L);let sr=eo(I-Ie*$-We*xt,L),Cr=eo(-Ie*nt-We*Ut,L);const Qe=sr>pe,Gr=Cr>pe;if(Qe&&(sr=L-sr),Gr&&(Cr=L-Cr),sr>pe||Cr>pe)throw new Error("splitScalar: Endomorphism failed, k="+I);return{k1neg:Qe,k1:sr,k2neg:Gr,k2:Cr}}}},od);BigInt(0);var Yc=o(1998);const Qc=K.ProjectivePoint,dd=(0,Yc.Tq)(Qs);function ud(I){return BigInt(`0x${function ft(I){if(!On(I))throw new Error("Uint8Array expected");let L="";for(let $=0;${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 L=new Uint8Array(4);return Mi(L).setUint32(0,I,!1),L};class Rs{get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return Mi(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 L=this.privateKey;if(!L)throw new Error("No private key");return dd.encode(this.serialize(this.versions.private,Rr(new Uint8Array([0]),L)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return dd.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(L,$=fn){if(cn(L),8*L.length<128||8*L.length>512)throw new Error(`HDKey: wrong seed length=${L.length}. Should be between 128 and 512 bits; 256 bits is advised)`);const nt=Ro(Mo,_r,L);return new Rs({versions:$,chainCode:nt.slice(32),privateKey:nt.slice(0,32)})}static fromExtendedKey(L,$=fn){const nt=dd.decode(L),xt=Mi(nt),Ut=xt.getUint32(0,!1),pe={versions:$,depth:nt[4],parentFingerprint:xt.getUint32(5,!1),index:xt.getUint32(9,!1),chainCode:nt.slice(13,45)},Ie=nt.slice(45),We=0===Ie[0];if(Ut!==$[We?"private":"public"])throw new Error("Version mismatch");return new Rs(We?{...pe,privateKey:Ie.slice(1)}:{...pe,publicKey:Ie})}static fromJSON(L){return Rs.fromExtendedKey(L.xpriv)}constructor(L){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!L||"object"!=typeof L)throw new Error("HDKey.constructor must not be called directly");if(this.versions=L.versions||fn,this.depth=L.depth||0,this.chainCode=L.chainCode,this.index=L.index||0,this.parentFingerprint=L.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(L.publicKey&&L.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(L.privateKey){if(!K.utils.isValidPrivateKey(L.privateKey))throw new Error("Invalid private key");this.privKey="bigint"==typeof L.privateKey?L.privateKey:ud(L.privateKey),this.privKeyBytes=function Js(I){return function me(I){if("string"!=typeof I)throw new Error("hex string expected, got "+typeof I);const L=I.length,$=L/2;if(L%2)throw new Error("padded hex string expected, got unpadded hex of length "+L);const nt=new Uint8Array($);for(let xt=0,Ut=0;xt<$;xt++,Ut+=2){const pe=Ot(I.charCodeAt(Ut)),Ie=Ot(I.charCodeAt(Ut+1));if(void 0===pe||void 0===Ie)throw new Error('hex string expected, got non-hex character "'+(I[Ut]+I[Ut+1])+'" at index '+Ut);nt[xt]=16*pe+Ie}return nt}(I.toString(16).padStart(64,"0"))}(this.privKey),this.pubKey=K.getPublicKey(L.privateKey,!0)}else{if(!L.publicKey)throw new Error("HDKey: no public or private key provided");this.pubKey=Qc.fromHex(L.publicKey).toRawBytes(!0)}this.pubHash=Gi(Qs(this.pubKey))}derive(L){if(!/^[mM]'?/.test(L))throw new Error('Path must start with "m" or "M"');if(/^[mM]'?$/.test(L))return this;const $=L.replace(/^[mM]'?\//,"").split("/");let nt=this;for(const xt of $){const Ut=/^(\d+)('?)$/.exec(xt);if(!Ut||3!==Ut.length)throw new Error(`Invalid child index: ${xt}`);let pe=+Ut[1];if(!Number.isSafeInteger(pe)||pe>=Ml)throw new Error("Invalid index");"'"===Ut[2]&&(pe+=Ml),nt=nt.deriveChild(pe)}return nt}deriveChild(L){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let $=Nc(L);if(L>=Ml){const Ie=this.privateKey;if(!Ie)throw new Error("Could not derive hardened child key");$=Rr(new Uint8Array([0]),Ie,$)}else $=Rr(this.pubKey,$);const nt=Ro(Mo,this.chainCode,$),xt=ud(nt.slice(0,32)),Ut=nt.slice(32);if(!K.utils.isValidPrivateKey(xt))throw new Error("Tweak bigger than curve order");const pe={versions:this.versions,chainCode:Ut,depth:this.depth+1,parentFingerprint:this.fingerprint,index:L};try{if(this.privateKey){const Ie=eo(this.privKey+xt,K.CURVE.n);if(!K.utils.isValidPrivateKey(Ie))throw new Error("The tweak was out of range or the resulted private key is invalid");pe.privateKey=Ie}else{const Ie=Qc.fromHex(this.pubKey).add(Qc.fromPrivateKey(xt));if(Ie.equals(Qc.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");pe.publicKey=Ie.toRawBytes(!0)}return new Rs(pe)}catch{return this.deriveChild(L+1)}}sign(L){if(!this.privateKey)throw new Error("No privateKey set!");return cn(L,32),K.sign(L,this.privKey).toCompactRawBytes()}verify(L,$){if(cn(L,32),cn($,64),!this.publicKey)throw new Error("No publicKey set!");let nt;try{nt=K.Signature.fromCompact($)}catch{return!1}return K.verify(nt,L,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(L,$){if(!this.chainCode)throw new Error("No chainCode set");return cn($,33),Rr(Nc(L),new Uint8Array([this.depth]),Nc(this.parentFingerprint),Nc(this.index),this.chainCode,$)}}var fs=o(3107);let Zc=(()=>{class I{constructor(){this.encoder=new TextEncoder,this.decoder=new TextDecoder}getPasswordKey($){var nt=this;return(0,a.A)(function*(){return window.crypto.subtle.importKey("raw",nt.encoder.encode($),"PBKDF2",!1,["deriveKey"])})()}deriveKey($,nt,xt){return(0,a.A)(function*(){return window.crypto.subtle.deriveKey({name:"PBKDF2",salt:nt,iterations:25e4,hash:"SHA-256"},$,{name:"AES-GCM",length:256},!1,xt)})()}encryptData($,nt){var xt=this;return(0,a.A)(function*(){try{const Ut=window.crypto.getRandomValues(new Uint8Array(16)),pe=window.crypto.getRandomValues(new Uint8Array(12)),Ie=yield xt.getPasswordKey(nt),We=yield xt.deriveKey(Ie,Ut,["encrypt"]),sr=new Uint8Array(yield window.crypto.subtle.encrypt({name:"AES-GCM",iv:pe},We,xt.encoder.encode($))),Cr=new Uint8Array(Ut.length+pe.length+sr.length);return Cr.set(Ut,0),Cr.set(pe,Ut.length),Cr.set(sr,Ut.length+pe.length),Yc.K3.encode(Cr)}catch(Ut){throw console.error("Encryption failed:",Ut),new Error("Failed to encrypt data.")}})()}decryptData($,nt){var xt=this;return(0,a.A)(function*(){try{const Ut=Yc.K3.decode($),pe=Ut.slice(0,16),Ie=Ut.slice(16,28),We=Ut.slice(28),sr=yield xt.getPasswordKey(nt),Cr=yield xt.deriveKey(sr,pe,["decrypt"]),Qe=yield window.crypto.subtle.decrypt({name:"AES-GCM",iv:Ie},Cr,We);return xt.decoder.decode(Qe)}catch(Ut){throw console.error("Decryption failed:",Ut),new Error("Failed to decrypt data.")}})()}static{this.\u0275fac=function(nt){return new(nt||I)}}static{this.\u0275prov=fs.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})();var Za=o(7544),Ec=o(4482);let vu=(()=>{class I{constructor($,nt,xt){this.securityService=$,this.dialog=nt,this._nostrLoginService=xt,this.localStorageSecretKeyName="secretKey",this.localStoragePublicKeyName="publicKey",this.localStorageNpubName="npub",this.localStorageNsecName="nsec",this.storageKey="userPassword"}savePassword($,nt){const xt=Date.now()+60*nt*1e3;sessionStorage.setItem(this.storageKey,JSON.stringify({password:$,expirationTime:xt}))}getPassword(){const $=sessionStorage.getItem(this.storageKey);if(!$)return null;const{password:nt,expirationTime:xt}=JSON.parse($);return Date.now()>xt?(this.clearPassword(),null):nt}clearPassword(){sessionStorage.removeItem(this.storageKey)}changePassword($,nt,xt){var Ut=this;return(0,a.A)(function*(){try{const pe=yield Ut.getSecretKey($);if(!pe)throw new Error("Incorrect current password.");yield Ut.setSecretKey(pe,nt);const Ie=yield Ut.getNsec($);return Ie&&(yield Ut.setNsec(Ie,nt)),Ut.clearPassword(),xt&&Ut.savePassword(nt,60),!0}catch(pe){return console.error("Failed to change password: ",pe),!1}})()}getUsername($){return $.startsWith("npub")&&($=C.Qe.decode($).data.toString()),`@${localStorage.getItem(`${$}`)||C.Qe.npubEncode($)}`}npub(){let $=this.getPublicKey();return C.Qe.npubEncode($)}requestPassword(){var $=this;return(0,a.A)(function*(){return $.dialog.open(y.b,{width:"300px",disableClose:!0}).afterClosed().toPromise()})()}nsec($){var nt=this;return(0,a.A)(function*(){if(nt.usingSecretKey()){let xt=yield nt.getSecretKey($);const Ut=Uint8Array.from(k.hp.from(xt,"hex"));return C.Qe.nsecEncode(Ut)}return""})()}pubkey($){return C.Qe.decode($).data.toString()}setPublicKey($){const nt=C.Qe.npubEncode($);window.localStorage.setItem(this.localStoragePublicKeyName,$),window.localStorage.setItem(this.localStorageNpubName,nt)}getPublicKey(){const $=localStorage.getItem("__nostrlogin_nip46");if($)try{return JSON.parse($).pubkey||""}catch(nt){console.error("Error parsing nostr login data:",nt)}return localStorage.getItem(this.localStoragePublicKeyName)||""}setNpub($){localStorage.setItem(this.localStorageNpubName,$)}getNpub(){return window.localStorage.getItem(this.localStorageNpubName)||""}setSecretKey($,nt=""){var xt=this;return(0,a.A)(function*(){if(""===nt)localStorage.setItem(xt.localStorageSecretKeyName,$),localStorage.setItem("usePassword","false");else{const Ut=yield xt.securityService.encryptData($,nt);localStorage.setItem(xt.localStorageSecretKeyName,Ut),localStorage.setItem("usePassword","true")}})()}getSecretKey($=""){var nt=this;return(0,a.A)(function*(){const xt=localStorage.getItem(nt.localStorageSecretKeyName),Ut="true"===localStorage.getItem("usePassword");return xt?Ut?yield nt.securityService.decryptData(xt,$):xt:null})()}getDecryptedSecretKey(){var $=this;return(0,a.A)(function*(){try{if("true"!==localStorage.getItem("usePassword"))return $.getSecretKey();const xt=$.getPassword();if(xt)return yield $.getSecretKey(xt);const Ut=yield $.requestPassword();if(Ut?.password){const pe=yield $.getSecretKey(Ut.password);return 0!==Ut.duration&&$.savePassword(Ut.password,Ut.duration),pe}return console.error("Password not provided"),null}catch(nt){return console.error("Error decrypting private key:",nt),null}})()}setNsec($,nt=""){var xt=this;return(0,a.A)(function*(){if(""===nt)localStorage.setItem(xt.localStorageNsecName,$),localStorage.setItem("usePassword","false");else{const Ut=yield xt.securityService.encryptData($,nt);localStorage.setItem(xt.localStorageNsecName,Ut),localStorage.setItem("usePassword","true")}})()}getNsec($=""){var nt=this;return(0,a.A)(function*(){const xt=localStorage.getItem(nt.localStorageNsecName),Ut="true"===localStorage.getItem("usePassword");return xt?Ut?yield nt.securityService.decryptData(xt,$):xt:null})()}setPublicKeyFromExtension($){this.setPublicKey($)}handleLoginWithKey($,nt=""){let xt,Ut,pe,Ie;try{if($.startsWith(this.localStorageNsecName)){const sr=C.Qe.decode($);if(sr.type!==this.localStorageNsecName)throw new Error("Invalid nsec key.");xt=k.hp.from(sr.data).toString("hex")}else{if(!/^[0-9a-fA-F]{64}$/.test($))throw new Error("Invalid key format. Must be either nsec or hex.");xt=$}const We=new Uint8Array(k.hp.from(xt,"hex"));return Ut=(0,C.lG)(We),Ie=C.Qe.npubEncode(Ut),pe=C.Qe.nsecEncode(We),this.setSecretKey(xt,nt),this.setNsec(Ie,nt),this.setPublicKey(Ut),this.setNpub(Ie),!0}catch(We){return console.error("Error during key handling: ",We),!1}}handleLoginWithMnemonic($,nt="",xt=""){try{const pe=function Il(I,L,$=0){let xt=Rs.fromMasterSeed(ki(I,L)).derive(`m/44'/1237'/${$}'/0/0`).privateKey;if(!xt)throw new Error("could not derive private key");return xt}($,nt,0),Ie=(0,l.My)(pe),We=(0,C.lG)(pe),sr=C.Qe.npubEncode(We),Cr=C.Qe.nsecEncode(pe);return this.setSecretKey(Ie,xt),this.setNsec(Cr,xt),this.setPublicKey(We),this.setNpub(sr),window.localStorage.setItem(this.localStorageNsecName,Cr),!0}catch(Ut){return console.error("Error during login with mnemonic:",Ut),!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($=""){try{const nt=(0,C.Bq)(),xt=k.hp.from(nt).toString("hex"),Ut=(0,C.lG)(nt),pe=C.Qe.npubEncode(Ut),Ie=C.Qe.nsecEncode(nt);return this.setSecretKey(xt,$),this.setNsec(Ie,$),this.setPublicKey(Ut),this.setNpub(pe),{secretKey:xt,pubkey:Ut,npub:pe,nsec:Ie}}catch(nt){return console.error("Error during key generation:",nt),null}}handleLoginWithExtension(){var $=this;return(0,a.A)(function*(){const nt=globalThis;if(!nt.nostr)return!1;try{const xt=yield nt.nostr.getPublicKey();if(!xt)throw new Error("Public key not available from Nostr extension.");return $.setPublicKeyFromExtension(xt),!0}catch(xt){return console.error("Failed to connect to Nostr extension:",xt),!1}})()}encryptMessage($,nt,xt){return(0,a.A)(function*(){console.log(xt);try{return yield C.sh.encrypt($,nt,xt)}catch(Ut){throw console.error("Error encrypting message:",Ut),Ut}})()}encryptMessageWithExtension($,nt){return(0,a.A)(function*(){return yield globalThis.nostr.nip04.encrypt(nt,$)})()}decryptMessageWithExtension($,nt){return(0,a.A)(function*(){const xt=globalThis;if(xt.nostr&&"function"==typeof xt.nostr.nip04?.decrypt)try{return yield xt.nostr.nip04.decrypt($,nt)}catch(Ut){return console.error("Decryption failed:",Ut),"*Failed to decrypt content: "+Ut.message+"*"}return console.warn("Nostr extension or decrypt method is unavailable"),"Attempted Nostr Window decryption and failed."})()}decryptMessage($,nt,xt){return(0,a.A)(function*(){try{if(!$||!nt||!xt)throw new Error("Private key, public key, or encrypted message is missing or undefined.");const Ut=yield C.sh.decrypt($,nt,xt);if(!Ut)throw new Error("Decryption returned an empty message.");return Ut}catch(Ut){throw Ut}})()}getUnsignedEvent($,nt,xt){return{kind:$,pubkey:this.getPublicKey(),tags:nt,content:xt,created_at:Math.floor(Date.now()/1e3)}}getSignedEvent($,nt){const xt=(0,l.aT)(nt);return(0,C.pC)($,xt)}getMuteList(){return(localStorage.getItem("muteList")||"").split(",")}setMuteListFromTags($){let nt=[];$.forEach(xt=>{nt.push(xt[1])}),this.setMuteList(nt)}setMuteList($){if(0===$.length)localStorage.setItem("muteList","");else{let nt=Array.from(new Set($));localStorage.setItem("muteList",nt.filter(xt=>xt).join(","))}}signEventWithExtension($){return(0,a.A)(function*(){const nt=globalThis;if(nt.nostr)return yield nt.nostr.signEvent($);throw new Error("Tried to sign event with extension but failed")})()}signDMWithExtension($,nt){return(0,a.A)(function*(){const xt=globalThis;if(xt.nostr&&xt.nostr.nip04?.encrypt)return yield xt.nostr.nip04.encrypt($,nt);throw new Error("Failed to Sign with extension")})()}isUsingExtension(){var $=this;return(0,a.A)(function*(){const nt=globalThis;if(nt.nostr&&nt.nostr.getPublicKey)try{return!localStorage.getItem($.localStorageSecretKeyName)}catch(xt){return console.error("Failed to check Nostr extension:",xt),!1}return!1})()}isUsingSecretKey(){return!!localStorage.getItem(this.localStorageSecretKeyName)}getNpubFromPubkey($){try{return C.Qe.npubEncode($)}catch(nt){return console.error("Error converting hex to npub:",nt),""}}getNsecFromSeckey($){try{const nt=Uint8Array.from(k.hp.from($,"hex"));return C.Qe.nsecEncode(nt)}catch(nt){return console.error("Error converting hex to nsec:",nt),""}}getHexFromNpub($){try{const nt=C.Qe.decode($);if("npub"!==nt.type)throw new Error("Invalid npub format.");return nt.data.toString()}catch(nt){return console.error("Error converting npub to hex:",nt),""}}processKey($){try{if($.startsWith("npub")){const nt=this.getHexFromNpub($);if(!nt)throw new Error("Failed to convert npub to hex.");return nt}if(/^[0-9a-fA-F]{64}$/.test($))return $;throw new Error("Invalid key format. Must be either hex or npub.")}catch(nt){return console.error("Error processing key:",nt),""}}static{this.\u0275fac=function(nt){return new(nt||I)(fs.KVO(Zc),fs.KVO(Za.bZ),fs.KVO(Ec.v))}}static{this.\u0275prov=fs.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})()},6433:(i,s,o)=>{"use strict";o.d(s,{d:()=>C});var n=o(3014),a=o(3797),l=o(3107),y=o(5506),k=o(3149);let C=(()=>{class A{constructor(T,O){this.subscriptionService=T,this.storageService=O,this.isProfileLoaded=!1}loadUserProfile(T){var O=this;return(0,n.A)(function*(){O.isProfileLoaded||(yield O.subscribeToUserProfile(T),yield O.subscribeToUserChats(T),yield O.subscribeToUserPosts(T),yield O.subscribeToMyLikes(T),O.isProfileLoaded=!0)})()}subscribeToUserProfile(T){var O=this;return(0,n.A)(function*(){const P=yield O.storageService.getLastUpdateDate("users"),q={kinds:[0],authors:[T],limit:1};P&&(q.since=parseInt(P,10)),O.subscriptionService.addSubscriptions([q],Y=>{const J=O.parseMetadataEvent(Y);O.storageService.saveProfile(T,J)})})()}subscribeToUserChats(T){var O=this;return(0,n.A)(function*(){const P=yield O.storageService.getLastUpdateDate("chats"),q=[{kinds:[a.rV],authors:[T],limit:300},{kinds:[a.rV],"#p":[T],limit:300}];if(P){const Y=parseInt(P,10);q.forEach(J=>J.since=Y)}else O.storageService.removeAllChats();O.subscriptionService.addSubscriptions(q,Y=>{const J=O.parseChatEvent(Y);O.storageService.saveChatEvent(J)})})()}subscribeToUserPosts(T){var O=this;return(0,n.A)(function*(){const P=yield O.storageService.getLastUpdateDate("posts"),q={kinds:[a.av],authors:[T]};P&&(q.since=parseInt(P,10)),O.subscriptionService.addSubscriptions([q],Y=>{O.isReply(Y)||O.storageService.savePost(Y)})})()}isReply(T){return T.tags.filter(P=>"e"===P[0]||"p"===P[0]).length>0}subscribeToMyLikes(T){var O=this;return(0,n.A)(function*(){const P=yield O.storageService.getLastUpdateDate("myLikes"),q={kinds:[a.qT],authors:[T]};P&&(q.since=parseInt(P,10)),O.subscriptionService.addSubscriptions([q],Y=>{O.storageService.saveLike(Y)})})()}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||A)(l.KVO(y.n),l.KVO(k.n))}}static{this.\u0275prov=l.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}}return A})()},3149:(i,s,o)=>{"use strict";o.d(s,{n:()=>C});var n=o(3014),a=o(230),l=o.n(a),y=o(1217),k=o(3107);let C=(()=>{class A{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.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.loadAllChatEventsFromDB(),this.loadAllMyLikesFromDB(),this.loadAllNotificationsFromDB(),this.loadContactStatsFromDB()}createStore(T){return l().createInstance({driver:l().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()}saveProfile(T,O){var P=this;return(0,n.A)(function*(){try{if(!T||!O)return void console.error("Invalid pubKey or metadata:",T,O);O.pubKey=T,yield P.profileStore.setItem(T,O),P.profileSubject.next({pubKey:T,metadata:O}),yield P.setUpdateHistory("profiles")}catch(q){console.error("Error saving profile",q)}})()}getProfile(T){var O=this;return(0,n.A)(function*(){try{return(yield O.profileStore.getItem(T))||null}catch(P){return console.error("Error retrieving profile metadata:",P),null}})()}getAllProfiles(){var T=this;return(0,n.A)(function*(){try{const O=[];return yield T.profileStore.iterate(P=>{O.push(P)}),O}catch(O){return console.error("Error retrieving all Profile:",O),[]}})()}searchProfile(T){var O=this;return(0,n.A)(function*(){try{const P=[],q=T.toLowerCase();return yield O.profileStore.iterate((Y,J)=>{JSON.stringify(Y).toLowerCase().includes(q)&&P.push({pubKey:J,profile:Y})}),P}catch(P){return console.error("Error searching profiles by metadata:",P),[]}})()}getLastUpdateDate(T){var O=this;return(0,n.A)(function*(){try{return(yield O.updateHistoryStore.getItem(T))||null}catch(P){return console.error("Error retrieving last update date:",P),null}})()}saveProject(T){var O=this;return(0,n.A)(function*(){try{yield O.projectsStore.setItem(T.projectIdentifier,T);const P=yield O.getAllProjects();O.projectsSubject.next(P),yield O.setUpdateHistory("projects")}catch(P){console.error("Error saving project:",P)}})()}getProjectsByNostrPubKeys(T){var O=this;return(0,n.A)(function*(){if(!T||0===T.length)return[];const P=[],q=yield O.projectsStore.keys();for(const Y of q){const J=yield O.projectsStore.getItem(Y);J&&T.includes(J.nostrPubKey)&&P.push(J)}return P})()}getAllProjects(){var T=this;return(0,n.A)(function*(){try{const O=[];return yield T.projectsStore.iterate(P=>{O.push(P)}),O}catch(O){return console.error("Error retrieving all projects:",O),[]}})()}getProjectStats(T){var O=this;return(0,n.A)(function*(){try{return(yield O.projectStatsStore.getItem(T))||null}catch(P){return console.error("Error retrieving project stats:",P),null}})()}saveProjectStats(T,O){var P=this;return(0,n.A)(function*(){try{yield P.projectStatsStore.setItem(T,O);const q=yield P.getAllProjectStats();P.projectStatsSubject.next(q),yield P.setUpdateHistory("projectStats")}catch(q){console.error("Error saving project stats:",q)}})()}getAllProjectStats(){var T=this;return(0,n.A)(function*(){try{const O={};return yield T.projectStatsStore.iterate((P,q)=>{O[q]=P}),O}catch(O){return console.error("Error retrieving all project stats:",O),{}}})()}savePost(T){var O=this;return(0,n.A)(function*(){try{yield O.postsStore.setItem(T.id,T),yield O.setUpdateHistory("posts"),O.postsSubject.next(T)}catch(P){console.error("Error saving event type 1 and sending it to clients:",P)}})()}getPostsByPubKey(T){var O=this;return(0,n.A)(function*(){try{const P=[];return yield O.postsStore.iterate(q=>{q.pubkey===T&&1===q.kind&&P.push(q)}),P.sort((q,Y)=>Y.createdAt-q.createdAt)}catch(P){return console.error("Error retrieving events for pubKey:",P),[]}})()}getPostById(T){var O=this;return(0,n.A)(function*(){try{let P=null;return yield O.postsStore.iterate(q=>{if(q.id===T&&1===q.kind)return P=q,P}),P}catch(P){return console.error("Error retrieving post by ID:",P),null}})()}getAllPostsWithPagination(T,O=10){var P=this;return(0,n.A)(function*(){try{const q=[],Y=(T-1)*O;return yield P.postsStore.iterate(J=>{1===J.kind&&q.push(J)}),q.sort((J,ht)=>ht.created_at-J.created_at).slice(Y,Y+O)}catch(q){return console.error("Error retrieving all posts with pagination:",q),[]}})()}getPostsByPubKeysWithPagination(T,O,P=10){var q=this;return(0,n.A)(function*(){try{const Y=[],J=(O-1)*P;return yield q.postsStore.iterate(ht=>{T.includes(ht.pubkey)&&1===ht.kind&&Y.push(ht)}),Y.sort((ht,ct)=>ct.created_at-ht.created_at).slice(J,J+P)}catch(Y){return console.error("Error retrieving events for pubKeys with pagination:",Y),[]}})()}saveLike(T){var O=this;return(0,n.A)(function*(){try{yield O.myLikesStore.setItem(T.id,T);const P=yield O.getAllMyLikes();O.myLikesSubject.next(P),yield O.setUpdateHistory("myLikes")}catch(P){console.error("Error saving like:",P)}})()}getAllMyLikes(){var T=this;return(0,n.A)(function*(){try{const O=[];return yield T.myLikesStore.iterate(P=>{try{const q=P.tags.find(Y=>"e"===Y[0]);q&&O.push(q[1])}catch(q){console.warn("Error parsing like:",P,q)}}),O}catch(O){return console.error("Error retrieving all likes:",O),[]}})()}saveNotification(T){var O=this;return(0,n.A)(function*(){try{yield O.notificationsStore.setItem(T.id,T);const P=yield O.getAllNotifications();O.notificationsSubject.next(P),yield O.setUpdateHistory("notifications")}catch(P){console.error("Error saving notification:",P)}})()}getAllNotifications(){var T=this;return(0,n.A)(function*(){try{const O=[];return yield T.notificationsStore.iterate(P=>{O.push(P)}),O}catch(O){return console.error("Error retrieving all notifications:",O),[]}})()}saveChatEvent(T){var O=this;return(0,n.A)(function*(){try{yield O.chatsStore.setItem(T.id,T),yield O.setUpdateHistory("chats");const P=yield O.getAllChatEvents();O.chatEventsSubject.next(P),O.updateUnreadChatCount(P)}catch(P){console.error("Error saving chat event:",P)}})()}getAllChatEvents(){var T=this;return(0,n.A)(function*(){try{const O=[];return yield T.chatsStore.iterate(P=>{O.push(P)}),O}catch(O){return console.error("Error retrieving all chat events:",O),[]}})()}getChatEventsByPubKey(T){var O=this;return(0,n.A)(function*(){try{const P=[];return yield O.chatsStore.iterate(q=>{const Y=O.getReceiverPubKeyFromTags(q.tags);(q.pubkey===T||Y===T)&&P.push(q)}),P}catch(P){return console.error("Error retrieving chat events by pubkey:",P),[]}})()}updateChatEventReadStatus(T,O){var P=this;return(0,n.A)(function*(){try{const q=yield P.chatsStore.getItem(T);if(q){q.IsRead=O,yield P.chatsStore.setItem(T,q);const Y=yield P.getAllChatEvents();P.chatEventsSubject.next(Y),P.updateUnreadChatCount(Y)}}catch(q){console.error("Error updating chat event read status:",q)}})()}markAllChatEventsAsRead(T){var O=this;return(0,n.A)(function*(){try{yield O.chatsStore.iterate(function(){var q=(0,n.A)(function*(Y,J){const ht=O.getReceiverPubKeyFromTags(Y.tags);(Y.pubkey===T||ht===T)&&!Y.IsRead&&(Y.IsRead=!0,yield O.chatsStore.setItem(J,Y))});return function(Y,J){return q.apply(this,arguments)}}());const P=yield O.getAllChatEvents();O.chatEventsSubject.next(P),O.updateUnreadChatCount(P)}catch(P){console.error("Error marking all chat events as read:",P)}})()}getReceiverPubKeyFromTags(T){for(const O of T)if("p"===O[0]&&O[1])return O[1];return null}updateUnreadChatCount(T){const O=T.filter(P=>!P.IsRead).length;this.unreadChatCountSubject.next(O)}removeAllChats(){var T=this;return(0,n.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,n.A)(function*(){try{const P=Math.floor(Date.now()/1e3);yield O.updateHistoryStore.setItem(T,P)}catch(P){console.error("Error updating history:",P)}})()}loadAllProjectsFromDB(){var T=this;return(0,n.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,n.A)(function*(){try{const O=yield T.getAllProjectStats();T.projectStatsSubject.next(O)}catch(O){console.error("Error loading project stats from DB:",O)}})()}loadAllChatEventsFromDB(){var T=this;return(0,n.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,O=10,P=0){var q=this;return(0,n.A)(function*(){try{const Y=[];return yield q.postsStore.iterate(J=>{T.includes(J.pubkey)&&Y.push(J)}),Y.sort((J,ht)=>ht.created_at-J.created_at).slice(P,P+O)}catch(Y){return console.error("Error retrieving events from DB:",Y),[]}})()}loadPosts(T,O){var P=this;return(0,n.A)(function*(){const Y=10*(O-1),J=yield P.loadPostsFromDB(T,10,Y);J.length>0&&J.forEach(ht=>{P.postsSubject.next(ht)})})()}loadAllMyLikesFromDB(){var T=this;return(0,n.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,n.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,n.A)(function*(){try{let O=0,P=0,q=0;yield T.contactsStore.iterate((Y,J)=>{const[ht]=J.split(":");O++,Y.isFollower?P++:q++}),T.contactStatsSubject.next({totalContacts:O,followersCount:P,followingCount:q})}catch(O){console.error("Error loading contact stats from DB:",O)}})()}static{this.\u0275fac=function(O){return new(O||A)}}static{this.\u0275prov=k.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}}return A})()},5506:(i,s,o)=>{"use strict";o.d(s,{n:()=>ct});var a,n=o(1217),l=new Uint8Array(16);function y(){if(!a&&!(a=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 a(l)}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 S=[],T=0;T<256;++T)S.push((T+256).toString(16).substr(1));const P=function O(pt){var kt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,Et=(S[pt[kt+0]]+S[pt[kt+1]]+S[pt[kt+2]]+S[pt[kt+3]]+"-"+S[pt[kt+4]]+S[pt[kt+5]]+"-"+S[pt[kt+6]]+S[pt[kt+7]]+"-"+S[pt[kt+8]]+S[pt[kt+9]]+"-"+S[pt[kt+10]]+S[pt[kt+11]]+S[pt[kt+12]]+S[pt[kt+13]]+S[pt[kt+14]]+S[pt[kt+15]]).toLowerCase();if(!function C(pt){return"string"==typeof pt&&k.test(pt)}(Et))throw TypeError("Stringified UUID is invalid");return Et},Y=function q(pt,kt,Et){var It=(pt=pt||{}).random||(pt.rng||y)();if(It[6]=15&It[6]|64,It[8]=63&It[8]|128,kt){Et=Et||0;for(var yt=0;yt<16;++yt)kt[Et+yt]=It[yt];return kt}return P(It)};var J=o(3107),ht=o(3125);let ct=(()=>{class pt{constructor(Et){this.relayService=Et,this.subscriptions=new Map,this.activeRelays=[],this.pendingSubscriptions=new Map,this.subscriptionsSubject=new n.t(new Map),this.subscriptions$=this.subscriptionsSubject.asObservable(),this.subscriptionQueue=[],this.isProcessingQueue=!1,this.queueInterval=1e3,this.maxSubscriptionsPerBatch=5,this.debounceInterval=1e3,this.lastActionTimestamp=new Map,this.connectToAllRelays(),this.processSubscriptionQueue()}addSubscriptions(Et,It,yt){const _t=this.findExistingSubscription(Et);if(_t)return _t.callbacks.push(It),_t.id;const at=Y();this.lastActionTimestamp.set(at,Date.now());const st={filter:Et,callbacks:[It],id:at};return this.subscriptions.set(st.id,st),this.subscriptionsSubject.next(this.subscriptions),this.addToQueue(st),st.id}findExistingSubscription(Et){return Array.from(this.subscriptions.values()).find(It=>JSON.stringify(It.filter)===JSON.stringify(Et))}removeSubscriptionById(Et){const It=Date.now(),yt=this.lastActionTimestamp.get(Et);yt&&It-yt{this.subscriptionQueue.length>0&&this.subscriptionQueue.splice(0,this.maxSubscriptionsPerBatch).forEach(yt=>this.subscribeToRelays(yt.filter,yt))},this.queueInterval))}subscribeToRelays(Et,It){0!==this.activeRelays.length?this.relayService.ensureConnectedRelays().then(()=>{const yt=this.relayService.getConnectedRelays();this.relayService.getPool().subscribeMany(yt,Et,{onevent:_t=>{It.callbacks.forEach(at=>at(_t))},onclose:()=>console.log("Subscription closed")})}).catch(yt=>{console.error("Error subscribing to relays:",yt)}):this.pendingSubscriptions.set(It.id,It)}subscribeToAllRelays(){this.pendingSubscriptions.forEach(Et=>{this.subscribeToRelays(Et.filter,Et)}),this.pendingSubscriptions.clear()}connectToAllRelays(){this.relayService.ensureConnectedRelays().then(()=>{this.activeRelays=this.relayService.getConnectedRelays(),this.subscribeToAllRelays()}).catch(Et=>{console.error("Error connecting to relays:",Et)})}clearAllSubscriptions(){this.subscriptions.clear(),this.pendingSubscriptions.clear(),this.subscriptionsSubject.next(new Map)}getSubscriptions(){return Array.from(this.subscriptions.values())}static{this.\u0275fac=function(It){return new(It||pt)(J.KVO(ht.b))}}static{this.\u0275prov=J.jDH({token:pt,factory:pt.\u0275fac,providedIn:"root"})}}return pt})()},2226:(i,s,o)=>{"use strict";o.d(s,{b:()=>Y});var n=o(4460),a=o(936),l=o(9471),y=o(2902),k=o(7544),C=o(6071),A=o(3904),S=o(6389),T=o(4375),O=o(5785),P=o(3107);function q(J,ht){1&J&&(P.j41(0,"mat-error"),P.EFF(1," Password is required "),P.k0s())}let Y=(()=>{class J{constructor(ct,pt,kt){this.fb=ct,this.dialogRef=pt,this.data=kt,this.passwordForm=this.fb.group({password:["",a.k0.required],duration:["0",a.k0.required]})}onCancel(){this.dialogRef.close()}onSubmit(){this.dialogRef.close(this.passwordForm.value)}static{this.\u0275fac=function(pt){return new(pt||J)(P.rXU(a.ok),P.rXU(k.CP),P.rXU(k.Vh))}}static{this.\u0275cmp=P.VBU({type:J,selectors:[["password-dialog"]],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(pt,kt){1&pt&&(P.j41(0,"h1",0),P.EFF(1,"Enter Password"),P.k0s(),P.j41(2,"div",1)(3,"form",2)(4,"mat-form-field",3)(5,"mat-label"),P.EFF(6,"Password"),P.k0s(),P.j41(7,"mat-icon",4),P.EFF(8,"lock"),P.k0s(),P.nrm(9,"input",5),P.DNE(10,q,2,0,"mat-error",6),P.k0s(),P.j41(11,"mat-form-field",7)(12,"mat-label"),P.EFF(13,"Duration"),P.k0s(),P.j41(14,"mat-select",8)(15,"mat-option",9),P.EFF(16,"0 Minute"),P.k0s(),P.j41(17,"mat-option",10),P.EFF(18,"1 Minute"),P.k0s(),P.j41(19,"mat-option",11),P.EFF(20,"5 Minutes"),P.k0s(),P.j41(21,"mat-option",12),P.EFF(22,"10 Minutes"),P.k0s(),P.j41(23,"mat-option",13),P.EFF(24,"1 Hour"),P.k0s()()()()(),P.j41(25,"div",14)(26,"button",15),P.bIt("click",function(){return kt.onCancel()}),P.EFF(27,"Cancel"),P.k0s(),P.j41(28,"button",16),P.bIt("click",function(){return kt.onSubmit()}),P.EFF(29," Submit "),P.k0s()()),2&pt&&(P.R7$(3),P.Y8G("formGroup",kt.passwordForm),P.R7$(),P.Y8G("subscriptSizing","dynamic"),P.R7$(5),P.Y8G("formControlName","password"),P.R7$(),P.Y8G("ngIf",kt.passwordForm.get("password").hasError("required")),P.R7$(18),P.Y8G("disabled",kt.passwordForm.invalid))},dependencies:[O.vg,l.Hl,l.$z,A.m_,A.An,a.YN,a.qT,a.me,a.BC,a.cb,y.wT,C.nJ,C.rl,a.X1,a.j4,a.JD,n.MD,n.bT,T.Ve,C.TL,C.JW,T.VO,C.RG,S.fS,S.fg],styles:[".full-width[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})}}return J})()},770:(i,s,o)=>{"use strict";var n=o(6388),a=o(8716),l=o(3107);let y=(()=>{class w{constructor(){}static{this.\u0275fac=function(b){return new(b||w)}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["app-root"]],decls:1,vars:0,template:function(b,E){1&b&&l.nrm(0,"router-outlet")},dependencies:[a.n3],styles:["[_nghost-%COMP%]{display:flex;flex:1 1 auto;width:100%;height:100%}"]})}}return w})();var k=o(3014);const C=new l.nKC("ANGOR_MOCK_API_DEFAULT_DELAY");var A=o(8915),S=o(1698),T=o(7610),O=o(3016);class P{constructor(g,d){this.url=g,this.delay=d,this._replyCount=0,this._replied=0}get response(){if(this._replyCount>0&&this._replyCount<=this._replied)return(0,A.$)(()=>new Error("Execution limit has been reached!"));if(!this._reply)return(0,A.$)(()=>new Error("Response callback function does not exist!"));if(!this.request)return(0,A.$)(()=>new Error("Request does not exist!"));this._replied++;const g=this._reply({request:this.request,urlParams:this.urlParams});return g instanceof S.c?g.pipe((0,T.s)(1)):(0,O.of)(g).pipe((0,T.s)(1))}reply(g){this._reply=g}replyCount(g){this._replyCount=g}}var q=o(6143);let Y=(()=>{class w{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,b){const E={handler:void 0,urlParams:{}},V=b.split("/"),tt=this._handlers[d.toLowerCase()];for(const[bt,Kt]of tt){const ye=bt.split("/");if(V.length===ye.length&&ye.every((mr,bo)=>mr.startsWith(":")||mr===V[bo])){E.handler=Kt,E.urlParams=(0,q.A)(ye.map((mr,bo)=>mr.startsWith(":")?[mr.substring(1),V[bo]]:void 0).filter(Boolean));break}}return E}onGet(d,b){return this._registerHandler("get",d,b)}onPost(d,b){return this._registerHandler("post",d,b)}onPatch(d,b){return this._registerHandler("patch",d,b)}onDelete(d,b){return this._registerHandler("delete",d,b)}onPut(d,b){return this._registerHandler("put",d,b)}onHead(d,b){return this._registerHandler("head",d,b)}onJsonp(d,b){return this._registerHandler("jsonp",d,b)}onOptions(d,b){return this._registerHandler("options",d,b)}_registerHandler(d,b,E){const V=new P(b,E);return this._handlers[d].set(b,V),V}static{this.\u0275fac=function(b){return new(b||w)}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();var J=o(7691),ht=o(8136),ct=o(2867);const pt=(w,g)=>{const d=(0,l.WQX)(C),b=(0,l.WQX)(Y),{handler:E,urlParams:V}=b.findHandler(w.method.toUpperCase(),w.url);return E?(E.request=w,E.urlParams=V,E.response.pipe((0,ht.c)(E.delay??d??0),(0,ct.n)(tt=>{if(!tt)return(0,A.$)(()=>new J.yz({error:"NOT FOUND",status:404,statusText:"NOT FOUND"}));const bt={status:tt[0],body:tt[1]};return bt.status>=200&&bt.status<300?(0,O.of)(new J.cS({body:bt.body,status:bt.status,statusText:"OK"})):(0,A.$)(()=>new J.yz({error:bt.body?.error,status:bt.status,statusText:"ERROR"}))}))):g(w)};var kt=o(7891),Et=o(7153),It=o(1217);let yt=(()=>{class w{constructor(){this._auto$=new It.t(!0),this._mode$=new It.t("indeterminate"),this._progress$=new It.t(0),this._show$=new It.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,b){b?(!0===d?(this._urlMap.set(b,d),this._show$.next(!0)):!1===d&&this._urlMap.has(b)&&this._urlMap.delete(b),0===this._urlMap.size&&this._show$.next(!1)):console.error("The request URL must be provided!")}static{this.\u0275fac=function(b){return new(b||w)}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();var _t=o(4447);const at=(w,g)=>{const d=(0,l.WQX)(yt);let b=!1;return d.auto$.pipe((0,T.s)(1)).subscribe(E=>{b=E}),b?(d._setLoadingStatus(!0,w.url),g(w).pipe((0,_t.j)(()=>{d._setLoadingStatus(!1,w.url)}))):g(w)};var st=o(2012),vt=o(2147);let Pt=(()=>{class w{constructor(){this._platform=(0,l.WQX)(vt.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(b){return new(b||w)}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();var ae=o(4460),le=o(1483);let ve=(()=>{class w{constructor(){this._document=(0,l.WQX)(ae.qQ),this._router=(0,l.WQX)(a.Ix),this._router.events.pipe((0,le.p)(d=>d instanceof a.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(b){return new(b||w)}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();var se=o(3939),or=o(2902),fr=o(7544),yr=o(6071);class wr extends Error{}class Qt extends wr{constructor(g){super(`Invalid DateTime: ${g.toMessage()}`)}}class be extends wr{constructor(g){super(`Invalid Interval: ${g.toMessage()}`)}}class Ht extends wr{constructor(g){super(`Invalid Duration: ${g.toMessage()}`)}}class Bt extends wr{}class Fe extends wr{constructor(g){super(`Invalid unit ${g}`)}}class zt extends wr{}class Yt extends wr{constructor(){super("Zone is an abstract class")}}const oe="numeric",Oe="short",$e="long",Dt={year:oe,month:oe,day:oe},wt={year:oe,month:Oe,day:oe},ie={year:oe,month:Oe,day:oe,weekday:Oe},Xe={year:oe,month:$e,day:oe},Te={year:oe,month:$e,day:oe,weekday:$e},Ke={hour:oe,minute:oe},re={hour:oe,minute:oe,second:oe},Ve={hour:oe,minute:oe,second:oe,timeZoneName:Oe},tr={hour:oe,minute:oe,second:oe,timeZoneName:$e},Tr={hour:oe,minute:oe,hourCycle:"h23"},Wr={hour:oe,minute:oe,second:oe,hourCycle:"h23"},Lo={hour:oe,minute:oe,second:oe,hourCycle:"h23",timeZoneName:Oe},Or={hour:oe,minute:oe,second:oe,hourCycle:"h23",timeZoneName:$e},fo={year:oe,month:oe,day:oe,hour:oe,minute:oe},cr={year:oe,month:oe,day:oe,hour:oe,minute:oe,second:oe},Lt={year:oe,month:Oe,day:oe,hour:oe,minute:oe},At={year:oe,month:Oe,day:oe,hour:oe,minute:oe,second:oe},Zt={year:oe,month:Oe,day:oe,weekday:Oe,hour:oe,minute:oe},W={year:oe,month:$e,day:oe,hour:oe,minute:oe,timeZoneName:Oe},N={year:oe,month:$e,day:oe,hour:oe,minute:oe,second:oe,timeZoneName:Oe},z={year:oe,month:$e,day:oe,weekday:$e,hour:oe,minute:oe,timeZoneName:$e},Rt={year:oe,month:$e,day:oe,weekday:$e,hour:oe,minute:oe,second:oe,timeZoneName:$e};class ue{get type(){throw new Yt}get name(){throw new Yt}get ianaName(){return this.name}get isUniversal(){throw new Yt}offsetName(g,d){throw new Yt}formatOffset(g,d){throw new Yt}offset(g){throw new Yt}equals(g){throw new Yt}get isValid(){throw new Yt}}let he=null;class Se extends ue{static get instance(){return null===he&&(he=new Se),he}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(g,{format:d,locale:b}){return co(g,d,b)}formatOffset(g,d){return cs(this.offset(g),d)}offset(g){return-new Date(g).getTimezoneOffset()}equals(g){return"system"===g.type}get isValid(){return!0}}let Sr={};const dr={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let xr={};class zo extends ue{static create(g){return xr[g]||(xr[g]=new zo(g)),xr[g]}static resetCache(){xr={},Sr={}}static isValidSpecifier(g){return this.isValidZone(g)}static isValidZone(g){if(!g)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:g}).format(),!0}catch{return!1}}constructor(g){super(),this.zoneName=g,this.valid=zo.isValidZone(g)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(g,{format:d,locale:b}){return co(g,d,b,this.name)}formatOffset(g,d){return cs(this.offset(g),d)}offset(g){const d=new Date(g);if(isNaN(d))return NaN;const b=function ar(w){return Sr[w]||(Sr[w]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:w,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Sr[w]}(this.name);let[E,V,tt,bt,Kt,ye,lr]=b.formatToParts?function ao(w,g){const d=w.formatToParts(g),b=[];for(let E=0;E=0?go:1e3+go,(Xi({year:E,month:V,day:tt,hour:24===Kt?0:Kt,minute:ye,second:lr,millisecond:0})-to)/6e4}equals(g){return"iana"===g.type&&g.name===this.name}get isValid(){return this.valid}}let To={},we={};function ze(w,g={}){const d=JSON.stringify([w,g]);let b=we[d];return b||(b=new Intl.DateTimeFormat(w,g),we[d]=b),b}let Mt={},$t={},ce=null,vr={};function Je(w,g,d,b){const E=w.listingMode();return"error"===E?null:"en"===E?d(g):b(g)}class te{constructor(g,d,b){this.padTo=b.padTo||0,this.floor=b.floor||!1;const{padTo:E,floor:V,...tt}=b;if(!d||Object.keys(tt).length>0){const bt={useGrouping:!1,...b};b.padTo>0&&(bt.minimumIntegerDigits=b.padTo),this.inf=function Wt(w,g={}){const d=JSON.stringify([w,g]);let b=Mt[d];return b||(b=new Intl.NumberFormat(w,g),Mt[d]=b),b}(g,bt)}}format(g){if(this.inf){const d=this.floor?Math.floor(g):g;return this.inf.format(d)}return gi(this.floor?Math.floor(g):Ca(g,3),this.padTo)}}class Re{constructor(g,d,b){let E;if(this.opts=b,this.originalZone=void 0,this.opts.timeZone)this.dt=g;else if("fixed"===g.zone.type){const tt=g.offset/60*-1,bt=tt>=0?`Etc/GMT+${tt}`:`Etc/GMT${tt}`;0!==g.offset&&zo.create(bt).valid?(E=bt,this.dt=g):(E="UTC",this.dt=0===g.offset?g:g.setZone("UTC").plus({minutes:g.offset}),this.originalZone=g.zone)}else"system"===g.zone.type?this.dt=g:"iana"===g.zone.type?(this.dt=g,E=g.zone.name):(E="UTC",this.dt=g.setZone("UTC").plus({minutes:g.offset}),this.originalZone=g.zone);const V={...this.opts};V.timeZone=V.timeZone||E,this.dtf=ze(d,V)}format(){return this.originalZone?this.formatToParts().map(({value:g})=>g).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const g=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?g.map(d=>{if("timeZoneName"===d.type){const b=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...d,value:b}}return d}):g}resolvedOptions(){return this.dtf.resolvedOptions()}}class ir{constructor(g,d,b){this.opts={style:"long",...b},!d&&Pn()&&(this.rtf=function Ce(w,g={}){const{base:d,...b}=g,E=JSON.stringify([w,b]);let V=$t[E];return V||(V=new Intl.RelativeTimeFormat(w,g),$t[E]=V),V}(g,b))}format(g,d){return this.rtf?this.rtf.format(g,d):function et(w,g,d="always",b=!1){const E={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(w);if("auto"===d&&V){const mr="days"===w;switch(g){case 1:return mr?"tomorrow":`next ${E[w][0]}`;case-1:return mr?"yesterday":`last ${E[w][0]}`;case 0:return mr?"today":`this ${E[w][0]}`}}const tt=Object.is(g,-0)||g<0,bt=Math.abs(g),Kt=1===bt,ye=E[w],lr=b?Kt?ye[1]:ye[2]||ye[1]:Kt?E[w][0]:w;return tt?`${bt} ${lr} ago`:`in ${bt} ${lr}`}(d,g,this.opts.numeric,"long"!==this.opts.style)}formatToParts(g,d){return this.rtf?this.rtf.formatToParts(g,d):[]}}const gr={firstDay:1,minimalDays:4,weekend:[6,7]};class po{static fromOpts(g){return po.create(g.locale,g.numberingSystem,g.outputCalendar,g.weekSettings,g.defaultToEN)}static create(g,d,b,E,V=!1){const tt=g||Ot.defaultLocale,bt=tt||(V?"en-US":function Be(){return ce||(ce=(new Intl.DateTimeFormat).resolvedOptions().locale,ce)}()),Kt=d||Ot.defaultNumberingSystem,ye=b||Ot.defaultOutputCalendar,lr=Ri(E)||Ot.defaultWeekSettings;return new po(bt,Kt,ye,lr,tt)}static resetCache(){ce=null,we={},Mt={},$t={}}static fromObject({locale:g,numberingSystem:d,outputCalendar:b,weekSettings:E}={}){return po.create(g,d,b,E)}constructor(g,d,b,E,V){const[tt,bt,Kt]=function ko(w){const g=w.indexOf("-x-");-1!==g&&(w=w.substring(0,g));const d=w.indexOf("-u-");if(-1===d)return[w];{let b,E;try{b=ze(w).resolvedOptions(),E=w}catch{const Kt=w.substring(0,d);b=ze(Kt).resolvedOptions(),E=Kt}const{numberingSystem:V,calendar:tt}=b;return[E,V,tt]}}(g);this.locale=tt,this.numberingSystem=d||bt||null,this.outputCalendar=b||Kt||null,this.weekSettings=E,this.intl=function sn(w,g,d){return(d||g)&&(w.includes("-u-")||(w+="-u"),d&&(w+=`-ca-${d}`),g&&(w+=`-nu-${g}`)),w}(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 Ae(w){return(!w.numberingSystem||"latn"===w.numberingSystem)&&("latn"===w.numberingSystem||!w.locale||w.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(w.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(g){return g&&0!==Object.getOwnPropertyNames(g).length?po.create(g.locale||this.specifiedLocale,g.numberingSystem||this.numberingSystem,g.outputCalendar||this.outputCalendar,Ri(g.weekSettings)||this.weekSettings,g.defaultToEN||!1):this}redefaultToEN(g={}){return this.clone({...g,defaultToEN:!0})}redefaultToSystem(g={}){return this.clone({...g,defaultToEN:!1})}months(g,d=!1){return Je(this,g,Aa,()=>{const b=d?{month:g,day:"numeric"}:{month:g},E=d?"format":"standalone";return this.monthsCache[E][g]||(this.monthsCache[E][g]=function hn(w){const g=[];for(let d=1;d<=12;d++){const b=Bo.utc(2009,d,1);g.push(w(b))}return g}(V=>this.extract(V,b,"month"))),this.monthsCache[E][g]})}weekdays(g,d=!1){return Je(this,g,ci,()=>{const b=d?{weekday:g,year:"numeric",month:"long",day:"numeric"}:{weekday:g},E=d?"format":"standalone";return this.weekdaysCache[E][g]||(this.weekdaysCache[E][g]=function Zn(w){const g=[];for(let d=1;d<=7;d++){const b=Bo.utc(2016,11,13+d);g.push(w(b))}return g}(V=>this.extract(V,b,"weekday"))),this.weekdaysCache[E][g]})}meridiems(){return Je(this,void 0,()=>ga,()=>{if(!this.meridiemCache){const g={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Bo.utc(2016,11,13,9),Bo.utc(2016,11,13,19)].map(d=>this.extract(d,g,"dayperiod"))}return this.meridiemCache})}eras(g){return Je(this,g,ds,()=>{const d={era:g};return this.eraCache[g]||(this.eraCache[g]=[Bo.utc(-40,1,1),Bo.utc(2017,1,1)].map(b=>this.extract(b,d,"era"))),this.eraCache[g]})}extract(g,d,b){const tt=this.dtFormatter(g,d).formatToParts().find(bt=>bt.type.toLowerCase()===b);return tt?tt.value:null}numberFormatter(g={}){return new te(this.intl,g.forceSimple||this.fastNumbers,g)}dtFormatter(g,d={}){return new Re(g,this.intl,d)}relFormatter(g={}){return new ir(this.intl,this.isEnglish(),g)}listFormatter(g={}){return function Ho(w,g={}){const d=JSON.stringify([w,g]);let b=To[d];return b||(b=new Intl.ListFormat(w,g),To[d]=b),b}(this.intl,g)}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:_n()?function qr(w){let g=vr[w];if(!g){const d=new Intl.Locale(w);g="getWeekInfo"in d?d.getWeekInfo():d.weekInfo,vr[w]=g}return g}(this.locale):gr}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(g){return this.locale===g.locale&&this.numberingSystem===g.numberingSystem&&this.outputCalendar===g.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let ki=null;class Ln extends ue{static get utcInstance(){return null===ki&&(ki=new Ln(0)),ki}static instance(g){return 0===g?Ln.utcInstance:new Ln(g)}static parseSpecifier(g){if(g){const d=g.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(d)return new Ln(Da(d[1],d[2]))}return null}constructor(g){super(),this.fixed=g}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${cs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${cs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(g,d){return cs(this.fixed,d)}get isUniversal(){return!0}offset(){return this.fixed}equals(g){return"fixed"===g.type&&g.fixed===this.fixed}get isValid(){return!0}}class ua extends ue{constructor(g){super(),this.zoneName=g}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 $i(w,g){if(Fo(w)||null===w)return g;if(w instanceof ue)return w;if(function Wa(w){return"string"==typeof w}(w)){const b=w.toLowerCase();return"default"===b?g:"local"===b||"system"===b?Se.instance:"utc"===b||"gmt"===b?Ln.utcInstance:Ln.parseSpecifier(b)||zo.create(w)}return Ei(w)?Ln.instance(w):"object"==typeof w&&"offset"in w&&"function"==typeof w.offset?w:new ua(w)}const cn={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"},qi={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]},pi=cn.hanidec.replace(/[\[|\]]/g,"").split("");let Fi={};function si({numberingSystem:w},g=""){const d=w||"latn";return Fi[d]||(Fi[d]={}),Fi[d][g]||(Fi[d][g]=new RegExp(`${cn[d]}${g}`)),Fi[d][g]}let ft,hi=()=>Date.now(),On="system",Mi=null,Jt=null,ke=null,de=60,Gt=null;class Ot{static get now(){return hi}static set now(g){hi=g}static set defaultZone(g){On=g}static get defaultZone(){return $i(On,Se.instance)}static get defaultLocale(){return Mi}static set defaultLocale(g){Mi=g}static get defaultNumberingSystem(){return Jt}static set defaultNumberingSystem(g){Jt=g}static get defaultOutputCalendar(){return ke}static set defaultOutputCalendar(g){ke=g}static get defaultWeekSettings(){return Gt}static set defaultWeekSettings(g){Gt=Ri(g)}static get twoDigitCutoffYear(){return de}static set twoDigitCutoffYear(g){de=g%100}static get throwOnInvalid(){return ft}static set throwOnInvalid(g){ft=g}static resetCaches(){po.resetCache(),zo.resetCache(),Bo.resetCache(),function is(){Fi={}}()}}class me{constructor(g,d){this.reason=g,this.explanation=d}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const He=[0,31,59,90,120,151,181,212,243,273,304,334],Me=[0,31,60,91,121,152,182,213,244,274,305,335];function ur(w,g){return new me("unit out of range",`you specified ${g} (of type ${typeof g}) as a ${w}, which is invalid`)}function Er(w,g,d){const b=new Date(Date.UTC(w,g-1,d));w<100&&w>=0&&b.setUTCFullYear(b.getUTCFullYear()-1900);const E=b.getUTCDay();return 0===E?7:E}function kr(w,g,d){return d+(fi(w)?Me:He)[g-1]}function Rr(w,g){const d=fi(w)?Me:He,b=d.findIndex(V=>Vmi(b,g,d)?(ye=b+1,Kt=1):ye=b,{weekYear:ye,weekNumber:Kt,weekday:bt,...ca(w)}}function so(w,g=4,d=1){const{weekYear:b,weekNumber:E,weekday:V}=w,tt=$r(Er(b,1,g),d),bt=ni(b);let ye,Kt=7*E+V-tt-7+g;Kt<1?(ye=b-1,Kt+=ni(ye)):Kt>bt?(ye=b+1,Kt-=ni(b)):ye=b;const{month:lr,day:mr}=Rr(ye,Kt);return{year:ye,month:lr,day:mr,...ca(w)}}function xo(w){const{year:g,month:d,day:b}=w;return{year:g,ordinal:kr(g,d,b),...ca(w)}}function Eo(w){const{year:g,ordinal:d}=w,{month:b,day:E}=Rr(g,d);return{year:g,month:b,day:E,...ca(w)}}function bn(w,g){if(Fo(w.localWeekday)&&Fo(w.localWeekNumber)&&Fo(w.localWeekYear))return{minDaysInFirstWeek:4,startOfWeek:1};if(!Fo(w.weekday)||!Fo(w.weekNumber)||!Fo(w.weekYear))throw new Bt("Cannot mix locale-based week fields with ISO-based week fields");return Fo(w.localWeekday)||(w.weekday=w.localWeekday),Fo(w.localWeekNumber)||(w.weekNumber=w.localWeekNumber),Fo(w.localWeekYear)||(w.weekYear=w.localWeekYear),delete w.localWeekday,delete w.localWeekNumber,delete w.localWeekYear,{minDaysInFirstWeek:g.getMinDaysInFirstWeek(),startOfWeek:g.getStartOfWeek()}}function Ro(w){const g=ta(w.year),d=pa(w.month,1,12),b=pa(w.day,1,ha(w.year,w.month));return g?d?!b&&ur("day",w.day):ur("month",w.month):ur("year",w.year)}function Qo(w){const{hour:g,minute:d,second:b,millisecond:E}=w,V=pa(g,0,23)||24===g&&0===d&&0===b&&0===E,tt=pa(d,0,59),bt=pa(b,0,59),Kt=pa(E,0,999);return V?tt?bt?!Kt&&ur("millisecond",E):ur("second",b):ur("minute",d):ur("hour",g)}function Fo(w){return typeof w>"u"}function Ei(w){return"number"==typeof w}function ta(w){return"number"==typeof w&&w%1==0}function Pn(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function _n(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function Ka(w,g,d){if(0!==w.length)return w.reduce((b,E)=>{const V=[g(E),E];return b&&d(b[0],V[0])===b[0]?b:V},null)[1]}function Ea(w,g){return Object.prototype.hasOwnProperty.call(w,g)}function Ri(w){if(null==w)return null;if("object"!=typeof w)throw new zt("Week settings must be an object");if(!pa(w.firstDay,1,7)||!pa(w.minimalDays,1,7)||!Array.isArray(w.weekend)||w.weekend.some(g=>!pa(g,1,7)))throw new zt("Invalid week settings");return{firstDay:w.firstDay,minimalDays:w.minimalDays,weekend:Array.from(w.weekend)}}function pa(w,g,d){return ta(w)&&w>=g&&w<=d}function gi(w,g=2){let b;return b=w<0?"-"+(""+-w).padStart(g,"0"):(""+w).padStart(g,"0"),b}function Gi(w){if(!Fo(w)&&null!==w&&""!==w)return parseInt(w,10)}function Ra(w){if(!Fo(w)&&null!==w&&""!==w)return parseFloat(w)}function Xo(w){if(!Fo(w)&&null!==w&&""!==w){const g=1e3*parseFloat("0."+w);return Math.floor(g)}}function Ca(w,g,d=!1){const b=10**g;return(d?Math.trunc:Math.round)(w*b)/b}function fi(w){return w%4==0&&(w%100!=0||w%400==0)}function ni(w){return fi(w)?366:365}function ha(w,g){const d=function Ki(w,g){return w-g*Math.floor(w/g)}(g-1,12)+1;return 2===d?fi(w+(g-d)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][d-1]}function Xi(w){let g=Date.UTC(w.year,w.month-1,w.day,w.hour,w.minute,w.second,w.millisecond);return w.year<100&&w.year>=0&&(g=new Date(g),g.setUTCFullYear(w.year,w.month-1,w.day)),+g}function Qs(w,g,d){return-$r(Er(w,1,g),d)+g-1}function mi(w,g=4,d=1){const b=Qs(w,g,d),E=Qs(w+1,g,d);return(ni(w)-b+E)/7}function Ci(w){return w>99?w:w>Ot.twoDigitCutoffYear?1900+w:2e3+w}function co(w,g,d,b=null){const E=new Date(w),V={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};b&&(V.timeZone=b);const tt={timeZoneName:g,...V},bt=new Intl.DateTimeFormat(d,tt).formatToParts(E).find(Kt=>"timezonename"===Kt.type.toLowerCase());return bt?bt.value:null}function Da(w,g){let d=parseInt(w,10);Number.isNaN(d)&&(d=0);const b=parseInt(g,10)||0;return 60*d+(d<0||Object.is(d,-0)?-b:b)}function Ga(w){const g=Number(w);if("boolean"==typeof w||""===w||Number.isNaN(g))throw new zt(`Invalid unit value ${w}`);return g}function ma(w,g){const d={};for(const b in w)if(Ea(w,b)){const E=w[b];if(null==E)continue;d[g(b)]=Ga(E)}return d}function cs(w,g){const d=Math.trunc(Math.abs(w/60)),b=Math.trunc(Math.abs(w%60)),E=w>=0?"+":"-";switch(g){case"short":return`${E}${gi(d,2)}:${gi(b,2)}`;case"narrow":return`${E}${d}${b>0?`:${b}`:""}`;case"techie":return`${E}${gi(d,2)}${gi(b,2)}`;default:throw new RangeError(`Value format ${g} is out of range for property format`)}}function ca(w){return function Ii(w,g){return g.reduce((d,b)=>(d[b]=w[b],d),{})}(w,["hour","minute","second","millisecond"])}const cc=["January","February","March","April","May","June","July","August","September","October","November","December"],ls=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Sa=["J","F","M","A","M","J","J","A","S","O","N","D"];function Aa(w){switch(w){case"narrow":return[...Sa];case"short":return[...ls];case"long":return[...cc];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 Na=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Di=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Bi=["M","T","W","T","F","S","S"];function ci(w){switch(w){case"narrow":return[...Bi];case"short":return[...Di];case"long":return[...Na];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ga=["AM","PM"],Cs=["Before Christ","Anno Domini"],Ta=["BC","AD"],Ua=["B","A"];function ds(w){switch(w){case"narrow":return[...Ua];case"short":return[...Ta];case"long":return[...Cs];default:return null}}function Ee(w,g){let d="";for(const b of w)d+=b.literal?b.val:g(b.val);return d}const Fr={D:Dt,DD:wt,DDD:Xe,DDDD:Te,t:Ke,tt:re,ttt:Ve,tttt:tr,T:Tr,TT:Wr,TTT:Lo,TTTT:Or,f:fo,ff:Lt,fff:W,ffff:z,F:cr,FF:At,FFF:N,FFFF:Rt};class Ir{static create(g,d={}){return new Ir(g,d)}static parseFormat(g){let d=null,b="",E=!1;const V=[];for(let tt=0;tt0&&V.push({literal:E||/^\s+$/.test(b),val:b}),d=null,b="",E=!E):E||bt===d?b+=bt:(b.length>0&&V.push({literal:/^\s+$/.test(b),val:b}),b=bt,d=bt)}return b.length>0&&V.push({literal:E||/^\s+$/.test(b),val:b}),V}static macroTokenToFormatOpts(g){return Fr[g]}constructor(g,d){this.opts=d,this.loc=g,this.systemLoc=null}formatWithSystemDefault(g,d){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(g,{...this.opts,...d}).format()}dtFormatter(g,d={}){return this.loc.dtFormatter(g,{...this.opts,...d})}formatDateTime(g,d){return this.dtFormatter(g,d).format()}formatDateTimeParts(g,d){return this.dtFormatter(g,d).formatToParts()}formatInterval(g,d){return this.dtFormatter(g.start,d).dtf.formatRange(g.start.toJSDate(),g.end.toJSDate())}resolvedOptions(g,d){return this.dtFormatter(g,d).resolvedOptions()}num(g,d=0){if(this.opts.forceSimple)return gi(g,d);const b={...this.opts};return d>0&&(b.padTo=d),this.loc.numberFormatter(b).format(g)}formatDateTimeFromString(g,d){const b="en"===this.loc.listingMode(),E=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,V=(to,go)=>this.loc.extract(g,to,go),tt=to=>g.isOffsetFixed&&0===g.offset&&to.allowZ?"Z":g.isValid?g.zone.formatOffset(g.ts,to.format):"",Kt=(to,go)=>b?function Z(w,g){return Aa(g)[w.month-1]}(g,to):V(go?{month:to}:{month:to,day:"numeric"},"month"),ye=(to,go)=>b?function Ds(w,g){return ci(g)[w.weekday-1]}(g,to):V(go?{weekday:to}:{weekday:to,month:"long",day:"numeric"},"weekday"),lr=to=>{const go=Ir.macroTokenToFormatOpts(to);return go?this.formatWithSystemDefault(g,go):to},mr=to=>b?function qt(w,g){return ds(g)[w.year<0?0:1]}(g,to):V({era:to},"era");return Ee(Ir.parseFormat(d),to=>{switch(to){case"S":return this.num(g.millisecond);case"u":case"SSS":return this.num(g.millisecond,3);case"s":return this.num(g.second);case"ss":return this.num(g.second,2);case"uu":return this.num(Math.floor(g.millisecond/10),2);case"uuu":return this.num(Math.floor(g.millisecond/100));case"m":return this.num(g.minute);case"mm":return this.num(g.minute,2);case"h":return this.num(g.hour%12==0?12:g.hour%12);case"hh":return this.num(g.hour%12==0?12:g.hour%12,2);case"H":return this.num(g.hour);case"HH":return this.num(g.hour,2);case"Z":return tt({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return tt({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return tt({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return g.zone.offsetName(g.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return g.zone.offsetName(g.ts,{format:"long",locale:this.loc.locale});case"z":return g.zoneName;case"a":return b?function Bs(w){return ga[w.hour<12?0:1]}(g):V({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return E?V({day:"numeric"},"day"):this.num(g.day);case"dd":return E?V({day:"2-digit"},"day"):this.num(g.day,2);case"c":case"E":return this.num(g.weekday);case"ccc":return ye("short",!0);case"cccc":return ye("long",!0);case"ccccc":return ye("narrow",!0);case"EEE":return ye("short",!1);case"EEEE":return ye("long",!1);case"EEEEE":return ye("narrow",!1);case"L":return E?V({month:"numeric",day:"numeric"},"month"):this.num(g.month);case"LL":return E?V({month:"2-digit",day:"numeric"},"month"):this.num(g.month,2);case"LLL":return Kt("short",!0);case"LLLL":return Kt("long",!0);case"LLLLL":return Kt("narrow",!0);case"M":return E?V({month:"numeric"},"month"):this.num(g.month);case"MM":return E?V({month:"2-digit"},"month"):this.num(g.month,2);case"MMM":return Kt("short",!1);case"MMMM":return Kt("long",!1);case"MMMMM":return Kt("narrow",!1);case"y":return E?V({year:"numeric"},"year"):this.num(g.year);case"yy":return E?V({year:"2-digit"},"year"):this.num(g.year.toString().slice(-2),2);case"yyyy":return E?V({year:"numeric"},"year"):this.num(g.year,4);case"yyyyyy":return E?V({year:"numeric"},"year"):this.num(g.year,6);case"G":return mr("short");case"GG":return mr("long");case"GGGGG":return mr("narrow");case"kk":return this.num(g.weekYear.toString().slice(-2),2);case"kkkk":return this.num(g.weekYear,4);case"W":return this.num(g.weekNumber);case"WW":return this.num(g.weekNumber,2);case"n":return this.num(g.localWeekNumber);case"nn":return this.num(g.localWeekNumber,2);case"ii":return this.num(g.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(g.localWeekYear,4);case"o":return this.num(g.ordinal);case"ooo":return this.num(g.ordinal,3);case"q":return this.num(g.quarter);case"qq":return this.num(g.quarter,2);case"X":return this.num(Math.floor(g.ts/1e3));case"x":return this.num(g.ts);default:return lr(to)}})}formatDurationFromString(g,d){const b=Kt=>{switch(Kt[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=Ir.parseFormat(d),tt=V.reduce((Kt,{literal:ye,val:lr})=>ye?Kt:Kt.concat(lr),[]);return Ee(V,(Kt=>ye=>{const lr=b(ye);return lr?this.num(Kt.get(lr),ye.length):ye})(g.shiftTo(...tt.map(b).filter(Kt=>Kt))))}}const Hr=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Qr(...w){const g=w.reduce((d,b)=>d+b.source,"");return RegExp(`^${g}$`)}function qo(...w){return g=>w.reduce(([d,b,E],V)=>{const[tt,bt,Kt]=V(g,E);return[{...d,...tt},bt||b,Kt]},[{},null,1]).slice(0,2)}function Wn(w,...g){if(null==w)return[null,null];for(const[d,b]of g){const E=d.exec(w);if(E)return b(E)}return[null,null]}function Mo(...w){return(g,d)=>{const b={};let E;for(E=0;Evoid 0!==to&&(go||to&&lr)?-to:to;return[{years:bo(Ra(d)),months:bo(Ra(b)),weeks:bo(Ra(E)),days:bo(Ra(V)),hours:bo(Ra(tt)),minutes:bo(Ra(bt)),seconds:bo(Ra(Kt),"-0"===Kt),milliseconds:bo(Xo(ye),mr)}]}const pl={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function lc(w,g,d,b,E,V,tt){const bt={year:2===g.length?Ci(Gi(g)):Gi(g),month:ls.indexOf(d)+1,day:Gi(b),hour:Gi(E),minute:Gi(V)};return tt&&(bt.second=Gi(tt)),w&&(bt.weekday=w.length>3?Na.indexOf(w)+1:Di.indexOf(w)+1),bt}const wn=/^(?:(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 la(w){const[,g,d,b,E,V,tt,bt,Kt,ye,lr,mr]=w,bo=lc(g,E,b,d,V,tt,bt);let to;return to=Kt?pl[Kt]:ye?0:Da(lr,mr),[bo,new Ln(to)]}const Vs=/^(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$/,vc=/^(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$/,Fd=/^(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 _c(w){const[,g,d,b,E,V,tt,bt]=w;return[lc(g,E,b,d,V,tt,bt),Ln.utcInstance]}function dc(w){const[,g,d,b,E,V,tt,bt]=w;return[lc(g,bt,d,b,E,V,tt),Ln.utcInstance]}const vn=Qr(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Oi),Ic=Qr(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Oi),td=Qr(/(\d{4})-?(\d{3})/,Oi),ed=Qr(Fn),uc=qo(function je(w,g){return[{year:Ft(w,g),month:Ft(w,g+1,1),day:Ft(w,g+2,1)},null,g+3]},_o,Jo,ea),$a=qo($s,_o,Jo,ea),Oc=qo(us,_o,Jo,ea),Ss=qo(_o,Jo,ea),od=qo(_o),xc=Qr(/(\d{4})-(\d\d)-(\d\d)/,Q),jc=Qr(dt),pc=qo(_o,Jo,ea),Hc="Invalid Duration",ps={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}},nd={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},...ps},Vi=365.2425,zi=30.436875,ii={years:{quarters:4,months:12,weeks:Vi/7,days:Vi,hours:24*Vi,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:Vi/28,days:Vi/4,hours:24*Vi/4,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:zi/7,days:zi,hours:24*zi,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...ps},Pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Ao=Pr.slice(0).reverse();function Rn(w,g,d=!1){const b={values:d?g.values:{...w.values,...g.values||{}},loc:w.loc.clone(g.loc),conversionAccuracy:g.conversionAccuracy||w.conversionAccuracy,matrix:g.matrix||w.matrix};return new Bn(b)}function wa(w,g){let d=g.milliseconds??0;for(const b of Ao.slice(1))g[b]&&(d+=g[b]*w[b].milliseconds);return d}function Qn(w,g){const d=wa(w,g)<0?-1:1;Pr.reduceRight((b,E)=>{if(Fo(g[E]))return b;if(b){const tt=w[E][b],bt=Math.floor(g[b]*d/tt);g[E]+=bt*d,g[b]-=bt*tt*d}return E},null),Pr.reduce((b,E)=>{if(Fo(g[E]))return b;if(b){const V=g[b]%1;g[b]-=V,g[E]+=V*w[b][E]}return E},null)}class Bn{constructor(g){const d="longterm"===g.conversionAccuracy||!1;let b=d?ii:nd;g.matrix&&(b=g.matrix),this.values=g.values,this.loc=g.loc||po.create(),this.conversionAccuracy=d?"longterm":"casual",this.invalid=g.invalid||null,this.matrix=b,this.isLuxonDuration=!0}static fromMillis(g,d){return Bn.fromObject({milliseconds:g},d)}static fromObject(g,d={}){if(null==g||"object"!=typeof g)throw new zt("Duration.fromObject: argument expected to be an object, got "+(null===g?"null":typeof g));return new Bn({values:ma(g,Bn.normalizeUnit),loc:po.fromObject(d),conversionAccuracy:d.conversionAccuracy,matrix:d.matrix})}static fromDurationLike(g){if(Ei(g))return Bn.fromMillis(g);if(Bn.isDuration(g))return g;if("object"==typeof g)return Bn.fromObject(g);throw new zt(`Unknown duration argument ${g} of type ${typeof g}`)}static fromISO(g,d){const[b]=function ra(w){return Wn(w,[yc,js])}(g);return b?Bn.fromObject(b,d):Bn.invalid("unparsable",`the input "${g}" can't be parsed as ISO 8601`)}static fromISOTime(g,d){const[b]=function Al(w){return Wn(w,[Mc,od])}(g);return b?Bn.fromObject(b,d):Bn.invalid("unparsable",`the input "${g}" can't be parsed as ISO 8601`)}static invalid(g,d=null){if(!g)throw new zt("need to specify a reason the Duration is invalid");const b=g instanceof me?g:new me(g,d);if(Ot.throwOnInvalid)throw new Ht(b);return new Bn({invalid:b})}static normalizeUnit(g){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"}[g&&g.toLowerCase()];if(!d)throw new Fe(g);return d}static isDuration(g){return g&&g.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(g,d={}){const b={...d,floor:!1!==d.round&&!1!==d.floor};return this.isValid?Ir.create(this.loc,b).formatDurationFromString(this,g):Hc}toHuman(g={}){if(!this.isValid)return Hc;const d=Pr.map(b=>{const E=this.values[b];return Fo(E)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...g,unit:b.slice(0,-1)}).format(E)}).filter(b=>b);return this.loc.listFormatter({type:"conjunction",style:g.listStyle||"narrow",...g}).format(d)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let g="P";return 0!==this.years&&(g+=this.years+"Y"),(0!==this.months||0!==this.quarters)&&(g+=this.months+3*this.quarters+"M"),0!==this.weeks&&(g+=this.weeks+"W"),0!==this.days&&(g+=this.days+"D"),(0!==this.hours||0!==this.minutes||0!==this.seconds||0!==this.milliseconds)&&(g+="T"),0!==this.hours&&(g+=this.hours+"H"),0!==this.minutes&&(g+=this.minutes+"M"),(0!==this.seconds||0!==this.milliseconds)&&(g+=Ca(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===g&&(g+="T0S"),g}toISOTime(g={}){if(!this.isValid)return null;const d=this.toMillis();return d<0||d>=864e5?null:(g={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...g,includeOffset:!1},Bo.fromMillis(d,{zone:"UTC"}).toISOTime(g))}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?wa(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(g){if(!this.isValid)return this;const d=Bn.fromDurationLike(g),b={};for(const E of Pr)(Ea(d.values,E)||Ea(this.values,E))&&(b[E]=d.get(E)+this.get(E));return Rn(this,{values:b},!0)}minus(g){if(!this.isValid)return this;const d=Bn.fromDurationLike(g);return this.plus(d.negate())}mapUnits(g){if(!this.isValid)return this;const d={};for(const b of Object.keys(this.values))d[b]=Ga(g(this.values[b],b));return Rn(this,{values:d},!0)}get(g){return this[Bn.normalizeUnit(g)]}set(g){return this.isValid?Rn(this,{values:{...this.values,...ma(g,Bn.normalizeUnit)}}):this}reconfigure({locale:g,numberingSystem:d,conversionAccuracy:b,matrix:E}={}){return Rn(this,{loc:this.loc.clone({locale:g,numberingSystem:d}),matrix:E,conversionAccuracy:b})}as(g){return this.isValid?this.shiftTo(g).get(g):NaN}normalize(){if(!this.isValid)return this;const g=this.toObject();return Qn(this.matrix,g),Rn(this,{values:g},!0)}rescale(){return this.isValid?Rn(this,{values:function ai(w){const g={};for(const[d,b]of Object.entries(w))0!==b&&(g[d]=b);return g}(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...g){if(!this.isValid)return this;if(0===g.length)return this;g=g.map(tt=>Bn.normalizeUnit(tt));const d={},b={},E=this.toObject();let V;for(const tt of Pr)if(g.indexOf(tt)>=0){V=tt;let bt=0;for(const ye in b)bt+=this.matrix[ye][tt]*b[ye],b[ye]=0;Ei(E[tt])&&(bt+=E[tt]);const Kt=Math.trunc(bt);d[tt]=Kt,b[tt]=(1e3*bt-1e3*Kt)/1e3}else Ei(E[tt])&&(b[tt]=E[tt]);for(const tt in b)0!==b[tt]&&(d[V]+=tt===V?b[tt]:b[tt]/this.matrix[V][tt]);return Qn(this.matrix,d),Rn(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 g={};for(const d of Object.keys(this.values))g[d]=0===this.values[d]?0:-this.values[d];return Rn(this,{values:g},!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(g){if(!this.isValid||!g.isValid||!this.loc.equals(g.loc))return!1;function d(b,E){return void 0===b||0===b?void 0===E||0===E:b===E}for(const b of Pr)if(!d(this.values[b],g.values[b]))return!1;return!0}}const Kn="Invalid Interval";class li{constructor(g){this.s=g.start,this.e=g.end,this.invalid=g.invalid||null,this.isLuxonInterval=!0}static invalid(g,d=null){if(!g)throw new zt("need to specify a reason the Interval is invalid");const b=g instanceof me?g:new me(g,d);if(Ot.throwOnInvalid)throw new be(b);return new li({invalid:b})}static fromDateTimes(g,d){const b=Kc(g),E=Kc(d),V=function ri(w,g){return w&&w.isValid?g&&g.isValid?gg}isBefore(g){return!!this.isValid&&this.e<=g}contains(g){return!!this.isValid&&this.s<=g&&this.e>g}set({start:g,end:d}={}){return this.isValid?li.fromDateTimes(g||this.s,d||this.e):this}splitAt(...g){if(!this.isValid)return[];const d=g.map(Kc).filter(tt=>this.contains(tt)).sort((tt,bt)=>tt.toMillis()-bt.toMillis()),b=[];let{s:E}=this,V=0;for(;E+this.e?this.e:tt;b.push(li.fromDateTimes(E,bt)),E=bt,V+=1}return b}splitBy(g){const d=Bn.fromDurationLike(g);if(!this.isValid||!d.isValid||0===d.as("milliseconds"))return[];let V,{s:b}=this,E=1;const tt=[];for(;bKt*E));V=+bt>+this.e?this.e:bt,tt.push(li.fromDateTimes(b,V)),b=V,E+=1}return tt}divideEqually(g){return this.isValid?this.splitBy(this.length()/g).slice(0,g):[]}overlaps(g){return this.e>g.s&&this.s=g.e}equals(g){return!(!this.isValid||!g.isValid)&&this.s.equals(g.s)&&this.e.equals(g.e)}intersection(g){if(!this.isValid)return this;const d=this.s>g.s?this.s:g.s,b=this.e=b?null:li.fromDateTimes(d,b)}union(g){return this.isValid?li.fromDateTimes(this.sg.e?this.e:g.e):this}static merge(g){const[d,b]=g.sort((E,V)=>E.s-V.s).reduce(([E,V],tt)=>V?V.overlaps(tt)||V.abutsStart(tt)?[E,V.union(tt)]:[E.concat([V]),tt]:[E,tt],[[],null]);return b&&d.push(b),d}static xor(g){let d=null,b=0;const E=[],V=g.map(Kt=>[{time:Kt.s,type:"s"},{time:Kt.e,type:"e"}]),bt=Array.prototype.concat(...V).sort((Kt,ye)=>Kt.time-ye.time);for(const Kt of bt)b+="s"===Kt.type?1:-1,1===b?d=Kt.time:(d&&+d!=+Kt.time&&E.push(li.fromDateTimes(d,Kt.time)),d=null);return li.merge(E)}difference(...g){return li.xor([this].concat(g)).map(d=>this.intersection(d)).filter(d=>d&&!d.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:Kn}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(g=Dt,d={}){return this.isValid?Ir.create(this.s.loc.clone(d),g).formatInterval(this):Kn}toISO(g){return this.isValid?`${this.s.toISO(g)}/${this.e.toISO(g)}`:Kn}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Kn}toISOTime(g){return this.isValid?`${this.s.toISOTime(g)}/${this.e.toISOTime(g)}`:Kn}toFormat(g,{separator:d=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(g)}${d}${this.e.toFormat(g)}`:Kn}toDuration(g,d){return this.isValid?this.e.diff(this.s,g,d):Bn.invalid(this.invalidReason)}mapEndpoints(g){return li.fromDateTimes(g(this.s),g(this.e))}}class on{static hasDST(g=Ot.defaultZone){const d=Bo.now().setZone(g).set({month:12});return!g.isUniversal&&d.offset!==d.set({month:6}).offset}static isValidIANAZone(g){return zo.isValidZone(g)}static normalizeZone(g){return $i(g,Ot.defaultZone)}static getStartOfWeek({locale:g=null,locObj:d=null}={}){return(d||po.create(g)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:g=null,locObj:d=null}={}){return(d||po.create(g)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:g=null,locObj:d=null}={}){return(d||po.create(g)).getWeekendDays().slice()}static months(g="long",{locale:d=null,numberingSystem:b=null,locObj:E=null,outputCalendar:V="gregory"}={}){return(E||po.create(d,b,V)).months(g)}static monthsFormat(g="long",{locale:d=null,numberingSystem:b=null,locObj:E=null,outputCalendar:V="gregory"}={}){return(E||po.create(d,b,V)).months(g,!0)}static weekdays(g="long",{locale:d=null,numberingSystem:b=null,locObj:E=null}={}){return(E||po.create(d,b,null)).weekdays(g)}static weekdaysFormat(g="long",{locale:d=null,numberingSystem:b=null,locObj:E=null}={}){return(E||po.create(d,b,null)).weekdays(g,!0)}static meridiems({locale:g=null}={}){return po.create(g).meridiems()}static eras(g="short",{locale:d=null}={}){return po.create(d,null,"gregory").eras(g)}static features(){return{relative:Pn(),localeWeek:_n()}}}function Xa(w,g){const d=E=>E.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),b=d(g)-d(w);return Math.floor(Bn.fromMillis(b).as("days"))}function Cn(w,g=d=>d){return{regex:w,deser:([d])=>g(function Ji(w){let g=parseInt(w,10);if(isNaN(g)){g="";for(let d=0;d=V&&b<=tt&&(g+=b-V)}}return parseInt(g,10)}return g}(d))}}const di="[ \xa0]",Un=new RegExp(di,"g");function U(w){return w.replace(/\./g,"\\.?").replace(Un,di)}function Tt(w){return w.replace(/\./g,"").replace(Un," ").toLowerCase()}function rt(w,g){return null===w?null:{regex:RegExp(w.map(U).join("|")),deser:([d])=>w.findIndex(b=>Tt(d)===Tt(b))+g}}function mt(w,g){return{regex:w,deser:([,d,b])=>Da(d,b),groups:g}}function xe(w){return{regex:w,deser:([g])=>g}}function Ge(w){return w.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}const eo={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 ln=null;function ya(w,g){return Array.prototype.concat(...w.map(d=>function xn(w,g){if(w.literal)return w;const b=Hs(Ir.macroTokenToFormatOpts(w.val),g);return null==b||b.includes(void 0)?w:b}(d,g)))}class Ni{constructor(g,d){if(this.locale=g,this.format=d,this.tokens=ya(Ir.parseFormat(d),g),this.units=this.tokens.map(b=>function Br(w,g){const d=si(g),b=si(g,"{2}"),E=si(g,"{3}"),V=si(g,"{4}"),tt=si(g,"{6}"),bt=si(g,"{1,2}"),Kt=si(g,"{1,3}"),ye=si(g,"{1,6}"),lr=si(g,"{1,9}"),mr=si(g,"{2,4}"),bo=si(g,"{4,6}"),to=Sn=>({regex:RegExp(Ge(Sn.val)),deser:([Ti])=>Ti,literal:!0}),en=(Sn=>{if(w.literal)return to(Sn);switch(Sn.val){case"G":return rt(g.eras("short"),0);case"GG":return rt(g.eras("long"),0);case"y":return Cn(ye);case"yy":case"kk":return Cn(mr,Ci);case"yyyy":case"kkkk":return Cn(V);case"yyyyy":return Cn(bo);case"yyyyyy":return Cn(tt);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Cn(bt);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Cn(b);case"MMM":return rt(g.months("short",!0),1);case"MMMM":return rt(g.months("long",!0),1);case"LLL":return rt(g.months("short",!1),1);case"LLLL":return rt(g.months("long",!1),1);case"o":case"S":return Cn(Kt);case"ooo":case"SSS":return Cn(E);case"u":return xe(lr);case"uu":return xe(bt);case"uuu":case"E":case"c":return Cn(d);case"a":return rt(g.meridiems(),0);case"EEE":return rt(g.weekdays("short",!1),1);case"EEEE":return rt(g.weekdays("long",!1),1);case"ccc":return rt(g.weekdays("short",!0),1);case"cccc":return rt(g.weekdays("long",!0),1);case"Z":case"ZZ":return mt(new RegExp(`([+-]${bt.source})(?::(${b.source}))?`),2);case"ZZZ":return mt(new RegExp(`([+-]${bt.source})(${b.source})?`),2);case"z":return xe(/[a-z_+-/]{1,256}?/i);case" ":return xe(/[^\S\n\r]/);default:return to(Sn)}})(w)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return en.token=w,en}(b,g)),this.disqualifyingUnit=this.units.find(b=>b.invalidReason),!this.disqualifyingUnit){const[b,E]=function In(w){return[`^${w.map(d=>d.regex).reduce((d,b)=>`${d}(${b.source})`,"")}$`,w]}(this.units);this.regex=RegExp(b,"i"),this.handlers=E}}explainFromTokens(g){if(this.isValid){const[d,b]=function Dn(w,g,d){const b=w.match(g);if(b){const E={};let V=1;for(const tt in d)if(Ea(d,tt)){const bt=d[tt],Kt=bt.groups?bt.groups+1:1;!bt.literal&&bt.token&&(E[bt.token.val[0]]=bt.deser(b.slice(V,V+Kt))),V+=Kt}return[b,E]}return[b,{}]}(g,this.regex,this.handlers),[E,V,tt]=b?function No(w){let b,d=null;return Fo(w.z)||(d=zo.create(w.z)),Fo(w.Z)||(d||(d=new Ln(w.Z)),b=w.Z),Fo(w.q)||(w.M=3*(w.q-1)+1),Fo(w.h)||(w.h<12&&1===w.a?w.h+=12:12===w.h&&0===w.a&&(w.h=0)),0===w.G&&w.y&&(w.y=-w.y),Fo(w.u)||(w.S=Xo(w.u)),[Object.keys(w).reduce((V,tt)=>{const bt=(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}})(tt);return bt&&(V[bt]=w[tt]),V},{}),d,b]}(b):[null,null,void 0];if(Ea(b,"a")&&Ea(b,"H"))throw new Bt("Can't include meridiem when specifying 24-hour format");return{input:g,tokens:this.tokens,regex:this.regex,rawMatches:d,matches:b,result:E,zone:V,specificOffset:tt}}return{input:g,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function hs(w,g,d){return new Ni(w,d).explainFromTokens(g)}function Hs(w,g){if(!w)return null;const b=Ir.create(g,w).dtFormatter(function nn(){return ln||(ln=Bo.fromMillis(1555555555555)),ln}()),E=b.formatToParts(),V=b.resolvedOptions();return E.map(tt=>function dn(w,g,d){const{type:b,value:E}=w;if("literal"===b){const Kt=/^\s+$/.test(E);return{literal:!Kt,val:Kt?" ":E}}let tt=b;"hour"===b&&(tt=null!=g.hour12?g.hour12?"hour12":"hour24":null!=g.hourCycle?"h11"===g.hourCycle||"h12"===g.hourCycle?"hour12":"hour24":d.hour12?"hour12":"hour24");let bt=eo[tt];if("object"==typeof bt&&(bt=bt[g[b]]),bt)return{literal:!1,val:bt}}(tt,w,V))}const La="Invalid DateTime",As=864e13;function Ts(w){return new me("unsupported zone",`the zone "${w.name}" is not supported`)}function qs(w){return null===w.weekData&&(w.weekData=Jr(w.c)),w.weekData}function id(w){return null===w.localWeekData&&(w.localWeekData=Jr(w.c,w.loc.getMinDaysInFirstWeek(),w.loc.getStartOfWeek())),w.localWeekData}function Ms(w,g){const d={ts:w.ts,zone:w.zone,c:w.c,o:w.o,loc:w.loc,invalid:w.invalid};return new Bo({...d,...g,old:d})}function Is(w,g,d){let b=w-60*g*1e3;const E=d.offset(b);if(g===E)return[b,g];b-=60*(E-g)*1e3;const V=d.offset(b);return E===V?[b,E]:[w-60*Math.min(E,V)*1e3,Math.max(E,V)]}function Rc(w,g){const d=new Date(w+=60*g*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 ad(w,g,d){return Is(Xi(w),g,d)}function Bd(w,g){const d=w.o,b=w.c.year+Math.trunc(g.years),E=w.c.month+Math.trunc(g.months)+3*Math.trunc(g.quarters),V={...w.c,year:b,month:E,day:Math.min(w.c.day,ha(b,E))+Math.trunc(g.days)+7*Math.trunc(g.weeks)},tt=Bn.fromObject({years:g.years-Math.trunc(g.years),quarters:g.quarters-Math.trunc(g.quarters),months:g.months-Math.trunc(g.months),weeks:g.weeks-Math.trunc(g.weeks),days:g.days-Math.trunc(g.days),hours:g.hours,minutes:g.minutes,seconds:g.seconds,milliseconds:g.milliseconds}).as("milliseconds"),bt=Xi(V);let[Kt,ye]=Is(bt,d,w.zone);return 0!==tt&&(Kt+=tt,ye=w.zone.offset(Kt)),{ts:Kt,o:ye}}function zc(w,g,d,b,E,V){const{setZone:tt,zone:bt}=d;if(w&&0!==Object.keys(w).length||g){const Kt=g||bt,ye=Bo.fromObject(w,{...d,zone:Kt,specificOffset:V});return tt?ye:ye.setZone(bt)}return Bo.invalid(new me("unparsable",`the input "${E}" can't be parsed as ${b}`))}function hl(w,g,d=!0){return w.isValid?Ir.create(po.create("en-US"),{allowZ:d,forceSimple:!0}).formatDateTimeFromString(w,g):null}function hc(w,g){const d=w.c.year>9999||w.c.year<0;let b="";return d&&w.c.year>=0&&(b+="+"),b+=gi(w.c.year,d?6:4),g?(b+="-",b+=gi(w.c.month),b+="-",b+=gi(w.c.day)):(b+=gi(w.c.month),b+=gi(w.c.day)),b}function wi(w,g,d,b,E,V){let tt=gi(w.c.hour);return g?(tt+=":",tt+=gi(w.c.minute),(0!==w.c.millisecond||0!==w.c.second||!d)&&(tt+=":")):tt+=gi(w.c.minute),(0!==w.c.millisecond||0!==w.c.second||!d)&&(tt+=gi(w.c.second),(0!==w.c.millisecond||!b)&&(tt+=".",tt+=gi(w.c.millisecond,3))),E&&(w.isOffsetFixed&&0===w.offset&&!V?tt+="Z":w.o<0?(tt+="-",tt+=gi(Math.trunc(-w.o/60)),tt+=":",tt+=gi(Math.trunc(-w.o%60))):(tt+="+",tt+=gi(Math.trunc(w.o/60)),tt+=":",tt+=gi(Math.trunc(w.o%60)))),V&&(tt+="["+w.zone.ianaName+"]"),tt}const Wi={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},kc={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},sd={ordinal:1,hour:0,minute:0,second:0,millisecond:0},gl=["year","month","day","hour","minute","second","millisecond"],cd=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Ud=["year","ordinal","hour","minute","second","millisecond"];function $d(w){switch(w.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function sp(w){const g={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"}[w.toLowerCase()];if(!g)throw new Fe(w);return g}(w)}}function $o(w,g){const d=$i(g.zone,Ot.defaultZone);if(!d.isValid)return Bo.invalid(Ts(d));const b=po.fromObject(g);let E,V;if(Fo(w.year))E=Ot.now();else{for(const Kt of gl)Fo(w[Kt])&&(w[Kt]=Wi[Kt]);const tt=Ro(w)||Qo(w);if(tt)return Bo.invalid(tt);const bt=function _h(w){return zs[w]||(void 0===Wc&&(Wc=Ot.now()),zs[w]=w.offset(Wc)),zs[w]}(d);[E,V]=ad(w,bt,d)}return new Bo({ts:E,zone:d,loc:b,o:V})}function Tl(w,g,d){const b=!!Fo(d.round)||d.round,E=(tt,bt)=>(tt=Ca(tt,b||d.calendary?0:2,!0),g.loc.clone(d).relFormatter(d).format(tt,bt)),V=tt=>d.calendary?g.hasSame(w,tt)?0:g.startOf(tt).diff(w.startOf(tt),tt).get(tt):g.diff(w,tt).get(tt);if(d.unit)return E(V(d.unit),d.unit);for(const tt of d.units){const bt=V(tt);if(Math.abs(bt)>=1)return E(bt,tt)}return E(w>g?-0:0,d.units[d.units.length-1])}function Ha(w){let d,g={};return w.length>0&&"object"==typeof w[w.length-1]?(g=w[w.length-1],d=Array.from(w).slice(0,w.length-1)):d=Array.from(w),[g,d]}let Wc,zs={};class Bo{constructor(g){const d=g.zone||Ot.defaultZone;let b=g.invalid||(Number.isNaN(g.ts)?new me("invalid input"):null)||(d.isValid?null:Ts(d));this.ts=Fo(g.ts)?Ot.now():g.ts;let E=null,V=null;if(!b)if(g.old&&g.old.ts===this.ts&&g.old.zone.equals(d))[E,V]=[g.old.c,g.old.o];else{const bt=Ei(g.o)&&!g.old?g.o:d.offset(this.ts);E=Rc(this.ts,bt),b=Number.isNaN(E.year)?new me("invalid input"):null,E=b?null:E,V=b?null:bt}this._zone=d,this.loc=g.loc||po.create(),this.invalid=b,this.weekData=null,this.localWeekData=null,this.c=E,this.o=V,this.isLuxonDateTime=!0}static now(){return new Bo({})}static local(){const[g,d]=Ha(arguments),[b,E,V,tt,bt,Kt,ye]=d;return $o({year:b,month:E,day:V,hour:tt,minute:bt,second:Kt,millisecond:ye},g)}static utc(){const[g,d]=Ha(arguments),[b,E,V,tt,bt,Kt,ye]=d;return g.zone=Ln.utcInstance,$o({year:b,month:E,day:V,hour:tt,minute:bt,second:Kt,millisecond:ye},g)}static fromJSDate(g,d={}){const b=function as(w){return"[object Date]"===Object.prototype.toString.call(w)}(g)?g.valueOf():NaN;if(Number.isNaN(b))return Bo.invalid("invalid input");const E=$i(d.zone,Ot.defaultZone);return E.isValid?new Bo({ts:b,zone:E,loc:po.fromObject(d)}):Bo.invalid(Ts(E))}static fromMillis(g,d={}){if(Ei(g))return g<-As||g>As?Bo.invalid("Timestamp out of range"):new Bo({ts:g,zone:$i(d.zone,Ot.defaultZone),loc:po.fromObject(d)});throw new zt(`fromMillis requires a numerical input, but received a ${typeof g} with value ${g}`)}static fromSeconds(g,d={}){if(Ei(g))return new Bo({ts:1e3*g,zone:$i(d.zone,Ot.defaultZone),loc:po.fromObject(d)});throw new zt("fromSeconds requires a numerical input")}static fromObject(g,d={}){g=g||{};const b=$i(d.zone,Ot.defaultZone);if(!b.isValid)return Bo.invalid(Ts(b));const E=po.fromObject(d),V=ma(g,$d),{minDaysInFirstWeek:tt,startOfWeek:bt}=bn(V,E),Kt=Ot.now(),ye=Fo(d.specificOffset)?b.offset(Kt):d.specificOffset,lr=!Fo(V.ordinal),mr=!Fo(V.year),bo=!Fo(V.month)||!Fo(V.day),to=mr||bo,go=V.weekYear||V.weekNumber;if((to||lr)&&go)throw new Bt("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(bo&&lr)throw new Bt("Can't mix ordinal dates with month/day");const en=go||V.weekday&&!to;let Sn,Ti,ui=Rc(Kt,ye);en?(Sn=cd,Ti=kc,ui=Jr(ui,tt,bt)):lr?(Sn=Ud,Ti=sd,ui=xo(ui)):(Sn=gl,Ti=Wi);let xs=!1;for(const Bc of Sn)Fo(V[Bc])?V[Bc]=xs?Ti[Bc]:ui[Bc]:xs=!0;const es=en?function rn(w,g=4,d=1){const b=ta(w.weekYear),E=pa(w.weekNumber,1,mi(w.weekYear,g,d)),V=pa(w.weekday,1,7);return b?E?!V&&ur("weekday",w.weekday):ur("week",w.weekNumber):ur("weekYear",w.weekYear)}(V,tt,bt):lr?function Mn(w){const g=ta(w.year),d=pa(w.ordinal,1,ni(w.year));return g?!d&&ur("ordinal",w.ordinal):ur("year",w.year)}(V):Ro(V),Rd=es||Qo(V);if(Rd)return Bo.invalid(Rd);const wc=en?so(V,tt,bt):lr?Eo(V):V,[ks,Ys]=ad(wc,ye,b),Sc=new Bo({ts:ks,zone:b,o:Ys,loc:E});return V.weekday&&to&&g.weekday!==Sc.weekday?Bo.invalid("mismatched weekday",`you can't specify both a weekday of ${V.weekday} and a date of ${Sc.toISO()}`):Sc.isValid?Sc:Bo.invalid(Sc.invalid)}static fromISO(g,d={}){const[b,E]=function Ma(w){return Wn(w,[vn,uc],[Ic,$a],[td,Oc],[ed,Ss])}(g);return zc(b,E,d,"ISO 8601",g)}static fromRFC2822(g,d={}){const[b,E]=function ja(w){return Wn(function ba(w){return w.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(w),[wn,la])}(g);return zc(b,E,d,"RFC 2822",g)}static fromHTTP(g,d={}){const[b,E]=function rd(w){return Wn(w,[Vs,_c],[vc,_c],[Fd,dc])}(g);return zc(b,E,d,"HTTP",d)}static fromFormat(g,d,b={}){if(Fo(g)||Fo(d))throw new zt("fromFormat requires an input string and a format");const{locale:E=null,numberingSystem:V=null}=b,tt=po.fromOpts({locale:E,numberingSystem:V,defaultToEN:!0}),[bt,Kt,ye,lr]=function Yi(w,g,d){const{result:b,zone:E,specificOffset:V,invalidReason:tt}=hs(w,g,d);return[b,E,V,tt]}(tt,g,d);return lr?Bo.invalid(lr):zc(bt,Kt,b,`format ${d}`,g,ye)}static fromString(g,d,b={}){return Bo.fromFormat(g,d,b)}static fromSQL(g,d={}){const[b,E]=function Vc(w){return Wn(w,[xc,uc],[jc,pc])}(g);return zc(b,E,d,"SQL",g)}static invalid(g,d=null){if(!g)throw new zt("need to specify a reason the DateTime is invalid");const b=g instanceof me?g:new me(g,d);if(Ot.throwOnInvalid)throw new Qt(b);return new Bo({invalid:b})}static isDateTime(g){return g&&g.isLuxonDateTime||!1}static parseFormatForOpts(g,d={}){const b=Hs(g,po.fromObject(d));return b?b.map(E=>E?E.val:null).join(""):null}static expandFormat(g,d={}){return ya(Ir.parseFormat(g),po.fromObject(d)).map(E=>E.val).join("")}static resetCache(){Wc=void 0,zs={}}get(g){return this[g]}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?qs(this).weekYear:NaN}get weekNumber(){return this.isValid?qs(this).weekNumber:NaN}get weekday(){return this.isValid?qs(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?id(this).weekday:NaN}get localWeekNumber(){return this.isValid?id(this).weekNumber:NaN}get localWeekYear(){return this.isValid?id(this).weekYear:NaN}get ordinal(){return this.isValid?xo(this.c).ordinal:NaN}get monthShort(){return this.isValid?on.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?on.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?on.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?on.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 g=864e5,d=6e4,b=Xi(this.c),E=this.zone.offset(b-g),V=this.zone.offset(b+g),tt=this.zone.offset(b-E*d),bt=this.zone.offset(b-V*d);if(tt===bt)return[this];const Kt=b-tt*d,ye=b-bt*d,lr=Rc(Kt,tt),mr=Rc(ye,bt);return lr.hour===mr.hour&&lr.minute===mr.minute&&lr.second===mr.second&&lr.millisecond===mr.millisecond?[Ms(this,{ts:Kt}),Ms(this,{ts:ye})]:[this]}get isInLeapYear(){return fi(this.year)}get daysInMonth(){return ha(this.year,this.month)}get daysInYear(){return this.isValid?ni(this.year):NaN}get weeksInWeekYear(){return this.isValid?mi(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?mi(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(g={}){const{locale:d,numberingSystem:b,calendar:E}=Ir.create(this.loc.clone(g),g).resolvedOptions(this);return{locale:d,numberingSystem:b,outputCalendar:E}}toUTC(g=0,d={}){return this.setZone(Ln.instance(g),d)}toLocal(){return this.setZone(Ot.defaultZone)}setZone(g,{keepLocalTime:d=!1,keepCalendarTime:b=!1}={}){if((g=$i(g,Ot.defaultZone)).equals(this.zone))return this;if(g.isValid){let E=this.ts;if(d||b){const V=g.offset(this.ts),tt=this.toObject();[E]=ad(tt,V,g)}return Ms(this,{ts:E,zone:g})}return Bo.invalid(Ts(g))}reconfigure({locale:g,numberingSystem:d,outputCalendar:b}={}){return Ms(this,{loc:this.loc.clone({locale:g,numberingSystem:d,outputCalendar:b})})}setLocale(g){return this.reconfigure({locale:g})}set(g){if(!this.isValid)return this;const d=ma(g,$d),{minDaysInFirstWeek:b,startOfWeek:E}=bn(d,this.loc),V=!Fo(d.weekYear)||!Fo(d.weekNumber)||!Fo(d.weekday),tt=!Fo(d.ordinal),bt=!Fo(d.year),Kt=!Fo(d.month)||!Fo(d.day);if((bt||Kt||tt)&&(d.weekYear||d.weekNumber))throw new Bt("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(Kt&&tt)throw new Bt("Can't mix ordinal dates with month/day");let mr;V?mr=so({...Jr(this.c,b,E),...d},b,E):Fo(d.ordinal)?(mr={...this.toObject(),...d},Fo(d.day)&&(mr.day=Math.min(ha(mr.year,mr.month),mr.day))):mr=Eo({...xo(this.c),...d});const[bo,to]=ad(mr,this.o,this.zone);return Ms(this,{ts:bo,o:to})}plus(g){return this.isValid?Ms(this,Bd(this,Bn.fromDurationLike(g))):this}minus(g){return this.isValid?Ms(this,Bd(this,Bn.fromDurationLike(g).negate())):this}startOf(g,{useLocaleWeeks:d=!1}={}){if(!this.isValid)return this;const b={},E=Bn.normalizeUnit(g);switch(E){case"years":b.month=1;case"quarters":case"months":b.day=1;case"weeks":case"days":b.hour=0;case"hours":b.minute=0;case"minutes":b.second=0;case"seconds":b.millisecond=0}if("weeks"===E)if(d){const V=this.loc.getStartOfWeek(),{weekday:tt}=this;ttthis.valueOf(),ye=function Ui(w,g,d,b){let[E,V,tt,bt]=function Zs(w,g,d){const b=[["years",(Kt,ye)=>ye.year-Kt.year],["quarters",(Kt,ye)=>ye.quarter-Kt.quarter+4*(ye.year-Kt.year)],["months",(Kt,ye)=>ye.month-Kt.month+12*(ye.year-Kt.year)],["weeks",(Kt,ye)=>{const lr=Xa(Kt,ye);return(lr-lr%7)/7}],["days",Xa]],E={},V=w;let tt,bt;for(const[Kt,ye]of b)d.indexOf(Kt)>=0&&(tt=Kt,E[Kt]=ye(w,g),bt=V.plus(E),bt>g?(E[Kt]--,(w=V.plus(E))>g&&(bt=w,E[Kt]--,w=V.plus(E))):w=bt);return[w,E,bt,tt]}(w,g,d);const Kt=g-E,ye=d.filter(mr=>["hours","minutes","seconds","milliseconds"].indexOf(mr)>=0);0===ye.length&&(tt0?Bn.fromMillis(Kt,b).shiftTo(...ye).plus(lr):lr}(tt?this:g,tt?g:this,V,E);return tt?ye.negate():ye}diffNow(g="milliseconds",d={}){return this.diff(Bo.now(),g,d)}until(g){return this.isValid?li.fromDateTimes(this,g):this}hasSame(g,d,b){if(!this.isValid)return!1;const E=g.valueOf(),V=this.setZone(g.zone,{keepLocalTime:!0});return V.startOf(d,b)<=E&&E<=V.endOf(d,b)}equals(g){return this.isValid&&g.isValid&&this.valueOf()===g.valueOf()&&this.zone.equals(g.zone)&&this.loc.equals(g.loc)}toRelative(g={}){if(!this.isValid)return null;const d=g.base||Bo.fromObject({},{zone:this.zone}),b=g.padding?thisd.valueOf(),Math.min)}static max(...g){if(!g.every(Bo.isDateTime))throw new zt("max requires all arguments be DateTimes");return Ka(g,d=>d.valueOf(),Math.max)}static fromFormatExplain(g,d,b={}){const{locale:E=null,numberingSystem:V=null}=b;return hs(po.fromOpts({locale:E,numberingSystem:V,defaultToEN:!0}),g,d)}static fromStringExplain(g,d,b={}){return Bo.fromFormatExplain(g,d,b)}static buildFormatParser(g,d={}){const{locale:b=null,numberingSystem:E=null}=d,V=po.fromOpts({locale:b,numberingSystem:E,defaultToEN:!0});return new Ni(V,g)}static fromFormatParser(g,d,b={}){if(Fo(g)||Fo(d))throw new zt("fromFormatParser requires an input string and a format parser");const{locale:E=null,numberingSystem:V=null}=b,tt=po.fromOpts({locale:E,numberingSystem:V,defaultToEN:!0});if(!tt.equals(d.locale))throw new zt(`fromFormatParser called with a locale of ${tt}, but the format parser was created for ${d.locale}`);const{result:bt,zone:Kt,specificOffset:ye,invalidReason:lr}=d.explainFromTokens(g);return lr?Bo.invalid(lr):zc(bt,Kt,b,`format ${d.format}`,g,ye)}static get DATE_SHORT(){return Dt}static get DATE_MED(){return wt}static get DATE_MED_WITH_WEEKDAY(){return ie}static get DATE_FULL(){return Xe}static get DATE_HUGE(){return Te}static get TIME_SIMPLE(){return Ke}static get TIME_WITH_SECONDS(){return re}static get TIME_WITH_SHORT_OFFSET(){return Ve}static get TIME_WITH_LONG_OFFSET(){return tr}static get TIME_24_SIMPLE(){return Tr}static get TIME_24_WITH_SECONDS(){return Wr}static get TIME_24_WITH_SHORT_OFFSET(){return Lo}static get TIME_24_WITH_LONG_OFFSET(){return Or}static get DATETIME_SHORT(){return fo}static get DATETIME_SHORT_WITH_SECONDS(){return cr}static get DATETIME_MED(){return Lt}static get DATETIME_MED_WITH_SECONDS(){return At}static get DATETIME_MED_WITH_WEEKDAY(){return Zt}static get DATETIME_FULL(){return W}static get DATETIME_FULL_WITH_SECONDS(){return N}static get DATETIME_HUGE(){return z}static get DATETIME_HUGE_WITH_SECONDS(){return Rt}}function Kc(w){if(Bo.isDateTime(w))return w;if(w&&w.valueOf&&Ei(w.valueOf()))return Bo.fromJSDate(w);if(w&&"object"==typeof w)return Bo.fromObject(w);throw new zt(`Unknown datetime argument: ${w}, of type ${typeof w}`)}const gc=new l.nKC("MAT_LUXON_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function bu(){return{useUtc:!1,firstDayOfWeek:0,defaultOutputCalendar:"gregory"}}});let Xc=(()=>{class w extends or.MJ{_useUTC;_firstDayOfWeek;_defaultOutputCalendar;constructor(){super();const d=(0,l.WQX)(or.Ju,{optional:!0}),b=(0,l.WQX)(gc,{optional:!0});this._useUTC=!!b?.useUtc,this._firstDayOfWeek=b?.firstDayOfWeek||0,this._defaultOutputCalendar=b?.defaultOutputCalendar||"gregory",this.setLocale(d||Bo.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 on.months(d,{locale:this.locale,outputCalendar:this._defaultOutputCalendar})}getDateNames(){const d=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return function ld(w,g){const d=Array(w);for(let b=0;bd.format(Bo.utc(2017,1,b+1).toJSDate()))}getDayOfWeekNames(d){const b=on.weekdays(d,{locale:this.locale});return b.unshift(b.pop()),b}getYearName(d){return d.toFormat("yyyy",this._getOptions())}getFirstDayOfWeek(){return this._firstDayOfWeek}getNumDaysInMonth(d){return d.daysInMonth}clone(d){return Bo.fromObject(d.toObject(),this._getOptions())}createDate(d,b,E){const V=this._getOptions();if(b<0||b>11)throw Error(`Invalid month index "${b}". Month index has to be between 0 and 11.`);if(E<1)throw Error(`Invalid date "${E}". Date has to be greater than 0.`);const tt=this._useUTC?Bo.utc(d,b+1,E,V):Bo.local(d,b+1,E,V);if(!this.isValid(tt))throw Error(`Invalid date "${E}". Reason: "${tt.invalidReason}".`);return tt}today(){const d=this._getOptions();return this._useUTC?Bo.utc(d):Bo.local(d)}parse(d,b){const E=this._getOptions();if("string"==typeof d&&d.length>0){const V=Bo.fromISO(d,E);if(this.isValid(V))return V;const tt=Array.isArray(b)?b:[b];if(!b.length)throw Error("Formats array must not be empty.");for(const bt of tt){const Kt=Bo.fromFormat(d,bt,E);if(this.isValid(Kt))return Kt}return this.invalid()}return"number"==typeof d?Bo.fromMillis(d,E):d instanceof Date?Bo.fromJSDate(d,E):d instanceof Bo?Bo.fromMillis(d.toMillis(),E):null}format(d,b){if(!this.isValid(d))throw Error("LuxonDateAdapter: Cannot format invalid date.");return this._useUTC?d.setLocale(this.locale).setZone("utc").toFormat(b):d.setLocale(this.locale).toFormat(b)}addCalendarYears(d,b){return d.reconfigure(this._getOptions()).plus({years:b})}addCalendarMonths(d,b){return d.reconfigure(this._getOptions()).plus({months:b})}addCalendarDays(d,b){return d.reconfigure(this._getOptions()).plus({days:b})}toIso8601(d){return d.toISO()}deserialize(d){const b=this._getOptions();let E;if(d instanceof Date&&(E=Bo.fromJSDate(d,b)),"string"==typeof d){if(!d)return null;E=Bo.fromISO(d,b)}return E&&this.isValid(E)?E:super.deserialize(d)}isDateInstance(d){return d instanceof Bo}isValid(d){return d.isValid}invalid(){return Bo.invalid("Invalid Luxon DateTime object.")}setTime(d,b,E,V){return this.clone(d).set({hour:b,minute:E,second:V,millisecond:0})}getHours(d){return d.hour}getMinutes(d){return d.minute}getSeconds(d){return d.second}parseTime(d,b){const E=this.parse(d,b);return(!E||!this.isValid(E))&&"string"==typeof d&&this.parse(d.replace(/[^0-9:(AM|PM)]/gi,""),b)||E}addSeconds(d,b){return d.reconfigure(this._getOptions()).plus({seconds:b})}_getOptions(){return{zone:this._useUTC?"utc":void 0,locale:this.locale,outputCalendar:this._defaultOutputCalendar}}static \u0275fac=function(b){return new(b||w)};static \u0275prov=l.jDH({token:w,factory:w.\u0275fac})}return w})();var Do=o(1204);function oa(w){return new l.wOt(3e3,!1)}function An(w){switch(w.length){case 0:return new Do.sf;case 1:return w[0];default:return new Do.ui(w)}}function Nc(w,g,d=new Map,b=new Map){const E=[],V=[];let tt=-1,bt=null;if(g.forEach(Kt=>{const ye=Kt.get("offset"),lr=ye==tt,mr=lr&&bt||new Map;Kt.forEach((bo,to)=>{let go=to,en=bo;if("offset"!==to)switch(go=w.normalizePropertyName(go,E),en){case Do.FX:en=d.get(to);break;case Do.kp:en=b.get(to);break;default:en=w.normalizeStyleValue(to,go,en,E)}mr.set(go,en)}),lr||V.push(mr),bt=mr,tt=ye}),E.length)throw function dp(){return new l.wOt(3502,!1)}();return V}function Rs(w,g,d,b){switch(g){case"start":w.onStart(()=>b(d&&Qa(d,"start",w)));break;case"done":w.onDone(()=>b(d&&Qa(d,"done",w)));break;case"destroy":w.onDestroy(()=>b(d&&Qa(d,"destroy",w)))}}function Qa(w,g,d){const V=Il(w.element,w.triggerName,w.fromState,w.toState,g||w.phaseName,d.totalTime??w.totalTime,!!d.disabled),tt=w._data;return null!=tt&&(V._data=tt),V}function Il(w,g,d,b,E="",V=0,tt){return{element:w,triggerName:g,fromState:d,toState:b,phaseName:E,totalTime:V,disabled:!!tt}}function gs(w,g,d){let b=w.get(g);return b||w.set(g,b=d),b}function yu(w){const g=w.indexOf(":");return[w.substring(1,g),w.slice(g+1)]}const qg=typeof document>"u"?null:document.documentElement;function hp(w){const g=w.parentNode||w.host||null;return g===qg?null:g}let fs=null,Zc=!1;function I(w,g){for(;g;){if(g===w)return!0;g=hp(g)}return!1}function L(w,g,d){if(d)return Array.from(w.querySelectorAll(g));const b=w.querySelector(g);return b?[b]:[]}let nt=(()=>{class w{validateStyleProperty(d){return function Za(w){fs||(fs=function vu(){return typeof document<"u"?document.body:null}()||{},Zc=!!fs.style&&"WebkitAppearance"in fs.style);let g=!0;return fs.style&&!function gp(w){return"ebkit"==w.substring(1,6)}(w)&&(g=w in fs.style,!g&&Zc&&(g="Webkit"+w.charAt(0).toUpperCase()+w.slice(1)in fs.style)),g}(d)}containsElement(d,b){return I(d,b)}getParentElement(d){return hp(d)}query(d,b,E){return L(d,b,E)}computeStyle(d,b,E){return E||""}animate(d,b,E,V,tt,bt=[],Kt){return new Do.sf(E,V)}static \u0275fac=function(b){return new(b||w)};static \u0275prov=l.jDH({token:w,factory:w.\u0275fac})}return w})();class xt{static NOOP=new nt}class Ut{}const Ie=1e3,Cr="ng-enter",Qe="ng-leave",Gr="ng-trigger",zr=".ng-trigger",ro="ng-animating",Ar=".ng-animating";function Vr(w){if("number"==typeof w)return w;const g=w.match(/^(-?[\.\d]+)(m?s)/);return!g||g.length<2?0:Xr(parseFloat(g[1]),g[2])}function Xr(w,g){return"s"===g?w*Ie:w}function yo(w,g,d){return w.hasOwnProperty("duration")?w:function Ur(w,g,d){let E,V=0,tt="";if("string"==typeof w){const bt=w.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===bt)return g.push(oa()),{duration:0,delay:0,easing:""};E=Xr(parseFloat(bt[1]),bt[2]);const Kt=bt[3];null!=Kt&&(V=Xr(parseFloat(Kt),bt[4]));const ye=bt[5];ye&&(tt=ye)}else E=w;if(!d){let bt=!1,Kt=g.length;E<0&&(g.push(function R(){return new l.wOt(3100,!1)}()),bt=!0),V<0&&(g.push(function G(){return new l.wOt(3101,!1)}()),bt=!0),bt&&g.splice(Kt,0,oa())}return{duration:E,delay:V,easing:tt}}(w,g,d)}function Co(w,g,d){g.forEach((b,E)=>{const V=bs(E);d&&!d.has(E)&&d.set(E,w.style[V]),w.style[V]=b})}function Go(w,g){g.forEach((d,b)=>{const E=bs(b);w.style[E]=""})}function Uo(w){return Array.isArray(w)?1==w.length?w[0]:(0,Do.K2)(w):w}const Jn=new RegExp("{{\\s*(.+?)\\s*}}","g");function Xn(w){let g=[];if("string"==typeof w){let d;for(;d=Jn.exec(w);)g.push(d[1]);Jn.lastIndex=0}return g}function yi(w,g,d){const b=`${w}`,E=b.replace(Jn,(V,tt)=>{let bt=g[tt];return null==bt&&(d.push(function K(){return new l.wOt(3003,!1)}()),bt=""),bt.toString()});return E==b?w:E}const Si=/-+([a-z0-9])/g;function bs(w){return w.replace(Si,(...g)=>g[1].toUpperCase())}function Yn(w,g,d){switch(g.type){case Do.If.Trigger:return w.visitTrigger(g,d);case Do.If.State:return w.visitState(g,d);case Do.If.Transition:return w.visitTransition(g,d);case Do.If.Sequence:return w.visitSequence(g,d);case Do.If.Group:return w.visitGroup(g,d);case Do.If.Animate:return w.visitAnimate(g,d);case Do.If.Keyframes:return w.visitKeyframes(g,d);case Do.If.Style:return w.visitStyle(g,d);case Do.If.Reference:return w.visitReference(g,d);case Do.If.AnimateChild:return w.visitAnimateChild(g,d);case Do.If.AnimateRef:return w.visitAnimateRef(g,d);case Do.If.Query:return w.visitQuery(g,d);case Do.If.Stagger:return w.visitStagger(g,d);default:throw function gt(){return new l.wOt(3004,!1)}()}}function Ai(w,g){return window.getComputedStyle(w)[g]}const fa=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 qa extends Ut{normalizePropertyName(g,d){return bs(g)}normalizeStyleValue(g,d,b,E){let V="";const tt=b.toString().trim();if(fa.has(d)&&0!==b&&"0"!==b)if("number"==typeof b)V="px";else{const bt=b.match(/^[+-]?[\d\.]+([a-z]*)$/);bt&&0==bt[1].length&&E.push(function Vt(){return new l.wOt(3005,!1)}())}return tt+V}}const wl="*";const Ja=new Set(["true","1"]),fc=new Set(["false","0"]);function yl(w,g){const d=Ja.has(w)||fc.has(w),b=Ja.has(g)||fc.has(g);return(E,V)=>{let tt=w==wl||w==E,bt=g==wl||g==V;return!tt&&d&&"boolean"==typeof E&&(tt=E?Ja.has(w):fc.has(w)),!bt&&b&&"boolean"==typeof V&&(bt=V?Ja.has(g):fc.has(g)),tt&&bt}}const Vd=new RegExp("s*:selfs*,?","g");function Hd(w,g,d,b){return new mp(w).build(g,d,b)}class mp{_driver;constructor(g){this._driver=g}build(g,d,b){const E=new Wd(d);return this._resetContextStyleTimingState(E),Yn(this,Uo(g),E)}_resetContextStyleTimingState(g){g.currentQuerySelector="",g.collectedStyles=new Map,g.collectedStyles.set("",new Map),g.currentTime=0}visitTrigger(g,d){let b=d.queryCount=0,E=d.depCount=0;const V=[],tt=[];return"@"==g.name.charAt(0)&&d.errors.push(function De(){return new l.wOt(3006,!1)}()),g.definitions.forEach(bt=>{if(this._resetContextStyleTimingState(d),bt.type==Do.If.State){const Kt=bt,ye=Kt.name;ye.toString().split(/\s*,\s*/).forEach(lr=>{Kt.name=lr,V.push(this.visitState(Kt,d))}),Kt.name=ye}else if(bt.type==Do.If.Transition){const Kt=this.visitTransition(bt,d);b+=Kt.queryCount,E+=Kt.depCount,tt.push(Kt)}else d.errors.push(function pr(){return new l.wOt(3007,!1)}())}),{type:Do.If.Trigger,name:g.name,states:V,transitions:tt,queryCount:b,depCount:E,options:null}}visitState(g,d){const b=this.visitStyle(g.styles,d),E=g.options&&g.options.params||null;if(b.containsDynamicStyles){const V=new Set,tt=E||{};b.styles.forEach(bt=>{bt instanceof Map&&bt.forEach(Kt=>{Xn(Kt).forEach(ye=>{tt.hasOwnProperty(ye)||V.add(ye)})})}),V.size&&d.errors.push(function nr(){return new l.wOt(3008,!1)}(0,V.values()))}return{type:Do.If.State,name:g.name,style:b,options:E?{params:E}:null}}visitTransition(g,d){d.queryCount=0,d.depCount=0;const b=Yn(this,Uo(g.animation),d),E=function tl(w,g){const d=[];return"string"==typeof w?w.split(/\s*,\s*/).forEach(b=>function Ol(w,g,d){if(":"==w[0]){const Kt=function fp(w,g){switch(w){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(d,b)=>parseFloat(b)>parseFloat(d);case":decrement":return(d,b)=>parseFloat(b) *"}}(w,d);if("function"==typeof Kt)return void g.push(Kt);w=Kt}const b=w.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==b||b.length<4)return d.push(function Ya(){return new l.wOt(3015,!1)}()),g;const E=b[1],V=b[2],tt=b[3];g.push(yl(E,tt)),"<"==V[0]&&(E!=wl||tt!=wl)&&g.push(yl(tt,E))}(b,d,g)):d.push(w),d}(g.expr,d.errors);return{type:Do.If.Transition,matchers:E,animation:b,queryCount:d.queryCount,depCount:d.depCount,options:Lc(g.options)}}visitSequence(g,d){return{type:Do.If.Sequence,steps:g.steps.map(b=>Yn(this,b,d)),options:Lc(g.options)}}visitGroup(g,d){const b=d.currentTime;let E=0;const V=g.steps.map(tt=>{d.currentTime=b;const bt=Yn(this,tt,d);return E=Math.max(E,d.currentTime),bt});return d.currentTime=E,{type:Do.If.Group,steps:V,options:Lc(g.options)}}visitAnimate(g,d){const b=function bp(w,g){if(w.hasOwnProperty("duration"))return w;if("number"==typeof w)return xh(yo(w,g).duration,0,"");const d=w;if(d.split(/\s+/).some(V=>"{"==V.charAt(0)&&"{"==V.charAt(1))){const V=xh(0,0,"");return V.dynamic=!0,V.strValue=d,V}const E=yo(d,g);return xh(E.duration,E.delay,E.easing)}(g.timings,d.errors);d.currentAnimateTimings=b;let E,V=g.styles?g.styles:(0,Do.iF)({});if(V.type==Do.If.Keyframes)E=this.visitKeyframes(V,d);else{let tt=g.styles,bt=!1;if(!tt){bt=!0;const ye={};b.easing&&(ye.easing=b.easing),tt=(0,Do.iF)(ye)}d.currentTime+=b.duration+b.delay;const Kt=this.visitStyle(tt,d);Kt.isEmptyStep=bt,E=Kt}return d.currentAnimateTimings=null,{type:Do.If.Animate,timings:b,style:E,options:null}}visitStyle(g,d){const b=this._makeStyleAst(g,d);return this._validateStyleAst(b,d),b}_makeStyleAst(g,d){const b=[],E=Array.isArray(g.styles)?g.styles:[g.styles];for(let bt of E)"string"==typeof bt?bt===Do.kp?b.push(bt):d.errors.push(new l.wOt(3002,!1)):b.push(new Map(Object.entries(bt)));let V=!1,tt=null;return b.forEach(bt=>{if(bt instanceof Map&&(bt.has("easing")&&(tt=bt.get("easing"),bt.delete("easing")),!V))for(let Kt of bt.values())if(Kt.toString().indexOf("{{")>=0){V=!0;break}}),{type:Do.If.Style,styles:b,easing:tt,offset:g.offset,containsDynamicStyles:V,options:null}}_validateStyleAst(g,d){const b=d.currentAnimateTimings;let E=d.currentTime,V=d.currentTime;b&&V>0&&(V-=b.duration+b.delay),g.styles.forEach(tt=>{"string"!=typeof tt&&tt.forEach((bt,Kt)=>{const ye=d.collectedStyles.get(d.currentQuerySelector),lr=ye.get(Kt);let mr=!0;lr&&(V!=E&&V>=lr.startTime&&E<=lr.endTime&&(d.errors.push(function Io(){return new l.wOt(3010,!1)}()),mr=!1),V=lr.startTime),mr&&ye.set(Kt,{startTime:V,endTime:E}),d.options&&function oi(w,g,d){const b=g.params||{},E=Xn(w);E.length&&E.forEach(V=>{b.hasOwnProperty(V)||d.push(function F(){return new l.wOt(3001,!1)}())})}(bt,d.options,d.errors)})})}visitKeyframes(g,d){const b={type:Do.If.Keyframes,styles:[],options:null};if(!d.currentAnimateTimings)return d.errors.push(function Gn(){return new l.wOt(3011,!1)}()),b;let V=0;const tt=[];let bt=!1,Kt=!1,ye=0;const lr=g.steps.map(Ti=>{const ui=this._makeStyleAst(Ti,d);let xs=null!=ui.offset?ui.offset:function tf(w){if("string"==typeof w)return null;let g=null;if(Array.isArray(w))w.forEach(d=>{if(d instanceof Map&&d.has("offset")){const b=d;g=parseFloat(b.get("offset")),b.delete("offset")}});else if(w instanceof Map&&w.has("offset")){const d=w;g=parseFloat(d.get("offset")),d.delete("offset")}return g}(ui.styles),es=0;return null!=xs&&(V++,es=ui.offset=xs),Kt=Kt||es<0||es>1,bt=bt||es0&&V{const xs=bo>0?ui==to?1:bo*ui:tt[ui],es=xs*Sn;d.currentTime=go+en.delay+es,en.duration=es,this._validateStyleAst(Ti,d),Ti.offset=xs,b.styles.push(Ti)}),b}visitReference(g,d){return{type:Do.If.Reference,animation:Yn(this,Uo(g.animation),d),options:Lc(g.options)}}visitAnimateChild(g,d){return d.depCount++,{type:Do.If.AnimateChild,options:Lc(g.options)}}visitAnimateRef(g,d){return{type:Do.If.AnimateRef,animation:this.visitReference(g.animation,d),options:Lc(g.options)}}visitQuery(g,d){const b=d.currentQuerySelector,E=g.options||{};d.queryCount++,d.currentQuery=g;const[V,tt]=function zd(w){const g=!!w.split(/\s*,\s*/).find(d=>":self"==d);return g&&(w=w.replace(Vd,"")),w=w.replace(/@\*/g,zr).replace(/@\w+/g,d=>zr+"-"+d.slice(1)).replace(/:animating/g,Ar),[w,g]}(g.selector);d.currentQuerySelector=b.length?b+" "+V:V,gs(d.collectedStyles,d.currentQuerySelector,new Map);const bt=Yn(this,Uo(g.animation),d);return d.currentQuery=null,d.currentQuerySelector=b,{type:Do.If.Query,selector:V,limit:E.limit||0,optional:!!E.optional,includeSelf:tt,animation:bt,originalSelector:g.selector,options:Lc(g.options)}}visitStagger(g,d){d.currentQuery||d.errors.push(function da(){return new l.wOt(3013,!1)}());const b="full"===g.timings?{duration:0,delay:0,easing:"full"}:yo(g.timings,d.errors,!0);return{type:Do.If.Stagger,animation:Yn(this,Uo(g.animation),d),timings:b,options:null}}}class Wd{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(g){this.errors=g}}function Lc(w){return w?(w={...w}).params&&(w.params=function Jg(w){return w?{...w}:null}(w.params)):w={},w}function xh(w,g,d){return{duration:w,delay:g,easing:d}}function _u(w,g,d,b,E,V,tt=null,bt=!1){return{type:1,element:w,keyframes:g,preStyleProps:d,postStyleProps:b,duration:E,delay:V,totalTime:E+V,easing:tt,subTimeline:bt}}class Kd{_map=new Map;get(g){return this._map.get(g)||[]}append(g,d){let b=this._map.get(g);b||this._map.set(g,b=[]),b.push(...d)}has(g){return this._map.has(g)}clear(){this._map.clear()}}const rf=new RegExp(":enter","g"),kh=new RegExp(":leave","g");function xu(w,g,d,b,E,V=new Map,tt=new Map,bt,Kt,ye=[]){return(new Rl).buildKeyframes(w,g,d,b,E,V,tt,bt,Kt,ye)}class Rl{buildKeyframes(g,d,b,E,V,tt,bt,Kt,ye,lr=[]){ye=ye||new Kd;const mr=new ku(g,d,ye,E,V,lr,[]);mr.options=Kt;const bo=Kt.delay?Vr(Kt.delay):0;mr.currentTimeline.delayNextStep(bo),mr.currentTimeline.setStyles([tt],null,mr.errors,Kt),Yn(this,b,mr);const to=mr.timelines.filter(go=>go.containsAnimation());if(to.length&&bt.size){let go;for(let en=to.length-1;en>=0;en--){const Sn=to[en];if(Sn.element===d){go=Sn;break}}go&&!go.allowOnlyTimelineStyles()&&go.setStyles([bt],null,mr.errors,Kt)}return to.length?to.map(go=>go.buildKeyframes()):[_u(d,[],[],[],0,bo,"",!1)]}visitTrigger(g,d){}visitState(g,d){}visitTransition(g,d){}visitAnimateChild(g,d){const b=d.subInstructions.get(d.element);if(b){const E=d.createSubContext(g.options),V=d.currentTimeline.currentTime,tt=this._visitSubInstructions(b,E,E.options);V!=tt&&d.transformIntoNewTimeline(tt)}d.previousNode=g}visitAnimateRef(g,d){const b=d.createSubContext(g.options);b.transformIntoNewTimeline(),this._applyAnimationRefDelays([g.options,g.animation.options],d,b),this.visitReference(g.animation,b),d.transformIntoNewTimeline(b.currentTimeline.currentTime),d.previousNode=g}_applyAnimationRefDelays(g,d,b){for(const E of g){const V=E?.delay;if(V){const tt="number"==typeof V?V:Vr(yi(V,E?.params??{},d.errors));b.delayNextStep(tt)}}}_visitSubInstructions(g,d,b){let V=d.currentTimeline.currentTime;const tt=null!=b.duration?Vr(b.duration):null,bt=null!=b.delay?Vr(b.delay):null;return 0!==tt&&g.forEach(Kt=>{const ye=d.appendInstructionToTimeline(Kt,tt,bt);V=Math.max(V,ye.duration+ye.delay)}),V}visitReference(g,d){d.updateOptions(g.options,!0),Yn(this,g.animation,d),d.previousNode=g}visitSequence(g,d){const b=d.subContextCount;let E=d;const V=g.options;if(V&&(V.params||V.delay)&&(E=d.createSubContext(V),E.transformIntoNewTimeline(),null!=V.delay)){E.previousNode.type==Do.If.Style&&(E.currentTimeline.snapshotCurrentStyles(),E.previousNode=Nl);const tt=Vr(V.delay);E.delayNextStep(tt)}g.steps.length&&(g.steps.forEach(tt=>Yn(this,tt,E)),E.currentTimeline.applyStylesToKeyframe(),E.subContextCount>b&&E.transformIntoNewTimeline()),d.previousNode=g}visitGroup(g,d){const b=[];let E=d.currentTimeline.currentTime;const V=g.options&&g.options.delay?Vr(g.options.delay):0;g.steps.forEach(tt=>{const bt=d.createSubContext(g.options);V&&bt.delayNextStep(V),Yn(this,tt,bt),E=Math.max(E,bt.currentTimeline.currentTime),b.push(bt.currentTimeline)}),b.forEach(tt=>d.currentTimeline.mergeTimelineCollectedStyles(tt)),d.transformIntoNewTimeline(E),d.previousNode=g}_visitTiming(g,d){if(g.dynamic){const b=g.strValue;return yo(d.params?yi(b,d.params,d.errors):b,d.errors)}return{duration:g.duration,delay:g.delay,easing:g.easing}}visitAnimate(g,d){const b=d.currentAnimateTimings=this._visitTiming(g.timings,d),E=d.currentTimeline;b.delay&&(d.incrementTime(b.delay),E.snapshotCurrentStyles());const V=g.style;V.type==Do.If.Keyframes?this.visitKeyframes(V,d):(d.incrementTime(b.duration),this.visitStyle(V,d),E.applyStylesToKeyframe()),d.currentAnimateTimings=null,d.previousNode=g}visitStyle(g,d){const b=d.currentTimeline,E=d.currentAnimateTimings;!E&&b.hasCurrentStyleProperties()&&b.forwardFrame();const V=E&&E.easing||g.easing;g.isEmptyStep?b.applyEmptyStep(V):b.setStyles(g.styles,V,d.errors,d.options),d.previousNode=g}visitKeyframes(g,d){const b=d.currentAnimateTimings,E=d.currentTimeline.duration,V=b.duration,bt=d.createSubContext().currentTimeline;bt.easing=b.easing,g.styles.forEach(Kt=>{bt.forwardTime((Kt.offset||0)*V),bt.setStyles(Kt.styles,Kt.easing,d.errors,d.options),bt.applyStylesToKeyframe()}),d.currentTimeline.mergeTimelineCollectedStyles(bt),d.transformIntoNewTimeline(E+V),d.previousNode=g}visitQuery(g,d){const b=d.currentTimeline.currentTime,E=g.options||{},V=E.delay?Vr(E.delay):0;V&&(d.previousNode.type===Do.If.Style||0==b&&d.currentTimeline.hasCurrentStyleProperties())&&(d.currentTimeline.snapshotCurrentStyles(),d.previousNode=Nl);let tt=b;const bt=d.invokeQuery(g.selector,g.originalSelector,g.limit,g.includeSelf,!!E.optional,d.errors);d.currentQueryTotal=bt.length;let Kt=null;bt.forEach((ye,lr)=>{d.currentQueryIndex=lr;const mr=d.createSubContext(g.options,ye);V&&mr.delayNextStep(V),ye===d.element&&(Kt=mr.currentTimeline),Yn(this,g.animation,mr),mr.currentTimeline.applyStylesToKeyframe(),tt=Math.max(tt,mr.currentTimeline.currentTime)}),d.currentQueryIndex=0,d.currentQueryTotal=0,d.transformIntoNewTimeline(tt),Kt&&(d.currentTimeline.mergeTimelineCollectedStyles(Kt),d.currentTimeline.snapshotCurrentStyles()),d.previousNode=g}visitStagger(g,d){const b=d.parentContext,E=d.currentTimeline,V=g.timings,tt=Math.abs(V.duration),bt=tt*(d.currentQueryTotal-1);let Kt=tt*d.currentQueryIndex;switch(V.duration<0?"reverse":V.easing){case"reverse":Kt=bt-Kt;break;case"full":Kt=b.currentStaggerTime}const lr=d.currentTimeline;Kt&&lr.delayNextStep(Kt);const mr=lr.currentTime;Yn(this,g.animation,d),d.previousNode=g,b.currentStaggerTime=E.currentTime-mr+(E.startTime-b.currentTimeline.startTime)}}const Nl={};class ku{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Nl;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(g,d,b,E,V,tt,bt,Kt){this._driver=g,this.element=d,this.subInstructions=b,this._enterClassName=E,this._leaveClassName=V,this.errors=tt,this.timelines=bt,this.currentTimeline=Kt||new Gd(this._driver,d,0),bt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(g,d){if(!g)return;const b=g;let E=this.options;null!=b.duration&&(E.duration=Vr(b.duration)),null!=b.delay&&(E.delay=Vr(b.delay));const V=b.params;if(V){let tt=E.params;tt||(tt=this.options.params={}),Object.keys(V).forEach(bt=>{(!d||!tt.hasOwnProperty(bt))&&(tt[bt]=yi(V[bt],tt,this.errors))})}}_copyOptions(){const g={};if(this.options){const d=this.options.params;if(d){const b=g.params={};Object.keys(d).forEach(E=>{b[E]=d[E]})}}return g}createSubContext(g=null,d,b){const E=d||this.element,V=new ku(this._driver,E,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(E,b||0));return V.previousNode=this.previousNode,V.currentAnimateTimings=this.currentAnimateTimings,V.options=this._copyOptions(),V.updateOptions(g),V.currentQueryIndex=this.currentQueryIndex,V.currentQueryTotal=this.currentQueryTotal,V.parentContext=this,this.subContextCount++,V}transformIntoNewTimeline(g){return this.previousNode=Nl,this.currentTimeline=this.currentTimeline.fork(this.element,g),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(g,d,b){const E={duration:d??g.duration,delay:this.currentTimeline.currentTime+(b??0)+g.delay,easing:""},V=new Eh(this._driver,g.element,g.keyframes,g.preStyleProps,g.postStyleProps,E,g.stretchStartingKeyframe);return this.timelines.push(V),E}incrementTime(g){this.currentTimeline.forwardTime(this.currentTimeline.duration+g)}delayNextStep(g){g>0&&this.currentTimeline.delayNextStep(g)}invokeQuery(g,d,b,E,V,tt){let bt=[];if(E&&bt.push(this.element),g.length>0){g=(g=g.replace(rf,"."+this._enterClassName)).replace(kh,"."+this._leaveClassName);let ye=this._driver.query(this.element,g,1!=b);0!==b&&(ye=b<0?ye.slice(ye.length+b,ye.length):ye.slice(0,b)),bt.push(...ye)}return!V&&0==bt.length&&tt.push(function Wo(){return new l.wOt(3014,!1)}()),bt}}class Gd{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(g,d,b,E){this._driver=g,this.element=d,this.startTime=b,this._elementTimelineStylesLookup=E,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(g){const d=1===this._keyframes.size&&this._pendingStyles.size;this.duration||d?(this.forwardTime(this.currentTime+g),d&&this.snapshotCurrentStyles()):this.startTime+=g}fork(g,d){return this.applyStylesToKeyframe(),new Gd(this._driver,g,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(g){this.applyStylesToKeyframe(),this.duration=g,this._loadKeyframe()}_updateStyle(g,d){this._localTimelineStyles.set(g,d),this._globalTimelineStyles.set(g,d),this._styleSummary.set(g,{time:this.currentTime,value:d})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(g){g&&this._previousKeyframe.set("easing",g);for(let[d,b]of this._globalTimelineStyles)this._backFill.set(d,b||Do.kp),this._currentKeyframe.set(d,Do.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(g,d,b,E){d&&this._previousKeyframe.set("easing",d);const V=E&&E.params||{},tt=function Ch(w,g){const d=new Map;let b;return w.forEach(E=>{if("*"===E){b??=g.keys();for(let V of b)d.set(V,Do.kp)}else for(let[V,tt]of E)d.set(V,tt)}),d}(g,this._globalTimelineStyles);for(let[bt,Kt]of tt){const ye=yi(Kt,V,b);this._pendingStyles.set(bt,ye),this._localTimelineStyles.has(bt)||this._backFill.set(bt,this._globalTimelineStyles.get(bt)??Do.kp),this._updateStyle(bt,ye)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((g,d)=>{this._currentKeyframe.set(d,g)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((g,d)=>{this._currentKeyframe.has(d)||this._currentKeyframe.set(d,g)}))}snapshotCurrentStyles(){for(let[g,d]of this._localTimelineStyles)this._pendingStyles.set(g,d),this._updateStyle(g,d)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const g=[];for(let d in this._currentKeyframe)g.push(d);return g}mergeTimelineCollectedStyles(g){g._styleSummary.forEach((d,b)=>{const E=this._styleSummary.get(b);(!E||d.time>E.time)&&this._updateStyle(b,d.value)})}buildKeyframes(){this.applyStylesToKeyframe();const g=new Set,d=new Set,b=1===this._keyframes.size&&0===this.duration;let E=[];this._keyframes.forEach((bt,Kt)=>{const ye=new Map([...this._backFill,...bt]);ye.forEach((lr,mr)=>{lr===Do.FX?g.add(mr):lr===Do.kp&&d.add(mr)}),b||ye.set("offset",Kt/this.duration),E.push(ye)});const V=[...g.values()],tt=[...d.values()];if(b){const bt=E[0],Kt=new Map(bt);bt.set("offset",0),Kt.set("offset",1),E=[bt,Kt]}return _u(this.element,E,V,tt,this.duration,this.startTime,this.easing,!1)}}class Eh extends Gd{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(g,d,b,E,V,tt,bt=!1){super(g,d,tt.delay),this.keyframes=b,this.preStyleProps=E,this.postStyleProps=V,this._stretchStartingKeyframe=bt,this.timings={duration:tt.duration,delay:tt.delay,easing:tt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let g=this.keyframes,{delay:d,duration:b,easing:E}=this.timings;if(this._stretchStartingKeyframe&&d){const V=[],tt=b+d,bt=d/tt,Kt=new Map(g[0]);Kt.set("offset",0),V.push(Kt);const ye=new Map(g[0]);ye.set("offset",yp(bt)),V.push(ye);const lr=g.length-1;for(let mr=1;mr<=lr;mr++){let bo=new Map(g[mr]);const to=bo.get("offset");bo.set("offset",yp((d+to*b)/tt)),V.push(bo)}b=tt,d=0,E="",g=V}return _u(this.element,g,this.preStyleProps,this.postStyleProps,b,d,E,!0)}}function yp(w,g=3){const d=Math.pow(10,g-1);return Math.round(w*d)/d}function vp(w,g,d,b,E,V,tt,bt,Kt,ye,lr,mr,bo){return{type:0,element:w,triggerName:g,isRemovalTransition:E,fromState:d,fromStyles:V,toState:b,toStyles:tt,timelines:bt,queriedElements:Kt,preStyleProps:ye,postStyleProps:lr,totalTime:mr,errors:bo}}const hd={};class Fc{_triggerName;ast;_stateStyles;constructor(g,d,b){this._triggerName=g,this.ast=d,this._stateStyles=b}match(g,d,b,E){return function Eu(w,g,d,b,E){return w.some(V=>V(g,d,b,E))}(this.ast.matchers,g,d,b,E)}buildStyles(g,d,b){let E=this._stateStyles.get("*");return void 0!==g&&(E=this._stateStyles.get(g?.toString())||E),E?E.buildStyles(d,b):new Map}build(g,d,b,E,V,tt,bt,Kt,ye,lr){const mr=[],bo=this.ast.options&&this.ast.options.params||hd,go=this.buildStyles(b,bt&&bt.params||hd,mr),en=Kt&&Kt.params||hd,Sn=this.buildStyles(E,en,mr),Ti=new Set,ui=new Map,xs=new Map,es="void"===E,Rd={params:_p(en,bo),delay:this.ast.options?.delay},wc=lr?[]:xu(g,d,this.ast.animation,V,tt,go,Sn,Rd,ye,mr);let ks=0;return wc.forEach(Ys=>{ks=Math.max(Ys.duration+Ys.delay,ks)}),mr.length?vp(d,this._triggerName,b,E,es,go,Sn,[],[],ui,xs,ks,mr):(wc.forEach(Ys=>{const Sc=Ys.element,Bc=gs(ui,Sc,new Set);Ys.preStyleProps.forEach(fu=>Bc.add(fu));const ph=gs(xs,Sc,new Set);Ys.postStyleProps.forEach(fu=>ph.add(fu)),Sc!==d&&Ti.add(Sc)}),vp(d,this._triggerName,b,E,es,go,Sn,wc,[...Ti.values()],ui,xs,ks))}}function _p(w,g){const d={...g};return Object.entries(w).forEach(([b,E])=>{null!=E&&(d[b]=E)}),d}class Ll{styles;defaultParams;normalizer;constructor(g,d,b){this.styles=g,this.defaultParams=d,this.normalizer=b}buildStyles(g,d){const b=new Map,E=_p(g,this.defaultParams);return this.styles.styles.forEach(V=>{"string"!=typeof V&&V.forEach((tt,bt)=>{tt&&(tt=yi(tt,E,d));const Kt=this.normalizer.normalizePropertyName(bt,d);tt=this.normalizer.normalizeStyleValue(bt,Kt,tt,d),b.set(bt,tt)})}),b}}class Fa{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(g,d,b){this.name=g,this.ast=d,this._normalizer=b,d.states.forEach(E=>{this.states.set(E.name,new Ll(E.style,E.options&&E.options.params||{},b))}),xp(this.states,"true","1"),xp(this.states,"false","0"),d.transitions.forEach(E=>{this.transitionFactories.push(new Fc(g,E,this.states))}),this.fallbackTransition=function Dh(w,g){return new Fc(w,{type:Do.If.Transition,animation:{type:Do.If.Sequence,steps:[],options:null},matchers:[(tt,bt)=>!0],options:null,queryCount:0,depCount:0},g)}(g,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(g,d,b,E){return this.transitionFactories.find(tt=>tt.match(g,d,b,E))||null}matchStyles(g,d,b){return this.fallbackTransition.buildStyles(g,d,b)}}function xp(w,g,d){w.has(g)?w.has(d)||w.set(d,w.get(g)):w.has(d)&&w.set(g,w.get(d))}const Cu=new Kd;class nf{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(g,d,b){this.bodyNode=g,this._driver=d,this._normalizer=b}register(g,d){const b=[],V=Hd(this._driver,d,b,[]);if(b.length)throw function up(){return new l.wOt(3503,!1)}();this._animations.set(g,V)}_buildPlayer(g,d,b){const E=g.element,V=Nc(this._normalizer,g.keyframes,d,b);return this._driver.animate(E,V,g.duration,g.delay,g.easing,[],!0)}create(g,d,b={}){const E=[],V=this._animations.get(g);let tt;const bt=new Map;if(V?(tt=xu(this._driver,d,V,Cr,Qe,new Map,new Map,b,Cu,E),tt.forEach(lr=>{const mr=gs(bt,lr.element,new Map);lr.postStyleProps.forEach(bo=>mr.set(bo,null))})):(E.push(function pp(){return new l.wOt(3300,!1)}()),tt=[]),E.length)throw function ml(){return new l.wOt(3504,!1)}();bt.forEach((lr,mr)=>{lr.forEach((bo,to)=>{lr.set(to,this._driver.computeStyle(mr,to,Do.kp))})});const ye=An(tt.map(lr=>{const mr=bt.get(lr.element);return this._buildPlayer(lr,new Map,mr)}));return this._playersById.set(g,ye),ye.onDestroy(()=>this.destroy(g)),this.players.push(ye),ye}destroy(g){const d=this._getPlayer(g);d.destroy(),this._playersById.delete(g);const b=this.players.indexOf(d);b>=0&&this.players.splice(b,1)}_getPlayer(g){const d=this._playersById.get(g);if(!d)throw function Yc(){return new l.wOt(3301,!1)}();return d}listen(g,d,b,E){const V=Il(d,"","","");return Rs(this._getPlayer(g),b,V,E),()=>{}}command(g,d,b,E){if("register"==b)return void this.register(g,E[0]);if("create"==b)return void this.create(g,d,E[0]||{});const V=this._getPlayer(g);switch(b){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(E[0]));break;case"destroy":this.destroy(g)}}}const Xd="ng-animate-queued",kp="ng-animate-disabled",Sh=[],Ah={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Su={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Gs="__ng_removed";class Au{namespaceId;value;options;get params(){return this.options.params}constructor(g,d=""){this.namespaceId=d;const b=g&&g.hasOwnProperty("value");if(this.value=function Dp(w){return w??null}(b?g.value:g),b){const{value:V,...tt}=g;this.options=tt}else this.options={};this.options.params||(this.options.params={})}absorbOptions(g){const d=g.params;if(d){const b=this.options.params;Object.keys(d).forEach(E=>{null==b[E]&&(b[E]=d[E])})}}}const Zd="void",Tu=new Au(Zd);class Ep{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(g,d,b){this.id=g,this.hostElement=d,this._engine=b,this._hostClassName="ng-tns-"+g,va(d,this._hostClassName)}listen(g,d,b,E){if(!this._triggers.has(d))throw function Qc(){return new l.wOt(3302,!1)}();if(null==b||0==b.length)throw function dd(){return new l.wOt(3303,!1)}();if(!function cf(w){return"start"==w||"done"==w}(b))throw function ud(){return new l.wOt(3400,!1)}();const V=gs(this._elementListeners,g,[]),tt={name:d,phase:b,callback:E};V.push(tt);const bt=gs(this._engine.statesByElement,g,new Map);return bt.has(d)||(va(g,Gr),va(g,Gr+"-"+d),bt.set(d,Tu)),()=>{this._engine.afterFlush(()=>{const Kt=V.indexOf(tt);Kt>=0&&V.splice(Kt,1),this._triggers.has(d)||bt.delete(d)})}}register(g,d){return!this._triggers.has(g)&&(this._triggers.set(g,d),!0)}_getTrigger(g){const d=this._triggers.get(g);if(!d)throw function Js(){return new l.wOt(3401,!1)}();return d}trigger(g,d,b,E=!0){const V=this._getTrigger(d),tt=new sf(this.id,d,g);let bt=this._engine.statesByElement.get(g);bt||(va(g,Gr),va(g,Gr+"-"+d),this._engine.statesByElement.set(g,bt=new Map));let Kt=bt.get(d);const ye=new Au(b,this.id);if(!(b&&b.hasOwnProperty("value"))&&Kt&&ye.absorbOptions(Kt.options),bt.set(d,ye),Kt||(Kt=Tu),ye.value!==Zd&&Kt.value===ye.value){if(!function Mh(w,g){const d=Object.keys(w),b=Object.keys(g);if(d.length!=b.length)return!1;for(let E=0;E{Go(g,Sn),Co(g,Ti)})}return}const bo=gs(this._engine.playersByElement,g,[]);bo.forEach(en=>{en.namespaceId==this.id&&en.triggerName==d&&en.queued&&en.destroy()});let to=V.matchTransition(Kt.value,ye.value,g,ye.params),go=!1;if(!to){if(!E)return;to=V.fallbackTransition,go=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:g,triggerName:d,transition:to,fromState:Kt,toState:ye,player:tt,isFallbackTransition:go}),go||(va(g,Xd),tt.onStart(()=>{Pl(g,Xd)})),tt.onDone(()=>{let en=this.players.indexOf(tt);en>=0&&this.players.splice(en,1);const Sn=this._engine.playersByElement.get(g);if(Sn){let Ti=Sn.indexOf(tt);Ti>=0&&Sn.splice(Ti,1)}}),this.players.push(tt),bo.push(tt),tt}deregister(g){this._triggers.delete(g),this._engine.statesByElement.forEach(d=>d.delete(g)),this._elementListeners.forEach((d,b)=>{this._elementListeners.set(b,d.filter(E=>E.name!=g))})}clearElementCache(g){this._engine.statesByElement.delete(g),this._elementListeners.delete(g);const d=this._engine.playersByElement.get(g);d&&(d.forEach(b=>b.destroy()),this._engine.playersByElement.delete(g))}_signalRemovalForInnerTriggers(g,d){const b=this._engine.driver.query(g,zr,!0);b.forEach(E=>{if(E[Gs])return;const V=this._engine.fetchNamespacesByElement(E);V.size?V.forEach(tt=>tt.triggerLeaveAnimation(E,d,!1,!0)):this.clearElementCache(E)}),this._engine.afterFlushAnimationsDone(()=>b.forEach(E=>this.clearElementCache(E)))}triggerLeaveAnimation(g,d,b,E){const V=this._engine.statesByElement.get(g),tt=new Map;if(V){const bt=[];if(V.forEach((Kt,ye)=>{if(tt.set(ye,Kt.value),this._triggers.has(ye)){const lr=this.trigger(g,ye,Zd,E);lr&&bt.push(lr)}}),bt.length)return this._engine.markElementAsRemoved(this.id,g,!0,d,tt),b&&An(bt).onDone(()=>this._engine.processLeaveNode(g)),!0}return!1}prepareLeaveAnimationListeners(g){const d=this._elementListeners.get(g),b=this._engine.statesByElement.get(g);if(d&&b){const E=new Set;d.forEach(V=>{const tt=V.name;if(E.has(tt))return;E.add(tt);const Kt=this._triggers.get(tt).fallbackTransition,ye=b.get(tt)||Tu,lr=new Au(Zd),mr=new sf(this.id,tt,g);this._engine.totalQueuedPlayers++,this._queue.push({element:g,triggerName:tt,transition:Kt,fromState:ye,toState:lr,player:mr,isFallbackTransition:!0})})}}removeNode(g,d){const b=this._engine;if(g.childElementCount&&this._signalRemovalForInnerTriggers(g,d),this.triggerLeaveAnimation(g,d,!0))return;let E=!1;if(b.totalAnimations){const V=b.players.length?b.playersByQueriedElement.get(g):[];if(V&&V.length)E=!0;else{let tt=g;for(;tt=tt.parentNode;)if(b.statesByElement.get(tt)){E=!0;break}}}if(this.prepareLeaveAnimationListeners(g),E)b.markElementAsRemoved(this.id,g,!1,d);else{const V=g[Gs];(!V||V===Ah)&&(b.afterFlush(()=>this.clearElementCache(g)),b.destroyInnerAnimations(g),b._onRemovalComplete(g,d))}}insertNode(g,d){va(g,this._hostClassName)}drainQueuedTransitions(g){const d=[];return this._queue.forEach(b=>{const E=b.player;if(E.destroyed)return;const V=b.element,tt=this._elementListeners.get(V);tt&&tt.forEach(bt=>{if(bt.name==b.triggerName){const Kt=Il(V,b.triggerName,b.fromState.value,b.toState.value);Kt._data=g,Rs(b.player,bt.phase,Kt,bt.callback)}}),E.markedForDestroy?this._engine.afterFlush(()=>{E.destroy()}):d.push(b)}),this._queue=[],d.sort((b,E)=>{const V=b.transition.ast.depCount,tt=E.transition.ast.depCount;return 0==V||0==tt?V-tt:this._engine.driver.containsElement(b.element,E.element)?1:-1})}destroy(g){this.players.forEach(d=>d.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,g)}}class af{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(g,d)=>{};_onRemovalComplete(g,d){this.onRemovalComplete(g,d)}constructor(g,d,b){this.bodyNode=g,this.driver=d,this._normalizer=b}get queuedPlayers(){const g=[];return this._namespaceList.forEach(d=>{d.players.forEach(b=>{b.queued&&g.push(b)})}),g}createNamespace(g,d){const b=new Ep(g,d,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,d)?this._balanceNamespaceList(b,d):(this.newHostElements.set(d,b),this.collectEnterElement(d)),this._namespaceLookup[g]=b}_balanceNamespaceList(g,d){const b=this._namespaceList,E=this.namespacesByHostElement;if(b.length-1>=0){let tt=!1,bt=this.driver.getParentElement(d);for(;bt;){const Kt=E.get(bt);if(Kt){const ye=b.indexOf(Kt);b.splice(ye+1,0,g),tt=!0;break}bt=this.driver.getParentElement(bt)}tt||b.unshift(g)}else b.push(g);return E.set(d,g),g}register(g,d){let b=this._namespaceLookup[g];return b||(b=this.createNamespace(g,d)),b}registerTrigger(g,d,b){let E=this._namespaceLookup[g];E&&E.register(d,b)&&this.totalAnimations++}destroy(g,d){g&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const b=this._fetchNamespace(g);this.namespacesByHostElement.delete(b.hostElement);const E=this._namespaceList.indexOf(b);E>=0&&this._namespaceList.splice(E,1),b.destroy(d),delete this._namespaceLookup[g]}))}_fetchNamespace(g){return this._namespaceLookup[g]}fetchNamespacesByElement(g){const d=new Set,b=this.statesByElement.get(g);if(b)for(let E of b.values())if(E.namespaceId){const V=this._fetchNamespace(E.namespaceId);V&&d.add(V)}return d}trigger(g,d,b,E){if(Qi(d)){const V=this._fetchNamespace(g);if(V)return V.trigger(d,b,E),!0}return!1}insertNode(g,d,b,E){if(!Qi(d))return;const V=d[Gs];if(V&&V.setForRemoval){V.setForRemoval=!1,V.setForMove=!0;const tt=this.collectedLeaveElements.indexOf(d);tt>=0&&this.collectedLeaveElements.splice(tt,1)}if(g){const tt=this._fetchNamespace(g);tt&&tt.insertNode(d,b)}E&&this.collectEnterElement(d)}collectEnterElement(g){this.collectedEnterElements.push(g)}markElementAsDisabled(g,d){d?this.disabledNodes.has(g)||(this.disabledNodes.add(g),va(g,kp)):this.disabledNodes.has(g)&&(this.disabledNodes.delete(g),Pl(g,kp))}removeNode(g,d,b){if(Qi(d)){const E=g?this._fetchNamespace(g):null;E?E.removeNode(d,b):this.markElementAsRemoved(g,d,!1,b);const V=this.namespacesByHostElement.get(d);V&&V.id!==g&&V.removeNode(d,b)}else this._onRemovalComplete(d,b)}markElementAsRemoved(g,d,b,E,V){this.collectedLeaveElements.push(d),d[Gs]={namespaceId:g,setForRemoval:E,hasAnimation:b,removedBeforeQueried:!1,previousTriggersValues:V}}listen(g,d,b,E,V){return Qi(d)?this._fetchNamespace(g).listen(d,b,E,V):()=>{}}_buildInstruction(g,d,b,E,V){return g.transition.build(this.driver,g.element,g.fromState.value,g.toState.value,b,E,g.fromState.options,g.toState.options,d,V)}destroyInnerAnimations(g){let d=this.driver.query(g,zr,!0);d.forEach(b=>this.destroyActiveAnimationsForElement(b)),0!=this.playersByQueriedElement.size&&(d=this.driver.query(g,Ar,!0),d.forEach(b=>this.finishActiveQueriedAnimationOnElement(b)))}destroyActiveAnimationsForElement(g){const d=this.playersByElement.get(g);d&&d.forEach(b=>{b.queued?b.markedForDestroy=!0:b.destroy()})}finishActiveQueriedAnimationOnElement(g){const d=this.playersByQueriedElement.get(g);d&&d.forEach(b=>b.finish())}whenRenderingDone(){return new Promise(g=>{if(this.players.length)return An(this.players).onDone(()=>g());g()})}processLeaveNode(g){const d=g[Gs];if(d&&d.setForRemoval){if(g[Gs]=Ah,d.namespaceId){this.destroyInnerAnimations(g);const b=this._fetchNamespace(d.namespaceId);b&&b.clearElementCache(g)}this._onRemovalComplete(g,d.setForRemoval)}g.classList?.contains(kp)&&this.markElementAsDisabled(g,!1),this.driver.query(g,".ng-animate-disabled",!0).forEach(b=>{this.markElementAsDisabled(b,!1)})}flush(g=-1){let d=[];if(this.newHostElements.size&&(this.newHostElements.forEach((b,E)=>this._balanceNamespaceList(b,E)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let b=0;bb()),this._flushFns=[],this._whenQuietFns.length){const b=this._whenQuietFns;this._whenQuietFns=[],d.length?An(d).onDone(()=>{b.forEach(E=>E())}):b.forEach(E=>E())}}reportError(g){throw function _r(){return new l.wOt(3402,!1)}()}_flushAnimations(g,d){const b=new Kd,E=[],V=new Map,tt=[],bt=new Map,Kt=new Map,ye=new Map,lr=new Set;this.disabledNodes.forEach(Zo=>{lr.add(Zo);const yn=this.driver.query(Zo,".ng-animate-queued",!0);for(let Tn=0;Tn{const Tn=Cr+en++;go.set(yn,Tn),Zo.forEach(xi=>va(xi,Tn))});const Sn=[],Ti=new Set,ui=new Set;for(let Zo=0;ZoTi.add(xi)):ui.add(yn))}const xs=new Map,es=Sp(bo,Array.from(Ti));es.forEach((Zo,yn)=>{const Tn=Qe+en++;xs.set(yn,Tn),Zo.forEach(xi=>va(xi,Tn))}),g.push(()=>{to.forEach((Zo,yn)=>{const Tn=go.get(yn);Zo.forEach(xi=>Pl(xi,Tn))}),es.forEach((Zo,yn)=>{const Tn=xs.get(yn);Zo.forEach(xi=>Pl(xi,Tn))}),Sn.forEach(Zo=>{this.processLeaveNode(Zo)})});const Rd=[],wc=[];for(let Zo=this._namespaceList.length-1;Zo>=0;Zo--)this._namespaceList[Zo].drainQueuedTransitions(d).forEach(Tn=>{const xi=Tn.player,Es=Tn.element;if(Rd.push(xi),this.collectedEnterElements.length){const os=Es[Gs];if(os&&os.setForMove){if(os.previousTriggersValues&&os.previousTriggersValues.has(Tn.triggerName)){const Ql=os.previousTriggersValues.get(Tn.triggerName),dl=this.statesByElement.get(Tn.element);if(dl&&dl.has(Tn.triggerName)){const hh=dl.get(Tn.triggerName);hh.value=Ql,dl.set(Tn.triggerName,hh)}}return void xi.destroy()}}const rs=!mr||!this.driver.containsElement(mr,Es),ac=xs.get(Es),Nd=go.get(Es),ka=this._buildInstruction(Tn,b,Nd,ac,rs);if(ka.errors&&ka.errors.length)return void wc.push(ka);if(rs)return xi.onStart(()=>Go(Es,ka.fromStyles)),xi.onDestroy(()=>Co(Es,ka.toStyles)),void E.push(xi);if(Tn.isFallbackTransition)return xi.onStart(()=>Go(Es,ka.fromStyles)),xi.onDestroy(()=>Co(Es,ka.toStyles)),void E.push(xi);const rm=[];ka.timelines.forEach(os=>{os.stretchStartingKeyframe=!0,this.disabledNodes.has(os.element)||rm.push(os)}),ka.timelines=rm,b.append(Es,ka.timelines),tt.push({instruction:ka,player:xi,element:Es}),ka.queriedElements.forEach(os=>gs(bt,os,[]).push(xi)),ka.preStyleProps.forEach((os,Ql)=>{if(os.size){let dl=Kt.get(Ql);dl||Kt.set(Ql,dl=new Set),os.forEach((hh,Eg)=>dl.add(Eg))}}),ka.postStyleProps.forEach((os,Ql)=>{let dl=ye.get(Ql);dl||ye.set(Ql,dl=new Set),os.forEach((hh,Eg)=>dl.add(Eg))})});if(wc.length){const Zo=[];wc.forEach(yn=>{Zo.push(function Ml(){return new l.wOt(3505,!1)}())}),Rd.forEach(yn=>yn.destroy()),this.reportError(Zo)}const ks=new Map,Ys=new Map;tt.forEach(Zo=>{const yn=Zo.element;b.has(yn)&&(Ys.set(yn,yn),this._beforeAnimationBuild(Zo.player.namespaceId,Zo.instruction,ks))}),E.forEach(Zo=>{const yn=Zo.element;this._getPreviousPlayers(yn,!1,Zo.namespaceId,Zo.triggerName,null).forEach(xi=>{gs(ks,yn,[]).push(xi),xi.destroy()})});const Sc=Sn.filter(Zo=>Ou(Zo,Kt,ye)),Bc=new Map;Th(Bc,this.driver,ui,ye,Do.kp).forEach(Zo=>{Ou(Zo,Kt,ye)&&Sc.push(Zo)});const fu=new Map;to.forEach((Zo,yn)=>{Th(fu,this.driver,new Set(Zo),Kt,Do.FX)}),Sc.forEach(Zo=>{const yn=Bc.get(Zo),Tn=fu.get(Zo);Bc.set(Zo,new Map([...yn?.entries()??[],...Tn?.entries()??[]]))});const em=[],kg=[],iw={};tt.forEach(Zo=>{const{element:yn,player:Tn,instruction:xi}=Zo;if(b.has(yn)){if(lr.has(yn))return Tn.onDestroy(()=>Co(yn,xi.toStyles)),Tn.disabled=!0,Tn.overrideTotalTime(xi.totalTime),void E.push(Tn);let Es=iw;if(Ys.size>1){let ac=yn;const Nd=[];for(;ac=ac.parentNode;){const ka=Ys.get(ac);if(ka){Es=ka;break}Nd.push(ac)}Nd.forEach(ka=>Ys.set(ka,Es))}const rs=this._buildAnimation(Tn.namespaceId,xi,ks,V,fu,Bc);if(Tn.setRealPlayer(rs),Es===iw)em.push(Tn);else{const ac=this.playersByElement.get(Es);ac&&ac.length&&(Tn.parentPlayer=An(ac)),E.push(Tn)}}else Go(yn,xi.fromStyles),Tn.onDestroy(()=>Co(yn,xi.toStyles)),kg.push(Tn),lr.has(yn)&&E.push(Tn)}),kg.forEach(Zo=>{const yn=V.get(Zo.element);if(yn&&yn.length){const Tn=An(yn);Zo.setRealPlayer(Tn)}}),E.forEach(Zo=>{Zo.parentPlayer?Zo.syncPlayerEvents(Zo.parentPlayer):Zo.destroy()});for(let Zo=0;Zo!rs.destroyed);Es.length?Iu(this,yn,Es):this.processLeaveNode(yn)}return Sn.length=0,em.forEach(Zo=>{this.players.push(Zo),Zo.onDone(()=>{Zo.destroy();const yn=this.players.indexOf(Zo);this.players.splice(yn,1)}),Zo.play()}),em}afterFlush(g){this._flushFns.push(g)}afterFlushAnimationsDone(g){this._whenQuietFns.push(g)}_getPreviousPlayers(g,d,b,E,V){let tt=[];if(d){const bt=this.playersByQueriedElement.get(g);bt&&(tt=bt)}else{const bt=this.playersByElement.get(g);if(bt){const Kt=!V||V==Zd;bt.forEach(ye=>{ye.queued||!Kt&&ye.triggerName!=E||tt.push(ye)})}}return(b||E)&&(tt=tt.filter(bt=>!(b&&b!=bt.namespaceId||E&&E!=bt.triggerName))),tt}_beforeAnimationBuild(g,d,b){const V=d.element,tt=d.isRemovalTransition?void 0:g,bt=d.isRemovalTransition?void 0:d.triggerName;for(const Kt of d.timelines){const ye=Kt.element,lr=ye!==V,mr=gs(b,ye,[]);this._getPreviousPlayers(ye,lr,tt,bt,d.toState).forEach(to=>{const go=to.getRealPlayer();go.beforeDestroy&&go.beforeDestroy(),to.destroy(),mr.push(to)})}Go(V,d.fromStyles)}_buildAnimation(g,d,b,E,V,tt){const bt=d.triggerName,Kt=d.element,ye=[],lr=new Set,mr=new Set,bo=d.timelines.map(go=>{const en=go.element;lr.add(en);const Sn=en[Gs];if(Sn&&Sn.removedBeforeQueried)return new Do.sf(go.duration,go.delay);const Ti=en!==Kt,ui=function rl(w){const g=[];return md(w,g),g}((b.get(en)||Sh).map(ks=>ks.getRealPlayer())).filter(ks=>!!ks.element&&ks.element===en),xs=V.get(en),es=tt.get(en),Rd=Nc(this._normalizer,go.keyframes,xs,es),wc=this._buildPlayer(go,Rd,ui);if(go.subTimeline&&E&&mr.add(en),Ti){const ks=new sf(g,bt,en);ks.setRealPlayer(wc),ye.push(ks)}return wc});ye.forEach(go=>{gs(this.playersByQueriedElement,go.element,[]).push(go),go.onDone(()=>function Cp(w,g,d){let b=w.get(g);if(b){if(b.length){const E=b.indexOf(d);b.splice(E,1)}0==b.length&&w.delete(g)}return b}(this.playersByQueriedElement,go.element,go))}),lr.forEach(go=>va(go,ro));const to=An(bo);return to.onDestroy(()=>{lr.forEach(go=>Pl(go,ro)),Co(Kt,d.toStyles)}),mr.forEach(go=>{gs(E,go,[]).push(to)}),to}_buildPlayer(g,d,b){return d.length>0?this.driver.animate(g.element,d,g.duration,g.delay,g.easing,b):new Do.sf(g.duration,g.delay)}}class sf{namespaceId;triggerName;element;_player=new Do.sf;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(g,d,b){this.namespaceId=g,this.triggerName=d,this.element=b}setRealPlayer(g){this._containsRealPlayer||(this._player=g,this._queuedCallbacks.forEach((d,b)=>{d.forEach(E=>Rs(g,b,void 0,E))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(g.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(g){this.totalTime=g}syncPlayerEvents(g){const d=this._player;d.triggerCallback&&g.onStart(()=>d.triggerCallback("start")),g.onDone(()=>this.finish()),g.onDestroy(()=>this.destroy())}_queueEvent(g,d){gs(this._queuedCallbacks,g,[]).push(d)}onDone(g){this.queued&&this._queueEvent("done",g),this._player.onDone(g)}onStart(g){this.queued&&this._queueEvent("start",g),this._player.onStart(g)}onDestroy(g){this.queued&&this._queueEvent("destroy",g),this._player.onDestroy(g)}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(g){this.queued||this._player.setPosition(g)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(g){const d=this._player;d.triggerCallback&&d.triggerCallback(g)}}function Qi(w){return w&&1===w.nodeType}function Mu(w,g){const d=w.style.display;return w.style.display=g??"none",d}function Th(w,g,d,b,E){const V=[];d.forEach(Kt=>V.push(Mu(Kt)));const tt=[];b.forEach((Kt,ye)=>{const lr=new Map;Kt.forEach(mr=>{const bo=g.computeStyle(ye,mr,E);lr.set(mr,bo),(!bo||0==bo.length)&&(ye[Gs]=Su,tt.push(ye))}),w.set(ye,lr)});let bt=0;return d.forEach(Kt=>Mu(Kt,V[bt++])),tt}function Sp(w,g){const d=new Map;if(w.forEach(bt=>d.set(bt,[])),0==g.length)return d;const E=new Set(g),V=new Map;function tt(bt){if(!bt)return 1;let Kt=V.get(bt);if(Kt)return Kt;const ye=bt.parentNode;return Kt=d.has(ye)?ye:E.has(ye)?1:tt(ye),V.set(bt,Kt),Kt}return g.forEach(bt=>{const Kt=tt(bt);1!==Kt&&d.get(Kt).push(bt)}),d}function va(w,g){w.classList?.add(g)}function Pl(w,g){w.classList?.remove(g)}function Iu(w,g,d){An(d).onDone(()=>w.processLeaveNode(g))}function md(w,g){for(let d=0;dE.add(V)):g.set(w,b),d.delete(w),!0}class ol{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(g,d)=>{};constructor(g,d,b){this._driver=d,this._normalizer=b,this._transitionEngine=new af(g.body,d,b),this._timelineEngine=new nf(g.body,d,b),this._transitionEngine.onRemovalComplete=(E,V)=>this.onRemovalComplete(E,V)}registerTrigger(g,d,b,E,V){const tt=g+"-"+E;let bt=this._triggerCache[tt];if(!bt){const Kt=[],lr=Hd(this._driver,V,Kt,[]);if(Kt.length)throw function wu(){return new l.wOt(3404,!1)}();bt=function gd(w,g,d){return new Fa(w,g,d)}(E,lr,this._normalizer),this._triggerCache[tt]=bt}this._transitionEngine.registerTrigger(d,E,bt)}register(g,d){this._transitionEngine.register(g,d)}destroy(g,d){this._transitionEngine.destroy(g,d)}onInsert(g,d,b,E){this._transitionEngine.insertNode(g,d,b,E)}onRemove(g,d,b){this._transitionEngine.removeNode(g,d,b)}disableAnimations(g,d){this._transitionEngine.markElementAsDisabled(g,d)}process(g,d,b,E){if("@"==b.charAt(0)){const[V,tt]=yu(b);this._timelineEngine.command(V,d,tt,E)}else this._transitionEngine.trigger(g,d,b,E)}listen(g,d,b,E,V){if("@"==b.charAt(0)){const[tt,bt]=yu(b);return this._timelineEngine.listen(tt,d,bt,V)}return this._transitionEngine.listen(g,d,b,E,V)}flush(g=-1){this._transitionEngine.flush(g)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(g){this._transitionEngine.afterFlushAnimationsDone(g)}}let Ap=(()=>{class w{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(d,b,E){this._element=d,this._startStyles=b,this._endStyles=E;let V=w.initialStylesByElement.get(d);V||w.initialStylesByElement.set(d,V=new Map),this._initialStyles=V}start(){this._state<1&&(this._startStyles&&Co(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Co(this._element,this._initialStyles),this._endStyles&&(Co(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(w.initialStylesByElement.delete(this._element),this._startStyles&&(Go(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Go(this._element,this._endStyles),this._endStyles=null),Co(this._element,this._initialStyles),this._state=3)}}return w})();function Tp(w){let g=null;return w.forEach((d,b)=>{(function nl(w){return"display"===w||"position"===w})(b)&&(g=g||new Map,g.set(b,d))}),g}class bd{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(g,d,b,E){this.element=g,this.keyframes=d,this.options=b,this._specialStyles=E,this._duration=b.duration,this._delay=b.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(g=>g()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const g=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,g,this.options),this._finalKeyframe=g.length?g[g.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(g){const d=[];return g.forEach(b=>{d.push(Object.fromEntries(b))}),d}_triggerWebAnimation(g,d,b){return g.animate(this._convertKeyframesToObject(d),b)}onStart(g){this._originalOnStartFns.push(g),this._onStartFns.push(g)}onDone(g){this._originalOnDoneFns.push(g),this._onDoneFns.push(g)}onDestroy(g){this._onDestroyFns.push(g)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(g=>g()),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(g=>g()),this._onDestroyFns=[])}setPosition(g){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=g*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const g=new Map;this.hasStarted()&&this._finalKeyframe.forEach((b,E)=>{"offset"!==E&&g.set(E,this._finished?b:Ai(this.element,E))}),this.currentSnapshot=g}triggerCallback(g){const d="start"===g?this._onStartFns:this._onDoneFns;d.forEach(b=>b()),d.length=0}}class Ru{validateStyleProperty(g){return!0}validateAnimatableStyleProperty(g){return!0}containsElement(g,d){return I(g,d)}getParentElement(g){return hp(g)}query(g,d,b){return L(g,d,b)}computeStyle(g,d,b){return Ai(g,d)}animate(g,d,b,E,V,tt=[]){const Kt={duration:b,delay:E,fill:0==E?"both":"forwards"};V&&(Kt.easing=V);const ye=new Map,lr=tt.filter(to=>to instanceof bd);(function Vo(w,g){return 0===w||0===g})(b,E)&&lr.forEach(to=>{to.currentSnapshot.forEach((go,en)=>ye.set(en,go))});let mr=function Oo(w){return w.length?w[0]instanceof Map?w:w.map(g=>new Map(Object.entries(g))):[]}(d).map(to=>new Map(to));mr=function Hn(w,g,d){if(d.size&&g.length){let b=g[0],E=[];if(d.forEach((V,tt)=>{b.has(tt)||E.push(tt),b.set(tt,V)}),E.length)for(let V=1;Vtt.set(bt,Ai(w,bt)))}}return g}(g,mr,ye);const bo=function _l(w,g){let d=null,b=null;return Array.isArray(g)&&g.length?(d=Tp(g[0]),g.length>1&&(b=Tp(g[g.length-1]))):g instanceof Map&&(d=Tp(g)),d||b?new Ap(w,d,b):null}(g,mr);return new bd(g,mr,Kt,bo)}}const qd="@.disabled";class Mp{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(g,d,b,E){this.namespaceId=g,this.delegate=d,this.engine=b,this._onDestroy=E}get data(){return this.delegate.data}destroyNode(g){this.delegate.destroyNode?.(g)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(g,d){return this.delegate.createElement(g,d)}createComment(g){return this.delegate.createComment(g)}createText(g){return this.delegate.createText(g)}appendChild(g,d){this.delegate.appendChild(g,d),this.engine.onInsert(this.namespaceId,d,g,!1)}insertBefore(g,d,b,E=!0){this.delegate.insertBefore(g,d,b),this.engine.onInsert(this.namespaceId,d,g,E)}removeChild(g,d,b){this.parentNode(d)&&this.engine.onRemove(this.namespaceId,d,this.delegate)}selectRootElement(g,d){return this.delegate.selectRootElement(g,d)}parentNode(g){return this.delegate.parentNode(g)}nextSibling(g){return this.delegate.nextSibling(g)}setAttribute(g,d,b,E){this.delegate.setAttribute(g,d,b,E)}removeAttribute(g,d,b){this.delegate.removeAttribute(g,d,b)}addClass(g,d){this.delegate.addClass(g,d)}removeClass(g,d){this.delegate.removeClass(g,d)}setStyle(g,d,b,E){this.delegate.setStyle(g,d,b,E)}removeStyle(g,d,b){this.delegate.removeStyle(g,d,b)}setProperty(g,d,b){"@"==d.charAt(0)&&d==qd?this.disableAnimations(g,!!b):this.delegate.setProperty(g,d,b)}setValue(g,d){this.delegate.setValue(g,d)}listen(g,d,b){return this.delegate.listen(g,d,b)}disableAnimations(g,d){this.engine.disableAnimations(g,d)}}class ia extends Mp{factory;constructor(g,d,b,E,V){super(d,b,E,V),this.factory=g,this.namespaceId=d}setProperty(g,d,b){"@"==d.charAt(0)?"."==d.charAt(1)&&d==qd?this.disableAnimations(g,b=void 0===b||!!b):this.engine.process(this.namespaceId,g,d.slice(1),b):this.delegate.setProperty(g,d,b)}listen(g,d,b){if("@"==d.charAt(0)){const E=function Ih(w){switch(w){case"body":return document.body;case"document":return document;case"window":return window;default:return w}}(g);let V=d.slice(1),tt="";return"@"!=V.charAt(0)&&([V,tt]=function Ip(w){const g=w.indexOf(".");return[w.substring(0,g),w.slice(g+1)]}(V)),this.engine.listen(this.namespaceId,E,V,tt,bt=>{this.factory.scheduleListenerCallback(bt._data||-1,b,bt)})}return this.delegate.listen(g,d,b)}}class df{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(g,d,b){this.delegate=g,this.engine=d,this._zone=b,d.onRemovalComplete=(E,V)=>{V?.removeChild(null,E)}}createRenderer(g,d){const E=this.delegate.createRenderer(g,d);if(!g||!d?.data?.animation){const ye=this._rendererCache;let lr=ye.get(E);return lr||(lr=new Mp("",E,this.engine,()=>ye.delete(E)),ye.set(E,lr)),lr}const V=d.id,tt=d.id+"-"+this._currentId;this._currentId++,this.engine.register(tt,g);const bt=ye=>{Array.isArray(ye)?ye.forEach(bt):this.engine.registerTrigger(V,tt,g,ye.name,ye)};return d.data.animation.forEach(bt),new ia(this,tt,E,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(g,d,b){if(g>=0&&gd(b));const E=this._animationCallbacksBuffer;0==E.length&&queueMicrotask(()=>{this._zone.run(()=>{E.forEach(V=>{const[tt,bt]=V;tt(bt)}),this._animationCallbacksBuffer=[]})}),E.push([d,b])}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 wd=[{provide:Ut,useFactory:function Op(){return new qa}},{provide:ol,useClass:(()=>{class w extends ol{constructor(d,b,E){super(d,b,E)}ngOnDestroy(){this.flush()}static \u0275fac=function(b){return new(b||w)(l.KVO(ae.qQ),l.KVO(xt),l.KVO(Ut))};static \u0275prov=l.jDH({token:w,factory:w.\u0275fac})}return w})()},{provide:l._9s,useFactory:function Rh(w,g,d){return new df(w,g,d)},deps:[n.B7,ol,l.SKi]}],Rp=[{provide:xt,useFactory:()=>new Ru},{provide:l.bc$,useValue:"BrowserAnimations"},...wd];var Jd=o(6381),yd=o(909),Um=o(3569),ec=o(8447),Lh=o(850);const vd=new S.c(Lh.l);var _d=o(7509),El=o(1787),Oa=o(7947),Np=o(1642),Nu=o(1126),Ph=o(7225),tu=o(5351);const eu={connector:()=>new ec.B};function Lp(w,g=eu){const{connector:d}=g;return(0,tu.N)((b,E)=>{const V=d();(0,Ph.Tg)(w(function pf(w){return new S.c(g=>w.subscribe(g))}(V))).subscribe(E),E.add(b.subscribe(V))})}var xd=o(2040);const il="Service workers are disabled or not supported by this browser";class kd{serviceWorker;worker;registration;events;constructor(g){if(this.serviceWorker=g,g){const b=(0,yd.R)(g,"controllerchange").pipe((0,Oa.T)(()=>g.controller)),E=(0,Jd.v)(()=>(0,O.of)(g.controller)),V=(0,Um.x)(E,b);this.worker=V.pipe((0,le.p)(lr=>!!lr)),this.registration=this.worker.pipe((0,ct.n)(()=>g.getRegistration()));const ye=(0,yd.R)(g,"message").pipe((0,Oa.T)(lr=>lr.data)).pipe((0,le.p)(lr=>lr&&lr.type)).pipe(function Fl(w){return w?g=>Lp(w)(g):g=>function ru(w,g){const d=(0,Nu.T)(w)?w:()=>w;return(0,Nu.T)(g)?Lp(g,{connector:d}):b=>new Np.G(b,d)}(new ec.B)(g)}());ye.connect(),this.events=ye}else this.worker=this.events=this.registration=function ou(w){return(0,Jd.v)(()=>(0,A.$)(new Error(w)))}(il)}postMessage(g,d){return this.worker.pipe((0,T.s)(1),(0,xd.M)(b=>{b.postMessage({action:g,...d})})).toPromise().then(()=>{})}postMessageWithOperation(g,d,b){const E=this.waitForOperationCompleted(b),V=this.postMessage(g,d);return Promise.all([V,E]).then(([,tt])=>tt)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(g){let d;return d="string"==typeof g?b=>b.type===g:b=>g.includes(b.type),this.events.pipe((0,le.p)(d))}nextEventOfType(g){return this.eventsOfType(g).pipe((0,T.s)(1))}waitForOperationCompleted(g){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,le.p)(d=>d.nonce===g),(0,T.s)(1),(0,Oa.T)(d=>{if(void 0!==d.result)return d.result;throw new Error(d.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let Fh=(()=>{class w{sw;messages;notificationClicks;subscription;get isEnabled(){return this.sw.isEnabled}pushManager=null;subscriptionChanges=new ec.B;constructor(d){if(this.sw=d,!d.isEnabled)return this.messages=vd,this.notificationClicks=vd,void(this.subscription=vd);this.messages=this.sw.eventsOfType("PUSH").pipe((0,Oa.T)(E=>E.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,Oa.T)(E=>E.data)),this.pushManager=this.sw.registration.pipe((0,Oa.T)(E=>E.pushManager));const b=this.pushManager.pipe((0,ct.n)(E=>E.getSubscription()));this.subscription=(0,_d.h)(b,this.subscriptionChanges)}requestSubscription(d){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(il));const b={userVisibleOnly:!0};let E=this.decodeBase64(d.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),V=new Uint8Array(new ArrayBuffer(E.length));for(let tt=0;tttt.subscribe(b)),(0,T.s)(1)).toPromise().then(tt=>(this.subscriptionChanges.next(tt),tt))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,T.s)(1),(0,ct.n)(b=>{if(null===b)throw new Error("Not subscribed to push notifications.");return b.unsubscribe().then(E=>{if(!E)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(il))}decodeBase64(d){return atob(d)}static \u0275fac=function(b){return new(b||w)(l.KVO(kd))};static \u0275prov=l.jDH({token:w,factory:w.\u0275fac})}return w})(),Lu=(()=>{class w{sw;versionUpdates;unrecoverable;get isEnabled(){return this.sw.isEnabled}constructor(d){if(this.sw=d,!d.isEnabled)return this.versionUpdates=vd,void(this.unrecoverable=vd);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(il));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(il));const d=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:d},d)}static \u0275fac=function(b){return new(b||w)(l.KVO(kd))};static \u0275prov=l.jDH({token:w,factory:w.\u0275fac})}return w})();const Pp=new l.nKC("");function Bp(w,g,d,b){return()=>{if(!(0,ae.UE)(b)||!("serviceWorker"in navigator)||!1===d.enabled)return;const E=w.get(l.SKi),V=w.get(l.o8S);let tt;if(E.runOutsideAngular(()=>{const bt=navigator.serviceWorker,Kt=()=>bt.controller?.postMessage({action:"INITIALIZE"});bt.addEventListener("controllerchange",Kt),V.onDestroy(()=>{bt.removeEventListener("controllerchange",Kt)})}),"function"==typeof d.registrationStrategy)tt=d.registrationStrategy();else{const[bt,...Kt]=(d.registrationStrategy||"registerWhenStable:30000").split(":");switch(bt){case"registerImmediately":tt=(0,O.of)(null);break;case"registerWithDelay":tt=Bh(+Kt[0]||0);break;case"registerWhenStable":const ye=(0,El.H)(w.get(l.o8S).whenStable());tt=Kt[0]?(0,_d.h)(ye,Bh(+Kt[0])):ye;break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${d.registrationStrategy}`)}}E.runOutsideAngular(()=>tt.pipe((0,T.s)(1)).subscribe(()=>navigator.serviceWorker.register(g,{scope:d.scope}).catch(bt=>console.error("Service worker registration failed with:",bt))))}}function Bh(w){return(0,O.of)(null).pipe((0,ht.c)(w))}function Uh(w,g){return new kd((0,ae.UE)(g)&&!1!==w.enabled?navigator.serviceWorker:void 0)}class ws{enabled;scope;registrationStrategy}var Bl=o(2653),jm=o(5903),hf=o(7178),ys=o(8249),al=o(6627),$p=o(6564);function iu(w){return w&&w.constructor&&"function"==typeof w.constructor.isBuffer&&w.constructor.isBuffer(w)}function $h(w){return w}function jp(w,g){const d=(g=g||{}).delimiter||".",b=g.maxDepth,E=g.transformKey||$h,V={};return function tt(bt,Kt,ye){ye=ye||1,Object.keys(bt).forEach(function(lr){const mr=bt[lr],bo=g.safe&&Array.isArray(mr),to=Object.prototype.toString.call(mr),go=iu(mr),en="[object Object]"===to||"[object Array]"===to,Sn=Kt?Kt+d+E(lr):E(lr);if(!bo&&!go&&en&&Object.keys(mr).length&&(!g.maxDepth||ye0&&(bo=bt(mr.shift()),to=bt(mr[0]))}go[bo]=Pu(w[lr],g)}),V}class jh{translations;constructor(g){this.translations=g}getTranslation(g){return(0,O.of)(this.translations.get(g)||{})}}const Vh=new l.nKC("TRANSLOCO_LOADER");function Vp(w,g){return w&&(Object.prototype.hasOwnProperty.call(w,g)?w[g]:g.split(".").reduce((d,b)=>d?.[b],w))}function Hh(w){return w?Array.isArray(w)?w.length:au(w)?Object.keys(w).length:w?w.length:0:0}function sl(w){return"string"==typeof w}function au(w){return!!w&&"object"==typeof w&&!Array.isArray(w)}function Ed(w){return null==w}function zp(w){return!1===Ed(w)}function Wp(w){return w&&"string"==typeof w.scope}function Kp(w){return jp(w,{safe:!0})}const Ul=new l.nKC("TRANSLOCO_CONFIG",{providedIn:"root",factory:()=>$l}),$l={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"]};function Xh(w={}){return{...$l,...w,missingHandler:{...$l.missingHandler,...w.missingHandler},flatten:{...$l.flatten,...w.flatten}}}const Gp=new l.nKC("TRANSLOCO_TRANSPILER");let Yh=(()=>{class w{interpolationMatcher;constructor(d){this.interpolationMatcher=function Xp(w){const[g,d]=w.interpolation;return new RegExp(`${g}(.*?)${d}`,"g")}(d??$l)}transpile(d,b={},E,V){return sl(d)?d.replace(this.interpolationMatcher,(tt,bt)=>(bt=bt.trim(),zp(b[bt])?b[bt]:zp(E[bt])?this.transpile(E[bt],b,E,V):"")):(b&&(au(d)?d=this.handleObject(d,b,E,V):Array.isArray(d)&&(d=this.handleArray(d,b,E,V))),d)}handleObject(d,b={},E,V){let tt=d;return Object.keys(b).forEach(bt=>{const Kt=Vp(tt,bt),ye=Vp(b,bt),lr=this.transpile(Kt,ye,E,V);tt=function gf(w,g,d){w={...w};const b=g.split("."),E=b.length-1;return b.reduce((V,tt,bt)=>(V[tt]=bt===E?d:Array.isArray(V[tt])?V[tt].slice():{...V[tt]},V&&V[tt]),w),w}(tt,bt,lr)}),tt}handleArray(d,b={},E,V){return d.map(tt=>this.transpile(tt,b,E,V))}static \u0275fac=function(b){return new(b||w)(l.KVO(Ul,8))};static \u0275prov=l.jDH({token:w,factory:w.\u0275fac})}return w})();const rc=new l.nKC("TRANSLOCO_MISSING_HANDLER");let Cd=(()=>{class w{handle(d,b){return b.missingHandler.logMissingKey&&!b.prodMode&&console.warn(`%c Missing translation for '${d}'`,"font-size: 12px; color: red"),d}static \u0275fac=function(b){return new(b||w)};static \u0275prov=l.jDH({token:w,factory:w.\u0275fac})}return w})();const Qp=new l.nKC("TRANSLOCO_INTERCEPTOR");let su=(()=>{class w{preSaveTranslation(d){return d}preSaveTranslationKey(d,b){return b}static \u0275fac=function(b){return new(b||w)};static \u0275prov=l.jDH({token:w,factory:w.\u0275fac})}return w})();const v=new l.nKC("TRANSLOCO_FALLBACK_STRATEGY");let rr,_=(()=>{class w{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(b){return new(b||w)(l.KVO(Ul))};static \u0275prov=l.jDH({token:w,factory:w.\u0275fac})}return w})();function D(w){if(!w)return"";const g=w.split("/");return g.pop(),g.join("/")}function j(w){return w?w.split("/").pop():""}function _e(w){return{scope:D(w)||null,langName:j(w)}}function Pe(w){const{path:g,inlineLoader:d,mainLoader:b,data:E}=w;if(d){if(!1===function Wh(w){return"function"==typeof w}(d[g]))throw`You're using an inline loader but didn't provide a loader for ${g}`;return d[g]().then(tt=>tt.default?tt.default:tt)}return b.getTranslation(g,E)}let Ye=(()=>{class w{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 ec.B;events$=this.events.asObservable();config;constructor(d,b,E,V,tt,bt){this.loader=d,this.parser=b,this.missingHandler=E,this.interceptor=V,this.fallbackStrategy=bt,this.loader||(this.loader=new jh(this.translations)),rr=this,this.config=JSON.parse(JSON.stringify(tt)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new It.t(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.subscription=this.events$.subscribe(Kt=>{"translationLoadSuccess"===Kt.type&&Kt.wasFailure&&this.setActiveLang(Kt.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:_e(d)}),this}setAvailableLangs(d){this.availableLangs=d}getAvailableLangs(){return this.availableLangs}load(d,b={}){const E=this.cache.get(d);if(E)return E;let V;const tt=this._isLangScoped(d);let bt;tt&&(bt=D(d));const Kt={path:d,mainLoader:this.loader,inlineLoader:b.inlineLoader,data:tt?{scope:bt}:void 0};if(this.useFallbackTranslation(d)){const lr=tt?`${bt}/${this.firstFallbackLang}`:this.firstFallbackLang,mr=function Le({mainLoader:w,path:g,data:d,fallbackPath:b,inlineLoader:E}){return(b?[g,b]:[g]).map(tt=>{const bt=Pe({path:tt,mainLoader:w,inlineLoader:E,data:d});return(0,El.H)(bt).pipe((0,Oa.T)(Kt=>({translation:Kt,lang:tt})))})}({...Kt,fallbackPath:lr});V=(0,Bl.p)(mr)}else{const lr=Pe(Kt);V=(0,El.H)(lr)}const ye=V.pipe((0,jm.L)(this.config.failedRetries),(0,xd.M)(lr=>{Array.isArray(lr)?lr.forEach(mr=>{this.handleSuccess(mr.lang,mr.translation),mr.lang!==d&&this.cache.set(mr.lang,(0,O.of)({}))}):this.handleSuccess(d,lr)}),(0,hf.W)(lr=>(this.config.prodMode||console.error(`Error while trying to load "${d}"`,lr),this.handleFailure(d,b))),(0,ys.t)(1));return this.cache.set(d,ye),ye}translate(d,b={},E=this.getActiveLang()){if(!d)return d;const{scope:V,resolveLang:tt}=this.resolveLangAndScope(E);if(Array.isArray(d))return d.map(ye=>this.translate(V?`${V}.${ye}`:ye,b,tt));d=V?`${V}.${d}`:d;const bt=this.getTranslation(tt),Kt=bt[d];return Kt?this.parser.transpile(Kt,b,bt,d):this._handleMissingKey(d,Kt,b)}selectTranslate(d,b,E,V=!1){let tt;const bt=(ye,lr)=>this.load(ye,lr).pipe((0,Oa.T)(()=>V?this.translateObject(d,b,ye):this.translate(d,b,ye)));if(Ed(E))return this.langChanges$.pipe((0,ct.n)(ye=>bt(ye)));if(function mf(w){return Array.isArray(w)&&w.every(Wp)}(E)||Wp(E)){const ye=Array.isArray(E)?E[0]:E;E=ye.scope,tt=function Xt(w,g){return function Kh(w){return w&&au(w.loader)}(w)?function Nt(w,g){return Object.keys(w).reduce((d,b)=>(d[`${g}/${b}`]=w[b],d),{})}(w.loader,g):void 0}(ye,ye.scope)}if(this.isLang(E)||this.isScopeWithLang(E))return bt(E);const Kt=E;return this.langChanges$.pipe((0,ct.n)(ye=>bt(`${Kt}/${ye}`,{inlineLoader:tt})))}isScopeWithLang(d){return this.isLang(j(d))}translateObject(d,b={},E=this.getActiveLang()){if(sl(d)||Array.isArray(d)){const{resolveLang:tt,scope:bt}=this.resolveLangAndScope(E);if(Array.isArray(d))return d.map(lr=>this.translateObject(bt?`${bt}.${lr}`:lr,b,tt));const Kt=this.getTranslation(tt),ye=function Gh(w){return Pu(w)}(this.getObjectByKey(Kt,d=bt?`${bt}.${d}`:d));return function zh(w){return 0===Hh(w)}(ye)?this.translate(d,b,E):this.parser.transpile(ye,b,Kt,d)}const V=[];for(const[tt,bt]of this.getEntries(d))V.push(this.translateObject(tt,bt,E));return V}selectTranslateObject(d,b,E){if(sl(d)||Array.isArray(d))return this.selectTranslate(d,b,E,!0);const[[V,tt],...bt]=this.getEntries(d);return this.selectTranslateObject(V,tt,E).pipe((0,Oa.T)(Kt=>{const ye=[Kt];for(const[lr,mr]of bt)ye.push(this.translateObject(lr,mr,E));return ye}))}getTranslation(d){if(d){if(this.isLang(d))return this.translations.get(d)||{};{const{scope:b,resolveLang:E}=this.resolveLangAndScope(d),V=this.translations.get(E)||{};return this.getObjectByKey(V,b)}}return this.translations}selectTranslation(d){let b=this.langChanges$;if(d){const E=j(d)!==d;b=this.isLang(d)||E?(0,O.of)(d):this.langChanges$.pipe((0,Oa.T)(V=>`${d}/${V}`))}return b.pipe((0,ct.n)(E=>this.load(E).pipe((0,Oa.T)(()=>this.getTranslation(E)))))}setTranslation(d,b=this.getActiveLang(),E={}){const tt={merge:!0,emitChange:!0,...E},bt=D(b);let Kt=d;if(bt){const to=this.getMappedScope(bt);Kt=Kp({[to]:d})}const ye=bt?j(b):b,lr={...tt.merge&&this.getTranslation(ye),...Kt},mr=this.config.flatten.aot?lr:Kp(lr),bo=this.interceptor.preSaveTranslation(mr,ye);this.translations.set(ye,bo),tt.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(d,b,E=this.getActiveLang(),V={}){const tt=this.interceptor.preSaveTranslationKey(d,b,E);this.setTranslation({[d]:tt},E,{...V,merge:!0})}setFallbackLangForMissingTranslation({fallbackLang:d}){const b=Array.isArray(d)?d[0]:d;d&&this.useFallbackTranslation(b)&&(this.firstFallbackLang=b)}_handleMissingKey(d,b,E){if(this.config.missingHandler.allowEmpty&&""===b)return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;const V=this.translate(d,E,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,V}return this.missingHandler.handle(d,this.getMissingHandlerData(),E)}_isLangScoped(d){return-1===this.getAvailableLangsIds().indexOf(d)}isLang(d){return-1!==this.getAvailableLangsIds().indexOf(d)}_loadDependencies(d,b){const E=j(d);return this._isLangScoped(d)&&!this.isLoadedTranslation(E)?(0,al.z)([this.load(E),this.load(d,{inlineLoader:b})]):this.load(d,{inlineLoader:b})}_completeScopeWithLang(d){return this._isLangScoped(d)&&!this.isLang(j(d))?`${d}/${this.getActiveLang()}`:d}_setScopeAlias(d,b){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[d]=b}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null),this.cache.clear()}isLoadedTranslation(d){return Hh(this.getTranslation(d))}getAvailableLangsIds(){return sl(this.getAvailableLangs()[0])?this.getAvailableLangs():this.getAvailableLangs().map(b=>b.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,b){this.setTranslation(b,d,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:_e(d)}),this.failedLangs.forEach(E=>this.cache.delete(E)),this.failedLangs.clear()}handleFailure(d,b){Ed(b.failedCounter)&&(b.failedCounter=0,b.fallbackLangs||(b.fallbackLangs=this.fallbackStrategy.getNextLangs(d)));const E=d.split("/"),tt=b.fallbackLangs[b.failedCounter];if(this.failedLangs.add(d),this.cache.has(tt))return this.handleSuccess(tt,this.getTranslation(tt)),$p.w;if(!tt||tt===E[E.length-1]){let ye="Unable to load translation and all the fallback languages";throw E.length>1&&(ye+=", did you misspelled the scope name?"),new Error(ye)}let Kt=tt;return E.length>1&&(E[E.length-1]=tt,Kt=E.join("/")),b.failedCounter++,this.events.next({type:"translationLoadFailure",payload:_e(d)}),this.load(Kt,b)}getMappedScope(d){const{scopeMapping:b={}}=this.config;return b[d]||function Bu(w){return w.replace(/(?:^\w|[A-Z]|\b\w)/g,(g,d)=>0==d?g.toLowerCase():g.toUpperCase()).replace(/\s+|_|-|\//g,"")}(d)}resolveLangAndScope(d){let E,b=d;if(this._isLangScoped(d)){const V=j(d),tt=this.isLang(V);b=tt?V:this.getActiveLang(),E=this.getMappedScope(tt?D(d):d)}return{scope:E,resolveLang:b}}getObjectByKey(d,b){const E={},V=`${b}.`;for(const tt in d)tt.startsWith(V)&&(E[tt.replace(V,"")]=d[tt]);return E}getEntries(d){return d instanceof Map?d.entries():Object.entries(d)}static \u0275fac=function(b){return new(b||w)(l.KVO(Vh,8),l.KVO(Gp),l.KVO(rc),l.KVO(Qp),l.KVO(Ul),l.KVO(v))};static \u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})();function ho(w){return(0,l.EmA)([{provide:Gp,useClass:w,deps:[Ul]}])}function Yo(w){return(0,l.EmA)([{provide:v,useClass:w,deps:[Ul]}])}function mn(w){return(0,l.EmA)([{provide:rc,useClass:w}])}function vo(w){return(0,l.EmA)([{provide:Qp,useClass:w}])}new l.nKC("TRANSLOCO_LANG"),new l.nKC("TRANSLOCO_LOADING_TEMPLATE"),new l.nKC("TRANSLOCO_SCOPE"),new l.nKC("TRANSLOCO_TEST_LANGS - Available testing languages"),new l.nKC("TRANSLOCO_TEST_OPTIONS - Testing options");var Xs=o(7838);let _s=(()=>{class w{constructor(){this._httpClient=(0,l.WQX)(J.Qq),this._navigation=new Xs.m(1)}get navigation$(){return this._navigation.asObservable()}get(){return this._httpClient.get("api/navigation").pipe((0,xd.M)(d=>{this._navigation.next(d)}))}static{this.\u0275fac=function(b){return new(b||w)}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})(),jl=(()=>{class w{constructor(d){this._httpClient=d,this._chat=new It.t(null),this._chats=new It.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,xd.M)(d=>{this._chats.next(d)}))}getChatById(d){return this._httpClient.get("api/apps/chat/chat",{params:{id:d}}).pipe((0,Oa.T)(b=>(this._chat.next(b),b)),(0,ct.n)(b=>b?(0,O.of)(b):(0,A.$)("Could not found chat with id of "+d+"!")))}static{this.\u0275fac=function(b){return new(b||w)(l.KVO(J.Qq))}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();const cl=new class Li{constructor(g){this.version=g,this.full=g,this.major=g.split(".")[0],this.minor=g.split(".")[1],this.patch=g.split(".").slice(2).join(".")}}("0.0.12").full;var ts=o(5424),Zi=o(3022),Vl=o(2322);function ju(w,g){if(1&w&&l.nrm(0,"mat-progress-bar",0),2&w){const d=l.XpG();l.Y8G("mode",d.mode)("value",d.progress)}}let Hl=(()=>{class w{constructor(){this._angorLoadingService=(0,l.WQX)(yt),this.autoMode=!0,this.progress=0,this.show=!1,this._unsubscribeAll=new ec.B}ngOnChanges(d){"autoMode"in d&&this._angorLoadingService.setAutoMode((0,Zi.he)(d.autoMode.currentValue))}ngOnInit(){this._angorLoadingService.mode$.pipe((0,ts.Q)(this._unsubscribeAll)).subscribe(d=>{this.mode=d}),this._angorLoadingService.progress$.pipe((0,ts.Q)(this._unsubscribeAll)).subscribe(d=>{this.progress=d}),this._angorLoadingService.show$.pipe((0,ts.Q)(this._unsubscribeAll)).subscribe(d=>{this.show=d})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(b){return new(b||w)}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["angor-loading-bar"]],inputs:{autoMode:"autoMode"},exportAs:["angorLoadingBar"],features:[l.OA$],decls:1,vars:1,consts:[[3,"mode","value"]],template:function(b,E){1&b&&l.DNE(0,ju,1,2,"mat-progress-bar",0),2&b&&l.vxM(E.show?0:-1)},dependencies:[Vl.PO,Vl.HM],styles:["angor-loading-bar{position:fixed;top:0;z-index:999;width:100%;height:6px}\n"],encapsulation:2})}}return w})();function Zp(w,g){1&w&&l.nrm(0,"router-outlet")}let Qh=(()=>{class w{constructor(){this._unsubscribeAll=new ec.B}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(b){return new(b||w)}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["empty-layout"]],decls:4,vars:1,consts:[[1,"flex","w-full","flex-auto","flex-col"],[1,"flex","flex-auto","flex-col"]],template:function(b,E){1&b&&(l.nrm(0,"angor-loading-bar"),l.j41(1,"div",0)(2,"div",1),l.DNE(3,Zp,1,0,"router-outlet"),l.k0s()()),2&b&&(l.R7$(3),l.vxM(3))},dependencies:[Hl,a.n3],encapsulation:2})}}return w})();var bc=o(9471),nc=o(3904),zl=o(7712);function wf(w,g){1&w&&l.nrm(0,"mat-icon",3)}let Cl=(()=>{class w{constructor(){this._document=(0,l.WQX)(ae.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(b){return new(b||w)}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["angor-fullscreen"]],inputs:{iconTpl:"iconTpl",tooltip:"tooltip"},exportAs:["angorFullscreen"],decls:4,vars:2,consts:[["defaultIconTpl",""],["mat-icon-button","",3,"click","matTooltip"],[3,"ngTemplateOutlet"],["svgIcon","heroicons_outline:arrows-pointing-out"]],template:function(b,E){if(1&b){const V=l.RV6();l.j41(0,"button",1),l.bIt("click",function(){return l.eBV(V),l.Njj(E.toggleFullscreen())}),l.eu8(1,2),l.k0s(),l.DNE(2,wf,1,0,"ng-template",null,0,l.C5r)}if(2&b){const V=l.sdS(3);l.Y8G("matTooltip",E.tooltip||"Toggle Fullscreen"),l.R7$(),l.Y8G("ngTemplateOutlet",E.iconTpl||V)}},dependencies:[bc.Hl,bc.iY,zl.uc,zl.oV,ae.T3,nc.m_,nc.An],encapsulation:2,changeDetection:0})}}return w})();var qp=o(3871),yf=o(6192),Jp=o(3125);let Zh=(()=>{class w{constructor(d){this.relayService=d,this.notificationSubject=new It.t([]),this.notificationCount=new It.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,b){localStorage.setItem("notificationCount",d.toString()),localStorage.setItem("lastNotificationTimestamp",b.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 b=this;return(0,k.A)(function*(){yield b.relayService.ensureConnectedRelays();const E=b.relayService.getPool(),V=b.relayService.getConnectedRelays();if(0===V.length)throw new Error("No connected relays");const tt=b.loadTimestampFromLocalStorage(),bt=b.loadFilterPreferences();0===bt.length&&bt.push(1,3,4,7,9735);const Kt={kinds:bt,"#p":[d],limit:50,since:tt||void 0};return new Promise(ye=>{E.subscribeMany(V,[Kt],{onevent:mr=>b.handleNotificationEvent(mr,d),oneose(){ye()}})})})()}handleNotificationEvent(d,b){if(this.isNotificationEvent(d,b)){const V=new Date(1e3*d.created_at);let tt="",bt="",Kt="";switch(d.kind){case 1:tt="Mention",bt="Mentioned you in an event.",Kt="heroicons_outline:at-symbol";break;case 4:tt="Private Message",bt="Sent a private message.",Kt="heroicons_outline:envelope-open";break;case 9735:tt="Zap",bt="Received a zap event.",Kt="feather:zap";break;case 3:tt="New Follower",bt="You have a new follower.",Kt="heroicons_outline:user-plus";break;case 7:tt="New Like",bt="You have a new Like.",Kt="heroicons_outline:hand-thumb-up";break;default:tt="Notification",Kt="heroicons_outline:bell"}const mr=[{id:d.id,icon:Kt,title:tt,description:bt,time:V,kind:d.kind,read:!1},...this.notificationSubject.value].slice(0,50);this.notificationSubject.next(mr),this.incrementNotificationCount(d.created_at)}}incrementNotificationCount(d){const b=this.notificationCount.value+1;this.notificationCount.next(b),this.saveNotificationData(b,d)}markAllAsRead(){const d=this.notificationSubject.value.map(E=>({...E,read:!0}));this.notificationSubject.next(d),this.notificationCount.next(0);const b=Math.floor(Date.now()/1e3);this.saveNotificationData(0,b)}isNotificationEvent(d,b){return d.tags.some(E=>"p"===E[0]&&E[1]===b)}static{this.\u0275fac=function(b){return new(b||w)(l.KVO(Jp.b))}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();var Dd=o(9666),Vu=o(8078);const th=["notificationsOrigin"],Ls=["notificationsPanel"],s0=w=>({unread:w}),xa=(w,g)=>({"bg-gray-400 dark:bg-gray-500 sm:opacity-0 sm:group-hover:opacity-100":w,"bg-primary":g});function c0(w,g){if(1&w&&(l.j41(0,"span",4)(1,"span",6),l.EFF(2),l.k0s()()),2&w){const d=l.XpG();l.R7$(2),l.SpI(" ",d.unreadCount," ")}}function l0(w,g){1&w&&l.eu8(0)}function vf(w,g){if(1&w&&(l.j41(0,"a",23),l.DNE(1,l0,1,0,"ng-container",25),l.k0s()),2&w){const d=l.XpG(2).$implicit,b=l.sdS(9);l.Y8G("href",d.link,l.B4B),l.R7$(),l.Y8G("ngTemplateOutlet",b)}}function Vm(w,g){1&w&&l.eu8(0)}function Hm(w,g){if(1&w&&(l.j41(0,"a",24),l.DNE(1,Vm,1,0,"ng-container",25),l.k0s()),2&w){const d=l.XpG(2).$implicit,b=l.sdS(9);l.Y8G("routerLink",d.link),l.R7$(),l.Y8G("ngTemplateOutlet",b)}}function d0(w,g){if(1&w&&l.DNE(0,vf,2,2,"a",23)(1,Hm,2,2,"a",24),2&w){const d=l.XpG().$implicit;l.vxM(d.useRouter?-1:0),l.R7$(),l.vxM(d.useRouter?1:-1)}}function A1(w,g){1&w&&l.eu8(0)}function zm(w,g){if(1&w&&(l.j41(0,"div",17),l.DNE(1,A1,1,0,"ng-container",25),l.k0s()),2&w){l.XpG();const d=l.sdS(9);l.R7$(),l.Y8G("ngTemplateOutlet",d)}}function u0(w,g){if(1&w&&(l.j41(0,"div",26),l.nrm(1,"mat-icon",32),l.k0s()),2&w){const d=l.XpG(2).$implicit;l.R7$(),l.Y8G("svgIcon",d.icon)}}function qh(w,g){if(1&w&&l.nrm(0,"img",27),2&w){const d=l.XpG(2).$implicit;l.Y8G("src",d.image,l.B4B)("alt","Notification image")}}function _f(w,g){if(1&w&&l.nrm(0,"div",29),2&w){const d=l.XpG(2).$implicit;l.Y8G("innerHTML",d.title,l.npT)}}function xf(w,g){if(1&w&&l.nrm(0,"div",30),2&w){const d=l.XpG(2).$implicit;l.Y8G("innerHTML",d.description,l.npT)}}function Hu(w,g){if(1&w&&(l.DNE(0,u0,2,1,"div",26)(1,qh,1,2,"img",27),l.j41(2,"div",28),l.DNE(3,_f,1,1,"div",29)(4,xf,1,1,"div",30),l.j41(5,"div",31),l.EFF(6),l.nI1(7,"date"),l.k0s()()),2&w){const d=l.XpG().$implicit;l.vxM(d.icon&&!d.image?0:-1),l.R7$(),l.vxM(d.image?1:-1),l.R7$(2),l.vxM(d.title?3:-1),l.R7$(),l.vxM(d.description?4:-1),l.R7$(2),l.SpI(" ",l.i5U(7,5,d.time,"MMM dd, h:mm a")," ")}}function Jh(w,g){if(1&w){const d=l.RV6();l.j41(0,"div",16),l.DNE(1,d0,2,2)(2,zm,2,1,"div",17),l.j41(3,"div",18)(4,"button",19),l.bIt("click",function(){const E=l.eBV(d).$implicit,V=l.XpG(2);return l.Njj(V.toggleRead(E))}),l.nrm(5,"span",20),l.k0s(),l.j41(6,"button",21),l.bIt("click",function(){const E=l.eBV(d).$implicit,V=l.XpG(2);return l.Njj(V.delete(E))}),l.nrm(7,"mat-icon",22),l.k0s()()(),l.DNE(8,Hu,8,8,"ng-template",null,2,l.C5r)}if(2&w){const d=g.$implicit;l.Y8G("ngClass",l.eq3(7,s0,!d.read)),l.R7$(),l.vxM(d.link?1:-1),l.R7$(),l.vxM(d.link?-1:2),l.R7$(2),l.Y8G("matTooltip",d.read?"Mark as unread":"Mark as read"),l.R7$(),l.Y8G("ngClass",l.l_i(9,xa,d.read,!d.read)),l.R7$(),l.Y8G("matTooltip","Remove"),l.R7$(),l.Y8G("svgIcon","heroicons_solid:x-mark")}}function tg(w,g){1&w&&(l.j41(0,"div",15)(1,"div",33),l.nrm(2,"mat-icon",34),l.k0s(),l.j41(3,"div",35),l.EFF(4," No notifications "),l.k0s(),l.j41(5,"div",36),l.EFF(6," When you have notifications, they will appear here. "),l.k0s()()),2&w&&(l.R7$(2),l.Y8G("svgIcon","heroicons_outline:bell"))}function zu(w,g){if(1&w){const d=l.RV6();l.j41(0,"div",7)(1,"div",8)(2,"div",9)(3,"button",3),l.bIt("click",function(){l.eBV(d);const E=l.XpG();return l.Njj(E.closePanel())}),l.nrm(4,"mat-icon",10),l.k0s()(),l.j41(5,"div",11),l.EFF(6,"Notifications"),l.k0s(),l.j41(7,"div",12)(8,"button",13),l.bIt("click",function(){l.eBV(d);const E=l.XpG();return l.Njj(E.markAllAsRead())}),l.nrm(9,"mat-icon",10),l.k0s()()(),l.j41(10,"div",14),l.Z7z(11,Jh,10,12,null,null,l.BUC().trackByFn,!0),l.DNE(13,tg,7,1,"div",15),l.k0s()()}if(2&w){const d=l.XpG();l.R7$(4),l.Y8G("svgIcon","heroicons_solid:x-mark"),l.R7$(4),l.Y8G("matTooltip","Mark all as read")("disabled",0===d.unreadCount),l.R7$(),l.Y8G("svgIcon","heroicons_solid:envelope-open"),l.R7$(2),l.Dyx(d.notifications),l.R7$(2),l.vxM(d.notifications&&d.notifications.length?-1:13)}}let eg=(()=>{class w{constructor(d,b,E,V,tt){this._notificationService=d,this._changeDetectorRef=b,this._overlay=E,this._viewContainerRef=V,this._signerService=tt,this.notifications=[],this.unreadCount=0,this._unsubscribeAll=new ec.B}ngOnInit(){const d=this._signerService.getPublicKey();this._notificationService.subscribeToNotifications(d).then(()=>{this._notificationService.getNotificationObservable().pipe((0,ts.Q)(this._unsubscribeAll)).subscribe(b=>{this.notifications=b,this._changeDetectorRef.markForCheck()}),this._notificationService.getNotificationCount().pipe((0,ts.Q)(this._unsubscribeAll)).subscribe(b=>{this.unreadCount=b,this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}openPanel(){!this._notificationsPanel||!this._notificationsOrigin||(this._overlayRef||this._createOverlay(),this._overlayRef.attach(new yf.VA(this._notificationsPanel,this._viewContainerRef)))}closePanel(){this._overlayRef&&this._overlayRef.detach()}markAllAsRead(){this._notificationService.markAllAsRead()}toggleRead(d){d.read=!d.read}trackByFn(d,b){return b.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(b){return new(b||w)(l.rXU(Zh),l.rXU(l.gRc),l.rXU(Dd.hJ),l.rXU(l.c1b),l.rXU(Vu.A))}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["notifications"]],viewQuery:function(b,E){if(1&b&&(l.GBs(th,5),l.GBs(Ls,5)),2&b){let V;l.mGM(V=l.lsd())&&(E._notificationsOrigin=V.first),l.mGM(V=l.lsd())&&(E._notificationsPanel=V.first)}},exportAs:["notifications"],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(b,E){if(1&b){const V=l.RV6();l.j41(0,"button",3,0),l.bIt("click",function(){return l.eBV(V),l.Njj(E.openPanel())}),l.DNE(2,c0,3,1,"span",4),l.nrm(3,"mat-icon",5),l.k0s(),l.DNE(4,zu,14,5,"ng-template",null,1,l.C5r)}2&b&&(l.R7$(2),l.vxM(E.unreadCount>0?2:-1),l.R7$(),l.Y8G("svgIcon","heroicons_outline:bell"))},dependencies:[bc.Hl,bc.iY,nc.m_,nc.An,zl.uc,zl.oV,ae.YU,ae.T3,a.Wk,ae.vh],encapsulation:2,changeDetection:0})}}return w})();var kf=o(799),Sd=o(936),Ef=o(8108),Wl=o(8559),Cf=o(5710),p0=o(2944),ic=o(5919),Wu=o(6520),T1=o(593);const Wm=["panel"],h0=["*"];function Km(w,g){if(1&w){const d=l.RV6();l.j41(0,"div",1,0),l.bIt("@panelAnimation.done",function(E){l.eBV(d);const V=l.XpG();return l.Njj(V._animationDone.next(E))}),l.SdG(2),l.k0s()}if(2&w){const d=g.id,b=l.XpG();l.HbH(b._classList),l.AVh("mat-mdc-autocomplete-visible",b.showPanel)("mat-mdc-autocomplete-hidden",!b.showPanel)("mat-primary","primary"===b._color)("mat-accent","accent"===b._color)("mat-warn","warn"===b._color),l.Y8G("id",b.id)("@panelAnimation",b.isOpen?"visible":"hidden"),l.BMQ("aria-label",b.ariaLabel||null)("aria-labelledby",b._getPanelAriaLabelledby(d))}}const M1=(0,Do.hZ)("panelAnimation",[(0,Do.wk)("void, hidden",(0,Do.iF)({opacity:0,transform:"scaleY(0.8)"})),(0,Do.kY)(":enter, hidden => visible",[(0,Do.Os)([(0,Do.i0)("0.03s linear",(0,Do.iF)({opacity:1})),(0,Do.i0)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,Do.iF)({transform:"scaleY(1)"}))])]),(0,Do.kY)(":leave, visible => hidden",[(0,Do.i0)("0.075s linear",(0,Do.iF)({opacity:0}))])]);class Gm{source;option;constructor(g,d){this.source=g,this.option=d}}const Xm=new l.nKC("mat-autocomplete-default-options",{providedIn:"root",factory:function Ym(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let Ad=(()=>{class w{_changeDetectorRef=(0,l.WQX)(l.gRc);_elementRef=(0,l.WQX)(l.aKT);_defaults=(0,l.WQX)(Xm);_activeOptionChanges=Cf.yU.EMPTY;_animationDone=new l.bkB;_keyManager;showPanel=!1;get isOpen(){return this._isOpen&&this.showPanel}_isOpen=!1;_latestOpeningTrigger;_setColor(d){this._color=d,this._changeDetectorRef.markForCheck()}_color;template;panel;options;optionGroups;ariaLabel;ariaLabelledby;displayWith=null;autoActiveFirstOption;autoSelectActiveOption;requireSelection;panelWidth;disableRipple;optionSelected=new l.bkB;opened=new l.bkB;closed=new l.bkB;optionActivated=new l.bkB;set classList(d){this._classList=d,this._elementRef.nativeElement.className=""}_classList;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(d){this._hideSingleSelectionIndicator=d,this._syncParentProperties()}_hideSingleSelectionIndicator;_syncParentProperties(){if(this.options)for(const d of this.options)d._changeDetectorRef.markForCheck()}id=(0,l.WQX)(Wl.g7).getId("mat-autocomplete-");inertGroups;constructor(){const d=(0,l.WQX)(vt.OD);this.inertGroups=d?.SAFARI||!1,this.autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.requireSelection=!!this._defaults.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new Wl.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 b=new Gm(this,d);this.optionSelected.emit(b)}_getPanelAriaLabelledby(d){return this.ariaLabel?null:this.ariaLabelledby?(d?d+" ":"")+this.ariaLabelledby:d}_skipPredicate(){return!1}static \u0275fac=function(b){return new(b||w)};static \u0275cmp=l.VBU({type:w,selectors:[["mat-autocomplete"]],contentQueries:function(b,E,V){if(1&b&&(l.wni(V,or.wT,5),l.wni(V,or.QC,5)),2&b){let tt;l.mGM(tt=l.lsd())&&(E.options=tt),l.mGM(tt=l.lsd())&&(E.optionGroups=tt)}},viewQuery:function(b,E){if(1&b&&(l.GBs(l.C4Q,7),l.GBs(Wm,5)),2&b){let V;l.mGM(V=l.lsd())&&(E.template=V.first),l.mGM(V=l.lsd())&&(E.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",l.L39],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",l.L39],requireSelection:[2,"requireSelection","requireSelection",l.L39],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",l.L39],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",l.L39]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[l.Jv_([{provide:or.is,useExisting:w}]),l.GFd],ngContentSelectors:h0,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(b,E){1&b&&(l.NAR(),l.DNE(0,Km,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-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: 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:[M1]},changeDetection:0})}return w})();const O1={provide:Sd.kq,useExisting:(0,l.Rfq)(()=>qm),multi:!0},Zm=new l.nKC("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const w=(0,l.WQX)(Dd.hJ);return()=>w.scrollStrategies.reposition()}}),eh={provide:Zm,deps:[Dd.hJ],useFactory:function rg(w){return()=>w.scrollStrategies.reposition()}};let qm=(()=>{class w{_element=(0,l.WQX)(l.aKT);_overlay=(0,l.WQX)(Dd.hJ);_viewContainerRef=(0,l.WQX)(l.c1b);_zone=(0,l.WQX)(l.SKi);_changeDetectorRef=(0,l.WQX)(l.gRc);_dir=(0,l.WQX)(p0.dS,{optional:!0});_formField=(0,l.WQX)(yr.xb,{optional:!0,host:!0});_document=(0,l.WQX)(ae.qQ);_viewportRuler=(0,l.WQX)(Ef.Xj);_defaults=(0,l.WQX)(Xm,{optional:!0});_overlayRef;_portal;_componentDestroyed=!1;_scrollStrategy=(0,l.WQX)(Zm);_keydownSubscription;_outsideClickSubscription;_previousValue;_valueOnAttach;_valueOnLastKeydown;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=Cf.yU.EMPTY;_breakpointObserver=(0,l.WQX)(Wu.QP);_handsetLandscapeSubscription=Cf.yU.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption;_closeKeyEventStream=new ec.B;_windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen};_onChange=()=>{};_onTouched=()=>{};autocomplete;position="auto";connectedTo;autocompleteAttribute="off";autocompleteDisabled;_initialized=new ec.B;_injector=(0,l.WQX)(l.zZn);constructor(){}_aboveClass="mat-mdc-autocomplete-panel-above";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}_overlayAttached=!1;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,Wl.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,_d.h)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,le.p)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,le.p)(()=>this._overlayAttached)):(0,O.of)()).pipe((0,Oa.T)(d=>d instanceof or.MI?d:null))}optionSelections=(0,Jd.v)(()=>{const d=this.autocomplete?this.autocomplete.options:null;return d?d.changes.pipe((0,T1.Z)(d),(0,ct.n)(()=>(0,_d.h)(...d.map(b=>b.onSelectionChange)))):this._initialized.pipe((0,ct.n)(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,_d.h)((0,yd.R)(this._document,"click"),(0,yd.R)(this._document,"auxclick"),(0,yd.R)(this._document,"touchend")).pipe((0,le.p)(d=>{const b=(0,vt.Fb)(d),E=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,V=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&b!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!E||!E.contains(b))&&(!V||!V.contains(b))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(b)}))}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 b=d.keyCode,E=(0,ic.rp)(d);if(b===ic._f&&!E&&d.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&b===ic.Fm&&this.panelOpen&&!E)this.activeOption._selectViaInteraction(),this._resetActiveItem(),d.preventDefault();else if(this.autocomplete){const V=this.autocomplete._keyManager.activeItem,tt=b===ic.i7||b===ic.n6;b===ic.wn||tt&&!E&&this.panelOpen?this.autocomplete._keyManager.onKeydown(d):tt&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(tt||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 b=d.target,E=b.value;if("number"===b.type&&(E=""==E?null:parseFloat(E)),this._previousValue!==E){if(this._previousValue=E,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(E),E){if(this.panelOpen&&!this.autocomplete.requireSelection){const V=this.autocomplete.options?.find(tt=>tt.selected);V&&E!==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 S.c(E=>{(0,l.mal)(()=>{E.next()},{injector:this._injector})}),b=this.autocomplete.options.changes.pipe((0,xd.M)(()=>this._positionStrategy.reapplyLastPosition()),(0,ht.c)(0));return(0,_d.h)(d,b).pipe((0,ct.n)(()=>this._zone.run(()=>{const E=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),E!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),(0,T.s)(1)).subscribe(E=>this._setValueAndClose(E))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(d){const b=this.autocomplete;return b&&b.displayWith?b.displayWith(d):d}_assignOptionValue(d){const b=this._getDisplayValue(d);null==d&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(b??"")}_updateNativeInputValue(d){this._formField?this._formField._control.value=d:this._element.nativeElement.value=d,this._previousValue=d}_setValueAndClose(d){const b=this.autocomplete,E=d?d.source:this._pendingAutoselectedOption;E?(this._clearPreviousSelectedOption(E),this._assignOptionValue(E.value),this._onChange(E.value),b._emitSelectEvent(E),this._element.nativeElement.focus()):b.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),b._animationDone?b._animationDone.pipe((0,T.s)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(d,b){this.autocomplete?.options?.forEach(E=>{E!==d&&E.selected&&E.deselect(b)})}_openPanelInternal(d=this._element.nativeElement.value){this._attachOverlay(d),this._floatLabel(),this._trackedModal&&(0,Wl.px)(this._trackedModal,"aria-owns",this.autocomplete.id)}_attachOverlay(d){let b=this._overlayRef;b?(this._positionStrategy.setOrigin(this._getConnectedElement()),b.updateSize({width:this._getPanelWidth()})):(this._portal=new yf.VA(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),b=this._overlay.create(this._getOverlayConfig()),this._overlayRef=b,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&b&&b.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(Wu.Rp.HandsetLandscape).subscribe(V=>{V.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),b&&!b.hasAttached()&&(b.attach(this._portal),this._valueOnAttach=d,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());const E=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&E!==this.panelOpen&&this._emitOpened()}_handlePanelKeydown=d=>{(d.keyCode===ic._f&&!(0,ic.rp)(d)||d.keyCode===ic.i7&&(0,ic.rp)(d,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),d.stopPropagation(),d.preventDefault())};_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 Dd.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 b=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],E=this._aboveClass,V=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:E},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:E}];let tt;tt="above"===this.position?V:"below"===this.position?b:[...b,...V],d.withPositions(tt)}_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 b=-1;for(let E=0;E .cdk-overlay-container [aria-modal="true"]');if(!d)return;const b=this.autocomplete.id;this._trackedModal&&(0,Wl.Ae)(this._trackedModal,"aria-owns",b),(0,Wl.px)(d,"aria-owns",b),this._trackedModal=d}_clearFromModal(){this._trackedModal&&((0,Wl.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static \u0275fac=function(b){return new(b||w)};static \u0275dir=l.FsC({type:w,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(b,E){1&b&&l.bIt("focusin",function(){return E._handleFocus()})("blur",function(){return E._onTouched()})("input",function(tt){return E._handleInput(tt)})("keydown",function(tt){return E._handleKeydown(tt)})("click",function(){return E._handleClick()}),2&b&&l.BMQ("autocomplete",E.autocompleteAttribute)("role",E.autocompleteDisabled?null:"combobox")("aria-autocomplete",E.autocompleteDisabled?null:"list")("aria-activedescendant",E.panelOpen&&E.activeOption?E.activeOption.id:null)("aria-expanded",E.autocompleteDisabled?null:E.panelOpen.toString())("aria-controls",E.autocompleteDisabled||!E.panelOpen||null==E.autocomplete?null:E.autocomplete.id)("aria-haspopup",E.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",l.L39]},exportAs:["matAutocompleteTrigger"],features:[l.Jv_([O1]),l.GFd,l.OA$]})}return w})(),Jm=(()=>{class w{static \u0275fac=function(b){return new(b||w)};static \u0275mod=l.$C({type:w});static \u0275inj=l.G2t({providers:[eh],imports:[Dd.z_,or.Sy,or.yE,Ef.Gj,or.Sy,or.yE]})}return w})();var g0=o(6389),f0=o(8627),og=o(3149);const tb=["barSearchInput"],m0=["matAutocomplete"];function b0(w,g){if(1&w){const d=l.RV6();l.j41(0,"button",5),l.bIt("click",function(){l.eBV(d);const E=l.XpG(2);return l.Njj(E.open())}),l.nrm(1,"mat-icon",6),l.k0s()}2&w&&(l.R7$(),l.Y8G("svgIcon","heroicons_outline:magnifying-glass"))}function rh(w,g){1&w&&(l.j41(0,"mat-option",14),l.EFF(1," No results found! "),l.k0s())}function eb(w,g){if(1&w){const d=l.RV6();l.j41(0,"img",22),l.bIt("error",function(E){l.eBV(d);const V=l.XpG(5);return l.Njj(V.handleImageError(E))}),l.k0s()}if(2&w){const d=l.XpG().$implicit;l.Mz_("alt","",d.name,"'s avatar"),l.Y8G("src",d.avatar,l.B4B)}}function Df(w,g){1&w&&(l.qex(0),l.nrm(1,"mat-icon",23),l.bVm()),2&w&&(l.R7$(),l.Y8G("svgIcon","heroicons_outline:user-circle"))}function w0(w,g){if(1&w&&(l.j41(0,"div",24),l.EFF(1),l.k0s()),2&w){const d=l.XpG().$implicit;l.R7$(),l.SpI(" ",d.about," ")}}function R1(w,g){if(1&w&&(l.qex(0),l.j41(1,"mat-option",15)(2,"div",16)(3,"div",17),l.DNE(4,eb,1,3,"img",18)(5,Df,2,1,"ng-container",2),l.k0s(),l.j41(6,"div",19)(7,"span",20),l.EFF(8),l.k0s(),l.DNE(9,w0,2,1,"div",21),l.k0s()()(),l.bVm()),2&w){const d=g.$implicit;l.R7$(),l.Y8G("routerLink",d.link)("value",d.name),l.R7$(3),l.Y8G("ngIf",d.avatar),l.R7$(),l.Y8G("ngIf",!d.avatar),l.R7$(3),l.JRh(d.name),l.R7$(),l.Y8G("ngIf",d.about)}}function N1(w,g){if(1&w&&(l.qex(0),l.DNE(1,R1,10,6,"ng-container",12),l.bVm()),2&w){const d=g.$implicit,b=l.XpG(3);l.R7$(),l.Y8G("ngForOf",d.results)("ngForTrackBy",b.trackByFn)}}function oh(w,g){if(1&w){const d=l.RV6();l.j41(0,"div",7),l.nrm(1,"mat-icon",8),l.j41(2,"input",9,0),l.bIt("keydown",function(E){l.eBV(d);const V=l.XpG(2);return l.Njj(V.onKeydown(E))}),l.k0s(),l.j41(4,"mat-autocomplete",10,1),l.DNE(6,rh,2,0,"mat-option",11)(7,N1,2,2,"ng-container",12),l.k0s(),l.j41(8,"button",13),l.bIt("click",function(){l.eBV(d);const E=l.XpG(2);return l.Njj(E.close())}),l.nrm(9,"mat-icon",6),l.k0s()()}if(2&w){const d=l.sdS(5),b=l.XpG(2);l.Y8G("@slideInTop",void 0)("@slideOutTop",void 0),l.R7$(),l.Y8G("svgIcon","heroicons_outline:magnifying-glass"),l.R7$(),l.Y8G("formControl",b.searchControl)("matAutocomplete",d)("placeholder","Search..."),l.R7$(2),l.Y8G("autoSelectActiveOption",!0)("disableRipple",!0),l.R7$(2),l.Y8G("ngIf",b.resultSets&&!b.resultSets.length),l.R7$(),l.Y8G("ngForOf",b.resultSets)("ngForTrackBy",b.trackByFn),l.R7$(2),l.Y8G("svgIcon","heroicons_outline:x-mark")}}function y0(w,g){if(1&w&&(l.j41(0,"div"),l.DNE(1,b0,2,1,"button",3)(2,oh,10,12,"div",4),l.k0s()),2&w){const d=l.XpG();l.R7$(),l.Y8G("ngIf",!d.opened),l.R7$(),l.Y8G("ngIf",d.opened)}}let nh=(()=>{class w{constructor(d,b){this._storageService=d,this._sanitizer=b,this.appearance="basic",this.debounce=300,this.minLength=2,this.search=new l.bkB,this.opened=!1,this.searchControl=new Sd.hs,this._unsubscribeAll=new ec.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,f0.B)(this.debounce),(0,ts.Q)(this._unsubscribeAll),(0,Oa.T)(b=>((!b||b.lengthb&&b.length>=this.minLength)).subscribe(function(){var b=(0,k.A)(function*(E){const V=yield d._storageService.searchProfile(E);d.resultSets=V.map(tt=>({label:"Project",results:[{name:tt.profile.name||tt.profile.displayName||tt.pubKey,pubkey:tt.pubKey,username:tt.profile.username||"",website:tt.profile.website||"",about:tt.profile.about?tt.profile.about.replace(/<\/?[^>]+(>|$)/g,""):"",avatar:tt.profile.picture||null,banner:tt.profile.banner||null,link:`/profile/${tt.pubKey}`}]})),d.search.next(d.resultSets)});return function(E){return b.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,b){return b.id||d}handleImageError(d){const b=d.target;b.onerror=null,b.src="images/avatars/avatar-placeholder.png"}static{this.\u0275fac=function(b){return new(b||w)(l.rXU(og.n),l.rXU(n.up))}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["search"]],viewQuery:function(b,E){if(1&b&&(l.GBs(tb,5),l.GBs(m0,5)),2&b){let V;l.mGM(V=l.lsd())&&(E.barSearchInput=V.first),l.mGM(V=l.lsd())&&(E.matAutocomplete=V.first)}},inputs:{appearance:"appearance",debounce:"debounce",minLength:"minLength"},outputs:{search:"search"},exportAs:["angorSearch"],features:[l.Jv_([{provide:Zm,useFactory:()=>{const d=(0,l.WQX)(Dd.hJ);return()=>d.scrollStrategies.block()}}]),l.OA$],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(b,E){1&b&&l.DNE(0,y0,3,2,"div",2),2&b&&l.Y8G("ngIf","bar"===E.appearance)},dependencies:[bc.Hl,bc.iY,nc.m_,nc.An,Sd.YN,Sd.me,Sd.BC,Jm,Ad,or.wT,qm,Sd.X1,Sd.l_,or.Sy,a.Wk,yr.RG,g0.fS,ae.MD,ae.Sq,ae.bT],encapsulation:2,data:{animation:kf.F}})}}return w})();var ng=o(7702),Td=o(7818),v0=o(1109),L1=o(4482);const rb=()=>["/settings"];function _0(w,g){if(1&w&&(l.qex(0),l.nrm(1,"img",15),l.bVm()),2&w){const d=l.XpG();l.R7$(),l.Y8G("src",d.getSafeUrl(null==d.user?null:d.user.picture),l.B4B)}}function ob(w,g){1&w&&l.nrm(0,"mat-icon",12),2&w&&l.Y8G("svgIcon","heroicons_outline:user-circle")}let ig=(()=>{class w{constructor(d,b,E,V,tt,bt,Kt){this._changeDetectorRef=d,this._router=b,this._angorConfigService=E,this._signerService=V,this._storageService=tt,this.sanitizer=bt,this._nostrLoginService=Kt,this.isLoading=!0,this.errorMessage=null,this._unsubscribeAll=new ec.B}ngOnInit(){this.userPubKey=this._signerService.getPublicKey(),this._angorConfigService.config$.pipe((0,ts.Q)(this._unsubscribeAll)).subscribe(d=>{localStorage.setItem("angorConfig",JSON.stringify(d)),this.config=d,this._changeDetectorRef.detectChanges()}),this.loadUserProfile(),this._storageService.profile$.subscribe(d=>{d&&d.pubKey===this.userPubKey&&(this.user=d.metadata,this._changeDetectorRef.detectChanges())})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}loadUserProfile(){var d=this;return(0,k.A)(function*(){d._storageService.getProfile(d.userPubKey).then(b=>{d.user=b,d._changeDetectorRef.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(b){return new(b||w)(l.rXU(l.gRc),l.rXU(a.Ix),l.rXU(v0.P),l.rXU(Vu.A),l.rXU(og.n),l.rXU(n.up),l.rXU(L1.v))}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["user"]],decls:50,vars:16,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"],["mat-menu-item","",3,"routerLink"],["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(b,E){if(1&b){const V=l.RV6();l.j41(0,"button",3)(1,"span",4),l.DNE(2,_0,2,1,"ng-container",5)(3,ob,1,1,"ng-template",null,0,l.C5r),l.k0s()(),l.j41(5,"mat-menu",6,1)(7,"button",7)(8,"span",8)(9,"span"),l.EFF(10,"Logged in as"),l.k0s(),l.j41(11,"span",9),l.EFF(12),l.k0s()()(),l.nrm(13,"mat-divider",10),l.j41(14,"button",11),l.bIt("click",function(){return l.eBV(V),l.Njj(E.Switch())}),l.nrm(15,"mat-icon",12),l.j41(16,"span"),l.EFF(17,"Switch account"),l.k0s()(),l.j41(18,"button",11),l.bIt("click",function(){return l.eBV(V),l.Njj(E.profile())}),l.nrm(19,"mat-icon",12),l.j41(20,"span"),l.EFF(21,"Profile"),l.k0s()(),l.j41(22,"button",13),l.nrm(23,"mat-icon",12),l.j41(24,"span"),l.EFF(25,"Options"),l.k0s()(),l.nrm(26,"mat-divider",10),l.j41(27,"button",11),l.bIt("click",function(){return l.eBV(V),l.Njj(E.logout())}),l.nrm(28,"mat-icon",12),l.j41(29,"span"),l.EFF(30,"logout"),l.k0s()()(),l.j41(31,"mat-menu",null,2)(33,"button",11),l.bIt("click",function(){return l.eBV(V),l.Njj(E.setScheme("auto"))}),l.nrm(34,"mat-icon",12),l.j41(35,"span"),l.EFF(36,"Auto Theme"),l.k0s()(),l.j41(37,"button",11),l.bIt("click",function(){return l.eBV(V),l.Njj(E.setScheme("light"))}),l.nrm(38,"mat-icon",12),l.j41(39,"span"),l.EFF(40,"Light Theme"),l.k0s()(),l.j41(41,"button",11),l.bIt("click",function(){return l.eBV(V),l.Njj(E.setScheme("dark"))}),l.nrm(42,"mat-icon",12),l.j41(43,"span"),l.EFF(44,"Dark Theme"),l.k0s()(),l.nrm(45,"mat-divider"),l.j41(46,"button",14),l.nrm(47,"mat-icon",12),l.j41(48,"span"),l.EFF(49,"Settings"),l.k0s()()()}if(2&b){const V=l.sdS(4),tt=l.sdS(6),bt=l.sdS(32);l.Y8G("matMenuTriggerFor",tt),l.R7$(2),l.Y8G("ngIf",null==E.user?null:E.user.picture)("ngIfElse",V),l.R7$(3),l.Y8G("xPosition","before"),l.R7$(7),l.JRh((null==E.user?null:E.user.display_name)||(null==E.user?null:E.user.name)||"Unknown User"),l.R7$(3),l.Y8G("svgIcon","heroicons_outline:user-circle"),l.R7$(4),l.Y8G("svgIcon","heroicons_outline:user-circle"),l.R7$(3),l.Y8G("matMenuTriggerFor",bt),l.R7$(),l.Y8G("svgIcon","heroicons_outline:cog-8-tooth"),l.R7$(5),l.Y8G("svgIcon","heroicons_outline:arrow-right-on-rectangle"),l.R7$(6),l.Y8G("svgIcon","heroicons_solid:bolt"),l.R7$(4),l.Y8G("svgIcon","heroicons_solid:sun"),l.R7$(4),l.Y8G("svgIcon","heroicons_solid:moon"),l.R7$(4),l.Y8G("routerLink",l.lJ4(15,rb)),l.R7$(),l.Y8G("svgIcon","heroicons_outline:cog-8-tooth")}},dependencies:[bc.Hl,bc.iY,Td.Cn,Td.kk,Td.fb,Td.Cp,nc.m_,nc.An,ng.w,ng.q,ae.MD,ae.bT,a.iI,a.Wk],encapsulation:2,changeDetection:0})}}return w})();var nb=o(6061),cu=o(9587);let x0=(()=>{class w{constructor(d,b){this.swUpdate=d,this.zone=b,this.newVersionAvailableSubject=new It.t(!1),this.isNewVersionAvailable$=this.newVersionAvailableSubject.asObservable(),this.intervalSource=function ib(w=0,g=nb.E){return w<0&&(w=0),(0,cu.O)(w,w,g)}(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(b){console.error("Failed to check for updates:",b)}}))})}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(b){return new(b||w)(l.KVO(Lu),l.KVO(l.SKi))}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();function k0(w,g){if(1&w){const d=l.RV6();l.j41(0,"button",1),l.bIt("click",function(){l.eBV(d);const E=l.XpG();return l.Njj(E.applyUpdate())}),l.nrm(1,"mat-icon",2),l.k0s()}if(2&w){const d=l.XpG();l.Y8G("matTooltip",d.tooltip||"Update App"),l.R7$(),l.Y8G("svgIcon","heroicons_outline:cloud-arrow-down")}}let ab=(()=>{class w{constructor(d,b){this.updateService=d,this._changeDetectorRef=b,this.updateService.isNewVersionAvailable$.subscribe(E=>{E&&this._changeDetectorRef.detectChanges()})}applyUpdate(){this.updateService.applyUpdate()}static{this.\u0275fac=function(b){return new(b||w)(l.rXU(x0),l.rXU(l.gRc))}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["update"]],inputs:{tooltip:"tooltip"},exportAs:["update"],decls:2,vars:3,consts:[["mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"click","matTooltip"],[3,"svgIcon"]],template:function(b,E){1&b&&(l.DNE(0,k0,2,2,"button",0),l.nI1(1,"async")),2&b&&l.Y8G("ngIf",l.bMT(1,1,E.updateService.isNewVersionAvailable$))},dependencies:[bc.Hl,bc.iY,nc.m_,nc.An,zl.uc,zl.oV,ae.MD,ae.bT,ae.Jj],encapsulation:2,changeDetection:0})}}return w})();function E0(w,g){if(1&w&&(l.j41(0,"angor-vertical-navigation",0),l.qex(1,10),l.j41(2,"div",11),l.nrm(3,"img",12),l.k0s(),l.bVm(),l.k0s()),2&w){const d=l.XpG();l.Y8G("mode","over")("name","mainNavigation")("navigation",d.navigation.default)("opened",!1)}}function sb(w,g){if(1&w&&(l.j41(0,"div",13)(1,"div",14),l.nrm(2,"img",15)(3,"img",16),l.k0s(),l.nrm(4,"img",17),l.k0s(),l.nrm(5,"angor-horizontal-navigation",18)),2&w){const d=l.XpG();l.R7$(5),l.Y8G("name","mainNavigation")("navigation",d.navigation.horizontal)}}function C0(w,g){if(1&w){const d=l.RV6();l.j41(0,"button",19),l.bIt("click",function(){l.eBV(d);const E=l.XpG();return l.Njj(E.toggleNavigation("mainNavigation"))}),l.nrm(1,"mat-icon",20),l.k0s()}2&w&&(l.R7$(),l.Y8G("svgIcon","heroicons_outline:bars-3"))}function D0(w,g){1&w&&l.nrm(0,"router-outlet")}let S0=(()=>{class w{constructor(d,b,E,V,tt){this._activatedRoute=d,this._router=b,this._navigationService=E,this._angorMediaWatcherService=V,this._angorNavigationService=tt,this._unsubscribeAll=new ec.B,this.version=cl}ngOnInit(){this._navigationService.navigation$.pipe((0,ts.Q)(this._unsubscribeAll)).subscribe(d=>{this.navigation=d}),this._angorMediaWatcherService.onMediaChange$.pipe((0,ts.Q)(this._unsubscribeAll)).subscribe(({matchingAliases:d})=>{this.isScreenSmall=!d.includes("md")})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}toggleNavigation(d){const b=this._angorNavigationService.getComponent(d);b&&b.toggle()}static{this.\u0275fac=function(b){return new(b||w)(l.rXU(a.nX),l.rXU(a.Ix),l.rXU(_s),l.rXU(st.l),l.rXU(qp.lX))}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["modern-layout"]],decls:17,vars:6,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(b,E){1&b&&(l.nrm(0,"angor-loading-bar"),l.DNE(1,E0,4,4,"angor-vertical-navigation",0),l.j41(2,"div",1)(3,"div",2),l.DNE(4,sb,6,2)(5,C0,2,1,"button",3),l.j41(6,"div",4),l.nrm(7,"update")(8,"angor-fullscreen",5)(9,"search",6)(10,"notifications")(11,"user"),l.k0s()(),l.j41(12,"div",7),l.DNE(13,D0,1,0,"router-outlet"),l.k0s(),l.j41(14,"div",8)(15,"span",9),l.EFF(16),l.k0s()()()),2&b&&(l.R7$(),l.vxM(E.isScreenSmall?1:-1),l.R7$(3),l.vxM(E.isScreenSmall?-1:4),l.R7$(),l.vxM(E.isScreenSmall?5:-1),l.R7$(4),l.Y8G("appearance","bar"),l.R7$(4),l.vxM(13),l.R7$(3),l.SpI("Angor Hub - version ",E.version,""))},dependencies:[Hl,qp.Tv,qp.$w,bc.Hl,bc.iY,nc.m_,nc.An,Cl,nh,eg,ig,a.n3,ab],encapsulation:2})}}return w})();function A0(w,g){1&w&&l.nrm(0,"router-outlet")}let T0=(()=>{class w{constructor(d,b,E,V,tt){this._activatedRoute=d,this._router=b,this._navigationService=E,this._angorMediaWatcherService=V,this._angorNavigationService=tt,this._unsubscribeAll=new ec.B,this.version=cl}ngOnInit(){this._navigationService.navigation$.pipe((0,ts.Q)(this._unsubscribeAll)).subscribe(d=>{this.navigation=d}),this._angorMediaWatcherService.onMediaChange$.pipe((0,ts.Q)(this._unsubscribeAll)).subscribe(({matchingAliases:d})=>{this.isScreenSmall=!d.includes("md")})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}toggleNavigation(d){const b=this._angorNavigationService.getComponent(d);b&&b.toggle()}static{this.\u0275fac=function(b){return new(b||w)(l.rXU(a.nX),l.rXU(a.Ix),l.rXU(_s),l.rXU(st.l),l.rXU(qp.lX))}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["classic-layout"]],decls:21,vars:8,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(b,E){1&b&&(l.nrm(0,"angor-loading-bar"),l.j41(1,"angor-vertical-navigation",0),l.qex(2,1),l.j41(3,"div",2),l.nrm(4,"img",3)(5,"img",4),l.k0s(),l.bVm(),l.k0s(),l.j41(6,"div",5)(7,"div",6)(8,"button",7),l.bIt("click",function(){return E.toggleNavigation("mainNavigation")}),l.nrm(9,"mat-icon",8),l.k0s(),l.j41(10,"div",9),l.nrm(11,"update")(12,"angor-fullscreen",10)(13,"search",11)(14,"notifications")(15,"user"),l.k0s()(),l.j41(16,"div",12),l.DNE(17,A0,1,0,"router-outlet"),l.k0s(),l.j41(18,"div",13)(19,"span",14),l.EFF(20),l.k0s()()()),2&b&&(l.R7$(),l.Y8G("mode",E.isScreenSmall?"over":"side")("name","mainNavigation")("navigation",E.navigation.default)("opened",!E.isScreenSmall),l.R7$(8),l.Y8G("svgIcon","heroicons_outline:bars-3"),l.R7$(4),l.Y8G("appearance","bar"),l.R7$(4),l.vxM(17),l.R7$(3),l.SpI("Angor Hub - version ",E.version,""))},dependencies:[Hl,qp.Tv,bc.Hl,bc.iY,nc.m_,nc.An,Cl,nh,eg,ig,a.n3,ab],encapsulation:2})}}return w})();function Sf(w,g){1&w&&l.nrm(0,"empty-layout")}function M0(w,g){1&w&&l.nrm(0,"modern-layout")}function I0(w,g){1&w&&l.nrm(0,"classic-layout")}let Dl=(()=>{class w{constructor(d,b,E,V,tt,bt,Kt){this._activatedRoute=d,this._document=b,this._renderer2=E,this._router=V,this._angorConfigService=tt,this._angorMediaWatcherService=bt,this._angorPlatformService=Kt,this._unsubscribeAll=new ec.B}ngOnInit(){(0,al.z)([this._angorConfigService.config$,this._angorMediaWatcherService.onMediaQueryChange$(["(prefers-color-scheme: dark)","(prefers-color-scheme: light)"])]).pipe((0,ts.Q)(this._unsubscribeAll),(0,Oa.T)(([d,b])=>{const E={scheme:d.scheme,theme:d.theme};return"auto"===d.scheme&&(E.scheme=b.breakpoints["(prefers-color-scheme: dark)"]?"dark":"light"),E})).subscribe(d=>{this.scheme=d.scheme,this.theme=d.theme,this._updateScheme(),this._updateTheme()}),this._angorConfigService.config$.pipe((0,ts.Q)(this._unsubscribeAll)).subscribe(d=>{this.config=d,this._updateLayout()}),this._router.events.pipe((0,le.p)(d=>d instanceof a.wF),(0,ts.Q)(this._unsubscribeAll)).subscribe(()=>{this._updateLayout()}),this._renderer2.setAttribute(this._document.querySelector("[ng-version]"),"angor-version",cl),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 b=d.snapshot.queryParamMap.get("layout");b&&(this.layout=b,this.config&&(this.config.layout=b)),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(b){return new(b||w)(l.rXU(a.nX),l.rXU(ae.qQ),l.rXU(l.sFG),l.rXU(a.Ix),l.rXU(v0.P),l.rXU(st.l),l.rXU(Pt))}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["layout"]],decls:3,vars:3,template:function(b,E){1&b&&l.DNE(0,Sf,1,0,"empty-layout")(1,M0,1,0,"modern-layout")(2,I0,1,0,"classic-layout"),2&b&&(l.vxM("empty"===E.layout?0:-1),l.R7$(),l.vxM("modern"===E.layout?1:-1),l.R7$(),l.vxM("classic"===E.layout?2:-1))},dependencies:[Qh,S0,T0],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 w})();const lu=()=>{const w=(0,l.WQX)(Vu.A),g=(0,l.WQX)(a.Ix);return""!==w.getPublicKey()||g.parseUrl("/login")},Af=[{path:"",pathMatch:"full",redirectTo:"home"},{path:"project/:pubkey",pathMatch:"full",redirectTo:"explore"},{path:"login-redirect",pathMatch:"full",redirectTo:"explore"},{path:"",component:Dl,data:{layout:"empty"},children:[{path:"login",loadChildren:()=>Promise.all([o.e(87),o.e(232)]).then(o.bind(o,6232))},{path:"create",loadChildren:()=>Promise.all([o.e(87),o.e(664)]).then(o.bind(o,9664))}]},{path:"",canActivate:[lu],canActivateChild:[lu],component:Dl,data:{layout:"empty"},children:[{path:"logout",loadChildren:()=>o.e(957).then(o.bind(o,7957))}]},{path:"",canActivate:[lu],canActivateChild:[lu],component:Dl,resolve:{initialData:()=>{const w=(0,l.WQX)(_s);return(0,l.WQX)(jl),(0,Bl.p)([w.get()])}},children:[{path:"home",loadChildren:()=>Promise.all([o.e(859),o.e(523),o.e(900),o.e(836)]).then(o.bind(o,836))},{path:"explore",loadChildren:()=>Promise.all([o.e(371),o.e(76),o.e(907)]).then(o.bind(o,8288))},{path:"zap",loadChildren:()=>Promise.all([o.e(859),o.e(785)]).then(o.bind(o,8166))},{path:"bookmark",loadChildren:()=>Promise.all([o.e(371),o.e(76),o.e(767)]).then(o.bind(o,6767))},{path:"profile",loadChildren:()=>Promise.all([o.e(859),o.e(523),o.e(371),o.e(556),o.e(900),o.e(76),o.e(394)]).then(o.bind(o,5394))},{path:"profile/:pubkey",loadChildren:()=>Promise.all([o.e(859),o.e(523),o.e(371),o.e(556),o.e(900),o.e(76),o.e(394)]).then(o.bind(o,5394))},{path:"post",loadChildren:()=>Promise.all([o.e(859),o.e(523),o.e(556),o.e(900),o.e(544)]).then(o.bind(o,6544))},{path:"post/:id",loadChildren:()=>Promise.all([o.e(859),o.e(523),o.e(556),o.e(900),o.e(544)]).then(o.bind(o,6544))},{path:"settings",loadChildren:()=>Promise.all([o.e(859),o.e(371),o.e(76),o.e(126)]).then(o.bind(o,6126))},{path:"settings/:id",loadChildren:()=>Promise.all([o.e(859),o.e(371),o.e(76),o.e(126)]).then(o.bind(o,6126))},{path:"chat",loadChildren:()=>Promise.all([o.e(859),o.e(523),o.e(556),o.e(512)]).then(o.bind(o,1512))},{path:"404-not-found",pathMatch:"full",loadChildren:()=>o.e(256).then(o.bind(o,9256))},{path:"**",redirectTo:"404-not-found"}]}];let Ku=(()=>{class w{constructor(){const d=(0,l.WQX)(n.up),b=(0,l.WQX)(nc.tp);b.addSvgIconSet(d.bypassSecurityTrustResourceUrl("icons/material-twotone.svg")),b.addSvgIconSetInNamespace("mat_outline",d.bypassSecurityTrustResourceUrl("icons/material-outline.svg")),b.addSvgIconSetInNamespace("mat_solid",d.bypassSecurityTrustResourceUrl("icons/material-solid.svg")),b.addSvgIconSetInNamespace("feather",d.bypassSecurityTrustResourceUrl("icons/feather.svg")),b.addSvgIconSetInNamespace("heroicons_outline",d.bypassSecurityTrustResourceUrl("icons/heroicons-outline.svg")),b.addSvgIconSetInNamespace("heroicons_solid",d.bypassSecurityTrustResourceUrl("icons/heroicons-solid.svg")),b.addSvgIconSetInNamespace("heroicons_mini",d.bypassSecurityTrustResourceUrl("icons/heroicons-mini.svg"))}static{this.\u0275fac=function(b){return new(b||w)}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();var R0=o(8747),P1=o(1540);let Tf=(()=>{class w{constructor(d){this.httpClient=d}getTranslation(d){return this.httpClient.get(`./i18n/${d}.json`)}static{this.\u0275fac=function(b){return new(b||w)(l.KVO(J.Qq))}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();const cb=[{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:"0",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"}],lb=[{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 db=o(1238);var L0=o(2065),sg=o(101),P0=o(6259),F0=o(1561);const B0=(0,o(5717).A)(Object.keys,Object);var $0=Object.prototype.hasOwnProperty;var H0=o(2808);const Mf=function ub(w){return(0,H0.A)(w)?(0,P0.A)(w):function j0(w){if(!(0,F0.A)(w))return B0(w);var g=[];for(var d in Object(w))$0.call(w,d)&&"constructor"!=d&&g.push(d);return g}(w)};var If=o(3959);var ih=o(4224),pb=o(1369);const K0=function F1(){return[]};var Of=Object.prototype.propertyIsEnumerable,lg=Object.getOwnPropertySymbols;const fb=lg?function(w){return null==w?[]:(w=Object(w),function hb(w,g){for(var d=-1,b=null==w?0:w.length,E=0,V=[];++d{class w{constructor(d){this._angorMockApiService=d,this._defaultNavigation=cb,this._horizontalNavigation=lb,this.registerHandlers()}registerHandlers(){this._angorMockApiService.onGet("api/navigation").reply(()=>(this._horizontalNavigation.forEach(d=>{this._defaultNavigation.forEach(b=>{b.id===d.id&&(d.children=xg(b.children))})}),[200,{default:xg(this._defaultNavigation),horizontal:xg(this._horizontalNavigation)}]))}static{this.\u0275fac=function(b){return new(b||w)(l.KVO(Y))}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})()];let nw=(()=>{class w{constructor(d){this.http=d,this.timestamp=null,this.ngswFilePath="/ngsw.json"}load(){var d=this;return(0,k.A)(function*(){try{const b=yield d.http.get(d.ngswFilePath).toPromise();b&&b.timestamp?(d.timestamp=b.timestamp,console.log("Timestamp successfully loaded:",d.timestamp)):console.error("Invalid data format in ngsw.json")}catch(b){console.error("Error loading ngsw.json:",b)}})()}getTimestamp(){return this.timestamp}loadHash(){return this.http.get(this.ngswFilePath).pipe((0,Oa.T)(d=>d.timestamp||null),(0,hf.W)(d=>(console.error("Error fetching ngsw.json hash:",d),(0,A.$)(()=>new Error("Failed to load hash.")))))}static{this.\u0275fac=function(b){return new(b||w)(l.KVO(J.Qq))}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();var Jf=o(6433),Ey=o(4143);const uh={providers:[function Nh(){return(0,l.ngT)("NgEagerAnimations"),[...Rp]}(),(0,J.$R)(),function nu(w,g={}){return(0,l.EmA)([Fh,Lu,{provide:Pp,useValue:w},{provide:ws,useValue:g},{provide:kd,useFactory:Uh,deps:[ws,l.Agw]},{provide:l.hnV,useFactory:Bp,deps:[l.zZn,Pp,ws,l.Agw],multi:!0}])}("ngsw-worker.js",{enabled:!(0,l.naY)(),registrationStrategy:"registerWhenStable:30000"}),{provide:l.hnV,useFactory:function tm(w){return()=>w.load()},deps:[nw,Vu.A,Jf.d],multi:!0},{provide:l.hnV,useFactory:function dh(w,g){return(0,k.A)(function*(){const d=w.getPublicKey();d&&(yield g.loadUserProfile(d))})},deps:[Vu.A,Jf.d],multi:!0},{provide:l.hnV,useFactory:function gu(){return()=>{(0,Ey.Ts)({theme:"ocean",noBanner:!0,title:"Angor Hub",onAuth:(w,g)=>{}})}},multi:!0},(0,a.lh)(Af,(0,a.oH)({scrollPositionRestoration:"enabled"})),{provide:or.MJ,useClass:Xc},{provide:or.de,useValue:{parse:{dateInput:"D"},display:{dateInput:"DDD",monthYearLabel:"LLL yyyy",dateA11yLabel:"DD",monthYearA11yLabel:"LLLL yyyy"}}},function tn(w){const g=[ho(Yh),mn(Cd),vo(su),Yo(_)];return w.config&&g.push(function ti(w){return(0,l.EmA)([{provide:Ul,useValue:Xh(w)}])}(w.config)),w.loader&&g.push(function ei(w){return(0,l.EmA)([{provide:Vh,useClass:w}])}(w.loader)),g}({config:{availableLangs:[{id:"en",label:"English"}],defaultLang:"en",fallbackLang:"en",reRenderOnLangChange:!0,prodMode:!0},loader:Tf}),{provide:l.hnV,useFactory:()=>{const w=(0,l.WQX)(Ye),g=w.getDefaultLang();return w.setActiveLang(g),()=>function ag(w,g){const d="object"==typeof g;return new Promise((b,E)=>{const V=new P1.Ms({next:tt=>{b(tt),V.unsubscribe()},error:E,complete:()=>{d?b(g.defaultValue):E(new R0.G)}});w.subscribe(V)})}(w.load(g))},multi:!0},[{provide:l.Z63,useValue:()=>(0,l.WQX)(Ku),multi:!0}],(w=>{const g=[{provide:or.N,useValue:{doctype:!0,theme:!1,version:!0}},{provide:yr.U$,useValue:{appearance:"fill"}},{provide:C,useValue:w?.mockApi?.delay??0},{provide:kt.t,useValue:w?.angor??{}},(0,l.oKB)(fr.hM),{provide:l.Z63,useValue:()=>(0,l.WQX)(Et.m),multi:!0},(0,J.$R)((0,J.b$)([at])),{provide:l.Z63,useValue:()=>(0,l.WQX)(yt),multi:!0},{provide:l.Z63,useValue:()=>(0,l.WQX)(st.l),multi:!0},{provide:l.Z63,useValue:()=>(0,l.WQX)(Pt),multi:!0},{provide:l.Z63,useValue:()=>(0,l.WQX)(ve),multi:!0},{provide:l.Z63,useValue:()=>(0,l.WQX)(se.Q),multi:!0}];return w?.mockApi?.services&&g.push((0,J.$R)((0,J.b$)([pt])),{provide:l.hnV,deps:[...w.mockApi.services],useFactory:()=>()=>null,multi:!0}),g})({mockApi:{delay:0,services:qu},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,n.B8)(y,uh).catch(w=>console.error(w))},9566:(i,s)=>{"use strict";s.byteLength=function A(Y){var J=C(Y),ct=J[1];return 3*(J[0]+ct)/4-ct},s.toByteArray=function T(Y){var J,yt,ht=C(Y),ct=ht[0],pt=ht[1],kt=new a(function S(Y,J,ht){return 3*(J+ht)/4-ht}(0,ct,pt)),Et=0,It=pt>0?ct-4:ct;for(yt=0;yt>16&255,kt[Et++]=J>>8&255,kt[Et++]=255&J;return 2===pt&&(J=n[Y.charCodeAt(yt)]<<2|n[Y.charCodeAt(yt+1)]>>4,kt[Et++]=255&J),1===pt&&(J=n[Y.charCodeAt(yt)]<<10|n[Y.charCodeAt(yt+1)]<<4|n[Y.charCodeAt(yt+2)]>>2,kt[Et++]=J>>8&255,kt[Et++]=255&J),kt},s.fromByteArray=function q(Y){for(var J,ht=Y.length,ct=ht%3,pt=[],Et=0,It=ht-ct;EtIt?It:Et+16383));return 1===ct?pt.push(o[(J=Y[ht-1])>>2]+o[J<<4&63]+"=="):2===ct&&pt.push(o[(J=(Y[ht-2]<<8)+Y[ht-1])>>10]+o[J>>4&63]+o[J<<2&63]+"="),pt.join("")};for(var o=[],n=[],a=typeof Uint8Array<"u"?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0;y<64;++y)o[y]=l[y],n[l.charCodeAt(y)]=y;function C(Y){var J=Y.length;if(J%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var ht=Y.indexOf("=");return-1===ht&&(ht=J),[ht,ht===J?0:4-ht%4]}function O(Y){return o[Y>>18&63]+o[Y>>12&63]+o[Y>>6&63]+o[63&Y]}function P(Y,J,ht){for(var pt=[],kt=J;kt{"use strict";const a=o(9566),l=o(9859),y="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;s.hp=S,s.IS=50;const k=2147483647;function A(W){if(W>k)throw new RangeError('The value "'+W+'" is invalid for option "size"');const N=new Uint8Array(W);return Object.setPrototypeOf(N,S.prototype),N}function S(W,N,z){if("number"==typeof W){if("string"==typeof N)throw new TypeError('The "string" argument must be of type string. Received type number');return q(W)}return T(W,N,z)}function T(W,N,z){if("string"==typeof W)return function Y(W,N){if(("string"!=typeof N||""===N)&&(N="utf8"),!S.isEncoding(N))throw new TypeError("Unknown encoding: "+N);const z=0|It(W,N);let Rt=A(z);const ue=Rt.write(W,N);return ue!==z&&(Rt=Rt.slice(0,ue)),Rt}(W,N);if(ArrayBuffer.isView(W))return function ht(W){if(fo(W,Uint8Array)){const N=new Uint8Array(W);return ct(N.buffer,N.byteOffset,N.byteLength)}return J(W)}(W);if(null==W)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof W);if(fo(W,ArrayBuffer)||W&&fo(W.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(fo(W,SharedArrayBuffer)||W&&fo(W.buffer,SharedArrayBuffer)))return ct(W,N,z);if("number"==typeof W)throw new TypeError('The "value" argument must not be of type number. Received type number');const Rt=W.valueOf&&W.valueOf();if(null!=Rt&&Rt!==W)return S.from(Rt,N,z);const ue=function pt(W){if(S.isBuffer(W)){const N=0|kt(W.length),z=A(N);return 0===z.length||W.copy(z,0,0,N),z}return void 0!==W.length?"number"!=typeof W.length||cr(W.length)?A(0):J(W):"Buffer"===W.type&&Array.isArray(W.data)?J(W.data):void 0}(W);if(ue)return ue;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof W[Symbol.toPrimitive])return S.from(W[Symbol.toPrimitive]("string"),N,z);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof W)}function O(W){if("number"!=typeof W)throw new TypeError('"size" argument must be of type number');if(W<0)throw new RangeError('The value "'+W+'" is invalid for option "size"')}function q(W){return O(W),A(W<0?0:0|kt(W))}function J(W){const N=W.length<0?0:0|kt(W.length),z=A(N);for(let Rt=0;Rt=k)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k.toString(16)+" bytes");return 0|W}function It(W,N){if(S.isBuffer(W))return W.length;if(ArrayBuffer.isView(W)||fo(W,ArrayBuffer))return W.byteLength;if("string"!=typeof W)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof W);const z=W.length,Rt=arguments.length>2&&!0===arguments[2];if(!Rt&&0===z)return 0;let ue=!1;for(;;)switch(N){case"ascii":case"latin1":case"binary":return z;case"utf8":case"utf-8":return tr(W).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*z;case"hex":return z>>>1;case"base64":return Lo(W).length;default:if(ue)return Rt?-1:tr(W).length;N=(""+N).toLowerCase(),ue=!0}}function yt(W,N,z){let Rt=!1;if((void 0===N||N<0)&&(N=0),N>this.length||((void 0===z||z>this.length)&&(z=this.length),z<=0)||(z>>>=0)<=(N>>>=0))return"";for(W||(W="utf8");;)switch(W){case"hex":return Qt(this,N,z);case"utf8":case"utf-8":return or(this,N,z);case"ascii":return jr(this,N,z);case"latin1":case"binary":return wr(this,N,z);case"base64":return se(this,N,z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return be(this,N,z);default:if(Rt)throw new TypeError("Unknown encoding: "+W);W=(W+"").toLowerCase(),Rt=!0}}function _t(W,N,z){const Rt=W[N];W[N]=W[z],W[z]=Rt}function at(W,N,z,Rt,ue){if(0===W.length)return-1;if("string"==typeof z?(Rt=z,z=0):z>2147483647?z=2147483647:z<-2147483648&&(z=-2147483648),cr(z=+z)&&(z=ue?0:W.length-1),z<0&&(z=W.length+z),z>=W.length){if(ue)return-1;z=W.length-1}else if(z<0){if(!ue)return-1;z=0}if("string"==typeof N&&(N=S.from(N,Rt)),S.isBuffer(N))return 0===N.length?-1:st(W,N,z,Rt,ue);if("number"==typeof N)return N&=255,"function"==typeof Uint8Array.prototype.indexOf?ue?Uint8Array.prototype.indexOf.call(W,N,z):Uint8Array.prototype.lastIndexOf.call(W,N,z):st(W,[N],z,Rt,ue);throw new TypeError("val must be string, number or Buffer")}function st(W,N,z,Rt,ue){let dr,he=1,Se=W.length,Sr=N.length;if(void 0!==Rt&&("ucs2"===(Rt=String(Rt).toLowerCase())||"ucs-2"===Rt||"utf16le"===Rt||"utf-16le"===Rt)){if(W.length<2||N.length<2)return-1;he=2,Se/=2,Sr/=2,z/=2}function ar(Mr,ao){return 1===he?Mr[ao]:Mr.readUInt16BE(ao*he)}if(ue){let Mr=-1;for(dr=z;drSe&&(z=Se-Sr),dr=z;dr>=0;dr--){let Mr=!0;for(let ao=0;aoue&&(Rt=ue):Rt=ue;const he=N.length;let Se;for(Rt>he/2&&(Rt=he/2),Se=0;Se>8,ue=z%256,he.push(ue),he.push(Rt);return he}(N,W.length-z),W,z,Rt)}function se(W,N,z){return a.fromByteArray(0===N&&z===W.length?W:W.slice(N,z))}function or(W,N,z){z=Math.min(W.length,z);const Rt=[];let ue=N;for(;ue239?4:he>223?3:he>191?2:1;if(ue+Sr<=z){let ar,dr,Mr,ao;switch(Sr){case 1:he<128&&(Se=he);break;case 2:ar=W[ue+1],128==(192&ar)&&(ao=(31&he)<<6|63&ar,ao>127&&(Se=ao));break;case 3:ar=W[ue+1],dr=W[ue+2],128==(192&ar)&&128==(192&dr)&&(ao=(15&he)<<12|(63&ar)<<6|63&dr,ao>2047&&(ao<55296||ao>57343)&&(Se=ao));break;case 4:ar=W[ue+1],dr=W[ue+2],Mr=W[ue+3],128==(192&ar)&&128==(192&dr)&&128==(192&Mr)&&(ao=(15&he)<<18|(63&ar)<<12|(63&dr)<<6|63&Mr,ao>65535&&ao<1114112&&(Se=ao))}}null===Se?(Se=65533,Sr=1):Se>65535&&(Se-=65536,Rt.push(Se>>>10&1023|55296),Se=56320|1023&Se),Rt.push(Se),ue+=Sr}return function yr(W){const N=W.length;if(N<=fr)return String.fromCharCode.apply(String,W);let z="",Rt=0;for(;Rtue.length?(S.isBuffer(Se)||(Se=S.from(Se)),Se.copy(ue,he)):Uint8Array.prototype.set.call(ue,Se,he);else{if(!S.isBuffer(Se))throw new TypeError('"list" argument must be an Array of Buffers');Se.copy(ue,he)}he+=Se.length}return ue},S.byteLength=It,S.prototype._isBuffer=!0,S.prototype.swap16=function(){const N=this.length;if(N%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let z=0;zz&&(N+=" ... "),""},y&&(S.prototype[y]=S.prototype.inspect),S.prototype.compare=function(N,z,Rt,ue,he){if(fo(N,Uint8Array)&&(N=S.from(N,N.offset,N.byteLength)),!S.isBuffer(N))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof N);if(void 0===z&&(z=0),void 0===Rt&&(Rt=N?N.length:0),void 0===ue&&(ue=0),void 0===he&&(he=this.length),z<0||Rt>N.length||ue<0||he>this.length)throw new RangeError("out of range index");if(ue>=he&&z>=Rt)return 0;if(ue>=he)return-1;if(z>=Rt)return 1;if(this===N)return 0;let Se=(he>>>=0)-(ue>>>=0),Sr=(Rt>>>=0)-(z>>>=0);const ar=Math.min(Se,Sr),dr=this.slice(ue,he),Mr=N.slice(z,Rt);for(let ao=0;ao>>=0,isFinite(Rt)?(Rt>>>=0,void 0===ue&&(ue="utf8")):(ue=Rt,Rt=void 0)}const he=this.length-z;if((void 0===Rt||Rt>he)&&(Rt=he),N.length>0&&(Rt<0||z<0)||z>this.length)throw new RangeError("Attempt to write outside buffer bounds");ue||(ue="utf8");let Se=!1;for(;;)switch(ue){case"hex":return vt(this,N,z,Rt);case"utf8":case"utf-8":return Pt(this,N,z,Rt);case"ascii":case"latin1":case"binary":return ae(this,N,z,Rt);case"base64":return le(this,N,z,Rt);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ve(this,N,z,Rt);default:if(Se)throw new TypeError("Unknown encoding: "+ue);ue=(""+ue).toLowerCase(),Se=!0}},S.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const fr=4096;function jr(W,N,z){let Rt="";z=Math.min(W.length,z);for(let ue=N;ueRt)&&(z=Rt);let ue="";for(let he=N;hez)throw new RangeError("Trying to access beyond buffer length")}function Bt(W,N,z,Rt,ue,he){if(!S.isBuffer(W))throw new TypeError('"buffer" argument must be a Buffer instance');if(N>ue||NW.length)throw new RangeError("Index out of range")}function Fe(W,N,z,Rt,ue){Xe(N,Rt,ue,W,z,7);let he=Number(N&BigInt(4294967295));W[z++]=he,he>>=8,W[z++]=he,he>>=8,W[z++]=he,he>>=8,W[z++]=he;let Se=Number(N>>BigInt(32)&BigInt(4294967295));return W[z++]=Se,Se>>=8,W[z++]=Se,Se>>=8,W[z++]=Se,Se>>=8,W[z++]=Se,z}function zt(W,N,z,Rt,ue){Xe(N,Rt,ue,W,z,7);let he=Number(N&BigInt(4294967295));W[z+7]=he,he>>=8,W[z+6]=he,he>>=8,W[z+5]=he,he>>=8,W[z+4]=he;let Se=Number(N>>BigInt(32)&BigInt(4294967295));return W[z+3]=Se,Se>>=8,W[z+2]=Se,Se>>=8,W[z+1]=Se,Se>>=8,W[z]=Se,z+8}function Yt(W,N,z,Rt,ue,he){if(z+Rt>W.length)throw new RangeError("Index out of range");if(z<0)throw new RangeError("Index out of range")}function oe(W,N,z,Rt,ue){return N=+N,z>>>=0,ue||Yt(W,0,z,4),l.write(W,N,z,Rt,23,4),z+4}function Oe(W,N,z,Rt,ue){return N=+N,z>>>=0,ue||Yt(W,0,z,8),l.write(W,N,z,Rt,52,8),z+8}S.prototype.slice=function(N,z){const Rt=this.length;(N=~~N)<0?(N+=Rt)<0&&(N=0):N>Rt&&(N=Rt),(z=void 0===z?Rt:~~z)<0?(z+=Rt)<0&&(z=0):z>Rt&&(z=Rt),z>>=0,z>>>=0,Rt||Ht(N,z,this.length);let ue=this[N],he=1,Se=0;for(;++Se>>=0,z>>>=0,Rt||Ht(N,z,this.length);let ue=this[N+--z],he=1;for(;z>0&&(he*=256);)ue+=this[N+--z]*he;return ue},S.prototype.readUint8=S.prototype.readUInt8=function(N,z){return N>>>=0,z||Ht(N,1,this.length),this[N]},S.prototype.readUint16LE=S.prototype.readUInt16LE=function(N,z){return N>>>=0,z||Ht(N,2,this.length),this[N]|this[N+1]<<8},S.prototype.readUint16BE=S.prototype.readUInt16BE=function(N,z){return N>>>=0,z||Ht(N,2,this.length),this[N]<<8|this[N+1]},S.prototype.readUint32LE=S.prototype.readUInt32LE=function(N,z){return N>>>=0,z||Ht(N,4,this.length),(this[N]|this[N+1]<<8|this[N+2]<<16)+16777216*this[N+3]},S.prototype.readUint32BE=S.prototype.readUInt32BE=function(N,z){return N>>>=0,z||Ht(N,4,this.length),16777216*this[N]+(this[N+1]<<16|this[N+2]<<8|this[N+3])},S.prototype.readBigUInt64LE=At(function(N){Te(N>>>=0,"offset");const z=this[N],Rt=this[N+7];(void 0===z||void 0===Rt)&&Ke(N,this.length-8);const ue=z+256*this[++N]+65536*this[++N]+this[++N]*2**24,he=this[++N]+256*this[++N]+65536*this[++N]+Rt*2**24;return BigInt(ue)+(BigInt(he)<>>=0,"offset");const z=this[N],Rt=this[N+7];(void 0===z||void 0===Rt)&&Ke(N,this.length-8);const ue=z*2**24+65536*this[++N]+256*this[++N]+this[++N],he=this[++N]*2**24+65536*this[++N]+256*this[++N]+Rt;return(BigInt(ue)<>>=0,z>>>=0,Rt||Ht(N,z,this.length);let ue=this[N],he=1,Se=0;for(;++Se=he&&(ue-=Math.pow(2,8*z)),ue},S.prototype.readIntBE=function(N,z,Rt){N>>>=0,z>>>=0,Rt||Ht(N,z,this.length);let ue=z,he=1,Se=this[N+--ue];for(;ue>0&&(he*=256);)Se+=this[N+--ue]*he;return he*=128,Se>=he&&(Se-=Math.pow(2,8*z)),Se},S.prototype.readInt8=function(N,z){return N>>>=0,z||Ht(N,1,this.length),128&this[N]?-1*(255-this[N]+1):this[N]},S.prototype.readInt16LE=function(N,z){N>>>=0,z||Ht(N,2,this.length);const Rt=this[N]|this[N+1]<<8;return 32768&Rt?4294901760|Rt:Rt},S.prototype.readInt16BE=function(N,z){N>>>=0,z||Ht(N,2,this.length);const Rt=this[N+1]|this[N]<<8;return 32768&Rt?4294901760|Rt:Rt},S.prototype.readInt32LE=function(N,z){return N>>>=0,z||Ht(N,4,this.length),this[N]|this[N+1]<<8|this[N+2]<<16|this[N+3]<<24},S.prototype.readInt32BE=function(N,z){return N>>>=0,z||Ht(N,4,this.length),this[N]<<24|this[N+1]<<16|this[N+2]<<8|this[N+3]},S.prototype.readBigInt64LE=At(function(N){Te(N>>>=0,"offset");const z=this[N],Rt=this[N+7];return(void 0===z||void 0===Rt)&&Ke(N,this.length-8),(BigInt(this[N+4]+256*this[N+5]+65536*this[N+6]+(Rt<<24))<>>=0,"offset");const z=this[N],Rt=this[N+7];(void 0===z||void 0===Rt)&&Ke(N,this.length-8);const ue=(z<<24)+65536*this[++N]+256*this[++N]+this[++N];return(BigInt(ue)<>>=0,z||Ht(N,4,this.length),l.read(this,N,!0,23,4)},S.prototype.readFloatBE=function(N,z){return N>>>=0,z||Ht(N,4,this.length),l.read(this,N,!1,23,4)},S.prototype.readDoubleLE=function(N,z){return N>>>=0,z||Ht(N,8,this.length),l.read(this,N,!0,52,8)},S.prototype.readDoubleBE=function(N,z){return N>>>=0,z||Ht(N,8,this.length),l.read(this,N,!1,52,8)},S.prototype.writeUintLE=S.prototype.writeUIntLE=function(N,z,Rt,ue){N=+N,z>>>=0,Rt>>>=0,ue||Bt(this,N,z,Rt,Math.pow(2,8*Rt)-1,0);let he=1,Se=0;for(this[z]=255&N;++Se>>=0,Rt>>>=0,ue||Bt(this,N,z,Rt,Math.pow(2,8*Rt)-1,0);let he=Rt-1,Se=1;for(this[z+he]=255&N;--he>=0&&(Se*=256);)this[z+he]=N/Se&255;return z+Rt},S.prototype.writeUint8=S.prototype.writeUInt8=function(N,z,Rt){return N=+N,z>>>=0,Rt||Bt(this,N,z,1,255,0),this[z]=255&N,z+1},S.prototype.writeUint16LE=S.prototype.writeUInt16LE=function(N,z,Rt){return N=+N,z>>>=0,Rt||Bt(this,N,z,2,65535,0),this[z]=255&N,this[z+1]=N>>>8,z+2},S.prototype.writeUint16BE=S.prototype.writeUInt16BE=function(N,z,Rt){return N=+N,z>>>=0,Rt||Bt(this,N,z,2,65535,0),this[z]=N>>>8,this[z+1]=255&N,z+2},S.prototype.writeUint32LE=S.prototype.writeUInt32LE=function(N,z,Rt){return N=+N,z>>>=0,Rt||Bt(this,N,z,4,4294967295,0),this[z+3]=N>>>24,this[z+2]=N>>>16,this[z+1]=N>>>8,this[z]=255&N,z+4},S.prototype.writeUint32BE=S.prototype.writeUInt32BE=function(N,z,Rt){return N=+N,z>>>=0,Rt||Bt(this,N,z,4,4294967295,0),this[z]=N>>>24,this[z+1]=N>>>16,this[z+2]=N>>>8,this[z+3]=255&N,z+4},S.prototype.writeBigUInt64LE=At(function(N,z=0){return Fe(this,N,z,BigInt(0),BigInt("0xffffffffffffffff"))}),S.prototype.writeBigUInt64BE=At(function(N,z=0){return zt(this,N,z,BigInt(0),BigInt("0xffffffffffffffff"))}),S.prototype.writeIntLE=function(N,z,Rt,ue){if(N=+N,z>>>=0,!ue){const ar=Math.pow(2,8*Rt-1);Bt(this,N,z,Rt,ar-1,-ar)}let he=0,Se=1,Sr=0;for(this[z]=255&N;++he>>=0,!ue){const ar=Math.pow(2,8*Rt-1);Bt(this,N,z,Rt,ar-1,-ar)}let he=Rt-1,Se=1,Sr=0;for(this[z+he]=255&N;--he>=0&&(Se*=256);)N<0&&0===Sr&&0!==this[z+he+1]&&(Sr=1),this[z+he]=(N/Se|0)-Sr&255;return z+Rt},S.prototype.writeInt8=function(N,z,Rt){return N=+N,z>>>=0,Rt||Bt(this,N,z,1,127,-128),N<0&&(N=255+N+1),this[z]=255&N,z+1},S.prototype.writeInt16LE=function(N,z,Rt){return N=+N,z>>>=0,Rt||Bt(this,N,z,2,32767,-32768),this[z]=255&N,this[z+1]=N>>>8,z+2},S.prototype.writeInt16BE=function(N,z,Rt){return N=+N,z>>>=0,Rt||Bt(this,N,z,2,32767,-32768),this[z]=N>>>8,this[z+1]=255&N,z+2},S.prototype.writeInt32LE=function(N,z,Rt){return N=+N,z>>>=0,Rt||Bt(this,N,z,4,2147483647,-2147483648),this[z]=255&N,this[z+1]=N>>>8,this[z+2]=N>>>16,this[z+3]=N>>>24,z+4},S.prototype.writeInt32BE=function(N,z,Rt){return N=+N,z>>>=0,Rt||Bt(this,N,z,4,2147483647,-2147483648),N<0&&(N=4294967295+N+1),this[z]=N>>>24,this[z+1]=N>>>16,this[z+2]=N>>>8,this[z+3]=255&N,z+4},S.prototype.writeBigInt64LE=At(function(N,z=0){return Fe(this,N,z,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),S.prototype.writeBigInt64BE=At(function(N,z=0){return zt(this,N,z,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),S.prototype.writeFloatLE=function(N,z,Rt){return oe(this,N,z,!0,Rt)},S.prototype.writeFloatBE=function(N,z,Rt){return oe(this,N,z,!1,Rt)},S.prototype.writeDoubleLE=function(N,z,Rt){return Oe(this,N,z,!0,Rt)},S.prototype.writeDoubleBE=function(N,z,Rt){return Oe(this,N,z,!1,Rt)},S.prototype.copy=function(N,z,Rt,ue){if(!S.isBuffer(N))throw new TypeError("argument should be a Buffer");if(Rt||(Rt=0),!ue&&0!==ue&&(ue=this.length),z>=N.length&&(z=N.length),z||(z=0),ue>0&&ue=this.length)throw new RangeError("Index out of range");if(ue<0)throw new RangeError("sourceEnd out of bounds");ue>this.length&&(ue=this.length),N.length-z>>=0,Rt=void 0===Rt?this.length:Rt>>>0,N||(N=0),"number"==typeof N)for(he=z;he=Rt+4;z-=3)N=`_${W.slice(z-3,z)}${N}`;return`${W.slice(0,z)}${N}`}function Xe(W,N,z,Rt,ue,he){if(W>z||W3?0===N||N===BigInt(0)?`>= 0${Se} and < 2${Se} ** ${8*(he+1)}${Se}`:`>= -(2${Se} ** ${8*(he+1)-1}${Se}) and < 2 ** ${8*(he+1)-1}${Se}`:`>= ${N}${Se} and <= ${z}${Se}`,new $e.ERR_OUT_OF_RANGE("value",Sr,W)}!function ie(W,N,z){Te(N,"offset"),(void 0===W[N]||void 0===W[N+z])&&Ke(N,W.length-(z+1))}(Rt,ue,he)}function Te(W,N){if("number"!=typeof W)throw new $e.ERR_INVALID_ARG_TYPE(N,"number",W)}function Ke(W,N,z){throw Math.floor(W)!==W?(Te(W,z),new $e.ERR_OUT_OF_RANGE(z||"offset","an integer",W)):N<0?new $e.ERR_BUFFER_OUT_OF_BOUNDS:new $e.ERR_OUT_OF_RANGE(z||"offset",`>= ${z?1:0} and <= ${N}`,W)}Dt("ERR_BUFFER_OUT_OF_BOUNDS",function(W){return W?`${W} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Dt("ERR_INVALID_ARG_TYPE",function(W,N){return`The "${W}" argument must be of type number. Received type ${typeof N}`},TypeError),Dt("ERR_OUT_OF_RANGE",function(W,N,z){let Rt=`The value of "${W}" is out of range.`,ue=z;return Number.isInteger(z)&&Math.abs(z)>2**32?ue=wt(String(z)):"bigint"==typeof z&&(ue=String(z),(z>BigInt(2)**BigInt(32)||z<-(BigInt(2)**BigInt(32)))&&(ue=wt(ue)),ue+="n"),Rt+=` It must be ${N}. Received ${ue}`,Rt},RangeError);const re=/[^+/0-9A-Za-z-_]/g;function tr(W,N){let z;N=N||1/0;const Rt=W.length;let ue=null;const he=[];for(let Se=0;Se55295&&z<57344){if(!ue){if(z>56319){(N-=3)>-1&&he.push(239,191,189);continue}if(Se+1===Rt){(N-=3)>-1&&he.push(239,191,189);continue}ue=z;continue}if(z<56320){(N-=3)>-1&&he.push(239,191,189),ue=z;continue}z=65536+(ue-55296<<10|z-56320)}else ue&&(N-=3)>-1&&he.push(239,191,189);if(ue=null,z<128){if((N-=1)<0)break;he.push(z)}else if(z<2048){if((N-=2)<0)break;he.push(z>>6|192,63&z|128)}else if(z<65536){if((N-=3)<0)break;he.push(z>>12|224,z>>6&63|128,63&z|128)}else{if(!(z<1114112))throw new Error("Invalid code point");if((N-=4)<0)break;he.push(z>>18|240,z>>12&63|128,z>>6&63|128,63&z|128)}}return he}function Lo(W){return a.toByteArray(function Ve(W){if((W=(W=W.split("=")[0]).trim().replace(re,"")).length<2)return"";for(;W.length%4!=0;)W+="=";return W}(W))}function Or(W,N,z,Rt){let ue;for(ue=0;ue=N.length||ue>=W.length);++ue)N[ue+z]=W[ue];return ue}function fo(W,N){return W instanceof N||null!=W&&null!=W.constructor&&null!=W.constructor.name&&W.constructor.name===N.name}function cr(W){return W!=W}const Lt=function(){const W="0123456789abcdef",N=new Array(256);for(let z=0;z<16;++z){const Rt=16*z;for(let ue=0;ue<16;++ue)N[Rt+ue]=W[z]+W[ue]}return N}();function At(W){return typeof BigInt>"u"?Zt:W}function Zt(){throw new Error("BigInt not supported")}},9859:(i,s)=>{s.read=function(o,n,a,l,y){var k,C,A=8*y-l-1,S=(1<>1,O=-7,P=a?y-1:0,q=a?-1:1,Y=o[n+P];for(P+=q,k=Y&(1<<-O)-1,Y>>=-O,O+=A;O>0;k=256*k+o[n+P],P+=q,O-=8);for(C=k&(1<<-O)-1,k>>=-O,O+=l;O>0;C=256*C+o[n+P],P+=q,O-=8);if(0===k)k=1-T;else{if(k===S)return C?NaN:1/0*(Y?-1:1);C+=Math.pow(2,l),k-=T}return(Y?-1:1)*C*Math.pow(2,k-l)},s.write=function(o,n,a,l,y,k){var C,A,S,T=8*k-y-1,O=(1<>1,q=23===y?Math.pow(2,-24)-Math.pow(2,-77):0,Y=l?0:k-1,J=l?1:-1,ht=n<0||0===n&&1/n<0?1:0;for(n=Math.abs(n),isNaN(n)||n===1/0?(A=isNaN(n)?1:0,C=O):(C=Math.floor(Math.log(n)/Math.LN2),n*(S=Math.pow(2,-C))<1&&(C--,S*=2),(n+=C+P>=1?q/S:q*Math.pow(2,1-P))*S>=2&&(C++,S/=2),C+P>=O?(A=0,C=O):C+P>=1?(A=(n*S-1)*Math.pow(2,y),C+=P):(A=n*Math.pow(2,P-1)*Math.pow(2,y),C=0));y>=8;o[a+Y]=255&A,Y+=J,A/=256,y-=8);for(C=C<0;o[a+Y]=255&C,Y+=J,C/=256,T-=8);o[a+Y-J]|=128*ht}},230:i=>{i.exports=function a(l,y,k){function C(T,O){if(!y[T]){if(!l[T]){if(A)return A(T,!0);var q=new Error("Cannot find module '"+T+"'");throw q.code="MODULE_NOT_FOUND",q}var Y=y[T]={exports:{}};l[T][0].call(Y.exports,function(J){return C(l[T][1][J]||J)},Y,Y.exports,a,l,y,k)}return y[T].exports}for(var A=void 0,S=0;S"u"&&a(3);var P=Promise;function q(ft,Gt){Gt&&ft.then(function(Ot){Gt(null,Ot)},function(Ot){Gt(Ot)})}function Y(ft,Gt,Ot){"function"==typeof Gt&&ft.then(Gt),"function"==typeof Ot&&ft.catch(Ot)}function J(ft){return"string"!=typeof ft&&(console.warn(ft+" used as a key, but it is not a string."),ft=String(ft)),ft}function ht(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var ct="local-forage-detect-blob-support",pt=void 0,kt={},Et=Object.prototype.toString,It="readonly",yt="readwrite";function _t(ft){for(var Gt=ft.length,Ot=new ArrayBuffer(Gt),me=new Uint8Array(Ot),He=0;He=43)}}).catch(function(){return!1})}(ft).then(function(Gt){return pt=Gt})}function vt(ft){var Gt=kt[ft.name],Ot={};Ot.promise=new P(function(me,He){Ot.resolve=me,Ot.reject=He}),Gt.deferredOperations.push(Ot),Gt.dbReady=Gt.dbReady?Gt.dbReady.then(function(){return Ot.promise}):Ot.promise}function Pt(ft){var Ot=kt[ft.name].deferredOperations.pop();if(Ot)return Ot.resolve(),Ot.promise}function ae(ft,Gt){var me=kt[ft.name].deferredOperations.pop();if(me)return me.reject(Gt),me.promise}function le(ft,Gt){return new P(function(Ot,me){if(kt[ft.name]=kt[ft.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},ft.db){if(!Gt)return Ot(ft.db);vt(ft),ft.db.close()}var He=[ft.name];Gt&&He.push(ft.version);var Me=S.open.apply(S,He);Gt&&(Me.onupgradeneeded=function(ur){var Er=Me.result;try{Er.createObjectStore(ft.storeName),ur.oldVersion<=1&&Er.createObjectStore(ct)}catch(kr){if("ConstraintError"!==kr.name)throw kr;console.warn('The database "'+ft.name+'" has been upgraded from version '+ur.oldVersion+" to version "+ur.newVersion+', but the storage "'+ft.storeName+'" already exists.')}}),Me.onerror=function(ur){ur.preventDefault(),me(Me.error)},Me.onsuccess=function(){var ur=Me.result;ur.onversionchange=function(Er){Er.target.close()},Ot(ur),Pt(ft)}})}function ve(ft){return le(ft,!1)}function se(ft){return le(ft,!0)}function or(ft,Gt){if(!ft.db)return!0;var Ot=!ft.db.objectStoreNames.contains(ft.storeName),He=ft.version>ft.db.version;if(ft.versionft.version&&(ft.version=Me)}return!0}return!1}function yr(ft){return O([_t(atob(ft.data))],{type:ft.type})}function jr(ft){return ft&&ft.__local_forage_encoded_blob}function wr(ft){var Gt=this,Ot=Gt._initReady().then(function(){var me=kt[Gt._dbInfo.name];if(me&&me.dbReady)return me.dbReady});return Y(Ot,ft,ft),Ot}function be(ft,Gt,Ot,me){void 0===me&&(me=1);try{var He=ft.db.transaction(ft.storeName,Gt);Ot(null,He)}catch(Me){if(me>0&&(!ft.db||"InvalidStateError"===Me.name||"NotFoundError"===Me.name))return P.resolve().then(function(){if(!ft.db||"NotFoundError"===Me.name&&!ft.db.objectStoreNames.contains(ft.storeName)&&ft.version<=ft.db.version)return ft.db&&(ft.version=ft.db.version+1),se(ft)}).then(function(){return function Qt(ft){vt(ft);for(var Gt=kt[ft.name],Ot=Gt.forages,me=0;me>4,$r[He++]=(15&ur)<<4|Er>>2,$r[He++]=(3&Er)<<6|63&kr;return Rr}function Se(ft){var me,Gt=new Uint8Array(ft),Ot="";for(me=0;me>2],Ot+=Ke[(3&Gt[me])<<4|Gt[me+1]>>4],Ot+=Ke[(15&Gt[me+1])<<2|Gt[me+2]>>6],Ot+=Ke[63&Gt[me+2]];return Gt.length%3==2?Ot=Ot.substring(0,Ot.length-1)+"=":Gt.length%3==1&&(Ot=Ot.substring(0,Ot.length-2)+"=="),Ot}var dr={serialize:function Sr(ft,Gt){var Ot="";if(ft&&(Ot=ue.call(ft)),ft&&("[object ArrayBuffer]"===Ot||ft.buffer&&"[object ArrayBuffer]"===ue.call(ft.buffer))){var me,He=tr;ft instanceof ArrayBuffer?(me=ft,He+=Wr):(me=ft.buffer,"[object Int8Array]"===Ot?He+="si08":"[object Uint8Array]"===Ot?He+="ui08":"[object Uint8ClampedArray]"===Ot?He+="uic8":"[object Int16Array]"===Ot?He+="si16":"[object Uint16Array]"===Ot?He+="ur16":"[object Int32Array]"===Ot?He+="si32":"[object Uint32Array]"===Ot?He+=W:"[object Float32Array]"===Ot?He+=N:"[object Float64Array]"===Ot?He+=z:Gt(new Error("Failed to get type for BinaryArray"))),Gt(He+Se(me))}else if("[object Blob]"===Ot){var Me=new FileReader;Me.onload=function(){var ur="~~local_forage_type~"+ft.type+"~"+Se(this.result);Gt(tr+Lo+ur)},Me.readAsArrayBuffer(ft)}else try{Gt(JSON.stringify(ft))}catch(ur){console.error("Couldn't convert value into a JSON string: ",ft),Gt(null,ur)}},deserialize:function ar(ft){if(ft.substring(0,9)!==tr)return JSON.parse(ft);var me,Gt=ft.substring(13),Ot=ft.substring(9,13);if(Ot===Lo&&Ve.test(Gt)){var He=Gt.match(Ve);me=He[1],Gt=Gt.substring(He[0].length)}var Me=he(Gt);switch(Ot){case Wr:return Me;case Lo:return O([Me],{type:me});case"si08":return new Int8Array(Me);case"ui08":return new Uint8Array(Me);case"uic8":return new Uint8ClampedArray(Me);case"si16":return new Int16Array(Me);case"ur16":return new Uint16Array(Me);case"si32":return new Int32Array(Me);case W:return new Uint32Array(Me);case N:return new Float32Array(Me);case z:return new Float64Array(Me);default:throw new Error("Unkown type: "+Ot)}},stringToBuffer:he,bufferToString:Se};function Mr(ft,Gt,Ot,me){ft.executeSql("CREATE TABLE IF NOT EXISTS "+Gt.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],Ot,me)}function xr(ft,Gt,Ot,me,He,Me){ft.executeSql(Ot,me,He,function(ur,Er){Er.code===Er.SYNTAX_ERR?ur.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[Gt.storeName],function(kr,Rr){Rr.rows.length?Me(kr,Er):Mr(kr,Gt,function(){kr.executeSql(Ot,me,He,Me)},Me)},Me):Me(ur,Er)},Me)}function Ho(ft,Gt,Ot,me){var He=this;ft=J(ft);var Me=new P(function(ur,Er){He.ready().then(function(){void 0===Gt&&(Gt=null);var kr=Gt,Rr=He._dbInfo;Rr.serializer.serialize(Gt,function($r,Jr){Jr?Er(Jr):Rr.db.transaction(function(so){xr(so,Rr,"INSERT OR REPLACE INTO "+Rr.storeName+" (key, value) VALUES (?, ?)",[ft,$r],function(){ur(kr)},function(xo,Eo){Er(Eo)})},function(so){if(so.code===so.QUOTA_ERR){if(me>0)return void ur(Ho.apply(He,[ft,kr,Ot,me-1]));Er(so)}})})}).catch(Er)});return q(Me,Ot),Me}var vr={_driver:"webSQLStorage",_initStorage:function ao(ft){var Gt=this,Ot={db:null};if(ft)for(var me in ft)Ot[me]="string"!=typeof ft[me]?ft[me].toString():ft[me];var He=new P(function(Me,ur){try{Ot.db=openDatabase(Ot.name,String(Ot.version),Ot.description,Ot.size)}catch(Er){return ur(Er)}Ot.db.transaction(function(Er){Mr(Er,Ot,function(){Gt._dbInfo=Ot,Me()},function(kr,Rr){ur(Rr)})},ur)});return Ot.serializer=dr,He},_support:function Te(){return"function"==typeof openDatabase}(),iterate:function To(ft,Gt){var Ot=this,me=new P(function(He,Me){Ot.ready().then(function(){var ur=Ot._dbInfo;ur.db.transaction(function(Er){xr(Er,ur,"SELECT * FROM "+ur.storeName,[],function(kr,Rr){for(var $r=Rr.rows,Jr=$r.length,so=0;so '__WebKitDatabaseInfoTable__'",[],function(He,Me){for(var ur=[],Er=0;Er0}var ua={_driver:"localStorageWrapper",_initStorage:function Zn(ft){var Ot={};if(ft)for(var me in ft)Ot[me]=ft[me];return Ot.keyPrefix=ko(ft,this._defaultConfig),hn()?(this._dbInfo=Ot,Ot.serializer=dr,P.resolve()):P.reject()},_support:function qr(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}(),iterate:function te(ft,Gt){var Ot=this,me=Ot.ready().then(function(){for(var He=Ot._dbInfo,Me=He.keyPrefix,ur=Me.length,Er=localStorage.length,kr=1,Rr=0;Rr=0;He--){var Me=localStorage.key(He);0===Me.indexOf(me)&&localStorage.removeItem(Me)}});return q(Ot,ft),Ot},length:function gr(ft){var Ot=this.keys().then(function(me){return me.length});return q(Ot,ft),Ot},key:function Re(ft,Gt){var Ot=this,me=Ot.ready().then(function(){var Me,He=Ot._dbInfo;try{Me=localStorage.key(ft)}catch{Me=null}return Me&&(Me=Me.substring(He.keyPrefix.length)),Me});return q(me,Gt),me},keys:function ir(ft){var Gt=this,Ot=Gt.ready().then(function(){for(var me=Gt._dbInfo,He=localStorage.length,Me=[],ur=0;ur=0;ur--){var Er=localStorage.key(ur);0===Er.indexOf(Me)&&localStorage.removeItem(Er)}}):P.reject("Invalid arguments"),Gt),He}},$i=function(Gt,Ot){return Gt===Ot||"number"==typeof Gt&&"number"==typeof Ot&&isNaN(Gt)&&isNaN(Ot)},cn=function(Gt,Ot){for(var me=Gt.length,He=0;He"u"?"undefined":k(Ot))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var me in Ot){if("storeName"===me&&(Ot[me]=Ot[me].replace(/\W/g,"_")),"version"===me&&"number"!=typeof Ot[me])return new Error("Database version must be a number.");this._config[me]=Ot[me]}return!("driver"in Ot)||!Ot.driver||this.setDriver(this._config.driver)}return"string"==typeof Ot?this._config[Ot]:this._config},ft.prototype.defineDriver=function(Ot,me,He){var Me=new P(function(ur,Er){try{var kr=Ot._driver,Rr=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!Ot._driver)return void Er(Rr);for(var $r=hi.concat("_initStorage"),Jr=0,so=$r.length;Jr{"use strict";o.d(s,{t:()=>a});var n=o(8447);class a extends n.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:C}=this;if(y)throw k;return this._throwIfClosed(),C}next(y){super.next(this._value=y)}}},1698:(i,s,o)=>{"use strict";o.d(s,{c:()=>S});var n=o(1540),a=o(5710),l=o(2563),y=o(6742),k=o(3305),C=o(1126),A=o(4171);let S=(()=>{class q{constructor(J){J&&(this._subscribe=J)}lift(J){const ht=new q;return ht.source=this,ht.operator=J,ht}subscribe(J,ht,ct){const pt=function P(q){return q&&q instanceof n.vU||function O(q){return q&&(0,C.T)(q.next)&&(0,C.T)(q.error)&&(0,C.T)(q.complete)}(q)&&(0,a.Uv)(q)}(J)?J:new n.Ms(J,ht,ct);return(0,A.Y)(()=>{const{operator:kt,source:Et}=this;pt.add(kt?kt.call(pt,Et):Et?this._subscribe(pt):this._trySubscribe(pt))}),pt}_trySubscribe(J){try{return this._subscribe(J)}catch(ht){J.error(ht)}}forEach(J,ht){return new(ht=T(ht))((ct,pt)=>{const kt=new n.Ms({next:Et=>{try{J(Et)}catch(It){pt(It),kt.unsubscribe()}},error:pt,complete:ct});this.subscribe(kt)})}_subscribe(J){var ht;return null===(ht=this.source)||void 0===ht?void 0:ht.subscribe(J)}[l.s](){return this}pipe(...J){return(0,y.m)(J)(this)}toPromise(J){return new(J=T(J))((ht,ct)=>{let pt;this.subscribe(kt=>pt=kt,kt=>ct(kt),()=>ht(pt))})}}return q.create=Y=>new q(Y),q})();function T(q){var Y;return null!==(Y=q??k.$.Promise)&&void 0!==Y?Y:Promise}},7838:(i,s,o)=>{"use strict";o.d(s,{m:()=>l});var n=o(8447),a=o(6188);class l extends n.B{constructor(k=1/0,C=1/0,A=a.U){super(),this._bufferSize=k,this._windowTime=C,this._timestampProvider=A,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=C===1/0,this._bufferSize=Math.max(1,k),this._windowTime=Math.max(1,C)}next(k){const{isStopped:C,_buffer:A,_infiniteTimeWindow:S,_timestampProvider:T,_windowTime:O}=this;C||(A.push(k),!S&&A.push(T.now()+O)),this._trimBuffer(),super.next(k)}_subscribe(k){this._throwIfClosed(),this._trimBuffer();const C=this._innerSubscribe(k),{_infiniteTimeWindow:A,_buffer:S}=this,T=S.slice();for(let O=0;O{"use strict";o.d(s,{B:()=>A});var n=o(1698),a=o(5710);const y=(0,o(5644).L)(T=>function(){T(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var k=o(5891),C=o(4171);let A=(()=>{class T extends n.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(P){const q=new S(this,this);return q.operator=P,q}_throwIfClosed(){if(this.closed)throw new y}next(P){(0,C.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const q of this.currentObservers)q.next(P)}})}error(P){(0,C.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=P;const{observers:q}=this;for(;q.length;)q.shift().error(P)}})}complete(){(0,C.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:P}=this;for(;P.length;)P.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var P;return(null===(P=this.observers)||void 0===P?void 0:P.length)>0}_trySubscribe(P){return this._throwIfClosed(),super._trySubscribe(P)}_subscribe(P){return this._throwIfClosed(),this._checkFinalizedStatuses(P),this._innerSubscribe(P)}_innerSubscribe(P){const{hasError:q,isStopped:Y,observers:J}=this;return q||Y?a.Kn:(this.currentObservers=null,J.push(P),new a.yU(()=>{this.currentObservers=null,(0,k.o)(J,P)}))}_checkFinalizedStatuses(P){const{hasError:q,thrownError:Y,isStopped:J}=this;q?P.error(Y):J&&P.complete()}asObservable(){const P=new n.c;return P.source=this,P}}return T.create=(O,P)=>new S(O,P),T})();class S extends A{constructor(O,P){super(),this.destination=O,this.source=P}next(O){var P,q;null===(q=null===(P=this.destination)||void 0===P?void 0:P.next)||void 0===q||q.call(P,O)}error(O){var P,q;null===(q=null===(P=this.destination)||void 0===P?void 0:P.error)||void 0===q||q.call(P,O)}complete(){var O,P;null===(P=null===(O=this.destination)||void 0===O?void 0:O.complete)||void 0===P||P.call(O)}_subscribe(O){var P,q;return null!==(q=null===(P=this.source)||void 0===P?void 0:P.subscribe(O))&&void 0!==q?q:a.Kn}}},1540:(i,s,o)=>{"use strict";o.d(s,{Ms:()=>ct,vU:()=>q});var n=o(1126),a=o(5710),l=o(3305),y=o(191),k=o(850);const C=T("C",void 0,void 0);function T(yt,_t,at){return{kind:yt,value:_t,error:at}}var O=o(3695),P=o(4171);class q extends a.yU{constructor(_t){super(),this.isStopped=!1,_t?(this.destination=_t,(0,a.Uv)(_t)&&_t.add(this)):this.destination=It}static create(_t,at,st){return new ct(_t,at,st)}next(_t){this.isStopped?Et(function S(yt){return T("N",yt,void 0)}(_t),this):this._next(_t)}error(_t){this.isStopped?Et(function A(yt){return T("E",void 0,yt)}(_t),this):(this.isStopped=!0,this._error(_t))}complete(){this.isStopped?Et(C,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(_t){this.destination.next(_t)}_error(_t){try{this.destination.error(_t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Y=Function.prototype.bind;function J(yt,_t){return Y.call(yt,_t)}class ht{constructor(_t){this.partialObserver=_t}next(_t){const{partialObserver:at}=this;if(at.next)try{at.next(_t)}catch(st){pt(st)}}error(_t){const{partialObserver:at}=this;if(at.error)try{at.error(_t)}catch(st){pt(st)}else pt(_t)}complete(){const{partialObserver:_t}=this;if(_t.complete)try{_t.complete()}catch(at){pt(at)}}}class ct extends q{constructor(_t,at,st){let vt;if(super(),(0,n.T)(_t)||!_t)vt={next:_t??void 0,error:at??void 0,complete:st??void 0};else{let Pt;this&&l.$.useDeprecatedNextContext?(Pt=Object.create(_t),Pt.unsubscribe=()=>this.unsubscribe(),vt={next:_t.next&&J(_t.next,Pt),error:_t.error&&J(_t.error,Pt),complete:_t.complete&&J(_t.complete,Pt)}):vt=_t}this.destination=new ht(vt)}}function pt(yt){l.$.useDeprecatedSynchronousErrorHandling?(0,P.l)(yt):(0,y.m)(yt)}function Et(yt,_t){const{onStoppedNotification:at}=l.$;at&&O.f.setTimeout(()=>at(yt,_t))}const It={closed:!0,next:k.l,error:function kt(yt){throw yt},complete:k.l}},5710:(i,s,o)=>{"use strict";o.d(s,{Kn:()=>C,yU:()=>k,Uv:()=>A});var n=o(1126);const l=(0,o(5644).L)(T=>function(P){T(this),this.message=P?`${P.length} errors occurred during unsubscription:\n${P.map((q,Y)=>`${Y+1}) ${q.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=P});var y=o(5891);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:P}=this;if(P)if(this._parentage=null,Array.isArray(P))for(const J of P)J.remove(this);else P.remove(this);const{initialTeardown:q}=this;if((0,n.T)(q))try{q()}catch(J){O=J instanceof l?J.errors:[J]}const{_finalizers:Y}=this;if(Y){this._finalizers=null;for(const J of Y)try{S(J)}catch(ht){O=O??[],ht instanceof l?O=[...O,...ht.errors]:O.push(ht)}}if(O)throw new l(O)}}add(O){var P;if(O&&O!==this)if(this.closed)S(O);else{if(O instanceof k){if(O.closed||O._hasParent(this))return;O._addParent(this)}(this._finalizers=null!==(P=this._finalizers)&&void 0!==P?P:[]).push(O)}}_hasParent(O){const{_parentage:P}=this;return P===O||Array.isArray(P)&&P.includes(O)}_addParent(O){const{_parentage:P}=this;this._parentage=Array.isArray(P)?(P.push(O),P):P?[P,O]:O}_removeParent(O){const{_parentage:P}=this;P===O?this._parentage=null:Array.isArray(P)&&(0,y.o)(P,O)}remove(O){const{_finalizers:P}=this;P&&(0,y.o)(P,O),O instanceof k&&O._removeParent(this)}}k.EMPTY=(()=>{const T=new k;return T.closed=!0,T})();const C=k.EMPTY;function A(T){return T instanceof k||T&&"closed"in T&&(0,n.T)(T.remove)&&(0,n.T)(T.add)&&(0,n.T)(T.unsubscribe)}function S(T){(0,n.T)(T)?T():T.unsubscribe()}},3305:(i,s,o)=>{"use strict";o.d(s,{$:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},1642:(i,s,o)=>{"use strict";o.d(s,{G:()=>C});var n=o(1698),a=o(5710),l=o(3589),y=o(2483),k=o(5351);class C extends n.c{constructor(S,T){super(),this.source=S,this.subjectFactory=T,this._subject=null,this._refCount=0,this._connection=null,(0,k.S)(S)&&(this.lift=S.lift)}_subscribe(S){return this.getSubject().subscribe(S)}getSubject(){const S=this._subject;return(!S||S.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:S}=this;this._subject=this._connection=null,S?.unsubscribe()}connect(){let S=this._connection;if(!S){S=this._connection=new a.yU;const T=this.getSubject();S.add(this.source.subscribe((0,y._)(T,void 0,()=>{this._teardown(),T.complete()},O=>{this._teardown(),T.error(O)},()=>this._teardown()))),S.closed&&(this._connection=null,S=a.yU.EMPTY)}return S}refCount(){return(0,l.B)()(this)}}},6627:(i,s,o)=>{"use strict";o.d(s,{z:()=>O});var n=o(1698),a=o(3740),l=o(1787),y=o(9220),k=o(3759),C=o(4327),A=o(9321),S=o(2483),T=o(8266);function O(...Y){const J=(0,C.lI)(Y),ht=(0,C.ms)(Y),{args:ct,keys:pt}=(0,a.D)(Y);if(0===ct.length)return(0,l.H)([],J);const kt=new n.c(function P(Y,J,ht=y.D){return ct=>{q(J,()=>{const{length:pt}=Y,kt=new Array(pt);let Et=pt,It=pt;for(let yt=0;yt{const _t=(0,l.H)(Y[yt],J);let at=!1;_t.subscribe((0,S._)(ct,st=>{kt[yt]=st,at||(at=!0,It--),It||ct.next(ht(kt.slice()))},()=>{--Et||ct.complete()}))},ct)},ct)}}(ct,J,pt?Et=>(0,A.e)(pt,Et):y.D));return ht?kt.pipe((0,k.I)(ht)):kt}function q(Y,J,ht){Y?(0,T.N)(ht,Y,J):J()}},3569:(i,s,o)=>{"use strict";o.d(s,{x:()=>k});var n=o(1890),l=o(4327),y=o(1787);function k(...C){return function a(){return(0,n.U)(1)}()((0,y.H)(C,(0,l.lI)(C)))}},6381:(i,s,o)=>{"use strict";o.d(s,{v:()=>l});var n=o(1698),a=o(7225);function l(y){return new n.c(k=>{(0,a.Tg)(y()).subscribe(k)})}},6564:(i,s,o)=>{"use strict";o.d(s,{w:()=>a});const a=new(o(1698).c)(k=>k.complete())},2653:(i,s,o)=>{"use strict";o.d(s,{p:()=>S});var n=o(1698),a=o(3740),l=o(7225),y=o(4327),k=o(2483),C=o(3759),A=o(9321);function S(...T){const O=(0,y.ms)(T),{args:P,keys:q}=(0,a.D)(T),Y=new n.c(J=>{const{length:ht}=P;if(!ht)return void J.complete();const ct=new Array(ht);let pt=ht,kt=ht;for(let Et=0;Et{It||(It=!0,kt--),ct[Et]=yt},()=>pt--,void 0,()=>{(!pt||!It)&&(kt||J.next(q?(0,A.e)(q,ct):ct),J.complete())}))}});return O?Y.pipe((0,C.I)(O)):Y}},1787:(i,s,o)=>{"use strict";o.d(s,{H:()=>st});var n=o(7225),a=o(8266),l=o(5351),y=o(2483);function k(vt,Pt=0){return(0,l.N)((ae,le)=>{ae.subscribe((0,y._)(le,ve=>(0,a.N)(le,vt,()=>le.next(ve),Pt),()=>(0,a.N)(le,vt,()=>le.complete(),Pt),ve=>(0,a.N)(le,vt,()=>le.error(ve),Pt)))})}function C(vt,Pt=0){return(0,l.N)((ae,le)=>{le.add(vt.schedule(()=>ae.subscribe(le),Pt))})}var T=o(1698),P=o(6952),q=o(1126);function J(vt,Pt){if(!vt)throw new Error("Iterable cannot be null");return new T.c(ae=>{(0,a.N)(ae,Pt,()=>{const le=vt[Symbol.asyncIterator]();(0,a.N)(ae,Pt,()=>{le.next().then(ve=>{ve.done?ae.complete():ae.next(ve.value)})},0,!0)})})}var ht=o(6600),ct=o(6505),pt=o(6786),kt=o(4876),Et=o(8394),It=o(8810),yt=o(3173);function st(vt,Pt){return Pt?function at(vt,Pt){if(null!=vt){if((0,ht.l)(vt))return function A(vt,Pt){return(0,n.Tg)(vt).pipe(C(Pt),k(Pt))}(vt,Pt);if((0,pt.X)(vt))return function O(vt,Pt){return new T.c(ae=>{let le=0;return Pt.schedule(function(){le===vt.length?ae.complete():(ae.next(vt[le++]),ae.closed||this.schedule())})})}(vt,Pt);if((0,ct.y)(vt))return function S(vt,Pt){return(0,n.Tg)(vt).pipe(C(Pt),k(Pt))}(vt,Pt);if((0,Et.T)(vt))return J(vt,Pt);if((0,kt.x)(vt))return function Y(vt,Pt){return new T.c(ae=>{let le;return(0,a.N)(ae,Pt,()=>{le=vt[P.l](),(0,a.N)(ae,Pt,()=>{let ve,se;try{({value:ve,done:se}=le.next())}catch(or){return void ae.error(or)}se?ae.complete():ae.next(ve)},0,!0)}),()=>(0,q.T)(le?.return)&&le.return()})}(vt,Pt);if((0,yt.U)(vt))return function _t(vt,Pt){return J((0,yt.C)(vt),Pt)}(vt,Pt)}throw(0,It.L)(vt)}(vt,Pt):(0,n.Tg)(vt)}},909:(i,s,o)=>{"use strict";o.d(s,{R:()=>O});var n=o(7225),a=o(1698),l=o(5823),y=o(6786),k=o(1126),C=o(3759);const A=["addListener","removeListener"],S=["addEventListener","removeEventListener"],T=["on","off"];function O(ht,ct,pt,kt){if((0,k.T)(pt)&&(kt=pt,pt=void 0),kt)return O(ht,ct,pt).pipe((0,C.I)(kt));const[Et,It]=function J(ht){return(0,k.T)(ht.addEventListener)&&(0,k.T)(ht.removeEventListener)}(ht)?S.map(yt=>_t=>ht[yt](ct,_t,pt)):function q(ht){return(0,k.T)(ht.addListener)&&(0,k.T)(ht.removeListener)}(ht)?A.map(P(ht,ct)):function Y(ht){return(0,k.T)(ht.on)&&(0,k.T)(ht.off)}(ht)?T.map(P(ht,ct)):[];if(!Et&&(0,y.X)(ht))return(0,l.Z)(yt=>O(yt,ct,pt))((0,n.Tg)(ht));if(!Et)throw new TypeError("Invalid event target");return new a.c(yt=>{const _t=(...at)=>yt.next(1It(_t)})}function P(ht,ct){return pt=>kt=>ht[pt](ct,kt)}},7225:(i,s,o)=>{"use strict";o.d(s,{Tg:()=>Y});var n=o(1635),a=o(6786),l=o(6505),y=o(1698),k=o(6600),C=o(8394),A=o(8810),S=o(4876),T=o(3173),O=o(1126),P=o(191),q=o(2563);function Y(yt){if(yt instanceof y.c)return yt;if(null!=yt){if((0,k.l)(yt))return function J(yt){return new y.c(_t=>{const at=yt[q.s]();if((0,O.T)(at.subscribe))return at.subscribe(_t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(yt);if((0,a.X)(yt))return function ht(yt){return new y.c(_t=>{for(let at=0;at{yt.then(at=>{_t.closed||(_t.next(at),_t.complete())},at=>_t.error(at)).then(null,P.m)})}(yt);if((0,C.T)(yt))return kt(yt);if((0,S.x)(yt))return function pt(yt){return new y.c(_t=>{for(const at of yt)if(_t.next(at),_t.closed)return;_t.complete()})}(yt);if((0,T.U)(yt))return function Et(yt){return kt((0,T.C)(yt))}(yt)}throw(0,A.L)(yt)}function kt(yt){return new y.c(_t=>{(function It(yt,_t){var at,st,vt,Pt;return(0,n.sH)(this,void 0,void 0,function*(){try{for(at=(0,n.xN)(yt);!(st=yield at.next()).done;)if(_t.next(st.value),_t.closed)return}catch(ae){vt={error:ae}}finally{try{st&&!st.done&&(Pt=at.return)&&(yield Pt.call(at))}finally{if(vt)throw vt.error}}_t.complete()})})(yt,_t).catch(at=>_t.error(at))})}},7509:(i,s,o)=>{"use strict";o.d(s,{h:()=>C});var n=o(1890),a=o(7225),l=o(6564),y=o(4327),k=o(1787);function C(...A){const S=(0,y.lI)(A),T=(0,y.R0)(A,1/0),O=A;return O.length?1===O.length?(0,a.Tg)(O[0]):(0,n.U)(T)((0,k.H)(O,S)):l.w}},3016:(i,s,o)=>{"use strict";o.d(s,{of:()=>l});var n=o(4327),a=o(1787);function l(...y){const k=(0,n.lI)(y);return(0,a.H)(y,k)}},8915:(i,s,o)=>{"use strict";o.d(s,{$:()=>l});var n=o(1698),a=o(1126);function l(y,k){const C=(0,a.T)(y)?y:()=>y,A=S=>S.error(C());return new n.c(k?S=>k.schedule(A,0,S):A)}},9587:(i,s,o)=>{"use strict";o.d(s,{O:()=>k});var n=o(1698),a=o(6061),l=o(9921);function k(C=0,A,S=a.b){let T=-1;return null!=A&&((0,l.m)(A)?S=A:T=A),new n.c(O=>{let P=function y(C){return C instanceof Date&&!isNaN(C)}(C)?+C-S.now():C;P<0&&(P=0);let q=0;return S.schedule(function(){O.closed||(O.next(q++),0<=T?this.schedule(void 0,T):O.complete())},P)})}},2483:(i,s,o)=>{"use strict";o.d(s,{_:()=>a});var n=o(1540);function a(y,k,C,A,S){return new l(y,k,C,A,S)}class l extends n.vU{constructor(k,C,A,S,T,O){super(k),this.onFinalize=T,this.shouldUnsubscribe=O,this._next=C?function(P){try{C(P)}catch(q){k.error(q)}}:super._next,this._error=S?function(P){try{S(P)}catch(q){k.error(q)}finally{this.unsubscribe()}}:super._error,this._complete=A?function(){try{A()}catch(P){k.error(P)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var k;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:C}=this;super.unsubscribe(),!C&&(null===(k=this.onFinalize)||void 0===k||k.call(this))}}}},5684:(i,s,o)=>{"use strict";o.d(s,{Z:()=>A});var n=o(6061),a=o(5351),l=o(7225),y=o(2483),C=o(9587);function A(S,T=n.E){return function k(S){return(0,a.N)((T,O)=>{let P=!1,q=null,Y=null,J=!1;const ht=()=>{if(Y?.unsubscribe(),Y=null,P){P=!1;const pt=q;q=null,O.next(pt)}J&&O.complete()},ct=()=>{Y=null,J&&O.complete()};T.subscribe((0,y._)(O,pt=>{P=!0,q=pt,Y||(0,l.Tg)(S(pt)).subscribe(Y=(0,y._)(O,ht,ct))},()=>{J=!0,(!P||!Y||Y.closed)&&O.complete()}))})}(()=>(0,C.O)(S,T))}},7178:(i,s,o)=>{"use strict";o.d(s,{W:()=>y});var n=o(7225),a=o(2483),l=o(5351);function y(k){return(0,l.N)((C,A)=>{let O,S=null,T=!1;S=C.subscribe((0,a._)(A,void 0,void 0,P=>{O=(0,n.Tg)(k(P,y(k)(C))),S?(S.unsubscribe(),S=null,O.subscribe(A)):T=!0})),T&&(S.unsubscribe(),S=null,O.subscribe(A))})}},1459:(i,s,o)=>{"use strict";o.d(s,{H:()=>l});var n=o(5823),a=o(1126);function l(y,k){return(0,a.T)(k)?(0,n.Z)(y,k,1):(0,n.Z)(y,1)}},8627:(i,s,o)=>{"use strict";o.d(s,{B:()=>y});var n=o(6061),a=o(5351),l=o(2483);function y(k,C=n.E){return(0,a.N)((A,S)=>{let T=null,O=null,P=null;const q=()=>{if(T){T.unsubscribe(),T=null;const J=O;O=null,S.next(J)}};function Y(){const J=P+k,ht=C.now();if(ht{O=J,P=C.now(),T||(T=C.schedule(Y,k),S.add(T))},()=>{q(),S.complete()},void 0,()=>{O=T=null}))})}},5670:(i,s,o)=>{"use strict";o.d(s,{U:()=>l});var n=o(5351),a=o(2483);function l(y){return(0,n.N)((k,C)=>{let A=!1;k.subscribe((0,a._)(C,S=>{A=!0,C.next(S)},()=>{A||C.next(y),C.complete()}))})}},8136:(i,s,o)=>{"use strict";o.d(s,{c:()=>Y});var n=o(6061),a=o(3569),l=o(7610),y=o(5351),k=o(2483),C=o(850),S=o(6590),T=o(5823),O=o(7225);function P(J,ht){return ht?ct=>(0,a.x)(ht.pipe((0,l.s)(1),function A(){return(0,y.N)((J,ht)=>{J.subscribe((0,k._)(ht,C.l))})}()),ct.pipe(P(J))):(0,T.Z)((ct,pt)=>(0,O.Tg)(J(ct,pt)).pipe((0,l.s)(1),(0,S.u)(ct)))}var q=o(9587);function Y(J,ht=n.E){const ct=(0,q.O)(J,ht);return P(()=>ct)}},6645:(i,s,o)=>{"use strict";o.d(s,{F:()=>y});var n=o(9220),a=o(5351),l=o(2483);function y(C,A=n.D){return C=C??k,(0,a.N)((S,T)=>{let O,P=!0;S.subscribe((0,l._)(T,q=>{const Y=A(q);(P||!C(O,Y))&&(P=!1,O=Y,T.next(q))}))})}function k(C,A){return C===A}},1483:(i,s,o)=>{"use strict";o.d(s,{p:()=>l});var n=o(5351),a=o(2483);function l(y,k){return(0,n.N)((C,A)=>{let S=0;C.subscribe((0,a._)(A,T=>y.call(k,T,S++)&&A.next(T)))})}},4447:(i,s,o)=>{"use strict";o.d(s,{j:()=>a});var n=o(5351);function a(l){return(0,n.N)((y,k)=>{try{y.subscribe(k)}finally{k.add(l)}})}},1703:(i,s,o)=>{"use strict";o.d(s,{$:()=>A});var n=o(8747),a=o(1483),l=o(7610),y=o(5670),k=o(5017),C=o(9220);function A(S,T){const O=arguments.length>=2;return P=>P.pipe(S?(0,a.p)((q,Y)=>S(q,Y,P)):C.D,(0,l.s)(1),O?(0,y.U)(T):(0,k.v)(()=>new n.G))}},7947:(i,s,o)=>{"use strict";o.d(s,{T:()=>l});var n=o(5351),a=o(2483);function l(y,k){return(0,n.N)((C,A)=>{let S=0;C.subscribe((0,a._)(A,T=>{A.next(y.call(k,T,S++))}))})}},6590:(i,s,o)=>{"use strict";o.d(s,{u:()=>a});var n=o(7947);function a(l){return(0,n.T)(()=>l)}},1890:(i,s,o)=>{"use strict";o.d(s,{U:()=>l});var n=o(5823),a=o(9220);function l(y=1/0){return(0,n.Z)(a.D,y)}},5823:(i,s,o)=>{"use strict";o.d(s,{Z:()=>S});var n=o(7947),a=o(7225),l=o(5351),y=o(8266),k=o(2483),A=o(1126);function S(T,O,P=1/0){return(0,A.T)(O)?S((q,Y)=>(0,n.T)((J,ht)=>O(q,J,Y,ht))((0,a.Tg)(T(q,Y))),P):("number"==typeof O&&(P=O),(0,l.N)((q,Y)=>function C(T,O,P,q,Y,J,ht,ct){const pt=[];let kt=0,Et=0,It=!1;const yt=()=>{It&&!pt.length&&!kt&&O.complete()},_t=st=>kt{J&&O.next(st),kt++;let vt=!1;(0,a.Tg)(P(st,Et++)).subscribe((0,k._)(O,Pt=>{Y?.(Pt),J?_t(Pt):O.next(Pt)},()=>{vt=!0},void 0,()=>{if(vt)try{for(kt--;pt.length&&ktat(Pt)):at(Pt)}yt()}catch(Pt){O.error(Pt)}}))};return T.subscribe((0,k._)(O,_t,()=>{It=!0,yt()})),()=>{ct?.()}}(q,Y,T,P)))}},3589:(i,s,o)=>{"use strict";o.d(s,{B:()=>l});var n=o(5351),a=o(2483);function l(){return(0,n.N)((y,k)=>{let C=null;y._refCount++;const A=(0,a._)(k,void 0,void 0,void 0,()=>{if(!y||y._refCount<=0||0<--y._refCount)return void(C=null);const S=y._connection,T=C;C=null,S&&(!T||S===T)&&S.unsubscribe(),k.unsubscribe()});y.subscribe(A),A.closed||(C=y.connect())})}},5903:(i,s,o)=>{"use strict";o.d(s,{L:()=>C});var n=o(5351),a=o(2483),l=o(9220),y=o(9587),k=o(7225);function C(A=1/0){let S;S=A&&"object"==typeof A?A:{count:A};const{count:T=1/0,delay:O,resetOnSuccess:P=!1}=S;return T<=0?l.D:(0,n.N)((q,Y)=>{let ht,J=0;const ct=()=>{let pt=!1;ht=q.subscribe((0,a._)(Y,kt=>{P&&(J=0),Y.next(kt)},void 0,kt=>{if(J++{ht?(ht.unsubscribe(),ht=null,ct()):pt=!0};if(null!=O){const It="number"==typeof O?(0,y.O)(O):(0,k.Tg)(O(kt,J)),yt=(0,a._)(Y,()=>{yt.unsubscribe(),Et()},()=>{Y.complete()});It.subscribe(yt)}else Et()}else Y.error(kt)})),pt&&(ht.unsubscribe(),ht=null,ct())};ct()})}},36:(i,s,o)=>{"use strict";o.d(s,{S:()=>a});var n=o(2483);function a(l,y,k,C,A){return(S,T)=>{let O=k,P=y,q=0;S.subscribe((0,n._)(T,Y=>{const J=q++;P=O?l(P,Y,J):(O=!0,Y),C&&T.next(P)},A&&(()=>{O&&T.next(P),T.complete()})))}}},6218:(i,s,o)=>{"use strict";o.d(s,{u:()=>k});var n=o(7225),a=o(8447),l=o(1540),y=o(5351);function k(A={}){const{connector:S=()=>new a.B,resetOnError:T=!0,resetOnComplete:O=!0,resetOnRefCountZero:P=!0}=A;return q=>{let Y,J,ht,ct=0,pt=!1,kt=!1;const Et=()=>{J?.unsubscribe(),J=void 0},It=()=>{Et(),Y=ht=void 0,pt=kt=!1},yt=()=>{const _t=Y;It(),_t?.unsubscribe()};return(0,y.N)((_t,at)=>{ct++,!kt&&!pt&&Et();const st=ht=ht??S();at.add(()=>{ct--,0===ct&&!kt&&!pt&&(J=C(yt,P))}),st.subscribe(at),!Y&&ct>0&&(Y=new l.Ms({next:vt=>st.next(vt),error:vt=>{kt=!0,Et(),J=C(It,T,vt),st.error(vt)},complete:()=>{pt=!0,Et(),J=C(It,O),st.complete()}}),(0,n.Tg)(_t).subscribe(Y))})(q)}}function C(A,S,...T){if(!0===S)return void A();if(!1===S)return;const O=new l.Ms({next:()=>{O.unsubscribe(),A()}});return(0,n.Tg)(S(...T)).subscribe(O)}},8249:(i,s,o)=>{"use strict";o.d(s,{t:()=>l});var n=o(7838),a=o(6218);function l(y,k,C){let A,S=!1;return y&&"object"==typeof y?({bufferSize:A=1/0,windowTime:k=1/0,refCount:S=!1,scheduler:C}=y):A=y??1/0,(0,a.u)({connector:()=>new n.m(A,k,C),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:S})}},1866:(i,s,o)=>{"use strict";o.d(s,{i:()=>a});var n=o(1483);function a(l){return(0,n.p)((y,k)=>l<=k)}},593:(i,s,o)=>{"use strict";o.d(s,{Z:()=>y});var n=o(3569),a=o(4327),l=o(5351);function y(...k){const C=(0,a.lI)(k);return(0,l.N)((A,S)=>{(C?(0,n.x)(k,A,C):(0,n.x)(k,A)).subscribe(S)})}},2867:(i,s,o)=>{"use strict";o.d(s,{n:()=>y});var n=o(7225),a=o(5351),l=o(2483);function y(k,C){return(0,a.N)((A,S)=>{let T=null,O=0,P=!1;const q=()=>P&&!T&&S.complete();A.subscribe((0,l._)(S,Y=>{T?.unsubscribe();let J=0;const ht=O++;(0,n.Tg)(k(Y,ht)).subscribe(T=(0,l._)(S,ct=>S.next(C?C(Y,ct,ht,J++):ct),()=>{T=null,q()}))},()=>{P=!0,q()}))})}},7610:(i,s,o)=>{"use strict";o.d(s,{s:()=>y});var n=o(6564),a=o(5351),l=o(2483);function y(k){return k<=0?()=>n.w:(0,a.N)((C,A)=>{let S=0;C.subscribe((0,l._)(A,T=>{++S<=k&&(A.next(T),k<=S&&A.complete())}))})}},5424:(i,s,o)=>{"use strict";o.d(s,{Q:()=>k});var n=o(5351),a=o(2483),l=o(7225),y=o(850);function k(C){return(0,n.N)((A,S)=>{(0,l.Tg)(C).subscribe((0,a._)(S,()=>S.complete(),y.l)),!S.closed&&A.subscribe(S)})}},8445:(i,s,o)=>{"use strict";o.d(s,{v:()=>l});var n=o(5351),a=o(2483);function l(y,k=!1){return(0,n.N)((C,A)=>{let S=0;C.subscribe((0,a._)(A,T=>{const O=y(T,S++);(O||k)&&A.next(T),!O&&A.complete()}))})}},2040:(i,s,o)=>{"use strict";o.d(s,{M:()=>k});var n=o(1126),a=o(5351),l=o(2483),y=o(9220);function k(C,A,S){const T=(0,n.T)(C)||A||S?{next:C,error:A,complete:S}:C;return T?(0,a.N)((O,P)=>{var q;null===(q=T.subscribe)||void 0===q||q.call(T);let Y=!0;O.subscribe((0,l._)(P,J=>{var ht;null===(ht=T.next)||void 0===ht||ht.call(T,J),P.next(J)},()=>{var J;Y=!1,null===(J=T.complete)||void 0===J||J.call(T),P.complete()},J=>{var ht;Y=!1,null===(ht=T.error)||void 0===ht||ht.call(T,J),P.error(J)},()=>{var J,ht;Y&&(null===(J=T.unsubscribe)||void 0===J||J.call(T)),null===(ht=T.finalize)||void 0===ht||ht.call(T)}))}):y.D}},5017:(i,s,o)=>{"use strict";o.d(s,{v:()=>y});var n=o(8747),a=o(5351),l=o(2483);function y(C=k){return(0,a.N)((A,S)=>{let T=!1;A.subscribe((0,l._)(S,O=>{T=!0,S.next(O)},()=>T?S.complete():S.error(C())))})}function k(){return new n.G}},9899:(i,s,o)=>{"use strict";o.d(s,{R:()=>k});var n=o(5710);class a extends n.yU{constructor(A,S){super()}schedule(A,S=0){return this}}const l={setInterval(C,A,...S){const{delegate:T}=l;return T?.setInterval?T.setInterval(C,A,...S):setInterval(C,A,...S)},clearInterval(C){const{delegate:A}=l;return(A?.clearInterval||clearInterval)(C)},delegate:void 0};var y=o(5891);class k extends a{constructor(A,S){super(A,S),this.scheduler=A,this.work=S,this.pending=!1}schedule(A,S=0){var T;if(this.closed)return this;this.state=A;const O=this.id,P=this.scheduler;return null!=O&&(this.id=this.recycleAsyncId(P,O,S)),this.pending=!0,this.delay=S,this.id=null!==(T=this.id)&&void 0!==T?T:this.requestAsyncId(P,this.id,S),this}requestAsyncId(A,S,T=0){return l.setInterval(A.flush.bind(A,this),T)}recycleAsyncId(A,S,T=0){if(null!=T&&this.delay===T&&!1===this.pending)return S;null!=S&&l.clearInterval(S)}execute(A,S){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const T=this._execute(A,S);if(T)return T;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(A,S){let O,T=!1;try{this.work(A)}catch(P){T=!0,O=P||new Error("Scheduled action threw falsy error")}if(T)return this.unsubscribe(),O}unsubscribe(){if(!this.closed){const{id:A,scheduler:S}=this,{actions:T}=S;this.work=this.state=this.scheduler=null,this.pending=!1,(0,y.o)(T,this),null!=A&&(this.id=this.recycleAsyncId(S,A,null)),this.delay=null,super.unsubscribe()}}}},8050:(i,s,o)=>{"use strict";o.d(s,{q:()=>l});var n=o(6188);class a{constructor(k,C=a.now){this.schedulerActionCtor=k,this.now=C}schedule(k,C=0,A){return new this.schedulerActionCtor(this,k).schedule(A,C)}}a.now=n.U.now;class l extends a{constructor(k,C=a.now){super(k,C),this.actions=[],this._active=!1}flush(k){const{actions:C}=this;if(this._active)return void C.push(k);let A;this._active=!0;do{if(A=k.execute(k.state,k.delay))break}while(k=C.shift());if(this._active=!1,A){for(;k=C.shift();)k.unsubscribe();throw A}}}},4984:(i,s,o)=>{"use strict";o.d(s,{$:()=>J});var n=o(9899);let l,a=1;const y={};function k(ct){return ct in y&&(delete y[ct],!0)}const C={setImmediate(ct){const pt=a++;return y[pt]=!0,l||(l=Promise.resolve()),l.then(()=>k(pt)&&ct()),pt},clearImmediate(ct){k(ct)}},{setImmediate:S,clearImmediate:T}=C,O={setImmediate(...ct){const{delegate:pt}=O;return(pt?.setImmediate||S)(...ct)},clearImmediate(ct){const{delegate:pt}=O;return(pt?.clearImmediate||T)(ct)},delegate:void 0};var q=o(8050);const J=new class Y extends q.q{flush(pt){this._active=!0;const kt=this._scheduled;this._scheduled=void 0;const{actions:Et}=this;let It;pt=pt||Et.shift();do{if(It=pt.execute(pt.state,pt.delay))break}while((pt=Et[0])&&pt.id===kt&&Et.shift());if(this._active=!1,It){for(;(pt=Et[0])&&pt.id===kt&&Et.shift();)pt.unsubscribe();throw It}}}(class P extends n.R{constructor(pt,kt){super(pt,kt),this.scheduler=pt,this.work=kt}requestAsyncId(pt,kt,Et=0){return null!==Et&&Et>0?super.requestAsyncId(pt,kt,Et):(pt.actions.push(this),pt._scheduled||(pt._scheduled=O.setImmediate(pt.flush.bind(pt,void 0))))}recycleAsyncId(pt,kt,Et=0){var It;if(null!=Et?Et>0:this.delay>0)return super.recycleAsyncId(pt,kt,Et);const{actions:yt}=pt;null!=kt&&(null===(It=yt[yt.length-1])||void 0===It?void 0:It.id)!==kt&&(O.clearImmediate(kt),pt._scheduled===kt&&(pt._scheduled=void 0))}})},6061:(i,s,o)=>{"use strict";o.d(s,{E:()=>l,b:()=>y});var n=o(9899);const l=new(o(8050).q)(n.R),y=l},6188:(i,s,o)=>{"use strict";o.d(s,{U:()=>n});const n={now:()=>(n.delegate||Date).now(),delegate:void 0}},3695:(i,s,o)=>{"use strict";o.d(s,{f:()=>n});const n={setTimeout(a,l,...y){const{delegate:k}=n;return k?.setTimeout?k.setTimeout(a,l,...y):setTimeout(a,l,...y)},clearTimeout(a){const{delegate:l}=n;return(l?.clearTimeout||clearTimeout)(a)},delegate:void 0}},6952:(i,s,o)=>{"use strict";o.d(s,{l:()=>a});const a=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},2563:(i,s,o)=>{"use strict";o.d(s,{s:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},8747:(i,s,o)=>{"use strict";o.d(s,{G:()=>a});const a=(0,o(5644).L)(l=>function(){l(this),this.name="EmptyError",this.message="no elements in sequence"})},4327:(i,s,o)=>{"use strict";o.d(s,{R0:()=>C,lI:()=>k,ms:()=>y});var n=o(1126),a=o(9921);function l(A){return A[A.length-1]}function y(A){return(0,n.T)(l(A))?A.pop():void 0}function k(A){return(0,a.m)(l(A))?A.pop():void 0}function C(A,S){return"number"==typeof l(A)?A.pop():S}},3740:(i,s,o)=>{"use strict";o.d(s,{D:()=>k});const{isArray:n}=Array,{getPrototypeOf:a,prototype:l,keys:y}=Object;function k(A){if(1===A.length){const S=A[0];if(n(S))return{args:S,keys:null};if(function C(A){return A&&"object"==typeof A&&a(A)===l}(S)){const T=y(S);return{args:T.map(O=>S[O]),keys:T}}}return{args:A,keys:null}}},5891:(i,s,o)=>{"use strict";function n(a,l){if(a){const y=a.indexOf(l);0<=y&&a.splice(y,1)}}o.d(s,{o:()=>n})},5644:(i,s,o)=>{"use strict";function n(a){const y=a(k=>{Error.call(k),k.stack=(new Error).stack});return y.prototype=Object.create(Error.prototype),y.prototype.constructor=y,y}o.d(s,{L:()=>n})},9321:(i,s,o)=>{"use strict";function n(a,l){return a.reduce((y,k,C)=>(y[k]=l[C],y),{})}o.d(s,{e:()=>n})},4171:(i,s,o)=>{"use strict";o.d(s,{Y:()=>l,l:()=>y});var n=o(3305);let a=null;function l(k){if(n.$.useDeprecatedSynchronousErrorHandling){const C=!a;if(C&&(a={errorThrown:!1,error:null}),k(),C){const{errorThrown:A,error:S}=a;if(a=null,A)throw S}}else k()}function y(k){n.$.useDeprecatedSynchronousErrorHandling&&a&&(a.errorThrown=!0,a.error=k)}},8266:(i,s,o)=>{"use strict";function n(a,l,y,k=0,C=!1){const A=l.schedule(function(){y(),C?a.add(this.schedule(null,k)):this.unsubscribe()},k);if(a.add(A),!C)return A}o.d(s,{N:()=>n})},9220:(i,s,o)=>{"use strict";function n(a){return a}o.d(s,{D:()=>n})},6786:(i,s,o)=>{"use strict";o.d(s,{X:()=>n});const n=a=>a&&"number"==typeof a.length&&"function"!=typeof a},8394:(i,s,o)=>{"use strict";o.d(s,{T:()=>a});var n=o(1126);function a(l){return Symbol.asyncIterator&&(0,n.T)(l?.[Symbol.asyncIterator])}},1126:(i,s,o)=>{"use strict";function n(a){return"function"==typeof a}o.d(s,{T:()=>n})},6600:(i,s,o)=>{"use strict";o.d(s,{l:()=>l});var n=o(2563),a=o(1126);function l(y){return(0,a.T)(y[n.s])}},4876:(i,s,o)=>{"use strict";o.d(s,{x:()=>l});var n=o(6952),a=o(1126);function l(y){return(0,a.T)(y?.[n.l])}},1531:(i,s,o)=>{"use strict";o.d(s,{A:()=>l});var n=o(1698),a=o(1126);function l(y){return!!y&&(y instanceof n.c||(0,a.T)(y.lift)&&(0,a.T)(y.subscribe))}},6505:(i,s,o)=>{"use strict";o.d(s,{y:()=>a});var n=o(1126);function a(l){return(0,n.T)(l?.then)}},3173:(i,s,o)=>{"use strict";o.d(s,{C:()=>l,U:()=>y});var n=o(1635),a=o(1126);function l(k){return(0,n.AQ)(this,arguments,function*(){const A=k.getReader();try{for(;;){const{value:S,done:T}=yield(0,n.N3)(A.read());if(T)return yield(0,n.N3)(void 0);yield yield(0,n.N3)(S)}}finally{A.releaseLock()}})}function y(k){return(0,a.T)(k?.getReader)}},9921:(i,s,o)=>{"use strict";o.d(s,{m:()=>a});var n=o(1126);function a(l){return l&&(0,n.T)(l.schedule)}},5351:(i,s,o)=>{"use strict";o.d(s,{N:()=>l,S:()=>a});var n=o(1126);function a(y){return(0,n.T)(y?.lift)}function l(y){return k=>{if(a(k))return k.lift(function(C){try{return y(C,this)}catch(A){this.error(A)}});throw new TypeError("Unable to lift unknown Observable type")}}},3759:(i,s,o)=>{"use strict";o.d(s,{I:()=>y});var n=o(7947);const{isArray:a}=Array;function y(k){return(0,n.T)(C=>function l(k,C){return a(C)?k(...C):k(C)}(k,C))}},850:(i,s,o)=>{"use strict";function n(){}o.d(s,{l:()=>n})},6742:(i,s,o)=>{"use strict";o.d(s,{F:()=>a,m:()=>l});var n=o(9220);function a(...y){return l(y)}function l(y){return 0===y.length?n.D:1===y.length?y[0]:function(C){return y.reduce((A,S)=>S(A),C)}}},191:(i,s,o)=>{"use strict";o.d(s,{m:()=>l});var n=o(3305),a=o(3695);function l(y){a.f.setTimeout(()=>{const{onUnhandledError:k}=n.$;if(!k)throw y;k(y)})}},8810:(i,s,o)=>{"use strict";function n(a){return new TypeError(`You provided ${null!==a&&"object"==typeof a?"an invalid object":`'${a}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}o.d(s,{L:()=>n})},1204:(i,s,o)=>{"use strict";o.d(s,{FX:()=>le,If:()=>l,K2:()=>S,MA:()=>J,Os:()=>A,P:()=>ct,S6:()=>kt,hZ:()=>k,i0:()=>C,i7:()=>P,iF:()=>T,kY:()=>q,kp:()=>y,sf:()=>Pt,ui:()=>ae,wk:()=>O});var n=o(4460),a=o(3107),l=function(ve){return ve[ve.State=0]="State",ve[ve.Transition=1]="Transition",ve[ve.Sequence=2]="Sequence",ve[ve.Group=3]="Group",ve[ve.Animate=4]="Animate",ve[ve.Keyframes=5]="Keyframes",ve[ve.Style=6]="Style",ve[ve.Trigger=7]="Trigger",ve[ve.Reference=8]="Reference",ve[ve.AnimateChild=9]="AnimateChild",ve[ve.AnimateRef=10]="AnimateRef",ve[ve.Query=11]="Query",ve[ve.Stagger=12]="Stagger",ve}(l||{});const y="*";function k(ve,se){return{type:l.Trigger,name:ve,definitions:se,options:{}}}function C(ve,se=null){return{type:l.Animate,styles:se,timings:ve}}function A(ve,se=null){return{type:l.Group,steps:ve,options:se}}function S(ve,se=null){return{type:l.Sequence,steps:ve,options:se}}function T(ve){return{type:l.Style,styles:ve,offset:null}}function O(ve,se,or){return{type:l.State,name:ve,styles:se,options:or}}function P(ve){return{type:l.Keyframes,steps:ve}}function q(ve,se,or=null){return{type:l.Transition,expr:ve,animation:se,options:or}}function J(ve=null){return{type:l.AnimateChild,options:ve}}function ct(ve,se,or=null){return{type:l.Query,selector:ve,animation:se,options:or}}let kt=(()=>{class ve{static \u0275fac=function(fr){return new(fr||ve)};static \u0275prov=a.jDH({token:ve,factory:()=>(0,a.WQX)(It),providedIn:"root"})}return ve})();class Et{}let It=(()=>{class ve extends kt{animationModuleType=(0,a.WQX)(a.bc$,{optional:!0});_nextAnimationId=0;_renderer;constructor(or,fr){if(super(),this._renderer=or.createRenderer(fr.body,{id:"0",encapsulation:a.gXe.None,styles:[],data:{animation:[]}}),null===this.animationModuleType&&!function vt(ve){const se=ve.\u0275type;return 0===se||1===se}(this._renderer))throw new a.wOt(3600,!1)}build(or){const fr=this._nextAnimationId;this._nextAnimationId++;const yr=Array.isArray(or)?S(or):or;return at(this._renderer,null,fr,"register",[yr]),new yt(fr,this._renderer)}static \u0275fac=function(fr){return new(fr||ve)(a.KVO(a._9s),a.KVO(n.qQ))};static \u0275prov=a.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}return ve})();class yt extends Et{_id;_renderer;constructor(se,or){super(),this._id=se,this._renderer=or}create(se,or){return new _t(this._id,se,or||{},this._renderer)}}class _t{id;element;_renderer;parentPlayer=null;_started=!1;constructor(se,or,fr,yr){this.id=se,this.element=or,this._renderer=yr,this._command("create",fr)}_listen(se,or){return this._renderer.listen(this.element,`@@${this.id}:${se}`,or)}_command(se,...or){at(this._renderer,this.element,this.id,se,or)}onDone(se){this._listen("done",se)}onStart(se){this._listen("start",se)}onDestroy(se){this._listen("destroy",se)}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(se){this._command("setPosition",se)}getPosition(){return function st(ve){const se=ve.\u0275type;return 0===se?ve:1===se?ve.animationRenderer:null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}totalTime=0}function at(ve,se,or,fr,yr){ve.setProperty(se,`@@${or}:${fr}`,yr)}class Pt{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(se=0,or=0){this.totalTime=se+or}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(se=>se()),this._onDoneFns=[])}onStart(se){this._originalOnStartFns.push(se),this._onStartFns.push(se)}onDone(se){this._originalOnDoneFns.push(se),this._onDoneFns.push(se)}onDestroy(se){this._onDestroyFns.push(se)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(se=>se()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(se=>se()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(se){this._position=this.totalTime?se*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(se){const or="start"==se?this._onStartFns:this._onDoneFns;or.forEach(fr=>fr()),or.length=0}}class ae{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(se){this.players=se;let or=0,fr=0,yr=0;const jr=this.players.length;0==jr?queueMicrotask(()=>this._onFinish()):this.players.forEach(wr=>{wr.onDone(()=>{++or==jr&&this._onFinish()}),wr.onDestroy(()=>{++fr==jr&&this._onDestroy()}),wr.onStart(()=>{++yr==jr&&this._onStart()})}),this.totalTime=this.players.reduce((wr,Qt)=>Math.max(wr,Qt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(se=>se()),this._onDoneFns=[])}init(){this.players.forEach(se=>se.init())}onStart(se){this._onStartFns.push(se)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(se=>se()),this._onStartFns=[])}onDone(se){this._onDoneFns.push(se)}onDestroy(se){this._onDestroyFns.push(se)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(se=>se.play())}pause(){this.players.forEach(se=>se.pause())}restart(){this.players.forEach(se=>se.restart())}finish(){this._onFinish(),this.players.forEach(se=>se.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(se=>se.destroy()),this._onDestroyFns.forEach(se=>se()),this._onDestroyFns=[])}reset(){this.players.forEach(se=>se.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(se){const or=se*this.totalTime;this.players.forEach(fr=>{const yr=fr.totalTime?Math.min(1,or/fr.totalTime):1;fr.setPosition(yr)})}getPosition(){const se=this.players.reduce((or,fr)=>null===or||fr.totalTime>or.totalTime?fr:or,null);return null!=se?se.getPosition():0}beforeDestroy(){this.players.forEach(se=>{se.beforeDestroy&&se.beforeDestroy()})}triggerCallback(se){const or="start"==se?this._onStartFns:this._onDoneFns;or.forEach(fr=>fr()),or.length=0}}const le="!"},8559:(i,s,o)=>{"use strict";o.d(s,{Pd:()=>sn,Au:()=>be,vr:()=>or,Bu:()=>Ht,FN:()=>$t,GX:()=>Lt,Q_:()=>ko,Z7:()=>wt,Ai:()=>Ho,g7:()=>Zn,px:()=>st,_G:()=>ue,w6:()=>he,Ae:()=>vt});var n=o(4460),a=o(3107),l=o(2147),y=o(5467),k=o(5919),C=o(8447),A=o(5710),T=(o(1531),o(3016)),O=o(1217),P=o(2040),q=o(8627),Y=o(1483),J=o(7947),ct=(o(7610),o(1866)),pt=o(6645),kt=o(5424),It=o(7747),yt=o(3022),_t=o(6520);const at=" ";function st(Je,Ae,te){const Re=Pt(Je,Ae);te=te.trim(),!Re.some(ir=>ir.trim()===te)&&(Re.push(te),Je.setAttribute(Ae,Re.join(at)))}function vt(Je,Ae,te){const Re=Pt(Je,Ae);te=te.trim();const ir=Re.filter(gr=>gr!==te);ir.length?Je.setAttribute(Ae,ir.join(at)):Je.removeAttribute(Ae)}function Pt(Je,Ae){return Je.getAttribute(Ae)?.match(/\S+/g)??[]}const le="cdk-describedby-message",ve="cdk-describedby-host";let se=0,or=(()=>{class Je{_platform=(0,a.WQX)(l.OD);_document=(0,a.WQX)(n.qQ);_messageRegistry=new Map;_messagesContainer=null;_id=""+se++;constructor(){(0,a.WQX)(y.l).load(y.Y),this._id=(0,a.WQX)(a.sZ2)+"-"+se++}describe(te,Re,ir){if(!this._canBeDescribed(te,Re))return;const gr=fr(Re,ir);"string"!=typeof Re?(yr(Re,this._id),this._messageRegistry.set(gr,{messageElement:Re,referenceCount:0})):this._messageRegistry.has(gr)||this._createMessageElement(Re,ir),this._isElementDescribedByMessage(te,gr)||this._addMessageReference(te,gr)}removeDescription(te,Re,ir){if(!Re||!this._isElementNode(te))return;const gr=fr(Re,ir);if(this._isElementDescribedByMessage(te,gr)&&this._removeMessageReference(te,gr),"string"==typeof Re){const po=this._messageRegistry.get(gr);po&&0===po.referenceCount&&this._deleteMessageElement(gr)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const te=this._document.querySelectorAll(`[${ve}="${this._id}"]`);for(let Re=0;Re0!=ir.indexOf(le));te.setAttribute("aria-describedby",Re.join(" "))}_addMessageReference(te,Re){const ir=this._messageRegistry.get(Re);st(te,"aria-describedby",ir.messageElement.id),te.setAttribute(ve,this._id),ir.referenceCount++}_removeMessageReference(te,Re){const ir=this._messageRegistry.get(Re);ir.referenceCount--,vt(te,"aria-describedby",ir.messageElement.id),te.removeAttribute(ve)}_isElementDescribedByMessage(te,Re){const ir=Pt(te,"aria-describedby"),gr=this._messageRegistry.get(Re),po=gr&&gr.messageElement.id;return!!po&&-1!=ir.indexOf(po)}_canBeDescribed(te,Re){if(!this._isElementNode(te))return!1;if(Re&&"object"==typeof Re)return!0;const ir=null==Re?"":`${Re}`.trim(),gr=te.getAttribute("aria-label");return!(!ir||gr&&gr.trim()===ir)}_isElementNode(te){return te.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(Re){return new(Re||Je)};static \u0275prov=a.jDH({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})();function fr(Je,Ae){return"string"==typeof Je?`${Ae||""}/${Je}`:Je}function yr(Je,Ae){Je.id||(Je.id=`${le}-${Ae}-${se++}`)}class wr{_letterKeyStream=new C.B;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new C.B;selectedItem=this._selectedItem;constructor(Ae,te){const Re="number"==typeof te?.debounceInterval?te.debounceInterval:200;te?.skipPredicate&&(this._skipPredicateFn=te.skipPredicate),this.setItems(Ae),this._setupKeyHandler(Re)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(Ae){this._selectedItemIndex=Ae}setItems(Ae){this._items=Ae}handleKey(Ae){const te=Ae.keyCode;Ae.key&&1===Ae.key.length?this._letterKeyStream.next(Ae.key.toLocaleUpperCase()):(te>=k.A&&te<=k.Z||te>=k.f2&&te<=k.bn)&&this._letterKeyStream.next(String.fromCharCode(te))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(Ae){this._letterKeyStream.pipe((0,P.M)(te=>this._pressedLetters.push(te)),(0,q.B)(Ae),(0,Y.p)(()=>this._pressedLetters.length>0),(0,J.T)(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(te=>{for(let Re=1;ReAe.disabled;constructor(Ae,te){this._items=Ae,Ae instanceof a.rOR?this._itemChangesSubscription=Ae.changes.subscribe(Re=>this._itemsChanged(Re.toArray())):(0,a.Hps)(Ae)&&(this._effectRef=(0,a.QZP)(()=>this._itemsChanged(Ae()),{injector:te}))}tabOut=new C.B;change=new C.B;skipPredicate(Ae){return this._skipPredicateFn=Ae,this}withWrap(Ae=!0){return this._wrap=Ae,this}withVerticalOrientation(Ae=!0){return this._vertical=Ae,this}withHorizontalOrientation(Ae){return this._horizontal=Ae,this}withAllowedModifierKeys(Ae){return this._allowedModifierKeys=Ae,this}withTypeAhead(Ae=200){this._typeaheadSubscription.unsubscribe();const te=this._getItemsArray();return this._typeahead=new wr(te,{debounceInterval:"number"==typeof Ae?Ae:void 0,skipPredicate:Re=>this._skipPredicateFn(Re)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(Re=>{this.setActiveItem(Re)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(Ae=!0){return this._homeAndEnd=Ae,this}withPageUpDown(Ae=!0,te=10){return this._pageUpAndDown={enabled:Ae,delta:te},this}setActiveItem(Ae){const te=this._activeItem();this.updateActiveItem(Ae),this._activeItem()!==te&&this.change.next(this._activeItemIndex)}onKeydown(Ae){const te=Ae.keyCode,ir=["altKey","ctrlKey","metaKey","shiftKey"].every(gr=>!Ae[gr]||this._allowedModifierKeys.indexOf(gr)>-1);switch(te){case k.wn:return void this.tabOut.next();case k.n6:if(this._vertical&&ir){this.setNextItemActive();break}return;case k.i7:if(this._vertical&&ir){this.setPreviousItemActive();break}return;case k.LE:if(this._horizontal&&ir){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case k.UQ:if(this._horizontal&&ir){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case k.yZ:if(this._homeAndEnd&&ir){this.setFirstItemActive();break}return;case k.Kp:if(this._homeAndEnd&&ir){this.setLastItemActive();break}return;case k.w_:if(this._pageUpAndDown.enabled&&ir){const gr=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(gr>0?gr:0,1);break}return;case k.dB:if(this._pageUpAndDown.enabled&&ir){const gr=this._activeItemIndex+this._pageUpAndDown.delta,po=this._getItemsArray().length;this._setActiveItemByIndex(gr-1&&Re!==this._activeItemIndex&&(this._activeItemIndex=Re,this._typeahead?.setCurrentSelectedItemIndex(Re))}}}class be extends Qt{setActiveItem(Ae){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(Ae),this.activeItem&&this.activeItem.setActiveStyles()}}class Ht extends Qt{_origin="program";setFocusOrigin(Ae){return this._origin=Ae,this}setActiveItem(Ae){super.setActiveItem(Ae),this.activeItem&&this.activeItem.focus(this._origin)}}let wt=(()=>{class Je{_platform=(0,a.WQX)(l.OD);constructor(){}isDisabled(te){return te.hasAttribute("disabled")}isVisible(te){return function Xe(Je){return!!(Je.offsetWidth||Je.offsetHeight||"function"==typeof Je.getClientRects&&Je.getClientRects().length)}(te)&&"visible"===getComputedStyle(te).visibility}isTabbable(te){if(!this._platform.isBrowser)return!1;const Re=function ie(Je){try{return Je.frameElement}catch{return null}}(function fo(Je){return Je.ownerDocument&&Je.ownerDocument.defaultView||window}(te));if(Re&&(-1===Wr(Re)||!this.isVisible(Re)))return!1;let ir=te.nodeName.toLowerCase(),gr=Wr(te);return te.hasAttribute("contenteditable")?-1!==gr:!("iframe"===ir||"object"===ir||this._platform.WEBKIT&&this._platform.IOS&&!function Lo(Je){let Ae=Je.nodeName.toLowerCase(),te="input"===Ae&&Je.type;return"text"===te||"password"===te||"select"===Ae||"textarea"===Ae}(te))&&("audio"===ir?!!te.hasAttribute("controls")&&-1!==gr:"video"===ir?-1!==gr&&(null!==gr||this._platform.FIREFOX||te.hasAttribute("controls")):te.tabIndex>=0)}isFocusable(te,Re){return function Or(Je){return!function Ke(Je){return function Ve(Je){return"input"==Je.nodeName.toLowerCase()}(Je)&&"hidden"==Je.type}(Je)&&(function Te(Je){let Ae=Je.nodeName.toLowerCase();return"input"===Ae||"select"===Ae||"button"===Ae||"textarea"===Ae}(Je)||function re(Je){return function tr(Je){return"a"==Je.nodeName.toLowerCase()}(Je)&&Je.hasAttribute("href")}(Je)||Je.hasAttribute("contenteditable")||Tr(Je))}(te)&&!this.isDisabled(te)&&(Re?.ignoreVisibility||this.isVisible(te))}static \u0275fac=function(Re){return new(Re||Je)};static \u0275prov=a.jDH({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})();function Tr(Je){if(!Je.hasAttribute("tabindex")||void 0===Je.tabIndex)return!1;let Ae=Je.getAttribute("tabindex");return!(!Ae||isNaN(parseInt(Ae,10)))}function Wr(Je){if(!Tr(Je))return null;const Ae=parseInt(Je.getAttribute("tabindex")||"",10);return isNaN(Ae)?-1:Ae}class cr{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(Ae){this._enabled=Ae,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Ae,this._startAnchor),this._toggleAnchorTabIndex(Ae,this._endAnchor))}_enabled=!0;constructor(Ae,te,Re,ir,gr=!1,po){this._element=Ae,this._checker=te,this._ngZone=Re,this._document=ir,this._injector=po,gr||this.attachAnchors()}destroy(){const Ae=this._startAnchor,te=this._endAnchor;Ae&&(Ae.removeEventListener("focus",this.startAnchorListener),Ae.remove()),te&&(te.removeEventListener("focus",this.endAnchorListener),te.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(Ae){return new Promise(te=>{this._executeOnStable(()=>te(this.focusInitialElement(Ae)))})}focusFirstTabbableElementWhenReady(Ae){return new Promise(te=>{this._executeOnStable(()=>te(this.focusFirstTabbableElement(Ae)))})}focusLastTabbableElementWhenReady(Ae){return new Promise(te=>{this._executeOnStable(()=>te(this.focusLastTabbableElement(Ae)))})}_getRegionBoundary(Ae){const te=this._element.querySelectorAll(`[cdk-focus-region-${Ae}], [cdkFocusRegion${Ae}], [cdk-focus-${Ae}]`);return"start"==Ae?te.length?te[0]:this._getFirstTabbableElement(this._element):te.length?te[te.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Ae){const te=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(te){if(!this._checker.isFocusable(te)){const Re=this._getFirstTabbableElement(te);return Re?.focus(Ae),!!Re}return te.focus(Ae),!0}return this.focusFirstTabbableElement(Ae)}focusFirstTabbableElement(Ae){const te=this._getRegionBoundary("start");return te&&te.focus(Ae),!!te}focusLastTabbableElement(Ae){const te=this._getRegionBoundary("end");return te&&te.focus(Ae),!!te}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Ae){if(this._checker.isFocusable(Ae)&&this._checker.isTabbable(Ae))return Ae;const te=Ae.children;for(let Re=0;Re=0;Re--){const ir=te[Re].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(te[Re]):null;if(ir)return ir}return null}_createAnchor(){const Ae=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Ae),Ae.classList.add("cdk-visually-hidden"),Ae.classList.add("cdk-focus-trap-anchor"),Ae.setAttribute("aria-hidden","true"),Ae}_toggleAnchorTabIndex(Ae,te){Ae?te.setAttribute("tabindex","0"):te.removeAttribute("tabindex")}toggleAnchors(Ae){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Ae,this._startAnchor),this._toggleAnchorTabIndex(Ae,this._endAnchor))}_executeOnStable(Ae){this._injector?(0,a.mal)(Ae,{injector:this._injector}):setTimeout(Ae)}}let Lt=(()=>{class Je{_checker=(0,a.WQX)(wt);_ngZone=(0,a.WQX)(a.SKi);_document=(0,a.WQX)(n.qQ);_injector=(0,a.WQX)(a.zZn);constructor(){(0,a.WQX)(y.l).load(y.Y)}create(te,Re=!1){return new cr(te,this._checker,this._ngZone,this._document,Re,this._injector)}static \u0275fac=function(Re){return new(Re||Je)};static \u0275prov=a.jDH({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})();function ue(Je){return 0===Je.buttons||0===Je.detail}function he(Je){const Ae=Je.touches&&Je.touches[0]||Je.changedTouches&&Je.changedTouches[0];return!(!Ae||-1!==Ae.identifier||null!=Ae.radiusX&&1!==Ae.radiusX||null!=Ae.radiusY&&1!==Ae.radiusY)}const Se=new a.nKC("cdk-input-modality-detector-options"),Sr={ignoreKeys:[k.A$,k.W3,k.eg,k.Ge,k.FX]},dr=(0,l.BQ)({passive:!0,capture:!0});let Mr=(()=>{class Je{_platform=(0,a.WQX)(l.OD);modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new O.t(null);_options;_lastTouchMs=0;_onKeydown=te=>{this._options?.ignoreKeys?.some(Re=>Re===te.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,l.Fb)(te))};_onMousedown=te=>{Date.now()-this._lastTouchMs<650||(this._modality.next(ue(te)?"keyboard":"mouse"),this._mostRecentTarget=(0,l.Fb)(te))};_onTouchstart=te=>{he(te)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,l.Fb)(te))};constructor(){const te=(0,a.WQX)(a.SKi),Re=(0,a.WQX)(n.qQ),ir=(0,a.WQX)(Se,{optional:!0});this._options={...Sr,...ir},this.modalityDetected=this._modality.pipe((0,ct.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,pt.F)()),this._platform.isBrowser&&te.runOutsideAngular(()=>{Re.addEventListener("keydown",this._onKeydown,dr),Re.addEventListener("mousedown",this._onMousedown,dr),Re.addEventListener("touchstart",this._onTouchstart,dr)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,dr),document.removeEventListener("mousedown",this._onMousedown,dr),document.removeEventListener("touchstart",this._onTouchstart,dr))}static \u0275fac=function(Re){return new(Re||Je)};static \u0275prov=a.jDH({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})();const ao=new a.nKC("liveAnnouncerElement",{providedIn:"root",factory:function xr(){return null}}),zo=new a.nKC("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let To=0,Ho=(()=>{class Je{_ngZone=(0,a.WQX)(a.SKi);_defaultOptions=(0,a.WQX)(zo,{optional:!0});_liveElement;_document=(0,a.WQX)(n.qQ);_previousTimeout;_currentPromise;_currentResolve;constructor(){const te=(0,a.WQX)(ao,{optional:!0});this._liveElement=te||this._createLiveElement()}announce(te,...Re){const ir=this._defaultOptions;let gr,po;return 1===Re.length&&"number"==typeof Re[0]?po=Re[0]:[gr,po]=Re,this.clear(),clearTimeout(this._previousTimeout),gr||(gr=ir&&ir.politeness?ir.politeness:"polite"),null==po&&ir&&(po=ir.duration),this._liveElement.setAttribute("aria-live",gr),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(ki=>this._currentResolve=ki)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=te,"number"==typeof po&&(this._previousTimeout=setTimeout(()=>this.clear(),po)),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 te="cdk-live-announcer-element",Re=this._document.getElementsByClassName(te),ir=this._document.createElement("div");for(let gr=0;gr .cdk-overlay-container [aria-modal="true"]');for(let ir=0;ir{class Je{_ngZone=(0,a.WQX)(a.SKi);_platform=(0,a.WQX)(l.OD);_inputModalityDetector=(0,a.WQX)(Mr);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)};_document=(0,a.WQX)(n.qQ,{optional:!0});_stopInputModalityDetector=new C.B;constructor(){const te=(0,a.WQX)(Mt,{optional:!0});this._detectionMode=te?.detectionMode||ze.IMMEDIATE}_rootNodeFocusAndBlurListener=te=>{for(let ir=(0,l.Fb)(te);ir;ir=ir.parentElement)"focus"===te.type?this._onFocus(te,ir):this._onBlur(te,ir)};monitor(te,Re=!1){const ir=(0,yt.i8)(te);if(!this._platform.isBrowser||1!==ir.nodeType)return(0,T.of)();const gr=(0,l.KT)(ir)||this._getDocument(),po=this._elementInfo.get(ir);if(po)return Re&&(po.checkChildren=!0),po.subject;const ki={checkChildren:Re,subject:new C.B,rootNode:gr};return this._elementInfo.set(ir,ki),this._registerGlobalListeners(ki),ki.subject}stopMonitoring(te){const Re=(0,yt.i8)(te),ir=this._elementInfo.get(Re);ir&&(ir.subject.complete(),this._setClasses(Re),this._elementInfo.delete(Re),this._removeGlobalListeners(ir))}focusVia(te,Re,ir){const gr=(0,yt.i8)(te);gr===this._getDocument().activeElement?this._getClosestElementsInfo(gr).forEach(([ki,Ln])=>this._originChanged(ki,Re,Ln)):(this._setOrigin(Re),"function"==typeof gr.focus&&gr.focus(ir))}ngOnDestroy(){this._elementInfo.forEach((te,Re)=>this.stopMonitoring(Re))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(te){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(te)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:te&&this._isLastInteractionFromInputLabel(te)?"mouse":"program"}_shouldBeAttributedToTouch(te){return this._detectionMode===ze.EVENTUAL||!!te?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(te,Re){te.classList.toggle("cdk-focused",!!Re),te.classList.toggle("cdk-touch-focused","touch"===Re),te.classList.toggle("cdk-keyboard-focused","keyboard"===Re),te.classList.toggle("cdk-mouse-focused","mouse"===Re),te.classList.toggle("cdk-program-focused","program"===Re)}_setOrigin(te,Re=!1){this._ngZone.runOutsideAngular(()=>{this._origin=te,this._originFromTouchInteraction="touch"===te&&Re,this._detectionMode===ze.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(te,Re){const ir=this._elementInfo.get(Re),gr=(0,l.Fb)(te);!ir||!ir.checkChildren&&Re!==gr||this._originChanged(Re,this._getFocusOrigin(gr),ir)}_onBlur(te,Re){const ir=this._elementInfo.get(Re);!ir||ir.checkChildren&&te.relatedTarget instanceof Node&&Re.contains(te.relatedTarget)||(this._setClasses(Re),this._emitOrigin(ir,null))}_emitOrigin(te,Re){te.subject.observers.length&&this._ngZone.run(()=>te.subject.next(Re))}_registerGlobalListeners(te){if(!this._platform.isBrowser)return;const Re=te.rootNode,ir=this._rootNodeFocusListenerCount.get(Re)||0;ir||this._ngZone.runOutsideAngular(()=>{Re.addEventListener("focus",this._rootNodeFocusAndBlurListener,Wt),Re.addEventListener("blur",this._rootNodeFocusAndBlurListener,Wt)}),this._rootNodeFocusListenerCount.set(Re,ir+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,kt.Q)(this._stopInputModalityDetector)).subscribe(gr=>{this._setOrigin(gr,!0)}))}_removeGlobalListeners(te){const Re=te.rootNode;if(this._rootNodeFocusListenerCount.has(Re)){const ir=this._rootNodeFocusListenerCount.get(Re);ir>1?this._rootNodeFocusListenerCount.set(Re,ir-1):(Re.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Wt),Re.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Wt),this._rootNodeFocusListenerCount.delete(Re))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(te,Re,ir){this._setClasses(te,Re),this._emitOrigin(ir,Re),this._lastFocusOrigin=Re}_getClosestElementsInfo(te){const Re=[];return this._elementInfo.forEach((ir,gr)=>{(gr===te||ir.checkChildren&&gr.contains(te))&&Re.push([gr,ir])}),Re}_isLastInteractionFromInputLabel(te){const{_mostRecentTarget:Re,mostRecentModality:ir}=this._inputModalityDetector;if("mouse"!==ir||!Re||Re===te||"INPUT"!==te.nodeName&&"TEXTAREA"!==te.nodeName||te.disabled)return!1;const gr=te.labels;if(gr)for(let po=0;po{class Je{_platform=(0,a.WQX)(l.OD);_hasCheckedHighContrastMode;_document=(0,a.WQX)(n.qQ);_breakpointSubscription;constructor(){this._breakpointSubscription=(0,a.WQX)(_t.QP).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return ce.NONE;const te=this._document.createElement("div");te.style.backgroundColor="rgb(1,2,3)",te.style.position="absolute",this._document.body.appendChild(te);const Re=this._document.defaultView||window,ir=Re&&Re.getComputedStyle?Re.getComputedStyle(te):null,gr=(ir&&ir.backgroundColor||"").replace(/ /g,"");switch(te.remove(),gr){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return ce.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return ce.BLACK_ON_WHITE}return ce.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const te=this._document.body.classList;te.remove(qr,Be,vr),this._hasCheckedHighContrastMode=!0;const Re=this.getHighContrastMode();Re===ce.BLACK_ON_WHITE?te.add(qr,Be):Re===ce.WHITE_ON_BLACK&&te.add(qr,vr)}}static \u0275fac=function(Re){return new(Re||Je)};static \u0275prov=a.jDH({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})(),sn=(()=>{class Je{constructor(){(0,a.WQX)(ko)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(Re){return new(Re||Je)};static \u0275mod=a.$C({type:Je});static \u0275inj=a.G2t({imports:[It.w5]})}return Je})();const hn={};let Zn=(()=>{class Je{_appId=(0,a.WQX)(a.sZ2);getId(te){return"ng"!==this._appId&&(te+=this._appId),hn.hasOwnProperty(te)||(hn[te]=0),`${te}${hn[te]++}`}static \u0275fac=function(Re){return new(Re||Je)};static \u0275prov=a.jDH({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})()},2944:(i,s,o)=>{"use strict";o.d(s,{dS:()=>A,jI:()=>T});var n=o(3107),a=o(4460);const l=new n.nKC("cdk-dir-doc",{providedIn:"root",factory:function y(){return(0,n.WQX)(a.qQ)}}),k=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let A=(()=>{class O{value="ltr";change=new n.bkB;constructor(){const q=(0,n.WQX)(l,{optional:!0});q&&(this.value=function C(O){const P=O?.toLowerCase()||"";return"auto"===P&&typeof navigator<"u"&&navigator?.language?k.test(navigator.language)?"rtl":"ltr":"rtl"===P?"rtl":"ltr"}((q.body?q.body.dir:null)||(q.documentElement?q.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(Y){return new(Y||O)};static \u0275prov=n.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}return O})(),T=(()=>{class O{static \u0275fac=function(Y){return new(Y||O)};static \u0275mod=n.$C({type:O});static \u0275inj=n.G2t({})}return O})()},3022:(i,s,o)=>{"use strict";o.d(s,{FG:()=>k,OE:()=>l,a1:()=>C,he:()=>a,i8:()=>A});var n=o(3107);function a(T){return null!=T&&"false"!=`${T}`}function l(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 C(T){return null==T?"":"string"==typeof T?T:`${T}px`}function A(T){return T instanceof n.aKT?T.nativeElement:T}},1349:(i,s,o)=>{"use strict";o.d(s,{CB:()=>q,zP:()=>J}),o(1531),o(3016);var l=o(8447),y=o(3107);class q{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new l.B;constructor(ct=!1,pt,kt=!0,Et){this._multiple=ct,this._emitChanges=kt,this.compareWith=Et,pt&&pt.length&&(ct?pt.forEach(It=>this._markSelected(It)):this._markSelected(pt[0]),this._selectedToEmit.length=0)}select(...ct){this._verifyValueAssignment(ct),ct.forEach(kt=>this._markSelected(kt));const pt=this._hasQueuedChanges();return this._emitChangeEvent(),pt}deselect(...ct){this._verifyValueAssignment(ct),ct.forEach(kt=>this._unmarkSelected(kt));const pt=this._hasQueuedChanges();return this._emitChangeEvent(),pt}setSelection(...ct){this._verifyValueAssignment(ct);const pt=this.selected,kt=new Set(ct);ct.forEach(It=>this._markSelected(It)),pt.filter(It=>!kt.has(this._getConcreteValue(It,kt))).forEach(It=>this._unmarkSelected(It));const Et=this._hasQueuedChanges();return this._emitChangeEvent(),Et}toggle(ct){return this.isSelected(ct)?this.deselect(ct):this.select(ct)}clear(ct=!0){this._unmarkAll();const pt=this._hasQueuedChanges();return ct&&this._emitChangeEvent(),pt}isSelected(ct){return this._selection.has(this._getConcreteValue(ct))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(ct){this._multiple&&this.selected&&this._selected.sort(ct)}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(ct){ct=this._getConcreteValue(ct),this.isSelected(ct)||(this._multiple||this._unmarkAll(),this.isSelected(ct)||this._selection.add(ct),this._emitChanges&&this._selectedToEmit.push(ct))}_unmarkSelected(ct){ct=this._getConcreteValue(ct),this.isSelected(ct)&&(this._selection.delete(ct),this._emitChanges&&this._deselectedToEmit.push(ct))}_unmarkAll(){this.isEmpty()||this._selection.forEach(ct=>this._unmarkSelected(ct))}_verifyValueAssignment(ct){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(ct,pt){if(this.compareWith){pt=pt??this._selection;for(let kt of pt)if(this.compareWith(ct,kt))return kt;return ct}return ct}}let J=(()=>{class ht{_listeners=[];notify(pt,kt){for(let Et of this._listeners)Et(pt,kt)}listen(pt){return this._listeners.push(pt),()=>{this._listeners=this._listeners.filter(kt=>pt!==kt)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(kt){return new(kt||ht)};static \u0275prov=y.jDH({token:ht,factory:ht.\u0275fac,providedIn:"root"})}return ht})()},5919:(i,s,o)=>{"use strict";o.d(s,{A:()=>Bt,A$:()=>S,FX:()=>C,Fm:()=>k,Ge:()=>N,Kp:()=>ht,LE:()=>Et,UQ:()=>pt,W3:()=>A,Z:()=>W,_f:()=>P,bn:()=>jr,dB:()=>J,eg:()=>Gt,f2:()=>vt,i7:()=>kt,n6:()=>It,rp:()=>Ot,t6:()=>q,w_:()=>Y,wn:()=>l,yZ:()=>ct});const l=9,k=13,C=16,A=17,S=18,P=27,q=32,Y=33,J=34,ht=35,ct=36,pt=37,kt=38,Et=39,It=40,vt=48,jr=57,Bt=65,W=90,N=91,Gt=224;function Ot(me,...He){return He.length?He.some(Me=>me[Me]):me.altKey||me.shiftKey||me.ctrlKey||me.metaKey}},6520:(i,s,o)=>{"use strict";o.d(s,{QP:()=>It,Rp:()=>_t});var n=o(3107),a=o(3022),l=o(8447),y=o(6627),k=o(3569),C=o(1698),A=o(7610),S=o(1866),T=o(8627),O=o(7947),P=o(593),q=o(5424),Y=o(2147);const ht=new Set;let ct,pt=(()=>{class at{_platform=(0,n.WQX)(Y.OD);_nonce=(0,n.WQX)(n.BIS,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Et}matchMedia(vt){return(this._platform.WEBKIT||this._platform.BLINK)&&function kt(at,st){if(!ht.has(at))try{ct||(ct=document.createElement("style"),st&&ct.setAttribute("nonce",st),ct.setAttribute("type","text/css"),document.head.appendChild(ct)),ct.sheet&&(ct.sheet.insertRule(`@media ${at} {body{ }}`,0),ht.add(at))}catch(vt){console.error(vt)}}(vt,this._nonce),this._matchMedia(vt)}static \u0275fac=function(Pt){return new(Pt||at)};static \u0275prov=n.jDH({token:at,factory:at.\u0275fac,providedIn:"root"})}return at})();function Et(at){return{matches:"all"===at||""===at,media:at,addListener:()=>{},removeListener:()=>{}}}let It=(()=>{class at{_mediaMatcher=(0,n.WQX)(pt);_zone=(0,n.WQX)(n.SKi);_queries=new Map;_destroySubject=new l.B;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(vt){return yt((0,a.FG)(vt)).some(ae=>this._registerQuery(ae).mql.matches)}observe(vt){const ae=yt((0,a.FG)(vt)).map(ve=>this._registerQuery(ve).observable);let le=(0,y.z)(ae);return le=(0,k.x)(le.pipe((0,A.s)(1)),le.pipe((0,S.i)(1),(0,T.B)(0))),le.pipe((0,O.T)(ve=>{const se={matches:!1,breakpoints:{}};return ve.forEach(({matches:or,query:fr})=>{se.matches=se.matches||or,se.breakpoints[fr]=or}),se}))}_registerQuery(vt){if(this._queries.has(vt))return this._queries.get(vt);const Pt=this._mediaMatcher.matchMedia(vt),le={observable:new C.c(ve=>{const se=or=>this._zone.run(()=>ve.next(or));return Pt.addListener(se),()=>{Pt.removeListener(se)}}).pipe((0,P.Z)(Pt),(0,O.T)(({matches:ve})=>({query:vt,matches:ve})),(0,q.Q)(this._destroySubject)),mql:Pt};return this._queries.set(vt,le),le}static \u0275fac=function(Pt){return new(Pt||at)};static \u0275prov=n.jDH({token:at,factory:at.\u0275fac,providedIn:"root"})}return at})();function yt(at){return at.map(st=>st.split(",")).reduce((st,vt)=>st.concat(vt)).map(st=>st.trim())}const _t={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)"}},7747:(i,s,o)=>{"use strict";o.d(s,{w5:()=>C});var n=o(3107);let l=(()=>{class A{create(T){return typeof MutationObserver>"u"?null:new MutationObserver(T)}static \u0275fac=function(O){return new(O||A)};static \u0275prov=n.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})(),C=(()=>{class A{static \u0275fac=function(O){return new(O||A)};static \u0275mod=n.$C({type:A});static \u0275inj=n.G2t({providers:[l]})}return A})()},9666:(i,s,o)=>{"use strict";o.d(s,{$Q:()=>tr,Sf:()=>be,Tv:()=>vt,WB:()=>Tr,hJ:()=>Ke,rR:()=>Pt,yY:()=>Ht,z_:()=>Or});var n=o(8108),a=o(4460),l=o(3107),y=o(3022),k=o(2147),C=o(1483),A=o(5424),S=o(8445),T=o(2944),O=o(6192),P=o(8559),q=o(5467),Y=o(8447),J=o(5710),ht=o(7509),ct=o(5919);const pt=(0,k.CZ)();class kt{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(Lt,At){this._viewportRuler=Lt,this._document=At}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,Zt=Lt.style,W=this._document.body.style,N=Zt.scrollBehavior||"",z=W.scrollBehavior||"";this._isEnabled=!1,Zt.left=this._previousHTMLStyles.left,Zt.top=this._previousHTMLStyles.top,Lt.classList.remove("cdk-global-scrollblock"),pt&&(Zt.scrollBehavior=W.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),pt&&(Zt.scrollBehavior=N,W.scrollBehavior=z)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const At=this._document.body,Zt=this._viewportRuler.getViewportSize();return At.scrollHeight>Zt.height||At.scrollWidth>Zt.width}}class It{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(Lt,At,Zt,W){this._scrollDispatcher=Lt,this._ngZone=At,this._viewportRuler=Zt,this._config=W}attach(Lt){this._overlayRef=Lt}enable(){if(this._scrollSubscription)return;const Lt=this._scrollDispatcher.scrolled(0).pipe((0,C.p)(At=>!At||!this._overlayRef.overlayElement.contains(At.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=Lt.subscribe(()=>{const At=this._viewportRuler.getViewportScrollPosition().top;Math.abs(At-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}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}class yt{enable(){}disable(){}attach(){}}function _t(cr,Lt){return Lt.some(At=>cr.bottomAt.bottom||cr.rightAt.right)}function at(cr,Lt){return Lt.some(At=>cr.topAt.bottom||cr.leftAt.right)}class st{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(Lt,At,Zt,W){this._scrollDispatcher=Lt,this._viewportRuler=At,this._ngZone=Zt,this._config=W}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 At=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Zt,height:W}=this._viewportRuler.getViewportSize();_t(At,[{width:Zt,height:W,bottom:W,right:Zt,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 vt=(()=>{class cr{_scrollDispatcher=(0,l.WQX)(n.R);_viewportRuler=(0,l.WQX)(n.Xj);_ngZone=(0,l.WQX)(l.SKi);_document=(0,l.WQX)(a.qQ);constructor(){}noop=()=>new yt;close=At=>new It(this._scrollDispatcher,this._ngZone,this._viewportRuler,At);block=()=>new kt(this._viewportRuler,this._document);reposition=At=>new st(this._scrollDispatcher,this._viewportRuler,this._ngZone,At);static \u0275fac=function(Zt){return new(Zt||cr)};static \u0275prov=l.jDH({token:cr,factory:cr.\u0275fac,providedIn:"root"})}return cr})();class Pt{positionStrategy;scrollStrategy=new yt;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(Lt){if(Lt){const At=Object.keys(Lt);for(const Zt of At)void 0!==Lt[Zt]&&(this[Zt]=Lt[Zt])}}}class ve{connectionPair;scrollableViewProperties;constructor(Lt,At){this.connectionPair=Lt,this.scrollableViewProperties=At}}let fr=(()=>{class cr{_attachedOverlays=[];_document=(0,l.WQX)(a.qQ);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(At){this.remove(At),this._attachedOverlays.push(At)}remove(At){const Zt=this._attachedOverlays.indexOf(At);Zt>-1&&this._attachedOverlays.splice(Zt,1),0===this._attachedOverlays.length&&this.detach()}static \u0275fac=function(Zt){return new(Zt||cr)};static \u0275prov=l.jDH({token:cr,factory:cr.\u0275fac,providedIn:"root"})}return cr})(),yr=(()=>{class cr extends fr{_ngZone=(0,l.WQX)(l.SKi,{optional:!0});add(At){super.add(At),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)}_keydownListener=At=>{const Zt=this._attachedOverlays;for(let W=Zt.length-1;W>-1;W--)if(Zt[W]._keydownEvents.observers.length>0){const N=Zt[W]._keydownEvents;this._ngZone?this._ngZone.run(()=>N.next(At)):N.next(At);break}};static \u0275fac=(()=>{let At;return function(W){return(At||(At=l.xGo(cr)))(W||cr)}})();static \u0275prov=l.jDH({token:cr,factory:cr.\u0275fac,providedIn:"root"})}return cr})(),jr=(()=>{class cr extends fr{_platform=(0,l.WQX)(k.OD);_ngZone=(0,l.WQX)(l.SKi,{optional:!0});_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;add(At){if(super.add(At),!this._isAttached){const Zt=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Zt)):this._addEventListeners(Zt),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Zt.style.cursor,Zt.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const At=this._document.body;At.removeEventListener("pointerdown",this._pointerDownListener,!0),At.removeEventListener("click",this._clickListener,!0),At.removeEventListener("auxclick",this._clickListener,!0),At.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(At.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(At){At.addEventListener("pointerdown",this._pointerDownListener,!0),At.addEventListener("click",this._clickListener,!0),At.addEventListener("auxclick",this._clickListener,!0),At.addEventListener("contextmenu",this._clickListener,!0)}_pointerDownListener=At=>{this._pointerDownEventTarget=(0,k.Fb)(At)};_clickListener=At=>{const Zt=(0,k.Fb)(At),W="click"===At.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Zt;this._pointerDownEventTarget=null;const N=this._attachedOverlays.slice();for(let z=N.length-1;z>-1;z--){const Rt=N[z];if(Rt._outsidePointerEvents.observers.length<1||!Rt.hasAttached())continue;if(wr(Rt.overlayElement,Zt)||wr(Rt.overlayElement,W))break;const ue=Rt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>ue.next(At)):ue.next(At)}};static \u0275fac=(()=>{let At;return function(W){return(At||(At=l.xGo(cr)))(W||cr)}})();static \u0275prov=l.jDH({token:cr,factory:cr.\u0275fac,providedIn:"root"})}return cr})();function wr(cr,Lt){const At=typeof ShadowRoot<"u"&&ShadowRoot;let Zt=Lt;for(;Zt;){if(Zt===cr)return!0;Zt=At&&Zt instanceof ShadowRoot?Zt.host:Zt.parentNode}return!1}let Qt=(()=>{class cr{static \u0275fac=function(Zt){return new(Zt||cr)};static \u0275cmp=l.VBU({type:cr,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(Zt,W){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}"],encapsulation:2,changeDetection:0})}return cr})(),be=(()=>{class cr{_platform=(0,l.WQX)(k.OD);_containerElement;_document=(0,l.WQX)(a.qQ);_styleLoader=(0,l.WQX)(q.l);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const At="cdk-overlay-container";if(this._platform.isBrowser||(0,k.v8)()){const W=this._document.querySelectorAll(`.${At}[platform="server"], .${At}[platform="test"]`);for(let N=0;Nthis._backdropClick.next(Lt);_backdropTransitionendHandler=Lt=>{this._disposeBackdrop(Lt.target)};_previousHostParent;_keydownEvents=new Y.B;_outsidePointerEvents=new Y.B;_renders=new Y.B;_afterRenderRef;_afterNextRenderRef;constructor(Lt,At,Zt,W,N,z,Rt,ue,he,Se=!1,Sr){this._portalOutlet=Lt,this._host=At,this._pane=Zt,this._config=W,this._ngZone=N,this._keyboardDispatcher=z,this._document=Rt,this._location=ue,this._outsideClickDispatcher=he,this._animationsDisabled=Se,this._injector=Sr,W.scrollStrategy&&(this._scrollStrategy=W.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=W.positionStrategy,this._afterRenderRef=(0,l.O8t)(()=>(0,l.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 At=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,l.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 At?.onDestroy&&At.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),At}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,At,Zt){const W=(0,y.FG)(At||[]).filter(N=>!!N);W.length&&(Zt?Lt.classList.add(...W):Lt.classList.remove(...W))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{const Lt=this._renders.pipe((0,A.Q)((0,ht.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 Bt="cdk-overlay-connected-position-bounding-box",Fe=/([A-Za-z%]+)$/;class zt{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new Y.B;_resizeSubscription=J.yU.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(Lt,At,Zt,W,N){this._viewportRuler=At,this._document=Zt,this._platform=W,this._overlayContainer=N,this.setOrigin(Lt)}attach(Lt){this._validatePositions(),Lt.hostElement.classList.add(Bt),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,At=this._overlayRect,Zt=this._viewportRect,W=this._containerRect,N=[];let z;for(let Rt of this._preferredPositions){let ue=this._getOriginPoint(Lt,W,Rt),he=this._getOverlayPoint(ue,At,Rt),Se=this._getOverlayFit(he,At,Zt,Rt);if(Se.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Rt,ue);this._canFitWithFlexibleDimensions(Se,he,Zt)?N.push({position:Rt,origin:ue,overlayRect:At,boundingBoxRect:this._calculateBoundingBoxRect(ue,Rt)}):(!z||z.overlayFit.visibleAreaue&&(ue=Se,Rt=he)}return this._isPushed=!1,void this._applyPosition(Rt.position,Rt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(z.position,z.originPoint);this._applyPosition(z.position,z.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Yt(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Bt),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 At=this._getOriginPoint(this._originRect,this._containerRect,Lt);this._applyPosition(Lt,At)}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,At,Zt){let W,N;if("center"==Zt.originX)W=Lt.left+Lt.width/2;else{const z=this._isRtl()?Lt.right:Lt.left,Rt=this._isRtl()?Lt.left:Lt.right;W="start"==Zt.originX?z:Rt}return At.left<0&&(W-=At.left),N="center"==Zt.originY?Lt.top+Lt.height/2:"top"==Zt.originY?Lt.top:Lt.bottom,At.top<0&&(N-=At.top),{x:W,y:N}}_getOverlayPoint(Lt,At,Zt){let W,N;return W="center"==Zt.overlayX?-At.width/2:"start"===Zt.overlayX?this._isRtl()?-At.width:0:this._isRtl()?0:-At.width,N="center"==Zt.overlayY?-At.height/2:"top"==Zt.overlayY?0:-At.height,{x:Lt.x+W,y:Lt.y+N}}_getOverlayFit(Lt,At,Zt,W){const N=Oe(At);let{x:z,y:Rt}=Lt,ue=this._getOffset(W,"x"),he=this._getOffset(W,"y");ue&&(z+=ue),he&&(Rt+=he);let ar=0-Rt,dr=Rt+N.height-Zt.height,Mr=this._subtractOverflows(N.width,0-z,z+N.width-Zt.width),ao=this._subtractOverflows(N.height,ar,dr),xr=Mr*ao;return{visibleArea:xr,isCompletelyWithinViewport:N.width*N.height===xr,fitsInViewportVertically:ao===N.height,fitsInViewportHorizontally:Mr==N.width}}_canFitWithFlexibleDimensions(Lt,At,Zt){if(this._hasFlexibleDimensions){const W=Zt.bottom-At.y,N=Zt.right-At.x,z=oe(this._overlayRef.getConfig().minHeight),Rt=oe(this._overlayRef.getConfig().minWidth);return(Lt.fitsInViewportVertically||null!=z&&z<=W)&&(Lt.fitsInViewportHorizontally||null!=Rt&&Rt<=N)}return!1}_pushOverlayOnScreen(Lt,At,Zt){if(this._previousPushAmount&&this._positionLocked)return{x:Lt.x+this._previousPushAmount.x,y:Lt.y+this._previousPushAmount.y};const W=Oe(At),N=this._viewportRect,z=Math.max(Lt.x+W.width-N.width,0),Rt=Math.max(Lt.y+W.height-N.height,0),ue=Math.max(N.top-Zt.top-Lt.y,0),he=Math.max(N.left-Zt.left-Lt.x,0);let Se=0,Sr=0;return Se=W.width<=N.width?he||-z:Lt.xMr&&!this._isInitialRender&&!this._growAfterOpen&&(z=Lt.y-Mr/2)}if("end"===At.overlayX&&!W||"start"===At.overlayX&&W)ar=Zt.width-Lt.x+2*this._viewportMargin,Se=Lt.x-this._viewportMargin;else if("start"===At.overlayX&&!W||"end"===At.overlayX&&W)Sr=Lt.x,Se=Zt.right-Lt.x;else{const dr=Math.min(Zt.right-Lt.x+Zt.left,Lt.x),Mr=this._lastBoundingBoxSize.width;Se=2*dr,Sr=Lt.x-dr,Se>Mr&&!this._isInitialRender&&!this._growAfterOpen&&(Sr=Lt.x-Mr/2)}return{top:z,left:Sr,bottom:Rt,right:ar,width:Se,height:N}}_setBoundingBoxStyles(Lt,At){const Zt=this._calculateBoundingBoxRect(Lt,At);!this._isInitialRender&&!this._growAfterOpen&&(Zt.height=Math.min(Zt.height,this._lastBoundingBoxSize.height),Zt.width=Math.min(Zt.width,this._lastBoundingBoxSize.width));const W={};if(this._hasExactPosition())W.top=W.left="0",W.bottom=W.right=W.maxHeight=W.maxWidth="",W.width=W.height="100%";else{const N=this._overlayRef.getConfig().maxHeight,z=this._overlayRef.getConfig().maxWidth;W.height=(0,y.a1)(Zt.height),W.top=(0,y.a1)(Zt.top),W.bottom=(0,y.a1)(Zt.bottom),W.width=(0,y.a1)(Zt.width),W.left=(0,y.a1)(Zt.left),W.right=(0,y.a1)(Zt.right),W.alignItems="center"===At.overlayX?"center":"end"===At.overlayX?"flex-end":"flex-start",W.justifyContent="center"===At.overlayY?"center":"bottom"===At.overlayY?"flex-end":"flex-start",N&&(W.maxHeight=(0,y.a1)(N)),z&&(W.maxWidth=(0,y.a1)(z))}this._lastBoundingBoxSize=Zt,Yt(this._boundingBox.style,W)}_resetBoundingBoxStyles(){Yt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Yt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Lt,At){const Zt={},W=this._hasExactPosition(),N=this._hasFlexibleDimensions,z=this._overlayRef.getConfig();if(W){const Se=this._viewportRuler.getViewportScrollPosition();Yt(Zt,this._getExactOverlayY(At,Lt,Se)),Yt(Zt,this._getExactOverlayX(At,Lt,Se))}else Zt.position="static";let Rt="",ue=this._getOffset(At,"x"),he=this._getOffset(At,"y");ue&&(Rt+=`translateX(${ue}px) `),he&&(Rt+=`translateY(${he}px)`),Zt.transform=Rt.trim(),z.maxHeight&&(W?Zt.maxHeight=(0,y.a1)(z.maxHeight):N&&(Zt.maxHeight="")),z.maxWidth&&(W?Zt.maxWidth=(0,y.a1)(z.maxWidth):N&&(Zt.maxWidth="")),Yt(this._pane.style,Zt)}_getExactOverlayY(Lt,At,Zt){let W={top:"",bottom:""},N=this._getOverlayPoint(At,this._overlayRect,Lt);return this._isPushed&&(N=this._pushOverlayOnScreen(N,this._overlayRect,Zt)),"bottom"===Lt.overlayY?W.bottom=this._document.documentElement.clientHeight-(N.y+this._overlayRect.height)+"px":W.top=(0,y.a1)(N.y),W}_getExactOverlayX(Lt,At,Zt){let z,W={left:"",right:""},N=this._getOverlayPoint(At,this._overlayRect,Lt);return this._isPushed&&(N=this._pushOverlayOnScreen(N,this._overlayRect,Zt)),z=this._isRtl()?"end"===Lt.overlayX?"left":"right":"end"===Lt.overlayX?"right":"left","right"===z?W.right=this._document.documentElement.clientWidth-(N.x+this._overlayRect.width)+"px":W.left=(0,y.a1)(N.x),W}_getScrollVisibility(){const Lt=this._getOriginRect(),At=this._pane.getBoundingClientRect(),Zt=this._scrollables.map(W=>W.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:at(Lt,Zt),isOriginOutsideView:_t(Lt,Zt),isOverlayClipped:at(At,Zt),isOverlayOutsideView:_t(At,Zt)}}_subtractOverflows(Lt,...At){return At.reduce((Zt,W)=>Zt-Math.max(W,0),Lt)}_getNarrowedViewportRect(){const Lt=this._document.documentElement.clientWidth,At=this._document.documentElement.clientHeight,Zt=this._viewportRuler.getViewportScrollPosition();return{top:Zt.top+this._viewportMargin,left:Zt.left+this._viewportMargin,right:Zt.left+Lt-this._viewportMargin,bottom:Zt.top+At-this._viewportMargin,width:Lt-2*this._viewportMargin,height:At-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Lt,At){return"x"===At?null==Lt.offsetX?this._offsetX:Lt.offsetX:null==Lt.offsetY?this._offsetY:Lt.offsetY}_validatePositions(){}_addPanelClasses(Lt){this._pane&&(0,y.FG)(Lt).forEach(At=>{""!==At&&-1===this._appliedPanelClasses.indexOf(At)&&(this._appliedPanelClasses.push(At),this._pane.classList.add(At))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(Lt=>{this._pane.classList.remove(Lt)}),this._appliedPanelClasses=[])}_getOriginRect(){const Lt=this._origin;if(Lt instanceof l.aKT)return Lt.nativeElement.getBoundingClientRect();if(Lt instanceof Element)return Lt.getBoundingClientRect();const At=Lt.width||0,Zt=Lt.height||0;return{top:Lt.y,bottom:Lt.y+Zt,left:Lt.x,right:Lt.x+At,height:Zt,width:At}}}function Yt(cr,Lt){for(let At in Lt)Lt.hasOwnProperty(At)&&(cr[At]=Lt[At]);return cr}function oe(cr){if("number"!=typeof cr&&null!=cr){const[Lt,At]=cr.split(Fe);return At&&"px"!==At?null:parseFloat(Lt)}return cr||null}function Oe(cr){return{top:Math.floor(cr.top),right:Math.floor(cr.right),bottom:Math.floor(cr.bottom),left:Math.floor(cr.left),width:Math.floor(cr.width),height:Math.floor(cr.height)}}const ie="cdk-global-overlay-wrapper";class Xe{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(Lt){const At=Lt.getConfig();this._overlayRef=Lt,this._width&&!At.width&&Lt.updateSize({width:this._width}),this._height&&!At.height&&Lt.updateSize({height:this._height}),Lt.hostElement.classList.add(ie),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,At=this._overlayRef.hostElement.style,Zt=this._overlayRef.getConfig(),{width:W,height:N,maxWidth:z,maxHeight:Rt}=Zt,ue=!("100%"!==W&&"100vw"!==W||z&&"100%"!==z&&"100vw"!==z),he=!("100%"!==N&&"100vh"!==N||Rt&&"100%"!==Rt&&"100vh"!==Rt),Se=this._xPosition,Sr=this._xOffset,ar="rtl"===this._overlayRef.getConfig().direction;let dr="",Mr="",ao="";ue?ao="flex-start":"center"===Se?(ao="center",ar?Mr=Sr:dr=Sr):ar?"left"===Se||"end"===Se?(ao="flex-end",dr=Sr):("right"===Se||"start"===Se)&&(ao="flex-start",Mr=Sr):"left"===Se||"start"===Se?(ao="flex-start",dr=Sr):("right"===Se||"end"===Se)&&(ao="flex-end",Mr=Sr),Lt.position=this._cssPosition,Lt.marginLeft=ue?"0":dr,Lt.marginTop=he?"0":this._topOffset,Lt.marginBottom=this._bottomOffset,Lt.marginRight=ue?"0":Mr,At.justifyContent=ao,At.alignItems=he?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Lt=this._overlayRef.overlayElement.style,At=this._overlayRef.hostElement,Zt=At.style;At.classList.remove(ie),Zt.justifyContent=Zt.alignItems=Lt.marginTop=Lt.marginBottom=Lt.marginLeft=Lt.marginRight=Lt.position="",this._overlayRef=null,this._isDisposed=!0}}let Te=(()=>{class cr{_viewportRuler=(0,l.WQX)(n.Xj);_document=(0,l.WQX)(a.qQ);_platform=(0,l.WQX)(k.OD);_overlayContainer=(0,l.WQX)(be);constructor(){}global(){return new Xe}flexibleConnectedTo(At){return new zt(At,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static \u0275fac=function(Zt){return new(Zt||cr)};static \u0275prov=l.jDH({token:cr,factory:cr.\u0275fac,providedIn:"root"})}return cr})(),Ke=(()=>{class cr{scrollStrategies=(0,l.WQX)(vt);_overlayContainer=(0,l.WQX)(be);_positionBuilder=(0,l.WQX)(Te);_keyboardDispatcher=(0,l.WQX)(yr);_injector=(0,l.WQX)(l.zZn);_ngZone=(0,l.WQX)(l.SKi);_document=(0,l.WQX)(a.qQ);_directionality=(0,l.WQX)(T.dS);_location=(0,l.WQX)(a.aZ);_outsideClickDispatcher=(0,l.WQX)(jr);_animationsModuleType=(0,l.WQX)(l.bc$,{optional:!0});_idGenerator=(0,l.WQX)(P.g7);_appRef;_styleLoader=(0,l.WQX)(q.l);constructor(){}create(At){this._styleLoader.load(Qt);const Zt=this._createHostElement(),W=this._createPaneElement(Zt),N=this._createPortalOutlet(W),z=new Pt(At);return z.direction=z.direction||this._directionality.value,new Ht(N,Zt,W,z,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType,this._injector.get(l.uvJ))}position(){return this._positionBuilder}_createPaneElement(At){const Zt=this._document.createElement("div");return Zt.id=this._idGenerator.getId("cdk-overlay-"),Zt.classList.add("cdk-overlay-pane"),At.appendChild(Zt),Zt}_createHostElement(){const At=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(At),At}_createPortalOutlet(At){return this._appRef||(this._appRef=this._injector.get(l.o8S)),new O.aI(At,null,this._appRef,this._injector,this._document)}static \u0275fac=function(Zt){return new(Zt||cr)};static \u0275prov=l.jDH({token:cr,factory:cr.\u0275fac,providedIn:"root"})}return cr})();const re=[{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"}],Ve=new l.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const cr=(0,l.WQX)(Ke);return()=>cr.scrollStrategies.reposition()}});let tr=(()=>{class cr{elementRef=(0,l.WQX)(l.aKT);constructor(){}static \u0275fac=function(Zt){return new(Zt||cr)};static \u0275dir=l.FsC({type:cr,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return cr})(),Tr=(()=>{class cr{_overlay=(0,l.WQX)(Ke);_dir=(0,l.WQX)(T.dS,{optional:!0});_overlayRef;_templatePortal;_backdropSubscription=J.yU.EMPTY;_attachSubscription=J.yU.EMPTY;_detachSubscription=J.yU.EMPTY;_positionSubscription=J.yU.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=(0,l.WQX)(Ve);_disposeOnNavigation=!1;_ngZone=(0,l.WQX)(l.SKi);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(At){this._offsetX=At,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(At){this._offsetY=At,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(At){this._disposeOnNavigation=At}backdropClick=new l.bkB;positionChange=new l.bkB;attach=new l.bkB;detach=new l.bkB;overlayKeydown=new l.bkB;overlayOutsideClick=new l.bkB;constructor(){const At=(0,l.WQX)(l.C4Q),Zt=(0,l.WQX)(l.c1b);this._templatePortal=new O.VA(At,Zt),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(At){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),At.origin&&this.open&&this._position.apply()),At.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=re);const At=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=At.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=At.detachments().subscribe(()=>this.detach.emit()),At.keydownEvents().subscribe(Zt=>{this.overlayKeydown.next(Zt),Zt.keyCode===ct._f&&!this.disableClose&&!(0,ct.rp)(Zt)&&(Zt.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Zt=>{const W=this._getOriginElement(),N=(0,k.Fb)(Zt);(!W||W!==N&&!W.contains(N))&&this.overlayOutsideClick.next(Zt)})}_buildConfig(){const At=this._position=this.positionStrategy||this._createPositionStrategy(),Zt=new Pt({direction:this._dir||"ltr",positionStrategy:At,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(Zt.width=this.width),(this.height||0===this.height)&&(Zt.height=this.height),(this.minWidth||0===this.minWidth)&&(Zt.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Zt.minHeight=this.minHeight),this.backdropClass&&(Zt.backdropClass=this.backdropClass),this.panelClass&&(Zt.panelClass=this.panelClass),Zt}_updatePositionStrategy(At){const Zt=this.positions.map(W=>({originX:W.originX,originY:W.originY,overlayX:W.overlayX,overlayY:W.overlayY,offsetX:W.offsetX||this.offsetX,offsetY:W.offsetY||this.offsetY,panelClass:W.panelClass||void 0}));return At.setOrigin(this._getOrigin()).withPositions(Zt).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const At=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(At),At}_getOrigin(){return this.origin instanceof tr?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof tr?this.origin.elementRef.nativeElement:this.origin instanceof l.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(At=>{this.backdropClick.emit(At)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,S.v)(()=>this.positionChange.observers.length>0)).subscribe(At=>{this._ngZone.run(()=>this.positionChange.emit(At)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static \u0275fac=function(Zt){return new(Zt||cr)};static \u0275dir=l.FsC({type:cr,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",l.L39],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",l.L39],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",l.L39],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",l.L39],push:[2,"cdkConnectedOverlayPush","push",l.L39],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",l.L39]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[l.GFd,l.OA$]})}return cr})();const Lo={provide:Ve,deps:[Ke],useFactory:function Wr(cr){return()=>cr.scrollStrategies.reposition()}};let Or=(()=>{class cr{static \u0275fac=function(Zt){return new(Zt||cr)};static \u0275mod=l.$C({type:cr});static \u0275inj=l.G2t({providers:[Ke,Lo],imports:[T.jI,O.jc,n.E9,n.E9]})}return cr})()},2147:(i,s,o)=>{"use strict";o.d(s,{BD:()=>ct,BQ:()=>P,CZ:()=>ht,Fb:()=>yt,KT:()=>Et,MU:()=>S,OD:()=>y,r5:()=>q,v8:()=>_t,vc:()=>It});var n=o(3107),a=o(4460);let l;try{l=typeof Intl<"u"&&Intl.v8BreakIterator}catch{l=!1}let C,y=(()=>{class at{_platformId=(0,n.WQX)(n.Agw);isBrowser=this._platformId?(0,a.UE)(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!l)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(Pt){return new(Pt||at)};static \u0275prov=n.jDH({token:at,factory:at.\u0275fac,providedIn:"root"})}return at})();const A=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function S(){if(C)return C;if("object"!=typeof document||!document)return C=new Set(A),C;let at=document.createElement("input");return C=new Set(A.filter(st=>(at.setAttribute("type",st),at.type===st))),C}let T;function P(at){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}()?at:!!at.capture}var q=function(at){return at[at.NORMAL=0]="NORMAL",at[at.NEGATED=1]="NEGATED",at[at.INVERTED=2]="INVERTED",at}(q||{});let Y,J,pt;function ht(){if(null==J){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return J=!1,J;if("scrollBehavior"in document.documentElement.style)J=!0;else{const at=Element.prototype.scrollTo;J=!!at&&!/\{\s*\[native code\]\s*\}/.test(at.toString())}}return J}function ct(){if("object"!=typeof document||!document)return q.NORMAL;if(null==Y){const at=document.createElement("div"),st=at.style;at.dir="rtl",st.width="1px",st.overflow="auto",st.visibility="hidden",st.pointerEvents="none",st.position="absolute";const vt=document.createElement("div"),Pt=vt.style;Pt.width="2px",Pt.height="1px",at.appendChild(vt),document.body.appendChild(at),Y=q.NORMAL,0===at.scrollLeft&&(at.scrollLeft=1,Y=0===at.scrollLeft?q.NEGATED:q.INVERTED),at.remove()}return Y}function Et(at){if(function kt(){if(null==pt){const at=typeof document<"u"?document.head:null;pt=!(!at||!at.createShadowRoot&&!at.attachShadow)}return pt}()){const st=at.getRootNode?at.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&st instanceof ShadowRoot)return st}return null}function It(){let at=typeof document<"u"&&document?document.activeElement:null;for(;at&&at.shadowRoot;){const st=at.shadowRoot.activeElement;if(st===at)break;at=st}return at}function yt(at){return at.composedPath?at.composedPath()[0]:at.target}function _t(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6192:(i,s,o)=>{"use strict";o.d(s,{A8:()=>O,I3:()=>Et,VA:()=>P,aI:()=>ht,jc:()=>yt,lb:()=>Y});var n=o(3107),a=o(4460);class T{_attachedHost;attach(st){return this._attachedHost=st,st.attach(this)}detach(){let st=this._attachedHost;null!=st&&(this._attachedHost=null,st.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(st){this._attachedHost=st}}class O extends T{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(st,vt,Pt,ae,le){super(),this.component=st,this.viewContainerRef=vt,this.injector=Pt,this.projectableNodes=le}}class P extends T{templateRef;viewContainerRef;context;injector;constructor(st,vt,Pt,ae){super(),this.templateRef=st,this.viewContainerRef=vt,this.context=Pt,this.injector=ae}get origin(){return this.templateRef.elementRef}attach(st,vt=this.context){return this.context=vt,super.attach(st)}detach(){return this.context=void 0,super.detach()}}class q extends T{element;constructor(st){super(),this.element=st instanceof n.aKT?st.nativeElement:st}}class Y{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(st){return st instanceof O?(this._attachedPortal=st,this.attachComponentPortal(st)):st instanceof P?(this._attachedPortal=st,this.attachTemplatePortal(st)):this.attachDomPortal&&st instanceof q?(this._attachedPortal=st,this.attachDomPortal(st)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(st){this._disposeFn=st}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class ht extends Y{outletElement;_appRef;_defaultInjector;_document;constructor(st,vt,Pt,ae,le){super(),this.outletElement=st,this._appRef=Pt,this._defaultInjector=ae,this._document=le}attachComponentPortal(st){let vt;if(st.viewContainerRef){const Pt=st.injector||st.viewContainerRef.injector,ae=Pt.get(n.Vns,null,{optional:!0})||void 0;vt=st.viewContainerRef.createComponent(st.component,{index:st.viewContainerRef.length,injector:Pt,ngModuleRef:ae,projectableNodes:st.projectableNodes||void 0}),this.setDisposeFn(()=>vt.destroy())}else vt=(0,n.a0P)(st.component,{elementInjector:st.injector||this._defaultInjector||n.zZn.NULL,environmentInjector:this._appRef.injector,projectableNodes:st.projectableNodes||void 0}),this._appRef.attachView(vt.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(vt.hostView),vt.destroy()});return this.outletElement.appendChild(this._getComponentRootNode(vt)),this._attachedPortal=st,vt}attachTemplatePortal(st){let vt=st.viewContainerRef,Pt=vt.createEmbeddedView(st.templateRef,st.context,{injector:st.injector});return Pt.rootNodes.forEach(ae=>this.outletElement.appendChild(ae)),Pt.detectChanges(),this.setDisposeFn(()=>{let ae=vt.indexOf(Pt);-1!==ae&&vt.remove(ae)}),this._attachedPortal=st,Pt}attachDomPortal=st=>{const vt=st.element,Pt=this._document.createComment("dom-portal");vt.parentNode.insertBefore(Pt,vt),this.outletElement.appendChild(vt),this._attachedPortal=st,super.setDisposeFn(()=>{Pt.parentNode&&Pt.parentNode.replaceChild(vt,Pt)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(st){return st.hostView.rootNodes[0]}}let Et=(()=>{class at extends Y{_moduleRef=(0,n.WQX)(n.Vns,{optional:!0});_document=(0,n.WQX)(a.qQ);_viewContainerRef=(0,n.WQX)(n.c1b);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(vt){this.hasAttached()&&!vt&&!this._isInitialized||(this.hasAttached()&&super.detach(),vt&&super.attach(vt),this._attachedPortal=vt||null)}attached=new n.bkB;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(vt){vt.setAttachedHost(this);const Pt=null!=vt.viewContainerRef?vt.viewContainerRef:this._viewContainerRef,ae=Pt.createComponent(vt.component,{index:Pt.length,injector:vt.injector||Pt.injector,projectableNodes:vt.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return Pt!==this._viewContainerRef&&this._getRootNode().appendChild(ae.hostView.rootNodes[0]),super.setDisposeFn(()=>ae.destroy()),this._attachedPortal=vt,this._attachedRef=ae,this.attached.emit(ae),ae}attachTemplatePortal(vt){vt.setAttachedHost(this);const Pt=this._viewContainerRef.createEmbeddedView(vt.templateRef,vt.context,{injector:vt.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=vt,this._attachedRef=Pt,this.attached.emit(Pt),Pt}attachDomPortal=vt=>{const Pt=vt.element,ae=this._document.createComment("dom-portal");vt.setAttachedHost(this),Pt.parentNode.insertBefore(ae,Pt),this._getRootNode().appendChild(Pt),this._attachedPortal=vt,super.setDisposeFn(()=>{ae.parentNode&&ae.parentNode.replaceChild(Pt,ae)})};_getRootNode(){const vt=this._viewContainerRef.element.nativeElement;return vt.nodeType===vt.ELEMENT_NODE?vt:vt.parentNode}static \u0275fac=function(Pt){return new(Pt||at)};static \u0275dir=n.FsC({type:at,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.Vt3]})}return at})(),yt=(()=>{class at{static \u0275fac=function(Pt){return new(Pt||at)};static \u0275mod=n.$C({type:at});static \u0275inj=n.G2t({})}return at})()},5467:(i,s,o)=>{"use strict";o.d(s,{Y:()=>y,l:()=>l});var n=o(3107);const a=new WeakMap;let l=(()=>{class k{_appRef;_injector=(0,n.WQX)(n.zZn);_environmentInjector=(0,n.WQX)(n.uvJ);load(A){const S=this._appRef=this._appRef||this._injector.get(n.o8S);let T=a.get(S);T||(T={loaders:new Set,refs:[]},a.set(S,T),S.onDestroy(()=>{a.get(S)?.refs.forEach(O=>O.destroy()),a.delete(S)})),T.loaders.has(A)||(T.loaders.add(A),T.refs.push((0,n.a0P)(A,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(S){return new(S||k)};static \u0275prov=n.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})(),y=(()=>{class k{static \u0275fac=function(S){return new(S||k)};static \u0275cmp=n.VBU({type:k,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(S,T){},styles:[".cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}"],encapsulation:2,changeDetection:0})}return k})()},8108:(i,s,o)=>{"use strict";o.d(s,{uv:()=>se,Gj:()=>Yt,R:()=>ve,E9:()=>oe,Xj:()=>fr});var n=o(3022),a=o(3107),l=o(8447),y=o(3016),k=o(1698),C=o(909),A=o(9899),S=o(5710);const T={schedule(Oe){let $e=requestAnimationFrame,Dt=cancelAnimationFrame;const{delegate:wt}=T;wt&&($e=wt.requestAnimationFrame,Dt=wt.cancelAnimationFrame);const ie=$e(Xe=>{Dt=void 0,Oe(Xe)});return new S.yU(()=>Dt?.(ie))},requestAnimationFrame(...Oe){const{delegate:$e}=T;return($e?.requestAnimationFrame||requestAnimationFrame)(...Oe)},cancelAnimationFrame(...Oe){const{delegate:$e}=T;return($e?.cancelAnimationFrame||cancelAnimationFrame)(...Oe)},delegate:void 0};var P=o(8050);new class q extends P.q{flush($e){this._active=!0;const Dt=this._scheduled;this._scheduled=void 0;const{actions:wt}=this;let ie;$e=$e||wt.shift();do{if(ie=$e.execute($e.state,$e.delay))break}while(($e=wt[0])&&$e.id===Dt&&wt.shift());if(this._active=!1,ie){for(;($e=wt[0])&&$e.id===Dt&&wt.shift();)$e.unsubscribe();throw ie}}}(class O extends A.R{constructor($e,Dt){super($e,Dt),this.scheduler=$e,this.work=Dt}requestAsyncId($e,Dt,wt=0){return null!==wt&&wt>0?super.requestAsyncId($e,Dt,wt):($e.actions.push(this),$e._scheduled||($e._scheduled=T.requestAnimationFrame(()=>$e.flush(void 0))))}recycleAsyncId($e,Dt,wt=0){var ie;if(null!=wt?wt>0:this.delay>0)return super.recycleAsyncId($e,Dt,wt);const{actions:Xe}=$e;null!=Dt&&(null===(ie=Xe[Xe.length-1])||void 0===ie?void 0:ie.id)!==Dt&&(T.cancelAnimationFrame(Dt),$e._scheduled=void 0)}});o(4984);var ct=o(5684),pt=o(1483),kt=o(5424),Et=o(2147),It=o(4460),yt=o(2944);let ve=(()=>{class Oe{_ngZone=(0,a.WQX)(a.SKi);_platform=(0,a.WQX)(Et.OD);_document=(0,a.WQX)(It.qQ,{optional:!0});constructor(){}_scrolled=new l.B;_globalSubscription=null;_scrolledCount=0;scrollContainers=new Map;register(Dt){this.scrollContainers.has(Dt)||this.scrollContainers.set(Dt,Dt.elementScrolled().subscribe(()=>this._scrolled.next(Dt)))}deregister(Dt){const wt=this.scrollContainers.get(Dt);wt&&(wt.unsubscribe(),this.scrollContainers.delete(Dt))}scrolled(Dt=20){return this._platform.isBrowser?new k.c(wt=>{this._globalSubscription||this._addGlobalListener();const ie=Dt>0?this._scrolled.pipe((0,ct.Z)(Dt)).subscribe(wt):this._scrolled.subscribe(wt);return this._scrolledCount++,()=>{ie.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,y.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((Dt,wt)=>this.deregister(wt)),this._scrolled.complete()}ancestorScrolled(Dt,wt){const ie=this.getAncestorScrollContainers(Dt);return this.scrolled(wt).pipe((0,pt.p)(Xe=>!Xe||ie.indexOf(Xe)>-1))}getAncestorScrollContainers(Dt){const wt=[];return this.scrollContainers.forEach((ie,Xe)=>{this._scrollableContainsElement(Xe,Dt)&&wt.push(Xe)}),wt}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(Dt,wt){let ie=(0,n.i8)(wt),Xe=Dt.getElementRef().nativeElement;do{if(ie==Xe)return!0}while(ie=ie.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const Dt=this._getWindow();return(0,C.R)(Dt.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static \u0275fac=function(wt){return new(wt||Oe)};static \u0275prov=a.jDH({token:Oe,factory:Oe.\u0275fac,providedIn:"root"})}return Oe})(),se=(()=>{class Oe{elementRef=(0,a.WQX)(a.aKT);scrollDispatcher=(0,a.WQX)(ve);ngZone=(0,a.WQX)(a.SKi);dir=(0,a.WQX)(yt.dS,{optional:!0});_destroyed=new l.B;_elementScrolled=new k.c(Dt=>this.ngZone.runOutsideAngular(()=>(0,C.R)(this.elementRef.nativeElement,"scroll").pipe((0,kt.Q)(this._destroyed)).subscribe(Dt)));constructor(){}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(Dt){const wt=this.elementRef.nativeElement,ie=this.dir&&"rtl"==this.dir.value;null==Dt.left&&(Dt.left=ie?Dt.end:Dt.start),null==Dt.right&&(Dt.right=ie?Dt.start:Dt.end),null!=Dt.bottom&&(Dt.top=wt.scrollHeight-wt.clientHeight-Dt.bottom),ie&&(0,Et.BD)()!=Et.r5.NORMAL?(null!=Dt.left&&(Dt.right=wt.scrollWidth-wt.clientWidth-Dt.left),(0,Et.BD)()==Et.r5.INVERTED?Dt.left=Dt.right:(0,Et.BD)()==Et.r5.NEGATED&&(Dt.left=Dt.right?-Dt.right:Dt.right)):null!=Dt.right&&(Dt.left=wt.scrollWidth-wt.clientWidth-Dt.right),this._applyScrollToOptions(Dt)}_applyScrollToOptions(Dt){const wt=this.elementRef.nativeElement;(0,Et.CZ)()?wt.scrollTo(Dt):(null!=Dt.top&&(wt.scrollTop=Dt.top),null!=Dt.left&&(wt.scrollLeft=Dt.left))}measureScrollOffset(Dt){const wt="left",Xe=this.elementRef.nativeElement;if("top"==Dt)return Xe.scrollTop;if("bottom"==Dt)return Xe.scrollHeight-Xe.clientHeight-Xe.scrollTop;const Te=this.dir&&"rtl"==this.dir.value;return"start"==Dt?Dt=Te?"right":wt:"end"==Dt&&(Dt=Te?wt:"right"),Te&&(0,Et.BD)()==Et.r5.INVERTED?Dt==wt?Xe.scrollWidth-Xe.clientWidth-Xe.scrollLeft:Xe.scrollLeft:Te&&(0,Et.BD)()==Et.r5.NEGATED?Dt==wt?Xe.scrollLeft+Xe.scrollWidth-Xe.clientWidth:-Xe.scrollLeft:Dt==wt?Xe.scrollLeft:Xe.scrollWidth-Xe.clientWidth-Xe.scrollLeft}static \u0275fac=function(wt){return new(wt||Oe)};static \u0275dir=a.FsC({type:Oe,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return Oe})(),fr=(()=>{class Oe{_platform=(0,a.WQX)(Et.OD);_viewportSize;_change=new l.B;_changeListener=Dt=>{this._change.next(Dt)};_document=(0,a.WQX)(It.qQ,{optional:!0});constructor(){(0,a.WQX)(a.SKi).runOutsideAngular(()=>{if(this._platform.isBrowser){const wt=this._getWindow();wt.addEventListener("resize",this._changeListener),wt.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const Dt=this._getWindow();Dt.removeEventListener("resize",this._changeListener),Dt.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const Dt={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),Dt}getViewportRect(){const Dt=this.getViewportScrollPosition(),{width:wt,height:ie}=this.getViewportSize();return{top:Dt.top,left:Dt.left,bottom:Dt.top+ie,right:Dt.left+wt,height:ie,width:wt}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const Dt=this._document,wt=this._getWindow(),ie=Dt.documentElement,Xe=ie.getBoundingClientRect();return{top:-Xe.top||Dt.body.scrollTop||wt.scrollY||ie.scrollTop||0,left:-Xe.left||Dt.body.scrollLeft||wt.scrollX||ie.scrollLeft||0}}change(Dt=20){return Dt>0?this._change.pipe((0,ct.Z)(Dt)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const Dt=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:Dt.innerWidth,height:Dt.innerHeight}:{width:0,height:0}}static \u0275fac=function(wt){return new(wt||Oe)};static \u0275prov=a.jDH({token:Oe,factory:Oe.\u0275fac,providedIn:"root"})}return Oe})(),Yt=(()=>{class Oe{static \u0275fac=function(wt){return new(wt||Oe)};static \u0275mod=a.$C({type:Oe});static \u0275inj=a.G2t({})}return Oe})(),oe=(()=>{class Oe{static \u0275fac=function(wt){return new(wt||Oe)};static \u0275mod=a.$C({type:Oe});static \u0275inj=a.G2t({imports:[yt.jI,Yt,yt.jI,Yt]})}return Oe})()},708:(i,s,o)=>{"use strict";o.d(s,{EE:()=>ct,P8:()=>Y,xb:()=>ht});var n=o(2147),a=o(3107),l=o(5467),y=o(3022),k=o(6564),C=o(8447),A=o(909),S=o(4460),T=o(5684),O=o(5424);let P=(()=>{class pt{static \u0275fac=function(It){return new(It||pt)};static \u0275cmp=a.VBU({type:pt,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(It,yt){},styles:["textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}"],encapsulation:2,changeDetection:0})}return pt})();const q=(0,n.BQ)({passive:!0});let Y=(()=>{class pt{_platform=(0,a.WQX)(n.OD);_ngZone=(0,a.WQX)(a.SKi);_styleLoader=(0,a.WQX)(l.l);_monitoredElements=new Map;constructor(){}monitor(Et){if(!this._platform.isBrowser)return k.w;this._styleLoader.load(P);const It=(0,y.i8)(Et),yt=this._monitoredElements.get(It);if(yt)return yt.subject;const _t=new C.B,at="cdk-text-field-autofilled",st=vt=>{"cdk-text-field-autofill-start"!==vt.animationName||It.classList.contains(at)?"cdk-text-field-autofill-end"===vt.animationName&&It.classList.contains(at)&&(It.classList.remove(at),this._ngZone.run(()=>_t.next({target:vt.target,isAutofilled:!1}))):(It.classList.add(at),this._ngZone.run(()=>_t.next({target:vt.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{It.addEventListener("animationstart",st,q),It.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(It,{subject:_t,unlisten:()=>{It.removeEventListener("animationstart",st,q)}}),_t}stopMonitoring(Et){const It=(0,y.i8)(Et),yt=this._monitoredElements.get(It);yt&&(yt.unlisten(),yt.subject.complete(),It.classList.remove("cdk-text-field-autofill-monitored"),It.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(It))}ngOnDestroy(){this._monitoredElements.forEach((Et,It)=>this.stopMonitoring(It))}static \u0275fac=function(It){return new(It||pt)};static \u0275prov=a.jDH({token:pt,factory:pt.\u0275fac,providedIn:"root"})}return pt})(),ht=(()=>{class pt{_elementRef=(0,a.WQX)(a.aKT);_platform=(0,a.WQX)(n.OD);_ngZone=(0,a.WQX)(a.SKi);_previousValue;_initialHeight;_destroyed=new C.B;_minRows;_maxRows;_enabled=!0;_previousMinRows=-1;_textareaElement;get minRows(){return this._minRows}set minRows(Et){this._minRows=(0,y.OE)(Et),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(Et){this._maxRows=(0,y.OE)(Et),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(Et){this._enabled!==Et&&((this._enabled=Et)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(Et){this._cachedPlaceholderHeight=void 0,Et?this._textareaElement.setAttribute("placeholder",Et):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_cachedLineHeight;_cachedPlaceholderHeight;_document=(0,a.WQX)(S.qQ,{optional:!0});_hasFocus;_isViewInited=!1;constructor(){(0,a.WQX)(l.l).load(P),this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){const Et=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;Et&&(this._textareaElement.style.minHeight=Et)}_setMaxHeight(){const Et=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;Et&&(this._textareaElement.style.maxHeight=Et)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const Et=this._getWindow();(0,A.R)(Et,"resize").pipe((0,T.Z)(16),(0,O.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 Et=this._textareaElement.cloneNode(!1);Et.rows=1,Et.style.position="absolute",Et.style.visibility="hidden",Et.style.border="none",Et.style.padding="0",Et.style.height="",Et.style.minHeight="",Et.style.maxHeight="",Et.style.overflow="hidden",this._textareaElement.parentNode.appendChild(Et),this._cachedLineHeight=Et.clientHeight,Et.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const Et=this._textareaElement,It=Et.style.marginBottom||"",yt=this._platform.FIREFOX,_t=yt&&this._hasFocus,at=yt?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";_t&&(Et.style.marginBottom=`${Et.clientHeight}px`),Et.classList.add(at);const st=Et.scrollHeight-4;return Et.classList.remove(at),_t&&(Et.style.marginBottom=It),st}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const Et=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=Et}_handleFocusEvent=Et=>{this._hasFocus="focus"===Et.type};ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(Et=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const It=this._elementRef.nativeElement,yt=It.value;if(!Et&&this._minRows===this._previousMinRows&&yt===this._previousValue)return;const _t=this._measureScrollHeight(),at=Math.max(_t,this._cachedPlaceholderHeight||0);It.style.height=`${at}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(It)):setTimeout(()=>this._scrollToCaretPosition(It))}),this._previousValue=yt,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(Et){const{selectionStart:It,selectionEnd:yt}=Et;!this._destroyed.isStopped&&this._hasFocus&&Et.setSelectionRange(It,yt)}static \u0275fac=function(It){return new(It||pt)};static \u0275dir=a.FsC({type:pt,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(It,yt){1&It&&a.bIt("input",function(){return yt._noopInputHandler()})},inputs:{minRows:[0,"cdkAutosizeMinRows","minRows"],maxRows:[0,"cdkAutosizeMaxRows","maxRows"],enabled:[2,"cdkTextareaAutosize","enabled",a.L39],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"],features:[a.GFd]})}return pt})(),ct=(()=>{class pt{static \u0275fac=function(It){return new(It||pt)};static \u0275mod=a.$C({type:pt});static \u0275inj=a.G2t({})}return pt})()},4460:(i,s,o)=>{"use strict";o.d(s,{AJ:()=>co,B3:()=>Eo,Jj:()=>ta,MD:()=>Ci,N0:()=>Sa,PV:()=>Pn,QT:()=>y,Sm:()=>pt,Sq:()=>ft,T3:()=>bn,UE:()=>Ga,VF:()=>C,Vy:()=>ma,Xr:()=>ca,YU:()=>Mi,ZD:()=>k,_b:()=>si,aZ:()=>Et,bT:()=>me,fw:()=>kt,hb:()=>ht,hj:()=>O,jo:()=>pa,qQ:()=>S,vh:()=>Ea});var n=o(3107),a=o(8447);let l=null;function y(){return l}function k(U){l??=U}class C{}const S=new n.nKC("");let T=(()=>{class U{historyGo(rt){throw new Error("")}static \u0275fac=function(mt){return new(mt||U)};static \u0275prov=n.jDH({token:U,factory:()=>(0,n.WQX)(P),providedIn:"platform"})}return U})();const O=new n.nKC("");let P=(()=>{class U extends T{_location;_history;_doc=(0,n.WQX)(S);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return y().getBaseHref(this._doc)}onPopState(rt){const mt=y().getGlobalEventTarget(this._doc,"window");return mt.addEventListener("popstate",rt,!1),()=>mt.removeEventListener("popstate",rt)}onHashChange(rt){const mt=y().getGlobalEventTarget(this._doc,"window");return mt.addEventListener("hashchange",rt,!1),()=>mt.removeEventListener("hashchange",rt)}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(rt){this._location.pathname=rt}pushState(rt,mt,xe){this._history.pushState(rt,mt,xe)}replaceState(rt,mt,xe){this._history.replaceState(rt,mt,xe)}forward(){this._history.forward()}back(){this._history.back()}historyGo(rt=0){this._history.go(rt)}getState(){return this._history.state}static \u0275fac=function(mt){return new(mt||U)};static \u0275prov=n.jDH({token:U,factory:()=>new U,providedIn:"platform"})}return U})();function q(U,Tt){if(0==U.length)return Tt;if(0==Tt.length)return U;let rt=0;return U.endsWith("/")&&rt++,Tt.startsWith("/")&&rt++,2==rt?U+Tt.substring(1):1==rt?U+Tt:U+"/"+Tt}function Y(U){const Tt=U.match(/#|\?|$/),rt=Tt&&Tt.index||U.length;return U.slice(0,rt-("/"===U[rt-1]?1:0))+U.slice(rt)}function J(U){return U&&"?"!==U[0]?"?"+U:U}let ht=(()=>{class U{historyGo(rt){throw new Error("")}static \u0275fac=function(mt){return new(mt||U)};static \u0275prov=n.jDH({token:U,factory:()=>(0,n.WQX)(pt),providedIn:"root"})}return U})();const ct=new n.nKC("");let pt=(()=>{class U extends ht{_platformLocation;_baseHref;_removeListenerFns=[];constructor(rt,mt){super(),this._platformLocation=rt,this._baseHref=mt??this._platformLocation.getBaseHrefFromDOM()??(0,n.WQX)(S).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(rt){this._removeListenerFns.push(this._platformLocation.onPopState(rt),this._platformLocation.onHashChange(rt))}getBaseHref(){return this._baseHref}prepareExternalUrl(rt){return q(this._baseHref,rt)}path(rt=!1){const mt=this._platformLocation.pathname+J(this._platformLocation.search),xe=this._platformLocation.hash;return xe&&rt?`${mt}${xe}`:mt}pushState(rt,mt,xe,Ge){const Br=this.prepareExternalUrl(xe+J(Ge));this._platformLocation.pushState(rt,mt,Br)}replaceState(rt,mt,xe,Ge){const Br=this.prepareExternalUrl(xe+J(Ge));this._platformLocation.replaceState(rt,mt,Br)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(rt=0){this._platformLocation.historyGo?.(rt)}static \u0275fac=function(mt){return new(mt||U)(n.KVO(T),n.KVO(ct,8))};static \u0275prov=n.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})(),kt=(()=>{class U extends ht{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(rt,mt){super(),this._platformLocation=rt,null!=mt&&(this._baseHref=mt)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(rt){this._removeListenerFns.push(this._platformLocation.onPopState(rt),this._platformLocation.onHashChange(rt))}getBaseHref(){return this._baseHref}path(rt=!1){const mt=this._platformLocation.hash??"#";return mt.length>0?mt.substring(1):mt}prepareExternalUrl(rt){const mt=q(this._baseHref,rt);return mt.length>0?"#"+mt:mt}pushState(rt,mt,xe,Ge){let Br=this.prepareExternalUrl(xe+J(Ge));0==Br.length&&(Br=this._platformLocation.pathname),this._platformLocation.pushState(rt,mt,Br)}replaceState(rt,mt,xe,Ge){let Br=this.prepareExternalUrl(xe+J(Ge));0==Br.length&&(Br=this._platformLocation.pathname),this._platformLocation.replaceState(rt,mt,Br)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(rt=0){this._platformLocation.historyGo?.(rt)}static \u0275fac=function(mt){return new(mt||U)(n.KVO(T),n.KVO(ct,8))};static \u0275prov=n.jDH({token:U,factory:U.\u0275fac})}return U})(),Et=(()=>{class U{_subject=new a.B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(rt){this._locationStrategy=rt;const mt=this._locationStrategy.getBaseHref();this._basePath=function at(U){if(new RegExp("^(https?:)?//").test(U)){const[,rt]=U.split(/\/\/[^\/]+/);return rt}return U}(Y(_t(mt))),this._locationStrategy.onPopState(xe=>{this._subject.next({url:this.path(!0),pop:!0,state:xe.state,type:xe.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(rt=!1){return this.normalize(this._locationStrategy.path(rt))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(rt,mt=""){return this.path()==this.normalize(rt+J(mt))}normalize(rt){return U.stripTrailingSlash(function yt(U,Tt){if(!U||!Tt.startsWith(U))return Tt;const rt=Tt.substring(U.length);return""===rt||["/",";","?","#"].includes(rt[0])?rt:Tt}(this._basePath,_t(rt)))}prepareExternalUrl(rt){return rt&&"/"!==rt[0]&&(rt="/"+rt),this._locationStrategy.prepareExternalUrl(rt)}go(rt,mt="",xe=null){this._locationStrategy.pushState(xe,"",rt,mt),this._notifyUrlChangeListeners(this.prepareExternalUrl(rt+J(mt)),xe)}replaceState(rt,mt="",xe=null){this._locationStrategy.replaceState(xe,"",rt,mt),this._notifyUrlChangeListeners(this.prepareExternalUrl(rt+J(mt)),xe)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(rt=0){this._locationStrategy.historyGo?.(rt)}onUrlChange(rt){return this._urlChangeListeners.push(rt),this._urlChangeSubscription??=this.subscribe(mt=>{this._notifyUrlChangeListeners(mt.url,mt.state)}),()=>{const mt=this._urlChangeListeners.indexOf(rt);this._urlChangeListeners.splice(mt,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(rt="",mt){this._urlChangeListeners.forEach(xe=>xe(rt,mt))}subscribe(rt,mt,xe){return this._subject.subscribe({next:rt,error:mt??void 0,complete:xe??void 0})}static normalizeQueryParams=J;static joinWithSlash=q;static stripTrailingSlash=Y;static \u0275fac=function(mt){return new(mt||U)(n.KVO(ht))};static \u0275prov=n.jDH({token:U,factory:()=>function It(){return new Et((0,n.KVO)(ht))}(),providedIn:"root"})}return U})();function _t(U){return U.replace(/\/index.html$/,"")}var Pt=function(U){return U[U.Zero=0]="Zero",U[U.One=1]="One",U[U.Two=2]="Two",U[U.Few=3]="Few",U[U.Many=4]="Many",U[U.Other=5]="Other",U}(Pt||{}),ae=function(U){return U[U.Format=0]="Format",U[U.Standalone=1]="Standalone",U}(ae||{}),le=function(U){return U[U.Narrow=0]="Narrow",U[U.Abbreviated=1]="Abbreviated",U[U.Wide=2]="Wide",U[U.Short=3]="Short",U}(le||{}),ve=function(U){return U[U.Short=0]="Short",U[U.Medium=1]="Medium",U[U.Long=2]="Long",U[U.Full=3]="Full",U}(ve||{});const se={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 Bt(U,Tt){return Ve((0,n.H5H)(U)[n.KH2.DateFormat],Tt)}function Fe(U,Tt){return Ve((0,n.H5H)(U)[n.KH2.TimeFormat],Tt)}function zt(U,Tt){return Ve((0,n.H5H)(U)[n.KH2.DateTimeFormat],Tt)}function Yt(U,Tt){const rt=(0,n.H5H)(U),mt=rt[n.KH2.NumberSymbols][Tt];if(typeof mt>"u"){if(Tt===se.CurrencyDecimal)return rt[n.KH2.NumberSymbols][se.Decimal];if(Tt===se.CurrencyGroup)return rt[n.KH2.NumberSymbols][se.Group]}return mt}const ie=n.mq5;function Xe(U){if(!U[n.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${U[n.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ve(U,Tt){for(let rt=Tt;rt>-1;rt--)if(typeof U[rt]<"u")return U[rt];throw new Error("Locale data API: locale data undefined")}function tr(U){const[Tt,rt]=U.split(":");return{hours:+Tt,minutes:+rt}}const Or=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,fo={},cr=/((?:[^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 Lt=function(U){return U[U.Short=0]="Short",U[U.ShortGMT=1]="ShortGMT",U[U.Long=2]="Long",U[U.Extended=3]="Extended",U}(Lt||{}),At=function(U){return U[U.FullYear=0]="FullYear",U[U.Month=1]="Month",U[U.Date=2]="Date",U[U.Hours=3]="Hours",U[U.Minutes=4]="Minutes",U[U.Seconds=5]="Seconds",U[U.FractionalSeconds=6]="FractionalSeconds",U[U.Day=7]="Day",U}(At||{}),Zt=function(U){return U[U.DayPeriods=0]="DayPeriods",U[U.Days=1]="Days",U[U.Months=2]="Months",U[U.Eras=3]="Eras",U}(Zt||{});function W(U,Tt,rt,mt){let xe=function ce(U){if(vr(U))return U;if("number"==typeof U&&!isNaN(U))return new Date(U);if("string"==typeof U){if(U=U.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(U)){const[xe,Ge=1,Br=1]=U.split("-").map(eo=>+eo);return N(xe,Ge-1,Br)}const rt=parseFloat(U);if(!isNaN(U-rt))return new Date(rt);let mt;if(mt=U.match(Or))return function Be(U){const Tt=new Date(0);let rt=0,mt=0;const xe=U[8]?Tt.setUTCFullYear:Tt.setFullYear,Ge=U[8]?Tt.setUTCHours:Tt.setHours;U[9]&&(rt=Number(U[9]+U[10]),mt=Number(U[9]+U[11])),xe.call(Tt,Number(U[1]),Number(U[2])-1,Number(U[3]));const Br=Number(U[4]||0)-rt,eo=Number(U[5]||0)-mt,dn=Number(U[6]||0),In=Math.floor(1e3*parseFloat("0."+(U[7]||0)));return Ge.call(Tt,Br,eo,dn,In),Tt}(mt)}const Tt=new Date(U);if(!vr(Tt))throw new Error(`Unable to convert "${U}" into a date`);return Tt}(U);Tt=z(rt,Tt)||Tt;let eo,Br=[];for(;Tt;){if(eo=cr.exec(Tt),!eo){Br.push(Tt);break}{Br=Br.concat(eo.slice(1));const Dn=Br.pop();if(!Dn)break;Tt=Dn}}let dn=xe.getTimezoneOffset();mt&&(dn=Wt(mt,dn),xe=function Ce(U,Tt,rt){const mt=rt?-1:1,xe=U.getTimezoneOffset();return function $t(U,Tt){return(U=new Date(U.getTime())).setMinutes(U.getMinutes()+Tt),U}(U,mt*(Wt(Tt,xe)-xe))}(xe,mt,!0));let In="";return Br.forEach(Dn=>{const No=function Mt(U){if(ze[U])return ze[U];let Tt;switch(U){case"G":case"GG":case"GGG":Tt=ar(Zt.Eras,le.Abbreviated);break;case"GGGG":Tt=ar(Zt.Eras,le.Wide);break;case"GGGGG":Tt=ar(Zt.Eras,le.Narrow);break;case"y":Tt=Se(At.FullYear,1,0,!1,!0);break;case"yy":Tt=Se(At.FullYear,2,0,!0,!0);break;case"yyy":Tt=Se(At.FullYear,3,0,!1,!0);break;case"yyyy":Tt=Se(At.FullYear,4,0,!1,!0);break;case"Y":Tt=we(1);break;case"YY":Tt=we(2,!0);break;case"YYY":Tt=we(3);break;case"YYYY":Tt=we(4);break;case"M":case"L":Tt=Se(At.Month,1,1);break;case"MM":case"LL":Tt=Se(At.Month,2,1);break;case"MMM":Tt=ar(Zt.Months,le.Abbreviated);break;case"MMMM":Tt=ar(Zt.Months,le.Wide);break;case"MMMMM":Tt=ar(Zt.Months,le.Narrow);break;case"LLL":Tt=ar(Zt.Months,le.Abbreviated,ae.Standalone);break;case"LLLL":Tt=ar(Zt.Months,le.Wide,ae.Standalone);break;case"LLLLL":Tt=ar(Zt.Months,le.Narrow,ae.Standalone);break;case"w":Tt=Ho(1);break;case"ww":Tt=Ho(2);break;case"W":Tt=Ho(1,!0);break;case"d":Tt=Se(At.Date,1);break;case"dd":Tt=Se(At.Date,2);break;case"c":case"cc":Tt=Se(At.Day,1);break;case"ccc":Tt=ar(Zt.Days,le.Abbreviated,ae.Standalone);break;case"cccc":Tt=ar(Zt.Days,le.Wide,ae.Standalone);break;case"ccccc":Tt=ar(Zt.Days,le.Narrow,ae.Standalone);break;case"cccccc":Tt=ar(Zt.Days,le.Short,ae.Standalone);break;case"E":case"EE":case"EEE":Tt=ar(Zt.Days,le.Abbreviated);break;case"EEEE":Tt=ar(Zt.Days,le.Wide);break;case"EEEEE":Tt=ar(Zt.Days,le.Narrow);break;case"EEEEEE":Tt=ar(Zt.Days,le.Short);break;case"a":case"aa":case"aaa":Tt=ar(Zt.DayPeriods,le.Abbreviated);break;case"aaaa":Tt=ar(Zt.DayPeriods,le.Wide);break;case"aaaaa":Tt=ar(Zt.DayPeriods,le.Narrow);break;case"b":case"bb":case"bbb":Tt=ar(Zt.DayPeriods,le.Abbreviated,ae.Standalone,!0);break;case"bbbb":Tt=ar(Zt.DayPeriods,le.Wide,ae.Standalone,!0);break;case"bbbbb":Tt=ar(Zt.DayPeriods,le.Narrow,ae.Standalone,!0);break;case"B":case"BB":case"BBB":Tt=ar(Zt.DayPeriods,le.Abbreviated,ae.Format,!0);break;case"BBBB":Tt=ar(Zt.DayPeriods,le.Wide,ae.Format,!0);break;case"BBBBB":Tt=ar(Zt.DayPeriods,le.Narrow,ae.Format,!0);break;case"h":Tt=Se(At.Hours,1,-12);break;case"hh":Tt=Se(At.Hours,2,-12);break;case"H":Tt=Se(At.Hours,1);break;case"HH":Tt=Se(At.Hours,2);break;case"m":Tt=Se(At.Minutes,1);break;case"mm":Tt=Se(At.Minutes,2);break;case"s":Tt=Se(At.Seconds,1);break;case"ss":Tt=Se(At.Seconds,2);break;case"S":Tt=Se(At.FractionalSeconds,1);break;case"SS":Tt=Se(At.FractionalSeconds,2);break;case"SSS":Tt=Se(At.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Tt=Mr(Lt.Short);break;case"ZZZZZ":Tt=Mr(Lt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Tt=Mr(Lt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Tt=Mr(Lt.Long);break;default:return null}return ze[U]=Tt,Tt}(Dn);In+=No?No(xe,rt,dn):"''"===Dn?"'":Dn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),In}function N(U,Tt,rt){const mt=new Date(0);return mt.setFullYear(U,Tt,rt),mt.setHours(0,0,0),mt}function z(U,Tt){const rt=function fr(U){return(0,n.H5H)(U)[n.KH2.LocaleId]}(U);if(fo[rt]??={},fo[rt][Tt])return fo[rt][Tt];let mt="";switch(Tt){case"shortDate":mt=Bt(U,ve.Short);break;case"mediumDate":mt=Bt(U,ve.Medium);break;case"longDate":mt=Bt(U,ve.Long);break;case"fullDate":mt=Bt(U,ve.Full);break;case"shortTime":mt=Fe(U,ve.Short);break;case"mediumTime":mt=Fe(U,ve.Medium);break;case"longTime":mt=Fe(U,ve.Long);break;case"fullTime":mt=Fe(U,ve.Full);break;case"short":const xe=z(U,"shortTime"),Ge=z(U,"shortDate");mt=Rt(zt(U,ve.Short),[xe,Ge]);break;case"medium":const Br=z(U,"mediumTime"),eo=z(U,"mediumDate");mt=Rt(zt(U,ve.Medium),[Br,eo]);break;case"long":const dn=z(U,"longTime"),In=z(U,"longDate");mt=Rt(zt(U,ve.Long),[dn,In]);break;case"full":const Dn=z(U,"fullTime"),No=z(U,"fullDate");mt=Rt(zt(U,ve.Full),[Dn,No])}return mt&&(fo[rt][Tt]=mt),mt}function Rt(U,Tt){return Tt&&(U=U.replace(/\{([^}]+)}/g,function(rt,mt){return null!=Tt&&mt in Tt?Tt[mt]:rt})),U}function ue(U,Tt,rt="-",mt,xe){let Ge="";(U<0||xe&&U<=0)&&(xe?U=1-U:(U=-U,Ge=rt));let Br=String(U);for(;Br.length0||eo>-rt)&&(eo+=rt),U===At.Hours)0===eo&&-12===rt&&(eo=12);else if(U===At.FractionalSeconds)return function he(U,Tt){return ue(U,3).substring(0,Tt)}(eo,Tt);const dn=Yt(Br,se.MinusSign);return ue(eo,Tt,dn,mt,xe)}}function ar(U,Tt,rt=ae.Format,mt=!1){return function(xe,Ge){return function dr(U,Tt,rt,mt,xe,Ge){switch(rt){case Zt.Months:return function wr(U,Tt,rt){const mt=(0,n.H5H)(U),Ge=Ve([mt[n.KH2.MonthsFormat],mt[n.KH2.MonthsStandalone]],Tt);return Ve(Ge,rt)}(Tt,xe,mt)[U.getMonth()];case Zt.Days:return function jr(U,Tt,rt){const mt=(0,n.H5H)(U),Ge=Ve([mt[n.KH2.DaysFormat],mt[n.KH2.DaysStandalone]],Tt);return Ve(Ge,rt)}(Tt,xe,mt)[U.getDay()];case Zt.DayPeriods:const Br=U.getHours(),eo=U.getMinutes();if(Ge){const In=function Te(U){const Tt=(0,n.H5H)(U);return Xe(Tt),(Tt[n.KH2.ExtraData][2]||[]).map(mt=>"string"==typeof mt?tr(mt):[tr(mt[0]),tr(mt[1])])}(Tt),Dn=function Ke(U,Tt,rt){const mt=(0,n.H5H)(U);Xe(mt);const Ge=Ve([mt[n.KH2.ExtraData][0],mt[n.KH2.ExtraData][1]],Tt)||[];return Ve(Ge,rt)||[]}(Tt,xe,mt),No=In.findIndex(ln=>{if(Array.isArray(ln)){const[nn,xn]=ln,ya=Br>=nn.hours&&eo>=nn.minutes,Ni=Br0?Math.floor(xe/60):Math.ceil(xe/60);switch(U){case Lt.Short:return(xe>=0?"+":"")+ue(Br,2,Ge)+ue(Math.abs(xe%60),2,Ge);case Lt.ShortGMT:return"GMT"+(xe>=0?"+":"")+ue(Br,1,Ge);case Lt.Long:return"GMT"+(xe>=0?"+":"")+ue(Br,2,Ge)+":"+ue(Math.abs(xe%60),2,Ge);case Lt.Extended:return 0===mt?"Z":(xe>=0?"+":"")+ue(Br,2,Ge)+":"+ue(Math.abs(xe%60),2,Ge);default:throw new Error(`Unknown zone width "${U}"`)}}}const ao=0,xr=4;function To(U){const Tt=U.getDay(),rt=0===Tt?-3:xr-Tt;return N(U.getFullYear(),U.getMonth(),U.getDate()+rt)}function Ho(U,Tt=!1){return function(rt,mt){let xe;if(Tt){const Ge=new Date(rt.getFullYear(),rt.getMonth(),1).getDay()-1,Br=rt.getDate();xe=1+Math.floor((Br+Ge)/7)}else{const Ge=To(rt),Br=function zo(U){const Tt=N(U,ao,1).getDay();return N(U,0,1+(Tt<=xr?xr:xr+7)-Tt)}(Ge.getFullYear()),eo=Ge.getTime()-Br.getTime();xe=1+Math.round(eo/6048e5)}return ue(xe,U,Yt(mt,se.MinusSign))}}function we(U,Tt=!1){return function(rt,mt){return ue(To(rt).getFullYear(),U,Yt(mt,se.MinusSign),Tt)}}const ze={};function Wt(U,Tt){U=U.replace(/:/g,"");const rt=Date.parse("Jan 01, 1970 00:00:00 "+U)/6e4;return isNaN(rt)?Tt:rt}function vr(U){return U instanceof Date&&!isNaN(U.valueOf())}let pi=(()=>{class U{static \u0275fac=function(mt){return new(mt||U)};static \u0275prov=n.jDH({token:U,factory:function(mt){let xe=null;return mt?xe=new mt:(Ge=n.KVO(n.xe9),xe=new Fi(Ge)),xe;var Ge},providedIn:"root"})}return U})();let Fi=(()=>{class U extends pi{locale;constructor(rt){super(),this.locale=rt}getPluralCategory(rt,mt){switch(ie(mt||this.locale)(rt)){case Pt.Zero:return"zero";case Pt.One:return"one";case Pt.Two:return"two";case Pt.Few:return"few";case Pt.Many:return"many";default:return"other"}}static \u0275fac=function(mt){return new(mt||U)(n.KVO(n.xe9))};static \u0275prov=n.jDH({token:U,factory:U.\u0275fac})}return U})();function si(U,Tt){Tt=encodeURIComponent(Tt);for(const rt of U.split(";")){const mt=rt.indexOf("="),[xe,Ge]=-1==mt?[rt,""]:[rt.slice(0,mt),rt.slice(mt+1)];if(xe.trim()===Tt)return decodeURIComponent(Ge)}return null}const hi=/\s+/,On=[];let Mi=(()=>{class U{_ngEl;_renderer;initialClasses=On;rawClass;stateMap=new Map;constructor(rt,mt){this._ngEl=rt,this._renderer=mt}set klass(rt){this.initialClasses=null!=rt?rt.trim().split(hi):On}set ngClass(rt){this.rawClass="string"==typeof rt?rt.trim().split(hi):rt}ngDoCheck(){for(const mt of this.initialClasses)this._updateState(mt,!0);const rt=this.rawClass;if(Array.isArray(rt)||rt instanceof Set)for(const mt of rt)this._updateState(mt,!0);else if(null!=rt)for(const mt of Object.keys(rt))this._updateState(mt,!!rt[mt]);this._applyStateDiff()}_updateState(rt,mt){const xe=this.stateMap.get(rt);void 0!==xe?(xe.enabled!==mt&&(xe.changed=!0,xe.enabled=mt),xe.touched=!0):this.stateMap.set(rt,{enabled:mt,changed:!0,touched:!0})}_applyStateDiff(){for(const rt of this.stateMap){const mt=rt[0],xe=rt[1];xe.changed?(this._toggleClass(mt,xe.enabled),xe.changed=!1):xe.touched||(xe.enabled&&this._toggleClass(mt,!1),this.stateMap.delete(mt)),xe.touched=!1}}_toggleClass(rt,mt){(rt=rt.trim()).length>0&&rt.split(hi).forEach(xe=>{mt?this._renderer.addClass(this._ngEl.nativeElement,xe):this._renderer.removeClass(this._ngEl.nativeElement,xe)})}static \u0275fac=function(mt){return new(mt||U)(n.rXU(n.aKT),n.rXU(n.sFG))};static \u0275dir=n.FsC({type:U,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return U})();class de{$implicit;ngForOf;index;count;constructor(Tt,rt,mt,xe){this.$implicit=Tt,this.ngForOf=rt,this.index=mt,this.count=xe}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 ft=(()=>{class U{_viewContainer;_template;_differs;set ngForOf(rt){this._ngForOf=rt,this._ngForOfDirty=!0}set ngForTrackBy(rt){this._trackByFn=rt}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(rt,mt,xe){this._viewContainer=rt,this._template=mt,this._differs=xe}set ngForTemplate(rt){rt&&(this._template=rt)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const rt=this._ngForOf;!this._differ&&rt&&(this._differ=this._differs.find(rt).create(this.ngForTrackBy))}if(this._differ){const rt=this._differ.diff(this._ngForOf);rt&&this._applyChanges(rt)}}_applyChanges(rt){const mt=this._viewContainer;rt.forEachOperation((xe,Ge,Br)=>{if(null==xe.previousIndex)mt.createEmbeddedView(this._template,new de(xe.item,this._ngForOf,-1,-1),null===Br?void 0:Br);else if(null==Br)mt.remove(null===Ge?void 0:Ge);else if(null!==Ge){const eo=mt.get(Ge);mt.move(eo,Br),Gt(eo,xe)}});for(let xe=0,Ge=mt.length;xe{Gt(mt.get(xe.currentIndex),xe)})}static ngTemplateContextGuard(rt,mt){return!0}static \u0275fac=function(mt){return new(mt||U)(n.rXU(n.c1b),n.rXU(n.C4Q),n.rXU(n._q3))};static \u0275dir=n.FsC({type:U,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return U})();function Gt(U,Tt){U.context.$implicit=Tt.item}let me=(()=>{class U{_viewContainer;_context=new He;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(rt,mt){this._viewContainer=rt,this._thenTemplateRef=mt}set ngIf(rt){this._context.$implicit=this._context.ngIf=rt,this._updateView()}set ngIfThen(rt){Me("ngIfThen",rt),this._thenTemplateRef=rt,this._thenViewRef=null,this._updateView()}set ngIfElse(rt){Me("ngIfElse",rt),this._elseTemplateRef=rt,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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(rt,mt){return!0}static \u0275fac=function(mt){return new(mt||U)(n.rXU(n.c1b),n.rXU(n.C4Q))};static \u0275dir=n.FsC({type:U,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return U})();class He{$implicit=null;ngIf=null}function Me(U,Tt){if(Tt&&!Tt.createEmbeddedView)throw new Error(`${U} must be a TemplateRef, but received '${(0,n.Tbb)(Tt)}'.`)}let Eo=(()=>{class U{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(rt,mt,xe){this._ngEl=rt,this._differs=mt,this._renderer=xe}set ngStyle(rt){this._ngStyle=rt,!this._differ&&rt&&(this._differ=this._differs.find(rt).create())}ngDoCheck(){if(this._differ){const rt=this._differ.diff(this._ngStyle);rt&&this._applyChanges(rt)}}_setStyle(rt,mt){const[xe,Ge]=rt.split("."),Br=-1===xe.indexOf("-")?void 0:n.czy.DashCase;null!=mt?this._renderer.setStyle(this._ngEl.nativeElement,xe,Ge?`${mt}${Ge}`:mt,Br):this._renderer.removeStyle(this._ngEl.nativeElement,xe,Br)}_applyChanges(rt){rt.forEachRemovedItem(mt=>this._setStyle(mt.key,null)),rt.forEachAddedItem(mt=>this._setStyle(mt.key,mt.currentValue)),rt.forEachChangedItem(mt=>this._setStyle(mt.key,mt.currentValue))}static \u0275fac=function(mt){return new(mt||U)(n.rXU(n.aKT),n.rXU(n.MKu),n.rXU(n.sFG))};static \u0275dir=n.FsC({type:U,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return U})(),bn=(()=>{class U{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(rt){this._viewContainerRef=rt}ngOnChanges(rt){if(this._shouldRecreateView(rt)){const mt=this._viewContainerRef;if(this._viewRef&&mt.remove(mt.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const xe=this._createContextForwardProxy();this._viewRef=mt.createEmbeddedView(this.ngTemplateOutlet,xe,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(rt){return!!rt.ngTemplateOutlet||!!rt.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(rt,mt,xe)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,mt,xe),get:(rt,mt,xe)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,mt,xe)}})}static \u0275fac=function(mt){return new(mt||U)(n.rXU(n.c1b))};static \u0275dir=n.FsC({type:U,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[n.OA$]})}return U})();function Mn(U,Tt){return new n.wOt(2100,!1)}class Ro{createSubscription(Tt,rt){return(0,n.O8t)(()=>Tt.subscribe({next:rt,error:mt=>{throw mt}}))}dispose(Tt){(0,n.O8t)(()=>Tt.unsubscribe())}}class Qo{createSubscription(Tt,rt){return Tt.then(rt,mt=>{throw mt})}dispose(Tt){}}const Fo=new Qo,Ei=new Ro;let ta=(()=>{class U{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(rt){this._ref=rt}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(rt){if(!this._obj){if(rt)try{this.markForCheckOnValueUpdate=!1,this._subscribe(rt)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return rt!==this._obj?(this._dispose(),this.transform(rt)):this._latestValue}_subscribe(rt){this._obj=rt,this._strategy=this._selectStrategy(rt),this._subscription=this._strategy.createSubscription(rt,mt=>this._updateLatestValue(rt,mt))}_selectStrategy(rt){if((0,n.jNT)(rt))return Fo;if((0,n.zjR)(rt))return Ei;throw Mn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(rt,mt){rt===this._obj&&(this._latestValue=mt,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(mt){return new(mt||U)(n.rXU(n.gRc,16))};static \u0275pipe=n.EJ8({name:"async",type:U,pure:!1})}return U})();const as=/(?:[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 Pn=(()=>{class U{transform(rt){if(null==rt)return null;if("string"!=typeof rt)throw Mn();return rt.replace(as,mt=>mt[0].toUpperCase()+mt.slice(1).toLowerCase())}static \u0275fac=function(mt){return new(mt||U)};static \u0275pipe=n.EJ8({name:"titlecase",type:U,pure:!0})}return U})();const Ka=new n.nKC(""),Ii=new n.nKC("");let Ea=(()=>{class U{locale;defaultTimezone;defaultOptions;constructor(rt,mt,xe){this.locale=rt,this.defaultTimezone=mt,this.defaultOptions=xe}transform(rt,mt,xe,Ge){if(null==rt||""===rt||rt!=rt)return null;try{return W(rt,mt??this.defaultOptions?.dateFormat??"mediumDate",Ge||this.locale,xe??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Br){throw Mn()}}static \u0275fac=function(mt){return new(mt||U)(n.rXU(n.xe9,16),n.rXU(Ka,24),n.rXU(Ii,24))};static \u0275pipe=n.EJ8({name:"date",type:U,pure:!0})}return U})();const Ri=/#/g;let pa=(()=>{class U{_localization;constructor(rt){this._localization=rt}transform(rt,mt,xe){if(null==rt)return"";if("object"!=typeof mt||null===mt)throw Mn();return mt[function Ji(U,Tt,rt,mt){let xe=`=${U}`;if(Tt.indexOf(xe)>-1||(xe=rt.getPluralCategory(U,mt),Tt.indexOf(xe)>-1))return xe;if(Tt.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${U}"`)}(rt,Object.keys(mt),this._localization,xe)].replace(Ri,rt.toString())}static \u0275fac=function(mt){return new(mt||U)(n.rXU(pi,16))};static \u0275pipe=n.EJ8({name:"i18nPlural",type:U,pure:!0})}return U})(),Ci=(()=>{class U{static \u0275fac=function(mt){return new(mt||U)};static \u0275mod=n.$C({type:U});static \u0275inj=n.G2t({})}return U})();const co="browser",Da="server";function Ga(U){return U===co}function ma(U){return U===Da}let ca=(()=>{class U{static \u0275prov=(0,n.jDH)({token:U,providedIn:"root",factory:()=>Ga((0,n.WQX)(n.Agw))?new Vn((0,n.WQX)(S),window):new ls})}return U})();class Vn{document;window;offset=()=>[0,0];constructor(Tt,rt){this.document=Tt,this.window=rt}setOffset(Tt){this.offset=Array.isArray(Tt)?()=>Tt:Tt}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(Tt){this.window.scrollTo(Tt[0],Tt[1])}scrollToAnchor(Tt){const rt=function cc(U,Tt){const rt=U.getElementById(Tt)||U.getElementsByName(Tt)[0];if(rt)return rt;if("function"==typeof U.createTreeWalker&&U.body&&"function"==typeof U.body.attachShadow){const mt=U.createTreeWalker(U.body,NodeFilter.SHOW_ELEMENT);let xe=mt.currentNode;for(;xe;){const Ge=xe.shadowRoot;if(Ge){const Br=Ge.getElementById(Tt)||Ge.querySelector(`[name="${Tt}"]`);if(Br)return Br}xe=mt.nextNode()}}return null}(this.document,Tt);rt&&(this.scrollToElement(rt),rt.focus())}setHistoryScrollRestoration(Tt){this.window.history.scrollRestoration=Tt}scrollToElement(Tt){const rt=Tt.getBoundingClientRect(),mt=rt.left+this.window.pageXOffset,xe=rt.top+this.window.pageYOffset,Ge=this.offset();this.window.scrollTo(mt-Ge[0],xe-Ge[1])}}class ls{setOffset(Tt){}getScrollPosition(){return[0,0]}scrollToPosition(Tt){}scrollToAnchor(Tt){}setHistoryScrollRestoration(Tt){}}class Sa{}},7691:(i,s,o)=>{"use strict";o.d(s,{$R:()=>$t,Nl:()=>_t,Qq:()=>Fe,b$:()=>Ce,cS:()=>jr,yz:()=>wr});var n=o(3014),a=o(3107),l=o(3016),y=o(1698),k=o(1787),C=o(1459),A=o(1483),S=o(7947),T=o(4447),O=o(2867),P=o(4460);class q{}class Y{}class J{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(ke){ke?"string"==typeof ke?this.lazyInit=()=>{this.headers=new Map,ke.split("\n").forEach(de=>{const ft=de.indexOf(":");if(ft>0){const Gt=de.slice(0,ft),Ot=de.slice(ft+1).trim();this.addHeaderEntry(Gt,Ot)}})}:typeof Headers<"u"&&ke instanceof Headers?(this.headers=new Map,ke.forEach((de,ft)=>{this.addHeaderEntry(ft,de)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(ke).forEach(([de,ft])=>{this.setHeaderEntries(de,ft)})}:this.headers=new Map}has(ke){return this.init(),this.headers.has(ke.toLowerCase())}get(ke){this.init();const de=this.headers.get(ke.toLowerCase());return de&&de.length>0?de[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ke){return this.init(),this.headers.get(ke.toLowerCase())||null}append(ke,de){return this.clone({name:ke,value:de,op:"a"})}set(ke,de){return this.clone({name:ke,value:de,op:"s"})}delete(ke,de){return this.clone({name:ke,value:de,op:"d"})}maybeSetNormalizedName(ke,de){this.normalizedNames.has(de)||this.normalizedNames.set(de,ke)}init(){this.lazyInit&&(this.lazyInit instanceof J?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(ke=>this.applyUpdate(ke)),this.lazyUpdate=null))}copyFrom(ke){ke.init(),Array.from(ke.headers.keys()).forEach(de=>{this.headers.set(de,ke.headers.get(de)),this.normalizedNames.set(de,ke.normalizedNames.get(de))})}clone(ke){const de=new J;return de.lazyInit=this.lazyInit&&this.lazyInit instanceof J?this.lazyInit:this,de.lazyUpdate=(this.lazyUpdate||[]).concat([ke]),de}applyUpdate(ke){const de=ke.name.toLowerCase();switch(ke.op){case"a":case"s":let ft=ke.value;if("string"==typeof ft&&(ft=[ft]),0===ft.length)return;this.maybeSetNormalizedName(ke.name,de);const Gt=("a"===ke.op?this.headers.get(de):void 0)||[];Gt.push(...ft),this.headers.set(de,Gt);break;case"d":const Ot=ke.value;if(Ot){let me=this.headers.get(de);if(!me)return;me=me.filter(He=>-1===Ot.indexOf(He)),0===me.length?(this.headers.delete(de),this.normalizedNames.delete(de)):this.headers.set(de,me)}else this.headers.delete(de),this.normalizedNames.delete(de)}}addHeaderEntry(ke,de){const ft=ke.toLowerCase();this.maybeSetNormalizedName(ke,ft),this.headers.has(ft)?this.headers.get(ft).push(de):this.headers.set(ft,[de])}setHeaderEntries(ke,de){const ft=(Array.isArray(de)?de:[de]).map(Ot=>Ot.toString()),Gt=ke.toLowerCase();this.headers.set(Gt,ft),this.maybeSetNormalizedName(ke,Gt)}forEach(ke){this.init(),Array.from(this.normalizedNames.keys()).forEach(de=>ke(this.normalizedNames.get(de),this.headers.get(de)))}}class ct{encodeKey(ke){return It(ke)}encodeValue(ke){return It(ke)}decodeKey(ke){return decodeURIComponent(ke)}decodeValue(ke){return decodeURIComponent(ke)}}const kt=/%(\d[a-f0-9])/gi,Et={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function It(Jt){return encodeURIComponent(Jt).replace(kt,(ke,de)=>Et[de]??ke)}function yt(Jt){return`${Jt}`}class _t{map;encoder;updates=null;cloneFrom=null;constructor(ke={}){if(this.encoder=ke.encoder||new ct,ke.fromString){if(ke.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function pt(Jt,ke){const de=new Map;return Jt.length>0&&Jt.replace(/^\?/,"").split("&").forEach(Gt=>{const Ot=Gt.indexOf("="),[me,He]=-1==Ot?[ke.decodeKey(Gt),""]:[ke.decodeKey(Gt.slice(0,Ot)),ke.decodeValue(Gt.slice(Ot+1))],Me=de.get(me)||[];Me.push(He),de.set(me,Me)}),de}(ke.fromString,this.encoder)}else ke.fromObject?(this.map=new Map,Object.keys(ke.fromObject).forEach(de=>{const ft=ke.fromObject[de],Gt=Array.isArray(ft)?ft.map(yt):[yt(ft)];this.map.set(de,Gt)})):this.map=null}has(ke){return this.init(),this.map.has(ke)}get(ke){this.init();const de=this.map.get(ke);return de?de[0]:null}getAll(ke){return this.init(),this.map.get(ke)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ke,de){return this.clone({param:ke,value:de,op:"a"})}appendAll(ke){const de=[];return Object.keys(ke).forEach(ft=>{const Gt=ke[ft];Array.isArray(Gt)?Gt.forEach(Ot=>{de.push({param:ft,value:Ot,op:"a"})}):de.push({param:ft,value:Gt,op:"a"})}),this.clone(de)}set(ke,de){return this.clone({param:ke,value:de,op:"s"})}delete(ke,de){return this.clone({param:ke,value:de,op:"d"})}toString(){return this.init(),this.keys().map(ke=>{const de=this.encoder.encodeKey(ke);return this.map.get(ke).map(ft=>de+"="+this.encoder.encodeValue(ft)).join("&")}).filter(ke=>""!==ke).join("&")}clone(ke){const de=new _t({encoder:this.encoder});return de.cloneFrom=this.cloneFrom||this,de.updates=(this.updates||[]).concat(ke),de}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(ke=>this.map.set(ke,this.cloneFrom.map.get(ke))),this.updates.forEach(ke=>{switch(ke.op){case"a":case"s":const de=("a"===ke.op?this.map.get(ke.param):void 0)||[];de.push(yt(ke.value)),this.map.set(ke.param,de);break;case"d":if(void 0===ke.value){this.map.delete(ke.param);break}{let ft=this.map.get(ke.param)||[];const Gt=ft.indexOf(yt(ke.value));-1!==Gt&&ft.splice(Gt,1),ft.length>0?this.map.set(ke.param,ft):this.map.delete(ke.param)}}}),this.cloneFrom=this.updates=null)}}class st{map=new Map;set(ke,de){return this.map.set(ke,de),this}get(ke){return this.map.has(ke)||this.map.set(ke,ke.defaultValue()),this.map.get(ke)}delete(ke){return this.map.delete(ke),this}has(ke){return this.map.has(ke)}keys(){return this.map.keys()}}function Pt(Jt){return typeof ArrayBuffer<"u"&&Jt instanceof ArrayBuffer}function ae(Jt){return typeof Blob<"u"&&Jt instanceof Blob}function le(Jt){return typeof FormData<"u"&&Jt instanceof FormData}class se{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(ke,de,ft,Gt){let Ot;if(this.url=de,this.method=ke.toUpperCase(),function vt(Jt){switch(Jt){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Gt?(this.body=void 0!==ft?ft:null,Ot=Gt):Ot=ft,Ot&&(this.reportProgress=!!Ot.reportProgress,this.withCredentials=!!Ot.withCredentials,Ot.responseType&&(this.responseType=Ot.responseType),Ot.headers&&(this.headers=Ot.headers),Ot.context&&(this.context=Ot.context),Ot.params&&(this.params=Ot.params),this.transferCache=Ot.transferCache),this.headers??=new J,this.context??=new st,this.params){const me=this.params.toString();if(0===me.length)this.urlWithParams=de;else{const He=de.indexOf("?");this.urlWithParams=de+(-1===He?"?":HeRr.set($r,ke.setHeaders[$r]),ur)),ke.setParams&&(Er=Object.keys(ke.setParams).reduce((Rr,$r)=>Rr.set($r,ke.setParams[$r]),Er)),new se(de,ft,me,{params:Er,headers:ur,context:kr,reportProgress:Me,responseType:Gt,withCredentials:He,transferCache:Ot})}}var or=function(Jt){return Jt[Jt.Sent=0]="Sent",Jt[Jt.UploadProgress=1]="UploadProgress",Jt[Jt.ResponseHeader=2]="ResponseHeader",Jt[Jt.DownloadProgress=3]="DownloadProgress",Jt[Jt.Response=4]="Response",Jt[Jt.User=5]="User",Jt}(or||{});class fr{headers;status;statusText;url;ok;type;constructor(ke,de=200,ft="OK"){this.headers=ke.headers||new J,this.status=void 0!==ke.status?ke.status:de,this.statusText=ke.statusText||ft,this.url=ke.url||null,this.ok=this.status>=200&&this.status<300}}class yr extends fr{constructor(ke={}){super(ke)}type=or.ResponseHeader;clone(ke={}){return new yr({headers:ke.headers||this.headers,status:void 0!==ke.status?ke.status:this.status,statusText:ke.statusText||this.statusText,url:ke.url||this.url||void 0})}}class jr extends fr{body;constructor(ke={}){super(ke),this.body=void 0!==ke.body?ke.body:null}type=or.Response;clone(ke={}){return new jr({body:void 0!==ke.body?ke.body:this.body,headers:ke.headers||this.headers,status:void 0!==ke.status?ke.status:this.status,statusText:ke.statusText||this.statusText,url:ke.url||this.url||void 0})}}class wr extends fr{name="HttpErrorResponse";message;error;ok=!1;constructor(ke){super(ke,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ke.url||"(unknown url)"}`:`Http failure response for ${ke.url||"(unknown url)"}: ${ke.status} ${ke.statusText}`,this.error=ke.error||null}}function Bt(Jt,ke){return{body:ke,headers:Jt.headers,context:Jt.context,observe:Jt.observe,params:Jt.params,reportProgress:Jt.reportProgress,responseType:Jt.responseType,withCredentials:Jt.withCredentials,transferCache:Jt.transferCache}}let Fe=(()=>{class Jt{handler;constructor(de){this.handler=de}request(de,ft,Gt={}){let Ot;if(de instanceof se)Ot=de;else{let Me,ur;Me=Gt.headers instanceof J?Gt.headers:new J(Gt.headers),Gt.params&&(ur=Gt.params instanceof _t?Gt.params:new _t({fromObject:Gt.params})),Ot=new se(de,ft,void 0!==Gt.body?Gt.body:null,{headers:Me,context:Gt.context,params:ur,reportProgress:Gt.reportProgress,responseType:Gt.responseType||"json",withCredentials:Gt.withCredentials,transferCache:Gt.transferCache})}const me=(0,l.of)(Ot).pipe((0,C.H)(Me=>this.handler.handle(Me)));if(de instanceof se||"events"===Gt.observe)return me;const He=me.pipe((0,A.p)(Me=>Me instanceof jr));switch(Gt.observe||"body"){case"body":switch(Ot.responseType){case"arraybuffer":return He.pipe((0,S.T)(Me=>{if(null!==Me.body&&!(Me.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Me.body}));case"blob":return He.pipe((0,S.T)(Me=>{if(null!==Me.body&&!(Me.body instanceof Blob))throw new Error("Response is not a Blob.");return Me.body}));case"text":return He.pipe((0,S.T)(Me=>{if(null!==Me.body&&"string"!=typeof Me.body)throw new Error("Response is not a string.");return Me.body}));default:return He.pipe((0,S.T)(Me=>Me.body))}case"response":return He;default:throw new Error(`Unreachable: unhandled observe type ${Gt.observe}}`)}}delete(de,ft={}){return this.request("DELETE",de,ft)}get(de,ft={}){return this.request("GET",de,ft)}head(de,ft={}){return this.request("HEAD",de,ft)}jsonp(de,ft){return this.request("JSONP",de,{params:(new _t).append(ft,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(de,ft={}){return this.request("OPTIONS",de,ft)}patch(de,ft,Gt={}){return this.request("PATCH",de,Bt(Gt,ft))}post(de,ft,Gt={}){return this.request("POST",de,Bt(Gt,ft))}put(de,ft,Gt={}){return this.request("PUT",de,Bt(Gt,ft))}static \u0275fac=function(ft){return new(ft||Jt)(a.KVO(q))};static \u0275prov=a.jDH({token:Jt,factory:Jt.\u0275fac})}return Jt})();const zt=/^\)\]\}',?\n/;function oe(Jt){if(Jt.url)return Jt.url;const ke="X-Request-URL".toLocaleLowerCase();return Jt.headers.get(ke)}let Oe=(()=>{class Jt{fetchImpl=(0,a.WQX)($e,{optional:!0})?.fetch??((...de)=>globalThis.fetch(...de));ngZone=(0,a.WQX)(a.SKi);handle(de){return new y.c(ft=>{const Gt=new AbortController;return this.doRequest(de,Gt.signal,ft).then(Dt,Ot=>ft.error(new wr({error:Ot}))),()=>Gt.abort()})}doRequest(de,ft,Gt){var Ot=this;return(0,n.A)(function*(){const me=Ot.createRequestInit(de);let He;try{const Jr=Ot.ngZone.runOutsideAngular(()=>Ot.fetchImpl(de.urlWithParams,{signal:ft,...me}));(function wt(Jt){Jt.then(Dt,Dt)})(Jr),Gt.next({type:or.Sent}),He=yield Jr}catch(Jr){return void Gt.error(new wr({error:Jr,status:Jr.status??0,statusText:Jr.statusText,url:de.urlWithParams,headers:Jr.headers}))}const Me=new J(He.headers),ur=He.statusText,Er=oe(He)??de.urlWithParams;let kr=He.status,Rr=null;if(de.reportProgress&&Gt.next(new yr({headers:Me,status:kr,statusText:ur,url:Er})),He.body){const Jr=He.headers.get("content-length"),so=[],xo=He.body.getReader();let bn,rn,Eo=0;const Mn=typeof Zone<"u"&&Zone.current;yield Ot.ngZone.runOutsideAngular((0,n.A)(function*(){for(;;){const{done:Qo,value:Fo}=yield xo.read();if(Qo)break;if(so.push(Fo),Eo+=Fo.length,de.reportProgress){rn="text"===de.responseType?(rn??"")+(bn??=new TextDecoder).decode(Fo,{stream:!0}):void 0;const Ei=()=>Gt.next({type:or.DownloadProgress,total:Jr?+Jr:void 0,loaded:Eo,partialText:rn});Mn?Mn.run(Ei):Ei()}}}));const Ro=Ot.concatChunks(so,Eo);try{const Qo=He.headers.get("Content-Type")??"";Rr=Ot.parseBody(de,Ro,Qo)}catch(Qo){return void Gt.error(new wr({error:Qo,headers:new J(He.headers),status:He.status,statusText:He.statusText,url:oe(He)??de.urlWithParams}))}}0===kr&&(kr=Rr?200:0),kr>=200&&kr<300?(Gt.next(new jr({body:Rr,headers:Me,status:kr,statusText:ur,url:Er})),Gt.complete()):Gt.error(new wr({error:Rr,headers:Me,status:kr,statusText:ur,url:Er}))})()}parseBody(de,ft,Gt){switch(de.responseType){case"json":const Ot=(new TextDecoder).decode(ft).replace(zt,"");return""===Ot?null:JSON.parse(Ot);case"text":return(new TextDecoder).decode(ft);case"blob":return new Blob([ft],{type:Gt});case"arraybuffer":return ft.buffer}}createRequestInit(de){const ft={},Gt=de.withCredentials?"include":void 0;if(de.headers.forEach((Ot,me)=>ft[Ot]=me.join(",")),de.headers.has("Accept")||(ft.Accept="application/json, text/plain, */*"),!de.headers.has("Content-Type")){const Ot=de.detectContentTypeHeader();null!==Ot&&(ft["Content-Type"]=Ot)}return{body:de.serializeBody(),method:de.method,headers:ft,credentials:Gt}}concatChunks(de,ft){const Gt=new Uint8Array(ft);let Ot=0;for(const me of de)Gt.set(me,Ot),Ot+=me.length;return Gt}static \u0275fac=function(ft){return new(ft||Jt)};static \u0275prov=a.jDH({token:Jt,factory:Jt.\u0275fac})}return Jt})();class $e{}function Dt(){}function ie(Jt,ke){return ke(Jt)}const re=new a.nKC(""),Ve=new a.nKC(""),tr=new a.nKC("",{providedIn:"root",factory:()=>!0});let Or=(()=>{class Jt extends q{backend;injector;chain=null;pendingTasks=(0,a.WQX)(a.TgB);contributeToStability=(0,a.WQX)(tr);constructor(de,ft){super(),this.backend=de,this.injector=ft}handle(de){if(null===this.chain){const ft=Array.from(new Set([...this.injector.get(re),...this.injector.get(Ve,[])]));this.chain=ft.reduceRight((Gt,Ot)=>function Te(Jt,ke,de){return(ft,Gt)=>(0,a.N4e)(de,()=>ke(ft,Ot=>Jt(Ot,Gt)))}(Gt,Ot,this.injector),ie)}if(this.contributeToStability){const ft=this.pendingTasks.add();return this.chain(de,Gt=>this.backend.handle(Gt)).pipe((0,T.j)(()=>this.pendingTasks.remove(ft)))}return this.chain(de,ft=>this.backend.handle(ft))}static \u0275fac=function(ft){return new(ft||Jt)(a.KVO(Y),a.KVO(a.uvJ))};static \u0275prov=a.jDH({token:Jt,factory:Jt.\u0275fac})}return Jt})();const Se=/^\)\]\}',?\n/;let ar=(()=>{class Jt{xhrFactory;constructor(de){this.xhrFactory=de}handle(de){if("JSONP"===de.method)throw new a.wOt(-2800,!1);const ft=this.xhrFactory;return(ft.\u0275loadImpl?(0,k.H)(ft.\u0275loadImpl()):(0,l.of)(null)).pipe((0,O.n)(()=>new y.c(Ot=>{const me=ft.build();if(me.open(de.method,de.urlWithParams),de.withCredentials&&(me.withCredentials=!0),de.headers.forEach((so,xo)=>me.setRequestHeader(so,xo.join(","))),de.headers.has("Accept")||me.setRequestHeader("Accept","application/json, text/plain, */*"),!de.headers.has("Content-Type")){const so=de.detectContentTypeHeader();null!==so&&me.setRequestHeader("Content-Type",so)}if(de.responseType){const so=de.responseType.toLowerCase();me.responseType="json"!==so?so:"text"}const He=de.serializeBody();let Me=null;const ur=()=>{if(null!==Me)return Me;const so=me.statusText||"OK",xo=new J(me.getAllResponseHeaders()),Eo=function Sr(Jt){return"responseURL"in Jt&&Jt.responseURL?Jt.responseURL:/^X-Request-URL:/m.test(Jt.getAllResponseHeaders())?Jt.getResponseHeader("X-Request-URL"):null}(me)||de.url;return Me=new yr({headers:xo,status:me.status,statusText:so,url:Eo}),Me},Er=()=>{let{headers:so,status:xo,statusText:Eo,url:bn}=ur(),rn=null;204!==xo&&(rn=typeof me.response>"u"?me.responseText:me.response),0===xo&&(xo=rn?200:0);let Mn=xo>=200&&xo<300;if("json"===de.responseType&&"string"==typeof rn){const Ro=rn;rn=rn.replace(Se,"");try{rn=""!==rn?JSON.parse(rn):null}catch(Qo){rn=Ro,Mn&&(Mn=!1,rn={error:Qo,text:rn})}}Mn?(Ot.next(new jr({body:rn,headers:so,status:xo,statusText:Eo,url:bn||void 0})),Ot.complete()):Ot.error(new wr({error:rn,headers:so,status:xo,statusText:Eo,url:bn||void 0}))},kr=so=>{const{url:xo}=ur(),Eo=new wr({error:so,status:me.status||0,statusText:me.statusText||"Unknown Error",url:xo||void 0});Ot.error(Eo)};let Rr=!1;const $r=so=>{Rr||(Ot.next(ur()),Rr=!0);let xo={type:or.DownloadProgress,loaded:so.loaded};so.lengthComputable&&(xo.total=so.total),"text"===de.responseType&&me.responseText&&(xo.partialText=me.responseText),Ot.next(xo)},Jr=so=>{let xo={type:or.UploadProgress,loaded:so.loaded};so.lengthComputable&&(xo.total=so.total),Ot.next(xo)};return me.addEventListener("load",Er),me.addEventListener("error",kr),me.addEventListener("timeout",kr),me.addEventListener("abort",kr),de.reportProgress&&(me.addEventListener("progress",$r),null!==He&&me.upload&&me.upload.addEventListener("progress",Jr)),me.send(He),Ot.next({type:or.Sent}),()=>{me.removeEventListener("error",kr),me.removeEventListener("abort",kr),me.removeEventListener("load",Er),me.removeEventListener("timeout",kr),de.reportProgress&&(me.removeEventListener("progress",$r),null!==He&&me.upload&&me.upload.removeEventListener("progress",Jr)),me.readyState!==me.DONE&&me.abort()}})))}static \u0275fac=function(ft){return new(ft||Jt)(a.KVO(P.N0))};static \u0275prov=a.jDH({token:Jt,factory:Jt.\u0275fac})}return Jt})();const dr=new a.nKC(""),ao=new a.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),zo=new a.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class To{}let Ho=(()=>{class Jt{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(de,ft,Gt){this.doc=de,this.platform=ft,this.cookieName=Gt}getToken(){if("server"===this.platform)return null;const de=this.doc.cookie||"";return de!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,P._b)(de,this.cookieName),this.lastCookieString=de),this.lastToken}static \u0275fac=function(ft){return new(ft||Jt)(a.KVO(P.qQ),a.KVO(a.Agw),a.KVO(ao))};static \u0275prov=a.jDH({token:Jt,factory:Jt.\u0275fac})}return Jt})();function we(Jt,ke){const de=Jt.url.toLowerCase();if(!(0,a.WQX)(dr)||"GET"===Jt.method||"HEAD"===Jt.method||de.startsWith("http://")||de.startsWith("https://"))return ke(Jt);const ft=(0,a.WQX)(To).getToken(),Gt=(0,a.WQX)(zo);return null!=ft&&!Jt.headers.has(Gt)&&(Jt=Jt.clone({headers:Jt.headers.set(Gt,ft)})),ke(Jt)}var Mt=function(Jt){return Jt[Jt.Interceptors=0]="Interceptors",Jt[Jt.LegacyInterceptors=1]="LegacyInterceptors",Jt[Jt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Jt[Jt.NoXsrfProtection=3]="NoXsrfProtection",Jt[Jt.JsonpSupport=4]="JsonpSupport",Jt[Jt.RequestsMadeViaParent=5]="RequestsMadeViaParent",Jt[Jt.Fetch=6]="Fetch",Jt}(Mt||{});function $t(...Jt){const ke=[Fe,ar,Or,{provide:q,useExisting:Or},{provide:Y,useFactory:()=>(0,a.WQX)(Oe,{optional:!0})??(0,a.WQX)(ar)},{provide:re,useValue:we,multi:!0},{provide:dr,useValue:!0},{provide:To,useClass:Ho}];for(const de of Jt)ke.push(...de.\u0275providers);return(0,a.EmA)(ke)}function Ce(Jt){return function Wt(Jt,ke){return{\u0275kind:Jt,\u0275providers:ke}}(Mt.Interceptors,Jt.map(ke=>({provide:re,useValue:ke,multi:!0})))}},3107:(i,s,o)=>{"use strict";function a(t,e){return Object.is(t,e)}o.d(s,{bc$:()=>D,iLQ:()=>gm,sZ2:()=>Cd,hnV:()=>Hy,wjH:()=>zn,o8S:()=>ul,BIS:()=>j,gRc:()=>CE,Ql9:()=>FA,Ocv:()=>zA,Z63:()=>Qr,aKT:()=>Oa,uvJ:()=>la,zcH:()=>kl,bkB:()=>nl,ES_:()=>cf,$GK:()=>_n,nKC:()=>de,zZn:()=>Qi,_q3:()=>b1,MKu:()=>w1,xe9:()=>u1,Co$:()=>l_,Vns:()=>fh,SKi:()=>ia,Xx1:()=>ls,Agw:()=>v,PLl:()=>su,rOR:()=>Ph,sFG:()=>V5,_9s:()=>Oy,czy:()=>gg,WPN:()=>uu,kdw:()=>Aa,C4Q:()=>am,NYb:()=>P3,giA:()=>I_,RxE:()=>gE,c1b:()=>Ew,gXe:()=>Dl,mal:()=>Xs,Tzd:()=>vs,L39:()=>GT,EWP:()=>k1,sbv:()=>jC,a0P:()=>w8,Ol2:()=>Fy,w6W:()=>r3,QZP:()=>C1,Rfq:()=>Mt,oKB:()=>Us,WQX:()=>co,hFB:()=>$m,naY:()=>JA,Hps:()=>Uy,QuC:()=>Oi,EmA:()=>ji,Udg:()=>XT,HJs:()=>y8,N4e:()=>$a,vPA:()=>Tg,O8t:()=>Yg,H3F:()=>k_,H8p:()=>yc,KH2:()=>Kg,TgB:()=>_l,wOt:()=>Or,WHO:()=>T_,e01:()=>M_,lNU:()=>Lo,h9k:()=>Lf,$MX:()=>cg,ZF7:()=>Gu,Kcf:()=>U0,e5t:()=>H0,UyX:()=>j0,cWb:()=>$0,osQ:()=>V0,H5H:()=>Vv,Zy3:()=>fo,mq5:()=>C2,JZv:()=>dr,TL3:()=>ET,LfX:()=>Fi,plB:()=>Ju,jNT:()=>Vy,zjR:()=>O_,ngT:()=>an,hVU:()=>L3,TL$:()=>bf,Tbb:()=>To,rcV:()=>Gl,nM4:()=>Ax,Vt3:()=>pv,GFd:()=>Rx,OA$:()=>Wc,Jv_:()=>Pk,R7$:()=>xg,BMQ:()=>Dv,HbH:()=>a2,ZvI:()=>h2,AVh:()=>Rv,BUC:()=>g2,vxM:()=>w2,wni:()=>ak,C6U:()=>dk,VBU:()=>m_,FsC:()=>w_,jDH:()=>cn,G2t:()=>pi,$C:()=>By,EJ8:()=>y_,rXU:()=>qu,nrm:()=>Bv,eu8:()=>Uv,bVm:()=>Fw,qex:()=>Pw,k0s:()=>Lw,j41:()=>Nw,RV6:()=>E2,xGo:()=>xp,Mr5:()=>$v,KVO:()=>mi,kS0:()=>Yd,QTQ:()=>nw,bIt:()=>Wv,lsd:()=>lk,joV:()=>Uo,qSk:()=>Co,XpG:()=>X2,nI1:()=>Yk,bMT:()=>Qk,i5U:()=>Zk,SdG:()=>Q2,NAR:()=>Y2,Y8G:()=>Mv,FS9:()=>Xv,Mz_:()=>Vw,lJ4:()=>Bk,eq3:()=>Uk,l_i:()=>$k,sMw:()=>jk,ziG:()=>Vk,lV:()=>Hk,NyB:()=>uk,mGM:()=>ck,sdS:()=>pk,Dyx:()=>_2,Z7z:()=>v2,Vm6:()=>y2,Njj:()=>pd,eBV:()=>Ml,npT:()=>yb,f$h:()=>Ff,B4B:()=>Xu,n$t:()=>vb,Aen:()=>Zl,xc7:()=>Ov,Kam:()=>Kv,zvX:()=>jv,DNE:()=>fv,C5r:()=>qk,EFF:()=>xk,JRh:()=>Qv,SpI:()=>Hw,DH7:()=>Ok,mxI:()=>qv,R50:()=>Zv,GBs:()=>sk}),o(3014);let l=null,y=!1,k=1;const C=Symbol("SIGNAL");function A(t){const e=l;return l=t,e}const P={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 q(t){if(y)throw new Error("");if(null===l)return;l.consumerOnSignalRead(t);const e=l.nextProducerIndex++;Pt(l),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function yt(t){Pt(t);for(let e=0;e0}function Pt(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function ae(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function le(t){return void 0!==t.producerNode}function ve(t){const e=Object.create(yr);e.computation=t;const r=()=>{if(J(e),q(e),e.value===fr)throw e.error;return e.value};return r[C]=e,r}const se=Symbol("UNSET"),or=Symbol("COMPUTING"),fr=Symbol("ERRORED"),yr={...P,value:se,dirty:!0,error:null,equal:a,producerMustRecompute:t=>t.value===se||t.value===or,producerRecomputeValue(t){if(t.value===or)throw new Error("Detected cycle in computations.");const e=t.value;t.value=or;const r=Et(t);let c;try{c=t.computation()}catch(p){c=fr,t.error=p}finally{It(t,r)}e!==se&&e!==fr&&c!==fr&&t.equal(e,c)?t.value=e:(t.value=c,t.version++)}};let wr=function jr(){throw new Error};function Qt(){wr()}let Ht=null;function Yt(t,e){ct()||Qt(),t.equal(t.value,e)||(t.value=e,function Dt(t){t.version++,function Y(){k++}(),ht(t),Ht?.()}(t))}const $e={...P,equal:a,value:void 0};const ie=()=>{},Xe={...P,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{null!==t.schedule&&t.schedule(t.ref)},hasRun:!1,cleanupFn:ie};var Ke=o(1217),re=o(8447),Ve=o(5710),tr=o(7947);o(1703);const Lo="https://g.co/ng/security#xss";class Or extends Error{code;constructor(e,r){super(fo(e,r)),this.code=e}}function fo(t,e){return`NG0${Math.abs(t)}${e?": "+e:""}`}const cr=Symbol("InputSignalNode#UNSET"),Lt={...$e,transformFn:void 0,applyValueToInputSignal(t,e){Yt(t,e)}};function W(t,e){const r=Object.create(Lt);function c(){if(q(r),r.value===cr)throw new Or(-950,!1);return r.value}return r.value=t,r.transformFn=e?.transform,c[C]=r,c}function N(t){return{toString:t}.toString()}const Rt="__parameters__";function Sr(t,e,r){return N(()=>{const c=function Se(t){return function(...r){if(t){const c=t(...r);for(const p in c)this[p]=c[p]}}}(e);function p(...m){if(this instanceof p)return c.apply(this,m),this;const x=new p(...m);return M.annotation=x,M;function M(B,ot,Ct){const jt=B.hasOwnProperty(Rt)?B[Rt]:Object.defineProperty(B,Rt,{value:[]})[Rt];for(;jt.length<=Ct;)jt.push(null);return(jt[Ct]=jt[Ct]||[]).push(x),B}}return r&&(p.prototype=Object.create(r.prototype)),p.prototype.ngMetadataName=t,p.annotationCls=p,p})}const dr=globalThis;function xr(t){for(let e in t)if(t[e]===xr)return e;throw Error("Could not find renamed property on target object.")}function zo(t,e){for(const r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function To(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(To).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 r=e.indexOf("\n");return-1===r?e:e.substring(0,r)}function Ho(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const ze=xr({__forward_ref__:xr});function Mt(t){return t.__forward_ref__=Mt,t.toString=function(){return To(this())},t}function Wt(t){return $t(t)?t():t}function $t(t){return"function"==typeof t&&t.hasOwnProperty(ze)&&t.__forward_ref__===Mt}function cn(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function pi(t){return{providers:t.providers||[],imports:t.imports||[]}}function Ji(t){return is(t,On)||is(t,Jt)}function Fi(t){return null!==Ji(t)}function is(t,e){return t.hasOwnProperty(e)?t[e]:null}function hi(t){return t&&(t.hasOwnProperty(Mi)||t.hasOwnProperty(ke))?t[Mi]:null}const On=xr({\u0275prov:xr}),Mi=xr({\u0275inj:xr}),Jt=xr({ngInjectableDef:xr}),ke=xr({ngInjectorDef:xr});class de{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(e,r){this._desc=e,this.\u0275prov=void 0,"number"==typeof r?this.__NG_ELEMENT_ID__=r:void 0!==r&&(this.\u0275prov=cn({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function $r(t){return t&&!!t.\u0275providers}const Jr=xr({\u0275cmp:xr}),so=xr({\u0275dir:xr}),xo=xr({\u0275pipe:xr}),Eo=xr({\u0275mod:xr}),bn=xr({\u0275fac:xr}),rn=xr({__NG_ELEMENT_ID__:xr}),Mn=xr({__NG_ENV_ID__:xr});function Ro(t){return"string"==typeof t?t:null==t?"":String(t)}function Pn(t,e){throw new Or(-201,!1)}var _n=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}(_n||{});let ss;function Ka(){return ss}function Ii(t){const e=ss;return ss=t,e}function Ea(t,e,r){const c=Ji(t);return c&&"root"==c.providedIn?void 0===c.value?c.value=c.factory():c.value:r&_n.Optional?null:void 0!==e?e:void Pn()}const Ki={},gi="__NG_DI_FLAG__",Gi="ngTempTokenPath",Xo=/\n/gm,fi="__source";let ni;function Xi(t){const e=ni;return ni=t,e}function Qs(t,e=_n.Default){if(void 0===ni)throw new Or(-203,!1);return null===ni?Ea(t,void 0,e):ni.get(t,e&_n.Optional?null:void 0,e)}function mi(t,e=_n.Default){return(Ka()||Qs)(Wt(t),e)}function co(t,e=_n.Default){return mi(t,Da(e))}function Da(t){return typeof t>"u"||"number"==typeof t?t:(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Ga(t){const e=[];for(let r=0;rArray.isArray(r)?ga(r,e):e(r))}function Cs(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function Ta(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function qt(t,e,r){let c=ne(t,e);return c>=0?t[1|c]=r:(c=~c,function Ds(t,e,r,c){let p=t.length;if(p==e)t.push(r,c);else if(1===p)t.push(c,t[0]),t[0]=r;else{for(p--,t.push(t[p-1],t[p]);p>e;)t[p]=t[p-2],p--;t[e]=r,t[e+1]=c}}(t,c,e,r)),c}function et(t,e){const r=ne(t,e);if(r>=0)return t[1|r]}function ne(t,e){return function Fr(t,e,r){let c=0,p=t.length>>r;for(;p!==c;){const m=c+(p-c>>1),x=t[m<e?p=m:c=m+1}return~(p<{r.push(x)};return ga(e,x=>{const M=x;lt(M,m,[],c)&&(p||=[],p.push(M))}),void 0!==p&&us(p,m),r}function us(t,e){for(let r=0;r{e(m,c)})}}function lt(t,e,r,c){if(!(t=Wt(t)))return!1;let p=null,m=hi(t);const x=!m&&Ko(t);if(m||x){if(x&&!x.standalone)return!1;p=t}else{const B=t.ngModule;if(m=hi(B),!m)return!1;p=B}const M=c.has(p);if(x){if(M)return!1;if(c.add(p),x.dependencies){const B="function"==typeof x.dependencies?x.dependencies():x.dependencies;for(const ot of B)lt(ot,e,r,c)}}else{if(!m)return!1;{if(null!=m.imports&&!M){let ot;c.add(p);try{ga(m.imports,Ct=>{lt(Ct,e,r,c)&&(ot||=[],ot.push(Ct))})}finally{}void 0!==ot&&us(ot,e)}if(!M){const ot=Di(p)||(()=>new p);e({provide:p,useFactory:ot,deps:Hr},p),e({provide:Wn,useValue:p,multi:!0},p),e({provide:Qr,useValue:()=>mi(p),multi:!0},p)}const B=m.providers;if(null!=B&&!M){const ot=t;Q(B,Ct=>{e(Ct,ot)})}}}return p!==t&&void 0!==t.providers}function Q(t,e){for(let r of t)$r(r)&&(r=r.\u0275providers),Array.isArray(r)?Q(r,e):e(r)}const Ft=xr({provide:String,useValue:xr});function je(t){return null!==t&&"object"==typeof t&&Ft in t}function ea(t){return"function"==typeof t}const yc=new de(""),js={},pl={};let lc;function wn(){return void 0===lc&&(lc=new Mo),lc}class la{}class ba extends la{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(e,r,c,p){super(),this.parent=r,this.source=c,this.scopes=p,uc(e,x=>this.processProvider(x)),this.records.set(qo,vn(void 0,this)),p.has("environment")&&this.records.set(la,vn(void 0,this));const m=this.records.get(yc);null!=m&&"string"==typeof m.value&&this.scopes.add(m.value),this.injectorDefTypes=new Set(this.get(Wn,Hr,_n.Self))}destroy(){dc(this),this._destroyed=!0;const e=A(null);try{for(const c of this._ngOnDestroyHooks)c.ngOnDestroy();const r=this._onDestroyHooks;this._onDestroyHooks=[];for(const c of r)c()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),A(e)}}onDestroy(e){return dc(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){dc(this);const r=Xi(this),c=Ii(void 0);try{return e()}finally{Xi(r),Ii(c)}}get(e,r=Ki,c=_n.Default){if(dc(this),e.hasOwnProperty(Mn))return e[Mn](this);c=Da(c);const m=Xi(this),x=Ii(void 0);try{if(!(c&_n.SkipSelf)){let B=this.records.get(e);if(void 0===B){const ot=function ed(t){return"function"==typeof t||"object"==typeof t&&t instanceof de}(e)&&Ji(e);B=ot&&this.injectableDefInScope(ot)?vn(Vs(e),js):null,this.records.set(e,B)}if(null!=B)return this.hydrate(e,B)}return(c&_n.Self?wn():this.parent).get(e,r=c&_n.Optional&&r===Ki?null:r)}catch(M){if("NullInjectorError"===M.name){if((M[Gi]=M[Gi]||[]).unshift(To(e)),m)throw M;return function ca(t,e,r,c){const p=t[Gi];throw e[fi]&&p.unshift(e[fi]),t.message=function Vn(t,e,r,c=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let p=To(e);if(Array.isArray(e))p=e.map(To).join(" -> ");else if("object"==typeof e){let m=[];for(let x in e)if(e.hasOwnProperty(x)){let M=e[x];m.push(x+":"+("string"==typeof M?JSON.stringify(M):To(M)))}p=`{${m.join(", ")}}`}return`${r}${c?"("+c+")":""}[${p}]: ${t.replace(Xo,"\n ")}`}("\n"+t.message,p,r,c),t.ngTokenPath=p,t[Gi]=null,t}(M,e,"R3InjectorError",this.source)}throw M}finally{Ii(x),Xi(m)}}resolveInjectorInitializers(){const e=A(null),r=Xi(this),c=Ii(void 0);try{const m=this.get(Qr,Hr,_n.Self);for(const x of m)x()}finally{Xi(r),Ii(c),A(e)}}toString(){const e=[],r=this.records;for(const c of r.keys())e.push(To(c));return`R3Injector[${e.join(", ")}]`}processProvider(e){let r=ea(e=Wt(e))?e:Wt(e&&e.provide);const c=function Fd(t){return je(t)?vn(void 0,t.useValue):vn(_c(t),js)}(e);if(!ea(e)&&!0===e.multi){let p=this.records.get(r);p||(p=vn(void 0,js,!0),p.factory=()=>Ga(p.multi),this.records.set(r,p)),r=e,p.multi.push(e)}this.records.set(r,c)}hydrate(e,r){const c=A(null);try{return r.value===js&&(r.value=pl,r.value=r.factory()),"object"==typeof r.value&&r.value&&function td(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{A(c)}}injectableDefInScope(e){if(!e.providedIn)return!1;const r=Wt(e.providedIn);return"string"==typeof r?"any"===r||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){const r=this._onDestroyHooks.indexOf(e);-1!==r&&this._onDestroyHooks.splice(r,1)}}function Vs(t){const e=Ji(t),r=null!==e?e.factory:Di(t);if(null!==r)return r;if(t instanceof de)throw new Or(204,!1);if(t instanceof Function)return function vc(t){if(t.length>0)throw new Or(204,!1);const r=function si(t){return t&&(t[On]||t[Jt])||null}(t);return null!==r?()=>r.factory(t):()=>new t}(t);throw new Or(204,!1)}function _c(t,e,r){let c;if(ea(t)){const p=Wt(t);return Di(p)||Vs(p)}if(je(t))c=()=>Wt(t.useValue);else if(function Jo(t){return!(!t||!t.useFactory)}(t))c=()=>t.useFactory(...Ga(t.deps||[]));else if(function _o(t){return!(!t||!t.useExisting)}(t))c=()=>mi(Wt(t.useExisting));else{const p=Wt(t&&(t.useClass||t.provide));if(!function Ic(t){return!!t.deps}(t))return Di(p)||Vs(p);c=()=>new p(...Ga(t.deps))}return c}function dc(t){if(t.destroyed)throw new Or(205,!1)}function vn(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function uc(t,e){for(const r of t)Array.isArray(r)?uc(r,e):r&&$r(r)?uc(r.\u0275providers,e):e(r)}function $a(t,e){t instanceof ba&&dc(t);const c=Xi(t),p=Ii(void 0);try{return e()}finally{Xi(c),Ii(p)}}function Oc(){return void 0!==Ka()||null!=function ha(){return ni}()}function Ss(t){if(!Oc())throw new Or(-203,!1)}const ii=0,Pr=1,Ao=2,Rn=3,wa=4,Qn=5,ai=6,Bn=7,Kn=8,ri=9,li=10,on=11,Xa=12,Zs=13,Ui=14,bi=15,Cn=16,Va=17,di=18,Un=19,U=20,Tt=21,rt=22,mt=23,xe=24,Ge=25,Br=1,dn=7,Dn=9,No=10;var ln=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(ln||{});function nn(t){return Array.isArray(t)&&"object"==typeof t[Br]}function xn(t){return Array.isArray(t)&&!0===t[Br]}function ya(t){return!!(4&t.flags)}function Ni(t){return t.componentOffset>-1}function hs(t){return!(1&~t.flags)}function Yi(t){return!!t.template}function Hs(t){return!!(512&t[Ao])}class Tl{previousValue;currentValue;firstChange;constructor(e,r,c){this.previousValue=e,this.currentValue=r,this.firstChange=c}isFirstChange(){return this.firstChange}}function Ha(t,e,r,c){null!==e?e.applyValueToInputSignal(e,c):t[r]=c}const Wc=(()=>{const t=()=>zs;return t.ngInherit=!0,t})();function zs(t){return t.type.prototype.ngOnChanges&&(t.setInput=Kc),Bo}function Bo(){const t=gc(this),e=t?.current;if(e){const r=t.previous;if(r===Ir)t.previous=e;else for(let c in e)r[c]=e[c];t.current=null,this.ngOnChanges(e)}}function Kc(t,e,r,c,p){const m=this.declaredInputs[c],x=gc(t)||function bu(t,e){return t[Gc]=e}(t,{previous:Ir,current:null}),M=x.current||(x.current={}),B=x.previous,ot=B[m];M[m]=new Tl(ot&&ot.currentValue,r,B===Ir),Ha(t,e,p,r)}const Gc="__ngSimpleChanges__";function gc(t){return t[Gc]||null}const Ws=function(t,e,r){},cp="svg";function qn(t){for(;Array.isArray(t);)t=t[ii];return t}function fl(t,e){return qn(e[t])}function oa(t,e){return qn(e[t.index])}function G(t,e){return t.data[e]}function F(t,e){return t[e]}function K(t,e){const r=e[t];return nn(r)?r:r[ii]}function Vt(t){return!(128&~t[Ao])}function pr(t,e){return null==e?null:t[e]}function nr(t){t[Va]=0}function uo(t){1024&t[Ao]||(t[Ao]|=1024,Vt(t)&&Ia(t))}function Io(t){return!!(9216&t[Ao]||t[xe]?.dirty)}function Gn(t){t[li].changeDetectionScheduler?.notify(9),64&t[Ao]&&(t[Ao]|=1024),Io(t)&&Ia(t)}function Ia(t){t[li].changeDetectionScheduler?.notify(0);let e=da(t);for(;null!==e&&!(8192&e[Ao])&&(e[Ao]|=8192,Vt(e));)e=da(e)}function na(t,e){if(!(256&~t[Ao]))throw new Or(911,!1);null===t[Tt]&&(t[Tt]=[]),t[Tt].push(e)}function da(t){const e=t[Rn];return xn(e)?e[Rn]:e}const Wo={lFrame:ro(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let jd=!1;function pp(){return Wo.bindingsEnabled}function ml(){return null!==Wo.skipHydrationRootTNode}function _r(){return Wo.lFrame.lView}function fn(){return Wo.lFrame.tView}function Ml(t){return Wo.lFrame.contextLView=t,t[Kn]}function pd(t){return Wo.lFrame.contextLView=null,t}function An(){let t=Nc();for(;null!==t&&64===t.type;)t=t.parent;return t}function Nc(){return Wo.lFrame.currentTNode}function Qa(t,e){const r=Wo.lFrame;r.currentTNode=t,r.isParent=e}function Il(){return Wo.lFrame.isParent}function gs(){Wo.lFrame.isParent=!1}function fs(){return jd}function Zc(t){const e=jd;return jd=t,e}function Za(){const t=Wo.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function I(){return Wo.lFrame.bindingIndex++}function L(t){const e=Wo.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function xt(t,e){const r=Wo.lFrame;r.bindingIndex=r.bindingRootIndex=t,pe(e)}function pe(t){Wo.lFrame.currentDirectiveIndex=t}function Ie(t){const e=Wo.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function We(){return Wo.lFrame.currentQueryIndex}function sr(t){Wo.lFrame.currentQueryIndex=t}function Cr(t){const e=t[Pr];return 2===e.type?e.declTNode:1===e.type?t[Qn]:null}function Qe(t,e,r){if(r&_n.SkipSelf){let p=e,m=t;for(;!(p=p.parent,null!==p||r&_n.Host||(p=Cr(m),null===p||(m=m[Ui],10&p.type))););if(null===p)return!1;e=p,t=m}const c=Wo.lFrame=zr();return c.currentTNode=e,c.lView=t,!0}function Gr(t){const e=zr(),r=t[Pr];Wo.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function zr(){const t=Wo.lFrame,e=null===t?null:t.child;return null===e?ro(t):e}function ro(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 Ar(){const t=Wo.lFrame;return Wo.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Vr=Ar;function Xr(){const t=Ar();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 Ur(){return Wo.lFrame.selectedIndex}function Oo(t){Wo.lFrame.selectedIndex=t}function no(){const t=Wo.lFrame;return G(t.tView,t.selectedIndex)}function Co(){Wo.lFrame.currentNamespace=cp}function Uo(){!function oi(){Wo.lFrame.currentNamespace=null}()}let Xn=!0;function yi(){return Xn}function Si(t){Xn=t}function wo(t,e){for(let r=e.directiveStart,c=e.directiveEnd;r=c)break}else e[B]<0&&(t[Va]+=65536),(M>14>16&&(3&t[Ao])===e&&(t[Ao]+=16384,fa(M,m)):fa(M,m)}const Pa=-1;class tc{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(e,r,c){this.factory=e,this.canSeeViewProviders=r,this.injectImpl=c}}function Ja(t,e,r){let c=0;for(;ce){x=m-1;break}}}for(;m>16}(t),c=e;for(;r>0;)c=c[Ui],r--;return c}let bp=!0;function Lc(t){const e=bp;return bp=t,e}const _u=255,Kd=5;let ef=0;const Pc={};function wp(t,e){const r=xu(t,e);if(-1!==r)return r;const c=e[Pr];c.firstCreatePass&&(t.injectorIndex=e.length,kh(c.data,t),kh(e,null),kh(c.blueprint,null));const p=Rl(t,e),m=t.injectorIndex;if(mp(p)){const x=zd(p),M=Wd(p,e),B=M[Pr].data;for(let ot=0;ot<8;ot++)e[m+ot]=M[x+ot]|B[x+ot]}return e[m+8]=p,m}function kh(t,e){t.push(0,0,0,0,0,0,0,0,e)}function xu(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Rl(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let r=0,c=null,p=e;for(;null!==p;){if(c=Xd(p),null===c)return Pa;if(r++,p=p[Ui],-1!==c.injectorIndex)return c.injectorIndex|r<<16}return Pa}function Nl(t,e,r){!function rf(t,e,r){let c;"string"==typeof r?c=r.charCodeAt(0)||0:r.hasOwnProperty(rn)&&(c=r[rn]),null==c&&(c=r[rn]=ef++);const p=c&_u;e.data[t+(p>>Kd)]|=1<=0?e&_u:Dh:e}(r);if("function"==typeof m){if(!Qe(e,t,c))return c&_n.Host?Gd(p,0,c):Eh(e,r,c,p);try{let x;if(x=m(c),null!=x||c&_n.Optional)return x;Pn()}finally{Vr()}}else if("number"==typeof m){let x=null,M=xu(t,e),B=Pa,ot=c&_n.Host?e[bi][Qn]:null;for((-1===M||c&_n.SkipSelf)&&(B=-1===M?Rl(t,e):e[M+8],B!==Pa&&_p(c,!1)?(x=e[Pr],M=zd(B),e=Wd(B,e)):M=-1);-1!==M;){const Ct=e[Pr];if(Eu(m,M,Ct.data)){const jt=vp(M,e,r,x,c,ot);if(jt!==Pc)return jt}B=e[M+8],B!==Pa&&_p(c,e[Pr].data[M+8]===ot)&&Eu(m,M,e)?(x=Ct,M=zd(B),e=Wd(B,e)):M=-1}}return p}function vp(t,e,r,c,p,m){const x=e[Pr],M=x.data[t+8],Ct=hd(M,x,r,null==c?Ni(M)&&bp:c!=x&&!!(3&M.type),p&_n.Host&&m===M);return null!==Ct?Fc(e,x,Ct,M):Pc}function hd(t,e,r,c,p){const m=t.providerIndexes,x=e.data,M=1048575&m,B=t.directiveStart,Ct=m>>20,Ne=p?M+Ct:t.directiveEnd;for(let Ue=c?M:M+Ct;Ue=B&&qe.type===r)return Ue}if(p){const Ue=x[B];if(Ue&&Yi(Ue)&&Ue.type===r)return B}return null}function Fc(t,e,r,c){let p=t[r];const m=e.data;if(function Cc(t){return t instanceof tc}(p)){const x=p;x.resolving&&function ta(t,e){throw e&&e.join(" > "),new Or(-200,t)}(function Qo(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Ro(t)}(m[r]));const M=Lc(x.canSeeViewProviders);x.resolving=!0;const ot=x.injectImpl?Ii(x.injectImpl):null;Qe(t,c,_n.Default);try{p=t[r]=x.factory(void 0,m,t,c),e.firstCreatePass&&r>=c.directiveStart&&function bs(t,e,r){const{ngOnChanges:c,ngOnInit:p,ngDoCheck:m}=e.type.prototype;if(c){const x=zs(e);(r.preOrderHooks??=[]).push(t,x),(r.preOrderCheckHooks??=[]).push(t,x)}p&&(r.preOrderHooks??=[]).push(0-t,p),m&&((r.preOrderHooks??=[]).push(t,m),(r.preOrderCheckHooks??=[]).push(t,m))}(r,m[r],e)}finally{null!==ot&&Ii(ot),Lc(M),x.resolving=!1,Vr()}}return p}function Eu(t,e,r){return!!(r[e+(t>>Kd)]&1<{const e=t.prototype.constructor,r=e[bn]||Cu(e),c=Object.prototype;let p=Object.getPrototypeOf(t.prototype).constructor;for(;p&&p!==c;){const m=p[bn]||Cu(p);if(m&&m!==r)return m;p=Object.getPrototypeOf(p)}return m=>new m})}function Cu(t){return $t(t)?()=>{const e=Cu(Wt(t));return e&&e()}:Di(t)}function Xd(t){const e=t[Pr],r=e.type;return 2===r?e.declTNode:1===r?t[Qn]:null}function Yd(t){return function ku(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const r=t.attrs;if(r){const c=r.length;let p=0;for(;pmi(qo)});static __NG_ELEMENT_ID__=-1}class cf{attributeName;constructor(e){this.attributeName=e}__NG_ELEMENT_ID__=()=>Yd(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}new de("").__NG_ELEMENT_ID__=t=>{const e=An();if(null===e)throw new Or(204,!1);if(2&e.type)return e.value;if(t&_n.Optional)return null;throw new Or(204,!1)};const Sp=!1;let va=(()=>class t{static __NG_ELEMENT_ID__=Iu;static __NG_ENV_ID__=r=>r})();class Pl extends va{_lView;constructor(e){super(),this._lView=e}onDestroy(e){return na(this._lView,e),()=>function Os(t,e){if(null===t[Tt])return;const r=t[Tt].indexOf(e);-1!==r&&t[Tt].splice(r,1)}(this._lView,e)}}function Iu(){return new Pl(_r())}class rl{}const md=new de("",{providedIn:"root",factory:()=>!1}),Ou=new de(""),ol=new de("");let _l=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Ke.t(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}has(r){return this.pendingTasks.has(r)}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=cn({token:t,providedIn:"root",factory:()=>new t})}return t})();const nl=class Tp extends re.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(e=!1){super(),this.__isAsync=e,Oc()&&(this.destroyRef=co(va,{optional:!0})??void 0,this.pendingTasks=co(_l,{optional:!0})??void 0)}emit(e){const r=A(null);try{super.next(e)}finally{A(r)}}subscribe(e,r,c){let p=e,m=r||(()=>null),x=c;if(e&&"object"==typeof e){const B=e;p=B.next?.bind(B),m=B.error?.bind(B),x=B.complete?.bind(B)}this.__isAsync&&(m=this.wrapInTimeout(m),p&&(p=this.wrapInTimeout(p)),x&&(x=this.wrapInTimeout(x)));const M=super.subscribe({next:p,error:m,complete:x});return e instanceof Ve.yU&&e.add(M),M}wrapInTimeout(e){return r=>{const c=this.pendingTasks?.add();setTimeout(()=>{e(r),void 0!==c&&this.pendingTasks?.remove(c)})}}};function bd(...t){}function Ru(t){let e,r;function c(){t=bd;try{void 0!==r&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(r),void 0!==e&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),c()}),"function"==typeof requestAnimationFrame&&(r=requestAnimationFrame(()=>{t(),c()})),()=>c()}function lf(t){return queueMicrotask(()=>t()),()=>{t=bd}}const xl="isAngularZone",qd=xl+"_ID";let Mp=0;class ia{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new nl(!1);onMicrotaskEmpty=new nl(!1);onStable=new nl(!1);onError=new nl(!1);constructor(e){const{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:c=!1,shouldCoalesceRunChangeDetection:p=!1,scheduleInRootZone:m=Sp}=e;if(typeof Zone>"u")throw new Or(908,!1);Zone.assertZonePatched();const x=this;x._nesting=0,x._outer=x._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(x._inner=x._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(x._inner=x._inner.fork(Zone.longStackTraceZoneSpec)),x.shouldCoalesceEventChangeDetection=!p&&c,x.shouldCoalesceRunChangeDetection=p,x.callbackScheduled=!1,x.scheduleInRootZone=m,function Oh(t){const e=()=>{!function df(t){function e(){Ru(()=>{t.callbackScheduled=!1,Op(t),t.isCheckStableRunning=!0,Ip(t),t.isCheckStableRunning=!1})}t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),Op(t))}(t)},r=Mp++;t._inner=t._inner.fork({name:"angular",properties:{[xl]:!0,[qd]:r,[qd+r]:!0},onInvokeTask:(c,p,m,x,M,B)=>{if(function uf(t){return Nh(t,"__ignore_ng_zone__")}(B))return c.invokeTask(m,x,M,B);try{return Rh(t),c.invokeTask(m,x,M,B)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===x.type||t.shouldCoalesceRunChangeDetection)&&e(),wd(t)}},onInvoke:(c,p,m,x,M,B,ot)=>{try{return Rh(t),c.invoke(m,x,M,B,ot)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!function Fm(t){return Nh(t,"__scheduler_tick__")}(B)&&e(),wd(t)}},onHasTask:(c,p,m,x)=>{c.hasTask(m,x),p===m&&("microTask"==x.change?(t._hasPendingMicrotasks=x.microTask,Op(t),Ip(t)):"macroTask"==x.change&&(t.hasPendingMacrotasks=x.macroTask))},onHandleError:(c,p,m,x)=>(c.handleError(m,x),t.runOutsideAngular(()=>t.onError.emit(x)),!1)})}(x)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(xl)}static assertInAngularZone(){if(!ia.isInAngularZone())throw new Or(909,!1)}static assertNotInAngularZone(){if(ia.isInAngularZone())throw new Or(909,!1)}run(e,r,c){return this._inner.run(e,r,c)}runTask(e,r,c,p){const m=this._inner,x=m.scheduleEventTask("NgZoneEvent: "+p,e,Ih,bd,bd);try{return m.runTask(x,r,c)}finally{m.cancelTask(x)}}runGuarded(e,r,c){return this._inner.runGuarded(e,r,c)}runOutsideAngular(e){return this._outer.run(e)}}const Ih={};function Ip(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 Op(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&!0===t.callbackScheduled)}function Rh(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function wd(t){t._nesting--,Ip(t)}class Rp{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new nl;onMicrotaskEmpty=new nl;onStable=new nl;onError=new nl;run(e,r,c){return e.apply(r,c)}runGuarded(e,r,c){return e.apply(r,c)}runOutsideAngular(e){return e()}runTask(e,r,c,p){return e.apply(r,c)}}function Nh(t,e){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0]?.data?.[e]}class kl{_console=console;handleError(e){this._console.error("ERROR",e)}}const Jd=new de("",{providedIn:"root",factory:()=>{const t=co(ia),e=co(kl);return r=>t.runOutsideAngular(()=>e.handleError(r))}});function Lh(t,e){return W(t,e)}const $m=(Lh.required=function vd(t){return W(cr,t)},Lh);function _d(){return El(An(),_r())}function El(t,e){return new Oa(oa(t,e))}let Oa=(()=>class t{nativeElement;constructor(r){this.nativeElement=r}static __NG_ELEMENT_ID__=_d})();function Np(t){return t instanceof Oa?t.nativeElement:t}function Nu(){return this._results[Symbol.iterator]()}class Ph{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new re.B}constructor(e=!1){this._emitDistinctChangesOnly=e}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;const c=function ci(t){return t.flat(Number.POSITIVE_INFINITY)}(e);(this._changesDetected=!function Bi(t,e,r){if(t.length!==e.length)return!1;for(let c=0;cQp}),Qp="ng",su=new de(""),v=new de("",{providedIn:"platform",factory:()=>"unknown"}),D=new de(""),j=new de("",{providedIn:"root",factory:()=>rc().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),ei=new de("",{providedIn:"root",factory:()=>!1}),vo=new Set;function an(t){vo.has(t)||(vo.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var zn=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(zn||{});let Ba=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=cn({token:t,providedIn:"root",factory:()=>new t})}return t})();const Ns=[zn.EarlyRead,zn.Write,zn.MixedReadWrite,zn.Read];let oc=(()=>{class t{ngZone=co(ia);scheduler=co(rl);errorHandler=co(kl,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;execute(){this.executing=!0;for(const r of Ns)for(const c of this.sequences)if(!c.erroredOrDestroyed&&c.hooks[r])try{c.pipelinedValue=this.ngZone.runOutsideAngular(()=>c.hooks[r](c.pipelinedValue))}catch(p){c.erroredOrDestroyed=!0,this.errorHandler?.handleError(p)}this.executing=!1;for(const r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(const r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(r){this.executing?this.deferredRegistrations.add(r):(this.sequences.add(r),this.scheduler.notify(7))}unregister(r){this.executing&&this.sequences.has(r)?(r.erroredOrDestroyed=!0,r.pipelinedValue=void 0,r.once=!0):(this.sequences.delete(r),this.deferredRegistrations.delete(r))}static \u0275prov=cn({token:t,providedIn:"root",factory:()=>new t})}return t})();class mc{impl;hooks;once;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(e,r,c,p){this.impl=e,this.hooks=r,this.once=c,this.unregisterOnDestroy=p?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function vs(t,e){!e?.injector&&Ss();const r=e?.injector??co(Qi);return typeof ngServerMode<"u"&&ngServerMode?$u:(an("NgAfterRender"),jl(t,r,e,!1))}function Xs(t,e){!e?.injector&&Ss();const r=e?.injector??co(Qi);return typeof ngServerMode<"u"&&ngServerMode?$u:(an("NgAfterNextRender"),jl(t,r,e,!0))}function jl(t,e,r,c){const p=e.get(Ba);p.impl??=e.get(oc);const m=r?.phase??zn.MixedReadWrite,x=!0!==r?.manualCleanup?e.get(va):null,M=new mc(p.impl,function _s(t,e){if(t instanceof Function){const r=[void 0,void 0,void 0,void 0];return r[e]=t,r}return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}(t,m),c,x);return p.impl.register(M),M}const $u={destroy(){}};let Jm=()=>null;function og(t,e,r=!1){return Jm(t,e,r)}var Dl=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Dl||{});let lu,ag;function Ku(t){return function Af(){if(void 0===lu&&(lu=null,dr.trustedTypes))try{lu=dr.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return lu}()?.createHTML(t)||t}function Tf(){if(void 0===ag&&(ag=null,dr.trustedTypes))try{ag=dr.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return ag}function cb(t){return Tf()?.createHTML(t)||t}function db(t){return Tf()?.createScriptURL(t)||t}class du{changingThisBreaksApplicationSecurity;constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Lo})`}}class N0 extends du{getTypeName(){return"HTML"}}class L0 extends du{getTypeName(){return"Style"}}class sg extends du{getTypeName(){return"Script"}}class P0 extends du{getTypeName(){return"URL"}}class F0 extends du{getTypeName(){return"ResourceURL"}}function Gl(t){return t instanceof du?t.changingThisBreaksApplicationSecurity:t}function Gu(t,e){const r=function B0(t){return t instanceof du&&t.getTypeName()||null}(t);if(null!=r&&r!==e){if("ResourceURL"===r&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${Lo})`)}return r===e}function U0(t){return new N0(t)}function $0(t){return new L0(t)}function j0(t){return new sg(t)}function V0(t){return new P0(t)}function H0(t){return new F0(t)}class Mf{inertDocumentHelper;constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const r=(new window.DOMParser).parseFromString(Ku(e),"text/html").body;return null===r?this.inertDocumentHelper.getInertBodyElement(e):(r.firstChild?.remove(),r)}catch{return null}}}class z0{defaultDoc;inertDocument;constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){const r=this.inertDocument.createElement("template");return r.innerHTML=Ku(e),r}}const If=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function cg(t){return(t=String(t)).match(If)?t:"unsafe:"+t}function Xl(t){const e={};for(const r of t.split(","))e[r]=!0;return e}function ih(...t){const e={};for(const r of t)for(const c in r)r.hasOwnProperty(c)&&(e[c]=!0);return e}const pb=Xl("area,br,col,hr,img,wbr"),hb=Xl("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),gb=Xl("rp,rt"),Of=ih(pb,ih(hb,Xl("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")),ih(gb,Xl("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")),ih(gb,hb)),lg=Xl("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mb=ih(lg,Xl("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"),Xl("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")),G0=Xl("script,style,template");class X0{sanitizedSomething=!1;buf=[];sanitizeChildren(e){let r=e.firstChild,c=!0,p=[];for(;r;)if(r.nodeType===Node.ELEMENT_NODE?c=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,c&&r.firstChild)p.push(r),r=Q0(r);else for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let m=Y0(r);if(m){r=m;break}r=p.pop()}return this.buf.join("")}startElement(e){const r=wb(e).toLowerCase();if(!Of.hasOwnProperty(r))return this.sanitizedSomething=!0,!G0.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);const c=e.attributes;for(let p=0;p"),!0}endElement(e){const r=wb(e).toLowerCase();Of.hasOwnProperty(r)&&!pb.hasOwnProperty(r)&&(this.buf.push(""))}chars(e){this.buf.push(Nf(e))}}function Y0(t){const e=t.nextSibling;if(e&&t!==e.previousSibling)throw Rf(e);return e}function Q0(t){const e=t.firstChild;if(e&&function bb(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(t,e))throw Rf(e);return e}function wb(t){const e=t.nodeName;return"string"==typeof e?e:"FORM"}function Rf(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}const Z0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,q0=/([^\#-~ |!])/g;function Nf(t){return t.replace(/&/g,"&").replace(Z0,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(q0,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let dg;function Lf(t,e){let r=null;try{dg=dg||function ub(t){const e=new z0(t);return function W0(){try{return!!(new window.DOMParser).parseFromString(Ku(""),"text/html")}catch{return!1}}()?new Mf(e):e}(t);let c=e?String(e):"";r=dg.getInertBodyElement(c);let p=5,m=c;do{if(0===p)throw new Error("Failed to sanitize html because the input is unstable");p--,c=m,m=r.innerHTML,r=dg.getInertBodyElement(c)}while(c!==m);return Ku((new X0).sanitizeChildren(Pf(r)||r))}finally{if(r){const c=Pf(r)||r;for(;c.firstChild;)c.firstChild.remove()}}}function Pf(t){return"content"in t&&function J0(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var uu=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}(uu||{});function yb(t){const e=pu();return e?cb(e.sanitize(uu.HTML,t)||""):Gu(t,"HTML")?cb(Gl(t)):Lf(rc(),Ro(t))}function Xu(t){const e=pu();return e?e.sanitize(uu.URL,t)||"":Gu(t,"URL")?Gl(t):cg(Ro(t))}function Ff(t){const e=pu();if(e)return db(e.sanitize(uu.RESOURCE_URL,t)||"");if(Gu(t,"ResourceURL"))return db(Gl(t));throw new Or(904,!1)}function vb(t,e,r){return function $f(t,e){return"src"===e&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===e&&("base"===t||"link"===t)?Ff:Xu}(e,r)(t)}function pu(){const t=_r();return t&&t[li].sanitizer}const xb=/^>|^->||--!>|)/g,kb="\u200b$1\u200b";function Dc(t){return t instanceof Function?t():t}var Md=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(Md||{}),gg=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(gg||{});let Hf;function zf(t,e){return Hf(t,e)}function Zu(t,e,r,c,p){if(null!=c){let m,x=!1;xn(c)?m=c:nn(c)&&(x=!0,c=c[ii]);const M=qn(c);0===t&&null!==r?null==p?Wb(e,r,M):hu(e,r,M,p||null,!0):1===t&&null!==r?hu(e,r,M,p||null,!0):2===t?function ch(t,e,r){t.removeChild(null,e,r)}(e,M,x):3===t&&e.destroyNode(M),null!=m&&function Jb(t,e,r,c,p){const m=r[dn];m!==qn(r)&&Zu(e,t,c,m,p);for(let M=No;Me.replace(Yu,kb))}(e))}function fg(t,e,r){return t.createElement(e,r)}function jb(t,e){e[li].changeDetectionScheduler?.notify(10),_g(t,e,e[on],2,null,null)}function Vb(t,e){const r=t[Dn],c=e[Rn];(nn(c)||e[bi]!==c[Rn][bi])&&(t[Ao]|=ln.HasTransplantedViews),null===r?t[Dn]=[e]:r.push(e)}function mg(t,e){const r=t[Dn],c=r.indexOf(e);r.splice(c,1)}function ah(t,e){if(t.length<=No)return;const r=No+e,c=t[r];if(c){const p=c[Cn];null!==p&&p!==t&&mg(p,c),e>0&&(t[r-1][wa]=c[wa]);const m=Ta(t,No+e);!function $b(t,e){jb(t,e),e[ii]=null,e[Qn]=null}(c[Pr],c);const x=m[di];null!==x&&x.detachView(m[Pr]),c[Rn]=null,c[wa]=null,c[Ao]&=-129}return c}function sh(t,e){if(!(256&e[Ao])){const r=e[on];r.destroyNode&&_g(t,e,r,3,null,null),function ay(t){let e=t[Xa];if(!e)return Gf(t[Pr],t);for(;e;){let r=null;if(nn(e))r=e[Xa];else{const c=e[No];c&&(r=c)}if(!r){for(;e&&!e[wa]&&e!==t;)nn(e)&&Gf(e[Pr],e),e=e[Rn];null===e&&(e=t),nn(e)&&Gf(e[Pr],e),r=e&&e[wa]}e=r}}(e)}}function Gf(t,e){if(256&e[Ao])return;const r=A(null);try{e[Ao]&=-129,e[Ao]|=256,e[xe]&&_t(e[xe]),function bg(t,e){let r;if(null!=t&&null!=(r=t.destroyHooks))for(let c=0;c=0?c[M]():c[-M].unsubscribe(),x+=2}else r[x].call(c[r[x+1]]);null!==c&&(e[Bn]=null);const p=e[Tt];if(null!==p){e[Tt]=null;for(let x=0;x-1){const{encapsulation:m}=t.data[c.directiveStart+p];if(m===Dl.None||m===Dl.Emulated)return null}return oa(c,r)}}(t,e.parent,r)}function hu(t,e,r,c,p){t.insertBefore(e,r,c,p)}function Wb(t,e,r){t.appendChild(e,r)}function Kb(t,e,r,c,p){null!==c?hu(t,e,r,c,p):Wb(t,e,r)}function Xf(t,e){return t.parentNode(e)}function Yf(t,e,r){return Xb(t,e,r)}let Qf,Xb=function Gb(t,e,r){return 40&t.type?oa(t,r):null};function yg(t,e,r,c){const p=wg(t,c,e),m=e[on],M=Yf(c.parent||e[Qn],c,e);if(null!=p)if(Array.isArray(r))for(let B=0;B-1){let m;for(;++pm?"":p[Ct+1].toLowerCase(),2&c&&ot!==jt){if(ll(c))return!1;x=!0}}}}else{if(!x&&!ll(c)&&!ll(B))return!1;if(x&&ll(B))continue;x=!1,c=B|1&c}}return ll(c)||x}function ll(t){return!(1&t)}function my(t,e,r,c){if(null===e)return-1;let p=0;if(c||!r){let m=!1;for(;p-1)for(r++;r0?'="'+M+'"':"")+"]"}else 8&c?p+="."+x:4&c&&(p+=" "+x);else""!==p&&!ll(x)&&(e+=lh(m,p),p=""),c=x,m=m||!ll(c);r++}return""!==p&&(e+=lh(m,p)),e}const $n={};function xg(t=1){ky(fn(),_r(),Ur()+t,!1)}function ky(t,e,r,c){if(!c)if(3&~e[Ao]){const m=t.preOrderHooks;null!==m&&Hn(e,m,0,r)}else{const m=t.preOrderCheckHooks;null!==m&&Vo(e,m,r)}Oo(r)}function qu(t,e=_n.Default){const r=_r();return null===r?mi(t,e):yp(An(),r,Wt(t),e)}function nw(){throw new Error("invalid")}function Jf(t,e,r,c,p,m){const x=A(null);try{let M=null;p&Md.SignalBased&&(M=e[c][C]),null!==M&&void 0!==M.transformFn&&(m=M.transformFn(m)),p&Md.HasDecoratorInputTransform&&(m=t.inputTransforms[c].call(e,m)),null!==t.setInput?t.setInput(e,M,m,r,c):Ha(e,M,c,m)}finally{A(x)}}function dh(t,e,r,c,p,m,x,M,B,ot,Ct){const jt=e.blueprint.slice();return jt[ii]=p,jt[Ao]=1228|c,(null!==ot||t&&2048&t[Ao])&&(jt[Ao]|=2048),nr(jt),jt[Rn]=jt[Ui]=t,jt[Kn]=r,jt[li]=x||t&&t[li],jt[on]=M||t&&t[on],jt[ri]=B||t&&t[ri]||null,jt[Qn]=m,jt[Un]=function Fh(){return kd++}(),jt[ai]=Ct,jt[U]=ot,jt[bi]=2==e.type?t[bi]:jt,jt}function gu(t,e,r,c,p){let m=t.data[e];if(null===m)m=function tm(t,e,r,c,p){const m=Nc(),x=Il(),B=t.data[e]=function to(t,e,r,c,p,m){let x=e?e.injectorIndex:-1,M=0;return ml()&&(M|=128),{type:r,index:c,insertBeforeIndex:null,injectorIndex:x,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:M,providerIndexes:0,value:p,attrs:m,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,x?m:m&&m.parent,r,e,c,p);return null===t.firstChild&&(t.firstChild=B),null!==m&&(x?null==m.child&&null!==B.parent&&(m.child=B):null===m.next&&(m.next=B,B.prev=m)),B}(t,e,r,c,p),function $(){return Wo.lFrame.inI18n}()&&(m.flags|=32);else if(64&m.type){m.type=r,m.value=c,m.attrs=p;const x=function Rs(){const t=Wo.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();m.injectorIndex=null===x?-1:x.injectorIndex}return Qa(m,!0),m}function uh(t,e,r,c){if(0===r)return-1;const p=e.length;for(let m=0;mGe&&ky(t,e,Ge,!1),Ws(x?2:0,p),r(c,p)}finally{Oo(m),Ws(x?3:1,p)}}function g(t,e,r){if(ya(e)){const c=A(null);try{const m=e.directiveEnd;for(let x=e.directiveStart;xnull;function go(t,e,r,c,p){for(let m in e){if(!e.hasOwnProperty(m))continue;const x=e[m];if(void 0===x)continue;c??={};let M,B=Md.None;Array.isArray(x)?(M=x[0],B=x[1]):M=x;let ot=m;if(null!==p){if(!p.hasOwnProperty(m))continue;ot=p[m]}0===t?en(c,r,ot,M,B):en(c,r,ot,M)}return c}function en(t,e,r,c,p){let m;t.hasOwnProperty(r)?(m=t[r]).push(e,c):m=t[r]=[e,c],void 0!==p&&m.push(p)}function ui(t,e,r,c,p,m,x,M){const B=oa(e,r);let Ct,ot=e.inputs;!M&&null!=ot&&(Ct=ot[c])?(Cy(t,r,Ct,c,p),Ni(e)&&function xs(t,e){const r=K(e,t);16&r[Ao]||(r[Ao]|=64)}(r,e.index)):3&e.type&&(c=function Ti(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(c),p=null!=x?x(p,e.value||"",c):p,m.setProperty(B,c,p))}function wc(t,e,r,c){if(pp()){const p=null===c?null:{"":-1},m=function em(t,e){const r=t.directiveRegistry;let c=null,p=null;if(r)for(let m=0;m0;){const r=t[--e];if("number"==typeof r&&r<0)return r}return 0})(x)!=M&&x.push(M),x.push(r,c,m)}}(t,e,c,uh(t,r,p.hostVars,$n),p)}function xi(t){let e=16;return t.signals?e=4096:t.onPush&&(e=64),e}function rs(t,e,r,c,p,m){const x=oa(t,e);!function ac(t,e,r,c,p,m,x){if(null==m)t.removeAttribute(e,p,r);else{const M=null==x?Ro(m):x(m,c||"",p);t.setAttribute(e,p,M,r)}}(e[on],x,m,t.value,r,c,p)}function Nd(t,e,r,c,p,m){const x=m[e];if(null!==x)for(let M=0;M0&&(r[p-1][wa]=e),c{Ia(t.lView)},consumerOnSignalRead(){this.lView[xe]=this}},E5={...P,consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=da(t.lView);for(;e&&!t_(e[Pr]);)e=da(e);e&&uo(e)},consumerOnSignalRead(){this.lView[xe]=this}};function t_(t){return 2!==t.type}function e_(t){if(null===t[mt])return;let e=!0;for(;e;){let r=!1;for(const c of t[mt])c.dirty&&(r=!0,null===c.zone||Zone.current===c.zone?c.run():c.zone.run(()=>c.run()));e=r&&!!(8192&t[Ao])}}const C5=100;function lw(t,e=!0,r=0){const p=t[li].rendererFactory;p.begin?.();try{!function D5(t,e){const r=fs();try{Zc(!0),Ay(t,e);let c=0;for(;Io(t);){if(c===C5)throw new Or(103,!1);c++,Ay(t,1)}}finally{Zc(r)}}(t,r)}catch(x){throw e&&sw(t,x),x}finally{p.end?.()}}function o_(t,e,r,c){const p=e[Ao];if(!(256&~p))return;Gr(e);let M=!0,B=null,ot=null;t_(t)?(ot=function y5(t){return t[xe]??function v5(t){const e=J1.pop()??Object.create(x5);return e.lView=t,e}(t)}(e),B=Et(ot)):null===function S(){return l}()?(M=!1,ot=function k5(t){const e=t[xe]??Object.create(E5);return e.lView=t,e}(e),B=Et(ot)):e[xe]&&(_t(e[xe]),e[xe]=null);try{nr(e),function vu(t){return Wo.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==r&&w(t,e,r,2,c);const Ct=!(3&~p);if(Ct){const Ue=t.preOrderCheckHooks;null!==Ue&&Vo(e,Ue,null)}else{const Ue=t.preOrderHooks;null!==Ue&&Hn(e,Ue,0,null),Yn(e,0)}if(function S5(t){for(let e=sl(t);null!==e;e=Hp(e)){if(!(e[Ao]&ln.HasTransplantedViews))continue;const r=e[Dn];for(let c=0;c-1&&(ah(e,c),Ta(r,c))}this._attachedToViewContainer=!1}sh(this._lView[Pr],this._lView)}onDestroy(e){na(this._lView,e)}markForCheck(){nm(this._cdRefInjectingView||this._lView,4)}markForRefresh(){uo(this._cdRefInjectingView||this._lView)}detach(){this._lView[Ao]&=-129}reattach(){Gn(this._lView),this._lView[Ao]|=128}detectChanges(){this._lView[Ao]|=1024,lw(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Or(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const e=Hs(this._lView),r=this._lView[Cn];null!==r&&!e&&mg(r,this._lView),jb(this._lView[Pr],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Or(902,!1);this._appRef=e;const r=Hs(this._lView),c=this._lView[Cn];null!==c&&!r&&Vb(c,this._lView),Gn(this._lView)}}let am=(()=>class t{static __NG_ELEMENT_ID__=I5})();const T5=am,M5=class extends T5{_declarationLView;_declarationTContainer;elementRef;constructor(e,r,c){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=c}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,c){const p=Cg(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:c});return new im(p)}};function I5(){return dw(An(),_r())}function dw(t,e){return 4&t.type?new M5(e,t,El(t,e)):null}class $5{resolveComponentFactory(e){throw Error(`No component factory found for ${To(e)}.`)}}class pw{static NULL=new $5}class fh{}class l_{}class j5{}class d_{}class Oy{}let V5=(()=>class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>function H5(){const t=_r(),r=K(An().index,t);return(nn(r)?r:t)[on]}()})(),z5=(()=>{class t{static \u0275prov=cn({token:t,providedIn:"root",factory:()=>null})}return t})();function Ju(t){return!!gn(t)}function gw(t,e,r){let c=r?t.styles:null,p=r?t.classes:null,m=0;if(null!==e)for(let x=0;x0&&tw(t,r,m.join(" "))}}(Ne,ns,qe,c),void 0!==r&&function t3(t,e,r){const c=t.projection=[];for(let p=0;pr()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Py extends l_{moduleType;constructor(e){super(),this.moduleType=e}create(e){return new Ly(this.moduleType,e,[])}}class f_ extends fh{injector;componentFactoryResolver=new h_(this);instance=null;constructor(e){super();const r=new ba([...e.providers,{provide:fh,useValue:this},{provide:pw,useValue:this.componentFactoryResolver}],e.parent||wn(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function Fy(t,e,r=null){return new f_({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}let n3=(()=>{class t{_injector;cachedInjectors=new Map;constructor(r){this._injector=r}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){const c=$s(0,r.type),p=c.length>0?Fy([c],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,p)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=cn({token:t,providedIn:"environment",factory:()=>new t(mi(la))})}return t})();function m_(t){return N(()=>{const e=v_(t),r={...e,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===il.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:e.standalone?p=>p.get(n3).getOrCreateStandaloneInjector(r):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Dl.Emulated,styles:t.styles||Hr,_:null,schemas:t.schemas||null,tView:null,id:""};e.standalone&&an("NgStandalone"),__(r);const c=t.dependencies;return r.directiveDefs=fw(c,!1),r.pipeDefs=fw(c,!0),r.id=function c3(t){let e=0;const r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const p of r)e=Math.imul(31,e)+p.charCodeAt(0)|0;return e+=2147483648,"c"+e}(r),r})}function i3(t){return Ko(t)||pn(t)}function a3(t){return null!==t}function By(t){return N(()=>({type:t.type,bootstrap:t.bootstrap||Hr,declarations:t.declarations||Hr,imports:t.imports||Hr,exports:t.exports||Hr,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function b_(t,e){if(null==t)return Ir;const r={};for(const c in t)if(t.hasOwnProperty(c)){const p=t[c];let m,x,M=Md.None;Array.isArray(p)?(M=p[0],m=p[1],x=p[2]??m):(m=p,x=p),e?(r[m]=M!==Md.None?[c,M]:c,e[m]=x):r[m]=c}return r}function w_(t){return N(()=>{const e=v_(t);return __(e),e})}function y_(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function v_(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||Ir,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:!0===t.signals,selectors:t.selectors||Hr,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:b_(t.inputs,e),outputs:b_(t.outputs),debugInfo:null}}function __(t){t.features?.forEach(e=>e(t))}function fw(t,e){if(!t)return null;const r=e?Fn:i3;return()=>("function"==typeof t?t():t).map(c=>r(c)).filter(a3)}let k_=(()=>{class t{log(r){console.log(r)}warn(r){console.warn(r)}static \u0275fac=function(c){return new(c||t)};static \u0275prov=cn({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function Uy(t){return"function"==typeof t&&void 0!==t[C]}const D_="ng";function L3(t,e){!function A_(t,e){if(typeof COMPILED>"u"||!COMPILED){const r=dr;r[D_]??={},r[D_][t]=e}}(t,e)}const T_=new de(""),M_=new de("");let jy,P3=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(r,c,p){this._ngZone=r,this.registry=c,jy||(function F3(t){jy=t}(p),p.addToWindow(c)),this._watchAngularEvents(),r.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:()=>{ia.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 r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb()}});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(c=>!c.updateCb||!c.updateCb(r)||(clearTimeout(c.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,c,p){let m=-1;c&&c>0&&(m=setTimeout(()=>{this._callbacks=this._callbacks.filter(x=>x.timeoutId!==m),r()},c)),this._callbacks.push({doneCb:r,timeoutId:m,updateCb:p})}whenStable(r,c,p){if(p&&!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(r,c,p),this._runCallbacksIfReady()}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,c,p){return[]}static \u0275fac=function(c){return new(c||t)(mi(ia),mi(I_),mi(M_))};static \u0275prov=cn({token:t,factory:t.\u0275fac})}return t})(),I_=(()=>{class t{_applications=new Map;registerApplication(r,c){this._applications.set(r,c)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,c=!0){return jy?.findTestabilityInTree(this,r,c)??null}static \u0275fac=function(c){return new(c||t)};static \u0275prov=cn({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function Vy(t){return!!t&&"function"==typeof t.then}function O_(t){return!!t&&"function"==typeof t.subscribe}const Hy=new de("");let R_=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((r,c)=>{this.resolve=r,this.reject=c});appInits=co(Hy,{optional:!0})??[];injector=co(Qi);constructor(){}runInitializers(){if(this.initialized)return;const r=[];for(const p of this.appInits){const m=$a(this.injector,p);if(Vy(m))r.push(m);else if(O_(m)){const x=new Promise((M,B)=>{m.subscribe({complete:M,error:B})});r.push(x)}}const c=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{c()}).catch(p=>{this.reject(p)}),0===r.length&&c(),this.initialized=!0}static \u0275fac=function(c){return new(c||t)};static \u0275prov=cn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),zy=(()=>{class t{static \u0275prov=cn({token:t,providedIn:"root",factory:()=>new N_})}return t})();class N_{queuedEffectCount=0;queues=new Map;schedule(e){this.enqueue(e)}enqueue(e){const r=e.zone;this.queues.has(r)||this.queues.set(r,new Set);const c=this.queues.get(r);c.has(e)||(this.queuedEffectCount++,c.add(e))}flush(){for(;this.queuedEffectCount>0;)for(const[e,r]of this.queues)null===e?this.flushQueue(r):e.run(()=>this.flushQueue(r))}flushQueue(e){for(const r of e)e.delete(r),this.queuedEffectCount--,r.run()}}const gm=new de("");let ul=(()=>{class t{_bootstrapListeners=[];_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=co(Jd);afterRenderManager=co(Ba);zonelessEnabled=co(md);rootEffectScheduler=co(zy);dirtyFlags=0;deferredDirtyFlags=0;externalTestViews=new Set;afterTick=new re.B;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=co(_l).hasPendingTasks.pipe((0,tr.T)(r=>!r));whenStable(){let r;return new Promise(c=>{r=this.isStable.subscribe({next:p=>{p&&c()}})}).finally(()=>{r.unsubscribe()})}_injector=co(la);get injector(){return this._injector}bootstrap(r,c){const p=r instanceof d_;if(!this._injector.get(R_).done)throw!p&&Oi(r),new Or(405,!1);let x;x=p?r:this._injector.get(pw).resolveComponentFactory(r),this.componentTypes.push(x.componentType);const M=function B3(t){return t.isBoundToModule}(x)?void 0:this._injector.get(fh),ot=x.create(Qi.NULL,[],c||x.selector,M),Ct=ot.location.nativeElement,jt=ot.injector.get(T_,null);return jt?.registerApplication(Ct),ot.onDestroy(()=>{this.detachView(ot.hostView),ww(this.components,ot),jt?.unregisterApplication(Ct)}),this._loadComponent(ot),ot}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new Or(101,!1);const r=A(null);try{this._runningTick=!0,this.synchronize()}catch(c){this.internalErrorHandler(c)}finally{this._runningTick=!1,A(r),this.afterTick.next()}}synchronize(){let r=null;this._injector.destroyed||(r=this._injector.get(Oy,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let c=0;for(;0!==this.dirtyFlags&&c++<10;)this.synchronizeOnce(r)}synchronizeOnce(r){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),7&this.dirtyFlags){const c=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:p,notifyErrorHandler:m}of this.allViews)j3(p,m,c,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}else r?.begin?.(),r?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:r})=>Io(r))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(r){const c=r;this._views.push(c),c.attachToAppRef(this)}detachView(r){const c=r;ww(this._views,c),c.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const c=this._injector.get(gm,[]);[...this._bootstrapListeners,...c].forEach(p=>p(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>ww(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new Or(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(c){return new(c||t)};static \u0275prov=cn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ww(t,e){const r=t.indexOf(e);r>-1&&t.splice(r,1)}function j3(t,e,r,c){(r||Io(t))&&lw(t,e,r&&!c?0:1)}let ex=()=>null;function Ag(t,e){return ex(t,e)}let Ew=(()=>class t{static __NG_ELEMENT_ID__=SC})();function SC(){return nx(An(),_r())}const AC=Ew,rx=class extends AC{_lContainer;_hostTNode;_hostLView;constructor(e,r,c){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=c}get element(){return El(this._hostTNode,this._hostLView)}get injector(){return new Fa(this._hostTNode,this._hostLView)}get parentInjector(){const e=Rl(this._hostTNode,this._hostLView);if(mp(e)){const r=Wd(e,this._hostLView),c=zd(e);return new Fa(r[Pr].data[c+8],r)}return new Fa(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const r=ox(this._lContainer);return null!==r&&r[e]||null}get length(){return this._lContainer.length-No}createEmbeddedView(e,r,c){let p,m;"number"==typeof c?p=c:null!=c&&(p=c.index,m=c.injector);const x=Ag(this._lContainer,e.ssrId),M=e.createEmbeddedViewImpl(r||{},m,x);return this.insertImpl(M,p,gh(this._hostTNode,x)),M}createComponent(e,r,c,p,m){const x=e&&!function xc(t){return"function"==typeof t}(e);let M;if(x)M=r;else{const qe=r||{};M=qe.index,c=qe.injector,p=qe.projectableNodes,m=qe.environmentInjector||qe.ngModuleRef}const B=x?e:new pm(Ko(e)),ot=c||this.parentInjector;if(!m&&null==B.ngModule){const Nr=(x?ot:this.parentInjector).get(la,null);Nr&&(m=Nr)}const Ct=Ko(B.componentType??{}),jt=Ag(this._lContainer,Ct?.id??null),Ue=B.create(ot,p,jt?.firstChild??null,m);return this.insertImpl(Ue.hostView,M,gh(this._hostTNode,jt)),Ue}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,c){const p=e._lView;if(function De(t){return xn(t[Rn])}(p)){const M=this.indexOf(e);if(-1!==M)this.detach(M);else{const B=p[Rn],ot=new rx(B,B[Qn],B[Rn]);ot.detach(ot.indexOf(e))}}const m=this._adjustIndex(r),x=this._lContainer;return Dg(x,p,m,c),e.attachToViewContainerRef(),Cs(ev(x),m,e),e}move(e,r){return this.insert(e,r)}indexOf(e){const r=ox(this._lContainer);return null!==r?r.indexOf(e):-1}remove(e){const r=this._adjustIndex(e,-1),c=ah(this._lContainer,r);c&&(Ta(ev(this._lContainer),r),sh(c[Pr],c))}detach(e){const r=this._adjustIndex(e,-1),c=ah(this._lContainer,r);return c&&null!=Ta(ev(this._lContainer),r)?new im(c):null}_adjustIndex(e,r=0){return e??this.length+r}};function ox(t){return t[8]}function ev(t){return t[8]||(t[8]=[])}function nx(t,e){let r;const c=e[t.index];return xn(c)?r=c:(r=rm(c,e,null,t),e[t.index]=r,os(e,r)),ix(r,e,t,c),new rx(r,t,e)}let ix=function sx(t,e,r,c){if(t[dn])return;let p;p=8&r.type?qn(c):function TC(t,e){const r=t[on],c=r.createComment(""),p=oa(e,t);return hu(r,Xf(r,p),c,function cy(t,e){return t.nextSibling(e)}(r,p),!1),c}(e,r),t[dn]=p},rv=()=>!1;class ov{queryList;matches=null;constructor(e){this.queryList=e}clone(){return new ov(this.queryList)}setDirty(){this.queryList.setDirty()}}class nv{queries;constructor(e=[]){this.queries=e}createEmbeddedView(e){const r=e.queries;if(null!==r){const c=null!==e.contentQueries?e.contentQueries[0]:r.length,p=[];for(let m=0;me.trim())}(e):e}}class iv{queries;constructor(e=[]){this.queries=e}elementStart(e,r){for(let c=0;c0)c.push(x[M/2]);else{const ot=m[M+1],Ct=e[-B];for(let jt=No;jt(q(e),e.value);return r[C]=e,r}(t),c=r[C];return e?.equal&&(c.equal=e.equal),r.set=p=>Yt(c,p),r.update=p=>function oe(t,e){ct()||Qt(),Yt(t,e(t.value))}(c,p),r.asReadonly=dv.bind(r),r}function dv(){const t=this[C];if(void 0===t.readonlyFn){const e=()=>this();e[C]=t,t.readonlyFn=e}return t.readonlyFn}function fx(t){return Uy(t)&&"function"==typeof t.set}function uv(t,e,r){let c;const p=ve(()=>{c._dirtyCounter();const m=function UC(t,e){const r=t._lView,c=t._queryIndex;if(void 0===r||void 0===c||4&r[Ao])return e?void 0:Hr;const p=cv(r,c),m=gx(r,c);return p.reset(m,Np),e?p.first:p._changesDetected||void 0===t._flatValue?t._flatValue=p.toArray():t._flatValue}(c,t);if(e&&void 0===m)throw new Or(-951,!1);return m});return c=p[C],c._dirtyCounter=Tg(0),c._flatValue=void 0,p}function vx(t,e){return function mx(t){return uv(!0,!1)}()}const jC=(vx.required=function $C(t,e){return function bx(t){return uv(!0,!0)}()},vx);function pv(t){let e=function Sx(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),r=!0;const c=[t];for(;e;){let p;if(Yi(t))p=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Or(903,!1);p=e.\u0275dir}if(p){if(r){c.push(p);const x=t;x.inputs=Dw(t.inputs),x.inputTransforms=Dw(t.inputTransforms),x.declaredInputs=Dw(t.declaredInputs),x.outputs=Dw(t.outputs);const M=p.hostBindings;M&&t4(t,M);const B=p.viewQuery,ot=p.contentQueries;if(B&&qC(t,B),ot&&JC(t,ot),QC(t,p),zo(t.outputs,p.outputs),Yi(p)&&p.data.animation){const Ct=t.data;Ct.animation=(Ct.animation||[]).concat(p.data.animation)}}const m=p.features;if(m)for(let x=0;x=0;c--){const p=t[c];p.hostVars=e+=p.hostVars,p.hostAttrs=el(p.hostAttrs,r=el(r,p.hostAttrs))}}(c)}function QC(t,e){for(const r in e.inputs){if(!e.inputs.hasOwnProperty(r)||t.inputs.hasOwnProperty(r))continue;const c=e.inputs[r];if(void 0!==c&&(t.inputs[r]=c,t.declaredInputs[r]=e.declaredInputs[r],null!==e.inputTransforms)){const p=Array.isArray(c)?c[0]:c;if(!e.inputTransforms.hasOwnProperty(p))continue;t.inputTransforms??={},t.inputTransforms[p]=e.inputTransforms[p]}}}function Dw(t){return t===Ir?{}:t===Hr?[]:t}function qC(t,e){const r=t.viewQuery;t.viewQuery=r?(c,p)=>{e(c,p),r(c,p)}:e}function JC(t,e){const r=t.contentQueries;t.contentQueries=r?(c,p,m)=>{e(c,p,m),r(c,p,m)}:e}function t4(t,e){const r=t.hostBindings;t.hostBindings=r?(c,p)=>{e(c,p),r(c,p)}:e}function Ax(t){const e=r=>{const c=Array.isArray(t);null===r.hostDirectives?(r.findHostDirectiveDefs=Tx,r.hostDirectives=c?t.map(hv):[t]):c?r.hostDirectives.unshift(...t.map(hv)):r.hostDirectives.unshift(t)};return e.ngInherit=!0,e}function Tx(t,e,r){if(null!==t.hostDirectives)for(const c of t.hostDirectives)if("function"==typeof c){const p=c();for(const m of p)Mx(hv(m),e,r)}else Mx(c,e,r)}function Mx(t,e,r){const c=pn(t.directive);(function n4(t,e){for(const r in e)e.hasOwnProperty(r)&&(t[e[r]]=t[r])})(c.declaredInputs,t.inputs),Tx(c,e,r),r.set(c,t),e.push(c)}function hv(t){return"function"==typeof t?{directive:Wt(t),inputs:Ir,outputs:Ir}:{directive:Wt(t.directive),inputs:Ix(t.inputs),outputs:Ix(t.outputs)}}function Ix(t){if(void 0===t||0===t.length)return Ir;const e={};for(let r=0;r>17&32767}function Sv(t){return 2|t}function wh(t){return(131068&t)>>2}function Av(t,e){return-131069&t|e<<2}function Tv(t){return 1|t}function Jx(t,e,r,c){const p=t[r+1],m=null===e;let x=c?ip(p):wh(p),M=!1;for(;0!==x&&(!1===M||m);){const ot=t[x+1];oD(t[x],e)&&(M=!0,t[x+1]=c?Tv(ot):Sv(ot)),x=c?ip(ot):wh(ot)}M&&(t[r+1]=c?Sv(p):Tv(p))}function oD(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&ne(t,e)>=0}const Ps={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function t2(t){return t.substring(Ps.key,Ps.keyEnd)}function nD(t){return t.substring(Ps.value,Ps.valueEnd)}function e2(t,e){const r=Ps.textEnd;return r===e?-1:(e=Ps.keyEnd=function sD(t,e,r){for(;e32;)e++;return e}(t,Ps.key=e,r),zg(t,e,r))}function r2(t,e){const r=Ps.textEnd;let c=Ps.key=zg(t,e,r);return r===c?-1:(c=Ps.keyEnd=function cD(t,e,r){let c;for(;e=65&&(-33&c)<=90||c>=48&&c<=57);)e++;return e}(t,c,r),c=n2(t,c,r),c=Ps.value=zg(t,c,r),c=Ps.valueEnd=function lD(t,e,r){let c=-1,p=-1,m=-1,x=e,M=x;for(;x32&&(M=x),m=p,p=c,c=-33&B}return M}(t,c,r),n2(t,c,r))}function o2(t){Ps.key=0,Ps.keyEnd=0,Ps.value=0,Ps.valueEnd=0,Ps.textEnd=t.length}function zg(t,e,r){for(;e=0;r=r2(e,r))l2(t,t2(e),nD(e))}function a2(t){Jl(mD,Pd,t,!0)}function Pd(t,e){for(let r=function iD(t){return o2(t),e2(t,zg(t,0,Ps.textEnd))}(e);r>=0;r=e2(e,r))qt(t,t2(e),!0)}function ql(t,e,r,c){const p=_r(),m=fn(),x=L(2);m.firstUpdatePass&&c2(m,t,x,c),e!==$n&&za(p,x,e)&&d2(m,m.data[Ur()],p,p[on],t,p[x+1]=function wD(t,e){return null==t||""===t||("string"==typeof e?t+=e:"object"==typeof t&&(t=To(Gl(t)))),t}(e,r),c,x)}function Jl(t,e,r,c){const p=fn(),m=L(2);p.firstUpdatePass&&c2(p,null,m,c);const x=_r();if(r!==$n&&za(x,m,r)){const M=p.data[Ur()];if(p2(M,c)&&!s2(p,m)){let B=c?M.classesWithoutHost:M.stylesWithoutHost;null!==B&&(r=Ho(B,r||"")),Iv(p,M,x,r,c)}else!function bD(t,e,r,c,p,m,x,M){p===$n&&(p=Hr);let B=0,ot=0,Ct=0=t.expandoStartIndex}function c2(t,e,r,c){const p=t.data;if(null===p[r+1]){const m=p[Ur()],x=s2(t,r);p2(m,c)&&null===e&&!x&&(e=!1),e=function uD(t,e,r,c){const p=Ie(t);let m=c?e.residualClasses:e.residualStyles;if(null===p)0===(c?e.classBindings:e.styleBindings)&&(r=km(r=Nv(null,t,e,r,c),e.attrs,c),m=null);else{const x=e.directiveStylingLast;if(-1===x||t[x]!==p)if(r=Nv(p,t,e,r,c),null===m){let B=function pD(t,e,r){const c=r?e.classBindings:e.styleBindings;if(0!==wh(c))return t[ip(c)]}(t,e,c);void 0!==B&&Array.isArray(B)&&(B=Nv(null,t,e,B[1],c),B=km(B,e.attrs,c),function hD(t,e,r,c){t[ip(r?e.classBindings:e.styleBindings)]=c}(t,e,c,B))}else m=function gD(t,e,r){let c;const p=e.directiveEnd;for(let m=1+e.directiveStylingLast;m0)&&(ot=!0)):Ct=r,p)if(0!==B){const Ne=ip(t[M+1]);t[c+1]=Iw(Ne,M),0!==Ne&&(t[Ne+1]=Av(t[Ne+1],c)),t[M+1]=function J4(t,e){return 131071&t|e<<17}(t[M+1],c)}else t[c+1]=Iw(M,0),0!==M&&(t[M+1]=Av(t[M+1],c)),M=c;else t[c+1]=Iw(B,0),0===M?M=c:t[B+1]=Av(t[B+1],c),B=c;ot&&(t[c+1]=Sv(t[c+1])),Jx(t,Ct,c,!0),Jx(t,Ct,c,!1),function rD(t,e,r,c,p){const m=p?t.residualClasses:t.residualStyles;null!=m&&"string"==typeof e&&ne(m,e)>=0&&(r[c+1]=Tv(r[c+1]))}(e,Ct,t,c,m),x=Iw(M,B),m?e.classBindings=x:e.styleBindings=x}(p,m,e,r,x,c)}}function Nv(t,e,r,c,p){let m=null;const x=r.directiveEnd;let M=r.directiveStylingLast;for(-1===M?M=r.directiveStart:M++;M0;){const B=t[p],ot=Array.isArray(B),Ct=ot?B[1]:B,jt=null===Ct;let Ne=r[p+1];Ne===$n&&(Ne=jt?Hr:void 0);let Ue=jt?et(Ne,c):Ct===c?Ne:void 0;if(ot&&!Ow(Ue)&&(Ue=et(B,c)),Ow(Ue)&&(M=Ue,x))return M;const qe=t[p+1];p=x?ip(qe):wh(qe)}if(null!==e){let B=m?e.residualClasses:e.residualStyles;null!=B&&(M=et(B,c))}return M}function Ow(t){return void 0!==t}function p2(t,e){return!!(t.flags&(e?8:16))}function h2(t,e,r){Jl(qt,Pd,Pg(_r(),t,e,r),!0)}function g2(){return _r()[bi][Kn]}class SD{destroy(e){}updateValue(e,r){}swap(e,r){const c=Math.min(e,r),p=Math.max(e,r),m=this.detach(p);if(p-c>1){const x=this.detach(c);this.attach(c,m),this.attach(p,x)}else this.attach(c,m)}move(e,r){this.attach(r,this.detach(e))}}function Lv(t,e,r,c,p){return t===r&&Object.is(e,c)?1:Object.is(p(t,e),p(r,c))?-1:0}function Pv(t,e,r,c){return!(void 0===e||!e.has(c)||(t.attach(r,e.get(c)),e.delete(c),0))}function f2(t,e,r,c,p){if(Pv(t,e,c,r(c,p)))t.updateValue(c,p);else{const m=t.create(c,p);t.attach(c,m)}}function m2(t,e,r,c){const p=new Set;for(let m=e;m<=r;m++)p.add(c(m,t.at(m)));return p}class b2{kvMap=new Map;_vMap=void 0;has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;const r=this.kvMap.get(e);return void 0!==this._vMap&&this._vMap.has(r)?(this.kvMap.set(e,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,r){if(this.kvMap.has(e)){let c=this.kvMap.get(e);void 0===this._vMap&&(this._vMap=new Map);const p=this._vMap;for(;p.has(c);)c=p.get(c);p.set(c,r)}else this.kvMap.set(e,r)}forEach(e){for(let[r,c]of this.kvMap)if(e(c,r),void 0!==this._vMap){const p=this._vMap;for(;p.has(c);)c=p.get(c),e(c,r)}}}function w2(t,e){an("NgControlFlow");const r=_r(),c=I(),p=r[c]!==$n?r[c]:-1,m=-1!==p?Rw(r,Ge+p):void 0;if(za(r,c,t)){const M=A(null);try{if(void 0!==m&&Dy(m,0),-1!==t){const B=Ge+t,ot=Rw(r,B),Ct=Fv(r[Pr],B),jt=Ag(ot,Ct.tView.ssrId);Dg(ot,Cg(r,Ct,e,{dehydratedView:jt}),0,gh(Ct,jt))}}finally{A(M)}}else if(void 0!==m){const M=q1(m,0);void 0!==M&&(M[Kn]=e)}}class TD{lContainer;$implicit;$index;constructor(e,r,c){this.lContainer=e,this.$implicit=r,this.$index=c}get $count(){return this.lContainer.length-No}}function y2(t){return t}class ID{hasEmptyBlock;trackByFn;liveCollection;constructor(e,r,c){this.hasEmptyBlock=e,this.trackByFn=r,this.liveCollection=c}}function v2(t,e,r,c,p,m,x,M,B,ot,Ct,jt,Ne){an("NgControlFlow");const Ue=_r(),qe=fn(),Nr=void 0!==B,Yr=_r(),lo=M?x.bind(Yr[bi][Kn]):x,Lr=new ID(Nr,lo);Yr[Ge+t]=Lr,_m(Ue,qe,t+1,e,r,c,p,pr(qe.consts,m)),Nr&&_m(Ue,qe,t+2,B,ot,Ct,jt,pr(qe.consts,Ne))}class OD extends SD{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(e,r,c){super(),this.lContainer=e,this.hostLView=r,this.templateTNode=c}get length(){return this.lContainer.length-No}at(e){return this.getLView(e)[Kn].$implicit}attach(e,r){const c=r[ai];this.needsIndexUpdate||=e!==this.length,Dg(this.lContainer,r,e,gh(this.templateTNode,c))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,function RD(t,e){return ah(t,e)}(this.lContainer,e)}create(e,r){const c=Ag(this.lContainer,this.templateTNode.tView.ssrId),p=Cg(this.hostLView,this.templateTNode,new TD(this.lContainer,r,e),{dehydratedView:c});return this.operationsCounter?.recordCreate(),p}destroy(e){sh(e[Pr],e),this.operationsCounter?.recordDestroy()}updateValue(e,r){this.getLView(e)[Kn].$implicit=r}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e{t.destroy(B)})}(B,t,m.trackByFn),B.updateIndexes(),m.hasEmptyBlock){const ot=I(),Ct=0===B.length;if(za(c,ot,Ct)){const jt=r+2,Ne=Rw(c,jt);if(Ct){const Ue=Fv(p,jt),qe=Ag(Ne,Ue.tView.ssrId);Dg(Ne,Cg(c,Ue,void 0,{dehydratedView:qe}),0,gh(Ue,qe))}else Dy(Ne,0)}}}finally{A(e)}}function Rw(t,e){return t[e]}function Fv(t,e){return G(t,e)}function Nw(t,e,r,c){const p=_r(),m=fn(),x=Ge+t,M=p[on],B=m.firstCreatePass?function LD(t,e,r,c,p,m){const x=e.consts,B=gu(e,t,2,c,pr(x,p));return wc(e,r,B,pr(x,m)),null!==B.attrs&&gw(B,B.attrs,!1),null!==B.mergedAttrs&&gw(B,B.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,B),B}(x,m,p,e,r,c):m.data[x],ot=x2(m,p,B,M,e,t);p[x]=ot;const Ct=hs(B);return Qa(B,!0),ew(M,ot,B),!function Ig(t){return!(32&~t.flags)}(B)&&yi()&&yg(m,p,ot,B),0===function wu(){return Wo.lFrame.elementDepthCount}()&&ys(ot,p),function dp(){Wo.lFrame.elementDepthCount++}(),Ct&&(d(m,p,B),g(m,B,p)),null!==c&&b(p,B),Nw}function Lw(){let t=An();Il()?gs():(t=t.parent,Qa(t,!1));const e=t;(function Yc(t){return Wo.skipHydrationRootTNode===t})(e)&&function Js(){Wo.skipHydrationRootTNode=null}(),function up(){Wo.lFrame.elementDepthCount--}();const r=fn();return r.firstCreatePass&&(wo(r,t),ya(t)&&r.queries.elementEnd(t)),null!=e.classesWithoutHost&&function wl(t){return!!(8&t.flags)}(e)&&Iv(r,e,_r(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function tl(t){return!!(16&t.flags)}(e)&&Iv(r,e,_r(),e.stylesWithoutHost,!1),Lw}function Bv(t,e,r,c){return Nw(t,e,r,c),Lw(),Bv}let x2=(t,e,r,c,p,m)=>(Si(!0),fg(c,p,function Jn(){return Wo.lFrame.currentNamespace}()));function Pw(t,e,r){const c=_r(),p=fn(),m=t+Ge,x=p.firstCreatePass?function BD(t,e,r,c,p){const m=e.consts,x=pr(m,c),M=gu(e,t,8,"ng-container",x);return null!==x&&gw(M,x,!0),wc(e,r,M,pr(m,p)),null!==e.queries&&e.queries.elementStart(e,M),M}(m,p,c,e,r):p.data[m];Qa(x,!0);const M=k2(p,c,x,t);return c[m]=M,yi()&&yg(p,c,M,x),ys(M,c),hs(x)&&(d(p,c,x),g(p,x,c)),null!=r&&b(c,x),Pw}function Fw(){let t=An();const e=fn();return Il()?gs():(t=t.parent,Qa(t,!1)),e.firstCreatePass&&(wo(e,t),ya(t)&&e.queries.elementEnd(t)),Fw}function Uv(t,e,r){return Pw(t,e,r),Fw(),Uv}let k2=(t,e,r,c)=>(Si(!0),Kf(e[on],""));function E2(){return _r()}function $v(t,e,r){const c=_r();return za(c,I(),e)&&ui(fn(),no(),c,t,e,c[on],r,!0),$v}function jv(t,e,r){const c=_r();if(za(c,I(),e)){const m=fn(),x=no();ui(m,x,c,t,e,Z1(Ie(m.data),x,c),r,!0)}return jv}const yh=void 0;var VD=["en",[["a","p"],["AM","PM"],yh],[["AM","PM"],yh,yh],[["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"]],yh,[["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"]],yh,[["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}",yh,"{1} 'at' {0}",yh],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function jD(t){const r=Math.floor(Math.abs(t)),c=t.toString().replace(/^[^.]*\.?/,"").length;return 1===r&&0===c?1:5}];let Wg={};function Vv(t){const e=function HD(t){return t.toLowerCase().replace(/_/g,"-")}(t);let r=D2(e);if(r)return r;const c=e.split("-")[0];if(r=D2(c),r)return r;if("en"===c)return VD;throw new Or(701,!1)}function C2(t){return Vv(t)[Kg.PluralCase]}function D2(t){return t in Wg||(Wg[t]=dr.ng&&dr.ng.common&&dr.ng.common.locales&&dr.ng.common.locales[t]),Wg[t]}var Kg=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}(Kg||{});const Bw="en-US";let S2=Bw,W2=(t,e,r)=>{};function Wv(t,e,r,c){const p=_r(),m=fn(),x=An();return Gv(m,p,p[on],x,t,e,c),Wv}function Kv(t,e){const r=An(),c=_r(),p=fn();return Gv(p,c,Z1(Ie(p.data),r,c),r,t,e),Kv}function Gv(t,e,r,c,p,m,x){const M=hs(c),ot=t.firstCreatePass&&Eg(t),Ct=e[Kn],jt=hh(e);let Ne=!0;if(3&c.type||x){const Nr=oa(c,e),Yr=x?x(Nr):Nr,lo=jt.length,Lr=x?jn=>x(qn(jn[c.index])):c.index;let En=null;if(!x&&M&&(En=function OS(t,e,r,c){const p=t.cleanup;if(null!=p)for(let m=0;mB?M[B]:null}"string"==typeof x&&(m+=2)}return null}(t,e,p,c.index)),null!==En)(En.__ngLastListenerFn__||En).__ngNextListenerFn__=m,En.__ngLastListenerFn__=m,Ne=!1;else{m=G2(c,e,Ct,m),W2(Nr,p,m);const jn=r.listen(Yr,p,m);jt.push(m,jn),ot&&ot.push(p,Lr,lo,lo+1)}}else m=G2(c,e,Ct,m);const Ue=c.outputs;let qe;if(Ne&&null!==Ue&&(qe=Ue[p])){const Nr=qe.length;if(Nr)for(let Yr=0;Yr-1?K(t.index,e):e,5);let M=K2(e,r,c,m),B=p.__ngNextListenerFn__;for(;B;)M=K2(e,r,B,m)&&M,B=B.__ngNextListenerFn__;return M}}function X2(t=1){return function yo(t){return(Wo.lFrame.contextLView=function un(t,e){for(;t>0;)e=e[Ui],t--;return e}(t,Wo.lFrame.contextLView))[Kn]}(t)}function RS(t,e){let r=null;const c=function by(t){const e=t.attrs;if(null!=e){const r=e.indexOf(5);if(!(1&r))return e[r+1]}return null}(t);for(let p=0;pr._dirtyCounter.update(c=>c+1))}(e,px(t,r,c,p))}function uk(t=1){sr(We()+t)}function pk(t){return F(function yu(){return Wo.lFrame.contextLView}(),Ge+t)}function xk(t,e=""){const r=_r(),c=fn(),p=t+Ge,m=c.firstCreatePass?gu(c,p,1,e,null):c.data[p],x=kk(c,r,m,e,t);r[p]=x,yi()&&yg(c,r,x,m),Qa(m,!1)}let kk=(t,e,r,c,p)=>(Si(!0),function Wf(t,e){return t.createText(e)}(e[on],c));function Qv(t){return Hw("",t,""),Qv}function Hw(t,e,r){const c=_r(),p=Pg(c,t,e,r);return p!==$n&&function mu(t,e,r){const c=fl(e,t);!function Ub(t,e,r){t.setValue(e,r)}(t[on],c,r)}(c,Ur(),p),Hw}function Zv(t,e,r){fx(e)&&(e=e());const c=_r();return za(c,I(),e)&&ui(fn(),no(),c,t,e,c[on],r,!1),Zv}function Ok(t,e){const r=fx(t);return r&&t.set(e),r}function qv(t,e){const r=_r(),c=fn(),p=An();return Gv(c,r,r[on],p,t,e),qv}function Jv(t,e,r,c,p){if(t=Wt(t),Array.isArray(t))for(let m=0;m>20;if(ea(t)||!t.multi){const Ue=new tc(ot,p,qu),qe=e1(B,e,p?Ct:Ct+Ne,jt);-1===qe?(Nl(wp(M,x),m,B),t1(m,t,e.length),e.push(B),M.directiveStart++,M.directiveEnd++,p&&(M.providerIndexes+=1048576),r.push(Ue),x.push(Ue)):(r[qe]=Ue,x[qe]=Ue)}else{const Ue=e1(B,e,Ct+Ne,jt),qe=e1(B,e,Ct,Ct+Ne),Yr=qe>=0&&r[qe];if(p&&!Yr||!p&&!(Ue>=0&&r[Ue])){Nl(wp(M,x),m,B);const lo=function qS(t,e,r,c,p){const m=new tc(t,r,qu);return m.multi=[],m.index=e,m.componentProviders=0,Lk(m,p,c&&!r),m}(p?ZS:QS,r.length,p,c,ot);!p&&Yr&&(r[qe].providerFactory=lo),t1(m,t,e.length,0),e.push(B),M.directiveStart++,M.directiveEnd++,p&&(M.providerIndexes+=1048576),r.push(lo),x.push(lo)}else t1(m,t,Ue>-1?Ue:qe,Lk(r[p?qe:Ue],ot,!p&&c));!p&&c&&Yr&&r[qe].componentProviders++}}}function t1(t,e,r,c){const p=ea(e),m=function Mc(t){return!!t.useClass}(e);if(p||m){const B=(m?Wt(e.useClass):e).prototype.ngOnDestroy;if(B){const ot=t.destroyHooks||(t.destroyHooks=[]);if(!p&&e.multi){const Ct=ot.indexOf(r);-1===Ct?ot.push(r,[c,B]):ot[Ct+1].push(c,B)}else ot.push(r,B)}}}function Lk(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function e1(t,e,r,c){for(let p=r;p{r.providersResolver=(c,p)=>function YS(t,e,r){const c=fn();if(c.firstCreatePass){const p=Yi(t);Jv(r,c.data,c.blueprint,p,!0),Jv(e,c.data,c.blueprint,p,!1)}}(c,p?p(t):t,e)}}function Bk(t,e,r){const c=Za()+t,p=_r();return p[c]===$n?Ld(p,c,r?e.call(r):e()):vm(p,c)}function Uk(t,e,r,c){return zk(_r(),Za(),t,e,r,c)}function $k(t,e,r,c,p){return Wk(_r(),Za(),t,e,r,c,p)}function jk(t,e,r,c,p,m){return function Kk(t,e,r,c,p,m,x,M){const B=e+r;return function Aw(t,e,r,c,p){const m=bh(t,e,r,c);return za(t,e+2,p)||m}(t,B,p,m,x)?Ld(t,B+3,M?c.call(M,p,m,x):c(p,m,x)):Tm(t,B+3)}(_r(),Za(),t,e,r,c,p,m)}function Vk(t,e,r,c,p,m,x){return function Gk(t,e,r,c,p,m,x,M,B){const ot=e+r;return Sl(t,ot,p,m,x,M)?Ld(t,ot+4,B?c.call(B,p,m,x,M):c(p,m,x,M)):Tm(t,ot+4)}(_r(),Za(),t,e,r,c,p,m,x)}function Hk(t,e,r,c,p,m,x,M,B,ot,Ct){const jt=Za()+t,Ne=_r(),Ue=Sl(Ne,jt,r,c,p,m);return Sl(Ne,jt+4,x,M,B,ot)||Ue?Ld(Ne,jt+8,Ct?e.call(Ct,r,c,p,m,x,M,B,ot):e(r,c,p,m,x,M,B,ot)):vm(Ne,jt+8)}function Tm(t,e){const r=t[e];return r===$n?void 0:r}function zk(t,e,r,c,p,m){const x=e+r;return za(t,x,p)?Ld(t,x+1,m?c.call(m,p):c(p)):Tm(t,x+1)}function Wk(t,e,r,c,p,m,x){const M=e+r;return bh(t,M,p,m)?Ld(t,M+2,x?c.call(x,p,m):c(p,m)):Tm(t,M+2)}function Yk(t,e){const r=fn();let c;const p=t+Ge;r.firstCreatePass?(c=function aA(t,e){if(e)for(let r=e.length-1;r>=0;r--){const c=e[r];if(t===c.name)return c}}(e,r.pipeRegistry),r.data[p]=c,c.onDestroy&&(r.destroyHooks??=[]).push(p,c.onDestroy)):c=r.data[p];const m=c.factory||(c.factory=Di(c.type)),M=Ii(qu);try{const B=Lc(!1),ot=m();return Lc(B),function Yv(t,e,r,c){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=c}(r,_r(),p,ot),ot}finally{Ii(M)}}function Qk(t,e,r){const c=t+Ge,p=_r(),m=F(p,c);return Mm(p,c)?zk(p,Za(),e,m.transform,r,m):m.transform(r)}function Zk(t,e,r,c){const p=t+Ge,m=_r(),x=F(m,p);return Mm(m,p)?Wk(m,Za(),e,x.transform,r,c,x):x.transform(r,c)}function Mm(t,e){return t[Pr].data[e].pure}function qk(t,e){return dw(t,e)}class gE{full;major;minor;patch;constructor(e){this.full=e;const r=e.split(".");this.major=r[0],this.minor=r[1],this.patch=r.slice(2).join(".")}}class PA{ngModuleFactory;componentFactories;constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}}let FA=(()=>{class t{compileModuleSync(r){return new Py(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const c=this.compileModuleSync(r),m=Dc(gn(r).declarations).reduce((x,M)=>{const B=Ko(M);return B&&x.push(new pm(B)),x},[]);return new PA(c,m)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}static \u0275fac=function(c){return new(c||t)};static \u0275prov=cn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),$A=(()=>{class t{zone=co(ia);changeDetectionScheduler=co(rl);applicationRef=co(ul);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(c){return new(c||t)};static \u0275prov=cn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function c1({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:r}){return t??=()=>new ia({...l1(),scheduleInRootZone:r}),[{provide:ia,useFactory:t},{provide:Qr,multi:!0,useFactory:()=>{const c=co($A,{optional:!0});return()=>c.initialize()}},{provide:Qr,multi:!0,useFactory:()=>{const c=co(VA);return()=>{c.initialize()}}},!0===e?{provide:Ou,useValue:!0}:[],{provide:ol,useValue:r??Sp}]}function l1(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}let VA=(()=>{class t{subscription=new Ve.yU;initialized=!1;zone=co(ia);pendingTasks=co(_l);initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ia.assertNotInAngularZone(),queueMicrotask(()=>{null!==r&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ia.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(c){return new(c||t)};static \u0275prov=cn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Om=(()=>{class t{appRef=co(ul);taskService=co(_l);ngZone=co(ia);zonelessEnabled=co(md);disableScheduling=co(Ou,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Ve.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(qd):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(co(ol,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){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 Rp||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&5===r)return;let c=!1;switch(r){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 8:this.appRef.deferredDirtyFlags|=8;break;case 6:case 14:this.appRef.dirtyFlags|=2,c=!0;break;case 13:this.appRef.dirtyFlags|=16,c=!0;break;case 12:c=!0;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick(c))return;const p=this.useMicrotaskScheduler?lf:Ru;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>p(()=>this.tick())):this.ngZone.runOutsideAngular(()=>p(()=>this.tick()))}shouldScheduleTick(r){return!(this.disableScheduling&&!r||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(qd+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const r=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(c){throw this.taskService.remove(r),c}finally{this.cleanup()}this.useMicrotaskScheduler=!0,lf(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(r)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}static \u0275fac=function(c){return new(c||t)};static \u0275prov=cn({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const u1=new de("",{providedIn:"root",factory:()=>co(u1,_n.Optional|_n.SkipSelf)||function HA(){return typeof $localize<"u"&&$localize.locale||Bw}()}),zA=new de("",{providedIn:"root",factory:()=>"USD"}),Kw=new de("");function Gw(t){return!t.moduleRef}let ap=null;function JA(){return!1}let CE=(()=>class t{static __NG_ELEMENT_ID__=tT})();function tT(t){return function eT(t,e,r){if(Ni(t)&&!r){const c=K(t.index,e);return new im(c,c)}return 175&t.type?new im(e[bi],e):null}(An(),_r(),!(16&~t))}class TE{constructor(){}supports(e){return Sw(e)}create(e){return new aT(e)}}const iT=(t,e)=>e;class aT{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(e){this._trackByFn=e||iT}forEachItem(e){let r;for(r=this._itHead;null!==r;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,c=this._removalsHead,p=0,m=null;for(;r||c;){const x=!c||r&&r.currentIndex{x=this._trackByFn(p,M),null!==r&&Object.is(r.trackById,x)?(c&&(r=this._verifyReinsertion(r,M,x,p)),Object.is(r.item,M)||this._addIdentityChange(r,M)):(r=this._mismatch(r,M,x,p),c=!0),r=r._next,p++}),this.length=p;return this._truncate(r),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,r,c,p){let m;return null===e?m=this._itTail:(m=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null))?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,m,p)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(c,p))?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,m,p)):e=this._addAfter(new sT(r,c),m,p),e}_verifyReinsertion(e,r,c,p){let m=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null);return null!==m?e=this._reinsertAfter(m,e._prev,p):e.currentIndex!=p&&(e.currentIndex=p,this._addToMoves(e,p)),e}_truncate(e){for(;null!==e;){const r=e._next;this._addToRemovals(this._unlink(e)),e=r}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,r,c){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const p=e._prevRemoved,m=e._nextRemoved;return null===p?this._removalsHead=m:p._nextRemoved=m,null===m?this._removalsTail=p:m._prevRemoved=p,this._insertAfter(e,r,c),this._addToMoves(e,c),e}_moveAfter(e,r,c){return this._unlink(e),this._insertAfter(e,r,c),this._addToMoves(e,c),e}_addAfter(e,r,c){return this._insertAfter(e,r,c),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,r,c){const p=null===r?this._itHead:r._next;return e._next=p,e._prev=r,null===p?this._itTail=e:p._prev=e,null===r?this._itHead=e:r._next=e,null===this._linkedRecords&&(this._linkedRecords=new ME),this._linkedRecords.put(e),e.currentIndex=c,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const r=e._prev,c=e._next;return null===r?this._itHead=c:r._next=c,null===c?this._itTail=r:c._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ME),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,r){return e.item=r,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class sT{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(e,r){this.item=e,this.trackById=r}}class cT{_head=null;_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,r){let c;for(c=this._head;null!==c;c=c._nextDup)if((null===r||r<=c.currentIndex)&&Object.is(c.trackById,e))return c;return null}remove(e){const r=e._prevDup,c=e._nextDup;return null===r?this._head=c:r._nextDup=c,null===c?this._tail=r:c._prevDup=r,null===this._head}}class ME{map=new Map;put(e){const r=e.trackById;let c=this.map.get(r);c||(c=new cT,this.map.set(r,c)),c.add(e)}get(e,r){const p=this.map.get(e);return p?p.get(e,r):null}remove(e){const r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function IE(t,e,r){const c=t.previousIndex;if(null===c)return c;let p=0;return r&&c{if(r&&r.key===p)this._maybeAddToChanges(r,c),this._appendAfter=r,r=r._next;else{const m=this._getOrCreateRecordForKey(p,c);r=this._insertBeforeOrAppend(r,m)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let c=r;null!==c;c=c._nextRemoved)c===this._mapHead&&(this._mapHead=null),this._records.delete(c.key),c._nextRemoved=c._next,c.previousValue=c.currentValue,c.currentValue=null,c._prev=null,c._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,r){if(e){const c=e._prev;return r._next=e,r._prev=c,e._prev=r,c&&(c._next=r),e===this._mapHead&&(this._mapHead=r),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(e,r){if(this._records.has(e)){const p=this._records.get(e);this._maybeAddToChanges(p,r);const m=p._prev,x=p._next;return m&&(m._next=x),x&&(x._prev=m),p._next=null,p._prev=null,p}const c=new dT(e);return this._records.set(e,c),c.currentValue=r,this._addToAdditions(c),c}_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,r){Object.is(r,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=r,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,r){e instanceof Map?e.forEach(r):Object.keys(e).forEach(c=>r(e[c],c))}}class dT{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(e){this.key=e}}function RE(){return new b1([new TE])}let b1=(()=>{class t{factories;static \u0275prov=cn({token:t,providedIn:"root",factory:RE});constructor(r){this.factories=r}static create(r,c){if(null!=c){const p=c.factories.slice();r=r.concat(p)}return new t(r)}static extend(r){return{provide:t,useFactory:c=>t.create(r,c||RE()),deps:[[t,new Aa,new ls]]}}find(r){const c=this.factories.find(p=>p.supports(r));if(null!=c)return c;throw new Or(901,!1)}}return t})();function NE(){return new w1([new OE])}let w1=(()=>{class t{static \u0275prov=cn({token:t,providedIn:"root",factory:NE});factories;constructor(r){this.factories=r}static create(r,c){if(c){const p=c.factories.slice();r=r.concat(p)}return new t(r)}static extend(r){return{provide:t,useFactory:c=>t.create(r,c||NE()),deps:[[t,new Aa,new ls]]}}find(r){const c=this.factories.find(p=>p.supports(r));if(c)return c;throw new Or(901,!1)}}return t})();function ET(t){try{const{rootComponent:e,appProviders:r,platformProviders:c}=t,p=function qA(t=[]){if(ap)return ap;const e=function xE(t=[],e){return Qi.create({name:e,providers:[{provide:yc,useValue:"platform"},{provide:Kw,useValue:new Set([()=>ap=null])},...t]})}(t);return ap=e,function L_(){!function be(t){wr=t}(()=>{throw new Or(600,!1)})}(),function kE(t){const e=t.get(su,null);$a(t,()=>{e?.forEach(r=>r())})}(e),e}(c),m=[c1({}),{provide:rl,useExisting:Om},...r||[]];return function yE(t){const e=Gw(t)?t.r3Injector:t.moduleRef.injector,r=e.get(ia);return r.run(()=>{Gw(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();const c=e.get(kl,null);let p;if(r.runOutsideAngular(()=>{p=r.onError.subscribe({next:m=>{c.handleError(m)}})}),Gw(t)){const m=()=>e.destroy(),x=t.platformInjector.get(Kw);x.add(m),e.onDestroy(()=>{p.unsubscribe(),x.delete(m)})}else{const m=()=>t.moduleRef.destroy(),x=t.platformInjector.get(Kw);x.add(m),t.moduleRef.onDestroy(()=>{ww(t.allPlatformModules,t.moduleRef),p.unsubscribe(),x.delete(m)})}return function $3(t,e,r){try{const c=r();return Vy(c)?c.catch(p=>{throw e.runOutsideAngular(()=>t.handleError(p)),p}):c}catch(c){throw e.runOutsideAngular(()=>t.handleError(c)),c}}(c,r,()=>{const m=e.get(R_);return m.runInitializers(),m.donePromise.then(()=>{if(function GD(t){"string"==typeof t&&(S2=t.toLowerCase().replace(/_/g,"-"))}(e.get(u1,Bw)||Bw),Gw(t)){const M=e.get(ul);return void 0!==t.rootComponent&&M.bootstrap(t.rootComponent),M}return function YA(t,e){const r=t.injector.get(ul);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(c=>r.bootstrap(c));else{if(!t.instance.ngDoBootstrap)throw new Or(-403,!1);t.instance.ngDoBootstrap(r)}e.push(t)}(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}({r3Injector:new f_({providers:m,parent:p,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:p,rootComponent:e})}catch(e){return Promise.reject(e)}}function GT(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function XT(t,e=NaN){return isNaN(parseFloat(t))||isNaN(Number(t))?e:Number(t)}function k1(t,e){an("NgSignals");const r=ve(t);return e?.equal&&(r[C].equal=e.equal),r}function Yg(t){const e=A(null);try{return t()}finally{A(e)}}let c5=(()=>class t{view;node;constructor(r,c){this.view=r,this.node=c}static __NG_ELEMENT_ID__=t8})();function t8(){return new c5(_r(),An())}let r8=(()=>{class t extends N_{pendingTasks=co(_l);taskId=null;schedule(r){super.schedule(r),null===this.taskId&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{null!==this.taskId&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=cn({token:t,providedIn:"root",factory:()=>new t})}return t})();class o8{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(e,r,c,p,m,x){this.scheduler=e,this.effectFn=r,this.zone=c,this.injector=m,this.watcher=function wt(t,e,r){const c=Object.create(Xe);r&&(c.consumerAllowSignalWrites=!0),c.fn=t,c.schedule=e;const p=B=>{c.cleanupFn=B};return c.ref={notify:()=>pt(c),run:()=>{if(null===c.fn)return;if(function T(){return y}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(c.dirty=!1,c.hasRun&&!yt(c))return;c.hasRun=!0;const B=Et(c);try{c.cleanupFn(),c.cleanupFn=ie,c.fn(p)}finally{It(c,B)}},cleanup:()=>c.cleanupFn(),destroy:()=>function x(B){(function m(B){return null===B.fn&&null===B.schedule})(B)||(_t(B),B.cleanupFn(),B.fn=null,B.schedule=null,B.cleanupFn=ie)}(c),[C]:c},c.ref}(M=>this.runEffect(M),()=>this.schedule(),x),this.unregisterOnDestroy=p?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(r){this.injector.get(kl,null,{optional:!0})?.handleError(r)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}let E1=!1;class a8{[C];constructor(e){this[C]=e}destroy(){this[C].destroy()}}function C1(t,e){if(E1)return function i8(t,e){an("NgSignals"),!e?.injector&&Ss();const r=e?.injector??co(Qi),c=!0!==e?.manualCleanup?r.get(va):null,p=new o8(r.get(r8),t,typeof Zone>"u"?null:Zone.current,c,r,e?.allowSignalWrites??!1),m=r.get(CE,null,{optional:!0});return m&&8&m._lView[Ao]?(m._lView[rt]??=[]).push(p.watcher.notify):p.watcher.notify(),p}(t,e);an("NgSignals"),!e?.injector&&Ss();const r=e?.injector??co(Qi);let p,c=!0!==e?.manualCleanup?r.get(va):null;const m=r.get(c5,null,{optional:!0}),x=r.get(rl);return null===m||e?.forceRoot?p=function d8(t,e,r){const c=Object.create(s8);return c.fn=t,c.scheduler=e,c.notifier=r,c.zone=typeof Zone<"u"?Zone.current:null,c.scheduler.schedule(c),c.notifier.notify(13),c}(t,r.get(zy),x):(p=function l8(t,e,r){const c=Object.create(c8);return c.view=t,c.zone=typeof Zone<"u"?Zone.current:null,c.notifier=e,c.fn=r,t[mt]??=new Set,t[mt].add(c),c.consumerMarkedDirty(c),c}(m.view,x,t),c instanceof Pl&&c._lView===m.view&&(c=null)),p.injector=r,null!==c&&(p.onDestroyFn=c.onDestroy(()=>p.destroy())),new a8(p)}const l5={...P,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:bd,run(){if(this.dirty=!1,this.hasRun&&!yt(this))return;this.hasRun=!0;const t=c=>(this.cleanupFns??=[]).push(c),e=Et(this),r=Zc(!1);try{this.maybeCleanup(),this.fn(t)}finally{Zc(r),It(this,e)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}},s8={...l5,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){_t(this),this.onDestroyFn(),this.maybeCleanup()}},c8={...l5,consumerMarkedDirty(){this.view[Ao]|=8192,Ia(this.view),this.notifier.notify(14)},destroy(){_t(this),this.onDestroyFn(),this.maybeCleanup(),this.view[mt]?.delete(this)}};function w8(t,e){const r=Ko(t),c=e.elementInjector||wn();return new pm(r).create(c,e.projectableNodes,e.hostElement,e.environmentInjector)}function y8(t){const e=Ko(t);if(!e)return null;const r=new pm(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}},936:(i,s,o)=>{"use strict";o.d(s,{BC:()=>tr,JD:()=>Ci,Q0:()=>ss,X1:()=>us,YN:()=>$s,YS:()=>Bs,cV:()=>Rr,cb:()=>Tr,cz:()=>kt,hs:()=>xo,j4:()=>Ca,k0:()=>yt,kq:()=>T,l_:()=>Ra,me:()=>ht,ok:()=>Oi,qT:()=>Pn,tU:()=>Fr,vO:()=>Te,vS:()=>as,xq:()=>Ds,ze:()=>Hi});var n=o(3107),a=o(4460),l=o(1787),y=o(2653),k=o(8447),C=o(7947);let A=(()=>{class lt{_renderer;_elementRef;onChange=Q=>{};onTouched=()=>{};constructor(Q,Ft){this._renderer=Q,this._elementRef=Ft}setProperty(Q,Ft){this._renderer.setProperty(this._elementRef.nativeElement,Q,Ft)}registerOnTouched(Q){this.onTouched=Q}registerOnChange(Q){this.onChange=Q}setDisabledState(Q){this.setProperty("disabled",Q)}static \u0275fac=function(Ft){return new(Ft||lt)(n.rXU(n.sFG),n.rXU(n.aKT))};static \u0275dir=n.FsC({type:lt})}return lt})(),S=(()=>{class lt extends A{static \u0275fac=(()=>{let Q;return function(je){return(Q||(Q=n.xGo(lt)))(je||lt)}})();static \u0275dir=n.FsC({type:lt,features:[n.Vt3]})}return lt})();const T=new n.nKC(""),q={provide:T,useExisting:(0,n.Rfq)(()=>ht),multi:!0},J=new n.nKC("");let ht=(()=>{class lt extends A{_compositionMode;_composing=!1;constructor(Q,Ft,je){super(Q,Ft),this._compositionMode=je,null==this._compositionMode&&(this._compositionMode=!function Y(){const lt=(0,a.QT)()?(0,a.QT)().getUserAgent():"";return/android (\d+)/.test(lt.toLowerCase())}())}writeValue(Q){this.setProperty("value",Q??"")}_handleInput(Q){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Q)}_compositionStart(){this._composing=!0}_compositionEnd(Q){this._composing=!1,this._compositionMode&&this.onChange(Q)}static \u0275fac=function(Ft){return new(Ft||lt)(n.rXU(n.sFG),n.rXU(n.aKT),n.rXU(J,8))};static \u0275dir=n.FsC({type:lt,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&&n.bIt("input",function(Jo){return je._handleInput(Jo.target.value)})("blur",function(){return je.onTouched()})("compositionstart",function(){return je._compositionStart()})("compositionend",function(Jo){return je._compositionEnd(Jo.target.value)})},standalone:!1,features:[n.Jv_([q]),n.Vt3]})}return lt})();function ct(lt){return null==lt||("string"==typeof lt||Array.isArray(lt))&&0===lt.length}function pt(lt){return null!=lt&&"number"==typeof lt.length}const kt=new n.nKC(""),Et=new n.nKC(""),It=/^(?=.{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 yt{static min(dt){return function _t(lt){return dt=>{if(ct(dt.value)||ct(lt))return null;const Q=parseFloat(dt.value);return!isNaN(Q)&&Q{if(ct(dt.value)||ct(lt))return null;const Q=parseFloat(dt.value);return!isNaN(Q)&&Q>lt?{max:{max:lt,actual:dt.value}}:null}}(dt)}static required(dt){return st(dt)}static requiredTrue(dt){return vt(dt)}static email(dt){return function Pt(lt){return ct(lt.value)||It.test(lt.value)?null:{email:!0}}(dt)}static minLength(dt){return function ae(lt){return dt=>ct(dt.value)||!pt(dt.value)?null:dt.value.length{if(ct(Ft.value))return null;const je=Ft.value;return dt.test(je)?null:{pattern:{requiredPattern:Q,actualValue:je}}}}(dt)}static nullValidator(dt){return null}static compose(dt){return be(dt)}static composeAsync(dt){return Bt(dt)}}function st(lt){return ct(lt.value)?{required:!0}:null}function vt(lt){return!0===lt.value?null:{required:!0}}function le(lt){return dt=>pt(dt.value)&&dt.value.length>lt?{maxlength:{requiredLength:lt,actualLength:dt.value.length}}:null}function se(lt){return null}function or(lt){return null!=lt}function fr(lt){return(0,n.jNT)(lt)?(0,l.H)(lt):lt}function yr(lt){let dt={};return lt.forEach(Q=>{dt=null!=Q?{...dt,...Q}:dt}),0===Object.keys(dt).length?null:dt}function jr(lt,dt){return dt.map(Q=>Q(lt))}function Qt(lt){return lt.map(dt=>function wr(lt){return!lt.validate}(dt)?dt:Q=>dt.validate(Q))}function be(lt){if(!lt)return null;const dt=lt.filter(or);return 0==dt.length?null:function(Q){return yr(jr(Q,dt))}}function Ht(lt){return null!=lt?be(Qt(lt)):null}function Bt(lt){if(!lt)return null;const dt=lt.filter(or);return 0==dt.length?null:function(Q){const Ft=jr(Q,dt).map(fr);return(0,y.p)(Ft).pipe((0,C.T)(yr))}}function Fe(lt){return null!=lt?Bt(Qt(lt)):null}function zt(lt,dt){return null===lt?[dt]:Array.isArray(lt)?[...lt,dt]:[lt,dt]}function Yt(lt){return lt._rawValidators}function oe(lt){return lt._rawAsyncValidators}function Oe(lt){return lt?Array.isArray(lt)?lt:[lt]:[]}function $e(lt,dt){return Array.isArray(lt)?lt.includes(dt):lt===dt}function Dt(lt,dt){const Q=Oe(dt);return Oe(lt).forEach(je=>{$e(Q,je)||Q.push(je)}),Q}function wt(lt,dt){return Oe(dt).filter(Q=>!$e(lt,Q))}class ie{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(dt){this._rawValidators=dt||[],this._composedValidatorFn=Ht(this._rawValidators)}_setAsyncValidators(dt){this._rawAsyncValidators=dt||[],this._composedAsyncValidatorFn=Fe(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(dt){this._onDestroyCallbacks.push(dt)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(dt=>dt()),this._onDestroyCallbacks=[]}reset(dt=void 0){this.control&&this.control.reset(dt)}hasError(dt,Q){return!!this.control&&this.control.hasError(dt,Q)}getError(dt,Q){return this.control?this.control.getError(dt,Q):null}}class Xe extends ie{name;get formDirective(){return null}get path(){return null}}class Te extends ie{_parent=null;name=null;valueAccessor=null}class Ke{_cd;constructor(dt){this._cd=dt}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 tr=(()=>{class lt extends Ke{constructor(Q){super(Q)}static \u0275fac=function(Ft){return new(Ft||lt)(n.rXU(Te,2))};static \u0275dir=n.FsC({type:lt,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Ft,je){2&Ft&&n.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)},standalone:!1,features:[n.Vt3]})}return lt})(),Tr=(()=>{class lt extends Ke{constructor(Q){super(Q)}static \u0275fac=function(Ft){return new(Ft||lt)(n.rXU(Xe,10))};static \u0275dir=n.FsC({type:lt,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Ft,je){2&Ft&&n.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)},standalone:!1,features:[n.Vt3]})}return lt})();const Mr="VALID",ao="INVALID",xr="PENDING",zo="DISABLED";class To{}class Ho extends To{value;source;constructor(dt,Q){super(),this.value=dt,this.source=Q}}class we extends To{pristine;source;constructor(dt,Q){super(),this.pristine=dt,this.source=Q}}class ze extends To{touched;source;constructor(dt,Q){super(),this.touched=dt,this.source=Q}}class Mt extends To{status;source;constructor(dt,Q){super(),this.status=dt,this.source=Q}}class Wt extends To{source;constructor(dt){super(),this.source=dt}}class $t extends To{source;constructor(dt){super(),this.source=dt}}function Ce(lt){return(qr(lt)?lt.validators:lt)||null}function Be(lt,dt){return(qr(dt)?dt.asyncValidators:lt)||null}function qr(lt){return null!=lt&&!Array.isArray(lt)&&"object"==typeof lt}function ko(lt,dt,Q){const Ft=lt.controls;if(!(dt?Object.keys(Ft):Ft).length)throw new n.wOt(1e3,"");if(!Ft[Q])throw new n.wOt(1001,"")}function sn(lt,dt,Q){lt._forEachChild((Ft,je)=>{if(void 0===Q[je])throw new n.wOt(1002,"")})}class hn{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(dt,Q){this._assignValidators(dt),this._assignAsyncValidators(Q)}get validator(){return this._composedValidatorFn}set validator(dt){this._rawValidators=this._composedValidatorFn=dt}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(dt){this._rawAsyncValidators=this._composedAsyncValidatorFn=dt}get parent(){return this._parent}get status(){return(0,n.O8t)(this.statusReactive)}set status(dt){(0,n.O8t)(()=>this.statusReactive.set(dt))}_status=(0,n.EWP)(()=>this.statusReactive());statusReactive=(0,n.vPA)(void 0);get valid(){return this.status===Mr}get invalid(){return this.status===ao}get pending(){return this.status==xr}get disabled(){return this.status===zo}get enabled(){return this.status!==zo}errors;get pristine(){return(0,n.O8t)(this.pristineReactive)}set pristine(dt){(0,n.O8t)(()=>this.pristineReactive.set(dt))}_pristine=(0,n.EWP)(()=>this.pristineReactive());pristineReactive=(0,n.vPA)(!0);get dirty(){return!this.pristine}get touched(){return(0,n.O8t)(this.touchedReactive)}set touched(dt){(0,n.O8t)(()=>this.touchedReactive.set(dt))}_touched=(0,n.EWP)(()=>this.touchedReactive());touchedReactive=(0,n.vPA)(!1);get untouched(){return!this.touched}_events=new k.B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(dt){this._assignValidators(dt)}setAsyncValidators(dt){this._assignAsyncValidators(dt)}addValidators(dt){this.setValidators(Dt(dt,this._rawValidators))}addAsyncValidators(dt){this.setAsyncValidators(Dt(dt,this._rawAsyncValidators))}removeValidators(dt){this.setValidators(wt(dt,this._rawValidators))}removeAsyncValidators(dt){this.setAsyncValidators(wt(dt,this._rawAsyncValidators))}hasValidator(dt){return $e(this._rawValidators,dt)}hasAsyncValidator(dt){return $e(this._rawAsyncValidators,dt)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(dt={}){const Q=!1===this.touched;this.touched=!0;const Ft=dt.sourceControl??this;this._parent&&!dt.onlySelf&&this._parent.markAsTouched({...dt,sourceControl:Ft}),Q&&!1!==dt.emitEvent&&this._events.next(new ze(!0,Ft))}markAllAsTouched(dt={}){this.markAsTouched({onlySelf:!0,emitEvent:dt.emitEvent,sourceControl:this}),this._forEachChild(Q=>Q.markAllAsTouched(dt))}markAsUntouched(dt={}){const Q=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const Ft=dt.sourceControl??this;this._forEachChild(je=>{je.markAsUntouched({onlySelf:!0,emitEvent:dt.emitEvent,sourceControl:Ft})}),this._parent&&!dt.onlySelf&&this._parent._updateTouched(dt,Ft),Q&&!1!==dt.emitEvent&&this._events.next(new ze(!1,Ft))}markAsDirty(dt={}){const Q=!0===this.pristine;this.pristine=!1;const Ft=dt.sourceControl??this;this._parent&&!dt.onlySelf&&this._parent.markAsDirty({...dt,sourceControl:Ft}),Q&&!1!==dt.emitEvent&&this._events.next(new we(!1,Ft))}markAsPristine(dt={}){const Q=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const Ft=dt.sourceControl??this;this._forEachChild(je=>{je.markAsPristine({onlySelf:!0,emitEvent:dt.emitEvent})}),this._parent&&!dt.onlySelf&&this._parent._updatePristine(dt,Ft),Q&&!1!==dt.emitEvent&&this._events.next(new we(!0,Ft))}markAsPending(dt={}){this.status=xr;const Q=dt.sourceControl??this;!1!==dt.emitEvent&&(this._events.next(new Mt(this.status,Q)),this.statusChanges.emit(this.status)),this._parent&&!dt.onlySelf&&this._parent.markAsPending({...dt,sourceControl:Q})}disable(dt={}){const Q=this._parentMarkedDirty(dt.onlySelf);this.status=zo,this.errors=null,this._forEachChild(je=>{je.disable({...dt,onlySelf:!0})}),this._updateValue();const Ft=dt.sourceControl??this;!1!==dt.emitEvent&&(this._events.next(new Ho(this.value,Ft)),this._events.next(new Mt(this.status,Ft)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...dt,skipPristineCheck:Q},this),this._onDisabledChange.forEach(je=>je(!0))}enable(dt={}){const Q=this._parentMarkedDirty(dt.onlySelf);this.status=Mr,this._forEachChild(Ft=>{Ft.enable({...dt,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:dt.emitEvent}),this._updateAncestors({...dt,skipPristineCheck:Q},this),this._onDisabledChange.forEach(Ft=>Ft(!1))}_updateAncestors(dt,Q){this._parent&&!dt.onlySelf&&(this._parent.updateValueAndValidity(dt),dt.skipPristineCheck||this._parent._updatePristine({},Q),this._parent._updateTouched({},Q))}setParent(dt){this._parent=dt}getRawValue(){return this.value}updateValueAndValidity(dt={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const Ft=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Mr||this.status===xr)&&this._runAsyncValidator(Ft,dt.emitEvent)}const Q=dt.sourceControl??this;!1!==dt.emitEvent&&(this._events.next(new Ho(this.value,Q)),this._events.next(new Mt(this.status,Q)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!dt.onlySelf&&this._parent.updateValueAndValidity({...dt,sourceControl:Q})}_updateTreeValidity(dt={emitEvent:!0}){this._forEachChild(Q=>Q._updateTreeValidity(dt)),this.updateValueAndValidity({onlySelf:!0,emitEvent:dt.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?zo:Mr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(dt,Q){if(this.asyncValidator){this.status=xr,this._hasOwnPendingAsyncValidator={emitEvent:!1!==Q};const Ft=fr(this.asyncValidator(this));this._asyncValidationSubscription=Ft.subscribe(je=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(je,{emitEvent:Q,shouldHaveEmitted:dt})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const dt=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,dt}return!1}setErrors(dt,Q={}){this.errors=dt,this._updateControlsErrors(!1!==Q.emitEvent,this,Q.shouldHaveEmitted)}get(dt){let Q=dt;return null==Q||(Array.isArray(Q)||(Q=Q.split(".")),0===Q.length)?null:Q.reduce((Ft,je)=>Ft&&Ft._find(je),this)}getError(dt,Q){const Ft=Q?this.get(Q):this;return Ft&&Ft.errors?Ft.errors[dt]:null}hasError(dt,Q){return!!this.getError(dt,Q)}get root(){let dt=this;for(;dt._parent;)dt=dt._parent;return dt}_updateControlsErrors(dt,Q,Ft){this.status=this._calculateStatus(),dt&&this.statusChanges.emit(this.status),(dt||Ft)&&this._events.next(new Mt(this.status,Q)),this._parent&&this._parent._updateControlsErrors(dt,Q,Ft)}_initObservables(){this.valueChanges=new n.bkB,this.statusChanges=new n.bkB}_calculateStatus(){return this._allControlsDisabled()?zo:this.errors?ao:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(xr)?xr:this._anyControlsHaveStatus(ao)?ao:Mr}_anyControlsHaveStatus(dt){return this._anyControls(Q=>Q.status===dt)}_anyControlsDirty(){return this._anyControls(dt=>dt.dirty)}_anyControlsTouched(){return this._anyControls(dt=>dt.touched)}_updatePristine(dt,Q){const Ft=!this._anyControlsDirty(),je=this.pristine!==Ft;this.pristine=Ft,this._parent&&!dt.onlySelf&&this._parent._updatePristine(dt,Q),je&&this._events.next(new we(this.pristine,Q))}_updateTouched(dt={},Q){this.touched=this._anyControlsTouched(),this._events.next(new ze(this.touched,Q)),this._parent&&!dt.onlySelf&&this._parent._updateTouched(dt,Q)}_onDisabledChange=[];_registerOnCollectionChange(dt){this._onCollectionChange=dt}_setUpdateStrategy(dt){qr(dt)&&null!=dt.updateOn&&(this._updateOn=dt.updateOn)}_parentMarkedDirty(dt){return!dt&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(dt){return null}_assignValidators(dt){this._rawValidators=Array.isArray(dt)?dt.slice():dt,this._composedValidatorFn=function ce(lt){return Array.isArray(lt)?Ht(lt):lt||null}(this._rawValidators)}_assignAsyncValidators(dt){this._rawAsyncValidators=Array.isArray(dt)?dt.slice():dt,this._composedAsyncValidatorFn=function vr(lt){return Array.isArray(lt)?Fe(lt):lt||null}(this._rawAsyncValidators)}}class Zn extends hn{constructor(dt,Q,Ft){super(Ce(Q),Be(Ft,Q)),this.controls=dt,this._initObservables(),this._setUpdateStrategy(Q),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(dt,Q){return this.controls[dt]?this.controls[dt]:(this.controls[dt]=Q,Q.setParent(this),Q._registerOnCollectionChange(this._onCollectionChange),Q)}addControl(dt,Q,Ft={}){this.registerControl(dt,Q),this.updateValueAndValidity({emitEvent:Ft.emitEvent}),this._onCollectionChange()}removeControl(dt,Q={}){this.controls[dt]&&this.controls[dt]._registerOnCollectionChange(()=>{}),delete this.controls[dt],this.updateValueAndValidity({emitEvent:Q.emitEvent}),this._onCollectionChange()}setControl(dt,Q,Ft={}){this.controls[dt]&&this.controls[dt]._registerOnCollectionChange(()=>{}),delete this.controls[dt],Q&&this.registerControl(dt,Q),this.updateValueAndValidity({emitEvent:Ft.emitEvent}),this._onCollectionChange()}contains(dt){return this.controls.hasOwnProperty(dt)&&this.controls[dt].enabled}setValue(dt,Q={}){sn(this,0,dt),Object.keys(dt).forEach(Ft=>{ko(this,!0,Ft),this.controls[Ft].setValue(dt[Ft],{onlySelf:!0,emitEvent:Q.emitEvent})}),this.updateValueAndValidity(Q)}patchValue(dt,Q={}){null!=dt&&(Object.keys(dt).forEach(Ft=>{const je=this.controls[Ft];je&&je.patchValue(dt[Ft],{onlySelf:!0,emitEvent:Q.emitEvent})}),this.updateValueAndValidity(Q))}reset(dt={},Q={}){this._forEachChild((Ft,je)=>{Ft.reset(dt?dt[je]:null,{onlySelf:!0,emitEvent:Q.emitEvent})}),this._updatePristine(Q,this),this._updateTouched(Q,this),this.updateValueAndValidity(Q)}getRawValue(){return this._reduceChildren({},(dt,Q,Ft)=>(dt[Ft]=Q.getRawValue(),dt))}_syncPendingControls(){let dt=this._reduceChildren(!1,(Q,Ft)=>!!Ft._syncPendingControls()||Q);return dt&&this.updateValueAndValidity({onlySelf:!0}),dt}_forEachChild(dt){Object.keys(this.controls).forEach(Q=>{const Ft=this.controls[Q];Ft&&dt(Ft,Q)})}_setUpControls(){this._forEachChild(dt=>{dt.setParent(this),dt._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(dt){for(const[Q,Ft]of Object.entries(this.controls))if(this.contains(Q)&&dt(Ft))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Q,Ft,je)=>((Ft.enabled||this.disabled)&&(Q[je]=Ft.value),Q))}_reduceChildren(dt,Q){let Ft=dt;return this._forEachChild((je,_o)=>{Ft=Q(Ft,je,_o)}),Ft}_allControlsDisabled(){for(const dt of Object.keys(this.controls))if(this.controls[dt].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(dt){return this.controls.hasOwnProperty(dt)?this.controls[dt]:null}}class Re extends Zn{}const gr=new n.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>po}),po="always";function ki(lt,dt){return[...dt.path,lt]}function Ln(lt,dt,Q=po){qi(lt,dt),dt.valueAccessor.writeValue(lt.value),(lt.disabled||"always"===Q)&&dt.valueAccessor.setDisabledState?.(lt.disabled),function Ji(lt,dt){dt.valueAccessor.registerOnChange(Q=>{lt._pendingValue=Q,lt._pendingChange=!0,lt._pendingDirty=!0,"change"===lt.updateOn&&is(lt,dt)})}(lt,dt),function si(lt,dt){const Q=(Ft,je)=>{dt.valueAccessor.writeValue(Ft),je&&dt.viewToModelUpdate(Ft)};lt.registerOnChange(Q),dt._registerOnDestroy(()=>{lt._unregisterOnChange(Q)})}(lt,dt),function Fi(lt,dt){dt.valueAccessor.registerOnTouched(()=>{lt._pendingTouched=!0,"blur"===lt.updateOn&<._pendingChange&&is(lt,dt),"submit"!==lt.updateOn&<.markAsTouched()})}(lt,dt),function cn(lt,dt){if(dt.valueAccessor.setDisabledState){const Q=Ft=>{dt.valueAccessor.setDisabledState(Ft)};lt.registerOnDisabledChange(Q),dt._registerOnDestroy(()=>{lt._unregisterOnDisabledChange(Q)})}}(lt,dt)}function ua(lt,dt,Q=!0){const Ft=()=>{};dt.valueAccessor&&(dt.valueAccessor.registerOnChange(Ft),dt.valueAccessor.registerOnTouched(Ft)),pi(lt,dt),lt&&(dt._invokeOnDestroyCallbacks(),lt._registerOnCollectionChange(()=>{}))}function $i(lt,dt){lt.forEach(Q=>{Q.registerOnValidatorChange&&Q.registerOnValidatorChange(dt)})}function qi(lt,dt){const Q=Yt(lt);null!==dt.validator?lt.setValidators(zt(Q,dt.validator)):"function"==typeof Q&<.setValidators([Q]);const Ft=oe(lt);null!==dt.asyncValidator?lt.setAsyncValidators(zt(Ft,dt.asyncValidator)):"function"==typeof Ft&<.setAsyncValidators([Ft]);const je=()=>lt.updateValueAndValidity();$i(dt._rawValidators,je),$i(dt._rawAsyncValidators,je)}function pi(lt,dt){let Q=!1;if(null!==lt){if(null!==dt.validator){const je=Yt(lt);if(Array.isArray(je)&&je.length>0){const _o=je.filter(Jo=>Jo!==dt.validator);_o.length!==je.length&&(Q=!0,lt.setValidators(_o))}}if(null!==dt.asyncValidator){const je=oe(lt);if(Array.isArray(je)&&je.length>0){const _o=je.filter(Jo=>Jo!==dt.asyncValidator);_o.length!==je.length&&(Q=!0,lt.setAsyncValidators(_o))}}}const Ft=()=>{};return $i(dt._rawValidators,Ft),$i(dt._rawAsyncValidators,Ft),Q}function is(lt,dt){lt._pendingDirty&<.markAsDirty(),lt.setValue(lt._pendingValue,{emitModelToViewChange:!1}),dt.viewToModelUpdate(lt._pendingValue),lt._pendingChange=!1}function hi(lt,dt){qi(lt,dt)}function Gt(lt,dt){if(!lt.hasOwnProperty("model"))return!1;const Q=lt.model;return!!Q.isFirstChange()||!Object.is(dt,Q.currentValue)}function me(lt,dt){lt._syncPendingControls(),dt.forEach(Q=>{const Ft=Q.control;"submit"===Ft.updateOn&&Ft._pendingChange&&(Q.viewToModelUpdate(Ft._pendingValue),Ft._pendingChange=!1)})}function He(lt,dt){if(!dt)return null;let Q,Ft,je;return Array.isArray(dt),dt.forEach(_o=>{_o.constructor===ht?Q=_o:function Ot(lt){return Object.getPrototypeOf(lt.constructor)===S}(_o)?Ft=_o:je=_o}),je||Ft||Q||null}const Er={provide:Xe,useExisting:(0,n.Rfq)(()=>Rr)},kr=Promise.resolve();let Rr=(()=>{class lt extends Xe{callSetDisabledState;get submitted(){return(0,n.O8t)(this.submittedReactive)}_submitted=(0,n.EWP)(()=>this.submittedReactive());submittedReactive=(0,n.vPA)(!1);_directives=new Set;form;ngSubmit=new n.bkB;options;constructor(Q,Ft,je){super(),this.callSetDisabledState=je,this.form=new Zn({},Ht(Q),Fe(Ft))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(Q){kr.then(()=>{const Ft=this._findContainer(Q.path);Q.control=Ft.registerControl(Q.name,Q.control),Ln(Q.control,Q,this.callSetDisabledState),Q.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(Q)})}getControl(Q){return this.form.get(Q.path)}removeControl(Q){kr.then(()=>{const Ft=this._findContainer(Q.path);Ft&&Ft.removeControl(Q.name),this._directives.delete(Q)})}addFormGroup(Q){kr.then(()=>{const Ft=this._findContainer(Q.path),je=new Zn({});hi(je,Q),Ft.registerControl(Q.name,je),je.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(Q){kr.then(()=>{const Ft=this._findContainer(Q.path);Ft&&Ft.removeControl(Q.name)})}getFormGroup(Q){return this.form.get(Q.path)}updateModel(Q,Ft){kr.then(()=>{this.form.get(Q.path).setValue(Ft)})}setValue(Q){this.control.setValue(Q)}onSubmit(Q){return this.submittedReactive.set(!0),me(this.form,this._directives),this.ngSubmit.emit(Q),"dialog"===Q?.target?.method}onReset(){this.resetForm()}resetForm(Q=void 0){this.form.reset(Q),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(Q){return Q.pop(),Q.length?this.form.get(Q):this.form}static \u0275fac=function(Ft){return new(Ft||lt)(n.rXU(kt,10),n.rXU(Et,10),n.rXU(gr,8))};static \u0275dir=n.FsC({type:lt,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Ft,je){1&Ft&&n.bIt("submit",function(Jo){return je.onSubmit(Jo)})("reset",function(){return je.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[n.Jv_([Er]),n.Vt3]})}return lt})();function $r(lt,dt){const Q=lt.indexOf(dt);Q>-1&<.splice(Q,1)}function Jr(lt){return"object"==typeof lt&&null!==lt&&2===Object.keys(lt).length&&"value"in lt&&"disabled"in lt}const so=class extends hn{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(dt=null,Q,Ft){super(Ce(Q),Be(Ft,Q)),this._applyFormState(dt),this._setUpdateStrategy(Q),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),qr(Q)&&(Q.nonNullable||Q.initialValueIsDefault)&&(this.defaultValue=Jr(dt)?dt.value:dt)}setValue(dt,Q={}){this.value=this._pendingValue=dt,this._onChange.length&&!1!==Q.emitModelToViewChange&&this._onChange.forEach(Ft=>Ft(this.value,!1!==Q.emitViewToModelChange)),this.updateValueAndValidity(Q)}patchValue(dt,Q={}){this.setValue(dt,Q)}reset(dt=this.defaultValue,Q={}){this._applyFormState(dt),this.markAsPristine(Q),this.markAsUntouched(Q),this.setValue(this.value,Q),this._pendingChange=!1}_updateValue(){}_anyControls(dt){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(dt){this._onChange.push(dt)}_unregisterOnChange(dt){$r(this._onChange,dt)}registerOnDisabledChange(dt){this._onDisabledChange.push(dt)}_unregisterOnDisabledChange(dt){$r(this._onDisabledChange,dt)}_forEachChild(dt){}_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(dt){Jr(dt)?(this.value=this._pendingValue=dt.value,dt.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=dt}},xo=so,ta={provide:Te,useExisting:(0,n.Rfq)(()=>as)},Wa=Promise.resolve();let as=(()=>{class lt extends Te{_changeDetectorRef;callSetDisabledState;control=new so;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new n.bkB;constructor(Q,Ft,je,_o,Jo,ea){super(),this._changeDetectorRef=Jo,this.callSetDisabledState=ea,this._parent=Q,this._setValidators(Ft),this._setAsyncValidators(je),this.valueAccessor=He(0,_o)}ngOnChanges(Q){if(this._checkForErrors(),!this._registered||"name"in Q){if(this._registered&&(this._checkName(),this.formDirective)){const Ft=Q.name.previousValue;this.formDirective.removeControl({name:Ft,path:this._getPath(Ft)})}this._setUpControl()}"isDisabled"in Q&&this._updateDisabled(Q),Gt(Q,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(Q){this.viewModel=Q,this.update.emit(Q)}_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(){Ln(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(Q){Wa.then(()=>{this.control.setValue(Q,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Q){const Ft=Q.isDisabled.currentValue,je=0!==Ft&&(0,n.L39)(Ft);Wa.then(()=>{je&&!this.control.disabled?this.control.disable():!je&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Q){return this._parent?ki(Q,this._parent):[Q]}static \u0275fac=function(Ft){return new(Ft||lt)(n.rXU(Xe,9),n.rXU(kt,10),n.rXU(Et,10),n.rXU(T,10),n.rXU(n.gRc,8),n.rXU(gr,8))};static \u0275dir=n.FsC({type:lt,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"],standalone:!1,features:[n.Jv_([ta]),n.Vt3,n.OA$]})}return lt})(),Pn=(()=>{class lt{static \u0275fac=function(Ft){return new(Ft||lt)};static \u0275dir=n.FsC({type:lt,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return lt})();const _n={provide:T,useExisting:(0,n.Rfq)(()=>ss),multi:!0};let ss=(()=>{class lt extends S{writeValue(Q){this.setProperty("value",Q??"")}registerOnChange(Q){this.onChange=Ft=>{Q(""==Ft?null:parseFloat(Ft))}}static \u0275fac=(()=>{let Q;return function(je){return(Q||(Q=n.xGo(lt)))(je||lt)}})();static \u0275dir=n.FsC({type:lt,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Ft,je){1&Ft&&n.bIt("input",function(Jo){return je.onChange(Jo.target.value)})("blur",function(){return je.onTouched()})},standalone:!1,features:[n.Jv_([_n]),n.Vt3]})}return lt})();const gi=new n.nKC(""),Gi={provide:Te,useExisting:(0,n.Rfq)(()=>Ra)};let Ra=(()=>{class lt extends Te{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(Q){}model;update=new n.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(Q,Ft,je,_o,Jo){super(),this._ngModelWarningConfig=_o,this.callSetDisabledState=Jo,this._setValidators(Q),this._setAsyncValidators(Ft),this.valueAccessor=He(0,je)}ngOnChanges(Q){if(this._isControlChanged(Q)){const Ft=Q.form.previousValue;Ft&&ua(Ft,this,!1),Ln(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Gt(Q,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ua(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(Q){this.viewModel=Q,this.update.emit(Q)}_isControlChanged(Q){return Q.hasOwnProperty("form")}static \u0275fac=function(Ft){return new(Ft||lt)(n.rXU(kt,10),n.rXU(Et,10),n.rXU(T,10),n.rXU(gi,8),n.rXU(gr,8))};static \u0275dir=n.FsC({type:lt,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[n.Jv_([Gi]),n.Vt3,n.OA$]})}return lt})();const Xo={provide:Xe,useExisting:(0,n.Rfq)(()=>Ca)};let Ca=(()=>{class lt extends Xe{callSetDisabledState;get submitted(){return(0,n.O8t)(this._submittedReactive)}set submitted(Q){this._submittedReactive.set(Q)}_submitted=(0,n.EWP)(()=>this._submittedReactive());_submittedReactive=(0,n.vPA)(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new n.bkB;constructor(Q,Ft,je){super(),this.callSetDisabledState=je,this._setValidators(Q),this._setAsyncValidators(Ft)}ngOnChanges(Q){this._checkFormPresent(),Q.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(pi(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Q){const Ft=this.form.get(Q.path);return Ln(Ft,Q,this.callSetDisabledState),Ft.updateValueAndValidity({emitEvent:!1}),this.directives.push(Q),Ft}getControl(Q){return this.form.get(Q.path)}removeControl(Q){ua(Q.control||null,Q,!1),function Me(lt,dt){const Q=lt.indexOf(dt);Q>-1&<.splice(Q,1)}(this.directives,Q)}addFormGroup(Q){this._setUpFormContainer(Q)}removeFormGroup(Q){this._cleanUpFormContainer(Q)}getFormGroup(Q){return this.form.get(Q.path)}addFormArray(Q){this._setUpFormContainer(Q)}removeFormArray(Q){this._cleanUpFormContainer(Q)}getFormArray(Q){return this.form.get(Q.path)}updateModel(Q,Ft){this.form.get(Q.path).setValue(Ft)}onSubmit(Q){return this._submittedReactive.set(!0),me(this.form,this.directives),this.ngSubmit.emit(Q),this.form._events.next(new Wt(this.control)),"dialog"===Q?.target?.method}onReset(){this.resetForm()}resetForm(Q=void 0){this.form.reset(Q),this._submittedReactive.set(!1),this.form._events.next(new $t(this.form))}_updateDomValue(){this.directives.forEach(Q=>{const Ft=Q.control,je=this.form.get(Q.path);Ft!==je&&(ua(Ft||null,Q),(lt=>lt instanceof so)(je)&&(Ln(je,Q,this.callSetDisabledState),Q.control=je))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Q){const Ft=this.form.get(Q.path);hi(Ft,Q),Ft.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Q){if(this.form){const Ft=this.form.get(Q.path);Ft&&function On(lt,dt){return pi(lt,dt)}(Ft,Q)&&Ft.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){qi(this.form,this),this._oldForm&&pi(this._oldForm,this)}_checkFormPresent(){}static \u0275fac=function(Ft){return new(Ft||lt)(n.rXU(kt,10),n.rXU(Et,10),n.rXU(gr,8))};static \u0275dir=n.FsC({type:lt,selectors:[["","formGroup",""]],hostBindings:function(Ft,je){1&Ft&&n.bIt("submit",function(Jo){return je.onSubmit(Jo)})("reset",function(){return je.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[n.Jv_([Xo]),n.Vt3,n.OA$]})}return lt})();const mi={provide:Te,useExisting:(0,n.Rfq)(()=>Ci)};let Ci=(()=>{class lt extends Te{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(Q){}model;update=new n.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(Q,Ft,je,_o,Jo){super(),this._ngModelWarningConfig=Jo,this._parent=Q,this._setValidators(Ft),this._setAsyncValidators(je),this.valueAccessor=He(0,_o)}ngOnChanges(Q){this._added||this._setUpControl(),Gt(Q,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Q){this.viewModel=Q,this.update.emit(Q)}get path(){return ki(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 \u0275fac=function(Ft){return new(Ft||lt)(n.rXU(Xe,13),n.rXU(kt,10),n.rXU(Et,10),n.rXU(T,10),n.rXU(gi,8))};static \u0275dir=n.FsC({type:lt,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[n.Jv_([mi]),n.Vt3,n.OA$]})}return lt})();let Bi=(()=>{class lt{_validator=se;_onChange;_enabled;ngOnChanges(Q){if(this.inputName in Q){const Ft=this.normalizeInput(Q[this.inputName].currentValue);this._enabled=this.enabled(Ft),this._validator=this._enabled?this.createValidator(Ft):se,this._onChange&&this._onChange()}}validate(Q){return this._validator(Q)}registerOnValidatorChange(Q){this._onChange=Q}enabled(Q){return null!=Q}static \u0275fac=function(Ft){return new(Ft||lt)};static \u0275dir=n.FsC({type:lt,features:[n.OA$]})}return lt})();const Ua={provide:kt,useExisting:(0,n.Rfq)(()=>Bs),multi:!0},ds={provide:kt,useExisting:(0,n.Rfq)(()=>Ds),multi:!0};let Bs=(()=>{class lt extends Bi{required;inputName="required";normalizeInput=n.L39;createValidator=Q=>st;enabled(Q){return Q}static \u0275fac=(()=>{let Q;return function(je){return(Q||(Q=n.xGo(lt)))(je||lt)}})();static \u0275dir=n.FsC({type:lt,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Ft,je){2&Ft&&n.BMQ("required",je._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[n.Jv_([Ua]),n.Vt3]})}return lt})(),Ds=(()=>{class lt extends Bs{createValidator=Q=>vt;static \u0275fac=(()=>{let Q;return function(je){return(Q||(Q=n.xGo(lt)))(je||lt)}})();static \u0275dir=n.FsC({type:lt,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(Ft,je){2&Ft&&n.BMQ("required",je._enabled?"":null)},standalone:!1,features:[n.Jv_([ds]),n.Vt3]})}return lt})();const Ee={provide:kt,useExisting:(0,n.Rfq)(()=>Fr),multi:!0};let Fr=(()=>{class lt extends Bi{maxlength;inputName="maxlength";normalizeInput=Q=>function Na(lt){return"number"==typeof lt?lt:parseInt(lt,10)}(Q);createValidator=Q=>le(Q);static \u0275fac=(()=>{let Q;return function(je){return(Q||(Q=n.xGo(lt)))(je||lt)}})();static \u0275dir=n.FsC({type:lt,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(Ft,je){2&Ft&&n.BMQ("maxlength",je._enabled?je.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[n.Jv_([Ee]),n.Vt3]})}return lt})(),Mo=(()=>{class lt{static \u0275fac=function(Ft){return new(Ft||lt)};static \u0275mod=n.$C({type:lt});static \u0275inj=n.G2t({})}return lt})();class gn extends hn{constructor(dt,Q,Ft){super(Ce(Q),Be(Ft,Q)),this.controls=dt,this._initObservables(),this._setUpdateStrategy(Q),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(dt){return this.controls[this._adjustIndex(dt)]}push(dt,Q={}){this.controls.push(dt),this._registerControl(dt),this.updateValueAndValidity({emitEvent:Q.emitEvent}),this._onCollectionChange()}insert(dt,Q,Ft={}){this.controls.splice(dt,0,Q),this._registerControl(Q),this.updateValueAndValidity({emitEvent:Ft.emitEvent})}removeAt(dt,Q={}){let Ft=this._adjustIndex(dt);Ft<0&&(Ft=0),this.controls[Ft]&&this.controls[Ft]._registerOnCollectionChange(()=>{}),this.controls.splice(Ft,1),this.updateValueAndValidity({emitEvent:Q.emitEvent})}setControl(dt,Q,Ft={}){let je=this._adjustIndex(dt);je<0&&(je=0),this.controls[je]&&this.controls[je]._registerOnCollectionChange(()=>{}),this.controls.splice(je,1),Q&&(this.controls.splice(je,0,Q),this._registerControl(Q)),this.updateValueAndValidity({emitEvent:Ft.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(dt,Q={}){sn(this,0,dt),dt.forEach((Ft,je)=>{ko(this,!1,je),this.at(je).setValue(Ft,{onlySelf:!0,emitEvent:Q.emitEvent})}),this.updateValueAndValidity(Q)}patchValue(dt,Q={}){null!=dt&&(dt.forEach((Ft,je)=>{this.at(je)&&this.at(je).patchValue(Ft,{onlySelf:!0,emitEvent:Q.emitEvent})}),this.updateValueAndValidity(Q))}reset(dt=[],Q={}){this._forEachChild((Ft,je)=>{Ft.reset(dt[je],{onlySelf:!0,emitEvent:Q.emitEvent})}),this._updatePristine(Q,this),this._updateTouched(Q,this),this.updateValueAndValidity(Q)}getRawValue(){return this.controls.map(dt=>dt.getRawValue())}clear(dt={}){this.controls.length<1||(this._forEachChild(Q=>Q._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:dt.emitEvent}))}_adjustIndex(dt){return dt<0?dt+this.length:dt}_syncPendingControls(){let dt=this.controls.reduce((Q,Ft)=>!!Ft._syncPendingControls()||Q,!1);return dt&&this.updateValueAndValidity({onlySelf:!0}),dt}_forEachChild(dt){this.controls.forEach((Q,Ft)=>{dt(Q,Ft)})}_updateValue(){this.value=this.controls.filter(dt=>dt.enabled||this.disabled).map(dt=>dt.value)}_anyControls(dt){return this.controls.some(Q=>Q.enabled&&dt(Q))}_setUpControls(){this._forEachChild(dt=>this._registerControl(dt))}_allControlsDisabled(){for(const dt of this.controls)if(dt.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(dt){dt.setParent(this),dt._registerOnCollectionChange(this._onCollectionChange)}_find(dt){return this.at(dt)??null}}function Fn(lt){return!!lt&&(void 0!==lt.asyncValidators||void 0!==lt.validators||void 0!==lt.updateOn)}let Oi=(()=>{class lt{useNonNullable=!1;get nonNullable(){const Q=new lt;return Q.useNonNullable=!0,Q}group(Q,Ft=null){const je=this._reduceControls(Q);let _o={};return Fn(Ft)?_o=Ft:null!==Ft&&(_o.validators=Ft.validator,_o.asyncValidators=Ft.asyncValidator),new Zn(je,_o)}record(Q,Ft=null){const je=this._reduceControls(Q);return new Re(je,Ft)}control(Q,Ft,je){let _o={};return this.useNonNullable?(Fn(Ft)?_o=Ft:(_o.validators=Ft,_o.asyncValidators=je),new so(Q,{..._o,nonNullable:!0})):new so(Q,Ft,je)}array(Q,Ft,je){const _o=Q.map(Jo=>this._createControl(Jo));return new gn(_o,Ft,je)}_reduceControls(Q){const Ft={};return Object.keys(Q).forEach(je=>{Ft[je]=this._createControl(Q[je])}),Ft}_createControl(Q){return Q instanceof so||Q instanceof hn?Q:Array.isArray(Q)?this.control(Q[0],Q.length>1?Q[1]:null,Q.length>2?Q[2]:null):this.control(Q)}static \u0275fac=function(Ft){return new(Ft||lt)};static \u0275prov=n.jDH({token:lt,factory:lt.\u0275fac,providedIn:"root"})}return lt})(),Hi=(()=>{class lt extends Oi{group(Q,Ft=null){return super.group(Q,Ft)}control(Q,Ft,je){return super.control(Q,Ft,je)}array(Q,Ft,je){return super.array(Q,Ft,je)}static \u0275fac=(()=>{let Q;return function(je){return(Q||(Q=n.xGo(lt)))(je||lt)}})();static \u0275prov=n.jDH({token:lt,factory:lt.\u0275fac,providedIn:"root"})}return lt})(),$s=(()=>{class lt{static withConfig(Q){return{ngModule:lt,providers:[{provide:gr,useValue:Q.callSetDisabledState??po}]}}static \u0275fac=function(Ft){return new(Ft||lt)};static \u0275mod=n.$C({type:lt});static \u0275inj=n.G2t({imports:[Mo]})}return lt})(),us=(()=>{class lt{static withConfig(Q){return{ngModule:lt,providers:[{provide:gi,useValue:Q.warnOnNgModelWithFormControl??"always"},{provide:gr,useValue:Q.callSetDisabledState??po}]}}static \u0275fac=function(Ft){return new(Ft||lt)};static \u0275mod=n.$C({type:lt});static \u0275inj=n.G2t({imports:[Mo]})}return lt})()},9471:(i,s,o)=>{"use strict";o.d(s,{$z:()=>at,Hl:()=>jr,iY:()=>fr,pQ:()=>yr});var n=o(3107),a=o(8559),l=o(2147),y=o(2902),k=o(5467);const C=["mat-button",""],A=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],S=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],O="@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}",J=["mat-icon-button",""],ht=["*"],pt=new n.nKC("MAT_BUTTON_CONFIG"),Et=[{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 It=(()=>{class wr{_elementRef=(0,n.WQX)(n.aKT);_platform=(0,n.WQX)(l.OD);_ngZone=(0,n.WQX)(n.SKi);_animationMode=(0,n.WQX)(n.bc$,{optional:!0});_focusMonitor=(0,n.WQX)(a.FN);_rippleLoader=(0,n.WQX)(y.Ej);_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(be){this._disableRipple=be,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(be){this._disabled=be,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;constructor(){(0,n.WQX)(k.l).load(y.Ah);const be=(0,n.WQX)(pt,{optional:!0}),Ht=this._elementRef.nativeElement,Bt=Ht.classList;this.disabledInteractive=be?.disabledInteractive??!1,this.color=be?.color??null,this._rippleLoader?.configureRipple(Ht,{className:"mat-mdc-button-ripple"});for(const{attribute:Fe,mdcClasses:zt}of Et)Ht.hasAttribute(Fe)&&Bt.add(...zt)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(be="program",Ht){be?this._focusMonitor.focusVia(this._elementRef.nativeElement,be,Ht):this._elementRef.nativeElement.focus(Ht)}_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 \u0275fac=function(Ht){return new(Ht||wr)};static \u0275dir=n.FsC({type:wr,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",n.L39],disabled:[2,"disabled","disabled",n.L39],ariaDisabled:[2,"aria-disabled","ariaDisabled",n.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",n.L39]},features:[n.GFd]})}return wr})(),_t=(()=>{class wr extends It{tabIndex;ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_haltDisabledEvents=be=>{this.disabled&&(be.preventDefault(),be.stopImmediatePropagation())};_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:this.disabled||null}static \u0275fac=(()=>{let be;return function(Bt){return(be||(be=n.xGo(wr)))(Bt||wr)}})();static \u0275dir=n.FsC({type:wr,inputs:{tabIndex:[2,"tabIndex","tabIndex",be=>null==be?void 0:(0,n.Udg)(be)]},features:[n.GFd,n.Vt3]})}return wr})(),at=(()=>{class wr extends It{static \u0275fac=(()=>{let be;return function(Bt){return(be||(be=n.xGo(wr)))(Bt||wr)}})();static \u0275cmp=n.VBU({type:wr,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(Ht,Bt){2&Ht&&(n.BMQ("disabled",Bt._getDisabledAttribute())("aria-disabled",Bt._getAriaDisabled()),n.HbH(Bt.color?"mat-"+Bt.color:""),n.AVh("mat-mdc-button-disabled",Bt.disabled)("mat-mdc-button-disabled-interactive",Bt.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===Bt._animationMode)("mat-unthemed",!Bt.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[n.Vt3],attrs:C,ngContentSelectors:S,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Ht,Bt){1&Ht&&(n.NAR(A),n.nrm(0,"span",0),n.SdG(1),n.j41(2,"span",1),n.SdG(3,1),n.k0s(),n.SdG(4,2),n.nrm(5,"span",2)(6,"span",3)),2&Ht&&n.AVh("mdc-button__ripple",!Bt._isFab)("mdc-fab__ripple",Bt._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, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);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, -4px);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, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-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-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-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-sys-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-sys-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, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);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, -8px);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, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-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-sys-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-sys-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-sys-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-sys-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, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.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);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);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, -8px);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, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-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-sys-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-sys-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-sys-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-sys-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, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.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-sys-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);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);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, -8px);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, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-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-sys-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-sys-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-sys-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-sys-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, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.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, 1px);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-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-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-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}"],encapsulation:2,changeDetection:0})}return wr})(),fr=(()=>{class wr extends It{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(Ht){return new(Ht||wr)};static \u0275cmp=n.VBU({type:wr,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(Ht,Bt){2&Ht&&(n.BMQ("disabled",Bt._getDisabledAttribute())("aria-disabled",Bt._getAriaDisabled()),n.HbH(Bt.color?"mat-"+Bt.color:""),n.AVh("mat-mdc-button-disabled",Bt.disabled)("mat-mdc-button-disabled-interactive",Bt.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===Bt._animationMode)("mat-unthemed",!Bt.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[n.Vt3],attrs:J,ngContentSelectors:ht,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Ht,Bt){1&Ht&&(n.NAR(),n.nrm(0,"span",0),n.SdG(1),n.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, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.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-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-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-sys-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-sys-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-sys-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-sys-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, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.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}',O],encapsulation:2,changeDetection:0})}return wr})(),yr=(()=>{class wr extends _t{static \u0275fac=(()=>{let be;return function(Bt){return(be||(be=n.xGo(wr)))(Bt||wr)}})();static \u0275cmp=n.VBU({type:wr,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(Ht,Bt){2&Ht&&(n.BMQ("disabled",Bt._getDisabledAttribute())("tabindex",Bt.disabled&&!Bt.disabledInteractive?-1:Bt.tabIndex)("aria-disabled",Bt._getAriaDisabled()),n.HbH(Bt.color?"mat-"+Bt.color:""),n.AVh("mat-mdc-button-disabled",Bt.disabled)("mat-mdc-button-disabled-interactive",Bt.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===Bt._animationMode)("mat-unthemed",!Bt.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[n.Vt3],attrs:J,ngContentSelectors:ht,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Ht,Bt){1&Ht&&(n.NAR(),n.nrm(0,"span",0),n.SdG(1),n.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, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.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-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-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-sys-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-sys-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-sys-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-sys-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, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.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}',O],encapsulation:2,changeDetection:0})}return wr})(),jr=(()=>{class wr{static \u0275fac=function(Ht){return new(Ht||wr)};static \u0275mod=n.$C({type:wr});static \u0275inj=n.G2t({imports:[y.yE,y.pZ,y.yE]})}return wr})()},2902:(i,s,o)=>{"use strict";o.d(s,{Ah:()=>Yt,Ej:()=>To,Ju:()=>Pt,MI:()=>Rt,MJ:()=>ve,N:()=>at,QC:()=>N,Sy:()=>Sr,TL:()=>Se,X0:()=>vt,de:()=>se,es:()=>zt,is:()=>W,jb:()=>he,pZ:()=>Lt,r6:()=>cr,tO:()=>Ho,wT:()=>ue,yE:()=>st});var n=o(3107),a=o(8559),l=o(2944),y=o(8447),k=o(2147),C=o(3022),A=o(5467),S=o(5919),T=o(4460);const q=["text"],Y=[[["mat-icon"]],"*"],J=["mat-icon","*"];function ht(we,ze){if(1&we&&n.nrm(0,"mat-pseudo-checkbox",1),2&we){const Mt=n.XpG();n.Y8G("disabled",Mt.disabled)("state",Mt.selected?"checked":"unchecked")}}function ct(we,ze){if(1&we&&n.nrm(0,"mat-pseudo-checkbox",3),2&we){const Mt=n.XpG();n.Y8G("disabled",Mt.disabled)}}function pt(we,ze){if(1&we&&(n.j41(0,"span",4),n.EFF(1),n.k0s()),2&we){const Mt=n.XpG();n.R7$(),n.SpI("(",Mt.group.label,")")}}const kt=["mat-internal-form-field",""],Et=["*"],at=new n.nKC("mat-sanity-checks",{providedIn:"root",factory:()=>!0});let st=(()=>{class we{constructor(){(0,n.WQX)(a.Q_)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(Wt){return new(Wt||we)};static \u0275mod=n.$C({type:we});static \u0275inj=n.G2t({imports:[l.jI,l.jI]})}return we})();class vt{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(ze,Mt,Wt,$t,Ce){this._defaultMatcher=ze,this.ngControl=Mt,this._parentFormGroup=Wt,this._parentForm=$t,this._stateChanges=Ce}updateErrorState(){const ze=this.errorState,Mt=this._parentFormGroup||this._parentForm,Wt=this.matcher||this._defaultMatcher,$t=this.ngControl?this.ngControl.control:null,Ce=Wt?.isErrorState($t,Mt)??!1;Ce!==ze&&(this.errorState=Ce,this._stateChanges.next())}}const Pt=new n.nKC("MAT_DATE_LOCALE",{providedIn:"root",factory:function ae(){return(0,n.WQX)(n.xe9)}}),le="Method not implemented";class ve{locale;_localeChanges=new y.B;localeChanges=this._localeChanges;setTime(ze,Mt,Wt,$t){throw new Error(le)}getHours(ze){throw new Error(le)}getMinutes(ze){throw new Error(le)}getSeconds(ze){throw new Error(le)}parseTime(ze,Mt){throw new Error(le)}addSeconds(ze,Mt){throw new Error(le)}getValidDateOrNull(ze){return this.isDateInstance(ze)&&this.isValid(ze)?ze:null}deserialize(ze){return null==ze||this.isDateInstance(ze)&&this.isValid(ze)?ze:this.invalid()}setLocale(ze){this.locale=ze,this._localeChanges.next()}compareDate(ze,Mt){return this.getYear(ze)-this.getYear(Mt)||this.getMonth(ze)-this.getMonth(Mt)||this.getDate(ze)-this.getDate(Mt)}compareTime(ze,Mt){return this.getHours(ze)-this.getHours(Mt)||this.getMinutes(ze)-this.getMinutes(Mt)||this.getSeconds(ze)-this.getSeconds(Mt)}sameDate(ze,Mt){if(ze&&Mt){let Wt=this.isValid(ze),$t=this.isValid(Mt);return Wt&&$t?!this.compareDate(ze,Mt):Wt==$t}return ze==Mt}sameTime(ze,Mt){if(ze&&Mt){const Wt=this.isValid(ze),$t=this.isValid(Mt);return Wt&&$t?!this.compareTime(ze,Mt):Wt==$t}return ze==Mt}clampDate(ze,Mt,Wt){return Mt&&this.compareDate(ze,Mt)<0?Mt:Wt&&this.compareDate(ze,Wt)>0?Wt:ze}}const se=new n.nKC("mat-date-formats");let zt=(()=>{class we{isErrorState(Mt,Wt){return!!(Mt&&Mt.invalid&&(Mt.touched||Wt&&Wt.submitted))}static \u0275fac=function(Wt){return new(Wt||we)};static \u0275prov=n.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})(),Yt=(()=>{class we{static \u0275fac=function(Wt){return new(Wt||we)};static \u0275cmp=n.VBU({type:we,selectors:[["structural-styles"]],decls:0,vars:0,template:function(Wt,$t){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}'],encapsulation:2,changeDetection:0})}return we})();var wt=function(we){return we[we.FADING_IN=0]="FADING_IN",we[we.VISIBLE=1]="VISIBLE",we[we.FADING_OUT=2]="FADING_OUT",we[we.HIDDEN=3]="HIDDEN",we}(wt||{});class ie{_renderer;element;config;_animationForciblyDisabledThroughCss;state=wt.HIDDEN;constructor(ze,Mt,Wt,$t=!1){this._renderer=ze,this.element=Mt,this.config=Wt,this._animationForciblyDisabledThroughCss=$t}fadeOut(){this._renderer.fadeOutRipple(this)}}const Xe=(0,k.BQ)({passive:!0,capture:!0});class Te{_events=new Map;addHandler(ze,Mt,Wt,$t){const Ce=this._events.get(Mt);if(Ce){const ce=Ce.get(Wt);ce?ce.add($t):Ce.set(Wt,new Set([$t]))}else this._events.set(Mt,new Map([[Wt,new Set([$t])]])),ze.runOutsideAngular(()=>{document.addEventListener(Mt,this._delegateEventHandler,Xe)})}removeHandler(ze,Mt,Wt){const $t=this._events.get(ze);if(!$t)return;const Ce=$t.get(Mt);Ce&&(Ce.delete(Wt),0===Ce.size&&$t.delete(Mt),0===$t.size&&(this._events.delete(ze),document.removeEventListener(ze,this._delegateEventHandler,Xe)))}_delegateEventHandler=ze=>{const Mt=(0,k.Fb)(ze);Mt&&this._events.get(ze.type)?.forEach((Wt,$t)=>{($t===Mt||$t.contains(Mt))&&Wt.forEach(Ce=>Ce.handleEvent(ze))})}}const Ke={enterDuration:225,exitDuration:150},Ve=(0,k.BQ)({passive:!0,capture:!0}),tr=["mousedown","touchstart"],Tr=["mouseup","mouseleave","touchend","touchcancel"];let Wr=(()=>{class we{static \u0275fac=function(Wt){return new(Wt||we)};static \u0275cmp=n.VBU({type:we,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(Wt,$t){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}"],encapsulation:2,changeDetection:0})}return we})();class Lo{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new Te;constructor(ze,Mt,Wt,$t,Ce){this._target=ze,this._ngZone=Mt,this._platform=$t,$t.isBrowser&&(this._containerElement=(0,C.i8)(Wt)),Ce&&Ce.get(A.l).load(Wr)}fadeInRipple(ze,Mt,Wt={}){const $t=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Ce={...Ke,...Wt.animation};Wt.centered&&(ze=$t.left+$t.width/2,Mt=$t.top+$t.height/2);const ce=Wt.radius||function Or(we,ze,Mt){const Wt=Math.max(Math.abs(we-Mt.left),Math.abs(we-Mt.right)),$t=Math.max(Math.abs(ze-Mt.top),Math.abs(ze-Mt.bottom));return Math.sqrt(Wt*Wt+$t*$t)}(ze,Mt,$t),Be=ze-$t.left,vr=Mt-$t.top,qr=Ce.enterDuration,ko=document.createElement("div");ko.classList.add("mat-ripple-element"),ko.style.left=Be-ce+"px",ko.style.top=vr-ce+"px",ko.style.height=2*ce+"px",ko.style.width=2*ce+"px",null!=Wt.color&&(ko.style.backgroundColor=Wt.color),ko.style.transitionDuration=`${qr}ms`,this._containerElement.appendChild(ko);const sn=window.getComputedStyle(ko),Zn=sn.transitionDuration,Je="none"===sn.transitionProperty||"0s"===Zn||"0s, 0s"===Zn||0===$t.width&&0===$t.height,Ae=new ie(this,ko,Wt,Je);ko.style.transform="scale3d(1, 1, 1)",Ae.state=wt.FADING_IN,Wt.persistent||(this._mostRecentTransientRipple=Ae);let te=null;return!Je&&(qr||Ce.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Re=()=>{te&&(te.fallbackTimer=null),clearTimeout(gr),this._finishRippleTransition(Ae)},ir=()=>this._destroyRipple(Ae),gr=setTimeout(ir,qr+100);ko.addEventListener("transitionend",Re),ko.addEventListener("transitioncancel",ir),te={onTransitionEnd:Re,onTransitionCancel:ir,fallbackTimer:gr}}),this._activeRipples.set(Ae,te),(Je||!qr)&&this._finishRippleTransition(Ae),Ae}fadeOutRipple(ze){if(ze.state===wt.FADING_OUT||ze.state===wt.HIDDEN)return;const Mt=ze.element,Wt={...Ke,...ze.config.animation};Mt.style.transitionDuration=`${Wt.exitDuration}ms`,Mt.style.opacity="0",ze.state=wt.FADING_OUT,(ze._animationForciblyDisabledThroughCss||!Wt.exitDuration)&&this._finishRippleTransition(ze)}fadeOutAll(){this._getActiveRipples().forEach(ze=>ze.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(ze=>{ze.config.persistent||ze.fadeOut()})}setupTriggerEvents(ze){const Mt=(0,C.i8)(ze);!this._platform.isBrowser||!Mt||Mt===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Mt,tr.forEach(Wt=>{Lo._eventManager.addHandler(this._ngZone,Wt,Mt,this)}))}handleEvent(ze){"mousedown"===ze.type?this._onMousedown(ze):"touchstart"===ze.type?this._onTouchStart(ze):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Tr.forEach(Mt=>{this._triggerElement.addEventListener(Mt,this,Ve)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(ze){ze.state===wt.FADING_IN?this._startFadeOutTransition(ze):ze.state===wt.FADING_OUT&&this._destroyRipple(ze)}_startFadeOutTransition(ze){const Mt=ze===this._mostRecentTransientRipple,{persistent:Wt}=ze.config;ze.state=wt.VISIBLE,!Wt&&(!Mt||!this._isPointerDown)&&ze.fadeOut()}_destroyRipple(ze){const Mt=this._activeRipples.get(ze)??null;this._activeRipples.delete(ze),this._activeRipples.size||(this._containerRect=null),ze===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),ze.state=wt.HIDDEN,null!==Mt&&(ze.element.removeEventListener("transitionend",Mt.onTransitionEnd),ze.element.removeEventListener("transitioncancel",Mt.onTransitionCancel),null!==Mt.fallbackTimer&&clearTimeout(Mt.fallbackTimer)),ze.element.remove()}_onMousedown(ze){const Mt=(0,a._G)(ze),Wt=this._lastTouchStartEvent&&Date.now(){!ze.config.persistent&&(ze.state===wt.VISIBLE||ze.config.terminateOnPointerUp&&ze.state===wt.FADING_IN)&&ze.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const ze=this._triggerElement;ze&&(tr.forEach(Mt=>Lo._eventManager.removeHandler(Mt,ze,this)),this._pointerUpEventsRegistered&&(Tr.forEach(Mt=>ze.removeEventListener(Mt,this,Ve)),this._pointerUpEventsRegistered=!1))}}const fo=new n.nKC("mat-ripple-global-options");let cr=(()=>{class we{_elementRef=(0,n.WQX)(n.aKT);_animationMode=(0,n.WQX)(n.bc$,{optional:!0});color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(Mt){Mt&&this.fadeOutAllNonPersistent(),this._disabled=Mt,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Mt){this._trigger=Mt,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){const Mt=(0,n.WQX)(n.SKi),Wt=(0,n.WQX)(k.OD),$t=(0,n.WQX)(fo,{optional:!0}),Ce=(0,n.WQX)(n.zZn);this._globalOptions=$t||{},this._rippleRenderer=new Lo(this,Mt,this._elementRef,Wt,Ce)}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(Mt,Wt=0,$t){return"number"==typeof Mt?this._rippleRenderer.fadeInRipple(Mt,Wt,{...this.rippleConfig,...$t}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...Mt})}static \u0275fac=function(Wt){return new(Wt||we)};static \u0275dir=n.FsC({type:we,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Wt,$t){2&Wt&&n.AVh("mat-ripple-unbounded",$t.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"]})}return we})(),Lt=(()=>{class we{static \u0275fac=function(Wt){return new(Wt||we)};static \u0275mod=n.$C({type:we});static \u0275inj=n.G2t({imports:[st,st]})}return we})(),At=(()=>{class we{_animationMode=(0,n.WQX)(n.bc$,{optional:!0});state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(Wt){return new(Wt||we)};static \u0275cmp=n.VBU({type:we,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(Wt,$t){2&Wt&&n.AVh("mat-pseudo-checkbox-indeterminate","indeterminate"===$t.state)("mat-pseudo-checkbox-checked","checked"===$t.state)("mat-pseudo-checkbox-disabled",$t.disabled)("mat-pseudo-checkbox-minimal","minimal"===$t.appearance)("mat-pseudo-checkbox-full","full"===$t.appearance)("_mat-animation-noopable","NoopAnimations"===$t._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(Wt,$t){},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-sys-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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-sys-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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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-sys-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-sys-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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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-sys-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 we})(),Zt=(()=>{class we{static \u0275fac=function(Wt){return new(Wt||we)};static \u0275mod=n.$C({type:we});static \u0275inj=n.G2t({imports:[st]})}return we})();const W=new n.nKC("MAT_OPTION_PARENT_COMPONENT"),N=new n.nKC("MatOptgroup");class Rt{source;isUserInput;constructor(ze,Mt=!1){this.source=ze,this.isUserInput=Mt}}let ue=(()=>{class we{_element=(0,n.WQX)(n.aKT);_changeDetectorRef=(0,n.WQX)(n.gRc);_parent=(0,n.WQX)(W,{optional:!0});group=(0,n.WQX)(N,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_disabled=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=(0,n.WQX)(a.g7).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(Mt){this._disabled=Mt}get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}onSelectionChange=new n.bkB;_text;_stateChanges=new y.B;constructor(){(0,n.WQX)(A.l).load(Yt),(0,n.WQX)(A.l).load(A.Y),this._signalDisableRipple=!!this._parent&&(0,n.Hps)(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(Mt=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),Mt&&this._emitSelectionChangeEvent())}deselect(Mt=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),Mt&&this._emitSelectionChangeEvent())}focus(Mt,Wt){const $t=this._getHostElement();"function"==typeof $t.focus&&$t.focus(Wt)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Mt){(Mt.keyCode===S.Fm||Mt.keyCode===S.t6)&&!(0,S.rp)(Mt)&&(this._selectViaInteraction(),Mt.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 Mt=this.viewValue;Mt!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=Mt)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Mt=!1){this.onSelectionChange.emit(new Rt(this,Mt))}static \u0275fac=function(Wt){return new(Wt||we)};static \u0275cmp=n.VBU({type:we,selectors:[["mat-option"]],viewQuery:function(Wt,$t){if(1&Wt&&n.GBs(q,7),2&Wt){let Ce;n.mGM(Ce=n.lsd())&&($t._text=Ce.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(Wt,$t){1&Wt&&n.bIt("click",function(){return $t._selectViaInteraction()})("keydown",function(ce){return $t._handleKeydown(ce)}),2&Wt&&(n.Mr5("id",$t.id),n.BMQ("aria-selected",$t.selected)("aria-disabled",$t.disabled.toString()),n.AVh("mdc-list-item--selected",$t.selected)("mat-mdc-option-multiple",$t.multiple)("mat-mdc-option-active",$t.active)("mdc-list-item--disabled",$t.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",n.L39]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],features:[n.GFd],ngContentSelectors:J,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-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(Wt,$t){1&Wt&&(n.NAR(Y),n.DNE(0,ht,1,2,"mat-pseudo-checkbox",1),n.SdG(1),n.j41(2,"span",2,0),n.SdG(4,1),n.k0s(),n.DNE(5,ct,1,1,"mat-pseudo-checkbox",3)(6,pt,2,1,"span",4),n.nrm(7,"div",5)),2&Wt&&(n.vxM($t.multiple?0:-1),n.R7$(5),n.vxM($t.multiple||!$t.selected||$t.hideSingleSelectionIndicator?-1:5),n.R7$(),n.vxM($t.group&&$t.group._inert?6:-1),n.R7$(),n.Y8G("matRippleTrigger",$t._getHostElement())("matRippleDisabled",$t.disabled||$t.disableRipple))},dependencies:[At,cr],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-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.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, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));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-sys-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-sys-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-sys-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}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::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-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return we})();function he(we,ze,Mt){if(Mt.length){let Wt=ze.toArray(),$t=Mt.toArray(),Ce=0;for(let ce=0;ceMt+Wt?Math.max(0,we-Wt+ze):Mt}let Sr=(()=>{class we{static \u0275fac=function(Wt){return new(Wt||we)};static \u0275mod=n.$C({type:we});static \u0275inj=n.G2t({imports:[Lt,st,Zt]})}return we})();const ar={capture:!0},dr=["focus","mousedown","mouseenter","touchstart"],Mr="mat-ripple-loader-uninitialized",ao="mat-ripple-loader-class-name",xr="mat-ripple-loader-centered",zo="mat-ripple-loader-disabled";let To=(()=>{class we{_document=(0,n.WQX)(T.qQ,{optional:!0});_animationMode=(0,n.WQX)(n.bc$,{optional:!0});_globalRippleOptions=(0,n.WQX)(fo,{optional:!0});_platform=(0,n.WQX)(k.OD);_ngZone=(0,n.WQX)(n.SKi);_injector=(0,n.WQX)(n.zZn);_hosts=new Map;constructor(){this._ngZone.runOutsideAngular(()=>{for(const Mt of dr)this._document?.addEventListener(Mt,this._onInteraction,ar)})}ngOnDestroy(){const Mt=this._hosts.keys();for(const Wt of Mt)this.destroyRipple(Wt);for(const Wt of dr)this._document?.removeEventListener(Wt,this._onInteraction,ar)}configureRipple(Mt,Wt){Mt.setAttribute(Mr,this._globalRippleOptions?.namespace??""),(Wt.className||!Mt.hasAttribute(ao))&&Mt.setAttribute(ao,Wt.className||""),Wt.centered&&Mt.setAttribute(xr,""),Wt.disabled&&Mt.setAttribute(zo,"")}setDisabled(Mt,Wt){const $t=this._hosts.get(Mt);$t?($t.target.rippleDisabled=Wt,!Wt&&!$t.hasSetUpEvents&&($t.hasSetUpEvents=!0,$t.renderer.setupTriggerEvents(Mt))):Wt?Mt.setAttribute(zo,""):Mt.removeAttribute(zo)}_onInteraction=Mt=>{const Wt=(0,k.Fb)(Mt);if(Wt instanceof HTMLElement){const $t=Wt.closest(`[${Mr}="${this._globalRippleOptions?.namespace??""}"]`);$t&&this._createRipple($t)}};_createRipple(Mt){if(!this._document||this._hosts.has(Mt))return;Mt.querySelector(".mat-ripple")?.remove();const Wt=this._document.createElement("span");Wt.classList.add("mat-ripple",Mt.getAttribute(ao)),Mt.append(Wt);const $t="NoopAnimations"===this._animationMode,Ce=this._globalRippleOptions,ce=$t?0:Ce?.animation?.enterDuration??Ke.enterDuration,Be=$t?0:Ce?.animation?.exitDuration??Ke.exitDuration,vr={rippleDisabled:$t||Ce?.disabled||Mt.hasAttribute(zo),rippleConfig:{centered:Mt.hasAttribute(xr),terminateOnPointerUp:Ce?.terminateOnPointerUp,animation:{enterDuration:ce,exitDuration:Be}}},qr=new Lo(vr,this._ngZone,Wt,this._platform,this._injector),ko=!vr.rippleDisabled;ko&&qr.setupTriggerEvents(Mt),this._hosts.set(Mt,{target:vr,renderer:qr,hasSetUpEvents:ko}),Mt.removeAttribute(Mr)}destroyRipple(Mt){const Wt=this._hosts.get(Mt);Wt&&(Wt.renderer._removeTriggerEvents(),this._hosts.delete(Mt))}static \u0275fac=function(Wt){return new(Wt||we)};static \u0275prov=n.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})(),Ho=(()=>{class we{labelPosition;static \u0275fac=function(Wt){return new(Wt||we)};static \u0275cmp=n.VBU({type:we,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(Wt,$t){2&Wt&&n.AVh("mdc-form-field--align-end","before"===$t.labelPosition)},inputs:{labelPosition:"labelPosition"},attrs:kt,ngContentSelectors:Et,decls:1,vars:0,template:function(Wt,$t){1&Wt&&(n.NAR(),n.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 we})()},7544:(i,s,o)=>{"use strict";o.d(s,{Vh:()=>Dt,bZ:()=>Ke,E7:()=>Wr,tx:()=>re,Yi:()=>Tr,hM:()=>fo,CP:()=>Oe});var n=o(9666),a=o(3107),l=o(8559),y=o(2147),k=o(6192),C=o(4460),A=o(5919),S=o(8447),T=o(6381),O=o(3016),P=o(2944),q=o(593);function Y(At,Zt){}class J{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!0;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;componentFactoryResolver;providers;container;templateContext}let ct=(()=>{class At extends k.lb{_elementRef=(0,a.WQX)(a.aKT);_focusTrapFactory=(0,a.WQX)(l.GX);_config;_interactivityChecker=(0,a.WQX)(l.Z7);_ngZone=(0,a.WQX)(a.SKi);_overlayRef=(0,a.WQX)(n.yY);_focusMonitor=(0,a.WQX)(l.FN);_platform=(0,a.WQX)(y.OD);_document=(0,a.WQX)(C.qQ,{optional:!0});_portalOutlet;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_changeDetectorRef=(0,a.WQX)(a.gRc);_injector=(0,a.WQX)(a.zZn);_isDestroyed=!1;constructor(){super(),this._config=(0,a.WQX)(J,{optional:!0})||new J,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(W){this._ariaLabelledByQueue.push(W),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(W){const N=this._ariaLabelledByQueue.indexOf(W);N>-1&&(this._ariaLabelledByQueue.splice(N,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(W){this._portalOutlet.hasAttached();const N=this._portalOutlet.attachComponentPortal(W);return this._contentAttached(),N}attachTemplatePortal(W){this._portalOutlet.hasAttached();const N=this._portalOutlet.attachTemplatePortal(W);return this._contentAttached(),N}attachDomPortal=W=>{this._portalOutlet.hasAttached();const N=this._portalOutlet.attachDomPortal(W);return this._contentAttached(),N};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(W,N){this._interactivityChecker.isFocusable(W)||(W.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const z=()=>{W.removeEventListener("blur",z),W.removeEventListener("mousedown",z),W.removeAttribute("tabindex")};W.addEventListener("blur",z),W.addEventListener("mousedown",z)})),W.focus(N)}_focusByCssSelector(W,N){let z=this._elementRef.nativeElement.querySelector(W);z&&this._forceFocus(z,N)}_trapFocus(){this._isDestroyed||(0,a.mal)(()=>{const W=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||W.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 W=this._config.restoreFocus;let N=null;if("string"==typeof W?N=this._document.querySelector(W):"boolean"==typeof W?N=W?this._elementFocusedBeforeDialogWasOpened:null:W&&(N=W),this._config.restoreFocus&&N&&"function"==typeof N.focus){const z=(0,y.vc)(),Rt=this._elementRef.nativeElement;(!z||z===this._document.body||z===Rt||Rt.contains(z))&&(this._focusMonitor?(this._focusMonitor.focusVia(N,this._closeInteractionType),this._closeInteractionType=null):N.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const W=this._elementRef.nativeElement,N=(0,y.vc)();return W===N||W.contains(N)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,y.vc)()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static \u0275fac=function(N){return new(N||At)};static \u0275cmp=a.VBU({type:At,selectors:[["cdk-dialog-container"]],viewQuery:function(N,z){if(1&N&&a.GBs(k.I3,7),2&N){let Rt;a.mGM(Rt=a.lsd())&&(z._portalOutlet=Rt.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(N,z){2&N&&a.BMQ("id",z._config.id||null)("role",z._config.role)("aria-modal",z._config.ariaModal)("aria-labelledby",z._config.ariaLabel?null:z._ariaLabelledByQueue[0])("aria-label",z._config.ariaLabel)("aria-describedby",z._config.ariaDescribedBy||null)},features:[a.Vt3],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(N,z){1&N&&a.DNE(0,Y,0,0,"ng-template",0)},dependencies:[k.I3],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return At})();class pt{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new S.B;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(Zt,W){this.overlayRef=Zt,this.config=W,this.disableClose=W.disableClose,this.backdropClick=Zt.backdropClick(),this.keydownEvents=Zt.keydownEvents(),this.outsidePointerEvents=Zt.outsidePointerEvents(),this.id=W.id,this.keydownEvents.subscribe(N=>{N.keyCode===A._f&&!this.disableClose&&!(0,A.rp)(N)&&(N.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=Zt.detachments().subscribe(()=>{!1!==W.closeOnOverlayDetachments&&this.close()})}close(Zt,W){if(this.containerInstance){const N=this.closed;this.containerInstance._closeInteractionType=W?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),N.next(Zt),N.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Zt="",W=""){return this.overlayRef.updateSize({width:Zt,height:W}),this}addPanelClass(Zt){return this.overlayRef.addPanelClass(Zt),this}removePanelClass(Zt){return this.overlayRef.removePanelClass(Zt),this}}const kt=new a.nKC("DialogScrollStrategy",{providedIn:"root",factory:()=>{const At=(0,a.WQX)(n.hJ);return()=>At.scrollStrategies.block()}}),Et=new a.nKC("DialogData"),It=new a.nKC("DefaultDialogConfig");let at=(()=>{class At{_overlay=(0,a.WQX)(n.hJ);_injector=(0,a.WQX)(a.zZn);_defaultOptions=(0,a.WQX)(It,{optional:!0});_parentDialog=(0,a.WQX)(At,{optional:!0,skipSelf:!0});_overlayContainer=(0,a.WQX)(n.Sf);_idGenerator=(0,a.WQX)(l.g7);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new S.B;_afterOpenedAtThisLevel=new S.B;_ariaHiddenElements=new Map;_scrollStrategy=(0,a.WQX)(kt);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=(0,T.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,q.Z)(void 0)));constructor(){}open(W,N){(N={...this._defaultOptions||new J,...N}).id=N.id||this._idGenerator.getId("cdk-dialog-"),N.id&&this.getDialogById(N.id);const Rt=this._getOverlayConfig(N),ue=this._overlay.create(Rt),he=new pt(ue,N),Se=this._attachContainer(ue,he,N);return he.containerInstance=Se,this._attachDialogContent(W,he,Se,N),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(he),he.closed.subscribe(()=>this._removeOpenDialog(he,!0)),this.afterOpened.next(he),he}closeAll(){st(this.openDialogs,W=>W.close())}getDialogById(W){return this.openDialogs.find(N=>N.id===W)}ngOnDestroy(){st(this._openDialogsAtThisLevel,W=>{!1===W.config.closeOnDestroy&&this._removeOpenDialog(W,!1)}),st(this._openDialogsAtThisLevel,W=>W.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(W){const N=new n.rR({positionStrategy:W.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:W.scrollStrategy||this._scrollStrategy(),panelClass:W.panelClass,hasBackdrop:W.hasBackdrop,direction:W.direction,minWidth:W.minWidth,minHeight:W.minHeight,maxWidth:W.maxWidth,maxHeight:W.maxHeight,width:W.width,height:W.height,disposeOnNavigation:W.closeOnNavigation});return W.backdropClass&&(N.backdropClass=W.backdropClass),N}_attachContainer(W,N,z){const Rt=z.injector||z.viewContainerRef?.injector,ue=[{provide:J,useValue:z},{provide:pt,useValue:N},{provide:n.yY,useValue:W}];let he;z.container?"function"==typeof z.container?he=z.container:(he=z.container.type,ue.push(...z.container.providers(z))):he=ct;const Se=new k.A8(he,z.viewContainerRef,a.zZn.create({parent:Rt||this._injector,providers:ue}));return W.attach(Se).instance}_attachDialogContent(W,N,z,Rt){if(W instanceof a.C4Q){const ue=this._createInjector(Rt,N,z,void 0);let he={$implicit:Rt.data,dialogRef:N};Rt.templateContext&&(he={...he,..."function"==typeof Rt.templateContext?Rt.templateContext():Rt.templateContext}),z.attachTemplatePortal(new k.VA(W,null,he,ue))}else{const ue=this._createInjector(Rt,N,z,this._injector),he=z.attachComponentPortal(new k.A8(W,Rt.viewContainerRef,ue));N.componentRef=he,N.componentInstance=he.instance}}_createInjector(W,N,z,Rt){const ue=W.injector||W.viewContainerRef?.injector,he=[{provide:Et,useValue:W.data},{provide:pt,useValue:N}];return W.providers&&("function"==typeof W.providers?he.push(...W.providers(N,W,z)):he.push(...W.providers)),W.direction&&(!ue||!ue.get(P.dS,null,{optional:!0}))&&he.push({provide:P.dS,useValue:{value:W.direction,change:(0,O.of)()}}),a.zZn.create({parent:ue||Rt,providers:he})}_removeOpenDialog(W,N){const z=this.openDialogs.indexOf(W);z>-1&&(this.openDialogs.splice(z,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Rt,ue)=>{Rt?ue.setAttribute("aria-hidden",Rt):ue.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),N&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const W=this._overlayContainer.getContainerElement();if(W.parentElement){const N=W.parentElement.children;for(let z=N.length-1;z>-1;z--){const Rt=N[z];Rt!==W&&"SCRIPT"!==Rt.nodeName&&"STYLE"!==Rt.nodeName&&!Rt.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(Rt,Rt.getAttribute("aria-hidden")),Rt.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const W=this._parentDialog;return W?W._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(N){return new(N||At)};static \u0275prov=a.jDH({token:At,factory:At.\u0275fac,providedIn:"root"})}return At})();function st(At,Zt){let W=At.length;for(;W--;)Zt(At[W])}let vt=(()=>{class At{static \u0275fac=function(N){return new(N||At)};static \u0275mod=a.$C({type:At});static \u0275inj=a.G2t({providers:[at],imports:[n.z_,k.jc,l.Pd,k.jc]})}return At})();var Pt=o(3022),ae=o(7509),le=o(1483),ve=o(7610),se=o(8108),or=o(2902);function yr(At,Zt){}o(1204);class jr{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!0;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;componentFactoryResolver;enterAnimationDuration;exitAnimationDuration}const wr="mdc-dialog--open",Qt="mdc-dialog--opening",be="mdc-dialog--closing";let Fe=(()=>{class At extends ct{_animationMode=(0,a.WQX)(a.bc$,{optional:!0});_animationStateChanged=new a.bkB;_animationsEnabled="NoopAnimations"!==this._animationMode;_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?Yt(this._config.enterAnimationDuration)??150:0;_exitAnimationDuration=this._animationsEnabled?Yt(this._config.exitAnimationDuration)??75:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(zt,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Qt,wr)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(wr),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(wr),this._animationsEnabled?(this._hostElement.style.setProperty(zt,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(be)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(W){this._actionSectionCount+=W,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(Qt,be)}_waitForAnimationToComplete(W,N){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(N,W)}_requestAnimationFrame(W){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(W):W()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(W){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:W})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(W){const N=super.attachComponentPortal(W);return N.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),N}static \u0275fac=(()=>{let W;return function(z){return(W||(W=a.xGo(At)))(z||At)}})();static \u0275cmp=a.VBU({type:At,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(N,z){2&N&&(a.Mr5("id",z._config.id),a.BMQ("aria-modal",z._config.ariaModal)("role",z._config.role)("aria-labelledby",z._config.ariaLabel?null:z._ariaLabelledByQueue[0])("aria-label",z._config.ariaLabel)("aria-describedby",z._config.ariaDescribedBy||null),a.AVh("_mat-animation-noopable",!z._animationsEnabled)("mat-mdc-dialog-container-with-actions",z._actionSectionCount>0))},features:[a.Vt3],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(N,z){1&N&&(a.j41(0,"div",0)(1,"div",1),a.DNE(2,yr,0,0,"ng-template",2),a.k0s()())},dependencies:[k.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, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.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, none);border-radius:var(--mdc-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-sys-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, 6px 24px 13px)}.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-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-sys-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-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-sys-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 0)}.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, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: 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 At})();const zt="--mat-dialog-transition-duration";function Yt(At){return null==At?null:"number"==typeof At?At:At.endsWith("ms")?(0,Pt.OE)(At.substring(0,At.length-2)):At.endsWith("s")?1e3*(0,Pt.OE)(At.substring(0,At.length-1)):"0"===At?0:null}var oe=function(At){return At[At.OPEN=0]="OPEN",At[At.CLOSING=1]="CLOSING",At[At.CLOSED=2]="CLOSED",At}(oe||{});class Oe{_ref;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new S.B;_beforeClosed=new S.B;_result;_closeFallbackTimeout;_state=oe.OPEN;_closeInteractionType;constructor(Zt,W,N){this._ref=Zt,this._containerInstance=N,this.disableClose=W.disableClose,this.id=Zt.id,Zt.addPanelClass("mat-mdc-dialog-panel"),N._animationStateChanged.pipe((0,le.p)(z=>"opened"===z.state),(0,ve.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),N._animationStateChanged.pipe((0,le.p)(z=>"closed"===z.state),(0,ve.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Zt.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,ae.h)(this.backdropClick(),this.keydownEvents().pipe((0,le.p)(z=>z.keyCode===A._f&&!this.disableClose&&!(0,A.rp)(z)))).subscribe(z=>{this.disableClose||(z.preventDefault(),$e(this,"keydown"===z.type?"keyboard":"mouse"))})}close(Zt){this._result=Zt,this._containerInstance._animationStateChanged.pipe((0,le.p)(W=>"closing"===W.state),(0,ve.s)(1)).subscribe(W=>{this._beforeClosed.next(Zt),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),W.totalTime+100)}),this._state=oe.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(Zt){let W=this._ref.config.positionStrategy;return Zt&&(Zt.left||Zt.right)?Zt.left?W.left(Zt.left):W.right(Zt.right):W.centerHorizontally(),Zt&&(Zt.top||Zt.bottom)?Zt.top?W.top(Zt.top):W.bottom(Zt.bottom):W.centerVertically(),this._ref.updatePosition(),this}updateSize(Zt="",W=""){return this._ref.updateSize(Zt,W),this}addPanelClass(Zt){return this._ref.addPanelClass(Zt),this}removePanelClass(Zt){return this._ref.removePanelClass(Zt),this}getState(){return this._state}_finishDialogClose(){this._state=oe.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function $e(At,Zt,W){return At._closeInteractionType=Zt,At.close(W)}const Dt=new a.nKC("MatMdcDialogData"),wt=new a.nKC("mat-mdc-dialog-default-options"),ie=new a.nKC("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const At=(0,a.WQX)(n.hJ);return()=>At.scrollStrategies.block()}});let Ke=(()=>{class At{_overlay=(0,a.WQX)(n.hJ);_defaultOptions=(0,a.WQX)(wt,{optional:!0});_scrollStrategy=(0,a.WQX)(ie);_parentDialog=(0,a.WQX)(At,{optional:!0,skipSelf:!0});_idGenerator=(0,a.WQX)(l.g7);_dialog=(0,a.WQX)(at);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new S.B;_afterOpenedAtThisLevel=new S.B;dialogConfigClass=jr;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const W=this._parentDialog;return W?W._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=(0,T.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,q.Z)(void 0)));constructor(){this._dialogRefConstructor=Oe,this._dialogContainerType=Fe,this._dialogDataToken=Dt}open(W,N){let z;(N={...this._defaultOptions||new jr,...N}).id=N.id||this._idGenerator.getId("mat-mdc-dialog-"),N.scrollStrategy=N.scrollStrategy||this._scrollStrategy();const Rt=this._dialog.open(W,{...N,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:N},{provide:J,useValue:N}]},templateContext:()=>({dialogRef:z}),providers:(ue,he,Se)=>(z=new this._dialogRefConstructor(ue,N,Se),z.updatePosition(N?.position),[{provide:this._dialogContainerType,useValue:Se},{provide:this._dialogDataToken,useValue:he.data},{provide:this._dialogRefConstructor,useValue:z}])});return z.componentRef=Rt.componentRef,z.componentInstance=Rt.componentInstance,this.openDialogs.push(z),this.afterOpened.next(z),z.afterClosed().subscribe(()=>{const ue=this.openDialogs.indexOf(z);ue>-1&&(this.openDialogs.splice(ue,1),this.openDialogs.length||this._getAfterAllClosed().next())}),z}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(W){return this.openDialogs.find(N=>N.id===W)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(W){let N=W.length;for(;N--;)W[N].close()}static \u0275fac=function(N){return new(N||At)};static \u0275prov=a.jDH({token:At,factory:At.\u0275fac,providedIn:"root"})}return At})(),re=(()=>{class At{dialogRef=(0,a.WQX)(Oe,{optional:!0});_elementRef=(0,a.WQX)(a.aKT);_dialog=(0,a.WQX)(Ke);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=Lo(this._elementRef,this._dialog.openDialogs))}ngOnChanges(W){const N=W._matDialogClose||W._matDialogCloseResult;N&&(this.dialogResult=N.currentValue)}_onButtonClick(W){$e(this.dialogRef,0===W.screenX&&0===W.screenY?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(N){return new(N||At)};static \u0275dir=a.FsC({type:At,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(N,z){1&N&&a.bIt("click",function(ue){return z._onButtonClick(ue)}),2&N&&a.BMQ("aria-label",z.ariaLabel||null)("type",z.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[a.OA$]})}return At})(),Ve=(()=>{class At{_dialogRef=(0,a.WQX)(Oe,{optional:!0});_elementRef=(0,a.WQX)(a.aKT);_dialog=(0,a.WQX)(Ke);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=Lo(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(N){return new(N||At)};static \u0275dir=a.FsC({type:At})}return At})(),Tr=(()=>{class At{static \u0275fac=function(N){return new(N||At)};static \u0275dir=a.FsC({type:At,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[a.nM4([se.uv])]})}return At})(),Wr=(()=>{class At extends Ve{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let W;return function(z){return(W||(W=a.xGo(At)))(z||At)}})();static \u0275dir=a.FsC({type:At,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(N,z){2&N&&a.AVh("mat-mdc-dialog-actions-align-start","start"===z.align)("mat-mdc-dialog-actions-align-center","center"===z.align)("mat-mdc-dialog-actions-align-end","end"===z.align)},inputs:{align:"align"},features:[a.Vt3]})}return At})();function Lo(At,Zt){let W=At.nativeElement.parentElement;for(;W&&!W.classList.contains("mat-mdc-dialog-container");)W=W.parentElement;return W?Zt.find(N=>N.id===W.id):null}let fo=(()=>{class At{static \u0275fac=function(N){return new(N||At)};static \u0275mod=a.$C({type:At});static \u0275inj=a.G2t({providers:[Ke],imports:[vt,n.z_,k.jc,or.yE,or.yE]})}return At})()},7702:(i,s,o)=>{"use strict";o.d(s,{q:()=>y,w:()=>k});var n=o(3107),a=o(3022),l=o(2902);let y=(()=>{class C{get vertical(){return this._vertical}set vertical(S){this._vertical=(0,a.he)(S)}_vertical=!1;get inset(){return this._inset}set inset(S){this._inset=(0,a.he)(S)}_inset=!1;static \u0275fac=function(T){return new(T||C)};static \u0275cmp=n.VBU({type:C,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(T,O){2&T&&(n.BMQ("aria-orientation",O.vertical?"vertical":"horizontal"),n.AVh("mat-divider-vertical",O.vertical)("mat-divider-horizontal",!O.vertical)("mat-divider-inset",O.inset))},inputs:{vertical:"vertical",inset:"inset"},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-sys-outline));border-top-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-sys-outline));border-right-width:var(--mat-divider-width, 1px)}.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 C})(),k=(()=>{class C{static \u0275fac=function(T){return new(T||C)};static \u0275mod=n.$C({type:C});static \u0275inj=n.G2t({imports:[l.yE,l.yE]})}return C})()},6071:(i,s,o)=>{"use strict";o.d(s,{xb:()=>ar,U$:()=>dr,TL:()=>tr,rl:()=>To,qT:()=>ue,RG:()=>Ho,MV:()=>Tr,nJ:()=>re,JW:()=>Lo,yw:()=>fo});var n=o(3107),a=o(8559),l=o(2944),y=o(3022),k=o(2147),C=o(4460),A=o(5710),S=o(8447),T=o(7509),O=o(593),P=o(7947),q=o(5351),Y=o(2483),ht=o(1483),ct=o(5424),pt=o(1698),kt=o(8249);class It{_box;_destroyed=new S.B;_resizeSubject=new S.B;_resizeObserver;_elementObservables=new Map;constructor(ze){this._box=ze,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(Mt=>this._resizeSubject.next(Mt)))}observe(ze){return this._elementObservables.has(ze)||this._elementObservables.set(ze,new pt.c(Mt=>{const Wt=this._resizeSubject.subscribe(Mt);return this._resizeObserver?.observe(ze,{box:this._box}),()=>{this._resizeObserver?.unobserve(ze),Wt.unsubscribe(),this._elementObservables.delete(ze)}}).pipe((0,ht.p)(Mt=>Mt.some(Wt=>Wt.target===ze)),(0,kt.t)({bufferSize:1,refCount:!0}),(0,ct.Q)(this._destroyed))),this._elementObservables.get(ze)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let yt=(()=>{class we{_observers=new Map;_ngZone=(0,n.WQX)(n.SKi);constructor(){}ngOnDestroy(){for(const[,Mt]of this._observers)Mt.destroy();this._observers.clear()}observe(Mt,Wt){const $t=Wt?.box||"content-box";return this._observers.has($t)||this._observers.set($t,new It($t)),this._observers.get($t).observe(Mt)}static \u0275fac=function(Wt){return new(Wt||we)};static \u0275prov=n.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})();var _t=o(1204),at=o(7747),st=o(2902);const vt=["notch"],Pt=["matFormFieldNotchedOutline",""],ae=["*"],le=["textField"],ve=["iconPrefixContainer"],se=["textPrefixContainer"],or=["iconSuffixContainer"],fr=["textSuffixContainer"],yr=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],jr=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function wr(we,ze){1&we&&n.nrm(0,"span",21)}function Qt(we,ze){if(1&we&&(n.j41(0,"label",20),n.SdG(1,1),n.DNE(2,wr,1,0,"span",21),n.k0s()),2&we){const Mt=n.XpG(2);n.Y8G("floating",Mt._shouldLabelFloat())("monitorResize",Mt._hasOutline())("id",Mt._labelId),n.BMQ("for",Mt._control.disableAutomaticLabeling?null:Mt._control.id),n.R7$(2),n.vxM(!Mt.hideRequiredMarker&&Mt._control.required?2:-1)}}function be(we,ze){if(1&we&&n.DNE(0,Qt,3,5,"label",20),2&we){const Mt=n.XpG();n.vxM(Mt._hasFloatingLabel()?0:-1)}}function Ht(we,ze){1&we&&n.nrm(0,"div",7)}function Bt(we,ze){}function Fe(we,ze){if(1&we&&n.DNE(0,Bt,0,0,"ng-template",13),2&we){n.XpG(2);const Mt=n.sdS(1);n.Y8G("ngTemplateOutlet",Mt)}}function zt(we,ze){if(1&we&&(n.j41(0,"div",9),n.DNE(1,Fe,1,1,null,13),n.k0s()),2&we){const Mt=n.XpG();n.Y8G("matFormFieldNotchedOutlineOpen",Mt._shouldLabelFloat()),n.R7$(),n.vxM(Mt._forceDisplayInfixLabel()?-1:1)}}function Yt(we,ze){1&we&&(n.j41(0,"div",10,2),n.SdG(2,2),n.k0s())}function oe(we,ze){1&we&&(n.j41(0,"div",11,3),n.SdG(2,3),n.k0s())}function Oe(we,ze){}function $e(we,ze){if(1&we&&n.DNE(0,Oe,0,0,"ng-template",13),2&we){n.XpG();const Mt=n.sdS(1);n.Y8G("ngTemplateOutlet",Mt)}}function Dt(we,ze){1&we&&(n.j41(0,"div",14,4),n.SdG(2,4),n.k0s())}function wt(we,ze){1&we&&(n.j41(0,"div",15,5),n.SdG(2,5),n.k0s())}function ie(we,ze){1&we&&n.nrm(0,"div",16)}function Xe(we,ze){if(1&we&&(n.j41(0,"div",18),n.SdG(1,6),n.k0s()),2&we){const Mt=n.XpG();n.Y8G("@transitionMessages",Mt._subscriptAnimationState)}}function Te(we,ze){if(1&we&&(n.j41(0,"mat-hint",22),n.EFF(1),n.k0s()),2&we){const Mt=n.XpG(2);n.Y8G("id",Mt._hintLabelId),n.R7$(),n.JRh(Mt.hintLabel)}}function Ke(we,ze){if(1&we&&(n.j41(0,"div",19),n.DNE(1,Te,2,2,"mat-hint",22),n.SdG(2,7),n.nrm(3,"div",23),n.SdG(4,8),n.k0s()),2&we){const Mt=n.XpG();n.Y8G("@transitionMessages",Mt._subscriptAnimationState),n.R7$(),n.vxM(Mt.hintLabel?1:-1)}}let re=(()=>{class we{static \u0275fac=function(Wt){return new(Wt||we)};static \u0275dir=n.FsC({type:we,selectors:[["mat-label"]]})}return we})();const Ve=new n.nKC("MatError");let tr=(()=>{class we{id=(0,n.WQX)(a.g7).getId("mat-mdc-error-");constructor(){(0,n.WQX)(new n.ES_("aria-live"),{optional:!0})||(0,n.WQX)(n.aKT).nativeElement.setAttribute("aria-live","polite")}static \u0275fac=function(Wt){return new(Wt||we)};static \u0275dir=n.FsC({type:we,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(Wt,$t){2&Wt&&n.Mr5("id",$t.id)},inputs:{id:"id"},features:[n.Jv_([{provide:Ve,useExisting:we}])]})}return we})(),Tr=(()=>{class we{align="start";id=(0,n.WQX)(a.g7).getId("mat-mdc-hint-");static \u0275fac=function(Wt){return new(Wt||we)};static \u0275dir=n.FsC({type:we,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(Wt,$t){2&Wt&&(n.Mr5("id",$t.id),n.BMQ("align",null),n.AVh("mat-mdc-form-field-hint-end","end"===$t.align))},inputs:{align:"align",id:"id"}})}return we})();const Wr=new n.nKC("MatPrefix");let Lo=(()=>{class we{set _isTextSelector(Mt){this._isText=!0}_isText=!1;static \u0275fac=function(Wt){return new(Wt||we)};static \u0275dir=n.FsC({type:we,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},features:[n.Jv_([{provide:Wr,useExisting:we}])]})}return we})();const Or=new n.nKC("MatSuffix");let fo=(()=>{class we{set _isTextSelector(Mt){this._isText=!0}_isText=!1;static \u0275fac=function(Wt){return new(Wt||we)};static \u0275dir=n.FsC({type:we,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[n.Jv_([{provide:Or,useExisting:we}])]})}return we})();const cr=new n.nKC("FloatingLabelParent");let Lt=(()=>{class we{_elementRef=(0,n.WQX)(n.aKT);get floating(){return this._floating}set floating(Mt){this._floating=Mt,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(Mt){this._monitorResize=Mt,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=(0,n.WQX)(yt);_ngZone=(0,n.WQX)(n.SKi);_parent=(0,n.WQX)(cr);_resizeSubscription=new A.yU;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function At(we){if(null!==we.offsetParent)return we.scrollWidth;const Mt=we.cloneNode(!0);Mt.style.setProperty("position","absolute"),Mt.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Mt);const Wt=Mt.scrollWidth;return Mt.remove(),Wt}(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 \u0275fac=function(Wt){return new(Wt||we)};static \u0275dir=n.FsC({type:we,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(Wt,$t){2&Wt&&n.AVh("mdc-floating-label--float-above",$t.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return we})();const Zt="mdc-line-ripple--active",W="mdc-line-ripple--deactivating";let N=(()=>{class we{_elementRef=(0,n.WQX)(n.aKT);constructor(){(0,n.WQX)(n.SKi).runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const Mt=this._elementRef.nativeElement.classList;Mt.remove(W),Mt.add(Zt)}deactivate(){this._elementRef.nativeElement.classList.add(W)}_handleTransitionEnd=Mt=>{const Wt=this._elementRef.nativeElement.classList,$t=Wt.contains(W);"opacity"===Mt.propertyName&&$t&&Wt.remove(Zt,W)};ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static \u0275fac=function(Wt){return new(Wt||we)};static \u0275dir=n.FsC({type:we,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return we})(),z=(()=>{class we{_elementRef=(0,n.WQX)(n.aKT);_ngZone=(0,n.WQX)(n.SKi);open=!1;_notch;constructor(){}ngAfterViewInit(){const Mt=this._elementRef.nativeElement.querySelector(".mdc-floating-label");Mt?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(Mt.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>Mt.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(Mt){this._notch.nativeElement.style.width=this.open&&Mt?`calc(${Mt}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static \u0275fac=function(Wt){return new(Wt||we)};static \u0275cmp=n.VBU({type:we,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(Wt,$t){if(1&Wt&&n.GBs(vt,5),2&Wt){let Ce;n.mGM(Ce=n.lsd())&&($t._notch=Ce.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(Wt,$t){2&Wt&&n.AVh("mdc-notched-outline--notched",$t.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:Pt,ngContentSelectors:ae,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(Wt,$t){1&Wt&&(n.NAR(),n.nrm(0,"div",1),n.j41(1,"div",2,0),n.SdG(3),n.k0s(),n.nrm(4,"div",3))},encapsulation:2,changeDetection:0})}return we})();const Rt={transitionMessages:(0,_t.hZ)("transitionMessages",[(0,_t.wk)("enter",(0,_t.iF)({opacity:1,transform:"translateY(0%)"})),(0,_t.kY)("void => enter",[(0,_t.iF)({opacity:0,transform:"translateY(-5px)"}),(0,_t.i0)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let ue=(()=>{class we{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;static \u0275fac=function(Wt){return new(Wt||we)};static \u0275dir=n.FsC({type:we})}return we})();const ar=new n.nKC("MatFormField"),dr=new n.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let To=(()=>{class we{_elementRef=(0,n.WQX)(n.aKT);_changeDetectorRef=(0,n.WQX)(n.gRc);_dir=(0,n.WQX)(l.dS);_platform=(0,n.WQX)(k.OD);_idGenerator=(0,n.WQX)(a.g7);_defaults=(0,n.WQX)(dr,{optional:!0});_animationMode=(0,n.WQX)(n.bc$,{optional:!0});_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=(0,n.sbv)(re);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Mt){this._hideRequiredMarker=(0,y.he)(Mt)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(Mt){Mt!==this._floatLabel&&(this._floatLabel=Mt,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearance}set appearance(Mt){const Wt=this._appearance;this._appearance=Mt||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==Wt&&(this._needsOutlineLabelOffsetUpdate=!0)}_appearance="fill";get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(Mt){this._subscriptSizing=Mt||this._defaults?.subscriptSizing||"fixed"}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(Mt){this._hintLabel=Mt,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_subscriptAnimationState="";get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(Mt){this._explicitFormFieldControl=Mt}_destroyed=new S.B;_isFocused=null;_explicitFormFieldControl;_needsOutlineLabelOffsetUpdate=!1;_previousControl=null;_stateChanges;_valueChanges;_describedByChanges;_injector=(0,n.WQX)(n.zZn);constructor(){const Mt=this._defaults;Mt&&(Mt.appearance&&(this.appearance=Mt.appearance),this._hideRequiredMarker=!!Mt?.hideRequiredMarker,Mt.color&&(this.color=Mt.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._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=(0,n.EWP)(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(Mt){const Wt=this._control,$t="mat-mdc-form-field-type-";Mt&&this._elementRef.nativeElement.classList.remove($t+Mt.controlType),Wt.controlType&&this._elementRef.nativeElement.classList.add($t+Wt.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=Wt.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=Wt.stateChanges.pipe((0,O.Z)([void 0,void 0]),(0,P.T)(()=>[Wt.errorState,Wt.userAriaDescribedBy]),function J(){return(0,q.N)((we,ze)=>{let Mt,Wt=!1;we.subscribe((0,Y._)(ze,$t=>{const Ce=Mt;Mt=$t,Wt&&ze.next([Ce,$t]),Wt=!0}))})}(),(0,ht.p)(([[Ce,ce],[Be,vr]])=>Ce!==Be||ce!==vr)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),Wt.ngControl&&Wt.ngControl.valueChanges&&(this._valueChanges=Wt.ngControl.valueChanges.pipe((0,ct.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(Mt=>!Mt._isText),this._hasTextPrefix=!!this._prefixChildren.find(Mt=>Mt._isText),this._hasIconSuffix=!!this._suffixChildren.find(Mt=>!Mt._isText),this._hasTextSuffix=!!this._suffixChildren.find(Mt=>Mt._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,T.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,n.Tzd)(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe((0,ct.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()}_hasFloatingLabel=(0,n.EWP)(()=>!!this._labelChild());_shouldLabelFloat(){return!!this._hasFloatingLabel()&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_shouldForward(Mt){const Wt=this._control?this._control.ngControl:null;return Wt&&Wt[Mt]}_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 Mt=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Mt.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const Wt=this._hintChildren?this._hintChildren.find(Ce=>"start"===Ce.align):null,$t=this._hintChildren?this._hintChildren.find(Ce=>"end"===Ce.align):null;Wt?Mt.push(Wt.id):this._hintLabel&&Mt.push(this._hintLabelId),$t&&Mt.push($t.id)}else this._errorChildren&&Mt.push(...this._errorChildren.map(Wt=>Wt.id));this._control.setDescribedByIds(Mt)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;const Mt=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(Mt.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdate=!0);const Wt=this._iconPrefixContainer?.nativeElement,$t=this._textPrefixContainer?.nativeElement,Ce=this._iconSuffixContainer?.nativeElement,ce=this._textSuffixContainer?.nativeElement,Be=Wt?.getBoundingClientRect().width??0,vr=$t?.getBoundingClientRect().width??0,qr=Ce?.getBoundingClientRect().width??0,ko=ce?.getBoundingClientRect().width??0;Mt.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Be+vr}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`,this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${Be+vr+qr+ko}px)`)}_isAttachedToDom(){const Mt=this._elementRef.nativeElement;if(Mt.getRootNode){const Wt=Mt.getRootNode();return Wt&&Wt!==Mt}return document.documentElement.contains(Mt)}static \u0275fac=function(Wt){return new(Wt||we)};static \u0275cmp=n.VBU({type:we,selectors:[["mat-form-field"]],contentQueries:function(Wt,$t,Ce){if(1&Wt&&(n.C6U(Ce,$t._labelChild,re,5),n.wni(Ce,ue,5),n.wni(Ce,Wr,5),n.wni(Ce,Or,5),n.wni(Ce,Ve,5),n.wni(Ce,Tr,5)),2&Wt){let ce;n.NyB(),n.mGM(ce=n.lsd())&&($t._formFieldControl=ce.first),n.mGM(ce=n.lsd())&&($t._prefixChildren=ce),n.mGM(ce=n.lsd())&&($t._suffixChildren=ce),n.mGM(ce=n.lsd())&&($t._errorChildren=ce),n.mGM(ce=n.lsd())&&($t._hintChildren=ce)}},viewQuery:function(Wt,$t){if(1&Wt&&(n.GBs(le,5),n.GBs(ve,5),n.GBs(se,5),n.GBs(or,5),n.GBs(fr,5),n.GBs(Lt,5),n.GBs(z,5),n.GBs(N,5)),2&Wt){let Ce;n.mGM(Ce=n.lsd())&&($t._textField=Ce.first),n.mGM(Ce=n.lsd())&&($t._iconPrefixContainer=Ce.first),n.mGM(Ce=n.lsd())&&($t._textPrefixContainer=Ce.first),n.mGM(Ce=n.lsd())&&($t._iconSuffixContainer=Ce.first),n.mGM(Ce=n.lsd())&&($t._textSuffixContainer=Ce.first),n.mGM(Ce=n.lsd())&&($t._floatingLabel=Ce.first),n.mGM(Ce=n.lsd())&&($t._notchedOutline=Ce.first),n.mGM(Ce=n.lsd())&&($t._lineRipple=Ce.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(Wt,$t){2&Wt&&n.AVh("mat-mdc-form-field-label-always-float",$t._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",$t._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",$t._hasIconSuffix)("mat-form-field-invalid",$t._control.errorState)("mat-form-field-disabled",$t._control.disabled)("mat-form-field-autofilled",$t._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===$t._animationMode)("mat-form-field-appearance-fill","fill"==$t.appearance)("mat-form-field-appearance-outline","outline"==$t.appearance)("mat-form-field-hide-placeholder",$t._hasFloatingLabel()&&!$t._shouldLabelFloat())("mat-focused",$t._control.focused)("mat-primary","accent"!==$t.color&&"warn"!==$t.color)("mat-accent","accent"===$t.color)("mat-warn","warn"===$t.color)("ng-untouched",$t._shouldForward("untouched"))("ng-touched",$t._shouldForward("touched"))("ng-pristine",$t._shouldForward("pristine"))("ng-dirty",$t._shouldForward("dirty"))("ng-valid",$t._shouldForward("valid"))("ng-invalid",$t._shouldForward("invalid"))("ng-pending",$t._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[n.Jv_([{provide:ar,useExisting:we},{provide:cr,useExisting:we}])],ngContentSelectors:jr,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(Wt,$t){if(1&Wt){const Ce=n.RV6();n.NAR(yr),n.DNE(0,be,1,1,"ng-template",null,0,n.C5r),n.j41(2,"div",6,1),n.bIt("click",function(Be){return n.eBV(Ce),n.Njj($t._control.onContainerClick(Be))}),n.DNE(4,Ht,1,0,"div",7),n.j41(5,"div",8),n.DNE(6,zt,2,2,"div",9)(7,Yt,3,0,"div",10)(8,oe,3,0,"div",11),n.j41(9,"div",12),n.DNE(10,$e,1,1,null,13),n.SdG(11),n.k0s(),n.DNE(12,Dt,3,0,"div",14)(13,wt,3,0,"div",15),n.k0s(),n.DNE(14,ie,1,0,"div",16),n.k0s(),n.j41(15,"div",17),n.DNE(16,Xe,2,1,"div",18)(17,Ke,5,2,"div",19),n.k0s()}if(2&Wt){let Ce;n.R7$(2),n.AVh("mdc-text-field--filled",!$t._hasOutline())("mdc-text-field--outlined",$t._hasOutline())("mdc-text-field--no-label",!$t._hasFloatingLabel())("mdc-text-field--disabled",$t._control.disabled)("mdc-text-field--invalid",$t._control.errorState),n.R7$(2),n.vxM($t._hasOutline()||$t._control.disabled?-1:4),n.R7$(2),n.vxM($t._hasOutline()?6:-1),n.R7$(),n.vxM($t._hasIconPrefix?7:-1),n.R7$(),n.vxM($t._hasTextPrefix?8:-1),n.R7$(2),n.vxM(!$t._hasOutline()||$t._forceDisplayInfixLabel()?10:-1),n.R7$(2),n.vxM($t._hasTextSuffix?12:-1),n.R7$(),n.vxM($t._hasIconSuffix?13:-1),n.R7$(),n.vxM($t._hasOutline()?-1:14),n.R7$(),n.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===$t.subscriptSizing),n.R7$(),n.vxM("error"===(Ce=$t._getDisplayedMessages())?16:"hint"===Ce?17:-1)}},dependencies:[Lt,z,C.T3,N,Tr],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--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.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-sys-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-sys-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-sys-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-sys-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-sys-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-sys-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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-sys-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-sys-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-sys-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-sys-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-sys-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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .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-sys-corner-extra-small));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-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}@media(forced-colors: 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-sys-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-sys-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-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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-sys-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-sys-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-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-sys-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-sys-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-sys-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-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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-sys-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-sys-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-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-sys-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-sys-outline));border-width:var(--mdc-outlined-text-field-outline-width, 1px)}.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-sys-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-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.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-sys-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-sys-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-sys-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, 2px)}.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-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-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-sys-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-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-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-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-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-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-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-sys-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, 1px)}.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-sys-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-sys-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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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-sys-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-sys-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, 2px)}.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-sys-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-sys-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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.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, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/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, 56px) / 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-sys-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-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-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-sys-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-sys-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, 0)}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, var(--mat-sys-neutral10))}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, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.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-sys-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-sys-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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: 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-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.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)}[dir=rtl] .mat-mdc-form-field{text-align:right}.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-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-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-sys-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-sys-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:[Rt.transitionMessages]},changeDetection:0})}return we})(),Ho=(()=>{class we{static \u0275fac=function(Wt){return new(Wt||we)};static \u0275mod=n.$C({type:we});static \u0275inj=n.G2t({imports:[st.yE,at.w5,st.yE]})}return we})()},3904:(i,s,o)=>{"use strict";o.d(s,{An:()=>be,m_:()=>Ht,tp:()=>vt});var n=o(3107),a=o(2902),l=o(4460),y=o(3016),k=o(8915),C=o(2653),A=o(5710),S=o(2040),T=o(7947),O=o(7178),P=o(4447),q=o(6218),Y=o(7610),J=o(7691),ht=o(6388);const ct=["*"];let pt;function Et(Bt){return function kt(){if(void 0===pt&&(pt=null,typeof window<"u")){const Bt=window;void 0!==Bt.trustedTypes&&(pt=Bt.trustedTypes.createPolicy("angular#components",{createHTML:Fe=>Fe}))}return pt}()?.createHTML(Bt)||Bt}function It(Bt){return Error(`Unable to find icon with the name "${Bt}"`)}function _t(Bt){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Bt}".`)}function at(Bt){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Bt}".`)}class st{url;svgText;options;svgElement;constructor(Fe,zt,Yt){this.url=Fe,this.svgText=zt,this.options=Yt}}let vt=(()=>{class Bt{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(zt,Yt,oe,Oe){this._httpClient=zt,this._sanitizer=Yt,this._errorHandler=Oe,this._document=oe}addSvgIcon(zt,Yt,oe){return this.addSvgIconInNamespace("",zt,Yt,oe)}addSvgIconLiteral(zt,Yt,oe){return this.addSvgIconLiteralInNamespace("",zt,Yt,oe)}addSvgIconInNamespace(zt,Yt,oe,Oe){return this._addSvgIconConfig(zt,Yt,new st(oe,null,Oe))}addSvgIconResolver(zt){return this._resolvers.push(zt),this}addSvgIconLiteralInNamespace(zt,Yt,oe,Oe){const $e=this._sanitizer.sanitize(n.WPN.HTML,oe);if(!$e)throw at(oe);const Dt=Et($e);return this._addSvgIconConfig(zt,Yt,new st("",Dt,Oe))}addSvgIconSet(zt,Yt){return this.addSvgIconSetInNamespace("",zt,Yt)}addSvgIconSetLiteral(zt,Yt){return this.addSvgIconSetLiteralInNamespace("",zt,Yt)}addSvgIconSetInNamespace(zt,Yt,oe){return this._addSvgIconSetConfig(zt,new st(Yt,null,oe))}addSvgIconSetLiteralInNamespace(zt,Yt,oe){const Oe=this._sanitizer.sanitize(n.WPN.HTML,Yt);if(!Oe)throw at(Yt);const $e=Et(Oe);return this._addSvgIconSetConfig(zt,new st("",$e,oe))}registerFontClassAlias(zt,Yt=zt){return this._fontCssClassesByAlias.set(zt,Yt),this}classNameForFontAlias(zt){return this._fontCssClassesByAlias.get(zt)||zt}setDefaultFontSetClass(...zt){return this._defaultFontSetClass=zt,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(zt){const Yt=this._sanitizer.sanitize(n.WPN.RESOURCE_URL,zt);if(!Yt)throw _t(zt);const oe=this._cachedIconsByUrl.get(Yt);return oe?(0,y.of)(le(oe)):this._loadSvgIconFromConfig(new st(zt,null)).pipe((0,S.M)(Oe=>this._cachedIconsByUrl.set(Yt,Oe)),(0,T.T)(Oe=>le(Oe)))}getNamedSvgIcon(zt,Yt=""){const oe=ve(Yt,zt);let Oe=this._svgIconConfigs.get(oe);if(Oe)return this._getSvgFromConfig(Oe);if(Oe=this._getIconConfigFromResolvers(Yt,zt),Oe)return this._svgIconConfigs.set(oe,Oe),this._getSvgFromConfig(Oe);const $e=this._iconSetConfigs.get(Yt);return $e?this._getSvgFromIconSetConfigs(zt,$e):(0,k.$)(It(oe))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(zt){return zt.svgText?(0,y.of)(le(this._svgElementFromConfig(zt))):this._loadSvgIconFromConfig(zt).pipe((0,T.T)(Yt=>le(Yt)))}_getSvgFromIconSetConfigs(zt,Yt){const oe=this._extractIconWithNameFromAnySet(zt,Yt);if(oe)return(0,y.of)(oe);const Oe=Yt.filter($e=>!$e.svgText).map($e=>this._loadSvgIconSetFromConfig($e).pipe((0,O.W)(Dt=>{const ie=`Loading icon set URL: ${this._sanitizer.sanitize(n.WPN.RESOURCE_URL,$e.url)} failed: ${Dt.message}`;return this._errorHandler.handleError(new Error(ie)),(0,y.of)(null)})));return(0,C.p)(Oe).pipe((0,T.T)(()=>{const $e=this._extractIconWithNameFromAnySet(zt,Yt);if(!$e)throw It(zt);return $e}))}_extractIconWithNameFromAnySet(zt,Yt){for(let oe=Yt.length-1;oe>=0;oe--){const Oe=Yt[oe];if(Oe.svgText&&Oe.svgText.toString().indexOf(zt)>-1){const $e=this._svgElementFromConfig(Oe),Dt=this._extractSvgIconFromSet($e,zt,Oe.options);if(Dt)return Dt}}return null}_loadSvgIconFromConfig(zt){return this._fetchIcon(zt).pipe((0,S.M)(Yt=>zt.svgText=Yt),(0,T.T)(()=>this._svgElementFromConfig(zt)))}_loadSvgIconSetFromConfig(zt){return zt.svgText?(0,y.of)(null):this._fetchIcon(zt).pipe((0,S.M)(Yt=>zt.svgText=Yt))}_extractSvgIconFromSet(zt,Yt,oe){const Oe=zt.querySelector(`[id="${Yt}"]`);if(!Oe)return null;const $e=Oe.cloneNode(!0);if($e.removeAttribute("id"),"svg"===$e.nodeName.toLowerCase())return this._setSvgAttributes($e,oe);if("symbol"===$e.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement($e),oe);const Dt=this._svgElementFromString(Et(""));return Dt.appendChild($e),this._setSvgAttributes(Dt,oe)}_svgElementFromString(zt){const Yt=this._document.createElement("DIV");Yt.innerHTML=zt;const oe=Yt.querySelector("svg");if(!oe)throw Error(" tag not found");return oe}_toSvgElement(zt){const Yt=this._svgElementFromString(Et("")),oe=zt.attributes;for(let Oe=0;OeEt(ie)),(0,P.j)(()=>this._inProgressUrlFetches.delete($e)),(0,q.u)());return this._inProgressUrlFetches.set($e,wt),wt}_addSvgIconConfig(zt,Yt,oe){return this._svgIconConfigs.set(ve(zt,Yt),oe),this}_addSvgIconSetConfig(zt,Yt){const oe=this._iconSetConfigs.get(zt);return oe?oe.push(Yt):this._iconSetConfigs.set(zt,[Yt]),this}_svgElementFromConfig(zt){if(!zt.svgElement){const Yt=this._svgElementFromString(zt.svgText);this._setSvgAttributes(Yt,zt.options),zt.svgElement=Yt}return zt.svgElement}_getIconConfigFromResolvers(zt,Yt){for(let oe=0;oeFe?Fe.pathname+Fe.search:""}}}),jr=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],wr=jr.map(Bt=>`[${Bt}]`).join(", "),Qt=/^url\(['"]?#(.*?)['"]?\)$/;let be=(()=>{class Bt{_elementRef=(0,n.WQX)(n.aKT);_iconRegistry=(0,n.WQX)(vt);_location=(0,n.WQX)(fr);_errorHandler=(0,n.WQX)(n.zcH);_defaultColor;get color(){return this._color||this._defaultColor}set color(zt){this._color=zt}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(zt){zt!==this._svgIcon&&(zt?this._updateSvgIcon(zt):this._svgIcon&&this._clearSvgElement(),this._svgIcon=zt)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(zt){const Yt=this._cleanupFontValue(zt);Yt!==this._fontSet&&(this._fontSet=Yt,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(zt){const Yt=this._cleanupFontValue(zt);Yt!==this._fontIcon&&(this._fontIcon=Yt,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=A.yU.EMPTY;constructor(){const zt=(0,n.WQX)(new n.ES_("aria-hidden"),{optional:!0}),Yt=(0,n.WQX)(or,{optional:!0});Yt&&(Yt.color&&(this.color=this._defaultColor=Yt.color),Yt.fontSet&&(this.fontSet=Yt.fontSet)),zt||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(zt){if(!zt)return["",""];const Yt=zt.split(":");switch(Yt.length){case 1:return["",Yt[0]];case 2:return Yt;default:throw Error(`Invalid icon name: "${zt}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const zt=this._elementsWithExternalReferences;if(zt&&zt.size){const Yt=this._location.getPathname();Yt!==this._previousPath&&(this._previousPath=Yt,this._prependPathToReferences(Yt))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(zt){this._clearSvgElement();const Yt=this._location.getPathname();this._previousPath=Yt,this._cacheChildrenWithExternalReferences(zt),this._prependPathToReferences(Yt),this._elementRef.nativeElement.appendChild(zt)}_clearSvgElement(){const zt=this._elementRef.nativeElement;let Yt=zt.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();Yt--;){const oe=zt.childNodes[Yt];(1!==oe.nodeType||"svg"===oe.nodeName.toLowerCase())&&oe.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const zt=this._elementRef.nativeElement,Yt=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(oe=>oe.length>0);this._previousFontSetClass.forEach(oe=>zt.classList.remove(oe)),Yt.forEach(oe=>zt.classList.add(oe)),this._previousFontSetClass=Yt,this.fontIcon!==this._previousFontIconClass&&!Yt.includes("mat-ligature-font")&&(this._previousFontIconClass&&zt.classList.remove(this._previousFontIconClass),this.fontIcon&&zt.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(zt){return"string"==typeof zt?zt.trim().split(" ")[0]:zt}_prependPathToReferences(zt){const Yt=this._elementsWithExternalReferences;Yt&&Yt.forEach((oe,Oe)=>{oe.forEach($e=>{Oe.setAttribute($e.name,`url('${zt}#${$e.value}')`)})})}_cacheChildrenWithExternalReferences(zt){const Yt=zt.querySelectorAll(wr),oe=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Oe=0;Oe{const Dt=Yt[Oe],wt=Dt.getAttribute($e),ie=wt?wt.match(Qt):null;if(ie){let Xe=oe.get(Dt);Xe||(Xe=[],oe.set(Dt,Xe)),Xe.push({name:$e,value:ie[1]})}})}_updateSvgIcon(zt){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),zt){const[Yt,oe]=this._splitIconName(zt);Yt&&(this._svgNamespace=Yt),oe&&(this._svgName=oe),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(oe,Yt).pipe((0,Y.s)(1)).subscribe(Oe=>this._setSvgElement(Oe),Oe=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Yt}:${oe}! ${Oe.message}`))})}}static \u0275fac=function(Yt){return new(Yt||Bt)};static \u0275cmp=n.VBU({type:Bt,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(Yt,oe){2&Yt&&(n.BMQ("data-mat-icon-type",oe._usingFontIcon()?"font":"svg")("data-mat-icon-name",oe._svgName||oe.fontIcon)("data-mat-icon-namespace",oe._svgNamespace||oe.fontSet)("fontIcon",oe._usingFontIcon()?oe.fontIcon:null),n.HbH(oe.color?"mat-"+oe.color:""),n.AVh("mat-icon-inline",oe.inline)("mat-icon-no-color","primary"!==oe.color&&"accent"!==oe.color&&"warn"!==oe.color))},inputs:{color:"color",inline:[2,"inline","inline",n.L39],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.GFd],ngContentSelectors:ct,decls:1,vars:0,template:function(Yt,oe){1&Yt&&(n.NAR(),n.SdG(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.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 Bt})(),Ht=(()=>{class Bt{static \u0275fac=function(Yt){return new(Yt||Bt)};static \u0275mod=n.$C({type:Bt});static \u0275inj=n.G2t({imports:[a.yE,a.yE]})}return Bt})()},6389:(i,s,o)=>{"use strict";o.d(s,{fS:()=>ht,fg:()=>J});var n=o(3022),a=o(2147),l=o(708),y=o(3107),k=o(8559),C=o(936),A=o(2902),S=o(6071),T=o(8447);const P=new y.nKC("MAT_INPUT_VALUE_ACCESSOR"),q=["button","checkbox","file","hidden","image","radio","range","reset","submit"],Y=new y.nKC("MAT_INPUT_CONFIG");let J=(()=>{class ct{_elementRef=(0,y.WQX)(y.aKT);_platform=(0,y.WQX)(a.OD);ngControl=(0,y.WQX)(C.vO,{optional:!0,self:!0});_autofillMonitor=(0,y.WQX)(l.P8);_ngZone=(0,y.WQX)(y.SKi);_formField=(0,y.WQX)(S.xb,{optional:!0});_uid=(0,y.WQX)(k.g7).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_webkitBlinkWheelListenerAttached=!1;_config=(0,y.WQX)(Y,{optional:!0});_formFieldDescribedBy;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new T.B;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(kt){this._disabled=(0,n.he)(kt),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(kt){this._id=kt||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(C.k0.required)??!1}set required(kt){this._required=(0,n.he)(kt)}_required;get type(){return this._type}set type(kt){this._type=kt||"text",this._validateType(),!this._isTextarea&&(0,a.MU)().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._ensureWheelDefaultBehavior()}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(kt){this._errorStateTracker.matcher=kt}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(kt){kt!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(kt):this._inputValueAccessor.value=kt,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(kt){this._readonly=(0,n.he)(kt)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(kt){this._errorStateTracker.errorState=kt}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(kt=>(0,a.MU)().has(kt));constructor(){const kt=(0,y.WQX)(C.cV,{optional:!0}),Et=(0,y.WQX)(C.j4,{optional:!0}),It=(0,y.WQX)(A.es),yt=(0,y.WQX)(P,{optional:!0,self:!0}),_t=this._elementRef.nativeElement,at=_t.nodeName.toLowerCase();yt?(0,y.Hps)(yt.value)?this._signalBasedValueAccessor=yt:this._inputValueAccessor=yt:this._inputValueAccessor=_t,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{_t.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new A.X0(It,this.ngControl,Et,kt,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===at,this._isTextarea="textarea"===at,this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=_t.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&(0,y.QZP)(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(kt=>{this.autofilled=kt.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(kt){this._elementRef.nativeElement.focus(kt)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(kt){if(kt!==this.focused){if(!this._isNativeSelect&&kt&&this.disabled&&this.disabledInteractive){const Et=this._elementRef.nativeElement;"number"===Et.type?(Et.type="text",Et.setSelectionRange(0,0),Et.type="number"):Et.setSelectionRange(0,0)}this.focused=kt,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){const kt=this._elementRef.nativeElement.value;this._previousNativeValue!==kt&&(this._previousNativeValue=kt,this.stateChanges.next())}_dirtyCheckPlaceholder(){const kt=this._getPlaceholder();if(kt!==this._previousPlaceholder){const Et=this._elementRef.nativeElement;this._previousPlaceholder=kt,kt?Et.setAttribute("placeholder",kt):Et.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){q.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let kt=this._elementRef.nativeElement.validity;return kt&&kt.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const kt=this._elementRef.nativeElement,Et=kt.options[0];return this.focused||kt.multiple||!this.empty||!!(kt.selectedIndex>-1&&Et&&Et.label)}return this.focused&&!this.disabled||!this.empty}setDescribedByIds(kt){const Et=this._elementRef.nativeElement,It=Et.getAttribute("aria-describedby");let yt;if(It){const _t=this._formFieldDescribedBy||kt;yt=kt.concat(It.split(" ").filter(at=>at&&!_t.includes(at)))}else yt=kt;this._formFieldDescribedBy=kt,yt.length?Et.setAttribute("aria-describedby",yt.join(" ")):Et.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const kt=this._elementRef.nativeElement;return this._isNativeSelect&&(kt.multiple||kt.size>1)}_iOSKeyupListener=kt=>{const Et=kt.target;!Et.value&&0===Et.selectionStart&&0===Et.selectionEnd&&(Et.setSelectionRange(1,1),Et.setSelectionRange(0,0))};_webkitBlinkWheelListener=()=>{};_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)}_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(Et){return new(Et||ct)};static \u0275dir=y.FsC({type:ct,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(Et,It){1&Et&&y.bIt("focus",function(){return It._focusChanged(!0)})("blur",function(){return It._focusChanged(!1)})("input",function(){return It._onInput()}),2&Et&&(y.Mr5("id",It.id)("disabled",It.disabled&&!It.disabledInteractive)("required",It.required),y.BMQ("name",It.name||null)("readonly",It._getReadonlyAttribute())("aria-disabled",It.disabled&&It.disabledInteractive?"true":null)("aria-invalid",It.empty&&It.required?null:It.errorState)("aria-required",It.required)("id",It.id),y.AVh("mat-input-server",It._isServer)("mat-mdc-form-field-textarea-control",It._isInFormField&&It._isTextarea)("mat-mdc-form-field-input-control",It._isInFormField)("mat-mdc-input-disabled-interactive",It.disabledInteractive)("mdc-text-field__input",It._isInFormField)("mat-mdc-native-select-inline",It._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",disabledInteractive:[2,"disabledInteractive","disabledInteractive",y.L39]},exportAs:["matInput"],features:[y.Jv_([{provide:S.qT,useExisting:ct}]),y.GFd,y.OA$]})}return ct})(),ht=(()=>{class ct{static \u0275fac=function(Et){return new(Et||ct)};static \u0275mod=y.$C({type:ct});static \u0275inj=y.G2t({imports:[A.yE,S.RG,S.RG,l.EE,A.yE]})}return ct})()},7818:(i,s,o)=>{"use strict";o.d(s,{Cn:()=>Xe,Cp:()=>ie,fb:()=>or,kk:()=>Yt});var n=o(3107),a=o(8559),l=o(5919),y=o(8447),k=o(7509),C=o(5710),A=o(3016),S=o(4984),T=o(593),O=o(2867),P=o(5424),q=o(1483),Y=o(7610),J=o(8136),ht=o(4460),ct=o(2902),pt=o(5467),kt=o(6192),Et=o(1204),It=o(2944),yt=o(9666),_t=o(2147),at=o(8108);const st=["mat-menu-item",""],vt=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Pt=["mat-icon, [matMenuItemIcon]","*"];function ae(Te,Ke){1&Te&&(n.qSk(),n.j41(0,"svg",2),n.nrm(1,"polygon",3),n.k0s())}const le=["*"];function ve(Te,Ke){if(1&Te){const re=n.RV6();n.j41(0,"div",0),n.bIt("click",function(){n.eBV(re);const tr=n.XpG();return n.Njj(tr.closed.emit("click"))})("@transformMenu.start",function(tr){n.eBV(re);const Tr=n.XpG();return n.Njj(Tr._onAnimationStart(tr))})("@transformMenu.done",function(tr){n.eBV(re);const Tr=n.XpG();return n.Njj(Tr._onAnimationDone(tr))}),n.j41(1,"div",1),n.SdG(2),n.k0s()()}if(2&Te){const re=n.XpG();n.HbH(re._classList),n.Y8G("id",re.panelId)("@transformMenu",re._panelAnimationState),n.BMQ("aria-label",re.ariaLabel||null)("aria-labelledby",re.ariaLabelledby||null)("aria-describedby",re.ariaDescribedby||null)}}const se=new n.nKC("MAT_MENU_PANEL");let or=(()=>{class Te{_elementRef=(0,n.WQX)(n.aKT);_document=(0,n.WQX)(ht.qQ);_focusMonitor=(0,n.WQX)(a.FN);_parentMenu=(0,n.WQX)(se,{optional:!0});_changeDetectorRef=(0,n.WQX)(n.gRc);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new y.B;_focused=new y.B;_highlighted=!1;_triggersSubmenu=!1;constructor(){(0,n.WQX)(pt.l).load(ct.Ah),this._parentMenu?.addItem?.(this)}focus(re,Ve){this._focusMonitor&&re?this._focusMonitor.focusVia(this._getHostElement(),re,Ve):this._getHostElement().focus(Ve),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(re){this.disabled&&(re.preventDefault(),re.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const re=this._elementRef.nativeElement.cloneNode(!0),Ve=re.querySelectorAll("mat-icon, .material-icons");for(let tr=0;tr enter",(0,Et.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Et.iF)({opacity:1,transform:"scale(1)"}))),(0,Et.kY)("* => void",(0,Et.i0)("100ms 25ms linear",(0,Et.iF)({opacity:0})))]),fadeInItems:(0,Et.hZ)("fadeInItems",[(0,Et.wk)("showing",(0,Et.iF)({opacity:1})),(0,Et.kY)("void => *",[(0,Et.iF)({opacity:0}),(0,Et.i0)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Fe=new n.nKC("mat-menu-default-options",{providedIn:"root",factory:function zt(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Yt=(()=>{class Te{_elementRef=(0,n.WQX)(n.aKT);_changeDetectorRef=(0,n.WQX)(n.gRc);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_allItems;_directDescendantItems=new n.rOR;_classList={};_panelAnimationState="void";_animationDone=new y.B;_isAnimating;parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(re){this._xPosition=re,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(re){this._yPosition=re,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger;hasBackdrop;set panelClass(re){const Ve=this._previousPanelClass,tr={...this._classList};Ve&&Ve.length&&Ve.split(" ").forEach(Tr=>{tr[Tr]=!1}),this._previousPanelClass=re,re&&re.length&&(re.split(" ").forEach(Tr=>{tr[Tr]=!0}),this._elementRef.nativeElement.className=""),this._classList=tr}_previousPanelClass;get classList(){return this.panelClass}set classList(re){this.panelClass=re}closed=new n.bkB;close=this.closed;panelId=(0,n.WQX)(a.g7).getId("mat-menu-panel-");_injector=(0,n.WQX)(n.zZn);constructor(){const re=(0,n.WQX)(Fe);this.overlayPanelClass=re.overlayPanelClass||"",this._xPosition=re.xPosition,this._yPosition=re.yPosition,this.backdropClass=re.backdropClass,this.overlapTrigger=re.overlapTrigger,this.hasBackdrop=re.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new a.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)(re=>(0,k.h)(...re.map(Ve=>Ve._focused)))).subscribe(re=>this._keyManager.updateActiveItem(re)),this._directDescendantItems.changes.subscribe(re=>{const Ve=this._keyManager;if("enter"===this._panelAnimationState&&Ve.activeItem?._hasFocus()){const tr=re.toArray(),Tr=Math.max(0,Math.min(tr.length-1,Ve.activeItemIndex||0));tr[Tr]&&!tr[Tr].disabled?Ve.setActiveItem(Tr):Ve.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)(Ve=>(0,k.h)(...Ve.map(tr=>tr._hovered))))}addItem(re){}removeItem(re){}_handleKeydown(re){const Ve=re.keyCode,tr=this._keyManager;switch(Ve){case l._f:(0,l.rp)(re)||(re.preventDefault(),this.closed.emit("keydown"));break;case l.UQ:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case l.LE:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(Ve===l.i7||Ve===l.n6)&&tr.setFocusOrigin("keyboard"),void tr.onKeydown(re)}}focusFirstItem(re="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=(0,n.mal)(()=>{let Ve=null;if(this._directDescendantItems.length&&(Ve=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!Ve||!Ve.contains(document.activeElement)){const tr=this._keyManager;tr.setFocusOrigin(re).setFirstItemActive(),!tr.activeItem&&Ve&&Ve.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(re){}setPositionClasses(re=this.xPosition,Ve=this.yPosition){this._classList={...this._classList,"mat-menu-before":"before"===re,"mat-menu-after":"after"===re,"mat-menu-above":"above"===Ve,"mat-menu-below":"below"===Ve},this._changeDetectorRef.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(re){this._animationDone.next(re),this._isAnimating=!1}_onAnimationStart(re){this._isAnimating=!0,"enter"===re.toState&&0===this._keyManager.activeItemIndex&&(re.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,T.Z)(this._allItems)).subscribe(re=>{this._directDescendantItems.reset(re.filter(Ve=>Ve._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static \u0275fac=function(Ve){return new(Ve||Te)};static \u0275cmp=n.VBU({type:Te,selectors:[["mat-menu"]],contentQueries:function(Ve,tr,Tr){if(1&Ve&&(n.wni(Tr,wr,5),n.wni(Tr,or,5),n.wni(Tr,or,4)),2&Ve){let Wr;n.mGM(Wr=n.lsd())&&(tr.lazyContent=Wr.first),n.mGM(Wr=n.lsd())&&(tr._allItems=Wr),n.mGM(Wr=n.lsd())&&(tr.items=Wr)}},viewQuery:function(Ve,tr){if(1&Ve&&n.GBs(n.C4Q,5),2&Ve){let Tr;n.mGM(Tr=n.lsd())&&(tr.templateRef=Tr.first)}},hostVars:3,hostBindings:function(Ve,tr){2&Ve&&n.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",n.L39],hasBackdrop:[2,"hasBackdrop","hasBackdrop",re=>null==re?null:(0,n.L39)(re)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[n.Jv_([{provide:se,useExisting:Te}]),n.GFd],ngContentSelectors:le,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","id"],[1,"mat-mdc-menu-content"]],template:function(Ve,tr){1&Ve&&(n.NAR(),n.DNE(0,ve,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-sys-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-sys-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-sys-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-sys-surface-container));box-shadow:var(--mat-menu-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));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}@media(forced-colors: active){.mat-mdc-menu-panel{outline:solid 1px}}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-sys-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing, 8px);margin-top:var(--mat-menu-divider-top-spacing, 8px)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding: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;padding-left:var(--mat-menu-item-leading-spacing, 12px);padding-right:var(--mat-menu-item-trailing-spacing, 12px);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-menu-item::-moz-focus-inner{border:0}[dir=rtl] .mat-mdc-menu-item{padding-left:var(--mat-menu-item-trailing-spacing, 12px);padding-right:var(--mat-menu-item-leading-spacing, 12px)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-trailing-spacing, 12px)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-trailing-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-leading-spacing, 12px)}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-sys-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-sys-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, 12px);height:var(--mat-menu-item-icon-size, 24px);width:var(--mat-menu-item-icon-size, 24px)}[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, 12px)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.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, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(forced-colors: active){.mat-mdc-menu-item{margin-top:1px}}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size, 24px);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing, 12px)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing, 12px);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}@media(forced-colors: 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:[be.transformMenu,be.fadeInItems]},changeDetection:0})}return Te})();const oe=new n.nKC("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const Te=(0,n.WQX)(yt.hJ);return()=>Te.scrollStrategies.reposition()}}),$e={provide:oe,deps:[yt.hJ],useFactory:function Oe(Te){return()=>Te.scrollStrategies.reposition()}},Dt=(0,_t.BQ)({passive:!0});let ie=(()=>{class Te{_overlay=(0,n.WQX)(yt.hJ);_element=(0,n.WQX)(n.aKT);_viewContainerRef=(0,n.WQX)(n.c1b);_menuItemInstance=(0,n.WQX)(or,{optional:!0,self:!0});_dir=(0,n.WQX)(It.dS,{optional:!0});_focusMonitor=(0,n.WQX)(a.FN);_ngZone=(0,n.WQX)(n.SKi);_scrollStrategy=(0,n.WQX)(oe);_changeDetectorRef=(0,n.WQX)(n.gRc);_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=C.yU.EMPTY;_hoverSubscription=C.yU.EMPTY;_menuCloseSubscription=C.yU.EMPTY;_parentMaterialMenu;_parentInnerPadding;_handleTouchStart=re=>{(0,a.w6)(re)||(this._openedBy="touch")};_openedBy=void 0;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(re){this.menu=re}get menu(){return this._menu}set menu(re){re!==this._menu&&(this._menu=re,this._menuCloseSubscription.unsubscribe(),re&&(this._menuCloseSubscription=re.close.subscribe(Ve=>{this._destroyMenu(Ve),("click"===Ve||"tab"===Ve)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(Ve)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}_menu;menuData;restoreFocus=!0;menuOpened=new n.bkB;onMenuOpen=this.menuOpened;menuClosed=new n.bkB;onMenuClose=this.menuClosed;constructor(){const re=(0,n.WQX)(se,{optional:!0});this._parentMaterialMenu=re instanceof Yt?re:void 0,this._element.nativeElement.addEventListener("touchstart",this._handleTouchStart,Dt)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Dt),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 re=this.menu;if(this._menuOpen||!re)return;const Ve=this._createOverlay(re),tr=Ve.getConfig(),Tr=tr.positionStrategy;this._setPosition(re,Tr),tr.hasBackdrop=null==re.hasBackdrop?!this.triggersSubmenu():re.hasBackdrop,Ve.attach(this._getPortal(re)),re.lazyContent&&re.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(re),re instanceof Yt&&(re._startAnimation(),re._directDescendantItems.changes.pipe((0,P.Q)(re.close)).subscribe(()=>{Tr.withLockedPosition(!1).reapplyLastPosition(),Tr.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(re,Ve){this._focusMonitor&&re?this._focusMonitor.focusVia(this._element,re,Ve):this._element.nativeElement.focus(Ve)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(re){if(!this._overlayRef||!this.menuOpen)return;const Ve=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===re||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,Ve instanceof Yt?(Ve._resetAnimation(),Ve.lazyContent?Ve._animationDone.pipe((0,q.p)(tr=>"void"===tr.toState),(0,Y.s)(1),(0,P.Q)(Ve.lazyContent._attached)).subscribe({next:()=>Ve.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),Ve?.lazyContent?.detach())}_initMenu(re){re.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,re.direction=this.dir,re.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setIsMenuOpen(re){re!==this._menuOpen&&(this._menuOpen=re,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(re),this._changeDetectorRef.markForCheck())}_createOverlay(re){if(!this._overlayRef){const Ve=this._getOverlayConfig(re);this._subscribeToPositions(re,Ve.positionStrategy),this._overlayRef=this._overlay.create(Ve),this._overlayRef.keydownEvents().subscribe(tr=>{this.menu instanceof Yt&&this.menu._handleKeydown(tr)})}return this._overlayRef}_getOverlayConfig(re){return new yt.rR({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:re.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:re.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr"})}_subscribeToPositions(re,Ve){re.setPositionClasses&&Ve.positionChanges.subscribe(tr=>{this._ngZone.run(()=>{re.setPositionClasses("start"===tr.connectionPair.overlayX?"after":"before","top"===tr.connectionPair.overlayY?"below":"above")})})}_setPosition(re,Ve){let[tr,Tr]="before"===re.xPosition?["end","start"]:["start","end"],[Wr,Lo]="above"===re.yPosition?["bottom","top"]:["top","bottom"],[Or,fo]=[Wr,Lo],[cr,Lt]=[tr,Tr],At=0;if(this.triggersSubmenu()){if(Lt=tr="before"===re.xPosition?"start":"end",Tr=cr="end"===tr?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Zt=this._parentMaterialMenu.items.first;this._parentInnerPadding=Zt?Zt._getHostElement().offsetTop:0}At="bottom"===Wr?this._parentInnerPadding:-this._parentInnerPadding}}else re.overlapTrigger||(Or="top"===Wr?"bottom":"top",fo="top"===Lo?"bottom":"top");Ve.withPositions([{originX:tr,originY:Or,overlayX:cr,overlayY:Wr,offsetY:At},{originX:Tr,originY:Or,overlayX:Lt,overlayY:Wr,offsetY:At},{originX:tr,originY:fo,overlayX:cr,overlayY:Lo,offsetY:-At},{originX:Tr,originY:fo,overlayX:Lt,overlayY:Lo,offsetY:-At}])}_menuClosingActions(){const re=this._overlayRef.backdropClick(),Ve=this._overlayRef.detachments(),tr=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,A.of)(),Tr=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,q.p)(Wr=>Wr!==this._menuItemInstance),(0,q.p)(()=>this._menuOpen)):(0,A.of)();return(0,k.h)(re,tr,Tr,Ve)}_handleMousedown(re){(0,a._G)(re)||(this._openedBy=0===re.button?"mouse":void 0,this.triggersSubmenu()&&re.preventDefault())}_handleKeydown(re){const Ve=re.keyCode;(Ve===l.Fm||Ve===l.t6)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(Ve===l.LE&&"ltr"===this.dir||Ve===l.UQ&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(re){this.triggersSubmenu()?(re.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,q.p)(re=>re===this._menuItemInstance&&!re.disabled),(0,J.c)(0,S.$)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Yt&&this.menu._isAnimating?this.menu._animationDone.pipe((0,Y.s)(1),(0,J.c)(0,S.$),(0,P.Q)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(re){return(!this._portal||this._portal.templateRef!==re.templateRef)&&(this._portal=new kt.VA(re.templateRef,this._viewContainerRef)),this._portal}static \u0275fac=function(Ve){return new(Ve||Te)};static \u0275dir=n.FsC({type:Te,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(Ve,tr){1&Ve&&n.bIt("click",function(Wr){return tr._handleClick(Wr)})("mousedown",function(Wr){return tr._handleMousedown(Wr)})("keydown",function(Wr){return tr._handleKeydown(Wr)}),2&Ve&&n.BMQ("aria-haspopup",tr.menu?"menu":null)("aria-expanded",tr.menuOpen)("aria-controls",tr.menuOpen?tr.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"]})}return Te})(),Xe=(()=>{class Te{static \u0275fac=function(Ve){return new(Ve||Te)};static \u0275mod=n.$C({type:Te});static \u0275inj=n.G2t({providers:[$e],imports:[ct.pZ,ct.yE,yt.z_,at.Gj,ct.yE]})}return Te})()},2322:(i,s,o)=>{"use strict";o.d(s,{HM:()=>S,PO:()=>O});var n=o(3107),l=(o(4460),o(2902));function y(P,q){1&P&&n.nrm(0,"div",2)}const k=new n.nKC("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let S=(()=>{class P{_elementRef=(0,n.WQX)(n.aKT);_ngZone=(0,n.WQX)(n.SKi);_changeDetectorRef=(0,n.WQX)(n.gRc);_animationMode=(0,n.WQX)(n.bc$,{optional:!0});constructor(){const Y=(0,n.WQX)(k,{optional:!0});this._isNoopAnimation="NoopAnimations"===this._animationMode,Y&&(Y.color&&(this.color=this._defaultColor=Y.color),this.mode=Y.mode||this.mode)}_isNoopAnimation=!1;get color(){return this._color||this._defaultColor}set color(Y){this._color=Y}_color;_defaultColor="primary";get value(){return this._value}set value(Y){this._value=T(Y||0),this._changeDetectorRef.markForCheck()}_value=0;get bufferValue(){return this._bufferValue||0}set bufferValue(Y){this._bufferValue=T(Y||0),this._changeDetectorRef.markForCheck()}_bufferValue=0;animationEnd=new n.bkB;get mode(){return this._mode}set mode(Y){this._mode=Y,this._changeDetectorRef.markForCheck()}_mode="determinate";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}_transitionendHandler=Y=>{0===this.animationEnd.observers.length||!Y.target||!Y.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))};static \u0275fac=function(J){return new(J||P)};static \u0275cmp=n.VBU({type:P,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(J,ht){2&J&&(n.BMQ("aria-valuenow",ht._isIndeterminate()?null:ht.value)("mode",ht.mode),n.HbH("mat-"+ht.color),n.AVh("_mat-animation-noopable",ht._isNoopAnimation)("mdc-linear-progress--animation-ready",!ht._isNoopAnimation)("mdc-linear-progress--indeterminate",ht._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",n.Udg],bufferValue:[2,"bufferValue","bufferValue",n.Udg],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[n.GFd],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(J,ht){1&J&&(n.j41(0,"div",0),n.nrm(1,"div",1),n.DNE(2,y,1,0,"div",2),n.k0s(),n.j41(3,"div",3),n.nrm(4,"span",4),n.k0s(),n.j41(5,"div",5),n.nrm(6,"span",4),n.k0s()),2&J&&(n.R7$(),n.xc7("flex-basis",ht._getBufferBarFlexBasis()),n.R7$(),n.vxM("buffer"===ht.mode?2:-1),n.R7$(),n.xc7("transform",ht._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, 4px),var(--mdc-linear-progress-active-indicator-height, 4px))}@media(forced-colors: 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, 4px)}.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-sys-primary));border-top-width:var(--mdc-linear-progress-active-indicator-height, 4px)}.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, 4px);border-radius:var(--mdc-linear-progress-track-shape, var(--mat-sys-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-sys-surface-variant))}@media(forced-colors: 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-sys-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, 4px) * -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 P})();function T(P,q=0,Y=100){return Math.max(q,Math.min(Y,P))}let O=(()=>{class P{static \u0275fac=function(J){return new(J||P)};static \u0275mod=n.$C({type:P});static \u0275inj=n.G2t({imports:[l.yE]})}return P})()},4375:(i,s,o)=>{"use strict";o.d(s,{$2:()=>oe,VO:()=>Yt,Ve:()=>Oe});var n=o(9666),a=o(3107),l=o(2902),y=o(6071),k=o(8108),C=o(8559),A=o(2944),S=o(1349),T=o(5919),O=o(936),P=o(8447),q=o(6381),Y=o(7509),J=o(593),ht=o(2867),ct=o(1483),pt=o(7947),kt=o(6645),Et=o(5424),It=o(7610),yt=o(1204),_t=o(4460);const at=["trigger"],st=["panel"],vt=[[["mat-select-trigger"]],"*"],Pt=["mat-select-trigger","*"];function ae($e,Dt){if(1&$e&&(a.j41(0,"span",4),a.EFF(1),a.k0s()),2&$e){const wt=a.XpG();a.R7$(),a.JRh(wt.placeholder)}}function le($e,Dt){1&$e&&a.SdG(0)}function ve($e,Dt){if(1&$e&&(a.j41(0,"span",11),a.EFF(1),a.k0s()),2&$e){const wt=a.XpG(2);a.R7$(),a.JRh(wt.triggerValue)}}function se($e,Dt){if(1&$e&&(a.j41(0,"span",5),a.DNE(1,le,1,0)(2,ve,2,1,"span",11),a.k0s()),2&$e){const wt=a.XpG();a.R7$(),a.vxM(wt.customTrigger?1:2)}}function or($e,Dt){if(1&$e){const wt=a.RV6();a.j41(0,"div",12,1),a.bIt("@transformPanel.done",function(Xe){a.eBV(wt);const Te=a.XpG();return a.Njj(Te._panelDoneAnimatingStream.next(Xe.toState))})("keydown",function(Xe){a.eBV(wt);const Te=a.XpG();return a.Njj(Te._handleKeydown(Xe))}),a.SdG(2,1),a.k0s()}if(2&$e){const wt=a.XpG();a.ZvI("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",wt._getPanelTheme(),""),a.Y8G("ngClass",wt.panelClass)("@transformPanel","showing"),a.BMQ("id",wt.id+"-panel")("aria-multiselectable",wt.multiple)("aria-label",wt.ariaLabel||null)("aria-labelledby",wt._getPanelAriaLabelledby())}}const fr={transformPanelWrap:(0,yt.hZ)("transformPanelWrap",[(0,yt.kY)("* => void",(0,yt.P)("@transformPanel",[(0,yt.MA)()],{optional:!0}))]),transformPanel:(0,yt.hZ)("transformPanel",[(0,yt.wk)("void",(0,yt.iF)({opacity:0,transform:"scale(1, 0.8)"})),(0,yt.kY)("void => showing",(0,yt.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,yt.iF)({opacity:1,transform:"scale(1, 1)"}))),(0,yt.kY)("* => void",(0,yt.i0)("100ms linear",(0,yt.iF)({opacity:0})))])},Qt=new a.nKC("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const $e=(0,a.WQX)(n.hJ);return()=>$e.scrollStrategies.reposition()}}),Ht=new a.nKC("MAT_SELECT_CONFIG"),Bt={provide:Qt,deps:[n.hJ],useFactory:function be($e){return()=>$e.scrollStrategies.reposition()}},Fe=new a.nKC("MatSelectTrigger");class zt{source;value;constructor(Dt,wt){this.source=Dt,this.value=wt}}let Yt=(()=>{class $e{_viewportRuler=(0,a.WQX)(k.Xj);_changeDetectorRef=(0,a.WQX)(a.gRc);_elementRef=(0,a.WQX)(a.aKT);_dir=(0,a.WQX)(A.dS,{optional:!0});_idGenerator=(0,a.WQX)(C.g7);_parentFormField=(0,a.WQX)(y.xb,{optional:!0});ngControl=(0,a.WQX)(O.vO,{self:!0,optional:!0});_liveAnnouncer=(0,a.WQX)(C.Ai);_defaultOptions=(0,a.WQX)(Ht,{optional:!0});options;optionGroups;customTrigger;_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"}];_scrollOptionIntoView(wt){const ie=this.options.toArray()[wt];if(ie){const Xe=this.panel.nativeElement,Te=(0,l.jb)(wt,this.options,this.optionGroups),Ke=ie._getHostElement();Xe.scrollTop=0===wt&&1===Te?0:(0,l.TL)(Ke.offsetTop,Ke.offsetHeight,Xe.scrollTop,Xe.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(wt){return new zt(this,wt)}_scrollStrategyFactory=(0,a.WQX)(Qt);_panelOpen=!1;_compareWith=(wt,ie)=>wt===ie;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new P.B;_errorStateTracker;stateChanges=new P.B;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_panelDoneAnimatingStream=new P.B;_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;disableRipple=!1;tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(wt){this._hideSingleSelectionIndicator=wt,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(wt){this._placeholder=wt,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(O.k0.required)??!1}set required(wt){this._required=wt,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(wt){this._multiple=wt}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(wt){this._compareWith=wt,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(wt){this._assignValue(wt)&&this._onChange(wt)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(wt){this._errorStateTracker.matcher=wt}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(wt){this._id=wt||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(wt){this._errorStateTracker.errorState=wt}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";_initialized=new P.B;optionSelectionChanges=(0,q.v)(()=>{const wt=this.options;return wt?wt.changes.pipe((0,J.Z)(wt),(0,ht.n)(()=>(0,Y.h)(...wt.map(ie=>ie.onSelectionChange)))):this._initialized.pipe((0,ht.n)(()=>this.optionSelectionChanges))});openedChange=new a.bkB;_openedStream=this.openedChange.pipe((0,ct.p)(wt=>wt),(0,pt.T)(()=>{}));_closedStream=this.openedChange.pipe((0,ct.p)(wt=>!wt),(0,pt.T)(()=>{}));selectionChange=new a.bkB;valueChange=new a.bkB;constructor(){const wt=(0,a.WQX)(l.es),ie=(0,a.WQX)(O.cV,{optional:!0}),Xe=(0,a.WQX)(O.j4,{optional:!0}),Te=(0,a.WQX)(new a.ES_("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),null!=this._defaultOptions?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new l.X0(wt,this.ngControl,Xe,ie,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=null==Te?0:parseInt(Te)||0,this.id=this.id}ngOnInit(){this._selectionModel=new S.CB(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,kt.F)(),(0,Et.Q)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe((0,Et.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,Et.Q)(this._destroy)).subscribe(wt=>{wt.added.forEach(ie=>ie.select()),wt.removed.forEach(ie=>ie.deselect())}),this.options.changes.pipe((0,J.Z)(null),(0,Et.Q)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const wt=this._getTriggerAriaLabelledby(),ie=this.ngControl;if(wt!==this._triggerAriaLabelledBy){const Xe=this._elementRef.nativeElement;this._triggerAriaLabelledBy=wt,wt?Xe.setAttribute("aria-labelledby",wt):Xe.removeAttribute("aria-labelledby")}ie&&(this._previousControl!==ie.control&&(void 0!==this._previousControl&&null!==ie.disabled&&ie.disabled!==this.disabled&&(this.disabled=ie.disabled),this._previousControl=ie.control),this.updateErrorState())}ngOnChanges(wt){(wt.disabled||wt.userAriaDescribedBy)&&this.stateChanges.next(),wt.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())}_trackedModal=null;_applyModalPanelOwnership(){const wt=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!wt)return;const ie=`${this.id}-panel`;this._trackedModal&&(0,C.Ae)(this._trackedModal,"aria-owns",ie),(0,C.px)(wt,"aria-owns",ie),this._trackedModal=wt}_clearFromModal(){this._trackedModal&&((0,C.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(wt){this._assignValue(wt)}registerOnChange(wt){this._onChange=wt}registerOnTouched(wt){this._onTouched=wt}setDisabledState(wt){this.disabled=wt,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 wt=this._selectionModel.selected.map(ie=>ie.viewValue);return this._isRtl()&&wt.reverse(),wt.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(wt){this.disabled||(this.panelOpen?this._handleOpenKeydown(wt):this._handleClosedKeydown(wt))}_handleClosedKeydown(wt){const ie=wt.keyCode,Xe=ie===T.n6||ie===T.i7||ie===T.UQ||ie===T.LE,Te=ie===T.Fm||ie===T.t6,Ke=this._keyManager;if(!Ke.isTyping()&&Te&&!(0,T.rp)(wt)||(this.multiple||wt.altKey)&&Xe)wt.preventDefault(),this.open();else if(!this.multiple){const re=this.selected;Ke.onKeydown(wt);const Ve=this.selected;Ve&&re!==Ve&&this._liveAnnouncer.announce(Ve.viewValue,1e4)}}_handleOpenKeydown(wt){const ie=this._keyManager,Xe=wt.keyCode,Te=Xe===T.n6||Xe===T.i7,Ke=ie.isTyping();if(Te&&wt.altKey)wt.preventDefault(),this.close();else if(Ke||Xe!==T.Fm&&Xe!==T.t6||!ie.activeItem||(0,T.rp)(wt))if(!Ke&&this._multiple&&Xe===T.A&&wt.ctrlKey){wt.preventDefault();const re=this.options.some(Ve=>!Ve.disabled&&!Ve.selected);this.options.forEach(Ve=>{Ve.disabled||(re?Ve.select():Ve.deselect())})}else{const re=ie.activeItemIndex;ie.onKeydown(wt),this._multiple&&Te&&wt.shiftKey&&ie.activeItem&&ie.activeItemIndex!==re&&ie.activeItem._selectViaInteraction()}else wt.preventDefault(),ie.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,It.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(wt){if(this.options.forEach(ie=>ie.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&wt)Array.isArray(wt),wt.forEach(ie=>this._selectOptionByValue(ie)),this._sortValues();else{const ie=this._selectOptionByValue(wt);ie?this._keyManager.updateActiveItem(ie):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(wt){const ie=this.options.find(Xe=>{if(this._selectionModel.isSelected(Xe))return!1;try{return null!=Xe.value&&this._compareWith(Xe.value,wt)}catch{return!1}});return ie&&this._selectionModel.select(ie),ie}_assignValue(wt){return!!(wt!==this._value||this._multiple&&Array.isArray(wt))&&(this.options&&this._setSelectionByValue(wt),this._value=wt,!0)}_skipPredicate=wt=>!this.panelOpen&&wt.disabled;_getOverlayWidth(wt){return"auto"===this.panelWidth?(wt instanceof n.$Q?wt.elementRef:wt||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const wt of this.options)wt._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new C.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 wt=(0,Y.h)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,Et.Q)(wt)).subscribe(ie=>{this._onSelect(ie.source,ie.isUserInput),ie.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Y.h)(...this.options.map(ie=>ie._stateChanges)).pipe((0,Et.Q)(wt)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(wt,ie){const Xe=this._selectionModel.isSelected(wt);null!=wt.value||this._multiple?(Xe!==wt.selected&&(wt.selected?this._selectionModel.select(wt):this._selectionModel.deselect(wt)),ie&&this._keyManager.setActiveItem(wt),this.multiple&&(this._sortValues(),ie&&this.focus())):(wt.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(wt.value)),Xe!==this._selectionModel.isSelected(wt)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const wt=this.options.toArray();this._selectionModel.sort((ie,Xe)=>this.sortComparator?this.sortComparator(ie,Xe,wt):wt.indexOf(ie)-wt.indexOf(Xe)),this.stateChanges.next()}}_propagateChanges(wt){let ie;ie=this.multiple?this.selected.map(Xe=>Xe.value):this.selected?this.selected.value:wt,this._value=ie,this.valueChange.emit(ie),this._onChange(ie),this.selectionChange.emit(this._getChangeEvent(ie)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let wt=-1;for(let ie=0;ie0}focus(wt){this._elementRef.nativeElement.focus(wt)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const wt=this._parentFormField?.getLabelId()||null;return this.ariaLabelledby?(wt?wt+" ":"")+this.ariaLabelledby:wt}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const wt=this._parentFormField?.getLabelId();let ie=(wt?wt+" ":"")+this._valueId;return this.ariaLabelledby&&(ie+=" "+this.ariaLabelledby),ie}_panelDoneAnimating(wt){this.openedChange.emit(wt)}setDescribedByIds(wt){wt.length?this._elementRef.nativeElement.setAttribute("aria-describedby",wt.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(ie){return new(ie||$e)};static \u0275cmp=a.VBU({type:$e,selectors:[["mat-select"]],contentQueries:function(ie,Xe,Te){if(1&ie&&(a.wni(Te,Fe,5),a.wni(Te,l.wT,5),a.wni(Te,l.QC,5)),2&ie){let Ke;a.mGM(Ke=a.lsd())&&(Xe.customTrigger=Ke.first),a.mGM(Ke=a.lsd())&&(Xe.options=Ke),a.mGM(Ke=a.lsd())&&(Xe.optionGroups=Ke)}},viewQuery:function(ie,Xe){if(1&ie&&(a.GBs(at,5),a.GBs(st,5),a.GBs(n.WB,5)),2&ie){let Te;a.mGM(Te=a.lsd())&&(Xe.trigger=Te.first),a.mGM(Te=a.lsd())&&(Xe.panel=Te.first),a.mGM(Te=a.lsd())&&(Xe._overlayDir=Te.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(ie,Xe){1&ie&&a.bIt("keydown",function(Ke){return Xe._handleKeydown(Ke)})("focus",function(){return Xe._onFocus()})("blur",function(){return Xe._onBlur()}),2&ie&&(a.BMQ("id",Xe.id)("tabindex",Xe.disabled?-1:Xe.tabIndex)("aria-controls",Xe.panelOpen?Xe.id+"-panel":null)("aria-expanded",Xe.panelOpen)("aria-label",Xe.ariaLabel||null)("aria-required",Xe.required.toString())("aria-disabled",Xe.disabled.toString())("aria-invalid",Xe.errorState)("aria-activedescendant",Xe._getAriaActiveDescendant()),a.AVh("mat-mdc-select-disabled",Xe.disabled)("mat-mdc-select-invalid",Xe.errorState)("mat-mdc-select-required",Xe.required)("mat-mdc-select-empty",Xe.empty)("mat-mdc-select-multiple",Xe.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",a.L39],disableRipple:[2,"disableRipple","disableRipple",a.L39],tabIndex:[2,"tabIndex","tabIndex",wt=>null==wt?0:(0,a.Udg)(wt)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",a.L39],placeholder:"placeholder",required:[2,"required","required",a.L39],multiple:[2,"multiple","multiple",a.L39],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",a.L39],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",a.Udg],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[a.Jv_([{provide:y.qT,useExisting:$e},{provide:l.is,useExisting:$e}]),a.GFd,a.OA$],ngContentSelectors:Pt,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(ie,Xe){if(1&ie){const Te=a.RV6();a.NAR(vt),a.j41(0,"div",2,0),a.bIt("click",function(){return a.eBV(Te),a.Njj(Xe.open())}),a.j41(3,"div",3),a.DNE(4,ae,2,1,"span",4)(5,se,3,1,"span",5),a.k0s(),a.j41(6,"div",6)(7,"div",7),a.qSk(),a.j41(8,"svg",8),a.nrm(9,"path",9),a.k0s()()()(),a.DNE(10,or,3,9,"ng-template",10),a.bIt("backdropClick",function(){return a.eBV(Te),a.Njj(Xe.close())})("attach",function(){return a.eBV(Te),a.Njj(Xe._onAttached())})("detach",function(){return a.eBV(Te),a.Njj(Xe.close())})}if(2&ie){const Te=a.sdS(1);a.R7$(3),a.BMQ("id",Xe._valueId),a.R7$(),a.vxM(Xe.empty?4:5),a.R7$(6),a.Y8G("cdkConnectedOverlayPanelClass",Xe._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Xe._scrollStrategy)("cdkConnectedOverlayOrigin",Xe._preferredOverlayOrigin||Te)("cdkConnectedOverlayOpen",Xe.panelOpen)("cdkConnectedOverlayPositions",Xe._positions)("cdkConnectedOverlayWidth",Xe._overlayWidth)}},dependencies:[n.$Q,n.WB,_t.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-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .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-sys-surface-container))}@media(forced-colors: 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-sys-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, translateY(-8px))}'],encapsulation:2,data:{animation:[fr.transformPanel]},changeDetection:0})}return $e})(),oe=(()=>{class $e{static \u0275fac=function(ie){return new(ie||$e)};static \u0275dir=a.FsC({type:$e,selectors:[["mat-select-trigger"]],features:[a.Jv_([{provide:Fe,useExisting:$e}])]})}return $e})(),Oe=(()=>{class $e{static \u0275fac=function(ie){return new(ie||$e)};static \u0275mod=a.$C({type:$e});static \u0275inj=a.G2t({providers:[Bt],imports:[n.z_,l.Sy,l.yE,k.Gj,y.RG,l.Sy,l.yE]})}return $e})()},5785:(i,s,o)=>{"use strict";o.d(s,{$C:()=>Bt,$l:()=>be,qe:()=>Ht,vg:()=>oe});var n=o(8108),a=o(3107),l=o(2902),y=o(8559),k=o(2944),C=o(3022),A=o(5919),S=o(2147),T=o(4460),O=o(8447),P=o(909),q=o(7509),Y=o(1483),J=o(7947),ht=o(6590),ct=o(5424),pt=o(7610),kt=o(593),Et=o(8627),It=o(1204);const yt=["*"],_t=["content"],at=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],st=["mat-drawer","mat-drawer-content","*"];function vt(Oe,$e){if(1&Oe){const Dt=a.RV6();a.j41(0,"div",1),a.bIt("click",function(){a.eBV(Dt);const ie=a.XpG();return a.Njj(ie._onBackdropClicked())}),a.k0s()}if(2&Oe){const Dt=a.XpG();a.AVh("mat-drawer-shown",Dt._isShowingBackdrop())}}function Pt(Oe,$e){1&Oe&&(a.j41(0,"mat-drawer-content"),a.SdG(1,2),a.k0s())}const fr={transformDrawer:(0,It.hZ)("transform",[(0,It.wk)("open, open-instant",(0,It.iF)({transform:"none",visibility:"visible"})),(0,It.wk)("void",(0,It.iF)({"box-shadow":"none",visibility:"hidden"})),(0,It.kY)("void => open-instant",(0,It.i0)("0ms")),(0,It.kY)("void <=> open, open-instant => void",(0,It.i0)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},jr=new a.nKC("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function Qt(){return!1}}),wr=new a.nKC("MAT_DRAWER_CONTAINER");let be=(()=>{class Oe extends n.uv{_platform=(0,a.WQX)(S.OD);_changeDetectorRef=(0,a.WQX)(a.gRc);_container=(0,a.WQX)(Bt);constructor(){super((0,a.WQX)(a.aKT),(0,a.WQX)(n.R),(0,a.WQX)(a.SKi))}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}_shouldBeHidden(){if(this._platform.isBrowser)return!1;const{start:Dt,end:wt}=this._container;return null!=Dt&&"over"!==Dt.mode&&Dt.opened||null!=wt&&"over"!==wt.mode&&wt.opened}static \u0275fac=function(wt){return new(wt||Oe)};static \u0275cmp=a.VBU({type:Oe,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:6,hostBindings:function(wt,ie){2&wt&&(a.xc7("margin-left",ie._container._contentMargins.left,"px")("margin-right",ie._container._contentMargins.right,"px"),a.AVh("mat-drawer-content-hidden",ie._shouldBeHidden()))},features:[a.Jv_([{provide:n.uv,useExisting:Oe}]),a.Vt3],ngContentSelectors:yt,decls:1,vars:0,template:function(wt,ie){1&wt&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0})}return Oe})(),Ht=(()=>{class Oe{_elementRef=(0,a.WQX)(a.aKT);_focusTrapFactory=(0,a.WQX)(y.GX);_focusMonitor=(0,a.WQX)(y.FN);_platform=(0,a.WQX)(S.OD);_ngZone=(0,a.WQX)(a.SKi);_interactivityChecker=(0,a.WQX)(y.Z7);_doc=(0,a.WQX)(T.qQ,{optional:!0});_container=(0,a.WQX)(wr,{optional:!0});_focusTrap=null;_elementFocusedBeforeDrawerWasOpened=null;_enableAnimations=!1;_isAttached;_anchor;get position(){return this._position}set position(Dt){(Dt="end"===Dt?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(Dt),this._position=Dt,this.onPositionChanged.emit())}_position="start";get mode(){return this._mode}set mode(Dt){this._mode=Dt,this._updateFocusTrapState(),this._modeChanged.next()}_mode="over";get disableClose(){return this._disableClose}set disableClose(Dt){this._disableClose=(0,C.he)(Dt)}_disableClose=!1;get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(Dt){("true"===Dt||"false"===Dt||null==Dt)&&(Dt=(0,C.he)(Dt)),this._autoFocus=Dt}_autoFocus;get opened(){return this._opened}set opened(Dt){this.toggle((0,C.he)(Dt))}_opened=!1;_openedVia;_animationStarted=new O.B;_animationEnd=new O.B;_animationState="void";openedChange=new a.bkB(!0);_openedStream=this.openedChange.pipe((0,Y.p)(Dt=>Dt),(0,J.T)(()=>{}));openedStart=this._animationStarted.pipe((0,Y.p)(Dt=>Dt.fromState!==Dt.toState&&0===Dt.toState.indexOf("open")),(0,ht.u)(void 0));_closedStream=this.openedChange.pipe((0,Y.p)(Dt=>!Dt),(0,J.T)(()=>{}));closedStart=this._animationStarted.pipe((0,Y.p)(Dt=>Dt.fromState!==Dt.toState&&"void"===Dt.toState),(0,ht.u)(void 0));_destroyed=new O.B;onPositionChanged=new a.bkB;_content;_modeChanged=new O.B;_injector=(0,a.WQX)(a.zZn);_changeDetectorRef=(0,a.WQX)(a.gRc);constructor(){this.openedChange.pipe((0,ct.Q)(this._destroyed)).subscribe(Dt=>{Dt?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,P.R)(this._elementRef.nativeElement,"keydown").pipe((0,Y.p)(Dt=>Dt.keyCode===A._f&&!this.disableClose&&!(0,A.rp)(Dt)),(0,ct.Q)(this._destroyed)).subscribe(Dt=>this._ngZone.run(()=>{this.close(),Dt.stopPropagation(),Dt.preventDefault()}))}),this._animationEnd.subscribe(Dt=>{const{fromState:wt,toState:ie}=Dt;(0===ie.indexOf("open")&&"void"===wt||"void"===ie&&0===wt.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(Dt,wt){this._interactivityChecker.isFocusable(Dt)||(Dt.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const ie=()=>{Dt.removeEventListener("blur",ie),Dt.removeEventListener("mousedown",ie),Dt.removeAttribute("tabindex")};Dt.addEventListener("blur",ie),Dt.addEventListener("mousedown",ie)})),Dt.focus(wt)}_focusByCssSelector(Dt,wt){let ie=this._elementRef.nativeElement.querySelector(Dt);ie&&this._forceFocus(ie,wt)}_takeFocus(){if(!this._focusTrap)return;const Dt=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":(0,a.mal)(()=>{!this._focusTrap.focusInitialElement()&&"function"==typeof Dt.focus&&Dt.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(Dt){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,Dt):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const Dt=this._doc.activeElement;return!!Dt&&this._elementRef.nativeElement.contains(Dt)}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(Dt){return this.toggle(!0,Dt)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(Dt=!this.opened,wt){Dt&&wt&&(this._openedVia=wt);const ie=this._setOpen(Dt,!Dt&&this._isFocusWithinDrawer(),this._openedVia||"program");return Dt||(this._openedVia=null),ie}_setOpen(Dt,wt,ie){return this._opened=Dt,Dt?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",wt&&this._restoreFocus(ie)),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(Xe=>{this.openedChange.pipe((0,pt.s)(1)).subscribe(Te=>Xe(Te?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop&&this.opened)}_updatePositionInParent(Dt){if(!this._platform.isBrowser)return;const wt=this._elementRef.nativeElement,ie=wt.parentNode;"end"===Dt?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),ie.insertBefore(this._anchor,wt)),ie.appendChild(wt)):this._anchor&&this._anchor.parentNode.insertBefore(wt,this._anchor)}static \u0275fac=function(wt){return new(wt||Oe)};static \u0275cmp=a.VBU({type:Oe,selectors:[["mat-drawer"]],viewQuery:function(wt,ie){if(1&wt&&a.GBs(_t,5),2&wt){let Xe;a.mGM(Xe=a.lsd())&&(ie._content=Xe.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(wt,ie){1&wt&&a.Kam("@transform.start",function(Te){return ie._animationStarted.next(Te)})("@transform.done",function(Te){return ie._animationEnd.next(Te)}),2&wt&&(a.zvX("@transform",ie._animationState),a.BMQ("align",null),a.AVh("mat-drawer-end","end"===ie.position)("mat-drawer-over","over"===ie.mode)("mat-drawer-push","push"===ie.mode)("mat-drawer-side","side"===ie.mode)("mat-drawer-opened",ie.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"],ngContentSelectors:yt,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(wt,ie){1&wt&&(a.NAR(),a.j41(0,"div",1,0),a.SdG(2),a.k0s())},dependencies:[n.uv],encapsulation:2,data:{animation:[fr.transformDrawer]},changeDetection:0})}return Oe})(),Bt=(()=>{class Oe{_dir=(0,a.WQX)(k.dS,{optional:!0});_element=(0,a.WQX)(a.aKT);_ngZone=(0,a.WQX)(a.SKi);_changeDetectorRef=(0,a.WQX)(a.gRc);_animationMode=(0,a.WQX)(a.bc$,{optional:!0});_allDrawers;_drawers=new a.rOR;_content;_userContent;get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(Dt){this._autosize=(0,C.he)(Dt)}_autosize=(0,a.WQX)(jr);get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(Dt){this._backdropOverride=null==Dt?null:(0,C.he)(Dt)}_backdropOverride;backdropClick=new a.bkB;_start;_end;_left;_right;_destroyed=new O.B;_doCheckSubject=new O.B;_contentMargins={left:null,right:null};_contentMarginChanges=new O.B;get scrollable(){return this._userContent||this._content}_injector=(0,a.WQX)(a.zZn);constructor(){const Dt=(0,a.WQX)(n.Xj);this._dir?.change.pipe((0,ct.Q)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),Dt.change().pipe((0,ct.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins())}ngAfterContentInit(){this._allDrawers.changes.pipe((0,kt.Z)(this._allDrawers),(0,ct.Q)(this._destroyed)).subscribe(Dt=>{this._drawers.reset(Dt.filter(wt=>!wt._container||wt._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,kt.Z)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(Dt=>{this._watchDrawerToggle(Dt),this._watchDrawerPosition(Dt),this._watchDrawerMode(Dt)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,Et.B)(10),(0,ct.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(Dt=>Dt.open())}close(){this._drawers.forEach(Dt=>Dt.close())}updateContentMargins(){let Dt=0,wt=0;if(this._left&&this._left.opened)if("side"==this._left.mode)Dt+=this._left._getWidth();else if("push"==this._left.mode){const ie=this._left._getWidth();Dt+=ie,wt-=ie}if(this._right&&this._right.opened)if("side"==this._right.mode)wt+=this._right._getWidth();else if("push"==this._right.mode){const ie=this._right._getWidth();wt+=ie,Dt-=ie}Dt=Dt||null,wt=wt||null,(Dt!==this._contentMargins.left||wt!==this._contentMargins.right)&&(this._contentMargins={left:Dt,right:wt},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(Dt){Dt._animationStarted.pipe((0,Y.p)(wt=>wt.fromState!==wt.toState),(0,ct.Q)(this._drawers.changes)).subscribe(wt=>{"open-instant"!==wt.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==Dt.mode&&Dt.openedChange.pipe((0,ct.Q)(this._drawers.changes)).subscribe(()=>this._setContainerClass(Dt.opened))}_watchDrawerPosition(Dt){Dt&&Dt.onPositionChanged.pipe((0,ct.Q)(this._drawers.changes)).subscribe(()=>{(0,a.mal)(()=>{this._validateDrawers()},{injector:this._injector,phase:a.wjH.Read})})}_watchDrawerMode(Dt){Dt&&Dt._modeChanged.pipe((0,ct.Q)((0,q.h)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(Dt){const wt=this._element.nativeElement.classList,ie="mat-drawer-container-has-open";Dt?wt.add(ie):wt.remove(ie)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(Dt=>{"end"==Dt.position?this._end=Dt:this._start=Dt}),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(Dt=>Dt&&!Dt.disableClose&&this._drawerHasBackdrop(Dt)).forEach(Dt=>Dt._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(Dt){return null!=Dt&&Dt.opened}_drawerHasBackdrop(Dt){return null==this._backdropOverride?!!Dt&&"side"!==Dt.mode:this._backdropOverride}static \u0275fac=function(wt){return new(wt||Oe)};static \u0275cmp=a.VBU({type:Oe,selectors:[["mat-drawer-container"]],contentQueries:function(wt,ie,Xe){if(1&wt&&(a.wni(Xe,be,5),a.wni(Xe,Ht,5)),2&wt){let Te;a.mGM(Te=a.lsd())&&(ie._content=Te.first),a.mGM(Te=a.lsd())&&(ie._allDrawers=Te)}},viewQuery:function(wt,ie){if(1&wt&&a.GBs(be,5),2&wt){let Xe;a.mGM(Xe=a.lsd())&&(ie._userContent=Xe.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(wt,ie){2&wt&&a.AVh("mat-drawer-container-explicit-backdrop",ie._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[a.Jv_([{provide:wr,useExisting:Oe}])],ngContentSelectors:st,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(wt,ie){1&wt&&(a.NAR(at),a.DNE(0,vt,1,2,"div",0),a.SdG(1),a.SdG(2,1),a.DNE(3,Pt,2,0,"mat-drawer-content")),2&wt&&(a.vxM(ie.hasBackdrop?0:-1),a.R7$(3),a.vxM(ie._content?-1:3))},dependencies:[be],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-sys-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, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent))}.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}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-content.mat-drawer-content-hidden{opacity:0}.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-sys-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-sys-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));width:var(--mat-sidenav-container-width, 360px);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)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.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-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-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-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-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-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-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, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);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, transparent);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, transparent);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 Oe})(),oe=(()=>{class Oe{static \u0275fac=function(wt){return new(wt||Oe)};static \u0275mod=a.$C({type:Oe});static \u0275inj=a.G2t({imports:[l.yE,n.Gj,n.Gj,l.yE]})}return Oe})()},7712:(i,s,o)=>{"use strict";o.d(s,{oV:()=>se,uc:()=>yr});var n=o(5424),a=o(3022),l=o(5919),y=o(3107),k=o(4460),C=o(2147),A=o(8559),S=o(2944),T=o(9666),O=o(8108),P=o(6192),q=o(8447),J=(o(1204),o(2902));const ht=["tooltip"],kt=new y.nKC("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const jr=(0,y.WQX)(T.hJ);return()=>jr.scrollStrategies.reposition({scrollThrottle:20})}}),It={provide:kt,deps:[T.hJ],useFactory:function Et(jr){return()=>jr.scrollStrategies.reposition({scrollThrottle:20})}},_t=new y.nKC("mat-tooltip-default-options",{providedIn:"root",factory:function yt(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),st="tooltip-panel",vt=(0,C.BQ)({passive:!0});let se=(()=>{class jr{_overlay=(0,y.WQX)(T.hJ);_elementRef=(0,y.WQX)(y.aKT);_scrollDispatcher=(0,y.WQX)(O.R);_viewContainerRef=(0,y.WQX)(y.c1b);_ngZone=(0,y.WQX)(y.SKi);_platform=(0,y.WQX)(C.OD);_ariaDescriber=(0,y.WQX)(A.vr);_focusMonitor=(0,y.WQX)(A.FN);_dir=(0,y.WQX)(S.dS);_injector=(0,y.WQX)(y.zZn);_defaultOptions=(0,y.WQX)(_t,{optional:!0});_overlayRef;_tooltipInstance;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_scrollStrategy=(0,y.WQX)(kt);_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=or;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;get position(){return this._position}set position(Qt){Qt!==this._position&&(this._position=Qt,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(Qt){this._positionAtOrigin=(0,a.he)(Qt),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(Qt){const be=(0,a.he)(Qt);this._disabled!==be&&(this._disabled=be,be?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(Qt){this._showDelay=(0,a.OE)(Qt)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(Qt){this._hideDelay=(0,a.OE)(Qt),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(Qt){const be=this._message;this._message=null!=Qt?String(Qt).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(be)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(Qt){this._tooltipClass=Qt,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_document=(0,y.WQX)(k.qQ);_touchstartTimeout=null;_destroyed=new q.B;constructor(){const Qt=this._defaultOptions;Qt&&(this._showDelay=Qt.showDelay,this._hideDelay=Qt.hideDelay,Qt.position&&(this.position=Qt.position),Qt.positionAtOrigin&&(this.positionAtOrigin=Qt.positionAtOrigin),Qt.touchGestures&&(this.touchGestures=Qt.touchGestures),Qt.tooltipClass&&(this.tooltipClass=Qt.tooltipClass)),this._dir.change.pipe((0,n.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,n.Q)(this._destroyed)).subscribe(Qt=>{Qt?"keyboard"===Qt&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const Qt=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([be,Ht])=>{Qt.removeEventListener(be,Ht,vt)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(Qt,this.message,"tooltip"),this._focusMonitor.stopMonitoring(Qt)}show(Qt=this.showDelay,be){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const Ht=this._createOverlay(be);this._detach(),this._portal=this._portal||new P.A8(this._tooltipComponent,this._viewContainerRef);const Bt=this._tooltipInstance=Ht.attach(this._portal).instance;Bt._triggerElement=this._elementRef.nativeElement,Bt._mouseLeaveHideDelay=this._hideDelay,Bt.afterHidden().pipe((0,n.Q)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),Bt.show(Qt)}hide(Qt=this.hideDelay){const be=this._tooltipInstance;be&&(be.isVisible()?be.hide(Qt):(be._cancelPendingAnimations(),this._detach()))}toggle(Qt){this._isTooltipVisible()?this.hide():this.show(void 0,Qt)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(Qt){if(this._overlayRef){const Bt=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!Qt)&&Bt._origin instanceof y.aKT)return this._overlayRef;this._detach()}const be=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),Ht=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&Qt||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(be);return Ht.positionChanges.pipe((0,n.Q)(this._destroyed)).subscribe(Bt=>{this._updateCurrentPositionClass(Bt.connectionPair),this._tooltipInstance&&Bt.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:Ht,panelClass:`${this._cssClassPrefix}-${st}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,n.Q)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,n.Q)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,n.Q)(this._destroyed)).subscribe(Bt=>{this._isTooltipVisible()&&Bt.keyCode===l._f&&!(0,l.rp)(Bt)&&(Bt.preventDefault(),Bt.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(Qt){const be=Qt.getConfig().positionStrategy,Ht=this._getOrigin(),Bt=this._getOverlayPosition();be.withPositions([this._addOffset({...Ht.main,...Bt.main}),this._addOffset({...Ht.fallback,...Bt.fallback})])}_addOffset(Qt){const Ht=!this._dir||"ltr"==this._dir.value;return"top"===Qt.originY?Qt.offsetY=-8:"bottom"===Qt.originY?Qt.offsetY=8:"start"===Qt.originX?Qt.offsetX=Ht?-8:8:"end"===Qt.originX&&(Qt.offsetX=Ht?8:-8),Qt}_getOrigin(){const Qt=!this._dir||"ltr"==this._dir.value,be=this.position;let Ht;"above"==be||"below"==be?Ht={originX:"center",originY:"above"==be?"top":"bottom"}:"before"==be||"left"==be&&Qt||"right"==be&&!Qt?Ht={originX:"start",originY:"center"}:("after"==be||"right"==be&&Qt||"left"==be&&!Qt)&&(Ht={originX:"end",originY:"center"});const{x:Bt,y:Fe}=this._invertPosition(Ht.originX,Ht.originY);return{main:Ht,fallback:{originX:Bt,originY:Fe}}}_getOverlayPosition(){const Qt=!this._dir||"ltr"==this._dir.value,be=this.position;let Ht;"above"==be?Ht={overlayX:"center",overlayY:"bottom"}:"below"==be?Ht={overlayX:"center",overlayY:"top"}:"before"==be||"left"==be&&Qt||"right"==be&&!Qt?Ht={overlayX:"end",overlayY:"center"}:("after"==be||"right"==be&&Qt||"left"==be&&!Qt)&&(Ht={overlayX:"start",overlayY:"center"});const{x:Bt,y:Fe}=this._invertPosition(Ht.overlayX,Ht.overlayY);return{main:Ht,fallback:{overlayX:Bt,overlayY:Fe}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),(0,y.mal)(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(Qt){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=Qt,this._tooltipInstance._markForCheck())}_invertPosition(Qt,be){return"above"===this.position||"below"===this.position?"top"===be?be="bottom":"bottom"===be&&(be="top"):"end"===Qt?Qt="start":"start"===Qt&&(Qt="end"),{x:Qt,y:be}}_updateCurrentPositionClass(Qt){const{overlayY:be,originX:Ht,originY:Bt}=Qt;let Fe;if(Fe="center"===be?this._dir&&"rtl"===this._dir.value?"end"===Ht?"left":"right":"start"===Ht?"left":"right":"bottom"===be&&"top"===Bt?"above":"below",Fe!==this._currentPosition){const zt=this._overlayRef;if(zt){const Yt=`${this._cssClassPrefix}-${st}-`;zt.removePanelClass(Yt+this._currentPosition),zt.addPanelClass(Yt+Fe)}this._currentPosition=Fe}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",Qt=>{let be;this._setupPointerExitEventsIfNeeded(),void 0!==Qt.x&&void 0!==Qt.y&&(be=Qt),this.show(void 0,be)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",Qt=>{const be=Qt.targetTouches?.[0],Ht=be?{x:be.clientX,y:be.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,Ht)},this._defaultOptions?.touchLongPressShowDelay??500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const Qt=[];if(this._platformSupportsMouseEvents())Qt.push(["mouseleave",be=>{const Ht=be.relatedTarget;(!Ht||!this._overlayRef?.overlayElement.contains(Ht))&&this.hide()}],["wheel",be=>this._wheelListener(be)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const be=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};Qt.push(["touchend",be],["touchcancel",be])}this._addListeners(Qt),this._passiveListeners.push(...Qt)}_addListeners(Qt){Qt.forEach(([be,Ht])=>{this._elementRef.nativeElement.addEventListener(be,Ht,vt)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(Qt){if(this._isTooltipVisible()){const be=this._document.elementFromPoint(Qt.clientX,Qt.clientY),Ht=this._elementRef.nativeElement;be!==Ht&&!Ht.contains(be)&&this.hide()}}_disableNativeGesturesIfNecessary(){const Qt=this.touchGestures;if("off"!==Qt){const be=this._elementRef.nativeElement,Ht=be.style;("on"===Qt||"INPUT"!==be.nodeName&&"TEXTAREA"!==be.nodeName)&&(Ht.userSelect=Ht.msUserSelect=Ht.webkitUserSelect=Ht.MozUserSelect="none"),("on"===Qt||!be.draggable)&&(Ht.webkitUserDrag="none"),Ht.touchAction="none",Ht.webkitTapHighlightColor="transparent"}}_syncAriaDescription(Qt){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,Qt,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}static \u0275fac=function(be){return new(be||jr)};static \u0275dir=y.FsC({type:jr,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(be,Ht){2&be&&y.AVh("mat-mdc-tooltip-disabled",Ht.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"]})}return jr})(),or=(()=>{class jr{_changeDetectorRef=(0,y.WQX)(y.gRc);_elementRef=(0,y.WQX)(y.aKT);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled;_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new q.B;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){const Qt=(0,y.WQX)(y.bc$,{optional:!0});this._animationsDisabled="NoopAnimations"===Qt}show(Qt){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},Qt)}hide(Qt){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},Qt)}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:Qt}){(!Qt||!this._triggerElement.contains(Qt))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const Qt=this._elementRef.nativeElement.getBoundingClientRect();return Qt.height>24&&Qt.width>=200}_handleAnimationEnd({animationName:Qt}){(Qt===this._showAnimation||Qt===this._hideAnimation)&&this._finalizeAnimation(Qt===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(Qt){Qt?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(Qt){const be=this._tooltip.nativeElement,Ht=this._showAnimation,Bt=this._hideAnimation;if(be.classList.remove(Qt?Bt:Ht),be.classList.add(Qt?Ht:Bt),this._isVisible!==Qt&&(this._isVisible=Qt,this._changeDetectorRef.markForCheck()),Qt&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Fe=getComputedStyle(be);("0s"===Fe.getPropertyValue("animation-duration")||"none"===Fe.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}Qt&&this._onShow(),this._animationsDisabled&&(be.classList.add("_mat-animation-noopable"),this._finalizeAnimation(Qt))}static \u0275fac=function(be){return new(be||jr)};static \u0275cmp=y.VBU({type:jr,selectors:[["mat-tooltip-component"]],viewQuery:function(be,Ht){if(1&be&&y.GBs(ht,7),2&be){let Bt;y.mGM(Bt=y.lsd())&&(Ht._tooltip=Bt.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(be,Ht){1&be&&y.bIt("mouseleave",function(Fe){return Ht._handleMouseLeave(Fe)})},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(be,Ht){if(1&be){const Bt=y.RV6();y.j41(0,"div",1,0),y.bIt("animationend",function(zt){return y.eBV(Bt),y.Njj(Ht._handleAnimationEnd(zt))}),y.j41(2,"div",2),y.EFF(3),y.k0s()()}2&be&&(y.AVh("mdc-tooltip--multiline",Ht._isMultiline),y.Y8G("ngClass",Ht.tooltipClass),y.R7$(3),y.JRh(Ht.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-sys-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-sys-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 jr})(),yr=(()=>{class jr{static \u0275fac=function(be){return new(be||jr)};static \u0275mod=y.$C({type:jr});static \u0275inj=y.G2t({providers:[It],imports:[A.Pd,T.z_,J.yE,J.yE,O.Gj]})}return jr})()},6388:(i,s,o)=>{"use strict";o.d(s,{B7:()=>ve,B8:()=>Yt,hE:()=>Lo,up:()=>ar});var n=o(4460),a=o(3107);class l extends n.VF{supportsDOMEvents=!0}class y extends l{static makeCurrent(){(0,n.ZD)(new y)}onAndCancel(Ce,ce,Be){return Ce.addEventListener(ce,Be),()=>{Ce.removeEventListener(ce,Be)}}dispatchEvent(Ce,ce){Ce.dispatchEvent(ce)}remove(Ce){Ce.remove()}createElement(Ce,ce){return(ce=ce||this.getDefaultDocument()).createElement(Ce)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Ce){return Ce.nodeType===Node.ELEMENT_NODE}isShadowRoot(Ce){return Ce instanceof DocumentFragment}getGlobalEventTarget(Ce,ce){return"window"===ce?window:"document"===ce?Ce:"body"===ce?Ce.body:null}getBaseHref(Ce){const ce=function C(){return k=k||document.querySelector("base"),k?k.getAttribute("href"):null}();return null==ce?null:function A($t){return new URL($t,document.baseURI).pathname}(ce)}resetBaseElement(){k=null}getUserAgent(){return window.navigator.userAgent}getCookie(Ce){return(0,n._b)(document.cookie,Ce)}}let k=null,T=(()=>{class $t{build(){return new XMLHttpRequest}static \u0275fac=function(Be){return new(Be||$t)};static \u0275prov=a.jDH({token:$t,factory:$t.\u0275fac})}return $t})();const O=new a.nKC("");let P=(()=>{class $t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(ce,Be){this._zone=Be,ce.forEach(vr=>{vr.manager=this}),this._plugins=ce.slice().reverse()}addEventListener(ce,Be,vr){return this._findPluginFor(Be).addEventListener(ce,Be,vr)}getZone(){return this._zone}_findPluginFor(ce){let Be=this._eventNameToPlugin.get(ce);if(Be)return Be;if(Be=this._plugins.find(qr=>qr.supports(ce)),!Be)throw new a.wOt(5101,!1);return this._eventNameToPlugin.set(ce,Be),Be}static \u0275fac=function(Be){return new(Be||$t)(a.KVO(O),a.KVO(a.SKi))};static \u0275prov=a.jDH({token:$t,factory:$t.\u0275fac})}return $t})();class q{_doc;constructor(Ce){this._doc=Ce}manager}const Y="ng-app-id";function J($t){for(const Ce of $t)Ce.remove()}function ht($t,Ce){const ce=Ce.createElement("style");return ce.textContent=$t,ce}function pt($t,Ce){const ce=Ce.createElement("link");return ce.setAttribute("rel","stylesheet"),ce.setAttribute("href",$t),ce}let kt=(()=>{class $t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(ce,Be,vr,qr={}){this.doc=ce,this.appId=Be,this.nonce=vr,this.isServer=(0,n.Vy)(qr),function ct($t,Ce,ce){const Be=$t.head?.querySelectorAll(`style[${Y}="${Ce}"]`);if(Be)for(const vr of Be)vr.textContent&&(vr.removeAttribute(Y),ce.set(vr.textContent,{usage:0,elements:[vr]}))}(ce,Be,this.inline),this.hosts.add(ce.head)}addStyles(ce,Be){for(const vr of ce)this.addUsage(vr,this.inline,ht);Be?.forEach(vr=>this.addUsage(vr,this.external,pt))}removeStyles(ce,Be){for(const vr of ce)this.removeUsage(vr,this.inline);Be?.forEach(vr=>this.removeUsage(vr,this.external))}addUsage(ce,Be,vr){const qr=Be.get(ce);qr?qr.usage++:Be.set(ce,{usage:1,elements:[...this.hosts].map(ko=>this.addElement(ko,vr(ce,this.doc)))})}removeUsage(ce,Be){const vr=Be.get(ce);vr&&(vr.usage--,vr.usage<=0&&(J(vr.elements),Be.delete(ce)))}ngOnDestroy(){for(const[,{elements:ce}]of[...this.inline,...this.external])J(ce);this.hosts.clear()}addHost(ce){this.hosts.add(ce);for(const[Be,{elements:vr}]of this.inline)vr.push(this.addElement(ce,ht(Be,this.doc)));for(const[Be,{elements:vr}]of this.external)vr.push(this.addElement(ce,pt(Be,this.doc)))}removeHost(ce){this.hosts.delete(ce)}addElement(ce,Be){return this.nonce&&Be.setAttribute("nonce",this.nonce),this.isServer&&Be.setAttribute(Y,this.appId),ce.appendChild(Be)}static \u0275fac=function(Be){return new(Be||$t)(a.KVO(n.qQ),a.KVO(a.sZ2),a.KVO(a.BIS,8),a.KVO(a.Agw))};static \u0275prov=a.jDH({token:$t,factory:$t.\u0275fac})}return $t})();const Et={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"},It=/%COMP%/g,vt=new a.nKC("",{providedIn:"root",factory:()=>!0});function le($t,Ce){return Ce.map(ce=>ce.replace(It,$t))}let ve=(()=>{class $t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(ce,Be,vr,qr,ko,sn,hn,Zn=null){this.eventManager=ce,this.sharedStylesHost=Be,this.appId=vr,this.removeStylesOnCompDestroy=qr,this.doc=ko,this.platformId=sn,this.ngZone=hn,this.nonce=Zn,this.platformIsServer=(0,n.Vy)(sn),this.defaultRenderer=new se(ce,ko,hn,this.platformIsServer)}createRenderer(ce,Be){if(!ce||!Be)return this.defaultRenderer;this.platformIsServer&&Be.encapsulation===a.gXe.ShadowDom&&(Be={...Be,encapsulation:a.gXe.Emulated});const vr=this.getOrCreateRenderer(ce,Be);return vr instanceof Qt?vr.applyToHost(ce):vr instanceof wr&&vr.applyStyles(),vr}getOrCreateRenderer(ce,Be){const vr=this.rendererByCompId;let qr=vr.get(Be.id);if(!qr){const ko=this.doc,sn=this.ngZone,hn=this.eventManager,Zn=this.sharedStylesHost,Je=this.removeStylesOnCompDestroy,Ae=this.platformIsServer;switch(Be.encapsulation){case a.gXe.Emulated:qr=new Qt(hn,Zn,Be,this.appId,Je,ko,sn,Ae);break;case a.gXe.ShadowDom:return new jr(hn,Zn,ce,Be,ko,sn,this.nonce,Ae);default:qr=new wr(hn,Zn,Be,Je,ko,sn,Ae)}vr.set(Be.id,qr)}return qr}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(Be){return new(Be||$t)(a.KVO(P),a.KVO(kt),a.KVO(a.sZ2),a.KVO(vt),a.KVO(n.qQ),a.KVO(a.Agw),a.KVO(a.SKi),a.KVO(a.BIS))};static \u0275prov=a.jDH({token:$t,factory:$t.\u0275fac})}return $t})();class se{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(Ce,ce,Be,vr){this.eventManager=Ce,this.doc=ce,this.ngZone=Be,this.platformIsServer=vr}destroy(){}destroyNode=null;createElement(Ce,ce){return ce?this.doc.createElementNS(Et[ce]||ce,Ce):this.doc.createElement(Ce)}createComment(Ce){return this.doc.createComment(Ce)}createText(Ce){return this.doc.createTextNode(Ce)}appendChild(Ce,ce){(yr(Ce)?Ce.content:Ce).appendChild(ce)}insertBefore(Ce,ce,Be){Ce&&(yr(Ce)?Ce.content:Ce).insertBefore(ce,Be)}removeChild(Ce,ce){ce.remove()}selectRootElement(Ce,ce){let Be="string"==typeof Ce?this.doc.querySelector(Ce):Ce;if(!Be)throw new a.wOt(-5104,!1);return ce||(Be.textContent=""),Be}parentNode(Ce){return Ce.parentNode}nextSibling(Ce){return Ce.nextSibling}setAttribute(Ce,ce,Be,vr){if(vr){ce=vr+":"+ce;const qr=Et[vr];qr?Ce.setAttributeNS(qr,ce,Be):Ce.setAttribute(ce,Be)}else Ce.setAttribute(ce,Be)}removeAttribute(Ce,ce,Be){if(Be){const vr=Et[Be];vr?Ce.removeAttributeNS(vr,ce):Ce.removeAttribute(`${Be}:${ce}`)}else Ce.removeAttribute(ce)}addClass(Ce,ce){Ce.classList.add(ce)}removeClass(Ce,ce){Ce.classList.remove(ce)}setStyle(Ce,ce,Be,vr){vr&(a.czy.DashCase|a.czy.Important)?Ce.style.setProperty(ce,Be,vr&a.czy.Important?"important":""):Ce.style[ce]=Be}removeStyle(Ce,ce,Be){Be&a.czy.DashCase?Ce.style.removeProperty(ce):Ce.style[ce]=""}setProperty(Ce,ce,Be){null!=Ce&&(Ce[ce]=Be)}setValue(Ce,ce){Ce.nodeValue=ce}listen(Ce,ce,Be){if("string"==typeof Ce&&!(Ce=(0,n.QT)().getGlobalEventTarget(this.doc,Ce)))throw new Error(`Unsupported event target ${Ce} for event ${ce}`);return this.eventManager.addEventListener(Ce,ce,this.decoratePreventDefault(Be))}decoratePreventDefault(Ce){return ce=>{if("__ngUnwrap__"===ce)return Ce;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>Ce(ce)):Ce(ce))&&ce.preventDefault()}}}function yr($t){return"TEMPLATE"===$t.tagName&&void 0!==$t.content}class jr extends se{sharedStylesHost;hostEl;shadowRoot;constructor(Ce,ce,Be,vr,qr,ko,sn,hn){super(Ce,qr,ko,hn),this.sharedStylesHost=ce,this.hostEl=Be,this.shadowRoot=Be.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Zn=le(vr.id,vr.styles);for(const Ae of Zn){const te=document.createElement("style");sn&&te.setAttribute("nonce",sn),te.textContent=Ae,this.shadowRoot.appendChild(te)}const Je=vr.getExternalStyles?.();if(Je)for(const Ae of Je){const te=pt(Ae,qr);sn&&te.setAttribute("nonce",sn),this.shadowRoot.appendChild(te)}}nodeOrShadowRoot(Ce){return Ce===this.hostEl?this.shadowRoot:Ce}appendChild(Ce,ce){return super.appendChild(this.nodeOrShadowRoot(Ce),ce)}insertBefore(Ce,ce,Be){return super.insertBefore(this.nodeOrShadowRoot(Ce),ce,Be)}removeChild(Ce,ce){return super.removeChild(null,ce)}parentNode(Ce){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Ce)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class wr extends se{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(Ce,ce,Be,vr,qr,ko,sn,hn){super(Ce,qr,ko,sn),this.sharedStylesHost=ce,this.removeStylesOnCompDestroy=vr,this.styles=hn?le(hn,Be.styles):Be.styles,this.styleUrls=Be.getExternalStyles?.(hn)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class Qt extends wr{contentAttr;hostAttr;constructor(Ce,ce,Be,vr,qr,ko,sn,hn){const Zn=vr+"-"+Be.id;super(Ce,ce,Be,qr,ko,sn,hn,Zn),this.contentAttr=function Pt($t){return"_ngcontent-%COMP%".replace(It,$t)}(Zn),this.hostAttr=function ae($t){return"_nghost-%COMP%".replace(It,$t)}(Zn)}applyToHost(Ce){this.applyStyles(),this.setAttribute(Ce,this.hostAttr,"")}createElement(Ce,ce){const Be=super.createElement(Ce,ce);return super.setAttribute(Be,this.contentAttr,""),Be}}let be=(()=>{class $t extends q{constructor(ce){super(ce)}supports(ce){return!0}addEventListener(ce,Be,vr){return ce.addEventListener(Be,vr,!1),()=>this.removeEventListener(ce,Be,vr)}removeEventListener(ce,Be,vr){return ce.removeEventListener(Be,vr)}static \u0275fac=function(Be){return new(Be||$t)(a.KVO(n.qQ))};static \u0275prov=a.jDH({token:$t,factory:$t.\u0275fac})}return $t})();const Ht=["alt","control","meta","shift"],Bt={"\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"},Fe={alt:$t=>$t.altKey,control:$t=>$t.ctrlKey,meta:$t=>$t.metaKey,shift:$t=>$t.shiftKey};let zt=(()=>{class $t extends q{constructor(ce){super(ce)}supports(ce){return null!=$t.parseEventName(ce)}addEventListener(ce,Be,vr){const qr=$t.parseEventName(Be),ko=$t.eventCallback(qr.fullKey,vr,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,n.QT)().onAndCancel(ce,qr.domEventName,ko))}static parseEventName(ce){const Be=ce.toLowerCase().split("."),vr=Be.shift();if(0===Be.length||"keydown"!==vr&&"keyup"!==vr)return null;const qr=$t._normalizeKey(Be.pop());let ko="",sn=Be.indexOf("code");if(sn>-1&&(Be.splice(sn,1),ko="code."),Ht.forEach(Zn=>{const Je=Be.indexOf(Zn);Je>-1&&(Be.splice(Je,1),ko+=Zn+".")}),ko+=qr,0!=Be.length||0===qr.length)return null;const hn={};return hn.domEventName=vr,hn.fullKey=ko,hn}static matchEventFullKeyCode(ce,Be){let vr=Bt[ce.key]||ce.key,qr="";return Be.indexOf("code.")>-1&&(vr=ce.code,qr="code."),!(null==vr||!vr)&&(vr=vr.toLowerCase()," "===vr?vr="space":"."===vr&&(vr="dot"),Ht.forEach(ko=>{ko!==vr&&(0,Fe[ko])(ce)&&(qr+=ko+".")}),qr+=vr,qr===Be)}static eventCallback(ce,Be,vr){return qr=>{$t.matchEventFullKeyCode(qr,ce)&&vr.runGuarded(()=>Be(qr))}}static _normalizeKey(ce){return"esc"===ce?"escape":ce}static \u0275fac=function(Be){return new(Be||$t)(a.KVO(n.qQ))};static \u0275prov=a.jDH({token:$t,factory:$t.\u0275fac})}return $t})();function Yt($t,Ce){return(0,a.TL3)({rootComponent:$t,...Oe(Ce)})}function Oe($t){return{appProviders:[...Ve,...$t?.providers??[]],platformProviders:Xe}}const Xe=[{provide:a.Agw,useValue:n.AJ},{provide:a.PLl,useValue:function Dt(){y.makeCurrent()},multi:!0},{provide:n.qQ,useFactory:function ie(){return(0,a.TL$)(document),document},deps:[]}],Ve=[{provide:a.H8p,useValue:"root"},{provide:a.zcH,useFactory:function wt(){return new a.zcH},deps:[]},{provide:O,useClass:be,multi:!0,deps:[n.qQ,a.SKi,a.Agw]},{provide:O,useClass:zt,multi:!0,deps:[n.qQ]},ve,kt,P,{provide:a._9s,useExisting:ve},{provide:n.N0,useClass:T,deps:[]},[]];let Lo=(()=>{class $t{_doc;constructor(ce){this._doc=ce}getTitle(){return this._doc.title}setTitle(ce){this._doc.title=ce||""}static \u0275fac=function(Be){return new(Be||$t)(a.KVO(n.qQ))};static \u0275prov=a.jDH({token:$t,factory:$t.\u0275fac,providedIn:"root"})}return $t})(),ar=(()=>{class $t{static \u0275fac=function(Be){return new(Be||$t)};static \u0275prov=a.jDH({token:$t,factory:function(Be){let vr=null;return vr=Be?new(Be||$t):a.KVO(dr),vr},providedIn:"root"})}return $t})(),dr=(()=>{class $t extends ar{_doc;constructor(ce){super(),this._doc=ce}sanitize(ce,Be){if(null==Be)return null;switch(ce){case a.WPN.NONE:return Be;case a.WPN.HTML:return(0,a.ZF7)(Be,"HTML")?(0,a.rcV)(Be):(0,a.h9k)(this._doc,String(Be)).toString();case a.WPN.STYLE:return(0,a.ZF7)(Be,"Style")?(0,a.rcV)(Be):Be;case a.WPN.SCRIPT:if((0,a.ZF7)(Be,"Script"))return(0,a.rcV)(Be);throw new a.wOt(5200,!1);case a.WPN.URL:return(0,a.ZF7)(Be,"URL")?(0,a.rcV)(Be):(0,a.$MX)(String(Be));case a.WPN.RESOURCE_URL:if((0,a.ZF7)(Be,"ResourceURL"))return(0,a.rcV)(Be);throw new a.wOt(5201,!1);default:throw new a.wOt(5202,!1)}}bypassSecurityTrustHtml(ce){return(0,a.Kcf)(ce)}bypassSecurityTrustStyle(ce){return(0,a.cWb)(ce)}bypassSecurityTrustScript(ce){return(0,a.UyX)(ce)}bypassSecurityTrustUrl(ce){return(0,a.osQ)(ce)}bypassSecurityTrustResourceUrl(ce){return(0,a.e5t)(ce)}static \u0275fac=function(Be){return new(Be||$t)(a.KVO(n.qQ))};static \u0275prov=a.jDH({token:$t,factory:$t.\u0275fac,providedIn:"root"})}return $t})()},8716:(i,s,o)=>{"use strict";o.d(s,{nX:()=>mi,wF:()=>Gt,Ix:()=>ln,Wk:()=>ya,wQ:()=>Ni,iI:()=>zs,n3:()=>ls,lh:()=>id,oH:()=>zc});var n=o(3107),a=o(1531),l=o(1787),y=o(3016),k=o(1217),C=o(6627),A=o(8747),S=o(3569),T=o(6381),O=o(6742),P=o(8915),q=o(6564),Y=o(1642),J=o(8447),ht=o(5710),ct=o(4460),pt=o(7947),kt=o(2867),Et=o(7610),It=o(593),yt=o(1483),_t=o(5823),at=o(1703),st=o(1459),vt=o(2040),Pt=o(7178),ae=o(5351),le=o(36),se=o(5670),or=o(2483);function fr(R){return R<=0?()=>q.w:(0,ae.N)((G,F)=>{let K=[];G.subscribe((0,or._)(F,gt=>{K.push(gt),R{for(const gt of K)F.next(gt);F.complete()},void 0,()=>{K=null}))})}var yr=o(5017),jr=o(9220),Qt=o(6590),be=o(4447),Ht=o(3589),Bt=o(5424),Fe=o(1890),zt=o(6388);const Yt="primary",oe=Symbol("RouteTitle");class Oe{params;constructor(G){this.params=G||{}}has(G){return Object.prototype.hasOwnProperty.call(this.params,G)}get(G){if(this.has(G)){const F=this.params[G];return Array.isArray(F)?F[0]:F}return null}getAll(G){if(this.has(G)){const F=this.params[G];return Array.isArray(F)?F:[F]}return[]}get keys(){return Object.keys(this.params)}}function $e(R){return new Oe(R)}function Dt(R,G,F){const K=F.path.split("/");if(K.length>R.length||"full"===F.pathMatch&&(G.hasChildren()||K.lengthK[Vt]===gt)}return R===G}function Ke(R){return R.length>0?R[R.length-1]:null}function re(R){return(0,a.A)(R)?R:(0,n.jNT)(R)?(0,l.H)(Promise.resolve(R)):(0,y.of)(R)}const Ve={exact:function Lo(R,G,F){if(!z(R.segments,G.segments)||!Lt(R.segments,G.segments,F)||R.numberOfChildren!==G.numberOfChildren)return!1;for(const K in G.children)if(!R.children[K]||!Lo(R.children[K],G.children[K],F))return!1;return!0},subset:fo},tr={exact:function Wr(R,G){return ie(R,G)},subset:function Or(R,G){return Object.keys(G).length<=Object.keys(R).length&&Object.keys(G).every(F=>Te(R[F],G[F]))},ignored:()=>!0};function Tr(R,G,F){return Ve[F.paths](R.root,G.root,F.matrixParams)&&tr[F.queryParams](R.queryParams,G.queryParams)&&!("exact"===F.fragment&&R.fragment!==G.fragment)}function fo(R,G,F){return cr(R,G,G.segments,F)}function cr(R,G,F,K){if(R.segments.length>F.length){const gt=R.segments.slice(0,F.length);return!(!z(gt,F)||G.hasChildren()||!Lt(gt,F,K))}if(R.segments.length===F.length){if(!z(R.segments,F)||!Lt(R.segments,F,K))return!1;for(const gt in G.children)if(!R.children[gt]||!fo(R.children[gt],G.children[gt],K))return!1;return!0}{const gt=F.slice(0,R.segments.length),Vt=F.slice(R.segments.length);return!!(z(R.segments,gt)&&Lt(R.segments,gt,K)&&R.children[Yt])&&cr(R.children[Yt],G,Vt,K)}}function Lt(R,G,F){return G.every((K,gt)=>tr[F](R[gt].parameters,K.parameters))}class At{root;queryParams;fragment;_queryParamMap;constructor(G=new Zt([],{}),F={},K=null){this.root=G,this.queryParams=F,this.fragment=K}get queryParamMap(){return this._queryParamMap??=$e(this.queryParams),this._queryParamMap}toString(){return Se.serialize(this)}}class Zt{segments;children;parent=null;constructor(G,F){this.segments=G,this.children=F,Object.values(F).forEach(K=>K.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Sr(this)}}class W{path;parameters;_parameterMap;constructor(G,F){this.path=G,this.parameters=F}get parameterMap(){return this._parameterMap??=$e(this.parameters),this._parameterMap}toString(){return Ho(this)}}function z(R,G){return R.length===G.length&&R.every((F,K)=>F.path===G[K].path)}let ue=(()=>{class R{static \u0275fac=function(K){return new(K||R)};static \u0275prov=n.jDH({token:R,factory:()=>new he,providedIn:"root"})}return R})();class he{parse(G){const F=new ko(G);return new At(F.parseRootSegment(),F.parseQueryParams(),F.parseFragment())}serialize(G){const F=`/${ar(G.root,!0)}`,K=function ze(R){const G=Object.entries(R).map(([F,K])=>Array.isArray(K)?K.map(gt=>`${Mr(F)}=${Mr(gt)}`).join("&"):`${Mr(F)}=${Mr(K)}`).filter(F=>F);return G.length?`?${G.join("&")}`:""}(G.queryParams);return`${F}${K}${"string"==typeof G.fragment?`#${function ao(R){return encodeURI(R)}(G.fragment)}`:""}`}}const Se=new he;function Sr(R){return R.segments.map(G=>Ho(G)).join("/")}function ar(R,G){if(!R.hasChildren())return Sr(R);if(G){const F=R.children[Yt]?ar(R.children[Yt],!1):"",K=[];return Object.entries(R.children).forEach(([gt,Vt])=>{gt!==Yt&&K.push(`${gt}:${ar(Vt,!1)}`)}),K.length>0?`${F}(${K.join("//")})`:F}{const F=function Rt(R,G){let F=[];return Object.entries(R.children).forEach(([K,gt])=>{K===Yt&&(F=F.concat(G(gt,K)))}),Object.entries(R.children).forEach(([K,gt])=>{K!==Yt&&(F=F.concat(G(gt,K)))}),F}(R,(K,gt)=>gt===Yt?[ar(R.children[Yt],!1)]:[`${gt}:${ar(K,!1)}`]);return 1===Object.keys(R.children).length&&null!=R.children[Yt]?`${Sr(R)}/${F[0]}`:`${Sr(R)}/(${F.join("//")})`}}function dr(R){return encodeURIComponent(R).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Mr(R){return dr(R).replace(/%3B/gi,";")}function xr(R){return dr(R).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function zo(R){return decodeURIComponent(R)}function To(R){return zo(R.replace(/\+/g,"%20"))}function Ho(R){return`${xr(R.path)}${function we(R){return Object.entries(R).map(([G,F])=>`;${xr(G)}=${xr(F)}`).join("")}(R.parameters)}`}const Mt=/^[^\/()?;#]+/;function Wt(R){const G=R.match(Mt);return G?G[0]:""}const $t=/^[^\/()?;=#]+/,ce=/^[^=?&#]+/,vr=/^[^&#]+/;class ko{url;remaining;constructor(G){this.url=G,this.remaining=G}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Zt([],{}):new Zt([],this.parseChildren())}parseQueryParams(){const G={};if(this.consumeOptional("?"))do{this.parseQueryParam(G)}while(this.consumeOptional("&"));return G}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const G=[];for(this.peekStartsWith("(")||G.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),G.push(this.parseSegment());let F={};this.peekStartsWith("/(")&&(this.capture("/"),F=this.parseParens(!0));let K={};return this.peekStartsWith("(")&&(K=this.parseParens(!1)),(G.length>0||Object.keys(F).length>0)&&(K[Yt]=new Zt(G,F)),K}parseSegment(){const G=Wt(this.remaining);if(""===G&&this.peekStartsWith(";"))throw new n.wOt(4009,!1);return this.capture(G),new W(zo(G),this.parseMatrixParams())}parseMatrixParams(){const G={};for(;this.consumeOptional(";");)this.parseParam(G);return G}parseParam(G){const F=function Ce(R){const G=R.match($t);return G?G[0]:""}(this.remaining);if(!F)return;this.capture(F);let K="";if(this.consumeOptional("=")){const gt=Wt(this.remaining);gt&&(K=gt,this.capture(K))}G[zo(F)]=zo(K)}parseQueryParam(G){const F=function Be(R){const G=R.match(ce);return G?G[0]:""}(this.remaining);if(!F)return;this.capture(F);let K="";if(this.consumeOptional("=")){const De=function qr(R){const G=R.match(vr);return G?G[0]:""}(this.remaining);De&&(K=De,this.capture(K))}const gt=To(F),Vt=To(K);if(G.hasOwnProperty(gt)){let De=G[gt];Array.isArray(De)||(De=[De],G[gt]=De),De.push(Vt)}else G[gt]=Vt}parseParens(G){const F={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const K=Wt(this.remaining),gt=this.remaining[K.length];if("/"!==gt&&")"!==gt&&";"!==gt)throw new n.wOt(4010,!1);let Vt;K.indexOf(":")>-1?(Vt=K.slice(0,K.indexOf(":")),this.capture(Vt),this.capture(":")):G&&(Vt=Yt);const De=this.parseChildren();F[Vt]=1===Object.keys(De).length?De[Yt]:new Zt([],De),this.consumeOptional("//")}return F}peekStartsWith(G){return this.remaining.startsWith(G)}consumeOptional(G){return!!this.peekStartsWith(G)&&(this.remaining=this.remaining.substring(G.length),!0)}capture(G){if(!this.consumeOptional(G))throw new n.wOt(4011,!1)}}function sn(R){return R.segments.length>0?new Zt([],{[Yt]:R}):R}function hn(R){const G={};for(const[K,gt]of Object.entries(R.children)){const Vt=hn(gt);if(K===Yt&&0===Vt.segments.length&&Vt.hasChildren())for(const[De,pr]of Object.entries(Vt.children))G[De]=pr;else(Vt.segments.length>0||Vt.hasChildren())&&(G[K]=Vt)}return function Zn(R){if(1===R.numberOfChildren&&R.children[Yt]){const G=R.children[Yt];return new Zt(R.segments.concat(G.segments),G.children)}return R}(new Zt(R.segments,G))}function Je(R){return R instanceof At}function te(R){let G;const gt=sn(function F(Vt){const De={};for(const nr of Vt.children){const uo=F(nr);De[nr.outlet]=uo}const pr=new Zt(Vt.url,De);return Vt===R&&(G=pr),pr}(R.root));return G??gt}function Re(R,G,F,K){let gt=R;for(;gt.parent;)gt=gt.parent;if(0===G.length)return po(gt,gt,gt,F,K);const Vt=function ua(R){if("string"==typeof R[0]&&1===R.length&&"/"===R[0])return new Ln(!0,0,R);let G=0,F=!1;const K=R.reduce((gt,Vt,De)=>{if("object"==typeof Vt&&null!=Vt){if(Vt.outlets){const pr={};return Object.entries(Vt.outlets).forEach(([nr,uo])=>{pr[nr]="string"==typeof uo?uo.split("/"):uo}),[...gt,{outlets:pr}]}if(Vt.segmentPath)return[...gt,Vt.segmentPath]}return"string"!=typeof Vt?[...gt,Vt]:0===De?(Vt.split("/").forEach((pr,nr)=>{0==nr&&"."===pr||(0==nr&&""===pr?F=!0:".."===pr?G++:""!=pr&>.push(pr))}),gt):[...gt,Vt]},[]);return new Ln(F,G,K)}(G);if(Vt.toRoot())return po(gt,gt,new Zt([],{}),F,K);const De=function cn(R,G,F){if(R.isAbsolute)return new $i(G,!0,0);if(!F)return new $i(G,!1,NaN);if(null===F.parent)return new $i(F,!0,0);const K=ir(R.commands[0])?0:1;return function qi(R,G,F){let K=R,gt=G,Vt=F;for(;Vt>gt;){if(Vt-=gt,K=K.parent,!K)throw new n.wOt(4005,!1);gt=K.segments.length}return new $i(K,!1,gt-Vt)}(F,F.segments.length-1+K,R.numberOfDoubleDots)}(Vt,gt,R),pr=De.processChildren?Fi(De.segmentGroup,De.index,Vt.commands):Ji(De.segmentGroup,De.index,Vt.commands);return po(gt,De.segmentGroup,pr,F,K)}function ir(R){return"object"==typeof R&&null!=R&&!R.outlets&&!R.segmentPath}function gr(R){return"object"==typeof R&&null!=R&&R.outlets}function po(R,G,F,K,gt){let De,Vt={};K&&Object.entries(K).forEach(([nr,uo])=>{Vt[nr]=Array.isArray(uo)?uo.map(un=>`${un}`):`${uo}`}),De=R===G?F:ki(R,G,F);const pr=sn(hn(De));return new At(pr,Vt,gt)}function ki(R,G,F){const K={};return Object.entries(R.children).forEach(([gt,Vt])=>{K[gt]=Vt===G?F:ki(Vt,G,F)}),new Zt(R.segments,K)}class Ln{isAbsolute;numberOfDoubleDots;commands;constructor(G,F,K){if(this.isAbsolute=G,this.numberOfDoubleDots=F,this.commands=K,G&&K.length>0&&ir(K[0]))throw new n.wOt(4003,!1);const gt=K.find(gr);if(gt&>!==Ke(K))throw new n.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class $i{segmentGroup;processChildren;index;constructor(G,F,K){this.segmentGroup=G,this.processChildren=F,this.index=K}}function Ji(R,G,F){if(R??=new Zt([],{}),0===R.segments.length&&R.hasChildren())return Fi(R,G,F);const K=function is(R,G,F){let K=0,gt=G;const Vt={match:!1,pathIndex:0,commandIndex:0};for(;gt=F.length)return Vt;const De=R.segments[gt],pr=F[K];if(gr(pr))break;const nr=`${pr}`,uo=K0&&void 0===nr)break;if(nr&&uo&&"object"==typeof uo&&void 0===uo.outlets){if(!Mi(nr,uo,De))return Vt;K+=2}else{if(!Mi(nr,{},De))return Vt;K++}gt++}return{match:!0,pathIndex:gt,commandIndex:K}}(R,G,F),gt=F.slice(K.commandIndex);if(K.match&&K.pathIndexVt!==Yt)&&R.children[Yt]&&1===R.numberOfChildren&&0===R.children[Yt].segments.length){const Vt=Fi(R.children[Yt],G,F);return new Zt(R.segments,Vt.children)}return Object.entries(K).forEach(([Vt,De])=>{"string"==typeof De&&(De=[De]),null!==De&&(gt[Vt]=Ji(R.children[Vt],G,De))}),Object.entries(R.children).forEach(([Vt,De])=>{void 0===K[Vt]&&(gt[Vt]=De)}),new Zt(R.segments,gt)}}function si(R,G,F){const K=R.segments.slice(0,G);let gt=0;for(;gt{"string"==typeof K&&(K=[K]),null!==K&&(G[F]=si(new Zt([],{}),0,K))}),G}function On(R){const G={};return Object.entries(R).forEach(([F,K])=>G[F]=`${K}`),G}function Mi(R,G,F){return R==F.path&&ie(G,F.parameters)}const Jt="imperative";var ke=function(R){return R[R.NavigationStart=0]="NavigationStart",R[R.NavigationEnd=1]="NavigationEnd",R[R.NavigationCancel=2]="NavigationCancel",R[R.NavigationError=3]="NavigationError",R[R.RoutesRecognized=4]="RoutesRecognized",R[R.ResolveStart=5]="ResolveStart",R[R.ResolveEnd=6]="ResolveEnd",R[R.GuardsCheckStart=7]="GuardsCheckStart",R[R.GuardsCheckEnd=8]="GuardsCheckEnd",R[R.RouteConfigLoadStart=9]="RouteConfigLoadStart",R[R.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",R[R.ChildActivationStart=11]="ChildActivationStart",R[R.ChildActivationEnd=12]="ChildActivationEnd",R[R.ActivationStart=13]="ActivationStart",R[R.ActivationEnd=14]="ActivationEnd",R[R.Scroll=15]="Scroll",R[R.NavigationSkipped=16]="NavigationSkipped",R}(ke||{});class de{id;url;constructor(G,F){this.id=G,this.url=F}}class ft extends de{type=ke.NavigationStart;navigationTrigger;restoredState;constructor(G,F,K="imperative",gt=null){super(G,F),this.navigationTrigger=K,this.restoredState=gt}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Gt extends de{urlAfterRedirects;type=ke.NavigationEnd;constructor(G,F,K){super(G,F),this.urlAfterRedirects=K}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Ot=function(R){return R[R.Redirect=0]="Redirect",R[R.SupersededByNewNavigation=1]="SupersededByNewNavigation",R[R.NoDataFromResolver=2]="NoDataFromResolver",R[R.GuardRejected=3]="GuardRejected",R}(Ot||{}),me=function(R){return R[R.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",R[R.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",R}(me||{});class He extends de{reason;code;type=ke.NavigationCancel;constructor(G,F,K,gt){super(G,F),this.reason=K,this.code=gt}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Me extends de{reason;code;type=ke.NavigationSkipped;constructor(G,F,K,gt){super(G,F),this.reason=K,this.code=gt}}class ur extends de{error;target;type=ke.NavigationError;constructor(G,F,K,gt){super(G,F),this.error=K,this.target=gt}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Er extends de{urlAfterRedirects;state;type=ke.RoutesRecognized;constructor(G,F,K,gt){super(G,F),this.urlAfterRedirects=K,this.state=gt}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class kr extends de{urlAfterRedirects;state;type=ke.GuardsCheckStart;constructor(G,F,K,gt){super(G,F),this.urlAfterRedirects=K,this.state=gt}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Rr extends de{urlAfterRedirects;state;shouldActivate;type=ke.GuardsCheckEnd;constructor(G,F,K,gt,Vt){super(G,F),this.urlAfterRedirects=K,this.state=gt,this.shouldActivate=Vt}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class $r extends de{urlAfterRedirects;state;type=ke.ResolveStart;constructor(G,F,K,gt){super(G,F),this.urlAfterRedirects=K,this.state=gt}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Jr extends de{urlAfterRedirects;state;type=ke.ResolveEnd;constructor(G,F,K,gt){super(G,F),this.urlAfterRedirects=K,this.state=gt}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class so{route;type=ke.RouteConfigLoadStart;constructor(G){this.route=G}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class xo{route;type=ke.RouteConfigLoadEnd;constructor(G){this.route=G}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Eo{snapshot;type=ke.ChildActivationStart;constructor(G){this.snapshot=G}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bn{snapshot;type=ke.ChildActivationEnd;constructor(G){this.snapshot=G}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rn{snapshot;type=ke.ActivationStart;constructor(G){this.snapshot=G}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mn{snapshot;type=ke.ActivationEnd;constructor(G){this.snapshot=G}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ro{routerEvent;position;anchor;type=ke.Scroll;constructor(G,F,K){this.routerEvent=G,this.position=F,this.anchor=K}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Qo{}class Fo{url;navigationBehaviorOptions;constructor(G,F){this.url=G,this.navigationBehaviorOptions=F}}function Ri(R){return R.outlet||Yt}function Ki(R){if(!R)return null;if(R.routeConfig?._injector)return R.routeConfig._injector;for(let G=R.parent;G;G=G.parent){const F=G.routeConfig;if(F?._loadedInjector)return F._loadedInjector;if(F?._injector)return F._injector}return null}class gi{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Ki(this.route?.snapshot)??this.rootInjector}constructor(G){this.rootInjector=G,this.children=new Gi(this.rootInjector)}}let Gi=(()=>{class R{rootInjector;contexts=new Map;constructor(F){this.rootInjector=F}onChildOutletCreated(F,K){const gt=this.getOrCreateContext(F);gt.outlet=K,this.contexts.set(F,gt)}onChildOutletDestroyed(F){const K=this.getContext(F);K&&(K.outlet=null,K.attachRef=null)}onOutletDeactivated(){const F=this.contexts;return this.contexts=new Map,F}onOutletReAttached(F){this.contexts=F}getOrCreateContext(F){let K=this.getContext(F);return K||(K=new gi(this.rootInjector),this.contexts.set(F,K)),K}getContext(F){return this.contexts.get(F)||null}static \u0275fac=function(K){return new(K||R)(n.KVO(n.uvJ))};static \u0275prov=n.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})();class Ra{_root;constructor(G){this._root=G}get root(){return this._root.value}parent(G){const F=this.pathFromRoot(G);return F.length>1?F[F.length-2]:null}children(G){const F=Xo(G,this._root);return F?F.children.map(K=>K.value):[]}firstChild(G){const F=Xo(G,this._root);return F&&F.children.length>0?F.children[0].value:null}siblings(G){const F=Ca(G,this._root);return F.length<2?[]:F[F.length-2].children.map(gt=>gt.value).filter(gt=>gt!==G)}pathFromRoot(G){return Ca(G,this._root).map(F=>F.value)}}function Xo(R,G){if(R===G.value)return G;for(const F of G.children){const K=Xo(R,F);if(K)return K}return null}function Ca(R,G){if(R===G.value)return[G];for(const F of G.children){const K=Ca(R,F);if(K.length)return K.unshift(G),K}return[]}class fi{value;children;constructor(G,F){this.value=G,this.children=F}toString(){return`TreeNode(${this.value})`}}function ni(R){const G={};return R&&R.children.forEach(F=>G[F.value.outlet]=F),G}class ha extends Ra{snapshot;constructor(G,F){super(G),this.snapshot=F,Ga(this,G)}toString(){return this.snapshot.toString()}}function Xi(R){const G=function Qs(R){const Vt=new co([],{},{},"",{},Yt,R,null,{});return new Da("",new fi(Vt,[]))}(R),F=new k.t([new W("",{})]),K=new k.t({}),gt=new k.t({}),Vt=new k.t({}),De=new k.t(""),pr=new mi(F,K,Vt,De,gt,Yt,R,G.root);return pr.snapshot=G.root,new ha(new fi(pr,[]),G)}class mi{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(G,F,K,gt,Vt,De,pr,nr){this.urlSubject=G,this.paramsSubject=F,this.queryParamsSubject=K,this.fragmentSubject=gt,this.dataSubject=Vt,this.outlet=De,this.component=pr,this._futureSnapshot=nr,this.title=this.dataSubject?.pipe((0,pt.T)(uo=>uo[oe]))??(0,y.of)(void 0),this.url=G,this.params=F,this.queryParams=K,this.fragment=gt,this.data=Vt}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,pt.T)(G=>$e(G))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,pt.T)(G=>$e(G))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ci(R,G,F="emptyOnly"){let K;const{routeConfig:gt}=R;return K=null===G||"always"!==F&&""!==gt?.path&&(G.component||G.routeConfig?.loadComponent)?{params:{...R.params},data:{...R.data},resolve:{...R.data,...R._resolvedData??{}}}:{params:{...G.params,...R.params},data:{...G.data,...R.data},resolve:{...R.data,...G.data,...gt?.data,...R._resolvedData}},gt&&Vn(gt)&&(K.resolve[oe]=gt.title),K}class co{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[oe]}constructor(G,F,K,gt,Vt,De,pr,nr,uo){this.url=G,this.params=F,this.queryParams=K,this.fragment=gt,this.data=Vt,this.outlet=De,this.component=pr,this.routeConfig=nr,this._resolve=uo}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??=$e(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=$e(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(K=>K.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Da extends Ra{url;constructor(G,F){super(F),this.url=G,Ga(this,F)}toString(){return ma(this._root)}}function Ga(R,G){G.value._routerState=R,G.children.forEach(F=>Ga(R,F))}function ma(R){const G=R.children.length>0?` { ${R.children.map(ma).join(", ")} } `:"";return`${R.value}${G}`}function cs(R){if(R.snapshot){const G=R.snapshot,F=R._futureSnapshot;R.snapshot=F,ie(G.queryParams,F.queryParams)||R.queryParamsSubject.next(F.queryParams),G.fragment!==F.fragment&&R.fragmentSubject.next(F.fragment),ie(G.params,F.params)||R.paramsSubject.next(F.params),function wt(R,G){if(R.length!==G.length)return!1;for(let F=0;Fie(F.parameters,G[K].parameters))}(R.url,G.url);return F&&!(!R.parent!=!G.parent)&&(!R.parent||ca(R.parent,G.parent))}function Vn(R){return"string"==typeof R.title||null===R.title}const cc=new n.nKC("");let ls=(()=>{class R{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Yt;activateEvents=new n.bkB;deactivateEvents=new n.bkB;attachEvents=new n.bkB;detachEvents=new n.bkB;routerOutletData=(0,n.hFB)(void 0);parentContexts=(0,n.WQX)(Gi);location=(0,n.WQX)(n.c1b);changeDetector=(0,n.WQX)(n.gRc);inputBinder=(0,n.WQX)(Aa,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(F){if(F.name){const{firstChange:K,previousValue:gt}=F.name;if(K)return;this.isTrackedInParentContexts(gt)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(gt)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(F){return this.parentContexts.getContext(F)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const F=this.parentContexts.getContext(this.name);F?.route&&(F.attachRef?this.attach(F.attachRef,F.route):this.activateWith(F.route,F.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new n.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new n.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new n.wOt(4012,!1);this.location.detach();const F=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(F.instance),F}attach(F,K){this.activated=F,this._activatedRoute=K,this.location.insert(F.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(F.instance)}deactivate(){if(this.activated){const F=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(F)}}activateWith(F,K){if(this.isActivated)throw new n.wOt(4013,!1);this._activatedRoute=F;const gt=this.location,De=F.snapshot.component,pr=this.parentContexts.getOrCreateContext(this.name).children,nr=new Sa(F,pr,gt.injector,this.routerOutletData);this.activated=gt.createComponent(De,{index:gt.length,injector:nr,environmentInjector:K}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(K){return new(K||R)};static \u0275dir=n.FsC({type:R,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[n.OA$]})}return R})();class Sa{route;childContexts;parent;outletData;__ngOutletInjector(G){return new Sa(this.route,this.childContexts,G,this.outletData)}constructor(G,F,K,gt){this.route=G,this.childContexts=F,this.parent=K,this.outletData=gt}get(G,F){return G===mi?this.route:G===Gi?this.childContexts:G===cc?this.outletData:this.parent.get(G,F)}}const Aa=new n.nKC("");let Na=(()=>{class R{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(F){this.unsubscribeFromRouteData(F),this.subscribeToRouteData(F)}unsubscribeFromRouteData(F){this.outletDataSubscriptions.get(F)?.unsubscribe(),this.outletDataSubscriptions.delete(F)}subscribeToRouteData(F){const{activatedRoute:K}=F,gt=(0,C.z)([K.queryParams,K.params,K.data]).pipe((0,kt.n)(([Vt,De,pr],nr)=>(pr={...Vt,...De,...pr},0===nr?(0,y.of)(pr):Promise.resolve(pr)))).subscribe(Vt=>{if(!F.isActivated||!F.activatedComponentRef||F.activatedRoute!==K||null===K.component)return void this.unsubscribeFromRouteData(F);const De=(0,n.HJs)(K.component);if(De)for(const{templateName:pr}of De.inputs)F.activatedComponentRef.setInput(pr,Vt[pr]);else this.unsubscribeFromRouteData(F)});this.outletDataSubscriptions.set(F,gt)}static \u0275fac=function(K){return new(K||R)};static \u0275prov=n.jDH({token:R,factory:R.\u0275fac})}return R})();function Bi(R,G,F){if(F&&R.shouldReuseRoute(G.value,F.value.snapshot)){const K=F.value;K._futureSnapshot=G.value;const gt=function ci(R,G,F){return G.children.map(K=>{for(const gt of F.children)if(R.shouldReuseRoute(K.value,gt.value.snapshot))return Bi(R,K,gt);return Bi(R,K)})}(R,G,F);return new fi(K,gt)}{if(R.shouldAttach(G.value)){const Vt=R.retrieve(G.value);if(null!==Vt){const De=Vt.route;return De.value._futureSnapshot=G.value,De.children=G.children.map(pr=>Bi(R,pr)),De}}const K=function ga(R){return new mi(new k.t(R.url),new k.t(R.params),new k.t(R.queryParams),new k.t(R.fragment),new k.t(R.data),R.outlet,R.component,R)}(G.value),gt=G.children.map(Vt=>Bi(R,Vt));return new fi(K,gt)}}class Cs{redirectTo;navigationBehaviorOptions;constructor(G,F){this.redirectTo=G,this.navigationBehaviorOptions=F}}const Ta="ngNavigationCancelingError";function Ua(R,G){const{redirectTo:F,navigationBehaviorOptions:K}=Je(G)?{redirectTo:G,navigationBehaviorOptions:void 0}:G,gt=ds(!1,Ot.Redirect);return gt.url=F,gt.navigationBehaviorOptions=K,gt}function ds(R,G){const F=new Error(`NavigationCancelingError: ${R||""}`);return F[Ta]=!0,F.cancellationCode=G,F}function Ds(R){return!!R&&R[Ta]}class et{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(G,F,K,gt,Vt){this.routeReuseStrategy=G,this.futureState=F,this.currState=K,this.forwardEvent=gt,this.inputBindingEnabled=Vt}activate(G){const F=this.futureState._root,K=this.currState?this.currState._root:null;this.deactivateChildRoutes(F,K,G),cs(this.futureState.root),this.activateChildRoutes(F,K,G)}deactivateChildRoutes(G,F,K){const gt=ni(F);G.children.forEach(Vt=>{const De=Vt.value.outlet;this.deactivateRoutes(Vt,gt[De],K),delete gt[De]}),Object.values(gt).forEach(Vt=>{this.deactivateRouteAndItsChildren(Vt,K)})}deactivateRoutes(G,F,K){const gt=G.value,Vt=F?F.value:null;if(gt===Vt)if(gt.component){const De=K.getContext(gt.outlet);De&&this.deactivateChildRoutes(G,F,De.children)}else this.deactivateChildRoutes(G,F,K);else Vt&&this.deactivateRouteAndItsChildren(F,K)}deactivateRouteAndItsChildren(G,F){G.value.component&&this.routeReuseStrategy.shouldDetach(G.value.snapshot)?this.detachAndStoreRouteSubtree(G,F):this.deactivateRouteAndOutlet(G,F)}detachAndStoreRouteSubtree(G,F){const K=F.getContext(G.value.outlet),gt=K&&G.value.component?K.children:F,Vt=ni(G);for(const De of Object.values(Vt))this.deactivateRouteAndItsChildren(De,gt);if(K&&K.outlet){const De=K.outlet.detach(),pr=K.children.onOutletDeactivated();this.routeReuseStrategy.store(G.value.snapshot,{componentRef:De,route:G,contexts:pr})}}deactivateRouteAndOutlet(G,F){const K=F.getContext(G.value.outlet),gt=K&&G.value.component?K.children:F,Vt=ni(G);for(const De of Object.values(Vt))this.deactivateRouteAndItsChildren(De,gt);K&&(K.outlet&&(K.outlet.deactivate(),K.children.onOutletDeactivated()),K.attachRef=null,K.route=null)}activateChildRoutes(G,F,K){const gt=ni(F);G.children.forEach(Vt=>{this.activateRoutes(Vt,gt[Vt.value.outlet],K),this.forwardEvent(new Mn(Vt.value.snapshot))}),G.children.length&&this.forwardEvent(new bn(G.value.snapshot))}activateRoutes(G,F,K){const gt=G.value,Vt=F?F.value:null;if(cs(gt),gt===Vt)if(gt.component){const De=K.getOrCreateContext(gt.outlet);this.activateChildRoutes(G,F,De.children)}else this.activateChildRoutes(G,F,K);else if(gt.component){const De=K.getOrCreateContext(gt.outlet);if(this.routeReuseStrategy.shouldAttach(gt.snapshot)){const pr=this.routeReuseStrategy.retrieve(gt.snapshot);this.routeReuseStrategy.store(gt.snapshot,null),De.children.onOutletReAttached(pr.contexts),De.attachRef=pr.componentRef,De.route=pr.route.value,De.outlet&&De.outlet.attach(pr.componentRef,pr.route.value),cs(pr.route.value),this.activateChildRoutes(G,null,De.children)}else De.attachRef=null,De.route=gt,De.outlet&&De.outlet.activateWith(gt,De.injector),this.activateChildRoutes(G,null,De.children)}else this.activateChildRoutes(G,null,K)}}class ne{path;route;constructor(G){this.path=G,this.route=this.path[this.path.length-1]}}class Ee{component;route;constructor(G,F){this.component=G,this.route=F}}function Fr(R,G,F){const K=R._root;return Qr(K,G?G._root:null,F,[K.value])}function Hr(R,G){const F=Symbol(),K=G.get(R,F);return K===F?"function"!=typeof R||(0,n.LfX)(R)?G.get(R):R:K}function Qr(R,G,F,K,gt={canDeactivateChecks:[],canActivateChecks:[]}){const Vt=ni(G);return R.children.forEach(De=>{(function qo(R,G,F,K,gt={canDeactivateChecks:[],canActivateChecks:[]}){const Vt=R.value,De=G?G.value:null,pr=F?F.getContext(R.value.outlet):null;if(De&&Vt.routeConfig===De.routeConfig){const nr=function Wn(R,G,F){if("function"==typeof F)return F(R,G);switch(F){case"pathParamsChange":return!z(R.url,G.url);case"pathParamsOrQueryParamsChange":return!z(R.url,G.url)||!ie(R.queryParams,G.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ca(R,G)||!ie(R.queryParams,G.queryParams);default:return!ca(R,G)}}(De,Vt,Vt.routeConfig.runGuardsAndResolvers);nr?gt.canActivateChecks.push(new ne(K)):(Vt.data=De.data,Vt._resolvedData=De._resolvedData),Qr(R,G,Vt.component?pr?pr.children:null:F,K,gt),nr&&pr&&pr.outlet&&pr.outlet.isActivated&>.canDeactivateChecks.push(new Ee(pr.outlet.component,De))}else De&&Mo(G,pr,gt),gt.canActivateChecks.push(new ne(K)),Qr(R,null,Vt.component?pr?pr.children:null:F,K,gt)})(De,Vt[De.value.outlet],F,K.concat([De.value]),gt),delete Vt[De.value.outlet]}),Object.entries(Vt).forEach(([De,pr])=>Mo(pr,F.getContext(De),gt)),gt}function Mo(R,G,F){const K=ni(R),gt=R.value;Object.entries(K).forEach(([Vt,De])=>{Mo(De,gt.component?G?G.children.getContext(Vt):null:G,F)}),F.canDeactivateChecks.push(new Ee(gt.component&&G&&G.outlet&&G.outlet.isActivated?G.outlet.component:null,gt))}function gn(R){return"function"==typeof R}function Us(R){return R instanceof A.G||"EmptyError"===R?.name}const $s=Symbol("INITIAL_VALUE");function us(){return(0,kt.n)(R=>(0,C.z)(R.map(G=>G.pipe((0,Et.s)(1),(0,It.Z)($s)))).pipe((0,pt.T)(G=>{for(const F of G)if(!0!==F){if(F===$s)return $s;if(!1===F||lt(F))return F}return!0}),(0,yt.p)(G=>G!==$s),(0,Et.s)(1)))}function lt(R){return Je(R)||R instanceof Cs}function js(R){return(0,O.F)((0,vt.M)(G=>{if("boolean"!=typeof G)throw Ua(0,G)}),(0,pt.T)(G=>!0===G))}class lc{segmentGroup;constructor(G){this.segmentGroup=G||null}}class wn extends Error{urlTree;constructor(G){super(),this.urlTree=G}}function la(R){return(0,P.$)(new lc(R))}class Fd{urlSerializer;urlTree;constructor(G,F){this.urlSerializer=G,this.urlTree=F}lineralizeSegments(G,F){let K=[],gt=F.root;for(;;){if(K=K.concat(gt.segments),0===gt.numberOfChildren)return(0,y.of)(K);if(gt.numberOfChildren>1||!gt.children[Yt])return(0,P.$)(new n.wOt(4e3,!1));gt=gt.children[Yt]}}applyRedirectCommands(G,F,K,gt,Vt){if("string"!=typeof F){const pr=F,{queryParams:nr,fragment:uo,routeConfig:un,url:Io,outlet:Gn,params:Ia,data:na,title:Os}=gt,da=(0,n.N4e)(Vt,()=>pr({params:Ia,data:na,queryParams:nr,fragment:uo,routeConfig:un,url:Io,outlet:Gn,title:Os}));if(da instanceof At)throw new wn(da);F=da}const De=this.applyRedirectCreateUrlTree(F,this.urlSerializer.parse(F),G,K);if("/"===F[0])throw new wn(De);return De}applyRedirectCreateUrlTree(G,F,K,gt){const Vt=this.createSegmentGroup(G,F.root,K,gt);return new At(Vt,this.createQueryParams(F.queryParams,this.urlTree.queryParams),F.fragment)}createQueryParams(G,F){const K={};return Object.entries(G).forEach(([gt,Vt])=>{if("string"==typeof Vt&&":"===Vt[0]){const pr=Vt.substring(1);K[gt]=F[pr]}else K[gt]=Vt}),K}createSegmentGroup(G,F,K,gt){const Vt=this.createSegments(G,F.segments,K,gt);let De={};return Object.entries(F.children).forEach(([pr,nr])=>{De[pr]=this.createSegmentGroup(G,nr,K,gt)}),new Zt(Vt,De)}createSegments(G,F,K,gt){return F.map(Vt=>":"===Vt.path[0]?this.findPosParam(G,Vt,gt):this.findOrReturn(Vt,K))}findPosParam(G,F,K){const gt=K[F.path.substring(1)];if(!gt)throw new n.wOt(4001,!1);return gt}findOrReturn(G,F){let K=0;for(const gt of F){if(gt.path===G.path)return F.splice(K),gt;K++}return G}}const _c={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function dc(R,G,F,K,gt){const Vt=vn(R,G,F);return Vt.matched?(K=function ta(R,G){return R.providers&&!R._injector&&(R._injector=(0,n.Ol2)(R.providers,G,`Route: ${R.path}`)),R._injector??G}(G,K),function pl(R,G,F,K){const gt=G.canMatch;if(!gt||0===gt.length)return(0,y.of)(!0);const Vt=gt.map(De=>{const pr=Hr(De,R);return re(function Hi(R){return R&&gn(R.canMatch)}(pr)?pr.canMatch(G,F):(0,n.N4e)(R,()=>pr(G,F)))});return(0,y.of)(Vt).pipe(us(),js())}(K,G,F).pipe((0,pt.T)(De=>!0===De?Vt:{..._c}))):(0,y.of)(Vt)}function vn(R,G,F){if("**"===G.path)return function Ic(R){return{matched:!0,parameters:R.length>0?Ke(R).parameters:{},consumedSegments:R,remainingSegments:[],positionalParamSegments:{}}}(F);if(""===G.path)return"full"===G.pathMatch&&(R.hasChildren()||F.length>0)?{..._c}:{matched:!0,consumedSegments:[],remainingSegments:F,parameters:{},positionalParamSegments:{}};const gt=(G.matcher||Dt)(F,R,G);if(!gt)return{..._c};const Vt={};Object.entries(gt.posParams??{}).forEach(([pr,nr])=>{Vt[pr]=nr.path});const De=gt.consumed.length>0?{...Vt,...gt.consumed[gt.consumed.length-1].parameters}:Vt;return{matched:!0,consumedSegments:gt.consumed,remainingSegments:F.slice(gt.consumed.length),parameters:De,positionalParamSegments:gt.posParams??{}}}function td(R,G,F,K){return F.length>0&&function $a(R,G,F){return F.some(K=>Ss(R,G,K)&&Ri(K)!==Yt)}(R,F,K)?{segmentGroup:new Zt(G,uc(K,new Zt(F,R.children))),slicedSegments:[]}:0===F.length&&function Oc(R,G,F){return F.some(K=>Ss(R,G,K))}(R,F,K)?{segmentGroup:new Zt(R.segments,ed(R,F,K,R.children)),slicedSegments:F}:{segmentGroup:new Zt(R.segments,R.children),slicedSegments:F}}function ed(R,G,F,K){const gt={};for(const Vt of F)if(Ss(R,G,Vt)&&!K[Ri(Vt)]){const De=new Zt([],{});gt[Ri(Vt)]=De}return{...K,...gt}}function uc(R,G){const F={};F[Yt]=G;for(const K of R)if(""===K.path&&Ri(K)!==Yt){const gt=new Zt([],{});F[Ri(K)]=gt}return F}function Ss(R,G,F){return(!(R.hasChildren()||G.length>0)||"full"!==F.pathMatch)&&""===F.path}class ja{}class od{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(G,F,K,gt,Vt,De,pr){this.injector=G,this.configLoader=F,this.rootComponentType=K,this.config=gt,this.urlTree=Vt,this.paramsInheritanceStrategy=De,this.urlSerializer=pr,this.applyRedirects=new Fd(this.urlSerializer,this.urlTree)}noMatchError(G){return new n.wOt(4002,`'${G.segmentGroup}'`)}recognize(){const G=td(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(G).pipe((0,pt.T)(({children:F,rootSnapshot:K})=>{const gt=new fi(K,F),Vt=new Da("",gt),De=function Ae(R,G,F=null,K=null){return Re(te(R),G,F,K)}(K,[],this.urlTree.queryParams,this.urlTree.fragment);return De.queryParams=this.urlTree.queryParams,Vt.url=this.urlSerializer.serialize(De),{state:Vt,tree:De}}))}match(G){const F=new co([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),Yt,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,G,Yt,F).pipe((0,pt.T)(K=>({children:K,rootSnapshot:F})),(0,Pt.W)(K=>{if(K instanceof wn)return this.urlTree=K.urlTree,this.match(K.urlTree.root);throw K instanceof lc?this.noMatchError(K):K}))}processSegmentGroup(G,F,K,gt,Vt){return 0===K.segments.length&&K.hasChildren()?this.processChildren(G,F,K,Vt):this.processSegment(G,F,K,K.segments,gt,!0,Vt).pipe((0,pt.T)(De=>De instanceof fi?[De]:[]))}processChildren(G,F,K,gt){const Vt=[];for(const De of Object.keys(K.children))"primary"===De?Vt.unshift(De):Vt.push(De);return(0,l.H)(Vt).pipe((0,st.H)(De=>{const pr=K.children[De],nr=function pa(R,G){const F=R.filter(K=>Ri(K)===G);return F.push(...R.filter(K=>Ri(K)!==G)),F}(F,De);return this.processSegmentGroup(G,nr,pr,De,gt)}),function ve(R,G){return(0,ae.N)((0,le.S)(R,G,arguments.length>=2,!0))}((De,pr)=>(De.push(...pr),De)),(0,se.U)(null),function wr(R,G){const F=arguments.length>=2;return K=>K.pipe(R?(0,yt.p)((gt,Vt)=>R(gt,Vt,K)):jr.D,fr(1),F?(0,se.U)(G):(0,yr.v)(()=>new A.G))}(),(0,_t.Z)(De=>{if(null===De)return la(K);const pr=jc(De);return function Al(R){R.sort((G,F)=>G.value.outlet===Yt?-1:F.value.outlet===Yt?1:G.value.outlet.localeCompare(F.value.outlet))}(pr),(0,y.of)(pr)}))}processSegment(G,F,K,gt,Vt,De,pr){return(0,l.H)(F).pipe((0,st.H)(nr=>this.processSegmentAgainstRoute(nr._injector??G,F,nr,K,gt,Vt,De,pr).pipe((0,Pt.W)(uo=>{if(uo instanceof lc)return(0,y.of)(null);throw uo}))),(0,at.$)(nr=>!!nr),(0,Pt.W)(nr=>{if(Us(nr))return function Ma(R,G,F){return 0===G.length&&!R.children[F]}(K,gt,Vt)?(0,y.of)(new ja):la(K);throw nr}))}processSegmentAgainstRoute(G,F,K,gt,Vt,De,pr,nr){return Ri(K)===De||De!==Yt&&Ss(gt,Vt,K)?void 0===K.redirectTo?this.matchSegmentAgainstRoute(G,gt,K,Vt,De,nr):this.allowRedirects&&pr?this.expandSegmentAgainstRouteUsingRedirect(G,gt,F,K,Vt,De,nr):la(gt):la(gt)}expandSegmentAgainstRouteUsingRedirect(G,F,K,gt,Vt,De,pr){const{matched:nr,parameters:uo,consumedSegments:un,positionalParamSegments:Io,remainingSegments:Gn}=vn(F,gt,Vt);if(!nr)return la(F);"string"==typeof gt.redirectTo&&"/"===gt.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Ia=new co(Vt,uo,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Vc(gt),Ri(gt),gt.component??gt._loadedComponent??null,gt,Hc(gt)),na=Ci(Ia,pr,this.paramsInheritanceStrategy);Ia.params=Object.freeze(na.params),Ia.data=Object.freeze(na.data);const Os=this.applyRedirects.applyRedirectCommands(un,gt.redirectTo,Io,Ia,G);return this.applyRedirects.lineralizeSegments(gt,Os).pipe((0,_t.Z)(da=>this.processSegment(G,K,F,da.concat(Gn),De,!1,pr)))}matchSegmentAgainstRoute(G,F,K,gt,Vt,De){const pr=dc(F,K,gt,G);return"**"===K.path&&(F.children={}),pr.pipe((0,kt.n)(nr=>nr.matched?this.getChildConfig(G=K._injector??G,K,gt).pipe((0,kt.n)(({routes:uo})=>{const un=K._loadedInjector??G,{parameters:Io,consumedSegments:Gn,remainingSegments:Ia}=nr,na=new co(Gn,Io,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Vc(K),Ri(K),K.component??K._loadedComponent??null,K,Hc(K)),Os=Ci(na,De,this.paramsInheritanceStrategy);na.params=Object.freeze(Os.params),na.data=Object.freeze(Os.data);const{segmentGroup:da,slicedSegments:Wo}=td(F,Gn,Ia,uo);if(0===Wo.length&&da.hasChildren())return this.processChildren(un,uo,da,na).pipe((0,pt.T)(Ks=>new fi(na,Ks)));if(0===uo.length&&0===Wo.length)return(0,y.of)(new fi(na,[]));const Ya=Ri(K)===Vt;return this.processSegment(un,uo,da,Wo,Ya?Yt:Vt,!0,na).pipe((0,pt.T)(Ks=>new fi(na,Ks instanceof fi?[Ks]:[])))})):la(F)))}getChildConfig(G,F,K){return F.children?(0,y.of)({routes:F.children,injector:G}):F.loadChildren?void 0!==F._loadedRoutes?(0,y.of)({routes:F._loadedRoutes,injector:F._loadedInjector}):function yc(R,G,F,K){const gt=G.canLoad;if(void 0===gt||0===gt.length)return(0,y.of)(!0);const Vt=gt.map(De=>{const pr=Hr(De,R);return re(function pn(R){return R&&gn(R.canLoad)}(pr)?pr.canLoad(G,F):(0,n.N4e)(R,()=>pr(G,F)))});return(0,y.of)(Vt).pipe(us(),js())}(G,F,K).pipe((0,_t.Z)(gt=>gt?this.configLoader.loadChildren(G,F).pipe((0,vt.M)(Vt=>{F._loadedRoutes=Vt.routes,F._loadedInjector=Vt.injector})):function vc(){return(0,P.$)(ds(!1,Ot.GuardRejected))}())):(0,y.of)({routes:[],injector:G})}}function xc(R){const G=R.value.routeConfig;return G&&""===G.path}function jc(R){const G=[],F=new Set;for(const K of R){if(!xc(K)){G.push(K);continue}const gt=G.find(Vt=>K.value.routeConfig===Vt.value.routeConfig);void 0!==gt?(gt.children.push(...K.children),F.add(gt)):G.push(K)}for(const K of F){const gt=jc(K.children);G.push(new fi(K.value,gt))}return G.filter(K=>!F.has(K))}function Vc(R){return R.data||{}}function Hc(R){return R.resolve||{}}function Vi(R){const G=R.children.map(F=>Vi(F)).flat();return[R,...G]}function Ao(R){return(0,kt.n)(G=>{const F=R(G);return F?(0,l.H)(F).pipe((0,pt.T)(()=>G)):(0,y.of)(G)})}let Rn=(()=>{class R{buildTitle(F){let K,gt=F.root;for(;void 0!==gt;)K=this.getResolvedTitleForRoute(gt)??K,gt=gt.children.find(Vt=>Vt.outlet===Yt);return K}getResolvedTitleForRoute(F){return F.data[oe]}static \u0275fac=function(K){return new(K||R)};static \u0275prov=n.jDH({token:R,factory:()=>(0,n.WQX)(wa),providedIn:"root"})}return R})(),wa=(()=>{class R extends Rn{title;constructor(F){super(),this.title=F}updateTitle(F){const K=this.buildTitle(F);void 0!==K&&this.title.setTitle(K)}static \u0275fac=function(K){return new(K||R)(n.KVO(zt.hE))};static \u0275prov=n.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})();const Qn=new n.nKC("",{providedIn:"root",factory:()=>({})});let ai=(()=>{class R{static \u0275fac=function(K){return new(K||R)};static \u0275cmp=n.VBU({type:R,selectors:[["ng-component"]],decls:1,vars:0,template:function(K,gt){1&K&&n.nrm(0,"router-outlet")},dependencies:[ls],encapsulation:2})}return R})();function Bn(R){const G=R.children&&R.children.map(Bn),F=G?{...R,children:G}:{...R};return!F.component&&!F.loadComponent&&(G||F.loadChildren)&&F.outlet&&F.outlet!==Yt&&(F.component=ai),F}const Kn=new n.nKC("");let ri=(()=>{class R{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,n.WQX)(n.Ql9);loadComponent(F){if(this.componentLoaders.get(F))return this.componentLoaders.get(F);if(F._loadedComponent)return(0,y.of)(F._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(F);const K=re(F.loadComponent()).pipe((0,pt.T)(Xa),(0,vt.M)(Vt=>{this.onLoadEndListener&&this.onLoadEndListener(F),F._loadedComponent=Vt}),(0,be.j)(()=>{this.componentLoaders.delete(F)})),gt=new Y.G(K,()=>new J.B).pipe((0,Ht.B)());return this.componentLoaders.set(F,gt),gt}loadChildren(F,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 Vt=function li(R,G,F,K){return re(R.loadChildren()).pipe((0,pt.T)(Xa),(0,_t.Z)(gt=>gt instanceof n.Co$||Array.isArray(gt)?(0,y.of)(gt):(0,l.H)(G.compileModuleAsync(gt))),(0,pt.T)(gt=>{K&&K(R);let Vt,De,pr=!1;return Array.isArray(gt)?(De=gt,!0):(Vt=gt.create(F).injector,De=Vt.get(Kn,[],{optional:!0,self:!0}).flat()),{routes:De.map(Bn),injector:Vt}}))}(K,this.compiler,F,this.onLoadEndListener).pipe((0,be.j)(()=>{this.childrenLoaders.delete(K)})),De=new Y.G(Vt,()=>new J.B).pipe((0,Ht.B)());return this.childrenLoaders.set(K,De),De}static \u0275fac=function(K){return new(K||R)};static \u0275prov=n.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})();function Xa(R){return function on(R){return R&&"object"==typeof R&&"default"in R}(R)?R.default:R}let Zs=(()=>{class R{static \u0275fac=function(K){return new(K||R)};static \u0275prov=n.jDH({token:R,factory:()=>(0,n.WQX)(Ui),providedIn:"root"})}return R})(),Ui=(()=>{class R{shouldProcessUrl(F){return!0}extract(F){return F}merge(F,K){return F}static \u0275fac=function(K){return new(K||R)};static \u0275prov=n.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})();const bi=new n.nKC(""),Cn=new n.nKC("");function Va(R,G,F){const K=R.get(Cn),gt=R.get(ct.qQ);return R.get(n.SKi).runOutsideAngular(()=>{if(!gt.startViewTransition||K.skipNextTransition)return K.skipNextTransition=!1,new Promise(uo=>setTimeout(uo));let Vt;const De=new Promise(uo=>{Vt=uo}),pr=gt.startViewTransition(()=>(Vt(),function di(R){return new Promise(G=>{(0,n.mal)({read:()=>setTimeout(G)},{injector:R})})}(R))),{onViewTransitionCreated:nr}=K;return nr&&(0,n.N4e)(R,()=>nr({transition:pr,from:G,to:F})),De})}const Un=new n.nKC("");let U=(()=>{class R{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new J.B;transitionAbortSubject=new J.B;configLoader=(0,n.WQX)(ri);environmentInjector=(0,n.WQX)(n.uvJ);urlSerializer=(0,n.WQX)(ue);rootContexts=(0,n.WQX)(Gi);location=(0,n.WQX)(ct.aZ);inputBindingEnabled=null!==(0,n.WQX)(Aa,{optional:!0});titleStrategy=(0,n.WQX)(Rn);options=(0,n.WQX)(Qn,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,n.WQX)(Zs);createViewTransition=(0,n.WQX)(bi,{optional:!0});navigationErrorHandler=(0,n.WQX)(Un,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,y.of)(void 0);rootComponentType=null;constructor(){this.configLoader.onLoadEndListener=gt=>this.events.next(new xo(gt)),this.configLoader.onLoadStartListener=gt=>this.events.next(new so(gt))}complete(){this.transitions?.complete()}handleNavigationRequest(F){const K=++this.navigationId;this.transitions?.next({...this.transitions.value,...F,id:K})}setupNavigations(F,K,gt){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:Jt,restoredState:null,currentSnapshot:gt.snapshot,targetSnapshot:null,currentRouterState:gt,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,yt.p)(Vt=>0!==Vt.id),(0,pt.T)(Vt=>({...Vt,extractedUrl:this.urlHandlingStrategy.extract(Vt.rawUrl)})),(0,kt.n)(Vt=>{let De=!1,pr=!1;return(0,y.of)(Vt).pipe((0,kt.n)(nr=>{if(this.navigationId>Vt.id)return this.cancelNavigationTransition(Vt,"",Ot.SupersededByNewNavigation),q.w;this.currentTransition=Vt,this.currentNavigation={id:nr.id,initialUrl:nr.rawUrl,extractedUrl:nr.extractedUrl,targetBrowserUrl:"string"==typeof nr.extras.browserUrl?this.urlSerializer.parse(nr.extras.browserUrl):nr.extras.browserUrl,trigger:nr.source,extras:nr.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const uo=!F.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!uo&&"reload"!==(nr.extras.onSameUrlNavigation??F.onSameUrlNavigation)){const Io="";return this.events.next(new Me(nr.id,this.urlSerializer.serialize(nr.rawUrl),Io,me.IgnoredSameUrlNavigation)),nr.resolve(!1),q.w}if(this.urlHandlingStrategy.shouldProcessUrl(nr.rawUrl))return(0,y.of)(nr).pipe((0,kt.n)(Io=>{const Gn=this.transitions?.getValue();return this.events.next(new ft(Io.id,this.urlSerializer.serialize(Io.extractedUrl),Io.source,Io.restoredState)),Gn!==this.transitions?.getValue()?q.w:Promise.resolve(Io)}),function ps(R,G,F,K,gt,Vt){return(0,_t.Z)(De=>function rd(R,G,F,K,gt,Vt,De="emptyOnly"){return new od(R,G,F,K,gt,De,Vt).recognize()}(R,G,F,K,De.extractedUrl,gt,Vt).pipe((0,pt.T)(({state:pr,tree:nr})=>({...De,targetSnapshot:pr,urlAfterRedirects:nr}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,F.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,vt.M)(Io=>{Vt.targetSnapshot=Io.targetSnapshot,Vt.urlAfterRedirects=Io.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Io.urlAfterRedirects};const Gn=new Er(Io.id,this.urlSerializer.serialize(Io.extractedUrl),this.urlSerializer.serialize(Io.urlAfterRedirects),Io.targetSnapshot);this.events.next(Gn)}));if(uo&&this.urlHandlingStrategy.shouldProcessUrl(nr.currentRawUrl)){const{id:Io,extractedUrl:Gn,source:Ia,restoredState:na,extras:Os}=nr,da=new ft(Io,this.urlSerializer.serialize(Gn),Ia,na);this.events.next(da);const Wo=Xi(this.rootComponentType).snapshot;return this.currentTransition=Vt={...nr,targetSnapshot:Wo,urlAfterRedirects:Gn,extras:{...Os,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Gn,(0,y.of)(Vt)}{const Io="";return this.events.next(new Me(nr.id,this.urlSerializer.serialize(nr.extractedUrl),Io,me.IgnoredByUrlHandlingStrategy)),nr.resolve(!1),q.w}}),(0,vt.M)(nr=>{const uo=new kr(nr.id,this.urlSerializer.serialize(nr.extractedUrl),this.urlSerializer.serialize(nr.urlAfterRedirects),nr.targetSnapshot);this.events.next(uo)}),(0,pt.T)(nr=>(this.currentTransition=Vt={...nr,guards:Fr(nr.targetSnapshot,nr.currentSnapshot,this.rootContexts)},Vt)),function dt(R,G){return(0,_t.Z)(F=>{const{targetSnapshot:K,currentSnapshot:gt,guards:{canActivateChecks:Vt,canDeactivateChecks:De}}=F;return 0===De.length&&0===Vt.length?(0,y.of)({...F,guardsResult:!0}):function Q(R,G,F,K){return(0,l.H)(R).pipe((0,_t.Z)(gt=>function Mc(R,G,F,K,gt){const Vt=G&&G.routeConfig?G.routeConfig.canDeactivate:null;if(!Vt||0===Vt.length)return(0,y.of)(!0);const De=Vt.map(pr=>{const nr=Ki(G)??gt,uo=Hr(pr,nr);return re(function ji(R){return R&&gn(R.canDeactivate)}(uo)?uo.canDeactivate(R,G,F,K):(0,n.N4e)(nr,()=>uo(R,G,F,K))).pipe((0,at.$)())});return(0,y.of)(De).pipe(us())}(gt.component,gt.route,F,G,K)),(0,at.$)(gt=>!0!==gt,!0))}(De,K,gt,R).pipe((0,_t.Z)(pr=>pr&&function Ko(R){return"boolean"==typeof R}(pr)?function Ft(R,G,F,K){return(0,l.H)(G).pipe((0,st.H)(gt=>(0,S.x)(function _o(R,G){return null!==R&&G&&G(new Eo(R)),(0,y.of)(!0)}(gt.route.parent,K),function je(R,G){return null!==R&&G&&G(new rn(R)),(0,y.of)(!0)}(gt.route,K),function ea(R,G,F){const K=G[G.length-1],Vt=G.slice(0,G.length-1).reverse().map(De=>function Ir(R){const G=R.routeConfig?R.routeConfig.canActivateChild:null;return G&&0!==G.length?{node:R,guards:G}:null}(De)).filter(De=>null!==De).map(De=>(0,T.v)(()=>{const pr=De.guards.map(nr=>{const uo=Ki(De.node)??F,un=Hr(nr,uo);return re(function Oi(R){return R&&gn(R.canActivateChild)}(un)?un.canActivateChild(K,R):(0,n.N4e)(uo,()=>un(K,R))).pipe((0,at.$)())});return(0,y.of)(pr).pipe(us())}));return(0,y.of)(Vt).pipe(us())}(R,gt.path,F),function Jo(R,G,F){const K=G.routeConfig?G.routeConfig.canActivate:null;if(!K||0===K.length)return(0,y.of)(!0);const gt=K.map(Vt=>(0,T.v)(()=>{const De=Ki(G)??F,pr=Hr(Vt,De);return re(function Fn(R){return R&&gn(R.canActivate)}(pr)?pr.canActivate(G,R):(0,n.N4e)(De,()=>pr(G,R))).pipe((0,at.$)())}));return(0,y.of)(gt).pipe(us())}(R,gt.route,F))),(0,at.$)(gt=>!0!==gt,!0))}(K,Vt,R,G):(0,y.of)(pr)),(0,pt.T)(pr=>({...F,guardsResult:pr})))})}(this.environmentInjector,nr=>this.events.next(nr)),(0,vt.M)(nr=>{if(Vt.guardsResult=nr.guardsResult,nr.guardsResult&&"boolean"!=typeof nr.guardsResult)throw Ua(0,nr.guardsResult);const uo=new Rr(nr.id,this.urlSerializer.serialize(nr.extractedUrl),this.urlSerializer.serialize(nr.urlAfterRedirects),nr.targetSnapshot,!!nr.guardsResult);this.events.next(uo)}),(0,yt.p)(nr=>!!nr.guardsResult||(this.cancelNavigationTransition(nr,"",Ot.GuardRejected),!1)),Ao(nr=>{if(nr.guards.canActivateChecks.length)return(0,y.of)(nr).pipe((0,vt.M)(uo=>{const un=new $r(uo.id,this.urlSerializer.serialize(uo.extractedUrl),this.urlSerializer.serialize(uo.urlAfterRedirects),uo.targetSnapshot);this.events.next(un)}),(0,kt.n)(uo=>{let un=!1;return(0,y.of)(uo).pipe(function nd(R,G){return(0,_t.Z)(F=>{const{targetSnapshot:K,guards:{canActivateChecks:gt}}=F;if(!gt.length)return(0,y.of)(F);const Vt=new Set(gt.map(nr=>nr.route)),De=new Set;for(const nr of Vt)if(!De.has(nr))for(const uo of Vi(nr))De.add(uo);let pr=0;return(0,l.H)(De).pipe((0,st.H)(nr=>Vt.has(nr)?function zi(R,G,F,K){const gt=R.routeConfig,Vt=R._resolve;return void 0!==gt?.title&&!Vn(gt)&&(Vt[oe]=gt.title),function ii(R,G,F,K){const gt=Xe(R);if(0===gt.length)return(0,y.of)({});const Vt={};return(0,l.H)(gt).pipe((0,_t.Z)(De=>function Pr(R,G,F,K){const gt=Ki(G)??K,Vt=Hr(R,gt);return re(Vt.resolve?Vt.resolve(G,F):(0,n.N4e)(gt,()=>Vt(G,F)))}(R[De],G,F,K).pipe((0,at.$)(),(0,vt.M)(pr=>{if(pr instanceof Cs)throw Ua(new he,pr);Vt[De]=pr}))),fr(1),(0,Qt.u)(Vt),(0,Pt.W)(De=>Us(De)?q.w:(0,P.$)(De)))}(Vt,R,G,K).pipe((0,pt.T)(De=>(R._resolvedData=De,R.data=Ci(R,R.parent,F).resolve,null)))}(nr,K,R,G):(nr.data=Ci(nr,nr.parent,R).resolve,(0,y.of)(void 0))),(0,vt.M)(()=>pr++),fr(1),(0,_t.Z)(nr=>pr===De.size?(0,y.of)(F):q.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,vt.M)({next:()=>un=!0,complete:()=>{un||this.cancelNavigationTransition(uo,"",Ot.NoDataFromResolver)}}))}),(0,vt.M)(uo=>{const un=new Jr(uo.id,this.urlSerializer.serialize(uo.extractedUrl),this.urlSerializer.serialize(uo.urlAfterRedirects),uo.targetSnapshot);this.events.next(un)}))}),Ao(nr=>{const uo=un=>{const Io=[];un.routeConfig?.loadComponent&&!un.routeConfig._loadedComponent&&Io.push(this.configLoader.loadComponent(un.routeConfig).pipe((0,vt.M)(Gn=>{un.component=Gn}),(0,pt.T)(()=>{})));for(const Gn of un.children)Io.push(...uo(Gn));return Io};return(0,C.z)(uo(nr.targetSnapshot.root)).pipe((0,se.U)(null),(0,Et.s)(1))}),Ao(()=>this.afterPreactivation()),(0,kt.n)(()=>{const{currentSnapshot:nr,targetSnapshot:uo}=Vt,un=this.createViewTransition?.(this.environmentInjector,nr.root,uo.root);return un?(0,l.H)(un).pipe((0,pt.T)(()=>Vt)):(0,y.of)(Vt)}),(0,pt.T)(nr=>{const uo=function Di(R,G,F){const K=Bi(R,G._root,F?F._root:void 0);return new ha(K,G)}(F.routeReuseStrategy,nr.targetSnapshot,nr.currentRouterState);return this.currentTransition=Vt={...nr,targetRouterState:uo},this.currentNavigation.targetRouterState=uo,Vt}),(0,vt.M)(()=>{this.events.next(new Qo)}),((R,G,F,K)=>(0,pt.T)(gt=>(new et(G,gt.targetRouterState,gt.currentRouterState,F,K).activate(R),gt)))(this.rootContexts,F.routeReuseStrategy,nr=>this.events.next(nr),this.inputBindingEnabled),(0,Et.s)(1),(0,vt.M)({next:nr=>{De=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Gt(nr.id,this.urlSerializer.serialize(nr.extractedUrl),this.urlSerializer.serialize(nr.urlAfterRedirects))),this.titleStrategy?.updateTitle(nr.targetRouterState.snapshot),nr.resolve(!0)},complete:()=>{De=!0}}),(0,Bt.Q)(this.transitionAbortSubject.pipe((0,vt.M)(nr=>{throw nr}))),(0,be.j)(()=>{!De&&!pr&&this.cancelNavigationTransition(Vt,"",Ot.SupersededByNewNavigation),this.currentTransition?.id===Vt.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,Pt.W)(nr=>{if(pr=!0,Ds(nr))this.events.next(new He(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),nr.message,nr.cancellationCode)),function Bs(R){return Ds(R)&&Je(R.url)}(nr)?this.events.next(new Fo(nr.url,nr.navigationBehaviorOptions)):Vt.resolve(!1);else{const uo=new ur(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),nr,Vt.targetSnapshot??void 0);try{const un=(0,n.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(uo));if(!(un instanceof Cs))throw this.events.next(uo),nr;{const{message:Io,cancellationCode:Gn}=Ua(0,un);this.events.next(new He(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),Io,Gn)),this.events.next(new Fo(un.redirectTo,un.navigationBehaviorOptions))}}catch(un){this.options.resolveNavigationPromiseOnError?Vt.resolve(!1):Vt.reject(un)}}return q.w}))}))}cancelNavigationTransition(F,K,gt){const Vt=new He(F.id,this.urlSerializer.serialize(F.extractedUrl),K,gt);this.events.next(Vt),F.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const F=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),K=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return F.toString()!==K?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(K){return new(K||R)};static \u0275prov=n.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})();function Tt(R){return R!==Jt}let rt=(()=>{class R{static \u0275fac=function(K){return new(K||R)};static \u0275prov=n.jDH({token:R,factory:()=>(0,n.WQX)(xe),providedIn:"root"})}return R})();class mt{shouldDetach(G){return!1}store(G,F){}shouldAttach(G){return!1}retrieve(G){return null}shouldReuseRoute(G,F){return G.routeConfig===F.routeConfig}}let xe=(()=>{class R extends mt{static \u0275fac=(()=>{let F;return function(gt){return(F||(F=n.xGo(R)))(gt||R)}})();static \u0275prov=n.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})(),Ge=(()=>{class R{static \u0275fac=function(K){return new(K||R)};static \u0275prov=n.jDH({token:R,factory:()=>(0,n.WQX)(Br),providedIn:"root"})}return R})(),Br=(()=>{class R extends Ge{location=(0,n.WQX)(ct.aZ);urlSerializer=(0,n.WQX)(ue);options=(0,n.WQX)(Qn,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=(0,n.WQX)(Zs);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new At;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=Xi(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(F){return this.location.subscribe(K=>{"popstate"===K.type&&F(K.url,K.state)})}handleRouterEvent(F,K){if(F instanceof ft)this.stateMemento=this.createStateMemento();else if(F instanceof Me)this.rawUrlTree=K.initialUrl;else if(F instanceof Er){if("eager"===this.urlUpdateStrategy&&!K.extras.skipLocationChange){const gt=this.urlHandlingStrategy.merge(K.finalUrl,K.initialUrl);this.setBrowserUrl(K.targetBrowserUrl??gt,K)}}else F instanceof Qo?(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)):F instanceof He&&(F.code===Ot.GuardRejected||F.code===Ot.NoDataFromResolver)?this.restoreHistory(K):F instanceof ur?this.restoreHistory(K,!0):F instanceof Gt&&(this.lastSuccessfulId=F.id,this.currentPageId=this.browserPageId)}setBrowserUrl(F,K){const gt=F instanceof At?this.urlSerializer.serialize(F):F;if(this.location.isCurrentPathEqualTo(gt)||K.extras.replaceUrl){const De={...K.extras.state,...this.generateNgRouterState(K.id,this.browserPageId)};this.location.replaceState(gt,"",De)}else{const Vt={...K.extras.state,...this.generateNgRouterState(K.id,this.browserPageId+1)};this.location.go(gt,"",Vt)}}restoreHistory(F,K=!1){if("computed"===this.canceledNavigationResolution){const Vt=this.currentPageId-this.browserPageId;0!==Vt?this.location.historyGo(Vt):this.currentUrlTree===F.finalUrl&&0===Vt&&(this.resetState(F),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(K&&this.resetState(F),this.resetUrlToCurrentUrlTree())}resetState(F){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,F.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(F,K){return"computed"===this.canceledNavigationResolution?{navigationId:F,\u0275routerPageId:K}:{navigationId:F}}static \u0275fac=(()=>{let F;return function(gt){return(F||(F=n.xGo(R)))(gt||R)}})();static \u0275prov=n.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})();var eo=function(R){return R[R.COMPLETE=0]="COMPLETE",R[R.FAILED=1]="FAILED",R[R.REDIRECTING=2]="REDIRECTING",R}(eo||{});function dn(R,G){R.events.pipe((0,yt.p)(F=>F instanceof Gt||F instanceof He||F instanceof ur||F instanceof Me),(0,pt.T)(F=>F instanceof Gt||F instanceof Me?eo.COMPLETE:F instanceof He&&(F.code===Ot.Redirect||F.code===Ot.SupersededByNewNavigation)?eo.REDIRECTING:eo.FAILED),(0,yt.p)(F=>F!==eo.REDIRECTING),(0,Et.s)(1)).subscribe(()=>{G()})}const Dn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},No={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ln=(()=>{class R{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,n.WQX)(n.H3F);stateManager=(0,n.WQX)(Ge);options=(0,n.WQX)(Qn,{optional:!0})||{};pendingTasks=(0,n.WQX)(n.TgB);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,n.WQX)(U);urlSerializer=(0,n.WQX)(ue);location=(0,n.WQX)(ct.aZ);urlHandlingStrategy=(0,n.WQX)(Zs);_events=new J.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,n.WQX)(rt);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,n.WQX)(Kn,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,n.WQX)(Aa,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:F=>{this.console.warn(F)}}),this.subscribeToNavigationEvents()}eventsSubscription=new ht.yU;subscribeToNavigationEvents(){const F=this.navigationTransitions.events.subscribe(K=>{try{const gt=this.navigationTransitions.currentTransition,Vt=this.navigationTransitions.currentNavigation;if(null!==gt&&null!==Vt)if(this.stateManager.handleRouterEvent(K,Vt),K instanceof He&&K.code!==Ot.Redirect&&K.code!==Ot.SupersededByNewNavigation)this.navigated=!0;else if(K instanceof Gt)this.navigated=!0;else if(K instanceof Fo){const De=K.navigationBehaviorOptions,pr=this.urlHandlingStrategy.merge(K.url,gt.currentRawUrl),nr={browserUrl:gt.extras.browserUrl,info:gt.extras.info,skipLocationChange:gt.extras.skipLocationChange,replaceUrl:gt.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Tt(gt.source),...De};this.scheduleNavigation(pr,Jt,null,nr,{resolve:gt.resolve,reject:gt.reject,promise:gt.promise})}(function xn(R){return!(R instanceof Qo||R instanceof Fo)})(K)&&this._events.next(K)}catch(gt){this.navigationTransitions.transitionAbortSubject.next(gt)}});this.eventsSubscription.add(F)}resetRootComponentType(F){this.routerState.root.component=F,this.navigationTransitions.rootComponentType=F}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Jt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((F,K)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(F,"popstate",K)},0)})}navigateToSyncWithBrowser(F,K,gt){const Vt={replaceUrl:!0},De=gt?.navigationId?gt:null;if(gt){const nr={...gt};delete nr.navigationId,delete nr.\u0275routerPageId,0!==Object.keys(nr).length&&(Vt.state=nr)}const pr=this.parseUrl(F);this.scheduleNavigation(pr,K,De,Vt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(F){this.config=F.map(Bn),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(F,K={}){const{relativeTo:gt,queryParams:Vt,fragment:De,queryParamsHandling:pr,preserveFragment:nr}=K,uo=nr?this.currentUrlTree.fragment:De;let Io,un=null;switch(pr??this.options.defaultQueryParamsHandling){case"merge":un={...this.currentUrlTree.queryParams,...Vt};break;case"preserve":un=this.currentUrlTree.queryParams;break;default:un=Vt||null}null!==un&&(un=this.removeEmptyProps(un));try{Io=te(gt?gt.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof F[0]||"/"!==F[0][0])&&(F=[]),Io=this.currentUrlTree.root}return Re(Io,F,un,uo??null)}navigateByUrl(F,K={skipLocationChange:!1}){const gt=Je(F)?F:this.parseUrl(F),Vt=this.urlHandlingStrategy.merge(gt,this.rawUrlTree);return this.scheduleNavigation(Vt,Jt,null,K)}navigate(F,K={skipLocationChange:!1}){return function nn(R){for(let G=0;G(null!=Vt&&(K[gt]=Vt),K),{})}scheduleNavigation(F,K,gt,Vt,De){if(this.disposed)return Promise.resolve(!1);let pr,nr,uo;De?(pr=De.resolve,nr=De.reject,uo=De.promise):uo=new Promise((Io,Gn)=>{pr=Io,nr=Gn});const un=this.pendingTasks.add();return dn(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(un))}),this.navigationTransitions.handleNavigationRequest({source:K,restoredState:gt,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:F,extras:Vt,resolve:pr,reject:nr,promise:uo,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),uo.catch(Io=>Promise.reject(Io))}static \u0275fac=function(K){return new(K||R)};static \u0275prov=n.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})(),ya=(()=>{class R{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new J.B;constructor(F,K,gt,Vt,De,pr){this.router=F,this.route=K,this.tabIndexAttribute=gt,this.renderer=Vt,this.el=De,this.locationStrategy=pr;const nr=De.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===nr||"area"===nr,this.isAnchorElement?this.subscription=F.events.subscribe(uo=>{uo instanceof Gt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(F){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",F)}ngOnChanges(F){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(F){null==F?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=Je(F)||Array.isArray(F)?F:[F],this.setTabIndexIfNotOnNativeEl("0"))}onClick(F,K,gt,Vt,De){const pr=this.urlTree;return!!(null===pr||this.isAnchorElement&&(0!==F||K||gt||Vt||De||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(pr,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const F=this.urlTree;this.href=null!==F&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(F)):null;const K=null===this.href?null:(0,n.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",K)}applyAttributeValue(F,K){const gt=this.renderer,Vt=this.el.nativeElement;null!==K?gt.setAttribute(Vt,F,K):gt.removeAttribute(Vt,F)}get urlTree(){return null===this.routerLinkInput?null:Je(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 \u0275fac=function(K){return new(K||R)(n.rXU(ln),n.rXU(mi),n.kS0("tabindex"),n.rXU(n.sFG),n.rXU(n.aKT),n.rXU(ct.hb))};static \u0275dir=n.FsC({type:R,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(K,gt){1&K&&n.bIt("click",function(De){return gt.onClick(De.button,De.ctrlKey,De.shiftKey,De.altKey,De.metaKey)}),2&K&&n.BMQ("target",gt.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",n.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",n.L39],replaceUrl:[2,"replaceUrl","replaceUrl",n.L39],routerLink:"routerLink"},features:[n.GFd,n.OA$]})}return R})(),Ni=(()=>{class R{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new n.bkB;constructor(F,K,gt,Vt,De){this.router=F,this.element=K,this.renderer=gt,this.cdr=Vt,this.link=De,this.routerEventsSubscription=F.events.subscribe(pr=>{pr instanceof Gt&&this.update()})}ngAfterContentInit(){(0,y.of)(this.links.changes,(0,y.of)(null)).pipe((0,Fe.U)()).subscribe(F=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const F=[...this.links.toArray(),this.link].filter(K=>!!K).map(K=>K.onChanges);this.linkInputChangesSubscription=(0,l.H)(F).pipe((0,Fe.U)()).subscribe(K=>{this._isActive!==this.isLinkActive(this.router)(K)&&this.update()})}set routerLinkActive(F){const K=Array.isArray(F)?F:F.split(" ");this.classes=K.filter(gt=>!!gt)}ngOnChanges(F){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const F=this.hasActiveLinks();this.classes.forEach(K=>{F?this.renderer.addClass(this.element.nativeElement,K):this.renderer.removeClass(this.element.nativeElement,K)}),F&&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!==F&&(this._isActive=F,this.cdr.markForCheck(),this.isActiveChange.emit(F))})}isLinkActive(F){const K=function hs(R){return!!R.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return gt=>{const Vt=gt.urlTree;return!!Vt&&F.isActive(Vt,K)}}hasActiveLinks(){const F=this.isLinkActive(this.router);return this.link&&F(this.link)||this.links.some(F)}static \u0275fac=function(K){return new(K||R)(n.rXU(ln),n.rXU(n.aKT),n.rXU(n.sFG),n.rXU(n.gRc),n.rXU(ya,8))};static \u0275dir=n.FsC({type:R,selectors:[["","routerLinkActive",""]],contentQueries:function(K,gt,Vt){if(1&K&&n.wni(Vt,ya,5),2&K){let De;n.mGM(De=n.lsd())&&(gt.links=De)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[n.OA$]})}return R})();class Yi{}let As=(()=>{class R{router;injector;preloadingStrategy;loader;subscription;constructor(F,K,gt,Vt,De){this.router=F,this.injector=gt,this.preloadingStrategy=Vt,this.loader=De}setUpPreloading(){this.subscription=this.router.events.pipe((0,yt.p)(F=>F instanceof Gt),(0,st.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(F,K){const gt=[];for(const Vt of K){Vt.providers&&!Vt._injector&&(Vt._injector=(0,n.Ol2)(Vt.providers,F,`Route: ${Vt.path}`));const De=Vt._injector??F,pr=Vt._loadedInjector??De;(Vt.loadChildren&&!Vt._loadedRoutes&&void 0===Vt.canLoad||Vt.loadComponent&&!Vt._loadedComponent)&>.push(this.preloadConfig(De,Vt)),(Vt.children||Vt._loadedRoutes)&>.push(this.processRoutes(pr,Vt.children??Vt._loadedRoutes))}return(0,l.H)(gt).pipe((0,Fe.U)())}preloadConfig(F,K){return this.preloadingStrategy.preload(K,()=>{let gt;gt=K.loadChildren&&void 0===K.canLoad?this.loader.loadChildren(F,K):(0,y.of)(null);const Vt=gt.pipe((0,_t.Z)(De=>null===De?(0,y.of)(void 0):(K._loadedRoutes=De.routes,K._loadedInjector=De.injector,this.processRoutes(De.injector??F,De.routes))));if(K.loadComponent&&!K._loadedComponent){const De=this.loader.loadComponent(K);return(0,l.H)([Vt,De]).pipe((0,Fe.U)())}return Vt})}static \u0275fac=function(K){return new(K||R)(n.KVO(ln),n.KVO(n.Ql9),n.KVO(n.uvJ),n.KVO(Yi),n.KVO(ri))};static \u0275prov=n.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})();const Ts=new n.nKC("");let qs=(()=>{class R{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(F,K,gt,Vt,De={}){this.urlSerializer=F,this.transitions=K,this.viewportScroller=gt,this.zone=Vt,this.options=De,De.scrollPositionRestoration||="disabled",De.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(F=>{F instanceof ft?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=F.navigationTrigger,this.restoredId=F.restoredState?F.restoredState.navigationId:0):F instanceof Gt?(this.lastId=F.id,this.scheduleScrollEvent(F,this.urlSerializer.parse(F.urlAfterRedirects).fragment)):F instanceof Me&&F.code===me.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(F,this.urlSerializer.parse(F.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(F=>{F instanceof Ro&&(F.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(F.position):F.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(F.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(F,K){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ro(F,"popstate"===this.lastSource?this.store[this.restoredId]:null,K))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(K){n.QTQ()};static \u0275prov=n.jDH({token:R,factory:R.\u0275fac})}return R})();function id(R,...G){return(0,n.EmA)([{provide:Kn,multi:!0,useValue:R},[],{provide:mi,useFactory:Ms,deps:[ln]},{provide:n.iLQ,multi:!0,useFactory:hl},G.map(F=>F.\u0275providers)])}function Ms(R){return R.routerState.root}function Is(R,G){return{\u0275kind:R,\u0275providers:G}}function zc(R={}){return Is(4,[{provide:Ts,useFactory:()=>{const F=(0,n.WQX)(ct.Xr),K=(0,n.WQX)(n.SKi),gt=(0,n.WQX)(U),Vt=(0,n.WQX)(ue);return new qs(Vt,gt,F,K,R)}}])}function hl(){const R=(0,n.WQX)(n.zZn);return G=>{const F=R.get(n.o8S);if(G!==F.components[0])return;const K=R.get(ln),gt=R.get(hc);1===R.get(wi)&&K.initialNavigation(),R.get(gl,null,n.$GK.Optional)?.setUpPreloading(),R.get(Ts,null,n.$GK.Optional)?.init(),K.resetRootComponentType(F.componentTypes[0]),gt.closed||(gt.next(),gt.complete(),gt.unsubscribe())}}const hc=new n.nKC("",{factory:()=>new J.B}),wi=new n.nKC("",{providedIn:"root",factory:()=>1}),gl=new n.nKC("");function cd(R){return Is(0,[{provide:gl,useExisting:As},{provide:Yi,useExisting:R}])}function $o(R){return Is(9,[{provide:bi,useValue:Va},{provide:Cn,useValue:{skipNextTransition:!!R?.skipInitialTransition,...R}}])}const Ha=new n.nKC("ROUTER_FORROOT_GUARD"),Wc=[ct.aZ,{provide:ue,useClass:he},ln,Gi,{provide:mi,useFactory:Ms,deps:[ln]},ri,[]];let zs=(()=>{class R{constructor(F){}static forRoot(F,K){return{ngModule:R,providers:[Wc,[],{provide:Kn,multi:!0,useValue:F},{provide:Ha,useFactory:gc,deps:[[ln,new n.Xx1,new n.kdw]]},K?.errorHandler?{provide:Un,useValue:K.errorHandler}:[],{provide:Qn,useValue:K||{}},K?.useHash?{provide:ct.hb,useClass:ct.fw}:{provide:ct.hb,useClass:ct.Sm},{provide:Ts,useFactory:()=>{const R=(0,n.WQX)(ct.Xr),G=(0,n.WQX)(n.SKi),F=(0,n.WQX)(Qn),K=(0,n.WQX)(U),gt=(0,n.WQX)(ue);return F.scrollOffset&&R.setOffset(F.scrollOffset),new qs(gt,K,R,G,F)}},K?.preloadingStrategy?cd(K.preloadingStrategy).\u0275providers:[],K?.initialNavigation?bu(K):[],K?.bindToComponentInputs?Is(8,[Na,{provide:Aa,useExisting:Na}]).\u0275providers:[],K?.enableViewTransitions?$o().\u0275providers:[],[{provide:ld,useFactory:hl},{provide:n.iLQ,multi:!0,useExisting:ld}]]}}static forChild(F){return{ngModule:R,providers:[{provide:Kn,multi:!0,useValue:F}]}}static \u0275fac=function(K){return new(K||R)(n.KVO(Ha,8))};static \u0275mod=n.$C({type:R});static \u0275inj=n.G2t({})}return R})();function gc(R){return"guarded"}function bu(R){return["disabled"===R.initialNavigation?Is(3,[{provide:n.hnV,multi:!0,useFactory:()=>{const G=(0,n.WQX)(ln);return()=>{G.setUpLocationChangeListener()}}},{provide:wi,useValue:2}]).\u0275providers:[],"enabledBlocking"===R.initialNavigation?Is(2,[{provide:wi,useValue:0},{provide:n.hnV,multi:!0,deps:[n.zZn],useFactory:G=>{const F=G.get(ct.hj,Promise.resolve());return()=>F.then(()=>new Promise(K=>{const gt=G.get(ln),Vt=G.get(hc);dn(gt,()=>{K(!0)}),G.get(U).afterPreactivation=()=>(K(!0),Vt.closed?(0,y.of)(void 0):Vt),gt.initialNavigation()}))}}]).\u0275providers:[]]}const ld=new n.nKC("")},4143:(__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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(3014),_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_awaitAsyncGenerator_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(5137),_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_wrapAsyncGenerator_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(9129),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,s)=>{for(var o in s)__defProp$1(i,o,{get:s[o],enumerable:!0})},hostRefs=new WeakMap,getHostRef=i=>hostRefs.get(i),registerHost=(i,s)=>hostRefs.set(i,{$flags$:0,$hostElement$:i,$cmpMeta$:s,$instanceValues$:new Map}),isMemberInElement=(i,s)=>s in i,consoleError=(i,s)=>(0,console.error)(i,s),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,s,o,n)=>i.addEventListener(s,o,n),rel:(i,s,o,n)=>i.removeEventListener(s,o,n),ce:(i,s)=>new CustomEvent(i,s)},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,s)=>o=>{i.push(o),queuePending||(queuePending=!0,s&&4&plt.$flags$?nextTick(flush):plt.raf(flush))},consume=i=>{for(let s=0;s{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 s,o,n;return null!=(n=null==(o=null==(s=i.head)?void 0:s.querySelector('meta[name="csp-nonce"]'))?void 0:o.getAttribute("content"))?n: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,s){if(i.isOk){const o=s(i.value);return o instanceof Promise?o.then(n=>ok(n)):ok(o)}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,s="")=>()=>{},h=(i,s,...o)=>{let n=null,a=null,l=null,y=!1,k=!1;const C=[],A=T=>{for(let O=0;OT[O]).join(" "))}}if("function"==typeof i)return i(null===s?{}:s,C,vdomFnUtils);const S=newVNode(i,null);return S.$attrs$=s,C.length>0&&(S.$children$=C),S.$key$=a,S.$name$=l,S},newVNode=(i,s)=>({$flags$:0,$tag$:i,$text$:s,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),Host={},isHost=i=>i&&i.$tag$===Host,vdomFnUtils={forEach:(i,s)=>i.map(convertToPublic).forEach(s),map:(i,s)=>i.map(convertToPublic).map(s).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 o={...i.vattrs};return i.vkey&&(o.key=i.vkey),i.vname&&(o.name=i.vname),h(i.vtag,o,...i.vchildren||[])}const s=newVNode(i.vtag,i.vtext);return s.$attrs$=i.vattrs,s.$children$=i.vchildren,s.$key$=i.vkey,s.$name$=i.vname,s},computeMode=i=>modeResolutionChain.map(s=>s(i)).find(s=>!!s),parsePropertyValue=(i,s)=>null==i||isComplexType(i)?i:4&s?"false"!==i&&(""===i||!!i):2&s?parseFloat(i):1&s?String(i):i,getElement=i=>i,createEvent=(i,s,o)=>{const n=getElement(i);return{emit:a=>emitEvent(n,s,{bubbles:!!(4&o),composed:!!(2&o),cancelable:!!(1&o),detail:a})}},emitEvent=(i,s,o)=>{const n=plt.ce(s,o);return i.dispatchEvent(n),n},rootAppliedStyles=new WeakMap,registerStyle=(i,s,o)=>{let n=styles.get(i);supportsConstructableStylesheets&&o?(n=n||new CSSStyleSheet,"string"==typeof n?n=s:n.replaceSync(s)):n=s,styles.set(i,n)},addStyle=(i,s,o)=>{var n;const a=getScopeId(s,o),l=styles.get(a);if(i=11===i.nodeType?i:doc,l)if("string"==typeof l){let y,k=rootAppliedStyles.get(i=i.head||i);if(k||rootAppliedStyles.set(i,k=new Set),!k.has(a)){{y=doc.createElement("style"),y.innerHTML=l;const C=null!=(n=plt.$nonce$)?n:queryNonceMetaTagContent(doc);null!=C&&y.setAttribute("nonce",C),(!(1&s.$flags$)||1&s.$flags$&&"HEAD"!==i.nodeName)&&i.insertBefore(y,i.querySelector("link"))}4&s.$flags$&&(y.innerHTML+=SLOT_FB_CSS),k&&k.add(a)}}else i.adoptedStyleSheets.includes(l)||(i.adoptedStyleSheets=[...i.adoptedStyleSheets,l]);return a},attachStyles=i=>{const s=i.$cmpMeta$,o=i.$hostElement$,n=s.$flags$,a=createTime("attachStyles",s.$tagName$),l=addStyle(o.shadowRoot?o.shadowRoot:o.getRootNode(),s,i.$modeName$);10&n&&2&n&&(o["s-sc"]=l,o.classList.add(l+"-h"),2&n&&o.classList.add(l+"-s")),a()},getScopeId=(i,s)=>"sc-"+(s&&32&i.$flags$?i.$tagName$+"-"+s:i.$tagName$),setAccessor=(i,s,o,n,a,l)=>{if(o!==n){let y=isMemberInElement(i,s),k=s.toLowerCase();if("class"===s){const C=i.classList,A=parseClassList(o),S=parseClassList(n);C.remove(...A.filter(T=>T&&!S.includes(T))),C.add(...S.filter(T=>T&&!A.includes(T)))}else if("style"===s){for(const C in o)n&&null!=n[C]||(C.includes("-")?i.style.removeProperty(C):i.style[C]="");for(const C in n)o&&n[C]===o[C]||(C.includes("-")?i.style.setProperty(C,n[C]):i.style[C]=n[C])}else if("key"!==s)if("ref"===s)n&&n(i);else if(i.__lookupSetter__(s)||"o"!==s[0]||"n"!==s[1]){const C=isComplexType(n);if((y||C&&null!==n)&&!a)try{if(i.tagName.includes("-"))i[s]=n;else{const S=n??"";"list"===s?y=!1:null!=o&&i[s]==S||(i[s]=S)}}catch{}let A=!1;k!==(k=k.replace(/^xlink\:?/,""))&&(s=k,A=!0),null==n||!1===n?!1===n&&""!==i.getAttribute(s)||(A?i.removeAttributeNS(XLINK_NS,s):i.removeAttribute(s)):(!y||4&l||a)&&!C&&(n=!0===n?"":n,A?i.setAttributeNS(XLINK_NS,s,n):i.setAttribute(s,n))}else if(s="-"===s[2]?s.slice(3):isMemberInElement(win,k)?k.slice(2):k[2]+s.slice(3),o||n){const C=s.endsWith(CAPTURE_EVENT_SUFFIX);s=s.replace(CAPTURE_EVENT_REGEX,""),o&&plt.rel(i,s,o,C),n&&plt.ael(i,s,n,C)}}},parseClassListRegex=/\s/,parseClassList=i=>i?i.split(parseClassListRegex):[],CAPTURE_EVENT_SUFFIX="Capture",CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$"),updateElement=(i,s,o)=>{const n=11===s.$elm$.nodeType&&s.$elm$.host?s.$elm$.host:s.$elm$,a=i&&i.$attrs$||EMPTY_OBJ,l=s.$attrs$||EMPTY_OBJ;for(const y of sortedAttrNames(Object.keys(a)))y in l||setAccessor(n,y,a[y],void 0,o,s.$flags$);for(const y of sortedAttrNames(Object.keys(l)))setAccessor(n,y,a[y],l[y],o,s.$flags$)},scopeId,contentRef,hostTagName;function sortedAttrNames(i){return i.includes("ref")?[...i.filter(s=>"ref"!==s),"ref"]:i}var useNativeShadowDom=!1,checkSlotFallbackVisibility=!1,checkSlotRelocate=!1,isSvgMode=!1,createElm=(i,s,o,n)=>{var a;const l=s.$children$[o];let y,k,C,A=0;if(useNativeShadowDom||(checkSlotRelocate=!0,"slot"===l.$tag$&&(scopeId&&n.classList.add(scopeId+"-s"),l.$flags$|=l.$children$?2:1)),null!==l.$text$)y=l.$elm$=doc.createTextNode(l.$text$);else if(1&l.$flags$)y=l.$elm$=doc.createTextNode("");else{if(isSvgMode||(isSvgMode="svg"===l.$tag$),y=l.$elm$=doc.createElementNS(isSvgMode?SVG_NS:HTML_NS,!useNativeShadowDom&&BUILD.slotRelocation&&2&l.$flags$?"slot-fb":l.$tag$),isSvgMode&&"foreignObject"===l.$tag$&&(isSvgMode=!1),updateElement(null,l,isSvgMode),y.getRootNode().querySelector("body")&&BUILD.scoped&&isDef(scopeId)&&y["s-si"]!==scopeId&&y.classList.add(y["s-si"]=scopeId),updateElementScopeIds(y,n),l.$children$)for(A=0;A{plt.$flags$|=1;const o=Array.from(i.childNodes);if(i["s-sr"]&&BUILD.experimentalSlotFixes){let n=i;for(;n=n.nextSibling;)n&&n["s-sn"]===i["s-sn"]&&n["s-sh"]===hostTagName&&o.push(n)}for(let n=o.length-1;n>=0;n--){const a=o[n];a["s-hn"]!==hostTagName&&a["s-ol"]&&(insertBefore(parentReferenceNode(a),a,referenceNode(a)),a["s-ol"].remove(),a["s-ol"]=void 0,a["s-sh"]=void 0,checkSlotRelocate=!0),s&&putBackInOriginalLocation(a,s)}plt.$flags$&=-2},addVnodes=(i,s,o,n,a,l)=>{let y,k=i["s-cr"]&&i["s-cr"].parentNode||i;for(k.shadowRoot&&k.tagName===hostTagName&&(k=k.shadowRoot);a<=l;++a)n[a]&&(y=createElm(null,o,a,i),y&&(n[a].$elm$=y,insertBefore(k,y,referenceNode(s))))},removeVnodes=(i,s,o)=>{for(let n=s;n<=o;++n){const a=i[n];if(a){const l=a.$elm$;nullifyVNodeRefs(a),l&&(checkSlotFallbackVisibility=!0,l["s-ol"]?l["s-ol"].remove():putBackInOriginalLocation(l,!0),l.remove())}}},updateChildren=(i,s,o,n,a=!1)=>{let l,y,k=0,C=0,A=0,S=0,T=s.length-1,O=s[0],P=s[T],q=n.length-1,Y=n[0],J=n[q];for(;k<=T&&C<=q;)if(null==O)O=s[++k];else if(null==P)P=s[--T];else if(null==Y)Y=n[++C];else if(null==J)J=n[--q];else if(isSameVnode(O,Y,a))patch(O,Y,a),O=s[++k],Y=n[++C];else if(isSameVnode(P,J,a))patch(P,J,a),P=s[--T],J=n[--q];else if(isSameVnode(O,J,a))"slot"!==O.$tag$&&"slot"!==J.$tag$||putBackInOriginalLocation(O.$elm$.parentNode,!1),patch(O,J,a),insertBefore(i,O.$elm$,P.$elm$.nextSibling),O=s[++k],J=n[--q];else if(isSameVnode(P,Y,a))"slot"!==O.$tag$&&"slot"!==J.$tag$||putBackInOriginalLocation(P.$elm$.parentNode,!1),patch(P,Y,a),insertBefore(i,P.$elm$,O.$elm$),P=s[--T],Y=n[++C];else{for(A=-1,S=k;S<=T;++S)if(s[S]&&null!==s[S].$key$&&s[S].$key$===Y.$key$){A=S;break}A>=0?(y=s[A],y.$tag$!==Y.$tag$?l=createElm(s&&s[C],o,A,i):(patch(y,Y,a),s[A]=void 0,l=y.$elm$),Y=n[++C]):(l=createElm(s&&s[C],o,C,i),Y=n[++C]),l&&insertBefore(parentReferenceNode(O.$elm$),l,referenceNode(O.$elm$))}k>T?addVnodes(i,null==n[q+1]?null:n[q+1].$elm$,o,n,C,q):C>q&&removeVnodes(s,k,T)},isSameVnode=(i,s,o=!1)=>!(i.$tag$!==s.$tag$||("slot"===i.$tag$?"$nodeId$"in i&&o&&8!==i.$elm$.nodeType||i.$name$!==s.$name$:!o&&i.$key$!==s.$key$)),referenceNode=i=>i&&i["s-ol"]||i,parentReferenceNode=i=>(i["s-ol"]?i["s-ol"]:i).parentNode,patch=(i,s,o=!1)=>{const n=s.$elm$=i.$elm$,a=i.$children$,l=s.$children$,y=s.$tag$,k=s.$text$;let C;null===k?(isSvgMode="svg"===y||"foreignObject"!==y&&isSvgMode,("slot"!==y||useNativeShadowDom)&&updateElement(i,s,isSvgMode),null!==a&&null!==l?updateChildren(n,a,s,l,o):null!==l?(null!==i.$text$&&(n.textContent=""),addVnodes(n,null,s,l,0,l.length-1)):!o&&BUILD.updatable&&null!==a&&removeVnodes(a,0,a.length-1),isSvgMode&&"svg"===y&&(isSvgMode=!1)):(C=n["s-cr"])?C.parentNode.textContent=k:i.$text$!==k&&(n.data=k)},updateFallbackSlotVisibility=i=>{const s=i.childNodes;for(const o of s)if(1===o.nodeType){if(o["s-sr"]){const n=o["s-sn"];o.hidden=!1;for(const a of s)if(a!==o)if(a["s-hn"]!==o["s-hn"]||""!==n){if(1===a.nodeType&&(n===a.getAttribute("slot")||n===a["s-sn"])||3===a.nodeType&&n===a["s-sn"]){o.hidden=!0;break}}else if(1===a.nodeType||3===a.nodeType&&""!==a.textContent.trim()){o.hidden=!0;break}}updateFallbackSlotVisibility(o)}},relocateNodes=[],markSlotContentForRelocation=i=>{let s,o,n;for(const a of i.childNodes){if(a["s-sr"]&&(s=a["s-cr"])&&s.parentNode){o=s.parentNode.childNodes;const l=a["s-sn"];for(n=o.length-1;n>=0;n--)if(s=o[n],!s["s-cn"]&&!s["s-nr"]&&s["s-hn"]!==a["s-hn"]&&!BUILD.experimentalSlotFixes)if(isNodeLocatedInSlot(s,l)){let y=relocateNodes.find(k=>k.$nodeToRelocate$===s);checkSlotFallbackVisibility=!0,s["s-sn"]=s["s-sn"]||l,y?(y.$nodeToRelocate$["s-sh"]=a["s-hn"],y.$slotRefNode$=a):(s["s-sh"]=a["s-hn"],relocateNodes.push({$slotRefNode$:a,$nodeToRelocate$:s})),s["s-sr"]&&relocateNodes.map(k=>{isNodeLocatedInSlot(k.$nodeToRelocate$,s["s-sn"])&&(y=relocateNodes.find(C=>C.$nodeToRelocate$===s),y&&!k.$slotRefNode$&&(k.$slotRefNode$=y.$slotRefNode$))})}else relocateNodes.some(y=>y.$nodeToRelocate$===s)||relocateNodes.push({$nodeToRelocate$:s})}1===a.nodeType&&markSlotContentForRelocation(a)}},isNodeLocatedInSlot=(i,s)=>1===i.nodeType?null===i.getAttribute("slot")&&""===s||i.getAttribute("slot")===s:i["s-sn"]===s||""===s,nullifyVNodeRefs=i=>{i.$attrs$&&i.$attrs$.ref&&i.$attrs$.ref(null),i.$children$&&i.$children$.map(nullifyVNodeRefs)},insertBefore=(i,s,o)=>{const n=i?.insertBefore(s,o);return updateElementScopeIds(s,i),n},findScopeIds=i=>{const s=[];return i&&s.push(...i["s-scs"]||[],i["s-si"],i["s-sc"],...findScopeIds(i.parentElement)),s},updateElementScopeIds=(i,s,o=!1)=>{var n;if(i&&s&&1===i.nodeType){const a=new Set(findScopeIds(s).filter(Boolean));if(a.size&&(null==(n=i.classList)||n.add(...i["s-scs"]=[...a]),i["s-ol"]||o))for(const l of Array.from(i.childNodes))updateElementScopeIds(l,i,!0)}},renderVdom=(i,s,o=!1)=>{var n,a,l,y,k;const C=i.$hostElement$,A=i.$cmpMeta$,S=i.$vnode$||newVNode(null,null),T=isHost(s)?s:h(null,null,s);if(hostTagName=C.tagName,A.$attrsToReflect$&&(T.$attrs$=T.$attrs$||{},A.$attrsToReflect$.map(([O,P])=>T.$attrs$[P]=C[O])),o&&T.$attrs$)for(const O of Object.keys(T.$attrs$))C.hasAttribute(O)&&!["key","ref","style","class"].includes(O)&&(T.$attrs$[O]=C[O]);if(T.$tag$=null,T.$flags$|=4,i.$vnode$=T,T.$elm$=S.$elm$=C.shadowRoot||C,scopeId=C["s-sc"],useNativeShadowDom=!!(1&A.$flags$),contentRef=C["s-cr"],checkSlotFallbackVisibility=!1,patch(S,T,o),plt.$flags$|=1,checkSlotRelocate){markSlotContentForRelocation(T.$elm$);for(const O of relocateNodes){const P=O.$nodeToRelocate$;if(!P["s-ol"]){const q=doc.createTextNode("");q["s-nr"]=P,insertBefore(P.parentNode,P["s-ol"]=q,P)}}for(const O of relocateNodes){const P=O.$nodeToRelocate$,q=O.$slotRefNode$;if(q){const Y=q.parentNode;let J=q.nextSibling;{let ht=null==(n=P["s-ol"])?void 0:n.previousSibling;for(;ht;){let ct=null!=(a=ht["s-nr"])?a:null;if(ct&&ct["s-sn"]===P["s-sn"]&&Y===ct.parentNode){for(ct=ct.nextSibling;ct===P||ct?.["s-sr"];)ct=ct?.nextSibling;if(!ct||!ct["s-nr"]){J=ct;break}}ht=ht.previousSibling}}(!J&&Y!==P.parentNode||P.nextSibling!==J)&&P!==J&&(!P["s-hn"]&&P["s-ol"]&&(P["s-hn"]=P["s-ol"].parentNode.nodeName),insertBefore(Y,P,J),1===P.nodeType&&(P.hidden=null!=(l=P["s-ih"])&&l)),P&&"function"==typeof q["s-rf"]&&q["s-rf"](P)}else 1===P.nodeType&&(o&&(P["s-ih"]=null!=(y=P.hidden)&&y),P.hidden=!0)}}if(checkSlotFallbackVisibility&&updateFallbackSlotVisibility(T.$elm$),plt.$flags$&=-2,relocateNodes.length=0,BUILD.experimentalScopedSlotChanges&&2&A.$flags$)for(const O of T.$elm$.childNodes)O["s-hn"]===hostTagName||O["s-sh"]||(o&&null==O["s-ih"]&&(O["s-ih"]=null!=(k=O.hidden)&&k),O.hidden=!0);contentRef=void 0},attachToAncestor=(i,s)=>{},scheduleUpdate=(i,s)=>(i.$flags$|=16,attachToAncestor(i,i.$ancestorComponent$),writeTask(()=>dispatchHooks(i,s))),dispatchHooks=(i,s)=>{const o=i.$hostElement$,n=createTime("scheduleUpdate",i.$cmpMeta$.$tagName$),a=o;if(!a)throw new Error(`Can't render component <${o.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 l;return l=safeCall(a,s?"componentWillLoad":"componentWillUpdate"),l=enqueue(l,()=>safeCall(a,"componentWillRender")),n(),enqueue(l,()=>updateComponent(i,a,s))},enqueue=(i,s)=>isPromisey(i)?i.then(s).catch(o=>{console.error(o),s()}):s(),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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s,o,n){const a=s.$hostElement$,l=createTime("update",s.$cmpMeta$.$tagName$);n&&attachStyles(s);const y=createTime("render",s.$cmpMeta$.$tagName$);callRender(s,o,a,n),y(),l(),postUpdateComponent(s)});return function(o,n,a){return i.apply(this,arguments)}}(),renderingRef=null,callRender=(i,s,o,n)=>{try{renderingRef=s,s=s.render&&s.render(),i.$flags$&=-17,i.$flags$|=2,(BUILD.hasRenderFn||BUILD.reflect)&&(BUILD.vdomRender||BUILD.reflect)&&(BUILD.hydrateServerSide||renderVdom(i,s,n))}catch(a){consoleError(a,i.$hostElement$)}return renderingRef=null,null},getRenderingRef=()=>renderingRef,postUpdateComponent=i=>{const o=i.$hostElement$,n=createTime("postUpdate",i.$cmpMeta$.$tagName$),a=o;safeCall(a,"componentDidRender"),64&i.$flags$?(safeCall(a,"componentDidUpdate"),n()):(i.$flags$|=64,safeCall(a,"componentDidLoad"),n())},forceUpdate=i=>{{const s=getHostRef(i),o=s.$hostElement$.isConnected;return o&&2==(18&s.$flags$)&&scheduleUpdate(s,!1),o}},safeCall=(i,s,o)=>{if(i&&i[s])try{return i[s](o)}catch(n){consoleError(n)}},getValue=(i,s)=>getHostRef(i).$instanceValues$.get(s),setValue=(i,s,o,n)=>{const a=getHostRef(i),l=i,y=a.$instanceValues$.get(s),k=a.$flags$,C=l;o=parsePropertyValue(o,n.$members$[s][0]);const A=Number.isNaN(y)&&Number.isNaN(o);if(o!==y&&!A){if(a.$instanceValues$.set(s,o),n.$watchers$&&128&k){const S=n.$watchers$[s];S&&S.map(T=>{try{C[T](o,y,s)}catch(O){consoleError(O,l)}})}if(2==(18&k)){if(C.componentShouldUpdate&&!1===C.componentShouldUpdate(o,y,s))return;scheduleUpdate(a,!1)}}},proxyComponent=(i,s,o)=>{var n,a;const l=i.prototype;if(s.$members$||s.$watchers$||i.watchers){i.watchers&&!s.$watchers$&&(s.$watchers$=i.watchers);const y=Object.entries(null!=(n=s.$members$)?n:{});y.map(([k,[C]])=>{(31&C||32&C)&&Object.defineProperty(l,k,{get(){return getValue(this,k)},set(A){setValue(this,k,A,s)},configurable:!0,enumerable:!0})});{const k=new Map;l.attributeChangedCallback=function(C,A,S){plt.jmp(()=>{var T;const O=k.get(C);if(this.hasOwnProperty(O))S=this[O],delete this[O];else{if(l.hasOwnProperty(O)&&"number"==typeof this[O]&&this[O]==S)return;if(null==O){const P=getHostRef(this),q=P?.$flags$;if(q&&!(8&q)&&128&q&&S!==A){const Y=this,J=null==(T=s.$watchers$)?void 0:T[C];J?.forEach(ht=>{null!=Y[ht]&&Y[ht].call(Y,S,A,C)})}return}}this[O]=(null!==S||"boolean"!=typeof this[O])&&S})},i.observedAttributes=Array.from(new Set([...Object.keys(null!=(a=s.$watchers$)?a:{}),...y.filter(([C,A])=>15&A[0]).map(([C,A])=>{var S;const T=A[1]||C;return k.set(T,C),512&A[0]&&(null==(S=s.$attrsToReflect$)||S.push([C,T])),T})]))}}return i},initializeComponent=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s,o,n,a){let l;if(!(32&o.$flags$)&&(o.$flags$|=32,l=s.constructor,customElements.whenDefined(s.localName).then(()=>o.$flags$|=128),l&&l.style)){let y;"string"==typeof l.style?y=l.style:"string"!=typeof l.style&&(o.$modeName$=computeMode(s),o.$modeName$&&(y=l.style[o.$modeName$]));const k=getScopeId(n,o.$modeName$);if(!styles.has(k)){const C=createTime("registerStyles",n.$tagName$);registerStyle(k,y,!!(1&n.$flags$)),C()}}scheduleUpdate(o,!0)});return function(o,n,a,l){return i.apply(this,arguments)}}(),fireConnectedCallback=i=>{},connectedCallback=i=>{if(!(1&plt.$flags$)){const s=getHostRef(i),o=s.$cmpMeta$,n=createTime("connectedCallback",o.$tagName$);1&s.$flags$?(addHostEventListeners(i,s,o.$listeners$),s?.$lazyInstance$?fireConnectedCallback(s.$lazyInstance$):s?.$onReadyPromise$&&s.$onReadyPromise$.then(()=>fireConnectedCallback(s.$lazyInstance$))):(s.$flags$|=1,12&o.$flags$&&setContentReference(i),o.$members$&&Object.entries(o.$members$).map(([a,[l]])=>{if(31&l&&i.hasOwnProperty(a)){const y=i[a];delete i[a],i[a]=y}}),initializeComponent(i,s,o)),n()}},setContentReference=i=>{const s=i["s-cr"]=doc.createComment("");s["s-cn"]=!0,insertBefore(i,s,i.firstChild)},disconnectedCallback=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s){if(!(1&plt.$flags$)){const o=getHostRef(s);o.$rmListeners$&&(o.$rmListeners$.map(n=>n()),o.$rmListeners$=void 0)}});return function(o){return i.apply(this,arguments)}}(),proxyCustomElement=(i,s)=>{const o={$flags$:s[0],$tagName$:s[1]};o.$members$=s[2],o.$listeners$=s[3],o.$watchers$=i.$watchers$,o.$attrsToReflect$=[];const n=i.prototype.connectedCallback,a=i.prototype.disconnectedCallback;return Object.assign(i.prototype,{__registerHost(){registerHost(this,o)},connectedCallback(){const l=getHostRef(this);addHostEventListeners(this,l,o.$listeners$),connectedCallback(this),n&&n.call(this)},disconnectedCallback(){disconnectedCallback(this),a&&a.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${o.$tagName$}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else this.attachShadow({mode:"open",delegatesFocus:!!(16&o.$flags$)})}}),i.is=o.$tagName$,proxyComponent(i,o)},Fragment=(i,s)=>s,addHostEventListeners=(i,s,o,n)=>{o&&o.map(([a,l,y])=>{const k=getHostListenerTarget(i,a),C=hostListenerProxy(s,y),A=hostListenerOpts(a);plt.ael(k,l,C,A),(s.$rmListeners$=s.$rmListeners$||[]).push(()=>plt.rel(k,l,C,A))})},hostListenerProxy=(i,s)=>o=>{try{BUILD.lazyLoad||i.$hostElement$[s](o)}catch(n){consoleError(n)}},getHostListenerTarget=(i,s)=>4&s?doc:8&s?win:16&s?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,s,o)=>{const n=i.get(s);n?n.includes(o)||n.push(o):i.set(s,[o])},debounce=(i,s)=>{let o;return(...n)=>{o&&clearTimeout(o),o=setTimeout(()=>{o=0,i(...n)},s)}},isConnected=i=>!("isConnected"in i)||i.isConnected,cleanupElements=debounce(i=>{for(let s of i.keys())i.set(s,i.get(s).filter(isConnected))},2e3),stencilSubscription=()=>{if("function"!=typeof getRenderingRef)return{};const i=new Map;return{dispose:()=>i.clear(),get:s=>{const o=getRenderingRef();o&&appendToMap(i,s,o)},set:s=>{const o=i.get(s);o&&i.set(s,o.filter(forceUpdate)),cleanupElements(i)},reset:()=>{i.forEach(s=>s.forEach(forceUpdate)),cleanupElements(i)}}},unwrap=i=>"function"==typeof i?i():i,createObservableMap=(i,s=(o,n)=>o!==n)=>{const o=unwrap(i);let n=new Map(Object.entries(o??{}));const a={dispose:[],get:[],set:[],reset:[]},l=()=>{var S;n=new Map(Object.entries(null!==(S=unwrap(i))&&void 0!==S?S:{})),a.reset.forEach(T=>T())},y=S=>(a.get.forEach(T=>T(S)),n.get(S)),k=(S,T)=>{const O=n.get(S);s(T,O,S)&&(n.set(S,T),a.set.forEach(P=>P(S,T,O)))},C=typeof Proxy>"u"?{}:new Proxy(o,{get:(S,T)=>y(T),ownKeys:S=>Array.from(n.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(S,T)=>n.has(T),set:(S,T,O)=>(k(T,O),!0)}),A=(S,T)=>(a[S].push(T),()=>{removeFromArray(a[S],T)});return{state:C,get:y,set:k,on:A,onChange:(S,T)=>{const O=A("set",(q,Y)=>{q===S&&T(Y)}),P=A("reset",()=>T(unwrap(i)[S]));return()=>{O(),P()}},use:(...S)=>{const T=S.reduce((O,P)=>(P.set&&O.push(A("set",P.set)),P.get&&O.push(A("get",P.get)),P.reset&&O.push(A("reset",P.reset)),P.dispose&&O.push(A("dispose",P.dispose)),O),[]);return()=>T.forEach(O=>O())},dispose:()=>{a.dispose.forEach(S=>S()),l()},reset:l,forceUpdate:S=>{const T=n.get(S);a.set.forEach(O=>O(S,T,T))}}},removeFromArray=(i,s)=>{const o=i.indexOf(s);o>=0&&(i[o]=i[i.length-1],i.length--)},createStore=(i,s)=>{const o=createObservableMap(i,s);return o.use(stencilSubscription()),o},{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(s=>h("li",null,h("a",{href:s.link,target:"_blank",onClick:()=>this.handleOpenLink(s.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"},s.img?h("img",{class:"w-full rounded-full",src:s.img,alt:s.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"},s.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",s=(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:o=>this.wrapperRef=o},h("button",{key:"e79b850f351172fec8a523a88424882b4bc1c9e0",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:"7224e21928ed0a6075d0f8809973877b8626258e",class:"truncate overflow-hidden"},this.value.name),h("svg",{key:"abcea29a8c905c9eea64162f5a2bfa79c08d3b0b",class:s,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:o=>this.ulRef=o,class:i},this.options.map(o=>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"},o.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 s=this.services.find(o=>o.domain===i.detail);state.nlImport.relay=s.relay,state.nlImport.nostrConnect=s.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_angular_builders_custom_webpack_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(s=>({name:s.domain,value:s.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:s=>this.handleDomainSelect(s),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:s=>this.handleCreateAccount(s),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...",s="Establishing connection to your key storage.";this.path===CURRENT_MODULE.LOCAL_SIGNUP?(i="Creating...",s="Publishing your profile on Nostr."):state.authUrl&&(state.isLoading?(i="Confirming...",s="Please confirm the connection in your key storage app."):(i="Almost ready!",s="Continue to confirm the connection to your key storage."));const o=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"},s),!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)),o&&h("div",{key:"b64c30fff6e6c29db92ec77d574b4908a097dce4",class:"mt-3 ml-auto mr-auto w-72"},h("button-base",{key:"7d51196c3a61860292e95332cc36ea7b90075157",onClick:n=>{state.authUrl&&!state.isLoading?this.handleContinueClick(n):this.handleStop(n)},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="",s="";if("extension"===this.info.authMethod)i="Extension",s="border-yellow-300 text-yellow-500 bg-yellow-100";else if("readOnly"===this.info.authMethod)i="Read only",s="border-gray-300 text-gray-400 bg-gray-100";else if("connect"===this.info.authMethod)i="Connect",s="border-teal-300 text-teal-600 bg-teal-100";else if("local"===this.info.authMethod)i="Temporary",s="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",s="border-orange-300 text-orange-600 bg-orange-100"}return h("div",{key:"deff079607a599f28ab3feb535ed129434d54c7f"},h("span",{key:"a46ce6b03027226914d5d6bd46b74c9ae5213339",class:`${s} 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 s=!!i?.picture,o=i.name||i.nip05||i.pubkey,n=!!o;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"},s?h("img",{class:"w-full rounded-full",src:i.picture,alt:"Logo"}):n?o[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"},o),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 s=!!i?.picture,o=i.name||i.nip05||i.pubkey,n=!!o;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"},s?h("img",{class:"w-full rounded-full",src:i.picture,alt:"Logo"}):n?o[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"},o),h("nl-login-status",{info:i})),h("svg",{onClick:a=>{a.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 s=0;for(;0!==i;)s++,i>>>=1;return s},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,s){if(exports.isValid(i))return i;try{return function(o){if("string"!=typeof o)throw new Error("Param is not a string");switch(o.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: "+o)}}(i)}catch{return s}},BitBuffer$1.prototype={get:function(i){const s=Math.floor(i/8);return 1==(this.buffer[s]>>>7-i%8&1)},put:function(i,s){for(let o=0;o>>s-o-1&1))},getLengthInBits:function(){return this.length},putBit:function(i){const s=Math.floor(this.length/8);this.buffer.length<=s&&this.buffer.push(0),i&&(this.buffer[s]|=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,s,o,n){const a=i*this.size+s;this.data[a]=o,n&&(this.reservedBit[a]=!0)},BitMatrix$1.prototype.get=function(i,s){return this.data[i*this.size+s]},BitMatrix$1.prototype.xor=function(i,s,o){this.data[i*this.size+s]^=o},BitMatrix$1.prototype.isReserved=function(i,s){return this.reservedBit[i*this.size+s]};var bitMatrix=BitMatrix$1,alignmentPattern={};!function(i){const s=utils$1$1.getSymbolSize;i.getRowColCoords=function(o){if(1===o)return[];const n=Math.floor(o/7)+2,a=s(o),l=145===a?26:2*Math.ceil((a-13)/(2*n-2)),y=[a-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 C=0,A=0,S=0,T=null,O=null;for(let P=0;P=5&&(C+=A-5+3),T=Y,A=1),Y=y.get(q,P),Y===O?S++:(S>=5&&(C+=S-5+3),O=Y,S=1)}A>=5&&(C+=A-5+3),S>=5&&(C+=S-5+3)}return C},i.getPenaltyN2=function(y){const k=y.size;let C=0;for(let A=0;A=10&&(1488===A||93===A)&&C++,S=S<<1&2047|y.get(O,T),O>=10&&(1488===S||93===S)&&C++}return 40*C},i.getPenaltyN4=function(y){let k=0;const C=y.data.length;for(let A=0;A=0;){const l=a[0];for(let k=0;k0){const a=new Uint8Array(this.degree);return a.set(o,n),a}return o};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 s=versionCheck,o=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(n,a){if(!n.ccBits)throw new Error("Invalid mode: "+n);if(!s.isValid(a))throw new Error("Invalid version: "+a);return a>=1&&a<10?n.ccBits[0]:a<27?n.ccBits[1]:n.ccBits[2]},i.getBestModeForData=function(n){return o.testNumeric(n)?i.NUMERIC:o.testAlphanumeric(n)?i.ALPHANUMERIC:o.testKanji(n)?i.KANJI:i.BYTE},i.toString=function(n){if(n&&n.id)return n.id;throw new Error("Invalid mode")},i.isValid=function(n){return n&&n.bit&&n.ccBits},i.from=function(n,a){if(i.isValid(n))return n;try{return function(l){if("string"!=typeof l)throw new Error("Param is not a string");switch(l.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: "+l)}}(n)}catch{return a}}}(mode),function(i){const s=utils$1$1,o=errorCorrectionCode,n=errorCorrectionLevel,a=mode,l=versionCheck,y=s.getBCHDigit(7973);function k(A,S){return a.getCharCountIndicator(A,S)+4}function C(A,S){let T=0;return A.forEach(function(O){const P=k(O.mode,S);T+=P+O.getBitsLength()}),T}i.from=function(A,S){return l.isValid(A)?parseInt(A,10):S},i.getCapacity=function(A,S,T){if(!l.isValid(A))throw new Error("Invalid QR Code version");void 0===T&&(T=a.BYTE);const O=8*(s.getSymbolTotalCodewords(A)-o.getTotalCodewordsCount(A,S));if(T===a.MIXED)return O;const P=O-k(T,A);switch(T){case a.NUMERIC:return Math.floor(P/10*3);case a.ALPHANUMERIC:return Math.floor(P/11*2);case a.KANJI:return Math.floor(P/13);default:return Math.floor(P/8)}},i.getBestVersionForData=function(A,S){let T;const O=n.from(S,n.M);if(Array.isArray(A)){if(A.length>1)return function(P,q){for(let Y=1;Y<=40;Y++)if(C(P,Y)<=i.getCapacity(Y,q,a.MIXED))return Y}(A,O);if(0===A.length)return 1;T=A[0]}else T=A;return function(P,q,Y){for(let J=1;J<=40;J++)if(q<=i.getCapacity(J,Y,P))return J}(T.mode,T.getLength(),O)},i.getEncodedBits=function(A){if(!l.isValid(A)||A<7)throw new Error("Invalid QR Code version");let S=A<<12;for(;s.getBCHDigit(S)-y>=0;)S^=7973<=0;)n^=G15<0&&(o=this.data.substr(s),n=parseInt(o,10),i.put(n,3*a+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 s;for(s=0;s+2<=this.data.length;s+=2){let o=45*ALPHA_NUM_CHARS.indexOf(this.data[s]);o+=ALPHA_NUM_CHARS.indexOf(this.data[s+1]),i.put(o,11)}this.data.length%2&&i.put(ALPHA_NUM_CHARS.indexOf(this.data[s]),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 s=0,o=this.data.length;s=33088&&o<=40956)o-=33088;else{if(!(o>=57408&&o<=60351))throw new Error("Invalid SJIS character: "+this.data[s]+"\nMake sure your charset is UTF-8");o-=49472}o=192*(o>>>8&255)+(255&o),i.put(o,13)}};var kanjiData=KanjiData,dijkstra={exports:{}};(function(i){var s={single_source_shortest_paths:function(o,n,a){var l={},y={};y[n]=0;var k,C,A,S,T,O,q=s.PriorityQueue.make();for(q.push(n,0);!q.empty();)for(A in C=(k=q.pop()).value,S=k.cost,T=o[C]||{})T.hasOwnProperty(A)&&(O=S+T[A],(void 0===y[A]||y[A]>O)&&(y[A]=O,q.push(A,O),l[A]=C));if(void 0!==a&&void 0===y[a]){var Y=["Could not find a path from ",n," to ",a,"."].join("");throw new Error(Y)}return l},extract_shortest_path_from_predecessor_list:function(o,n){for(var a=[],l=n;l;)a.push(l),l=o[l];return a.reverse(),a},find_path:function(o,n,a){var l=s.single_source_shortest_paths(o,n,a);return s.extract_shortest_path_from_predecessor_list(l,a)},PriorityQueue:{make:function(o){var n,a=s.PriorityQueue,l={};for(n in o=o||{},a)a.hasOwnProperty(n)&&(l[n]=a[n]);return l.queue=[],l.sorter=o.sorter||a.default_sorter,l},default_sorter:function(o,n){return o.cost-n.cost},push:function(o,n){this.queue.push({value:o,cost:n}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};i.exports=s})(dijkstra),function(i){const s=mode,o=numericData,n=alphanumericData,a=byteData,l=kanjiData,y=regex$1,k=utils$1$1,C=dijkstra.exports;function A(q){return unescape(encodeURIComponent(q)).length}function S(q,Y,J){const ht=[];let ct;for(;null!==(ct=q.exec(J));)ht.push({data:ct[0],index:ct.index,mode:Y,length:ct[0].length});return ht}function T(q){const Y=S(y.NUMERIC,s.NUMERIC,q),J=S(y.ALPHANUMERIC,s.ALPHANUMERIC,q);let ht,ct;return k.isKanjiModeEnabled()?(ht=S(y.BYTE,s.BYTE,q),ct=S(y.KANJI,s.KANJI,q)):(ht=S(y.BYTE_KANJI,s.BYTE,q),ct=[]),Y.concat(J,ht,ct).sort(function(pt,kt){return pt.index-kt.index}).map(function(pt){return{data:pt.data,mode:pt.mode,length:pt.length}})}function O(q,Y){switch(Y){case s.NUMERIC:return o.getBitsLength(q);case s.ALPHANUMERIC:return n.getBitsLength(q);case s.KANJI:return l.getBitsLength(q);case s.BYTE:return a.getBitsLength(q)}}function P(q,Y){let J;const ht=s.getBestModeForData(q);if(J=s.from(Y,ht),J!==s.BYTE&&J.bit=0?Et[Et.length-1]:null;return yt&&yt.mode===It.mode?(Et[Et.length-1].data+=It.data,Et):(Et.push(It),Et)},[]))},i.rawSplit=function(q){return i.fromArray(T(q,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,s){const o=i.size,n=FinderPattern.getPositions(s);for(let a=0;a=0&&k<=6&&(0===C||6===C)||C>=0&&C<=6&&(0===k||6===k)||k>=2&&k<=4&&C>=2&&C<=4,!0)}}function setupTimingPattern(i){const s=i.size;for(let o=8;o>k&1),i.set(a,l,y,!0),i.set(l,a,y,!0)}function setupFormatInfo(i,s,o){const n=i.size,a=FormatInfo.getEncodedBits(s,o);let l,y;for(l=0;l<15;l++)y=1==(a>>l&1),i.set(l<6?l:l<8?l+1:n-15+l,8,y,!0),i.set(8,l<8?n-l-1:l<9?15-l-1+1:15-l-1,y,!0);i.set(n-8,8,1,!0)}function setupData(i,s){const o=i.size;let n=-1,a=o-1,l=7,y=0;for(let k=o-1;k>0;k-=2)for(6===k&&k--;;){for(let C=0;C<2;C++)if(!i.isReserved(a,k-C)){let A=!1;y>>l&1)),i.set(a,k-C,A),l--,-1===l&&(y++,l=7)}if(a+=n,a<0||o<=a){a-=n,n=-n;break}}}function createData(i,s,o){const n=new BitBuffer;o.forEach(function(y){n.put(y.mode.bit,4),n.put(y.getLength(),Mode.getCharCountIndicator(y.mode,i)),y.write(n)});const a=8*(Utils$1.getSymbolTotalCodewords(i)-ECCode.getTotalCodewordsCount(i,s));for(n.getLengthInBits()+4<=a&&n.put(0,4);n.getLengthInBits()%8!=0;)n.putBit(0);const l=(a-n.getLengthInBits())/8;for(let y=0;y=7&&setupVersionInfo(C,s),setupData(C,y),isNaN(n)&&(n=MaskPattern.getBestMask(C,setupFormatInfo.bind(null,C,o))),MaskPattern.applyMask(n,C),setupFormatInfo(C,o,n),{modules:C,version:s,errorCorrectionLevel:o,maskPattern:n,segments:a}}qrcode.create=function(i,s){if(void 0===i||""===i)throw new Error("No input text");let o,n,a=ECLevel.M;return void 0!==s&&(a=ECLevel.from(s.errorCorrectionLevel,ECLevel.M),o=Version.from(s.version),n=MaskPattern.from(s.maskPattern),s.toSJISFunc&&Utils$1.setToSJISFunction(s.toSJISFunc)),createSymbol(i,o,a,n)};var canvas={},utils$3={};(function(i){function s(o){if("number"==typeof o&&(o=o.toString()),"string"!=typeof o)throw new Error("Color should be defined as hex string");let n=o.slice().replace("#","").split("");if(n.length<3||5===n.length||n.length>8)throw new Error("Invalid hex color: "+o);3!==n.length&&4!==n.length||(n=Array.prototype.concat.apply([],n.map(function(l){return[l,l]}))),6===n.length&&n.push("F","F");const a=parseInt(n.join(""),16);return{r:a>>24&255,g:a>>16&255,b:a>>8&255,a:255&a,hex:"#"+n.slice(0,6).join("")}}i.getOptions=function(o){o||(o={}),o.color||(o.color={});const a=o.width&&o.width>=21?o.width:void 0;return{width:a,scale:a?4:o.scale||4,margin:null==o.margin||o.margin<0?4:o.margin,color:{dark:s(o.color.dark||"#000000ff"),light:s(o.color.light||"#ffffffff")},type:o.type,rendererOpts:o.rendererOpts||{}}},i.getScale=function(o,n){return n.width&&n.width>=o+2*n.margin?n.width/(o+2*n.margin):n.scale},i.getImageWidth=function(o,n){const a=i.getScale(o,n);return Math.floor((o+2*n.margin)*a)},i.qrToImageData=function(o,n,a){const l=n.modules.size,y=n.modules.data,k=i.getScale(l,a),C=Math.floor((l+2*a.margin)*k),A=a.margin*k,S=[a.color.light,a.color.dark];for(let T=0;T=A&&O>=A&&T0&&C>0&&i[k-1]||(n+=l?svgCmd("M",C+o,.5+A+o):svgCmd("m",a,0),a=0,l=!1),C+1':"",C="',S=''+k+C+"\n";return"function"==typeof o&&o(null,S),S};const canPromise=canPromise$1,QRCode=qrcode,CanvasRenderer=canvas,SvgRenderer=svgTag;function renderCanvas(i,s,o,n,a){const l=[].slice.call(arguments,1),y=l.length,k="function"==typeof l[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?(o=s,s=n=void 0):2!==y||s.getContext||(n=o,o=s,s=void 0),new Promise(function(C,A){try{const S=QRCode.create(o,n);C(i(S,s,n))}catch(S){A(S)}})}if(y<2)throw new Error("Too few arguments provided");2===y?(a=o,o=s,s=n=void 0):3===y&&(s.getContext&&void 0===a?(a=n,n=void 0):(a=n,n=o,o=s,s=void 0));try{const C=QRCode.create(o,n);a(null,i(C,s,n))}catch(C){a(C)}}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,s,o){return SvgRenderer.render(i,o)});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_angular_builders_custom_webpack_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(s){console.error("Error generating QR Code:",s)}})()}copyToClipboard(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_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(s){console.error("Failed to copy connectionString: ",s)}})()}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(s=>({name:"@"+s,value:s}))}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":""),s=state.path.at(-1),o=!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:s}):h(Fragment,null,(()=>{if(state.isOTP)return h("nl-signin-otp",null);switch(s){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(n=>n.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||s!==CURRENT_MODULE.INFO&&s!==CURRENT_MODULE.CONFIRM_LOGOUT&&s!==CURRENT_MODULE.IMPORT_FLOW&&s!==CURRENT_MODULE.WELCOME&&s!==CURRENT_MODULE.EXTENSION&&s!==CURRENT_MODULE.PREVIOUSLY_LOGGED)&&h(Fragment,null,s===CURRENT_MODULE.WELCOME_SIGNUP||s===CURRENT_MODULE.SIGNUP||s===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"),".")):o&&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",s=(this.isOpen?"rotate-180":"rotate-0")+" duration-300 flex-shrink-0 w-4 h-4 text-gray-500",o=this.options&&this.currentAccount?this.options.filter(n=>n.pubkey!==this.currentAccount.pubkey||n.authMethod!==this.currentAccount.authMethod):[];return h("div",{key:"e2fb1c4ca91fe75f9af8c40ba3411dba388ac9fd",class:`theme-${this.themeState}`},h("div",{key:"4ea60737ca60f4e6c20d014ed197f65f7b169432",class:"relative",ref:n=>this.wrapperRef=n},h("button",{key:"5838bf67141378607ec9d7f653f2eb71fbb655ee",ref:n=>this.buttonRef=n,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:s,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:n=>this.ulRef=n,class:i},this.options&&o.map(n=>{const l=n.name||n.nip05||n.pubkey;return h("li",{onClick:()=>this.handleChange(n),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"},n?.picture?h("img",{class:"w-full rounded-full",src:n.picture,alt:"Logo"}):l?l[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"},l),h("nl-login-status",{info:n})))}),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 s,o,n;this.isNotConfirmToSend=!0,this.isOpen=!0,this.isOpenConfirm=!0,this.domain=(null===(n=null===(o=null===(s=this.userInfo)||void 0===s?void 0:s.nip05)||void 0===o?void 0:o.split("@"))||void 0===n?void 0:n[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,s,o,n,a,l;const y=!(null===(i=this.userInfo)||void 0===i||!i.picture),k=(null===(s=this.userInfo)||void 0===s?void 0:s.name)||(null===(a=null===(n=null===(o=this.userInfo)||void 0===o?void 0:o.nip05)||void 0===n?void 0:n.split("@"))||void 0===a?void 0:a[0])||(null===(l=this.userInfo)||void 0===l?void 0:l.pubkey)||"",C=!!k,A=this.userInfo&&"local"===this.userInfo.authMethod,S=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"}):C?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&&C&&h("div",{key:"ac034a746a28bd20a36770a49d02773ac97025a5",class:"show-slow truncate w-16 text-xs"},k),this.isOpen&&C&&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),A&&h(Fragment,null,!S&&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 s="";if(0===i)return s;for(var o=0;o1)s?((o=this._tasks).push.apply(o,arguments),this.length+=arguments.length):(this._tasks.push(i),this.length++);else if(s){var a;1===n?((a=Array(1+arguments.length)).push(a),a.push.apply(a,arguments),this._tasks=a):((a=Array(arguments.length)).push.apply(a,arguments),this._tasks=a),this.length+=arguments.length}else this._tasks=1===n?[this._tasks,i]:i,this.length++}function push_rebuild(i,s){var o,n=this.length;if(n>1)s?((o=this._tasks).push.apply(o,arguments),this.length+=arguments.length):(this._tasks.push(i),this.length++);else if(s){var a;1===n?((a=Array(1+arguments.length)).push(a),a.push.apply(a,arguments),this._tasks=a):((a=Array(arguments.length)).push.apply(a,arguments),this._tasks=a),this.length+=arguments.length}else this._tasks=1===n?[this._tasks,i]:i,this.length++;this.firstEmitBuildStrategy?this.call=rebuild_on_first_call:this.rebuild()}function _fast_remove_single(i,s){-1!==s&&(0===s?i.shift():s===i.length-1?i.length=i.length-1:i.splice(s,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 s,o=[],n=1;n0&&!s.includes(i.length))throw new Error(`Expected Uint8Array of length ${s}, 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,s=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(s&&i.finished)throw new Error("Hash#digest() has already been called")}function output$3(i,s){bytes$3(i);const o=s.outputLen;if(i.lengthi instanceof Uint8Array,createView$2=i=>new DataView(i.buffer,i.byteOffset,i.byteLength),rotr$2=(i,s)=>i<<32-s|i>>>s,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 s=new Uint8Array(i.reduce((n,a)=>n+a.length,0));let o=0;return i.forEach(n=>{if(!u8a$3(n))throw new Error("Uint8Array expected");s.set(n,o),o+=n.length}),s}Array.from({length:256},(i,s)=>s.toString(16).padStart(2,"0"));let Hash$2=class{clone(){return this._cloneInto()}};function wrapConstructor$2(i){const s=n=>i().update(toBytes$3(n)).digest(),o=i();return s.outputLen=o.outputLen,s.blockLen=o.blockLen,s.create=()=>i(),s}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,s,o,n){if("function"==typeof i.setBigUint64)return i.setBigUint64(s,o,n);const a=BigInt(32),l=BigInt(4294967295),y=Number(o>>a&l),k=Number(o&l),A=n?0:4;i.setUint32(s+(n?4:0),y,n),i.setUint32(s+A,k,n)}let SHA2$2=class extends Hash$2{constructor(i,s,o,n){super(),this.blockLen=i,this.outputLen=s,this.padOffset=o,this.isLE=n,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:s,buffer:o,blockLen:n}=this,a=(i=toBytes$3(i)).length;for(let l=0;ln-l&&(this.process(o,0),l=0);for(let S=l;SA.length)throw new Error("_sha2: outputLen bigger than state");for(let S=0;Si&s^~i&o,Maj$2=(i,s,o)=>i&s^i&o^s&o,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:s,C:o,D:n,E:a,F:l,G:y,H:k}=this;return[i,s,o,n,a,l,y,k]}set(i,s,o,n,a,l,y,k){this.A=0|i,this.B=0|s,this.C=0|o,this.D=0|n,this.E=0|a,this.F=0|l,this.G=0|y,this.H=0|k}process(i,s){for(let S=0;S<16;S++,s+=4)SHA256_W$2[S]=i.getUint32(s,!1);for(let S=16;S<64;S++){const T=SHA256_W$2[S-15],O=SHA256_W$2[S-2],P=rotr$2(T,7)^rotr$2(T,18)^T>>>3,q=rotr$2(O,17)^rotr$2(O,19)^O>>>10;SHA256_W$2[S]=q+SHA256_W$2[S-7]+P+SHA256_W$2[S-16]|0}let{A:o,B:n,C:a,D:l,E:y,F:k,G:C,H:A}=this;for(let S=0;S<64;S++){const T=A+(rotr$2(y,6)^rotr$2(y,11)^rotr$2(y,25))+Chi$2(y,k,C)+SHA256_K$2[S]+SHA256_W$2[S]|0,O=(rotr$2(o,2)^rotr$2(o,13)^rotr$2(o,22))+Maj$2(o,n,a)|0;A=C,C=k,k=y,y=l+T|0,l=a,a=n,n=o,o=T+O|0}o=o+this.A|0,n=n+this.B|0,a=a+this.C|0,l=l+this.D|0,y=y+this.E|0,k=k+this.F|0,C=C+this.G|0,A=A+this.H|0,this.set(o,n,a,l,y,k,C,A)}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,s)=>s.toString(16).padStart(2,"0"));function bytesToHex$2(i){if(!u8a$2(i))throw new Error("Uint8Array expected");let s="";for(let o=0;on+a.length,0));let o=0;return i.forEach(n=>{if(!u8a$2(n))throw new Error("Uint8Array expected");s.set(n,o),o+=n.length}),s}function equalBytes$1(i,s){if(i.length!==s.length)return!1;for(let o=0;o_0n$4;i>>=_1n$4,s+=1);return s}function bitGet(i,s){return i>>BigInt(s)&_1n$4}const bitSet=(i,s,o)=>i|(o?_1n$4:_0n$4)<(_2n$2<new Uint8Array(i),u8fr=i=>Uint8Array.from(i);function createHmacDrbg(i,s,o){if("number"!=typeof i||i<2)throw new Error("hashLen must be a number");if("number"!=typeof s||s<2)throw new Error("qByteLen must be a number");if("function"!=typeof o)throw new Error("hmacFn must be a function");let n=u8n(i),a=u8n(i),l=0;const y=()=>{n.fill(1),a.fill(0),l=0},k=(...S)=>o(a,n,...S),C=(S=u8n())=>{a=k(u8fr([0]),S),n=k(),0!==S.length&&(a=k(u8fr([1]),S),n=k())},A=()=>{if(l++>=1e3)throw new Error("drbg: tried 1000 values");let S=0;const T=[];for(;S{let O;for(y(),C(S);!(O=T(A()));)C();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,s)=>s.Fp.isValid(i),hash:i=>"function"==typeof i&&Number.isSafeInteger(i.outputLen)};function validateObject(i,s,o={}){const n=(a,l,y)=>{const k=validatorFns[l];if("function"!=typeof k)throw new Error(`Invalid validator "${l}", expected function`);const C=i[a];if(!(y&&void 0===C||k(C,i)))throw new Error(`Invalid param ${String(a)}=${C} (${typeof C}), expected ${l}`)};for(const[a,l]of Object.entries(s))n(a,l,!1);for(const[a,l]of Object.entries(o))n(a,l,!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,s){const o=i%s;return o>=_0n$3?o:s+o}function pow(i,s,o){if(o<=_0n$3||s<_0n$3)throw new Error("Expected power/modulo > 0");if(o===_1n$3)return _0n$3;let n=_1n$3;for(;s>_0n$3;)s&_1n$3&&(n=n*i%o),i=i*i%o,s>>=_1n$3;return n}function pow2(i,s,o){let n=i;for(;s-- >_0n$3;)n*=n,n%=o;return n}function invert(i,s){if(i===_0n$3||s<=_0n$3)throw new Error(`invert: expected positive integers, got n=${i} mod=${s}`);let o=mod(i,s),n=s,a=_0n$3,l=_1n$3;for(;o!==_0n$3;){const y=n%o,k=a-l*(n/o);n=o,o=y,a=l,l=k}if(n!==_1n$3)throw new Error("invert: does not exist");return mod(a,s)}function tonelliShanks(i){const s=(i-_1n$3)/_2n$1;let o,n,a;for(o=i-_1n$3,n=0;o%_2n$1===_0n$3;o/=_2n$1,n++);for(a=_2n$1;a(o[n]="function",o),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"}))}function FpPow(i,s,o){if(o<_0n$3)throw new Error("Expected power > 0");if(o===_0n$3)return i.ONE;if(o===_1n$3)return s;let n=i.ONE,a=s;for(;o>_0n$3;)o&_1n$3&&(n=i.mul(n,a)),a=i.sqr(a),o>>=_1n$3;return n}function FpInvertBatch(i,s){const o=new Array(s.length),n=s.reduce((l,y,k)=>i.is0(y)?l:(o[k]=l,i.mul(l,y)),i.ONE),a=i.inv(n);return s.reduceRight((l,y,k)=>i.is0(y)?l:(o[k]=i.mul(l,o[k]),i.mul(l,y)),a),o}function nLength(i,s){const o=void 0!==s?s:i.toString(2).length;return{nBitLength:o,nByteLength:Math.ceil(o/8)}}function Field(i,s,o=!1,n={}){if(i<=_0n$3)throw new Error(`Expected Fp ORDER > 0, got ${i}`);const{nBitLength:a,nByteLength:l}=nLength(i,s);if(l>2048)throw new Error("Field lengths over 2048 bytes are not supported");const y=FpSqrt(i),k=Object.freeze({ORDER:i,BITS:a,BYTES:l,MASK:bitMask(a),ZERO:_0n$3,ONE:_1n$3,create:C=>mod(C,i),isValid:C=>{if("bigint"!=typeof C)throw new Error("Invalid field element: expected bigint, got "+typeof C);return _0n$3<=C&&CC===_0n$3,isOdd:C=>(C&_1n$3)===_1n$3,neg:C=>mod(-C,i),eql:(C,A)=>C===A,sqr:C=>mod(C*C,i),add:(C,A)=>mod(C+A,i),sub:(C,A)=>mod(C-A,i),mul:(C,A)=>mod(C*A,i),pow:(C,A)=>FpPow(k,C,A),div:(C,A)=>mod(C*invert(A,i),i),sqrN:C=>C*C,addN:(C,A)=>C+A,subN:(C,A)=>C-A,mulN:(C,A)=>C*A,inv:C=>invert(C,i),sqrt:n.sqrt||(C=>y(k,C)),invertBatch:C=>FpInvertBatch(k,C),cmov:(C,A,S)=>S?A:C,toBytes:C=>o?numberToBytesLE(C,l):numberToBytesBE(C,l),fromBytes:C=>{if(C.length!==l)throw new Error(`Fp.fromBytes: expected ${l}, got ${C.length}`);return o?bytesToNumberLE(C):bytesToNumberBE(C)}});return Object.freeze(k)}function hashToPrivateScalar(i,s,o=!1){const n=(i=ensureBytes$1("privateHash",i)).length,a=nLength(s).nByteLength+8;if(a<24||n1024)throw new Error(`hashToPrivateScalar: expected ${a}-1024 bytes of input, got ${n}`);return mod(o?bytesToNumberLE(i):bytesToNumberBE(i),s-_1n$3)+_1n$3}const _0n$2=BigInt(0),_1n$2=BigInt(1);function wNAF(i,s){const o=(a,l)=>{const y=l.negate();return a?y:l},n=a=>({windows:Math.ceil(s/a)+1,windowSize:2**(a-1)});return{constTimeNegate:o,unsafeLadder(a,l){let y=i.ZERO,k=a;for(;l>_0n$2;)l&_1n$2&&(y=y.add(k)),k=k.double(),l>>=_1n$2;return y},precomputeWindow(a,l){const{windows:y,windowSize:k}=n(l),C=[];let A=a,S=A;for(let T=0;T>=P,J>C&&(J-=O,y+=_1n$2);const ht=Y,ct=Y+Math.abs(J)-1,kt=J<0;0===J?S=S.add(o(q%2!=0,l[ht])):A=A.add(o(kt,l[ct]))}return{p:A,f:S}},wNAFCached(a,l,y,k){const C=a._WINDOW_SIZE||1;let A=l.get(a);return A||(A=this.precomputeWindow(a,C),1!==C&&l.set(a,k(A))),this.wNAF(C,A,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 s=validateBasic(i);validateObject(s,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:o,Fp:n,a}=s;if(o){if(!n.eql(a,n.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof o||"bigint"!=typeof o.beta||"function"!=typeof o.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...s})}const{bytesToNumberBE:b2n,hexToBytes:h2b}=ut,DER={Err:class extends Error{constructor(i=""){super(i)}},_parseInt(i){const{Err:s}=DER;if(i.length<2||2!==i[0])throw new s("Invalid signature integer tag");const o=i[1],n=i.subarray(2,o+2);if(!o||n.length!==o)throw new s("Invalid signature integer: wrong length");if(128&n[0])throw new s("Invalid signature integer: negative");if(0===n[0]&&!(128&n[1]))throw new s("Invalid signature integer: unnecessary leading zero");return{d:b2n(n),l:i.subarray(o+2)}},toSig(i){const{Err:s}=DER,o="string"==typeof i?h2b(i):i;if(!(o instanceof Uint8Array))throw new Error("ui8a expected");let n=o.length;if(n<2||48!=o[0])throw new s("Invalid signature tag");if(o[1]!==n-2)throw new s("Invalid signature: incorrect length");const{d:a,l}=DER._parseInt(o.subarray(2)),{d:y,l:k}=DER._parseInt(l);if(k.length)throw new s("Invalid signature: left bytes after parsing");return{r:a,s:y}},hexFromSig(i){const s=A=>8&Number.parseInt(A[0],16)?"00"+A:A,o=A=>{const S=A.toString(16);return 1&S.length?`0${S}`:S},n=s(o(i.s)),a=s(o(i.r)),l=n.length/2,y=a.length/2,k=o(l),C=o(y);return`30${o(y+l+4)}02${C}${a}02${k}${n}`}},_0n$1=BigInt(0),_1n$1=BigInt(1);BigInt(2);const _3n=BigInt(3);function weierstrassPoints(i){const s=validatePointOpts(i),{Fp:o}=s,n=s.toBytes||((q,Y,J)=>{const ht=Y.toAffine();return concatBytes$2(Uint8Array.from([4]),o.toBytes(ht.x),o.toBytes(ht.y))}),a=s.fromBytes||(q=>{const Y=q.subarray(1);return{x:o.fromBytes(Y.subarray(0,o.BYTES)),y:o.fromBytes(Y.subarray(o.BYTES,2*o.BYTES))}});function l(q){const{a:Y,b:J}=s,ht=o.sqr(q),ct=o.mul(ht,q);return o.add(o.add(ct,o.mul(q,Y)),J)}if(!o.eql(o.sqr(s.Gy),l(s.Gx)))throw new Error("bad generator point: equation left != right");function y(q){return"bigint"==typeof q&&_0n$1o.eql(pt,o.ZERO);return ct(J)&&ct(ht)?T.ZERO:new T(J,ht,o.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(Y){const J=o.invertBatch(Y.map(ht=>ht.pz));return Y.map((ht,ct)=>ht.toAffine(J[ct])).map(T.fromAffine)}static fromHex(Y){const J=T.fromAffine(a(ensureBytes$1("pointHex",Y)));return J.assertValidity(),J}static fromPrivateKey(Y){return T.BASE.multiply(C(Y))}_setWindowSize(Y){this._WINDOW_SIZE=Y,A.delete(this)}assertValidity(){if(this.is0()){if(s.allowInfinityPoint)return;throw new Error("bad point: ZERO")}const{x:Y,y:J}=this.toAffine();if(!o.isValid(Y)||!o.isValid(J))throw new Error("bad point: x or y not FE");const ht=o.sqr(J),ct=l(Y);if(!o.eql(ht,ct))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:Y}=this.toAffine();if(o.isOdd)return!o.isOdd(Y);throw new Error("Field doesn't support isOdd")}equals(Y){S(Y);const{px:J,py:ht,pz:ct}=this,{px:pt,py:kt,pz:Et}=Y,It=o.eql(o.mul(J,Et),o.mul(pt,ct)),yt=o.eql(o.mul(ht,Et),o.mul(kt,ct));return It&&yt}negate(){return new T(this.px,o.neg(this.py),this.pz)}double(){const{a:Y,b:J}=s,ht=o.mul(J,_3n),{px:ct,py:pt,pz:kt}=this;let Et=o.ZERO,It=o.ZERO,yt=o.ZERO,_t=o.mul(ct,ct),at=o.mul(pt,pt),st=o.mul(kt,kt),vt=o.mul(ct,pt);return vt=o.add(vt,vt),yt=o.mul(ct,kt),yt=o.add(yt,yt),Et=o.mul(Y,yt),It=o.mul(ht,st),It=o.add(Et,It),Et=o.sub(at,It),It=o.add(at,It),It=o.mul(Et,It),Et=o.mul(vt,Et),yt=o.mul(ht,yt),st=o.mul(Y,st),vt=o.sub(_t,st),vt=o.mul(Y,vt),vt=o.add(vt,yt),yt=o.add(_t,_t),_t=o.add(yt,_t),_t=o.add(_t,st),_t=o.mul(_t,vt),It=o.add(It,_t),st=o.mul(pt,kt),st=o.add(st,st),_t=o.mul(st,vt),Et=o.sub(Et,_t),yt=o.mul(st,at),yt=o.add(yt,yt),yt=o.add(yt,yt),new T(Et,It,yt)}add(Y){S(Y);const{px:J,py:ht,pz:ct}=this,{px:pt,py:kt,pz:Et}=Y;let It=o.ZERO,yt=o.ZERO,_t=o.ZERO;const at=s.a,st=o.mul(s.b,_3n);let vt=o.mul(J,pt),Pt=o.mul(ht,kt),ae=o.mul(ct,Et),le=o.add(J,ht),ve=o.add(pt,kt);le=o.mul(le,ve),ve=o.add(vt,Pt),le=o.sub(le,ve),ve=o.add(J,ct);let se=o.add(pt,Et);return ve=o.mul(ve,se),se=o.add(vt,ae),ve=o.sub(ve,se),se=o.add(ht,ct),It=o.add(kt,Et),se=o.mul(se,It),It=o.add(Pt,ae),se=o.sub(se,It),_t=o.mul(at,ve),It=o.mul(st,ae),_t=o.add(It,_t),It=o.sub(Pt,_t),_t=o.add(Pt,_t),yt=o.mul(It,_t),Pt=o.add(vt,vt),Pt=o.add(Pt,vt),ae=o.mul(at,ae),ve=o.mul(st,ve),Pt=o.add(Pt,ae),ae=o.sub(vt,ae),ae=o.mul(at,ae),ve=o.add(ve,ae),vt=o.mul(Pt,ve),yt=o.add(yt,vt),vt=o.mul(se,ve),It=o.mul(le,It),It=o.sub(It,vt),vt=o.mul(le,Pt),_t=o.mul(se,_t),_t=o.add(_t,vt),new T(It,yt,_t)}subtract(Y){return this.add(Y.negate())}is0(){return this.equals(T.ZERO)}wNAF(Y){return P.wNAFCached(this,A,Y,J=>{const ht=o.invertBatch(J.map(ct=>ct.pz));return J.map((ct,pt)=>ct.toAffine(ht[pt])).map(T.fromAffine)})}multiplyUnsafe(Y){const J=T.ZERO;if(Y===_0n$1)return J;if(k(Y),Y===_1n$1)return this;const{endo:ht}=s;if(!ht)return P.unsafeLadder(this,Y);let{k1neg:ct,k1:pt,k2neg:kt,k2:Et}=ht.splitScalar(Y),It=J,yt=J,_t=this;for(;pt>_0n$1||Et>_0n$1;)pt&_1n$1&&(It=It.add(_t)),Et&_1n$1&&(yt=yt.add(_t)),_t=_t.double(),pt>>=_1n$1,Et>>=_1n$1;return ct&&(It=It.negate()),kt&&(yt=yt.negate()),yt=new T(o.mul(yt.px,ht.beta),yt.py,yt.pz),It.add(yt)}multiply(Y){k(Y);let J,ht,ct=Y;const{endo:pt}=s;if(pt){const{k1neg:kt,k1:Et,k2neg:It,k2:yt}=pt.splitScalar(ct);let{p:_t,f:at}=this.wNAF(Et),{p:st,f:vt}=this.wNAF(yt);_t=P.constTimeNegate(kt,_t),st=P.constTimeNegate(It,st),st=new T(o.mul(st.px,pt.beta),st.py,st.pz),J=_t.add(st),ht=at.add(vt)}else{const{p:kt,f:Et}=this.wNAF(ct);J=kt,ht=Et}return T.normalizeZ([J,ht])[0]}multiplyAndAddUnsafe(Y,J,ht){const ct=T.BASE,pt=(Et,It)=>It!==_0n$1&&It!==_1n$1&&Et.equals(ct)?Et.multiply(It):Et.multiplyUnsafe(It),kt=pt(this,J).add(pt(Y,ht));return kt.is0()?void 0:kt}toAffine(Y){const{px:J,py:ht,pz:ct}=this,pt=this.is0();null==Y&&(Y=pt?o.ONE:o.inv(ct));const kt=o.mul(J,Y),Et=o.mul(ht,Y),It=o.mul(ct,Y);if(pt)return{x:o.ZERO,y:o.ZERO};if(!o.eql(It,o.ONE))throw new Error("invZ was invalid");return{x:kt,y:Et}}isTorsionFree(){const{h:Y,isTorsionFree:J}=s;if(Y===_1n$1)return!0;if(J)return J(T,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:Y,clearCofactor:J}=s;return Y===_1n$1?this:J?J(T,this):this.multiplyUnsafe(s.h)}toRawBytes(Y=!0){return this.assertValidity(),n(T,this,Y)}toHex(Y=!0){return bytesToHex$2(this.toRawBytes(Y))}}T.BASE=new T(s.Gx,s.Gy,o.ONE),T.ZERO=new T(o.ZERO,o.ONE,o.ZERO);const O=s.nBitLength,P=wNAF(T,s.endo?Math.ceil(O/2):O);return{CURVE:s,ProjectivePoint:T,normPrivateKeyToScalar:C,weierstrassEquation:l,isWithinCurveOrder:y}}function validateOpts(i){const s=validateBasic(i);return validateObject(s,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...s})}function weierstrass(i){const s=validateOpts(i),{Fp:o,n}=s,a=o.BYTES+1,l=2*o.BYTES+1;function y(at){return mod(at,n)}function k(at){return invert(at,n)}const{ProjectivePoint:C,normPrivateKeyToScalar:A,weierstrassEquation:S,isWithinCurveOrder:T}=weierstrassPoints({...s,toBytes(at,st,vt){const Pt=st.toAffine(),ae=o.toBytes(Pt.x),le=concatBytes$2;return vt?le(Uint8Array.from([st.hasEvenY()?2:3]),ae):le(Uint8Array.from([4]),ae,o.toBytes(Pt.y))},fromBytes(at){const st=at.length,vt=at[0],Pt=at.subarray(1);if(st!==a||2!==vt&&3!==vt){if(st===l&&4===vt)return{x:o.fromBytes(Pt.subarray(0,o.BYTES)),y:o.fromBytes(Pt.subarray(o.BYTES,2*o.BYTES))};throw new Error(`Point of length ${st} was invalid. Expected ${a} compressed bytes or ${l} uncompressed bytes`)}{const le=bytesToNumberBE(Pt);if(!(_0n$1<(ae=le)&&aebytesToHex$2(numberToBytesBE(at,s.nByteLength));function P(at){return at>n>>_1n$1}const q=(at,st,vt)=>bytesToNumberBE(at.slice(st,vt));class Y{constructor(st,vt,Pt){this.r=st,this.s=vt,this.recovery=Pt,this.assertValidity()}static fromCompact(st){const vt=s.nByteLength;return st=ensureBytes$1("compactSignature",st,2*vt),new Y(q(st,0,vt),q(st,vt,2*vt))}static fromDER(st){const{r:vt,s:Pt}=DER.toSig(ensureBytes$1("DER",st));return new Y(vt,Pt)}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(st){return new Y(this.r,this.s,st)}recoverPublicKey(st){const{r:vt,s:Pt,recovery:ae}=this,le=pt(ensureBytes$1("msgHash",st));if(null==ae||![0,1,2,3].includes(ae))throw new Error("recovery id invalid");const ve=2===ae||3===ae?vt+s.n:vt;if(ve>=o.ORDER)throw new Error("recovery id 2 or 3 invalid");const or=C.fromHex((1&ae?"03":"02")+O(ve)),fr=k(ve),yr=y(-le*fr),jr=y(Pt*fr),wr=C.BASE.multiplyAndAddUnsafe(or,yr,jr);if(!wr)throw new Error("point at infinify");return wr.assertValidity(),wr}hasHighS(){return P(this.s)}normalizeS(){return this.hasHighS()?new Y(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 J={isValidPrivateKey(at){try{return A(at),!0}catch{return!1}},normPrivateKeyToScalar:A,randomPrivateKey:()=>numberToBytesBE(hashToPrivateScalar(s.randomBytes(o.BYTES+8),n),s.nByteLength),precompute:(at=8,st=C.BASE)=>(st._setWindowSize(at),st.multiply(BigInt(3)),st)};function ht(at){const st=at instanceof Uint8Array,vt="string"==typeof at,Pt=(st||vt)&&at.length;return st?Pt===a||Pt===l:vt?Pt===2*a||Pt===2*l:at instanceof C}const ct=s.bits2int||function(at){const st=bytesToNumberBE(at),vt=8*at.length-s.nBitLength;return vt>0?st>>BigInt(vt):st},pt=s.bits2int_modN||function(at){return y(ct(at))},kt=bitMask(s.nBitLength);function Et(at){if("bigint"!=typeof at)throw new Error("bigint expected");if(!(_0n$1<=at&&atQt in vt))throw new Error("sign() legacy options not supported");const{hash:Pt,randomBytes:ae}=s;let{lowS:le,prehash:ve,extraEntropy:se}=vt;null==le&&(le=!0),at=ensureBytes$1("msgHash",at),ve&&(at=ensureBytes$1("prehashed msgHash",Pt(at)));const or=pt(at),fr=A(st),yr=[Et(fr),Et(or)];if(null!=se){const Qt=!0===se?ae(o.BYTES):se;yr.push(ensureBytes$1("extraEntropy",Qt,o.BYTES))}const jr=concatBytes$2(...yr),wr=or;return{seed:jr,k2sig:function(Qt){const be=ct(Qt);if(!T(be))return;const Ht=k(be),Bt=C.BASE.multiply(be).toAffine(),Fe=y(Bt.x);if(Fe===_0n$1)return;const zt=y(Ht*y(wr+Fe*fr));if(zt===_0n$1)return;let Yt=(Bt.x===Fe?0:2)|Number(Bt.y&_1n$1),oe=zt;return le&&P(zt)&&(oe=P(Oe=zt)?y(-Oe):Oe,Yt^=1),new Y(Fe,oe,Yt);var Oe}}}(at,st,vt);return createHmacDrbg(s.hash.outputLen,s.nByteLength,s.hmac)(Pt,ae)},verify:function(at,st,vt,Pt=_t){const ae=at;if(st=ensureBytes$1("msgHash",st),vt=ensureBytes$1("publicKey",vt),"strict"in Pt)throw new Error("options.strict was renamed to lowS");const{lowS:le,prehash:ve}=Pt;let se,or;try{if("string"==typeof ae||ae instanceof Uint8Array)try{se=Y.fromDER(ae)}catch(Bt){if(!(Bt instanceof DER.Err))throw Bt;se=Y.fromCompact(ae)}else{if("object"!=typeof ae||"bigint"!=typeof ae.r||"bigint"!=typeof ae.s)throw new Error("PARSE");{const{r:Bt,s:Fe}=ae;se=new Y(Bt,Fe)}}or=C.fromHex(vt)}catch(Bt){if("PARSE"===Bt.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(le&&se.hasHighS())return!1;ve&&(st=s.hash(st));const{r:fr,s:yr}=se,jr=pt(st),wr=k(yr),Qt=y(jr*wr),be=y(fr*wr),Ht=C.BASE.multiplyAndAddUnsafe(or,Qt,be)?.toAffine();return!!Ht&&y(Ht.x)===fr},ProjectivePoint:C,Signature:Y,utils:J}}BigInt(4);let HMAC$2=class extends Hash$2{constructor(i,s){super(),this.finished=!1,this.destroyed=!1,assert$3.hash(i);const o=toBytes$3(s);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 n=this.blockLen,a=new Uint8Array(n);a.set(o.length>n?i.create().update(o).digest():o);for(let l=0;lnew HMAC$2(i,s).update(o).digest();function getHash(i){return{hash:i,hmac:(s,...o)=>hmac$2(i,s,concatBytes$3(...o)),randomBytes:randomBytes$2}}function createCurve(i,s){const o=n=>weierstrass({...i,...getHash(n)});return Object.freeze({...o(s),create:o})}hmac$2.create=(i,s)=>new HMAC$2(i,s);const secp256k1P=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),secp256k1N=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),_1n=BigInt(1),_2n=BigInt(2),divNearest=(i,s)=>(i+s/_2n)/s;function sqrtMod(i){const s=secp256k1P,o=BigInt(3),n=BigInt(6),a=BigInt(11),l=BigInt(22),y=BigInt(23),k=BigInt(44),C=BigInt(88),A=i*i*i%s,S=A*A*i%s,T=pow2(S,o,s)*S%s,O=pow2(T,o,s)*S%s,P=pow2(O,_2n,s)*A%s,q=pow2(P,a,s)*P%s,Y=pow2(q,l,s)*q%s,J=pow2(Y,k,s)*Y%s,ht=pow2(J,C,s)*J%s,ct=pow2(ht,k,s)*Y%s,pt=pow2(ct,o,s)*S%s,kt=pow2(pt,y,s)*q%s,Et=pow2(kt,n,s)*A%s,It=pow2(Et,_2n,s);if(!Fp.eql(Fp.sqr(It),i))throw new Error("Cannot find square root");return It}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 s=secp256k1N,o=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),n=-_1n*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),a=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),l=o,y=BigInt("0x100000000000000000000000000000000"),k=divNearest(l*i,s),C=divNearest(-n*i,s);let A=mod(i-k*o-C*a,s),S=mod(-k*n-C*l,s);const T=A>y,O=S>y;if(T&&(A=s-A),O&&(S=s-S),A>y||S>y)throw new Error("splitScalar: Endomorphism failed, k="+i);return{k1neg:T,k1:A,k2neg:O,k2:S}}}},sha256$2),_0n=BigInt(0),fe=i=>"bigint"==typeof i&&_0n"bigint"==typeof i&&_0na.charCodeAt(0)));o=concatBytes$2(n,n),TAGGED_HASH_PREFIXES[i]=o}return sha256$2(concatBytes$2(o,...s))}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,s,o)=>Point$1.BASE.multiplyAndAddUnsafe(i,s,o);function schnorrGetExtPubKey(i){let s=secp256k1.utils.normPrivateKeyToScalar(i),o=Point$1.fromPrivateKey(s);return{scalar:o.hasEvenY()?s:modN(-s),bytes:pointToBytes(o)}}function lift_x(i){if(!fe(i))throw new Error("bad x: need 0 < x < p");const s=modP(i*i);let o=sqrtMod(modP(s*i+BigInt(7)));o%_2n!==_0n&&(o=modP(-o));const n=new Point$1(i,o,_1n);return n.assertValidity(),n}function challenge(...i){return modN(bytesToNumberBE(taggedHash("BIP0340/challenge",...i)))}function schnorrGetPublicKey(i){return schnorrGetExtPubKey(i).bytes}function schnorrSign(i,s,o=randomBytes$2(32)){const n=ensureBytes$1("message",i),{bytes:a,scalar:l}=schnorrGetExtPubKey(s),y=ensureBytes$1("auxRand",o,32),k=numTo32b(l^bytesToNumberBE(taggedHash("BIP0340/aux",y))),C=taggedHash("BIP0340/nonce",k,a,n),A=modN(bytesToNumberBE(C));if(A===_0n)throw new Error("sign failed: k is zero");const{bytes:S,scalar:T}=schnorrGetExtPubKey(A),O=challenge(S,a,n),P=new Uint8Array(64);if(P.set(S,0),P.set(numTo32b(modN(T+O*l)),32),!schnorrVerify(P,n,a))throw new Error("sign: Invalid signature produced");return P}function schnorrVerify(i,s,o){const n=ensureBytes$1("signature",i,64),a=ensureBytes$1("message",s),l=ensureBytes$1("publicKey",o,32);try{const y=lift_x(bytesToNumberBE(l)),k=bytesToNumberBE(n.subarray(0,32));if(!fe(k))return!1;const C=bytesToNumberBE(n.subarray(32,64));if(!ge(C))return!1;const A=challenge(numTo32b(k),pointToBytes(y),a),S=GmulAdd(y,C,modN(-A));return!(!S||!S.hasEvenY()||S.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,s)=>i<<32-s|i>>>s,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,s)=>s.toString(16).padStart(2,"0"));function bytesToHex$1(i){if(!u8a$1(i))throw new Error("Uint8Array expected");let s="";for(let o=0;on+a.length,0));let o=0;return i.forEach(n=>{if(!u8a$1(n))throw new Error("Uint8Array expected");s.set(n,o),o+=n.length}),s}let Hash$1=class{clone(){return this._cloneInto()}};function wrapConstructor$1(i){const s=n=>i().update(toBytes$2(n)).digest(),o=i();return s.outputLen=o.outputLen,s.blockLen=o.blockLen,s.create=()=>i(),s}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,...s){if(!(i instanceof Uint8Array))throw new Error("Expected Uint8Array");if(s.length>0&&!s.includes(i.length))throw new Error(`Expected Uint8Array of length ${s}, 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,s=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(s&&i.finished)throw new Error("Hash#digest() has already been called")}function output$2(i,s){bytes$2(i);const o=s.outputLen;if(i.length>a&l),k=Number(o&l),A=n?0:4;i.setUint32(s+(n?4:0),y,n),i.setUint32(s+A,k,n)}let SHA2$1=class extends Hash$1{constructor(i,s,o,n){super(),this.blockLen=i,this.outputLen=s,this.padOffset=o,this.isLE=n,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:s,buffer:o,blockLen:n}=this,a=(i=toBytes$2(i)).length;for(let l=0;ln-l&&(this.process(o,0),l=0);for(let S=l;SA.length)throw new Error("_sha2: outputLen bigger than state");for(let S=0;Si&s^~i&o,Maj$1=(i,s,o)=>i&s^i&o^s&o,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:s,C:o,D:n,E:a,F:l,G:y,H:k}=this;return[i,s,o,n,a,l,y,k]}set(i,s,o,n,a,l,y,k){this.A=0|i,this.B=0|s,this.C=0|o,this.D=0|n,this.E=0|a,this.F=0|l,this.G=0|y,this.H=0|k}process(i,s){for(let S=0;S<16;S++,s+=4)SHA256_W$1[S]=i.getUint32(s,!1);for(let S=16;S<64;S++){const T=SHA256_W$1[S-15],O=SHA256_W$1[S-2],P=rotr$1(T,7)^rotr$1(T,18)^T>>>3,q=rotr$1(O,17)^rotr$1(O,19)^O>>>10;SHA256_W$1[S]=q+SHA256_W$1[S-7]+P+SHA256_W$1[S-16]|0}let{A:o,B:n,C:a,D:l,E:y,F:k,G:C,H:A}=this;for(let S=0;S<64;S++){const T=A+(rotr$1(y,6)^rotr$1(y,11)^rotr$1(y,25))+Chi$1(y,k,C)+SHA256_K$1[S]+SHA256_W$1[S]|0,O=(rotr$1(o,2)^rotr$1(o,13)^rotr$1(o,22))+Maj$1(o,n,a)|0;A=C,C=k,k=y,y=l+T|0,l=a,a=n,n=o,o=T+O|0}o=o+this.A|0,n=n+this.B|0,a=a+this.C|0,l=l+this.D|0,y=y+this.E|0,k=k+this.F|0,C=C+this.G|0,A=A+this.H|0,this.set(o,n,a,l,y,k,C,A)}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 s=(o,n)=>a=>o(n(a));return{encode:Array.from(i).reverse().reduce((o,n)=>o?s(o,n.encode):n.encode,void 0),decode:i.reduce((o,n)=>o?s(o,n.decode):n.decode,void 0)}}function alphabet$1(i){return{encode:s=>{if(!Array.isArray(s)||s.length&&"number"!=typeof s[0])throw new Error("alphabet.encode input should be an array of numbers");return s.map(o=>{if(assertNumber(o),o<0||o>=i.length)throw new Error(`Digit index outside alphabet: ${o} (alphabet: ${i.length})`);return i[o]})},decode:s=>{if(!Array.isArray(s)||s.length&&"string"!=typeof s[0])throw new Error("alphabet.decode input should be array of strings");return s.map(o=>{if("string"!=typeof o)throw new Error(`alphabet.decode: not string element=${o}`);const n=i.indexOf(o);if(-1===n)throw new Error(`Unknown letter: "${o}". Allowed: ${i}`);return n})}}}function join$1(i=""){if("string"!=typeof i)throw new Error("join separator should be string");return{encode:s=>{if(!Array.isArray(s)||s.length&&"string"!=typeof s[0])throw new Error("join.encode input should be array of strings");for(let o of s)if("string"!=typeof o)throw new Error(`join.encode: non-string input=${o}`);return s.join(i)},decode:s=>{if("string"!=typeof s)throw new Error("join.decode input should be string");return s.split(i)}}}function padding$1(i,s="="){if(assertNumber(i),"string"!=typeof s)throw new Error("padding chr should be string");return{encode(o){if(!Array.isArray(o)||o.length&&"string"!=typeof o[0])throw new Error("padding.encode input should be array of strings");for(let n of o)if("string"!=typeof n)throw new Error(`padding.encode: non-string input=${n}`);for(;o.length*i%8;)o.push(s);return o},decode(o){if(!Array.isArray(o)||o.length&&"string"!=typeof o[0])throw new Error("padding.encode input should be array of strings");for(let a of o)if("string"!=typeof a)throw new Error(`padding.decode: non-string input=${a}`);let n=o.length;if(n*i%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;n>0&&o[n-1]===s;n--)if(!((n-1)*i%8))throw new Error("Invalid padding: string has too much padding");return o.slice(0,n)}}}function normalize$1(i){if("function"!=typeof i)throw new Error("normalize fn should be function");return{encode:s=>s,decode:s=>i(s)}}function convertRadix$1(i,s,o){if(s<2)throw new Error(`convertRadix: wrong from=${s}, base cannot be less than 2`);if(o<2)throw new Error(`convertRadix: wrong to=${o}, base cannot be less than 2`);if(!Array.isArray(i))throw new Error("convertRadix: data should be array");if(!i.length)return[];let n=0;const a=[],l=Array.from(i);for(l.forEach(y=>{if(assertNumber(y),y<0||y>=s)throw new Error(`Wrong integer: ${y}`)});;){let y=0,k=!0;for(let C=n;Cnew SHA224);const gcd$1=(i,s)=>s?gcd$1(s,i%s):i,radix2carry$1=(i,s)=>i+(s-gcd$1(i,s));function convertRadix2$1(i,s,o,n){if(!Array.isArray(i))throw new Error("convertRadix2: data should be array");if(s<=0||s>32)throw new Error(`convertRadix2: wrong from=${s}`);if(o<=0||o>32)throw new Error(`convertRadix2: wrong to=${o}`);if(radix2carry$1(s,o)>32)throw new Error(`convertRadix2: carry overflow from=${s} to=${o} carryBits=${radix2carry$1(s,o)}`);let a=0,l=0;const y=2**o-1,k=[];for(const C of i){if(assertNumber(C),C>=2**s)throw new Error(`convertRadix2: invalid data word=${C} from=${s}`);if(a=a<32)throw new Error(`convertRadix2: carry overflow pos=${l} from=${s}`);for(l+=s;l>=o;l-=o)k.push((a>>l-o&y)>>>0);a&=2**l-1}if(a=a<=s)throw new Error("Excess padding");if(!n&&a)throw new Error(`Non-zero padding: ${a}`);return n&&l>0&&k.push(a>>>0),k}function radix$1(i){return assertNumber(i),{encode:s=>{if(!(s instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return convertRadix$1(Array.from(s),256,i)},decode:s=>{if(!Array.isArray(s)||s.length&&"number"!=typeof s[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(convertRadix$1(s,i,256))}}}function radix2$1(i,s=!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:o=>{if(!(o instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return convertRadix2$1(Array.from(o),8,i,!s)},decode:o=>{if(!Array.isArray(o)||o.length&&"number"!=typeof o[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(convertRadix2$1(o,i,8,s))}}}function unsafeWrapper$1(i){if("function"!=typeof i)throw new Error("unsafeWrapper fn should be function");return function(...s){try{return i.apply(null,s)}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 s="";for(let o=0;o>25;let o=(33554431&i)<<5;for(let n=0;n>n&1)&&(o^=POLYMOD_GENERATORS$1[n]);return o}function bechChecksum$1(i,s,o=1){const n=i.length;let a=1;for(let l=0;l126)throw new Error(`Invalid prefix (${i})`);a=bech32Polymod$1(a)^y>>5}a=bech32Polymod$1(a);for(let l=0;lC)throw new TypeError(`Wrong string length: ${k.length} (${k}). Expected (8..${C})`);const A=k.toLowerCase();if(k!==A&&k!==k.toUpperCase())throw new Error("String must be lowercase or uppercase");const S=(k=A).lastIndexOf("1");if(0===S||-1===S)throw new Error('Letter "1" must be present between prefix and data only');const T=k.slice(0,S),O=k.slice(S+1);if(O.length<6)throw new Error("Data must be at least 6 characters long");const P=BECH_ALPHABET$1.decode(O).slice(0,-6),q=bechChecksum$1(T,P,s);if(!O.endsWith(q))throw new Error(`Invalid checksum in ${k}: expected "${q}"`);return{prefix:T,words:P}}return{encode:function(k,C,A=90){if("string"!=typeof k)throw new Error("bech32.encode prefix should be string, not "+typeof k);if(!Array.isArray(C)||C.length&&"number"!=typeof C[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof C);const S=k.length+7+C.length;if(!1!==A&&S>A)throw new TypeError(`Length ${S} exceeds limit ${A}`);return`${k=k.toLowerCase()}1${BECH_ALPHABET$1.encode(C)}${bechChecksum$1(k,C,s)}`},decode:y,decodeToBytes:function(k){const{prefix:C,words:A}=y(k,!1);return{prefix:C,words:A,bytes:n(A)}},decodeUnsafe:unsafeWrapper$1(y),fromWords:n,fromWordsUnsafe:l,toWords:a}}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,...s){if(!isBytes$2(i))throw new Error("Expected Uint8Array");if(s.length>0&&!s.includes(i.length))throw new Error(`Expected Uint8Array of length ${s}, 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,s=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(s&&i.finished)throw new Error("Hash#digest() has already been called")}function output$1(i,s){bytes$1(i);const o=s.outputLen;if(i.lengthnew DataView(i.buffer,i.byteOffset,i.byteLength),rotr=(i,s)=>i<<32-s|i>>>s,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,s)=>s.toString(16).padStart(2,"0"));function bytesToHex(i){if(!isBytes$1(i))throw new Error("Uint8Array expected");let s="";for(let o=0;o=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 s=i.length,o=s/2;if(s%2)throw new Error("padded hex string expected, got unpadded hex of length "+s);const n=new Uint8Array(o);for(let a=0,l=0;ai().update(toBytes$1(n)).digest(),o=i();return s.outputLen=o.outputLen,s.blockLen=o.blockLen,s.create=()=>i(),s}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,s){super(),this.finished=!1,this.destroyed=!1,hash$1(i);const o=toBytes$1(s);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 n=this.blockLen,a=new Uint8Array(n);a.set(o.length>n?i.create().update(o).digest():o);for(let l=0;lnew HMAC$1(i,s).update(o).digest();function pbkdf2Init(i,s,o,n){hash$1(i);const a=checkOpts$1({dkLen:32,asyncTick:10},n),{c:l,dkLen:y,asyncTick:k}=a;if(number$1(l),number$1(y),number$1(k),l<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const C=toBytes$1(s),A=toBytes$1(o),S=new Uint8Array(y),T=hmac$1.create(i,C),O=T._cloneInto().update(A);return{c:l,dkLen:y,asyncTick:k,DK:S,PRF:T,PRFSalt:O}}function pbkdf2Output(i,s,o,n,a){return i.destroy(),s.destroy(),n&&n.destroy(),a.fill(0),o}function pbkdf2(i,s,o,n){const{c:a,dkLen:l,DK:y,PRF:k,PRFSalt:C}=pbkdf2Init(i,s,o,n);let A;const S=new Uint8Array(4),T=createView(S),O=new Uint8Array(k.outputLen);for(let P=1,q=0;q>a&l),k=Number(o&l),A=n?0:4;i.setUint32(s+(n?4:0),y,n),i.setUint32(s+A,k,n)}hmac$1.create=(i,s)=>new HMAC$1(i,s);class SHA2 extends Hash{constructor(s,o,n,a){super(),this.blockLen=s,this.outputLen=o,this.padOffset=n,this.isLE=a,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(s),this.view=createView(this.buffer)}update(s){exists$1(this);const{view:o,buffer:n,blockLen:a}=this,l=(s=toBytes$1(s)).length;for(let y=0;ya-y&&(this.process(n,0),y=0);for(let T=y;TS.length)throw new Error("_sha2: outputLen bigger than state");for(let T=0;Ti&s^~i&o,Maj=(i,s,o)=>i&s^i&o^s&o,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:s,B:o,C:n,D:a,E:l,F:y,G:k,H:C}=this;return[s,o,n,a,l,y,k,C]}set(s,o,n,a,l,y,k,C){this.A=0|s,this.B=0|o,this.C=0|n,this.D=0|a,this.E=0|l,this.F=0|y,this.G=0|k,this.H=0|C}process(s,o){for(let T=0;T<16;T++,o+=4)SHA256_W[T]=s.getUint32(o,!1);for(let T=16;T<64;T++){const O=SHA256_W[T-15],P=SHA256_W[T-2],q=rotr(O,7)^rotr(O,18)^O>>>3,Y=rotr(P,17)^rotr(P,19)^P>>>10;SHA256_W[T]=Y+SHA256_W[T-7]+q+SHA256_W[T-16]|0}let{A:n,B:a,C:l,D:y,E:k,F:C,G:A,H:S}=this;for(let T=0;T<64;T++){const O=S+(rotr(k,6)^rotr(k,11)^rotr(k,25))+Chi(k,C,A)+SHA256_K[T]+SHA256_W[T]|0,P=(rotr(n,2)^rotr(n,13)^rotr(n,22))+Maj(n,a,l)|0;S=A,A=C,C=k,k=y+O|0,y=l,l=a,a=n,n=O+P|0}n=n+this.A|0,a=a+this.B|0,l=l+this.C|0,y=y+this.D|0,k=k+this.E|0,C=C+this.F|0,A=A+this.G|0,S=S+this.H|0,this.set(n,a,l,y,k,C,A,S)}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,s=!1){return s?{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,s=!1){let o=new Uint32Array(i.length),n=new Uint32Array(i.length);for(let a=0;aBigInt(i>>>0)<<_32n|BigInt(s>>>0),shrSH=(i,s,o)=>i>>>o,shrSL=(i,s,o)=>i<<32-o|s>>>o,rotrSH=(i,s,o)=>i>>>o|s<<32-o,rotrSL=(i,s,o)=>i<<32-o|s>>>o,rotrBH=(i,s,o)=>i<<64-o|s>>>o-32,rotrBL=(i,s,o)=>i>>>o-32|s<<64-o,rotr32H=(i,s)=>s,rotr32L=(i,s)=>i,rotlSH=(i,s,o)=>i<>>32-o,rotlSL=(i,s,o)=>s<>>32-o,rotlBH=(i,s,o)=>s<>>64-o,rotlBL=(i,s,o)=>i<>>64-o;function add(i,s,o,n){const a=(s>>>0)+(n>>>0);return{h:i+o+(a/2**32|0)|0,l:0|a}}const add3L=(i,s,o)=>(i>>>0)+(s>>>0)+(o>>>0),add3H=(i,s,o,n)=>s+o+n+(i/2**32|0)|0,add4L=(i,s,o,n)=>(i>>>0)+(s>>>0)+(o>>>0)+(n>>>0),add4H=(i,s,o,n,a)=>s+o+n+a+(i/2**32|0)|0,add5L=(i,s,o,n,a)=>(i>>>0)+(s>>>0)+(o>>>0)+(n>>>0)+(a>>>0),add5H=(i,s,o,n,a,l)=>s+o+n+a+l+(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:s,Al:o,Bh:n,Bl:a,Ch:l,Cl:y,Dh:k,Dl:C,Eh:A,El:S,Fh:T,Fl:O,Gh:P,Gl:q,Hh:Y,Hl:J}=this;return[s,o,n,a,l,y,k,C,A,S,T,O,P,q,Y,J]}set(s,o,n,a,l,y,k,C,A,S,T,O,P,q,Y,J){this.Ah=0|s,this.Al=0|o,this.Bh=0|n,this.Bl=0|a,this.Ch=0|l,this.Cl=0|y,this.Dh=0|k,this.Dl=0|C,this.Eh=0|A,this.El=0|S,this.Fh=0|T,this.Fl=0|O,this.Gh=0|P,this.Gl=0|q,this.Hh=0|Y,this.Hl=0|J}process(s,o){for(let pt=0;pt<16;pt++,o+=4)SHA512_W_H[pt]=s.getUint32(o),SHA512_W_L[pt]=s.getUint32(o+=4);for(let pt=16;pt<80;pt++){const kt=0|SHA512_W_H[pt-15],Et=0|SHA512_W_L[pt-15],It=u64.rotrSH(kt,Et,1)^u64.rotrSH(kt,Et,8)^u64.shrSH(kt,Et,7),yt=u64.rotrSL(kt,Et,1)^u64.rotrSL(kt,Et,8)^u64.shrSL(kt,Et,7),_t=0|SHA512_W_H[pt-2],at=0|SHA512_W_L[pt-2],st=u64.rotrSH(_t,at,19)^u64.rotrBH(_t,at,61)^u64.shrSH(_t,at,6),vt=u64.rotrSL(_t,at,19)^u64.rotrBL(_t,at,61)^u64.shrSL(_t,at,6),Pt=u64.add4L(yt,vt,SHA512_W_L[pt-7],SHA512_W_L[pt-16]),ae=u64.add4H(Pt,It,st,SHA512_W_H[pt-7],SHA512_W_H[pt-16]);SHA512_W_H[pt]=0|ae,SHA512_W_L[pt]=0|Pt}let{Ah:n,Al:a,Bh:l,Bl:y,Ch:k,Cl:C,Dh:A,Dl:S,Eh:T,El:O,Fh:P,Fl:q,Gh:Y,Gl:J,Hh:ht,Hl:ct}=this;for(let pt=0;pt<80;pt++){const kt=u64.rotrSH(T,O,14)^u64.rotrSH(T,O,18)^u64.rotrBH(T,O,41),Et=u64.rotrSL(T,O,14)^u64.rotrSL(T,O,18)^u64.rotrBL(T,O,41),It=T&P^~T&Y,_t=u64.add5L(ct,Et,O&q^~O&J,SHA512_Kl[pt],SHA512_W_L[pt]),at=u64.add5H(_t,ht,kt,It,SHA512_Kh[pt],SHA512_W_H[pt]),st=0|_t,vt=u64.rotrSH(n,a,28)^u64.rotrBH(n,a,34)^u64.rotrBH(n,a,39),Pt=u64.rotrSL(n,a,28)^u64.rotrBL(n,a,34)^u64.rotrBL(n,a,39),ae=n&l^n&k^l&k,le=a&y^a&C^y&C;ht=0|Y,ct=0|J,Y=0|P,J=0|q,P=0|T,q=0|O,({h:T,l:O}=u64.add(0|A,0|S,0|at,0|st)),A=0|k,S=0|C,k=0|l,C=0|y,l=0|n,y=0|a;const ve=u64.add3L(st,Pt,le);n=u64.add3H(ve,at,vt,ae),a=0|ve}({h:n,l:a}=u64.add(0|this.Ah,0|this.Al,0|n,0|a)),({h:l,l:y}=u64.add(0|this.Bh,0|this.Bl,0|l,0|y)),({h:k,l:C}=u64.add(0|this.Ch,0|this.Cl,0|k,0|C)),({h:A,l:S}=u64.add(0|this.Dh,0|this.Dl,0|A,0|S)),({h:T,l:O}=u64.add(0|this.Eh,0|this.El,0|T,0|O)),({h:P,l:q}=u64.add(0|this.Fh,0|this.Fl,0|P,0|q)),({h:Y,l:J}=u64.add(0|this.Gh,0|this.Gl,0|Y,0|J)),({h:ht,l:ct}=u64.add(0|this.Hh,0|this.Hl,0|ht,0|ct)),this.set(n,a,l,y,k,C,A,S,T,O,P,q,Y,J,ht,ct)}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 s=n=>n,o=(n,a)=>l=>n(a(l));return{encode:i.map(n=>n.encode).reduceRight(o,s),decode:i.map(n=>n.decode).reduce(o,s)}}function alphabet(i){return{encode:s=>{if(!Array.isArray(s)||s.length&&"number"!=typeof s[0])throw new Error("alphabet.encode input should be an array of numbers");return s.map(o=>{if(o<0||o>=i.length)throw new Error(`Digit index outside alphabet: ${o} (alphabet: ${i.length})`);return i[o]})},decode:s=>{if(!Array.isArray(s)||s.length&&"string"!=typeof s[0])throw new Error("alphabet.decode input should be array of strings");return s.map(o=>{if("string"!=typeof o)throw new Error(`alphabet.decode: not string element=${o}`);const n=i.indexOf(o);if(-1===n)throw new Error(`Unknown letter: "${o}". Allowed: ${i}`);return n})}}}function join(i=""){if("string"!=typeof i)throw new Error("join separator should be string");return{encode:s=>{if(!Array.isArray(s)||s.length&&"string"!=typeof s[0])throw new Error("join.encode input should be array of strings");for(let o of s)if("string"!=typeof o)throw new Error(`join.encode: non-string input=${o}`);return s.join(i)},decode:s=>{if("string"!=typeof s)throw new Error("join.decode input should be string");return s.split(i)}}}function padding(i,s="="){if("string"!=typeof s)throw new Error("padding chr should be string");return{encode(o){if(!Array.isArray(o)||o.length&&"string"!=typeof o[0])throw new Error("padding.encode input should be array of strings");for(let n of o)if("string"!=typeof n)throw new Error(`padding.encode: non-string input=${n}`);for(;o.length*i%8;)o.push(s);return o},decode(o){if(!Array.isArray(o)||o.length&&"string"!=typeof o[0])throw new Error("padding.encode input should be array of strings");for(let a of o)if("string"!=typeof a)throw new Error(`padding.decode: non-string input=${a}`);let n=o.length;if(n*i%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;n>0&&o[n-1]===s;n--)if(!((n-1)*i%8))throw new Error("Invalid padding: string has too much padding");return o.slice(0,n)}}}function convertRadix(i,s,o){if(s<2)throw new Error(`convertRadix: wrong from=${s}, base cannot be less than 2`);if(o<2)throw new Error(`convertRadix: wrong to=${o}, base cannot be less than 2`);if(!Array.isArray(i))throw new Error("convertRadix: data should be array");if(!i.length)return[];let n=0;const a=[],l=Array.from(i);for(l.forEach(y=>{if(y<0||y>=s)throw new Error(`Wrong integer: ${y}`)});;){let y=0,k=!0;for(let C=n;Cs?gcd(s,i%s):i,radix2carry=(i,s)=>i+(s-gcd(i,s));function convertRadix2(i,s,o,n){if(!Array.isArray(i))throw new Error("convertRadix2: data should be array");if(s<=0||s>32)throw new Error(`convertRadix2: wrong from=${s}`);if(o<=0||o>32)throw new Error(`convertRadix2: wrong to=${o}`);if(radix2carry(s,o)>32)throw new Error(`convertRadix2: carry overflow from=${s} to=${o} carryBits=${radix2carry(s,o)}`);let a=0,l=0;const y=2**o-1,k=[];for(const C of i){if(C>=2**s)throw new Error(`convertRadix2: invalid data word=${C} from=${s}`);if(a=a<32)throw new Error(`convertRadix2: carry overflow pos=${l} from=${s}`);for(l+=s;l>=o;l-=o)k.push((a>>l-o&y)>>>0);a&=2**l-1}if(a=a<=s)throw new Error("Excess padding");if(!n&&a)throw new Error(`Non-zero padding: ${a}`);return n&&l>0&&k.push(a>>>0),k}function radix(i){return{encode:s=>{if(!isBytes(s))throw new Error("radix.encode input should be Uint8Array");return convertRadix(Array.from(s),256,i)},decode:s=>{if(!Array.isArray(s)||s.length&&"number"!=typeof s[0])throw new Error("radix.decode input should be array of numbers");return Uint8Array.from(convertRadix(s,i,256))}}}function radix2(i,s=!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:o=>{if(!isBytes(o))throw new Error("radix2.encode input should be Uint8Array");return convertRadix2(Array.from(o),8,i,!s)},decode:o=>{if(!Array.isArray(o)||o.length&&"number"!=typeof o[0])throw new Error("radix2.decode input should be array of numbers");return Uint8Array.from(convertRadix2(o,i,8,s))}}}function unsafeWrapper(i){if("function"!=typeof i)throw new Error("unsafeWrapper fn should be function");return function(...s){try{return i.apply(null,s)}catch{}}}function checksum(i,s){if("function"!=typeof s)throw new Error("checksum fn should be function");return{encode(o){if(!isBytes(o))throw new Error("checksum.encode: input should be Uint8Array");const n=s(o).slice(0,i),a=new Uint8Array(o.length+i);return a.set(o),a.set(n,o.length),a},decode(o){if(!isBytes(o))throw new Error("checksum.decode: input should be Uint8Array");const n=o.slice(0,-i),a=s(n).slice(0,i),l=o.slice(-i);for(let y=0;ychain(radix(58),alphabet(i),join("")),base58=genBase58("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),createBase58check=i=>chain(checksum(4,s=>i(i(s))),base58),base58check$1=createBase58check,BECH_ALPHABET=chain(alphabet("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),join("")),POLYMOD_GENERATORS=[996825010,642813549,513874426,1027748829,705979059];function bech32Polymod(i){const s=i>>25;let o=(33554431&i)<<5;for(let n=0;n>n&1)&&(o^=POLYMOD_GENERATORS[n]);return o}function bechChecksum(i,s,o=1){const n=i.length;let a=1;for(let l=0;l126)throw new Error(`Invalid prefix (${i})`);a=bech32Polymod(a)^y>>5}a=bech32Polymod(a);for(let l=0;lC)throw new TypeError(`Wrong string length: ${k.length} (${k}). Expected (8..${C})`);const A=k.toLowerCase();if(k!==A&&k!==k.toUpperCase())throw new Error("String must be lowercase or uppercase");const S=(k=A).lastIndexOf("1");if(0===S||-1===S)throw new Error('Letter "1" must be present between prefix and data only');const T=k.slice(0,S),O=k.slice(S+1);if(O.length<6)throw new Error("Data must be at least 6 characters long");const P=BECH_ALPHABET.decode(O).slice(0,-6),q=bechChecksum(T,P,s);if(!O.endsWith(q))throw new Error(`Invalid checksum in ${k}: expected "${q}"`);return{prefix:T,words:P}}return{encode:function(k,C,A=90){if("string"!=typeof k)throw new Error("bech32.encode prefix should be string, not "+typeof k);if(!Array.isArray(C)||C.length&&"number"!=typeof C[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof C);const S=k.length+7+C.length;if(!1!==A&&S>A)throw new TypeError(`Length ${S} exceeds limit ${A}`);const T=k.toLowerCase(),O=bechChecksum(T,C,s);return`${T}1${BECH_ALPHABET.encode(C)}${O}`},decode:y,decodeToBytes:function(k){const{prefix:C,words:A}=y(k,!1);return{prefix:C,words:A,bytes:n(A)}},decodeUnsafe:unsafeWrapper(y),fromWords:n,fromWordsUnsafe:l,toWords:a}}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 s=nfkd(i),o=s.split(" ");if(![12,15,18,21,24].includes(o.length))throw new Error("Invalid mnemonic");return{nfkd:s,words:o}}function assertEntropy(i){assert$1.bytes(i,16,20,24,28,32)}function generateMnemonic(i,s=128){if(assert$1.number(s),s%32!=0||s>256)throw new TypeError("Invalid entropy");return entropyToMnemonic(randomBytes(s/8),i)}const calcChecksum=i=>{const s=8-i.length/4;return new Uint8Array([sha256(i)[0]>>s<{if("string"!=typeof s)throw new Error(`Wordlist: non-string element: ${s}`)}),utils$1.chain(utils$1.checksum(1,calcChecksum),utils$1.radix2(11,!0),utils$1.alphabet(i))}function mnemonicToEntropy(i,s){const{words:o}=normalize(i),n=getCoder(s).decode(o);return assertEntropy(n),n}function entropyToMnemonic(i,s){return assertEntropy(i),getCoder(s).encode(i).join(isJapanese(s)?"\u3000":" ")}function validateMnemonic(i,s){try{mnemonicToEntropy(i,s)}catch{return!1}return!0}const salt=i=>nfkd(`mnemonic${i}`);function mnemonicToSeedSync(i,s=""){return pbkdf2(sha512,normalize(i).nfkd,salt(s),{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,s)=>s),Pi=Id.map(i=>(9*i+5)%16);let idxL=[Id],idxR=[Pi];for(let i=0;i<4;i++)for(let s of[idxL,idxR])s.push(s[i].map(o=>Rho[o]));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,s)=>i.map(o=>shifts[s][o])),shiftsR=idxR.map((i,s)=>i.map(o=>shifts[s][o])),Kl=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),Kr=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),rotl$1=(i,s)=>i<>>32-s;function f(i,s,o,n){return 0===i?s^o^n:1===i?s&o|~s&n:2===i?(s|~o)^n:3===i?s&n|o&~n:s^(o|~n)}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:s,h1:o,h2:n,h3:a,h4:l}=this;return[s,o,n,a,l]}set(s,o,n,a,l){this.h0=0|s,this.h1=0|o,this.h2=0|n,this.h3=0|a,this.h4=0|l}process(s,o){for(let P=0;P<16;P++,o+=4)BUF[P]=s.getUint32(o,!0);let n=0|this.h0,a=n,l=0|this.h1,y=l,k=0|this.h2,C=k,A=0|this.h3,S=A,T=0|this.h4,O=T;for(let P=0;P<5;P++){const q=4-P,Y=Kl[P],J=Kr[P],ht=idxL[P],ct=idxR[P],pt=shiftsL[P],kt=shiftsR[P];for(let Et=0;Et<16;Et++){const It=rotl$1(n+f(P,l,k,A)+BUF[ht[Et]]+Y,pt[Et])+T|0;n=T,T=A,A=0|rotl$1(k,10),k=l,l=It}for(let Et=0;Et<16;Et++){const It=rotl$1(a+f(q,y,C,S)+BUF[ct[Et]]+J,kt[Et])+O|0;a=O,O=S,S=0|rotl$1(C,10),C=y,y=It}}this.set(this.h1+k+S|0,this.h2+A+O|0,this.h3+T+a|0,this.h4+n+y|0,this.h0+l+C|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 s=new Uint8Array(4);return createView(s).setUint32(0,i,!1),s};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 s=this.privateKey;if(!s)throw new Error("No private key");return base58check.encode(this.serialize(this.versions.private,concatBytes(new Uint8Array([0]),s)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return base58check.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(s,o=BITCOIN_VERSIONS){if(bytes$1(s),8*s.length<128||8*s.length>512)throw new Error(`HDKey: wrong seed length=${s.length}. Should be between 128 and 512 bits; 256 bits is advised)`);const n=hmac$1(sha512,MASTER_SECRET,s);return new HDKey({versions:o,chainCode:n.slice(32),privateKey:n.slice(0,32)})}static fromExtendedKey(s,o=BITCOIN_VERSIONS){const n=base58check.decode(s),a=createView(n),l=a.getUint32(0,!1),y={versions:o,depth:n[4],parentFingerprint:a.getUint32(5,!1),index:a.getUint32(9,!1),chainCode:n.slice(13,45)},k=n.slice(45),C=0===k[0];if(l!==o[C?"private":"public"])throw new Error("Version mismatch");return new HDKey(C?{...y,privateKey:k.slice(1)}:{...y,publicKey:k})}static fromJSON(s){return HDKey.fromExtendedKey(s.xpriv)}constructor(s){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!s||"object"!=typeof s)throw new Error("HDKey.constructor must not be called directly");if(this.versions=s.versions||BITCOIN_VERSIONS,this.depth=s.depth||0,this.chainCode=s.chainCode,this.index=s.index||0,this.parentFingerprint=s.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(s.publicKey&&s.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(s.privateKey){if(!secp256k1.utils.isValidPrivateKey(s.privateKey))throw new Error("Invalid private key");this.privKey="bigint"==typeof s.privateKey?s.privateKey:bytesToNumber(s.privateKey),this.privKeyBytes=numberToBytes(this.privKey),this.pubKey=secp256k1.getPublicKey(s.privateKey,!0)}else{if(!s.publicKey)throw new Error("HDKey: no public or private key provided");this.pubKey=Point.fromHex(s.publicKey).toRawBytes(!0)}this.pubHash=hash160(this.pubKey)}derive(s){if(!/^[mM]'?/.test(s))throw new Error('Path must start with "m" or "M"');if(/^[mM]'?$/.test(s))return this;const o=s.replace(/^[mM]'?\//,"").split("/");let n=this;for(const a of o){const l=/^(\d+)('?)$/.exec(a);if(!l||3!==l.length)throw new Error(`Invalid child index: ${a}`);let y=+l[1];if(!Number.isSafeInteger(y)||y>=HARDENED_OFFSET)throw new Error("Invalid index");"'"===l[2]&&(y+=HARDENED_OFFSET),n=n.deriveChild(y)}return n}deriveChild(s){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let o=toU32(s);if(s>=HARDENED_OFFSET){const k=this.privateKey;if(!k)throw new Error("Could not derive hardened child key");o=concatBytes(new Uint8Array([0]),k,o)}else o=concatBytes(this.pubKey,o);const n=hmac$1(sha512,this.chainCode,o),a=bytesToNumber(n.slice(0,32)),l=n.slice(32);if(!secp256k1.utils.isValidPrivateKey(a))throw new Error("Tweak bigger than curve order");const y={versions:this.versions,chainCode:l,depth:this.depth+1,parentFingerprint:this.fingerprint,index:s};try{if(this.privateKey){const k=mod(this.privKey+a,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(a));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(s+1)}}sign(s){if(!this.privateKey)throw new Error("No privateKey set!");return bytes$1(s,32),secp256k1.sign(s,this.privKey).toCompactRawBytes()}verify(s,o){if(bytes$1(s,32),bytes$1(o,64),!this.publicKey)throw new Error("No publicKey set!");let n;try{n=secp256k1.Signature.fromCompact(o)}catch{return!1}return secp256k1.verify(n,s,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(s,o){if(!this.chainCode)throw new Error("No chainCode set");return bytes$1(o,33),concatBytes(toU32(s),new Uint8Array([this.depth]),toU32(this.parentFingerprint),toU32(this.index),this.chainCode,o)}}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,s){if(void 0!==s&&("object"!=typeof s||!isPlainObject(s)))throw new Error("options must be object or undefined");return Object.assign(i,s)}function ensureBytes(i,s){if(!(i instanceof Uint8Array))throw new Error("Uint8Array expected");if("number"==typeof s&&i.length!==s)throw new Error(`Uint8Array length ${s} expected`)}function equalBytes(i,s){if(i.length!==s.length)throw new Error("equalBytes: Different size of Uint8Arrays");let o=!0;for(let n=0;n0&&!s.includes(i.length))throw new Error(`Expected Uint8Array of length ${s}, 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,s=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(s&&i.finished)throw new Error("Hash#digest() has already been called")}function output(i,s){bytes(i);const o=s.outputLen;if(i.length255&i[s++]|(255&i[s++])<<8;class Poly1305{constructor(s){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(s=toBytes(s),32);const o=u8to16(s,0),n=u8to16(s,2),a=u8to16(s,4),l=u8to16(s,6),y=u8to16(s,8),k=u8to16(s,10),C=u8to16(s,12),A=u8to16(s,14);this.r[0]=8191&o,this.r[1]=8191&(o>>>13|n<<3),this.r[2]=7939&(n>>>10|a<<6),this.r[3]=8191&(a>>>7|l<<9),this.r[4]=255&(l>>>4|y<<12),this.r[5]=y>>>1&8190,this.r[6]=8191&(y>>>14|k<<2),this.r[7]=8065&(k>>>11|C<<5),this.r[8]=8191&(C>>>8|A<<8),this.r[9]=A>>>5&127;for(let S=0;S<8;S++)this.pad[S]=u8to16(s,16+2*S)}process(s,o,n=!1){const a=n?0:2048,{h:l,r:y}=this,k=y[0],C=y[1],A=y[2],S=y[3],T=y[4],O=y[5],P=y[6],q=y[7],Y=y[8],J=y[9],ht=u8to16(s,o+0),ct=u8to16(s,o+2),pt=u8to16(s,o+4),kt=u8to16(s,o+6),Et=u8to16(s,o+8),It=u8to16(s,o+10),yt=u8to16(s,o+12),_t=u8to16(s,o+14);let at=l[0]+(8191&ht),st=l[1]+(8191&(ht>>>13|ct<<3)),vt=l[2]+(8191&(ct>>>10|pt<<6)),Pt=l[3]+(8191&(pt>>>7|kt<<9)),ae=l[4]+(8191&(kt>>>4|Et<<12)),le=l[5]+(Et>>>1&8191),ve=l[6]+(8191&(Et>>>14|It<<2)),se=l[7]+(8191&(It>>>11|yt<<5)),or=l[8]+(8191&(yt>>>8|_t<<8)),fr=l[9]+(_t>>>5|a),yr=0,jr=yr+at*k+st*(5*J)+vt*(5*Y)+Pt*(5*q)+ae*(5*P);yr=jr>>>13,jr&=8191,jr+=le*(5*O)+ve*(5*T)+se*(5*S)+or*(5*A)+fr*(5*C),yr+=jr>>>13,jr&=8191;let wr=yr+at*C+st*k+vt*(5*J)+Pt*(5*Y)+ae*(5*q);yr=wr>>>13,wr&=8191,wr+=le*(5*P)+ve*(5*O)+se*(5*T)+or*(5*S)+fr*(5*A),yr+=wr>>>13,wr&=8191;let Qt=yr+at*A+st*C+vt*k+Pt*(5*J)+ae*(5*Y);yr=Qt>>>13,Qt&=8191,Qt+=le*(5*q)+ve*(5*P)+se*(5*O)+or*(5*T)+fr*(5*S),yr+=Qt>>>13,Qt&=8191;let be=yr+at*S+st*A+vt*C+Pt*k+ae*(5*J);yr=be>>>13,be&=8191,be+=le*(5*Y)+ve*(5*q)+se*(5*P)+or*(5*O)+fr*(5*T),yr+=be>>>13,be&=8191;let Ht=yr+at*T+st*S+vt*A+Pt*C+ae*k;yr=Ht>>>13,Ht&=8191,Ht+=le*(5*J)+ve*(5*Y)+se*(5*q)+or*(5*P)+fr*(5*O),yr+=Ht>>>13,Ht&=8191;let Bt=yr+at*O+st*T+vt*S+Pt*A+ae*C;yr=Bt>>>13,Bt&=8191,Bt+=le*k+ve*(5*J)+se*(5*Y)+or*(5*q)+fr*(5*P),yr+=Bt>>>13,Bt&=8191;let Fe=yr+at*P+st*O+vt*T+Pt*S+ae*A;yr=Fe>>>13,Fe&=8191,Fe+=le*C+ve*k+se*(5*J)+or*(5*Y)+fr*(5*q),yr+=Fe>>>13,Fe&=8191;let zt=yr+at*q+st*P+vt*O+Pt*T+ae*S;yr=zt>>>13,zt&=8191,zt+=le*A+ve*C+se*k+or*(5*J)+fr*(5*Y),yr+=zt>>>13,zt&=8191;let Yt=yr+at*Y+st*q+vt*P+Pt*O+ae*T;yr=Yt>>>13,Yt&=8191,Yt+=le*S+ve*A+se*C+or*k+fr*(5*J),yr+=Yt>>>13,Yt&=8191;let oe=yr+at*J+st*Y+vt*q+Pt*P+ae*O;yr=oe>>>13,oe&=8191,oe+=le*T+ve*S+se*A+or*C+fr*k,yr+=oe>>>13,oe&=8191,yr=(yr<<2)+yr|0,yr=yr+jr|0,jr=8191&yr,yr>>>=13,wr+=yr,l[0]=jr,l[1]=wr,l[2]=Qt,l[3]=be,l[4]=Ht,l[5]=Bt,l[6]=Fe,l[7]=zt,l[8]=Yt,l[9]=oe}finalize(){const{h:s,pad:o}=this,n=new Uint16Array(10);let a=s[1]>>>13;s[1]&=8191;for(let k=2;k<10;k++)s[k]+=a,a=s[k]>>>13,s[k]&=8191;s[0]+=5*a,a=s[0]>>>13,s[0]&=8191,s[1]+=a,a=s[1]>>>13,s[1]&=8191,s[2]+=a,n[0]=s[0]+5,a=n[0]>>>13,n[0]&=8191;for(let k=1;k<10;k++)n[k]=s[k]+a,a=n[k]>>>13,n[k]&=8191;n[9]-=8192;let l=(1^a)-1;for(let k=0;k<10;k++)n[k]&=l;l=~l;for(let k=0;k<10;k++)s[k]=s[k]&l|n[k];s[0]=65535&(s[0]|s[1]<<13),s[1]=65535&(s[1]>>>3|s[2]<<10),s[2]=65535&(s[2]>>>6|s[3]<<7),s[3]=65535&(s[3]>>>9|s[4]<<4),s[4]=65535&(s[4]>>>12|s[5]<<1|s[6]<<14),s[5]=65535&(s[6]>>>2|s[7]<<11),s[6]=65535&(s[7]>>>5|s[8]<<8),s[7]=65535&(s[8]>>>8|s[9]<<5);let y=s[0]+o[0];s[0]=65535&y;for(let k=1;k<8;k++)y=(s[k]+o[k]|0)+(y>>>16)|0,s[k]=65535&y}update(s){assert.exists(this);const{buffer:o,blockLen:n}=this,a=(s=toBytes(s)).length;for(let l=0;l>>0,s[l++]=n[y]>>>8;return s}digest(){const{buffer:s,outputLen:o}=this;this.digestInto(s);const n=s.slice(0,o);return this.destroy(),n}}function wrapConstructorWithKey(i){const s=(n,a)=>i(a).update(toBytes(n)).digest(),o=i(new Uint8Array(32));return s.outputLen=o.outputLen,s.blockLen=o.blockLen,s.create=n=>i(n),s}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:s,rounds:o,counterRight:n,counterLen:a,allow128bitKeys:l,extendNonceFn:y,blockLen:k}=checkOpts({rounds:20,counterRight:!1,counterLen:8,allow128bitKeys:!0,blockLen:64},i);assert.number(a),assert.number(o),assert.number(k),assert.bool(n),assert.bool(l);const C=k/4;if(k%4!=0)throw new Error("Salsa/ChaCha: blockLen must be aligned to 4 bytes");return(A,S,T,O,P=0)=>{if(assert.bytes(A),assert.bytes(S),assert.bytes(T),O||(O=new Uint8Array(T.length)),assert.bytes(O),assert.number(P),P<0||P>=2**32-1)throw new Error("Salsa/ChaCha: counter overflow");if(O.length=2**32-1)throw new Error("Salsa/ChaCha: counter overflow");const vt=Math.min(k,_t-at);if(vt===k&&yt&&It){const Pt=at/4;if(at%4!=0)throw new Error("Salsa/ChaCha: invalid block position");for(let ae=0;aei<>>32-s;function chachaCore(i,s,o,n,a,l=20){let y=i[0],k=i[1],C=i[2],A=i[3],S=s[0],T=s[1],O=s[2],P=s[3],q=s[4],Y=s[5],J=s[6],ht=s[7],ct=a,pt=o[0],kt=o[1],Et=o[2],It=y,yt=k,_t=C,at=A,st=S,vt=T,Pt=O,ae=P,le=q,ve=Y,se=J,or=ht,fr=ct,yr=pt,jr=kt,wr=Et;for(let be=0;bea?s.create().update(n).digest():n);for(let y=0;ynew HMAC(i,s).update(o).digest();function extract$1(i,s,o){return assert$2.hash(i),void 0===o&&(o=new Uint8Array(i.outputLen)),hmac(i,toBytes$2(o),toBytes$2(s))}hmac.create=(i,s)=>new HMAC(i,s);const HKDF_COUNTER$1=new Uint8Array([0]),EMPTY_BUFFER$1=new Uint8Array;function expand$1(i,s,o,n=32){if(assert$2.hash(i),assert$2.number(n),n>255*i.outputLen)throw new Error("Length should be <= 255*HashLen");const a=Math.ceil(n/i.outputLen);void 0===o&&(o=EMPTY_BUFFER$1);const l=new Uint8Array(a*i.outputLen),y=hmac.create(i,s),k=y._cloneInto(),C=new Uint8Array(y.outputLen);for(let A=0;Aexpand$1(i,extract$1(i,s,o),n,a);var __defProp=Object.defineProperty,__export=(i,s)=>{for(var o in s)__defProp(i,o,{get:s[o],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 s=new URL(i);return s.pathname=s.pathname.replace(/\/+/g,"/"),s.pathname.endsWith("/")&&(s.pathname=s.pathname.slice(0,-1)),("80"===s.port&&"ws:"===s.protocol||"443"===s.port&&"wss:"===s.protocol)&&(s.port=""),s.searchParams.sort(),s.hash="",s.toString()}function insertEventIntoDescendingList(i,s){let o,n=0,a=i.length-1,l=n;if(a<0)l=0;else if(s.created_at=i[n].created_at)l=n;else for(;;){if(a<=n+1){l=a;break}if(o=Math.floor(n+(a-n)/2),i[o].created_at>s.created_at)n=o;else{if(!(i[o].created_ati[a].created_at)l=a+1;else if(s.created_at<=i[n].created_at)l=n;else for(;;){if(a<=n+1){l=a;break}if(o=Math.floor(n+(a-n)/2),i[o].created_ats.created_at)){l=o;break}a=o}}return i[l]?.id!==s.id?[...i.slice(0,l),s,...i.slice(l)]: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 s=new MessageNode(i);return 0!==this._size&&this._last?(this._last.next=s,this._last=s):(this._first=s,this._last=s),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,s){const o=i;return o.pubkey=getPublicKey(s),o.id=getEventHash(o),o.sig=getSignature(o,s),o[verifiedSymbol]=!0,o}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 s=0;ss.id.startsWith(o))||i.kinds&&-1===i.kinds.indexOf(s.kind)||i.authors&&-1===i.authors.indexOf(s.pubkey)&&!i.authors.some(o=>s.pubkey.startsWith(o)))return!1;for(let o in i)if("#"===o[0]){let n=i[`#${o.slice(1)}`];if(n&&!s.tags.find(([a,l])=>a===o.slice(1)&&-1!==n.indexOf(l)))return!1}return!(i.since&&s.created_ati.until)}function matchFilters(i,s){for(let o=0;ogetHex64,getInt:()=>getInt,getSubscriptionId:()=>getSubscriptionId,matchEventId:()=>matchEventId,matchEventKind:()=>matchEventKind,matchEventPubkey:()=>matchEventPubkey});var newListeners=()=>({connect:[],disconnect:[],error:[],notice:[],auth:[]});function relayInit(i,s={}){let{listTimeout:o=3e3,getTimeout:n=3e3,countTimeout:a=3e3}=s;var l,y,k={},C=newListeners(),A={},S={};function T(){return 1===l?.readyState}function O(J){return P.apply(this,arguments)}function P(){return(P=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(J){let ht=JSON.stringify(J);if(T()||(yield new Promise(ct=>setTimeout(ct,1e3)),T()))try{l.send(ht)}catch(ct){console.log(ct)}})).apply(this,arguments)}const q=(J,{verb:ht="REQ",skipVerification:ct=!1,alreadyHaveEvent:pt=null,id:kt=Math.random().toString().slice(2)}={})=>{let Et=kt;k[Et]={id:Et,filters:J,skipVerification:ct,alreadyHaveEvent:pt},O([ht,Et,...J]);let It={sub:(yt,_t={})=>q(yt||J,{skipVerification:_t.skipVerification||ct,alreadyHaveEvent:_t.alreadyHaveEvent||pt,id:Et}),unsub:()=>{delete k[Et],delete A[Et],O(["CLOSE",Et])},on:(yt,_t)=>{A[Et]=A[Et]||{event:[],count:[],eose:[]},A[Et][yt].push(_t)},off:(yt,_t)=>{let at=A[Et],st=at[yt].indexOf(_t);st>=0&&at[yt].splice(st,1)},get events(){return eventsGenerator(It)}};return It};function Y(J,ht){return new Promise((ct,pt)=>{if(!J.id)return void pt(new Error(`event ${J} has no id`));let kt=J.id;O([ht,J]),S[kt]={resolve:ct,reject:pt}})}return{url:i,sub:q,on:(J,ht)=>{C[J].push(ht),"connect"===J&&1===l?.readyState&&ht()},off:(J,ht)=>{let ct=C[J].indexOf(ht);-1!==ct&&C[J].splice(ct,1)},list:(J,ht)=>new Promise(ct=>{let pt=q(J,ht),kt=[],Et=setTimeout(()=>{pt.unsub(),ct(kt)},o);pt.on("eose",()=>{pt.unsub(),clearTimeout(Et),ct(kt)}),pt.on("event",It=>{kt.push(It)})}),get:(J,ht)=>new Promise(ct=>{let pt=q([J],ht),kt=setTimeout(()=>{pt.unsub(),ct(null)},n);pt.on("event",Et=>{pt.unsub(),clearTimeout(kt),ct(Et)})}),count:J=>new Promise(ht=>{let ct=q(J,{...q,verb:"COUNT"}),pt=setTimeout(()=>{ct.unsub(),ht(null)},a);ct.on("count",kt=>{ct.unsub(),clearTimeout(pt),ht(kt)})}),publish:J=>(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){yield Y(J,"EVENT")})(),auth:J=>(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){yield Y(J,"AUTH")})(),connect:(J=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return y||(y=new Promise((ht,ct)=>{try{l=new WebSocket(i)}catch(It){ct(It)}l.onopen=()=>{C.connect.forEach(It=>It()),ht()},l.onerror=()=>{y=void 0,C.error.forEach(It=>It()),ct()},l.onclose=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){y=void 0,C.disconnect.forEach(It=>It())});let pt,kt=new MessageQueue;function Et(){if(0===kt.size)return clearInterval(pt),void(pt=null);var It=kt.dequeue();if(!It)return;let yt=getSubscriptionId(It);if(yt){let _t=k[yt];if(_t&&_t.alreadyHaveEvent&&_t.alreadyHaveEvent(getHex64(It,"id"),i))return}try{let _t=JSON.parse(It);switch(_t[0]){case"EVENT":{let Pt=_t[1],ae=_t[2];return void(validateEvent(ae)&&k[Pt]&&(k[Pt].skipVerification||verifySignature(ae))&&matchFilters(k[Pt].filters,ae)&&(A[Pt]?.event||[]).forEach(le=>le(ae)))}case"COUNT":let at=_t[1],st=_t[2];return void(k[at]&&(A[at]?.count||[]).forEach(Pt=>Pt(st)));case"EOSE":{let Pt=_t[1];return void(Pt in A&&(A[Pt].eose.forEach(ae=>ae()),A[Pt].eose=[]))}case"OK":{let Pt=_t[1],ae=_t[2],le=_t[3]||"";if(Pt in S){let{resolve:ve,reject:se}=S[Pt];ae?ve(null):se(new Error(le))}return}case"NOTICE":let vt=_t[1];return void C.notice.forEach(Pt=>Pt(vt));case"AUTH":{let Pt=_t[1];return void C.auth?.forEach(ae=>ae(Pt))}}}catch{return}}l.onmessage=It=>{kt.enqueue(It.data),pt||(pt=setInterval(Et,0))}}))})())}),function(){return J.apply(this,arguments)}),close(){C=newListeners(),A={},S={},l?.readyState===WebSocket.OPEN&&l.close()},get status(){return l?.readyState??3}};var J}function eventsGenerator(i){return _eventsGenerator.apply(this,arguments)}function _eventsGenerator(){return _eventsGenerator=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_wrapAsyncGenerator_js__WEBPACK_IMPORTED_MODULE_0__.A)(function*(i){let s;const o=[],n=a=>{s?(s(a),s=void 0):o.push(a)};i.on("event",n);try{for(;;)o.length>0?yield o.shift():yield yield(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_awaitAsyncGenerator_js__WEBPACK_IMPORTED_MODULE_2__.A)(new Promise(l=>{s=l}))}finally{i.off("event",n)}}),_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 s=new Uint8Array(4);return s[0]=i>>24&255,s[1]=i>>16&255,s[2]=i>>8&255,s[3]=255&i,s}function decode(i){let{prefix:s,words:o}=bech32$1.decode(i,Bech32MaxSize),n=new Uint8Array(bech32$1.fromWords(o));switch(s){case"nprofile":{let a=parseTLV(n);if(!a[0]?.[0])throw new Error("missing TLV 0 for nprofile");if(32!==a[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nprofile",data:{pubkey:bytesToHex$1(a[0][0]),relays:a[1]?a[1].map(l=>utf8Decoder.decode(l)):[]}}}case"nevent":{let a=parseTLV(n);if(!a[0]?.[0])throw new Error("missing TLV 0 for nevent");if(32!==a[0][0].length)throw new Error("TLV 0 should be 32 bytes");if(a[2]&&32!==a[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(a[3]&&4!==a[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"nevent",data:{id:bytesToHex$1(a[0][0]),relays:a[1]?a[1].map(l=>utf8Decoder.decode(l)):[],author:a[2]?.[0]?bytesToHex$1(a[2][0]):void 0,kind:a[3]?.[0]?parseInt(bytesToHex$1(a[3][0]),16):void 0}}}case"naddr":{let a=parseTLV(n);if(!a[0]?.[0])throw new Error("missing TLV 0 for naddr");if(!a[2]?.[0])throw new Error("missing TLV 2 for naddr");if(32!==a[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(!a[3]?.[0])throw new Error("missing TLV 3 for naddr");if(4!==a[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"naddr",data:{identifier:utf8Decoder.decode(a[0][0]),pubkey:bytesToHex$1(a[2][0]),kind:parseInt(bytesToHex$1(a[3][0]),16),relays:a[1]?a[1].map(l=>utf8Decoder.decode(l)):[]}}}case"nrelay":{let a=parseTLV(n);if(!a[0]?.[0])throw new Error("missing TLV 0 for nrelay");return{type:"nrelay",data:utf8Decoder.decode(a[0][0])}}case"nsec":case"npub":case"note":return{type:s,data:bytesToHex$1(n)};default:throw new Error(`unknown prefix ${s}`)}}function parseTLV(i){let s={},o=i;for(;o.length>0;){let n=o[0],a=o[1];if(!a)throw new Error(`malformed TLV ${n}`);let l=o.slice(2,2+a);if(o=o.slice(2+a),l.lengthutf8Encoder.encode(s))}))}function neventEncode(i){let s;return null!=i.kind&&(s=integerToUint8Array(i.kind)),encodeBech32("nevent",encodeTLV({0:[hexToBytes$1(i.id)],1:(i.relays||[]).map(o=>utf8Encoder.encode(o)),2:i.author?[hexToBytes$1(i.author)]:[],3:s?[new Uint8Array(s)]:[]}))}function naddrEncode(i){let s=new ArrayBuffer(4);return new DataView(s).setUint32(0,i.kind,!1),encodeBech32("naddr",encodeTLV({0:[utf8Encoder.encode(i.identifier)],1:(i.relays||[]).map(o=>utf8Encoder.encode(o)),2:[hexToBytes$1(i.pubkey)],3:[new Uint8Array(s)]}))}function nrelayEncode(i){return encodeBech32("nrelay",encodeTLV({0:[utf8Encoder.encode(i)]}))}function encodeTLV(i){let s=[];return Object.entries(i).forEach(([o,n])=>{n.forEach(a=>{let l=new Uint8Array(a.length+2);l.set([parseInt(o)],0),l.set([a.length],1),l.set(a,2),s.push(l)})}),concatBytes$1(...s)}var nip04_exports={};function encrypt$1(i,s,o){return _encrypt$.apply(this,arguments)}function _encrypt$(){return _encrypt$=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s,o){const n=getNormalizedX(secp256k1.getSharedSecret(i,"02"+s));let a=Uint8Array.from(randomBytes$1(16)),l=utf8Encoder.encode(o),y=yield crypto.subtle.importKey("raw",n,{name:"AES-CBC"},!1,["encrypt"]),k=yield crypto.subtle.encrypt({name:"AES-CBC",iv:a},y,l);return`${base64$1.encode(new Uint8Array(k))}?iv=${base64$1.encode(new Uint8Array(a.buffer))}`}),_encrypt$.apply(this,arguments)}function decrypt$1(i,s,o){return _decrypt$.apply(this,arguments)}function _decrypt$(){return _decrypt$=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s,o){let[n,a]=o.split("?iv="),l=getNormalizedX(secp256k1.getSharedSecret(i,"02"+s)),y=yield crypto.subtle.importKey("raw",l,{name:"AES-CBC"},!1,["decrypt"]),k=base64$1.decode(n),C=base64$1.decode(a),A=yield crypto.subtle.decrypt({name:"AES-CBC",iv:C},y,k);return utf8Decoder.decode(A)}),_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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s=""){try{return(yield(yield _fetch(`https://${i}/.well-known/nostr.json?name=${s}`)).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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i){const s=i.match(NIP05_REGEX$1);if(!s)return null;const[o,n="_",a]=s;try{const l=yield _fetch(`https://${a}/.well-known/nostr.json?name=${n}`),{names:y,relays:k}=parseNIP05Result$1(yield l.json()),C=y[n];return C?{pubkey:C,relays:k?.[C]}:null}catch{return null}}),_queryProfile.apply(this,arguments)}function parseNIP05Result$1(i){const s={names:{}};for(const[o,n]of Object.entries(i.names))"string"==typeof o&&"string"==typeof n&&(s.names[o]=n);if(i.relays){s.relays={};for(const[o,n]of Object.entries(i.relays))"string"==typeof o&&Array.isArray(n)&&(s.relays[o]=n.filter(a=>"string"==typeof a))}return s}var nip06_exports={};function privateKeyFromSeedWords(i,s){let o=HDKey.fromMasterSeed(mnemonicToSeedSync(i,s)).derive("m/44'/1237'/0'/0/0").privateKey;if(!o)throw new Error("could not derive private key");return bytesToHex$1(o)}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 s={reply:void 0,root:void 0,mentions:[],profiles:[]},o=[];for(const n of i.tags)"e"===n[0]&&n[1]&&o.push(n),"p"===n[0]&&n[1]&&s.profiles.push({pubkey:n[1],relays:n[2]?[n[2]]:[]});for(let n=0;nparse});var nip13_exports={};function getPow(i){let s=0;for(let o=0;o=s)break}return n}__export(nip13_exports,{getPow:()=>getPow,minePow:()=>minePow});var nip18_exports={};function finishRepostEvent(i,s,o,n){return finishEvent({kind:6,tags:[...i.tags??[],["e",s.id,o],["p",s.pubkey]],content:""===i.content?"":JSON.stringify(s),created_at:i.created_at},n)}function getRepostedEventPointer(i){if(6!==i.kind)return;let s,o;for(let n=i.tags.length-1;n>=0&&(void 0===s||void 0===o);n--){const a=i.tags[n];a.length>=2&&("e"===a[0]&&void 0===s?s=a:"p"===a[0]&&void 0===o&&(o=a))}return void 0!==s?{id:s[1],relays:[s[2],o?.[2]].filter(n=>"string"==typeof n),author:o?.[1]}:void 0}function getRepostedEvent(i,{skipVerification:s}={}){const o=getRepostedEventPointer(i);if(void 0===o||""===i.content)return;let n;try{n=JSON.parse(i.content)}catch{return}return n.id===o.id&&(s||verifySignature(n))?n: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 s=i.match(new RegExp(`^${NOSTR_URI_REGEX.source}$`));if(!s)throw new Error(`Invalid Nostr URI: ${i}`);return{uri:s[0],value:s[1],decoded:decode(s[1])}}var nip25_exports={};function finishReactionEvent(i,s,o){const n=s.tags.filter(a=>a.length>=2&&("e"===a[0]||"p"===a[0]));return finishEvent({...i,kind:7,tags:[...i.tags??[],...n,["e",s.id],["p",s.pubkey]],content:i.content??"+"},o)}function getReactedEventPointer(i){if(7!==i.kind)return;let s,o;for(let n=i.tags.length-1;n>=0&&(void 0===s||void 0===o);n--){const a=i.tags[n];a.length>=2&&("e"===a[0]&&void 0===s?s=a:"p"===a[0]&&void 0===o&&(o=a))}return void 0!==s&&void 0!==o?{id:s[1],relays:[s[2],o[2]].filter(n=>void 0!==n),author:o[1]}:void 0}__export(nip25_exports,{finishReactionEvent:()=>finishReactionEvent,getReactedEventPointer:()=>getReactedEventPointer});var nip26_exports={};function createDelegation(i,s){let o=[];(s.kind||-1)>=0&&o.push(`kind=${s.kind}`),s.until&&o.push(`created_at<${s.until}`),s.since&&o.push(`created_at>${s.since}`);let n=o.join("&");if(""===n)throw new Error("refusing to create a delegation without any conditions");let a=sha256$1(utf8Encoder.encode(`nostr:delegation:${s.pubkey}:${n}`)),l=bytesToHex$1(schnorr.sign(a,i));return{from:getPublicKey(i),to:s.pubkey,cond:n,sig:l}}function getDelegator(i){let s=i.tags.find(k=>"delegation"===k[0]&&k.length>=4);if(!s)return null;let o=s[1],n=s[2],a=s[3],l=n.split("&");for(let k=0;k"===A&&i.created_at>parseInt(S)))return null}let y=sha256$1(utf8Encoder.encode(`nostr:delegation:${i.pubkey}:${n}`));return schnorr.verify(a,y,o)?o: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 s=i.matchAll(regex());for(const o of s)try{const[n,a]=o;yield{uri:n,value:a,decoded:decode(a),start:o.index,end:o.index+n.length}}catch{}}function replaceAll(i,s){return i.replaceAll(regex(),(o,n)=>s({uri:o,value:n,decoded:decode(n)}))}var nip28_exports={};__export(nip28_exports,{channelCreateEvent:()=>channelCreateEvent,channelHideMessageEvent:()=>channelHideMessageEvent,channelMessageEvent:()=>channelMessageEvent,channelMetadataEvent:()=>channelMetadataEvent,channelMuteUserEvent:()=>channelMuteUserEvent});var channelCreateEvent=(i,s)=>{let o;if("object"==typeof i.content)o=JSON.stringify(i.content);else{if("string"!=typeof i.content)return;o=i.content}return finishEvent({kind:40,tags:[...i.tags??[]],content:o,created_at:i.created_at},s)},channelMetadataEvent=(i,s)=>{let o;if("object"==typeof i.content)o=JSON.stringify(i.content);else{if("string"!=typeof i.content)return;o=i.content}return finishEvent({kind:41,tags:[["e",i.channel_create_event_id],...i.tags??[]],content:o,created_at:i.created_at},s)},channelMessageEvent=(i,s)=>{const o=[["e",i.channel_create_event_id,i.relay_url,"root"]];return i.reply_to_channel_message_event_id&&o.push(["e",i.reply_to_channel_message_event_id,i.relay_url,"reply"]),finishEvent({kind:42,tags:[...o,...i.tags??[]],content:i.content,created_at:i.created_at},s)},channelHideMessageEvent=(i,s)=>{let o;if("object"==typeof i.content)o=JSON.stringify(i.content);else{if("string"!=typeof i.content)return;o=i.content}return finishEvent({kind:43,tags:[["e",i.channel_message_event_id],...i.tags??[]],content:o,created_at:i.created_at},s)},channelMuteUserEvent=(i,s)=>{let o;if("object"==typeof i.content)o=JSON.stringify(i.content);else{if("string"!=typeof i.content)return;o=i.content}return finishEvent({kind:44,tags:[["p",i.pubkey_to_mute],...i.tags??[]],content:o,created_at:i.created_at},s)},nip39_exports={},_fetch2;__export(nip39_exports,{useFetchImplementation:()=>useFetchImplementation2,validateGithub:()=>validateGithub});try{_fetch2=fetch}catch{}function useFetchImplementation2(i){_fetch2=i}function validateGithub(i,s,o){return _validateGithub.apply(this,arguments)}function _validateGithub(){return _validateGithub=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s,o){try{return(yield(yield _fetch2(`https://gist.github.com/${s}/${o}/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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*({challenge:s,relay:o,sign:n}){const a={kind:22242,created_at:Math.floor(Date.now()/1e3),tags:[["relay",o.url],["challenge",s]],content:""};return o.auth(yield n(a))});return function(o){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,s)=>secp256k1.getSharedSecret(i,"02"+s).subarray(1,33),getMessageKeys(i,s){const o=hkdf(sha256$1,i,s,"nip44-v2",76);return{encryption:o.subarray(0,32),nonce:o.subarray(32,44),auth:o.subarray(44,76)}},calcPadding(i){if(!Number.isSafeInteger(i)||i<0)throw new Error("expected positive integer");if(i<=32)return 32;const s=1<=utils.v2.maxPlaintextSize)throw new Error("invalid plaintext length: must be between 1b and 64KB");const n=utils.v2.calcPadding(o),a=new Uint8Array(n-o),l=new Uint8Array(2);return new DataView(l.buffer).setUint16(0,o),concatBytes$1(l,s,a)},unpad(i){const s=new DataView(i.buffer).getUint16(0),o=i.subarray(2,2+s);if(0===s||o.length!==s||i.length!==2+utils.v2.calcPadding(s))throw new Error("invalid padding");return utf8Decoder.decode(o)}}};function encrypt2(i,s,o={}){const n=o.version??2;if(2!==n)throw new Error("unknown encryption version "+n);const a=o.salt??randomBytes$1(32);ensureBytes(a,32);const l=utils.v2.getMessageKeys(i,a),y=utils.v2.pad(s),k=chacha20(l.encryption,l.nonce,y),C=hmac(sha256$1,l.auth,k);return base64$1.encode(concatBytes$1(new Uint8Array([n]),a,k,C))}function decrypt2(i,s){const o=utils.v2;ensureBytes(i,32);const n=s.length;if(n=o.maxCiphertextSize)throw new Error("invalid ciphertext length: "+n);if("#"===s[0])throw new Error("unknown encryption version");let a;try{a=base64$1.decode(s)}catch(T){throw new Error("invalid base64: "+T.message)}const l=a.subarray(0,1)[0];if(2!==l)throw new Error("unknown encryption version "+l);const y=a.subarray(1,33),k=a.subarray(33,-32),C=a.subarray(-32),A=o.getMessageKeys(i,y);if(!equalBytes(hmac(sha256$1,A.auth,k),C))throw new Error("invalid MAC");const S=chacha20(A.encryption,A.nonce,k);return o.unpad(S)}var nip47_exports={};function parseConnectionString(i){const{pathname:s,searchParams:o}=new URL(i),n=s,a=o.get("relay"),l=o.get("secret");if(!n||!a||!l)throw new Error("invalid connection string");return{pubkey:n,relay:a,secret:l}}function makeNwcRequestEvent(i){return _makeNwcRequestEvent.apply(this,arguments)}function _makeNwcRequestEvent(){return _makeNwcRequestEvent=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*({pubkey:i,secret:s,invoice:o}){const n={method:"pay_invoice",params:{invoice:o}},a=yield encrypt$1(s,i,JSON.stringify(n));return finishEvent({kind:23194,created_at:Math.round(Date.now()/1e3),content:a,tags:[["p",i]]},s)}),_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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i){try{let s="",{lud06:o,lud16:n}=JSON.parse(i.content);if(o){let{words:y}=bech32$1.decode(o,1e3),k=bech32$1.fromWords(y);s=utf8Decoder.decode(k)}else{if(!n)return null;{let[y,k]=n.split("@");s=`https://${k}/.well-known/lnurlp/${y}`}}let a=yield _fetch3(s),l=yield a.json();if(l.allowsNostr&&l.nostrPubkey)return l.callback}catch{}return null}),_getZapEndpoint.apply(this,arguments)}function makeZapRequest({profile:i,event:s,amount:o,relays:n,comment:a=""}){if(!o)throw new Error("amount not given");if(!i)throw new Error("profile not given");let l={kind:9734,created_at:Math.round(Date.now()/1e3),content:a,tags:[["p",i],["amount",o.toString()],["relays",...n]]};return s&&l.tags.push(["e",s]),l}function validateZapRequest(i){let s;try{s=JSON.parse(i)}catch{return"Invalid zap request JSON."}if(!validateEvent(s))return"Zap request is not a valid Nostr event.";if(!verifySignature(s))return"Invalid signature on zap request.";let o=s.tags.find(([a,l])=>"p"===a&&l);if(!o)return"Zap request doesn't have a 'p' tag.";if(!o[1].match(/^[a-f0-9]{64}$/))return"Zap request 'p' tag is not valid hex.";let n=s.tags.find(([a,l])=>"e"===a&&l);return n&&!n[1].match(/^[a-f0-9]{64}$/)?"Zap request 'e' tag is not valid hex.":s.tags.find(([a,l])=>"relays"===a&&l)?null:"Zap request doesn't have a 'relays' tag."}function makeZapReceipt({zapRequest:i,preimage:s,bolt11:o,paidAt:n}){let a=JSON.parse(i).tags.filter(([y])=>"e"===y||"p"===y||"a"===y),l={kind:9735,created_at:Math.round(n.getTime()/1e3),content:"",tags:[...a,["bolt11",o],["description",i]]};return s&&l.tags.push(["preimage",s]),l}var nip98_exports={};__export(nip98_exports,{getToken:()=>getToken,unpackEventFromToken:()=>unpackEventFromToken,validateEvent:()=>validateEvent2,validateToken:()=>validateToken});var _authorizationScheme="Nostr ";function getToken(i,s,o){return _getToken.apply(this,arguments)}function _getToken(){return _getToken=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s,o,n=!1){if(!i||!s)throw new Error("Missing loginUrl or httpMethod");const a=getBlankEvent(27235);a.tags=[["u",i],["method",s]],a.created_at=Math.round((new Date).getTime()/1e3);const l=yield o(a);return(n?_authorizationScheme:"")+base64$1.encode(utf8Encoder.encode(JSON.stringify(l)))}),_getToken.apply(this,arguments)}function validateToken(i,s,o){return _validateToken.apply(this,arguments)}function _validateToken(){return _validateToken=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s,o){const n=yield unpackEventFromToken(i).catch(a=>{throw a});return yield validateEvent2(n,s,o).catch(a=>{throw a})}),_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_angular_builders_custom_webpack_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 s=utf8Decoder.decode(base64$1.decode(i));if(!s||0===s.length||!s.startsWith("{"))throw new Error("Invalid token");return JSON.parse(s)}),_unpackEventFromToken.apply(this,arguments)}function validateEvent2(i,s,o){return _validateEvent.apply(this,arguments)}function _validateEvent(){return _validateEvent=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s,o){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 n=i.tags.find(l=>"u"===l[0]);if(1!==n?.length&&n?.[1]!==s)throw new Error("Invalid nostr event, url tag invalid");const a=i.tags.find(l=>"method"===l[0]);if(1!==a?.length&&a?.[1].toLowerCase()!==o.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,s=60*i,o=60*s,n=24*o,a=7*n;function y(k,C,A,S){var T=C>=1.5*A;return Math.round(k/A)+" "+S+(T?"s":"")}return ms=function(k,C){C=C||{};var S,T,A=typeof k;if("string"===A&&k.length>0)return function(S){if(!((S=String(S)).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(S);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*a;case"days":case"day":case"d":return O*n;case"hours":case"hour":case"hrs":case"hr":case"h":return O*o;case"minutes":case"minute":case"mins":case"min":case"m":return O*s;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"===A&&isFinite(k))return C.long?(S=k,(T=Math.abs(S))>=n?y(S,T,n,"day"):T>=o?y(S,T,o,"hour"):T>=s?y(S,T,s,"minute"):T>=i?y(S,T,i,"second"):S+" ms"):function(S){var T=Math.abs(S);return T>=n?Math.round(S/n)+"d":T>=o?Math.round(S/o)+"h":T>=s?Math.round(S/s)+"m":T>=i?Math.round(S/i)+"s":S+"ms"}(k);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(k))}}function setup(i){function s(a){let l,y,k,C=null;function A(...S){if(!A.enabled)return;const T=A,O=Number(new Date);T.diff=O-(l||O),T.prev=l,T.curr=O,l=O,S[0]=s.coerce(S[0]),"string"!=typeof S[0]&&S.unshift("%O");let q=0;S[0]=S[0].replace(/%([a-zA-Z%])/g,(Y,J)=>{if("%%"===Y)return"%";q++;const ht=s.formatters[J];return"function"==typeof ht&&(Y=ht.call(T,S[q]),S.splice(q,1),q--),Y}),s.formatArgs.call(T,S),(T.log||s.log).apply(T,S)}return A.namespace=a,A.useColors=s.useColors(),A.color=s.selectColor(a),A.extend=o,A.destroy=s.destroy,Object.defineProperty(A,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==C?C:(y!==s.namespaces&&(y=s.namespaces,k=s.enabled(a)),k),set:S=>{C=S}}),"function"==typeof s.init&&s.init(A),A}function o(a,l){const y=s(this.namespace+(void 0===l?":":l)+a);return y.log=this.log,y}function n(a){return a.toString().substring(2,a.toString().length-2).replace(/\.\*\?$/,"*")}return s.debug=s,s.default=s,s.coerce=function(a){return a instanceof Error?a.stack||a.message:a},s.disable=function(){const a=[...s.names.map(n),...s.skips.map(n).map(l=>"-"+l)].join(",");return s.enable(""),a},s.enable=function(a){let l;s.save(a),s.namespaces=a,s.names=[],s.skips=[];const y=("string"==typeof a?a:"").split(/[\s,]+/),k=y.length;for(l=0;l{s[a]=i[a]}),s.names=[],s.skips=[],s.formatters={},s.selectColor=function(a){let l=0;for(let y=0;y{"%%"!==k&&(l++,"%c"===k&&(y=l))}),n.splice(y,0,a)},s.save=function(n){try{n?s.storage.setItem("debug",n):s.storage.removeItem("debug")}catch{}},s.load=function(){let n;try{n=s.storage.getItem("debug")}catch{}return!n&&typeof process<"u"&&"env"in process&&(n=process.env.DEBUG),n},s.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+)/))},s.storage=function(){try{return localStorage}catch{}}(),s.destroy=(()=>{let n=!1;return()=>{n||(n=!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`."))}})(),s.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"],s.log=console.debug||console.log||(()=>{}),i.exports=common(s);const{formatters:o}=i.exports;o.j=function(n){try{return JSON.stringify(n)}catch(a){return"[UnexpectedJSONParseError]: "+a.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(s,o,n){const{entryExpirationTimeInMS:a=null,next:l=null,prev:y=null,onEntryEvicted:k,onEntryMarkedAsMostRecentlyUsed:C,clone:A,cloneFn:S}=n??{};if("number"==typeof a&&(a<=0||Number.isNaN(a)))throw new Error("entryExpirationTimeInMS must either be null (no expiry) or greater than 0");this.clone=null!=A&&A,this.cloneFn=S??this.defaultClone,this.key=s,this.internalValue=this.clone?this.cloneFn(o):o,this.created=Date.now(),this.entryExpirationTimeInMS=a,this.next=l,this.prev=y,this.onEntryEvicted=k,this.onEntryMarkedAsMostRecentlyUsed=C}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:s,value:o,isExpired:n}=this;this.onEntryEvicted({key:s,value:o,isExpired:n})}}invokeOnEntryMarkedAsMostRecentlyUsed(){if(this.onEntryMarkedAsMostRecentlyUsed){const{key:s,value:o}=this;this.onEntryMarkedAsMostRecentlyUsed({key:s,value:o})}}defaultClone(s){return"boolean"==typeof s||"string"==typeof s||"number"==typeof s?s:JSON.parse(JSON.stringify(s))}}LRUCacheNode$1.LRUCacheNode=LRUCacheNode,Object.defineProperty(LRUCache$1,"__esModule",{value:!0}),LRUCache$1.LRUCache=void 0;const LRUCacheNode_1=LRUCacheNode$1;class LRUCache{constructor(s){this.lookupTable=new Map,this.head=null,this.tail=null;const{maxSize:o=25,entryExpirationTimeInMS:n=null,onEntryEvicted:a,onEntryMarkedAsMostRecentlyUsed:l,cloneFn:y,clone:k}=s??{};if(Number.isNaN(o)||o<=0)throw new Error("maxSize must be greater than 0.");if("number"==typeof n&&(n<=0||Number.isNaN(n)))throw new Error("entryExpirationTimeInMS must either be null (no expiry) or greater than 0");this.maxSizeInternal=o,this.entryExpirationTimeInMS=n,this.onEntryEvicted=a,this.onEntryMarkedAsMostRecentlyUsed=l,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(s){if(Number.isNaN(s)||s<=0)throw new Error("maxSize must be greater than 0.");this.maxSizeInternal=s,this.enforceSizeLimit()}set(s,o,n){const a=this.lookupTable.get(s);a&&this.removeNodeFromListAndLookupTable(a);const l=new LRUCacheNode_1.LRUCacheNode(s,o,{entryExpirationTimeInMS:this.entryExpirationTimeInMS,onEntryEvicted:this.onEntryEvicted,onEntryMarkedAsMostRecentlyUsed:this.onEntryMarkedAsMostRecentlyUsed,clone:this.clone,cloneFn:this.cloneFn,...n});return this.setNodeAsHead(l),this.lookupTable.set(s,l),this.enforceSizeLimit(),this}get(s){const o=this.lookupTable.get(s);return o?o.isExpired?(this.removeNodeFromListAndLookupTable(o),null):(this.setNodeAsHead(o),o.value):null}peek(s){const o=this.lookupTable.get(s);return o?o.isExpired?(this.removeNodeFromListAndLookupTable(o),null):o.value:null}delete(s){const o=this.lookupTable.get(s);return!!o&&this.removeNodeFromListAndLookupTable(o)}has(s){const o=this.lookupTable.get(s);return!(!o||o.isExpired&&(this.removeNodeFromListAndLookupTable(o),1))}clear(){this.head=null,this.tail=null,this.lookupTable.clear()}find(s){let o=this.head;for(;o;){if(o.isExpired){const a=o.next;this.removeNodeFromListAndLookupTable(o),o=a;continue}const n=this.mapNodeToEntry(o);if(s(n))return this.setNodeAsHead(o),n;o=o.next}return null}forEach(s){let o=this.head,n=0;for(;o;)if(o.isExpired){const a=o.next;this.removeNodeFromListAndLookupTable(o),o=a}else s(o.value,o.key,n),o=o.next,n++}*values(){let s=this.head;for(;s;)if(s.isExpired){const o=s.next;this.removeNodeFromListAndLookupTable(s),s=o}else yield s.value,s=s.next}*keys(){let s=this.head;for(;s;)if(s.isExpired){const o=s.next;this.removeNodeFromListAndLookupTable(s),s=o}else yield s.key,s=s.next}*entries(){let s=this.head;for(;s;)if(s.isExpired){const o=s.next;this.removeNodeFromListAndLookupTable(s),s=o}else yield this.mapNodeToEntry(s),s=s.next}*[Symbol.iterator](){let s=this.head;for(;s;)if(s.isExpired){const o=s.next;this.removeNodeFromListAndLookupTable(s),s=o}else yield this.mapNodeToEntry(s),s=s.next}enforceSizeLimit(){let s=this.tail;for(;null!==s&&this.size>this.maxSizeInternal;){const o=s.prev;this.removeNodeFromListAndLookupTable(s),s=o}}mapNodeToEntry({key:s,value:o}){return{key:s,value:o}}setNodeAsHead(s){this.removeNodeFromList(s),this.head?(s.next=this.head,this.head.prev=s,this.head=s):(this.head=s,this.tail=s),s.invokeOnEntryMarkedAsMostRecentlyUsed()}removeNodeFromList(s){null!==s.prev&&(s.prev.next=s.next),null!==s.next&&(s.next.prev=s.prev),this.head===s&&(this.head=s.next),this.tail===s&&(this.tail=s.prev),s.next=null,s.prev=null}removeNodeFromListAndLookupTable(s){return s.invokeOnEvicted(),this.removeNodeFromList(s),this.lookupTable.delete(s.key)}cleanCache(){if(!this.entryExpirationTimeInMS)return;const s=[];for(const o of this.lookupTable.values())o.isExpired&&s.push(o);s.forEach(o=>this.removeNodeFromListAndLookupTable(o))}}LRUCache$1.LRUCache=LRUCache,function(i){var s=commonjsGlobal&&commonjsGlobal.__createBinding||(Object.create?function(n,a,l,y){void 0===y&&(y=l);var k=Object.getOwnPropertyDescriptor(a,l);k&&!("get"in k?!a.__esModule:k.writable||k.configurable)||(k={enumerable:!0,get:function(){return a[l]}}),Object.defineProperty(n,y,k)}:function(n,a,l,y){void 0===y&&(y=l),n[y]=a[l]}),o=commonjsGlobal&&commonjsGlobal.__exportStar||function(n,a){for(var l in n)"default"===l||Object.prototype.hasOwnProperty.call(a,l)||s(a,n,l)};Object.defineProperty(i,"__esModule",{value:!0}),o(LRUCache$1,i)}(dist);var lib={};(function(i){function s(_t){if(!Number.isSafeInteger(_t))throw new Error(`Wrong integer: ${_t}`)}function o(..._t){const at=(st,vt)=>Pt=>st(vt(Pt));return{encode:Array.from(_t).reverse().reduce((st,vt)=>st?at(st,vt.encode):vt.encode,void 0),decode:_t.reduce((st,vt)=>st?at(st,vt.decode):vt.decode,void 0)}}function n(_t){return{encode:at=>{if(!Array.isArray(at)||at.length&&"number"!=typeof at[0])throw new Error("alphabet.encode input should be an array of numbers");return at.map(st=>{if(s(st),st<0||st>=_t.length)throw new Error(`Digit index outside alphabet: ${st} (alphabet: ${_t.length})`);return _t[st]})},decode:at=>{if(!Array.isArray(at)||at.length&&"string"!=typeof at[0])throw new Error("alphabet.decode input should be array of strings");return at.map(st=>{if("string"!=typeof st)throw new Error(`alphabet.decode: not string element=${st}`);const vt=_t.indexOf(st);if(-1===vt)throw new Error(`Unknown letter: "${st}". Allowed: ${_t}`);return vt})}}}function a(_t=""){if("string"!=typeof _t)throw new Error("join separator should be string");return{encode:at=>{if(!Array.isArray(at)||at.length&&"string"!=typeof at[0])throw new Error("join.encode input should be array of strings");for(let st of at)if("string"!=typeof st)throw new Error(`join.encode: non-string input=${st}`);return at.join(_t)},decode:at=>{if("string"!=typeof at)throw new Error("join.decode input should be string");return at.split(_t)}}}function l(_t,at="="){if(s(_t),"string"!=typeof at)throw new Error("padding chr should be string");return{encode(st){if(!Array.isArray(st)||st.length&&"string"!=typeof st[0])throw new Error("padding.encode input should be array of strings");for(let vt of st)if("string"!=typeof vt)throw new Error(`padding.encode: non-string input=${vt}`);for(;st.length*_t%8;)st.push(at);return st},decode(st){if(!Array.isArray(st)||st.length&&"string"!=typeof st[0])throw new Error("padding.encode input should be array of strings");for(let Pt of st)if("string"!=typeof Pt)throw new Error(`padding.decode: non-string input=${Pt}`);let vt=st.length;if(vt*_t%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;vt>0&&st[vt-1]===at;vt--)if(!((vt-1)*_t%8))throw new Error("Invalid padding: string has too much padding");return st.slice(0,vt)}}}function y(_t){if("function"!=typeof _t)throw new Error("normalize fn should be function");return{encode:at=>at,decode:at=>_t(at)}}function k(_t,at,st){if(at<2)throw new Error(`convertRadix: wrong from=${at}, base cannot be less than 2`);if(st<2)throw new Error(`convertRadix: wrong to=${st}, base cannot be less than 2`);if(!Array.isArray(_t))throw new Error("convertRadix: data should be array");if(!_t.length)return[];let vt=0;const Pt=[],ae=Array.from(_t);for(ae.forEach(le=>{if(s(le),le<0||le>=at)throw new Error(`Wrong integer: ${le}`)});;){let le=0,ve=!0;for(let se=vt;seat?C(at,_t%at):_t,A=(_t,at)=>_t+(at-C(_t,at));function S(_t,at,st,vt){if(!Array.isArray(_t))throw new Error("convertRadix2: data should be array");if(at<=0||at>32)throw new Error(`convertRadix2: wrong from=${at}`);if(st<=0||st>32)throw new Error(`convertRadix2: wrong to=${st}`);if(A(at,st)>32)throw new Error(`convertRadix2: carry overflow from=${at} to=${st} carryBits=${A(at,st)}`);let Pt=0,ae=0;const le=2**st-1,ve=[];for(const se of _t){if(s(se),se>=2**at)throw new Error(`convertRadix2: invalid data word=${se} from=${at}`);if(Pt=Pt<32)throw new Error(`convertRadix2: carry overflow pos=${ae} from=${at}`);for(ae+=at;ae>=st;ae-=st)ve.push((Pt>>ae-st&le)>>>0);Pt&=2**ae-1}if(Pt=Pt<=at)throw new Error("Excess padding");if(!vt&&Pt)throw new Error(`Non-zero padding: ${Pt}`);return vt&&ae>0&&ve.push(Pt>>>0),ve}function T(_t){return s(_t),{encode:at=>{if(!(at instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return k(Array.from(at),256,_t)},decode:at=>{if(!Array.isArray(at)||at.length&&"number"!=typeof at[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(k(at,_t,256))}}}function O(_t,at=!1){if(s(_t),_t<=0||_t>32)throw new Error("radix2: bits should be in (0..32]");if(A(8,_t)>32||A(_t,8)>32)throw new Error("radix2: carry overflow");return{encode:st=>{if(!(st instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return S(Array.from(st),8,_t,!at)},decode:st=>{if(!Array.isArray(st)||st.length&&"number"!=typeof st[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(S(st,_t,8,at))}}}function P(_t){if("function"!=typeof _t)throw new Error("unsafeWrapper fn should be function");return function(...at){try{return _t.apply(null,at)}catch{}}}function q(_t,at){if(s(_t),"function"!=typeof at)throw new Error("checksum fn should be function");return{encode(st){if(!(st instanceof Uint8Array))throw new Error("checksum.encode: input should be Uint8Array");const vt=at(st).slice(0,_t),Pt=new Uint8Array(st.length+_t);return Pt.set(st),Pt.set(vt,st.length),Pt},decode(st){if(!(st instanceof Uint8Array))throw new Error("checksum.decode: input should be Uint8Array");const vt=st.slice(0,-_t),Pt=at(vt).slice(0,_t),ae=st.slice(-_t);for(let le=0;le<_t;le++)if(Pt[le]!==ae[le])throw new Error("Invalid checksum");return vt}}}i.utils={alphabet:n,chain:o,checksum:q,radix:T,radix2:O,join:a,padding:l},i.base16=o(O(4),n("0123456789ABCDEF"),a("")),i.base32=o(O(5),n("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),l(5),a("")),i.base32hex=o(O(5),n("0123456789ABCDEFGHIJKLMNOPQRSTUV"),l(5),a("")),i.base32crockford=o(O(5),n("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),a(""),y(_t=>_t.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),i.base64=o(O(6),n("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),l(6),a("")),i.base64url=o(O(6),n("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),l(6),a(""));const Y=_t=>o(T(58),n(_t),a(""));i.base58=Y("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),i.base58flickr=Y("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),i.base58xrp=Y("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");const J=[0,2,3,5,6,7,9,10,11];i.base58xmr={encode(_t){let at="";for(let st=0;st<_t.length;st+=8){const vt=_t.subarray(st,st+8);at+=i.base58.encode(vt).padStart(J[vt.length],"1")}return at},decode(_t){let at=[];for(let st=0;st<_t.length;st+=11){const vt=_t.slice(st,st+11),Pt=J.indexOf(vt.length),ae=i.base58.decode(vt);for(let le=0;leo(q(4,at=>_t(_t(at))),i.base58);const ht=o(n("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),a("")),ct=[996825010,642813549,513874426,1027748829,705979059];function pt(_t){const at=_t>>25;let st=(33554431&_t)<<5;for(let vt=0;vt>vt&1)&&(st^=ct[vt]);return st}function kt(_t,at,st=1){const vt=_t.length;let Pt=1;for(let ae=0;ae126)throw new Error(`Invalid prefix (${_t})`);Pt=pt(Pt)^le>>5}Pt=pt(Pt);for(let ae=0;aese)throw new TypeError(`Wrong string length: ${ve.length} (${ve}). Expected (8..${se})`);const or=ve.toLowerCase();if(ve!==or&&ve!==ve.toUpperCase())throw new Error("String must be lowercase or uppercase");const fr=(ve=or).lastIndexOf("1");if(0===fr||-1===fr)throw new Error('Letter "1" must be present between prefix and data only');const yr=ve.slice(0,fr),jr=ve.slice(fr+1);if(jr.length<6)throw new Error("Data must be at least 6 characters long");const wr=ht.decode(jr).slice(0,-6),Qt=kt(yr,wr,at);if(!jr.endsWith(Qt))throw new Error(`Invalid checksum in ${ve}: expected "${Qt}"`);return{prefix:yr,words:wr}}return{encode:function(ve,se,or=90){if("string"!=typeof ve)throw new Error("bech32.encode prefix should be string, not "+typeof ve);if(!Array.isArray(se)||se.length&&"number"!=typeof se[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof se);const fr=ve.length+7+se.length;if(!1!==or&&fr>or)throw new TypeError(`Length ${fr} exceeds limit ${or}`);return`${ve=ve.toLowerCase()}1${ht.encode(se)}${kt(ve,se,at)}`},decode:le,decodeToBytes:function(ve){const{prefix:se,words:or}=le(ve,!1);return{prefix:se,words:or,bytes:vt(or)}},decodeUnsafe:P(le),fromWords:vt,fromWordsUnsafe:ae,toWords:Pt}}i.bech32=Et("bech32"),i.bech32m=Et("bech32m"),i.utf8={encode:_t=>(new TextDecoder).decode(_t),decode:_t=>(new TextEncoder).encode(_t)},i.hex=o(O(4),n("0123456789abcdef"),a(""),y(_t=>{if("string"!=typeof _t||_t.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof _t} with length ${_t.length}`);return _t.toLowerCase()}));const It={utf8:i.utf8,hex:i.hex,base16:i.base16,base32:i.base32,base64:i.base64,base64url:i.base64url,base58:i.base58,base58xmr:i.base58xmr},yt=`Invalid encoding type. Available types: ${Object.keys(It).join(", ")}`;i.bytesToString=(_t,at)=>{if("string"!=typeof _t||!It.hasOwnProperty(_t))throw new TypeError(yt);if(!(at instanceof Uint8Array))throw new TypeError("bytesToString() expects Uint8Array");return It[_t].encode(at)},i.str=i.bytesToString,i.stringToBytes=(_t,at)=>{if(!It.hasOwnProperty(_t))throw new TypeError(yt);if("string"!=typeof at)throw new TypeError("stringToBytes() expects string");return It[_t].decode(at)},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,s=Object.keys(TAGCODES);ithis.handleNotice(s))}initiateAuth(i={limit:1}){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){s.debug("Initiating authentication");const o=s.relay.sub([i],{id:"auth-test"});o.on("eose",()=>{o.unsub(),s._status=1,s.ndkRelay.emit("ready"),s.debug("Authentication not required"),o.unsub()}),s.debug("Authentication request started")})()}connect(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const s=()=>{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"))},o=()=>{i.updateConnectionStats.disconnected(),1===i._status&&(i._status=3,i.handleReconnection()),i.ndkRelay.emit("disconnect")},n=function(){var a=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(l){i.debug("Relay requested authentication",{havePolicy:!!i.ndkRelay.authPolicy}),i.ndkRelay.authPolicy?7!==i._status&&(i._status=7,yield i.ndkRelay.authPolicy(i.ndkRelay,l),7===i._status&&(i.debug("Authentication policy finished"),i._status=1,i.ndkRelay.emit("ready"))):yield i.ndkRelay.emit("auth",l)});return function(y){return a.apply(this,arguments)}}();try{i.updateConnectionStats.attempt(),i._status=0,i.relay.off("connect",s),i.relay.off("disconnect",o),i.relay.on("connect",s),i.relay.on("disconnect",o),i.relay.on("auth",n),yield i.relay.connect()}catch(a){throw i.debug("Failed to connect",a),i._status=3,a}})()}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 s=i.reduce((n,a)=>n+a,0)/i.length,o=i.map(n=>Math.pow(n-s,2)).reduce((n,a)=>n+a,0)/i.length;return Math.sqrt(o)<1e3}handleNotice(i){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){(i.includes("oo many")||i.includes("aximum"))&&(s.disconnect(),setTimeout(()=>s.connect(),2e3),s.debug(s.relay.url,"Relay complaining?",i)),s.ndkRelay.emit("notice",s,i)})()}handleReconnection(i=0){if(this.isFlapping())return this.ndkRelay.emit("flapping",this,this._connectionStats),void(this._status=5);const s=this.connectedAt?Math.max(0,6e4-(Date.now()-this.connectedAt)):0;setTimeout(()=>{this._status=4,this.connect().then(()=>{this.debug("Reconnected")}).catch(o=>{this.debug("Reconnect failed",o),i<5?setTimeout(()=>{this.handleReconnection(i+1)},6e4):this.debug("Reconnect failed after 5 attempts")})},s)}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,s=2500){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const n=()=>new Promise((C,A)=>{try{o.publishEvent(i,s).then(S=>C(S)).catch(S=>A(S))}catch(S){A(S)}}),a=new Promise((C,A)=>{setTimeout(()=>A(new Error("Timeout")),s)}),l=()=>{n().then(C=>y(C)).catch(C=>k(C))};let y,k;return 1===o.ndkRelay.status?Promise.race([n(),a]):Promise.race([new Promise((C,A)=>{y=C,k=A,o.ndkRelay.once("connect",l)}),a]).finally(()=>{o.ndkRelay.removeListener("connect",l)})})()}publishEvent(i,s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const n=yield i.toNostrEvent(),a=o.ndkRelay.connectivity.relay.publish(n);let l;const y=new Promise((C,A)=>{a.then(()=>{clearTimeout(l),o.ndkRelay.emit("published",i),C(!0)}).catch(S=>{clearTimeout(l),o.ndkRelay.debug("Publish failed",S,i.id),o.ndkRelay.emit("publish:failed",i,S),A(S)})});if(!s||i.isEphemeral())return y;const k=new Promise((C,A)=>{l=setTimeout(()=>{o.ndkRelay.debug("Publish timed out",i.rawEvent()),o.ndkRelay.emit("publish:failed",i,"Timeout"),A(new Error("Publish operation timed out"))},s)});return Promise.race([y,k])})()}auth(i){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return s.ndkRelay.connectivity.relay.auth(i.rawEvent())})()}};function calculateGroupableId(i){const s=[];for(const o of i){if(o.since||o.until)return null;const n=Object.keys(o||{}).sort().join("-");s.push(n)}return s.join("|")}function mergeFilters(i){const s={};return i.forEach(o=>{Object.entries(o).forEach(([n,a])=>{s[n]=Array.isArray(a)?void 0===s[n]?[...a]:Array.from(new Set([...s[n],...a])):a})}),s}var MAX_SUBID_LENGTH=20;function queryFullyFilled(i){return!(!filterIncludesIds(i.filter)||!resultHasAllRequestedIds(i))}function compareFilter(i,s){if(Object.keys(i).length!==Object.keys(s).length)return!1;for(const[o,n]of Object.entries(i)){const a=s[o];if(!a)return!1;if(Array.isArray(n)&&Array.isArray(a)){const l=n;for(const y of a)if(!l.includes(y))return!1}else if(a!==n)return!1}return!0}function filterIncludesIds(i){return!!i.ids}function resultHasAllRequestedIds(i){const s=i.filter.ids;return!!s&&s.length===i.eventFirstSeen.size}function generateSubId(i,s){const o=i.map(k=>k.subId).filter(Boolean),n=[],a=new Set,l=new Set;if(o.length>0)n.push(Array.from(new Set(o)).join(","));else{for(const k of s)for(const C of Object.keys(k))"kinds"===C?k.kinds?.forEach(A=>l.add(A)):a.add(C);l.size>0&&n.push("kinds:"+Array.from(l).join(",")),a.size>0&&n.push(Array.from(a).join(","))}let y=n.join("-");return y.length>MAX_SUBID_LENGTH&&(y=y.substring(0,MAX_SUBID_LENGTH)),1!==o.length&&(y+="-"+Math.floor(999*Math.random()).toString()),y}function filterFromId(i){let s;if(i.match(NIP33_A_REGEX)){const[o,n,a]=i.split(":"),l={authors:[n],kinds:[parseInt(o)]};return a&&(l["#d"]=[a]),l}try{switch(s=nip19_exports.decode(i),s.type){case"nevent":return{ids:[s.data.id]};case"note":return{ids:[s.data]};case"naddr":return{authors:[s.data.pubkey],"#d":[s.data.identifier],kinds:[s.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 s=nip19_exports.decode(i);if(["naddr","nevent"].includes(s?.type)){const o=s.data;if(o?.relays)return o.relays.map(n=>new NDKRelay(n))}}catch{}return[]}var NDKGroupedSubscriptions=class extends lib$1.EventEmitter{subscriptions;req;debug;constructor(i,s){super(),this.subscriptions=i,this.debug=s||this.subscriptions[0].subscription.debug.extend("grouped");for(const o of i)this.handleSubscriptionClosure(o)}addSubscription(i){this.subscriptions.push(i),this.handleSubscriptionClosure(i)}eventReceived(i){for(const s of this.subscriptions)s.eventReceived(i)}eoseReceived(i){Array.from(this.subscriptions).forEach(function(){var s=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(o){o.subscription.eoseReceived(i)});return function(o){return s.apply(this,arguments)}}())}handleSubscriptionClosure(i){i.subscription.on("close",()=>{const s=this.subscriptions.findIndex(o=>o.subscription===i.subscription);this.subscriptions.splice(s,1),this.subscriptions.length<=0&&this.emit("close")})}map(i){return this.subscriptions.map(i)}[Symbol.iterator](){let i=0;const s=this.subscriptions;return{next:()=>imatchFilter(o,s))}};function findMatchingActiveSubscriptions(i,s){if(i.length!==s.length)return!1;for(let o=0;o{this.delayedItems.get(o)&&this.delayedItems.delete(o)}));let y=this.executionTimeoutsByGroupId.get(o);y&&"at-most"!==i.opts.groupableDelayType||(y=setTimeout(()=>{this.executeGroup(o,i)},i.opts.groupableDelay),this.executionTimeoutsByGroupId.set(o,y)),this.delayedTimers.has(o)?this.delayedTimers.get(o).push(y):this.delayedTimers.set(o,[y])}executeGroup(i,s){const o=this.delayedItems.get(i);this.delayedItems.delete(i);const n=this.delayedTimers.get(i);if(this.delayedTimers.delete(i),n)for(const a of n)clearTimeout(a);if(o){const a=o.subscriptions[0].filters.length,l=[];for(let y=0;yC.filters[y]);l.push(mergeFilters(k))}this.executeSubscriptions(i,o,l)}}executeSubscriptionsWhenConnected(i,s,o){const n=()=>{this.debug("new relay coming online for active subscription",{relay:this.ndkRelay.url,mergeFilters}),this.executeSubscriptionsConnected(i,s,o)};this.ndkRelay.once("ready",n),s.once("close",()=>{this.ndkRelay.removeListener("ready",n)})}executeSubscriptions(i,s,o){this.conn.isAvailable()?this.executeSubscriptionsConnected(i,s,o):this.executeSubscriptionsWhenConnected(i,s,o)}executeSubscriptionsConnected(i,s,o){const n=[];for(const{subscription:k}of s)n.push(k);const a=generateSubId(n,o);s.req=o;const l={id:a};(this.ndkRelay.trusted||n.every(k=>k.opts.skipVerification))&&(l.skipVerification=!0);const y=this.conn.relay.sub(o,l);return this.activeSubscriptions.set(y,s),i&&this.activeSubscriptionsByGroupId.set(i,{filters:o,sub:y}),y.on("event",k=>{const C=new NDKEvent(void 0,k);C.relay=this.ndkRelay,this.activeSubscriptions.get(y)?.eventReceived(C)}),y.on("eose",()=>{this.activeSubscriptions.get(y)?.eoseReceived(this.ndkRelay)}),s.once("close",()=>{y.unsub(),this.activeSubscriptions.delete(y),i&&this.activeSubscriptionsByGroupId.delete(i)}),this.executeSubscriptionsWhenConnected(i,s,o),y}executedFilters(){const i=new Map;for(const[,s]of this.activeSubscriptions)i.set(s.req,s.map(o=>o.subscription));return i}},NDKRelay=class extends lib$1.EventEmitter{url;scores;connectivity;subs;publisher;authPolicy;authRequired=!1;trusted=!1;complaining=!1;debug;constructor(i,s){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=s}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_angular_builders_custom_webpack_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,s){this.subs.subscribe(i,s)}publish(i,s=2500){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.publisher.publish(i,s)})()}auth(i){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return s.publisher.auth(i)})()}scoreSlowerEvent(i){}tagReference(i){const s=["r",this.url];return i&&s.push(i),s}referenceTags(){return[["r",this.url]]}activeSubscriptions(){return this.subs.executedFilters()}},PublishError=class extends Error{errors;constructor(i,s){super(i),this.errors=s}},NDKRelaySet=class p5{relays;debug;ndk;constructor(s,o){this.relays=s,this.ndk=o,this.debug=o.debug.extend("relayset")}addRelay(s){this.relays.add(s)}static fromRelayUrls(s,o){const n=new Set;for(const a of s){const l=o.pool.relays.get(a);if(l)n.add(l);else{const y=new NDKRelay(a);o.pool.useTemporaryRelay(y),n.add(y)}}return new p5(new Set(n),o)}publish(s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const a=new Set,l=new Map,y=s.isEphemeral(),k=Array.from(n.relays).map(C=>new Promise(A=>{C.publish(s,o).then(()=>{a.add(C),A()}).catch(S=>{y||(l.set(C,S),n.debug("error publishing to relay",{relay:C.url,err:S})),A()})}));if(yield Promise.all(k),0===a.size&&!y)throw new PublishError("No relay was able to receive the event",l);return a})()}size(){return this.relays.size}};function calculateRelaySetFromEvent(i,s){const o=new Set;return i.pool?.relays.forEach(n=>o.add(n)),new NDKRelaySet(o,i)}function getWriteRelaysFor(i,s){if(i.outboxTracker)return i.outboxTracker.data.get(s)?.writeRelays}function calculateRelaySetsFromFilter(i,s){const o=new Map,n=new Set;if(s.forEach(a=>{a.authors&&a.authors.forEach(l=>n.add(l))}),n.size>0){const a=new Map;for(const l of n){const y=getWriteRelaysFor(i,l);y&&y.size>0?(i.debug(`Adding ${y.size} relays for ${l}`),y.forEach(k=>{const C=a.get(k)||[];C.push(l),a.set(k,C)})):i.explicitRelayUrls?.forEach(k=>{const C=a.get(k)||[];C.push(l),a.set(k,C)})}for(const l of a.keys())o.set(l,[]);for(const l of s)if(l.authors)for(const[y,k]of a.entries()){const C=l.authors.filter(A=>k.includes(A));o.set(y,[...o.get(y),{...l,authors:C}])}else for(const y of a.keys())o.set(y,[...o.get(y),l])}else i.explicitRelayUrls?.forEach(a=>{o.set(a,s)});return o}function calculateRelaySetsFromFilters(i,s){return calculateRelaySetsFromFilter(i,s)}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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let s,o,n,a;if(i.zappedUser&&(i.zappedUser.profile||(yield i.zappedUser.fetchProfile({groupable:!1})),s=(i.zappedUser.profile||{}).lud06,o=(i.zappedUser.profile||{}).lud16),o&&!o.startsWith("LNURL")){const[l,y]=o.split("@");n=`https://${y}/.well-known/lnurlp/${l}`}else if(s){const{words:l}=bech32.decode(s,1e3),y=bech32.fromWords(l);n=new TextDecoder("utf-8").decode(y)}if(!n)throw new Error("No zap endpoint found");try{const l=i.ndk.httpFetch||fetch,y=yield l(n);if(200!==y.status){const C=yield y.text();throw new Error(`Unable to fetch zap endpoint ${n}: ${C}`)}const k=yield y.json();return k?.allowsNostr&&(k?.nostrPubkey||k?.nostrPubKey)&&(a=k.callback),a}catch(l){throw new Error(`Unable to fetch zap endpoint ${n}: ${l}`)}})()}createZapRequest(i,s,o,n,a){var l=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const y=yield l.generateZapRequest(i,s,o,n);if(!y)return null;const{event:k,zapEndpoint:C}=y;if(!k)throw new Error("No zap request event found");let A;yield k.sign(a);try{A=yield l.getInvoice(k,i,C)}catch(S){throw new Error("Failed to get invoice: "+S)}return A})()}getInvoice(i,s,o){return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return(yield(yield fetch(`${o}?`+new URLSearchParams({amount:s.toString(),nostr:JSON.stringify(i.rawEvent())}))).json()).pr})()}generateZapRequest(i,s,o,n,a){var l=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const y=yield l.getZapEndpoint();if(!y)throw new Error("No zap endpoint found");if(!l.zappedEvent&&!l.zappedUser)throw new Error("No zapped event or user found");const k=nip57_exports.makeZapRequest({profile:l.zappedUser.pubkey,event:null,amount:i,comment:s||"",relays:n??l.relays()});if(l.zappedEvent){const A=l.zappedEvent.referenceTags();k.tags.push(...A)}k.tags.push(["lnurl",y]);const C=new NDKEvent(l.ndk,k);return o&&(C.tags=C.tags.concat(o)),{event:C,zapEndpoint:y}})()}relays(){let i=[];return this.ndk?.pool?.relays&&(i=this.ndk.pool.urls()),i.length||(i=DEFAULT_RELAYS),i}};function mergeTags(i,s){const o=new Map,n=(a,l)=>a.every((y,k)=>y===l[k]);return i.concat(s).forEach(a=>{for(let[l,y]of o)if(n(y,a)||n(a,y))return void(a.length>=y.length&&o.set(l,a));o.set(a.join(","),a)}),Array.from(o.values())}function generateContentTags(i){return _generateContentTags.apply(this,arguments)}function _generateContentTags(){return _generateContentTags=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s=[]){let o=[];const n=a=>{s.find(l=>l[0]===a[0]&&l[1]===a[1])||s.push(a)};return i=i.replace(/(@|nostr:)(npub|nprofile|note|nevent|naddr)[a-zA-Z0-9]+/g,a=>{try{const l=a.split(/(@|nostr:)/)[2],{type:y,data:k}=nip19_exports.decode(l);let C;switch(y){case"npub":C=["p",k];break;case"nprofile":C=["p",k.pubkey];break;case"note":o.push(new Promise(function(){var A=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(S){n(["e",k,yield maybeGetEventRelayUrl(l),"mention"]),S()});return function(S){return A.apply(this,arguments)}}()));break;case"nevent":o.push(new Promise(function(){var A=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(S){let{id:T,relays:O,author:P}=k;O&&0!==O.length||(O=[yield maybeGetEventRelayUrl(l)]),n(["e",T,O[0],"mention"]),P&&n(["p",P]),S()});return function(S){return A.apply(this,arguments)}}()));break;case"naddr":o.push(new Promise(function(){var A=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(S){const T=[k.kind,k.pubkey,k.identifier].join(":");let O=k.relays??[];0===O.length&&(O=[yield maybeGetEventRelayUrl(l)]),n(["a",T,O[0],"mention"]),n(["p",k.pubkey]),S()});return function(S){return A.apply(this,arguments)}}()));break;default:return a}return C&&n(C),`nostr:${l}`}catch{return a}}),yield Promise.all(o),{content:i=i.replace(/#(\w+)/g,(a,l)=>{const y=["t",l];return s.find(k=>k[0]===y[0]&&k[1]===y[1])||s.push(y),a}),tags:s}}),_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_angular_builders_custom_webpack_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,s){return _encrypt.apply(this,arguments)}function _encrypt(){return _encrypt=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s){if(!this.ndk)throw new Error("No NDK instance found!");if(s||(yield this.ndk.assertSigner(),s=this.ndk.signer),!i){const o=this.getMatchingTags("p");if(1!==o.length)throw new Error("No recipient could be determined and no explicit recipient was provided");i=this.ndk.getUser({hexpubkey:o[0][1]})}this.content=yield s?.encrypt(i,this.content)}),_encrypt.apply(this,arguments)}function decrypt(i,s){return _decrypt.apply(this,arguments)}function _decrypt(){return _decrypt=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s){if(!this.ndk)throw new Error("No NDK instance found!");s||(yield this.ndk.assertSigner(),s=this.ndk.signer),i||(i=this.author),this.content=yield s?.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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i=!0,s){if(!s&&i){if(!this.ndk)throw new Error("No NDK instance found");this.ndk.assertSigner(),s=this.ndk.signer}const o=new NDKEvent(this.ndk,{kind:getKind(this),content:""});return o.tag(this),16===o.kind&&o.tags.push(["k",`${this.kind}`]),s&&(yield o.sign(s)),i&&(yield o.publish()),o}),_repost.apply(this,arguments)}function getKind(i){return 1===i.kind?6:16}var NDKEvent=class n0 extends lib$1.EventEmitter{ndk;created_at;content="";tags=[];kind;id="";sig;pubkey="";_author=void 0;relay;constructor(s,o){super(),this.ndk=s,this.created_at=o?.created_at,this.content=o?.content||"",this.tags=o?.tags||[],this.id=o?.id||"",this.sig=o?.sig,this.pubkey=o?.pubkey||"",this.kind=o?.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(s){this.pubkey=s.hexpubkey,this._author=void 0}get author(){if(this._author)return this._author;if(!this.ndk)throw new Error("No NDK instance found");const s=this.ndk.getUser({hexpubkey:this.pubkey});return this._author=s,s}tag(s,o){let n=[];if(s instanceof NDKUser){const a=["p",s.pubkey];o&&a.push(o),n.push(a)}else if(s instanceof n0){const a=s;n=a.referenceTags(o,a?.pubkey===this.pubkey);for(const y of a.getMatchingTags("p"))y[1]!==this.pubkey&&(this.tags.find(k=>"p"===k[0]&&k[1]===y[1])||this.tags.push(["p",y[1]]))}else n=[s];this.tags=mergeTags(this.tags,n)}toNostrEvent(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!s&&""===o.pubkey){const y=yield o.ndk?.signer?.user();o.pubkey=y?.hexpubkey||""}o.created_at||(o.created_at=Math.floor(Date.now()/1e3));const n=o.rawEvent(),{content:a,tags:l}=yield o.generateTags();n.content=a||"",n.tags=l;try{o.id=getEventHash(n)}catch{}return o.id&&(n.id=o.id),o.sig&&(n.sig=o.sig),n})()}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(s){return this.tags.filter(o=>o[0]===s)}tagValue(s){const o=this.getMatchingTags(s);if(0!==o.length)return o[0][1]}get alt(){return this.tagValue("alt")}set alt(s){this.removeTag("alt"),s&&this.tags.push(["alt",s])}removeTag(s){this.tags=this.tags.filter(o=>o[0]!==s)}sign(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){s?o.author=yield s.user():(o.ndk?.assertSigner(),s=o.ndk.signer),yield o.generateTags(),o.isReplaceable()&&(o.created_at=Math.floor(Date.now()/1e3));const n=yield o.toNostrEvent();return o.sig=yield s.sign(n),o.sig})()}publish(s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(n.sig||(yield n.sign()),!n.ndk)throw new Error("NDKEvent must be associated with an NDK instance to publish");return s||(s=n.ndk.devWriteRelaySet||calculateRelaySetFromEvent(n.ndk)),s.publish(n,o)})()}generateTags(){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let o=[];const n=yield generateContentTags(s.content,s.tags),a=n.content;if(o=n.tags,s.kind&&s.isParamReplaceable()&&!s.getMatchingTags("d")[0]){const l=s.tagValue("title");let y=[...Array(l?6:16)].map(()=>Math.random().toString(36)[2]).join("");l&&l.length>0&&(y=l.replace(/[^a-z0-9]+/gi,"-").replace(/^-|-$/g,"")+"-"+y),o.push(["d",y])}if((s.ndk?.clientName||s.ndk?.clientNip89)&&!s.tagValue("client")){const l=["client",s.ndk.clientName??""];s.ndk.clientNip89&&l.push(s.ndk.clientNip89),o.push(l)}return{content:a||"",tags:o}})()}muted(){const s=this.ndk?.mutedIds.get(this.pubkey);if(s&&"p"===s)return"author";const o=this.tagReference(),n=this.ndk?.mutedIds.get(o[1]);return n&&n===o[0]?"event":null}replaceableDTag(){if(this.kind&&this.kind>=3e4&&this.kind<=4e4){const s=this.getMatchingTags("d")[0];return s?s[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 s=this.replaceableDTag();return`${this.kind}:${this.pubkey}:${s}`}tagReference(s){let o;return o=this.isParamReplaceable()?["a",this.tagAddress()]:["e",this.tagId()],o.push(this.relay?this.relay.url:""),s&&o.push(s),o}referenceTags(s,o){let n=[];return n=this.isParamReplaceable()?[["a",this.tagAddress()],["e",this.id]]:[["e",this.id]],this.relay?.url?n=n.map(a=>(a.push(this.relay?.url),a)):s&&(n=n.map(a=>(a.push(""),a))),s&&n.forEach(a=>a.push(s)),o||n.push(...this.author.referenceTags()),n}filter(){return this.isParamReplaceable()?{"#a":[this.tagId()]}:{"#e":[this.tagId()]}}zap(s,o,n,a,l){var y=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!y.ndk)throw new Error("No NDK instance found");l||y.ndk.assertSigner();const k=new Zap({ndk:y.ndk,zappedEvent:y,zappedUser:a}),C=Array.from(y.ndk.pool.relays.keys());return yield k.createZapRequest(s,o,n,C,l)})()}delete(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_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 n=new n0(o.ndk,{kind:5,content:s||""});return n.tag(o),yield n.publish(),n})()}repost=repost.bind(this);react(s,o=!0){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!n.ndk)throw new Error("No NDK instance found");n.ndk.assertSigner();const a=new n0(n.ndk,{kind:7,content:s});return a.tag(n),o?yield a.publish():yield a.sign(),a})()}get isValid(){return!0}},READ_MARKER="read",WRITE_MARKER="write",NDKRelayList=class h5 extends NDKEvent{constructor(s,o){super(s,o),this.kind??=10002}static from(s){return new h5(s.ndk,s.rawEvent())}get readRelayUrls(){return this.getMatchingTags("r").filter(s=>!s[2]||s[2]&&s[2]===READ_MARKER).map(s=>s[1])}set readRelayUrls(s){for(const o of s)this.tags.push(["r",o,READ_MARKER])}get writeRelayUrls(){return this.getMatchingTags("r").filter(s=>!s[2]||s[2]&&s[2]===WRITE_MARKER).map(s=>s[1])}set writeRelayUrls(s){for(const o of s)this.tags.push(["r",o,WRITE_MARKER])}get bothRelayUrls(){return this.getMatchingTags("r").filter(s=>!s[2]).map(s=>s[1])}set bothRelayUrls(s){for(const o of s)this.tags.push(["r",o])}get relays(){return this.getMatchingTags("r").map(s=>s[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,s,o,n,a){if(super(),this.ndk=i,this.pool=o?.pool||i.pool,this.opts={...defaultOpts,...o||{}},this.filters=s instanceof Array?s:[s],this.subId=a||o?.subId,this.internalId=Math.random().toString(36).substring(7),this.relaySet=n,this.debug=i.debug.extend(`subscription[${o?.subId??this.internalId}]`),this.eoseDebug=this.debug.extend("eose"),this.skipVerification=o?.skipVerification||!1,this.skipValidation=o?.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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let s;i.shouldQueryCache()&&(s=i.startWithCache(),i.shouldWaitForCache()&&(yield s,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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(i.ndk.cacheAdapter?.query){const s=i.ndk.cacheAdapter.query(i);i.ndk.cacheAdapter.locking&&(yield s)}})()}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,s]of this.relayFilters)this.pool.getRelay(i).subscribe(this,s);else this.debug("No relays to subscribe to",this.ndk.explicitRelayUrls)}eventReceived(i,s,o=!1){if(s&&(i.relay=s),s||(s=i.relay),this.skipValidation||i.isValid){if(!o&&s){let n=this.eventsPerRelay.get(s);if(n||(n=new Set,this.eventsPerRelay.set(s,n)),n.add(i.id),this.eventFirstSeen.has(i.id)){const a=Date.now()-(this.eventFirstSeen.get(i.id)||0);return s.scoreSlowerEvent(a),void this.emit("event:dup",i,s,a,this)}this.ndk.cacheAdapter&&this.ndk.cacheAdapter.setEvent(i,this.filters,s),this.eventFirstSeen.set(i.id,Date.now())}else this.eventFirstSeen.set(i.id,0);i.ndk||(i.ndk=this.ndk),this.emit("event",i,s,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 s=this.lastEventReceivedAt?Date.now()-this.lastEventReceivedAt:void 0;const o=this.eosesSeen.size===this.relayFilters?.size;if(queryFullyFilled(this))this.emit("eose"),this.eoseDebug("Query fully filled"),this.opts?.closeOnEose&&this.stop();else if(o)this.emit("eose"),this.eoseDebug("All EOSEs seen"),this.opts?.closeOnEose&&this.stop();else{let n=1e3;const a=this.eosesSeen.size/this.relayFilters.size;if(this.eosesSeen.size>=2&&a>=.5){n*=1-a,this.eoseTimeout&&clearTimeout(this.eoseTimeout);const l=()=>{s=this.lastEventReceivedAt?Date.now()-this.lastEventReceivedAt:void 0,void 0!==s&&s<20?this.eoseTimeout=setTimeout(l,n):(this.emit("eose"),this.opts?.closeOnEose&&this.stop())};this.eoseTimeout=setTimeout(l,n)}}}};function follows(i,s){return _follows.apply(this,arguments)}function _follows(){return _follows=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s,o=3){if(!this.ndk)throw new Error("NDK not set");const n=Array.from(yield this.ndk.fetchEvents({kinds:[o],authors:[this.pubkey]},i||{groupable:!1}))[0];if(n){const a=new Set;return n.tags.forEach(l=>{if("p"===l[0])try{a.add(l[1]),s&&this.ndk?.outboxTracker?.trackUsers([l[1]])}catch{}}),[...a].reduce((l,y)=>{const k=new NDKUser({pubkey:y});return k.ndk=this.ndk,l.add(k),l},new Set)}return new Set}),_follows.apply(this,arguments)}function profileFromEvent(i){const s={};let o;try{o=JSON.parse(i.content)}catch(n){throw new Error(`Failed to parse profile event: ${n}`)}return Object.keys(o).forEach(n=>{switch(n){case"name":s.name=o.name;break;case"display_name":s.displayName=o.display_name;break;case"image":case"picture":s.image=o.image||o.picture;break;case"banner":s.banner=o.banner;break;case"bio":s.bio=o.bio;break;case"nip05":s.nip05=o.nip05;break;case"lud06":s.lud06=o.lud06;break;case"lud16":s.lud16=o.lud16;break;case"about":s.about=o.about;break;case"zapService":s.zapService=o.zapService;break;case"website":s.website=o.website;break;default:s[n]=o[n]}}),s}function serializeProfile(i){const s={};for(const[o,n]of Object.entries(i))switch(o){case"username":case"name":s.name=n;break;case"displayName":s.display_name=n;break;case"image":case"picture":s.picture=n;break;case"bio":case"about":s.about=n;break;default:s[o]=n}return JSON.stringify(s)}var NDKList=class g5 extends NDKEvent{_encryptedTags;encryptedTagsLength;constructor(s,o){super(s,o),this.kind??=30001}static from(s){return new g5(s.ndk,s.rawEvent())}get title(){const s=this.tagValue("title")||this.tagValue("name");return 3!==this.kind||s?1e4!==this.kind||s?10001!==this.kind||s?10002!==this.kind||s?10003!==this.kind||s?10004!==this.kind||s?10005!==this.kind||s?10006!==this.kind||s?10007!==this.kind||s?10015!==this.kind||s?10030!==this.kind||s?s??this.tagValue("d"):"Emojis":"Interests":"Search Relays":"Blocked Relays":"Public Chats":"Communities":"Bookmarks":"Relay Metadata":"Pinned Notes":"Mute":"Contacts"}set title(s){if(this.removeTag("title"),this.removeTag("name"),!s)throw new Error("Title cannot be empty");this.tags.push(["title",s])}get name(){const s=this.tagValue("name");return 3!==this.kind||s?1e4!==this.kind||s?10001!==this.kind||s?10002!==this.kind||s?10003!==this.kind||s?10004!==this.kind||s?10005!==this.kind||s?10006!==this.kind||s?10007!==this.kind||s?10015!==this.kind||s?10030!==this.kind||s?s??this.tagValue("d"):"Emojis":"Interests":"Search Relays":"Blocked Relays":"Public Chats":"Communities":"Bookmarks":"Relay Metadata":"Pinned Notes":"Mute":"Contacts"}set name(s){if(this.removeTag("name"),!s)throw new Error("Name cannot be empty");this.tags.push(["title",s])}get description(){return this.tagValue("description")}set description(s){s?this.tags.push(["description",s]):this.removeTag("description")}isEncryptedTagsCacheValid(){return!(!this._encryptedTags||this.encryptedTagsLength!==this.content.length)}encryptedTags(s=!0){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(s&&o.isEncryptedTagsCacheValid())return o._encryptedTags;if(!o.ndk)throw new Error("NDK instance not set");if(!o.ndk.signer)throw new Error("NDK signer not set");const n=yield o.ndk.signer.user();try{if(o.content.length>0)try{const a=yield o.ndk.signer.decrypt(n,o.content),l=JSON.parse(a);return l&&l[0]?(o.encryptedTagsLength=o.content.length,o._encryptedTags=l):(o.encryptedTagsLength=o.content.length,o._encryptedTags=[])}catch{console.log(`error decrypting ${o.content}`)}}catch{}return[]})()}validateTag(s){return!0}get items(){return this.tags.filter(s=>!["d","L","l","title","name","description","summary","image","thumb","alt","expiration","subject"].includes(s[0]))}addItem(s,o=void 0,n=!1){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a.ndk)throw new Error("NDK instance not set");if(!a.ndk.signer)throw new Error("NDK signer not set");let l;if(s instanceof NDKEvent)l=s.referenceTags();else if(s instanceof NDKUser)l=s.referenceTags();else if(s instanceof NDKRelay)l=s.referenceTags();else{if(!Array.isArray(s))throw new Error("Invalid object type");l=[s]}if(o&&l[0].push(o),n){const y=yield a.ndk.signer.user(),k=yield a.encryptedTags();k.push(...l),a._encryptedTags=k,a.encryptedTagsLength=a.content.length,a.content=JSON.stringify(k),yield a.encrypt(y)}else a.tags.push(...l);a.created_at=Math.floor(Date.now()/1e3),a.emit("change")})()}removeItem(s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!n.ndk)throw new Error("NDK instance not set");if(!n.ndk.signer)throw new Error("NDK signer not set");if(o){const a=yield n.ndk.signer.user(),l=yield n.encryptedTags();l.splice(s,1),n._encryptedTags=l,n.encryptedTagsLength=n.content.length,n.content=JSON.stringify(l),yield n.encrypt(a)}else n.tags.splice(s,1);return n.created_at=Math.floor(Date.now()/1e3),n.emit("change"),n})()}},lists_default=NDKList;function pin(i,s,o){return _pin.apply(this,arguments)}function _pin(){return _pin=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s,o){if(!this.ndk)throw new Error("No NDK instance found");if(this.ndk.assertSigner(),!s){const n=yield this.ndk.fetchEvents({kinds:[10001],authors:[this.pubkey]},{cacheUsage:"ONLY_RELAY"});s=n.size>0?lists_default.from(Array.from(n)[0]):new NDKEvent(this.ndk,{kind:10001})}return s.tag(i),o&&(yield s.publish()),s}),_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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,s=fetch,o={}){const n=i.match(NIP05_REGEX);if(!n)return null;const[a,l="_",y]=n;try{const k=yield s(`https://${y}/.well-known/nostr.json?name=${l}`,o),{names:C,relays:A,nip46:S}=parseNIP05Result(yield k.json()),T=C[l];return T?{pubkey:T,relays:A?.[T],nip46:S?.[T]}:null}catch{return null}}),_getNip05For.apply(this,arguments)}function parseNIP05Result(i){const s={names:{}};for(const[o,n]of Object.entries(i.names))"string"==typeof o&&"string"==typeof n&&(s.names[o]=n);if(i.relays){s.relays={};for(const[o,n]of Object.entries(i.relays))"string"==typeof o&&Array.isArray(n)&&(s.relays[o]=n.filter(a=>"string"==typeof a))}if(i.nip46){s.nip46={};for(const[o,n]of Object.entries(i.relays))"string"==typeof o&&Array.isArray(n)&&(s.nip46[o]=n.filter(a=>"string"==typeof a))}return s}var NDKUser=class S1{ndk;profile;_npub;_pubkey;relayUrls=[];nip46Urls=[];constructor(s){s.npub&&(this._npub=s.npub),s.hexpubkey&&(this._pubkey=s.hexpubkey),s.pubkey&&(this._pubkey=s.pubkey),s.relayUrls&&(this.relayUrls=s.relayUrls),s.nip46Urls&&(this.nip46Urls=s.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(s){this._npub=s}get hexpubkey(){return this.pubkey}set hexpubkey(s){this._pubkey=s}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(s){this._pubkey=s}static fromNip05(s,o,n=!1){return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(o?.cacheAdapter&&o.cacheAdapter.loadNip05){const y=yield o.cacheAdapter.loadNip05(s);if(y){const k=new S1({pubkey:y.pubkey,relayUrls:y.relays,nip46Urls:y.nip46});return k.ndk=o,k}}let a={};n&&(a.cache="no-cache");const l=yield getNip05For(s,o?.httpFetch,a);if(l&&o?.cacheAdapter&&o.cacheAdapter.saveNip05&&o?.cacheAdapter.saveNip05(s,l),l){const y=new S1({pubkey:l.pubkey,relayUrls:l.relays,nip46Urls:l.nip46});return y.ndk=o,y}})()}fetchProfile(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!o.ndk)throw new Error("NDK not set");o.profile||(o.profile={});let n=null;if(o.ndk.cacheAdapter&&o.ndk.cacheAdapter.fetchProfile&&"ONLY_RELAY"!==s?.cacheUsage){const l=yield o.ndk.cacheAdapter.fetchProfile(o.pubkey);if(l)return o.profile=l,l}!s&&o.ndk.cacheAdapter&&o.ndk.cacheAdapter.locking&&(n=yield o.ndk.fetchEvents({kinds:[0],authors:[o.pubkey]},{cacheUsage:"ONLY_CACHE",closeOnEose:!0,groupable:!1}),s={cacheUsage:"ONLY_RELAY",closeOnEose:!0,groupable:!0,groupableDelay:250}),n&&0!==n.size||(n=yield o.ndk.fetchEvents({kinds:[0],authors:[o.pubkey]},s));const a=Array.from(n).sort((l,y)=>l.created_at-y.created_at);return 0===a.length?null:(o.profile=profileFromEvent(a[0]),o.profile&&o.ndk.cacheAdapter&&o.ndk.cacheAdapter.saveProfile&&o.ndk.cacheAdapter.saveProfile(o.pubkey,o.profile),o.profile)})()}follows=follows.bind(this);pin=pin.bind(this);relayList(){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!s.ndk)throw new Error("NDK not set");const o=s.ndk.outboxPool||s.ndk.pool,n=new Set;for(const y of o.relays.values())n.add(y);const a=new NDKRelaySet(n,s.ndk),l=yield s.ndk.fetchEvent({kinds:[10002],authors:[s.pubkey]},{closeOnEose:!0,pool:o,groupable:!0,subId:`relay-list-${s.pubkey.slice(0,6)}`},a);return l?NDKRelayList.from(l):yield s.relayListFromKind3()})()}relayListFromKind3(){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!s.ndk)throw new Error("NDK not set");const o=yield s.ndk.fetchEvent({kinds:[3],authors:[s.pubkey]});if(o)try{const n=JSON.parse(o.content),a=new NDKRelayList(s.ndk),l=new Set,y=new Set;for(const[k,C]of Object.entries(n))if(C){const A=C;A.write&&y.add(k),A.read&&l.add(k)}else l.add(k),y.add(k);return a.readRelayUrls=Array.from(l),a.writeRelayUrls=Array.from(y),a}catch{}})()}tagReference(){return["p",this.pubkey]}referenceTags(s){const o=[["p",this.pubkey]];return s&&o[0].push("",s),o}publish(){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_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.profile)throw new Error("No profile available");s.ndk.assertSigner(),yield new NDKEvent(s.ndk,{kind:0,content:serializeProfile(s.profile)}).publish()})()}follow(s,o,n=3){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_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.ndk.assertSigner(),o||(o=yield a.follows(void 0,void 0,n)),o.has(s))return!1;o.add(s);const l=new NDKEvent(a.ndk,{kind:n});for(const y of o)l.tag(y);return yield l.publish(),!0})()}validateNip05(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!o.ndk)throw new Error("No NDK instance found");const n=yield getNip05For(s);return null===n?null:n.pubkey===o.pubkey})()}zap(s,o,n,a){var l=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!l.ndk)throw new Error("No NDK instance found");a||l.ndk.assertSigner();const y=new Zap({ndk:l.ndk,zappedUser:l}),k=Array.from(l.ndk.pool.relays.keys());return yield y.createZapRequest(s,o,n,k,a)})()}},NDKPrivateKeySigner=class f5{_user;privateKey;constructor(s){s&&(this.privateKey=s,this._user=new NDKUser({hexpubkey:getPublicKey(this.privateKey)}))}static generate(){const s=generatePrivateKey();return new f5(s)}blockUntilReady(){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!s._user)throw new Error("NDKUser not initialized");return s._user})()}user(){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return yield s.blockUntilReady(),s._user})()}sign(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!o.privateKey)throw Error("Attempted to sign without a private key");return getSignature(s,o.privateKey)})()}encrypt(s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!n.privateKey)throw Error("Attempted to encrypt without a private key");const a=s.hexpubkey;return yield nip04_exports.encrypt(n.privateKey,a,o)})()}decrypt(s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!n.privateKey)throw Error("Attempted to decrypt without a private key");const a=s.hexpubkey;return yield nip04_exports.decrypt(n.privateKey,a,o)})()}},NDKNostrRpc=class extends lib$1.EventEmitter{ndk;signer;debug;constructor(i,s,o){super(),this.ndk=i,this.signer=s,this.debug=o.extend("rpc")}subscribe(i){var s=this;const o=this.ndk.subscribe(i,{closeOnEose:!1,groupable:!1});return o.on("event",function(){var n=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a){try{const l=yield s.parseEvent(a);s.emit(l.method?"request":`response-${l.id}`,l)}catch(l){s.debug("error parsing event",l,a.rawEvent())}});return function(a){return n.apply(this,arguments)}}()),new Promise((n,a)=>{o.on("eose",()=>n(o))})}parseEvent(i){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o=s.ndk.getUser({hexpubkey:i.pubkey});o.ndk=s.ndk;const n=yield s.signer.decrypt(o,i.content),a=JSON.parse(n),{id:l,method:y,params:k,result:C,error:A}=a;return y?{id:l,pubkey:i.pubkey,method:y,params:k,event:i}:{id:l,result:C,error:A,event:i}})()}sendResponse(i,s,o,n=24133,a){var l=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const y={id:i,result:o};a&&(y.error=a);const k=yield l.signer.user(),C=l.ndk.getUser({hexpubkey:s}),A=new NDKEvent(l.ndk,{kind:n,content:JSON.stringify(y),tags:[["p",s]],pubkey:k.hexpubkey});A.content=yield l.signer.encrypt(C,A.content),yield A.sign(l.signer),yield A.publish()})()}sendRequest(i,s,o=[],n=24133,a){var l=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const y=Math.random().toString(36).substring(7),k=yield l.signer.user(),C=l.ndk.getUser({hexpubkey:i}),A={id:y,method:s,params:o},S=new Promise(O=>{const P=q=>{"auth_url"===q.result?(l.once(`response-${y}`,P),l.emit("authUrl",q.error)):a&&a(q)};l.once(`response-${y}`,P)}),T=new NDKEvent(l.ndk,{kind:n,content:JSON.stringify(A),tags:[["p",i]],pubkey:k.pubkey});return T.content=yield l.signer.encrypt(C,T.content),yield T.sign(l.signer),l.debug(`sending ${s} request to`,i),yield T.publish(),S})()}},NDKNip46Signer=class extends lib$1.EventEmitter{ndk;remoteUser;remotePubkey;token;localSigner;nip05;rpc;debug;relayUrls=[];constructor(i,s,o){let n,a;if(super(),s.includes("#")){const l=s.split("#");n=new NDKUser({npub:l[0]}).pubkey,a=l[1]}else s.startsWith("npub")?n=new NDKUser({npub:s}).pubkey:s.match(/\./)?this.nip05=s:n=s;this.ndk=i,n&&(this.remotePubkey=n),this.token=a,this.debug=i.debug.extend("nip46:signer"),this.remoteUser=new NDKUser({pubkey:n}),this.localSigner=o||NDKPrivateKeySigner.generate(),this.rpc=new NDKNostrRpc(i,this.localSigner,this.debug),this.rpc.on("authUrl",(...l)=>{this.emit("authUrl",...l)}),this.localSigner.user().then(l=>{this.rpc.subscribe({kinds:[24133,24134],"#p":[l.pubkey]})})}user(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const s=yield i.localSigner.user(),o=i.ndk.getUser({pubkey:i.remotePubkey});if(i.nip05&&!i.remotePubkey&&NDKUser.fromNip05(i.nip05).then(n=>{n&&(i.remoteUser=n,i.remotePubkey=n.pubkey,i.relayUrls=n.nip46Urls)}),!i.remotePubkey)throw new Error("Remote pubkey not set");return new Promise((n,a)=>{setTimeout(()=>{const l=[s.pubkey];i.token&&l.push(i.token),i.rpc.sendRequest(i.remotePubkey,"connect",l,24133,y=>{"ack"===y.result?n(o):a(y.error)})},100)})})()}encrypt(i,s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.debug("asking for encryption"),new Promise((n,a)=>{o.rpc.sendRequest(o.remotePubkey,"nip04_encrypt",[i.pubkey,s],24133,l=>{l.error?a(l.error):n(l.result)})})})()}decrypt(i,s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.debug("asking for decryption"),new Promise((n,a)=>{o.rpc.sendRequest(o.remotePubkey,"nip04_decrypt",[i.pubkey,s],24133,l=>{if(l.error)a(l.error);else{const y=JSON.parse(l.result);n(y[0])}})})})()}sign(i){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return s.debug("asking for a signature"),new Promise((o,n)=>{s.rpc.sendRequest(s.remotePubkey,"sign_event",[JSON.stringify(i)],24133,a=>{if(s.debug("got a response",a),a.error)n(a.error);else{const l=JSON.parse(a.result);o(l.sig)}})})})()}createAccount(i,s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){n.debug("asking to create an account");const a=[];return i&&a.push(i),s&&a.push(s),o&&a.push(o),new Promise((l,y)=>{n.rpc.sendRequest(n.remotePubkey,"create_account",a,24134,k=>{n.debug("got a response",k),k.error?y(k.error):l(k.result)})})})()}};function dedup(i,s){return i.created_at>s.created_at?i:s}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 s of i){const o=getKeyFromItem(s);if(this.data.has(o))continue;const n=this.track(s,"user"),a=s instanceof NDKUser?s:new NDKUser({hexpubkey:s});a.ndk=this.ndk,a.relayList().then(l=>{if(l){n.readRelays=new Set(l.readRelayUrls),n.writeRelays=new Set(l.writeRelayUrls);for(const y of n.readRelays)this.ndk.pool.blacklistRelayUrls.has(y)&&(this.debug(`removing blacklisted relay ${y} from read relays`),n.readRelays.delete(y));for(const y of n.writeRelays)this.ndk.pool.blacklistRelayUrls.has(y)&&(this.debug(`removing blacklisted relay ${y} from write relays`),n.writeRelays.delete(y));this.data.set(o,n),this.debug(`Adding ${n.readRelays.size} read relays and ${n.writeRelays.size} write relays for ${a.hexpubkey}`)}})}}track(i,s){const o=getKeyFromItem(i);s??=getTypeFromItem(i);let n=this.data.get(o);return n||(n=new OutboxItem(s)),this.data.set(o,n),n}};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=[],s=[],o,n){super(),this.debug=n??o.debug.extend("pool");for(const a of i){const l=new NDKRelay(a);this.addRelay(l,!1)}this.blacklistRelayUrls=new Set(s)}useTemporaryRelay(i,s=6e5){const o=this.relays.has(i.url);o||this.addRelay(i);const n=this.temporaryRelayTimers.get(i.url);if(n&&clearTimeout(n),!o||n){const a=setTimeout(()=>{this.removeRelay(i.url)},s);this.temporaryRelayTimers.set(i.url,a)}}addRelay(i,s=!0){var o=this;const n=i.url;this.blacklistRelayUrls?.has(n)?this.debug(`Relay ${n} is blacklisted`):(i.on("notice",function(){var a=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(l,y){return o.emit("notice",l,y)});return function(l,y){return a.apply(this,arguments)}}()),i.on("connect",()=>this.handleRelayConnect(n)),i.on("ready",()=>this.handleRelayReady(i)),i.on("disconnect",(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.emit("relay:disconnect",i)})),i.on("flapping",()=>this.handleFlapping(i)),i.on("auth",function(){var a=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(l){return o.emit("relay:auth",i,l)});return function(l){return a.apply(this,arguments)}}()),this.relays.set(n,i),s&&i.connect().catch(a=>{this.debug(`Failed to connect to relay ${n}`,a)}))}removeRelay(i){const s=this.relays.get(i);if(s)return s.disconnect(),this.relays.delete(i),this.emit("relay:disconnect",s),!0;const o=this.temporaryRelayTimers.get(i);return o&&(clearTimeout(o),this.temporaryRelayTimers.delete(i)),!1}getRelay(i,s=!0){let o=this.relays.get(i);return o||(o=new NDKRelay(i),this.addRelay(o,s)),o}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 s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o=[];s.debug(`Connecting to ${s.relays.size} relays${i?`, timeout ${i}...`:""}`);for(const n of s.relays.values())if(i){const a=new Promise((l,y)=>{setTimeout(()=>y(`Timed out after ${i}ms`),i)});o.push(Promise.race([n.connect(),a]).catch(l=>{s.debug(`Failed to connect to relay ${n.url}: ${l??"No reason specified"}`)}))}else o.push(n.connect());i&&setTimeout(()=>{const n=s.stats().connected===s.relays.size,a=s.stats().connected>0;!n&&a&&s.emit("connect")},i),yield Promise.all(o)})()}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 s=this.backoffTimes.get(i.url)||5e3;s*=2,this.backoffTimes.set(i.url,s),this.debug(`Backoff time for ${i.url} is ${s}ms`),setTimeout(()=>{this.debug(`Attempting to reconnect to ${i.url}`),i.connect(),this.checkOnFlappingRelays()},s),i.disconnect(),this.emit("flapping",i)}size(){return this.relays.size}stats(){const i={total:0,connected:0,disconnected:0,connecting:0};for(const s of this.relays.values())i.total++,1===s.status?i.connected++:3===s.status?i.disconnected++:0===s.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,s){const o=s.connectedRelays();if(!Array.from(i.relays).some(n=>o.map(a=>a.url).includes(n.url)))for(const n of o)i.addRelay(n);if(0===o.length)for(const n of s.relays.values())i.addRelay(n);return i}var SPEC_PATH="/.well-known/nostr/nip96.json",Nip96=class{ndk;spec;url;nip98Required=!1;constructor(i,s){this.url=`https://${i}${SPEC_PATH}`,this.ndk=s}prepareUpload(i,s="POST"){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(o.validateHttpFetch(),o.spec||(yield o.fetchSpec()),!o.spec)throw new Error("Failed to fetch NIP96 spec");let n={};return o.nip98Required&&(n={Authorization:yield o.generateNip98Header(o.spec.api_url,s,i)}),{url:o.spec.api_url,headers:n}})()}xhrUpload(i,s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const n="POST",{url:a,headers:l}=yield o.prepareUpload(s,n);i.open(n,a,!0),l.Authorization&&i.setRequestHeader("Authorization",l.Authorization);const y=new FormData;return y.append("file",s),new Promise((k,C)=>{i.onload=function(){i.status>=200&&i.status<300?k(JSON.parse(i.responseText)):C(new Error(i.statusText))},i.onerror=function(){C(new Error("Network Error"))},i.send(y)})})()}upload(i){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o="POST",{url:n,headers:a}=yield s.prepareUpload(i,o),l=new FormData;l.append("file",i);const y=yield s.ndk.httpFetch(s.spec.api_url,{method:o,headers:a,body:l});if(200!==y.status)throw new Error(`Failed to upload file to ${n}`);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_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){i.validateHttpFetch();const s=yield i.ndk.httpFetch(i.url);if(200!==s.status)throw new Error(`Failed to fetch NIP96 spec from ${i.url}`);const o=yield s.json();if(!o)throw new Error(`Failed to parse NIP96 spec from ${i.url}`);i.spec=o,i.nip98Required=i.spec.plans.free.is_nip98_required})()}generateNip98Header(i,s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const a=new NDKEvent(n.ndk,{kind:27235,tags:[["u",i],["method",s]]});if(["POST","PUT","PATCH"].includes(s)){const l=yield n.calculateSha256(o);a.tags.push(["payload",l])}return yield a.sign(),`Nostr ${btoa(JSON.stringify(a.rawEvent()))}`})()}calculateSha256(i){return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const s=yield i.arrayBuffer(),o=yield crypto.subtle.digest("SHA-256",s);return Array.from(new Uint8Array(o)).map(n=>n.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 s;super(),s=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 o=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(n,a){s.relayAuthDefaultPolicy&&(yield s.relayAuthDefaultPolicy(n,a))});return function(n,a){return o.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,s,o=!0){let n;return n="string"==typeof i?new NDKRelay(i,s):i,this.pool.addRelay(n,o),this.explicitRelayUrls.push(n.url),n}toJSON(){return{relayCount:this.pool.relays.size}.toString()}get activeUser(){return this._activeUser}set activeUser(i){var s=this;const o=this._activeUser?.pubkey!==i?.pubkey;if(this._activeUser=i,i&&o){const n=function(){var C=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(A){const S=yield A.relayList();if(S){s.debug("Connecting to user relays",{npub:A.npub,relays:S.relays});for(const T of S.relays){let O=s.pool.relays.get(T);O||(O=new NDKRelay(T),s.pool.addRelay(O))}}else s.debug("No relay list found for user",{npub:A.npub})});return function(S){return C.apply(this,arguments)}}(),a=function(){var C=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(A){const S=yield s.fetchEvents([{kinds:[1e4],authors:[A.pubkey]},{kinds:[3e4],authors:[A.pubkey],"#d":["mute"],limit:1}]);if(S)for(const T of S){const O=lists_default.from(T);for(const P of O.items)s.mutedIds.set(P[1],P[0])}else s.debug("No mute list found for user",{npub:A.npub})});return function(S){return C.apply(this,arguments)}}(),l=[];this.autoConnectUserRelays&&l.push(n),this.autoFetchUserMutelist&&l.push(a);const y=function(){var C=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(A){for(const S of l)yield S(A)});return function(S){return C.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",C=>{this.debug("New relay ready",C?.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(s=>{s.ndk=this,this.activeUser=s})}connect(i){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){s._signer&&s.autoConnectUserRelays&&(s.debug("Attempting to connect to user relays specified by signer"),s._signer.relays)&&(yield s._signer.relays()).forEach(n=>s.pool.addRelay(n));const o=[s.pool.connect(i)];return s.outboxPool&&o.push(s.outboxPool.connect(i)),s.debug("Connecting to relays",{timeoutMs:i}),Promise.allSettled(o).then(()=>{})})()}getUser(i){const s=new NDKUser(i);return s.ndk=this,s}getUserFromNip05(i,s=!1){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return NDKUser.fromNip05(i,o,s)})()}subscribe(i,s,o,n=!0){const a=new NDKSubscription(this,i,s,o);if(o)for(const l of o.relays)this.pool.useTemporaryRelay(l);if(this.outboxPool&&a.hasAuthorsFilter()){const l=a.filters.filter(y=>y.authors&&y.authors?.length>0).map(y=>y.authors).flat();this.outboxTracker?.trackUsers(l)}return n&&a.start(),a}publish(i,s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return n.debug("Deprecated: Use `event.publish()` instead"),i.publish(s,o)})()}fetchEvent(i,s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let a,l;if(o instanceof NDKRelay?l=new NDKRelaySet(new Set([o]),n):o instanceof NDKRelaySet&&(l=o),!o&&"string"==typeof i&&!isNip33AValue(i)){const y=relaysFromBech32(i);y.length>0&&(l=new NDKRelaySet(new Set(y),n),l=correctRelaySet(l,n.pool))}if(a="string"==typeof i?filterFromId(i):i,!a)throw new Error(`Invalid filter: ${JSON.stringify(i)}`);return new Promise(y=>{const k=n.subscribe(a,{...s||{},closeOnEose:!0},l,!1);k.on("event",C=>{C.ndk=n,y(C)}),k.on("eose",()=>{y(null)}),k.start()})})()}fetchEvents(i,s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return new Promise(a=>{const l=new Map,y=n.subscribe(i,{...s||{},closeOnEose:!0},o,!1),k=C=>{const A=C.deduplicationKey(),S=l.get(A);S&&(C=dedup(S,C)),C.ndk=n,l.set(A,C)};y.on("event",k),y.on("event:dup",k),y.on("eose",()=>{a(new Set(l.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,s)=>{localStorage.setItem(i,s)},localStorageGetItem=i=>{const s=window.localStorage.getItem(i);if(s)try{return JSON.parse(s)}catch{}return null},localStorageRemoveItem=i=>{localStorage.removeItem(i)},fetchProfile=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s,o){const n=new NDKUser({pubkey:s.pubkey});return n.ndk=o,yield n.fetchProfile()});return function(o,n){return i.apply(this,arguments)}}(),createProfile=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s,o,n,a){const l={name:s.name},y=new NDKEvent(o,{kind:0,created_at:Math.floor(Date.now()/1e3),pubkey:s.pubkey,content:JSON.stringify(l),tags:[]});window.location.hostname&&y.tags.push(["client",window.location.hostname]);const k=new NDKEvent(o,{kind:10002,created_at:Math.floor(Date.now()/1e3),pubkey:s.pubkey,content:"",tags:[]}),C=(a||"").split(",").map(A=>A.trim()).filter(A=>A.startsWith("ws"));C.length||C.push(...DEFAULT_SIGNUP_RELAYS);for(const A of C)k.tags.push(["r",A]);yield y.sign(n),console.log("signed profile",y),yield k.sign(n),console.log("signed relays",k),yield y.publish(NDKRelaySet.fromRelayUrls(OUTBOX_RELAYS$1,o)),console.log("published profile",y),yield k.publish(NDKRelaySet.fromRelayUrls(OUTBOX_RELAYS$1,o)),console.log("published relays",k)});return function(o,n,a,l){return i.apply(this,arguments)}}(),bunkerUrlToInfo=(i,s="")=>{const o=new URL(i);return{pubkey:o.hostname||o.pathname.split("//")[1],sk:s||generatePrivateKey(),relays:o.searchParams.getAll("relay"),token:o.searchParams.get("secret")||"",authMethod:"connect"}},isBunkerUrl=i=>i.startsWith("bunker://"),getBunkerUrl=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s,o){if(!s)return"";if(isBunkerUrl(s))return s;if(s.includes("@")){const[n,a]=s.toLocaleLowerCase().split("@"),l=o.devOverrideBunkerOrigin||`https://${a}`,y=`${l}/.well-known/nostr.json?name=_`,k=`${l}/.well-known/nostr.json?name=${n}`,C=yield fetch(y),A=yield C.json(),T=A.nip46[A.names._],O=yield fetch(k),P=(yield O.json()).names[n];if(!T.length)throw new Error("Bunker relay not provided");return`bunker://${P}?relay=${T[0]}`}throw new Error("Invalid user name or bunker url")});return function(o,n){return i.apply(this,arguments)}}(),checkNip05=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s){let o=!1,n="",a="";return yield(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!s||!s.includes("@"))return;const[l,y]=s.toLocaleLowerCase().split("@");if(!l)return;if(!new RegExp(/^[\w-.]+@([\w-]+\.)+[\w-]{2,8}$/g).test(s))return void(n="Invalid name");if(!y)return void(n="Select service");const k=`https://${y}/.well-known/nostr.json?name=${l.toLowerCase()}`;try{const C=yield fetch(k),A=yield C.json();if(A.names[l])return void(a=A.names[l])}catch{}o=!0})(),{available:o,taken:""!=a,error:n,pubkey:a}});return function(o){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 s=localStorageGetItem(LOGGED_IN_ACCOUNTS)||[],o=localStorageGetItem(RECENT_ACCOUNTS)||[];s.forEach(y=>upgradeInfo(y)),o.forEach(y=>upgradeInfo(y));const n=s,a=s.findIndex(y=>y.pubkey===i.pubkey&&y.authMethod===i.authMethod);-1!==a?n[a]=i:n.push(i);const l=o.filter(y=>y.pubkey!==i.pubkey||y.authMethod!==i.authMethod);localStorageSetItem(RECENT_ACCOUNTS,JSON.stringify(l)),localStorageSetItem(LOGGED_IN_ACCOUNTS,JSON.stringify(n))},localStorageRemoveCurrentAccount=()=>{const i=localStorageGetItem(LOCAL_STORE_KEY);if(!i)return;upgradeInfo(i);const s={...i};delete s.sk,delete s.otpData;const o=localStorageGetItem(LOGGED_IN_ACCOUNTS)||[],n=localStorageGetItem(RECENT_ACCOUNTS)||[];o.forEach(y=>upgradeInfo(y)),n.forEach(y=>upgradeInfo(y));const a=n;if("connect"===s.authMethod&&s.bunkerUrl&&s.bunkerUrl.includes("secret="))console.log("nostr login bunker conn with a secret not saved to recent");else if("local"===s.authMethod)console.log("nostr login temporary local keys not save to recent");else{const y=n.findIndex(k=>k.pubkey===s.pubkey&&k.authMethod===s.authMethod);-1!==y?a[y]=s:a.push(s)}const l=o.filter(y=>y.pubkey!==i.pubkey||y.authMethod!==i.authMethod);localStorageSetItem(RECENT_ACCOUNTS,JSON.stringify(a)),localStorageSetItem(LOGGED_IN_ACCOUNTS,JSON.stringify(l)),localStorageRemoveItem(LOCAL_STORE_KEY)},localStorageRemoveRecent=i=>{const s=localStorageGetItem(RECENT_ACCOUNTS)||[];s.forEach(n=>upgradeInfo(n));const o=s.filter(n=>n.pubkey!==i.pubkey||n.authMethod!==i.authMethod);localStorageSetItem(RECENT_ACCOUNTS,JSON.stringify(o))},localStorageGetRecents=()=>{const i=localStorageGetItem(RECENT_ACCOUNTS)||[];return i.forEach(s=>upgradeInfo(s)),i},localStorageGetAccounts=()=>{const i=localStorageGetItem(LOGGED_IN_ACCOUNTS)||[];return i.forEach(s=>upgradeInfo(s)),i},localStorageGetCurrent=()=>{const i=localStorageGetItem(LOCAL_STORE_KEY);return i&&upgradeInfo(i),i},getDarkMode=i=>{const s=localStorage.getItem("nl-dark-mode");return s?!!JSON.parse(s):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_angular_builders_custom_webpack_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(s){super(),this.params=s}onAuthUrl(s){this.banner&&(this.banner.notify={confirm:Date.now(),url:s})}onUserInfo(s){this.banner&&(this.banner.userInfo=s)}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(s){this.banner&&(this.banner.accounts=s)}onDarkMode(s){this.banner&&(this.banner.darkMode=s)}launchAuthBanner(s){var o=this;this.banner=document.createElement("nl-banner"),this.banner.setAttribute("dark-mode",String(getDarkMode(s))),s.theme&&this.banner.setAttribute("theme",s.theme),s.noBanner&&this.banner.setAttribute("hidden-mode","true"),this.banner.addEventListener("handleLoginBanner",n=>{this.emit("launch",n.detail)}),this.banner.addEventListener("handleConfirmLogout",()=>{this.emit("onConfirmLogout")}),this.banner.addEventListener("handleLogoutBanner",(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){o.emit("logout")})),this.banner.addEventListener("handleImportModal",n=>{this.emit("import")}),this.banner.addEventListener("handleNotifyConfirmBanner",n=>{this.emit("onAuthUrlClick",n.detail)}),this.banner.addEventListener("handleSetConfirmBanner",n=>{this.listNotifies.push(n.detail),this.banner&&(this.banner.listNotifies=this.listNotifies)}),this.banner.addEventListener("handleSwitchAccount",n=>{this.emit("onSwitchAccount",n.detail)}),this.banner.addEventListener("handleOpenWelcomeModal",()=>{this.emit("launch",this.params.optionsModal.startScreen),this.banner&&(this.banner.isOpen=!1)}),this.banner.addEventListener("handleRetryConfirmBanner",()=>{const n=this.listNotifies.pop();n&&(this.banner&&(this.banner.listNotifies=this.listNotifies),this.emit("onAuthUrlClick",n))}),document.body.appendChild(this.banner)}}function extract(i,s,o){return hash$1(i),void 0===o&&(o=new Uint8Array(i.outputLen)),hmac$1(i,toBytes$1(o),toBytes$1(s))}const HKDF_COUNTER=new Uint8Array([0]),EMPTY_BUFFER=new Uint8Array;function expand(i,s,o,n=32){if(hash$1(i),number$1(n),n>255*i.outputLen)throw new Error("Length should be <= 255*HashLen");const a=Math.ceil(n/i.outputLen);void 0===o&&(o=EMPTY_BUFFER);const l=new Uint8Array(a*i.outputLen),y=hmac$1.create(i,s),k=y._cloneInto(),C=new Uint8Array(y.outputLen);for(let A=0;Adecoder.decode(i),getConversationKey(i,s){const o=secp256k1.getSharedSecret(i,"02"+s).subarray(1,33);return extract(sha256,o,"nip44-v2")},getMessageKeys(i,s){const o=expand(sha256,i,s,76);return{chacha_key:o.subarray(0,32),chacha_nonce:o.subarray(32,44),hmac_key:o.subarray(44,76)}},calcPaddedLen(i){if(!Number.isSafeInteger(i)||i<1)throw new Error("expected positive integer");if(i<=32)return 32;const s=1<u.maxPlaintextSize)throw new Error("invalid plaintext size: must be between 1 and 65535 bytes");const s=new Uint8Array(2);return new DataView(s.buffer).setUint16(0,i,!1),s},pad(i){const s=u.utf8Encode(i),o=s.length;return concatBytes(u.writeU16BE(o),s,new Uint8Array(u.calcPaddedLen(o)-o))},unpad(i){const s=new DataView(i.buffer).getUint16(0),o=i.subarray(2,2+s);if(su.maxPlaintextSize||o.length!==s||i.length!==2+u.calcPaddedLen(s))throw new Error("invalid padding");return u.utf8Decode(o)},hmacAad(i,s,o){if(32!==o.length)throw new Error("AAD associated data must be 32 bytes");const n=concatBytes(o,s);return hmac$1(sha256,i,n)},decodePayload(i){if("string"!=typeof i)throw new Error("payload must be a valid string");const s=i.length;if(s<132||s>87472)throw new Error("invalid payload length: "+s);if("#"===i[0])throw new Error("unknown encryption version");let o;try{o=base64.decode(i)}catch(l){throw new Error("invalid base64: "+l.message)}const n=o.length;if(n<99||n>65603)throw new Error("invalid data length: "+n);const a=o[0];if(2!==a)throw new Error("unknown encryption version "+a);return{nonce:o.subarray(1,33),ciphertext:o.subarray(33,-32),mac:o.subarray(-32)}}};function encryptNip44(i,s,o=randomBytes(32)){const{chacha_key:n,chacha_nonce:a,hmac_key:l}=u.getMessageKeys(s,o),y=u.pad(i),k=chacha20(n,a,y),C=u.hmacAad(l,k,o);return base64.encode(concatBytes(new Uint8Array([2]),o,k,C))}function decryptNip44(i,s){const{nonce:o,ciphertext:n,mac:a}=u.decodePayload(i),{chacha_key:l,chacha_nonce:y,hmac_key:k}=u.getMessageKeys(s,o);if(!equalBytes(u.hmacAad(k,n,o),a))throw new Error("invalid MAC");const C=chacha20(l,y,n);return u.unpad(C)}class Nip44{cache=new Map;createKey(s,o){return u.getConversationKey(s,o)}getKey(s,o,n){const a=getPublicKey(s)+o;let l=this.cache.get(a);if(l)return l;const y=this.createKey(s,o);return this.cache.set(a,y),y}encrypt(s,o,n){return encryptNip44(n,this.getKey(s,o))}decrypt(s,o,n){return decryptNip44(n,this.getKey(s,o))}}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(s){super(),this.params=s,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 s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(s.signerPromise)try{yield s.signerPromise}catch{}if(s.launcherPromise)try{yield s.launcherPromise}catch{}})()}nostrConnect(s,o=!1){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const a={authMethod:"connect",pubkey:"",sk:n.nostrConnectKey,relays:[s=s||DEFAULT_NOSTRCONNECT_RELAY]},l=yield n.initSigner(a,{listen:!0});if(!l)throw new Error("Bad remote pubkey");return a.pubkey=l,a.bunkerUrl=`bunker://${l}?relay=${s}`,o||n.onAuth("login",a),a})()}getNostrConnectServices(){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){s.nostrConnectKey=generatePrivateKey(),s.nostrConnectSecret=Math.random().toString(36).substring(7);const o=getPublicKey(s.nostrConnectKey),n={name:document.location.host,url:document.location.href,icon:yield getIcon(),perms:s.params.optionsModal.perms},a=`nostrconnect://${o}?metadata=${encodeURIComponent(JSON.stringify(n))}&secret=${s.nostrConnectSecret}`,l=s.localSigner?"#import="+nip19_exports.nsecEncode(s.localSigner.privateKey):"",y=NOSTRCONNECT_APPS.map(k=>({...k}));for(const k of y){let C=DEFAULT_NOSTRCONNECT_RELAY;if(k.link.startsWith("https://")){const S=new URL(k.link);try{const T=yield(yield fetch(`${S.origin}/.well-known/nostr.json`)).json(),P=T.nip46[T.names._];P&&P.length&&(C=P[0])}catch(T){console.log("Bad app info",T,S)}}k.link=k.link.replace("",a+"&relay="+C+l)}return[a+l,y]})()}localSignup(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const n=generatePrivateKey(),a={pubkey:getPublicKey(n),sk:n,name:s,authMethod:"local"};console.log(`localSignup name: ${s}`),yield o.setLocal(a,!0)})()}setLocal(s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){n.releaseSigner(),n.localSigner=new NDKPrivateKeySigner(s.sk),o&&(yield createProfile(s,n.profileNdk,n.localSigner,n.params.optionsModal.signupRelays)),n.onAuth("login",s)})()}importAndConnect(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const n=yield o.nostrConnect(s,!0);yield o.logout(!0),o.localSigner=null,o.onAuth("login",n)})()}setReadOnly(s){this.onAuth("login",{pubkey:s,authMethod:"readOnly"})}setExtension(s){this.onAuth("login",{pubkey:s,authMethod:"extension"})}setOTP(s,o){this.onAuth("login",{pubkey:s,authMethod:"otp",otpData:o})}setConnect(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){o.releaseSigner(),yield o.initSigner(s),o.onAuth("login",s)})()}createAccount(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const[n,a]=s.split("@"),l=yield getBunkerUrl(`_@${a}`,o.params.optionsModal);console.log("create account bunker's url",l);const y=bunkerUrlToInfo(l),k=!!o.params.userInfo;yield o.initSigner(y,{eventToAddAccount:k});const C=[n,a,"",o.params.optionsModal.perms||""];console.log("signer",o.signer);const A=yield new Promise(S=>{o.signer.rpc.sendRequest(y.pubkey,"create_account",C,void 0,S)});if(console.log("create_account pubkey",A),"error"===A.result)throw new Error(A.error);return{bunkerUrl:`bunker://${A.result}?relay=${y.relays?.[0]}`,sk:y.sk}})()}releaseSigner(){this.signer=null,this.localSigner=null;for(const s of this.ndk.pool.relays.keys())this.ndk.pool.removeRelay(s)}logout(s=!1){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){s||o.releaseSigner(),localStorageRemoveCurrentAccount(),o.onAuth("logout"),o.emit("updateAccounts")})()}setUserInfo(s){this.params.userInfo=s,this.emit("onUserInfo",s),s&&(localStorageAddAccount(s),this.emit("updateAccounts"))}exportKeys(){return this.params.userInfo?"local"!==this.params.userInfo.authMethod?"":nip19_exports.nsecEncode(this.params.userInfo.sk):""}onAuth(s,o=null){if("logout"!==s&&!o)throw new Error("No user info in onAuth");if(o&&this.params.userInfo&&(o.pubkey!==this.params.userInfo.pubkey||o.authMethod!==this.params.userInfo.authMethod)){const n=new CustomEvent("nlAuth",{detail:{type:"logout"}});console.log("nostr-login auth",n.detail),document.dispatchEvent(n)}this.setUserInfo(o),o&&fetchProfile(o,this.profileNdk).then(n=>{if(this.params.userInfo!==o)return;const a={...this.params.userInfo,picture:n?.image||n?.picture,name:n?.name||n?.displayName||n?.nip05||nip19_exports.npubEncode(o.pubkey)};this.setUserInfo(a)});try{const n=o?nip19_exports.npubEncode(o.pubkey):"",a={type:s};"logout"!==s&&(a.pubkey=o.pubkey,o.sk&&(a.localNsec=nip19_exports.nsecEncode(o.sk)),o.relays&&(a.relays=o.relays),o.otpData&&(a.otpData=o.otpData),a.method=o.authMethod||"connect");const l=new CustomEvent("nlAuth",{detail:a});console.log("nostr-login auth",a),document.dispatchEvent(l),this.params.optionsModal.onAuth&&this.params.optionsModal.onAuth(n,a)}catch(n){console.log("onAuth error",n)}}initSigner(s,{listen:o=!1,connect:n=!1,eventToAddAccount:a=!1}={}){var l=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(l.signerPromise)try{yield l.signerPromise}catch{}return l.signerPromise=new Promise(function(){var y=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(k,C){try{if(s.relays)for(const A of s.relays)l.ndk.addExplicitRelay(A,void 0);if(yield l.ndk.connect(),l.signer=new NDKNip46Signer(l.ndk,s.pubkey,new NDKPrivateKeySigner(s.sk)),o||l.signer.on("authUrl",A=>{console.log("nostr login auth url",A),l.emit("onAuthUrl",{url:A,eventToAddAccount:a})}),o){const A=getPublicKey(s.sk);console.log("nostr-login listening for conn to",A);const S=yield l.signer.rpc.subscribe({kinds:[24133],"#p":[A]});S.on("event",function(){var T=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(O){try{const P=yield l.signer.rpc.parseEvent(O);if(!P.method){const q=P;if("auth_url"===q.result)return;"ack"===q.result||q.result===l.nostrConnectSecret?(l.signer.remotePubkey=O.pubkey,l.signer.remoteUser=new NDKUser({pubkey:O.pubkey}),s.pubkey=O.pubkey,k(O.pubkey)):C(q.error)}}catch(P){console.log("error parsing event",P,O.rawEvent())}S.stop()});return function(O){return T.apply(this,arguments)}}())}else n&&(yield new Promise((A,S)=>{l.signer&&s.sk&&l.signer.rpc.sendRequest(s.pubkey,"connect",[s.pubkey,s.token||"",l.params.optionsModal.perms||""],24133,O=>{"ack"===O.result?A():S(O.error)})})),k(void 0)}catch(A){console.log("initSigner failure",A),l.signer=null,C(A)}});return function(k,C){return y.apply(this,arguments)}}()),l.signerPromise})()}authNip46(s,o,n,a=""){var l=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){try{const y=bunkerUrlToInfo(n,a);if(isBunkerUrl(o)?y.bunkerUrl=o:y.nip05=o,!y.pubkey||!y.sk||!y.relays?.[0])throw new Error(`Bad bunker url ${n}`);const k=!!l.params.userInfo;yield l.initSigner(y,{connect:!0,eventToAddAccount:k}),l.onAuth(s,y)}catch(y){throw console.log("nostr login auth failed",y),y}})()}signEvent(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.localSigner?(s.pubkey=getPublicKey(o.localSigner.privateKey),s.id=getEventHash(s),s.sig=yield o.localSigner.sign(s)):(s.pubkey=o.signer?.remotePubkey,s.id=getEventHash(s),s.sig=yield o.signer?.sign(s)),console.log("signed",{event:s}),s})()}codec_call(s,o,n){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return new Promise((l,y)=>{a.signer.rpc.sendRequest(a.signer.remotePubkey,s,[o,n],24133,k=>{k.error?y(k.error):l(k.result)})})})()}encrypt04(s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return n.localSigner?n.localSigner.encrypt(new NDKUser({pubkey:s}),o):n.signer.encrypt(new NDKUser({pubkey:s}),o)})()}decrypt04(s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return n.localSigner?n.localSigner.decrypt(new NDKUser({pubkey:s}),o):n.codec_call("nip04_decrypt",s,o)})()}encrypt44(s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return n.localSigner?n.nip44Codec.encrypt(n.localSigner.privateKey,s,o):n.codec_call("nip44_encrypt",s,o)})()}decrypt44(s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return n.localSigner?n.nip44Codec.decrypt(n.localSigner.privateKey,s,o):n.codec_call("nip44_decrypt",s,o)})()}}class ModalManager extends lib$1.EventEmitter{modal=null;params;extensionService;authNostrService;launcherPromise;accounts=[];recents=[];opt;constructor(s,o,n){super(),this.params=s,this.extensionService=n,this.authNostrService=o}waitReady(){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(s.launcherPromise)try{yield s.launcherPromise}catch{}})()}launch(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(o.launcherPromise)try{yield o.launcherPromise}catch{}o.opt=s;const n=document.createElement("dialog");o.modal=document.createElement("nl-auth"),o.modal.accounts=o.accounts,o.modal.recents=o.recents,o.modal.setAttribute("dark-mode",String(getDarkMode(s))),s.theme&&o.modal.setAttribute("theme",s.theme),s.startScreen&&o.modal.setAttribute("start-screen",s.startScreen),o.modal.setAttribute("bunkers",s.bunkers?s.bunkers:"nsec.app,highlighter.com"),void 0!==s.methods&&(o.modal.authMethods=s.methods),void 0!==s.localSignup&&(o.modal.localSignup=s.localSignup),s.title&&(o.modal.welcomeTitle=s.title),s.description&&(o.modal.welcomeDescription=s.description),o.modal.hasExtension=o.extensionService.hasExtension(),o.modal.hasOTP=!!s.otpRequestUrl&&!!s.otpReplyUrl,o.modal.isLoadingExtension=!1,o.modal.isLoading=!1,[o.modal.connectionString,o.modal.connectionStringServices]=yield o.authNostrService.getNostrConnectServices(),n.appendChild(o.modal),document.body.appendChild(n);let a="";return o.launcherPromise=new Promise((l,y)=>{n.addEventListener("close",()=>{y(new Error("Closed")),o.modal&&(o.modal.isLoading=!1,o.modal.authUrl="",o.modal.error="",o.modal.isLoadingExtension=!1,document.body.removeChild(o.modal.parentNode),o.modal=null)});const k=Y=>{o.modal&&(o.modal.isLoading=!0),getBunkerUrl(Y,o.params.optionsModal).then(J=>o.authNostrService.authNip46("login",Y,J)).then(()=>{o.modal&&(o.modal.isLoading=!1),n.close(),l()}).catch(J=>{console.log("error",J),o.modal&&(o.modal.isLoading=!1,o.modal.error=J.toString())})},A=function(){var Y=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){try{yield navigator.clipboard.writeText(o.authNostrService.exportKeys()),localStorageSetItem("backupKey","true")}catch(J){console.error("Failed to copy to clipboard: ",J)}});return function(){return Y.apply(this,arguments)}}(),S=function(){var Y=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(J){o.modal&&(o.modal.isLoading=!0);try{yield o.authNostrService.importAndConnect(J),o.modal&&(o.modal.isLoading=!1),n.close(),l()}catch(ht){console.log("error",ht),o.modal&&(o.modal.isLoading=!1,o.modal.error=ht.toString())}});return function(ht){return Y.apply(this,arguments)}}(),T=function(){var Y=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(J){J&&o.modal&&(o.modal.isLoading=!0);try{yield o.authNostrService.nostrConnect(J),o.modal&&(o.modal.isLoading=!1),n.close(),l()}catch(ht){console.log("error",ht),o.modal&&(o.modal.isLoading=!1,o.modal.error=ht.toString())}});return function(ht){return Y.apply(this,arguments)}}(),O=function(){var Y=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(J){o.modal&&(o.modal.isLoading=!0);try{if(!J)throw new Error("Please enter some nickname");yield o.authNostrService.localSignup(J),o.modal&&(o.modal.isLoading=!1),n.close(),l()}catch(ht){console.log("error",ht),o.modal&&(o.modal.isLoading=!1,o.modal.error=ht.toString())}});return function(ht){return Y.apply(this,arguments)}}();if(!o.modal)throw new Error("WTH?");o.modal.addEventListener("handleContinue",()=>{o.modal&&(o.modal.isLoading=!0,o.emit("onAuthUrlClick",o.modal.authUrl))}),o.modal.addEventListener("nlLogin",Y=>{k(Y.detail)}),o.modal.addEventListener("nlSignup",Y=>{(Y=>{o.modal&&(o.modal.isLoading=!0),o.authNostrService.createAccount(Y).then(({bunkerUrl:J,sk:ht})=>o.authNostrService.authNip46("signup",Y,J,ht)).then(()=>{o.modal&&(o.modal.isLoading=!1),n.close(),l()}).catch(J=>{console.log("error",J),o.modal&&(o.modal.isLoading=!1,o.modal.error=J.toString())})})(Y.detail)}),o.modal.addEventListener("nlLocalSignup",Y=>{O(Y.detail)}),o.modal.addEventListener("nlImportAccount",Y=>{S(Y.detail)}),o.modal.addEventListener("nlExportKeys",Y=>{A()}),o.modal.addEventListener("handleLogoutBanner",()=>{o.emit("onLogoutBanner")}),o.modal.addEventListener("nlNostrConnect",Y=>{T(Y.detail)}),o.modal.addEventListener("nlNostrConnectDefault",()=>{T()}),o.modal.addEventListener("nlSwitchAccount",Y=>{o.emit("onSwitchAccount",Y.detail),setTimeout(()=>n.close(),300)}),o.modal.addEventListener("nlLoginRecentAccount",function(){var Y=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(J){const ht=J.detail;if("readOnly"===ht.authMethod)o.authNostrService.setReadOnly(ht.pubkey),n.close();else if("otp"===ht.authMethod){console.log("recent otp login",ht);try{o.modal.dispatchEvent(new CustomEvent("nlLoginOTPUser",{detail:ht.nip05||ht.pubkey}))}catch(ct){console.error(ct)}}else if("extension"===ht.authMethod)yield o.extensionService.trySetExtensionForPubkey(ht.pubkey),n.close();else{const ct=ht.bunkerUrl||ht.nip05;if(!ct)throw new Error("Bad connect info");k(ct)}});return function(J){return Y.apply(this,arguments)}}()),o.modal.addEventListener("nlRemoveRecent",Y=>{localStorageRemoveRecent(Y.detail),o.emit("updateAccounts")});const P=function(){var Y=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(J){let ht="";if(J.includes("@")){const{error:ct,pubkey:pt}=yield checkNip05(J);if(!pt)throw new Error(ct);ht=pt}else if(J.startsWith("npub")){const{type:ct,data:pt}=nip19_exports.decode(J);if("npub"!==ct)throw new Error("Bad npub");ht=pt}else 64===J.trim().length&&(ht=J.trim(),nip19_exports.npubEncode(ht));return ht});return function(ht){return Y.apply(this,arguments)}}();o.modal.addEventListener("nlLoginReadOnly",function(){var Y=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(J){if(!o.modal)return;o.modal.isLoading=!0;const ht=J.detail;try{const ct=yield P(ht);o.authNostrService.setReadOnly(ct),o.modal.isLoading=!1,n.close(),l()}catch(ct){console.log("error",ct),o.modal.isLoading=!1,o.modal.error=ct.toString()||ct}});return function(J){return Y.apply(this,arguments)}}()),o.modal.addEventListener("nlLoginExtension",(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!o.extensionService.hasExtension())throw new Error("No extension");if(o.modal)try{o.modal.isLoadingExtension=!0,yield o.extensionService.setExtension(),o.modal.isLoadingExtension=!1,n.close(),l()}catch(Y){console.log("extension error",Y),o.modal.error=Y.toString()}})),o.modal.addEventListener("nlLoginOTPUser",function(){var Y=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(J){if(!o.modal)return;o.modal.isLoading=!0;const ht=J.detail;try{const ct=yield P(ht),pt=o.opt.otpRequestUrl+(o.opt.otpRequestUrl.includes("?")?"&":"?")+"pubkey="+ct,kt=yield fetch(pt);if(200!==kt.status)throw console.warn("nostr-login: bad otp reply",kt),new Error("Failed to send DM");o.modal.isOTP=!0,a=ct,o.modal.isLoading=!1}catch(ct){console.log("error",ct),o.modal.isLoading=!1,o.modal.error=ct.toString()||ct}});return function(J){return Y.apply(this,arguments)}}()),o.modal.addEventListener("nlLoginOTPCode",function(){var Y=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(J){if(!o.modal)return;o.modal.isLoading=!0;const ht=J.detail;try{const ct=o.opt.otpReplyUrl+(o.opt.otpRequestUrl.includes("?")?"&":"?")+"pubkey="+a+"&code="+ht,pt=yield fetch(ct);if(200!==pt.status)throw console.warn("nostr-login: bad otp reply",pt),new Error("Invalid code");const kt=yield pt.text();o.authNostrService.setOTP(a,kt),o.modal.isOTP=!1,o.modal.isLoading=!1,n.close(),l()}catch(ct){console.log("error",ct),o.modal.isLoading=!1,o.modal.error=ct.toString()||ct}});return function(J){return Y.apply(this,arguments)}}()),o.modal.addEventListener("nlCheckSignup",function(){var Y=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(J){const{available:ht,taken:ct,error:pt}=yield checkNip05(J.detail);o.modal&&(o.modal.error=String(pt),!pt&&ct&&(o.modal.error="Already taken"),o.modal.signupNameIsAvailable=ht)});return function(J){return Y.apply(this,arguments)}}()),o.modal.addEventListener("nlCheckLogin",function(){var Y=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(J){const{available:ht,taken:ct,error:pt}=yield checkNip05(J.detail);o.modal&&(o.modal.error=String(pt),ht&&(o.modal.error="Name not found"),o.modal.loginIsGood=ct)});return function(J){return Y.apply(this,arguments)}}());const q=()=>{o.modal&&(o.modal.isLoading=!1),n.close(),y(new Error("Cancelled"))};o.modal.addEventListener("stopFetchHandler",q),o.modal.addEventListener("nlCloseModal",q),o.modal.addEventListener("nlChangeDarkMode",Y=>{setDarkMode(Y.detail),document.dispatchEvent(new CustomEvent("nlDarkMode",{detail:Y.detail}))}),n.showModal()}),o.launcherPromise})()}connectModals(s){var o=this;const n=function(){var l=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(y){yield o.launch(y)});return function(k){return l.apply(this,arguments)}}(),a=document.getElementsByTagName("nl-button");for(let l=0;l{this.checkExtension(s)&&clearTimeout(o)},100)}checkExtension(s){return!(this.nostrExtension||!window.nostr||window.nostr===s||(this.initExtension(s),0))}initExtension(s,o){var n=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){n.nostrExtension=window.nostr,window.nostr=s,"extension"===n.params.userInfo?.authMethod&&(yield n.trySetExtensionForPubkey(n.params.userInfo.pubkey)),o||setTimeout(()=>{window.nostr!==s&&n.nostrExtension!==window.nostr&&n.initExtension(s,!0)},300)})()}setExtensionReadPubkey(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){window.nostr=o.nostrExtension;const n=yield window.nostr.getPublicKey();s&&s!==n?o.emit("extensionLogout"):o.emit("extensionLogin",n)})()}trySetExtensionForPubkey(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(o.nostrExtension)return o.setExtensionReadPubkey(s)})()}setExtension(){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return s.setExtensionReadPubkey()})()}unsetExtension(s){window.nostr===this.nostrExtension&&(window.nostr=s)}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(s){if(!this.popup||this.popup.closed){if(this.popup=window.open(s,"_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(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let n,a;o.callTimer||(o.callTimer=setTimeout(()=>o.emit("onCallTimeout"),CALL_TIMEOUT)),o.callCount||(yield o.emit("onCallStart")),o.callCount++;try{a=yield s()}catch(l){n=l}if(o.callCount--,yield o.emit("onCallEnd"),o.callTimer&&clearTimeout(o.callTimer),o.callTimer=void 0,n)throw n;return a})()}}class NostrLoginInitializer{extensionService;params;authNostrService;nostr;processManager;popupManager;bannerManager;modalManager;constructor(){var s=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 o={waitReady:(n=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){yield s.authNostrService.waitReady(),yield s.modalManager.waitReady()}),function(){return n.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:n=>this.processManager.wait(n)};var n;this.nostr=new Nostr(o),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:n,eventToAddAccount:a})=>{this.processManager.onAuthUrl(),a?this.modalManager.onAuthUrl(n):this.params.userInfo?this.bannerManager.onAuthUrl(n):this.modalManager.onAuthUrl(n)}),this.authNostrService.on("updateAccounts",()=>{this.updateAccounts()}),this.authNostrService.on("onUserInfo",n=>{this.bannerManager.onUserInfo(n)}),this.modalManager.on("onAuthUrlClick",n=>{this.popupManager.ensurePopup(n)}),this.modalManager.on("onSwitchAccount",function(){var n=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a){s.switchAccount(a)});return function(a){return n.apply(this,arguments)}}()),this.modalManager.on("onLogoutBanner",function(){var n=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a){logout()});return function(a){return n.apply(this,arguments)}}()),this.bannerManager.on("onConfirmLogout",(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){console.log(4),s.launch("confirm-logout")})),this.modalManager.on("updateAccounts",()=>{this.updateAccounts()}),this.bannerManager.on("logout",()=>{logout()}),this.bannerManager.on("onAuthUrlClick",n=>{this.popupManager.ensurePopup(n)}),this.bannerManager.on("onSwitchAccount",function(){var n=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a){s.switchAccount(a)});return function(a){return n.apply(this,arguments)}}()),this.bannerManager.on("import",()=>{this.launch("import")}),this.extensionService.on("extensionLogin",n=>{this.authNostrService.setExtension(n)}),this.extensionService.on("extensionLogout",()=>{logout()}),this.bannerManager.on("launch",n=>{this.launch(n)})}switchAccount(s){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(console.log("nostr login switch to info",s),o.extensionService.unsetExtension(o.nostr),"readOnly"===s.authMethod)o.authNostrService.setReadOnly(s.pubkey);else if("otp"===s.authMethod)o.authNostrService.setOTP(s.pubkey,s.otpData||"");else if("local"===s.authMethod&&s.sk)o.authNostrService.setLocal(s);else if("extension"===s.authMethod)yield o.extensionService.trySetExtensionForPubkey(s.pubkey);else{if(!("connect"===s.authMethod&&s.sk&&s.relays&&s.relays[0]))throw new Error("Bad auth info");o.authNostrService.setConnect(s)}})()}updateAccounts(){const s=localStorageGetAccounts(),o=localStorageGetRecents();this.bannerManager.onUpdateAccounts(s),this.modalManager.onUpdateAccounts(s,o)}launch=s=>{const o=localStorageGetRecents(),n=localStorageGetAccounts(),a=s?{startScreen:s}:this.params.optionsModal;return s||!o?.length&&!n?.length||(a.startScreen="switch-account"),this.modalManager.launch(a).catch(()=>{})};init=(()=>{var o,s=this;return o=(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(n){s.extensionService.startCheckingExtension(s.nostr),window.nostr=s.nostr,s.modalManager.connectModals(n),s.bannerManager.launchAuthBanner(n),n&&(s.params.optionsModal={...n});try{const a=localStorageGetCurrent();if(a){if(!a.pubkey)throw new Error("Bad stored info");yield s.switchAccount(a)}}catch(a){console.log("nostr login init error",a),yield logout()}s.updateAccounts()}),function(n){return o.apply(this,arguments)}})();logout=(()=>{var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_angular_builders_custom_webpack_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){s.extensionService.unsetExtension(s.nostr),yield s.authNostrService.logout()})})();setDarkMode=s=>{localStorageSetItem("nl-dark-mode",`${s}`),this.bannerManager.onDarkMode(s),this.modalManager.onDarkMode(s)}}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)})},8378:(i,s,o)=>{"use strict";o.d(s,{My:()=>It,aT:()=>at});const Et=Array.from({length:256},(Qt,be)=>be.toString(16).padStart(2,"0"));function It(Qt){!function l(Qt,...be){if(!function a(Qt){return Qt instanceof Uint8Array||ArrayBuffer.isView(Qt)&&"Uint8Array"===Qt.constructor.name}(Qt))throw new Error("Uint8Array expected");if(be.length>0&&!be.includes(Qt.length))throw new Error("Uint8Array expected of length "+be+", got length="+Qt.length)}(Qt);let be="";for(let Ht=0;Ht=yt._0&&Qt<=yt._9?Qt-yt._0:Qt>=yt.A&&Qt<=yt.F?Qt-(yt.A-10):Qt>=yt.a&&Qt<=yt.f?Qt-(yt.a-10):void 0}function at(Qt){if("string"!=typeof Qt)throw new Error("hex string expected, got "+typeof Qt);const be=Qt.length,Ht=be/2;if(be%2)throw new Error("hex string expected, got unpadded hex of length "+be);const Bt=new Uint8Array(Ht);for(let Fe=0,zt=0;Fe{"use strict";function a(Te){return Te instanceof Uint8Array||null!=Te&&"object"==typeof Te&&"Uint8Array"===Te.constructor.name}function l(...Te){const Ke=Tr=>Tr,re=(Tr,Wr)=>Lo=>Tr(Wr(Lo));return{encode:Te.map(Tr=>Tr.encode).reduceRight(re,Ke),decode:Te.map(Tr=>Tr.decode).reduce(re,Ke)}}function y(Te){return{encode:Ke=>{if(!Array.isArray(Ke)||Ke.length&&"number"!=typeof Ke[0])throw new Error("alphabet.encode input should be an array of numbers");return Ke.map(re=>{if(re<0||re>=Te.length)throw new Error(`Digit index outside alphabet: ${re} (alphabet: ${Te.length})`);return Te[re]})},decode:Ke=>{if(!Array.isArray(Ke)||Ke.length&&"string"!=typeof Ke[0])throw new Error("alphabet.decode input should be array of strings");return Ke.map(re=>{if("string"!=typeof re)throw new Error(`alphabet.decode: not string element=${re}`);const Ve=Te.indexOf(re);if(-1===Ve)throw new Error(`Unknown letter: "${re}". Allowed: ${Te}`);return Ve})}}}function k(Te=""){if("string"!=typeof Te)throw new Error("join separator should be string");return{encode:Ke=>{if(!Array.isArray(Ke)||Ke.length&&"string"!=typeof Ke[0])throw new Error("join.encode input should be array of strings");for(let re of Ke)if("string"!=typeof re)throw new Error(`join.encode: non-string input=${re}`);return Ke.join(Te)},decode:Ke=>{if("string"!=typeof Ke)throw new Error("join.decode input should be string");return Ke.split(Te)}}}function C(Te,Ke="="){if("string"!=typeof Ke)throw new Error("padding chr should be string");return{encode(re){if(!Array.isArray(re)||re.length&&"string"!=typeof re[0])throw new Error("padding.encode input should be array of strings");for(let Ve of re)if("string"!=typeof Ve)throw new Error(`padding.encode: non-string input=${Ve}`);for(;re.length*Te%8;)re.push(Ke);return re},decode(re){if(!Array.isArray(re)||re.length&&"string"!=typeof re[0])throw new Error("padding.encode input should be array of strings");for(let tr of re)if("string"!=typeof tr)throw new Error(`padding.decode: non-string input=${tr}`);let Ve=re.length;if(Ve*Te%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;Ve>0&&re[Ve-1]===Ke;Ve--)if(!((Ve-1)*Te%8))throw new Error("Invalid padding: string has too much padding");return re.slice(0,Ve)}}}function S(Te,Ke,re){if(Ke<2)throw new Error(`convertRadix: wrong from=${Ke}, base cannot be less than 2`);if(re<2)throw new Error(`convertRadix: wrong to=${re}, base cannot be less than 2`);if(!Array.isArray(Te))throw new Error("convertRadix: data should be array");if(!Te.length)return[];let Ve=0;const tr=[],Tr=Array.from(Te);for(Tr.forEach(Wr=>{if(Wr<0||Wr>=Ke)throw new Error(`Wrong integer: ${Wr}`)});;){let Wr=0,Lo=!0;for(let Or=Ve;OrFe,K3:()=>at,Tq:()=>jr});const T=(Te,Ke)=>Ke?T(Ke,Te%Ke):Te,O=(Te,Ke)=>Te+(Ke-T(Te,Ke));function P(Te,Ke,re,Ve){if(!Array.isArray(Te))throw new Error("convertRadix2: data should be array");if(Ke<=0||Ke>32)throw new Error(`convertRadix2: wrong from=${Ke}`);if(re<=0||re>32)throw new Error(`convertRadix2: wrong to=${re}`);if(O(Ke,re)>32)throw new Error(`convertRadix2: carry overflow from=${Ke} to=${re} carryBits=${O(Ke,re)}`);let tr=0,Tr=0;const Wr=2**re-1,Lo=[];for(const Or of Te){if(Or>=2**Ke)throw new Error(`convertRadix2: invalid data word=${Or} from=${Ke}`);if(tr=tr<32)throw new Error(`convertRadix2: carry overflow pos=${Tr} from=${Ke}`);for(Tr+=Ke;Tr>=re;Tr-=re)Lo.push((tr>>Tr-re&Wr)>>>0);tr&=2**Tr-1}if(tr=tr<=Ke)throw new Error("Excess padding");if(!Ve&&tr)throw new Error(`Non-zero padding: ${tr}`);return Ve&&Tr>0&&Lo.push(tr>>>0),Lo}function q(Te){return{encode:Ke=>{if(!a(Ke))throw new Error("radix.encode input should be Uint8Array");return S(Array.from(Ke),256,Te)},decode:Ke=>{if(!Array.isArray(Ke)||Ke.length&&"number"!=typeof Ke[0])throw new Error("radix.decode input should be array of numbers");return Uint8Array.from(S(Ke,Te,256))}}}function Y(Te,Ke=!1){if(Te<=0||Te>32)throw new Error("radix2: bits should be in (0..32]");if(O(8,Te)>32||O(Te,8)>32)throw new Error("radix2: carry overflow");return{encode:re=>{if(!a(re))throw new Error("radix2.encode input should be Uint8Array");return P(Array.from(re),8,Te,!Ke)},decode:re=>{if(!Array.isArray(re)||re.length&&"number"!=typeof re[0])throw new Error("radix2.decode input should be array of numbers");return Uint8Array.from(P(re,Te,8,Ke))}}}function J(Te){if("function"!=typeof Te)throw new Error("unsafeWrapper fn should be function");return function(...Ke){try{return Te.apply(null,Ke)}catch{}}}function ht(Te,Ke){if("function"!=typeof Ke)throw new Error("checksum fn should be function");return{encode(re){if(!a(re))throw new Error("checksum.encode: input should be Uint8Array");const Ve=Ke(re).slice(0,Te),tr=new Uint8Array(re.length+Te);return tr.set(re),tr.set(Ve,re.length),tr},decode(re){if(!a(re))throw new Error("checksum.decode: input should be Uint8Array");const Ve=re.slice(0,-Te),tr=Ke(Ve).slice(0,Te),Tr=re.slice(-Te);for(let Wr=0;Wrl(q(58),y("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),k("")))(),jr=Te=>l(ht(4,Ke=>Te(Te(Ke))),le),wr=l(y("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),k("")),Qt=[996825010,642813549,513874426,1027748829,705979059];function be(Te){const Ke=Te>>25;let re=(33554431&Te)<<5;for(let Ve=0;Ve>Ve&1)&&(re^=Qt[Ve]);return re}function Ht(Te,Ke,re=1){const Ve=Te.length;let tr=1;for(let Tr=0;Tr126)throw new Error(`Invalid prefix (${Te})`);tr=be(tr)^Wr>>5}tr=be(tr);for(let Tr=0;TrZt)throw new TypeError(`Length ${W} exceeds limit ${Zt}`);const N=Lt.toLowerCase(),z=Ht(N,At,Ke);return`${N}1${wr.encode(At)}${z}`}function Lo(Lt,At=90){if("string"!=typeof Lt)throw new Error("bech32.decode input should be string, not "+typeof Lt);if(Lt.length<8||!1!==At&&Lt.length>At)throw new TypeError(`Wrong string length: ${Lt.length} (${Lt}). Expected (8..${At})`);const Zt=Lt.toLowerCase();if(Lt!==Zt&&Lt!==Lt.toUpperCase())throw new Error("String must be lowercase or uppercase");const W=Zt.lastIndexOf("1");if(0===W||-1===W)throw new Error('Letter "1" must be present between prefix and data only');const N=Zt.slice(0,W),z=Zt.slice(W+1);if(z.length<6)throw new Error("Data must be at least 6 characters long");const Rt=wr.decode(z).slice(0,-6),ue=Ht(N,Rt,Ke);if(!z.endsWith(ue))throw new Error(`Invalid checksum in ${Lt}: expected "${ue}"`);return{prefix:N,words:Rt}}return{encode:Wr,decode:Lo,encodeFromBytes:function cr(Lt,At){return Wr(Lt,tr(At))},decodeToBytes:function fo(Lt){const{prefix:At,words:Zt}=Lo(Lt,!1);return{prefix:At,words:Zt,bytes:Ve(Zt)}},decodeUnsafe:J(Lo),fromWords:Ve,fromWordsUnsafe:Tr,toWords:tr}}const Fe=Bt("bech32")},2769:(i,s,o)=>{"use strict";o.d(s,{A:()=>y});var n=o(3121),a=o(9311);const y=(0,n.A)(a.A,"Map")},1238:(i,s,o)=>{"use strict";o.d(s,{A:()=>ue});var l=o(2486);const k=function y(he,Se){for(var Sr=he.length;Sr--;)if((0,l.A)(he[Sr][0],Se))return Sr;return-1};var A=Array.prototype.splice;function ct(he){var Se=-1,Sr=null==he?0:he.length;for(this.clear();++Se-1},ct.prototype.set=function J(he,Se){var Sr=this.__data__,ar=k(Sr,he);return ar<0?(++this.size,Sr.push([he,Se])):Sr[ar][1]=Se,this};const pt=ct;var Pt=o(2769);const ve=(0,o(3121).A)(Object,"create");var Qt=Object.prototype.hasOwnProperty;var Fe=Object.prototype.hasOwnProperty;function Dt(he){var Se=-1,Sr=null==he?0:he.length;for(this.clear();++Se{"use strict";o.d(s,{A:()=>l});const l=o(9311).A.Symbol},6259:(i,s,o)=>{"use strict";o.d(s,{A:()=>P});var l=o(1656),y=o(9007),k=o(5303),C=o(3467),A=o(766),T=Object.prototype.hasOwnProperty;const P=function O(q,Y){var J=(0,y.A)(q),ht=!J&&(0,l.A)(q),ct=!J&&!ht&&(0,k.A)(q),pt=!J&&!ht&&!ct&&(0,A.A)(q),kt=J||ht||ct||pt,Et=kt?function n(q,Y){for(var J=-1,ht=Array(q);++J{"use strict";o.d(s,{A:()=>C});var n=o(8758),a=o(2486),y=Object.prototype.hasOwnProperty;const C=function k(A,S,T){var O=A[S];(!y.call(A,S)||!(0,a.A)(O,T)||void 0===T&&!(S in A))&&(0,n.A)(A,S,T)}},8758:(i,s,o)=>{"use strict";o.d(s,{A:()=>l});var n=o(4133);const l=function a(y,k,C){"__proto__"==k&&n.A?(0,n.A)(y,k,{configurable:!0,enumerable:!0,value:C,writable:!0}):y[k]=C}},5688:(i,s,o)=>{"use strict";o.d(s,{A:()=>ct});var n=o(4883),a=Object.prototype,l=a.hasOwnProperty,y=a.toString,k=n.A?n.A.toStringTag:void 0;var T=Object.prototype.toString;var J=n.A?n.A.toStringTag:void 0;const ct=function ht(pt){return null==pt?void 0===pt?"[object Undefined]":"[object Null]":J&&J in Object(pt)?function C(pt){var kt=l.call(pt,k),Et=pt[k];try{pt[k]=void 0;var It=!0}catch{}var yt=y.call(pt);return It&&(kt?pt[k]=Et:delete pt[k]),yt}(pt):function O(pt){return T.call(pt)}(pt)}},4975:(i,s,o)=>{"use strict";o.d(s,{A:()=>a});const a=function n(l){return function(y){return l(y)}}},3031:(i,s,o)=>{"use strict";o.d(s,{A:()=>k});const l=o(9311).A.Uint8Array,k=function y(C){var A=new C.constructor(C.byteLength);return new l(A).set(new l(C)),A}},4224:(i,s,o)=>{"use strict";o.d(s,{A:()=>S});var n=o(9311),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,l=a&&"object"==typeof module&&module&&!module.nodeType&&module,k=l&&l.exports===a?n.A.Buffer:void 0,C=k?k.allocUnsafe:void 0;const S=function A(T,O){if(O)return T.slice();var P=T.length,q=C?C(P):new T.constructor(P);return T.copy(q),q}},7383:(i,s,o)=>{"use strict";o.d(s,{A:()=>l});var n=o(3031);const l=function a(y,k){var C=k?(0,n.A)(y.buffer):y.buffer;return new y.constructor(C,y.byteOffset,y.length)}},1369:(i,s,o)=>{"use strict";o.d(s,{A:()=>a});const a=function n(l,y){var k=-1,C=l.length;for(y||(y=Array(C));++k{"use strict";o.d(s,{A:()=>y});var n=o(2065),a=o(8758);const y=function l(k,C,A,S){var T=!A;A||(A={});for(var O=-1,P=C.length;++O{"use strict";o.d(s,{A:()=>l});var n=o(3121);const l=function(){try{var y=(0,n.A)(Object,"defineProperty");return y({},"",{}),y}catch{}}()},8618:(i,s,o)=>{"use strict";o.d(s,{A:()=>a});const a="object"==typeof global&&global&&global.Object===Object&&global},3121:(i,s,o)=>{"use strict";o.d(s,{A:()=>_t});var at,n=o(5656),l=o(9311).A["__core-js_shared__"],k=(at=/[^.]+$/.exec(l&&l.keys&&l.keys.IE_PROTO||""))?"Symbol(src)_1."+at:"";var S=o(7999),T=o(4435),P=/^\[object .+?Constructor\]$/,ct=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const kt=function pt(at){return!(!(0,S.A)(at)||function C(at){return!!k&&k in at}(at))&&((0,n.A)(at)?ct:P).test((0,T.A)(at))},_t=function yt(at,st){var vt=function Et(at,st){return at?.[st]}(at,st);return kt(vt)?vt:void 0}},5749:(i,s,o)=>{"use strict";o.d(s,{A:()=>l});const l=(0,o(5717).A)(Object.getPrototypeOf,Object)},223:(i,s,o)=>{"use strict";o.d(s,{A:()=>S});var n=o(7999),a=Object.create;const y=function(){function T(){}return function(O){if(!(0,n.A)(O))return{};if(a)return a(O);T.prototype=O;var P=new T;return T.prototype=void 0,P}}();var k=o(5749),C=o(1561);const S=function A(T){return"function"!=typeof T.constructor||(0,C.A)(T)?{}:y((0,k.A)(T))}},3467:(i,s,o)=>{"use strict";o.d(s,{A:()=>y});var a=/^(?:0|[1-9]\d*)$/;const y=function l(k,C){var A=typeof k;return!!(C=C??9007199254740991)&&("number"==A||"symbol"!=A&&a.test(k))&&k>-1&&k%1==0&&k{"use strict";o.d(s,{A:()=>l});var n=Object.prototype;const l=function a(y){var k=y&&y.constructor;return y===("function"==typeof k&&k.prototype||n)}},8583:(i,s,o)=>{"use strict";o.d(s,{A:()=>A});var n=o(8618),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,l=a&&"object"==typeof module&&module&&!module.nodeType&&module,k=l&&l.exports===a&&n.A.process;const A=function(){try{return l&&l.require&&l.require("util").types||k&&k.binding&&k.binding("util")}catch{}}()},5717:(i,s,o)=>{"use strict";o.d(s,{A:()=>a});const a=function n(l,y){return function(k){return l(y(k))}}},9311:(i,s,o)=>{"use strict";o.d(s,{A:()=>y});var n=o(8618),a="object"==typeof self&&self&&self.Object===Object&&self;const y=n.A||a||Function("return this")()},4435:(i,s,o)=>{"use strict";o.d(s,{A:()=>y});var a=Function.prototype.toString;const y=function l(k){if(null!=k){try{return a.call(k)}catch{}try{return k+""}catch{}}return""}},2486:(i,s,o)=>{"use strict";o.d(s,{A:()=>a});const a=function n(l,y){return l===y||l!=l&&y!=y}},6143:(i,s,o)=>{"use strict";o.d(s,{A:()=>a});const a=function n(l){for(var y=-1,k=null==l?0:l.length,C={};++y{"use strict";o.d(s,{A:()=>O});var n=o(5688),a=o(2312);const k=function y(P){return(0,a.A)(P)&&"[object Arguments]"==(0,n.A)(P)};var C=Object.prototype,A=C.hasOwnProperty,S=C.propertyIsEnumerable;const O=k(function(){return arguments}())?k:function(P){return(0,a.A)(P)&&A.call(P,"callee")&&!S.call(P,"callee")}},9007:(i,s,o)=>{"use strict";o.d(s,{A:()=>a});const a=Array.isArray},2808:(i,s,o)=>{"use strict";o.d(s,{A:()=>y});var n=o(5656),a=o(4184);const y=function l(k){return null!=k&&(0,a.A)(k.length)&&!(0,n.A)(k)}},5303:(i,s,o)=>{"use strict";o.d(s,{A:()=>O});var n=o(9311),y="object"==typeof exports&&exports&&!exports.nodeType&&exports,k=y&&"object"==typeof module&&module&&!module.nodeType&&module,A=k&&k.exports===y?n.A.Buffer:void 0;const O=(A?A.isBuffer:void 0)||function a(){return!1}},5656:(i,s,o)=>{"use strict";o.d(s,{A:()=>S});var n=o(5688),a=o(7999);const S=function A(T){if(!(0,a.A)(T))return!1;var O=(0,n.A)(T);return"[object Function]"==O||"[object GeneratorFunction]"==O||"[object AsyncFunction]"==O||"[object Proxy]"==O}},4184:(i,s,o)=>{"use strict";o.d(s,{A:()=>l});const l=function a(y){return"number"==typeof y&&y>-1&&y%1==0&&y<=9007199254740991}},7999:(i,s,o)=>{"use strict";o.d(s,{A:()=>a});const a=function n(l){var y=typeof l;return null!=l&&("object"==y||"function"==y)}},2312:(i,s,o)=>{"use strict";o.d(s,{A:()=>a});const a=function n(l){return null!=l&&"object"==typeof l}},766:(i,s,o)=>{"use strict";o.d(s,{A:()=>wr});var n=o(5688),a=o(4184),l=o(2312),le={};le["[object Float32Array]"]=le["[object Float64Array]"]=le["[object Int8Array]"]=le["[object Int16Array]"]=le["[object Int32Array]"]=le["[object Uint8Array]"]=le["[object Uint8ClampedArray]"]=le["[object Uint16Array]"]=le["[object Uint32Array]"]=!0,le["[object Arguments]"]=le["[object Array]"]=le["[object ArrayBuffer]"]=le["[object Boolean]"]=le["[object DataView]"]=le["[object Date]"]=le["[object Error]"]=le["[object Function]"]=le["[object Map]"]=le["[object Number]"]=le["[object Object]"]=le["[object RegExp]"]=le["[object Set]"]=le["[object String]"]=le["[object WeakMap]"]=!1;var or=o(4975),fr=o(8583),yr=fr.A&&fr.A.isTypedArray;const wr=yr?(0,or.A)(yr):function ve(Qt){return(0,l.A)(Qt)&&(0,a.A)(Qt.length)&&!!le[(0,n.A)(Qt)]}},3959:(i,s,o)=>{"use strict";o.d(s,{A:()=>q});var n=o(6259),a=o(7999),l=o(1561);var A=Object.prototype.hasOwnProperty;const T=function S(Y){if(!(0,a.A)(Y))return function y(Y){var J=[];if(null!=Y)for(var ht in Object(Y))J.push(ht);return J}(Y);var J=(0,l.A)(Y),ht=[];for(var ct in Y)"constructor"==ct&&(J||!A.call(Y,ct))||ht.push(ct);return ht};var O=o(2808);const q=function P(Y){return(0,O.A)(Y)?(0,n.A)(Y,!0):T(Y)}},4819:(i,s,o)=>{"use strict";o.d(s,{A:()=>Sr});var n=o(1238),a=o(8758),l=o(2486);const k=function y(ar,dr,Mr){(void 0!==Mr&&!(0,l.A)(ar[dr],Mr)||void 0===Mr&&!(dr in ar))&&(0,a.A)(ar,dr,Mr)},T=function C(ar){return function(dr,Mr,ao){for(var xr=-1,zo=Object(dr),To=ao(dr),Ho=To.length;Ho--;){var we=To[ar?Ho:++xr];if(!1===Mr(zo[we],we,zo))break}return dr}}();var O=o(4224),P=o(7383),q=o(1369),Y=o(223),J=o(1656),ht=o(9007),ct=o(2808),pt=o(2312);var It=o(5303),yt=o(5656),_t=o(7999),at=o(5688),st=o(5749),le=Function.prototype.toString,ve=Object.prototype.hasOwnProperty,se=le.call(Object);var yr=o(766);const wr=function jr(ar,dr){if(("constructor"!==dr||"function"!=typeof ar[dr])&&"__proto__"!=dr)return ar[dr]};var Qt=o(101),be=o(3959);const zt=function Fe(ar,dr,Mr,ao,xr,zo,To){var Ho=wr(ar,Mr),we=wr(dr,Mr),ze=To.get(we);if(ze)k(ar,Mr,ze);else{var Mt=zo?zo(Ho,we,Mr+"",ar,dr,To):void 0,Wt=void 0===Mt;if(Wt){var $t=(0,ht.A)(we),Ce=!$t&&(0,It.A)(we),ce=!$t&&!Ce&&(0,yr.A)(we);Mt=we,$t||Ce||ce?(0,ht.A)(Ho)?Mt=Ho:function kt(ar){return(0,pt.A)(ar)&&(0,ct.A)(ar)}(Ho)?Mt=(0,q.A)(Ho):Ce?(Wt=!1,Mt=(0,O.A)(we,!0)):ce?(Wt=!1,Mt=(0,P.A)(we,!0)):Mt=[]:function or(ar){if(!(0,pt.A)(ar)||"[object Object]"!=(0,at.A)(ar))return!1;var dr=(0,st.A)(ar);if(null===dr)return!0;var Mr=ve.call(dr,"constructor")&&dr.constructor;return"function"==typeof Mr&&Mr instanceof Mr&&le.call(Mr)==se}(we)||(0,J.A)(we)?(Mt=Ho,(0,J.A)(Ho)?Mt=function Ht(ar){return(0,Qt.A)(ar,(0,be.A)(ar))}(Ho):(!(0,_t.A)(Ho)||(0,yt.A)(Ho))&&(Mt=(0,Y.A)(we))):Wt=!1}Wt&&(To.set(we,Mt),xr(Mt,we,ao,zo,To),To.delete(we)),k(ar,Mr,Mt)}},oe=function Yt(ar,dr,Mr,ao,xr){ar!==dr&&T(dr,function(zo,To){if(xr||(xr=new n.A),(0,_t.A)(zo))zt(ar,dr,To,Mr,Yt,ao,xr);else{var Ho=ao?ao(wr(ar,To),zo,To+"",ar,dr,xr):void 0;void 0===Ho&&(Ho=zo),k(ar,To,Ho)}},be.A)},$e=function Oe(ar){return ar};var ie=Math.max;const re=function Ke(ar){return function(){return ar}};var Ve=o(4133),Or=Date.now;const At=function fo(ar){var dr=0,Mr=0;return function(){var ao=Or(),xr=16-(ao-Mr);if(Mr=ao,xr>0){if(++dr>=800)return arguments[0]}else dr=0;return ar.apply(void 0,arguments)}}(Ve.A?function(ar,dr){return(0,Ve.A)(ar,"toString",{configurable:!0,enumerable:!1,value:re(dr),writable:!0})}:$e),W=function Zt(ar,dr){return At(function Xe(ar,dr,Mr){return dr=ie(void 0===dr?ar.length-1:dr,0),function(){for(var ao=arguments,xr=-1,zo=ie(ao.length-dr,0),To=Array(zo);++xr1?Mr[xr-1]:void 0,To=xr>2?Mr[2]:void 0;for(zo=ar.length>3&&"function"==typeof zo?(xr--,zo):void 0,To&&function z(ar,dr,Mr){if(!(0,_t.A)(Mr))return!1;var ao=typeof dr;return!!("number"==ao?(0,ct.A)(Mr)&&(0,N.A)(dr,Mr.length):"string"==ao&&dr in Mr)&&(0,l.A)(Mr[dr],ar)}(Mr[0],Mr[1],To)&&(zo=xr<3?void 0:zo,xr=1),dr=Object(dr);++ao{"use strict";o.d(s,{lo:()=>xp,pC:()=>Js,Bq:()=>dd,dq:()=>Yc,lG:()=>ud,sh:()=>Cp,Qe:()=>Cu});var n={};o.r(n),o.d(n,{OG:()=>z,My:()=>Te,Ph:()=>tr,lX:()=>Tr,Id:()=>cr,fg:()=>he,qj:()=>fo,aT:()=>Ve,lq:()=>Wr,z:()=>Lo,Q5:()=>Sr});var a=o(3014);function l(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 A(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 P="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,q=v=>v instanceof Uint8Array,ht=v=>new DataView(v.buffer,v.byteOffset,v.byteLength),ct=(v,_)=>v<<32-_|v>>>_;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function vt(v){if("string"==typeof v&&(v=function st(v){if("string"!=typeof v)throw new Error("utf8ToBytes expected string, got "+typeof v);return new Uint8Array((new TextEncoder).encode(v))}(v)),!q(v))throw new Error("expected Uint8Array, got "+typeof v);return v}class ae{clone(){return this._cloneInto()}}function se(v){const _=j=>v().update(vt(j)).digest(),D=v();return _.outputLen=D.outputLen,_.blockLen=D.blockLen,_.create=()=>v(),_}function yr(v=32){if(P&&"function"==typeof P.getRandomValues)return P.getRandomValues(new Uint8Array(v));throw new Error("crypto.getRandomValues must be defined")}class wr extends ae{constructor(_,D,j,X){super(),this.blockLen=_,this.outputLen=D,this.padOffset=j,this.isLE=X,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(_),this.view=ht(this.buffer)}update(_){A(this);const{view:D,buffer:j,blockLen:X}=this,it=(_=vt(_)).length;for(let St=0;StX-St&&(this.process(j,0),St=0);for(let Le=St;Le>X&it),Nt=Number(D&it),_e=j?0:4;v.setUint32(_+(j?4:0),St,j),v.setUint32(_+_e,Nt,j)})(j,X-8,BigInt(8*this.length),it),this.process(j,0);const Nt=ht(_),Xt=this.outputLen;if(Xt%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const _e=Xt/4,Pe=this.get();if(_e>Pe.length)throw new Error("_sha2: outputLen bigger than state");for(let Le=0;Le<_e;Le++)Nt.setUint32(4*Le,Pe[Le],it)}digest(){const{buffer:_,outputLen:D}=this;this.digestInto(_);const j=_.slice(0,D);return this.destroy(),j}_cloneInto(_){_||(_=new this.constructor),_.set(...this.get());const{blockLen:D,buffer:j,length:X,finished:it,destroyed:St,pos:Nt}=this;return _.length=X,_.pos=Nt,_.finished=it,_.destroyed=St,X%D&&_.buffer.set(j),_}}const Qt=(v,_,D)=>v&_^~v&D,be=(v,_,D)=>v&_^v&D^_&D,Ht=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]),Bt=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Fe=new Uint32Array(64);class zt extends wr{constructor(){super(64,32,8,!1),this.A=0|Bt[0],this.B=0|Bt[1],this.C=0|Bt[2],this.D=0|Bt[3],this.E=0|Bt[4],this.F=0|Bt[5],this.G=0|Bt[6],this.H=0|Bt[7]}get(){const{A:_,B:D,C:j,D:X,E:it,F:St,G:Nt,H:Xt}=this;return[_,D,j,X,it,St,Nt,Xt]}set(_,D,j,X,it,St,Nt,Xt){this.A=0|_,this.B=0|D,this.C=0|j,this.D=0|X,this.E=0|it,this.F=0|St,this.G=0|Nt,this.H=0|Xt}process(_,D){for(let Le=0;Le<16;Le++,D+=4)Fe[Le]=_.getUint32(D,!1);for(let Le=16;Le<64;Le++){const rr=Fe[Le-15],hr=Fe[Le-2],er=ct(rr,7)^ct(rr,18)^rr>>>3,Ye=ct(hr,17)^ct(hr,19)^hr>>>10;Fe[Le]=Ye+Fe[Le-7]+er+Fe[Le-16]|0}let{A:j,B:X,C:it,D:St,E:Nt,F:Xt,G:_e,H:Pe}=this;for(let Le=0;Le<64;Le++){const hr=Pe+(ct(Nt,6)^ct(Nt,11)^ct(Nt,25))+Qt(Nt,Xt,_e)+Ht[Le]+Fe[Le]|0,Ye=(ct(j,2)^ct(j,13)^ct(j,22))+be(j,X,it)|0;Pe=_e,_e=Xt,Xt=Nt,Nt=St+hr|0,St=it,it=X,X=j,j=hr+Ye|0}j=j+this.A|0,X=X+this.B|0,it=it+this.C|0,St=St+this.D|0,Nt=Nt+this.E|0,Xt=Xt+this.F|0,_e=_e+this.G|0,Pe=Pe+this.H|0,this.set(j,X,it,St,Nt,Xt,_e,Pe)}roundClean(){Fe.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const oe=se(()=>new zt),Dt=(BigInt(0),BigInt(1)),wt=BigInt(2),ie=v=>v instanceof Uint8Array,Xe=Array.from({length:256},(v,_)=>_.toString(16).padStart(2,"0"));function Te(v){if(!ie(v))throw new Error("Uint8Array expected");let _="";for(let D=0;Dj+X.length,0));let D=0;return v.forEach(j=>{if(!ie(j))throw new Error("Uint8Array expected");_.set(j,D),D+=j.length}),_}const z=v=>(wt<new Uint8Array(v),ue=v=>Uint8Array.from(v);function he(v,_,D){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 D)throw new Error("hmacFn must be a function");let j=Rt(v),X=Rt(v),it=0;const St=()=>{j.fill(1),X.fill(0),it=0},Nt=(...Le)=>D(X,j,...Le),Xt=(Le=Rt())=>{X=Nt(ue([0]),Le),j=Nt(),0!==Le.length&&(X=Nt(ue([1]),Le),j=Nt())},_e=()=>{if(it++>=1e3)throw new Error("drbg: tried 1000 values");let Le=0;const rr=[];for(;Le<_;){j=Nt();const hr=j.slice();rr.push(hr),Le+=j.length}return cr(...rr)};return(Le,rr)=>{let hr;for(St(),Xt(Le);!(hr=rr(_e()));)Xt();return St(),hr}}const Se={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 Sr(v,_,D={}){const j=(X,it,St)=>{const Nt=Se[it];if("function"!=typeof Nt)throw new Error(`Invalid validator "${it}", expected function`);const Xt=v[X];if(!(St&&void 0===Xt||Nt(Xt,v)))throw new Error(`Invalid param ${String(X)}=${Xt} (${typeof Xt}), expected ${it}`)};for(const[X,it]of Object.entries(_))j(X,it,!1);for(const[X,it]of Object.entries(D))j(X,it,!0);return v}const ar=BigInt(0),dr=BigInt(1),Mr=BigInt(2),ao=BigInt(3),xr=BigInt(4),zo=BigInt(5),To=BigInt(8);function ze(v,_){const D=v%_;return D>=ar?D:_+D}function Mt(v,_,D){if(D<=ar||_ 0");if(D===dr)return ar;let j=dr;for(;_>ar;)_&dr&&(j=j*v%D),v=v*v%D,_>>=dr;return j}function Wt(v,_,D){let j=v;for(;_-- >ar;)j*=j,j%=D;return j}function $t(v,_){if(v===ar||_<=ar)throw new Error(`invert: expected positive integers, got n=${v} mod=${_}`);let D=ze(v,_),j=_,X=ar,it=dr,St=dr,Nt=ar;for(;D!==ar;){const _e=j/D,Pe=j%D,Le=X-St*_e,rr=it-Nt*_e;j=D,D=Pe,X=St,it=Nt,St=Le,Nt=rr}if(j!==dr)throw new Error("invert: does not exist");return ze(X,_)}BigInt(9),BigInt(16);const vr=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function Je(v,_){const D=void 0!==_?_:v.toString(2).length;return{nBitLength:D,nByteLength:Math.ceil(D/8)}}function gr(v){if("bigint"!=typeof v)throw new Error("field order must be bigint");const _=v.toString(2).length;return Math.ceil(_/8)}function po(v){const _=gr(v);return _+Math.ceil(_/2)}class Ln extends ae{constructor(_,D){super(),this.finished=!1,this.destroyed=!1,function C(v){if("function"!=typeof v||"function"!=typeof v.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");l(v.outputLen),l(v.blockLen)}(_);const j=vt(D);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 X=this.blockLen,it=new Uint8Array(X);it.set(j.length>X?_.create().update(j).digest():j);for(let St=0;Stnew Ln(v,_).update(D).digest();ua.create=(v,_)=>new Ln(v,_);const $i=BigInt(0),cn=BigInt(1);function pi(v){return function qr(v){Sr(v,vr.reduce((j,X)=>(j[X]="function",j),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"}))}(v.Fp),Sr(v,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...Je(v.n,v.nBitLength),...v,p:v.Fp.ORDER})}const{Ph:Fi,aT:is}=n,si={Err:class extends Error{constructor(_=""){super(_)}},_parseInt(v){const{Err:_}=si;if(v.length<2||2!==v[0])throw new _("Invalid signature integer tag");const D=v[1],j=v.subarray(2,D+2);if(!D||j.length!==D)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:Fi(j),l:v.subarray(D+2)}},toSig(v){const{Err:_}=si,D="string"==typeof v?is(v):v;if(!(D instanceof Uint8Array))throw new Error("ui8a expected");let j=D.length;if(j<2||48!=D[0])throw new _("Invalid signature tag");if(D[1]!==j-2)throw new _("Invalid signature: incorrect length");const{d:X,l:it}=si._parseInt(D.subarray(2)),{d:St,l:Nt}=si._parseInt(it);if(Nt.length)throw new _("Invalid signature: left bytes after parsing");return{r:X,s:St}},hexFromSig(v){const _=_e=>8&Number.parseInt(_e[0],16)?"00"+_e:_e,D=_e=>{const Pe=_e.toString(16);return 1&Pe.length?`0${Pe}`:Pe},j=_(D(v.s)),X=_(D(v.r)),it=j.length/2,St=X.length/2,Nt=D(it),Xt=D(St);return`30${D(St+it+4)}02${Xt}${X}02${Nt}${j}`}},hi=BigInt(0),On=BigInt(1),Jt=(BigInt(2),BigInt(3));function Gt(v){const _=function ft(v){const _=pi(v);return Sr(_,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,..._})}(v),{Fp:D,n:j}=_,X=D.BYTES+1,it=2*D.BYTES+1;function Nt(oo){return ze(oo,j)}function Xt(oo){return $t(oo,j)}const{ProjectivePoint:_e,normPrivateKeyToScalar:Pe,weierstrassEquation:Le,isWithinCurveOrder:rr}=function de(v){const _=function Ji(v){const _=pi(v);Sr(_,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:D,Fp:j,a:X}=_;if(D){if(!j.eql(X,j.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof D||"bigint"!=typeof D.beta||"function"!=typeof D.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({..._})}(v),{Fp:D}=_,j=_.toBytes||((er,Ye,Ze)=>{const br=Ye.toAffine();return cr(Uint8Array.from([4]),D.toBytes(br.x),D.toBytes(br.y))}),X=_.fromBytes||(er=>{const Ye=er.subarray(1);return{x:D.fromBytes(Ye.subarray(0,D.BYTES)),y:D.fromBytes(Ye.subarray(D.BYTES,2*D.BYTES))}});function it(er){const{a:Ye,b:Ze}=_,br=D.sqr(er),Dr=D.mul(br,er);return D.add(D.add(Dr,D.mul(er,Ye)),Ze)}if(!D.eql(D.sqr(_.Gy),it(_.Gx)))throw new Error("bad generator point: equation left != right");function St(er){return"bigint"==typeof er&&hiD.eql(Zr,D.ZERO);return Dr(Ze)&&Dr(br)?Le.ZERO:new Le(Ze,br,D.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(Ye){const Ze=D.invertBatch(Ye.map(br=>br.pz));return Ye.map((br,Dr)=>br.toAffine(Ze[Dr])).map(Le.fromAffine)}static fromHex(Ye){const Ze=Le.fromAffine(X(fo("pointHex",Ye)));return Ze.assertValidity(),Ze}static fromPrivateKey(Ye){return Le.BASE.multiply(Xt(Ye))}_setWindowSize(Ye){this._WINDOW_SIZE=Ye,_e.delete(this)}assertValidity(){if(this.is0()){if(_.allowInfinityPoint&&!D.is0(this.py))return;throw new Error("bad point: ZERO")}const{x:Ye,y:Ze}=this.toAffine();if(!D.isValid(Ye)||!D.isValid(Ze))throw new Error("bad point: x or y not FE");const br=D.sqr(Ze),Dr=it(Ye);if(!D.eql(br,Dr))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:Ye}=this.toAffine();if(D.isOdd)return!D.isOdd(Ye);throw new Error("Field doesn't support isOdd")}equals(Ye){Pe(Ye);const{px:Ze,py:br,pz:Dr}=this,{px:Zr,py:io,pz:Po}=Ye,mo=D.eql(D.mul(Ze,Po),D.mul(Zr,Dr)),So=D.eql(D.mul(br,Po),D.mul(io,Dr));return mo&&So}negate(){return new Le(this.px,D.neg(this.py),this.pz)}double(){const{a:Ye,b:Ze}=_,br=D.mul(Ze,Jt),{px:Dr,py:Zr,pz:io}=this;let Po=D.ZERO,mo=D.ZERO,So=D.ZERO,jo=D.mul(Dr,Dr),Nn=D.mul(Zr,Zr),kn=D.mul(io,io),tn=D.mul(Dr,Zr);return tn=D.add(tn,tn),So=D.mul(Dr,io),So=D.add(So,So),Po=D.mul(Ye,So),mo=D.mul(br,kn),mo=D.add(Po,mo),Po=D.sub(Nn,mo),mo=D.add(Nn,mo),mo=D.mul(Po,mo),Po=D.mul(tn,Po),So=D.mul(br,So),kn=D.mul(Ye,kn),tn=D.sub(jo,kn),tn=D.mul(Ye,tn),tn=D.add(tn,So),So=D.add(jo,jo),jo=D.add(So,jo),jo=D.add(jo,kn),jo=D.mul(jo,tn),mo=D.add(mo,jo),kn=D.mul(Zr,io),kn=D.add(kn,kn),jo=D.mul(kn,tn),Po=D.sub(Po,jo),So=D.mul(kn,Nn),So=D.add(So,So),So=D.add(So,So),new Le(Po,mo,So)}add(Ye){Pe(Ye);const{px:Ze,py:br,pz:Dr}=this,{px:Zr,py:io,pz:Po}=Ye;let mo=D.ZERO,So=D.ZERO,jo=D.ZERO;const Nn=_.a,kn=D.mul(_.b,Jt);let tn=D.mul(Ze,Zr),ti=D.mul(br,io),ei=D.mul(Dr,Po),vi=D.add(Ze,br),oo=D.add(Zr,io);vi=D.mul(vi,oo),oo=D.add(tn,ti),vi=D.sub(vi,oo),oo=D.add(Ze,Dr);let ho=D.add(Zr,Po);return oo=D.mul(oo,ho),ho=D.add(tn,ei),oo=D.sub(oo,ho),ho=D.add(br,Dr),mo=D.add(io,Po),ho=D.mul(ho,mo),mo=D.add(ti,ei),ho=D.sub(ho,mo),jo=D.mul(Nn,oo),mo=D.mul(kn,ei),jo=D.add(mo,jo),mo=D.sub(ti,jo),jo=D.add(ti,jo),So=D.mul(mo,jo),ti=D.add(tn,tn),ti=D.add(ti,tn),ei=D.mul(Nn,ei),oo=D.mul(kn,oo),ti=D.add(ti,ei),ei=D.sub(tn,ei),ei=D.mul(Nn,ei),oo=D.add(oo,ei),tn=D.mul(ti,oo),So=D.add(So,tn),tn=D.mul(ho,oo),mo=D.mul(vi,mo),mo=D.sub(mo,tn),tn=D.mul(vi,ti),jo=D.mul(ho,jo),jo=D.add(jo,tn),new Le(mo,So,jo)}subtract(Ye){return this.add(Ye.negate())}is0(){return this.equals(Le.ZERO)}wNAF(Ye){return hr.wNAFCached(this,_e,Ye,Ze=>{const br=D.invertBatch(Ze.map(Dr=>Dr.pz));return Ze.map((Dr,Zr)=>Dr.toAffine(br[Zr])).map(Le.fromAffine)})}multiplyUnsafe(Ye){const Ze=Le.ZERO;if(Ye===hi)return Ze;if(Nt(Ye),Ye===On)return this;const{endo:br}=_;if(!br)return hr.unsafeLadder(this,Ye);let{k1neg:Dr,k1:Zr,k2neg:io,k2:Po}=br.splitScalar(Ye),mo=Ze,So=Ze,jo=this;for(;Zr>hi||Po>hi;)Zr&On&&(mo=mo.add(jo)),Po&On&&(So=So.add(jo)),jo=jo.double(),Zr>>=On,Po>>=On;return Dr&&(mo=mo.negate()),io&&(So=So.negate()),So=new Le(D.mul(So.px,br.beta),So.py,So.pz),mo.add(So)}multiply(Ye){Nt(Ye);let br,Dr,Ze=Ye;const{endo:Zr}=_;if(Zr){const{k1neg:io,k1:Po,k2neg:mo,k2:So}=Zr.splitScalar(Ze);let{p:jo,f:Nn}=this.wNAF(Po),{p:kn,f:tn}=this.wNAF(So);jo=hr.constTimeNegate(io,jo),kn=hr.constTimeNegate(mo,kn),kn=new Le(D.mul(kn.px,Zr.beta),kn.py,kn.pz),br=jo.add(kn),Dr=Nn.add(tn)}else{const{p:io,f:Po}=this.wNAF(Ze);br=io,Dr=Po}return Le.normalizeZ([br,Dr])[0]}multiplyAndAddUnsafe(Ye,Ze,br){const Dr=Le.BASE,Zr=(Po,mo)=>mo!==hi&&mo!==On&&Po.equals(Dr)?Po.multiply(mo):Po.multiplyUnsafe(mo),io=Zr(this,Ze).add(Zr(Ye,br));return io.is0()?void 0:io}toAffine(Ye){const{px:Ze,py:br,pz:Dr}=this,Zr=this.is0();null==Ye&&(Ye=Zr?D.ONE:D.inv(Dr));const io=D.mul(Ze,Ye),Po=D.mul(br,Ye),mo=D.mul(Dr,Ye);if(Zr)return{x:D.ZERO,y:D.ZERO};if(!D.eql(mo,D.ONE))throw new Error("invZ was invalid");return{x:io,y:Po}}isTorsionFree(){const{h:Ye,isTorsionFree:Ze}=_;if(Ye===On)return!0;if(Ze)return Ze(Le,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:Ye,clearCofactor:Ze}=_;return Ye===On?this:Ze?Ze(Le,this):this.multiplyUnsafe(_.h)}toRawBytes(Ye=!0){return this.assertValidity(),j(Le,this,Ye)}toHex(Ye=!0){return Te(this.toRawBytes(Ye))}}Le.BASE=new Le(_.Gx,_.Gy,D.ONE),Le.ZERO=new Le(D.ZERO,D.ONE,D.ZERO);const rr=_.nBitLength,hr=function qi(v,_){const D=(X,it)=>{const St=it.negate();return X?St:it},j=X=>({windows:Math.ceil(_/X)+1,windowSize:2**(X-1)});return{constTimeNegate:D,unsafeLadder(X,it){let St=v.ZERO,Nt=X;for(;it>$i;)it&cn&&(St=St.add(Nt)),Nt=Nt.double(),it>>=cn;return St},precomputeWindow(X,it){const{windows:St,windowSize:Nt}=j(it),Xt=[];let _e=X,Pe=_e;for(let Le=0;Le>=hr,Ze>Xt&&(Ze-=rr,St+=cn);const br=Ye,Dr=Ye+Math.abs(Ze)-1,io=Ze<0;0===Ze?Pe=Pe.add(D(er%2!=0,it[br])):_e=_e.add(D(io,it[Dr]))}return{p:_e,f:Pe}},wNAFCached(X,it,St,Nt){const Xt=X._WINDOW_SIZE||1;let _e=it.get(X);return _e||(_e=this.precomputeWindow(X,Xt),1!==Xt&&it.set(X,Nt(_e))),this.wNAF(Xt,_e,St)}}}(Le,_.endo?Math.ceil(rr/2):rr);return{CURVE:_,ProjectivePoint:Le,normPrivateKeyToScalar:Xt,weierstrassEquation:it,isWithinCurveOrder:St}}({..._,toBytes(oo,ho,Yo){const mn=ho.toAffine(),vo=D.toBytes(mn.x),an=cr;return Yo?an(Uint8Array.from([ho.hasEvenY()?2:3]),vo):an(Uint8Array.from([4]),vo,D.toBytes(mn.y))},fromBytes(oo){const ho=oo.length,Yo=oo[0],mn=oo.subarray(1);if(ho!==X||2!==Yo&&3!==Yo){if(ho===it&&4===Yo)return{x:D.fromBytes(mn.subarray(0,D.BYTES)),y:D.fromBytes(mn.subarray(D.BYTES,2*D.BYTES))};throw new Error(`Point of length ${ho} was invalid. Expected ${X} compressed bytes or ${it} uncompressed bytes`)}{const vo=tr(mn);if(!function St(oo){return hiTe(Wr(oo,_.nByteLength));function er(oo){return oo>j>>On}const Ze=(oo,ho,Yo)=>tr(oo.slice(ho,Yo));class br{constructor(ho,Yo,mn){this.r=ho,this.s=Yo,this.recovery=mn,this.assertValidity()}static fromCompact(ho){const Yo=_.nByteLength;return ho=fo("compactSignature",ho,2*Yo),new br(Ze(ho,0,Yo),Ze(ho,Yo,2*Yo))}static fromDER(ho){const{r:Yo,s:mn}=si.toSig(fo("DER",ho));return new br(Yo,mn)}assertValidity(){if(!rr(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!rr(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(ho){return new br(this.r,this.s,ho)}recoverPublicKey(ho){const{r:Yo,s:mn,recovery:vo}=this,an=So(fo("msgHash",ho));if(null==vo||![0,1,2,3].includes(vo))throw new Error("recovery id invalid");const _i=2===vo||3===vo?Yo+_.n:Yo;if(_i>=D.ORDER)throw new Error("recovery id 2 or 3 invalid");const Ba=_e.fromHex((1&vo?"03":"02")+hr(_i)),Ns=Xt(_i),oc=Nt(-an*Ns),mc=Nt(mn*Ns),vs=_e.BASE.multiplyAndAddUnsafe(Ba,oc,mc);if(!vs)throw new Error("point at infinify");return vs.assertValidity(),vs}hasHighS(){return er(this.s)}normalizeS(){return this.hasHighS()?new br(this.r,Nt(-this.s),this.recovery):this}toDERRawBytes(){return Ve(this.toDERHex())}toDERHex(){return si.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return Ve(this.toCompactHex())}toCompactHex(){return hr(this.r)+hr(this.s)}}const Dr={isValidPrivateKey(oo){try{return Pe(oo),!0}catch{return!1}},normPrivateKeyToScalar:Pe,randomPrivateKey:()=>{const oo=po(_.n);return function ki(v,_,D=!1){const j=v.length,X=gr(_),it=po(_);if(j<16||j1024)throw new Error(`expected ${it}-1024 bytes of input, got ${j}`);const Nt=ze(D?tr(v):Tr(v),_-dr)+dr;return D?Lo(Nt,X):Wr(Nt,X)}(_.randomBytes(oo),_.n)},precompute:(oo=8,ho=_e.BASE)=>(ho._setWindowSize(oo),ho.multiply(BigInt(3)),ho)};function io(oo){const ho=oo instanceof Uint8Array,Yo="string"==typeof oo,mn=(ho||Yo)&&oo.length;return ho?mn===X||mn===it:Yo?mn===2*X||mn===2*it:oo instanceof _e}const mo=_.bits2int||function(oo){const ho=tr(oo),Yo=8*oo.length-_.nBitLength;return Yo>0?ho>>BigInt(Yo):ho},So=_.bits2int_modN||function(oo){return Nt(mo(oo))},jo=z(_.nBitLength);function Nn(oo){if("bigint"!=typeof oo)throw new Error("bigint expected");if(!(hi<=oo&&oo_s in Yo))throw new Error("sign() legacy options not supported");const{hash:mn,randomBytes:vo}=_;let{lowS:an,prehash:_i,extraEntropy:zn}=Yo;null==an&&(an=!0),oo=fo("msgHash",oo),_i&&(oo=fo("prehashed msgHash",mn(oo)));const Ba=So(oo),Ns=Pe(ho),oc=[Nn(Ns),Nn(Ba)];if(null!=zn){const _s=!0===zn?vo(D.BYTES):zn;oc.push(fo("extraEntropy",_s))}const mc=cr(...oc),vs=Ba;return{seed:mc,k2sig:function Xs(_s){const jl=mo(_s);if(!rr(jl))return;const $u=Xt(jl),Li=_e.BASE.multiply(jl).toAffine(),cl=Nt(Li.x);if(cl===hi)return;const ts=Nt($u*Nt(vs+cl*Ns));if(ts===hi)return;let Zi=(Li.x===cl?0:2)|Number(Li.y&On),Vl=ts;return an&&er(ts)&&(Vl=function Ye(oo){return er(oo)?Nt(-oo):oo}(ts),Zi^=1),new br(cl,Vl,Zi)}}}(oo,ho,Yo);return he(_.hash.outputLen,_.nByteLength,_.hmac)(mn,vo)},verify:function vi(oo,ho,Yo,mn=ti){const vo=oo;if(ho=fo("msgHash",ho),Yo=fo("publicKey",Yo),"strict"in mn)throw new Error("options.strict was renamed to lowS");const{lowS:an,prehash:_i}=mn;let zn,Ba;try{if("string"==typeof vo||vo instanceof Uint8Array)try{zn=br.fromDER(vo)}catch(Li){if(!(Li instanceof si.Err))throw Li;zn=br.fromCompact(vo)}else{if("object"!=typeof vo||"bigint"!=typeof vo.r||"bigint"!=typeof vo.s)throw new Error("PARSE");{const{r:Li,s:cl}=vo;zn=new br(Li,cl)}}Ba=_e.fromHex(Yo)}catch(Li){if("PARSE"===Li.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(an&&zn.hasHighS())return!1;_i&&(ho=_.hash(ho));const{r:Ns,s:oc}=zn,mc=So(ho),vs=Xt(oc),Xs=Nt(mc*vs),_s=Nt(Ns*vs),jl=_e.BASE.multiplyAndAddUnsafe(Ba,Xs,_s)?.toAffine();return!!jl&&Nt(jl.x)===Ns},ProjectivePoint:_e,Signature:br,utils:Dr}}function He(v){return{hash:v,hmac:(_,...D)=>ua(v,_,function Pt(...v){const _=new Uint8Array(v.reduce((j,X)=>j+X.length,0));let D=0;return v.forEach(j=>{if(!q(j))throw new Error("Uint8Array expected");_.set(j,D),D+=j.length}),_}(...D)),randomBytes:yr}}BigInt(4);const ur=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),Er=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),kr=BigInt(1),Rr=BigInt(2),$r=(v,_)=>(v+_/Rr)/_;function Jr(v){const _=ur,D=BigInt(3),j=BigInt(6),X=BigInt(11),it=BigInt(22),St=BigInt(23),Nt=BigInt(44),Xt=BigInt(88),_e=v*v*v%_,Pe=_e*_e*v%_,Le=Wt(Pe,D,_)*Pe%_,rr=Wt(Le,D,_)*Pe%_,hr=Wt(rr,Rr,_)*_e%_,er=Wt(hr,X,_)*hr%_,Ye=Wt(er,it,_)*er%_,Ze=Wt(Ye,Nt,_)*Ye%_,br=Wt(Ze,Xt,_)*Ze%_,Dr=Wt(br,Nt,_)*Ye%_,Zr=Wt(Dr,D,_)*Pe%_,io=Wt(Zr,St,_)*er%_,Po=Wt(io,j,_)*_e%_,mo=Wt(Po,Rr,_);if(!so.eql(so.sqr(mo),v))throw new Error("Cannot find square root");return mo}const so=function Ae(v,_,D=!1,j={}){if(v<=ar)throw new Error(`Expected Field ORDER > 0, got ${v}`);const{nBitLength:X,nByteLength:it}=Je(v,_);if(it>2048)throw new Error("Field lengths over 2048 bytes are not supported");const St=function ce(v){if(v%xr===ao){const _=(v+dr)/xr;return function(j,X){const it=j.pow(X,_);if(!j.eql(j.sqr(it),X))throw new Error("Cannot find square root");return it}}if(v%To===zo){const _=(v-zo)/To;return function(j,X){const it=j.mul(X,Mr),St=j.pow(it,_),Nt=j.mul(X,St),Xt=j.mul(j.mul(Nt,Mr),St),_e=j.mul(Nt,j.sub(Xt,j.ONE));if(!j.eql(j.sqr(_e),X))throw new Error("Cannot find square root");return _e}}return function Ce(v){const _=(v-dr)/Mr;let D,j,X;for(D=v-dr,j=0;D%Mr===ar;D/=Mr,j++);for(X=Mr;Xze(Xt,v),isValid:Xt=>{if("bigint"!=typeof Xt)throw new Error("Invalid field element: expected bigint, got "+typeof Xt);return ar<=Xt&&XtXt===ar,isOdd:Xt=>(Xt&dr)===dr,neg:Xt=>ze(-Xt,v),eql:(Xt,_e)=>Xt===_e,sqr:Xt=>ze(Xt*Xt,v),add:(Xt,_e)=>ze(Xt+_e,v),sub:(Xt,_e)=>ze(Xt-_e,v),mul:(Xt,_e)=>ze(Xt*_e,v),pow:(Xt,_e)=>function ko(v,_,D){if(D 0");if(D===ar)return v.ONE;if(D===dr)return _;let j=v.ONE,X=_;for(;D>ar;)D&dr&&(j=v.mul(j,X)),X=v.sqr(X),D>>=dr;return j}(Nt,Xt,_e),div:(Xt,_e)=>ze(Xt*$t(_e,v),v),sqrN:Xt=>Xt*Xt,addN:(Xt,_e)=>Xt+_e,subN:(Xt,_e)=>Xt-_e,mulN:(Xt,_e)=>Xt*_e,inv:Xt=>$t(Xt,v),sqrt:j.sqrt||(Xt=>St(Nt,Xt)),invertBatch:Xt=>function sn(v,_){const D=new Array(_.length),j=_.reduce((it,St,Nt)=>v.is0(St)?it:(D[Nt]=it,v.mul(it,St)),v.ONE),X=v.inv(j);return _.reduceRight((it,St,Nt)=>v.is0(St)?it:(D[Nt]=v.mul(it,D[Nt]),v.mul(it,St)),X),D}(Nt,Xt),cmov:(Xt,_e,Pe)=>Pe?_e:Xt,toBytes:Xt=>D?Lo(Xt,it):Wr(Xt,it),fromBytes:Xt=>{if(Xt.length!==it)throw new Error(`Fp.fromBytes: expected ${it}, got ${Xt.length}`);return D?Tr(Xt):tr(Xt)}});return Object.freeze(Nt)}(ur,void 0,void 0,{sqrt:Jr}),xo=function Me(v,_){const D=j=>Gt({...v,...He(j)});return Object.freeze({...D(_),create:D})}({a:BigInt(0),b:BigInt(7),Fp:so,n:Er,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:v=>{const _=Er,D=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),j=-kr*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),X=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),it=D,St=BigInt("0x100000000000000000000000000000000"),Nt=$r(it*v,_),Xt=$r(-j*v,_);let _e=ze(v-Nt*D-Xt*X,_),Pe=ze(-Nt*j-Xt*it,_);const Le=_e>St,rr=Pe>St;if(Le&&(_e=_-_e),rr&&(Pe=_-Pe),_e>St||Pe>St)throw new Error("splitScalar: Endomorphism failed, k="+v);return{k1neg:Le,k1:_e,k2neg:rr,k2:Pe}}}},oe),Eo=BigInt(0),bn=v=>"bigint"==typeof v&&EoX.charCodeAt(0)));D=cr(j,j),Mn[v]=D}return oe(cr(D,..._))}const Qo=v=>v.toRawBytes(!0).slice(1),Fo=v=>Wr(v,32),Ei=v=>ze(v,ur),ta=v=>ze(v,Er),Wa=xo.ProjectivePoint;function Pn(v){let _=xo.utils.normPrivateKeyToScalar(v),D=Wa.fromPrivateKey(_);return{scalar:D.hasEvenY()?_:ta(-_),bytes:Qo(D)}}function _n(v){if(!bn(v))throw new Error("bad x: need 0 < x < p");const _=Ei(v*v);let j=Jr(Ei(_*v+BigInt(7)));j%Rr!==Eo&&(j=Ei(-j));const X=new Wa(v,j,kr);return X.assertValidity(),X}function ss(...v){return ta(tr(Ro("BIP0340/challenge",...v)))}function Ea(v,_,D){const j=fo("signature",v,64),X=fo("message",_),it=fo("publicKey",D,32);try{const St=_n(tr(it)),Nt=tr(j.subarray(0,32));if(!bn(Nt))return!1;const Xt=tr(j.subarray(32,64));if(!(v=>"bigint"==typeof v&&EoWa.BASE.multiplyAndAddUnsafe(v,_,D))(St,Xt,ta(-_e));return!(!Pe||!Pe.hasEvenY()||Pe.toAffine().x!==Nt)}catch{return!1}}const Ri={getPublicKey:function Ka(v){return Pn(v).bytes},sign:function Ii(v,_,D=yr(32)){const j=fo("message",v),{bytes:X,scalar:it}=Pn(_),St=fo("auxRand",D,32),Nt=Fo(it^tr(Ro("BIP0340/aux",St))),Xt=Ro("BIP0340/nonce",Nt,X,j),_e=ta(tr(Xt));if(_e===Eo)throw new Error("sign failed: k is zero");const{bytes:Pe,scalar:Le}=Pn(_e),rr=ss(Pe,X,j),hr=new Uint8Array(64);if(hr.set(Pe,0),hr.set(Fo(ta(Le+rr*it)),32),!Ea(hr,j,X))throw new Error("sign: Invalid signature produced");return hr},verify:Ea,utils:{randomPrivateKey:xo.utils.randomPrivateKey,lift_x:_n,pointToBytes:Qo,numberToBytesBE:Wr,bytesToNumberBE:tr,taggedHash:Ro,mod:ze}};var Xo=o(4704);function Ca(v){if(!Number.isSafeInteger(v)||v<0)throw new Error(`Wrong positive integer: ${v}`)}function ni(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 Ci={number:Ca,bool:function fi(v){if("boolean"!=typeof v)throw new Error(`Expected boolean, not ${v}`)},bytes:ni,hash:function ha(v){if("function"!=typeof v||"function"!=typeof v.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");Ca(v.outputLen),Ca(v.blockLen)},exists:function Xi(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 Qs(v,_){ni(v);const D=_.outputLen;if(v.lengthX-St&&(this.process(j,0),St=0);for(let Le=St;Le>X&it),Nt=Number(D&it),_e=j?0:4;v.setUint32(_+(j?4:0),St,j),v.setUint32(_+_e,Nt,j)})(j,X-8,BigInt(8*this.length),it),this.process(j,0);const Nt=(0,Xo.O8)(_),Xt=this.outputLen;if(Xt%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const _e=Xt/4,Pe=this.get();if(_e>Pe.length)throw new Error("_sha2: outputLen bigger than state");for(let Le=0;Le<_e;Le++)Nt.setUint32(4*Le,Pe[Le],it)}digest(){const{buffer:_,outputLen:D}=this;this.digestInto(_);const j=_.slice(0,D);return this.destroy(),j}_cloneInto(_){_||(_=new this.constructor),_.set(...this.get());const{blockLen:D,buffer:j,length:X,finished:it,destroyed:St,pos:Nt}=this;return _.length=X,_.pos=Nt,_.finished=it,_.destroyed=St,X%D&&_.buffer.set(j),_}}const Ga=(v,_,D)=>v&_^~v&D,ma=(v,_,D)=>v&_^v&D^_&D,cs=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]),ca=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Vn=new Uint32Array(64);class cc extends Da{constructor(){super(64,32,8,!1),this.A=0|ca[0],this.B=0|ca[1],this.C=0|ca[2],this.D=0|ca[3],this.E=0|ca[4],this.F=0|ca[5],this.G=0|ca[6],this.H=0|ca[7]}get(){const{A:_,B:D,C:j,D:X,E:it,F:St,G:Nt,H:Xt}=this;return[_,D,j,X,it,St,Nt,Xt]}set(_,D,j,X,it,St,Nt,Xt){this.A=0|_,this.B=0|D,this.C=0|j,this.D=0|X,this.E=0|it,this.F=0|St,this.G=0|Nt,this.H=0|Xt}process(_,D){for(let Le=0;Le<16;Le++,D+=4)Vn[Le]=_.getUint32(D,!1);for(let Le=16;Le<64;Le++){const rr=Vn[Le-15],hr=Vn[Le-2],er=(0,Xo.Ow)(rr,7)^(0,Xo.Ow)(rr,18)^rr>>>3,Ye=(0,Xo.Ow)(hr,17)^(0,Xo.Ow)(hr,19)^hr>>>10;Vn[Le]=Ye+Vn[Le-7]+er+Vn[Le-16]|0}let{A:j,B:X,C:it,D:St,E:Nt,F:Xt,G:_e,H:Pe}=this;for(let Le=0;Le<64;Le++){const hr=Pe+((0,Xo.Ow)(Nt,6)^(0,Xo.Ow)(Nt,11)^(0,Xo.Ow)(Nt,25))+Ga(Nt,Xt,_e)+cs[Le]+Vn[Le]|0,Ye=((0,Xo.Ow)(j,2)^(0,Xo.Ow)(j,13)^(0,Xo.Ow)(j,22))+ma(j,X,it)|0;Pe=_e,_e=Xt,Xt=Nt,Nt=St+hr|0,St=it,it=X,X=j,j=hr+Ye|0}j=j+this.A|0,X=X+this.B|0,it=it+this.C|0,St=St+this.D|0,Nt=Nt+this.E|0,Xt=Xt+this.F|0,_e=_e+this.G|0,Pe=Pe+this.H|0,this.set(j,X,it,St,Nt,Xt,_e,Pe)}roundClean(){Vn.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class ls extends cc{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 Sa=(0,Xo.ld)(()=>new cc);function Na(v){if(!Number.isSafeInteger(v))throw new Error(`Wrong integer: ${v}`)}function Di(...v){const _=(X,it)=>St=>X(it(St));return{encode:Array.from(v).reverse().reduce((X,it)=>X?_(X,it.encode):it.encode,void 0),decode:v.reduce((X,it)=>X?_(X,it.decode):it.decode,void 0)}}function Bi(v){return{encode:_=>{if(!Array.isArray(_)||_.length&&"number"!=typeof _[0])throw new Error("alphabet.encode input should be an array of numbers");return _.map(D=>{if(Na(D),D<0||D>=v.length)throw new Error(`Digit index outside alphabet: ${D} (alphabet: ${v.length})`);return v[D]})},decode:_=>{if(!Array.isArray(_)||_.length&&"string"!=typeof _[0])throw new Error("alphabet.decode input should be array of strings");return _.map(D=>{if("string"!=typeof D)throw new Error(`alphabet.decode: not string element=${D}`);const j=v.indexOf(D);if(-1===j)throw new Error(`Unknown letter: "${D}". Allowed: ${v}`);return j})}}}function ci(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 D of _)if("string"!=typeof D)throw new Error(`join.encode: non-string input=${D}`);return _.join(v)},decode:_=>{if("string"!=typeof _)throw new Error("join.decode input should be string");return _.split(v)}}}function ga(v,_="="){if(Na(v),"string"!=typeof _)throw new Error("padding chr should be string");return{encode(D){if(!Array.isArray(D)||D.length&&"string"!=typeof D[0])throw new Error("padding.encode input should be array of strings");for(let j of D)if("string"!=typeof j)throw new Error(`padding.encode: non-string input=${j}`);for(;D.length*v%8;)D.push(_);return D},decode(D){if(!Array.isArray(D)||D.length&&"string"!=typeof D[0])throw new Error("padding.encode input should be array of strings");for(let X of D)if("string"!=typeof X)throw new Error(`padding.decode: non-string input=${X}`);let j=D.length;if(j*v%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;j>0&&D[j-1]===_;j--)if(!((j-1)*v%8))throw new Error("Invalid padding: string has too much padding");return D.slice(0,j)}}}function Cs(v){if("function"!=typeof v)throw new Error("normalize fn should be function");return{encode:_=>_,decode:_=>v(_)}}function Ta(v,_,D){if(_<2)throw new Error(`convertRadix: wrong from=${_}, base cannot be less than 2`);if(D<2)throw new Error(`convertRadix: wrong to=${D}, 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 X=[],it=Array.from(v);for(it.forEach(St=>{if(Na(St),St<0||St>=_)throw new Error(`Wrong integer: ${St}`)});;){let St=0,Nt=!0;for(let Xt=j;Xtnew ls);const Ua=(v,_)=>_?Ua(_,v%_):v,ds=(v,_)=>v+(_-Ua(v,_));function Bs(v,_,D,j){if(!Array.isArray(v))throw new Error("convertRadix2: data should be array");if(_<=0||_>32)throw new Error(`convertRadix2: wrong from=${_}`);if(D<=0||D>32)throw new Error(`convertRadix2: wrong to=${D}`);if(ds(_,D)>32)throw new Error(`convertRadix2: carry overflow from=${_} to=${D} carryBits=${ds(_,D)}`);let X=0,it=0;const St=2**D-1,Nt=[];for(const Xt of v){if(Na(Xt),Xt>=2**_)throw new Error(`convertRadix2: invalid data word=${Xt} from=${_}`);if(X=X<<_|Xt,it+_>32)throw new Error(`convertRadix2: carry overflow pos=${it} from=${_}`);for(it+=_;it>=D;it-=D)Nt.push((X>>it-D&St)>>>0);X&=2**it-1}if(X=X<=_)throw new Error("Excess padding");if(!j&&X)throw new Error(`Non-zero padding: ${X}`);return j&&it>0&&Nt.push(X>>>0),Nt}function Z(v,_=!1){if(Na(v),v<=0||v>32)throw new Error("radix2: bits should be in (0..32]");if(ds(8,v)>32||ds(v,8)>32)throw new Error("radix2: carry overflow");return{encode:D=>{if(!(D instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return Bs(Array.from(D),8,v,!_)},decode:D=>{if(!Array.isArray(D)||D.length&&"number"!=typeof D[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(Bs(D,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{}}}Di(Z(4),Bi("0123456789ABCDEF"),ci("")),Di(Z(5),Bi("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),ga(5),ci(""));const Qr=(Di(Z(5),Bi("0123456789ABCDEFGHIJKLMNOPQRSTUV"),ga(5),ci("")),Di(Z(5),Bi("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),ci(""),Cs(v=>v.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),Di(Z(6),Bi("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),ga(6),ci(""))),Wn=(Di(Z(6),Bi("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),ga(6),ci("")),v=>Di(function Ds(v){return Na(v),{encode:_=>{if(!(_ instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return Ta(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(Ta(_,v,256))}}}(58),Bi(v),ci(""))),ji=(Wn("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),Wn("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),Wn("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz"),Di(Bi("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),ci(""))),Hi=[996825010,642813549,513874426,1027748829,705979059];function Us(v){const _=v>>25;let D=(33554431&v)<<5;for(let j=0;j>j&1)&&(D^=Hi[j]);return D}function $s(v,_,D=1){const j=v.length;let X=1;for(let it=0;it126)throw new Error(`Invalid prefix (${v})`);X=Us(X)^St>>5}X=Us(X);for(let it=0;itLe)throw new TypeError(`Wrong string length: ${Pe.length} (${Pe}). Expected (8..${Le})`);const rr=Pe.toLowerCase();if(Pe!==rr&&Pe!==Pe.toUpperCase())throw new Error("String must be lowercase or uppercase");const hr=(Pe=rr).lastIndexOf("1");if(0===hr||-1===hr)throw new Error('Letter "1" must be present between prefix and data only');const er=Pe.slice(0,hr),Ye=Pe.slice(hr+1);if(Ye.length<6)throw new Error("Data must be at least 6 characters long");const Ze=ji.decode(Ye).slice(0,-6),br=$s(er,Ze,_);if(!Ye.endsWith(br))throw new Error(`Invalid checksum in ${Pe}: expected "${br}"`);return{prefix:er,words:Ze}}return{encode:function St(Pe,Le,rr=90){if("string"!=typeof Pe)throw new Error("bech32.encode prefix should be string, not "+typeof Pe);if(!Array.isArray(Le)||Le.length&&"number"!=typeof Le[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof Le);const hr=Pe.length+7+Le.length;if(!1!==rr&&hr>rr)throw new TypeError(`Length ${hr} exceeds limit ${rr}`);return`${Pe=Pe.toLowerCase()}1${ji.encode(Le)}${$s(Pe,Le,_)}`},decode:Nt,decodeToBytes:function _e(Pe){const{prefix:Le,words:rr}=Nt(Pe,!1);return{prefix:Le,words:rr,bytes:j(rr)}},decodeUnsafe:qt(Nt),fromWords:j,fromWordsUnsafe:it,toWords:X}}const lt=us("bech32");function js(v){if(!Number.isSafeInteger(v)||v<0)throw new Error(`positive integer expected, not ${v}`)}function pl(v){if("boolean"!=typeof v)throw new Error(`boolean expected, not ${v}`)}function lc(v){return v instanceof Uint8Array||null!=v&&"object"==typeof v&&"Uint8Array"===v.constructor.name}function wn(v,..._){if(!lc(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 ba(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 Vs(v,_){wn(v);const D=_.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 vn=v=>new Uint32Array(v.buffer,v.byteOffset,Math.floor(v.byteLength/4)),Ic=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 pc(v){if("string"==typeof v)v=function xc(v){if("string"!=typeof v)throw new Error("string expected, got "+typeof v);return new Uint8Array((new TextEncoder).encode(v))}(v);else{if(!lc(v))throw new Error("Uint8Array expected, got "+typeof v);v=v.slice()}return v}function ps(v,_){if(v.length!==_.length)return!1;let D=0;for(let j=0;j(Object.assign(_,v),_);function zi(v,_,D,j){if("function"==typeof v.setBigUint64)return v.setBigUint64(_,D,j);const X=BigInt(32),it=BigInt(4294967295),St=Number(D>>X&it),Nt=Number(D&it),_e=j?0:4;v.setUint32(_+(j?4:0),St,j),v.setUint32(_+_e,Nt,j)}const Ao=new Uint8Array(16),Rn=vn(Ao),Qn=(v,_,D,j)=>({s3:D<<31|j>>>1,s2:_<<31|D>>>1,s1:v<<31|_>>>1,s0:v>>>1^225<<24&-(1&j)}),ai=v=>(v>>>0&255)<<24|(v>>>8&255)<<16|(v>>>16&255)<<8|v>>>24&255;class ri{constructor(_,D){this.blockLen=16,this.outputLen=16,this.s0=0,this.s1=0,this.s2=0,this.s3=0,this.finished=!1,wn(_=pc(_),16);const j=Ic(_);let X=j.getUint32(0,!1),it=j.getUint32(4,!1),St=j.getUint32(8,!1),Nt=j.getUint32(12,!1);const Xt=[];for(let er=0;er<128;er++)Xt.push({s0:ai(X),s1:ai(it),s2:ai(St),s3:ai(Nt)}),({s0:X,s1:it,s2:St,s3:Nt}=Qn(X,it,St,Nt));const _e=(v=D||1024)>65536?8:v>1024?4:2;var v;if(![1,2,4,8].includes(_e))throw new Error(`ghash: wrong window size=${_e}, should be 2, 4 or 8`);this.W=_e;const Le=128/_e,rr=this.windowSize=2**_e,hr=[];for(let er=0;er>>_e-io-1&1))continue;const{s0:mo,s1:So,s2:jo,s3:Nn}=Xt[_e*er+io];Ze^=mo,br^=So,Dr^=jo,Zr^=Nn}hr.push({s0:Ze,s1:br,s2:Dr,s3:Zr})}this.t=hr}_updateBlock(_,D,j,X){_^=this.s0,D^=this.s1,j^=this.s2,X^=this.s3;const{W:it,t:St,windowSize:Nt}=this;let Xt=0,_e=0,Pe=0,Le=0;const rr=(1<>>8*Ye&255;for(let br=8/it-1;br>=0;br--){const Dr=Ze>>>it*br&rr,{s0:Zr,s1:io,s2:Po,s3:mo}=St[hr*Nt+Dr];Xt^=Zr,_e^=io,Pe^=Po,Le^=mo,hr+=1}}this.s0=Xt,this.s1=_e,this.s2=Pe,this.s3=Le}update(_){_=pc(_),ba(this);const D=vn(_),j=Math.floor(_.length/16),X=_.length%16;for(let it=0;it>>1|D,D=(1&X)<<7}return v[0]^=225&-_,v}((_=pc(_)).slice());super(j,D),j.fill(0)}update(_){_=pc(_),ba(this);const D=vn(_),j=_.length%16,X=Math.floor(_.length/16);for(let it=0;itv(X,j.length).update(pc(j)).digest(),D=v(new Uint8Array(16),0);return _.outputLen=D.outputLen,_.blockLen=D.blockLen,_.create=(j,X)=>v(j,X),_}on((v,_)=>new ri(v,_)),on((v,_)=>new li(v,_)),new Uint8Array(16);const Va=283;function di(v){return v<<1^Va&-(v>>7)}function Un(v,_){let D=0;for(;_>0;_>>=1)D^=v&-(1&_),v=di(v);return D}const U=(()=>{let v=new Uint8Array(256);for(let D=0,j=1;D<256;D++,j^=di(j))v[D]=j;const _=new Uint8Array(256);_[0]=99;for(let D=0;D<255;D++){let j=v[255-D];j|=j<<8,_[v[D]]=255&(j^j>>4^j>>5^j>>6^j>>7^99)}return _})(),Tt=U.map((v,_)=>U.indexOf(_)),rt=v=>v<<24|v>>>8,mt=v=>v<<8|v>>>24;function xe(v,_){if(256!==v.length)throw new Error("Wrong sbox length");const D=new Uint32Array(256).map((_e,Pe)=>_(v[Pe])),j=D.map(mt),X=j.map(mt),it=X.map(mt),St=new Uint32Array(65536),Nt=new Uint32Array(65536),Xt=new Uint16Array(65536);for(let _e=0;_e<256;_e++)for(let Pe=0;Pe<256;Pe++){const Le=256*_e+Pe;St[Le]=D[_e]^j[Pe],Nt[Le]=X[_e]^it[Pe],Xt[Le]=v[_e]<<8|v[Pe]}return{sbox:v,sbox2:Xt,T0:D,T1:j,T2:X,T3:it,T01:St,T23:Nt}}const Ge=xe(U,v=>Un(v,3)<<24|v<<16|v<<8|Un(v,2)),Br=xe(Tt,v=>Un(v,11)<<24|Un(v,13)<<16|Un(v,9)<<8|Un(v,14)),eo=(()=>{const v=new Uint8Array(16);for(let _=0,D=1;_<16;_++,D=di(D))v[_]=D;return v})();function dn(v){wn(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:D}=Ge,j=vn(v),X=j.length,it=Nt=>No(D,Nt,Nt,Nt,Nt),St=new Uint32Array(_+28);St.set(j);for(let Nt=X;Nt6&&Nt%X==4&&(Xt=it(Xt)),St[Nt]=St[Nt-X]^Xt}return St}function Dn(v,_,D,j,X,it){return v[D<<8&65280|j>>>8&255]^_[X>>>8&65280|it>>>24&255]}function No(v,_,D,j,X){return v[255&_|65280&D]|v[j>>>16&255|X>>>16&65280]<<16}function ln(v,_,D,j,X){const{sbox2:it,T01:St,T23:Nt}=Ge;let Xt=0;_^=v[Xt++],D^=v[Xt++],j^=v[Xt++],X^=v[Xt++];const _e=v.length/4-2;for(let er=0;er<_e;er++){const Ye=v[Xt++]^Dn(St,Nt,_,D,j,X),Ze=v[Xt++]^Dn(St,Nt,D,j,X,_),br=v[Xt++]^Dn(St,Nt,j,X,_,D),Dr=v[Xt++]^Dn(St,Nt,X,_,D,j);_=Ye,D=Ze,j=br,X=Dr}return{s0:v[Xt++]^No(it,_,D,j,X),s1:v[Xt++]^No(it,D,j,X,_),s2:v[Xt++]^No(it,j,X,_,D),s3:v[Xt++]^No(it,X,_,D,j)}}function nn(v,_,D,j,X){const{sbox2:it,T01:St,T23:Nt}=Br;let Xt=0;_^=v[Xt++],D^=v[Xt++],j^=v[Xt++],X^=v[Xt++];const _e=v.length/4-2;for(let er=0;er<_e;er++){const Ye=v[Xt++]^Dn(St,Nt,_,X,j,D),Ze=v[Xt++]^Dn(St,Nt,D,_,X,j),br=v[Xt++]^Dn(St,Nt,j,D,_,X),Dr=v[Xt++]^Dn(St,Nt,X,j,D,_);_=Ye,D=Ze,j=br,X=Dr}return{s0:v[Xt++]^No(it,_,X,j,D),s1:v[Xt++]^No(it,D,_,X,j),s2:v[Xt++]^No(it,j,D,_,X),s3:v[Xt++]^No(it,X,j,D,_)}}function xn(v,_){if(!_)return new Uint8Array(v);if(wn(_),_.length{const Nt=dn(_),{b:Xt,o:_e,out:Pe}=function Hs(v,_,D){let j=v.length;const X=j%16;if(!_&&0!==X)throw new Error("aec/(cbc-ecb): unpadded plaintext with disabled padding");const it=vn(v);if(_){let Xt=16-X;Xt||(Xt=16),j+=Xt}const St=xn(j,D);return{b:it,o:vn(St),out:St}}(it,X,St),Le=vn(D);let rr=Le[0],hr=Le[1],er=Le[2],Ye=Le[3],Ze=0;for(;Ze+4<=Xt.length;)rr^=Xt[Ze+0],hr^=Xt[Ze+1],er^=Xt[Ze+2],Ye^=Xt[Ze+3],({s0:rr,s1:hr,s2:er,s3:Ye}=ln(Nt,rr,hr,er,Ye)),_e[Ze++]=rr,_e[Ze++]=hr,_e[Ze++]=er,_e[Ze++]=Ye;if(X){const br=function As(v){const _=new Uint8Array(16),D=vn(_);_.set(v);const j=16-v.length;for(let X=16-j;X<16;X++)_[X]=j;return D}(it.subarray(4*Ze));rr^=br[0],hr^=br[1],er^=br[2],Ye^=br[3],({s0:rr,s1:hr,s2:er,s3:Ye}=ln(Nt,rr,hr,er,Ye)),_e[Ze++]=rr,_e[Ze++]=hr,_e[Ze++]=er,_e[Ze++]=Ye}return Nt.fill(0),Pe},decrypt:(it,St)=>{!function Yi(v){if(wn(v),v.length%16!=0)throw new Error("aes/(cbc-ecb).decrypt ciphertext should consist of blocks with size 16")}(it);const Nt=function In(v){const _=dn(v),D=_.slice(),j=_.length,{sbox2:X}=Ge,{T0:it,T1:St,T2:Nt,T3:Xt}=Br;for(let _e=0;_e>>8&255]^Nt[Le>>>16&255]^Xt[Le>>>24]}return D}(_),Xt=vn(D),_e=xn(it.length,St),Pe=vn(it),Le=vn(_e);let rr=Xt[0],hr=Xt[1],er=Xt[2],Ye=Xt[3];for(let Ze=0;Ze+4<=Pe.length;){const br=rr,Dr=hr,Zr=er,io=Ye;rr=Pe[Ze+0],hr=Pe[Ze+1],er=Pe[Ze+2],Ye=Pe[Ze+3];const{s0:Po,s1:mo,s2:So,s3:jo}=nn(Nt,rr,hr,er,Ye);Le[Ze++]=Po^br,Le[Ze++]=mo^Dr,Le[Ze++]=So^Zr,Le[Ze++]=jo^io}return Nt.fill(0),function La(v,_){if(!_)return v;const D=v.length;if(!D)throw new Error("aes/pcks5: empty ciphertext not allowed");const j=v[D-1];if(j<=0||j>16)throw new Error(`aes/pcks5: wrong padding byte: ${j}`);const X=v.subarray(0,-j);for(let it=0;it255&v[_++]|(255&v[_++])<<8;class Wi{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,wn(_=pc(_),32);const D=wi(_,0),j=wi(_,2),X=wi(_,4),it=wi(_,6),St=wi(_,8),Nt=wi(_,10),Xt=wi(_,12),_e=wi(_,14);this.r[0]=8191&D,this.r[1]=8191&(D>>>13|j<<3),this.r[2]=7939&(j>>>10|X<<6),this.r[3]=8191&(X>>>7|it<<9),this.r[4]=255&(it>>>4|St<<12),this.r[5]=St>>>1&8190,this.r[6]=8191&(St>>>14|Nt<<2),this.r[7]=8065&(Nt>>>11|Xt<<5),this.r[8]=8191&(Xt>>>8|_e<<8),this.r[9]=_e>>>5&127;for(let Pe=0;Pe<8;Pe++)this.pad[Pe]=wi(_,16+2*Pe)}process(_,D,j=!1){const X=j?0:2048,{h:it,r:St}=this,Nt=St[0],Xt=St[1],_e=St[2],Pe=St[3],Le=St[4],rr=St[5],hr=St[6],er=St[7],Ye=St[8],Ze=St[9],br=wi(_,D+0),Dr=wi(_,D+2),Zr=wi(_,D+4),io=wi(_,D+6),Po=wi(_,D+8),mo=wi(_,D+10),So=wi(_,D+12),jo=wi(_,D+14);let Nn=it[0]+(8191&br),kn=it[1]+(8191&(br>>>13|Dr<<3)),tn=it[2]+(8191&(Dr>>>10|Zr<<6)),ti=it[3]+(8191&(Zr>>>7|io<<9)),ei=it[4]+(8191&(io>>>4|Po<<12)),vi=it[5]+(Po>>>1&8191),oo=it[6]+(8191&(Po>>>14|mo<<2)),ho=it[7]+(8191&(mo>>>11|So<<5)),Yo=it[8]+(8191&(So>>>8|jo<<8)),mn=it[9]+(jo>>>5|X),vo=0,an=vo+Nn*Nt+kn*(5*Ze)+tn*(5*Ye)+ti*(5*er)+ei*(5*hr);vo=an>>>13,an&=8191,an+=vi*(5*rr)+oo*(5*Le)+ho*(5*Pe)+Yo*(5*_e)+mn*(5*Xt),vo+=an>>>13,an&=8191;let _i=vo+Nn*Xt+kn*Nt+tn*(5*Ze)+ti*(5*Ye)+ei*(5*er);vo=_i>>>13,_i&=8191,_i+=vi*(5*hr)+oo*(5*rr)+ho*(5*Le)+Yo*(5*Pe)+mn*(5*_e),vo+=_i>>>13,_i&=8191;let zn=vo+Nn*_e+kn*Xt+tn*Nt+ti*(5*Ze)+ei*(5*Ye);vo=zn>>>13,zn&=8191,zn+=vi*(5*er)+oo*(5*hr)+ho*(5*rr)+Yo*(5*Le)+mn*(5*Pe),vo+=zn>>>13,zn&=8191;let Ba=vo+Nn*Pe+kn*_e+tn*Xt+ti*Nt+ei*(5*Ze);vo=Ba>>>13,Ba&=8191,Ba+=vi*(5*Ye)+oo*(5*er)+ho*(5*hr)+Yo*(5*rr)+mn*(5*Le),vo+=Ba>>>13,Ba&=8191;let Ns=vo+Nn*Le+kn*Pe+tn*_e+ti*Xt+ei*Nt;vo=Ns>>>13,Ns&=8191,Ns+=vi*(5*Ze)+oo*(5*Ye)+ho*(5*er)+Yo*(5*hr)+mn*(5*rr),vo+=Ns>>>13,Ns&=8191;let oc=vo+Nn*rr+kn*Le+tn*Pe+ti*_e+ei*Xt;vo=oc>>>13,oc&=8191,oc+=vi*Nt+oo*(5*Ze)+ho*(5*Ye)+Yo*(5*er)+mn*(5*hr),vo+=oc>>>13,oc&=8191;let mc=vo+Nn*hr+kn*rr+tn*Le+ti*Pe+ei*_e;vo=mc>>>13,mc&=8191,mc+=vi*Xt+oo*Nt+ho*(5*Ze)+Yo*(5*Ye)+mn*(5*er),vo+=mc>>>13,mc&=8191;let vs=vo+Nn*er+kn*hr+tn*rr+ti*Le+ei*Pe;vo=vs>>>13,vs&=8191,vs+=vi*_e+oo*Xt+ho*Nt+Yo*(5*Ze)+mn*(5*Ye),vo+=vs>>>13,vs&=8191;let Xs=vo+Nn*Ye+kn*er+tn*hr+ti*rr+ei*Le;vo=Xs>>>13,Xs&=8191,Xs+=vi*Pe+oo*_e+ho*Xt+Yo*Nt+mn*(5*Ze),vo+=Xs>>>13,Xs&=8191;let _s=vo+Nn*Ze+kn*Ye+tn*er+ti*hr+ei*rr;vo=_s>>>13,_s&=8191,_s+=vi*Le+oo*Pe+ho*_e+Yo*Xt+mn*Nt,vo+=_s>>>13,_s&=8191,vo=(vo<<2)+vo|0,vo=vo+an|0,an=8191&vo,vo>>>=13,_i+=vo,it[0]=an,it[1]=_i,it[2]=zn,it[3]=Ba,it[4]=Ns,it[5]=oc,it[6]=mc,it[7]=vs,it[8]=Xs,it[9]=_s}finalize(){const{h:_,pad:D}=this,j=new Uint16Array(10);let X=_[1]>>>13;_[1]&=8191;for(let Nt=2;Nt<10;Nt++)_[Nt]+=X,X=_[Nt]>>>13,_[Nt]&=8191;_[0]+=5*X,X=_[0]>>>13,_[0]&=8191,_[1]+=X,X=_[1]>>>13,_[1]&=8191,_[2]+=X,j[0]=_[0]+5,X=j[0]>>>13,j[0]&=8191;for(let Nt=1;Nt<10;Nt++)j[Nt]=_[Nt]+X,X=j[Nt]>>>13,j[Nt]&=8191;j[9]-=8192;let it=(1^X)-1;for(let Nt=0;Nt<10;Nt++)j[Nt]&=it;it=~it;for(let Nt=0;Nt<10;Nt++)_[Nt]=_[Nt]&it|j[Nt];_[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 St=_[0]+D[0];_[0]=65535&St;for(let Nt=1;Nt<8;Nt++)St=(_[Nt]+D[Nt]|0)+(St>>>16)|0,_[Nt]=65535&St}update(_){ba(this);const{buffer:D,blockLen:j}=this,X=(_=pc(_)).length;for(let it=0;it>>0,_[it++]=j[St]>>>8;return _}digest(){const{buffer:_,outputLen:D}=this;this.digestInto(_);const j=_.slice(0,D);return this.destroy(),j}}const sd=function kc(v){const _=(j,X)=>v(X).update(pc(j)).digest(),D=v(new Uint8Array(32));return _.outputLen=D.outputLen,_.blockLen=D.blockLen,_.create=j=>v(j),_}(v=>new Wi(v)),gl=v=>Uint8Array.from(v.split("").map(_=>_.charCodeAt(0))),cd=gl("expand 16-byte k"),Ud=gl("expand 32-byte k"),sp=vn(cd),$d=vn(Ud);function $o(v,_){return v<<_|v>>>32-_}function Tl(v){return v.byteOffset%4==0}$d.slice();const zs=2**32-1,Bo=new Uint32Array;function Gc(v,_){const{allowShortKeys:D,extendNonceFn:j,counterLength:X,counterRight:it,rounds:St}=function Hc(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 js(X),js(St),pl(it),pl(D),(Nt,Xt,_e,Pe,Le=0)=>{wn(Nt),wn(Xt),wn(_e);const rr=_e.length;if(Pe||(Pe=new Uint8Array(rr)),wn(Pe),js(Le),Le<0||Le>=zs)throw new Error("arx: counter overflow");if(Pe.length=zs)throw new Error("arx: counter overflow");const Ye=Math.min(64,Xt-er);if(Le&&64===Ye){const Ze=er/4;if(er%4!=0)throw new Error("arx: invalid block position");for(let Dr,br=0;br<16;br++)Dr=Ze+br,hr[Dr]=rr[Dr]^Pe[br];er+=64}else{for(let br,Ze=0;Ze0;)hr.pop().fill(0);return Pe}}function gc(v,_,D,j,X,it=20){let St=v[0],Nt=v[1],Xt=v[2],_e=v[3],Pe=_[0],Le=_[1],rr=_[2],hr=_[3],er=_[4],Ye=_[5],Ze=_[6],br=_[7],Dr=X,Zr=D[0],io=D[1],Po=D[2],mo=St,So=Nt,jo=Xt,Nn=_e,kn=Pe,tn=Le,ti=rr,ei=hr,vi=er,oo=Ye,ho=Ze,Yo=br,mn=Dr,vo=Zr,an=io,_i=Po;for(let Ba=0;Ba{v.update(_);const D=_.length%16;D&&v.update(qn.subarray(D))},fl=new Uint8Array(32);function oa(v,_,D,j,X){const it=v(_,D,fl),St=sd.create(it);X&&Do(St,X),Do(St,j);const Nt=new Uint8Array(16),Xt=Ic(Nt);zi(Xt,0,BigInt(X?X.length:0),!0),zi(Xt,8,BigInt(j.length),!0),St.update(Nt);const _e=St.digest();return it.fill(0),_e}const R=v=>(_,D,j)=>(wn(_,32),wn(D),{encrypt:(it,St)=>{const Nt=it.length,Xt=Nt+16;St?wn(St,Xt):St=new Uint8Array(Xt),v(_,D,it,St,1);const _e=oa(v,_,D,St.subarray(0,-16),j);return St.set(_e,Nt),St},decrypt:(it,St)=>{const Nt=it.length,Xt=Nt-16;if(Nt<16)throw new Error("encrypted data must be at least 16 bytes");St?wn(St,Xt):St=new Uint8Array(Xt);const _e=it.subarray(0,-16);if(!ps(it.subarray(-16),oa(v,_,D,_e,j)))throw new Error("invalid tag");return v(_,D,_e,St,1),St}});R(Xc),R(Ws);class K extends Xo.Vw{constructor(_,D){super(),this.finished=!1,this.destroyed=!1,Ci.hash(_);const j=(0,Xo.ZJ)(D);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 X=this.blockLen,it=new Uint8Array(X);it.set(j.length>X?_.create().update(j).digest():j);for(let St=0;Stnew K(v,_).update(D).digest();gt.create=(v,_)=>new K(v,_);const De=new Uint8Array([0]),pr=new Uint8Array;var un=Object.defineProperty,Io=(v,_)=>{for(var D in _)un(v,D,{get:_[D],enumerable:!0})},Gn=Symbol("verified"),Ia=v=>v instanceof Object;function na(v){if(!Ia(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;_up,QueueNode:()=>dp,binarySearch:()=>wu,insertEventIntoAscendingList:()=>Zg,insertEventIntoDescendingList:()=>jd,normalizeURL:()=>Ks,utf8Decoder:()=>Wo,utf8Encoder:()=>Ya});var Wo=new TextDecoder("utf-8"),Ya=new TextEncoder;function Ks(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 jd(v,_){const[D,j]=wu(v,X=>_.id===X.id?0:_.created_at===X.created_at?-1:X.created_at-_.created_at);return j||v.splice(D,0,_),v}function Zg(v,_){const[D,j]=wu(v,X=>_.id===X.id?0:_.created_at===X.created_at?-1:_.created_at-X.created_at);return j||v.splice(D,0,_),v}function wu(v,_){let D=0,j=v.length-1;for(;D<=j;){const X=Math.floor((D+j)/2),it=_(v[X]);if(0===it)return[X,!0];it<0?j=X-1:D=X+1}return[D,!1]}var dp=class{value;next=null;prev=null;constructor(v){this.value=v}},up=class{first;last;constructor(){this.first=null,this.last=null}enqueue(v){const _=new dp(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 Yc(v){let _=Sa(Ya.encode(function ml(v){if(!na(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,Xo.My)(_)}var Qc=new class{generateSecretKey(){return Ri.utils.randomPrivateKey()}getPublicKey(v){return(0,Xo.My)(Ri.getPublicKey(v))}finalizeEvent(v,_){const D=v;return D.pubkey=(0,Xo.My)(Ri.getPublicKey(_)),D.id=Yc(D),D.sig=(0,Xo.My)(Ri.sign(Yc(D),_)),D[Gn]=!0,D}verifyEvent(v){if("boolean"==typeof v[Gn])return v[Gn];const _=Yc(v);if(_!==v.id)return v[Gn]=!1,!1;try{const D=Ri.verify(v.sig,_,v.pubkey);return v[Gn]=D,D}catch{return v[Gn]=!1,!1}}},dd=Qc.generateSecretKey,ud=Qc.getPublicKey,Js=Qc.finalizeEvent,_r=Qc.verifyEvent;function Ml(v){return 1e3<=v&&v<1e4||[1,2,4,5,6,7,8,16,40,41,42,43,44].includes(v)}function pd(v){return[0,3].includes(v)||1e4<=v&&v<2e4}function An(v){return 2e4<=v&&v<3e4}function Nc(v){return 3e4<=v&&v<4e4}function Rs(v){return Ml(v)?"regular":pd(v)?"replaceable":An(v)?"ephemeral":Nc(v)?"parameterized":"unknown"}function Qa(v,_){const D=_ instanceof Array?_:[_];return na(v)&&D.includes(v.kind)||!1}Io({},{Application:()=>vl,BadgeAward:()=>Za,BadgeDefinition:()=>fp,BlockedRelaysList:()=>yi,BookmarkList:()=>oi,Bookmarksets:()=>wl,Calendar:()=>Lc,CalendarEventRSVP:()=>xh,ChannelCreation:()=>L,ChannelHideMessage:()=>xt,ChannelMessage:()=>nt,ChannelMetadata:()=>$,ChannelMuteUser:()=>Ut,ClassifiedListing:()=>Jg,ClientAuth:()=>fa,CommunitiesList:()=>Jn,CommunityDefinition:()=>ef,CommunityPostApproval:()=>ro,Contacts:()=>qg,CreateOrUpdateProduct:()=>yl,CreateOrUpdateStall:()=>fc,Curationsets:()=>tl,Date:()=>tf,DirectMessageRelaysList:()=>Vo,DraftClassifiedListing:()=>Wd,DraftLong:()=>Vd,Emojisets:()=>Hd,EncryptedDirectMessage:()=>hp,EventDeletion:()=>gp,FileMetadata:()=>We,FileServerPreference:()=>Hn,Followsets:()=>qc,GenericRepost:()=>I,Genericlists:()=>bl,GiftWrap:()=>Ie,HTTPAuth:()=>Cc,Handlerinformation:()=>Kd,Handlerrecommendation:()=>_u,Highlights:()=>no,InterestsList:()=>bs,Interestsets:()=>Ja,JobFeedback:()=>Xr,JobRequest:()=>Ar,JobResult:()=>Vr,Label:()=>zr,LightningPubRPC:()=>Ai,LiveChatMessage:()=>sr,LiveEvent:()=>mp,LongFormArticle:()=>el,Metadata:()=>Il,Mutelist:()=>Co,NWCWalletInfo:()=>Yn,NWCWalletRequest:()=>qa,NWCWalletResponse:()=>Pa,NostrConnect:()=>tc,OpenTimestamps:()=>pe,Pinlist:()=>Go,PrivateDirectMessage:()=>vu,ProblemTracker:()=>Cr,ProfileBadges:()=>Ol,PublicChatsList:()=>Xn,Reaction:()=>Zc,RecommendRelay:()=>yu,RelayList:()=>Uo,Relaysets:()=>Jc,Report:()=>Qe,Reporting:()=>Gr,Repost:()=>fs,Seal:()=>Ec,SearchRelaysList:()=>Si,ShortTextNote:()=>gs,Time:()=>bp,UserEmojiList:()=>wo,UserStatuses:()=>zd,Zap:()=>Oo,ZapGoal:()=>yo,ZapRequest:()=>Ur,classifyKind:()=>Rs,isEphemeralKind:()=>An,isKind:()=>Qa,isParameterizedReplaceableKind:()=>Nc,isRegularKind:()=>Ml,isReplaceableKind:()=>pd});var Il=0,gs=1,yu=2,qg=3,hp=4,gp=5,fs=6,Zc=7,Za=8,Ec=13,vu=14,I=16,L=40,$=41,nt=42,xt=43,Ut=44,pe=1040,Ie=1059,We=1063,sr=1311,Cr=1971,Qe=1984,Gr=1984,zr=1985,ro=4550,Ar=5999,Vr=6999,Xr=7e3,yo=9041,Ur=9734,Oo=9735,no=9802,Co=1e4,Go=10001,Uo=10002,oi=10003,Jn=10004,Xn=10005,yi=10006,Si=10007,bs=10015,wo=10030,Vo=10050,Hn=10096,Yn=13194,Ai=21e3,fa=22242,qa=23194,Pa=23195,tc=24133,Cc=27235,qc=3e4,bl=30001,Jc=30002,wl=30003,tl=30004,Ol=30008,fp=30009,Ja=30015,fc=30017,yl=30018,el=30023,Vd=30024,Hd=30030,vl=30078,mp=30311,zd=30315,Jg=30402,Wd=30403,tf=31922,bp=31923,Lc=31924,xh=31925,_u=31989,Kd=31990,ef=34550;function Pc(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 D in v)if("#"===D[0]){let X=v[`#${D.slice(1)}`];if(X&&!_.tags.find(([it,St])=>it===D.slice(1)&&-1!==X.indexOf(St)))return!1}return!(v.since&&_.created_atv.until)}function Rl(v,_){let D=_.length+3,j=v.indexOf(`"${_}":`)+D,X=v.slice(j).indexOf('"')+j+1;return v.slice(X,X+64)}function Nl(v,_){let D=_.length,j=v.indexOf(`"${_}":`)+D+3,X=v.slice(j),it=Math.min(X.indexOf(","),X.indexOf("}"));return parseInt(X.slice(0,it),10)}function ku(v){let _=v.slice(0,22).indexOf('"EVENT"');if(-1===_)return null;let D=v.slice(_+7+1).indexOf('"');if(-1===D)return null;let j=_+7+1+D,X=v.slice(j+1,80).indexOf('"');return-1===X?null:v.slice(j+1,j+1+X)}function Gd(v,_){return _===Rl(v,"id")}function Eh(v,_){return _===Rl(v,"pubkey")}function yp(v,_){return _===Nl(v,"kind")}function vp(v,_){return{kind:fa,created_at:Math.floor(Date.now()/1e3),tags:[["relay",v],["challenge",_]],content:""}}function hd(){return Fc.apply(this,arguments)}function Fc(){return(Fc=(0,a.A)(function*(){return new Promise(v=>{const _=new MessageChannel,D=()=>{_.port1.removeEventListener("message",D),v()};_.port1.addEventListener("message",D),_.port2.postMessage(0),_.port1.start()})})).apply(this,arguments)}Io({},{getHex64:()=>Rl,getInt:()=>Nl,getSubscriptionId:()=>ku,matchEventId:()=>Gd,matchEventKind:()=>yp,matchEventPubkey:()=>Eh}),Io({},{makeAuthEvent:()=>vp});var Pm=v=>(v[Gn]=!0,!0),Eu=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 up;queueRunning=!1;challenge;serial=0;verifyEvent;_WebSocket;constructor(v,_){this.url=Ks(v),this.verifyEvent=_.verifyEvent,this._WebSocket=_.websocketImplementation||WebSocket}static connect(v,_){return(0,a.A)(function*(){const D=new Eu(v,_);return yield D.connect(),D})()}closeAllSubscriptions(v){for(let[_,D]of this.openSubs)D.close(v);this.openSubs.clear();for(let[_,D]of this.openEventPublishes)D.reject(new Error(v));this.openEventPublishes.clear();for(let[_,D]of this.openCountRequests)D.reject(new Error(v));this.openCountRequests.clear()}get connected(){return this._connected}connect(){var v=this;return(0,a.A)(function*(){return v.connectionPromise||(v.challenge=void 0,v.connectionPromise=new Promise((_,D)=>{v.connectionTimeoutHandle=setTimeout(()=>{D("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 D(j)}v.ws.onopen=()=>{clearTimeout(v.connectionTimeoutHandle),v._connected=!0,_()},v.ws.onerror=j=>{D(j.message||"websocket error"),v._connected&&(v._connected=!1,v.connectionPromise=void 0,v.onclose?.(),v.closeAllSubscriptions("relay connection errored"))},v.ws.onclose=(0,a.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,a.A)(function*(){for(v.queueRunning=!0;!1!==v.handleNext();)yield hd();v.queueRunning=!1})()}handleNext(){const v=this.incomingMessageQueue.dequeue();if(!v)return!1;const _=ku(v);if(_){const D=this.openSubs.get(_);if(!D)return;const j=Rl(v,"id"),X=D.alreadyHaveEvent?.(j);if(D.receivedEvent?.(this,j),X)return}try{let D=JSON.parse(v);switch(D[0]){case"EVENT":{const j=this.openSubs.get(D[1]),X=D[2];return void(this.verifyEvent(X)&&function rf(v,_){for(let D=0;D{_.ws?.send(v)})})()}auth(v){var _=this;return(0,a.A)(function*(){if(!_.challenge)throw new Error("can't perform auth, no challenge was received");const D=yield v(vp(_.url,_.challenge)),j=new Promise((X,it)=>{_.openEventPublishes.set(D.id,{resolve:X,reject:it})});return _.send('["AUTH",'+JSON.stringify(D)+"]"),j})()}publish(v){var _=this;return(0,a.A)(function*(){const D=new Promise((j,X)=>{_.openEventPublishes.set(v.id,{resolve:j,reject:X})});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),D})()}count(v,_){var D=this;return(0,a.A)(function*(){D.serial++;const j=_?.id||"count:"+D.serial,X=new Promise((it,St)=>{D.openCountRequests.set(j,{resolve:it,reject:St})});return D.send('["COUNT","'+j+'",'+JSON.stringify(v).substring(1)),X})()}subscribe(v,_){const D=this.prepareSubscription(v,_);return D.fire(),D}prepareSubscription(v,_){this.serial++;const D=_.id||"sub:"+this.serial,j=new _p(this,D,v,_);return this.openSubs.set(D,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()}},_p=class{relay;id;closed=!1;eosed=!1;filters;alreadyHaveEvent;receivedEvent;onevent;oneose;onclose;eoseTimeout;eoseTimeoutHandle;constructor(v,_,D,j){this.relay=v,this.filters=D,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||(X=>{console.warn(`onevent() callback not defined for subscription '${this.id}' in relay ${this.relay.url}. event received:`,X)})}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 Dh,Fa=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 D=this;return(0,a.A)(function*(){v=Ks(v);let j=D.relays.get(v);return j||(j=new Eu(v,{verifyEvent:D.trustedRelayURLs.has(v)?Pm:D.verifyEvent,websocketImplementation:D._WebSocket}),_?.connectionTimeout&&(j.connectionTimeout=_.connectionTimeout),D.relays.set(v,j)),yield j.connect(),j})()}close(v){v.map(Ks).forEach(_=>{this.relays.get(_)?.close()})}subscribeMany(v,_,D){return this.subscribeManyMap(Object.fromEntries(v.map(j=>[j,_])),D)}subscribeManyMap(v,_){var D=this;this.trackRelays&&(_.receivedEvent=(rr,hr)=>{let er=this.seenOn.get(hr);er||(er=new Set,this.seenOn.set(hr,er)),er.add(rr)});const j=new Set,X=[],it=Object.keys(v).length,St=[];let Nt=rr=>{St[rr]=!0,St.filter(hr=>hr).length===it&&(_.oneose?.(),Nt=()=>{})};const Xt=[];let _e=(rr,hr)=>{Nt(rr),Xt[rr]=hr,Xt.filter(er=>er).length===it&&(_.onclose?.(Xt),_e=()=>{})};const Pe=rr=>{if(_.alreadyHaveEvent?.(rr))return!0;const hr=j.has(rr);return j.add(rr),hr},Le=Promise.all(Object.entries(v).map(function(){var rr=(0,a.A)(function*(hr,er,Ye){if(Ye.indexOf(hr)!==er)return void _e(er,"duplicate url");let Dr,[Ze,br]=hr;Ze=Ks(Ze);try{Dr=yield D.ensureRelay(Ze,{connectionTimeout:_.maxWait?Math.max(.8*_.maxWait,_.maxWait-1e3):void 0})}catch(io){return void _e(er,io?.message||String(io))}let Zr=Dr.subscribe(br,{..._,oneose:()=>Nt(er),onclose:io=>_e(er,io),alreadyHaveEvent:Pe,eoseTimeout:_.maxWait});X.push(Zr)});return function(hr,er,Ye){return rr.apply(this,arguments)}}()));return{close:()=>(0,a.A)(function*(){yield Le,X.forEach(rr=>{rr.close()})})()}}subscribeManyEose(v,_,D){const j=this.subscribeMany(v,_,{...D,oneose(){j.close()}});return j}querySync(v,_,D){var j=this;return(0,a.A)(function*(){return new Promise(function(){var X=(0,a.A)(function*(it){const St=[];j.subscribeManyEose(v,[_],{...D,onevent(Nt){St.push(Nt)},onclose(Nt){it(St)}})});return function(it){return X.apply(this,arguments)}}())})()}get(v,_,D){var j=this;return(0,a.A)(function*(){_.limit=1;const X=yield j.querySync(v,_,D);return X.sort((it,St)=>St.created_at-it.created_at),X[0]||null})()}publish(v,_){var D=this;return v.map(Ks).map(function(){var j=(0,a.A)(function*(X,it,St){if(St.indexOf(X)!==it)return Promise.reject("duplicate url");let Nt=yield D.ensureRelay(X);return Nt.publish(_).then(Xt=>{if(D.trackRelays){let _e=D.seenOn.get(_.id);_e||(_e=new Set,D.seenOn.set(_.id,_e)),_e.add(Nt)}return Xt})});return function(X,it,St){return j.apply(this,arguments)}}())}listConnectionStatus(){const v=new Map;return this.relays.forEach((_,D)=>v.set(D,_.connected)),v}destroy(){this.relays.forEach(v=>v.close()),this.relays=new Map}};try{Dh=WebSocket}catch{}var xp=class extends Fa{constructor(){super({verifyEvent:_r,websocketImplementation:Dh})}},Cu={};Io(Cu,{BECH32_REGEX:()=>Yd,Bech32MaxSize:()=>Xd,NostrTypeGuard:()=>nf,decode:()=>fd,encodeBytes:()=>Gs,naddrEncode:()=>Tu,neventEncode:()=>Zd,noteEncode:()=>Ah,nprofileEncode:()=>Au,npubEncode:()=>Sh,nsecEncode:()=>Du});var nf={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||"")},Xd=5e3,Yd=/[\x21-\x7E]{1,83}1[023456789acdefghjklmnpqrstuvwxyz]{6,}/;function fd(v){let{prefix:_,words:D}=lt.decode(v,Xd),j=new Uint8Array(lt.fromWords(D));switch(_){case"nprofile":{let X=Qd(j);if(!X[0]?.[0])throw new Error("missing TLV 0 for nprofile");if(32!==X[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nprofile",data:{pubkey:(0,Xo.My)(X[0][0]),relays:X[1]?X[1].map(it=>Wo.decode(it)):[]}}}case"nevent":{let X=Qd(j);if(!X[0]?.[0])throw new Error("missing TLV 0 for nevent");if(32!==X[0][0].length)throw new Error("TLV 0 should be 32 bytes");if(X[2]&&32!==X[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(X[3]&&4!==X[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"nevent",data:{id:(0,Xo.My)(X[0][0]),relays:X[1]?X[1].map(it=>Wo.decode(it)):[],author:X[2]?.[0]?(0,Xo.My)(X[2][0]):void 0,kind:X[3]?.[0]?parseInt((0,Xo.My)(X[3][0]),16):void 0}}}case"naddr":{let X=Qd(j);if(!X[0]?.[0])throw new Error("missing TLV 0 for naddr");if(!X[2]?.[0])throw new Error("missing TLV 2 for naddr");if(32!==X[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(!X[3]?.[0])throw new Error("missing TLV 3 for naddr");if(4!==X[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"naddr",data:{identifier:Wo.decode(X[0][0]),pubkey:(0,Xo.My)(X[2][0]),kind:parseInt((0,Xo.My)(X[3][0]),16),relays:X[1]?X[1].map(it=>Wo.decode(it)):[]}}}case"nsec":return{type:_,data:j};case"npub":case"note":return{type:_,data:(0,Xo.My)(j)};default:throw new Error(`unknown prefix ${_}`)}}function Qd(v){let _={},D=v;for(;D.length>0;){let j=D[0],X=D[1],it=D.slice(2,2+X);if(D=D.slice(2+X),it.lengthYa.encode(D))}))}function Zd(v){let _;return void 0!==v.kind&&(_=function kp(v){const _=new Uint8Array(4);return _[0]=v>>24&255,_[1]=v>>16&255,_[2]=v>>8&255,_[3]=255&v,_}(v.kind)),Su("nevent",Ep({0:[(0,Xo.aT)(v.id)],1:(v.relays||[]).map(j=>Ya.encode(j)),2:v.author?[(0,Xo.aT)(v.author)]:[],3:_?[new Uint8Array(_)]:[]}))}function Tu(v){let _=new ArrayBuffer(4);return new DataView(_).setUint32(0,v.kind,!1),Su("naddr",Ep({0:[Ya.encode(v.identifier)],1:(v.relays||[]).map(j=>Ya.encode(j)),2:[(0,Xo.aT)(v.pubkey)],3:[new Uint8Array(_)]}))}function Ep(v){let _=[];return Object.entries(v).reverse().forEach(([D,j])=>{j.forEach(X=>{let it=new Uint8Array(X.length+2);it.set([parseInt(D)],0),it.set([X.length],1),it.set(X,2),_.push(it)})}),(0,Xo.Id)(..._)}var Cp={};function Dp(v,_,D){return Qi.apply(this,arguments)}function Qi(){return(Qi=(0,a.A)(function*(v,_,D){const j=v instanceof Uint8Array?(0,Xo.My)(v):v,it=Th(xo.getSharedSecret(j,"02"+_));let St=Uint8Array.from((0,Xo.po)(16)),Nt=Ya.encode(D),Xt=qs(it,St).encrypt(Nt);return`${Qr.encode(new Uint8Array(Xt))}?iv=${Qr.encode(new Uint8Array(St.buffer))}`})).apply(this,arguments)}function cf(v,_,D){return Mu.apply(this,arguments)}function Mu(){return(Mu=(0,a.A)(function*(v,_,D){const j=v instanceof Uint8Array?(0,Xo.My)(v):v;let[X,it]=D.split("?iv="),Nt=Th(xo.getSharedSecret(j,"02"+_)),Xt=Qr.decode(it),_e=Qr.decode(X),Pe=qs(Nt,Xt).decrypt(_e);return Wo.decode(Pe)})).apply(this,arguments)}function Th(v){return v.slice(1,33)}Io(Cp,{decrypt:()=>cf,encrypt:()=>Dp}),Io({},{NIP05_REGEX:()=>va,isNip05:()=>Pl,isValid:()=>_l,queryProfile:()=>Ou,searchDomain:()=>md,useFetchImplementation:()=>rl});var Iu,va=/^(?:([\w.+-]+)@)?([\w_-]+(\.[\w_-]+)+)$/,Pl=v=>va.test(v||"");try{Iu=fetch}catch{}function rl(v){Iu=v}function md(v){return Mh.apply(this,arguments)}function Mh(){return(Mh=(0,a.A)(function*(v,_=""){try{const D=`https://${v}/.well-known/nostr.json?name=${_}`,j=yield Iu(D,{redirect:"manual"});if(200!==j.status)throw Error("Wrong response code");return(yield j.json()).names}catch{return{}}})).apply(this,arguments)}function Ou(v){return ol.apply(this,arguments)}function ol(){return(ol=(0,a.A)(function*(v){const _=v.match(va);if(!_)return null;const[,D="_",j]=_;try{const X=`https://${j}/.well-known/nostr.json?name=${D}`,it=yield Iu(X,{redirect:"manual"});if(200!==it.status)throw Error("Wrong response code");const St=yield it.json(),Nt=St.names[D];return Nt?{pubkey:Nt,relays:St.relays?.[Nt]}:null}catch{return null}})).apply(this,arguments)}function _l(v,_){return Ap.apply(this,arguments)}function Ap(){return(Ap=(0,a.A)(function*(v,_){const D=yield Ou(_);return!!D&&D.pubkey===v})).apply(this,arguments)}function nl(v){const _={reply:void 0,root:void 0,mentions:[],profiles:[],quotes:[]};let D,j;for(let X=v.tags.length-1;X>=0;X--){const it=v.tags[X];if("e"===it[0]&&it[1]){const[St,Nt,Xt,_e,Pe]=it,Le={id:Nt,relays:Xt?[Xt]:[],author:Pe};if("root"===_e){_.root=Le;continue}if("reply"===_e){_.reply=Le;continue}if("mention"===_e){_.mentions.push(Le);continue}D?j=Le:D=Le,_.mentions.push(Le)}else{if("q"===it[0]&&it[1]){const[St,Nt,Xt]=it;_.quotes.push({id:Nt,relays:Xt?[Xt]:[]})}"p"===it[0]&&it[1]&&_.profiles.push({pubkey:it[1],relays:it[2]?[it[2]]:[]})}}return _.root||(_.root=j||D||_.reply),_.reply||(_.reply=D||_.root),[_.reply,_.root].forEach(X=>{if(!X)return;let it=_.mentions.indexOf(X);if(-1!==it&&_.mentions.splice(it,1),X.author){let St=_.profiles.find(Nt=>Nt.pubkey===X.author);St&&St.relays&&(X.relays||(X.relays=[]),St.relays.forEach(Nt=>{-1===X.relays?.indexOf(Nt)&&X.relays.push(Nt)}),St.relays=X.relays)}}),_.mentions.forEach(X=>{if(X.author){let it=_.profiles.find(St=>St.pubkey===X.author);it&&it.relays&&(X.relays||(X.relays=[]),it.relays.forEach(St=>{-1===X.relays.indexOf(St)&&X.relays.push(St)}),it.relays=X.relays)}}),_}Io({},{parse:()=>nl}),Io({},{fetchRelayInformation:()=>a0,useFetchImplementation:()=>lf});try{fetch}catch{}function lf(v){}function a0(v){return xl.apply(this,arguments)}function xl(){return(xl=(0,a.A)(function*(v){return yield(yield fetch(v.replace("ws://","http://").replace("wss://","https://"),{headers:{Accept:"application/nostr+json"}})).json()})).apply(this,arguments)}function Mp(v){let _=0;for(let D=0;D<64;D+=8){const j=parseInt(v.substring(D,D+8),16);if(0!==j){_+=Math.clz32(j);break}_+=32}return _}function ia(v,_){let D=0;const j=v,X=["nonce",D.toString(),_.toString()];for(j.tags.push(X);;){const it=Math.floor((new Date).getTime()/1e3);if(it!==j.created_at&&(D=0,j.created_at=it),X[1]=(++D).toString(),j.id=Ih(j),Mp(j.id)>=_)break}return j}function Ih(v){return(0,Xo.My)(Sa(Ya.encode(JSON.stringify([0,v.pubkey,v.created_at,v.kind,v.tags,v.content]))))}function df(v,_,D,j){return Js({kind:fs,tags:[...v.tags??[],["e",_.id,D],["p",_.pubkey]],content:""===v.content?"":JSON.stringify(_),created_at:v.created_at},j)}function Oh(v){if(v.kind!==fs)return;let _,D;for(let j=v.tags.length-1;j>=0&&(void 0===_||void 0===D);j--){const X=v.tags[j];X.length>=2&&("e"===X[0]&&void 0===_?_=X:"p"===X[0]&&void 0===D&&(D=X))}return void 0!==_?{id:_[1],relays:[_[2],D?.[2]].filter(j=>"string"==typeof j),author:D?.[1]}:void 0}function Op(v,{skipVerification:_}={}){const D=Oh(v);if(void 0===D||""===v.content)return;let j;try{j=JSON.parse(v.content)}catch{return}return j.id===D.id&&(_||_r(j))?j:void 0}Io({},{fastEventHash:()=>Ih,getPow:()=>Mp,minePow:()=>ia}),Io({},{finishRepostEvent:()=>df,getRepostedEvent:()=>Op,getRepostedEventPointer:()=>Oh}),Io({},{NOSTR_URI_REGEX:()=>wd,parse:()=>uf,test:()=>Rp});var wd=new RegExp(`nostr:(${Yd.source})`);function Rp(v){return"string"==typeof v&&new RegExp(`^${wd.source}$`).test(v)}function uf(v){const _=v.match(new RegExp(`^${wd.source}$`));if(!_)throw new Error(`Invalid Nostr URI: ${v}`);return{uri:_[0],value:_[1],decoded:fd(_[1])}}function Nh(v,_,D){const j=_.tags.filter(X=>X.length>=2&&("e"===X[0]||"p"===X[0]));return Js({...v,kind:Zc,tags:[...v.tags??[],...j,["e",_.id],["p",_.pubkey]],content:v.content??"+"},D)}function Bm(v){if(v.kind!==Zc)return;let _,D;for(let j=v.tags.length-1;j>=0&&(void 0===_||void 0===D);j--){const X=v.tags[j];X.length>=2&&("e"===X[0]&&void 0===_?_=X:"p"===X[0]&&void 0===D&&(D=X))}return void 0!==_&&void 0!==D?{id:_[1],relays:[_[2],D[2]].filter(j=>void 0!==j),author:D[1]}:void 0}Io({},{finishReactionEvent:()=>Nh,getReactedEventPointer:()=>Bm}),Io({},{matchAll:()=>yd,regex:()=>Jd,replaceAll:()=>Um});var Jd=()=>new RegExp(`\\b${wd.source}\\b`,"g");function*yd(v){const _=v.matchAll(Jd());for(const D of _)try{const[j,X]=D;yield{uri:j,value:X,decoded:fd(X),start:D.index,end:D.index+j.length}}catch{}}function Um(v,_){return v.replaceAll(Jd(),(D,j)=>_({uri:D,value:j,decoded:fd(j)}))}Io({},{channelCreateEvent:()=>Lh,channelHideMessageEvent:()=>_d,channelMessageEvent:()=>$m,channelMetadataEvent:()=>vd,channelMuteUserEvent:()=>El});var Lh=(v,_)=>{let D;if("object"==typeof v.content)D=JSON.stringify(v.content);else{if("string"!=typeof v.content)return;D=v.content}return Js({kind:L,tags:[...v.tags??[]],content:D,created_at:v.created_at},_)},vd=(v,_)=>{let D;if("object"==typeof v.content)D=JSON.stringify(v.content);else{if("string"!=typeof v.content)return;D=v.content}return Js({kind:$,tags:[["e",v.channel_create_event_id],...v.tags??[]],content:D,created_at:v.created_at},_)},$m=(v,_)=>{const D=[["e",v.channel_create_event_id,v.relay_url,"root"]];return v.reply_to_channel_message_event_id&&D.push(["e",v.reply_to_channel_message_event_id,v.relay_url,"reply"]),Js({kind:nt,tags:[...D,...v.tags??[]],content:v.content,created_at:v.created_at},_)},_d=(v,_)=>{let D;if("object"==typeof v.content)D=JSON.stringify(v.content);else{if("string"!=typeof v.content)return;D=v.content}return Js({kind:xt,tags:[["e",v.channel_message_event_id],...v.tags??[]],content:D,created_at:v.created_at},_)},El=(v,_)=>{let D;if("object"==typeof v.content)D=JSON.stringify(v.content);else{if("string"!=typeof v.content)return;D=v.content}return Js({kind:Ut,tags:[["p",v.pubkey_to_mute],...v.tags??[]],content:D,created_at:v.created_at},_)};Io({},{EMOJI_SHORTCODE_REGEX:()=>Np,matchAll:()=>Ph,regex:()=>Nu,replaceAll:()=>tu});var eu,Np=/:(\w+):/,Nu=()=>new RegExp(`\\B${Np.source}\\B`,"g");function*Ph(v){const _=v.matchAll(Nu());for(const D of _)try{const[j,X]=D;yield{shortcode:j,name:X,start:D.index,end:D.index+j.length}}catch{}}function tu(v,_){return v.replaceAll(Nu(),(D,j)=>_({shortcode:D,name:j}))}Io({},{useFetchImplementation:()=>Lp,validateGithub:()=>ru});try{eu=fetch}catch{}function Lp(v){eu=v}function ru(v,_,D){return Fl.apply(this,arguments)}function Fl(){return(Fl=(0,a.A)(function*(v,_,D){try{return(yield(yield eu(`https://gist.github.com/${_}/${D}/raw`)).text())===`Verifying that I control the following Nostr public key: ${v}`}catch{return!1}})).apply(this,arguments)}Io({},{decrypt:()=>Up,encrypt:()=>nu,getConversationKey:()=>kd,v2:()=>Bl});var il=1,ou=65535;function kd(v,_){const D=xo.getSharedSecret(v,"02"+_).subarray(1,33);return function Vt(v,_,D){return Ci.hash(v),void 0===D&&(D=new Uint8Array(v.outputLen)),gt(v,(0,Xo.ZJ)(D),(0,Xo.ZJ)(_))}(Sa,D,"nip44-v2")}function Fh(v,_){const D=function nr(v,_,D,j=32){if(Ci.hash(v),Ci.number(j),j>255*v.outputLen)throw new Error("Length should be <= 255*HashLen");const X=Math.ceil(j/v.outputLen);void 0===D&&(D=pr);const it=new Uint8Array(X*v.outputLen),St=gt.create(v,_),Nt=St._cloneInto(),Xt=new Uint8Array(St.outputLen);for(let _e=0;_eou)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),_}(D),X=new Uint8Array(Lu(D)-D);return(0,Xo.Id)(j,_,X)}(v),Nt=Xc(j,X,St),Xt=Uh(it,Nt,D);return Qr.encode((0,Xo.Id)(new Uint8Array([2]),D,Nt,Xt))}function Up(v,_){const{nonce:D,ciphertext:j,mac:X}=function ws(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 D;try{D=Qr.decode(v)}catch(it){throw new Error("invalid base64: "+it.message)}const j=D.length;if(j<99||j>65603)throw new Error("invalid data length: "+j);const X=D[0];if(2!==X)throw new Error("unknown encryption version "+X);return{nonce:D.subarray(1,33),ciphertext:D.subarray(33,-32),mac:D.subarray(-32)}}(v),{chacha_key:it,chacha_nonce:St,hmac_key:Nt}=Fh(_,D);if(!ps(Uh(Nt,j,D),X))throw new Error("invalid MAC");return function Bh(v){const _=new DataView(v.buffer).getUint16(0),D=v.subarray(2,2+_);if(_ou||D.length!==_||v.length!==2+Lu(_))throw new Error("invalid padding");return Wo.decode(D)}(Xc(it,St,j))}var iu,Bl={utils:{getConversationKey:kd,calcPaddedLen:Lu},encrypt:nu,decrypt:Up};function hf(v){const{pathname:_,searchParams:D}=new URL(v),j=_,X=D.get("relay"),it=D.get("secret");if(!j||!X||!it)throw new Error("invalid connection string");return{pubkey:j,relay:X,secret:it}}function ys(v,_,D){return al.apply(this,arguments)}function al(){return(al=(0,a.A)(function*(v,_,D){const X=yield Dp(_,v,JSON.stringify({method:"pay_invoice",params:{invoice:D}})),it={kind:qa,created_at:Math.round(Date.now()/1e3),content:X,tags:[["p",v]]};return Js(it,_)})).apply(this,arguments)}Io({},{makeNwcRequestEvent:()=>ys,parseConnectionString:()=>hf}),Io({},{getZapEndpoint:()=>jp,makeZapReceipt:()=>Vp,makeZapRequest:()=>jh,useFetchImplementation:()=>$h,validateZapRequest:()=>Vh});try{iu=fetch}catch{}function $h(v){iu=v}function jp(v){return Pu.apply(this,arguments)}function Pu(){return(Pu=(0,a.A)(function*(v){try{let _="",{lud06:D,lud16:j}=JSON.parse(v.content);if(D){let{words:St}=lt.decode(D,1e3),Nt=lt.fromWords(St);_=Wo.decode(Nt)}else{if(!j)return null;{let[St,Nt]=j.split("@");_=new URL(`/.well-known/lnurlp/${St}`,`https://${Nt}`).toString()}}let it=yield(yield iu(_)).json();if(it.allowsNostr&&it.nostrPubkey)return it.callback}catch{}return null})).apply(this,arguments)}function jh({profile:v,event:_,amount:D,relays:j,comment:X=""}){if(!D)throw new Error("amount not given");if(!v)throw new Error("profile not given");let it={kind:9734,created_at:Math.round(Date.now()/1e3),content:X,tags:[["p",v],["amount",D.toString()],["relays",...j]]};return _&&it.tags.push(["e",_]),it}function Vh(v){let _;try{_=JSON.parse(v)}catch{return"Invalid zap request JSON."}if(!na(_))return"Zap request is not a valid Nostr event.";if(!_r(_))return"Invalid signature on zap request.";let D=_.tags.find(([it,St])=>"p"===it&&St);if(!D)return"Zap request doesn't have a 'p' tag.";if(!D[1].match(/^[a-f0-9]{64}$/))return"Zap request 'p' tag is not valid hex.";let j=_.tags.find(([it,St])=>"e"===it&&St);return j&&!j[1].match(/^[a-f0-9]{64}$/)?"Zap request 'e' tag is not valid hex.":_.tags.find(([it,St])=>"relays"===it&&St)?null:"Zap request doesn't have a 'relays' tag."}function Vp({zapRequest:v,preimage:_,bolt11:D,paidAt:j}){let X=JSON.parse(v),it=X.tags.filter(([Nt])=>"e"===Nt||"p"===Nt||"a"===Nt),St={kind:9735,created_at:Math.round(j.getTime()/1e3),content:"",tags:[...it,["P",X.pubkey],["bolt11",D],["description",v]]};return _&&St.tags.push(["preimage",_]),St}Io({},{createRumor:()=>Fu,createSeal:()=>Bu,createWrap:()=>Uu,unwrapEvent:()=>ff,unwrapManyEvents:()=>Wp,wrapEvent:()=>Ed,wrapManyEvents:()=>zp});var zh=()=>Math.round(Date.now()/1e3),Wh=()=>Math.round(zh()-172800*Math.random()),sl=(v,_)=>kd(v,_),Hp=(v,_,D)=>nu(JSON.stringify(v),sl(_,D)),au=(v,_)=>JSON.parse(Up(v.content,sl(_,v.pubkey)));function Fu(v,_){const D={created_at:zh(),content:"",tags:[],...v,pubkey:ud(_)};return D.id=Yc(D),D}function Bu(v,_,D){return Js({kind:Ec,content:Hp(v,_,D),created_at:Wh(),tags:[]},_)}function Uu(v,_){const D=dd();return Js({kind:Ie,content:Hp(v,D,_),created_at:Wh(),tags:[["p",_]]},D)}function Ed(v,_,D){return Uu(Bu(Fu(v,_),_,D),D)}function zp(v,_,D){if(!D||0===D.length)throw new Error("At least one recipient is required.");const j=ud(_),X=[Ed(v,_,j)];return D.forEach(it=>{X.push(Ed(v,_,it))}),X}function ff(v,_){const D=au(v,_);return au(D,_)}function Wp(v,_){let D=[];return v.forEach(j=>{D.push(ff(j,_))}),D.sort((j,X)=>j.created_at-X.created_at),D}Io({},{getToken:()=>Gh,hashPayload:()=>rc,unpackEventFromToken:()=>Xh,validateEvent:()=>Qp,validateEventKind:()=>Xp,validateEventMethodTag:()=>bf,validateEventPayloadTag:()=>Cd,validateEventTimestamp:()=>Yh,validateEventUrlTag:()=>Yp,validateToken:()=>Ul});var Kh="Nostr ";function Gh(v,_,D){return Kp.apply(this,arguments)}function Kp(){return(Kp=(0,a.A)(function*(v,_,D,j=!1,X){const it={kind:Cc,tags:[["u",v],["method",_]],created_at:Math.round((new Date).getTime()/1e3),content:""};X&&it.tags.push(["payload",rc(X)]);const St=yield D(it);return(j?Kh:"")+Qr.encode(Ya.encode(JSON.stringify(St)))})).apply(this,arguments)}function Ul(v,_,D){return $l.apply(this,arguments)}function $l(){return($l=(0,a.A)(function*(v,_,D){const j=yield Xh(v).catch(it=>{throw it});return yield Qp(j,_,D).catch(it=>{throw it})})).apply(this,arguments)}function Xh(v){return Gp.apply(this,arguments)}function Gp(){return(Gp=(0,a.A)(function*(v){if(!v)throw new Error("Missing token");v=v.replace(Kh,"");const _=Wo.decode(Qr.decode(v));if(!_||0===_.length||!_.startsWith("{"))throw new Error("Invalid token");return JSON.parse(_)})).apply(this,arguments)}function Yh(v){return!!v.created_at&&Math.round((new Date).getTime()/1e3)-v.created_at<60}function Xp(v){return v.kind===Cc}function Yp(v,_){const D=v.tags.find(j=>"u"===j[0]);return!!D&&D.length>0&&D[1]===_}function bf(v,_){const D=v.tags.find(j=>"method"===j[0]);return!!D&&D.length>0&&D[1].toLowerCase()===_.toLowerCase()}function rc(v){const _=Sa(Ya.encode(JSON.stringify(v)));return(0,Xo.My)(_)}function Cd(v,_){const D=v.tags.find(X=>"payload"===X[0]);if(!D)return!1;const j=rc(_);return D.length>0&&D[1]===j}function Qp(v,_,D,j){return su.apply(this,arguments)}function su(){return(su=(0,a.A)(function*(v,_,D,j){if(!_r(v))throw new Error("Invalid nostr event, signature invalid");if(!Xp(v))throw new Error("Invalid nostr event, kind invalid");if(!Yh(v))throw new Error("Invalid nostr event, created_at timestamp invalid");if(!Yp(v,_))throw new Error("Invalid nostr event, url tag invalid");if(!bf(v,D))throw new Error("Invalid nostr event, method tag invalid");if(j&&"object"==typeof j&&Object.keys(j).length>0&&!Cd(v,j))throw new Error("Invalid nostr event, payload tag does not match request body hash");return!0})).apply(this,arguments)}},3797:(i,s,o)=>{"use strict";o.d(s,{OS:()=>O,av:()=>P,qT:()=>pt,rV:()=>J}),Symbol("verified");var O=0,P=1,J=4,pt=7},4704:(i,s,o)=>{"use strict";o.d(s,{Vw:()=>pt,My:()=>T,Id:()=>ct,O8:()=>k,aT:()=>O,po:()=>at,Ow:()=>C,ZJ:()=>ht,ld:()=>It});const n="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,a=st=>st instanceof Uint8Array,k=st=>new DataView(st.buffer,st.byteOffset,st.byteLength),C=(st,vt)=>st<<32-vt|st>>>vt;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");const S=Array.from({length:256},(st,vt)=>vt.toString(16).padStart(2,"0"));function T(st){if(!a(st))throw new Error("Uint8Array expected");let vt="";for(let Pt=0;Ptae+le.length,0));let Pt=0;return st.forEach(ae=>{if(!a(ae))throw new Error("Uint8Array expected");vt.set(ae,Pt),Pt+=ae.length}),vt}class pt{clone(){return this._cloneInto()}}function It(st){const vt=ae=>st().update(ht(ae)).digest(),Pt=st();return vt.outputLen=Pt.outputLen,vt.blockLen=Pt.blockLen,vt.create=()=>st(),vt}function at(st=32){if(n&&"function"==typeof n.getRandomValues)return n.getRandomValues(new Uint8Array(st));throw new Error("crypto.getRandomValues must be defined")}},2661:(i,s,o)=>{"use strict";function n(a,l){this.v=a,this.k=l}o.d(s,{A:()=>n})},3014:(i,s,o)=>{"use strict";function n(l,y,k,C,A,S,T){try{var O=l[S](T),P=O.value}catch(q){return void k(q)}O.done?y(P):Promise.resolve(P).then(C,A)}function a(l){return function(){var y=this,k=arguments;return new Promise(function(C,A){var S=l.apply(y,k);function T(P){n(S,C,A,T,O,"next",P)}function O(P){n(S,C,A,T,O,"throw",P)}T(void 0)})}}o.d(s,{A:()=>a})},5137:(i,s,o)=>{"use strict";o.d(s,{A:()=>a});var n=o(2661);function a(l){return new n.A(l,0)}},9129:(i,s,o)=>{"use strict";o.d(s,{A:()=>a});var n=o(2661);function a(y){return function(){return new l(y.apply(this,arguments))}}function l(y){var k,C;function A(T,O){try{var P=y[T](O),q=P.value,Y=q instanceof n.A;Promise.resolve(Y?q.v:q).then(function(J){if(Y){var ht="return"===T?"return":"next";if(!q.k||J.done)return A(ht,J);J=y[ht](J).value}S(P.done?"return":"normal",J)},function(J){A("throw",J)})}catch(J){S("throw",J)}}function S(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)?A(k.key,k.arg):C=null}this._invoke=function(T,O){return new Promise(function(P,q){var Y={key:T,arg:O,resolve:P,reject:q,next:null};C?C=C.next=Y:(k=C=Y,A(T,O))})},"function"!=typeof y.return&&(this.return=void 0)}l.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},l.prototype.next=function(y){return this._invoke("next",y)},l.prototype.throw=function(y){return this._invoke("throw",y)},l.prototype.return=function(y){return this._invoke("return",y)}},1635:(i,s,o)=>{"use strict";function q(Ht,Bt,Fe,zt){return new(Fe||(Fe=Promise))(function(oe,Oe){function $e(ie){try{wt(zt.next(ie))}catch(Xe){Oe(Xe)}}function Dt(ie){try{wt(zt.throw(ie))}catch(Xe){Oe(Xe)}}function wt(ie){ie.done?oe(ie.value):function Yt(oe){return oe instanceof Fe?oe:new Fe(function(Oe){Oe(oe)})}(ie.value).then($e,Dt)}wt((zt=zt.apply(Ht,Bt||[])).next())})}function yt(Ht){return this instanceof yt?(this.v=Ht,this):new yt(Ht)}function _t(Ht,Bt,Fe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Yt,zt=Fe.apply(Ht,Bt||[]),oe=[];return Yt=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),$e("next"),$e("throw"),$e("return",function Oe(Ke){return function(re){return Promise.resolve(re).then(Ke,Xe)}}),Yt[Symbol.asyncIterator]=function(){return this},Yt;function $e(Ke,re){zt[Ke]&&(Yt[Ke]=function(Ve){return new Promise(function(tr,Tr){oe.push([Ke,Ve,tr,Tr])>1||Dt(Ke,Ve)})},re&&(Yt[Ke]=re(Yt[Ke])))}function Dt(Ke,re){try{!function wt(Ke){Ke.value instanceof yt?Promise.resolve(Ke.value.v).then(ie,Xe):Te(oe[0][2],Ke)}(zt[Ke](re))}catch(Ve){Te(oe[0][3],Ve)}}function ie(Ke){Dt("next",Ke)}function Xe(Ke){Dt("throw",Ke)}function Te(Ke,re){Ke(re),oe.shift(),oe.length&&Dt(oe[0][0],oe[0][1])}}function st(Ht){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Fe,Bt=Ht[Symbol.asyncIterator];return Bt?Bt.call(Ht):(Ht=function ct(Ht){var Bt="function"==typeof Symbol&&Symbol.iterator,Fe=Bt&&Ht[Bt],zt=0;if(Fe)return Fe.call(Ht);if(Ht&&"number"==typeof Ht.length)return{next:function(){return Ht&&zt>=Ht.length&&(Ht=void 0),{value:Ht&&Ht[zt++],done:!Ht}}};throw new TypeError(Bt?"Object is not iterable.":"Symbol.iterator is not defined.")}(Ht),Fe={},zt("next"),zt("throw"),zt("return"),Fe[Symbol.asyncIterator]=function(){return this},Fe);function zt(oe){Fe[oe]=Ht[oe]&&function(Oe){return new Promise(function($e,Dt){!function Yt(oe,Oe,$e,Dt){Promise.resolve(Dt).then(function(wt){oe({value:wt,done:$e})},Oe)}($e,Dt,(Oe=Ht[oe](Oe)).done,Oe.value)})}}}o.d(s,{AQ:()=>_t,N3:()=>yt,sH:()=>q,xN:()=>st}),"function"==typeof SuppressedError&&SuppressedError}},i=>{i(i.s=770)}]); \ No newline at end of file diff --git a/ngsw.json b/ngsw.json index 17b0559..7ef97a2 100644 --- a/ngsw.json +++ b/ngsw.json @@ -1,6 +1,6 @@ { "configVersion": 1, - "timestamp": 1732622288507, + "timestamp": 1732690953272, "index": "/index.html", "assetGroups": [], "dataGroups": [], diff --git a/runtime.06b1b5d213285f59.js b/runtime.4b8589ab227394d2.js similarity index 90% rename from runtime.06b1b5d213285f59.js rename to runtime.4b8589ab227394d2.js index cc794f2..1966ebf 100644 --- a/runtime.06b1b5d213285f59.js +++ b/runtime.4b8589ab227394d2.js @@ -1 +1 @@ -(()=>{"use strict";var e,v={},g={};function r(e){var n=g[e];if(void 0!==n)return n.exports;var a=g[e]={id:e,loaded:!1,exports:{}};return v[e].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}r.m=v,e=[],r.O=(n,a,i,d)=>{if(!a){var t=1/0;for(f=0;f=d)&&Object.keys(r.O).every(p=>r.O[p](a[o]))?a.splice(o--,1):(u=!1,d0&&e[f-1][2]>d;f--)e[f]=e[f-1];e[f]=[a,i,d]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},r.d=(e,n)=>{for(var a in n)r.o(n,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:n[a]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,a)=>(r.f[a](e,n),n),[])),r.u=e=>(76===e?"common":e)+"."+{76:"eaa9a83df7bd1472",87:"89382f6778c57112",126:"882bbf93d79b0241",232:"e86c6a10c949ded0",256:"0e13c4fd2d85a687",371:"1350987134a35fcd",394:"2f7e3017bc79bd76",512:"21e2f0687bbf0a15",523:"1d564178fdfd679e",544:"8d04d0914a5c873b",556:"14e4bee993e6d7c2",664:"8a10de4594052b2f",767:"a6646537bab60fc0",785:"20609070e643f838",836:"d0157dec65ae8b51",859:"5c6e13c9e52b4d5a",900:"abf9e3e186379a0b",907:"f9923f71f8286fd2",957:"5e3037fca5fc8f88"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="angor:";r.l=(a,i,d,f)=>{if(e[a])e[a].push(i);else{var t,u;if(void 0!==d)for(var o=document.getElementsByTagName("script"),l=0;l{t.onerror=t.onload=null,clearTimeout(s);var h=e[a];if(delete e[a],t.parentNode&&t.parentNode.removeChild(t),h&&h.forEach(_=>_(p)),m)return m(p)},s=setTimeout(b.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=b.bind(null,t.onerror),t.onload=b.bind(null,t.onload),u&&document.head.appendChild(t)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={121:0};r.f.j=(i,d)=>{var f=r.o(e,i)?e[i]:void 0;if(0!==f)if(f)d.push(f[2]);else if(121!=i){var t=new Promise((c,b)=>f=e[i]=[c,b]);d.push(f[2]=t);var u=r.p+r.u(i),o=new Error;r.l(u,c=>{if(r.o(e,i)&&(0!==(f=e[i])&&(e[i]=void 0),f)){var b=c&&("load"===c.type?"missing":c.type),s=c&&c.target&&c.target.src;o.message="Loading chunk "+i+" failed.\n("+b+": "+s+")",o.name="ChunkLoadError",o.type=b,o.request=s,f[1](o)}},"chunk-"+i,i)}else e[i]=0},r.O.j=i=>0===e[i];var n=(i,d)=>{var o,l,[f,t,u]=d,c=0;if(f.some(s=>0!==e[s])){for(o in t)r.o(t,o)&&(r.m[o]=t[o]);if(u)var b=u(r)}for(i&&i(d);c{"use strict";var e,v={},g={};function r(e){var n=g[e];if(void 0!==n)return n.exports;var a=g[e]={id:e,loaded:!1,exports:{}};return v[e].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}r.m=v,e=[],r.O=(n,a,i,d)=>{if(!a){var t=1/0;for(f=0;f=d)&&Object.keys(r.O).every(p=>r.O[p](a[o]))?a.splice(o--,1):(u=!1,d0&&e[f-1][2]>d;f--)e[f]=e[f-1];e[f]=[a,i,d]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},r.d=(e,n)=>{for(var a in n)r.o(n,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:n[a]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,a)=>(r.f[a](e,n),n),[])),r.u=e=>(76===e?"common":e)+"."+{76:"eaa9a83df7bd1472",87:"89382f6778c57112",126:"882bbf93d79b0241",232:"e86c6a10c949ded0",256:"0e13c4fd2d85a687",371:"1350987134a35fcd",394:"513ca13c1ebf9f48",512:"21e2f0687bbf0a15",523:"1d564178fdfd679e",544:"8d04d0914a5c873b",556:"14e4bee993e6d7c2",664:"8a10de4594052b2f",767:"e79dfcaf8d423435",785:"20609070e643f838",836:"d0157dec65ae8b51",859:"5c6e13c9e52b4d5a",900:"abf9e3e186379a0b",907:"7487904cafe54d75",957:"5e3037fca5fc8f88"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="angor:";r.l=(a,i,d,f)=>{if(e[a])e[a].push(i);else{var t,u;if(void 0!==d)for(var o=document.getElementsByTagName("script"),l=0;l{t.onerror=t.onload=null,clearTimeout(s);var h=e[a];if(delete e[a],t.parentNode&&t.parentNode.removeChild(t),h&&h.forEach(_=>_(p)),m)return m(p)},s=setTimeout(b.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=b.bind(null,t.onerror),t.onload=b.bind(null,t.onload),u&&document.head.appendChild(t)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={121:0};r.f.j=(i,d)=>{var f=r.o(e,i)?e[i]:void 0;if(0!==f)if(f)d.push(f[2]);else if(121!=i){var t=new Promise((c,b)=>f=e[i]=[c,b]);d.push(f[2]=t);var u=r.p+r.u(i),o=new Error;r.l(u,c=>{if(r.o(e,i)&&(0!==(f=e[i])&&(e[i]=void 0),f)){var b=c&&("load"===c.type?"missing":c.type),s=c&&c.target&&c.target.src;o.message="Loading chunk "+i+" failed.\n("+b+": "+s+")",o.name="ChunkLoadError",o.type=b,o.request=s,f[1](o)}},"chunk-"+i,i)}else e[i]=0},r.O.j=i=>0===e[i];var n=(i,d)=>{var o,l,[f,t,u]=d,c=0;if(f.some(s=>0!==e[s])){for(o in t)r.o(t,o)&&(r.m[o]=t[o]);if(u)var b=u(r)}for(i&&i(d);c