import{j as u}from"./chunk-HAPUDHDK.js";u();(function(M){function p(h,l){var r={square:function(n,i,s,a){var o=a*Math.sqrt(Math.PI)/2;n.rect(i-o,s-o,o+o,o+o)},diamond:function(n,i,s,a){var o=a*Math.sqrt(Math.PI/2);n.moveTo(i-o,s),n.lineTo(i,s-o),n.lineTo(i+o,s),n.lineTo(i,s+o),n.lineTo(i-o,s)},triangle:function(n,i,s,a,o){var e=a*Math.sqrt(2*Math.PI/Math.sin(Math.PI/3)),t=e*Math.sin(Math.PI/3);n.moveTo(i-e/2,s+t/2),n.lineTo(i+e/2,s+t/2),o||(n.lineTo(i,s-t/2),n.lineTo(i-e/2,s+t/2))},cross:function(n,i,s,a){var o=a*Math.sqrt(Math.PI)/2;n.moveTo(i-o,s-o),n.lineTo(i+o,s+o),n.moveTo(i-o,s+o),n.lineTo(i+o,s-o)}},T=l.points.symbol;r[T]&&(l.points.symbol=r[T])}function v(h){h.hooks.processDatapoints.push(p)}M.plot.plugins.push({init:v,name:"symbols",version:"1.0"})})(jQuery);
