const t=Symbol("parent"),e=Symbol("instanceName"),o=Symbol("secure event"),r=Symbol("properties"),s=Symbol("requiredProperties");function n(t){const e={};if("string"==typeof t){const o=/([\w-]*)\s*:\s*([^;]*)/g;let r;for(;r=o.exec(t);)r[1].startsWith("--")&&(e[r[1]]=r[2].trim())}else t&&"object"==typeof t&&Object.keys(t).forEach(o=>{o.startsWith("--")&&"string"==typeof t[o]&&(e[o]=t[o])});return Object.keys(e).map(t=>`${t}:${e[t]}`).join(";")}function c(t){if(t&&"object"==typeof t){const e={...t};return t.style&&(e.style=n(t.style)),e}return{}}export{e as instanceName,c as normalizeApis,n as normalizeStyle,t as parent,r as properties,s as requiredProperties,o as secure};
