"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2878],{15804:(t,r,a)=>{a.d(r,{m:()=>s});var e=a(80963),s=class{constructor(t){this.init=t,this.records=this.init()}static{(0,e.K2)(this,"ImperativeState")}reset(){this.records=this.init()}}},45349:(t,r,a)=>{a.d(r,{CP:()=>c,HT:()=>o,PB:()=>d,aC:()=>n,lC:()=>h,m:()=>x,tk:()=>l});var e=a(59309),s=a(80963),i=a(91975),l=(0,s.K2)((t,r)=>{let a=t.append("rect");if(a.attr("x",r.x),a.attr("y",r.y),a.attr("fill",r.fill),a.attr("stroke",r.stroke),a.attr("width",r.width),a.attr("height",r.height),r.name&&a.attr("name",r.name),r.rx&&a.attr("rx",r.rx),r.ry&&a.attr("ry",r.ry),void 0!==r.attrs)for(let t in r.attrs)a.attr(t,r.attrs[t]);return r.class&&a.attr("class",r.class),a},"drawRect"),h=(0,s.K2)((t,r)=>{l(t,{x:r.startx,y:r.starty,width:r.stopx-r.startx,height:r.stopy-r.starty,fill:r.fill,stroke:r.stroke,class:"rect"}).lower()},"drawBackgroundRect"),x=(0,s.K2)((t,r)=>{let a=r.text.replace(e.H1," "),s=t.append("text");s.attr("x",r.x),s.attr("y",r.y),s.attr("class","legend"),s.style("text-anchor",r.anchor),r.class&&s.attr("class",r.class);let i=s.append("tspan");return i.attr("x",r.x+2*r.textMargin),i.text(a),s},"drawText"),n=(0,s.K2)((t,r,a,e)=>{let s=t.append("image");s.attr("x",r),s.attr("y",a);let l=(0,i.J)(e);s.attr("xlink:href",l)},"drawImage"),c=(0,s.K2)((t,r,a,e)=>{let s=t.append("use");s.attr("x",r),s.attr("y",a);let l=(0,i.J)(e);s.attr("xlink:href",`#${l}`)},"drawEmbeddedImage"),d=(0,s.K2)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),o=(0,s.K2)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj")}}]);