1import{a as je}from"./chunk-NGDIZ44Q.js";import{a as Ue,b as Xe}from"./chunk-2K2A32DN.js";import{a as Be}from"./chunk-7BVJWOIF.js";import"./chunk-SHQB3UD4.js";import{a as Fe}from"./chunk-PRDXIHR3.js";import{b as Ge}from"./chunk-F6AFCBWG.js";import{a as ze}from"./chunk-FJEMTYYI.js";import{a as $e}from"./chunk-557ZGIDS.js";import"./chunk-3RONUK76.js";import"./chunk-YXPG7Q54.js";import"./chunk-QALSYVC5.js";import{b as B}from"./chunk-5TJMHO2P.js";import"./chunk-C7GLYUWV.js";import{e as Re,f as He,g as U}from"./chunk-CWUQX4KS.js";import"./chunk-TYCRGRFC.js";import"./chunk-KR75J277.js";import"./chunk-YP6KUALF.js";import"./chunk-J7TGSV4W.js";import"./chunk-UHBGAIAW.js";import{a as De}from"./chunk-3UAOXEML.js";import"./chunk-ISPZLSDY.js";import"./chunk-TSBVCWNO.js";import"./chunk-IX3O722V.js";import"./chunk-TOB7BOBF.js";import"./chunk-CY72NAYG.js";import"./chunk-B54D7DBX.js";import"./chunk-P65676NF.js";import"./chunk-ACJ766AO.js";import"./chunk-5NHRZFR2.js";import"./chunk-2VLO7IUV.js";import{c as G}from"./chunk-4XJDRKBB.js";import"./chunk-64C5HA2W.js";import"./chunk-6LWPARJG.js";import{a as Te}from"./chunk-4NOY2SEG.js";import"./chunk-E3VKJGR6.js";import"./chunk-F2VUA43J.js";import"./chunk-XWEPMJ3T.js";import"./chunk-EI63FXTG.js";import{a as ke}from"./chunk-FQESUDYO.js";import{b as f}from"./chunk-5YJYFBDZ.js";import"./chunk-IYR54BWR.js";import"./chunk-6HQOC3NZ.js";import{a as xe}from"./chunk-TWNEJJXV.js";import"./chunk-NOO2Z42A.js";import"./chunk-URYHHNB7.js";import"./chunk-42MBDQ2K.js";import{Ab as H,B as de,Bb as ee,Bf as Ee,Ca as i,Da as _,H as _e,Ib as M,Kb as $,Oa as p,R as pe,Sa as o,Sb as ge,Tb as Ce,Wb as F,Xf as P,Zc as Me,_c as Se,_f as we,ab as r,ba as h,bb as c,bd as Pe,c as ce,cb as g,cd as fe,gb as A,gg as Ne,hg as be,ig as Ae,kb as u,la as N,lb as I,m as se,ma as b,mb as V,mg as Ie,nb as L,nd as ne,ng as Ve,ob as v,pb as m,pc as ue,qc as ve,qg as Le,rc as S,sg as z,vb as x,wb as T,wc as he,xb as k,xd as ye,ya as Z,yb as R,yc as Oe,za as me,zb as O}from"./chunk-YAKOHBKS.js";import"./chunk-YGU4M3RX.js";import"./chunk-GKZQLNZU.js";import{a as ae,b as re,j as a,k as le}from"./chunk-STIWQO2H.js";function Je(t,n){if(t&1&&(r(0,"h1",7),u(1,0),c()),t&2){let e=m();i(),I(e.pagination.totalItems)(e.pagination.totalItems),V(1);}}function Ke(t,n){t&1&&(r(0,"div",8),u(1,1),c());}function Ze(t,n){if(t&1&&(r(0,"div",9),g(1,"my-video-playlist-miniature",10),c()),t&2){let e=n.$implicit,l=m();i(),o("playlist",e)("toManage",!1)("displayAsRow",l.displayAsRow());}}var y=class y{constructor(n,e,l,s){this.videoPlaylistService=n;this.videoChannelService=e;this.screenService=l;this.hooks=s;a(this,"videoPlaylists",[]);a(this,"pagination",{currentPage:1,itemsPerPage:20,totalItems:null});a(this,"onDataSubject",new ce());a(this,"videoChannelSub");a(this,"videoChannel");}ngOnInit(){this.videoChannelSub=this.videoChannelService.videoChannelLoaded.subscribe(n=>{this.videoChannel=n,this.hooks.runAction("action:video-channel-playlists.video-channel.loaded","video-channel",{videoChannel:n}),this.videoPlaylists=[],this.pagination.currentPage=1,this.loadVideoPlaylists();});}ngAfterViewInit(){this.hooks.runAction("action:video-channel-playlists.init","video-channel");}ngOnDestroy(){this.videoChannelSub&&this.videoChannelSub.unsubscribe();}onNearOfBottom(){Ae(this.pagination)&&(this.pagination.currentPage+=1,this.loadVideoPlaylists());}displayAsRow(){return this.screenService.isInMobileView();}loadVideoPlaylists(){this.videoPlaylistService.listChannelPlaylists(this.videoChannel,this.pagination).subscribe(n=>{this.videoPlaylists=this.videoPlaylists.concat(n.data),this.pagination.totalItems=n.total,this.hooks.runAction("action:video-channel-playlists.playlists.loaded","video-channel",{playlists:this.videoPlaylists}),this.onDataSubject.next(n.data);});}};a(y,"\u0275fac",function(e){return new(e||y)(_(B),_(f),_(P),_(z));}),a(y,"\u0275cmp",h({type:y,selectors:[["my-video-channel-playlists"]],standalone:!0,features:[M],decls:5,vars:4,consts:()=>{let n;n="{VAR_PLURAL, plural, =1 {1 playlist} other {{INTERPOLATION} playlists}}",n=L(n,{INTERPOLATION:"\uFFFD1\uFFFD",VAR_PLURAL:"\uFFFD0\uFFFD"});let e;
1e=" Created "+n+" ";let l;return l="This channel does not have playlists.",[e,l,[1,"margin-content"],["class","title-page",4,"ngIf"],["class","no-results",4,"ngIf"],["myInfiniteScroller","",1,"playlists",3,"nearOfBottom","dataObservable"],["class","playlist-wrapper",4,"ngFor","ngForOf"],[1,"title-page"],[1,"no-results"],[1,"playlist-wrapper"],[3,"playlist","toManage","displayAsRow"]];},template:function(e,l){e&1&&(r(0,"div",2),p(1,Je,2,2,"h1",3)(2,Ke,2,0,"div",4),r(3,"div",5),v("nearOfBottom",function(){return l.onNearOfBottom();}),p(4,Ze,2,3,"div",6),c()()),e&2&&(i(),o("ngIf",l.pagination.totalItems),i(),o("ngIf",l.pagination.totalItems===0),i(),o("dataObservable",l.onDataSubject.asObservable()),i(),o("ngForOf",l.videoPlaylists));},dependencies:[S,De,ve,$e],styles:[".playlists[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:center}.playlists[_ngcontent-%COMP%] .playlist-wrapper[_ngcontent-%COMP%]{padding-bottom:15px;margin-inline-end:.9375rem}.margin-content[_ngcontent-%COMP%]{--gridVideosMiniatureMargins: var(--videosHorizontalMarginContent);margin-inline-start:var(--gridVideosMiniatureMargins)!important;margin-inline-end:var(--gridVideosMiniatureMargins)!important}@media screen and (max-width: 500px){.margin-content[_ngcontent-%COMP%]{--gridVideosMiniatureMargins: 0;width:auto}}@media screen and (min-width: 500px){.margin-content[_ngcontent-%COMP%] .videos[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .playlists[_ngcontent-%COMP%]{--miniatureMinWidth: 255px;--miniatureMaxWidth: 280px;display:grid;column-gap:30px;grid-template-columns:repeat(auto-fill,minmax(var(--miniatureMinWidth),1fr))}.margin-content[_ngcontent-%COMP%] .videos[_ngcontent-%COMP%] .video-wrapper[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .videos[_ngcontent-%COMP%] .playlist-wrapper[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .playlists[_ngcontent-%COMP%] .video-wrapper[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .playlists[_ngcontent-%COMP%] .playlist-wrapper[_ngcontent-%COMP%]{margin:0 auto;width:100%}.margin-content[_ngcontent-%COMP%] .videos[_ngcontent-%COMP%] .video-wrapper[_ngcontent-%COMP%] my-video-miniature[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .videos[_ngcontent-%COMP%] .video-wrapper[_ngcontent-%COMP%] my-video-playlist-miniature[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .videos[_ngcontent-%COMP%] .playlist-wrapper[_ngcontent-%COMP%] my-video-miniature[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .videos[_ngcontent-%COMP%] .playlist-wrapper[_ngcontent-%COMP%] my-video-playlist-miniature[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .playlists[_ngcontent-%COMP%] .video-wrapper[_ngcontent-%COMP%] my-video-miniature[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .playlists[_ngcontent-%COMP%] .video-wrapper[_ngcontent-%COMP%] my-video-playlist-miniature[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .playlists[_ngcontent-%COMP%] .playlist-wrapper[_ngcontent-%COMP%] my-video-miniature[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .playlists[_ngcontent-%COMP%] .playlist-wrapper[_ngcontent-%COMP%] my-video-playlist-miniature[_ngcontent-%COMP%]{display:block;min-width:var(--miniatureMinWidth);max-width:var(--miniatureMaxWidth)}}@media screen and (min-width: 500px) and (min-width: breakpoint(xm)){.margin-content[_ngcontent-%COMP%] .videos[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .playlists[_ngcontent-%COMP%]{column-gap:15px}}@media screen and (min-width: 500px) and (min-width: breakpoint(fhd)){.margin-content[_ngcontent-%COMP%] .videos[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .playlists[_ngcontent-%COMP%]{column-gap:2%}}@media screen and (max-width: 500px){.title-page[_ngcontent-%COMP%]{display:block;text-align:center}.playlists[_ngcontent-%COMP%]{justify-content:left;margin-inline-start:var(--horizontalMarginContent)!important;margin-inline-end:var(--horizontalMarginContent)!important}}"]}));var X=y;var nn=["videosList"];function tn(t,n){if(t&1){let e=A();r(0,"my-videos-list",2,0),v("videosLoaded",function(s){N(e);let d=m();return b(d.onVideosLoaded(s));}),c();}if(t&2){let e=m();o("title",e.title)("getVideosObservableFunction",e.getVideosObservableFunction)("getSyndicationItemsFunction",e.getSyndicationItemsFunction)("defaultSort",e.defaultSort)("displayOptions",e.displayOptions)("displayAsRow",e.displayAsRow())("disabled",e.disabled);}}var E=class E{constructor(n,e,l,s){this.screenService=n;this.videoChannelService=e;this.videoService=l;this.hooks=s;a(this,"videosList");a(this,"getVideosObservableFunction",this.getVideosObservable.bind(this));
1a(this,"getSyndicationItemsFunction",this.getSyndicationItems.bind(this));a(this,"title","Videos");a(this,"defaultSort","-publishedAt");a(this,"displayOptions",{date:!0,views:!0,by:!1,avatar:!1,privacyLabel:!0,privacyText:!1,state:!1,blacklistInfo:!1});a(this,"videoChannel");a(this,"disabled",!1);a(this,"videoChannelSub");a(this,"alreadyLoaded",!1);}ngOnInit(){this.videoChannelSub=this.videoChannelService.videoChannelLoaded.subscribe(n=>{this.videoChannel=n,this.alreadyLoaded&&this.videosList.reloadVideos(),this.hooks.runAction("action:video-channel-videos.video-channel.loaded","video-channel",{videoChannel:n}),this.alreadyLoaded=!0;});}ngAfterViewInit(){this.hooks.runAction("action:video-channel-videos.init","video-channel");}ngOnDestroy(){this.videoChannelSub&&this.videoChannelSub.unsubscribe();}getVideosObservable(n,e){let l=re(ae({},e.toVideosAPIObject()),{videoPagination:n,videoChannel:this.videoChannel,skipCount:!0});return this.videoService.getVideoChannelVideos(l);}getSyndicationItems(){return this.videoService.getVideoChannelFeedUrls(this.videoChannel.id);}displayAsRow(){return this.screenService.isInMobileView();}disableForReuse(){this.disabled=!0;}enabledForReuse(){this.disabled=!1;}onVideosLoaded(n){this.hooks.runAction("action:video-channel-videos.videos.loaded","video-channel",{videos:n});}};a(E,"\u0275fac",function(e){return new(e||E)(_(P),_(f),_(G),_(z));}),a(E,"\u0275cmp",h({type:E,selectors:[["my-video-channel-videos"]],viewQuery:function(e,l){if(e&1&&x(nn,5),e&2){let s;T(s=k())&&(l.videosList=s.first);}},standalone:!0,features:[M],decls:1,vars:1,consts:[["videosList",""],["displayTitle","false","displayFilters","true","displayModerationBlock","true","hideScopeFilter","true","loadUserVideoPreferences","true","highlightLives","true",3,"title","getVideosObservableFunction","getSyndicationItemsFunction","defaultSort","displayOptions","displayAsRow","disabled","videosLoaded",4,"ngIf"],["displayTitle","false","displayFilters","true","displayModerationBlock","true","hideScopeFilter","true","loadUserVideoPreferences","true","highlightLives","true",3,"videosLoaded","title","getVideosObservableFunction","getSyndicationItemsFunction","defaultSort","displayOptions","displayAsRow","disabled"]],template:function(e,l){e&1&&p(0,tn,2,7,"my-videos-list",1),e&2&&o("ngIf",l.videoChannel);},dependencies:[S,Be],encapsulation:2}));var j=E;var on=["subscribeButton"],an=["supportModal"],rn=t=>({expanded:t}),ln=t=>["/manage/update",t],cn=t=>[t];function sn(t,n){if(t&1&&(r(0,"div",39),g(1,"img",40),c()),t&2){let e=m(2);i(),o("src",e.videoChannel.bannerUrl,me);}}function dn(t,n){if(t&1&&(r(0,"a",44),u(1,7),c()),t&2){let e=m(3);o("routerLink",$(1,ln,e.videoChannel.nameWithHost));}}function _n(t,n){if(t&1&&g(0,"my-subscribe-button",45,4),t&2){let e=m(3);o("videoChannels",$(1,cn,e.videoChannel));}}function pn(t,n){if(t&1){let e=A();r(0,"button",46),v("click",function(){N(e);let s=m(3);return b(s.showSupportModal());}),g(1,"my-global-icon",47),r(2,"span",48),u(3,8),c()();}}function mn(t,n){if(t&1&&p(0,dn,2,3,"a",41)(1,_n,2,3,"my-subscribe-button",42)(2,pn,4,0,"button",43),t&2){let e=m(2);o("ngIf",e.isManageable()),i(),o("ngIf",!e.isOwner()),i(),o("ngIf",e.videoChannel.support);}}function gn(t,n){if(t&1&&(r(0,"div",49)(1,"div",21),u(2,9),c(),r(3,"div",50),g(4,"my-actor-avatar",51),r(5,"div",22)(6,"h4")(7,"a",52),O(8),c()(),r(9,"div",25),O(10),c(),g(11,"my-account-block-badges",53),c()(),r(12,"div",54),g(13,"div",32),c(),r(14,"a",55),u(15,10),c(),r(16,"a",56),u(17,11),c()()),t&2){let e=m(2);i(4),o("size",e.getAccountAvatarSize())("actor",e.ownerAccount)("internalHref",e.getAccountUrl()),i(3),o("routerLink",e.getAccountUrl()),i(),H(e.ownerAccount.displayName),i(2),ee("@",e.videoChannel.ownerBy,""),i(),o("account",e.ownerAccount),i(2),o("innerHTML",e.ownerDescriptionHTML,Z),i(),o("routerLink",e.getAccountUrl()),i(2),o("routerLink",e.getAccountUrl());}}function Cn(t,n){if(t&1&&(r(0,"span",57),u(1,12),c()),t&2){let e=m(2);i(),I(e.channelVideosCount)(e.channelVideosCount),V(1);}}function un(t,n){}function vn(t,n){t&1&&p(0,un,0,0,"ng-template");}function hn(t,n){if(t&1){let e=A();r(0,"button",58),v("click",function(){N(e);let s=m(2);return b(s.channelDescriptionExpanded=!s.channelDescriptionExpanded);}),u(1,13),c();}}function On(t,n){}function Mn(t,n){t&1&&p(0,On,0,0,"ng-template");}function Sn(t,n){}function Pn(t,n){t&1&&p(0,Sn,0,0,"ng-template");}function fn(t,n){}function yn(t,n){t&1&&p(0,fn,0,0,"ng-template");}function En(t,n){if(t&1&&(r(0,"a",59),O(1),c()),t&2){let e=n.item;o("routerLink",e.routerLink),i(),H(e.label);}}function wn(t,n){if(t&1&&(r(0,"div",16),p(1,sn,2,1,"div",17),r(2,"div",18),p(3,mn,3,3,"ng-template",null,1,F)(5,gn,18,10,"ng-template",null,2,F),r(7,"div",19),g(8,"my-actor-avatar",20),r(9,"div")(10,"div",21),u(11,5),c(),r(12,"div",22)(13,"div")(14,"div",23)(15,"h1",24),ge(16,"date"),O(17),c()(),r(18,"div",25)(19,"span"),O(20),c(),g(21,"my-copy-button",26),c(),r(22,"div",27)(23,"span"),u(24,6),c(),p(25,Cn,2,2,"span",28),c()(),r(26,"div",29),p(27,vn,1,0,null,30),c()()()(),r(28,"div",31),g(29,"div",32),c(),p(30,hn,2,0,"button",33),r(31,"div",34),p(32,Mn,1,0,null,30),c(),r(33,"div",35),p(34,Pn,1,0,null,30),c()(),r(35,"div",36),p(36,yn,1,0,null,30),c(),r(37,"div",37),p(38,En,2,2,"ng-template",null,3,F),g(40,"my-list-overflow",38),c(),g(41,"router-outlet"),c()),t&2){let e=R(4),l=R(6),s=R(39),d=m();i(),o("ngIf",d.videoChannel.bannerUrl),i(7),o("size",d.getChannelAvatarSize())("actor",d.videoChannel),i(7),o("title","Channel created on "+Ce(16,19,d.videoChannel.createdAt)),i(2),H(d.videoChannel.displayName),i(3),ee("@",d.videoChannel.nameWithHost,""),i(),o("value",d.videoChannel.nameWithHostForced),i(3),I(d.videoChannel.followersCount)(d.videoChannel.followersCount),V(24),i(),o("ngIf",d.channelVideosCount!==void 0),i(2),o("ngTemplateOutlet",e),i(),o("ngClass",$(21,r
1n,d.channelDescriptionExpanded)),i(),o("innerHTML",d.channelDescriptionHTML,Z),i(),o("ngIf",d.hasShowMoreDescription()),i(2),o("ngTemplateOutlet",e),i(2),o("ngTemplateOutlet",l),i(2),o("ngTemplateOutlet",l),i(4),o("items",d.links)("itemTemplate",s);}}var w=class w{constructor(n,e,l,s,d,Q,W,q,J,K){this.route=n;this.authService=e;this.videoChannelService=l;this.videoService=s;this.restExtractor=d;this.hotkeysService=Q;this.screenService=W;this.markdown=q;this.blocklist=J;this.metaService=K;a(this,"subscribeButton");a(this,"supportModal");a(this,"videoChannel");a(this,"ownerAccount");a(this,"hotkeys");a(this,"links",[]);a(this,"isChannelManageable",!1);a(this,"channelVideosCount");a(this,"ownerDescriptionHTML","");a(this,"channelDescriptionHTML","");a(this,"channelDescriptionExpanded",!1);a(this,"routeSub");}ngOnInit(){this.routeSub=this.route.params.pipe(se(n=>n.videoChannelName),_e(),pe(n=>this.videoChannelService.getVideoChannel(n)),de(n=>this.restExtractor.redirectTo404IfNotFound(n,"other",[ne.BAD_REQUEST_400,ne.NOT_FOUND_404]))).subscribe(n=>le(this,null,function*(){this.metaService.setTitle(n.displayName),this.channelDescriptionHTML=yield this.markdown.textMarkdownToHTML({markdown:n.description,withEmoji:!0,withHtml:!0}),this.ownerDescriptionHTML=yield this.markdown.textMarkdownToHTML({markdown:n.ownerAccount.description,withEmoji:!0,withHtml:!0}),this.videoChannel=n,this.ownerAccount=new Ee(this.videoChannel.ownerAccount),this.loadChannelVideosCount(),this.loadOwnerBlockStatus();})),this.hotkeys=[new Ie("Shift+s",()=>(this.subscribeButton.isSubscribedToAll()?this.subscribeButton.unsubscribe():this.subscribeButton.subscribe(),!1),"Subscribe to the account")],this.isUserLoggedIn()&&this.hotkeysService.add(this.hotkeys),this.links=[{label:"VIDEOS",routerLink:"videos"},{label:"PLAYLISTS",routerLink:"video-playlists"}];}ngOnDestroy(){this.routeSub&&this.routeSub.unsubscribe(),this.isUserLoggedIn()&&this.hotkeysService.remove(this.hotkeys);}isInSmallView(){return this.screenService.isInSmallView();}getAccountAvatarSize(){return this.isInSmallView()?64:48;}getChannelAvatarSize(){return this.isInSmallView()?80:120;}isUserLoggedIn(){return this.authService.isLoggedIn();}isOwner(){var n;return this.isUserLoggedIn()?((n=this.videoChannel)==null?void 0:n.ownerAccount.userId)===this.authService.getUser().id:!1;}isManageable(){return!this.videoChannel.isLocal||!this.isUserLoggedIn()?!1:this.isOwner()||this.authService.getUser().hasRight(ye.MANAGE_ANY_VIDEO_CHANNEL);}hasShowMoreDescription(){return!this.channelDescriptionExpanded&&this.channelDescriptionHTML.length>100;}showSupportModal(){this.supportModal.show();}getAccountUrl(){return["/a",this.videoChannel.ownerBy];}loadChannelVideosCount(){this.videoService.getVideoChannelVideos({videoChannel:this.videoChannel,videoPagination:{currentPage:1,itemsPerPage:0},sort:"-publishedAt"}).subscribe(n=>this.channelVideosCount=n.total);}loadOwnerBlockStatus(){this.blocklist.getStatus({accounts:[this.ownerAccount.nameWithHostForced],hosts:[this.ownerAccount.host]}).subscribe(n=>this.ownerAccount.updateBlockStatus(n));}};a(w,"\u0275fac",function(e){return new(e||w)(_(Me),_(be),_(f),_(G),_(Ne),_(Ve),_(P),_(Le),_(U),_(we));}),a(w,"\u0275cmp",h({type:w,selectors:[["ng-component"]],viewQuery:function(e,l){if(e&1&&(x(on,5),x(an,5)),e&2){let s;T(s=k())&&(l.subscribeButton=s.first),T(s=k())&&(l.supportModal=s.first);}},standalone:!0,features:[M],decls:3,vars:2,consts:()=>{let n;n="Handle copied";let e;e="Copy channel handle";let l;l="Show the complete description";let s;s="VIDEO CHANNEL";let d;d="{VAR_PLURAL, plural, =0 {No subscribers} =1 {1 subscriber} other {{INTERPOLATION} subscribers}}",d=L(d,{INTERPOLATION:"\uFFFD1\uFFFD",VAR_PLURAL:"\uFFFD0\uFFFD"});let Q;Q=" Manage channel ";let W;W="Support";let q;q="View account";let J;J="OWNER ACCOUNT";let K;K=" View account ";let te;te=" View owner account ";let D;D="{VAR_PLURAL, plural, =0 {No videos} =1 {1 video} other {{INTERPOLATION} videos}}",D=L(D,{INTERPOLATION:"\uFFFD1\uFFFD",VAR_PLURAL:"\uFFFD0\uFFFD"});let ie;ie=" "+D+" ";let oe;
1return oe=" Show more... ",[["supportModal",""],["buttonsTemplate",""],["ownerTemplate",""],["linkTemplate",""],["subscribeButton",""],s,d,Q,W,J,K,te,ie,oe,["class","root",4,"ngIf"],[3,"videoChannel"],[1,"root"],["class","banner",4,"ngIf"],[1,"channel-info"],[1,"channel-avatar-row"],["actorType","channel",3,"size","actor"],[1,"section-label"],[1,"actor-info"],[1,"actor-display-name"],[3,"title"],[1,"actor-handle"],["notification",n,"title",e,3,"value"],[1,"actor-counters"],["class","videos-count",4,"ngIf"],[1,"channel-buttons","right"],[4,"ngTemplateOutlet"],[1,"channel-description",3,"ngClass"],[1,"description-html",3,"innerHTML"],["class","show-more button-unstyle","title",l,3,"click",4,"ngIf"],[1,"channel-buttons","bottom"],[1,"owner-card"],[1,"bottom-owner"],[1,"links"],[3,"items","itemTemplate"],[1,"banner"],["alt","Channel banner",3,"src"],["class","peertube-button-link orange-button",3,"routerLink",4,"ngIf"],[3,"videoChannels",4,"ngIf"],["class","support-button peertube-button orange-button-inverted",3,"click",4,"ngIf"],[1,"peertube-button-link","orange-button",3,"routerLink"],[3,"videoChannels"],[1,"support-button","peertube-button","orange-button-inverted",3,"click"],["iconName","support","aria-hidden","true"],[1,"icon-text"],[1,"owner-block"],[1,"avatar-row"],["actorType","account",1,"account-avatar",3,"size","actor","internalHref"],["title",q,3,"routerLink"],[3,"account"],[1,"owner-description"],[1,"view-account","short",3,"routerLink"],[1,"view-account","complete",3,"routerLink"],[1,"videos-count"],["title",l,1,"show-more","button-unstyle",3,"click"],["routerLinkActive","active",1,"sub-menu-entry",3,"routerLink"]];},template:function(e,l){e&1&&(p(0,wn,42,23,"div",14),g(1,"my-support-modal",15,0)),e&2&&(o("ngIf",l.videoChannel),i(),o("videoChannel",l.videoChannel));},dependencies:[S,Pe,Ge,xe,ke,Xe,Te,he,ue,fe,Ue,Se,je,Oe],styles:['@charset "UTF-8";.root[_ngcontent-%COMP%]{--myGlobalTopPadding: 60px;--myChannelImgMargin: 30px;--myFontSize: 16px;--myGreyChannelFontSize: 16px;--myGreyOwnerFontSize: 14px}.section-label[_ngcontent-%COMP%]{color:var(--mainColor);font-size:12px;margin-bottom:15px;font-weight:700;letter-spacing:2.5px}@media screen and (max-width: 500px){.section-label[_ngcontent-%COMP%]{font-size:10px;letter-spacing:2.1px;margin-bottom:5px}}.links[_ngcontent-%COMP%]{--gridVideosMiniatureMargins: var(--videosHorizontalMarginContent);margin-inline-start:var(--gridVideosMiniatureMargins)!important;margin-inline-end:var(--gridVideosMiniatureMargins)!important}@media screen and (max-width: 500px){.links[_ngcontent-%COMP%]{--gridVideosMiniatureMargins: 0;width:auto}}.actor-info[_ngcontent-%COMP%]{min-width:1px;width:100%}.actor-info[_ngcontent-%COMP%] > h4[_ngcontent-%COMP%], .actor-info[_ngcontent-%COMP%] > .actor-handle[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.channel-info[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;background-color:var(--channelBackgroundColor);padding-top:var(--myGlobalTopPadding);font-size:var(--myFontSize);--gridVideosMiniatureMargins: var(--videosHorizontalMarginContent);padding-inline-start:var(--gridVideosMiniatureMargins)!important;padding-inline-end:var(--gridVideosMiniatureMargins)!important;margin-bottom:calc(1.425rem + 2.1vw)}@media screen and (max-width: 500px){.channel-info[_ngcontent-%COMP%]{--gridVideosMiniatureMargins: 15px;width:auto}}@media (min-width: 1200px){.channel-info[_ngcontent-%COMP%]{margin-bottom:3rem}}.channel-avatar-row[_ngcontent-%COMP%]{display:flex;grid-column:1;margin-bottom:calc(1.325rem + .9vw)}@media (min-width: 1200px){.channel-avatar-row[_ngcontent-%COMP%]{margin-bottom:2rem}}.channel-avatar-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{min-width:1px;margin-inline-start:var(--myChannelImgMargin)}.channel-avatar-row[_ngcontent-%COMP%] .actor-info[_ngcontent-%COMP%]{display:flex}.channel-avatar-row[_ngcontent-%COMP%] .actor-info[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{flex-grow:1;min-width:1px}.channel-avatar-row[_ngcontent-%COMP%] .actor-display-name[_ng
1content-%COMP%]{display:flex;flex-wrap:wrap;word-break:break-word;word-wrap:break-word;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}.channel-avatar-row[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-weight:700;margin:0;font-size:calc(1.325rem + .9vw)}@media (min-width: 1200px){.channel-avatar-row[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2rem}}.channel-avatar-row[_ngcontent-%COMP%] .actor-handle[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.channel-avatar-row[_ngcontent-%COMP%] .actor-handle[_ngcontent-%COMP%], .channel-avatar-row[_ngcontent-%COMP%] .actor-counters[_ngcontent-%COMP%]{color:var(--greyForegroundColor);font-size:var(--myGreyChannelFontSize)}.channel-avatar-row[_ngcontent-%COMP%] .actor-counters[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(:last-child):after{content:"\\2022";margin:0 10px;color:var(--mainColor)}.support-button[_ngcontent-%COMP%] my-global-icon[_ngcontent-%COMP%]{position:relative;display:inline-block;width:21px;top:-1px;margin-inline-end:0}.channel-description[_ngcontent-%COMP%]{grid-column:1;word-break:break-word;padding-bottom:var(--myGlobalTopPadding)}.show-more[_ngcontent-%COMP%]{display:none;color:var(--mainColor);cursor:pointer;margin-inline-start:auto;margin-inline-end:auto;margin-top:.625rem;margin-bottom:calc(1.40625rem + 1.875vw)}@media (min-width: 1200px){.show-more[_ngcontent-%COMP%]{margin-bottom:2.8125rem}}.channel-buttons[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap;gap:1rem}.channel-buttons.right[_ngcontent-%COMP%]{margin-inline-start:calc(1.425rem + 2.1vw)}@media (min-width: 1200px){.channel-buttons.right[_ngcontent-%COMP%]{margin-inline-start:3rem}}.channel-buttons.bottom[_ngcontent-%COMP%]{justify-content:center;display:none;margin-bottom:calc(1.325rem + .9vw)}@media (min-width: 1200px){.channel-buttons.bottom[_ngcontent-%COMP%]{margin-bottom:2rem}}.owner-card[_ngcontent-%COMP%]{grid-column:2;grid-row:1/3;place-self:end;margin-inline-start:calc(1.78125rem + 6.375vw)}@media (min-width: 1200px){.owner-card[_ngcontent-%COMP%]{margin-inline-start:6.5625rem}}.bottom-owner[_ngcontent-%COMP%]{display:none}.owner-block[_ngcontent-%COMP%]{background-color:var(--mainBackgroundColor);padding:30px;width:300px;font-size:var(--myFontSize)}.owner-block[_ngcontent-%COMP%] .avatar-row[_ngcontent-%COMP%]{display:flex;margin-bottom:15px}.owner-block[_ngcontent-%COMP%] .avatar-row[_ngcontent-%COMP%] .actor-info[_ngcontent-%COMP%]{margin-inline-start:.9375rem}.owner-block[_ngcontent-%COMP%] .avatar-row[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-size:18px;margin:0}.owner-block[_ngcontent-%COMP%] .avatar-row[_ngcontent-%COMP%] h4[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--mainForegroundColor)}.owner-block[_ngcontent-%COMP%] .avatar-row[_ngcontent-%COMP%] .actor-handle[_ngcontent-%COMP%]{font-size:var(--myGreyOwnerFontSize);color:var(--greyForegroundColor)}.owner-block[_ngcontent-%COMP%] .owner-description[_ngcontent-%COMP%]{max-height:140px;word-break:break-word;position:relative;overflow:hidden}.owner-block[_ngcontent-%COMP%] .owner-description[_ngcontent-%COMP%]:after{content:"";pointer-events:none;width:100%;height:100%;position:absolute;left:0;top:0;background:linear-gradient(transparent 120px,var(--mainBackgroundColor))}.view-account.short[_ngcontent-%COMP%]{margin-top:30px;display:inline-block;border:0;border-radius:3px!important;text-align:center;cursor:pointer;font-size:15px;line-height:23px;padding:2px 13px;border:2px solid var(--mainColor);font-weight:600}.view-account.short[_ngcontent-%COMP%]:hover, .view-account.short[_ngcontent-%COMP%]:focus, .view-account.short[_ngcontent-%COMP%]:active{text-decoration:none!important}.view-account.short[_ngcontent-%COMP%]:focus:not(:focus-visible){outline:none!important}.view-account.short[_ngcontent-%COMP%] my-global-icon[_ngcontent-%COMP%] + *[_ngcontent-%COMP%]{margin-inline-end:.25rem;margin-inline-start:.25rem}.view-account.short[_ngcontent-%COMP%]:focus, .view-account.short[_ngcontent-%COMP%]:focus-visible{box-shadow:0 0 0 .2rem var(--mainColorLightest)}.view-account.short[_ngcontent-%COMP%], .view-account.short[_ngcontent-%COMP%]:active, .view-account.short[_ngcontent-%COMP%]:focus{color:var(--mainColor);
1background-color:var(--mainBackgroundColor)}.view-account.short[_ngcontent-%COMP%]:hover{color:var(--mainColor);background-color:var(--mainColorLightest)}.view-account.short[disabled][_ngcontent-%COMP%], .view-account.short.disabled[_ngcontent-%COMP%]{cursor:default;color:var(--mainColor);background-color:var(--inputBorderColor)}.view-account.short[_ngcontent-%COMP%] my-global-icon[_ngcontent-%COMP%] .feather, .view-account.short[_ngcontent-%COMP%] my-global-icon[_ngcontent-%COMP%] .material, .view-account.short[_ngcontent-%COMP%] my-global-icon[_ngcontent-%COMP%] .misc{color:var(--mainColor)}.view-account.complete[_ngcontent-%COMP%]{display:none}my-copy-button[_ngcontent-%COMP%]{margin-inline-start:.1875rem}@media screen and (max-width: 1400px){.channel-avatar-row[_ngcontent-%COMP%]{grid-column:1/3}.owner-card[_ngcontent-%COMP%]{grid-row:2;margin-inline-start:calc(1.5rem + 3vw)}}@media screen and (max-width: 1400px) and (min-width: 1200px){.owner-card[_ngcontent-%COMP%]{margin-inline-start:3.75rem}}@media screen and (max-width: 1100px){.root[_ngcontent-%COMP%]{--myGlobalTopPadding: 45px;--myChannelImgMargin: 15px}.channel-info[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-bottom:0}.channel-description[_ngcontent-%COMP%]:not(.expanded){max-height:70px;position:relative;overflow:hidden}.channel-description[_ngcontent-%COMP%]:not(.expanded):after{content:"";pointer-events:none;width:100%;height:100%;position:absolute;left:0;top:0;background:linear-gradient(transparent 30px,var(--channelBackgroundColor))}.show-more[_ngcontent-%COMP%]{display:inline-block}.channel-buttons.right[_ngcontent-%COMP%]{display:none}.channel-buttons.bottom[_ngcontent-%COMP%]{display:flex}.owner-card[_ngcontent-%COMP%]{display:none}.bottom-owner[_ngcontent-%COMP%]{display:block;width:100%;border-bottom:2px solid rgba(0,0,0,.1);padding:var(--myGlobalTopPadding) 45px;margin-bottom:60px}.owner-block[_ngcontent-%COMP%]{display:grid;width:100%;padding:0}.owner-block[_ngcontent-%COMP%] .avatar-row[_ngcontent-%COMP%]{grid-column:1;margin-inline-end:calc(1.3125rem + .75vw)}}@media screen and (max-width: 1100px) and (min-width: 1200px){.owner-block[_ngcontent-%COMP%] .avatar-row[_ngcontent-%COMP%]{margin-inline-end:1.875rem}}@media screen and (max-width: 1100px){.owner-block[_ngcontent-%COMP%] .owner-description[_ngcontent-%COMP%]{grid-column:2;max-height:70px;position:relative;overflow:hidden}.owner-block[_ngcontent-%COMP%] .owner-description[_ngcontent-%COMP%]:after{content:"";pointer-events:none;width:100%;height:100%;position:absolute;left:0;top:0;background:linear-gradient(transparent 30px,var(--mainBackgroundColor))}.owner-block[_ngcontent-%COMP%] .view-account[_ngcontent-%COMP%]{grid-column:2}.view-account.complete[_ngcontent-%COMP%]{display:block;text-align:end;margin-top:10px;color:var(--mainColor)}.view-account.short[_ngcontent-%COMP%]{display:none}}@media screen and (max-width: 500px){.root[_ngcontent-%COMP%]{--myGlobalTopPadding: 15px;--myFontSize: 14px;--myGreyChannelFontSize: 13px;--myGreyOwnerFontSize: 13px}.links[_ngcontent-%COMP%]{margin:auto!important;width:min-content}.bottom-owner[_ngcontent-%COMP%]{padding:15px;margin-bottom:30px}.bottom-owner[_ngcontent-%COMP%] .section-label[_ngcontent-%COMP%]{display:none}.owner-block[_ngcontent-%COMP%]{display:block}.owner-block[_ngcontent-%COMP%] .avatar-row[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;margin:0}.owner-block[_ngcontent-%COMP%] .avatar-row[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-size:16px}.owner-block[_ngcontent-%COMP%] .avatar-row[_ngcontent-%COMP%] .actor-info[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;margin-top:-5px}.owner-block[_ngcontent-%COMP%] .avatar-row[_ngcontent-%COMP%] .account-avatar[_ngcontent-%COMP%]{margin:-30px 0 0 15px}.owner-block[_ngcontent-%COMP%] .owner-description[_ngcontent-%COMP%]{display:none}}']}));var Y=w;var ft=[{path:":videoChannelName",component:Y,providers:[B,ze,U,Fe,Re,He],children:[{path:"",redirectTo:"videos",pathMatch:"full"},{path:"videos",component:j,data:{reuse:{enabled:!0,key:"video-channel-videos-list"}}},{path:"video-playlists",component:X}]}];export{ft as default};/**i18n:99973c82ff611cbb922666058656bb9da78f200382f6c1add276d87c62e5b7fb*/
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.