prettier 3.0.0-alpha.10 → 3.0.0-alpha.11

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.
@@ -1,52 +1,52 @@
1
- (function(f){function e(){var i=f();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.postcss=e()}})(function(){"use strict";var vc=Object.create;var Rt=Object.defineProperty;var xc=Object.getOwnPropertyDescriptor;var bc=Object.getOwnPropertyNames;var kc=Object.getPrototypeOf,_c=Object.prototype.hasOwnProperty;var E=(t,e)=>()=>(t&&(e=t(t=0)),e);var y=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),us=(t,e)=>{for(var s in e)Rt(t,s,{get:e[s],enumerable:!0})},Un=(t,e,s,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of bc(e))!_c.call(t,n)&&n!==s&&Rt(t,n,{get:()=>e[n],enumerable:!(r=xc(e,n))||r.enumerable});return t};var ce=(t,e,s)=>(s=t!=null?vc(kc(t)):{},Un(e||!t||!t.__esModule?Rt(s,"default",{value:t,enumerable:!0}):s,t)),Tc=t=>Un(Rt({},"__esModule",{value:!0}),t);var Sc,S,J=E(()=>{Sc=(t,e,s,r)=>{if(!(t&&e==null))return e.replaceAll?e.replaceAll(s,r):s.global?e.replace(s,r):e.split(s).join(r)},S=Sc});function Nc(t){return Array.isArray(t)&&t.length>0}var se,Ve=E(()=>{se=Nc});var Dc,K,Ce=E(()=>{Dc=(t,e,s)=>{if(!(t&&e==null))return Array.isArray(e)||typeof e=="string"?e[s<0?e.length+s:s]:e.at(s)},K=Dc});var li=y(de=>{"use strict";Object.defineProperty(de,"__esModule",{value:!0});de.extract=Kc;de.parse=Qc;de.parseWithComments=ui;de.print=jc;de.strip=Hc;var Wc=/\*\/$/,zc=/^\/\*\*?/,oi=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Vc=/(^|\s+)\/\/([^\r\n]*)/g,si=/^(\r?\n)+/,Yc=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,ni=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,Gc=/(\r?\n|^) *\* ?/g,ai=[];function Kc(t){let e=t.match(oi);return e?e[0].trimLeft():""}function Hc(t){let e=t.match(oi);return e&&e[0]?t.substring(e[0].length):t}function Qc(t){return ui(t).pragmas}function ui(t){let e=`
2
- `;t=t.replace(zc,"").replace(Wc,"").replace(Gc,"$1");let s="";for(;s!==t;)s=t,t=t.replace(Yc,`${e}$1 $2${e}`);t=t.replace(si,"").trimRight();let r=Object.create(null),n=t.replace(ni,"").replace(si,"").trimRight(),i;for(;i=ni.exec(t);){let o=i[2].replace(Vc,"");typeof r[i[1]]=="string"||Array.isArray(r[i[1]])?r[i[1]]=ai.concat(r[i[1]],o):r[i[1]]=o}return{comments:n,pragmas:r}}function jc({comments:t="",pragmas:e={}}){let s=`
3
- `,r="/**",n=" *",i=" */",o=Object.keys(e),a=o.map(c=>ii(c,e[c])).reduce((c,f)=>c.concat(f),[]).map(c=>`${n} ${c}${s}`).join("");if(!t){if(o.length===0)return"";if(o.length===1&&!Array.isArray(e[o[0]])){let c=e[o[0]];return`${r} ${ii(o[0],c)[0]}${i}`}}let u=t.split(s).map(c=>`${n} ${c}`).join(s)+s;return r+s+(t?u:"")+(t&&o.length?n+s:"")+a+i}function ii(t,e){return ai.concat(e).map(s=>`@${t} ${s}`.trim())}});var ci=E(()=>{J()});function Jc(t){if(!t.startsWith("#!"))return"";let e=t.indexOf(`
4
- `);return e===-1?t:t.slice(0,e)}var fi,pi=E(()=>{fi=Jc});function hi(t){let e=fi(t);e&&(t=t.slice(e.length+1));let s=(0,ie.extract)(t),{pragmas:r,comments:n}=(0,ie.parseWithComments)(s);return{shebang:e,text:t,pragmas:r,comments:n}}function di(t){let{pragmas:e}=hi(t);return Object.prototype.hasOwnProperty.call(e,"prettier")||Object.prototype.hasOwnProperty.call(e,"format")}function mi(t){let{shebang:e,text:s,pragmas:r,comments:n}=hi(t),i=(0,ie.strip)(s),o=(0,ie.print)({pragmas:{format:"",...r},comments:n.trimStart()});return(e?`${e}
5
- `:"")+o+(i.startsWith(`
6
- `)?`
7
- `:`
8
-
9
- `)+i}var ie,yi=E(()=>{ie=ce(li(),1);ci();pi()});function Zc(t){let e=t.match(Xc);if(!e)return{content:t};let{startDelimiter:s,language:r,value:n="",endDelimiter:i}=e.groups,o=r.trim()||"yaml";if(s==="+++"&&(o="toml"),o!=="yaml"&&s!==i)return{content:t};let[a]=e;return{frontMatter:{type:"front-matter",lang:o,value:n,startDelimiter:s,endDelimiter:i,raw:a.replace(/\n$/,"")},content:S(!1,a,/[^\n]/g," ")+t.slice(a.length)}}var Xc,rt,ps=E(()=>{J();Xc=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");rt=Zc});function gi(t){return di(rt(t).content)}function wi(t){let{frontMatter:e,content:s}=rt(t);return(e?e.raw+`
10
-
11
- `:"")+mi(s)}var hs=E(()=>{yi();ps()});function Yt(t){return(e,s,r)=>{let n=!!(r!=null&&r.backwards);if(s===!1)return!1;let{length:i}=e,o=s;for(;o>=0&&o<i;){let a=e.charAt(o);if(t instanceof RegExp){if(!t.test(a))return o}else if(!t.includes(a))return o;n?o--:o++}return o===-1||o===i?o:!1}}var Iv,Gt,zi,Kt,ct=E(()=>{Iv=Yt(/\s/),Gt=Yt(" "),zi=Yt(",; "),Kt=Yt(/[^\n\r]/)});function uf(t,e){let s=0;for(let r=0;r<t.line-1;++r)s=e.indexOf(`
12
- `,s)+1;return s+t.column}var bs,Vi=E(()=>{bs=uf});function Yi(t,e){var s,r,n;if(typeof((r=(s=t.source)==null?void 0:s.start)==null?void 0:r.offset)=="number")return t.source.start.offset;if(typeof t.sourceIndex=="number")return t.sourceIndex;if((n=t.source)!=null&&n.start)return bs(t.source.start,e);throw Object.assign(new Error("Can not locate node."),{node:t})}function ks(t,e){var s,r;if(t.type==="css-comment"&&t.inline)return Kt(e,t.source.startOffset);if(typeof((r=(s=t.source)==null?void 0:s.end)==null?void 0:r.offset)=="number")return t.source.end.offset+1;if(t.source){if(t.source.end)return bs(t.source.end,e);if(se(t.nodes))return ks(K(!1,t.nodes,-1),e)}return null}function _s(t,e){t.source&&(t.source.startOffset=Yi(t,e),t.source.endOffset=ks(t,e));for(let s in t){let r=t[s];s==="source"||!r||typeof r!="object"||(r.type==="value-root"||r.type==="value-unknown"?Gi(r,lf(t),r.text||r.value):_s(r,e))}}function Gi(t,e,s){t.source&&(t.source.startOffset=Yi(t,s)+e,t.source.endOffset=ks(t,s)+e);for(let r in t){let n=t[r];r==="source"||!n||typeof n!="object"||Gi(n,e,s)}}function lf(t){var s;let e=t.source.startOffset;return typeof t.prop=="string"&&(e+=t.prop.length),t.type==="css-atrule"&&typeof t.name=="string"&&(e+=1+t.name.length+t.raws.afterName.match(/^\s*:?\s*/)[0].length),t.type!=="css-atrule"&&typeof((s=t.raws)==null?void 0:s.between)=="string"&&(e+=t.raws.between.length),e}function Ki(t){let e="initial",s="initial",r,n=!1,i=[];for(let o=0;o<t.length;o++){let a=t[o];switch(e){case"initial":if(a==="'"){e="single-quotes";continue}if(a==='"'){e="double-quotes";continue}if((a==="u"||a==="U")&&t.slice(o,o+4).toLowerCase()==="url("){e="url",o+=3;continue}if(a==="*"&&t[o-1]==="/"){e="comment-block";continue}if(a==="/"&&t[o-1]==="/"){e="comment-inline",r=o-1;continue}continue;case"single-quotes":if(a==="'"&&t[o-1]!=="\\"&&(e=s,s="initial"),a===`
13
- `||a==="\r")return t;continue;case"double-quotes":if(a==='"'&&t[o-1]!=="\\"&&(e=s,s="initial"),a===`
14
- `||a==="\r")return t;continue;case"url":if(a===")"&&(e="initial"),a===`
15
- `||a==="\r")return t;if(a==="'"){e="single-quotes",s="url";continue}if(a==='"'){e="double-quotes",s="url";continue}continue;case"comment-block":a==="/"&&t[o-1]==="*"&&(e="initial");continue;case"comment-inline":(a==='"'||a==="'"||a==="*")&&(n=!0),(a===`
16
- `||a==="\r")&&(n&&i.push([r,o]),e="initial",n=!1);continue}}for(let[o,a]of i)t=t.slice(0,o)+S(!1,t.slice(o,a),/["'*]/g," ")+t.slice(a);return t}function R(t){var e;return(e=t.source)==null?void 0:e.startOffset}function I(t){var e;return(e=t.source)==null?void 0:e.endOffset}var Re=E(()=>{Ce();J();ct();Ve();Vi()});var Jt=y((Qx,As)=>{"use strict";As.exports.isClean=Symbol("isClean");As.exports.my=Symbol("my")});var oo=y((jx,Ns)=>{var T=String,io=function(){return{isColorSupported:!1,reset:T,bold:T,dim:T,italic:T,underline:T,inverse:T,hidden:T,strikethrough:T,black:T,red:T,green:T,yellow:T,blue:T,magenta:T,cyan:T,white:T,gray:T,bgBlack:T,bgRed:T,bgGreen:T,bgYellow:T,bgBlue:T,bgMagenta:T,bgCyan:T,bgWhite:T}};Ns.exports=io();Ns.exports.createColors=io});var Ps=y(()=>{});var Xt=y((Zx,lo)=>{"use strict";var ao=oo(),uo=Ps(),we=class extends Error{constructor(e,s,r,n,i,o){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),n&&(this.source=n),o&&(this.plugin=o),typeof s<"u"&&typeof r<"u"&&(typeof s=="number"?(this.line=s,this.column=r):(this.line=s.line,this.column=s.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,we)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let s=this.source;e==null&&(e=ao.isColorSupported),uo&&e&&(s=uo(s));let r=s.split(/\r?\n/),n=Math.max(this.line-3,0),i=Math.min(this.line+2,r.length),o=String(i).length,a,u;if(e){let{bold:c,red:f,gray:p}=ao.createColors(!0);a=l=>c(f(l)),u=l=>p(l)}else a=u=c=>c;return r.slice(n,i).map((c,f)=>{let p=n+1+f,l=" "+(" "+p).slice(-o)+" | ";if(p===this.line){let g=u(l.replace(/\d/g," "))+c.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+u(l)+c+`
1
+ (function(f){function e(){var i=f();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.postcss=e()}})(function(){"use strict";var Gl=Object.create;var St=Object.defineProperty;var Kl=Object.getOwnPropertyDescriptor;var Hl=Object.getOwnPropertyNames;var Ql=Object.getPrototypeOf,jl=Object.prototype.hasOwnProperty;var y=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),rn=(t,e)=>{for(var n in e)St(t,n,{get:e[n],enumerable:!0})},Ps=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Hl(e))!jl.call(t,s)&&s!==n&&St(t,s,{get:()=>e[s],enumerable:!(r=Kl(e,s))||r.enumerable});return t};var ue=(t,e,n)=>(n=t!=null?Gl(Ql(t)):{},Ps(e||!t||!t.__esModule?St(n,"default",{value:t,enumerable:!0}):n,t)),Jl=t=>Ps(St({},"__esModule",{value:!0}),t);var Xs=y(pe=>{"use strict";Object.defineProperty(pe,"__esModule",{value:!0});pe.extract=vc;pe.parse=bc;pe.parseWithComments=Js;pe.print=kc;pe.strip=xc;var dc=/\*\/$/,mc=/^\/\*\*?/,Qs=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,yc=/(^|\s+)\/\/([^\r\n]*)/g,Gs=/^(\r?\n)+/,gc=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,Ks=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,wc=/(\r?\n|^) *\* ?/g,js=[];function vc(t){let e=t.match(Qs);return e?e[0].trimLeft():""}function xc(t){let e=t.match(Qs);return e&&e[0]?t.substring(e[0].length):t}function bc(t){return Js(t).pragmas}function Js(t){let e=`
2
+ `;t=t.replace(mc,"").replace(dc,"").replace(wc,"$1");let n="";for(;n!==t;)n=t,t=t.replace(gc,`${e}$1 $2${e}`);t=t.replace(Gs,"").trimRight();let r=Object.create(null),s=t.replace(Ks,"").replace(Gs,"").trimRight(),i;for(;i=Ks.exec(t);){let o=i[2].replace(yc,"");typeof r[i[1]]=="string"||Array.isArray(r[i[1]])?r[i[1]]=js.concat(r[i[1]],o):r[i[1]]=o}return{comments:s,pragmas:r}}function kc({comments:t="",pragmas:e={}}){let n=`
3
+ `,r="/**",s=" *",i=" */",o=Object.keys(e),a=o.map(c=>Hs(c,e[c])).reduce((c,f)=>c.concat(f),[]).map(c=>`${s} ${c}${n}`).join("");if(!t){if(o.length===0)return"";if(o.length===1&&!Array.isArray(e[o[0]])){let c=e[o[0]];return`${r} ${Hs(o[0],c)[0]}${i}`}}let u=t.split(n).map(c=>`${s} ${c}`).join(n)+n;return r+n+(t?u:"")+(t&&o.length?s+n:"")+a+i}function Hs(t,e){return js.concat(e).map(n=>`@${t} ${n}`.trim())}});var Yt=y((yx,xn)=>{"use strict";xn.exports.isClean=Symbol("isClean");xn.exports.my=Symbol("my")});var Vi=y((gx,bn)=>{var T=String,zi=function(){return{isColorSupported:!1,reset:T,bold:T,dim:T,italic:T,underline:T,inverse:T,hidden:T,strikethrough:T,black:T,red:T,green:T,yellow:T,blue:T,magenta:T,cyan:T,white:T,gray:T,bgBlack:T,bgRed:T,bgGreen:T,bgYellow:T,bgBlue:T,bgMagenta:T,bgCyan:T,bgWhite:T}};bn.exports=zi();bn.exports.createColors=zi});var kn=y(()=>{});var Gt=y((xx,Ki)=>{"use strict";var Yi=Vi(),Gi=kn(),ye=class extends Error{constructor(e,n,r,s,i,o){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),s&&(this.source=s),o&&(this.plugin=o),typeof n<"u"&&typeof r<"u"&&(typeof n=="number"?(this.line=n,this.column=r):(this.line=n.line,this.column=n.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,ye)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let n=this.source;e==null&&(e=Yi.isColorSupported),Gi&&e&&(n=Gi(n));let r=n.split(/\r?\n/),s=Math.max(this.line-3,0),i=Math.min(this.line+2,r.length),o=String(i).length,a,u;if(e){let{bold:c,red:f,gray:p}=Yi.createColors(!0);a=l=>c(f(l)),u=l=>p(l)}else a=u=c=>c;return r.slice(s,i).map((c,f)=>{let p=s+1+f,l=" "+(" "+p).slice(-o)+" | ";if(p===this.line){let g=u(l.replace(/\d/g," "))+c.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+u(l)+c+`
17
4
  `+g+a("^")}return" "+u(l)+c}).join(`
18
5
  `)}toString(){let e=this.showSourceCode();return e&&(e=`
19
6
 
20
7
  `+e+`
21
- `),this.name+": "+this.message+e}};lo.exports=we;we.default=we});var Zt=y((eb,fo)=>{"use strict";var co={colon:": ",indent:" ",beforeDecl:`
8
+ `),this.name+": "+this.message+e}};Ki.exports=ye;ye.default=ye});var Kt=y((bx,Qi)=>{"use strict";var Hi={colon:": ",indent:" ",beforeDecl:`
22
9
  `,beforeRule:`
23
10
  `,beforeOpen:" ",beforeClose:`
24
11
  `,beforeComment:`
25
12
  `,after:`
26
- `,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function Cf(t){return t[0].toUpperCase()+t.slice(1)}var ft=class{constructor(e){this.builder=e}stringify(e,s){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,s)}document(e){this.body(e)}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let s=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+s+e.text+r+"*/",e)}decl(e,s){let r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),s&&(n+=";"),this.builder(n,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,s){let r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{let i=(e.raws.between||"")+(s?";":"");this.builder(r+n+i,e)}}body(e){let s=e.nodes.length-1;for(;s>0&&e.nodes[s].type==="comment";)s-=1;let r=this.raw(e,"semicolon");for(let n=0;n<e.nodes.length;n++){let i=e.nodes[n],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,s!==n||r)}}block(e,s){let r=this.raw(e,"between","beforeOpen");this.builder(s+r+"{",e,"start");let n;e.nodes&&e.nodes.length?(this.body(e),n=this.raw(e,"after")):n=this.raw(e,"after","emptyBody"),n&&this.builder(n),this.builder("}",e,"end")}raw(e,s,r){let n;if(r||(r=s),s&&(n=e.raws[s],typeof n<"u"))return n;let i=e.parent;if(r==="before"&&(!i||i.type==="root"&&i.first===e||i&&i.type==="document"))return"";if(!i)return co[r];let o=e.root();if(o.rawCache||(o.rawCache={}),typeof o.rawCache[r]<"u")return o.rawCache[r];if(r==="before"||r==="after")return this.beforeAfter(e,r);{let a="raw"+Cf(r);this[a]?n=this[a](o,e):o.walk(u=>{if(n=u.raws[s],typeof n<"u")return!1})}return typeof n>"u"&&(n=co[r]),o.rawCache[r]=n,n}rawSemicolon(e){let s;return e.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(s=r.raws.semicolon,typeof s<"u"))return!1}),s}rawEmptyBody(e){let s;return e.walk(r=>{if(r.nodes&&r.nodes.length===0&&(s=r.raws.after,typeof s<"u"))return!1}),s}rawIndent(e){if(e.raws.indent)return e.raws.indent;let s;return e.walk(r=>{let n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&typeof r.raws.before<"u"){let i=r.raws.before.split(`
27
- `);return s=i[i.length-1],s=s.replace(/\S/g,""),!1}}),s}rawBeforeComment(e,s){let r;return e.walkComments(n=>{if(typeof n.raws.before<"u")return r=n.raws.before,r.includes(`
28
- `)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(s,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,s){let r;return e.walkDecls(n=>{if(typeof n.raws.before<"u")return r=n.raws.before,r.includes(`
29
- `)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(s,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeRule(e){let s;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&typeof r.raws.before<"u")return s=r.raws.before,s.includes(`
30
- `)&&(s=s.replace(/[^\n]+$/,"")),!1}),s&&(s=s.replace(/\S/g,"")),s}rawBeforeClose(e){let s;return e.walk(r=>{if(r.nodes&&r.nodes.length>0&&typeof r.raws.after<"u")return s=r.raws.after,s.includes(`
31
- `)&&(s=s.replace(/[^\n]+$/,"")),!1}),s&&(s=s.replace(/\S/g,"")),s}rawBeforeOpen(e){let s;return e.walk(r=>{if(r.type!=="decl"&&(s=r.raws.between,typeof s<"u"))return!1}),s}rawColon(e){let s;return e.walkDecls(r=>{if(typeof r.raws.between<"u")return s=r.raws.between.replace(/[^\s:]/g,""),!1}),s}beforeAfter(e,s){let r;e.type==="decl"?r=this.raw(e,null,"beforeDecl"):e.type==="comment"?r=this.raw(e,null,"beforeComment"):s==="before"?r=this.raw(e,null,"beforeRule"):r=this.raw(e,null,"beforeClose");let n=e.parent,i=0;for(;n&&n.type!=="root";)i+=1,n=n.parent;if(r.includes(`
32
- `)){let o=this.raw(e,null,"indent");if(o.length)for(let a=0;a<i;a++)r+=o}return r}rawValue(e,s){let r=e[s],n=e.raws[s];return n&&n.value===r?n.raw:r}};fo.exports=ft;ft.default=ft});var pt=y((tb,po)=>{"use strict";var Of=Zt();function Rs(t,e){new Of(e).stringify(t)}po.exports=Rs;Rs.default=Rs});var dt=y((rb,ho)=>{"use strict";var{isClean:er,my:Af}=Jt(),Nf=Xt(),Pf=Zt(),Rf=pt();function Is(t,e){let s=new t.constructor;for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r)||r==="proxyCache")continue;let n=t[r],i=typeof n;r==="parent"&&i==="object"?e&&(s[r]=e):r==="source"?s[r]=n:Array.isArray(n)?s[r]=n.map(o=>Is(o,s)):(i==="object"&&n!==null&&(n=Is(n)),s[r]=n)}return s}var ht=class{constructor(e={}){this.raws={},this[er]=!1,this[Af]=!0;for(let s in e)if(s==="nodes"){this.nodes=[];for(let r of e[s])typeof r.clone=="function"?this.append(r.clone()):this.append(r)}else this[s]=e[s]}error(e,s={}){if(this.source){let{start:r,end:n}=this.rangeBy(s);return this.source.input.error(e,{line:r.line,column:r.column},{line:n.line,column:n.column},s)}return new Nf(e)}warn(e,s,r){let n={node:this};for(let i in r)n[i]=r[i];return e.warn(s,n)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=Rf){e.stringify&&(e=e.stringify);let s="";return e(this,r=>{s+=r}),s}assign(e={}){for(let s in e)this[s]=e[s];return this}clone(e={}){let s=Is(this);for(let r in e)s[r]=e[r];return s}cloneBefore(e={}){let s=this.clone(e);return this.parent.insertBefore(this,s),s}cloneAfter(e={}){let s=this.clone(e);return this.parent.insertAfter(this,s),s}replaceWith(...e){if(this.parent){let s=this,r=!1;for(let n of e)n===this?r=!0:r?(this.parent.insertAfter(s,n),s=n):this.parent.insertBefore(s,n);r||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&&e.parent.type!=="document";)e=e.parent;return e}raw(e,s){return new Pf().raw(this,e,s)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,s){let r={},n=s==null;s=s||new Map;let i=0;for(let o in this){if(!Object.prototype.hasOwnProperty.call(this,o)||o==="parent"||o==="proxyCache")continue;let a=this[o];if(Array.isArray(a))r[o]=a.map(u=>typeof u=="object"&&u.toJSON?u.toJSON(null,s):u);else if(typeof a=="object"&&a.toJSON)r[o]=a.toJSON(null,s);else if(o==="source"){let u=s.get(a.input);u==null&&(u=i,s.set(a.input,i),i++),r[o]={inputId:u,start:a.start,end:a.end}}else r[o]=a}return n&&(r.inputs=[...s.keys()].map(o=>o.toJSON())),r}positionInside(e){let s=this.toString(),r=this.source.start.column,n=this.source.start.line;for(let i=0;i<e;i++)s[i]===`
33
- `?(r=1,n+=1):r+=1;return{line:n,column:r}}positionBy(e){let s=this.source.start;if(e.index)s=this.positionInside(e.index);else if(e.word){let r=this.toString().indexOf(e.word);r!==-1&&(s=this.positionInside(r))}return s}rangeBy(e){let s={line:this.source.start.line,column:this.source.start.column},r=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:s.line,column:s.column+1};if(e.word){let n=this.toString().indexOf(e.word);n!==-1&&(s=this.positionInside(n),r=this.positionInside(n+e.word.length))}else e.start?s={line:e.start.line,column:e.start.column}:e.index&&(s=this.positionInside(e.index)),e.end?r={line:e.end.line,column:e.end.column}:e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<s.line||r.line===s.line&&r.column<=s.column)&&(r={line:s.line,column:s.column+1}),{start:s,end:r}}getProxyProcessor(){return{set(e,s,r){return e[s]===r||(e[s]=r,(s==="prop"||s==="value"||s==="name"||s==="params"||s==="important"||s==="text")&&e.markDirty()),!0},get(e,s){return s==="proxyOf"?e:s==="root"?()=>e.root().toProxy():e[s]}}}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 s=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${s.input.from}:${s.start.line}:${s.start.column}$&`)}return e}markDirty(){if(this[er]){this[er]=!1;let e=this;for(;e=e.parent;)e[er]=!1}}get proxyOf(){return this}};ho.exports=ht;ht.default=ht});var yt=y((sb,mo)=>{"use strict";var If=dt(),mt=class extends If{constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};mo.exports=mt;mt.default=mt});var qe=y((nb,yo)=>{"use strict";var qf=dt(),gt=class extends qf{constructor(e){super(e),this.type="comment"}};yo.exports=gt;gt.default=gt});var ae=y((ib,Eo)=>{"use strict";var{isClean:go,my:wo}=Jt(),vo=yt(),xo=qe(),Df=dt(),bo,qs,Ds,ko;function _o(t){return t.map(e=>(e.nodes&&(e.nodes=_o(e.nodes)),delete e.source,e))}function To(t){if(t[go]=!1,t.proxyOf.nodes)for(let e of t.proxyOf.nodes)To(e)}var U=class extends Df{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let s=this.getIterator(),r,n;for(;this.indexes[s]<this.proxyOf.nodes.length&&(r=this.indexes[s],n=e(this.proxyOf.nodes[r],r),n!==!1);)this.indexes[s]+=1;return delete this.indexes[s],n}walk(e){return this.each((s,r)=>{let n;try{n=e(s,r)}catch(i){throw s.addToError(i)}return n!==!1&&s.walk&&(n=s.walk(e)),n})}walkDecls(e,s){return s?e instanceof RegExp?this.walk((r,n)=>{if(r.type==="decl"&&e.test(r.prop))return s(r,n)}):this.walk((r,n)=>{if(r.type==="decl"&&r.prop===e)return s(r,n)}):(s=e,this.walk((r,n)=>{if(r.type==="decl")return s(r,n)}))}walkRules(e,s){return s?e instanceof RegExp?this.walk((r,n)=>{if(r.type==="rule"&&e.test(r.selector))return s(r,n)}):this.walk((r,n)=>{if(r.type==="rule"&&r.selector===e)return s(r,n)}):(s=e,this.walk((r,n)=>{if(r.type==="rule")return s(r,n)}))}walkAtRules(e,s){return s?e instanceof RegExp?this.walk((r,n)=>{if(r.type==="atrule"&&e.test(r.name))return s(r,n)}):this.walk((r,n)=>{if(r.type==="atrule"&&r.name===e)return s(r,n)}):(s=e,this.walk((r,n)=>{if(r.type==="atrule")return s(r,n)}))}walkComments(e){return this.walk((s,r)=>{if(s.type==="comment")return e(s,r)})}append(...e){for(let s of e){let r=this.normalize(s,this.last);for(let n of r)this.proxyOf.nodes.push(n)}return this.markDirty(),this}prepend(...e){e=e.reverse();for(let s of e){let r=this.normalize(s,this.first,"prepend").reverse();for(let n of r)this.proxyOf.nodes.unshift(n);for(let n in this.indexes)this.indexes[n]=this.indexes[n]+r.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let s of this.nodes)s.cleanRaws(e)}insertBefore(e,s){let r=this.index(e),n=r===0?"prepend":!1,i=this.normalize(s,this.proxyOf.nodes[r],n).reverse();r=this.index(e);for(let a of i)this.proxyOf.nodes.splice(r,0,a);let o;for(let a in this.indexes)o=this.indexes[a],r<=o&&(this.indexes[a]=o+i.length);return this.markDirty(),this}insertAfter(e,s){let r=this.index(e),n=this.normalize(s,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let o of n)this.proxyOf.nodes.splice(r+1,0,o);let i;for(let o in this.indexes)i=this.indexes[o],r<i&&(this.indexes[o]=i+n.length);return this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let s;for(let r in this.indexes)s=this.indexes[r],s>=e&&(this.indexes[r]=s-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,s,r){return r||(r=s,s={}),this.walkDecls(n=>{s.props&&!s.props.includes(n.prop)||s.fast&&!n.value.includes(s.fast)||(n.value=n.value.replace(e,r))}),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return typeof e=="number"?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,s){if(typeof e=="string")e=_o(bo(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let n of e)n.parent&&n.parent.removeChild(n,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let n of e)n.parent&&n.parent.removeChild(n,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new vo(e)]}else if(e.selector)e=[new qs(e)];else if(e.name)e=[new Ds(e)];else if(e.text)e=[new xo(e)];else throw new Error("Unknown node type in node creation");return e.map(n=>(n[wo]||U.rebuild(n),n=n.proxyOf,n.parent&&n.parent.removeChild(n),n[go]&&To(n),typeof n.raws.before>"u"&&s&&typeof s.raws.before<"u"&&(n.raws.before=s.raws.before.replace(/\S/g,"")),n.parent=this.proxyOf,n))}getProxyProcessor(){return{set(e,s,r){return e[s]===r||(e[s]=r,(s==="name"||s==="params"||s==="selector")&&e.markDirty()),!0},get(e,s){return s==="proxyOf"?e:e[s]?s==="each"||typeof s=="string"&&s.startsWith("walk")?(...r)=>e[s](...r.map(n=>typeof n=="function"?(i,o)=>n(i.toProxy(),o):n)):s==="every"||s==="some"?r=>e[s]((n,...i)=>r(n.toProxy(),...i)):s==="root"?()=>e.root().toProxy():s==="nodes"?e.nodes.map(r=>r.toProxy()):s==="first"||s==="last"?e[s].toProxy():e[s]:e[s]}}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}};U.registerParse=t=>{bo=t};U.registerRule=t=>{qs=t};U.registerAtRule=t=>{Ds=t};U.registerRoot=t=>{ko=t};Eo.exports=U;U.default=U;U.rebuild=t=>{t.type==="atrule"?Object.setPrototypeOf(t,Ds.prototype):t.type==="rule"?Object.setPrototypeOf(t,qs.prototype):t.type==="decl"?Object.setPrototypeOf(t,vo.prototype):t.type==="comment"?Object.setPrototypeOf(t,xo.prototype):t.type==="root"&&Object.setPrototypeOf(t,ko.prototype),t[wo]=!0,t.nodes&&t.nodes.forEach(e=>{U.rebuild(e)})}});var ur=y((ob,Ao)=>{"use strict";var Ls="'".charCodeAt(0),So='"'.charCodeAt(0),tr="\\".charCodeAt(0),Co="/".charCodeAt(0),rr=`
34
- `.charCodeAt(0),wt=" ".charCodeAt(0),sr="\f".charCodeAt(0),nr=" ".charCodeAt(0),ir="\r".charCodeAt(0),Lf="[".charCodeAt(0),Mf="]".charCodeAt(0),Bf="(".charCodeAt(0),Ff=")".charCodeAt(0),$f="{".charCodeAt(0),Uf="}".charCodeAt(0),Wf=";".charCodeAt(0),zf="*".charCodeAt(0),Vf=":".charCodeAt(0),Yf="@".charCodeAt(0),or=/[\t\n\f\r "#'()/;[\\\]{}]/g,ar=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Gf=/.[\n"'(/\\]/,Oo=/[\da-f]/i;Ao.exports=function(e,s={}){let r=e.css.valueOf(),n=s.ignoreErrors,i,o,a,u,c,f,p,l,g,x,h=r.length,d=0,m=[],b=[];function w(){return d}function v(z){throw e.error("Unclosed "+z,d)}function P(){return b.length===0&&d>=h}function W(z){if(b.length)return b.pop();if(d>=h)return;let C=z?z.ignoreUnclosed:!1;switch(i=r.charCodeAt(d),i){case rr:case wt:case nr:case ir:case sr:{o=d;do o+=1,i=r.charCodeAt(o);while(i===wt||i===rr||i===nr||i===ir||i===sr);x=["space",r.slice(d,o)],d=o-1;break}case Lf:case Mf:case $f:case Uf:case Vf:case Wf:case Ff:{let O=String.fromCharCode(i);x=[O,O,d];break}case Bf:{if(l=m.length?m.pop()[1]:"",g=r.charCodeAt(d+1),l==="url"&&g!==Ls&&g!==So&&g!==wt&&g!==rr&&g!==nr&&g!==sr&&g!==ir){o=d;do{if(f=!1,o=r.indexOf(")",o+1),o===-1)if(n||C){o=d;break}else v("bracket");for(p=o;r.charCodeAt(p-1)===tr;)p-=1,f=!f}while(f);x=["brackets",r.slice(d,o+1),d,o],d=o}else o=r.indexOf(")",d+1),u=r.slice(d,o+1),o===-1||Gf.test(u)?x=["(","(",d]:(x=["brackets",u,d,o],d=o);break}case Ls:case So:{a=i===Ls?"'":'"',o=d;do{if(f=!1,o=r.indexOf(a,o+1),o===-1)if(n||C){o=d+1;break}else v("string");for(p=o;r.charCodeAt(p-1)===tr;)p-=1,f=!f}while(f);x=["string",r.slice(d,o+1),d,o],d=o;break}case Yf:{or.lastIndex=d+1,or.test(r),or.lastIndex===0?o=r.length-1:o=or.lastIndex-2,x=["at-word",r.slice(d,o+1),d,o],d=o;break}case tr:{for(o=d,c=!0;r.charCodeAt(o+1)===tr;)o+=1,c=!c;if(i=r.charCodeAt(o+1),c&&i!==Co&&i!==wt&&i!==rr&&i!==nr&&i!==ir&&i!==sr&&(o+=1,Oo.test(r.charAt(o)))){for(;Oo.test(r.charAt(o+1));)o+=1;r.charCodeAt(o+1)===wt&&(o+=1)}x=["word",r.slice(d,o+1),d,o],d=o;break}default:{i===Co&&r.charCodeAt(d+1)===zf?(o=r.indexOf("*/",d+2)+1,o===0&&(n||C?o=r.length:v("comment")),x=["comment",r.slice(d,o+1),d,o],d=o):(ar.lastIndex=d+1,ar.test(r),ar.lastIndex===0?o=r.length-1:o=ar.lastIndex-2,x=["word",r.slice(d,o+1),d,o],m.push(x),d=o);break}}return d++,x}function j(z){b.push(z)}return{back:j,nextToken:W,endOfFile:P,position:w}}});var lr=y((ab,Po)=>{"use strict";var No=ae(),De=class extends No{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)}};Po.exports=De;De.default=De;No.registerAtRule(De)});var Le=y((ub,Do)=>{"use strict";var Ro=ae(),Io,qo,ue=class extends Ro{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}removeChild(e,s){let r=this.index(e);return!s&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}normalize(e,s,r){let n=super.normalize(e);if(s){if(r==="prepend")this.nodes.length>1?s.raws.before=this.nodes[1].raws.before:delete s.raws.before;else if(this.first!==s)for(let i of n)i.raws.before=s.raws.before}return n}toResult(e={}){return new Io(new qo,this,e).stringify()}};ue.registerLazyResult=t=>{Io=t};ue.registerProcessor=t=>{qo=t};Do.exports=ue;ue.default=ue;Ro.registerRoot(ue)});var Ms=y((lb,Lo)=>{"use strict";var vt={split(t,e,s){let r=[],n="",i=!1,o=0,a=!1,u="",c=!1;for(let f of t)c?c=!1:f==="\\"?c=!0:a?f===u&&(a=!1):f==='"'||f==="'"?(a=!0,u=f):f==="("?o+=1:f===")"?o>0&&(o-=1):o===0&&e.includes(f)&&(i=!0),i?(n!==""&&r.push(n.trim()),n="",i=!1):n+=f;return(s||n!=="")&&r.push(n.trim()),r},space(t){let e=[" ",`
35
- `," "];return vt.split(t,e)},comma(t){return vt.split(t,[","],!0)}};Lo.exports=vt;vt.default=vt});var cr=y((cb,Bo)=>{"use strict";var Mo=ae(),Kf=Ms(),Me=class extends Mo{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return Kf.comma(this.selector)}set selectors(e){let s=this.selector?this.selector.match(/,\s*/):null,r=s?s[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}};Bo.exports=Me;Me.default=Me;Mo.registerRule(Me)});var fr=y((fb,Uo)=>{"use strict";var Hf=yt(),Qf=ur(),jf=qe(),Jf=lr(),Xf=Le(),Fo=cr(),$o={empty:!0,space:!0};function Zf(t){for(let e=t.length-1;e>=0;e--){let s=t[e],r=s[3]||s[2];if(r)return r}}var Bs=class{constructor(e){this.input=e,this.root=new Xf,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=Qf(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);break}this.endFile()}comment(e){let s=new jf;this.init(s,e[2]),s.source.end=this.getPosition(e[3]||e[2]);let r=e[1].slice(2,-2);if(/^\s*$/.test(r))s.text="",s.raws.left=r,s.raws.right="";else{let n=r.match(/^(\s*)([^]*\S)(\s*)$/);s.text=n[2],s.raws.left=n[1],s.raws.right=n[3]}}emptyRule(e){let s=new Fo;this.init(s,e[2]),s.selector="",s.raws.between="",this.current=s}other(e){let s=!1,r=null,n=!1,i=null,o=[],a=e[1].startsWith("--"),u=[],c=e;for(;c;){if(r=c[0],u.push(c),r==="("||r==="[")i||(i=c),o.push(r==="("?")":"]");else if(a&&n&&r==="{")i||(i=c),o.push("}");else if(o.length===0)if(r===";")if(n){this.decl(u,a);return}else break;else if(r==="{"){this.rule(u);return}else if(r==="}"){this.tokenizer.back(u.pop()),s=!0;break}else r===":"&&(n=!0);else r===o[o.length-1]&&(o.pop(),o.length===0&&(i=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(s=!0),o.length>0&&this.unclosedBracket(i),s&&n){if(!a)for(;u.length&&(c=u[u.length-1][0],!(c!=="space"&&c!=="comment"));)this.tokenizer.back(u.pop());this.decl(u,a)}else this.unknownWord(u)}rule(e){e.pop();let s=new Fo;this.init(s,e[0][2]),s.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(s,"selector",e),this.current=s}decl(e,s){let r=new Hf;this.init(r,e[0][2]);let n=e[e.length-1];for(n[0]===";"&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(n[3]||n[2]||Zf(e));e[0][0]!=="word";)e.length===1&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let c=e[0][0];if(c===":"||c==="space"||c==="comment")break;r.prop+=e.shift()[1]}r.raws.between="";let i;for(;e.length;)if(i=e.shift(),i[0]===":"){r.raws.between+=i[1];break}else i[0]==="word"&&/\w/.test(i[1])&&this.unknownWord([i]),r.raws.between+=i[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let o=[],a;for(;e.length&&(a=e[0][0],!(a!=="space"&&a!=="comment"));)o.push(e.shift());this.precheckMissedSemicolon(e);for(let c=e.length-1;c>=0;c--){if(i=e[c],i[1].toLowerCase()==="!important"){r.important=!0;let f=this.stringFrom(e,c);f=this.spacesFromEnd(e)+f,f!==" !important"&&(r.raws.important=f);break}else if(i[1].toLowerCase()==="important"){let f=e.slice(0),p="";for(let l=c;l>0;l--){let g=f[l][0];if(p.trim().indexOf("!")===0&&g!=="space")break;p=f.pop()[1]+p}p.trim().indexOf("!")===0&&(r.important=!0,r.raws.important=p,e=f)}if(i[0]!=="space"&&i[0]!=="comment")break}e.some(c=>c[0]!=="space"&&c[0]!=="comment")&&(r.raws.between+=o.map(c=>c[1]).join(""),o=[]),this.raw(r,"value",o.concat(e),s),r.value.includes(":")&&!s&&this.checkMissedSemicolon(e)}atrule(e){let s=new Jf;s.name=e[1].slice(1),s.name===""&&this.unnamedAtrule(s,e),this.init(s,e[2]);let r,n,i,o=!1,a=!1,u=[],c=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),r=e[0],r==="("||r==="["?c.push(r==="("?")":"]"):r==="{"&&c.length>0?c.push("}"):r===c[c.length-1]&&c.pop(),c.length===0)if(r===";"){s.source.end=this.getPosition(e[2]),this.semicolon=!0;break}else if(r==="{"){a=!0;break}else if(r==="}"){if(u.length>0){for(i=u.length-1,n=u[i];n&&n[0]==="space";)n=u[--i];n&&(s.source.end=this.getPosition(n[3]||n[2]))}this.end(e);break}else u.push(e);else u.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}s.raws.between=this.spacesAndCommentsFromEnd(u),u.length?(s.raws.afterName=this.spacesAndCommentsFromStart(u),this.raw(s,"params",u),o&&(e=u[u.length-1],s.source.end=this.getPosition(e[3]||e[2]),this.spaces=s.raws.between,s.raws.between="")):(s.raws.afterName="",s.params=""),a&&(s.nodes=[],this.current=s)}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 s=this.current.nodes[this.current.nodes.length-1];s&&s.type==="rule"&&!s.raws.ownSemicolon&&(s.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let s=this.input.fromOffset(e);return{offset:e,line:s.line,column:s.col}}init(e,s){this.current.push(e),e.source={start:this.getPosition(s),input:this.input},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}raw(e,s,r,n){let i,o,a=r.length,u="",c=!0,f,p;for(let l=0;l<a;l+=1)i=r[l],o=i[0],o==="space"&&l===a-1&&!n?c=!1:o==="comment"?(p=r[l-1]?r[l-1][0]:"empty",f=r[l+1]?r[l+1][0]:"empty",!$o[p]&&!$o[f]?u.slice(-1)===","?c=!1:u+=i[1]:c=!1):u+=i[1];if(!c){let l=r.reduce((g,x)=>g+x[1],"");e.raws[s]={value:u,raw:l}}e[s]=u}spacesAndCommentsFromEnd(e){let s,r="";for(;e.length&&(s=e[e.length-1][0],!(s!=="space"&&s!=="comment"));)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let s,r="";for(;e.length&&(s=e[0][0],!(s!=="space"&&s!=="comment"));)r+=e.shift()[1];return r}spacesFromEnd(e){let s,r="";for(;e.length&&(s=e[e.length-1][0],s==="space");)r=e.pop()[1]+r;return r}stringFrom(e,s){let r="";for(let n=s;n<e.length;n++)r+=e[n][1];return e.splice(s,e.length-s),r}colon(e){let s=0,r,n,i;for(let[o,a]of e.entries()){if(r=a,n=r[0],n==="("&&(s+=1),n===")"&&(s-=1),s===0&&n===":")if(!i)this.doubleColon(r);else{if(i[0]==="word"&&i[1]==="progid")continue;return o}i=r}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,s){throw this.input.error("At-rule without name",{offset:s[2]},{offset:s[2]+s[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(e){let s=this.colon(e);if(s===!1)return;let r=0,n;for(let i=s-1;i>=0&&(n=e[i],!(n[0]!=="space"&&(r+=1,r===2)));i--);throw this.input.error("Missed semicolon",n[0]==="word"?n[3]+1:n[2])}};Uo.exports=Bs});var Wo=y(()=>{});var Vo=y((db,zo)=>{var ep="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",tp=(t,e=21)=>(s=e)=>{let r="",n=s;for(;n--;)r+=t[Math.random()*t.length|0];return r},rp=(t=21)=>{let e="",s=t;for(;s--;)e+=ep[Math.random()*64|0];return e};zo.exports={nanoid:rp,customAlphabet:tp}});var Fs=y((mb,Yo)=>{Yo.exports=class{}});var Fe=y((gb,Qo)=>{"use strict";var{SourceMapConsumer:sp,SourceMapGenerator:np}=Wo(),{fileURLToPath:Go,pathToFileURL:pr}={},{resolve:Ws,isAbsolute:zs}={},{nanoid:ip}=Vo(),$s=Ps(),Ko=Xt(),op=Fs(),Us=Symbol("fromOffsetCache"),ap=!!(sp&&np),Ho=!!(Ws&&zs),Be=class{constructor(e,s={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,s.from&&(!Ho||/^\w+:\/\//.test(s.from)||zs(s.from)?this.file=s.from:this.file=Ws(s.from)),Ho&&ap){let r=new op(this.css,s);if(r.text){this.map=r;let n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id="<input css "+ip(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let s,r;if(this[Us])r=this[Us];else{let i=this.css.split(`
36
- `);r=new Array(i.length);let o=0;for(let a=0,u=i.length;a<u;a++)r[a]=o,o+=i[a].length+1;this[Us]=r}s=r[r.length-1];let n=0;if(e>=s)n=r.length-1;else{let i=r.length-2,o;for(;n<i;)if(o=n+(i-n>>1),e<r[o])i=o-1;else if(e>=r[o+1])n=o+1;else{n=o;break}}return{line:n+1,col:e-r[n]+1}}error(e,s,r,n={}){let i,o,a;if(s&&typeof s=="object"){let c=s,f=r;if(typeof c.offset=="number"){let p=this.fromOffset(c.offset);s=p.line,r=p.col}else s=c.line,r=c.column;if(typeof f.offset=="number"){let p=this.fromOffset(f.offset);o=p.line,a=p.col}else o=f.line,a=f.column}else if(!r){let c=this.fromOffset(s);s=c.line,r=c.col}let u=this.origin(s,r,o,a);return u?i=new Ko(e,u.endLine===void 0?u.line:{line:u.line,column:u.column},u.endLine===void 0?u.column:{line:u.endLine,column:u.endColumn},u.source,u.file,n.plugin):i=new Ko(e,o===void 0?s:{line:s,column:r},o===void 0?r:{line:o,column:a},this.css,this.file,n.plugin),i.input={line:s,column:r,endLine:o,endColumn:a,source:this.css},this.file&&(pr&&(i.input.url=pr(this.file).toString()),i.input.file=this.file),i}origin(e,s,r,n){if(!this.map)return!1;let i=this.map.consumer(),o=i.originalPositionFor({line:e,column:s});if(!o.source)return!1;let a;typeof r=="number"&&(a=i.originalPositionFor({line:r,column:n}));let u;zs(o.source)?u=pr(o.source):u=new URL(o.source,this.map.consumer().sourceRoot||pr(this.map.mapFile));let c={url:u.toString(),line:o.line,column:o.column,endLine:a&&a.line,endColumn:a&&a.column};if(u.protocol==="file:")if(Go)c.file=Go(u);else throw new Error("file: protocol is not available in this PostCSS build");let f=i.sourceContentFor(o.source);return f&&(c.source=f),c}mapResolve(e){return/^\w+:\/\//.test(e)?e:Ws(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let s of["hasBOM","css","file","id"])this[s]!=null&&(e[s]=this[s]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}};Qo.exports=Be;Be.default=Be;$s&&$s.registerInput&&$s.registerInput(Be)});var xt=y((wb,jo)=>{"use strict";var up=ae(),lp=fr(),cp=Fe();function hr(t,e){let s=new cp(t,e),r=new lp(s);try{r.parse()}catch(n){throw n}return r.root}jo.exports=hr;hr.default=hr;up.registerParse(hr)});var Jo=y((vb,Vs)=>{var fp=ur(),pp=Fe();Vs.exports={isInlineComment(t){if(t[0]==="word"&&t[1].slice(0,2)==="//"){let e=t,s=[],r,n;for(;t;){if(/\r?\n/.test(t[1])){if(/['"].*\r?\n/.test(t[1])){s.push(t[1].substring(0,t[1].indexOf(`
37
- `))),n=t[1].substring(t[1].indexOf(`
38
- `));let o=this.input.css.valueOf().substring(this.tokenizer.position());n+=o,r=t[3]+o.length-n.length}else this.tokenizer.back(t);break}s.push(t[1]),r=t[2],t=this.tokenizer.nextToken({ignoreUnclosed:!0})}let i=["comment",s.join(""),e[2],r];return this.inlineComment(i),n&&(this.input=new pp(n),this.tokenizer=fp(this.input)),!0}else if(t[1]==="/"){let e=this.tokenizer.nextToken({ignoreUnclosed:!0});if(e[0]==="comment"&&/^\/\*/.test(e[1]))return e[0]="word",e[1]=e[1].slice(1),t[1]="//",this.tokenizer.back(e),Vs.exports.isInlineComment.bind(this)(t)}return!1}}});var Zo=y((xb,Xo)=>{Xo.exports={interpolation(t){let e=[t,this.tokenizer.nextToken()],s=["word","}"];if(e[0][1].length>1||e[1][0]!=="{")return this.tokenizer.back(e[1]),!1;for(t=this.tokenizer.nextToken();t&&s.includes(t[0]);)e.push(t),t=this.tokenizer.nextToken();let r=e.map(a=>a[1]),[n]=e,i=e.pop(),o=["word",r.join(""),n[2],i[2]];return this.tokenizer.back(t),this.tokenizer.back(o),!0}}});var ta=y((bb,ea)=>{var hp=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,dp=/\.[0-9]/,mp=t=>{let[,e]=t,[s]=e;return(s==="."||s==="#")&&hp.test(e)===!1&&dp.test(e)===!1};ea.exports={isMixinToken:mp}});var sa=y((kb,ra)=>{var yp=ur(),gp=/^url\((.+)\)/;ra.exports=t=>{let{name:e,params:s=""}=t;if(e==="import"&&s.length){t.import=!0;let r=yp({css:s});for(t.filename=s.replace(gp,"$1");!r.endOfFile();){let[n,i]=r.nextToken();if(n==="word"&&i==="url")return;if(n==="brackets"){t.options=i,t.filename=s.replace(i,"").trim();break}}}}});var aa=y((_b,oa)=>{var na=/:$/,ia=/^:(\s+)?/;oa.exports=t=>{let{name:e,params:s=""}=t;if(t.name.slice(-1)===":"){if(na.test(e)){let[r]=e.match(na);t.name=e.replace(r,""),t.raws.afterName=r+(t.raws.afterName||""),t.variable=!0,t.value=t.params}if(ia.test(s)){let[r]=s.match(ia);t.value=s.replace(r,""),t.raws.afterName=(t.raws.afterName||"")+r,t.variable=!0}}}});var ca=y((Eb,la)=>{var wp=qe(),vp=fr(),{isInlineComment:xp}=Jo(),{interpolation:ua}=Zo(),{isMixinToken:bp}=ta(),kp=sa(),_p=aa(),Tp=/(!\s*important)$/i;la.exports=class extends vp{constructor(...e){super(...e),this.lastNode=null}atrule(e){ua.bind(this)(e)||(super.atrule(e),kp(this.lastNode),_p(this.lastNode))}decl(...e){super.decl(...e),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(e){e[0][1]=` ${e[0][1]}`;let s=e.findIndex(a=>a[0]==="("),r=e.reverse().find(a=>a[0]===")"),n=e.reverse().indexOf(r),o=e.splice(s,n).map(a=>a[1]).join("");for(let a of e.reverse())this.tokenizer.back(a);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=o}init(e,s,r){super.init(e,s,r),this.lastNode=e}inlineComment(e){let s=new wp,r=e[1].slice(2);if(this.init(s,e[2]),s.source.end=this.getPosition(e[3]||e[2]),s.inline=!0,s.raws.begin="//",/^\s*$/.test(r))s.text="",s.raws.left=r,s.raws.right="";else{let n=r.match(/^(\s*)([^]*[^\s])(\s*)$/);[,s.raws.left,s.text,s.raws.right]=n}}mixin(e){let[s]=e,r=s[1].slice(0,1),n=e.findIndex(c=>c[0]==="brackets"),i=e.findIndex(c=>c[0]==="("),o="";if((n<0||n>3)&&i>0){let c=e.reduce((w,v,P)=>v[0]===")"?P:w),p=e.slice(i,c+i).map(w=>w[1]).join(""),[l]=e.slice(i),g=[l[2],l[3]],[x]=e.slice(c,c+1),h=[x[2],x[3]],d=["brackets",p].concat(g,h),m=e.slice(0,i),b=e.slice(c+1);e=m,e.push(d),e=e.concat(b)}let a=[];for(let c of e)if((c[1]==="!"||a.length)&&a.push(c),c[1]==="important")break;if(a.length){let[c]=a,f=e.indexOf(c),p=a[a.length-1],l=[c[2],c[3]],g=[p[4],p[5]],h=["word",a.map(d=>d[1]).join("")].concat(l,g);e.splice(f,a.length,h)}let u=e.findIndex(c=>Tp.test(c[1]));u>0&&([,o]=e[u],e.splice(u,1));for(let c of e.reverse())this.tokenizer.back(c);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=r,o&&(this.lastNode.important=!0,this.lastNode.raws.important=o)}other(e){xp.bind(this)(e)||super.other(e)}rule(e){let s=e[e.length-1],r=e[e.length-2];if(r[0]==="at-word"&&s[0]==="{"&&(this.tokenizer.back(s),ua.bind(this)(r))){let i=this.tokenizer.nextToken();e=e.slice(0,e.length-2).concat([i]);for(let o of e.reverse())this.tokenizer.back(o);return}super.rule(e),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(e){let[s]=e;if(e[0][1]==="each"&&e[1][0]==="("){this.each(e);return}if(bp(s)){this.mixin(e);return}super.unknownWord(e)}}});var pa=y((Cb,fa)=>{var Ep=Zt();fa.exports=class extends Ep{atrule(e,s){if(!e.mixin&&!e.variable&&!e.function){super.atrule(e,s);return}let n=`${e.function?"":e.raws.identifier||"@"}${e.name}`,i=e.params?this.rawValue(e,"params"):"",o=e.raws.important||"";if(e.variable&&(i=e.value),typeof e.raws.afterName<"u"?n+=e.raws.afterName:i&&(n+=" "),e.nodes)this.block(e,n+i+o);else{let a=(e.raws.between||"")+o+(s?";":"");this.builder(n+i+a,e)}}comment(e){if(e.inline){let s=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder(`//${s}${e.text}${r}`,e)}else super.comment(e)}}});var ha=y((Ob,Ys)=>{var Sp=Fe(),Cp=ca(),Op=pa();Ys.exports={parse(t,e){let s=new Sp(t,e),r=new Cp(s);return r.parse(),r.root.walk(n=>{let i=s.css.lastIndexOf(n.source.input.css);if(i===0)return;if(i+n.source.input.css.length!==s.css.length)throw new Error("Invalid state detected in postcss-less");let o=i+n.source.start.offset,a=s.fromOffset(i+n.source.start.offset);if(n.source.start={offset:o,line:a.line,column:a.col},n.source.end){let u=i+n.source.end.offset,c=s.fromOffset(i+n.source.end.offset);n.source.end={offset:u,line:c.line,column:c.col}}}),r.root},stringify(t,e){new Op(e).stringify(t)},nodeToString(t){let e="";return Ys.exports.stringify(t,s=>{e+=s}),e}}});var Gs=y((Ab,da)=>{da.exports=class{generate(){}}});var dr=y((Pb,ga)=>{"use strict";var Ap=ae(),ma,ya,ve=class extends Ap{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new ma(new ya,this,e).stringify()}};ve.registerLazyResult=t=>{ma=t};ve.registerProcessor=t=>{ya=t};ga.exports=ve;ve.default=ve});var Ks=y((Rb,va)=>{"use strict";var wa={};va.exports=function(e){wa[e]||(wa[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}});var Hs=y((Ib,xa)=>{"use strict";var bt=class{constructor(e,s={}){if(this.type="warning",this.text=e,s.node&&s.node.source){let r=s.node.rangeBy(s);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in s)this[r]=s[r]}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}};xa.exports=bt;bt.default=bt});var mr=y((qb,ba)=>{"use strict";var Np=Hs(),kt=class{constructor(e,s,r){this.processor=e,this.messages=[],this.root=s,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,s={}){s.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(s.plugin=this.lastPlugin.postcssPlugin);let r=new Np(e,s);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};ba.exports=kt;kt.default=kt});var Js=y((Lb,Ea)=>{"use strict";var{isClean:H,my:Pp}=Jt(),Rp=Gs(),Ip=pt(),qp=ae(),Dp=dr(),Db=Ks(),ka=mr(),Lp=xt(),Mp=Le(),Bp={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},Fp={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},$p={postcssPlugin:!0,prepare:!0,Once:!0},$e=0;function _t(t){return typeof t=="object"&&typeof t.then=="function"}function Ta(t){let e=!1,s=Bp[t.type];return t.type==="decl"?e=t.prop.toLowerCase():t.type==="atrule"&&(e=t.name.toLowerCase()),e&&t.append?[s,s+"-"+e,$e,s+"Exit",s+"Exit-"+e]:e?[s,s+"-"+e,s+"Exit",s+"Exit-"+e]:t.append?[s,$e,s+"Exit"]:[s,s+"Exit"]}function _a(t){let e;return t.type==="document"?e=["Document",$e,"DocumentExit"]:t.type==="root"?e=["Root",$e,"RootExit"]:e=Ta(t),{node:t,events:e,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function Qs(t){return t[H]=!1,t.nodes&&t.nodes.forEach(e=>Qs(e)),t}var js={},Q=class{constructor(e,s,r){this.stringified=!1,this.processed=!1;let n;if(typeof s=="object"&&s!==null&&(s.type==="root"||s.type==="document"))n=Qs(s);else if(s instanceof Q||s instanceof ka)n=Qs(s.root),s.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=s.map);else{let i=Lp;r.syntax&&(i=r.syntax.parse),r.parser&&(i=r.parser),i.parse&&(i=i.parse);try{n=i(s,r)}catch(o){this.processed=!0,this.error=o}n&&!n[Pp]&&qp.rebuild(n)}this.result=new ka(e,n,r),this.helpers={...js,result:this.result,postcss:js},this.plugins=this.processor.plugins.map(i=>typeof i=="object"&&i.prepare?{...i,...i.prepare(this.result)}:i)}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,s){return this.async().then(e,s)}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){let s=this.runOnRoot(e);if(_t(s))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[H];)e[H]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let s of e.nodes)this.visitSync(this.listeners.OnceExit,s);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,s=Ip;e.syntax&&(s=e.syntax.stringify),e.stringifier&&(s=e.stringifier),s.stringify&&(s=s.stringify);let n=new Rp(s,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}walkSync(e){e[H]=!0;let s=Ta(e);for(let r of s)if(r===$e)e.nodes&&e.each(n=>{n[H]||this.walkSync(n)});else{let n=this.listeners[r];if(n&&this.visitSync(n,e.toProxy()))return}}visitSync(e,s){for(let[r,n]of e){this.result.lastPlugin=r;let i;try{i=n(s,this.helpers)}catch(o){throw this.handleError(o,s.proxyOf)}if(s.type!=="root"&&s.type!=="document"&&!s.parent)return!0;if(_t(i))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let s=this.result.root.nodes.map(r=>e.Once(r,this.helpers));return _t(s[0])?Promise.all(s):s}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(s){throw this.handleError(s)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,s){let r=this.result.lastPlugin;try{s&&s.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin?(e.plugin=r.postcssPlugin,e.setMessage()):r.postcssVersion}catch(n){console&&console.error&&console.error(n)}return e}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let s=this.plugins[e],r=this.runOnRoot(s);if(_t(r))try{await r}catch(n){throw this.handleError(n)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[H];){e[H]=!0;let s=[_a(e)];for(;s.length>0;){let r=this.visitTick(s);if(_t(r))try{await r}catch(n){let i=s[s.length-1].node;throw this.handleError(n,i)}}}if(this.listeners.OnceExit)for(let[s,r]of this.listeners.OnceExit){this.result.lastPlugin=s;try{if(e.type==="document"){let n=e.nodes.map(i=>r(i,this.helpers));await Promise.all(n)}else await r(e,this.helpers)}catch(n){throw this.handleError(n)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(s,r,n)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([s,n])};for(let s of this.plugins)if(typeof s=="object")for(let r in s){if(!Fp[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${s.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!$p[r])if(typeof s[r]=="object")for(let n in s[r])n==="*"?e(s,r,s[r][n]):e(s,r+"-"+n.toLowerCase(),s[r][n]);else typeof s[r]=="function"&&e(s,r,s[r])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let s=e[e.length-1],{node:r,visitors:n}=s;if(r.type!=="root"&&r.type!=="document"&&!r.parent){e.pop();return}if(n.length>0&&s.visitorIndex<n.length){let[o,a]=n[s.visitorIndex];s.visitorIndex+=1,s.visitorIndex===n.length&&(s.visitors=[],s.visitorIndex=0),this.result.lastPlugin=o;try{return a(r.toProxy(),this.helpers)}catch(u){throw this.handleError(u,r)}}if(s.iterator!==0){let o=s.iterator,a;for(;a=r.nodes[r.indexes[o]];)if(r.indexes[o]+=1,!a[H]){a[H]=!0,e.push(_a(a));return}s.iterator=0,delete r.indexes[o]}let i=s.events;for(;s.eventIndex<i.length;){let o=i[s.eventIndex];if(s.eventIndex+=1,o===$e){r.nodes&&r.nodes.length&&(r[H]=!0,s.iterator=r.getIterator());return}else if(this.listeners[o]){s.visitors=this.listeners[o];return}}e.pop()}};Q.registerPostcss=t=>{js=t};Ea.exports=Q;Q.default=Q;Mp.registerLazyResult(Q);Dp.registerLazyResult(Q)});var Ca=y((Bb,Sa)=>{"use strict";var Up=Gs(),Wp=pt(),Mb=Ks(),zp=xt(),Vp=mr(),Tt=class{constructor(e,s,r){s=s.toString(),this.stringified=!1,this._processor=e,this._css=s,this._opts=r,this._map=void 0;let n,i=Wp;this.result=new Vp(this._processor,n,this._opts),this.result.css=s;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let a=new Up(i,n,this._opts,s);if(a.isMap()){let[u,c]=a.generate();u&&(this.result.css=u),c&&(this.result.map=c)}}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,s=zp;try{e=s(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,s){return this.async().then(e,s)}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}};Sa.exports=Tt;Tt.default=Tt});var Aa=y((Fb,Oa)=>{"use strict";var Yp=Ca(),Gp=Js(),Kp=dr(),Hp=Le(),xe=class{constructor(e=[]){this.version="8.4.23",this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,s={}){return this.plugins.length===0&&typeof s.parser>"u"&&typeof s.stringifier>"u"&&typeof s.syntax>"u"?new Yp(this,e,s):new Gp(this,e,s)}normalize(e){let s=[];for(let r of e)if(r.postcss===!0?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))s=s.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)s.push(r);else if(typeof r=="function")s.push(r);else if(!(typeof r=="object"&&(r.parse||r.stringify)))throw new Error(r+" is not a PostCSS plugin");return s}};Oa.exports=xe;xe.default=xe;Hp.registerProcessor(xe);Kp.registerProcessor(xe)});var Pa=y(($b,Na)=>{"use strict";var Qp=yt(),jp=Fs(),Jp=qe(),Xp=lr(),Zp=Fe(),eh=Le(),th=cr();function Et(t,e){if(Array.isArray(t))return t.map(n=>Et(n));let{inputs:s,...r}=t;if(s){e=[];for(let n of s){let i={...n,__proto__:Zp.prototype};i.map&&(i.map={...i.map,__proto__:jp.prototype}),e.push(i)}}if(r.nodes&&(r.nodes=t.nodes.map(n=>Et(n,e))),r.source){let{inputId:n,...i}=r.source;r.source=i,n!=null&&(r.source.input=e[n])}if(r.type==="root")return new eh(r);if(r.type==="decl")return new Qp(r);if(r.type==="rule")return new th(r);if(r.type==="comment")return new Jp(r);if(r.type==="atrule")return new Xp(r);throw new Error("Unknown node type: "+t.type)}Na.exports=Et;Et.default=Et});var yr=y((Ub,Ba)=>{"use strict";var rh=Xt(),Ra=yt(),sh=Js(),nh=ae(),Xs=Aa(),ih=pt(),oh=Pa(),Ia=dr(),ah=Hs(),qa=qe(),Da=lr(),uh=mr(),lh=Fe(),ch=xt(),fh=Ms(),La=cr(),Ma=Le(),ph=dt();function k(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new Xs(t)}k.plugin=function(e,s){let r=!1;function n(...o){console&&console.warn&&!r&&(r=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
39
- https://evilmartians.com/chronicles/postcss-8-plugin-migration`));let a=s(...o);return a.postcssPlugin=e,a.postcssVersion=new Xs().version,a}let i;return Object.defineProperty(n,"postcss",{get(){return i||(i=n()),i}}),n.process=function(o,a,u){return k([n(u)]).process(o,a)},n};k.stringify=ih;k.parse=ch;k.fromJSON=oh;k.list=fh;k.comment=t=>new qa(t);k.atRule=t=>new Da(t);k.decl=t=>new Ra(t);k.rule=t=>new La(t);k.root=t=>new Ma(t);k.document=t=>new Ia(t);k.CssSyntaxError=rh;k.Declaration=Ra;k.Container=nh;k.Processor=Xs;k.Document=Ia;k.Comment=qa;k.Warning=ah;k.AtRule=Da;k.Result=uh;k.Input=lh;k.Rule=La;k.Root=Ma;k.Node=ph;sh.registerPostcss(k);Ba.exports=k;k.default=k});var $a=y((Wb,Fa)=>{var{Container:hh}=yr(),Zs=class extends hh{constructor(e){super(e),this.type="decl",this.isNested=!0,this.nodes||(this.nodes=[])}};Fa.exports=Zs});var Ga=y((zb,Ya)=>{"use strict";var en="'".charCodeAt(0),tn='"'.charCodeAt(0),St="\\".charCodeAt(0),gr="/".charCodeAt(0),rn=`
40
- `.charCodeAt(0),wr=" ".charCodeAt(0),sn="\f".charCodeAt(0),nn=" ".charCodeAt(0),on="\r".charCodeAt(0),dh="[".charCodeAt(0),mh="]".charCodeAt(0),Ua="(".charCodeAt(0),Wa=")".charCodeAt(0),vr="{".charCodeAt(0),za="}".charCodeAt(0),yh=";".charCodeAt(0),gh="*".charCodeAt(0),wh=":".charCodeAt(0),vh="@".charCodeAt(0),xh=",".charCodeAt(0),an="#".charCodeAt(0),xr=/[\t\n\f\r "#'()/;[\\\]{}]/g,br=/[,\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,bh=/.[\n"'(/\\]/,Va=/[\da-f]/i,kr=/[\n\f\r]/g;Ya.exports=function(e,s={}){let r=e.css.valueOf(),n=s.ignoreErrors,i,o,a,u,c,f,p,l,g,x=r.length,h=0,d=[],m=[],b;function w(){return h}function v(C){throw e.error("Unclosed "+C,h)}function P(){return m.length===0&&h>=x}function W(){let C=1,O=!1,A=!1;for(;C>0;)o+=1,r.length<=o&&v("interpolation"),i=r.charCodeAt(o),l=r.charCodeAt(o+1),O?!A&&i===O?(O=!1,A=!1):i===St?A=!A:A&&(A=!1):i===en||i===tn?O=i:i===za?C-=1:i===an&&l===vr&&(C+=1)}function j(C){if(m.length)return m.pop();if(h>=x)return;let O=C?C.ignoreUnclosed:!1;switch(i=r.charCodeAt(h),i){case rn:case wr:case nn:case on:case sn:{o=h;do o+=1,i=r.charCodeAt(o);while(i===wr||i===rn||i===nn||i===on||i===sn);g=["space",r.slice(h,o)],h=o-1;break}case dh:case mh:case vr:case za:case wh:case yh:case Wa:{let A=String.fromCharCode(i);g=[A,A,h];break}case xh:{g=["word",",",h,h+1];break}case Ua:{if(p=d.length?d.pop()[1]:"",l=r.charCodeAt(h+1),p==="url"&&l!==en&&l!==tn){for(b=1,f=!1,o=h+1;o<=r.length-1;){if(l=r.charCodeAt(o),l===St)f=!f;else if(l===Ua)b+=1;else if(l===Wa&&(b-=1,b===0))break;o+=1}u=r.slice(h,o+1),g=["brackets",u,h,o],h=o}else o=r.indexOf(")",h+1),u=r.slice(h,o+1),o===-1||bh.test(u)?g=["(","(",h]:(g=["brackets",u,h,o],h=o);break}case en:case tn:{for(a=i,o=h,f=!1;o<x&&(o++,o===x&&v("string"),i=r.charCodeAt(o),l=r.charCodeAt(o+1),!(!f&&i===a));)i===St?f=!f:f?f=!1:i===an&&l===vr&&W();g=["string",r.slice(h,o+1),h,o],h=o;break}case vh:{xr.lastIndex=h+1,xr.test(r),xr.lastIndex===0?o=r.length-1:o=xr.lastIndex-2,g=["at-word",r.slice(h,o+1),h,o],h=o;break}case St:{for(o=h,c=!0;r.charCodeAt(o+1)===St;)o+=1,c=!c;if(i=r.charCodeAt(o+1),c&&i!==gr&&i!==wr&&i!==rn&&i!==nn&&i!==on&&i!==sn&&(o+=1,Va.test(r.charAt(o)))){for(;Va.test(r.charAt(o+1));)o+=1;r.charCodeAt(o+1)===wr&&(o+=1)}g=["word",r.slice(h,o+1),h,o],h=o;break}default:l=r.charCodeAt(h+1),i===an&&l===vr?(o=h,W(),u=r.slice(h,o+1),g=["word",u,h,o],h=o):i===gr&&l===gh?(o=r.indexOf("*/",h+2)+1,o===0&&(n||O?o=r.length:v("comment")),g=["comment",r.slice(h,o+1),h,o],h=o):i===gr&&l===gr?(kr.lastIndex=h+1,kr.test(r),kr.lastIndex===0?o=r.length-1:o=kr.lastIndex-2,u=r.slice(h,o+1),g=["comment",u,h,o,"inline"],h=o):(br.lastIndex=h+1,br.test(r),br.lastIndex===0?o=r.length-1:o=br.lastIndex-2,g=["word",r.slice(h,o+1),h,o],d.push(g),h=o);break}return h++,g}function z(C){m.push(C)}return{back:z,nextToken:j,endOfFile:P,position:w}}});var Ha=y((Vb,Ka)=>{var{Comment:kh}=yr(),_h=fr(),Th=$a(),Eh=Ga(),un=class extends _h{createTokenizer(){this.tokenizer=Eh(this.input)}rule(e){let s=!1,r=0,n="";for(let i of e)if(s)i[0]!=="comment"&&i[0]!=="{"&&(n+=i[1]);else{if(i[0]==="space"&&i[1].includes(`
41
- `))break;i[0]==="("?r+=1:i[0]===")"?r-=1:r===0&&i[0]===":"&&(s=!0)}if(!s||n.trim()===""||/^[#:A-Za-z-]/.test(n))super.rule(e);else{e.pop();let i=new Th;this.init(i,e[0][2]);let o;for(let u=e.length-1;u>=0;u--)if(e[u][0]!=="space"){o=e[u];break}if(o[3]){let u=this.input.fromOffset(o[3]);i.source.end={offset:o[3],line:u.line,column:u.col}}else{let u=this.input.fromOffset(o[2]);i.source.end={offset:o[2],line:u.line,column:u.col}}for(;e[0][0]!=="word";)i.raws.before+=e.shift()[1];if(e[0][2]){let u=this.input.fromOffset(e[0][2]);i.source.start={offset:e[0][2],line:u.line,column:u.col}}for(i.prop="";e.length;){let u=e[0][0];if(u===":"||u==="space"||u==="comment")break;i.prop+=e.shift()[1]}i.raws.between="";let a;for(;e.length;)if(a=e.shift(),a[0]===":"){i.raws.between+=a[1];break}else i.raws.between+=a[1];(i.prop[0]==="_"||i.prop[0]==="*")&&(i.raws.before+=i.prop[0],i.prop=i.prop.slice(1)),i.raws.between+=this.spacesAndCommentsFromStart(e),this.precheckMissedSemicolon(e);for(let u=e.length-1;u>0;u--){if(a=e[u],a[1]==="!important"){i.important=!0;let c=this.stringFrom(e,u);c=this.spacesFromEnd(e)+c,c!==" !important"&&(i.raws.important=c);break}else if(a[1]==="important"){let c=e.slice(0),f="";for(let p=u;p>0;p--){let l=c[p][0];if(f.trim().indexOf("!")===0&&l!=="space")break;f=c.pop()[1]+f}f.trim().indexOf("!")===0&&(i.important=!0,i.raws.important=f,e=c)}if(a[0]!=="space"&&a[0]!=="comment")break}this.raw(i,"value",e),i.value.includes(":")&&this.checkMissedSemicolon(e),this.current=i}}comment(e){if(e[4]==="inline"){let s=new kh;this.init(s,e[2]),s.raws.inline=!0;let r=this.input.fromOffset(e[3]);s.source.end={offset:e[3],line:r.line,column:r.col};let n=e[1].slice(2);if(/^\s*$/.test(n))s.text="",s.raws.left=n,s.raws.right="";else{let i=n.match(/^(\s*)([^]*\S)(\s*)$/),o=i[2].replace(/(\*\/|\/\*)/g,"*//*");s.text=o,s.raws.left=i[1],s.raws.right=i[3],s.raws.text=i[2]}}else super.comment(e)}atrule(e){let s=e[1],r=e;for(;!this.tokenizer.endOfFile();){let n=this.tokenizer.nextToken();if(n[0]==="word"&&n[2]===r[3]+1)s+=n[1],r=n;else{this.tokenizer.back(n);break}}super.atrule(["at-word",s,e[2],r[3]])}raw(e,s,r,n){if(super.raw(e,s,r,n),e.raws[s]){let i=e.raws[s].raw;e.raws[s].raw=r.reduce((o,a)=>{if(a[0]==="comment"&&a[4]==="inline"){let u=a[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return o+"/*"+u+"*/"}else return o+a[1]},""),i!==e.raws[s].raw&&(e.raws[s].scss=i)}}};Ka.exports=un});var ja=y((Yb,Qa)=>{var{Input:Sh}=yr(),Ch=Ha();Qa.exports=function(e,s){let r=new Sh(e,s),n=new Ch(r);return n.parse(),n.root}});function Oh(t,e){let s=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(s,e)}var Ja,Xa=E(()=>{Ja=Oh});function Ah(t,e){return e.parser!=="scss"||!t.selector?!1:t.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trim().endsWith(":")}var Za,eu=E(()=>{Za=Ah});function Ph(t){return Nh.has(t)}var Nh,tu,ru=E(()=>{Nh=new Set(["import","use","forward"]);tu=Ph});var Y=y((jb,su)=>{"use strict";var ln=function(t,e){let s=new t.constructor;for(let r in t){if(!t.hasOwnProperty(r))continue;let n=t[r],i=typeof n;r==="parent"&&i==="object"?e&&(s[r]=e):r==="source"?s[r]=n:n instanceof Array?s[r]=n.map(o=>ln(o,s)):r!=="before"&&r!=="after"&&r!=="between"&&r!=="semicolon"&&(i==="object"&&n!==null&&(n=ln(n)),s[r]=n)}return s};su.exports=class{constructor(e){e=e||{},this.raws={before:"",after:""};for(let s in e)this[s]=e[s]}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(){return[this.raws.before,String(this.value),this.raws.after].join("")}clone(e){e=e||{};let s=ln(this);for(let r in e)s[r]=e[r];return s}cloneBefore(e){e=e||{};let s=this.clone(e);return this.parent.insertBefore(this,s),s}cloneAfter(e){e=e||{};let s=this.clone(e);return this.parent.insertAfter(this,s),s}replaceWith(){let e=Array.prototype.slice.call(arguments);if(this.parent){for(let s of e)this.parent.insertBefore(this,s);this.remove()}return this}moveTo(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.append(this),this}moveBefore(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertBefore(e,this),this}moveAfter(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertAfter(e,this),this}next(){let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){let e=this.parent.index(this);return this.parent.nodes[e-1]}toJSON(){let e={};for(let s in this){if(!this.hasOwnProperty(s)||s==="parent")continue;let r=this[s];r instanceof Array?e[s]=r.map(n=>typeof n=="object"&&n.toJSON?n.toJSON():n):typeof r=="object"&&r.toJSON?e[s]=r.toJSON():e[s]=r}return e}root(){let e=this;for(;e.parent;)e=e.parent;return e}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}positionInside(e){let s=this.toString(),r=this.source.start.column,n=this.source.start.line;for(let i=0;i<e;i++)s[i]===`
42
- `?(r=1,n+=1):r+=1;return{line:n,column:r}}positionBy(e){let s=this.source.start;if(Object(e).index)s=this.positionInside(e.index);else if(Object(e).word){let r=this.toString().indexOf(e.word);r!==-1&&(s=this.positionInside(r))}return s}}});var F=y((Jb,nu)=>{"use strict";var Rh=Y(),Ue=class extends Rh{constructor(e){super(e),this.nodes||(this.nodes=[])}push(e){return e.parent=this,this.nodes.push(e),this}each(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let s=this.lastEach,r,n;if(this.indexes[s]=0,!!this.nodes){for(;this.indexes[s]<this.nodes.length&&(r=this.indexes[s],n=e(this.nodes[r],r),n!==!1);)this.indexes[s]+=1;return delete this.indexes[s],n}}walk(e){return this.each((s,r)=>{let n=e(s,r);return n!==!1&&s.walk&&(n=s.walk(e)),n})}walkType(e,s){if(!e||!s)throw new Error("Parameters {type} and {callback} are required.");let r=typeof e=="function";return this.walk((n,i)=>{if(r&&n instanceof e||!r&&n.type===e)return s.call(this,n,i)})}append(e){return e.parent=this,this.nodes.push(e),this}prepend(e){return e.parent=this,this.nodes.unshift(e),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let s of this.nodes)s.cleanRaws(e)}insertAfter(e,s){let r=this.index(e),n;this.nodes.splice(r+1,0,s);for(let i in this.indexes)n=this.indexes[i],r<=n&&(this.indexes[i]=n+this.nodes.length);return this}insertBefore(e,s){let r=this.index(e),n;this.nodes.splice(r,0,s);for(let i in this.indexes)n=this.indexes[i],r<=n&&(this.indexes[i]=n+this.nodes.length);return this}removeChild(e){e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1);let s;for(let r in this.indexes)s=this.indexes[r],s>=e&&(this.indexes[r]=s-1);return this}removeAll(){for(let e of this.nodes)e.parent=void 0;return this.nodes=[],this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return typeof e=="number"?e:this.nodes.indexOf(e)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let e=this.nodes.map(String).join("");return this.value&&(e=this.value+e),this.raws.before&&(e=this.raws.before+e),this.raws.after&&(e+=this.raws.after),e}};Ue.registerWalker=t=>{let e="walk"+t.name;e.lastIndexOf("s")!==e.length-1&&(e+="s"),!Ue.prototype[e]&&(Ue.prototype[e]=function(s){return this.walkType(t,s)})};nu.exports=Ue});var ou=y((Zb,iu)=>{"use strict";var Ih=F();iu.exports=class extends Ih{constructor(e){super(e),this.type="root"}}});var uu=y((tk,au)=>{"use strict";var qh=F();au.exports=class extends qh{constructor(e){super(e),this.type="value",this.unbalanced=0}}});var fu=y((rk,cu)=>{"use strict";var lu=F(),_r=class extends lu{constructor(e){super(e),this.type="atword"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};lu.registerWalker(_r);cu.exports=_r});var hu=y((sk,pu)=>{"use strict";var Dh=F(),Lh=Y(),Tr=class extends Lh{constructor(e){super(e),this.type="colon"}};Dh.registerWalker(Tr);pu.exports=Tr});var mu=y((nk,du)=>{"use strict";var Mh=F(),Bh=Y(),Er=class extends Bh{constructor(e){super(e),this.type="comma"}};Mh.registerWalker(Er);du.exports=Er});var gu=y((ik,yu)=>{"use strict";var Fh=F(),$h=Y(),Sr=class extends $h{constructor(e){super(e),this.type="comment",this.inline=Object(e).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};Fh.registerWalker(Sr);yu.exports=Sr});var xu=y((ok,vu)=>{"use strict";var wu=F(),Cr=class extends wu{constructor(e){super(e),this.type="func",this.unbalanced=-1}};wu.registerWalker(Cr);vu.exports=Cr});var ku=y((ak,bu)=>{"use strict";var Uh=F(),Wh=Y(),Or=class extends Wh{constructor(e){super(e),this.type="number",this.unit=Object(e).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}};Uh.registerWalker(Or);bu.exports=Or});var Tu=y((uk,_u)=>{"use strict";var zh=F(),Vh=Y(),Ar=class extends Vh{constructor(e){super(e),this.type="operator"}};zh.registerWalker(Ar);_u.exports=Ar});var Su=y((lk,Eu)=>{"use strict";var Yh=F(),Gh=Y(),Nr=class extends Gh{constructor(e){super(e),this.type="paren",this.parenType=""}};Yh.registerWalker(Nr);Eu.exports=Nr});var Ou=y((ck,Cu)=>{"use strict";var Kh=F(),Hh=Y(),Pr=class extends Hh{constructor(e){super(e),this.type="string"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,e,this.value+"",e,this.raws.after].join("")}};Kh.registerWalker(Pr);Cu.exports=Pr});var Nu=y((fk,Au)=>{"use strict";var Qh=F(),jh=Y(),Rr=class extends jh{constructor(e){super(e),this.type="word"}};Qh.registerWalker(Rr);Au.exports=Rr});var Ru=y((pk,Pu)=>{"use strict";var Jh=F(),Xh=Y(),Ir=class extends Xh{constructor(e){super(e),this.type="unicode-range"}};Jh.registerWalker(Ir);Pu.exports=Ir});var qu=y((hk,Iu)=>{"use strict";var cn=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};Iu.exports=cn});var Uu=y((dk,$u)=>{"use strict";var Zh="{".charCodeAt(0),ed="}".charCodeAt(0),td="(".charCodeAt(0),rd=")".charCodeAt(0),Du="'".charCodeAt(0),sd='"'.charCodeAt(0),Lu="\\".charCodeAt(0),qr="/".charCodeAt(0),nd=".".charCodeAt(0),id=",".charCodeAt(0),od=":".charCodeAt(0),fn="*".charCodeAt(0),Dr="-".charCodeAt(0),pn="+".charCodeAt(0),ad="#".charCodeAt(0),Ct=`
43
- `.charCodeAt(0),hn=" ".charCodeAt(0),dn="\f".charCodeAt(0),mn=" ".charCodeAt(0),yn="\r".charCodeAt(0),ud="@".charCodeAt(0),ld="e".charCodeAt(0),cd="E".charCodeAt(0),Mu="0".charCodeAt(0),Bu="9".charCodeAt(0),fd="u".charCodeAt(0),pd="U".charCodeAt(0),Lr=/[ \n\t\r\{\(\)'"\\;,/]/g,hd=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,We=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,dd=/^[a-z0-9]/i,md=/^[a-f0-9?\-]/i,Fu=qu();$u.exports=function(e,s){s=s||{};let r=[],n=e.valueOf(),i=n.length,o=-1,a=1,u=0,c=0,f=null,p,l,g,x,h,d,m,b,w,v,P,W;function j(C){let O=`Unclosed ${C} at line: ${a}, column: ${u-o}, token: ${u}`;throw new Fu(O)}function z(){let C=`Syntax error at line: ${a}, column: ${u-o}, token: ${u}`;throw new Fu(C)}for(;u<i;){switch(p=n.charCodeAt(u),p===Ct&&(o=u,a+=1),p){case Ct:case hn:case mn:case yn:case dn:l=u;do l+=1,p=n.charCodeAt(l),p===Ct&&(o=l,a+=1);while(p===hn||p===Ct||p===mn||p===yn||p===dn);r.push(["space",n.slice(u,l),a,u-o,a,l-o,u]),u=l-1;break;case od:l=u+1,r.push(["colon",n.slice(u,l),a,u-o,a,l-o,u]),u=l-1;break;case id:l=u+1,r.push(["comma",n.slice(u,l),a,u-o,a,l-o,u]),u=l-1;break;case Zh:r.push(["{","{",a,u-o,a,l-o,u]);break;case ed:r.push(["}","}",a,u-o,a,l-o,u]);break;case td:c++,f=!f&&c===1&&r.length>0&&r[r.length-1][0]==="word"&&r[r.length-1][1]==="url",r.push(["(","(",a,u-o,a,l-o,u]);break;case rd:c--,f=f&&c>0,r.push([")",")",a,u-o,a,l-o,u]);break;case Du:case sd:g=p===Du?"'":'"',l=u;do for(v=!1,l=n.indexOf(g,l+1),l===-1&&j("quote",g),P=l;n.charCodeAt(P-1)===Lu;)P-=1,v=!v;while(v);r.push(["string",n.slice(u,l+1),a,u-o,a,l-o,u]),u=l;break;case ud:Lr.lastIndex=u+1,Lr.test(n),Lr.lastIndex===0?l=n.length-1:l=Lr.lastIndex-2,r.push(["atword",n.slice(u,l+1),a,u-o,a,l-o,u]),u=l;break;case Lu:l=u,p=n.charCodeAt(l+1),m&&p!==qr&&p!==hn&&p!==Ct&&p!==mn&&p!==yn&&p!==dn&&(l+=1),r.push(["word",n.slice(u,l+1),a,u-o,a,l-o,u]),u=l;break;case pn:case Dr:case fn:l=u+1,W=n.slice(u+1,l+1);let C=n.slice(u-1,u);if(p===Dr&&W.charCodeAt(0)===Dr){l++,r.push(["word",n.slice(u,l),a,u-o,a,l-o,u]),u=l-1;break}r.push(["operator",n.slice(u,l),a,u-o,a,l-o,u]),u=l-1;break;default:if(p===qr&&(n.charCodeAt(u+1)===fn||s.loose&&!f&&n.charCodeAt(u+1)===qr)){if(n.charCodeAt(u+1)===fn)l=n.indexOf("*/",u+2)+1,l===0&&j("comment","*/");else{let A=n.indexOf(`
44
- `,u+2);l=A!==-1?A-1:i}d=n.slice(u,l+1),x=d.split(`
45
- `),h=x.length-1,h>0?(b=a+h,w=l-x[h].length):(b=a,w=o),r.push(["comment",d,a,u-o,b,l-w,u]),o=w,a=b,u=l}else if(p===ad&&!dd.test(n.slice(u+1,u+2)))l=u+1,r.push(["#",n.slice(u,l),a,u-o,a,l-o,u]),u=l-1;else if((p===fd||p===pd)&&n.charCodeAt(u+1)===pn){l=u+2;do l+=1,p=n.charCodeAt(l);while(l<i&&md.test(n.slice(l,l+1)));r.push(["unicoderange",n.slice(u,l),a,u-o,a,l-o,u]),u=l-1}else if(p===qr)l=u+1,r.push(["operator",n.slice(u,l),a,u-o,a,l-o,u]),u=l-1;else{let O=hd;if(p>=Mu&&p<=Bu&&(O=We),O.lastIndex=u+1,O.test(n),O.lastIndex===0?l=n.length-1:l=O.lastIndex-2,O===We||p===nd){let A=n.charCodeAt(l),ke=n.charCodeAt(l+1),$n=n.charCodeAt(l+2);(A===ld||A===cd)&&(ke===Dr||ke===pn)&&$n>=Mu&&$n<=Bu&&(We.lastIndex=l+2,We.test(n),We.lastIndex===0?l=n.length-1:l=We.lastIndex-2)}r.push(["word",n.slice(u,l+1),a,u-o,a,l-o,u]),u=l}break}u++}return r}});var gn=y((mk,Wu)=>{Wu.exports=function(e,s){if(s=typeof s=="number"?s:1/0,!s)return Array.isArray(e)?e.map(function(n){return n}):e;return r(e,1);function r(n,i){return n.reduce(function(o,a){return Array.isArray(a)&&i<s?o.concat(r(a,i+1)):o.concat(a)},[])}}});var wn=y((yk,zu)=>{zu.exports=function(t,e){for(var s=-1,r=[];(s=t.indexOf(e,s+1))!==-1;)r.push(s);return r}});var vn=y((gk,Vu)=>{"use strict";function yd(t,e){for(var s=1,r=t.length,n=t[0],i=t[0],o=1;o<r;++o)if(i=n,n=t[o],e(n,i)){if(o===s){s++;continue}t[s++]=n}return t.length=s,t}function gd(t){for(var e=1,s=t.length,r=t[0],n=t[0],i=1;i<s;++i,n=r)if(n=r,r=t[i],r!==n){if(i===e){e++;continue}t[e++]=r}return t.length=e,t}function wd(t,e,s){return t.length===0?t:e?(s||t.sort(e),yd(t,e)):(s||t.sort(),gd(t))}Vu.exports=wd});var Gu=y((wk,Yu)=>{"use strict";var xn=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};Yu.exports=xn});var ju=y((xk,Qu)=>{"use strict";var vd=ou(),xd=uu(),bd=fu(),kd=hu(),_d=mu(),Td=gu(),Ed=xu(),Sd=ku(),Cd=Tu(),Ku=Su(),Od=Ou(),Hu=Nu(),Ad=Ru(),Nd=Uu(),Pd=gn(),Rd=wn(),Id=vn(),qd=Gu();function Dd(t){return t.sort((e,s)=>e-s)}Qu.exports=class{constructor(e,s){let r={loose:!1};this.cache=[],this.input=e,this.options=Object.assign({},r,s),this.position=0,this.unbalanced=0,this.root=new vd;let n=new xd;this.root.append(n),this.current=n,this.tokens=Nd(e,this.options)}parse(){return this.loop()}colon(){let e=this.currToken;this.newNode(new kd({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comma(){let e=this.currToken;this.newNode(new _d({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comment(){let e=!1,s=this.currToken[1].replace(/\/\*|\*\//g,""),r;this.options.loose&&s.startsWith("//")&&(s=s.substring(2),e=!0),r=new Td({value:s,inline:e,source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]}),this.newNode(r),this.position++}error(e,s){throw new qd(e+` at line: ${s[2]}, column ${s[3]}`)}loop(){for(;this.position<this.tokens.length;)this.parseTokens();return!this.current.last&&this.spaces?this.current.raws.before+=this.spaces:this.spaces&&(this.current.last.raws.after+=this.spaces),this.spaces="",this.root}operator(){let e=this.currToken[1],s;if(e==="+"||e==="-"){if(this.options.loose||this.position>0&&(this.current.type==="func"&&this.current.value==="calc"?this.prevToken[0]!=="space"&&this.prevToken[0]!=="("?this.error("Syntax Error",this.currToken):this.nextToken[0]!=="space"&&this.nextToken[0]!=="word"?this.error("Syntax Error",this.currToken):this.nextToken[0]==="word"&&this.current.last.type!=="operator"&&this.current.last.value!=="("&&this.error("Syntax Error",this.currToken):(this.nextToken[0]==="space"||this.nextToken[0]==="operator"||this.prevToken[0]==="operator")&&this.error("Syntax Error",this.currToken)),this.options.loose){if((!this.current.nodes.length||this.current.last&&this.current.last.type==="operator")&&this.nextToken[0]==="word")return this.word()}else if(this.nextToken[0]==="word")return this.word()}return s=new Cd({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),this.position++,this.newNode(s)}parseTokens(){switch(this.currToken[0]){case"space":this.space();break;case"colon":this.colon();break;case"comma":this.comma();break;case"comment":this.comment();break;case"(":this.parenOpen();break;case")":this.parenClose();break;case"atword":case"word":this.word();break;case"operator":this.operator();break;case"string":this.string();break;case"unicoderange":this.unicodeRange();break;default:this.word();break}}parenOpen(){let e=1,s=this.position+1,r=this.currToken,n;for(;s<this.tokens.length&&e;){let i=this.tokens[s];i[0]==="("&&e++,i[0]===")"&&e--,s++}if(e&&this.error("Expected closing parenthesis",r),n=this.current.last,n&&n.type==="func"&&n.unbalanced<0&&(n.unbalanced=0,this.current=n),this.current.unbalanced++,this.newNode(new Ku({value:r[1],source:{start:{line:r[2],column:r[3]},end:{line:r[4],column:r[5]}},sourceIndex:r[6]})),this.position++,this.current.type==="func"&&this.current.unbalanced&&this.current.value==="url"&&this.currToken[0]!=="string"&&this.currToken[0]!==")"&&!this.options.loose){let i=this.nextToken,o=this.currToken[1],a={line:this.currToken[2],column:this.currToken[3]};for(;i&&i[0]!==")"&&this.current.unbalanced;)this.position++,o+=this.currToken[1],i=this.nextToken;this.position!==this.tokens.length-1&&(this.position++,this.newNode(new Hu({value:o,source:{start:a,end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]})))}}parenClose(){let e=this.currToken;this.newNode(new Ku({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++,!(this.position>=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",e),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let e=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=e[1],this.position++):(this.spaces=e[1],this.position++)}unicodeRange(){let e=this.currToken;this.newNode(new Ad({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}splitWord(){let e=this.nextToken,s=this.currToken[1],r=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,n=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,i,o;if(!n.test(s))for(;e&&e[0]==="word";){this.position++;let a=this.currToken[1];s+=a,e=this.nextToken}i=Rd(s,"@"),o=Dd(Id(Pd([[0],i]))),o.forEach((a,u)=>{let c=o[u+1]||s.length,f=s.slice(a,c),p;if(~i.indexOf(a))p=new bd({value:f.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+a},end:{line:this.currToken[4],column:this.currToken[3]+(c-1)}},sourceIndex:this.currToken[6]+o[u]});else if(r.test(this.currToken[1])){let l=f.replace(r,"");p=new Sd({value:f.replace(l,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+a},end:{line:this.currToken[4],column:this.currToken[3]+(c-1)}},sourceIndex:this.currToken[6]+o[u],unit:l})}else p=new(e&&e[0]==="("?Ed:Hu)({value:f,source:{start:{line:this.currToken[2],column:this.currToken[3]+a},end:{line:this.currToken[4],column:this.currToken[3]+(c-1)}},sourceIndex:this.currToken[6]+o[u]}),p.type==="word"?(p.isHex=/^#(.+)/.test(f),p.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(f)):this.cache.push(this.current);this.newNode(p)}),this.position++}string(){let e=this.currToken,s=this.currToken[1],r=/^(\"|\')/,n=r.test(s),i="",o;n&&(i=s.match(r)[0],s=s.slice(1,s.length-1)),o=new Od({value:s,source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6],quoted:n}),o.raws.quote=i,this.newNode(o),this.position++}word(){return this.splitWord()}newNode(e){return this.spaces&&(e.raws.before+=this.spaces,this.spaces=""),this.current.append(e)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}});var Ld,Mr,bn=E(()=>{Ld=t=>{for(;t.parent;)t=t.parent;return t},Mr=Ld});function Md(t){return Mr(t).text.slice(t.group.open.sourceIndex+1,t.group.close.sourceIndex).trim()}var Ju,Xu=E(()=>{bn();Ju=Md});function Bd(t){if(se(t)){for(let e=t.length-1;e>0;e--)if(t[e].type==="word"&&t[e].value==="{"&&t[e-1].type==="word"&&t[e-1].value.endsWith("#"))return!0}return!1}var Zu,el=E(()=>{Ve();Zu=Bd});function Fd(t){return t.some(e=>e.type==="string"||e.type==="func"&&!e.value.endsWith("\\"))}var tl,rl=E(()=>{tl=Fd});function $d(t,e){return!!(e.parser==="scss"&&(t==null?void 0:t.type)==="word"&&t.value.startsWith("$"))}var sl,nl=E(()=>{sl=$d});var be=y((Br,ol)=>{"use strict";Br.__esModule=!0;var il=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function Ud(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Wd=function t(e,s){if((typeof e>"u"?"undefined":il(e))!=="object")return e;var r=new e.constructor;for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],o=typeof i>"u"?"undefined":il(i);n==="parent"&&o==="object"?s&&(r[n]=s):i instanceof Array?r[n]=i.map(function(a){return t(a,r)}):r[n]=t(i,r)}return r},zd=function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ud(this,t);for(var s in e)this[s]=e[s];var r=e.spaces;r=r===void 0?{}:r;var n=r.before,i=n===void 0?"":n,o=r.after,a=o===void 0?"":o;this.spaces={before:i,after:a}}return t.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.prototype.replaceWith=function(){if(this.parent){for(var s in arguments)this.parent.insertBefore(this,arguments[s]);this.remove()}return this},t.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},t.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},t.prototype.clone=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=Wd(this);for(var n in s)r[n]=s[n];return r},t.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},t}();Br.default=zd;ol.exports=Br.default});var M=y($=>{"use strict";$.__esModule=!0;var Ok=$.TAG="tag",Ak=$.STRING="string",Nk=$.SELECTOR="selector",Pk=$.ROOT="root",Rk=$.PSEUDO="pseudo",Ik=$.NESTING="nesting",qk=$.ID="id",Dk=$.COMMENT="comment",Lk=$.COMBINATOR="combinator",Mk=$.CLASS="class",Bk=$.ATTRIBUTE="attribute",Fk=$.UNIVERSAL="universal"});var $r=y((Fr,al)=>{"use strict";Fr.__esModule=!0;var Vd=function(){function t(e,s){for(var r=0;r<s.length;r++){var n=s[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(e,s,r){return s&&t(e.prototype,s),r&&t(e,r),e}}(),Yd=be(),Gd=Qd(Yd),Kd=M(),ee=Hd(Kd);function Hd(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e.default=t,e}function Qd(t){return t&&t.__esModule?t:{default:t}}function jd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jd(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Xd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Zd=function(t){Xd(e,t);function e(s){jd(this,e);var r=Jd(this,t.call(this,s));return r.nodes||(r.nodes=[]),r}return e.prototype.append=function(r){return r.parent=this,this.nodes.push(r),this},e.prototype.prepend=function(r){return r.parent=this,this.nodes.unshift(r),this},e.prototype.at=function(r){return this.nodes[r]},e.prototype.index=function(r){return typeof r=="number"?r:this.nodes.indexOf(r)},e.prototype.removeChild=function(r){r=this.index(r),this.at(r).parent=void 0,this.nodes.splice(r,1);var n=void 0;for(var i in this.indexes)n=this.indexes[i],n>=r&&(this.indexes[i]=n-1);return this},e.prototype.removeAll=function(){for(var i=this.nodes,r=Array.isArray(i),n=0,i=r?i:i[Symbol.iterator]();;){var o;if(r){if(n>=i.length)break;o=i[n++]}else{if(n=i.next(),n.done)break;o=n.value}var a=o;a.parent=void 0}return this.nodes=[],this},e.prototype.empty=function(){return this.removeAll()},e.prototype.insertAfter=function(r,n){var i=this.index(r);this.nodes.splice(i+1,0,n);var o=void 0;for(var a in this.indexes)o=this.indexes[a],i<=o&&(this.indexes[a]=o+this.nodes.length);return this},e.prototype.insertBefore=function(r,n){var i=this.index(r);this.nodes.splice(i,0,n);var o=void 0;for(var a in this.indexes)o=this.indexes[a],i<=o&&(this.indexes[a]=o+this.nodes.length);return this},e.prototype.each=function(r){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var n=this.lastEach;if(this.indexes[n]=0,!!this.length){for(var i=void 0,o=void 0;this.indexes[n]<this.length&&(i=this.indexes[n],o=r(this.at(i),i),o!==!1);)this.indexes[n]+=1;if(delete this.indexes[n],o===!1)return!1}},e.prototype.walk=function(r){return this.each(function(n,i){var o=r(n,i);if(o!==!1&&n.length&&(o=n.walk(r)),o===!1)return!1})},e.prototype.walkAttributes=function(r){var n=this;return this.walk(function(i){if(i.type===ee.ATTRIBUTE)return r.call(n,i)})},e.prototype.walkClasses=function(r){var n=this;return this.walk(function(i){if(i.type===ee.CLASS)return r.call(n,i)})},e.prototype.walkCombinators=function(r){var n=this;return this.walk(function(i){if(i.type===ee.COMBINATOR)return r.call(n,i)})},e.prototype.walkComments=function(r){var n=this;return this.walk(function(i){if(i.type===ee.COMMENT)return r.call(n,i)})},e.prototype.walkIds=function(r){var n=this;return this.walk(function(i){if(i.type===ee.ID)return r.call(n,i)})},e.prototype.walkNesting=function(r){var n=this;return this.walk(function(i){if(i.type===ee.NESTING)return r.call(n,i)})},e.prototype.walkPseudos=function(r){var n=this;return this.walk(function(i){if(i.type===ee.PSEUDO)return r.call(n,i)})},e.prototype.walkTags=function(r){var n=this;return this.walk(function(i){if(i.type===ee.TAG)return r.call(n,i)})},e.prototype.walkUniversals=function(r){var n=this;return this.walk(function(i){if(i.type===ee.UNIVERSAL)return r.call(n,i)})},e.prototype.split=function(r){var n=this,i=[];return this.reduce(function(o,a,u){var c=r.call(n,a);return i.push(a),c?(o.push(i),i=[]):u===n.length-1&&o.push(i),o},[])},e.prototype.map=function(r){return this.nodes.map(r)},e.prototype.reduce=function(r,n){return this.nodes.reduce(r,n)},e.prototype.every=function(r){return this.nodes.every(r)},e.prototype.some=function(r){return this.nodes.some(r)},e.prototype.filter=function(r){return this.nodes.filter(r)},e.prototype.sort=function(r){return this.nodes.sort(r)},e.prototype.toString=function(){return this.map(String).join("")},Vd(e,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),e}(Gd.default);Fr.default=Zd;al.exports=Fr.default});var ll=y((Ur,ul)=>{"use strict";Ur.__esModule=!0;var em=$r(),tm=sm(em),rm=M();function sm(t){return t&&t.__esModule?t:{default:t}}function nm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function im(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function om(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var am=function(t){om(e,t);function e(s){nm(this,e);var r=im(this,t.call(this,s));return r.type=rm.ROOT,r}return e.prototype.toString=function(){var r=this.reduce(function(n,i){var o=String(i);return o?n+o+",":""},"").slice(0,-1);return this.trailingComma?r+",":r},e}(tm.default);Ur.default=am;ul.exports=Ur.default});var fl=y((Wr,cl)=>{"use strict";Wr.__esModule=!0;var um=$r(),lm=fm(um),cm=M();function fm(t){return t&&t.__esModule?t:{default:t}}function pm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hm(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function dm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var mm=function(t){dm(e,t);function e(s){pm(this,e);var r=hm(this,t.call(this,s));return r.type=cm.SELECTOR,r}return e}(lm.default);Wr.default=mm;cl.exports=Wr.default});var ze=y((zr,pl)=>{"use strict";zr.__esModule=!0;var ym=function(){function t(e,s){for(var r=0;r<s.length;r++){var n=s[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(e,s,r){return s&&t(e.prototype,s),r&&t(e,r),e}}(),gm=be(),wm=vm(gm);function vm(t){return t&&t.__esModule?t:{default:t}}function xm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bm(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function km(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var _m=function(t){km(e,t);function e(){return xm(this,e),bm(this,t.apply(this,arguments))}return e.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join("")},ym(e,[{key:"ns",get:function(){var r=this.namespace;return r?(typeof r=="string"?r:"")+"|":""}}]),e}(wm.default);zr.default=_m;pl.exports=zr.default});var dl=y((Vr,hl)=>{"use strict";Vr.__esModule=!0;var Tm=ze(),Em=Cm(Tm),Sm=M();function Cm(t){return t&&t.__esModule?t:{default:t}}function Om(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Am(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Nm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Pm=function(t){Nm(e,t);function e(s){Om(this,e);var r=Am(this,t.call(this,s));return r.type=Sm.CLASS,r}return e.prototype.toString=function(){return[this.spaces.before,this.ns,"."+this.value,this.spaces.after].join("")},e}(Em.default);Vr.default=Pm;hl.exports=Vr.default});var yl=y((Yr,ml)=>{"use strict";Yr.__esModule=!0;var Rm=be(),Im=Dm(Rm),qm=M();function Dm(t){return t&&t.__esModule?t:{default:t}}function Lm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mm(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Bm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Fm=function(t){Bm(e,t);function e(s){Lm(this,e);var r=Mm(this,t.call(this,s));return r.type=qm.COMMENT,r}return e}(Im.default);Yr.default=Fm;ml.exports=Yr.default});var wl=y((Gr,gl)=>{"use strict";Gr.__esModule=!0;var $m=ze(),Um=zm($m),Wm=M();function zm(t){return t&&t.__esModule?t:{default:t}}function Vm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ym(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Gm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Km=function(t){Gm(e,t);function e(s){Vm(this,e);var r=Ym(this,t.call(this,s));return r.type=Wm.ID,r}return e.prototype.toString=function(){return[this.spaces.before,this.ns,"#"+this.value,this.spaces.after].join("")},e}(Um.default);Gr.default=Km;gl.exports=Gr.default});var xl=y((Kr,vl)=>{"use strict";Kr.__esModule=!0;var Hm=ze(),Qm=Jm(Hm),jm=M();function Jm(t){return t&&t.__esModule?t:{default:t}}function Xm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zm(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function ey(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var ty=function(t){ey(e,t);function e(s){Xm(this,e);var r=Zm(this,t.call(this,s));return r.type=jm.TAG,r}return e}(Qm.default);Kr.default=ty;vl.exports=Kr.default});var kl=y((Hr,bl)=>{"use strict";Hr.__esModule=!0;var ry=be(),sy=iy(ry),ny=M();function iy(t){return t&&t.__esModule?t:{default:t}}function oy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ay(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function uy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var ly=function(t){uy(e,t);function e(s){oy(this,e);var r=ay(this,t.call(this,s));return r.type=ny.STRING,r}return e}(sy.default);Hr.default=ly;bl.exports=Hr.default});var Tl=y((Qr,_l)=>{"use strict";Qr.__esModule=!0;var cy=$r(),fy=hy(cy),py=M();function hy(t){return t&&t.__esModule?t:{default:t}}function dy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function my(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function yy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var gy=function(t){yy(e,t);function e(s){dy(this,e);var r=my(this,t.call(this,s));return r.type=py.PSEUDO,r}return e.prototype.toString=function(){var r=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),r,this.spaces.after].join("")},e}(fy.default);Qr.default=gy;_l.exports=Qr.default});var Sl=y((jr,El)=>{"use strict";jr.__esModule=!0;var wy=ze(),vy=by(wy),xy=M();function by(t){return t&&t.__esModule?t:{default:t}}function ky(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _y(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Ty(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ey=function(t){Ty(e,t);function e(s){ky(this,e);var r=_y(this,t.call(this,s));return r.type=xy.ATTRIBUTE,r.raws={},r}return e.prototype.toString=function(){var r=[this.spaces.before,"[",this.ns,this.attribute];return this.operator&&r.push(this.operator),this.value&&r.push(this.value),this.raws.insensitive?r.push(this.raws.insensitive):this.insensitive&&r.push(" i"),r.push("]"),r.concat(this.spaces.after).join("")},e}(vy.default);jr.default=Ey;El.exports=jr.default});var Ol=y((Jr,Cl)=>{"use strict";Jr.__esModule=!0;var Sy=ze(),Cy=Ay(Sy),Oy=M();function Ay(t){return t&&t.__esModule?t:{default:t}}function Ny(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Py(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Ry(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Iy=function(t){Ry(e,t);function e(s){Ny(this,e);var r=Py(this,t.call(this,s));return r.type=Oy.UNIVERSAL,r.value="*",r}return e}(Cy.default);Jr.default=Iy;Cl.exports=Jr.default});var Nl=y((Xr,Al)=>{"use strict";Xr.__esModule=!0;var qy=be(),Dy=My(qy),Ly=M();function My(t){return t&&t.__esModule?t:{default:t}}function By(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fy(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function $y(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Uy=function(t){$y(e,t);function e(s){By(this,e);var r=Fy(this,t.call(this,s));return r.type=Ly.COMBINATOR,r}return e}(Dy.default);Xr.default=Uy;Al.exports=Xr.default});var Rl=y((Zr,Pl)=>{"use strict";Zr.__esModule=!0;var Wy=be(),zy=Yy(Wy),Vy=M();function Yy(t){return t&&t.__esModule?t:{default:t}}function Gy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ky(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Hy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Qy=function(t){Hy(e,t);function e(s){Gy(this,e);var r=Ky(this,t.call(this,s));return r.type=Vy.NESTING,r.value="&",r}return e}(zy.default);Zr.default=Qy;Pl.exports=Zr.default});var ql=y((es,Il)=>{"use strict";es.__esModule=!0;es.default=jy;function jy(t){return t.sort(function(e,s){return e-s})}Il.exports=es.default});var zl=y((ss,Wl)=>{"use strict";ss.__esModule=!0;ss.default=ag;var Dl=39,Jy=34,kn=92,Ll=47,Ot=10,_n=32,Tn=12,En=9,Sn=13,Ml=43,Bl=62,Fl=126,$l=124,Xy=44,Zy=40,eg=41,tg=91,rg=93,sg=59,Ul=42,ng=58,ig=38,og=64,ts=/[ \n\t\r\{\(\)'"\\;/]/g,rs=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function ag(t){for(var e=[],s=t.css.valueOf(),r=void 0,n=void 0,i=void 0,o=void 0,a=void 0,u=void 0,c=void 0,f=void 0,p=void 0,l=void 0,g=void 0,x=s.length,h=-1,d=1,m=0,b=function(v,P){if(t.safe)s+=P,n=s.length-1;else throw t.error("Unclosed "+v,d,m-h,m)};m<x;){switch(r=s.charCodeAt(m),r===Ot&&(h=m,d+=1),r){case Ot:case _n:case En:case Sn:case Tn:n=m;do n+=1,r=s.charCodeAt(n),r===Ot&&(h=n,d+=1);while(r===_n||r===Ot||r===En||r===Sn||r===Tn);e.push(["space",s.slice(m,n),d,m-h,m]),m=n-1;break;case Ml:case Bl:case Fl:case $l:n=m;do n+=1,r=s.charCodeAt(n);while(r===Ml||r===Bl||r===Fl||r===$l);e.push(["combinator",s.slice(m,n),d,m-h,m]),m=n-1;break;case Ul:e.push(["*","*",d,m-h,m]);break;case ig:e.push(["&","&",d,m-h,m]);break;case Xy:e.push([",",",",d,m-h,m]);break;case tg:e.push(["[","[",d,m-h,m]);break;case rg:e.push(["]","]",d,m-h,m]);break;case ng:e.push([":",":",d,m-h,m]);break;case sg:e.push([";",";",d,m-h,m]);break;case Zy:e.push(["(","(",d,m-h,m]);break;case eg:e.push([")",")",d,m-h,m]);break;case Dl:case Jy:i=r===Dl?"'":'"',n=m;do for(l=!1,n=s.indexOf(i,n+1),n===-1&&b("quote",i),g=n;s.charCodeAt(g-1)===kn;)g-=1,l=!l;while(l);e.push(["string",s.slice(m,n+1),d,m-h,d,n-h,m]),m=n;break;case og:ts.lastIndex=m+1,ts.test(s),ts.lastIndex===0?n=s.length-1:n=ts.lastIndex-2,e.push(["at-word",s.slice(m,n+1),d,m-h,d,n-h,m]),m=n;break;case kn:for(n=m,c=!0;s.charCodeAt(n+1)===kn;)n+=1,c=!c;r=s.charCodeAt(n+1),c&&r!==Ll&&r!==_n&&r!==Ot&&r!==En&&r!==Sn&&r!==Tn&&(n+=1),e.push(["word",s.slice(m,n+1),d,m-h,d,n-h,m]),m=n;break;default:r===Ll&&s.charCodeAt(m+1)===Ul?(n=s.indexOf("*/",m+2)+1,n===0&&b("comment","*/"),u=s.slice(m,n+1),o=u.split(`
46
- `),a=o.length-1,a>0?(f=d+a,p=n-o[a].length):(f=d,p=h),e.push(["comment",u,d,m-h,f,n-p,m]),h=p,d=f,m=n):(rs.lastIndex=m+1,rs.test(s),rs.lastIndex===0?n=s.length-1:n=rs.lastIndex-2,e.push(["word",s.slice(m,n+1),d,m-h,d,n-h,m]),m=n);break}m++}return e}Wl.exports=ss.default});var Gl=y((ns,Yl)=>{"use strict";ns.__esModule=!0;var ug=function(){function t(e,s){for(var r=0;r<s.length;r++){var n=s[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(e,s,r){return s&&t(e.prototype,s),r&&t(e,r),e}}(),lg=gn(),cg=q(lg),fg=wn(),Cn=q(fg),pg=vn(),hg=q(pg),dg=ll(),mg=q(dg),yg=fl(),On=q(yg),gg=dl(),wg=q(gg),vg=yl(),xg=q(vg),bg=wl(),kg=q(bg),_g=xl(),Tg=q(_g),Eg=kl(),Sg=q(Eg),Cg=Tl(),Og=q(Cg),Ag=Sl(),Ng=q(Ag),Pg=Ol(),Rg=q(Pg),Ig=Nl(),qg=q(Ig),Dg=Rl(),Lg=q(Dg),Mg=ql(),Bg=q(Mg),Fg=zl(),Vl=q(Fg),$g=M(),Ug=Wg($g);function Wg(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e.default=t,e}function q(t){return t&&t.__esModule?t:{default:t}}function zg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Vg=function(){function t(e){zg(this,t),this.input=e,this.lossy=e.options.lossless===!1,this.position=0,this.root=new mg.default;var s=new On.default;return this.root.append(s),this.current=s,this.lossy?this.tokens=(0,Vl.default)({safe:e.safe,css:e.css.trim()}):this.tokens=(0,Vl.default)(e),this.loop()}return t.prototype.attribute=function(){var s="",r=void 0,n=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!=="]";)s+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~s.indexOf("]")&&this.error("Expected a closing square bracket.");var i=s.split(/((?:[*~^$|]?=))([^]*)/),o=i[0].split(/(\|)/g),a={operator:i[1],value:i[2],source:{start:{line:n[2],column:n[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:n[4]};if(o.length>1?(o[0]===""&&(o[0]=!0),a.attribute=this.parseValue(o[2]),a.namespace=this.parseNamespace(o[0])):a.attribute=this.parseValue(i[0]),r=new Ng.default(a),i[2]){var u=i[2].split(/(\s+i\s*?)$/),c=u[0].trim();r.value=this.lossy?c:u[0],u[1]&&(r.insensitive=!0,this.lossy||(r.raws.insensitive=u[1])),r.quoted=c[0]==="'"||c[0]==='"',r.raws.unquoted=r.quoted?c.slice(1,-1):c}this.newNode(r),this.position++},t.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var s=new qg.default({value:"",source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]});this.position<this.tokens.length&&this.currToken&&(this.currToken[0]==="space"||this.currToken[0]==="combinator");)this.nextToken&&this.nextToken[0]==="combinator"?(s.spaces.before=this.parseSpace(this.currToken[1]),s.source.start.line=this.nextToken[2],s.source.start.column=this.nextToken[3],s.source.end.column=this.nextToken[3],s.source.end.line=this.nextToken[2],s.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]==="combinator"?s.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]==="combinator"?s.value=this.currToken[1]:this.currToken[0]==="space"&&(s.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(s)},t.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var s=new On.default;this.current.parent.append(s),this.current=s,this.position++},t.prototype.comment=function(){var s=new xg.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]});this.newNode(s),this.position++},t.prototype.error=function(s){throw new this.input.error(s)},t.prototype.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.")},t.prototype.missingParenthesis=function(){return this.error("Expected opening parenthesis.")},t.prototype.missingSquareBracket=function(){return this.error("Expected opening square bracket.")},t.prototype.namespace=function(){var s=this.prevToken&&this.prevToken[1]||!0;if(this.nextToken[0]==="word")return this.position++,this.word(s);if(this.nextToken[0]==="*")return this.position++,this.universal(s)},t.prototype.nesting=function(){this.newNode(new Lg.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]})),this.position++},t.prototype.parentheses=function(){var s=this.current.last;if(s&&s.type===Ug.PSEUDO){var r=new On.default,n=this.current;s.append(r),this.current=r;var i=1;for(this.position++;this.position<this.tokens.length&&i;)this.currToken[0]==="("&&i++,this.currToken[0]===")"&&i--,i?this.parse():(r.parent.source.end.line=this.currToken[2],r.parent.source.end.column=this.currToken[3],this.position++);i&&this.error("Expected closing parenthesis."),this.current=n}else{var o=1;for(this.position++,s.value+="(";this.position<this.tokens.length&&o;)this.currToken[0]==="("&&o++,this.currToken[0]===")"&&o--,s.value+=this.parseParenthesisToken(this.currToken),this.position++;o&&this.error("Expected closing parenthesis.")}},t.prototype.pseudo=function(){for(var s=this,r="",n=this.currToken;this.currToken&&this.currToken[0]===":";)r+=this.currToken[1],this.position++;if(!this.currToken)return this.error("Expected pseudo-class or pseudo-element");if(this.currToken[0]==="word"){var i=void 0;this.splitWord(!1,function(o,a){r+=o,i=new Og.default({value:r,source:{start:{line:n[2],column:n[3]},end:{line:s.currToken[4],column:s.currToken[5]}},sourceIndex:n[4]}),s.newNode(i),a>1&&s.nextToken&&s.nextToken[0]==="("&&s.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},t.prototype.space=function(){var s=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(s[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(s[1]),this.position++):this.combinator()},t.prototype.string=function(){var s=this.currToken;this.newNode(new Sg.default({value:this.currToken[1],source:{start:{line:s[2],column:s[3]},end:{line:s[4],column:s[5]}},sourceIndex:s[6]})),this.position++},t.prototype.universal=function(s){var r=this.nextToken;if(r&&r[1]==="|")return this.position++,this.namespace();this.newNode(new Rg.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),s),this.position++},t.prototype.splitWord=function(s,r){for(var n=this,i=this.nextToken,o=this.currToken[1];i&&i[0]==="word";){this.position++;var a=this.currToken[1];if(o+=a,a.lastIndexOf("\\")===a.length-1){var u=this.nextToken;u&&u[0]==="space"&&(o+=this.parseSpace(u[1]," "),this.position++)}i=this.nextToken}var c=(0,Cn.default)(o,"."),f=(0,Cn.default)(o,"#"),p=(0,Cn.default)(o,"#{");p.length&&(f=f.filter(function(g){return!~p.indexOf(g)}));var l=(0,Bg.default)((0,hg.default)((0,cg.default)([[0],c,f])));l.forEach(function(g,x){var h=l[x+1]||o.length,d=o.slice(g,h);if(x===0&&r)return r.call(n,d,l.length);var m=void 0;~c.indexOf(g)?m=new wg.default({value:d.slice(1),source:{start:{line:n.currToken[2],column:n.currToken[3]+g},end:{line:n.currToken[4],column:n.currToken[3]+(h-1)}},sourceIndex:n.currToken[6]+l[x]}):~f.indexOf(g)?m=new kg.default({value:d.slice(1),source:{start:{line:n.currToken[2],column:n.currToken[3]+g},end:{line:n.currToken[4],column:n.currToken[3]+(h-1)}},sourceIndex:n.currToken[6]+l[x]}):m=new Tg.default({value:d,source:{start:{line:n.currToken[2],column:n.currToken[3]+g},end:{line:n.currToken[4],column:n.currToken[3]+(h-1)}},sourceIndex:n.currToken[6]+l[x]}),n.newNode(m,s)}),this.position++},t.prototype.word=function(s){var r=this.nextToken;return r&&r[1]==="|"?(this.position++,this.namespace()):this.splitWord(s)},t.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root},t.prototype.parse=function(s){switch(this.currToken[0]){case"space":this.space();break;case"comment":this.comment();break;case"(":this.parentheses();break;case")":s&&this.missingParenthesis();break;case"[":this.attribute();break;case"]":this.missingSquareBracket();break;case"at-word":case"word":this.word();break;case":":this.pseudo();break;case";":this.missingBackslash();break;case",":this.comma();break;case"*":this.universal();break;case"&":this.nesting();break;case"combinator":this.combinator();break;case"string":this.string();break}},t.prototype.parseNamespace=function(s){if(this.lossy&&typeof s=="string"){var r=s.trim();return r.length?r:!0}return s},t.prototype.parseSpace=function(s,r){return this.lossy?r||"":s},t.prototype.parseValue=function(s){return this.lossy&&s&&typeof s=="string"?s.trim():s},t.prototype.parseParenthesisToken=function(s){return this.lossy?s[0]==="space"?this.parseSpace(s[1]," "):this.parseValue(s[1]):s[1]},t.prototype.newNode=function(s,r){return r&&(s.namespace=this.parseNamespace(r)),this.spaces&&(s.spaces.before=this.spaces,this.spaces=""),this.current.append(s)},ug(t,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),t}();ns.default=Vg;Yl.exports=ns.default});var Hl=y((is,Kl)=>{"use strict";is.__esModule=!0;var Yg=function(){function t(e,s){for(var r=0;r<s.length;r++){var n=s[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(e,s,r){return s&&t(e.prototype,s),r&&t(e,r),e}}(),Gg=Gl(),Kg=Hg(Gg);function Hg(t){return t&&t.__esModule?t:{default:t}}function Qg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var jg=function(){function t(e){return Qg(this,t),this.func=e||function(){},this}return t.prototype.process=function(s){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Kg.default({css:s,error:function(o){throw new Error(o)},options:r});return this.res=n,this.func(n),this},Yg(t,[{key:"result",get:function(){return String(this.res)}}]),t}();is.default=jg;Kl.exports=is.default});function te(t,e,s){if(t&&typeof t=="object"){delete t.parent;for(let r in t)te(t[r],e,s),r==="type"&&typeof t[r]=="string"&&!t[r].startsWith(e)&&(!s||!s.test(t[r]))&&(t[r]=e+t[r])}return t}function An(t){if(t&&typeof t=="object"){delete t.parent;for(let e in t)An(t[e]);!Array.isArray(t)&&t.value&&!t.type&&(t.type="unknown")}return t}var At=E(()=>{});function Jg(t){if(/\/\/|\/\*/.test(t))return{type:"selector-unknown",value:t.trim()};let e;try{new Ql.default(s=>{e=s}).process(t)}catch{return{type:"selector-unknown",value:t}}return te(e,"selector-")}var Ql,re,Nn=E(()=>{Ql=ce(Hl(),1);At();re=Jg});function Xg(t,e){var u;let{nodes:s}=t,r={open:null,close:null,groups:[],type:"paren_group"},n=[r],i=r,o={groups:[],type:"comma_group"},a=[o];for(let c=0;c<s.length;++c){let f=s[c];if(e.parser==="scss"&&f.type==="number"&&f.unit===".."&&f.value.endsWith(".")&&(f.value=f.value.slice(0,-1),f.unit="..."),f.type==="func"&&f.value==="selector"&&(f.group.groups=[re(Mr(t).text.slice(f.group.open.sourceIndex+1,f.group.close.sourceIndex))]),f.type==="func"&&f.value==="url"){let p=((u=f.group)==null?void 0:u.groups)??[],l=[];for(let g=0;g<p.length;g++){let x=p[g];x.type==="comma_group"?l=[...l,...x.groups]:l.push(x)}(Zu(l)||!tl(l)&&!sl(l[0],e))&&(f.group.groups=[Ju(f)])}if(f.type==="paren"&&f.value==="(")r={open:f,close:null,groups:[],type:"paren_group"},n.push(r),o={groups:[],type:"comma_group"},a.push(o);else if(f.type==="paren"&&f.value===")"){if(o.groups.length>0&&r.groups.push(o),r.close=f,a.length===1)throw new Error("Unbalanced parenthesis");a.pop(),o=K(!1,a,-1),o.groups.push(r),n.pop(),r=K(!1,n,-1)}else f.type==="comma"?(r.groups.push(o),o={groups:[],type:"comma_group"},a[a.length-1]=o):o.groups.push(f)}return o.groups.length>0&&r.groups.push(o),i}function os(t){return t.type==="paren_group"&&!t.open&&!t.close&&t.groups.length===1||t.type==="comma_group"&&t.groups.length===1?os(t.groups[0]):t.type==="paren_group"||t.type==="comma_group"?{...t,groups:t.groups.map(os)}:t}function Jl(t,e){if(t&&typeof t=="object")for(let s in t)s!=="parent"&&(Jl(t[s],e),s==="nodes"&&(t.group=os(Xg(t,e)),delete t[s]));return t}function Zg(t,e){if(e.parser==="less"&&t.startsWith("~`"))return{type:"value-unknown",value:t};let s=null;try{s=new jl.default(t,{loose:!0}).parse()}catch{return{type:"value-unknown",value:t}}s.text=t;let r=Jl(s,e);return te(r,"value-",/^selector-/)}var jl,le,Xl=E(()=>{Ce();jl=ce(ju(),1);Xu();bn();el();rl();nl();Nn();At();le=Zg});var Rn=y(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});function ew(t){this.after=t.after,this.before=t.before,this.type=t.type,this.value=t.value,this.sourceIndex=t.sourceIndex}Pn.default=ew});var qn=y(In=>{"use strict";Object.defineProperty(In,"__esModule",{value:!0});var tw=Rn(),Zl=rw(tw);function rw(t){return t&&t.__esModule?t:{default:t}}function Nt(t){var e=this;this.constructor(t),this.nodes=t.nodes,this.after===void 0&&(this.after=this.nodes.length>0?this.nodes[this.nodes.length-1].after:""),this.before===void 0&&(this.before=this.nodes.length>0?this.nodes[0].before:""),this.sourceIndex===void 0&&(this.sourceIndex=this.before.length),this.nodes.forEach(function(s){s.parent=e})}Nt.prototype=Object.create(Zl.default.prototype);Nt.constructor=Zl.default;Nt.prototype.walk=function(e,s){for(var r=typeof e=="string"||e instanceof RegExp,n=r?s:e,i=typeof e=="string"?new RegExp(e):e,o=0;o<this.nodes.length;o++){var a=this.nodes[o],u=r?i.test(a.type):!0;if(u&&n&&n(a,o,this.nodes)===!1||a.nodes&&a.walk(e,s)===!1)return!1}return!0};Nt.prototype.each=function(){for(var e=arguments.length<=0||arguments[0]===void 0?function(){}:arguments[0],s=0;s<this.nodes.length;s++){var r=this.nodes[s];if(e(r,s,this.nodes)===!1)return!1}return!0};In.default=Nt});var sc=y(Pt=>{"use strict";Object.defineProperty(Pt,"__esModule",{value:!0});Pt.parseMediaFeature=rc;Pt.parseMediaQuery=Ln;Pt.parseMediaList=iw;var sw=Rn(),ec=tc(sw),nw=qn(),Dn=tc(nw);function tc(t){return t&&t.__esModule?t:{default:t}}function rc(t){var e=arguments.length<=1||arguments[1]===void 0?0:arguments[1],s=[{mode:"normal",character:null}],r=[],n=0,i="",o=null,a=null,u=e,c=t;t[0]==="("&&t[t.length-1]===")"&&(c=t.substring(1,t.length-1),u++);for(var f=0;f<c.length;f++){var p=c[f];if((p==="'"||p==='"')&&(s[n].isCalculationEnabled===!0?(s.push({mode:"string",isCalculationEnabled:!1,character:p}),n++):s[n].mode==="string"&&s[n].character===p&&c[f-1]!=="\\"&&(s.pop(),n--)),p==="{"?(s.push({mode:"interpolation",isCalculationEnabled:!0}),n++):p==="}"&&(s.pop(),n--),s[n].mode==="normal"&&p===":"){var l=c.substring(f+1);a={type:"value",before:/^(\s*)/.exec(l)[1],after:/(\s*)$/.exec(l)[1],value:l.trim()},a.sourceIndex=a.before.length+f+1+u,o={type:"colon",sourceIndex:f+u,after:a.before,value:":"};break}i+=p}return i={type:"media-feature",before:/^(\s*)/.exec(i)[1],after:/(\s*)$/.exec(i)[1],value:i.trim()},i.sourceIndex=i.before.length+u,r.push(i),o!==null&&(o.before=i.after,r.push(o)),a!==null&&r.push(a),r}function Ln(t){var e=arguments.length<=1||arguments[1]===void 0?0:arguments[1],s=[],r=0,n=!1,i=void 0;function o(){return{before:"",after:"",value:""}}i=o();for(var a=0;a<t.length;a++){var u=t[a];n?(i.value+=u,(u==="{"||u==="(")&&r++,(u===")"||u==="}")&&r--):u.search(/\s/)!==-1?i.before+=u:(u==="("&&(i.type="media-feature-expression",r++),i.value=u,i.sourceIndex=e+a,n=!0),n&&r===0&&(u===")"||a===t.length-1||t[a+1].search(/\s/)!==-1)&&(["not","only","and"].indexOf(i.value)!==-1&&(i.type="keyword"),i.type==="media-feature-expression"&&(i.nodes=rc(i.value,i.sourceIndex)),s.push(Array.isArray(i.nodes)?new Dn.default(i):new ec.default(i)),i=o(),n=!1)}for(var c=0;c<s.length;c++)if(i=s[c],c>0&&(s[c-1].after=i.before),i.type===void 0){if(c>0){if(s[c-1].type==="media-feature-expression"){i.type="keyword";continue}if(s[c-1].value==="not"||s[c-1].value==="only"){i.type="media-type";continue}if(s[c-1].value==="and"){i.type="media-feature-expression";continue}s[c-1].type==="media-type"&&(s[c+1]?i.type=s[c+1].type==="media-feature-expression"?"keyword":"media-feature-expression":i.type="media-feature-expression")}if(c===0){if(!s[c+1]){i.type="media-type";continue}if(s[c+1]&&(s[c+1].type==="media-feature-expression"||s[c+1].type==="keyword")){i.type="media-type";continue}if(s[c+2]){if(s[c+2].type==="media-feature-expression"){i.type="media-type",s[c+1].type="keyword";continue}if(s[c+2].type==="keyword"){i.type="keyword",s[c+1].type="media-type";continue}}if(s[c+3]&&s[c+3].type==="media-feature-expression"){i.type="keyword",s[c+1].type="media-type",s[c+2].type="keyword";continue}}}return s}function iw(t){var e=[],s=0,r=0,n=/^(\s*)url\s*\(/.exec(t);if(n!==null){for(var i=n[0].length,o=1;o>0;){var a=t[i];a==="("&&o++,a===")"&&o--,i++}e.unshift(new ec.default({type:"url",value:t.substring(0,i).trim(),sourceIndex:n[1].length,before:n[1],after:/^(\s*)/.exec(t.substring(i))[1]})),s=i}for(var u=s;u<t.length;u++){var c=t[u];if(c==="("&&r++,c===")"&&r--,r===0&&c===","){var f=t.substring(s,u),p=/^(\s*)/.exec(f)[1];e.push(new Dn.default({type:"media-query",value:f.trim(),sourceIndex:s+p.length,nodes:Ln(f,s),before:p,after:/(\s*)$/.exec(f)[1]})),s=u+1}}var l=t.substring(s),g=/^(\s*)/.exec(l)[1];return e.push(new Dn.default({type:"media-query",value:l.trim(),sourceIndex:s+g.length,nodes:Ln(l,s),before:g,after:/(\s*)$/.exec(l)[1]})),e}});var nc=y(Mn=>{"use strict";Object.defineProperty(Mn,"__esModule",{value:!0});Mn.default=cw;var ow=qn(),aw=lw(ow),uw=sc();function lw(t){return t&&t.__esModule?t:{default:t}}function cw(t){return new aw.default({nodes:(0,uw.parseMediaList)(t),type:"media-query-list",value:t.trim()})}});function pw(t){let e;try{e=fw(t)}catch{return{type:"selector-unknown",value:t}}return te(An(e),"media-")}var ic,fw,oc,ac=E(()=>{ic=ce(nc(),1);At();fw=ic.default.default;oc=pw});var mc={};us(mc,{css:()=>mw,less:()=>yw,scss:()=>gw});function fc(t,e){var s,r;if(t&&typeof t=="object"){delete t.parent;for(let a in t)fc(t[a],e);if(!t.type)return t;if(t.raws??(t.raws={}),t.type==="css-decl"&&typeof t.prop=="string"&&t.prop.startsWith("--")&&typeof t.value=="string"&&t.value.startsWith("{")){let a;if(t.value.trimEnd().endsWith("}")){let u=e.originalText.slice(0,t.source.start.offset),c="a".repeat(t.prop.length)+e.originalText.slice(t.source.start.offset+t.prop.length,t.source.end.offset+1),f=S(!1,u,/[^\n]/g," ")+c,p;e.parser==="scss"?p=dc:e.parser==="less"?p=hc:p=pc;let l;try{l=p(f,{...e})}catch{}((s=l==null?void 0:l.nodes)==null?void 0:s.length)===1&&l.nodes[0].type==="css-rule"&&(a=l.nodes[0].nodes)}return a?t.value={type:"css-rule",nodes:a}:t.value={type:"value-unknown",value:t.raws.value.raw},t}let n="";typeof t.selector=="string"&&(n=t.raws.selector?t.raws.selector.scss??t.raws.selector.raw:t.selector,t.raws.between&&t.raws.between.trim().length>0&&(n+=t.raws.between),t.raws.selector=n);let i="";typeof t.value=="string"&&(i=t.raws.value?t.raws.value.scss??t.raws.value.raw:t.value,i=i.trim(),t.raws.value=i);let o="";if(typeof t.params=="string"&&(o=t.raws.params?t.raws.params.scss??t.raws.params.raw:t.params,t.raws.afterName&&t.raws.afterName.trim().length>0&&(o=t.raws.afterName+o),t.raws.between&&t.raws.between.trim().length>0&&(o=o+t.raws.between),o=o.trim(),t.raws.params=o),n.trim().length>0)return n.startsWith("@")&&n.endsWith(":")?t:t.mixin?(t.selector=le(n,e),t):(Za(t,e)&&(t.isSCSSNesterProperty=!0),t.selector=re(n),t);if(i.length>0){let a=i.match(hw);a&&(i=i.slice(0,a.index),t.scssDefault=!0,a[0].trim()!=="!default"&&(t.raws.scssDefault=a[0]));let u=i.match(dw);if(u&&(i=i.slice(0,u.index),t.scssGlobal=!0,u[0].trim()!=="!global"&&(t.raws.scssGlobal=u[0])),i.startsWith("progid:"))return{type:"value-unknown",value:i};t.value=le(i,e)}if(e.parser==="less"&&t.type==="css-decl"&&i.startsWith("extend(")&&(t.extend||(t.extend=t.raws.between===":"),t.extend&&!t.selector&&(delete t.value,t.selector=re(i.slice(7,-1)))),t.type==="css-atrule"){if(e.parser==="less"){if(t.mixin){let a=t.raws.identifier+t.name+t.raws.afterName+t.raws.params;return t.selector=re(a),delete t.params,t}if(t.function)return t}if(e.parser==="css"&&t.name==="custom-selector"){let a=t.params.match(/:--\S+\s+/)[0].trim();return t.customSelector=a,t.selector=re(t.params.slice(a.length).trim()),delete t.params,t}if(e.parser==="less"){if(t.name.includes(":")&&!t.params){t.variable=!0;let a=t.name.split(":");t.name=a[0],t.value=le(a.slice(1).join(":"),e)}if(!["page","nest","keyframes"].includes(t.name)&&((r=t.params)==null?void 0:r[0])===":"){t.variable=!0;let a=t.params.slice(1);a&&(t.value=le(a,e)),t.raws.afterName+=":"}if(t.variable)return delete t.params,t.value||delete t.value,t}}if(t.type==="css-atrule"&&o.length>0){let{name:a}=t,u=t.name.toLowerCase();return a==="warn"||a==="error"?(t.params={type:"media-unknown",value:o},t):a==="extend"||a==="nest"?(t.selector=re(o),delete t.params,t):a==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/s.test(o)?t.params=le(o,e):(t.selector=re(o),delete t.params),t):tu(u)?(t.import=!0,delete t.filename,t.params=le(o,e),t):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(a)?(o=o.replace(/(\$\S+?)(\s+)?\.{3}/,"$1...$2"),o=o.replace(/^(?!if)(\S+)(\s+)\(/,"$1($2"),t.value=le(o,e),delete t.params,t):["media","custom-media"].includes(u)?o.includes("#{")?{type:"media-unknown",value:o}:(t.params=oc(o),t):(t.params=o,t)}}return t}function Bn(t,e,s){let r=rt(e),{frontMatter:n}=r;e=r.content;let i;try{i=t(e,{map:!1})}catch(o){let{name:a,reason:u,line:c,column:f}=o;throw typeof c!="number"?o:Ja(`${a}: ${u}`,{loc:{start:{line:c,column:f}},cause:o})}return s.originalText=e,i=fc(te(i,"css-"),s),_s(i,e),n&&(n.source={startOffset:0,endOffset:n.raw.length},i.frontMatter=n),i}function pc(t,e={}){return Bn(uc.default.default,t,e)}function hc(t,e={}){return Bn(s=>lc.default.parse(Ki(s)),t,e)}function dc(t,e={}){return Bn(cc.default,t,e)}var uc,lc,cc,hw,dw,Fn,mw,yw,gw,yc=E(()=>{J();uc=ce(xt(),1),lc=ce(ha(),1),cc=ce(ja(),1);Xa();ps();hs();Re();eu();ru();Xl();Nn();ac();At();hw=/(\s*)(!default).*$/,dw=/(\s*)(!global).*$/;Fn={astFormat:"postcss",hasPragma:gi,locStart:R,locEnd:I},mw={...Fn,parse:pc},yw={...Fn,parse:hc},gw={...Fn,parse:dc}});var ww={};us(ww,{default:()=>as,languages:()=>Cs,options:()=>Os,parsers:()=>wc,printers:()=>gc});var as={};us(as,{languages:()=>Cs,options:()=>Os,parsers:()=>wc,printers:()=>gc});function Ec(t){let e=Object.create(null);for(let{importParsers:s,parserNames:r}of t)for(let n of r)e[n]=async()=>Object.assign(e,await s())[n];return e}var Wn=Ec;J();var It="'",zn='"';function Cc(t,e){let s=e===!0||e===It?It:zn,r=s===It?zn:It,n=0,i=0;for(let o of t)o===s?n++:o===r&&i++;return n>i?r:s}var Vn=Cc;J();function Oc(t,e,s){let r=e==='"'?"'":'"',i=S(!1,t,/\\(.)|(["'])/gs,(o,a,u)=>a===r?a:u===e?"\\"+u:u||(s&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(a)?a:"\\"+a));return e+i+e}var Yn=Oc;function Ac(t,e){let s=t.slice(1,-1),r=e.parser==="json"||e.parser==="json5"&&e.quoteProps==="preserve"&&!e.singleQuote?'"':e.__isInHtmlAttribute?"'":Vn(s,e.singleQuote);return Yn(s,r,!(e.parser==="css"||e.parser==="less"||e.parser==="scss"||e.__embeddedInHtml))}var qt=Ac;Ve();var Ye="string",Ge="array",Ke="cursor",_e="indent",Te="align",He="trim",Ee="group",ne="fill",fe="if-break",Qe="indent-if-break",je="line-suffix",Je="line-suffix-boundary",X="line",Xe="label",Se="break-parent",Dt=new Set([Ke,_e,Te,He,Ee,ne,fe,Qe,je,Je,X,Xe,Se]);function Pc(t){if(typeof t=="string")return Ye;if(Array.isArray(t))return Ge;if(!t)return;let{type:e}=t;if(Dt.has(e))return e}var Ze=Pc;var Rc=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function Ic(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}',
47
- Expected it to be 'string' or 'object'.`;if(Ze(t))throw new Error("doc is valid.");let s=Object.prototype.toString.call(t);if(s!=="[object Object]")return`Unexpected doc '${s}'.`;let r=Rc([...Dt].map(n=>`'${n}'`));return`Unexpected doc.type '${t.type}'.
48
- Expected it to be ${r}.`}var ls=class extends Error{name="InvalidDocError";constructor(e){super(Ic(e)),this.doc=e}},cs=ls;var Gn=()=>{},pe=Gn,Lt=Gn;function D(t){return pe(t),{type:_e,contents:t}}function Kn(t,e){return pe(e),{type:Te,contents:e,n:t}}function L(t,e={}){return pe(t),Lt(e.expandedStates,!0),{type:Ee,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function Hn(t){return Kn({type:"root"},t)}function he(t){return Kn(-1,t)}function et(t){return Lt(t),{type:ne,parts:t}}function Mt(t,e="",s={}){return pe(t),e!==""&&pe(e),{type:fe,breakContents:t,flatContents:e,groupId:s.groupId}}var tt={type:Se};var qc={type:X,hard:!0};var N={type:X},B={type:X,soft:!0},_=[qc,tt];function G(t,e){pe(t),Lt(e);let s=[];for(let r=0;r<e.length;r++)r!==0&&s.push(t),s.push(e[r]);return s}Ce();var Qn=t=>{if(Array.isArray(t))return t;if(t.type!==ne)throw new Error(`Expect doc to be 'array' or '${ne}'.`);return t.parts};function Lc(t,e){if(typeof t=="string")return e(t);let s=new Map;return r(t);function r(i){if(s.has(i))return s.get(i);let o=n(i);return s.set(i,o),o}function n(i){switch(Ze(i)){case Ge:return e(i.map(r));case ne:return e({...i,parts:i.parts.map(r)});case fe:return e({...i,breakContents:r(i.breakContents),flatContents:r(i.flatContents)});case Ee:{let{expandedStates:o,contents:a}=i;return o?(o=o.map(r),a=o[0]):a=r(a),e({...i,contents:a,expandedStates:o})}case Te:case _e:case Qe:case Xe:case je:return e({...i,contents:r(i.contents)});case Ye:case Ke:case He:case Je:case X:case Se:return e(i);default:throw new cs(i)}}}function Mc(t){return t.type===X&&!t.hard?t.soft?"":" ":t.type===fe?t.flatContents:t}function jn(t){return Lc(t,Mc)}var fs=class extends Error{name="UnexpectedNodeError";constructor(e,s,r="type"){super(`Unexpected ${s} node ${r}: ${JSON.stringify(e[r])}.`),this.node=e}},Jn=fs;Ce();J();function Bc(t){return(t==null?void 0:t.type)==="front-matter"}var Oe=Bc;var Fc=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma","spaces"]);function Xn(t,e,s){if(Oe(t)&&t.lang==="yaml"&&delete e.value,t.type==="css-comment"&&s.type==="css-root"&&s.nodes.length>0&&((s.nodes[0]===t||Oe(s.nodes[0])&&s.nodes[1]===t)&&(delete e.text,/^\*\s*@(?:format|prettier)\s*$/.test(t.text))||s.type==="css-root"&&K(!1,s.nodes,-1)===t))return null;if(t.type==="value-root"&&delete e.text,(t.type==="media-query"||t.type==="media-query-list"||t.type==="media-feature-expression")&&delete e.value,t.type==="css-rule"&&delete e.params,t.type==="selector-combinator"&&(e.value=S(!1,e.value,/\s+/g," ")),t.type==="media-feature"&&(e.value=S(!1,e.value," ","")),(t.type==="value-word"&&(t.isColor&&t.isHex||["initial","inherit","unset","revert"].includes(e.value.toLowerCase()))||t.type==="media-feature"||t.type==="selector-root-invalid"||t.type==="selector-pseudo")&&(e.value=e.value.toLowerCase()),t.type==="css-decl"&&(e.prop=e.prop.toLowerCase()),(t.type==="css-atrule"||t.type==="css-import")&&(e.name=e.name.toLowerCase()),t.type==="value-number"&&(e.unit=e.unit.toLowerCase()),t.type==="value-unknown"&&(e.value=S(!1,e.value,/;$/g,"")),(t.type==="media-feature"||t.type==="media-keyword"||t.type==="media-type"||t.type==="media-unknown"||t.type==="media-url"||t.type==="media-value"||t.type==="selector-attribute"||t.type==="selector-string"||t.type==="selector-class"||t.type==="selector-combinator"||t.type==="value-string")&&e.value&&(e.value=$c(e.value)),t.type==="selector-attribute"&&(e.attribute=e.attribute.trim(),e.namespace&&typeof e.namespace=="string"&&(e.namespace=e.namespace.trim(),e.namespace.length===0&&(e.namespace=!0)),e.value&&(e.value=S(!1,e.value.trim(),/^["']|["']$/g,""),delete e.quoted)),(t.type==="media-value"||t.type==="media-type"||t.type==="value-number"||t.type==="selector-root-invalid"||t.type==="selector-class"||t.type==="selector-combinator"||t.type==="selector-tag")&&e.value&&(e.value=S(!1,e.value,/([\d+.Ee-]+)([A-Za-z]*)/g,(r,n,i)=>{let o=Number(n);return Number.isNaN(o)?r:o+i.toLowerCase()})),t.type==="selector-tag"){let r=t.value.toLowerCase();["from","to"].includes(r)&&(e.value=r)}if(t.type==="css-atrule"&&t.name.toLowerCase()==="supports"&&delete e.value,t.type==="selector-unknown"&&delete e.value,t.type==="value-comma_group"){let r=t.groups.findIndex(n=>n.type==="value-number"&&n.unit==="...");r!==-1&&(e.groups[r].unit="",e.groups.splice(r+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(t.type==="value-comma_group"&&t.groups.some(r=>r.type==="value-atword"&&r.value.endsWith("[")||r.type==="value-word"&&r.value.startsWith("]")))return{type:"value-atword",value:t.groups.map(r=>r.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}Xn.ignoredProperties=Fc;function $c(t){return S(!1,S(!1,t,"'",'"'),/\\([^\dA-Fa-f])/g,"$1")}var Zn=Xn;async function Uc(t,e){if(t.lang==="yaml"){let s=t.value.trim(),r=s?await e(s,{parser:"yaml"}):"";return Hn([t.startDelimiter,_,r,r?_:"",t.endDelimiter])}}var ei=Uc;function ti(t){let{node:e}=t;if(e.type==="front-matter")return async s=>{let r=await ei(e,s);return r?[r,_]:void 0}}ti.getVisitorKeys=t=>t.type==="css-root"?["frontMatter"]:[];var ri=ti;hs();var st=null;function nt(t){if(st!==null&&typeof st.property){let e=st;return st=nt.prototype=null,e}return st=nt.prototype=t??Object.create(null),new nt}var ef=10;for(let t=0;t<=ef;t++)nt();function ds(t){return nt(t)}function tf(t,e="type"){ds(t);function s(r){let n=r[e],i=t[n];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${n}'.`),{node:r});return i}return s}var vi=tf;var rf={"front-matter":[],"css-root":["frontMatter","nodes"],"css-comment":[],"css-rule":["selector","nodes"],"css-decl":["value","selector","nodes"],"css-atrule":["selector","params","value","nodes"],"media-query-list":["nodes"],"media-query":["nodes"],"media-type":[],"media-feature-expression":["nodes"],"media-feature":[],"media-colon":[],"media-value":[],"media-keyword":[],"media-url":[],"media-unknown":[],"selector-root":["nodes"],"selector-selector":["nodes"],"selector-comment":[],"selector-string":[],"selector-tag":[],"selector-id":[],"selector-class":[],"selector-attribute":[],"selector-combinator":["nodes"],"selector-universal":[],"selector-pseudo":["nodes"],"selector-nesting":[],"selector-unknown":[],"value-value":["group"],"value-root":["group"],"value-comment":[],"value-comma_group":["groups"],"value-paren_group":["open","groups","close"],"value-func":["group"],"value-paren":[],"value-number":[],"value-operator":[],"value-word":[],"value-colon":[],"value-comma":[],"value-string":[],"value-atword":[],"value-unicode-range":[],"value-unknown":[]},xi=rf;var sf=vi(xi),bi=sf;var nf=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function ki(t){var e,s;return(s=(e=t.findAncestor(r=>r.type==="css-decl"))==null?void 0:e.prop)==null?void 0:s.toLowerCase()}var of=new Set(["initial","inherit","unset","revert"]);function _i(t){return of.has(t.toLowerCase())}function Ti(t,e){var r;let s=t.findAncestor(n=>n.type==="css-atrule");return((r=s==null?void 0:s.name)==null?void 0:r.toLowerCase().endsWith("keyframes"))&&["from","to"].includes(e.toLowerCase())}function oe(t){return t.includes("$")||t.includes("@")||t.includes("#")||t.startsWith("%")||t.startsWith("--")||t.startsWith(":--")||t.includes("(")&&t.includes(")")?t:t.toLowerCase()}function Ae(t,e){var r;let s=t.findAncestor(n=>n.type==="value-func");return((r=s==null?void 0:s.value)==null?void 0:r.toLowerCase())===e}function Ei(t){var r;let e=t.findAncestor(n=>n.type==="css-rule"),s=(r=e==null?void 0:e.raws)==null?void 0:r.selector;return s&&(s.startsWith(":import")||s.startsWith(":export"))}function Ne(t,e){let s=Array.isArray(e)?e:[e],r=t.findAncestor(n=>n.type==="css-atrule");return r&&s.includes(r.name.toLowerCase())}function Si(t){var s;let{node:e}=t;return e.groups[0].value==="url"&&e.groups.length===2&&((s=t.findAncestor(r=>r.type==="css-atrule"))==null?void 0:s.name)==="import"}function Ci(t){return t.type==="value-func"&&t.value.toLowerCase()==="url"}function Oi(t){return t.type==="value-func"&&t.value.toLowerCase()==="var"}function Bt(t,e){var r;let s=(r=t.parent)==null?void 0:r.nodes;return s&&s.indexOf(e)===s.length-1}function Ai(t){let{selector:e}=t;return e?typeof e=="string"&&/^@.+:.*$/.test(e)||e.value&&/^@.+:.*$/.test(e.value):!1}function Ni(t){return t.type==="value-word"&&["from","through","end"].includes(t.value)}function Pi(t){return t.type==="value-word"&&["and","or","not"].includes(t.value)}function Ri(t){return t.type==="value-word"&&t.value==="in"}function Ft(t){return t.type==="value-operator"&&t.value==="*"}function it(t){return t.type==="value-operator"&&t.value==="/"}function Z(t){return t.type==="value-operator"&&t.value==="+"}function me(t){return t.type==="value-operator"&&t.value==="-"}function af(t){return t.type==="value-operator"&&t.value==="%"}function $t(t){return Ft(t)||it(t)||Z(t)||me(t)||af(t)}function Ii(t){return t.type==="value-word"&&["==","!="].includes(t.value)}function qi(t){return t.type==="value-word"&&["<",">","<=",">="].includes(t.value)}function ot(t,e){return e.parser==="scss"&&t.type==="css-atrule"&&["if","else","for","each","while"].includes(t.name)}function ys(t){var e;return((e=t.raws)==null?void 0:e.params)&&/^\(\s*\)$/.test(t.raws.params)}function gs(t){return t.name.startsWith("prettier-placeholder")}function Di(t){return t.prop.startsWith("@prettier-placeholder")}function Li(t,e){return t.value==="$$"&&t.type==="value-func"&&(e==null?void 0:e.type)==="value-word"&&!e.raws.before}function Mi(t){var e,s;return((e=t.value)==null?void 0:e.type)==="value-root"&&((s=t.value.group)==null?void 0:s.type)==="value-value"&&t.prop.toLowerCase()==="composes"}function Bi(t){var e,s,r;return((r=(s=(e=t.value)==null?void 0:e.group)==null?void 0:s.group)==null?void 0:r.type)==="value-paren_group"&&t.value.group.group.open!==null&&t.value.group.group.close!==null}function ye(t){var e;return((e=t.raws)==null?void 0:e.before)===""}function Ut(t){var e,s;return t.type==="value-comma_group"&&((s=(e=t.groups)==null?void 0:e[1])==null?void 0:s.type)==="value-colon"}function ms(t){var e;return t.type==="value-paren_group"&&((e=t.groups)==null?void 0:e[0])&&Ut(t.groups[0])}function ws(t,e){var i;if(e.parser!=="scss")return!1;let{node:s}=t;if(s.groups.length===0)return!1;let r=t.grandparent;if(!ms(s)&&!(r&&ms(r)))return!1;let n=t.findAncestor(o=>o.type==="css-decl");return!!((i=n==null?void 0:n.prop)!=null&&i.startsWith("$")||ms(r)||r.type==="value-func")}function vs(t){return t.type==="value-comment"&&t.inline}function Wt(t){return t.type==="value-word"&&t.value==="#"}function xs(t){return t.type==="value-word"&&t.value==="{"}function zt(t){return t.type==="value-word"&&t.value==="}"}function at(t){return["value-word","value-atword"].includes(t.type)}function Vt(t){return(t==null?void 0:t.type)==="value-colon"}function Fi(t,e){if(!Ut(e))return!1;let{groups:s}=e,r=s.indexOf(t);return r===-1?!1:Vt(s[r+1])}function $i(t){return t.value&&["not","and","or"].includes(t.value.toLowerCase())}function Ui(t){return t.type!=="value-func"?!1:nf.has(t.value.toLowerCase())}function Pe(t){return/\/\//.test(t.split(/[\n\r]/).pop())}function ut(t){return(t==null?void 0:t.type)==="value-atword"&&t.value.startsWith("prettier-placeholder-")}function Wi(t,e){var s,r;if(((s=t.open)==null?void 0:s.value)!=="("||((r=t.close)==null?void 0:r.value)!==")"||t.groups.some(n=>n.type!=="value-comma_group"))return!1;if(e.type==="value-comma_group"){let n=e.groups.indexOf(t)-1,i=e.groups[n];if((i==null?void 0:i.type)==="value-word"&&i.value==="with")return!0}return!1}function lt(t){var e,s;return t.type==="value-paren_group"&&((e=t.open)==null?void 0:e.value)==="("&&((s=t.close)==null?void 0:s.value)===")"}Re();J();function cf(t){return t.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/,"$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}var Hi=cf;var Ts=new Map([["em","em"],["rem","rem"],["ex","ex"],["rex","rex"],["cap","cap"],["rcap","rcap"],["ch","ch"],["rch","rch"],["ic","ic"],["ric","ric"],["lh","lh"],["rlh","rlh"],["vw","vw"],["svw","svw"],["lvw","lvw"],["dvw","dvw"],["vh","vh"],["svh","svh"],["lvh","lvh"],["dvh","dvh"],["vi","vi"],["svi","svi"],["lvi","lvi"],["dvi","dvi"],["vb","vb"],["svb","svb"],["lvb","lvb"],["dvb","dvb"],["vmin","vmin"],["svmin","svmin"],["lvmin","lvmin"],["dvmin","dvmin"],["vmax","vmax"],["svmax","svmax"],["lvmax","lvmax"],["dvmax","dvmax"],["cm","cm"],["mm","mm"],["q","Q"],["in","in"],["pt","pt"],["pc","pc"],["px","px"],["deg","deg"],["grad","grad"],["rad","rad"],["turn","turn"],["s","s"],["ms","ms"],["hz","Hz"],["khz","kHz"],["dpi","dpi"],["dpcm","dpcm"],["dppx","dppx"],["x","x"],["cqw","cqw"],["cqh","cqh"],["cqi","cqi"],["cqb","cqb"],["cqmin","cqmin"],["cqmax","cqmax"]]);function Qi(t){let e=t.toLowerCase();return Ts.has(e)?Ts.get(e):t}var ji=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,ff=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,pf=/[A-Za-z]+/g,hf=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,df=new RegExp(ji.source+`|(${hf.source})?(${ff.source})(${pf.source})?`,"g");function V(t,e){return S(!1,t,ji,s=>qt(s,e))}function Ji(t,e){let s=e.singleQuote?"'":'"';return t.includes('"')||t.includes("'")?t:s+t+s}function ge(t){return t.replace(df,(e,s,r,n,i)=>!r&&n?Es(n)+oe(i||""):e)}function Es(t){return Hi(t).replace(/\.0(?=$|e)/,"")}function Xi(t){return t.trailingComma==="es5"||t.trailingComma==="all"}Re();function mf(t,e,s){var d;let{node:r}=t,n=t.parent,i=t.grandparent,o=ki(t),a=o&&n.type==="value-value"&&(o==="grid"||o.startsWith("grid-template")),u=t.findAncestor(m=>m.type==="css-atrule"),c=u&&ot(u,e),f=r.groups.some(m=>vs(m)),p=t.map(s,"groups"),l=[],g=Ae(t,"url"),x=!1,h=!1;for(let m=0;m<r.groups.length;++m){l.push(p[m]);let b=r.groups[m-1],w=r.groups[m],v=r.groups[m+1],P=r.groups[m+2];if(g){(v&&Z(v)||Z(w))&&l.push(" ");continue}if(Ne(t,"forward")&&w.type==="value-word"&&w.value&&b!==void 0&&b.type==="value-word"&&b.value==="as"&&v.type==="value-operator"&&v.value==="*"||!v||w.type==="value-word"&&w.value.endsWith("-")&&ut(v))continue;if(w.type==="value-string"&&w.quoted){let A=w.value.lastIndexOf("#{"),ke=w.value.lastIndexOf("}");A!==-1&&ke!==-1?x=A>ke:A!==-1?x=!0:ke!==-1&&(x=!1)}if(x||Vt(w)||Vt(v)||w.type==="value-atword"&&(w.value===""||w.value.endsWith("["))||v.type==="value-word"&&v.value.startsWith("]")||w.value==="~"||w.type!=="value-string"&&w.value&&w.value.includes("\\")&&v&&v.type!=="value-comment"||b!=null&&b.value&&b.value.indexOf("\\")===b.value.length-1&&w.type==="value-operator"&&w.value==="/"||w.value==="\\"||Li(w,v)||Wt(w)||xs(w)||zt(v)||xs(v)&&ye(v)||zt(w)&&ye(v)||w.value==="--"&&Wt(v))continue;let W=$t(w),j=$t(v);if((W&&Wt(v)||j&&zt(w))&&ye(v)||!b&&it(w)||Ae(t,"calc")&&(Z(w)||Z(v)||me(w)||me(v))&&ye(v))continue;let z=(Z(w)||me(w))&&m===0&&(v.type==="value-number"||v.isHex)&&i&&Ui(i)&&!ye(v),C=(P==null?void 0:P.type)==="value-func"||P&&at(P)||w.type==="value-func"||at(w),O=v.type==="value-func"||at(v)||(b==null?void 0:b.type)==="value-func"||b&&at(b);if(!(!(Ft(v)||Ft(w))&&!Ae(t,"calc")&&!z&&(it(v)&&!C||it(w)&&!O||Z(v)&&!C||Z(w)&&!O||me(v)||me(w))&&(ye(v)||W&&(!b||b&&$t(b))))&&!((e.parser==="scss"||e.parser==="less")&&W&&w.value==="-"&&lt(v)&&I(w)===R(v.open)&&v.open.value==="(")){if(vs(w)){if(n.type==="value-paren_group"){l.push(he(_));continue}l.push(_);continue}if(c&&(Ii(v)||qi(v)||Pi(v)||Ri(w)||Ni(w))){l.push(" ");continue}if(u&&u.name.toLowerCase()==="namespace"){l.push(" ");continue}if(a){w.source&&v.source&&w.source.start.line!==v.source.start.line?(l.push(_),h=!0):l.push(" ");continue}if(j){l.push(" ");continue}if((v==null?void 0:v.value)!=="..."&&!(ut(w)&&ut(v)&&I(w)===R(v))){if(ut(w)&&lt(v)&&I(w)===R(v.open)){l.push(B);continue}if(w.value==="with"&&lt(v)){l.push(" ");continue}(d=w.value)!=null&&d.endsWith("#")&&v.value==="{"&&lt(v.group)||l.push(N)}}}return f&&l.push(tt),h&&l.unshift(_),c?L(D(l)):Si(t)?L(et(l)):L(D(et(l)))}var Zi=mf;Ce();function yf(t,e,s){let r=!!(s!=null&&s.backwards);if(e===!1)return!1;let n=t.charAt(e);if(r){if(t.charAt(e-1)==="\r"&&n===`
49
- `)return e-2;if(n===`
50
- `||n==="\r"||n==="\u2028"||n==="\u2029")return e-1}else{if(n==="\r"&&t.charAt(e+1)===`
51
- `)return e+2;if(n===`
52
- `||n==="\r"||n==="\u2028"||n==="\u2029")return e+1}return e}var Ht=yf;ct();function gf(t,e){if(e===!1)return!1;if(t.charAt(e)==="/"&&t.charAt(e+1)==="*"){for(let s=e+2;s<t.length;++s)if(t.charAt(s)==="*"&&t.charAt(s+1)==="/")return s+2}return e}var eo=gf;ct();function wf(t,e){return e===!1?!1:t.charAt(e)==="/"&&t.charAt(e+1)==="/"?Kt(t,e):e}var to=wf;ct();function vf(t,e,s={}){let r=Gt(t,s.backwards?e-1:e,s),n=Ht(t,r,s);return r!==n}var Qt=vf;function xf(t,e){let s=null,r=e;for(;r!==s;)s=r,r=zi(t,r),r=eo(t,r),r=Gt(t,r);return r=to(t,r),r=Ht(t,r),r!==!1&&Qt(t,r)}var jt=xf;Ve();Re();function bf({node:t,parent:e},s){return!!(t.source&&s.originalText.slice(R(t),R(e.close)).trimEnd().endsWith(","))}function kf(t,e){return Oi(t.grandparent)&&bf(t,e)?",":t.node.type!=="value-comment"&&Xi(e)&&t.callParent(()=>ws(t,e))?Mt(","):""}function ro(t,e,s){let{node:r,parent:n}=t,i=t.map(({node:g})=>typeof g=="string"?g:s(),"groups");if(n&&Ci(n)&&(r.groups.length===1||r.groups.length>0&&r.groups[0].type==="value-comma_group"&&r.groups[0].groups.length>0&&r.groups[0].groups[0].type==="value-word"&&r.groups[0].groups[0].value.startsWith("data:")))return[r.open?s("open"):"",G(",",i),r.close?s("close"):""];if(!r.open){let g=Ss(t),x=G([",",g?_:N],i);return D(g?[_,x]:L(et(x)))}let o=t.map(({node:g,isLast:x,index:h})=>{var b;let d=i[h];if(Ut(g)&&g.type==="value-comma_group"&&g.groups&&g.groups[0].type!=="value-paren_group"&&((b=g.groups[2])==null?void 0:b.type)==="value-paren_group"){let w=Qn(d.contents.contents);w[1]=L(w[1]),d=L(he(d))}let m=[d,x?kf(t,e):","];if(!x&&g.type==="value-comma_group"&&se(g.groups)){let w=K(!1,g.groups,-1);!w.source&&w.close&&(w=w.close),w.source&&jt(e.originalText,I(w))&&m.push(_)}return m},"groups"),a=Fi(r,n),u=Wi(r,n),c=ws(t,e),f=u||c&&!a,p=u||a,l=L([r.open?s("open"):"",D([B,G(N,o)]),B,r.close?s("close"):""],{shouldBreak:f});return p?he(l):l}function Ss(t){return t.match(e=>e.type==="value-paren_group"&&!e.open&&e.groups.some(s=>s.type==="value-comma_group"),(e,s)=>s==="group"&&e.type==="value-value",(e,s)=>s==="group"&&e.type==="value-root",(e,s)=>s==="value"&&(e.type==="css-decl"&&!e.prop.startsWith("--")||e.type==="css-atrule"&&e.variable))}Re();function _f(t,e,s){let r=[];return t.each(()=>{let{node:n,previous:i}=t;if((i==null?void 0:i.type)==="css-comment"&&i.text.trim()==="prettier-ignore"?r.push(e.originalText.slice(R(n),I(n))):r.push(s()),t.isLast)return;let{next:o}=t;o.type==="css-comment"&&!Qt(e.originalText,R(o),{backwards:!0})&&!Oe(n)||o.type==="css-atrule"&&o.name==="else"&&n.type!=="css-comment"?r.push(" "):(r.push(e.__isHTMLStyleAttribute?N:_),jt(e.originalText,I(n))&&!Oe(n)&&r.push(_))},"nodes"),r}var Ie=_f;function Tf(t,e,s){var n,i,o,a,u,c;let{node:r}=t;switch(r.type){case"front-matter":return[r.raw,_];case"css-root":{let f=Ie(t,e,s),p=r.raws.after.trim();return p.startsWith(";")&&(p=p.slice(1).trim()),[r.frontMatter?[s("frontMatter"),_]:"",f,p?` ${p}`:"",r.nodes.length>0?_:""]}case"css-comment":{let f=r.inline||r.raws.inline,p=e.originalText.slice(R(r),I(r));return f?p.trimEnd():p}case"css-rule":return[s("selector"),r.important?" !important":"",r.nodes?[((n=r.selector)==null?void 0:n.type)==="selector-unknown"&&Pe(r.selector.value)?N:r.selector?" ":"","{",r.nodes.length>0?D([_,Ie(t,e,s)]):"",_,"}",Ai(r)?";":""]:";"];case"css-decl":{let f=t.parent,{between:p}=r.raws,l=p.trim(),g=l===":",x=typeof r.value=="string"&&/^ *$/.test(r.value),h=typeof r.value=="string"?r.value:s("value");return h=Mi(r)?jn(h):h,!g&&Pe(l)&&!((o=(i=r.value)==null?void 0:i.group)!=null&&o.group&&t.call(()=>Ss(t),"value","group","group"))&&(h=D([_,he(h)])),[S(!1,r.raws.before,/[\s;]/g,""),f.type==="css-atrule"&&f.variable||Ei(t)?r.prop:oe(r.prop),l.startsWith("//")?" ":"",l,r.extend||x?"":" ",e.parser==="less"&&r.extend&&r.selector?["extend(",s("selector"),")"]:"",h,r.raws.important?r.raws.important.replace(/\s*!\s*important/i," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/i," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/i," !global"):r.scssGlobal?" !global":"",r.nodes?[" {",D([B,Ie(t,e,s)]),B,"}"]:Di(r)&&!f.raws.semicolon&&e.originalText[I(r)-1]!==";"?"":e.__isHTMLStyleAttribute&&Bt(t,r)?Mt(";"):";"]}case"css-atrule":{let f=t.parent,p=gs(r)&&!f.raws.semicolon&&e.originalText[I(r)-1]!==";";if(e.parser==="less"){if(r.mixin)return[s("selector"),r.important?" !important":"",p?"":";"];if(r.function)return[r.name,typeof r.params=="string"?r.params:s("params"),p?"":";"];if(r.variable)return["@",r.name,": ",r.value?s("value"):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?["{",D([r.nodes.length>0?B:"",Ie(t,e,s)]),B,"}"]:"",p?"":";"]}let l=r.name==="import"&&((a=r.params)==null?void 0:a.type)==="value-unknown"&&r.params.value.endsWith(";");return["@",ys(r)||r.name.endsWith(":")?r.name:oe(r.name),r.params?[ys(r)?"":gs(r)?r.raws.afterName===""?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(r.raws.afterName)?[_,_]:/^\s*\n/.test(r.raws.afterName)?_:" ":" ",typeof r.params=="string"?r.params:s("params")]:"",r.selector?D([" ",s("selector")]):"",r.value?L([" ",s("value"),ot(r,e)?Bi(r)?" ":N:""]):r.name==="else"?" ":"",r.nodes?[ot(r,e)?"":r.selector&&!r.selector.nodes&&typeof r.selector.value=="string"&&Pe(r.selector.value)||!r.selector&&typeof r.params=="string"&&Pe(r.params)?N:" ","{",D([r.nodes.length>0?B:"",Ie(t,e,s)]),B,"}"]:p||l?"":";"]}case"media-query-list":{let f=[];return t.each(({node:p})=>{p.type==="media-query"&&p.value===""||f.push(s())},"nodes"),L(D(G(N,f)))}case"media-query":return[G(" ",t.map(s,"nodes")),Bt(t,r)?"":","];case"media-type":return ge(V(r.value,e));case"media-feature-expression":return r.nodes?["(",...t.map(s,"nodes"),")"]:r.value;case"media-feature":return oe(V(S(!1,r.value,/ +/g," "),e));case"media-colon":return[r.value," "];case"media-value":return ge(V(r.value,e));case"media-keyword":return V(r.value,e);case"media-url":return V(S(!1,S(!1,r.value,/^url\(\s+/gi,"url("),/\s+\)$/g,")"),e);case"media-unknown":return r.value;case"selector-root":return L([Ne(t,"custom-selector")?[t.findAncestor(f=>f.type==="css-atrule").customSelector,N]:"",G([",",Ne(t,["extend","custom-selector","nest"])?N:_],t.map(s,"nodes"))]);case"selector-selector":return L(D(t.map(s,"nodes")));case"selector-comment":return r.value;case"selector-string":return V(r.value,e);case"selector-tag":return[r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",((u=t.previous)==null?void 0:u.type)==="selector-nesting"?r.value:ge(Ti(t,r.value)?r.value.toLowerCase():r.value)];case"selector-id":return["#",r.value];case"selector-class":return[".",ge(V(r.value,e))];case"selector-attribute":return["[",r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",r.attribute.trim(),r.operator??"",r.value?Ji(V(r.value.trim(),e),e):"",r.insensitive?" i":"","]"];case"selector-combinator":{if(r.value==="+"||r.value===">"||r.value==="~"||r.value===">>>"){let l=t.parent;return[l.type==="selector-selector"&&l.nodes[0]===r?"":N,r.value,Bt(t,r)?"":" "]}let f=r.value.trim().startsWith("(")?N:"",p=ge(V(r.value.trim(),e))||N;return[f,p]}case"selector-universal":return[r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",r.value];case"selector-pseudo":return[oe(r.value),se(r.nodes)?L(["(",D([B,G([",",N],t.map(s,"nodes"))]),B,")"]):""];case"selector-nesting":return r.value;case"selector-unknown":{let f=t.findAncestor(g=>g.type==="css-rule");if(f!=null&&f.isSCSSNesterProperty)return ge(V(oe(r.value),e));let p=t.parent;if((c=p.raws)!=null&&c.selector){let g=R(p),x=g+p.raws.selector.length;return e.originalText.slice(g,x).trim()}let l=t.grandparent;if(p.type==="value-paren_group"&&(l==null?void 0:l.type)==="value-func"&&l.value==="selector"){let g=I(p.open)+1,x=R(p.close),h=e.originalText.slice(g,x).trim();return Pe(h)?[tt,h]:h}return r.value}case"value-value":case"value-root":return s("group");case"value-comment":return e.originalText.slice(R(r),I(r));case"value-comma_group":return Zi(t,e,s);case"value-paren_group":return ro(t,e,s);case"value-func":return[r.value,Ne(t,"supports")&&$i(r)?" ":"",s("group")];case"value-paren":return r.value;case"value-number":return[Es(r.value),Qi(r.unit)];case"value-operator":return r.value;case"value-word":return r.isColor&&r.isHex||_i(r.value)?r.value.toLowerCase():r.value;case"value-colon":{let{previous:f}=t;return[r.value,typeof(f==null?void 0:f.value)=="string"&&f.value.endsWith("\\")||Ae(t,"url")?"":N]}case"value-string":return qt(r.raws.quote+r.value+r.raws.quote,e);case"value-atword":return["@",r.value];case"value-unicode-range":return r.value;case"value-unknown":return r.value;case"value-comma":default:throw new Jn(r,"PostCSS")}}var Ef={print:Tf,embed:ri,insertPragma:wi,massageAstNode:Zn,getVisitorKeys:bi},so=Ef;var Cs=[{linguistLanguageId:50,name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css",".wxss"],parsers:["css"],vscodeLanguageIds:["css"]},{linguistLanguageId:262764437,name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",parsers:["css"],vscodeLanguageIds:["postcss"]},{linguistLanguageId:198,name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",parsers:["less"],vscodeLanguageIds:["less"]},{linguistLanguageId:329,name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],parsers:["scss"],vscodeLanguageIds:["scss"]}];var no={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var Sf={singleQuote:no.singleQuote},Os=Sf;var gc={postcss:so},wc=Wn([{importParsers:()=>Promise.resolve().then(()=>(yc(),mc)),parserNames:["css","less","scss"]}]);return Tc(ww);});
13
+ `,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function Jc(t){return t[0].toUpperCase()+t.slice(1)}var it=class{constructor(e){this.builder=e}stringify(e,n){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,n)}document(e){this.body(e)}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let n=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+n+e.text+r+"*/",e)}decl(e,n){let r=this.raw(e,"between","colon"),s=e.prop+r+this.rawValue(e,"value");e.important&&(s+=e.raws.important||" !important"),n&&(s+=";"),this.builder(s,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,n){let r="@"+e.name,s=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?r+=e.raws.afterName:s&&(r+=" "),e.nodes)this.block(e,r+s);else{let i=(e.raws.between||"")+(n?";":"");this.builder(r+s+i,e)}}body(e){let n=e.nodes.length-1;for(;n>0&&e.nodes[n].type==="comment";)n-=1;let r=this.raw(e,"semicolon");for(let s=0;s<e.nodes.length;s++){let i=e.nodes[s],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,n!==s||r)}}block(e,n){let r=this.raw(e,"between","beforeOpen");this.builder(n+r+"{",e,"start");let s;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,n,r){let s;if(r||(r=n),n&&(s=e.raws[n],typeof s<"u"))return s;let i=e.parent;if(r==="before"&&(!i||i.type==="root"&&i.first===e||i&&i.type==="document"))return"";if(!i)return Hi[r];let o=e.root();if(o.rawCache||(o.rawCache={}),typeof o.rawCache[r]<"u")return o.rawCache[r];if(r==="before"||r==="after")return this.beforeAfter(e,r);{let a="raw"+Jc(r);this[a]?s=this[a](o,e):o.walk(u=>{if(s=u.raws[n],typeof s<"u")return!1})}return typeof s>"u"&&(s=Hi[r]),o.rawCache[r]=s,s}rawSemicolon(e){let n;return e.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(n=r.raws.semicolon,typeof n<"u"))return!1}),n}rawEmptyBody(e){let n;return e.walk(r=>{if(r.nodes&&r.nodes.length===0&&(n=r.raws.after,typeof n<"u"))return!1}),n}rawIndent(e){if(e.raws.indent)return e.raws.indent;let n;return e.walk(r=>{let s=r.parent;if(s&&s!==e&&s.parent&&s.parent===e&&typeof r.raws.before<"u"){let i=r.raws.before.split(`
14
+ `);return n=i[i.length-1],n=n.replace(/\S/g,""),!1}}),n}rawBeforeComment(e,n){let r;return e.walkComments(s=>{if(typeof s.raws.before<"u")return r=s.raws.before,r.includes(`
15
+ `)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(n,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,n){let r;return e.walkDecls(s=>{if(typeof s.raws.before<"u")return r=s.raws.before,r.includes(`
16
+ `)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(n,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeRule(e){let n;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&typeof r.raws.before<"u")return n=r.raws.before,n.includes(`
17
+ `)&&(n=n.replace(/[^\n]+$/,"")),!1}),n&&(n=n.replace(/\S/g,"")),n}rawBeforeClose(e){let n;return e.walk(r=>{if(r.nodes&&r.nodes.length>0&&typeof r.raws.after<"u")return n=r.raws.after,n.includes(`
18
+ `)&&(n=n.replace(/[^\n]+$/,"")),!1}),n&&(n=n.replace(/\S/g,"")),n}rawBeforeOpen(e){let n;return e.walk(r=>{if(r.type!=="decl"&&(n=r.raws.between,typeof n<"u"))return!1}),n}rawColon(e){let n;return e.walkDecls(r=>{if(typeof r.raws.between<"u")return n=r.raws.between.replace(/[^\s:]/g,""),!1}),n}beforeAfter(e,n){let r;e.type==="decl"?r=this.raw(e,null,"beforeDecl"):e.type==="comment"?r=this.raw(e,null,"beforeComment"):n==="before"?r=this.raw(e,null,"beforeRule"):r=this.raw(e,null,"beforeClose");let s=e.parent,i=0;for(;s&&s.type!=="root";)i+=1,s=s.parent;if(r.includes(`
19
+ `)){let o=this.raw(e,null,"indent");if(o.length)for(let a=0;a<i;a++)r+=o}return r}rawValue(e,n){let r=e[n],s=e.raws[n];return s&&s.value===r?s.raw:r}};Qi.exports=it;it.default=it});var ot=y((kx,ji)=>{"use strict";var Xc=Kt();function _n(t,e){new Xc(e).stringify(t)}ji.exports=_n;_n.default=_n});var ut=y((_x,Ji)=>{"use strict";var{isClean:Ht,my:Zc}=Yt(),ef=Gt(),tf=Kt(),rf=ot();function Tn(t,e){let n=new t.constructor;for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r)||r==="proxyCache")continue;let s=t[r],i=typeof s;r==="parent"&&i==="object"?e&&(n[r]=e):r==="source"?n[r]=s:Array.isArray(s)?n[r]=s.map(o=>Tn(o,n)):(i==="object"&&s!==null&&(s=Tn(s)),n[r]=s)}return n}var at=class{constructor(e={}){this.raws={},this[Ht]=!1,this[Zc]=!0;for(let n in e)if(n==="nodes"){this.nodes=[];for(let r of e[n])typeof r.clone=="function"?this.append(r.clone()):this.append(r)}else this[n]=e[n]}error(e,n={}){if(this.source){let{start:r,end:s}=this.rangeBy(n);return this.source.input.error(e,{line:r.line,column:r.column},{line:s.line,column:s.column},n)}return new ef(e)}warn(e,n,r){let s={node:this};for(let i in r)s[i]=r[i];return e.warn(n,s)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=rf){e.stringify&&(e=e.stringify);let n="";return e(this,r=>{n+=r}),n}assign(e={}){for(let n in e)this[n]=e[n];return this}clone(e={}){let n=Tn(this);for(let r in e)n[r]=e[r];return n}cloneBefore(e={}){let n=this.clone(e);return this.parent.insertBefore(this,n),n}cloneAfter(e={}){let n=this.clone(e);return this.parent.insertAfter(this,n),n}replaceWith(...e){if(this.parent){let n=this,r=!1;for(let s of e)s===this?r=!0:r?(this.parent.insertAfter(n,s),n=s):this.parent.insertBefore(n,s);r||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&&e.parent.type!=="document";)e=e.parent;return e}raw(e,n){return new tf().raw(this,e,n)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,n){let r={},s=n==null;n=n||new Map;let i=0;for(let o in this){if(!Object.prototype.hasOwnProperty.call(this,o)||o==="parent"||o==="proxyCache")continue;let a=this[o];if(Array.isArray(a))r[o]=a.map(u=>typeof u=="object"&&u.toJSON?u.toJSON(null,n):u);else if(typeof a=="object"&&a.toJSON)r[o]=a.toJSON(null,n);else if(o==="source"){let u=n.get(a.input);u==null&&(u=i,n.set(a.input,i),i++),r[o]={inputId:u,start:a.start,end:a.end}}else r[o]=a}return s&&(r.inputs=[...n.keys()].map(o=>o.toJSON())),r}positionInside(e){let n=this.toString(),r=this.source.start.column,s=this.source.start.line;for(let i=0;i<e;i++)n[i]===`
20
+ `?(r=1,s+=1):r+=1;return{line:s,column:r}}positionBy(e){let n=this.source.start;if(e.index)n=this.positionInside(e.index);else if(e.word){let r=this.toString().indexOf(e.word);r!==-1&&(n=this.positionInside(r))}return n}rangeBy(e){let n={line:this.source.start.line,column:this.source.start.column},r=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:n.line,column:n.column+1};if(e.word){let s=this.toString().indexOf(e.word);s!==-1&&(n=this.positionInside(s),r=this.positionInside(s+e.word.length))}else e.start?n={line:e.start.line,column:e.start.column}:e.index&&(n=this.positionInside(e.index)),e.end?r={line:e.end.line,column:e.end.column}:e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<n.line||r.line===n.line&&r.column<=n.column)&&(r={line:n.line,column:n.column+1}),{start:n,end:r}}getProxyProcessor(){return{set(e,n,r){return e[n]===r||(e[n]=r,(n==="prop"||n==="value"||n==="name"||n==="params"||n==="important"||n==="text")&&e.markDirty()),!0},get(e,n){return n==="proxyOf"?e:n==="root"?()=>e.root().toProxy():e[n]}}}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 n=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${n.input.from}:${n.start.line}:${n.start.column}$&`)}return e}markDirty(){if(this[Ht]){this[Ht]=!1;let e=this;for(;e=e.parent;)e[Ht]=!1}}get proxyOf(){return this}};Ji.exports=at;at.default=at});var ct=y((Tx,Xi)=>{"use strict";var nf=ut(),lt=class extends nf{constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};Xi.exports=lt;lt.default=lt});var Ne=y((Ex,Zi)=>{"use strict";var sf=ut(),ft=class extends sf{constructor(e){super(e),this.type="comment"}};Zi.exports=ft;ft.default=ft});var ie=y((Sx,uo)=>{"use strict";var{isClean:eo,my:to}=Yt(),ro=ct(),no=Ne(),of=ut(),so,En,Sn,io;function oo(t){return t.map(e=>(e.nodes&&(e.nodes=oo(e.nodes)),delete e.source,e))}function ao(t){if(t[eo]=!1,t.proxyOf.nodes)for(let e of t.proxyOf.nodes)ao(e)}var $=class extends of{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let n=this.getIterator(),r,s;for(;this.indexes[n]<this.proxyOf.nodes.length&&(r=this.indexes[n],s=e(this.proxyOf.nodes[r],r),s!==!1);)this.indexes[n]+=1;return delete this.indexes[n],s}walk(e){return this.each((n,r)=>{let s;try{s=e(n,r)}catch(i){throw n.addToError(i)}return s!==!1&&n.walk&&(s=n.walk(e)),s})}walkDecls(e,n){return n?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="decl"&&e.test(r.prop))return n(r,s)}):this.walk((r,s)=>{if(r.type==="decl"&&r.prop===e)return n(r,s)}):(n=e,this.walk((r,s)=>{if(r.type==="decl")return n(r,s)}))}walkRules(e,n){return n?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="rule"&&e.test(r.selector))return n(r,s)}):this.walk((r,s)=>{if(r.type==="rule"&&r.selector===e)return n(r,s)}):(n=e,this.walk((r,s)=>{if(r.type==="rule")return n(r,s)}))}walkAtRules(e,n){return n?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="atrule"&&e.test(r.name))return n(r,s)}):this.walk((r,s)=>{if(r.type==="atrule"&&r.name===e)return n(r,s)}):(n=e,this.walk((r,s)=>{if(r.type==="atrule")return n(r,s)}))}walkComments(e){return this.walk((n,r)=>{if(n.type==="comment")return e(n,r)})}append(...e){for(let n of e){let r=this.normalize(n,this.last);for(let s of r)this.proxyOf.nodes.push(s)}return this.markDirty(),this}prepend(...e){e=e.reverse();for(let n of e){let r=this.normalize(n,this.first,"prepend").reverse();for(let s of r)this.proxyOf.nodes.unshift(s);for(let s in this.indexes)this.indexes[s]=this.indexes[s]+r.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let n of this.nodes)n.cleanRaws(e)}insertBefore(e,n){let r=this.index(e),s=r===0?"prepend":!1,i=this.normalize(n,this.proxyOf.nodes[r],s).reverse();r=this.index(e);for(let a of i)this.proxyOf.nodes.splice(r,0,a);let o;for(let a in this.indexes)o=this.indexes[a],r<=o&&(this.indexes[a]=o+i.length);return this.markDirty(),this}insertAfter(e,n){let r=this.index(e),s=this.normalize(n,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let o of s)this.proxyOf.nodes.splice(r+1,0,o);let i;for(let o in this.indexes)i=this.indexes[o],r<i&&(this.indexes[o]=i+s.length);return this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let n;for(let r in this.indexes)n=this.indexes[r],n>=e&&(this.indexes[r]=n-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,n,r){return r||(r=n,n={}),this.walkDecls(s=>{n.props&&!n.props.includes(s.prop)||n.fast&&!s.value.includes(n.fast)||(s.value=s.value.replace(e,r))}),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return typeof e=="number"?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,n){if(typeof e=="string")e=oo(so(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let s of e)s.parent&&s.parent.removeChild(s,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let s of e)s.parent&&s.parent.removeChild(s,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new ro(e)]}else if(e.selector)e=[new En(e)];else if(e.name)e=[new Sn(e)];else if(e.text)e=[new no(e)];else throw new Error("Unknown node type in node creation");return e.map(s=>(s[to]||$.rebuild(s),s=s.proxyOf,s.parent&&s.parent.removeChild(s),s[eo]&&ao(s),typeof s.raws.before>"u"&&n&&typeof n.raws.before<"u"&&(s.raws.before=n.raws.before.replace(/\S/g,"")),s.parent=this.proxyOf,s))}getProxyProcessor(){return{set(e,n,r){return e[n]===r||(e[n]=r,(n==="name"||n==="params"||n==="selector")&&e.markDirty()),!0},get(e,n){return n==="proxyOf"?e:e[n]?n==="each"||typeof n=="string"&&n.startsWith("walk")?(...r)=>e[n](...r.map(s=>typeof s=="function"?(i,o)=>s(i.toProxy(),o):s)):n==="every"||n==="some"?r=>e[n]((s,...i)=>r(s.toProxy(),...i)):n==="root"?()=>e.root().toProxy():n==="nodes"?e.nodes.map(r=>r.toProxy()):n==="first"||n==="last"?e[n].toProxy():e[n]:e[n]}}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}};$.registerParse=t=>{so=t};$.registerRule=t=>{En=t};$.registerAtRule=t=>{Sn=t};$.registerRoot=t=>{io=t};uo.exports=$;$.default=$;$.rebuild=t=>{t.type==="atrule"?Object.setPrototypeOf(t,Sn.prototype):t.type==="rule"?Object.setPrototypeOf(t,En.prototype):t.type==="decl"?Object.setPrototypeOf(t,ro.prototype):t.type==="comment"?Object.setPrototypeOf(t,no.prototype):t.type==="root"&&Object.setPrototypeOf(t,io.prototype),t[to]=!0,t.nodes&&t.nodes.forEach(e=>{$.rebuild(e)})}});var rr=y((Cx,po)=>{"use strict";var Cn="'".charCodeAt(0),lo='"'.charCodeAt(0),Qt="\\".charCodeAt(0),co="/".charCodeAt(0),jt=`
21
+ `.charCodeAt(0),pt=" ".charCodeAt(0),Jt="\f".charCodeAt(0),Xt=" ".charCodeAt(0),Zt="\r".charCodeAt(0),af="[".charCodeAt(0),uf="]".charCodeAt(0),lf="(".charCodeAt(0),cf=")".charCodeAt(0),ff="{".charCodeAt(0),pf="}".charCodeAt(0),hf=";".charCodeAt(0),df="*".charCodeAt(0),mf=":".charCodeAt(0),yf="@".charCodeAt(0),er=/[\t\n\f\r "#'()/;[\\\]{}]/g,tr=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,gf=/.[\n"'(/\\]/,fo=/[\da-f]/i;po.exports=function(e,n={}){let r=e.css.valueOf(),s=n.ignoreErrors,i,o,a,u,c,f,p,l,g,x,h=r.length,d=0,m=[],b=[];function w(){return d}function v(W){throw e.error("Unclosed "+W,d)}function N(){return b.length===0&&d>=h}function U(W){if(b.length)return b.pop();if(d>=h)return;let S=W?W.ignoreUnclosed:!1;switch(i=r.charCodeAt(d),i){case jt:case pt:case Xt:case Zt:case Jt:{o=d;do o+=1,i=r.charCodeAt(o);while(i===pt||i===jt||i===Xt||i===Zt||i===Jt);x=["space",r.slice(d,o)],d=o-1;break}case af:case uf:case ff:case pf:case mf:case hf:case cf:{let C=String.fromCharCode(i);x=[C,C,d];break}case lf:{if(l=m.length?m.pop()[1]:"",g=r.charCodeAt(d+1),l==="url"&&g!==Cn&&g!==lo&&g!==pt&&g!==jt&&g!==Xt&&g!==Jt&&g!==Zt){o=d;do{if(f=!1,o=r.indexOf(")",o+1),o===-1)if(s||S){o=d;break}else v("bracket");for(p=o;r.charCodeAt(p-1)===Qt;)p-=1,f=!f}while(f);x=["brackets",r.slice(d,o+1),d,o],d=o}else o=r.indexOf(")",d+1),u=r.slice(d,o+1),o===-1||gf.test(u)?x=["(","(",d]:(x=["brackets",u,d,o],d=o);break}case Cn:case lo:{a=i===Cn?"'":'"',o=d;do{if(f=!1,o=r.indexOf(a,o+1),o===-1)if(s||S){o=d+1;break}else v("string");for(p=o;r.charCodeAt(p-1)===Qt;)p-=1,f=!f}while(f);x=["string",r.slice(d,o+1),d,o],d=o;break}case yf:{er.lastIndex=d+1,er.test(r),er.lastIndex===0?o=r.length-1:o=er.lastIndex-2,x=["at-word",r.slice(d,o+1),d,o],d=o;break}case Qt:{for(o=d,c=!0;r.charCodeAt(o+1)===Qt;)o+=1,c=!c;if(i=r.charCodeAt(o+1),c&&i!==co&&i!==pt&&i!==jt&&i!==Xt&&i!==Zt&&i!==Jt&&(o+=1,fo.test(r.charAt(o)))){for(;fo.test(r.charAt(o+1));)o+=1;r.charCodeAt(o+1)===pt&&(o+=1)}x=["word",r.slice(d,o+1),d,o],d=o;break}default:{i===co&&r.charCodeAt(d+1)===df?(o=r.indexOf("*/",d+2)+1,o===0&&(s||S?o=r.length:v("comment")),x=["comment",r.slice(d,o+1),d,o],d=o):(tr.lastIndex=d+1,tr.test(r),tr.lastIndex===0?o=r.length-1:o=tr.lastIndex-2,x=["word",r.slice(d,o+1),d,o],m.push(x),d=o);break}}return d++,x}function Q(W){b.push(W)}return{back:Q,nextToken:U,endOfFile:N,position:w}}});var nr=y((Ox,mo)=>{"use strict";var ho=ie(),Pe=class extends ho{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)}};mo.exports=Pe;Pe.default=Pe;ho.registerAtRule(Pe)});var Re=y((Ax,vo)=>{"use strict";var yo=ie(),go,wo,oe=class extends yo{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}removeChild(e,n){let r=this.index(e);return!n&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}normalize(e,n,r){let s=super.normalize(e);if(n){if(r==="prepend")this.nodes.length>1?n.raws.before=this.nodes[1].raws.before:delete n.raws.before;else if(this.first!==n)for(let i of s)i.raws.before=n.raws.before}return s}toResult(e={}){return new go(new wo,this,e).stringify()}};oe.registerLazyResult=t=>{go=t};oe.registerProcessor=t=>{wo=t};vo.exports=oe;oe.default=oe;yo.registerRoot(oe)});var On=y((Nx,xo)=>{"use strict";var ht={split(t,e,n){let r=[],s="",i=!1,o=0,a=!1,u="",c=!1;for(let f of t)c?c=!1:f==="\\"?c=!0:a?f===u&&(a=!1):f==='"'||f==="'"?(a=!0,u=f):f==="("?o+=1:f===")"?o>0&&(o-=1):o===0&&e.includes(f)&&(i=!0),i?(s!==""&&r.push(s.trim()),s="",i=!1):s+=f;return(n||s!=="")&&r.push(s.trim()),r},space(t){let e=[" ",`
22
+ `," "];return ht.split(t,e)},comma(t){return ht.split(t,[","],!0)}};xo.exports=ht;ht.default=ht});var sr=y((Px,ko)=>{"use strict";var bo=ie(),wf=On(),Ie=class extends bo{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return wf.comma(this.selector)}set selectors(e){let n=this.selector?this.selector.match(/,\s*/):null,r=n?n[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}};ko.exports=Ie;Ie.default=Ie;bo.registerRule(Ie)});var ir=y((Rx,Eo)=>{"use strict";var vf=ct(),xf=rr(),bf=Ne(),kf=nr(),_f=Re(),_o=sr(),To={empty:!0,space:!0};function Tf(t){for(let e=t.length-1;e>=0;e--){let n=t[e],r=n[3]||n[2];if(r)return r}}var An=class{constructor(e){this.input=e,this.root=new _f,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=xf(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);break}this.endFile()}comment(e){let n=new bf;this.init(n,e[2]),n.source.end=this.getPosition(e[3]||e[2]);let r=e[1].slice(2,-2);if(/^\s*$/.test(r))n.text="",n.raws.left=r,n.raws.right="";else{let s=r.match(/^(\s*)([^]*\S)(\s*)$/);n.text=s[2],n.raws.left=s[1],n.raws.right=s[3]}}emptyRule(e){let n=new _o;this.init(n,e[2]),n.selector="",n.raws.between="",this.current=n}other(e){let n=!1,r=null,s=!1,i=null,o=[],a=e[1].startsWith("--"),u=[],c=e;for(;c;){if(r=c[0],u.push(c),r==="("||r==="[")i||(i=c),o.push(r==="("?")":"]");else if(a&&s&&r==="{")i||(i=c),o.push("}");else if(o.length===0)if(r===";")if(s){this.decl(u,a);return}else break;else if(r==="{"){this.rule(u);return}else if(r==="}"){this.tokenizer.back(u.pop()),n=!0;break}else r===":"&&(s=!0);else r===o[o.length-1]&&(o.pop(),o.length===0&&(i=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(n=!0),o.length>0&&this.unclosedBracket(i),n&&s){if(!a)for(;u.length&&(c=u[u.length-1][0],!(c!=="space"&&c!=="comment"));)this.tokenizer.back(u.pop());this.decl(u,a)}else this.unknownWord(u)}rule(e){e.pop();let n=new _o;this.init(n,e[0][2]),n.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(n,"selector",e),this.current=n}decl(e,n){let r=new vf;this.init(r,e[0][2]);let s=e[e.length-1];for(s[0]===";"&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(s[3]||s[2]||Tf(e));e[0][0]!=="word";)e.length===1&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let c=e[0][0];if(c===":"||c==="space"||c==="comment")break;r.prop+=e.shift()[1]}r.raws.between="";let i;for(;e.length;)if(i=e.shift(),i[0]===":"){r.raws.between+=i[1];break}else i[0]==="word"&&/\w/.test(i[1])&&this.unknownWord([i]),r.raws.between+=i[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let o=[],a;for(;e.length&&(a=e[0][0],!(a!=="space"&&a!=="comment"));)o.push(e.shift());this.precheckMissedSemicolon(e);for(let c=e.length-1;c>=0;c--){if(i=e[c],i[1].toLowerCase()==="!important"){r.important=!0;let f=this.stringFrom(e,c);f=this.spacesFromEnd(e)+f,f!==" !important"&&(r.raws.important=f);break}else if(i[1].toLowerCase()==="important"){let f=e.slice(0),p="";for(let l=c;l>0;l--){let g=f[l][0];if(p.trim().indexOf("!")===0&&g!=="space")break;p=f.pop()[1]+p}p.trim().indexOf("!")===0&&(r.important=!0,r.raws.important=p,e=f)}if(i[0]!=="space"&&i[0]!=="comment")break}e.some(c=>c[0]!=="space"&&c[0]!=="comment")&&(r.raws.between+=o.map(c=>c[1]).join(""),o=[]),this.raw(r,"value",o.concat(e),n),r.value.includes(":")&&!n&&this.checkMissedSemicolon(e)}atrule(e){let n=new kf;n.name=e[1].slice(1),n.name===""&&this.unnamedAtrule(n,e),this.init(n,e[2]);let r,s,i,o=!1,a=!1,u=[],c=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),r=e[0],r==="("||r==="["?c.push(r==="("?")":"]"):r==="{"&&c.length>0?c.push("}"):r===c[c.length-1]&&c.pop(),c.length===0)if(r===";"){n.source.end=this.getPosition(e[2]),this.semicolon=!0;break}else if(r==="{"){a=!0;break}else if(r==="}"){if(u.length>0){for(i=u.length-1,s=u[i];s&&s[0]==="space";)s=u[--i];s&&(n.source.end=this.getPosition(s[3]||s[2]))}this.end(e);break}else u.push(e);else u.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}n.raws.between=this.spacesAndCommentsFromEnd(u),u.length?(n.raws.afterName=this.spacesAndCommentsFromStart(u),this.raw(n,"params",u),o&&(e=u[u.length-1],n.source.end=this.getPosition(e[3]||e[2]),this.spaces=n.raws.between,n.raws.between="")):(n.raws.afterName="",n.params=""),a&&(n.nodes=[],this.current=n)}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 n=this.current.nodes[this.current.nodes.length-1];n&&n.type==="rule"&&!n.raws.ownSemicolon&&(n.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let n=this.input.fromOffset(e);return{offset:e,line:n.line,column:n.col}}init(e,n){this.current.push(e),e.source={start:this.getPosition(n),input:this.input},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}raw(e,n,r,s){let i,o,a=r.length,u="",c=!0,f,p;for(let l=0;l<a;l+=1)i=r[l],o=i[0],o==="space"&&l===a-1&&!s?c=!1:o==="comment"?(p=r[l-1]?r[l-1][0]:"empty",f=r[l+1]?r[l+1][0]:"empty",!To[p]&&!To[f]?u.slice(-1)===","?c=!1:u+=i[1]:c=!1):u+=i[1];if(!c){let l=r.reduce((g,x)=>g+x[1],"");e.raws[n]={value:u,raw:l}}e[n]=u}spacesAndCommentsFromEnd(e){let n,r="";for(;e.length&&(n=e[e.length-1][0],!(n!=="space"&&n!=="comment"));)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let n,r="";for(;e.length&&(n=e[0][0],!(n!=="space"&&n!=="comment"));)r+=e.shift()[1];return r}spacesFromEnd(e){let n,r="";for(;e.length&&(n=e[e.length-1][0],n==="space");)r=e.pop()[1]+r;return r}stringFrom(e,n){let r="";for(let s=n;s<e.length;s++)r+=e[s][1];return e.splice(n,e.length-n),r}colon(e){let n=0,r,s,i;for(let[o,a]of e.entries()){if(r=a,s=r[0],s==="("&&(n+=1),s===")"&&(n-=1),n===0&&s===":")if(!i)this.doubleColon(r);else{if(i[0]==="word"&&i[1]==="progid")continue;return o}i=r}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,n){throw this.input.error("At-rule without name",{offset:n[2]},{offset:n[2]+n[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(e){let n=this.colon(e);if(n===!1)return;let r=0,s;for(let i=n-1;i>=0&&(s=e[i],!(s[0]!=="space"&&(r+=1,r===2)));i--);throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}};Eo.exports=An});var So=y(()=>{});var Oo=y((Dx,Co)=>{var Ef="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Sf=(t,e=21)=>(n=e)=>{let r="",s=n;for(;s--;)r+=t[Math.random()*t.length|0];return r},Cf=(t=21)=>{let e="",n=t;for(;n--;)e+=Ef[Math.random()*64|0];return e};Co.exports={nanoid:Cf,customAlphabet:Sf}});var Nn=y((Lx,Ao)=>{Ao.exports=class{}});var De=y((Bx,Io)=>{"use strict";var{SourceMapConsumer:Of,SourceMapGenerator:Af}=So(),{fileURLToPath:No,pathToFileURL:or}={},{resolve:In,isAbsolute:qn}={},{nanoid:Nf}=Oo(),Pn=kn(),Po=Gt(),Pf=Nn(),Rn=Symbol("fromOffsetCache"),Rf=!!(Of&&Af),Ro=!!(In&&qn),qe=class{constructor(e,n={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,n.from&&(!Ro||/^\w+:\/\//.test(n.from)||qn(n.from)?this.file=n.from:this.file=In(n.from)),Ro&&Rf){let r=new Pf(this.css,n);if(r.text){this.map=r;let s=r.consumer().file;!this.file&&s&&(this.file=this.mapResolve(s))}}this.file||(this.id="<input css "+Nf(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let n,r;if(this[Rn])r=this[Rn];else{let i=this.css.split(`
23
+ `);r=new Array(i.length);let o=0;for(let a=0,u=i.length;a<u;a++)r[a]=o,o+=i[a].length+1;this[Rn]=r}n=r[r.length-1];let s=0;if(e>=n)s=r.length-1;else{let i=r.length-2,o;for(;s<i;)if(o=s+(i-s>>1),e<r[o])i=o-1;else if(e>=r[o+1])s=o+1;else{s=o;break}}return{line:s+1,col:e-r[s]+1}}error(e,n,r,s={}){let i,o,a;if(n&&typeof n=="object"){let c=n,f=r;if(typeof c.offset=="number"){let p=this.fromOffset(c.offset);n=p.line,r=p.col}else n=c.line,r=c.column;if(typeof f.offset=="number"){let p=this.fromOffset(f.offset);o=p.line,a=p.col}else o=f.line,a=f.column}else if(!r){let c=this.fromOffset(n);n=c.line,r=c.col}let u=this.origin(n,r,o,a);return u?i=new Po(e,u.endLine===void 0?u.line:{line:u.line,column:u.column},u.endLine===void 0?u.column:{line:u.endLine,column:u.endColumn},u.source,u.file,s.plugin):i=new Po(e,o===void 0?n:{line:n,column:r},o===void 0?r:{line:o,column:a},this.css,this.file,s.plugin),i.input={line:n,column:r,endLine:o,endColumn:a,source:this.css},this.file&&(or&&(i.input.url=or(this.file).toString()),i.input.file=this.file),i}origin(e,n,r,s){if(!this.map)return!1;let i=this.map.consumer(),o=i.originalPositionFor({line:e,column:n});if(!o.source)return!1;let a;typeof r=="number"&&(a=i.originalPositionFor({line:r,column:s}));let u;qn(o.source)?u=or(o.source):u=new URL(o.source,this.map.consumer().sourceRoot||or(this.map.mapFile));let c={url:u.toString(),line:o.line,column:o.column,endLine:a&&a.line,endColumn:a&&a.column};if(u.protocol==="file:")if(No)c.file=No(u);else throw new Error("file: protocol is not available in this PostCSS build");let f=i.sourceContentFor(o.source);return f&&(c.source=f),c}mapResolve(e){return/^\w+:\/\//.test(e)?e:In(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let n of["hasBOM","css","file","id"])this[n]!=null&&(e[n]=this[n]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}};Io.exports=qe;qe.default=qe;Pn&&Pn.registerInput&&Pn.registerInput(qe)});var dt=y((Fx,qo)=>{"use strict";var If=ie(),qf=ir(),Df=De();function ar(t,e){let n=new Df(t,e),r=new qf(n);try{r.parse()}catch(s){throw s}return r.root}qo.exports=ar;ar.default=ar;If.registerParse(ar)});var Do=y(($x,Dn)=>{var Lf=rr(),Mf=De();Dn.exports={isInlineComment(t){if(t[0]==="word"&&t[1].slice(0,2)==="//"){let e=t,n=[],r,s;for(;t;){if(/\r?\n/.test(t[1])){if(/['"].*\r?\n/.test(t[1])){n.push(t[1].substring(0,t[1].indexOf(`
24
+ `))),s=t[1].substring(t[1].indexOf(`
25
+ `));let o=this.input.css.valueOf().substring(this.tokenizer.position());s+=o,r=t[3]+o.length-s.length}else this.tokenizer.back(t);break}n.push(t[1]),r=t[2],t=this.tokenizer.nextToken({ignoreUnclosed:!0})}let i=["comment",n.join(""),e[2],r];return this.inlineComment(i),s&&(this.input=new Mf(s),this.tokenizer=Lf(this.input)),!0}else if(t[1]==="/"){let e=this.tokenizer.nextToken({ignoreUnclosed:!0});if(e[0]==="comment"&&/^\/\*/.test(e[1]))return e[0]="word",e[1]=e[1].slice(1),t[1]="//",this.tokenizer.back(e),Dn.exports.isInlineComment.bind(this)(t)}return!1}}});var Mo=y((Ux,Lo)=>{Lo.exports={interpolation(t){let e=[t,this.tokenizer.nextToken()],n=["word","}"];if(e[0][1].length>1||e[1][0]!=="{")return this.tokenizer.back(e[1]),!1;for(t=this.tokenizer.nextToken();t&&n.includes(t[0]);)e.push(t),t=this.tokenizer.nextToken();let r=e.map(a=>a[1]),[s]=e,i=e.pop(),o=["word",r.join(""),s[2],i[2]];return this.tokenizer.back(t),this.tokenizer.back(o),!0}}});var Fo=y((Wx,Bo)=>{var Bf=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,Ff=/\.[0-9]/,$f=t=>{let[,e]=t,[n]=e;return(n==="."||n==="#")&&Bf.test(e)===!1&&Ff.test(e)===!1};Bo.exports={isMixinToken:$f}});var Uo=y((zx,$o)=>{var Uf=rr(),Wf=/^url\((.+)\)/;$o.exports=t=>{let{name:e,params:n=""}=t;if(e==="import"&&n.length){t.import=!0;let r=Uf({css:n});for(t.filename=n.replace(Wf,"$1");!r.endOfFile();){let[s,i]=r.nextToken();if(s==="word"&&i==="url")return;if(s==="brackets"){t.options=i,t.filename=n.replace(i,"").trim();break}}}}});var Yo=y((Vx,Vo)=>{var Wo=/:$/,zo=/^:(\s+)?/;Vo.exports=t=>{let{name:e,params:n=""}=t;if(t.name.slice(-1)===":"){if(Wo.test(e)){let[r]=e.match(Wo);t.name=e.replace(r,""),t.raws.afterName=r+(t.raws.afterName||""),t.variable=!0,t.value=t.params}if(zo.test(n)){let[r]=n.match(zo);t.value=n.replace(r,""),t.raws.afterName=(t.raws.afterName||"")+r,t.variable=!0}}}});var Ho=y((Gx,Ko)=>{var zf=Ne(),Vf=ir(),{isInlineComment:Yf}=Do(),{interpolation:Go}=Mo(),{isMixinToken:Gf}=Fo(),Kf=Uo(),Hf=Yo(),Qf=/(!\s*important)$/i;Ko.exports=class extends Vf{constructor(...e){super(...e),this.lastNode=null}atrule(e){Go.bind(this)(e)||(super.atrule(e),Kf(this.lastNode),Hf(this.lastNode))}decl(...e){super.decl(...e),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(e){e[0][1]=` ${e[0][1]}`;let n=e.findIndex(a=>a[0]==="("),r=e.reverse().find(a=>a[0]===")"),s=e.reverse().indexOf(r),o=e.splice(n,s).map(a=>a[1]).join("");for(let a of e.reverse())this.tokenizer.back(a);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=o}init(e,n,r){super.init(e,n,r),this.lastNode=e}inlineComment(e){let n=new zf,r=e[1].slice(2);if(this.init(n,e[2]),n.source.end=this.getPosition(e[3]||e[2]),n.inline=!0,n.raws.begin="//",/^\s*$/.test(r))n.text="",n.raws.left=r,n.raws.right="";else{let s=r.match(/^(\s*)([^]*[^\s])(\s*)$/);[,n.raws.left,n.text,n.raws.right]=s}}mixin(e){let[n]=e,r=n[1].slice(0,1),s=e.findIndex(c=>c[0]==="brackets"),i=e.findIndex(c=>c[0]==="("),o="";if((s<0||s>3)&&i>0){let c=e.reduce((w,v,N)=>v[0]===")"?N:w),p=e.slice(i,c+i).map(w=>w[1]).join(""),[l]=e.slice(i),g=[l[2],l[3]],[x]=e.slice(c,c+1),h=[x[2],x[3]],d=["brackets",p].concat(g,h),m=e.slice(0,i),b=e.slice(c+1);e=m,e.push(d),e=e.concat(b)}let a=[];for(let c of e)if((c[1]==="!"||a.length)&&a.push(c),c[1]==="important")break;if(a.length){let[c]=a,f=e.indexOf(c),p=a[a.length-1],l=[c[2],c[3]],g=[p[4],p[5]],h=["word",a.map(d=>d[1]).join("")].concat(l,g);e.splice(f,a.length,h)}let u=e.findIndex(c=>Qf.test(c[1]));u>0&&([,o]=e[u],e.splice(u,1));for(let c of e.reverse())this.tokenizer.back(c);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=r,o&&(this.lastNode.important=!0,this.lastNode.raws.important=o)}other(e){Yf.bind(this)(e)||super.other(e)}rule(e){let n=e[e.length-1],r=e[e.length-2];if(r[0]==="at-word"&&n[0]==="{"&&(this.tokenizer.back(n),Go.bind(this)(r))){let i=this.tokenizer.nextToken();e=e.slice(0,e.length-2).concat([i]);for(let o of e.reverse())this.tokenizer.back(o);return}super.rule(e),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(e){let[n]=e;if(e[0][1]==="each"&&e[1][0]==="("){this.each(e);return}if(Gf(n)){this.mixin(e);return}super.unknownWord(e)}}});var jo=y((Hx,Qo)=>{var jf=Kt();Qo.exports=class extends jf{atrule(e,n){if(!e.mixin&&!e.variable&&!e.function){super.atrule(e,n);return}let s=`${e.function?"":e.raws.identifier||"@"}${e.name}`,i=e.params?this.rawValue(e,"params"):"",o=e.raws.important||"";if(e.variable&&(i=e.value),typeof e.raws.afterName<"u"?s+=e.raws.afterName:i&&(s+=" "),e.nodes)this.block(e,s+i+o);else{let a=(e.raws.between||"")+o+(n?";":"");this.builder(s+i+a,e)}}comment(e){if(e.inline){let n=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder(`//${n}${e.text}${r}`,e)}else super.comment(e)}}});var Jo=y((Qx,Ln)=>{var Jf=De(),Xf=Ho(),Zf=jo();Ln.exports={parse(t,e){let n=new Jf(t,e),r=new Xf(n);return r.parse(),r.root.walk(s=>{let i=n.css.lastIndexOf(s.source.input.css);if(i===0)return;if(i+s.source.input.css.length!==n.css.length)throw new Error("Invalid state detected in postcss-less");let o=i+s.source.start.offset,a=n.fromOffset(i+s.source.start.offset);if(s.source.start={offset:o,line:a.line,column:a.col},s.source.end){let u=i+s.source.end.offset,c=n.fromOffset(i+s.source.end.offset);s.source.end={offset:u,line:c.line,column:c.col}}}),r.root},stringify(t,e){new Zf(e).stringify(t)},nodeToString(t){let e="";return Ln.exports.stringify(t,n=>{e+=n}),e}}});var Mn=y((jx,Xo)=>{Xo.exports=class{generate(){}}});var ur=y((Xx,ta)=>{"use strict";var ep=ie(),Zo,ea,ge=class extends ep{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new Zo(new ea,this,e).stringify()}};ge.registerLazyResult=t=>{Zo=t};ge.registerProcessor=t=>{ea=t};ta.exports=ge;ge.default=ge});var Bn=y((Zx,na)=>{"use strict";var ra={};na.exports=function(e){ra[e]||(ra[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}});var Fn=y((eb,sa)=>{"use strict";var mt=class{constructor(e,n={}){if(this.type="warning",this.text=e,n.node&&n.node.source){let r=n.node.rangeBy(n);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in n)this[r]=n[r]}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}};sa.exports=mt;mt.default=mt});var lr=y((tb,ia)=>{"use strict";var tp=Fn(),yt=class{constructor(e,n,r){this.processor=e,this.messages=[],this.root=n,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,n={}){n.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(n.plugin=this.lastPlugin.postcssPlugin);let r=new tp(e,n);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};ia.exports=yt;yt.default=yt});var Wn=y((nb,la)=>{"use strict";var{isClean:K,my:rp}=Yt(),np=Mn(),sp=ot(),ip=ie(),op=ur(),rb=Bn(),oa=lr(),ap=dt(),up=Re(),lp={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},cp={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},fp={postcssPlugin:!0,prepare:!0,Once:!0},Le=0;function gt(t){return typeof t=="object"&&typeof t.then=="function"}function ua(t){let e=!1,n=lp[t.type];return t.type==="decl"?e=t.prop.toLowerCase():t.type==="atrule"&&(e=t.name.toLowerCase()),e&&t.append?[n,n+"-"+e,Le,n+"Exit",n+"Exit-"+e]:e?[n,n+"-"+e,n+"Exit",n+"Exit-"+e]:t.append?[n,Le,n+"Exit"]:[n,n+"Exit"]}function aa(t){let e;return t.type==="document"?e=["Document",Le,"DocumentExit"]:t.type==="root"?e=["Root",Le,"RootExit"]:e=ua(t),{node:t,events:e,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function $n(t){return t[K]=!1,t.nodes&&t.nodes.forEach(e=>$n(e)),t}var Un={},H=class{constructor(e,n,r){this.stringified=!1,this.processed=!1;let s;if(typeof n=="object"&&n!==null&&(n.type==="root"||n.type==="document"))s=$n(n);else if(n instanceof H||n instanceof oa)s=$n(n.root),n.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=n.map);else{let i=ap;r.syntax&&(i=r.syntax.parse),r.parser&&(i=r.parser),i.parse&&(i=i.parse);try{s=i(n,r)}catch(o){this.processed=!0,this.error=o}s&&!s[rp]&&ip.rebuild(s)}this.result=new oa(e,s,r),this.helpers={...Un,result:this.result,postcss:Un},this.plugins=this.processor.plugins.map(i=>typeof i=="object"&&i.prepare?{...i,...i.prepare(this.result)}:i)}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,n){return this.async().then(e,n)}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){let n=this.runOnRoot(e);if(gt(n))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[K];)e[K]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let n of e.nodes)this.visitSync(this.listeners.OnceExit,n);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,n=sp;e.syntax&&(n=e.syntax.stringify),e.stringifier&&(n=e.stringifier),n.stringify&&(n=n.stringify);let s=new np(n,this.result.root,this.result.opts).generate();return this.result.css=s[0],this.result.map=s[1],this.result}walkSync(e){e[K]=!0;let n=ua(e);for(let r of n)if(r===Le)e.nodes&&e.each(s=>{s[K]||this.walkSync(s)});else{let s=this.listeners[r];if(s&&this.visitSync(s,e.toProxy()))return}}visitSync(e,n){for(let[r,s]of e){this.result.lastPlugin=r;let i;try{i=s(n,this.helpers)}catch(o){throw this.handleError(o,n.proxyOf)}if(n.type!=="root"&&n.type!=="document"&&!n.parent)return!0;if(gt(i))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let n=this.result.root.nodes.map(r=>e.Once(r,this.helpers));return gt(n[0])?Promise.all(n):n}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(n){throw this.handleError(n)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,n){let r=this.result.lastPlugin;try{n&&n.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin?(e.plugin=r.postcssPlugin,e.setMessage()):r.postcssVersion}catch(s){console&&console.error&&console.error(s)}return e}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let n=this.plugins[e],r=this.runOnRoot(n);if(gt(r))try{await r}catch(s){throw this.handleError(s)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[K];){e[K]=!0;let n=[aa(e)];for(;n.length>0;){let r=this.visitTick(n);if(gt(r))try{await r}catch(s){let i=n[n.length-1].node;throw this.handleError(s,i)}}}if(this.listeners.OnceExit)for(let[n,r]of this.listeners.OnceExit){this.result.lastPlugin=n;try{if(e.type==="document"){let s=e.nodes.map(i=>r(i,this.helpers));await Promise.all(s)}else await r(e,this.helpers)}catch(s){throw this.handleError(s)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(n,r,s)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([n,s])};for(let n of this.plugins)if(typeof n=="object")for(let r in n){if(!cp[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${n.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!fp[r])if(typeof n[r]=="object")for(let s in n[r])s==="*"?e(n,r,n[r][s]):e(n,r+"-"+s.toLowerCase(),n[r][s]);else typeof n[r]=="function"&&e(n,r,n[r])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let n=e[e.length-1],{node:r,visitors:s}=n;if(r.type!=="root"&&r.type!=="document"&&!r.parent){e.pop();return}if(s.length>0&&n.visitorIndex<s.length){let[o,a]=s[n.visitorIndex];n.visitorIndex+=1,n.visitorIndex===s.length&&(n.visitors=[],n.visitorIndex=0),this.result.lastPlugin=o;try{return a(r.toProxy(),this.helpers)}catch(u){throw this.handleError(u,r)}}if(n.iterator!==0){let o=n.iterator,a;for(;a=r.nodes[r.indexes[o]];)if(r.indexes[o]+=1,!a[K]){a[K]=!0,e.push(aa(a));return}n.iterator=0,delete r.indexes[o]}let i=n.events;for(;n.eventIndex<i.length;){let o=i[n.eventIndex];if(n.eventIndex+=1,o===Le){r.nodes&&r.nodes.length&&(r[K]=!0,n.iterator=r.getIterator());return}else if(this.listeners[o]){n.visitors=this.listeners[o];return}}e.pop()}};H.registerPostcss=t=>{Un=t};la.exports=H;H.default=H;up.registerLazyResult(H);op.registerLazyResult(H)});var fa=y((ib,ca)=>{"use strict";var pp=Mn(),hp=ot(),sb=Bn(),dp=dt(),mp=lr(),wt=class{constructor(e,n,r){n=n.toString(),this.stringified=!1,this._processor=e,this._css=n,this._opts=r,this._map=void 0;let s,i=hp;this.result=new mp(this._processor,s,this._opts),this.result.css=n;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let a=new pp(i,s,this._opts,n);if(a.isMap()){let[u,c]=a.generate();u&&(this.result.css=u),c&&(this.result.map=c)}}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,n=dp;try{e=n(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,n){return this.async().then(e,n)}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}};ca.exports=wt;wt.default=wt});var ha=y((ob,pa)=>{"use strict";var yp=fa(),gp=Wn(),wp=ur(),vp=Re(),we=class{constructor(e=[]){this.version="8.4.23",this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,n={}){return this.plugins.length===0&&typeof n.parser>"u"&&typeof n.stringifier>"u"&&typeof n.syntax>"u"?new yp(this,e,n):new gp(this,e,n)}normalize(e){let n=[];for(let r of e)if(r.postcss===!0?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))n=n.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)n.push(r);else if(typeof r=="function")n.push(r);else if(!(typeof r=="object"&&(r.parse||r.stringify)))throw new Error(r+" is not a PostCSS plugin");return n}};pa.exports=we;we.default=we;vp.registerProcessor(we);wp.registerProcessor(we)});var ma=y((ab,da)=>{"use strict";var xp=ct(),bp=Nn(),kp=Ne(),_p=nr(),Tp=De(),Ep=Re(),Sp=sr();function vt(t,e){if(Array.isArray(t))return t.map(s=>vt(s));let{inputs:n,...r}=t;if(n){e=[];for(let s of n){let i={...s,__proto__:Tp.prototype};i.map&&(i.map={...i.map,__proto__:bp.prototype}),e.push(i)}}if(r.nodes&&(r.nodes=t.nodes.map(s=>vt(s,e))),r.source){let{inputId:s,...i}=r.source;r.source=i,s!=null&&(r.source.input=e[s])}if(r.type==="root")return new Ep(r);if(r.type==="decl")return new xp(r);if(r.type==="rule")return new Sp(r);if(r.type==="comment")return new kp(r);if(r.type==="atrule")return new _p(r);throw new Error("Unknown node type: "+t.type)}da.exports=vt;vt.default=vt});var cr=y((ub,ka)=>{"use strict";var Cp=Gt(),ya=ct(),Op=Wn(),Ap=ie(),zn=ha(),Np=ot(),Pp=ma(),ga=ur(),Rp=Fn(),wa=Ne(),va=nr(),Ip=lr(),qp=De(),Dp=dt(),Lp=On(),xa=sr(),ba=Re(),Mp=ut();function k(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new zn(t)}k.plugin=function(e,n){let r=!1;function s(...o){console&&console.warn&&!r&&(r=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
26
+ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));let a=n(...o);return a.postcssPlugin=e,a.postcssVersion=new zn().version,a}let i;return Object.defineProperty(s,"postcss",{get(){return i||(i=s()),i}}),s.process=function(o,a,u){return k([s(u)]).process(o,a)},s};k.stringify=Np;k.parse=Dp;k.fromJSON=Pp;k.list=Lp;k.comment=t=>new wa(t);k.atRule=t=>new va(t);k.decl=t=>new ya(t);k.rule=t=>new xa(t);k.root=t=>new ba(t);k.document=t=>new ga(t);k.CssSyntaxError=Cp;k.Declaration=ya;k.Container=Ap;k.Processor=zn;k.Document=ga;k.Comment=wa;k.Warning=Rp;k.AtRule=va;k.Result=Ip;k.Input=qp;k.Rule=xa;k.Root=ba;k.Node=Mp;Op.registerPostcss(k);ka.exports=k;k.default=k});var Ta=y((lb,_a)=>{var{Container:Bp}=cr(),Vn=class extends Bp{constructor(e){super(e),this.type="decl",this.isNested=!0,this.nodes||(this.nodes=[])}};_a.exports=Vn});var Na=y((cb,Aa)=>{"use strict";var Yn="'".charCodeAt(0),Gn='"'.charCodeAt(0),xt="\\".charCodeAt(0),fr="/".charCodeAt(0),Kn=`
27
+ `.charCodeAt(0),pr=" ".charCodeAt(0),Hn="\f".charCodeAt(0),Qn=" ".charCodeAt(0),jn="\r".charCodeAt(0),Fp="[".charCodeAt(0),$p="]".charCodeAt(0),Ea="(".charCodeAt(0),Sa=")".charCodeAt(0),hr="{".charCodeAt(0),Ca="}".charCodeAt(0),Up=";".charCodeAt(0),Wp="*".charCodeAt(0),zp=":".charCodeAt(0),Vp="@".charCodeAt(0),Yp=",".charCodeAt(0),Jn="#".charCodeAt(0),dr=/[\t\n\f\r "#'()/;[\\\]{}]/g,mr=/[,\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Gp=/.[\n"'(/\\]/,Oa=/[\da-f]/i,yr=/[\n\f\r]/g;Aa.exports=function(e,n={}){let r=e.css.valueOf(),s=n.ignoreErrors,i,o,a,u,c,f,p,l,g,x=r.length,h=0,d=[],m=[],b;function w(){return h}function v(S){throw e.error("Unclosed "+S,h)}function N(){return m.length===0&&h>=x}function U(){let S=1,C=!1,O=!1;for(;S>0;)o+=1,r.length<=o&&v("interpolation"),i=r.charCodeAt(o),l=r.charCodeAt(o+1),C?!O&&i===C?(C=!1,O=!1):i===xt?O=!O:O&&(O=!1):i===Yn||i===Gn?C=i:i===Ca?S-=1:i===Jn&&l===hr&&(S+=1)}function Q(S){if(m.length)return m.pop();if(h>=x)return;let C=S?S.ignoreUnclosed:!1;switch(i=r.charCodeAt(h),i){case Kn:case pr:case Qn:case jn:case Hn:{o=h;do o+=1,i=r.charCodeAt(o);while(i===pr||i===Kn||i===Qn||i===jn||i===Hn);g=["space",r.slice(h,o)],h=o-1;break}case Fp:case $p:case hr:case Ca:case zp:case Up:case Sa:{let O=String.fromCharCode(i);g=[O,O,h];break}case Yp:{g=["word",",",h,h+1];break}case Ea:{if(p=d.length?d.pop()[1]:"",l=r.charCodeAt(h+1),p==="url"&&l!==Yn&&l!==Gn){for(b=1,f=!1,o=h+1;o<=r.length-1;){if(l=r.charCodeAt(o),l===xt)f=!f;else if(l===Ea)b+=1;else if(l===Sa&&(b-=1,b===0))break;o+=1}u=r.slice(h,o+1),g=["brackets",u,h,o],h=o}else o=r.indexOf(")",h+1),u=r.slice(h,o+1),o===-1||Gp.test(u)?g=["(","(",h]:(g=["brackets",u,h,o],h=o);break}case Yn:case Gn:{for(a=i,o=h,f=!1;o<x&&(o++,o===x&&v("string"),i=r.charCodeAt(o),l=r.charCodeAt(o+1),!(!f&&i===a));)i===xt?f=!f:f?f=!1:i===Jn&&l===hr&&U();g=["string",r.slice(h,o+1),h,o],h=o;break}case Vp:{dr.lastIndex=h+1,dr.test(r),dr.lastIndex===0?o=r.length-1:o=dr.lastIndex-2,g=["at-word",r.slice(h,o+1),h,o],h=o;break}case xt:{for(o=h,c=!0;r.charCodeAt(o+1)===xt;)o+=1,c=!c;if(i=r.charCodeAt(o+1),c&&i!==fr&&i!==pr&&i!==Kn&&i!==Qn&&i!==jn&&i!==Hn&&(o+=1,Oa.test(r.charAt(o)))){for(;Oa.test(r.charAt(o+1));)o+=1;r.charCodeAt(o+1)===pr&&(o+=1)}g=["word",r.slice(h,o+1),h,o],h=o;break}default:l=r.charCodeAt(h+1),i===Jn&&l===hr?(o=h,U(),u=r.slice(h,o+1),g=["word",u,h,o],h=o):i===fr&&l===Wp?(o=r.indexOf("*/",h+2)+1,o===0&&(s||C?o=r.length:v("comment")),g=["comment",r.slice(h,o+1),h,o],h=o):i===fr&&l===fr?(yr.lastIndex=h+1,yr.test(r),yr.lastIndex===0?o=r.length-1:o=yr.lastIndex-2,u=r.slice(h,o+1),g=["comment",u,h,o,"inline"],h=o):(mr.lastIndex=h+1,mr.test(r),mr.lastIndex===0?o=r.length-1:o=mr.lastIndex-2,g=["word",r.slice(h,o+1),h,o],d.push(g),h=o);break}return h++,g}function W(S){m.push(S)}return{back:W,nextToken:Q,endOfFile:N,position:w}}});var Ra=y((fb,Pa)=>{var{Comment:Kp}=cr(),Hp=ir(),Qp=Ta(),jp=Na(),Xn=class extends Hp{createTokenizer(){this.tokenizer=jp(this.input)}rule(e){let n=!1,r=0,s="";for(let i of e)if(n)i[0]!=="comment"&&i[0]!=="{"&&(s+=i[1]);else{if(i[0]==="space"&&i[1].includes(`
28
+ `))break;i[0]==="("?r+=1:i[0]===")"?r-=1:r===0&&i[0]===":"&&(n=!0)}if(!n||s.trim()===""||/^[#:A-Za-z-]/.test(s))super.rule(e);else{e.pop();let i=new Qp;this.init(i,e[0][2]);let o;for(let u=e.length-1;u>=0;u--)if(e[u][0]!=="space"){o=e[u];break}if(o[3]){let u=this.input.fromOffset(o[3]);i.source.end={offset:o[3],line:u.line,column:u.col}}else{let u=this.input.fromOffset(o[2]);i.source.end={offset:o[2],line:u.line,column:u.col}}for(;e[0][0]!=="word";)i.raws.before+=e.shift()[1];if(e[0][2]){let u=this.input.fromOffset(e[0][2]);i.source.start={offset:e[0][2],line:u.line,column:u.col}}for(i.prop="";e.length;){let u=e[0][0];if(u===":"||u==="space"||u==="comment")break;i.prop+=e.shift()[1]}i.raws.between="";let a;for(;e.length;)if(a=e.shift(),a[0]===":"){i.raws.between+=a[1];break}else i.raws.between+=a[1];(i.prop[0]==="_"||i.prop[0]==="*")&&(i.raws.before+=i.prop[0],i.prop=i.prop.slice(1)),i.raws.between+=this.spacesAndCommentsFromStart(e),this.precheckMissedSemicolon(e);for(let u=e.length-1;u>0;u--){if(a=e[u],a[1]==="!important"){i.important=!0;let c=this.stringFrom(e,u);c=this.spacesFromEnd(e)+c,c!==" !important"&&(i.raws.important=c);break}else if(a[1]==="important"){let c=e.slice(0),f="";for(let p=u;p>0;p--){let l=c[p][0];if(f.trim().indexOf("!")===0&&l!=="space")break;f=c.pop()[1]+f}f.trim().indexOf("!")===0&&(i.important=!0,i.raws.important=f,e=c)}if(a[0]!=="space"&&a[0]!=="comment")break}this.raw(i,"value",e),i.value.includes(":")&&this.checkMissedSemicolon(e),this.current=i}}comment(e){if(e[4]==="inline"){let n=new Kp;this.init(n,e[2]),n.raws.inline=!0;let r=this.input.fromOffset(e[3]);n.source.end={offset:e[3],line:r.line,column:r.col};let s=e[1].slice(2);if(/^\s*$/.test(s))n.text="",n.raws.left=s,n.raws.right="";else{let i=s.match(/^(\s*)([^]*\S)(\s*)$/),o=i[2].replace(/(\*\/|\/\*)/g,"*//*");n.text=o,n.raws.left=i[1],n.raws.right=i[3],n.raws.text=i[2]}}else super.comment(e)}atrule(e){let n=e[1],r=e;for(;!this.tokenizer.endOfFile();){let s=this.tokenizer.nextToken();if(s[0]==="word"&&s[2]===r[3]+1)n+=s[1],r=s;else{this.tokenizer.back(s);break}}super.atrule(["at-word",n,e[2],r[3]])}raw(e,n,r,s){if(super.raw(e,n,r,s),e.raws[n]){let i=e.raws[n].raw;e.raws[n].raw=r.reduce((o,a)=>{if(a[0]==="comment"&&a[4]==="inline"){let u=a[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return o+"/*"+u+"*/"}else return o+a[1]},""),i!==e.raws[n].raw&&(e.raws[n].scss=i)}}};Pa.exports=Xn});var qa=y((pb,Ia)=>{var{Input:Jp}=cr(),Xp=Ra();Ia.exports=function(e,n){let r=new Jp(e,n),s=new Xp(r);return s.parse(),s.root}});var V=y((gb,Ba)=>{"use strict";var Zn=function(t,e){let n=new t.constructor;for(let r in t){if(!t.hasOwnProperty(r))continue;let s=t[r],i=typeof s;r==="parent"&&i==="object"?e&&(n[r]=e):r==="source"?n[r]=s:s instanceof Array?n[r]=s.map(o=>Zn(o,n)):r!=="before"&&r!=="after"&&r!=="between"&&r!=="semicolon"&&(i==="object"&&s!==null&&(s=Zn(s)),n[r]=s)}return n};Ba.exports=class{constructor(e){e=e||{},this.raws={before:"",after:""};for(let n in e)this[n]=e[n]}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(){return[this.raws.before,String(this.value),this.raws.after].join("")}clone(e){e=e||{};let n=Zn(this);for(let r in e)n[r]=e[r];return n}cloneBefore(e){e=e||{};let n=this.clone(e);return this.parent.insertBefore(this,n),n}cloneAfter(e){e=e||{};let n=this.clone(e);return this.parent.insertAfter(this,n),n}replaceWith(){let e=Array.prototype.slice.call(arguments);if(this.parent){for(let n of e)this.parent.insertBefore(this,n);this.remove()}return this}moveTo(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.append(this),this}moveBefore(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertBefore(e,this),this}moveAfter(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertAfter(e,this),this}next(){let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){let e=this.parent.index(this);return this.parent.nodes[e-1]}toJSON(){let e={};for(let n in this){if(!this.hasOwnProperty(n)||n==="parent")continue;let r=this[n];r instanceof Array?e[n]=r.map(s=>typeof s=="object"&&s.toJSON?s.toJSON():s):typeof r=="object"&&r.toJSON?e[n]=r.toJSON():e[n]=r}return e}root(){let e=this;for(;e.parent;)e=e.parent;return e}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}positionInside(e){let n=this.toString(),r=this.source.start.column,s=this.source.start.line;for(let i=0;i<e;i++)n[i]===`
29
+ `?(r=1,s+=1):r+=1;return{line:s,column:r}}positionBy(e){let n=this.source.start;if(Object(e).index)n=this.positionInside(e.index);else if(Object(e).word){let r=this.toString().indexOf(e.word);r!==-1&&(n=this.positionInside(r))}return n}}});var B=y((wb,Fa)=>{"use strict";var nh=V(),Me=class extends nh{constructor(e){super(e),this.nodes||(this.nodes=[])}push(e){return e.parent=this,this.nodes.push(e),this}each(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let n=this.lastEach,r,s;if(this.indexes[n]=0,!!this.nodes){for(;this.indexes[n]<this.nodes.length&&(r=this.indexes[n],s=e(this.nodes[r],r),s!==!1);)this.indexes[n]+=1;return delete this.indexes[n],s}}walk(e){return this.each((n,r)=>{let s=e(n,r);return s!==!1&&n.walk&&(s=n.walk(e)),s})}walkType(e,n){if(!e||!n)throw new Error("Parameters {type} and {callback} are required.");let r=typeof e=="function";return this.walk((s,i)=>{if(r&&s instanceof e||!r&&s.type===e)return n.call(this,s,i)})}append(e){return e.parent=this,this.nodes.push(e),this}prepend(e){return e.parent=this,this.nodes.unshift(e),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let n of this.nodes)n.cleanRaws(e)}insertAfter(e,n){let r=this.index(e),s;this.nodes.splice(r+1,0,n);for(let i in this.indexes)s=this.indexes[i],r<=s&&(this.indexes[i]=s+this.nodes.length);return this}insertBefore(e,n){let r=this.index(e),s;this.nodes.splice(r,0,n);for(let i in this.indexes)s=this.indexes[i],r<=s&&(this.indexes[i]=s+this.nodes.length);return this}removeChild(e){e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1);let n;for(let r in this.indexes)n=this.indexes[r],n>=e&&(this.indexes[r]=n-1);return this}removeAll(){for(let e of this.nodes)e.parent=void 0;return this.nodes=[],this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return typeof e=="number"?e:this.nodes.indexOf(e)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let e=this.nodes.map(String).join("");return this.value&&(e=this.value+e),this.raws.before&&(e=this.raws.before+e),this.raws.after&&(e+=this.raws.after),e}};Me.registerWalker=t=>{let e="walk"+t.name;e.lastIndexOf("s")!==e.length-1&&(e+="s"),!Me.prototype[e]&&(Me.prototype[e]=function(n){return this.walkType(t,n)})};Fa.exports=Me});var Ua=y((xb,$a)=>{"use strict";var sh=B();$a.exports=class extends sh{constructor(e){super(e),this.type="root"}}});var za=y((kb,Wa)=>{"use strict";var ih=B();Wa.exports=class extends ih{constructor(e){super(e),this.type="value",this.unbalanced=0}}});var Ga=y((_b,Ya)=>{"use strict";var Va=B(),gr=class extends Va{constructor(e){super(e),this.type="atword"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};Va.registerWalker(gr);Ya.exports=gr});var Ha=y((Tb,Ka)=>{"use strict";var oh=B(),ah=V(),wr=class extends ah{constructor(e){super(e),this.type="colon"}};oh.registerWalker(wr);Ka.exports=wr});var ja=y((Eb,Qa)=>{"use strict";var uh=B(),lh=V(),vr=class extends lh{constructor(e){super(e),this.type="comma"}};uh.registerWalker(vr);Qa.exports=vr});var Xa=y((Sb,Ja)=>{"use strict";var ch=B(),fh=V(),xr=class extends fh{constructor(e){super(e),this.type="comment",this.inline=Object(e).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};ch.registerWalker(xr);Ja.exports=xr});var tu=y((Cb,eu)=>{"use strict";var Za=B(),br=class extends Za{constructor(e){super(e),this.type="func",this.unbalanced=-1}};Za.registerWalker(br);eu.exports=br});var nu=y((Ob,ru)=>{"use strict";var ph=B(),hh=V(),kr=class extends hh{constructor(e){super(e),this.type="number",this.unit=Object(e).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}};ph.registerWalker(kr);ru.exports=kr});var iu=y((Ab,su)=>{"use strict";var dh=B(),mh=V(),_r=class extends mh{constructor(e){super(e),this.type="operator"}};dh.registerWalker(_r);su.exports=_r});var au=y((Nb,ou)=>{"use strict";var yh=B(),gh=V(),Tr=class extends gh{constructor(e){super(e),this.type="paren",this.parenType=""}};yh.registerWalker(Tr);ou.exports=Tr});var lu=y((Pb,uu)=>{"use strict";var wh=B(),vh=V(),Er=class extends vh{constructor(e){super(e),this.type="string"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,e,this.value+"",e,this.raws.after].join("")}};wh.registerWalker(Er);uu.exports=Er});var fu=y((Rb,cu)=>{"use strict";var xh=B(),bh=V(),Sr=class extends bh{constructor(e){super(e),this.type="word"}};xh.registerWalker(Sr);cu.exports=Sr});var hu=y((Ib,pu)=>{"use strict";var kh=B(),_h=V(),Cr=class extends _h{constructor(e){super(e),this.type="unicode-range"}};kh.registerWalker(Cr);pu.exports=Cr});var mu=y((qb,du)=>{"use strict";var es=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};du.exports=es});var ku=y((Db,bu)=>{"use strict";var Th="{".charCodeAt(0),Eh="}".charCodeAt(0),Sh="(".charCodeAt(0),Ch=")".charCodeAt(0),yu="'".charCodeAt(0),Oh='"'.charCodeAt(0),gu="\\".charCodeAt(0),Or="/".charCodeAt(0),Ah=".".charCodeAt(0),Nh=",".charCodeAt(0),Ph=":".charCodeAt(0),ts="*".charCodeAt(0),Ar="-".charCodeAt(0),rs="+".charCodeAt(0),Rh="#".charCodeAt(0),bt=`
30
+ `.charCodeAt(0),ns=" ".charCodeAt(0),ss="\f".charCodeAt(0),is=" ".charCodeAt(0),os="\r".charCodeAt(0),Ih="@".charCodeAt(0),qh="e".charCodeAt(0),Dh="E".charCodeAt(0),wu="0".charCodeAt(0),vu="9".charCodeAt(0),Lh="u".charCodeAt(0),Mh="U".charCodeAt(0),Nr=/[ \n\t\r\{\(\)'"\\;,/]/g,Bh=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,Be=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,Fh=/^[a-z0-9]/i,$h=/^[a-f0-9?\-]/i,xu=mu();bu.exports=function(e,n){n=n||{};let r=[],s=e.valueOf(),i=s.length,o=-1,a=1,u=0,c=0,f=null,p,l,g,x,h,d,m,b,w,v,N,U;function Q(S){let C=`Unclosed ${S} at line: ${a}, column: ${u-o}, token: ${u}`;throw new xu(C)}function W(){let S=`Syntax error at line: ${a}, column: ${u-o}, token: ${u}`;throw new xu(S)}for(;u<i;){switch(p=s.charCodeAt(u),p===bt&&(o=u,a+=1),p){case bt:case ns:case is:case os:case ss:l=u;do l+=1,p=s.charCodeAt(l),p===bt&&(o=l,a+=1);while(p===ns||p===bt||p===is||p===os||p===ss);r.push(["space",s.slice(u,l),a,u-o,a,l-o,u]),u=l-1;break;case Ph:l=u+1,r.push(["colon",s.slice(u,l),a,u-o,a,l-o,u]),u=l-1;break;case Nh:l=u+1,r.push(["comma",s.slice(u,l),a,u-o,a,l-o,u]),u=l-1;break;case Th:r.push(["{","{",a,u-o,a,l-o,u]);break;case Eh:r.push(["}","}",a,u-o,a,l-o,u]);break;case Sh:c++,f=!f&&c===1&&r.length>0&&r[r.length-1][0]==="word"&&r[r.length-1][1]==="url",r.push(["(","(",a,u-o,a,l-o,u]);break;case Ch:c--,f=f&&c>0,r.push([")",")",a,u-o,a,l-o,u]);break;case yu:case Oh:g=p===yu?"'":'"',l=u;do for(v=!1,l=s.indexOf(g,l+1),l===-1&&Q("quote",g),N=l;s.charCodeAt(N-1)===gu;)N-=1,v=!v;while(v);r.push(["string",s.slice(u,l+1),a,u-o,a,l-o,u]),u=l;break;case Ih:Nr.lastIndex=u+1,Nr.test(s),Nr.lastIndex===0?l=s.length-1:l=Nr.lastIndex-2,r.push(["atword",s.slice(u,l+1),a,u-o,a,l-o,u]),u=l;break;case gu:l=u,p=s.charCodeAt(l+1),m&&p!==Or&&p!==ns&&p!==bt&&p!==is&&p!==os&&p!==ss&&(l+=1),r.push(["word",s.slice(u,l+1),a,u-o,a,l-o,u]),u=l;break;case rs:case Ar:case ts:l=u+1,U=s.slice(u+1,l+1);let S=s.slice(u-1,u);if(p===Ar&&U.charCodeAt(0)===Ar){l++,r.push(["word",s.slice(u,l),a,u-o,a,l-o,u]),u=l-1;break}r.push(["operator",s.slice(u,l),a,u-o,a,l-o,u]),u=l-1;break;default:if(p===Or&&(s.charCodeAt(u+1)===ts||n.loose&&!f&&s.charCodeAt(u+1)===Or)){if(s.charCodeAt(u+1)===ts)l=s.indexOf("*/",u+2)+1,l===0&&Q("comment","*/");else{let O=s.indexOf(`
31
+ `,u+2);l=O!==-1?O-1:i}d=s.slice(u,l+1),x=d.split(`
32
+ `),h=x.length-1,h>0?(b=a+h,w=l-x[h].length):(b=a,w=o),r.push(["comment",d,a,u-o,b,l-w,u]),o=w,a=b,u=l}else if(p===Rh&&!Fh.test(s.slice(u+1,u+2)))l=u+1,r.push(["#",s.slice(u,l),a,u-o,a,l-o,u]),u=l-1;else if((p===Lh||p===Mh)&&s.charCodeAt(u+1)===rs){l=u+2;do l+=1,p=s.charCodeAt(l);while(l<i&&$h.test(s.slice(l,l+1)));r.push(["unicoderange",s.slice(u,l),a,u-o,a,l-o,u]),u=l-1}else if(p===Or)l=u+1,r.push(["operator",s.slice(u,l),a,u-o,a,l-o,u]),u=l-1;else{let C=Bh;if(p>=wu&&p<=vu&&(C=Be),C.lastIndex=u+1,C.test(s),C.lastIndex===0?l=s.length-1:l=C.lastIndex-2,C===Be||p===Ah){let O=s.charCodeAt(l),xe=s.charCodeAt(l+1),Ns=s.charCodeAt(l+2);(O===qh||O===Dh)&&(xe===Ar||xe===rs)&&Ns>=wu&&Ns<=vu&&(Be.lastIndex=l+2,Be.test(s),Be.lastIndex===0?l=s.length-1:l=Be.lastIndex-2)}r.push(["word",s.slice(u,l+1),a,u-o,a,l-o,u]),u=l}break}u++}return r}});var as=y((Lb,_u)=>{_u.exports=function(e,n){if(n=typeof n=="number"?n:1/0,!n)return Array.isArray(e)?e.map(function(s){return s}):e;return r(e,1);function r(s,i){return s.reduce(function(o,a){return Array.isArray(a)&&i<n?o.concat(r(a,i+1)):o.concat(a)},[])}}});var us=y((Mb,Tu)=>{Tu.exports=function(t,e){for(var n=-1,r=[];(n=t.indexOf(e,n+1))!==-1;)r.push(n);return r}});var ls=y((Bb,Eu)=>{"use strict";function Uh(t,e){for(var n=1,r=t.length,s=t[0],i=t[0],o=1;o<r;++o)if(i=s,s=t[o],e(s,i)){if(o===n){n++;continue}t[n++]=s}return t.length=n,t}function Wh(t){for(var e=1,n=t.length,r=t[0],s=t[0],i=1;i<n;++i,s=r)if(s=r,r=t[i],r!==s){if(i===e){e++;continue}t[e++]=r}return t.length=e,t}function zh(t,e,n){return t.length===0?t:e?(n||t.sort(e),Uh(t,e)):(n||t.sort(),Wh(t))}Eu.exports=zh});var Cu=y((Fb,Su)=>{"use strict";var cs=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};Su.exports=cs});var Pu=y((Ub,Nu)=>{"use strict";var Vh=Ua(),Yh=za(),Gh=Ga(),Kh=Ha(),Hh=ja(),Qh=Xa(),jh=tu(),Jh=nu(),Xh=iu(),Ou=au(),Zh=lu(),Au=fu(),ed=hu(),td=ku(),rd=as(),nd=us(),sd=ls(),id=Cu();function od(t){return t.sort((e,n)=>e-n)}Nu.exports=class{constructor(e,n){let r={loose:!1};this.cache=[],this.input=e,this.options=Object.assign({},r,n),this.position=0,this.unbalanced=0,this.root=new Vh;let s=new Yh;this.root.append(s),this.current=s,this.tokens=td(e,this.options)}parse(){return this.loop()}colon(){let e=this.currToken;this.newNode(new Kh({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comma(){let e=this.currToken;this.newNode(new Hh({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comment(){let e=!1,n=this.currToken[1].replace(/\/\*|\*\//g,""),r;this.options.loose&&n.startsWith("//")&&(n=n.substring(2),e=!0),r=new Qh({value:n,inline:e,source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]}),this.newNode(r),this.position++}error(e,n){throw new id(e+` at line: ${n[2]}, column ${n[3]}`)}loop(){for(;this.position<this.tokens.length;)this.parseTokens();return!this.current.last&&this.spaces?this.current.raws.before+=this.spaces:this.spaces&&(this.current.last.raws.after+=this.spaces),this.spaces="",this.root}operator(){let e=this.currToken[1],n;if(e==="+"||e==="-"){if(this.options.loose||this.position>0&&(this.current.type==="func"&&this.current.value==="calc"?this.prevToken[0]!=="space"&&this.prevToken[0]!=="("?this.error("Syntax Error",this.currToken):this.nextToken[0]!=="space"&&this.nextToken[0]!=="word"?this.error("Syntax Error",this.currToken):this.nextToken[0]==="word"&&this.current.last.type!=="operator"&&this.current.last.value!=="("&&this.error("Syntax Error",this.currToken):(this.nextToken[0]==="space"||this.nextToken[0]==="operator"||this.prevToken[0]==="operator")&&this.error("Syntax Error",this.currToken)),this.options.loose){if((!this.current.nodes.length||this.current.last&&this.current.last.type==="operator")&&this.nextToken[0]==="word")return this.word()}else if(this.nextToken[0]==="word")return this.word()}return n=new Xh({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),this.position++,this.newNode(n)}parseTokens(){switch(this.currToken[0]){case"space":this.space();break;case"colon":this.colon();break;case"comma":this.comma();break;case"comment":this.comment();break;case"(":this.parenOpen();break;case")":this.parenClose();break;case"atword":case"word":this.word();break;case"operator":this.operator();break;case"string":this.string();break;case"unicoderange":this.unicodeRange();break;default:this.word();break}}parenOpen(){let e=1,n=this.position+1,r=this.currToken,s;for(;n<this.tokens.length&&e;){let i=this.tokens[n];i[0]==="("&&e++,i[0]===")"&&e--,n++}if(e&&this.error("Expected closing parenthesis",r),s=this.current.last,s&&s.type==="func"&&s.unbalanced<0&&(s.unbalanced=0,this.current=s),this.current.unbalanced++,this.newNode(new Ou({value:r[1],source:{start:{line:r[2],column:r[3]},end:{line:r[4],column:r[5]}},sourceIndex:r[6]})),this.position++,this.current.type==="func"&&this.current.unbalanced&&this.current.value==="url"&&this.currToken[0]!=="string"&&this.currToken[0]!==")"&&!this.options.loose){let i=this.nextToken,o=this.currToken[1],a={line:this.currToken[2],column:this.currToken[3]};for(;i&&i[0]!==")"&&this.current.unbalanced;)this.position++,o+=this.currToken[1],i=this.nextToken;this.position!==this.tokens.length-1&&(this.position++,this.newNode(new Au({value:o,source:{start:a,end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]})))}}parenClose(){let e=this.currToken;this.newNode(new Ou({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++,!(this.position>=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",e),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let e=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=e[1],this.position++):(this.spaces=e[1],this.position++)}unicodeRange(){let e=this.currToken;this.newNode(new ed({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}splitWord(){let e=this.nextToken,n=this.currToken[1],r=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,s=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,i,o;if(!s.test(n))for(;e&&e[0]==="word";){this.position++;let a=this.currToken[1];n+=a,e=this.nextToken}i=nd(n,"@"),o=od(sd(rd([[0],i]))),o.forEach((a,u)=>{let c=o[u+1]||n.length,f=n.slice(a,c),p;if(~i.indexOf(a))p=new Gh({value:f.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+a},end:{line:this.currToken[4],column:this.currToken[3]+(c-1)}},sourceIndex:this.currToken[6]+o[u]});else if(r.test(this.currToken[1])){let l=f.replace(r,"");p=new Jh({value:f.replace(l,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+a},end:{line:this.currToken[4],column:this.currToken[3]+(c-1)}},sourceIndex:this.currToken[6]+o[u],unit:l})}else p=new(e&&e[0]==="("?jh:Au)({value:f,source:{start:{line:this.currToken[2],column:this.currToken[3]+a},end:{line:this.currToken[4],column:this.currToken[3]+(c-1)}},sourceIndex:this.currToken[6]+o[u]}),p.type==="word"?(p.isHex=/^#(.+)/.test(f),p.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(f)):this.cache.push(this.current);this.newNode(p)}),this.position++}string(){let e=this.currToken,n=this.currToken[1],r=/^(\"|\')/,s=r.test(n),i="",o;s&&(i=n.match(r)[0],n=n.slice(1,n.length-1)),o=new Zh({value:n,source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6],quoted:s}),o.raws.quote=i,this.newNode(o),this.position++}word(){return this.splitWord()}newNode(e){return this.spaces&&(e.raws.before+=this.spaces,this.spaces=""),this.current.append(e)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}});var ve=y((Rr,Mu)=>{"use strict";Rr.__esModule=!0;var Lu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function pd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var hd=function t(e,n){if((typeof e>"u"?"undefined":Lu(e))!=="object")return e;var r=new e.constructor;for(var s in e)if(e.hasOwnProperty(s)){var i=e[s],o=typeof i>"u"?"undefined":Lu(i);s==="parent"&&o==="object"?n&&(r[s]=n):i instanceof Array?r[s]=i.map(function(a){return t(a,r)}):r[s]=t(i,r)}return r},dd=function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};pd(this,t);for(var n in e)this[n]=e[n];var r=e.spaces;r=r===void 0?{}:r;var s=r.before,i=s===void 0?"":s,o=r.after,a=o===void 0?"":o;this.spaces={before:i,after:a}}return t.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.prototype.replaceWith=function(){if(this.parent){for(var n in arguments)this.parent.insertBefore(this,arguments[n]);this.remove()}return this},t.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},t.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},t.prototype.clone=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=hd(this);for(var s in n)r[s]=n[s];return r},t.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},t}();Rr.default=dd;Mu.exports=Rr.default});var L=y(F=>{"use strict";F.__esModule=!0;var Qb=F.TAG="tag",jb=F.STRING="string",Jb=F.SELECTOR="selector",Xb=F.ROOT="root",Zb=F.PSEUDO="pseudo",ek=F.NESTING="nesting",tk=F.ID="id",rk=F.COMMENT="comment",nk=F.COMBINATOR="combinator",sk=F.CLASS="class",ik=F.ATTRIBUTE="attribute",ok=F.UNIVERSAL="universal"});var qr=y((Ir,Bu)=>{"use strict";Ir.__esModule=!0;var md=function(){function t(e,n){for(var r=0;r<n.length;r++){var s=n[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),yd=ve(),gd=xd(yd),wd=L(),X=vd(wd);function vd(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function xd(t){return t&&t.__esModule?t:{default:t}}function bd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kd(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function _d(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Td=function(t){_d(e,t);function e(n){bd(this,e);var r=kd(this,t.call(this,n));return r.nodes||(r.nodes=[]),r}return e.prototype.append=function(r){return r.parent=this,this.nodes.push(r),this},e.prototype.prepend=function(r){return r.parent=this,this.nodes.unshift(r),this},e.prototype.at=function(r){return this.nodes[r]},e.prototype.index=function(r){return typeof r=="number"?r:this.nodes.indexOf(r)},e.prototype.removeChild=function(r){r=this.index(r),this.at(r).parent=void 0,this.nodes.splice(r,1);var s=void 0;for(var i in this.indexes)s=this.indexes[i],s>=r&&(this.indexes[i]=s-1);return this},e.prototype.removeAll=function(){for(var i=this.nodes,r=Array.isArray(i),s=0,i=r?i:i[Symbol.iterator]();;){var o;if(r){if(s>=i.length)break;o=i[s++]}else{if(s=i.next(),s.done)break;o=s.value}var a=o;a.parent=void 0}return this.nodes=[],this},e.prototype.empty=function(){return this.removeAll()},e.prototype.insertAfter=function(r,s){var i=this.index(r);this.nodes.splice(i+1,0,s);var o=void 0;for(var a in this.indexes)o=this.indexes[a],i<=o&&(this.indexes[a]=o+this.nodes.length);return this},e.prototype.insertBefore=function(r,s){var i=this.index(r);this.nodes.splice(i,0,s);var o=void 0;for(var a in this.indexes)o=this.indexes[a],i<=o&&(this.indexes[a]=o+this.nodes.length);return this},e.prototype.each=function(r){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var s=this.lastEach;if(this.indexes[s]=0,!!this.length){for(var i=void 0,o=void 0;this.indexes[s]<this.length&&(i=this.indexes[s],o=r(this.at(i),i),o!==!1);)this.indexes[s]+=1;if(delete this.indexes[s],o===!1)return!1}},e.prototype.walk=function(r){return this.each(function(s,i){var o=r(s,i);if(o!==!1&&s.length&&(o=s.walk(r)),o===!1)return!1})},e.prototype.walkAttributes=function(r){var s=this;return this.walk(function(i){if(i.type===X.ATTRIBUTE)return r.call(s,i)})},e.prototype.walkClasses=function(r){var s=this;return this.walk(function(i){if(i.type===X.CLASS)return r.call(s,i)})},e.prototype.walkCombinators=function(r){var s=this;return this.walk(function(i){if(i.type===X.COMBINATOR)return r.call(s,i)})},e.prototype.walkComments=function(r){var s=this;return this.walk(function(i){if(i.type===X.COMMENT)return r.call(s,i)})},e.prototype.walkIds=function(r){var s=this;return this.walk(function(i){if(i.type===X.ID)return r.call(s,i)})},e.prototype.walkNesting=function(r){var s=this;return this.walk(function(i){if(i.type===X.NESTING)return r.call(s,i)})},e.prototype.walkPseudos=function(r){var s=this;return this.walk(function(i){if(i.type===X.PSEUDO)return r.call(s,i)})},e.prototype.walkTags=function(r){var s=this;return this.walk(function(i){if(i.type===X.TAG)return r.call(s,i)})},e.prototype.walkUniversals=function(r){var s=this;return this.walk(function(i){if(i.type===X.UNIVERSAL)return r.call(s,i)})},e.prototype.split=function(r){var s=this,i=[];return this.reduce(function(o,a,u){var c=r.call(s,a);return i.push(a),c?(o.push(i),i=[]):u===s.length-1&&o.push(i),o},[])},e.prototype.map=function(r){return this.nodes.map(r)},e.prototype.reduce=function(r,s){return this.nodes.reduce(r,s)},e.prototype.every=function(r){return this.nodes.every(r)},e.prototype.some=function(r){return this.nodes.some(r)},e.prototype.filter=function(r){return this.nodes.filter(r)},e.prototype.sort=function(r){return this.nodes.sort(r)},e.prototype.toString=function(){return this.map(String).join("")},md(e,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),e}(gd.default);Ir.default=Td;Bu.exports=Ir.default});var $u=y((Dr,Fu)=>{"use strict";Dr.__esModule=!0;var Ed=qr(),Sd=Od(Ed),Cd=L();function Od(t){return t&&t.__esModule?t:{default:t}}function Ad(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nd(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Pd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Rd=function(t){Pd(e,t);function e(n){Ad(this,e);var r=Nd(this,t.call(this,n));return r.type=Cd.ROOT,r}return e.prototype.toString=function(){var r=this.reduce(function(s,i){var o=String(i);return o?s+o+",":""},"").slice(0,-1);return this.trailingComma?r+",":r},e}(Sd.default);Dr.default=Rd;Fu.exports=Dr.default});var Wu=y((Lr,Uu)=>{"use strict";Lr.__esModule=!0;var Id=qr(),qd=Ld(Id),Dd=L();function Ld(t){return t&&t.__esModule?t:{default:t}}function Md(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bd(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Fd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var $d=function(t){Fd(e,t);function e(n){Md(this,e);var r=Bd(this,t.call(this,n));return r.type=Dd.SELECTOR,r}return e}(qd.default);Lr.default=$d;Uu.exports=Lr.default});var Fe=y((Mr,zu)=>{"use strict";Mr.__esModule=!0;var Ud=function(){function t(e,n){for(var r=0;r<n.length;r++){var s=n[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Wd=ve(),zd=Vd(Wd);function Vd(t){return t&&t.__esModule?t:{default:t}}function Yd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gd(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Kd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Hd=function(t){Kd(e,t);function e(){return Yd(this,e),Gd(this,t.apply(this,arguments))}return e.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join("")},Ud(e,[{key:"ns",get:function(){var r=this.namespace;return r?(typeof r=="string"?r:"")+"|":""}}]),e}(zd.default);Mr.default=Hd;zu.exports=Mr.default});var Yu=y((Br,Vu)=>{"use strict";Br.__esModule=!0;var Qd=Fe(),jd=Xd(Qd),Jd=L();function Xd(t){return t&&t.__esModule?t:{default:t}}function Zd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function em(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function tm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var rm=function(t){tm(e,t);function e(n){Zd(this,e);var r=em(this,t.call(this,n));return r.type=Jd.CLASS,r}return e.prototype.toString=function(){return[this.spaces.before,this.ns,"."+this.value,this.spaces.after].join("")},e}(jd.default);Br.default=rm;Vu.exports=Br.default});var Ku=y((Fr,Gu)=>{"use strict";Fr.__esModule=!0;var nm=ve(),sm=om(nm),im=L();function om(t){return t&&t.__esModule?t:{default:t}}function am(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function um(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function lm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var cm=function(t){lm(e,t);function e(n){am(this,e);var r=um(this,t.call(this,n));return r.type=im.COMMENT,r}return e}(sm.default);Fr.default=cm;Gu.exports=Fr.default});var Qu=y(($r,Hu)=>{"use strict";$r.__esModule=!0;var fm=Fe(),pm=dm(fm),hm=L();function dm(t){return t&&t.__esModule?t:{default:t}}function mm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ym(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function gm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var wm=function(t){gm(e,t);function e(n){mm(this,e);var r=ym(this,t.call(this,n));return r.type=hm.ID,r}return e.prototype.toString=function(){return[this.spaces.before,this.ns,"#"+this.value,this.spaces.after].join("")},e}(pm.default);$r.default=wm;Hu.exports=$r.default});var Ju=y((Ur,ju)=>{"use strict";Ur.__esModule=!0;var vm=Fe(),xm=km(vm),bm=L();function km(t){return t&&t.__esModule?t:{default:t}}function _m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tm(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Em(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Sm=function(t){Em(e,t);function e(n){_m(this,e);var r=Tm(this,t.call(this,n));return r.type=bm.TAG,r}return e}(xm.default);Ur.default=Sm;ju.exports=Ur.default});var Zu=y((Wr,Xu)=>{"use strict";Wr.__esModule=!0;var Cm=ve(),Om=Nm(Cm),Am=L();function Nm(t){return t&&t.__esModule?t:{default:t}}function Pm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rm(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Im(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var qm=function(t){Im(e,t);function e(n){Pm(this,e);var r=Rm(this,t.call(this,n));return r.type=Am.STRING,r}return e}(Om.default);Wr.default=qm;Xu.exports=Wr.default});var tl=y((zr,el)=>{"use strict";zr.__esModule=!0;var Dm=qr(),Lm=Bm(Dm),Mm=L();function Bm(t){return t&&t.__esModule?t:{default:t}}function Fm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $m(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Um(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Wm=function(t){Um(e,t);function e(n){Fm(this,e);var r=$m(this,t.call(this,n));return r.type=Mm.PSEUDO,r}return e.prototype.toString=function(){var r=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),r,this.spaces.after].join("")},e}(Lm.default);zr.default=Wm;el.exports=zr.default});var nl=y((Vr,rl)=>{"use strict";Vr.__esModule=!0;var zm=Fe(),Vm=Gm(zm),Ym=L();function Gm(t){return t&&t.__esModule?t:{default:t}}function Km(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hm(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Qm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var jm=function(t){Qm(e,t);function e(n){Km(this,e);var r=Hm(this,t.call(this,n));return r.type=Ym.ATTRIBUTE,r.raws={},r}return e.prototype.toString=function(){var r=[this.spaces.before,"[",this.ns,this.attribute];return this.operator&&r.push(this.operator),this.value&&r.push(this.value),this.raws.insensitive?r.push(this.raws.insensitive):this.insensitive&&r.push(" i"),r.push("]"),r.concat(this.spaces.after).join("")},e}(Vm.default);Vr.default=jm;rl.exports=Vr.default});var il=y((Yr,sl)=>{"use strict";Yr.__esModule=!0;var Jm=Fe(),Xm=ey(Jm),Zm=L();function ey(t){return t&&t.__esModule?t:{default:t}}function ty(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ry(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function ny(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var sy=function(t){ny(e,t);function e(n){ty(this,e);var r=ry(this,t.call(this,n));return r.type=Zm.UNIVERSAL,r.value="*",r}return e}(Xm.default);Yr.default=sy;sl.exports=Yr.default});var al=y((Gr,ol)=>{"use strict";Gr.__esModule=!0;var iy=ve(),oy=uy(iy),ay=L();function uy(t){return t&&t.__esModule?t:{default:t}}function ly(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cy(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function fy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var py=function(t){fy(e,t);function e(n){ly(this,e);var r=cy(this,t.call(this,n));return r.type=ay.COMBINATOR,r}return e}(oy.default);Gr.default=py;ol.exports=Gr.default});var ll=y((Kr,ul)=>{"use strict";Kr.__esModule=!0;var hy=ve(),dy=yy(hy),my=L();function yy(t){return t&&t.__esModule?t:{default:t}}function gy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wy(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function vy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var xy=function(t){vy(e,t);function e(n){gy(this,e);var r=wy(this,t.call(this,n));return r.type=my.NESTING,r.value="&",r}return e}(dy.default);Kr.default=xy;ul.exports=Kr.default});var fl=y((Hr,cl)=>{"use strict";Hr.__esModule=!0;Hr.default=by;function by(t){return t.sort(function(e,n){return e-n})}cl.exports=Hr.default});var xl=y((Jr,vl)=>{"use strict";Jr.__esModule=!0;Jr.default=Ry;var pl=39,ky=34,fs=92,hl=47,kt=10,ps=32,hs=12,ds=9,ms=13,dl=43,ml=62,yl=126,gl=124,_y=44,Ty=40,Ey=41,Sy=91,Cy=93,Oy=59,wl=42,Ay=58,Ny=38,Py=64,Qr=/[ \n\t\r\{\(\)'"\\;/]/g,jr=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function Ry(t){for(var e=[],n=t.css.valueOf(),r=void 0,s=void 0,i=void 0,o=void 0,a=void 0,u=void 0,c=void 0,f=void 0,p=void 0,l=void 0,g=void 0,x=n.length,h=-1,d=1,m=0,b=function(v,N){if(t.safe)n+=N,s=n.length-1;else throw t.error("Unclosed "+v,d,m-h,m)};m<x;){switch(r=n.charCodeAt(m),r===kt&&(h=m,d+=1),r){case kt:case ps:case ds:case ms:case hs:s=m;do s+=1,r=n.charCodeAt(s),r===kt&&(h=s,d+=1);while(r===ps||r===kt||r===ds||r===ms||r===hs);e.push(["space",n.slice(m,s),d,m-h,m]),m=s-1;break;case dl:case ml:case yl:case gl:s=m;do s+=1,r=n.charCodeAt(s);while(r===dl||r===ml||r===yl||r===gl);e.push(["combinator",n.slice(m,s),d,m-h,m]),m=s-1;break;case wl:e.push(["*","*",d,m-h,m]);break;case Ny:e.push(["&","&",d,m-h,m]);break;case _y:e.push([",",",",d,m-h,m]);break;case Sy:e.push(["[","[",d,m-h,m]);break;case Cy:e.push(["]","]",d,m-h,m]);break;case Ay:e.push([":",":",d,m-h,m]);break;case Oy:e.push([";",";",d,m-h,m]);break;case Ty:e.push(["(","(",d,m-h,m]);break;case Ey:e.push([")",")",d,m-h,m]);break;case pl:case ky:i=r===pl?"'":'"',s=m;do for(l=!1,s=n.indexOf(i,s+1),s===-1&&b("quote",i),g=s;n.charCodeAt(g-1)===fs;)g-=1,l=!l;while(l);e.push(["string",n.slice(m,s+1),d,m-h,d,s-h,m]),m=s;break;case Py:Qr.lastIndex=m+1,Qr.test(n),Qr.lastIndex===0?s=n.length-1:s=Qr.lastIndex-2,e.push(["at-word",n.slice(m,s+1),d,m-h,d,s-h,m]),m=s;break;case fs:for(s=m,c=!0;n.charCodeAt(s+1)===fs;)s+=1,c=!c;r=n.charCodeAt(s+1),c&&r!==hl&&r!==ps&&r!==kt&&r!==ds&&r!==ms&&r!==hs&&(s+=1),e.push(["word",n.slice(m,s+1),d,m-h,d,s-h,m]),m=s;break;default:r===hl&&n.charCodeAt(m+1)===wl?(s=n.indexOf("*/",m+2)+1,s===0&&b("comment","*/"),u=n.slice(m,s+1),o=u.split(`
33
+ `),a=o.length-1,a>0?(f=d+a,p=s-o[a].length):(f=d,p=h),e.push(["comment",u,d,m-h,f,s-p,m]),h=p,d=f,m=s):(jr.lastIndex=m+1,jr.test(n),jr.lastIndex===0?s=n.length-1:s=jr.lastIndex-2,e.push(["word",n.slice(m,s+1),d,m-h,d,s-h,m]),m=s);break}m++}return e}vl.exports=Jr.default});var _l=y((Xr,kl)=>{"use strict";Xr.__esModule=!0;var Iy=function(){function t(e,n){for(var r=0;r<n.length;r++){var s=n[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),qy=as(),Dy=I(qy),Ly=us(),ys=I(Ly),My=ls(),By=I(My),Fy=$u(),$y=I(Fy),Uy=Wu(),gs=I(Uy),Wy=Yu(),zy=I(Wy),Vy=Ku(),Yy=I(Vy),Gy=Qu(),Ky=I(Gy),Hy=Ju(),Qy=I(Hy),jy=Zu(),Jy=I(jy),Xy=tl(),Zy=I(Xy),eg=nl(),tg=I(eg),rg=il(),ng=I(rg),sg=al(),ig=I(sg),og=ll(),ag=I(og),ug=fl(),lg=I(ug),cg=xl(),bl=I(cg),fg=L(),pg=hg(fg);function hg(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function I(t){return t&&t.__esModule?t:{default:t}}function dg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var mg=function(){function t(e){dg(this,t),this.input=e,this.lossy=e.options.lossless===!1,this.position=0,this.root=new $y.default;var n=new gs.default;return this.root.append(n),this.current=n,this.lossy?this.tokens=(0,bl.default)({safe:e.safe,css:e.css.trim()}):this.tokens=(0,bl.default)(e),this.loop()}return t.prototype.attribute=function(){var n="",r=void 0,s=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!=="]";)n+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~n.indexOf("]")&&this.error("Expected a closing square bracket.");var i=n.split(/((?:[*~^$|]?=))([^]*)/),o=i[0].split(/(\|)/g),a={operator:i[1],value:i[2],source:{start:{line:s[2],column:s[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:s[4]};if(o.length>1?(o[0]===""&&(o[0]=!0),a.attribute=this.parseValue(o[2]),a.namespace=this.parseNamespace(o[0])):a.attribute=this.parseValue(i[0]),r=new tg.default(a),i[2]){var u=i[2].split(/(\s+i\s*?)$/),c=u[0].trim();r.value=this.lossy?c:u[0],u[1]&&(r.insensitive=!0,this.lossy||(r.raws.insensitive=u[1])),r.quoted=c[0]==="'"||c[0]==='"',r.raws.unquoted=r.quoted?c.slice(1,-1):c}this.newNode(r),this.position++},t.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var n=new ig.default({value:"",source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]});this.position<this.tokens.length&&this.currToken&&(this.currToken[0]==="space"||this.currToken[0]==="combinator");)this.nextToken&&this.nextToken[0]==="combinator"?(n.spaces.before=this.parseSpace(this.currToken[1]),n.source.start.line=this.nextToken[2],n.source.start.column=this.nextToken[3],n.source.end.column=this.nextToken[3],n.source.end.line=this.nextToken[2],n.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]==="combinator"?n.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]==="combinator"?n.value=this.currToken[1]:this.currToken[0]==="space"&&(n.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(n)},t.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var n=new gs.default;this.current.parent.append(n),this.current=n,this.position++},t.prototype.comment=function(){var n=new Yy.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]});this.newNode(n),this.position++},t.prototype.error=function(n){throw new this.input.error(n)},t.prototype.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.")},t.prototype.missingParenthesis=function(){return this.error("Expected opening parenthesis.")},t.prototype.missingSquareBracket=function(){return this.error("Expected opening square bracket.")},t.prototype.namespace=function(){var n=this.prevToken&&this.prevToken[1]||!0;if(this.nextToken[0]==="word")return this.position++,this.word(n);if(this.nextToken[0]==="*")return this.position++,this.universal(n)},t.prototype.nesting=function(){this.newNode(new ag.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]})),this.position++},t.prototype.parentheses=function(){var n=this.current.last;if(n&&n.type===pg.PSEUDO){var r=new gs.default,s=this.current;n.append(r),this.current=r;var i=1;for(this.position++;this.position<this.tokens.length&&i;)this.currToken[0]==="("&&i++,this.currToken[0]===")"&&i--,i?this.parse():(r.parent.source.end.line=this.currToken[2],r.parent.source.end.column=this.currToken[3],this.position++);i&&this.error("Expected closing parenthesis."),this.current=s}else{var o=1;for(this.position++,n.value+="(";this.position<this.tokens.length&&o;)this.currToken[0]==="("&&o++,this.currToken[0]===")"&&o--,n.value+=this.parseParenthesisToken(this.currToken),this.position++;o&&this.error("Expected closing parenthesis.")}},t.prototype.pseudo=function(){for(var n=this,r="",s=this.currToken;this.currToken&&this.currToken[0]===":";)r+=this.currToken[1],this.position++;if(!this.currToken)return this.error("Expected pseudo-class or pseudo-element");if(this.currToken[0]==="word"){var i=void 0;this.splitWord(!1,function(o,a){r+=o,i=new Zy.default({value:r,source:{start:{line:s[2],column:s[3]},end:{line:n.currToken[4],column:n.currToken[5]}},sourceIndex:s[4]}),n.newNode(i),a>1&&n.nextToken&&n.nextToken[0]==="("&&n.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},t.prototype.space=function(){var n=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(n[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(n[1]),this.position++):this.combinator()},t.prototype.string=function(){var n=this.currToken;this.newNode(new Jy.default({value:this.currToken[1],source:{start:{line:n[2],column:n[3]},end:{line:n[4],column:n[5]}},sourceIndex:n[6]})),this.position++},t.prototype.universal=function(n){var r=this.nextToken;if(r&&r[1]==="|")return this.position++,this.namespace();this.newNode(new ng.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),n),this.position++},t.prototype.splitWord=function(n,r){for(var s=this,i=this.nextToken,o=this.currToken[1];i&&i[0]==="word";){this.position++;var a=this.currToken[1];if(o+=a,a.lastIndexOf("\\")===a.length-1){var u=this.nextToken;u&&u[0]==="space"&&(o+=this.parseSpace(u[1]," "),this.position++)}i=this.nextToken}var c=(0,ys.default)(o,"."),f=(0,ys.default)(o,"#"),p=(0,ys.default)(o,"#{");p.length&&(f=f.filter(function(g){return!~p.indexOf(g)}));var l=(0,lg.default)((0,By.default)((0,Dy.default)([[0],c,f])));l.forEach(function(g,x){var h=l[x+1]||o.length,d=o.slice(g,h);if(x===0&&r)return r.call(s,d,l.length);var m=void 0;~c.indexOf(g)?m=new zy.default({value:d.slice(1),source:{start:{line:s.currToken[2],column:s.currToken[3]+g},end:{line:s.currToken[4],column:s.currToken[3]+(h-1)}},sourceIndex:s.currToken[6]+l[x]}):~f.indexOf(g)?m=new Ky.default({value:d.slice(1),source:{start:{line:s.currToken[2],column:s.currToken[3]+g},end:{line:s.currToken[4],column:s.currToken[3]+(h-1)}},sourceIndex:s.currToken[6]+l[x]}):m=new Qy.default({value:d,source:{start:{line:s.currToken[2],column:s.currToken[3]+g},end:{line:s.currToken[4],column:s.currToken[3]+(h-1)}},sourceIndex:s.currToken[6]+l[x]}),s.newNode(m,n)}),this.position++},t.prototype.word=function(n){var r=this.nextToken;return r&&r[1]==="|"?(this.position++,this.namespace()):this.splitWord(n)},t.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root},t.prototype.parse=function(n){switch(this.currToken[0]){case"space":this.space();break;case"comment":this.comment();break;case"(":this.parentheses();break;case")":n&&this.missingParenthesis();break;case"[":this.attribute();break;case"]":this.missingSquareBracket();break;case"at-word":case"word":this.word();break;case":":this.pseudo();break;case";":this.missingBackslash();break;case",":this.comma();break;case"*":this.universal();break;case"&":this.nesting();break;case"combinator":this.combinator();break;case"string":this.string();break}},t.prototype.parseNamespace=function(n){if(this.lossy&&typeof n=="string"){var r=n.trim();return r.length?r:!0}return n},t.prototype.parseSpace=function(n,r){return this.lossy?r||"":n},t.prototype.parseValue=function(n){return this.lossy&&n&&typeof n=="string"?n.trim():n},t.prototype.parseParenthesisToken=function(n){return this.lossy?n[0]==="space"?this.parseSpace(n[1]," "):this.parseValue(n[1]):n[1]},t.prototype.newNode=function(n,r){return r&&(n.namespace=this.parseNamespace(r)),this.spaces&&(n.spaces.before=this.spaces,this.spaces=""),this.current.append(n)},Iy(t,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),t}();Xr.default=mg;kl.exports=Xr.default});var El=y((Zr,Tl)=>{"use strict";Zr.__esModule=!0;var yg=function(){function t(e,n){for(var r=0;r<n.length;r++){var s=n[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),gg=_l(),wg=vg(gg);function vg(t){return t&&t.__esModule?t:{default:t}}function xg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var bg=function(){function t(e){return xg(this,t),this.func=e||function(){},this}return t.prototype.process=function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=new wg.default({css:n,error:function(o){throw new Error(o)},options:r});return this.res=s,this.func(s),this},yg(t,[{key:"result",get:function(){return String(this.res)}}]),t}();Zr.default=bg;Tl.exports=Zr.default});var xs=y(vs=>{"use strict";Object.defineProperty(vs,"__esModule",{value:!0});function Eg(t){this.after=t.after,this.before=t.before,this.type=t.type,this.value=t.value,this.sourceIndex=t.sourceIndex}vs.default=Eg});var ks=y(bs=>{"use strict";Object.defineProperty(bs,"__esModule",{value:!0});var Sg=xs(),Al=Cg(Sg);function Cg(t){return t&&t.__esModule?t:{default:t}}function _t(t){var e=this;this.constructor(t),this.nodes=t.nodes,this.after===void 0&&(this.after=this.nodes.length>0?this.nodes[this.nodes.length-1].after:""),this.before===void 0&&(this.before=this.nodes.length>0?this.nodes[0].before:""),this.sourceIndex===void 0&&(this.sourceIndex=this.before.length),this.nodes.forEach(function(n){n.parent=e})}_t.prototype=Object.create(Al.default.prototype);_t.constructor=Al.default;_t.prototype.walk=function(e,n){for(var r=typeof e=="string"||e instanceof RegExp,s=r?n:e,i=typeof e=="string"?new RegExp(e):e,o=0;o<this.nodes.length;o++){var a=this.nodes[o],u=r?i.test(a.type):!0;if(u&&s&&s(a,o,this.nodes)===!1||a.nodes&&a.walk(e,n)===!1)return!1}return!0};_t.prototype.each=function(){for(var e=arguments.length<=0||arguments[0]===void 0?function(){}:arguments[0],n=0;n<this.nodes.length;n++){var r=this.nodes[n];if(e(r,n,this.nodes)===!1)return!1}return!0};bs.default=_t});var Il=y(Tt=>{"use strict";Object.defineProperty(Tt,"__esModule",{value:!0});Tt.parseMediaFeature=Rl;Tt.parseMediaQuery=Ts;Tt.parseMediaList=Ng;var Og=xs(),Nl=Pl(Og),Ag=ks(),_s=Pl(Ag);function Pl(t){return t&&t.__esModule?t:{default:t}}function Rl(t){var e=arguments.length<=1||arguments[1]===void 0?0:arguments[1],n=[{mode:"normal",character:null}],r=[],s=0,i="",o=null,a=null,u=e,c=t;t[0]==="("&&t[t.length-1]===")"&&(c=t.substring(1,t.length-1),u++);for(var f=0;f<c.length;f++){var p=c[f];if((p==="'"||p==='"')&&(n[s].isCalculationEnabled===!0?(n.push({mode:"string",isCalculationEnabled:!1,character:p}),s++):n[s].mode==="string"&&n[s].character===p&&c[f-1]!=="\\"&&(n.pop(),s--)),p==="{"?(n.push({mode:"interpolation",isCalculationEnabled:!0}),s++):p==="}"&&(n.pop(),s--),n[s].mode==="normal"&&p===":"){var l=c.substring(f+1);a={type:"value",before:/^(\s*)/.exec(l)[1],after:/(\s*)$/.exec(l)[1],value:l.trim()},a.sourceIndex=a.before.length+f+1+u,o={type:"colon",sourceIndex:f+u,after:a.before,value:":"};break}i+=p}return i={type:"media-feature",before:/^(\s*)/.exec(i)[1],after:/(\s*)$/.exec(i)[1],value:i.trim()},i.sourceIndex=i.before.length+u,r.push(i),o!==null&&(o.before=i.after,r.push(o)),a!==null&&r.push(a),r}function Ts(t){var e=arguments.length<=1||arguments[1]===void 0?0:arguments[1],n=[],r=0,s=!1,i=void 0;function o(){return{before:"",after:"",value:""}}i=o();for(var a=0;a<t.length;a++){var u=t[a];s?(i.value+=u,(u==="{"||u==="(")&&r++,(u===")"||u==="}")&&r--):u.search(/\s/)!==-1?i.before+=u:(u==="("&&(i.type="media-feature-expression",r++),i.value=u,i.sourceIndex=e+a,s=!0),s&&r===0&&(u===")"||a===t.length-1||t[a+1].search(/\s/)!==-1)&&(["not","only","and"].indexOf(i.value)!==-1&&(i.type="keyword"),i.type==="media-feature-expression"&&(i.nodes=Rl(i.value,i.sourceIndex)),n.push(Array.isArray(i.nodes)?new _s.default(i):new Nl.default(i)),i=o(),s=!1)}for(var c=0;c<n.length;c++)if(i=n[c],c>0&&(n[c-1].after=i.before),i.type===void 0){if(c>0){if(n[c-1].type==="media-feature-expression"){i.type="keyword";continue}if(n[c-1].value==="not"||n[c-1].value==="only"){i.type="media-type";continue}if(n[c-1].value==="and"){i.type="media-feature-expression";continue}n[c-1].type==="media-type"&&(n[c+1]?i.type=n[c+1].type==="media-feature-expression"?"keyword":"media-feature-expression":i.type="media-feature-expression")}if(c===0){if(!n[c+1]){i.type="media-type";continue}if(n[c+1]&&(n[c+1].type==="media-feature-expression"||n[c+1].type==="keyword")){i.type="media-type";continue}if(n[c+2]){if(n[c+2].type==="media-feature-expression"){i.type="media-type",n[c+1].type="keyword";continue}if(n[c+2].type==="keyword"){i.type="keyword",n[c+1].type="media-type";continue}}if(n[c+3]&&n[c+3].type==="media-feature-expression"){i.type="keyword",n[c+1].type="media-type",n[c+2].type="keyword";continue}}}return n}function Ng(t){var e=[],n=0,r=0,s=/^(\s*)url\s*\(/.exec(t);if(s!==null){for(var i=s[0].length,o=1;o>0;){var a=t[i];a==="("&&o++,a===")"&&o--,i++}e.unshift(new Nl.default({type:"url",value:t.substring(0,i).trim(),sourceIndex:s[1].length,before:s[1],after:/^(\s*)/.exec(t.substring(i))[1]})),n=i}for(var u=n;u<t.length;u++){var c=t[u];if(c==="("&&r++,c===")"&&r--,r===0&&c===","){var f=t.substring(n,u),p=/^(\s*)/.exec(f)[1];e.push(new _s.default({type:"media-query",value:f.trim(),sourceIndex:n+p.length,nodes:Ts(f,n),before:p,after:/(\s*)$/.exec(f)[1]})),n=u+1}}var l=t.substring(n),g=/^(\s*)/.exec(l)[1];return e.push(new _s.default({type:"media-query",value:l.trim(),sourceIndex:n+g.length,nodes:Ts(l,n),before:g,after:/(\s*)$/.exec(l)[1]})),e}});var ql=y(Es=>{"use strict";Object.defineProperty(Es,"__esModule",{value:!0});Es.default=Dg;var Pg=ks(),Rg=qg(Pg),Ig=Il();function qg(t){return t&&t.__esModule?t:{default:t}}function Dg(t){return new Rg.default({nodes:(0,Ig.parseMediaList)(t),type:"media-query-list",value:t.trim()})}});var Vg={};rn(Vg,{default:()=>tn,languages:()=>Os,options:()=>As,parsers:()=>Et,printers:()=>Yl});var tn={};rn(tn,{languages:()=>Os,options:()=>As,parsers:()=>Et,printers:()=>Yl});var Xl=(t,e,n,r)=>{if(!(t&&e==null))return e.replaceAll?e.replaceAll(n,r):n.global?e.replace(n,r):e.split(n).join(r)},E=Xl;var Ct="'",Rs='"';function Zl(t,e){let n=e===!0||e===Ct?Ct:Rs,r=n===Ct?Rs:Ct,s=0,i=0;for(let o of t)o===n?s++:o===r&&i++;return s>i?r:n}var Is=Zl;function ec(t,e,n){let r=e==='"'?"'":'"',i=E(!1,t,/\\(.)|(["'])/gs,(o,a,u)=>a===r?a:u===e?"\\"+u:u||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(a)?a:"\\"+a));return e+i+e}var qs=ec;function tc(t,e){let n=t.slice(1,-1),r=e.parser==="json"||e.parser==="json5"&&e.quoteProps==="preserve"&&!e.singleQuote?'"':e.__isInHtmlAttribute?"'":Is(n,e.singleQuote);return qs(n,r,!(e.parser==="css"||e.parser==="less"||e.parser==="scss"||e.__embeddedInHtml))}var Ot=tc;function rc(t){return Array.isArray(t)&&t.length>0}var te=rc;var $e="string",Ue="array",We="cursor",be="indent",ke="align",ze="trim",_e="group",re="fill",le="if-break",Ve="indent-if-break",Ye="line-suffix",Ge="line-suffix-boundary",j="line",Ke="label",Te="break-parent",At=new Set([We,be,ke,ze,_e,re,le,Ve,Ye,Ge,j,Ke,Te]);function nc(t){if(typeof t=="string")return $e;if(Array.isArray(t))return Ue;if(!t)return;let{type:e}=t;if(At.has(e))return e}var He=nc;var sc=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function ic(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}',
34
+ Expected it to be 'string' or 'object'.`;if(He(t))throw new Error("doc is valid.");let n=Object.prototype.toString.call(t);if(n!=="[object Object]")return`Unexpected doc '${n}'.`;let r=sc([...At].map(s=>`'${s}'`));return`Unexpected doc.type '${t.type}'.
35
+ Expected it to be ${r}.`}var nn=class extends Error{name="InvalidDocError";constructor(e){super(ic(e)),this.doc=e}},sn=nn;var Ds=()=>{},ce=Ds,Nt=Ds;function q(t){return ce(t),{type:be,contents:t}}function Ls(t,e){return ce(e),{type:ke,contents:e,n:t}}function D(t,e={}){return ce(t),Nt(e.expandedStates,!0),{type:_e,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function Ms(t){return Ls({type:"root"},t)}function fe(t){return Ls(-1,t)}function Qe(t){return Nt(t),{type:re,parts:t}}function Pt(t,e="",n={}){return ce(t),e!==""&&ce(e),{type:le,breakContents:t,flatContents:e,groupId:n.groupId}}var je={type:Te};var oc={type:j,hard:!0};var A={type:j},M={type:j,soft:!0},_=[oc,je];function Y(t,e){ce(t),Nt(e);let n=[];for(let r=0;r<e.length;r++)r!==0&&n.push(t),n.push(e[r]);return n}var ac=(t,e,n)=>{if(!(t&&e==null))return Array.isArray(e)||typeof e=="string"?e[n<0?e.length+n:n]:e.at(n)},G=ac;var Bs=t=>{if(Array.isArray(t))return t;if(t.type!==re)throw new Error(`Expect doc to be 'array' or '${re}'.`);return t.parts};function uc(t,e){if(typeof t=="string")return e(t);let n=new Map;return r(t);function r(i){if(n.has(i))return n.get(i);let o=s(i);return n.set(i,o),o}function s(i){switch(He(i)){case Ue:return e(i.map(r));case re:return e({...i,parts:i.parts.map(r)});case le:return e({...i,breakContents:r(i.breakContents),flatContents:r(i.flatContents)});case _e:{let{expandedStates:o,contents:a}=i;return o?(o=o.map(r),a=o[0]):a=r(a),e({...i,contents:a,expandedStates:o})}case ke:case be:case Ve:case Ke:case Ye:return e({...i,contents:r(i.contents)});case $e:case We:case ze:case Ge:case j:case Te:return e(i);default:throw new sn(i)}}}function lc(t){return t.type===j&&!t.hard?t.soft?"":" ":t.type===le?t.flatContents:t}function Fs(t){return uc(t,lc)}var on=class extends Error{name="UnexpectedNodeError";constructor(e,n,r="type"){super(`Unexpected ${n} node ${r}: ${JSON.stringify(e[r])}.`),this.node=e}},$s=on;function cc(t){return(t==null?void 0:t.type)==="front-matter"}var Ee=cc;var fc=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma","spaces"]);function Us(t,e,n){if(Ee(t)&&t.lang==="yaml"&&delete e.value,t.type==="css-comment"&&n.type==="css-root"&&n.nodes.length>0&&((n.nodes[0]===t||Ee(n.nodes[0])&&n.nodes[1]===t)&&(delete e.text,/^\*\s*@(?:format|prettier)\s*$/.test(t.text))||n.type==="css-root"&&G(!1,n.nodes,-1)===t))return null;if(t.type==="value-root"&&delete e.text,(t.type==="media-query"||t.type==="media-query-list"||t.type==="media-feature-expression")&&delete e.value,t.type==="css-rule"&&delete e.params,t.type==="selector-combinator"&&(e.value=E(!1,e.value,/\s+/g," ")),t.type==="media-feature"&&(e.value=E(!1,e.value," ","")),(t.type==="value-word"&&(t.isColor&&t.isHex||["initial","inherit","unset","revert"].includes(e.value.toLowerCase()))||t.type==="media-feature"||t.type==="selector-root-invalid"||t.type==="selector-pseudo")&&(e.value=e.value.toLowerCase()),t.type==="css-decl"&&(e.prop=e.prop.toLowerCase()),(t.type==="css-atrule"||t.type==="css-import")&&(e.name=e.name.toLowerCase()),t.type==="value-number"&&(e.unit=e.unit.toLowerCase()),t.type==="value-unknown"&&(e.value=E(!1,e.value,/;$/g,"")),(t.type==="media-feature"||t.type==="media-keyword"||t.type==="media-type"||t.type==="media-unknown"||t.type==="media-url"||t.type==="media-value"||t.type==="selector-attribute"||t.type==="selector-string"||t.type==="selector-class"||t.type==="selector-combinator"||t.type==="value-string")&&e.value&&(e.value=pc(e.value)),t.type==="selector-attribute"&&(e.attribute=e.attribute.trim(),e.namespace&&typeof e.namespace=="string"&&(e.namespace=e.namespace.trim(),e.namespace.length===0&&(e.namespace=!0)),e.value&&(e.value=E(!1,e.value.trim(),/^["']|["']$/g,""),delete e.quoted)),(t.type==="media-value"||t.type==="media-type"||t.type==="value-number"||t.type==="selector-root-invalid"||t.type==="selector-class"||t.type==="selector-combinator"||t.type==="selector-tag")&&e.value&&(e.value=E(!1,e.value,/([\d+.Ee-]+)([A-Za-z]*)/g,(r,s,i)=>{let o=Number(s);return Number.isNaN(o)?r:o+i.toLowerCase()})),t.type==="selector-tag"){let r=t.value.toLowerCase();["from","to"].includes(r)&&(e.value=r)}if(t.type==="css-atrule"&&t.name.toLowerCase()==="supports"&&delete e.value,t.type==="selector-unknown"&&delete e.value,t.type==="value-comma_group"){let r=t.groups.findIndex(s=>s.type==="value-number"&&s.unit==="...");r!==-1&&(e.groups[r].unit="",e.groups.splice(r+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(t.type==="value-comma_group"&&t.groups.some(r=>r.type==="value-atword"&&r.value.endsWith("[")||r.type==="value-word"&&r.value.startsWith("]")))return{type:"value-atword",value:t.groups.map(r=>r.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}Us.ignoredProperties=fc;function pc(t){return E(!1,E(!1,t,"'",'"'),/\\([^\dA-Fa-f])/g,"$1")}var Ws=Us;async function hc(t,e){if(t.lang==="yaml"){let n=t.value.trim(),r=n?await e(n,{parser:"yaml"}):"";return Ms([t.startDelimiter,_,r,r?_:"",t.endDelimiter])}}var zs=hc;function Vs(t){let{node:e}=t;if(e.type==="front-matter")return async n=>{let r=await zs(e,n);return r?[r,_]:void 0}}Vs.getVisitorKeys=t=>t.type==="css-root"?["frontMatter"]:[];var Ys=Vs;var ne=ue(Xs(),1);function _c(t){if(!t.startsWith("#!"))return"";let e=t.indexOf(`
36
+ `);return e===-1?t:t.slice(0,e)}var Zs=_c;function ei(t){let e=Zs(t);e&&(t=t.slice(e.length+1));let n=(0,ne.extract)(t),{pragmas:r,comments:s}=(0,ne.parseWithComments)(n);return{shebang:e,text:t,pragmas:r,comments:s}}function ti(t){let{pragmas:e}=ei(t);return Object.prototype.hasOwnProperty.call(e,"prettier")||Object.prototype.hasOwnProperty.call(e,"format")}function ri(t){let{shebang:e,text:n,pragmas:r,comments:s}=ei(t),i=(0,ne.strip)(n),o=(0,ne.print)({pragmas:{format:"",...r},comments:s.trimStart()});return(e?`${e}
37
+ `:"")+o+(i.startsWith(`
38
+ `)?`
39
+ `:`
40
+
41
+ `)+i}var Tc=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function Ec(t){let e=t.match(Tc);if(!e)return{content:t};let{startDelimiter:n,language:r,value:s="",endDelimiter:i}=e.groups,o=r.trim()||"yaml";if(n==="+++"&&(o="toml"),o!=="yaml"&&n!==i)return{content:t};let[a]=e;return{frontMatter:{type:"front-matter",lang:o,value:s,startDelimiter:n,endDelimiter:i,raw:a.replace(/\n$/,"")},content:E(!1,a,/[^\n]/g," ")+t.slice(a.length)}}var Je=Ec;function ni(t){return ti(Je(t).content)}function si(t){let{frontMatter:e,content:n}=Je(t);return(e?e.raw+`
42
+
43
+ `:"")+ri(n)}var Xe=null;function Ze(t){if(Xe!==null&&typeof Xe.property){let e=Xe;return Xe=Ze.prototype=null,e}return Xe=Ze.prototype=t??Object.create(null),new Ze}var Sc=10;for(let t=0;t<=Sc;t++)Ze();function an(t){return Ze(t)}function Cc(t,e="type"){an(t);function n(r){let s=r[e],i=t[s];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${s}'.`),{node:r});return i}return n}var ii=Cc;var Oc={"front-matter":[],"css-root":["frontMatter","nodes"],"css-comment":[],"css-rule":["selector","nodes"],"css-decl":["value","selector","nodes"],"css-atrule":["selector","params","value","nodes"],"media-query-list":["nodes"],"media-query":["nodes"],"media-type":[],"media-feature-expression":["nodes"],"media-feature":[],"media-colon":[],"media-value":[],"media-keyword":[],"media-url":[],"media-unknown":[],"selector-root":["nodes"],"selector-selector":["nodes"],"selector-comment":[],"selector-string":[],"selector-tag":[],"selector-id":[],"selector-class":[],"selector-attribute":[],"selector-combinator":["nodes"],"selector-universal":[],"selector-pseudo":["nodes"],"selector-nesting":[],"selector-unknown":[],"value-value":["group"],"value-root":["group"],"value-comment":[],"value-comma_group":["groups"],"value-paren_group":["open","groups","close"],"value-func":["group"],"value-paren":[],"value-number":[],"value-operator":[],"value-word":[],"value-colon":[],"value-comma":[],"value-string":[],"value-atword":[],"value-unicode-range":[],"value-unknown":[]},oi=Oc;var Ac=ii(oi),ai=Ac;var Nc=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function ui(t){var e,n;return(n=(e=t.findAncestor(r=>r.type==="css-decl"))==null?void 0:e.prop)==null?void 0:n.toLowerCase()}var Pc=new Set(["initial","inherit","unset","revert"]);function li(t){return Pc.has(t.toLowerCase())}function ci(t,e){var r;let n=t.findAncestor(s=>s.type==="css-atrule");return((r=n==null?void 0:n.name)==null?void 0:r.toLowerCase().endsWith("keyframes"))&&["from","to"].includes(e.toLowerCase())}function se(t){return t.includes("$")||t.includes("@")||t.includes("#")||t.startsWith("%")||t.startsWith("--")||t.startsWith(":--")||t.includes("(")&&t.includes(")")?t:t.toLowerCase()}function Se(t,e){var r;let n=t.findAncestor(s=>s.type==="value-func");return((r=n==null?void 0:n.value)==null?void 0:r.toLowerCase())===e}function fi(t){var r;let e=t.findAncestor(s=>s.type==="css-rule"),n=(r=e==null?void 0:e.raws)==null?void 0:r.selector;return n&&(n.startsWith(":import")||n.startsWith(":export"))}function Ce(t,e){let n=Array.isArray(e)?e:[e],r=t.findAncestor(s=>s.type==="css-atrule");return r&&n.includes(r.name.toLowerCase())}function pi(t){var n;let{node:e}=t;return e.groups[0].value==="url"&&e.groups.length===2&&((n=t.findAncestor(r=>r.type==="css-atrule"))==null?void 0:n.name)==="import"}function hi(t){return t.type==="value-func"&&t.value.toLowerCase()==="url"}function di(t){return t.type==="value-func"&&t.value.toLowerCase()==="var"}function Rt(t,e){var r;let n=(r=t.parent)==null?void 0:r.nodes;return n&&n.indexOf(e)===n.length-1}function mi(t){let{selector:e}=t;return e?typeof e=="string"&&/^@.+:.*$/.test(e)||e.value&&/^@.+:.*$/.test(e.value):!1}function yi(t){return t.type==="value-word"&&["from","through","end"].includes(t.value)}function gi(t){return t.type==="value-word"&&["and","or","not"].includes(t.value)}function wi(t){return t.type==="value-word"&&t.value==="in"}function It(t){return t.type==="value-operator"&&t.value==="*"}function et(t){return t.type==="value-operator"&&t.value==="/"}function J(t){return t.type==="value-operator"&&t.value==="+"}function he(t){return t.type==="value-operator"&&t.value==="-"}function Rc(t){return t.type==="value-operator"&&t.value==="%"}function qt(t){return It(t)||et(t)||J(t)||he(t)||Rc(t)}function vi(t){return t.type==="value-word"&&["==","!="].includes(t.value)}function xi(t){return t.type==="value-word"&&["<",">","<=",">="].includes(t.value)}function tt(t,e){return e.parser==="scss"&&t.type==="css-atrule"&&["if","else","for","each","while"].includes(t.name)}function ln(t){var e;return((e=t.raws)==null?void 0:e.params)&&/^\(\s*\)$/.test(t.raws.params)}function cn(t){return t.name.startsWith("prettier-placeholder")}function bi(t){return t.prop.startsWith("@prettier-placeholder")}function ki(t,e){return t.value==="$$"&&t.type==="value-func"&&(e==null?void 0:e.type)==="value-word"&&!e.raws.before}function _i(t){var e,n;return((e=t.value)==null?void 0:e.type)==="value-root"&&((n=t.value.group)==null?void 0:n.type)==="value-value"&&t.prop.toLowerCase()==="composes"}function Ti(t){var e,n,r;return((r=(n=(e=t.value)==null?void 0:e.group)==null?void 0:n.group)==null?void 0:r.type)==="value-paren_group"&&t.value.group.group.open!==null&&t.value.group.group.close!==null}function de(t){var e;return((e=t.raws)==null?void 0:e.before)===""}function Dt(t){var e,n;return t.type==="value-comma_group"&&((n=(e=t.groups)==null?void 0:e[1])==null?void 0:n.type)==="value-colon"}function un(t){var e;return t.type==="value-paren_group"&&((e=t.groups)==null?void 0:e[0])&&Dt(t.groups[0])}function fn(t,e){var i;if(e.parser!=="scss")return!1;let{node:n}=t;if(n.groups.length===0)return!1;let r=t.grandparent;if(!un(n)&&!(r&&un(r)))return!1;let s=t.findAncestor(o=>o.type==="css-decl");return!!((i=s==null?void 0:s.prop)!=null&&i.startsWith("$")||un(r)||r.type==="value-func")}function pn(t){return t.type==="value-comment"&&t.inline}function Lt(t){return t.type==="value-word"&&t.value==="#"}function hn(t){return t.type==="value-word"&&t.value==="{"}function Mt(t){return t.type==="value-word"&&t.value==="}"}function rt(t){return["value-word","value-atword"].includes(t.type)}function Bt(t){return(t==null?void 0:t.type)==="value-colon"}function Ei(t,e){if(!Dt(e))return!1;let{groups:n}=e,r=n.indexOf(t);return r===-1?!1:Bt(n[r+1])}function Si(t){return t.value&&["not","and","or"].includes(t.value.toLowerCase())}function Ci(t){return t.type!=="value-func"?!1:Nc.has(t.value.toLowerCase())}function Oe(t){return/\/\//.test(t.split(/[\n\r]/).pop())}function nt(t){return(t==null?void 0:t.type)==="value-atword"&&t.value.startsWith("prettier-placeholder-")}function Oi(t,e){var n,r;if(((n=t.open)==null?void 0:n.value)!=="("||((r=t.close)==null?void 0:r.value)!==")"||t.groups.some(s=>s.type!=="value-comma_group"))return!1;if(e.type==="value-comma_group"){let s=e.groups.indexOf(t)-1,i=e.groups[s];if((i==null?void 0:i.type)==="value-word"&&i.value==="with")return!0}return!1}function st(t){var e,n;return t.type==="value-paren_group"&&((e=t.open)==null?void 0:e.value)==="("&&((n=t.close)==null?void 0:n.value)===")"}function Ft(t){return(e,n,r)=>{let s=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:i}=e,o=n;for(;o>=0&&o<i;){let a=e.charAt(o);if(t instanceof RegExp){if(!t.test(a))return o}else if(!t.includes(a))return o;s?o--:o++}return o===-1||o===i?o:!1}}var sv=Ft(/\s/),$t=Ft(" "),Ai=Ft(",; "),Ut=Ft(/[^\n\r]/);function Ic(t,e){let n=0;for(let r=0;r<t.line-1;++r)n=e.indexOf(`
44
+ `,n)+1;return n+t.column}var dn=Ic;function Ni(t,e){var n,r,s;if(typeof((r=(n=t.source)==null?void 0:n.start)==null?void 0:r.offset)=="number")return t.source.start.offset;if(typeof t.sourceIndex=="number")return t.sourceIndex;if((s=t.source)!=null&&s.start)return dn(t.source.start,e);throw Object.assign(new Error("Can not locate node."),{node:t})}function mn(t,e){var n,r;if(t.type==="css-comment"&&t.inline)return Ut(e,t.source.startOffset);if(typeof((r=(n=t.source)==null?void 0:n.end)==null?void 0:r.offset)=="number")return t.source.end.offset+1;if(t.source){if(t.source.end)return dn(t.source.end,e);if(te(t.nodes))return mn(G(!1,t.nodes,-1),e)}return null}function yn(t,e){t.source&&(t.source.startOffset=Ni(t,e),t.source.endOffset=mn(t,e));for(let n in t){let r=t[n];n==="source"||!r||typeof r!="object"||(r.type==="value-root"||r.type==="value-unknown"?Pi(r,qc(t),r.text||r.value):yn(r,e))}}function Pi(t,e,n){t.source&&(t.source.startOffset=Ni(t,n)+e,t.source.endOffset=mn(t,n)+e);for(let r in t){let s=t[r];r==="source"||!s||typeof s!="object"||Pi(s,e,n)}}function qc(t){var n;let e=t.source.startOffset;return typeof t.prop=="string"&&(e+=t.prop.length),t.type==="css-atrule"&&typeof t.name=="string"&&(e+=1+t.name.length+t.raws.afterName.match(/^\s*:?\s*/)[0].length),t.type!=="css-atrule"&&typeof((n=t.raws)==null?void 0:n.between)=="string"&&(e+=t.raws.between.length),e}function Ri(t){let e="initial",n="initial",r,s=!1,i=[];for(let o=0;o<t.length;o++){let a=t[o];switch(e){case"initial":if(a==="'"){e="single-quotes";continue}if(a==='"'){e="double-quotes";continue}if((a==="u"||a==="U")&&t.slice(o,o+4).toLowerCase()==="url("){e="url",o+=3;continue}if(a==="*"&&t[o-1]==="/"){e="comment-block";continue}if(a==="/"&&t[o-1]==="/"){e="comment-inline",r=o-1;continue}continue;case"single-quotes":if(a==="'"&&t[o-1]!=="\\"&&(e=n,n="initial"),a===`
45
+ `||a==="\r")return t;continue;case"double-quotes":if(a==='"'&&t[o-1]!=="\\"&&(e=n,n="initial"),a===`
46
+ `||a==="\r")return t;continue;case"url":if(a===")"&&(e="initial"),a===`
47
+ `||a==="\r")return t;if(a==="'"){e="single-quotes",n="url";continue}if(a==='"'){e="double-quotes",n="url";continue}continue;case"comment-block":a==="/"&&t[o-1]==="*"&&(e="initial");continue;case"comment-inline":(a==='"'||a==="'"||a==="*")&&(s=!0),(a===`
48
+ `||a==="\r")&&(s&&i.push([r,o]),e="initial",s=!1);continue}}for(let[o,a]of i)t=t.slice(0,o)+E(!1,t.slice(o,a),/["'*]/g," ")+t.slice(a);return t}function P(t){var e;return(e=t.source)==null?void 0:e.startOffset}function R(t){var e;return(e=t.source)==null?void 0:e.endOffset}function Dc(t){return t.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/,"$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}var Ii=Dc;var gn=new Map([["em","em"],["rem","rem"],["ex","ex"],["rex","rex"],["cap","cap"],["rcap","rcap"],["ch","ch"],["rch","rch"],["ic","ic"],["ric","ric"],["lh","lh"],["rlh","rlh"],["vw","vw"],["svw","svw"],["lvw","lvw"],["dvw","dvw"],["vh","vh"],["svh","svh"],["lvh","lvh"],["dvh","dvh"],["vi","vi"],["svi","svi"],["lvi","lvi"],["dvi","dvi"],["vb","vb"],["svb","svb"],["lvb","lvb"],["dvb","dvb"],["vmin","vmin"],["svmin","svmin"],["lvmin","lvmin"],["dvmin","dvmin"],["vmax","vmax"],["svmax","svmax"],["lvmax","lvmax"],["dvmax","dvmax"],["cm","cm"],["mm","mm"],["q","Q"],["in","in"],["pt","pt"],["pc","pc"],["px","px"],["deg","deg"],["grad","grad"],["rad","rad"],["turn","turn"],["s","s"],["ms","ms"],["hz","Hz"],["khz","kHz"],["dpi","dpi"],["dpcm","dpcm"],["dppx","dppx"],["x","x"],["cqw","cqw"],["cqh","cqh"],["cqi","cqi"],["cqb","cqb"],["cqmin","cqmin"],["cqmax","cqmax"]]);function qi(t){let e=t.toLowerCase();return gn.has(e)?gn.get(e):t}var Di=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,Lc=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,Mc=/[A-Za-z]+/g,Bc=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,Fc=new RegExp(Di.source+`|(${Bc.source})?(${Lc.source})(${Mc.source})?`,"g");function z(t,e){return E(!1,t,Di,n=>Ot(n,e))}function Li(t,e){let n=e.singleQuote?"'":'"';return t.includes('"')||t.includes("'")?t:n+t+n}function me(t){return t.replace(Fc,(e,n,r,s,i)=>!r&&s?wn(s)+se(i||""):e)}function wn(t){return Ii(t).replace(/\.0(?=$|e)/,"")}function Mi(t){return t.trailingComma==="es5"||t.trailingComma==="all"}function $c(t,e,n){var d;let{node:r}=t,s=t.parent,i=t.grandparent,o=ui(t),a=o&&s.type==="value-value"&&(o==="grid"||o.startsWith("grid-template")),u=t.findAncestor(m=>m.type==="css-atrule"),c=u&&tt(u,e),f=r.groups.some(m=>pn(m)),p=t.map(n,"groups"),l=[],g=Se(t,"url"),x=!1,h=!1;for(let m=0;m<r.groups.length;++m){l.push(p[m]);let b=r.groups[m-1],w=r.groups[m],v=r.groups[m+1],N=r.groups[m+2];if(g){(v&&J(v)||J(w))&&l.push(" ");continue}if(Ce(t,"forward")&&w.type==="value-word"&&w.value&&b!==void 0&&b.type==="value-word"&&b.value==="as"&&v.type==="value-operator"&&v.value==="*"||!v||w.type==="value-word"&&w.value.endsWith("-")&&nt(v))continue;if(w.type==="value-string"&&w.quoted){let O=w.value.lastIndexOf("#{"),xe=w.value.lastIndexOf("}");O!==-1&&xe!==-1?x=O>xe:O!==-1?x=!0:xe!==-1&&(x=!1)}if(x||Bt(w)||Bt(v)||w.type==="value-atword"&&(w.value===""||w.value.endsWith("["))||v.type==="value-word"&&v.value.startsWith("]")||w.value==="~"||w.type!=="value-string"&&w.value&&w.value.includes("\\")&&v&&v.type!=="value-comment"||b!=null&&b.value&&b.value.indexOf("\\")===b.value.length-1&&w.type==="value-operator"&&w.value==="/"||w.value==="\\"||ki(w,v)||Lt(w)||hn(w)||Mt(v)||hn(v)&&de(v)||Mt(w)&&de(v)||w.value==="--"&&Lt(v))continue;let U=qt(w),Q=qt(v);if((U&&Lt(v)||Q&&Mt(w))&&de(v)||!b&&et(w)||Se(t,"calc")&&(J(w)||J(v)||he(w)||he(v))&&de(v))continue;let W=(J(w)||he(w))&&m===0&&(v.type==="value-number"||v.isHex)&&i&&Ci(i)&&!de(v),S=(N==null?void 0:N.type)==="value-func"||N&&rt(N)||w.type==="value-func"||rt(w),C=v.type==="value-func"||rt(v)||(b==null?void 0:b.type)==="value-func"||b&&rt(b);if(!(!(It(v)||It(w))&&!Se(t,"calc")&&!W&&(et(v)&&!S||et(w)&&!C||J(v)&&!S||J(w)&&!C||he(v)||he(w))&&(de(v)||U&&(!b||b&&qt(b))))&&!((e.parser==="scss"||e.parser==="less")&&U&&w.value==="-"&&st(v)&&R(w)===P(v.open)&&v.open.value==="(")){if(pn(w)){if(s.type==="value-paren_group"){l.push(fe(_));continue}l.push(_);continue}if(c&&(vi(v)||xi(v)||gi(v)||wi(w)||yi(w))){l.push(" ");continue}if(u&&u.name.toLowerCase()==="namespace"){l.push(" ");continue}if(a){w.source&&v.source&&w.source.start.line!==v.source.start.line?(l.push(_),h=!0):l.push(" ");continue}if(Q){l.push(" ");continue}if((v==null?void 0:v.value)!=="..."&&!(nt(w)&&nt(v)&&R(w)===P(v))){if(nt(w)&&st(v)&&R(w)===P(v.open)){l.push(M);continue}if(w.value==="with"&&st(v)){l.push(" ");continue}(d=w.value)!=null&&d.endsWith("#")&&v.value==="{"&&st(v.group)||l.push(A)}}}return f&&l.push(je),h&&l.unshift(_),c?D(q(l)):pi(t)?D(Qe(l)):D(q(Qe(l)))}var Bi=$c;function Uc(t,e,n){let r=!!(n!=null&&n.backwards);if(e===!1)return!1;let s=t.charAt(e);if(r){if(t.charAt(e-1)==="\r"&&s===`
49
+ `)return e-2;if(s===`
50
+ `||s==="\r"||s==="\u2028"||s==="\u2029")return e-1}else{if(s==="\r"&&t.charAt(e+1)===`
51
+ `)return e+2;if(s===`
52
+ `||s==="\r"||s==="\u2028"||s==="\u2029")return e+1}return e}var Wt=Uc;function Wc(t,e){if(e===!1)return!1;if(t.charAt(e)==="/"&&t.charAt(e+1)==="*"){for(let n=e+2;n<t.length;++n)if(t.charAt(n)==="*"&&t.charAt(n+1)==="/")return n+2}return e}var Fi=Wc;function zc(t,e){return e===!1?!1:t.charAt(e)==="/"&&t.charAt(e+1)==="/"?Ut(t,e):e}var $i=zc;function Vc(t,e,n={}){let r=$t(t,n.backwards?e-1:e,n),s=Wt(t,r,n);return r!==s}var zt=Vc;function Yc(t,e){let n=null,r=e;for(;r!==n;)n=r,r=Ai(t,r),r=Fi(t,r),r=$t(t,r);return r=$i(t,r),r=Wt(t,r),r!==!1&&zt(t,r)}var Vt=Yc;function Gc({node:t,parent:e},n){return!!(t.source&&n.originalText.slice(P(t),P(e.close)).trimEnd().endsWith(","))}function Kc(t,e){return di(t.grandparent)&&Gc(t,e)?",":t.node.type!=="value-comment"&&Mi(e)&&t.callParent(()=>fn(t,e))?Pt(","):""}function Ui(t,e,n){let{node:r,parent:s}=t,i=t.map(({node:g})=>typeof g=="string"?g:n(),"groups");if(s&&hi(s)&&(r.groups.length===1||r.groups.length>0&&r.groups[0].type==="value-comma_group"&&r.groups[0].groups.length>0&&r.groups[0].groups[0].type==="value-word"&&r.groups[0].groups[0].value.startsWith("data:")))return[r.open?n("open"):"",Y(",",i),r.close?n("close"):""];if(!r.open){let g=vn(t),x=Y([",",g?_:A],i);return q(g?[_,x]:D(Qe(x)))}let o=t.map(({node:g,isLast:x,index:h})=>{var b;let d=i[h];if(Dt(g)&&g.type==="value-comma_group"&&g.groups&&g.groups[0].type!=="value-paren_group"&&((b=g.groups[2])==null?void 0:b.type)==="value-paren_group"){let w=Bs(d.contents.contents);w[1]=D(w[1]),d=D(fe(d))}let m=[d,x?Kc(t,e):","];if(!x&&g.type==="value-comma_group"&&te(g.groups)){let w=G(!1,g.groups,-1);!w.source&&w.close&&(w=w.close),w.source&&Vt(e.originalText,R(w))&&m.push(_)}return m},"groups"),a=Ei(r,s),u=Oi(r,s),c=fn(t,e),f=u||c&&!a,p=u||a,l=D([r.open?n("open"):"",q([M,Y(A,o)]),M,r.close?n("close"):""],{shouldBreak:f});return p?fe(l):l}function vn(t){return t.match(e=>e.type==="value-paren_group"&&!e.open&&e.groups.some(n=>n.type==="value-comma_group"),(e,n)=>n==="group"&&e.type==="value-value",(e,n)=>n==="group"&&e.type==="value-root",(e,n)=>n==="value"&&(e.type==="css-decl"&&!e.prop.startsWith("--")||e.type==="css-atrule"&&e.variable))}function Hc(t,e,n){let r=[];return t.each(()=>{let{node:s,previous:i}=t;if((i==null?void 0:i.type)==="css-comment"&&i.text.trim()==="prettier-ignore"?r.push(e.originalText.slice(P(s),R(s))):r.push(n()),t.isLast)return;let{next:o}=t;o.type==="css-comment"&&!zt(e.originalText,P(o),{backwards:!0})&&!Ee(s)||o.type==="css-atrule"&&o.name==="else"&&s.type!=="css-comment"?r.push(" "):(r.push(e.__isHTMLStyleAttribute?A:_),Vt(e.originalText,R(s))&&!Ee(s)&&r.push(_))},"nodes"),r}var Ae=Hc;function Qc(t,e,n){var s,i,o,a,u,c;let{node:r}=t;switch(r.type){case"front-matter":return[r.raw,_];case"css-root":{let f=Ae(t,e,n),p=r.raws.after.trim();return p.startsWith(";")&&(p=p.slice(1).trim()),[r.frontMatter?[n("frontMatter"),_]:"",f,p?` ${p}`:"",r.nodes.length>0?_:""]}case"css-comment":{let f=r.inline||r.raws.inline,p=e.originalText.slice(P(r),R(r));return f?p.trimEnd():p}case"css-rule":return[n("selector"),r.important?" !important":"",r.nodes?[((s=r.selector)==null?void 0:s.type)==="selector-unknown"&&Oe(r.selector.value)?A:r.selector?" ":"","{",r.nodes.length>0?q([_,Ae(t,e,n)]):"",_,"}",mi(r)?";":""]:";"];case"css-decl":{let f=t.parent,{between:p}=r.raws,l=p.trim(),g=l===":",x=typeof r.value=="string"&&/^ *$/.test(r.value),h=typeof r.value=="string"?r.value:n("value");return h=_i(r)?Fs(h):h,!g&&Oe(l)&&!((o=(i=r.value)==null?void 0:i.group)!=null&&o.group&&t.call(()=>vn(t),"value","group","group"))&&(h=q([_,fe(h)])),[E(!1,r.raws.before,/[\s;]/g,""),f.type==="css-atrule"&&f.variable||fi(t)?r.prop:se(r.prop),l.startsWith("//")?" ":"",l,r.extend||x?"":" ",e.parser==="less"&&r.extend&&r.selector?["extend(",n("selector"),")"]:"",h,r.raws.important?r.raws.important.replace(/\s*!\s*important/i," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/i," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/i," !global"):r.scssGlobal?" !global":"",r.nodes?[" {",q([M,Ae(t,e,n)]),M,"}"]:bi(r)&&!f.raws.semicolon&&e.originalText[R(r)-1]!==";"?"":e.__isHTMLStyleAttribute&&Rt(t,r)?Pt(";"):";"]}case"css-atrule":{let f=t.parent,p=cn(r)&&!f.raws.semicolon&&e.originalText[R(r)-1]!==";";if(e.parser==="less"){if(r.mixin)return[n("selector"),r.important?" !important":"",p?"":";"];if(r.function)return[r.name,typeof r.params=="string"?r.params:n("params"),p?"":";"];if(r.variable)return["@",r.name,": ",r.value?n("value"):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?["{",q([r.nodes.length>0?M:"",Ae(t,e,n)]),M,"}"]:"",p?"":";"]}let l=r.name==="import"&&((a=r.params)==null?void 0:a.type)==="value-unknown"&&r.params.value.endsWith(";");return["@",ln(r)||r.name.endsWith(":")?r.name:se(r.name),r.params?[ln(r)?"":cn(r)?r.raws.afterName===""?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(r.raws.afterName)?[_,_]:/^\s*\n/.test(r.raws.afterName)?_:" ":" ",typeof r.params=="string"?r.params:n("params")]:"",r.selector?q([" ",n("selector")]):"",r.value?D([" ",n("value"),tt(r,e)?Ti(r)?" ":A:""]):r.name==="else"?" ":"",r.nodes?[tt(r,e)?"":r.selector&&!r.selector.nodes&&typeof r.selector.value=="string"&&Oe(r.selector.value)||!r.selector&&typeof r.params=="string"&&Oe(r.params)?A:" ","{",q([r.nodes.length>0?M:"",Ae(t,e,n)]),M,"}"]:p||l?"":";"]}case"media-query-list":{let f=[];return t.each(({node:p})=>{p.type==="media-query"&&p.value===""||f.push(n())},"nodes"),D(q(Y(A,f)))}case"media-query":return[Y(" ",t.map(n,"nodes")),Rt(t,r)?"":","];case"media-type":return me(z(r.value,e));case"media-feature-expression":return r.nodes?["(",...t.map(n,"nodes"),")"]:r.value;case"media-feature":return se(z(E(!1,r.value,/ +/g," "),e));case"media-colon":return[r.value," "];case"media-value":return me(z(r.value,e));case"media-keyword":return z(r.value,e);case"media-url":return z(E(!1,E(!1,r.value,/^url\(\s+/gi,"url("),/\s+\)$/g,")"),e);case"media-unknown":return r.value;case"selector-root":return D([Ce(t,"custom-selector")?[t.findAncestor(f=>f.type==="css-atrule").customSelector,A]:"",Y([",",Ce(t,["extend","custom-selector","nest"])?A:_],t.map(n,"nodes"))]);case"selector-selector":return D(q(t.map(n,"nodes")));case"selector-comment":return r.value;case"selector-string":return z(r.value,e);case"selector-tag":return[r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",((u=t.previous)==null?void 0:u.type)==="selector-nesting"?r.value:me(ci(t,r.value)?r.value.toLowerCase():r.value)];case"selector-id":return["#",r.value];case"selector-class":return[".",me(z(r.value,e))];case"selector-attribute":return["[",r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",r.attribute.trim(),r.operator??"",r.value?Li(z(r.value.trim(),e),e):"",r.insensitive?" i":"","]"];case"selector-combinator":{if(r.value==="+"||r.value===">"||r.value==="~"||r.value===">>>"){let l=t.parent;return[l.type==="selector-selector"&&l.nodes[0]===r?"":A,r.value,Rt(t,r)?"":" "]}let f=r.value.trim().startsWith("(")?A:"",p=me(z(r.value.trim(),e))||A;return[f,p]}case"selector-universal":return[r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",r.value];case"selector-pseudo":return[se(r.value),te(r.nodes)?D(["(",q([M,Y([",",A],t.map(n,"nodes"))]),M,")"]):""];case"selector-nesting":return r.value;case"selector-unknown":{let f=t.findAncestor(g=>g.type==="css-rule");if(f!=null&&f.isSCSSNesterProperty)return me(z(se(r.value),e));let p=t.parent;if((c=p.raws)!=null&&c.selector){let g=P(p),x=g+p.raws.selector.length;return e.originalText.slice(g,x).trim()}let l=t.grandparent;if(p.type==="value-paren_group"&&(l==null?void 0:l.type)==="value-func"&&l.value==="selector"){let g=R(p.open)+1,x=P(p.close),h=e.originalText.slice(g,x).trim();return Oe(h)?[je,h]:h}return r.value}case"value-value":case"value-root":return n("group");case"value-comment":return e.originalText.slice(P(r),R(r));case"value-comma_group":return Bi(t,e,n);case"value-paren_group":return Ui(t,e,n);case"value-func":return[r.value,Ce(t,"supports")&&Si(r)?" ":"",n("group")];case"value-paren":return r.value;case"value-number":return[wn(r.value),qi(r.unit)];case"value-operator":return r.value;case"value-word":return r.isColor&&r.isHex||li(r.value)?r.value.toLowerCase():r.value;case"value-colon":{let{previous:f}=t;return[r.value,typeof(f==null?void 0:f.value)=="string"&&f.value.endsWith("\\")||Se(t,"url")?"":A]}case"value-string":return Ot(r.raws.quote+r.value+r.raws.quote,e);case"value-atword":return["@",r.value];case"value-unicode-range":return r.value;case"value-unknown":return r.value;case"value-comma":default:throw new $s(r,"PostCSS")}}var jc={print:Qc,embed:Ys,insertPragma:si,massageAstNode:Ws,getVisitorKeys:ai},Wi=jc;var Et={};rn(Et,{css:()=>$g,less:()=>Ug,scss:()=>Wg});var Ml=ue(dt(),1),Bl=ue(Jo(),1),Fl=ue(qa(),1);function Zp(t,e){let n=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(n,e)}var Da=Zp;function eh(t,e){return e.parser!=="scss"||!t.selector?!1:t.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trim().endsWith(":")}var La=eh;var th=new Set(["import","use","forward"]);function rh(t){return th.has(t)}var Ma=rh;var Cl=ue(Pu(),1);var ad=t=>{for(;t.parent;)t=t.parent;return t},Pr=ad;function ud(t){return Pr(t).text.slice(t.group.open.sourceIndex+1,t.group.close.sourceIndex).trim()}var Ru=ud;function ld(t){if(te(t)){for(let e=t.length-1;e>0;e--)if(t[e].type==="word"&&t[e].value==="{"&&t[e-1].type==="word"&&t[e-1].value.endsWith("#"))return!0}return!1}var Iu=ld;function cd(t){return t.some(e=>e.type==="string"||e.type==="func"&&!e.value.endsWith("\\"))}var qu=cd;function fd(t,e){return!!(e.parser==="scss"&&(t==null?void 0:t.type)==="word"&&t.value.startsWith("$"))}var Du=fd;var Sl=ue(El(),1);function Z(t,e,n){if(t&&typeof t=="object"){delete t.parent;for(let r in t)Z(t[r],e,n),r==="type"&&typeof t[r]=="string"&&!t[r].startsWith(e)&&(!n||!n.test(t[r]))&&(t[r]=e+t[r])}return t}function ws(t){if(t&&typeof t=="object"){delete t.parent;for(let e in t)ws(t[e]);!Array.isArray(t)&&t.value&&!t.type&&(t.type="unknown")}return t}function kg(t){if(/\/\/|\/\*/.test(t))return{type:"selector-unknown",value:t.trim()};let e;try{new Sl.default(n=>{e=n}).process(t)}catch{return{type:"selector-unknown",value:t}}return Z(e,"selector-")}var ee=kg;function _g(t,e){var u;let{nodes:n}=t,r={open:null,close:null,groups:[],type:"paren_group"},s=[r],i=r,o={groups:[],type:"comma_group"},a=[o];for(let c=0;c<n.length;++c){let f=n[c];if(e.parser==="scss"&&f.type==="number"&&f.unit===".."&&f.value.endsWith(".")&&(f.value=f.value.slice(0,-1),f.unit="..."),f.type==="func"&&f.value==="selector"&&(f.group.groups=[ee(Pr(t).text.slice(f.group.open.sourceIndex+1,f.group.close.sourceIndex))]),f.type==="func"&&f.value==="url"){let p=((u=f.group)==null?void 0:u.groups)??[],l=[];for(let g=0;g<p.length;g++){let x=p[g];x.type==="comma_group"?l=[...l,...x.groups]:l.push(x)}(Iu(l)||!qu(l)&&!Du(l[0],e))&&(f.group.groups=[Ru(f)])}if(f.type==="paren"&&f.value==="(")r={open:f,close:null,groups:[],type:"paren_group"},s.push(r),o={groups:[],type:"comma_group"},a.push(o);else if(f.type==="paren"&&f.value===")"){if(o.groups.length>0&&r.groups.push(o),r.close=f,a.length===1)throw new Error("Unbalanced parenthesis");a.pop(),o=G(!1,a,-1),o.groups.push(r),s.pop(),r=G(!1,s,-1)}else f.type==="comma"?(r.groups.push(o),o={groups:[],type:"comma_group"},a[a.length-1]=o):o.groups.push(f)}return o.groups.length>0&&r.groups.push(o),i}function en(t){return t.type==="paren_group"&&!t.open&&!t.close&&t.groups.length===1||t.type==="comma_group"&&t.groups.length===1?en(t.groups[0]):t.type==="paren_group"||t.type==="comma_group"?{...t,groups:t.groups.map(en)}:t}function Ol(t,e){if(t&&typeof t=="object")for(let n in t)n!=="parent"&&(Ol(t[n],e),n==="nodes"&&(t.group=en(_g(t,e)),delete t[n]));return t}function Tg(t,e){if(e.parser==="less"&&t.startsWith("~`"))return{type:"value-unknown",value:t};let n=null;try{n=new Cl.default(t,{loose:!0}).parse()}catch{return{type:"value-unknown",value:t}}n.text=t;let r=Ol(n,e);return Z(r,"value-",/^selector-/)}var ae=Tg;var Dl=ue(ql(),1);var Lg=Dl.default.default;function Mg(t){let e;try{e=Lg(t)}catch{return{type:"selector-unknown",value:t}}return Z(ws(e),"media-")}var Ll=Mg;var Bg=/(\s*)(!default).*$/,Fg=/(\s*)(!global).*$/;function $l(t,e){var n,r;if(t&&typeof t=="object"){delete t.parent;for(let a in t)$l(t[a],e);if(!t.type)return t;if(t.raws??(t.raws={}),t.type==="css-decl"&&typeof t.prop=="string"&&t.prop.startsWith("--")&&typeof t.value=="string"&&t.value.startsWith("{")){let a;if(t.value.trimEnd().endsWith("}")){let u=e.originalText.slice(0,t.source.start.offset),c="a".repeat(t.prop.length)+e.originalText.slice(t.source.start.offset+t.prop.length,t.source.end.offset+1),f=E(!1,u,/[^\n]/g," ")+c,p;e.parser==="scss"?p=zl:e.parser==="less"?p=Wl:p=Ul;let l;try{l=p(f,{...e})}catch{}((n=l==null?void 0:l.nodes)==null?void 0:n.length)===1&&l.nodes[0].type==="css-rule"&&(a=l.nodes[0].nodes)}return a?t.value={type:"css-rule",nodes:a}:t.value={type:"value-unknown",value:t.raws.value.raw},t}let s="";typeof t.selector=="string"&&(s=t.raws.selector?t.raws.selector.scss??t.raws.selector.raw:t.selector,t.raws.between&&t.raws.between.trim().length>0&&(s+=t.raws.between),t.raws.selector=s);let i="";typeof t.value=="string"&&(i=t.raws.value?t.raws.value.scss??t.raws.value.raw:t.value,i=i.trim(),t.raws.value=i);let o="";if(typeof t.params=="string"&&(o=t.raws.params?t.raws.params.scss??t.raws.params.raw:t.params,t.raws.afterName&&t.raws.afterName.trim().length>0&&(o=t.raws.afterName+o),t.raws.between&&t.raws.between.trim().length>0&&(o=o+t.raws.between),o=o.trim(),t.raws.params=o),s.trim().length>0)return s.startsWith("@")&&s.endsWith(":")?t:t.mixin?(t.selector=ae(s,e),t):(La(t,e)&&(t.isSCSSNesterProperty=!0),t.selector=ee(s),t);if(i.length>0){let a=i.match(Bg);a&&(i=i.slice(0,a.index),t.scssDefault=!0,a[0].trim()!=="!default"&&(t.raws.scssDefault=a[0]));let u=i.match(Fg);if(u&&(i=i.slice(0,u.index),t.scssGlobal=!0,u[0].trim()!=="!global"&&(t.raws.scssGlobal=u[0])),i.startsWith("progid:"))return{type:"value-unknown",value:i};t.value=ae(i,e)}if(e.parser==="less"&&t.type==="css-decl"&&i.startsWith("extend(")&&(t.extend||(t.extend=t.raws.between===":"),t.extend&&!t.selector&&(delete t.value,t.selector=ee(i.slice(7,-1)))),t.type==="css-atrule"){if(e.parser==="less"){if(t.mixin){let a=t.raws.identifier+t.name+t.raws.afterName+t.raws.params;return t.selector=ee(a),delete t.params,t}if(t.function)return t}if(e.parser==="css"&&t.name==="custom-selector"){let a=t.params.match(/:--\S+\s+/)[0].trim();return t.customSelector=a,t.selector=ee(t.params.slice(a.length).trim()),delete t.params,t}if(e.parser==="less"){if(t.name.includes(":")&&!t.params){t.variable=!0;let a=t.name.split(":");t.name=a[0],t.value=ae(a.slice(1).join(":"),e)}if(!["page","nest","keyframes"].includes(t.name)&&((r=t.params)==null?void 0:r[0])===":"){t.variable=!0;let a=t.params.slice(1);a&&(t.value=ae(a,e)),t.raws.afterName+=":"}if(t.variable)return delete t.params,t.value||delete t.value,t}}if(t.type==="css-atrule"&&o.length>0){let{name:a}=t,u=t.name.toLowerCase();return a==="warn"||a==="error"?(t.params={type:"media-unknown",value:o},t):a==="extend"||a==="nest"?(t.selector=ee(o),delete t.params,t):a==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/s.test(o)?t.params=ae(o,e):(t.selector=ee(o),delete t.params),t):Ma(u)?(t.import=!0,delete t.filename,t.params=ae(o,e),t):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(a)?(o=o.replace(/(\$\S+?)(\s+)?\.{3}/,"$1...$2"),o=o.replace(/^(?!if)(\S+)(\s+)\(/,"$1($2"),t.value=ae(o,e),delete t.params,t):["media","custom-media"].includes(u)?o.includes("#{")?{type:"media-unknown",value:o}:(t.params=Ll(o),t):(t.params=o,t)}}return t}function Ss(t,e,n){let r=Je(e),{frontMatter:s}=r;e=r.content;let i;try{i=t(e,{map:!1})}catch(o){let{name:a,reason:u,line:c,column:f}=o;throw typeof c!="number"?o:Da(`${a}: ${u}`,{loc:{start:{line:c,column:f}},cause:o})}return n.originalText=e,i=$l(Z(i,"css-"),n),yn(i,e),s&&(s.source={startOffset:0,endOffset:s.raw.length},i.frontMatter=s),i}function Ul(t,e={}){return Ss(Ml.default.default,t,e)}function Wl(t,e={}){return Ss(n=>Bl.default.parse(Ri(n)),t,e)}function zl(t,e={}){return Ss(Fl.default,t,e)}var Cs={astFormat:"postcss",hasPragma:ni,locStart:P,locEnd:R},$g={...Cs,parse:Ul},Ug={...Cs,parse:Wl},Wg={...Cs,parse:zl};var Os=[{linguistLanguageId:50,name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css",".wxss"],parsers:["css"],vscodeLanguageIds:["css"]},{linguistLanguageId:262764437,name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",parsers:["css"],vscodeLanguageIds:["postcss"]},{linguistLanguageId:198,name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",parsers:["less"],vscodeLanguageIds:["less"]},{linguistLanguageId:329,name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],parsers:["scss"],vscodeLanguageIds:["scss"]}];var Vl={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var zg={singleQuote:Vl.singleQuote},As=zg;var Yl={postcss:Wi};return Jl(Vg);});