PageSourceSearch

https://kazzle.com/assets/drive-item-info-y2xT38Sp.js

js kazzle.com collected 2026-09-24 14:46:27 UTC 2,214 bytes, 42 lines download raw bytes

1import{m as n,l as i,bH as $,bO as y,d9 as I,da as F,G as L,aC as a,u as r,aF as p,aG as B}from"./startup-B-3e65bb.js";import{i as t}from"./locale-CzrXnhV-.js";function S(e){switch(e){case"app":return t._({id:"LMUw1U"});case"folder":return t._({id:"kNqMMd"});case"mount":return t._({id:"4Yq8RD"});case"file":return t._({id:"J2eKUI"});default:return t._({id:"HX5SVx"})}}function z(e){return e?e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(1)} KB`:e<1024*1024*1024?`${(e/(1024*1024)).toFixed(1)} MB`:`${(e/(1024*1024*1024)).toFixed(1)} GB`:null}function h(e){if(!e)return null;try{return new Date(e).toLocaleString(void 0,{dateStyle:"medium",timeStyle:"short"})}catch{return e}}function k({name:e,type:s,size:m,createdAt:g,modifiedAt:v,path:c,onAction:w}){const M=()=>w?.({type:"close"}),_=s==="folder",f=z(m),u=h(v),x=h(g);return n(L,{children:[i($,{title:e,onClose:M}),i(y,{children:n(C,{children:[n(H,{children:[i(j,{children:_?i(I,{size:28,weight:"fill"}):i(F,{size:28})}),i(G,{children:S(s)})]}),n(b,{children:[c&&n(l,{children:[i(d,{children:t._({id:"I6gXOa"})}),i(o,{title:c,children:c})]}),f&&n(l,{children:[i(d,{children:t._({id:"Cj2Gtd"})}),i(o,{children:f})]}),u&&n(l,{children:[i(d,{children:t._({id:"tgWuMB"})}),i(o,{children:u})]}),x&&n(l,{children:[i(d,{children:t._({id:"d-F6q9"})}),i(o,{children:x})]})]})]})})]})}const C=r.div`
2  display: flex;
3  flex-direction: column;
4  gap: ${a.xl}px;
5`,H=r.div`
6  display: flex;
7  flex-direction: column;
8  align-items: center;
9  gap: ${a.md}px;
10`,j=r.div`
11  width: 56px;
12  height: 56px;
13  border-radius: 14px;
14  display: flex;
15  align-items: center;
16  justify-content: center;
17  background: var(--fill-subtle);
18  color: var(--text-secondary);
19`,G=r.div`
20  font-size: ${p.small}px;
21  color: var(--text-muted);
22`,b=r.div`
23  display: flex;
24  flex-direction: column;
25  gap: ${a.md}px;
26`,l=r.div`
27  display: flex;
28  justify-content: space-between;
29  gap: ${a.lg}px;
30  font-size: ${p.body}px;
31  line-height: ${B};
32`,d=r.span`
33  color: var(--text-muted);
34  flex-shrink: 0;
35`,o=r.span`
36  color: var(--text-primary);
37  text-align: right;
38  overflow: hidden;
39  text-overflow: ellipsis;
40  white-space: nowrap;
41  min-width: 0;
42`;export{k as DriveItemInfoModalContent};

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.