PageSourceSearch

https://hazu.swiss/chunk-IGG6KWLH.js

js hazu.swiss collected 2026-09-29 13:07:06 UTC 8,380 bytes, 1 lines download raw bytes

vendor: 8,380 bytes, line 1
1function R(t,o){let n;if(o===void 0)for(let a of t)a!=null&&(n<a||n===void 0&&a>=a)&&(n=a);else{let a=-1;for(let i of t)(i=o(i,++a,t))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function w(t,o){let n;if(o===void 0)for(let a of t)a!=null&&(n>a||n===void 0&&a>=a)&&(n=a);else{let a=-1;for(let i of t)(i=o(i,++a,t))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function M(t,o){let n=0;if(o===void 0)for(let a of t)(a=+a)&&(n+=a);else{let a=-1;for(let i of t)(i=+o(i,++a,t))&&(n+=i)}return n}function pt(t){return t.target.depth}function mt(t){return t.depth}function ht(t,o){return o-1-t.height}function H(t,o){return t.sourceLinks.length?t.depth:o-1}function xt(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?w(t.sourceLinks,pt)-1:0}function S(t){return function(){return t}}function U(t,o){return q(t.source,o.source)||t.index-o.index}function $(t,o){return q(t.target,o.target)||t.index-o.index}function q(t,o){return t.y0-o.y0}function V(t){return t.value}function gt(t){return t.index}function yt(t){return t.nodes}function kt(t){return t.links}function tt(t,o){let n=t.get(o);if(!n)throw new Error("missing: "+o);return n}function et({nodes:t}){for(let o of t){let n=o.y0,a=n;for(let i of o.sourceLinks)i.y0=n+i.width/2,n+=i.width;for(let i of o.targetLinks)i.y1=a+i.width/2,a+=i.width}}function ot(){let t=0,o=0,n=1,a=1,i=24,x=8,c,d=gt,h=H,g,y,k=yt,L=kt,v=6;function p(){let e={nodes:k.apply(null,arguments),links:L.apply(null,arguments)};return E(e),A(e),I(e),N(e),st(e),et(e),e}p.update=function(e){return et(e),e},p.nodeId=function(e){return arguments.length?(d=typeof e=="function"?e:S(e),p):d},p.nodeAlign=function(e){return arguments.length?(h=typeof e=="function"?e:S(e),p):h},p.nodeSort=function(e){return arguments.length?(g=e,p):g},p.nodeWidth=function(e){return arguments.length?(i=+e,p):i},p.nodePadding=function(e){return arguments.length?(x=c=+e,p):x},p.nodes=function(e){return arguments.length?(k=typeof e=="function"?e:S(e),p):k},p.links=function(e){return arguments.length?(L=typeof e=="function"?e:S(e),p):L},p.linkSort=function(e){return arguments.length?(y=e,p):y},p.size=function(e){return arguments.length?(t=o=0,n=+e[0],a=+e[1],p):[n-t,a-o]},p.extent=function(e){return arguments.length?(t=+e[0][0],n=+e[1][0],o=+e[0][1],a=+e[1][1],p):[[t,o],[n,a]]},p.iterations=function(e){return arguments.length?(v=+e,p):v};function E({nodes:e,links:u}){for(let[s,r]of e.entries())r.index=s,r.sourceLinks=[],r.targetLinks=[];let f=new Map(e.map((s,r)=>[d(s,r,e),s]));for(let[s,r]of u.entries()){r.index=s;let{source:l,target:m}=r;typeof l!="object"&&(l=r.source=tt(f,l)),typeof m!="object"&&(m=r.target=tt(f,m)),l.sourceLinks.push(r),m.targetLinks.push(r)}if(y!=null)for(let{sourceLinks:s,targetLinks:r}of e)s.sort(y),r.sort(y)}function A({nodes:e}){for(let u of e)u.value=u.fixedValue===void 0?Math.max(M(u.sourceLinks,V),M(u.targetLinks,V)):u.fixedValue}function I({nodes:e}){let u=e.length,f=new Set(e),s=new Set,r=0;for(;f.size;){for(let l of f){l.depth=r;for(let{target:m}of l.sourceLinks)s.add(m)}if(++r>u)throw new Error("circular link");f=s,s=new Set}}function N({nodes:e}){let u=e.length,f=new Set(e),s=new Set,r=0;for(;f.size;){for(let l of f){l.height=r;for(let{source:m}of l.targetLinks)s.add(m)}if(++r>u)throw new Error("circular link");f=s,s=new Set}}function C({nodes:e}){let u=R(e,r=>r.depth)+1,f=(n-t-i)/(u-1),s=new Array(u);for(let r of e){let l=Math.max(0,Math.min(u-1,Math.floor(h.call(null,r,u))));r.layer=l,r.x0=t+l*f,r.x1=r.x0+i,s[l]?s[l].push(r):s[l]=[r]}if(g)for(let r of s)r.sort(g);return s}function j(e){let u=w(e,f=>(a-o-(f.length-1)*c)/M(f,V));for(let f of e){let s=o;for(let r of f){r.y0=s,r.y1=s+r.value*u,s=r.y1+c;for(let l of r.sourceLinks)l.width=l.value*u}s=(a-s+c)/(f.length+1);for(let r=0;r<f.length;++r){let l=f[r];l.y0+=s*(r+1),l.y1+=s*(r+1)}lt(f)}}function st(e){let u=C(e);c=Math.min(x,(a-o)/(R(u,f=>f.length)-1)),j(u);for(let f=0;f<v;++f){let s=Math.pow(.99,f),r=Math.max(1-s,(f+1)/v);ut(u,s,r),it(u,s,r)}}function it(e,u,f){for(let s=1,r=e.length;s<r;++s){let l=e[s];for(let m of l){let T=0,_=0;for(let{source:B,value:D}of m.targetLinks){let O=D*(m.layer-B.layer);T+=ct(B,m)*O,_+=O}if(!(_>0))continue;let z=(T/_-m.y0)*u;m.y0+=z,m.y1+=z,K(m)}g===void 0&&l.sort(q),J(l,f)}}function ut(e,u,f){for(let s=e.length,r=s-2;r>=0;--r){let l=e[r];for(let m of l){let T=0,_=0;for(let{target:B,value:D}of m.sourceLinks){let O=D*(B.layer-m.layer);T+=dt(m,B)*O,_+=O}if(!(_>0))continue;let z=(T/_-m.y0)*u;m.y0+=z,m.y1+=z,K(m)}g===void 0&&l.sort(q),J(l,f)}}function J(e,u){let f=e.length>>1,s=e[f];G(e,s.y0-c,f-1,u),Q(e,s.y1+c,f+1,u),G(e,a,e.length-1,u),Q(e,o,0,u)}function Q(e,u,f,s){for(;f<e.length;++f){let r=e[f],l=(u-r.y0)*s;l>1e-6&&(r.y0+=l,r.y1+=l),u=r.y1+c}}function G(e,u,f,s){for(;f>=0;--f){let r=e[f],l=(r.y1-u)*s;l>1e-6&&(r.y0-=l,r.y1-=l),u=r.y0-c}}function K({sourceLinks:e,targetLinks:u}){if(y===void 0){for(let{source:{sourceLinks:f}}of u)f.sort($);for(let{target:{targetLinks:f}}of e)f.sort(U)}}function lt(e){if(y===void 0)for(let{sourceLinks:u,targetLinks:f}of e)u.sort($),f.sort(U)}function ct(e,u){let f=e.y0-(e.sourceLinks.length-1)*c/2;for(let{target:s,width:r}of e.sourceLinks){if(s===u)break;f+=r+c}for(let{source:s,width:r}of u.targetLinks){if(s===e)break;f-=r}return f}function dt(e,u){let f=u.y0-(u.targetLinks.length-1)*c/2;for(let{source:s,width:r}of u.targetLinks){if(s===e)break;f+=r+c}for(let{target:s,width:r}of e.sourceLinks){if(s===u)break;f-=r}return f}return p}var P=Math.PI,W=2*P,b=1e-6,vt=W-b;function X(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function rt(){return new X}X.prototype=rt.prototype={constructor:X,moveTo:function(t,o){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+o)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,o){this._+="L"+(this._x1=+t)+","+(this._y1=+o)},quadraticCurveTo:function(t,o,n,a){this._+="Q"+ +t+","+ +o+","+(this._x1=+n)+","+(this._y1=+a)},bezierCurveTo:function(t,o,n,a,i,x){this._+="C"+ +t+","+ +o+","+ +n+","+ +a+","+(this._x1=+i)+","+(this._y1=+x)},arcTo:function(t,o,n,a,i){t=+t,o=+o,n=+n,a=+a,i=+i;var x=this._x1,c=this._y1,d=n-t,h=a-o,g=x-t,y=c-o,k=g*g+y*y;if(i<0)throw new Error("negative radius: "+i);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=o);else if(k>b)if(!(Math.abs(y*d-h*g)>b)||!i)this._+="L"+(this._x1=t)+","+(this._y1=o);else{var L=n-x,v=a-c,p=d*d+h*h,E=L*L+v*v,A=Math.sqrt(p),I=Math.sqrt(k),N=i*Math.tan((P-Math.acos((p+k-E)/(2*A*I)))/2),C=N/I,j=N/A;Math.abs(C-1)>b&&(this._+="L"+(t+C*g)+","+(o+C*y)),this._+="A"+i+","+i+",0,0,"+ +(y*L>g*v)+","+(this._x1=t+j*d)+","+(this._y1=o+j*h)}},arc:function(t,o,n,a,i,x){t=+t,o=+o,n=+n,x=!!x;var c=n*Math.cos(a),d=n*Math.sin(a),h=t+c,g=o+d,y=1^x,k=x?a-i:i-a;if(n<0)throw new Error("negative radius: "+n);this._x1===null?this._+="M"+h+","+g:(Math.abs(this._x1-h)>b||Math.abs(this._y1-g)>b)&&(this._+="L"+h+","+g),n&&(k<0&&(k=k%W+W),k>vt?this._+="A"+n+","+n+",0,1,"+y+","+(t-c)+","+(o-d)+"A"+n+","+n+",0,1,"+y+","+(this._x1=h)+","+(this._y1=g):k>b&&(this._+="A"+n+","+n+",0,"+ +(k>=P)+","+y+","+(this._x1=t+n*Math.cos(i))+","+(this._y1=o+n*Math.sin(i))))},rect:function(t,o,n,a){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+o)+"h"+ +n+"v"+ +a+"h"+-n+"Z"},toString:function(){return this._}};var Y=rt;function Z(t){return function(){return t}}function nt(t){return t[0]}function ft(t){return t[1]}var at=Array.prototype.slice;function Lt(t){return t.source}function _t(t){return t.target}function bt(t){var o=Lt,n=_t,a=nt,i=ft,x=null;function c(){var d,h=at.call(arguments),g=o.apply(this,h),y=n.apply(this,h);if(x||(x=d=Y()),t(x,+a.apply(this,(h[0]=g,h)),+i.apply(this,h),+a.apply(this,(h[0]=y,h)),+i.apply(this,h)),d)return x=null,d+""||null}return c.source=function(d){return arguments.length?(o=d,c):o},c.target=function(d){return arguments.length?(n=d,c):n},c.x=function(d){return arguments.length?(a=typeof d=="function"?d:Z(+d),c):a},c.y=function(d){return arguments.length?(i=typeof d=="function"?d:Z(+d),c):i},c.context=function(d){return arguments.length?(x=d==null?null:d,c):x},c}function wt(t,o,n,a,i){t.moveTo(o,n),t.bezierCurveTo(o=(o+a)/2,n,o,i,a,i)}function F(){return bt(wt)}function Mt(t){return[t.source.x1,t.y0]}function St(t){return[t.target.x0,t.y1]}function Ct(){return F().source(Mt).target(St)}export{mt as a,ht as b,H as c,xt as d,ot as e,Ct as f};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.