@csstools/csstools-cli 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changes to CSSTools CLI
2
2
 
3
+ ### 1.4.0 (June 3, 2022)
4
+
5
+ - Added `@csstools/postcss-cascade-layers`
6
+ - Added `@csstools/postcss-trigonometric-functions`
7
+ - Added `postcss-attribute-case-insensitive`
8
+ - Added `postcss-custom-media`
9
+ - Added `postcss-custom-selectors`
10
+ - Added `postcss-selector-not`
11
+ - Updated `postcss-preset-env` to `7.7.1` (minor)
12
+
3
13
  ### 1.3.0 (May 2, 2022)
4
14
 
5
15
  - Added `@csstools/postcss-unset-value` (minor)
package/dist/cli.cjs CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- "use strict";var e=require("css-blank-pseudo"),t=require("tty"),s=require("path"),r=require("url"),o=require("fs"),n=require("css-has-pseudo"),i=require("css-prefers-color-scheme"),a=require("@csstools/postcss-color-function"),l=require("postcss-color-functional-notation"),u=require("postcss-color-hex-alpha"),c=require("postcss-color-rebeccapurple"),p=require("postcss-custom-properties"),d=require("postcss-dir-pseudo-class"),h=require("postcss-double-position-gradients"),f=require("postcss-env-function"),m=require("postcss-focus-visible"),g=require("postcss-focus-within"),v=require("@csstools/postcss-font-format-keywords"),y=require("postcss-gap-properties"),b=require("@csstools/postcss-hwb-function"),w=require("@csstools/postcss-ic-unit"),S=require("postcss-image-set-function"),k=require("@csstools/postcss-is-pseudo-class"),x=require("postcss-lab-function"),C=require("postcss-logical"),O=require("postcss-nesting"),_=require("@csstools/postcss-normalize-display-values"),P=require("@csstools/postcss-oklab-function"),A=require("postcss-overflow-shorthand"),N=require("postcss-place"),M=require("autoprefixer"),L=require("cssdb"),E=require("@csstools/postcss-progressive-custom-properties"),R=require("browserslist"),$=require("postcss-initial"),j=require("postcss-pseudo-class-any-link"),F=require("postcss-page-break"),I=require("postcss-attribute-case-insensitive"),U=require("postcss-value-parser"),B=require("postcss-custom-media"),D=require("postcss-custom-selectors"),z=require("postcss-font-variant"),T=require("postcss-media-minmax"),q=require("postcss-selector-not"),G=require("postcss-replace-overflow-wrap");function W(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var V,J=W(e),H=W(t),Y=W(s),Z=W(r),K=W(o),Q=W(n),X=W(i),ee=W(a),te=W(l),se=W(u),re=W(c),oe=W(p),ne=W(d),ie=W(h),ae=W(f),le=W(m),ue=W(g),ce=W(v),pe=W(y),de=W(b),he=W(w),fe=W(S),me=W(k),ge=W(x),ve=W(C),ye=W(O),be=W(_),we=W(P),Se=W(A),ke=W(N),xe=W(M),Ce=W(L),Oe=W(E),_e=W(R),Pe=W($),Ae=W(j),Ne=W(F),Me=W(I),Le=W(U),Ee=W(B),Re=W(D),$e=W(z),je=W(T),Fe=W(q),Ie=W(G);!function(e){e.InvalidArguments="INVALID_ARGUMENTS"}(V||(V={}));var Ue={exports:{}};let Be=H.default,De=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||"win32"===process.platform||Be.isatty(1)&&"dumb"!==process.env.TERM||"CI"in process.env),ze=(e,t,s=e)=>r=>{let o=""+r,n=o.indexOf(t,e.length);return~n?e+Te(o,t,s,n)+t:e+o+t},Te=(e,t,s,r)=>{let o=e.substring(0,r)+s,n=e.substring(r+t.length),i=n.indexOf(t);return~i?o+Te(n,t,s,i):o+n},qe=(e=De)=>({isColorSupported:e,reset:e?e=>`${e}`:String,bold:e?ze("","",""):String,dim:e?ze("","",""):String,italic:e?ze("",""):String,underline:e?ze("",""):String,inverse:e?ze("",""):String,hidden:e?ze("",""):String,strikethrough:e?ze("",""):String,black:e?ze("",""):String,red:e?ze("",""):String,green:e?ze("",""):String,yellow:e?ze("",""):String,blue:e?ze("",""):String,magenta:e?ze("",""):String,cyan:e?ze("",""):String,white:e?ze("",""):String,gray:e?ze("",""):String,bgBlack:e?ze("",""):String,bgRed:e?ze("",""):String,bgGreen:e?ze("",""):String,bgYellow:e?ze("",""):String,bgBlue:e?ze("",""):String,bgMagenta:e?ze("",""):String,bgCyan:e?ze("",""):String,bgWhite:e?ze("",""):String});Ue.exports=qe(),Ue.exports.createColors=qe;const Ge="'".charCodeAt(0),We='"'.charCodeAt(0),Ve="\\".charCodeAt(0),Je="/".charCodeAt(0),He="\n".charCodeAt(0),Ye=" ".charCodeAt(0),Ze="\f".charCodeAt(0),Ke="\t".charCodeAt(0),Qe="\r".charCodeAt(0),Xe="[".charCodeAt(0),et="]".charCodeAt(0),tt="(".charCodeAt(0),st=")".charCodeAt(0),rt="{".charCodeAt(0),ot="}".charCodeAt(0),nt=";".charCodeAt(0),it="*".charCodeAt(0),at=":".charCodeAt(0),lt="@".charCodeAt(0),ut=/[\t\n\f\r "#'()/;[\\\]{}]/g,ct=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,pt=/.[\n"'(/\\]/,dt=/[\da-f]/i;var ht=function(e,t={}){let s,r,o,n,i,a,l,u,c,p,d=e.css.valueOf(),h=t.ignoreErrors,f=d.length,m=0,g=[],v=[];function y(t){throw e.error("Unclosed "+t,m)}return{back:function(e){v.push(e)},nextToken:function(e){if(v.length)return v.pop();if(m>=f)return;let t=!!e&&e.ignoreUnclosed;switch(s=d.charCodeAt(m),s){case He:case Ye:case Ke:case Qe:case Ze:r=m;do{r+=1,s=d.charCodeAt(r)}while(s===Ye||s===He||s===Ke||s===Qe||s===Ze);p=["space",d.slice(m,r)],m=r-1;break;case Xe:case et:case rt:case ot:case at:case nt:case st:{let e=String.fromCharCode(s);p=[e,e,m];break}case tt:if(u=g.length?g.pop()[1]:"",c=d.charCodeAt(m+1),"url"===u&&c!==Ge&&c!==We&&c!==Ye&&c!==He&&c!==Ke&&c!==Ze&&c!==Qe){r=m;do{if(a=!1,r=d.indexOf(")",r+1),-1===r){if(h||t){r=m;break}y("bracket")}for(l=r;d.charCodeAt(l-1)===Ve;)l-=1,a=!a}while(a);p=["brackets",d.slice(m,r+1),m,r],m=r}else r=d.indexOf(")",m+1),n=d.slice(m,r+1),-1===r||pt.test(n)?p=["(","(",m]:(p=["brackets",n,m,r],m=r);break;case Ge:case We:o=s===Ge?"'":'"',r=m;do{if(a=!1,r=d.indexOf(o,r+1),-1===r){if(h||t){r=m+1;break}y("string")}for(l=r;d.charCodeAt(l-1)===Ve;)l-=1,a=!a}while(a);p=["string",d.slice(m,r+1),m,r],m=r;break;case lt:ut.lastIndex=m+1,ut.test(d),r=0===ut.lastIndex?d.length-1:ut.lastIndex-2,p=["at-word",d.slice(m,r+1),m,r],m=r;break;case Ve:for(r=m,i=!0;d.charCodeAt(r+1)===Ve;)r+=1,i=!i;if(s=d.charCodeAt(r+1),i&&s!==Je&&s!==Ye&&s!==He&&s!==Ke&&s!==Qe&&s!==Ze&&(r+=1,dt.test(d.charAt(r)))){for(;dt.test(d.charAt(r+1));)r+=1;d.charCodeAt(r+1)===Ye&&(r+=1)}p=["word",d.slice(m,r+1),m,r],m=r;break;default:s===Je&&d.charCodeAt(m+1)===it?(r=d.indexOf("*/",m+2)+1,0===r&&(h||t?r=d.length:y("comment")),p=["comment",d.slice(m,r+1),m,r],m=r):(ct.lastIndex=m+1,ct.test(d),r=0===ct.lastIndex?d.length-1:ct.lastIndex-2,p=["word",d.slice(m,r+1),m,r],g.push(p),m=r)}return m++,p},endOfFile:function(){return 0===v.length&&m>=f},position:function(){return m}}};let ft,mt=Ue.exports,gt=ht;const vt={brackets:mt.cyan,"at-word":mt.cyan,comment:mt.gray,string:mt.green,class:mt.yellow,hash:mt.magenta,call:mt.cyan,"(":mt.cyan,")":mt.cyan,"{":mt.yellow,"}":mt.yellow,"[":mt.yellow,"]":mt.yellow,":":mt.yellow,";":mt.yellow};function yt([e,t],s){if("word"===e){if("."===t[0])return"class";if("#"===t[0])return"hash"}if(!s.endOfFile()){let e=s.nextToken();if(s.back(e),"brackets"===e[0]||"("===e[0])return"call"}return e}function bt(e){let t=gt(new ft(e),{ignoreErrors:!0}),s="";for(;!t.endOfFile();){let e=t.nextToken(),r=vt[yt(e,t)];s+=r?e[1].split(/\r?\n/).map((e=>r(e))).join("\n"):e[1]}return s}bt.registerInput=function(e){ft=e};var wt=bt;let St=Ue.exports,kt=wt;class xt extends Error{constructor(e,t,s,r,o,n){super(e),this.name="CssSyntaxError",this.reason=e,o&&(this.file=o),r&&(this.source=r),n&&(this.plugin=n),void 0!==t&&void 0!==s&&("number"==typeof t?(this.line=t,this.column=s):(this.line=t.line,this.column=t.column,this.endLine=s.line,this.endColumn=s.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,xt)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=St.isColorSupported),kt&&e&&(t=kt(t));let s,r,o=t.split(/\r?\n/),n=Math.max(this.line-3,0),i=Math.min(this.line+2,o.length),a=String(i).length;if(e){let{bold:e,red:t,gray:o}=St.createColors(!0);s=s=>e(t(s)),r=e=>o(e)}else s=r=e=>e;return o.slice(n,i).map(((e,t)=>{let o=n+1+t,i=" "+(" "+o).slice(-a)+" | ";if(o===this.line){let t=r(i.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return s(">")+r(i)+e+"\n "+t+s("^")}return" "+r(i)+e})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}var Ct=xt;xt.default=xt;var Ot={};Ot.isClean=Symbol("isClean"),Ot.my=Symbol("my");const _t={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};class Pt{constructor(e){this.builder=e}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}document(e){this.body(e)}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft"),s=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+s+"*/",e)}decl(e,t){let s=this.raw(e,"between","colon"),r=e.prop+s+this.rawValue(e,"value");e.important&&(r+=e.raws.important||" !important"),t&&(r+=";"),this.builder(r,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,t){let s="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?s+=e.raws.afterName:r&&(s+=" "),e.nodes)this.block(e,s+r);else{let o=(e.raws.between||"")+(t?";":"");this.builder(s+r+o,e)}}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let s=this.raw(e,"semicolon");for(let r=0;r<e.nodes.length;r++){let o=e.nodes[r],n=this.raw(o,"before");n&&this.builder(n),this.stringify(o,t!==r||s)}}block(e,t){let s,r=this.raw(e,"between","beforeOpen");this.builder(t+r+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),s=this.raw(e,"after")):s=this.raw(e,"after","emptyBody"),s&&this.builder(s),this.builder("}",e,"end")}raw(e,t,s){let r;if(s||(s=t),t&&(r=e.raws[t],void 0!==r))return r;let o=e.parent;if("before"===s){if(!o||"root"===o.type&&o.first===e)return"";if(o&&"document"===o.type)return""}if(!o)return _t[s];let n=e.root();if(n.rawCache||(n.rawCache={}),void 0!==n.rawCache[s])return n.rawCache[s];if("before"===s||"after"===s)return this.beforeAfter(e,s);{let o="raw"+((i=s)[0].toUpperCase()+i.slice(1));this[o]?r=this[o](n,e):n.walk((e=>{if(r=e.raws[t],void 0!==r)return!1}))}var i;return void 0===r&&(r=_t[s]),n.rawCache[s]=r,r}rawSemicolon(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1})),t}rawEmptyBody(e){let t;return e.walk((e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1})),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk((s=>{let r=s.parent;if(r&&r!==e&&r.parent&&r.parent===e&&void 0!==s.raws.before){let e=s.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}})),t}rawBeforeComment(e,t){let s;return e.walkComments((e=>{if(void 0!==e.raws.before)return s=e.raws.before,s.includes("\n")&&(s=s.replace(/[^\n]+$/,"")),!1})),void 0===s?s=this.raw(t,null,"beforeDecl"):s&&(s=s.replace(/\S/g,"")),s}rawBeforeDecl(e,t){let s;return e.walkDecls((e=>{if(void 0!==e.raws.before)return s=e.raws.before,s.includes("\n")&&(s=s.replace(/[^\n]+$/,"")),!1})),void 0===s?s=this.raw(t,null,"beforeRule"):s&&(s=s.replace(/\S/g,"")),s}rawBeforeRule(e){let t;return e.walk((s=>{if(s.nodes&&(s.parent!==e||e.first!==s)&&void 0!==s.raws.before)return t=s.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeClose(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t}beforeAfter(e,t){let s;s="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let r=e.parent,o=0;for(;r&&"root"!==r.type;)o+=1,r=r.parent;if(s.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<o;e++)s+=t}return s}rawValue(e,t){let s=e[t],r=e.raws[t];return r&&r.value===s?r.raw:s}}var At=Pt;Pt.default=Pt;let Nt=At;function Mt(e,t){new Nt(t).stringify(e)}var Lt=Mt;Mt.default=Mt;let{isClean:Et,my:Rt}=Ot,$t=Ct,jt=At,Ft=Lt;function It(e,t){let s=new e.constructor;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;if("proxyCache"===r)continue;let o=e[r],n=typeof o;"parent"===r&&"object"===n?t&&(s[r]=t):"source"===r?s[r]=o:Array.isArray(o)?s[r]=o.map((e=>It(e,s))):("object"===n&&null!==o&&(o=It(o)),s[r]=o)}return s}class Ut{constructor(e={}){this.raws={},this[Et]=!1,this[Rt]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let s of e[t])"function"==typeof s.clone?this.append(s.clone()):this.append(s)}else this[t]=e[t]}error(e,t={}){if(this.source){let{start:s,end:r}=this.rangeBy(t);return this.source.input.error(e,{line:s.line,column:s.column},{line:r.line,column:r.column},t)}return new $t(e)}warn(e,t,s){let r={node:this};for(let e in s)r[e]=s[e];return e.warn(t,r)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=Ft){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}assign(e={}){for(let t in e)this[t]=e[t];return this}clone(e={}){let t=It(this);for(let s in e)t[s]=e[s];return t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}replaceWith(...e){if(this.parent){let t=this,s=!1;for(let r of e)r===this?s=!0:s?(this.parent.insertAfter(t,r),t=r):this.parent.insertBefore(t,r);s||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}raw(e,t){return(new jt).raw(this,e,t)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,t){let s={},r=null==t;t=t||new Map;let o=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e))continue;if("parent"===e||"proxyCache"===e)continue;let r=this[e];if(Array.isArray(r))s[e]=r.map((e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof r&&r.toJSON)s[e]=r.toJSON(null,t);else if("source"===e){let n=t.get(r.input);null==n&&(n=o,t.set(r.input,o),o++),s[e]={inputId:n,start:r.start,end:r.end}}else s[e]=r}return r&&(s.inputs=[...t.keys()].map((e=>e.toJSON()))),s}positionInside(e){let t=this.toString(),s=this.source.start.column,r=this.source.start.line;for(let o=0;o<e;o++)"\n"===t[o]?(s=1,r+=1):s+=1;return{line:r,column:s}}positionBy(e){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let s=this.toString().indexOf(e.word);-1!==s&&(t=this.positionInside(s))}return t}rangeBy(e){let t={line:this.source.start.line,column:this.source.start.column},s=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:t.line,column:t.column+1};if(e.word){let r=this.toString().indexOf(e.word);-1!==r&&(t=this.positionInside(r),s=this.positionInside(r+e.word.length))}else e.start?t={line:e.start.line,column:e.start.column}:e.index&&(t=this.positionInside(e.index)),e.end?s={line:e.end.line,column:e.end.column}:e.endIndex?s=this.positionInside(e.endIndex):e.index&&(s=this.positionInside(e.index+1));return(s.line<t.line||s.line===t.line&&s.column<=t.column)&&(s={line:t.line,column:t.column+1}),{start:t,end:s}}getProxyProcessor(){return{set:(e,t,s)=>(e[t]===s||(e[t]=s,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t]}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}markDirty(){if(this[Et]){this[Et]=!1;let e=this;for(;e=e.parent;)e[Et]=!1}}get proxyOf(){return this}}var Bt=Ut;Ut.default=Ut;let Dt=Bt;class zt extends Dt{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}var Tt=zt;zt.default=zt;var qt={},Gt={},Wt={},Vt={},Jt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");Vt.encode=function(e){if(0<=e&&e<Jt.length)return Jt[e];throw new TypeError("Must be between 0 and 63: "+e)},Vt.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1};var Ht=Vt;Wt.encode=function(e){var t,s="",r=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&r,(r>>>=5)>0&&(t|=32),s+=Ht.encode(t)}while(r>0);return s},Wt.decode=function(e,t,s){var r,o,n,i,a=e.length,l=0,u=0;do{if(t>=a)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(o=Ht.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));r=!!(32&o),l+=(o&=31)<<u,u+=5}while(r);s.value=(i=(n=l)>>1,1==(1&n)?-i:i),s.rest=t};var Yt={};!function(e){e.getArg=function(e,t,s){if(t in e)return e[t];if(3===arguments.length)return s;throw new Error('"'+t+'" is a required argument.')};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,s=/^data:.+\,.+$/;function r(e){var s=e.match(t);return s?{scheme:s[1],auth:s[2],host:s[3],port:s[4],path:s[5]}:null}function o(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}e.urlParse=r,e.urlGenerate=o;var n=function(e){var t=[];return function(s){for(var r=0;r<t.length;r++)if(t[r].input===s){var o=t[0];return t[0]=t[r],t[r]=o,t[0].result}var n=e(s);return t.unshift({input:s,result:n}),t.length>32&&t.pop(),n}}((function(t){var s=t,n=r(t);if(n){if(!n.path)return t;s=n.path}for(var i=e.isAbsolute(s),a=[],l=0,u=0;;){if(l=u,-1===(u=s.indexOf("/",l))){a.push(s.slice(l));break}for(a.push(s.slice(l,u));u<s.length&&"/"===s[u];)u++}var c,p=0;for(u=a.length-1;u>=0;u--)"."===(c=a[u])?a.splice(u,1):".."===c?p++:p>0&&(""===c?(a.splice(u+1,p),p=0):(a.splice(u,2),p--));return""===(s=a.join("/"))&&(s=i?"/":"."),n?(n.path=s,o(n)):s}));function i(e,t){""===e&&(e="."),""===t&&(t=".");var i=r(t),a=r(e);if(a&&(e=a.path||"/"),i&&!i.scheme)return a&&(i.scheme=a.scheme),o(i);if(i||t.match(s))return t;if(a&&!a.host&&!a.path)return a.host=t,o(a);var l="/"===t.charAt(0)?t:n(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=l,o(a)):l}e.normalize=n,e.join=i,e.isAbsolute=function(e){return"/"===e.charAt(0)||t.test(e)},e.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var s=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++s}return Array(s+1).join("../")+t.substr(e.length+1)};var a=!("__proto__"in Object.create(null));function l(e){return e}function u(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var s=t-10;s>=0;s--)if(36!==e.charCodeAt(s))return!1;return!0}function c(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=a?l:function(e){return u(e)?"$"+e:e},e.fromSetString=a?l:function(e){return u(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,s){var r=c(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||s||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:c(e.name,t.name)},e.compareByOriginalPositionsNoSource=function(e,t,s){var r;return 0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||s||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:c(e.name,t.name)},e.compareByGeneratedPositionsDeflated=function(e,t,s){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||s||0!==(r=c(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:c(e.name,t.name)},e.compareByGeneratedPositionsDeflatedNoLine=function(e,t,s){var r=e.generatedColumn-t.generatedColumn;return 0!==r||s||0!==(r=c(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:c(e.name,t.name)},e.compareByGeneratedPositionsInflated=function(e,t){var s=e.generatedLine-t.generatedLine;return 0!==s||0!==(s=e.generatedColumn-t.generatedColumn)||0!==(s=c(e.source,t.source))||0!==(s=e.originalLine-t.originalLine)||0!==(s=e.originalColumn-t.originalColumn)?s:c(e.name,t.name)},e.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(e,t,s){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),s){var a=r(s);if(!a)throw new Error("sourceMapURL could not be parsed");if(a.path){var l=a.path.lastIndexOf("/");l>=0&&(a.path=a.path.substring(0,l+1))}t=i(o(a),t)}return n(t)}}(Yt);var Zt={},Kt=Yt,Qt=Object.prototype.hasOwnProperty,Xt="undefined"!=typeof Map;function es(){this._array=[],this._set=Xt?new Map:Object.create(null)}es.fromArray=function(e,t){for(var s=new es,r=0,o=e.length;r<o;r++)s.add(e[r],t);return s},es.prototype.size=function(){return Xt?this._set.size:Object.getOwnPropertyNames(this._set).length},es.prototype.add=function(e,t){var s=Xt?e:Kt.toSetString(e),r=Xt?this.has(e):Qt.call(this._set,s),o=this._array.length;r&&!t||this._array.push(e),r||(Xt?this._set.set(e,o):this._set[s]=o)},es.prototype.has=function(e){if(Xt)return this._set.has(e);var t=Kt.toSetString(e);return Qt.call(this._set,t)},es.prototype.indexOf=function(e){if(Xt){var t=this._set.get(e);if(t>=0)return t}else{var s=Kt.toSetString(e);if(Qt.call(this._set,s))return this._set[s]}throw new Error('"'+e+'" is not in the set.')},es.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},es.prototype.toArray=function(){return this._array.slice()},Zt.ArraySet=es;var ts={},ss=Yt;function rs(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}rs.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},rs.prototype.add=function(e){var t,s,r,o,n,i;t=this._last,s=e,r=t.generatedLine,o=s.generatedLine,n=t.generatedColumn,i=s.generatedColumn,o>r||o==r&&i>=n||ss.compareByGeneratedPositionsInflated(t,s)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},rs.prototype.toArray=function(){return this._sorted||(this._array.sort(ss.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},ts.MappingList=rs;var os=Wt,ns=Yt,is=Zt.ArraySet,as=ts.MappingList;function ls(e){e||(e={}),this._file=ns.getArg(e,"file",null),this._sourceRoot=ns.getArg(e,"sourceRoot",null),this._skipValidation=ns.getArg(e,"skipValidation",!1),this._sources=new is,this._names=new is,this._mappings=new as,this._sourcesContents=null}ls.prototype._version=3,ls.fromSourceMap=function(e){var t=e.sourceRoot,s=new ls({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=ns.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),s.addMapping(r)})),e.sources.forEach((function(r){var o=r;null!==t&&(o=ns.relative(t,r)),s._sources.has(o)||s._sources.add(o);var n=e.sourceContentFor(r);null!=n&&s.setSourceContent(r,n)})),s},ls.prototype.addMapping=function(e){var t=ns.getArg(e,"generated"),s=ns.getArg(e,"original",null),r=ns.getArg(e,"source",null),o=ns.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,s,r,o),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=s&&s.line,originalColumn:null!=s&&s.column,source:r,name:o})},ls.prototype.setSourceContent=function(e,t){var s=e;null!=this._sourceRoot&&(s=ns.relative(this._sourceRoot,s)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[ns.toSetString(s)]=t):this._sourcesContents&&(delete this._sourcesContents[ns.toSetString(s)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},ls.prototype.applySourceMap=function(e,t,s){var r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var o=this._sourceRoot;null!=o&&(r=ns.relative(o,r));var n=new is,i=new is;this._mappings.unsortedForEach((function(t){if(t.source===r&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=s&&(t.source=ns.join(s,t.source)),null!=o&&(t.source=ns.relative(o,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var l=t.source;null==l||n.has(l)||n.add(l);var u=t.name;null==u||i.has(u)||i.add(u)}),this),this._sources=n,this._names=i,e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&(null!=s&&(t=ns.join(s,t)),null!=o&&(t=ns.relative(o,t)),this.setSourceContent(t,r))}),this)},ls.prototype._validateMapping=function(e,t,s,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||s||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&s))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:s,original:t,name:r}))},ls.prototype._serializeMappings=function(){for(var e,t,s,r,o=0,n=1,i=0,a=0,l=0,u=0,c="",p=this._mappings.toArray(),d=0,h=p.length;d<h;d++){if(e="",(t=p[d]).generatedLine!==n)for(o=0;t.generatedLine!==n;)e+=";",n++;else if(d>0){if(!ns.compareByGeneratedPositionsInflated(t,p[d-1]))continue;e+=","}e+=os.encode(t.generatedColumn-o),o=t.generatedColumn,null!=t.source&&(r=this._sources.indexOf(t.source),e+=os.encode(r-u),u=r,e+=os.encode(t.originalLine-1-a),a=t.originalLine-1,e+=os.encode(t.originalColumn-i),i=t.originalColumn,null!=t.name&&(s=this._names.indexOf(t.name),e+=os.encode(s-l),l=s)),c+=e}return c},ls.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=ns.relative(t,e));var s=ns.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,s)?this._sourcesContents[s]:null}),this)},ls.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},ls.prototype.toString=function(){return JSON.stringify(this.toJSON())},Gt.SourceMapGenerator=ls;var us={},cs={};!function(e){function t(s,r,o,n,i,a){var l=Math.floor((r-s)/2)+s,u=i(o,n[l],!0);return 0===u?l:u>0?r-l>1?t(l,r,o,n,i,a):a==e.LEAST_UPPER_BOUND?r<n.length?r:-1:l:l-s>1?t(s,l,o,n,i,a):a==e.LEAST_UPPER_BOUND?l:s<0?-1:s}e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2,e.search=function(s,r,o,n){if(0===r.length)return-1;var i=t(-1,r.length,s,r,o,n||e.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&0===o(r[i],r[i-1],!0);)--i;return i}}(cs);var ps={};function ds(e){function t(e,t,s){var r=e[t];e[t]=e[s],e[s]=r}return function e(s,r,o,n){if(o<n){var i=o-1;t(s,(c=o,p=n,Math.round(c+Math.random()*(p-c))),n);for(var a=s[n],l=o;l<n;l++)r(s[l],a,!1)<=0&&t(s,i+=1,l);t(s,i+1,l);var u=i+1;e(s,r,o,u-1),e(s,r,u+1,n)}var c,p}}let hs=new WeakMap;ps.quickSort=function(e,t,s=0){let r=hs.get(t);void 0===r&&(r=function(e){let t=ds.toString();return new Function(`return ${t}`)()(e)}(t),hs.set(t,r)),r(e,t,s,e.length-1)};var fs=Yt,ms=cs,gs=Zt.ArraySet,vs=Wt,ys=ps.quickSort;function bs(e,t){var s=e;return"string"==typeof e&&(s=fs.parseSourceMapInput(e)),null!=s.sections?new Cs(s,t):new ws(s,t)}function ws(e,t){var s=e;"string"==typeof e&&(s=fs.parseSourceMapInput(e));var r=fs.getArg(s,"version"),o=fs.getArg(s,"sources"),n=fs.getArg(s,"names",[]),i=fs.getArg(s,"sourceRoot",null),a=fs.getArg(s,"sourcesContent",null),l=fs.getArg(s,"mappings"),u=fs.getArg(s,"file",null);if(r!=this._version)throw new Error("Unsupported version: "+r);i&&(i=fs.normalize(i)),o=o.map(String).map(fs.normalize).map((function(e){return i&&fs.isAbsolute(i)&&fs.isAbsolute(e)?fs.relative(i,e):e})),this._names=gs.fromArray(n.map(String),!0),this._sources=gs.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map((function(e){return fs.computeSourceURL(i,e,t)})),this.sourceRoot=i,this.sourcesContent=a,this._mappings=l,this._sourceMapURL=t,this.file=u}function Ss(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}bs.fromSourceMap=function(e,t){return ws.fromSourceMap(e,t)},bs.prototype._version=3,bs.prototype.__generatedMappings=null,Object.defineProperty(bs.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),bs.prototype.__originalMappings=null,Object.defineProperty(bs.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),bs.prototype._charIsMappingSeparator=function(e,t){var s=e.charAt(t);return";"===s||","===s},bs.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},bs.GENERATED_ORDER=1,bs.ORIGINAL_ORDER=2,bs.GREATEST_LOWER_BOUND=1,bs.LEAST_UPPER_BOUND=2,bs.prototype.eachMapping=function(e,t,s){var r,o=t||null;switch(s||bs.GENERATED_ORDER){case bs.GENERATED_ORDER:r=this._generatedMappings;break;case bs.ORIGINAL_ORDER:r=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var n=this.sourceRoot,i=e.bind(o),a=this._names,l=this._sources,u=this._sourceMapURL,c=0,p=r.length;c<p;c++){var d=r[c],h=null===d.source?null:l.at(d.source);i({source:h=fs.computeSourceURL(n,h,u),generatedLine:d.generatedLine,generatedColumn:d.generatedColumn,originalLine:d.originalLine,originalColumn:d.originalColumn,name:null===d.name?null:a.at(d.name)})}},bs.prototype.allGeneratedPositionsFor=function(e){var t=fs.getArg(e,"line"),s={source:fs.getArg(e,"source"),originalLine:t,originalColumn:fs.getArg(e,"column",0)};if(s.source=this._findSourceIndex(s.source),s.source<0)return[];var r=[],o=this._findMapping(s,this._originalMappings,"originalLine","originalColumn",fs.compareByOriginalPositions,ms.LEAST_UPPER_BOUND);if(o>=0){var n=this._originalMappings[o];if(void 0===e.column)for(var i=n.originalLine;n&&n.originalLine===i;)r.push({line:fs.getArg(n,"generatedLine",null),column:fs.getArg(n,"generatedColumn",null),lastColumn:fs.getArg(n,"lastGeneratedColumn",null)}),n=this._originalMappings[++o];else for(var a=n.originalColumn;n&&n.originalLine===t&&n.originalColumn==a;)r.push({line:fs.getArg(n,"generatedLine",null),column:fs.getArg(n,"generatedColumn",null),lastColumn:fs.getArg(n,"lastGeneratedColumn",null)}),n=this._originalMappings[++o]}return r},us.SourceMapConsumer=bs,ws.prototype=Object.create(bs.prototype),ws.prototype.consumer=bs,ws.prototype._findSourceIndex=function(e){var t,s=e;if(null!=this.sourceRoot&&(s=fs.relative(this.sourceRoot,s)),this._sources.has(s))return this._sources.indexOf(s);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return-1},ws.fromSourceMap=function(e,t){var s=Object.create(ws.prototype),r=s._names=gs.fromArray(e._names.toArray(),!0),o=s._sources=gs.fromArray(e._sources.toArray(),!0);s.sourceRoot=e._sourceRoot,s.sourcesContent=e._generateSourcesContent(s._sources.toArray(),s.sourceRoot),s.file=e._file,s._sourceMapURL=t,s._absoluteSources=s._sources.toArray().map((function(e){return fs.computeSourceURL(s.sourceRoot,e,t)}));for(var n=e._mappings.toArray().slice(),i=s.__generatedMappings=[],a=s.__originalMappings=[],l=0,u=n.length;l<u;l++){var c=n[l],p=new Ss;p.generatedLine=c.generatedLine,p.generatedColumn=c.generatedColumn,c.source&&(p.source=o.indexOf(c.source),p.originalLine=c.originalLine,p.originalColumn=c.originalColumn,c.name&&(p.name=r.indexOf(c.name)),a.push(p)),i.push(p)}return ys(s.__originalMappings,fs.compareByOriginalPositions),s},ws.prototype._version=3,Object.defineProperty(ws.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});const ks=fs.compareByGeneratedPositionsDeflatedNoLine;function xs(e,t){let s=e.length,r=e.length-t;if(!(r<=1))if(2==r){let s=e[t],r=e[t+1];ks(s,r)>0&&(e[t]=r,e[t+1]=s)}else if(r<20)for(let r=t;r<s;r++)for(let s=r;s>t;s--){let t=e[s-1],r=e[s];if(ks(t,r)<=0)break;e[s-1]=r,e[s]=t}else ys(e,ks,t)}function Cs(e,t){var s=e;"string"==typeof e&&(s=fs.parseSourceMapInput(e));var r=fs.getArg(s,"version"),o=fs.getArg(s,"sections");if(r!=this._version)throw new Error("Unsupported version: "+r);this._sources=new gs,this._names=new gs;var n={line:-1,column:0};this._sections=o.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var s=fs.getArg(e,"offset"),r=fs.getArg(s,"line"),o=fs.getArg(s,"column");if(r<n.line||r===n.line&&o<n.column)throw new Error("Section offsets must be ordered and non-overlapping.");return n=s,{generatedOffset:{generatedLine:r+1,generatedColumn:o+1},consumer:new bs(fs.getArg(e,"map"),t)}}))}ws.prototype._parseMappings=function(e,t){var s,r,o,n,i=1,a=0,l=0,u=0,c=0,p=0,d=e.length,h=0,f={},m=[],g=[];let v=0;for(;h<d;)if(";"===e.charAt(h))i++,h++,a=0,xs(g,v),v=g.length;else if(","===e.charAt(h))h++;else{for((s=new Ss).generatedLine=i,o=h;o<d&&!this._charIsMappingSeparator(e,o);o++);for(e.slice(h,o),r=[];h<o;)vs.decode(e,h,f),n=f.value,h=f.rest,r.push(n);if(2===r.length)throw new Error("Found a source, but no line and column");if(3===r.length)throw new Error("Found a source and line, but no column");if(s.generatedColumn=a+r[0],a=s.generatedColumn,r.length>1&&(s.source=c+r[1],c+=r[1],s.originalLine=l+r[2],l=s.originalLine,s.originalLine+=1,s.originalColumn=u+r[3],u=s.originalColumn,r.length>4&&(s.name=p+r[4],p+=r[4])),g.push(s),"number"==typeof s.originalLine){let e=s.source;for(;m.length<=e;)m.push(null);null===m[e]&&(m[e]=[]),m[e].push(s)}}xs(g,v),this.__generatedMappings=g;for(var y=0;y<m.length;y++)null!=m[y]&&ys(m[y],fs.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...m)},ws.prototype._findMapping=function(e,t,s,r,o,n){if(e[s]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[s]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return ms.search(e,t,o,n)},ws.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var s=this._generatedMappings[e+1];if(t.generatedLine===s.generatedLine){t.lastGeneratedColumn=s.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},ws.prototype.originalPositionFor=function(e){var t={generatedLine:fs.getArg(e,"line"),generatedColumn:fs.getArg(e,"column")},s=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",fs.compareByGeneratedPositionsDeflated,fs.getArg(e,"bias",bs.GREATEST_LOWER_BOUND));if(s>=0){var r=this._generatedMappings[s];if(r.generatedLine===t.generatedLine){var o=fs.getArg(r,"source",null);null!==o&&(o=this._sources.at(o),o=fs.computeSourceURL(this.sourceRoot,o,this._sourceMapURL));var n=fs.getArg(r,"name",null);return null!==n&&(n=this._names.at(n)),{source:o,line:fs.getArg(r,"originalLine",null),column:fs.getArg(r,"originalColumn",null),name:n}}}return{source:null,line:null,column:null,name:null}},ws.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e})))},ws.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var s=this._findSourceIndex(e);if(s>=0)return this.sourcesContent[s];var r,o=e;if(null!=this.sourceRoot&&(o=fs.relative(this.sourceRoot,o)),null!=this.sourceRoot&&(r=fs.urlParse(this.sourceRoot))){var n=o.replace(/^file:\/\//,"");if("file"==r.scheme&&this._sources.has(n))return this.sourcesContent[this._sources.indexOf(n)];if((!r.path||"/"==r.path)&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(t)return null;throw new Error('"'+o+'" is not in the SourceMap.')},ws.prototype.generatedPositionFor=function(e){var t=fs.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var s={source:t,originalLine:fs.getArg(e,"line"),originalColumn:fs.getArg(e,"column")},r=this._findMapping(s,this._originalMappings,"originalLine","originalColumn",fs.compareByOriginalPositions,fs.getArg(e,"bias",bs.GREATEST_LOWER_BOUND));if(r>=0){var o=this._originalMappings[r];if(o.source===s.source)return{line:fs.getArg(o,"generatedLine",null),column:fs.getArg(o,"generatedColumn",null),lastColumn:fs.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},us.BasicSourceMapConsumer=ws,Cs.prototype=Object.create(bs.prototype),Cs.prototype.constructor=bs,Cs.prototype._version=3,Object.defineProperty(Cs.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var s=0;s<this._sections[t].consumer.sources.length;s++)e.push(this._sections[t].consumer.sources[s]);return e}}),Cs.prototype.originalPositionFor=function(e){var t={generatedLine:fs.getArg(e,"line"),generatedColumn:fs.getArg(e,"column")},s=ms.search(t,this._sections,(function(e,t){var s=e.generatedLine-t.generatedOffset.generatedLine;return s||e.generatedColumn-t.generatedOffset.generatedColumn})),r=this._sections[s];return r?r.consumer.originalPositionFor({line:t.generatedLine-(r.generatedOffset.generatedLine-1),column:t.generatedColumn-(r.generatedOffset.generatedLine===t.generatedLine?r.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},Cs.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},Cs.prototype.sourceContentFor=function(e,t){for(var s=0;s<this._sections.length;s++){var r=this._sections[s].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},Cs.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var s=this._sections[t];if(-1!==s.consumer._findSourceIndex(fs.getArg(e,"source"))){var r=s.consumer.generatedPositionFor(e);if(r)return{line:r.line+(s.generatedOffset.generatedLine-1),column:r.column+(s.generatedOffset.generatedLine===r.line?s.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},Cs.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var s=0;s<this._sections.length;s++)for(var r=this._sections[s],o=r.consumer._generatedMappings,n=0;n<o.length;n++){var i=o[n],a=r.consumer._sources.at(i.source);a=fs.computeSourceURL(r.consumer.sourceRoot,a,this._sourceMapURL),this._sources.add(a),a=this._sources.indexOf(a);var l=null;i.name&&(l=r.consumer._names.at(i.name),this._names.add(l),l=this._names.indexOf(l));var u={source:a,generatedLine:i.generatedLine+(r.generatedOffset.generatedLine-1),generatedColumn:i.generatedColumn+(r.generatedOffset.generatedLine===i.generatedLine?r.generatedOffset.generatedColumn-1:0),originalLine:i.originalLine,originalColumn:i.originalColumn,name:l};this.__generatedMappings.push(u),"number"==typeof u.originalLine&&this.__originalMappings.push(u)}ys(this.__generatedMappings,fs.compareByGeneratedPositionsDeflated),ys(this.__originalMappings,fs.compareByOriginalPositions)},us.IndexedSourceMapConsumer=Cs;var Os={},_s=Gt.SourceMapGenerator,Ps=Yt,As=/(\r?\n)/,Ns="$$$isSourceNode$$$";function Ms(e,t,s,r,o){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==s?null:s,this.name=null==o?null:o,this[Ns]=!0,null!=r&&this.add(r)}Ms.fromStringWithSourceMap=function(e,t,s){var r=new Ms,o=e.split(As),n=0,i=function(){return e()+(e()||"");function e(){return n<o.length?o[n++]:void 0}},a=1,l=0,u=null;return t.eachMapping((function(e){if(null!==u){if(!(a<e.generatedLine)){var t=(s=o[n]||"").substr(0,e.generatedColumn-l);return o[n]=s.substr(e.generatedColumn-l),l=e.generatedColumn,c(u,t),void(u=e)}c(u,i()),a++,l=0}for(;a<e.generatedLine;)r.add(i()),a++;if(l<e.generatedColumn){var s=o[n]||"";r.add(s.substr(0,e.generatedColumn)),o[n]=s.substr(e.generatedColumn),l=e.generatedColumn}u=e}),this),n<o.length&&(u&&c(u,i()),r.add(o.splice(n).join(""))),t.sources.forEach((function(e){var o=t.sourceContentFor(e);null!=o&&(null!=s&&(e=Ps.join(s,e)),r.setSourceContent(e,o))})),r;function c(e,t){if(null===e||void 0===e.source)r.add(t);else{var o=s?Ps.join(s,e.source):e.source;r.add(new Ms(e.originalLine,e.originalColumn,o,t,e.name))}}},Ms.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[Ns]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},Ms.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[Ns]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},Ms.prototype.walk=function(e){for(var t,s=0,r=this.children.length;s<r;s++)(t=this.children[s])[Ns]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},Ms.prototype.join=function(e){var t,s,r=this.children.length;if(r>0){for(t=[],s=0;s<r-1;s++)t.push(this.children[s]),t.push(e);t.push(this.children[s]),this.children=t}return this},Ms.prototype.replaceRight=function(e,t){var s=this.children[this.children.length-1];return s[Ns]?s.replaceRight(e,t):"string"==typeof s?this.children[this.children.length-1]=s.replace(e,t):this.children.push("".replace(e,t)),this},Ms.prototype.setSourceContent=function(e,t){this.sourceContents[Ps.toSetString(e)]=t},Ms.prototype.walkSourceContents=function(e){for(var t=0,s=this.children.length;t<s;t++)this.children[t][Ns]&&this.children[t].walkSourceContents(e);var r=Object.keys(this.sourceContents);for(t=0,s=r.length;t<s;t++)e(Ps.fromSetString(r[t]),this.sourceContents[r[t]])},Ms.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},Ms.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},s=new _s(e),r=!1,o=null,n=null,i=null,a=null;return this.walk((function(e,l){t.code+=e,null!==l.source&&null!==l.line&&null!==l.column?(o===l.source&&n===l.line&&i===l.column&&a===l.name||s.addMapping({source:l.source,original:{line:l.line,column:l.column},generated:{line:t.line,column:t.column},name:l.name}),o=l.source,n=l.line,i=l.column,a=l.name,r=!0):r&&(s.addMapping({generated:{line:t.line,column:t.column}}),o=null,r=!1);for(var u=0,c=e.length;u<c;u++)10===e.charCodeAt(u)?(t.line++,t.column=0,u+1===c?(o=null,r=!1):r&&s.addMapping({source:l.source,original:{line:l.line,column:l.column},generated:{line:t.line,column:t.column},name:l.name})):t.column++})),this.walkSourceContents((function(e,t){s.setSourceContent(e,t)})),{code:t.code,map:s}},Os.SourceNode=Ms,qt.SourceMapGenerator=Gt.SourceMapGenerator,qt.SourceMapConsumer=us.SourceMapConsumer,qt.SourceNode=Os.SourceNode;var Ls={nanoid:(e=21)=>{let t="",s=e;for(;s--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(s=t)=>{let r="",o=s;for(;o--;)r+=e[Math.random()*e.length|0];return r}};let{SourceMapConsumer:Es,SourceMapGenerator:Rs}=qt,{existsSync:$s,readFileSync:js}=K.default,{dirname:Fs,join:Is}=Y.default;class Us{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let s=t.map?t.map.prev:void 0,r=this.loadMap(t.from,s);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=Fs(this.mapFile)),r&&(this.text=r)}consumer(){return this.consumerCache||(this.consumerCache=new Es(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,t){return!!e&&e.substr(0,t.length)===t}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let s=e.lastIndexOf(t.pop()),r=e.indexOf("*/",s);s>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(s,r)))}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var t;let s=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+s)}loadFile(e){if(this.root=Fs(e),$s(e))return this.mapFile=e,js(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof Es)return Rs.fromSourceMap(t).toString();if(t instanceof Rs)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let s=t(e);if(s){let e=this.loadFile(s);if(!e)throw new Error("Unable to load previous source map: "+s.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=Is(Fs(e),t)),this.loadFile(t)}}}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}}var Bs=Us;Us.default=Us;let{SourceMapConsumer:Ds,SourceMapGenerator:zs}=qt,{fileURLToPath:Ts,pathToFileURL:qs}=Z.default,{resolve:Gs,isAbsolute:Ws}=Y.default,{nanoid:Vs}=Ls,Js=wt,Hs=Ct,Ys=Bs,Zs=Symbol("fromOffsetCache"),Ks=Boolean(Ds&&zs),Qs=Boolean(Gs&&Ws);class Xs{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!Qs||/^\w+:\/\//.test(t.from)||Ws(t.from)?this.file=t.from:this.file=Gs(t.from)),Qs&&Ks){let e=new Ys(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+Vs(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let t,s;if(this[Zs])s=this[Zs];else{let e=this.css.split("\n");s=new Array(e.length);let t=0;for(let r=0,o=e.length;r<o;r++)s[r]=t,t+=e[r].length+1;this[Zs]=s}t=s[s.length-1];let r=0;if(e>=t)r=s.length-1;else{let t,o=s.length-2;for(;r<o;)if(t=r+(o-r>>1),e<s[t])o=t-1;else{if(!(e>=s[t+1])){r=t;break}r=t+1}}return{line:r+1,col:e-s[r]+1}}error(e,t,s,r={}){let o,n,i;if(t&&"object"==typeof t){let e=t,r=s;if("number"==typeof t.offset){let r=this.fromOffset(e.offset);t=r.line,s=r.col}else t=e.line,s=e.column;if("number"==typeof r.offset){let e=this.fromOffset(r.offset);n=e.line,i=e.col}else n=r.line,i=r.column}else if(!s){let e=this.fromOffset(t);t=e.line,s=e.col}let a=this.origin(t,s,n,i);return o=a?new Hs(e,void 0===a.endLine?a.line:{line:a.line,column:a.column},void 0===a.endLine?a.column:{line:a.endLine,column:a.endColumn},a.source,a.file,r.plugin):new Hs(e,void 0===n?t:{line:t,column:s},void 0===n?s:{line:n,column:i},this.css,this.file,r.plugin),o.input={line:t,column:s,endLine:n,endColumn:i,source:this.css},this.file&&(qs&&(o.input.url=qs(this.file).toString()),o.input.file=this.file),o}origin(e,t,s,r){if(!this.map)return!1;let o,n,i=this.map.consumer(),a=i.originalPositionFor({line:e,column:t});if(!a.source)return!1;"number"==typeof s&&(o=i.originalPositionFor({line:s,column:r})),n=Ws(a.source)?qs(a.source):new URL(a.source,this.map.consumer().sourceRoot||qs(this.map.mapFile));let l={url:n.toString(),line:a.line,column:a.column,endLine:o&&o.line,endColumn:o&&o.column};if("file:"===n.protocol){if(!Ts)throw new Error("file: protocol is not available in this PostCSS build");l.file=Ts(n)}let u=i.sourceContentFor(a.source);return u&&(l.source=u),l}mapResolve(e){return/^\w+:\/\//.test(e)?e:Gs(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}var er=Xs;Xs.default=Xs,Js&&Js.registerInput&&Js.registerInput(Xs);let{SourceMapConsumer:tr,SourceMapGenerator:sr}=qt,{dirname:rr,resolve:or,relative:nr,sep:ir}=Y.default,{pathToFileURL:ar}=Z.default,lr=er,ur=Boolean(tr&&sr),cr=Boolean(rr&&or&&nr&&ir);var pr=class{constructor(e,t,s,r){this.stringify=e,this.mapOpts=s.map||{},this.root=t,this.opts=s,this.css=r}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}}));else{let e=new lr(this.css,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((e=>e.inline)))}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let s=t.source.input.from;s&&!e[s]&&(e[s]=!0,this.map.setSourceContent(this.toUrl(this.path(s)),t.source.input.css))}}));else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}applyPrevMaps(){for(let e of this.previous()){let t,s=this.toUrl(this.path(e.file)),r=e.root||rr(e.file);!1===this.mapOpts.sourcesContent?(t=new tr(e.text),t.sourcesContent&&(t.sourcesContent=t.sourcesContent.map((()=>null)))):t=e.consumer(),this.map.applySourceMap(t,s,this.toUrl(this.path(r)))}}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=sr.fromSourceMap(e)}else this.map=new sr({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>",generated:{line:1,column:0},original:{line:1,column:0}});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(e){if(0===e.indexOf("<"))return e;if(/^\w+:\/\//.test(e))return e;if(this.mapOpts.absolute)return e;let t=this.opts.to?rr(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=rr(or(t,this.mapOpts.annotation))),e=nr(t,e)}toUrl(e){return"\\"===ir&&(e=e.replace(/\\/g,"/")),encodeURI(e).replace(/[#?]/g,encodeURIComponent)}sourcePath(e){if(this.mapOpts.from)return this.toUrl(this.mapOpts.from);if(this.mapOpts.absolute){if(ar)return ar(e.source.input.from).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}return this.toUrl(this.path(e.source.input.from))}generateString(){this.css="",this.map=new sr({file:this.outputFile()});let e,t,s=1,r=1,o="<no source>",n={source:"",generated:{line:0,column:0},original:{line:0,column:0}};this.stringify(this.root,((i,a,l)=>{if(this.css+=i,a&&"end"!==l&&(n.generated.line=s,n.generated.column=r-1,a.source&&a.source.start?(n.source=this.sourcePath(a),n.original.line=a.source.start.line,n.original.column=a.source.start.column-1,this.map.addMapping(n)):(n.source=o,n.original.line=1,n.original.column=0,this.map.addMapping(n))),e=i.match(/\n/g),e?(s+=e.length,t=i.lastIndexOf("\n"),r=i.length-t):r+=i.length,a&&"start"!==l){let e=a.parent||{raws:{}};("decl"!==a.type||a!==e.last||e.raws.semicolon)&&(a.source&&a.source.end?(n.source=this.sourcePath(a),n.original.line=a.source.end.line,n.original.column=a.source.end.column-1,n.generated.line=s,n.generated.column=r-2,this.map.addMapping(n)):(n.source=o,n.original.line=1,n.original.column=0,n.generated.line=s,n.generated.column=r-1,this.map.addMapping(n)))}}))}generate(){if(this.clearAnnotation(),cr&&ur&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}};let dr=Bt;class hr extends dr{constructor(e){super(e),this.type="comment"}}var fr=hr;hr.default=hr;let mr,gr,vr,{isClean:yr,my:br}=Ot,wr=Tt,Sr=fr,kr=Bt;function xr(e){return e.map((e=>(e.nodes&&(e.nodes=xr(e.nodes)),delete e.source,e)))}function Cr(e){if(e[yr]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)Cr(t)}class Or extends kr{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let t,s,r=this.getIterator();for(;this.indexes[r]<this.proxyOf.nodes.length&&(t=this.indexes[r],s=e(this.proxyOf.nodes[t],t),!1!==s);)this.indexes[r]+=1;return delete this.indexes[r],s}walk(e){return this.each(((t,s)=>{let r;try{r=e(t,s)}catch(e){throw t.addToError(e)}return!1!==r&&t.walk&&(r=t.walk(e)),r}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((s,r)=>{if("decl"===s.type&&e.test(s.prop))return t(s,r)})):this.walk(((s,r)=>{if("decl"===s.type&&s.prop===e)return t(s,r)})):(t=e,this.walk(((e,s)=>{if("decl"===e.type)return t(e,s)})))}walkRules(e,t){return t?e instanceof RegExp?this.walk(((s,r)=>{if("rule"===s.type&&e.test(s.selector))return t(s,r)})):this.walk(((s,r)=>{if("rule"===s.type&&s.selector===e)return t(s,r)})):(t=e,this.walk(((e,s)=>{if("rule"===e.type)return t(e,s)})))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((s,r)=>{if("atrule"===s.type&&e.test(s.name))return t(s,r)})):this.walk(((s,r)=>{if("atrule"===s.type&&s.name===e)return t(s,r)})):(t=e,this.walk(((e,s)=>{if("atrule"===e.type)return t(e,s)})))}walkComments(e){return this.walk(((t,s)=>{if("comment"===t.type)return e(t,s)}))}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}insertBefore(e,t){let s,r=0===(e=this.index(e))&&"prepend",o=this.normalize(t,this.proxyOf.nodes[e],r).reverse();for(let t of o)this.proxyOf.nodes.splice(e,0,t);for(let t in this.indexes)s=this.indexes[t],e<=s&&(this.indexes[t]=s+o.length);return this.markDirty(),this}insertAfter(e,t){e=this.index(e);let s,r=this.normalize(t,this.proxyOf.nodes[e]).reverse();for(let t of r)this.proxyOf.nodes.splice(e+1,0,t);for(let t in this.indexes)s=this.indexes[t],e<s&&(this.indexes[t]=s+r.length);return this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let s in this.indexes)t=this.indexes[s],t>=e&&(this.indexes[s]=t-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,t,s){return s||(s=t,t={}),this.walkDecls((r=>{t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,s))})),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,t){if("string"==typeof e)e=xr(mr(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if("root"===e.type&&"document"!==this.type){e=e.nodes.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new wr(e)]}else if(e.selector)e=[new gr(e)];else if(e.name)e=[new vr(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new Sr(e)]}let s=e.map((e=>(e[br]||Or.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[yr]&&Cr(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e)));return s}getProxyProcessor(){return{set:(e,t,s)=>(e[t]===s||(e[t]=s,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...s)=>e[t](...s.map((e=>"function"==typeof e?(t,s)=>e(t.toProxy(),s):e))):"every"===t||"some"===t?s=>e[t](((e,...t)=>s(e.toProxy(),...t))):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map((e=>e.toProxy())):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}}Or.registerParse=e=>{mr=e},Or.registerRule=e=>{gr=e},Or.registerAtRule=e=>{vr=e};var _r=Or;Or.default=Or,Or.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,vr.prototype):"rule"===e.type?Object.setPrototypeOf(e,gr.prototype):"decl"===e.type?Object.setPrototypeOf(e,wr.prototype):"comment"===e.type&&Object.setPrototypeOf(e,Sr.prototype),e[br]=!0,e.nodes&&e.nodes.forEach((e=>{Or.rebuild(e)}))};let Pr,Ar,Nr=_r;class Mr extends Nr{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new Pr(new Ar,this,e).stringify()}}Mr.registerLazyResult=e=>{Pr=e},Mr.registerProcessor=e=>{Ar=e};var Lr=Mr;Mr.default=Mr;let Er={};var Rr=function(e){Er[e]||(Er[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))};class $r{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}var jr=$r;$r.default=$r;let Fr=jr;class Ir{constructor(e,t,s){this.processor=e,this.messages=[],this.root=t,this.opts=s,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let s=new Fr(e,t);return this.messages.push(s),s}warnings(){return this.messages.filter((e=>"warning"===e.type))}get content(){return this.css}}var Ur=Ir;Ir.default=Ir;let Br=_r;class Dr extends Br{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}var zr=Dr;Dr.default=Dr,Br.registerAtRule(Dr);let Tr,qr,Gr=_r;class Wr extends Gr{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}removeChild(e,t){let s=this.index(e);return!t&&0===s&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[s].raws.before),super.removeChild(e)}normalize(e,t,s){let r=super.normalize(e);if(t)if("prepend"===s)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of r)e.raws.before=t.raws.before;return r}toResult(e={}){return new Tr(new qr,this,e).stringify()}}Wr.registerLazyResult=e=>{Tr=e},Wr.registerProcessor=e=>{qr=e};var Vr=Wr;Wr.default=Wr;let Jr={split(e,t,s){let r=[],o="",n=!1,i=0,a=!1,l=!1;for(let s of e)l?l=!1:"\\"===s?l=!0:a?s===a&&(a=!1):'"'===s||"'"===s?a=s:"("===s?i+=1:")"===s?i>0&&(i-=1):0===i&&t.includes(s)&&(n=!0),n?(""!==o&&r.push(o.trim()),o="",n=!1):o+=s;return(s||""!==o)&&r.push(o.trim()),r},space:e=>Jr.split(e,[" ","\n","\t"]),comma:e=>Jr.split(e,[","],!0)};var Hr=Jr;Jr.default=Jr;let Yr=_r,Zr=Hr;class Kr extends Yr{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return Zr.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,s=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(s)}}var Qr=Kr;Kr.default=Kr,Yr.registerRule(Kr);let Xr=Tt,eo=ht,to=fr,so=zr,ro=Vr,oo=Qr;const no={empty:!0,space:!0};var io=class{constructor(e){this.input=e,this.root=new ro,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=eo(this.input)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}comment(e){let t=new to;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]);let s=e[1].slice(2,-2);if(/^\s*$/.test(s))t.text="",t.raws.left=s,t.raws.right="";else{let e=s.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}emptyRule(e){let t=new oo;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}other(e){let t=!1,s=null,r=!1,o=null,n=[],i=e[1].startsWith("--"),a=[],l=e;for(;l;){if(s=l[0],a.push(l),"("===s||"["===s)o||(o=l),n.push("("===s?")":"]");else if(i&&r&&"{"===s)o||(o=l),n.push("}");else if(0===n.length){if(";"===s){if(r)return void this.decl(a,i);break}if("{"===s)return void this.rule(a);if("}"===s){this.tokenizer.back(a.pop()),t=!0;break}":"===s&&(r=!0)}else s===n[n.length-1]&&(n.pop(),0===n.length&&(o=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),n.length>0&&this.unclosedBracket(o),t&&r){if(!i)for(;a.length&&(l=a[a.length-1][0],"space"===l||"comment"===l);)this.tokenizer.back(a.pop());this.decl(a,i)}else this.unknownWord(a)}rule(e){e.pop();let t=new oo;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}decl(e,t){let s=new Xr;this.init(s,e[0][2]);let r,o=e[e.length-1];for(";"===o[0]&&(this.semicolon=!0,e.pop()),s.source.end=this.getPosition(o[3]||o[2]||function(e){for(let t=e.length-1;t>=0;t--){let s=e[t],r=s[3]||s[2];if(r)return r}}(e));"word"!==e[0][0];)1===e.length&&this.unknownWord(e),s.raws.before+=e.shift()[1];for(s.source.start=this.getPosition(e[0][2]),s.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;s.prop+=e.shift()[1]}for(s.raws.between="";e.length;){if(r=e.shift(),":"===r[0]){s.raws.between+=r[1];break}"word"===r[0]&&/\w/.test(r[1])&&this.unknownWord([r]),s.raws.between+=r[1]}"_"!==s.prop[0]&&"*"!==s.prop[0]||(s.raws.before+=s.prop[0],s.prop=s.prop.slice(1));let n,i=[];for(;e.length&&(n=e[0][0],"space"===n||"comment"===n);)i.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(r=e[t],"!important"===r[1].toLowerCase()){s.important=!0;let r=this.stringFrom(e,t);r=this.spacesFromEnd(e)+r," !important"!==r&&(s.raws.important=r);break}if("important"===r[1].toLowerCase()){let r=e.slice(0),o="";for(let e=t;e>0;e--){let t=r[e][0];if(0===o.trim().indexOf("!")&&"space"!==t)break;o=r.pop()[1]+o}0===o.trim().indexOf("!")&&(s.important=!0,s.raws.important=o,e=r)}if("space"!==r[0]&&"comment"!==r[0])break}let a=e.some((e=>"space"!==e[0]&&"comment"!==e[0]));a&&(s.raws.between+=i.map((e=>e[1])).join(""),i=[]),this.raw(s,"value",i.concat(e),t),s.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}atrule(e){let t,s,r,o=new so;o.name=e[1].slice(1),""===o.name&&this.unnamedAtrule(o,e),this.init(o,e[2]);let n=!1,i=!1,a=[],l=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?l.push("("===t?")":"]"):"{"===t&&l.length>0?l.push("}"):t===l[l.length-1]&&l.pop(),0===l.length){if(";"===t){o.source.end=this.getPosition(e[2]),this.semicolon=!0;break}if("{"===t){i=!0;break}if("}"===t){if(a.length>0){for(r=a.length-1,s=a[r];s&&"space"===s[0];)s=a[--r];s&&(o.source.end=this.getPosition(s[3]||s[2]))}this.end(e);break}a.push(e)}else a.push(e);if(this.tokenizer.endOfFile()){n=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(o.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(o,"params",a),n&&(e=a[a.length-1],o.source.end=this.getPosition(e[3]||e[2]),this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),i&&(o.nodes=[],this.current=o)}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}init(e,t){this.current.push(e),e.source={start:this.getPosition(t),input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}raw(e,t,s,r){let o,n,i,a,l=s.length,u="",c=!0;for(let e=0;e<l;e+=1)o=s[e],n=o[0],"space"!==n||e!==l-1||r?"comment"===n?(a=s[e-1]?s[e-1][0]:"empty",i=s[e+1]?s[e+1][0]:"empty",no[a]||no[i]||","===u.slice(-1)?c=!1:u+=o[1]):u+=o[1]:c=!1;if(!c){let r=s.reduce(((e,t)=>e+t[1]),"");e.raws[t]={value:u,raw:r}}e[t]=u}spacesAndCommentsFromEnd(e){let t,s="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)s=e.pop()[1]+s;return s}spacesAndCommentsFromStart(e){let t,s="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)s+=e.shift()[1];return s}spacesFromEnd(e){let t,s="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)s=e.pop()[1]+s;return s}stringFrom(e,t){let s="";for(let r=t;r<e.length;r++)s+=e[r][1];return e.splice(t,e.length-t),s}colon(e){let t,s,r,o=0;for(let[n,i]of e.entries()){if(t=i,s=t[0],"("===s&&(o+=1),")"===s&&(o-=1),0===o&&":"===s){if(r){if("word"===r[0]&&"progid"===r[1])continue;return n}this.doubleColon(t)}r=t}return!1}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let s,r=0;for(let o=t-1;o>=0&&(s=e[o],"space"===s[0]||(r+=1,2!==r));o--);throw this.input.error("Missed semicolon","word"===s[0]?s[3]+1:s[2])}};let ao=_r,lo=io,uo=er;function co(e,t){let s=new uo(e,t),r=new lo(s);try{r.parse()}catch(e){throw"production"!==process.env.NODE_ENV&&"CssSyntaxError"===e.name&&t&&t.from&&(/\.scss$/i.test(t.from)?e.message+="\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser":/\.sass/i.test(t.from)?e.message+="\nYou tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser":/\.less$/i.test(t.from)&&(e.message+="\nYou tried to parse Less with the standard CSS parser; try again with the postcss-less parser")),e}return r.root}var po=co;co.default=co,ao.registerParse(co);let{isClean:ho,my:fo}=Ot,mo=pr,go=Lt,vo=_r,yo=Lr,bo=Rr,wo=Ur,So=po,ko=Vr;const xo={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},Co={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},Oo={postcssPlugin:!0,prepare:!0,Once:!0};function _o(e){return"object"==typeof e&&"function"==typeof e.then}function Po(e){let t=!1,s=xo[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[s,s+"-"+t,0,s+"Exit",s+"Exit-"+t]:t?[s,s+"-"+t,s+"Exit",s+"Exit-"+t]:e.append?[s,0,s+"Exit"]:[s,s+"Exit"]}function Ao(e){let t;return t="document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:Po(e),{node:e,events:t,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function No(e){return e[ho]=!1,e.nodes&&e.nodes.forEach((e=>No(e))),e}let Mo={};class Lo{constructor(e,t,s){let r;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof Lo||t instanceof wo)r=No(t.root),t.map&&(void 0===s.map&&(s.map={}),s.map.inline||(s.map.inline=!1),s.map.prev=t.map);else{let e=So;s.syntax&&(e=s.syntax.parse),s.parser&&(e=s.parser),e.parse&&(e=e.parse);try{r=e(t,s)}catch(e){this.processed=!0,this.error=e}r&&!r[fo]&&vo.rebuild(r)}else r=No(t);this.result=new wo(e,r,s),this.helpers={...Mo,result:this.result,postcss:Mo},this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e))}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,t){return"production"!==process.env.NODE_ENV&&("from"in this.opts||bo("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){if(_o(this.runOnRoot(e)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[ho];)e[ho]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=go;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let s=new mo(t,this.result.root,this.result.opts).generate();return this.result.css=s[0],this.result.map=s[1],this.result}walkSync(e){e[ho]=!0;let t=Po(e);for(let s of t)if(0===s)e.nodes&&e.each((e=>{e[ho]||this.walkSync(e)}));else{let t=this.listeners[s];if(t&&this.visitSync(t,e.toProxy()))return}}visitSync(e,t){for(let[s,r]of e){let e;this.result.lastPlugin=s;try{e=r(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(_o(e))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));return _o(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let s=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(s.postcssVersion&&"production"!==process.env.NODE_ENV){let e=s.postcssPlugin,t=s.postcssVersion,r=this.result.processor.version,o=t.split("."),n=r.split(".");(o[0]!==n[0]||parseInt(o[1])>parseInt(n[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+r+", but "+e+" uses "+t+". Perhaps this is the source of the error below.")}}else e.plugin=s.postcssPlugin,e.setMessage()}catch(e){console&&console.error&&console.error(e)}return e}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],s=this.runOnRoot(t);if(_o(s))try{await s}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[ho];){e[ho]=!0;let t=[Ao(e)];for(;t.length>0;){let e=this.visitTick(t);if(_o(e))try{await e}catch(e){let s=t[t.length-1].node;throw this.handleError(e,s)}}}if(this.listeners.OnceExit)for(let[t,s]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map((e=>s(e,this.helpers)));await Promise.all(t)}else await s(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(e,t,s)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,s])};for(let t of this.plugins)if("object"==typeof t)for(let s in t){if(!Co[s]&&/^[A-Z]/.test(s))throw new Error(`Unknown event ${s} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!Oo[s])if("object"==typeof t[s])for(let r in t[s])e(t,"*"===r?s:s+"-"+r.toLowerCase(),t[s][r]);else"function"==typeof t[s]&&e(t,s,t[s])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let t=e[e.length-1],{node:s,visitors:r}=t;if("root"!==s.type&&"document"!==s.type&&!s.parent)return void e.pop();if(r.length>0&&t.visitorIndex<r.length){let[e,o]=r[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===r.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return o(s.toProxy(),this.helpers)}catch(e){throw this.handleError(e,s)}}if(0!==t.iterator){let r,o=t.iterator;for(;r=s.nodes[s.indexes[o]];)if(s.indexes[o]+=1,!r[ho])return r[ho]=!0,void e.push(Ao(r));t.iterator=0,delete s.indexes[o]}let o=t.events;for(;t.eventIndex<o.length;){let e=o[t.eventIndex];if(t.eventIndex+=1,0===e)return void(s.nodes&&s.nodes.length&&(s[ho]=!0,t.iterator=s.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}}Lo.registerPostcss=e=>{Mo=e};var Eo=Lo;Lo.default=Lo,ko.registerLazyResult(Lo),yo.registerLazyResult(Lo);let Ro=pr,$o=Lt,jo=Rr,Fo=po;const Io=Ur;class Uo{constructor(e,t,s){let r;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=s,this._map=void 0;let o=$o;this.result=new Io(this._processor,r,this._opts),this.result.css=t;let n=this;Object.defineProperty(this.result,"root",{get:()=>n.root});let i=new Ro(o,r,this._opts,t);if(i.isMap()){let[e,t]=i.generate();e&&(this.result.css=e),t&&(this.result.map=t)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let e,t=Fo;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,t){return"production"!==process.env.NODE_ENV&&("from"in this._opts||jo("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}}var Bo=Uo;Uo.default=Uo;let Do=Bo,zo=Eo,To=Lr,qo=Vr;class Go{constructor(e=[]){this.version="8.4.13",this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,t={}){return 0===this.plugins.length&&void 0===t.parser&&void 0===t.stringifier&&void 0===t.syntax?new Do(this,e,t):new zo(this,e,t)}normalize(e){let t=[];for(let s of e)if(!0===s.postcss?s=s():s.postcss&&(s=s.postcss),"object"==typeof s&&Array.isArray(s.plugins))t=t.concat(s.plugins);else if("object"==typeof s&&s.postcssPlugin)t.push(s);else if("function"==typeof s)t.push(s);else{if("object"!=typeof s||!s.parse&&!s.stringify)throw new Error(s+" is not a PostCSS plugin");if("production"!==process.env.NODE_ENV)throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}return t}}var Wo=Go;Go.default=Go,qo.registerProcessor(Go),To.registerProcessor(Go);let Vo=Tt,Jo=Bs,Ho=fr,Yo=zr,Zo=er,Ko=Vr,Qo=Qr;function Xo(e,t){if(Array.isArray(e))return e.map((e=>Xo(e)));let{inputs:s,...r}=e;if(s){t=[];for(let e of s){let s={...e,__proto__:Zo.prototype};s.map&&(s.map={...s.map,__proto__:Jo.prototype}),t.push(s)}}if(r.nodes&&(r.nodes=e.nodes.map((e=>Xo(e,t)))),r.source){let{inputId:e,...s}=r.source;r.source=s,null!=e&&(r.source.input=t[e])}if("root"===r.type)return new Ko(r);if("decl"===r.type)return new Vo(r);if("rule"===r.type)return new Qo(r);if("comment"===r.type)return new Ho(r);if("atrule"===r.type)return new Yo(r);throw new Error("Unknown node type: "+e.type)}var en=Xo;Xo.default=Xo;let tn=Ct,sn=Tt,rn=Eo,on=_r,nn=Wo,an=Lt,ln=en,un=Lr,cn=jr,pn=fr,dn=zr,hn=Ur,fn=er,mn=po,gn=Hr,vn=Qr,yn=Vr,bn=Bt;function wn(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new nn(e)}wn.plugin=function(e,t){function s(...s){let r=t(...s);return r.postcssPlugin=e,r.postcssVersion=(new nn).version,r}let r;return console&&console.warn&&(console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226")),Object.defineProperty(s,"postcss",{get:()=>(r||(r=s()),r)}),s.process=function(e,t,r){return wn([s(r)]).process(e,t)},s},wn.stringify=an,wn.parse=mn,wn.fromJSON=ln,wn.list=gn,wn.comment=e=>new pn(e),wn.atRule=e=>new dn(e),wn.decl=e=>new sn(e),wn.rule=e=>new vn(e),wn.root=e=>new yn(e),wn.document=e=>new un(e),wn.CssSyntaxError=tn,wn.Declaration=sn,wn.Container=on,wn.Processor=nn,wn.Document=un,wn.Comment=pn,wn.Warning=cn,wn.AtRule=dn,wn.Result=hn,wn.Input=fn,wn.Rule=vn,wn.Root=yn,wn.Node=bn,rn.registerPostcss(wn);var Sn=wn;async function kn(){return new Promise((e=>{let t="",s=!1;if(setTimeout((()=>{s=!0,e("")}),1e4),process.stdin.isTTY){if(s)return;e(t)}else process.stdin.setEncoding("utf8"),process.stdin.on("readable",(()=>{let e;for(;e=process.stdin.read();)t+=e})),process.stdin.on("end",(()=>{s||e(t)}))}))}function xn(e,t,s,r=null){let o=[];if(r){const e=Math.max(...Object.keys(r).map((e=>e.length))),t=new Array(e).fill(" ").join("");t.length&&(o=["\nPlugin Options:",...Object.keys(r).map((e=>` ${(e+t).slice(0,t.length)} ${typeof r[e]}`))],o.push(`\n ${JSON.stringify(r,null,2).split("\n").join("\n ")}`))}const n=[`${t}\n`,` ${s}\n`,"Usage:",` ${e} [input.css] [OPTIONS] [-o|--output output.css]`,` ${e} <input.css>... [OPTIONS] --dir <output-directory>`,` ${e} <input.css>... [OPTIONS] --replace`,"\nOptions:"," -o, --output Output file"," -d, --dir Output directory"," -r, --replace Replace (overwrite) the input file"," -m, --map Create an external sourcemap"," --no-map Disable the default inline sourcemaps"," -p, --plugin-options Stringified JSON object with plugin options"];return o.length>0&&n.push(...o),()=>{console.warn(n.join("\n"))}}async function Cn(e,t,s,r=!0){const n=function(e,t,s){const r=e.map((e=>e.trim())).filter((e=>!!e)),o={stdin:!1,stdout:!1,output:null,outputDir:null,inputs:[],inlineMap:!0,externalMap:!1,replace:!1,pluginOptions:{},debug:!1};let n=null,i=!1;for(let e=0;e<r.length;e++){const t=r[e];switch(t){case"-o":case"--output":o.output=r[e+1],e++,i=!0;break;case"-m":case"--map":o.externalMap=!0,o.inlineMap=!1,i=!0;break;case"--no-map":o.externalMap=!1,o.inlineMap=!1,i=!0;break;case"-r":case"--replace":o.replace=!0,i=!0;break;case"--debug":o.debug=!0,i=!0;break;case"-d":case"--dir":o.outputDir=r[e+1],e++,i=!0;break;case"-p":case"--plugin-options":n=r[e+1],e++,i=!0;break;default:if(0===t.indexOf("-"))return console.warn(`[error] unknown argument : ${t}\n`),s(),V.InvalidArguments;if(!i){o.inputs.push(t);break}return s(),V.InvalidArguments}}if(o.replace&&(o.output=null,o.outputDir=null),o.outputDir&&(o.output=null),o.inputs.length>1&&o.output)return console.warn('[error] omit "--output" when processing multiple inputs\n'),s(),V.InvalidArguments;0===o.inputs.length&&(o.stdin=!0),o.output||o.outputDir||o.replace||(o.stdout=!0),o.stdout&&(o.externalMap=!1);let a={};if(n)try{a=JSON.parse(n)}catch(e){return console.warn("[error] plugin options must be valid JSON\n"),s(),V.InvalidArguments}for(const e in a){const r=a[e];if(!t.includes(e))return console.warn(`[error] unknown plugin option: ${e}\n`),s(),V.InvalidArguments;o.pluginOptions[e]=r}return o}(process.argv.slice(r?2:3),t,s);n===V.InvalidArguments&&process.exit(1);const i=e(n.pluginOptions);n.stdin&&n.stdout?await async function(e,t,s){let r="";try{const o=await kn();o||(s(),process.exit(1));const n=await Sn([e]).process(o,{from:"stdin",to:"stdout",map:!!t.inlineMap&&{inline:!0}});n.warnings().forEach((e=>{console.warn(e.toString())})),r=n.css}catch(e){console.error(t.debug?e:e.message),process.exit(1)}process.stdout.write(r+(t.inlineMap?"\n":"")),process.exit(0)}(i,n,s):n.stdin?await async function(e,t,s){let r=t.output;!r&&t.outputDir&&(r=Y.default.join(t.outputDir,"output.css"));try{const n=await kn();n||(s(),process.exit(1));const i=await Sn([e]).process(n,{from:"stdin",to:r,map:!(!t.inlineMap&&!t.externalMap)&&{inline:t.inlineMap}});i.warnings().forEach((e=>{console.warn(e.toString())})),t.externalMap&&i.map?await Promise.all([await o.promises.writeFile(r,i.css+(t.inlineMap?"\n":"")),await o.promises.writeFile(`${r}.map`,i.map.toString())]):await o.promises.writeFile(r,i.css+(t.inlineMap?"\n":""))}catch(e){console.error(t.debug?e:e.message),process.exit(1)}console.log(`CSS was written to "${Y.default.normalize(r)}"`),process.exit(0)}(i,n,s):n.stdout?await async function(e,t){let s=[];try{s=await Promise.all(t.inputs.map((async t=>{const s=await o.promises.readFile(t),r=await Sn([e]).process(s,{from:t,to:"stdout",map:!1});return r.warnings().forEach((e=>{console.warn(e.toString())})),r.css})))}catch(e){console.error(t.debug?e:e.message),process.exit(1)}for(const e of s)process.stdout.write(e);process.exit(0)}(i,n):await async function(e,t){try{await Promise.all(t.inputs.map((async s=>{let r=t.output;t.outputDir&&(r=Y.default.join(t.outputDir,Y.default.basename(s))),t.replace&&(r=s);const n=await o.promises.readFile(s),i=await Sn([e]).process(n,{from:s,to:r,map:!(!t.inlineMap&&!t.externalMap)&&{inline:t.inlineMap}});i.warnings().forEach((e=>{console.warn(e.toString())})),t.externalMap&&i.map?await Promise.all([await o.promises.writeFile(r,i.css+(t.inlineMap?"\n":"")),await o.promises.writeFile(`${r}.map`,i.map.toString())]):await o.promises.writeFile(r,i.css+(t.inlineMap?"\n":"")),console.log(`CSS was written to "${Y.default.normalize(r)}"`)})))}catch(e){console.error(t.debug?e:e.message),process.exit(1)}process.exit(0)}(i,n)}wn.default=wn;var On={exports:{}},_n={exports:{}};let Pn=Le.default;function An(e){let t=e.match(/([\d.-]+)(.*)/);if(t&&t[1]&&t[2]&&!isNaN(t[1]))return[parseFloat(t[1]),t[2]]}function Nn(e,t,s){return e&&t&&s?`max(${e}, min(${t}, ${s}))`:e&&t?`max(${e}, ${t})`:e}function Mn(e,t,s){let r=t,o=Pn(t),n=Pn(e.value),i=!1;n.walk(((e,t,s)=>{"function"===e.type&&"clamp"===e.value&&!i&&(i=!0,s[t]=o)})),i&&(r=n.toString()),s?e.cloneBefore({value:r}):e.value=r}_n.exports=e=>{let t=!!(e=e||{}).precalculate&&Boolean(e.precalculate),s=!!e.preserve&&Boolean(e.preserve);return{postcssPlugin:"postcss-clamp",Declaration(e){e&&e.value.includes("clamp")&&Pn(e.value).walk((r=>{let o=r.nodes;if("function"!==r.type||"clamp"!==r.value||5!==o.length)return;let n=o[0],i=o[2],a=o[4],l=Nn(Pn.stringify(n),Pn.stringify(i),Pn.stringify(a));if(!t||"word"!==i.type||"word"!==a.type)return void Mn(e,l,s);let u=An(i.value),c=An(a.value);if(void 0===u||void 0===c)return void Mn(e,l,s);let[p,d]=u,[h,f]=c;if(d!==f)return void Mn(e,l,s);let m=An(n.value);if(void 0===m){let t=`${p+h}${d}`;return void Mn(e,Nn(Pn.stringify(n),t),s)}let[g,v]=m;if(v===d)Mn(e,Nn(`${g+p+h}${d}`),s);else{let t=`${p+h}${d}`;Mn(e,Nn(Pn.stringify(n),t),s)}}))}}},_n.exports.postcss=!0;var Ln={exports:{}};const En=new Set(["inherit","initial","revert","unset"]);Ln.exports=({preserve:e=!1}={})=>({postcssPlugin:"postcss-opacity-percentage",Declaration:{opacity:t=>{t.value&&!t.value.startsWith("var(")&&t.value.endsWith("%")&&!En.has(t.value)&&(t.cloneBefore({value:String(Number.parseFloat(t.value)/100)}),e||t.remove())}}}),Ln.exports.postcss=!0;var Rn={exports:{}};var $n,jn=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(Le.default);function Fn(e,t,s,r){const o=[];let n=!1;if(e.nodes.forEach((e=>{"word"!==e.type?function(e){return"function"===e.type&&"var"===e.value}(e)&&(n=!0):o.push(e)})),n)return void In(t,s,`Failed to transform ${t.value} as variables can't be processed.`,r);if(2!==o.length)return void In(t,s,`Failed to transform ${t.value} as it's expecting 2 arguments instead of ${o.length}`,r);const i=jn.default.unit(o[0].value),a=jn.default.unit(o[1].value);if(i&&a){if(i.unit===a.unit)return[i,a];In(t,s,`Failed to transform ${t.value} as the units don't match`,r)}}function In(e,t,s,r){"warn"===r.onInvalid&&e.warn(t,s)}function Un(e){delete e.nodes;const t=e;return t.type="word",t}!function(e){e.Nearest="nearest",e.Up="up",e.Down="down",e.ToZero="to-zero"}($n||($n={}));const Bn=/^[a-z|-]+$/i,Dn=e=>{const t=Object.assign({preserve:!1,onInvalid:""},e);return{postcssPlugin:"postcss-stepped-value-functions",Declaration(e,{result:s}){const r=["mod(","rem(","round("].some((t=>e.value.includes(t)));if(!e||!r)return;const o=e.clone();if(e.value.includes("mod(")){const e=function(e,t,s){const r=jn.default(e.value);return r.walk((r=>{if("function"!==r.type||"mod"!==r.value)return;const o=Fn(r,e,t,s);if(!o)return;const[n,i]=o,a=Number(n.number),l=Number(i.number),u=(a%l+l)%l;"number"!=typeof u||isNaN(u)||(Un(r).value=0===u?"0":`${u}${n.unit}`)})),r.toString()}(o,s,t);e&&(o.value=e)}if(o.value.includes("rem(")){const e=function(e,t,s){const r=jn.default(e.value);return r.walk((r=>{if("function"!==r.type||"rem"!==r.value)return;const o=Fn(r,e,t,s);if(!o)return;const[n,i]=o,a=Number(n.number)%Number(i.number);("number"==typeof a||isNaN(a))&&(Un(r).value=0===a?"0":`${a}${n.unit}`)})),r.toString()}(o,s,t);e&&(o.value=e)}if(o.value.includes("round(")){const e=function(e,t,s){const r=jn.default(e.value);return r.walk((r=>{if("function"!==r.type||"round"!==r.value)return;if(3!==r.nodes.length&&5!==r.nodes.length)return void In(e,t,`Failed to transform ${e.value} as the amount of arguments isn't valid`,s);const o=r.nodes.filter((e=>"word"===e.type)),n=o[0].value;let i,a,l;if(Bn.test(n)){var u,c;if(!Object.values($n).includes(n))return void In(e,t,`Failed to transform ${e.value} as ${n} is not a valid rounding strategy.`,s);i=n,a=jn.default.unit((null==o||null==(u=o[1])?void 0:u.value)||""),l=jn.default.unit((null==o||null==(c=o[2])?void 0:c.value)||"")}else{var p,d;i=$n.Nearest,a=jn.default.unit((null==o||null==(p=o[0])?void 0:p.value)||""),l=jn.default.unit((null==o||null==(d=o[1])?void 0:d.value)||"")}if(!a||!l)return;if(a.unit!==l.unit)return void In(e,t,`Failed to transform ${e.value} as the units don't match`,s);const h=Number(a.number),f=Number(l.number);let m;switch(i){case $n.Down:m=Math.floor(h/f)*f;break;case $n.Up:m=Math.ceil(h/f)*f;break;case $n.ToZero:m=Math.trunc(h/f)*f;break;case $n.Nearest:default:m=Math.round(h/f)*f}"number"!=typeof m||isNaN(m)||(Un(r).value=0===m?"0":`${m}${a.unit}`)})),r.toString()}(o,s,t);e&&(o.value=e)}e.value!==o.value&&(t.preserve?e.cloneBefore({value:o.value}):e.value=o.value)}}};Dn.postcss=!0,Rn.exports=Dn;var zn={exports:{}};const Tn=new Set(["direction","line-height","visibility","quotes","list-style-type","list-style-image","list-style-position","list-style","orphans","widows","color","font-family","font-style","font-variant","font-weight","font-size","font","text-indent","text-align","letter-spacing","word-spacing","text-transform","white-space","caption-side","border-collapse","border-spacing","empty-cells","cursor","text-anchor","fill","fill-rule","fill-opacity","stroke","stroke-opacity","stroke-width","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-dasharray","stroke-dashoffset","marker-start","marker-mid","marker-end","marker","paint-order","color-interpolation","shape-rendering","text-rendering","image-rendering","pointer-events","forced-color-adjust","print-color-adjust","font-size-adjust","font-stretch","font-synthesis","font-kerning","font-variant-ligatures","font-feature-settings","font-language-override","font-palette","font-variant-emoji","image-resolution","image-orientation","dominant-baseline","text-edge","initial-letter-wrap","line-snap","box-snap","marker-side","clip-rule","block-ellipsis","border-boundary","ruby-position","ruby-merge","ruby-overhang","text-size-adjust","voice-volume","voice-balance","speak","speak-as","voice-family","voice-rate","voice-pitch","voice-range","voice-stress","word-boundary-detection","word-boundary-expansion","text-space-collapse","text-wrap","hyphenate-character","hyphenate-limit-zone","hyphenate-limit-chars","hyphenate-limit-lines","hyphenate-limit-last","line-padding","text-spacing","text-underline-position","text-decoration-skip","text-decoration-skip-self","text-decoration-skip-box","text-decoration-skip-inset","text-decoration-skip-spaces","text-emphasis-style","text-emphasis-color","text-emphasis-position","text-emphasis-skip","text-shadow","tab-size","word-break","line-break","hyphens","overflow-wrap","word-wrap","text-align-all","text-align-last","text-justify","caret-shape","caret","writing-mode","text-orientation","text-combine-upright","fill-color","fill-image","fill-position","fill-size","fill-repeat","stroke-align","stroke-dash-corner","stroke-dash-justify","stroke-color","stroke-image","stroke-position","stroke-size","stroke-repeat","color-interpolation-filters","stroke-alignment","stroke-dashcorner","stroke-dashadjust"]),qn=new Set(["margin-top","margin-bottom","margin-right","margin-left","margin","padding-top","padding-right","padding-bottom","padding-left","padding","border-top-width","border-right-width","border-bottom-width","border-left-width","border-width","border-top-color","border-right-color","border-bottom-color","border-left-color","border-color","border-top-style","border-right-style","border-bottom-style","border-left-style","border-style","border-top","border-right","border-bottom","border-left","border","display","position","top","right","bottom","left","float","clear","z-index","unicode-bidi","width","min-width","max-width","height","min-height","max-height","vertical-align","overflow","clip","content","counter-reset","counter-increment","page-break-before","page-break-after","page-break-inside","background-color","background-image","background-repeat","background-attachment","background-position","background","text-decoration","table-layout","outline","outline-width","outline-style","outline-color","cx","cy","r","rx","ry","x","y","vector-effect","d","shape-inside","shape-subtract","shape-margin","stop-color","stop-opacity","touch-action","mix-blend-mode","isolation","background-blend-mode","align-content","justify-content","place-content","justify-self","align-self","justify-items","align-items","row-gap","column-gap","gap","grid-row-gap","grid-column-gap","grid-gap","animation-composition","animation-timeline","animation-name","animation-duration","animation-timing-function","animation-iteration-count","animation-direction","animation-play-state","animation-delay","animation-fill-mode","animation","background-position-x","background-position-y","background-position-inline","background-position-block","background-clip","border-radius","corner-shape","corners","border-limit","border-clip","border-clip-top","border-clip-right","border-clip-bottom","border-clip-left","background-origin","background-size","border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius","border-image-source","border-image-slice","border-image-width","border-image-outset","border-image-repeat","border-image","box-shadow","break-before","break-after","break-inside","margin-break","box-decoration-break","all","color-adjust","opacity","container-type","container-name","container","string-set","bookmark-level","bookmark-label","bookmark-state","order","wrap-flow","wrap-through","flex-direction","flex-wrap","flex-flow","flex","flex-grow","flex-shrink","flex-basis","copy-into","footnote-display","footnote-policy","grid-template-columns","grid-template-rows","grid-auto-columns","grid-auto-rows","object-fit","object-position","baseline-source","alignment-baseline","baseline-shift","leading-trim","inline-sizing","initial-letter","line-grid","clip-path","mask-image","mask-repeat","mask-position","mask-clip","mask-origin","mask-size","mask","mask-border-source","mask-border-mode","mask-border-slice","mask-border-width","mask-border-outset","mask-border-repeat","mask-border","mask-type","column-span","column-width","column-count","columns","column-rule-color","column-rule-style","column-rule-width","column-rule","column-fill","spatial-navigation-contain","spatial-navigation-action","spatial-navigation-function","text-overflow","continue","max-lines","overflow-x","overflow-y","line-clamp","float-reference","float-defer","float-offset","flow-into","flow-from","region-fragment","block-step-size","block-step-insert","block-step-align","block-step-round","block-step","scroll-snap-type","shape-padding","shape-outside","shape-image-threshold","contain-intrinsic-width","contain-intrinsic-height","contain-intrinsic-block-size","contain-intrinsic-inline-size","min-intrinsic-sizing","box-sizing","pause-before","pause-after","pause","rest-before","rest-after","rest","cue-before","cue-after","cue","voice-duration","text-space-trim","wrap-before","wrap-after","wrap-inside","text-group-align","text-decoration-line","text-decoration-style","text-decoration-color","text-emphasis","transform-style","perspective","perspective-origin","backface-visibility","transform","transform-origin","transition-property","transition-duration","transition-timing-function","transition-delay","transition","outline-offset","resize","nav-up","nav-right","nav-down","nav-left","user-select","appearance","input-security","will-change","glyph-orientation-vertical","fill-break","fill-origin","stroke-break","stroke-origin","backdrop-filter","filter","flood-color","flood-opacity","lighting-color"]),Gn=e=>{const t=Object.assign({preserve:!1},e);return{postcssPlugin:"postcss-unset-value",Declaration(e){if("unset"!==e.value)return;let s=!1;Tn.has(e.prop)?s="inherit":qn.has(e.prop)&&(s="initial"),s&&(t.preserve?e.cloneBefore({prop:e.prop,value:s}):e.value=s)}}};Gn.postcss=!0,zn.exports=Gn;var Wn=xe.default,Vn=Ce.default,Jn=Oe.default,Hn=K.default,Yn=Y.default,Zn=_e.default,Kn=Pe.default,Qn=Ae.default,Xn=J.default,ei=Ne.default,ti=Me.default,si=_n.exports,ri=ee.default,oi=te.default,ni=Ee.default,ii=oe.default,ai=Re.default,li=ne.default,ui=be.default,ci=ie.default,pi=ae.default,di=le.default,hi=ue.default,fi=ce.default,mi=$e.default,gi=pe.default,vi=Q.default,yi=se.default,bi=de.default,wi=he.default,Si=fe.default,ki=me.default,xi=ge.default,Ci=ve.default,Oi=je.default,_i=ye.default,Pi=Fe.default,Ai=we.default,Ni=Ln.exports,Mi=Se.default,Li=Ie.default,Ei=ke.default,Ri=X.default,$i=re.default,ji=Rn.exports,Fi=zn.exports;function Ii(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var Ui=Ii(Wn),Bi=Ii(Vn),Di=Ii(Jn),zi=Ii(Hn),Ti=Ii(Yn),qi=Ii(Zn),Gi=Ii(Kn),Wi=Ii(Qn),Vi=Ii(Xn),Ji=Ii(ei),Hi=Ii(ti),Yi=Ii(si),Zi=Ii(ri),Ki=Ii(oi),Qi=Ii(ni),Xi=Ii(ii),ea=Ii(ai),ta=Ii(li),sa=Ii(ui),ra=Ii(ci),oa=Ii(pi),na=Ii(di),ia=Ii(hi),aa=Ii(fi),la=Ii(mi),ua=Ii(gi),ca=Ii(vi),pa=Ii(yi),da=Ii(bi),ha=Ii(wi),fa=Ii(Si),ma=Ii(ki),ga=Ii(xi),va=Ii(Ci),ya=Ii(Oi),ba=Ii(_i),wa=Ii(Pi),Sa=Ii(Ai),ka=Ii(Ni),xa=Ii(Mi),Ca=Ii(Li),Oa=Ii(Ei),_a=Ii(Ri),Pa=Ii($i),Aa=Ii(ji),Na=Ii(Fi);const Ma={"blank-pseudo-class":"https://github.com/csstools/postcss-plugins/blob/main/plugins/css-blank-pseudo/README-BROWSER.md","focus-visible-pseudo-class":"https://github.com/WICG/focus-visible","focus-within-pseudo-class":"https://github.com/jsxtools/focus-within/blob/master/README-BROWSER.md","has-pseudo-class":"https://github.com/csstools/postcss-plugins/blob/main/plugins/css-has-pseudo/README-BROWSER.md","prefers-color-scheme-query":"https://github.com/csstools/postcss-plugins/blob/main/plugins/css-prefers-color-scheme/README-BROWSER.md"},La=["blank-pseudo-class","focus-visible-pseudo-class","focus-within-pseudo-class","has-pseudo-class","prefers-color-scheme-query"];function Ea(e,t){return`\n\t${e}: {\n${Object.keys(t).reduce(((e,s)=>(e.push(`\t\t'${Ia(s)}': '${Ia(t[s])}'`),e)),[]).join(",\n")}\n\t}`}function Ra(e,t){return`export const ${e} = {\n${Object.keys(t).reduce(((e,s)=>(e.push(`\t'${Ia(s)}': '${Ia(t[s])}'`),e)),[]).join(",\n")}\n};\n`}function $a(e,t){return Promise.all([].concat(t).map((async t=>{if(t instanceof Function)await t({customMedia:ja(e.customMedia),customProperties:ja(e.customProperties),customSelectors:ja(e.customSelectors)});else{const s=t===Object(t)?t:{to:String(t)},r=s.toJSON||ja;if("customMedia"in s||"customProperties"in s||"customSelectors"in s)s.customMedia=r(e.customMedia),s.customProperties=r(e.customProperties),s.customSelectors=r(e.customSelectors);else if("custom-media"in s||"custom-properties"in s||"custom-selectors"in s)s["custom-media"]=r(e.customMedia),s["custom-properties"]=r(e.customProperties),s["custom-selectors"]=r(e.customSelectors);else{const t=String(s.to||""),o=(s.type||Ti.default.extname(s.to).slice(1)).toLowerCase(),n=r(e.customMedia),i=r(e.customProperties),a=r(e.customSelectors);"css"===o&&await async function(e,t,s,r){const o=function(e){return`:root {\n${Object.keys(e).reduce(((t,s)=>(t.push(`\t${s}: ${e[s]};`),t)),[]).join("\n")}\n}\n`}(s),n=function(e){return`${Object.keys(e).reduce(((t,s)=>(t.push(`@custom-media ${s} ${e[s]};`),t)),[]).join("\n")}\n`}(t),i=function(e){return`${Object.keys(e).reduce(((t,s)=>(t.push(`@custom-selector ${s} ${e[s]};`),t)),[]).join("\n")}\n`}(r),a=`${n}\n${i}\n${o}`;await Fa(e,a)}(t,n,i,a),"js"===o&&await async function(e,t,s,r){const o=`module.exports = {${Ea("customMedia",t)},${Ea("customProperties",s)},${Ea("customSelectors",r)}\n};\n`;await Fa(e,o)}(t,n,i,a),"json"===o&&await async function(e,t,s,r){const o=`${JSON.stringify({"custom-media":t,"custom-properties":s,"custom-selectors":r},null," ")}\n`;await Fa(e,o)}(t,n,i,a),"mjs"===o&&await async function(e,t,s,r){const o=`${Ra("customMedia",t)}\n${Ra("customProperties",s)}\n${Ra("customSelectors",r)}`;await Fa(e,o)}(t,n,i,a)}}})))}function ja(e){return Object.keys(e).reduce(((t,s)=>(t[s]=String(e[s]),t)),{})}function Fa(e,t){return new Promise(((s,r)=>{zi.default.writeFile(e,t,(e=>{e?r(e):s()}))}))}function Ia(e){return e.replace(/\\([\s\S])|(')/g,"\\$1$2").replace(/\n/g,"\\n").replace(/\r/g,"\\r")}function Ua(e,t){if(!e)return!1;if("string"==typeof e)return!0;if(Array.isArray(e)){for(let s=0;s<e.length;s++){if("string"==typeof e[s])return!0;if(e[s]&&t in Object(e[s]))return!0}return!1}return t in Object(e)}function Ba(e,t,s){return Math.max(e,Math.min(t,s))}const Da=Symbol("insertBefore"),za=Symbol("insertAfter"),Ta=Symbol("insertOrder"),qa=Symbol("plugin");function Ga(e,t,s){if("insertBefore"!==s&&"insertAfter"!==s)return[];const r="insertBefore"===s?Da:za,o=[];for(const s in t){if(!Object.hasOwnProperty.call(t,s))continue;if(!e.find((e=>e.id===s)))continue;let n=t[s];Array.isArray(n)||(n=[n]);for(let e=0;e<n.length;e++)o.push({id:s,[qa]:n[e],[Ta]:e,[r]:!0})}return o}var Wa=["custom-media-queries","custom-properties","environment-variables","image-set-function","media-query-ranges","prefers-color-scheme-query","nesting-rules","custom-selectors","any-link-pseudo-class","case-insensitive-attributes","focus-visible-pseudo-class","focus-within-pseudo-class","not-pseudo-class","logical-properties-and-values","dir-pseudo-class","all-property","color-functional-notation","double-position-gradients","hexadecimal-alpha-notation","hwb-function","lab-function","rebeccapurple-color","blank-pseudo-class","break-properties","font-variant-property","is-pseudo-class","has-pseudo-class","gap-properties","overflow-property","overflow-wrap-property","place-properties","system-ui-font-family"];function Va(){return{postcssPlugin:"postcss-system-ui-font",Declaration(e){Ja.test(e.prop)&&(e.value.includes(Ya.join(", "))||(e.value=e.value.replace(Za,Ka)))}}}Va.postcss=!0;const Ja=/(?:^(?:-|\\002d){2})|(?:^font(?:-family)?$)/i,Ha="[\\f\\n\\r\\x09\\x20]",Ya=["system-ui","-apple-system","Segoe UI","Roboto","Ubuntu","Cantarell","Noto Sans","sans-serif"],Za=new RegExp(`(^|,|${Ha}+)(?:system-ui${Ha}*)(?:,${Ha}*(?:${Ya.join("|")})${Ha}*)?(,|$)`,"i"),Ka=`$1${Ya.join(", ")}$2`,Qa=new Map([["all-property",Gi.default],["any-link-pseudo-class",Wi.default],["blank-pseudo-class",Vi.default],["break-properties",Ji.default],["case-insensitive-attributes",Hi.default],["clamp",Yi.default],["color-function",Zi.default],["color-functional-notation",Ki.default],["custom-media-queries",Qi.default],["custom-properties",Xi.default],["custom-selectors",ea.default],["dir-pseudo-class",ta.default],["display-two-values",sa.default],["double-position-gradients",ra.default],["environment-variables",oa.default],["focus-visible-pseudo-class",na.default],["focus-within-pseudo-class",ia.default],["font-format-keywords",aa.default],["font-variant-property",la.default],["gap-properties",ua.default],["has-pseudo-class",ca.default],["hexadecimal-alpha-notation",pa.default],["hwb-function",da.default],["ic-unit",ha.default],["image-set-function",fa.default],["is-pseudo-class",ma.default],["lab-function",ga.default],["logical-properties-and-values",va.default],["media-query-ranges",ya.default],["nesting-rules",ba.default],["not-pseudo-class",wa.default],["oklab-function",Sa.default],["opacity-percentage",ka.default],["overflow-property",xa.default],["overflow-wrap-property",Ca.default],["place-properties",Oa.default],["prefers-color-scheme-query",_a.default],["rebeccapurple-color",Pa.default],["stepped-value-functions",Aa.default],["system-ui-font-family",Va],["unset-value",Na.default]]);const Xa=["ie","edge","firefox","chrome","safari","opera","ios_saf","android","op_mob","and_chr","and_ff","and_uc","samsung","and_qq","baidu","kaios"];function el(e){if(!e)return[];if(!("browser_support"in e))return["> 0%"];const t=[];return Xa.forEach((s=>{const r=e.browser_support[s];"string"==typeof r&&/^[0-9|.]+$/.test(r)?t.push(`${s} < ${e.browser_support[s]}`):t.push(`${s} >= 1`)})),t}function tl(e,t,s,r){const o=Object(t.features),n=!("enableClientSidePolyfills"in t)||t.enableClientSidePolyfills,i=Object(t.insertBefore),a=Object(t.insertAfter),l=t.browsers,u=Ba(0,function(e){const t=parseInt(e,10);return Number.isNaN(t)?0:t}(t.minimumVendorImplementations),3);u>0&&r.log(`Using features with ${u} or more vendor implementations`);const c=function(e,t){let s=2;if(void 0===e.stage)return t.log(`Using features from Stage ${s} (default)`),s;if(!1===e.stage)s=5;else{let t=parseInt(e.stage,10);Number.isNaN(t)&&(t=0),s=Ba(0,t,5)}return 5===s?t.log('Stage has been disabled, features will be handled via the "features" option.'):t.log(`Using features from Stage ${s}`),s}(t,r);2===c&&s&&!1===s.preserve&&(e=JSON.parse(JSON.stringify(e))).forEach((e=>{("blank-pseudo-class"===e.id||"prefers-color-scheme-query"===e.id)&&(e.stage=1)}));const p=function(e,t,s){return e.concat(Ga(e,t,"insertBefore"),Ga(e,s,"insertAfter")).filter((e=>function(e){return!!e[Da]||!!e[za]||!!Qa.has(e.id)}(e))).sort(((e,t)=>function(e,t){return e.id===t.id?e[Da]&&t[Da]||e[za]&&t[za]?Ba(-1,e[Ta]-t[Ta],1):e[Da]||t[za]?-1:e[za]||t[Da]?1:0:Ba(-1,Wa.indexOf(e.id)-Wa.indexOf(t.id),1)}(e,t)))}(e,i,a).map((e=>function(e){const t=el(e);if(e[Da]||e[za]){let s=e.id;return s=e.insertBefore?`before-${s}`:`after-${s}`,{browsers:t,vendors_implementations:e.vendors_implementations,plugin:e[qa],id:s,stage:6}}return{browsers:t,vendors_implementations:e.vendors_implementations,plugin:Qa.get(e.id),id:e.id,stage:e.stage}}(e))).filter((e=>0===u||!(!e[Da]&&!e[za])||u<=e.vendors_implementations||(o[e.id]?(r.log(` ${e.id} does not meet the required vendor implementations but has been enabled by options`),!0):(r.log(` ${e.id} with ${e.vendors_implementations} vendor implementations has been disabled`),!1)))).filter((e=>{const t=e.stage>=c,s=n||!La.includes(e.id),i=!1===o[e.id],a=o[e.id]?o[e.id]:t&&s;return i?r.log(` ${e.id} has been disabled by options`):t?s||r.log(` ${e.id} has been disabled by "enableClientSidePolyfills: false".`):a?r.log(` ${e.id} does not meet the required stage but has been enabled by options`):r.log(` ${e.id} with stage ${e.stage} has been disabled`),a})).map((t=>function(e,t,s,r,o,n){let i,a;return i=function(e,t,s,r){const o=qi.default(e,{ignoreUnknownVersions:!0});switch(t.id){case"is-pseudo-class":return{onComplexSelector:"warning"};case"nesting-rules":return function(e,t){const s=el(e);return!!t.some((e=>qi.default(s,{ignoreUnknownVersions:!0}).some((t=>t===e))))}(s.find((e=>"is-pseudo-class"===e.id)),o)?(r.log('Disabling :is on "nesting-rules" due to lack of browser support.'),{noIsPseudoSelector:!0}):{};case"any-link-pseudo-class":return o.find((e=>e.startsWith("ie ")||e.startsWith("edge ")))?(r.log('Adding area[href] fallbacks for ":any-link" support in Edge and IE.'),{subFeatures:{areaHrefNeedsFixing:!0}}):{};default:return{}}}(t,r,e,n),!0===s[r.id]?o&&(i=Object.assign({},i,o)):i=o?Object.assign({},i,o,s[r.id]):Object.assign({},i,s[r.id]),i.enableProgressiveCustomProperties=!1,a=r.plugin.postcss&&"function"==typeof r.plugin?r.plugin(i):r.plugin&&r.plugin.default&&"function"==typeof r.plugin.default&&r.plugin.default.postcss?r.plugin.default(i):r.plugin,{browsers:r.browsers,vendors_implementations:r.vendors_implementations,plugin:a,pluginOptions:i,id:r.id}}(e,l,o,t,s,r))),d=qi.default(l,{ignoreUnknownVersions:!0});return p.filter((e=>{if(e.id in o)return o[e.id];if(function(e){if("importFrom"in Object(e.pluginOptions))switch(e.id){case"custom-media-queries":if(Ua(e.pluginOptions.importFrom,"customMedia"))return!0;break;case"custom-properties":if(Ua(e.pluginOptions.importFrom,"customProperties"))return!0;break;case"environment-variables":if(Ua(e.pluginOptions.importFrom,"environmentVariables"))return!0;break;case"custom-selectors":if(Ua(e.pluginOptions.importFrom,"customSelectors"))return!0}if("exportTo"in Object(e.pluginOptions))switch(e.id){case"custom-media-queries":if(Ua(e.pluginOptions.exportTo,"customMedia"))return!0;break;case"custom-properties":if(Ua(e.pluginOptions.exportTo,"customProperties"))return!0;break;case"environment-variables":if(Ua(e.pluginOptions.exportTo,"environmentVariables"))return!0;break;case"custom-selectors":if(Ua(e.pluginOptions.exportTo,"customSelectors"))return!0}return!1}(e))return!0;const t=qi.default(e.browsers,{ignoreUnknownVersions:!0}),s=d.some((e=>t.some((t=>t===e))));return s||r.log(`${e.id} disabled due to browser support`),s}))}class sl{constructor(){this.logs=[]}log(e){this.logs.push(e)}resetLogger(){this.logs.length=0}dumpLogs(e){e&&this.logs.forEach((t=>e.warn(t))),this.resetLogger()}}var rl=[{packageName:"css-blank-pseudo",id:"blank-pseudo-class",importName:"postcssBlankPseudo"},{packageName:"css-has-pseudo",id:"has-pseudo-class",importName:"postcssHasPseudo"},{packageName:"css-prefers-color-scheme",id:"prefers-color-scheme-query",importName:"postcssPrefersColorScheme"},{packageName:"postcss-attribute-case-insensitive",id:"case-insensitive-attributes",importName:"postcssAttributeCaseInsensitive"},{packageName:"postcss-clamp",id:"clamp",importName:"postcssClamp"},{packageName:"@csstools/postcss-color-function",id:"color-function",importName:"postcssColorFunction"},{packageName:"postcss-color-functional-notation",id:"color-functional-notation",importName:"postcssColorFunctionalNotation"},{packageName:"postcss-color-hex-alpha",id:"hexadecimal-alpha-notation",importName:"postcssColorHexAlpha"},{packageName:"postcss-color-rebeccapurple",id:"rebeccapurple-color",importName:"postcssColorRebeccapurple"},{packageName:"postcss-custom-media",id:"custom-media-queries",importName:"postcssCustomMedia"},{packageName:"postcss-custom-properties",id:"custom-properties",importName:"postcssCustomProperties"},{packageName:"postcss-custom-selectors",id:"custom-selectors",importName:"postcssCustomSelectors"},{packageName:"postcss-dir-pseudo-class",id:"dir-pseudo-class",importName:"postcssDirPseudoClass"},{packageName:"postcss-double-position-gradients",id:"double-position-gradients",importName:"postcssDoublePositionGradients"},{packageName:"postcss-env-function",id:"environment-variables",importName:"postcssEnvFunction"},{packageName:"postcss-focus-visible",id:"focus-visible-pseudo-class",importName:"postcssFocusVisible"},{packageName:"postcss-focus-within",id:"focus-within-pseudo-class",importName:"postcssFocusWithin"},{packageName:"@csstools/postcss-font-format-keywords",id:"font-format-keywords",importName:"postcssFontFormatKeywords"},{packageName:"postcss-font-variant",id:"font-variant-property",importName:"postcssFontVariant"},{packageName:"postcss-gap-properties",id:"gap-properties",importName:"postcssGapProperties"},{packageName:"@csstools/postcss-hwb-function",id:"hwb-function",importName:"postcssHWBFunction"},{packageName:"@csstools/postcss-ic-unit",id:"ic-unit",importName:"postcssICUnit"},{packageName:"postcss-image-set-function",id:"image-set-function",importName:"postcssImageSetFunction"},{packageName:"postcss-initial",id:"all-property",importName:"postcssInitial"},{packageName:"@csstools/postcss-is-pseudo-class",id:"is-pseudo-class",importName:"postcssIsPseudoClass"},{packageName:"postcss-lab-function",id:"lab-function",importName:"postcssLabFunction"},{packageName:"postcss-logical",id:"logical-properties-and-values",importName:"postcssLogical"},{packageName:"postcss-media-minmax",id:"media-query-ranges",importName:"postcssMediaMinmax"},{packageName:"postcss-nesting",id:"nesting-rules",importName:"postcssNesting"},{packageName:"@csstools/postcss-normalize-display-values",id:"display-two-values",importName:"postcssNormalizeDisplayValues"},{packageName:"@csstools/postcss-oklab-function",id:"oklab-function",importName:"postcssOKLabFunction"},{packageName:"postcss-opacity-percentage",id:"opacity-percentage",importName:"postcssOpacityPercentage"},{packageName:"postcss-overflow-shorthand",id:"overflow-property",importName:"postcssOverflowShorthand"},{packageName:"postcss-page-break",id:"break-properties",importName:"postcssPageBreak"},{packageName:"postcss-place",id:"place-properties",importName:"postcssPlace"},{packageName:"postcss-pseudo-class-any-link",id:"any-link-pseudo-class",importName:"postcssPseudoClassAnyLink"},{packageName:"postcss-replace-overflow-wrap",id:"overflow-wrap-property",importName:"postcssReplaceOverflowWrap"},{packageName:"postcss-selector-not",id:"not-pseudo-class",importName:"postcssSelectorNot"},{packageName:"@csstools/postcss-stepped-value-functions",id:"stepped-value-functions",importName:"postcssSteppedValueFunctions"},{packageName:"postcss-system-ui-font-family",importedPackage:"../patch/postcss-system-ui-font-family.mjs",id:"system-ui-font-family",importName:"postcssFontFamilySystemUI"},{packageName:"@csstools/postcss-unset-value",id:"unset-value",importName:"postcssUnsetValue"}];function ol(e,t){let s="unknown",r=1/0;for(let o=0;o<t.length;o++){const n=nl(e,t[o]);n<r&&(r=n,s=t[o])}return{mostSimilar:s,distance:r}}function nl(e,t){if(!e.length)return t.length;if(!t.length)return e.length;const s=[];for(let r=0;r<=t.length;r++){s[r]=[r];for(let o=1;o<=e.length;o++)s[r][o]=0===r?o:Math.min(s[r-1][o]+1,s[r][o-1]+1,s[r-1][o-1]+(e[o-1]===t[r-1]?0:1))}return s[t.length][e.length]}const il=e=>{const t=new sl,s=Object(e),r=Object.keys(Object(s.features)),o=s.browsers,n=function(e){if("importFrom"in e||"exportTo"in e||"preserve"in e){const t={};return"importFrom"in e&&(t.importFrom=e.importFrom),"exportTo"in e&&(t.exportTo={customMedia:{},customProperties:{},customSelectors:{}}),"preserve"in e&&(t.preserve=e.preserve),t}return!1}(s),i=tl(Bi.default,s,n,t),a=i.map((e=>e.plugin));!1!==s.autoprefixer&&a.push(Ui.default(Object.assign({overrideBrowserslist:o},s.autoprefixer))),a.push(Di.default()),function(e,t,s){if(t.debug){s.log("Enabling the following feature(s):");const t=[];e.forEach((e=>{e.id.startsWith("before")||e.id.startsWith("after")?s.log(` ${e.id} (injected via options)`):s.log(` ${e.id}`),void 0!==Ma[e.id]&&t.push(e.id)})),t.length&&(s.log("These feature(s) need a browser library to work:"),t.forEach((e=>s.log(` ${e}: ${Ma[e]}`))))}}(i,s,t);const l=()=>({postcssPlugin:"postcss-preset-env",OnceExit:function(o,{result:i}){(function(e,t,s){const r=rl.map((e=>e.id)),o=rl.map((e=>e.packageName)),n=function(){const e={};return rl.forEach((t=>{e[t.packageName]=t.id})),e}();e.forEach((e=>{if(r.includes(e))return;const i=ol(e,r),a=ol(e,o);Math.min(i.distance,a.distance)>10?t.warn(s`Unknown feature: "${e}", see the list of features https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/FEATURES.md`):i.distance<a.distance?t.warn(s,`Unknown feature: "${e}", did you mean: "${i.mostSimilar}"`):t.warn(s,`Unknown feature: "${e}", did you mean: "${n[a.mostSimilar]}"`)}))})(r,o,i),s.debug&&t.dumpLogs(i),t.resetLogger(),s.exportTo&&$a(n.exportTo,e.exportTo)}});return l.postcss=!0,{postcssPlugin:"postcss-preset-env",plugins:[...a,l()]}};function al(e,t,s,r){const o=[];let n=!1;if(e.nodes.forEach((e=>{"word"!==e.type?function(e){return"function"===e.type&&"var"===e.value}(e)&&(n=!0):o.push(e)})),n)return void ll(t,s,`Failed to transform ${t.value} as variables can't be processed.`,r);if(2!==o.length)return void ll(t,s,`Failed to transform ${t.value} as it's expecting 2 arguments instead of ${o.length}`,r);const i=Le.default.unit(o[0].value),a=Le.default.unit(o[1].value);if(i&&a){if(i.unit===a.unit)return[i,a];ll(t,s,`Failed to transform ${t.value} as the units don't match`,r)}}function ll(e,t,s,r){"warn"===r.onInvalid&&e.warn(t,s)}function ul(e){delete e.nodes;const t=e;return t.type="word",t}var cl;il.postcss=!0,On.exports=il,function(e){e.Nearest="nearest",e.Up="up",e.Down="down",e.ToZero="to-zero"}(cl||(cl={}));const pl=/^[a-z|-]+$/i,dl=e=>{const t=Object.assign({preserve:!1,onInvalid:""},e);return{postcssPlugin:"postcss-stepped-value-functions",Declaration(e,{result:s}){const r=["mod(","rem(","round("].some((t=>e.value.includes(t)));if(!e||!r)return;const o=e.clone();if(e.value.includes("mod(")){const e=function(e,t,s){const r=Le.default(e.value);return r.walk((r=>{if("function"!==r.type||"mod"!==r.value)return;const o=al(r,e,t,s);if(!o)return;const[n,i]=o,a=Number(n.number),l=Number(i.number),u=(a%l+l)%l;"number"!=typeof u||isNaN(u)||(ul(r).value=0===u?"0":`${u}${n.unit}`)})),r.toString()}(o,s,t);e&&(o.value=e)}if(o.value.includes("rem(")){const e=function(e,t,s){const r=Le.default(e.value);return r.walk((r=>{if("function"!==r.type||"rem"!==r.value)return;const o=al(r,e,t,s);if(!o)return;const[n,i]=o,a=Number(n.number)%Number(i.number);("number"==typeof a||isNaN(a))&&(ul(r).value=0===a?"0":`${a}${n.unit}`)})),r.toString()}(o,s,t);e&&(o.value=e)}if(o.value.includes("round(")){const e=function(e,t,s){const r=Le.default(e.value);return r.walk((r=>{if("function"!==r.type||"round"!==r.value)return;if(3!==r.nodes.length&&5!==r.nodes.length)return void ll(e,t,`Failed to transform ${e.value} as the amount of arguments isn't valid`,s);const o=r.nodes.filter((e=>"word"===e.type)),n=o[0].value;let i,a,l;if(pl.test(n)){var u,c;if(!Object.values(cl).includes(n))return void ll(e,t,`Failed to transform ${e.value} as ${n} is not a valid rounding strategy.`,s);i=n,a=Le.default.unit((null==o||null==(u=o[1])?void 0:u.value)||""),l=Le.default.unit((null==o||null==(c=o[2])?void 0:c.value)||"")}else{var p,d;i=cl.Nearest,a=Le.default.unit((null==o||null==(p=o[0])?void 0:p.value)||""),l=Le.default.unit((null==o||null==(d=o[1])?void 0:d.value)||"")}if(!a||!l)return;if(a.unit!==l.unit)return void ll(e,t,`Failed to transform ${e.value} as the units don't match`,s);const h=Number(a.number),f=Number(l.number);let m;switch(i){case cl.Down:m=Math.floor(h/f)*f;break;case cl.Up:m=Math.ceil(h/f)*f;break;case cl.ToZero:m=Math.trunc(h/f)*f;break;case cl.Nearest:default:m=Math.round(h/f)*f}"number"!=typeof m||isNaN(m)||(ul(r).value=0===m?"0":`${m}${a.unit}`)})),r.toString()}(o,s,t);e&&(o.value=e)}e.value!==o.value&&(t.preserve?e.cloneBefore({value:o.value}):e.value=o.value)}}};dl.postcss=!0;const hl=new Set(["direction","line-height","visibility","quotes","list-style-type","list-style-image","list-style-position","list-style","orphans","widows","color","font-family","font-style","font-variant","font-weight","font-size","font","text-indent","text-align","letter-spacing","word-spacing","text-transform","white-space","caption-side","border-collapse","border-spacing","empty-cells","cursor","text-anchor","fill","fill-rule","fill-opacity","stroke","stroke-opacity","stroke-width","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-dasharray","stroke-dashoffset","marker-start","marker-mid","marker-end","marker","paint-order","color-interpolation","shape-rendering","text-rendering","image-rendering","pointer-events","forced-color-adjust","print-color-adjust","font-size-adjust","font-stretch","font-synthesis","font-kerning","font-variant-ligatures","font-feature-settings","font-language-override","font-palette","font-variant-emoji","image-resolution","image-orientation","dominant-baseline","text-edge","initial-letter-wrap","line-snap","box-snap","marker-side","clip-rule","block-ellipsis","border-boundary","ruby-position","ruby-merge","ruby-overhang","text-size-adjust","voice-volume","voice-balance","speak","speak-as","voice-family","voice-rate","voice-pitch","voice-range","voice-stress","word-boundary-detection","word-boundary-expansion","text-space-collapse","text-wrap","hyphenate-character","hyphenate-limit-zone","hyphenate-limit-chars","hyphenate-limit-lines","hyphenate-limit-last","line-padding","text-spacing","text-underline-position","text-decoration-skip","text-decoration-skip-self","text-decoration-skip-box","text-decoration-skip-inset","text-decoration-skip-spaces","text-emphasis-style","text-emphasis-color","text-emphasis-position","text-emphasis-skip","text-shadow","tab-size","word-break","line-break","hyphens","overflow-wrap","word-wrap","text-align-all","text-align-last","text-justify","caret-shape","caret","writing-mode","text-orientation","text-combine-upright","fill-color","fill-image","fill-position","fill-size","fill-repeat","stroke-align","stroke-dash-corner","stroke-dash-justify","stroke-color","stroke-image","stroke-position","stroke-size","stroke-repeat","color-interpolation-filters","stroke-alignment","stroke-dashcorner","stroke-dashadjust"]),fl=new Set(["margin-top","margin-bottom","margin-right","margin-left","margin","padding-top","padding-right","padding-bottom","padding-left","padding","border-top-width","border-right-width","border-bottom-width","border-left-width","border-width","border-top-color","border-right-color","border-bottom-color","border-left-color","border-color","border-top-style","border-right-style","border-bottom-style","border-left-style","border-style","border-top","border-right","border-bottom","border-left","border","display","position","top","right","bottom","left","float","clear","z-index","unicode-bidi","width","min-width","max-width","height","min-height","max-height","vertical-align","overflow","clip","content","counter-reset","counter-increment","page-break-before","page-break-after","page-break-inside","background-color","background-image","background-repeat","background-attachment","background-position","background","text-decoration","table-layout","outline","outline-width","outline-style","outline-color","cx","cy","r","rx","ry","x","y","vector-effect","d","shape-inside","shape-subtract","shape-margin","stop-color","stop-opacity","touch-action","mix-blend-mode","isolation","background-blend-mode","align-content","justify-content","place-content","justify-self","align-self","justify-items","align-items","row-gap","column-gap","gap","grid-row-gap","grid-column-gap","grid-gap","animation-composition","animation-timeline","animation-name","animation-duration","animation-timing-function","animation-iteration-count","animation-direction","animation-play-state","animation-delay","animation-fill-mode","animation","background-position-x","background-position-y","background-position-inline","background-position-block","background-clip","border-radius","corner-shape","corners","border-limit","border-clip","border-clip-top","border-clip-right","border-clip-bottom","border-clip-left","background-origin","background-size","border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius","border-image-source","border-image-slice","border-image-width","border-image-outset","border-image-repeat","border-image","box-shadow","break-before","break-after","break-inside","margin-break","box-decoration-break","all","color-adjust","opacity","container-type","container-name","container","string-set","bookmark-level","bookmark-label","bookmark-state","order","wrap-flow","wrap-through","flex-direction","flex-wrap","flex-flow","flex","flex-grow","flex-shrink","flex-basis","copy-into","footnote-display","footnote-policy","grid-template-columns","grid-template-rows","grid-auto-columns","grid-auto-rows","object-fit","object-position","baseline-source","alignment-baseline","baseline-shift","leading-trim","inline-sizing","initial-letter","line-grid","clip-path","mask-image","mask-repeat","mask-position","mask-clip","mask-origin","mask-size","mask","mask-border-source","mask-border-mode","mask-border-slice","mask-border-width","mask-border-outset","mask-border-repeat","mask-border","mask-type","column-span","column-width","column-count","columns","column-rule-color","column-rule-style","column-rule-width","column-rule","column-fill","spatial-navigation-contain","spatial-navigation-action","spatial-navigation-function","text-overflow","continue","max-lines","overflow-x","overflow-y","line-clamp","float-reference","float-defer","float-offset","flow-into","flow-from","region-fragment","block-step-size","block-step-insert","block-step-align","block-step-round","block-step","scroll-snap-type","shape-padding","shape-outside","shape-image-threshold","contain-intrinsic-width","contain-intrinsic-height","contain-intrinsic-block-size","contain-intrinsic-inline-size","min-intrinsic-sizing","box-sizing","pause-before","pause-after","pause","rest-before","rest-after","rest","cue-before","cue-after","cue","voice-duration","text-space-trim","wrap-before","wrap-after","wrap-inside","text-group-align","text-decoration-line","text-decoration-style","text-decoration-color","text-emphasis","transform-style","perspective","perspective-origin","backface-visibility","transform","transform-origin","transition-property","transition-duration","transition-timing-function","transition-delay","transition","outline-offset","resize","nav-up","nav-right","nav-down","nav-left","user-select","appearance","input-security","will-change","glyph-orientation-vertical","fill-break","fill-origin","stroke-break","stroke-origin","backdrop-filter","filter","flood-color","flood-opacity","lighting-color"]),ml=e=>{const t=Object.assign({preserve:!1},e);return{postcssPlugin:"postcss-unset-value",Declaration(e){if("unset"!==e.value)return;let s=!1;hl.has(e.prop)?s="inherit":fl.has(e.prop)&&(s="initial"),s&&(t.preserve?e.cloneBefore({prop:e.prop,value:s}):e.value=s)}}};ml.postcss=!0,function(){var e;switch(null!=(e=process.argv[2])&&e){case"css-blank-pseudo":return void Cn(J.default,["preserve","replaceWith"],xn("@csstools/cli css-blank-pseudo","PostCSS Blank Pseudo","Lets you style form elements when they are empty, following the Selectors Level 4 specification.",{preserve:!0,replaceWith:".css-blank"}),!1);case"css-has-pseudo":return void Cn(Q.default,["preserve"],xn("@csstools/cli css-has-pseudo","PostCSS Has Pseudo","Transforms CSS with :has {}",{preserve:!0}),!1);case"css-prefers-color-scheme":return void Cn(X.default,["preserve","mediaQuery"],xn("@csstools/cli css-prefers-color-scheme","Prefers Color Scheme","Lets you use light and dark color schemes in all browsers, following the Media Queries specification.",{preserve:!0,mediaQuery:"color|color-index"}),!1);case"postcss-color-function":return void Cn(ee.default,["preserve","enableProgressiveCustomProperties"],xn("@csstools/cli postcss-color-function","PostCSS Color Function","Lets you use the color() function in CSS.",{preserve:!0,enableProgressiveCustomProperties:!1}),!1);case"postcss-color-functional-notation":return void Cn(te.default,["preserve"],xn("@csstools/cli postcss-color-functional-notation","PostCSS Color Functional Notation","Lets you use space and slash separated color notation in CSS, following the CSS Color specification.",{preserve:!0}),!1);case"postcss-color-hex-alpha":return void Cn(se.default,["preserve"],xn("@csstools/cli postcss-color-hex-alpha","PostCSS Color Hex Alpha","Lets you use 4 & 8 character hex color notation in CSS, following the CSS Color Module specification.",{preserve:!0}),!1);case"postcss-color-rebeccapurple":return void Cn(re.default,["preserve"],xn("@csstools/cli postcss-color-rebeccapurple","PostCSS RebeccaPurple","Lets you use the rebeccapurple color keyword in CSS.",{preserve:!0}),!1);case"postcss-custom-properties":return void Cn(oe.default,["importFrom","exportTo","preserve"],xn("@csstools/cli postcss-custom-properties","PostCSS Custom Properties","Lets you use Custom Properties in CSS, following the CSS Custom Properties specification.",{importFrom:["import-variables.js"],exportTo:["export-variables.js"],preserve:!0}),!1);case"postcss-dir-pseudo-class":return void Cn(ne.default,["dir","preserve","shadow"],xn("@csstools/cli postcss-dir-pseudo-class","PostCSS Dir Pseudo Class","Lets you style by directionality using the `:dir()` pseudo-class in CSS",{dir:"ltr",preserve:!0,shadow:!0}),!1);case"postcss-double-position-gradients":return void Cn(ie.default,["preserve","enableProgressiveCustomProperties"],xn("@csstools/cli postcss-double-position-gradients","PostCSS Double Position Gradients","Lets you use double-position gradients in CSS, following the CSS Image Values and Replaced Content specification",{preserve:!0,enableProgressiveCustomProperties:!1}),!1);case"postcss-env-function":return void Cn(ae.default,["importFrom"],xn("@csstools/cli postcss-env-function","PostCSS Environment Variables","Lets you use `env()` variables in CSS, following the CSS Environment Variables specification.",{importFrom:["import-variables.js"]}),!1);case"postcss-focus-visible":return void Cn(le.default,["preserve","replaceWith"],xn("@csstools/cli postcss-focus-visible","PostCSS Focus Visible","Lets you use the `:focus-visible` pseudo-class in CSS, following the Selectors Level 4 specification.",{preserve:!0,replaceWith:".focus-visible"}),!1);case"postcss-focus-within":return void Cn(ue.default,["preserve","replaceWith"],xn("@csstools/cli postcss-focus-within","PostCSS Focus Within","Lets you use the `:focus-within` pseudo-class in CSS, following the Selectors Level 4 specification.",{preserve:!0,replaceWith:".focus-within"}),!1);case"postcss-font-format-keywords":return void Cn(ce.default,["preserve"],xn("@csstools/cli postcss-font-format-keywords","PostCSS Font Format Keyword","Lets you use unquoted format on @font-face CSS definitions.",{preserve:!0}),!1);case"postcss-gap-properties":return void Cn(pe.default,["preserve"],xn("@csstools/cli postcss-gap-properties","PostCSS Gap Properties","Lets you use the gap, column-gap, and row-gap shorthand properties in CSS, following the CSS Grid Layout specification.",{preserve:!0}),!1);case"postcss-hwb-function":return void Cn(de.default,["preserve"],xn("@csstools/cli postcss-hwb-function","PostCSS HWB function","Convert hwb() to rgb()",{preserve:!0}),!1);case"postcss-ic-unit":return void Cn(he.default,["preserve","enableProgressiveCustomProperties"],xn("@csstools/cli postcss-ic-unit","PostCSS IC Unit","Lets you use the ic length unit.",{preserve:!0,enableProgressiveCustomProperties:!1}),!1);case"postcss-image-set-function":return void Cn(fe.default,["oninvalid","preserve"],xn("@csstools/cli postcss-image-set-function","PostCSS Image Set Function","Lets you display resolution-dependent images using the image-set() function in CSS, following the CSS Images specification.",{preserve:!0,oninvalid:"ignore|warn|throw"}),!1);case"postcss-is-pseudo-class":return void Cn(me.default,["onComplexSelector","preserve","specificityMatchingName"],xn("@csstools/cli postcss-is-pseudo-class","PostCSS Is Pseudo Class","Lets you use the :is pseudo class function, following the CSS Selector specification.",{onComplexSelector:"warning",preserve:!0,specificityMatchingName:"does-not-exist"}),!1);case"postcss-lab-function":return void Cn(ge.default,["preserve","enableProgressiveCustomProperties","subFeatures"],xn("@csstools/cli postcss-lab-function","PostCSS Lab function","Convert lab() to rgb()",{preserve:!0,enableProgressiveCustomProperties:!1,subFeatures:{displayP3:!1}}),!1);case"postcss-logical":return void Cn(ve.default,["dir","preserve"],xn("@csstools/cli postcss-logical","PostCSS Logical","Lets you use logical, rather than physical, direction and dimension mappings in CSS, following the CSS Logical Properties and Values specification.",{dir:"ltr|rtl",preserve:!0}),!1);case"postcss-nesting":return void Cn(ye.default,["noIsPseudoSelector"],xn("@csstools/cli postcss-nesting","PostCSS Nesting","Lets you nest style rules inside each other, following the CSS Nesting specification.",{noIsPseudoSelector:!0}),!1);case"postcss-normalize-display-values":return void Cn(be.default,["preserve"],xn("@csstools/cli postcss-normalize-display-values","PostCSS Normalize Display Values","Lets you use two values display syntax for inner and outer display types.",{preserve:!0}),!1);case"postcss-oklab-function":return void Cn(we.default,["preserve","enableProgressiveCustomProperties","subFeatures"],xn("@csstools/cli postcss-oklab-function","PostCSS OKLab Function","Lets you use oklab() and oklch() color functions in CSS.",{preserve:!0,enableProgressiveCustomProperties:!1,subFeatures:{displayP3:!1}}),!1);case"postcss-overflow-shorthand":return void Cn(Se.default,["preserve"],xn("@csstools/cli postcss-overflow-shorthand","PostCSS Overflow Shorthand","Lets you use the `overflow` shorthand in CSS, following the CSS Overflow specification.",{preserve:!0}),!1);case"postcss-place":return void Cn(ke.default,["preserve"],xn("@csstools/cli postcss-place","PostCSS Place","Lets you use place-* properties as shorthands for align-* and justify-*, following the CSS Box Alignment specification.",{preserve:!0}),!1);case"postcss-preset-env":return void Cn(On.exports,["stage","minimumVendorImplementations","features","browsers","autoprefixer","importFrom","exportTo","enableClientSidePolyfills"],xn("@csstools/cli postcss-preset-env","PostCSS Preset Env","Lets you convert modern CSS into something most browsers can understand, determining the polyfills you need based on your targeted browsers or runtime environments.",{stage:0,minimumVendorImplementations:2,features:{"blank-pseudo-class":{preserve:!1},"color-functional-notation":{preserve:!0}},browsers:"last 2 versions",autoprefixer:{grid:!0},preserve:!1,importFrom:"path/to/file.css",exportTo:"path/to/file.css",enableClientSidePolyfills:!1}),!1);case"postcss-pseudo-class-any-link":return void Cn(Ae.default,["preserve"],xn("@csstools/cli postcss-pseudo-class-any-link","PostCSS Pseudo Class Any Link","Lets you :any-link pseudo-class in CSS, following the Selectors specification.",{preserve:!0}),!1);case"postcss-stepped-value-functions":return void Cn(dl,["preserve","onInvalid"],xn("@csstools/cli postcss-stepped-value-functions","PostCSS Stepped Value Functions","Lets you use round(), mod() and rem() functions.",{preserve:!1,onInvalid:"warn"}),!1);case"postcss-unset-value":return void Cn(ml,["preserve"],xn("@csstools/cli postcss-unset-value","PostCSS Stepped Unset Value","Use the unset keyword in CSS.",{preserve:!1}),!1);default:{const e=["CSSTools CLI\n"," Transform CSS with any plugin from https://github.com/csstools/postcss-plugins\n","Usage:"," @csstools/csstools-cli postcss-preset-env [input.css] [OPTIONS] [-o|--output output.css]"," @csstools/csstools-cli postcss-preset-env <input.css>... [OPTIONS] --dir <output-directory>"," @csstools/csstools-cli postcss-preset-env <input.css>... [OPTIONS] --replace","\nAvailable Plugins:"," css-blank-pseudo"," css-has-pseudo"," css-prefers-color-scheme"," postcss-color-function"," postcss-color-functional-notation"," postcss-color-hex-alpha"," postcss-color-rebeccapurple"," postcss-custom-properties"," postcss-dir-pseudo-class"," postcss-double-position-gradients"," postcss-env-function"," postcss-focus-visible"," postcss-focus-within"," postcss-font-format-keywords"," postcss-gap-properties"," postcss-hwb-function"," postcss-ic-unit"," postcss-image-set-function"," postcss-is-pseudo-class"," postcss-lab-function"," postcss-logical"," postcss-nesting"," postcss-normalize-display-values"," postcss-oklab-function"," postcss-overflow-shorthand"," postcss-place"," postcss-pseudo-class-any-link"," postcss-stepped-value-functions"," postcss-unset-value","\nPlugin Help:"," @csstools/csstools-cli <plugin-name>"," @csstools/csstools-cli postcss-preset-env"];console.warn(e.join("\n"))}}}();
3
+ "use strict";var e=require("css-blank-pseudo"),t=require("tty"),s=require("path"),r=require("url"),o=require("fs"),n=require("css-has-pseudo"),i=require("css-prefers-color-scheme"),a=require("postcss-attribute-case-insensitive"),l=require("@csstools/postcss-cascade-layers"),u=require("@csstools/postcss-color-function"),c=require("postcss-color-functional-notation"),p=require("postcss-color-hex-alpha"),h=require("postcss-color-rebeccapurple"),f=require("postcss-custom-media"),d=require("postcss-custom-properties"),m=require("postcss-custom-selectors"),g=require("postcss-dir-pseudo-class"),y=require("postcss-double-position-gradients"),w=require("postcss-env-function"),v=require("postcss-focus-visible"),S=require("postcss-focus-within"),b=require("@csstools/postcss-font-format-keywords"),C=require("postcss-gap-properties"),x=require("@csstools/postcss-hwb-function"),O=require("@csstools/postcss-ic-unit"),k=require("postcss-image-set-function"),_=require("@csstools/postcss-is-pseudo-class"),P=require("postcss-lab-function"),A=require("postcss-logical"),M=require("postcss-nesting"),L=require("@csstools/postcss-normalize-display-values"),E=require("@csstools/postcss-oklab-function"),N=require("postcss-overflow-shorthand"),R=require("postcss-place"),F=require("autoprefixer"),$=require("cssdb"),I=require("@csstools/postcss-progressive-custom-properties"),j=require("browserslist"),U=require("postcss-initial"),B=require("postcss-pseudo-class-any-link"),D=require("postcss-page-break"),T=require("postcss-value-parser"),q=require("postcss-font-variant"),W=require("postcss-media-minmax"),G=require("postcss-selector-not"),V=require("postcss-replace-overflow-wrap"),z=require("@csstools/postcss-stepped-value-functions"),J=require("@csstools/postcss-trigonometric-functions"),H=require("@csstools/postcss-unset-value");function Y(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var K,Q=Y(e),Z=Y(t),X=Y(s),ee=Y(r),te=Y(o),se=Y(n),re=Y(i),oe=Y(a),ne=Y(l),ie=Y(u),ae=Y(c),le=Y(p),ue=Y(h),ce=Y(f),pe=Y(d),he=Y(m),fe=Y(g),de=Y(y),me=Y(w),ge=Y(v),ye=Y(S),we=Y(b),ve=Y(C),Se=Y(x),be=Y(O),Ce=Y(k),xe=Y(_),Oe=Y(P),ke=Y(A),_e=Y(M),Pe=Y(L),Ae=Y(E),Me=Y(N),Le=Y(R),Ee=Y(F),Ne=Y($),Re=Y(I),Fe=Y(j),$e=Y(U),Ie=Y(B),je=Y(D),Ue=Y(T),Be=Y(q),De=Y(W),Te=Y(G),qe=Y(V),We=Y(z),Ge=Y(J),Ve=Y(H);!function(e){e.InvalidArguments="INVALID_ARGUMENTS"}(K||(K={}));var ze={exports:{}};let Je=Z.default,He=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||"win32"===process.platform||Je.isatty(1)&&"dumb"!==process.env.TERM||"CI"in process.env),Ye=(e,t,s=e)=>r=>{let o=""+r,n=o.indexOf(t,e.length);return~n?e+Ke(o,t,s,n)+t:e+o+t},Ke=(e,t,s,r)=>{let o=e.substring(0,r)+s,n=e.substring(r+t.length),i=n.indexOf(t);return~i?o+Ke(n,t,s,i):o+n},Qe=(e=He)=>({isColorSupported:e,reset:e?e=>`${e}`:String,bold:e?Ye("","",""):String,dim:e?Ye("","",""):String,italic:e?Ye("",""):String,underline:e?Ye("",""):String,inverse:e?Ye("",""):String,hidden:e?Ye("",""):String,strikethrough:e?Ye("",""):String,black:e?Ye("",""):String,red:e?Ye("",""):String,green:e?Ye("",""):String,yellow:e?Ye("",""):String,blue:e?Ye("",""):String,magenta:e?Ye("",""):String,cyan:e?Ye("",""):String,white:e?Ye("",""):String,gray:e?Ye("",""):String,bgBlack:e?Ye("",""):String,bgRed:e?Ye("",""):String,bgGreen:e?Ye("",""):String,bgYellow:e?Ye("",""):String,bgBlue:e?Ye("",""):String,bgMagenta:e?Ye("",""):String,bgCyan:e?Ye("",""):String,bgWhite:e?Ye("",""):String});ze.exports=Qe(),ze.exports.createColors=Qe;const Ze="'".charCodeAt(0),Xe='"'.charCodeAt(0),et="\\".charCodeAt(0),tt="/".charCodeAt(0),st="\n".charCodeAt(0),rt=" ".charCodeAt(0),ot="\f".charCodeAt(0),nt="\t".charCodeAt(0),it="\r".charCodeAt(0),at="[".charCodeAt(0),lt="]".charCodeAt(0),ut="(".charCodeAt(0),ct=")".charCodeAt(0),pt="{".charCodeAt(0),ht="}".charCodeAt(0),ft=";".charCodeAt(0),dt="*".charCodeAt(0),mt=":".charCodeAt(0),gt="@".charCodeAt(0),yt=/[\t\n\f\r "#'()/;[\\\]{}]/g,wt=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,vt=/.[\n"'(/\\]/,St=/[\da-f]/i;var bt=function(e,t={}){let s,r,o,n,i,a,l,u,c,p,h=e.css.valueOf(),f=t.ignoreErrors,d=h.length,m=0,g=[],y=[];function w(t){throw e.error("Unclosed "+t,m)}return{back:function(e){y.push(e)},nextToken:function(e){if(y.length)return y.pop();if(m>=d)return;let t=!!e&&e.ignoreUnclosed;switch(s=h.charCodeAt(m),s){case st:case rt:case nt:case it:case ot:r=m;do{r+=1,s=h.charCodeAt(r)}while(s===rt||s===st||s===nt||s===it||s===ot);p=["space",h.slice(m,r)],m=r-1;break;case at:case lt:case pt:case ht:case mt:case ft:case ct:{let e=String.fromCharCode(s);p=[e,e,m];break}case ut:if(u=g.length?g.pop()[1]:"",c=h.charCodeAt(m+1),"url"===u&&c!==Ze&&c!==Xe&&c!==rt&&c!==st&&c!==nt&&c!==ot&&c!==it){r=m;do{if(a=!1,r=h.indexOf(")",r+1),-1===r){if(f||t){r=m;break}w("bracket")}for(l=r;h.charCodeAt(l-1)===et;)l-=1,a=!a}while(a);p=["brackets",h.slice(m,r+1),m,r],m=r}else r=h.indexOf(")",m+1),n=h.slice(m,r+1),-1===r||vt.test(n)?p=["(","(",m]:(p=["brackets",n,m,r],m=r);break;case Ze:case Xe:o=s===Ze?"'":'"',r=m;do{if(a=!1,r=h.indexOf(o,r+1),-1===r){if(f||t){r=m+1;break}w("string")}for(l=r;h.charCodeAt(l-1)===et;)l-=1,a=!a}while(a);p=["string",h.slice(m,r+1),m,r],m=r;break;case gt:yt.lastIndex=m+1,yt.test(h),r=0===yt.lastIndex?h.length-1:yt.lastIndex-2,p=["at-word",h.slice(m,r+1),m,r],m=r;break;case et:for(r=m,i=!0;h.charCodeAt(r+1)===et;)r+=1,i=!i;if(s=h.charCodeAt(r+1),i&&s!==tt&&s!==rt&&s!==st&&s!==nt&&s!==it&&s!==ot&&(r+=1,St.test(h.charAt(r)))){for(;St.test(h.charAt(r+1));)r+=1;h.charCodeAt(r+1)===rt&&(r+=1)}p=["word",h.slice(m,r+1),m,r],m=r;break;default:s===tt&&h.charCodeAt(m+1)===dt?(r=h.indexOf("*/",m+2)+1,0===r&&(f||t?r=h.length:w("comment")),p=["comment",h.slice(m,r+1),m,r],m=r):(wt.lastIndex=m+1,wt.test(h),r=0===wt.lastIndex?h.length-1:wt.lastIndex-2,p=["word",h.slice(m,r+1),m,r],g.push(p),m=r)}return m++,p},endOfFile:function(){return 0===y.length&&m>=d},position:function(){return m}}};let Ct,xt=ze.exports,Ot=bt;const kt={brackets:xt.cyan,"at-word":xt.cyan,comment:xt.gray,string:xt.green,class:xt.yellow,hash:xt.magenta,call:xt.cyan,"(":xt.cyan,")":xt.cyan,"{":xt.yellow,"}":xt.yellow,"[":xt.yellow,"]":xt.yellow,":":xt.yellow,";":xt.yellow};function _t([e,t],s){if("word"===e){if("."===t[0])return"class";if("#"===t[0])return"hash"}if(!s.endOfFile()){let e=s.nextToken();if(s.back(e),"brackets"===e[0]||"("===e[0])return"call"}return e}function Pt(e){let t=Ot(new Ct(e),{ignoreErrors:!0}),s="";for(;!t.endOfFile();){let e=t.nextToken(),r=kt[_t(e,t)];s+=r?e[1].split(/\r?\n/).map((e=>r(e))).join("\n"):e[1]}return s}Pt.registerInput=function(e){Ct=e};var At=Pt;let Mt=ze.exports,Lt=At;class Et extends Error{constructor(e,t,s,r,o,n){super(e),this.name="CssSyntaxError",this.reason=e,o&&(this.file=o),r&&(this.source=r),n&&(this.plugin=n),void 0!==t&&void 0!==s&&("number"==typeof t?(this.line=t,this.column=s):(this.line=t.line,this.column=t.column,this.endLine=s.line,this.endColumn=s.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,Et)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=Mt.isColorSupported),Lt&&e&&(t=Lt(t));let s,r,o=t.split(/\r?\n/),n=Math.max(this.line-3,0),i=Math.min(this.line+2,o.length),a=String(i).length;if(e){let{bold:e,red:t,gray:o}=Mt.createColors(!0);s=s=>e(t(s)),r=e=>o(e)}else s=r=e=>e;return o.slice(n,i).map(((e,t)=>{let o=n+1+t,i=" "+(" "+o).slice(-a)+" | ";if(o===this.line){let t=r(i.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return s(">")+r(i)+e+"\n "+t+s("^")}return" "+r(i)+e})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}var Nt=Et;Et.default=Et;var Rt={};Rt.isClean=Symbol("isClean"),Rt.my=Symbol("my");const Ft={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};class $t{constructor(e){this.builder=e}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}document(e){this.body(e)}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft"),s=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+s+"*/",e)}decl(e,t){let s=this.raw(e,"between","colon"),r=e.prop+s+this.rawValue(e,"value");e.important&&(r+=e.raws.important||" !important"),t&&(r+=";"),this.builder(r,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,t){let s="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?s+=e.raws.afterName:r&&(s+=" "),e.nodes)this.block(e,s+r);else{let o=(e.raws.between||"")+(t?";":"");this.builder(s+r+o,e)}}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let s=this.raw(e,"semicolon");for(let r=0;r<e.nodes.length;r++){let o=e.nodes[r],n=this.raw(o,"before");n&&this.builder(n),this.stringify(o,t!==r||s)}}block(e,t){let s,r=this.raw(e,"between","beforeOpen");this.builder(t+r+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),s=this.raw(e,"after")):s=this.raw(e,"after","emptyBody"),s&&this.builder(s),this.builder("}",e,"end")}raw(e,t,s){let r;if(s||(s=t),t&&(r=e.raws[t],void 0!==r))return r;let o=e.parent;if("before"===s){if(!o||"root"===o.type&&o.first===e)return"";if(o&&"document"===o.type)return""}if(!o)return Ft[s];let n=e.root();if(n.rawCache||(n.rawCache={}),void 0!==n.rawCache[s])return n.rawCache[s];if("before"===s||"after"===s)return this.beforeAfter(e,s);{let o="raw"+((i=s)[0].toUpperCase()+i.slice(1));this[o]?r=this[o](n,e):n.walk((e=>{if(r=e.raws[t],void 0!==r)return!1}))}var i;return void 0===r&&(r=Ft[s]),n.rawCache[s]=r,r}rawSemicolon(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1})),t}rawEmptyBody(e){let t;return e.walk((e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1})),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk((s=>{let r=s.parent;if(r&&r!==e&&r.parent&&r.parent===e&&void 0!==s.raws.before){let e=s.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}})),t}rawBeforeComment(e,t){let s;return e.walkComments((e=>{if(void 0!==e.raws.before)return s=e.raws.before,s.includes("\n")&&(s=s.replace(/[^\n]+$/,"")),!1})),void 0===s?s=this.raw(t,null,"beforeDecl"):s&&(s=s.replace(/\S/g,"")),s}rawBeforeDecl(e,t){let s;return e.walkDecls((e=>{if(void 0!==e.raws.before)return s=e.raws.before,s.includes("\n")&&(s=s.replace(/[^\n]+$/,"")),!1})),void 0===s?s=this.raw(t,null,"beforeRule"):s&&(s=s.replace(/\S/g,"")),s}rawBeforeRule(e){let t;return e.walk((s=>{if(s.nodes&&(s.parent!==e||e.first!==s)&&void 0!==s.raws.before)return t=s.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeClose(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t}beforeAfter(e,t){let s;s="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let r=e.parent,o=0;for(;r&&"root"!==r.type;)o+=1,r=r.parent;if(s.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<o;e++)s+=t}return s}rawValue(e,t){let s=e[t],r=e.raws[t];return r&&r.value===s?r.raw:s}}var It=$t;$t.default=$t;let jt=It;function Ut(e,t){new jt(t).stringify(e)}var Bt=Ut;Ut.default=Ut;let{isClean:Dt,my:Tt}=Rt,qt=Nt,Wt=It,Gt=Bt;function Vt(e,t){let s=new e.constructor;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;if("proxyCache"===r)continue;let o=e[r],n=typeof o;"parent"===r&&"object"===n?t&&(s[r]=t):"source"===r?s[r]=o:Array.isArray(o)?s[r]=o.map((e=>Vt(e,s))):("object"===n&&null!==o&&(o=Vt(o)),s[r]=o)}return s}class zt{constructor(e={}){this.raws={},this[Dt]=!1,this[Tt]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let s of e[t])"function"==typeof s.clone?this.append(s.clone()):this.append(s)}else this[t]=e[t]}error(e,t={}){if(this.source){let{start:s,end:r}=this.rangeBy(t);return this.source.input.error(e,{line:s.line,column:s.column},{line:r.line,column:r.column},t)}return new qt(e)}warn(e,t,s){let r={node:this};for(let e in s)r[e]=s[e];return e.warn(t,r)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=Gt){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}assign(e={}){for(let t in e)this[t]=e[t];return this}clone(e={}){let t=Vt(this);for(let s in e)t[s]=e[s];return t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}replaceWith(...e){if(this.parent){let t=this,s=!1;for(let r of e)r===this?s=!0:s?(this.parent.insertAfter(t,r),t=r):this.parent.insertBefore(t,r);s||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}raw(e,t){return(new Wt).raw(this,e,t)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,t){let s={},r=null==t;t=t||new Map;let o=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e))continue;if("parent"===e||"proxyCache"===e)continue;let r=this[e];if(Array.isArray(r))s[e]=r.map((e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof r&&r.toJSON)s[e]=r.toJSON(null,t);else if("source"===e){let n=t.get(r.input);null==n&&(n=o,t.set(r.input,o),o++),s[e]={inputId:n,start:r.start,end:r.end}}else s[e]=r}return r&&(s.inputs=[...t.keys()].map((e=>e.toJSON()))),s}positionInside(e){let t=this.toString(),s=this.source.start.column,r=this.source.start.line;for(let o=0;o<e;o++)"\n"===t[o]?(s=1,r+=1):s+=1;return{line:r,column:s}}positionBy(e){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let s=this.toString().indexOf(e.word);-1!==s&&(t=this.positionInside(s))}return t}rangeBy(e){let t={line:this.source.start.line,column:this.source.start.column},s=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:t.line,column:t.column+1};if(e.word){let r=this.toString().indexOf(e.word);-1!==r&&(t=this.positionInside(r),s=this.positionInside(r+e.word.length))}else e.start?t={line:e.start.line,column:e.start.column}:e.index&&(t=this.positionInside(e.index)),e.end?s={line:e.end.line,column:e.end.column}:e.endIndex?s=this.positionInside(e.endIndex):e.index&&(s=this.positionInside(e.index+1));return(s.line<t.line||s.line===t.line&&s.column<=t.column)&&(s={line:t.line,column:t.column+1}),{start:t,end:s}}getProxyProcessor(){return{set:(e,t,s)=>(e[t]===s||(e[t]=s,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t]}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}markDirty(){if(this[Dt]){this[Dt]=!1;let e=this;for(;e=e.parent;)e[Dt]=!1}}get proxyOf(){return this}}var Jt=zt;zt.default=zt;let Ht=Jt;class Yt extends Ht{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}var Kt=Yt;Yt.default=Yt;var Qt={},Zt={},Xt={},es={},ts="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");es.encode=function(e){if(0<=e&&e<ts.length)return ts[e];throw new TypeError("Must be between 0 and 63: "+e)},es.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1};var ss=es;Xt.encode=function(e){var t,s="",r=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&r,(r>>>=5)>0&&(t|=32),s+=ss.encode(t)}while(r>0);return s},Xt.decode=function(e,t,s){var r,o,n,i,a=e.length,l=0,u=0;do{if(t>=a)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(o=ss.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));r=!!(32&o),l+=(o&=31)<<u,u+=5}while(r);s.value=(i=(n=l)>>1,1==(1&n)?-i:i),s.rest=t};var rs={};!function(e){e.getArg=function(e,t,s){if(t in e)return e[t];if(3===arguments.length)return s;throw new Error('"'+t+'" is a required argument.')};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,s=/^data:.+\,.+$/;function r(e){var s=e.match(t);return s?{scheme:s[1],auth:s[2],host:s[3],port:s[4],path:s[5]}:null}function o(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}e.urlParse=r,e.urlGenerate=o;var n=function(e){var t=[];return function(s){for(var r=0;r<t.length;r++)if(t[r].input===s){var o=t[0];return t[0]=t[r],t[r]=o,t[0].result}var n=e(s);return t.unshift({input:s,result:n}),t.length>32&&t.pop(),n}}((function(t){var s=t,n=r(t);if(n){if(!n.path)return t;s=n.path}for(var i=e.isAbsolute(s),a=[],l=0,u=0;;){if(l=u,-1===(u=s.indexOf("/",l))){a.push(s.slice(l));break}for(a.push(s.slice(l,u));u<s.length&&"/"===s[u];)u++}var c,p=0;for(u=a.length-1;u>=0;u--)"."===(c=a[u])?a.splice(u,1):".."===c?p++:p>0&&(""===c?(a.splice(u+1,p),p=0):(a.splice(u,2),p--));return""===(s=a.join("/"))&&(s=i?"/":"."),n?(n.path=s,o(n)):s}));function i(e,t){""===e&&(e="."),""===t&&(t=".");var i=r(t),a=r(e);if(a&&(e=a.path||"/"),i&&!i.scheme)return a&&(i.scheme=a.scheme),o(i);if(i||t.match(s))return t;if(a&&!a.host&&!a.path)return a.host=t,o(a);var l="/"===t.charAt(0)?t:n(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=l,o(a)):l}e.normalize=n,e.join=i,e.isAbsolute=function(e){return"/"===e.charAt(0)||t.test(e)},e.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var s=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++s}return Array(s+1).join("../")+t.substr(e.length+1)};var a=!("__proto__"in Object.create(null));function l(e){return e}function u(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var s=t-10;s>=0;s--)if(36!==e.charCodeAt(s))return!1;return!0}function c(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=a?l:function(e){return u(e)?"$"+e:e},e.fromSetString=a?l:function(e){return u(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,s){var r=c(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||s||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:c(e.name,t.name)},e.compareByOriginalPositionsNoSource=function(e,t,s){var r;return 0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||s||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:c(e.name,t.name)},e.compareByGeneratedPositionsDeflated=function(e,t,s){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||s||0!==(r=c(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:c(e.name,t.name)},e.compareByGeneratedPositionsDeflatedNoLine=function(e,t,s){var r=e.generatedColumn-t.generatedColumn;return 0!==r||s||0!==(r=c(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:c(e.name,t.name)},e.compareByGeneratedPositionsInflated=function(e,t){var s=e.generatedLine-t.generatedLine;return 0!==s||0!==(s=e.generatedColumn-t.generatedColumn)||0!==(s=c(e.source,t.source))||0!==(s=e.originalLine-t.originalLine)||0!==(s=e.originalColumn-t.originalColumn)?s:c(e.name,t.name)},e.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(e,t,s){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),s){var a=r(s);if(!a)throw new Error("sourceMapURL could not be parsed");if(a.path){var l=a.path.lastIndexOf("/");l>=0&&(a.path=a.path.substring(0,l+1))}t=i(o(a),t)}return n(t)}}(rs);var os={},ns=rs,is=Object.prototype.hasOwnProperty,as="undefined"!=typeof Map;function ls(){this._array=[],this._set=as?new Map:Object.create(null)}ls.fromArray=function(e,t){for(var s=new ls,r=0,o=e.length;r<o;r++)s.add(e[r],t);return s},ls.prototype.size=function(){return as?this._set.size:Object.getOwnPropertyNames(this._set).length},ls.prototype.add=function(e,t){var s=as?e:ns.toSetString(e),r=as?this.has(e):is.call(this._set,s),o=this._array.length;r&&!t||this._array.push(e),r||(as?this._set.set(e,o):this._set[s]=o)},ls.prototype.has=function(e){if(as)return this._set.has(e);var t=ns.toSetString(e);return is.call(this._set,t)},ls.prototype.indexOf=function(e){if(as){var t=this._set.get(e);if(t>=0)return t}else{var s=ns.toSetString(e);if(is.call(this._set,s))return this._set[s]}throw new Error('"'+e+'" is not in the set.')},ls.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},ls.prototype.toArray=function(){return this._array.slice()},os.ArraySet=ls;var us={},cs=rs;function ps(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}ps.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},ps.prototype.add=function(e){var t,s,r,o,n,i;t=this._last,s=e,r=t.generatedLine,o=s.generatedLine,n=t.generatedColumn,i=s.generatedColumn,o>r||o==r&&i>=n||cs.compareByGeneratedPositionsInflated(t,s)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},ps.prototype.toArray=function(){return this._sorted||(this._array.sort(cs.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},us.MappingList=ps;var hs=Xt,fs=rs,ds=os.ArraySet,ms=us.MappingList;function gs(e){e||(e={}),this._file=fs.getArg(e,"file",null),this._sourceRoot=fs.getArg(e,"sourceRoot",null),this._skipValidation=fs.getArg(e,"skipValidation",!1),this._sources=new ds,this._names=new ds,this._mappings=new ms,this._sourcesContents=null}gs.prototype._version=3,gs.fromSourceMap=function(e){var t=e.sourceRoot,s=new gs({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=fs.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),s.addMapping(r)})),e.sources.forEach((function(r){var o=r;null!==t&&(o=fs.relative(t,r)),s._sources.has(o)||s._sources.add(o);var n=e.sourceContentFor(r);null!=n&&s.setSourceContent(r,n)})),s},gs.prototype.addMapping=function(e){var t=fs.getArg(e,"generated"),s=fs.getArg(e,"original",null),r=fs.getArg(e,"source",null),o=fs.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,s,r,o),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=s&&s.line,originalColumn:null!=s&&s.column,source:r,name:o})},gs.prototype.setSourceContent=function(e,t){var s=e;null!=this._sourceRoot&&(s=fs.relative(this._sourceRoot,s)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[fs.toSetString(s)]=t):this._sourcesContents&&(delete this._sourcesContents[fs.toSetString(s)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},gs.prototype.applySourceMap=function(e,t,s){var r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var o=this._sourceRoot;null!=o&&(r=fs.relative(o,r));var n=new ds,i=new ds;this._mappings.unsortedForEach((function(t){if(t.source===r&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=s&&(t.source=fs.join(s,t.source)),null!=o&&(t.source=fs.relative(o,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var l=t.source;null==l||n.has(l)||n.add(l);var u=t.name;null==u||i.has(u)||i.add(u)}),this),this._sources=n,this._names=i,e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&(null!=s&&(t=fs.join(s,t)),null!=o&&(t=fs.relative(o,t)),this.setSourceContent(t,r))}),this)},gs.prototype._validateMapping=function(e,t,s,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||s||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&s))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:s,original:t,name:r}))},gs.prototype._serializeMappings=function(){for(var e,t,s,r,o=0,n=1,i=0,a=0,l=0,u=0,c="",p=this._mappings.toArray(),h=0,f=p.length;h<f;h++){if(e="",(t=p[h]).generatedLine!==n)for(o=0;t.generatedLine!==n;)e+=";",n++;else if(h>0){if(!fs.compareByGeneratedPositionsInflated(t,p[h-1]))continue;e+=","}e+=hs.encode(t.generatedColumn-o),o=t.generatedColumn,null!=t.source&&(r=this._sources.indexOf(t.source),e+=hs.encode(r-u),u=r,e+=hs.encode(t.originalLine-1-a),a=t.originalLine-1,e+=hs.encode(t.originalColumn-i),i=t.originalColumn,null!=t.name&&(s=this._names.indexOf(t.name),e+=hs.encode(s-l),l=s)),c+=e}return c},gs.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=fs.relative(t,e));var s=fs.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,s)?this._sourcesContents[s]:null}),this)},gs.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},gs.prototype.toString=function(){return JSON.stringify(this.toJSON())},Zt.SourceMapGenerator=gs;var ys={},ws={};!function(e){function t(s,r,o,n,i,a){var l=Math.floor((r-s)/2)+s,u=i(o,n[l],!0);return 0===u?l:u>0?r-l>1?t(l,r,o,n,i,a):a==e.LEAST_UPPER_BOUND?r<n.length?r:-1:l:l-s>1?t(s,l,o,n,i,a):a==e.LEAST_UPPER_BOUND?l:s<0?-1:s}e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2,e.search=function(s,r,o,n){if(0===r.length)return-1;var i=t(-1,r.length,s,r,o,n||e.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&0===o(r[i],r[i-1],!0);)--i;return i}}(ws);var vs={};function Ss(e){function t(e,t,s){var r=e[t];e[t]=e[s],e[s]=r}return function e(s,r,o,n){if(o<n){var i=o-1;t(s,(c=o,p=n,Math.round(c+Math.random()*(p-c))),n);for(var a=s[n],l=o;l<n;l++)r(s[l],a,!1)<=0&&t(s,i+=1,l);t(s,i+1,l);var u=i+1;e(s,r,o,u-1),e(s,r,u+1,n)}var c,p}}let bs=new WeakMap;vs.quickSort=function(e,t,s=0){let r=bs.get(t);void 0===r&&(r=function(e){let t=Ss.toString();return new Function(`return ${t}`)()(e)}(t),bs.set(t,r)),r(e,t,s,e.length-1)};var Cs=rs,xs=ws,Os=os.ArraySet,ks=Xt,_s=vs.quickSort;function Ps(e,t){var s=e;return"string"==typeof e&&(s=Cs.parseSourceMapInput(e)),null!=s.sections?new Ns(s,t):new As(s,t)}function As(e,t){var s=e;"string"==typeof e&&(s=Cs.parseSourceMapInput(e));var r=Cs.getArg(s,"version"),o=Cs.getArg(s,"sources"),n=Cs.getArg(s,"names",[]),i=Cs.getArg(s,"sourceRoot",null),a=Cs.getArg(s,"sourcesContent",null),l=Cs.getArg(s,"mappings"),u=Cs.getArg(s,"file",null);if(r!=this._version)throw new Error("Unsupported version: "+r);i&&(i=Cs.normalize(i)),o=o.map(String).map(Cs.normalize).map((function(e){return i&&Cs.isAbsolute(i)&&Cs.isAbsolute(e)?Cs.relative(i,e):e})),this._names=Os.fromArray(n.map(String),!0),this._sources=Os.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map((function(e){return Cs.computeSourceURL(i,e,t)})),this.sourceRoot=i,this.sourcesContent=a,this._mappings=l,this._sourceMapURL=t,this.file=u}function Ms(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}Ps.fromSourceMap=function(e,t){return As.fromSourceMap(e,t)},Ps.prototype._version=3,Ps.prototype.__generatedMappings=null,Object.defineProperty(Ps.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),Ps.prototype.__originalMappings=null,Object.defineProperty(Ps.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),Ps.prototype._charIsMappingSeparator=function(e,t){var s=e.charAt(t);return";"===s||","===s},Ps.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},Ps.GENERATED_ORDER=1,Ps.ORIGINAL_ORDER=2,Ps.GREATEST_LOWER_BOUND=1,Ps.LEAST_UPPER_BOUND=2,Ps.prototype.eachMapping=function(e,t,s){var r,o=t||null;switch(s||Ps.GENERATED_ORDER){case Ps.GENERATED_ORDER:r=this._generatedMappings;break;case Ps.ORIGINAL_ORDER:r=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var n=this.sourceRoot,i=e.bind(o),a=this._names,l=this._sources,u=this._sourceMapURL,c=0,p=r.length;c<p;c++){var h=r[c],f=null===h.source?null:l.at(h.source);i({source:f=Cs.computeSourceURL(n,f,u),generatedLine:h.generatedLine,generatedColumn:h.generatedColumn,originalLine:h.originalLine,originalColumn:h.originalColumn,name:null===h.name?null:a.at(h.name)})}},Ps.prototype.allGeneratedPositionsFor=function(e){var t=Cs.getArg(e,"line"),s={source:Cs.getArg(e,"source"),originalLine:t,originalColumn:Cs.getArg(e,"column",0)};if(s.source=this._findSourceIndex(s.source),s.source<0)return[];var r=[],o=this._findMapping(s,this._originalMappings,"originalLine","originalColumn",Cs.compareByOriginalPositions,xs.LEAST_UPPER_BOUND);if(o>=0){var n=this._originalMappings[o];if(void 0===e.column)for(var i=n.originalLine;n&&n.originalLine===i;)r.push({line:Cs.getArg(n,"generatedLine",null),column:Cs.getArg(n,"generatedColumn",null),lastColumn:Cs.getArg(n,"lastGeneratedColumn",null)}),n=this._originalMappings[++o];else for(var a=n.originalColumn;n&&n.originalLine===t&&n.originalColumn==a;)r.push({line:Cs.getArg(n,"generatedLine",null),column:Cs.getArg(n,"generatedColumn",null),lastColumn:Cs.getArg(n,"lastGeneratedColumn",null)}),n=this._originalMappings[++o]}return r},ys.SourceMapConsumer=Ps,As.prototype=Object.create(Ps.prototype),As.prototype.consumer=Ps,As.prototype._findSourceIndex=function(e){var t,s=e;if(null!=this.sourceRoot&&(s=Cs.relative(this.sourceRoot,s)),this._sources.has(s))return this._sources.indexOf(s);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return-1},As.fromSourceMap=function(e,t){var s=Object.create(As.prototype),r=s._names=Os.fromArray(e._names.toArray(),!0),o=s._sources=Os.fromArray(e._sources.toArray(),!0);s.sourceRoot=e._sourceRoot,s.sourcesContent=e._generateSourcesContent(s._sources.toArray(),s.sourceRoot),s.file=e._file,s._sourceMapURL=t,s._absoluteSources=s._sources.toArray().map((function(e){return Cs.computeSourceURL(s.sourceRoot,e,t)}));for(var n=e._mappings.toArray().slice(),i=s.__generatedMappings=[],a=s.__originalMappings=[],l=0,u=n.length;l<u;l++){var c=n[l],p=new Ms;p.generatedLine=c.generatedLine,p.generatedColumn=c.generatedColumn,c.source&&(p.source=o.indexOf(c.source),p.originalLine=c.originalLine,p.originalColumn=c.originalColumn,c.name&&(p.name=r.indexOf(c.name)),a.push(p)),i.push(p)}return _s(s.__originalMappings,Cs.compareByOriginalPositions),s},As.prototype._version=3,Object.defineProperty(As.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});const Ls=Cs.compareByGeneratedPositionsDeflatedNoLine;function Es(e,t){let s=e.length,r=e.length-t;if(!(r<=1))if(2==r){let s=e[t],r=e[t+1];Ls(s,r)>0&&(e[t]=r,e[t+1]=s)}else if(r<20)for(let r=t;r<s;r++)for(let s=r;s>t;s--){let t=e[s-1],r=e[s];if(Ls(t,r)<=0)break;e[s-1]=r,e[s]=t}else _s(e,Ls,t)}function Ns(e,t){var s=e;"string"==typeof e&&(s=Cs.parseSourceMapInput(e));var r=Cs.getArg(s,"version"),o=Cs.getArg(s,"sections");if(r!=this._version)throw new Error("Unsupported version: "+r);this._sources=new Os,this._names=new Os;var n={line:-1,column:0};this._sections=o.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var s=Cs.getArg(e,"offset"),r=Cs.getArg(s,"line"),o=Cs.getArg(s,"column");if(r<n.line||r===n.line&&o<n.column)throw new Error("Section offsets must be ordered and non-overlapping.");return n=s,{generatedOffset:{generatedLine:r+1,generatedColumn:o+1},consumer:new Ps(Cs.getArg(e,"map"),t)}}))}As.prototype._parseMappings=function(e,t){var s,r,o,n,i=1,a=0,l=0,u=0,c=0,p=0,h=e.length,f=0,d={},m=[],g=[];let y=0;for(;f<h;)if(";"===e.charAt(f))i++,f++,a=0,Es(g,y),y=g.length;else if(","===e.charAt(f))f++;else{for((s=new Ms).generatedLine=i,o=f;o<h&&!this._charIsMappingSeparator(e,o);o++);for(e.slice(f,o),r=[];f<o;)ks.decode(e,f,d),n=d.value,f=d.rest,r.push(n);if(2===r.length)throw new Error("Found a source, but no line and column");if(3===r.length)throw new Error("Found a source and line, but no column");if(s.generatedColumn=a+r[0],a=s.generatedColumn,r.length>1&&(s.source=c+r[1],c+=r[1],s.originalLine=l+r[2],l=s.originalLine,s.originalLine+=1,s.originalColumn=u+r[3],u=s.originalColumn,r.length>4&&(s.name=p+r[4],p+=r[4])),g.push(s),"number"==typeof s.originalLine){let e=s.source;for(;m.length<=e;)m.push(null);null===m[e]&&(m[e]=[]),m[e].push(s)}}Es(g,y),this.__generatedMappings=g;for(var w=0;w<m.length;w++)null!=m[w]&&_s(m[w],Cs.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...m)},As.prototype._findMapping=function(e,t,s,r,o,n){if(e[s]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[s]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return xs.search(e,t,o,n)},As.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var s=this._generatedMappings[e+1];if(t.generatedLine===s.generatedLine){t.lastGeneratedColumn=s.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},As.prototype.originalPositionFor=function(e){var t={generatedLine:Cs.getArg(e,"line"),generatedColumn:Cs.getArg(e,"column")},s=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",Cs.compareByGeneratedPositionsDeflated,Cs.getArg(e,"bias",Ps.GREATEST_LOWER_BOUND));if(s>=0){var r=this._generatedMappings[s];if(r.generatedLine===t.generatedLine){var o=Cs.getArg(r,"source",null);null!==o&&(o=this._sources.at(o),o=Cs.computeSourceURL(this.sourceRoot,o,this._sourceMapURL));var n=Cs.getArg(r,"name",null);return null!==n&&(n=this._names.at(n)),{source:o,line:Cs.getArg(r,"originalLine",null),column:Cs.getArg(r,"originalColumn",null),name:n}}}return{source:null,line:null,column:null,name:null}},As.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e})))},As.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var s=this._findSourceIndex(e);if(s>=0)return this.sourcesContent[s];var r,o=e;if(null!=this.sourceRoot&&(o=Cs.relative(this.sourceRoot,o)),null!=this.sourceRoot&&(r=Cs.urlParse(this.sourceRoot))){var n=o.replace(/^file:\/\//,"");if("file"==r.scheme&&this._sources.has(n))return this.sourcesContent[this._sources.indexOf(n)];if((!r.path||"/"==r.path)&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(t)return null;throw new Error('"'+o+'" is not in the SourceMap.')},As.prototype.generatedPositionFor=function(e){var t=Cs.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var s={source:t,originalLine:Cs.getArg(e,"line"),originalColumn:Cs.getArg(e,"column")},r=this._findMapping(s,this._originalMappings,"originalLine","originalColumn",Cs.compareByOriginalPositions,Cs.getArg(e,"bias",Ps.GREATEST_LOWER_BOUND));if(r>=0){var o=this._originalMappings[r];if(o.source===s.source)return{line:Cs.getArg(o,"generatedLine",null),column:Cs.getArg(o,"generatedColumn",null),lastColumn:Cs.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},ys.BasicSourceMapConsumer=As,Ns.prototype=Object.create(Ps.prototype),Ns.prototype.constructor=Ps,Ns.prototype._version=3,Object.defineProperty(Ns.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var s=0;s<this._sections[t].consumer.sources.length;s++)e.push(this._sections[t].consumer.sources[s]);return e}}),Ns.prototype.originalPositionFor=function(e){var t={generatedLine:Cs.getArg(e,"line"),generatedColumn:Cs.getArg(e,"column")},s=xs.search(t,this._sections,(function(e,t){var s=e.generatedLine-t.generatedOffset.generatedLine;return s||e.generatedColumn-t.generatedOffset.generatedColumn})),r=this._sections[s];return r?r.consumer.originalPositionFor({line:t.generatedLine-(r.generatedOffset.generatedLine-1),column:t.generatedColumn-(r.generatedOffset.generatedLine===t.generatedLine?r.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},Ns.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},Ns.prototype.sourceContentFor=function(e,t){for(var s=0;s<this._sections.length;s++){var r=this._sections[s].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},Ns.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var s=this._sections[t];if(-1!==s.consumer._findSourceIndex(Cs.getArg(e,"source"))){var r=s.consumer.generatedPositionFor(e);if(r)return{line:r.line+(s.generatedOffset.generatedLine-1),column:r.column+(s.generatedOffset.generatedLine===r.line?s.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},Ns.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var s=0;s<this._sections.length;s++)for(var r=this._sections[s],o=r.consumer._generatedMappings,n=0;n<o.length;n++){var i=o[n],a=r.consumer._sources.at(i.source);a=Cs.computeSourceURL(r.consumer.sourceRoot,a,this._sourceMapURL),this._sources.add(a),a=this._sources.indexOf(a);var l=null;i.name&&(l=r.consumer._names.at(i.name),this._names.add(l),l=this._names.indexOf(l));var u={source:a,generatedLine:i.generatedLine+(r.generatedOffset.generatedLine-1),generatedColumn:i.generatedColumn+(r.generatedOffset.generatedLine===i.generatedLine?r.generatedOffset.generatedColumn-1:0),originalLine:i.originalLine,originalColumn:i.originalColumn,name:l};this.__generatedMappings.push(u),"number"==typeof u.originalLine&&this.__originalMappings.push(u)}_s(this.__generatedMappings,Cs.compareByGeneratedPositionsDeflated),_s(this.__originalMappings,Cs.compareByOriginalPositions)},ys.IndexedSourceMapConsumer=Ns;var Rs={},Fs=Zt.SourceMapGenerator,$s=rs,Is=/(\r?\n)/,js="$$$isSourceNode$$$";function Us(e,t,s,r,o){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==s?null:s,this.name=null==o?null:o,this[js]=!0,null!=r&&this.add(r)}Us.fromStringWithSourceMap=function(e,t,s){var r=new Us,o=e.split(Is),n=0,i=function(){return e()+(e()||"");function e(){return n<o.length?o[n++]:void 0}},a=1,l=0,u=null;return t.eachMapping((function(e){if(null!==u){if(!(a<e.generatedLine)){var t=(s=o[n]||"").substr(0,e.generatedColumn-l);return o[n]=s.substr(e.generatedColumn-l),l=e.generatedColumn,c(u,t),void(u=e)}c(u,i()),a++,l=0}for(;a<e.generatedLine;)r.add(i()),a++;if(l<e.generatedColumn){var s=o[n]||"";r.add(s.substr(0,e.generatedColumn)),o[n]=s.substr(e.generatedColumn),l=e.generatedColumn}u=e}),this),n<o.length&&(u&&c(u,i()),r.add(o.splice(n).join(""))),t.sources.forEach((function(e){var o=t.sourceContentFor(e);null!=o&&(null!=s&&(e=$s.join(s,e)),r.setSourceContent(e,o))})),r;function c(e,t){if(null===e||void 0===e.source)r.add(t);else{var o=s?$s.join(s,e.source):e.source;r.add(new Us(e.originalLine,e.originalColumn,o,t,e.name))}}},Us.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[js]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},Us.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[js]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},Us.prototype.walk=function(e){for(var t,s=0,r=this.children.length;s<r;s++)(t=this.children[s])[js]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},Us.prototype.join=function(e){var t,s,r=this.children.length;if(r>0){for(t=[],s=0;s<r-1;s++)t.push(this.children[s]),t.push(e);t.push(this.children[s]),this.children=t}return this},Us.prototype.replaceRight=function(e,t){var s=this.children[this.children.length-1];return s[js]?s.replaceRight(e,t):"string"==typeof s?this.children[this.children.length-1]=s.replace(e,t):this.children.push("".replace(e,t)),this},Us.prototype.setSourceContent=function(e,t){this.sourceContents[$s.toSetString(e)]=t},Us.prototype.walkSourceContents=function(e){for(var t=0,s=this.children.length;t<s;t++)this.children[t][js]&&this.children[t].walkSourceContents(e);var r=Object.keys(this.sourceContents);for(t=0,s=r.length;t<s;t++)e($s.fromSetString(r[t]),this.sourceContents[r[t]])},Us.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},Us.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},s=new Fs(e),r=!1,o=null,n=null,i=null,a=null;return this.walk((function(e,l){t.code+=e,null!==l.source&&null!==l.line&&null!==l.column?(o===l.source&&n===l.line&&i===l.column&&a===l.name||s.addMapping({source:l.source,original:{line:l.line,column:l.column},generated:{line:t.line,column:t.column},name:l.name}),o=l.source,n=l.line,i=l.column,a=l.name,r=!0):r&&(s.addMapping({generated:{line:t.line,column:t.column}}),o=null,r=!1);for(var u=0,c=e.length;u<c;u++)10===e.charCodeAt(u)?(t.line++,t.column=0,u+1===c?(o=null,r=!1):r&&s.addMapping({source:l.source,original:{line:l.line,column:l.column},generated:{line:t.line,column:t.column},name:l.name})):t.column++})),this.walkSourceContents((function(e,t){s.setSourceContent(e,t)})),{code:t.code,map:s}},Rs.SourceNode=Us,Qt.SourceMapGenerator=Zt.SourceMapGenerator,Qt.SourceMapConsumer=ys.SourceMapConsumer,Qt.SourceNode=Rs.SourceNode;var Bs={nanoid:(e=21)=>{let t="",s=e;for(;s--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(s=t)=>{let r="",o=s;for(;o--;)r+=e[Math.random()*e.length|0];return r}};let{SourceMapConsumer:Ds,SourceMapGenerator:Ts}=Qt,{existsSync:qs,readFileSync:Ws}=te.default,{dirname:Gs,join:Vs}=X.default;class zs{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let s=t.map?t.map.prev:void 0,r=this.loadMap(t.from,s);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=Gs(this.mapFile)),r&&(this.text=r)}consumer(){return this.consumerCache||(this.consumerCache=new Ds(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,t){return!!e&&e.substr(0,t.length)===t}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let s=e.lastIndexOf(t.pop()),r=e.indexOf("*/",s);s>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(s,r)))}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var t;let s=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+s)}loadFile(e){if(this.root=Gs(e),qs(e))return this.mapFile=e,Ws(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof Ds)return Ts.fromSourceMap(t).toString();if(t instanceof Ts)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let s=t(e);if(s){let e=this.loadFile(s);if(!e)throw new Error("Unable to load previous source map: "+s.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=Vs(Gs(e),t)),this.loadFile(t)}}}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}}var Js=zs;zs.default=zs;let{SourceMapConsumer:Hs,SourceMapGenerator:Ys}=Qt,{fileURLToPath:Ks,pathToFileURL:Qs}=ee.default,{resolve:Zs,isAbsolute:Xs}=X.default,{nanoid:er}=Bs,tr=At,sr=Nt,rr=Js,or=Symbol("fromOffsetCache"),nr=Boolean(Hs&&Ys),ir=Boolean(Zs&&Xs);class ar{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!ir||/^\w+:\/\//.test(t.from)||Xs(t.from)?this.file=t.from:this.file=Zs(t.from)),ir&&nr){let e=new rr(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+er(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let t,s;if(this[or])s=this[or];else{let e=this.css.split("\n");s=new Array(e.length);let t=0;for(let r=0,o=e.length;r<o;r++)s[r]=t,t+=e[r].length+1;this[or]=s}t=s[s.length-1];let r=0;if(e>=t)r=s.length-1;else{let t,o=s.length-2;for(;r<o;)if(t=r+(o-r>>1),e<s[t])o=t-1;else{if(!(e>=s[t+1])){r=t;break}r=t+1}}return{line:r+1,col:e-s[r]+1}}error(e,t,s,r={}){let o,n,i;if(t&&"object"==typeof t){let e=t,r=s;if("number"==typeof t.offset){let r=this.fromOffset(e.offset);t=r.line,s=r.col}else t=e.line,s=e.column;if("number"==typeof r.offset){let e=this.fromOffset(r.offset);n=e.line,i=e.col}else n=r.line,i=r.column}else if(!s){let e=this.fromOffset(t);t=e.line,s=e.col}let a=this.origin(t,s,n,i);return o=a?new sr(e,void 0===a.endLine?a.line:{line:a.line,column:a.column},void 0===a.endLine?a.column:{line:a.endLine,column:a.endColumn},a.source,a.file,r.plugin):new sr(e,void 0===n?t:{line:t,column:s},void 0===n?s:{line:n,column:i},this.css,this.file,r.plugin),o.input={line:t,column:s,endLine:n,endColumn:i,source:this.css},this.file&&(Qs&&(o.input.url=Qs(this.file).toString()),o.input.file=this.file),o}origin(e,t,s,r){if(!this.map)return!1;let o,n,i=this.map.consumer(),a=i.originalPositionFor({line:e,column:t});if(!a.source)return!1;"number"==typeof s&&(o=i.originalPositionFor({line:s,column:r})),n=Xs(a.source)?Qs(a.source):new URL(a.source,this.map.consumer().sourceRoot||Qs(this.map.mapFile));let l={url:n.toString(),line:a.line,column:a.column,endLine:o&&o.line,endColumn:o&&o.column};if("file:"===n.protocol){if(!Ks)throw new Error("file: protocol is not available in this PostCSS build");l.file=Ks(n)}let u=i.sourceContentFor(a.source);return u&&(l.source=u),l}mapResolve(e){return/^\w+:\/\//.test(e)?e:Zs(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}var lr=ar;ar.default=ar,tr&&tr.registerInput&&tr.registerInput(ar);let{SourceMapConsumer:ur,SourceMapGenerator:cr}=Qt,{dirname:pr,resolve:hr,relative:fr,sep:dr}=X.default,{pathToFileURL:mr}=ee.default,gr=lr,yr=Boolean(ur&&cr),wr=Boolean(pr&&hr&&fr&&dr);var vr=class{constructor(e,t,s,r){this.stringify=e,this.mapOpts=s.map||{},this.root=t,this.opts=s,this.css=r}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}}));else{let e=new gr(this.css,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((e=>e.inline)))}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let s=t.source.input.from;s&&!e[s]&&(e[s]=!0,this.map.setSourceContent(this.toUrl(this.path(s)),t.source.input.css))}}));else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}applyPrevMaps(){for(let e of this.previous()){let t,s=this.toUrl(this.path(e.file)),r=e.root||pr(e.file);!1===this.mapOpts.sourcesContent?(t=new ur(e.text),t.sourcesContent&&(t.sourcesContent=t.sourcesContent.map((()=>null)))):t=e.consumer(),this.map.applySourceMap(t,s,this.toUrl(this.path(r)))}}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=cr.fromSourceMap(e)}else this.map=new cr({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>",generated:{line:1,column:0},original:{line:1,column:0}});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(e){if(0===e.indexOf("<"))return e;if(/^\w+:\/\//.test(e))return e;if(this.mapOpts.absolute)return e;let t=this.opts.to?pr(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=pr(hr(t,this.mapOpts.annotation))),e=fr(t,e)}toUrl(e){return"\\"===dr&&(e=e.replace(/\\/g,"/")),encodeURI(e).replace(/[#?]/g,encodeURIComponent)}sourcePath(e){if(this.mapOpts.from)return this.toUrl(this.mapOpts.from);if(this.mapOpts.absolute){if(mr)return mr(e.source.input.from).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}return this.toUrl(this.path(e.source.input.from))}generateString(){this.css="",this.map=new cr({file:this.outputFile()});let e,t,s=1,r=1,o="<no source>",n={source:"",generated:{line:0,column:0},original:{line:0,column:0}};this.stringify(this.root,((i,a,l)=>{if(this.css+=i,a&&"end"!==l&&(n.generated.line=s,n.generated.column=r-1,a.source&&a.source.start?(n.source=this.sourcePath(a),n.original.line=a.source.start.line,n.original.column=a.source.start.column-1,this.map.addMapping(n)):(n.source=o,n.original.line=1,n.original.column=0,this.map.addMapping(n))),e=i.match(/\n/g),e?(s+=e.length,t=i.lastIndexOf("\n"),r=i.length-t):r+=i.length,a&&"start"!==l){let e=a.parent||{raws:{}};("decl"!==a.type||a!==e.last||e.raws.semicolon)&&(a.source&&a.source.end?(n.source=this.sourcePath(a),n.original.line=a.source.end.line,n.original.column=a.source.end.column-1,n.generated.line=s,n.generated.column=r-2,this.map.addMapping(n)):(n.source=o,n.original.line=1,n.original.column=0,n.generated.line=s,n.generated.column=r-1,this.map.addMapping(n)))}}))}generate(){if(this.clearAnnotation(),wr&&yr&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}};let Sr=Jt;class br extends Sr{constructor(e){super(e),this.type="comment"}}var Cr=br;br.default=br;let xr,Or,kr,{isClean:_r,my:Pr}=Rt,Ar=Kt,Mr=Cr,Lr=Jt;function Er(e){return e.map((e=>(e.nodes&&(e.nodes=Er(e.nodes)),delete e.source,e)))}function Nr(e){if(e[_r]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)Nr(t)}class Rr extends Lr{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let t,s,r=this.getIterator();for(;this.indexes[r]<this.proxyOf.nodes.length&&(t=this.indexes[r],s=e(this.proxyOf.nodes[t],t),!1!==s);)this.indexes[r]+=1;return delete this.indexes[r],s}walk(e){return this.each(((t,s)=>{let r;try{r=e(t,s)}catch(e){throw t.addToError(e)}return!1!==r&&t.walk&&(r=t.walk(e)),r}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((s,r)=>{if("decl"===s.type&&e.test(s.prop))return t(s,r)})):this.walk(((s,r)=>{if("decl"===s.type&&s.prop===e)return t(s,r)})):(t=e,this.walk(((e,s)=>{if("decl"===e.type)return t(e,s)})))}walkRules(e,t){return t?e instanceof RegExp?this.walk(((s,r)=>{if("rule"===s.type&&e.test(s.selector))return t(s,r)})):this.walk(((s,r)=>{if("rule"===s.type&&s.selector===e)return t(s,r)})):(t=e,this.walk(((e,s)=>{if("rule"===e.type)return t(e,s)})))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((s,r)=>{if("atrule"===s.type&&e.test(s.name))return t(s,r)})):this.walk(((s,r)=>{if("atrule"===s.type&&s.name===e)return t(s,r)})):(t=e,this.walk(((e,s)=>{if("atrule"===e.type)return t(e,s)})))}walkComments(e){return this.walk(((t,s)=>{if("comment"===t.type)return e(t,s)}))}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}insertBefore(e,t){let s,r=0===(e=this.index(e))&&"prepend",o=this.normalize(t,this.proxyOf.nodes[e],r).reverse();for(let t of o)this.proxyOf.nodes.splice(e,0,t);for(let t in this.indexes)s=this.indexes[t],e<=s&&(this.indexes[t]=s+o.length);return this.markDirty(),this}insertAfter(e,t){e=this.index(e);let s,r=this.normalize(t,this.proxyOf.nodes[e]).reverse();for(let t of r)this.proxyOf.nodes.splice(e+1,0,t);for(let t in this.indexes)s=this.indexes[t],e<s&&(this.indexes[t]=s+r.length);return this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let s in this.indexes)t=this.indexes[s],t>=e&&(this.indexes[s]=t-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,t,s){return s||(s=t,t={}),this.walkDecls((r=>{t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,s))})),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,t){if("string"==typeof e)e=Er(xr(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if("root"===e.type&&"document"!==this.type){e=e.nodes.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new Ar(e)]}else if(e.selector)e=[new Or(e)];else if(e.name)e=[new kr(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new Mr(e)]}let s=e.map((e=>(e[Pr]||Rr.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[_r]&&Nr(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e)));return s}getProxyProcessor(){return{set:(e,t,s)=>(e[t]===s||(e[t]=s,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...s)=>e[t](...s.map((e=>"function"==typeof e?(t,s)=>e(t.toProxy(),s):e))):"every"===t||"some"===t?s=>e[t](((e,...t)=>s(e.toProxy(),...t))):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map((e=>e.toProxy())):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}}Rr.registerParse=e=>{xr=e},Rr.registerRule=e=>{Or=e},Rr.registerAtRule=e=>{kr=e};var Fr=Rr;Rr.default=Rr,Rr.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,kr.prototype):"rule"===e.type?Object.setPrototypeOf(e,Or.prototype):"decl"===e.type?Object.setPrototypeOf(e,Ar.prototype):"comment"===e.type&&Object.setPrototypeOf(e,Mr.prototype),e[Pr]=!0,e.nodes&&e.nodes.forEach((e=>{Rr.rebuild(e)}))};let $r,Ir,jr=Fr;class Ur extends jr{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new $r(new Ir,this,e).stringify()}}Ur.registerLazyResult=e=>{$r=e},Ur.registerProcessor=e=>{Ir=e};var Br=Ur;Ur.default=Ur;let Dr={};var Tr=function(e){Dr[e]||(Dr[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))};class qr{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}var Wr=qr;qr.default=qr;let Gr=Wr;class Vr{constructor(e,t,s){this.processor=e,this.messages=[],this.root=t,this.opts=s,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let s=new Gr(e,t);return this.messages.push(s),s}warnings(){return this.messages.filter((e=>"warning"===e.type))}get content(){return this.css}}var zr=Vr;Vr.default=Vr;let Jr=Fr;class Hr extends Jr{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}var Yr=Hr;Hr.default=Hr,Jr.registerAtRule(Hr);let Kr,Qr,Zr=Fr;class Xr extends Zr{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}removeChild(e,t){let s=this.index(e);return!t&&0===s&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[s].raws.before),super.removeChild(e)}normalize(e,t,s){let r=super.normalize(e);if(t)if("prepend"===s)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of r)e.raws.before=t.raws.before;return r}toResult(e={}){return new Kr(new Qr,this,e).stringify()}}Xr.registerLazyResult=e=>{Kr=e},Xr.registerProcessor=e=>{Qr=e};var eo=Xr;Xr.default=Xr;let to={split(e,t,s){let r=[],o="",n=!1,i=0,a=!1,l=!1;for(let s of e)l?l=!1:"\\"===s?l=!0:a?s===a&&(a=!1):'"'===s||"'"===s?a=s:"("===s?i+=1:")"===s?i>0&&(i-=1):0===i&&t.includes(s)&&(n=!0),n?(""!==o&&r.push(o.trim()),o="",n=!1):o+=s;return(s||""!==o)&&r.push(o.trim()),r},space:e=>to.split(e,[" ","\n","\t"]),comma:e=>to.split(e,[","],!0)};var so=to;to.default=to;let ro=Fr,oo=so;class no extends ro{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return oo.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,s=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(s)}}var io=no;no.default=no,ro.registerRule(no);let ao=Kt,lo=bt,uo=Cr,co=Yr,po=eo,ho=io;const fo={empty:!0,space:!0};var mo=class{constructor(e){this.input=e,this.root=new po,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=lo(this.input)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}comment(e){let t=new uo;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]);let s=e[1].slice(2,-2);if(/^\s*$/.test(s))t.text="",t.raws.left=s,t.raws.right="";else{let e=s.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}emptyRule(e){let t=new ho;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}other(e){let t=!1,s=null,r=!1,o=null,n=[],i=e[1].startsWith("--"),a=[],l=e;for(;l;){if(s=l[0],a.push(l),"("===s||"["===s)o||(o=l),n.push("("===s?")":"]");else if(i&&r&&"{"===s)o||(o=l),n.push("}");else if(0===n.length){if(";"===s){if(r)return void this.decl(a,i);break}if("{"===s)return void this.rule(a);if("}"===s){this.tokenizer.back(a.pop()),t=!0;break}":"===s&&(r=!0)}else s===n[n.length-1]&&(n.pop(),0===n.length&&(o=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),n.length>0&&this.unclosedBracket(o),t&&r){if(!i)for(;a.length&&(l=a[a.length-1][0],"space"===l||"comment"===l);)this.tokenizer.back(a.pop());this.decl(a,i)}else this.unknownWord(a)}rule(e){e.pop();let t=new ho;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}decl(e,t){let s=new ao;this.init(s,e[0][2]);let r,o=e[e.length-1];for(";"===o[0]&&(this.semicolon=!0,e.pop()),s.source.end=this.getPosition(o[3]||o[2]||function(e){for(let t=e.length-1;t>=0;t--){let s=e[t],r=s[3]||s[2];if(r)return r}}(e));"word"!==e[0][0];)1===e.length&&this.unknownWord(e),s.raws.before+=e.shift()[1];for(s.source.start=this.getPosition(e[0][2]),s.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;s.prop+=e.shift()[1]}for(s.raws.between="";e.length;){if(r=e.shift(),":"===r[0]){s.raws.between+=r[1];break}"word"===r[0]&&/\w/.test(r[1])&&this.unknownWord([r]),s.raws.between+=r[1]}"_"!==s.prop[0]&&"*"!==s.prop[0]||(s.raws.before+=s.prop[0],s.prop=s.prop.slice(1));let n,i=[];for(;e.length&&(n=e[0][0],"space"===n||"comment"===n);)i.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(r=e[t],"!important"===r[1].toLowerCase()){s.important=!0;let r=this.stringFrom(e,t);r=this.spacesFromEnd(e)+r," !important"!==r&&(s.raws.important=r);break}if("important"===r[1].toLowerCase()){let r=e.slice(0),o="";for(let e=t;e>0;e--){let t=r[e][0];if(0===o.trim().indexOf("!")&&"space"!==t)break;o=r.pop()[1]+o}0===o.trim().indexOf("!")&&(s.important=!0,s.raws.important=o,e=r)}if("space"!==r[0]&&"comment"!==r[0])break}let a=e.some((e=>"space"!==e[0]&&"comment"!==e[0]));a&&(s.raws.between+=i.map((e=>e[1])).join(""),i=[]),this.raw(s,"value",i.concat(e),t),s.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}atrule(e){let t,s,r,o=new co;o.name=e[1].slice(1),""===o.name&&this.unnamedAtrule(o,e),this.init(o,e[2]);let n=!1,i=!1,a=[],l=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?l.push("("===t?")":"]"):"{"===t&&l.length>0?l.push("}"):t===l[l.length-1]&&l.pop(),0===l.length){if(";"===t){o.source.end=this.getPosition(e[2]),this.semicolon=!0;break}if("{"===t){i=!0;break}if("}"===t){if(a.length>0){for(r=a.length-1,s=a[r];s&&"space"===s[0];)s=a[--r];s&&(o.source.end=this.getPosition(s[3]||s[2]))}this.end(e);break}a.push(e)}else a.push(e);if(this.tokenizer.endOfFile()){n=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(o.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(o,"params",a),n&&(e=a[a.length-1],o.source.end=this.getPosition(e[3]||e[2]),this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),i&&(o.nodes=[],this.current=o)}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}init(e,t){this.current.push(e),e.source={start:this.getPosition(t),input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}raw(e,t,s,r){let o,n,i,a,l=s.length,u="",c=!0;for(let e=0;e<l;e+=1)o=s[e],n=o[0],"space"!==n||e!==l-1||r?"comment"===n?(a=s[e-1]?s[e-1][0]:"empty",i=s[e+1]?s[e+1][0]:"empty",fo[a]||fo[i]||","===u.slice(-1)?c=!1:u+=o[1]):u+=o[1]:c=!1;if(!c){let r=s.reduce(((e,t)=>e+t[1]),"");e.raws[t]={value:u,raw:r}}e[t]=u}spacesAndCommentsFromEnd(e){let t,s="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)s=e.pop()[1]+s;return s}spacesAndCommentsFromStart(e){let t,s="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)s+=e.shift()[1];return s}spacesFromEnd(e){let t,s="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)s=e.pop()[1]+s;return s}stringFrom(e,t){let s="";for(let r=t;r<e.length;r++)s+=e[r][1];return e.splice(t,e.length-t),s}colon(e){let t,s,r,o=0;for(let[n,i]of e.entries()){if(t=i,s=t[0],"("===s&&(o+=1),")"===s&&(o-=1),0===o&&":"===s){if(r){if("word"===r[0]&&"progid"===r[1])continue;return n}this.doubleColon(t)}r=t}return!1}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let s,r=0;for(let o=t-1;o>=0&&(s=e[o],"space"===s[0]||(r+=1,2!==r));o--);throw this.input.error("Missed semicolon","word"===s[0]?s[3]+1:s[2])}};let go=Fr,yo=mo,wo=lr;function vo(e,t){let s=new wo(e,t),r=new yo(s);try{r.parse()}catch(e){throw"production"!==process.env.NODE_ENV&&"CssSyntaxError"===e.name&&t&&t.from&&(/\.scss$/i.test(t.from)?e.message+="\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser":/\.sass/i.test(t.from)?e.message+="\nYou tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser":/\.less$/i.test(t.from)&&(e.message+="\nYou tried to parse Less with the standard CSS parser; try again with the postcss-less parser")),e}return r.root}var So=vo;vo.default=vo,go.registerParse(vo);let{isClean:bo,my:Co}=Rt,xo=vr,Oo=Bt,ko=Fr,_o=Br,Po=Tr,Ao=zr,Mo=So,Lo=eo;const Eo={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},No={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},Ro={postcssPlugin:!0,prepare:!0,Once:!0};function Fo(e){return"object"==typeof e&&"function"==typeof e.then}function $o(e){let t=!1,s=Eo[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[s,s+"-"+t,0,s+"Exit",s+"Exit-"+t]:t?[s,s+"-"+t,s+"Exit",s+"Exit-"+t]:e.append?[s,0,s+"Exit"]:[s,s+"Exit"]}function Io(e){let t;return t="document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:$o(e),{node:e,events:t,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function jo(e){return e[bo]=!1,e.nodes&&e.nodes.forEach((e=>jo(e))),e}let Uo={};class Bo{constructor(e,t,s){let r;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof Bo||t instanceof Ao)r=jo(t.root),t.map&&(void 0===s.map&&(s.map={}),s.map.inline||(s.map.inline=!1),s.map.prev=t.map);else{let e=Mo;s.syntax&&(e=s.syntax.parse),s.parser&&(e=s.parser),e.parse&&(e=e.parse);try{r=e(t,s)}catch(e){this.processed=!0,this.error=e}r&&!r[Co]&&ko.rebuild(r)}else r=jo(t);this.result=new Ao(e,r,s),this.helpers={...Uo,result:this.result,postcss:Uo},this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e))}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,t){return"production"!==process.env.NODE_ENV&&("from"in this.opts||Po("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){if(Fo(this.runOnRoot(e)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[bo];)e[bo]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=Oo;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let s=new xo(t,this.result.root,this.result.opts).generate();return this.result.css=s[0],this.result.map=s[1],this.result}walkSync(e){e[bo]=!0;let t=$o(e);for(let s of t)if(0===s)e.nodes&&e.each((e=>{e[bo]||this.walkSync(e)}));else{let t=this.listeners[s];if(t&&this.visitSync(t,e.toProxy()))return}}visitSync(e,t){for(let[s,r]of e){let e;this.result.lastPlugin=s;try{e=r(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(Fo(e))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));return Fo(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let s=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(s.postcssVersion&&"production"!==process.env.NODE_ENV){let e=s.postcssPlugin,t=s.postcssVersion,r=this.result.processor.version,o=t.split("."),n=r.split(".");(o[0]!==n[0]||parseInt(o[1])>parseInt(n[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+r+", but "+e+" uses "+t+". Perhaps this is the source of the error below.")}}else e.plugin=s.postcssPlugin,e.setMessage()}catch(e){console&&console.error&&console.error(e)}return e}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],s=this.runOnRoot(t);if(Fo(s))try{await s}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[bo];){e[bo]=!0;let t=[Io(e)];for(;t.length>0;){let e=this.visitTick(t);if(Fo(e))try{await e}catch(e){let s=t[t.length-1].node;throw this.handleError(e,s)}}}if(this.listeners.OnceExit)for(let[t,s]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map((e=>s(e,this.helpers)));await Promise.all(t)}else await s(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(e,t,s)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,s])};for(let t of this.plugins)if("object"==typeof t)for(let s in t){if(!No[s]&&/^[A-Z]/.test(s))throw new Error(`Unknown event ${s} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!Ro[s])if("object"==typeof t[s])for(let r in t[s])e(t,"*"===r?s:s+"-"+r.toLowerCase(),t[s][r]);else"function"==typeof t[s]&&e(t,s,t[s])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let t=e[e.length-1],{node:s,visitors:r}=t;if("root"!==s.type&&"document"!==s.type&&!s.parent)return void e.pop();if(r.length>0&&t.visitorIndex<r.length){let[e,o]=r[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===r.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return o(s.toProxy(),this.helpers)}catch(e){throw this.handleError(e,s)}}if(0!==t.iterator){let r,o=t.iterator;for(;r=s.nodes[s.indexes[o]];)if(s.indexes[o]+=1,!r[bo])return r[bo]=!0,void e.push(Io(r));t.iterator=0,delete s.indexes[o]}let o=t.events;for(;t.eventIndex<o.length;){let e=o[t.eventIndex];if(t.eventIndex+=1,0===e)return void(s.nodes&&s.nodes.length&&(s[bo]=!0,t.iterator=s.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}}Bo.registerPostcss=e=>{Uo=e};var Do=Bo;Bo.default=Bo,Lo.registerLazyResult(Bo),_o.registerLazyResult(Bo);let To=vr,qo=Bt,Wo=Tr,Go=So;const Vo=zr;class zo{constructor(e,t,s){let r;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=s,this._map=void 0;let o=qo;this.result=new Vo(this._processor,r,this._opts),this.result.css=t;let n=this;Object.defineProperty(this.result,"root",{get:()=>n.root});let i=new To(o,r,this._opts,t);if(i.isMap()){let[e,t]=i.generate();e&&(this.result.css=e),t&&(this.result.map=t)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let e,t=Go;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,t){return"production"!==process.env.NODE_ENV&&("from"in this._opts||Wo("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}}var Jo=zo;zo.default=zo;let Ho=Jo,Yo=Do,Ko=Br,Qo=eo;class Zo{constructor(e=[]){this.version="8.4.14",this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,t={}){return 0===this.plugins.length&&void 0===t.parser&&void 0===t.stringifier&&void 0===t.syntax?new Ho(this,e,t):new Yo(this,e,t)}normalize(e){let t=[];for(let s of e)if(!0===s.postcss?s=s():s.postcss&&(s=s.postcss),"object"==typeof s&&Array.isArray(s.plugins))t=t.concat(s.plugins);else if("object"==typeof s&&s.postcssPlugin)t.push(s);else if("function"==typeof s)t.push(s);else{if("object"!=typeof s||!s.parse&&!s.stringify)throw new Error(s+" is not a PostCSS plugin");if("production"!==process.env.NODE_ENV)throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}return t}}var Xo=Zo;Zo.default=Zo,Qo.registerProcessor(Zo),Ko.registerProcessor(Zo);let en=Kt,tn=Js,sn=Cr,rn=Yr,on=lr,nn=eo,an=io;function ln(e,t){if(Array.isArray(e))return e.map((e=>ln(e)));let{inputs:s,...r}=e;if(s){t=[];for(let e of s){let s={...e,__proto__:on.prototype};s.map&&(s.map={...s.map,__proto__:tn.prototype}),t.push(s)}}if(r.nodes&&(r.nodes=e.nodes.map((e=>ln(e,t)))),r.source){let{inputId:e,...s}=r.source;r.source=s,null!=e&&(r.source.input=t[e])}if("root"===r.type)return new nn(r);if("decl"===r.type)return new en(r);if("rule"===r.type)return new an(r);if("comment"===r.type)return new sn(r);if("atrule"===r.type)return new rn(r);throw new Error("Unknown node type: "+e.type)}var un=ln;ln.default=ln;let cn=Nt,pn=Kt,hn=Do,fn=Fr,dn=Xo,mn=Bt,gn=un,yn=Br,wn=Wr,vn=Cr,Sn=Yr,bn=zr,Cn=lr,xn=So,On=so,kn=io,_n=eo,Pn=Jt;function An(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new dn(e)}An.plugin=function(e,t){let s,r=!1;function o(...s){console&&console.warn&&!r&&(r=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let o=t(...s);return o.postcssPlugin=e,o.postcssVersion=(new dn).version,o}return Object.defineProperty(o,"postcss",{get:()=>(s||(s=o()),s)}),o.process=function(e,t,s){return An([o(s)]).process(e,t)},o},An.stringify=mn,An.parse=xn,An.fromJSON=gn,An.list=On,An.comment=e=>new vn(e),An.atRule=e=>new Sn(e),An.decl=e=>new pn(e),An.rule=e=>new kn(e),An.root=e=>new _n(e),An.document=e=>new yn(e),An.CssSyntaxError=cn,An.Declaration=pn,An.Container=fn,An.Processor=dn,An.Document=yn,An.Comment=vn,An.Warning=wn,An.AtRule=Sn,An.Result=bn,An.Input=Cn,An.Rule=kn,An.Root=_n,An.Node=Pn,hn.registerPostcss(An);var Mn=An;async function Ln(){return new Promise((e=>{let t="",s=!1;if(setTimeout((()=>{s=!0,e("")}),1e4),process.stdin.isTTY){if(s)return;e(t)}else process.stdin.setEncoding("utf8"),process.stdin.on("readable",(()=>{let e;for(;e=process.stdin.read();)t+=e})),process.stdin.on("end",(()=>{s||e(t)}))}))}function En(e,t,s,r=null){let o=[];if(r){const e=Math.max(...Object.keys(r).map((e=>e.length))),t=new Array(e).fill(" ").join("");t.length&&(o=["\nPlugin Options:",...Object.keys(r).map((e=>` ${(e+t).slice(0,t.length)} ${typeof r[e]}`))],o.push(`\n ${JSON.stringify(r,null,2).split("\n").join("\n ")}`))}const n=[`${t}\n`,` ${s}\n`,"Usage:",` ${e} [input.css] [OPTIONS] [-o|--output output.css]`,` ${e} <input.css>... [OPTIONS] --dir <output-directory>`,` ${e} <input.css>... [OPTIONS] --replace`,"\nOptions:"," -o, --output Output file"," -d, --dir Output directory"," -r, --replace Replace (overwrite) the input file"," -m, --map Create an external sourcemap"," --no-map Disable the default inline sourcemaps"," -p, --plugin-options Stringified JSON object with plugin options"];return o.length>0&&n.push(...o),()=>{console.warn(n.join("\n"))}}async function Nn(e,t,s,r=!0){const n=function(e,t,s){const r=e.map((e=>e.trim())).filter((e=>!!e)),o={stdin:!1,stdout:!1,output:null,outputDir:null,inputs:[],inlineMap:!0,externalMap:!1,replace:!1,pluginOptions:{},debug:!1};let n=null,i=!1;for(let e=0;e<r.length;e++){const t=r[e];switch(t){case"-o":case"--output":o.output=r[e+1],e++,i=!0;break;case"-m":case"--map":o.externalMap=!0,o.inlineMap=!1,i=!0;break;case"--no-map":o.externalMap=!1,o.inlineMap=!1,i=!0;break;case"-r":case"--replace":o.replace=!0,i=!0;break;case"--debug":o.debug=!0,i=!0;break;case"-d":case"--dir":o.outputDir=r[e+1],e++,i=!0;break;case"-p":case"--plugin-options":n=r[e+1],e++,i=!0;break;default:if(0===t.indexOf("-"))return console.warn(`[error] unknown argument : ${t}\n`),s(),K.InvalidArguments;if(!i){o.inputs.push(t);break}return s(),K.InvalidArguments}}if(o.replace&&(o.output=null,o.outputDir=null),o.outputDir&&(o.output=null),o.inputs.length>1&&o.output)return console.warn('[error] omit "--output" when processing multiple inputs\n'),s(),K.InvalidArguments;0===o.inputs.length&&(o.stdin=!0),o.output||o.outputDir||o.replace||(o.stdout=!0),o.stdout&&(o.externalMap=!1);let a={};if(n)try{a=JSON.parse(n)}catch(e){return console.warn("[error] plugin options must be valid JSON\n"),s(),K.InvalidArguments}for(const e in a){const r=a[e];if(!t.includes(e))return console.warn(`[error] unknown plugin option: ${e}\n`),s(),K.InvalidArguments;o.pluginOptions[e]=r}return o}(process.argv.slice(r?2:3),t,s);n===K.InvalidArguments&&process.exit(1);const i=e(n.pluginOptions);n.stdin&&n.stdout?await async function(e,t,s){let r="";try{const o=await Ln();o||(s(),process.exit(1));const n=await Mn([e]).process(o,{from:"stdin",to:"stdout",map:!!t.inlineMap&&{inline:!0}});n.warnings().forEach((e=>{console.warn(e.toString())})),r=n.css}catch(e){console.error(t.debug?e:e.message),process.exit(1)}process.stdout.write(r+(t.inlineMap?"\n":"")),process.exit(0)}(i,n,s):n.stdin?await async function(e,t,s){let r=t.output;!r&&t.outputDir&&(r=X.default.join(t.outputDir,"output.css"));try{const n=await Ln();n||(s(),process.exit(1));const i=await Mn([e]).process(n,{from:"stdin",to:r,map:!(!t.inlineMap&&!t.externalMap)&&{inline:t.inlineMap}});i.warnings().forEach((e=>{console.warn(e.toString())})),t.externalMap&&i.map?await Promise.all([await o.promises.writeFile(r,i.css+(t.inlineMap?"\n":"")),await o.promises.writeFile(`${r}.map`,i.map.toString())]):await o.promises.writeFile(r,i.css+(t.inlineMap?"\n":""))}catch(e){console.error(t.debug?e:e.message),process.exit(1)}console.log(`CSS was written to "${X.default.normalize(r)}"`),process.exit(0)}(i,n,s):n.stdout?await async function(e,t){let s=[];try{s=await Promise.all(t.inputs.map((async t=>{const s=await o.promises.readFile(t),r=await Mn([e]).process(s,{from:t,to:"stdout",map:!1});return r.warnings().forEach((e=>{console.warn(e.toString())})),r.css})))}catch(e){console.error(t.debug?e:e.message),process.exit(1)}for(const e of s)process.stdout.write(e);process.exit(0)}(i,n):await async function(e,t){try{await Promise.all(t.inputs.map((async s=>{let r=t.output;t.outputDir&&(r=X.default.join(t.outputDir,X.default.basename(s))),t.replace&&(r=s);const n=await o.promises.readFile(s),i=await Mn([e]).process(n,{from:s,to:r,map:!(!t.inlineMap&&!t.externalMap)&&{inline:t.inlineMap}});i.warnings().forEach((e=>{console.warn(e.toString())})),t.externalMap&&i.map?await Promise.all([await o.promises.writeFile(r,i.css+(t.inlineMap?"\n":"")),await o.promises.writeFile(`${r}.map`,i.map.toString())]):await o.promises.writeFile(r,i.css+(t.inlineMap?"\n":"")),console.log(`CSS was written to "${X.default.normalize(r)}"`)})))}catch(e){console.error(t.debug?e:e.message),process.exit(1)}process.exit(0)}(i,n)}An.default=An,Mn.stringify,Mn.fromJSON,Mn.plugin,Mn.parse,Mn.list,Mn.document,Mn.comment,Mn.atRule,Mn.rule,Mn.decl,Mn.root,Mn.CssSyntaxError,Mn.Declaration,Mn.Container,Mn.Processor,Mn.Document,Mn.Comment,Mn.Warning,Mn.AtRule,Mn.Result,Mn.Input,Mn.Rule,Mn.Root,Mn.Node;var Rn={exports:{}},Fn={exports:{}};let $n=Ue.default;function In(e){let t=e.match(/([\d.-]+)(.*)/);if(t&&t[1]&&t[2]&&!isNaN(t[1]))return[parseFloat(t[1]),t[2]]}function jn(e,t,s){return e&&t&&s?`max(${e}, min(${t}, ${s}))`:e&&t?`max(${e}, ${t})`:e}function Un(e,t,s){let r=t,o=$n(t),n=$n(e.value),i=!1;n.walk(((e,t,s)=>{"function"===e.type&&"clamp"===e.value&&!i&&(i=!0,s[t]=o)})),i&&(r=n.toString()),s?e.cloneBefore({value:r}):e.value=r}Fn.exports=e=>{let t=!!(e=e||{}).precalculate&&Boolean(e.precalculate),s=!!e.preserve&&Boolean(e.preserve);return{postcssPlugin:"postcss-clamp",Declaration(e){e&&e.value.includes("clamp")&&$n(e.value).walk((r=>{let o=r.nodes;if("function"!==r.type||"clamp"!==r.value||5!==o.length)return;let n=o[0],i=o[2],a=o[4],l=jn($n.stringify(n),$n.stringify(i),$n.stringify(a));if(!t||"word"!==i.type||"word"!==a.type)return void Un(e,l,s);let u=In(i.value),c=In(a.value);if(void 0===u||void 0===c)return void Un(e,l,s);let[p,h]=u,[f,d]=c;if(h!==d)return void Un(e,l,s);let m=In(n.value);if(void 0===m){let t=`${p+f}${h}`;return void Un(e,jn($n.stringify(n),t),s)}let[g,y]=m;if(y===h)Un(e,jn(`${g+p+f}${h}`),s);else{let t=`${p+f}${h}`;Un(e,jn($n.stringify(n),t),s)}}))}}},Fn.exports.postcss=!0;var Bn={exports:{}};const Dn=new Set(["inherit","initial","revert","unset"]);Bn.exports=({preserve:e=!1}={})=>({postcssPlugin:"postcss-opacity-percentage",Declaration:{opacity:t=>{t.value&&!t.value.startsWith("var(")&&t.value.endsWith("%")&&!Dn.has(t.value)&&(t.cloneBefore({value:String(Number.parseFloat(t.value)/100)}),e||t.remove())}}}),Bn.exports.postcss=!0;var Tn=Ee.default,qn=Ne.default,Wn=Re.default,Gn=te.default,Vn=X.default,zn=Fe.default,Jn=$e.default,Hn=Ie.default,Yn=Q.default,Kn=je.default,Qn=ne.default,Zn=oe.default,Xn=Fn.exports,ei=ie.default,ti=ae.default,si=ce.default,ri=pe.default,oi=he.default,ni=fe.default,ii=Pe.default,ai=de.default,li=me.default,ui=ge.default,ci=ye.default,pi=we.default,hi=Be.default,fi=ve.default,di=se.default,mi=le.default,gi=Se.default,yi=be.default,wi=Ce.default,vi=xe.default,Si=Oe.default,bi=ke.default,Ci=De.default,xi=_e.default,Oi=Te.default,ki=Ae.default,_i=Bn.exports,Pi=Me.default,Ai=qe.default,Mi=Le.default,Li=re.default,Ei=ue.default,Ni=We.default,Ri=Ge.default,Fi=Ve.default;function $i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var Ii=$i(Tn),ji=$i(qn),Ui=$i(Wn),Bi=$i(Gn),Di=$i(Vn),Ti=$i(zn),qi=$i(Jn),Wi=$i(Hn),Gi=$i(Yn),Vi=$i(Kn),zi=$i(Qn),Ji=$i(Zn),Hi=$i(Xn),Yi=$i(ei),Ki=$i(ti),Qi=$i(si),Zi=$i(ri),Xi=$i(oi),ea=$i(ni),ta=$i(ii),sa=$i(ai),ra=$i(li),oa=$i(ui),na=$i(ci),ia=$i(pi),aa=$i(hi),la=$i(fi),ua=$i(di),ca=$i(mi),pa=$i(gi),ha=$i(yi),fa=$i(wi),da=$i(vi),ma=$i(Si),ga=$i(bi),ya=$i(Ci),wa=$i(xi),va=$i(Oi),Sa=$i(ki),ba=$i(_i),Ca=$i(Pi),xa=$i(Ai),Oa=$i(Mi),ka=$i(Li),_a=$i(Ei),Pa=$i(Ni),Aa=$i(Ri),Ma=$i(Fi);const La={"blank-pseudo-class":"https://github.com/csstools/postcss-plugins/blob/main/plugins/css-blank-pseudo/README-BROWSER.md","focus-visible-pseudo-class":"https://github.com/WICG/focus-visible","focus-within-pseudo-class":"https://github.com/jsxtools/focus-within/blob/master/README-BROWSER.md","has-pseudo-class":"https://github.com/csstools/postcss-plugins/blob/main/plugins/css-has-pseudo/README-BROWSER.md","prefers-color-scheme-query":"https://github.com/csstools/postcss-plugins/blob/main/plugins/css-prefers-color-scheme/README-BROWSER.md"},Ea=["blank-pseudo-class","focus-visible-pseudo-class","focus-within-pseudo-class","has-pseudo-class","prefers-color-scheme-query"];function Na(e,t){return`\n\t${e}: {\n${Object.keys(t).reduce(((e,s)=>(e.push(`\t\t'${ja(s)}': '${ja(t[s])}'`),e)),[]).join(",\n")}\n\t}`}function Ra(e,t){return`export const ${e} = {\n${Object.keys(t).reduce(((e,s)=>(e.push(`\t'${ja(s)}': '${ja(t[s])}'`),e)),[]).join(",\n")}\n};\n`}function Fa(e,t){return Promise.all([].concat(t).map((async t=>{if(t instanceof Function)await t({customMedia:$a(e.customMedia),customProperties:$a(e.customProperties),customSelectors:$a(e.customSelectors)});else{const s=t===Object(t)?t:{to:String(t)},r=s.toJSON||$a;if("customMedia"in s||"customProperties"in s||"customSelectors"in s)s.customMedia=r(e.customMedia),s.customProperties=r(e.customProperties),s.customSelectors=r(e.customSelectors);else if("custom-media"in s||"custom-properties"in s||"custom-selectors"in s)s["custom-media"]=r(e.customMedia),s["custom-properties"]=r(e.customProperties),s["custom-selectors"]=r(e.customSelectors);else{const t=String(s.to||""),o=(s.type||Di.default.extname(s.to).slice(1)).toLowerCase(),n=r(e.customMedia),i=r(e.customProperties),a=r(e.customSelectors);"css"===o&&await async function(e,t,s,r){const o=function(e){return`:root {\n${Object.keys(e).reduce(((t,s)=>(t.push(`\t${s}: ${e[s]};`),t)),[]).join("\n")}\n}\n`}(s),n=function(e){return`${Object.keys(e).reduce(((t,s)=>(t.push(`@custom-media ${s} ${e[s]};`),t)),[]).join("\n")}\n`}(t),i=function(e){return`${Object.keys(e).reduce(((t,s)=>(t.push(`@custom-selector ${s} ${e[s]};`),t)),[]).join("\n")}\n`}(r),a=`${n}\n${i}\n${o}`;await Ia(e,a)}(t,n,i,a),"js"===o&&await async function(e,t,s,r){const o=`module.exports = {${Na("customMedia",t)},${Na("customProperties",s)},${Na("customSelectors",r)}\n};\n`;await Ia(e,o)}(t,n,i,a),"json"===o&&await async function(e,t,s,r){const o=`${JSON.stringify({"custom-media":t,"custom-properties":s,"custom-selectors":r},null," ")}\n`;await Ia(e,o)}(t,n,i,a),"mjs"===o&&await async function(e,t,s,r){const o=`${Ra("customMedia",t)}\n${Ra("customProperties",s)}\n${Ra("customSelectors",r)}`;await Ia(e,o)}(t,n,i,a)}}})))}function $a(e){return Object.keys(e).reduce(((t,s)=>(t[s]=String(e[s]),t)),{})}function Ia(e,t){return new Promise(((s,r)=>{Bi.default.writeFile(e,t,(e=>{e?r(e):s()}))}))}function ja(e){return e.replace(/\\([\s\S])|(')/g,"\\$1$2").replace(/\n/g,"\\n").replace(/\r/g,"\\r")}function Ua(e,t){if(!e)return!1;if("string"==typeof e)return!0;if(Array.isArray(e)){for(let s=0;s<e.length;s++){if("string"==typeof e[s])return!0;if(e[s]&&t in Object(e[s]))return!0}return!1}return t in Object(e)}function Ba(e,t,s){return Math.max(e,Math.min(t,s))}const Da=Symbol("insertBefore"),Ta=Symbol("insertAfter"),qa=Symbol("insertOrder"),Wa=Symbol("plugin");function Ga(e,t,s){if("insertBefore"!==s&&"insertAfter"!==s)return[];const r="insertBefore"===s?Da:Ta,o=[];for(const s in t){if(!Object.hasOwnProperty.call(t,s))continue;if(!e.find((e=>e.id===s)))continue;let n=t[s];Array.isArray(n)||(n=[n]);for(let e=0;e<n.length;e++)o.push({id:s,[Wa]:n[e],[qa]:e,[r]:!0})}return o}var Va=["custom-media-queries","custom-properties","environment-variables","image-set-function","media-query-ranges","prefers-color-scheme-query","nesting-rules","custom-selectors","any-link-pseudo-class","case-insensitive-attributes","focus-visible-pseudo-class","focus-within-pseudo-class","not-pseudo-class","logical-properties-and-values","dir-pseudo-class","all-property","color-functional-notation","double-position-gradients","hexadecimal-alpha-notation","hwb-function","lab-function","rebeccapurple-color","blank-pseudo-class","break-properties","font-variant-property","is-pseudo-class","has-pseudo-class","gap-properties","overflow-property","overflow-wrap-property","place-properties","system-ui-font-family","cascade-layers","stepped-value-functions","trigonometric-functions"];function za(){return{postcssPlugin:"postcss-system-ui-font",Declaration(e){Ja.test(e.prop)&&(e.value.includes(Ya.join(", "))||(e.value=e.value.replace(Ka,Qa)))}}}za.postcss=!0;const Ja=/(?:^(?:-|\\002d){2})|(?:^font(?:-family)?$)/i,Ha="[\\f\\n\\r\\x09\\x20]",Ya=["system-ui","-apple-system","Segoe UI","Roboto","Ubuntu","Cantarell","Noto Sans","sans-serif"],Ka=new RegExp(`(^|,|${Ha}+)(?:system-ui${Ha}*)(?:,${Ha}*(?:${Ya.join("|")})${Ha}*)?(,|$)`,"i"),Qa=`$1${Ya.join(", ")}$2`,Za=new Map([["all-property",qi.default],["any-link-pseudo-class",Wi.default],["blank-pseudo-class",Gi.default],["break-properties",Vi.default],["cascade-layers",zi.default],["case-insensitive-attributes",Ji.default],["clamp",Hi.default],["color-function",Yi.default],["color-functional-notation",Ki.default],["custom-media-queries",Qi.default],["custom-properties",Zi.default],["custom-selectors",Xi.default],["dir-pseudo-class",ea.default],["display-two-values",ta.default],["double-position-gradients",sa.default],["environment-variables",ra.default],["focus-visible-pseudo-class",oa.default],["focus-within-pseudo-class",na.default],["font-format-keywords",ia.default],["font-variant-property",aa.default],["gap-properties",la.default],["has-pseudo-class",ua.default],["hexadecimal-alpha-notation",ca.default],["hwb-function",pa.default],["ic-unit",ha.default],["image-set-function",fa.default],["is-pseudo-class",da.default],["lab-function",ma.default],["logical-properties-and-values",ga.default],["media-query-ranges",ya.default],["nesting-rules",wa.default],["not-pseudo-class",va.default],["oklab-function",Sa.default],["opacity-percentage",ba.default],["overflow-property",Ca.default],["overflow-wrap-property",xa.default],["place-properties",Oa.default],["prefers-color-scheme-query",ka.default],["rebeccapurple-color",_a.default],["stepped-value-functions",Pa.default],["system-ui-font-family",za],["trigonometric-functions",Aa.default],["unset-value",Ma.default]]);const Xa=["ie","edge","firefox","chrome","safari","opera","ios_saf","android","op_mob","and_chr","and_ff","and_uc","samsung","and_qq","baidu","kaios"];function el(e){if(!e)return[];if(!("browser_support"in e))return["> 0%"];const t=[];return Xa.forEach((s=>{const r=e.browser_support[s];"string"==typeof r&&/^[0-9|.]+$/.test(r)?t.push(`${s} < ${e.browser_support[s]}`):t.push(`${s} >= 1`)})),t}function tl(e,t,s,r){const o=Object(t.features),n=!("enableClientSidePolyfills"in t)||t.enableClientSidePolyfills,i=Object(t.insertBefore),a=Object(t.insertAfter),l=t.browsers,u=Ba(0,function(e){const t=parseInt(e,10);return Number.isNaN(t)?0:t}(t.minimumVendorImplementations),3);u>0&&r.log(`Using features with ${u} or more vendor implementations`);const c=function(e,t){let s=2;if(void 0===e.stage)return t.log(`Using features from Stage ${s} (default)`),s;if(!1===e.stage)s=5;else{let t=parseInt(e.stage,10);Number.isNaN(t)&&(t=0),s=Ba(0,t,5)}return 5===s?t.log('Stage has been disabled, features will be handled via the "features" option.'):t.log(`Using features from Stage ${s}`),s}(t,r);2===c&&s&&!1===s.preserve&&(e=JSON.parse(JSON.stringify(e))).forEach((e=>{("blank-pseudo-class"===e.id||"prefers-color-scheme-query"===e.id)&&(e.stage=1)}));const p=function(e,t,s){return e.concat(Ga(e,t,"insertBefore"),Ga(e,s,"insertAfter")).filter((e=>function(e){return!!e[Da]||!!e[Ta]||!!Za.has(e.id)}(e))).sort(((e,t)=>function(e,t){return e.id===t.id?e[Da]&&t[Da]||e[Ta]&&t[Ta]?Ba(-1,e[qa]-t[qa],1):e[Da]||t[Ta]?-1:e[Ta]||t[Da]?1:0:Ba(-1,Va.indexOf(e.id)-Va.indexOf(t.id),1)}(e,t)))}(e,i,a).map((e=>function(e){const t=el(e);if(e[Da]||e[Ta]){let s=e.id;return s=e.insertBefore?`before-${s}`:`after-${s}`,{browsers:t,vendors_implementations:e.vendors_implementations,plugin:e[Wa],id:s,stage:6}}return{browsers:t,vendors_implementations:e.vendors_implementations,plugin:Za.get(e.id),id:e.id,stage:e.stage}}(e))).filter((e=>0===u||!(!e[Da]&&!e[Ta])||u<=e.vendors_implementations||(o[e.id]?(r.log(` ${e.id} does not meet the required vendor implementations but has been enabled by options`),!0):(r.log(` ${e.id} with ${e.vendors_implementations} vendor implementations has been disabled`),!1)))).filter((e=>{const t=e.stage>=c,s=n||!Ea.includes(e.id),i=!1===o[e.id],a=o[e.id]?o[e.id]:t&&s;return i?r.log(` ${e.id} has been disabled by options`):t?s||r.log(` ${e.id} has been disabled by "enableClientSidePolyfills: false".`):a?r.log(` ${e.id} does not meet the required stage but has been enabled by options`):r.log(` ${e.id} with stage ${e.stage} has been disabled`),a})).map((t=>function(e,t,s,r,o,n){let i,a;return i=function(e,t,s,r){const o=Ti.default(e,{ignoreUnknownVersions:!0});switch(t.id){case"is-pseudo-class":return{onComplexSelector:"warning"};case"nesting-rules":return function(e,t){const s=el(e);return!!t.some((e=>Ti.default(s,{ignoreUnknownVersions:!0}).some((t=>t===e))))}(s.find((e=>"is-pseudo-class"===e.id)),o)?(r.log('Disabling :is on "nesting-rules" due to lack of browser support.'),{noIsPseudoSelector:!0}):{};case"any-link-pseudo-class":return o.find((e=>e.startsWith("ie ")||e.startsWith("edge ")))?(r.log('Adding area[href] fallbacks for ":any-link" support in Edge and IE.'),{subFeatures:{areaHrefNeedsFixing:!0}}):{};default:return{}}}(t,r,e,n),!0===s[r.id]?o&&(i=Object.assign({},i,o)):i=o?Object.assign({},i,o,s[r.id]):Object.assign({},i,s[r.id]),i.enableProgressiveCustomProperties=!1,a=r.plugin.postcss&&"function"==typeof r.plugin?r.plugin(i):r.plugin&&r.plugin.default&&"function"==typeof r.plugin.default&&r.plugin.default.postcss?r.plugin.default(i):r.plugin,{browsers:r.browsers,vendors_implementations:r.vendors_implementations,plugin:a,pluginOptions:i,id:r.id}}(e,l,o,t,s,r))),h=Ti.default(l,{ignoreUnknownVersions:!0});return p.filter((e=>{if(e.id in o)return o[e.id];if(function(e){if("importFrom"in Object(e.pluginOptions))switch(e.id){case"custom-media-queries":if(Ua(e.pluginOptions.importFrom,"customMedia"))return!0;break;case"custom-properties":if(Ua(e.pluginOptions.importFrom,"customProperties"))return!0;break;case"environment-variables":if(Ua(e.pluginOptions.importFrom,"environmentVariables"))return!0;break;case"custom-selectors":if(Ua(e.pluginOptions.importFrom,"customSelectors"))return!0}if("exportTo"in Object(e.pluginOptions))switch(e.id){case"custom-media-queries":if(Ua(e.pluginOptions.exportTo,"customMedia"))return!0;break;case"custom-properties":if(Ua(e.pluginOptions.exportTo,"customProperties"))return!0;break;case"environment-variables":if(Ua(e.pluginOptions.exportTo,"environmentVariables"))return!0;break;case"custom-selectors":if(Ua(e.pluginOptions.exportTo,"customSelectors"))return!0}return!1}(e))return!0;const t=Ti.default(e.browsers,{ignoreUnknownVersions:!0}),s=h.some((e=>t.some((t=>t===e))));return s||r.log(`${e.id} disabled due to browser support`),s}))}class sl{constructor(){this.logs=[]}log(e){this.logs.push(e)}resetLogger(){this.logs.length=0}dumpLogs(e){e&&this.logs.forEach((t=>e.warn(t))),this.resetLogger()}}var rl=[{packageName:"css-blank-pseudo",id:"blank-pseudo-class",importName:"postcssBlankPseudo"},{packageName:"css-has-pseudo",id:"has-pseudo-class",importName:"postcssHasPseudo"},{packageName:"css-prefers-color-scheme",id:"prefers-color-scheme-query",importName:"postcssPrefersColorScheme"},{packageName:"postcss-attribute-case-insensitive",id:"case-insensitive-attributes",importName:"postcssAttributeCaseInsensitive"},{packageName:"postcss-clamp",id:"clamp",importName:"postcssClamp"},{packageName:"@csstools/postcss-color-function",id:"color-function",importName:"postcssColorFunction"},{packageName:"postcss-color-functional-notation",id:"color-functional-notation",importName:"postcssColorFunctionalNotation"},{packageName:"postcss-color-hex-alpha",id:"hexadecimal-alpha-notation",importName:"postcssColorHexAlpha"},{packageName:"postcss-color-rebeccapurple",id:"rebeccapurple-color",importName:"postcssColorRebeccapurple"},{packageName:"postcss-custom-media",id:"custom-media-queries",importName:"postcssCustomMedia"},{packageName:"postcss-custom-properties",id:"custom-properties",importName:"postcssCustomProperties"},{packageName:"postcss-custom-selectors",id:"custom-selectors",importName:"postcssCustomSelectors"},{packageName:"postcss-dir-pseudo-class",id:"dir-pseudo-class",importName:"postcssDirPseudoClass"},{packageName:"postcss-double-position-gradients",id:"double-position-gradients",importName:"postcssDoublePositionGradients"},{packageName:"postcss-env-function",id:"environment-variables",importName:"postcssEnvFunction"},{packageName:"postcss-focus-visible",id:"focus-visible-pseudo-class",importName:"postcssFocusVisible"},{packageName:"postcss-focus-within",id:"focus-within-pseudo-class",importName:"postcssFocusWithin"},{packageName:"@csstools/postcss-font-format-keywords",id:"font-format-keywords",importName:"postcssFontFormatKeywords"},{packageName:"postcss-font-variant",id:"font-variant-property",importName:"postcssFontVariant"},{packageName:"postcss-gap-properties",id:"gap-properties",importName:"postcssGapProperties"},{packageName:"@csstools/postcss-hwb-function",id:"hwb-function",importName:"postcssHWBFunction"},{packageName:"@csstools/postcss-ic-unit",id:"ic-unit",importName:"postcssICUnit"},{packageName:"postcss-image-set-function",id:"image-set-function",importName:"postcssImageSetFunction"},{packageName:"postcss-initial",id:"all-property",importName:"postcssInitial"},{packageName:"@csstools/postcss-is-pseudo-class",id:"is-pseudo-class",importName:"postcssIsPseudoClass"},{packageName:"postcss-lab-function",id:"lab-function",importName:"postcssLabFunction"},{packageName:"postcss-logical",id:"logical-properties-and-values",importName:"postcssLogical"},{packageName:"postcss-media-minmax",id:"media-query-ranges",importName:"postcssMediaMinmax"},{packageName:"postcss-nesting",id:"nesting-rules",importName:"postcssNesting"},{packageName:"@csstools/postcss-normalize-display-values",id:"display-two-values",importName:"postcssNormalizeDisplayValues"},{packageName:"@csstools/postcss-oklab-function",id:"oklab-function",importName:"postcssOKLabFunction"},{packageName:"postcss-opacity-percentage",id:"opacity-percentage",importName:"postcssOpacityPercentage"},{packageName:"postcss-overflow-shorthand",id:"overflow-property",importName:"postcssOverflowShorthand"},{packageName:"postcss-page-break",id:"break-properties",importName:"postcssPageBreak"},{packageName:"postcss-place",id:"place-properties",importName:"postcssPlace"},{packageName:"postcss-pseudo-class-any-link",id:"any-link-pseudo-class",importName:"postcssPseudoClassAnyLink"},{packageName:"postcss-replace-overflow-wrap",id:"overflow-wrap-property",importName:"postcssReplaceOverflowWrap"},{packageName:"postcss-selector-not",id:"not-pseudo-class",importName:"postcssSelectorNot"},{packageName:"@csstools/postcss-stepped-value-functions",id:"stepped-value-functions",importName:"postcssSteppedValueFunctions"},{packageName:"postcss-system-ui-font-family",importedPackage:"../patch/postcss-system-ui-font-family.mjs",id:"system-ui-font-family",importName:"postcssFontFamilySystemUI"},{packageName:"@csstools/postcss-unset-value",id:"unset-value",importName:"postcssUnsetValue"},{packageName:"@csstools/postcss-cascade-layers",id:"cascade-layers",importName:"postcssCascadeLayers"},{packageName:"@csstools/postcss-trigonometric-functions",id:"trigonometric-functions",importName:"postcssTrigonometricFunctions"}];function ol(e,t){let s="unknown",r=1/0;for(let o=0;o<t.length;o++){const n=nl(e,t[o]);n<r&&(r=n,s=t[o])}return{mostSimilar:s,distance:r}}function nl(e,t){if(!e.length)return t.length;if(!t.length)return e.length;const s=[];for(let r=0;r<=t.length;r++){s[r]=[r];for(let o=1;o<=e.length;o++)s[r][o]=0===r?o:Math.min(s[r-1][o]+1,s[r][o-1]+1,s[r-1][o-1]+(e[o-1]===t[r-1]?0:1))}return s[t.length][e.length]}const il=e=>{const t=new sl,s=Object(e),r=Object.keys(Object(s.features)),o=s.browsers,n=function(e){if("importFrom"in e||"exportTo"in e||"preserve"in e){const t={};return"importFrom"in e&&(t.importFrom=e.importFrom),"exportTo"in e&&(t.exportTo={customMedia:{},customProperties:{},customSelectors:{}}),"preserve"in e&&(t.preserve=e.preserve),t}return!1}(s),i=tl(ji.default,s,n,t),a=i.map((e=>e.plugin));!1!==s.autoprefixer&&a.push(Ii.default(Object.assign({overrideBrowserslist:o},s.autoprefixer))),a.push(Ui.default()),function(e,t,s){if(t.debug){s.log("Enabling the following feature(s):");const t=[];e.forEach((e=>{e.id.startsWith("before")||e.id.startsWith("after")?s.log(` ${e.id} (injected via options)`):s.log(` ${e.id}`),void 0!==La[e.id]&&t.push(e.id)})),t.length&&(s.log("These feature(s) need a browser library to work:"),t.forEach((e=>s.log(` ${e}: ${La[e]}`))))}}(i,s,t);const l=()=>({postcssPlugin:"postcss-preset-env",OnceExit:function(o,{result:i}){(function(e,t,s){const r=rl.map((e=>e.id)),o=rl.map((e=>e.packageName)),n=function(){const e={};return rl.forEach((t=>{e[t.packageName]=t.id})),e}();e.forEach((e=>{if(r.includes(e))return;const i=ol(e,r),a=ol(e,o);Math.min(i.distance,a.distance)>10?t.warn(s`Unknown feature: "${e}", see the list of features https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/FEATURES.md`):i.distance<a.distance?t.warn(s,`Unknown feature: "${e}", did you mean: "${i.mostSimilar}"`):t.warn(s,`Unknown feature: "${e}", did you mean: "${n[a.mostSimilar]}"`)}))})(r,o,i),s.debug&&t.dumpLogs(i),t.resetLogger(),s.exportTo&&Fa(n.exportTo,e.exportTo)}});return l.postcss=!0,{postcssPlugin:"postcss-preset-env",plugins:[...a,l()]}};il.postcss=!0,Rn.exports=il,function(){var e;switch(null!=(e=process.argv[2])&&e){case"css-blank-pseudo":return void Nn(Q.default,["preserve","replaceWith"],En("@csstools/cli css-blank-pseudo","PostCSS Blank Pseudo","Lets you style form elements when they are empty, following the Selectors Level 4 specification.",{preserve:!0,replaceWith:".css-blank"}),!1);case"css-has-pseudo":return void Nn(se.default,["preserve"],En("@csstools/cli css-has-pseudo","PostCSS Has Pseudo","Transforms CSS with :has {}",{preserve:!0}),!1);case"css-prefers-color-scheme":return void Nn(re.default,["preserve","mediaQuery"],En("@csstools/cli css-prefers-color-scheme","Prefers Color Scheme","Lets you use light and dark color schemes in all browsers, following the Media Queries specification.",{preserve:!0,mediaQuery:"color|color-index"}),!1);case"postcss-attribute-case-insensitive":return void Nn(oe.default,[],En("@csstools/cli postcss-attribute-case-insensitive","PostCSS Attribute Case Insensitive","Enables support for Case Insensitive Attribute matching in selectors"),!1);case"postcss-cascade-layers":return void Nn(ne.default,[],En("@csstools/cli postcss-cascade-layers","PostCSS Cascade Layers","Lets you use `@layer` following the Cascade Layers Specification."),!1);case"postcss-color-function":return void Nn(ie.default,["preserve","enableProgressiveCustomProperties"],En("@csstools/cli postcss-color-function","PostCSS Color Function","Lets you use the color() function in CSS.",{preserve:!0,enableProgressiveCustomProperties:!1}),!1);case"postcss-color-functional-notation":return void Nn(ae.default,["preserve"],En("@csstools/cli postcss-color-functional-notation","PostCSS Color Functional Notation","Lets you use space and slash separated color notation in CSS, following the CSS Color specification.",{preserve:!0}),!1);case"postcss-color-hex-alpha":return void Nn(le.default,["preserve"],En("@csstools/cli postcss-color-hex-alpha","PostCSS Color Hex Alpha","Lets you use 4 & 8 character hex color notation in CSS, following the CSS Color Module specification.",{preserve:!0}),!1);case"postcss-color-rebeccapurple":return void Nn(ue.default,["preserve"],En("@csstools/cli postcss-color-rebeccapurple","PostCSS RebeccaPurple","Lets you use the rebeccapurple color keyword in CSS.",{preserve:!0}),!1);case"postcss-custom-media":return void Nn(ce.default,["importFrom","exportTo","preserve"],En("@csstools/cli postcss-custom-media","PostCSS Custom Media","Lets you define @custom-media in CSS following the Custom Media Specification",{importFrom:["import-media.js"],exportTo:["export-media.js"],preserve:!0}),!1);case"postcss-custom-properties":return void Nn(pe.default,["importFrom","exportTo","preserve"],En("@csstools/cli postcss-custom-properties","PostCSS Custom Properties","Lets you use Custom Properties in CSS, following the CSS Custom Properties specification.",{importFrom:["import-variables.js"],exportTo:["export-variables.js"],preserve:!0}),!1);case"postcss-custom-selectors":return void Nn(he.default,["importFrom","exportTo","preserve"],En("@csstools/cli postcss-custom-selectors","PostCSS Custom Selectors","Lets you define @custom-selector in CSS following the Custom Selectors Specification",{importFrom:["import-selectors.js"],exportTo:["export-selectors.js"],preserve:!0}),!1);case"postcss-dir-pseudo-class":return void Nn(fe.default,["dir","preserve","shadow"],En("@csstools/cli postcss-dir-pseudo-class","PostCSS Dir Pseudo Class","Lets you style by directionality using the `:dir()` pseudo-class in CSS",{dir:"ltr",preserve:!0,shadow:!0}),!1);case"postcss-double-position-gradients":return void Nn(de.default,["preserve","enableProgressiveCustomProperties"],En("@csstools/cli postcss-double-position-gradients","PostCSS Double Position Gradients","Lets you use double-position gradients in CSS, following the CSS Image Values and Replaced Content specification",{preserve:!0,enableProgressiveCustomProperties:!1}),!1);case"postcss-env-function":return void Nn(me.default,["importFrom"],En("@csstools/cli postcss-env-function","PostCSS Environment Variables","Lets you use `env()` variables in CSS, following the CSS Environment Variables specification.",{importFrom:["import-variables.js"]}),!1);case"postcss-focus-visible":return void Nn(ge.default,["preserve","replaceWith"],En("@csstools/cli postcss-focus-visible","PostCSS Focus Visible","Lets you use the `:focus-visible` pseudo-class in CSS, following the Selectors Level 4 specification.",{preserve:!0,replaceWith:".focus-visible"}),!1);case"postcss-focus-within":return void Nn(ye.default,["preserve","replaceWith"],En("@csstools/cli postcss-focus-within","PostCSS Focus Within","Lets you use the `:focus-within` pseudo-class in CSS, following the Selectors Level 4 specification.",{preserve:!0,replaceWith:".focus-within"}),!1);case"postcss-font-format-keywords":return void Nn(we.default,["preserve"],En("@csstools/cli postcss-font-format-keywords","PostCSS Font Format Keyword","Lets you use unquoted format on @font-face CSS definitions.",{preserve:!0}),!1);case"postcss-gap-properties":return void Nn(ve.default,["preserve"],En("@csstools/cli postcss-gap-properties","PostCSS Gap Properties","Lets you use the gap, column-gap, and row-gap shorthand properties in CSS, following the CSS Grid Layout specification.",{preserve:!0}),!1);case"postcss-hwb-function":return void Nn(Se.default,["preserve"],En("@csstools/cli postcss-hwb-function","PostCSS HWB function","Convert hwb() to rgb()",{preserve:!0}),!1);case"postcss-ic-unit":return void Nn(be.default,["preserve","enableProgressiveCustomProperties"],En("@csstools/cli postcss-ic-unit","PostCSS IC Unit","Lets you use the ic length unit.",{preserve:!0,enableProgressiveCustomProperties:!1}),!1);case"postcss-image-set-function":return void Nn(Ce.default,["oninvalid","preserve"],En("@csstools/cli postcss-image-set-function","PostCSS Image Set Function","Lets you display resolution-dependent images using the image-set() function in CSS, following the CSS Images specification.",{preserve:!0,oninvalid:"ignore|warn|throw"}),!1);case"postcss-is-pseudo-class":return void Nn(xe.default,["onComplexSelector","preserve","specificityMatchingName"],En("@csstools/cli postcss-is-pseudo-class","PostCSS Is Pseudo Class","Lets you use the :is pseudo class function, following the CSS Selector specification.",{onComplexSelector:"warning",preserve:!0,specificityMatchingName:"does-not-exist"}),!1);case"postcss-lab-function":return void Nn(Oe.default,["preserve","enableProgressiveCustomProperties","subFeatures"],En("@csstools/cli postcss-lab-function","PostCSS Lab function","Convert lab() to rgb()",{preserve:!0,enableProgressiveCustomProperties:!1,subFeatures:{displayP3:!1}}),!1);case"postcss-logical":return void Nn(ke.default,["dir","preserve"],En("@csstools/cli postcss-logical","PostCSS Logical","Lets you use logical, rather than physical, direction and dimension mappings in CSS, following the CSS Logical Properties and Values specification.",{dir:"ltr|rtl",preserve:!0}),!1);case"postcss-nesting":return void Nn(_e.default,["noIsPseudoSelector"],En("@csstools/cli postcss-nesting","PostCSS Nesting","Lets you nest style rules inside each other, following the CSS Nesting specification.",{noIsPseudoSelector:!0}),!1);case"postcss-normalize-display-values":return void Nn(Pe.default,["preserve"],En("@csstools/cli postcss-normalize-display-values","PostCSS Normalize Display Values","Lets you use two values display syntax for inner and outer display types.",{preserve:!0}),!1);case"postcss-oklab-function":return void Nn(Ae.default,["preserve","enableProgressiveCustomProperties","subFeatures"],En("@csstools/cli postcss-oklab-function","PostCSS OKLab Function","Lets you use oklab() and oklch() color functions in CSS.",{preserve:!0,enableProgressiveCustomProperties:!1,subFeatures:{displayP3:!1}}),!1);case"postcss-overflow-shorthand":return void Nn(Me.default,["preserve"],En("@csstools/cli postcss-overflow-shorthand","PostCSS Overflow Shorthand","Lets you use the `overflow` shorthand in CSS, following the CSS Overflow specification.",{preserve:!0}),!1);case"postcss-place":return void Nn(Le.default,["preserve"],En("@csstools/cli postcss-place","PostCSS Place","Lets you use place-* properties as shorthands for align-* and justify-*, following the CSS Box Alignment specification.",{preserve:!0}),!1);case"postcss-preset-env":return void Nn(Rn.exports,["stage","minimumVendorImplementations","features","browsers","autoprefixer","preserve","importFrom","exportTo","enableClientSidePolyfills"],En("@csstools/cli postcss-preset-env","PostCSS Preset Env","Lets you convert modern CSS into something most browsers can understand, determining the polyfills you need based on your targeted browsers or runtime environments.",{stage:0,minimumVendorImplementations:2,features:{"blank-pseudo-class":{preserve:!1},"color-functional-notation":{preserve:!0}},browsers:"last 2 versions",autoprefixer:{grid:!0},preserve:!1,importFrom:"path/to/file.css",exportTo:"path/to/file.css",enableClientSidePolyfills:!1}),!1);case"postcss-pseudo-class-any-link":return void Nn(Ie.default,["preserve"],En("@csstools/cli postcss-pseudo-class-any-link","PostCSS Pseudo Class Any Link","Lets you :any-link pseudo-class in CSS, following the Selectors specification.",{preserve:!0}),!1);case"postcss-selector-not":return void Nn(Te.default,[],En("@csstools/cli postcss-selector-not","PostCSS Selector Not","Transforms :not() W3C CSS level 4 pseudo classes to :not() CSS level 3 selectors following the Selectors 4 Specification"),!1);case"postcss-stepped-value-functions":return void Nn(We.default,["preserve","onInvalid"],En("@csstools/cli postcss-stepped-value-functions","PostCSS Stepped Value Functions","Lets you use round(), mod() and rem() functions.",{preserve:!1,onInvalid:"warn"}),!1);case"postcss-trigonometric-functions":return void Nn(Ge.default,["preserve"],En("@csstools/cli postcss-trigonometric-functions","PostCSS Trigonometric Functions","Lets you use `sin`, `cos`, `tan`, `asin`, `acos`, `atan` and `atan2` to be able to compute trigonometric relationships following the CSS Values 4 specification.",{preserve:!0}),!1);case"postcss-unset-value":return void Nn(Ve.default,["preserve"],En("@csstools/cli postcss-unset-value","PostCSS Stepped Unset Value","Use the unset keyword in CSS.",{preserve:!1}),!1);default:{const e=["CSSTools CLI\n"," Transform CSS with any plugin from https://github.com/csstools/postcss-plugins\n","Usage:"," @csstools/csstools-cli postcss-preset-env [input.css] [OPTIONS] [-o|--output output.css]"," @csstools/csstools-cli postcss-preset-env <input.css>... [OPTIONS] --dir <output-directory>"," @csstools/csstools-cli postcss-preset-env <input.css>... [OPTIONS] --replace","\nAvailable Plugins:"," css-blank-pseudo"," css-has-pseudo"," css-prefers-color-scheme"," postcss-attribute-case-insensitive"," postcss-cascade-layers"," postcss-color-function"," postcss-color-functional-notation"," postcss-color-hex-alpha"," postcss-color-rebeccapurple"," postcss-custom-media"," postcss-custom-properties"," postcss-custom-selectors"," postcss-dir-pseudo-class"," postcss-double-position-gradients"," postcss-env-function"," postcss-focus-visible"," postcss-focus-within"," postcss-font-format-keywords"," postcss-gap-properties"," postcss-hwb-function"," postcss-ic-unit"," postcss-image-set-function"," postcss-is-pseudo-class"," postcss-lab-function"," postcss-logical"," postcss-nesting"," postcss-normalize-display-values"," postcss-oklab-function"," postcss-overflow-shorthand"," postcss-place"," postcss-pseudo-class-any-link"," postcss-selector-not"," postcss-stepped-value-functions"," postcss-trigonometric-functions"," postcss-unset-value","\nPlugin Help:"," @csstools/csstools-cli <plugin-name>"," @csstools/csstools-cli postcss-preset-env"];console.warn(e.join("\n"))}}}();
@@ -0,0 +1 @@
1
+ export default function postcssAttributeCaseInsensitive(): void;
@@ -0,0 +1 @@
1
+ export default function postcssCascadeLayers(): void;
@@ -0,0 +1 @@
1
+ export default function postcssCustomMedia(): void;
@@ -0,0 +1 @@
1
+ export default function postcssCustomSelectors(): void;
@@ -0,0 +1 @@
1
+ export default function postcssSelectorNot(): void;
@@ -0,0 +1 @@
1
+ export default function postcssTrigonometricFunctions(): void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@csstools/csstools-cli",
3
3
  "description": "Transform CSS with any plugin from csstools/postcss-plugins",
