import{__module as t}from"../../../../_virtual/inline-comment.mjs";import{__require as e}from"../../../postcss/lib/tokenize.mjs";import{__require as n}from"../../../postcss/lib/input.mjs";var i;function s(){return i||(i=1,function(t){const i=e(),s=n();t.exports={isInlineComment(e){if("word"===e[0]&&"//"===e[1].slice(0,2)){const t=e,n=[];let o,r;for(;e;){if(/\r?\n/.test(e[1])){if(/['"].*\r?\n/.test(e[1])){n.push(e[1].substring(0,e[1].indexOf("\n"))),r=e[1].substring(e[1].indexOf("\n"));const t=this.input.css.valueOf().substring(this.tokenizer.position());r+=t,o=e[3]+t.length-r.length}else this.tokenizer.back(e);break}n.push(e[1]),o=e[2],e=this.tokenizer.nextToken({ignoreUnclosed:!0})}const m=["comment",n.join(""),t[2],o];return this.inlineComment(m),r&&(this.input=new s(r),this.tokenizer=i(this.input)),!0}if("/"===e[1]){const n=this.tokenizer.nextToken({ignoreUnclosed:!0});if("comment"===n[0]&&/^\/\*/.test(n[1]))return n[0]="word",n[1]=n[1].slice(1),e[1]="//",this.tokenizer.back(n),t.exports.isInlineComment.bind(this)(e)}return!1}}}(t)),t.exports}export{s as __require};