PageSourceSearch

https://24tv.ua/chunk-WCQOQBV5.js

js 24tv.ua collected 2026-09-24 07:23:42 UTC 2,684 bytes, 2 lines download raw bytes

1import{a as E}from"./chunk-CXATVTCD.js";import{g as w}from"./chunk-RNACI2ER.js";import"./chunk-YGPQXY6X.js";import"./chunk-H4IOJQAC.js";import"./chunk-PSLZ3OTT.js";import{Hc as b,Ic as v,La as l,Ya as c,da as o,dc as p,ib as h,kc as u,ld as g,pa as m,ud as y,vd as s,xb as f}from"./chunk-5DSEJYP2.js";import"./chunk-3FRIJCUZ.js";var M=class d{host=o(l);sanitizer=o(w);window=o(E);destroyRef=o(m);html=s.required();fluidIframe=s(!1);fixedHeight=s(null);rendered=y();trusted=g(()=>this.sanitizer.bypassSecurityTrustHtml(this.html()));constructor(){h(()=>{this.runScripts(),this.rescanLoaders(),this.watchForRender()})}watchForRender(){let i=this.window;if(!i?.ResizeObserver||!i.MutationObserver)return;let e=this.host.nativeElement,t=new i.ResizeObserver(a=>{a.some(D=>D.contentRect.height>=H)&&(t.disconnect(),r.disconnect(),this.rendered.emit())}),n=()=>{for(let a of Array.from(e.querySelectorAll("iframe")))t.observe(a)},r=new i.MutationObserver(n);r.observe(e,{childList:!0,subtree:!0}),n(),this.destroyRef.onDestroy(()=>{t.disconnect(),r.disconnect()})}runScripts(){let i=Array.from(this.host.nativeElement.querySelectorAll("script"));for(let e of i){let t=this.host.nativeElement.ownerDocument.createElement("script");for(let{name:n,value:r}of Array.from(e.attributes))t.setAttribute(n,r);t.textContent=e.textContent,e.replaceWith(t)}}rescanLoaders(){let i=this.window;i?.instgrm?.Embeds?.process?.(),i?.twttr?.widgets?.load?.(this.host.nativeElement)}static \u0275fac=function(e){return new(e||d)};static \u0275cmp=f({type:d,selectors:[["div","app-embed-markup",""]],hostAttrs:[1,"block"],hostVars:6,hostBindings:function(e,t){e&2&&(b("--embed-height",t.fixedHeight(),"px"),v("fluid-iframe",t.fluidIframe())("fixed-height",t.fixedHeight()!==null))},inputs:{html:[1,"html"],fluidIframe:[1,"fluidIframe"],fixedHeight:[1,"fixedHeight"]},outputs:{rendered:"rendered"},decls:1,vars:1,consts:[[1,"contents",3,"innerHTML"]],template:function(e,t){e&1&&p(0,"div",0),e&2&&u("innerHTML",t.trusted(),c)},styles:[".fluid-iframe[_nghost-%COMP%]     iframe{display:block;width:100%;height:auto;aspect-ratio:var(--embed-ratio, 16 / 9);border:0}.fixed-height[_nghost-%COMP%]     iframe{display:block;width:100%;height:var(--embed-height);border:0}[_nghost-%COMP%]     .responsive-embed-fb-video{position:relative;height:0;overflow:hidden}[_nghost-%COMP%]     .responsive-embed-fb-video iframe{position:absolute;inset:0;width:100%!important;height:100%!important;aspect-ratio:auto}[_nghost-%COMP%]     .responsive-embed-fb-post iframe{width:100%!important;max-width:100%!important}"]})},H=100;export{M as EmbedMarkup};
2/**i18n:fd443cd02819152b82041c85b3b852d750c5b690a3deb04ec4bcb1027c8ad6d3*/

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.