1import{bc as u,bF as d,a$ as p,bf as m,aM as r,aS as h,aN as s,aR as f,aU as b,aV as n,aW as y}from"./v2.5-BhXONrG7.js";import{u as g}from"./v2.5-C4HhJuDt.js";import{E as w}from"./v2.5-BxUmBN9I.js";try{let e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c3494a42-7377-4781-b499-317e7bc0344a",e._sentryDebugIdIdentifier="sentry-dbid-c3494a42-7377-4781-b499-317e7bc0344a")}catch{}const v="data:image/svg+xml,%3csvg%20width='640'%20height='320'%20aria-labelledby='loading-aria'%20preserveAspectRatio='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='100%25'%20height='100%25'%20clip-path='url(%23a)'%20style='fill:url(%23b)'/%3e%3cdefs%3e%3clinearGradient%20id='b'%3e%3cstop%20offset='.6'%20stop-color='%23f3f5fc'%3e%3canimate%20attributeName='offset'%20values='-2;%20-2;%201'%20keyTimes='0;%200.25;%201'%20dur='2s'%20repeatCount='indefinite'/%3e%3c/stop%3e%3cstop%20offset='1.6'%20stop-color='%23c5d5fd'%3e%3canimate%20attributeName='offset'%20values='-1;%20-1;%202'%20keyTimes='0;%200.25;%201'%20dur='2s'%20repeatCount='indefinite'/%3e%3c/stop%3e%3cstop%20offset='2.6'%20stop-color='%23f3f5fc'%3e%3canimate%20attributeName='offset'%20values='0;%200;%203'%20keyTimes='0;%200.25;%201'%20dur='2s'%20repeatCount='indefinite'/%3e%3c/stop%3e%3c/linearGradient%3e%3cclipPath%20id='a'%3e%3crect%20rx='0'%20ry='0'%20width='640'%20height='320'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",S=u({name:"AmpIframeWrapper",components:{ErrorBlockAmp:w},props:{elem:{type:Object,required:!0},width:{type:String,default:"500"},height:{type:String,default:"620"},layout:{type:String,default:"responsive"}},setup(){g("amp-iframe")},computed:{placeholderSrc:()=>v,src(){return this.elem.attributes.src},iframeSrc(){return this.isQuasar?`${this.src}?url=${encodeURIComponent((this._.provides[d]||this.$route).path)}`:this.src},isQuasar(){return this.src.includes("quiz")}
1,computedWidth(){return this.elem.attributes.width?this.elem.attributes.width.includes("%")?this.width:this.elem.attributes.width:this.attributesFromStyle.width?this.attributesFromStyle.width.includes("%")?this.width:this.attributesFromStyle.width.trim():this.width},computedHeight(){return this.elem.attributes.height??this.height},attributesFromStyle(){const{elem:{attributes:{style:e}},getAttributesFromInlineStyles:t}=this;return e?t(e):{}},attributesBind(){return Object.fromEntries(Object.entries(this.attributesFromStyle).filter(([e,t])=>e!=="width"))}},methods:{getAttributesFromInlineStyles(e){return e.split(";").reduce((i,a)=>{const[o,l]=a.split(":");return{...i,[o]:l}},{})}}},"$LIgY5Psuf4"),k={key:0,class:"amp-iframe-wrapper"};function _(e,t,i,a,o,l){const c=m("ErrorBlockAmp");return e.src?(r(),h("div",k,[(r(),s(n("amp-iframe"),y({class:"amp-iframe-wrapper__iframe",src:e.iframeSrc,sandbox:"allow-same-origin allow-scripts allow-presentation",width:e.computedWidth,height:e.computedHeight,layout:e.layout},e.attributesBind,{scrolling:"no",resizable:"","data-visual":"true"}),{default:f(()=>[t[0]||(t[0]=b("div",{overflow:"",tabindex:"0",role:"button","aria-label":"Read more"}," СмоÑÑеÑÑ ÐµÑÑ! ",-1)),(r(),s(n("amp-img"),{layout:"fill",src:e.placeholderSrc,placeholder:""},null,8,["src"]))]),_:1},16,["src","width","height","layout"]))])):(r(),s(c,{key:1}))}const C=p(S,[["render",_]]);export{C as default}; 2//# sourceMappingURL=v2.5-GsfzQWaW.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.