var csso=(()=>{var Xs=Object.create;var Dt=Object.defineProperty;var Zs=Object.getOwnPropertyDescriptor;var Js=Object.getOwnPropertyNames;var el=Object.getPrototypeOf,tl=Object.prototype.hasOwnProperty;var Gi=e=>Dt(e,"__esModule",{value:!0});var Be=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),y=(e,t)=>{Gi(e);for(var r in t)Dt(e,r,{get:t[r],enumerable:!0})},rl=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Js(t))!tl.call(e,n)&&n!=="default"&&Dt(e,n,{get:()=>t[n],enumerable:!(r=Zs(t,n))||r.enumerable});return e},nl=e=>rl(Gi(Dt(e!=null?Xs(el(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var lo=Be(Pr=>{var so="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");Pr.encode=function(e){if(0<=e&&e{var co=lo(),Ir=5,uo=1<>1;return t?-r:r}zr.encode=function(t){var r="",n,i=bl(t);do n=i&po,i>>>=Ir,i>0&&(n|=ho),r+=co.encode(n);while(i>0);return r};zr.decode=function(t,r,n){var i=t.length,o=0,a=0,l,c;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(c=co.decode(t.charCodeAt(r++)),c===-1)throw new Error("Invalid base64 digit: "+t.charAt(r-1));l=!!(c&ho),c&=po,o=o+(c<{function xl(e,t,r){if(t in e)return e[t];if(arguments.length===3)return r;throw new Error('"'+t+'" is a required argument.')}X.getArg=xl;var mo=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,kl=/^data:.+\,.+$/;function ct(e){var t=e.match(mo);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}X.urlParse=ct;function Ve(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}X.urlGenerate=Ve;var wl=32;function vl(e){var t=[];return function(r){for(var n=0;nwl&&t.pop(),o}}var Or=vl(function(t){var r=t,n=ct(t);if(n){if(!n.path)return t;r=n.path}for(var i=X.isAbsolute(r),o=[],a=0,l=0;;)if(a=l,l=r.indexOf("/",a),l===-1){o.push(r.slice(a));break}else for(o.push(r.slice(a,l));l=0;l--)c=o[l],c==="."?o.splice(l,1):c===".."?s++:s>0&&(c===""?(o.splice(l+1,s),s=0):(o.splice(l,2),s--));return r=o.join("/"),r===""&&(r=i?"/":"."),n?(n.path=r,Ve(n)):r});X.normalize=Or;function go(e,t){e===""&&(e="."),t===""&&(t=".");var r=ct(t),n=ct(e);if(n&&(e=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),Ve(r);if(r||t.match(kl))return t;if(n&&!n.host&&!n.path)return n.host=t,Ve(n);var i=t.charAt(0)==="/"?t:Or(e.replace(/\/+$/,"")+"/"+t);return n?(n.path=i,Ve(n)):i}X.join=go;X.isAbsolute=function(e){return e.charAt(0)==="/"||mo.test(e)};function Sl(e,t){e===""&&(e="."),e=e.replace(/\/$/,"");for(var r=0;t.indexOf(e+"/")!==0;){var n=e.lastIndexOf("/");if(n<0||(e=e.slice(0,n),e.match(/^([^\/]+:\/)?\/*$/)))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)}X.relative=Sl;var bo=function(){var e=Object.create(null);return!("__proto__"in e)}();function yo(e){return e}function Cl(e){return xo(e)?"$"+e:e}X.toSetString=bo?yo:Cl;function Al(e){return xo(e)?e.slice(1):e}X.fromSetString=bo?yo:Al;function xo(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var r=t-10;r>=0;r--)if(e.charCodeAt(r)!==36)return!1;return!0}function El(e,t,r){var n=we(e.source,t.source);return n!==0||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0||r)||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=e.generatedLine-t.generatedLine,n!==0)?n:we(e.name,t.name)}X.compareByOriginalPositions=El;function Tl(e,t,r){var n;return n=e.originalLine-t.originalLine,n!==0||(n=e.originalColumn-t.originalColumn,n!==0||r)||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=e.generatedLine-t.generatedLine,n!==0)?n:we(e.name,t.name)}X.compareByOriginalPositionsNoSource=Tl;function Ll(e,t,r){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0||r)||(n=we(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:we(e.name,t.name)}X.compareByGeneratedPositionsDeflated=Ll;function jl(e,t,r){var n=e.generatedColumn-t.generatedColumn;return n!==0||r||(n=we(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:we(e.name,t.name)}X.compareByGeneratedPositionsDeflatedNoLine=jl;function we(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function Pl(e,t){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=we(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:we(e.name,t.name)}X.compareByGeneratedPositionsInflated=Pl;function Il(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}X.parseSourceMapInput=Il;function zl(e,t,r){if(t=t||"",e&&(e[e.length-1]!=="/"&&t[0]!=="/"&&(e+="/"),t=e+t),r){var n=ct(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var i=n.path.lastIndexOf("/");i>=0&&(n.path=n.path.substring(0,i+1))}t=go(Ve(n),t)}return Or(t)}X.computeSourceURL=zl});var wo=Be(ko=>{var Dr=Wt(),Nr=Object.prototype.hasOwnProperty,Ne=typeof Map!="undefined";function ve(){this._array=[],this._set=Ne?new Map:Object.create(null)}ve.fromArray=function(t,r){for(var n=new ve,i=0,o=t.length;i=0)return r}else{var n=Dr.toSetString(t);if(Nr.call(this._set,n))return this._set[n]}throw new Error('"'+t+'" is not in the set.')};ve.prototype.at=function(t){if(t>=0&&t{var vo=Wt();function Ol(e,t){var r=e.generatedLine,n=t.generatedLine,i=e.generatedColumn,o=t.generatedColumn;return n>r||n==r&&o>=i||vo.compareByGeneratedPositionsInflated(e,t)<=0}function Yt(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Yt.prototype.unsortedForEach=function(t,r){this._array.forEach(t,r)};Yt.prototype.add=function(t){Ol(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))};Yt.prototype.toArray=function(){return this._sorted||(this._array.sort(vo.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};So.MappingList=Yt});var Eo=Be(Ao=>{var ut=fo(),Y=Wt(),Vt=wo().ArraySet,Dl=Co().MappingList;function se(e){e||(e={}),this._file=Y.getArg(e,"file",null),this._sourceRoot=Y.getArg(e,"sourceRoot",null),this._skipValidation=Y.getArg(e,"skipValidation",!1),this._sources=new Vt,this._names=new Vt,this._mappings=new Dl,this._sourcesContents=null}se.prototype._version=3;se.fromSourceMap=function(t){var r=t.sourceRoot,n=new se({file:t.file,sourceRoot:r});return t.eachMapping(function(i){var o={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(o.source=i.source,r!=null&&(o.source=Y.relative(r,o.source)),o.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(o.name=i.name)),n.addMapping(o)}),t.sources.forEach(function(i){var o=i;r!==null&&(o=Y.relative(r,i)),n._sources.has(o)||n._sources.add(o);var a=t.sourceContentFor(i);a!=null&&n.setSourceContent(i,a)}),n};se.prototype.addMapping=function(t){var r=Y.getArg(t,"generated"),n=Y.getArg(t,"original",null),i=Y.getArg(t,"source",null),o=Y.getArg(t,"name",null);this._skipValidation||this._validateMapping(r,n,i,o),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),o!=null&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:o})};se.prototype.setSourceContent=function(t,r){var n=t;this._sourceRoot!=null&&(n=Y.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Y.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[Y.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};se.prototype.applySourceMap=function(t,r,n){var i=r;if(r==null){if(t.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);i=t.file}var o=this._sourceRoot;o!=null&&(i=Y.relative(o,i));var a=new Vt,l=new Vt;this._mappings.unsortedForEach(function(c){if(c.source===i&&c.originalLine!=null){var s=t.originalPositionFor({line:c.originalLine,column:c.originalColumn});s.source!=null&&(c.source=s.source,n!=null&&(c.source=Y.join(n,c.source)),o!=null&&(c.source=Y.relative(o,c.source)),c.originalLine=s.line,c.originalColumn=s.column,s.name!=null&&(c.name=s.name))}var u=c.source;u!=null&&!a.has(u)&&a.add(u);var p=c.name;p!=null&&!l.has(p)&&l.add(p)},this),this._sources=a,this._names=l,t.sources.forEach(function(c){var s=t.sourceContentFor(c);s!=null&&(n!=null&&(c=Y.join(n,c)),o!=null&&(c=Y.relative(o,c)),this.setSourceContent(c,s))},this)};se.prototype._validateMapping=function(t,r,n,i){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(t&&"line"in t&&"column"in t&&t.line>0&&t.column>=0&&!r&&!n&&!i)){if(t&&"line"in t&&"column"in t&&r&&"line"in r&&"column"in r&&t.line>0&&t.column>=0&&r.line>0&&r.column>=0&&n)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:t,source:n,original:r,name:i}))}};se.prototype._serializeMappings=function(){for(var t=0,r=1,n=0,i=0,o=0,a=0,l="",c,s,u,p,h=this._mappings.toArray(),d=0,b=h.length;d0){if(!Y.compareByGeneratedPositionsInflated(s,h[d-1]))continue;c+=","}c+=ut.encode(s.generatedColumn-t),t=s.generatedColumn,s.source!=null&&(p=this._sources.indexOf(s.source),c+=ut.encode(p-a),a=p,c+=ut.encode(s.originalLine-1-i),i=s.originalLine-1,c+=ut.encode(s.originalColumn-n),n=s.originalColumn,s.name!=null&&(u=this._names.indexOf(s.name),c+=ut.encode(u-o),o=u)),l+=c}return l};se.prototype._generateSourcesContent=function(t,r){return t.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=Y.relative(r,n));var i=Y.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};se.prototype.toJSON=function(){var t={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(t.file=this._file),this._sourceRoot!=null&&(t.sourceRoot=this._sourceRoot),this._sourcesContents&&(t.sourcesContent=this._generateSourcesContent(t.sources,t.sourceRoot)),t};se.prototype.toString=function(){return JSON.stringify(this.toJSON())};Ao.SourceMapGenerator=se});var wm={};y(wm,{minify:()=>xm,minifyBlock:()=>km,syntax:()=>kr,utils:()=>Yi,version:()=>Ki});var Ki="4.2.0";var kr={};y(kr,{compress:()=>Wi,find:()=>um,findAll:()=>hm,findLast:()=>pm,fromPlainObject:()=>fm,generate:()=>lm,lexer:()=>om,parse:()=>sm,specificity:()=>br,toPlainObject:()=>dm,tokenize:()=>am,walk:()=>cm});var _e={};y(_e,{AtKeyword:()=>D,BadString:()=>ze,BadUrl:()=>K,CDC:()=>W,CDO:()=>he,Colon:()=>N,Comma:()=>Q,Comment:()=>P,Delim:()=>g,Dimension:()=>k,EOF:()=>rt,Function:()=>x,Hash:()=>A,Ident:()=>f,LeftCurlyBracket:()=>B,LeftParenthesis:()=>j,LeftSquareBracket:()=>H,Number:()=>m,Percentage:()=>L,RightCurlyBracket:()=>G,RightParenthesis:()=>S,RightSquareBracket:()=>$,Semicolon:()=>q,String:()=>V,Url:()=>_,WhiteSpace:()=>v});var rt=0,f=1,x=2,D=3,A=4,V=5,ze=6,_=7,K=8,g=9,m=10,L=11,k=12,v=13,he=14,W=15,N=16,q=17,Q=18,H=19,$=20,j=21,S=22,B=23,G=24,P=25;var il=0;function U(e){return e>=48&&e<=57}function ie(e){return U(e)||e>=65&&e<=70||e>=97&&e<=102}function Nt(e){return e>=65&&e<=90}function ol(e){return e>=97&&e<=122}function al(e){return Nt(e)||ol(e)}function sl(e){return e>=128}function Rt(e){return al(e)||sl(e)||e===95}function nt(e){return Rt(e)||U(e)||e===45}function ll(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function it(e){return e===10||e===13||e===12}function fe(e){return it(e)||e===32||e===9}function re(e,t){return!(e!==92||it(t)||t===il)}function Ue(e,t,r){return e===45?Rt(t)||t===45||re(t,r):Rt(e)?!0:e===92?re(e,t):!1}function Mt(e,t,r){return e===43||e===45?U(t)?2:t===46&&U(r)?3:0:e===46?U(t)?2:0:U(e)?1:0}function Ft(e){return e===65279||e===65534?1:0}var wr=new Array(128),cl=128,ot=130,vr=131,Bt=132,Sr=133;for(let e=0;ee.length)return!1;for(let i=t;i=0&&fe(e.charCodeAt(t));t--);return t+1}function at(e,t){for(;t=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}var He=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token"];var ul=16*1024;function We(e=null,t){return e===null||e.length0?Ft(t.charCodeAt(0)):0,i=We(e.lines,r),o=We(e.columns,r),a=e.startLine,l=e.startColumn;for(let c=n;c{}){t=String(t||"");let n=t.length,i=We(this.offsetAndType,t.length+1),o=We(this.balance,t.length+1),a=0,l=0,c=0,s=-1;for(this.offsetAndType=null,this.balance=null,r(t,(u,p,h)=>{switch(u){default:o[a]=n;break;case l:{let d=c&ae;for(c=o[d],l=c>>Ee,o[a]=d,o[d++]=a;d>Ee:rt}lookupOffset(t){return t+=this.tokenIndex,t0?t>Ee,this.tokenEnd=r&ae):(this.tokenIndex=this.tokenCount,this.next())}next(){let t=this.tokenIndex+1;t>Ee,this.tokenEnd=t&ae):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=rt,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===v||this.tokenType===P;)this.next()}skipUntilBalanced(t,r){let n=t,i,o;e:for(;n0?this.offsetAndType[n-1]&ae:this.firstCharOffset,r(this.source.charCodeAt(o))){case 1:break e;case 2:n++;break e;default:this.balance[i]===n&&(n=i)}}this.skip(n-this.tokenIndex)}forEachToken(t){for(let r=0,n=this.firstCharOffset;r>Ee;n=a,t(l,i,a,r)}}dump(){let t=new Array(this.tokenCount);return this.forEachToken((r,n,i,o)=>{t[o]={idx:o,type:He[r],chunk:this.source.substring(n,i),balance:this.balance[o]}}),t}};function Te(e,t){function r(p){return p=e.length){sString(u+d+1).padStart(c)+" |"+h).join(` `)}let o=e.split(/\r\n?|\n|\f/),a=Math.max(1,t-n)-1,l=Math.min(t+n,o.length+1),c=Math.max(4,String(l).length)+1,s=0;r+=(eo.length-1)*(o[t-1].substr(0,r-1).match(/\t/g)||[]).length,r>Er&&(s=r-Ji+3,r=Ji-2);for(let u=a;u<=l;u++)u>=0&&u0&&o[u].length>s?"\u2026":"")+o[u].substr(s,Er-2)+(o[u].length>s+Er-1?"\u2026":""));return[i(a,t),new Array(r+c+2).join("-")+"^",i(t,l)].filter(Boolean).join(` `)}function Tr(e,t,r,n,i){return Object.assign(De("SyntaxError",e),{source:t,offset:r,line:n,column:i,sourceFragment(a){return to({source:t,line:n,column:i},isNaN(a)?0:a)},get formattedMessage(){return`Parse error: ${e} `+to({source:t,line:n,column:i},2)}})}function ro(e){let t=this.createList(),r=!1,n={recognizer:e};for(;!this.eof;){switch(this.tokenType){case P:this.next();continue;case v:r=!0,this.next();continue}let i=e.getNode.call(this,n);if(i===void 0)break;r&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,n),r=!1),t.push(i)}return r&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,n),t}var no=()=>{},fl=33,dl=35,Lr=59,io=123,oo=0;function ml(e){return function(){return this[e]()}}function jr(e){let t=Object.create(null);for(let r in e){let n=e[r];n.parse&&(t[r]=n.parse)}return t}function gl(e){let t={context:Object.create(null),scope:Object.assign(Object.create(null),e.scope),atrule:jr(e.atrule),pseudo:jr(e.pseudo),node:jr(e.node)};for(let r in e.parseContext)switch(typeof e.parseContext[r]){case"function":t.context[r]=e.parseContext[r];break;case"string":t.context[r]=ml(e.parseContext[r]);break}return{config:t,...t,...t.node}}function ao(e){let t="",r="",n=!1,i=no,o=!1,a=new Ar,l=Object.assign(new Ht,gl(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:ro,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(s){return s===io?1:0},consumeUntilLeftCurlyBracketOrSemicolon(s){return s===io||s===Lr?1:0},consumeUntilExclamationMarkOrSemicolon(s){return s===fl||s===Lr?1:0},consumeUntilSemicolonIncluded(s){return s===Lr?2:0},createList(){return new w},createSingleNodeList(s){return new w().appendData(s)},getFirstListNode(s){return s&&s.first},getLastListNode(s){return s&&s.last},parseWithFallback(s,u){let p=this.tokenIndex;try{return s.call(this)}catch(h){if(o)throw h;let d=u.call(this,p);return o=!0,i(h,d),o=!1,d}},lookupNonWSType(s){let u;do if(u=this.lookupType(s++),u!==v)return u;while(u!==oo);return oo},charCodeAt(s){return s>=0&&sd.toUpperCase()),p=`${/[[\](){}]/.test(u)?`"${u}"`:u} is expected`,h=this.tokenStart;switch(s){case f:this.tokenType===x||this.tokenType===_?(h=this.tokenEnd-1,p="Identifier is expected but function found"):p="Identifier is expected";break;case A:this.isDelim(dl)&&(this.next(),h++,p="Name is expected");break;case L:this.tokenType===m&&(h=this.tokenEnd,p="Percent sign is expected");break}this.error(p,h)}this.next()},eatIdent(s){(this.tokenType!==f||this.lookupValue(0,s)===!1)&&this.error(`Identifier "${s}" is expected`),this.next()},eatDelim(s){this.isDelim(s)||this.error(`Delim "${String.fromCharCode(s)}" is expected`),this.next()},getLocation(s,u){return n?a.getLocationRange(s,u,r):null},getLocationFromList(s){if(n){let u=this.getFirstListNode(s),p=this.getLastListNode(s);return a.getLocationRange(u!==null?u.loc.start.offset-a.startOffset:this.tokenStart,p!==null?p.loc.end.offset-a.startOffset:this.tokenStart,r)}return null},error(s,u){let p=typeof u!="undefined"&&u",n=Boolean(u.positions),i=typeof u.onParseError=="function"?u.onParseError:no,o=!1,l.parseAtrulePrelude="parseAtrulePrelude"in u?Boolean(u.parseAtrulePrelude):!0,l.parseRulePrelude="parseRulePrelude"in u?Boolean(u.parseRulePrelude):!0,l.parseValue="parseValue"in u?Boolean(u.parseValue):!0,l.parseCustomProperty="parseCustomProperty"in u?Boolean(u.parseCustomProperty):!1;let{context:p="default",onComment:h}=u;if(!(p in l.context))throw new Error("Unknown context `"+p+"`");typeof h=="function"&&l.forEachToken((b,T,O)=>{if(b===P){let C=l.getLocation(T,O),z=ke(t,O-2,O,"*/")?t.slice(T+2,O-2):t.slice(T+2,O);h(z,C)}});let d=l.context[p].call(l,u);return l.eof||l.error(),d},{SyntaxError:Tr,config:l.config})}var To=nl(Eo()),Lo=new Set(["Atrule","Selector","Declaration"]);function jo(e){let t=new To.SourceMapGenerator,r={line:1,column:0},n={line:0,column:0},i={line:1,column:0},o={generated:i},a=1,l=0,c=!1,s=e.node;e.node=function(h){if(h.loc&&h.loc.start&&Lo.has(h.type)){let d=h.loc.start.line,b=h.loc.start.column-1;(n.line!==d||n.column!==b)&&(n.line=d,n.column=b,r.line=a,r.column=l,c&&(c=!1,(r.line!==i.line||r.column!==i.column)&&t.addMapping(o)),c=!0,t.addMapping({source:h.loc.source,original:n,generated:r}))}s.call(this,h),c&&Lo.has(h.type)&&(i.line=a,i.column=l)};let u=e.emit;e.emit=function(h,d,b){for(let T=0;Tzo,spec:()=>Fl});var Nl=43,Rl=45,Rr=(e,t)=>{if(e===g&&(e=t),typeof e=="string"){let r=e.charCodeAt(0);return r>127?32768:r<<8}return e},Po=[[f,f],[f,x],[f,_],[f,K],[f,"-"],[f,m],[f,L],[f,k],[f,W],[f,j],[D,f],[D,x],[D,_],[D,K],[D,"-"],[D,m],[D,L],[D,k],[D,W],[A,f],[A,x],[A,_],[A,K],[A,"-"],[A,m],[A,L],[A,k],[A,W],[k,f],[k,x],[k,_],[k,K],[k,"-"],[k,m],[k,L],[k,k],[k,W],["#",f],["#",x],["#",_],["#",K],["#","-"],["#",m],["#",L],["#",k],["#",W],["-",f],["-",x],["-",_],["-",K],["-","-"],["-",m],["-",L],["-",k],["-",W],[m,f],[m,x],[m,_],[m,K],[m,m],[m,L],[m,k],[m,"%"],[m,W],["@",f],["@",x],["@",_],["@",K],["@","-"],["@",W],[".",m],[".",L],[".",k],["+",m],["+",L],["+",k],["/","*"]],Ml=Po.concat([[f,A],[k,A],[A,A],[D,j],[D,V],[D,N],[L,L],[L,k],[L,x],[L,"-"],[S,f],[S,x],[S,L],[S,k],[S,A],[S,"-"]]);function Io(e){let t=new Set(e.map(([r,n])=>Rr(r)<<16|Rr(n)));return function(r,n,i){let o=Rr(n,i),a=i.charCodeAt(0);return(a===Rl&&n!==f&&n!==x&&n!==W||a===Nl?t.has(r<<16|a<<8):t.has(r<<16|o))&&this.emit(" ",v,!0),o}}var Fl=Io(Po),zo=Io(Ml);var Bl=92;function _l(e,t){if(typeof t=="function"){let r=null;e.children.forEach(n=>{r!==null&&t.call(this,r),this.node(n),r=n});return}e.children.forEach(this.node,this)}function Ul(e){Te(e,(t,r,n)=>{this.token(t,e.slice(r,n))})}function Oo(e){let t=new Map;for(let r in e.node)t.set(r,e.node[r].generate);return function(r,n){let i="",o=0,a={node(c){if(t.has(c.type))t.get(c.type).call(l,c);else throw new Error("Unknown node type: "+c.type)},tokenBefore:zo,token(c,s){o=this.tokenBefore(o,c,s),this.emit(s,c,!1),c===g&&s.charCodeAt(0)===Bl&&this.emit(` `,v,!0)},emit(c){i+=c},result(){return i}};n&&(typeof n.decorator=="function"&&(a=n.decorator(a)),n.sourceMap&&(a=jo(a)),n.mode in Gt&&(a.tokenBefore=Gt[n.mode]));let l={node:c=>a.node(c),children:_l,token:(c,s)=>a.token(c,s),tokenize:Ul};return a.node(r),a.result()}}function Do(e){return{fromPlainObject:function(t){return e(t,{enter:function(r){r.children&&!(r.children instanceof w)&&(r.children=new w().fromArray(r.children))}}),t},toPlainObject:function(t){return e(t,{leave:function(r){r.children&&r.children instanceof w&&(r.children=r.children.toArray())}}),t}}}var{hasOwnProperty:Mr}=Object.prototype,pt=function(){};function No(e){return typeof e=="function"?e:pt}function Ro(e,t){return function(r,n,i){r.type===t&&e.call(this,r,n,i)}}function ql(e,t){let r=t.structure,n=[];for(let i in r){if(Mr.call(r,i)===!1)continue;let o=r[i],a={name:i,type:!1,nullable:!1};Array.isArray(o)||(o=[o]);for(let l of o)l===null?a.nullable=!0:typeof l=="string"?a.type="node":Array.isArray(l)&&(a.type="list");a.type&&n.push(a)}return n.length?{context:t.walkContext,fields:n}:null}function Hl(e){let t={};for(let r in e.node)if(Mr.call(e.node,r)){let n=e.node[r];if(!n.structure)throw new Error("Missed `structure` field in `"+r+"` node type definition");t[r]=ql(r,n)}return t}function Mo(e,t){let r=e.fields.slice(),n=e.context,i=typeof n=="string";return t&&r.reverse(),function(o,a,l,c){let s;i&&(s=a[n],a[n]=o);for(let u of r){let p=o[u.name];if(!u.nullable||p){if(u.type==="list"){if(t?p.reduceRight(c,!1):p.reduce(c,!1))return!0}else if(l(p))return!0}}i&&(a[n]=s)}}function Fo({StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:i}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Rule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Declaration:{StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:i}}}function Bo(e){let t=Hl(e),r={},n={},i=Symbol("break-walk"),o=Symbol("skip-node");for(let s in t)Mr.call(t,s)&&t[s]!==null&&(r[s]=Mo(t[s],!1),n[s]=Mo(t[s],!0));let a=Fo(r),l=Fo(n),c=function(s,u){function p(C,z,Ae){let F=h.call(O,C,z,Ae);return F===i?!0:F===o?!1:!!(b.hasOwnProperty(C.type)&&b[C.type](C,O,p,T)||d.call(O,C,z,Ae)===i)}let h=pt,d=pt,b=r,T=(C,z,Ae,F)=>C||p(z,Ae,F),O={break:i,skip:o,root:s,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof u=="function")h=u;else if(u&&(h=No(u.enter),d=No(u.leave),u.reverse&&(b=n),u.visit)){if(a.hasOwnProperty(u.visit))b=u.reverse?l[u.visit]:a[u.visit];else if(!t.hasOwnProperty(u.visit))throw new Error("Bad value `"+u.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");h=Ro(h,u.visit),d=Ro(d,u.visit)}if(h===pt&&d===pt)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");p(s)};return c.break=i,c.skip=o,c.find=function(s,u){let p=null;return c(s,function(h,d,b){if(u.call(this,h,d,b))return p=h,i}),p},c.findLast=function(s,u){let p=null;return c(s,{reverse:!0,enter:function(h,d,b){if(u.call(this,h,d,b))return p=h,i}}),p},c.findAll=function(s,u){let p=[];return c(s,function(h,d,b){u.call(this,h,d,b)&&p.push(h)}),p},c}function Wl(e){return e}function Yl(e){let{min:t,max:r,comma:n}=e;return t===0&&r===0?"*":t===0&&r===1?"?":t===1&&r===0?n?"#":"+":t===1&&r===1?"":(n?"#":"")+(t===r?"{"+t+"}":"{"+t+","+(r!==0?r:"")+"}")}function Vl(e){switch(e.type){case"Range":return" ["+(e.min===null?"-\u221E":e.min)+","+(e.max===null?"\u221E":e.max)+"]";default:throw new Error("Unknown node type `"+e.type+"`")}}function Gl(e,t,r,n){let i=e.combinator===" "||n?e.combinator:" "+e.combinator+" ",o=e.terms.map(a=>Fr(a,t,r,n)).join(i);return e.explicit||r?(n||o[0]===","?"[":"[ ")+o+(n?"]":" ]"):o}function Fr(e,t,r,n){let i;switch(e.type){case"Group":i=Gl(e,t,r,n)+(e.disallowEmpty?"!":"");break;case"Multiplier":return Fr(e.term,t,r,n)+t(Yl(e),e);case"Type":i="<"+e.name+(e.opts?t(Vl(e.opts),e.opts):"")+">";break;case"Property":i="<'"+e.name+"'>";break;case"Keyword":i=e.name;break;case"AtKeyword":i="@"+e.name;break;case"Function":i=e.name+"(";break;case"String":case"Token":i=e.value;break;case"Comma":i=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(i,e)}function Ge(e,t){let r=Wl,n=!1,i=!1;return typeof t=="function"?r=t:t&&(n=Boolean(t.forceBraces),i=Boolean(t.compact),typeof t.decorate=="function"&&(r=t.decorate)),Fr(e,r,n,i)}var _o={offset:0,line:1,column:1};function Kl(e,t){let r=e.tokens,n=e.longestMatch,i=n1?(u=Kt(o||t,"end")||ht(_o,s),p=ht(u)):(u=Kt(o,"start")||ht(Kt(t,"start")||_o,s.slice(0,a)),p=Kt(o,"end")||ht(u,s.substr(a,l))),{css:s,mismatchOffset:a,mismatchLength:l,start:u,end:p}}function Kt(e,t){let r=e&&e.loc&&e.loc[t];return r?"line"in r?ht(r):r:null}function ht({offset:e,line:t,column:r},n){let i={offset:e,line:t,column:r};if(n){let o=n.split(/\n|\r\n?|\f/);i.offset+=n.length,i.line+=o.length-1,i.column=o.length===1?i.column+n.length:o.pop().length+1}return i}var Ke=function(e,t){let r=De("SyntaxReferenceError",e+(t?" `"+t+"`":""));return r.reference=t,r},Uo=function(e,t,r,n){let i=De("SyntaxMatchError",e),{css:o,mismatchOffset:a,mismatchLength:l,start:c,end:s}=Kl(n,r);return i.rawMessage=e,i.syntax=t?Ge(t):"",i.css=o,i.mismatchOffset=a,i.mismatchLength=l,i.message=e+` syntax: `+i.syntax+` value: `+(o||"")+` --------`+new Array(i.mismatchOffset+1).join("-")+"^",Object.assign(i,c),i.loc={source:r&&r.loc&&r.loc.source||"",start:c,end:s},i};var Qt=new Map,Qe=new Map,$t=45,J=Ql,me=$l;function Xt(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===$t&&e.charCodeAt(t+1)===$t}function qo(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===$t&&e.charCodeAt(t+1)!==$t){let r=e.indexOf("-",t+2);if(r!==-1)return e.substring(t,r+1)}return""}function Ql(e){if(Qt.has(e))return Qt.get(e);let t=e.toLowerCase(),r=Qt.get(t);if(r===void 0){let n=Xt(t,0),i=n?"":qo(t,0);r=Object.freeze({basename:t.substr(i.length),name:t,prefix:i,vendor:i,custom:n})}return Qt.set(e,r),r}function $l(e){if(Qe.has(e))return Qe.get(e);let t=e,r=e[0];r==="/"?r=e[1]==="/"?"//":"/":r!=="_"&&r!=="*"&&r!=="$"&&r!=="#"&&r!=="+"&&r!=="&"&&(r="");let n=Xt(t,r.length);if(!n&&(t=t.toLowerCase(),Qe.has(t))){let l=Qe.get(t);return Qe.set(e,l),l}let i=n?"":qo(t,r.length),o=t.substr(0,r.length+i.length),a=Object.freeze({basename:t.substr(o.length),name:t.substr(r.length),hack:r,vendor:i,prefix:o,custom:n});return Qe.set(e,a),a}var ft=43,ge=45,Br=110,$e=!0,Xl=!1;function _r(e,t){return e!==null&&e.type===g&&e.value.charCodeAt(0)===t}function dt(e,t,r){for(;e!==null&&(e.type===v||e.type===P);)e=r(++t);return t}function Le(e,t,r,n){if(!e)return 0;let i=e.value.charCodeAt(t);if(i===ft||i===ge){if(r)return 0;t++}for(;t6)return 0}return n}function Zt(e,t,r){if(!e)return 0;for(;Hr(r(t),Wo);){if(++e>6)return 0;t++}return t}function Wr(e,t){let r=0;if(e===null||e.type!==f||!xe(e.value,0,Jl)||(e=t(++r),e===null))return 0;if(Hr(e,Zl))return e=t(++r),e===null?0:e.type===f?Zt(mt(e,0,!0),++r,t):Hr(e,Wo)?Zt(1,++r,t):0;if(e.type===m){let n=mt(e,1,!0);return n===0?0:(e=t(++r),e===null?r:e.type===k||e.type===m?!ec(e,Ho)||!mt(e,1,!1)?0:r+1:Zt(n,r,t))}return e.type===k?Zt(mt(e,1,!0),++r,t):0}var tc=["unset","initial","inherit"],rc=["calc(","-moz-calc(","-webkit-calc("],Yr=new Map([[x,S],[j,S],[H,$],[B,G]]),nc=["px","mm","cm","in","pt","pc","q","em","ex","ch","rem","vh","vw","vmin","vmax","vm"],ic=["deg","grad","rad","turn"],oc=["s","ms"],ac=["hz","khz"],sc=["dpi","dpcm","dppx","x"],lc=["fr"],cc=["db"],uc=["st"];function ue(e,t){return te.max)return!0}return!1}function Go(e,t){let r=0,n=[],i=0;e:do{switch(e.type){case G:case S:case $:if(e.type!==r)break e;if(r=n.pop(),n.length===0){i++;break e}break;case x:case j:case H:case B:n.push(r),r=Yr.get(e.type);break}i++}while(e=t(i));return i}function le(e){return function(t,r,n){return t===null?0:t.type===x&&Yo(t.value,rc)?Go(t,r):e(t,r,n)}}function R(e){return function(t){return t===null||t.type!==e?0:1}}function pc(e){return e=e+"(",function(t,r){return t!==null&&Vr(t.value,e)?Go(t,r):0}}function hc(e){if(e===null||e.type!==f)return 0;let t=e.value.toLowerCase();return Yo(t,tc)||Vr(t,"default")?0:1}function fc(e){return e===null||e.type!==f||ue(e.value,0)!==45||ue(e.value,1)!==45?0:1}function dc(e){if(e===null||e.type!==A)return 0;let t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9)return 0;for(let r=1;r/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0),sa={" ":1,"&&":2,"||":3,"|":4};function ir(e){return e.substringToPos(e.findWsEnd(e.pos))}function or(e){let t=e.pos;for(;t=128||Zr[r]===0)break}return e.pos===t&&e.error("Expect a keyword"),e.substringToPos(t)}function ar(e){let t=e.pos;for(;t57)break}return e.pos===t&&e.error("Expect a number"),e.substringToPos(t)}function Oc(e){let t=e.str.indexOf("'",e.pos+1);return t===-1&&(e.pos=e.str.length,e.error("Expect an apostrophe")),e.substringToPos(t+1)}function la(e){let t=null,r=null;return e.eat(nr),t=ar(e),e.charCode()===Qr?(e.pos++,e.charCode()!==oa&&(r=ar(e))):r=t,e.eat(oa),{min:Number(t),max:r?Number(r):0}}function Dc(e){let t=null,r=!1;switch(e.charCode()){case Jo:e.pos++,t={min:0,max:0};break;case ea:e.pos++,t={min:1,max:0};break;case na:e.pos++,t={min:0,max:1};break;case $o:e.pos++,r=!0,e.charCode()===nr?t=la(e):t={min:1,max:0};break;case nr:t=la(e);break;default:return null}return{type:"Multiplier",comma:r,min:t.min,max:t.max,term:null}}function gt(e,t){let r=Dc(e);return r!==null?(r.term=t,r):t}function Jr(e){let t=e.peek();return t===""?null:{type:"Token",value:t}}function Nc(e){let t;return e.eat($r),e.eat(tr),t=or(e),e.eat(tr),e.eat(ra),gt(e,{type:"Property",name:t})}function Rc(e){let t=null,r=null,n=1;return e.eat(rr),e.charCode()===ta&&(e.peek(),n=-1),n==-1&&e.charCode()===aa?e.peek():t=n*Number(ar(e)),ir(e),e.eat(Qr),ir(e),e.charCode()===aa?e.peek():(n=1,e.charCode()===ta&&(e.peek(),n=-1),r=n*Number(ar(e))),e.eat(Xr),t===null&&r===null?null:{type:"Range",min:t,max:r}}function Mc(e){let t,r=null;return e.eat($r),t=or(e),e.charCode()===Zo&&e.nextCharCode()===Ic&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===rr&&(ir(e),r=Rc(e)),e.eat(ra),gt(e,{type:"Type",name:t,opts:r})}function Fc(e){let t=or(e);return e.charCode()===Zo?(e.pos++,{type:"Function",name:t}):gt(e,{type:"Keyword",name:t})}function Bc(e,t){function r(i,o){return{type:"Group",terms:i,combinator:o,disallowEmpty:!1,explicit:!1}}let n;for(t=Object.keys(t).sort((i,o)=>sa[i]-sa[o]);t.length>0;){n=t.shift();let i=0,o=0;for(;i1&&(e.splice(o,i-o,r(e.slice(o,i),n)),i=o+1),o=-1))}o!==-1&&t.length&&e.splice(o,i-o,r(e.slice(o,i),n))}return n}function ca(e){let t=[],r={},n,i=null,o=e.pos;for(;n=Uc(e);)n.type!=="Spaces"&&(n.type==="Combinator"?((i===null||i.type==="Combinator")&&(e.pos=o,e.error("Unexpected combinator")),r[n.value]=!0):i!==null&&i.type!=="Combinator"&&(r[" "]=!0,t.push({type:"Combinator",value:" "})),t.push(n),i=n,o=e.pos);return i!==null&&i.type==="Combinator"&&(e.pos-=o,e.error("Unexpected combinator")),{type:"Group",terms:t,combinator:Bc(t,r)||" ",disallowEmpty:!1,explicit:!1}}function _c(e){let t;return e.eat(rr),t=ca(e),e.eat(Xr),t.explicit=!0,e.charCode()===Qo&&(e.pos++,t.disallowEmpty=!0),t}function Uc(e){let t=e.charCode();if(t<128&&Zr[t]===1)return Fc(e);switch(t){case Xr:break;case rr:return gt(e,_c(e));case $r:return e.nextCharCode()===tr?Nc(e):Mc(e);case ia:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===ia?2:1))};case Xo:return e.pos++,e.eat(Xo),{type:"Combinator",value:"&&"};case Qr:return e.pos++,{type:"Comma"};case tr:return gt(e,{type:"String",value:Oc(e)});case Pc:case Ec:case Tc:case jc:case Lc:return{type:"Spaces",value:ir(e)};case zc:return t=e.nextCharCode(),t<128&&Zr[t]===1?(e.pos++,{type:"AtKeyword",name:or(e)}):Jr(e);case Jo:case ea:case na:case $o:case Qo:break;case nr:if(t=e.nextCharCode(),t<48||t>57)return Jr(e);break;default:return Jr(e)}}function bt(e){let t=new Kr(e),r=ca(t);return t.pos!==e.length&&t.error("Unexpected input"),r.terms.length===1&&r.terms[0].type==="Group"?r.terms[0]:r}var yt=function(){};function ua(e){return typeof e=="function"?e:yt}function en(e,t,r){function n(a){switch(i.call(r,a),a.type){case"Group":a.terms.forEach(n);break;case"Multiplier":n(a.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+a.type)}o.call(r,a)}let i=yt,o=yt;if(typeof t=="function"?i=t:t&&(i=ua(t.enter),o=ua(t.leave)),i===yt&&o===yt)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");n(e,r)}var Hc={decorator:function(e){let t=[],r=null;return{...e,node(n){let i=r;r=n,e.node.call(this,n),r=i},emit(n,i,o){t.push({type:i,value:n,node:o?null:r})},result(){return t}}}};function Wc(e){let t=[];return Te(e,(r,n,i)=>t.push({type:r,value:e.slice(n,i),node:null})),t}function pa(e,t){return typeof e=="string"?Wc(e):t.generate(e,Hc)}var E={type:"Match"},I={type:"Mismatch"},sr={type:"DisallowEmpty"},Yc=40,Vc=41;function ee(e,t,r){return t===E&&r===I||e===E&&t===E&&r===E?e:(e.type==="If"&&e.else===I&&t===E&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:r})}function ha(e){return e.length>2&&e.charCodeAt(e.length-2)===Yc&&e.charCodeAt(e.length-1)===Vc}function fa(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&ha(e.name)}function tn(e,t,r){switch(e){case" ":{let n=E;for(let i=t.length-1;i>=0;i--){let o=t[i];n=ee(o,n,I)}return n}case"|":{let n=I,i=null;for(let o=t.length-1;o>=0;o--){let a=t[o];if(fa(a)&&(i===null&&o>0&&fa(t[o-1])&&(i=Object.create(null),n=ee({type:"Enum",map:i},E,n)),i!==null)){let l=(ha(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(l in i)){i[l]=a;continue}}i=null,n=ee(a,E,n)}return n}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=I;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=tn(e,t.filter(function(l){return l!==o}),!1):a=E,n=ee(o,a,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let n=r?E:I;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=tn(e,t.filter(function(l){return l!==o}),!0):a=E,n=ee(o,a,n)}return n}}}function Gc(e){let t=E,r=rn(e.term);if(e.max===0)r=ee(r,sr,I),t=ee(r,null,I),t.then=ee(E,E,t),e.comma&&(t.then.else=ee({type:"Comma",syntax:e},t,I));else for(let n=e.min||1;n<=e.max;n++)e.comma&&t!==E&&(t=ee({type:"Comma",syntax:e},t,I)),t=ee(r,ee(E,E,t),I);if(e.min===0)t=ee(E,E,t);else for(let n=0;n=65&&i<=90&&(i=i|32),i!==n)return!1}return!0}function eu(e){return e.type!==g?!1:e.value!=="?"}function ya(e){return e===null?!0:e.type===Q||e.type===x||e.type===j||e.type===H||e.type===B||eu(e)}function xa(e){return e===null?!0:e.type===S||e.type===$||e.type===G||e.type===g}function tu(e,t,r){function n(){do z++,C=zAe&&(Ae=z)}function s(){p={syntax:t.syntax,opts:t.syntax.opts||p!==null&&p.opts||null,prev:p},F={type:nn,syntax:t.syntax,token:F.token,prev:F}}function u(){F.type===nn?F=F.prev:F={type:ma,syntax:p.syntax,token:F.token,prev:F},p=p.prev}let p=null,h=null,d=null,b=null,T=0,O=null,C=null,z=-1,Ae=0,F={type:Kc,syntax:null,token:null,prev:null};for(n();O===null&&++Td.tokenIndex)&&(d=b,b=!1);else if(d===null){O=$c;break}t=d.nextState,h=d.thenStack,p=d.syntaxStack,F=d.matchStack,z=d.tokenIndex,C=zz){for(;z":"<'"+t.name+"'>"));if(b!==!1&&C!==null&&t.type==="Type"&&(t.name==="custom-ident"&&C.type===f||t.name==="length"&&C.value==="0")){b===null&&(b=o(t,d)),t=I;break}s(),t=te.match;break}case"Keyword":{let Z=t.name;if(C!==null){let te=C.value;if(te.indexOf("\\")!==-1&&(te=te.replace(/\\[09].*$/,"")),on(te,Z)){c(),t=E;break}}t=I;break}case"AtKeyword":case"Function":if(C!==null&&on(C.value,t.name)){c(),t=E;break}t=I;break;case"Token":if(C!==null&&C.value===t.value){c(),t=E;break}t=I;break;case"Comma":C!==null&&C.type===Q?ya(F.token)?t=I:(c(),t=xa(C)?I:E):t=ya(F.token)||xa(C)?E:I;break;case"String":let ce="",ye=z;for(;yeka,isKeyword:()=>iu,isProperty:()=>nu,isType:()=>ru});function ka(e){function t(i){return i===null?!1:i.type==="Type"||i.type==="Property"||i.type==="Keyword"}function r(i){if(Array.isArray(i.match)){for(let o=0;or.type==="Type"&&r.name===t)}function nu(e,t){return sn(this,e,r=>r.type==="Property"&&r.name===t)}function iu(e){return sn(this,e,t=>t.type==="Keyword")}function sn(e,t,r){let n=ka.call(e,t);return n===null?!1:n.some(r)}function wa(e){return"node"in e?e.node:wa(e.match[0])}function va(e){return"node"in e?e.node:va(e.match[e.match.length-1])}function cn(e,t,r,n,i){function o(l){if(l.syntax!==null&&l.syntax.type===n&&l.syntax.name===i){let c=wa(l),s=va(l);e.syntax.walk(t,function(u,p,h){if(u===c){let d=new w;do{if(d.appendData(p.data),p.data===s)break;p=p.next}while(p!==null);a.push({parent:h,nodes:d})}})}Array.isArray(l.match)&&l.match.forEach(o)}let a=[];return r.matched!==null&&o(r.matched),a}var{hasOwnProperty:kt}=Object.prototype;function un(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function Sa(e){return Boolean(e)&&un(e.offset)&&un(e.line)&&un(e.column)}function ou(e,t){return function(n,i){if(!n||n.constructor!==Object)return i(n,"Type of node should be an Object");for(let o in n){let a=!0;if(kt.call(n,o)!==!1){if(o==="type")n.type!==e&&i(n,"Wrong node type `"+n.type+"`, expected `"+e+"`");else if(o==="loc"){if(n.loc===null)continue;if(n.loc&&n.loc.constructor===Object)if(typeof n.loc.source!="string")o+=".source";else if(!Sa(n.loc.start))o+=".start";else if(!Sa(n.loc.end))o+=".end";else continue;a=!1}else if(t.hasOwnProperty(o)){a=!1;for(let l=0;!a&&l");else if(Array.isArray(s))a.push("List");else throw new Error("Wrong value `"+s+"` in `"+e+"."+o+"` structure definition")}i[o]=a.join(" | ")}return{docs:i,check:ou(e,n)}}function Ca(e){let t={};if(e.node){for(let r in e.node)if(kt.call(e.node,r)){let n=e.node[r];if(n.structure)t[r]=au(r,n);else throw new Error("Missed `structure` field in `"+r+"` node type definition")}}return t}var su=xt("inherit | initial | unset"),lu=xt("inherit | initial | unset | <-ms-legacy-expression>");function pn(e,t,r){let n={};for(let i in e)e[i].syntax&&(n[i]=r?e[i].syntax:Ge(e[i].syntax,{compact:t}));return n}function cu(e,t,r){let n={};for(let[i,o]of Object.entries(e))n[i]={prelude:o.prelude&&(r?o.prelude.syntax:Ge(o.prelude.syntax,{compact:t})),descriptors:o.descriptors&&pn(o.descriptors,t,r)};return n}function uu(e){for(let t=0;t(n[i]=this.createDescriptor(r.descriptors[i],"AtruleDescriptor",i,t),n),Object.create(null)):null})}addProperty_(t,r){!r||(this.properties[t]=this.createDescriptor(r,"Property",t))}addType_(t,r){!r||(this.types[t]=this.createDescriptor(r,"Type",t),r===er["-ms-legacy-expression"]&&(this.valueCommonSyntax=lu))}checkAtruleName(t){if(!this.getAtrule(t))return new Ke("Unknown at-rule","@"+t)}checkAtrulePrelude(t,r){let n=this.checkAtruleName(t);if(n)return n;let i=this.getAtrule(t);if(!i.prelude&&r)return new SyntaxError("At-rule `@"+t+"` should not contain a prelude");if(i.prelude&&!r)return new SyntaxError("At-rule `@"+t+"` should contain a prelude")}checkAtruleDescriptorName(t,r){let n=this.checkAtruleName(t);if(n)return n;let i=this.getAtrule(t),o=J(r);if(!i.descriptors)return new SyntaxError("At-rule `@"+t+"` has no known descriptors");if(!i.descriptors[o.name]&&!i.descriptors[o.basename])return new Ke("Unknown at-rule descriptor",r)}checkPropertyName(t){if(!this.getProperty(t))return new Ke("Unknown property",t)}matchAtrulePrelude(t,r){let n=this.checkAtrulePrelude(t,r);return n?pe(null,n):r?wt(this,this.getAtrule(t).prelude,r,!1):pe(null,null)}matchAtruleDescriptor(t,r,n){let i=this.checkAtruleDescriptorName(t,r);if(i)return pe(null,i);let o=this.getAtrule(t),a=J(r);return wt(this,o.descriptors[a.name]||o.descriptors[a.basename],n,!1)}matchDeclaration(t){return t.type!=="Declaration"?pe(null,new Error("Not a Declaration node")):this.matchProperty(t.property,t.value)}matchProperty(t,r){if(me(t).custom)return pe(null,new Error("Lexer matching doesn't applicable for custom properties"));let n=this.checkPropertyName(t);return n?pe(null,n):wt(this,this.getProperty(t),r,!0)}matchType(t,r){let n=this.getType(t);return n?wt(this,n,r,!1):pe(null,new Ke("Unknown type",t))}match(t,r){return typeof t!="string"&&(!t||!t.type)?pe(null,new Ke("Bad syntax")):((typeof t=="string"||!t.match)&&(t=this.createDescriptor(t,"Type","anonymous")),wt(this,t,r,!1))}findValueFragments(t,r,n,i){return cn(this,r,this.matchProperty(t,r),n,i)}findDeclarationValueFragments(t,r,n){return cn(this,t.value,this.matchDeclaration(t),r,n)}findAllFragments(t,r,n){let i=[];return this.syntax.walk(t,{visit:"Declaration",enter:o=>{i.push.apply(i,this.findDeclarationValueFragments(o,r,n))}}),i}getAtrule(t,r=!0){let n=J(t);return(n.vendor&&r?this.atrules[n.name]||this.atrules[n.basename]:this.atrules[n.name])||null}getAtrulePrelude(t,r=!0){let n=this.getAtrule(t,r);return n&&n.prelude||null}getAtruleDescriptor(t,r){return this.atrules.hasOwnProperty(t)&&this.atrules.declarators&&this.atrules[t].declarators[r]||null}getProperty(t,r=!0){let n=me(t);return(n.vendor&&r?this.properties[n.name]||this.properties[n.basename]:this.properties[n.name])||null}getType(t){return hasOwnProperty.call(this.types,t)?this.types[t]:null}validate(){function t(i,o,a,l){if(a.has(o))return a.get(o);a.set(o,!1),l.syntax!==null&&en(l.syntax,function(c){if(c.type!=="Type"&&c.type!=="Property")return;let s=c.type==="Type"?i.types:i.properties,u=c.type==="Type"?r:n;(!hasOwnProperty.call(s,c.name)||t(i,c.name,u,s[c.name]))&&a.set(o,!0)},this)}let r=new Map,n=new Map;for(let i in this.types)t(this,i,r,this.types[i]);for(let i in this.properties)t(this,i,n,this.properties[i]);return r=[...r.keys()].filter(i=>r.get(i)),n=[...n.keys()].filter(i=>n.get(i)),r.length||n.length?{types:r,properties:n}:null}dump(t,r){return{generic:this.generic,types:pn(this.types,!r,t),properties:pn(this.properties,!r,t),atrules:cu(this.atrules,!r,t)}}toString(){return JSON.stringify(this.dump())}};var{hasOwnProperty:Xe}=Object.prototype,pu={generic:!0,types:fn,atrules:{prelude:Ta,descriptors:Ta},properties:fn,parseContext:hu,scope:Aa,atrule:["parse"],pseudo:["parse"],node:["name","structure","parse","generate","walkContext"]};function lr(e){return e&&e.constructor===Object}function hn(e){return lr(e)?{...e}:e}function hu(e,t){return Object.assign(e,t)}function Aa(e,t){for(let r in t)Xe.call(t,r)&&(lr(e[r])?Aa(e[r],hn(t[r])):e[r]=hn(t[r]));return e}function Ea(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function fn(e,t){if(typeof t=="string")return Ea(e,t);let r={...e};for(let n in t)Xe.call(t,n)&&(r[n]=Ea(Xe.call(e,n)?e[n]:void 0,t[n]));return r}function Ta(e,t){let r=fn(e,t);return!lr(r)||Object.keys(r).length?r:null}function St(e,t,r){for(let n in r)if(Xe.call(r,n)!==!1){if(r[n]===!0)n in t&&Xe.call(t,n)&&(e[n]=hn(t[n]));else if(r[n]){if(typeof r[n]=="function"){let i=r[n];e[n]=i({},e[n]),e[n]=i(e[n]||{},t[n])}else if(lr(r[n])){let i={};for(let o in e[n])i[o]=St({},e[n][o],r[n]);for(let o in t[n])i[o]=St(i[o]||{},t[n][o],r[n]);e[n]=i}else if(Array.isArray(r[n])){let i={},o=r[n].reduce(function(a,l){return a[l]=!0,a},{});for(let[a,l]of Object.entries(e[n]||{}))i[a]={},l&&St(i[a],l,o);for(let a in t[n])Xe.call(t[n],a)&&(i[a]||(i[a]={}),t[n]&&t[n][a]&&St(i[a],t[n][a],o));e[n]=i}}}return e}var cr=(e,t)=>St(e,t,pu);function La(e){let t=ao(e),r=Bo(e),n=Oo(e),{fromPlainObject:i,toPlainObject:o}=Do(r),a={lexer:null,createLexer:l=>new vt(l,a,a.lexer.structure),tokenize:Te,parse:t,generate:n,walk:r,find:r.find,findLast:r.findLast,findAll:r.findAll,fromPlainObject:i,toPlainObject:o,fork(l){let c=cr({},e);return La(typeof l=="function"?l(c,Object.assign):cr(c,l))}};return a.lexer=new vt({generic:!0,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}var dn=e=>La(cr({},e));var ja={generic:!0,types:{"absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","alpha-value":"|","angle-percentage":"|","angular-color-hint":"","angular-color-stop":"&&?","angular-color-stop-list":"[ [, ]?]# , ","animateable-feature":"scroll-position|contents|",attachment:"scroll|fixed|local","attr()":"attr( ? [, ]? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attribute-selector":"'[' ']'|'[' [|] ? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [? ]+ ? )","auto-track-list":"[? [|]]* ? [? [|]]* ?","baseline-position":"[first|last]? baseline","basic-shape":"||||","bg-image":"none|","bg-layer":"|| [/ ]?||||||||","bg-position":"[[left|center|right|top|bottom|]|[left|center|right|] [top|center|bottom|]|[center|[left|right] ?]&&[center|[top|bottom] ?]]","bg-size":"[|auto]{1,2}|cover|contain","blur()":"blur( )","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity",box:"border-box|padding-box|content-box","brightness()":"brightness( )","calc()":"calc( )","calc-sum":" [['+'|'-'] ]*","calc-product":" ['*' |'/' ]*","calc-value":"|||( )","cf-final-image":"|","cf-mixing-image":"?&&","circle()":"circle( []? [at ]? )","clamp()":"clamp( #{3} )","class-selector":"'.' ","clip-source":"",color:"||||||currentcolor|","color-stop":"|","color-stop-angle":"{1,2}","color-stop-length":"{1,2}","color-stop-list":"[ [, ]?]# , ",combinator:"'>'|'+'|'~'|['||']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|push-button|slider-horizontal|checkbox|radio|square-button|menulist|listbox|meter|progress-bar|button","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[? * [ *]*]!","compound-selector-list":"#","complex-selector":" [? ]*","complex-selector-list":"#","conic-gradient()":"conic-gradient( [from ]? [at ]? , )","contextual-alt-values":"[contextual|no-contextual]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[|contents|||||]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"","contrast()":"contrast( [] )","counter()":"counter( , ? )","counter-style":"|symbols( )","counter-style-name":"","counters()":"counters( , , ? )","cross-fade()":"cross-fade( , ? )","cubic-bezier-timing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( , , , )","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( {2,3} ? )","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( , [first|start|last|first-except]? )|element( )","ellipse()":"ellipse( [{2}]? [at ]? )","ending-shape":"circle|ellipse","env()":"env( , ? )","explicit-track-list":"[? ]+ ?","family-name":"|+","feature-tag-value":" [|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":" '{' '}'","feature-value-block-list":"+","feature-value-declaration":" : + ;","feature-value-declaration-list":"","feature-value-name":"","fill-rule":"nonzero|evenodd","filter-function":"|||||||||","filter-function-list":"[|]+","final-bg-layer":"<'background-color'>|||| [/ ]?||||||||","fit-content()":"fit-content( [|] )","fixed-breadth":"","fixed-repeat":"repeat( [] , [? ]+ ? )","fixed-size":"|minmax( , )|minmax( , )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|","font-variant-css21":"[normal|small-caps]","font-weight-absolute":"normal|bold|","frequency-percentage":"|","general-enclosed":"[ )]|( )","generic-family":"serif|sans-serif|cursive|fantasy|monospace|-apple-system","generic-name":"serif|sans-serif|cursive|fantasy|monospace","geometry-box":"|fill-box|stroke-box|view-box",gradient:"|||||<-legacy-gradient>","grayscale()":"grayscale( )","grid-line":"auto||[&&?]|[span&&[||]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( [/ ]? )|hsl( , , , ? )","hsla()":"hsla( [/ ]? )|hsla( , , , ? )",hue:"|","hue-rotate()":"hue-rotate( )",image:"||||||","image()":"image( ? [? , ?]! )","image-set()":"image-set( # )","image-set-option":"[|] [||type( )]","image-src":"|","image-tags":"ltr|rtl","inflexible-breadth":"||min-content|max-content|auto","inset()":"inset( {1,4} [round <'border-radius'>]? )","invert()":"invert( )","keyframes-name":"|","keyframe-block":"# { }","keyframe-block-list":"+","keyframe-selector":"from|to|","leader()":"leader( )","leader-type":"dotted|solid|space|","length-percentage":"|","line-names":"'[' * ']'","line-name-list":"[|]+","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"|thin|medium|thick","linear-color-hint":"","linear-color-stop":" ?","linear-gradient()":"linear-gradient( [|to ]? , )","mask-layer":"|| [/ ]?||||||[|no-clip]||||","mask-position":"[|left|center|right] [|top|center|bottom]?","mask-reference":"none||","mask-source":"","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( #{6} )","matrix3d()":"matrix3d( #{16} )","max()":"max( # )","media-and":" [and ]+","media-condition":"|||","media-condition-without-or":"||","media-feature":"( [||] )","media-in-parens":"( )||","media-not":"not ","media-or":" [or ]+","media-query":"|[not|only]? [and ]?","media-query-list":"#","media-type":"","mf-boolean":"","mf-name":"","mf-plain":" : ","mf-range":" ['<'|'>']? '='? | ['<'|'>']? '='? | '<' '='? '<' '='? | '>' '='? '>' '='? ","mf-value":"|||","min()":"min( # )","minmax()":"minmax( [||min-content|max-content|auto] , [|||min-content|max-content|auto] )","named-color":"transparent|aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|<-non-standard-color>","namespace-prefix":"","ns-prefix":"[|'*']? '|'","number-percentage":"|","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]",nth:"|even|odd","opacity()":"opacity( [] )","overflow-position":"unsafe|safe","outline-radius":"|","page-body":"? [; ]?| ","page-margin-box":" '{' '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector-list":"[#]?","page-selector":"+| *","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger","path()":"path( [ ,]? )","paint()":"paint( , ? )","perspective()":"perspective( )","polygon()":"polygon( ? , [ ]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|] [top|center|bottom|]?|[[left|right] ]&&[[top|bottom] ]]","pseudo-class-selector":"':' |':' ')'","pseudo-element-selector":"':' ","pseudo-page":": [left|right|first|blank]",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-gradient()":"radial-gradient( [||]? [at ]? , )","relative-selector":"? ","relative-selector-list":"#","relative-size":"larger|smaller","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-linear-gradient()":"repeating-linear-gradient( [|to ]? , )","repeating-radial-gradient()":"repeating-radial-gradient( [||]? [at ]? , )","rgb()":"rgb( {3} [/ ]? )|rgb( {3} [/ ]? )|rgb( #{3} , ? )|rgb( #{3} , ? )","rgba()":"rgba( {3} [/ ]? )|rgba( {3} [/ ]? )|rgba( #{3} , ? )|rgba( #{3} , ? )","rotate()":"rotate( [|] )","rotate3d()":"rotate3d( , , , [|] )","rotateX()":"rotateX( [|] )","rotateY()":"rotateY( [|] )","rotateZ()":"rotateZ( [|] )","saturate()":"saturate( )","scale()":"scale( , ? )","scale3d()":"scale3d( , , )","scaleX()":"scaleX( )","scaleY()":"scaleY( )","scaleZ()":"scaleZ( )","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","shape-radius":"|closest-side|farthest-side","skew()":"skew( [|] , [|]? )","skewX()":"skewX( [|] )","skewY()":"skewY( [|] )","sepia()":"sepia( )",shadow:"inset?&&{2,4}&&?","shadow-t":"[{2,3}&&?]",shape:"rect( , , , )|rect( )","shape-box":"|margin-box","side-or-corner":"[left|right]||[top|bottom]","single-animation":"