"use strict";const g=require("./css-syntax-error.js"),d=require("./declaration.js"),y=require("./lazy-result.js"),R=require("./container.js"),N=require("./processor.js"),h=require("./stringify.js"),S=require("./fromJSON.js"),A=require("./document.js"),C=require("./warning.js"),P=require("./comment.js"),v=require("./at-rule.js"),x=require("./result.js"),O=require("./input.js"),D=require("./parse.js"),J=require("./list.js"),$=require("./rule.js"),z=require("./root.js"),E=require("./node.js");let L=g,u=d,W=y,G=R,i=N,I=h,b=S,a=A,M=C,p=P,m=v,V=x,_=O,k=D,B=J,f=$,j=z,F=E;function e(...r){return r.length===1&&Array.isArray(r[0])&&(r=r[0]),new i(r)}e.plugin=function(n,w){let l=!1;function t(...c){console&&console.warn&&!l&&(l=!0,console.warn(n+`: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(n+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
https://www.w3ctech.com/topic/2226`));let s=w(...c);return s.postcssPlugin=n,s.postcssVersion=new i().version,s}let o;return Object.defineProperty(t,"postcss",{get(){return o||(o=t()),o}}),t.process=function(c,s,q){return e([t(q)]).process(c,s)},t};e.stringify=I;e.parse=k;e.fromJSON=b;e.list=B;e.comment=r=>new p(r);e.atRule=r=>new m(r);e.decl=r=>new u(r);e.rule=r=>new f(r);e.root=r=>new j(r);e.document=r=>new a(r);e.CssSyntaxError=L;e.Declaration=u;e.Container=G;e.Processor=i;e.Document=a;e.Comment=p;e.Warning=M;e.AtRule=m;e.Result=V;e.Input=_;e.Rule=f;e.Root=j;e.Node=F;W.registerPostcss(e);var H=e;e.default=e;module.exports=H;
//# sourceMappingURL=postcss.js.map
