MCPcopy
hub / github.com/irbis-sh/zen-desktop / kt

Function kt

internal/asset/extendedcss/bundle.js:1–1  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1var extendedCSS=function(){"use strict";var e,t,n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r={};function o(){if(t)return e;t=1;var r=function(e){return e&&e.Math===Math&&e};return e=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n&&n)||r("object"==typeof e&&e)||function(){return this}()||Function("return this")()}var i,a,s,l,c,u,h,p,d={};function f(){return a?i:(a=1,i=function(e){try{return!!e()}catch(e){return!0}})}function m(){if(l)return s;l=1;var e=f();return s=!e(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function g(){if(u)return c;u=1;var e=f();return c=!e(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})}function b(){if(p)return h;p=1;var e=g(),t=Function.prototype.call;return h=e?t.bind(t):function(){return t.apply(t,arguments)},h}var y,k,v,x,w,S,C,z,A,_,T,O,L,E,j,I,P,R,D,N,M,F,q,B,W,$,U,V,H,G,K,Q,X,Y,Z,J,ee,te,ne,re,oe,ie={};function ae(){return v||(v=1,k=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}),k}function se(){if(w)return x;w=1;var e=g(),t=Function.prototype,n=t.call,r=e&&t.bind.bind(n,n);return x=e?r:function(e){return function(){return n.apply(e,arguments)}},x}function le(){if(C)return S;C=1;var e=se(),t=e({}.toString),n=e("".slice);return S=function(e){return n(t(e),8,-1)}}function ce(){return T?_:(T=1,_=function(e){return null==e})}function ue(){if(L)return O;L=1;var e=ce(),t=TypeError;return O=function(n){if(e(n))throw new t("Can't call method on "+n);return n}}function he(){if(j)return E;j=1;var e=function(){if(A)return z;A=1;var e=se(),t=f(),n=le(),r=Object,o=e("".split);return z=t(function(){return!r("z").propertyIsEnumerable(0)})?function(e){return"String"===n(e)?o(e,""):r(e)}:r}(),t=ue();return E=function(n){return e(t(n))}}function pe(){if(P)return I;P=1;var e="object"==typeof document&&document.all;return I=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(e){return"function"==typeof e}}function de(){if(D)return R;D=1;var e=pe();return R=function(t){return"object"==typeof t?null!==t:e(t)}}function fe(){if(M)return N;M=1;var e=o(),t=pe();return N=function(n,r){return arguments.length<2?(o=e[n],t(o)?o:void 0):e[n]&&e[n][r];var o},N}function me(){if(q)return F;q=1;var e=se();return F=e({}.isPrototypeOf)}function ge(){if(U)return $;U=1;var e,t,n=o(),r=function(){if(W)return B;W=1;var e=o().navigator,t=e&&e.userAgent;return B=t?String(t):""}(),i=n.process,a=n.Deno,s=i&&i.versions||a&&a.version,l=s&&s.v8;return l&&(t=(e=l.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!t&&r&&(!(e=r.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=r.match(/Chrome\/(\d+)/))&&(t=+e[1]),$=t}function be(){if(H)return V;H=1;var e=ge(),t=f(),n=o().String;return V=!!Object.getOwnPropertySymbols&&!t(function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41})}function ye(){if(K)return G;K=1;var e=be();return G=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function ke(){if(X)return Q;X=1;var e=fe(),t=pe(),n=me(),r=ye(),o=Object;return Q=r?function(e){return"symbol"==typeof e}:function(r){var i=e("Symbol");return t(i)&&n(i.prototype,o(r))}}function ve(){if(Z)return Y;Z=1;var e=String;return Y=function(t){try{return e(t)}catch(e){return"Object"}}}function xe(){if(ee)return J;ee=1;var e=pe(),t=ve(),n=TypeError;return J=function(r){if(e(r))return r;throw new n(t(r)+" is not a function")}}function we(){if(ne)return te;ne=1;var e=xe(),t=ce();return te=function(n,r){var o=n[r];return t(o)?void 0:e(o)}}function Se(){if(oe)return re;oe=1;var e=b(),t=pe(),n=de(),r=TypeError;return re=function(o,i){var a,s;if("string"===i&&t(a=o.toString)&&!n(s=e(a,o)))return s;if(t(a=o.valueOf)&&!n(s=e(a,o)))return s;if("string"!==i&&t(a=o.toString)&&!n(s=e(a,o)))return s;throw new r("Can't convert object to primitive value")}}var Ce,ze,Ae,_e,Te,Oe,Le,Ee,je,Ie,Pe,Re,De,Ne,Me,Fe,qe,Be,We,$e,Ue,Ve,He,Ge,Ke={exports:{}};function Qe(){return ze?Ce:(ze=1,Ce=!1)}function Xe(){if(_e)return Ae;_e=1;var e=o(),t=Object.defineProperty;return Ae=function(n,r){try{t(e,n,{value:r,configurable:!0,writable:!0})}catch(t){e[n]=r}return r},Ae}function Ye(){if(Te)return Ke.exports;Te=1;var e=Qe(),t=o(),n=Xe(),r="__core-js_shared__",i=Ke.exports=t[r]||n(r,{});return(i.versions||(i.versions=[])).push({version:"3.49.0",mode:e?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Ke.exports}function Ze(){if(Le)return Oe;Le=1;var e=Ye();return Oe=function(t,n){return e[t]||(e[t]=n||{})},Oe}function Je(){if(je)return Ee;je=1;var e=ue(),t=Object;return Ee=function(n){return t(e(n))}}function et(){if(Pe)return Ie;Pe=1;var e=se(),t=Je(),n=e({}.hasOwnProperty);return Ie=Object.hasOwn||function(e,r){return n(t(e),r)}}function tt(){if(De)return Re;De=1;var e=se(),t=0,n=Math.random(),r=e(1.1.toString);return Re=function(e){return"Symbol("+(void 0===e?"":e)+")_"+r(++t+n,36)}}function nt(){if(Me)return Ne;Me=1;var e=o(),t=Ze(),n=et(),r=tt(),i=be(),a=ye(),s=e.Symbol,l=t("wks"),c=a?s.for||s:s&&s.withoutSetter||r;return Ne=function(e){return n(l,e)||(l[e]=i&&n(s,e)?s[e]:c("Symbol."+e)),l[e]},Ne}function rt(){if(qe)return Fe;qe=1;var e=b(),t=de(),n=ke(),r=we(),o=Se(),i=nt(),a=TypeError,s=i("toPrimitive");return Fe=function(i,l){if(!t(i)||n(i))return i;var c,u=r(i,s);if(u){if(void 0===l&&(l="default"),c=e(u,i,l),!t(c)||n(c))return c;throw new a("Can't convert object to primitive value")}return void 0===l&&(l="number"),o(i,l)}}function ot(){if(We)return Be;We=1;var e=rt(),t=ke();return Be=function(n){var r=e(n,"string");return t(r)?r:r+""}}function it(){if(Ue)return $e;Ue=1;var e=o(),t=de(),n=e.document,r=t(n)&&t(n.createElement);return $e=function(e){return r?n.createElement(e):{}}}function at(){if(He)return Ve;He=1;var e=m(),t=f(),n=it();return Ve=!e&&!t(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function st(){if(Ge)return d;Ge=1;var e=m(),t=b(),n=function(){if(y)return ie;y=1;var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!e.call({1:2},1);return ie.f=n?function(e){var n=t(this,e);return!!n&&n.enumerable}:e,ie}(),r=ae(),o=he(),i=ot(),a=et(),s=at(),l=Object.getOwnPropertyDescriptor;return d.f=e?l:function(e,c){if(e=o(e),c=i(c),s)try{return l(e,c)}catch(e){}if(a(e,c))return r(!t(n.f,e,c),e[c])},d}var lt,ct,ut,ht,pt,dt,ft,mt={};function gt(){if(ct)return lt;ct=1;var e=m(),t=f();return lt=e&&t(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function bt(){if(ht)return ut;ht=1;var e=de(),t=String,n=TypeError;return ut=function(r){if(e(r))return r;throw new n(t(r)+" is not an object")}}function yt(){if(pt)return mt;pt=1;var e=m(),t=at(),n=gt(),r=bt(),o=ot(),i=TypeError,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l="enumerable",c="configurable",u="writable";return mt.f=e?n?function(e,t,n){if(r(e),t=o(t),r(n),"function"==typeof e&&"prototype"===t&&"value"in n&&u in n&&!n[u]){var i=s(e,t);i&&i[u]&&(e[t]=n.value,n={configurable:c in n?n[c]:i[c],enumerable:l in n?n[l]:i[l],writable:!1})}return a(e,t,n)}:a:function(e,n,s){if(r(e),n=o(n),r(s),t)try{return a(e,n,s)}catch(e){}if("get"in s||"set"in s)throw new i("Accessors not supported");return"value"in s&&(e[n]=s.value),e},mt}function kt(){if(ft)return dt;ft=1;var e=m(),t=yt(),n=ae();return dt=e?function(e,r,o){return t.f(e,r,n(1,o))}:function(e,t,n){return e[t]=n,e},dt}var vt,xt,wt,St,Ct,zt,At,_t,Tt,Ot,Lt,Et,jt,It,Pt,Rt={exports:{}};function Dt(){if(St)return wt;St=1;var e=se(),t=pe(),n=Ye(),r=e(Function.toString);return t(n.inspectSource)||(n.inspectSource=function(e){return r(e)}),wt=n.inspectSource}function Nt(){if(_t)return At;_t=1;var e=Ze(),t=tt(),n=e("keys");return At=function(e){return n[e]||(n[e]=t(e))}}function Mt(){return Ot?Tt:(Ot=1,Tt={})}function Ft(){if(Et)return Lt;Et=1;var e,t,n,r=function(){if(zt)return Ct;zt=1;var e=o(),t=pe(),n=e.WeakMap;return Ct=t(n)&&/native code/.test(String(n))}(),i=o(),a=de(),s=kt(),l=et(),c=Ye(),u=Nt(),h=Mt(),p="Object already initialized",d=i.TypeError,f=i.WeakMap;if(r||c.state){var m=c.state||(c.state=new f);m.get=m.get,m.has=m.has,m.set=m.set,e=function(e,t){if(m.has(e))throw new d(p);return t.facade=e,m.set(e,t),t},t=function(e){return m.get(e)||{}},n=function(e){return m.has(e)}}else{var g=u("state");h[g]=!0,e=function(e,t){if(l(e,g))throw new d(p);return t.facade=e,s(e,g,t),t},t=function(e){return l(e,g)?e[g]:{}},n=function(e){return l(e,g)}}return Lt={set:e,get:t,has:n,enforce:function(r){return n(r)?t(r):e(r,{})},getterFor:function(e){return function(n){var r;if(!a(n)||(r=t(n)).type!==e)throw new d("Incompatible receiver, "+e+" required");return r}}}}function qt(){if(jt)return Rt.exports;jt=1;var e=se(),t=f(),n=pe(),r=et(),o=m(),i=function(){if(xt)return vt;xt=1;var e=m(),t=et(),n=Function.prototype,r=e&&Object.getOwnPropertyDescriptor,o=t(n,"name"),i=o&&"something"===function(){}.name,a=o&&(!e||e&&r(n,"name").configurable);return vt={EXISTS:o,PROPER:i,CONFIGURABLE:a}}().CONFIGURABLE,a=Dt(),s=Ft(),l=s.enforce,c=s.get,u=String,h=Object.defineProperty,p=e("".slice),d=e("".replace),g=e([].join),b=o&&!t(function(){return 8!==h(function(){},"length",{value:8}).length}),y=String(String).split("String"),k=Rt.exports=function(e,t,n){"Symbol("===p(u(t),0,7)&&(t="["+d(u(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!r(e,"name")||i&&e.name!==t)&&(o?h(e,"name",{value:t,configurable:!0}):e.name=t),b&&n&&r(n,"arity")&&e.length!==n.arity&&h(e,"length",{value:n.arity});try{n&&r(n,"constructor")&&n.constructor?o&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var a=l(e);return r(a,"source")||(a.source=g(y,"string"==typeof t?t:"")),e};return Function.prototype.toString=k(function(){return n(this)&&c(this).source||a(this)},"toString"),Rt.exports}function Bt(){if(Pt)return It;Pt=1;var e=pe(),t=yt(),n=qt(),r=Xe();return It=function(o,i,a,s){s||(s={});var l=s.enumerable,c=void 0!==s.name?s.name:i;if(e(a)&&n(a,c,s),s.global)l?o[i]=a:r(i,a);else{try{s.unsafe?o[i]&&(l=!0):delete o[i]}catch(e){}l?o[i]=a:t.f(o,i,{value:a,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return o},It}var Wt,$t,Ut,Vt,Ht,Gt,Kt,Qt,Xt,Yt,Zt,Jt,en,tn,nn,rn,on,an={};function sn(){if(Vt)return Ut;Vt=1;var e=function(){if($t)return Wt;$t=1;var e=Math.ceil,t=Math.floor;return Wt=Math.trunc||function(n){var r=+n;return(r>0?t:e)(r)}}();return Ut=function(t){var n=+t;return n!=n||0===n?0:e(n)},Ut}function ln(){if(Gt)return Ht;Gt=1;var e=sn(),t=Math.max,n=Math.min;return Ht=function(r,o){var i=e(r);return i<0?t(i+o,0):n(i,o)},Ht}function cn(){if(Qt)return Kt;Qt=1;var e=sn(),t=Math.min;return Kt=function(n){var r=e(n);return r>0?t(r,9007199254740991):0}}function un(){if(Yt)return Xt;Yt=1;var e=cn();return Xt=function(t){return e(t.length)}}function hn(){if(Jt)return Zt;Jt=1;var e=he(),t=ln(),n=un(),r=function(r){return function(o,i,a){var s=e(o),l=n(s);if(0===l)return!r&&-1;var c,u=t(a,l);if(r&&i!=i){for(;l>u;)if((c=s[u++])!=c)return!0}else for(;l>u;u++)if((r||u in s)&&s[u]===i)return r||u||0;return!r&&-1}};return Zt={includes:r(!0),indexOf:r(!1)}}function pn(){if(tn)return en;tn=1;var e=se(),t=et(),n=he(),r=hn().indexOf,o=Mt(),i=e([].push);return en=function(e,a){var s,l=n(e),c=0,u=[];for(s in l)!t(o,s)&&t(l,s)&&i(u,s);for(;a.length>c;)t(l,s=a[c++])&&(~r(u,s)||i(u,s));return u}}function dn(){return rn?nn:(rn=1,nn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var fn,mn,gn,bn,yn,kn,vn,xn,wn,Sn,Cn,zn,An,_n,Tn,On,Ln={};function En(){if(gn)return mn;gn=1;var e=fe(),t=se(),n=function(){if(on)return an;on=1;var e=pn(),t=dn().concat("length","prototype");return an.f=Object.getOwnPropertyNames||function(n){return e(n,t)},an}(),r=(fn||(fn=1,Ln.f=Object.getOwnPropertySymbols),Ln),o=bt(),i=t([].concat);return mn=e("Reflect","ownKeys")||function(e){var t=n.f(o(e)),a=r.f;return a?i(t,a(e)):t}}function jn(){if(yn)return bn;yn=1;var e=et(),t=En(),n=st(),r=yt();return bn=function(o,i,a){for(var s=t(i),l=r.f,c=n.f,u=0;u<s.length;u++){var h=s[u];e(o,h)||a&&e(a,h)||l(o,h,c(i,h))}}}function In(){if(wn)return xn;wn=1;var e=o(),t=st().f,n=kt(),r=Bt(),i=Xe(),a=jn(),s=function(){if(vn)return kn;vn=1;var e=f(),t=pe(),n=/#|\.prototype\./,r=function(n,r){var l=i[o(n)];return l===s||l!==a&&(t(r)?e(r):!!r)},o=r.normalize=function(e){return String(e).replace(n,".").toLowerCase()},i=r.data={},a=r.NATIVE="N",s=r.POLYFILL="P";return kn=r}();return xn=function(o,l){var c,u,h,p,d,f=o.target,m=o.global,g=o.stat;if(c=m?e:g?e[f]||i(f,{}):e[f]&&e[f].prototype)for(u in l){if(p=l[u],h=o.dontCallGetSet?(d=t(c,u))&&d.value:c[u],!s(m?u:f+(g?".":"#")+u,o.forced)&&void 0!==h){if(typeof p==typeof h)continue;a(p,h)}(o.sham||h&&h.sham)&&n(p,"sham",!0),r(c,u,p,o)}}}function Pn(){if(Cn)return Sn;Cn=1;var e=le();return Sn=Array.isArray||function(t){return"Array"===e(t)}}function Rn(){if(Tn)return _n;Tn=1;var e=TypeError;return _n=function(t){if(t>9007199254740991)throw new e("Maximum allowed index exceeded");return t}}!function(){if(On)return r;On=1;var e=In(),t=Je(),n=un(),o=function(){if(An)return zn;An=1;var e=m(),t=Pn(),n=TypeError,r=Object.getOwnPropertyDescriptor,o=e&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();return zn=o?function(e,o){if(t(e)&&!r(e,"length").writable)throw new n("Cannot set read only .length");return e.length=o}:function(e,t){return e.length=t},zn}(),i=Rn();e({target:"Array",proto:!0,arity:1,forced:f()(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var r=t(this),a=n(r),s=arguments.length;i(a+s);for(var l=0;l<s;l++)r[a]=arguments[l],a++;return o(r,a),a}})}();var Dn,Nn,Mn,Fn,qn,Bn,Wn,$n,Un,Vn,Hn={};function Gn(){if(Nn)return Dn;Nn=1;var e=me(),t=TypeError;return Dn=function(n,r){if(e(r,n))return n;throw new t("Incorrect invocation")}}function Kn(){if(Bn)return qn;Bn=1;var e=et(),t=pe(),n=Je(),r=Nt(),o=function(){if(Fn)return Mn;Fn=1;var e=f();return Mn=!e(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),Mn}(),i=r("IE_PROTO"),a=Object,s=a.prototype;return qn=o?a.getPrototypeOf:function(r){var o=n(r);if(e(o,i))return o[i];var l=o.constructor;return t(l)&&o instanceof l?l.prototype:o instanceof a?s:null}}function Qn(){if($n)return Wn;$n=1;var e=qt(),t=yt();return Wn=function(n,r,o){return o.get&&e(o.get,r,{getter:!0}),o.set&&e(o.set,r,{setter:!0}),t.f(n,r,o)},Wn}function Xn(){if(Vn)return Un;Vn=1;var e=m(),t=yt(),n=ae();return Un=function(r,o,i){e?t.f(r,o,n(0,i)):r[o]=i},Un}var Yn,Zn,Jn,er,tr,nr,rr,or,ir,ar,sr={};function lr(){if(Zn)return Yn;Zn=1;var e=pn(),t=dn();return Yn=Object.keys||function(n){return e(n,t)}}function cr(){if(tr)return er;tr=1;var e=fe();return er=e("document","documentElement")}function ur(){if(rr)return nr;rr=1;var e,t=bt(),n=function(){if(Jn)return sr;Jn=1;var e=m(),t=gt(),n=yt(),r=bt(),o=he(),i=lr();return sr.f=e&&!t?Object.defineProperties:function(e,t){r(e);for(var a,s=o(t),l=i(t),c=l.length,u=0;c>u;)n.f(e,a=l[u++],s[a]);return e},sr}(),r=dn(),o=Mt(),i=cr(),a=it(),s=Nt(),l="prototype",c="script",u=s("IE_PROTO"),h=function(){},p=function(e){return"<"+c+">"+e+"</"+c+">"},d=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},f=function(){try{e=new ActiveXObject("htmlfile")}catch(e){}var t,n,o;f="undefined"!=typeof document?document.domain&&e?d(e):(n=a("iframe"),o="java"+c+":",n.style.display="none",i.appendChild(n),n.src=String(o),(t=n.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F):d(e);for(var s=r.length;s--;)delete f[l][r[s]];return f()};return o[u]=!0,nr=Object.create||function(e,r){var o;return null!==e?(h[l]=t(e),o=new h,h[l]=null,o[u]=e):o=f(),void 0===r?o:n.f(o,r)}}function hr(){if(ir)return or;ir=1;var e,t,n,r=f(),o=pe(),i=de(),a=ur(),s=Kn(),l=Bt(),c=nt(),u=Qe(),h=c("iterator"),p=!1;return[].keys&&("next"in(n=[].keys())?(t=s(s(n)))!==Object.prototype&&(e=t):p=!0),!i(e)||r(function(){var t={};return e[h].call(t)!==t})?e={}:u&&(e=a(e)),o(e[h])||l(e,h,function(){return this}),or={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:p}}!function(){if(ar)return Hn;ar=1;var e=In(),t=o(),n=Gn(),r=bt(),i=pe(),a=Kn(),s=Qn(),l=Xn(),c=f(),u=et(),h=nt(),p=hr().IteratorPrototype,d=m(),g=Qe(),b="constructor",y="Iterator",k=h("toStringTag"),v=TypeError,x=t[y],w=g||!i(x)||x.prototype!==p||!c(function(){x({})}),S=function(){if(n(this,p),a(this)===p)throw new v("Abstract class Iterator not directly constructable")},C=function(e,t){d?s(p,e,{configurable:!0,get:function(){return t},set:function(t){if(r(this),this===p)throw new v("You can't redefine this property");u(this,e)?this[e]=t:l(this,e,t)}}):p[e]=t};u(p,k)||C(k,y),!w&&u(p,b)&&p[b]!==Object||C(b,S),S.prototype=p,e({global:!0,constructor:!0,forced:w},{Iterator:S})}();var pr,dr,fr,mr,gr,br,yr,kr,vr,xr,wr,Sr,Cr,zr,Ar,_r,Tr,Or,Lr,Er={};function jr(){return dr?pr:(dr=1,pr=function(e){return{iterator:e,next:e.next,done:!1}})}function Ir(){if(mr)return fr;mr=1;var e=Bt();return fr=function(t,n,r){for(var o in n)e(t,o,n[o],r);return t}}function Pr(){return br||(br=1,gr=function(e,t){return{value:e,done:t}}),gr}function Rr(){if(kr)return yr;kr=1;var e=b(),t=bt(),n=we();return yr=function(r,o,i){var a,s;t(r);try{if(!(a=n(r,"return"))){if("throw"===o)throw i;return i}a=e(a,r)}catch(e){s=!0,a=e}if("throw"===o)throw i;if(s)throw a;return t(a),i},yr}function Dr(){if(xr)return vr;xr=1;var e=Rr();return vr=function(t,n,r){for(var o=t.length-1;o>=0;o--)if(void 0!==t[o])try{r=e(t[o].iterator,n,r)}catch(e){n="throw",r=e}if("throw"===n)throw r;return r},vr}function Nr(){if(Sr)return wr;Sr=1;var e=b(),t=ur(),n=kt(),r=Ir(),o=nt(),i=Ft(),a=we(),s=hr().IteratorPrototype,l=Pr(),c=Rr(),u=Dr(),h=o("toStringTag"),p="IteratorHelper",d="WrapForValidIterator",f="normal",m="throw",g=i.set,y=function(n){var o=i.getterFor(n?d:p);return r(t(s),{next:function(){var e=o(this);if(n)return e.nextHandler();if(e.done)return l(void 0,!0);try{var t=e.nextHandler();return e.returnHandlerResult?t:l(t,e.done)}catch(t){throw e.done=!0,t}},return:function(){var t=o(this),r=t.iterator,i=t.done;if(t.done=!0,n){var s=a(r,"return");return s?e(s,r):l(void 0,!0)}if(i)return l(void 0,!0);if(t.inner)try{c(t.inner.iterator,f)}catch(e){return c(r,m,e)}if(t.openIters)try{u(t.openIters,f)}catch(e){if(r)return c(r,m,e);throw e}return r&&c(r,f),l(void 0,!0)}})},k=y(!0),v=y(!1);return n(v,h,"Iterator Helper"),wr=function(e,t,n){var r=function(r,o){o?(o.iterator=r.iterator,o.next=r.next):o=r,o.type=t?d:p,o.returnHandlerResult=!!n,o.nextHandler=e,o.counter=0,o.done=!1,g(this,o)};return r.prototype=t?k:v,r}}function Mr(){if(zr)return Cr;zr=1;var e=bt(),t=Rr();return Cr=function(n,r,o,i){try{return i?r(e(o)[0],o[1]):r(o)}catch(e){t(n,"throw",e)}},Cr}function Fr(){return _r?Ar:(_r=1,Ar=function(e,t){var n="function"==typeof Iterator&&Iterator.prototype[e];if(n)try{n.call({next:null},t).next()}catch(e){return!0}})}function qr(){if(Or)return Tr;Or=1;var e=o();return Tr=function(t,n){var r=e.Iterator,o=r&&r.prototype,i=o&&o[t],a=!1;if(i)try{i.call({next:function(){return{done:!0}},return:function(){a=!0}},-1)}catch(e){e instanceof n||(a=!1)}if(!a)return i}}!function(){if(Lr)return Er;Lr=1;var e=In(),t=b(),n=xe(),r=bt(),o=jr(),i=Nr(),a=Mr(),s=Rr(),l=Fr(),c=qr(),u=Qe(),h=!u&&!l("map",function(){}),p=!u&&!h&&c("map",TypeError),d=u||h||p,f=i(function(){var e=this.iterator,n=r(t(this.next,e));if(!(this.done=!!n.done))return a(e,this.mapper,[n.value,this.counter++],!0)});e({target:"Iterator",proto:!0,real:!0,forced:d},{map:function(e){r(this);try{n(e)}catch(e){s(this,"throw",e)}return p?t(p,this,e):new f(o(this),{mapper:e})}})}();var Br,Wr,$r,Ur={};function Vr(){if(Wr)return Br;Wr=1;var e=se(),t=Map.prototype;return Br={Map:Map,set:e(t.set),get:e(t.get),has:e(t.has),remove:e(t.delete),proto:t}}!function(){if($r)return Ur;$r=1;var e=In(),t=Vr(),n=Qe(),r=t.get,o=t.has,i=t.set;e({target:"Map",proto:!0,real:!0,forced:n},{getOrInsert:function(e,t){return o(this,e)?r(this,e):(i(this,e,t),t)}})}();var Hr,Gr={};!function(){if(Hr)return Gr;Hr=1;var e=In(),t=xe(),n=Vr(),r=Qe(),o=n.get,i=n.has,a=n.set;e({target:"Map",proto:!0,real:!0,forced:r},{getOrInsertComputed:function(e,n){var r=i(this,e);if(t(n),r)return o(this,e);0===e&&1/e==-1/0&&(e=0);var s=n(e);return a(this,e,s),s}})}();var Kr,Qr,Xr,Yr,Zr,Jr,eo,to,no,ro,oo,io,ao,so,lo,co,uo,ho,po,fo,mo,go={};function bo(){if(Qr)return Kr;Qr=1;var e=se(),t=Set.prototype;return Kr={Set:Set,add:e(t.add),has:e(t.has),remove:e(t.delete),proto:t}}function yo(){if(Yr)return Xr;Yr=1;var e=bo().has;return Xr=function(t){return e(t),t}}function ko(){if(Jr)return Zr;Jr=1;var e=b();return Zr=function(t,n,r){for(var o,i,a=r?t:t.iterator,s=t.next;!(o=e(s,a)).done;)if(void 0!==(i=n(o.value)))return i}}function vo(){if(to)return eo;to=1;var e=se(),t=ko(),n=bo(),r=n.Set,o=n.proto,i=e(o.forEach),a=e(o.keys),s=a(new r).next;return eo=function(e,n,r){return r?t({iterator:a(e),next:s},n):i(e,n)}}function xo(){if(ro)return no;ro=1;var e=bo(),t=vo(),n=e.Set,r=e.add;return no=function(e){var o=new n;return t(e,function(e){r(o,e)}),o}}function wo(){if(so)return ao;so=1;var e=function(){if(io)return oo;io=1;var e=se(),t=xe();return oo=function(n,r,o){try{return e(t(Object.getOwnPropertyDescriptor(n,r)[o]))}catch(e){}}}(),t=bo();return ao=e(t.proto,"size","get")||function(e){return e.size}}function So(){if(co)return lo;co=1;var e=xe(),t=bt(),n=b(),r=sn(),o=jr(),i="Invalid size",a=RangeError,s=TypeError,l=Math.max,c=function(t,n){this.set=t,this.size=l(n,0),this.has=e(t.has),this.keys=e(t.keys)};return c.prototype={getIterator:function(){return o(t(n(this.keys,this.set)))},includes:function(e){return n(this.has,this.set,e)}},lo=function(e){t(e);var n=+e.size;if(n!=n)throw new s(i);var o=r(n);if(o<0)throw new a(i);return new c(e,o)}}function Co(){if(fo)return po;fo=1;var e=fe(),t=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},n=function(e){return{size:e,has:function(){return!0},keys:function(){throw new Error("e")}}};return po=function(r,o){var i=e("Set");try{(new i)[r](t(0));try{return(new i)[r](t(-1)),!1}catch(e){if(!o)return!0;try{return(new i)[r](n(-1/0)),!1}catch(e){return o(new i([1,2])[r](n(1/0)))}}}catch(e){return!1}},po}!function(){if(mo)return go;mo=1;var e=In(),t=function(){if(ho)return uo;ho=1;var e=yo(),t=bo(),n=xo(),r=wo(),o=So(),i=vo(),a=ko(),s=t.has,l=t.remove;return uo=function(t){var c=e(this),u=o(t),h=n(c);return r(h)<=u.size?i(h,function(e){u.includes(e)&&l(h,e)}):a(u.getIterator(),function(e){s(h,e)&&l(h,e)}),h}}(),n=f(),r=!Co()("difference",function(e){return 0===e.size})||n(function(){var e={size:1,has:function(){return!0},keys:function(){var e=0;return{next:function(){var n=e++>1;return t.has(1)&&t.clear(),{done:n,value:2}}}}},t=new Set([1,2,3,4]);return 3!==t.difference(e).size});e({target:"Set",proto:!0,real:!0,forced:r},{difference:t})}();var zo,Ao,_o,To={};!function(){if(_o)return To;_o=1;var e=In(),t=f(),n=function(){if(Ao)return zo;Ao=1;var e=yo(),t=bo(),n=wo(),r=So(),o=vo(),i=ko(),a=t.Set,s=t.add,l=t.has;return zo=function(t){var c=e(this),u=r(t),h=new a;return n(c)>u.size?i(u.getIterator(),function(e){l(c,e)&&s(h,e)}):o(c,function(e){u.includes(e)&&s(h,e)}),h}}();e({target:"Set",proto:!0,real:!0,forced:!Co()("intersection",function(e){return 2===e.size&&e.has(1)&&e.has(2)})||t(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:n})}();var Oo,Lo,Eo,jo={};!function(){if(Eo)return jo;Eo=1;var e=In(),t=function(){if(Lo)return Oo;Lo=1;var e=yo(),t=bo().has,n=wo(),r=So(),o=vo(),i=ko(),a=Rr();return Oo=function(s){var l=e(this),c=r(s);if(n(l)<=c.size)return!1!==o(l,function(e){if(c.includes(e))return!1},!0);var u=c.getIterator();return!1!==i(u,function(e){if(t(l,e))return a(u.iterator,"normal",!1)})}}();e({target:"Set",proto:!0,real:!0,forced:!Co()("isDisjointFrom",function(e){return!e})},{isDisjointFrom:t})}();var Io,Po,Ro,Do={};!function(){if(Ro)return Do;Ro=1;var e=In(),t=function(){if(Po)return Io;Po=1;var e=yo(),t=wo(),n=vo(),r=So();return Io=function(o){var i=e(this),a=r(o);return!(t(i)>a.size)&&!1!==n(i,function(e){if(!a.includes(e))return!1},!0)}}();e({target:"Set",proto:!0,real:!0,forced:!Co()("isSubsetOf",function(e){return e})},{isSubsetOf:t})}();var No,Mo,Fo,qo={};!function(){if(Fo)return qo;Fo=1;var e=In(),t=function(){if(Mo)return No;Mo=1;var e=yo(),t=bo().has,n=wo(),r=So(),o=ko(),i=Rr();return No=function(a){var s=e(this),l=r(a);if(n(s)<l.size)return!1;var c=l.getIterator();return!1!==o(c,function(e){if(!t(s,e))return i(c.iterator,"normal",!1)})}}();e({target:"Set",proto:!0,real:!0,forced:!Co()("isSupersetOf",function(e){return!e})},{isSupersetOf:t})}();var Bo,Wo,$o,Uo,Vo,Ho={};function Go(){return Uo?$o:(Uo=1,$o=function(e){try{var t=new Set,n={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}},r=t[e](n);return 1===r.size&&4===r.values().next().value}catch(e){return!1}})}!function(){if(Vo)return Ho;Vo=1;var e=In(),t=function(){if(Wo)return Bo;Wo=1;var e=yo(),t=bo(),n=xo(),r=So(),o=ko(),i=t.add,a=t.has,s=t.remove;return Bo=function(t){var l=e(this),c=r(t).getIterator(),u=n(l);return o(c,function(e){a(l,e)?s(u,e):i(u,e)}),u}}(),n=Go();e({target:"Set",proto:!0,real:!0,forced:!Co()("symmetricDifference")||!n("symmetricDifference")},{symmetricDifference:t})}();var Ko,Qo,Xo,Yo={};!function(){if(Xo)return Yo;Xo=1;var e=In(),t=function(){if(Qo)return Ko;Qo=1;var e=yo(),t=bo().add,n=xo(),r=So(),o=ko();return Ko=function(i){var a=e(this),s=r(i).getIterator(),l=n(a);return o(s,function(e){t(l,e)}),l}}(),n=Go();e({target:"Set",proto:!0,real:!0,forced:!Co()("union")||!n("union")},{union:t})}();const Zo=10,Jo=11,ei=12,ti=13,ni=15,ri=16,oi=17,ii=18,ai=19,si=20,li=21,ci=22,ui=23,hi=24,pi=25;function di(e){return e>=48&&e<=57}function fi(e){return di(e)||e>=65&&e<=70||e>=97&&e<=102}function mi(e){return e>=65&&e<=90}function gi(e){return function(e){return mi(e)||function(e){return e>=97&&e<=122}(e)}(e)||function(e){return e>=128}(e)||95===e}function bi(e){return gi(e)||di(e)||45===e}function yi(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e}function ki(e){return 10===e||13===e||12===e}function vi(e){return ki(e)||32===e||9===e}function xi(e,t){return 92===e&&(!ki(t)&&0!==t)}function wi(e,t,n){return 45===e?gi(t)||45===t||xi(t,n):!!gi(e)||92===e&&xi(e,t)}function Si(e,t,n){return 43===e||45===e?di(t)?2:46===t&&di(n)?3:0:46===e?di(t)?2:0:di(e)?1:0}function Ci(e){return 65279===e||65534===e?1:0}const zi=new Array(128),Ai=130;for(let e=0;e<zi.length;e++)zi[e]=(vi(e)?Ai:di(e)&&131)||gi(e)&&132||yi(e)&&133||e||128;function _i(e){return e<128?zi[e]:132}function Ti(e,t){return t<e.length?e.charCodeAt(t):0}function Oi(e,t,n){return 13===n&&10===Ti(e,t+1)?2:1}function Li(e,t,n){let r=e.charCodeAt(t);return mi(r)&&(r|=32),r===n}function Ei(e,t,n,r){if(n-t!==r.length)return!1;if(t<0||n>e.length)return!1;for(let o=t;o<n;o++){const n=r.charCodeAt(o-t);let i=e.charCodeAt(o);if(mi(i)&&(i|=32),i!==n)return!1}return!0}function ji(e,t){for(;t<e.length&&vi(e.charCodeAt(t));t++);return t}function Ii(e,t){for(;t<e.length&&di(e.charCodeAt(t));t++);return t}function Pi(e,t){if(fi(Ti(e,(t+=2)-1))){for(const n=Math.min(e.length,t+5);t<n&&fi(Ti(e,t));t++);const n=Ti(e,t);vi(n)&&(t+=Oi(e,t,n))}return t}function Ri(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(!bi(n)){if(!xi(n,Ti(e,t+1)))break;t=Pi(e,t)-1}}return t}function Di(e,t){let n=e.charCodeAt(t);if(43!==n&&45!==n||(n=e.charCodeAt(t+=1)),di(n)&&(t=Ii(e,t+1),n=e.charCodeAt(t)),46===n&&di(e.charCodeAt(t+1))&&(t=Ii(e,t+=2)),Li(e,t,101)){let r=0;n=e.charCodeAt(t+1),45!==n&&43!==n||(r=1,n=e.charCodeAt(t+2)),di(n)&&(t=Ii(e,t+1+r+1))}return t}function Ni(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(41===n){t++;break}xi(n,Ti(e,t+1))&&(t=Pi(e,t))}return t}function Mi(e){if(1===e.length&&!fi(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(0===t||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}var Fi=["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 qi(e=null,t){return null===e||e.length<t?new Uint32Array(Math.max(t+1024,16384)):e}function Bi(e){const t=e.source,n=t.length,r=t.length>0?Ci(t.charCodeAt(0)):0,o=qi(e.lines,n),i=qi(e.columns,n);let a=e.startLine,s=e.startColumn;for(let e=r;e<n;e++){const r=t.charCodeAt(e);o[e]=a,i[e]=s++,10!==r&&13!==r&&12!==r||(13===r&&e+1<n&&10===t.charCodeAt(e+1)&&(e++,o[e]=a,i[e]=s),a++,s=1)}o[n]=a,i[n]=s,e.lines=o,e.columns=i,e.computed=!0}class Wi{constructor(e,t,n,r){this.setSource(e,t,n,r),this.lines=null,this.columns=null}setSource(e="",t=0,n=1,r=1){this.source=e,this.startOffset=t,this.startLine=n,this.startColumn=r,this.computed=!1}getLocation(e,t){return this.computed||Bi(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,n){return this.computed||Bi(this),{source:n,start:{offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]},end:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}}}const $i=16777215,Ui=24,Vi=new Uint8Array(32);Vi[2]=ci,Vi[21]=ci,Vi[19]=si,Vi[23]=hi;const Hi=new Uint8Array(32);function Gi(e,t,n){return e<t?t:e>n?n:e}Hi[2]=1,Hi[21]=1,Hi[19]=1,Hi[23]=1,Hi[22]=2,Hi[20]=2,Hi[24]=2;class Ki{constructor(e,t){this.setSource(e,t)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(e="",t=()=>{}){const n=(e=String(e||"")).length,r=qi(this.offsetAndType,e.length+1),o=qi(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<<Ui|n,-1===a&&(a=t),o[c]=l,e===s){const e=o[l];o[l]=c,l=e,s=Vi[r[e]>>Ui]}else this.isBlockOpenerTokenType(e)&&(l=c,s=Vi[e])}),r[i]=0|n,o[i]=i;for(let e=0;e<i;e++){const t=o[e];if(t<=e){const n=o[t];n!==e&&(o[e]=n)}else t>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)<this.tokenCount?this.offsetAndType[e]>>Ui:0}lookupTypeNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){const n=this.offsetAndType[t]>>Ui;if(n!==ti&&n!==pi&&0===e--)return n}return 0}lookupOffset(e){return(e+=this.tokenIndex)<this.tokenCount?this.offsetAndType[e-1]&$i:this.source.length}lookupOffsetNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){const n=this.offsetAndType[t]>>Ui;if(n!==ti&&n!==pi&&0===e--)return t-this.tokenIndex}return 0}lookupValue(e,t){return(e+=this.tokenIndex)<this.tokenCount&&Ei(this.source,this.offsetAndType[e-1]&$i,this.offsetAndType[e]&$i,t)}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&$i:this.offsetAndType[this.tokenCount]&$i:this.firstCharOffset}getTokenEnd(e){return e===this.tokenIndex?this.tokenEnd:this.offsetAndType[Gi(e,0,this.tokenCount)]&$i}getTokenType(e){return e===this.tokenIndex?this.tokenType:this.offsetAndType[Gi(e,0,this.tokenCount)]>>Ui}substrToCursor(e){return this.source.substring(e,this.tokenStart)}isBlockOpenerTokenType(e){return 1===Hi[e]}isBlockCloserTokenType(e){return 2===Hi[e]}getBlockTokenPairIndex(e){const t=this.getTokenType(e);if(1===Hi[t]){const n=this.balance[e],r=this.getTokenType(n);return Vi[t]===r?n:-1}if(2===Hi[t]){const n=this.balance[e],r=this.getTokenType(n);return Vi[r]===t?n:-1}return-1}isBalanceEdge(e){return this.balance[this.tokenIndex]<e}isDelim(e,t){return t?9===this.lookupType(t)&&this.source.charCodeAt(this.lookupOffset(t))===e:9===this.tokenType&&this.source.charCodeAt(this.tokenStart)===e}skip(e){let t=this.tokenIndex+e;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.offsetAndType[t-1]&$i,t=this.offsetAndType[t],this.tokenType=t>>Ui,this.tokenEnd=t&$i):(this.tokenIndex=this.tokenCount,this.next())}next(){let e=this.tokenIndex+1;e<this.tokenCount?(this.tokenIndex=e,this.tokenStart=this.tokenEnd,e=this.offsetAndType[e],this.tokenType=e>>Ui,this.tokenEnd=e&$i):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===ti||this.tokenType===pi;)this.next()}skipUntilBalanced(e,t){let n=e,r=0,o=0;e:for(;n<this.tokenCount&&(r=this.balance[n],!(r<e));n++)switch(o=n>0?this.offsetAndType[n-1]&$i:this.firstCharOffset,t(this.source.charCodeAt(o))){case 1:break e;case 2:n++;break e;default:this.isBlockOpenerTokenType(this.offsetAndType[n]>>Ui)&&(n=r)}this.skip(n-this.tokenIndex)}forEachToken(e){for(let t=0,n=this.firstCharOffset;t<this.tokenCount;t++){const r=n,o=this.offsetAndType[t],i=o&$i;n=i,e(o>>Ui,r,i,t)}}dump(){const e=new Array(this.tokenCount);return this.forEachToken((t,n,r,o)=>{e[o]={idx:o,type:Fi[t],chunk:this.source.substring(n,r),balance:this.balance[o]}}),e}}function Qi(e,t){function n(t){return t<a?e.charCodeAt(t):0}function r(){return c=Di(e,c),wi(n(c),n(c+1),n(c+2))?(s=ei,void(c=Ri(e,c))):37===n(c)?(s=Jo,void c++):void(s=Zo)}function o(){const t=c;return c=Ri(e,c),Ei(e,t,c,"url")&&40===n(c)?(c=ji(e,c+1),34===n(c)||39===n(c)?(s=2,void(c=t+4)):void function(){for(s=7,c=ji(e,c);c<e.length;c++){const t=e.charCodeAt(c);switch(_i(t)){case 41:return void c++;case Ai:return c=ji(e,c),41===n(c)||c>=e.length?void(c<e.length&&c++):(c=Ni(e,c),void(s=8));case 34:case 39:case 40:case 133:return c=Ni(e,c),void(s=8);case 92:if(xi(t,n(c+1))){c=Pi(e,c)-1;break}return c=Ni(e,c),void(s=8)}}}()):40===n(c)?(s=2,void c++):void(s=1)}function i(t){for(t||(t=n(c++)),s=5;c<e.length;c++){const r=e.charCodeAt(c);switch(_i(r)){case t:return void c++;case Ai:if(ki(r))return c+=Oi(e,c,r),void(s=6);break;case 92:if(c===e.length-1)break;const o=n(c+1);ki(o)?c+=Oi(e,c+1,o):xi(r,o)&&(c=Pi(e,c)-1)}}}const a=(e=String(e||"")).length;let s,l=Ci(n(0)),c=l;for(;c<a;){const a=e.charCodeAt(c);switch(_i(a)){case Ai:s=ti,c=ji(e,c+1);break;case 34:i();break;case 35:bi(n(c+1))||xi(n(c+1),n(c+2))?(s=4,c=Ri(e,c+1)):(s=9,c++);break;case 39:i();break;case 40:s=li,c++;break;case 41:s=ci,c++;break;case 43:Si(a,n(c+1),n(c+2))?r():(s=9,c++);break;case 44:s=ii,c++;break;case 45:Si(a,n(c+1),n(c+2))?r():45===n(c+1)&&62===n(c+2)?(s=ni,c+=3):wi(a,n(c+1),n(c+2))?o():(s=9,c++);break;case 46:Si(a,n(c+1),n(c+2))?r():(s=9,c++);break;case 47:42===n(c+1)?(s=pi,c=e.indexOf("*/",c+2),c=-1===c?e.length:c+2):(s=9,c++);break;case 58:s=ri,c++;break;case 59:s=oi,c++;break;case 60:33===n(c+1)&&45===n(c+2)&&45===n(c+3)?(s=14,c+=4):(s=9,c++);break;case 64:wi(n(c+1),n(c+2),n(c+3))?(s=3,c=Ri(e,c+1)):(s=9,c++);break;case 91:s=ai,c++;break;case 92:xi(a,n(c+1))?o():(s=9,c++);break;case 93:s=si,c++;break;case 123:s=ui,c++;break;case 125:s=hi,c++;break;case 131:r();break;case 132:o();break;default:s=9,c++}t(s,l,l=c)}}let Xi=null;class Yi{static createItem(e){return{prev:null,next:null,data:e}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(e){return Yi.createItem(e)}allocateCursor(e,t){let n;return null!==Xi?(n=Xi,Xi=Xi.cursor,n.prev=e,n.next=t,n.cursor=this.cursor):n={prev:e,next:t,cursor:this.cursor},this.cursor=n,n}releaseCursor(){const{cursor:e}=this;this.cursor=e.cursor,e.prev=null,e.next=null,e.cursor=Xi,Xi=e}updateCursors(e,t,n,r){let{cursor:o}=this;for(;null!==o;)o.prev===e&&(o.prev=t),o.next===n&&(o.next=r),o=o.cursor}*[Symbol.iterator](){for(let e=this.head;null!==e;e=e.next)yield e.data}get size(){let e=0;for(let t=this.head;null!==t;t=t.next)e++;return e}get isEmpty(){return null===this.head}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(e){let t=null;this.head=null;for(let n of e){const e=Yi.createItem(n);null!==t?t.next=e:this.head=e,e.prev=t,t=e}return this.tail=t,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(e,t=this){const n=this.allocateCursor(null,this.head);for(;null!==n.next;){const r=n.next;n.next=r.next,e.call(t,r.data,r,this)}this.releaseCursor()}forEachRight(e,t=this){const n=this.allocateCursor(this.tail,null);for(;null!==n.prev;){const r=n.prev;n.prev=r.prev,e.call(t,r.data,r,this)}this.releaseCursor()}reduce(e,t,n=this){let r,o=this.allocateCursor(null,this.head),i=t;for(;null!==o.next;)r=o.next,o.next=r.next,i=e.call(n,i,r.data,r,this);return this.releaseCursor(),i}reduceRight(e,t,n=this){let r,o=this.allocateCursor(this.tail,null),i=t;for(;null!==o.prev;)r=o.prev,o.prev=r.prev,i=e.call(n,i,r.data,r,this);return this.releaseCursor(),i}some(e,t=this){for(let n=this.head;null!==n;n=n.next)if(e.call(t,n.data,n,this))return!0;return!1}map(e,t=this){const n=new Yi;for(let r=this.head;null!==r;r=r.next)n.appendData(e.call(t,r.data,r,this));return n}filter(e,t=this){const n=new Yi;for(let r=this.head;null!==r;r=r.next)e.call(t,r.data,r,this)&&n.appendData(r.data);return n}nextUntil(e,t,n=this){if(null===e)return;const r=this.allocateCursor(null,e);for(;null!==r.next;){const e=r.next;if(r.next=e.next,t.call(n,e.data,e,this))break}this.releaseCursor()}prevUntil(e,t,n=this){if(null===e)return;const r=this.allocateCursor(e,null);for(;null!==r.prev;){const e=r.prev;if(r.prev=e.prev,t.call(n,e.data,e,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){const e=new Yi;for(let t of this)e.appendData(t);return e}prepend(e){return this.updateCursors(null,e,this.head,e),null!==this.head?(this.head.prev=e,e.next=this.head):this.tail=e,this.head=e,this}prependData(e){return this.prepend(Yi.createItem(e))}append(e){return this.insert(e)}appendData(e){return this.insert(Yi.createItem(e))}insert(e,t=null){if(null!==t)if(this.updateCursors(t.prev,e,t,e),null===t.prev){if(this.head!==t)throw new Error("before doesn't belong to list");this.head=e,t.prev=e,e.next=t,this.updateCursors(null,e)}else t.prev.next=e,e.prev=t.prev,t.prev=e,e.next=t;else this.updateCursors(this.tail,e,null,e),null!==this.tail?(this.tail.next=e,e.prev=this.tail):this.head=e,this.tail=e;return this}insertData(e,t){return this.insert(Yi.createItem(e),t)}remove(e){if(this.updateCursors(e,e.prev,e,e.next),null!==e.prev)e.prev.next=e.next;else{if(this.head!==e)throw new Error("item doesn't belong to list");this.head=e.next}if(null!==e.next)e.next.prev=e.prev;else{if(this.tail!==e)throw new Error("item doesn't belong to list");this.tail=e.prev}return e.prev=null,e.next=null,e}push(e){this.insert(Yi.createItem(e))}pop(){return null!==this.tail?this.remove(this.tail):null}unshift(e){this.prepend(Yi.createItem(e))}shift(){return null!==this.head?this.remove(this.head):null}prependList(e){return this.insertList(e,this.head)}appendList(e){return this.insertList(e)}insertList(e,t){return null===e.head||(null!=t?(this.updateCursors(t.prev,e.tail,t,e.head),null!==t.prev?(t.prev.next=e.head,e.head.prev=t.prev):this.head=e.head,t.prev=e.tail,e.tail.next=t):(this.updateCursors(this.tail,e.tail,null,e.head),null!==this.tail?(this.tail.next=e.head,e.head.prev=this.tail):this.head=e.head,this.tail=e.tail),e.head=null,e.tail=null),this}replace(e,t){"head"in t?this.insertList(t,e):this.insert(t,e),this.remove(e)}}function Zi(e,t){const n=Object.create(SyntaxError.prototype),r=new Error;return Object.assign(n,{name:e,message:t,get stack(){return(r.stack||"").replace(/^(.+\n){1,3}/,`${e}: ${t}\n`)}})}const Ji=" ";function ea({source:e,line:t,column:n,baseLine:r,baseColumn:o},i){function a(e,t){return s.slice(e,t).map((t,n)=>String(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&&e<s.length&&(s[e]=s[e].replace(/\t/g,Ji),s[e]=(h>0&&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 ta(e,t,n,r,o,i=1,a=1){return Object.assign(Zi("SyntaxError",e),{source:t,offset:n,line:r,column:o,sourceFragment:e=>ea({source:t,line:r,column:o,baseLine:i,baseColumn:a},isNaN(e)?0:e),get formattedMessage(){return`Parse error: ${e}\n`+ea({source:t,line:r,column:o,baseLine:i,baseColumn:a},2)}})}function na(e){const t=this.createList();let n=!1;const r={recognizer:e};for(;!this.eof;){switch(this.tokenType){case pi:this.next();continue;case ti: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 ra=()=>{},oa={createList:()=>[],createSingleNodeList:e=>[e],getFirstListNode:e=>e&&e[0]||null,getLastListNode:e=>e&&e.length>0?e[e.length-1]:null},ia={createList:()=>new Yi,createSingleNodeList:e=>(new Yi).appendData(e),getFirstListNode:e=>e&&e.first,getLastListNode:e=>e&&e.last};function aa(e){return function(){return this[e]()}}function sa(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 la(e){let t="",n="<unknown>",r=!1,o=ra,i=!1;const a=new Wi,s=Object.assign(new Ki,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:sa(e.atrule),pseudo:sa(e.pseudo),node:sa(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]=aa(r)}return{config:t,...t,...t.node}}(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:na,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:ra,createSingleNodeList:ra,getFirstListNode:ra,getLastListNode:ra,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!==ti&&t!==pi)return t}while(0!==t);return 0},charCodeAt:e=>e>=0&&e<t.length?t.charCodeAt(e):0,substring:(e,n)=>t.substring(e,n),substrToCursor(e){return this.source.substring(e,this.tokenStart)},cmpChar:(e,n)=>Li(t,e,n),cmpStr:(e,n,r)=>Ei(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(2),e},consumeNumber(e){const n=t.substring(this.tokenStart,Di(t,this.tokenStart));return this.eat(e),n},eat(e){if(this.tokenType!==e){const t=Fi[e].slice(0,-6).replace(/-/g," ").replace(/^./,e=>e.toUpperCase());let n=`${/[[\](){}]/.test(t)?`"${t}"`:t} is expected`,r=this.tokenStart;switch(e){case 1:2===this.tokenType||7===this.tokenType?(r=this.tokenEnd-1,n="Identifier is expected but function found"):n="Identifier is expected";break;case 4:this.isDelim(35)&&(this.next(),r++,n="Name is expected");break;case Jo:this.tokenType===Zo&&(r=this.tokenEnd,n="Percent sign is expected")}this.error(n,r)}this.next()},eatIdent(e){1===this.tokenType&&!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<t.length?a.getLocation(n):this.eof?a.getLocation(function(e,t){for(;t>=0&&vi(e.charCodeAt(t));t--);return t+1}(t,t.length-1)):a.getLocation(this.tokenStart);throw new ta(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,Qi),a.setSource(t,l.offset,l.line,l.column),n=l.filename||"<unknown>",r=Boolean(l.positions),o="function"==typeof l.onParseError?l.onParseError:ra,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",list:u=!0,onComment:h,onToken:p}=l;if(c in s.context==!1)throw new Error("Unknown context `"+c+"`");Object.assign(s,u?ia:oa),Array.isArray(p)?s.forEachToken((e,t,n)=>{p.push({type:e,start:t,end:n})}):"function"==typeof p&&s.forEachToken(p.bind({filename:n,source:t,tokenCount:s.tokenCount,getTokenType:e=>s.getTokenType(e),getTokenTypeName:e=>Fi[s.getTokenType(e)],getTokenStart:e=>s.getTokenStart(e),getTokenEnd:e=>s.getTokenEnd(e),getTokenValue:e=>s.source.substring(s.getTokenStart(e),s.getTokenEnd(e)),substring:(e,t)=>s.source.substring(e,t),balance:s.balance.subarray(0,s.tokenCount+1),isBlockOpenerTokenType:s.isBlockOpenerTokenType,isBlockCloserTokenType:s.isBlockCloserTokenType,getBlockTokenPairIndex:e=>s.getBlockTokenPairIndex(e),getLocation:e=>a.getLocation(e,n),getRangeLocation:(e,t)=>a.getLocationRange(e,t,n)})),"function"==typeof h&&s.forEachToken((e,n,r)=>{if(e===pi){const e=s.getLocation(n,r),o=Ei(t,r-2,r,"*/")?t.slice(n+2,r-2):t.slice(n+2,r);h(o,e)}});const d=s.context[c].call(s,l);return s.eof||s.error(),d},{SyntaxError:ta,config:s.config})}var ca,ua,ha={},pa={},da={};function fa(){if(ca)return da;ca=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return da.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},da.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1},da}var ma,ga={};function ba(){return ma||(ma=1,function(e){e.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function r(e){var n=e.match(t);return n?{scheme:n[1],auth:n[2],host:n[3],port:n[4],path:n[5]}:null}function o(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}e.urlParse=r,e.urlGenerate=o;var i,a,s=(i=function(t){var n=t,i=r(t);if(i){if(!i.path)return t;n=i.path}for(var a=e.isAbsolute(n),s=[],l=0,c=0;;){if(l=c,-1===(c=n.indexOf("/",l))){s.push(n.slice(l));break}for(s.push(n.slice(l,c));c<n.length&&"/"===n[c];)c++}var u,h=0;for(c=s.length-1;c>=0;c--)"."===(u=s[c])?s.splice(c,1):".."===u?h++:h>0&&(""===u?(s.splice(c+1,h),h=0):(s.splice(c,2),h--));return""===(n=s.join("/"))&&(n=a?"/":"."),i?(i.path=n,o(i)):n},a=[],function(e){for(var t=0;t<a.length;t++)if(a[t].input===e){var n=a[0];return a[0]=a[t],a[t]=n,a[0].result}var r=i(e);return a.unshift({input:e,result:r}),a.length>32&&a.pop(),r});function l(e,t){""===e&&(e="."),""===t&&(t=".");var i=r(t),a=r(e);if(a&&(e=a.path||"/"),i&&!i.scheme)return a&&(i.scheme=a.scheme),o(i);if(i||t.match(n))return t;if(a&&!a.host&&!a.path)return a.host=t,o(a);var l="/"===t.charAt(0)?t:s(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=l,o(a)):l}e.normalize=s,e.join=l,e.isAbsolute=function(e){return"/"===e.charAt(0)||t.test(e)},e.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var c=!("__proto__"in Object.create(null));function u(e){return e}function h(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function p(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=c?u:function(e){return h(e)?"$"+e:e},e.fromSetString=c?u:function(e){return h(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,n){var r=p(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:p(e.name,t.name)},e.compareByOriginalPositionsNoSource=function(e,t,n){var r;return 0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:p(e.name,t.name)},e.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=p(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:p(e.name,t.name)},e.compareByGeneratedPositionsDeflatedNoLine=function(e,t,n){var r=e.generatedColumn-t.generatedColumn;return 0!==r||n||0!==(r=p(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:p(e.name,t.name)},e.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=p(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:p(e.name,t.name)},e.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var i=r(n);if(!i)throw new Error("sourceMapURL could not be parsed");if(i.path){var a=i.path.lastIndexOf("/");a>=0&&(i.path=i.path.substring(0,a+1))}t=l(o(i),t)}return s(t)}}(ga)),ga}var ya,ka={};var va,xa,wa={};function Sa(){if(va)return wa;va=1;var e=ba();function t(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return t.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},t.prototype.add=function(t){var n,r,o,i,a,s;n=this._last,r=t,o=n.generatedLine,i=r.generatedLine,a=n.generatedColumn,s=r.generatedColumn,i>o||i==o&&s>=a||e.compareByGeneratedPositionsInflated(n,r)<=0?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))},t.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},wa.MappingList=t,wa}var Ca=function(){if(xa)return ha;xa=1;var e=function(){if(ua)return pa;ua=1;var e=fa();return pa.encode=function(t){var n,r="",o=function(e){return e<0?1+(-e<<1):0+(e<<1)}(t);do{n=31&o,(o>>>=5)>0&&(n|=32),r+=e.encode(n)}while(o>0);return r},pa.decode=function(t,n,r){var o,i,a,s,l=t.length,c=0,u=0;do{if(n>=l)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(i=e.decode(t.charCodeAt(n++))))throw new Error("Invalid base64 digit: "+t.charAt(n-1));o=!!(32&i),c+=(i&=31)<<u,u+=5}while(o);r.value=(s=(a=c)>>1,1&~a?s:-s),r.rest=n},pa}(),t=ba(),n=function(){if(ya)return ka;ya=1;var e=ba(),t=Object.prototype.hasOwnProperty,n="undefined"!=typeof Map;function r(){this._array=[],this._set=n?new Map:Object.create(null)}return r.fromArray=function(e,t){for(var n=new r,o=0,i=e.length;o<i;o++)n.add(e[o],t);return n},r.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(r,o){var i=n?r:e.toSetString(r),a=n?this.has(r):t.call(this._set,i),s=this._array.length;a&&!o||this._array.push(r),a||(n?this._set.set(r,s):this._set[i]=s)},r.prototype.has=function(r){if(n)return this._set.has(r);var o=e.toSetString(r);return t.call(this._set,o)},r.prototype.indexOf=function(r){if(n){var o=this._set.get(r);if(o>=0)return o}else{var i=e.toSetString(r);if(t.call(this._set,i))return this._set[i]}throw new Error('"'+r+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},r.prototype.toArray=function(){return this._array.slice()},ka.ArraySet=r,ka}().ArraySet,r=Sa().MappingList;function o(e){e||(e={}),this._file=t.getArg(e,"file",null),this._sourceRoot=t.getArg(e,"sourceRoot",null),this._skipValidation=t.getArg(e,"skipValidation",!1),this._ignoreInvalidMapping=t.getArg(e,"ignoreInvalidMapping",!1),this._sources=new n,this._names=new n,this._mappings=new r,this._sourcesContents=null}return o.prototype._version=3,o.fromSourceMap=function(e,n){var r=e.sourceRoot,i=new o(Object.assign(n||{},{file:e.file,sourceRoot:r}));return e.eachMapping(function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(n.source=e.source,null!=r&&(n.source=t.relative(r,n.source)),n.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(n.name=e.name)),i.addMapping(n)}),e.sources.forEach(function(n){var o=n;null!==r&&(o=t.relative(r,n)),i._sources.has(o)||i._sources.add(o);var a=e.sourceContentFor(n);null!=a&&i.setSourceContent(n,a)}),i},o.prototype.addMapping=function(e){var n=t.getArg(e,"generated"),r=t.getArg(e,"original",null),o=t.getArg(e,"source",null),i=t.getArg(e,"name",null);(this._skipValidation||!1!==this._validateMapping(n,r,o,i))&&(null!=o&&(o=String(o),this._sources.has(o)||this._sources.add(o)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:o,name:i}))},o.prototype.setSourceContent=function(e,n){var r=e;null!=this._sourceRoot&&(r=t.relative(this._sourceRoot,r)),null!=n?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(r)]=n):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(e,r,o){var i=r;if(null==r){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');i=e.file}var a=this._sourceRoot;null!=a&&(i=t.relative(a,i));var s=new n,l=new n;this._mappings.unsortedForEach(function(n){if(n.source===i&&null!=n.originalLine){var r=e.originalPositionFor({line:n.originalLine,column:n.originalColumn});null!=r.source&&(n.source=r.source,null!=o&&(n.source=t.join(o,n.source)),null!=a&&(n.source=t.relative(a,n.source)),n.originalLine=r.line,n.originalColumn=r.column,null!=r.name&&(n.name=r.name))}var c=n.source;null==c||s.has(c)||s.add(c);var u=n.name;null==u||l.has(u)||l.add(u)},this),this._sources=s,this._names=l,e.sources.forEach(function(n){var r=e.sourceContentFor(n);null!=r&&(null!=o&&(n=t.join(o,n)),null!=a&&(n=t.relative(a,n)),this.setSourceContent(n,r))},this)},o.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column){var o="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(this._ignoreInvalidMapping)return"undefined"!=typeof console&&console.warn&&console.warn(o),!1;throw new Error(o)}if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n)){o="Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r});if(this._ignoreInvalidMapping)return"undefined"!=typeof console&&console.warn&&console.warn(o),!1;throw new Error(o)}},o.prototype._serializeMappings=function(){for(var n,r,o,i,a=0,s=1,l=0,c=0,u=0,h=0,p="",d=this._mappings.toArray(),f=0,m=d.length;f<m;f++){if(n="",(r=d[f]).generatedLine!==s)for(a=0;r.generatedLine!==s;)n+=";",s++;else if(f>0){if(!t.compareByGeneratedPositionsInflated(r,d[f-1]))continue;n+=","}n+=e.encode(r.generatedColumn-a),a=r.generatedColumn,null!=r.source&&(i=this._sources.indexOf(r.source),n+=e.encode(i-h),h=i,n+=e.encode(r.originalLine-1-c),c=r.originalLine-1,n+=e.encode(r.originalColumn-l),l=r.originalColumn,null!=r.name&&(o=this._names.indexOf(r.name),n+=e.encode(o-u),u=o)),p+=n}return p},o.prototype._generateSourcesContent=function(e,n){return e.map(function(e){if(!this._sourcesContents)return null;null!=n&&(e=t.relative(n,e));var r=t.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},o.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},ha.SourceMapGenerator=o,ha}();const za=new Set(["Atrule","Selector","Declaration"]);const Aa=(e,t)=>(9===e&&(e=t),"string"==typeof e&&(e=Math.min(e.charCodeAt(0),128)<<6),e<<1),_a=[[1,1],[1,2],[1,7],[1,8],[1,"-"],[1,Zo],[1,Jo],[1,ei],[1,ni],[1,li],[3,1],[3,2],[3,7],[3,8],[3,"-"],[3,Zo],[3,Jo],[3,ei],[3,ni],[4,1],[4,2],[4,7],[4,8],[4,"-"],[4,Zo],[4,Jo],[4,ei],[4,ni],[ei,1],[ei,2],[ei,7],[ei,8],[ei,"-"],[ei,Zo],[ei,Jo],[ei,ei],[ei,ni],["#",1],["#",2],["#",7],["#",8],["#","-"],["#",Zo],["#",Jo],["#",ei],["#",ni],["-",1],["-",2],["-",7],["-",8],["-","-"],["-",Zo],["-",Jo],["-",ei],["-",ni],[Zo,1],[Zo,2],[Zo,7],[Zo,8],[Zo,Zo],[Zo,Jo],[Zo,ei],[Zo,"%"],[Zo,ni],["@",1],["@",2],["@",7],["@",8],["@","-"],["@",ni],[".",Zo],[".",Jo],[".",ei],["+",Zo],["+",Jo],["+",ei],["/","*"]],Ta=_a.concat([[1,4],[ei,4],[4,4],[3,li],[3,5],[3,ri],[Jo,Jo],[Jo,ei],[Jo,2],[Jo,"-"],[ci,1],[ci,2],[ci,Jo],[ci,ei],[ci,4],[ci,"-"]]);function Oa(e){const t=new Set(e.map(([e,t])=>Aa(e)<<16|Aa(t)));return function(e,n,r){const o=Aa(n,r),i=r.charCodeAt(0);return o|(45===i&&1!==n&&2!==n&&n!==ni||43===i?t.has((65534&e)<<16|i<<7):t.has((65534&e)<<16|o))}}const La=Oa(_a),Ea=Oa(Ta);var ja=Object.freeze({__proto__:null,safe:Ea,spec:La});function Ia(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 Pa(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="",o=0,i={node(e){if(!t.has(e.type))throw new Error("Unknown node type: "+e.type);t.get(e.type).call(a,e)},tokenBefore:Ea,token(e,t,n){o=this.tokenBefore(o,e,t),!n&&1&o&&this.emit(" ",ti,!0),this.emit(t,e,!1),9===e&&92===t.charCodeAt(0)&&this.emit("\n",ti,!0)},emit(e){r+=e},result:()=>r};n&&("function"==typeof n.decorator&&(i=n.decorator(i)),n.sourceMap&&(i=function(e){const t=new Ca.SourceMapGenerator,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&&za.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&&za.has(e.type)&&(o.line=a,o.column=s)};const u=e.emit;e.emit=function(e,t,n){for(let t=0;t<e.length;t++)10===e.charCodeAt(t)?(a++,s=0):s++;u(e,t,n)};const h=e.result;return e.result=function(){return l&&t.addMapping(i),{css:h(),map:t}},e}(i)),n.mode in ja&&(i.tokenBefore=ja[n.mode]));const a={node:e=>i.node(e),children:Ia,token:(e,t)=>i.token(e,t),tokenize:e=>Qi(e,(t,n,r)=>{i.token(t,e.slice(n,r),0!==n)})};return i.node(e),i.result()}}const{hasOwnProperty:Ra}=Object.prototype,Da=function(){};function Na(e){return"function"==typeof e?e:Da}function Ma(e,t){return function(n,r,o){n.type===t&&e.call(this,n,r,o)}}function Fa(e,t){const n=t.structure,r=[];for(const e in n){if(!1===Ra.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 qa(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 Ba({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 Wa(e){const t=function(e){const t={};for(const n in e.node)if(Ra.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]=Fa(0,r)}return t}(e),n={},r={},o=Symbol("break-walk"),i=Symbol("skip-node");for(const e in t)Ra.call(t,e)&&null!==t[e]&&(n[e]=qa(t[e],!1),r[e]=qa(t[e],!0));const a=Ba(n),s=Ba(r),l=function(e,l){function c(e,t,n){const r=u.call(f,e,t,n);return r===o||r!==i&&(!(!p.hasOwnProperty(e.type)||!p[e.type](e,f,c,d))||h.call(f,e,t,n)===o)}let u=Da,h=Da,p=n,d=(e,t,n,r)=>e||c(t,n,r);const f={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=Na(l.enter),h=Na(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=Ma(u,l.visit),h=Ma(h,l.visit)}if(u===Da&&h===Da)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 $a(e){return e}function Ua(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=>Ua(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 Ua(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="<boolean-expr["+Ua(e.term,t,n,r)+"]>";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 Va(e,t){let n=$a,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)),Ua(e,n,r,o)}const Ha={offset:0,line:1,column:1};function Ga(e,t){const n=e&&e.loc&&e.loc[t];return n?"line"in n?Ka(n):n:null}function Ka({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 Qa=function(e,t){const n=Zi("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},Xa=function(e,t,n,r){const o=Zi("SyntaxMatchError",e),{css:i,mismatchOffset:a,mismatchLength:s,start:l,end:c}=function(e,t){const n=e.tokens,r=e.longestMatch,o=r<n.length&&n[r].node||null,i=o!==t?o:null;let a,s,l=0,c=0,u=0,h="";for(let e=0;e<n.length;e++){const t=n[e].value;e===r&&(c=t.length,l=h.length),null!==i&&n[e].node===i&&(e<=r?u++:u=0),h+=t}return r===n.length||u>1?(a=Ga(i||t,"end")||Ka(Ha,h),s=Ka(a)):(a=Ga(i,"start")||Ka(Ga(t,"start")||Ha,h.slice(0,l)),s=Ga(i,"end")||Ka(a,h.substr(l,c))),{css:h,mismatchOffset:l,mismatchLength:c,start:a,end:s}}(r,n);return o.rawMessage=e,o.syntax=t?Va(t):"<generic>",o.css=i,o.mismatchOffset=a,o.mismatchLength=s,o.message=e+"\n syntax: "+o.syntax+"\n value: "+(i||"<empty string>")+"\n --------"+new Array(o.mismatchOffset+1).join("-")+"^",Object.assign(o,l),o.loc={source:n&&n.loc&&n.loc.source||"<unknown>",start:l,end:c},o},Ya=new Map,Za=new Map,Ja=function(e){if(Ya.has(e))return Ya.get(e);const t=e.toLowerCase();let n=Ya.get(t);if(void 0===n){const e=ts(t,0),r=e?"":ns(t,0);n=Object.freeze({basename:t.substr(r.length),name:t,prefix:r,vendor:r,custom:e})}return Ya.set(e,n),n},es=function(e){if(Za.has(e))return Za.get(e);let t=e,n=e[0];"/"===n?n="/"===e[1]?"//":"/":"_"!==n&&"*"!==n&&"$"!==n&&"#"!==n&&"+"!==n&&"&"!==n&&(n="");const r=ts(t,n.length);if(!r&&(t=t.toLowerCase(),Za.has(t))){const n=Za.get(t);return Za.set(e,n),n}const o=r?"":ns(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 Za.set(e,a),a};function ts(e,t){return t=t||0,e.length-t>=2&&45===e.charCodeAt(t)&&45===e.charCodeAt(t+1)}function ns(e,t){if(t=t||0,e.length-t>=3&&45===e.charCodeAt(t)&&45!==e.charCodeAt(t+1)){const n=e.indexOf("-",t+2);if(-1!==n)return e.substring(t,n+1)}return""}const rs=["initial","inherit","unset","revert","revert-layer"],os=45,is=!0;function as(e,t){return null!==e&&9===e.type&&e.value.charCodeAt(0)===t}function ss(e,t,n){for(;null!==e&&(e.type===ti||e.type===pi);)e=n(++t);return t}function ls(e,t,n,r){if(!e)return 0;const o=e.value.charCodeAt(t);if(43===o||o===os){if(n)return 0;t++}for(;t<e.value.length;t++)if(!di(e.value.charCodeAt(t)))return 0;return r+1}function cs(e,t,n){let r=!1,o=ss(e,t,n);if(null===(e=n(o)))return t;if(e.type!==Zo){if(!as(e,43)&&!as(e,os))return t;if(r=!0,o=ss(n(++o),o,n),null===(e=n(o))||e.type!==Zo)return 0}if(!r){const t=e.value.charCodeAt(0);if(43!==t&&t!==os)return 0}return ls(e,r?0:1,r,o)}function us(e,t){return null!==e&&9===e.type&&e.value.charCodeAt(0)===t}function hs(e,t,n){let r=0;for(let o=t;o<e.value.length;o++){const i=e.value.charCodeAt(o);if(45===i&&n&&0!==r)return hs(e,t+r+1,!1),6;if(!fi(i))return 0;if(++r>6)return 0}return r}function ps(e,t,n){if(!e)return 0;for(;us(n(t),63);){if(++e>6)return 0;t++}return t}const ds=["calc(","-moz-calc(","-webkit-calc("],fs=["min(","max(","clamp("],ms=["round(","mod(","rem("],gs=["hypot("],bs=["abs("],ys=[...ds,...fs,...ms,"sin(","cos(","tan(","pow(","sqrt(","log(","exp(","sign(",...gs,...bs],ks=[...ds,...fs,...ms,...gs,...bs],vs=[...ds,...fs,...ms,"asin(","acos(","atan(","atan2(",...gs,...bs],xs=new Map([[2,ci],[li,ci],[ai,si],[ui,hi]]);function ws(e,t){return t<e.length?e.charCodeAt(t):0}function Ss(e,t){return Ei(e,0,e.length,t)}function Cs(e,t){for(let n=0;n<t.length;n++)if(Ss(e,t[n]))return!0;return!1}function zs(e,t){return t===e.length-2&&(92===ws(e,t)&&di(ws(e,t+1)))}function As(e,t,n){if(e&&"Range"===e.type){const r=Number(void 0!==n&&n!==t.length?t.substr(0,n):t);if(isNaN(r))return!0;if(null!==e.min&&r<e.min&&"string"!=typeof e.min)return!0;if(null!==e.max&&r>e.max&&"string"!=typeof e.max)return!0}return!1}function _s(e,t){return function(n,r,o){return null===n?0:2===n.type&&Cs(n.value,t)?function(e,t){let n=0,r=[],o=0;e:do{switch(e.type){case hi:case ci:case si:if(e.type!==n)break e;if(n=r.pop(),0===r.length){o++;break e}break;case 2:case li:case ai:case ui:r.push(n),n=xs.get(e.type)}o++}while(e=t(o));return o}(n,r):e(n,r,o)}}function Ts(e){return function(t){return null===t||t.type!==e?0:1}}function Os(e){return null===e||1!==e.type||45!==ws(e.value,0)||45!==ws(e.value,1)?0:1}function Ls(e){return e&&(e=new Set(e)),function(t,n,r){if(null===t||t.type!==ei)return 0;const o=Di(t.value,0);if(null!==e){const n=t.value.indexOf("\\",o),r=-1!==n&&zs(t.value,n)?t.value.substring(o,n):t.value.substr(o);if(!1===e.has(r.toLowerCase()))return 0}return As(r,t.value,o)?0:1}}function Es(e){return"function"!=typeof e&&(e=function(){return 0}),function(t,n,r){return null!==t&&t.type===Zo&&0===Number(t.value)?1:e(t,n,r)}}const js={"ident-token":Ts(1),"function-token":Ts(2),"at-keyword-token":Ts(3),"hash-token":Ts(4),"string-token":Ts(5),"bad-string-token":Ts(6),"url-token":Ts(7),"bad-url-token":Ts(8),"delim-token":Ts(9),"number-token":Ts(Zo),"percentage-token":Ts(Jo),"dimension-token":Ts(ei),"whitespace-token":Ts(ti),"CDO-token":Ts(14),"CDC-token":Ts(ni),"colon-token":Ts(ri),"semicolon-token":Ts(oi),"comma-token":Ts(ii),"[-token":Ts(ai),"]-token":Ts(si),"(-token":Ts(li),")-token":Ts(ci),"{-token":Ts(ui),"}-token":Ts(hi)},Is={string:Ts(5),ident:Ts(1),percentage:_s(function(e,t,n){return null===e||e.type!==Jo||As(n,e.value,e.value.length-1)?0:1},ks),zero:Es(),number:_s(function(e,t,n){if(null===e)return 0;const r=Di(e.value,0);return r===e.value.length||zs(e.value,r)?As(n,e.value,r)?0:1:0},ys),integer:_s(function(e,t,n){if(null===e||e.type!==Zo)return 0;let r=43===ws(e.value,0)||45===ws(e.value,0)?1:0;for(;r<e.value.length;r++)if(!di(ws(e.value,r)))return 0;return As(n,e.value,r)?0:1},ys),"custom-ident":function(e){if(null===e||1!==e.type)return 0;const t=e.value.toLowerCase();return Cs(t,rs)||Ss(t,"default")?0:1},"dashed-ident":Os,"custom-property-name":function(e){return Os(e)?"--"===e.value?0:1:0},"hex-color":function(e){if(null===e||4!==e.type)return 0;const t=e.value.length;if(4!==t&&5!==t&&7!==t&&9!==t)return 0;for(let n=1;n<t;n++)if(!fi(ws(e.value,n)))return 0;return 1},"id-selector":function(e){return null===e||4!==e.type?0:wi(ws(e.value,1),ws(e.value,2),ws(e.value,3))?1:0},"an-plus-b":function(e,t){let n=0;if(!e)return 0;if(e.type===Zo)return ls(e,0,false,n);if(1===e.type&&e.value.charCodeAt(0)===os){if(!Li(e.value,1,110))return 0;switch(e.value.length){case 2:return cs(t(++n),n,t);case 3:return e.value.charCodeAt(2)!==os?0:(n=ss(t(++n),n,t),ls(e=t(n),0,is,n));default:return e.value.charCodeAt(2)!==os?0:ls(e,3,is,n)}}else if(1===e.type||as(e,43)&&1===t(n+1).type){if(1!==e.type&&(e=t(++n)),null===e||!Li(e.value,0,110))return 0;switch(e.value.length){case 1:return cs(t(++n),n,t);case 2:return e.value.charCodeAt(1)!==os?0:(n=ss(t(++n),n,t),ls(e=t(n),0,is,n));default:return e.value.charCodeAt(1)!==os?0:ls(e,2,is,n)}}else if(e.type===ei){let r=e.value.charCodeAt(0),o=43===r||r===os?1:0,i=o;for(;i<e.value.length&&di(e.value.charCodeAt(i));i++);return i===o?0:Li(e.value,i,110)?i+1===e.value.length?cs(t(++n),n,t):e.value.charCodeAt(i+1)!==os?0:i+2===e.value.length?(n=ss(t(++n),n,t),ls(e=t(n),0,is,n)):ls(e,i+2,is,n):0}return 0},urange:function(e,t){let n=0;if(null===e||1!==e.type||!Li(e.value,0,117))return 0;if(null===(e=t(++n)))return 0;if(us(e,43))return null===(e=t(++n))?0:1===e.type?ps(hs(e,0,!0),++n,t):us(e,63)?ps(1,++n,t):0;if(e.type===Zo){const r=hs(e,1,!0);return 0===r?0:null===(e=t(++n))?n:e.type===ei||e.type===Zo?function(e,t){return e.value.charCodeAt(0)===t}(e,45)&&hs(e,1,!1)?n+1:0:ps(r,n,t)}return e.type===ei?ps(hs(e,1,!0),++n,t):0},"declaration-value":function(e,t){if(!e)return 0;let n=0,r=[],o=0;e:do{switch(e.type){case 6:case 8:break e;case hi:case ci:case si:if(e.type!==n)break e;n=r.pop();break;case oi:if(0===n)break e;break;case 9:if(0===n&&"!"===e.value)break e;break;case 2:case li:case ai:case ui:r.push(n),n=xs.get(e.type)}o++}while(e=t(o));return o},"any-value":function(e,t){if(!e)return 0;let n=0,r=[],o=0;e:do{switch(e.type){case 6:case 8:break e;case hi:case ci:case si:if(e.type!==n)break e;n=r.pop();break;case 2:case li:case ai:case ui:r.push(n),n=xs.get(e.type)}o++}while(e=t(o));return o}},Ps=["length","angle","time","frequency","resolution","flex","decibel","semitones"];function Rs(e){const{angle:t,decibel:n,frequency:r,flex:o,length:i,resolution:a,semitones:s,time:l}=e||{};return{dimension:_s(Ls(null),vs),angle:_s(Ls(t),vs),decibel:_s(Ls(n),vs),frequency:_s(Ls(r),vs),flex:_s(Ls(o),vs),length:_s(Es(Ls(i)),vs),resolution:_s(Ls(a),vs),semitones:_s(Ls(s),vs),time:_s(Ls(l),vs)}}function Ds(e){const t=new Set;for(const n of Ps)if(Array.isArray(e[n]))for(const r of e[n])t.add(r.toLowerCase());return function(e){return null===e?0:9===e.type&&"%"===e.value||1===e.type&&t.has(e.value.toLowerCase())?1:0}}var Ns=Object.freeze({__proto__:null,angle:["deg","grad","rad","turn"],decibel:["db"],flex:["fr"],frequency:["hz","khz"],length:["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],resolution:["dpi","dpcm","dppx","x"],semitones:["st"],time:["s","ms"]});function Ms(e,t,n){return Object.assign(Zi("SyntaxError",e),{input:t,offset:n,rawMessage:e,message:e+"\n "+t+"\n--"+new Array((n||t.length)+1).join("-")+"^"})}const Fs=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0);class qs{constructor(e){this.str=e,this.pos=0}charCodeAt(e){return e<this.str.length?this.str.charCodeAt(e):0}charCode(){return this.charCodeAt(this.pos)}isNameCharCode(e=this.charCode()){return e<128&&1===Fs[e]}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(e){return this.charCodeAt(this.findWsEnd(e))}skipWs(){this.pos=this.findWsEnd(this.pos)}findWsEnd(e){for(;e<this.str.length;e++){const t=this.str.charCodeAt(e);if(13!==t&&10!==t&&12!==t&&32!==t&&9!==t)break}return e}substringToPos(e){return this.str.substring(this.pos,this.pos=e)}eat(e){this.charCode()!==e&&this.error("Expect `"+String.fromCharCode(e)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(e){throw new Ms(e,this.str,this.pos)}scanSpaces(){return this.substringToPos(this.findWsEnd(this.pos))}scanWord(){let e=this.pos;for(;e<this.str.length;e++){const t=this.str.charCodeAt(e);if(t>=128||0===Fs[t])break}return this.pos===e&&this.error("Expect a keyword"),this.substringToPos(e)}scanNumber(){let e=this.pos;for(;e<this.str.length;e++){const t=this.str.charCodeAt(e);if(t<48||t>57)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 Bs=93,Ws=123,$s={" ":1,"&&":2,"||":3,"|":4};function Us(e){let t=null,n=null;return e.eat(Ws),e.skipWs(),t=e.scanNumber(e),e.skipWs(),44===e.charCode()?(e.pos++,e.skipWs(),125!==e.charCode()&&(n=e.scanNumber(e),e.skipWs())):n=t,e.eat(125),{min:Number(t),max:n?Number(n):0}}function Vs(e,t){const n=function(e){let t=null,n=!1;switch(e.charCode()){case 42:e.pos++,t={min:0,max:0};break;case 43:e.pos++,t={min:1,max:0};break;case 63:e.pos++,t={min:0,max:1};break;case 35:e.pos++,n=!0,e.charCode()===Ws?t=Us(e):63===e.charCode()?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case Ws:t=Us(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,35===e.charCode()&&43===e.charCodeAt(e.pos-1)||63===e.charCode()&&125===e.charCodeAt(e.pos-1)?Vs(e,n):n):t}function Hs(e){const t=e.peek();return""===t?null:Vs(e,{type:"Token",value:t})}function Gs(e){let t,n=null;if(e.eat(60),t=e.scanWord(),"boolean-expr"===t){e.eat(91);const t=Qs(e,Bs);return e.eat(Bs),e.eat(62),Vs(e,{type:"Boolean",term:1===t.terms.length?t.terms[0]:t})}return 40===e.charCode()&&41===e.nextCharCode()&&(e.pos+=2,t+="()"),91===e.charCodeAt(e.findWsEnd(e.pos))&&(e.skipWs(),n=function(e){let t=null,n=null,r=1;return e.eat(91),45===e.charCode()&&(e.peek(),r=-1),-1==r&&8734===e.charCode()?e.peek():(t=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(44),e.skipWs(),8734===e.charCode()?e.peek():(r=1,45===e.charCode()&&(e.peek(),r=-1),n=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(n+=e.scanWord())),e.eat(Bs),{type:"Range",min:t,max:n}}(e)),e.eat(62),Vs(e,{type:"Type",name:t,opts:n})}function Ks(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)=>$s[e]-$s[t]);t.length>0;){r=t.shift();let o=0,i=0;for(;o<e.length;o++){const t=e[o];"Combinator"===t.type&&(t.value===r?(-1===i&&(i=o-1),e.splice(o,1),o--):(-1!==i&&o-i>1&&(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 Qs(e,t=-1){const n=Object.create(null),r=[];let o=null,i=e.pos,a=!1;for(;e.charCode()!==t;){let t=a?Qs(e,41):Xs(e);if(!t)break;if("Spaces"!==t.type){if(a){if(0===t.terms.length){a=!1;continue}if(" "===t.combinator){for(;t.terms.length>1;)n[" "]=!0,r.push({type:"Combinator",value:" "},t.terms.shift());t=t.terms[0]}}"Combinator"===t.type?(null!==o&&"Combinator"!==o.type||(e.pos=i,e.error("Unexpected combinator")),n[t.value]=!0):null!==o&&"Combinator"!==o.type&&(n[" "]=!0,r.push({type:"Combinator",value:" "})),r.push(t),o=t,i=e.pos,a="Function"===t.type}}return null!==o&&"Combinator"===o.type&&(e.pos-=i,e.error("Unexpected combinator")),{type:"Group",terms:r,combinator:Ks(r,n)||" ",disallowEmpty:!1,explicit:!1}}function Xs(e){let t=e.charCode();switch(t){case Bs:break;case 91:return Vs(e,function(e){let t;return e.eat(91),t=Qs(e,Bs),e.eat(Bs),t.explicit=!0,33===e.charCode()&&(e.pos++,t.disallowEmpty=!0),t}(e));case 60:return 39===e.nextCharCode()?function(e){let t;return e.eat(60),e.eat(39),t=e.scanWord(),e.eat(39),e.eat(62),Vs(e,{type:"Property",name:t})}(e):Gs(e);case 124:return{type:"Combinator",value:e.substringToPos(e.pos+(124===e.nextCharCode()?2:1))};case 38:return e.pos++,e.eat(38),{type:"Combinator",value:"&&"};case 44:return e.pos++,{type:"Comma"};case 39:return Vs(e,{type:"String",value:e.scanString()});case 32:case 9:case 10:case 13:case 12:return{type:"Spaces",value:e.scanSpaces()};case 64:return t=e.nextCharCode(),e.isNameCharCode(t)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):Hs(e);case 42:case 43:case 63:case 35:case 33:break;case Ws:if(t=e.nextCharCode(),t<48||t>57)return Hs(e);break;default:return e.isNameCharCode(t)?function(e){const t=e.scanWord();return 40===e.charCode()?(e.pos++,{type:"Function",name:t}):Vs(e,{type:"Keyword",name:t})}(e):Hs(e)}}function Ys(e){const t=new qs(e),n=Qs(t);return t.pos!==e.length&&t.error("Unexpected input"),1===n.terms.length&&"Group"===n.terms[0].type?n.terms[0]:n}const Zs=function(){};function Js(e){return"function"==typeof e?e:Zs}const el={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 tl(e,t){return"string"==typeof e?function(e){const t=[];return Qi(e,(n,r,o)=>t.push({type:n,value:e.slice(r,o),node:null})),t}(e):t.generate(e,el)}const nl={type:"Match"},rl={type:"Mismatch"},ol={type:"DisallowEmpty"};function il(e,t,n){return t===nl&&n===rl||e===nl&&t===nl&&n===nl?e:("If"===e.type&&e.else===rl&&t===nl&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function al(e){return e.length>2&&40===e.charCodeAt(e.length-2)&&41===e.charCodeAt(e.length-1)}function sl(e){return"Keyword"===e.type||"AtKeyword"===e.type||"Function"===e.type||"Type"===e.type&&al(e.name)}function ll(e,t=" ",n=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:n}}function cl(e,t,n=new Set){if(!n.has(e))switch(n.add(e),e.type){case"If":e.match=cl(e.match,t,n),e.then=cl(e.then,t,n),e.else=cl(e.else,t,n);break;case"Type":return t[e.name]||e}return e}function ul(e,t,n){switch(e){case" ":{let e=nl;for(let n=t.length-1;n>=0;n--){e=il(t[n],e,rl)}return e}case"|":{let e=rl,n=null;for(let r=t.length-1;r>=0;r--){let o=t[r];if(sl(o)&&(null===n&&r>0&&sl(t[r-1])&&(n=Object.create(null),e=il({type:"Enum",map:n},nl,e)),null!==n)){const e=(al(o.name)?o.name.slice(0,-1):o.name).toLowerCase();if(e in n==!1){n[e]=o;continue}}n=null,e=il(o,nl,e)}return e}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=rl;for(let r=t.length-1;r>=0;r--){const o=t[r];let i;i=t.length>1?ul(e,t.filter(function(e){return e!==o}),!1):nl,n=il(o,i,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let r=n?nl:rl;for(let n=t.length-1;n>=0;n--){const o=t[n];let i;i=t.length>1?ul(e,t.filter(function(e){return e!==o}),!0):nl,r=il(o,i,r)}return r}}}function hl(e){if("function"==typeof e)return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=ul(e.combinator,e.terms.map(hl),!1);return e.disallowEmpty&&(t=il(t,ol,rl)),t}case"Multiplier":return function(e){let t=nl,n=hl(e.term);if(0===e.max)n=il(n,ol,rl),t=il(n,null,rl),t.then=il(nl,nl,t),e.comma&&(t.then.else=il({type:"Comma",syntax:e},t,rl));else for(let r=e.min||1;r<=e.max;r++)e.comma&&t!==nl&&(t=il({type:"Comma",syntax:e},t,rl)),t=il(n,il(nl,nl,t),rl);if(0===e.min)t=il(nl,nl,t);else for(let r=0;r<e.min-1;r++)e.comma&&t!==nl&&(t=il({type:"Comma",syntax:e},t,rl)),t=il(n,t,rl);return t}(e);case"Boolean":{const t=hl(e.term),n=hl(ll([ll([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),ll([{type:"Type",name:"!boolean-group"},ll([{type:"Multiplier",comma:!1,min:0,max:0,term:ll([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:ll([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),r=hl(ll([{type:"Type",name:"!term"},ll([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return cl(r,{"!term":t,"!self":n}),cl(n,{"!boolean-group":r}),n}case"Type":case"Property":return{type:e.type,name:e.name,syntax:e};case"Keyword":return{type:e.type,name:e.name.toLowerCase(),syntax:e};case"AtKeyword":return{type:e.type,name:"@"+e.name.toLowerCase(),syntax:e};case"Function":return{type:e.type,name:e.name.toLowerCase()+"(",syntax:e};case"String":return 3===e.value.length?{type:"Token",value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,"'"),syntax:e};case"Token":return{type:e.type,value:e.value,syntax:e};case"Comma":return{type:e.type,syntax:e};default:throw new Error("Unknown node type:",e.type)}}function pl(e,t){return"string"==typeof e&&(e=Ys(e)),{type:"MatchGraph",match:hl(e),syntax:t||null,source:e}}const{hasOwnProperty:dl}=Object.prototype,fl="Match";function ml(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){const r=t.charCodeAt(n);let o=e.charCodeAt(n);if(o>=65&&o<=90&&(o|=32),o!==r)return!1}return!0}function gl(e){return null===e||(e.type===ii||2===e.type||e.type===li||e.type===ai||e.type===ui||function(e){return 9===e.type&&"?"!==e.value}(e))}function bl(e){return null===e||(e.type===ci||e.type===si||e.type===hi||9===e.type&&"/"===e.value)}function yl(e,t,n){const r=function(e,t,n){function r(){do{y++,b=y<e.length?e[y]:null}while(null!==b&&(b.type===ti||b.type===pi))}function o(t){const n=y+t;return n<e.length?e[n]:null}function i(e,t){return{nextState:e,matchStack:v,syntaxStack:h,thenStack:p,tokenIndex:y,prev:t}}function a(e){p={nextState:e,matchStack:v,syntaxStack:h,prev:p}}function s(e){d=i(e,d)}function l(){v={type:1,syntax:t.syntax,token:b,prev:v},r(),f=null,y>k&&(k=y)}function c(){h={syntax:t.syntax,opts:t.syntax.opts||null!==h&&h.opts||null,prev:h},v={type:2,syntax:t.syntax,token:v.token,prev:v}}function u(){v=2===v.type?v.prev:{type:3,syntax:h.syntax,token:v.token,prev:v},h=h.prev}let h=null,p=null,d=null,f=null,m=0,g=null,b=null,y=-1,k=0,v={type:0,syntax:null,token:null,prev:null};for(r();null===g&&++m<15e3;)switch(t.type){case"Match":if(null===p){if(null!==b&&(y!==e.length-1||"\\0"!==b.value&&"\\9"!==b.value)){t=rl;break}g=fl;break}if((t=p.nextState)===ol){if(p.matchStack===v){t=rl;break}t=nl}for(;p.syntaxStack!==h;)u();p=p.prev;break;case"Mismatch":if(null!==f&&!1!==f)(null===d||y>d.tokenIndex)&&(d=f,f=!1);else if(null===d){g="Mismatch";break}t=d.nextState,p=d.thenStack,h=d.syntaxStack,v=d.matchStack,y=d.tokenIndex,b=y<e.length?e[y]:null,d=d.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==rl&&s(t.else),t.then!==nl&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{const e=t.syntax.terms;if(t.index===e.length){if(0===t.mask||t.syntax.all){t=rl;break}t=nl;break}if(t.mask===(1<<e.length)-1){t=nl;break}for(;t.index<e.length;t.index++){const n=1<<t.index;if(0===(t.mask&n)){s(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|n}),t=e[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(null!==b){let e=b.value.toLowerCase();if(-1!==e.indexOf("\\")&&(e=e.replace(/\\[09].*$/,"")),dl.call(t.map,e)){t=t.map[e];break}}t=rl;break;case"Generic":{const e=null!==h?h.opts:null,n=y+Math.floor(t.fn(b,o,e));if(!isNaN(n)&&n>y){for(;y<n;)l();t=nl}else t=rl;break}case"Type":case"Property":{const e="Type"===t.type?"types":"properties",r=dl.call(n,e)?n[e][t.name]:null;if(!r||!r.match)throw new Error("Bad syntax reference: "+("Type"===t.type?"<"+t.name+">":"<'"+t.name+"'>"));if(!1!==f&&null!==b&&"Type"===t.type&&("custom-ident"===t.name&&1===b.type||"length"===t.name&&"0"===b.value)){null===f&&(f=i(t,d)),t=rl;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].*$/,"")),ml(n,e)){l(),t=nl;break}}t=rl;break}case"AtKeyword":case"Function":if(null!==b&&ml(b.value,t.name)){l(),t=nl;break}t=rl;break;case"Token":if(null!==b&&b.value===t.value){l(),t=nl;break}t=rl;break;case"Comma":null!==b&&b.type===ii?gl(v.token)?t=rl:(l(),t=bl(b)?rl:nl):t=gl(v.token)||bl(b)?nl:rl;break;case"String":let r="",m=y;for(;m<e.length&&r.length<t.value.length;m++)r+=e[m].value;if(ml(r,t.value)){for(;y<m;)l();t=nl}else t=rl;break;default:throw new Error("Unknown node type: "+t.type)}switch(g){case null:console.warn("[csstree-match] BREAK after 15000 iterations"),g="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",v=null;break;case fl:for(;null!==h;)u();break;default:v=null}return{tokens:e,reason:g,iterations:m,match:v,longestMatch:k}}(e,t,n||{});if(null===r.match)return r;let o=r.match,i=r.match={syntax:t.syntax||null,match:[]};const a=[i];for(o=function(e){let t=null,n=null,r=e;for(;null!==r;)n=r.prev,r.prev=t,t=r,r=n;return t}(o).prev;null!==o;){switch(o.type){case 2:i.match.push(i={syntax:o.syntax,match:[]}),a.push(i);break;case 3:a.pop(),i=a[a.length-1];break;default:i.match.push({syntax:o.syntax||null,token:o.token.value,node:o.token.node})}o=o.prev}return r}function kl(e){function t(e){return null!==e&&("Type"===e.type||"Property"===e.type||"Keyword"===e.type)}let n=null;return null!==this.matched&&function r(o){if(Array.isArray(o.match)){for(let e=0;e<o.match.length;e++)if(r(o.match[e]))return t(o.syntax)&&n.unshift(o.syntax),!0}else if(o.node===e)return n=t(o.syntax)?[o.syntax]:[],!0;return!1}(this.matched),n}function vl(e,t,n){const r=kl.call(e,t);return null!==r&&r.some(n)}var xl=Object.freeze({__proto__:null,getTrace:kl,isKeyword:function(e){return vl(this,e,e=>"Keyword"===e.type)},isProperty:function(e,t){return vl(this,e,e=>"Property"===e.type&&e.name===t)},isType:function(e,t){return vl(this,e,e=>"Type"===e.type&&e.name===t)}});function wl(e){return"node"in e?e.node:wl(e.match[0])}function Sl(e){return"node"in e?e.node:Sl(e.match[e.match.length-1])}function Cl(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=wl(a),r=Sl(a);e.syntax.walk(t,function(e,t,o){if(e===n){const e=new Yi;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:zl}=Object.prototype;function Al(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&e>=0}function _l(e){return Boolean(e)&&Al(e.offset)&&Al(e.line)&&Al(e.column)}function Tl(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!==zl.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(_l(n.loc.start)){if(_l(n.loc.end))continue;o+=".end"}else o+=".start";i=!1}else if(t.hasOwnProperty(o)){i=!1;for(let e=0;!i&&e<t[o].length;e++){const r=t[o][e];switch(r){case String:i="string"==typeof n[o];break;case Boolean:i="boolean"==typeof n[o];break;case null:i=null===n[o];break;default:"string"==typeof r?i=n[o]&&n[o].type===r:Array.isArray(r)&&(i=n[o]instanceof Yi)}}}else r(n,"Unknown field `"+o+"` for "+e+" node type");i||r(n,"Bad value for `"+e+"."+o+"`")}}for(const o in t)zl.call(t,o)&&!1===zl.call(n,o)&&r(n,"Field `"+e+"."+o+"` is missed")}}function Ol(e,t){const n=[];for(let r=0;r<e.length;r++){const o=e[r];if(o===String||o===Boolean)n.push(o.name.toLowerCase());else if(null===o)n.push("null");else if("string"==typeof o)n.push(o);else{if(!Array.isArray(o))throw new Error("Wrong value `"+o+"` in `"+t+"` structure definition");n.push("List<"+(Ol(o,t)||"any")+">")}}return n.join(" | ")}function Ll(e,t){const n=t.structure,r={type:String,loc:!0},o={type:'"'+e+'"'};for(const t in n){if(!1===zl.call(n,t))continue;const i=r[t]=Array.isArray(n[t])?n[t].slice():[n[t]];o[t]=Ol(i,e+"."+t)}return{docs:o,check:Tl(e,r)}}function El(e,t,n){const r={};for(const o in e)e[o].syntax&&(r[o]=n?e[o].syntax:Va(e[o].syntax,{compact:t}));return r}function jl(e,t,n){const r={};for(const[o,i]of Object.entries(e))r[o]={prelude:i.prelude&&(n?i.prelude.syntax:Va(i.prelude.syntax,{compact:t})),descriptors:i.descriptors&&El(i.descriptors,t,n)};return r}function Il(e,t,n){return{matched:e,iterations:n,error:t,...xl}}function Pl(e,t,n,r){const o=tl(n,e.syntax);let i;return function(e){for(let t=0;t<e.length;t++)if("var("===e[t].value.toLowerCase())return!0;return!1}(o)?Il(null,new Error("Matching for a tree with var() is not supported")):(r&&(i=yl(o,e.cssWideKeywordsSyntax,e)),r&&i.match||(i=yl(o,t.match,e),i.match)?Il(i.match,null,i.iterations):Il(null,new Xa(i.reason,t.syntax,n,i),i.iterations))}class Rl{constructor(e,t,n){if(this.cssWideKeywords=rs,this.syntax=t,this.generic=!1,this.units={...Ns},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=n||function(e){const t={};if(e.node)for(const n in e.node)if(zl.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]=Ll(n,r)}return t}(e),e){if(e.cssWideKeywords&&(this.cssWideKeywords=e.cssWideKeywords),e.units)for(const t of Object.keys(Ns))Array.isArray(e.units[t])&&(this.units[t]=e.units[t]);if(e.types)for(const[t,n]of Object.entries(e.types))this.addType_(t,n);if(e.generic){this.generic=!0;for(const[e,t]of Object.entries(function(e){return{...js,...Is,...Rs(e),"attr-unit":Ds(e)}}(this.units)))this.addType_(e,t)}if(e.atrules)for(const[t,n]of Object.entries(e.atrules))this.addAtrule_(t,n);if(e.properties)for(const[t,n]of Object.entries(e.properties))this.addProperty_(t,n)}this.cssWideKeywordsSyntax=pl(this.cssWideKeywords.join(" | "))}checkStructure(e){function t(e,t){r.push({node:e,message:t})}const n=this.structure,r=[];return this.syntax.walk(e,function(e){n.hasOwnProperty(e.type)?n[e.type].check(e,t):t(e,"Unknown node type `"+e.type+"`")}),!!r.length&&r}createDescriptor(e,t,n,r=null){const o={type:t,name:n},i={type:t,name:n,parent:r,serializable:"string"==typeof e||e&&"string"==typeof e.type,syntax:null,match:null,matchRef:null};return"function"==typeof e?i.match=pl(e,o):("string"==typeof e?Object.defineProperty(i,"syntax",{get:()=>(Object.defineProperty(i,"syntax",{value:Ys(e)}),i.syntax)}):i.syntax=e,Object.defineProperty(i,"match",{get:()=>(Object.defineProperty(i,"match",{value:pl(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)?pl({...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 Qa("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||Pl(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=Ja(t);return r.descriptors?r.descriptors[o.name]||r.descriptors[o.basename]?void 0:new Qa("Unknown at-rule descriptor",t):new SyntaxError("At-rule `@"+e+"` has no known descriptors")}checkPropertyName(e){if(!this.getProperty(e))return new Qa("Unknown property",e)}matchAtrulePrelude(e,t){const n=this.checkAtrulePrelude(e,t);if(n)return Il(null,n);const r=this.getAtrule(e);return r.prelude?Pl(this,r.prelude,t||"",!1):Il(null,null)}matchAtruleDescriptor(e,t,n){const r=this.checkAtruleDescriptorName(e,t);if(r)return Il(null,r);const o=this.getAtrule(e),i=Ja(t);return Pl(this,o.descriptors[i.name]||o.descriptors[i.basename],n,!1)}matchDeclaration(e){return"Declaration"!==e.type?Il(null,new Error("Not a Declaration node")):this.matchProperty(e.property,e.value)}matchProperty(e,t){if(es(e).custom)return Il(null,new Error("Lexer matching doesn't applicable for custom properties"));const n=this.checkPropertyName(e);return n?Il(null,n):Pl(this,this.getProperty(e),t,!0)}matchType(e,t){const n=this.getType(e);return n?Pl(this,n,t,!1):Il(null,new Qa("Unknown type",e))}match(e,t){return"string"==typeof e||e&&e.type?("string"!=typeof e&&e.match||(e=this.createDescriptor(e,"Type","anonymous")),Pl(this,e,t,!1)):Il(null,new Qa("Bad syntax"))}findValueFragments(e,t,n,r){return Cl(this,t,this.matchProperty(e,t),n,r)}findDeclarationValueFragments(e,t,n){return Cl(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=Ja(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=es(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&&function(e,t,n){let r=Zs,o=Zs;if("function"==typeof t?r=t:t&&(r=Js(t.enter),o=Js(t.leave)),r===Zs&&o===Zs)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)}(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:El(this.types,!t,e),properties:El(this.properties,!t,e),atrules:jl(this.atrules,!t,e)}}toString(){return JSON.stringify(this.dump())}}function Dl(e,t){return"string"==typeof t&&/^\s*\|/.test(t)?"string"==typeof e?e+t:t.replace(/^\s*\|\s*/,""):t||null}function Nl(e,t){const n=Object.create(null);for(const r of Object.keys(e))t.includes(r)&&(n[r]=e[r]);return n}function Ml(e,t,n){const r={...e};for(const[e,o]of Object.entries(t))r[e]={...r[e],...n?Nl(o,n):o};return r}function Fl(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?Dl(i.prelude,t.prelude):i.prelude||null;for(const[e,n]of Object.entries(t.descriptors||{}))i.descriptors[e]=n?Dl(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]=Dl(n[r][e],t);break;case"parseContext":n[r]={...e[r],...o};break;case"scope":case"features":n[r]=Ml(e[r],o);break;case"atrule":case"pseudo":n[r]=Ml(e[r],o,["parse"]);break;case"node":n[r]=Ml(e[r],o,["name","structure","parse","generate","walkContext"])}return n}function ql(e){const t=la(e),n=Wa(e),r=Pa(e),{fromPlainObject:o,toPlainObject:i}=function(e){return{fromPlainObject:t=>(e(t,{enter(e){e.children&&e.children instanceof Yi==0&&(e.children=(new Yi).fromArray(e.children))}}),t),toPlainObject:t=>(e(t,{leave(e){e.children&&e.children instanceof Yi&&(e.children=e.children.toArray())}}),t)}}(n),a={lexer:null,createLexer:e=>new Rl(e,a,a.lexer.structure),tokenize:Qi,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:o,toPlainObject:i,fork(t){const n=Fl({},e);return ql("function"==typeof t?t(n):Fl(n,t))}};return a.lexer=new Rl({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}const Bl=43,Wl=45,$l=110,Ul=!0;function Vl(e,t){let n=this.tokenStart+e;const r=this.charCodeAt(n);for(r!==Bl&&r!==Wl||(t&&this.error("Number sign is not allowed"),n++);n<this.tokenEnd;n++)di(this.charCodeAt(n))||this.error("Integer is expected",n)}function Hl(e){return Vl.call(this,0,e)}function Gl(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n="";switch(t){case $l:n="N is expected";break;case Wl:n="HyphenMinus is expected"}this.error(n,this.tokenStart+e)}}function Kl(){let e=0,t=0,n=this.tokenType;for(;n===ti||n===pi;)n=this.lookupType(++e);if(n!==Zo){if(!this.isDelim(Bl,e)&&!this.isDelim(Wl,e))return null;t=this.isDelim(Bl,e)?Bl:Wl;do{n=this.lookupType(++e)}while(n===ti||n===pi);n!==Zo&&(this.skip(e),Hl.call(this,Ul))}return e>0&&this.skip(e),0===t&&(n=this.charCodeAt(this.tokenStart),n!==Bl&&n!==Wl&&this.error("Number sign is expected")),Hl.call(this,0!==t),t===Wl?"-"+this.consume(Zo):this.consume(Zo)}const Ql={a:[String,null],b:[String,null]};function Xl(){const e=this.tokenStart;let t=null,n=null;if(this.tokenType===Zo)Hl.call(this,false),n=this.consume(Zo);else if(1===this.tokenType&&this.cmpChar(this.tokenStart,Wl))switch(t="-1",Gl.call(this,1,$l),this.tokenEnd-this.tokenStart){case 2:this.next(),n=Kl.call(this);break;case 3:Gl.call(this,2,Wl),this.next(),this.skipSC(),Hl.call(this,Ul),n="-"+this.consume(Zo);break;default:Gl.call(this,2,Wl),Vl.call(this,3,Ul),this.next(),n=this.substrToCursor(e+2)}else if(1===this.tokenType||this.isDelim(Bl)&&1===this.lookupType(1)){let r=0;switch(t="1",this.isDelim(Bl)&&(r=1,this.next()),Gl.call(this,0,$l),this.tokenEnd-this.tokenStart){case 1:this.next(),n=Kl.call(this);break;case 2:Gl.call(this,1,Wl),this.next(),this.skipSC(),Hl.call(this,Ul),n="-"+this.consume(Zo);break;default:Gl.call(this,1,Wl),Vl.call(this,2,Ul),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===ei){const r=this.charCodeAt(this.tokenStart),o=r===Bl||r===Wl;let i=this.tokenStart+o;for(;i<this.tokenEnd&&di(this.charCodeAt(i));i++);i===this.tokenStart+o&&this.error("Integer is expected",this.tokenStart+o),Gl.call(this,i-this.tokenStart,$l),t=this.substring(e,i),i+1===this.tokenEnd?(this.next(),n=Kl.call(this)):(Gl.call(this,i-this.tokenStart+1,Wl),i+2===this.tokenEnd?(this.next(),this.skipSC(),Hl.call(this,Ul),n="-"+this.consume(Zo)):(Vl.call(this,i-this.tokenStart+2,Ul),this.next(),n=this.substrToCursor(i+1)))}else this.error();return null!==t&&t.charCodeAt(0)===Bl&&(t=t.substr(1)),null!==n&&n.charCodeAt(0)===Bl&&(n=n.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:n}}var Yl=Object.freeze({__proto__:null,generate:function(e){if(e.a){const t=("+1"===e.a||"1"===e.a?"n":"-1"===e.a&&"-n")||e.a+"n";if(e.b){const n="-"===e.b[0]||"+"===e.b[0]?e.b:"+"+e.b;this.tokenize(t+n)}else this.tokenize(t)}else this.tokenize(e.b)},name:"AnPlusB",parse:Xl,structure:Ql});function Zl(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function Jl(){for(let e,t=1;e=this.lookupType(t);t++){if(e===hi)return!0;if(e===ui||3===e)return!1}return!1}const ec={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function tc(e=!1){const t=this.tokenStart;let n,r,o=null,i=null;switch(this.eat(3),n=this.substrToCursor(t+1),r=n.toLowerCase(),this.skipSC(),!1===this.eof&&this.tokenType!==ui&&this.tokenType!==oi&&(o=this.parseAtrulePrelude?this.parseWithFallback(this.AtrulePrelude.bind(this,n,e),Zl):Zl.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case oi:this.next();break;case ui:i=hasOwnProperty.call(this.atrule,r)&&"function"==typeof this.atrule[r].block?this.atrule[r].block.call(this,e):this.Block(Jl.call(this))}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:n,prelude:o,block:i}}var nc=Object.freeze({__proto__:null,generate:function(e){this.token(3,"@"+e.name),null!==e.prelude&&this.node(e.prelude),e.block?this.node(e.block):this.token(oi,";")},name:"Atrule",parse:tc,structure:ec,walkContext:"atrule"});function rc(e){let t=null;return null!==e&&(e=e.toLowerCase()),this.skipSC(),t=hasOwnProperty.call(this.atrule,e)&&"function"==typeof this.atrule[e].prelude?this.atrule[e].prelude.call(this):this.readSequence(this.scope.AtrulePrelude),this.skipSC(),!0!==this.eof&&this.tokenType!==ui&&this.tokenType!==oi&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}var oc=Object.freeze({__proto__:null,generate:function(e){this.children(e)},name:"AtrulePrelude",parse:rc,structure:{children:[[]]},walkContext:"atrulePrelude"});function ic(){this.eof&&this.error("Unexpected end of input");const e=this.tokenStart;let t=!1;return this.isDelim(42)?(t=!0,this.next()):this.isDelim(124)||this.eat(1),this.isDelim(124)?61!==this.charCodeAt(this.tokenStart+1)?(this.next(),this.eat(1)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function ac(){const e=this.tokenStart,t=this.charCodeAt(e);return 61!==t&&126!==t&&94!==t&&36!==t&&42!==t&&124!==t&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),61!==t&&(this.isDelim(61)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}const sc={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function lc(){const e=this.tokenStart;let t,n=null,r=null,o=null;return this.eat(ai),this.skipSC(),t=ic.call(this),this.skipSC(),this.tokenType!==si&&(1!==this.tokenType&&(n=ac.call(this),this.skipSC(),r=5===this.tokenType?this.String():this.Identifier(),this.skipSC()),1===this.tokenType&&(o=this.consume(1),this.skipSC())),this.eat(si),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:n,value:r,flags:o}}var cc=Object.freeze({__proto__:null,generate:function(e){this.token(9,"["),this.node(e.name),null!==e.matcher&&(this.tokenize(e.matcher),this.node(e.value)),null!==e.flags&&this.token(1,e.flags),this.token(9,"]")},name:"AttributeSelector",parse:lc,structure:sc});function uc(){return this.Raw(null,!0)}function hc(){return this.parseWithFallback(this.Rule,uc)}function pc(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function dc(){if(this.tokenType===oi)return pc.call(this,this.tokenIndex);const e=this.parseWithFallback(this.Declaration,pc);return this.tokenType===oi&&this.next(),e}function fc(e){const t=e?dc:hc,n=this.tokenStart;let r=this.createList();this.eat(ui);e:for(;!this.eof;)switch(this.tokenType){case hi:break e;case ti:case pi:this.next();break;case 3:r.push(this.parseWithFallback(this.Atrule.bind(this,e),uc));break;default:e&&this.isDelim(38)?r.push(hc.call(this)):r.push(t.call(this))}return this.eof||this.eat(hi),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}var mc=Object.freeze({__proto__:null,generate:function(e){this.token(ui,"{"),this.children(e,e=>{"Declaration"===e.type&&this.token(oi,";")}),this.token(hi,"}")},name:"Block",parse:fc,structure:{children:[["Atrule","Rule","Declaration"]]},walkContext:"block"});function gc(e,t){const n=this.tokenStart;let r=null;return this.eat(ai),r=e.call(this,t),this.eof||this.eat(si),{type:"Brackets",loc:this.getLocation(n,this.tokenStart),children:r}}var bc=Object.freeze({__proto__:null,generate:function(e){this.token(9,"["),this.children(e),this.token(9,"]")},name:"Brackets",parse:gc,structure:{children:[[]]}});function yc(){const e=this.tokenStart;return this.eat(ni),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}var kc=Object.freeze({__proto__:null,generate:function(){this.token(ni,"--\x3e")},name:"CDC",parse:yc,structure:[]});function vc(){const e=this.tokenStart;return this.eat(14),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}var xc=Object.freeze({__proto__:null,generate:function(){this.token(14,"\x3c!--")},name:"CDO",parse:vc,structure:[]});const wc={name:String};function Sc(){return this.eatDelim(46),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}var Cc=Object.freeze({__proto__:null,generate:function(e){this.token(9,"."),this.token(1,e.name)},name:"ClassSelector",parse:Sc,structure:wc});const zc={name:String};function Ac(){const e=this.tokenStart;let t;switch(this.tokenType){case ti:t=" ";break;case 9:switch(this.charCodeAt(this.tokenStart)){case 62:case 43:case 126:this.next();break;case 47:this.next(),this.eatIdent("deep"),this.eatDelim(47);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e)}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}var _c=Object.freeze({__proto__:null,generate:function(e){this.tokenize(e.name)},name:"Combinator",parse:Ac,structure:zc});const Tc={value:String};function Oc(){const e=this.tokenStart;let t=this.tokenEnd;return this.eat(pi),t-e+2>=2&&42===this.charCodeAt(t-2)&&47===this.charCodeAt(t-1)&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}var Lc=Object.freeze({__proto__:null,generate:function(e){this.token(pi,"/*"+e.value+"*/")},name:"Comment",parse:Oc,structure:Tc});const Ec=new Set([ri,ci,0]),jc={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]};function Ic(e){return 1===this.lookupTypeNonSC(1)&&Ec.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}const Pc={media:Ic,container:Ic,supports(){return this.SupportsDeclaration()}};function Rc(e="media"){const t=this.createList();e:for(;!this.eof;)switch(this.tokenType){case pi:case ti:this.next();continue;case 1:t.push(this.Identifier());break;case li:{let n=this.parseWithFallback(()=>Pc[e].call(this,e),()=>null);n||(n=this.parseWithFallback(()=>{this.eat(li);const t=this.Condition(e);return this.eat(ci),t},()=>this.GeneralEnclosed(e))),t.push(n);break}case 2:{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}}var Dc=Object.freeze({__proto__:null,generate:function(e){e.children.forEach(e=>{"Condition"===e.type?(this.token(li,"("),this.node(e),this.token(ci,")")):this.node(e)})},name:"Condition",parse:Rc,structure:jc});function Nc(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function Mc(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function Fc(){const e=this.tokenIndex,t=this.Value();return"Raw"!==t.type&&!1===this.eof&&this.tokenType!==oi&&!1===this.isDelim(33)&&!1===this.isBalanceEdge(e)&&this.error(),t}const qc={important:[Boolean,String],property:String,value:["Value","Raw"]};function Bc(){const e=this.tokenStart,t=this.tokenIndex,n=Wc.call(this),r=ts(n),o=r?this.parseCustomProperty:this.parseValue,i=r?Mc:Nc;let a,s=!1;this.skipSC(),this.eat(ri);const l=this.tokenIndex;if(r||this.skipSC(),a=o?this.parseWithFallback(Fc,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)===ti){a.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}return this.isDelim(33)&&(s=$c.call(this),this.skipSC()),!1===this.eof&&this.tokenType!==oi&&!1===this.isBalanceEdge(t)&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:s,property:n,value:a}}function Wc(){const e=this.tokenStart;if(9===this.tokenType)switch(this.charCodeAt(this.tokenStart)){case 42:case 36:case 43:case 35:case 38:this.next();break;case 47:this.next(),this.isDelim(47)&&this.next()}return 4===this.tokenType?this.eat(4):this.eat(1),this.substrToCursor(e)}function $c(){this.eat(9),this.skipSC();const e=this.consume(1);return"important"===e||e}var Uc=Object.freeze({__proto__:null,generate:function(e){this.token(1,e.property),this.token(ri,":"),this.node(e.value),e.important&&(this.token(9,"!"),this.token(1,!0===e.important?"important":e.important))},name:"Declaration",parse:Bc,structure:qc,walkContext:"declaration"});function Vc(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function Hc(){const e=this.createList();for(;!this.eof;)switch(this.tokenType){case ti:case pi:case oi:this.next();break;case 3:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),Vc));break;default:this.isDelim(38)?e.push(this.parseWithFallback(this.Rule,Vc)):e.push(this.parseWithFallback(this.Declaration,Vc))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}var Gc=Object.freeze({__proto__:null,generate:function(e){this.children(e,e=>{"Declaration"===e.type&&this.token(oi,";")})},name:"DeclarationList",parse:Hc,structure:{children:[["Declaration","Atrule","Rule"]]}});const Kc={value:String,unit:String};function Qc(){const e=this.tokenStart,t=this.consumeNumber(ei);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}var Xc=Object.freeze({__proto__:null,generate:function(e){this.token(ei,e.value+e.unit)},name:"Dimension",parse:Qc,structure:Kc});const Yc={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]};function Zc(e){const t=this.tokenStart;let n,r=null;if(this.eat(li),this.skipSC(),n=this.consume(1),this.skipSC(),this.tokenType!==ci){switch(this.eat(ri),this.skipSC(),this.tokenType){case Zo:r=9===this.lookupNonWSType(1)?this.Ratio():this.Number();break;case ei:r=this.Dimension();break;case 1:r=this.Identifier();break;case 2:r=this.parseWithFallback(()=>{const e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(47)&&this.error(),e},()=>this.Ratio());break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eof||this.eat(ci),{type:"Feature",loc:this.getLocation(t,this.tokenStart),kind:e,name:n,value:r}}var Jc=Object.freeze({__proto__:null,generate:function(e){this.token(li,"("),this.token(1,e.name),null!==e.value&&(this.token(ri,":"),this.node(e.value)),this.token(ci,")")},name:"Feature",parse:Zc,structure:Yc});const eu={kind:String,feature:String,value:["Declaration","Selector"]};function tu(e,t){const n=(this.features[e]||{})[t];return"function"!=typeof n&&this.error(`Unknown feature ${t}()`),n}function nu(e="unknown"){const t=this.tokenStart,n=this.consumeFunctionName(),r=tu.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(ci),{type:"FeatureFunction",loc:this.getLocation(t,this.tokenStart),kind:e,feature:n,value:o}}var ru=Object.freeze({__proto__:null,generate:function(e){this.token(2,e.feature+"("),this.node(e.value),this.token(ci,")")},name:"FeatureFunction",parse:nu,structure:eu});const ou={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 iu(){switch(this.skipSC(),this.tokenType){case Zo:return this.isDelim(47,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case ei:return this.Dimension();case 1:return this.Identifier();case 2:return this.parseWithFallback(()=>{const e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(47)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function au(e){if(this.skipSC(),this.isDelim(60)||this.isDelim(62)){const e=this.source[this.tokenStart];return this.next(),this.isDelim(61)?(this.next(),e+"="):e}if(this.isDelim(61))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function su(e="unknown"){const t=this.tokenStart;this.skipSC(),this.eat(li);const n=iu.call(this),r=au.call(this,"Identifier"===n.type),o=iu.call(this);let i=null,a=null;return this.lookupNonWSType(0)!==ci&&(i=au.call(this),a=iu.call(this)),this.skipSC(),this.eat(ci),{type:"FeatureRange",loc:this.getLocation(t,this.tokenStart),kind:e,left:n,leftComparison:r,middle:o,rightComparison:i,right:a}}var lu=Object.freeze({__proto__:null,generate:function(e){this.token(li,"("),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(ci,")")},name:"FeatureRange",parse:su,structure:ou});const cu={name:String,children:[[]]};function uu(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(ci),{type:"Function",loc:this.getLocation(n,this.tokenStart),name:r,children:i}}var hu=Object.freeze({__proto__:null,generate:function(e){this.token(2,e.name+"("),this.children(e),this.token(ci,")")},name:"Function",parse:uu,structure:cu,walkContext:"function"});const pu={kind:String,function:[String,null],children:[[]]};function du(e){const t=this.tokenStart;let n=null;2===this.tokenType?n=this.consumeFunctionName():this.eat(li);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(ci),{type:"GeneralEnclosed",loc:this.getLocation(t,this.tokenStart),kind:e,function:n,children:r}}var fu=Object.freeze({__proto__:null,generate:function(e){e.function?this.token(2,e.function+"("):this.token(li,"("),this.children(e),this.token(ci,")")},name:"GeneralEnclosed",parse:du,structure:pu});const mu={value:String};function gu(){const e=this.tokenStart;return this.eat(4),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}var bu=Object.freeze({__proto__:null,generate:function(e){this.token(4,"#"+e.value)},name:"Hash",parse:gu,structure:mu,xxx:"XXX"});const yu={name:String};function ku(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}var vu=Object.freeze({__proto__:null,generate:function(e){this.token(1,e.name)},name:"Identifier",parse:ku,structure:yu});const xu={name:String};function wu(){const e=this.tokenStart;return this.eat(4),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}var Su=Object.freeze({__proto__:null,generate:function(e){this.token(9,"#"+e.name)},name:"IdSelector",parse:wu,structure:xu});const Cu={name:String};function zu(){let e=this.tokenStart,t=this.consume(1);for(;this.isDelim(46);)this.eat(9),t+="."+this.consume(1);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}var Au=Object.freeze({__proto__:null,generate:function(e){this.tokenize(e.name)},name:"Layer",parse:zu,structure:Cu});function _u(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),this.lookupTypeNonSC(0)===ii);)this.skipSC(),this.next(),this.skipSC();return{type:"LayerList",loc:this.getLocationFromList(e),children:e}}var Tu=Object.freeze({__proto__:null,generate:function(e){this.children(e,()=>this.token(ii,","))},name:"LayerList",parse:_u,structure:{children:[["Layer"]]}});const Ou={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]};function Lu(){const e=this.tokenStart;let t=null,n=null,r=null;if(this.skipSC(),1===this.tokenType&&this.lookupTypeNonSC(1)!==li){const e=this.consume(1),o=e.toLowerCase();switch("not"===o||"only"===o?(this.skipSC(),t=o,n=this.consume(1)):n=e,this.lookupTypeNonSC(0)){case 1:this.skipSC(),this.eatIdent("and"),r=this.Condition("media");break;case ui:case oi:case ii:case 0:break;default:this.error("Identifier or parenthesis is expected")}}else switch(this.tokenType){case 1:case li:case 2:r=this.Condition("media");break;case ui:case oi:case 0:break;default:this.error("Identifier or parenthesis is expected")}return{type:"MediaQuery",loc:this.getLocation(e,this.tokenStart),modifier:t,mediaType:n,condition:r}}var Eu=Object.freeze({__proto__:null,generate:function(e){e.mediaType?(e.modifier&&this.token(1,e.modifier),this.token(1,e.mediaType),e.condition&&(this.token(1,"and"),this.node(e.condition))):e.condition&&this.node(e.condition)},name:"MediaQuery",parse:Lu,structure:Ou});function ju(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===ii);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}var Iu=Object.freeze({__proto__:null,generate:function(e){this.children(e,()=>this.token(ii,","))},name:"MediaQueryList",parse:ju,structure:{children:[["MediaQuery"]]}});function Pu(){const e=this.tokenStart;return this.eatDelim(38),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}var Ru=Object.freeze({__proto__:null,generate:function(){this.token(9,"&")},name:"NestingSelector",parse:Pu,structure:{}});function Du(){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}}var Nu=Object.freeze({__proto__:null,generate:function(e){this.node(e.nth),null!==e.selector&&(this.token(1,"of"),this.node(e.selector))},name:"Nth",parse:Du,structure:{nth:["AnPlusB","Identifier"],selector:["SelectorList",null]}});const Mu={value:String};function Fu(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(Zo)}}var qu=Object.freeze({__proto__:null,generate:function(e){this.token(Zo,e.value)},name:"Number",parse:Fu,structure:Mu});const Bu={value:String};function Wu(){const e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}var $u=Object.freeze({__proto__:null,generate:function(e){this.tokenize(e.value)},name:"Operator",parse:Wu,structure:Bu});function Uu(e,t){const n=this.tokenStart;let r=null;return this.eat(li),r=e.call(this,t),this.eof||this.eat(ci),{type:"Parentheses",loc:this.getLocation(n,this.tokenStart),children:r}}var Vu=Object.freeze({__proto__:null,generate:function(e){this.token(li,"("),this.children(e),this.token(ci,")")},name:"Parentheses",parse:Uu,structure:{children:[[]]}});const Hu={value:String};function Gu(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(Jo)}}var Ku=Object.freeze({__proto__:null,generate:function(e){this.token(Jo,e.value+"%")},name:"Percentage",parse:Gu,structure:Hu});const Qu={name:String,children:[["Raw"],null]};function Xu(){const e=this.tokenStart;let t,n,r=null;return this.eat(ri),2===this.tokenType?(t=this.consumeFunctionName(),n=t.toLowerCase(),this.lookupNonWSType(0)==ci?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(ci)):t=this.consume(1),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:t,children:r}}var Yu=Object.freeze({__proto__:null,generate:function(e){this.token(ri,":"),null===e.children?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(ci,")"))},name:"PseudoClassSelector",parse:Xu,structure:Qu,walkContext:"function"});const Zu={name:String,children:[["Raw"],null]};function Ju(){const e=this.tokenStart;let t,n,r=null;return this.eat(ri),this.eat(ri),2===this.tokenType?(t=this.consumeFunctionName(),n=t.toLowerCase(),this.lookupNonWSType(0)==ci?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(ci)):t=this.consume(1),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:t,children:r}}var eh=Object.freeze({__proto__:null,generate:function(e){this.token(ri,":"),this.token(ri,":"),null===e.children?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(ci,")"))},name:"PseudoElementSelector",parse:Ju,structure:Zu,walkContext:"function"});function th(){switch(this.skipSC(),this.tokenType){case Zo:return this.Number();case 2:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}function nh(){const e=this.tokenStart,t=th.call(this);let n=null;return this.skipSC(),this.isDelim(47)&&(this.eatDelim(47),n=th.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:n}}var rh=Object.freeze({__proto__:null,generate:function(e){this.node(e.left),this.token(9,"/"),e.right?this.node(e.right):this.node(Zo,1)},name:"Ratio",parse:nh,structure:{left:["Number","Function"],right:["Number","Function",null]}});function oh(){return this.tokenIndex>0&&this.lookupType(-1)===ti?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}const ih={value:String};function ah(e,t){const n=this.getTokenStart(this.tokenIndex);let r;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),r=t&&this.tokenStart>n?oh.call(this):this.tokenStart,{type:"Raw",loc:this.getLocation(n,r),value:this.substring(n,r)}}var sh=Object.freeze({__proto__:null,generate:function(e){this.tokenize(e.value)},name:"Raw",parse:ah,structure:ih});function lh(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function ch(){const e=this.SelectorList();return"Raw"!==e.type&&!1===this.eof&&this.tokenType!==ui&&this.error(),e}function uh(){const e=this.tokenIndex,t=this.tokenStart;let n,r;return n=this.parseRulePrelude?this.parseWithFallback(ch,lh):lh.call(this,e),r=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}var hh=Object.freeze({__proto__:null,generate:function(e){this.node(e.prelude),this.node(e.block)},name:"Rule",parse:uh,structure:{prelude:["SelectorList","Raw"],block:["Block"]},walkContext:"rule"});function ph(){let e=null,t=null;this.skipSC();const n=this.tokenStart;return this.tokenType===li&&(this.next(),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(ci)),1===this.lookupNonWSType(0)&&(this.skipSC(),this.eatIdent("to"),this.skipSC(),this.eat(li),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(ci)),{type:"Scope",loc:this.getLocation(n,this.tokenStart),root:e,limit:t}}var dh=Object.freeze({__proto__:null,generate:function(e){e.root&&(this.token(li,"("),this.node(e.root),this.token(ci,")")),e.limit&&(this.token(1,"to"),this.token(li,"("),this.node(e.limit),this.token(ci,")"))},name:"Scope",parse:ph,structure:{root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]}});function fh(){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}}var mh=Object.freeze({__proto__:null,generate:function(e){this.children(e)},name:"Selector",parse:fh,structure:{children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]}});function gh(){const e=this.createList();for(;!this.eof&&(e.push(this.Selector()),this.tokenType===ii);)this.next();return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}var bh=Object.freeze({__proto__:null,generate:function(e){this.children(e,()=>this.token(ii,","))},name:"SelectorList",parse:gh,structure:{children:[["Selector","Raw"]]},walkContext:"selector"});function yh(e){const t=e.length,n=e.charCodeAt(0),r=34===n||39===n?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(92===r){if(n===o){n!==t-1&&(i=e.substr(n+1));break}if(r=e.charCodeAt(++n),xi(92,r)){const t=n-1,r=Pi(e,t);n=r-1,i+=Mi(e.substring(t+1,r))}else 13===r&&10===e.charCodeAt(n+1)&&n++}else i+=e[n]}return i}const kh={value:String};function vh(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:yh(this.consume(5))}}var xh=Object.freeze({__proto__:null,generate:function(e){this.token(5,function(e){let t="",n=!1;for(let r=0;r<e.length;r++){const o=e.charCodeAt(r);0!==o?o<=31||127===o?(t+="\\"+o.toString(16),n=!0):34===o||92===o?(t+="\\"+e.charAt(r),n=!1):(n&&(fi(o)||vi(o))&&(t+=" "),t+=e.charAt(r),n=!1):t+="�"}return'"'+t+'"'}(e.value))},name:"String",parse:vh,structure:kh});function wh(){return this.Raw(null,!1)}function Sh(){const e=this.tokenStart,t=this.createList();let n;for(;!this.eof;){switch(this.tokenType){case ti:this.next();continue;case pi:if(33!==this.charCodeAt(this.tokenStart+2)){this.next();continue}n=this.Comment();break;case 14:n=this.CDO();break;case ni:n=this.CDC();break;case 3:n=this.parseWithFallback(this.Atrule,wh);break;default:n=this.parseWithFallback(this.Rule,wh)}t.push(n)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}var Ch=Object.freeze({__proto__:null,generate:function(e){this.children(e)},name:"StyleSheet",parse:Sh,structure:{children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]},walkContext:"stylesheet"});function zh(){const e=this.tokenStart;this.eat(li),this.skipSC();const t=this.Declaration();return this.eof||this.eat(ci),{type:"SupportsDeclaration",loc:this.getLocation(e,this.tokenStart),declaration:t}}var Ah=Object.freeze({__proto__:null,generate:function(e){this.token(li,"("),this.node(e.declaration),this.token(ci,")")},name:"SupportsDeclaration",parse:zh,structure:{declaration:"Declaration"}});function _h(){1!==this.tokenType&&!1===this.isDelim(42)&&this.error("Identifier or asterisk is expected"),this.next()}const Th={name:String};function Oh(){const e=this.tokenStart;return this.isDelim(124)?(this.next(),_h.call(this)):(_h.call(this),this.isDelim(124)&&(this.next(),_h.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}var Lh=Object.freeze({__proto__:null,generate:function(e){this.tokenize(e.name)},name:"TypeSelector",parse:Oh,structure:Th});function Eh(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){const o=this.charCodeAt(r);if(45===o&&t&&0!==n)return Eh.call(this,e+n+1,!1),-1;fi(o)||this.error(t&&0!==n?"Hyphen minus"+(n<6?" or hex digit":"")+" is expected":n<6?"Hex digit is expected":"Unexpected input",r),++n>6&&this.error("Too many hex digits",r)}return this.next(),n}function jh(e){let t=0;for(;this.isDelim(63);)++t>e&&this.error("Too many question marks"),this.next()}function Ih(e){this.charCodeAt(this.tokenStart)!==e&&this.error((43===e?"Plus sign":"Hyphen minus")+" is expected")}function Ph(){let e=0;switch(this.tokenType){case Zo:if(e=Eh.call(this,1,!0),this.isDelim(63)){jh.call(this,6-e);break}if(this.tokenType===ei||this.tokenType===Zo){Ih.call(this,45),Eh.call(this,1,!1);break}break;case ei:e=Eh.call(this,1,!0),e>0&&jh.call(this,6-e);break;default:if(this.eatDelim(43),1===this.tokenType){e=Eh.call(this,0,!0),e>0&&jh.call(this,6-e);break}if(this.isDelim(63)){this.next(),jh.call(this,5);break}this.error("Hex digit or question mark is expected")}}const Rh={value:String};function Dh(){const e=this.tokenStart;return this.eatIdent("u"),Ph.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}var Nh=Object.freeze({__proto__:null,generate:function(e){this.tokenize(e.value)},name:"UnicodeRange",parse:Dh,structure:Rh});const Mh={value:String};function Fh(){const e=this.tokenStart;let t;switch(this.tokenType){case 7:t=function(e){const t=e.length;let n=4,r=41===e.charCodeAt(t-1)?t-2:t-1,o="";for(;n<r&&vi(e.charCodeAt(n));)n++;for(;n<r&&vi(e.charCodeAt(r));)r--;for(let i=n;i<=r;i++){let n=e.charCodeAt(i);if(92===n){if(i===r){i!==t-1&&(o=e.substr(i+1));break}if(n=e.charCodeAt(++i),xi(92,n)){const t=i-1,n=Pi(e,t);i=n-1,o+=Mi(e.substring(t+1,n))}else 13===n&&10===e.charCodeAt(i+1)&&i++}else o+=e[i]}return o}(this.consume(7));break;case 2:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(2),this.skipSC(),t=yh(this.consume(5)),this.skipSC(),this.eof||this.eat(ci);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}var qh=Object.freeze({__proto__:null,generate:function(e){this.token(7,function(e){let t="",n=!1;for(let r=0;r<e.length;r++){const o=e.charCodeAt(r);0!==o?o<=31||127===o?(t+="\\"+o.toString(16),n=!0):32===o||92===o||34===o||39===o||40===o||41===o?(t+="\\"+e.charAt(r),n=!1):(n&&fi(o)&&(t+=" "),t+=e.charAt(r),n=!1):t+="�"}return"url("+t+")"}(e.value))},name:"Url",parse:Fh,structure:Mh});function Bh(){const e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}var Wh=Object.freeze({__proto__:null,generate:function(e){this.children(e)},name:"Value",parse:Bh,structure:{children:[[]]}});const $h=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),Uh={value:String};function Vh(){return this.eat(ti),$h}var Hh=Object.freeze({__proto__:null,generate:function(e){this.token(ti,e.value)},name:"WhiteSpace",parse:Vh,structure:Uh}),Gh=Object.freeze({__proto__:null,AnPlusB:Yl,Atrule:nc,AtrulePrelude:oc,AttributeSelector:cc,Block:mc,Brackets:bc,CDC:kc,CDO:xc,ClassSelector:Cc,Combinator:_c,Comment:Lc,Condition:Dc,Declaration:Uc,DeclarationList:Gc,Dimension:Xc,Feature:Jc,FeatureFunction:ru,FeatureRange:lu,Function:hu,GeneralEnclosed:fu,Hash:bu,IdSelector:Su,Identifier:vu,Layer:Au,LayerList:Tu,MediaQuery:Eu,MediaQueryList:Iu,NestingSelector:Ru,Nth:Nu,Number:qu,Operator:$u,Parentheses:Vu,Percentage:Ku,PseudoClassSelector:Yu,PseudoElementSelector:eh,Ratio:rh,Raw:sh,Rule:hh,Scope:dh,Selector:mh,SelectorList:bh,String:xh,StyleSheet:Ch,SupportsDeclaration:Ah,TypeSelector:Lh,UnicodeRange:Nh,Url:qh,Value:Wh,WhiteSpace:Hh}),Kh={generic:!0,cssWideKeywords:rs,generic:!0,cssWideKeywords:["initial","inherit","unset","revert","revert-layer"],units:{angle:["deg","grad","rad","turn"],decibel:["db"],flex:["fr"],frequency:["hz","khz"],length:["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],resolution:["dpi","dpcm","dppx","x"],semitones:["st"],time:["s","ms"]},types:{"abs()":"abs( <calc-sum> )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( <calc-sum> )","alpha-value":"<number>|<percentage>","an+b":"odd|even|<integer>|<n-dimension>|'+'? † n|-n|<ndashdigit-dimension>|'+'? † <ndashdigit-ident>|<dashndashdigit-ident>|<n-dimension> <signed-integer>|'+'? † n <signed-integer>|-n <signed-integer>|<ndash-dimension> <signless-integer>|'+'? † n- <signless-integer>|-n- <signless-integer>|<n-dimension> ['+'|'-'] <signless-integer>|'+'? † n ['+'|'-'] <signless-integer>|-n ['+'|'-'] <signless-integer>","anchor()":"anchor( <anchor-name>?&&<anchor-side> , <length-percentage>? )","anchor-name":"<dashed-ident>","anchor-side":"inside|outside|top|left|right|bottom|start|end|self-start|self-end|<percentage>|center","anchor-size":"width|height|block|inline|self-block|self-inline","anchor-size()":"anchor-size( [<anchor-name>||<anchor-size>]? , <length-percentage>? )","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>|<zero>","angular-color-stop":"<color> <color-stop-angle>?","angular-color-stop-list":"<angular-color-stop> , [<angular-color-hint>? , <angular-color-stop>]#?","animateable-feature":"scroll-position|contents|<custom-ident>","animation-action":"none|play|play-once|play-forwards|play-backwards|pause|reset|replay","asin()":"asin( <calc-sum> )","atan()":"atan( <calc-sum> )","atan2()":"atan2( <calc-sum> , <calc-sum> )",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <attr-type>? , <declaration-value>? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attr-type":"type( <syntax> )|raw-string|number|<attr-unit>","attribute-selector":"'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?",axis:"block|inline|x|y","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<xywh()>|<rect()>|<circle()>|<ellipse()>|<polygon()>|<path()>","basic-shape-rect":"<inset()>|<rect()>|<xywh()>","bg-clip":"<visual-box>|border-area|text","bg-image":"<image>|none","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>","bg-position":"[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]","bg-size":"[<length-percentage [0,∞]>|auto]{1,2}|cover|contain","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity","blur()":"blur( <length>? )","brightness()":"brightness( [<number>|<percentage>]? )","calc()":"calc( <calc-sum> )","calc-constant":"e|pi|infinity|-infinity|NaN","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-size()":"calc-size( <calc-size-basis> , <calc-sum> )","calc-size-basis":"<intrinsic-size-keyword>|<calc-size()>|any|<calc-sum>","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-value":"<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( <radial-size>? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<color-base>|currentColor|<system-color>|<device-cmyk()>|<light-dark()>|<-non-standard-color>","color()":"color( <colorspace-params> [/ [<alpha-value>|none]]? )","color-base":"<hex-color>|<color-function>|<named-color>|<color-mix()>|transparent","color-function":"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>","color-interpolation-method":"in [<rectangular-color-space>|<polar-color-space> <hue-interpolation-method>?|<custom-color-space>]","color-mix()":"color-mix( <color-interpolation-method> , [<color>&&<percentage [0,100]>?]#{2} )","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"[<angle-percentage>|<zero>]{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"<linear-color-stop> , [<linear-color-hint>? , <linear-color-stop>]#?","colorspace-params":"[<predefined-rgb-params>|<xyz-params>]",combinator:"'>'|'+'|'~'|['|' '|']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|checkbox|radio|menulist|listbox|meter|progress-bar|button","compat-special":"textfield|menulist-button","complex-selector":"<complex-selector-unit> [<combinator>? <complex-selector-unit>]*","complex-selector-list":"<complex-selector>#","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":"[<type-selector>? <subclass-selector>*]!","compound-selector-list":"<compound-selector>#","conic-gradient()":"conic-gradient( [<conic-gradient-syntax>] )","conic-gradient-syntax":"[[[from [<angle>|<zero>]]? [at <position>]?]||<color-interpolation-method>]? , <angular-color-stop-list>","container-condition":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","container-name":"<custom-ident>","container-query":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"<image>","contextual-alt-values":"[contextual|no-contextual]","contrast()":"contrast( [<number>|<percentage>]? )","coord-box":"content-box|padding-box|border-box|fill-box|stroke-box|view-box","corner-shape-value":"round|scoop|bevel|notch|square|squircle|<superellipse()>","cos()":"cos( <calc-sum> )",counter:"<counter()>|<counters()>","counter()":"counter( <counter-name> , <counter-style>? )","counter-name":"<custom-ident>","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <counter-name> , <string> , <counter-style>? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier()":"cubic-bezier( [<number [0,1]> , <number>]#{2} )","cubic-bezier-easing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","cursor-predefined":"auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing","custom-color-space":"<dashed-ident>","custom-params":"<dashed-ident> [<number>|<percentage>|none]+",dasharray:"[[<length-percentage>|<number>]+]#","dashndashdigit-ident":"<ident-token>","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonHighlight|ButtonShadow|CaptionText|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":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( [<color>?&&<length>{2,3}] )","dynamic-range-limit-mix()":"dynamic-range-limit-mix( [<'dynamic-range-limit'>&&<percentage [0,100]>]#{2,} )","easing-function":"<linear-easing-function>|<cubic-bezier-easing-function>|<step-easing-function>","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )","ellipse()":"ellipse( <radial-size>? [at <position>]? )","env()":"env( <custom-ident> , <declaration-value>? )","exp()":"exp( <calc-sum> )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-value-list":"[<filter-function>|<url>]+","final-bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>||<'background-color'>","fit-content()":"fit-content( <length-percentage [0,∞]> )","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <fixed-size>]+ <line-names>? )","fixed-size":"<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>","font-variant-css2":"normal|small-caps","font-weight-absolute":"normal|bold|<number [1,1000]>","font-width-css3":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","form-control-identifier":"select","frequency-percentage":"<frequency>|<percentage>","generic-complete":"serif|sans-serif|system-ui|cursive|fantasy|math|monospace","general-enclosed":"[<function-token> <any-value>? )]|[( <any-value>? )]","generic-family":"<generic-script-specific>|<generic-complete>|<generic-incomplete>|<-non-standard-generic-family>","generic-incomplete":"ui-serif|ui-sans-serif|ui-monospace|ui-rounded","geometry-box":"<shape-box>|fill-box|stroke-box|view-box",gradient:"<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>","grayscale()":"grayscale( [<number>|<percentage>]? )","grid-line":"auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsl( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","hsla()":"hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsla( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )",hue:"<number>|<angle>","hue-interpolation-method":"[shorter|longer|increasing|decreasing] hue","hue-rotate()":"hue-rotate( [<angle>|<zero>]? )","hwb()":"hwb( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","hypot()":"hypot( <calc-sum># )",image:"<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] [<resolution>||type( <string> )]","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length-percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <'border-radius'>]? )","invert()":"invert( [<number>|<percentage>]? )","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-selector":"from|to|<percentage [0,100]>|<timeline-range-name> <percentage>","keyframes-name":"<custom-ident>|<string>","lab()":"lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","layer()":"layer( <layer-name> )","layer-name":"<ident> ['.' <ident>]*","lch()":"lch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","leader()":"leader( <leader-type> )","leader-type":"dotted|solid|space|<string>","length-percentage":"<length>|<percentage>","light-dark()":"light-dark( <color> , <color> )","line-name-list":"[<line-names>|<name-repeat>]+","line-names":"'[' <custom-ident>* ']'","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear()":"linear( [<number>&&<percentage>{0,2}]# )","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-easing-function":"linear|<linear()>","linear-gradient()":"linear-gradient( [<linear-gradient-syntax>] )","linear-gradient-syntax":"[[<angle>|<zero>|to <side-or-corner>]||<color-interpolation-method>]? , <color-stop-list>","log()":"log( <calc-sum> , <calc-sum>? )","mask-layer":"<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>","mask-position":"[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?","mask-reference":"none|<image>|<mask-source>","mask-source":"<url>","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [and <media-in-parens>]+","media-condition":"<media-not>|<media-and>|<media-or>|<media-in-parens>","media-condition-without-or":"<media-not>|<media-and>|<media-in-parens>","media-feature":"( [<mf-plain>|<mf-boolean>|<mf-range>] )","media-in-parens":"( <media-condition> )|<media-feature>|<general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [or <media-in-parens>]+","media-query":"<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> ['<'|'>']? '='? <mf-value>|<mf-value> ['<'|'>']? '='? <mf-name>|<mf-value> '<' '='? <mf-name> '<' '='? <mf-value>|<mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number>|<dimension>|<ident>|<ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [<length-percentage>|min-content|max-content|auto] , [<length-percentage>|<flex>|min-content|max-content|auto] )","mod()":"mod( <calc-sum> , <calc-sum> )","n-dimension":"<dimension-token>","name-repeat":"repeat( [<integer [1,∞]>|auto-fill] , <line-names>+ )","named-color":"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":"<ident>","ndash-dimension":"<dimension-token>","ndashdigit-dimension":"<dimension-token>","ndashdigit-ident":"<ident-token>","ns-prefix":"[<ident-token>|'*']? '|'","number-percentage":"<number>|<percentage>","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]","offset-path":"<ray()>|<url>|<basic-shape>","oklab()":"oklab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","oklch()":"oklch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","opacity()":"opacity( [<number>|<percentage>]? )","opacity-value":"<number>|<percentage>","outline-line-style":"none|dotted|dashed|solid|double|groove|ridge|inset|outset","outline-radius":"<length>|<percentage>","overflow-position":"unsafe|safe","page-body":"<declaration>? [; <page-body>]?|<page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","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":"<pseudo-page>+|<ident> <pseudo-page>*","page-selector-list":"[<page-selector>#]?","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke","paint()":"paint( <ident> , <declaration-value>? )","paint-box":"<visual-box>|fill-box|stroke-box","palette-identifier":"<dashed-ident>","palette-mix()":"palette-mix( <color-interpolation-method> , [[normal|light|dark|<palette-identifier>|<palette-mix()>]&&<percentage [0,100]>?]#{2} )","path()":"path( <'fill-rule'>? , <string> )","perspective()":"perspective( [<length [0,∞]>|none] )","polar-color-space":"hsl|hwb|lch|oklch","polygon()":"polygon( <'fill-rule'>? , [<length-percentage> <length-percentage>]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]","position-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|center|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|center|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]","pow()":"pow( <calc-sum> , <calc-sum> )","predefined-rgb":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020","predefined-rgb-params":"<predefined-rgb> [<number>|<percentage>|none]{3}","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>|<legacy-pseudo-element-selector>","pseudo-page":": [left|right|first|blank]","query-in-parens":"( <container-condition> )|( <size-feature> )|style( <style-query> )|<general-enclosed>",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-extent":"closest-corner|closest-side|farthest-corner|farthest-side","radial-gradient()":"radial-gradient( [<radial-gradient-syntax>] )","radial-gradient-syntax":"[[[<radial-shape>||<radial-size>]? [at <position>]?]||<color-interpolation-method>]? , <color-stop-list>","radial-shape":"circle|ellipse","radial-size":"<radial-extent>|<length [0,∞]>|<length-percentage [0,∞]>{2}",ratio:"<number [0,∞]> [/ <number [0,∞]>]?","ray()":"ray( <angle>&&<ray-size>?&&contain?&&[at <position>]? )","ray-size":"closest-side|closest-corner|farthest-side|farthest-corner|sides","rect()":"rect( [<length-percentage>|auto]{4} [round <'border-radius'>]? )","rectangular-color-space":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020|lab|oklab|xyz|xyz-d50|xyz-d65","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger|smaller","rem()":"rem( <calc-sum> , <calc-sum> )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [<conic-gradient-syntax>] )","repeating-linear-gradient()":"repeating-linear-gradient( [<linear-gradient-syntax>] )","repeating-radial-gradient()":"repeating-radial-gradient( [<radial-gradient-syntax>] )","reversed-counter-name":"reversed( <counter-name> )","rgb()":"rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )|rgb( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","rgba()":"rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )|rgba( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum> )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( [<number>|<percentage>]? )","scale()":"scale( [<number>|<percentage>]#{1,2} )","scale3d()":"scale3d( [<number>|<percentage>]#{3} )","scaleX()":"scaleX( [<number>|<percentage>] )","scaleY()":"scaleY( [<number>|<percentage>] )","scaleZ()":"scaleZ( [<number>|<percentage>] )","scope-end":"<forgiving-selector-list>","scope-start":"<forgiving-selector-list>","scroll()":"scroll( [<scroller>||<axis>]? )",scroller:"root|nearest|self","scroll-state-feature":"<media-query-list>","scroll-state-in-parens":"( <scroll-state-query> )|( <scroll-state-feature> )|<general-enclosed>","scroll-state-query":"not <scroll-state-in-parens>|<scroll-state-in-parens> [[and <scroll-state-in-parens>]*|[or <scroll-state-in-parens>]*]|<scroll-state-feature>","selector-list":"<complex-selector-list>","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","sepia()":"sepia( [<number>|<percentage>]? )",shadow:"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]",shape:"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<visual-box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","sign()":"sign( <calc-sum> )","signed-integer":"<number-token>","signless-integer":"<number-token>","sin()":"sin( <calc-sum> )","single-animation":"<'animation-duration'>||<easing-function>||<'animation-delay'>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]||<single-animation-timeline>","single-animation-composition":"replace|add|accumulate","single-animation-direction":"normal|reverse|alternate|alternate-reverse","single-animation-fill-mode":"none|forwards|backwards|both","single-animation-iteration-count":"infinite|<number>","single-animation-play-state":"running|paused","single-animation-timeline":"auto|none|<dashed-ident>|<scroll()>|<view()>","single-transition":"[none|<single-transition-property>]||<time>||<easing-function>||<time>||<transition-behavior-value>","single-transition-property":"all|<custom-ident>",size:"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","size-feature":"<mf-plain>|<mf-boolean>|<mf-range>","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sqrt()":"sqrt( <calc-sum> )","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-easing-function":"step-start|step-end|<steps()>","steps()":"steps( <integer> , <step-position>? )","style-feature":"<declaration>","style-in-parens":"( <style-condition> )|( <style-feature> )|<general-enclosed>","style-query":"<style-condition>|<style-feature>","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","superellipse()":"superellipse( [<number>|infinity|-infinity] )","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-decl":"( <declaration> )","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>","symbols()":"symbols( <symbols-type>? [<string>|<image>]+ )","symbols-type":"cyclic|numeric|alphabetic|symbolic|fixed","system-color":"AccentColor|AccentColorText|ActiveText|ButtonBorder|ButtonFace|ButtonText|Canvas|CanvasText|Field|FieldText|GrayText|Highlight|HighlightText|LinkText|Mark|MarkText|SelectedItem|SelectedItemText|VisitedText","system-family-name":"caption|icon|menu|message-box|small-caption|status-bar","tan()":"tan( <calc-sum> )",target:"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","text-edge":"[text|cap|ex|ideographic|ideographic-ink] [text|alphabetic|ideographic|ideographic-ink]?","time-percentage":"<time>|<percentage>","timeline-range-name":"cover|contain|entry|exit|entry-crossing|exit-crossing","track-breadth":"<length-percentage>|<flex>|min-content|max-content|auto","track-list":"[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?","track-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <track-size>]+ <line-names>? )","track-size":"<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( <length-percentage> )","transform-function":"<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>","transform-list":"<transform-function>+","transition-behavior-value":"normal|allow-discrete","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","try-size":"most-width|most-height|most-block-size|most-inline-size","try-tactic":"flip-block||flip-inline||flip-start","type-or-unit":"string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%","type-selector":"<wq-name>|<ns-prefix>? '*'","var()":"var( <custom-property-name> , <declaration-value>? )","view()":"view( [<axis>||<'view-timeline-inset'>]? )","viewport-length":"auto|<length-percentage>","visual-box":"content-box|padding-box|border-box","wq-name":"<ns-prefix>? <ident-token>","xywh()":"xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [round <'border-radius'>]? )",xyz:"xyz|xyz-d50|xyz-d65","xyz-params":"<xyz-space> [<number>|<percentage>|none]{3}","-legacy-gradient":"<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[<angle>|<side-or-corner>]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side|closest-corner|farthest-side|farthest-corner|contain|cover","-legacy-radial-gradient-shape":"circle|ellipse","-non-standard-font":"-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text","-non-standard-image-rendering":"optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast","-non-standard-overflow":"overlay|-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-size":"intrinsic|min-intrinsic|-webkit-fill-available|-webkit-fit-content|-webkit-min-content|-webkit-max-content|-moz-available|-moz-fit-content|-moz-min-content|-moz-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point>|, <-webkit-gradient-radius> , <-webkit-gradient-point>] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )","-webkit-gradient-color-stop":"from( <color> )|color-stop( [<number-zero-one>|<percentage>] , <color> )|to( <color> )","-webkit-gradient-point":"[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]","-webkit-gradient-radius":"<length>|<percentage>","-webkit-gradient-type":"linear|radial","-webkit-mask-box-repeat":"repeat|stretch|round","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid>|<-ms-filter-function-legacy>","-ms-filter-function-progid":"'progid:' [<ident-token> '.']* [<ident-token>|<function-token> <any-value>? )]","-ms-filter-function-legacy":"<ident-token>|<function-token> <any-value>? )",age:"child|young|old","attr-name":"<wq-name>","attr-fallback":"<any-value>",autospace:"no-autospace|[ideograph-alpha||ideograph-numeric||punctuation]||[insert|replace]",bottom:"<length>|auto","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral","generic-script-specific":"generic( kai )|generic( fangsong )|generic( nastaliq )","-non-standard-generic-family":"-apple-system|BlinkMacSystemFont","intrinsic-size-keyword":"min-content|max-content|fit-content",left:"<length>|auto","device-cmyk()":"<legacy-device-cmyk-syntax>|<modern-device-cmyk-syntax>","legacy-device-cmyk-syntax":"device-cmyk( <number>#{4} )","modern-device-cmyk-syntax":"device-cmyk( <cmyk-component>{4} [/ [<alpha-value>|none]]? )","cmyk-component":"<number>|<percentage>|none","color-space":"<rectangular-color-space>|<polar-color-space>|<custom-color-space>",right:"<length>|auto","forgiving-selector-list":"<complex-real-selector-list>","forgiving-relative-selector-list":"<relative-real-selector-list>","complex-real-selector-list":"<complex-real-selector>#","simple-selector-list":"<simple-selector>#","relative-real-selector-list":"<relative-real-selector>#","complex-selector-unit":"[<compound-selector>? <pseudo-compound-selector>*]!","complex-real-selector":"<compound-selector> [<combinator>? <compound-selector>]*","relative-real-selector":"<combinator>? <complex-real-selector>","pseudo-compound-selector":"<pseudo-element-selector> <pseudo-class-selector>*","simple-selector":"<type-selector>|<subclass-selector>","legacy-pseudo-element-selector":"':' [before|after|first-line|first-letter]","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb",top:"<length>|auto",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? ['!' important]?","declaration-list":"[<declaration>? ';']* <declaration>?",url:"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,∞]>","xyz-space":"xyz|xyz-d50|xyz-d65","style-condition":"not <style-in-parens>|<style-in-parens> [[and <style-in-parens>]*|[or <style-in-parens>]*]","-non-standard-display":"-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box","inset-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]",syntax:"'*'|<syntax-component> [<syntax-combinator> <syntax-component>]*|<syntax-string>","syntax-component":"<syntax-single-component> <syntax-multiplier>?|'<' transform-list '>'","syntax-single-component":"'<' <syntax-type-name> '>'|<ident>","syntax-type-name":"angle|color|custom-ident|image|integer|length|length-percentage|number|percentage|resolution|string|time|url|transform-function","syntax-combinator":"'|'","syntax-multiplier":"'#'|'+'","syntax-string":"<string>"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'>||<'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-content-zooming":"none|zoom","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-grid-columns":"none|<track-list>|<auto-track-list>","-ms-grid-rows":"none|<track-list>|<auto-track-list>","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"0|1","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button","-webkit-border-before":"<'border-width'>||<'border-style'>||<color>","-webkit-border-before-color":"<color>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<visual-box>|border|padding|content|text]||[<visual-box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<coord-box>|no-clip|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<coord-box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","-webkit-user-select":"auto|none|text|all","accent-color":"auto|<color>","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]|anchor-center","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>|anchor-center","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical",all:"initial|inherit|unset|revert|revert-layer","anchor-name":"none|<dashed-ident>#","anchor-scope":"none|all|<dashed-ident>#",animation:"<single-animation>#","animation-composition":"<single-animation-composition>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"[auto|<time [0s,∞]>]#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-range":"[<'animation-range-start'> <'animation-range-end'>?]#","animation-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-timeline":"<single-animation-timeline>#","animation-timing-function":"<easing-function>#","animation-trigger":"[none|[<dashed-ident> <animation-action>+]+]#",appearance:"none|auto|<compat-auto>|<compat-special>","aspect-ratio":"auto||<ratio>","backdrop-filter":"none|<filter-value-list>","backface-visibility":"visible|hidden",background:"<bg-layer>#? , <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<bg-clip>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<visual-box>#","background-position":"<bg-position>#","background-position-x":"[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#","background-position-y":"[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","baseline-shift":"baseline|sub|super|<svg-length>","baseline-source":"auto|first|last","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-block-start'>","border-block-color":"<'border-top-color'>{1,2}","border-block-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-block-style":"<'border-top-style'>{1,2}","border-block-width":"<'border-top-width'>{1,2}","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage [0,∞]>{1,2}","border-bottom-right-radius":"<length-percentage [0,∞]>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"separate|collapse","border-color":"<color>{1,4}","border-end-end-radius":"<'border-top-left-radius'>","border-end-start-radius":"<'border-top-left-radius'>","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length [0,∞]>|<number [0,∞]>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"[<number [0,∞]>|<percentage [0,∞]>]{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage [0,∞]>|<number [0,∞]>|auto]{1,4}","border-inline":"<'border-block-start'>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-inline-style":"<'border-top-style'>{1,2}","border-inline-width":"<'border-top-width'>{1,2}","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage [0,∞]>{1,4} [/ <length-percentage [0,∞]>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length>{1,2}","border-start-end-radius":"<'border-top-left-radius'>","border-start-start-radius":"<'border-top-left-radius'>","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage [0,∞]>{1,2}","border-top-right-radius":"<length-percentage [0,∞]>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"auto|<length-percentage>|<anchor()>|<anchor-size()>","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom",caret:"<'caret-color'>||<'caret-animation'>||<'caret-shape'>","caret-animation":"auto|manual","caret-color":"auto|<color>","caret-shape":"auto|bar|block|underscore",clear:"none|left|right|both|inline-start|inline-end",clip:"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none","clip-rule":"nonzero|evenodd",color:"<color>","color-interpolation-filters":"auto|sRGB|linearRGB","color-scheme":"normal|[light|dark|<custom-ident>]+&&only?","column-count":"<integer>|auto","column-fill":"auto|balance","column-gap":"normal|<length-percentage>","column-height":"auto|<length [0,∞]>","column-rule":"<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none|all","column-width":"auto|<length [0,∞]>","column-wrap":"auto|nowrap|wrap",columns:"[<'column-width'>||<'column-count'>] [/ <'column-height'>]?",contain:"none|strict|content|[[size||inline-size]||layout||style||paint]","contain-intrinsic-block-size":"auto? [none|<length>]","contain-intrinsic-height":"auto? [none|<length>]","contain-intrinsic-inline-size":"auto? [none|<length>]","contain-intrinsic-size":"[auto? [none|<length>]]{1,2}","contain-intrinsic-width":"auto? [none|<length>]",container:"<'container-name'> [/ <'container-type'>]?","container-name":"none|<custom-ident>+","container-type":"normal||[size|inline-size]",content:"normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>|<attr()>]+]?","content-visibility":"visible|auto|hidden","corner-block-end-shape":"<corner-shape-value>{1,2}","corner-block-start-shape":"<corner-shape-value>{1,2}","corner-bottom-shape":"<corner-shape-value>{1,2}","corner-bottom-left-shape":"<corner-shape-value>","corner-bottom-right-shape":"<corner-shape-value>","corner-end-end-shape":"<corner-shape-value>","corner-end-start-shape":"<corner-shape-value>","corner-inline-end-shape":"<corner-shape-value>{1,2}","corner-inline-start-shape":"<corner-shape-value>{1,2}","corner-left-shape":"<corner-shape-value>{1,2}","corner-right-shape":"<corner-shape-value>{1,2}","corner-shape":"<corner-shape-value>{1,4}","corner-start-start-shape":"<corner-shape-value>","corner-start-end-shape":"<corner-shape-value>","corner-top-shape":"<corner-shape-value>{1,2}","corner-top-left-shape":"<corner-shape-value>","corner-top-right-shape":"<corner-shape-value>","counter-increment":"[<counter-name> <integer>?]+|none","counter-reset":"[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none","counter-set":"[<counter-name> <integer>?]+|none",cursor:"[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]",cx:"<length>|<percentage>",cy:"<length>|<percentage>",d:"none|path( <string> )",direction:"ltr|rtl",display:"[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge","dynamic-range-limit":"standard|no-limit|constrained|<dynamic-range-limit-mix()>","empty-cells":"show|hide","field-sizing":"content|fixed",fill:"<paint>","fill-opacity":"<number-zero-one>|<percentage>","fill-rule":"nonzero|evenodd",filter:"none|<filter-value-list>|<-ms-filter-function-list>",flex:"none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]","flex-basis":"content|<'width'>","flex-direction":"row|row-reverse|column|column-reverse","flex-flow":"<'flex-direction'>||<'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap|wrap|wrap-reverse",float:"left|right|none|inline-start|inline-end","flood-color":"<color>","flood-opacity":"<'opacity'>",font:"[[<'font-style'>||<font-variant-css2>||<'font-weight'>||<font-width-css3>]? <'font-size'> [/ <'line-height'>]? <'font-family'>#]|<system-family-name>|<-non-standard-font>","font-family":"[<family-name>|<generic-family>]#","font-feature-settings":"normal|<feature-tag-value>#","font-kerning":"auto|normal|none","font-language-override":"normal|<string>","font-optical-sizing":"auto|none","font-palette":"normal|light|dark|<palette-identifier>|<palette-mix()>","font-size":"<absolute-size>|<relative-size>|<length-percentage [0,∞]>|math","font-size-adjust":"none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]","font-smooth":"auto|never|always|<absolute-size>|<length>","font-stretch":"<font-stretch-absolute>","font-style":"normal|italic|oblique <angle>?","font-synthesis":"none|[weight||style||small-caps||position]","font-synthesis-position":"auto|none","font-synthesis-small-caps":"auto|none","font-synthesis-style":"auto|none","font-synthesis-weight":"auto|none","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-alternates":"normal|[stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )]","font-variant-caps":"normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","font-variant-east-asian":"normal|[<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-emoji":"normal|text|emoji|unicode","font-variant-ligatures":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]","font-variant-numeric":"normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]","font-variant-position":"normal|sub|super","font-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>|bolder|lighter","font-width":"normal|<percentage [0,∞]>|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","forced-color-adjust":"auto|none|preserve-parent-color",gap:"<'row-gap'> <'column-gap'>?",grid:"<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [/ <grid-line>]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[row|column]||dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [/ <grid-line>]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [/ <grid-line>]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none|[<'grid-template-rows'> / <'grid-template-columns'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?","grid-template-areas":"none|<string>+","grid-template-columns":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","grid-template-rows":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","hanging-punctuation":"none|[first||[force-end|allow-end]||last]",height:"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","hyphenate-character":"auto|<string>","hyphenate-limit-chars":"[auto|<integer>]{1,3}",hyphens:"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|smooth|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>","image-resolution":"[from-image||<resolution>]&&snap?","ime-mode":"auto|normal|active|inactive|disabled","initial-letter":"normal|[<number> <integer>?]","initial-letter-align":"[auto|alphabetic|hanging|ideographic]","inline-size":"<'width'>",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>","interpolate-size":"numeric-only|allow-keywords",isolation:"auto|isolate",interactivity:"auto|inert","interest-delay":"<'interest-delay-start'>{1,2}","interest-delay-end":"normal|<time>","interest-delay-start":"normal|<time>","justify-content":"normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]","justify-items":"normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]|anchor-center","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|anchor-center","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"auto|<length-percentage>|<anchor()>|<anchor-size()>","letter-spacing":"normal|<length-percentage>","lighting-color":"<color>","line-break":"auto|loose|normal|strict|anywhere","line-clamp":"none|<integer>","line-height":"normal|<number>|<length>|<percentage>","line-height-step":"<length>","list-style":"<'list-style-type'>||<'list-style-position'>||<'list-style-image'>","list-style-image":"<image>|none","list-style-position":"inside|outside","list-style-type":"<counter-style>|<string>|none",margin:"<'margin-top'>{1,4}","margin-block":"<'margin-top'>{1,2}","margin-block-end":"<'margin-top'>","margin-block-start":"<'margin-top'>","margin-bottom":"<length-percentage>|auto|<anchor-size()>","margin-inline":"<'margin-top'>{1,2}","margin-inline-end":"<'margin-top'>","margin-inline-start":"<'margin-top'>","margin-left":"<length-percentage>|auto|<anchor-size()>","margin-right":"<length-percentage>|auto|<anchor-size()>","margin-top":"<length-percentage>|auto|<anchor-size()>","margin-trim":"none|in-flow|all",marker:"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>",mask:"<mask-layer>#","mask-border":"<'mask-border-source'>||<'mask-border-slice'> [/ <'mask-border-width'>? [/ <'mask-border-outset'>]?]?||<'mask-border-repeat'>||<'mask-border-mode'>","mask-border-mode":"luminance|alpha","mask-border-outset":"[<length>|<number>]{1,4}","mask-border-repeat":"[stretch|repeat|round|space]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none|<image>","mask-border-width":"[<length-percentage>|<number>|auto]{1,4}","mask-clip":"[<coord-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<coord-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance|alpha","masonry-auto-flow":"[pack|next]||[definite-first|ordered]","math-depth":"auto-add|add( <integer> )|<integer>","math-shift":"normal|compact","math-style":"normal|compact","max-block-size":"<'max-width'>","max-height":"none|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-block-size":"<'min-width'>","min-height":"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-inline-size":"<'min-width'>","min-width":"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","mix-blend-mode":"<blend-mode>|plus-darker|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>","object-view-box":"none|<basic-shape-rect>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|<offset-path>||<coord-box>","offset-position":"normal|auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<opacity-value>",order:"<integer>",orphans:"<integer>",outline:"<'outline-width'>||<'outline-style'>||<'outline-color'>","outline-color":"auto|<color>","outline-offset":"<length>","outline-style":"auto|<outline-line-style>","outline-width":"<line-width>",overflow:"[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>","overflow-anchor":"auto|none","overflow-block":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,∞]>","overflow-inline":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-y":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>",overlay:"none|auto","overscroll-behavior":"[contain|none|auto]{1,2}","overscroll-behavior-block":"contain|none|auto","overscroll-behavior-inline":"contain|none|auto","overscroll-behavior-x":"contain|none|auto","overscroll-behavior-y":"contain|none|auto",padding:"<'padding-top'>{1,4}","padding-block":"<'padding-top'>{1,2}","padding-block-end":"<'padding-top'>","padding-block-start":"<'padding-top'>","padding-bottom":"<length-percentage [0,∞]>","padding-inline":"<'padding-top'>{1,2}","padding-inline-end":"<'padding-top'>","padding-inline-start":"<'padding-top'>","padding-left":"<length-percentage [0,∞]>","padding-right":"<length-percentage [0,∞]>","padding-top":"<length-percentage [0,∞]>",page:"auto|<custom-ident>","page-break-after":"auto|always|avoid|left|right|recto|verso","page-break-before":"auto|always|avoid|left|right|recto|verso","page-break-inside":"auto|avoid","paint-order":"normal|[fill||stroke||markers]",perspective:"none|<length>","perspective-origin":"<position>","place-content":"<'align-content'> <'justify-content'>?","place-items":"<'align-items'> <'justify-items'>?","place-self":"<'align-self'> <'justify-self'>?","pointer-events":"auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",position:"static|relative|absolute|sticky|fixed|-webkit-sticky","position-anchor":"auto|none|<anchor-name>","position-area":"none|<position-area>","position-try":"<'position-try-order'>? <'position-try-fallbacks'>","position-try-fallbacks":"none|[[<dashed-ident>||<try-tactic>]|<'position-area'>]#","position-try-order":"normal|<try-size>","position-visibility":"always|[anchors-valid||anchors-visible||no-overflow]","print-color-adjust":"economy|exact",quotes:"none|auto|[<string> <string>]+",r:"<length>|<percentage>","reading-flow":"normal|source-order|flex-visual|flex-flow|grid-rows|grid-columns|grid-order","reading-order":"<integer>",resize:"none|both|horizontal|vertical|block|inline",right:"auto|<length-percentage>|<anchor()>|<anchor-size()>",rotate:"none|<angle>|[x|y|z|<number>{3}]&&<angle>","row-gap":"normal|<length-percentage>","ruby-align":"start|center|space-between|space-around","ruby-merge":"separate|collapse|auto","ruby-overhang":"auto|none","ruby-position":"[alternate||[over|under]]|inter-character",rx:"<length>|<percentage>",ry:"<length>|<percentage>",scale:"none|[<number>|<percentage>]{1,3}","scroll-behavior":"auto|smooth","scroll-initial-target":"none|nearest","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-end":"<length>","scroll-margin-block-start":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-end":"<length>","scroll-margin-inline-start":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-marker-group":"none|before|after","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-left":"auto|<length-percentage>","scroll-padding-right":"auto|<length-percentage>","scroll-padding-top":"auto|<length-percentage>","scroll-snap-align":"[none|start|end|center]{1,2}","scroll-snap-coordinate":"none|<position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none|repeat( <length-percentage> )","scroll-snap-points-y":"none|repeat( <length-percentage> )","scroll-snap-stop":"normal|always","scroll-snap-type":"none|[x|y|block|inline|both] [mandatory|proximity]?","scroll-snap-type-x":"none|mandatory|proximity","scroll-snap-type-y":"none|mandatory|proximity","scroll-target-group":"none|auto","scroll-timeline":"[<'scroll-timeline-name'> <'scroll-timeline-axis'>?]#","scroll-timeline-axis":"[block|inline|x|y]#","scroll-timeline-name":"[none|<dashed-ident>]#","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","shape-image-threshold":"<opacity-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]","stop-color":"<'color'>","stop-opacity":"<'opacity'>",stroke:"<paint>","stroke-color":"<color>","stroke-dasharray":"none|[<svg-length>+]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt|round|square","stroke-linejoin":"miter|round|bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<'opacity'>","stroke-width":"<svg-length>","tab-size":"<integer>|<length>","table-layout":"auto|fixed","text-align":"start|end|left|right|center|justify|match-parent","text-align-last":"auto|start|end|left|right|center|justify","text-anchor":"start|middle|end","text-autospace":"normal|<autospace>|auto","text-box":"normal|<'text-box-trim'>||<'text-box-edge'>","text-box-edge":"auto|<text-edge>","text-box-trim":"none|trim-start|trim-end|trim-both","text-combine-upright":"none|all|[digits <integer>?]","text-decoration":"<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>","text-decoration-color":"<color>","text-decoration-inset":"<length>{1,2}|auto","text-decoration-line":"none|[underline||overline||line-through||blink]|spelling-error|grammar-error","text-decoration-skip":"none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]","text-decoration-skip-ink":"auto|all|none","text-decoration-style":"solid|double|dotted|dashed|wavy","text-decoration-thickness":"auto|from-font|<length>|<percentage>","text-emphasis":"<'text-emphasis-style'>||<'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"auto|[over|under]&&[right|left]?","text-emphasis-style":"none|[[filled|open]||[dot|circle|double-circle|triangle|sesame]]|<string>","text-indent":"<length-percentage>&&hanging?&&each-line?","text-justify":"auto|inter-character|inter-word|none","text-orientation":"mixed|upright|sideways","text-overflow":"[clip|ellipsis|<string>]{1,2}","text-rendering":"auto|optimizeSpeed|optimizeLegibility|geometricPrecision","text-shadow":"none|<shadow-t>#","text-size-adjust":"none|auto|<percentage>","text-spacing-trim":"space-all|normal|space-first|trim-start","text-transform":"none|[capitalize|uppercase|lowercase]||full-width||full-size-kana|math-auto","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]","text-wrap":"<'text-wrap-mode'>||<'text-wrap-style'>","text-wrap-mode":"wrap|nowrap","text-wrap-style":"auto|balance|stable|pretty","timeline-scope":"none|<dashed-ident>#","timeline-trigger":"none|[<'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-range'> ['/' <'timeline-trigger-exit-range'>]?]#","timeline-trigger-name":"none|<dashed-ident>#","timeline-trigger-exit-range":"[<'timeline-trigger-exit-range-start'> <'timeline-trigger-exit-range-end'>?]#","timeline-trigger-exit-range-end":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-exit-range-start":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range":"[<'timeline-trigger-range-start'> <'timeline-trigger-range-end'>?]#","timeline-trigger-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-source":"<single-animation-timeline>#",top:"auto|<length-percentage>|<anchor()>|<anchor-size()>","touch-action":"auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",transform:"none|<transform-list>","transform-box":"content-box|border-box|fill-box|stroke-box|view-box","transform-origin":"[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?","transform-style":"flat|preserve-3d",transition:"<single-transition>#","transition-behavior":"<transition-behavior-value>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<easing-function>#",translate:"none|<length-percentage> [<length-percentage> <length>?]?","trigger-scope":"none|all|<dashed-ident>#","unicode-bidi":"normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext","user-select":"auto|text|none|all","vector-effect":"none|non-scaling-stroke|non-scaling-size|non-rotation|fixed-position","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>","view-timeline":"[<'view-timeline-name'> [<'view-timeline-axis'>||<'view-timeline-inset'>]?]#","view-timeline-axis":"[block|inline|x|y]#","view-timeline-inset":"[[auto|<length-percentage>]{1,2}]#","view-timeline-name":"[none|<dashed-ident>]#","view-transition-class":"none|<custom-ident>+","view-transition-name":"none|<custom-ident>|match-element",visibility:"visible|hidden|collapse","white-space":"normal|pre|pre-wrap|pre-line|<'white-space-collapse'>||<'text-wrap-mode'>","white-space-collapse":"collapse|preserve|preserve-breaks|preserve-spaces|break-spaces",widows:"<integer>",width:"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word|auto-phrase","word-spacing":"normal|<length>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>",x:"<length>|<percentage>",y:"<length>|<percentage>","z-index":"auto|<integer>",zoom:"normal|reset|<number [0,∞]>||<percentage [0,∞]>","-moz-background-clip":"padding|border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-control-character-visibility":"visible|hidden","-moz-osx-font-smoothing":"auto|grayscale","-moz-user-select":"none|text|all|-moz-none","-ms-flex-align":"start|end|center|baseline|stretch","-ms-flex-item-align":"auto|start|end|center|baseline|stretch","-ms-flex-line-pack":"start|end|center|justify|distribute|stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start|end|center|justify|distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor|bicubic","-ms-grid-column-align":"start|end|center|stretch","-ms-grid-row-align":"start|end|center|stretch","-ms-hyphenate-limit-last":"none|always|column|page|spread","-webkit-background-clip":"[<visual-box>|border|padding|content|text]#","-webkit-column-break-after":"always|auto|avoid","-webkit-column-break-before":"always|auto|avoid","-webkit-column-break-inside":"always|auto|avoid","-webkit-font-smoothing":"auto|none|antialiased|subpixel-antialiased","-webkit-mask-box-image":"[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?","-webkit-print-color-adjust":"economy|exact","-webkit-text-security":"none|circle|disc|square","-webkit-user-drag":"none|element|auto",behavior:"<url>+",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto|<svg-length>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time>|none|x-weak|weak|medium|strong|x-strong","pause-before":"<time>|none|x-weak|weak|medium|strong|x-strong","position-try-options":"<'position-try-fallbacks'>",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time>|none|x-weak|weak|medium|strong|x-strong","rest-before":"<time>|none|x-weak|weak|medium|strong|x-strong",speak:"auto|never|always","voice-balance":"<number>|left|center|right|leftwards|rightwards","voice-duration":"auto|<time>","voice-family":"[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve","voice-pitch":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-range":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-rate":"[normal|x-slow|slow|medium|fast|x-fast]||<percentage>","voice-stress":"normal|strong|moderate|none|reduced","voice-volume":"silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]","white-space-trim":"none|discard-before||discard-after||discard-inner"},atrules:{charset:{prelude:"<string>",descriptors:null},"counter-style":{prelude:"<counter-style-name>",descriptors:{"additive-symbols":"[<integer [0,∞]>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer [0,∞]>&&<symbol>",prefix:"<symbol>",range:"[[<integer>|infinite]{2}]#|auto","speak-as":"auto|bullets|numbers|words|spell-out|<counter-style-name>",suffix:"<symbol>",symbols:"<symbol>+",system:"cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]"}},container:{prelude:"[<container-name>]? <container-condition>",descriptors:null},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-face":{prelude:null,descriptors:{"ascent-override":"normal|<percentage>","descent-override":"normal|<percentage>","font-display":"auto|block|swap|fallback|optional","font-family":"<family-name>","font-feature-settings":"normal|<feature-tag-value>#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>{1,2}","line-gap-override":"normal|<percentage>","size-adjust":"<percentage>",src:"[<url> [format( <string># )]?|local( <family-name> )]#","unicode-range":"<urange>#"}},"font-feature-values":{prelude:"<family-name>#",descriptors:null},"font-palette-values":{prelude:"<dashed-ident>",descriptors:{"base-palette":"light|dark|<integer [0,∞]>","font-family":"<family-name>#","override-colors":"[<integer [0,∞]> <color>]#"}},import:{prelude:"[<string>|<url>] [layer|layer( <layer-name> )]? [supports( [<supports-condition>|<declaration>] )]? <media-query-list>?",descriptors:null},keyframes:{prelude:"<keyframes-name>",descriptors:null},layer:{prelude:"[<layer-name>#|<layer-name>?]",descriptors:null},media:{prelude:"<media-query-list>",descriptors:null},namespace:{prelude:"<namespace-prefix>? [<string>|<url>]",descriptors:null},page:{prelude:"<page-selector-list>",descriptors:{bleed:"auto|<length>",marks:"none|[crop||cross]","page-orientation":"upright|rotate-left|rotate-right",size:"<length [0,∞]>{1,2}|auto|[<page-size>||[portrait|landscape]]"}},"position-try":{prelude:"<dashed-ident>",descriptors:{top:"<'top'>",left:"<'left'>",bottom:"<'bottom'>",right:"<'right'>","inset-block-start":"<'inset-block-start'>","inset-block-end":"<'inset-block-end'>","inset-inline-start":"<'inset-inline-start'>","inset-inline-end":"<'inset-inline-end'>","inset-block":"<'inset-block'>","inset-inline":"<'inset-inline'>",inset:"<'inset'>","margin-top":"<'margin-top'>","margin-left":"<'margin-left'>","margin-bottom":"<'margin-bottom'>","margin-right":"<'margin-right'>","margin-block-start":"<'margin-block-start'>","margin-block-end":"<'margin-block-end'>","margin-inline-start":"<'margin-inline-start'>","margin-inline-end":"<'margin-inline-end'>",margin:"<'margin'>","margin-block":"<'margin-block'>","margin-inline":"<'margin-inline'>",width:"<'width'>",height:"<'height'>","min-width":"<'min-width'>","min-height":"<'min-height'>","max-width":"<'max-width'>","max-height":"<'max-height'>","block-size":"<'block-size'>","inline-size":"<'inline-size'>","min-block-size":"<'min-block-size'>","min-inline-size":"<'min-inline-size'>","max-block-size":"<'max-block-size'>","max-inline-size":"<'max-inline-size'>","align-self":"<'align-self'>|anchor-center","justify-self":"<'justify-self'>|anchor-center"}},property:{prelude:"<custom-property-name>",descriptors:{inherits:"true|false","initial-value":"<declaration-value>?",syntax:"<string>"}},scope:{prelude:"[( <scope-start> )]? [to ( <scope-end> )]?",descriptors:null},"starting-style":{prelude:null,descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},"view-transition":{prelude:null,descriptors:{navigation:"auto|none",types:"none|<custom-ident>+"}},"font-features-values":{prelude:"[<string>|<custom-ident>]+",descriptors:{"font-display":"auto|block|swap|fallback|optional"}}},node:Gh};function Qh(e){switch(this.tokenType){case 4:return this.Hash();case ii:return this.Operator();case li:return this.Parentheses(this.readSequence,e.recognizer);case ai:return this.Brackets(this.readSequence,e.recognizer);case 5:return this.String();case ei:return this.Dimension();case Jo:return this.Percentage();case Zo:return this.Number();case 2:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case 7:return this.Url();case 1:return this.cmpChar(this.tokenStart,117)&&this.cmpChar(this.tokenStart+1,43)?this.UnicodeRange():this.Identifier();case 9:{const e=this.charCodeAt(this.tokenStart);if(47===e||42===e||43===e||45===e)return this.Operator();35===e&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}var Xh={getNode:Qh};var Yh={onWhiteSpace:function(e,t){null!==t.last&&"Combinator"!==t.last.type&&null!==e&&"Combinator"!==e.type&&t.push({type:"Combinator",loc:null,name:" "})},getNode:function(){switch(this.tokenType){case ai:return this.AttributeSelector();case 4:return this.IdSelector();case ri:return this.lookupType(1)===ri?this.PseudoElementSelector():this.PseudoClassSelector();case 1:return this.TypeSelector();case Zo:case Jo:return this.Percentage();case ei:46===this.charCodeAt(this.tokenStart)&&this.error("Identifier is expected",this.tokenStart+1);break;case 9:switch(this.charCodeAt(this.tokenStart)){case 43:case 62:case 126:case 47:return this.Combinator();case 46:return this.ClassSelector();case 42:case 124:return this.TypeSelector();case 35:return this.IdSelector();case 38:return this.NestingSelector()}break}}};function Zh(e){return null!==e&&"Operator"===e.type&&("-"===e.value[e.value.length-1]||"+"===e.value[e.value.length-1])}var Jh={getNode:Qh,onWhiteSpace(e,t){Zh(e)&&(e.value=" "+e.value),Zh(t.last)&&(t.last.value+=" ")},expression:function(){return this.createSingleNodeList(this.Raw(null,!1))},var:function(){const e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===ii){e.push(this.Operator());const t=this.tokenIndex,n=this.parseCustomProperty?this.Value(null):this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1);if("Value"===n.type&&n.children.isEmpty)for(let e=t-this.tokenIndex;e<=0;e++)if(this.lookupType(e)===ti){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}e.push(n)}return e}},ep=Object.freeze({__proto__:null,AtrulePrelude:Xh,Selector:Yh,Value:Jh});const tp=new Set(["none","and","not","or"]);var np={parse:{prelude(){const e=this.createList();if(1===this.tokenType){const t=this.substring(this.tokenStart,this.tokenEnd);tp.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}},rp={parse:{prelude:null,block(){return this.Block(!0)}}};function op(e,t){return this.parseWithFallback(()=>{try{return e.call(this)}finally{this.skipSC(),this.lookupNonWSType(0)!==ci&&this.error()}},t||(()=>this.Raw(null,!0)))}const ip={layer(){this.skipSC();const e=this.createList(),t=op.call(this,this.Layer);return"Raw"===t.type&&""===t.value||e.push(t),e},supports(){this.skipSC();const e=this.createList(),t=op.call(this,this.Declaration,()=>op.call(this,()=>this.Condition("supports")));return"Raw"===t.type&&""===t.value||e.push(t),e}};var ap={container:np,"font-face":rp,import:{parse:{prelude(){const e=this.createList();switch(this.tokenType){case 5:e.push(this.String());break;case 7:case 2:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.skipSC(),1===this.tokenType&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer")?e.push(this.Identifier()):2===this.tokenType&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer(")&&e.push(this.Function(null,ip)),this.skipSC(),2===this.tokenType&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,ip)),1!==this.lookupNonWSType(0)&&this.lookupNonWSType(0)!==li||e.push(this.MediaQueryList()),e},block:null}},layer:{parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}},media:{parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}},nest:{parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},page:{parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},scope:{parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}},"starting-style":{parse:{prelude:null,block(e=!1){return this.Block(e)}}},supports:{parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}}};const sp={parse(){return this.createSingleNodeList(this.SelectorList())}},lp={parse(){return this.createSingleNodeList(this.Selector())}},cp={parse(){return this.createSingleNodeList(this.Identifier())}},up={parse:function(){const e=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case 1:e.push(this.Identifier());break;case 5:e.push(this.String());break;case ii:e.push(this.Operator());break;case ci:break e;default:this.error("Identifier, string or comma is expected")}this.skipSC()}return e}},hp={parse(){return this.createSingleNodeList(this.Nth())}};var pp={dir:cp,has:sp,lang:up,matches:sp,is:sp,"-moz-any":sp,"-webkit-any":sp,where:sp,not:sp,"nth-child":hp,"nth-last-child":hp,"nth-last-of-type":hp,"nth-of-type":hp,slotted:lp,host:lp,"host-context":lp},dp=Object.freeze({__proto__:null,AnPlusB:Xl,Atrule:tc,AtrulePrelude:rc,AttributeSelector:lc,Block:fc,Brackets:gc,CDC:yc,CDO:vc,ClassSelector:Sc,Combinator:Ac,Comment:Oc,Condition:Rc,Declaration:Bc,DeclarationList:Hc,Dimension:Qc,Feature:Zc,FeatureFunction:nu,FeatureRange:su,Function:uu,GeneralEnclosed:du,Hash:gu,IdSelector:wu,Identifier:ku,Layer:zu,LayerList:_u,MediaQuery:Lu,MediaQueryList:ju,NestingSelector:Pu,Nth:Du,Number:Fu,Operator:Wu,Parentheses:Uu,Percentage:Gu,PseudoClassSelector:Xu,PseudoElementSelector:Ju,Ratio:nh,Raw:ah,Rule:uh,Scope:ph,Selector:fh,SelectorList:gh,String:vh,StyleSheet:Sh,SupportsDeclaration:zh,TypeSelector:Oh,UnicodeRange:Dh,Url:Fh,Value:Bh,WhiteSpace:Vh}),fp=ql(Fl({},{...Kh,...{parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",condition(e){return this.Condition(e.kind)},rule:"Rule",selectorList:"SelectorList",selector:"Selector",block(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},features:{supports:{selector(){return this.Selector()}},container:{style(){return this.Declaration()}}},scope:ep,atrule:ap,pseudo:pp,node:dp},...{node:Gh}}));const{tokenize:mp,parse:gp,generate:bp,lexer:yp,createLexer:kp,walk:vp,find:xp,findLast:wp,findAll:Sp,toPlainObject:Cp,fromPlainObject:zp,fork:Ap}=fp;function _p(e,t){return t.slice(e.loc.start.offset,e.loc.end.offset)}class Tp{run(e){const t=[];for(const n of e)t.push(...n.children);return t}toString(){return"ChildComb"}}class Op{run(e){const t=new Set;for(const n of e){const e=n.querySelectorAll("*");for(const n of e)t.add(n)}return Array.from(t)}toString(){return"DescComb"}}class Lp{run(e){const t=[];for(const n of e){const e=n.nextElementSibling;e&&t.push(e)}return t}toString(){return"NextSiblComb"}}class Ep{run(e){const t=new Set;for(const n of e){let e=n.nextElementSibling;for(;e;)t.add(e),e=e.nextElementSibling}return Array.from(t)}toString(){return"SubsSiblComb"}}var jp,Ip,Pp,Rp={};function Dp(){if(Ip)return jp;Ip=1;var e=nt(),t=ur(),n=yt().f,r=e("unscopables"),o=Array.prototype;return void 0===o[r]&&n(o,r,{configurable:!0,value:t(null)}),jp=function(e){o[r][e]=!0}}!function(){if(Pp)return Rp;Pp=1;var e=In(),t=hn().includes,n=f(),r=Dp(),o=n(function(){return!Array(1).includes()}),i=n(function(){return[,1].includes(void 0,1)});e({target:"Array",proto:!0,forced:o||i},{includes:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}}),r("includes")}();var Np,Mp={};!function(){if(Np)return Mp;Np=1;var e=In(),t=b(),n=xe(),r=bt(),o=jr(),i=Nr(),a=Mr(),s=Qe(),l=Rr(),c=Fr(),u=qr(),h=!s&&!c("filter",function(){}),p=!s&&!h&&u("filter",TypeError),d=s||h||p,f=i(function(){for(var e,n,o=this.iterator,i=this.predicate,s=this.next;;){if(e=r(t(s,o)),this.done=!!e.done)return;if(n=e.value,a(o,i,[n,this.counter++],!0))return n}});e({target:"Iterator",proto:!0,real:!0,forced:d},{filter:function(e){r(this);try{n(e)}catch(e){l(this,"throw",e)}return p?t(p,this,e):new f(o(this),{predicate:e})}})}();const Fp=/^\/((?:[^/\\\r\n]|\\.)+)\/([gimsuy]*)$/;function qp(e){const t=e.match(Fp);if(null===t)return null;try{return new RegExp(t[1],t[2])}catch{return null}}function Bp(e){try{const t=function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(e).replace(/\\\*/g,".*");return new RegExp(t)}catch{return null}}class Wp{static requiresContext=!0;textRe;textSearch;constructor(e){const t=qp(e);null===t?this.textSearch=e:this.textRe=t}run(e){return this.textRe?e.filter(e=>null!==e.textContent&&this.textRe.test(e.textContent)):this.textSearch?e.filter(e=>null!==e.textContent&&e.textContent.includes(this.textSearch)):[]}toString(){return`:Contains(${(this.textRe||this.textSearch).toString()})`}}var $p,Up,Vp,Hp,Gp,Kp,Qp,Xp,Yp,Zp,Jp,ed,td,nd,rd,od,id,ad,sd,ld={};function cd(){if(Hp)return Vp;Hp=1;var e=function(){if(Up)return $p;Up=1;var e=le(),t=se();return $p=function(n){if("Function"===e(n))return t(n)}}(),t=xe(),n=g(),r=e(e.bind);return Vp=function(e,o){return t(e),void 0===o?e:n?r(e,o):function(){return e.apply(o,arguments)}},Vp}function ud(){return Kp?Gp:(Kp=1,Gp={})}function hd(){if(Xp)return Qp;Xp=1;var e=nt(),t=ud(),n=e("iterator"),r=Array.prototype;return Qp=function(e){return void 0!==e&&(t.Array===e||r[n]===e)}}function pd(){if(ed)return Jp;ed=1;var e=function(){if(Zp)return Yp;Zp=1;var e={};return e[nt()("toStringTag")]="z",Yp="[object z]"===String(e)}(),t=pe(),n=le(),r=nt()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return Jp=e?n:function(e){var a,s,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(s=function(e,t){try{return e[t]}catch(e){}}(a=o(e),r))?s:i?n(a):"Object"===(l=n(a))&&t(a.callee)?"Arguments":l}}function dd(){if(nd)return td;nd=1;var e=pd(),t=we(),n=ce(),r=ud(),o=nt()("iterator");return td=function(i){if(!n(i))return t(i,o)||t(i,"@@iterator")||r[e(i)]}}function fd(){if(od)return rd;od=1;var e=b(),t=xe(),n=bt(),r=ve(),o=dd(),i=TypeError;return rd=function(a,s){var l=arguments.length<2?o(a):s;if(t(l))return n(e(l,a));throw new i(r(a)+" is not iterable")},rd}function md(){if(ad)return id;ad=1;var e=cd(),t=b(),n=bt(),r=ve(),o=hd(),i=un(),a=me(),s=fd(),l=dd(),c=Rr(),u=TypeError,h=function(e,t){this.stopped=e,this.result=t},p=h.prototype;return id=function(d,f,m){var g,b,y,k,v,x,w,S=m&&m.that,C=!(!m||!m.AS_ENTRIES),z=!(!m||!m.IS_RECORD),A=!(!m||!m.IS_ITERATOR),_=!(!m||!m.INTERRUPTED),T=e(f,S),O=function(e){var t=g;return g=void 0,t&&c(t,"normal"),new h(!0,e)},L=function(e){return C?(n(e),_?T(e[0],e[1],O):T(e[0],e[1])):_?T(e,O):T(e)};if(z)g=d.iterator;else if(A)g=d;else{if(!(b=l(d)))throw new u(r(d)+" is not iterable");if(o(b)){for(y=0,k=i(d);k>y;y++)if((v=L(d[y]))&&a(p,v))return v;return new h(!1)}g=s(d,b)}for(x=z?d.next:g.next;!(w=t(x,g)).done;){var E=w.value;try{v=L(E)}catch(e){if(!g)throw e;c(g,"throw",e)}if("object"==typeof v&&v&&a(p,v))return v}return new h(!1)},id}!function(){if(sd)return ld;sd=1;var e=In(),t=b(),n=md(),r=xe(),o=bt(),i=jr(),a=Rr(),s=qr()("forEach",TypeError);e({target:"Iterator",proto:!0,real:!0,forced:s},{forEach:function(e){o(this);try{r(e)}catch(e){a(this,"throw",e)}if(s)return t(s,this,e);var l=i(this),c=0;n(l,function(t){e(t,c++)},{IS_RECORD:!0})}})}();class gd{query;constructor(e){this.query=e}match(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=new Set,r=Array.isArray(e)?e:[e];for(const e of this.query)try{let t=r;for(const n of e)if(t=n.run(t),0===t.length)break;t.forEach(e=>n.add(e))}catch(e){if(!t?.forgiving)throw e}return Array.from(n)}}class bd{static requiresContext=!0;executor;constructor(e){this.executor=new gd(Td(e))}run(e){return e.filter(e=>this.executor.match(e).length>0)}toString(){return":Has(...)"}}const yd={"-abp-contains":Wp,"has-text":Wp,contains:Wp,"-abp-has":bd,has:bd,"matches-css":class{static requiresContext=!0;pseudoElement;property;valueRe;valueSearch;constructor(e){const{value:t,pseudoElement:n,property:r}=this.parseArgs(e);this.pseudoElement=n,this.property=r;const o=qp(t);if(null===o){if(t.includes("*")){const e=Bp(t);if(null!==e)return void(this.valueRe=e)}this.valueSearch=t}else this.valueRe=o}parseArgs(e){const t=e.split(",").map(e=>e.trim());let n,r;2===t.length?(n=t[0],r=t[1]):r=t[0];const o=r.indexOf(":");if(-1===o)throw new Error("Invalid matches-css syntax: missing colon separator");const i=r.substring(0,o).trim(),a=r.substring(o+1).trim();if(!i||!a)throw new Error("Invalid matches-css syntax: empty property or value");return{pseudoElement:n,property:i,value:a}}run(e){return e.filter(e=>this.matchesElement(e))}matchesElement(e){try{const t=window.getComputedStyle(e,this.pseudoElement).getPropertyValue(this.property);return this.valueRe?this.valueRe.test(t):!!this.valueSearch&&t===this.valueSearch}catch{return!1}}toString(){let e="";return this.pseudoElement&&(e=this.pseudoElement+", "),e+=this.property+": ",this.valueRe?e+=this.valueRe.toString():this.valueSearch&&(e+=this.valueSearch.toString()),`:MatchesCSS(${e})`}},"matches-path":class{static requiresContext=!1;pathRe;pathSearch;constructor(e){const t=qp(e);null===t?this.pathSearch=e:this.pathRe=t}run(e){const t=window.location.pathname;return this.pathRe?this.pathRe.test(t)?e:[]:this.pathSearch&&t.includes(this.pathSearch)?e:[]}toString(){return`:MatchesPath(${(this.pathRe||this.pathSearch).toString()})`}},"matches-attr":class{static requiresContext=!0;name;value;constructor(e){if(0===e.length)throw new Error("Invalid syntax");const t=this.parseArg(e);this.name=t.name,this.value=t.value}run(e){return e.filter(e=>this.matchesElement(e))}toString(){let e="";return e+=this.name.toString(),this.value&&(e+="="+this.value.toString()),`:MatchesAttr(${e})`}parseArg(e){const t=e.split("=");return 1===t.length?{name:this.parseMatcher(t[0])}:{name:this.parseMatcher(t[0]),value:this.parseMatcher(t[1])}}parseMatcher(e){let t=e;if(t.length>2){const e=t[0];e!==t[t.length-1]||'"'!==e&&"'"!==e||(t=t.slice(1,-1))}const n=qp(t);if(null!==n)return n;if(t.includes("*")){const e=Bp(t);if(null!==e)return e}return t}matchesElement(e){for(const t of e.attributes)if(this.matches(this.name,t.name)&&(void 0===this.value||this.matches(this.value,t.value)))return!0;return!1}matches(e,t){return"string"==typeof e?e===t:e.test(t)}},"min-text-length":class{static requiresContext=!0;n;constructor(e){const t=Number.parseInt(e,10);if(Number.isNaN(t))throw new Error("Invalid text length");if(t<1)throw new Error("Text length cannot be less than 1");this.n=t}run(e){return e.filter(e=>null!==e.textContent&&e.textContent.length>=this.n)}toString(){return`:MinTextLength(${this.n})`}},upward:class{static requiresContext=!0;distance;selector;constructor(e){const t=Number.parseInt(e);if(Number.isNaN(t))this.selector=e;else{if(t<1||t>=256)throw new Error("Invalid distance value");this.distance=t}}run(e){return this.distance?this.matchDistance(e):this.selector?this.matchSelector(e):[]}matchDistance(e){const t=[];for(const n of e){let e=n;for(let t=0;t<this.distance&&(e=e.parentElement,null!==e);t++);null!==e&&t.push(e)}return t}matchSelector(e){const t=[];for(const n of e){let e=n.parentElement;for(;null!==e;){if(e.matches(this.selector)){t.push(e);break}e=e.parentElement}}return t}toString(){return`:Upward(${(this.distance||this.selector).toString()})`}},is:class{static requiresContext=!0;executor;constructor(e){this.executor=new gd(Td(e))}run(e){const t=new Set,n=this.executor.match(document.documentElement,{forgiving:!0});for(const e of n)t.add(e);return e.filter(e=>t.has(e))}toString(){return":Is(...)"}},not:class{static requiresContext=!0;executor;constructor(e){this.executor=new gd(Td(e))}run(e){const t=new Set,n=this.executor.match(document.documentElement);for(const e of n)t.add(e);const r=[];for(const n of e)t.has(n)||r.push(n);return r}toString(){return":Not(...)"}}};class kd{query;constructor(e){this.query=e}run(e){const t=[];for(const n of e){const e=n.querySelectorAll(this.query);for(const n of e)t.push(n)}return t}toString(){return`RawQuery(${this.query})`}}class vd{query;constructor(e){this.query=e}run(e){return"*"===this.query?e:e.filter(e=>e.matches(this.query))}toString(){return`RawMatches(${this.query})`}}function xd(e){if(0===e.length)return[];const t=[];let n=!1;const r=e=>{switch(e.literal){case" ":t.push(new Op);break;case"+":t.push(new Lp);break;case"~":t.push(new Ep);break;case">":t.push(new Tp);break;default:throw new Error(`Unknown combinator: "${e.literal}"`)}n=!0},o=(e,r)=>{const o=yd[e];if(!o)throw new Error(`Unknown extended pseudo-class ":${e}"`);o.requiresContext&&!n&&(t.push(new kd("*")),n=!0),t.push(new o(r)),n=!0};if("comb"===e[0].kind){for(let i=0;i<e.length;i++){const a=e[i];switch(a.kind){case"comb":{const t=e[i+1];if(!t)throw new Error("Relative selector ends with a dangling combinator");if("comb"===t.kind)throw new Error("Multiple subsequent combinator tokens in relative selector");r(a);break}case"raw":t.push(new vd(a.literal)),n=!0;break;case"ext":o(a.name,a.args)}}return t}let i="";const a=()=>{const e=i.trim();e&&(t.push(new kd(e)),n=!0),i=""};for(let n=0;n<e.length;n++){const s=e[n];switch(s.kind){case"raw":{const e=t[t.length-1];e instanceof Tp||e instanceof Op||e instanceof Lp||e instanceof Ep?t.push(new vd(s.literal)):i+=s.literal;break}case"comb":{const t=e[n+1];if(!t)throw new Error("Last token is a dangling combinator");if("comb"===t.kind)throw new Error("Multiple subsequent combinator tokens");if(i.length>0&&"raw"===t.kind)i+=s.literal;else if("raw"===t.kind)switch(s.literal){case" ":break;case">":i+=":scope"+s.literal;break;default:r(s)}else a(),r(s);break}case"ext":a(),o(s.name,s.args)}}return a(),t}function wd(e,t){const n=[];return e.children.forEach(e=>{"Selector"===e.type&&n.push(function(e,t){const n=[];let r="";const o=()=>{const e=r.trim();e.length>0&&n.push(new zd(e)),r=""},i=e=>_p(e,t);return vp(e,e=>{switch(e.type){case"Selector":return;case"IdSelector":case"ClassSelector":case"TypeSelector":case"AttributeSelector":return r+=i(e),"AttributeSelector"===e.type?vp.skip:void 0;case"Combinator":return o(),void n.push(new Ad(e.name));case"PseudoClassSelector":{const t=e.name.toLowerCase();if(t in yd){if(Sd(t)&&Cd(e))return r+=i(e),vp.skip;o();const a=e.children?.first;if(null==a)throw new Error(`:${t}: expected an argument, got null/undefined`);const s=i(a);n.push(new _d(t,s))}else r+=i(e);return vp.skip}default:throw new Error(`Unexpected node type: ${e.type}`)}}),o(),n}(e,t))}),n}function Sd(e){switch(e){case"has":return"undefined"!=typeof CSS&&!!CSS.supports?.("selector(:has(*))");case"is":return"undefined"!=typeof CSS&&!!CSS.supports?.("selector(:is(*))");case"not":return"undefined"!=typeof CSS&&!!CSS.supports?.("selector(:not(*))");default:return!1}}function Cd(e){let t=!0;return vp(e,{visit:"PseudoClassSelector",enter(n){if(n===e)return;const r=n.name.toLowerCase();if(r in yd){if(!Sd(r))return t=!1,this.break;if(!Cd(n))return t=!1,this.break}}}),t}class zd{literal;kind="raw";constructor(e){this.literal=e}toString(){return`RawTok(${this.literal})`}}class Ad{literal;kind="comb";constructor(e){this.literal=e}toString(){return`CombTok(${this.literal})`}}class _d{name;args;kind="ext";constructor(e,t){this.name=e,this.args=t}toString(){return`ExtTok(:${this.name}(${this.args}))`}}function Td(e){return Od(gp(e,{context:"selectorList",positions:!0}),e)}function Od(e,t){return wd(e,t).map(xd)}function Ld(e){const t=gp(e,{context:"selectorList",positions:!0});let n;if(1===t.children.size){const e=function(e){let t=null;return vp(e,{visit:"PseudoClassSelector",enter(e,n,r){if("style"===e.name){const o=e.children?.first;if(null==o)throw new Error(":style() must have an argument");if("Raw"!==o.type)throw new Error(`:style() argument must be 'Raw', got ${o.type}`);return t=o.value,r.remove(n),this.break}}}),t}(t.children.first);null!==e&&(n=function(e){const t=[],n=gp(e,{context:"declarationList",positions:!0});return vp(n,{visit:"Declaration",enter(n){if("boolean"!=typeof n.important)throw new Error(`Expected declaration.important to be boolean, got ${n.important} of type ${typeof n.important}`);return t.push({property:n.property,important:n.important,value:_p(n.value,e)}),this.skip}}),t}(e))}const r=Od(t,e);return n?{type:"style",declarations:n,selectorList:r}:{type:"hide",selectorList:r}}const Ed="Zen";const jd=(Id="engine",{log(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];console.log(`${Ed}/extended-css/${Id}: ${e}`,...n)},debug(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];console.debug(`${Ed}/extended-css/${Id}: ${e}`,...n)},info(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];console.info(`${Ed}/extended-css/${Id}: ${e}`,...n)},warn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];console.warn(`${Ed}/extended-css/${Id}: ${e}`,...n)},error(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];console.error(`${Ed}/extended-css/${Id}: ${e}`,...n)}});var Id;class Pd{rules;target=(()=>document.documentElement)();appliedClasses=(()=>new Map)();observer=null;styleEl=null;constructor(e){jd.debug("Initializing engine");const t=this.parseRules(e);this.rules=t.rules,this.createStyleSheet(t.cssText)}start(){jd.debug(`Starting with ${this.rules.length} rules`),this.applyQueries(),"complete"!==document.readyState&&document.addEventListener("DOMContentLoaded",()=>{this.applyQueries()},{once:!0}),this.registerObserver()}stop(){this.observer&&(this.observer.disconnect(),this.observer=null);for(const e of this.appliedClasses.keys())this.restoreAllClasses(e);this.appliedClasses.clear(),this.styleEl&&(this.styleEl.remove(),this.styleEl=null),jd.debug("Engine stopped")}parseRules(e){const t=e.split("\n"),n=[];let r="",o=0;const i="zenc_hide";let a=!1;const s=(e,t)=>{if(0===t.length)return;const i="zenc_"+o++;r+=this.buildCssRule(i,t),n.push({executor:e,className:i})},l=e=>{a||(r+=this.buildCssRule(i,[{property:"display",value:"none",important:!0}]),a=!0),n.push({executor:e,className:i})};for(const e of t){const t=e.trim();if(0!==t.length)try{const e=Ld(t),n=new gd(e.selectorList);switch(e.type){case"hide":l(n);break;case"style":s(n,e.declarations);break;default:throw new Error(`Unknown rule type ${e.type}`)}}catch(t){jd.error(`Failed to parse rule: "${e}"`,t)}}return{rules:n,cssText:r}}buildCssRule(e,t){return`.${e}{${t.map(e=>`${e.property}:${e.value}${e.important?"!important":""}`).join(";")}}`}applyQueries(){const e=performance.now(),t=this.collectClassMatches(),{added:n,removed:r}=this.applyClasses(t),o=(performance.now()-e).toFixed(2);jd.debug(`Applied ${n} classes, removed ${r} classes in ${o}ms`)}collectClassMatches(){const e=new Map;for(const t of this.rules)try{const n=t.executor.match(this.target);for(const r of n){if(!(r instanceof HTMLElement))continue;let n=e.get(r);n||(n=new Set,e.set(r,n)),n.add(t.className)}}catch(e){jd.error("Failed to apply rule",e)}return e}applyClasses(e){let t=0,n=0;for(const t of this.appliedClasses.keys()){const r=this.appliedClasses.get(t),o=e.get(t);if(o)for(const e of r.values())o.has(e)||(t.classList.remove(e),r.delete(e),n++);else{for(const e of r.values())t.classList.remove(e),n++;this.appliedClasses.delete(t)}}for(const[n,r]of e){if(!(n instanceof HTMLElement))continue;let e=this.appliedClasses.get(n);e||(e=new Set,this.appliedClasses.set(n,e));for(const o of r)e.has(o)||(n.classList.add(o),e.add(o),t++)}return{added:t,removed:n}}restoreAllClasses(e){if(!(e instanceof HTMLElement))return;const t=this.appliedClasses.get(e);if(t){for(const n of t.values())e.classList.remove(n);this.appliedClasses.delete(e)}}createStyleSheet(e){this.styleEl||(this.styleEl=document.createElement("style"),(document.head||document.documentElement).appendChild(this.styleEl)),this.styleEl.textContent=e}registerObserver(){const e={childList:!0,subtree:!0,attributes:!0,attributeFilter:["id","class"]},t=function(e,t){let n,r;return function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];if(void 0!==r)return;const s=performance.now();if(void 0!==n){const o=s-n;if(o<t){const a=t-o;return void(r=window.setTimeout(()=>{r=void 0,n=performance.now(),e(...i)},a))}}n=s,e(...i)}}(t=>{t.disconnect(),this.applyQueries(),t.observe(this.target,e)},100);this.observer=new MutationObserver((e,n)=>{0!==e.length&&t(n)}),this.observer.observe(this.target,e)}}return function(e){new Pd(e).start()}}();

Callers 3

FtFunction · 0.85
InFunction · 0.85
NrFunction · 0.85

Calls 4

mFunction · 0.85
ytFunction · 0.85
aeFunction · 0.70
nFunction · 0.70

Tested by

no test coverage detected