Mercurial > repos > fubar > jbrowse2
view x/static/js/9028.12f6efe2.chunk.js @ 125:49f3d3878413 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 5ea1f9c1eef1de76232e69aa6d34cda77d90d566
author | fubar |
---|---|
date | Sat, 05 Oct 2024 23:58:05 +0000 |
parents | |
children |
line wrap: on
line source
"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[9028],{59028:(e,t,n)=>{n.d(t,{renderSvg:()=>r});var a=n(7552),i=n(99546);async function r(e,t,r){const c=(0,i.getContainingView)(e).dynamicBlocks.totalWidthPx,l=e.height;if(t.rasterizeLayers){const t=document.createElement("canvas");t.width=2*c,t.height=2*l;const n=t.getContext("2d");if(!n)return;return n.scale(2,2),r(e,n,c,l),a.createElement("image",{width:c,height:l,xlinkHref:t.toDataURL("image/png")})}{const t=new((await n.e(3109).then(n.t.bind(n,63109,23))).default)(c,l);r(e,t,c,l);const i=(s=e.id,`arc-clip-${"undefined"==typeof jest?s:"jest"}`);return a.createElement(a.Fragment,null,a.createElement("defs",null,a.createElement("clipPath",{id:i},a.createElement("rect",{x:0,y:0,width:c,height:l}))),a.createElement("g",{dangerouslySetInnerHTML:{__html:t.getSvg().innerHTML},clipPath:`url(#${i})`}))}var s}}}]); //# sourceMappingURL=9028.12f6efe2.chunk.js.map