PageSourceSearch

https://streamd.io/assets/route-CJV56_bR.js

js streamd.io collected 2026-10-10 01:20:35 UTC 20,814 bytes, 1 lines download raw bytes

1import{j as e,r as a,e as be}from"./index-BKQEIAyS.js";import{I as Se,P as Ae,a as ke}from"./PDFPlayerContainer-B3ck-PPw.js";import{C as W}from"./Checkbox-DuZ9fQp3.js";import{I as y,B as U,U as Ce,P as J}from"./Button-DJAgW3tr.js";import{H as Te}from"./Header-DSWVwcUI.js";import{h as Ee,i as ze,d as Fe,j as ne,C as Ie,k as Oe,l as Pe,c as _e,b as De,m as Me,n as Re}from"./assetService-C50-WAd9.js";import{u as le,a as Le}from"./react-redux-CQmMms4Z.js";import{D as ie,E as Ue}from"./evaporate-OY-kbiwD.js";import{q as b,_ as C}from"./transition-DnyiUHdH.js";import{S as k}from"./SelectionInput-Cu3DCJHd.js";import{I as ae}from"./Input-DsGquOCE.js";import{E as Q}from"./EntitySelectionModal-C7J5SRpF.js";import{A as Be}from"./AssetDeletionModal-BSl7zZ9R.js";import{t as w}from"./axiosInstance-DFO1rq69.js";import{c as Ve}from"./imagesService-87D2PIeU.js";import{g as Ke}from"./organizationsService-D3P5IkZW.js";import{g as qe}from"./titlesService-W1FL3uQ6.js";import{g as $e}from"./projectsService-a_Hv3MCX.js";import{b as Ge}from"./playlistService-DgKrPTBB.js";import{u as He}from"./useUpdate-DijFyyn9.js";import"./quicklinkService-DdZ6ObXR.js";import"./utilitiesService-Cr1DppDg.js";import"./auditsService-CToNB8-i.js";import"./components-CxE_f3Wl.js";import"./index-CeyiEzVp.js";const re=({fileName:t,setFiles:l,index:c})=>{function p(){l(i=>i.filter((h,S)=>S!==c))}return e.jsxs("div",{className:" inline-flex w-full items-center justify-start gap-2 border-t border-other-dark-200 bg-bg-dark-100 px-4 py-2 hover:bg-other-dark-400",children:[e.jsx("span",{className:"c2 flex-grow basis-0 leading-none text-white",children:t}),e.jsx("button",{className:"relative h-4 w-4",onClick:p,type:"button","aria-label":"remove file",children:e.jsx(y,{name:"delete",size:16,className:"text-red-400"})})]})},We=({isOpen:t,onClose:l,files:c,setFiles:p})=>e.jsx(b.Root,{show:t,as:a.Fragment,children:e.jsx(C,{as:"div",className:"relative z-30",onClose:l,children:e.jsx("div",{className:"fixed inset-0 overflow-y-auto",children:e.jsx("div",{className:"flex min-h-full items-center justify-center p-4",children:e.jsx(b.Child,{as:a.Fragment,enter:"ease-out duration-100",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-100",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0",children:e.jsx(C.Panel,{className:"relative flex h-[626px] w-[552px] transform overflow-hidden rounded-lg bg-bg-dark-200 px-4 pb-4 pt-4 text-left shadow-xl transition-all",children:e.jsxs("div",{className:"flex flex-col space-y-4",children:[e.jsxs("div",{className:"inline-flex h-7 w-[520px] gap-3",children:[e.jsx("span",{className:"inline-flex h-7 w-7 flex-col items-center justify-center",children:e.jsx(y,{name:"asset",size:28,className:"text-white"})}),e.jsxs("div",{className:"inline-flex grow basis-0 items-center gap-3",children:[e.jsx("span",{className:"h5 leading-7 text-text-200",onClick:()=>l(),onKeyDown:i=>{(i.key==="Enter"||i.key===" ")&&l()},role:"button",tabIndex:0,"aria-label":"Close",children:"Edit Asset"}),e.jsx("span",{className:"h5 leading-7 text-text-200",children:"/"}),e.jsx("span",{className:"h5 leading-7 text-white",children:"Attachments"})]}),e.jsx("div",{className:"inline-flex h-7 w-5 flex-col items-center justify-center",children:e.jsx("span",{className:"relative flex h-5 w-5 flex-col",onClick:()=>l(),onKeyDown:i=>{(i.key==="Enter"||i.key===" ")&&l()},role:"button",tabIndex:0,"aria-label":"Close",children:e.jsx(y,{name:"exit",size:28,className:"text-white"})})})]}),e.jsx("p",{className:"b4 text-text-200",children:"Drag and drop or press select to add files as attachments to this asset."}),e.jsx(ie,{files:c,setFiles:p,uploadName:"Attachments"}),e.jsxs("div",{className:"relative flex-grow overflow-hidden",children:[c.length>0&&e.jsx("div",{className:"py-2 text-left",children:e.jsx("div",{className:"c1 px-4 text-text-200",children:"File Name"})}),e.jsx("div",{className:"flex h-full flex-grow flex-col overflow-y-auto rounded-lg",children:c.map((i,h)=>e.jsx(re,{index:h,fileName:i.filename,setFiles:p},h))})]}),e.jsx("div",{className:"mb-5 flex items-center justify-end",children:e.jsx("div",{children:e.jsx(U,{variant:"default",onClick:()=>l(),children:"Save Attachments"})})})]})})})})})})}),Je=We,Qe=({isOpen:t,onClose:l,files:c,setFiles:p})=>e.jsx(b.Root,{show:t,as:a.Fragment,children:e.jsx(C,{as:"div",className:"relative z-30",onClose:l,children:e.jsx("div",{className:"fixed inset-0 overflow-y-auto",children:e.jsx("div",{className:"flex min-h-full items-center justify-center p-4",children:e.jsx(b.Child,{as:a.Fragment,enter:"ease-out duration-100",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-100",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",children:e.jsx(C.Panel,{className:"relative flex h-[626px] w-[552px] transform overflow-hidden rounded-lg bg-bg-dark-200 px-4 pb-4 pt-4 text-left shadow-xl transition-all",children:e.jsxs("div",{className:"flex flex-col space-y-4",children:[e.jsxs("div",{className:"inline-flex h-7 w-[520px] gap-3",children:[e.jsx("span",{className:"inline-flex h-7 w-7 flex-col items-center justify-center",children:e.jsx(y,{name:"asset",size:28,className:"text-white"})}),e.jsxs("div",{className:"inline-flex grow basis-0 items-center gap-3",children:[e.jsx("span",{className:"h5 leading-7 text-text-200",onClick:()=>l(),onKeyDown:i=>{(i.key==="Enter"||i.key===" ")&&l()},role:"button",tabIndex:0,"aria-label":"Close",children:"Edit Asset"}),e.jsx("span",{className:"h5 leading-7 text-text-200",children:"/"}),e.jsx("span",{className:"h5 leading-7 text-white",children:"Captions"})]}),e.jsx("div",{className:"inline-flex h-7 w-5 flex-col items-center justify-center",children:e.jsx("span",{className:"relative flex h-5 w-5 flex-col",onClick:()=>l(),onKeyDown:i=>{(i.key==="Enter"||i.key===" ")&&l()},role:"button",tabIndex:0,"aria-label":"Close",children:e.jsx(y,{name:"exit",size:28,className:"text-white"})})})]}),e.jsx("p",{className:"b4 text-text-200",children:"Drag and drop or press select to add files as Captions to this asset."}),e.jsx(ie,{files:c,setFiles:p,uploadName:"Captions",icon:"Caption",fileTypes:".srt,.vtt,.dfxp,.ttml,.xml"}),e.jsxs("div",{className:"relative flex-grow overflow-hidden",children:[c.length>0&&e.jsx("div",{className:"py-2 text-left",children:e.jsx("span",{className:"c1 px-4 text-text-200",children:"File Name"})}),e.jsx("div",{className:"flex h-full w-full flex-grow flex-col overflow-y-auto rounded-lg",children:c.map((i,h)=>e.jsx(re,{index:h,fileName:i.filename,setFiles:p},h))})]}),e.jsx("div",{className:"mb-5 flex items-center justify-end",children:e.jsx("div",{className:"flex w-[138px]",children:e.jsx(U,{variant:"default",onClick:()=>l(),children:"Save Captions"})})})]})})})})})})}),Xe=Qe,Ye=({open:t,setOpen:l,assetId:c})=>{const[p,i]=a.useState({name:"",description:"",thumbnail:null}),[h,S]=a.useState(!1),[T,E]=a.useState(!1),[O,P]=a.useState(!1),[B,z]=a.useState(!1),[_,F]=a.use
1State(!1),[r,j]=a.useState(!1),A=a.useRef(null),[D,V]=a.useState([]),[M,K]=a.useState([]),[R,q]=a.useState([]),[v,$]=a.useState([]),[N,G]=a.useState([]),[I,X]=a.useState(null),[,ce]=a.useState(null),[u,oe]=a.useState(null),Y=le(s=>s.auth),de=Le(),me=be(),[xe,Z]=a.useState("Auto Generated Thumbnail"),pe=async()=>{if(u===null)return;const s=v.filter(f=>f.file!==null).concat(N.filter(f=>f.file!==null));if(s.length===0)return;const n=s.map(f=>({filename:f.filename,size:f.filesize})),m=await Oe({assetId:u._id,files:n});if(m.response.newAttachments.length===0||m.status===!1){console.error("An error occurred during attachment creation:",m.status);return}const o=m.response.newAttachments,x=await Pe();if(x.status===!1)return;const g=await _e(x.path,x.data.akid,x.data.region,x.data.bucket);await Promise.all(s.map(async f=>{var se;if(Y.token===null||f.file===null)return;const d=(se=o.find(we=>we.filename===f.filename))==null?void 0:se._id;if(typeof d>"u")return;const L=await Ue.create(g),H=await De(u._id,f.file,de,d);await L.add(H),await Me(u._id,d)}))},ue=async()=>{I===null||u===null||await Ve({depId:u.department._id,id:u._id,"file-type":"undefined","file-category":"asset","file-name":"undefined"},I,"asset")},he=async()=>{if(u===null)return;u.attachments.map(async m=>{if(m.status&&m.status==="deleted")return;const o=N.find(g=>g.attachmentId===m._id),x=v.find(g=>g.attachmentId===m._id);typeof o>"u"&&typeof x>"u"&&(await Ee(u._id,m._id)).status===!1&&w({title:"Attachment error",description:"Failed to delete attachment.",variant:"error"})}),(v.length>0||N.length>0)&&pe();const s={...u,name:p.name,description:p.description};if(!(await ze(s)).success){w({title:"Asset Error",description:"Failed to update asset.",variant:"error"});return}await ue(),l(!1)},fe=async()=>{if(u===null)return;const s=await Fe(u._id);s!=="Asset Full Delete Successful"?(console.error(s),w({title:"Failed to delete asset.",description:s,variant:"error"})):w({title:"Delete Successful",description:"Successfully deleted asset.",variant:"default"}),l(!1),j(!1),me(-1)},ee=()=>{S(!h)},te=()=>{E(!T)},je=s=>{const n=s.target.files;n!==null&&n.length>0&&(Z("Custom Thumbnail"),X(n[0]))},ge=async s=>{const n=await $e(s);if(!n.data.success){w({title:"Projects Error",description:"Unable to retrieve projects.",variant:"error"});return}return n.data.projects.map(o=>{const{dateOutput:x}=J(o.createdAt);return{createdAt:x,name:o.name,id:o._id}})},ye=async s=>(await Ke(s)).organizations.map(o=>{const{dateOutput:x}=J(o.createdAt);return{createdAt:x,name:o.name,id:o._id}}),ve=async s=>(await qe(s)).titles.map(o=>{const{dateOutput:x}=J(o.createdAt);return{createdAt:x,name:o.name,id:o._id}}),Ne=()=>{Z("Auto Generated Thumbnail"),X(null)};return a.useEffect(()=>{(async()=>{if(c===null)return;const n=await ne(c);if(!n.success||n.asset===null){w({title:"Assets Error",description:"Failed to retrieve asset details.",variant:"error"});return}oe(n.asset);const m=[],o=[];n.asset.attachments.forEach(d=>{if(d.status&&d.status==="deleted"||!d.filename)return;const L=d.filename.split("."),H=L[L.length-1];Ie.includes(H.toLowerCase())?m.push({file:null,attachmentId:d._id,filename:d.filename,filesize:d.fileSize}):o.push({file:null,attachmentId:d._id,filename:d.filename,filesize:d.fileSize})}),$(o),G(m),i({name:n.asset.name,description:n.asset.description,thumbnail:n.asset.src||null});const x={name:n.asset.title.name,id:n.asset.title._id},g=n.asset.project.map(d=>({name:d.name,id:d._id})),f={name:n.asset.department.name,id:n.asset.department._id};V([x]),K(g),q([f])})()},[c,t]),a.useEffect(()=>{if(I){const s=URL.createObjectURL(I);ce(s)}},[I]),e.jsx(b.Root,{show:t,as:a.Fragment,children:e.jsxs(C,{as:"div",className:"relative z-10",onClose:()=>l(!1),children:[e.jsx(b.Child,{as:a.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:e.jsx("div",{className:"fixed inset-0 bg-bg-dark-50 bg-opacity-85 transition-opacity"})}),e.jsx("div",{className:"fixed inset-0 z-10 w-screen overflow-y-auto",children:e.jsx("div",{className:"flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0",children:e.jsx(b.Child,{as:a.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",children:e.jsx(C.Panel,{className:"relative h-[626px] w-[552px] transform space-x-4 space-y-4 overflow-hidden rounded-lg bg-bg-dark-200 px-4 pb-4 pt-4 text-left shadow-xl transition-all",children:e.jsxs("form",{className:"space-y-4",children:[e.jsxs("div",{className:"inline-flex h-7 w-[520px] gap-3",children:[e.jsx("span",{className:"inline-flex h-7 w-7 flex-col items-center justify-center",children:e.jsx(y,{name:"asset",size:32,className:"text-white"})}),e.jsx("span",{className:"h5 grow basis-0 leading-7 text-white",children:"Edit Asset"}),e.jsx("div",{className:"inline-flex h-7 w-5 flex-col items-center justify-center",children:e.jsx("span",{className:"relative flex h-5 w-5 flex-col items-start justify-start",onClick:()=>l(!1),onKeyDown:s=>{(s.key==="Enter"||s.key===" ")&&l(!1)},role:"button",tabIndex:0,"aria-label":"Close",children:e.jsx(y,{name:"exit",size:28,className:"text-white"})})})]}),e.jsx("div",{className:"text-left",children:e.jsx("p",{className:"b4 text-text-200",children:"Edit the asset details in the fields below."})}),e.jsx(ae,{id:"asset-name",name:"assetName",label:"Asset Name",placeholder:"Asset name",textSize:"large",charLimit:250,value:p.name,onChange:s=>i(n=>({...n,name:s.target.value}))}),e.jsx(ae,{id:"description",name:"description",placeholder:"Enter description",multiline:!0,className:"h-20",label:"Description",value:p.description,onChange:s=>i(n=>({...n,description:s.target.value}))}),e.jsxs("div",{className:"inline-flex gap-5",children:[e.jsx(k,{label:"Thumbn
1ail",value:xe,onSelect:()=>{var s;return(s=A.current)==null?void 0:s.click()},resetValue:()=>{Ne()}}),e.jsx("input",{type:"file",className:"hidden",ref:A,accept:"image/*",onChange:je}),e.jsx(k,{label:"Title *",value:D.length===0?"No title":D.map(s=>s.name).join(", "),onSelect:()=>P(!0),resetValue:()=>V([]),isEmpty:D.length===0})]}),e.jsxs("div",{className:"inline-flex gap-5",children:[e.jsx(k,{label:"Attachments",value:v.length===0?"No attachments":v.map(s=>s.filename).join(", "),isEmpty:v.length===0,onSelect:ee,resetValue:()=>$([])}),e.jsx(k,{label:"Projects *",value:M.length===0?"No projects":M.map(s=>s.name).join(", "),onSelect:()=>F(!0),resetValue:()=>K([]),isEmpty:M.length===0})]}),e.jsxs("div",{className:"inline-flex gap-5",children:[e.jsx(k,{label:"Captions",value:N.length===0?"No captions":N.map(s=>s.filename).join(", "),resetValue:()=>G([]),isEmpty:N.length===0,onSelect:te}),Y.role===Ce.ADMINISTRATOR&&e.jsx(k,{label:"Organization *",value:R.length===0?"No organization":R.map(s=>s.name).join(", "),onSelect:()=>z(!0),resetValue:()=>q([]),isEmpty:R.length===0})]}),e.jsx("div",{className:"h-[10px]"}),e.jsxs("div",{className:"mb-5 flex items-center justify-end",children:[e.jsx(U,{variant:"link",type:"button",onClick:()=>j(!0),children:"Delete Asset"}),e.jsx("div",{children:e.jsx(U,{variant:"default",type:"button",onClick:he,children:"Save Asset"})})]})]})})})})}),e.jsx(Je,{isOpen:h,onClose:ee,files:v,setFiles:$}),e.jsx(Xe,{isOpen:T,onClose:te,files:N,setFiles:G}),e.jsx(Q,{name:"Select Titles",description:"Assign asset(s) to a title.",selectedEntities:D,setSelectedEntities:V,onScrollChange:ve,searchPlaceholder:"Search titles",pathOrigin:"Edit Asset",modalIcon:"asset",entityIcon:"titles",tableItemName:"Title",saveButtonText:"Title",isOpen:O,onClose:()=>P(!1),selectMultiple:!0}),e.jsx(Q,{name:"Select Projects",description:"Assign asset to projects.",selectedEntities:M,setSelectedEntities:K,onScrollChange:ge,searchPlaceholder:"Search projects...",pathOrigin:"Edit Asset",modalIcon:"asset",entityIcon:"projects",tableItemName:"Project",saveButtonText:"Project(s)",isOpen:_,onClose:()=>F(!1),selectMultiple:!0}),e.jsx(Q,{name:"Select Organization",description:"Assign organization to asset.",selectedEntities:R,setSelectedEntities:q,onScrollChange:ye,searchPlaceholder:"Search organizations...",pathOrigin:"Edit Asset",modalIcon:"asset",entityIcon:"organizations",tableItemName:"Organization",saveButtonText:"Organization",isOpen:B,onClose:()=>z(!1),selectMultiple:!1}),e.jsx(Be,{isOpen:r,deleteCallback:fe,onClose:()=>{j(!1)},asset:u})]})})},Ze=({items:t})=>e.jsx("div",{className:"flex flex-col gap-3",children:t.map((l,c)=>e.jsxs("div",{className:"inline-flex items-center justify-start gap-2",children:[e.jsx(y,{name:l.iconType,size:28,className:"text-text-200"}),e.jsx("span",{className:"b3 text-text-100",children:l.name})]},c))}),et=()=>{var _,F;const[t,l]=a.useState(null),[c,p]=a.useState([]),i=a.useMemo(()=>{const r=[];return t&&t.quicklinks.forEach(j=>{r.push({iconType:"quicklink",name:j.name})}),c.forEach(j=>{r.push({iconType:"playlist",name:j.name})}),r},[t,c]),h=le(r=>r.auth),S=new URL(window.location.href),T=S.pathname.split("/")[S.pathname.split("/").length-1],[E,O]=a.useState(!1),[P,B]=a.useState(!1),z=async()=>{const r=await ne(T);if(!r.success||r.asset===null){w({title:"Asset Error",description:"Could not retrieve asset details.",variant:"error"});return}if(r.success&&r.asset!==null){if(l(r.asset),r.asset.diskStreamFileSize===0){const A=await Re(r.asset._id);A.success&&A.streamSize!==void 0&&l({...r.asset,diskStreamFileSize:A.streamSize})}const j=await Ge(r.asset._id);j.success&&j.playlists&&p(j.playlists)}};return a.useEffect(()=>{z()},[T]),He(()=>{E||z()},[E]),e.jsxs(e.Fragment,{children:[e.jsx(Te,{title:(t==null?void 0:t.name)||"Asset",breadcrumbs:[{text:"Assets",href:"/assets"}],headerButtons:[{buttonText:"Edit asset",onClick:()=>O(!0)}],xButtonLinkTo:"/assets"}),e.jsx(Ye,{open:E,setOpen:O,assetId:t?t._id:null}),e.jsxs("div",{className:"flex h-full",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("div",{className:"rounded-lg p-6",children:t!==null&&e.jsx(e.Fragment,{children:t.assetType==="image"?e.jsx(Se,{assetId:t._id,currentAsset:t,isPending:t.status==="pending"}):(_=t.filename)!=null&&_.toLowerCase().endsWith(".pdf")||t.assetType==="pdf"?e.jsx(Ae,{assetId:t._id,currentAsset:t,isPending:t.status==="pending"}):e.jsx(ke,{assetId:t._id,drm:!1,playlistType:"playlist",currentAsset:t,userId:h.userId,token:h.token,isPending:t.status==="pending",isFullscreen:P,setFullscreen:B})})}),e.jsxs("div",{className:"flex flex-col items-start justify-start gap-4 px-6 pb-12",children:[e.jsxs("div",{className:"inline-flex items-center justify-center",children:[e.jsx("span",{className:"c1 w-32  text-text-200",children:"Asset Name"}),e.jsx("span",{className:"h6 w-auto  flex-1 break-all text-text-100",children:t==null?void 0:t.name})]}),e.jsxs("div",{className:"inline-flex flex-wrap items-center justify-center",children:[e.jsx("span",{className:"c1 w-32 text-text-200",children:"Description"}),e.jsx("span",{className:"b4 w-auto flex-1 text-text-100",children:(t==null?void 0:t.description)||"No description available"})]}),e.jsxs("div",{className:"inline-flex items-center justify-center",children:[e.jsx("span",{className:"c1 w-32 text-text-200",children:"Thumbnail"}),e.jsx("span",{className:"b4 text-text-200",children:t==null?void 0:t.src})]}),e.jsxs("div",{className:"inline-flex items-center justify-center",children:[e.jsx("span",{className:"c1 w-32 text-text-200",children:"Attachments"}),e.jsx("span",{className:"b4 text-text-200",children:(t==null?void 0:t.attachments.filter(r=>r.status!=="deleted").map(r=>r.filename).join(", "))||"--"})]}),e.jsxs("div",{className:"inline-flex items-center justify-center",children:[e.jsx("span",{className:"c1 w-32 text-text-200",children:"Title"}),e.jsx("span",{className:"b4 text-text-200",children:((F=t==null?void 0:t.t
1itle)==null?void 0:F.name)||"--"})]}),e.jsxs("div",{className:"inline-flex items-center justify-center",children:[e.jsx("span",{className:"c1 w-32 text-text-200",children:"Projects"}),e.jsx("span",{className:"b4 text-text-200",children:t==null?void 0:t.project.map(r=>r.name).join(", ")})]}),e.jsxs("div",{className:"inline-flex items-center justify-center",children:[e.jsx("span",{className:"c1 w-32 text-text-200",children:"Organization"}),e.jsx("span",{className:"b4 text-text-200",children:t==null?void 0:t.department.name})]}),e.jsxs("div",{className:"inline-flex items-center justify-center",children:[e.jsx("span",{className:"c1 w-32 text-text-200",children:"Forensic watermark"}),e.jsx(W,{disabled:!0,checked:t==null?void 0:t.watermarked})]}),e.jsxs("div",{className:"inline-flex items-center justify-center",children:[e.jsx("span",{className:"c1 w-32 text-text-200",children:"4K Video"}),e.jsx(W,{disabled:!0,checked:t==null?void 0:t.is4k})]}),e.jsxs("div",{className:"inline-flex items-center justify-center",children:[e.jsx("span",{className:"c1 w-32 text-text-200",children:"Surround Sound"}),e.jsx(W,{disabled:!0,checked:t==null?void 0:t.isSurroundSound})]})]})]}),e.jsxs("aside",{className:"flex w-[300px] flex-shrink-0 flex-col bg-bg-dark-100 p-5",children:[e.jsxs("div",{className:"class h-10",children:[e.jsx("span",{className:"c1 w-32 text-text-200",children:"This asset is used in "}),e.jsx("span",{className:"c1 w-32 text-text-100",children:t==null?void 0:t.quicklinks.length}),e.jsx("span",{className:"c1 w-32 text-text-200",children:" times:"})]}),e.jsx("div",{children:e.jsx(Ze,{items:i})})]})]})]})},kt=et;export{kt 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.