4
- "version": "1.3.0",
4
+ "version": "1.4.0",
5
5
  "contributors": [
6
6
  {
7
7
  "name": "Antonio Laguna",
@@ -9,7 +9,7 @@
9
9
  "url": "https://antonio.laguna.es"
10
10
  },
11
11
  {
12
- "name": "Romain Menke ",
12
+ "name": "Romain Menke",
13
13
  "email": "romainmenke@gmail.com"
14
14
  }
15
15
  ],
@@ -32,22 +32,27 @@
32
32
  "dist"
33
33
  ],
34
34
  "dependencies": {
35
+ "@csstools/postcss-cascade-layers": "^1.0.2",
35
36
  "@csstools/postcss-color-function": "^1.1.0",
36
37
  "@csstools/postcss-font-format-keywords": "^1.0.0",
37
- "@csstools/postcss-hwb-function": "^1.0.0",
38
+ "@csstools/postcss-hwb-function": "^1.0.1",
38
39
  "@csstools/postcss-ic-unit": "^1.0.0",
39
- "@csstools/postcss-is-pseudo-class": "^2.0.2",
40
+ "@csstools/postcss-is-pseudo-class": "^2.0.4",
40
41
  "@csstools/postcss-normalize-display-values": "^1.0.0",
41
42
  "@csstools/postcss-oklab-function": "^1.1.0",
42
43
  "@csstools/postcss-stepped-value-functions": "^1.0.0",
43
- "@csstools/postcss-unset-value": "^1.0.0",
44
+ "@csstools/postcss-trigonometric-functions": "^1.0.0",
45
+ "@csstools/postcss-unset-value": "^1.0.1",
44
46
  "css-blank-pseudo": "^3.0.3",
45
47
  "css-has-pseudo": "^3.0.4",
46
48
  "css-prefers-color-scheme": "^6.0.3",
47
- "postcss-color-functional-notation": "^4.2.2",
49
+ "postcss-attribute-case-insensitive": "^5.0.1",
50
+ "postcss-color-functional-notation": "^4.2.3",
48
51
  "postcss-color-hex-alpha": "^8.0.3",
49
52
  "postcss-color-rebeccapurple": "^7.0.2",
53
+ "postcss-custom-media": "^8.0.1",
50
54
  "postcss-custom-properties": "^12.1.7",
55
+ "postcss-custom-selectors": "^6.0.2",
51
56
  "postcss-dir-pseudo-class": "^6.0.4",
52
57
  "postcss-double-position-gradients": "^3.1.1",
53
58
  "postcss-env-function": "^4.0.6",
@@ -57,14 +62,15 @@
57
62
  "postcss-image-set-function": "^4.0.6",
58
63
  "postcss-lab-function": "^4.2.0",
59
64
  "postcss-logical": "^5.0.4",
60
- "postcss-nesting": "^10.1.4",
65
+ "postcss-nesting": "^10.1.7",
61
66
  "postcss-overflow-shorthand": "^3.0.3",
62
67
  "postcss-place": "^7.0.4",
63
- "postcss-preset-env": "^7.5.0",
64
- "postcss-pseudo-class-any-link": "^7.1.2"
68
+ "postcss-preset-env": "^7.7.1",
69
+ "postcss-pseudo-class-any-link": "^7.1.4",
70
+ "postcss-selector-not": "^6.0.0"
65
71
  },
66
72
  "devDependencies": {
67
- "postcss": "^8.4.13"
73
+ "postcss": "^8.4.14"
68
74
  },
69
75
  "scripts": {
70
76
  "build": "rollup -c ../../rollup/default.js",