/*!
 * Custom elements for Nanopore-Digital Web applications
 */
const r=(r,t)=>"string"==typeof r&&r.length>0?{[r]:!0,...t}:t,t=r=>{const t={};return(r=>void 0!==r?(Array.isArray(r)?r:r.split(" ")).filter((r=>null!=r)).map((r=>r.trim())).filter((r=>""!==r)):[])(r).forEach((r=>t[r]=!0)),t};export{r as c,t as g}