PageSourceSearch

https://www.sociallift.ai/assets/MediaLibrary-CsVN6edr.js

js sociallift.ai collected 2026-10-05 15:08:11 UTC 2,082 bytes, 1 lines download raw bytes

1import{u as p,r as m,k as s,j as r,aW as a,s as n}from"./index-DL0d_lAK.js";import{P as d}from"./PageHeader-C6rx3uss.js";import{a as u}from"./MediaLibraryDialog-Di896w4t.js";import{P as l}from"./PostDialog-DdRtyTJW.js";import"./card-DnGeKDac.js";import"./upload-DGmusEJv.js";import"./useMutation-D_ZYaUMO.js";import"./useBrandAssets-BgjUMr2B.js";import"./tooltip-DE3ztT2v.js";import"./sparkle-C-SzCLEl.js";import"./image-plus-C46YF3W0.js";import"./input-BZVgYfh9.js";import"./EmptyState-BWePa1hl.js";import"./chevron-right-Bnb0q334.js";import"./trash-2-DHhGh4SX.js";import"./list-filter-CGqFwn1t.js";import"./upload-CRc1gxYv.js";import"./star-wjux-bxy.js";import"./external-link-Dcz4p2aP.js";import"./download-fXEMRr1g.js";import"./chevron-left-D7Y-UJRg.js";import"./BestTimeChips-DKGbKGbB.js";import"./useImageModels-D1B3HlzB.js";import"./select-DCy2S0v2.js";import"./chip-BlU4hIu0.js";import"./file-upload-BLNZQkWD.js";import"./ModelPicker-CtRKTCqa.js";import"./scroll-row-4D5ytrZp.js";import"./chevron-down-CIYFcfTQ.js";import"./textTags-BjQI4wYd.js";import"./renderImage-BWv-M-n1.js";import"./compose-DOjjQ7ye.js";import"./useCreditPrice-BF5NDqiX.js";import"./pen-line-C2Hn2z6G.js";import"./font-picker-gaR7P3mg.js";import"./type-BewEBZ4p.js";import"./InstagramPreview-DnJAVGZO.js";import"./refresh-cw-D6LjrvwT.js";import"./settings-2-DdEblyGZ.js";import"./carousel-BSHhh02V.js";import"./play-DYt6T6WR.js";import"./clock-NU_a80La.js";import"./copy-Cw_kODYa.js";function or(){const{activeBrandId:e}=p(),[t,o]=m.useState(null),{data:i}=s({queryKey:["post-dialog-open",t],enabled:!!t,queryFn:async()=>a(await n.from("posts").select("*").eq("id",t).maybeSingle())});return e?r.jsxs("div",{children:[r.jsx(d,{title:"Media Library",subtitle:"Every picture this brand has, and every finished video — generated, scanned from your site, or uploaded. Make folders, mark favorites, and use any of them on a post."}),r.jsx(u,{onOpenPost:o}),i&&r.jsx(l,{post:i,onClose:()=>o(null)})]}):r.jsx("p",{className:"text-muted-foreground",children:"Create a brand first."})}export{or 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.