1import{a as A}from"./chunk-IEUVX5DE.js";import{g as F,h as M,j as N,m as S,o as y,s as G,v as _}from"./chunk-HEWYM2BV.js";import{h as k}from"./chunk-6UAV3LWH.js";import{e as g,f as h,i as w,j as v,k as C}from"./chunk-PVDLPPXZ.js";import{a as u}from"./chunk-7LFE6CSV.js";import{Bb as c,Ma as m,Na as l,Ob as a,Qb as d,ga as p,hb as f,sb as n,tb as r}from"./chunk-YSZEO4OX.js";var U=(()=>{let o=class o{constructor(t,e,i){this.userApiService=t,this.dialogRef=e,this.data=i,this.loading=!1,this.PageName=""}ngOnInit(){var t;this.PageName=(t=this.data)==null?void 0:t.pageName,this.setupForm()}setupForm(){this.formGroup=new N({followMessageControl:new S(!1)})}cancel(){this.dialogRef.close()}follow(){var t,e;this.userApiService.neverShowFollowAgain=(t=this.formGroup.get("followMessageControl"))==null?void 0:t.value,this.data.follow((e=this.formGroup.get("followMessageControl"))==null?void 0:e.value),this.dialogRef.close()}};o.\u0275fac=function(e){return new(e||o)(l(k),l(g),l(h))},o.\u0275cmp=p({type:o,selectors:[["follow-dialog"]],decls:13,vars:2,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"formGroup"],["formControlName","followMessageControl","color","primary"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["mat-raised-button","","color","primary","cdkFocusInitial","",3,"click"]],template:function(e,i){e&1&&(n(0,"h1",0),a(1),r(),n(2,"div",1)(3,"p"),a(4,"Following an author shares your email address with them so you get updates on their content."),r(),n(5,"form",2)(6,"mat-checkbox",3),a(7,"Never show this again."),r()()(),n(8,"div",4)(9,"button",5),c("click",function(){return i.cancel()}),a(10,"Cancel"),r(),n(11,"button",6),c("click",function(){return i.follow()}),a(12,"Follow"),r()()),e&2&&(m(),d("Following ",i.PageName,""),m(4),f("formGroup",i.formGroup))},dependencies:[y,F,M,G,_,A,u,w,C,v],encapsulation:2});let s=o;return s})();export{U as a};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.