vendor: 919 bytes, line 1
1import{m as i}from"./mermaid.esm.min-U7CnX3ab.js";import"./app-BsECO0k0.js";function a(){if(!(typeof globalThis>"u"))return globalThis}i(a,"getCaptureGlobal");function p(){return!!a()?.mermaidCaptureSizes}i(p,"shouldCaptureSizes");function u(){return typeof location>"u"?"browser-dev":`${location.pathname}${location.search}`}i(u,"capturedFromLocation");function s(o,r){let t=a();if(!t)return;let e=r.node(),d=((e&&"ownerSVGElement"in e?e.ownerSVGElement:null)??e)?.id??"(unknown)";t.mermaidCapturedSizes??=[];let n={svgId:d,sizes:o};t.mermaidCapturedSizes.push(n),t.mermaidLastCapturedSizes=n}i(s,"emitCapturedSizes");function l(o,r){let t=[];for(let e of r.nodes)e.isGroup||t.push({id:e.id,width:e.width??0,height:e.height??0});t.length!==0&&s({metadata:{captureVersion:1,capturedAt:new Date().toISOString(),capturedFrom:u()},nodes:t},o)}i(l,"captureNodeSizes");export{l as captureNodeSizes,p as shouldCaptureSizes};
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.