1"use strict";(globalThis.__LOADABLE_LOADED_CHUNKS__||=[]).push([[1353],{44359(e,i,l){l.r(i),l.d(i,{default:()=>V});var s=l(76998),t=l(34156),a=l.n(t);let d=function(e){return e.LEFT="LEFT",e.RIGHT="RIGHT",e.TOP="TOP",e.BOTTOM="BOTTOM",e}({}),r=function(e){return e.STANDARD="STANDARD",e.PAGE="PAGE",e}({}),n=function(e){return e.OVERLAY="OVERLAY",e.PLAY_IN_PLACE="PLAY_IN_PLACE",e.NEW_WINDOW="NEW_WINDOW",e}({});var o=l(69329),c=l(85609),_=l(32383);const u="Preview_wrapper__N3IpW",v="Preview_holder__dt9KC",x="Preview_playWrapper__v9LOx",m="Preview_icon__00LZn";var h=l(23446);function p(e){const{src:i,className:l,testId:s,...t}=e,d=a()(u,l);return(0,h.jsxs)("div",{...t,"data-testid":s,className:d,children:[(0,h.jsx)(_.Ay,{className:v,src:i,alt:""}),(0,h.jsx)("div",{className:x,children:(0,h.jsx)("span",{className:a()("material-icons",m),children:"play_circle"})})]})}p.defaultProps={testId:"hub-module-preview"};var N=l(7258),j=l(65400),A=l(88218),g=l(49113);const P="VideoModule_ctaButton__88aAi",T="VideoModule_playerWrapper__3cWT9",E="VideoModule_playerCenterWrapper__gu-xt",I="VideoModule_rightPadding__sDzSf",y="VideoModule_leftPadding__oKfCM",O="VideoModule_paragraphTop__A2wkm",f="VideoModule_playerPageWidthCenterWrapper__R3BhG",W="VideoModule_pageWidthText__KNql7",L="VideoModule_videoPlayer__yom42";var M=l(96964),S=l(94649),D=l(31088);function V(e){const{module:{"@type":i,title:l,titleSize:t,text:_,videoPosition:u,videoDisplayOption:v,link:x,videoId:m,videoSource:V,videoUrl:w,videoWidth:k,posterImage:b,visualStyle:C,elementId:R},testId:z}=e,G=(0,g.W6)(),[H,Y]=(0,s.useState)(!1),[B,U]=(0,s.useState)(!1),{search:$}=(0,g.zy)(),{accessType:F,thumbnailUrl:K,sourceUrl:q}=(0,S._K)(w),X=k===r.PAGE,Z=a()(E,{[f]:X}),J=a()({[W]:X}),Q=a()(O,J),ee=()=>b?b.path:K&&V===M.G7.STREAMLY_VIDEO?K:`https://img.youtube.com/vi/${m}/maxresdefault.jpg`,ie=()=>{if(D.A.ga4VideoPlay({video_title:l,video_url:w,video_thumbnail:ee(),video_source:V}),v!==n.PLAY_IN_PLACE){if(v===n.NEW_WINDOW){let e;return e=V===M.G7.STREAMLY_VIDEO?q:`${M.zX[V].path}${m}`,void window.open(e,"_blank")}(0,S.js)(F)?window.open(q,"_blank"):(H?G.push(`${$}#`):G.push(`${$}#video-${m}`),Y(e=>!e))}else U(!0)},le=()=>B?(0,h.jsx)(j.A,{source:V,id:m,title:l,streamlyUrl:q,className:L}):(0,h.jsx)(p,{src:ee(),onClick:ie});return(0,h.jsxs)(c.x,{type:i,theme:C,elementId:R,testId:z,children:[(0,h.jsx)("div",{className:"container",children:(0,h.jsxs)("div",{className:"row",children:[u===d.LEFT&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:"col-xs-12 col-lg-6",children:(0,h.jsx)("div",{className:T,children:le()})}),(0,h.jsx)("div",{className:"col-xs-12 col-lg-6",children:(0,h.jsx)("div",{className:y,children:(0,h.jsx)(o.u_,{title:l,titleSize:t,text:_,lineAfterHeading:!X,link:x})})})]}),u===d.RIGHT&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:"col-xs-12 col-lg-6",children:(0,h.jsx)("div",{className:I,children:(0,h.jsx)(o.u_,{title:l,titleSize:t,text:_,lineAfterHeading:!X,link:x})})}),(0,h.jsx)("div",{className:"col-xs-12 col-lg-6",children:(0,h.jsx)("div",{className:T,children:le()})})]}),u===d.TOP&&(0,h.jsxs)("div",{className:"col-xs-12",children:[(0,h.jsx)(o.u_,{title:l,titleSize:t,lineAfterHeading:!X,className:J}),(0,h.jsx)("div",{className:Z,children:le()}),_&&(0,h.jsx)(o.fz,{text:_,className:Q}),(null===x||void 0===x?void 0:x.type)&&(0,h.jsx)(A.E0,{link:x,variant:"contained",align:"center",className:P,"data-testid":"hub-module-link"})]}),u===d.BOTTOM&&(0,h.jsxs)("div",{className:"col-xs-12",children:[(0,h.jsx)(o.u_,{title:l,titleSize:t,text:_,lineAfterHeading:!X,className:J}),(0,h.jsx)("div",{className:Z,children:le()}),(null===x||void 0===x?void 0:x.type)&&(0,h.jsx)(A.E0,{link:x,variant:"contained",align:"center",className:P,"data-testid":"hub-module-link"})]})]})}),H&&(0,h.jsx)(N.A,{open:H,onClose:ie,children:(0,h.jsx)(j.A,{source:V,id:m,title:l,streamlyUrl:q})})]})}V.defaultProps={testId:"hub-video-module"}}}]); 2//# sourceMappingURL=HubVideoModule.cc2df425.chunk.js.map
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.