1import{d as f,r as t,an as v,as as p,c as d,D as w,E as y,S as u,R as n,u as h,G as E}from"./vue.00f7c436.js";const _=f({__name:"TmlScale",props:{contentWidth:null,width:{default:"100%"}},setup(a){const s=t(null),l=v(s),o=t(null),c=t(0);p(o,e=>{const i=e[0];c.value=i.contentRect.width});const r=d(()=>c.value/l.width.value),m=d(()=>l.height.value*r.value);return(e,i)=>(w(),y("div",{ref_key:"containerElement",ref:o,class:"relative overflow-hidden",style:n({width:a.width,height:`${h(m)}px`})},[u("div",{ref_key:"contentElement",ref:s,class:"absolute",style:n({width:a.contentWidth})},[u("div",{style:n({transform:`translate(-50%, -50%) scale(${h(r)}) translate(50%, 50%)`})},[E(e.$slots,"default")],4)],4)],4))}});export{_ as default}; 2//# sourceMappingURL=TmlScale.2b459d97.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.