PageSourceSearch

https://ffxiv-mastodon.com/packs/index-DLJt31oM.js

js ffxiv-mastodon.com collected 2026-10-08 22:20:09 UTC 17,305 bytes, 2 lines download raw bytes

1import{j as e}from"./client-CQfMN8sJ.js";import{r,ac as B,ad as D,d as O,u as k,a as I,aa as H,ab as te,ae as ne,t as oe,m as $,f as E,af as Z}from"./index-CLolzcWW.js";import{c as K}from"./index-CRZCfljs.js";import{h as ie,N as re,L as y,u as Q}from"./short_number-B6jY-MBJ.js";import{a3 as q,a as p,u as M,ak as R,I as le,L as ce,bO as de,bP as ue,h as X,aI as me,bQ as U,bR as T,c as ge,bS as pe,e as fe,bT as he,bU as ve,ar as _e,aG as xe,aH as be,bf as je,bV as Me}from"./useSelectableClick-BvSCn5An.js";import{u as ke}from"./use-gesture-react.esm-40ovaVwb.js";import{a as G,S as we,b as Ne}from"./settings-Cime7q6x.js";import{S as Se}from"./bookmarks-fill-CiQmMJ_7.js";import{S as Te}from"./home-fill-DYRcIHey.js";import{S as ye}from"./info-BIU5TIW8.js";import{s as Ce,S as Ie}from"./notifications-BUMlJmEX.js";import{S as Ee}from"./notifications-B9xolw84.js";import{S as Le}from"./person_add-fill-BrtpXVA1.js";import{S as Ae}from"./person_add-raQl9KAS.js";import{a9 as Fe,aa as qe,ab as Re,ac as N,V as Pe}from"./status_quoted-l3_QeQfn.js";import{S as Be}from"./trending_up-2j4t7AGk.js";import{A as De}from"./index-Ch2YUZVy.js";import{I as C}from"./icon_with_badge-D2TNdQrt.js";import{S as Oe}from"./search-DiqREFzc.js";import{u as Y}from"./follow_button-B0n64uLD.js";import{M as m}from"./message-CDxIHOaF.js";import{S as z}from"./tag-BojKVRmf.js";import{S as V}from"./list_alt-PXTp-QWl.js";import"./api-CAV40iOK.js";import{g as He}from"./lists-DWIZrexh.js";import{I as $e}from"./hashtag-HmKWkX8x.js";const Ze=s=>r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 -960 960 960",width:24,...s},r.createElement("path",{d:"M160-80v-560q0-33 23.5-56.5T240-720h320q33 0 56.5 23.5T640-640v560L400-200 160-80Zm80-121 160-86 160 86v-439H240v439Zm480-39v-560H280v-80h440q33 0 56.5 23.5T800-800v560h-80ZM240-640h320-320Z"})),u=({icon:s,activeIcon:a,iconComponent:t,activeIconComponent:i,text:o,to:n,href:h,method:f,badge:v,transparent:x,...b})=>{const j=ie(n!=null?n:""),l=K("column-link",{"column-link--transparent":x}),c=typeof v<"u"?e.jsx("span",{className:"column-link__badge",children:v}):null,_=t?e.jsx(q,{id:typeof s=="string"?s:"",icon:t,className:"column-link__icon"}):s,w=a!=null?a:i?e.jsx(q,{id:typeof s=="string"?s:"",icon:i,className:"column-link__icon"}):_,S=!!j;return h?e.jsxs("a",{href:h,className:l,"data-method":f,...b,children:[S?w:_,e.jsx("span",{children:o}),c]}):n?e.jsxs(re,{to:n,className:l,...b,children:[S?w:_,e.jsx("span",{children:o}),c]}):null},Ue=()=>{const s=p(n=>B?n.accounts.get(B):void 0),a=p(n=>D?n.accounts.get(D):void 0),t=M(),i=r.useCallback(n=>(n.preventDefault(),n.stopPropagation(),t(R({modalType:"CONFIRM_LOG_OUT",modalProps:{}})),!1),[t]),o=e.jsxs(y,{to:"/@".concat(s==null?void 0:s.acct),children:[s==null?void 0:s.acct,"@",O]});return e.jsxs("div",{className:"sign-in-banner",children:[e.jsx("p",{children:a?e.jsx(m,{id:"moved_to_account_banner.text",defaultMessage:"Your account {disabledAccount} is currently disabled because you moved to {movedToAccount}.",values:{disabledAccount:o,movedToAccount:e.jsx(y,{to:"/@".concat(a.acct),children:a.acct.includes("@")?a.acct:"".concat(a.acct,"@").concat(O)})}}):e.jsx(m,{id:"disabled_account_banner.text",defaultMessage:"Your account {disabledAccount} is currently disabled.",values:{disabledAccount:o}})}),e.jsx("a",{href:"/auth/edit",className:"button button--block",children:e.jsx(m,{id:"disabled_account_banner.account_settings",defaultMessage:"Account settings"})}),e.jsx("button",{type:"button",className:"button button--block button-secondary",onClick:i,children:e.jsx(m,{id:"confirmations.logout.confirm",defaultMessage:"Log out"})})]})},Ge=s=>r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 -960 960 960",width:24,...s},r.createElement("path",{d:"M480-344 240-584l56-56 184 184 184-184 56 56-240 240Z"})),ze=s=>r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 -960 960 960",width:24,...s},r.createElement("path",{d:"M480-528 296-344l-56-56 240-240 240 240-56 56-184-184Z"})),J=({children:s,to:a,icon:t,iconComponent:i,activeIconComponent:o,title:n,collapseTitle:h,expandTitle:f,loading:v})=>{const[x,b]=r.useState(!1),j=r.useId(),l=r.useCallback(()=>{b(c=>!c)},[b]);return e.jsxs("div",{className:"navigation-panel__list-panel",children:[e.jsxs("div",{className:"navigation-panel__list-panel__header",children:[e.jsx(u,{transparent:!0,to:a,icon:t,iconComponent:i,activeIconComponent:o,text:n,id:"".concat(j,"-title")}),(v||s.length>0)&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"navigation-panel__list-panel__header__sep"}),e.jsx(le,{icon:"down",expanded:x,iconComponent:v?ce:x?ze:Ge,title:x?h:f,onClick:l,"aria-controls":"".concat(j,"-content")})]})]}),s.length>0&&x&&e.jsx("div",{className:"navigation-panel__list-panel__items",role:"region",id:"".concat(j,"-content"),"aria-labelledby":"".concat(j,"-title"),children:s})]})},L=I({followedTags:{id:"navigation_bar.followed_tags",defaultMessage:"Followed hashtags"},expand:{id:"navigation_panel.expand_followed_tags",defaultMessage:"Expand followed hashtags menu"},collapse:{id:"navigation_panel.collapse_followed_tags",defaultMessage:"Collapse followed hashtags menu"}}),Ve=4,We=()=>{const s=k(),a=M(),{tags:t,stale:i,loading:o}=p(n=>n.followedTags);return r.useEffect(()=>{i&&a(de())},[a,i]),e.jsx(J,{to:"/followed_tags",icon:"hashtag",iconComponent:z,title:s.formatMessage(L.followedTags),collapseTitle:s.formatMessage(L.collapse),exp
1andTitle:s.formatMessage(L.expand),loading:o,children:t.slice(0,Ve).map(n=>e.jsx(u,{transparent:!0,icon:"hashtag",iconComponent:z,text:"#".concat(n.name),to:"/tags/".concat(n.name)},n.name))})},W=s=>r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 -960 960 960",width:24,...s},r.createElement("path",{d:"M320-280q17 0 28.5-11.5T360-320q0-17-11.5-28.5T320-360q-17 0-28.5 11.5T280-320q0 17 11.5 28.5T320-280Zm0-160q17 0 28.5-11.5T360-480q0-17-11.5-28.5T320-520q-17 0-28.5 11.5T280-480q0 17 11.5 28.5T320-440Zm0-160q17 0 28.5-11.5T360-640q0-17-11.5-28.5T320-680q-17 0-28.5 11.5T280-640q0 17 11.5 28.5T320-600Zm120 320h240v-80H440v80Zm0-160h240v-80H440v80Zm0-160h240v-80H440v80ZM200-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-120H200Z"})),A=I({lists:{id:"navigation_bar.lists",defaultMessage:"Lists"},expand:{id:"navigation_panel.expand_lists",defaultMessage:"Expand list menu"},collapse:{id:"navigation_panel.collapse_lists",defaultMessage:"Collapse list menu"}}),Ke=()=>{const s=k(),a=M(),t=p(n=>He(n)),[i,o]=r.useState(!0);return r.useEffect(()=>{a(ue()).then(()=>(o(!1),""))},[a]),e.jsx(J,{to:"/lists",icon:"list-ul",iconComponent:V,activeIconComponent:W,title:s.formatMessage(A.lists),collapseTitle:s.formatMessage(A.collapse),expandTitle:s.formatMessage(A.expand),loading:i,children:t.map(n=>e.jsx(u,{icon:"list-ul",iconComponent:V,activeIconComponent:W,text:n.title,to:"/lists/".concat(n.id),transparent:!0},n.id))})},g=I({blocks:{id:"navigation_bar.blocks",defaultMessage:"Blocked users"},domainBlocks:{id:"navigation_bar.domain_blocks",defaultMessage:"Blocked domains"},mutes:{id:"navigation_bar.mutes",defaultMessage:"Muted users"},filters:{id:"navigation_bar.filters",defaultMessage:"Muted words"},administration:{id:"navigation_bar.administration",defaultMessage:"Administration"},moderation:{id:"navigation_bar.moderation",defaultMessage:"Moderation"},logout:{id:"navigation_bar.logout",defaultMessage:"Logout"},automatedDeletion:{id:"navigation_bar.automated_deletion",defaultMessage:"Automated post deleti
1on"},accountSettings:{id:"navigation_bar.account_settings",defaultMessage:"Password and security"},importExport:{id:"navigation_bar.import_export",defaultMessage:"Import and export"},privacyAndReach:{id:"navigation_bar.privacy_and_reach",defaultMessage:"Privacy and reach"}}),Qe=()=>{const s=k(),{permissions:a}=X(),t=M(),i=r.useMemo(()=>{const o=[{href:"/filters",text:s.formatMessage(g.filters)},{to:"/mutes",text:s.formatMessage(g.mutes)},{to:"/blocks",text:s.formatMessage(g.blocks)},{to:"/domain_blocks",text:s.formatMessage(g.domainBlocks)},null,{href:"/settings/privacy",text:s.formatMessage(g.privacyAndReach)},{href:"/statuses_cleanup",text:s.formatMessage(g.automatedDeletion)},{href:"/auth/edit",text:s.formatMessage(g.accountSettings)},{href:"/settings/export",text:s.formatMessage(g.importExport)}];Fe(a)&&o.push(null,{href:"/admin/reports",text:s.formatMessage(g.moderation)}),qe(a)&&o.push({href:"/admin/dashboard",text:s.formatMessage(g.administration)});const n=()=>{t(R({modalType:"CONFIRM_LOG_OUT",modalProps:{}}))};return o.push(null,{text:s.formatMessage(g.logout),action:n}),o},[s,t,a]);return e.jsx(me,{items:i,placement:"bottom-start",children:e.jsxs("button",{className:"column-link column-link--transparent",type:"button",children:[e.jsx(q,{id:"",icon:Re,className:"column-link__icon"}),e.jsx(m,{id:"navigation_bar.more",defaultMessage:"More"})]})})},Xe=()=>{const s=M(),a=r.useCallback(()=>s(R({modalType:"CLOSED_REGISTRATIONS",modalProps:{}})),[s]);let t;const i=p(o=>{var n;return(n=o.server.getIn(["server","registrations","url"],null))!=null?n:"/auth/sign_up"});return H?e.jsxs("div",{className:"sign-in-banner",children:[e.jsx("p",{children:e.jsx("strong",{children:e.jsx(m,{id:"sign_in_banner.mastodon_is",defaultMessage:"Mastodon is the best way to keep up with what's happening."})})}),e.jsx("p",{children:e.jsx(m,{id:"sign_in_banner.follow_anyone",defaultMessage:"Follow anyone across the fediverse and see it all in chronological order. No algorithms, ads, or clickbait in sight."})}),e.jsx("a",{href:H,"data-method":"post",className:"button button--block button-secondary",children:e.jsx(m,{id:"sign_in_banner.sso_redirect",defaultMessage:"Login or Register"})})]}):(te?t=e.jsx("a",{href:i,className:"button button--block",children:e.jsx(m,{id:"sign_in_banner.create_account",defaultMessage:"Create account"})}):t=e.jsx("button",{className:"button button--block",onClick:a,type:"button",children:e.jsx(m,{id:"sign_in_banner.create_account",defaultMessage:"Create account"})}),e.jsxs("div",{className:"sign-in-banner",children:[e.jsx("p",{children:e.jsx("strong",{children:e.jsx(m,{id:"sign_in_banner.mastodon_is",defaultMessage:"Mastodon is the best way to keep up with what's happening."})})}),e.jsx("p",{children:e.jsx(m,{id:"sign_in_banner.follow_anyone",defaultMessage:"Follow anyone across the fediverse and see it all in chronological order. No algorithms, ads, or clickbait in sight."})}),t,e.jsx("a",{href:"/auth/sign_in",className:"button button--block button-secondary",children:e.jsx(m,{id:"sign_in_banner.sign_in",defaultMessage:"Login"})})]}))},Ye=()=>{const s=M(),a=p(t=>t.trends.getIn(["tags","items"]));return r.useEffect(()=>{s(U());const t=setInterval(()=>{s(U())},900*1e3);return()=>{clearInterval(t)}},[s]),!ne||a.isEmpty()?null:e.jsx("div",{className:"navigation-panel__portal",children:e.jsxs("div",{className:"getting-started__trends",children:[e.jsx("h4",{children:e.jsx(y,{to:"/explore/tags",children:e.jsx(m,{id:"trends.trending_now",defaultMessage:"Trending now"})})}),a.take(4).map(t=>e.jsx($e,{hashtag:t},t.get("name")))]})})},d=I({home:{id:"tabs_bar.home",defaultMessage:"Home"},notifications:{id:"tabs_bar.notifications",defaultMessage:"Notifications"},explore:{id:"explore.title",defaultMessage:"Trending"},firehose:{id:"column.firehose",defaultMessage:"Live feeds"},firehose_singular:{id:"column.firehose_singular",defaultMessage:"Live feed"},direct:{id:"navigation_bar.direct",defaultMessage:"Private mentions"},favourites:{id:"navigation_bar.favourites",defaultMessage:"Favorites"},bookmarks:{id:"navigation_bar.bookmarks",defaultMessage:"Bookmarks"},preferences:{id:"navigation_bar.preferences",defaultMessage:"Preferences"},followsAndFollowers:{id:"navigation_bar.follows_and_followers",defaultMessage:"Follows and followers"},about:{id:"navigation_bar.about",defaultMessage:"About"},search:{id:"navigation_bar.search",defaultMessage:"Search"},searchTrends:{id:"navigation_bar.search_trends",defaultMessage:"Search / Trending"},advancedInterface:{id:"navigation_bar.advanced_interface",defaultMessage:"Open in advanced web interface"},openedInClassicInterface:{id:"navigation_bar.opened_in_classic_interface",defaultMessage:"Posts, accounts, and other specific pages are opened by default in the classic web interface."},followRequests:{id:"navigation_bar.follow_requests",defaultMessage:"Follow requests"},logout:{id:"navigation_bar.logout",defaultMessage:"Logout"},compose:{id:"tabs_bar.publish",defaultMessage:"New Post"}}),Je=()=>{const s=p(je),a=p(o=>o.getIn(["notifications","unread"])),t=k(),i=p(Ce);return e.jsx(u,{transparent:!0,to:"/notifications",icon:e.jsx(C,{id:"bell",icon:Ee,count:s?i:a,className:"column-link__icon"}),activeIcon:e.jsx(C,{id:"bell",icon:Ie,count:s?i:a,className:"column-link__icon"}),text:t.formatMessage(d.notifications)},"notifications")},es=()=>{const s=k(),a=p(i=>{var o,n;return(n=(o=i.user_lists.getIn(["follow_requests","items"]))==null?void 0:o.size)!=null?n:0}),t=M();return r.useEffect(()=>{t(Me())},[t]),a===0?null:e.jsx(u,{transparent:!0,to:"/follow_requests",icon:e.jsx(C,{id:"user-plus",icon:Ae,count:a,className:"column-link__icon"}),activeIcon:e.jsx(C,{id:"user-plus",icon:Le,count:a,className:"column-link__icon"}),text:s.formatMessage(d.followRequests)})},ss=()=>$?e.jsx("div",{className:"navigation-bar",children:e.jsx(De,{id:$,minimal:!0,size:36})}):null,as=(s,{pathname:a})=>!!s||a.startsWith("/public"),F=284,ts=({multiColumn:s=!1})=>{const a=k(),{signedIn:t,permissions:i,disabledAccountId:o}=X(),n=Q(),h=Y("full")&&!s;let f;return he&&(f=e.jsxs("div",{className:"switch-to-advanced",children:[a.formatMessage(d.openedInClassicInterface)," ",e.jsx("a",{href:"/deck".concat(n.pathname),className:"switch-to-advanced__toggle",children:a.formatMessage(d.advancedInterface)})]})),e.jsxs("div",{className:"navigation-panel",children:[e.jsx("div",{className:"navigation-panel__logo",children:e.jsx(y,{to:"/",className:"column-link column-link--logo",children:e.jsx(ve,{})})}),h&&e.jsx(Oe,{singleColumn:!0}),!s&&e.jsx(ss,{}),f&&e.jsx("div",{className:"navigation-panel__banner",children:f}),e.jsxs("div",{className:"navigation-panel__menu",children:[t&&e.jsxs(e.Fragment,{children:[!s&&e.jsx(u,{to:"/publish",icon:"plus",iconComponent:G,activeIconComponent:G,text:a.formatMessage(d.compose),className:"navigation-panel__compose-button"}),e.jsx(u,{transparent:!0,to:"/home",icon:"home",iconComponent:we,activeIconComponent:Te,text:a.formatMessage(d.home)}),e.jsx(Je,{}),e.jsx("hr",{})]}),(N(t,i,E)||N(t,i,Z))&&e.jsx(u,{transparent:!0,to:N(t,i,E)?"/public/local":"/public/remote",icon:"globe",iconComponent:Pe,isActive:as,text:a.formatMessage(N(t,i,E)&&N(t,i,Z)?d.firehose:d.firehose_singular)}),oe&&e.jsx(u,{transparent:!0,to:"/explore",icon:"explore",iconComponent:Be,text:a.formatMessage(d.explore)}),t&&e.jsxs(e.Fragment,{children:[e.jsx("hr",{}),e.jsx(es,{}),e.jsx(u,{transparent:!0,to:"/conversations",icon:"at",iconComponent:_e,text:a.formatMessage(d.direct)}),e.jsx(u,{transparent:!0,to:"/bookmarks",icon:"bookmarks",iconComponent:Ze,activeIconComponent:Se,text:a.formatMessage(d.bookmarks)}),e.jsx(u,{transparent:!0,to:"/favourites",icon:"star",iconComponent:be,activeIconComponent:xe,text:a.formatMessage(d.favourites)}),e.jsx(Ke,{}),e.jsx(We,{}),e.jsx("hr",{}),e.jsx(u,{transparent:!0,href:"/settings/preferences",icon:"cog",iconComponent:Ne,text:a.formatMessage(d.preferences)}),e.jsx(Qe,{})]}),e.jsx("div",{className:"navigation-panel__legal",children:e.jsx(u,{transparent:!0,to:"/about",icon:"ellipsis-h",iconComponent:ye,text:a.formatMessage(d.about)})}),!t&&e.jsxs("div",{className:"navigation-panel__sign-in-banner",children:[e.jsx("hr",{}),o?e.jsx(Ue,{}):e.jsx(Xe,{})]})]}),e.jsx("div",{className:"flex-spacer"}),e.jsx(Ye,{})]})},Es=()=>
1{const s=p(l=>l.navigation.open),a=M(),t=Y("openable"),i=Q(),o=r.useRef(null);r.useEffect(()=>{a(T())},[a,i]),r.useEffect(()=>{const l=_=>{o.current&&_.target===o.current&&a(T())},c=_=>{_.key==="Escape"&&a(T())};return document.addEventListener("click",l),document.addEventListener("keyup",c),()=>{document.removeEventListener("click",l),document.removeEventListener("keyup",c)}},[a]);const n=getComputedStyle(document.body).direction!=="rtl",h=n?F:-F,[{x:f},v]=ge(()=>({x:s?0:h,onRest:{x({value:l}){l===0?a(pe()):(n?l>0:l<0)&&a(T())}}}),[s]),x=ke(({last:l,offset:[c],velocity:[_],direction:[w],cancel:S})=>{const ee=n?w:-w,P=n?c:-c;if(P<-70&&S(),l){const se=P>F/2,ae=_>.5&&ee>0;se||ae?v.start({x:h}):v.start({x:0})}else v.start({x:c,immediate:!0})},{from:()=>[f.get(),0],filterTaps:!0,bounds:n?{left:0}:{right:0},rubberband:!0,enabled:t}),b=r.useRef();r.useEffect(()=>{var l;if(s){const c=document.querySelector(".navigation-panel__menu .column-link");b.current=document.activeElement,c==null||c.focus()}else(l=b.current)==null||l.focus()},[s]);const j=t&&s;return e.jsx("div",{className:K("columns-area__panels__pane columns-area__panels__pane--start columns-area__panels__pane--navigational",{"columns-area__panels__pane--overlay":j}),ref:o,children:e.jsx(fe.div,{className:"columns-area__panels__pane__inner",...x(),style:t?{x:f}:void 0,children:e.jsx(ts,{})})})};export{Es as C,ts as N};
2//# sourceMappingURL=index-DLJt31oM.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.