1import{b1 as l,cA as d,aU as t,aP as a,aO as s,aY as o,aT as u,aV as n,aZ as c,b0 as p}from"./v7.12-VpakeqIi.js";import{u as m}from"./v7.12-C5Gqy1Z6.js";const h=""+new URL("placeholder-DXKYt18n.svg",import.meta.url).href,f=l({name:"AmpIframeWrapper",props:{src:{type:String,required:!0},width:{type:String,default:"1"},height:{type:String,default:"1"},layout:{type:String,default:"responsive"}},setup(){m("amp-soundcloud","amp-iframe")},data(){return{mode:"normal",id:null}},computed:{placeholderSrc:()=>h,iframeSrc(){return this.isQuasar?`${this.src}?url=${encodeURIComponent((this._.provides[d]||this.$route).path)}`:this.src},isQuasar(){return this.src.includes("quiz")},isTelegram(){return this.src.includes("telegram")},calcAttributed(){return this.isQuasar||this.isTelegram?{resizable:""}:{}},computedWidth(){return this.width.replace("%","")},computedHeight(){return this.height.replace("%","")}},created(){var e,r;if(this.src.includes("soundcloud.com")){this.mode="soundcloud";const i=/tracks\/(?<id>\d+)/;this.id=((r=(e=this.src.match(i))==null?void 0:e.groups)==null?void 0:r.id)??null}}},"$4CtlnIdoNC"),g={key:1,class:"amp-frame"},y={key:0,tabindex:"0",role:"button","aria-label":"Show all",overflow:""};function b(e,r,i,w,S,v){return a(),t("div",null,[e.mode==="soundcloud"&&e.id?(a(),s(o("amp-soundcloud"),{key:0,width:"480",height:"480",layout:"responsive","data-trackid":e.id,"data-visual":"true"},null,8,["data-trackid"])):(a(),t("div",g,[(a(),s(o("amp-iframe"),c({class:"amp-frame__iframe",src:e.iframeSrc,sandbox:"allow-same-origin allow-scripts allow-presentation allow-popups",width:e.computedWidth,height:e.computedHeight},e.calcAttributed,{layout:e.layout,scrolling:"no"}),{default:u(()=>[e.isQuasar||e.isTelegram?(a(),t("span",y,"Read more...")):n("",!0),(a(),s(o("amp-img"),{class:"amp-frame__placeholder",layout:"fill",src:e.placeholderSrc,placeholder:""},null,8,["src"]))]),_:1},16,["src","width","height","layout"]))]))])}const _=p(f,[["render",b],["__scopeId","data-v-0b6b0db8"]]);export{_ as default}; 2//# sourceMappingURL=v7.12-D3bG2_we.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.