@anhnv/lexical-playground 0.39.0

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 (274) hide show
  1. package/dist/DateTimeComponent-DX3ALs4U.cjs +1 -0
  2. package/dist/DateTimeComponent-DaF6ca1f.js +174 -0
  3. package/dist/EquationComponent-BrbIAXFZ.js +105 -0
  4. package/dist/EquationComponent-DFRdSLyf.cjs +3 -0
  5. package/dist/ExcalidrawComponent-B2RIlh-t.js +174 -0
  6. package/dist/ExcalidrawComponent-VGrNBMwa.cjs +1 -0
  7. package/dist/ImageComponent-CFLPSAon.cjs +1 -0
  8. package/dist/ImageComponent-Dr9Y0gPd.js +286 -0
  9. package/dist/ImageResizer-riowDF8s.cjs +1 -0
  10. package/dist/ImageResizer-wZz1Oitl.js +199 -0
  11. package/dist/PollComponent-DpWrUNaL.js +152 -0
  12. package/dist/PollComponent-hitipp8H.cjs +1 -0
  13. package/dist/QuestionComponent-BYluUh-8.cjs +1 -0
  14. package/dist/QuestionComponent-DQFO_Or8.js +60 -0
  15. package/dist/StickyComponent-B-sytJ7W.js +161 -0
  16. package/dist/StickyComponent-DGi089bO.cjs +1 -0
  17. package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
  18. package/dist/_commonjsHelpers-DwGv2jUC.cjs +1 -0
  19. package/dist/babel-CqfpZa5G.js +7195 -0
  20. package/dist/babel-CryJy3T1.cjs +15 -0
  21. package/dist/estree-CJTW2kur.cjs +44 -0
  22. package/dist/estree-DmlwiAu4.js +4453 -0
  23. package/dist/fonts/Assistant/Assistant-Bold.woff2 +0 -0
  24. package/dist/fonts/Assistant/Assistant-Medium.woff2 +0 -0
  25. package/dist/fonts/Assistant/Assistant-Regular.woff2 +0 -0
  26. package/dist/fonts/Assistant/Assistant-SemiBold.woff2 +0 -0
  27. package/dist/fonts/Cascadia/CascadiaCode-Regular.woff2 +0 -0
  28. package/dist/fonts/ComicShanns/ComicShanns-Regular-279a7b317d12eb88de06167bd672b4b4.woff2 +0 -0
  29. package/dist/fonts/ComicShanns/ComicShanns-Regular-6e066e8de2ac57ea9283adb9c24d7f0c.woff2 +0 -0
  30. package/dist/fonts/ComicShanns/ComicShanns-Regular-dc6a8806fa96795d7b3be5026f989a17.woff2 +0 -0
  31. package/dist/fonts/ComicShanns/ComicShanns-Regular-fcb0fc02dcbee4c9846b3e2508668039.woff2 +0 -0
  32. package/dist/fonts/Excalifont/Excalifont-Regular-349fac6ca4700ffec595a7150a0d1e1d.woff2 +0 -0
  33. package/dist/fonts/Excalifont/Excalifont-Regular-3f2c5db56cc93c5a6873b1361d730c16.woff2 +0 -0
  34. package/dist/fonts/Excalifont/Excalifont-Regular-41b173a47b57366892116a575a43e2b6.woff2 +0 -0
  35. package/dist/fonts/Excalifont/Excalifont-Regular-623ccf21b21ef6b3a0d87738f77eb071.woff2 +0 -0
  36. package/dist/fonts/Excalifont/Excalifont-Regular-a88b72a24fb54c9f94e3b5fdaa7481c9.woff2 +0 -0
  37. package/dist/fonts/Excalifont/Excalifont-Regular-b9dcf9d2e50a1eaf42fc664b50a3fd0d.woff2 +0 -0
  38. package/dist/fonts/Excalifont/Excalifont-Regular-be310b9bcd4f1a43f571c46df7809174.woff2 +0 -0
  39. package/dist/fonts/Liberation/LiberationSans-Regular.woff2 +0 -0
  40. package/dist/fonts/Lilita/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYE98RXi4EwSsbg.woff2 +0 -0
  41. package/dist/fonts/Lilita/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYEF8RXi4EwQ.woff2 +0 -0
  42. package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTA3j6zbXWjgevT5.woff2 +0 -0
  43. package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTQ3j6zbXWjgeg.woff2 +0 -0
  44. package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTk3j6zbXWjgevT5.woff2 +0 -0
  45. package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTo3j6zbXWjgevT5.woff2 +0 -0
  46. package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTs3j6zbXWjgevT5.woff2 +0 -0
  47. package/dist/fonts/Virgil/Virgil-Regular.woff2 +0 -0
  48. package/dist/fonts/Xiaolai/Xiaolai-Regular-019d66dcad46dc156b162d267f981c20.woff2 +0 -0
  49. package/dist/fonts/Xiaolai/Xiaolai-Regular-04b718e5623574919c8b0dea5f301444.woff2 +0 -0
  50. package/dist/fonts/Xiaolai/Xiaolai-Regular-069e77aac84590e2e991d0a0176d34f2.woff2 +0 -0
  51. package/dist/fonts/Xiaolai/Xiaolai-Regular-06c77b8c66e51ed6c63ccb502dd8b8af.woff2 +0 -0
  52. package/dist/fonts/Xiaolai/Xiaolai-Regular-08e0dc436ad0ad61ba5558db0674d762.woff2 +0 -0
  53. package/dist/fonts/Xiaolai/Xiaolai-Regular-093b9ef39a46ceae95a1df18a0a3a326.woff2 +0 -0
  54. package/dist/fonts/Xiaolai/Xiaolai-Regular-095c169f3314805276f603a362766abd.woff2 +0 -0
  55. package/dist/fonts/Xiaolai/Xiaolai-Regular-09850c4077f3fffe707905872e0e2460.woff2 +0 -0
  56. package/dist/fonts/Xiaolai/Xiaolai-Regular-0986d134c05864f5025962eef9f994a0.woff2 +0 -0
  57. package/dist/fonts/Xiaolai/Xiaolai-Regular-0b5d723fdc4e249c140f0909e87d03b4.woff2 +0 -0
  58. package/dist/fonts/Xiaolai/Xiaolai-Regular-0f626226ba1272e832aea87bafd9720e.woff2 +0 -0
  59. package/dist/fonts/Xiaolai/Xiaolai-Regular-0f7fb1e0d5015bb1371343153ecf7ce3.woff2 +0 -0
  60. package/dist/fonts/Xiaolai/Xiaolai-Regular-0fa55a080fcd0f9dc2e0b0058b793df8.woff2 +0 -0
  61. package/dist/fonts/Xiaolai/Xiaolai-Regular-0facdf1ea213ba40261022f5d5ed4493.woff2 +0 -0
  62. package/dist/fonts/Xiaolai/Xiaolai-Regular-10a7ae9a371830a80c3d844acf1c02d7.woff2 +0 -0
  63. package/dist/fonts/Xiaolai/Xiaolai-Regular-112c051027b2d766c19a519f6ee1f4f7.woff2 +0 -0
  64. package/dist/fonts/Xiaolai/Xiaolai-Regular-11c345711937f0ba4b8f7b6b919c8440.woff2 +0 -0
  65. package/dist/fonts/Xiaolai/Xiaolai-Regular-12b52b58eb3df36804b9a654ec9ee194.woff2 +0 -0
  66. package/dist/fonts/Xiaolai/Xiaolai-Regular-13ae07ed2e272d26d59bc0691cd7117a.woff2 +0 -0
  67. package/dist/fonts/Xiaolai/Xiaolai-Regular-13d2887ec8ee73c43acdabc52a05af7b.woff2 +0 -0
  68. package/dist/fonts/Xiaolai/Xiaolai-Regular-145aa02cdd91946e67dc934e1acffe75.woff2 +0 -0
  69. package/dist/fonts/Xiaolai/Xiaolai-Regular-15dc6d811c9cd078f9086a740d5a1038.woff2 +0 -0
  70. package/dist/fonts/Xiaolai/Xiaolai-Regular-173945821411c09f70c95f98d590e697.woff2 +0 -0
  71. package/dist/fonts/Xiaolai/Xiaolai-Regular-1b611157cd46bb184d4fa4dae2d6a2b8.woff2 +0 -0
  72. package/dist/fonts/Xiaolai/Xiaolai-Regular-1e6fd68f1f3902ce48ce8c69df385622.woff2 +0 -0
  73. package/dist/fonts/Xiaolai/Xiaolai-Regular-1ee544f0f1dac422545c505baa788992.woff2 +0 -0
  74. package/dist/fonts/Xiaolai/Xiaolai-Regular-1fdc0c67ed57263a80fd108c1f6ccf24.woff2 +0 -0
  75. package/dist/fonts/Xiaolai/Xiaolai-Regular-203b0e569e3b14aac86a003dc3fa523e.woff2 +0 -0
  76. package/dist/fonts/Xiaolai/Xiaolai-Regular-20cc1bbf50e7efb442756cb605672c1f.woff2 +0 -0
  77. package/dist/fonts/Xiaolai/Xiaolai-Regular-20e7bf72fa05de9adf7dbcc7bf51dde6.woff2 +0 -0
  78. package/dist/fonts/Xiaolai/Xiaolai-Regular-21430ee05a1248901da8d0de08744d47.woff2 +0 -0
  79. package/dist/fonts/Xiaolai/Xiaolai-Regular-23686f7f29da6e8008c36dd3a80c83d6.woff2 +0 -0
  80. package/dist/fonts/Xiaolai/Xiaolai-Regular-23ad2d71b280f00b1363b95b7bea94eb.woff2 +0 -0
  81. package/dist/fonts/Xiaolai/Xiaolai-Regular-23f228f3999c01983860012330e4be08.woff2 +0 -0
  82. package/dist/fonts/Xiaolai/Xiaolai-Regular-24476a126f129212beb33f66853ea151.woff2 +0 -0
  83. package/dist/fonts/Xiaolai/Xiaolai-Regular-24a21c1e4449222e8d1898d69ff3a404.woff2 +0 -0
  84. package/dist/fonts/Xiaolai/Xiaolai-Regular-25b7f38e18f035f96cb5e547bd2bd08c.woff2 +0 -0
  85. package/dist/fonts/Xiaolai/Xiaolai-Regular-29cec36cd205b211da97acabaa62f055.woff2 +0 -0
  86. package/dist/fonts/Xiaolai/Xiaolai-Regular-2a26d20a23b00898ce82f09d2ee47c3f.woff2 +0 -0
  87. package/dist/fonts/Xiaolai/Xiaolai-Regular-2adbc89c11e65905393d3dfc468b9d5b.woff2 +0 -0
  88. package/dist/fonts/Xiaolai/Xiaolai-Regular-2b7441d46298788ac94e610ffcc709b6.woff2 +0 -0
  89. package/dist/fonts/Xiaolai/Xiaolai-Regular-2b77e8ebfb2367ab2662396a60e7d320.woff2 +0 -0
  90. package/dist/fonts/Xiaolai/Xiaolai-Regular-2cf96d082d35ea3d8106851223ad0d16.woff2 +0 -0
  91. package/dist/fonts/Xiaolai/Xiaolai-Regular-2d43040e86ff03ba677f6f9c04cd0805.woff2 +0 -0
  92. package/dist/fonts/Xiaolai/Xiaolai-Regular-2e33e8dc771ef5e1d9127d60a6b73679.woff2 +0 -0
  93. package/dist/fonts/Xiaolai/Xiaolai-Regular-33432927cd87d40cfe393c7482bf221f.woff2 +0 -0
  94. package/dist/fonts/Xiaolai/Xiaolai-Regular-353f33792a8f60dc69323ddf635a269e.woff2 +0 -0
  95. package/dist/fonts/Xiaolai/Xiaolai-Regular-36925dfe329a45086cbb7fc5c20d45ac.woff2 +0 -0
  96. package/dist/fonts/Xiaolai/Xiaolai-Regular-3717077e38f98d89eae729b6c14e56dc.woff2 +0 -0
  97. package/dist/fonts/Xiaolai/Xiaolai-Regular-3756e81d3e149cf6099163ee79944fec.woff2 +0 -0
  98. package/dist/fonts/Xiaolai/Xiaolai-Regular-395c35dd584b56b0789f58a0559beaf1.woff2 +0 -0
  99. package/dist/fonts/Xiaolai/Xiaolai-Regular-3c9de2ae0ea4bc91a510942dfa4be8d2.woff2 +0 -0
  100. package/dist/fonts/Xiaolai/Xiaolai-Regular-3cc70dbb64df5b21f1326cc24dee2195.woff2 +0 -0
  101. package/dist/fonts/Xiaolai/Xiaolai-Regular-3e1f8f654357353bf0e04ba5c34b5f7f.woff2 +0 -0
  102. package/dist/fonts/Xiaolai/Xiaolai-Regular-3e63ed8162808a9e425ed80a8bc79114.woff2 +0 -0
  103. package/dist/fonts/Xiaolai/Xiaolai-Regular-3eaa538115d76932653c21d8dc28f207.woff2 +0 -0
  104. package/dist/fonts/Xiaolai/Xiaolai-Regular-4095eb84ef3874e2600247bee0b04026.woff2 +0 -0
  105. package/dist/fonts/Xiaolai/Xiaolai-Regular-41521fade99856108931b4768b1b2648.woff2 +0 -0
  106. package/dist/fonts/Xiaolai/Xiaolai-Regular-450da755d5bcb70906e1295e559b9602.woff2 +0 -0
  107. package/dist/fonts/Xiaolai/Xiaolai-Regular-452225341522a7942f0f6aab1a5c91a3.woff2 +0 -0
  108. package/dist/fonts/Xiaolai/Xiaolai-Regular-4535823663ad81405188a528d8f2b1a2.woff2 +0 -0
  109. package/dist/fonts/Xiaolai/Xiaolai-Regular-4806e761d750087c2d734fc64596eaff.woff2 +0 -0
  110. package/dist/fonts/Xiaolai/Xiaolai-Regular-4a0fdb40036e87b40aa08dd30584cb85.woff2 +0 -0
  111. package/dist/fonts/Xiaolai/Xiaolai-Regular-4a38cc3e9cf104e69ba246d37f8cf135.woff2 +0 -0
  112. package/dist/fonts/Xiaolai/Xiaolai-Regular-4aca6a43e59aceee2166b0c7e4e85ef1.woff2 +0 -0
  113. package/dist/fonts/Xiaolai/Xiaolai-Regular-4bfaa8ffa64c5ee560aa2daba7c9cbd3.woff2 +0 -0
  114. package/dist/fonts/Xiaolai/Xiaolai-Regular-4dc6d5f188d5c96d44815cd1e81aa885.woff2 +0 -0
  115. package/dist/fonts/Xiaolai/Xiaolai-Regular-4ddc14ed3eb0c3e46364317dfc0144a3.woff2 +0 -0
  116. package/dist/fonts/Xiaolai/Xiaolai-Regular-4ee10ae43505e2e0bc62656ced49c0fa.woff2 +0 -0
  117. package/dist/fonts/Xiaolai/Xiaolai-Regular-4f50e5136e136527280bc902c5817561.woff2 +0 -0
  118. package/dist/fonts/Xiaolai/Xiaolai-Regular-51502f1206be09c565f1547c406e9558.woff2 +0 -0
  119. package/dist/fonts/Xiaolai/Xiaolai-Regular-51a0e808bbc8361236ac521a119758a3.woff2 +0 -0
  120. package/dist/fonts/Xiaolai/Xiaolai-Regular-52a84a22fd1369bffeaf21da2d6158dc.woff2 +0 -0
  121. package/dist/fonts/Xiaolai/Xiaolai-Regular-5330a2119a716e4e7224ed108b085dac.woff2 +0 -0
  122. package/dist/fonts/Xiaolai/Xiaolai-Regular-543fa46ace099a7099dad69123399400.woff2 +0 -0
  123. package/dist/fonts/Xiaolai/Xiaolai-Regular-544fc28abe2c5c30e62383fd4dac255f.woff2 +0 -0
  124. package/dist/fonts/Xiaolai/Xiaolai-Regular-54acdfc2166ad7fcbd074f75fd4a56ba.woff2 +0 -0
  125. package/dist/fonts/Xiaolai/Xiaolai-Regular-5572b3513ba8df57a3d5d7303ee6b11b.woff2 +0 -0
  126. package/dist/fonts/Xiaolai/Xiaolai-Regular-56467a5c8840c4d23a60b2f935114848.woff2 +0 -0
  127. package/dist/fonts/Xiaolai/Xiaolai-Regular-56a32a7689abd0326e57c10c6c069bb4.woff2 +0 -0
  128. package/dist/fonts/Xiaolai/Xiaolai-Regular-57862b464a55b18c7bf234ce22907d73.woff2 +0 -0
  129. package/dist/fonts/Xiaolai/Xiaolai-Regular-583d166e56ba0de4b77eabb47ef67839.woff2 +0 -0
  130. package/dist/fonts/Xiaolai/Xiaolai-Regular-5882ffa04f32584d26109137e2da4352.woff2 +0 -0
  131. package/dist/fonts/Xiaolai/Xiaolai-Regular-58fd02350d0bc52cf1ca3bb32ce9766e.woff2 +0 -0
  132. package/dist/fonts/Xiaolai/Xiaolai-Regular-5935a5775af3d5c6307ac667bd9ae74e.woff2 +0 -0
  133. package/dist/fonts/Xiaolai/Xiaolai-Regular-59e9ff77b0efaf684bc09274fb6908c9.woff2 +0 -0
  134. package/dist/fonts/Xiaolai/Xiaolai-Regular-5a1ce3117cfe90c48e8fb4a9a00f694d.woff2 +0 -0
  135. package/dist/fonts/Xiaolai/Xiaolai-Regular-5a45d991244d4c7140217e1e5f5ca4f4.woff2 +0 -0
  136. package/dist/fonts/Xiaolai/Xiaolai-Regular-5a7fac4b8b23a6e4e5ba0c9bf1756c91.woff2 +0 -0
  137. package/dist/fonts/Xiaolai/Xiaolai-Regular-5b0ed6971aaab9c8ad563230bd5471a7.woff2 +0 -0
  138. package/dist/fonts/Xiaolai/Xiaolai-Regular-5d2898fbc097a7e24c6f38d80587621e.woff2 +0 -0
  139. package/dist/fonts/Xiaolai/Xiaolai-Regular-603aefd23e350ba7eb124273e3c9bcf1.woff2 +0 -0
  140. package/dist/fonts/Xiaolai/Xiaolai-Regular-60a3089806700d379f11827ee9843b6b.woff2 +0 -0
  141. package/dist/fonts/Xiaolai/Xiaolai-Regular-60a41c7e1c68f22424e6d22df544bc82.woff2 +0 -0
  142. package/dist/fonts/Xiaolai/Xiaolai-Regular-642b26e2e5f5fb780b51b593dbc8c851.woff2 +0 -0
  143. package/dist/fonts/Xiaolai/Xiaolai-Regular-66493ba5a8367f2928812f446f47b56a.woff2 +0 -0
  144. package/dist/fonts/Xiaolai/Xiaolai-Regular-670ba603758d94268e8606f240a42e12.woff2 +0 -0
  145. package/dist/fonts/Xiaolai/Xiaolai-Regular-671a2c20b1eb9e4ef8a192833940e319.woff2 +0 -0
  146. package/dist/fonts/Xiaolai/Xiaolai-Regular-684d65f1793cac449dde5d59cb3c47fb.woff2 +0 -0
  147. package/dist/fonts/Xiaolai/Xiaolai-Regular-69c09cc5fa3e55c74fc4821f76909cc3.woff2 +0 -0
  148. package/dist/fonts/Xiaolai/Xiaolai-Regular-6ae5b42180ad70b971c91e7eefb8eba2.woff2 +0 -0
  149. package/dist/fonts/Xiaolai/Xiaolai-Regular-6e092f71c1e634059ada0e52abadce67.woff2 +0 -0
  150. package/dist/fonts/Xiaolai/Xiaolai-Regular-6f3256af8454371776bc46670d33cc65.woff2 +0 -0
  151. package/dist/fonts/Xiaolai/Xiaolai-Regular-6fe5c5973cc06f74b2387a631ea36b88.woff2 +0 -0
  152. package/dist/fonts/Xiaolai/Xiaolai-Regular-70c2eb8d64e71a42a834eb857ea9df51.woff2 +0 -0
  153. package/dist/fonts/Xiaolai/Xiaolai-Regular-70e811fd7994e61f408c923de6ddd078.woff2 +0 -0
  154. package/dist/fonts/Xiaolai/Xiaolai-Regular-7197d6fda6cba7c3874c53d6381ca239.woff2 +0 -0
  155. package/dist/fonts/Xiaolai/Xiaolai-Regular-72252d73220fa3cd856677888cee1635.woff2 +0 -0
  156. package/dist/fonts/Xiaolai/Xiaolai-Regular-72536a3d71b694a0d53dd90ddceae41e.woff2 +0 -0
  157. package/dist/fonts/Xiaolai/Xiaolai-Regular-726303e0774b4e678bff8c2deb6ca603.woff2 +0 -0
  158. package/dist/fonts/Xiaolai/Xiaolai-Regular-733171b4ffcd17ea1fe1c0ba627173bf.woff2 +0 -0
  159. package/dist/fonts/Xiaolai/Xiaolai-Regular-739bc1a567439c7cffcd1614644593d2.woff2 +0 -0
  160. package/dist/fonts/Xiaolai/Xiaolai-Regular-73e309718fd16cea44b4d54a33581811.woff2 +0 -0
  161. package/dist/fonts/Xiaolai/Xiaolai-Regular-7494dc504ae00ee9cd0505f990f88c5d.woff2 +0 -0
  162. package/dist/fonts/Xiaolai/Xiaolai-Regular-74e2263a91439c25b91d5132ce9f4d62.woff2 +0 -0
  163. package/dist/fonts/Xiaolai/Xiaolai-Regular-761d05e3cd968cf574166867998ef06a.woff2 +0 -0
  164. package/dist/fonts/Xiaolai/Xiaolai-Regular-7718fe60986d8b42b1be9c5ace5ccf25.woff2 +0 -0
  165. package/dist/fonts/Xiaolai/Xiaolai-Regular-774d4f764a1299da5d28ec2f2ffe0d69.woff2 +0 -0
  166. package/dist/fonts/Xiaolai/Xiaolai-Regular-79d494361ae093b69e74ee9dbe65bfd4.woff2 +0 -0
  167. package/dist/fonts/Xiaolai/Xiaolai-Regular-79f007c1c6d07557120982951ea67998.woff2 +0 -0
  168. package/dist/fonts/Xiaolai/Xiaolai-Regular-7a07ddc0f0c0f5f4a9bad6ee3dda66b5.woff2 +0 -0
  169. package/dist/fonts/Xiaolai/Xiaolai-Regular-7ab2bed91166a9dca83a5ebfbe2a7f38.woff2 +0 -0
  170. package/dist/fonts/Xiaolai/Xiaolai-Regular-7ccce86603f80a099ddb0cb21d4ae3e3.woff2 +0 -0
  171. package/dist/fonts/Xiaolai/Xiaolai-Regular-7e4bde7e9c7f84cd34d8a845e384c746.woff2 +0 -0
  172. package/dist/fonts/Xiaolai/Xiaolai-Regular-7e929f262f30c8ee78bf398150b1a7cd.woff2 +0 -0
  173. package/dist/fonts/Xiaolai/Xiaolai-Regular-7eb9fffd1aa890d07d0f88cc82e6cfe4.woff2 +0 -0
  174. package/dist/fonts/Xiaolai/Xiaolai-Regular-7f855356ab893b0d2b9c1c83b8116f0e.woff2 +0 -0
  175. package/dist/fonts/Xiaolai/Xiaolai-Regular-829615148e6357d826b9242eb7fbbd1e.woff2 +0 -0
  176. package/dist/fonts/Xiaolai/Xiaolai-Regular-866fa7613df6b3fd272bcfd4530c0bb9.woff2 +0 -0
  177. package/dist/fonts/Xiaolai/Xiaolai-Regular-87599f94b6cc129d505b375798d0d751.woff2 +0 -0
  178. package/dist/fonts/Xiaolai/Xiaolai-Regular-8c2f33cee3993174f7e87c28e4bf42ee.woff2 +0 -0
  179. package/dist/fonts/Xiaolai/Xiaolai-Regular-8d3bcabb847b56243b16afe62adaaf21.woff2 +0 -0
  180. package/dist/fonts/Xiaolai/Xiaolai-Regular-8de5b863cb50dfefdd07cb11c774d579.woff2 +0 -0
  181. package/dist/fonts/Xiaolai/Xiaolai-Regular-8e9f97f01034820170065b2921b4fb5e.woff2 +0 -0
  182. package/dist/fonts/Xiaolai/Xiaolai-Regular-8f476c4c99813d57cbe6eca4727388ad.woff2 +0 -0
  183. package/dist/fonts/Xiaolai/Xiaolai-Regular-903bb6865f3452e2fda42e3a25547bc5.woff2 +0 -0
  184. package/dist/fonts/Xiaolai/Xiaolai-Regular-91ddb2969bf2d31ba02ad82998d1314c.woff2 +0 -0
  185. package/dist/fonts/Xiaolai/Xiaolai-Regular-938d90c10ff8c20386af7f242c05d6b0.woff2 +0 -0
  186. package/dist/fonts/Xiaolai/Xiaolai-Regular-93fc8f28a33234bcadf1527cafabd502.woff2 +0 -0
  187. package/dist/fonts/Xiaolai/Xiaolai-Regular-95429962233afd82db1c27df1500a28c.woff2 +0 -0
  188. package/dist/fonts/Xiaolai/Xiaolai-Regular-9544732d2e62d1a429674f8ee41b5d3a.woff2 +0 -0
  189. package/dist/fonts/Xiaolai/Xiaolai-Regular-9592bfc861f07bcb8d75c196b370e548.woff2 +0 -0
  190. package/dist/fonts/Xiaolai/Xiaolai-Regular-95bfd249da4902577b4b7d76ebdd0b44.woff2 +0 -0
  191. package/dist/fonts/Xiaolai/Xiaolai-Regular-968cffdc8ee679da094e77ebf50f58ef.woff2 +0 -0
  192. package/dist/fonts/Xiaolai/Xiaolai-Regular-97f7f48ce90c9429bf32ae51469db74d.woff2 +0 -0
  193. package/dist/fonts/Xiaolai/Xiaolai-Regular-982b630266d87db93d2539affb1275c6.woff2 +0 -0
  194. package/dist/fonts/Xiaolai/Xiaolai-Regular-98f2ad84457de7f3740d9920b8fa8667.woff2 +0 -0
  195. package/dist/fonts/Xiaolai/Xiaolai-Regular-99a16ef6a64934d5781933dbd9c46b2e.woff2 +0 -0
  196. package/dist/fonts/Xiaolai/Xiaolai-Regular-9cfb2a77a4e45025105ad29a1748b90d.woff2 +0 -0
  197. package/dist/fonts/Xiaolai/Xiaolai-Regular-9d81066dd2b337c938df6e90380a00dc.woff2 +0 -0
  198. package/dist/fonts/Xiaolai/Xiaolai-Regular-9eb5a99df4e76ac3363453ac9ca288b1.woff2 +0 -0
  199. package/dist/fonts/Xiaolai/Xiaolai-Regular-a004ddfcb26e67bd6e678c8ed19e25ce.woff2 +0 -0
  200. package/dist/fonts/Xiaolai/Xiaolai-Regular-a0ca5df4258213d7fc9fce80f65ce760.woff2 +0 -0
  201. package/dist/fonts/Xiaolai/Xiaolai-Regular-a1f916d6039285c4ffb900cd654e418f.woff2 +0 -0
  202. package/dist/fonts/Xiaolai/Xiaolai-Regular-a203b91dad570bf05a58c3c3ddb529bf.woff2 +0 -0
  203. package/dist/fonts/Xiaolai/Xiaolai-Regular-a365e82ed54697a52f27adcea1315fe8.woff2 +0 -0
  204. package/dist/fonts/Xiaolai/Xiaolai-Regular-a4c34be6d42152e64b0df90bc4607f64.woff2 +0 -0
  205. package/dist/fonts/Xiaolai/Xiaolai-Regular-a7accba310e821da5505f71c03b76bdb.woff2 +0 -0
  206. package/dist/fonts/Xiaolai/Xiaolai-Regular-aa0d470430e6391eca720c7cfa44446f.woff2 +0 -0
  207. package/dist/fonts/Xiaolai/Xiaolai-Regular-aa5c9ca6cf4fba00433b7aa3fa10671a.woff2 +0 -0
  208. package/dist/fonts/Xiaolai/Xiaolai-Regular-ac9ceb44437becc3e9c4dbfebab7fc2d.woff2 +0 -0
  209. package/dist/fonts/Xiaolai/Xiaolai-Regular-b1220a3c61f85cc0408deedb4c5f57a2.woff2 +0 -0
  210. package/dist/fonts/Xiaolai/Xiaolai-Regular-b358f7a51ece39a3247942b1feabdb29.woff2 +0 -0
  211. package/dist/fonts/Xiaolai/Xiaolai-Regular-b57aaedfd8ebdf3931f25119dc6a5eb2.woff2 +0 -0
  212. package/dist/fonts/Xiaolai/Xiaolai-Regular-b5c1596551c256e0e9cf02028595b092.woff2 +0 -0
  213. package/dist/fonts/Xiaolai/Xiaolai-Regular-b6d128682ee29e471486354d486a1b90.woff2 +0 -0
  214. package/dist/fonts/Xiaolai/Xiaolai-Regular-b6fd38ca30869792244804b04bc058da.woff2 +0 -0
  215. package/dist/fonts/Xiaolai/Xiaolai-Regular-b7d203b051eff504ff59ddca7576b6a9.woff2 +0 -0
  216. package/dist/fonts/Xiaolai/Xiaolai-Regular-b96d9226ce77ec94ceca043d712182e6.woff2 +0 -0
  217. package/dist/fonts/Xiaolai/Xiaolai-Regular-ba3de316d63c7e339987b16f41a0b879.woff2 +0 -0
  218. package/dist/fonts/Xiaolai/Xiaolai-Regular-bafff7a14c27403dcc6cf1432e8ea836.woff2 +0 -0
  219. package/dist/fonts/Xiaolai/Xiaolai-Regular-bd77e3c7f9e0b072d96af37f73d1aa32.woff2 +0 -0
  220. package/dist/fonts/Xiaolai/Xiaolai-Regular-be549ab72f0719d606a5c01e2c0219b6.woff2 +0 -0
  221. package/dist/fonts/Xiaolai/Xiaolai-Regular-c16ed9740b85badf16e86ea782a3062f.woff2 +0 -0
  222. package/dist/fonts/Xiaolai/Xiaolai-Regular-c1f94158256bb1f3bf665b053d895af9.woff2 +0 -0
  223. package/dist/fonts/Xiaolai/Xiaolai-Regular-c40533fdf4cc57177b12803598af7e59.woff2 +0 -0
  224. package/dist/fonts/Xiaolai/Xiaolai-Regular-c4a687ac4f0c2766eefc9f77ed99cddf.woff2 +0 -0
  225. package/dist/fonts/Xiaolai/Xiaolai-Regular-c69f61a4ab18d0488c8d1fc12e7028e8.woff2 +0 -0
  226. package/dist/fonts/Xiaolai/Xiaolai-Regular-c8b71798409ccc126ee264a00aadcf21.woff2 +0 -0
  227. package/dist/fonts/Xiaolai/Xiaolai-Regular-c99eda15fc26a2941579560f76c3a5cf.woff2 +0 -0
  228. package/dist/fonts/Xiaolai/Xiaolai-Regular-cb17fc3db95f6d139afc9d31a8e93293.woff2 +0 -0
  229. package/dist/fonts/Xiaolai/Xiaolai-Regular-cbaaefaaf326668277aa24dfa93c4d28.woff2 +0 -0
  230. package/dist/fonts/Xiaolai/Xiaolai-Regular-cd145ce4a0ea18469358df53c207bc1b.woff2 +0 -0
  231. package/dist/fonts/Xiaolai/Xiaolai-Regular-cdbce89e82cc1ab53a2decbf5819278f.woff2 +0 -0
  232. package/dist/fonts/Xiaolai/Xiaolai-Regular-ce4884f96f11589608b76b726a755803.woff2 +0 -0
  233. package/dist/fonts/Xiaolai/Xiaolai-Regular-cf2cc71752631e579e35b0e423bf2638.woff2 +0 -0
  234. package/dist/fonts/Xiaolai/Xiaolai-Regular-cf6ff4e0f491ca0cf3038187a997b9b4.woff2 +0 -0
  235. package/dist/fonts/Xiaolai/Xiaolai-Regular-cfb211578629b7e8153b37240de6a9d5.woff2 +0 -0
  236. package/dist/fonts/Xiaolai/Xiaolai-Regular-d0cf73942fea1c74edbdf0b3011f4656.woff2 +0 -0
  237. package/dist/fonts/Xiaolai/Xiaolai-Regular-d2666cbed13462c5dc36fa2f15c202ca.woff2 +0 -0
  238. package/dist/fonts/Xiaolai/Xiaolai-Regular-d3716376641d615e2995605b29bca7b6.woff2 +0 -0
  239. package/dist/fonts/Xiaolai/Xiaolai-Regular-dac48066b5883d8b4551fc584f0c2a3e.woff2 +0 -0
  240. package/dist/fonts/Xiaolai/Xiaolai-Regular-dbea1af6dcd9860be40c3d18254338f5.woff2 +0 -0
  241. package/dist/fonts/Xiaolai/Xiaolai-Regular-e11567fd2accf9957cd0d3c2be937d87.woff2 +0 -0
  242. package/dist/fonts/Xiaolai/Xiaolai-Regular-e2ead7ea7da0437f085f42ffc05f8d13.woff2 +0 -0
  243. package/dist/fonts/Xiaolai/Xiaolai-Regular-e3fcf5180fd466c8915c4e8069491054.woff2 +0 -0
  244. package/dist/fonts/Xiaolai/Xiaolai-Regular-e480d9c614742d05f0e78f274f1e69e6.woff2 +0 -0
  245. package/dist/fonts/Xiaolai/Xiaolai-Regular-e4bca6cfa53e499cae0a6be4894a90e9.woff2 +0 -0
  246. package/dist/fonts/Xiaolai/Xiaolai-Regular-e51ef413167c6e14e0c0fdcc585f2fc9.woff2 +0 -0
  247. package/dist/fonts/Xiaolai/Xiaolai-Regular-e5f453bb04da18eed01675eeebd88bf8.woff2 +0 -0
  248. package/dist/fonts/Xiaolai/Xiaolai-Regular-e656f091b9dc4709722c9f4b84d3c797.woff2 +0 -0
  249. package/dist/fonts/Xiaolai/Xiaolai-Regular-ec181b795ac1fb5a50d700b6e996d745.woff2 +0 -0
  250. package/dist/fonts/Xiaolai/Xiaolai-Regular-ee8bae97908d5147b423f77ad0d3c1bb.woff2 +0 -0
  251. package/dist/fonts/Xiaolai/Xiaolai-Regular-f0f13b5c60e0af5553bd359f5513be1b.woff2 +0 -0
  252. package/dist/fonts/Xiaolai/Xiaolai-Regular-f2b54d4e7be0eaefe1c2c56836fa5368.woff2 +0 -0
  253. package/dist/fonts/Xiaolai/Xiaolai-Regular-f56414bf9bced67990def8660e306759.woff2 +0 -0
  254. package/dist/fonts/Xiaolai/Xiaolai-Regular-f5d079153c99a25b9be5b8583c4cc8a7.woff2 +0 -0
  255. package/dist/fonts/Xiaolai/Xiaolai-Regular-f6032fc06eb20480f096199713f70885.woff2 +0 -0
  256. package/dist/fonts/Xiaolai/Xiaolai-Regular-f8ee5d36068a42b51d0e4a1116cfcec1.woff2 +0 -0
  257. package/dist/html-C9xlBp6Q.cjs +25 -0
  258. package/dist/html-COoGaLph.js +2788 -0
  259. package/dist/index-BF-WAqsp.cjs +5 -0
  260. package/dist/index-C0BTrOQP.js +28947 -0
  261. package/dist/index.cjs +1 -0
  262. package/dist/index.d.ts +2 -0
  263. package/dist/index.mjs +4 -0
  264. package/dist/logo.svg +1 -0
  265. package/dist/markdown-B0Hak0DU.cjs +62 -0
  266. package/dist/markdown-BDWdOrGs.js +3192 -0
  267. package/dist/postcss-Byg44mmr.cjs +61 -0
  268. package/dist/postcss-CCzdrMa5.js +4735 -0
  269. package/dist/standalone-9koseMU7.js +2429 -0
  270. package/dist/standalone-B68uB4ar.cjs +29 -0
  271. package/dist/style.css +1 -0
  272. package/dist/typescript-BKKrhwbC.cjs +21 -0
  273. package/dist/typescript-BWpY7CXP.js +12965 -0
  274. package/package.json +106 -0
