comp-hub 0.1.16 → 0.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/dist/index.js +137 -75
  2. package/dist/website/dist/assets/{atom-one-dark-C8u-1dd1.js → atom-one-dark-DaKCeli0.js} +1 -1
  3. package/dist/website/dist/assets/index-2cysFTTE.css +1 -0
  4. package/dist/website/dist/assets/index-87m2Wftx.css +1 -0
  5. package/dist/website/dist/assets/index-B12IVxVV.css +1 -0
  6. package/dist/website/dist/assets/index-B1R7DNzO.css +1 -0
  7. package/dist/website/dist/assets/index-B22RDKbu.js +1 -0
  8. package/dist/website/dist/assets/index-BOnnhQqp.css +1 -0
  9. package/dist/website/dist/assets/index-BjGqxMN6.css +1 -0
  10. package/dist/website/dist/assets/index-BnB32Ro9.js +12 -0
  11. package/dist/website/dist/assets/index-BoHsrwck.js +1 -0
  12. package/dist/website/dist/assets/index-BuFxFJw1.css +1 -0
  13. package/dist/website/dist/assets/index-C73x0f6L.js +1 -0
  14. package/dist/website/dist/assets/index-CFV42Y_E.js +1 -0
  15. package/dist/website/dist/assets/index-CJKsmxmW.js +1 -0
  16. package/dist/website/dist/assets/index-CMr4JE7V.css +1 -0
  17. package/dist/website/dist/assets/index-CP0aBF8i.js +1 -0
  18. package/dist/website/dist/assets/index-CRBXbZDI.js +1 -0
  19. package/dist/website/dist/assets/index-CYs8hR-i.js +1 -0
  20. package/dist/website/dist/assets/index-CdWXO9ks.css +1 -0
  21. package/dist/website/dist/assets/index-Cg5tYaaJ.js +44 -0
  22. package/dist/website/dist/assets/index-CyyX--pb.js +1 -0
  23. package/dist/website/dist/assets/index-DBvas-y2.js +1 -0
  24. package/dist/website/dist/assets/index-DFuMZ0ql.css +1 -0
  25. package/dist/website/dist/assets/index-DKoDSCVP.js +1 -0
  26. package/dist/website/dist/assets/index-DMoUzjSX.js +1 -0
  27. package/dist/website/dist/assets/index-DNnfZ7vg.css +1 -0
  28. package/dist/website/dist/assets/index-DiscR8nA.js +1 -0
  29. package/dist/website/dist/assets/index-Dw87Gdio.js +2 -0
  30. package/dist/website/dist/assets/index-DxJFvPw9.css +1 -0
  31. package/dist/website/dist/assets/index-GoF1OoI9.css +1 -0
  32. package/dist/website/dist/assets/index-NCe1bOPR.js +1 -0
  33. package/dist/website/dist/assets/index-Ryu1xniP.css +1 -0
  34. package/dist/website/dist/assets/index-qujOd5FX.css +1 -0
  35. package/dist/website/dist/assets/index-t4XQj1rr.css +1 -0
  36. package/dist/website/dist/assets/index-xm1Yd9S3.js +1 -0
  37. package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-BalQl2B-.js +1 -0
  38. package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-BbAIbHBw.js +1 -0
  39. package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-BosJ7ja_.js +1 -0
  40. package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-CnpXawsg.js +1 -0
  41. package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-DDAGjvUI.js +15 -0
  42. package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-DpO50vhc.js +1 -0
  43. package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-DpkZmowp.js +1 -0
  44. package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-EA2vbOKr.js +1 -0
  45. package/dist/website/dist/assets/index.vue_vue_type_style_index_0_lang-BnHuZh3W.js +382 -0
  46. package/dist/website/dist/assets/index.vue_vue_type_style_index_0_lang-CYK4UZZC.js +60 -0
  47. package/dist/website/dist/assets/index.vue_vue_type_style_index_0_lang-D2TO0bNe.js +1 -0
  48. package/dist/website/dist/assets/md5-CnuFqbuY.js +1 -0
  49. package/dist/website/dist/assets/moment-DzYjZP69.js +4 -0
  50. package/dist/website/dist/assets/moment-gesK-bst.css +1 -0
  51. package/dist/website/dist/assets/useCompEditStore-DsmNqPiJ.js +1 -0
  52. package/dist/website/dist/assets/useCompEditStore-Z_9v-nSk.css +1 -0
  53. package/dist/website/dist/assets/useTeamHeaders-C9_IL2Bb.js +1 -0
  54. package/dist/website/dist/assets/v1Keyword-C5T2aAkq.js +1 -0
  55. package/dist/website/dist/assets/v1Module-BMO4-eIJ.js +1 -0
  56. package/dist/website/dist/index.html +2 -3
  57. package/dist/website/dist/md/COMP_REPEAT.md +20 -20
  58. package/package.json +1 -1
  59. package/dist/website/dist/assets/avatar-zrZu7Mp7.png +0 -0
  60. package/dist/website/dist/assets/index-8cEtbT3O.js +0 -1
  61. package/dist/website/dist/assets/index-B9WN-WSz.css +0 -17
  62. package/dist/website/dist/assets/index-BDuN8NeP.js +0 -135
  63. package/dist/website/dist/assets/index-BOfoxPL-.js +0 -1
  64. package/dist/website/dist/assets/index-BVOHuBIX.css +0 -1
  65. package/dist/website/dist/assets/index-BXnL5GlT.js +0 -1
  66. package/dist/website/dist/assets/index-BbU2mVcC.js +0 -404
  67. package/dist/website/dist/assets/index-C0SGaR4J.js +0 -2
  68. package/dist/website/dist/assets/index-C8LSpT-z.css +0 -1
  69. package/dist/website/dist/assets/index-CB7JXyjj.css +0 -1
  70. package/dist/website/dist/assets/index-CCTatqst.css +0 -1
  71. package/dist/website/dist/assets/index-CLMaeILH.js +0 -1
  72. package/dist/website/dist/assets/index-CczN5fLz.css +0 -1
  73. package/dist/website/dist/assets/index-DC7eamiy.js +0 -1
  74. package/dist/website/dist/assets/index-DH9qVX3y.js +0 -1
  75. package/dist/website/dist/assets/index-DYP7pi_n.css +0 -32
  76. package/dist/website/dist/assets/index-DctCZKbD.css +0 -1
  77. package/dist/website/dist/assets/index-DhKRQfS3.js +0 -1
  78. package/dist/website/dist/assets/index-DjnoPitg.js +0 -10
  79. package/dist/website/dist/assets/index-Dndizr_2.js +0 -1
  80. package/dist/website/dist/assets/index-Dt0F6rkY.js +0 -1
  81. package/dist/website/dist/assets/index-Dy-UmOsw.js +0 -1
  82. package/dist/website/dist/assets/index-SRPHXpr5.js +0 -1
  83. package/dist/website/dist/assets/index-fiBRIyYr.css +0 -1
  84. package/dist/website/dist/assets/index-uKMYdTxR.css +0 -1
  85. package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-BaKY9guh.js +0 -15
  86. package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-BrlIS8wK.js +0 -1
  87. package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-C54Zykk3.js +0 -1
  88. package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-CGqaVhym.js +0 -1
  89. package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-CXaPCvf4.js +0 -1
  90. package/dist/website/dist/assets/index.vue_vue_type_script_setup_true_lang-FvgCOROY.js +0 -1
  91. package/dist/website/dist/assets/index.vue_vue_type_style_index_0_lang-BBsxZQZT.js +0 -61
  92. package/dist/website/dist/assets/md5-CMJCUOOG.js +0 -6
  93. package/dist/website/dist/font/demo.css +0 -539
  94. package/dist/website/dist/font/demo_index.html +0 -303
  95. package/dist/website/dist/font/iconfont.css +0 -35
  96. package/dist/website/dist/font/iconfont.js +0 -1
  97. package/dist/website/dist/font/iconfont.json +0 -44
  98. package/dist/website/dist/font/iconfont.ttf +0 -0
  99. package/dist/website/dist/font/iconfont.woff +0 -0
  100. package/dist/website/dist/font/iconfont.woff2 +0 -0
