import{az as a,aj as i,be as n,M as s,cn as o,gz as d,n as l,bw as b,f0 as R,dK as j}from"./app-k0jcl5PQ.js";function S(t){const c=a(i.currentUser()),e=a(n.getShareObject(t));function r(){if(!e.data||!c.data)return null;switch(e.data.objectTypeId){case s.Video:return j.publicVideo(e.data.objectId,t);case s.Clip:return R.publicClip(e.data.objectId,t);case s.Interactive:return b.publicInteractiveMetadata(e.data.objectId,t);case s.Playlist:return l.getSharedPlaylist(e.data.objectId,t);case s.Subject:return d.classification(e.data.objectId,c.data.id);case s.Series:return o.sharedSeries(e.data.objectId,t)}}const u=r();return a(u).data}export{S as u};
//# sourceMappingURL=BDd2EAdq.chunk.js.map
