import{co as o,M as c}from"./app-k0jcl5PQ.js";const s={isPlaylist(e){return(e==null?void 0:e.typeId)===c.Playlist},isOwner(e,t){var n;return!t||!e||o.isEmpty(e._liteOwner)?!1:e._liteOwner.id.toString()===((n=t.id)==null?void 0:n.toString())},getVideoCount(e){var n,r,i;if(!e)return;let t=0;return(n=e.videos)!=null&&n.count&&(t+=e.videos.count),(r=e.clips)!=null&&r.count&&(t+=e.clips.count),(i=e.interactives)!=null&&i.count&&(t+=e.interactives.count),t}};export{s as P};
//# sourceMappingURL=D8qpyDLF.chunk.js.map
