import{K as qp,N as tl,b as Pa,k as w2,o as x2,W as WB,ci as db,v as vV,cj as fb,S as SV,ck as q0}from'./main-DEZ5cZzu.js';function p(n,d){n&1&&(db(0,"span",4),vV(1,0),fb());}function O(n,d){n&1&&(db(0,"span",4),vV(1,1),fb());}function g(n,d){if(n&1&&(db(0,"span",5),vV(1,2),fb()),n&2){let e=SV(2);q0("title",e.getSubscriptionTitle(e.account().mutedByInstanceSubscription));}}function f(n,d){if(n&1&&(db(0,"span",5),vV(1,3),fb()),n&2){let e=SV(2);q0("title",e.getSubscriptionTitle(e.account().mutedServerByInstanceSubscription));}}function T(n,d){if(n&1&&(w2(0,g,2,1,"span",5),w2(1,f,2,1,"span",5)),n&2){let e=SV();x2(e.account().mutedByInstance?0:-1),WB(),x2(e.account().mutedServerByInstance?1:-1);}}var D=(()=>{class n{account=qp.required();platformOnly=qp(false,{transform:tl});getSubscriptionTitle(e){if(e)return"Muted by subscription \""+e+"\"";}static ɵfac=function(o){return new(o||n)();};static ɵcmp=Pa({type:n,selectors:[["my-account-block-badges"]],inputs:{account:[1,"account"],platformOnly:[1,"platformOnly"]},decls:3,vars:3,consts:()=>{let e;e="Stlmen\xE9";let o;o="Platform muted";let t;t="Muted by your platform";let E;return E="Platform muted by your platform",[e,o,t,E,[1,"pt-badge","badge-danger"],[1,"pt-badge","badge-danger",3,"title"]];},template:function(o,t){o&1&&(w2(0,p,2,0,"span",4),w2(1,O,2,0,"span",4),w2(2,T,2,2)),o&2&&(x2(t.account().mutedByUser||t.platformOnly()&&t.account().mutedByInstance?0:-1),WB(),x2(t.account().mutedServerByUser||t.platformOnly()&&t.account().mutedServerByInstance?1:-1),WB(),x2(t.platformOnly()?-1:2));},styles:[".pt-badge[_ngcontent-%COMP%]{font-size:12px;margin-inline-end:.625rem}"],changeDetection:1});}return n;})();/**i18n:c8855ca17fb20171aa9dd43d012e42547cb1f0cfd9c21d4dc05679bbbdf5ccb8*/export{D};//# sourceMappingURL=chunk-wXlrCZCl.js.map