1"use strict";(self.webpackChunksvk_designsystem=self.webpackChunksvk_designsystem||[]).push([[2126],{32126:function(t,e,i){i.r(e),i.d(e,{SvkBlockActLimeReport:function(){return r}});class r extends HTMLElement{constructor(){super(),this.width=100,this.height=100,this.ratio="1/1",this.url=this.getAttribute("url")}connectedCallback(){this.render(),window.addEventListener("message",t=>{this.width===t.target.innerWidth&&this.height===t.target.innerHeight||(this.ratio=this.calculateAspectRatio(t.target.innerWidth,t.target.innerHeight),this.width=t.target.innerWidth,this.height=t.target.innerHeight,this.querySelector(".act-lime-report__container").style.aspectRatio=`${this.ratio}`)})}calculateAspectRatio(t,e){const i=function t(e,i){return 0===i?e:t(i,e%i)}(t,e);return`${t/i}/${e/i}`}render(){this.innerHTML=`\n\t\t\t<div class="act-lime-report__container">\n\t\t\t\t<iframe frameborder="0" height="100%" src="${this.url}" width="100%" title="Innehåll från Lime"></iframe>\n\t\t\t</div>\n\t\t`}}window.customElements.define("svk-block-act-lime-report",r)}}]);
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.