PageSourceSearch

https://hua58-hermes.hf.space/assets/js/FilesView-CGzI5A6d.js

js hua58-hermes.hf.space collected 2026-10-03 16:56:55 UTC 1,736 bytes, 1 lines download raw bytes

1import{n as p}from"./rolldown-runtime-BKwlnUi0.js";import{Bt as w,Ft as i,W as B,at as N,ct as t,gt as b,lt as E,nt as f,rt as v,vt as r}from"./ui-vendor-CFspo_7D.js";import{n as U,t as C}from"./_plugin-vue_export-helper-DXyB3Dgs.js";import{r as P,t as T}from"./profiles-DxxYzdDR.js";import{_ as L,a as I,b as W,c as $,d as j,f as q,g as z,h as A,i as D,l as G,m as H,n as J,o as K,p as O,r as Q,s as X,t as Y,u as Z,v as ee,y as te}from"./FileRenameModal-Blxtpi7f.js";var m,c,h,y,x,M=p((()=>{B(),te(),T(),ee(),z(),H(),q(),Z(),$(),K(),D(),J(),m={class:"files-view"},c={class:"files-tree-panel"},h={class:"files-main-panel"},y={class:"files-content"},x=E({__name:"FilesView",setup(ne){const u=W(),_=P(),F=i(null),d=i(!1),l=i(!1),a=i("newFile"),n=i(null);function g(o,e){F.value?.show(o,e)}function S(){a.value="newFile",n.value=null,l.value=!0}function R(){a.value="newFolder",n.value=null,l.value=!0}function V(o){a.value="rename",n.value=o,l.value=!0}async function k(){(!_.activeProfileName||_.profiles.length===0)&&await _.fetchProfiles(),await u.fetchEntries("")}return b(()=>{k()}),(o,e)=>(r(),N("div",m,[f("div",c,[t(L)]),f("div",h,[t(O,{onShowNewFile:S,onShowNewFolder:R,onShowUpload:e[0]||(e[0]=s=>d.value=!0)}),t(A),f("div",y,[w(u).editingFile?(r(),v(X,{key:0})):w(u).previewFile?(r(),v(I,{key:1})):(r(),v(j,{key:2,onContextmenuEntry:g}))])]),t(G,{ref_key:"contextMenuRef",ref:F,onRename:V},null,512),t(Q,{show:d.value,"onUpdate:show":e[1]||(e[1]=s=>d.value=s)},null,8,["show"]),t(Y,{show:l.value,"onUpdate:show":e[2]||(e[2]=s=>l.value=s),mode:a.value,entry:n.value},null,8,["show","mode","entry"])]))}})})),le=p((()=>{})),ie,ae=p((()=>{M(),M(),le(),U(),ie=C(x,[["__scopeId","data-v-89d440cf"]])}));ae();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.