(self.webpackChunkelement_web=self.webpackChunkelement_web||[]).push([[5914],{"./node_modules/css-tree/lib/index.js":(e,t,n)=>{"use strict";n.r(t),n.d(t,{Lexer:()=>bo,List:()=>kt,OffsetToLocation:()=>ht,TokenStream:()=>ft,clone:()=>gu,createLexer:()=>Su,createSyntax:()=>wo,definitionSyntax:()=>a,find:()=>zu,findAll:()=>Lu,findLast:()=>Au,fork:()=>ju,fromPlainObject:()=>Ou,generate:()=>vu,ident:()=>le,isCustomProperty:()=>cn,keyword:()=>an,lexer:()=>wu,parse:()=>xu,property:()=>sn,string:()=>Q,toPlainObject:()=>Tu,tokenNames:()=>lt,tokenTypes:()=>r,tokenize:()=>ku,url:()=>te,vendorPrefix:()=>ln,version:()=>mu,walk:()=>Cu});var r={};n.r(r),n.d(r,{AtKeyword:()=>pe,BadString:()=>ge,BadUrl:()=>be,CDC:()=>Ce,CDO:()=>Se,Colon:()=>ze,Comma:()=>Le,Comment:()=>Ie,Delim:()=>ye,Dimension:()=>ve,EOF:()=>ce,Function:()=>he,Hash:()=>de,Ident:()=>ue,LeftCurlyBracket:()=>De,LeftParenthesis:()=>je,LeftSquareBracket:()=>Te,Number:()=>ke,Percentage:()=>xe,RightCurlyBracket:()=>Ee,RightParenthesis:()=>Pe,RightSquareBracket:()=>Oe,Semicolon:()=>Ae,String:()=>me,Url:()=>fe,WhiteSpace:()=>we});var o={};n.r(o),n.d(o,{safe:()=>Bt,spec:()=>Nt});var i={};n.r(i),n.d(i,{angle:()=>Fn,decibel:()=>Wn,flex:()=>qn,frequency:()=>_n,length:()=>Bn,resolution:()=>Mn,semitones:()=>Un,time:()=>Rn});var a={};n.r(a),n.d(a,{SyntaxError:()=>Vn,generate:()=>Xt,parse:()=>Ar,walk:()=>Or});var s={};n.r(s),n.d(s,{getTrace:()=>Zr,isKeyword:()=>to,isProperty:()=>eo,isType:()=>Jr});var l={};n.r(l),n.d(l,{generate:()=>No,name:()=>Do,parse:()=>Io,structure:()=>Eo});var c={};n.r(c),n.d(c,{generate:()=>Wo,name:()=>Ro,parse:()=>qo,structure:()=>Mo,walkContext:()=>_o});var u={};n.r(u),n.d(u,{generate:()=>Ho,name:()=>Uo,parse:()=>Go,structure:()=>Ko,walkContext:()=>Vo});var h={};n.r(h),n.d(h,{generate:()=>ii,name:()=>ni,parse:()=>oi,structure:()=>ri});var p={};n.r(p),n.d(p,{generate:()=>gi,name:()=>hi,parse:()=>mi,structure:()=>di,walkContext:()=>pi});var d={};n.r(d),n.d(d,{generate:()=>ki,name:()=>fi,parse:()=>yi,structure:()=>bi});var m={};n.r(m),n.d(m,{generate:()=>Si,name:()=>xi,parse:()=>wi,structure:()=>vi});var g={};n.r(g),n.d(g,{generate:()=>Li,name:()=>Ci,parse:()=>Ai,structure:()=>zi});var f={};n.r(f),n.d(f,{generate:()=>Di,name:()=>Oi,parse:()=>Pi,structure:()=>ji});var b={};n.r(b),n.d(b,{generate:()=>Mi,name:()=>Fi,parse:()=>_i,structure:()=>Ri});var y={};n.r(y),n.d(y,{generate:()=>Gi,name:()=>Ui,parse:()=>Ki,structure:()=>Vi});var k={};n.r(k),n.d(k,{generate:()=>Ji,name:()=>$i,parse:()=>Zi,structure:()=>Qi});var x={};n.r(x),n.d(x,{generate:()=>ma,name:()=>ua,parse:()=>da,structure:()=>pa,walkContext:()=>ha});var v={};n.r(v),n.d(v,{generate:()=>wa,name:()=>ka,parse:()=>va,structure:()=>xa});var w={};n.r(w),n.d(w,{generate:()=>Aa,name:()=>Sa,parse:()=>za,structure:()=>Ca});var S={};n.r(S),n.d(S,{generate:()=>Pa,name:()=>Ta,parse:()=>ja,structure:()=>Oa});var C={};n.r(C),n.d(C,{generate:()=>Ba,name:()=>Da,parse:()=>Na,structure:()=>Ea});var z={};n.r(z),n.d(z,{generate:()=>Ga,name:()=>qa,parse:()=>Ka,structure:()=>Wa});var A={};n.r(A),n.d(A,{generate:()=>Ya,name:()=>Ha,parse:()=>Xa,structure:()=>Qa,walkContext:()=>$a});var L={};n.r(L),n.d(L,{generate:()=>ts,name:()=>Za,parse:()=>es,structure:()=>Ja});var T={};n.r(T),n.d(T,{generate:()=>as,name:()=>rs,parse:()=>is,structure:()=>os,xxx:()=>ns});var O={};n.r(O),n.d(O,{generate:()=>us,name:()=>ss,parse:()=>cs,structure:()=>ls});var j={};n.r(j),n.d(j,{generate:()=>ms,name:()=>hs,parse:()=>ds,structure:()=>ps});var P={};n.r(P),n.d(P,{generate:()=>ks,name:()=>fs,parse:()=>ys,structure:()=>bs});var D={};n.r(D),n.d(D,{generate:()=>Ss,name:()=>xs,parse:()=>ws,structure:()=>vs});var E={};n.r(E),n.d(E,{generate:()=>Ls,name:()=>Cs,parse:()=>As,structure:()=>zs});var I={};n.r(I),n.d(I,{generate:()=>Ps,name:()=>Ts,parse:()=>js,structure:()=>Os});var N={};n.r(N),n.d(N,{generate:()=>Bs,name:()=>Es,parse:()=>Ns,structure:()=>Is});var B={};n.r(B),n.d(B,{generate:()=>Ms,name:()=>Fs,parse:()=>_s,structure:()=>Rs});var F={};n.r(F),n.d(F,{generate:()=>Vs,name:()=>qs,parse:()=>Us,structure:()=>Ws});var R={};n.r(R),n.d(R,{generate:()=>$s,name:()=>Ks,parse:()=>Hs,structure:()=>Gs});var _={};n.r(_),n.d(_,{generate:()=>Zs,name:()=>Qs,parse:()=>Ys,structure:()=>Xs});var M={};n.r(M),n.d(M,{generate:()=>nl,name:()=>Js,parse:()=>tl,structure:()=>el});var q={};n.r(q),n.d(q,{generate:()=>sl,name:()=>rl,parse:()=>al,structure:()=>il,walkContext:()=>ol});var W={};n.r(W),n.d(W,{generate:()=>pl,name:()=>ll,parse:()=>hl,structure:()=>ul,walkContext:()=>cl});var U={};n.r(U),n.d(U,{generate:()=>yl,name:()=>gl,parse:()=>bl,structure:()=>fl});var V={};n.r(V),n.d(V,{generate:()=>Sl,name:()=>xl,parse:()=>wl,structure:()=>vl});var K={};n.r(K),n.d(K,{generate:()=>jl,name:()=>Al,parse:()=>Ol,structure:()=>Tl,walkContext:()=>Ll});var G={};n.r(G),n.d(G,{generate:()=>Il,name:()=>Pl,parse:()=>El,structure:()=>Dl});var H={};n.r(H),n.d(H,{generate:()=>Rl,name:()=>Nl,parse:()=>Fl,structure:()=>Bl});var $={};n.r($),n.d($,{generate:()=>Ul,name:()=>_l,parse:()=>Wl,structure:()=>ql,walkContext:()=>Ml});var Q={};n.r(Q),n.d(Q,{decode:()=>Hl,encode:()=>$l});var X={};n.r(X),n.d(X,{generate:()=>Zl,name:()=>Ql,parse:()=>Yl,structure:()=>Xl});var Y={};n.r(Y),n.d(Y,{generate:()=>ic,name:()=>tc,parse:()=>oc,structure:()=>rc,walkContext:()=>nc});var Z={};n.r(Z),n.d(Z,{generate:()=>cc,name:()=>ac,parse:()=>lc,structure:()=>sc});var J={};n.r(J),n.d(J,{generate:()=>fc,name:()=>dc,parse:()=>gc,structure:()=>mc});var ee={};n.r(ee),n.d(ee,{generate:()=>Lc,name:()=>Cc,parse:()=>Ac,structure:()=>zc});var te={};n.r(te),n.d(te,{decode:()=>Ic,encode:()=>Nc});var ne={};n.r(ne),n.d(ne,{generate:()=>_c,name:()=>Bc,parse:()=>Rc,structure:()=>Fc});var re={};n.r(re),n.d(re,{generate:()=>Uc,name:()=>Mc,parse:()=>Wc,structure:()=>qc});var oe={};n.r(oe),n.d(oe,{generate:()=>$c,name:()=>Kc,parse:()=>Hc,structure:()=>Gc});var ie={};n.r(ie),n.d(ie,{AnPlusB:()=>l,Atrule:()=>c,AtrulePrelude:()=>u,AttributeSelector:()=>h,Block:()=>p,Brackets:()=>d,CDC:()=>m,CDO:()=>g,ClassSelector:()=>f,Combinator:()=>b,Comment:()=>y,Condition:()=>k,Declaration:()=>x,DeclarationList:()=>v,Dimension:()=>w,Feature:()=>S,FeatureFunction:()=>C,FeatureRange:()=>z,Function:()=>A,GeneralEnclosed:()=>L,Hash:()=>T,IdSelector:()=>j,Identifier:()=>O,Layer:()=>P,LayerList:()=>D,MediaQuery:()=>E,MediaQueryList:()=>I,NestingSelector:()=>N,Nth:()=>B,Number:()=>F,Operator:()=>R,Parentheses:()=>_,Percentage:()=>M,PseudoClassSelector:()=>q,PseudoElementSelector:()=>W,Ratio:()=>U,Raw:()=>V,Rule:()=>K,Scope:()=>G,Selector:()=>H,SelectorList:()=>$,String:()=>X,StyleSheet:()=>Y,SupportsDeclaration:()=>Z,TypeSelector:()=>J,UnicodeRange:()=>ee,Url:()=>ne,Value:()=>re,WhiteSpace:()=>oe});var ae={};n.r(ae),n.d(ae,{AtrulePrelude:()=>Yc,Selector:()=>Zc,Value:()=>eu});var se={};n.r(se),n.d(se,{AnPlusB:()=>Io,Atrule:()=>qo,AtrulePrelude:()=>Go,AttributeSelector:()=>oi,Block:()=>mi,Brackets:()=>yi,CDC:()=>wi,CDO:()=>Ai,ClassSelector:()=>Pi,Combinator:()=>_i,Comment:()=>Ki,Condition:()=>Zi,Declaration:()=>da,DeclarationList:()=>va,Dimension:()=>za,Feature:()=>ja,FeatureFunction:()=>Na,FeatureRange:()=>Ka,Function:()=>Xa,GeneralEnclosed:()=>es,Hash:()=>is,IdSelector:()=>ds,Identifier:()=>cs,Layer:()=>ys,LayerList:()=>ws,MediaQuery:()=>As,MediaQueryList:()=>js,NestingSelector:()=>Ns,Nth:()=>_s,Number:()=>Us,Operator:()=>Hs,Parentheses:()=>Ys,Percentage:()=>tl,PseudoClassSelector:()=>al,PseudoElementSelector:()=>hl,Ratio:()=>bl,Raw:()=>wl,Rule:()=>Ol,Scope:()=>El,Selector:()=>Fl,SelectorList:()=>Wl,String:()=>Yl,StyleSheet:()=>oc,SupportsDeclaration:()=>lc,TypeSelector:()=>gc,UnicodeRange:()=>Ac,Url:()=>Rc,Value:()=>Wc,WhiteSpace:()=>Hc});var le={};n.r(le),n.d(le,{decode:()=>bu,encode:()=>yu});const ce=0,ue=1,he=2,pe=3,de=4,me=5,ge=6,fe=7,be=8,ye=9,ke=10,xe=11,ve=12,we=13,Se=14,Ce=15,ze=16,Ae=17,Le=18,Te=19,Oe=20,je=21,Pe=22,De=23,Ee=24,Ie=25,Ne=0;function Be(e){return e>=48&&e<=57}function Fe(e){return Be(e)||e>=65&&e<=70||e>=97&&e<=102}function Re(e){return e>=65&&e<=90}function _e(e){return function(e){return Re(e)||function(e){return e>=97&&e<=122}(e)}(e)||function(e){return e>=128}(e)||95===e}function Me(e){return _e(e)||Be(e)||45===e}function qe(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e}function We(e){return 10===e||13===e||12===e}function Ue(e){return We(e)||32===e||9===e}function Ve(e,t){return 92===e&&(!We(t)&&t!==Ne)}function Ke(e,t,n){return 45===e?_e(t)||45===t||Ve(t,n):!!_e(e)||92===e&&Ve(e,t)}function Ge(e,t,n){return 43===e||45===e?Be(t)?2:46===t&&Be(n)?3:0:46===e?Be(t)?2:0:Be(e)?1:0}function He(e){return 65279===e||65534===e?1:0}const $e=new Array(128),Qe=130;for(let e=0;e<$e.length;e++)$e[e]=(Ue(e)?Qe:Be(e)&&131)||_e(e)&&132||qe(e)&&133||e||128;function Xe(e){return e<128?$e[e]:132}function Ye(e,t){return te.length)return!1;for(let o=t;o=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}const lt=["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","comment-token"];function ct(e=null,t){return null===e||e.length0?He(t.charCodeAt(0)):0,o=ct(e.lines,n),i=ct(e.columns,n);let a=e.startLine,s=e.startColumn;for(let e=r;e{}){const n=(e=String(e||"")).length,r=ct(this.offsetAndType,e.length+1),o=ct(this.balance,e.length+1);let i=0,a=-1,s=0,l=e.length;this.offsetAndType=null,this.balance=null,o.fill(0),t(e,(e,t,n)=>{const c=i++;if(r[c]=e<>dt]}else gt(e)&&(l=c,s=mt[e])}),r[i]=ce<i&&(o[e]=i)}this.source=e,this.firstCharOffset=-1===a?0:a,this.tokenCount=i,this.offsetAndType=r,this.balance=o,this.reset(),this.next()}lookupType(e){return(e+=this.tokenIndex)>dt:ce}lookupTypeNonSC(e){for(let t=this.tokenIndex;t>dt;if(n!==we&&n!==Ie&&0===e--)return n}return ce}lookupOffset(e){return(e+=this.tokenIndex)>dt;if(n!==we&&n!==Ie&&0===e--)return t-this.tokenIndex}return ce}lookupValue(e,t){return(e+=this.tokenIndex)0?e>dt,this.tokenEnd=t&pt):(this.tokenIndex=this.tokenCount,this.next())}next(){let e=this.tokenIndex+1;e>dt,this.tokenEnd=e&pt):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=ce,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===we||this.tokenType===Ie;)this.next()}skipUntilBalanced(e,t){let n=e,r=0,o=0;e:for(;n0?this.offsetAndType[n-1]&pt:this.firstCharOffset,t(this.source.charCodeAt(o))){case 1:break e;case 2:n++;break e;default:gt(this.offsetAndType[n]>>dt)&&(n=r)}this.skip(n-this.tokenIndex)}forEachToken(e){for(let t=0,n=this.firstCharOffset;t>dt,r,i,t)}}dump(){const e=new Array(this.tokenCount);return this.forEachToken((t,n,r,o)=>{e[o]={idx:o,type:lt[t],chunk:this.source.substring(n,r),balance:this.balance[o]}}),e}}function bt(e,t){function n(t){return t=e.length?void(cString(e+n+1).padStart(u)+" |"+t).join("\n")}const s=("\n".repeat(Math.max(r-1,0))+" ".repeat(Math.max(o-1,0))+e).split(/\r\n?|\n|\f/),l=Math.max(1,t-i)-1,c=Math.min(t+i,s.length+1),u=Math.max(4,String(c).length)+1;let h=0;(n+=3*(s[t-1].substr(0,n-1).match(/\t/g)||[]).length)>100&&(h=n-60+3,n=58);for(let e=l;e<=c;e++)e>=0&&e0&&s[e].length>h?"…":"")+s[e].substr(h,98)+(s[e].length>h+100-1?"…":""));return[a(l,t),new Array(n+u+2).join("-")+"^",a(t,c)].filter(Boolean).join("\n").replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function St(e,t,n,r,o,i=1,a=1){return Object.assign(xt("SyntaxError",e),{source:t,offset:n,line:r,column:o,sourceFragment:e=>wt({source:t,line:r,column:o,baseLine:i,baseColumn:a},isNaN(e)?0:e),get formattedMessage(){return`Parse error: ${e}\n`+wt({source:t,line:r,column:o,baseLine:i,baseColumn:a},2)}})}function Ct(e){const t=this.createList();let n=!1;const r={recognizer:e};for(;!this.eof;){switch(this.tokenType){case Ie:this.next();continue;case we:n=!0,this.next();continue}let o=e.getNode.call(this,r);if(void 0===o)break;n&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,o,t,r),n=!1),t.push(o)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,r),t}const zt=()=>{};function At(e){return function(){return this[e]()}}function Lt(e){const t=Object.create(null);for(const n of Object.keys(e)){const r=e[n],o=r.parse||r;o&&(t[n]=o)}return t}function Tt(e){let t="",n="",r=!1,o=zt,i=!1;const a=new ht,s=Object.assign(new ft,function(e){const t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:Lt(e.atrule),pseudo:Lt(e.pseudo),node:Lt(e.node)};for(const[n,r]of Object.entries(e.parseContext))switch(typeof r){case"function":t.context[n]=r;break;case"string":t.context[n]=At(r)}return{config:t,...t,...t.node}}(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:Ct,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket:e=>123===e?1:0,consumeUntilLeftCurlyBracketOrSemicolon:e=>123===e||59===e?1:0,consumeUntilExclamationMarkOrSemicolon:e=>33===e||59===e?1:0,consumeUntilSemicolonIncluded:e=>59===e?2:0,createList:()=>new kt,createSingleNodeList:e=>(new kt).appendData(e),getFirstListNode:e=>e&&e.first,getLastListNode:e=>e&&e.last,parseWithFallback(e,t){const n=this.tokenIndex;try{return e.call(this)}catch(e){if(i)throw e;this.skip(n-this.tokenIndex);const r=t.call(this);return i=!0,o(e,r),i=!1,r}},lookupNonWSType(e){let t;do{if(t=this.lookupType(e++),t!==we&&t!==Ie)return t}while(0!==t);return 0},charCodeAt:e=>e>=0&&et.substring(e,n),substrToCursor(e){return this.source.substring(e,this.tokenStart)},cmpChar:(e,n)=>Je(t,e,n),cmpStr:(e,n,r)=>et(t,e,n,r),consume(e){const t=this.tokenStart;return this.eat(e),this.substrToCursor(t)},consumeFunctionName(){const e=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(he),e},consumeNumber(e){const n=t.substring(this.tokenStart,it(t,this.tokenStart));return this.eat(e),n},eat(e){if(this.tokenType!==e){const t=lt[e].slice(0,-6).replace(/-/g," ").replace(/^./,e=>e.toUpperCase());let n=`${/[[\](){}]/.test(t)?`"${t}"`:t} is expected`,r=this.tokenStart;switch(e){case ue:this.tokenType===he||this.tokenType===fe?(r=this.tokenEnd-1,n="Identifier is expected but function found"):n="Identifier is expected";break;case de:this.isDelim(35)&&(this.next(),r++,n="Name is expected");break;case xe:this.tokenType===ke&&(r=this.tokenEnd,n="Percent sign is expected")}this.error(n,r)}this.next()},eatIdent(e){this.tokenType===ue&&!1!==this.lookupValue(0,e)||this.error(`Identifier "${e}" is expected`),this.next()},eatDelim(e){this.isDelim(e)||this.error(`Delim "${String.fromCharCode(e)}" is expected`),this.next()},getLocation:(e,t)=>r?a.getLocationRange(e,t,n):null,getLocationFromList(e){if(r){const t=this.getFirstListNode(e),r=this.getLastListNode(e);return a.getLocationRange(null!==t?t.loc.start.offset-a.startOffset:this.tokenStart,null!==r?r.loc.end.offset-a.startOffset:this.tokenStart,n)}return null},error(e,n){const r=void 0!==n&&n=0&&Ue(e.charCodeAt(t));t--);return t+1}(t,t.length-1)):a.getLocation(this.tokenStart);throw new St(e||"Unexpected input",t,r.offset,r.line,r.column,a.startLine,a.startColumn)}});return Object.assign(function(e,l){t=e,l=l||{},s.setSource(t,bt),a.setSource(t,l.offset,l.line,l.column),n=l.filename||"",r=Boolean(l.positions),o="function"==typeof l.onParseError?l.onParseError:zt,i=!1,s.parseAtrulePrelude=!("parseAtrulePrelude"in l)||Boolean(l.parseAtrulePrelude),s.parseRulePrelude=!("parseRulePrelude"in l)||Boolean(l.parseRulePrelude),s.parseValue=!("parseValue"in l)||Boolean(l.parseValue),s.parseCustomProperty="parseCustomProperty"in l&&Boolean(l.parseCustomProperty);const{context:c="default",onComment:u}=l;if(c in s.context==!1)throw new Error("Unknown context `"+c+"`");"function"==typeof u&&s.forEachToken((e,n,r)=>{if(e===Ie){const e=s.getLocation(n,r),o=et(t,r-2,r,"*/")?t.slice(n+2,r-2):t.slice(n+2,r);u(o,e)}});const h=s.context[c].call(s,l);return s.eof||s.error(),h},{SyntaxError:St,config:s.config})}var Ot=n("./node_modules/source-map-js/lib/source-map-generator.js");const jt=new Set(["Atrule","Selector","Declaration"]);const Pt=(e,t)=>{if(e===ye&&(e=t),"string"==typeof e){const t=e.charCodeAt(0);return t>127?32768:t<<8}return e},Dt=[[ue,ue],[ue,he],[ue,fe],[ue,be],[ue,"-"],[ue,ke],[ue,xe],[ue,ve],[ue,Ce],[ue,je],[pe,ue],[pe,he],[pe,fe],[pe,be],[pe,"-"],[pe,ke],[pe,xe],[pe,ve],[pe,Ce],[de,ue],[de,he],[de,fe],[de,be],[de,"-"],[de,ke],[de,xe],[de,ve],[de,Ce],[ve,ue],[ve,he],[ve,fe],[ve,be],[ve,"-"],[ve,ke],[ve,xe],[ve,ve],[ve,Ce],["#",ue],["#",he],["#",fe],["#",be],["#","-"],["#",ke],["#",xe],["#",ve],["#",Ce],["-",ue],["-",he],["-",fe],["-",be],["-","-"],["-",ke],["-",xe],["-",ve],["-",Ce],[ke,ue],[ke,he],[ke,fe],[ke,be],[ke,ke],[ke,xe],[ke,ve],[ke,"%"],[ke,Ce],["@",ue],["@",he],["@",fe],["@",be],["@","-"],["@",Ce],[".",ke],[".",xe],[".",ve],["+",ke],["+",xe],["+",ve],["/","*"]],Et=Dt.concat([[ue,de],[ve,de],[de,de],[pe,je],[pe,me],[pe,ze],[xe,xe],[xe,ve],[xe,he],[xe,"-"],[Pe,ue],[Pe,he],[Pe,xe],[Pe,ve],[Pe,de],[Pe,"-"]]);function It(e){const t=new Set(e.map(([e,t])=>Pt(e)<<16|Pt(t)));return function(e,n,r){const o=Pt(n,r),i=r.charCodeAt(0);return(45===i&&n!==ue&&n!==he&&n!==Ce||43===i?t.has(e<<16|i<<8):t.has(e<<16|o))&&this.emit(" ",we,!0),o}}const Nt=It(Dt),Bt=It(Et);function Ft(e,t){if("function"==typeof t){let n=null;return void e.children.forEach(e=>{null!==n&&t.call(this,n),this.node(e),n=e})}e.children.forEach(this.node,this)}function Rt(e){bt(e,(t,n,r)=>{this.token(t,e.slice(n,r))})}function _t(e){const t=new Map;for(let[n,r]of Object.entries(e.node)){"function"==typeof(r.generate||r)&&t.set(n,r.generate||r)}return function(e,n){let r="",i=0,a={node(e){if(!t.has(e.type))throw new Error("Unknown node type: "+e.type);t.get(e.type).call(s,e)},tokenBefore:Bt,token(e,t){i=this.tokenBefore(i,e,t),this.emit(t,e,!1),e===ye&&92===t.charCodeAt(0)&&this.emit("\n",we,!0)},emit(e){r+=e},result:()=>r};n&&("function"==typeof n.decorator&&(a=n.decorator(a)),n.sourceMap&&(a=function(e){const t=new Ot.x,n={line:1,column:0},r={line:0,column:0},o={line:1,column:0},i={generated:o};let a=1,s=0,l=!1;const c=e.node;e.node=function(e){if(e.loc&&e.loc.start&&jt.has(e.type)){const c=e.loc.start.line,u=e.loc.start.column-1;r.line===c&&r.column===u||(r.line=c,r.column=u,n.line=a,n.column=s,l&&(l=!1,n.line===o.line&&n.column===o.column||t.addMapping(i)),l=!0,t.addMapping({source:e.loc.source,original:r,generated:n}))}c.call(this,e),l&&jt.has(e.type)&&(o.line=a,o.column=s)};const u=e.emit;e.emit=function(e,t,n){for(let t=0;ta.node(e),children:Ft,token:(e,t)=>a.token(e,t),tokenize:Rt};return a.node(e),a.result()}}const{hasOwnProperty:Mt}=Object.prototype,qt=function(){};function Wt(e){return"function"==typeof e?e:qt}function Ut(e,t){return function(n,r,o){n.type===t&&e.call(this,n,r,o)}}function Vt(e,t){const n=t.structure,r=[];for(const e in n){if(!1===Mt.call(n,e))continue;let t=n[e];const o={name:e,type:!1,nullable:!1};Array.isArray(t)||(t=[t]);for(const e of t)null===e?o.nullable=!0:"string"==typeof e?o.type="node":Array.isArray(e)&&(o.type="list");o.type&&r.push(o)}return r.length?{context:t.walkContext,fields:r}:null}function Kt(e,t){const n=e.fields.slice(),r=e.context,o="string"==typeof r;return t&&n.reverse(),function(e,i,a,s){let l;o&&(l=i[r],i[r]=e);for(const r of n){const n=e[r.name];if(!r.nullable||n)if("list"===r.type){if(t?n.reduceRight(s,!1):n.reduce(s,!1))return!0}else if(a(n))return!0}o&&(i[r]=l)}}function Gt({StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:o}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Rule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Declaration:{StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:o}}}function Ht(e){const t=function(e){const t={};for(const n in e.node)if(Mt.call(e.node,n)){const r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=Vt(0,r)}return t}(e),n={},r={},o=Symbol("break-walk"),i=Symbol("skip-node");for(const e in t)Mt.call(t,e)&&null!==t[e]&&(n[e]=Kt(t[e],!1),r[e]=Kt(t[e],!0));const a=Gt(n),s=Gt(r),l=function(e,l){function c(e,t,n){const r=u.call(m,e,t,n);return r===o||r!==i&&(!(!p.hasOwnProperty(e.type)||!p[e.type](e,m,c,d))||h.call(m,e,t,n)===o)}let u=qt,h=qt,p=n,d=(e,t,n,r)=>e||c(t,n,r);const m={break:o,skip:i,root:e,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if("function"==typeof l)u=l;else if(l&&(u=Wt(l.enter),h=Wt(l.leave),l.reverse&&(p=r),l.visit)){if(a.hasOwnProperty(l.visit))p=l.reverse?s[l.visit]:a[l.visit];else if(!t.hasOwnProperty(l.visit))throw new Error("Bad value `"+l.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");u=Ut(u,l.visit),h=Ut(h,l.visit)}if(u===qt&&h===qt)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");c(e)};return l.break=o,l.skip=i,l.find=function(e,t){let n=null;return l(e,function(e,r,i){if(t.call(this,e,r,i))return n=e,o}),n},l.findLast=function(e,t){let n=null;return l(e,{reverse:!0,enter(e,r,i){if(t.call(this,e,r,i))return n=e,o}}),n},l.findAll=function(e,t){const n=[];return l(e,function(e,r,o){t.call(this,e,r,o)&&n.push(e)}),n},l}function $t(e){return e}function Qt(e,t,n,r){let o;switch(e.type){case"Group":o=function(e,t,n,r){const o=" "===e.combinator||r?e.combinator:" "+e.combinator+" ",i=e.terms.map(e=>Qt(e,t,n,r)).join(o);return e.explicit||n?(r||","===i[0]?"[":"[ ")+i+(r?"]":" ]"):i}(e,t,n,r)+(e.disallowEmpty?"!":"");break;case"Multiplier":return Qt(e.term,t,n,r)+t(function(e){const{min:t,max:n,comma:r}=e;return 0===t&&0===n?r?"#?":"*":0===t&&1===n?"?":1===t&&0===n?r?"#":"+":1===t&&1===n?"":(r?"#":"")+(t===n?"{"+t+"}":"{"+t+","+(0!==n?n:"")+"}")}(e),e);case"Boolean":o="";break;case"Type":o="<"+e.name+(e.opts?t(function(e){if("Range"===e.type)return" ["+(null===e.min?"-∞":e.min)+","+(null===e.max?"∞":e.max)+"]";throw new Error("Unknown node type `"+e.type+"`")}(e.opts),e.opts):"")+">";break;case"Property":o="<'"+e.name+"'>";break;case"Keyword":o=e.name;break;case"AtKeyword":o="@"+e.name;break;case"Function":o=e.name+"(";break;case"String":case"Token":o=e.value;break;case"Comma":o=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(o,e)}function Xt(e,t){let n=$t,r=!1,o=!1;return"function"==typeof t?n=t:t&&(r=Boolean(t.forceBraces),o=Boolean(t.compact),"function"==typeof t.decorate&&(n=t.decorate)),Qt(e,n,r,o)}const Yt={offset:0,line:1,column:1};function Zt(e,t){const n=e&&e.loc&&e.loc[t];return n?"line"in n?Jt(n):n:null}function Jt({offset:e,line:t,column:n},r){const o={offset:e,line:t,column:n};if(r){const e=r.split(/\n|\r\n?|\f/);o.offset+=r.length,o.line+=e.length-1,o.column=1===e.length?o.column+r.length:e.pop().length+1}return o}const en=function(e,t){const n=xt("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},tn=function(e,t,n,r){const o=xt("SyntaxMatchError",e),{css:i,mismatchOffset:a,mismatchLength:s,start:l,end:c}=function(e,t){const n=e.tokens,r=e.longestMatch,o=r1?(a=Zt(i||t,"end")||Jt(Yt,h),s=Jt(a)):(a=Zt(i,"start")||Jt(Zt(t,"start")||Yt,h.slice(0,l)),s=Zt(i,"end")||Jt(a,h.substr(l,c))),{css:h,mismatchOffset:l,mismatchLength:c,start:a,end:s}}(r,n);return o.rawMessage=e,o.syntax=t?Xt(t):"",o.css=i,o.mismatchOffset=a,o.mismatchLength=s,o.message=e+"\n syntax: "+o.syntax+"\n value: "+(i||"")+"\n --------"+new Array(o.mismatchOffset+1).join("-")+"^",Object.assign(o,l),o.loc={source:n&&n.loc&&n.loc.source||"",start:l,end:c},o},nn=new Map,rn=new Map,on=45,an=function(e){if(nn.has(e))return nn.get(e);const t=e.toLowerCase();let n=nn.get(t);if(void 0===n){const e=cn(t,0),r=e?"":un(t,0);n=Object.freeze({basename:t.substr(r.length),name:t,prefix:r,vendor:r,custom:e})}return nn.set(e,n),n},sn=function(e){if(rn.has(e))return rn.get(e);let t=e,n=e[0];"/"===n?n="/"===e[1]?"//":"/":"_"!==n&&"*"!==n&&"$"!==n&&"#"!==n&&"+"!==n&&"&"!==n&&(n="");const r=cn(t,n.length);if(!r&&(t=t.toLowerCase(),rn.has(t))){const n=rn.get(t);return rn.set(e,n),n}const o=r?"":un(t,n.length),i=t.substr(0,n.length+o.length),a=Object.freeze({basename:t.substr(i.length),name:t.substr(n.length),hack:n,vendor:o,prefix:i,custom:r});return rn.set(e,a),a},ln=un;function cn(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===on&&e.charCodeAt(t+1)===on}function un(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===on&&e.charCodeAt(t+1)!==on){const n=e.indexOf("-",t+2);if(-1!==n)return e.substring(t,n+1)}return""}const hn=["initial","inherit","unset","revert","revert-layer"],pn=45,dn=!0;function mn(e,t){return null!==e&&e.type===ye&&e.value.charCodeAt(0)===t}function gn(e,t,n){for(;null!==e&&(e.type===we||e.type===Ie);)e=n(++t);return t}function fn(e,t,n,r){if(!e)return 0;const o=e.value.charCodeAt(t);if(43===o||o===pn){if(n)return 0;t++}for(;t6)return 0}return r}function xn(e,t,n){if(!e)return 0;for(;yn(n(t),63);){if(++e>6)return 0;t++}return t}const vn=["calc(","-moz-calc(","-webkit-calc("],wn=new Map([[he,Pe],[je,Pe],[Te,Oe],[De,Ee]]);function Sn(e,t){return te.max&&"string"!=typeof e.max)return!0}return!1}function Tn(e){return function(t,n,r){return null===t?0:t.type===he&&zn(t.value,vn)?function(e,t){let n=0,r=[],o=0;e:do{switch(e.type){case Ee:case Pe:case Oe:if(e.type!==n)break e;if(n=r.pop(),0===r.length){o++;break e}break;case he:case je:case Te:case De:r.push(n),n=wn.get(e.type)}o++}while(e=t(o));return o}(t,n):e(t,n,r)}}function On(e){return function(t){return null===t||t.type!==e?0:1}}function jn(e){return null===e||e.type!==ue||45!==Sn(e.value,0)||45!==Sn(e.value,1)?0:1}function Pn(e){return e&&(e=new Set(e)),function(t,n,r){if(null===t||t.type!==ve)return 0;const o=it(t.value,0);if(null!==e){const n=t.value.indexOf("\\",o),r=-1!==n&&An(t.value,n)?t.value.substring(o,n):t.value.substr(o);if(!1===e.has(r.toLowerCase()))return 0}return Ln(r,t.value,o)?0:1}}function Dn(e){return"function"!=typeof e&&(e=function(){return 0}),function(t,n,r){return null!==t&&t.type===ke&&0===Number(t.value)?1:e(t,n,r)}}const En={"ident-token":On(ue),"function-token":On(he),"at-keyword-token":On(pe),"hash-token":On(de),"string-token":On(me),"bad-string-token":On(ge),"url-token":On(fe),"bad-url-token":On(be),"delim-token":On(ye),"number-token":On(ke),"percentage-token":On(xe),"dimension-token":On(ve),"whitespace-token":On(we),"CDO-token":On(Se),"CDC-token":On(Ce),"colon-token":On(ze),"semicolon-token":On(Ae),"comma-token":On(Le),"[-token":On(Te),"]-token":On(Oe),"(-token":On(je),")-token":On(Pe),"{-token":On(De),"}-token":On(Ee)},In={string:On(me),ident:On(ue),percentage:Tn(function(e,t,n){return null===e||e.type!==xe||Ln(n,e.value,e.value.length-1)?0:1}),zero:Dn(),number:Tn(function(e,t,n){if(null===e)return 0;const r=it(e.value,0);return r===e.value.length||An(e.value,r)?Ln(n,e.value,r)?0:1:0}),integer:Tn(function(e,t,n){if(null===e||e.type!==ke)return 0;let r=43===Sn(e.value,0)||45===Sn(e.value,0)?1:0;for(;r/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0);class Gn{constructor(e){this.str=e,this.pos=0}charCodeAt(e){return e=128||0===Kn[t])break}return this.pos===e&&this.error("Expect a keyword"),this.substringToPos(e)}scanNumber(){let e=this.pos;for(;e57)break}return this.pos===e&&this.error("Expect a number"),this.substringToPos(e)}scanString(){const e=this.str.indexOf("'",this.pos+1);return-1===e&&(this.pos=this.str.length,this.error("Expect an apostrophe")),this.substringToPos(e+1)}}const Hn=9,$n=10,Qn=12,Xn=13,Yn=32,Zn=33,Jn=35,er=38,tr=39,nr=40,rr=41,or=42,ir=43,ar=44,sr=45,lr=60,cr=62,ur=63,hr=64,pr=91,dr=93,mr=123,gr=124,fr=125,br=8734,yr={" ":1,"&&":2,"||":3,"|":4};function kr(e){let t=null,n=null;return e.eat(mr),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===ar?(e.pos++,e.skipWs(),e.charCode()!==fr&&(n=e.scanNumber(e),e.skipWs())):n=t,e.eat(fr),{min:Number(t),max:n?Number(n):0}}function xr(e,t){const n=function(e){let t=null,n=!1;switch(e.charCode()){case or:e.pos++,t={min:0,max:0};break;case ir:e.pos++,t={min:1,max:0};break;case ur:e.pos++,t={min:0,max:1};break;case Jn:e.pos++,n=!0,e.charCode()===mr?t=kr(e):e.charCode()===ur?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case mr:t=kr(e);break;default:return null}return{type:"Multiplier",comma:n,min:t.min,max:t.max,term:null}}(e);return null!==n?(n.term=t,e.charCode()===Jn&&e.charCodeAt(e.pos-1)===ir?xr(e,n):n):t}function vr(e){const t=e.peek();return""===t?null:xr(e,{type:"Token",value:t})}function wr(e){let t,n=null;if(e.eat(lr),t=e.scanWord(),"boolean-expr"===t){e.eat(pr);const t=Cr(e,dr);return e.eat(dr),e.eat(cr),xr(e,{type:"Boolean",term:1===t.terms.length?t.terms[0]:t})}return e.charCode()===nr&&e.nextCharCode()===rr&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===pr&&(e.skipWs(),n=function(e){let t=null,n=null,r=1;return e.eat(pr),e.charCode()===sr&&(e.peek(),r=-1),-1==r&&e.charCode()===br?e.peek():(t=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(ar),e.skipWs(),e.charCode()===br?e.peek():(r=1,e.charCode()===sr&&(e.peek(),r=-1),n=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(n+=e.scanWord())),e.eat(dr),{type:"Range",min:t,max:n}}(e)),e.eat(cr),xr(e,{type:"Type",name:t,opts:n})}function Sr(e,t){function n(e,t){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:!1}}let r;for(t=Object.keys(t).sort((e,t)=>yr[e]-yr[t]);t.length>0;){r=t.shift();let o=0,i=0;for(;o1&&(e.splice(i,o-i,n(e.slice(i,o),r)),o=i+1),i=-1))}-1!==i&&t.length&&e.splice(i,o-i,n(e.slice(i,o),r))}return r}function Cr(e,t){const n=Object.create(null),r=[];let o,i=null,a=e.pos;for(;e.charCode()!==t&&(o=zr(e,t));)"Spaces"!==o.type&&("Combinator"===o.type?(null!==i&&"Combinator"!==i.type||(e.pos=a,e.error("Unexpected combinator")),n[o.value]=!0):null!==i&&"Combinator"!==i.type&&(n[" "]=!0,r.push({type:"Combinator",value:" "})),r.push(o),i=o,a=e.pos);return null!==i&&"Combinator"===i.type&&(e.pos-=a,e.error("Unexpected combinator")),{type:"Group",terms:r,combinator:Sr(r,n)||" ",disallowEmpty:!1,explicit:!1}}function zr(e,t){let n=e.charCode();switch(n){case dr:break;case pr:return xr(e,function(e,t){let n;return e.eat(pr),n=Cr(e,t),e.eat(dr),n.explicit=!0,e.charCode()===Zn&&(e.pos++,n.disallowEmpty=!0),n}(e,t));case lr:return e.nextCharCode()===tr?function(e){let t;return e.eat(lr),e.eat(tr),t=e.scanWord(),e.eat(tr),e.eat(cr),xr(e,{type:"Property",name:t})}(e):wr(e);case gr:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===gr?2:1))};case er:return e.pos++,e.eat(er),{type:"Combinator",value:"&&"};case ar:return e.pos++,{type:"Comma"};case tr:return xr(e,{type:"String",value:e.scanString()});case Yn:case Hn:case $n:case Xn:case Qn:return{type:"Spaces",value:e.scanSpaces()};case hr:return n=e.nextCharCode(),e.isNameCharCode(n)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):vr(e);case or:case ir:case ur:case Jn:case Zn:break;case mr:if(n=e.nextCharCode(),n<48||n>57)return vr(e);break;default:return e.isNameCharCode(n)?function(e){const t=e.scanWord();return e.charCode()===nr?(e.pos++,{type:"Function",name:t}):xr(e,{type:"Keyword",name:t})}(e):vr(e)}}function Ar(e){const t=new Gn(e),n=Cr(t);return t.pos!==e.length&&t.error("Unexpected input"),1===n.terms.length&&"Group"===n.terms[0].type?n.terms[0]:n}const Lr=function(){};function Tr(e){return"function"==typeof e?e:Lr}function Or(e,t,n){let r=Lr,o=Lr;if("function"==typeof t?r=t:t&&(r=Tr(t.enter),o=Tr(t.leave)),r===Lr&&o===Lr)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");!function e(t){switch(r.call(n,t),t.type){case"Group":t.terms.forEach(e);break;case"Multiplier":case"Boolean":e(t.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: "+t.type)}o.call(n,t)}(e)}const jr={decorator(e){const t=[];let n=null;return{...e,node(t){const r=n;n=t,e.node.call(this,t),n=r},emit(e,r,o){t.push({type:r,value:e,node:o?null:n})},result:()=>t}}};function Pr(e,t){return"string"==typeof e?function(e){const t=[];return bt(e,(n,r,o)=>t.push({type:n,value:e.slice(r,o),node:null})),t}(e):t.generate(e,jr)}const Dr={type:"Match"},Er={type:"Mismatch"},Ir={type:"DisallowEmpty"};function Nr(e,t,n){return t===Dr&&n===Er||e===Dr&&t===Dr&&n===Dr?e:("If"===e.type&&e.else===Er&&t===Dr&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function Br(e){return e.length>2&&40===e.charCodeAt(e.length-2)&&41===e.charCodeAt(e.length-1)}function Fr(e){return"Keyword"===e.type||"AtKeyword"===e.type||"Function"===e.type||"Type"===e.type&&Br(e.name)}function Rr(e,t=" ",n=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:n}}function _r(e,t,n=new Set){if(!n.has(e))switch(n.add(e),e.type){case"If":e.match=_r(e.match,t,n),e.then=_r(e.then,t,n),e.else=_r(e.else,t,n);break;case"Type":return t[e.name]||e}return e}function Mr(e,t,n){switch(e){case" ":{let e=Dr;for(let n=t.length-1;n>=0;n--){e=Nr(t[n],e,Er)}return e}case"|":{let e=Er,n=null;for(let r=t.length-1;r>=0;r--){let o=t[r];if(Fr(o)&&(null===n&&r>0&&Fr(t[r-1])&&(n=Object.create(null),e=Nr({type:"Enum",map:n},Dr,e)),null!==n)){const e=(Br(o.name)?o.name.slice(0,-1):o.name).toLowerCase();if(e in n==!1){n[e]=o;continue}}n=null,e=Nr(o,Dr,e)}return e}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=Er;for(let r=t.length-1;r>=0;r--){const o=t[r];let i;i=t.length>1?Mr(e,t.filter(function(e){return e!==o}),!1):Dr,n=Nr(o,i,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let r=n?Dr:Er;for(let n=t.length-1;n>=0;n--){const o=t[n];let i;i=t.length>1?Mr(e,t.filter(function(e){return e!==o}),!0):Dr,r=Nr(o,i,r)}return r}}}function qr(e){if("function"==typeof e)return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=Mr(e.combinator,e.terms.map(qr),!1);return e.disallowEmpty&&(t=Nr(t,Ir,Er)),t}case"Multiplier":return function(e){let t=Dr,n=qr(e.term);if(0===e.max)n=Nr(n,Ir,Er),t=Nr(n,null,Er),t.then=Nr(Dr,Dr,t),e.comma&&(t.then.else=Nr({type:"Comma",syntax:e},t,Er));else for(let r=e.min||1;r<=e.max;r++)e.comma&&t!==Dr&&(t=Nr({type:"Comma",syntax:e},t,Er)),t=Nr(n,Nr(Dr,Dr,t),Er);if(0===e.min)t=Nr(Dr,Dr,t);else for(let r=0;r=65&&o<=90&&(o|=32),o!==r)return!1}return!0}function $r(e){return null===e||(e.type===Le||e.type===he||e.type===je||e.type===Te||e.type===De||function(e){return e.type===ye&&"?"!==e.value}(e))}function Qr(e){return null===e||(e.type===Pe||e.type===Oe||e.type===Ee||e.type===ye&&"/"===e.value)}function Xr(e,t,n){function r(){do{y++,b=yk&&(k=y)}function c(){h={syntax:t.syntax,opts:t.syntax.opts||null!==h&&h.opts||null,prev:h},x={type:2,syntax:t.syntax,token:x.token,prev:x}}function u(){x=2===x.type?x.prev:{type:3,syntax:h.syntax,token:x.token,prev:x},h=h.prev}let h=null,p=null,d=null,m=null,g=0,f=null,b=null,y=-1,k=0,x={type:0,syntax:null,token:null,prev:null};for(r();null===f&&++g<15e3;)switch(t.type){case"Match":if(null===p){if(null!==b&&(y!==e.length-1||"\\0"!==b.value&&"\\9"!==b.value)){t=Er;break}f=Vr;break}if((t=p.nextState)===Ir){if(p.matchStack===x){t=Er;break}t=Dr}for(;p.syntaxStack!==h;)u();p=p.prev;break;case"Mismatch":if(null!==m&&!1!==m)(null===d||y>d.tokenIndex)&&(d=m,m=!1);else if(null===d){f="Mismatch";break}t=d.nextState,p=d.thenStack,h=d.syntaxStack,x=d.matchStack,y=d.tokenIndex,b=yy){for(;y":"<'"+t.name+"'>"));if(!1!==m&&null!==b&&"Type"===t.type){if("custom-ident"===t.name&&b.type===ue||"length"===t.name&&"0"===b.value){null===m&&(m=i(t,d)),t=Er;break}}c(),t=r.matchRef||r.match;break}case"Keyword":{const e=t.name;if(null!==b){let n=b.value;if(-1!==n.indexOf("\\")&&(n=n.replace(/\\[09].*$/,"")),Hr(n,e)){l(),t=Dr;break}}t=Er;break}case"AtKeyword":case"Function":if(null!==b&&Hr(b.value,t.name)){l(),t=Dr;break}t=Er;break;case"Token":if(null!==b&&b.value===t.value){l(),t=Dr;break}t=Er;break;case"Comma":null!==b&&b.type===Le?$r(x.token)?t=Er:(l(),t=Qr(b)?Er:Dr):t=$r(x.token)||Qr(b)?Dr:Er;break;case"String":let r="",g=y;for(;g"Type"===e.type&&e.name===t)}function eo(e,t){return no(this,e,e=>"Property"===e.type&&e.name===t)}function to(e){return no(this,e,e=>"Keyword"===e.type)}function no(e,t,n){const r=Zr.call(e,t);return null!==r&&r.some(n)}function ro(e){return"node"in e?e.node:ro(e.match[0])}function oo(e){return"node"in e?e.node:oo(e.match[e.match.length-1])}function io(e,t,n,r,o){const i=[];return null!==n.matched&&function n(a){if(null!==a.syntax&&a.syntax.type===r&&a.syntax.name===o){const n=ro(a),r=oo(a);e.syntax.walk(t,function(e,t,o){if(e===n){const e=new kt;do{if(e.appendData(t.data),t.data===r)break;t=t.next}while(null!==t);i.push({parent:o,nodes:e})}})}Array.isArray(a.match)&&a.match.forEach(n)}(n.matched),i}const{hasOwnProperty:ao}=Object.prototype;function so(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&e>=0}function lo(e){return Boolean(e)&&so(e.offset)&&so(e.line)&&so(e.column)}function co(e,t){return function(n,r){if(!n||n.constructor!==Object)return r(n,"Type of node should be an Object");for(let o in n){let i=!0;if(!1!==ao.call(n,o)){if("type"===o)n.type!==e&&r(n,"Wrong node type `"+n.type+"`, expected `"+e+"`");else if("loc"===o){if(null===n.loc)continue;if(n.loc&&n.loc.constructor===Object)if("string"!=typeof n.loc.source)o+=".source";else if(lo(n.loc.start)){if(lo(n.loc.end))continue;o+=".end"}else o+=".start";i=!1}else if(t.hasOwnProperty(o)){i=!1;for(let e=0;!i&&e")}}return n.join(" | ")}function ho(e,t){const n=t.structure,r={type:String,loc:!0},o={type:'"'+e+'"'};for(const t in n){if(!1===ao.call(n,t))continue;const i=r[t]=Array.isArray(n[t])?n[t].slice():[n[t]];o[t]=uo(i,e+"."+t)}return{docs:o,check:co(e,r)}}function po(e,t,n){const r={};for(const o in e)e[o].syntax&&(r[o]=n?e[o].syntax:Xt(e[o].syntax,{compact:t}));return r}function mo(e,t,n){const r={};for(const[o,i]of Object.entries(e))r[o]={prelude:i.prelude&&(n?i.prelude.syntax:Xt(i.prelude.syntax,{compact:t})),descriptors:i.descriptors&&po(i.descriptors,t,n)};return r}function go(e,t,n){return{matched:e,iterations:n,error:t,...s}}function fo(e,t,n,r){const o=Pr(n,e.syntax);let i;return function(e){for(let t=0;t(Object.defineProperty(i,"syntax",{value:Ar(e)}),i.syntax)}):i.syntax=e,Object.defineProperty(i,"match",{get:()=>(Object.defineProperty(i,"match",{value:Wr(i.syntax,o)}),i.match)}),"Property"===t&&Object.defineProperty(i,"matchRef",{get(){const e=i.syntax,t=function(e){const t=e.terms[0];return!1===e.explicit&&1===e.terms.length&&"Multiplier"===t.type&&!0===t.comma}(e)?Wr({...e,terms:[e.terms[0].term]},o):null;return Object.defineProperty(i,"matchRef",{value:t}),t}})),i}addAtrule_(e,t){t&&(this.atrules[e]={type:"Atrule",name:e,prelude:t.prelude?this.createDescriptor(t.prelude,"AtrulePrelude",e):null,descriptors:t.descriptors?Object.keys(t.descriptors).reduce((n,r)=>(n[r]=this.createDescriptor(t.descriptors[r],"AtruleDescriptor",r,e),n),Object.create(null)):null})}addProperty_(e,t){t&&(this.properties[e]=this.createDescriptor(t,"Property",e))}addType_(e,t){t&&(this.types[e]=this.createDescriptor(t,"Type",e))}checkAtruleName(e){if(!this.getAtrule(e))return new en("Unknown at-rule","@"+e)}checkAtrulePrelude(e,t){const n=this.checkAtruleName(e);if(n)return n;const r=this.getAtrule(e);return!r.prelude&&t?new SyntaxError("At-rule `@"+e+"` should not contain a prelude"):!r.prelude||t||fo(this,r.prelude,"",!1).matched?void 0:new SyntaxError("At-rule `@"+e+"` should contain a prelude")}checkAtruleDescriptorName(e,t){const n=this.checkAtruleName(e);if(n)return n;const r=this.getAtrule(e),o=an(t);return r.descriptors?r.descriptors[o.name]||r.descriptors[o.basename]?void 0:new en("Unknown at-rule descriptor",t):new SyntaxError("At-rule `@"+e+"` has no known descriptors")}checkPropertyName(e){if(!this.getProperty(e))return new en("Unknown property",e)}matchAtrulePrelude(e,t){const n=this.checkAtrulePrelude(e,t);if(n)return go(null,n);const r=this.getAtrule(e);return r.prelude?fo(this,r.prelude,t||"",!1):go(null,null)}matchAtruleDescriptor(e,t,n){const r=this.checkAtruleDescriptorName(e,t);if(r)return go(null,r);const o=this.getAtrule(e),i=an(t);return fo(this,o.descriptors[i.name]||o.descriptors[i.basename],n,!1)}matchDeclaration(e){return"Declaration"!==e.type?go(null,new Error("Not a Declaration node")):this.matchProperty(e.property,e.value)}matchProperty(e,t){if(sn(e).custom)return go(null,new Error("Lexer matching doesn't applicable for custom properties"));const n=this.checkPropertyName(e);return n?go(null,n):fo(this,this.getProperty(e),t,!0)}matchType(e,t){const n=this.getType(e);return n?fo(this,n,t,!1):go(null,new en("Unknown type",e))}match(e,t){return"string"==typeof e||e&&e.type?("string"!=typeof e&&e.match||(e=this.createDescriptor(e,"Type","anonymous")),fo(this,e,t,!1)):go(null,new en("Bad syntax"))}findValueFragments(e,t,n,r){return io(this,t,this.matchProperty(e,t),n,r)}findDeclarationValueFragments(e,t,n){return io(this,e.value,this.matchDeclaration(e),t,n)}findAllFragments(e,t,n){const r=[];return this.syntax.walk(e,{visit:"Declaration",enter:e=>{r.push.apply(r,this.findDeclarationValueFragments(e,t,n))}}),r}getAtrule(e,t=!0){const n=an(e);return(n.vendor&&t?this.atrules[n.name]||this.atrules[n.basename]:this.atrules[n.name])||null}getAtrulePrelude(e,t=!0){const n=this.getAtrule(e,t);return n&&n.prelude||null}getAtruleDescriptor(e,t){return this.atrules.hasOwnProperty(e)&&this.atrules.declarators&&this.atrules[e].declarators[t]||null}getProperty(e,t=!0){const n=sn(e);return(n.vendor&&t?this.properties[n.name]||this.properties[n.basename]:this.properties[n.name])||null}getType(e){return hasOwnProperty.call(this.types,e)?this.types[e]:null}validate(){function e(e,t){return t?`<${e}>`:`<'${e}'>`}function t(i,a,s,l){if(s.has(a))return s.get(a);s.set(a,!1),null!==l.syntax&&Or(l.syntax,function(l){if("Type"!==l.type&&"Property"!==l.type)return;const c="Type"===l.type?i.types:i.properties,u="Type"===l.type?r:o;hasOwnProperty.call(c,l.name)?t(i,l.name,u,c[l.name])&&(n.push(`${e(a,s===r)} used broken syntax definition ${e(l.name,"Type"===l.type)}`),s.set(a,!0)):(n.push(`${e(a,s===r)} used missed syntax definition ${e(l.name,"Type"===l.type)}`),s.set(a,!0))},this)}const n=[];let r=new Map,o=new Map;for(const e in this.types)t(this,e,r,this.types[e]);for(const e in this.properties)t(this,e,o,this.properties[e]);const i=[...r.keys()].filter(e=>r.get(e)),a=[...o.keys()].filter(e=>o.get(e));return i.length||a.length?{errors:n,types:i,properties:a}:null}dump(e,t){return{generic:this.generic,cssWideKeywords:this.cssWideKeywords,units:this.units,types:po(this.types,!t,e),properties:po(this.properties,!t,e),atrules:mo(this.atrules,!t,e)}}toString(){return JSON.stringify(this.dump())}}function yo(e,t){return"string"==typeof t&&/^\s*\|/.test(t)?"string"==typeof e?e+t:t.replace(/^\s*\|\s*/,""):t||null}function ko(e,t){const n=Object.create(null);for(const[r,o]of Object.entries(e))if(o){n[r]={};for(const e of Object.keys(o))t.includes(e)&&(n[r][e]=o[e])}return n}function xo(e,t){const n={...e};for(const[r,o]of Object.entries(t))switch(r){case"generic":n[r]=Boolean(o);break;case"cssWideKeywords":n[r]=e[r]?[...e[r],...o]:o||[];break;case"units":n[r]={...e[r]};for(const[e,t]of Object.entries(o))n[r][e]=Array.isArray(t)?t:[];break;case"atrules":n[r]={...e[r]};for(const[e,t]of Object.entries(o)){const o=n[r][e]||{},i=n[r][e]={prelude:o.prelude||null,descriptors:{...o.descriptors}};if(t){i.prelude=t.prelude?yo(i.prelude,t.prelude):i.prelude||null;for(const[e,n]of Object.entries(t.descriptors||{}))i.descriptors[e]=n?yo(i.descriptors[e],n):null;Object.keys(i.descriptors).length||(i.descriptors=null)}}break;case"types":case"properties":n[r]={...e[r]};for(const[e,t]of Object.entries(o))n[r][e]=yo(n[r][e],t);break;case"scope":case"features":n[r]={...e[r]};for(const[e,t]of Object.entries(o))n[r][e]={...n[r][e],...t};break;case"parseContext":n[r]={...e[r],...o};break;case"atrule":case"pseudo":n[r]={...e[r],...ko(o,["parse"])};break;case"node":n[r]={...e[r],...ko(o,["name","structure","parse","generate","walkContext"])}}return n}function vo(e){const t=Tt(e),n=Ht(e),r=_t(e),{fromPlainObject:o,toPlainObject:i}=function(e){return{fromPlainObject:t=>(e(t,{enter(e){e.children&&e.children instanceof kt==0&&(e.children=(new kt).fromArray(e.children))}}),t),toPlainObject:t=>(e(t,{leave(e){e.children&&e.children instanceof kt&&(e.children=e.children.toArray())}}),t)}}(n),a={lexer:null,createLexer:e=>new bo(e,a,a.lexer.structure),tokenize:bt,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:o,toPlainObject:i,fork(t){const n=xo({},e);return vo("function"==typeof t?t(n):xo(n,t))}};return a.lexer=new bo({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}const wo=e=>vo(xo({},e)),So=43,Co=45,zo=110,Ao=!0,Lo=!1;function To(e,t){let n=this.tokenStart+e;const r=this.charCodeAt(n);for(r!==So&&r!==Co||(t&&this.error("Number sign is not allowed"),n++);n0&&this.skip(e),0===t&&(n=this.charCodeAt(this.tokenStart),n!==So&&n!==Co&&this.error("Number sign is expected")),Oo.call(this,0!==t),t===Co?"-"+this.consume(ke):this.consume(ke)}const Do="AnPlusB",Eo={a:[String,null],b:[String,null]};function Io(){const e=this.tokenStart;let t=null,n=null;if(this.tokenType===ke)Oo.call(this,Lo),n=this.consume(ke);else if(this.tokenType===ue&&this.cmpChar(this.tokenStart,Co))switch(t="-1",jo.call(this,1,zo),this.tokenEnd-this.tokenStart){case 2:this.next(),n=Po.call(this);break;case 3:jo.call(this,2,Co),this.next(),this.skipSC(),Oo.call(this,Ao),n="-"+this.consume(ke);break;default:jo.call(this,2,Co),To.call(this,3,Ao),this.next(),n=this.substrToCursor(e+2)}else if(this.tokenType===ue||this.isDelim(So)&&this.lookupType(1)===ue){let r=0;switch(t="1",this.isDelim(So)&&(r=1,this.next()),jo.call(this,0,zo),this.tokenEnd-this.tokenStart){case 1:this.next(),n=Po.call(this);break;case 2:jo.call(this,1,Co),this.next(),this.skipSC(),Oo.call(this,Ao),n="-"+this.consume(ke);break;default:jo.call(this,1,Co),To.call(this,2,Ao),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===ve){const r=this.charCodeAt(this.tokenStart),o=r===So||r===Co;let i=this.tokenStart+o;for(;i{"Declaration"===e.type&&this.token(Ae,";")}),this.token(Ee,"}")}const fi="Brackets",bi={children:[[]]};function yi(e,t){const n=this.tokenStart;let r=null;return this.eat(Te),r=e.call(this,t),this.eof||this.eat(Oe),{type:"Brackets",loc:this.getLocation(n,this.tokenStart),children:r}}function ki(e){this.token(ye,"["),this.children(e),this.token(ye,"]")}const xi="CDC",vi=[];function wi(){const e=this.tokenStart;return this.eat(Ce),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function Si(){this.token(Ce,"--\x3e")}const Ci="CDO",zi=[];function Ai(){const e=this.tokenStart;return this.eat(Se),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function Li(){this.token(Se,"\x3c!--")}const Ti=46,Oi="ClassSelector",ji={name:String};function Pi(){return this.eatDelim(Ti),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(ue)}}function Di(e){this.token(ye,"."),this.token(ue,e.name)}const Ei=43,Ii=47,Ni=62,Bi=126,Fi="Combinator",Ri={name:String};function _i(){const e=this.tokenStart;let t;switch(this.tokenType){case we:t=" ";break;case ye:switch(this.charCodeAt(this.tokenStart)){case Ni:case Ei:case Bi:this.next();break;case Ii:this.next(),this.eatIdent("deep"),this.eatDelim(Ii);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e)}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function Mi(e){this.tokenize(e.name)}const qi=42,Wi=47,Ui="Comment",Vi={value:String};function Ki(){const e=this.tokenStart;let t=this.tokenEnd;return this.eat(Ie),t-e+2>=2&&this.charCodeAt(t-2)===qi&&this.charCodeAt(t-1)===Wi&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function Gi(e){this.token(Ie,"/*"+e.value+"*/")}const Hi=new Set([ze,Pe,ce]),$i="Condition",Qi={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]};function Xi(e){return this.lookupTypeNonSC(1)===ue&&Hi.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}const Yi={media:Xi,container:Xi,supports(){return this.SupportsDeclaration()}};function Zi(e="media"){const t=this.createList();e:for(;!this.eof;)switch(this.tokenType){case Ie:case we:this.next();continue;case ue:t.push(this.Identifier());break;case je:{let n=this.parseWithFallback(()=>Yi[e].call(this,e),()=>null);n||(n=this.parseWithFallback(()=>{this.eat(je);const t=this.Condition(e);return this.eat(Pe),t},()=>this.GeneralEnclosed(e))),t.push(n);break}case he:{let n=this.parseWithFallback(()=>this.FeatureFunction(e),()=>null);n||(n=this.GeneralEnclosed(e)),t.push(n);break}default:break e}return t.isEmpty&&this.error("Condition is expected"),{type:"Condition",loc:this.getLocationFromList(t),kind:e,children:t}}function Ji(e){e.children.forEach(e=>{"Condition"===e.type?(this.token(je,"("),this.node(e),this.token(Pe,")")):this.node(e)})}const ea=33,ta=35,na=36,ra=38,oa=42,ia=43,aa=47;function sa(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function la(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function ca(){const e=this.tokenIndex,t=this.Value();return"Raw"!==t.type&&!1===this.eof&&this.tokenType!==Ae&&!1===this.isDelim(ea)&&!1===this.isBalanceEdge(e)&&this.error(),t}const ua="Declaration",ha="declaration",pa={important:[Boolean,String],property:String,value:["Value","Raw"]};function da(){const e=this.tokenStart,t=this.tokenIndex,n=ga.call(this),r=cn(n),o=r?this.parseCustomProperty:this.parseValue,i=r?la:sa;let a,s=!1;this.skipSC(),this.eat(ze);const l=this.tokenIndex;if(r||this.skipSC(),a=o?this.parseWithFallback(ca,i):i.call(this,this.tokenIndex),r&&"Value"===a.type&&a.children.isEmpty)for(let e=l-this.tokenIndex;e<=0;e++)if(this.lookupType(e)===we){a.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}return this.isDelim(ea)&&(s=fa.call(this),this.skipSC()),!1===this.eof&&this.tokenType!==Ae&&!1===this.isBalanceEdge(t)&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:s,property:n,value:a}}function ma(e){this.token(ue,e.property),this.token(ze,":"),this.node(e.value),e.important&&(this.token(ye,"!"),this.token(ue,!0===e.important?"important":e.important))}function ga(){const e=this.tokenStart;if(this.tokenType===ye)switch(this.charCodeAt(this.tokenStart)){case oa:case na:case ia:case ta:case ra:this.next();break;case aa:this.next(),this.isDelim(aa)&&this.next()}return this.tokenType===de?this.eat(de):this.eat(ue),this.substrToCursor(e)}function fa(){this.eat(ye),this.skipSC();const e=this.consume(ue);return"important"===e||e}const ba=38;function ya(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}const ka="DeclarationList",xa={children:[["Declaration","Atrule","Rule"]]};function va(){const e=this.createList();for(;!this.eof;)switch(this.tokenType){case we:case Ie:case Ae:this.next();break;case pe:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),ya));break;default:this.isDelim(ba)?e.push(this.parseWithFallback(this.Rule,ya)):e.push(this.parseWithFallback(this.Declaration,ya))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function wa(e){this.children(e,e=>{"Declaration"===e.type&&this.token(Ae,";")})}const Sa="Dimension",Ca={value:String,unit:String};function za(){const e=this.tokenStart,t=this.consumeNumber(ve);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function Aa(e){this.token(ve,e.value+e.unit)}const La=47,Ta="Feature",Oa={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]};function ja(e){const t=this.tokenStart;let n,r=null;if(this.eat(je),this.skipSC(),n=this.consume(ue),this.skipSC(),this.tokenType!==Pe){switch(this.eat(ze),this.skipSC(),this.tokenType){case ke:r=this.lookupNonWSType(1)===ye?this.Ratio():this.Number();break;case ve:r=this.Dimension();break;case ue:r=this.Identifier();break;case he:r=this.parseWithFallback(()=>{const e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(La)&&this.error(),e},()=>this.Ratio());break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eof||this.eat(Pe),{type:"Feature",loc:this.getLocation(t,this.tokenStart),kind:e,name:n,value:r}}function Pa(e){this.token(je,"("),this.token(ue,e.name),null!==e.value&&(this.token(ze,":"),this.node(e.value)),this.token(Pe,")")}const Da="FeatureFunction",Ea={kind:String,feature:String,value:["Declaration","Selector"]};function Ia(e,t){const n=(this.features[e]||{})[t];return"function"!=typeof n&&this.error(`Unknown feature ${t}()`),n}function Na(e="unknown"){const t=this.tokenStart,n=this.consumeFunctionName(),r=Ia.call(this,e,n.toLowerCase());this.skipSC();const o=this.parseWithFallback(()=>{const e=this.tokenIndex,t=r.call(this);return!1===this.eof&&!1===this.isBalanceEdge(e)&&this.error(),t},()=>this.Raw(null,!1));return this.eof||this.eat(Pe),{type:"FeatureFunction",loc:this.getLocation(t,this.tokenStart),kind:e,feature:n,value:o}}function Ba(e){this.token(he,e.feature+"("),this.node(e.value),this.token(Pe,")")}const Fa=47,Ra=60,_a=61,Ma=62,qa="FeatureRange",Wa={kind:String,left:["Identifier","Number","Dimension","Ratio","Function"],leftComparison:String,middle:["Identifier","Number","Dimension","Ratio","Function"],rightComparison:[String,null],right:["Identifier","Number","Dimension","Ratio","Function",null]};function Ua(){switch(this.skipSC(),this.tokenType){case ke:return this.isDelim(Fa,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case ve:return this.Dimension();case ue:return this.Identifier();case he:return this.parseWithFallback(()=>{const e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(Fa)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function Va(e){if(this.skipSC(),this.isDelim(Ra)||this.isDelim(Ma)){const e=this.source[this.tokenStart];return this.next(),this.isDelim(_a)?(this.next(),e+"="):e}if(this.isDelim(_a))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function Ka(e="unknown"){const t=this.tokenStart;this.skipSC(),this.eat(je);const n=Ua.call(this),r=Va.call(this,"Identifier"===n.type),o=Ua.call(this);let i=null,a=null;return this.lookupNonWSType(0)!==Pe&&(i=Va.call(this),a=Ua.call(this)),this.skipSC(),this.eat(Pe),{type:"FeatureRange",loc:this.getLocation(t,this.tokenStart),kind:e,left:n,leftComparison:r,middle:o,rightComparison:i,right:a}}function Ga(e){this.token(je,"("),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(Pe,")")}const Ha="Function",$a="function",Qa={name:String,children:[[]]};function Xa(e,t){const n=this.tokenStart,r=this.consumeFunctionName(),o=r.toLowerCase();let i;return i=t.hasOwnProperty(o)?t[o].call(this,t):e.call(this,t),this.eof||this.eat(Pe),{type:"Function",loc:this.getLocation(n,this.tokenStart),name:r,children:i}}function Ya(e){this.token(he,e.name+"("),this.children(e),this.token(Pe,")")}const Za="GeneralEnclosed",Ja={kind:String,function:[String,null],children:[[]]};function es(e){const t=this.tokenStart;let n=null;this.tokenType===he?n=this.consumeFunctionName():this.eat(je);const r=this.parseWithFallback(()=>{const e=this.tokenIndex,t=this.readSequence(this.scope.Value);return!1===this.eof&&!1===this.isBalanceEdge(e)&&this.error(),t},()=>this.createSingleNodeList(this.Raw(null,!1)));return this.eof||this.eat(Pe),{type:"GeneralEnclosed",loc:this.getLocation(t,this.tokenStart),kind:e,function:n,children:r}}function ts(e){e.function?this.token(he,e.function+"("):this.token(je,"("),this.children(e),this.token(Pe,")")}const ns="XXX",rs="Hash",os={value:String};function is(){const e=this.tokenStart;return this.eat(de),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function as(e){this.token(de,"#"+e.value)}const ss="Identifier",ls={name:String};function cs(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(ue)}}function us(e){this.token(ue,e.name)}const hs="IdSelector",ps={name:String};function ds(){const e=this.tokenStart;return this.eat(de),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function ms(e){this.token(ye,"#"+e.name)}const gs=46,fs="Layer",bs={name:String};function ys(){let e=this.tokenStart,t=this.consume(ue);for(;this.isDelim(gs);)this.eat(ye),t+="."+this.consume(ue);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}function ks(e){this.tokenize(e.name)}const xs="LayerList",vs={children:[["Layer"]]};function ws(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),this.lookupTypeNonSC(0)===Le);)this.skipSC(),this.next(),this.skipSC();return{type:"LayerList",loc:this.getLocationFromList(e),children:e}}function Ss(e){this.children(e,()=>this.token(Le,","))}const Cs="MediaQuery",zs={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]};function As(){const e=this.tokenStart;let t=null,n=null,r=null;if(this.skipSC(),this.tokenType===ue&&this.lookupTypeNonSC(1)!==je){const e=this.consume(ue),o=e.toLowerCase();switch("not"===o||"only"===o?(this.skipSC(),t=o,n=this.consume(ue)):n=e,this.lookupTypeNonSC(0)){case ue:this.skipSC(),this.eatIdent("and"),r=this.Condition("media");break;case De:case Ae:case Le:case ce:break;default:this.error("Identifier or parenthesis is expected")}}else switch(this.tokenType){case ue:case je:case he:r=this.Condition("media");break;case De:case Ae:case ce:break;default:this.error("Identifier or parenthesis is expected")}return{type:"MediaQuery",loc:this.getLocation(e,this.tokenStart),modifier:t,mediaType:n,condition:r}}function Ls(e){e.mediaType?(e.modifier&&this.token(ue,e.modifier),this.token(ue,e.mediaType),e.condition&&(this.token(ue,"and"),this.node(e.condition))):e.condition&&this.node(e.condition)}const Ts="MediaQueryList",Os={children:[["MediaQuery"]]};function js(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===Le);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function Ps(e){this.children(e,()=>this.token(Le,","))}const Ds=38,Es="NestingSelector",Is={};function Ns(){const e=this.tokenStart;return this.eatDelim(Ds),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function Bs(){this.token(ye,"&")}const Fs="Nth",Rs={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};function _s(){this.skipSC();const e=this.tokenStart;let t,n=e,r=null;return t=this.lookupValue(0,"odd")||this.lookupValue(0,"even")?this.Identifier():this.AnPlusB(),n=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),r=this.SelectorList(),n=this.tokenStart),{type:"Nth",loc:this.getLocation(e,n),nth:t,selector:r}}function Ms(e){this.node(e.nth),null!==e.selector&&(this.token(ue,"of"),this.node(e.selector))}const qs="Number",Ws={value:String};function Us(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(ke)}}function Vs(e){this.token(ke,e.value)}const Ks="Operator",Gs={value:String};function Hs(){const e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function $s(e){this.tokenize(e.value)}const Qs="Parentheses",Xs={children:[[]]};function Ys(e,t){const n=this.tokenStart;let r=null;return this.eat(je),r=e.call(this,t),this.eof||this.eat(Pe),{type:"Parentheses",loc:this.getLocation(n,this.tokenStart),children:r}}function Zs(e){this.token(je,"("),this.children(e),this.token(Pe,")")}const Js="Percentage",el={value:String};function tl(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(xe)}}function nl(e){this.token(xe,e.value+"%")}const rl="PseudoClassSelector",ol="function",il={name:String,children:[["Raw"],null]};function al(){const e=this.tokenStart;let t,n,r=null;return this.eat(ze),this.tokenType===he?(t=this.consumeFunctionName(),n=t.toLowerCase(),this.lookupNonWSType(0)==Pe?r=this.createList():hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),r=this.pseudo[n].call(this),this.skipSC()):(r=this.createList(),r.push(this.Raw(null,!1))),this.eat(Pe)):t=this.consume(ue),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:t,children:r}}function sl(e){this.token(ze,":"),null===e.children?this.token(ue,e.name):(this.token(he,e.name+"("),this.children(e),this.token(Pe,")"))}const ll="PseudoElementSelector",cl="function",ul={name:String,children:[["Raw"],null]};function hl(){const e=this.tokenStart;let t,n,r=null;return this.eat(ze),this.eat(ze),this.tokenType===he?(t=this.consumeFunctionName(),n=t.toLowerCase(),this.lookupNonWSType(0)==Pe?r=this.createList():hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),r=this.pseudo[n].call(this),this.skipSC()):(r=this.createList(),r.push(this.Raw(null,!1))),this.eat(Pe)):t=this.consume(ue),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:t,children:r}}function pl(e){this.token(ze,":"),this.token(ze,":"),null===e.children?this.token(ue,e.name):(this.token(he,e.name+"("),this.children(e),this.token(Pe,")"))}const dl=47;function ml(){switch(this.skipSC(),this.tokenType){case ke:return this.Number();case he:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}const gl="Ratio",fl={left:["Number","Function"],right:["Number","Function",null]};function bl(){const e=this.tokenStart,t=ml.call(this);let n=null;return this.skipSC(),this.isDelim(dl)&&(this.eatDelim(dl),n=ml.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:n}}function yl(e){this.node(e.left),this.token(ye,"/"),e.right?this.node(e.right):this.node(ke,1)}function kl(){return this.tokenIndex>0&&this.lookupType(-1)===we?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}const xl="Raw",vl={value:String};function wl(e,t){const n=this.getTokenStart(this.tokenIndex);let r;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),r=t&&this.tokenStart>n?kl.call(this):this.tokenStart,{type:"Raw",loc:this.getLocation(n,r),value:this.substring(n,r)}}function Sl(e){this.tokenize(e.value)}function Cl(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function zl(){const e=this.SelectorList();return"Raw"!==e.type&&!1===this.eof&&this.tokenType!==De&&this.error(),e}const Al="Rule",Ll="rule",Tl={prelude:["SelectorList","Raw"],block:["Block"]};function Ol(){const e=this.tokenIndex,t=this.tokenStart;let n,r;return n=this.parseRulePrelude?this.parseWithFallback(zl,Cl):Cl.call(this,e),r=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}function jl(e){this.node(e.prelude),this.node(e.block)}const Pl="Scope",Dl={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]};function El(){let e=null,t=null;this.skipSC();const n=this.tokenStart;return this.tokenType===je&&(this.next(),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(Pe)),this.lookupNonWSType(0)===ue&&(this.skipSC(),this.eatIdent("to"),this.skipSC(),this.eat(je),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(Pe)),{type:"Scope",loc:this.getLocation(n,this.tokenStart),root:e,limit:t}}function Il(e){e.root&&(this.token(je,"("),this.node(e.root),this.token(Pe,")")),e.limit&&(this.token(ue,"to"),this.token(je,"("),this.node(e.limit),this.token(Pe,")"))}const Nl="Selector",Bl={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]};function Fl(){const e=this.readSequence(this.scope.Selector);return null===this.getFirstListNode(e)&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function Rl(e){this.children(e)}const _l="SelectorList",Ml="selector",ql={children:[["Selector","Raw"]]};function Wl(){const e=this.createList();for(;!this.eof&&(e.push(this.Selector()),this.tokenType===Le);)this.next();return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function Ul(e){this.children(e,()=>this.token(Le,","))}const Vl=92,Kl=34,Gl=39;function Hl(e){const t=e.length,n=e.charCodeAt(0),r=n===Kl||n===Gl?1:0,o=1===r&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1;let i="";for(let n=r;n<=o;n++){let r=e.charCodeAt(n);if(r===Vl){if(n===o){n!==t-1&&(i=e.substr(n+1));break}if(r=e.charCodeAt(++n),Ve(Vl,r)){const t=n-1,r=rt(e,t);n=r-1,i+=st(e.substring(t+1,r))}else 13===r&&10===e.charCodeAt(n+1)&&n++}else i+=e[n]}return i}function $l(e,t){const n=t?"'":'"',r=t?Gl:Kl;let o="",i=!1;for(let t=0;t6&&this.error("Too many hex digits",r)}return this.next(),n}function vc(e){let t=0;for(;this.isDelim(kc);)++t>e&&this.error("Too many question marks"),this.next()}function wc(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===bc?"Plus sign":"Hyphen minus")+" is expected")}function Sc(){let e=0;switch(this.tokenType){case ke:if(e=xc.call(this,1,!0),this.isDelim(kc)){vc.call(this,6-e);break}if(this.tokenType===ve||this.tokenType===ke){wc.call(this,yc),xc.call(this,1,!1);break}break;case ve:e=xc.call(this,1,!0),e>0&&vc.call(this,6-e);break;default:if(this.eatDelim(bc),this.tokenType===ue){e=xc.call(this,0,!0),e>0&&vc.call(this,6-e);break}if(this.isDelim(kc)){this.next(),vc.call(this,5);break}this.error("Hex digit or question mark is expected")}}const Cc="UnicodeRange",zc={value:String};function Ac(){const e=this.tokenStart;return this.eatIdent("u"),Sc.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function Lc(e){this.tokenize(e.value)}const Tc=32,Oc=92,jc=34,Pc=39,Dc=40,Ec=41;function Ic(e){const t=e.length;let n=4,r=e.charCodeAt(t-1)===Ec?t-2:t-1,o="";for(;n )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( )","alpha-value":"|","angle-percentage":"|","angular-color-hint":"","angular-color-stop":"&&?","angular-color-stop-list":"[ [, ]?]# , ","animateable-feature":"scroll-position|contents|","asin()":"asin( )","atan()":"atan( )","atan2()":"atan2( , )",attachment:"scroll|fixed|local","attr()":"attr( ? [, ]? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attribute-selector":"'[' ']'|'[' [|] ? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [? ]+ ? )","auto-track-list":"[? [|]]* ? [? [|]]* ?",axis:"block|inline|x|y","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":"||||( )","calc-constant":"e|pi|infinity|-infinity|NaN","cf-final-image":"|","cf-mixing-image":"?&&","circle()":"circle( []? [at ]? )","clamp()":"clamp( #{3} )","class-selector":"'.' ","clip-source":"",color:"|currentColor||||<-non-standard-color>","color-stop":"|","color-stop-angle":"{1,2}","color-stop-length":"{1,2}","color-stop-list":"[ [, ]?]# , ","color-interpolation-method":"in [| ?|]",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( [] )","cos()":"cos( )",counter:"|","counter()":"counter( , ? )","counter-name":"","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( , ? )","exp()":"exp( )","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'>|||| [/ ]?||||||||","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":"|||<-non-standard-generic-family>","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( )","hue-interpolation-method":"[shorter|longer|increasing|decreasing] hue","hwb()":"hwb( [|none] [|none] [|none] [/ [|none]]? )","hypot()":"hypot( # )",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|| ","lab()":"lab( [||none] [||none] [||none] [/ [|none]]? )","layer()":"layer( )","layer-name":" ['.' ]*","lch()":"lch( [||none] [||none] [|none] [/ [|none]]? )","leader()":"leader( )","leader-type":"dotted|solid|space|","length-percentage":"|","light-dark()":"light-dark( , )","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 ]||]? , )","log()":"log( , ? )","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] )","mod()":"mod( , )","name-repeat":"repeat( [|auto-fill] , + )","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","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( [|none] )","polygon()":"polygon( ? , [ ]# )","polar-color-space":"hsl|hwb|lch|oklch",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|] [top|center|bottom|]?|[[left|right] ]&&[[top|bottom] ]]","pow()":"pow( , )","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 ]? , )",ratio:" [/ ]?","ray()":"ray( &&?&&contain?&&[at ]? )","ray-size":"closest-side|closest-corner|farthest-side|farthest-corner|sides","rectangular-color-space":"srgb|srgb-linear|display-p3|a98-rgb|prophoto-rgb|rec2020|lab|oklab|xyz|xyz-d50|xyz-d65","relative-selector":"? ","relative-selector-list":"#","relative-size":"larger|smaller","rem()":"rem( , )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [from ]? [at ]? , )","repeating-linear-gradient()":"repeating-linear-gradient( [|to ]? , )","repeating-radial-gradient()":"repeating-radial-gradient( [||]? [at ]? , )","reversed-counter-name":"reversed( )","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( [|] )","round()":"round( ? , , )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( )","scale()":"scale( [|]#{1,2} )","scale3d()":"scale3d( [|]#{3} )","scaleX()":"scaleX( [|] )","scaleY()":"scaleY( [|] )","scaleZ()":"scaleZ( [|] )","scroll()":"scroll( [||]? )",scroller:"root|nearest|self","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","shape-radius":"|closest-side|farthest-side","sign()":"sign( )","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]","sin()":"sin( )","single-animation":"<'animation-duration'>||||<'animation-delay'>||||||||||[none|]||","single-animation-direction":"normal|reverse|alternate|alternate-reverse","single-animation-fill-mode":"none|forwards|backwards|both","single-animation-iteration-count":"infinite|","single-animation-play-state":"running|paused","single-animation-timeline":"auto|none|||","single-transition":"[none|]||