@@ -0,0 +1,4735 @@
1
+ import { g as ua } from "./_commonjsHelpers-C6fGbg64.js";
2
+ function la(Se, ft) {
3
+ for (var ce = 0; ce < ft.length; ce++) {
4
+ const Y = ft[ce];
5
+ if (typeof Y != "string" && !Array.isArray(Y)) {
6
+ for (const ee in Y)
7
+ if (ee !== "default" && !(ee in Se)) {
8
+ const Ae = Object.getOwnPropertyDescriptor(Y, ee);
9
+ Ae && Object.defineProperty(Se, ee, Ae.get ? Ae : {
10
+ enumerable: !0,
11
+ get: () => Y[ee]
12
+ });
13
+ }
14
+ }
15
+ }
16
+ return Object.freeze(Object.defineProperty(Se, Symbol.toStringTag, { value: "Module" }));
17
+ }
18
+ var Ht = { exports: {} }, os;
19
+ function ca() {
20
+ return os || (os = 1, (function(Se, ft) {
21
+ (function(ce) {
22
+ function Y() {
23
+ var ee = ce();
24
+ return ee.default || ee;
25
+ }
26
+ Se.exports = Y();
27
+ })(function() {
28
+ var ce = Object.create, Y = Object.defineProperty, ee = Object.getOwnPropertyDescriptor, Ae = Object.getOwnPropertyNames, cs = Object.getPrototypeOf, ps = Object.prototype.hasOwnProperty, S = (e, s) => () => (s || e((s = { exports: {} }).exports, s), s.exports), Jt = (e, s) => {
29
+ for (var i in s) Y(e, i, { get: s[i], enumerable: !0 });
30
+ }, Qt = (e, s, i, r) => {
31
+ if (s && typeof s == "object" || typeof s == "function") for (let a of Ae(s)) !ps.call(e, a) && a !== i && Y(e, a, { get: () => s[a], enumerable: !(r = ee(s, a)) || r.enumerable });
32
+ return e;
33
+ }, me = (e, s, i) => (i = e != null ? ce(cs(e)) : {}, Qt(Y(i, "default", { value: e, enumerable: !0 }), e)), hs = (e) => Qt(Y({}, "__esModule", { value: !0 }), e), fs = S((e, s) => {
34
+ var i = String, r = function() {
35
+ return { isColorSupported: !1, reset: i, bold: i, dim: i, italic: i, underline: i, inverse: i, hidden: i, strikethrough: i, black: i, red: i, green: i, yellow: i, blue: i, magenta: i, cyan: i, white: i, gray: i, bgBlack: i, bgRed: i, bgGreen: i, bgYellow: i, bgBlue: i, bgMagenta: i, bgCyan: i, bgWhite: i, blackBright: i, redBright: i, greenBright: i, yellowBright: i, blueBright: i, magentaBright: i, cyanBright: i, whiteBright: i, bgBlackBright: i, bgRedBright: i, bgGreenBright: i, bgYellowBright: i, bgBlueBright: i, bgMagentaBright: i, bgCyanBright: i, bgWhiteBright: i };
36
+ };
37
+ s.exports = r(), s.exports.createColors = r;
38
+ }), Zt = S(() => {
39
+ }), dt = S((e, s) => {
40
+ var i = fs(), r = Zt(), a = class is extends Error {
41
+ constructor(u, p, y, m, n, t) {
42
+ super(u), this.name = "CssSyntaxError", this.reason = u, n && (this.file = n), m && (this.source = m), t && (this.plugin = t), typeof p < "u" && typeof y < "u" && (typeof p == "number" ? (this.line = p, this.column = y) : (this.line = p.line, this.column = p.column, this.endLine = y.line, this.endColumn = y.column)), this.setMessage(), Error.captureStackTrace && Error.captureStackTrace(this, is);
43
+ }
44
+ setMessage() {
45
+ this.message = this.plugin ? this.plugin + ": " : "", this.message += this.file ? this.file : "<css input>", typeof this.line < "u" && (this.message += ":" + this.line + ":" + this.column), this.message += ": " + this.reason;
46
+ }
47
+ showSourceCode(u) {
48
+ if (!this.source) return "";
49
+ let p = this.source;
50
+ u == null && (u = i.isColorSupported);
51
+ let y = (l) => l, m = (l) => l, n = (l) => l;
52
+ if (u) {
53
+ let { bold: l, gray: w, red: v } = i.createColors(!0);
54
+ m = (f) => l(v(f)), y = (f) => w(f), r && (n = (f) => r(f));
55
+ }
56
+ let t = p.split(/\r?\n/), h = Math.max(this.line - 3, 0), c = Math.min(this.line + 2, t.length), d = String(c).length;
57
+ return t.slice(h, c).map((l, w) => {
58
+ let v = h + 1 + w, f = " " + (" " + v).slice(-d) + " | ";
59
+ if (v === this.line) {
60
+ if (l.length > 160) {
61
+ let T = 20, b = Math.max(0, this.column - T), x = Math.max(this.column + T, this.endColumn + T), k = l.slice(b, x), O = y(f.replace(/\d/g, " ")) + l.slice(0, Math.min(this.column - 1, T - 1)).replace(/[^\t]/g, " ");
62
+ return m(">") + y(f) + n(k) + `
63
+ ` + O + m("^");
64
+ }
65
+ let g = y(f.replace(/\d/g, " ")) + l.slice(0, this.column - 1).replace(/[^\t]/g, " ");
66
+ return m(">") + y(f) + n(l) + `
67
+ ` + g + m("^");
68
+ }
69
+ return " " + y(f) + n(l);
70
+ }).join(`
71
+ `);
72
+ }
73
+ toString() {
74
+ let u = this.showSourceCode();
75
+ return u && (u = `
76
+
77
+ ` + u + `
78
+ `), this.name + ": " + this.message + u;
79
+ }
80
+ };
81
+ s.exports = a, a.default = a;
82
+ }), mt = S((e, s) => {
83
+ var i = { after: `
84
+ `, beforeClose: `
85
+ `, beforeComment: `
86
+ `, beforeDecl: `
87
+ `, beforeOpen: " ", beforeRule: `
88
+ `, colon: ": ", commentLeft: " ", commentRight: " ", emptyBody: "", indent: " ", semicolon: !1 };
89
+ function r(o) {
90
+ return o[0].toUpperCase() + o.slice(1);
91
+ }
92
+ var a = class {
93
+ constructor(o) {
94
+ this.builder = o;
95
+ }
96
+ atrule(o, u) {
97
+ let p = "@" + o.name, y = o.params ? this.rawValue(o, "params") : "";
98
+ if (typeof o.raws.afterName < "u" ? p += o.raws.afterName : y && (p += " "), o.nodes) this.block(o, p + y);
99
+ else {
100
+ let m = (o.raws.between || "") + (u ? ";" : "");
101
+ this.builder(p + y + m, o);
102
+ }
103
+ }
104
+ beforeAfter(o, u) {
105
+ let p;
106
+ o.type === "decl" ? p = this.raw(o, null, "beforeDecl") : o.type === "comment" ? p = this.raw(o, null, "beforeComment") : u === "before" ? p = this.raw(o, null, "beforeRule") : p = this.raw(o, null, "beforeClose");
107
+ let y = o.parent, m = 0;
108
+ for (; y && y.type !== "root"; ) m += 1, y = y.parent;
109
+ if (p.includes(`
110
+ `)) {
111
+ let n = this.raw(o, null, "indent");
112
+ if (n.length) for (let t = 0; t < m; t++) p += n;
113
+ }
114
+ return p;
115
+ }
116
+ block(o, u) {
117
+ let p = this.raw(o, "between", "beforeOpen");
118
+ this.builder(u + p + "{", o, "start");
119
+ let y;
120
+ o.nodes && o.nodes.length ? (this.body(o), y = this.raw(o, "after")) : y = this.raw(o, "after", "emptyBody"), y && this.builder(y), this.builder("}", o, "end");
121
+ }
122
+ body(o) {
123
+ let u = o.nodes.length - 1;
124
+ for (; u > 0 && o.nodes[u].type === "comment"; ) u -= 1;
125
+ let p = this.raw(o, "semicolon");
126
+ for (let y = 0; y < o.nodes.length; y++) {
127
+ let m = o.nodes[y], n = this.raw(m, "before");
128
+ n && this.builder(n), this.stringify(m, u !== y || p);
129
+ }
130
+ }
131
+ comment(o) {
132
+ let u = this.raw(o, "left", "commentLeft"), p = this.raw(o, "right", "commentRight");
133
+ this.builder("/*" + u + o.text + p + "*/", o);
134
+ }
135
+ decl(o, u) {
136
+ let p = this.raw(o, "between", "colon"), y = o.prop + p + this.rawValue(o, "value");
137
+ o.important && (y += o.raws.important || " !important"), u && (y += ";"), this.builder(y, o);
138
+ }
139
+ document(o) {
140
+ this.body(o);
141
+ }
142
+ raw(o, u, p) {
143
+ let y;
144
+ if (p || (p = u), u && (y = o.raws[u], typeof y < "u")) return y;
145
+ let m = o.parent;
146
+ if (p === "before" && (!m || m.type === "root" && m.first === o || m && m.type === "document")) return "";
147
+ if (!m) return i[p];
148
+ let n = o.root();
149
+ if (n.rawCache || (n.rawCache = {}), typeof n.rawCache[p] < "u") return n.rawCache[p];
150
+ if (p === "before" || p === "after") return this.beforeAfter(o, p);
151
+ {
152
+ let t = "raw" + r(p);
153
+ this[t] ? y = this[t](n, o) : n.walk((h) => {
154
+ if (y = h.raws[u], typeof y < "u") return !1;
155
+ });
156
+ }
157
+ return typeof y > "u" && (y = i[p]), n.rawCache[p] = y, y;
158
+ }
159
+ rawBeforeClose(o) {
160
+ let u;
161
+ return o.walk((p) => {
162
+ if (p.nodes && p.nodes.length > 0 && typeof p.raws.after < "u") return u = p.raws.after, u.includes(`
163
+ `) && (u = u.replace(/[^\n]+$/, "")), !1;
164
+ }), u && (u = u.replace(/\S/g, "")), u;
165
+ }
166
+ rawBeforeComment(o, u) {
167
+ let p;
168
+ return o.walkComments((y) => {
169
+ if (typeof y.raws.before < "u") return p = y.raws.before, p.includes(`
170
+ `) && (p = p.replace(/[^\n]+$/, "")), !1;
171
+ }), typeof p > "u" ? p = this.raw(u, null, "beforeDecl") : p && (p = p.replace(/\S/g, "")), p;
172
+ }
173
+ rawBeforeDecl(o, u) {
174
+ let p;
175
+ return o.walkDecls((y) => {
176
+ if (typeof y.raws.before < "u") return p = y.raws.before, p.includes(`
177
+ `) && (p = p.replace(/[^\n]+$/, "")), !1;
178
+ }), typeof p > "u" ? p = this.raw(u, null, "beforeRule") : p && (p = p.replace(/\S/g, "")), p;
179
+ }
180
+ rawBeforeOpen(o) {
181
+ let u;
182
+ return o.walk((p) => {
183
+ if (p.type !== "decl" && (u = p.raws.between, typeof u < "u")) return !1;
184
+ }), u;
185
+ }
186
+ rawBeforeRule(o) {
187
+ let u;
188
+ return o.walk((p) => {
189
+ if (p.nodes && (p.parent !== o || o.first !== p) && typeof p.raws.before < "u") return u = p.raws.before, u.includes(`
190
+ `) && (u = u.replace(/[^\n]+$/, "")), !1;
191
+ }), u && (u = u.replace(/\S/g, "")), u;
192
+ }
193
+ rawColon(o) {
194
+ let u;
195
+ return o.walkDecls((p) => {
196
+ if (typeof p.raws.between < "u") return u = p.raws.between.replace(/[^\s:]/g, ""), !1;
197
+ }), u;
198
+ }
199
+ rawEmptyBody(o) {
200
+ let u;
201
+ return o.walk((p) => {
202
+ if (p.nodes && p.nodes.length === 0 && (u = p.raws.after, typeof u < "u")) return !1;
203
+ }), u;
204
+ }
205
+ rawIndent(o) {
206
+ if (o.raws.indent) return o.raws.indent;
207
+ let u;
208
+ return o.walk((p) => {
209
+ let y = p.parent;
210
+ if (y && y !== o && y.parent && y.parent === o && typeof p.raws.before < "u") {
211
+ let m = p.raws.before.split(`
212
+ `);
213
+ return u = m[m.length - 1], u = u.replace(/\S/g, ""), !1;
214
+ }
215
+ }), u;
216
+ }
217
+ rawSemicolon(o) {
218
+ let u;
219
+ return o.walk((p) => {
220
+ if (p.nodes && p.nodes.length && p.last.type === "decl" && (u = p.raws.semicolon, typeof u < "u")) return !1;
221
+ }), u;
222
+ }
223
+ rawValue(o, u) {
224
+ let p = o[u], y = o.raws[u];
225
+ return y && y.value === p ? y.raw : p;
226
+ }
227
+ root(o) {
228
+ this.body(o), o.raws.after && this.builder(o.raws.after);
229
+ }
230
+ rule(o) {
231
+ this.block(o, this.rawValue(o, "selector")), o.raws.ownSemicolon && this.builder(o.raws.ownSemicolon, o, "end");
232
+ }
233
+ stringify(o, u) {
234
+ if (!this[o.type]) throw new Error("Unknown AST node type " + o.type + ". Maybe you need to change PostCSS stringifier.");
235
+ this[o.type](o, u);
236
+ }
237
+ };
238
+ s.exports = a, a.default = a;
239
+ }), Ge = S((e, s) => {
240
+ var i = mt();
241
+ function r(a, o) {
242
+ new i(o).stringify(a);
243
+ }
244
+ s.exports = r, r.default = r;
245
+ }), yt = S((e, s) => {
246
+ s.exports.isClean = /* @__PURE__ */ Symbol("isClean"), s.exports.my = /* @__PURE__ */ Symbol("my");
247
+ }), He = S((e, s) => {
248
+ var i = dt(), r = mt(), a = Ge(), { isClean: o, my: u } = yt();
249
+ function p(n, t) {
250
+ let h = new n.constructor();
251
+ for (let c in n) {
252
+ if (!Object.prototype.hasOwnProperty.call(n, c) || c === "proxyCache") continue;
253
+ let d = n[c], l = typeof d;
254
+ c === "parent" && l === "object" ? t && (h[c] = t) : c === "source" ? h[c] = d : Array.isArray(d) ? h[c] = d.map((w) => p(w, h)) : (l === "object" && d !== null && (d = p(d)), h[c] = d);
255
+ }
256
+ return h;
257
+ }
258
+ function y(n, t) {
259
+ if (t && typeof t.offset < "u") return t.offset;
260
+ let h = 1, c = 1, d = 0;
261
+ for (let l = 0; l < n.length; l++) {
262
+ if (c === t.line && h === t.column) {
263
+ d = l;
264
+ break;
265
+ }
266
+ n[l] === `
267
+ ` ? (h = 1, c += 1) : h += 1;
268
+ }
269
+ return d;
270
+ }
271
+ var m = class {
272
+ get proxyOf() {
273
+ return this;
274
+ }
275
+ constructor(n = {}) {
276
+ this.raws = {}, this[o] = !1, this[u] = !0;
277
+ for (let t in n) if (t === "nodes") {
278
+ this.nodes = [];
279
+ for (let h of n[t]) typeof h.clone == "function" ? this.append(h.clone()) : this.append(h);
280
+ } else this[t] = n[t];
281
+ }
282
+ addToError(n) {
283
+ if (n.postcssNode = this, n.stack && this.source && /\n\s{4}at /.test(n.stack)) {
284
+ let t = this.source;
285
+ n.stack = n.stack.replace(/\n\s{4}at /, `$&${t.input.from}:${t.start.line}:${t.start.column}$&`);
286
+ }
287
+ return n;
288
+ }
289
+ after(n) {
290
+ return this.parent.insertAfter(this, n), this;
291
+ }
292
+ assign(n = {}) {
293
+ for (let t in n) this[t] = n[t];
294
+ return this;
295
+ }
296
+ before(n) {
297
+ return this.parent.insertBefore(this, n), this;
298
+ }
299
+ cleanRaws(n) {
300
+ delete this.raws.before, delete this.raws.after, n || delete this.raws.between;
301
+ }
302
+ clone(n = {}) {
303
+ let t = p(this);
304
+ for (let h in n) t[h] = n[h];
305
+ return t;
306
+ }
307
+ cloneAfter(n = {}) {
308
+ let t = this.clone(n);
309
+ return this.parent.insertAfter(this, t), t;
310
+ }
311
+ cloneBefore(n = {}) {
312
+ let t = this.clone(n);
313
+ return this.parent.insertBefore(this, t), t;
314
+ }
315
+ error(n, t = {}) {
316
+ if (this.source) {
317
+ let { end: h, start: c } = this.rangeBy(t);
318
+ return this.source.input.error(n, { column: c.column, line: c.line }, { column: h.column, line: h.line }, t);
319
+ }
320
+ return new i(n);
321
+ }
322
+ getProxyProcessor() {
323
+ return { get(n, t) {
324
+ return t === "proxyOf" ? n : t === "root" ? () => n.root().toProxy() : n[t];
325
+ }, set(n, t, h) {
326
+ return n[t] === h || (n[t] = h, (t === "prop" || t === "value" || t === "name" || t === "params" || t === "important" || t === "text") && n.markDirty()), !0;
327
+ } };
328
+ }
329
+ markClean() {
330
+ this[o] = !0;
331
+ }
332
+ markDirty() {
333
+ if (this[o]) {
334
+ this[o] = !1;
335
+ let n = this;
336
+ for (; n = n.parent; ) n[o] = !1;
337
+ }
338
+ }
339
+ next() {
340
+ if (!this.parent) return;
341
+ let n = this.parent.index(this);
342
+ return this.parent.nodes[n + 1];
343
+ }
344
+ positionBy(n = {}) {
345
+ let t = this.source.start;
346
+ if (n.index) t = this.positionInside(n.index);
347
+ else if (n.word) {
348
+ let h = "document" in this.source.input ? this.source.input.document : this.source.input.css, c = h.slice(y(h, this.source.start), y(h, this.source.end)).indexOf(n.word);
349
+ c !== -1 && (t = this.positionInside(c));
350
+ }
351
+ return t;
352
+ }
353
+ positionInside(n) {
354
+ let t = this.source.start.column, h = this.source.start.line, c = "document" in this.source.input ? this.source.input.document : this.source.input.css, d = y(c, this.source.start), l = d + n;
355
+ for (let w = d; w < l; w++) c[w] === `
356
+ ` ? (t = 1, h += 1) : t += 1;
357
+ return { column: t, line: h, offset: l };
358
+ }
359
+ prev() {
360
+ if (!this.parent) return;
361
+ let n = this.parent.index(this);
362
+ return this.parent.nodes[n - 1];
363
+ }
364
+ rangeBy(n = {}) {
365
+ let t = "document" in this.source.input ? this.source.input.document : this.source.input.css, h = { column: this.source.start.column, line: this.source.start.line, offset: y(t, this.source.start) }, c = this.source.end ? { column: this.source.end.column + 1, line: this.source.end.line, offset: typeof this.source.end.offset == "number" ? this.source.end.offset : y(t, this.source.end) + 1 } : { column: h.column + 1, line: h.line, offset: h.offset + 1 };
366
+ if (n.word) {
367
+ let d = t.slice(y(t, this.source.start), y(t, this.source.end)).indexOf(n.word);
368
+ d !== -1 && (h = this.positionInside(d), c = this.positionInside(d + n.word.length));
369
+ } else n.start ? h = { column: n.start.column, line: n.start.line, offset: y(t, n.start) } : n.index && (h = this.positionInside(n.index)), n.end ? c = { column: n.end.column, line: n.end.line, offset: y(t, n.end) } : typeof n.endIndex == "number" ? c = this.positionInside(n.endIndex) : n.index && (c = this.positionInside(n.index + 1));
370
+ return (c.line < h.line || c.line === h.line && c.column <= h.column) && (c = { column: h.column + 1, line: h.line, offset: h.offset + 1 }), { end: c, start: h };
371
+ }
372
+ raw(n, t) {
373
+ return new r().raw(this, n, t);
374
+ }
375
+ remove() {
376
+ return this.parent && this.parent.removeChild(this), this.parent = void 0, this;
377
+ }
378
+ replaceWith(...n) {
379
+ if (this.parent) {
380
+ let t = this, h = !1;
381
+ for (let c of n) c === this ? h = !0 : h ? (this.parent.insertAfter(t, c), t = c) : this.parent.insertBefore(t, c);
382
+ h || this.remove();
383
+ }
384
+ return this;
385
+ }
386
+ root() {
387
+ let n = this;
388
+ for (; n.parent && n.parent.type !== "document"; ) n = n.parent;
389
+ return n;
390
+ }
391
+ toJSON(n, t) {
392
+ let h = {}, c = t == null;
393
+ t = t || /* @__PURE__ */ new Map();
394
+ let d = 0;
395
+ for (let l in this) {
396
+ if (!Object.prototype.hasOwnProperty.call(this, l) || l === "parent" || l === "proxyCache") continue;
397
+ let w = this[l];
398
+ if (Array.isArray(w)) h[l] = w.map((v) => typeof v == "object" && v.toJSON ? v.toJSON(null, t) : v);
399
+ else if (typeof w == "object" && w.toJSON) h[l] = w.toJSON(null, t);
400
+ else if (l === "source") {
401
+ if (w == null) continue;
402
+ let v = t.get(w.input);
403
+ v == null && (v = d, t.set(w.input, d), d++), h[l] = { end: w.end, inputId: v, start: w.start };
404
+ } else h[l] = w;
405
+ }
406
+ return c && (h.inputs = [...t.keys()].map((l) => l.toJSON())), h;
407
+ }
408
+ toProxy() {
409
+ return this.proxyCache || (this.proxyCache = new Proxy(this, this.getProxyProcessor())), this.proxyCache;
410
+ }
411
+ toString(n = a) {
412
+ n.stringify && (n = n.stringify);
413
+ let t = "";
414
+ return n(this, (h) => {
415
+ t += h;
416
+ }), t;
417
+ }
418
+ warn(n, t, h = {}) {
419
+ let c = { node: this };
420
+ for (let d in h) c[d] = h[d];
421
+ return n.warn(t, c);
422
+ }
423
+ };
424
+ s.exports = m, m.default = m;
425
+ }), Ee = S((e, s) => {
426
+ var i = He(), r = class extends i {
427
+ constructor(a) {
428
+ super(a), this.type = "comment";
429
+ }
430
+ };
431
+ s.exports = r, r.default = r;
432
+ }), Je = S((e, s) => {
433
+ var i = He(), r = class extends i {
434
+ get variable() {
435
+ return this.prop.startsWith("--") || this.prop[0] === "$";
436
+ }
437
+ constructor(a) {
438
+ a && typeof a.value < "u" && typeof a.value != "string" && (a = { ...a, value: String(a.value) }), super(a), this.type = "decl";
439
+ }
440
+ };
441
+ s.exports = r, r.default = r;
442
+ }), pe = S((e, s) => {
443
+ var i = Ee(), r = Je(), a = He(), { isClean: o, my: u } = yt(), p, y, m, n;
444
+ function t(d) {
445
+ return d.map((l) => (l.nodes && (l.nodes = t(l.nodes)), delete l.source, l));
446
+ }
447
+ function h(d) {
448
+ if (d[o] = !1, d.proxyOf.nodes) for (let l of d.proxyOf.nodes) h(l);
449
+ }
450
+ var c = class as extends a {
451
+ get first() {
452
+ if (this.proxyOf.nodes) return this.proxyOf.nodes[0];
453
+ }
454
+ get last() {
455
+ if (this.proxyOf.nodes) return this.proxyOf.nodes[this.proxyOf.nodes.length - 1];
456
+ }
457
+ append(...l) {
458
+ for (let w of l) {
459
+ let v = this.normalize(w, this.last);
460
+ for (let f of v) this.proxyOf.nodes.push(f);
461
+ }
462
+ return this.markDirty(), this;
463
+ }
464
+ cleanRaws(l) {
465
+ if (super.cleanRaws(l), this.nodes) for (let w of this.nodes) w.cleanRaws(l);
466
+ }
467
+ each(l) {
468
+ if (!this.proxyOf.nodes) return;
469
+ let w = this.getIterator(), v, f;
470
+ for (; this.indexes[w] < this.proxyOf.nodes.length && (v = this.indexes[w], f = l(this.proxyOf.nodes[v], v), f !== !1); ) this.indexes[w] += 1;
471
+ return delete this.indexes[w], f;
472
+ }
473
+ every(l) {
474
+ return this.nodes.every(l);
475
+ }
476
+ getIterator() {
477
+ this.lastEach || (this.lastEach = 0), this.indexes || (this.indexes = {}), this.lastEach += 1;
478
+ let l = this.lastEach;
479
+ return this.indexes[l] = 0, l;
480
+ }
481
+ getProxyProcessor() {
482
+ return { get(l, w) {
483
+ return w === "proxyOf" ? l : l[w] ? w === "each" || typeof w == "string" && w.startsWith("walk") ? (...v) => l[w](...v.map((f) => typeof f == "function" ? (g, T) => f(g.toProxy(), T) : f)) : w === "every" || w === "some" ? (v) => l[w]((f, ...g) => v(f.toProxy(), ...g)) : w === "root" ? () => l.root().toProxy() : w === "nodes" ? l.nodes.map((v) => v.toProxy()) : w === "first" || w === "last" ? l[w].toProxy() : l[w] : l[w];
484
+ }, set(l, w, v) {
485
+ return l[w] === v || (l[w] = v, (w === "name" || w === "params" || w === "selector") && l.markDirty()), !0;
486
+ } };
487
+ }
488
+ index(l) {
489
+ return typeof l == "number" ? l : (l.proxyOf && (l = l.proxyOf), this.proxyOf.nodes.indexOf(l));
490
+ }
491
+ insertAfter(l, w) {
492
+ let v = this.index(l), f = this.normalize(w, this.proxyOf.nodes[v]).reverse();
493
+ v = this.index(l);
494
+ for (let T of f) this.proxyOf.nodes.splice(v + 1, 0, T);
495
+ let g;
496
+ for (let T in this.indexes) g = this.indexes[T], v < g && (this.indexes[T] = g + f.length);
497
+ return this.markDirty(), this;
498
+ }
499
+ insertBefore(l, w) {
500
+ let v = this.index(l), f = v === 0 ? "prepend" : !1, g = this.normalize(w, this.proxyOf.nodes[v], f).reverse();
501
+ v = this.index(l);
502
+ for (let b of g) this.proxyOf.nodes.splice(v, 0, b);
503
+ let T;
504
+ for (let b in this.indexes) T = this.indexes[b], v <= T && (this.indexes[b] = T + g.length);
505
+ return this.markDirty(), this;
506
+ }
507
+ normalize(l, w) {
508
+ if (typeof l == "string") l = t(y(l).nodes);
509
+ else if (typeof l > "u") l = [];
510
+ else if (Array.isArray(l)) {
511
+ l = l.slice(0);
512
+ for (let v of l) v.parent && v.parent.removeChild(v, "ignore");
513
+ } else if (l.type === "root" && this.type !== "document") {
514
+ l = l.nodes.slice(0);
515
+ for (let v of l) v.parent && v.parent.removeChild(v, "ignore");
516
+ } else if (l.type) l = [l];
517
+ else if (l.prop) {
518
+ if (typeof l.value > "u") throw new Error("Value field is missed in node creation");
519
+ typeof l.value != "string" && (l.value = String(l.value)), l = [new r(l)];
520
+ } else if (l.selector || l.selectors) l = [new n(l)];
521
+ else if (l.name) l = [new p(l)];
522
+ else if (l.text) l = [new i(l)];
523
+ else throw new Error("Unknown node type in node creation");
524
+ return l.map((v) => (v[u] || as.rebuild(v), v = v.proxyOf, v.parent && v.parent.removeChild(v), v[o] && h(v), v.raws || (v.raws = {}), typeof v.raws.before > "u" && w && typeof w.raws.before < "u" && (v.raws.before = w.raws.before.replace(/\S/g, "")), v.parent = this.proxyOf, v));
525
+ }
526
+ prepend(...l) {
527
+ l = l.reverse();
528
+ for (let w of l) {
529
+ let v = this.normalize(w, this.first, "prepend").reverse();
530
+ for (let f of v) this.proxyOf.nodes.unshift(f);
531
+ for (let f in this.indexes) this.indexes[f] = this.indexes[f] + v.length;
532
+ }
533
+ return this.markDirty(), this;
534
+ }
535
+ push(l) {
536
+ return l.parent = this, this.proxyOf.nodes.push(l), this;
537
+ }
538
+ removeAll() {
539
+ for (let l of this.proxyOf.nodes) l.parent = void 0;
540
+ return this.proxyOf.nodes = [], this.markDirty(), this;
541
+ }
542
+ removeChild(l) {
543
+ l = this.index(l), this.proxyOf.nodes[l].parent = void 0, this.proxyOf.nodes.splice(l, 1);
544
+ let w;
545
+ for (let v in this.indexes) w = this.indexes[v], w >= l && (this.indexes[v] = w - 1);
546
+ return this.markDirty(), this;
547
+ }
548
+ replaceValues(l, w, v) {
549
+ return v || (v = w, w = {}), this.walkDecls((f) => {
550
+ w.props && !w.props.includes(f.prop) || w.fast && !f.value.includes(w.fast) || (f.value = f.value.replace(l, v));
551
+ }), this.markDirty(), this;
552
+ }
553
+ some(l) {
554
+ return this.nodes.some(l);
555
+ }
556
+ walk(l) {
557
+ return this.each((w, v) => {
558
+ let f;
559
+ try {
560
+ f = l(w, v);
561
+ } catch (g) {
562
+ throw w.addToError(g);
563
+ }
564
+ return f !== !1 && w.walk && (f = w.walk(l)), f;
565
+ });
566
+ }
567
+ walkAtRules(l, w) {
568
+ return w ? l instanceof RegExp ? this.walk((v, f) => {
569
+ if (v.type === "atrule" && l.test(v.name)) return w(v, f);
570
+ }) : this.walk((v, f) => {
571
+ if (v.type === "atrule" && v.name === l) return w(v, f);
572
+ }) : (w = l, this.walk((v, f) => {
573
+ if (v.type === "atrule") return w(v, f);
574
+ }));
575
+ }
576
+ walkComments(l) {
577
+ return this.walk((w, v) => {
578
+ if (w.type === "comment") return l(w, v);
579
+ });
580
+ }
581
+ walkDecls(l, w) {
582
+ return w ? l instanceof RegExp ? this.walk((v, f) => {
583
+ if (v.type === "decl" && l.test(v.prop)) return w(v, f);
584
+ }) : this.walk((v, f) => {
585
+ if (v.type === "decl" && v.prop === l) return w(v, f);
586
+ }) : (w = l, this.walk((v, f) => {
587
+ if (v.type === "decl") return w(v, f);
588
+ }));
589
+ }
590
+ walkRules(l, w) {
591
+ return w ? l instanceof RegExp ? this.walk((v, f) => {
592
+ if (v.type === "rule" && l.test(v.selector)) return w(v, f);
593
+ }) : this.walk((v, f) => {
594
+ if (v.type === "rule" && v.selector === l) return w(v, f);
595
+ }) : (w = l, this.walk((v, f) => {
596
+ if (v.type === "rule") return w(v, f);
597
+ }));
598
+ }
599
+ };
600
+ c.registerParse = (d) => {
601
+ y = d;
602
+ }, c.registerRule = (d) => {
603
+ n = d;
604
+ }, c.registerAtRule = (d) => {
605
+ p = d;
606
+ }, c.registerRoot = (d) => {
607
+ m = d;
608
+ }, s.exports = c, c.default = c, c.rebuild = (d) => {
609
+ d.type === "atrule" ? Object.setPrototypeOf(d, p.prototype) : d.type === "rule" ? Object.setPrototypeOf(d, n.prototype) : d.type === "decl" ? Object.setPrototypeOf(d, r.prototype) : d.type === "comment" ? Object.setPrototypeOf(d, i.prototype) : d.type === "root" && Object.setPrototypeOf(d, m.prototype), d[u] = !0, d.nodes && d.nodes.forEach((l) => {
610
+ c.rebuild(l);
611
+ });
612
+ };
613
+ }), ds = S((e, s) => {
614
+ var i = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", r = (o, u = 21) => (p = u) => {
615
+ let y = "", m = p | 0;
616
+ for (; m--; ) y += o[Math.random() * o.length | 0];
617
+ return y;
618
+ }, a = (o = 21) => {
619
+ let u = "", p = o | 0;
620
+ for (; p--; ) u += i[Math.random() * 64 | 0];
621
+ return u;
622
+ };
623
+ s.exports = { nanoid: a, customAlphabet: r };
624
+ }), ms = S(() => {
625
+ }), Yt = S((e, s) => {
626
+ s.exports = class {
627
+ };
628
+ }), je = S((e, s) => {
629
+ var { nanoid: i } = ds(), { isAbsolute: r, resolve: a } = {}, { SourceMapConsumer: o, SourceMapGenerator: u } = ms(), { fileURLToPath: p, pathToFileURL: y } = {}, m = dt(), n = Yt(), t = Zt(), h = /* @__PURE__ */ Symbol("lineToIndexCache"), c = !!(o && u), d = !!(a && r);
630
+ function l(v) {
631
+ if (v[h]) return v[h];
632
+ let f = v.css.split(`
633
+ `), g = new Array(f.length), T = 0;
634
+ for (let b = 0, x = f.length; b < x; b++) g[b] = T, T += f[b].length + 1;
635
+ return v[h] = g, g;
636
+ }
637
+ var w = class {
638
+ get from() {
639
+ return this.file || this.id;
640
+ }
641
+ constructor(v, f = {}) {
642
+ if (v === null || typeof v > "u" || typeof v == "object" && !v.toString) throw new Error(`PostCSS received ${v} instead of CSS string`);
643
+ if (this.css = v.toString(), this.css[0] === "\uFEFF" || this.css[0] === "￾" ? (this.hasBOM = !0, this.css = this.css.slice(1)) : this.hasBOM = !1, this.document = this.css, f.document && (this.document = f.document.toString()), f.from && (!d || /^\w+:\/\//.test(f.from) || r(f.from) ? this.file = f.from : this.file = a(f.from)), d && c) {
644
+ let g = new n(this.css, f);
645
+ if (g.text) {
646
+ this.map = g;
647
+ let T = g.consumer().file;
648
+ !this.file && T && (this.file = this.mapResolve(T));
649
+ }
650
+ }
651
+ this.file || (this.id = "<input css " + i(6) + ">"), this.map && (this.map.file = this.from);
652
+ }
653
+ error(v, f, g, T = {}) {
654
+ let b, x, k, O, A;
655
+ if (f && typeof f == "object") {
656
+ let P = f, W = g;
657
+ if (typeof P.offset == "number") {
658
+ O = P.offset;
659
+ let R = this.fromOffset(O);
660
+ f = R.line, g = R.col;
661
+ } else f = P.line, g = P.column, O = this.fromLineAndColumn(f, g);
662
+ if (typeof W.offset == "number") {
663
+ k = W.offset;
664
+ let R = this.fromOffset(k);
665
+ x = R.line, b = R.col;
666
+ } else x = W.line, b = W.column, k = this.fromLineAndColumn(W.line, W.column);
667
+ } else if (g) O = this.fromLineAndColumn(f, g);
668
+ else {
669
+ O = f;
670
+ let P = this.fromOffset(O);
671
+ f = P.line, g = P.col;
672
+ }
673
+ let E = this.origin(f, g, x, b);
674
+ return E ? A = new m(v, E.endLine === void 0 ? E.line : { column: E.column, line: E.line }, E.endLine === void 0 ? E.column : { column: E.endColumn, line: E.endLine }, E.source, E.file, T.plugin) : A = new m(v, x === void 0 ? f : { column: g, line: f }, x === void 0 ? g : { column: b, line: x }, this.css, this.file, T.plugin), A.input = { column: g, endColumn: b, endLine: x, endOffset: k, line: f, offset: O, source: this.css }, this.file && (y && (A.input.url = y(this.file).toString()), A.input.file = this.file), A;
675
+ }
676
+ fromLineAndColumn(v, f) {
677
+ return l(this)[v - 1] + f - 1;
678
+ }
679
+ fromOffset(v) {
680
+ let f = l(this), g = f[f.length - 1], T = 0;
681
+ if (v >= g) T = f.length - 1;
682
+ else {
683
+ let b = f.length - 2, x;
684
+ for (; T < b; ) if (x = T + (b - T >> 1), v < f[x]) b = x - 1;
685
+ else if (v >= f[x + 1]) T = x + 1;
686
+ else {
687
+ T = x;
688
+ break;
689
+ }
690
+ }
691
+ return { col: v - f[T] + 1, line: T + 1 };
692
+ }
693
+ mapResolve(v) {
694
+ return /^\w+:\/\//.test(v) ? v : a(this.map.consumer().sourceRoot || this.map.root || ".", v);
695
+ }
696
+ origin(v, f, g, T) {
697
+ if (!this.map) return !1;
698
+ let b = this.map.consumer(), x = b.originalPositionFor({ column: f, line: v });
699
+ if (!x.source) return !1;
700
+ let k;
701
+ typeof g == "number" && (k = b.originalPositionFor({ column: T, line: g }));
702
+ let O;
703
+ r(x.source) ? O = y(x.source) : O = new URL(x.source, this.map.consumer().sourceRoot || y(this.map.mapFile));
704
+ let A = { column: x.column, endColumn: k && k.column, endLine: k && k.line, line: x.line, url: O.toString() };
705
+ if (O.protocol === "file:") if (p) A.file = p(O);
706
+ else throw new Error("file: protocol is not available in this PostCSS build");
707
+ let E = b.sourceContentFor(x.source);
708
+ return E && (A.source = E), A;
709
+ }
710
+ toJSON() {
711
+ let v = {};
712
+ for (let f of ["hasBOM", "css", "file", "id"]) this[f] != null && (v[f] = this[f]);
713
+ return this.map && (v.map = { ...this.map }, v.map.consumerCache && (v.map.consumerCache = void 0)), v;
714
+ }
715
+ };
716
+ s.exports = w, w.default = w, t && t.registerInput && t.registerInput(w);
717
+ }), vt = S((e, s) => {
718
+ var i = pe(), r = class extends i {
719
+ constructor(a) {
720
+ super(a), this.type = "atrule";
721
+ }
722
+ append(...a) {
723
+ return this.proxyOf.nodes || (this.nodes = []), super.append(...a);
724
+ }
725
+ prepend(...a) {
726
+ return this.proxyOf.nodes || (this.nodes = []), super.prepend(...a);
727
+ }
728
+ };
729
+ s.exports = r, r.default = r, i.registerAtRule(r);
730
+ }), Ie = S((e, s) => {
731
+ var i = pe(), r, a, o = class extends i {
732
+ constructor(u) {
733
+ super(u), this.type = "root", this.nodes || (this.nodes = []);
734
+ }
735
+ normalize(u, p, y) {
736
+ let m = super.normalize(u);
737
+ if (p) {
738
+ if (y === "prepend") this.nodes.length > 1 ? p.raws.before = this.nodes[1].raws.before : delete p.raws.before;
739
+ else if (this.first !== p) for (let n of m) n.raws.before = p.raws.before;
740
+ }
741
+ return m;
742
+ }
743
+ removeChild(u, p) {
744
+ let y = this.index(u);
745
+ return !p && y === 0 && this.nodes.length > 1 && (this.nodes[1].raws.before = this.nodes[y].raws.before), super.removeChild(u);
746
+ }
747
+ toResult(u = {}) {
748
+ return new r(new a(), this, u).stringify();
749
+ }
750
+ };
751
+ o.registerLazyResult = (u) => {
752
+ r = u;
753
+ }, o.registerProcessor = (u) => {
754
+ a = u;
755
+ }, s.exports = o, o.default = o, i.registerRoot(o);
756
+ }), Kt = S((e, s) => {
757
+ var i = { comma(r) {
758
+ return i.split(r, [","], !0);
759
+ }, space(r) {
760
+ let a = [" ", `
761
+ `, " "];
762
+ return i.split(r, a);
763
+ }, split(r, a, o) {
764
+ let u = [], p = "", y = !1, m = 0, n = !1, t = "", h = !1;
765
+ for (let c of r) h ? h = !1 : c === "\\" ? h = !0 : n ? c === t && (n = !1) : c === '"' || c === "'" ? (n = !0, t = c) : c === "(" ? m += 1 : c === ")" ? m > 0 && (m -= 1) : m === 0 && a.includes(c) && (y = !0), y ? (p !== "" && u.push(p.trim()), p = "", y = !1) : p += c;
766
+ return (o || p !== "") && u.push(p.trim()), u;
767
+ } };
768
+ s.exports = i, i.default = i;
769
+ }), gt = S((e, s) => {
770
+ var i = pe(), r = Kt(), a = class extends i {
771
+ get selectors() {
772
+ return r.comma(this.selector);
773
+ }
774
+ set selectors(o) {
775
+ let u = this.selector ? this.selector.match(/,\s*/) : null, p = u ? u[0] : "," + this.raw("between", "beforeOpen");
776
+ this.selector = o.join(p);
777
+ }
778
+ constructor(o) {
779
+ super(o), this.type = "rule", this.nodes || (this.nodes = []);
780
+ }
781
+ };
782
+ s.exports = a, a.default = a, i.registerRule(a);
783
+ }), wt = S((e, s) => {
784
+ var i = /[\t\n\f\r "#'()/;[\\\]{}]/g, r = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, a = /.[\r\n"'(/\\]/, o = /[\da-f]/i;
785
+ s.exports = function(u, p = {}) {
786
+ let y = u.css.valueOf(), m = p.ignoreErrors, n, t, h, c, d, l, w, v, f, g, T = y.length, b = 0, x = [], k = [];
787
+ function O() {
788
+ return b;
789
+ }
790
+ function A(R) {
791
+ throw u.error("Unclosed " + R, b);
792
+ }
793
+ function E() {
794
+ return k.length === 0 && b >= T;
795
+ }
796
+ function P(R) {
797
+ if (k.length) return k.pop();
798
+ if (b >= T) return;
799
+ let $ = R ? R.ignoreUnclosed : !1;
800
+ switch (n = y.charCodeAt(b), n) {
801
+ case 10:
802
+ case 32:
803
+ case 9:
804
+ case 13:
805
+ case 12: {
806
+ c = b;
807
+ do
808
+ c += 1, n = y.charCodeAt(c);
809
+ while (n === 32 || n === 10 || n === 9 || n === 13 || n === 12);
810
+ l = ["space", y.slice(b, c)], b = c - 1;
811
+ break;
812
+ }
813
+ case 91:
814
+ case 93:
815
+ case 123:
816
+ case 125:
817
+ case 58:
818
+ case 59:
819
+ case 41: {
820
+ let M = String.fromCharCode(n);
821
+ l = [M, M, b];
822
+ break;
823
+ }
824
+ case 40: {
825
+ if (g = x.length ? x.pop()[1] : "", f = y.charCodeAt(b + 1), g === "url" && f !== 39 && f !== 34 && f !== 32 && f !== 10 && f !== 9 && f !== 12 && f !== 13) {
826
+ c = b;
827
+ do {
828
+ if (w = !1, c = y.indexOf(")", c + 1), c === -1) if (m || $) {
829
+ c = b;
830
+ break;
831
+ } else A("bracket");
832
+ for (v = c; y.charCodeAt(v - 1) === 92; ) v -= 1, w = !w;
833
+ } while (w);
834
+ l = ["brackets", y.slice(b, c + 1), b, c], b = c;
835
+ } else c = y.indexOf(")", b + 1), t = y.slice(b, c + 1), c === -1 || a.test(t) ? l = ["(", "(", b] : (l = ["brackets", t, b, c], b = c);
836
+ break;
837
+ }
838
+ case 39:
839
+ case 34: {
840
+ d = n === 39 ? "'" : '"', c = b;
841
+ do {
842
+ if (w = !1, c = y.indexOf(d, c + 1), c === -1) if (m || $) {
843
+ c = b + 1;
844
+ break;
845
+ } else A("string");
846
+ for (v = c; y.charCodeAt(v - 1) === 92; ) v -= 1, w = !w;
847
+ } while (w);
848
+ l = ["string", y.slice(b, c + 1), b, c], b = c;
849
+ break;
850
+ }
851
+ case 64: {
852
+ i.lastIndex = b + 1, i.test(y), i.lastIndex === 0 ? c = y.length - 1 : c = i.lastIndex - 2, l = ["at-word", y.slice(b, c + 1), b, c], b = c;
853
+ break;
854
+ }
855
+ case 92: {
856
+ for (c = b, h = !0; y.charCodeAt(c + 1) === 92; ) c += 1, h = !h;
857
+ if (n = y.charCodeAt(c + 1), h && n !== 47 && n !== 32 && n !== 10 && n !== 9 && n !== 13 && n !== 12 && (c += 1, o.test(y.charAt(c)))) {
858
+ for (; o.test(y.charAt(c + 1)); ) c += 1;
859
+ y.charCodeAt(c + 1) === 32 && (c += 1);
860
+ }
861
+ l = ["word", y.slice(b, c + 1), b, c], b = c;
862
+ break;
863
+ }
864
+ default: {
865
+ n === 47 && y.charCodeAt(b + 1) === 42 ? (c = y.indexOf("*/", b + 2) + 1, c === 0 && (m || $ ? c = y.length : A("comment")), l = ["comment", y.slice(b, c + 1), b, c], b = c) : (r.lastIndex = b + 1, r.test(y), r.lastIndex === 0 ? c = y.length - 1 : c = r.lastIndex - 2, l = ["word", y.slice(b, c + 1), b, c], x.push(l), b = c);
866
+ break;
867
+ }
868
+ }
869
+ return b++, l;
870
+ }
871
+ function W(R) {
872
+ k.push(R);
873
+ }
874
+ return { back: W, endOfFile: E, nextToken: P, position: O };
875
+ };
876
+ }), bt = S((e, s) => {
877
+ var i = vt(), r = Ee(), a = Je(), o = Ie(), u = gt(), p = wt(), y = { empty: !0, space: !0 };
878
+ function m(t) {
879
+ for (let h = t.length - 1; h >= 0; h--) {
880
+ let c = t[h], d = c[3] || c[2];
881
+ if (d) return d;
882
+ }
883
+ }
884
+ var n = class {
885
+ constructor(t) {
886
+ this.input = t, this.root = new o(), this.current = this.root, this.spaces = "", this.semicolon = !1, this.createTokenizer(), this.root.source = { input: t, start: { column: 1, line: 1, offset: 0 } };
887
+ }
888
+ atrule(t) {
889
+ let h = new i();
890
+ h.name = t[1].slice(1), h.name === "" && this.unnamedAtrule(h, t), this.init(h, t[2]);
891
+ let c, d, l, w = !1, v = !1, f = [], g = [];
892
+ for (; !this.tokenizer.endOfFile(); ) {
893
+ if (t = this.tokenizer.nextToken(), c = t[0], c === "(" || c === "[" ? g.push(c === "(" ? ")" : "]") : c === "{" && g.length > 0 ? g.push("}") : c === g[g.length - 1] && g.pop(), g.length === 0) if (c === ";") {
894
+ h.source.end = this.getPosition(t[2]), h.source.end.offset++, this.semicolon = !0;
895
+ break;
896
+ } else if (c === "{") {
897
+ v = !0;
898
+ break;
899
+ } else if (c === "}") {
900
+ if (f.length > 0) {
901
+ for (l = f.length - 1, d = f[l]; d && d[0] === "space"; ) d = f[--l];
902
+ d && (h.source.end = this.getPosition(d[3] || d[2]), h.source.end.offset++);
903
+ }
904
+ this.end(t);
905
+ break;
906
+ } else f.push(t);
907
+ else f.push(t);
908
+ if (this.tokenizer.endOfFile()) {
909
+ w = !0;
910
+ break;
911
+ }
912
+ }
913
+ h.raws.between = this.spacesAndCommentsFromEnd(f), f.length ? (h.raws.afterName = this.spacesAndCommentsFromStart(f), this.raw(h, "params", f), w && (t = f[f.length - 1], h.source.end = this.getPosition(t[3] || t[2]), h.source.end.offset++, this.spaces = h.raws.between, h.raws.between = "")) : (h.raws.afterName = "", h.params = ""), v && (h.nodes = [], this.current = h);
914
+ }
915
+ checkMissedSemicolon(t) {
916
+ let h = this.colon(t);
917
+ if (h === !1) return;
918
+ let c = 0, d;
919
+ for (let l = h - 1; l >= 0 && (d = t[l], !(d[0] !== "space" && (c += 1, c === 2))); l--) ;
920
+ throw this.input.error("Missed semicolon", d[0] === "word" ? d[3] + 1 : d[2]);
921
+ }
922
+ colon(t) {
923
+ let h = 0, c, d, l;
924
+ for (let [w, v] of t.entries()) {
925
+ if (d = v, l = d[0], l === "(" && (h += 1), l === ")" && (h -= 1), h === 0 && l === ":") if (!c) this.doubleColon(d);
926
+ else {
927
+ if (c[0] === "word" && c[1] === "progid") continue;
928
+ return w;
929
+ }
930
+ c = d;
931
+ }
932
+ return !1;
933
+ }
934
+ comment(t) {
935
+ let h = new r();
936
+ this.init(h, t[2]), h.source.end = this.getPosition(t[3] || t[2]), h.source.end.offset++;
937
+ let c = t[1].slice(2, -2);
938
+ if (/^\s*$/.test(c)) h.text = "", h.raws.left = c, h.raws.right = "";
939
+ else {
940
+ let d = c.match(/^(\s*)([^]*\S)(\s*)$/);
941
+ h.text = d[2], h.raws.left = d[1], h.raws.right = d[3];
942
+ }
943
+ }
944
+ createTokenizer() {
945
+ this.tokenizer = p(this.input);
946
+ }
947
+ decl(t, h) {
948
+ let c = new a();
949
+ this.init(c, t[0][2]);
950
+ let d = t[t.length - 1];
951
+ for (d[0] === ";" && (this.semicolon = !0, t.pop()), c.source.end = this.getPosition(d[3] || d[2] || m(t)), c.source.end.offset++; t[0][0] !== "word"; ) t.length === 1 && this.unknownWord(t), c.raws.before += t.shift()[1];
952
+ for (c.source.start = this.getPosition(t[0][2]), c.prop = ""; t.length; ) {
953
+ let f = t[0][0];
954
+ if (f === ":" || f === "space" || f === "comment") break;
955
+ c.prop += t.shift()[1];
956
+ }
957
+ c.raws.between = "";
958
+ let l;
959
+ for (; t.length; ) if (l = t.shift(), l[0] === ":") {
960
+ c.raws.between += l[1];
961
+ break;
962
+ } else l[0] === "word" && /\w/.test(l[1]) && this.unknownWord([l]), c.raws.between += l[1];
963
+ (c.prop[0] === "_" || c.prop[0] === "*") && (c.raws.before += c.prop[0], c.prop = c.prop.slice(1));
964
+ let w = [], v;
965
+ for (; t.length && (v = t[0][0], !(v !== "space" && v !== "comment")); ) w.push(t.shift());
966
+ this.precheckMissedSemicolon(t);
967
+ for (let f = t.length - 1; f >= 0; f--) {
968
+ if (l = t[f], l[1].toLowerCase() === "!important") {
969
+ c.important = !0;
970
+ let g = this.stringFrom(t, f);
971
+ g = this.spacesFromEnd(t) + g, g !== " !important" && (c.raws.important = g);
972
+ break;
973
+ } else if (l[1].toLowerCase() === "important") {
974
+ let g = t.slice(0), T = "";
975
+ for (let b = f; b > 0; b--) {
976
+ let x = g[b][0];
977
+ if (T.trim().startsWith("!") && x !== "space") break;
978
+ T = g.pop()[1] + T;
979
+ }
980
+ T.trim().startsWith("!") && (c.important = !0, c.raws.important = T, t = g);
981
+ }
982
+ if (l[0] !== "space" && l[0] !== "comment") break;
983
+ }
984
+ t.some((f) => f[0] !== "space" && f[0] !== "comment") && (c.raws.between += w.map((f) => f[1]).join(""), w = []), this.raw(c, "value", w.concat(t), h), c.value.includes(":") && !h && this.checkMissedSemicolon(t);
985
+ }
986
+ doubleColon(t) {
987
+ throw this.input.error("Double colon", { offset: t[2] }, { offset: t[2] + t[1].length });
988
+ }
989
+ emptyRule(t) {
990
+ let h = new u();
991
+ this.init(h, t[2]), h.selector = "", h.raws.between = "", this.current = h;
992
+ }
993
+ end(t) {
994
+ this.current.nodes && this.current.nodes.length && (this.current.raws.semicolon = this.semicolon), this.semicolon = !1, this.current.raws.after = (this.current.raws.after || "") + this.spaces, this.spaces = "", this.current.parent ? (this.current.source.end = this.getPosition(t[2]), this.current.source.end.offset++, this.current = this.current.parent) : this.unexpectedClose(t);
995
+ }
996
+ endFile() {
997
+ this.current.parent && this.unclosedBlock(), this.current.nodes && this.current.nodes.length && (this.current.raws.semicolon = this.semicolon), this.current.raws.after = (this.current.raws.after || "") + this.spaces, this.root.source.end = this.getPosition(this.tokenizer.position());
998
+ }
999
+ freeSemicolon(t) {
1000
+ if (this.spaces += t[1], this.current.nodes) {
1001
+ let h = this.current.nodes[this.current.nodes.length - 1];
1002
+ h && h.type === "rule" && !h.raws.ownSemicolon && (h.raws.ownSemicolon = this.spaces, this.spaces = "", h.source.end = this.getPosition(t[2]), h.source.end.offset += h.raws.ownSemicolon.length);
1003
+ }
1004
+ }
1005
+ getPosition(t) {
1006
+ let h = this.input.fromOffset(t);
1007
+ return { column: h.col, line: h.line, offset: t };
1008
+ }
1009
+ init(t, h) {
1010
+ this.current.push(t), t.source = { input: this.input, start: this.getPosition(h) }, t.raws.before = this.spaces, this.spaces = "", t.type !== "comment" && (this.semicolon = !1);
1011
+ }
1012
+ other(t) {
1013
+ let h = !1, c = null, d = !1, l = null, w = [], v = t[1].startsWith("--"), f = [], g = t;
1014
+ for (; g; ) {
1015
+ if (c = g[0], f.push(g), c === "(" || c === "[") l || (l = g), w.push(c === "(" ? ")" : "]");
1016
+ else if (v && d && c === "{") l || (l = g), w.push("}");
1017
+ else if (w.length === 0) if (c === ";") if (d) {
1018
+ this.decl(f, v);
1019
+ return;
1020
+ } else break;
1021
+ else if (c === "{") {
1022
+ this.rule(f);
1023
+ return;
1024
+ } else if (c === "}") {
1025
+ this.tokenizer.back(f.pop()), h = !0;
1026
+ break;
1027
+ } else c === ":" && (d = !0);
1028
+ else c === w[w.length - 1] && (w.pop(), w.length === 0 && (l = null));
1029
+ g = this.tokenizer.nextToken();
1030
+ }
1031
+ if (this.tokenizer.endOfFile() && (h = !0), w.length > 0 && this.unclosedBracket(l), h && d) {
1032
+ if (!v) for (; f.length && (g = f[f.length - 1][0], !(g !== "space" && g !== "comment")); ) this.tokenizer.back(f.pop());
1033
+ this.decl(f, v);
1034
+ } else this.unknownWord(f);
1035
+ }
1036
+ parse() {
1037
+ let t;
1038
+ for (; !this.tokenizer.endOfFile(); ) switch (t = this.tokenizer.nextToken(), t[0]) {
1039
+ case "space":
1040
+ this.spaces += t[1];
1041
+ break;
1042
+ case ";":
1043
+ this.freeSemicolon(t);
1044
+ break;
1045
+ case "}":
1046
+ this.end(t);
1047
+ break;
1048
+ case "comment":
1049
+ this.comment(t);
1050
+ break;
1051
+ case "at-word":
1052
+ this.atrule(t);
1053
+ break;
1054
+ case "{":
1055
+ this.emptyRule(t);
1056
+ break;
1057
+ default:
1058
+ this.other(t);
1059
+ break;
1060
+ }
1061
+ this.endFile();
1062
+ }
1063
+ precheckMissedSemicolon() {
1064
+ }
1065
+ raw(t, h, c, d) {
1066
+ let l, w, v = c.length, f = "", g = !0, T, b;
1067
+ for (let x = 0; x < v; x += 1) l = c[x], w = l[0], w === "space" && x === v - 1 && !d ? g = !1 : w === "comment" ? (b = c[x - 1] ? c[x - 1][0] : "empty", T = c[x + 1] ? c[x + 1][0] : "empty", !y[b] && !y[T] ? f.slice(-1) === "," ? g = !1 : f += l[1] : g = !1) : f += l[1];
1068
+ if (!g) {
1069
+ let x = c.reduce((k, O) => k + O[1], "");
1070
+ t.raws[h] = { raw: x, value: f };
1071
+ }
1072
+ t[h] = f;
1073
+ }
1074
+ rule(t) {
1075
+ t.pop();
1076
+ let h = new u();
1077
+ this.init(h, t[0][2]), h.raws.between = this.spacesAndCommentsFromEnd(t), this.raw(h, "selector", t), this.current = h;
1078
+ }
1079
+ spacesAndCommentsFromEnd(t) {
1080
+ let h, c = "";
1081
+ for (; t.length && (h = t[t.length - 1][0], !(h !== "space" && h !== "comment")); ) c = t.pop()[1] + c;
1082
+ return c;
1083
+ }
1084
+ spacesAndCommentsFromStart(t) {
1085
+ let h, c = "";
1086
+ for (; t.length && (h = t[0][0], !(h !== "space" && h !== "comment")); ) c += t.shift()[1];
1087
+ return c;
1088
+ }
1089
+ spacesFromEnd(t) {
1090
+ let h, c = "";
1091
+ for (; t.length && (h = t[t.length - 1][0], h === "space"); ) c = t.pop()[1] + c;
1092
+ return c;
1093
+ }
1094
+ stringFrom(t, h) {
1095
+ let c = "";
1096
+ for (let d = h; d < t.length; d++) c += t[d][1];
1097
+ return t.splice(h, t.length - h), c;
1098
+ }
1099
+ unclosedBlock() {
1100
+ let t = this.current.source.start;
1101
+ throw this.input.error("Unclosed block", t.line, t.column);
1102
+ }
1103
+ unclosedBracket(t) {
1104
+ throw this.input.error("Unclosed bracket", { offset: t[2] }, { offset: t[2] + 1 });
1105
+ }
1106
+ unexpectedClose(t) {
1107
+ throw this.input.error("Unexpected }", { offset: t[2] }, { offset: t[2] + 1 });
1108
+ }
1109
+ unknownWord(t) {
1110
+ throw this.input.error("Unknown word " + t[0][1], { offset: t[0][2] }, { offset: t[0][2] + t[0][1].length });
1111
+ }
1112
+ unnamedAtrule(t, h) {
1113
+ throw this.input.error("At-rule without name", { offset: h[2] }, { offset: h[2] + h[1].length });
1114
+ }
1115
+ };
1116
+ s.exports = n;
1117
+ }), Qe = S((e, s) => {
1118
+ var i = pe(), r = je(), a = bt();
1119
+ function o(u, p) {
1120
+ let y = new r(u, p), m = new a(y);
1121
+ try {
1122
+ m.parse();
1123
+ } catch (n) {
1124
+ throw n;
1125
+ }
1126
+ return m.root;
1127
+ }
1128
+ s.exports = o, o.default = o, i.registerParse(o);
1129
+ }), ys = S((e, s) => {
1130
+ var i = wt(), r = je();
1131
+ s.exports = { isInlineComment(a) {
1132
+ if (a[0] === "word" && a[1].slice(0, 2) === "//") {
1133
+ let o = a, u = [], p, y;
1134
+ for (; a; ) {
1135
+ if (/\r?\n/.test(a[1])) {
1136
+ if (/['"].*\r?\n/.test(a[1])) {
1137
+ u.push(a[1].substring(0, a[1].indexOf(`
1138
+ `))), y = a[1].substring(a[1].indexOf(`
1139
+ `));
1140
+ let n = this.input.css.valueOf().substring(this.tokenizer.position());
1141
+ y += n, p = a[3] + n.length - y.length;
1142
+ } else this.tokenizer.back(a);
1143
+ break;
1144
+ }
1145
+ u.push(a[1]), p = a[2], a = this.tokenizer.nextToken({ ignoreUnclosed: !0 });
1146
+ }
1147
+ let m = ["comment", u.join(""), o[2], p];
1148
+ return this.inlineComment(m), y && (this.input = new r(y), this.tokenizer = i(this.input)), !0;
1149
+ } else if (a[1] === "/") {
1150
+ let o = this.tokenizer.nextToken({ ignoreUnclosed: !0 });
1151
+ if (o[0] === "comment" && /^\/\*/.test(o[1])) return o[0] = "word", o[1] = o[1].slice(1), a[1] = "//", this.tokenizer.back(o), s.exports.isInlineComment.bind(this)(a);
1152
+ }
1153
+ return !1;
1154
+ } };
1155
+ }), vs = S((e, s) => {
1156
+ s.exports = { interpolation(i) {
1157
+ let r = [i, this.tokenizer.nextToken()], a = ["word", "}"];
1158
+ if (r[0][1].length > 1 || r[1][0] !== "{") return this.tokenizer.back(r[1]), !1;
1159
+ for (i = this.tokenizer.nextToken(); i && a.includes(i[0]); ) r.push(i), i = this.tokenizer.nextToken();
1160
+ let o = r.map((m) => m[1]), [u] = r, p = r.pop(), y = ["word", o.join(""), u[2], p[2]];
1161
+ return this.tokenizer.back(i), this.tokenizer.back(y), !0;
1162
+ } };
1163
+ }), gs = S((e, s) => {
1164
+ var i = /^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/, r = /\.[0-9]/, a = (o) => {
1165
+ let [, u] = o, [p] = u;
1166
+ return (p === "." || p === "#") && i.test(u) === !1 && r.test(u) === !1;
1167
+ };
1168
+ s.exports = { isMixinToken: a };
1169
+ }), ws = S((e, s) => {
1170
+ var i = wt(), r = /^url\((.+)\)/;
1171
+ s.exports = (a) => {
1172
+ let { name: o, params: u = "" } = a;
1173
+ if (o === "import" && u.length) {
1174
+ a.import = !0;
1175
+ let p = i({ css: u });
1176
+ for (a.filename = u.replace(r, "$1"); !p.endOfFile(); ) {
1177
+ let [y, m] = p.nextToken();
1178
+ if (y === "word" && m === "url") return;
1179
+ if (y === "brackets") {
1180
+ a.options = m, a.filename = u.replace(m, "").trim();
1181
+ break;
1182
+ }
1183
+ }
1184
+ }
1185
+ };
1186
+ }), bs = S((e, s) => {
1187
+ var i = /:$/, r = /^:(\s+)?/;
1188
+ s.exports = (a) => {
1189
+ let { name: o, params: u = "" } = a;
1190
+ if (a.name.slice(-1) === ":") {
1191
+ if (i.test(o)) {
1192
+ let [p] = o.match(i);
1193
+ a.name = o.replace(p, ""), a.raws.afterName = p + (a.raws.afterName || ""), a.variable = !0, a.value = a.params;
1194
+ }
1195
+ if (r.test(u)) {
1196
+ let [p] = u.match(r);
1197
+ a.value = u.replace(p, ""), a.raws.afterName = (a.raws.afterName || "") + p, a.variable = !0;
1198
+ }
1199
+ }
1200
+ };
1201
+ }), xs = S((e, s) => {
1202
+ var i = Ee(), r = bt(), { isInlineComment: a } = ys(), { interpolation: o } = vs(), { isMixinToken: u } = gs(), p = ws(), y = bs(), m = /(!\s*important)$/i;
1203
+ s.exports = class extends r {
1204
+ constructor(...n) {
1205
+ super(...n), this.lastNode = null;
1206
+ }
1207
+ atrule(n) {
1208
+ o.bind(this)(n) || (super.atrule(n), p(this.lastNode), y(this.lastNode));
1209
+ }
1210
+ decl(...n) {
1211
+ super.decl(...n), /extend\(.+\)/i.test(this.lastNode.value) && (this.lastNode.extend = !0);
1212
+ }
1213
+ each(n) {
1214
+ n[0][1] = ` ${n[0][1]}`;
1215
+ let t = n.findIndex((l) => l[0] === "("), h = n.reverse().find((l) => l[0] === ")"), c = n.reverse().indexOf(h), d = n.splice(t, c).map((l) => l[1]).join("");
1216
+ for (let l of n.reverse()) this.tokenizer.back(l);
1217
+ this.atrule(this.tokenizer.nextToken()), this.lastNode.function = !0, this.lastNode.params = d;
1218
+ }
1219
+ init(n, t, h) {
1220
+ super.init(n, t, h), this.lastNode = n;
1221
+ }
1222
+ inlineComment(n) {
1223
+ let t = new i(), h = n[1].slice(2);
1224
+ if (this.init(t, n[2]), t.source.end = this.getPosition(n[3] || n[2]), t.inline = !0, t.raws.begin = "//", /^\s*$/.test(h)) t.text = "", t.raws.left = h, t.raws.right = "";
1225
+ else {
1226
+ let c = h.match(/^(\s*)([^]*[^\s])(\s*)$/);
1227
+ [, t.raws.left, t.text, t.raws.right] = c;
1228
+ }
1229
+ }
1230
+ mixin(n) {
1231
+ let [t] = n, h = t[1].slice(0, 1), c = n.findIndex((f) => f[0] === "brackets"), d = n.findIndex((f) => f[0] === "("), l = "";
1232
+ if ((c < 0 || c > 3) && d > 0) {
1233
+ let f = n.reduce((P, W, R) => W[0] === ")" ? R : P), g = n.slice(d, f + d).map((P) => P[1]).join(""), [T] = n.slice(d), b = [T[2], T[3]], [x] = n.slice(f, f + 1), k = [x[2], x[3]], O = ["brackets", g].concat(b, k), A = n.slice(0, d), E = n.slice(f + 1);
1234
+ n = A, n.push(O), n = n.concat(E);
1235
+ }
1236
+ let w = [];
1237
+ for (let f of n) if ((f[1] === "!" || w.length) && w.push(f), f[1] === "important") break;
1238
+ if (w.length) {
1239
+ let [f] = w, g = n.indexOf(f), T = w[w.length - 1], b = [f[2], f[3]], x = [T[4], T[5]], k = ["word", w.map((O) => O[1]).join("")].concat(b, x);
1240
+ n.splice(g, w.length, k);
1241
+ }
1242
+ let v = n.findIndex((f) => m.test(f[1]));
1243
+ v > 0 && ([, l] = n[v], n.splice(v, 1));
1244
+ for (let f of n.reverse()) this.tokenizer.back(f);
1245
+ this.atrule(this.tokenizer.nextToken()), this.lastNode.mixin = !0, this.lastNode.raws.identifier = h, l && (this.lastNode.important = !0, this.lastNode.raws.important = l);
1246
+ }
1247
+ other(n) {
1248
+ a.bind(this)(n) || super.other(n);
1249
+ }
1250
+ rule(n) {
1251
+ let t = n[n.length - 1], h = n[n.length - 2];
1252
+ if (h[0] === "at-word" && t[0] === "{" && (this.tokenizer.back(t), o.bind(this)(h))) {
1253
+ let c = this.tokenizer.nextToken();
1254
+ n = n.slice(0, n.length - 2).concat([c]);
1255
+ for (let d of n.reverse()) this.tokenizer.back(d);
1256
+ return;
1257
+ }
1258
+ super.rule(n), /:extend\(.+\)/i.test(this.lastNode.selector) && (this.lastNode.extend = !0);
1259
+ }
1260
+ unknownWord(n) {
1261
+ let [t] = n;
1262
+ if (n[0][1] === "each" && n[1][0] === "(") {
1263
+ this.each(n);
1264
+ return;
1265
+ }
1266
+ if (u(t)) {
1267
+ this.mixin(n);
1268
+ return;
1269
+ }
1270
+ super.unknownWord(n);
1271
+ }
1272
+ };
1273
+ }), ks = S((e, s) => {
1274
+ var i = mt();
1275
+ s.exports = class extends i {
1276
+ atrule(r, a) {
1277
+ if (!r.mixin && !r.variable && !r.function) {
1278
+ super.atrule(r, a);
1279
+ return;
1280
+ }
1281
+ let o = `${r.function ? "" : r.raws.identifier || "@"}${r.name}`, u = r.params ? this.rawValue(r, "params") : "", p = r.raws.important || "";
1282
+ if (r.variable && (u = r.value), typeof r.raws.afterName < "u" ? o += r.raws.afterName : u && (o += " "), r.nodes) this.block(r, o + u + p);
1283
+ else {
1284
+ let y = (r.raws.between || "") + p + (a ? ";" : "");
1285
+ this.builder(o + u + y, r);
1286
+ }
1287
+ }
1288
+ comment(r) {
1289
+ if (r.inline) {
1290
+ let a = this.raw(r, "left", "commentLeft"), o = this.raw(r, "right", "commentRight");
1291
+ this.builder(`//${a}${r.text}${o}`, r);
1292
+ } else super.comment(r);
1293
+ }
1294
+ };
1295
+ }), Os = S((e, s) => {
1296
+ var i = je(), r = xs(), a = ks();
1297
+ s.exports = { parse(o, u) {
1298
+ let p = new i(o, u), y = new r(p);
1299
+ return y.parse(), y.root.walk((m) => {
1300
+ let n = p.css.lastIndexOf(m.source.input.css);
1301
+ if (n === 0) return;
1302
+ if (n + m.source.input.css.length !== p.css.length) throw new Error("Invalid state detected in postcss-less");
1303
+ let t = n + m.source.start.offset, h = p.fromOffset(n + m.source.start.offset);
1304
+ if (m.source.start = { offset: t, line: h.line, column: h.col }, m.source.end) {
1305
+ let c = n + m.source.end.offset, d = p.fromOffset(n + m.source.end.offset);
1306
+ m.source.end = { offset: c, line: d.line, column: d.col };
1307
+ }
1308
+ }), y.root;
1309
+ }, stringify(o, u) {
1310
+ new a(u).stringify(o);
1311
+ }, nodeToString(o) {
1312
+ let u = "";
1313
+ return s.exports.stringify(o, (p) => {
1314
+ u += p;
1315
+ }), u;
1316
+ } };
1317
+ }), xt = S((e, s) => {
1318
+ var i = pe(), r, a, o = class extends i {
1319
+ constructor(u) {
1320
+ super({ type: "document", ...u }), this.nodes || (this.nodes = []);
1321
+ }
1322
+ toResult(u = {}) {
1323
+ return new r(new a(), this, u).stringify();
1324
+ }
1325
+ };
1326
+ o.registerLazyResult = (u) => {
1327
+ r = u;
1328
+ }, o.registerProcessor = (u) => {
1329
+ a = u;
1330
+ }, s.exports = o, o.default = o;
1331
+ }), Ts = S((e, s) => {
1332
+ var i = vt(), r = Ee(), a = Je(), o = je(), u = Yt(), p = Ie(), y = gt();
1333
+ function m(n, t) {
1334
+ if (Array.isArray(n)) return n.map((d) => m(d));
1335
+ let { inputs: h, ...c } = n;
1336
+ if (h) {
1337
+ t = [];
1338
+ for (let d of h) {
1339
+ let l = { ...d, __proto__: o.prototype };
1340
+ l.map && (l.map = { ...l.map, __proto__: u.prototype }), t.push(l);
1341
+ }
1342
+ }
1343
+ if (c.nodes && (c.nodes = n.nodes.map((d) => m(d, t))), c.source) {
1344
+ let { inputId: d, ...l } = c.source;
1345
+ c.source = l, d != null && (c.source.input = t[d]);
1346
+ }
1347
+ if (c.type === "root") return new p(c);
1348
+ if (c.type === "decl") return new a(c);
1349
+ if (c.type === "rule") return new y(c);
1350
+ if (c.type === "comment") return new r(c);
1351
+ if (c.type === "atrule") return new i(c);
1352
+ throw new Error("Unknown node type: " + n.type);
1353
+ }
1354
+ s.exports = m, m.default = m;
1355
+ }), Xt = S((e, s) => {
1356
+ s.exports = class {
1357
+ generate() {
1358
+ }
1359
+ };
1360
+ }), er = S((e, s) => {
1361
+ var i = class {
1362
+ constructor(r, a = {}) {
1363
+ if (this.type = "warning", this.text = r, a.node && a.node.source) {
1364
+ let o = a.node.rangeBy(a);
1365
+ this.line = o.start.line, this.column = o.start.column, this.endLine = o.end.line, this.endColumn = o.end.column;
1366
+ }
1367
+ for (let o in a) this[o] = a[o];
1368
+ }
1369
+ toString() {
1370
+ return this.node ? this.node.error(this.text, { index: this.index, plugin: this.plugin, word: this.word }).message : this.plugin ? this.plugin + ": " + this.text : this.text;
1371
+ }
1372
+ };
1373
+ s.exports = i, i.default = i;
1374
+ }), kt = S((e, s) => {
1375
+ var i = er(), r = class {
1376
+ get content() {
1377
+ return this.css;
1378
+ }
1379
+ constructor(a, o, u) {
1380
+ this.processor = a, this.messages = [], this.root = o, this.opts = u, this.css = "", this.map = void 0;
1381
+ }
1382
+ toString() {
1383
+ return this.css;
1384
+ }
1385
+ warn(a, o = {}) {
1386
+ o.plugin || this.lastPlugin && this.lastPlugin.postcssPlugin && (o.plugin = this.lastPlugin.postcssPlugin);
1387
+ let u = new i(a, o);
1388
+ return this.messages.push(u), u;
1389
+ }
1390
+ warnings() {
1391
+ return this.messages.filter((a) => a.type === "warning");
1392
+ }
1393
+ };
1394
+ s.exports = r, r.default = r;
1395
+ }), tr = S((e, s) => {
1396
+ var i = {};
1397
+ s.exports = function(r) {
1398
+ i[r] || (i[r] = !0, typeof console < "u" && console.warn && console.warn(r));
1399
+ };
1400
+ }), rr = S((e, s) => {
1401
+ var i = pe(), r = xt(), a = Xt(), o = Qe(), u = kt(), p = Ie(), y = Ge(), { isClean: m, my: n } = yt();
1402
+ tr();
1403
+ var t = { atrule: "AtRule", comment: "Comment", decl: "Declaration", document: "Document", root: "Root", rule: "Rule" }, h = { AtRule: !0, AtRuleExit: !0, Comment: !0, CommentExit: !0, Declaration: !0, DeclarationExit: !0, Document: !0, DocumentExit: !0, Once: !0, OnceExit: !0, postcssPlugin: !0, prepare: !0, Root: !0, RootExit: !0, Rule: !0, RuleExit: !0 }, c = { Once: !0, postcssPlugin: !0, prepare: !0 }, d = 0;
1404
+ function l(b) {
1405
+ return typeof b == "object" && typeof b.then == "function";
1406
+ }
1407
+ function w(b) {
1408
+ let x = !1, k = t[b.type];
1409
+ return b.type === "decl" ? x = b.prop.toLowerCase() : b.type === "atrule" && (x = b.name.toLowerCase()), x && b.append ? [k, k + "-" + x, d, k + "Exit", k + "Exit-" + x] : x ? [k, k + "-" + x, k + "Exit", k + "Exit-" + x] : b.append ? [k, d, k + "Exit"] : [k, k + "Exit"];
1410
+ }
1411
+ function v(b) {
1412
+ let x;
1413
+ return b.type === "document" ? x = ["Document", d, "DocumentExit"] : b.type === "root" ? x = ["Root", d, "RootExit"] : x = w(b), { eventIndex: 0, events: x, iterator: 0, node: b, visitorIndex: 0, visitors: [] };
1414
+ }
1415
+ function f(b) {
1416
+ return b[m] = !1, b.nodes && b.nodes.forEach((x) => f(x)), b;
1417
+ }
1418
+ var g = {}, T = class us {
1419
+ get content() {
1420
+ return this.stringify().content;
1421
+ }
1422
+ get css() {
1423
+ return this.stringify().css;
1424
+ }
1425
+ get map() {
1426
+ return this.stringify().map;
1427
+ }
1428
+ get messages() {
1429
+ return this.sync().messages;
1430
+ }
1431
+ get opts() {
1432
+ return this.result.opts;
1433
+ }
1434
+ get processor() {
1435
+ return this.result.processor;
1436
+ }
1437
+ get root() {
1438
+ return this.sync().root;
1439
+ }
1440
+ get [Symbol.toStringTag]() {
1441
+ return "LazyResult";
1442
+ }
1443
+ constructor(x, k, O) {
1444
+ this.stringified = !1, this.processed = !1;
1445
+ let A;
1446
+ if (typeof k == "object" && k !== null && (k.type === "root" || k.type === "document")) A = f(k);
1447
+ else if (k instanceof us || k instanceof u) A = f(k.root), k.map && (typeof O.map > "u" && (O.map = {}), O.map.inline || (O.map.inline = !1), O.map.prev = k.map);
1448
+ else {
1449
+ let E = o;
1450
+ O.syntax && (E = O.syntax.parse), O.parser && (E = O.parser), E.parse && (E = E.parse);
1451
+ try {
1452
+ A = E(k, O);
1453
+ } catch (P) {
1454
+ this.processed = !0, this.error = P;
1455
+ }
1456
+ A && !A[n] && i.rebuild(A);
1457
+ }
1458
+ this.result = new u(x, A, O), this.helpers = { ...g, postcss: g, result: this.result }, this.plugins = this.processor.plugins.map((E) => typeof E == "object" && E.prepare ? { ...E, ...E.prepare(this.result) } : E);
1459
+ }
1460
+ async() {
1461
+ return this.error ? Promise.reject(this.error) : this.processed ? Promise.resolve(this.result) : (this.processing || (this.processing = this.runAsync()), this.processing);
1462
+ }
1463
+ catch(x) {
1464
+ return this.async().catch(x);
1465
+ }
1466
+ finally(x) {
1467
+ return this.async().then(x, x);
1468
+ }
1469
+ getAsyncError() {
1470
+ throw new Error("Use process(css).then(cb) to work with async plugins");
1471
+ }
1472
+ handleError(x, k) {
1473
+ let O = this.result.lastPlugin;
1474
+ try {
1475
+ k && k.addToError(x), this.error = x, x.name === "CssSyntaxError" && !x.plugin ? (x.plugin = O.postcssPlugin, x.setMessage()) : O.postcssVersion;
1476
+ } catch (A) {
1477
+ console && console.error && console.error(A);
1478
+ }
1479
+ return x;
1480
+ }
1481
+ prepareVisitors() {
1482
+ this.listeners = {};
1483
+ let x = (k, O, A) => {
1484
+ this.listeners[O] || (this.listeners[O] = []), this.listeners[O].push([k, A]);
1485
+ };
1486
+ for (let k of this.plugins) if (typeof k == "object") for (let O in k) {
1487
+ if (!h[O] && /^[A-Z]/.test(O)) throw new Error(`Unknown event ${O} in ${k.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);
1488
+ if (!c[O]) if (typeof k[O] == "object") for (let A in k[O]) A === "*" ? x(k, O, k[O][A]) : x(k, O + "-" + A.toLowerCase(), k[O][A]);
1489
+ else typeof k[O] == "function" && x(k, O, k[O]);
1490
+ }
1491
+ this.hasListener = Object.keys(this.listeners).length > 0;
1492
+ }
1493
+ async runAsync() {
1494
+ this.plugin = 0;
1495
+ for (let x = 0; x < this.plugins.length; x++) {
1496
+ let k = this.plugins[x], O = this.runOnRoot(k);
1497
+ if (l(O)) try {
1498
+ await O;
1499
+ } catch (A) {
1500
+ throw this.handleError(A);
1501
+ }
1502
+ }
1503
+ if (this.prepareVisitors(), this.hasListener) {
1504
+ let x = this.result.root;
1505
+ for (; !x[m]; ) {
1506
+ x[m] = !0;
1507
+ let k = [v(x)];
1508
+ for (; k.length > 0; ) {
1509
+ let O = this.visitTick(k);
1510
+ if (l(O)) try {
1511
+ await O;
1512
+ } catch (A) {
1513
+ let E = k[k.length - 1].node;
1514
+ throw this.handleError(A, E);
1515
+ }
1516
+ }
1517
+ }
1518
+ if (this.listeners.OnceExit) for (let [k, O] of this.listeners.OnceExit) {
1519
+ this.result.lastPlugin = k;
1520
+ try {
1521
+ if (x.type === "document") {
1522
+ let A = x.nodes.map((E) => O(E, this.helpers));
1523
+ await Promise.all(A);
1524
+ } else await O(x, this.helpers);
1525
+ } catch (A) {
1526
+ throw this.handleError(A);
1527
+ }
1528
+ }
1529
+ }
1530
+ return this.processed = !0, this.stringify();
1531
+ }
1532
+ runOnRoot(x) {
1533
+ this.result.lastPlugin = x;
1534
+ try {
1535
+ if (typeof x == "object" && x.Once) {
1536
+ if (this.result.root.type === "document") {
1537
+ let k = this.result.root.nodes.map((O) => x.Once(O, this.helpers));
1538
+ return l(k[0]) ? Promise.all(k) : k;
1539
+ }
1540
+ return x.Once(this.result.root, this.helpers);
1541
+ } else if (typeof x == "function") return x(this.result.root, this.result);
1542
+ } catch (k) {
1543
+ throw this.handleError(k);
1544
+ }
1545
+ }
1546
+ stringify() {
1547
+ if (this.error) throw this.error;
1548
+ if (this.stringified) return this.result;
1549
+ this.stringified = !0, this.sync();
1550
+ let x = this.result.opts, k = y;
1551
+ x.syntax && (k = x.syntax.stringify), x.stringifier && (k = x.stringifier), k.stringify && (k = k.stringify);
1552
+ let O = new a(k, this.result.root, this.result.opts).generate();
1553
+ return this.result.css = O[0], this.result.map = O[1], this.result;
1554
+ }
1555
+ sync() {
1556
+ if (this.error) throw this.error;
1557
+ if (this.processed) return this.result;
1558
+ if (this.processed = !0, this.processing) throw this.getAsyncError();
1559
+ for (let x of this.plugins) {
1560
+ let k = this.runOnRoot(x);
1561
+ if (l(k)) throw this.getAsyncError();
1562
+ }
1563
+ if (this.prepareVisitors(), this.hasListener) {
1564
+ let x = this.result.root;
1565
+ for (; !x[m]; ) x[m] = !0, this.walkSync(x);
1566
+ if (this.listeners.OnceExit) if (x.type === "document") for (let k of x.nodes) this.visitSync(this.listeners.OnceExit, k);
1567
+ else this.visitSync(this.listeners.OnceExit, x);
1568
+ }
1569
+ return this.result;
1570
+ }
1571
+ then(x, k) {
1572
+ return this.async().then(x, k);
1573
+ }
1574
+ toString() {
1575
+ return this.css;
1576
+ }
1577
+ visitSync(x, k) {
1578
+ for (let [O, A] of x) {
1579
+ this.result.lastPlugin = O;
1580
+ let E;
1581
+ try {
1582
+ E = A(k, this.helpers);
1583
+ } catch (P) {
1584
+ throw this.handleError(P, k.proxyOf);
1585
+ }
1586
+ if (k.type !== "root" && k.type !== "document" && !k.parent) return !0;
1587
+ if (l(E)) throw this.getAsyncError();
1588
+ }
1589
+ }
1590
+ visitTick(x) {
1591
+ let k = x[x.length - 1], { node: O, visitors: A } = k;
1592
+ if (O.type !== "root" && O.type !== "document" && !O.parent) {
1593
+ x.pop();
1594
+ return;
1595
+ }
1596
+ if (A.length > 0 && k.visitorIndex < A.length) {
1597
+ let [P, W] = A[k.visitorIndex];
1598
+ k.visitorIndex += 1, k.visitorIndex === A.length && (k.visitors = [], k.visitorIndex = 0), this.result.lastPlugin = P;
1599
+ try {
1600
+ return W(O.toProxy(), this.helpers);
1601
+ } catch (R) {
1602
+ throw this.handleError(R, O);
1603
+ }
1604
+ }
1605
+ if (k.iterator !== 0) {
1606
+ let P = k.iterator, W;
1607
+ for (; W = O.nodes[O.indexes[P]]; ) if (O.indexes[P] += 1, !W[m]) {
1608
+ W[m] = !0, x.push(v(W));
1609
+ return;
1610
+ }
1611
+ k.iterator = 0, delete O.indexes[P];
1612
+ }
1613
+ let E = k.events;
1614
+ for (; k.eventIndex < E.length; ) {
1615
+ let P = E[k.eventIndex];
1616
+ if (k.eventIndex += 1, P === d) {
1617
+ O.nodes && O.nodes.length && (O[m] = !0, k.iterator = O.getIterator());
1618
+ return;
1619
+ } else if (this.listeners[P]) {
1620
+ k.visitors = this.listeners[P];
1621
+ return;
1622
+ }
1623
+ }
1624
+ x.pop();
1625
+ }
1626
+ walkSync(x) {
1627
+ x[m] = !0;
1628
+ let k = w(x);
1629
+ for (let O of k) if (O === d) x.nodes && x.each((A) => {
1630
+ A[m] || this.walkSync(A);
1631
+ });
1632
+ else {
1633
+ let A = this.listeners[O];
1634
+ if (A && this.visitSync(A, x.toProxy())) return;
1635
+ }
1636
+ }
1637
+ warnings() {
1638
+ return this.sync().warnings();
1639
+ }
1640
+ };
1641
+ T.registerPostcss = (b) => {
1642
+ g = b;
1643
+ }, s.exports = T, T.default = T, p.registerLazyResult(T), r.registerLazyResult(T);
1644
+ }), _s = S((e, s) => {
1645
+ var i = Xt(), r = Qe(), a = kt(), o = Ge();
1646
+ tr();
1647
+ var u = class {
1648
+ get content() {
1649
+ return this.result.css;
1650
+ }
1651
+ get css() {
1652
+ return this.result.css;
1653
+ }
1654
+ get map() {
1655
+ return this.result.map;
1656
+ }
1657
+ get messages() {
1658
+ return [];
1659
+ }
1660
+ get opts() {
1661
+ return this.result.opts;
1662
+ }
1663
+ get processor() {
1664
+ return this.result.processor;
1665
+ }
1666
+ get root() {
1667
+ if (this._root) return this._root;
1668
+ let p, y = r;
1669
+ try {
1670
+ p = y(this._css, this._opts);
1671
+ } catch (m) {
1672
+ this.error = m;
1673
+ }
1674
+ if (this.error) throw this.error;
1675
+ return this._root = p, p;
1676
+ }
1677
+ get [Symbol.toStringTag]() {
1678
+ return "NoWorkResult";
1679
+ }
1680
+ constructor(p, y, m) {
1681
+ y = y.toString(), this.stringified = !1, this._processor = p, this._css = y, this._opts = m, this._map = void 0;
1682
+ let n, t = o;
1683
+ this.result = new a(this._processor, n, this._opts), this.result.css = y;
1684
+ let h = this;
1685
+ Object.defineProperty(this.result, "root", { get() {
1686
+ return h.root;
1687
+ } });
1688
+ let c = new i(t, n, this._opts, y);
1689
+ if (c.isMap()) {
1690
+ let [d, l] = c.generate();
1691
+ d && (this.result.css = d), l && (this.result.map = l);
1692
+ } else c.clearAnnotation(), this.result.css = c.css;
1693
+ }
1694
+ async() {
1695
+ return this.error ? Promise.reject(this.error) : Promise.resolve(this.result);
1696
+ }
1697
+ catch(p) {
1698
+ return this.async().catch(p);
1699
+ }
1700
+ finally(p) {
1701
+ return this.async().then(p, p);
1702
+ }
1703
+ sync() {
1704
+ if (this.error) throw this.error;
1705
+ return this.result;
1706
+ }
1707
+ then(p, y) {
1708
+ return this.async().then(p, y);
1709
+ }
1710
+ toString() {
1711
+ return this._css;
1712
+ }
1713
+ warnings() {
1714
+ return [];
1715
+ }
1716
+ };
1717
+ s.exports = u, u.default = u;
1718
+ }), Cs = S((e, s) => {
1719
+ var i = xt(), r = rr(), a = _s(), o = Ie(), u = class {
1720
+ constructor(p = []) {
1721
+ this.version = "8.5.6", this.plugins = this.normalize(p);
1722
+ }
1723
+ normalize(p) {
1724
+ let y = [];
1725
+ for (let m of p) if (m.postcss === !0 ? m = m() : m.postcss && (m = m.postcss), typeof m == "object" && Array.isArray(m.plugins)) y = y.concat(m.plugins);
1726
+ else if (typeof m == "object" && m.postcssPlugin) y.push(m);
1727
+ else if (typeof m == "function") y.push(m);
1728
+ else if (!(typeof m == "object" && (m.parse || m.stringify))) throw new Error(m + " is not a PostCSS plugin");
1729
+ return y;
1730
+ }
1731
+ process(p, y = {}) {
1732
+ return !this.plugins.length && !y.parser && !y.stringifier && !y.syntax ? new a(this, p, y) : new r(this, p, y);
1733
+ }
1734
+ use(p) {
1735
+ return this.plugins = this.plugins.concat(this.normalize([p])), this;
1736
+ }
1737
+ };
1738
+ s.exports = u, u.default = u, o.registerProcessor(u), i.registerProcessor(u);
1739
+ }), Ot = S((e, s) => {
1740
+ var i = vt(), r = Ee(), a = pe(), o = dt(), u = Je(), p = xt(), y = Ts(), m = je(), n = rr(), t = Kt(), h = He(), c = Qe(), d = Cs(), l = kt(), w = Ie(), v = gt(), f = Ge(), g = er();
1741
+ function T(...b) {
1742
+ return b.length === 1 && Array.isArray(b[0]) && (b = b[0]), new d(b);
1743
+ }
1744
+ T.plugin = function(b, x) {
1745
+ let k = !1;
1746
+ function O(...E) {
1747
+ console && console.warn && !k && (k = !0, console.warn(b + `: postcss.plugin was deprecated. Migration guide:
1748
+ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
1749
+ let P = x(...E);
1750
+ return P.postcssPlugin = b, P.postcssVersion = new d().version, P;
1751
+ }
1752
+ let A;
1753
+ return Object.defineProperty(O, "postcss", { get() {
1754
+ return A || (A = O()), A;
1755
+ } }), O.process = function(E, P, W) {
1756
+ return T([O(W)]).process(E, P);
1757
+ }, O;
1758
+ }, T.stringify = f, T.parse = c, T.fromJSON = y, T.list = t, T.comment = (b) => new r(b), T.atRule = (b) => new i(b), T.decl = (b) => new u(b), T.rule = (b) => new v(b), T.root = (b) => new w(b), T.document = (b) => new p(b), T.CssSyntaxError = o, T.Declaration = u, T.Container = a, T.Processor = d, T.Document = p, T.Comment = r, T.Warning = g, T.AtRule = i, T.Result = l, T.Input = m, T.Rule = v, T.Root = w, T.Node = h, n.registerPostcss(T), s.exports = T, T.default = T;
1759
+ }), Ss = S((e, s) => {
1760
+ var { Container: i } = Ot(), r = class extends i {
1761
+ constructor(a) {
1762
+ super(a), this.type = "decl", this.isNested = !0, this.nodes || (this.nodes = []);
1763
+ }
1764
+ };
1765
+ s.exports = r;
1766
+ }), As = S((e, s) => {
1767
+ var i = /[\t\n\f\r "#'()/;[\\\]{}]/g, r = /[,\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, a = /.[\r\n"'(/\\]/, o = /[\da-f]/i, u = /[\n\f\r]/g;
1768
+ s.exports = function(p, y = {}) {
1769
+ let m = p.css.valueOf(), n = y.ignoreErrors, t, h, c, d, l, w, v, f, g, T = m.length, b = 0, x = [], k = [], O;
1770
+ function A() {
1771
+ return b;
1772
+ }
1773
+ function E(M) {
1774
+ throw p.error("Unclosed " + M, b);
1775
+ }
1776
+ function P() {
1777
+ return k.length === 0 && b >= T;
1778
+ }
1779
+ function W() {
1780
+ let M = 1, I = !1, U = !1;
1781
+ for (; M > 0; ) h += 1, m.length <= h && E("interpolation"), t = m.charCodeAt(h), f = m.charCodeAt(h + 1), I ? !U && t === I ? (I = !1, U = !1) : t === 92 ? U = !U : U && (U = !1) : t === 39 || t === 34 ? I = t : t === 125 ? M -= 1 : t === 35 && f === 123 && (M += 1);
1782
+ }
1783
+ function R(M) {
1784
+ if (k.length) return k.pop();
1785
+ if (b >= T) return;
1786
+ let I = M ? M.ignoreUnclosed : !1;
1787
+ switch (t = m.charCodeAt(b), t) {
1788
+ case 10:
1789
+ case 32:
1790
+ case 9:
1791
+ case 13:
1792
+ case 12: {
1793
+ h = b;
1794
+ do
1795
+ h += 1, t = m.charCodeAt(h);
1796
+ while (t === 32 || t === 10 || t === 9 || t === 13 || t === 12);
1797
+ g = ["space", m.slice(b, h)], b = h - 1;
1798
+ break;
1799
+ }
1800
+ case 91:
1801
+ case 93:
1802
+ case 123:
1803
+ case 125:
1804
+ case 58:
1805
+ case 59:
1806
+ case 41: {
1807
+ let U = String.fromCharCode(t);
1808
+ g = [U, U, b];
1809
+ break;
1810
+ }
1811
+ case 44: {
1812
+ g = ["word", ",", b, b + 1];
1813
+ break;
1814
+ }
1815
+ case 40: {
1816
+ if (v = x.length ? x.pop()[1] : "", f = m.charCodeAt(b + 1), v === "url" && f !== 39 && f !== 34) {
1817
+ for (O = 1, w = !1, h = b + 1; h <= m.length - 1; ) {
1818
+ if (f = m.charCodeAt(h), f === 92) w = !w;
1819
+ else if (f === 40) O += 1;
1820
+ else if (f === 41 && (O -= 1, O === 0)) break;
1821
+ h += 1;
1822
+ }
1823
+ d = m.slice(b, h + 1), g = ["brackets", d, b, h], b = h;
1824
+ } else h = m.indexOf(")", b + 1), d = m.slice(b, h + 1), h === -1 || a.test(d) ? g = ["(", "(", b] : (g = ["brackets", d, b, h], b = h);
1825
+ break;
1826
+ }
1827
+ case 39:
1828
+ case 34: {
1829
+ for (c = t, h = b, w = !1; h < T && (h++, h === T && E("string"), t = m.charCodeAt(h), f = m.charCodeAt(h + 1), !(!w && t === c)); ) t === 92 ? w = !w : w ? w = !1 : t === 35 && f === 123 && W();
1830
+ g = ["string", m.slice(b, h + 1), b, h], b = h;
1831
+ break;
1832
+ }
1833
+ case 64: {
1834
+ i.lastIndex = b + 1, i.test(m), i.lastIndex === 0 ? h = m.length - 1 : h = i.lastIndex - 2, g = ["at-word", m.slice(b, h + 1), b, h], b = h;
1835
+ break;
1836
+ }
1837
+ case 92: {
1838
+ for (h = b, l = !0; m.charCodeAt(h + 1) === 92; ) h += 1, l = !l;
1839
+ if (t = m.charCodeAt(h + 1), l && t !== 47 && t !== 32 && t !== 10 && t !== 9 && t !== 13 && t !== 12 && (h += 1, o.test(m.charAt(h)))) {
1840
+ for (; o.test(m.charAt(h + 1)); ) h += 1;
1841
+ m.charCodeAt(h + 1) === 32 && (h += 1);
1842
+ }
1843
+ g = ["word", m.slice(b, h + 1), b, h], b = h;
1844
+ break;
1845
+ }
1846
+ default:
1847
+ f = m.charCodeAt(b + 1), t === 35 && f === 123 ? (h = b, W(), d = m.slice(b, h + 1), g = ["word", d, b, h], b = h) : t === 47 && f === 42 ? (h = m.indexOf("*/", b + 2) + 1, h === 0 && (n || I ? h = m.length : E("comment")), g = ["comment", m.slice(b, h + 1), b, h], b = h) : t === 47 && f === 47 ? (u.lastIndex = b + 1, u.test(m), u.lastIndex === 0 ? h = m.length - 1 : h = u.lastIndex - 2, d = m.slice(b, h + 1), g = ["comment", d, b, h, "inline"], b = h) : (r.lastIndex = b + 1, r.test(m), r.lastIndex === 0 ? h = m.length - 1 : h = r.lastIndex - 2, g = ["word", m.slice(b, h + 1), b, h], x.push(g), b = h);
1848
+ break;
1849
+ }
1850
+ return b++, g;
1851
+ }
1852
+ function $(M) {
1853
+ k.push(M);
1854
+ }
1855
+ return { back: $, endOfFile: P, nextToken: R, position: A };
1856
+ };
1857
+ }), Es = S((e, s) => {
1858
+ var { Comment: i } = Ot(), r = bt(), a = Ss(), o = As(), u = class extends r {
1859
+ atrule(p) {
1860
+ let y = p[1], m = p;
1861
+ for (; !this.tokenizer.endOfFile(); ) {
1862
+ let n = this.tokenizer.nextToken();
1863
+ if (n[0] === "word" && n[2] === m[3] + 1) y += n[1], m = n;
1864
+ else {
1865
+ this.tokenizer.back(n);
1866
+ break;
1867
+ }
1868
+ }
1869
+ super.atrule(["at-word", y, p[2], m[3]]);
1870
+ }
1871
+ comment(p) {
1872
+ if (p[4] === "inline") {
1873
+ let y = new i();
1874
+ this.init(y, p[2]), y.raws.inline = !0;
1875
+ let m = this.input.fromOffset(p[3]);
1876
+ y.source.end = { column: m.col, line: m.line, offset: p[3] + 1 };
1877
+ let n = p[1].slice(2);
1878
+ if (/^\s*$/.test(n)) y.text = "", y.raws.left = n, y.raws.right = "";
1879
+ else {
1880
+ let t = n.match(/^(\s*)([^]*\S)(\s*)$/), h = t[2].replace(/(\*\/|\/\*)/g, "*//*");
1881
+ y.text = h, y.raws.left = t[1], y.raws.right = t[3], y.raws.text = t[2];
1882
+ }
1883
+ } else super.comment(p);
1884
+ }
1885
+ createTokenizer() {
1886
+ this.tokenizer = o(this.input);
1887
+ }
1888
+ raw(p, y, m, n) {
1889
+ if (super.raw(p, y, m, n), p.raws[y]) {
1890
+ let t = p.raws[y].raw;
1891
+ p.raws[y].raw = m.reduce((h, c) => {
1892
+ if (c[0] === "comment" && c[4] === "inline") {
1893
+ let d = c[1].slice(2).replace(/(\*\/|\/\*)/g, "*//*");
1894
+ return h + "/*" + d + "*/";
1895
+ } else return h + c[1];
1896
+ }, ""), t !== p.raws[y].raw && (p.raws[y].scss = t);
1897
+ }
1898
+ }
1899
+ rule(p) {
1900
+ let y = !1, m = 0, n = "";
1901
+ for (let t of p) if (y) t[0] !== "comment" && t[0] !== "{" && (n += t[1]);
1902
+ else {
1903
+ if (t[0] === "space" && t[1].includes(`
1904
+ `)) break;
1905
+ t[0] === "(" ? m += 1 : t[0] === ")" ? m -= 1 : m === 0 && t[0] === ":" && (y = !0);
1906
+ }
1907
+ if (!y || n.trim() === "" || /^[#:A-Za-z-]/.test(n)) super.rule(p);
1908
+ else {
1909
+ p.pop();
1910
+ let t = new a();
1911
+ this.init(t, p[0][2]);
1912
+ let h;
1913
+ for (let d = p.length - 1; d >= 0; d--) if (p[d][0] !== "space") {
1914
+ h = p[d];
1915
+ break;
1916
+ }
1917
+ if (h[3]) {
1918
+ let d = this.input.fromOffset(h[3]);
1919
+ t.source.end = { column: d.col, line: d.line, offset: h[3] + 1 };
1920
+ } else {
1921
+ let d = this.input.fromOffset(h[2]);
1922
+ t.source.end = { column: d.col, line: d.line, offset: h[2] + 1 };
1923
+ }
1924
+ for (; p[0][0] !== "word"; ) t.raws.before += p.shift()[1];
1925
+ if (p[0][2]) {
1926
+ let d = this.input.fromOffset(p[0][2]);
1927
+ t.source.start = { column: d.col, line: d.line, offset: p[0][2] };
1928
+ }
1929
+ for (t.prop = ""; p.length; ) {
1930
+ let d = p[0][0];
1931
+ if (d === ":" || d === "space" || d === "comment") break;
1932
+ t.prop += p.shift()[1];
1933
+ }
1934
+ t.raws.between = "";
1935
+ let c;
1936
+ for (; p.length; ) if (c = p.shift(), c[0] === ":") {
1937
+ t.raws.between += c[1];
1938
+ break;
1939
+ } else t.raws.between += c[1];
1940
+ (t.prop[0] === "_" || t.prop[0] === "*") && (t.raws.before += t.prop[0], t.prop = t.prop.slice(1)), t.raws.between += this.spacesAndCommentsFromStart(p), this.precheckMissedSemicolon(p);
1941
+ for (let d = p.length - 1; d > 0; d--) {
1942
+ if (c = p[d], c[1] === "!important") {
1943
+ t.important = !0;
1944
+ let l = this.stringFrom(p, d);
1945
+ l = this.spacesFromEnd(p) + l, l !== " !important" && (t.raws.important = l);
1946
+ break;
1947
+ } else if (c[1] === "important") {
1948
+ let l = p.slice(0), w = "";
1949
+ for (let v = d; v > 0; v--) {
1950
+ let f = l[v][0];
1951
+ if (w.trim().indexOf("!") === 0 && f !== "space") break;
1952
+ w = l.pop()[1] + w;
1953
+ }
1954
+ w.trim().indexOf("!") === 0 && (t.important = !0, t.raws.important = w, p = l);
1955
+ }
1956
+ if (c[0] !== "space" && c[0] !== "comment") break;
1957
+ }
1958
+ this.raw(t, "value", p), t.value.includes(":") && this.checkMissedSemicolon(p), this.current = t;
1959
+ }
1960
+ }
1961
+ };
1962
+ s.exports = u;
1963
+ }), js = S((e, s) => {
1964
+ var { Input: i } = Ot(), r = Es();
1965
+ s.exports = function(a, o) {
1966
+ let u = new i(a, o), p = new r(u);
1967
+ return p.parse(), p.root;
1968
+ };
1969
+ }), sr = S((e) => {
1970
+ Object.defineProperty(e, "__esModule", { value: !0 });
1971
+ function s(i) {
1972
+ this.after = i.after, this.before = i.before, this.type = i.type, this.value = i.value, this.sourceIndex = i.sourceIndex;
1973
+ }
1974
+ e.default = s;
1975
+ }), nr = S((e) => {
1976
+ Object.defineProperty(e, "__esModule", { value: !0 });
1977
+ var s = sr(), i = r(s);
1978
+ function r(o) {
1979
+ return o && o.__esModule ? o : { default: o };
1980
+ }
1981
+ function a(o) {
1982
+ var u = this;
1983
+ this.constructor(o), this.nodes = o.nodes, this.after === void 0 && (this.after = this.nodes.length > 0 ? this.nodes[this.nodes.length - 1].after : ""), this.before === void 0 && (this.before = this.nodes.length > 0 ? this.nodes[0].before : ""), this.sourceIndex === void 0 && (this.sourceIndex = this.before.length), this.nodes.forEach(function(p) {
1984
+ p.parent = u;
1985
+ });
1986
+ }
1987
+ a.prototype = Object.create(i.default.prototype), a.constructor = i.default, a.prototype.walk = function(o, u) {
1988
+ for (var p = typeof o == "string" || o instanceof RegExp, y = p ? u : o, m = typeof o == "string" ? new RegExp(o) : o, n = 0; n < this.nodes.length; n++) {
1989
+ var t = this.nodes[n], h = p ? m.test(t.type) : !0;
1990
+ if (h && y && y(t, n, this.nodes) === !1 || t.nodes && t.walk(o, u) === !1) return !1;
1991
+ }
1992
+ return !0;
1993
+ }, a.prototype.each = function() {
1994
+ for (var o = arguments.length <= 0 || arguments[0] === void 0 ? function() {
1995
+ } : arguments[0], u = 0; u < this.nodes.length; u++) {
1996
+ var p = this.nodes[u];
1997
+ if (o(p, u, this.nodes) === !1) return !1;
1998
+ }
1999
+ return !0;
2000
+ }, e.default = a;
2001
+ }), Is = S((e) => {
2002
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.parseMediaFeature = u, e.parseMediaQuery = p, e.parseMediaList = y;
2003
+ var s = sr(), i = o(s), r = nr(), a = o(r);
2004
+ function o(m) {
2005
+ return m && m.__esModule ? m : { default: m };
2006
+ }
2007
+ function u(m) {
2008
+ var n = arguments.length <= 1 || arguments[1] === void 0 ? 0 : arguments[1], t = [{ mode: "normal", character: null }], h = [], c = 0, d = "", l = null, w = null, v = n, f = m;
2009
+ m[0] === "(" && m[m.length - 1] === ")" && (f = m.substring(1, m.length - 1), v++);
2010
+ for (var g = 0; g < f.length; g++) {
2011
+ var T = f[g];
2012
+ if ((T === "'" || T === '"') && (t[c].isCalculationEnabled === !0 ? (t.push({ mode: "string", isCalculationEnabled: !1, character: T }), c++) : t[c].mode === "string" && t[c].character === T && f[g - 1] !== "\\" && (t.pop(), c--)), T === "{" ? (t.push({ mode: "interpolation", isCalculationEnabled: !0 }), c++) : T === "}" && (t.pop(), c--), t[c].mode === "normal" && T === ":") {
2013
+ var b = f.substring(g + 1);
2014
+ w = { type: "value", before: /^(\s*)/.exec(b)[1], after: /(\s*)$/.exec(b)[1], value: b.trim() }, w.sourceIndex = w.before.length + g + 1 + v, l = { type: "colon", sourceIndex: g + v, after: w.before, value: ":" };
2015
+ break;
2016
+ }
2017
+ d += T;
2018
+ }
2019
+ return d = { type: "media-feature", before: /^(\s*)/.exec(d)[1], after: /(\s*)$/.exec(d)[1], value: d.trim() }, d.sourceIndex = d.before.length + v, h.push(d), l !== null && (l.before = d.after, h.push(l)), w !== null && h.push(w), h;
2020
+ }
2021
+ function p(m) {
2022
+ var n = arguments.length <= 1 || arguments[1] === void 0 ? 0 : arguments[1], t = [], h = 0, c = !1, d = void 0;
2023
+ function l() {
2024
+ return { before: "", after: "", value: "" };
2025
+ }
2026
+ d = l();
2027
+ for (var w = 0; w < m.length; w++) {
2028
+ var v = m[w];
2029
+ c ? (d.value += v, (v === "{" || v === "(") && h++, (v === ")" || v === "}") && h--) : v.search(/\s/) !== -1 ? d.before += v : (v === "(" && (d.type = "media-feature-expression", h++), d.value = v, d.sourceIndex = n + w, c = !0), c && h === 0 && (v === ")" || w === m.length - 1 || m[w + 1].search(/\s/) !== -1) && (["not", "only", "and"].indexOf(d.value) !== -1 && (d.type = "keyword"), d.type === "media-feature-expression" && (d.nodes = u(d.value, d.sourceIndex)), t.push(Array.isArray(d.nodes) ? new a.default(d) : new i.default(d)), d = l(), c = !1);
2030
+ }
2031
+ for (var f = 0; f < t.length; f++) if (d = t[f], f > 0 && (t[f - 1].after = d.before), d.type === void 0) {
2032
+ if (f > 0) {
2033
+ if (t[f - 1].type === "media-feature-expression") {
2034
+ d.type = "keyword";
2035
+ continue;
2036
+ }
2037
+ if (t[f - 1].value === "not" || t[f - 1].value === "only") {
2038
+ d.type = "media-type";
2039
+ continue;
2040
+ }
2041
+ if (t[f - 1].value === "and") {
2042
+ d.type = "media-feature-expression";
2043
+ continue;
2044
+ }
2045
+ t[f - 1].type === "media-type" && (t[f + 1] ? d.type = t[f + 1].type === "media-feature-expression" ? "keyword" : "media-feature-expression" : d.type = "media-feature-expression");
2046
+ }
2047
+ if (f === 0) {
2048
+ if (!t[f + 1]) {
2049
+ d.type = "media-type";
2050
+ continue;
2051
+ }
2052
+ if (t[f + 1] && (t[f + 1].type === "media-feature-expression" || t[f + 1].type === "keyword")) {
2053
+ d.type = "media-type";
2054
+ continue;
2055
+ }
2056
+ if (t[f + 2]) {
2057
+ if (t[f + 2].type === "media-feature-expression") {
2058
+ d.type = "media-type", t[f + 1].type = "keyword";
2059
+ continue;
2060
+ }
2061
+ if (t[f + 2].type === "keyword") {
2062
+ d.type = "keyword", t[f + 1].type = "media-type";
2063
+ continue;
2064
+ }
2065
+ }
2066
+ if (t[f + 3] && t[f + 3].type === "media-feature-expression") {
2067
+ d.type = "keyword", t[f + 1].type = "media-type", t[f + 2].type = "keyword";
2068
+ continue;
2069
+ }
2070
+ }
2071
+ }
2072
+ return t;
2073
+ }
2074
+ function y(m) {
2075
+ var n = [], t = 0, h = 0, c = /^(\s*)url\s*\(/.exec(m);
2076
+ if (c !== null) {
2077
+ for (var d = c[0].length, l = 1; l > 0; ) {
2078
+ var w = m[d];
2079
+ w === "(" && l++, w === ")" && l--, d++;
2080
+ }
2081
+ n.unshift(new i.default({ type: "url", value: m.substring(0, d).trim(), sourceIndex: c[1].length, before: c[1], after: /^(\s*)/.exec(m.substring(d))[1] })), t = d;
2082
+ }
2083
+ for (var v = t; v < m.length; v++) {
2084
+ var f = m[v];
2085
+ if (f === "(" && h++, f === ")" && h--, h === 0 && f === ",") {
2086
+ var g = m.substring(t, v), T = /^(\s*)/.exec(g)[1];
2087
+ n.push(new a.default({ type: "media-query", value: g.trim(), sourceIndex: t + T.length, nodes: p(g, t), before: T, after: /(\s*)$/.exec(g)[1] })), t = v + 1;
2088
+ }
2089
+ }
2090
+ var b = m.substring(t), x = /^(\s*)/.exec(b)[1];
2091
+ return n.push(new a.default({ type: "media-query", value: b.trim(), sourceIndex: t + x.length, nodes: p(b, t), before: x, after: /(\s*)$/.exec(b)[1] })), n;
2092
+ }
2093
+ }), Ps = S((e) => {
2094
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.default = o;
2095
+ var s = nr(), i = a(s), r = Is();
2096
+ function a(u) {
2097
+ return u && u.__esModule ? u : { default: u };
2098
+ }
2099
+ function o(u) {
2100
+ return new i.default({ nodes: (0, r.parseMediaList)(u), type: "media-query-list", value: u.trim() });
2101
+ }
2102
+ }), or = S((e, s) => {
2103
+ s.exports = function(i, r) {
2104
+ if (r = typeof r == "number" ? r : 1 / 0, !r) return Array.isArray(i) ? i.map(function(o) {
2105
+ return o;
2106
+ }) : i;
2107
+ return a(i, 1);
2108
+ function a(o, u) {
2109
+ return o.reduce(function(p, y) {
2110
+ return Array.isArray(y) && u < r ? p.concat(a(y, u + 1)) : p.concat(y);
2111
+ }, []);
2112
+ }
2113
+ };
2114
+ }), ir = S((e, s) => {
2115
+ s.exports = function(i, r) {
2116
+ for (var a = -1, o = []; (a = i.indexOf(r, a + 1)) !== -1; ) o.push(a);
2117
+ return o;
2118
+ };
2119
+ }), ar = S((e, s) => {
2120
+ function i(o, u) {
2121
+ for (var p = 1, y = o.length, m = o[0], n = o[0], t = 1; t < y; ++t) if (n = m, m = o[t], u(m, n)) {
2122
+ if (t === p) {
2123
+ p++;
2124
+ continue;
2125
+ }
2126
+ o[p++] = m;
2127
+ }
2128
+ return o.length = p, o;
2129
+ }
2130
+ function r(o) {
2131
+ for (var u = 1, p = o.length, y = o[0], m = o[0], n = 1; n < p; ++n, m = y) if (m = y, y = o[n], y !== m) {
2132
+ if (n === u) {
2133
+ u++;
2134
+ continue;
2135
+ }
2136
+ o[u++] = y;
2137
+ }
2138
+ return o.length = u, o;
2139
+ }
2140
+ function a(o, u, p) {
2141
+ return o.length === 0 ? o : u ? (p || o.sort(u), i(o, u)) : (p || o.sort(), r(o));
2142
+ }
2143
+ s.exports = a;
2144
+ }), ye = S((e, s) => {
2145
+ e.__esModule = !0;
2146
+ var i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(u) {
2147
+ return typeof u;
2148
+ } : function(u) {
2149
+ return u && typeof Symbol == "function" && u.constructor === Symbol && u !== Symbol.prototype ? "symbol" : typeof u;
2150
+ };
2151
+ function r(u, p) {
2152
+ if (!(u instanceof p)) throw new TypeError("Cannot call a class as a function");
2153
+ }
2154
+ var a = function u(p, y) {
2155
+ if ((typeof p > "u" ? "undefined" : i(p)) !== "object") return p;
2156
+ var m = new p.constructor();
2157
+ for (var n in p) if (p.hasOwnProperty(n)) {
2158
+ var t = p[n], h = typeof t > "u" ? "undefined" : i(t);
2159
+ n === "parent" && h === "object" ? y && (m[n] = y) : t instanceof Array ? m[n] = t.map(function(c) {
2160
+ return u(c, m);
2161
+ }) : m[n] = u(t, m);
2162
+ }
2163
+ return m;
2164
+ }, o = (function() {
2165
+ function u() {
2166
+ var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2167
+ r(this, u);
2168
+ for (var y in p) this[y] = p[y];
2169
+ var m = p.spaces;
2170
+ m = m === void 0 ? {} : m;
2171
+ var n = m.before, t = n === void 0 ? "" : n, h = m.after, c = h === void 0 ? "" : h;
2172
+ this.spaces = { before: t, after: c };
2173
+ }
2174
+ return u.prototype.remove = function() {
2175
+ return this.parent && this.parent.removeChild(this), this.parent = void 0, this;
2176
+ }, u.prototype.replaceWith = function() {
2177
+ if (this.parent) {
2178
+ for (var p in arguments) this.parent.insertBefore(this, arguments[p]);
2179
+ this.remove();
2180
+ }
2181
+ return this;
2182
+ }, u.prototype.next = function() {
2183
+ return this.parent.at(this.parent.index(this) + 1);
2184
+ }, u.prototype.prev = function() {
2185
+ return this.parent.at(this.parent.index(this) - 1);
2186
+ }, u.prototype.clone = function() {
2187
+ var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, y = a(this);
2188
+ for (var m in p) y[m] = p[m];
2189
+ return y;
2190
+ }, u.prototype.toString = function() {
2191
+ return [this.spaces.before, String(this.value), this.spaces.after].join("");
2192
+ }, u;
2193
+ })();
2194
+ e.default = o, s.exports = e.default;
2195
+ }), G = S((e) => {
2196
+ e.__esModule = !0, e.TAG = "tag", e.STRING = "string", e.SELECTOR = "selector", e.ROOT = "root", e.PSEUDO = "pseudo", e.NESTING = "nesting", e.ID = "id", e.COMMENT = "comment", e.COMBINATOR = "combinator", e.CLASS = "class", e.ATTRIBUTE = "attribute", e.UNIVERSAL = "universal";
2197
+ }), Tt = S((e, s) => {
2198
+ e.__esModule = !0;
2199
+ var i = /* @__PURE__ */ (function() {
2200
+ function c(d, l) {
2201
+ for (var w = 0; w < l.length; w++) {
2202
+ var v = l[w];
2203
+ v.enumerable = v.enumerable || !1, v.configurable = !0, "value" in v && (v.writable = !0), Object.defineProperty(d, v.key, v);
2204
+ }
2205
+ }
2206
+ return function(d, l, w) {
2207
+ return l && c(d.prototype, l), w && c(d, w), d;
2208
+ };
2209
+ })(), r = ye(), a = y(r), o = G(), u = p(o);
2210
+ function p(c) {
2211
+ if (c && c.__esModule) return c;
2212
+ var d = {};
2213
+ if (c != null) for (var l in c) Object.prototype.hasOwnProperty.call(c, l) && (d[l] = c[l]);
2214
+ return d.default = c, d;
2215
+ }
2216
+ function y(c) {
2217
+ return c && c.__esModule ? c : { default: c };
2218
+ }
2219
+ function m(c, d) {
2220
+ if (!(c instanceof d)) throw new TypeError("Cannot call a class as a function");
2221
+ }
2222
+ function n(c, d) {
2223
+ if (!c) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2224
+ return d && (typeof d == "object" || typeof d == "function") ? d : c;
2225
+ }
2226
+ function t(c, d) {
2227
+ if (typeof d != "function" && d !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof d);
2228
+ c.prototype = Object.create(d && d.prototype, { constructor: { value: c, enumerable: !1, writable: !0, configurable: !0 } }), d && (Object.setPrototypeOf ? Object.setPrototypeOf(c, d) : c.__proto__ = d);
2229
+ }
2230
+ var h = (function(c) {
2231
+ t(d, c);
2232
+ function d(l) {
2233
+ m(this, d);
2234
+ var w = n(this, c.call(this, l));
2235
+ return w.nodes || (w.nodes = []), w;
2236
+ }
2237
+ return d.prototype.append = function(l) {
2238
+ return l.parent = this, this.nodes.push(l), this;
2239
+ }, d.prototype.prepend = function(l) {
2240
+ return l.parent = this, this.nodes.unshift(l), this;
2241
+ }, d.prototype.at = function(l) {
2242
+ return this.nodes[l];
2243
+ }, d.prototype.index = function(l) {
2244
+ return typeof l == "number" ? l : this.nodes.indexOf(l);
2245
+ }, d.prototype.removeChild = function(l) {
2246
+ l = this.index(l), this.at(l).parent = void 0, this.nodes.splice(l, 1);
2247
+ var w = void 0;
2248
+ for (var v in this.indexes) w = this.indexes[v], w >= l && (this.indexes[v] = w - 1);
2249
+ return this;
2250
+ }, d.prototype.removeAll = function() {
2251
+ for (var v = this.nodes, l = Array.isArray(v), w = 0, v = l ? v : v[Symbol.iterator](); ; ) {
2252
+ var f;
2253
+ if (l) {
2254
+ if (w >= v.length) break;
2255
+ f = v[w++];
2256
+ } else {
2257
+ if (w = v.next(), w.done) break;
2258
+ f = w.value;
2259
+ }
2260
+ var g = f;
2261
+ g.parent = void 0;
2262
+ }
2263
+ return this.nodes = [], this;
2264
+ }, d.prototype.empty = function() {
2265
+ return this.removeAll();
2266
+ }, d.prototype.insertAfter = function(l, w) {
2267
+ var v = this.index(l);
2268
+ this.nodes.splice(v + 1, 0, w);
2269
+ var f = void 0;
2270
+ for (var g in this.indexes) f = this.indexes[g], v <= f && (this.indexes[g] = f + this.nodes.length);
2271
+ return this;
2272
+ }, d.prototype.insertBefore = function(l, w) {
2273
+ var v = this.index(l);
2274
+ this.nodes.splice(v, 0, w);
2275
+ var f = void 0;
2276
+ for (var g in this.indexes) f = this.indexes[g], v <= f && (this.indexes[g] = f + this.nodes.length);
2277
+ return this;
2278
+ }, d.prototype.each = function(l) {
2279
+ this.lastEach || (this.lastEach = 0), this.indexes || (this.indexes = {}), this.lastEach++;
2280
+ var w = this.lastEach;
2281
+ if (this.indexes[w] = 0, !!this.length) {
2282
+ for (var v = void 0, f = void 0; this.indexes[w] < this.length && (v = this.indexes[w], f = l(this.at(v), v), f !== !1); ) this.indexes[w] += 1;
2283
+ if (delete this.indexes[w], f === !1) return !1;
2284
+ }
2285
+ }, d.prototype.walk = function(l) {
2286
+ return this.each(function(w, v) {
2287
+ var f = l(w, v);
2288
+ if (f !== !1 && w.length && (f = w.walk(l)), f === !1) return !1;
2289
+ });
2290
+ }, d.prototype.walkAttributes = function(l) {
2291
+ var w = this;
2292
+ return this.walk(function(v) {
2293
+ if (v.type === u.ATTRIBUTE) return l.call(w, v);
2294
+ });
2295
+ }, d.prototype.walkClasses = function(l) {
2296
+ var w = this;
2297
+ return this.walk(function(v) {
2298
+ if (v.type === u.CLASS) return l.call(w, v);
2299
+ });
2300
+ }, d.prototype.walkCombinators = function(l) {
2301
+ var w = this;
2302
+ return this.walk(function(v) {
2303
+ if (v.type === u.COMBINATOR) return l.call(w, v);
2304
+ });
2305
+ }, d.prototype.walkComments = function(l) {
2306
+ var w = this;
2307
+ return this.walk(function(v) {
2308
+ if (v.type === u.COMMENT) return l.call(w, v);
2309
+ });
2310
+ }, d.prototype.walkIds = function(l) {
2311
+ var w = this;
2312
+ return this.walk(function(v) {
2313
+ if (v.type === u.ID) return l.call(w, v);
2314
+ });
2315
+ }, d.prototype.walkNesting = function(l) {
2316
+ var w = this;
2317
+ return this.walk(function(v) {
2318
+ if (v.type === u.NESTING) return l.call(w, v);
2319
+ });
2320
+ }, d.prototype.walkPseudos = function(l) {
2321
+ var w = this;
2322
+ return this.walk(function(v) {
2323
+ if (v.type === u.PSEUDO) return l.call(w, v);
2324
+ });
2325
+ }, d.prototype.walkTags = function(l) {
2326
+ var w = this;
2327
+ return this.walk(function(v) {
2328
+ if (v.type === u.TAG) return l.call(w, v);
2329
+ });
2330
+ }, d.prototype.walkUniversals = function(l) {
2331
+ var w = this;
2332
+ return this.walk(function(v) {
2333
+ if (v.type === u.UNIVERSAL) return l.call(w, v);
2334
+ });
2335
+ }, d.prototype.split = function(l) {
2336
+ var w = this, v = [];
2337
+ return this.reduce(function(f, g, T) {
2338
+ var b = l.call(w, g);
2339
+ return v.push(g), b ? (f.push(v), v = []) : T === w.length - 1 && f.push(v), f;
2340
+ }, []);
2341
+ }, d.prototype.map = function(l) {
2342
+ return this.nodes.map(l);
2343
+ }, d.prototype.reduce = function(l, w) {
2344
+ return this.nodes.reduce(l, w);
2345
+ }, d.prototype.every = function(l) {
2346
+ return this.nodes.every(l);
2347
+ }, d.prototype.some = function(l) {
2348
+ return this.nodes.some(l);
2349
+ }, d.prototype.filter = function(l) {
2350
+ return this.nodes.filter(l);
2351
+ }, d.prototype.sort = function(l) {
2352
+ return this.nodes.sort(l);
2353
+ }, d.prototype.toString = function() {
2354
+ return this.map(String).join("");
2355
+ }, i(d, [{ key: "first", get: function() {
2356
+ return this.at(0);
2357
+ } }, { key: "last", get: function() {
2358
+ return this.at(this.length - 1);
2359
+ } }, { key: "length", get: function() {
2360
+ return this.nodes.length;
2361
+ } }]), d;
2362
+ })(a.default);
2363
+ e.default = h, s.exports = e.default;
2364
+ }), Ms = S((e, s) => {
2365
+ e.__esModule = !0;
2366
+ var i = Tt(), r = o(i), a = G();
2367
+ function o(n) {
2368
+ return n && n.__esModule ? n : { default: n };
2369
+ }
2370
+ function u(n, t) {
2371
+ if (!(n instanceof t)) throw new TypeError("Cannot call a class as a function");
2372
+ }
2373
+ function p(n, t) {
2374
+ if (!n) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2375
+ return t && (typeof t == "object" || typeof t == "function") ? t : n;
2376
+ }
2377
+ function y(n, t) {
2378
+ if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2379
+ n.prototype = Object.create(t && t.prototype, { constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(n, t) : n.__proto__ = t);
2380
+ }
2381
+ var m = (function(n) {
2382
+ y(t, n);
2383
+ function t(h) {
2384
+ u(this, t);
2385
+ var c = p(this, n.call(this, h));
2386
+ return c.type = a.ROOT, c;
2387
+ }
2388
+ return t.prototype.toString = function() {
2389
+ var h = this.reduce(function(c, d) {
2390
+ var l = String(d);
2391
+ return l ? c + l + "," : "";
2392
+ }, "").slice(0, -1);
2393
+ return this.trailingComma ? h + "," : h;
2394
+ }, t;
2395
+ })(r.default);
2396
+ e.default = m, s.exports = e.default;
2397
+ }), $s = S((e, s) => {
2398
+ e.__esModule = !0;
2399
+ var i = Tt(), r = o(i), a = G();
2400
+ function o(n) {
2401
+ return n && n.__esModule ? n : { default: n };
2402
+ }
2403
+ function u(n, t) {
2404
+ if (!(n instanceof t)) throw new TypeError("Cannot call a class as a function");
2405
+ }
2406
+ function p(n, t) {
2407
+ if (!n) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2408
+ return t && (typeof t == "object" || typeof t == "function") ? t : n;
2409
+ }
2410
+ function y(n, t) {
2411
+ if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2412
+ n.prototype = Object.create(t && t.prototype, { constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(n, t) : n.__proto__ = t);
2413
+ }
2414
+ var m = (function(n) {
2415
+ y(t, n);
2416
+ function t(h) {
2417
+ u(this, t);
2418
+ var c = p(this, n.call(this, h));
2419
+ return c.type = a.SELECTOR, c;
2420
+ }
2421
+ return t;
2422
+ })(r.default);
2423
+ e.default = m, s.exports = e.default;
2424
+ }), Pe = S((e, s) => {
2425
+ e.__esModule = !0;
2426
+ var i = /* @__PURE__ */ (function() {
2427
+ function n(t, h) {
2428
+ for (var c = 0; c < h.length; c++) {
2429
+ var d = h[c];
2430
+ d.enumerable = d.enumerable || !1, d.configurable = !0, "value" in d && (d.writable = !0), Object.defineProperty(t, d.key, d);
2431
+ }
2432
+ }
2433
+ return function(t, h, c) {
2434
+ return h && n(t.prototype, h), c && n(t, c), t;
2435
+ };
2436
+ })(), r = ye(), a = o(r);
2437
+ function o(n) {
2438
+ return n && n.__esModule ? n : { default: n };
2439
+ }
2440
+ function u(n, t) {
2441
+ if (!(n instanceof t)) throw new TypeError("Cannot call a class as a function");
2442
+ }
2443
+ function p(n, t) {
2444
+ if (!n) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2445
+ return t && (typeof t == "object" || typeof t == "function") ? t : n;
2446
+ }
2447
+ function y(n, t) {
2448
+ if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2449
+ n.prototype = Object.create(t && t.prototype, { constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(n, t) : n.__proto__ = t);
2450
+ }
2451
+ var m = (function(n) {
2452
+ y(t, n);
2453
+ function t() {
2454
+ return u(this, t), p(this, n.apply(this, arguments));
2455
+ }
2456
+ return t.prototype.toString = function() {
2457
+ return [this.spaces.before, this.ns, String(this.value), this.spaces.after].join("");
2458
+ }, i(t, [{ key: "ns", get: function() {
2459
+ var h = this.namespace;
2460
+ return h ? (typeof h == "string" ? h : "") + "|" : "";
2461
+ } }]), t;
2462
+ })(a.default);
2463
+ e.default = m, s.exports = e.default;
2464
+ }), Rs = S((e, s) => {
2465
+ e.__esModule = !0;
2466
+ var i = Pe(), r = o(i), a = G();
2467
+ function o(n) {
2468
+ return n && n.__esModule ? n : { default: n };
2469
+ }
2470
+ function u(n, t) {
2471
+ if (!(n instanceof t)) throw new TypeError("Cannot call a class as a function");
2472
+ }
2473
+ function p(n, t) {
2474
+ if (!n) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2475
+ return t && (typeof t == "object" || typeof t == "function") ? t : n;
2476
+ }
2477
+ function y(n, t) {
2478
+ if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2479
+ n.prototype = Object.create(t && t.prototype, { constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(n, t) : n.__proto__ = t);
2480
+ }
2481
+ var m = (function(n) {
2482
+ y(t, n);
2483
+ function t(h) {
2484
+ u(this, t);
2485
+ var c = p(this, n.call(this, h));
2486
+ return c.type = a.CLASS, c;
2487
+ }
2488
+ return t.prototype.toString = function() {
2489
+ return [this.spaces.before, this.ns, "." + this.value, this.spaces.after].join("");
2490
+ }, t;
2491
+ })(r.default);
2492
+ e.default = m, s.exports = e.default;
2493
+ }), Ns = S((e, s) => {
2494
+ e.__esModule = !0;
2495
+ var i = ye(), r = o(i), a = G();
2496
+ function o(n) {
2497
+ return n && n.__esModule ? n : { default: n };
2498
+ }
2499
+ function u(n, t) {
2500
+ if (!(n instanceof t)) throw new TypeError("Cannot call a class as a function");
2501
+ }
2502
+ function p(n, t) {
2503
+ if (!n) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2504
+ return t && (typeof t == "object" || typeof t == "function") ? t : n;
2505
+ }
2506
+ function y(n, t) {
2507
+ if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2508
+ n.prototype = Object.create(t && t.prototype, { constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(n, t) : n.__proto__ = t);
2509
+ }
2510
+ var m = (function(n) {
2511
+ y(t, n);
2512
+ function t(h) {
2513
+ u(this, t);
2514
+ var c = p(this, n.call(this, h));
2515
+ return c.type = a.COMMENT, c;
2516
+ }
2517
+ return t;
2518
+ })(r.default);
2519
+ e.default = m, s.exports = e.default;
2520
+ }), Ls = S((e, s) => {
2521
+ e.__esModule = !0;
2522
+ var i = Pe(), r = o(i), a = G();
2523
+ function o(n) {
2524
+ return n && n.__esModule ? n : { default: n };
2525
+ }
2526
+ function u(n, t) {
2527
+ if (!(n instanceof t)) throw new TypeError("Cannot call a class as a function");
2528
+ }
2529
+ function p(n, t) {
2530
+ if (!n) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2531
+ return t && (typeof t == "object" || typeof t == "function") ? t : n;
2532
+ }
2533
+ function y(n, t) {
2534
+ if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2535
+ n.prototype = Object.create(t && t.prototype, { constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(n, t) : n.__proto__ = t);
2536
+ }
2537
+ var m = (function(n) {
2538
+ y(t, n);
2539
+ function t(h) {
2540
+ u(this, t);
2541
+ var c = p(this, n.call(this, h));
2542
+ return c.type = a.ID, c;
2543
+ }
2544
+ return t.prototype.toString = function() {
2545
+ return [this.spaces.before, this.ns, "#" + this.value, this.spaces.after].join("");
2546
+ }, t;
2547
+ })(r.default);
2548
+ e.default = m, s.exports = e.default;
2549
+ }), Ws = S((e, s) => {
2550
+ e.__esModule = !0;
2551
+ var i = Pe(), r = o(i), a = G();
2552
+ function o(n) {
2553
+ return n && n.__esModule ? n : { default: n };
2554
+ }
2555
+ function u(n, t) {
2556
+ if (!(n instanceof t)) throw new TypeError("Cannot call a class as a function");
2557
+ }
2558
+ function p(n, t) {
2559
+ if (!n) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2560
+ return t && (typeof t == "object" || typeof t == "function") ? t : n;
2561
+ }
2562
+ function y(n, t) {
2563
+ if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2564
+ n.prototype = Object.create(t && t.prototype, { constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(n, t) : n.__proto__ = t);
2565
+ }
2566
+ var m = (function(n) {
2567
+ y(t, n);
2568
+ function t(h) {
2569
+ u(this, t);
2570
+ var c = p(this, n.call(this, h));
2571
+ return c.type = a.TAG, c;
2572
+ }
2573
+ return t;
2574
+ })(r.default);
2575
+ e.default = m, s.exports = e.default;
2576
+ }), zs = S((e, s) => {
2577
+ e.__esModule = !0;
2578
+ var i = ye(), r = o(i), a = G();
2579
+ function o(n) {
2580
+ return n && n.__esModule ? n : { default: n };
2581
+ }
2582
+ function u(n, t) {
2583
+ if (!(n instanceof t)) throw new TypeError("Cannot call a class as a function");
2584
+ }
2585
+ function p(n, t) {
2586
+ if (!n) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2587
+ return t && (typeof t == "object" || typeof t == "function") ? t : n;
2588
+ }
2589
+ function y(n, t) {
2590
+ if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2591
+ n.prototype = Object.create(t && t.prototype, { constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(n, t) : n.__proto__ = t);
2592
+ }
2593
+ var m = (function(n) {
2594
+ y(t, n);
2595
+ function t(h) {
2596
+ u(this, t);
2597
+ var c = p(this, n.call(this, h));
2598
+ return c.type = a.STRING, c;
2599
+ }
2600
+ return t;
2601
+ })(r.default);
2602
+ e.default = m, s.exports = e.default;
2603
+ }), Bs = S((e, s) => {
2604
+ e.__esModule = !0;
2605
+ var i = Tt(), r = o(i), a = G();
2606
+ function o(n) {
2607
+ return n && n.__esModule ? n : { default: n };
2608
+ }
2609
+ function u(n, t) {
2610
+ if (!(n instanceof t)) throw new TypeError("Cannot call a class as a function");
2611
+ }
2612
+ function p(n, t) {
2613
+ if (!n) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2614
+ return t && (typeof t == "object" || typeof t == "function") ? t : n;
2615
+ }
2616
+ function y(n, t) {
2617
+ if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2618
+ n.prototype = Object.create(t && t.prototype, { constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(n, t) : n.__proto__ = t);
2619
+ }
2620
+ var m = (function(n) {
2621
+ y(t, n);
2622
+ function t(h) {
2623
+ u(this, t);
2624
+ var c = p(this, n.call(this, h));
2625
+ return c.type = a.PSEUDO, c;
2626
+ }
2627
+ return t.prototype.toString = function() {
2628
+ var h = this.length ? "(" + this.map(String).join(",") + ")" : "";
2629
+ return [this.spaces.before, String(this.value), h, this.spaces.after].join("");
2630
+ }, t;
2631
+ })(r.default);
2632
+ e.default = m, s.exports = e.default;
2633
+ }), qs = S((e, s) => {
2634
+ e.__esModule = !0;
2635
+ var i = Pe(), r = o(i), a = G();
2636
+ function o(n) {
2637
+ return n && n.__esModule ? n : { default: n };
2638
+ }
2639
+ function u(n, t) {
2640
+ if (!(n instanceof t)) throw new TypeError("Cannot call a class as a function");
2641
+ }
2642
+ function p(n, t) {
2643
+ if (!n) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2644
+ return t && (typeof t == "object" || typeof t == "function") ? t : n;
2645
+ }
2646
+ function y(n, t) {
2647
+ if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2648
+ n.prototype = Object.create(t && t.prototype, { constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(n, t) : n.__proto__ = t);
2649
+ }
2650
+ var m = (function(n) {
2651
+ y(t, n);
2652
+ function t(h) {
2653
+ u(this, t);
2654
+ var c = p(this, n.call(this, h));
2655
+ return c.type = a.ATTRIBUTE, c.raws = {}, c;
2656
+ }
2657
+ return t.prototype.toString = function() {
2658
+ var h = [this.spaces.before, "[", this.ns, this.attribute];
2659
+ return this.operator && h.push(this.operator), this.value && h.push(this.value), this.raws.insensitive ? h.push(this.raws.insensitive) : this.insensitive && h.push(" i"), h.push("]"), h.concat(this.spaces.after).join("");
2660
+ }, t;
2661
+ })(r.default);
2662
+ e.default = m, s.exports = e.default;
2663
+ }), Ds = S((e, s) => {
2664
+ e.__esModule = !0;
2665
+ var i = Pe(), r = o(i), a = G();
2666
+ function o(n) {
2667
+ return n && n.__esModule ? n : { default: n };
2668
+ }
2669
+ function u(n, t) {
2670
+ if (!(n instanceof t)) throw new TypeError("Cannot call a class as a function");
2671
+ }
2672
+ function p(n, t) {
2673
+ if (!n) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2674
+ return t && (typeof t == "object" || typeof t == "function") ? t : n;
2675
+ }
2676
+ function y(n, t) {
2677
+ if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2678
+ n.prototype = Object.create(t && t.prototype, { constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(n, t) : n.__proto__ = t);
2679
+ }
2680
+ var m = (function(n) {
2681
+ y(t, n);
2682
+ function t(h) {
2683
+ u(this, t);
2684
+ var c = p(this, n.call(this, h));
2685
+ return c.type = a.UNIVERSAL, c.value = "*", c;
2686
+ }
2687
+ return t;
2688
+ })(r.default);
2689
+ e.default = m, s.exports = e.default;
2690
+ }), Fs = S((e, s) => {
2691
+ e.__esModule = !0;
2692
+ var i = ye(), r = o(i), a = G();
2693
+ function o(n) {
2694
+ return n && n.__esModule ? n : { default: n };
2695
+ }
2696
+ function u(n, t) {
2697
+ if (!(n instanceof t)) throw new TypeError("Cannot call a class as a function");
2698
+ }
2699
+ function p(n, t) {
2700
+ if (!n) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2701
+ return t && (typeof t == "object" || typeof t == "function") ? t : n;
2702
+ }
2703
+ function y(n, t) {
2704
+ if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2705
+ n.prototype = Object.create(t && t.prototype, { constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(n, t) : n.__proto__ = t);
2706
+ }
2707
+ var m = (function(n) {
2708
+ y(t, n);
2709
+ function t(h) {
2710
+ u(this, t);
2711
+ var c = p(this, n.call(this, h));
2712
+ return c.type = a.COMBINATOR, c;
2713
+ }
2714
+ return t;
2715
+ })(r.default);
2716
+ e.default = m, s.exports = e.default;
2717
+ }), Us = S((e, s) => {
2718
+ e.__esModule = !0;
2719
+ var i = ye(), r = o(i), a = G();
2720
+ function o(n) {
2721
+ return n && n.__esModule ? n : { default: n };
2722
+ }
2723
+ function u(n, t) {
2724
+ if (!(n instanceof t)) throw new TypeError("Cannot call a class as a function");
2725
+ }
2726
+ function p(n, t) {
2727
+ if (!n) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2728
+ return t && (typeof t == "object" || typeof t == "function") ? t : n;
2729
+ }
2730
+ function y(n, t) {
2731
+ if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2732
+ n.prototype = Object.create(t && t.prototype, { constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(n, t) : n.__proto__ = t);
2733
+ }
2734
+ var m = (function(n) {
2735
+ y(t, n);
2736
+ function t(h) {
2737
+ u(this, t);
2738
+ var c = p(this, n.call(this, h));
2739
+ return c.type = a.NESTING, c.value = "&", c;
2740
+ }
2741
+ return t;
2742
+ })(r.default);
2743
+ e.default = m, s.exports = e.default;
2744
+ }), Vs = S((e, s) => {
2745
+ e.__esModule = !0, e.default = i;
2746
+ function i(r) {
2747
+ return r.sort(function(a, o) {
2748
+ return a - o;
2749
+ });
2750
+ }
2751
+ s.exports = e.default;
2752
+ }), Gs = S((e, s) => {
2753
+ e.__esModule = !0, e.default = P;
2754
+ var i = 39, r = 34, a = 92, o = 47, u = 10, p = 32, y = 12, m = 9, n = 13, t = 43, h = 62, c = 126, d = 124, l = 44, w = 40, v = 41, f = 91, g = 93, T = 59, b = 42, x = 58, k = 38, O = 64, A = /[ \n\t\r\{\(\)'"\\;/]/g, E = /[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;
2755
+ function P(W) {
2756
+ for (var R = [], $ = W.css.valueOf(), M = void 0, I = void 0, U = void 0, Fe = void 0, xe = void 0, ke = void 0, Oe = void 0, Te = void 0, _e = void 0, B = void 0, Ue = void 0, Gt = $.length, j = -1, _ = 1, C = 0, L = function(z, q) {
2757
+ if (W.safe) $ += q, I = $.length - 1;
2758
+ else throw W.error("Unclosed " + z, _, C - j, C);
2759
+ }; C < Gt; ) {
2760
+ switch (M = $.charCodeAt(C), M === u && (j = C, _ += 1), M) {
2761
+ case u:
2762
+ case p:
2763
+ case m:
2764
+ case n:
2765
+ case y:
2766
+ I = C;
2767
+ do
2768
+ I += 1, M = $.charCodeAt(I), M === u && (j = I, _ += 1);
2769
+ while (M === p || M === u || M === m || M === n || M === y);
2770
+ R.push(["space", $.slice(C, I), _, C - j, C]), C = I - 1;
2771
+ break;
2772
+ case t:
2773
+ case h:
2774
+ case c:
2775
+ case d:
2776
+ I = C;
2777
+ do
2778
+ I += 1, M = $.charCodeAt(I);
2779
+ while (M === t || M === h || M === c || M === d);
2780
+ R.push(["combinator", $.slice(C, I), _, C - j, C]), C = I - 1;
2781
+ break;
2782
+ case b:
2783
+ R.push(["*", "*", _, C - j, C]);
2784
+ break;
2785
+ case k:
2786
+ R.push(["&", "&", _, C - j, C]);
2787
+ break;
2788
+ case l:
2789
+ R.push([",", ",", _, C - j, C]);
2790
+ break;
2791
+ case f:
2792
+ R.push(["[", "[", _, C - j, C]);
2793
+ break;
2794
+ case g:
2795
+ R.push(["]", "]", _, C - j, C]);
2796
+ break;
2797
+ case x:
2798
+ R.push([":", ":", _, C - j, C]);
2799
+ break;
2800
+ case T:
2801
+ R.push([";", ";", _, C - j, C]);
2802
+ break;
2803
+ case w:
2804
+ R.push(["(", "(", _, C - j, C]);
2805
+ break;
2806
+ case v:
2807
+ R.push([")", ")", _, C - j, C]);
2808
+ break;
2809
+ case i:
2810
+ case r:
2811
+ U = M === i ? "'" : '"', I = C;
2812
+ do
2813
+ for (B = !1, I = $.indexOf(U, I + 1), I === -1 && L("quote", U), Ue = I; $.charCodeAt(Ue - 1) === a; ) Ue -= 1, B = !B;
2814
+ while (B);
2815
+ R.push(["string", $.slice(C, I + 1), _, C - j, _, I - j, C]), C = I;
2816
+ break;
2817
+ case O:
2818
+ A.lastIndex = C + 1, A.test($), A.lastIndex === 0 ? I = $.length - 1 : I = A.lastIndex - 2, R.push(["at-word", $.slice(C, I + 1), _, C - j, _, I - j, C]), C = I;
2819
+ break;
2820
+ case a:
2821
+ for (I = C, Oe = !0; $.charCodeAt(I + 1) === a; ) I += 1, Oe = !Oe;
2822
+ M = $.charCodeAt(I + 1), Oe && M !== o && M !== p && M !== u && M !== m && M !== n && M !== y && (I += 1), R.push(["word", $.slice(C, I + 1), _, C - j, _, I - j, C]), C = I;
2823
+ break;
2824
+ default:
2825
+ M === o && $.charCodeAt(C + 1) === b ? (I = $.indexOf("*/", C + 2) + 1, I === 0 && L("comment", "*/"), ke = $.slice(C, I + 1), Fe = ke.split(`
2826
+ `), xe = Fe.length - 1, xe > 0 ? (Te = _ + xe, _e = I - Fe[xe].length) : (Te = _, _e = j), R.push(["comment", ke, _, C - j, Te, I - _e, C]), j = _e, _ = Te, C = I) : (E.lastIndex = C + 1, E.test($), E.lastIndex === 0 ? I = $.length - 1 : I = E.lastIndex - 2, R.push(["word", $.slice(C, I + 1), _, C - j, _, I - j, C]), C = I);
2827
+ break;
2828
+ }
2829
+ C++;
2830
+ }
2831
+ return R;
2832
+ }
2833
+ s.exports = e.default;
2834
+ }), Hs = S((e, s) => {
2835
+ e.__esModule = !0;
2836
+ var i = /* @__PURE__ */ (function() {
2837
+ function j(_, C) {
2838
+ for (var L = 0; L < C.length; L++) {
2839
+ var z = C[L];
2840
+ z.enumerable = z.enumerable || !1, z.configurable = !0, "value" in z && (z.writable = !0), Object.defineProperty(_, z.key, z);
2841
+ }
2842
+ }
2843
+ return function(_, C, L) {
2844
+ return C && j(_.prototype, C), L && j(_, L), _;
2845
+ };
2846
+ })(), r = or(), a = B(r), o = ir(), u = B(o), p = ar(), y = B(p), m = Ms(), n = B(m), t = $s(), h = B(t), c = Rs(), d = B(c), l = Ns(), w = B(l), v = Ls(), f = B(v), g = Ws(), T = B(g), b = zs(), x = B(b), k = Bs(), O = B(k), A = qs(), E = B(A), P = Ds(), W = B(P), R = Fs(), $ = B(R), M = Us(), I = B(M), U = Vs(), Fe = B(U), xe = Gs(), ke = B(xe), Oe = G(), Te = _e(Oe);
2847
+ function _e(j) {
2848
+ if (j && j.__esModule) return j;
2849
+ var _ = {};
2850
+ if (j != null) for (var C in j) Object.prototype.hasOwnProperty.call(j, C) && (_[C] = j[C]);
2851
+ return _.default = j, _;
2852
+ }
2853
+ function B(j) {
2854
+ return j && j.__esModule ? j : { default: j };
2855
+ }
2856
+ function Ue(j, _) {
2857
+ if (!(j instanceof _)) throw new TypeError("Cannot call a class as a function");
2858
+ }
2859
+ var Gt = (function() {
2860
+ function j(_) {
2861
+ Ue(this, j), this.input = _, this.lossy = _.options.lossless === !1, this.position = 0, this.root = new n.default();
2862
+ var C = new h.default();
2863
+ return this.root.append(C), this.current = C, this.lossy ? this.tokens = (0, ke.default)({ safe: _.safe, css: _.css.trim() }) : this.tokens = (0, ke.default)(_), this.loop();
2864
+ }
2865
+ return j.prototype.attribute = function() {
2866
+ var _ = "", C = void 0, L = this.currToken;
2867
+ for (this.position++; this.position < this.tokens.length && this.currToken[0] !== "]"; ) _ += this.tokens[this.position][1], this.position++;
2868
+ this.position === this.tokens.length && !~_.indexOf("]") && this.error("Expected a closing square bracket.");
2869
+ var z = _.split(/((?:[*~^$|]?=))([^]*)/), q = z[0].split(/(\|)/g), se = { operator: z[1], value: z[2], source: { start: { line: L[2], column: L[3] }, end: { line: this.currToken[2], column: this.currToken[3] } }, sourceIndex: L[4] };
2870
+ if (q.length > 1 ? (q[0] === "" && (q[0] = !0), se.attribute = this.parseValue(q[2]), se.namespace = this.parseNamespace(q[0])) : se.attribute = this.parseValue(z[0]), C = new E.default(se), z[2]) {
2871
+ var ae = z[2].split(/(\s+i\s*?)$/), ue = ae[0].trim();
2872
+ C.value = this.lossy ? ue : ae[0], ae[1] && (C.insensitive = !0, this.lossy || (C.raws.insensitive = ae[1])), C.quoted = ue[0] === "'" || ue[0] === '"', C.raws.unquoted = C.quoted ? ue.slice(1, -1) : ue;
2873
+ }
2874
+ this.newNode(C), this.position++;
2875
+ }, j.prototype.combinator = function() {
2876
+ if (this.currToken[1] === "|") return this.namespace();
2877
+ for (var _ = new $.default({ value: "", source: { start: { line: this.currToken[2], column: this.currToken[3] }, end: { line: this.currToken[2], column: this.currToken[3] } }, sourceIndex: this.currToken[4] }); this.position < this.tokens.length && this.currToken && (this.currToken[0] === "space" || this.currToken[0] === "combinator"); ) this.nextToken && this.nextToken[0] === "combinator" ? (_.spaces.before = this.parseSpace(this.currToken[1]), _.source.start.line = this.nextToken[2], _.source.start.column = this.nextToken[3], _.source.end.column = this.nextToken[3], _.source.end.line = this.nextToken[2], _.sourceIndex = this.nextToken[4]) : this.prevToken && this.prevToken[0] === "combinator" ? _.spaces.after = this.parseSpace(this.currToken[1]) : this.currToken[0] === "combinator" ? _.value = this.currToken[1] : this.currToken[0] === "space" && (_.value = this.parseSpace(this.currToken[1], " ")), this.position++;
2878
+ return this.newNode(_);
2879
+ }, j.prototype.comma = function() {
2880
+ if (this.position === this.tokens.length - 1) {
2881
+ this.root.trailingComma = !0, this.position++;
2882
+ return;
2883
+ }
2884
+ var _ = new h.default();
2885
+ this.current.parent.append(_), this.current = _, this.position++;
2886
+ }, j.prototype.comment = function() {
2887
+ var _ = new w.default({ value: this.currToken[1], source: { start: { line: this.currToken[2], column: this.currToken[3] }, end: { line: this.currToken[4], column: this.currToken[5] } }, sourceIndex: this.currToken[6] });
2888
+ this.newNode(_), this.position++;
2889
+ }, j.prototype.error = function(_) {
2890
+ throw new this.input.error(_);
2891
+ }, j.prototype.missingBackslash = function() {
2892
+ return this.error("Expected a backslash preceding the semicolon.");
2893
+ }, j.prototype.missingParenthesis = function() {
2894
+ return this.error("Expected opening parenthesis.");
2895
+ }, j.prototype.missingSquareBracket = function() {
2896
+ return this.error("Expected opening square bracket.");
2897
+ }, j.prototype.namespace = function() {
2898
+ var _ = this.prevToken && this.prevToken[1] || !0;
2899
+ if (this.nextToken[0] === "word") return this.position++, this.word(_);
2900
+ if (this.nextToken[0] === "*") return this.position++, this.universal(_);
2901
+ }, j.prototype.nesting = function() {
2902
+ this.newNode(new I.default({ value: this.currToken[1], source: { start: { line: this.currToken[2], column: this.currToken[3] }, end: { line: this.currToken[2], column: this.currToken[3] } }, sourceIndex: this.currToken[4] })), this.position++;
2903
+ }, j.prototype.parentheses = function() {
2904
+ var _ = this.current.last;
2905
+ if (_ && _.type === Te.PSEUDO) {
2906
+ var C = new h.default(), L = this.current;
2907
+ _.append(C), this.current = C;
2908
+ var z = 1;
2909
+ for (this.position++; this.position < this.tokens.length && z; ) this.currToken[0] === "(" && z++, this.currToken[0] === ")" && z--, z ? this.parse() : (C.parent.source.end.line = this.currToken[2], C.parent.source.end.column = this.currToken[3], this.position++);
2910
+ z && this.error("Expected closing parenthesis."), this.current = L;
2911
+ } else {
2912
+ var q = 1;
2913
+ for (this.position++, _.value += "("; this.position < this.tokens.length && q; ) this.currToken[0] === "(" && q++, this.currToken[0] === ")" && q--, _.value += this.parseParenthesisToken(this.currToken), this.position++;
2914
+ q && this.error("Expected closing parenthesis.");
2915
+ }
2916
+ }, j.prototype.pseudo = function() {
2917
+ for (var _ = this, C = "", L = this.currToken; this.currToken && this.currToken[0] === ":"; ) C += this.currToken[1], this.position++;
2918
+ if (!this.currToken) return this.error("Expected pseudo-class or pseudo-element");
2919
+ if (this.currToken[0] === "word") {
2920
+ var z = void 0;
2921
+ this.splitWord(!1, function(q, se) {
2922
+ C += q, z = new O.default({ value: C, source: { start: { line: L[2], column: L[3] }, end: { line: _.currToken[4], column: _.currToken[5] } }, sourceIndex: L[4] }), _.newNode(z), se > 1 && _.nextToken && _.nextToken[0] === "(" && _.error("Misplaced parenthesis.");
2923
+ });
2924
+ } else this.error('Unexpected "' + this.currToken[0] + '" found.');
2925
+ }, j.prototype.space = function() {
2926
+ var _ = this.currToken;
2927
+ this.position === 0 || this.prevToken[0] === "," || this.prevToken[0] === "(" ? (this.spaces = this.parseSpace(_[1]), this.position++) : this.position === this.tokens.length - 1 || this.nextToken[0] === "," || this.nextToken[0] === ")" ? (this.current.last.spaces.after = this.parseSpace(_[1]), this.position++) : this.combinator();
2928
+ }, j.prototype.string = function() {
2929
+ var _ = this.currToken;
2930
+ this.newNode(new x.default({ value: this.currToken[1], source: { start: { line: _[2], column: _[3] }, end: { line: _[4], column: _[5] } }, sourceIndex: _[6] })), this.position++;
2931
+ }, j.prototype.universal = function(_) {
2932
+ var C = this.nextToken;
2933
+ if (C && C[1] === "|") return this.position++, this.namespace();
2934
+ this.newNode(new W.default({ value: this.currToken[1], source: { start: { line: this.currToken[2], column: this.currToken[3] }, end: { line: this.currToken[2], column: this.currToken[3] } }, sourceIndex: this.currToken[4] }), _), this.position++;
2935
+ }, j.prototype.splitWord = function(_, C) {
2936
+ for (var L = this, z = this.nextToken, q = this.currToken[1]; z && z[0] === "word"; ) {
2937
+ this.position++;
2938
+ var se = this.currToken[1];
2939
+ if (q += se, se.lastIndexOf("\\") === se.length - 1) {
2940
+ var ae = this.nextToken;
2941
+ ae && ae[0] === "space" && (q += this.parseSpace(ae[1], " "), this.position++);
2942
+ }
2943
+ z = this.nextToken;
2944
+ }
2945
+ var ue = (0, u.default)(q, "."), lt = (0, u.default)(q, "#"), ns = (0, u.default)(q, "#{");
2946
+ ns.length && (lt = lt.filter(function(le) {
2947
+ return !~ns.indexOf(le);
2948
+ }));
2949
+ var Ce = (0, Fe.default)((0, y.default)((0, a.default)([[0], ue, lt])));
2950
+ Ce.forEach(function(le, Ve) {
2951
+ var ct = Ce[Ve + 1] || q.length, pt = q.slice(le, ct);
2952
+ if (Ve === 0 && C) return C.call(L, pt, Ce.length);
2953
+ var ht = void 0;
2954
+ ~ue.indexOf(le) ? ht = new d.default({ value: pt.slice(1), source: { start: { line: L.currToken[2], column: L.currToken[3] + le }, end: { line: L.currToken[4], column: L.currToken[3] + (ct - 1) } }, sourceIndex: L.currToken[6] + Ce[Ve] }) : ~lt.indexOf(le) ? ht = new f.default({ value: pt.slice(1), source: { start: { line: L.currToken[2], column: L.currToken[3] + le }, end: { line: L.currToken[4], column: L.currToken[3] + (ct - 1) } }, sourceIndex: L.currToken[6] + Ce[Ve] }) : ht = new T.default({ value: pt, source: { start: { line: L.currToken[2], column: L.currToken[3] + le }, end: { line: L.currToken[4], column: L.currToken[3] + (ct - 1) } }, sourceIndex: L.currToken[6] + Ce[Ve] }), L.newNode(ht, _);
2955
+ }), this.position++;
2956
+ }, j.prototype.word = function(_) {
2957
+ var C = this.nextToken;
2958
+ return C && C[1] === "|" ? (this.position++, this.namespace()) : this.splitWord(_);
2959
+ }, j.prototype.loop = function() {
2960
+ for (; this.position < this.tokens.length; ) this.parse(!0);
2961
+ return this.root;
2962
+ }, j.prototype.parse = function(_) {
2963
+ switch (this.currToken[0]) {
2964
+ case "space":
2965
+ this.space();
2966
+ break;
2967
+ case "comment":
2968
+ this.comment();
2969
+ break;
2970
+ case "(":
2971
+ this.parentheses();
2972
+ break;
2973
+ case ")":
2974
+ _ && this.missingParenthesis();
2975
+ break;
2976
+ case "[":
2977
+ this.attribute();
2978
+ break;
2979
+ case "]":
2980
+ this.missingSquareBracket();
2981
+ break;
2982
+ case "at-word":
2983
+ case "word":
2984
+ this.word();
2985
+ break;
2986
+ case ":":
2987
+ this.pseudo();
2988
+ break;
2989
+ case ";":
2990
+ this.missingBackslash();
2991
+ break;
2992
+ case ",":
2993
+ this.comma();
2994
+ break;
2995
+ case "*":
2996
+ this.universal();
2997
+ break;
2998
+ case "&":
2999
+ this.nesting();
3000
+ break;
3001
+ case "combinator":
3002
+ this.combinator();
3003
+ break;
3004
+ case "string":
3005
+ this.string();
3006
+ break;
3007
+ }
3008
+ }, j.prototype.parseNamespace = function(_) {
3009
+ if (this.lossy && typeof _ == "string") {
3010
+ var C = _.trim();
3011
+ return C.length ? C : !0;
3012
+ }
3013
+ return _;
3014
+ }, j.prototype.parseSpace = function(_, C) {
3015
+ return this.lossy ? C || "" : _;
3016
+ }, j.prototype.parseValue = function(_) {
3017
+ return this.lossy && _ && typeof _ == "string" ? _.trim() : _;
3018
+ }, j.prototype.parseParenthesisToken = function(_) {
3019
+ return this.lossy ? _[0] === "space" ? this.parseSpace(_[1], " ") : this.parseValue(_[1]) : _[1];
3020
+ }, j.prototype.newNode = function(_, C) {
3021
+ return C && (_.namespace = this.parseNamespace(C)), this.spaces && (_.spaces.before = this.spaces, this.spaces = ""), this.current.append(_);
3022
+ }, i(j, [{ key: "currToken", get: function() {
3023
+ return this.tokens[this.position];
3024
+ } }, { key: "nextToken", get: function() {
3025
+ return this.tokens[this.position + 1];
3026
+ } }, { key: "prevToken", get: function() {
3027
+ return this.tokens[this.position - 1];
3028
+ } }]), j;
3029
+ })();
3030
+ e.default = Gt, s.exports = e.default;
3031
+ }), Js = S((e, s) => {
3032
+ e.__esModule = !0;
3033
+ var i = /* @__PURE__ */ (function() {
3034
+ function y(m, n) {
3035
+ for (var t = 0; t < n.length; t++) {
3036
+ var h = n[t];
3037
+ h.enumerable = h.enumerable || !1, h.configurable = !0, "value" in h && (h.writable = !0), Object.defineProperty(m, h.key, h);
3038
+ }
3039
+ }
3040
+ return function(m, n, t) {
3041
+ return n && y(m.prototype, n), t && y(m, t), m;
3042
+ };
3043
+ })(), r = Hs(), a = o(r);
3044
+ function o(y) {
3045
+ return y && y.__esModule ? y : { default: y };
3046
+ }
3047
+ function u(y, m) {
3048
+ if (!(y instanceof m)) throw new TypeError("Cannot call a class as a function");
3049
+ }
3050
+ var p = (function() {
3051
+ function y(m) {
3052
+ return u(this, y), this.func = m || function() {
3053
+ }, this;
3054
+ }
3055
+ return y.prototype.process = function(m) {
3056
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = new a.default({ css: m, error: function(h) {
3057
+ throw new Error(h);
3058
+ }, options: n });
3059
+ return this.res = t, this.func(t), this;
3060
+ }, i(y, [{ key: "result", get: function() {
3061
+ return String(this.res);
3062
+ } }]), y;
3063
+ })();
3064
+ e.default = p, s.exports = e.default;
3065
+ }), te = S((e, s) => {
3066
+ var i = function(r, a) {
3067
+ let o = new r.constructor();
3068
+ for (let u in r) {
3069
+ if (!r.hasOwnProperty(u)) continue;
3070
+ let p = r[u], y = typeof p;
3071
+ u === "parent" && y === "object" ? a && (o[u] = a) : u === "source" ? o[u] = p : p instanceof Array ? o[u] = p.map((m) => i(m, o)) : u !== "before" && u !== "after" && u !== "between" && u !== "semicolon" && (y === "object" && p !== null && (p = i(p)), o[u] = p);
3072
+ }
3073
+ return o;
3074
+ };
3075
+ s.exports = class {
3076
+ constructor(r) {
3077
+ r = r || {}, this.raws = { before: "", after: "" };
3078
+ for (let a in r) this[a] = r[a];
3079
+ }
3080
+ remove() {
3081
+ return this.parent && this.parent.removeChild(this), this.parent = void 0, this;
3082
+ }
3083
+ toString() {
3084
+ return [this.raws.before, String(this.value), this.raws.after].join("");
3085
+ }
3086
+ clone(r) {
3087
+ r = r || {};
3088
+ let a = i(this);
3089
+ for (let o in r) a[o] = r[o];
3090
+ return a;
3091
+ }
3092
+ cloneBefore(r) {
3093
+ r = r || {};
3094
+ let a = this.clone(r);
3095
+ return this.parent.insertBefore(this, a), a;
3096
+ }
3097
+ cloneAfter(r) {
3098
+ r = r || {};
3099
+ let a = this.clone(r);
3100
+ return this.parent.insertAfter(this, a), a;
3101
+ }
3102
+ replaceWith() {
3103
+ let r = Array.prototype.slice.call(arguments);
3104
+ if (this.parent) {
3105
+ for (let a of r) this.parent.insertBefore(this, a);
3106
+ this.remove();
3107
+ }
3108
+ return this;
3109
+ }
3110
+ moveTo(r) {
3111
+ return this.cleanRaws(this.root() === r.root()), this.remove(), r.append(this), this;
3112
+ }
3113
+ moveBefore(r) {
3114
+ return this.cleanRaws(this.root() === r.root()), this.remove(), r.parent.insertBefore(r, this), this;
3115
+ }
3116
+ moveAfter(r) {
3117
+ return this.cleanRaws(this.root() === r.root()), this.remove(), r.parent.insertAfter(r, this), this;
3118
+ }
3119
+ next() {
3120
+ let r = this.parent.index(this);
3121
+ return this.parent.nodes[r + 1];
3122
+ }
3123
+ prev() {
3124
+ let r = this.parent.index(this);
3125
+ return this.parent.nodes[r - 1];
3126
+ }
3127
+ toJSON() {
3128
+ let r = {};
3129
+ for (let a in this) {
3130
+ if (!this.hasOwnProperty(a) || a === "parent") continue;
3131
+ let o = this[a];
3132
+ o instanceof Array ? r[a] = o.map((u) => typeof u == "object" && u.toJSON ? u.toJSON() : u) : typeof o == "object" && o.toJSON ? r[a] = o.toJSON() : r[a] = o;
3133
+ }
3134
+ return r;
3135
+ }
3136
+ root() {
3137
+ let r = this;
3138
+ for (; r.parent; ) r = r.parent;
3139
+ return r;
3140
+ }
3141
+ cleanRaws(r) {
3142
+ delete this.raws.before, delete this.raws.after, r || delete this.raws.between;
3143
+ }
3144
+ positionInside(r) {
3145
+ let a = this.toString(), o = this.source.start.column, u = this.source.start.line;
3146
+ for (let p = 0; p < r; p++) a[p] === `
3147
+ ` ? (o = 1, u += 1) : o += 1;
3148
+ return { line: u, column: o };
3149
+ }
3150
+ positionBy(r) {
3151
+ let a = this.source.start;
3152
+ if (Object(r).index) a = this.positionInside(r.index);
3153
+ else if (Object(r).word) {
3154
+ let o = this.toString().indexOf(r.word);
3155
+ o !== -1 && (a = this.positionInside(o));
3156
+ }
3157
+ return a;
3158
+ }
3159
+ };
3160
+ }), Q = S((e, s) => {
3161
+ var i = te(), r = class extends i {
3162
+ constructor(a) {
3163
+ super(a), this.nodes || (this.nodes = []);
3164
+ }
3165
+ push(a) {
3166
+ return a.parent = this, this.nodes.push(a), this;
3167
+ }
3168
+ each(a) {
3169
+ this.lastEach || (this.lastEach = 0), this.indexes || (this.indexes = {}), this.lastEach += 1;
3170
+ let o = this.lastEach, u, p;
3171
+ if (this.indexes[o] = 0, !!this.nodes) {
3172
+ for (; this.indexes[o] < this.nodes.length && (u = this.indexes[o], p = a(this.nodes[u], u), p !== !1); ) this.indexes[o] += 1;
3173
+ return delete this.indexes[o], p;
3174
+ }
3175
+ }
3176
+ walk(a) {
3177
+ return this.each((o, u) => {
3178
+ let p = a(o, u);
3179
+ return p !== !1 && o.walk && (p = o.walk(a)), p;
3180
+ });
3181
+ }
3182
+ walkType(a, o) {
3183
+ if (!a || !o) throw new Error("Parameters {type} and {callback} are required.");
3184
+ let u = typeof a == "function";
3185
+ return this.walk((p, y) => {
3186
+ if (u && p instanceof a || !u && p.type === a) return o.call(this, p, y);
3187
+ });
3188
+ }
3189
+ append(a) {
3190
+ return a.parent = this, this.nodes.push(a), this;
3191
+ }
3192
+ prepend(a) {
3193
+ return a.parent = this, this.nodes.unshift(a), this;
3194
+ }
3195
+ cleanRaws(a) {
3196
+ if (super.cleanRaws(a), this.nodes) for (let o of this.nodes) o.cleanRaws(a);
3197
+ }
3198
+ insertAfter(a, o) {
3199
+ let u = this.index(a), p;
3200
+ this.nodes.splice(u + 1, 0, o);
3201
+ for (let y in this.indexes) p = this.indexes[y], u <= p && (this.indexes[y] = p + this.nodes.length);
3202
+ return this;
3203
+ }
3204
+ insertBefore(a, o) {
3205
+ let u = this.index(a), p;
3206
+ this.nodes.splice(u, 0, o);
3207
+ for (let y in this.indexes) p = this.indexes[y], u <= p && (this.indexes[y] = p + this.nodes.length);
3208
+ return this;
3209
+ }
3210
+ removeChild(a) {
3211
+ a = this.index(a), this.nodes[a].parent = void 0, this.nodes.splice(a, 1);
3212
+ let o;
3213
+ for (let u in this.indexes) o = this.indexes[u], o >= a && (this.indexes[u] = o - 1);
3214
+ return this;
3215
+ }
3216
+ removeAll() {
3217
+ for (let a of this.nodes) a.parent = void 0;
3218
+ return this.nodes = [], this;
3219
+ }
3220
+ every(a) {
3221
+ return this.nodes.every(a);
3222
+ }
3223
+ some(a) {
3224
+ return this.nodes.some(a);
3225
+ }
3226
+ index(a) {
3227
+ return typeof a == "number" ? a : this.nodes.indexOf(a);
3228
+ }
3229
+ get first() {
3230
+ if (this.nodes) return this.nodes[0];
3231
+ }
3232
+ get last() {
3233
+ if (this.nodes) return this.nodes[this.nodes.length - 1];
3234
+ }
3235
+ toString() {
3236
+ let a = this.nodes.map(String).join("");
3237
+ return this.value && (a = this.value + a), this.raws.before && (a = this.raws.before + a), this.raws.after && (a += this.raws.after), a;
3238
+ }
3239
+ };
3240
+ r.registerWalker = (a) => {
3241
+ let o = "walk" + a.name;
3242
+ o.lastIndexOf("s") !== o.length - 1 && (o += "s"), !r.prototype[o] && (r.prototype[o] = function(u) {
3243
+ return this.walkType(a, u);
3244
+ });
3245
+ }, s.exports = r;
3246
+ }), Qs = S((e, s) => {
3247
+ var i = Q();
3248
+ s.exports = class extends i {
3249
+ constructor(r) {
3250
+ super(r), this.type = "root";
3251
+ }
3252
+ };
3253
+ }), Zs = S((e, s) => {
3254
+ var i = Q();
3255
+ s.exports = class extends i {
3256
+ constructor(r) {
3257
+ super(r), this.type = "value", this.unbalanced = 0;
3258
+ }
3259
+ };
3260
+ }), Ys = S((e, s) => {
3261
+ var i = Q(), r = class extends i {
3262
+ constructor(a) {
3263
+ super(a), this.type = "atword";
3264
+ }
3265
+ toString() {
3266
+ return this.quoted && this.raws.quote, [this.raws.before, "@", String.prototype.toString.call(this.value), this.raws.after].join("");
3267
+ }
3268
+ };
3269
+ i.registerWalker(r), s.exports = r;
3270
+ }), Ks = S((e, s) => {
3271
+ var i = Q(), r = te(), a = class extends r {
3272
+ constructor(o) {
3273
+ super(o), this.type = "colon";
3274
+ }
3275
+ };
3276
+ i.registerWalker(a), s.exports = a;
3277
+ }), Xs = S((e, s) => {
3278
+ var i = Q(), r = te(), a = class extends r {
3279
+ constructor(o) {
3280
+ super(o), this.type = "comma";
3281
+ }
3282
+ };
3283
+ i.registerWalker(a), s.exports = a;
3284
+ }), en = S((e, s) => {
3285
+ var i = Q(), r = te(), a = class extends r {
3286
+ constructor(o) {
3287
+ super(o), this.type = "comment", this.inline = Object(o).inline || !1;
3288
+ }
3289
+ toString() {
3290
+ return [this.raws.before, this.inline ? "//" : "/*", String(this.value), this.inline ? "" : "*/", this.raws.after].join("");
3291
+ }
3292
+ };
3293
+ i.registerWalker(a), s.exports = a;
3294
+ }), tn = S((e, s) => {
3295
+ var i = Q(), r = class extends i {
3296
+ constructor(a) {
3297
+ super(a), this.type = "func", this.unbalanced = -1;
3298
+ }
3299
+ };
3300
+ i.registerWalker(r), s.exports = r;
3301
+ }), rn = S((e, s) => {
3302
+ var i = Q(), r = te(), a = class extends r {
3303
+ constructor(o) {
3304
+ super(o), this.type = "number", this.unit = Object(o).unit || "";
3305
+ }
3306
+ toString() {
3307
+ return [this.raws.before, String(this.value), this.unit, this.raws.after].join("");
3308
+ }
3309
+ };
3310
+ i.registerWalker(a), s.exports = a;
3311
+ }), sn = S((e, s) => {
3312
+ var i = Q(), r = te(), a = class extends r {
3313
+ constructor(o) {
3314
+ super(o), this.type = "operator";
3315
+ }
3316
+ };
3317
+ i.registerWalker(a), s.exports = a;
3318
+ }), nn = S((e, s) => {
3319
+ var i = Q(), r = te(), a = class extends r {
3320
+ constructor(o) {
3321
+ super(o), this.type = "paren", this.parenType = "";
3322
+ }
3323
+ };
3324
+ i.registerWalker(a), s.exports = a;
3325
+ }), on = S((e, s) => {
3326
+ var i = Q(), r = te(), a = class extends r {
3327
+ constructor(o) {
3328
+ super(o), this.type = "string";
3329
+ }
3330
+ toString() {
3331
+ let o = this.quoted ? this.raws.quote : "";
3332
+ return [this.raws.before, o, this.value + "", o, this.raws.after].join("");
3333
+ }
3334
+ };
3335
+ i.registerWalker(a), s.exports = a;
3336
+ }), an = S((e, s) => {
3337
+ var i = Q(), r = te(), a = class extends r {
3338
+ constructor(o) {
3339
+ super(o), this.type = "word";
3340
+ }
3341
+ };
3342
+ i.registerWalker(a), s.exports = a;
3343
+ }), un = S((e, s) => {
3344
+ var i = Q(), r = te(), a = class extends r {
3345
+ constructor(o) {
3346
+ super(o), this.type = "unicode-range";
3347
+ }
3348
+ };
3349
+ i.registerWalker(a), s.exports = a;
3350
+ }), ln = S((e, s) => {
3351
+ var i = class extends Error {
3352
+ constructor(r) {
3353
+ super(r), this.name = this.constructor.name, this.message = r || "An error ocurred while tokzenizing.", typeof Error.captureStackTrace == "function" ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error(r).stack;
3354
+ }
3355
+ };
3356
+ s.exports = i;
3357
+ }), cn = S((e, s) => {
3358
+ var i = /[ \n\t\r\{\(\)'"\\;,/]/g, r = /[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g, a = /[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g, o = /^[a-z0-9]/i, u = /^[a-f0-9?\-]/i, p = ln();
3359
+ s.exports = function(y, m) {
3360
+ m = m || {};
3361
+ let n = [], t = y.valueOf(), h = t.length, c = -1, d = 1, l = 0, w = 0, v = null, f, g, T, b, x, k, O, A, E, P, W;
3362
+ function R($) {
3363
+ let M = `Unclosed ${$} at line: ${d}, column: ${l - c}, token: ${l}`;
3364
+ throw new p(M);
3365
+ }
3366
+ for (; l < h; ) {
3367
+ switch (f = t.charCodeAt(l), f === 10 && (c = l, d += 1), f) {
3368
+ case 10:
3369
+ case 32:
3370
+ case 9:
3371
+ case 13:
3372
+ case 12:
3373
+ g = l;
3374
+ do
3375
+ g += 1, f = t.charCodeAt(g), f === 10 && (c = g, d += 1);
3376
+ while (f === 32 || f === 10 || f === 9 || f === 13 || f === 12);
3377
+ n.push(["space", t.slice(l, g), d, l - c, d, g - c, l]), l = g - 1;
3378
+ break;
3379
+ case 58:
3380
+ g = l + 1, n.push(["colon", t.slice(l, g), d, l - c, d, g - c, l]), l = g - 1;
3381
+ break;
3382
+ case 44:
3383
+ g = l + 1, n.push(["comma", t.slice(l, g), d, l - c, d, g - c, l]), l = g - 1;
3384
+ break;
3385
+ case 123:
3386
+ n.push(["{", "{", d, l - c, d, g - c, l]);
3387
+ break;
3388
+ case 125:
3389
+ n.push(["}", "}", d, l - c, d, g - c, l]);
3390
+ break;
3391
+ case 40:
3392
+ w++, v = !v && w === 1 && n.length > 0 && n[n.length - 1][0] === "word" && n[n.length - 1][1] === "url", n.push(["(", "(", d, l - c, d, g - c, l]);
3393
+ break;
3394
+ case 41:
3395
+ w--, v = v && w > 0, n.push([")", ")", d, l - c, d, g - c, l]);
3396
+ break;
3397
+ case 39:
3398
+ case 34:
3399
+ T = f === 39 ? "'" : '"', g = l;
3400
+ do
3401
+ for (E = !1, g = t.indexOf(T, g + 1), g === -1 && R("quote"), P = g; t.charCodeAt(P - 1) === 92; ) P -= 1, E = !E;
3402
+ while (E);
3403
+ n.push(["string", t.slice(l, g + 1), d, l - c, d, g - c, l]), l = g;
3404
+ break;
3405
+ case 64:
3406
+ i.lastIndex = l + 1, i.test(t), i.lastIndex === 0 ? g = t.length - 1 : g = i.lastIndex - 2, n.push(["atword", t.slice(l, g + 1), d, l - c, d, g - c, l]), l = g;
3407
+ break;
3408
+ case 92:
3409
+ g = l, f = t.charCodeAt(g + 1), n.push(["word", t.slice(l, g + 1), d, l - c, d, g - c, l]), l = g;
3410
+ break;
3411
+ case 43:
3412
+ case 45:
3413
+ case 42:
3414
+ if (g = l + 1, W = t.slice(l + 1, g + 1), t.slice(l - 1, l), f === 45 && W.charCodeAt(0) === 45) {
3415
+ g++, n.push(["word", t.slice(l, g), d, l - c, d, g - c, l]), l = g - 1;
3416
+ break;
3417
+ }
3418
+ n.push(["operator", t.slice(l, g), d, l - c, d, g - c, l]), l = g - 1;
3419
+ break;
3420
+ default:
3421
+ if (f === 47 && (t.charCodeAt(l + 1) === 42 || m.loose && !v && t.charCodeAt(l + 1) === 47)) {
3422
+ if (t.charCodeAt(l + 1) === 42) g = t.indexOf("*/", l + 2) + 1, g === 0 && R("comment");
3423
+ else {
3424
+ let $ = t.indexOf(`
3425
+ `, l + 2);
3426
+ g = $ !== -1 ? $ - 1 : h;
3427
+ }
3428
+ k = t.slice(l, g + 1), b = k.split(`
3429
+ `), x = b.length - 1, x > 0 ? (O = d + x, A = g - b[x].length) : (O = d, A = c), n.push(["comment", k, d, l - c, O, g - A, l]), c = A, d = O, l = g;
3430
+ } else if (f === 35 && !o.test(t.slice(l + 1, l + 2))) g = l + 1, n.push(["#", t.slice(l, g), d, l - c, d, g - c, l]), l = g - 1;
3431
+ else if ((f === 117 || f === 85) && t.charCodeAt(l + 1) === 43) {
3432
+ g = l + 2;
3433
+ do
3434
+ g += 1, f = t.charCodeAt(g);
3435
+ while (g < h && u.test(t.slice(g, g + 1)));
3436
+ n.push(["unicoderange", t.slice(l, g), d, l - c, d, g - c, l]), l = g - 1;
3437
+ } else if (f === 47) g = l + 1, n.push(["operator", t.slice(l, g), d, l - c, d, g - c, l]), l = g - 1;
3438
+ else {
3439
+ let $ = r;
3440
+ if (f >= 48 && f <= 57 && ($ = a), $.lastIndex = l + 1, $.test(t), $.lastIndex === 0 ? g = t.length - 1 : g = $.lastIndex - 2, $ === a || f === 46) {
3441
+ let M = t.charCodeAt(g), I = t.charCodeAt(g + 1), U = t.charCodeAt(g + 2);
3442
+ (M === 101 || M === 69) && (I === 45 || I === 43) && U >= 48 && U <= 57 && (a.lastIndex = g + 2, a.test(t), a.lastIndex === 0 ? g = t.length - 1 : g = a.lastIndex - 2);
3443
+ }
3444
+ n.push(["word", t.slice(l, g + 1), d, l - c, d, g - c, l]), l = g;
3445
+ }
3446
+ break;
3447
+ }
3448
+ l++;
3449
+ }
3450
+ return n;
3451
+ };
3452
+ }), pn = S((e, s) => {
3453
+ var i = class extends Error {
3454
+ constructor(r) {
3455
+ super(r), this.name = this.constructor.name, this.message = r || "An error ocurred while parsing.", typeof Error.captureStackTrace == "function" ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error(r).stack;
3456
+ }
3457
+ };
3458
+ s.exports = i;
3459
+ }), hn = S((e, s) => {
3460
+ var i = Qs(), r = Zs(), a = Ys(), o = Ks(), u = Xs(), p = en(), y = tn(), m = rn(), n = sn(), t = nn(), h = on(), c = an(), d = un(), l = cn(), w = or(), v = ir(), f = ar(), g = pn();
3461
+ function T(b) {
3462
+ return b.sort((x, k) => x - k);
3463
+ }
3464
+ s.exports = class {
3465
+ constructor(b, x) {
3466
+ let k = { loose: !1 };
3467
+ this.cache = [], this.input = b, this.options = Object.assign({}, k, x), this.position = 0, this.unbalanced = 0, this.root = new i();
3468
+ let O = new r();
3469
+ this.root.append(O), this.current = O, this.tokens = l(b, this.options);
3470
+ }
3471
+ parse() {
3472
+ return this.loop();
3473
+ }
3474
+ colon() {
3475
+ let b = this.currToken;
3476
+ this.newNode(new o({ value: b[1], source: { start: { line: b[2], column: b[3] }, end: { line: b[4], column: b[5] } }, sourceIndex: b[6] })), this.position++;
3477
+ }
3478
+ comma() {
3479
+ let b = this.currToken;
3480
+ this.newNode(new u({ value: b[1], source: { start: { line: b[2], column: b[3] }, end: { line: b[4], column: b[5] } }, sourceIndex: b[6] })), this.position++;
3481
+ }
3482
+ comment() {
3483
+ let b = !1, x = this.currToken[1].replace(/\/\*|\*\//g, ""), k;
3484
+ this.options.loose && x.startsWith("//") && (x = x.substring(2), b = !0), k = new p({ value: x, inline: b, source: { start: { line: this.currToken[2], column: this.currToken[3] }, end: { line: this.currToken[4], column: this.currToken[5] } }, sourceIndex: this.currToken[6] }), this.newNode(k), this.position++;
3485
+ }
3486
+ error(b, x) {
3487
+ throw new g(b + ` at line: ${x[2]}, column ${x[3]}`);
3488
+ }
3489
+ loop() {
3490
+ for (; this.position < this.tokens.length; ) this.parseTokens();
3491
+ return !this.current.last && this.spaces ? this.current.raws.before += this.spaces : this.spaces && (this.current.last.raws.after += this.spaces), this.spaces = "", this.root;
3492
+ }
3493
+ operator() {
3494
+ let b = this.currToken[1], x;
3495
+ if (b === "+" || b === "-") {
3496
+ if (this.options.loose || this.position > 0 && (this.current.type === "func" && this.current.value === "calc" ? this.prevToken[0] !== "space" && this.prevToken[0] !== "(" ? this.error("Syntax Error", this.currToken) : this.nextToken[0] !== "space" && this.nextToken[0] !== "word" ? this.error("Syntax Error", this.currToken) : this.nextToken[0] === "word" && this.current.last.type !== "operator" && this.current.last.value !== "(" && this.error("Syntax Error", this.currToken) : (this.nextToken[0] === "space" || this.nextToken[0] === "operator" || this.prevToken[0] === "operator") && this.error("Syntax Error", this.currToken)), this.options.loose) {
3497
+ if ((!this.current.nodes.length || this.current.last && this.current.last.type === "operator") && this.nextToken[0] === "word") return this.word();
3498
+ } else if (this.nextToken[0] === "word") return this.word();
3499
+ }
3500
+ return x = new n({ value: this.currToken[1], source: { start: { line: this.currToken[2], column: this.currToken[3] }, end: { line: this.currToken[2], column: this.currToken[3] } }, sourceIndex: this.currToken[4] }), this.position++, this.newNode(x);
3501
+ }
3502
+ parseTokens() {
3503
+ switch (this.currToken[0]) {
3504
+ case "space":
3505
+ this.space();
3506
+ break;
3507
+ case "colon":
3508
+ this.colon();
3509
+ break;
3510
+ case "comma":
3511
+ this.comma();
3512
+ break;
3513
+ case "comment":
3514
+ this.comment();
3515
+ break;
3516
+ case "(":
3517
+ this.parenOpen();
3518
+ break;
3519
+ case ")":
3520
+ this.parenClose();
3521
+ break;
3522
+ case "atword":
3523
+ case "word":
3524
+ this.word();
3525
+ break;
3526
+ case "operator":
3527
+ this.operator();
3528
+ break;
3529
+ case "string":
3530
+ this.string();
3531
+ break;
3532
+ case "unicoderange":
3533
+ this.unicodeRange();
3534
+ break;
3535
+ default:
3536
+ this.word();
3537
+ break;
3538
+ }
3539
+ }
3540
+ parenOpen() {
3541
+ let b = 1, x = this.position + 1, k = this.currToken, O;
3542
+ for (; x < this.tokens.length && b; ) {
3543
+ let A = this.tokens[x];
3544
+ A[0] === "(" && b++, A[0] === ")" && b--, x++;
3545
+ }
3546
+ if (b && this.error("Expected closing parenthesis", k), O = this.current.last, O && O.type === "func" && O.unbalanced < 0 && (O.unbalanced = 0, this.current = O), this.current.unbalanced++, this.newNode(new t({ value: k[1], source: { start: { line: k[2], column: k[3] }, end: { line: k[4], column: k[5] } }, sourceIndex: k[6] })), this.position++, this.current.type === "func" && this.current.unbalanced && this.current.value === "url" && this.currToken[0] !== "string" && this.currToken[0] !== ")" && !this.options.loose) {
3547
+ let A = this.nextToken, E = this.currToken[1], P = { line: this.currToken[2], column: this.currToken[3] };
3548
+ for (; A && A[0] !== ")" && this.current.unbalanced; ) this.position++, E += this.currToken[1], A = this.nextToken;
3549
+ this.position !== this.tokens.length - 1 && (this.position++, this.newNode(new c({ value: E, source: { start: P, end: { line: this.currToken[4], column: this.currToken[5] } }, sourceIndex: this.currToken[6] })));
3550
+ }
3551
+ }
3552
+ parenClose() {
3553
+ let b = this.currToken;
3554
+ this.newNode(new t({ value: b[1], source: { start: { line: b[2], column: b[3] }, end: { line: b[4], column: b[5] } }, sourceIndex: b[6] })), this.position++, !(this.position >= this.tokens.length - 1 && !this.current.unbalanced) && (this.current.unbalanced--, this.current.unbalanced < 0 && this.error("Expected opening parenthesis", b), !this.current.unbalanced && this.cache.length && (this.current = this.cache.pop()));
3555
+ }
3556
+ space() {
3557
+ let b = this.currToken;
3558
+ this.position === this.tokens.length - 1 || this.nextToken[0] === "," || this.nextToken[0] === ")" ? (this.current.last.raws.after += b[1], this.position++) : (this.spaces = b[1], this.position++);
3559
+ }
3560
+ unicodeRange() {
3561
+ let b = this.currToken;
3562
+ this.newNode(new d({ value: b[1], source: { start: { line: b[2], column: b[3] }, end: { line: b[4], column: b[5] } }, sourceIndex: b[6] })), this.position++;
3563
+ }
3564
+ splitWord() {
3565
+ let b = this.nextToken, x = this.currToken[1], k = /^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/, O = /^(?!\#([a-z0-9]+))[\#\{\}]/gi, A, E;
3566
+ if (!O.test(x)) for (; b && b[0] === "word"; ) {
3567
+ this.position++;
3568
+ let P = this.currToken[1];
3569
+ x += P, b = this.nextToken;
3570
+ }
3571
+ A = v(x, "@"), E = T(f(w([[0], A]))), E.forEach((P, W) => {
3572
+ let R = E[W + 1] || x.length, $ = x.slice(P, R), M;
3573
+ if (~A.indexOf(P)) M = new a({ value: $.slice(1), source: { start: { line: this.currToken[2], column: this.currToken[3] + P }, end: { line: this.currToken[4], column: this.currToken[3] + (R - 1) } }, sourceIndex: this.currToken[6] + E[W] });
3574
+ else if (k.test(this.currToken[1])) {
3575
+ let I = $.replace(k, "");
3576
+ M = new m({ value: $.replace(I, ""), source: { start: { line: this.currToken[2], column: this.currToken[3] + P }, end: { line: this.currToken[4], column: this.currToken[3] + (R - 1) } }, sourceIndex: this.currToken[6] + E[W], unit: I });
3577
+ } else M = new (b && b[0] === "(" ? y : c)({ value: $, source: { start: { line: this.currToken[2], column: this.currToken[3] + P }, end: { line: this.currToken[4], column: this.currToken[3] + (R - 1) } }, sourceIndex: this.currToken[6] + E[W] }), M.type === "word" ? (M.isHex = /^#(.+)/.test($), M.isColor = /^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test($)) : this.cache.push(this.current);
3578
+ this.newNode(M);
3579
+ }), this.position++;
3580
+ }
3581
+ string() {
3582
+ let b = this.currToken, x = this.currToken[1], k = /^(\"|\')/, O = k.test(x), A = "", E;
3583
+ O && (A = x.match(k)[0], x = x.slice(1, x.length - 1)), E = new h({ value: x, source: { start: { line: b[2], column: b[3] }, end: { line: b[4], column: b[5] } }, sourceIndex: b[6], quoted: O }), E.raws.quote = A, this.newNode(E), this.position++;
3584
+ }
3585
+ word() {
3586
+ return this.splitWord();
3587
+ }
3588
+ newNode(b) {
3589
+ return this.spaces && (b.raws.before += this.spaces, this.spaces = ""), this.current.append(b);
3590
+ }
3591
+ get currToken() {
3592
+ return this.tokens[this.position];
3593
+ }
3594
+ get nextToken() {
3595
+ return this.tokens[this.position + 1];
3596
+ }
3597
+ get prevToken() {
3598
+ return this.tokens[this.position - 1];
3599
+ }
3600
+ };
3601
+ }), ur = {};
3602
+ Jt(ur, { languages: () => Oi, options: () => Ci, parsers: () => Qr, printers: () => aa });
3603
+ var lr = (e, s) => (i, r, ...a) => i | 1 && r == null ? void 0 : (s.call(r) ?? r[e]).apply(r, a), fn = String.prototype.replaceAll ?? function(e, s) {
3604
+ return e.global ? this.replace(e, s) : this.split(e).join(s);
3605
+ }, dn = lr("replaceAll", function() {
3606
+ if (typeof this == "string") return fn;
3607
+ }), D = dn;
3608
+ function mn(e) {
3609
+ return this[e < 0 ? this.length + e : e];
3610
+ }
3611
+ var yn = lr("at", function() {
3612
+ if (Array.isArray(this) || typeof this == "string") return mn;
3613
+ }), he = yn, vn = () => {
3614
+ }, gn = vn, cr = "string", pr = "array", hr = "cursor", Ze = "indent", _t = "align", fr = "trim", Ye = "group", Ke = "fill", Xe = "if-break", dr = "indent-if-break", Ct = "line-suffix", mr = "line-suffix-boundary", ve = "line", yr = "label", St = "break-parent", vr = /* @__PURE__ */ new Set([hr, Ze, _t, fr, Ye, Ke, Xe, dr, Ct, mr, ve, yr, St]);
3615
+ function wn(e) {
3616
+ if (typeof e == "string") return cr;
3617
+ if (Array.isArray(e)) return pr;
3618
+ if (!e) return;
3619
+ let { type: s } = e;
3620
+ if (vr.has(s)) return s;
3621
+ }
3622
+ var Me = wn, bn = (e) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e);
3623
+ function xn(e) {
3624
+ let s = e === null ? "null" : typeof e;
3625
+ if (s !== "string" && s !== "object") return `Unexpected doc '${s}',
3626
+ Expected it to be 'string' or 'object'.`;
3627
+ if (Me(e)) throw new Error("doc is valid.");
3628
+ let i = Object.prototype.toString.call(e);
3629
+ if (i !== "[object Object]") return `Unexpected doc '${i}'.`;
3630
+ let r = bn([...vr].map((a) => `'${a}'`));
3631
+ return `Unexpected doc.type '${e.type}'.
3632
+ Expected it to be ${r}.`;
3633
+ }
3634
+ var kn = class extends Error {
3635
+ name = "InvalidDocError";
3636
+ constructor(e) {
3637
+ super(xn(e)), this.doc = e;
3638
+ }
3639
+ }, On = kn;
3640
+ function Tn(e, s) {
3641
+ if (typeof e == "string") return s(e);
3642
+ let i = /* @__PURE__ */ new Map();
3643
+ return r(e);
3644
+ function r(o) {
3645
+ if (i.has(o)) return i.get(o);
3646
+ let u = a(o);
3647
+ return i.set(o, u), u;
3648
+ }
3649
+ function a(o) {
3650
+ switch (Me(o)) {
3651
+ case pr:
3652
+ return s(o.map(r));
3653
+ case Ke:
3654
+ return s({ ...o, parts: o.parts.map(r) });
3655
+ case Xe:
3656
+ return s({ ...o, breakContents: r(o.breakContents), flatContents: r(o.flatContents) });
3657
+ case Ye: {
3658
+ let { expandedStates: u, contents: p } = o;
3659
+ return u ? (u = u.map(r), p = u[0]) : p = r(p), s({ ...o, contents: p, expandedStates: u });
3660
+ }
3661
+ case _t:
3662
+ case Ze:
3663
+ case dr:
3664
+ case yr:
3665
+ case Ct:
3666
+ return s({ ...o, contents: r(o.contents) });
3667
+ case cr:
3668
+ case hr:
3669
+ case fr:
3670
+ case mr:
3671
+ case ve:
3672
+ case St:
3673
+ return s(o);
3674
+ default:
3675
+ throw new On(o);
3676
+ }
3677
+ }
3678
+ }
3679
+ function _n(e) {
3680
+ return e.type === ve && !e.hard ? e.soft ? "" : " " : e.type === Xe ? e.flatContents : e;
3681
+ }
3682
+ function Cn(e) {
3683
+ return Tn(e, _n);
3684
+ }
3685
+ var Sn = gn;
3686
+ function Z(e) {
3687
+ return { type: Ze, contents: e };
3688
+ }
3689
+ function An(e, s) {
3690
+ return { type: _t, contents: s, n: e };
3691
+ }
3692
+ function $e(e) {
3693
+ return An(-1, e);
3694
+ }
3695
+ var At = { type: St };
3696
+ function et(e) {
3697
+ return { type: Ke, parts: e };
3698
+ }
3699
+ function K(e, s = {}) {
3700
+ return Sn(s.expandedStates), { type: Ye, id: s.id, contents: e, break: !!s.shouldBreak, expandedStates: s.expandedStates };
3701
+ }
3702
+ function gr(e, s = "", i = {}) {
3703
+ return { type: Xe, breakContents: e, flatContents: s, groupId: i.groupId };
3704
+ }
3705
+ function ne(e, s) {
3706
+ let i = [];
3707
+ for (let r = 0; r < s.length; r++) r !== 0 && i.push(e), i.push(s[r]);
3708
+ return i;
3709
+ }
3710
+ var V = { type: ve }, X = { type: ve, soft: !0 }, En = { type: ve, hard: !0 }, F = [En, At];
3711
+ function jn(e) {
3712
+ return { type: Ct, contents: e };
3713
+ }
3714
+ function In(e) {
3715
+ return Array.isArray(e) && e.length > 0;
3716
+ }
3717
+ var tt = In, wr = Object.freeze({ character: "'", codePoint: 39 }), br = Object.freeze({ character: '"', codePoint: 34 }), Pn = Object.freeze({ preferred: wr, alternate: br }), Mn = Object.freeze({ preferred: br, alternate: wr });
3718
+ function $n(e, s) {
3719
+ let { preferred: i, alternate: r } = s === !0 || s === "'" ? Pn : Mn, { length: a } = e, o = 0, u = 0;
3720
+ for (let p = 0; p < a; p++) {
3721
+ let y = e.charCodeAt(p);
3722
+ y === i.codePoint ? o++ : y === r.codePoint && u++;
3723
+ }
3724
+ return (o > u ? r : i).character;
3725
+ }
3726
+ var Rn = $n, Nn = /\\(["'\\])|(["'])/gu;
3727
+ function Ln(e, s) {
3728
+ let i = s === '"' ? "'" : '"', r = D(0, e, Nn, (a, o, u) => o ? o === i ? i : a : u === s ? "\\" + u : u);
3729
+ return s + r + s;
3730
+ }
3731
+ var Wn = Ln;
3732
+ function zn(e, s) {
3733
+ let i = e.slice(1, -1), r = s.parser === "json" || s.parser === "jsonc" || s.parser === "json5" && s.quoteProps === "preserve" && !s.singleQuote ? '"' : s.__isInHtmlAttribute ? "'" : Rn(i, s.singleQuote);
3734
+ return e.charAt(0) === r ? e : Wn(i, r);
3735
+ }
3736
+ var xr = zn, Bn = class extends Error {
3737
+ name = "UnexpectedNodeError";
3738
+ constructor(e, s, i = "type") {
3739
+ super(`Unexpected ${s} node ${i}: ${JSON.stringify(e[i])}.`), this.node = e;
3740
+ }
3741
+ }, qn = Bn, kr = /* @__PURE__ */ Symbol.for("PRETTIER_IS_FRONT_MATTER");
3742
+ function Dn(e) {
3743
+ return !!e?.[kr];
3744
+ }
3745
+ var Et = Dn, Re = 3;
3746
+ function Fn(e) {
3747
+ let s = e.slice(0, Re);
3748
+ if (s !== "---" && s !== "+++") return;
3749
+ let i = e.indexOf(`
3750
+ `, Re);
3751
+ if (i === -1) return;
3752
+ let r = e.slice(Re, i).trim(), a = e.indexOf(`
3753
+ ${s}`, i), o = r;
3754
+ if (o || (o = s === "+++" ? "toml" : "yaml"), a === -1 && s === "---" && o === "yaml" && (a = e.indexOf(`
3755
+ ...`, i)), a === -1) return;
3756
+ let u = a + 1 + Re, p = e.charAt(u + 1);
3757
+ if (!/\s?/u.test(p)) return;
3758
+ let y = e.slice(0, u), m;
3759
+ return { language: o, explicitLanguage: r || null, value: e.slice(i + 1, a), startDelimiter: s, endDelimiter: y.slice(-Re), raw: y, start: { line: 1, column: 0, index: 0 }, end: { index: y.length, get line() {
3760
+ return m ?? (m = y.split(`
3761
+ `)), m.length;
3762
+ }, get column() {
3763
+ return m ?? (m = y.split(`
3764
+ `)), he(0, m, -1).length;
3765
+ } }, [kr]: !0 };
3766
+ }
3767
+ function Un(e) {
3768
+ let s = Fn(e);
3769
+ return s ? { frontMatter: s, get content() {
3770
+ let { raw: i } = s;
3771
+ return D(0, i, /[^\n]/gu, " ") + e.slice(i.length);
3772
+ } } : { content: e };
3773
+ }
3774
+ var rt = Un, Vn = /* @__PURE__ */ new Set(["raw", "raws", "sourceIndex", "source", "before", "after", "trailingComma", "spaces"]);
3775
+ function Or(e, s, i) {
3776
+ if (e.type === "css-comment" && i.type === "css-root" && i.nodes.length > 0 && ((i.nodes[0] === e || Et(i.nodes[0]) && i.nodes[1] === e) && (delete s.text, /^\*\s*@(?:format|prettier)\s*$/u.test(e.text)) || i.type === "css-root" && he(0, i.nodes, -1) === e)) return null;
3777
+ if (e.type === "value-root" && delete s.text, (e.type === "media-query" || e.type === "media-query-list" || e.type === "media-feature-expression") && delete s.value, e.type === "css-rule" && delete s.params, (e.type === "media-feature" || e.type === "media-keyword" || e.type === "media-type" || e.type === "media-unknown" || e.type === "media-url" || e.type === "media-value" || e.type === "selector-attribute" || e.type === "selector-string" || e.type === "selector-class" || e.type === "selector-combinator" || e.type === "value-string") && e.value && (s.value = Gn(e.value)), e.type === "selector-combinator" && (s.value = D(0, s.value, /\s+/gu, " ")), e.type === "media-feature" && (s.value = D(0, s.value, " ", "")), (e.type === "value-word" && (e.isColor && e.isHex || ["initial", "inherit", "unset", "revert"].includes(e.value.toLowerCase())) || e.type === "media-feature" || e.type === "selector-root-invalid" || e.type === "selector-pseudo") && (s.value = s.value.toLowerCase()), e.type === "css-decl" && (s.prop = e.prop.toLowerCase()), (e.type === "css-atrule" || e.type === "css-import") && (s.name = e.name.toLowerCase()), e.type === "value-number" && (s.unit = e.unit.toLowerCase()), e.type === "value-unknown" && (s.value = D(0, s.value, /;$/gu, "")), e.type === "selector-attribute" && (s.attribute = e.attribute.trim(), e.namespace && typeof e.namespace == "string" && (s.namespace = e.namespace.trim() || !0), e.value)) {
3778
+ let { value: r } = s;
3779
+ /\s[a-zA-Z]$/u.test(r) && (s.__prettier_attribute_selector_flag = he(0, r, -1), r = r.slice(0, -1)), r = r.trim(), r = r.replace(/^(?<quote>["'])(?<value>.*?)\k<quote>$/u, "$<value>"), s.value = r, delete s.quoted;
3780
+ }
3781
+ if ((e.type === "media-value" || e.type === "media-type" || e.type === "value-number" || e.type === "selector-root-invalid" || e.type === "selector-class" || e.type === "selector-combinator" || e.type === "selector-tag") && e.value && (s.value = D(0, s.value, /([\d+.e-]+)([a-z]*)/giu, (r, a, o) => {
3782
+ let u = Number(a);
3783
+ return Number.isNaN(u) ? r : u + o.toLowerCase();
3784
+ })), e.type === "selector-tag") {
3785
+ let r = s.value.toLowerCase();
3786
+ ["from", "to"].includes(r) && (s.value = r);
3787
+ }
3788
+ if (e.type === "css-atrule" && e.name.toLowerCase() === "supports" && delete s.value, e.type === "selector-unknown" && delete s.value, e.type === "value-comma_group") {
3789
+ let r = e.groups.findIndex((a) => a.type === "value-number" && a.unit === "...");
3790
+ r !== -1 && (s.groups[r].unit = "", s.groups.splice(r + 1, 0, { type: "value-word", value: "...", isColor: !1, isHex: !1 }));
3791
+ }
3792
+ if (e.type === "value-comma_group" && e.groups.some((r) => r.type === "value-atword" && (r.value.endsWith("[") || r.value.endsWith("]")) || r.type === "value-word" && (r.value.startsWith("]") || r.value.startsWith("[")))) return { type: "value-atword", value: e.groups.map((r) => r.value).join(""), group: { open: null, close: null, groups: [], type: "value-paren_group" } };
3793
+ }
3794
+ Or.ignoredProperties = Vn;
3795
+ function Gn(e) {
3796
+ return D(0, D(0, e, "'", '"'), /\\([^\da-f])/giu, "$1");
3797
+ }
3798
+ var Hn = Or;
3799
+ function Tr() {
3800
+ }
3801
+ Tr.getVisitorKeys = (e) => e.type === "css-root" ? ["frontMatter"] : [];
3802
+ var Jn = Tr, Ne = null;
3803
+ function Le(e) {
3804
+ if (Ne !== null && typeof Ne.property) {
3805
+ let s = Ne;
3806
+ return Ne = Le.prototype = null, s;
3807
+ }
3808
+ return Ne = Le.prototype = e ?? /* @__PURE__ */ Object.create(null), new Le();
3809
+ }
3810
+ var Qn = 10;
3811
+ for (let e = 0; e <= Qn; e++) Le();
3812
+ function Zn(e) {
3813
+ return Le(e);
3814
+ }
3815
+ function Yn(e, s = "type") {
3816
+ Zn(e);
3817
+ function i(r) {
3818
+ let a = r[s], o = e[a];
3819
+ if (!Array.isArray(o)) throw Object.assign(new Error(`Missing visitor keys for '${a}'.`), { node: r });
3820
+ return o;
3821
+ }
3822
+ return i;
3823
+ }
3824
+ var Kn = Yn, N = [[], ["nodes"], ["group"]], Xn = { "css-root": ["frontMatter", "nodes"], "css-comment": N[0], "css-rule": ["selector", "nodes"], "css-decl": ["value", "selector", "nodes"], "css-atrule": ["selector", "params", "value", "nodes"], "media-query-list": N[1], "media-query": N[1], "media-type": N[0], "media-feature-expression": N[1], "media-feature": N[0], "media-colon": N[0], "media-value": N[0], "media-keyword": N[0], "media-url": N[0], "media-unknown": N[0], "selector-root": N[1], "selector-selector": N[1], "selector-comment": N[0], "selector-string": N[0], "selector-tag": N[0], "selector-id": N[0], "selector-class": N[0], "selector-attribute": N[0], "selector-combinator": N[1], "selector-universal": N[0], "selector-pseudo": N[1], "selector-nesting": N[0], "selector-unknown": N[0], "value-value": N[2], "value-root": N[2], "value-comment": N[0], "value-comma_group": ["groups"], "value-paren_group": ["open", "groups", "close"], "value-func": N[2], "value-paren": N[0], "value-number": N[0], "value-operator": N[0], "value-word": N[0], "value-colon": N[0], "value-comma": N[0], "value-string": N[0], "value-atword": N[0], "value-unicode-range": N[0], "value-unknown": N[0] }, eo = Kn(Xn), to = eo;
3825
+ function ro(e, s) {
3826
+ let i = 0;
3827
+ for (let r = 0; r < e.line - 1; ++r) i = s.indexOf(`
3828
+ `, i) + 1;
3829
+ return i + e.column;
3830
+ }
3831
+ var _r = ro;
3832
+ function jt(e) {
3833
+ return (s, i, r) => {
3834
+ let a = !!r?.backwards;
3835
+ if (i === !1) return !1;
3836
+ let { length: o } = s, u = i;
3837
+ for (; u >= 0 && u < o; ) {
3838
+ let p = s.charAt(u);
3839
+ if (e instanceof RegExp) {
3840
+ if (!e.test(p)) return u;
3841
+ } else if (!e.includes(p)) return u;
3842
+ a ? u-- : u++;
3843
+ }
3844
+ return u === -1 || u === o ? u : !1;
3845
+ };
3846
+ }
3847
+ var Cr = jt(" "), so = jt(",; "), Sr = jt(/[^\n\r]/u);
3848
+ function Ar(e, s) {
3849
+ let { value: i } = e;
3850
+ return i === "-" || i === "--" || i.charAt(0) !== "-" ? s : s - (i.charAt(1) === "-" ? 2 : 1);
3851
+ }
3852
+ function Er(e, s) {
3853
+ if (typeof e.source?.start?.offset == "number") return e.source.start.offset;
3854
+ if (typeof e.sourceIndex == "number") return e.type === "value-word" ? Ar(e, e.sourceIndex) : e.sourceIndex;
3855
+ if (e.source?.start) return _r(e.source.start, s);
3856
+ throw Object.assign(new Error("Can not locate node."), { node: e });
3857
+ }
3858
+ function It(e, s) {
3859
+ if (e.type === "css-comment" && e.inline) return Sr(s, e.source.startOffset);
3860
+ if (typeof e.source?.end?.offset == "number") return e.source.end.offset;
3861
+ if (e.source) {
3862
+ if (e.source.end) {
3863
+ let i = _r(e.source.end, s);
3864
+ return e.type === "value-word" ? Ar(e, i) : i;
3865
+ }
3866
+ if (tt(e.nodes)) return It(he(0, e.nodes, -1), s);
3867
+ }
3868
+ return null;
3869
+ }
3870
+ function jr(e, s) {
3871
+ e.source && (e.source.startOffset = Er(e, s), e.source.endOffset = It(e, s));
3872
+ for (let i in e) {
3873
+ let r = e[i];
3874
+ i === "source" || !r || typeof r != "object" || (r.type === "value-root" || r.type === "value-unknown" ? Ir(r, no(e), r.text || r.value) : jr(r, s));
3875
+ }
3876
+ }
3877
+ function Ir(e, s, i) {
3878
+ e.source && (e.source.startOffset = Er(e, i) + s, e.source.endOffset = It(e, i) + s);
3879
+ for (let r in e) {
3880
+ let a = e[r];
3881
+ r === "source" || !a || typeof a != "object" || Ir(a, s, i);
3882
+ }
3883
+ }
3884
+ function no(e) {
3885
+ let s = e.source.startOffset;
3886
+ return typeof e.prop == "string" && (s += e.prop.length), e.type === "css-atrule" && typeof e.name == "string" && (s += 1 + e.name.length + e.raws.afterName.match(/^\s*:?\s*/u)[0].length), e.type !== "css-atrule" && typeof e.raws?.between == "string" && (s += e.raws.between.length), s;
3887
+ }
3888
+ function oo(e) {
3889
+ let s = "initial", i = "initial", r, a = !1, o = [];
3890
+ for (let u = 0; u < e.length; u++) {
3891
+ let p = e[u];
3892
+ switch (s) {
3893
+ case "initial":
3894
+ if (p === "'") {
3895
+ s = "single-quotes";
3896
+ continue;
3897
+ }
3898
+ if (p === '"') {
3899
+ s = "double-quotes";
3900
+ continue;
3901
+ }
3902
+ if ((p === "u" || p === "U") && e.slice(u, u + 4).toLowerCase() === "url(") {
3903
+ s = "url", u += 3;
3904
+ continue;
3905
+ }
3906
+ if (p === "*" && e[u - 1] === "/") {
3907
+ s = "comment-block";
3908
+ continue;
3909
+ }
3910
+ if (p === "/" && e[u - 1] === "/") {
3911
+ s = "comment-inline", r = u - 1;
3912
+ continue;
3913
+ }
3914
+ continue;
3915
+ case "single-quotes":
3916
+ if (p === "'" && e[u - 1] !== "\\" && (s = i, i = "initial"), p === `
3917
+ ` || p === "\r") return e;
3918
+ continue;
3919
+ case "double-quotes":
3920
+ if (p === '"' && e[u - 1] !== "\\" && (s = i, i = "initial"), p === `
3921
+ ` || p === "\r") return e;
3922
+ continue;
3923
+ case "url":
3924
+ if (p === ")" && (s = "initial"), p === `
3925
+ ` || p === "\r") return e;
3926
+ if (p === "'") {
3927
+ s = "single-quotes", i = "url";
3928
+ continue;
3929
+ }
3930
+ if (p === '"') {
3931
+ s = "double-quotes", i = "url";
3932
+ continue;
3933
+ }
3934
+ continue;
3935
+ case "comment-block":
3936
+ p === "/" && e[u - 1] === "*" && (s = "initial");
3937
+ continue;
3938
+ case "comment-inline":
3939
+ (p === '"' || p === "'" || p === "*") && (a = !0), (p === `
3940
+ ` || p === "\r") && (a && o.push([r, u]), s = "initial", a = !1);
3941
+ continue;
3942
+ }
3943
+ }
3944
+ for (let [u, p] of o) e = e.slice(0, u) + D(0, e.slice(u, p), /["'*]/gu, " ") + e.slice(p);
3945
+ return e;
3946
+ }
3947
+ var H = (e) => e.source?.startOffset, J = (e) => e.source?.endOffset, io = /\*\/$/, ao = /^\/\*\*?/, Pr = /^\s*(\/\*\*?(.|\r?\n)*?\*\/)/, uo = /(^|\s+)\/\/([^\n\r]*)/g, Mr = /^(\r?\n)+/, lo = /(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g, $r = /(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g, co = /(\r?\n|^) *\* ?/g, Rr = [];
3948
+ function po(e) {
3949
+ let s = e.match(Pr);
3950
+ return s ? s[0].trimStart() : "";
3951
+ }
3952
+ function ho(e) {
3953
+ let s = e.match(Pr)?.[0];
3954
+ return s == null ? e : e.slice(s.length);
3955
+ }
3956
+ function fo(e) {
3957
+ e = D(0, e.replace(ao, "").replace(io, ""), co, "$1");
3958
+ let s = "";
3959
+ for (; s !== e; ) s = e, e = D(0, e, lo, `
3960
+ $1 $2
3961
+ `);
3962
+ e = e.replace(Mr, "").trimEnd();
3963
+ let i = /* @__PURE__ */ Object.create(null), r = D(0, e, $r, "").replace(Mr, "").trimEnd(), a;
3964
+ for (; a = $r.exec(e); ) {
3965
+ let o = D(0, a[2], uo, "");
3966
+ if (typeof i[a[1]] == "string" || Array.isArray(i[a[1]])) {
3967
+ let u = i[a[1]];
3968
+ i[a[1]] = [...Rr, ...Array.isArray(u) ? u : [u], o];
3969
+ } else i[a[1]] = o;
3970
+ }
3971
+ return { comments: r, pragmas: i };
3972
+ }
3973
+ function mo({ comments: e = "", pragmas: s = {} }) {
3974
+ let i = Object.keys(s), r = i.flatMap((o) => Nr(o, s[o])).map((o) => ` * ${o}
3975
+ `).join("");
3976
+ if (!e) {
3977
+ if (i.length === 0) return "";
3978
+ if (i.length === 1 && !Array.isArray(s[i[0]])) {
3979
+ let o = s[i[0]];
3980
+ return `/** ${Nr(i[0], o)[0]} */`;
3981
+ }
3982
+ }
3983
+ let a = e.split(`
3984
+ `).map((o) => ` * ${o}`).join(`
3985
+ `) + `
3986
+ `;
3987
+ return `/**
3988
+ ` + (e ? a : "") + (e && i.length > 0 ? ` *
3989
+ ` : "") + r + " */";
3990
+ }
3991
+ function Nr(e, s) {
3992
+ return [...Rr, ...Array.isArray(s) ? s : [s]].map((i) => `@${e} ${i}`.trim());
3993
+ }
3994
+ var yo = ["noformat", "noprettier"], vo = ["format", "prettier"], go = "format";
3995
+ function wo(e) {
3996
+ if (!e.startsWith("#!")) return "";
3997
+ let s = e.indexOf(`
3998
+ `);
3999
+ return s === -1 ? e : e.slice(0, s);
4000
+ }
4001
+ var bo = wo;
4002
+ function Pt(e) {
4003
+ let s = bo(e);
4004
+ s && (e = e.slice(s.length + 1));
4005
+ let i = po(e), { pragmas: r, comments: a } = fo(i);
4006
+ return { shebang: s, text: e, pragmas: r, comments: a };
4007
+ }
4008
+ function xo(e) {
4009
+ let { pragmas: s } = Pt(e);
4010
+ return vo.some((i) => Object.prototype.hasOwnProperty.call(s, i));
4011
+ }
4012
+ function ko(e) {
4013
+ let { pragmas: s } = Pt(e);
4014
+ return yo.some((i) => Object.prototype.hasOwnProperty.call(s, i));
4015
+ }
4016
+ function Oo(e) {
4017
+ let { shebang: s, text: i, pragmas: r, comments: a } = Pt(e), o = ho(i), u = mo({ pragmas: { [go]: "", ...r }, comments: a.trimStart() });
4018
+ return (s ? `${s}
4019
+ ` : "") + u + (o.startsWith(`
4020
+ `) ? `
4021
+ ` : `
4022
+
4023
+ `) + o;
4024
+ }
4025
+ var To = (e) => xo(rt(e).content), _o = (e) => ko(rt(e).content), Co = (e) => {
4026
+ let { frontMatter: s, content: i } = rt(e);
4027
+ return (s ? s.raw + `
4028
+
4029
+ ` : "") + Oo(i);
4030
+ }, So = /* @__PURE__ */ new Set(["red", "green", "blue", "alpha", "a", "rgb", "hue", "h", "saturation", "s", "lightness", "l", "whiteness", "w", "blackness", "b", "tint", "shade", "blend", "blenda", "contrast", "hsl", "hsla", "hwb", "hwba"]);
4031
+ function Ao(e) {
4032
+ return e.findAncestor((s) => s.type === "css-decl")?.prop?.toLowerCase();
4033
+ }
4034
+ var Eo = /* @__PURE__ */ new Set(["initial", "inherit", "unset", "revert"]);
4035
+ function jo(e) {
4036
+ return Eo.has(e.toLowerCase());
4037
+ }
4038
+ function Io(e, s) {
4039
+ return e.findAncestor((i) => i.type === "css-atrule")?.name?.toLowerCase().endsWith("keyframes") && ["from", "to"].includes(s.toLowerCase());
4040
+ }
4041
+ function We(e) {
4042
+ return e.includes("$") || e.includes("@") || e.includes("#") || e.startsWith("%") || e.startsWith("--") || e.startsWith(":--") || e.includes("(") && e.includes(")") ? e : e.toLowerCase();
4043
+ }
4044
+ function st(e, s) {
4045
+ return e.findAncestor((i) => i.type === "value-func")?.value?.toLowerCase() === s;
4046
+ }
4047
+ function Po(e) {
4048
+ return e.hasAncestor((s) => {
4049
+ if (s.type !== "css-rule") return !1;
4050
+ let i = s.raws?.selector;
4051
+ return i && (i.startsWith(":import") || i.startsWith(":export"));
4052
+ });
4053
+ }
4054
+ function ze(e, s) {
4055
+ let i = Array.isArray(s) ? s : [s], r = e.findAncestor((a) => a.type === "css-atrule");
4056
+ return r && i.includes(r.name.toLowerCase());
4057
+ }
4058
+ function Mo(e) {
4059
+ let { node: s } = e;
4060
+ return s.groups[0]?.value === "url" && s.groups.length === 2 && e.findAncestor((i) => i.type === "css-atrule")?.name === "import";
4061
+ }
4062
+ function $o(e) {
4063
+ return e.type === "value-func" && e.value.toLowerCase() === "url";
4064
+ }
4065
+ function Ro(e) {
4066
+ return e.type === "value-func" && e.value.toLowerCase() === "var";
4067
+ }
4068
+ function No(e) {
4069
+ let { selector: s } = e;
4070
+ return s ? typeof s == "string" && /^@.+:.*$/u.test(s) || s.value && /^@.+:.*$/u.test(s.value) : !1;
4071
+ }
4072
+ function Lo(e) {
4073
+ return e.type === "value-word" && ["from", "through", "end"].includes(e.value);
4074
+ }
4075
+ function Wo(e) {
4076
+ return e.type === "value-word" && ["and", "or", "not"].includes(e.value);
4077
+ }
4078
+ function zo(e) {
4079
+ return e.type === "value-word" && e.value === "in";
4080
+ }
4081
+ function Mt(e) {
4082
+ return e.type === "value-operator" && e.value === "*";
4083
+ }
4084
+ function ge(e) {
4085
+ return e?.type === "value-operator" && e.value === "/";
4086
+ }
4087
+ function oe(e) {
4088
+ return e.type === "value-operator" && e.value === "+";
4089
+ }
4090
+ function we(e) {
4091
+ return e.type === "value-operator" && e.value === "-";
4092
+ }
4093
+ function Bo(e) {
4094
+ return e.type === "value-operator" && e.value === "%";
4095
+ }
4096
+ function $t(e) {
4097
+ return Mt(e) || ge(e) || oe(e) || we(e) || Bo(e);
4098
+ }
4099
+ function qo(e) {
4100
+ return e.type === "value-word" && ["==", "!="].includes(e.value);
4101
+ }
4102
+ function Do(e) {
4103
+ return e.type === "value-word" && ["<", ">", "<=", ">="].includes(e.value);
4104
+ }
4105
+ function Rt(e, s) {
4106
+ return s.parser === "scss" && e.type === "css-atrule" && ["if", "else", "for", "each", "while"].includes(e.name);
4107
+ }
4108
+ function Lr(e) {
4109
+ return e.raws?.params && /^\(\s*\)$/u.test(e.raws.params);
4110
+ }
4111
+ function Nt(e) {
4112
+ return e.name.startsWith("prettier-placeholder");
4113
+ }
4114
+ function Fo(e) {
4115
+ return e.prop.startsWith("@prettier-placeholder");
4116
+ }
4117
+ function Uo(e, s) {
4118
+ return e.value === "$$" && e.type === "value-func" && s?.type === "value-word" && !s.raws.before;
4119
+ }
4120
+ function Vo(e) {
4121
+ return e.value?.type === "value-root" && e.value.group?.type === "value-value" && e.prop.toLowerCase() === "composes";
4122
+ }
4123
+ function Go(e) {
4124
+ return e.value?.group?.group?.type === "value-paren_group" && e.value.group.group.open !== null && e.value.group.group.close !== null;
4125
+ }
4126
+ function ie(e) {
4127
+ return e?.raws?.before === "";
4128
+ }
4129
+ function Lt(e) {
4130
+ return e.type === "value-comma_group" && e.groups?.[1]?.type === "value-colon";
4131
+ }
4132
+ function Wt(e) {
4133
+ return e.type === "value-paren_group" && e.groups?.[0] && Lt(e.groups[0]);
4134
+ }
4135
+ function Wr(e, s) {
4136
+ if (s.parser !== "scss") return !1;
4137
+ let { node: i } = e;
4138
+ if (i.groups.length === 0) return !1;
4139
+ let r = e.grandparent;
4140
+ return !Wt(i) && !(r && Wt(r)) ? !1 : !!(e.findAncestor((a) => a.type === "css-decl")?.prop?.startsWith("$") || Wt(r) || r.type === "value-func");
4141
+ }
4142
+ function nt(e) {
4143
+ return e.type === "value-comment" && e.inline;
4144
+ }
4145
+ function zt(e) {
4146
+ return e.type === "value-word" && e.value === "#";
4147
+ }
4148
+ function zr(e) {
4149
+ return e.type === "value-word" && e.value === "{";
4150
+ }
4151
+ function Bt(e) {
4152
+ return e.type === "value-word" && e.value === "}";
4153
+ }
4154
+ function ot(e) {
4155
+ return ["value-word", "value-atword"].includes(e.type);
4156
+ }
4157
+ function qt(e) {
4158
+ return e?.type === "value-colon";
4159
+ }
4160
+ function Ho(e, s) {
4161
+ if (!Lt(s)) return !1;
4162
+ let { groups: i } = s, r = i.indexOf(e);
4163
+ return r === -1 ? !1 : qt(i[r + 1]);
4164
+ }
4165
+ function Jo(e) {
4166
+ return e.value && ["not", "and", "or"].includes(e.value.toLowerCase());
4167
+ }
4168
+ function Qo(e) {
4169
+ return e.type !== "value-func" ? !1 : So.has(e.value.toLowerCase());
4170
+ }
4171
+ function Be(e) {
4172
+ return /\/\//u.test(e.split(/[\n\r]/u).pop());
4173
+ }
4174
+ function it(e) {
4175
+ return e?.type === "value-atword" && e.value.startsWith("prettier-placeholder-");
4176
+ }
4177
+ function Zo(e, s) {
4178
+ if (e.open?.value !== "(" || e.close?.value !== ")" || e.groups.some((i) => i.type !== "value-comma_group")) return !1;
4179
+ if (s.type === "value-comma_group") {
4180
+ let i = s.groups.indexOf(e) - 1, r = s.groups[i];
4181
+ if (r?.type === "value-word" && r.value === "with") return !0;
4182
+ }
4183
+ return !1;
4184
+ }
4185
+ function at(e) {
4186
+ return e.type === "value-paren_group" && e.open?.value === "(" && e.close?.value === ")";
4187
+ }
4188
+ function Yo(e, s, i) {
4189
+ let { node: r } = e, a = e.parent, o = e.grandparent, u = Ao(e), p = u && a.type === "value-value" && (u === "grid" || u.startsWith("grid-template")), y = e.findAncestor((w) => w.type === "css-atrule"), m = y && Rt(y, s), n = r.groups.some((w) => nt(w)), t = e.map(i, "groups"), h = [""], c = st(e, "url"), d = !1, l = !1;
4190
+ for (let w = 0; w < r.groups.length; ++w) {
4191
+ let v = r.groups[w - 1], f = r.groups[w], g = r.groups[w + 1], T = r.groups[w + 2];
4192
+ if (nt(f) && !g) {
4193
+ h.push([h.pop(), jn([" ", t[w]])]);
4194
+ continue;
4195
+ }
4196
+ if (h.push([h.pop(), t[w]]), c) {
4197
+ (g && oe(g) || oe(f)) && h.push([h.pop(), " "]);
4198
+ continue;
4199
+ }
4200
+ if (ze(e, "forward") && f.type === "value-word" && f.value && v !== void 0 && v.type === "value-word" && v.value === "as" && g.type === "value-operator" && g.value === "*" || ze(e, "utility") && f.type === "value-word" && g && g.type === "value-operator" && g.value === "*" || !g || f.type === "value-word" && it(g) && J(f) === H(g)) continue;
4201
+ if (f.type === "value-string" && f.quoted) {
4202
+ let E = f.value.lastIndexOf("#{"), P = f.value.lastIndexOf("}");
4203
+ E !== -1 && P !== -1 ? d = E > P : E !== -1 ? d = !0 : P !== -1 && (d = !1);
4204
+ }
4205
+ if (d || qt(f) || qt(g) || f.type === "value-atword" && (f.value === "" || f.value.endsWith("[")) || g.type === "value-word" && g.value.startsWith("]") || f.value === "~" || s.parser === "less" && (g?.type === "value-word" && g.value === "[" || f.type === "value-word" && f.value === "[" && (g?.type === "value-atword" || g?.type === "value-word") || f.type === "value-word" && f.value === "][" && g?.type === "value-word") || f.type !== "value-string" && f.value && f.value.includes("\\") && g && g.type !== "value-comment" || v?.value && v.value.indexOf("\\") === v.value.length - 1 && f.type === "value-operator" && f.value === "/" || f.value === "\\" || Uo(f, g) || zt(f) || zr(f) || Bt(g) || zr(g) && ie(g) || Bt(f) && ie(g) || f.value === "--" && zt(g)) continue;
4206
+ let b = $t(f), x = $t(g);
4207
+ if ((b && zt(g) || x && Bt(f)) && ie(g) || !v && ge(f) || st(e, "calc") && (oe(f) || oe(g) || we(f) || we(g)) && ie(g)) continue;
4208
+ let k = (oe(f) || we(f)) && w === 0 && (g.type === "value-number" || g.isHex) && o && Qo(o) && !ie(g);
4209
+ if (s.parser === "scss" && b && f.value === "-" && g.type === "value-func" && J(f) !== H(g)) {
4210
+ h.push([h.pop(), " "]);
4211
+ continue;
4212
+ }
4213
+ let O = T?.type === "value-func" || T && ot(T) || f.type === "value-func" || ot(f), A = g.type === "value-func" || ot(g) || v?.type === "value-func" || v && ot(v);
4214
+ if (!(!(Mt(g) || Mt(f)) && !st(e, "calc") && !k && (ge(g) && !O || ge(f) && !A || oe(g) && !O || oe(f) && !A || we(g) || we(f)) && (ie(g) || b && (!v || v && $t(v)))) && !((s.parser === "scss" || s.parser === "less") && b && f.value === "-" && at(g) && J(f) === H(g.open) && g.open.value === "(")) {
4215
+ if (nt(f)) {
4216
+ if (a.type === "value-paren_group") {
4217
+ h.push($e(F), "");
4218
+ continue;
4219
+ }
4220
+ h.push(F, "");
4221
+ continue;
4222
+ }
4223
+ if (m && (qo(g) || Do(g) || Wo(g) || zo(f) || Lo(f))) {
4224
+ h.push([h.pop(), " "]);
4225
+ continue;
4226
+ }
4227
+ if (y && y.name.toLowerCase() === "namespace") {
4228
+ h.push([h.pop(), " "]);
4229
+ continue;
4230
+ }
4231
+ if (p) {
4232
+ f.source && g.source && f.source.start.line !== g.source.start.line ? (h.push(F, ""), l = !0) : h.push([h.pop(), " "]);
4233
+ continue;
4234
+ }
4235
+ if (!(u && (u === "font" || u.startsWith("--")) && (ge(g) && ie(g) && Br(f) || ge(f) && ie(f) && Br(v)))) {
4236
+ if (x) {
4237
+ h.push([h.pop(), " "]);
4238
+ continue;
4239
+ }
4240
+ if (g?.value !== "..." && !(it(f) && it(g) && J(f) === H(g))) {
4241
+ if (it(f) && at(g) && J(f) === H(g.open)) {
4242
+ h.push(X, "");
4243
+ continue;
4244
+ }
4245
+ if (f.value === "with" && at(g)) {
4246
+ h = [[et(h), " "]];
4247
+ continue;
4248
+ }
4249
+ if (!(f.value?.endsWith("#") && g.value === "{" && at(g.group)) && !(nt(g) && !T)) {
4250
+ if (!y && f.type === "value-comment" && !f.inline && r.groups.slice(0, w).every((E) => E.type === "value-comment")) {
4251
+ h.push($e(V), "");
4252
+ continue;
4253
+ }
4254
+ h.push(V, "");
4255
+ }
4256
+ }
4257
+ }
4258
+ }
4259
+ }
4260
+ return n && h.push([h.pop(), At]), l && h.unshift("", F), m ? K(Z(h)) : Mo(e) ? K(et(h)) : K(Z(et(h)));
4261
+ }
4262
+ function Br(e) {
4263
+ if (e?.type === "value-number") return !0;
4264
+ if (e?.type !== "value-func") return !1;
4265
+ let s = e.value.toLowerCase();
4266
+ return s === "var" || s === "calc" || s === "min" || s === "max" || s === "clamp" || s.startsWith("--");
4267
+ }
4268
+ var Ko = Yo;
4269
+ function Xo(e) {
4270
+ return e.length === 1 ? e : e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/u, "$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/u, "$1").replace(/^([+-])?\./u, "$10.").replace(/(\.\d+?)0+(?=e|$)/u, "$1").replace(/\.(?=e|$)/u, "");
4271
+ }
4272
+ var ei = Xo, Dt = /* @__PURE__ */ new Map([["em", "em"], ["rem", "rem"], ["ex", "ex"], ["rex", "rex"], ["cap", "cap"], ["rcap", "rcap"], ["ch", "ch"], ["rch", "rch"], ["ic", "ic"], ["ric", "ric"], ["lh", "lh"], ["rlh", "rlh"], ["vw", "vw"], ["svw", "svw"], ["lvw", "lvw"], ["dvw", "dvw"], ["vh", "vh"], ["svh", "svh"], ["lvh", "lvh"], ["dvh", "dvh"], ["vi", "vi"], ["svi", "svi"], ["lvi", "lvi"], ["dvi", "dvi"], ["vb", "vb"], ["svb", "svb"], ["lvb", "lvb"], ["dvb", "dvb"], ["vmin", "vmin"], ["svmin", "svmin"], ["lvmin", "lvmin"], ["dvmin", "dvmin"], ["vmax", "vmax"], ["svmax", "svmax"], ["lvmax", "lvmax"], ["dvmax", "dvmax"], ["cm", "cm"], ["mm", "mm"], ["q", "Q"], ["in", "in"], ["pt", "pt"], ["pc", "pc"], ["px", "px"], ["deg", "deg"], ["grad", "grad"], ["rad", "rad"], ["turn", "turn"], ["s", "s"], ["ms", "ms"], ["hz", "Hz"], ["khz", "kHz"], ["dpi", "dpi"], ["dpcm", "dpcm"], ["dppx", "dppx"], ["x", "x"], ["cqw", "cqw"], ["cqh", "cqh"], ["cqi", "cqi"], ["cqb", "cqb"], ["cqmin", "cqmin"], ["cqmax", "cqmax"], ["fr", "fr"]]);
4273
+ function qr(e) {
4274
+ let s = e.toLowerCase();
4275
+ return Dt.has(s) ? Dt.get(s) : e;
4276
+ }
4277
+ var Dr = /(["'])(?:(?!\1)[^\\]|\\.)*\1/gsu, ti = /(?:\d*\.\d+|\d+\.?)(?:e[+-]?\d+)?/giu, ri = /[a-z]+/giu, si = /[$@]?[_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/giu, ni = new RegExp(Dr.source + `|(${si.source})?(${ti.source})(${ri.source})?`, "giu");
4278
+ function re(e, s) {
4279
+ return D(0, e, Dr, (i) => xr(i, s));
4280
+ }
4281
+ function oi(e, s) {
4282
+ let i = s.singleQuote ? "'" : '"', r = "", a = e.match(/^(?<value>.+?)\s+(?<flag>[a-zA-Z])$/u);
4283
+ return a && ({ value: e, flag: r } = a.groups), (e.includes('"') || e.includes("'") ? e : i + e + i) + (r ? ` ${r}` : "");
4284
+ }
4285
+ function be(e) {
4286
+ return D(0, e, ni, (s, i, r, a, o) => !r && a && (o ?? (o = ""), o = o.toLowerCase(), !o || o === "n" || Dt.has(o)) ? Fr(a) + (o ? qr(o) : "") : s);
4287
+ }
4288
+ function Fr(e) {
4289
+ return ei(e).replace(/\.0(?=$|e)/u, "");
4290
+ }
4291
+ function ii(e) {
4292
+ return e.trailingComma === "es5" || e.trailingComma === "all";
4293
+ }
4294
+ var Ur = (e) => e === `
4295
+ ` || e === "\r" || e === "\u2028" || e === "\u2029";
4296
+ function ai(e, s, i) {
4297
+ let r = !!i?.backwards;
4298
+ if (s === !1) return !1;
4299
+ let a = e.charAt(s);
4300
+ if (r) {
4301
+ if (e.charAt(s - 1) === "\r" && a === `
4302
+ `) return s - 2;
4303
+ if (Ur(a)) return s - 1;
4304
+ } else {
4305
+ if (a === "\r" && e.charAt(s + 1) === `
4306
+ `) return s + 2;
4307
+ if (Ur(a)) return s + 1;
4308
+ }
4309
+ return s;
4310
+ }
4311
+ var Vr = ai;
4312
+ function ui(e, s, i = {}) {
4313
+ let r = Cr(e, i.backwards ? s - 1 : s, i), a = Vr(e, r, i);
4314
+ return r !== a;
4315
+ }
4316
+ var Gr = ui;
4317
+ function li(e, s) {
4318
+ if (s === !1) return !1;
4319
+ if (e.charAt(s) === "/" && e.charAt(s + 1) === "*") {
4320
+ for (let i = s + 2; i < e.length; ++i) if (e.charAt(i) === "*" && e.charAt(i + 1) === "/") return i + 2;
4321
+ }
4322
+ return s;
4323
+ }
4324
+ var ci = li;
4325
+ function pi(e, s) {
4326
+ return s === !1 ? !1 : e.charAt(s) === "/" && e.charAt(s + 1) === "/" ? Sr(e, s) : s;
4327
+ }
4328
+ var hi = pi;
4329
+ function fi(e, s) {
4330
+ let i = null, r = s;
4331
+ for (; r !== i; ) i = r, r = so(e, r), r = ci(e, r), r = Cr(e, r);
4332
+ return r = hi(e, r), r = Vr(e, r), r !== !1 && Gr(e, r);
4333
+ }
4334
+ var Hr = fi;
4335
+ function di({ node: e, parent: s }, i) {
4336
+ return !!(e.source && i.originalText.slice(H(e), H(s.close)).trimEnd().endsWith(","));
4337
+ }
4338
+ function mi(e, s) {
4339
+ return Ro(e.grandparent) && di(e, s) ? "," : e.node.type !== "value-comment" && !(e.node.type === "value-comma_group" && e.node.groups.every((i) => i.type === "value-comment")) && ii(s) && e.callParent(() => Wr(e, s)) ? gr(",") : "";
4340
+ }
4341
+ function yi(e, s, i) {
4342
+ let { node: r, parent: a } = e, o = e.map(({ node: c }) => typeof c == "string" ? c : i(), "groups");
4343
+ if (a && $o(a) && (r.groups.length === 1 || r.groups.length > 0 && r.groups[0].type === "value-comma_group" && r.groups[0].groups.length > 0 && r.groups[0].groups[0].type === "value-word" && r.groups[0].groups[0].value.startsWith("data:"))) return [r.open ? i("open") : "", ne(",", o), r.close ? i("close") : ""];
4344
+ if (!r.open) {
4345
+ let c = Jr(e), d = gi(ne(",", o), 2), l = ne(c ? F : V, d);
4346
+ return Z(c ? [F, l] : K([vi(e) ? X : "", et(l)]));
4347
+ }
4348
+ let u = e.map(({ node: c, isLast: d, index: l }) => {
4349
+ let w = o[l];
4350
+ Lt(c) && c.type === "value-comma_group" && c.groups && c.groups[0].type !== "value-paren_group" && c.groups[2]?.type === "value-paren_group" && Me(w) === Ye && Me(w.contents) === Ze && Me(w.contents.contents) === Ke && (w = K($e(w)));
4351
+ let v = [w, d ? mi(e, s) : ","];
4352
+ if (!d && c.type === "value-comma_group" && tt(c.groups)) {
4353
+ let f = he(0, c.groups, -1);
4354
+ !f.source && f.close && (f = f.close), f.source && Hr(s.originalText, J(f)) && v.push(F);
4355
+ }
4356
+ return v;
4357
+ }, "groups"), p = Ho(r, a), y = Zo(r, a), m = Wr(e, s), n = y || m && !p, t = y || p, h = K([r.open ? i("open") : "", Z([X, ne(V, u)]), X, r.close ? i("close") : ""], { shouldBreak: n });
4358
+ return t ? $e(h) : h;
4359
+ }
4360
+ function Jr(e) {
4361
+ return e.match((s) => s.type === "value-paren_group" && !s.open && s.groups.some((i) => i.type === "value-comma_group"), (s, i) => i === "group" && s.type === "value-value", (s, i) => i === "group" && s.type === "value-root", (s, i) => i === "value" && (s.type === "css-decl" && !s.prop.startsWith("--") || s.type === "css-atrule" && s.variable));
4362
+ }
4363
+ function vi(e) {
4364
+ return e.match((s) => s.type === "value-paren_group" && !s.open, (s, i) => i === "group" && s.type === "value-value", (s, i) => i === "group" && s.type === "value-root", (s, i) => i === "value" && s.type === "css-decl");
4365
+ }
4366
+ function gi(e, s) {
4367
+ let i = [];
4368
+ for (let r = 0; r < e.length; r += s) i.push(e.slice(r, r + s));
4369
+ return i;
4370
+ }
4371
+ function wi(e, s, i) {
4372
+ let r = [];
4373
+ return e.each(() => {
4374
+ let { node: a, previous: o } = e;
4375
+ if (o?.type === "css-comment" && o.text.trim() === "prettier-ignore" ? r.push(s.originalText.slice(H(a), J(a))) : r.push(i()), e.isLast) return;
4376
+ let { next: u } = e;
4377
+ u.type === "css-comment" && !Gr(s.originalText, H(u), { backwards: !0 }) && !Et(a) || u.type === "css-atrule" && u.name === "else" && a.type !== "css-comment" ? r.push(" ") : (r.push(s.__isHTMLStyleAttribute ? V : F), Hr(s.originalText, J(a)) && !Et(a) && r.push(F));
4378
+ }, "nodes"), r;
4379
+ }
4380
+ var qe = wi;
4381
+ function bi(e, s, i) {
4382
+ let { node: r } = e;
4383
+ switch (r.type) {
4384
+ case "css-root": {
4385
+ let a = qe(e, s, i), o = r.raws.after.trim();
4386
+ return o.startsWith(";") && (o = o.slice(1).trim()), [r.frontMatter ? [i("frontMatter"), F, r.nodes.length > 0 ? F : ""] : "", a, o ? ` ${o}` : "", r.nodes.length > 0 ? F : ""];
4387
+ }
4388
+ case "css-comment": {
4389
+ let a = r.inline || r.raws.inline, o = s.originalText.slice(H(r), J(r));
4390
+ return a ? o.trimEnd() : o;
4391
+ }
4392
+ case "css-rule":
4393
+ return [i("selector"), r.important ? " !important" : "", r.nodes ? [r.selector?.type === "selector-unknown" && Be(r.selector.value) ? V : r.selector ? " " : "", "{", r.nodes.length > 0 ? Z([F, qe(e, s, i)]) : "", F, "}", No(r) ? ";" : ""] : ";"];
4394
+ case "css-decl": {
4395
+ let a = e.parent, { between: o } = r.raws, u = o.trim(), p = u === ":", y = typeof r.value == "string" && /^ *$/u.test(r.value), m = typeof r.value == "string" ? r.value : i("value");
4396
+ return m = Vo(r) ? Cn(m) : m, !p && Be(u) && !e.call(() => Jr(e), "value", "group", "group") && (m = Z([F, $e(m)])), [D(0, r.raws.before, /[\s;]/gu, ""), a.type === "css-atrule" && a.variable || Po(e) ? r.prop : We(r.prop), u.startsWith("//") ? " " : "", u, r.extend || y ? "" : " ", s.parser === "less" && r.extend && r.selector ? ["extend(", i("selector"), ")"] : "", m, r.raws.important ? r.raws.important.replace(/\s*!\s*important/iu, " !important") : r.important ? " !important" : "", r.raws.scssDefault ? r.raws.scssDefault.replace(/\s*!default/iu, " !default") : r.scssDefault ? " !default" : "", r.raws.scssGlobal ? r.raws.scssGlobal.replace(/\s*!global/iu, " !global") : r.scssGlobal ? " !global" : "", r.nodes ? [" {", Z([X, qe(e, s, i)]), X, "}"] : Fo(r) && !a.raws.semicolon && s.originalText[J(r) - 1] !== ";" ? "" : s.__isHTMLStyleAttribute && e.isLast ? gr(";") : ";"];
4397
+ }
4398
+ case "css-atrule": {
4399
+ let a = e.parent, o = Nt(r) && !a.raws.semicolon && s.originalText[J(r) - 1] !== ";";
4400
+ if (s.parser === "less") {
4401
+ if (r.mixin) return [i("selector"), r.important ? " !important" : "", o ? "" : ";"];
4402
+ if (r.function) return [r.name, typeof r.params == "string" ? r.params : i("params"), o ? "" : ";"];
4403
+ if (r.variable) return ["@", r.name, ": ", r.value ? i("value") : "", r.raws.between.trim() ? r.raws.between.trim() + " " : "", r.nodes ? ["{", Z([r.nodes.length > 0 ? X : "", qe(e, s, i)]), X, "}"] : "", o ? "" : ";"];
4404
+ }
4405
+ let u = r.name === "import" && r.params?.type === "value-unknown" && r.params.value.endsWith(";");
4406
+ return ["@", Lr(r) || r.name.endsWith(":") || Nt(r) ? r.name : We(r.name), r.params ? [Lr(r) ? "" : Nt(r) ? r.raws.afterName === "" ? "" : r.name.endsWith(":") ? " " : /^\s*\n\s*\n/u.test(r.raws.afterName) ? [F, F] : /^\s*\n/u.test(r.raws.afterName) ? F : " " : " ", typeof r.params == "string" ? r.params : i("params")] : "", r.selector ? Z([" ", i("selector")]) : "", r.value ? K([" ", i("value"), Rt(r, s) ? Go(r) ? " " : V : ""]) : r.name === "else" ? " " : "", r.nodes ? [Rt(r, s) ? "" : r.selector && !r.selector.nodes && typeof r.selector.value == "string" && Be(r.selector.value) || !r.selector && typeof r.params == "string" && Be(r.params) ? V : " ", "{", Z([r.nodes.length > 0 ? X : "", qe(e, s, i)]), X, "}"] : o || u ? "" : ";"];
4407
+ }
4408
+ case "media-query-list": {
4409
+ let a = [];
4410
+ return e.each(({ node: o }) => {
4411
+ o.type === "media-query" && o.value === "" || a.push(i());
4412
+ }, "nodes"), K(Z(ne(V, a)));
4413
+ }
4414
+ case "media-query":
4415
+ return [ne(" ", e.map(i, "nodes")), e.isLast ? "" : ","];
4416
+ case "media-type":
4417
+ return be(re(r.value, s));
4418
+ case "media-feature-expression":
4419
+ return r.nodes ? ["(", ...e.map(i, "nodes"), ")"] : r.value;
4420
+ case "media-feature":
4421
+ return We(re(D(0, r.value, / +/gu, " "), s));
4422
+ case "media-colon":
4423
+ return [r.value, " "];
4424
+ case "media-value":
4425
+ return be(re(r.value, s));
4426
+ case "media-keyword":
4427
+ return re(r.value, s);
4428
+ case "media-url":
4429
+ return re(D(0, D(0, r.value, /^url\(\s+/giu, "url("), /\s+\)$/gu, ")"), s);
4430
+ case "media-unknown":
4431
+ return r.value;
4432
+ case "selector-root":
4433
+ return K([ze(e, "custom-selector") ? [e.findAncestor((a) => a.type === "css-atrule").customSelector, V] : "", ne([",", ze(e, ["extend", "custom-selector", "nest"]) ? V : F], e.map(i, "nodes"))]);
4434
+ case "selector-selector": {
4435
+ let a = r.nodes.length > 2;
4436
+ return K((a ? Z : (o) => o)(e.map(i, "nodes")));
4437
+ }
4438
+ case "selector-comment":
4439
+ return r.value;
4440
+ case "selector-string":
4441
+ return re(r.value, s);
4442
+ case "selector-tag":
4443
+ return [r.namespace ? [r.namespace === !0 ? "" : r.namespace.trim(), "|"] : "", e.previous?.type === "selector-nesting" ? r.value : be(Io(e, r.value) ? r.value.toLowerCase() : r.value)];
4444
+ case "selector-id":
4445
+ return ["#", r.value];
4446
+ case "selector-class":
4447
+ return [".", be(re(r.value, s))];
4448
+ case "selector-attribute":
4449
+ return ["[", r.namespace ? [r.namespace === !0 ? "" : r.namespace.trim(), "|"] : "", r.attribute.trim(), r.operator ?? "", r.value ? oi(re(r.value.trim(), s), s) : "", r.insensitive ? " i" : "", "]"];
4450
+ case "selector-combinator": {
4451
+ if (r.value === "+" || r.value === ">" || r.value === "~" || r.value === ">>>") {
4452
+ let u = e.parent;
4453
+ return [u.type === "selector-selector" && u.nodes[0] === r ? "" : V, r.value, e.isLast ? "" : " "];
4454
+ }
4455
+ let a = r.value.trim().startsWith("(") ? V : "", o = be(re(r.value.trim(), s)) || V;
4456
+ return [a, o];
4457
+ }
4458
+ case "selector-universal":
4459
+ return [r.namespace ? [r.namespace === !0 ? "" : r.namespace.trim(), "|"] : "", r.value];
4460
+ case "selector-pseudo":
4461
+ return [We(r.value), tt(r.nodes) ? K(["(", Z([X, ne([",", V], e.map(i, "nodes"))]), X, ")"]) : ""];
4462
+ case "selector-nesting":
4463
+ return r.value;
4464
+ case "selector-unknown": {
4465
+ if (e.findAncestor((u) => u.type === "css-rule")?.isSCSSNesterProperty) return be(re(We(r.value), s));
4466
+ let a = e.parent;
4467
+ if (a.raws?.selector) {
4468
+ let u = H(a), p = u + a.raws.selector.length;
4469
+ return s.originalText.slice(u, p).trim();
4470
+ }
4471
+ let o = e.grandparent;
4472
+ if (a.type === "value-paren_group" && o?.type === "value-func" && o.value === "selector") {
4473
+ let u = J(a.open) + 1, p = H(a.close), y = s.originalText.slice(u, p).trim();
4474
+ return Be(y) ? [At, y] : y;
4475
+ }
4476
+ return r.value;
4477
+ }
4478
+ case "value-value":
4479
+ case "value-root":
4480
+ return i("group");
4481
+ case "value-comment":
4482
+ return s.originalText.slice(H(r), J(r));
4483
+ case "value-comma_group":
4484
+ return Ko(e, s, i);
4485
+ case "value-paren_group":
4486
+ return yi(e, s, i);
4487
+ case "value-func":
4488
+ return [r.value, ze(e, "supports") && Jo(r) ? " " : "", i("group")];
4489
+ case "value-paren":
4490
+ return r.value;
4491
+ case "value-number":
4492
+ return [Fr(r.value), qr(r.unit)];
4493
+ case "value-operator":
4494
+ return r.value;
4495
+ case "value-word":
4496
+ return r.isColor && r.isHex || jo(r.value) ? r.value.toLowerCase() : r.value;
4497
+ case "value-colon": {
4498
+ let { previous: a } = e;
4499
+ return K([r.value, typeof a?.value == "string" && a.value.endsWith("\\") || st(e, "url") ? "" : V]);
4500
+ }
4501
+ case "value-string":
4502
+ return xr(r.raws.quote + r.value + r.raws.quote, s);
4503
+ case "value-atword":
4504
+ return ["@", r.value];
4505
+ case "value-unicode-range":
4506
+ return r.value;
4507
+ case "value-unknown":
4508
+ return r.value;
4509
+ default:
4510
+ throw new qn(r, "PostCSS");
4511
+ }
4512
+ }
4513
+ var xi = { features: { experimental_frontMatterSupport: { massageAstNode: !0, embed: !0, print: !0 } }, print: bi, embed: Jn, insertPragma: Co, massageAstNode: Hn, getVisitorKeys: to }, ki = xi, Oi = [{ name: "CSS", type: "markup", aceMode: "css", extensions: [".css", ".wxss"], tmScope: "source.css", codemirrorMode: "css", codemirrorMimeType: "text/css", parsers: ["css"], vscodeLanguageIds: ["css"], linguistLanguageId: 50 }, { name: "PostCSS", type: "markup", aceMode: "text", extensions: [".pcss", ".postcss"], tmScope: "source.postcss", group: "CSS", parsers: ["css"], vscodeLanguageIds: ["postcss"], linguistLanguageId: 262764437 }, { name: "Less", type: "markup", aceMode: "less", extensions: [".less"], tmScope: "source.css.less", aliases: ["less-css"], codemirrorMode: "css", codemirrorMimeType: "text/x-less", parsers: ["less"], vscodeLanguageIds: ["less"], linguistLanguageId: 198 }, { name: "SCSS", type: "markup", aceMode: "scss", extensions: [".scss"], tmScope: "source.css.scss", codemirrorMode: "css", codemirrorMimeType: "text/x-scss", parsers: ["scss"], vscodeLanguageIds: ["scss"], linguistLanguageId: 329 }], Ti = { singleQuote: { category: "Common", type: "boolean", default: !1, description: "Use single quotes instead of double quotes." } }, _i = { singleQuote: Ti.singleQuote }, Ci = _i, Qr = {};
4514
+ Jt(Qr, { css: () => na, less: () => oa, scss: () => ia });
4515
+ var Si = me(Qe()), Ai = me(Os()), Ei = me(js());
4516
+ function ji(e, s) {
4517
+ let i = new SyntaxError(e + " (" + s.loc.start.line + ":" + s.loc.start.column + ")");
4518
+ return Object.assign(i, s);
4519
+ }
4520
+ var Ii = ji;
4521
+ function Pi(e) {
4522
+ return e !== null && typeof e == "object";
4523
+ }
4524
+ var ut = Pi, Mi = me(Ps());
4525
+ function De(e, s, i) {
4526
+ if (ut(e)) {
4527
+ delete e.parent;
4528
+ for (let r in e) De(e[r], s, i), r === "type" && typeof e[r] == "string" && !e[r].startsWith(s) && (!i || !i.test(e[r])) && (e[r] = s + e[r]);
4529
+ }
4530
+ return e;
4531
+ }
4532
+ function Zr(e) {
4533
+ if (ut(e)) {
4534
+ delete e.parent;
4535
+ for (let s in e) Zr(e[s]);
4536
+ !Array.isArray(e) && e.value && !e.type && (e.type = "unknown");
4537
+ }
4538
+ return e;
4539
+ }
4540
+ var $i = Mi.default.default;
4541
+ function Ri(e) {
4542
+ let s;
4543
+ try {
4544
+ s = $i(e);
4545
+ } catch {
4546
+ return { type: "selector-unknown", value: e };
4547
+ }
4548
+ return De(Zr(s), "media-");
4549
+ }
4550
+ var Ni = Ri, Li = me(Js());
4551
+ function Wi(e) {
4552
+ if (/\/[/*]/u.test(D(0, e, /"[^"]+"|'[^']+'/gu, ""))) return { type: "selector-unknown", value: e.trim() };
4553
+ let s;
4554
+ try {
4555
+ new Li.default((i) => {
4556
+ s = i;
4557
+ }).process(e);
4558
+ } catch {
4559
+ return { type: "selector-unknown", value: e };
4560
+ }
4561
+ return De(s, "selector-");
4562
+ }
4563
+ var fe = Wi, zi = me(hn()), Bi = (e) => {
4564
+ for (; e.parent; ) e = e.parent;
4565
+ return e;
4566
+ }, Yr = Bi;
4567
+ function qi(e) {
4568
+ return Yr(e).text.slice(e.group.open.sourceIndex + 1, e.group.close.sourceIndex).trim();
4569
+ }
4570
+ var Di = qi;
4571
+ function Fi(e) {
4572
+ if (tt(e)) {
4573
+ for (let s = e.length - 1; s > 0; s--) if (e[s].type === "word" && e[s].value === "{" && e[s - 1].type === "word" && e[s - 1].value.endsWith("#")) return !0;
4574
+ }
4575
+ return !1;
4576
+ }
4577
+ var Ui = Fi;
4578
+ function Vi(e) {
4579
+ return e.some((s) => s.type === "string" || s.type === "func" && !s.value.endsWith("\\"));
4580
+ }
4581
+ var Gi = Vi;
4582
+ function Hi(e, s) {
4583
+ return !!(s.parser === "scss" && e?.type === "word" && e.value.startsWith("$"));
4584
+ }
4585
+ var Ji = Hi, Kr = (e) => e.type === "paren" && e.value === ")";
4586
+ function Qi(e, s) {
4587
+ let { nodes: i } = e, r = { open: null, close: null, groups: [], type: "paren_group" }, a = [r], o = r, u = { groups: [], type: "comma_group" }, p = [u];
4588
+ for (let y = 0; y < i.length; ++y) {
4589
+ let m = i[y];
4590
+ if (s.parser === "scss" && m.type === "number" && m.unit === ".." && m.value.endsWith(".") && (m.value = m.value.slice(0, -1), m.unit = "..."), m.type === "func" && m.value === "selector" && (m.group.groups = [fe(Yr(e).text.slice(m.group.open.sourceIndex + 1, m.group.close.sourceIndex))]), m.type === "func" && m.value === "url") {
4591
+ let n = m.group?.groups ?? [], t = [];
4592
+ for (let h = 0; h < n.length; h++) {
4593
+ let c = n[h];
4594
+ c.type === "comma_group" ? t = [...t, ...c.groups] : t.push(c);
4595
+ }
4596
+ (Ui(t) || !Gi(t) && !Ji(t[0], s)) && (m.group.groups = [Di(m)]);
4597
+ }
4598
+ if (m.type === "paren" && m.value === "(") r = { open: m, close: null, groups: [], type: "paren_group" }, a.push(r), u = { groups: [], type: "comma_group" }, p.push(u);
4599
+ else if (Kr(m)) {
4600
+ if (u.groups.length > 0 && r.groups.push(u), r.close = m, p.length === 1) throw new Error("Unbalanced parenthesis");
4601
+ p.pop(), u = he(0, p, -1), u.groups.push(r), a.pop(), r = he(0, a, -1);
4602
+ } else if (m.type === "comma") {
4603
+ if (y === i.length - 3 && i[y + 1].type === "comment" && Kr(i[y + 2])) continue;
4604
+ r.groups.push(u), u = { groups: [], type: "comma_group" }, p[p.length - 1] = u;
4605
+ } else u.groups.push(m);
4606
+ }
4607
+ return u.groups.length > 0 && r.groups.push(u), o;
4608
+ }
4609
+ function Ft(e) {
4610
+ return e.type === "paren_group" && !e.open && !e.close && e.groups.length === 1 || e.type === "comma_group" && e.groups.length === 1 ? Ft(e.groups[0]) : e.type === "paren_group" || e.type === "comma_group" ? { ...e, groups: e.groups.map(Ft) } : e;
4611
+ }
4612
+ function Xr(e, s) {
4613
+ if (ut(e)) for (let i in e) i !== "parent" && (Xr(e[i], s), i === "nodes" && (e.group = Ft(Qi(e, s)), delete e[i]));
4614
+ return e;
4615
+ }
4616
+ function Zi(e, s) {
4617
+ if (s.parser === "less" && e.startsWith("~`")) return { type: "value-unknown", value: e };
4618
+ let i = null;
4619
+ try {
4620
+ i = new zi.default(e, { loose: !0 }).parse();
4621
+ } catch {
4622
+ return { type: "value-unknown", value: e };
4623
+ }
4624
+ i.text = e;
4625
+ let r = Xr(i, s);
4626
+ return De(r, "value-", /^selector-/u);
4627
+ }
4628
+ var de = Zi, Yi = /* @__PURE__ */ new Set(["import", "use", "forward"]);
4629
+ function Ki(e) {
4630
+ return Yi.has(e);
4631
+ }
4632
+ var Xi = Ki;
4633
+ function ea(e, s) {
4634
+ return s.parser !== "scss" || !e.selector ? !1 : e.selector.replace(/\/\*.*?\*\//u, "").replace(/\/\/.*\n/u, "").trim().endsWith(":");
4635
+ }
4636
+ var ta = ea, ra = /(\s*)(!default).*$/u, sa = /(\s*)(!global).*$/u;
4637
+ function es(e, s) {
4638
+ if (ut(e)) {
4639
+ delete e.parent;
4640
+ for (let o in e) es(e[o], s);
4641
+ if (!e.type) return e;
4642
+ if (e.raws ?? (e.raws = {}), e.type === "css-decl" && typeof e.prop == "string" && e.prop.startsWith("--") && typeof e.value == "string" && e.value.startsWith("{")) {
4643
+ let o;
4644
+ if (e.value.trimEnd().endsWith("}")) {
4645
+ let u = s.originalText.slice(0, e.source.start.offset), p = "a".repeat(e.prop.length) + s.originalText.slice(e.source.start.offset + e.prop.length, e.source.end.offset), y = D(0, u, /[^\n]/gu, " ") + p, m;
4646
+ s.parser === "scss" ? m = ss : s.parser === "less" ? m = rs : m = ts;
4647
+ let n;
4648
+ try {
4649
+ n = m(y, { ...s });
4650
+ } catch {
4651
+ }
4652
+ n?.nodes?.length === 1 && n.nodes[0].type === "css-rule" && (o = n.nodes[0].nodes);
4653
+ }
4654
+ return o ? e.value = { type: "css-rule", nodes: o } : e.value = { type: "value-unknown", value: e.raws.value.raw }, e;
4655
+ }
4656
+ let i = "";
4657
+ typeof e.selector == "string" && (i = e.raws.selector ? e.raws.selector.scss ?? e.raws.selector.raw : e.selector, e.raws.between && e.raws.between.trim().length > 0 && (i += e.raws.between), e.raws.selector = i);
4658
+ let r = "";
4659
+ typeof e.value == "string" && (r = e.raws.value ? e.raws.value.scss ?? e.raws.value.raw : e.value, e.raws.value = r.trim());
4660
+ let a = "";
4661
+ if (typeof e.params == "string" && (a = e.raws.params ? e.raws.params.scss ?? e.raws.params.raw : e.params, e.raws.afterName && e.raws.afterName.trim().length > 0 && (a = e.raws.afterName + a), e.raws.between && e.raws.between.trim().length > 0 && (a = a + e.raws.between), a = a.trim(), e.raws.params = a), i.trim().length > 0) return i.startsWith("@") && i.endsWith(":") ? e : e.mixin ? (e.selector = de(i, s), e) : (ta(e, s) && (e.isSCSSNesterProperty = !0), e.selector = fe(i), e);
4662
+ if (r.trim().length > 0) {
4663
+ let o = r.match(ra);
4664
+ o && (r = r.slice(0, o.index), e.scssDefault = !0, o[0].trim() !== "!default" && (e.raws.scssDefault = o[0]));
4665
+ let u = r.match(sa);
4666
+ if (u && (r = r.slice(0, u.index), e.scssGlobal = !0, u[0].trim() !== "!global" && (e.raws.scssGlobal = u[0])), r.startsWith("progid:")) return { type: "value-unknown", value: r };
4667
+ e.value = de(r, s);
4668
+ }
4669
+ if (s.parser === "less" && e.type === "css-decl" && r.startsWith("extend(") && (e.extend || (e.extend = e.raws.between === ":"), e.extend && !e.selector && (delete e.value, e.selector = fe(r.slice(7, -1)))), e.type === "css-atrule") {
4670
+ if (s.parser === "less") {
4671
+ if (e.mixin) {
4672
+ let o = e.raws.identifier + e.name + e.raws.afterName + e.raws.params;
4673
+ return e.selector = fe(o), delete e.params, e;
4674
+ }
4675
+ if (e.function) return e;
4676
+ }
4677
+ if (s.parser === "css" && e.name === "custom-selector") {
4678
+ let o = e.params.match(/:--\S+\s+/u)[0].trim();
4679
+ return e.customSelector = o, e.selector = fe(e.params.slice(o.length).trim()), delete e.params, e;
4680
+ }
4681
+ if (s.parser === "less") {
4682
+ if (e.name.includes(":")) {
4683
+ e.variable = !0;
4684
+ let o = e.name.split(":");
4685
+ e.name = o[0];
4686
+ let u = o.slice(1).join(":");
4687
+ e.params && (u += e.params), e.value = de(u, s);
4688
+ }
4689
+ if (!["page", "nest", "keyframes"].includes(e.name) && e.params?.[0] === ":") {
4690
+ e.variable = !0;
4691
+ let o = e.params.slice(1);
4692
+ o && (e.value = de(o, s)), e.raws.afterName += ":";
4693
+ }
4694
+ if (e.variable) return delete e.params, e.value || delete e.value, e;
4695
+ }
4696
+ }
4697
+ if (e.type === "css-atrule" && a.length > 0) {
4698
+ let { name: o } = e, u = e.name.toLowerCase();
4699
+ return o === "warn" || o === "error" ? (e.params = { type: "media-unknown", value: a }, e) : o === "extend" || o === "nest" ? (e.selector = fe(a), delete e.params, e) : o === "at-root" ? (/^\(\s*(?:without|with)\s*:.+\)$/su.test(a) ? e.params = de(a, s) : (e.selector = fe(a), delete e.params), e) : Xi(u) ? (e.import = !0, delete e.filename, e.params = de(a, s), e) : ["namespace", "supports", "if", "else", "for", "each", "while", "debug", "mixin", "include", "function", "return", "define-mixin", "add-mixin"].includes(o) ? (a = a.replace(/(\$\S+?)(\s+)?\.{3}/u, "$1...$2"), a = a.replace(/^(?!if)([^"'\s(]+)(\s+)\(/u, "$1($2"), e.value = de(a, s), delete e.params, e) : ["media", "custom-media"].includes(u) ? a.includes("#{") ? { type: "media-unknown", value: a } : (e.params = Ni(a), e) : (e.params = a, e);
4700
+ }
4701
+ }
4702
+ return e;
4703
+ }
4704
+ function Ut(e, s, i) {
4705
+ let { frontMatter: r, content: a } = rt(s), o;
4706
+ try {
4707
+ o = e(a, { map: !1 });
4708
+ } catch (u) {
4709
+ let { name: p, reason: y, line: m, column: n } = u;
4710
+ throw typeof m != "number" ? u : Ii(`${p}: ${y}`, { loc: { start: { line: m, column: n } }, cause: u });
4711
+ }
4712
+ return i.originalText = s, o = es(De(o, "css-"), i), jr(o, s), r && (o.frontMatter = { ...r, type: "front-matter", source: { startOffset: r.start.index, endOffset: r.end.index } }), o;
4713
+ }
4714
+ function ts(e, s = {}) {
4715
+ return Ut(Si.default.default, e, s);
4716
+ }
4717
+ function rs(e, s = {}) {
4718
+ return Ut((i) => Ai.default.parse(oo(i)), e, s);
4719
+ }
4720
+ function ss(e, s = {}) {
4721
+ return Ut(Ei.default, e, s);
4722
+ }
4723
+ var Vt = { astFormat: "postcss", hasPragma: To, hasIgnorePragma: _o, locStart: H, locEnd: J }, na = { ...Vt, parse: ts }, oa = { ...Vt, parse: rs }, ia = { ...Vt, parse: ss }, aa = { postcss: ki };
4724
+ return hs(ur);
4725
+ });
4726
+ })(Ht)), Ht.exports;
4727
+ }
4728
+ var ls = /* @__PURE__ */ ca();
4729
+ const pa = /* @__PURE__ */ ua(ls), fa = /* @__PURE__ */ la({
4730
+ __proto__: null,
4731
+ default: pa
4732
+ }, [ls]);
4733
+ export {
4734
+ fa as p
4735
+ };