From 26e87828da3db79aeb92ce09c2812b235d12c5ee Mon Sep 17 00:00:00 2001 From: miladsoft Date: Mon, 18 Nov 2024 09:51:02 +0000 Subject: [PATCH] Auto-generated commit Triggered by commit: https://github.com/block-core/angor-hub/commit/b30df07ce6385091ff08990a255eabd1b0d8c993 --- 218.b4f54c7a36f58196.js => 218.6e3074e458d14645.js | 2 +- 404.html | 2 +- index.html | 2 +- ngsw.json | 2 +- runtime.30efda603eb92fc5.js => runtime.1c8025bd9f56789a.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename 218.b4f54c7a36f58196.js => 218.6e3074e458d14645.js (78%) rename runtime.30efda603eb92fc5.js => runtime.1c8025bd9f56789a.js (59%) diff --git a/218.b4f54c7a36f58196.js b/218.6e3074e458d14645.js similarity index 78% rename from 218.b4f54c7a36f58196.js rename to 218.6e3074e458d14645.js index e3e3457..33c79ea 100644 --- a/218.b4f54c7a36f58196.js +++ b/218.6e3074e458d14645.js @@ -1 +1 @@ -"use strict";(self.webpackChunkangor=self.webpackChunkangor||[]).push([[218],{2218:(ut,v,o)=>{o.r(v),o.d(v,{default:()=>ct});var d=o(467),c=o(177),R=o(1413),j=o(8359),E=o(6977),I=o(9345),f=o(7403),p=o(8834),y=o(1997),$=o(9454),h=o(2102),g=o(9213),C=o(9115),_=o(9183),G=o(9417),S=o(5398),F=o(7540),Y=o(8703),b=o(9042),P=o(882),T=o(4823),t=o(4438),x=o(7291);let X=(()=>{class n{constructor(e,i){this._changeDetectorRef=e,this._storageService=i}ngOnInit(){this.loadUserProfile(),this.subscription=this._storageService.profile$.subscribe(e=>{e&&e.pubKey===this.pubkey&&(this.user=e.metadata,this._changeDetectorRef.detectChanges())})}loadUserProfile(){var e=this;return(0,d.A)(function*(){const i=yield e._storageService.getProfile(e.pubkey);e.user=i||{},e._changeDetectorRef.detectChanges()})()}get displayName(){return this.user?.display_name||this.user?.name||this.shortenPubkey(this.pubkey)}get displayAvatar(){return this.user?.picture||this.avatarUrl||"/images/avatars/avatar-placeholder.png"}shortenPubkey(e){return e?`${e.slice(0,8)}...${e.slice(-8)}`:""}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(t.gRc),t.rXU(x.n))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-replay-profile"]],inputs:{pubkey:"pubkey",avatarUrl:"avatarUrl"},standalone:!0,features:[t.aNF],decls:5,vars:4,consts:[[1,"flex","items-center"],[1,"flex","items-center","group",3,"href"],[1,"mr-4","h-10","w-10","rounded-full","border","border-gray-300","group-hover:shadow-md","object-cover",3,"src","alt"],[1,"font-bold","text-gray-800","group-hover:text-blue-500"]],template:function(i,s){1&i&&(t.j41(0,"div",0)(1,"a",1),t.nrm(2,"img",2),t.j41(3,"span",3),t.EFF(4),t.k0s()()()),2&i&&(t.R7$(),t.Y8G("href","/profile/"+s.pubkey,t.B4B),t.R7$(),t.Y8G("src",s.displayAvatar,t.B4B)("alt",s.displayName),t.R7$(2),t.SpI(" ",s.displayName," "))},dependencies:[c.MD]})}}return n})();var D=o(4496),k=o(5245),U=o(5645),B=o(413),N=o(345),z=o(2022),V=o(9979),L=o(3105);const w=n=>({"heart-beat":n}),A=n=>({"rotate-180":n}),O=()=>[];function M(n,r){1&n&&(t.j41(0,"div",5),t.nrm(1,"mat-progress-spinner",6),t.k0s())}function W(n,r){1&n&&(t.j41(0,"span"),t.EFF(1,"s"),t.k0s())}function Z(n,r){1&n&&(t.j41(0,"span"),t.EFF(1,"s"),t.k0s())}function J(n,r){1&n&&(t.j41(0,"span"),t.EFF(1,"s"),t.k0s())}function K(n,r){if(1&n){const e=t.RV6();t.j41(0,"div",35)(1,"div",27)(2,"div",36),t.EFF(3),t.DNE(4,W,2,0,"span",4),t.k0s()(),t.nrm(5,"div",37),t.j41(6,"div",38)(7,"button",39),t.EFF(8),t.DNE(9,Z,2,0,"span",4),t.k0s(),t.j41(10,"button",39),t.EFF(11),t.DNE(12,J,2,0,"span",4),t.k0s(),t.j41(13,"button",40),t.bIt("click",function(){t.eBV(e),t.XpG();const s=t.sdS(4);return t.Njj(s.expanded=!s.expanded)}),t.j41(14,"span",41),t.EFF(15),t.k0s(),t.nrm(16,"mat-icon",42),t.k0s()()()}if(2&n){t.XpG();const e=t.sdS(4),i=t.XpG();t.R7$(3),t.SpI(" ",i.zaps.length," Zap"),t.R7$(),t.Y8G("ngIf",i.zaps.length>1),t.R7$(4),t.SpI(" ",i.likes.length," Like"),t.R7$(),t.Y8G("ngIf",i.likes.length>1),t.R7$(2),t.SpI(" ",i.reposts.length," Share"),t.R7$(),t.Y8G("ngIf",i.reposts.length>1),t.R7$(3),t.SpI("",i.replies.length," Comments"),t.R7$(),t.Y8G("ngClass",t.eq3(9,A,e.expanded))("svgIcon","heroicons_mini:chevron-down")}}function H(n,r){1&n&&(t.j41(0,"div",43),t.nrm(1,"mat-progress-spinner",44),t.k0s()),2&n&&(t.R7$(),t.Y8G("diameter",40))}function Q(n,r){if(1&n){const e=t.RV6();t.j41(0,"div",45)(1,"emoji-mart",46),t.bIt("emojiClick",function(){t.eBV(e);const s=t.XpG(2);return t.Njj(s.addEmoji())}),t.k0s()()}if(2&n){const e=t.XpG(2);t.R7$(),t.Y8G("darkMode",e.darkMode)}}function q(n,r){if(1&n&&(t.qex(0),t.j41(1,"div",57),t.nrm(2,"iframe",58),t.k0s(),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("src",null==e?null:e.safeWord,t.f$h)}}function tt(n,r){if(1&n&&(t.qex(0),t.j41(1,"div",57),t.nrm(2,"img",59),t.k0s(),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("src",null==e?null:e.safeWord,t.B4B)}}function et(n,r){if(1&n&&(t.qex(0),t.j41(1,"div",57)(2,"video",60),t.nrm(3,"source",61),t.EFF(4," Your browser does not support the video tag. "),t.k0s()(),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(3),t.Y8G("src",null==e?null:e.safeWord,t.B4B)}}function nt(n,r){if(1&n&&(t.qex(0),t.j41(1,"div",57)(2,"audio",62),t.nrm(3,"source",63),t.EFF(4," Your browser does not support the audio element. "),t.k0s()(),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(3),t.Y8G("src",null==e?null:e.safeWord,t.B4B)}}function it(n,r){if(1&n&&(t.qex(0),t.j41(1,"div",64)(2,"a",65)(3,"span",66),t.EFF(4),t.k0s()()(),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("href",null==e?null:e.word,t.B4B),t.R7$(2),t.SpI(" ",null==e?null:e.word," ")}}function st(n,r){if(1&n&&(t.qex(0),t.j41(1,"div",67)(2,"span",66),t.EFF(3),t.k0s()(),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(3),t.SpI(" ",null==e?null:e.trim()," ")}}function ot(n,r){if(1&n&&(t.j41(0,"div",56),t.DNE(1,q,3,1,"ng-container",4)(2,tt,3,1,"ng-container",4)(3,et,5,1,"ng-container",4)(4,nt,5,1,"ng-container",4)(5,it,5,2,"ng-container",4)(6,st,4,1,"ng-container",4),t.k0s()),2&n){const e=r.$implicit;t.R7$(),t.Y8G("ngIf","youtube"===(null==e?null:e.token)),t.R7$(),t.Y8G("ngIf","image"===(null==e?null:e.token)),t.R7$(),t.Y8G("ngIf","video"===(null==e?null:e.token)),t.R7$(),t.Y8G("ngIf","audio"===(null==e?null:e.token)),t.R7$(),t.Y8G("ngIf","link"===(null==e?null:e.token)),t.R7$(),t.Y8G("ngIf",!(null!=e&&e.token))}}function rt(n,r){if(1&n&&(t.j41(0,"div",51),t.nrm(1,"app-replay-profile",52),t.j41(2,"div",53)(3,"span"),t.DNE(4,ot,7,6,"div",54),t.k0s(),t.j41(5,"div",55)(6,"span"),t.EFF(7),t.nI1(8,"ago"),t.k0s()()()()),2&n){const e=r.$implicit,i=t.XpG(3);t.R7$(),t.Y8G("pubkey",null==e?null:e.pubkey)("avatarUrl","/images/avatars/avatar-placeholder.png"),t.R7$(3),t.Y8G("ngForOf",i._parseContent.parseContent(null==e?null:e.content)||t.lJ4(6,O)),t.R7$(3),t.JRh(t.bMT(8,4,null==e?null:e.created_at))}}function at(n,r){if(1&n&&(t.j41(0,"div"),t.nrm(1,"hr",47),t.j41(2,"div",48)(3,"div",49),t.DNE(4,rt,9,7,"div",50),t.k0s()()()),2&n){const e=t.XpG(2);t.R7$(4),t.Y8G("ngForOf",e.replies)}}function lt(n,r){if(1&n){const e=t.RV6();t.j41(0,"div")(1,"div",7),t.nrm(2,"app-post",8),t.j41(3,"angor-card",9,0)(5,"div",10)(6,"button",11),t.bIt("click",function(){t.eBV(e);const s=t.XpG();return t.Njj(s.toggleLike(s.post))}),t.nrm(7,"mat-icon",12),t.j41(8,"span",13),t.EFF(9),t.k0s()(),t.j41(10,"button",11),t.bIt("click",function(){t.eBV(e);const s=t.sdS(4);return t.Njj(s.expanded=!s.expanded)}),t.nrm(11,"mat-icon",14),t.j41(12,"span",13),t.EFF(13,"Comment"),t.k0s()(),t.j41(14,"button",11),t.bIt("click",function(){t.eBV(e);const s=t.XpG();return t.Njj(s.onShare(s.post))}),t.nrm(15,"mat-icon",15),t.j41(16,"span",13),t.EFF(17,"Share"),t.k0s()(),t.j41(18,"button",11),t.bIt("click",function(){t.eBV(e);const s=t.XpG();return t.Njj(s.openZapDialog())}),t.nrm(19,"mat-icon",16),t.j41(20,"span",13),t.EFF(21,"Zap"),t.k0s()()(),t.nrm(22,"hr",17),t.DNE(23,K,17,11,"div",18)(24,H,2,1,"div",19),t.qex(25,20),t.nrm(26,"hr",21),t.j41(27,"div",22)(28,"div",23)(29,"mat-form-field",24),t.nrm(30,"textarea",25),t.k0s()(),t.j41(31,"div",26)(32,"div",27)(33,"button",28),t.bIt("click",function(){t.eBV(e);const s=t.XpG();return t.Njj(s.toggleEmojiPicker())}),t.nrm(34,"mat-icon",29),t.k0s(),t.DNE(35,Q,2,1,"div",30),t.j41(36,"button",31),t.nrm(37,"mat-icon",29),t.k0s(),t.j41(38,"button",31),t.nrm(39,"mat-icon",29),t.k0s()(),t.j41(40,"button",32),t.bIt("click",function(){t.eBV(e);const s=t.XpG();return t.Njj(s.sendComment())}),t.nrm(41,"mat-icon",33),t.j41(42,"span",34),t.EFF(43,"Send"),t.k0s()()()(),t.DNE(44,at,5,1,"div",4),t.bVm(),t.k0s()()()}if(2&n){const e=t.XpG();t.R7$(2),t.Y8G("item",e.post)("more",!1)("actions",!1),t.R7$(5),t.Y8G("ngClass",t.eq3(20,w,e.isLiked))("svgIcon",e.isLiked?"heroicons_solid:heart":"heroicons_outline:heart"),t.R7$(2),t.SpI("",e.isLiked?"Liked":"Like"," "),t.R7$(2),t.Y8G("svgIcon","heroicons_solid:chat-bubble-left-ellipsis"),t.R7$(4),t.Y8G("svgIcon","heroicons_solid:share"),t.R7$(4),t.Y8G("svgIcon","heroicons_solid:bolt"),t.R7$(4),t.Y8G("ngIf",!e.loadingReactions),t.R7$(),t.Y8G("ngIf",e.loadingReactions),t.R7$(5),t.Y8G("subscriptSizing","dynamic"),t.R7$(),t.Y8G("placeholder","Write a comment...")("rows",3),t.R7$(4),t.Y8G("svgIcon","heroicons_solid:face-smile"),t.R7$(),t.Y8G("ngIf",e.showEmojiPicker),t.R7$(2),t.Y8G("svgIcon","heroicons_solid:photo"),t.R7$(2),t.Y8G("svgIcon","heroicons_solid:sparkles"),t.R7$(2),t.Y8G("svgIcon","heroicons_solid:paper-airplane"),t.R7$(3),t.Y8G("ngIf",e.replies.length>0)}}const ct=[{path:"",component:(()=>{class n{constructor(e,i,s,a,m,l,u,mt,dt,pt){this._route=e,this._router=i,this._storageService=s,this._subscriptionService=a,this._changeDetectorRef=m,this._parseContent=l,this._sanitizer=u,this._eventService=mt,this._angorConfirmationService=dt,this._zapService=pt,this.postId=null,this.post=null,this.user=null,this.loading=!0,this.loadingReactions=!0,this._unsubscribeAll=new R.B,this.subscription=new j.yU,this.likes=[],this.reposts=[],this.zaps=[],this.replies=[],this.isLiked=!1}ngOnInit(){this._route.paramMap.pipe((0,E.Q)(this._unsubscribeAll)).subscribe(e=>{this.postId=e.get("id"),this.postId&&(this.loadPost(this.postId),this.subscribeToReactions(this.postId))}),this.subscription=this._storageService.myLikes$.subscribe(e=>{e&&e.includes(this.postId)?(this.isLiked=!0,this._changeDetectorRef.detectChanges()):this.isLiked=!1})}loadUserProfile(){var e=this;return(0,d.A)(function*(){e._storageService.getProfile(e.post.pubkey).then(i=>{e.user=i,e._changeDetectorRef.detectChanges()})})()}loadPost(e){var i=this;return(0,d.A)(function*(){try{i.loading=!0,i.post=yield i._storageService.getPostById(e),i.loadUserProfile(),i._storageService.profile$.subscribe(s=>{s&&s.pubKey===i.post.pubkey&&(i.user=s.metadata,i._changeDetectorRef.detectChanges())}),i.loading=!1}catch(s){console.error("Error loading post:",s),i._router.navigate(["/404"])}})()}getSafeUrl(e){return this._sanitizer.bypassSecurityTrustUrl(e)}subscribeToReactions(e){var i=this;let s;this.loadingReactions=!0,s=setTimeout(()=>{this.loadingReactions=!1},3e3),this.subscriptionId=this._subscriptionService.addSubscriptions([{"#e":[e],kinds:[1,7,9735,6]}],function(){var m=(0,d.A)(function*(l){i.loadingReactions&&(i.loadingReactions=!1,clearTimeout(s)),i.addReaction(e,l.kind,{pubkey:l.pubkey,created_at:l.created_at,content:1===l.kind?l.content:void 0})});return function(l){return m.apply(this,arguments)}}())}addReaction(e,i,s){switch(i){case 1:this.replies.push(s),this.replies.sort((a,m)=>m.created_at-a.created_at);break;case 7:this.likes.push(s);break;case 9735:this.zaps.push(s);break;case 6:this.reposts.push(s)}this._changeDetectorRef.detectChanges()}isSingleEmojiOrWord(e){const i=e.trim(),s=/^\w+$/.test(i),a=/^[\p{Emoji}]+$/u.test(i);return s||a}sendLike(e){this.isLiked||this._eventService.sendLikeEvent(e).then(()=>{this.isLiked=!0,this._changeDetectorRef.detectChanges()}).catch(i=>console.error("Failed to send like:",i))}toggleLike(e){this.sendLike(e)}onShare(e){this._angorConfirmationService.open({title:"Share",message:'Are you sure you want to share this post on your profile? This action is permanent and cannot be undone.',icon:{show:!0,name:"heroicons_solid:share",color:"primary"},actions:{confirm:{show:!0,label:"Yes, Share",color:"primary"},cancel:{show:!0,label:"Cancel"}},dismissible:!0}).afterClosed().subscribe(s=>{console.log(s),"confirmed"===s&&this._eventService.shareEvent(e).then(()=>{this._changeDetectorRef.detectChanges()}).catch(a=>console.error("Failed to share post",a))})}openZapDialog(){this._zapService.openZapDialog(this.postId,this.user)}sendComment(){}addEmoji(){}toggleEmojiPicker(){}ngOnDestroy(){this.subscriptionId&&this._subscriptionService.removeSubscriptionById(this.subscriptionId),this.subscription&&this.subscription.unsubscribe(),this._unsubscribeAll.next(),this._unsubscribeAll.complete()}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(k.nX),t.rXU(k.Ix),t.rXU(x.n),t.rXU(U.n),t.rXU(t.gRc),t.rXU(B.m),t.rXU(N.up),t.rXU(z.U),t.rXU(V.m),t.rXU(L.D))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-post-event"]],standalone:!0,features:[t.aNF],decls:4,vars:2,consts:[["expandableReplay","angorCard"],[1,"mx-auto","w-full","max-w-5xl","px-6","sm:px-8"],[1,"flex","min-w-0","flex-auto","flex-col"],["class","fixed inset-0 flex items-center justify-center z-50",4,"ngIf"],[4,"ngIf"],[1,"fixed","inset-0","flex","items-center","justify-center","z-50"],["mode","indeterminate"],[1,"m-auto","flex","w-full","max-w-140","flex-col","items-start"],[1,"mb-1","mt-8","flex","w-full","flex-col",3,"item","more","actions"],[1,"mb-8","mt-1","flex","w-full","flex-col","pt-4"],[1,"mx-3","flex","items-center","sm:mx-5"],["mat-button","",1,"mr-1","px-3",3,"click"],[1,"text-red-500","icon-size-5",3,"ngClass","svgIcon"],[1,"ml-2"],[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"],["class","mx-6 mb-4 flex flex-col sm:mx-8 sm:mb-6 sm:flex-row sm:items-center",4,"ngIf"],["class","flex mx-auto justify-center items-center mb-4",4,"ngIf"],["angorCardExpansion",""],[1,"m-0","border-b"],[1,"mx-4","mb-3","mt-6","flex","flex-col","sm:mx-8"],[1,"flex","items-start"],[1,"w-full",3,"subscriptSizing"],["matInput","","cdkTextareaAutosize","",3,"placeholder","rows"],[1,"mt-3","flex","items-center","justify-between"],[1,"flex","items-center"],["mat-icon-button","",3,"click"],[1,"icon-size-5",3,"svgIcon"],["class","emoji-picker-container-global",4,"ngIf"],["mat-icon-button",""],["mat-button","",3,"click"],[3,"svgIcon"],[1,"ml-4"],[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","justify-end","sm:mt-0"],["mat-button","",1,"-ml-2","mr-1","px-3","sm:ml-0"],["mat-button","",1,"px-3","sm:-mr-4",3,"click"],[1,"mr-1"],[1,"rotate-0","transition-transform","duration-150","ease-in-out","icon-size-5",3,"ngClass","svgIcon"],[1,"flex","mx-auto","justify-center","items-center","mb-4"],["mode","indeterminate",3,"diameter"],[1,"emoji-picker-container-global"],[3,"emojiClick","darkMode"],[1,"mx-4","my-0","border-b","sm:mx-8"],[1,"max-h-120","overflow-y-auto"],[1,"relative","mx-4","my-6","flex","flex-col","sm:mx-8"],["class","mb-6 flex flex-col items-start",4,"ngFor","ngForOf"],[1,"mb-6","flex","flex-col","items-start"],[3,"pubkey","avatarUrl"],[1,"mt-0.5","flex","flex-col"],["class","inline-block whitespace-pre-wrap break-words",4,"ngFor","ngForOf"],[1,"text-secondary","mt-2","flex","items-center","text-sm"],[1,"inline-block","whitespace-pre-wrap","break-words"],[1,"relative","mb-4","block"],["width","560","height","315","frameborder","0","allowfullscreen","",3,"src"],["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-1"],["target","_blank",1,"inline-block","break-words","text-blue-500","underline",3,"href"],[1,"inline-block","break-words"],[1,"mt-2","sm:mx-1"]],template:function(i,s){1&i&&(t.j41(0,"div",1)(1,"div",2),t.DNE(2,M,2,0,"div",3)(3,lt,45,22,"div",4),t.k0s()()),2&i&&(t.R7$(2),t.Y8G("ngIf",s.loading),t.R7$(),t.Y8G("ngIf",!s.loading&&s.post))},dependencies:[I.n,g.m_,g.An,p.Hl,p.$z,p.iY,C.Cn,h.RG,h.rl,b.fS,b.fg,f.xb,f.EE,y.w,T.uc,c.MD,c.YU,c.Sq,c.bT,G.YN,S.f,_.D6,_.LG,F.e,$.MY,P.vg,Y.g,X,D.q]})}}return n})()}]}}]); \ No newline at end of file +"use strict";(self.webpackChunkangor=self.webpackChunkangor||[]).push([[218],{2218:(ut,v,o)=>{o.r(v),o.d(v,{default:()=>ct});var d=o(467),c=o(177),R=o(1413),j=o(8359),E=o(6977),I=o(9345),f=o(7403),p=o(8834),y=o(1997),$=o(9454),h=o(2102),g=o(9213),C=o(9115),_=o(9183),G=o(9417),S=o(5398),F=o(7540),Y=o(8703),b=o(9042),P=o(882),T=o(4823),t=o(4438),x=o(7291);let X=(()=>{class n{constructor(e,i){this._changeDetectorRef=e,this._storageService=i}ngOnInit(){this.loadUserProfile(),this.subscription=this._storageService.profile$.subscribe(e=>{e&&e.pubKey===this.pubkey&&(this.user=e.metadata,this._changeDetectorRef.detectChanges())})}loadUserProfile(){var e=this;return(0,d.A)(function*(){const i=yield e._storageService.getProfile(e.pubkey);e.user=i||{},e._changeDetectorRef.detectChanges()})()}get displayName(){return this.user?.display_name||this.user?.name||this.shortenPubkey(this.pubkey)}get displayAvatar(){return this.user?.picture||this.avatarUrl||"/images/avatars/avatar-placeholder.png"}shortenPubkey(e){return e?`${e.slice(0,8)}...${e.slice(-8)}`:""}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(t.gRc),t.rXU(x.n))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-replay-profile"]],inputs:{pubkey:"pubkey",avatarUrl:"avatarUrl"},standalone:!0,features:[t.aNF],decls:5,vars:4,consts:[[1,"flex","items-center"],[1,"flex","items-center","group",3,"href"],[1,"mr-4","h-10","w-10","rounded-full","border","border-gray-300","group-hover:shadow-md","object-cover",3,"src","alt"],[1,"font-bold","text-gray-800","group-hover:text-blue-500"]],template:function(i,s){1&i&&(t.j41(0,"div",0)(1,"a",1),t.nrm(2,"img",2),t.j41(3,"span",3),t.EFF(4),t.k0s()()()),2&i&&(t.R7$(),t.Y8G("href","/profile/"+s.pubkey,t.B4B),t.R7$(),t.Y8G("src",s.displayAvatar,t.B4B)("alt",s.displayName),t.R7$(2),t.SpI(" ",s.displayName," "))},dependencies:[c.MD]})}}return n})();var D=o(4496),k=o(5245),U=o(5645),B=o(413),N=o(345),z=o(2022),V=o(9979),L=o(3105);const w=n=>({"heart-beat":n}),A=n=>({"rotate-180":n}),O=()=>[];function M(n,r){1&n&&(t.j41(0,"div",5),t.nrm(1,"mat-progress-spinner",6),t.k0s())}function W(n,r){1&n&&(t.j41(0,"span"),t.EFF(1,"s"),t.k0s())}function Z(n,r){1&n&&(t.j41(0,"span"),t.EFF(1,"s"),t.k0s())}function J(n,r){1&n&&(t.j41(0,"span"),t.EFF(1,"s"),t.k0s())}function K(n,r){if(1&n){const e=t.RV6();t.j41(0,"div",34)(1,"div",27)(2,"div",35),t.EFF(3),t.DNE(4,W,2,0,"span",4),t.k0s()(),t.nrm(5,"div",36),t.j41(6,"div",37)(7,"button",38),t.EFF(8),t.DNE(9,Z,2,0,"span",4),t.k0s(),t.j41(10,"button",38),t.EFF(11),t.DNE(12,J,2,0,"span",4),t.k0s(),t.j41(13,"button",39),t.bIt("click",function(){t.eBV(e),t.XpG();const s=t.sdS(4);return t.Njj(s.expanded=!s.expanded)}),t.j41(14,"span",40),t.EFF(15),t.k0s(),t.nrm(16,"mat-icon",41),t.k0s()()()}if(2&n){t.XpG();const e=t.sdS(4),i=t.XpG();t.R7$(3),t.SpI(" ",i.zaps.length," Zap"),t.R7$(),t.Y8G("ngIf",i.zaps.length>1),t.R7$(4),t.SpI(" ",i.likes.length," Like"),t.R7$(),t.Y8G("ngIf",i.likes.length>1),t.R7$(2),t.SpI(" ",i.reposts.length," Share"),t.R7$(),t.Y8G("ngIf",i.reposts.length>1),t.R7$(3),t.SpI("",i.replies.length," Comments"),t.R7$(),t.Y8G("ngClass",t.eq3(9,A,e.expanded))("svgIcon","heroicons_mini:chevron-down")}}function H(n,r){1&n&&(t.j41(0,"div",42),t.nrm(1,"mat-progress-spinner",43),t.k0s()),2&n&&(t.R7$(),t.Y8G("diameter",40))}function Q(n,r){if(1&n){const e=t.RV6();t.j41(0,"div",44)(1,"emoji-mart",45),t.bIt("emojiClick",function(){t.eBV(e);const s=t.XpG(2);return t.Njj(s.addEmoji())}),t.k0s()()}if(2&n){const e=t.XpG(2);t.R7$(),t.Y8G("darkMode",e.darkMode)}}function q(n,r){if(1&n&&(t.qex(0),t.j41(1,"div",56),t.nrm(2,"iframe",57),t.k0s(),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("src",null==e?null:e.safeWord,t.f$h)}}function tt(n,r){if(1&n&&(t.qex(0),t.j41(1,"div",56),t.nrm(2,"img",58),t.k0s(),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("src",null==e?null:e.safeWord,t.B4B)}}function et(n,r){if(1&n&&(t.qex(0),t.j41(1,"div",56)(2,"video",59),t.nrm(3,"source",60),t.EFF(4," Your browser does not support the video tag. "),t.k0s()(),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(3),t.Y8G("src",null==e?null:e.safeWord,t.B4B)}}function nt(n,r){if(1&n&&(t.qex(0),t.j41(1,"div",56)(2,"audio",61),t.nrm(3,"source",62),t.EFF(4," Your browser does not support the audio element. "),t.k0s()(),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(3),t.Y8G("src",null==e?null:e.safeWord,t.B4B)}}function it(n,r){if(1&n&&(t.qex(0),t.j41(1,"div",63)(2,"a",64)(3,"span",65),t.EFF(4),t.k0s()()(),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.Y8G("href",null==e?null:e.word,t.B4B),t.R7$(2),t.SpI(" ",null==e?null:e.word," ")}}function st(n,r){if(1&n&&(t.qex(0),t.j41(1,"div",66)(2,"span",65),t.EFF(3),t.k0s()(),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(3),t.SpI(" ",null==e?null:e.trim()," ")}}function ot(n,r){if(1&n&&(t.j41(0,"div",55),t.DNE(1,q,3,1,"ng-container",4)(2,tt,3,1,"ng-container",4)(3,et,5,1,"ng-container",4)(4,nt,5,1,"ng-container",4)(5,it,5,2,"ng-container",4)(6,st,4,1,"ng-container",4),t.k0s()),2&n){const e=r.$implicit;t.R7$(),t.Y8G("ngIf","youtube"===(null==e?null:e.token)),t.R7$(),t.Y8G("ngIf","image"===(null==e?null:e.token)),t.R7$(),t.Y8G("ngIf","video"===(null==e?null:e.token)),t.R7$(),t.Y8G("ngIf","audio"===(null==e?null:e.token)),t.R7$(),t.Y8G("ngIf","link"===(null==e?null:e.token)),t.R7$(),t.Y8G("ngIf",!(null!=e&&e.token))}}function rt(n,r){if(1&n&&(t.j41(0,"div",50),t.nrm(1,"app-replay-profile",51),t.j41(2,"div",52)(3,"span"),t.DNE(4,ot,7,6,"div",53),t.k0s(),t.j41(5,"div",54)(6,"span"),t.EFF(7),t.nI1(8,"ago"),t.k0s()()()()),2&n){const e=r.$implicit,i=t.XpG(3);t.R7$(),t.Y8G("pubkey",null==e?null:e.pubkey)("avatarUrl","/images/avatars/avatar-placeholder.png"),t.R7$(3),t.Y8G("ngForOf",i._parseContent.parseContent(null==e?null:e.content)||t.lJ4(6,O)),t.R7$(3),t.JRh(t.bMT(8,4,null==e?null:e.created_at))}}function at(n,r){if(1&n&&(t.j41(0,"div"),t.nrm(1,"hr",46),t.j41(2,"div",47)(3,"div",48),t.DNE(4,rt,9,7,"div",49),t.k0s()()()),2&n){const e=t.XpG(2);t.R7$(4),t.Y8G("ngForOf",e.replies)}}function lt(n,r){if(1&n){const e=t.RV6();t.j41(0,"div")(1,"div",7),t.nrm(2,"app-post",8),t.j41(3,"angor-card",9,0)(5,"div",10)(6,"button",11),t.bIt("click",function(){t.eBV(e);const s=t.XpG();return t.Njj(s.toggleLike(s.post))}),t.nrm(7,"mat-icon",12),t.j41(8,"span",13),t.EFF(9),t.k0s()(),t.j41(10,"button",11),t.bIt("click",function(){t.eBV(e);const s=t.sdS(4);return t.Njj(s.expanded=!s.expanded)}),t.nrm(11,"mat-icon",14),t.j41(12,"span",13),t.EFF(13,"Comment"),t.k0s()(),t.j41(14,"button",11),t.bIt("click",function(){t.eBV(e);const s=t.XpG();return t.Njj(s.onShare(s.post))}),t.nrm(15,"mat-icon",15),t.j41(16,"span",13),t.EFF(17,"Share"),t.k0s()(),t.j41(18,"button",11),t.bIt("click",function(){t.eBV(e);const s=t.XpG();return t.Njj(s.openZapDialog())}),t.nrm(19,"mat-icon",16),t.j41(20,"span",13),t.EFF(21,"Zap"),t.k0s()()(),t.nrm(22,"hr",17),t.DNE(23,K,17,11,"div",18)(24,H,2,1,"div",19),t.qex(25,20),t.nrm(26,"hr",21),t.j41(27,"div",22)(28,"div",23)(29,"mat-form-field",24),t.nrm(30,"textarea",25),t.k0s()(),t.j41(31,"div",26)(32,"div",27)(33,"button",28),t.bIt("click",function(){t.eBV(e);const s=t.XpG();return t.Njj(s.toggleEmojiPicker())}),t.nrm(34,"mat-icon",29),t.k0s(),t.DNE(35,Q,2,1,"div",30),t.j41(36,"button",31),t.nrm(37,"mat-icon",29),t.k0s(),t.j41(38,"button",31),t.nrm(39,"mat-icon",29),t.k0s()(),t.j41(40,"button",32),t.bIt("click",function(){t.eBV(e);const s=t.XpG();return t.Njj(s.sendComment())}),t.nrm(41,"mat-icon",33),t.j41(42,"span",13),t.EFF(43,"Send"),t.k0s()()()(),t.DNE(44,at,5,1,"div",4),t.bVm(),t.k0s()()()}if(2&n){const e=t.XpG();t.R7$(2),t.Y8G("item",e.post)("more",!1)("actions",!1),t.R7$(5),t.Y8G("ngClass",t.eq3(20,w,e.isLiked))("svgIcon",e.isLiked?"heroicons_solid:heart":"heroicons_outline:heart"),t.R7$(2),t.SpI("",e.isLiked?"Liked":"Like"," "),t.R7$(2),t.Y8G("svgIcon","heroicons_solid:chat-bubble-left-ellipsis"),t.R7$(4),t.Y8G("svgIcon","heroicons_solid:share"),t.R7$(4),t.Y8G("svgIcon","heroicons_solid:bolt"),t.R7$(4),t.Y8G("ngIf",!e.loadingReactions),t.R7$(),t.Y8G("ngIf",e.loadingReactions),t.R7$(5),t.Y8G("subscriptSizing","dynamic"),t.R7$(),t.Y8G("placeholder","Write a comment...")("rows",3),t.R7$(4),t.Y8G("svgIcon","heroicons_solid:face-smile"),t.R7$(),t.Y8G("ngIf",e.showEmojiPicker),t.R7$(2),t.Y8G("svgIcon","heroicons_solid:photo"),t.R7$(2),t.Y8G("svgIcon","heroicons_solid:sparkles"),t.R7$(2),t.Y8G("svgIcon","heroicons_solid:paper-airplane"),t.R7$(3),t.Y8G("ngIf",e.replies.length>0)}}const ct=[{path:"",component:(()=>{class n{constructor(e,i,s,a,m,l,u,mt,dt,pt){this._route=e,this._router=i,this._storageService=s,this._subscriptionService=a,this._changeDetectorRef=m,this._parseContent=l,this._sanitizer=u,this._eventService=mt,this._angorConfirmationService=dt,this._zapService=pt,this.postId=null,this.post=null,this.user=null,this.loading=!0,this.loadingReactions=!0,this._unsubscribeAll=new R.B,this.subscription=new j.yU,this.likes=[],this.reposts=[],this.zaps=[],this.replies=[],this.isLiked=!1}ngOnInit(){this._route.paramMap.pipe((0,E.Q)(this._unsubscribeAll)).subscribe(e=>{this.postId=e.get("id"),this.postId&&(this.loadPost(this.postId),this.subscribeToReactions(this.postId))}),this.subscription=this._storageService.myLikes$.subscribe(e=>{e&&e.includes(this.postId)?(this.isLiked=!0,this._changeDetectorRef.detectChanges()):this.isLiked=!1})}loadUserProfile(){var e=this;return(0,d.A)(function*(){e._storageService.getProfile(e.post.pubkey).then(i=>{e.user=i,e._changeDetectorRef.detectChanges()})})()}loadPost(e){var i=this;return(0,d.A)(function*(){try{i.loading=!0,i.post=yield i._storageService.getPostById(e),i.loadUserProfile(),i._storageService.profile$.subscribe(s=>{s&&s.pubKey===i.post.pubkey&&(i.user=s.metadata,i._changeDetectorRef.detectChanges())}),i.loading=!1}catch(s){console.error("Error loading post:",s),i._router.navigate(["/404"])}})()}getSafeUrl(e){return this._sanitizer.bypassSecurityTrustUrl(e)}subscribeToReactions(e){var i=this;let s;this.loadingReactions=!0,s=setTimeout(()=>{this.loadingReactions=!1},3e3),this.subscriptionId=this._subscriptionService.addSubscriptions([{"#e":[e],kinds:[1,7,9735,6]}],function(){var m=(0,d.A)(function*(l){i.loadingReactions&&(i.loadingReactions=!1,clearTimeout(s)),i.addReaction(e,l.kind,{pubkey:l.pubkey,created_at:l.created_at,content:1===l.kind?l.content:void 0})});return function(l){return m.apply(this,arguments)}}())}addReaction(e,i,s){switch(i){case 1:this.replies.push(s),this.replies.sort((a,m)=>m.created_at-a.created_at);break;case 7:this.likes.push(s);break;case 9735:this.zaps.push(s);break;case 6:this.reposts.push(s)}this._changeDetectorRef.detectChanges()}isSingleEmojiOrWord(e){const i=e.trim(),s=/^\w+$/.test(i),a=/^[\p{Emoji}]+$/u.test(i);return s||a}sendLike(e){this.isLiked||this._eventService.sendLikeEvent(e).then(()=>{this.isLiked=!0,this._changeDetectorRef.detectChanges()}).catch(i=>console.error("Failed to send like:",i))}toggleLike(e){this.sendLike(e)}onShare(e){this._angorConfirmationService.open({title:"Share",message:'Are you sure you want to share this post on your profile? This action is permanent and cannot be undone.',icon:{show:!0,name:"heroicons_solid:share",color:"primary"},actions:{confirm:{show:!0,label:"Yes, Share",color:"primary"},cancel:{show:!0,label:"Cancel"}},dismissible:!0}).afterClosed().subscribe(s=>{console.log(s),"confirmed"===s&&this._eventService.shareEvent(e).then(()=>{this._changeDetectorRef.detectChanges()}).catch(a=>console.error("Failed to share post",a))})}openZapDialog(){this._zapService.openZapDialog(this.postId,this.user)}sendComment(){}addEmoji(){}toggleEmojiPicker(){}ngOnDestroy(){this.subscriptionId&&this._subscriptionService.removeSubscriptionById(this.subscriptionId),this.subscription&&this.subscription.unsubscribe(),this._unsubscribeAll.next(),this._unsubscribeAll.complete()}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(k.nX),t.rXU(k.Ix),t.rXU(x.n),t.rXU(U.n),t.rXU(t.gRc),t.rXU(B.m),t.rXU(N.up),t.rXU(z.U),t.rXU(V.m),t.rXU(L.D))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-post-event"]],standalone:!0,features:[t.aNF],decls:4,vars:2,consts:[["expandableReplay","angorCard"],[1,"mx-auto","w-full","max-w-5xl","px-6","sm:px-8"],[1,"flex","min-w-0","flex-auto","flex-col"],["class","fixed inset-0 flex items-center justify-center z-50",4,"ngIf"],[4,"ngIf"],[1,"fixed","inset-0","flex","items-center","justify-center","z-50"],["mode","indeterminate"],[1,"m-auto","flex","w-full","max-w-140","flex-col","items-start"],[1,"mb-1","mt-8","flex","w-full","flex-col",3,"item","more","actions"],[1,"mb-8","mt-1","flex","w-full","flex-col","pt-4"],[1,"mx-3","flex","items-center","sm:mx-5"],["mat-button","",1,"mr-1","px-3",3,"click"],[1,"text-red-500","icon-size-5",3,"ngClass","svgIcon"],[1,"ml-2"],[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"],["class","mx-6 mb-4 flex flex-col sm:mx-8 sm:mb-6 sm:flex-row sm:items-center",4,"ngIf"],["class","flex mx-auto justify-center items-center mb-4",4,"ngIf"],["angorCardExpansion",""],[1,"m-0","border-b"],[1,"mx-4","mb-3","mt-6","flex","flex-col","sm:mx-8"],[1,"flex","items-start"],[1,"w-full",3,"subscriptSizing"],["matInput","","cdkTextareaAutosize","",3,"placeholder","rows"],[1,"mt-3","flex","items-center","justify-between"],[1,"flex","items-center"],["mat-icon-button","",3,"click"],[1,"icon-size-5",3,"svgIcon"],["class","emoji-picker-container-global",4,"ngIf"],["mat-icon-button",""],["mat-button","",3,"click"],[3,"svgIcon"],[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","justify-end","sm:mt-0"],["mat-button","",1,"-ml-2","mr-1","px-3","sm:ml-0"],["mat-button","",1,"px-3","sm:-mr-4",3,"click"],[1,"mr-1"],[1,"rotate-0","transition-transform","duration-150","ease-in-out","icon-size-5",3,"ngClass","svgIcon"],[1,"flex","mx-auto","justify-center","items-center","mb-4"],["mode","indeterminate",3,"diameter"],[1,"emoji-picker-container-global"],[3,"emojiClick","darkMode"],[1,"mx-4","my-0","border-b","sm:mx-8"],[1,"max-h-120","overflow-y-auto"],[1,"relative","mx-4","my-6","flex","flex-col","sm:mx-8"],["class","mb-6 flex flex-col items-start",4,"ngFor","ngForOf"],[1,"mb-6","flex","flex-col","items-start"],[3,"pubkey","avatarUrl"],[1,"mt-0.5","flex","flex-col"],["class","inline-block whitespace-pre-wrap break-words",4,"ngFor","ngForOf"],[1,"text-secondary","mt-2","flex","items-center","text-sm"],[1,"inline-block","whitespace-pre-wrap","break-words"],[1,"relative","mb-4","block"],["width","560","height","315","frameborder","0","allowfullscreen","",3,"src"],["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-1"],["target","_blank",1,"inline-block","break-words","text-blue-500","underline",3,"href"],[1,"inline-block","break-words"],[1,"mt-2","sm:mx-1"]],template:function(i,s){1&i&&(t.j41(0,"div",1)(1,"div",2),t.DNE(2,M,2,0,"div",3)(3,lt,45,22,"div",4),t.k0s()()),2&i&&(t.R7$(2),t.Y8G("ngIf",s.loading),t.R7$(),t.Y8G("ngIf",!s.loading&&s.post))},dependencies:[I.n,g.m_,g.An,p.Hl,p.$z,p.iY,C.Cn,h.RG,h.rl,b.fS,b.fg,f.xb,f.EE,y.w,T.uc,c.MD,c.YU,c.Sq,c.bT,G.YN,S.f,_.D6,_.LG,F.e,$.MY,P.vg,Y.g,X,D.q]})}}return n})()}]}}]); \ No newline at end of file diff --git a/404.html b/404.html index 9e250b0..898c0a5 100644 --- a/404.html +++ b/404.html @@ -41,5 +41,5 @@ - + diff --git a/index.html b/index.html index 9e250b0..898c0a5 100644 --- a/index.html +++ b/index.html @@ -41,5 +41,5 @@ - + diff --git a/ngsw.json b/ngsw.json index f50e8f8..a69085d 100644 --- a/ngsw.json +++ b/ngsw.json @@ -1,6 +1,6 @@ { "configVersion": 1, - "timestamp": 1731922912708, + "timestamp": 1731923461072, "index": "/index.html", "assetGroups": [], "dataGroups": [], diff --git a/runtime.30efda603eb92fc5.js b/runtime.1c8025bd9f56789a.js similarity index 59% rename from runtime.30efda603eb92fc5.js rename to runtime.1c8025bd9f56789a.js index 091dacc..3bbe38c 100644 --- a/runtime.30efda603eb92fc5.js +++ b/runtime.1c8025bd9f56789a.js @@ -1 +1 @@ -(()=>{"use strict";var e,v={},g={};function a(e){var n=g[e];if(void 0!==n)return n.exports;var r=g[e]={id:e,loaded:!1,exports:{}};return v[e].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=v,e=[],a.O=(n,r,d,i)=>{if(!r){var t=1/0;for(f=0;f=i)&&Object.keys(a.O).every(p=>a.O[p](r[o]))?r.splice(o--,1):(u=!1,i0&&e[f-1][2]>i;f--)e[f]=e[f-1];e[f]=[r,d,i]},a.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return a.d(n,{a:n}),n},a.d=(e,n)=>{for(var r in n)a.o(n,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((n,r)=>(a.f[r](e,n),n),[])),a.u=e=>(76===e?"common":e)+"."+{19:"f5eff9f0fb41d2a5",76:"d91e737581c89624",183:"7b166f632fedb3ec",218:"b4f54c7a36f58196",253:"4a04bbe1a92525af",258:"74e10dcd2177d092",364:"352dcb18a587bd74",408:"44ab5c4c49586401",450:"6b828714c4539eff",458:"4d85319267839326",514:"9c340e033925930a",539:"af0130483732a56f",541:"358b27d5ed8a6514",551:"e12e45c28bc44f03",588:"380d9cba851daca3",632:"616768ba8230661a",706:"f94f8011d50aa043",770:"ad7e41f782174dcc",865:"e320a31fbe74bda0"}[e]+".js",a.miniCssF=e=>{},a.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="angor:";a.l=(r,d,i,f)=>{if(e[r])e[r].push(d);else{var t,u;if(void 0!==i)for(var o=document.getElementsByTagName("script"),l=0;l{t.onerror=t.onload=null,clearTimeout(b);var h=e[r];if(delete e[r],t.parentNode&&t.parentNode.removeChild(t),h&&h.forEach(_=>_(p)),m)return m(p)},b=setTimeout(s.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=s.bind(null,t.onerror),t.onload=s.bind(null,t.onload),u&&document.head.appendChild(t)}}})(),a.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;a.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),a.tu=e=>a.tt().createScriptURL(e),a.p="",(()=>{var e={121:0};a.f.j=(d,i)=>{var f=a.o(e,d)?e[d]:void 0;if(0!==f)if(f)i.push(f[2]);else if(121!=d){var t=new Promise((c,s)=>f=e[d]=[c,s]);i.push(f[2]=t);var u=a.p+a.u(d),o=new Error;a.l(u,c=>{if(a.o(e,d)&&(0!==(f=e[d])&&(e[d]=void 0),f)){var s=c&&("load"===c.type?"missing":c.type),b=c&&c.target&&c.target.src;o.message="Loading chunk "+d+" failed.\n("+s+": "+b+")",o.name="ChunkLoadError",o.type=s,o.request=b,f[1](o)}},"chunk-"+d,d)}else e[d]=0},a.O.j=d=>0===e[d];var n=(d,i)=>{var o,l,[f,t,u]=i,c=0;if(f.some(b=>0!==e[b])){for(o in t)a.o(t,o)&&(a.m[o]=t[o]);if(u)var s=u(a)}for(d&&d(i);c{"use strict";var e,v={},g={};function a(e){var n=g[e];if(void 0!==n)return n.exports;var r=g[e]={id:e,loaded:!1,exports:{}};return v[e].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=v,e=[],a.O=(n,r,i,d)=>{if(!r){var t=1/0;for(f=0;f=d)&&Object.keys(a.O).every(p=>a.O[p](r[o]))?r.splice(o--,1):(u=!1,d0&&e[f-1][2]>d;f--)e[f]=e[f-1];e[f]=[r,i,d]},a.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return a.d(n,{a:n}),n},a.d=(e,n)=>{for(var r in n)a.o(n,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((n,r)=>(a.f[r](e,n),n),[])),a.u=e=>(76===e?"common":e)+"."+{19:"f5eff9f0fb41d2a5",76:"d91e737581c89624",183:"7b166f632fedb3ec",218:"6e3074e458d14645",253:"4a04bbe1a92525af",258:"74e10dcd2177d092",364:"352dcb18a587bd74",408:"44ab5c4c49586401",450:"6b828714c4539eff",458:"4d85319267839326",514:"9c340e033925930a",539:"af0130483732a56f",541:"358b27d5ed8a6514",551:"e12e45c28bc44f03",588:"380d9cba851daca3",632:"616768ba8230661a",706:"f94f8011d50aa043",770:"ad7e41f782174dcc",865:"e320a31fbe74bda0"}[e]+".js",a.miniCssF=e=>{},a.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="angor:";a.l=(r,i,d,f)=>{if(e[r])e[r].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(b);var h=e[r];if(delete e[r],t.parentNode&&t.parentNode.removeChild(t),h&&h.forEach(_=>_(p)),m)return m(p)},b=setTimeout(s.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=s.bind(null,t.onerror),t.onload=s.bind(null,t.onload),u&&document.head.appendChild(t)}}})(),a.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;a.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),a.tu=e=>a.tt().createScriptURL(e),a.p="",(()=>{var e={121:0};a.f.j=(i,d)=>{var f=a.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,s)=>f=e[i]=[c,s]);d.push(f[2]=t);var u=a.p+a.u(i),o=new Error;a.l(u,c=>{if(a.o(e,i)&&(0!==(f=e[i])&&(e[i]=void 0),f)){var s=c&&("load"===c.type?"missing":c.type),b=c&&c.target&&c.target.src;o.message="Loading chunk "+i+" failed.\n("+s+": "+b+")",o.name="ChunkLoadError",o.type=s,o.request=b,f[1](o)}},"chunk-"+i,i)}else e[i]=0},a.O.j=i=>0===e[i];var n=(i,d)=>{var o,l,[f,t,u]=d,c=0;if(f.some(b=>0!==e[b])){for(o in t)a.o(t,o)&&(a.m[o]=t[o]);if(u)var s=u(a)}for(i&&i(d);c