import e from"../../../../../_virtual/index13.mjs";import{__require as r}from"../../utils/optionsHaveIgnored.mjs";import{__require as a}from"../../utils/namespace.mjs";import{__require as t}from"../../utils/ruleUrl.mjs";var l,o;function s(){if(o)return l;o=1;const{utils:s}=e,u=r(),i=a(),p=t(),m=i("dollar-variable-default"),n=s.ruleMessages(m,{expected:e=>`Expected !default flag for "${e}"`}),c={url:p(m)};function d(e,r){return(a,t)=>{s.validateOptions(t,m,{actual:e},{actual:r,possible:{ignore:["local"]},optional:!0})&&a.walkDecls(e=>{"$"===e.prop[0]&&(u(r,"local")&&"root"!==e.parent.type||e.value.toLowerCase().includes("!default")||s.report({message:n.expected(e.prop),node:e,result:t,ruleName:m}))})}}return d.ruleName=m,d.messages=n,d.meta=c,l=d}export{s as __require};