const e=require("./utils.js");function t(e){return(e.match(/:not\(([^)]*)\)/)?.[1]||``).split(/(\[[^[]*\])|(?=[.#])/).filter(e=>e).length>1}function n(e){return e.parentSelectors.reduce((e,t)=>e?t.includes(`&`)?t.replace(/&/g,e):`${e} ${t}`:t,``)}var r=(r,i,a)=>{let o=n(a).match(/:not\([^)]*\)/g)||[];o.length>0&&o.some(t)&&e.lintWarning(`Concat ':not' selector not support in legacy browsers.`,a)};exports.default=r;