PageSourceSearch

https://peertube.uno/client/en-US/chunk-G76CFDQT.js

js peertube.uno collected 2026-09-24 22:50:01 UTC 5,064 bytes, 1 lines download raw bytes

1import{a as u,b as q,c as K,d as Z,e as l,g as ee,h as ie,i as re}from"./chunk-6CMPEXLY.js";import{a as Y}from"./chunk-YW3SQGDX.js";import"./chunk-6OQVWYOP.js";import{a as p}from"./chunk-FVJ7FX2W.js";import"./chunk-S4WRAL26.js";import"./chunk-OPRQNONW.js";import"./chunk-THGGAECT.js";import"./chunk-BHOXL4LY.js";import"./chunk-QBE7TA47.js";import"./chunk-YMJUFDU5.js";import"./chunk-GRECWXSU.js";import"./chunk-AQEMCWZ4.js";import"./chunk-WD3ZVVJS.js";import"./chunk-XOTV7GJG.js";import"./chunk-DVYB3SDD.js";import"./chunk-3SZSFBQZ.js";import"./chunk-WH7HCV7Y.js";import"./chunk-NKAZMGCL.js";import{a as v}from"./chunk-Q3D5PUAM.js";import"./chunk-N57YLHBF.js";import"./chunk-Y7Q577DU.js";import"./chunk-CLSEWCAF.js";import"./chunk-LE3BFIWM.js";import"./chunk-3IJB6NNK.js";import"./chunk-PCNKN7TU.js";import"./chunk-7WRF56BE.js";import{a as X}from"./chunk-DBBUMUIY.js";import{a as J}from"./chunk-JF6CNN2A.js";import"./chunk-2HNNT2VT.js";import"./chunk-PXFOMLNX.js";import"./chunk-GXA3YMKZ.js";import"./chunk-UIX23F7I.js";import"./chunk-J3MTDSU3.js";import{b as Q,c as $}from"./chunk-SGCHCWLM.js";import"./chunk-76SWT53P.js";import"./chunk-KYFYXE3K.js";import"./chunk-XSS37KCJ.js";import"./chunk-BJVL6ZJ5.js";import"./chunk-MBQWFBKS.js";import"./chunk-WYO57RHC.js";import"./chunk-VI342OHG.js";import"./chunk-IYEWOREX.js";import"./chunk-5TE7477A.js";import"./chunk-VQCVCUXF.js";import"./chunk-PR244PNT.js";import"./chunk-MS2CS6MN.js";import"./chunk-KLZQNCJY.js";import{E as R,F as _}from"./chunk-7JTNILXC.js";import"./chunk-CUOYDGDO.js";import"./chunk-TTJW756Y.js";import{Af as x,Ba as L,C as E,Gd as H,Hb as g,Kd as O,Na as T,Qh as N,R as S,Rf as k,Tg as B,Z as I,ba as r,jh as W,k as c,l as D,nb as A,o as f,ob as F,s as w,sh as z,vh as m,ye as j,zh as G}from"./chunk-NY4TI4KT.js";import{i as d,j as U}from"./chunk-IQVXR75E.js";var oe=(()=>{let t=class t{route=r(H);serverService=r(m);notifier=r(B);manageController=r(l);ngOnInit(){let e=this.route.snapshot.data.resolverData,{userChannels:i,userQuota:o,privacies:n,videoEdit:s}=e;this.manageController.setStore({videoEdit:s,userQuota:o,userChannels:i,privacies:n}),this.manageController.setConfig({manageType:"update",serverConfig:this.serverService.getHTMLConfig()});}ngOnDestroy(){this.manageController.cancelUploadIfNeeded();}onVideoUpdated(){this.notifier.success("Video updated.");}onUnload(e){let{text:i,canDeactivate:o}=this.canDeactivate();if(!o)return e.returnValue=i,i;}canDeactivate(){return{canDeactivate:!this.manageController.hasPendingChanges(),text:"You have unsaved changes. Are you sure you want to leave?"};}};d(t,"\u0275fac",function(i){return new(i||t)();}),d(t,"\u0275cmp",T({type:t,selectors:[["my-video-manage"]],hostBindings:function(i,o){i&1&&g("beforeunload",function(s){return o.onUnload(s);},L);},decls:2,vars:0,consts:[[1,"margin-content"],["canUpdate","true","canWatch","true","cancelLink","/my-library/videos",3,"videoUpdated"]],template:function(i,o){i&1&&(A(0,"div",0)(1,"my-video-manage-container",1),g("videoUpdated",function(){return o.onVideoUpdated();}),F()());},dependencies:[R,_,re],encapsulation:2}));let a=t;return a;})();var h=(()=>{let t=class t{router=r(O);videoService=r($);liveVideoService=r(p);authService=r(W);videoCaptionService=r(J);videoChapterService=r(X);videoPasswordService=r(Q);userService=r(N);serverService=r(m);playerSettingsService=r(v);videoEmbedPrivacyService=r(u);resolve(e){let i=e.params.uuid;return this.videoService.getVideo({videoId:i}).pipe(S(o=>w(this.buildObservables(o))),S(Ze=>U(this,[Ze],function*([o,n,s,C,V,y,P,te,ae,b,M]){let ne=yield ee.createFromAPI(this.serverService.getHTMLConfig(),{video:o,captions:C,chapters:V,live:y,videoSource:n,playerSettings:b,videoPasswords:P.map(de=>de.password),embedPrivacy:M});return{video:o,userChannels:s,captions:C,chapters:V,videoSource:n,live:y,videoPasswords:P,userQuota:te,privacies:ae,videoEdit:ne,playerSettings:b,embedPrivacy:M};})),E(o=>(x.error("Cannot fetch video information",o),this.router.navigate(["/401"],{state:{obj:o},skipLocationChange:!0}),D(()=>o))));}buildObservables(e){return[c(e),this.videoService.getSource(e.id),k(this.authService,{includeCollaborations:!0}),this.videoCaptionService.listCaptions(e.uuid).pipe(f(i=>i.data)),this.videoChapterService.getChapters({videoId:e.uuid}).pipe(f(({chapters:i}
1)=>i)),e.isLive?this.liveVideoService.getVideoLive(e.id):c(void 0),e.privacy.id===j.PASSWORD_PROTECTED?this.videoPasswordService.getVideoPasswords({videoUUID:e.uuid}):c([]),this.userService.getMyVideoQuotaUsed(),this.serverService.getVideoPrivacies(),this.playerSettingsService.getVideoSettings({videoId:e.uuid,raw:!0}),this.videoEmbedPrivacyService.getPrivacy({videoId:e.uuid})];}};d(t,"\u0275fac",function(i){return new(i||t)();}),d(t,"\u0275prov",I({token:t,factory:t.ɵfac}));let a=t;return a;})();var qe=[{path:"",component:oe,canActivate:[G],canDeactivate:[z],providers:[l,h,p,q,K,Z,Y,v,u],resolve:{resolverData:h},children:ie}];export{qe as default};/**i18n:347eeb695970c32bc275618edc2e751c67145d9fc3012e70543c114a99b9e016*///# sourceMappingURL=chunk-G76CFDQT.js.map

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.