import e from"../../../../../_virtual/index13.mjs";import{__require as t}from"../../utils/namespace.mjs";import{__require as l}from"../../utils/ruleUrl.mjs";var r,a;function u(){if(a)return r;a=1;const{utils:u}=e,n=t(),s=l(),m=n("at-if-no-null"),i=u.ruleMessages(m,{equals_null:"Expected @if not statement rather than @if statement == null",not_equals_null:"Expected @if statement rather than @if statement != null"}),o={url:s(m)};function _(e){return(t,l)=>{u.validateOptions(l,m,{actual:e})&&t.walkAtRules("if",e=>{const{params:t}=e;t.match(/.* != null and .*/)||(t.match(/.* == null[ \t]*\)?/)?u.report({message:i.equals_null,node:e,result:l,ruleName:m,word:t}):t.match(/.* != null[ \t]*\)?/)&&u.report({message:i.not_equals_null,node:e,result:l,ruleName:m,word:t}))})}}return _.ruleName=m,_.messages=i,_.meta=o,r=_}export{u as __require};