1"use strict";(self.webpackChunkmangane_fe=self.webpackChunkmangane_fe||[]).push([[39],{1215:function(e,t,s){s.r(t),s.d(t,{default:function(){return _}});var n=s(1855),i=(s(1),s(0)),o=s(1841),a=s(1842),r=s(20),c=s(285),d=s(3),l=s(9),f=s(94),u=s(27),g=s(5),m=s.n(g),p=s(14),v=s(940),h=(0,l.Go)(),Z=function(e){var t=e.host,o=(0,d.CG)((function(e){return h(e,t)})),a=(0,i.useState)(!1),r=a[0],c=a[1];return(0,n.Z)("div",{},void 0,(0,n.Z)("a",{href:"#",className:"flex items-center gap-1 py-2.5 no-underline",onClick:function(e){c((function(e){return!e})),e.preventDefault()}},void 0,(0,n.Z)(p.Z,{src:s(r?1765:1766)}),(0,n.Z)("div",{className:m()({"line-through":o.getIn(["federation","reject"])})},void 0,o.get("host"))),(0,n.Z)("div",{className:m()({"h-0 overflow-hidden":!r,"h-auto":r})},void 0,(0,n.Z)(v.Z,{remoteInstance:o})))},M=(0,o.vU)({heading:{id:"column.federation_restrictions",defaultMessage:"Federation Restrictions"},boxTitle:{id:"federation_restrictions.explanation_box.title",defaultMessage:"Instance-specific policies"},boxMessage:{id:"federation_restrictions.explanation_box.message",defaultMessage:"Normally servers on the Fediverse can communicate freely. {siteTitle} has imposed restrictions on the following servers."},emptyMessage:{id:"federation_restrictions.empty_message",defaultMessage:"{siteTitle} has not restricted any instances."},notDisclosed:{id:"federation_restrictions.not_disclosed_message",defaultMessage:"{siteTitle} does not disclose federation restrictions through the API."}}),x=(0,l.$1)(),_=function(){var e=(0,a.Z)(),t=(0,d.CG)((function(e){return e.instance.get("title")})),s=(0,d.CG)((function(e){return x(e)})),o=(0,d.CG)((function(e){return(0,f.pB)(e)})),l=(0,i.useState)(!0),g=l[0],m=l[1],p=o?M.emptyMessage:M.notDisclosed;return(0,n.Z)(u.Z,{icon:"gavel",label:e.formatMessage(M.heading)},void 0,(0,n.Z)(c.Z,{headline:e.formatMessage(M.boxTitle),expanded:g,onToggle:function(e){m(e)}},void 0,e.formatMessage(M.boxMessage,{siteTitle:t})),(0,n.Z)("div",{className:"pt-4"},void 0,(0,n.Z)(r.Z,{emptyMessage:e.formatMessage(p,{siteTitle:t})},void 0,s.map((function(e){return(0,n.Z)(Z,{host:e},e)})))))}},1765:function(e,t,s){e.exports=s.p+"packs/icons/caret-down-ded17d2c.svg"},1766:function(e,t,s){e.exports=s.p+"packs/icons/caret-right-c50761f9.svg"}}]); 2//# sourceMappingURL=federation_restrictions-3f651be4ea593c568f84.chunk.js.map
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.