"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[3880],{83880:(e,t,n)=>{n.d(t,{renderSvg:()=>s});n(41867);var i=n(90872),c=n(80838);async function s(e,t,s){const r=(0,i.getContainingView)(e).dynamicBlocks.totalWidthPx,a=e.height;if(t.rasterizeLayers){const t=document.createElement("canvas");t.width=2*r,t.height=2*a;const n=t.getContext("2d");if(!n)return;return n.scale(2,2),s(e,n,r,a),(0,c.jsx)("image",{width:r,height:a,xlinkHref:t.toDataURL("image/png")})}{const t=new((await n.e(8887).then(n.t.bind(n,98887,23))).default)(r,a);s(e,t,r,a);const i=function(e){const t="undefined"===typeof jest;return"arc-clip-".concat(t?e:"jest")}(e.id);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:i,children:(0,c.jsx)("rect",{x:0,y:0,width:r,height:a})})}),(0,c.jsx)("g",{dangerouslySetInnerHTML:{__html:t.getSvg().innerHTML},clipPath:"url(#".concat(i,")")})]})}}}}]);
//# sourceMappingURL=3880.ff42b22c.chunk.js.map