PageSourceSearch

https://www.radioherne.de/chunk-TO2QLX5O.js

js radioherne.de collected 2026-10-02 12:11:44 UTC 3,062 bytes, 1 lines download raw bytes

1import{a as P,b as N}from"./chunk-WVXVDLTC.js";import{a as x}from"./chunk-7VVOLYKN.js";import{b as q}from"./chunk-AE6A6ZU7.js";import{a as M}from"./chunk-YK425HXR.js";import"./chunk-GA7O5I5V.js";import"./chunk-HJM4BOIA.js";import"./chunk-F6JRPQHW.js";import"./chunk-DSP7SDMH.js";import"./chunk-ESWYFZ2B.js";import"./chunk-5XVWBPX5.js";import"./chunk-A6HZI6PM.js";import"./chunk-XF6EBWRG.js";import"./chunk-RD24B2I7.js";import"./chunk-2DTM4PCL.js";import"./chunk-N75DXDGH.js";import"./chunk-53A43W3A.js";import{e as j}from"./chunk-UB7IYPFH.js";import"./chunk-QPQCECSN.js";import"./chunk-XRWMWB3K.js";import"./chunk-YIKHX72X.js";import"./chunk-P35ON6PX.js";import"./chunk-HLOHHFCD.js";import"./chunk-HJHBSEUQ.js";import{a as I,k as R}from"./chunk-CXWAFE77.js";import{$ as b,Da as _,Eb as c,H as y,Kb as W,Lb as G,Mb as p,Mc as A,Nb as s,Ob as F,Pb as L,Qb as m,Ub as T,Yb as $,eb as l,ec as B,fc as V,jb as k,ka as a,lc as g,m as o,mb as D,q as v,qb as S,ra as w,sa as E,u as d,vc as u,wc as f,z as C}from"./chunk-P5UROMFP.js";var U=["container"];function H(r,t){if(r&1&&m(0,"app-widget-lane",2),r&2){let e=t.$implicit;c("widget",e)("renderh1",!1)}}function J(r,t){if(r&1&&m(0,"app-widget-video-gallery",3),r&2){let e=t.$implicit;c("id",e)}}var O=class r{constructor(t){this.router=t;A(()=>{if(this.container().nativeElement.replaceChildren(),this.#e.next([]),this.#t.next([]),this.widget().content.length){let e=this.document.createRange().createContextualFragment(this.widget().content);e=P(e),e=this.processLanes(e),e=this.processVideoGalleries(e),this.container().nativeElement.appendChild(e)}})}document=a(I);pageSerice=a(M);container=D.required("container");widget=_.required();#e=new o([]);lanes$=this.#e.asObservable().pipe(b(t=>C(t.map(e=>this.pageSerice.getHelperPage(e).pipe(y(()=>v(null)),d(i=>i?.content.filter(n=>n.type==="lane").at(0)??null))))),d(t=>t.filter(e=>!!e)));#t=new o([]);videoGalleries$=this.#t.asObservable();processLanes(t){let e=[];return t.querySelectorAll("lane").forEach(i=>{let n=i.getAttribute("url")?.trim()??"";n.length&&e.push(n),t.removeChild(i)}),e.length&&this.#e.next(e),t}linkCheck(t){x(t,this.document,this.router)}processVideoGalleries(t){let e=[];return t.querySelectorAll("video-gallery").forEach(i=>{let n=i.getAttribute("id")?.trim()??"";n.length&&e.push(n),t.removeChild(i)}),e.length&&this.#t.next(e),t}static \u0275fac=function(e){return new(e||r)(k(j))};static \u0275cmp=S({type:r,selectors:[["app-widget-embedded-code"]],viewQuery:function(e,i){e&1&&B(i.container,U,5),e&2&&V()},inputs:{widget:[1,"widget"]},decls:10,vars:4,consts:[["container",""],[1,"w-full",3,"click"],[3,"widget","renderh1"],[3,"id"]],template:function(e,i){if(e&1){let n=T();g(0),u(1,"async"),g(2),u(3,"async"),F(4,"div",1,0),$("click",function(Q){return w(n),E(i.linkCheck(Q))}),L(),p(6,H,1,2,"app-widget-lane",2,W),p(8,J,1,1,"app-widget-video-gallery",3,G)}if(e&2){let n=f(1,0,i.lanes$),h=f(3,2,i.videoGalleries$);l(6),s(n),l(2),s(h)}},dependencies:[q,R,N],encapsulation:2,changeDetection:0})};export{O as WidgetEmbeddedCodeComponent};

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.