import{ao as e,aG as y,aU as t,bT as j,bg as x,E as c,W as l,dI as w,r as p,c3 as P,dy as b,de as k,am as f,f as g,e as S}from"./app-k0jcl5PQ.js";import{V as A}from"./BhYYYlpK.chunk.js";import{P as I}from"./CT_eJKNn.chunk.js";function L(i){const{imageSrc:n,supportArticle:h,heading:a,info:d,learnMore:o,cta:s,className:m,locationContext:r}=i,u=y.getLiteArticle(h);return e.jsxs(t,{className:m??"",children:[e.jsx(t.Image,{src:n}),a&&e.jsx(t.Heading,{children:a}),d&&e.jsx(t.Info,{children:d}),o&&e.jsx(t.Cta,{className:"btn btn-link text-info mb-3 p-0",text:o,href:u,analyticsOptions:{actionType:p.Click,location:r,descriptor:k.SeeMore,workflowPhase:l.Complete,entity:c.AppLink,eventVersion:x.V1},openInNewTab:!0}),s&&e.jsx(t.Cta,{text:s,appLink:{application:S.SIGN_UP,action:g.SignUp.SIGN_UP},analyticsData:{},analyticsOptions:{actionType:p.Click,location:r,entity:c.AppLink,workflowPhase:l.Start,descriptor:f.SignUp}})]})}function N(i){const{video:n,commonVideoProps:h,locationContext:a,playlistShareId:d,heading:o,info:s,cta:m,learnMore:r,className:u,supportArticle:C}=i,V=y.getLiteArticle(C);return e.jsxs(t,{className:u??"",children:[e.jsx(t.ThumbnailContainer,{children:n?e.jsx(A,{video:n,commonVideoProps:h,appLink:P.getAppLink(n,{shareId:d,includeContext:!0,context:b.Playlist},null),analyticsOptions:{actionType:p.Click,location:a,descriptor:w.ViewOriginalVideo,workflowPhase:l.Complete,entity:c.Thumbnail,eventVersion:x.V1},imageOptions:{size:j.Medium},type:"static",size:"md",hideDuration:!0,hideRating:!0,hideBottomBar:!0,alwaysShowIcon:!0,forcePageLoad:!0}):e.jsx(I,{})}),o&&e.jsx(t.Heading,{className:"mt-3",children:o}),s&&e.jsx(t.Info,{children:s}),r&&e.jsx(t.Cta,{className:"btn btn-link text-info mb-3 p-0",text:r,href:V,analyticsOptions:{actionType:p.Click,location:a,descriptor:k.SeeMore,workflowPhase:l.Complete,entity:c.AppLink,eventVersion:x.V1},openInNewTab:!0}),m&&e.jsx(t.Cta,{text:m,appLink:{application:S.SIGN_UP,action:g.SignUp.SIGN_UP},analyticsData:{},analyticsOptions:{actionType:p.Click,location:a,entity:c.AppLink,workflowPhase:l.Start,descriptor:f.SignUp,eventVersion:x.V1}})]})}function v(i){switch(i.type){case"static":return e.jsx(L,{...i});case"video":return e.jsx(N,{...i});default:return e.jsx(e.Fragment,{})}}export{v as E};
//# sourceMappingURL=Heb2_zCZ.chunk.js.map
