PageSourceSearch

https://genau.qwertqwefsday.eu/assets/clip.c7e05b91.js

js qwertqwefsday.eu collected 2026-10-02 07:03:18 UTC 2,977 bytes, 1 lines download raw bytes

1var S=Object.defineProperty;var v=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var k=(a,t,e)=>t in a?S(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e,g=(a,t)=>{for(var e in t||(t={}))V.call(t,e)&&k(a,e,t[e]);if(v)for(var e of v(t))H.call(t,e)&&k(a,e,t[e]);return a};import{X as q}from"./notes.8004da2f.js";import{$ as u,v as z,f as n,W as h,I as m,q as U,aP as W,_ as X}from"./app.0a7dc9c6.js";import{b as $,a as y,c as r,w as j,f as _,g as D,h as f,B as i,j as w,k as x,C,H as E,z as l,t as O}from"./vue.ad847db7.js";import"./note.d041aae4.js";import"./focus.3c26b9f9.js";import"./extract-url-from-mfm.74e35c5f.js";import"./consts.ad68db41.js";import"./date-separated-list.vue_vue_type_style_index_0_lang.e84181c9.js";import"./pagination.0dcd50f1.js";const T={key:0},Y={class:"okzinsic _panel"},F={key:0,class:"description"},G={class:"user"},J=$({__name:"clip",props:{clipId:null},setup(a){const t=a;let e=y();const M={endpoint:"clips/notes",limit:10,params:r(()=>({clipId:t.clipId}))},p=y(),I=r(()=>u&&e.value&&u.id===e.value.userId);j(()=>t.clipId,async()=>{e.value=await z("clips/show",{clipId:t.clipId})},{immediate:!0}),O("currentClipPage",e);const b=r(()=>e.value&&I.value?[...u.isAdmin?[{icon:"fas fa-dumpster",text:n.ts.deleteAllNotes,handler:async()=>{var o,c;const{canceled:s}=await h({type:"warning",text:n.ts.deleteAllNotesConfirm});s||(await m("notes/delete-many",{noteIds:(o=p.value.pagingComponent)==null?void 0:o.items.map(d=>d.id)}),(c=p.value.pagingComponent)==null||c.reload())}}]:[],{icon:"fas fa-pencil-alt",text:n.ts.edit,handler:async()=>{const{canceled:s,result:o}=await U(e.value.name,{name:{type:"string",label:n.ts.name,default:e.value.name},description:{type:"string",required:!1,multiline:!0,label:n.ts.description,default:e.value.description},isPublic:{type:"boolean",label:n.ts.public,default:e.value.isPublic}});s||m("clips/update",g({clipId:e.value.id},o))}},{icon:"fas fa-trash-alt",text:n.ts.delete,danger:!0,handler:async()=>{const{canceled:s}=await h({type:"warning",text:n.t("deleteAreYouSure",{x:e.value.name})});s||await m("clips/delete",{clipId:e.value.id})}}]:null);return W(r(()=>e.value?{title:e.value.name,icon:"fas fa-paperclip"}:null)),(s,o)=>{const c=l("MkPageHeader"),d=l("Mfm"),N=l("MkAvatar"),A=l("MkUserName"),P=l("MkSpacer"),B=l("MkStickyContainer");return _(),D(B,null,{header:f(()=>[i(c,{actions:b.value},null,8,["actions"])]),default:f(()=>[i(P,{"content-max":800},{default:f(()=>[e.value?(_(),w("div",T,[x("div",Y,[e.value.description?(_(),w("div",F,[i(d,{text:e.value.description,"is-note":!1},null,8,["text"])])):C("",!0),x("div",G,[i(N,{user:e.value.user,class:"avatar","show-indicator":!0},null,8,["user"]),E(),i(A,{user:e.value.user,nowrap:!1},null,8,["user"])])]),i(q,{ref_key:"tlComponent",ref:p,pagination:M,detail:!0},null,512)])):C("",!0)]),_:1})]),_:1})}}});const ie=X(J,[["__scopeId","data-v-34c3b139"]]);export{ie as default};

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.