import{r as o,u as r,a as l,d as h}from"./index-TEHZzOO_.js";import{j as e}from"./client-By3tlFYA.js";import{c}from"./index-DkCxcZFY.js";import{a5 as d}from"./useSelectableClick-BN_oLrdL.js";import{M as m}from"./message-CVkQtbZv.js";const j=n=>o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 -960 960 960",width:24,...n},o.createElement("path",{d:"M200-120v-680h360l16 80h224v400H520l-16-80H280v280h-80Z"})),f=n=>o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 -960 960 960",width:24,...n},o.createElement("path",{d:"M160-120v-80h480v80H160Zm226-194L160-540l84-86 228 226-86 86Zm254-254L414-796l86-84 226 226-86 86Zm184 408L302-682l56-56 522 522-56 56Z"})),v=l({none:{id:"notification.moderation_warning.action_none",defaultMessage:"Your account has received a moderation warning."},disable:{id:"notification.moderation_warning.action_disable",defaultMessage:"Your account has been disabled."},mark_statuses_as_sensitive:{id:"notification.moderation_warning.action_mark_statuses_as_sensitive",defaultMessage:"Some of your posts have been marked as sensitive."},delete_statuses:{id:"notification.moderation_warning.action_delete_statuses",defaultMessage:"Some of your posts have been removed."},sensitive:{id:"notification.moderation_warning.action_sensitive",defaultMessage:"Your posts will be marked as sensitive from now on."},silence:{id:"notification.moderation_warning.action_silence",defaultMessage:"Your account has been limited."},suspend:{id:"notification.moderation_warning.action_suspend",defaultMessage:"Your account has been suspended."}}),Z=({action:n,id:t,hidden:i,unread:a})=>{const s=r();return i?null:e.jsxs("div",{role:"button",className:c("notification-group notification-group--link notification-group--moderation-warning focusable",{"notification-group--unread":a}),tabIndex:0,children:[e.jsx("div",{className:"notification-group__icon",children:e.jsx(d,{id:"warning",icon:f})}),e.jsxs("div",{className:"notification-group__main",children:[e.jsx("p",{children:s.formatMessage(v[n])}),e.jsx("a",{href:"/disputes/strikes/".concat(t),target:"_blank",rel:"noopener noreferrer",className:"link-button",children:e.jsx(m,{id:"notification.moderation-warning.learn_more",defaultMessage:"Learn more"})})]})]})},p=n=>o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 -960 960 960",width:24,...n},o.createElement("path",{d:"M481-83Q347-218 267.5-301t-121-138q-41.5-55-54-94T80-620q0-92 64-156t156-64q45 0 87 16.5t75 47.5l-62 216h120l-34 335 114-375H480l71-212q25-14 52.5-21t56.5-7q92 0 156 64t64 156q0 48-13 88t-55 95.5q-42 55.5-121 138T481-83Z"})),_=l({account_suspension:{id:"notification.relationships_severance_event.account_suspension",defaultMessage:"An admin from {from} has suspended {target}, which means you can no longer receive updates from them or interact with them."},domain_block:{id:"notification.relationships_severance_event.domain_block",defaultMessage:"An admin from {from} has blocked {target}, including {followersCount} of your followers and {followingCount, plural, one {# account} other {# accounts}} you follow."},user_domain_block:{id:"notification.relationships_severance_event.user_domain_block",defaultMessage:"You have blocked {target}, removing {followersCount} of your followers and {followingCount, plural, one {# account} other {# accounts}} you follow."}}),q=({type:n,target:t,followingCount:i,followersCount:a,hidden:s,unread:u})=>{const g=r();return s?null:e.jsxs("div",{role:"button",className:c("notification-group notification-group--link notification-group--relationships-severance-event focusable",{"notification-group--unread":u}),tabIndex:"0",children:[e.jsx("div",{className:"notification-group__icon",children:e.jsx(d,{id:"heart_broken",icon:p})}),e.jsxs("div",{className:"notification-group__main",children:[e.jsx("p",{children:g.formatMessage(_[n],{from:e.jsx("strong",{children:h}),target:e.jsx("strong",{children:t}),followingCount:i,followersCount:a})}),e.jsx("a",{href:"/severed_relationships",target:"_blank",rel:"noopener",className:"link-button",children:e.jsx(m,{id:"notification.relationships_severance_event.learn_more",defaultMessage:"Learn more"})})]})]})},E=n=>o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 -960 960 960",width:24,...n},o.createElement("path",{d:"M280-280h80v-280h-80v280Zm160 0h80v-400h-80v400Zm160 0h80v-160h-80v160ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm0-560v560-560Z"}));export{Z as M,q as R,j as S,E as a};
//# sourceMappingURL=insert_chart-DuzaIIGb.js.map
