1export const __webpack_id__=3643;export const __webpack_ids__=[3643];export const __webpack_modules__={8544:(e,t,n)=>{n.r(t),n.d(t,{AdvancedPlayerMessage:()=>p,default:()=>f});var a=n(63412),r=n.n(a),s=n(96540),i=n(30514),o=n(78264),c=n(78142);var l=n(71077),m=n(23970);var d=n(34114);var u=n(1755);const g=e=>e/14,h=({imageInfo:e,imageUrl:t})=>(0,s.useMemo)((()=>{let n=u.A.popup,a={width:"0",height:"0"};if(!t)return{className:n,inlineStyle:{}};if(!e)return{className:n,inlineStyle:a};const{width:r,height:s}=(({width:e=0,height:t=0})=>({width:`${g(e)}em`,height:`${g(t)}em`}))(e);return e.error?(n+=` ${u.A.noImage}`,a={}):a={width:r,height:s,minHeight:"25em",backgroundImage:`url(${t})`,backgroundSize:`${r} ${s}`},{className:n,inlineStyle:a}}),[e,t]);function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},w.apply(null,arguments)}const _=r()(["actionButtons","header"],u.A),p=({data:e,refs:t,isActive:n,...a})=>{(0,m.sM)(t);const{message:g,imageUrl:p}=e.action,f=((e,{sanitizerOptions:t}={})=>(0,s.useMemo)((()=>e?c.H.sanitize(e,{sanitizerOptions:t}):""),[e,t]))(g),b=(({action:{imageUrl:e}})=>{const[t,n]=(0,s.useState)(null);return(0,s.useEffect)((()=>{if(!e)return;const t=document.createElement("img"),a=new Error("Image load error.");t.onload=()=>n(r()(["width","height"],t)),t.onerror=()=>n({error:a}),t.src=e}),[e]),t})(e),I=d.V(),{buttons:v,onClose:y}=(0,s.useMemo)((()=>I({buttons:e.action.buttons,actionId:e.actionId,windowSessionId:e.windowSessionId})),[e,I]),{className:N,inlineStyle:S}=h({imageInfo:b,imageUrl:p});return n&&p&&!b?s.createElement(i.a,{className:u.A.loader}):s.createElement(o.yC,w({},a,{className:N,classNames:_,onClose:y,style:S,buttons:v}),s.createElement(l.I,{content:f,className:u.A.htmlContainer,context:`advancedPlayerMessage::${e.actionId}`}))},f=p}}; 2//# sourceMappingURL=advanced-player-message.f6eb54505a8aa3240894.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.