PageSourceSearch

https://mstdn.games/packs/hide_featured_tab-D8oE-ALx.js

js mstdn.games collected 2026-10-02 15:26:56 UTC 1,581 bytes, 2 lines download raw bytes

1import{o as e}from"./chunk-CMxvf4Kt.js";import{n as t,t as n}from"./jsx-runtime-SsSjplwM.js";import{c as r,s as i}from"./react-intl-Cop388b4.js";import{l as a}from"./prop-types-BTvjt2rf.js";import{M as o}from"./poll-quu7nqu0.js";import{nt as s}from"./render-CHiIZYnD.js";import{s as c}from"./react-router-BzQH59UT.js";import{o as l}from"./typed_functions-CyAHd4bl.js";import{T as u}from"./compose_form_container-Dhanlzat.js";import{n as d}from"./useAccountId-Chz2z4M-.js";var f=e(t()),p=n(),m=i({title:{id:`confirmations.hide_featured_tab.title`,defaultMessage:`Hide "Featured" tab?`},intro:{id:`confirmations.hide_featured_tab.intro`,defaultMessage:`You can change this at any time under <i>Edit profile > Profile tab settings</i>.`},message:{id:`confirmations.hide_featured_tab.message`,defaultMessage:`This will hide the tab for users on {serverName} and other servers running the latest version of Mastodon. Other displays may vary.`},confirm:{id:`confirmations.hide_featured_tab.confirm`,defaultMessage:`Hide tab`}}),h=({onClose:e})=>{let t=r(),n=l(),i=c(),{acct:h}=o(d())??{},g=(0,f.useCallback)(()=>{n(s({show_featured:!1})),i.push(`/@${h}`)},[h,n,i]);return(0,p.jsx)(u,{title:t.formatMessage(m.title),extraContent:(0,p.jsxs)(`div`,{className:`prose`,children:[(0,p.jsx)(`p`,{children:t.formatMessage(m.intro,{i:e=>(0,p.jsx)(`i`,{children:e})})}),(0,p.jsx)(`p`,{children:t.formatMessage(m.message,{serverName:a})})]}),confirm:t.formatMessage(m.confirm),onConfirm:g,onClose:e})};export{h as ConfirmHideFeaturedTabModal};
2//# sourceMappingURL=hide_featured_tab-D8oE-ALx.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.