const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["scripts/DVkdeKAc.chunk.js","scripts/app-k0jcl5PQ.js","css/DK-Tye9X.chunk.css","scripts/CtFw3Moj.chunk.js","scripts/BfuF1qtN.chunk.js","scripts/GqZ33xmI.chunk.js","scripts/CCtuxSlD.chunk.js","scripts/CPXlV0fg.chunk.js","scripts/Dw2t5TEb.chunk.js","scripts/lKJuB19y.chunk.js","css/DNw8h7HS.chunk.css","scripts/Cukd0Qmt.chunk.js","scripts/0f3cnETk.chunk.js","scripts/BqNArZps.chunk.js","css/D8GBYHSJ.chunk.css","scripts/DWt5Ov1e.chunk.js","scripts/BxQFOoIR.chunk.js","css/qZzkUeZk.chunk.css","scripts/DdN4NAtQ.chunk.js","scripts/CBiwFpxE.chunk.js","css/DHleZ4JM.chunk.css","scripts/BurIODLh.chunk.js","scripts/BYBYoVkn.chunk.js","scripts/ZlF_2kui.chunk.js","scripts/Bj7bJt_4.chunk.js","css/D2t3ESms.chunk.css","scripts/DlYrdKHv.chunk.js","scripts/D62ACZel.chunk.js","scripts/BBUCoOir.chunk.js","scripts/BrY2bcAL.chunk.js","scripts/BHJbqrq4.chunk.js","css/ir3IcK_l.chunk.css","css/CsO2DcUE.chunk.css","scripts/Q_WQ5xs9.chunk.js","scripts/DRX7tQDY.chunk.js","scripts/BNuOjrBr.chunk.js","css/D2NwUVrK.chunk.css","scripts/WCBjpMHJ.chunk.js","scripts/DoFMWlew.chunk.js","css/UpsBwwDZ.chunk.css","scripts/CGYNvpr2.chunk.js","scripts/CW-zLlXC.chunk.js","css/uZZTuGR9.chunk.css","scripts/BhYYYlpK.chunk.js","scripts/FGhEvk_q.chunk.js","scripts/CMnqIsoM.chunk.js","css/DHm2f79v.chunk.css","scripts/CIN5bTKK.chunk.js","scripts/1YwtoG9U.chunk.js","scripts/BZa85bFL.chunk.js","scripts/D1WNsOm8.chunk.js","scripts/U4M4wGTR.chunk.js","scripts/BgZMo0y9.chunk.js","scripts/CX9BGBTP.chunk.js","scripts/uoUaCILN.chunk.js","scripts/DXJ2-V8v.chunk.js","css/DDnpOnVB.chunk.css","scripts/DH1mz64H.chunk.js","scripts/BlKMjFEf.chunk.js","scripts/CofWDDSQ.chunk.js","scripts/DwvfEevL.chunk.js","scripts/D9SGbB34.chunk.js","scripts/BwBaQklX.chunk.js","scripts/ByBCp1MC.chunk.js","scripts/eerUhItV.chunk.js","scripts/B31bqZwo.chunk.js","scripts/f_twTV5Z.chunk.js","css/BA94Rzdr.chunk.css","scripts/BDeUEvb2.chunk.js","scripts/Daim1zo7.chunk.js","scripts/B3XH0kWB.chunk.js","scripts/BRhv_AHY.chunk.js","scripts/BDviDDog.chunk.js","scripts/wCY37Ze3.chunk.js","css/BPdg7JW4.chunk.css","css/Bb9f8e_j.chunk.css","scripts/BUtU6IOA.chunk.js","scripts/DAIetGMf.chunk.js","scripts/TReHo2Ua.chunk.js","scripts/Bw9otuBi.chunk.js","scripts/BvnABNse.chunk.js","scripts/Bh7bFXwG.chunk.js","scripts/DCdUbbLx.chunk.js","scripts/t24_x3Gi.chunk.js","css/BNPblcJt.chunk.css","scripts/BKsI6eJC.chunk.js","scripts/neLjacsa.chunk.js","scripts/Bpw1_OdO.chunk.js","css/DPVKRY5T.chunk.css","scripts/DtIulmHQ.chunk.js","css/5pfBI_Vj.chunk.css","scripts/Crww-RVm.chunk.js","scripts/80MCcucU.chunk.js","css/cPYNmGHo.chunk.css","scripts/BlyWclzH.chunk.js","scripts/BWkfKZwD.chunk.js","css/6YsSGlWN.chunk.css","css/DJ0sVpgx.chunk.css","scripts/DDxzgH2W.chunk.js","scripts/4IZETxJX.chunk.js","scripts/BAuuQuuB.chunk.js","scripts/GVAJTbbV.chunk.js","scripts/CAxN5LKv.chunk.js","scripts/DIAJ896Y.chunk.js","scripts/DgW9Cwsn.chunk.js","scripts/B2qQOI1p.chunk.js","scripts/COlNonQJ.chunk.js","css/BG16s9Pt.chunk.css","scripts/AQPLQLM1.chunk.js","scripts/axiCUAs6.chunk.js","css/CvQH-HgY.chunk.css","scripts/rrqwPMxm.chunk.js","scripts/BnQ3d6rp.chunk.js","scripts/D8qpyDLF.chunk.js","scripts/CnmbO5oy.chunk.js","scripts/PHV_KuUR.chunk.js","scripts/DoGfHyrk.chunk.js","css/Cbi3KYBa.chunk.css","scripts/CA48zo75.chunk.js","css/CO7M4rZW.chunk.css","css/D6s9MWoF.chunk.css","scripts/t2c-sXnZ.chunk.js","scripts/CT_eJKNn.chunk.js","css/B1UiOiEr.chunk.css","css/DeQ-oMdN.chunk.css","scripts/oy0LjUsL.chunk.js","scripts/BjAVo-k2.chunk.js","scripts/DF2O22qo.chunk.js"])))=>i.map(i=>d[i]);
import{aI as r,M as c,af as w,az as u,be as V,ao as l}from"./app-k0jcl5PQ.js";const _=(s,e)=>{const[o,i]=r.useState();return r.useEffect(()=>{o&&i(null)},[e.videoId]),r.useEffect(()=>{if(!s||o)return;let{objectTypeId:d}=s;switch(e.videoId?d=c.Video:e.clipId?d=c.Clip:e.interactiveId&&(d=c.Interactive),d){case c.Video:{const t=r.lazy(async()=>{const{PlaySharedVideoView:a}=await w(async()=>{const{PlaySharedVideoView:n}=await import("./DVkdeKAc.chunk.js");return{PlaySharedVideoView:n}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100]));return{default:a}});i(t);break}case c.Interactive:{const t=r.lazy(async()=>{const{SharedInteractiveView:a}=await w(async()=>{const{SharedInteractiveView:n}=await import("./GVAJTbbV.chunk.js");return{SharedInteractiveView:n}},__vite__mapDeps([101,1,2,102,103,98,104,105,48,49,22,50,51,52,43,44,37,38,39,45,46,53,54,55,56,57,58,59,60,61,62,63,64,11,65,66,67,68,69,70,71,72,73,74,47,75,18,19,20,76,77,78,24,40,79,80,81,82,83,84,6,7,12,13,14,27,28,29,30,31,32,99,100,106,107]));return{default:a}});i(t);break}case c.Clip:{const t=r.lazy(async()=>{const{PlaySharedClipView:a}=await w(async()=>{const{PlaySharedClipView:n}=await import("./AQPLQLM1.chunk.js");return{PlaySharedClipView:n}},__vite__mapDeps([108,1,2,3,98,104,5,99,100,8,6,7,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,109,110]));return{default:a}});i(t);break}case c.Playlist:{const t=r.lazy(async()=>{const{SharedPlaylistView:a}=await w(async()=>{const{SharedPlaylistView:n}=await import("./rrqwPMxm.chunk.js");return{SharedPlaylistView:n}},__vite__mapDeps([111,1,2,112,113,55,56,57,58,59,60,61,62,63,43,44,37,38,39,45,46,64,11,65,54,66,67,68,69,70,71,72,73,74,47,75,3,77,102,103,114,98,99,100,115,85,116,117,118,119,120,6,7,51,121,83,122,123,76,78,24,40,79,80,81,82,124]));return{default:a}});i(t);break}case c.Series:{const t=r.lazy(async()=>{const{SharedSeriesView:a}=await w(async()=>{const{SharedSeriesView:n}=await import("./oy0LjUsL.chunk.js");return{SharedSeriesView:n}},__vite__mapDeps([125,1,2,126,115,85,116,117,118,119,72,73,74,120,6,7,12,13,14,55,56,57,58,59,60,61,62,63,43,44,37,38,39,45,46,64,11,65,54,66,67,68,69,70,71,47,75,127,3,77,102,103,114,83,76,78,24,40,51,79,80,81,82,98,104,99,100]));return{default:a}});i(t);break}}},[s,o]),o};function f({shareId:s,queryParams:e}){const o=u(s&&V.getShareObject(s)),i=_(o.data,e);if(!i)return l.jsx(l.Fragment,{});function d(){return e.videoId?e.videoId:e.clipId?e.clipId:e.interactiveId?e.interactiveId:o.data.objectId}const t={shareId:s,queryParams:e,objectId:d()};return l.jsx(r.Suspense,{fallback:l.jsx(l.Fragment,{}),children:l.jsx(i,{...t})})}export{f as BaseShareLinkView};
//# sourceMappingURL=00red6fp.chunk.js.map
