/** * Bundled by jsDelivr using Rollup v2.79.1 and Terser v5.19.2. * Original file: /npm/d3-force@3.0.0/src/index.js * * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files */ import{quadtree as n}from"../d3-quadtree@3.0.1/aa5b35a8.js";import{dispatch as t}from"../d3-dispatch@3.0.1/b5f7cdc6.js";import{timer as r}from"../d3-timer@3.0.1/f31b5398.js";function e(n,t){var r,e=1;function i(){var i,o,u=r.length,f=0,a=0;for(i=0;iy+l||ex+l||ih.index){var v=y-u.x-u.vx,d=x-u.y-u.vy,p=v*v+d*d;pn.r&&(n.r=n[t].r)}function y(){if(r){var n,i,o=r.length;for(e=new Array(o),n=0;n[h(n,t,e),n])));for(i=0,u=new Array(a);i(n=(v*n+y)%x)/x}();function s(){p(),h.call("tick",e),i1?(null==t?c.delete(n):c.set(n,w(t)),e):c.get(n)},find:function(t,r,e){var i,o,u,f,a,c=0,l=n.length;for(null==e?e=1/0:e*=e,c=0;c1?(h.on(n,t),e):h.on(n)}}}function M(){var t,r,e,u,f,a=i(-30),c=1,l=1/0,h=.81;function v(e){var i,o=t.length,f=n(t,g,s).visitAfter(x);for(u=e,i=0;i=l)){(n.data!==r||n.next)&&(0===v&&(g+=(v=o(e))*v),0===y&&(g+=(y=o(e))*y),g