1import{aq as C,i as s,M as p,F as u,m as n,x as j,bT as x,ao as M}from"./2025.4.1-nijimiss.7-13fa15e96a.DfhntQAE.js";import{b as $,z as d,g as c,h as A,j as i,s as N,l as h,C as l,N as f,A as m,q as _,a as T,c as w}from"./2025.4.1-nijimiss.7-13fa15e96a.D97khAA0.js";import"./2025.4.1-nijimiss.7-13fa15e96a.CIcFxiKL.js";const B={class:"_spacer",style:{"--MI_SPACER-w":"800px"}},P={key:0,class:"_buttonsCenter"},W={key:1,class:"_fullInfo"},D=$({__name:"lookup",setup(L){const r=T("fetching");function k(){const a=new URL(window.location.href).searchParams;let t=a.get("uri")??a.get("acct");if(t==null){r.value="done";return}let o;t.startsWith("https://")?(o=u("ap/show",{uri:t}),o.then(e=>{e.type==="User"?n.replace(e.object.host?`/@${e.object.username}@${e.object.host}`:`/@${e.object.username}`):e.type==="Note"?n.replace(`/notes/${e.object.id}`):j({type:"error",text:"Not a user"})})):(t.startsWith("acct:")&&(t=t.slice(5)),o=u("users/show",x(t)),o.then(e=>{n.replace(e.host?`/@${e.username}@${e.host}`:`/@${e.username}`)})),M(o,null,null,s.ts.fetchingAsApObject)}function g(){window.close(),window.setTimeout(()=>{window.location.href="/"},100)}function b(){window.location.href="/"}k();const y=w(()=>[]),v=w(()=>[]);return C({title:s.ts.lookup,icon:"ti ti-world-search"}),(a,t)=>{const o=d("MkLoading"),e=d("PageWithHeader");return c(),A(e,{actions:y.value,tabs:v.value},{default:i(()=>[N("div",B,[r.value==="done"?(c(),h("div",P,[l(p,{onClick:g},{default:i(()=>[f(m(_(s).ts.close),1)]),_:1}),l(p,{onClick:b},{default:i(()=>[f(m(_(s).ts.goToMisskey),1)]),_:1})])):(c(),h("div",W,[l(o)]))])]),_:1},8,["actions","tabs"])}}});export{D as default}; 2//# sourceMappingURL=2025.4.1-nijimiss.7-13fa15e96a.FVSE5ORh.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.