import{Ar as Tu,F as Cx,Fo as l$,Gr as Va,Ia as f$,Pr as Ub,Q as EV,Qi as bV,_s as ph,it as FB,lt as Fb}from"./chunk-B_pj7Jpm.js";function S(e,t){e&1&&(Fb(0,`span`,4),l$(1,0),Ub())}function g(e,t){e&1&&(Fb(0,`span`,4),l$(1,1),Ub())}function O(e,t){if(e&1&&(Fb(0,`span`,5),l$(1,2),Ub()),e&2){let n=f$(2);Cx(`title`,n.getSubscriptionTitle(n.account().mutedByInstanceSubscription))}}function f(e,t){if(e&1&&(Fb(0,`span`,5),l$(1,3),Ub()),e&2){let n=f$(2);Cx(`title`,n.getSubscriptionTitle(n.account().mutedServerByInstanceSubscription))}}function y(e,t){if(e&1&&(EV(0,O,2,1,`span`,5),EV(1,f,2,1,`span`,5)),e&2){let n=f$();bV(n.account().mutedByInstance?0:-1),FB(),bV(n.account().mutedServerByInstance?1:-1)}}var E=class e{account=ph.required();platformOnly=ph(!1,{transform:Tu});getSubscriptionTitle(t){if(t)return `Muted by subscription "${t}"`}static ɵfac=function(n){return new(n||e)};static ɵcmp=Va({type:e,selectors:[[`my-account-block-badges`]],inputs:{account:[1,`account`],platformOnly:[1,`platformOnly`]},decls:3,vars:3,consts:()=>{let t;t="Muted";let n;n="Platform muted";let o;o="Muted by your platform";let C;return C="Platform muted by your platform",[t,n,o,C,[1,`pt-badge`,`badge-danger`],[1,`pt-badge`,`badge-danger`,3,`title`]]},template:function(n,o){n&1&&(EV(0,S,2,0,`span`,4),EV(1,g,2,0,`span`,4),EV(2,y,2,2)),n&2&&(bV(o.account().mutedByUser||o.platformOnly()&&o.account().mutedByInstance?0:-1),FB(),bV(o.account().mutedServerByUser||o.platformOnly()&&o.account().mutedServerByInstance?1:-1),FB(),bV(o.platformOnly()?-1:2))},styles:[`.pt-badge[_ngcontent-%COMP%]{font-size:12px;margin-inline-end:.625rem}`],changeDetection:1})};export{E as t};
//# debugId=a41d1107-e833-56e3-b169-6e160b2f1a65
//# sourceMappingURL=chunk-CLRJ47w7.js.map