PageSourceSearch

https://structon.ai/static/js/611.64775e3d.chunk.js

js structon.ai collected 2026-10-05 14:40:55 UTC 1,994 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkstructura_ai=self.webpackChunkstructura_ai||[]).push([[611],{70611:(e,n,s)=>{s.r(n),s.d(n,{computeImportRepairGaps:()=>i,formatImportRepairGaps:()=>a});const t=e=>Object.values(null!==e&&void 0!==e?e:{}).filter(e=>"deleted"!==(null===e||void 0===e?void 0:e.status));function i(e){const n=t(null===e||void 0===e?void 0:e.materials),s=t(null===e||void 0===e?void 0:e.sections),i=t(null===e||void 0===e?void 0:e.frameElements),a=t(null===e||void 0===e?void 0:e.areaElements),o=t(null===e||void 0===e?void 0:e.supports),l=new Set(n.map(e=>e.id)),c=new Set(s.map(e=>e.id)),r=s.filter(e=>!e.materialId||!l.has(e.materialId)).map(e=>{var n;return null!==(n=e.name)&&void 0!==n?n:e.id}),u=i.filter(e=>!e.sectionId||!c.has(e.sectionId)).map(e=>{var n;return null!==(n=e.label)&&void 0!==n?n:"?"}),h=a.filter(e=>!e.sectionId||!c.has(e.sectionId)).map(e=>{var n;return null!==(n=e.label)&&void 0!==n?n:"?"}),g=0===o.length&&(i.length>0||a.length>0);return{sectionsMissingMaterial:r,framesMissingSection:u,areasMissingSection:h,noSupports:g,counts:{materials:n.length,sections:s.length,frames:i.length,areas:a.length,supports:o.length},hasActionableGap:r.length>0||u.length>0||h.length>0||g}}function a(e){const n=[];return e.sectionsMissingMaterial.length>0&&n.push("- ".concat(e.sectionsMissingMaterial.length," section(s) have NO material: ").concat(e.sectionsMissingMaterial.slice(0,10).join(", ")).concat(e.sectionsMissingMaterial.length>10?", \u2026":"")),e.framesMissingSection.length>0&&n.push("- ".concat(e.framesMissingSection.length," frame(s) have NO section: ").concat(e.framesMissingSection.slice(0,10).join(", ")).concat(e.framesMissingSection.length>10?", \u2026":"")),e.areasMissingSection.length>0&&n.push("- ".concat(e.areasMissingSection.length," area(s) have NO section: ").concat(e.areasMissingSection.slice(0,10).join(", ")).concat(e.areasMissingSection.length>10?", \u2026":"")),e.noSupports&&n.push("- the model has ZERO supports"),n.join("\n")}}}]);

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.