(self.webpackChunkmulti_token_edit=self.webpackChunkmulti_token_edit||[]).push([[733],{3733:(n,r,t)=>{var u;!function(){"use strict";function e(n,r){var t=n.x-r.x,u=n.y-r.y;return t*t+u*u}function i(n,r,t){var u=r.x,e=r.y,i=t.x-u,o=t.y-e;if(0!==i||0!==o){var f=((n.x-u)*i+(n.y-e)*o)/(i*i+o*o);f>1?(u=t.x,e=t.y):f>0&&(u+=i*f,e+=o*f)}return(i=n.x-u)*i+(o=n.y-e)*o}function o(n,r,t,u,e){for(var f,a=u,c=r+1;c<t;c++){var v=i(n[c],n[r],n[t]);v>a&&(f=c,a=v)}a>u&&(f-r>1&&o(n,r,f,u,e),e.push(n[f]),t-f>1&&o(n,f,t,u,e))}function f(n,r){var t=n.length-1,u=[n[0]];return o(n,0,t,r,u),u.push(n[t]),u}function a(n,r,t){if(n.length<=2)return n;var u=void 0!==r?r*r:1;return n=t?n:function(n,r){for(var t,u=n[0],i=[u],o=1,f=n.length;o<f;o++)e(t=n[o],u)>r&&(i.push(t),u=t);return u!==t&&i.push(t),i}(n,u),n=f(n,u)}void 0===(u=function(){return a}.call(r,t,r,n))||(n.exports=u)}()}}]);
//# sourceMappingURL=733.mass-edit.js.map