import{isRule as e}from"./typeGuards.mjs";import t from"./isScssVariable.mjs";function r(r){const s=r.prop,o=r.parent;return!t(s)&&(("@"!==s[0]||"{"===s[1])&&((!o||"atrule"!==o.type||":"!==o.raws.afterName)&&(!(o&&e(o)&&o.selector&&o.selector.startsWith("#")&&o.selector.endsWith("()"))&&(!(o&&e(o)&&o.selector&&":"===o.selector[o.selector.length-1]&&"--"!==o.selector.substring(0,2))&&(!("extend"in r)||!r.extend)))))}export{r as default};