1"use strict";(self.webpackChunkallocine_js=self.webpackChunkallocine_js||[]).push([[7593],{25665:function(e,t,a){var l=a(5338),n=a(25948);const i=new WeakMap,r=e=>(i.has(e)||i.set(e,(0,l.H)(e)),i.get(e));t.A=(e,t,a=n.A,l=n.A)=>({name:e,render:(e,a,l,n,i)=>{if(e){const o=r(e),c=t(a,l,n,i);o?.render(c)}},remove:e=>{const t=r(e);t?.unmount(),i.delete(e)},onClose:a,onOpen:l})},40183:function(e,t,a){a.d(t,{A:function(){return N}});var l=a(58168),n=a(46942),i=a.n(n),r=a(96540),o=a(62134),c=a(85072),s=a.n(c),d=a(97825),m=a.n(d),h=a(77659),u=a.n(h),p=a(55056),f=a.n(p),g=a(10540),v=a.n(g),E=a(41113),k=a.n(E),x=a(98020),y={};y.styleTagTransform=k(),y.setAttributes=f(),y.insert=u().bind(null,"head"),y.domAPI=m(),y.insertStyleElement=v(),s()(x.A,y);var b=x.A&&x.A.locals?x.A.locals:void 0,N=({className:e,image:t,imageWidth:a,imageHeight:n,title:c,children:s,size:d,preventClose:m,backgroundImage:h,fallback:u,pagination:p,...f})=>{const g=(0,r.createRef)();(0,r.useEffect)((()=>{u&&g.current&&(0,o.A)(g.current).then((e=>{e||u()}))}),[u,g]);const v=i()("modal",{[`modal-${d}`]:!!d,[b.modalWithBackground]:!!h},e),E=r.createElement(r.Fragment,null,r.createElement("header",{className:"modal-header",id:"modal-header"},p,(t||c)&&r.createElement("div",{className:"modal-header-content"},t?r.createElement("img",{src:t,width:a,height:n,className:"modal-header-image"}):null,c?r.createElement("h2",{className:"titlebar-title titlebar-title-sm",dangerouslySetInnerHTML:{__html:c}}):null),!m&&r.createElement("button",{type:"button",className:"modal-close icon icon-cross light js-trigger-overlay-close"},r.createElement("span",{className:"no-icon"},"X"))),r.createElement("div",{className:"modal-content"},s));return r.createElement(r.Fragment,null,r.createElement("div",{className:i()("modal-layer",{"js-trigger-overlay-close":!m})}),r.createElement("div",(0,l.A)({className:v,ref:g},f),h?r.createElement(r.Fragment,null,r.createElement("img",{className:b.modalLeft,src:h}),r.createElement("div",{className:b.modalRight},E)):E))}},54490:function(e,t,a){function l(e){let t;return void 0!==e.selectionStart?(t=e.selectionEnd-e.selectionStart,{start:e.selectionStart,end:e.selectionEnd,length:t,value:e.value.substr(e.selectionStart,t)}):null}function n(e,t){e.setSelectionRange(t.start,t.end),e.focus()}a.d(t,{L:function(){return l},t:function(){return n}})},66147:function(e,t){t.A=e=>e.replace(/\S*/g,(e=>e.charAt(0).toUpperCase()+e.slice(1)))},85704:function(e,t,a){a.r(t),a.d(t,{default:function(){return p}});var l=a(96540),n=a(77992),i=a(25665),r=a(40183),o=a(54490),c=a(66147),s=a(92022),d=({type:e,id:t,width:a,height:n,title:i,onClick:r,checked:o})=>l.createElement("div",{className:`item ${e}`,onClick:r.bind(null,e)},l.createElement("input",{className:"input-size",type:"radio",name:"export",id:t,checked:o,readOnly:!0}),l.createElement("label",{className:"label-size",htmlFor:t},l.createElement("span",{className:"item-title"},i),l.createElement("span",{className:"info-size",htmlFor:t},a,"px / ",n,"px"))),m=a(142);const h={small:{width:320,height:180,txtKey:"moviepage_videos_trailer.exportSmall"},mid:{width:480,height:270,txtKey:"moviepage_videos_trailer.exportMedium"},big:{width:640,height:360,txtKey:"moviepage_videos_trailer.exportBig"},gigantor:{width:960,height:540,txtKey:"moviepage_videos_trailer.exportXl"}},u=({title:e,videoData:t})=>{const a=(0,l.useRef)(null),n=(e,t)=>function(e,t=480,a=270){return`<div id='blogvision'>\n <iframe src='${(0,m.ys)(e.embedUrl)}' style='width:${t}px; height:${a}px'>\n </iframe>\n <br />\n <a href="${(0,m.ys)(e.relatedEntityUrl)}" target="_blank" rel="noopener noreferrer">${e.relatedEntityTitle}</a>\n <br/>\n <a href="${(0,m.ys)(e.mediaUrl)}">${e.description}</a>\n </div>`}(e,h[t].width,h[t].height),i=()=>{a.current&&a.current.selectionEnd&&(0,o.t)(a.current,{start:0,end:a.current.selectionEnd})},[u,p]=(0,l.useState)("mid"),[f,g]=(0,l.useState)(n(t,u)),v=e=>{p(e),g(n(t,e))};return(0,l.useEffect)((()=>{i()}),[f]),l.createElement(r.A,{size:"large",className:"modal-player-export",title:e},l.createElement("form",{className:"player-export",method:"get",action:"#"},l.createElement("fieldset",{className:"field cf"},l.createElement("legend",{className:"title"},"1. ",(0,s.default)("moviepage_videos_trailer.exportChoseSize")),Object.keys(h).map((e=>l.createElement(d,{type:e,id:`export${(0,c.A)(e)}`,width:h[e].width,height:h[e].height,title:(0,s.default)(h[e].txtKey),key:e,checked:e===u,onClick:v})))),l.createElement("fieldset",{className:"field cf"},l.createElement("legend",{className:"title"},"2. ",(0,s.default)("moviepage_videos_trailer.exportCopie")),l.createElement("input",{className:"input-txt",type:"text",name:"copyCode",id:"player-export-input",value:f,readOnly:!0,ref:a}),l.createElement("span",{className:"button button-default-full",id:"player-export-select",onClick:i},(0,s.default)("moviepage_videos_trailer.exportSelect")))))};var p=(0,i.A)(n.Hp,(e=>l.createElement(u,{title:e.title,videoData:e.videoData}
1)))},98020:function(e,t,a){var l=a(31601),n=a.n(l),i=a(76314),r=a.n(i)()(n());r.push([e.id,".xMFhR7TX8akeV_KDDfXk{position:relative;display:flex}.xMFhR7TX8akeV_KDDfXk .modal-header,.xMFhR7TX8akeV_KDDfXk .modal-content{padding-right:1.875rem;padding-left:1.875rem}.xMFhR7TX8akeV_KDDfXk .modal-header{position:relative}.oS36iX8mxDcLYGfk1nU7{display:none;width:auto;height:100%}.jLYdac7WhChWhq6Y49rQ{position:relative;background-color:#fff;width:100%}@media all and (min-width: 37.625em){.oS36iX8mxDcLYGfk1nU7{display:block}.xMFhR7TX8akeV_KDDfXk .modal-header{padding-top:5rem}.jLYdac7WhChWhq6Y49rQ{width:auto}}",""]),r.locals={modalWithBackground:"xMFhR7TX8akeV_KDDfXk",modalLeft:"oS36iX8mxDcLYGfk1nU7",modalRight:"jLYdac7WhChWhq6Y49rQ"},t.A=r}}]); 2//# sourceMappingURL=export-player-modal.4d3b7d5b62ccbaef09e2.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.