function e(e,r){return/\r?\n/.test(e.raws.before)?/^\r?\n/.test(e.raws.before)?e.raws.before=r+e.raws.before:/\r?\n$/.test(e.raws.before)?e.raws.before=e.raws.before+r:e.raws.before=e.raws.before.replace(/(\r?\n)/,`${r}$1`):e.raws.before=r.repeat(2)+e.raws.before,e}export{e as addEmptyLineBefore};