PageSourceSearch

https://1myac.com/chunk-2AUSRVZN.js

js 1myac.com collected 2026-09-29 15:35:46 UTC 11,700 bytes, 1 lines download raw bytes

vendor: 4,051 bytes, line 1
1import{a as W}from"./chunk-QHUKRLP2.js";import{a as Q,k as D,u as J}from"./chunk-MJ5P3UXZ.js";import{a as j,b as V,c as q,d as z,e as K}from"./chunk-K7PZKYQG.js";import"./chunk-O6LWZQWO.js";import{c as T,f as M,g as F,i as U,j as Y,k as H,l as _}from"./chunk-XLBIQ7AT.js";import{a as R}from"./chunk-ILFYKPMK.js";import"./chunk-K4ZINDDN.js";import"./chunk-IEGWNCTN.js";import"./chunk-Y2VH6OJG.js";import"./chunk-2DG2OPPA.js";import{Y as G,g as p,i as r}from"./chunk-MKXYEVA7.js";import"./chunk-EL5SV3JE.js";import"./chunk-V5YH6CLL.js";import"./chunk-2GU5336X.js";import"./chunk-KAYYNT2L.js";import"./chunk-KDSDEIG5.js";import{z as B}from"./chunk-OPIF26FG.js";import"./chunk-RMDLQNEC.js";import"./chunk-TRV6NV54.js";import{a as O,b as A,t as y}from"./chunk-ATLPHYUF.js";function b(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:re(e),edges:se(e)};return D(e.graph())||(t.value=Q(e.graph())),t}function re(e){return B(e.nodes(),function(t){var n=e.node(t),o=e.parent(t),c={v:t};return D(n)||(c.value=n),D(o)||(c.parent=o),c})}function se(e){return B(e.edges(),function(t){var n=e.edge(t),o={v:t.v,w:t.w};return D(t.name)||(o.name=t.name),D(n)||(o.value=n),o})}var f=new Map,C=new Map,L=new Map,ae=p(()=>{C.clear(),L.clear(),f.clear()},"clear"),k=p((e,t)=>{let n=C.get(t)||[];return r.trace("In isDescendant",t," ",e," = ",n.includes(e)),n.includes(e)},"isDescendant"),ce=p((e,t)=>{let n=C.get(t)||[];return r.info("Descendants of ",t," is ",n),r.info("Edge is ",e),e.v===t||e.w===t?!1:n?n.includes(e.v)||k(e.v,t)||k(e.w,t)||n.includes(e.w):(r.debug("Tilt, ",t,",not in descendants"),!1)},"edgeInCluster"),I=p((e,t,n,o)=>{r.warn("Copying children of ",e,"root",o,"data",t.node(e),o);let c=t.children(e)||[];e!==o&&c.push(e),r.warn("Copying (nodes) clusterId",e,"nodes",c),c.forEach(a=>{if(t.children(a).length>0)I(a,t,n,o);else{let s=t.node(a);r.info("cp ",a," to ",o," with parent ",e),n.setNode(a,s),o!==t.parent(a)&&(r.warn("Setting parent",a,t.parent(a)),n.setParent(a,t.parent(a))),e!==o&&a!==e?(r.debug("Setting parent",a,e),n.setParent(a,e)):(r.info("In copy ",e,"root",o,"data",t.node(e),o),r.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==o,"node!==clusterId",a!==e));let u=t.edges(a);r.debug("Copying Edges",u),u.forEach(l=>{r.info("Edge",l);let v=t.edge(l.v,l.w,l.name);r.info("Edge data",v,o);try{ce(l,o)?(r.info("Copying as ",l.v,l.w,v,l.name),n.setEdge(l.v,l.w,v,l.name),r.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):r.info("Skipping copy of edge ",l.v,"-->",l.w," rootId: ",o," clusterId:",e)}catch(S){r.error(S)}})}r.debug("Removing node",a),t.removeNode(a)})},"copy"),ee=p((e,t)=>{let n=t.children(e),o=[...n];for(let c of n)L.set(c,e),o=[...o,...ee(c,t)];return o},"extractDescendants"),de=p((e,t,n)=>{let o=e.edges().filter(l=>l.v===t||l.w===t),c=e.edges().filter(l=>l.v===n||l.w===n),a=o.map(l=>({v:l.v===t?n:l.v,w:l.w===t?t:l.w})),s=c.map(l=>({v:l.v,w:l.w}));return a.filter(l=>s.some(v=>l.v===v.v&&l.w===v.w))},"findCommonEdges"),P=p((e,t,n)=>{let o=t.children(e);if(r.trace("Searching children of id ",e,o),o.length<1)return e;let c;for(let a of o){let s=P(a,t,n),u=de(t,n,s);if(s)if(u.length>0)c=s;else return s}return c},"findNonClusterChild"),$=p(e=>!f.has(e)||!f.get(e).externalConnections?e:f.has(e)?f.get(e).id:e,"getAnchorId"),le=p((e,t)=>{if(!e||t>10){r.debug("Opting out, no graph ");return}else r.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(r.warn("Cluster identified",n," Replacement id in edges: ",P(n,e,n)),C.set(n,ee(n,e)),f.set(n,{id:P(n,e,n),clusterData:e.node(n)}))}),e.nodes().forEach(function(n){let o=e.children(n),c=e.edges();o.length>0?(r.debug("Cluster identified",n,C),c.forEach(a=>{let s=k(a.v,n),u=k(a.w,n);s^u&&(r.warn("Edge: ",a," leaves cluster ",n),r.warn("Descendants of XXX ",n,": ",C.get(n)),f.get(n).externalConnections=!0)})):r.debug("Not a cluster ",n,C)});for(let n of f.keys()){let o=f.get(n).id,c=e.parent(o);c!==n&&f.has(c)&&!f.get(c).externalConnections&&(f.get(n).id=c)}
1e.edges().forEach(function(n){let o=e.edge(n);r.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),r.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let c=n.v,a=n.w;if(r.warn("Fix XXX",f,"ids:",n.v,n.w,"Translating: ",f.get(n.v)," --- ",f.get(n.w)),f.get(n.v)||f.get(n.w)){if(r.warn("Fixing and trying - removing XXX",n.v,n.w,n.name),c=$(n.v),a=$(n.w),e.removeEdge(n.v,n.w,n.name),c!==n.v){let s=e.parent(c);f.get(s).externalConnections=!0,o.fromCluster=n.v}if(a!==n.w){let s=e.parent(a);f.get(s).externalConnections=!0,o.toCluster=n.w}r.warn("Fix Replacing with XXX",c,a,n.name),e.setEdge(c,a,o,n.name)}}),r.warn("Adjusted Graph",b(e)),ne(e,0),r.trace(f)},"adjustClustersAndEdges"),ne=p((e,t)=>{var c,a;if(r.warn("extractor - ",t,b(e),e.children("D")),t>10){r.error("Bailing out");return}let n=e.nodes(),o=!1;for(let s of n){let u=e.children(s);o=o||u.length>0}if(!o){r.debug("Done, no node has children",e.nodes());return}r.debug("Nodes = ",n,t);for(let s of n)if(r.debug("Extracting node",s,f,f.has(s)&&!f.get(s).externalConnections,!e.parent(s),e.node(s),e.children("D")," Depth ",t),!f.has(s))r.debug("Not a cluster",s,t);else if(!f.get(s).externalConnections&&e.children(s)&&e.children(s).length>0){r.warn("Cluster without external connections, without a parent and with children",s,t);let l=e.graph().rankdir==="TB"?"LR":"TB";(a=(c=f.get(s))==null?void 0:c.clusterData)!=null&&a.dir&&(l=f.get(s).clusterData.dir,r.warn("Fixing dir",f.get(s).clusterData.dir,l));let v=new J({multigraph:!0,compound:!0}).setGraph({rankdir:l,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});r.warn("Old graph before copy",b(e)),I(s,e,v,s),e.setNode(s,{clusterNode:!0,id:s,clusterData:f.get(s).clusterData,label:f.get(s).label,graph:v}),r.warn("New graph after copy node: (",s,")",b(v)),r.debug("Old graph after copy",b(e))}else r.warn("Cluster ** ",s," **not meeting the criteria !externalConnections:",!f.get(s).externalConnections," no parent: ",!e.parent(s)," children ",e.children(s)&&e.children(s).length>0,e.children("D"),t),r.debug(f);n=e.nodes(),r.warn("New list of nodes",n);for(let s of n){let u=e.node(s);r.warn(" Now next level",s,u),u!=null&&u.clusterNode&&ne(u.graph,t+1)}},"extractor"),te=p((e,t)=>{if(t.length===0)return[];let n=Object.assign([],t);return t.forEach(o=>{let c=e.children(o),a=te(e,c);n=[...n,...a]}),n},"sorter"),fe=p(e=>te(e,e.children()),"sortNodesByHierarchy"),ie=p((e,t,n,o,c,a)=>y(null,null,function*(){r.warn("Graph in recursive render:XAX",b(t),c);let s=t.graph().rankdir;r.trace("Dir in recursive render - dir:",s);let u=e.insert("g").attr("class","root");t.nodes()?r.info("Recursive render XXX",t.nodes()):r.info("No nodes found for",t),t.edges().length>0&&r.info("Recursive edges",t.edge(t.edges()[0]));let l=u.insert("g").attr("class","clusters"),v=u.insert("g").attr("class","edgePaths"),S=u.insert("g").attr("class","edgeLabels"),g=u.insert("g").attr("class","nodes");yield Promise.all(t.nodes().map(function(d){return y(this,null,function*(){let i=t.node(d);if(c!==void 0){let w=JSON.parse(JSON.stringify(c.clusterData));r.trace("Setting data for parent cluster XXX\n Node.id = ",d,"\n data=",w.height,"\nParent cluster",c.height),t.setNode(c.id,w),t.parent(d)||(r.trace("Setting parent",d,c.id),t.setParent(d,c.id,w))}if(r.info("(Insert) Node XXX"+d+": "+JSON.stringify(t.node(d))),i!=null&&i.clusterNode){r.info("Cluster identified XBX",d,i.width,t.node(d));let{ranksep:w,nodesep:m}=t.graph();i.graph.setGraph(A(O({},i.graph.graph()),{ranksep:w+25,nodesep:m}));let N=yield ie(g,i.graph,n,o,t.node(d),a),x=N.elem;T(i,x),i.diff=N.diff||0,r.info("New compound node after recursive render XAX",d,"width",i.width,"height",i.height),Y(x,i)}else t.children(d).length>0?(r.trace("Cluster - the non recursive path XBX",d,i.id,i,i.width,"Graph:",t),r.trace(P(i.id,t)),f.set(i.id,{id:P(i.id,t),node:i})):(r.trace("Node - the non recursive path XAX",d,g,t.node(d),s),yield U(g,t.node(d),{config:a,dir:s}))})})),yield p(()=>y(null,null,function*(){let d=t.edges().map(function(i){return y(this,null,function*(){let w=t.edge(i.v,i.w,i.name);r.info("Edge "+i.v+" -> "+i.w+": "+JSON.stringify(i)),r.info("Edge "+i.v+" -> "+i.w+": ",i," ",JSON.stringify(t.edge(i))),r.info("Fix",f,"ids:",i.v,i.w,"Translating: ",f.get(i.v),f.get(i.w)),yield V(S,w)})});yield Promise.all(d)}),"processEdges")(),r.info("Graph before layout:",JSON.stringify(b(t))),r.info("############################################# XXX"),r.info("###                Layout                 ### XXX"),r.info("############################################# XXX"),W(t),r.info("Graph after layout:",JSON.stringify(b(t)));let E=0,{subGraphTitleTotalMargin:X}=R(a);return yield Promise.all(fe(t).map(function(d){return y(this,null,function*(){var w;let i=t.node(d);if(r.info("Position XBX => "+d+": ("+i.x,","+i.y,") width: ",i.width," height: ",i.height),i!=null&&i.clusterNode)i.y+=X,r.info("A tainted cluster node XBX1",d,i.id,i.width,i.height,i.x,i.y,t.parent(d)),f.get(i.id).node=i,_(i);else if(t.children(d).length>0){r.info("A pure cluster node XBX1",d,i.id,i.x,i.y,i.width,i.height,t.parent(d)),i.height+=X,t.node(i.parentId);let m=(i==null?void 0:i.padding)/2||0,N=((w=i==null?void 0:i.labelBBox)==null?void 0:w.height)||0,x=N-m||0;r.debug("OffsetY",x,"labelHeight",N,"halfPadding",m),yield M(l,i),f.get(i.id).node=i}else{let m=t.node(i.parentId);i.y+=X/2,r.info("A regular node XBX1 - using the padding",i.id,"parent",i.parentId,i.width,i.height,i.x,i.y,"offsetY",i.offsetY,"parent",m,m==null?void 0:m.offsetY,i),_(i)}})}
1)),t.edges().forEach(function(d){let i=t.edge(d);r.info("Edge "+d.v+" -> "+d.w+": "+JSON.stringify(i),i),i.points.forEach(x=>x.y+=X/2);let w=t.node(d.v);var m=t.node(d.w);let N=z(v,i,f,n,w,m,o);q(i,N)}),t.nodes().forEach(function(d){let i=t.node(d);r.info(d,i.type,i.diff),i.isGroup&&(E=i.diff)}),r.warn("Returning from recursive render XAX",u,E),{elem:u,diff:E}}),"recursiveRender"),Ce=p((e,t)=>y(null,null,function*(){var a,s,u,l,v,S;let n=new J({multigraph:!0,compound:!0}).setGraph({rankdir:e.direction,nodesep:((a=e.config)==null?void 0:a.nodeSpacing)||((u=(s=e.config)==null?void 0:s.flowchart)==null?void 0:u.nodeSpacing)||e.nodeSpacing,ranksep:((l=e.config)==null?void 0:l.rankSpacing)||((S=(v=e.config)==null?void 0:v.flowchart)==null?void 0:S.rankSpacing)||e.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),o=t.select("g");K(o,e.markers,e.type,e.diagramId),H(),j(),F(),ae(),e.nodes.forEach(g=>{n.setNode(g.id,O({},g)),g.parentId&&n.setParent(g.id,g.parentId)}),r.debug("Edges:",e.edges),e.edges.forEac
1h(g=>{if(g.start===g.end){let h=g.start,E=h+"---"+h+"---1",X=h+"---"+h+"---2",d=n.node(h);n.setNode(E,{domId:E,id:E,parentId:d.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),n.setParent(E,d.parentId),n.setNode(X,{domId:X,id:X,parentId:d.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),n.setParent(X,d.parentId);let i=structuredClone(g),w=structuredClone(g),m=structuredClone(g);i.label="",i.arrowTypeEnd="none",i.id=h+"-cyclic-special-1",w.arrowTypeStart="none",w.arrowTypeEnd="none",w.id=h+"-cyclic-special-mid",m.label="",d.isGroup&&(i.fromCluster=h,m.toCluster=h),m.id=h+"-cyclic-special-2",m.arrowTypeStart="none",n.setEdge(h,E,i,h+"-cyclic-special-0"),n.setEdge(E,X,w,h+"-cyclic-special-1"),n.setEdge(X,h,m,h+"-cyc<lic-special-2")}else n.setEdge(g.start,g.end,O({},g),g.id)}),r.warn("Graph at first:",JSON.stringify(b(n))),le(n),r.warn("Graph after XAX:",JSON.stringify(b(n)));let c=G();yield ie(o,n,e.type,e.diagramId,void 0,c)}),"render");export{Ce as render};

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.