PageSourceSearch

https://report.vi/assets/useStructures-DZ8-hjvD.js

js report.vi collected 2026-10-07 15:24:58 UTC 737 bytes, 1 lines download raw bytes

1import{r as a}from"./vendor-react-D5waYPD6.js";import{o as i,e as f}from"./structureService--a2DxSHn.js";let t=null,r=null;function d(l=!1){return t&&!l?Promise.resolve(t):r||(r=f().then(e=>(t=e,r=null,e)).catch(e=>{throw r=null,e}),r)}function h(){t=null,r=null}function m(){const[l,e]=a.useState(()=>({structures:t||[],loading:!t,error:null}));return a.useEffect(()=>{let s=!1;function n(c){d(c).then(u=>{s||e({structures:u,loading:!1,error:null})}).catch(u=>{s||(console.warn("[useStructures] failed to load structures:",u?.message||u),e({structures:[],loading:!1,error:u?.message||"Failed to load structures"}))})}t?e({structures:t,loading:!1,error:null}):n(!1);const o=i(()=>{h(),n(!0)});return()=>{s=!0,o()}},[]),l}export{m as u};

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.