PageSourceSearch

https://syncreo.ai/assets/StudioReleasedLane-5AImPyl_.js

js syncreo.ai collected 2026-10-05 14:46:43 UTC 6,471 bytes, 1 lines download raw bytes

1import{j as e,aU as N,f as S,h as y,A as C,a8 as R,b1 as p}from"./entry-JtbrXxFu.js";import{ReleaseHistoryView as k}from"./ReleaseHistoryView-CQzMe6Kp.js";import{P as L}from"./workshopPartner-h-EfEbej.js";import{u as E,r as V}from"./frameworkPickers-1wBhooz-.js";import{u as A,a as P,S as $}from"./studio-D-KYIfLn.js";import{u as B,r as M,C as O,A as I}from"./EditableProducersCell-BTALsT6p.js";import{u as D}from"./useSponsorViewAccess-17mTdv00.js";import{u as F,a as T}from"./useEffectivePermissions-BZVmWJNK.js";import"./VocabularyContext-IOGh2IOT.js";import"./import-sessions.schema-Hn72qP2x.js";import"./studio-beta.schema-BrAaC_pm.js";import"./status-definitions-BLVjvLHA.js";import"./pipeline-groups.helpers-DdLLt8ZK.js";import"./useRowSelection-C23ykACv.js";import"./BulkActionsBar-BxCGi_P9.js";import"./MondayColumnSlots-DadQxagu.js";import"./columns-2-xJMJBjqa.js";import"./useDebouncedState-BIzAC1cd.js";import"./calendar-Cew0AWlD.js";import"./nextMonday-D9kr24HA.js";import"./BoardWorkloadStrip-XztYV8FL.js";import"./validation-BnRtAVW1.js";import"./table-Dpty4-uu.js";import"./undo-2-DzuhnRKk.js";import"./seatState-BuDsX7at.js";import"./color-swatch-picker-ByXvWZyL.js";import"./music-Ccy3mQ7I.js";import"./MobileSidebarSheet-B7ulmNaq.js";import"./formatCents-BD7BXQ5E.js";import"./IdentityPicker-v3QFOExl.js";import"./StudioOnboardingWizard-Ch3o71UO.js";import"./DestinationForm-Cz0b9885.js";import"./collapsible-CDI1IVAD.js";import"./FrameioConnectPrompt-Nrz1U9CJ.js";import"./JoinPage-B4iom4rI.js";import"./MondayImportPage-CQmQ5zbQ.js";import"./QuickStartTour-DYHSnzbH.js";import"./tour-steps-BB5JXBiG.js";import"./clipboard-check-D9S1Mcal.js";import"./sliders-horizontal-BIPoSf2i.js";import"./plug-BLpiuPOP.js";import"./clipboard-list-C1_EVeTH.js";import"./arrow-up-down-B06GkLvQ.js";import"./send-Bjov2XSe.js";import"./list-checks-BunDmG9k.js";import"./AttachmentPreviewModal-CplYz7sj.js";import"./emailUtils-CaeQj9T5.js";import"./download-PzxBR27k.js";import"./parseLocalDay-BSh_QUPX.js";import"./sortable.esm-DgVlWaf0.js";import"./columns-C5ojOiMT.js";import"./StudioDatePicker-CakBirLG.js";import"./ReleaseCadencePage-Q3bu0ADw.js";import"./switch-DWrM8hHJ.js";import"./alert-dialog-Dntydftj.js";import"./skeleton-Dz9j7B4F.js";import"./task-title-ChWJP_Fc.js";import"./sheet-BkTGigFG.js";import"./upload-RMz4hv_D.js";import"./package-CS0A3_bB.js";import"./image--HuZQ_G7.js";import"./file-CZQJBTf1.js";import"./settings-2-CtopgP4c.js";import"./list-bs9Omuwp.js";import"./layers-5pLsFkqX.js";import"./table-2-C49obGPz.js";import"./ChecklistItemsEditor-GOv19MuP.js";import"./ProductionsTeamWorkloadView-JQty46o3.js";import"./scroll-area-C3JhmAPz.js";import"./CreativeTeamPage-BqViY6jH.js";import"./task-assignee-filter-o-8AUy-X.js";import"./chevrons-up-down-DGL8cLs0.js";import"./hash-BFubTeLv.js";import"./differenceInDays-DBPifYuJ.js";import"./CustomizeColumnsModal-CtDwNclM.js";import"./user-check-e9MaxnRC.js";import"./youtube-CCgMCayQ.js";import"./tabs-Cbf0tNHR.js";import"./useCrossModuleSync-CPe2rqFw.js";import"./timer-D8VHnM7B.js";import"./index-DeNuxFIB.js";import"./index-Dh4i1-J3.js";import"./CompletedEmailsModal-DdfT8r0x.js";const W="rounded-lg border border-border bg-card p-4 shadow-premium-sm",_={title:"Suggested: title",thumbnail:"Suggested: thumbnail",both:"Suggested: title and thumbnail",none:null};function u(t){return t===1?"1 older video":`${t} older videos`}function q(t){const o=t.filter(s=>s.movement==="rising").length,i=t.filter(s=>s.movement==="decaying").length,r=`${u(o)} ${o===1?"is":"are"} moving again`;return i===0?r:o===0?`${u(i)} ${i===1?"is":"are"} decaying`:`${r} · ${i===1?"1 is":`${i} are`} decaying`}function G({orgId:t,destinationId:o}){const i=E({orgId:t,destinationId:o,enabled:!!o}),r=i.isSuccess?V(i.data):null;return r?e.jsx(L,{availability:r.availability,asOf:r.asOf,variant:"block",sampleChannel:!0,className:W,"data-testid":"released-back-catalog",header:e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("h2",{className:"text-sm font-semibold text-foreground",children:"Back catalog"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:q(r.result)})]}),children:e.jsx("ul",{className:"mt-2 space-y-1.5","data-testid":"released-back-catalog-rows",children:r.result.map(s=>{const a=_[s.suggestedChange];return e.jsxs("li",{className:"text-[13px] leading-snug text-foreground","data-movement":s.movement,children:[e.jsx("span",{className:"font-medium",children:s.title}),e.jsxs("span",{className:"text-muted-foreground",children:[" · ",s.movement]}
1),s.reason?e.jsxs("span",{className:"text-muted-foreground",children:[" · ",s.reason]}):null,a?e.jsxs("span",{className:"text-muted-foreground",children:[" · ",a]}):null]},s.videoId)})})}):null}function bt(){var d;A("released");const{isPreviewWorkspace:t}=N(),[,o]=S(),{canViewTeamData:i,canManageProductions:r}=F(),{resolved:s,effectiveRole:a,isStudioEditor:h}=T(),f=s&&a!==null&&(a==="viewer"||p[a]>=p.team_member||h),{canView:g}=D(),{access:x}=P(),{data:m=[],isSuccess:v}=y({queryKey:["/api/productions/destinations"]}),[j,b]=B(),l=M(j,m,v),n=l===I?null:l,w=n?(d=m.find(c=>c.id===n))==null?void 0:d.organizationId:null;return e.jsxs("div",{className:"flex flex-col h-full","data-testid":"studio-released",children:[e.jsxs("div",{className:"px-6 pt-6",children:[e.jsxs("div",{className:"mb-5 flex flex-wrap items-center gap-3",children:[e.jsx($,{showMyWork:!i,active:t?"released":"videos",presentation:t,canViewEditors:i,canViewAds:g,canViewBudgets:x.canViewLane}),!t&&e.jsx(O,{channels:m,value:l,onChange:b,canCreate:r})]}),e.jsxs("div",{className:"mb-2 flex flex-wrap items-center justify-between gap-3",children:[e.jsxs("h1",{className:"text-xl font-bold tracking-tight inline-flex items-center gap-2",children:[e.jsx(C,{className:"h-5 w-5 text-primary"})," ",t?"Published":"Released",e.jsxs("span",{className:"text-[12px] font-normal text-muted-foreground",children:["· ",t?"everything that shipped":"the shelf — everything that shipped"]})]}),!t&&e.jsx(R,{href:"/studio/archive",className:"text-xs font-medium text-muted-foreground hover:text-foreground","data-testid":"released-archive-link",children:"Full archive (videos · footage · sponsors) →"})]})]}),n&&f&&!t?e.jsx("div",{className:"px-6 pb-3",children:e.jsx(G,{orgId:w,destinationId:n})}):null,e.jsx("div",{className:"flex-1 min-h-0",children:e.jsx(k,{destinationFilter:n,onProductionClick:c=>o(`/studio/p/${c.id}`)})})]})}export{bt as StudioReleasedLane};

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.