PageSourceSearch

https://www.lighthouseacademy.ai/_next/static/chunks/4025.b6a4e7739306f381.js

js lighthouseacademy.ai collected 2026-10-04 23:39:12 UTC 3,440 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4025],{57038:function(e,t,n){function i(e,t){var n,i,r;e.accDescr&&(null===(n=t.setAccDescription)||void 0===n||n.call(t,e.accDescr)),e.accTitle&&(null===(i=t.setAccTitle)||void 0===i||i.call(t,e.accTitle)),e.title&&(null===(r=t.setDiagramTitle)||void 0===r||r.call(t,e.title))}n.d(t,{A:function(){return i}}),(0,n(99573).eW)(i,"populateCommonDb")},69537:function(e,t,n){n.d(t,{A:function(){return c}});var i,r=n(99573),c=(i=class{reset(){this.records=this.init()}constructor(e){this.init=e,this.records=this.init()}},(0,r.eW)(i,"ImperativeState"),i)},44025:function(e,t,n){n.d(t,{diagram:function(){return B}});var i=n(66462),r=n(57038),c=n(69537),a=n(42877),l=n(66764),o=n(99573),d=n(18442),s=new c.A(()=>({cnt:1,stack:[{id:0,level:-1,name:"/",children:[]}]})),g=(0,o.eW)(()=>{s.reset(),(0,l.ZH)()},"clear"),h=(0,o.eW)(()=>s.records.stack[0],"getRoot"),p=(0,o.eW)(()=>s.records.cnt,"getCount"),u=l.vZ.treeView,w=(0,o.eW)(()=>(0,a.Rb)(u,(0,l.iE)().treeView),"getConfig"),k={clear:g,addNode:(0,o.eW)((e,t)=>{for(;e<=s.records.stack[s.records.stack.length-1].level;)s.records.stack.pop();let n={id:s.records.cnt++,level:e,name:t,children:[]};s.records.stack[s.records.stack.length-1].children.push(n),s.records.stack.push(n)},"addNode"),getRoot:h,getCount:p,getConfig:w,getAccTitle:l.eu,getAccDescription:l.Mx,getDiagramTitle:l.Kr,setAccDescription:l.U$,setAccTitle:l.GN,setDiagramTitle:l.g2},f=(0,o.eW)(e=>{(0,r.A)(e,k),e.nodes.map(e=>k.addNode(e.indent?parseInt(e.indent):0,e.name))},"populate"),b={parse:(0,o.eW)(async e=>{let t=await (0,d.Qc)("treeView",e);o.cM.debug(t),f(t)},"parse")},W=(0,o.eW)((e,t,n,i,r)=>{let c=i.append("text").text(n.name).attr("dominant-baseline","middle").attr("class","treeView-node-label"),{height:a,width:l}=c.node().getBBox(),o=a+2*r.paddingY,d=l+2*r.paddingX;c.attr("x",e+r.paddingX),c.attr("y",t+o/2),n.BBox={x:e,y:t,width:d,height:o}},"positionLabel"),m=(0,o.eW)((e,t,n,i,r,c)=>e.append("line").attr("x1",t).attr("y1",n).attr("x2",i).attr("y2",r).attr("stroke-width",c).attr("class","treeView-node-line"),"positionLine"),x=(0,o.eW)((e,t,n)=>{let i=0,r=0,c=(0,o.eW)((e,t,n,c)=>{let a=c*(n.rowIndent+n.paddingX);W(a,i,t,e,n);let{height:l,width:o}=t.BBox;m(e,a-n.rowIndent,i+l/2,a,i+l/2,n.lineThickness),r=Math.max(r,a+o),i+=l},"drawNode"),a=(0,o.eW)(function(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;c(e,t,n,i),t.children.forEach(e=>{a(e,i+1)});let{x:r,y:l,height:o}=t.BBox;if(t.children.length){let{y:i,height:c}=t.children[t.children.length-1].BBox;m(e,r+n.paddingX,l+o,r+n.paddingX,i+c/2+n.lineThickness/2,n.lineThickness)}},"processNode");return a(t),{totalHeight:i,totalWidth:r}},"drawTree"),v=(0,o.eW)((e,t,n,r)=>{o.cM.debug("Rendering treeView diagram\n"+e);let c=r.db,a=c.getRoot(),d=c.getConfig(),s=(0,i.P)(t),g=s.append("g");g.attr("class","tree-view");let{totalHeight:h,totalWidth:p}=x(g,a,d);s.attr("viewBox","-".concat(d.lineThickness/2," 0 ").concat(p," ").concat(h)),(0,l.v2)(s,h,p,d.useMaxWidth)},"draw"),T={labelFontSize:"16px",labelColor:"black",lineColor:"black"},B={db:k,renderer:{draw:v},parser:b,styles:(0,o.eW)(e=>{let{treeView:t}=e,{labelFontSize:n,labelColor:i,lineColor:r}=(0,a.Rb)(T,t);return"\n    .treeView-node-label {\n        font-size: ".concat(n,";\n        fill: ").concat(i,";\n    }\n    .treeView-node-line {\n        stroke: ").concat(r,";\n    }\n    ")},"styles")}}}]);

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.