@@ -0,0 +1,12 @@
1
+ import{c0 as fn,c1 as Zt,c2 as mn,aU as Ze,H as zo,c3 as Ao,c4 as Lo,bK as zt,c5 as Oo,c6 as _o,c7 as Eo}from"./index-Cg5tYaaJ.js";var $o="[object String]";function Mo(e){return typeof e=="string"||!Zt(e)&&fn(e)&&mn(e)==$o}var Io="[object Boolean]";function Po(e){return e===!0||e===!1||fn(e)&&mn(e)==Io}var No="[object Number]";function jo(e){return typeof e=="number"||fn(e)&&mn(e)==No}const ke=0,b=1,S=2,j=3,I=4,le=5,vt=6,W=7,K=8,z=9,v=10,P=11,C=12,N=13,Qe=14,Q=15,G=16,H=17,Y=18,ne=19,ae=20,_=21,x=22,q=23,te=24,B=25,Ro=0;function F(e){return e>=48&&e<=57}function xe(e){return F(e)||e>=65&&e<=70||e>=97&&e<=102}function gn(e){return e>=65&&e<=90}function Do(e){return e>=97&&e<=122}function Fo(e){return gn(e)||Do(e)}function Bo(e){return e>=128}function ft(e){return Fo(e)||Bo(e)||e===95}function Wr(e){return ft(e)||F(e)||e===45}function qo(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function mt(e){return e===10||e===13||e===12}function Ce(e){return mt(e)||e===32||e===9}function de(e,t){return!(e!==92||mt(t)||t===Ro)}function ct(e,t,n){return e===45?ft(t)||t===45||de(t,n):ft(e)?!0:e===92?de(e,t):!1}function At(e,t,n){return e===43||e===45?F(t)?2:t===46&&F(n)?3:0:e===46?F(t)?2:0:F(e)?1:0}function Gr(e){return e===65279||e===65534?1:0}const Jt=new Array(128),Uo=128,ut=130,Hr=131,bn=132,Vr=133;for(let e=0;e<Jt.length;e++)Jt[e]=Ce(e)&&ut||F(e)&&Hr||ft(e)&&bn||qo(e)&&Vr||e||Uo;function Lt(e){return e<128?Jt[e]:bn}function $e(e,t){return t<e.length?e.charCodeAt(t):0}function en(e,t,n){return n===13&&$e(e,t+1)===10?2:1}function Me(e,t,n){let r=e.charCodeAt(t);return gn(r)&&(r=r|32),r===n}function Ge(e,t,n,r){if(n-t!==r.length||t<0||n>e.length)return!1;for(let i=t;i<n;i++){const o=r.charCodeAt(i-t);let a=e.charCodeAt(i);if(gn(a)&&(a=a|32),a!==o)return!1}return!0}function Wo(e,t){for(;t>=0&&Ce(e.charCodeAt(t));t--);return t+1}function Je(e,t){for(;t<e.length&&Ce(e.charCodeAt(t));t++);return t}function Ot(e,t){for(;t<e.length&&F(e.charCodeAt(t));t++);return t}function Ie(e,t){if(t+=2,xe($e(e,t-1))){for(const r=Math.min(e.length,t+5);t<r&&xe($e(e,t));t++);const n=$e(e,t);Ce(n)&&(t+=en(e,t,n))}return t}function et(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(!Wr(n)){if(de(n,$e(e,t+1))){t=Ie(e,t)-1;continue}break}}return t}function wt(e,t){let n=e.charCodeAt(t);if((n===43||n===45)&&(n=e.charCodeAt(t+=1)),F(n)&&(t=Ot(e,t+1),n=e.charCodeAt(t)),n===46&&F(e.charCodeAt(t+1))&&(t+=2,t=Ot(e,t)),Me(e,t,101)){let r=0;n=e.charCodeAt(t+1),(n===45||n===43)&&(r=1,n=e.charCodeAt(t+2)),F(n)&&(t=Ot(e,t+1+r+1))}return t}function _t(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(n===41){t++;break}de(n,$e(e,t+1))&&(t=Ie(e,t))}return t}function Kr(e){if(e.length===1&&!xe(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(t===0||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}const Qr=["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"],Go=16*1024;function gt(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,Go)):e}const En=10,Ho=12,$n=13;function Mn(e){const t=e.source,n=t.length,r=t.length>0?Gr(t.charCodeAt(0)):0,i=gt(e.lines,n),o=gt(e.columns,n);let a=e.startLine,u=e.startColumn;for(let c=r;c<n;c++){const s=t.charCodeAt(c);i[c]=a,o[c]=u++,(s===En||s===$n||s===Ho)&&(s===$n&&c+1<n&&t.charCodeAt(c+1)===En&&(c++,i[c]=a,o[c]=u),a++,u=1)}i[n]=a,o[n]=u,e.lines=i,e.columns=o,e.computed=!0}class Vo{constructor(t,n,r,i){this.setSource(t,n,r,i),this.lines=null,this.columns=null}setSource(t="",n=0,r=1,i=1){this.source=t,this.startOffset=n,this.startLine=r,this.startColumn=i,this.computed=!1}getLocation(t,n){return this.computed||Mn(this),{source:n,offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}getLocationRange(t,n,r){return this.computed||Mn(this),{source:r,start:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]},end:{offset:this.startOffset+n,line:this.lines[n],column:this.columns[n]}}}}const ce=16777215,ue=24,Te=new Uint8Array(32);Te[S]=x;Te[_]=x;Te[ne]=ae;Te[q]=te;function In(e){return Te[e]!==0}class Ko{constructor(t,n){this.setSource(t,n)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(t="",n=()=>{}){t=String(t||"");const r=t.length,i=gt(this.offsetAndType,t.length+1),o=gt(this.balance,t.length+1);let a=0,u=-1,c=0,s=t.length;this.offsetAndType=null,this.balance=null,o.fill(0),n(t,(l,h,f)=>{const m=a++;if(i[m]=l<<ue|f,u===-1&&(u=h),o[m]=s,l===c){const y=o[s];o[s]=m,s=y,c=Te[i[y]>>ue]}else In(l)&&(s=m,c=Te[l])}),i[a]=ke<<ue|r,o[a]=a;for(let l=0;l<a;l++){const h=o[l];if(h<=l){const f=o[h];f!==l&&(o[l]=f)}else h>a&&(o[l]=a)}this.source=t,this.firstCharOffset=u===-1?0:u,this.tokenCount=a,this.offsetAndType=i,this.balance=o,this.reset(),this.next()}lookupType(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t]>>ue:ke}lookupTypeNonSC(t){for(let n=this.tokenIndex;n<this.tokenCount;n++){const r=this.offsetAndType[n]>>ue;if(r!==N&&r!==B&&t--===0)return r}return ke}lookupOffset(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t-1]&ce:this.source.length}lookupOffsetNonSC(t){for(let n=this.tokenIndex;n<this.tokenCount;n++){const r=this.offsetAndType[n]>>ue;if(r!==N&&r!==B&&t--===0)return n-this.tokenIndex}return ke}lookupValue(t,n){return t+=this.tokenIndex,t<this.tokenCount?Ge(this.source,this.offsetAndType[t-1]&ce,this.offsetAndType[t]&ce,n):!1}getTokenStart(t){return t===this.tokenIndex?this.tokenStart:t>0?t<this.tokenCount?this.offsetAndType[t-1]&ce:this.offsetAndType[this.tokenCount]&ce:this.firstCharOffset}substrToCursor(t){return this.source.substring(t,this.tokenStart)}isBalanceEdge(t){return this.balance[this.tokenIndex]<t}isDelim(t,n){return n?this.lookupType(n)===z&&this.source.charCodeAt(this.lookupOffset(n))===t:this.tokenType===z&&this.source.charCodeAt(this.tokenStart)===t}skip(t){let n=this.tokenIndex+t;n<this.tokenCount?(this.tokenIndex=n,this.tokenStart=this.offsetAndType[n-1]&ce,n=this.offsetAndType[n],this.tokenType=n>>ue,this.tokenEnd=n&ce):(this.tokenIndex=this.tokenCount,this.next())}next(){let t=this.tokenIndex+1;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.tokenEnd,t=this.offsetAndType[t],this.tokenType=t>>ue,this.tokenEnd=t&ce):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=ke,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===N||this.tokenType===B;)this.next()}skipUntilBalanced(t,n){let r=t,i=0,o=0;e:for(;r<this.tokenCount;r++){if(i=this.balance[r],i<t)break e;switch(o=r>0?this.offsetAndType[r-1]&ce:this.firstCharOffset,n(this.source.charCodeAt(o))){case 1:break e;case 2:r++;break e;default:In(this.offsetAndType[r]>>ue)&&(r=i)}}this.skip(r-this.tokenIndex)}forEachToken(t){for(let n=0,r=this.firstCharOffset;n<this.tokenCount;n++){const i=r,o=this.offsetAndType[n],a=o&ce,u=o>>ue;r=a,t(u,i,a,n)}}dump(){const t=new Array(this.tokenCount);return this.forEachToken((n,r,i,o)=>{t[o]={idx:o,type:Qr[n],chunk:this.source.substring(r,i),balance:this.balance[o]}}),t}}function St(e,t){function n(h){return h<u?e.charCodeAt(h):0}function r(){if(s=wt(e,s),ct(n(s),n(s+1),n(s+2))){l=C,s=et(e,s);return}if(n(s)===37){l=P,s++;return}l=v}function i(){const h=s;if(s=et(e,s),Ge(e,h,s,"url")&&n(s)===40){if(s=Je(e,s+1),n(s)===34||n(s)===39){l=S,s=h+4;return}a();return}if(n(s)===40){l=S,s++;return}l=b}function o(h){for(h||(h=n(s++)),l=le;s<e.length;s++){const f=e.charCodeAt(s);switch(Lt(f)){case h:s++;return;case ut:if(mt(f)){s+=en(e,s,f),l=vt;return}break;case 92:if(s===e.length-1)break;const m=n(s+1);mt(m)?s+=en(e,s+1,m):de(f,m)&&(s=Ie(e,s)-1);break}}}function a(){for(l=W,s=Je(e,s);s<e.length;s++){const h=e.charCodeAt(s);switch(Lt(h)){case 41:s++;return;case ut:if(s=Je(e,s),n(s)===41||s>=e.length){s<e.length&&s++;return}s=_t(e,s),l=K;return;case 34:case 39:case 40:case Vr:s=_t(e,s),l=K;return;case 92:if(de(h,n(s+1))){s=Ie(e,s)-1;break}s=_t(e,s),l=K;return}}}e=String(e||"");const u=e.length;let c=Gr(n(0)),s=c,l;for(;s<u;){const h=e.charCodeAt(s);switch(Lt(h)){case ut:l=N,s=Je(e,s+1);break;case 34:o();break;case 35:Wr(n(s+1))||de(n(s+1),n(s+2))?(l=I,s=et(e,s+1)):(l=z,s++);break;case 39:o();break;case 40:l=_,s++;break;case 41:l=x,s++;break;case 43:At(h,n(s+1),n(s+2))?r():(l=z,s++);break;case 44:l=Y,s++;break;case 45:At(h,n(s+1),n(s+2))?r():n(s+1)===45&&n(s+2)===62?(l=Q,s=s+3):ct(h,n(s+1),n(s+2))?i():(l=z,s++);break;case 46:At(h,n(s+1),n(s+2))?r():(l=z,s++);break;case 47:n(s+1)===42?(l=B,s=e.indexOf("*/",s+2),s=s===-1?e.length:s+2):(l=z,s++);break;case 58:l=G,s++;break;case 59:l=H,s++;break;case 60:n(s+1)===33&&n(s+2)===45&&n(s+3)===45?(l=Qe,s=s+4):(l=z,s++);break;case 64:ct(n(s+1),n(s+2),n(s+3))?(l=j,s=et(e,s+1)):(l=z,s++);break;case 91:l=ne,s++;break;case 92:de(h,n(s+1))?i():(l=z,s++);break;case 93:l=ae,s++;break;case 123:l=q,s++;break;case 125:l=te,s++;break;case Hr:r();break;case bn:i();break;default:l=z,s++}t(l,c,c=s)}}let ze=null;class D{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return D.createItem(t)}allocateCursor(t,n){let r;return ze!==null?(r=ze,ze=ze.cursor,r.prev=t,r.next=n,r.cursor=this.cursor):r={prev:t,next:n,cursor:this.cursor},this.cursor=r,r}releaseCursor(){const{cursor:t}=this;this.cursor=t.cursor,t.prev=null,t.next=null,t.cursor=ze,ze=t}updateCursors(t,n,r,i){let{cursor:o}=this;for(;o!==null;)o.prev===t&&(o.prev=n),o.next===r&&(o.next=i),o=o.cursor}*[Symbol.iterator](){for(let t=this.head;t!==null;t=t.next)yield t.data}get size(){let t=0;for(let n=this.head;n!==null;n=n.next)t++;return t}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(t){let n=null;this.head=null;for(let r of t){const i=D.createItem(r);n!==null?n.next=i:this.head=i,i.prev=n,n=i}return this.tail=n,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(t,n=this){const r=this.allocateCursor(null,this.head);for(;r.next!==null;){const i=r.next;r.next=i.next,t.call(n,i.data,i,this)}this.releaseCursor()}forEachRight(t,n=this){const r=this.allocateCursor(this.tail,null);for(;r.prev!==null;){const i=r.prev;r.prev=i.prev,t.call(n,i.data,i,this)}this.releaseCursor()}reduce(t,n,r=this){let i=this.allocateCursor(null,this.head),o=n,a;for(;i.next!==null;)a=i.next,i.next=a.next,o=t.call(r,o,a.data,a,this);return this.releaseCursor(),o}reduceRight(t,n,r=this){let i=this.allocateCursor(this.tail,null),o=n,a;for(;i.prev!==null;)a=i.prev,i.prev=a.prev,o=t.call(r,o,a.data,a,this);return this.releaseCursor(),o}some(t,n=this){for(let r=this.head;r!==null;r=r.next)if(t.call(n,r.data,r,this))return!0;return!1}map(t,n=this){const r=new D;for(let i=this.head;i!==null;i=i.next)r.appendData(t.call(n,i.data,i,this));return r}filter(t,n=this){const r=new D;for(let i=this.head;i!==null;i=i.next)t.call(n,i.data,i,this)&&r.appendData(i.data);return r}nextUntil(t,n,r=this){if(t===null)return;const i=this.allocateCursor(null,t);for(;i.next!==null;){const o=i.next;if(i.next=o.next,n.call(r,o.data,o,this))break}this.releaseCursor()}prevUntil(t,n,r=this){if(t===null)return;const i=this.allocateCursor(t,null);for(;i.prev!==null;){const o=i.prev;if(i.prev=o.prev,n.call(r,o.data,o,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){const t=new D;for(let n of this)t.appendData(n);return t}prepend(t){return this.updateCursors(null,t,this.head,t),this.head!==null?(this.head.prev=t,t.next=this.head):this.tail=t,this.head=t,this}prependData(t){return this.prepend(D.createItem(t))}append(t){return this.insert(t)}appendData(t){return this.insert(D.createItem(t))}insert(t,n=null){if(n!==null)if(this.updateCursors(n.prev,t,n,t),n.prev===null){if(this.head!==n)throw new Error("before doesn't belong to list");this.head=t,n.prev=t,t.next=n,this.updateCursors(null,t)}else n.prev.next=t,t.prev=n.prev,n.prev=t,t.next=n;else this.updateCursors(this.tail,t,null,t),this.tail!==null?(this.tail.next=t,t.prev=this.tail):this.head=t,this.tail=t;return this}insertData(t,n){return this.insert(D.createItem(t),n)}remove(t){if(this.updateCursors(t,t.prev,t,t.next),t.prev!==null)t.prev.next=t.next;else{if(this.head!==t)throw new Error("item doesn't belong to list");this.head=t.next}if(t.next!==null)t.next.prev=t.prev;else{if(this.tail!==t)throw new Error("item doesn't belong to list");this.tail=t.prev}return t.prev=null,t.next=null,t}push(t){this.insert(D.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(D.createItem(t))}shift(){return this.head!==null?this.remove(this.head):null}prependList(t){return this.insertList(t,this.head)}appendList(t){return this.insertList(t)}insertList(t,n){return t.head===null?this:(n!=null?(this.updateCursors(n.prev,t.tail,n,t.head),n.prev!==null?(n.prev.next=t.head,t.head.prev=n.prev):this.head=t.head,n.prev=t.tail,t.tail.next=n):(this.updateCursors(this.tail,t.tail,null,t.head),this.tail!==null?(this.tail.next=t.head,t.head.prev=this.tail):this.head=t.head,this.tail=t.tail),t.head=null,t.tail=null,this)}replace(t,n){"head"in n?this.insertList(n,t):this.insert(n,t),this.remove(t)}}function Ct(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}
2
+ `)}})}const Et=100,Pn=60,Nn=" ";function jn({source:e,line:t,column:n,baseLine:r,baseColumn:i},o){function a(y,L){return s.slice(y,L).map((E,w)=>String(y+w+1).padStart(f)+" |"+E).join(`
3
+ `)}const u=`
4
+ `.repeat(Math.max(r-1,0)),c=" ".repeat(Math.max(i-1,0)),s=(u+c+e).split(/\r\n?|\n|\f/),l=Math.max(1,t-o)-1,h=Math.min(t+o,s.length+1),f=Math.max(4,String(h).length)+1;let m=0;n+=(Nn.length-1)*(s[t-1].substr(0,n-1).match(/\t/g)||[]).length,n>Et&&(m=n-Pn+3,n=Pn-2);for(let y=l;y<=h;y++)y>=0&&y<s.length&&(s[y]=s[y].replace(/\t/g,Nn),s[y]=(m>0&&s[y].length>m?"…":"")+s[y].substr(m,Et-2)+(s[y].length>m+Et-1?"…":""));return[a(l,t),new Array(n+f+2).join("-")+"^",a(t,h)].filter(Boolean).join(`
5
+ `).replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function Rn(e,t,n,r,i,o=1,a=1){return Object.assign(Ct("SyntaxError",e),{source:t,offset:n,line:r,column:i,sourceFragment(c){return jn({source:t,line:r,column:i,baseLine:o,baseColumn:a},isNaN(c)?0:c)},get formattedMessage(){return`Parse error: ${e}
6
+ `+jn({source:t,line:r,column:i,baseLine:o,baseColumn:a},2)}})}function Qo(e){const t=this.createList();let n=!1;const r={recognizer:e};for(;!this.eof;){switch(this.tokenType){case B:this.next();continue;case N:n=!0,this.next();continue}let i=e.getNode.call(this,r);if(i===void 0)break;n&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,r),n=!1),t.push(i)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,r),t}const Dn=()=>{},Yo=33,Xo=35,$t=59,Fn=123,Bn=0;function Zo(e){return function(){return this[e]()}}function Mt(e){const t=Object.create(null);for(const n of Object.keys(e)){const r=e[n],i=r.parse||r;i&&(t[n]=i)}return t}function Jo(e){const t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:Mt(e.atrule),pseudo:Mt(e.pseudo),node:Mt(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]=Zo(r);break}return{config:t,...t,...t.node}}function es(e){let t="",n="<unknown>",r=!1,i=Dn,o=!1;const a=new Vo,u=Object.assign(new Ko,Jo(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:Qo,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(s){return s===Fn?1:0},consumeUntilLeftCurlyBracketOrSemicolon(s){return s===Fn||s===$t?1:0},consumeUntilExclamationMarkOrSemicolon(s){return s===Yo||s===$t?1:0},consumeUntilSemicolonIncluded(s){return s===$t?2:0},createList(){return new D},createSingleNodeList(s){return new D().appendData(s)},getFirstListNode(s){return s&&s.first},getLastListNode(s){return s&&s.last},parseWithFallback(s,l){const h=this.tokenIndex;try{return s.call(this)}catch(f){if(o)throw f;this.skip(h-this.tokenIndex);const m=l.call(this);return o=!0,i(f,m),o=!1,m}},lookupNonWSType(s){let l;do if(l=this.lookupType(s++),l!==N&&l!==B)return l;while(l!==Bn);return Bn},charCodeAt(s){return s>=0&&s<t.length?t.charCodeAt(s):0},substring(s,l){return t.substring(s,l)},substrToCursor(s){return this.source.substring(s,this.tokenStart)},cmpChar(s,l){return Me(t,s,l)},cmpStr(s,l,h){return Ge(t,s,l,h)},consume(s){const l=this.tokenStart;return this.eat(s),this.substrToCursor(l)},consumeFunctionName(){const s=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(S),s},consumeNumber(s){const l=t.substring(this.tokenStart,wt(t,this.tokenStart));return this.eat(s),l},eat(s){if(this.tokenType!==s){const l=Qr[s].slice(0,-6).replace(/-/g," ").replace(/^./,m=>m.toUpperCase());let h=`${/[[\](){}]/.test(l)?`"${l}"`:l} is expected`,f=this.tokenStart;switch(s){case b:this.tokenType===S||this.tokenType===W?(f=this.tokenEnd-1,h="Identifier is expected but function found"):h="Identifier is expected";break;case I:this.isDelim(Xo)&&(this.next(),f++,h="Name is expected");break;case P:this.tokenType===v&&(f=this.tokenEnd,h="Percent sign is expected");break}this.error(h,f)}this.next()},eatIdent(s){(this.tokenType!==b||this.lookupValue(0,s)===!1)&&this.error(`Identifier "${s}" is expected`),this.next()},eatDelim(s){this.isDelim(s)||this.error(`Delim "${String.fromCharCode(s)}" is expected`),this.next()},getLocation(s,l){return r?a.getLocationRange(s,l,n):null},getLocationFromList(s){if(r){const l=this.getFirstListNode(s),h=this.getLastListNode(s);return a.getLocationRange(l!==null?l.loc.start.offset-a.startOffset:this.tokenStart,h!==null?h.loc.end.offset-a.startOffset:this.tokenStart,n)}return null},error(s,l){const h=typeof l<"u"&&l<t.length?a.getLocation(l):this.eof?a.getLocation(Wo(t,t.length-1)):a.getLocation(this.tokenStart);throw new Rn(s||"Unexpected input",t,h.offset,h.line,h.column,a.startLine,a.startColumn)}});return Object.assign(function(s,l){t=s,l=l||{},u.setSource(t,St),a.setSource(t,l.offset,l.line,l.column),n=l.filename||"<unknown>",r=!!l.positions,i=typeof l.onParseError=="function"?l.onParseError:Dn,o=!1,u.parseAtrulePrelude="parseAtrulePrelude"in l?!!l.parseAtrulePrelude:!0,u.parseRulePrelude="parseRulePrelude"in l?!!l.parseRulePrelude:!0,u.parseValue="parseValue"in l?!!l.parseValue:!0,u.parseCustomProperty="parseCustomProperty"in l?!!l.parseCustomProperty:!1;const{context:h="default",onComment:f}=l;if(!(h in u.context))throw new Error("Unknown context `"+h+"`");typeof f=="function"&&u.forEachToken((y,L,E)=>{if(y===B){const w=u.getLocation(L,E),A=Ge(t,E-2,E,"*/")?t.slice(L+2,E-2):t.slice(L+2,E);f(A,w)}});const m=u.context[h].call(u,l);return u.eof||u.error(),m},{SyntaxError:Rn,config:u.config})}var It={},tt={},nt={},qn;function ts(){if(qn)return nt;qn=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return nt.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},nt.decode=function(t){var n=65,r=90,i=97,o=122,a=48,u=57,c=43,s=47,l=26,h=52;return n<=t&&t<=r?t-n:i<=t&&t<=o?t-i+l:a<=t&&t<=u?t-a+h:t==c?62:t==s?63:-1},nt}var Un;function ns(){if(Un)return tt;Un=1;var e=ts(),t=5,n=1<<t,r=n-1,i=n;function o(u){return u<0?(-u<<1)+1:(u<<1)+0}function a(u){var c=(u&1)===1,s=u>>1;return c?-s:s}return tt.encode=function(c){var s="",l,h=o(c);do l=h&r,h>>>=t,h>0&&(l|=i),s+=e.encode(l);while(h>0);return s},tt.decode=function(c,s,l){var h=c.length,f=0,m=0,y,L;do{if(s>=h)throw new Error("Expected more digits in base 64 VLQ value.");if(L=e.decode(c.charCodeAt(s++)),L===-1)throw new Error("Invalid base64 digit: "+c.charAt(s-1));y=!!(L&i),L&=r,f=f+(L<<m),m+=t}while(y);l.value=a(f),l.rest=s},tt}var Pt={},Wn;function yn(){return Wn||(Wn=1,(function(e){function t(p,d,k){if(d in p)return p[d];if(arguments.length===3)return k;throw new Error('"'+d+'" is a required argument.')}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function i(p){var d=p.match(n);return d?{scheme:d[1],auth:d[2],host:d[3],port:d[4],path:d[5]}:null}e.urlParse=i;function o(p){var d="";return p.scheme&&(d+=p.scheme+":"),d+="//",p.auth&&(d+=p.auth+"@"),p.host&&(d+=p.host),p.port&&(d+=":"+p.port),p.path&&(d+=p.path),d}e.urlGenerate=o;var a=32;function u(p){var d=[];return function(k){for(var g=0;g<d.length;g++)if(d[g].input===k){var fe=d[0];return d[0]=d[g],d[g]=fe,d[0].result}var ie=p(k);return d.unshift({input:k,result:ie}),d.length>a&&d.pop(),ie}}var c=u(function(d){var k=d,g=i(d);if(g){if(!g.path)return d;k=g.path}for(var fe=e.isAbsolute(k),ie=[],Ye=0,V=0;;)if(Ye=V,V=k.indexOf("/",Ye),V===-1){ie.push(k.slice(Ye));break}else for(ie.push(k.slice(Ye,V));V<k.length&&k[V]==="/";)V++;for(var Xe,Pe=0,V=ie.length-1;V>=0;V--)Xe=ie[V],Xe==="."?ie.splice(V,1):Xe===".."?Pe++:Pe>0&&(Xe===""?(ie.splice(V+1,Pe),Pe=0):(ie.splice(V,2),Pe--));return k=ie.join("/"),k===""&&(k=fe?"/":"."),g?(g.path=k,o(g)):k});e.normalize=c;function s(p,d){p===""&&(p="."),d===""&&(d=".");var k=i(d),g=i(p);if(g&&(p=g.path||"/"),k&&!k.scheme)return g&&(k.scheme=g.scheme),o(k);if(k||d.match(r))return d;if(g&&!g.host&&!g.path)return g.host=d,o(g);var fe=d.charAt(0)==="/"?d:c(p.replace(/\/+$/,"")+"/"+d);return g?(g.path=fe,o(g)):fe}e.join=s,e.isAbsolute=function(p){return p.charAt(0)==="/"||n.test(p)};function l(p,d){p===""&&(p="."),p=p.replace(/\/$/,"");for(var k=0;d.indexOf(p+"/")!==0;){var g=p.lastIndexOf("/");if(g<0||(p=p.slice(0,g),p.match(/^([^\/]+:\/)?\/*$/)))return d;++k}return Array(k+1).join("../")+d.substr(p.length+1)}e.relative=l;var h=(function(){var p=Object.create(null);return!("__proto__"in p)})();function f(p){return p}function m(p){return L(p)?"$"+p:p}e.toSetString=h?f:m;function y(p){return L(p)?p.slice(1):p}e.fromSetString=h?f:y;function L(p){if(!p)return!1;var d=p.length;if(d<9||p.charCodeAt(d-1)!==95||p.charCodeAt(d-2)!==95||p.charCodeAt(d-3)!==111||p.charCodeAt(d-4)!==116||p.charCodeAt(d-5)!==111||p.charCodeAt(d-6)!==114||p.charCodeAt(d-7)!==112||p.charCodeAt(d-8)!==95||p.charCodeAt(d-9)!==95)return!1;for(var k=d-10;k>=0;k--)if(p.charCodeAt(k)!==36)return!1;return!0}function E(p,d,k){var g=T(p.source,d.source);return g!==0||(g=p.originalLine-d.originalLine,g!==0)||(g=p.originalColumn-d.originalColumn,g!==0||k)||(g=p.generatedColumn-d.generatedColumn,g!==0)||(g=p.generatedLine-d.generatedLine,g!==0)?g:T(p.name,d.name)}e.compareByOriginalPositions=E;function w(p,d,k){var g;return g=p.originalLine-d.originalLine,g!==0||(g=p.originalColumn-d.originalColumn,g!==0||k)||(g=p.generatedColumn-d.generatedColumn,g!==0)||(g=p.generatedLine-d.generatedLine,g!==0)?g:T(p.name,d.name)}e.compareByOriginalPositionsNoSource=w;function A(p,d,k){var g=p.generatedLine-d.generatedLine;return g!==0||(g=p.generatedColumn-d.generatedColumn,g!==0||k)||(g=T(p.source,d.source),g!==0)||(g=p.originalLine-d.originalLine,g!==0)||(g=p.originalColumn-d.originalColumn,g!==0)?g:T(p.name,d.name)}e.compareByGeneratedPositionsDeflated=A;function J(p,d,k){var g=p.generatedColumn-d.generatedColumn;return g!==0||k||(g=T(p.source,d.source),g!==0)||(g=p.originalLine-d.originalLine,g!==0)||(g=p.originalColumn-d.originalColumn,g!==0)?g:T(p.name,d.name)}e.compareByGeneratedPositionsDeflatedNoLine=J;function T(p,d){return p===d?0:p===null?1:d===null?-1:p>d?1:-1}function X(p,d){var k=p.generatedLine-d.generatedLine;return k!==0||(k=p.generatedColumn-d.generatedColumn,k!==0)||(k=T(p.source,d.source),k!==0)||(k=p.originalLine-d.originalLine,k!==0)||(k=p.originalColumn-d.originalColumn,k!==0)?k:T(p.name,d.name)}e.compareByGeneratedPositionsInflated=X;function re(p){return JSON.parse(p.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=re;function R(p,d,k){if(d=d||"",p&&(p[p.length-1]!=="/"&&d[0]!=="/"&&(p+="/"),d=p+d),k){var g=i(k);if(!g)throw new Error("sourceMapURL could not be parsed");if(g.path){var fe=g.path.lastIndexOf("/");fe>=0&&(g.path=g.path.substring(0,fe+1))}d=s(o(g),d)}return c(d)}e.computeSourceURL=R})(Pt)),Pt}var Nt={},Gn;function rs(){if(Gn)return Nt;Gn=1;var e=yn(),t=Object.prototype.hasOwnProperty,n=typeof Map<"u";function r(){this._array=[],this._set=n?new Map:Object.create(null)}return r.fromArray=function(o,a){for(var u=new r,c=0,s=o.length;c<s;c++)u.add(o[c],a);return u},r.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(o,a){var u=n?o:e.toSetString(o),c=n?this.has(o):t.call(this._set,u),s=this._array.length;(!c||a)&&this._array.push(o),c||(n?this._set.set(o,s):this._set[u]=s)},r.prototype.has=function(o){if(n)return this._set.has(o);var a=e.toSetString(o);return t.call(this._set,a)},r.prototype.indexOf=function(o){if(n){var a=this._set.get(o);if(a>=0)return a}else{var u=e.toSetString(o);if(t.call(this._set,u))return this._set[u]}throw new Error('"'+o+'" is not in the set.')},r.prototype.at=function(o){if(o>=0&&o<this._array.length)return this._array[o];throw new Error("No element indexed by "+o)},r.prototype.toArray=function(){return this._array.slice()},Nt.ArraySet=r,Nt}var jt={},Hn;function is(){if(Hn)return jt;Hn=1;var e=yn();function t(r,i){var o=r.generatedLine,a=i.generatedLine,u=r.generatedColumn,c=i.generatedColumn;return a>o||a==o&&c>=u||e.compareByGeneratedPositionsInflated(r,i)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return n.prototype.unsortedForEach=function(i,o){this._array.forEach(i,o)},n.prototype.add=function(i){t(this._last,i)?(this._last=i,this._array.push(i)):(this._sorted=!1,this._array.push(i))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},jt.MappingList=n,jt}var Vn;function os(){if(Vn)return It;Vn=1;var e=ns(),t=yn(),n=rs().ArraySet,r=is().MappingList;function i(o){o||(o={}),this._file=t.getArg(o,"file",null),this._sourceRoot=t.getArg(o,"sourceRoot",null),this._skipValidation=t.getArg(o,"skipValidation",!1),this._ignoreInvalidMapping=t.getArg(o,"ignoreInvalidMapping",!1),this._sources=new n,this._names=new n,this._mappings=new r,this._sourcesContents=null}return i.prototype._version=3,i.fromSourceMap=function(a,u){var c=a.sourceRoot,s=new i(Object.assign(u||{},{file:a.file,sourceRoot:c}));return a.eachMapping(function(l){var h={generated:{line:l.generatedLine,column:l.generatedColumn}};l.source!=null&&(h.source=l.source,c!=null&&(h.source=t.relative(c,h.source)),h.original={line:l.originalLine,column:l.originalColumn},l.name!=null&&(h.name=l.name)),s.addMapping(h)}),a.sources.forEach(function(l){var h=l;c!==null&&(h=t.relative(c,l)),s._sources.has(h)||s._sources.add(h);var f=a.sourceContentFor(l);f!=null&&s.setSourceContent(l,f)}),s},i.prototype.addMapping=function(a){var u=t.getArg(a,"generated"),c=t.getArg(a,"original",null),s=t.getArg(a,"source",null),l=t.getArg(a,"name",null);!this._skipValidation&&this._validateMapping(u,c,s,l)===!1||(s!=null&&(s=String(s),this._sources.has(s)||this._sources.add(s)),l!=null&&(l=String(l),this._names.has(l)||this._names.add(l)),this._mappings.add({generatedLine:u.line,generatedColumn:u.column,originalLine:c!=null&&c.line,originalColumn:c!=null&&c.column,source:s,name:l}))},i.prototype.setSourceContent=function(a,u){var c=a;this._sourceRoot!=null&&(c=t.relative(this._sourceRoot,c)),u!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(c)]=u):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(c)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},i.prototype.applySourceMap=function(a,u,c){var s=u;if(u==null){if(a.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);s=a.file}var l=this._sourceRoot;l!=null&&(s=t.relative(l,s));var h=new n,f=new n;this._mappings.unsortedForEach(function(m){if(m.source===s&&m.originalLine!=null){var y=a.originalPositionFor({line:m.originalLine,column:m.originalColumn});y.source!=null&&(m.source=y.source,c!=null&&(m.source=t.join(c,m.source)),l!=null&&(m.source=t.relative(l,m.source)),m.originalLine=y.line,m.originalColumn=y.column,y.name!=null&&(m.name=y.name))}var L=m.source;L!=null&&!h.has(L)&&h.add(L);var E=m.name;E!=null&&!f.has(E)&&f.add(E)},this),this._sources=h,this._names=f,a.sources.forEach(function(m){var y=a.sourceContentFor(m);y!=null&&(c!=null&&(m=t.join(c,m)),l!=null&&(m=t.relative(l,m)),this.setSourceContent(m,y))},this)},i.prototype._validateMapping=function(a,u,c,s){if(u&&typeof u.line!="number"&&typeof u.column!="number"){var l="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 typeof console<"u"&&console.warn&&console.warn(l),!1;throw new Error(l)}if(!(a&&"line"in a&&"column"in a&&a.line>0&&a.column>=0&&!u&&!c&&!s)){if(a&&"line"in a&&"column"in a&&u&&"line"in u&&"column"in u&&a.line>0&&a.column>=0&&u.line>0&&u.column>=0&&c)return;var l="Invalid mapping: "+JSON.stringify({generated:a,source:c,original:u,name:s});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(l),!1;throw new Error(l)}},i.prototype._serializeMappings=function(){for(var a=0,u=1,c=0,s=0,l=0,h=0,f="",m,y,L,E,w=this._mappings.toArray(),A=0,J=w.length;A<J;A++){if(y=w[A],m="",y.generatedLine!==u)for(a=0;y.generatedLine!==u;)m+=";",u++;else if(A>0){if(!t.compareByGeneratedPositionsInflated(y,w[A-1]))continue;m+=","}m+=e.encode(y.generatedColumn-a),a=y.generatedColumn,y.source!=null&&(E=this._sources.indexOf(y.source),m+=e.encode(E-h),h=E,m+=e.encode(y.originalLine-1-s),s=y.originalLine-1,m+=e.encode(y.originalColumn-c),c=y.originalColumn,y.name!=null&&(L=this._names.indexOf(y.name),m+=e.encode(L-l),l=L)),f+=m}return f},i.prototype._generateSourcesContent=function(a,u){return a.map(function(c){if(!this._sourcesContents)return null;u!=null&&(c=t.relative(u,c));var s=t.toSetString(c);return Object.prototype.hasOwnProperty.call(this._sourcesContents,s)?this._sourcesContents[s]:null},this)},i.prototype.toJSON=function(){var a={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(a.file=this._file),this._sourceRoot!=null&&(a.sourceRoot=this._sourceRoot),this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot)),a},i.prototype.toString=function(){return JSON.stringify(this.toJSON())},It.SourceMapGenerator=i,It}var ss=os();const Kn=new Set(["Atrule","Selector","Declaration"]);function as(e){const t=new ss.SourceMapGenerator,n={line:1,column:0},r={line:0,column:0},i={line:1,column:0},o={generated:i};let a=1,u=0,c=!1;const s=e.node;e.node=function(f){if(f.loc&&f.loc.start&&Kn.has(f.type)){const m=f.loc.start.line,y=f.loc.start.column-1;(r.line!==m||r.column!==y)&&(r.line=m,r.column=y,n.line=a,n.column=u,c&&(c=!1,(n.line!==i.line||n.column!==i.column)&&t.addMapping(o)),c=!0,t.addMapping({source:f.loc.source,original:r,generated:n}))}s.call(this,f),c&&Kn.has(f.type)&&(i.line=a,i.column=u)};const l=e.emit;e.emit=function(f,m,y){for(let L=0;L<f.length;L++)f.charCodeAt(L)===10?(a++,u=0):u++;l(f,m,y)};const h=e.result;return e.result=function(){return c&&t.addMapping(o),{css:h(),map:t}},e}const ls=43,cs=45,Rt=(e,t)=>{if(e===z&&(e=t),typeof e=="string"){const n=e.charCodeAt(0);return n>127?32768:n<<8}return e},Yr=[[b,b],[b,S],[b,W],[b,K],[b,"-"],[b,v],[b,P],[b,C],[b,Q],[b,_],[j,b],[j,S],[j,W],[j,K],[j,"-"],[j,v],[j,P],[j,C],[j,Q],[I,b],[I,S],[I,W],[I,K],[I,"-"],[I,v],[I,P],[I,C],[I,Q],[C,b],[C,S],[C,W],[C,K],[C,"-"],[C,v],[C,P],[C,C],[C,Q],["#",b],["#",S],["#",W],["#",K],["#","-"],["#",v],["#",P],["#",C],["#",Q],["-",b],["-",S],["-",W],["-",K],["-","-"],["-",v],["-",P],["-",C],["-",Q],[v,b],[v,S],[v,W],[v,K],[v,v],[v,P],[v,C],[v,"%"],[v,Q],["@",b],["@",S],["@",W],["@",K],["@","-"],["@",Q],[".",v],[".",P],[".",C],["+",v],["+",P],["+",C],["/","*"]],us=Yr.concat([[b,I],[C,I],[I,I],[j,_],[j,le],[j,G],[P,P],[P,C],[P,S],[P,"-"],[x,b],[x,S],[x,P],[x,C],[x,I],[x,"-"]]);function Xr(e){const t=new Set(e.map(([n,r])=>Rt(n)<<16|Rt(r)));return function(n,r,i){const o=Rt(r,i),a=i.charCodeAt(0);return(a===cs&&r!==b&&r!==S&&r!==Q||a===ls?t.has(n<<16|a<<8):t.has(n<<16|o))&&this.emit(" ",N,!0),o}}const hs=Xr(Yr),Zr=Xr(us),Qn=Object.freeze(Object.defineProperty({__proto__:null,safe:Zr,spec:hs},Symbol.toStringTag,{value:"Module"})),ps=92;function ds(e,t){if(typeof t=="function"){let n=null;e.children.forEach(r=>{n!==null&&t.call(this,n),this.node(r),n=r});return}e.children.forEach(this.node,this)}function fs(e){St(e,(t,n,r)=>{this.token(t,e.slice(n,r))})}function ms(e){const t=new Map;for(let[n,r]of Object.entries(e.node))typeof(r.generate||r)=="function"&&t.set(n,r.generate||r);return function(n,r){let i="",o=0,a={node(c){if(t.has(c.type))t.get(c.type).call(u,c);else throw new Error("Unknown node type: "+c.type)},tokenBefore:Zr,token(c,s){o=this.tokenBefore(o,c,s),this.emit(s,c,!1),c===z&&s.charCodeAt(0)===ps&&this.emit(`
7
+ `,N,!0)},emit(c){i+=c},result(){return i}};r&&(typeof r.decorator=="function"&&(a=r.decorator(a)),r.sourceMap&&(a=as(a)),r.mode in Qn&&(a.tokenBefore=Qn[r.mode]));const u={node:c=>a.node(c),children:ds,token:(c,s)=>a.token(c,s),tokenize:fs};return a.node(n),a.result()}}function gs(e){return{fromPlainObject(t){return e(t,{enter(n){n.children&&!(n.children instanceof D)&&(n.children=new D().fromArray(n.children))}}),t},toPlainObject(t){return e(t,{leave(n){n.children&&n.children instanceof D&&(n.children=n.children.toArray())}}),t}}}const{hasOwnProperty:kn}=Object.prototype,je=function(){};function Yn(e){return typeof e=="function"?e:je}function Xn(e,t){return function(n,r,i){n.type===t&&e.call(this,n,r,i)}}function bs(e,t){const n=t.structure,r=[];for(const i in n){if(kn.call(n,i)===!1)continue;let o=n[i];const a={name:i,type:!1,nullable:!1};Array.isArray(o)||(o=[o]);for(const u of o)u===null?a.nullable=!0:typeof u=="string"?a.type="node":Array.isArray(u)&&(a.type="list");a.type&&r.push(a)}return r.length?{context:t.walkContext,fields:r}:null}function ys(e){const t={};for(const n in e.node)if(kn.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]=bs(n,r)}return t}function Zn(e,t){const n=e.fields.slice(),r=e.context,i=typeof r=="string";return t&&n.reverse(),function(o,a,u,c){let s;i&&(s=a[r],a[r]=o);for(const l of n){const h=o[l.name];if(!l.nullable||h){if(l.type==="list"){if(t?h.reduceRight(c,!1):h.reduce(c,!1))return!0}else if(u(h))return!0}}i&&(a[r]=s)}}function Jn({StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:i}){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:i}}}function ks(e){const t=ys(e),n={},r={},i=Symbol("break-walk"),o=Symbol("skip-node");for(const s in t)kn.call(t,s)&&t[s]!==null&&(n[s]=Zn(t[s],!1),r[s]=Zn(t[s],!0));const a=Jn(n),u=Jn(r),c=function(s,l){function h(w,A,J){const T=f.call(E,w,A,J);return T===i?!0:T===o?!1:!!(y.hasOwnProperty(w.type)&&y[w.type](w,E,h,L)||m.call(E,w,A,J)===i)}let f=je,m=je,y=n,L=(w,A,J,T)=>w||h(A,J,T);const E={break:i,skip:o,root:s,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof l=="function")f=l;else if(l&&(f=Yn(l.enter),m=Yn(l.leave),l.reverse&&(y=r),l.visit)){if(a.hasOwnProperty(l.visit))y=l.reverse?u[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(", ")+")");f=Xn(f,l.visit),m=Xn(m,l.visit)}if(f===je&&m===je)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");h(s)};return c.break=i,c.skip=o,c.find=function(s,l){let h=null;return c(s,function(f,m,y){if(l.call(this,f,m,y))return h=f,i}),h},c.findLast=function(s,l){let h=null;return c(s,{reverse:!0,enter(f,m,y){if(l.call(this,f,m,y))return h=f,i}}),h},c.findAll=function(s,l){const h=[];return c(s,function(f,m,y){l.call(this,f,m,y)&&h.push(f)}),h},c}function xs(e){return e}function vs(e){const{min:t,max:n,comma:r}=e;return t===0&&n===0?r?"#?":"*":t===0&&n===1?"?":t===1&&n===0?r?"#":"+":t===1&&n===1?"":(r?"#":"")+(t===n?"{"+t+"}":"{"+t+","+(n!==0?n:"")+"}")}function ws(e){if(e.type==="Range")return" ["+(e.min===null?"-∞":e.min)+","+(e.max===null?"∞":e.max)+"]";throw new Error("Unknown node type `"+e.type+"`")}function Ss(e,t,n,r){const i=e.combinator===" "||r?e.combinator:" "+e.combinator+" ",o=e.terms.map(a=>bt(a,t,n,r)).join(i);return e.explicit||n?(r||o[0]===","?"[":"[ ")+o+(r?"]":" ]"):o}function bt(e,t,n,r){let i;switch(e.type){case"Group":i=Ss(e,t,n,r)+(e.disallowEmpty?"!":"");break;case"Multiplier":return bt(e.term,t,n,r)+t(vs(e),e);case"Boolean":i="<boolean-expr["+bt(e.term,t,n,r)+"]>";break;case"Type":i="<"+e.name+(e.opts?t(ws(e.opts),e.opts):"")+">";break;case"Property":i="<'"+e.name+"'>";break;case"Keyword":i=e.name;break;case"AtKeyword":i="@"+e.name;break;case"Function":i=e.name+"(";break;case"String":case"Token":i=e.value;break;case"Comma":i=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(i,e)}function xn(e,t){let n=xs,r=!1,i=!1;return typeof t=="function"?n=t:t&&(r=!!t.forceBraces,i=!!t.compact,typeof t.decorate=="function"&&(n=t.decorate)),bt(e,n,r,i)}const er={offset:0,line:1,column:1};function Cs(e,t){const n=e.tokens,r=e.longestMatch,i=r<n.length&&n[r].node||null,o=i!==t?i:null;let a=0,u=0,c=0,s="",l,h;for(let f=0;f<n.length;f++){const m=n[f].value;f===r&&(u=m.length,a=s.length),o!==null&&n[f].node===o&&(f<=r?c++:c=0),s+=m}return r===n.length||c>1?(l=rt(o||t,"end")||Re(er,s),h=Re(l)):(l=rt(o,"start")||Re(rt(t,"start")||er,s.slice(0,a)),h=rt(o,"end")||Re(l,s.substr(a,u))),{css:s,mismatchOffset:a,mismatchLength:u,start:l,end:h}}function rt(e,t){const n=e&&e.loc&&e.loc[t];return n?"line"in n?Re(n):n:null}function Re({offset:e,line:t,column:n},r){const i={offset:e,line:t,column:n};if(r){const o=r.split(/\n|\r\n?|\f/);i.offset+=r.length,i.line+=o.length-1,i.column=o.length===1?i.column+r.length:o.pop().length+1}return i}const Ne=function(e,t){const n=Ct("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},Ts=function(e,t,n,r){const i=Ct("SyntaxMatchError",e),{css:o,mismatchOffset:a,mismatchLength:u,start:c,end:s}=Cs(r,n);return i.rawMessage=e,i.syntax=t?xn(t):"<generic>",i.css=o,i.mismatchOffset=a,i.mismatchLength=u,i.message=e+`
8
+ syntax: `+i.syntax+`
9
+ value: `+(o||"<empty string>")+`
10
+ --------`+new Array(i.mismatchOffset+1).join("-")+"^",Object.assign(i,c),i.loc={source:n&&n.loc&&n.loc.source||"<unknown>",start:c,end:s},i},it=new Map,Ae=new Map,yt=45,Dt=zs,tr=As;function vn(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===yt&&e.charCodeAt(t+1)===yt}function Jr(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===yt&&e.charCodeAt(t+1)!==yt){const n=e.indexOf("-",t+2);if(n!==-1)return e.substring(t,n+1)}return""}function zs(e){if(it.has(e))return it.get(e);const t=e.toLowerCase();let n=it.get(t);if(n===void 0){const r=vn(t,0),i=r?"":Jr(t,0);n=Object.freeze({basename:t.substr(i.length),name:t,prefix:i,vendor:i,custom:r})}return it.set(e,n),n}function As(e){if(Ae.has(e))return Ae.get(e);let t=e,n=e[0];n==="/"?n=e[1]==="/"?"//":"/":n!=="_"&&n!=="*"&&n!=="$"&&n!=="#"&&n!=="+"&&n!=="&"&&(n="");const r=vn(t,n.length);if(!r&&(t=t.toLowerCase(),Ae.has(t))){const u=Ae.get(t);return Ae.set(e,u),u}const i=r?"":Jr(t,n.length),o=t.substr(0,n.length+i.length),a=Object.freeze({basename:t.substr(o.length),name:t.substr(n.length),hack:n,vendor:i,prefix:o,custom:r});return Ae.set(e,a),a}const wn=["initial","inherit","unset","revert","revert-layer"],He=43,he=45,Ft=110,Le=!0,Ls=!1;function tn(e,t){return e!==null&&e.type===z&&e.value.charCodeAt(0)===t}function qe(e,t,n){for(;e!==null&&(e.type===N||e.type===B);)e=n(++t);return t}function ye(e,t,n,r){if(!e)return 0;const i=e.value.charCodeAt(t);if(i===He||i===he){if(n)return 0;t++}for(;t<e.value.length;t++)if(!F(e.value.charCodeAt(t)))return 0;return r+1}function Bt(e,t,n){let r=!1,i=qe(e,t,n);if(e=n(i),e===null)return t;if(e.type!==v)if(tn(e,He)||tn(e,he)){if(r=!0,i=qe(n(++i),i,n),e=n(i),e===null||e.type!==v)return 0}else return t;if(!r){const o=e.value.charCodeAt(0);if(o!==He&&o!==he)return 0}return ye(e,r?0:1,r,i)}function Os(e,t){let n=0;if(!e)return 0;if(e.type===v)return ye(e,0,Ls,n);if(e.type===b&&e.value.charCodeAt(0)===he){if(!Me(e.value,1,Ft))return 0;switch(e.value.length){case 2:return Bt(t(++n),n,t);case 3:return e.value.charCodeAt(2)!==he?0:(n=qe(t(++n),n,t),e=t(n),ye(e,0,Le,n));default:return e.value.charCodeAt(2)!==he?0:ye(e,3,Le,n)}}else if(e.type===b||tn(e,He)&&t(n+1).type===b){if(e.type!==b&&(e=t(++n)),e===null||!Me(e.value,0,Ft))return 0;switch(e.value.length){case 1:return Bt(t(++n),n,t);case 2:return e.value.charCodeAt(1)!==he?0:(n=qe(t(++n),n,t),e=t(n),ye(e,0,Le,n));default:return e.value.charCodeAt(1)!==he?0:ye(e,2,Le,n)}}else if(e.type===C){let r=e.value.charCodeAt(0),i=r===He||r===he?1:0,o=i;for(;o<e.value.length&&F(e.value.charCodeAt(o));o++);return o===i||!Me(e.value,o,Ft)?0:o+1===e.value.length?Bt(t(++n),n,t):e.value.charCodeAt(o+1)!==he?0:o+2===e.value.length?(n=qe(t(++n),n,t),e=t(n),ye(e,0,Le,n)):ye(e,o+2,Le,n)}return 0}const _s=43,ei=45,ti=63,Es=117;function nn(e,t){return e!==null&&e.type===z&&e.value.charCodeAt(0)===t}function $s(e,t){return e.value.charCodeAt(0)===t}function De(e,t,n){let r=0;for(let i=t;i<e.value.length;i++){const o=e.value.charCodeAt(i);if(o===ei&&n&&r!==0)return De(e,t+r+1,!1),6;if(!xe(o)||++r>6)return 0}return r}function ot(e,t,n){if(!e)return 0;for(;nn(n(t),ti);){if(++e>6)return 0;t++}return t}function Ms(e,t){let n=0;if(e===null||e.type!==b||!Me(e.value,0,Es)||(e=t(++n),e===null))return 0;if(nn(e,_s))return e=t(++n),e===null?0:e.type===b?ot(De(e,0,!0),++n,t):nn(e,ti)?ot(1,++n,t):0;if(e.type===v){const r=De(e,1,!0);return r===0?0:(e=t(++n),e===null?n:e.type===C||e.type===v?!$s(e,ei)||!De(e,1,!1)?0:n+1:ot(r,n,t))}return e.type===C?ot(De(e,1,!0),++n,t):0}const Is=["calc(","-moz-calc(","-webkit-calc("],Sn=new Map([[S,x],[_,x],[ne,ae],[q,te]]);function se(e,t){return t<e.length?e.charCodeAt(t):0}function ni(e,t){return Ge(e,0,e.length,t)}function ri(e,t){for(let n=0;n<t.length;n++)if(ni(e,t[n]))return!0;return!1}function ii(e,t){return t!==e.length-2?!1:se(e,t)===92&&F(se(e,t+1))}function Tt(e,t,n){if(e&&e.type==="Range"){const r=Number(n!==void 0&&n!==t.length?t.substr(0,n):t);if(isNaN(r)||e.min!==null&&r<e.min&&typeof e.min!="string"||e.max!==null&&r>e.max&&typeof e.max!="string")return!0}return!1}function Ps(e,t){let n=0,r=[],i=0;e:do{switch(e.type){case te:case x:case ae:if(e.type!==n)break e;if(n=r.pop(),r.length===0){i++;break e}break;case S:case _:case ne:case q:r.push(n),n=Sn.get(e.type);break}i++}while(e=t(i));return i}function ee(e){return function(t,n,r){return t===null?0:t.type===S&&ri(t.value,Is)?Ps(t,n):e(t,n,r)}}function M(e){return function(t){return t===null||t.type!==e?0:1}}function Ns(e){if(e===null||e.type!==b)return 0;const t=e.value.toLowerCase();return ri(t,wn)||ni(t,"default")?0:1}function oi(e){return e===null||e.type!==b||se(e.value,0)!==45||se(e.value,1)!==45?0:1}function js(e){return!oi(e)||e.value==="--"?0:1}function Rs(e){if(e===null||e.type!==I)return 0;const t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9)return 0;for(let n=1;n<t;n++)if(!xe(se(e.value,n)))return 0;return 1}function Ds(e){return e===null||e.type!==I||!ct(se(e.value,1),se(e.value,2),se(e.value,3))?0:1}function Fs(e,t){if(!e)return 0;let n=0,r=[],i=0;e:do{switch(e.type){case vt:case K:break e;case te:case x:case ae:if(e.type!==n)break e;n=r.pop();break;case H:if(n===0)break e;break;case z:if(n===0&&e.value==="!")break e;break;case S:case _:case ne:case q:r.push(n),n=Sn.get(e.type);break}i++}while(e=t(i));return i}function Bs(e,t){if(!e)return 0;let n=0,r=[],i=0;e:do{switch(e.type){case vt:case K:break e;case te:case x:case ae:if(e.type!==n)break e;n=r.pop();break;case S:case _:case ne:case q:r.push(n),n=Sn.get(e.type);break}i++}while(e=t(i));return i}function me(e){return e&&(e=new Set(e)),function(t,n,r){if(t===null||t.type!==C)return 0;const i=wt(t.value,0);if(e!==null){const o=t.value.indexOf("\\",i),a=o===-1||!ii(t.value,o)?t.value.substr(i):t.value.substring(i,o);if(e.has(a.toLowerCase())===!1)return 0}return Tt(r,t.value,i)?0:1}}function qs(e,t,n){return e===null||e.type!==P||Tt(n,e.value,e.value.length-1)?0:1}function si(e){return typeof e!="function"&&(e=function(){return 0}),function(t,n,r){return t!==null&&t.type===v&&Number(t.value)===0?1:e(t,n,r)}}function Us(e,t,n){if(e===null)return 0;const r=wt(e.value,0);return!(r===e.value.length)&&!ii(e.value,r)||Tt(n,e.value,r)?0:1}function Ws(e,t,n){if(e===null||e.type!==v)return 0;let r=se(e.value,0)===43||se(e.value,0)===45?1:0;for(;r<e.value.length;r++)if(!F(se(e.value,r)))return 0;return Tt(n,e.value,r)?0:1}const Gs={"ident-token":M(b),"function-token":M(S),"at-keyword-token":M(j),"hash-token":M(I),"string-token":M(le),"bad-string-token":M(vt),"url-token":M(W),"bad-url-token":M(K),"delim-token":M(z),"number-token":M(v),"percentage-token":M(P),"dimension-token":M(C),"whitespace-token":M(N),"CDO-token":M(Qe),"CDC-token":M(Q),"colon-token":M(G),"semicolon-token":M(H),"comma-token":M(Y),"[-token":M(ne),"]-token":M(ae),"(-token":M(_),")-token":M(x),"{-token":M(q),"}-token":M(te)},Hs={string:M(le),ident:M(b),percentage:ee(qs),zero:si(),number:ee(Us),integer:ee(Ws),"custom-ident":Ns,"dashed-ident":oi,"custom-property-name":js,"hex-color":Rs,"id-selector":Ds,"an-plus-b":Os,urange:Ms,"declaration-value":Fs,"any-value":Bs};function Vs(e){const{angle:t,decibel:n,frequency:r,flex:i,length:o,resolution:a,semitones:u,time:c}=e||{};return{dimension:ee(me(null)),angle:ee(me(t)),decibel:ee(me(n)),frequency:ee(me(r)),flex:ee(me(i)),length:ee(si(me(o))),resolution:ee(me(a)),semitones:ee(me(u)),time:ee(me(c))}}function Ks(e){return{...Gs,...Hs,...Vs(e)}}const Qs=["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"],Ys=["deg","grad","rad","turn"],Xs=["s","ms"],Zs=["hz","khz"],Js=["dpi","dpcm","dppx","x"],ea=["fr"],ta=["db"],na=["st"],nr=Object.freeze(Object.defineProperty({__proto__:null,angle:Ys,decibel:ta,flex:ea,frequency:Zs,length:Qs,resolution:Js,semitones:na,time:Xs},Symbol.toStringTag,{value:"Module"}));function ra(e,t,n){return Object.assign(Ct("SyntaxError",e),{input:t,offset:n,rawMessage:e,message:e+`
11
+ `+t+`
12
+ --`+new Array((n||t.length)+1).join("-")+"^"})}const ia=9,oa=10,sa=12,aa=13,la=32,rr=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0);class ca{constructor(t){this.str=t,this.pos=0}charCodeAt(t){return t<this.str.length?this.str.charCodeAt(t):0}charCode(){return this.charCodeAt(this.pos)}isNameCharCode(t=this.charCode()){return t<128&&rr[t]===1}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(t){return this.charCodeAt(this.findWsEnd(t))}skipWs(){this.pos=this.findWsEnd(this.pos)}findWsEnd(t){for(;t<this.str.length;t++){const n=this.str.charCodeAt(t);if(n!==aa&&n!==oa&&n!==sa&&n!==la&&n!==ia)break}return t}substringToPos(t){return this.str.substring(this.pos,this.pos=t)}eat(t){this.charCode()!==t&&this.error("Expect `"+String.fromCharCode(t)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(t){throw new ra(t,this.str,this.pos)}scanSpaces(){return this.substringToPos(this.findWsEnd(this.pos))}scanWord(){let t=this.pos;for(;t<this.str.length;t++){const n=this.str.charCodeAt(t);if(n>=128||rr[n]===0)break}return this.pos===t&&this.error("Expect a keyword"),this.substringToPos(t)}scanNumber(){let t=this.pos;for(;t<this.str.length;t++){const n=this.str.charCodeAt(t);if(n<48||n>57)break}return this.pos===t&&this.error("Expect a number"),this.substringToPos(t)}scanString(){const t=this.str.indexOf("'",this.pos+1);return t===-1&&(this.pos=this.str.length,this.error("Expect an apostrophe")),this.substringToPos(t+1)}}const ua=9,ha=10,pa=12,da=13,fa=32,ai=33,Cn=35,ir=38,kt=39,li=40,ma=41,ci=42,Tn=43,zn=44,or=45,An=60,rn=62,on=63,ga=64,Ve=91,Ke=93,xt=123,sr=124,ar=125,lr=8734,cr={" ":1,"&&":2,"||":3,"|":4};function ur(e){let t=null,n=null;return e.eat(xt),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===zn?(e.pos++,e.skipWs(),e.charCode()!==ar&&(n=e.scanNumber(e),e.skipWs())):n=t,e.eat(ar),{min:Number(t),max:n?Number(n):0}}function ba(e){let t=null,n=!1;switch(e.charCode()){case ci:e.pos++,t={min:0,max:0};break;case Tn:e.pos++,t={min:1,max:0};break;case on:e.pos++,t={min:0,max:1};break;case Cn:e.pos++,n=!0,e.charCode()===xt?t=ur(e):e.charCode()===on?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case xt:t=ur(e);break;default:return null}return{type:"Multiplier",comma:n,min:t.min,max:t.max,term:null}}function ve(e,t){const n=ba(e);return n!==null?(n.term=t,e.charCode()===Cn&&e.charCodeAt(e.pos-1)===Tn?ve(e,n):n):t}function qt(e){const t=e.peek();return t===""?null:ve(e,{type:"Token",value:t})}function ya(e){let t;return e.eat(An),e.eat(kt),t=e.scanWord(),e.eat(kt),e.eat(rn),ve(e,{type:"Property",name:t})}function ka(e){let t=null,n=null,r=1;return e.eat(Ve),e.charCode()===or&&(e.peek(),r=-1),r==-1&&e.charCode()===lr?e.peek():(t=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(zn),e.skipWs(),e.charCode()===lr?e.peek():(r=1,e.charCode()===or&&(e.peek(),r=-1),n=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(n+=e.scanWord())),e.eat(Ke),{type:"Range",min:t,max:n}}function xa(e){let t,n=null;if(e.eat(An),t=e.scanWord(),t==="boolean-expr"){e.eat(Ve);const r=Ln(e,Ke);return e.eat(Ke),e.eat(rn),ve(e,{type:"Boolean",term:r.terms.length===1?r.terms[0]:r})}return e.charCode()===li&&e.nextCharCode()===ma&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===Ve&&(e.skipWs(),n=ka(e)),e.eat(rn),ve(e,{type:"Type",name:t,opts:n})}function va(e){const t=e.scanWord();return e.charCode()===li?(e.pos++,{type:"Function",name:t}):ve(e,{type:"Keyword",name:t})}function wa(e,t){function n(i,o){return{type:"Group",terms:i,combinator:o,disallowEmpty:!1,explicit:!1}}let r;for(t=Object.keys(t).sort((i,o)=>cr[i]-cr[o]);t.length>0;){r=t.shift();let i=0,o=0;for(;i<e.length;i++){const a=e[i];a.type==="Combinator"&&(a.value===r?(o===-1&&(o=i-1),e.splice(i,1),i--):(o!==-1&&i-o>1&&(e.splice(o,i-o,n(e.slice(o,i),r)),i=o+1),o=-1))}o!==-1&&t.length&&e.splice(o,i-o,n(e.slice(o,i),r))}return r}function Ln(e,t){const n=Object.create(null),r=[];let i,o=null,a=e.pos;for(;e.charCode()!==t&&(i=Ca(e,t));)i.type!=="Spaces"&&(i.type==="Combinator"?((o===null||o.type==="Combinator")&&(e.pos=a,e.error("Unexpected combinator")),n[i.value]=!0):o!==null&&o.type!=="Combinator"&&(n[" "]=!0,r.push({type:"Combinator",value:" "})),r.push(i),o=i,a=e.pos);return o!==null&&o.type==="Combinator"&&(e.pos-=a,e.error("Unexpected combinator")),{type:"Group",terms:r,combinator:wa(r,n)||" ",disallowEmpty:!1,explicit:!1}}function Sa(e,t){let n;return e.eat(Ve),n=Ln(e,t),e.eat(Ke),n.explicit=!0,e.charCode()===ai&&(e.pos++,n.disallowEmpty=!0),n}function Ca(e,t){let n=e.charCode();switch(n){case Ke:break;case Ve:return ve(e,Sa(e,t));case An:return e.nextCharCode()===kt?ya(e):xa(e);case sr:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===sr?2:1))};case ir:return e.pos++,e.eat(ir),{type:"Combinator",value:"&&"};case zn:return e.pos++,{type:"Comma"};case kt:return ve(e,{type:"String",value:e.scanString()});case fa:case ua:case ha:case da:case pa:return{type:"Spaces",value:e.scanSpaces()};case ga:return n=e.nextCharCode(),e.isNameCharCode(n)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):qt(e);case ci:case Tn:case on:case Cn:case ai:break;case xt:if(n=e.nextCharCode(),n<48||n>57)return qt(e);break;default:return e.isNameCharCode(n)?va(e):qt(e)}}function ui(e){const t=new ca(e),n=Ln(t);return t.pos!==e.length&&t.error("Unexpected input"),n.terms.length===1&&n.terms[0].type==="Group"?n.terms[0]:n}const Fe=function(){};function hr(e){return typeof e=="function"?e:Fe}function Ta(e,t,n){function r(a){switch(i.call(n,a),a.type){case"Group":a.terms.forEach(r);break;case"Multiplier":case"Boolean":r(a.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+a.type)}o.call(n,a)}let i=Fe,o=Fe;if(typeof t=="function"?i=t:t&&(i=hr(t.enter),o=hr(t.leave)),i===Fe&&o===Fe)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");r(e)}const za={decorator(e){const t=[];let n=null;return{...e,node(r){const i=n;n=r,e.node.call(this,r),n=i},emit(r,i,o){t.push({type:i,value:r,node:o?null:n})},result(){return t}}}};function Aa(e){const t=[];return St(e,(n,r,i)=>t.push({type:n,value:e.slice(r,i),node:null})),t}function La(e,t){return typeof e=="string"?Aa(e):t.generate(e,za)}const O={type:"Match"},$={type:"Mismatch"},On={type:"DisallowEmpty"},Oa=40,_a=41;function U(e,t,n){return t===O&&n===$||e===O&&t===O&&n===O?e:(e.type==="If"&&e.else===$&&t===O&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function hi(e){return e.length>2&&e.charCodeAt(e.length-2)===Oa&&e.charCodeAt(e.length-1)===_a}function pr(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&hi(e.name)}function ge(e,t=" ",n=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:n}}function Ue(e,t,n=new Set){if(!n.has(e))switch(n.add(e),e.type){case"If":e.match=Ue(e.match,t,n),e.then=Ue(e.then,t,n),e.else=Ue(e.else,t,n);break;case"Type":return t[e.name]||e}return e}function sn(e,t,n){switch(e){case" ":{let r=O;for(let i=t.length-1;i>=0;i--){const o=t[i];r=U(o,r,$)}return r}case"|":{let r=$,i=null;for(let o=t.length-1;o>=0;o--){let a=t[o];if(pr(a)&&(i===null&&o>0&&pr(t[o-1])&&(i=Object.create(null),r=U({type:"Enum",map:i},O,r)),i!==null)){const u=(hi(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(u in i)){i[u]=a;continue}}i=null,r=U(a,O,r)}return r}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let r=$;for(let i=t.length-1;i>=0;i--){const o=t[i];let a;t.length>1?a=sn(e,t.filter(function(u){return u!==o}),!1):a=O,r=U(o,a,r)}return r}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let r=n?O:$;for(let i=t.length-1;i>=0;i--){const o=t[i];let a;t.length>1?a=sn(e,t.filter(function(u){return u!==o}),!0):a=O,r=U(o,a,r)}return r}}}function Ea(e){let t=O,n=_e(e.term);if(e.max===0)n=U(n,On,$),t=U(n,null,$),t.then=U(O,O,t),e.comma&&(t.then.else=U({type:"Comma",syntax:e},t,$));else for(let r=e.min||1;r<=e.max;r++)e.comma&&t!==O&&(t=U({type:"Comma",syntax:e},t,$)),t=U(n,U(O,O,t),$);if(e.min===0)t=U(O,O,t);else for(let r=0;r<e.min-1;r++)e.comma&&t!==O&&(t=U({type:"Comma",syntax:e},t,$)),t=U(n,t,$);return t}function _e(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=sn(e.combinator,e.terms.map(_e),!1);return e.disallowEmpty&&(t=U(t,On,$)),t}case"Multiplier":return Ea(e);case"Boolean":{const t=_e(e.term),n=_e(ge([ge([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),ge([{type:"Type",name:"!boolean-group"},ge([{type:"Multiplier",comma:!1,min:0,max:0,term:ge([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:ge([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),r=_e(ge([{type:"Type",name:"!term"},ge([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return Ue(r,{"!term":t,"!self":n}),Ue(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 e.value.length===3?{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 st(e,t){return typeof e=="string"&&(e=ui(e)),{type:"MatchGraph",match:_e(e),syntax:t||null,source:e}}const{hasOwnProperty:dr}=Object.prototype,$a=0,Ma=1,an=2,pi=3,fr="Match",Ia="Mismatch",Pa="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",mr=15e3;function Na(e){let t=null,n=null,r=e;for(;r!==null;)n=r.prev,r.prev=t,t=r,r=n;return t}function Ut(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){const r=t.charCodeAt(n);let i=e.charCodeAt(n);if(i>=65&&i<=90&&(i=i|32),i!==r)return!1}return!0}function ja(e){return e.type!==z?!1:e.value!=="?"}function gr(e){return e===null?!0:e.type===Y||e.type===S||e.type===_||e.type===ne||e.type===q||ja(e)}function br(e){return e===null?!0:e.type===x||e.type===ae||e.type===te||e.type===z&&e.value==="/"}function Ra(e,t,n){function r(){do A++,w=A<e.length?e[A]:null;while(w!==null&&(w.type===N||w.type===B))}function i(X){const re=A+X;return re<e.length?e[re]:null}function o(X,re){return{nextState:X,matchStack:T,syntaxStack:h,thenStack:f,tokenIndex:A,prev:re}}function a(X){f={nextState:X,matchStack:T,syntaxStack:h,prev:f}}function u(X){m=o(X,m)}function c(){T={type:Ma,syntax:t.syntax,token:w,prev:T},r(),y=null,A>J&&(J=A)}function s(){h={syntax:t.syntax,opts:t.syntax.opts||h!==null&&h.opts||null,prev:h},T={type:an,syntax:t.syntax,token:T.token,prev:T}}function l(){T.type===an?T=T.prev:T={type:pi,syntax:h.syntax,token:T.token,prev:T},h=h.prev}let h=null,f=null,m=null,y=null,L=0,E=null,w=null,A=-1,J=0,T={type:$a,syntax:null,token:null,prev:null};for(r();E===null&&++L<mr;)switch(t.type){case"Match":if(f===null){if(w!==null&&(A!==e.length-1||w.value!=="\\0"&&w.value!=="\\9")){t=$;break}E=fr;break}if(t=f.nextState,t===On)if(f.matchStack===T){t=$;break}else t=O;for(;f.syntaxStack!==h;)l();f=f.prev;break;case"Mismatch":if(y!==null&&y!==!1)(m===null||A>m.tokenIndex)&&(m=y,y=!1);else if(m===null){E=Ia;break}t=m.nextState,f=m.thenStack,h=m.syntaxStack,T=m.matchStack,A=m.tokenIndex,w=A<e.length?e[A]:null,m=m.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==$&&u(t.else),t.then!==O&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{const R=t.syntax.terms;if(t.index===R.length){if(t.mask===0||t.syntax.all){t=$;break}t=O;break}if(t.mask===(1<<R.length)-1){t=O;break}for(;t.index<R.length;t.index++){const p=1<<t.index;if((t.mask&p)===0){u(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|p}),t=R[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(w!==null){let R=w.value.toLowerCase();if(R.indexOf("\\")!==-1&&(R=R.replace(/\\[09].*$/,"")),dr.call(t.map,R)){t=t.map[R];break}}t=$;break;case"Generic":{const R=h!==null?h.opts:null,p=A+Math.floor(t.fn(w,i,R));if(!isNaN(p)&&p>A){for(;A<p;)c();t=O}else t=$;break}case"Type":case"Property":{const R=t.type==="Type"?"types":"properties",p=dr.call(n,R)?n[R][t.name]:null;if(!p||!p.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(y!==!1&&w!==null&&t.type==="Type"&&(t.name==="custom-ident"&&w.type===b||t.name==="length"&&w.value==="0")){y===null&&(y=o(t,m)),t=$;break}s(),t=p.matchRef||p.match;break}case"Keyword":{const R=t.name;if(w!==null){let p=w.value;if(p.indexOf("\\")!==-1&&(p=p.replace(/\\[09].*$/,"")),Ut(p,R)){c(),t=O;break}}t=$;break}case"AtKeyword":case"Function":if(w!==null&&Ut(w.value,t.name)){c(),t=O;break}t=$;break;case"Token":if(w!==null&&w.value===t.value){c(),t=O;break}t=$;break;case"Comma":w!==null&&w.type===Y?gr(T.token)?t=$:(c(),t=br(w)?$:O):t=gr(T.token)||br(w)?O:$;break;case"String":let X="",re=A;for(;re<e.length&&X.length<t.value.length;re++)X+=e[re].value;if(Ut(X,t.value)){for(;A<re;)c();t=O}else t=$;break;default:throw new Error("Unknown node type: "+t.type)}switch(E){case null:console.warn("[csstree-match] BREAK after "+mr+" iterations"),E=Pa,T=null;break;case fr:for(;h!==null;)l();break;default:T=null}return{tokens:e,reason:E,iterations:L,match:T,longestMatch:J}}function yr(e,t,n){const r=Ra(e,t,n||{});if(r.match===null)return r;let i=r.match,o=r.match={syntax:t.syntax||null,match:[]};const a=[o];for(i=Na(i).prev;i!==null;){switch(i.type){case an:o.match.push(o={syntax:i.syntax,match:[]}),a.push(o);break;case pi:a.pop(),o=a[a.length-1];break;default:o.match.push({syntax:i.syntax||null,token:i.token.value,node:i.token.node})}i=i.prev}return r}function di(e){function t(i){return i===null?!1:i.type==="Type"||i.type==="Property"||i.type==="Keyword"}function n(i){if(Array.isArray(i.match)){for(let o=0;o<i.match.length;o++)if(n(i.match[o]))return t(i.syntax)&&r.unshift(i.syntax),!0}else if(i.node===e)return r=t(i.syntax)?[i.syntax]:[],!0;return!1}let r=null;return this.matched!==null&&n(this.matched),r}function Da(e,t){return _n(this,e,n=>n.type==="Type"&&n.name===t)}function Fa(e,t){return _n(this,e,n=>n.type==="Property"&&n.name===t)}function Ba(e){return _n(this,e,t=>t.type==="Keyword")}function _n(e,t,n){const r=di.call(e,t);return r===null?!1:r.some(n)}const qa=Object.freeze(Object.defineProperty({__proto__:null,getTrace:di,isKeyword:Ba,isProperty:Fa,isType:Da},Symbol.toStringTag,{value:"Module"}));function fi(e){return"node"in e?e.node:fi(e.match[0])}function mi(e){return"node"in e?e.node:mi(e.match[e.match.length-1])}function kr(e,t,n,r,i){function o(u){if(u.syntax!==null&&u.syntax.type===r&&u.syntax.name===i){const c=fi(u),s=mi(u);e.syntax.walk(t,function(l,h,f){if(l===c){const m=new D;do{if(m.appendData(h.data),h.data===s)break;h=h.next}while(h!==null);a.push({parent:f,nodes:m})}})}Array.isArray(u.match)&&u.match.forEach(o)}const a=[];return n.matched!==null&&o(n.matched),a}const{hasOwnProperty:We}=Object.prototype;function Wt(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function xr(e){return!!e&&Wt(e.offset)&&Wt(e.line)&&Wt(e.column)}function Ua(e,t){return function(r,i){if(!r||r.constructor!==Object)return i(r,"Type of node should be an Object");for(let o in r){let a=!0;if(We.call(r,o)!==!1){if(o==="type")r.type!==e&&i(r,"Wrong node type `"+r.type+"`, expected `"+e+"`");else if(o==="loc"){if(r.loc===null)continue;if(r.loc&&r.loc.constructor===Object)if(typeof r.loc.source!="string")o+=".source";else if(!xr(r.loc.start))o+=".start";else if(!xr(r.loc.end))o+=".end";else continue;a=!1}else if(t.hasOwnProperty(o)){a=!1;for(let u=0;!a&&u<t[o].length;u++){const c=t[o][u];switch(c){case String:a=typeof r[o]=="string";break;case Boolean:a=typeof r[o]=="boolean";break;case null:a=r[o]===null;break;default:typeof c=="string"?a=r[o]&&r[o].type===c:Array.isArray(c)&&(a=r[o]instanceof D)}}}else i(r,"Unknown field `"+o+"` for "+e+" node type");a||i(r,"Bad value for `"+e+"."+o+"`")}}for(const o in t)We.call(t,o)&&We.call(r,o)===!1&&i(r,"Field `"+e+"."+o+"` is missed")}}function gi(e,t){const n=[];for(let r=0;r<e.length;r++){const i=e[r];if(i===String||i===Boolean)n.push(i.name.toLowerCase());else if(i===null)n.push("null");else if(typeof i=="string")n.push(i);else if(Array.isArray(i))n.push("List<"+(gi(i,t)||"any")+">");else throw new Error("Wrong value `"+i+"` in `"+t+"` structure definition")}return n.join(" | ")}function Wa(e,t){const n=t.structure,r={type:String,loc:!0},i={type:'"'+e+'"'};for(const o in n){if(We.call(n,o)===!1)continue;const a=r[o]=Array.isArray(n[o])?n[o].slice():[n[o]];i[o]=gi(a,e+"."+o)}return{docs:i,check:Ua(e,r)}}function Ga(e){const t={};if(e.node){for(const n in e.node)if(We.call(e.node,n)){const r=e.node[n];if(r.structure)t[n]=Wa(n,r);else throw new Error("Missed `structure` field in `"+n+"` node type definition")}}return t}function ln(e,t,n){const r={};for(const i in e)e[i].syntax&&(r[i]=n?e[i].syntax:xn(e[i].syntax,{compact:t}));return r}function Ha(e,t,n){const r={};for(const[i,o]of Object.entries(e))r[i]={prelude:o.prelude&&(n?o.prelude.syntax:xn(o.prelude.syntax,{compact:t})),descriptors:o.descriptors&&ln(o.descriptors,t,n)};return r}function Va(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function Ka(e){const t=e.terms[0];return e.explicit===!1&&e.terms.length===1&&t.type==="Multiplier"&&t.comma===!0}function oe(e,t,n){return{matched:e,iterations:n,error:t,...qa}}function Oe(e,t,n,r){const i=La(n,e.syntax);let o;return Va(i)?oe(null,new Error("Matching for a tree with var() is not supported")):(r&&(o=yr(i,e.cssWideKeywordsSyntax,e)),(!r||!o.match)&&(o=yr(i,t.match,e),!o.match)?oe(null,new Ts(o.reason,t.syntax,n,o),o.iterations):oe(o.match,null,o.iterations))}class vr{constructor(t,n,r){if(this.cssWideKeywords=wn,this.syntax=n,this.generic=!1,this.units={...nr},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=r||Ga(t),t){if(t.cssWideKeywords&&(this.cssWideKeywords=t.cssWideKeywords),t.units)for(const i of Object.keys(nr))Array.isArray(t.units[i])&&(this.units[i]=t.units[i]);if(t.types)for(const[i,o]of Object.entries(t.types))this.addType_(i,o);if(t.generic){this.generic=!0;for(const[i,o]of Object.entries(Ks(this.units)))this.addType_(i,o)}if(t.atrules)for(const[i,o]of Object.entries(t.atrules))this.addAtrule_(i,o);if(t.properties)for(const[i,o]of Object.entries(t.properties))this.addProperty_(i,o)}this.cssWideKeywordsSyntax=st(this.cssWideKeywords.join(" | "))}checkStructure(t){function n(o,a){i.push({node:o,message:a})}const r=this.structure,i=[];return this.syntax.walk(t,function(o){r.hasOwnProperty(o.type)?r[o.type].check(o,n):n(o,"Unknown node type `"+o.type+"`")}),i.length?i:!1}createDescriptor(t,n,r,i=null){const o={type:n,name:r},a={type:n,name:r,parent:i,serializable:typeof t=="string"||t&&typeof t.type=="string",syntax:null,match:null,matchRef:null};return typeof t=="function"?a.match=st(t,o):(typeof t=="string"?Object.defineProperty(a,"syntax",{get(){return Object.defineProperty(a,"syntax",{value:ui(t)}),a.syntax}}):a.syntax=t,Object.defineProperty(a,"match",{get(){return Object.defineProperty(a,"match",{value:st(a.syntax,o)}),a.match}}),n==="Property"&&Object.defineProperty(a,"matchRef",{get(){const u=a.syntax,c=Ka(u)?st({...u,terms:[u.terms[0].term]},o):null;return Object.defineProperty(a,"matchRef",{value:c}),c}})),a}addAtrule_(t,n){n&&(this.atrules[t]={type:"Atrule",name:t,prelude:n.prelude?this.createDescriptor(n.prelude,"AtrulePrelude",t):null,descriptors:n.descriptors?Object.keys(n.descriptors).reduce((r,i)=>(r[i]=this.createDescriptor(n.descriptors[i],"AtruleDescriptor",i,t),r),Object.create(null)):null})}addProperty_(t,n){n&&(this.properties[t]=this.createDescriptor(n,"Property",t))}addType_(t,n){n&&(this.types[t]=this.createDescriptor(n,"Type",t))}checkAtruleName(t){if(!this.getAtrule(t))return new Ne("Unknown at-rule","@"+t)}checkAtrulePrelude(t,n){const r=this.checkAtruleName(t);if(r)return r;const i=this.getAtrule(t);if(!i.prelude&&n)return new SyntaxError("At-rule `@"+t+"` should not contain a prelude");if(i.prelude&&!n&&!Oe(this,i.prelude,"",!1).matched)return new SyntaxError("At-rule `@"+t+"` should contain a prelude")}checkAtruleDescriptorName(t,n){const r=this.checkAtruleName(t);if(r)return r;const i=this.getAtrule(t),o=Dt(n);if(!i.descriptors)return new SyntaxError("At-rule `@"+t+"` has no known descriptors");if(!i.descriptors[o.name]&&!i.descriptors[o.basename])return new Ne("Unknown at-rule descriptor",n)}checkPropertyName(t){if(!this.getProperty(t))return new Ne("Unknown property",t)}matchAtrulePrelude(t,n){const r=this.checkAtrulePrelude(t,n);if(r)return oe(null,r);const i=this.getAtrule(t);return i.prelude?Oe(this,i.prelude,n||"",!1):oe(null,null)}matchAtruleDescriptor(t,n,r){const i=this.checkAtruleDescriptorName(t,n);if(i)return oe(null,i);const o=this.getAtrule(t),a=Dt(n);return Oe(this,o.descriptors[a.name]||o.descriptors[a.basename],r,!1)}matchDeclaration(t){return t.type!=="Declaration"?oe(null,new Error("Not a Declaration node")):this.matchProperty(t.property,t.value)}matchProperty(t,n){if(tr(t).custom)return oe(null,new Error("Lexer matching doesn't applicable for custom properties"));const r=this.checkPropertyName(t);return r?oe(null,r):Oe(this,this.getProperty(t),n,!0)}matchType(t,n){const r=this.getType(t);return r?Oe(this,r,n,!1):oe(null,new Ne("Unknown type",t))}match(t,n){return typeof t!="string"&&(!t||!t.type)?oe(null,new Ne("Bad syntax")):((typeof t=="string"||!t.match)&&(t=this.createDescriptor(t,"Type","anonymous")),Oe(this,t,n,!1))}findValueFragments(t,n,r,i){return kr(this,n,this.matchProperty(t,n),r,i)}findDeclarationValueFragments(t,n,r){return kr(this,t.value,this.matchDeclaration(t),n,r)}findAllFragments(t,n,r){const i=[];return this.syntax.walk(t,{visit:"Declaration",enter:o=>{i.push.apply(i,this.findDeclarationValueFragments(o,n,r))}}),i}getAtrule(t,n=!0){const r=Dt(t);return(r.vendor&&n?this.atrules[r.name]||this.atrules[r.basename]:this.atrules[r.name])||null}getAtrulePrelude(t,n=!0){const r=this.getAtrule(t,n);return r&&r.prelude||null}getAtruleDescriptor(t,n){return this.atrules.hasOwnProperty(t)&&this.atrules.declarators&&this.atrules[t].declarators[n]||null}getProperty(t,n=!0){const r=tr(t);return(r.vendor&&n?this.properties[r.name]||this.properties[r.basename]:this.properties[r.name])||null}getType(t){return hasOwnProperty.call(this.types,t)?this.types[t]:null}validate(){function t(c,s){return s?`<${c}>`:`<'${c}'>`}function n(c,s,l,h){if(l.has(s))return l.get(s);l.set(s,!1),h.syntax!==null&&Ta(h.syntax,function(f){if(f.type!=="Type"&&f.type!=="Property")return;const m=f.type==="Type"?c.types:c.properties,y=f.type==="Type"?i:o;hasOwnProperty.call(m,f.name)?n(c,f.name,y,m[f.name])&&(r.push(`${t(s,l===i)} used broken syntax definition ${t(f.name,f.type==="Type")}`),l.set(s,!0)):(r.push(`${t(s,l===i)} used missed syntax definition ${t(f.name,f.type==="Type")}`),l.set(s,!0))},this)}const r=[];let i=new Map,o=new Map;for(const c in this.types)n(this,c,i,this.types[c]);for(const c in this.properties)n(this,c,o,this.properties[c]);const a=[...i.keys()].filter(c=>i.get(c)),u=[...o.keys()].filter(c=>o.get(c));return a.length||u.length?{errors:r,types:a,properties:u}:null}dump(t,n){return{generic:this.generic,cssWideKeywords:this.cssWideKeywords,units:this.units,types:ln(this.types,!n,t),properties:ln(this.properties,!n,t),atrules:Ha(this.atrules,!n,t)}}toString(){return JSON.stringify(this.dump())}}function Gt(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function wr(e,t){const n=Object.create(null);for(const[r,i]of Object.entries(e))if(i){n[r]={};for(const o of Object.keys(i))t.includes(o)&&(n[r][o]=i[o])}return n}function cn(e,t){const n={...e};for(const[r,i]of Object.entries(t))switch(r){case"generic":n[r]=!!i;break;case"cssWideKeywords":n[r]=e[r]?[...e[r],...i]:i||[];break;case"units":n[r]={...e[r]};for(const[o,a]of Object.entries(i))n[r][o]=Array.isArray(a)?a:[];break;case"atrules":n[r]={...e[r]};for(const[o,a]of Object.entries(i)){const u=n[r][o]||{},c=n[r][o]={prelude:u.prelude||null,descriptors:{...u.descriptors}};if(a){c.prelude=a.prelude?Gt(c.prelude,a.prelude):c.prelude||null;for(const[s,l]of Object.entries(a.descriptors||{}))c.descriptors[s]=l?Gt(c.descriptors[s],l):null;Object.keys(c.descriptors).length||(c.descriptors=null)}}break;case"types":case"properties":n[r]={...e[r]};for(const[o,a]of Object.entries(i))n[r][o]=Gt(n[r][o],a);break;case"scope":case"features":n[r]={...e[r]};for(const[o,a]of Object.entries(i))n[r][o]={...n[r][o],...a};break;case"parseContext":n[r]={...e[r],...i};break;case"atrule":case"pseudo":n[r]={...e[r],...wr(i,["parse"])};break;case"node":n[r]={...e[r],...wr(i,["name","structure","parse","generate","walkContext"])};break}return n}function bi(e){const t=es(e),n=ks(e),r=ms(e),{fromPlainObject:i,toPlainObject:o}=gs(n),a={lexer:null,createLexer:u=>new vr(u,a,a.lexer.structure),tokenize:St,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:i,toPlainObject:o,fork(u){const c=cn({},e);return bi(typeof u=="function"?u(c):cn(c,u))}};return a.lexer=new vr({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}const Qa=e=>bi(cn({},e)),Ya={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>","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>","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>","asin()":"asin( <calc-sum> )","atan()":"atan( <calc-sum> )","atan2()":"atan2( <calc-sum> , <calc-sum> )",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <type-or-unit>? [, <attr-fallback>]? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","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()>","bg-image":"none|<image>","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<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>|auto]{1,2}|cover|contain","blur()":"blur( <length> )","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity",box:"border-box|padding-box|content-box","brightness()":"brightness( <number-percentage> )","calc()":"calc( <calc-sum> )","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-value":"<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )","calc-constant":"e|pi|infinity|-infinity|NaN","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( [<shape-radius>]? [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-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"<angle-percentage>{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"[<linear-color-stop> [, <linear-color-hint>]?]# , <linear-color-stop>","color-interpolation-method":"in [<rectangular-color-space>|<polar-color-space> <hue-interpolation-method>?|<custom-color-space>]",combinator:"'>'|'+'|'~'|['|' '|']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|push-button|slider-horizontal|checkbox|radio|square-button|menulist|listbox|meter|progress-bar|button","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[<type-selector>? <subclass-selector>*]!","compound-selector-list":"<compound-selector>#","complex-selector":"<complex-selector-unit> [<combinator>? <complex-selector-unit>]*","complex-selector-list":"<complex-selector>#","conic-gradient()":"conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","contextual-alt-values":"[contextual|no-contextual]","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>","contrast()":"contrast( [<number-percentage>] )","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-timing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( <length>{2,3} <color>? )","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( [<shape-radius>{2}]? [at <position>]? )","ending-shape":"circle|ellipse","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>","fill-rule":"nonzero|evenodd","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-function-list":"[<filter-function>|<url>]+","final-bg-layer":"<'background-color'>||<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","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-css21":"[normal|small-caps]","font-weight-absolute":"normal|bold|<number [1,1000]>","frequency-percentage":"<frequency>|<percentage>","general-enclosed":"[<function-token> <any-value>? )]|[( <any-value>? )]","generic-family":"<generic-script-specific>|<generic-complete>|<generic-incomplete>|<-non-standard-generic-family>","generic-name":"serif|sans-serif|cursive|fantasy|monospace","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> , <percentage> , <percentage> , <alpha-value>? )","hsla()":"hsla( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )",hue:"<number>|<angle>","hue-rotate()":"hue-rotate( <angle> )","hue-interpolation-method":"[shorter|longer|increasing|decreasing] hue","hwb()":"hwb( [<hue>|none] [<percentage>|none] [<percentage>|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> )","keyframes-name":"<custom-ident>|<string>","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-block-list":"<keyframe-block>+","keyframe-selector":"from|to|<percentage>|<timeline-range-name> <percentage>","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-names":"'[' <custom-ident>* ']'","line-name-list":"[<line-names>|<name-repeat>]+","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-gradient()":"linear-gradient( [[<angle>|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> )","name-repeat":"repeat( [<integer [1,∞]>|auto-fill] , <line-names>+ )","named-color":"transparent|aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen","namespace-prefix":"<ident>","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]",nth:"<an-plus-b>|even|odd","opacity()":"opacity( [<number-percentage>] )","overflow-position":"unsafe|safe","outline-radius":"<length>|<percentage>","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-list":"[<page-selector>#]?","page-selector":"<pseudo-page>+|<ident> <pseudo-page>*","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger","path()":"path( [<fill-rule> ,]? <string> )","paint()":"paint( <ident> , <declaration-value>? )","perspective()":"perspective( [<length [0,∞]>|none] )","polygon()":"polygon( <fill-rule>? , [<length-percentage> <length-percentage>]# )","polar-color-space":"hsl|hwb|lch|oklch",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>]]","pow()":"pow( <calc-sum> , <calc-sum> )","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]",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-gradient()":"radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )",ratio:"<number [0,∞]> [/ <number [0,∞]>]?","ray()":"ray( <angle>&&<ray-size>?&&contain?&&[at <position>]? )","ray-size":"closest-side|closest-corner|farthest-side|farthest-corner|sides","rectangular-color-space":"srgb|srgb-linear|display-p3|a98-rgb|prophoto-rgb|rec2020|lab|oklab|xyz|xyz-d50|xyz-d65","relative-selector":"<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( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","repeating-linear-gradient()":"repeating-linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","repeating-radial-gradient()":"repeating-radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )","reversed-counter-name":"reversed( <counter-name> )","rgb()":"rgb( <percentage>{3} [/ <alpha-value>]? )|rgb( <number>{3} [/ <alpha-value>]? )|rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )","rgba()":"rgba( <percentage>{3} [/ <alpha-value>]? )|rgba( <number>{3} [/ <alpha-value>]? )|rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )","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>] )","scroll()":"scroll( [<axis>||<scroller>]? )",scroller:"root|nearest|self","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","shape-radius":"<length-percentage>|closest-side|farthest-side","sign()":"sign( <calc-sum> )","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","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":"<box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","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-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}","sqrt()":"sqrt( <calc-sum> )","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-timing-function":"step-start|step-end|steps( <integer> [, <step-position>]? )","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-decl":"( <declaration> )","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>","system-color":"AccentColor|AccentColorText|ActiveText|ButtonBorder|ButtonFace|ButtonText|Canvas|CanvasText|Field|FieldText|GrayText|Highlight|HighlightText|LinkText|Mark|MarkText|SelectedItem|SelectedItemText|VisitedText","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]? )","time-percentage":"<time>|<percentage>","timeline-range-name":"cover|contain|entry|exit|entry-crossing|exit-crossing","easing-function":"linear|<cubic-bezier-timing-function>|<step-timing-function>","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> )","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>","-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>? )","absolute-color-base":"<hex-color>|<absolute-color-function>|<named-color>|transparent","absolute-color-function":"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>",age:"child|young|old","anchor-name":"<dashed-ident>","attr-name":"<wq-name>","attr-fallback":"<any-value>","bg-clip":"<box>|border|text",bottom:"<length>|auto","container-name":"<custom-ident>","container-condition":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","coord-box":"content-box|padding-box|border-box|fill-box|stroke-box|view-box","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral","generic-script-specific":"generic( kai )|generic( fangsong )|generic( nastaliq )","generic-complete":"serif|sans-serif|system-ui|cursive|fantasy|math|monospace","generic-incomplete":"ui-serif|ui-sans-serif|ui-monospace|ui-rounded","-non-standard-generic-family":"-apple-system|BlinkMacSystemFont",left:"<length>|auto","color-base":"<hex-color>|<color-function>|<named-color>|<color-mix()>|transparent","color-function":"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>","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-mix()":"color-mix( <color-interpolation-method> , [<color>&&<percentage [0,100]>?]#{2} )","color-space":"<rectangular-color-space>|<polar-color-space>|<custom-color-space>","custom-color-space":"<dashed-ident>",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke","palette-identifier":"<dashed-ident>",right:"<length>|auto","scope-start":"<forgiving-selector-list>","scope-end":"<forgiving-selector-list>","forgiving-selector-list":"<complex-real-selector-list>","forgiving-relative-selector-list":"<relative-real-selector-list>","selector-list":"<complex-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]","single-animation-composition":"replace|add|accumulate","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,∞]>","color()":"color( <colorspace-params> [/ [<alpha-value>|none]]? )","colorspace-params":"[<predefined-rgb-params>|<xyz-params>]","predefined-rgb-params":"<predefined-rgb> [<number>|<percentage>|none]{3}","predefined-rgb":"srgb|srgb-linear|display-p3|a98-rgb|prophoto-rgb|rec2020","xyz-params":"<xyz-space> [<number>|<percentage>|none]{3}","xyz-space":"xyz|xyz-d50|xyz-d65","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]]? )","offset-path":"<ray()>|<url>|<basic-shape>","rect()":"rect( [<length-percentage>|auto]{4} [round <'border-radius'>]? )","xywh()":"xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [round <'border-radius'>]? )","query-in-parens":"( <container-condition> )|( <size-feature> )|style( <style-query> )|<general-enclosed>","size-feature":"<mf-plain>|<mf-boolean>|<mf-range>","style-feature":"<declaration>","style-query":"<style-condition>|<style-feature>","style-condition":"not <style-in-parens>|<style-in-parens> [[and <style-in-parens>]*|[or <style-in-parens>]*]","style-in-parens":"( <style-condition> )|( <style-feature> )|<general-enclosed>","-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}]","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}]","anchor()":"anchor( <anchor-element>?&&<anchor-side> , <length-percentage>? )","anchor-side":"inside|outside|top|left|right|bottom|start|end|self-start|self-end|<percentage>|center","anchor-size()":"anchor-size( [<anchor-element>||<anchor-size>]? , <length-percentage>? )","anchor-size":"width|height|block|inline|self-block|self-inline","anchor-element":"<dashed-ident>","try-size":"most-width|most-height|most-block-size|most-inline-size","try-tactic":"flip-block||flip-inline||flip-start","font-variant-css2":"normal|small-caps","font-width-css3":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","system-family-name":"caption|icon|menu|message-box|small-caption|status-bar"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zooming":"none|zoom","-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-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-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-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-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-image-region":"<shape>|auto","-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>||[<box>|border|padding|content|text]||[<box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<box>|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<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","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>]","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#",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":"<time>#","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-timing-function":"<easing-function>#","animation-timeline":"<single-animation-timeline>#",appearance:"none|auto|textfield|menulist-button|<compat-auto>","aspect-ratio":"auto||<ratio>",azimuth:"<angle>|[[left-side|far-left|left|center-left|center|center-right|right|far-right|right-side]||behind]|leftwards|rightwards","backdrop-filter":"none|<filter-function-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":"<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>#","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-color":"<'border-top-color'>{1,2}","border-block-style":"<'border-top-style'>","border-block-width":"<'border-top-width'>","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-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage>{1,2}","border-bottom-right-radius":"<length-percentage>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"collapse|separate","border-color":"<color>{1,4}","border-end-end-radius":"<length-percentage>{1,2}","border-end-start-radius":"<length-percentage>{1,2}","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length>|<number>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"<number-percentage>{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage>|<number>|auto]{1,4}","border-inline":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-style":"<'border-top-style'>","border-inline-width":"<'border-top-width'>","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-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage>{1,4} [/ <length-percentage>{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> <length>?","border-start-end-radius":"<length-percentage>{1,2}","border-start-start-radius":"<length-percentage>{1,2}","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage>{1,2}","border-top-right-radius":"<length-percentage>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"<length>|<percentage>|auto","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|block-start|block-end|inline-start|inline-end",caret:"<'caret-color'>||<'caret-shape'>","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-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":"<length>|auto",columns:"<'column-width'>||<'column-count'>",contain:"none|strict|content|[[size||inline-size]||layout||style||paint]","contain-intrinsic-size":"[auto? [none|<length>]]{1,2}","contain-intrinsic-block-size":"auto? [none|<length>]","contain-intrinsic-height":"auto? [none|<length>]","contain-intrinsic-inline-size":"auto? [none|<length>]","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>]+]?","content-visibility":"visible|auto|hidden","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]]",d:"none|path( <string> )",cx:"<length>|<percentage>",cy:"<length>|<percentage>",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","empty-cells":"show|hide","field-sizing":"content|fixed",fill:"<paint>","fill-opacity":"<number-zero-one>","fill-rule":"nonzero|evenodd",filter:"none|<filter-function-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",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>","font-variation-settings":"normal|[<string> <number>]#","font-size":"<absolute-size>|<relative-size>|<length-percentage>","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-weight":"<font-weight-absolute>|bolder|lighter","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>|min-content|max-content|fit-content|fit-content( <length-percentage> )|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|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'>","input-security":"auto|none",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","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]","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"<length>|<percentage>|auto","letter-spacing":"normal|<length-percentage>","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:"[<length>|<percentage>|auto]{1,4}","margin-block":"<'margin-left'>{1,2}","margin-block-end":"<'margin-left'>","margin-block-start":"<'margin-left'>","margin-bottom":"<length>|<percentage>|auto","margin-inline":"<'margin-left'>{1,2}","margin-inline-end":"<'margin-left'>","margin-inline-start":"<'margin-left'>","margin-left":"<length>|<percentage>|auto","margin-right":"<length>|<percentage>|auto","margin-top":"<length>|<percentage>|auto","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":"[<geometry-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<geometry-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>|min-content|max-content|fit-content|fit-content( <length-percentage> )|stretch|<-non-standard-size>","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|stretch|<-non-standard-size>","min-block-size":"<'min-width'>","min-height":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|stretch|<-non-standard-size>","min-inline-size":"<'min-width'>","min-width":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|stretch|<-non-standard-size>","mix-blend-mode":"<blend-mode>|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>",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:"<alpha-value>",order:"<integer>",orphans:"<integer>",outline:"[<'outline-width'>||<'outline-style'>||<'outline-color'>]","outline-color":"auto|<color>","outline-offset":"<length>","outline-style":"auto|<'border-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","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,∞]>","overflow-inline":"visible|hidden|clip|scroll|auto","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto","overflow-y":"visible|hidden|clip|scroll|auto",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:"[<length>|<percentage>]{1,4}","padding-block":"<'padding-left'>{1,2}","padding-block-end":"<'padding-left'>","padding-block-start":"<'padding-left'>","padding-bottom":"<length>|<percentage>","padding-inline":"<'padding-left'>{1,2}","padding-inline-end":"<'padding-left'>","padding-inline-start":"<'padding-left'>","padding-left":"<length>|<percentage>","padding-right":"<length>|<percentage>","padding-top":"<length>|<percentage>",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|<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>",resize:"none|both|horizontal|vertical|block|inline",right:"<length>|<percentage>|auto",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-position":"[alternate||[over|under]]|inter-character",rx:"<length>|<percentage>",ry:"<length>|<percentage>",scale:"none|[<number>|<percentage>]{1,3}","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","scroll-behavior":"auto|smooth","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-start":"<length>","scroll-margin-block-end":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-start":"<length>","scroll-margin-inline-end":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-inline-end":"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-timeline":"[<'scroll-timeline-name'>||<'scroll-timeline-axis'>]#","scroll-timeline-axis":"[block|inline|x|y]#","scroll-timeline-name":"[none|<dashed-ident>]#","shape-image-threshold":"<alpha-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision",stroke:"<paint>","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-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-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|trim-both|trim-all|auto","text-transform":"none|capitalize|uppercase|lowercase|full-width|full-size-kana","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":"auto|wrap|nowrap","text-wrap-style":"auto|balance|stable|pretty","timeline-scope":"none|<dashed-ident>#",top:"<length>|<percentage>|auto","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>?]?","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|contain|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-axis":"[block|inline|x|y]#","view-timeline-inset":"[[auto|<length-percentage>]{1,2}]#","view-timeline-name":"none|<dashed-ident>#","view-transition-name":"none|<custom-ident>",visibility:"visible|hidden|collapse","white-space":"normal|pre|nowrap|pre-wrap|pre-line|break-spaces|[<'white-space-collapse'>||<'text-wrap'>||<'white-space-trim'>]","white-space-collapse":"collapse|discard|preserve|preserve-breaks|preserve-spaces|break-spaces",widows:"<integer>",width:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|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>|<percentage>","-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":"[<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","-webkit-user-select":"auto|none|text|all","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical","baseline-shift":"baseline|sub|super|<svg-length>",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",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",src:"[<url> [format( <string># )]?|local( <family-name> )]#",speak:"auto|never|always","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]","unicode-range":"<urange>#","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>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer>&&<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>]"}},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-palette-values":{prelude:"<dashed-ident>",descriptors:{"base-palette":"light|dark|<integer [0,∞]>","font-family":"<family-name>#","override-colors":"[<integer [0,∞]> <absolute-color-base>]#"}},"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-variation-settings":"normal|[<string> <number>]#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","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},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>{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:{syntax:"<string>",inherits:"true|false","initial-value":"<declaration-value>?"}},scope:{prelude:"[( <scope-start> )]? [to ( <scope-end> )]?",descriptors:null},"starting-style":{prelude:null,descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},container:{prelude:"[<container-name>]? <container-condition>",descriptors:null},nest:{prelude:"<complex-selector-list>",descriptors:null}}},pe=43,Z=45,ht=110,Se=!0,Xa=!1;function pt(e,t){let n=this.tokenStart+e;const r=this.charCodeAt(n);for((r===pe||r===Z)&&(t&&this.error("Number sign is not allowed"),n++);n<this.tokenEnd;n++)F(this.charCodeAt(n))||this.error("Integer is expected",n)}function Ee(e){return pt.call(this,0,e)}function be(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n="";switch(t){case ht:n="N is expected";break;case Z:n="HyphenMinus is expected";break}this.error(n,this.tokenStart+e)}}function Ht(){let e=0,t=0,n=this.tokenType;for(;n===N||n===B;)n=this.lookupType(++e);if(n!==v)if(this.isDelim(pe,e)||this.isDelim(Z,e)){t=this.isDelim(pe,e)?pe:Z;do n=this.lookupType(++e);while(n===N||n===B);n!==v&&(this.skip(e),Ee.call(this,Se))}else return null;return e>0&&this.skip(e),t===0&&(n=this.charCodeAt(this.tokenStart),n!==pe&&n!==Z&&this.error("Number sign is expected")),Ee.call(this,t!==0),t===Z?"-"+this.consume(v):this.consume(v)}const Za="AnPlusB",Ja={a:[String,null],b:[String,null]};function yi(){const e=this.tokenStart;let t=null,n=null;if(this.tokenType===v)Ee.call(this,Xa),n=this.consume(v);else if(this.tokenType===b&&this.cmpChar(this.tokenStart,Z))switch(t="-1",be.call(this,1,ht),this.tokenEnd-this.tokenStart){case 2:this.next(),n=Ht.call(this);break;case 3:be.call(this,2,Z),this.next(),this.skipSC(),Ee.call(this,Se),n="-"+this.consume(v);break;default:be.call(this,2,Z),pt.call(this,3,Se),this.next(),n=this.substrToCursor(e+2)}else if(this.tokenType===b||this.isDelim(pe)&&this.lookupType(1)===b){let r=0;switch(t="1",this.isDelim(pe)&&(r=1,this.next()),be.call(this,0,ht),this.tokenEnd-this.tokenStart){case 1:this.next(),n=Ht.call(this);break;case 2:be.call(this,1,Z),this.next(),this.skipSC(),Ee.call(this,Se),n="-"+this.consume(v);break;default:be.call(this,1,Z),pt.call(this,2,Se),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===C){const r=this.charCodeAt(this.tokenStart),i=r===pe||r===Z;let o=this.tokenStart+i;for(;o<this.tokenEnd&&F(this.charCodeAt(o));o++);o===this.tokenStart+i&&this.error("Integer is expected",this.tokenStart+i),be.call(this,o-this.tokenStart,ht),t=this.substring(e,o),o+1===this.tokenEnd?(this.next(),n=Ht.call(this)):(be.call(this,o-this.tokenStart+1,Z),o+2===this.tokenEnd?(this.next(),this.skipSC(),Ee.call(this,Se),n="-"+this.consume(v)):(pt.call(this,o-this.tokenStart+2,Se),this.next(),n=this.substrToCursor(o+1)))}else this.error();return t!==null&&t.charCodeAt(0)===pe&&(t=t.substr(1)),n!==null&&n.charCodeAt(0)===pe&&(n=n.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:n}}function el(e){if(e.a){const t=e.a==="+1"&&"n"||e.a==="1"&&"n"||e.a==="-1"&&"-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)}const tl=Object.freeze(Object.defineProperty({__proto__:null,generate:el,name:Za,parse:yi,structure:Ja},Symbol.toStringTag,{value:"Module"}));function Sr(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function nl(){for(let e=1,t;t=this.lookupType(e);e++){if(t===te)return!0;if(t===q||t===j)return!1}return!1}const rl="Atrule",il="atrule",ol={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function ki(e=!1){const t=this.tokenStart;let n,r,i=null,o=null;switch(this.eat(j),n=this.substrToCursor(t+1),r=n.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==q&&this.tokenType!==H&&(this.parseAtrulePrelude?i=this.parseWithFallback(this.AtrulePrelude.bind(this,n,e),Sr):i=Sr.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case H:this.next();break;case q:hasOwnProperty.call(this.atrule,r)&&typeof this.atrule[r].block=="function"?o=this.atrule[r].block.call(this,e):o=this.Block(nl.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:n,prelude:i,block:o}}function sl(e){this.token(j,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(H,";")}const al=Object.freeze(Object.defineProperty({__proto__:null,generate:sl,name:rl,parse:ki,structure:ol,walkContext:il},Symbol.toStringTag,{value:"Module"})),ll="AtrulePrelude",cl="atrulePrelude",ul={children:[[]]};function xi(e){let t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude=="function"?t=this.atrule[e].prelude.call(this):t=this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==q&&this.tokenType!==H&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function hl(e){this.children(e)}const pl=Object.freeze(Object.defineProperty({__proto__:null,generate:hl,name:ll,parse:xi,structure:ul,walkContext:cl},Symbol.toStringTag,{value:"Module"})),dl=36,vi=42,dt=61,fl=94,un=124,ml=126;function gl(){this.eof&&this.error("Unexpected end of input");const e=this.tokenStart;let t=!1;return this.isDelim(vi)?(t=!0,this.next()):this.isDelim(un)||this.eat(b),this.isDelim(un)?this.charCodeAt(this.tokenStart+1)!==dt?(this.next(),this.eat(b)):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 bl(){const e=this.tokenStart,t=this.charCodeAt(e);return t!==dt&&t!==ml&&t!==fl&&t!==dl&&t!==vi&&t!==un&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==dt&&(this.isDelim(dt)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}const yl="AttributeSelector",kl={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function wi(){const e=this.tokenStart;let t,n=null,r=null,i=null;return this.eat(ne),this.skipSC(),t=gl.call(this),this.skipSC(),this.tokenType!==ae&&(this.tokenType!==b&&(n=bl.call(this),this.skipSC(),r=this.tokenType===le?this.String():this.Identifier(),this.skipSC()),this.tokenType===b&&(i=this.consume(b),this.skipSC())),this.eat(ae),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:n,value:r,flags:i}}function xl(e){this.token(z,"["),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(b,e.flags),this.token(z,"]")}const vl=Object.freeze(Object.defineProperty({__proto__:null,generate:xl,name:yl,parse:wi,structure:kl},Symbol.toStringTag,{value:"Module"})),wl=38;function Si(){return this.Raw(null,!0)}function Cr(){return this.parseWithFallback(this.Rule,Si)}function Tr(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function Sl(){if(this.tokenType===H)return Tr.call(this,this.tokenIndex);const e=this.parseWithFallback(this.Declaration,Tr);return this.tokenType===H&&this.next(),e}const Cl="Block",Tl="block",zl={children:[["Atrule","Rule","Declaration"]]};function Ci(e){const t=e?Sl:Cr,n=this.tokenStart;let r=this.createList();this.eat(q);e:for(;!this.eof;)switch(this.tokenType){case te:break e;case N:case B:this.next();break;case j:r.push(this.parseWithFallback(this.Atrule.bind(this,e),Si));break;default:e&&this.isDelim(wl)?r.push(Cr.call(this)):r.push(t.call(this))}return this.eof||this.eat(te),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}function Al(e){this.token(q,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(H,";")}),this.token(te,"}")}const Ll=Object.freeze(Object.defineProperty({__proto__:null,generate:Al,name:Cl,parse:Ci,structure:zl,walkContext:Tl},Symbol.toStringTag,{value:"Module"})),Ol="Brackets",_l={children:[[]]};function Ti(e,t){const n=this.tokenStart;let r=null;return this.eat(ne),r=e.call(this,t),this.eof||this.eat(ae),{type:"Brackets",loc:this.getLocation(n,this.tokenStart),children:r}}function El(e){this.token(z,"["),this.children(e),this.token(z,"]")}const $l=Object.freeze(Object.defineProperty({__proto__:null,generate:El,name:Ol,parse:Ti,structure:_l},Symbol.toStringTag,{value:"Module"})),Ml="CDC",Il=[];function zi(){const e=this.tokenStart;return this.eat(Q),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function Pl(){this.token(Q,"-->")}const Nl=Object.freeze(Object.defineProperty({__proto__:null,generate:Pl,name:Ml,parse:zi,structure:Il},Symbol.toStringTag,{value:"Module"})),jl="CDO",Rl=[];function Ai(){const e=this.tokenStart;return this.eat(Qe),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function Dl(){this.token(Qe,"<!--")}const Fl=Object.freeze(Object.defineProperty({__proto__:null,generate:Dl,name:jl,parse:Ai,structure:Rl},Symbol.toStringTag,{value:"Module"})),Bl=46,ql="ClassSelector",Ul={name:String};function Li(){return this.eatDelim(Bl),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(b)}}function Wl(e){this.token(z,"."),this.token(b,e.name)}const Gl=Object.freeze(Object.defineProperty({__proto__:null,generate:Wl,name:ql,parse:Li,structure:Ul},Symbol.toStringTag,{value:"Module"})),Hl=43,zr=47,Vl=62,Kl=126,Ql="Combinator",Yl={name:String};function Oi(){const e=this.tokenStart;let t;switch(this.tokenType){case N:t=" ";break;case z:switch(this.charCodeAt(this.tokenStart)){case Vl:case Hl:case Kl:this.next();break;case zr:this.next(),this.eatIdent("deep"),this.eatDelim(zr);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function Xl(e){this.tokenize(e.name)}const Zl=Object.freeze(Object.defineProperty({__proto__:null,generate:Xl,name:Ql,parse:Oi,structure:Yl},Symbol.toStringTag,{value:"Module"})),Jl=42,ec=47,tc="Comment",nc={value:String};function _i(){const e=this.tokenStart;let t=this.tokenEnd;return this.eat(B),t-e+2>=2&&this.charCodeAt(t-2)===Jl&&this.charCodeAt(t-1)===ec&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function rc(e){this.token(B,"/*"+e.value+"*/")}const ic=Object.freeze(Object.defineProperty({__proto__:null,generate:rc,name:tc,parse:_i,structure:nc},Symbol.toStringTag,{value:"Module"})),oc=new Set([G,x,ke]),sc="Condition",ac={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]};function Ar(e){return this.lookupTypeNonSC(1)===b&&oc.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}const lc={media:Ar,container:Ar,supports(){return this.SupportsDeclaration()}};function Ei(e="media"){const t=this.createList();e:for(;!this.eof;)switch(this.tokenType){case B:case N:this.next();continue;case b:t.push(this.Identifier());break;case _:{let n=this.parseWithFallback(()=>lc[e].call(this,e),()=>null);n||(n=this.parseWithFallback(()=>{this.eat(_);const r=this.Condition(e);return this.eat(x),r},()=>this.GeneralEnclosed(e))),t.push(n);break}case S:{let n=this.parseWithFallback(()=>this.FeatureFunction(e),()=>null);n||(n=this.GeneralEnclosed(e)),t.push(n);break}default:break e}return t.isEmpty&&this.error("Condition is expected"),{type:"Condition",loc:this.getLocationFromList(t),kind:e,children:t}}function cc(e){e.children.forEach(t=>{t.type==="Condition"?(this.token(_,"("),this.node(t),this.token(x,")")):this.node(t)})}const uc=Object.freeze(Object.defineProperty({__proto__:null,generate:cc,name:sc,parse:Ei,structure:ac},Symbol.toStringTag,{value:"Module"})),$i=33,hc=35,pc=36,dc=38,fc=42,mc=43,Lr=47;function gc(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function bc(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function yc(){const e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==H&&this.isDelim($i)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}const kc="Declaration",xc="declaration",vc={important:[Boolean,String],property:String,value:["Value","Raw"]};function Mi(){const e=this.tokenStart,t=this.tokenIndex,n=Sc.call(this),r=vn(n),i=r?this.parseCustomProperty:this.parseValue,o=r?bc:gc;let a=!1,u;this.skipSC(),this.eat(G);const c=this.tokenIndex;if(r||this.skipSC(),i?u=this.parseWithFallback(yc,o):u=o.call(this,this.tokenIndex),r&&u.type==="Value"&&u.children.isEmpty){for(let s=c-this.tokenIndex;s<=0;s++)if(this.lookupType(s)===N){u.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim($i)&&(a=Cc.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==H&&this.isBalanceEdge(t)===!1&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:a,property:n,value:u}}function wc(e){this.token(b,e.property),this.token(G,":"),this.node(e.value),e.important&&(this.token(z,"!"),this.token(b,e.important===!0?"important":e.important))}function Sc(){const e=this.tokenStart;if(this.tokenType===z)switch(this.charCodeAt(this.tokenStart)){case fc:case pc:case mc:case hc:case dc:this.next();break;case Lr:this.next(),this.isDelim(Lr)&&this.next();break}return this.tokenType===I?this.eat(I):this.eat(b),this.substrToCursor(e)}function Cc(){this.eat(z),this.skipSC();const e=this.consume(b);return e==="important"?!0:e}const Tc=Object.freeze(Object.defineProperty({__proto__:null,generate:wc,name:kc,parse:Mi,structure:vc,walkContext:xc},Symbol.toStringTag,{value:"Module"})),zc=38;function Vt(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}const Ac="DeclarationList",Lc={children:[["Declaration","Atrule","Rule"]]};function Ii(){const e=this.createList();for(;!this.eof;)switch(this.tokenType){case N:case B:case H:this.next();break;case j:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),Vt));break;default:this.isDelim(zc)?e.push(this.parseWithFallback(this.Rule,Vt)):e.push(this.parseWithFallback(this.Declaration,Vt))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function Oc(e){this.children(e,t=>{t.type==="Declaration"&&this.token(H,";")})}const _c=Object.freeze(Object.defineProperty({__proto__:null,generate:Oc,name:Ac,parse:Ii,structure:Lc},Symbol.toStringTag,{value:"Module"})),Ec="Dimension",$c={value:String,unit:String};function Pi(){const e=this.tokenStart,t=this.consumeNumber(C);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function Mc(e){this.token(C,e.value+e.unit)}const Ic=Object.freeze(Object.defineProperty({__proto__:null,generate:Mc,name:Ec,parse:Pi,structure:$c},Symbol.toStringTag,{value:"Module"})),Pc=47,Nc="Feature",jc={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]};function Ni(e){const t=this.tokenStart;let n,r=null;if(this.eat(_),this.skipSC(),n=this.consume(b),this.skipSC(),this.tokenType!==x){switch(this.eat(G),this.skipSC(),this.tokenType){case v:this.lookupNonWSType(1)===z?r=this.Ratio():r=this.Number();break;case C:r=this.Dimension();break;case b:r=this.Identifier();break;case S:r=this.parseWithFallback(()=>{const i=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(Pc)&&this.error(),i},()=>this.Ratio());break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eof||this.eat(x),{type:"Feature",loc:this.getLocation(t,this.tokenStart),kind:e,name:n,value:r}}function Rc(e){this.token(_,"("),this.token(b,e.name),e.value!==null&&(this.token(G,":"),this.node(e.value)),this.token(x,")")}const Dc=Object.freeze(Object.defineProperty({__proto__:null,generate:Rc,name:Nc,parse:Ni,structure:jc},Symbol.toStringTag,{value:"Module"})),Fc="FeatureFunction",Bc={kind:String,feature:String,value:["Declaration","Selector"]};function qc(e,t){const r=(this.features[e]||{})[t];return typeof r!="function"&&this.error(`Unknown feature ${t}()`),r}function ji(e="unknown"){const t=this.tokenStart,n=this.consumeFunctionName(),r=qc.call(this,e,n.toLowerCase());this.skipSC();const i=this.parseWithFallback(()=>{const o=this.tokenIndex,a=r.call(this);return this.eof===!1&&this.isBalanceEdge(o)===!1&&this.error(),a},()=>this.Raw(null,!1));return this.eof||this.eat(x),{type:"FeatureFunction",loc:this.getLocation(t,this.tokenStart),kind:e,feature:n,value:i}}function Uc(e){this.token(S,e.feature+"("),this.node(e.value),this.token(x,")")}const Wc=Object.freeze(Object.defineProperty({__proto__:null,generate:Uc,name:Fc,parse:ji,structure:Bc},Symbol.toStringTag,{value:"Module"})),Or=47,Gc=60,_r=61,Hc=62,Vc="FeatureRange",Kc={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 Kt(){switch(this.skipSC(),this.tokenType){case v:return this.isDelim(Or,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case C:return this.Dimension();case b:return this.Identifier();case S:return this.parseWithFallback(()=>{const e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(Or)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function Er(e){if(this.skipSC(),this.isDelim(Gc)||this.isDelim(Hc)){const t=this.source[this.tokenStart];return this.next(),this.isDelim(_r)?(this.next(),t+"="):t}if(this.isDelim(_r))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function Ri(e="unknown"){const t=this.tokenStart;this.skipSC(),this.eat(_);const n=Kt.call(this),r=Er.call(this,n.type==="Identifier"),i=Kt.call(this);let o=null,a=null;return this.lookupNonWSType(0)!==x&&(o=Er.call(this),a=Kt.call(this)),this.skipSC(),this.eat(x),{type:"FeatureRange",loc:this.getLocation(t,this.tokenStart),kind:e,left:n,leftComparison:r,middle:i,rightComparison:o,right:a}}function Qc(e){this.token(_,"("),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(x,")")}const Yc=Object.freeze(Object.defineProperty({__proto__:null,generate:Qc,name:Vc,parse:Ri,structure:Kc},Symbol.toStringTag,{value:"Module"})),Xc="Function",Zc="function",Jc={name:String,children:[[]]};function Di(e,t){const n=this.tokenStart,r=this.consumeFunctionName(),i=r.toLowerCase();let o;return o=t.hasOwnProperty(i)?t[i].call(this,t):e.call(this,t),this.eof||this.eat(x),{type:"Function",loc:this.getLocation(n,this.tokenStart),name:r,children:o}}function eu(e){this.token(S,e.name+"("),this.children(e),this.token(x,")")}const tu=Object.freeze(Object.defineProperty({__proto__:null,generate:eu,name:Xc,parse:Di,structure:Jc,walkContext:Zc},Symbol.toStringTag,{value:"Module"})),nu="GeneralEnclosed",ru={kind:String,function:[String,null],children:[[]]};function Fi(e){const t=this.tokenStart;let n=null;this.tokenType===S?n=this.consumeFunctionName():this.eat(_);const r=this.parseWithFallback(()=>{const i=this.tokenIndex,o=this.readSequence(this.scope.Value);return this.eof===!1&&this.isBalanceEdge(i)===!1&&this.error(),o},()=>this.createSingleNodeList(this.Raw(null,!1)));return this.eof||this.eat(x),{type:"GeneralEnclosed",loc:this.getLocation(t,this.tokenStart),kind:e,function:n,children:r}}function iu(e){e.function?this.token(S,e.function+"("):this.token(_,"("),this.children(e),this.token(x,")")}const ou=Object.freeze(Object.defineProperty({__proto__:null,generate:iu,name:nu,parse:Fi,structure:ru},Symbol.toStringTag,{value:"Module"})),su="XXX",au="Hash",lu={value:String};function Bi(){const e=this.tokenStart;return this.eat(I),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function cu(e){this.token(I,"#"+e.value)}const uu=Object.freeze(Object.defineProperty({__proto__:null,generate:cu,name:au,parse:Bi,structure:lu,xxx:su},Symbol.toStringTag,{value:"Module"})),hu="Identifier",pu={name:String};function qi(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(b)}}function du(e){this.token(b,e.name)}const fu=Object.freeze(Object.defineProperty({__proto__:null,generate:du,name:hu,parse:qi,structure:pu},Symbol.toStringTag,{value:"Module"})),mu="IdSelector",gu={name:String};function Ui(){const e=this.tokenStart;return this.eat(I),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function bu(e){this.token(z,"#"+e.name)}const yu=Object.freeze(Object.defineProperty({__proto__:null,generate:bu,name:mu,parse:Ui,structure:gu},Symbol.toStringTag,{value:"Module"})),ku=46,xu="Layer",vu={name:String};function Wi(){let e=this.tokenStart,t=this.consume(b);for(;this.isDelim(ku);)this.eat(z),t+="."+this.consume(b);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}function wu(e){this.tokenize(e.name)}const Su=Object.freeze(Object.defineProperty({__proto__:null,generate:wu,name:xu,parse:Wi,structure:vu},Symbol.toStringTag,{value:"Module"})),Cu="LayerList",Tu={children:[["Layer"]]};function Gi(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),this.lookupTypeNonSC(0)===Y);)this.skipSC(),this.next(),this.skipSC();return{type:"LayerList",loc:this.getLocationFromList(e),children:e}}function zu(e){this.children(e,()=>this.token(Y,","))}const Au=Object.freeze(Object.defineProperty({__proto__:null,generate:zu,name:Cu,parse:Gi,structure:Tu},Symbol.toStringTag,{value:"Module"})),Lu="MediaQuery",Ou={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]};function Hi(){const e=this.tokenStart;let t=null,n=null,r=null;if(this.skipSC(),this.tokenType===b&&this.lookupTypeNonSC(1)!==_){const i=this.consume(b),o=i.toLowerCase();switch(o==="not"||o==="only"?(this.skipSC(),t=o,n=this.consume(b)):n=i,this.lookupTypeNonSC(0)){case b:{this.skipSC(),this.eatIdent("and"),r=this.Condition("media");break}case q:case H:case Y:case ke:break;default:this.error("Identifier or parenthesis is expected")}}else switch(this.tokenType){case b:case _:case S:{r=this.Condition("media");break}case q:case H:case ke:break;default:this.error("Identifier or parenthesis is expected")}return{type:"MediaQuery",loc:this.getLocation(e,this.tokenStart),modifier:t,mediaType:n,condition:r}}function _u(e){e.mediaType?(e.modifier&&this.token(b,e.modifier),this.token(b,e.mediaType),e.condition&&(this.token(b,"and"),this.node(e.condition))):e.condition&&this.node(e.condition)}const Eu=Object.freeze(Object.defineProperty({__proto__:null,generate:_u,name:Lu,parse:Hi,structure:Ou},Symbol.toStringTag,{value:"Module"})),$u="MediaQueryList",Mu={children:[["MediaQuery"]]};function Vi(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===Y);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function Iu(e){this.children(e,()=>this.token(Y,","))}const Pu=Object.freeze(Object.defineProperty({__proto__:null,generate:Iu,name:$u,parse:Vi,structure:Mu},Symbol.toStringTag,{value:"Module"})),Nu=38,ju="NestingSelector",Ru={};function Ki(){const e=this.tokenStart;return this.eatDelim(Nu),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function Du(){this.token(z,"&")}const Fu=Object.freeze(Object.defineProperty({__proto__:null,generate:Du,name:ju,parse:Ki,structure:Ru},Symbol.toStringTag,{value:"Module"})),Bu="Nth",qu={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};function Qi(){this.skipSC();const e=this.tokenStart;let t=e,n=null,r;return this.lookupValue(0,"odd")||this.lookupValue(0,"even")?r=this.Identifier():r=this.AnPlusB(),t=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),n=this.SelectorList(),t=this.tokenStart),{type:"Nth",loc:this.getLocation(e,t),nth:r,selector:n}}function Uu(e){this.node(e.nth),e.selector!==null&&(this.token(b,"of"),this.node(e.selector))}const Wu=Object.freeze(Object.defineProperty({__proto__:null,generate:Uu,name:Bu,parse:Qi,structure:qu},Symbol.toStringTag,{value:"Module"})),Gu="Number",Hu={value:String};function Yi(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(v)}}function Vu(e){this.token(v,e.value)}const Ku=Object.freeze(Object.defineProperty({__proto__:null,generate:Vu,name:Gu,parse:Yi,structure:Hu},Symbol.toStringTag,{value:"Module"})),Qu="Operator",Yu={value:String};function Xi(){const e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function Xu(e){this.tokenize(e.value)}const Zu=Object.freeze(Object.defineProperty({__proto__:null,generate:Xu,name:Qu,parse:Xi,structure:Yu},Symbol.toStringTag,{value:"Module"})),Ju="Parentheses",eh={children:[[]]};function Zi(e,t){const n=this.tokenStart;let r=null;return this.eat(_),r=e.call(this,t),this.eof||this.eat(x),{type:"Parentheses",loc:this.getLocation(n,this.tokenStart),children:r}}function th(e){this.token(_,"("),this.children(e),this.token(x,")")}const nh=Object.freeze(Object.defineProperty({__proto__:null,generate:th,name:Ju,parse:Zi,structure:eh},Symbol.toStringTag,{value:"Module"})),rh="Percentage",ih={value:String};function Ji(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(P)}}function oh(e){this.token(P,e.value+"%")}const sh=Object.freeze(Object.defineProperty({__proto__:null,generate:oh,name:rh,parse:Ji,structure:ih},Symbol.toStringTag,{value:"Module"})),ah="PseudoClassSelector",lh="function",ch={name:String,children:[["Raw"],null]};function eo(){const e=this.tokenStart;let t=null,n,r;return this.eat(G),this.tokenType===S?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==x?t=this.createList():hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(x)):n=this.consume(b),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function uh(e){this.token(G,":"),e.children===null?this.token(b,e.name):(this.token(S,e.name+"("),this.children(e),this.token(x,")"))}const hh=Object.freeze(Object.defineProperty({__proto__:null,generate:uh,name:ah,parse:eo,structure:ch,walkContext:lh},Symbol.toStringTag,{value:"Module"})),ph="PseudoElementSelector",dh="function",fh={name:String,children:[["Raw"],null]};function to(){const e=this.tokenStart;let t=null,n,r;return this.eat(G),this.eat(G),this.tokenType===S?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==x?t=this.createList():hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(x)):n=this.consume(b),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function mh(e){this.token(G,":"),this.token(G,":"),e.children===null?this.token(b,e.name):(this.token(S,e.name+"("),this.children(e),this.token(x,")"))}const gh=Object.freeze(Object.defineProperty({__proto__:null,generate:mh,name:ph,parse:to,structure:fh,walkContext:dh},Symbol.toStringTag,{value:"Module"})),$r=47;function Mr(){switch(this.skipSC(),this.tokenType){case v:return this.Number();case S:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}const bh="Ratio",yh={left:["Number","Function"],right:["Number","Function",null]};function no(){const e=this.tokenStart,t=Mr.call(this);let n=null;return this.skipSC(),this.isDelim($r)&&(this.eatDelim($r),n=Mr.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:n}}function kh(e){this.node(e.left),this.token(z,"/"),e.right?this.node(e.right):this.node(v,1)}const xh=Object.freeze(Object.defineProperty({__proto__:null,generate:kh,name:bh,parse:no,structure:yh},Symbol.toStringTag,{value:"Module"}));function vh(){return this.tokenIndex>0&&this.lookupType(-1)===N?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}const wh="Raw",Sh={value:String};function ro(e,t){const n=this.getTokenStart(this.tokenIndex);let r;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),t&&this.tokenStart>n?r=vh.call(this):r=this.tokenStart,{type:"Raw",loc:this.getLocation(n,r),value:this.substring(n,r)}}function Ch(e){this.tokenize(e.value)}const Th=Object.freeze(Object.defineProperty({__proto__:null,generate:Ch,name:wh,parse:ro,structure:Sh},Symbol.toStringTag,{value:"Module"}));function Ir(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function zh(){const e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==q&&this.error(),e}const Ah="Rule",Lh="rule",Oh={prelude:["SelectorList","Raw"],block:["Block"]};function io(){const e=this.tokenIndex,t=this.tokenStart;let n,r;return this.parseRulePrelude?n=this.parseWithFallback(zh,Ir):n=Ir.call(this,e),r=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}function _h(e){this.node(e.prelude),this.node(e.block)}const Eh=Object.freeze(Object.defineProperty({__proto__:null,generate:_h,name:Ah,parse:io,structure:Oh,walkContext:Lh},Symbol.toStringTag,{value:"Module"})),$h="Scope",Mh={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]};function oo(){let e=null,t=null;this.skipSC();const n=this.tokenStart;return this.tokenType===_&&(this.next(),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(x)),this.lookupNonWSType(0)===b&&(this.skipSC(),this.eatIdent("to"),this.skipSC(),this.eat(_),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(x)),{type:"Scope",loc:this.getLocation(n,this.tokenStart),root:e,limit:t}}function Ih(e){e.root&&(this.token(_,"("),this.node(e.root),this.token(x,")")),e.limit&&(this.token(b,"to"),this.token(_,"("),this.node(e.limit),this.token(x,")"))}const Ph=Object.freeze(Object.defineProperty({__proto__:null,generate:Ih,name:$h,parse:oo,structure:Mh},Symbol.toStringTag,{value:"Module"})),Nh="Selector",jh={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]};function so(){const e=this.readSequence(this.scope.Selector);return this.getFirstListNode(e)===null&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function Rh(e){this.children(e)}const Dh=Object.freeze(Object.defineProperty({__proto__:null,generate:Rh,name:Nh,parse:so,structure:jh},Symbol.toStringTag,{value:"Module"})),Fh="SelectorList",Bh="selector",qh={children:[["Selector","Raw"]]};function ao(){const e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===Y){this.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function Uh(e){this.children(e,()=>this.token(Y,","))}const Wh=Object.freeze(Object.defineProperty({__proto__:null,generate:Uh,name:Fh,parse:ao,structure:qh,walkContext:Bh},Symbol.toStringTag,{value:"Module"})),hn=92,lo=34,Gh=39;function co(e){const t=e.length,n=e.charCodeAt(0),r=n===lo||n===Gh?1:0,i=r===1&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1;let o="";for(let a=r;a<=i;a++){let u=e.charCodeAt(a);if(u===hn){if(a===i){a!==t-1&&(o=e.substr(a+1));break}if(u=e.charCodeAt(++a),de(hn,u)){const c=a-1,s=Ie(e,c);a=s-1,o+=Kr(e.substring(c+1,s))}else u===13&&e.charCodeAt(a+1)===10&&a++}else o+=e[a]}return o}function Hh(e,t){const r=lo;let i="",o=!1;for(let a=0;a<e.length;a++){const u=e.charCodeAt(a);if(u===0){i+="�";continue}if(u<=31||u===127){i+="\\"+u.toString(16),o=!0;continue}u===r||u===hn?(i+="\\"+e.charAt(a),o=!1):(o&&(xe(u)||Ce(u))&&(i+=" "),i+=e.charAt(a),o=!1)}return'"'+i+'"'}const Vh="String",Kh={value:String};function uo(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:co(this.consume(le))}}function Qh(e){this.token(le,Hh(e.value))}const Yh=Object.freeze(Object.defineProperty({__proto__:null,generate:Qh,name:Vh,parse:uo,structure:Kh},Symbol.toStringTag,{value:"Module"})),Xh=33;function Pr(){return this.Raw(null,!1)}const Zh="StyleSheet",Jh="stylesheet",ep={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};function ho(){const e=this.tokenStart,t=this.createList();let n;for(;!this.eof;){switch(this.tokenType){case N:this.next();continue;case B:if(this.charCodeAt(this.tokenStart+2)!==Xh){this.next();continue}n=this.Comment();break;case Qe:n=this.CDO();break;case Q:n=this.CDC();break;case j:n=this.parseWithFallback(this.Atrule,Pr);break;default:n=this.parseWithFallback(this.Rule,Pr)}t.push(n)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function tp(e){this.children(e)}const np=Object.freeze(Object.defineProperty({__proto__:null,generate:tp,name:Zh,parse:ho,structure:ep,walkContext:Jh},Symbol.toStringTag,{value:"Module"})),rp="SupportsDeclaration",ip={declaration:"Declaration"};function po(){const e=this.tokenStart;this.eat(_),this.skipSC();const t=this.Declaration();return this.eof||this.eat(x),{type:"SupportsDeclaration",loc:this.getLocation(e,this.tokenStart),declaration:t}}function op(e){this.token(_,"("),this.node(e.declaration),this.token(x,")")}const sp=Object.freeze(Object.defineProperty({__proto__:null,generate:op,name:rp,parse:po,structure:ip},Symbol.toStringTag,{value:"Module"})),ap=42,Nr=124;function Qt(){this.tokenType!==b&&this.isDelim(ap)===!1&&this.error("Identifier or asterisk is expected"),this.next()}const lp="TypeSelector",cp={name:String};function fo(){const e=this.tokenStart;return this.isDelim(Nr)?(this.next(),Qt.call(this)):(Qt.call(this),this.isDelim(Nr)&&(this.next(),Qt.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function up(e){this.tokenize(e.name)}const hp=Object.freeze(Object.defineProperty({__proto__:null,generate:up,name:lp,parse:fo,structure:cp},Symbol.toStringTag,{value:"Module"})),mo=43,go=45,pn=63;function Be(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){const i=this.charCodeAt(r);if(i===go&&t&&n!==0)return Be.call(this,e+n+1,!1),-1;xe(i)||this.error(t&&n!==0?"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 at(e){let t=0;for(;this.isDelim(pn);)++t>e&&this.error("Too many question marks"),this.next()}function pp(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===mo?"Plus sign":"Hyphen minus")+" is expected")}function dp(){let e=0;switch(this.tokenType){case v:if(e=Be.call(this,1,!0),this.isDelim(pn)){at.call(this,6-e);break}if(this.tokenType===C||this.tokenType===v){pp.call(this,go),Be.call(this,1,!1);break}break;case C:e=Be.call(this,1,!0),e>0&&at.call(this,6-e);break;default:if(this.eatDelim(mo),this.tokenType===b){e=Be.call(this,0,!0),e>0&&at.call(this,6-e);break}if(this.isDelim(pn)){this.next(),at.call(this,5);break}this.error("Hex digit or question mark is expected")}}const fp="UnicodeRange",mp={value:String};function bo(){const e=this.tokenStart;return this.eatIdent("u"),dp.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function gp(e){this.tokenize(e.value)}const bp=Object.freeze(Object.defineProperty({__proto__:null,generate:gp,name:fp,parse:bo,structure:mp},Symbol.toStringTag,{value:"Module"})),yp=32,dn=92,kp=34,xp=39,vp=40,yo=41;function wp(e){const t=e.length;let n=4,r=e.charCodeAt(t-1)===yo?t-2:t-1,i="";for(;n<r&&Ce(e.charCodeAt(n));)n++;for(;n<r&&Ce(e.charCodeAt(r));)r--;for(let o=n;o<=r;o++){let a=e.charCodeAt(o);if(a===dn){if(o===r){o!==t-1&&(i=e.substr(o+1));break}if(a=e.charCodeAt(++o),de(dn,a)){const u=o-1,c=Ie(e,u);o=c-1,i+=Kr(e.substring(u+1,c))}else a===13&&e.charCodeAt(o+1)===10&&o++}else i+=e[o]}return i}function Sp(e){let t="",n=!1;for(let r=0;r<e.length;r++){const i=e.charCodeAt(r);if(i===0){t+="�";continue}if(i<=31||i===127){t+="\\"+i.toString(16),n=!0;continue}i===yp||i===dn||i===kp||i===xp||i===vp||i===yo?(t+="\\"+e.charAt(r),n=!1):(n&&xe(i)&&(t+=" "),t+=e.charAt(r),n=!1)}return"url("+t+")"}const Cp="Url",Tp={value:String};function ko(){const e=this.tokenStart;let t;switch(this.tokenType){case W:t=wp(this.consume(W));break;case S:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(S),this.skipSC(),t=co(this.consume(le)),this.skipSC(),this.eof||this.eat(x);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}function zp(e){this.token(W,Sp(e.value))}const Ap=Object.freeze(Object.defineProperty({__proto__:null,generate:zp,name:Cp,parse:ko,structure:Tp},Symbol.toStringTag,{value:"Module"})),Lp="Value",Op={children:[[]]};function xo(){const e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function _p(e){this.children(e)}const Ep=Object.freeze(Object.defineProperty({__proto__:null,generate:_p,name:Lp,parse:xo,structure:Op},Symbol.toStringTag,{value:"Module"})),$p=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),Mp="WhiteSpace",Ip={value:String};function vo(){return this.eat(N),$p}function Pp(e){this.token(N,e.value)}const Np=Object.freeze(Object.defineProperty({__proto__:null,generate:Pp,name:Mp,parse:vo,structure:Ip},Symbol.toStringTag,{value:"Module"})),wo=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:tl,Atrule:al,AtrulePrelude:pl,AttributeSelector:vl,Block:Ll,Brackets:$l,CDC:Nl,CDO:Fl,ClassSelector:Gl,Combinator:Zl,Comment:ic,Condition:uc,Declaration:Tc,DeclarationList:_c,Dimension:Ic,Feature:Dc,FeatureFunction:Wc,FeatureRange:Yc,Function:tu,GeneralEnclosed:ou,Hash:uu,IdSelector:yu,Identifier:fu,Layer:Su,LayerList:Au,MediaQuery:Eu,MediaQueryList:Pu,NestingSelector:Fu,Nth:Wu,Number:Ku,Operator:Zu,Parentheses:nh,Percentage:sh,PseudoClassSelector:hh,PseudoElementSelector:gh,Ratio:xh,Raw:Th,Rule:Eh,Scope:Ph,Selector:Dh,SelectorList:Wh,String:Yh,StyleSheet:np,SupportsDeclaration:sp,TypeSelector:hp,UnicodeRange:bp,Url:Ap,Value:Ep,WhiteSpace:Np},Symbol.toStringTag,{value:"Module"})),jp={generic:!0,cssWideKeywords:wn,...Ya,node:wo},Rp=35,Dp=42,jr=43,Fp=45,Bp=47,qp=117;function So(e){switch(this.tokenType){case I:return this.Hash();case Y:return this.Operator();case _:return this.Parentheses(this.readSequence,e.recognizer);case ne:return this.Brackets(this.readSequence,e.recognizer);case le:return this.String();case C:return this.Dimension();case P:return this.Percentage();case v:return this.Number();case S:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case W:return this.Url();case b:return this.cmpChar(this.tokenStart,qp)&&this.cmpChar(this.tokenStart+1,jr)?this.UnicodeRange():this.Identifier();case z:{const t=this.charCodeAt(this.tokenStart);if(t===Bp||t===Dp||t===jr||t===Fp)return this.Operator();t===Rp&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}const Up={getNode:So},Wp=35,Gp=38,Hp=42,Vp=43,Kp=47,Rr=46,Qp=62,Yp=124,Xp=126;function Zp(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function Jp(){switch(this.tokenType){case ne:return this.AttributeSelector();case I:return this.IdSelector();case G:return this.lookupType(1)===G?this.PseudoElementSelector():this.PseudoClassSelector();case b:return this.TypeSelector();case v:case P:return this.Percentage();case C:this.charCodeAt(this.tokenStart)===Rr&&this.error("Identifier is expected",this.tokenStart+1);break;case z:{switch(this.charCodeAt(this.tokenStart)){case Vp:case Qp:case Xp:case Kp:return this.Combinator();case Rr:return this.ClassSelector();case Hp:case Yp:return this.TypeSelector();case Wp:return this.IdSelector();case Gp:return this.NestingSelector()}break}}}const ed={onWhiteSpace:Zp,getNode:Jp};function td(){return this.createSingleNodeList(this.Raw(null,!1))}function nd(){const e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===Y){e.push(this.Operator());const t=this.tokenIndex,n=this.parseCustomProperty?this.Value(null):this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1);if(n.type==="Value"&&n.children.isEmpty){for(let r=t-this.tokenIndex;r<=0;r++)if(this.lookupType(r)===N){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(n)}return e}function Dr(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}const rd={getNode:So,onWhiteSpace(e,t){Dr(e)&&(e.value=" "+e.value),Dr(t.last)&&(t.last.value+=" ")},expression:td,var:nd},id=Object.freeze(Object.defineProperty({__proto__:null,AtrulePrelude:Up,Selector:ed,Value:rd},Symbol.toStringTag,{value:"Module"})),od=new Set(["none","and","not","or"]),sd={parse:{prelude(){const e=this.createList();if(this.tokenType===b){const t=this.substring(this.tokenStart,this.tokenEnd);od.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}},ad={parse:{prelude:null,block(){return this.Block(!0)}}};function Yt(e,t){return this.parseWithFallback(()=>{try{return e.call(this)}finally{this.skipSC(),this.lookupNonWSType(0)!==x&&this.error()}},t||(()=>this.Raw(null,!0)))}const Fr={layer(){this.skipSC();const e=this.createList(),t=Yt.call(this,this.Layer);return(t.type!=="Raw"||t.value!=="")&&e.push(t),e},supports(){this.skipSC();const e=this.createList(),t=Yt.call(this,this.Declaration,()=>Yt.call(this,()=>this.Condition("supports")));return(t.type!=="Raw"||t.value!=="")&&e.push(t),e}},ld={parse:{prelude(){const e=this.createList();switch(this.tokenType){case le:e.push(this.String());break;case W:case S:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.skipSC(),this.tokenType===b&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer")?e.push(this.Identifier()):this.tokenType===S&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer(")&&e.push(this.Function(null,Fr)),this.skipSC(),this.tokenType===S&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,Fr)),(this.lookupNonWSType(0)===b||this.lookupNonWSType(0)===_)&&e.push(this.MediaQueryList()),e},block:null}},cd={parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}},ud={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}},hd={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},pd={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},dd={parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}},fd={parse:{prelude:null,block(e=!1){return this.Block(e)}}},md={parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}},gd={container:sd,"font-face":ad,import:ld,layer:cd,media:ud,nest:hd,page:pd,scope:dd,"starting-style":fd,supports:md};function bd(){const e=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case b:e.push(this.Identifier());break;case le:e.push(this.String());break;case Y:e.push(this.Operator());break;case x:break e;default:this.error("Identifier, string or comma is expected")}this.skipSC()}return e}const we={parse(){return this.createSingleNodeList(this.SelectorList())}},Xt={parse(){return this.createSingleNodeList(this.Selector())}},yd={parse(){return this.createSingleNodeList(this.Identifier())}},kd={parse:bd},lt={parse(){return this.createSingleNodeList(this.Nth())}},xd={dir:yd,has:we,lang:kd,matches:we,is:we,"-moz-any":we,"-webkit-any":we,where:we,not:we,"nth-child":lt,"nth-last-child":lt,"nth-last-of-type":lt,"nth-of-type":lt,slotted:Xt,host:Xt,"host-context":Xt},vd=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:yi,Atrule:ki,AtrulePrelude:xi,AttributeSelector:wi,Block:Ci,Brackets:Ti,CDC:zi,CDO:Ai,ClassSelector:Li,Combinator:Oi,Comment:_i,Condition:Ei,Declaration:Mi,DeclarationList:Ii,Dimension:Pi,Feature:Ni,FeatureFunction:ji,FeatureRange:Ri,Function:Di,GeneralEnclosed:Fi,Hash:Bi,IdSelector:Ui,Identifier:qi,Layer:Wi,LayerList:Gi,MediaQuery:Hi,MediaQueryList:Vi,NestingSelector:Ki,Nth:Qi,Number:Yi,Operator:Xi,Parentheses:Zi,Percentage:Ji,PseudoClassSelector:eo,PseudoElementSelector:to,Ratio:no,Raw:ro,Rule:io,Scope:oo,Selector:so,SelectorList:ao,String:uo,StyleSheet:ho,SupportsDeclaration:po,TypeSelector:fo,UnicodeRange:bo,Url:ko,Value:xo,WhiteSpace:vo},Symbol.toStringTag,{value:"Module"})),wd={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:id,atrule:gd,pseudo:xd,node:vd},Sd={node:wo},Cd=Qa({...jp,...wd,...Sd}),{tokenize:Od,parse:Co,generate:Td,lexer:_d,createLexer:Ed,walk:To,find:$d,findLast:Md,findAll:Id,toPlainObject:Pd,fromPlainObject:Nd,fork:jd}=Cd,Rd=(e,t)=>{let n="undefined";const r=Zt(t)?[...t]:[t];return Mo(e)?n="string":jo(e)?n="number":Po(e)?n="boolean":Zt(e)?n="array":Ao(e)?n="function":Lo(e)?n="symbol":Oo(e)?n="null":_o(e)?n="object":Eo(e)&&(n="undefined"),r.includes(n)},Dd=(e,t)=>Math.floor(Math.random()*(t+1-e)+e),zd=e=>e.replace(/[/\\]/g,"/"),Fd=()=>`#${Math.floor(Math.random()*16777215).toString(16).padStart(6,"0")}`,Bd=e=>/^(?:(?:\+|00)86)?1[3-9]\d{9}$/.test(e),qd=e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e),Ud=async e=>{if(!navigator.clipboard)throw new Error("剪贴板API不可用");try{return await navigator.clipboard.writeText(e),"复制成功"}catch(t){throw console.error("复制失败:",t),new Error("无法复制文本")}},Ad=e=>e.replace(/[-_]([a-z])/g,(t,n)=>n.toUpperCase()).replace(/^[A-Z]/,t=>t.toLowerCase()),Br=e=>{if(Array.isArray(e))return e.map(n=>Br(n));if(e===null||typeof e!="object")return e;const t={};for(const n in e)if(e.hasOwnProperty(n)){const r=Ad(n);t[r]=Br(e[n])}return t};function Wd(e,t){if(!e||!t.length)throw new Error("组件路径或入口路径为空");const[n]=t.slice(-1);if(n===void 0)throw new Error("入口路径最后一项无效");const r=zd(n);return`${e.replace(zo.dirname,"")}${r}`}function Gd(e){const n=new DOMParser().parseFromString(e,"text/xml");return{code:n.querySelector("Code")?.textContent||"",message:n.querySelector("Message")?.textContent||"",maxSize:n.querySelector("MaxSizeAllowed")?.textContent||"",proposedSize:n.querySelector("ProposedSize")?.textContent||""}}function Hd(e){if(e.startsWith("2")||e.startsWith("~2")||e.startsWith("^2"))return 2;if(e.startsWith("3")||e.startsWith("~3")||e.startsWith("^3"))return 3;throw new Error("vue版本错误")}function Vd(e,t,n){const r=Co(e,{positions:!1});return To(r,i=>{if(i.type==="Url"&&i.value&&i.value.startsWith(".")){const o=i.value.replace(/["']/g,""),a=new URL(o,t),u=n?.find(c=>a.href.endsWith(c.path));u?i.value=u.signedUrl:i.value=new URL(o,t).href}}),Td(r)}function Kd(e){const t=[],n=Co(e,{positions:!1});return To(n,r=>{if(r.type==="Url"&&r.value){const i=r.value.replace(/["']/g,"");(i.endsWith(".woff")||i.endsWith(".ttf"))&&t.push(i)}}),t}function qr(e){const t=e.replace(/^[\^~>=<]+/,""),[n=0,r=0,i=0]=t.split(".").map(Number);return{major:n,minor:r,patch:i}}function Qd(e,t){return e.filter(n=>{const r=t.find(h=>h.name===n.name||h.name===n.parent?.name);if(!r)return!1;const{match:i}=r,{major:o,minor:a,patch:u}=qr(n.version),{major:c,minor:s,patch:l}=qr(r.version);switch(i){case Ze.ONLY_INSTALL:return!0;case Ze.MAJOR_VERSION:return o===c;case Ze.MINOR_VERSION:return o===c&&a===s;case Ze.EXACT_VERSION:return o===c&&a===s&&u===l}})}function Yd(e,t){if(e.length===0||t.length===0)return!1;const[n,r]=e.length<t.length?[e,t]:[t,e],i=new Set(n);return r.some(o=>i.has(o))}function Xd(e,t){const n=new Set(e),r=new Set(t);return[...e.filter(i=>!r.has(i)),...t.filter(i=>!n.has(i))]}function Ur(e){return/^\d+\.\d+\.\d+$/.test(e)}function Zd(e,t){if(!Ur(e)||!Ur(t))throw new Error("版本号格式不正确");const n=e.split(".").map(Number),r=t.split(".").map(Number);for(let i=0;i<3;i++){const o=n[i]??0,a=r[i]??0;if(o>a)return zt.GREATER;if(o<a)return zt.LESS}return zt.SAME}function Jd(e){return/(^[A-Z][a-z][a-zA-Z0-9]*$)|(^[a-z]+(-[a-z0-9]+)+$)/.test(e.trim())}function ef(e){const t={};return e.forEach(n=>{n?.parent?t[n?.parent?.name]=n?.parent?.version:t[n.name]=n.version}),Object.entries(t).map(([n,r])=>({name:n,version:r}))}export{qd as a,Fd as b,Wd as c,Br as d,Gd as e,Ud as f,Dd as g,ef as h,Bd as i,Xd as j,Yd as k,Rd as l,Zd as m,Vd as n,Hd as o,Qd as p,Kd as q,zd as r,Jd as v};
@@ -0,0 +1 @@
1
+ import{d as B,G as L,V as b,m as n,ad as F,J as h,x as M,r as N,c as R,b as r,w as c,a as p,O as I,P as O,B as A,p as j,o as v,f as z,t as U,Y as G,aG as K,af as Y,a4 as H,a5 as J}from"./index-Cg5tYaaJ.js";import{a as W,C as X,_ as q}from"./index.vue_vue_type_script_setup_true_lang-DpO50vhc.js";import{a as Q}from"./index-NCe1bOPR.js";import{h as Z,c as _}from"./index-BnB32Ro9.js";import{m as ee}from"./v1Module-BMO4-eIJ.js";import{C as ae}from"./index.vue_vue_type_script_setup_true_lang-CnpXawsg.js";import"./index.vue_vue_type_style_index_0_lang-BnHuZh3W.js";import"./index.vue_vue_type_style_index_0_lang-CYK4UZZC.js";import"./atom-one-dark-DaKCeli0.js";import"./useTeamHeaders-C9_IL2Bb.js";import"./index.vue_vue_type_script_setup_true_lang-BalQl2B-.js";const te={class:"preview-container size-full overflow-x-hidden overflow-y-scroll"},oe={class:"h-[50vh]"},se={class:"w-full flex flex-col gap-1"},le={class:"text-xs flex items-center"},Pe=B({__name:"index",setup(ne){const P=new Map;H(J.CALLBACKS,P);const w=L(),C=b(),{openCompPathInVscode:g,handlePath:y}=F(),{compId:i}=w.params,o=Q(i)(),u=n(()=>Z(o.dep??[])),D=n(()=>y(t.value.fullPath,1)),t=n(()=>o.detail),d=n(()=>Object.keys(t.value??{}).length>0),f=n(()=>{const e=t.value?.previewConfigs??[];if(!e.length)return[];const s=a=>{const m=_(t.value.path,a);return`${h}/${m}`},l=e.filter(a=>a.fullPath?.length);return l.length?l.map(a=>({finalEntryUrl:s(a.fullPath??[])})):e.filter(a=>a.miniPath?.length).map(a=>({finalEntryUrl:s(a.miniPath??[])}))}),x=n(()=>{const e=f.value.length===1?"none":"";return{previews:f.value,dep:o.dep,depToFile:o.depToFile,indicatorPosition:e,bgColor:t.value.bgColor??"#fff"}}),E=n(()=>{const e=_(t.value.path,["\\README.md"]);return`${h}/${e}`});function V(){g(t.value.fullPath,"./comp.json")}async function k(){if(!i)return;const e=await K({fullPathHash:i}),s=await Y({compPath:e.data.path}),{thirdParty:l=[]}=s.data,a=l.map($=>$.name),m=await ee({deps:a}),{entryNameToFile:T={}}=m.data;o.setDetail(e.data),o.setDep(l),o.setDepToFile(T)}function S(){C.addPayLoad(`/previewLocal/${i}`,{name:`本地组件:${t.value?.name??""}`})}return M(async()=>{d.value||await k(),S()}),(e,s)=>{const l=N("el-link");return v(),R("div",te,[r(G,{isEmpty:!d.value},{default:c(()=>[p("div",oe,[r(W,{title:t.value?.name,actions:["maximize"]},{default:c(()=>[r(X,I(O(x.value)),{compToolBar:c(()=>[p("div",se,[u.value.length>0?(v(),A(ae,{key:0,compDeps:u.value},null,8,["compDeps"])):j("",!0),p("div",le,[s[0]||(s[0]=p("span",null,"组件位置:",-1)),r(l,{href:"javascript:void(0)",type:"primary",underline:"always",title:t.value.fullPath,onClick:V},{default:c(()=>[z(U(D.value),1)]),_:1},8,["title"])])])]),_:1},16)]),_:1},8,["title"])]),r(q,{mdSrc:E.value,scrollContainer:".preview-container",stickyTopDistance:0,showSimilarComp:!1},null,8,["mdSrc"])]),_:1},8,["isEmpty"])])}}});export{Pe as default};