"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getBHASchematic=function(e){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=[];return e.forEach((function(e){var a=e.family,r=e.material,l=e.stabilizer;["bit","pdm","rss","stabilizer","ur"].includes(a)?t.push({family:a,hasStabilizer:!!l,bitType:e.bit_type}):(i&&["dp","sub"].includes(a)||"Non Magnetic"===r&&(0===t.length||t.slice(-1)[0].material!==r))&&t.push({family:"other",material:r})})),t};
