1import{_ as f,q as E,j as y,x as o,Q as T,o as c,c as l,a as n,K as N,n as m,t as a,u as d,d as p,f as k,$ as L}from"./index-CG7S1Sc9.js";const O="_content_blocks_embedding_16hxm_1",S="_content_blocks_embedding_consent_16hxm_50",h={content_blocks_embedding:O,content_blocks_embedding_consent:S},A={key:0},C=["data-responsive","innerHTML"],H={__name:"content-blocks-embedding",props:{block:{type:Object,required:!0}},setup(t){E(()=>{_.value=!0});const{t:s}=y(),r=o(null),_=o(!1),i=o(!1),g=T(),v=k(()=>g[L]?.functionality_storage==="granted"||i.value),u=k(()=>{const e=r.value?.querySelector("iframe");if(e)return e.height/e.width});return(e,b)=>t.block.embedding&&_.value?(c(),l("div",A,[n("div",{class:m(e.$style.content_blocks_embedding)},[v.value?(c(),l("div",{key:0,ref_key:"el",ref:r,"data-responsive":u.value>0,style:N({paddingTop:u.value*100+"%"}),innerHTML:t.block.embedding},null,12,C)):(c(),l("div",{key:1,class:m(e.$style.content_blocks_embedding_consent)},[n("h2",null,a(d(s)("SHOW_EXTERNAL_CONTENT_HEADER",{source:t.block.sourceUrl})),1),n("p",null,a(d(s)("SHOW_EXTERNAL_CONTENT_EXPLAIN")),1),n("div",null,[n("button",{onClick:b[0]||(b[0]=R=>i.value=!0)},a(d(s)("SHOW_EXTERNAL_CONTENT")),1)])],2))],2)])):p("",!0)}},M={$style:h},x=f(H,[["__cssModules",M]]);export{x as default};
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.