import e from"../../../../../_virtual/index13.mjs";import{__require as r}from"../../utils/validateTypes.mjs";import{__require as t}from"../../utils/namespace.mjs";import{__require as s}from"../../utils/ruleUrl.mjs";var a,i;function m(){if(i)return a;i=1;const{utils:m}=e,{isRegExp:u,isString:n}=r(),o=t(),l=s(),p=o("at-mixin-pattern"),c=m.ruleMessages(p,{expected:(e,r)=>`Expected "${e}" to match pattern "${r}"`}),g={url:l(p)};function x(e){return(r,t)=>{if(!m.validateOptions(t,p,{actual:e,possible:[u,n]}))return;const s=n(e)?new RegExp(e):e;r.walkAtRules("mixin",r=>{const a=r.params.replace(/(\s*)\([\s\S]*\)/g,"");s.test(a)||m.report({message:c.expected,messageArgs:[a,e],node:r,result:t,ruleName:p,word:a})})}}return x.ruleName=p,x.messages=c,x.meta=g,a=x}export{m as __require};