@oxbit/cli 0.0.0-stage → 0.3.3

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 (280) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +19 -2
  3. package/package.json +52 -4
  4. package/runtime/dist/index.js +12505 -0
  5. package/runtime/package.json +6 -0
  6. package/scripts/repair-pty.mjs +44 -0
  7. package/web/dist/LICENSE.txt +21 -0
  8. package/web/dist/apple-touch-icon.png +0 -0
  9. package/web/dist/assets/addon-image-BxricI7a.js +2 -0
  10. package/web/dist/assets/addon-ligatures-BOzI2Oy0.js +3 -0
  11. package/web/dist/assets/addon-webgl-PbQqCq-D.js +59 -0
  12. package/web/dist/assets/babel-BktJt1uC.js +17 -0
  13. package/web/dist/assets/estree-DFfjoHvx.js +45 -0
  14. package/web/dist/assets/format.worker-BOByM0b_.js +3 -0
  15. package/web/dist/assets/html-DwgzGnwN.js +26 -0
  16. package/web/dist/assets/index-WzJHy4M7.js +251 -0
  17. package/web/dist/assets/index-nCiWoOlW.css +1 -0
  18. package/web/dist/assets/markdown-Bd15IfY5.js +71 -0
  19. package/web/dist/assets/postcss-BGfBeQpW.js +63 -0
  20. package/web/dist/assets/standalone-Cayz_KD-.js +30 -0
  21. package/web/dist/assets/typescript-CaioFRCx.js +434 -0
  22. package/web/dist/assets/typescript-HXNn4lJN.js +434 -0
  23. package/web/dist/assets/typescript-cMir0TZb.js +23 -0
  24. package/web/dist/assets/worker-CsXkqX-T.js +4 -0
  25. package/web/dist/brand/index.html +65 -0
  26. package/web/dist/brand/oxbit-avatar.png +0 -0
  27. package/web/dist/brand/oxbit-avatar.svg +1 -0
  28. package/web/dist/brand/oxbit-brand-kit.zip +0 -0
  29. package/web/dist/brand/oxbit-github-banner.png +0 -0
  30. package/web/dist/brand/oxbit-github-banner.svg +1 -0
  31. package/web/dist/brand/oxbit-logo-dark.png +0 -0
  32. package/web/dist/brand/oxbit-logo-dark.svg +1 -0
  33. package/web/dist/brand/oxbit-logo-mono.svg +1 -0
  34. package/web/dist/brand/oxbit-logo-white.svg +1 -0
  35. package/web/dist/brand/oxbit-logo.png +0 -0
  36. package/web/dist/brand/oxbit-logo.svg +1 -0
  37. package/web/dist/brand/oxbit-mark-dark.svg +1 -0
  38. package/web/dist/brand/oxbit-mark-light.svg +1 -0
  39. package/web/dist/brand/oxbit-mark-teal.svg +1 -0
  40. package/web/dist/brand/oxbit-mark.png +0 -0
  41. package/web/dist/brand/oxbit-mark.svg +1 -0
  42. package/web/dist/brand/oxbit-social-card.png +0 -0
  43. package/web/dist/brand/oxbit-social-card.svg +1 -0
  44. package/web/dist/brand/oxbit-wordmark-dark.svg +1 -0
  45. package/web/dist/brand/oxbit-wordmark.svg +1 -0
  46. package/web/dist/brand/preview.js +10 -0
  47. package/web/dist/brand/variants/README.md +33 -0
  48. package/web/dist/brand/variants/dark/browser/apple-touch-icon-120x120.png +0 -0
  49. package/web/dist/brand/variants/dark/browser/apple-touch-icon-152x152.png +0 -0
  50. package/web/dist/brand/variants/dark/browser/apple-touch-icon-167x167.png +0 -0
  51. package/web/dist/brand/variants/dark/browser/apple-touch-icon-180x180.png +0 -0
  52. package/web/dist/brand/variants/dark/browser/apple-touch-icon.png +0 -0
  53. package/web/dist/brand/variants/dark/browser/favicon-16x16.png +0 -0
  54. package/web/dist/brand/variants/dark/browser/favicon-32x32.png +0 -0
  55. package/web/dist/brand/variants/dark/browser/favicon-48x48.png +0 -0
  56. package/web/dist/brand/variants/dark/browser/favicon.ico +0 -0
  57. package/web/dist/brand/variants/dark/browser/favicon.svg +1 -0
  58. package/web/dist/brand/variants/dark/full-logo/oxbit-full-logo-1120x320.png +0 -0
  59. package/web/dist/brand/variants/dark/full-logo/oxbit-full-logo-2240x640.png +0 -0
  60. package/web/dist/brand/variants/dark/full-logo/oxbit-full-logo-4480x1280.png +0 -0
  61. package/web/dist/brand/variants/dark/full-logo/oxbit-full-logo-560x160.png +0 -0
  62. package/web/dist/brand/variants/dark/full-logo/oxbit-full-logo.png +0 -0
  63. package/web/dist/brand/variants/dark/full-logo/oxbit-full-logo.svg +1 -0
  64. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-1024x1024.png +0 -0
  65. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-128x128.png +0 -0
  66. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-144x144.png +0 -0
  67. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-152x152.png +0 -0
  68. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-16x16.png +0 -0
  69. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-180x180.png +0 -0
  70. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-192x192.png +0 -0
  71. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-2048x2048.png +0 -0
  72. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-24x24.png +0 -0
  73. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-256x256.png +0 -0
  74. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-32x32.png +0 -0
  75. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-384x384.png +0 -0
  76. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-48x48.png +0 -0
  77. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-512x512.png +0 -0
  78. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-64x64.png +0 -0
  79. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-96x96.png +0 -0
  80. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-square.svg +1 -0
  81. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-1024x1024.png +0 -0
  82. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-128x128.png +0 -0
  83. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-144x144.png +0 -0
  84. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-152x152.png +0 -0
  85. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-16x16.png +0 -0
  86. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-180x180.png +0 -0
  87. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-192x192.png +0 -0
  88. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-2048x2048.png +0 -0
  89. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-24x24.png +0 -0
  90. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-256x256.png +0 -0
  91. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-32x32.png +0 -0
  92. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-384x384.png +0 -0
  93. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-48x48.png +0 -0
  94. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-512x512.png +0 -0
  95. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-64x64.png +0 -0
  96. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-96x96.png +0 -0
  97. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark.png +0 -0
  98. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark.svg +1 -0
  99. package/web/dist/brand/variants/dark-transparent/browser/apple-touch-icon-120x120.png +0 -0
  100. package/web/dist/brand/variants/dark-transparent/browser/apple-touch-icon-152x152.png +0 -0
  101. package/web/dist/brand/variants/dark-transparent/browser/apple-touch-icon-167x167.png +0 -0
  102. package/web/dist/brand/variants/dark-transparent/browser/apple-touch-icon-180x180.png +0 -0
  103. package/web/dist/brand/variants/dark-transparent/browser/apple-touch-icon.png +0 -0
  104. package/web/dist/brand/variants/dark-transparent/browser/favicon-16x16.png +0 -0
  105. package/web/dist/brand/variants/dark-transparent/browser/favicon-32x32.png +0 -0
  106. package/web/dist/brand/variants/dark-transparent/browser/favicon-48x48.png +0 -0
  107. package/web/dist/brand/variants/dark-transparent/browser/favicon.ico +0 -0
  108. package/web/dist/brand/variants/dark-transparent/browser/favicon.svg +1 -0
  109. package/web/dist/brand/variants/dark-transparent/full-logo/oxbit-full-logo-1120x320.png +0 -0
  110. package/web/dist/brand/variants/dark-transparent/full-logo/oxbit-full-logo-2240x640.png +0 -0
  111. package/web/dist/brand/variants/dark-transparent/full-logo/oxbit-full-logo-4480x1280.png +0 -0
  112. package/web/dist/brand/variants/dark-transparent/full-logo/oxbit-full-logo-560x160.png +0 -0
  113. package/web/dist/brand/variants/dark-transparent/full-logo/oxbit-full-logo.png +0 -0
  114. package/web/dist/brand/variants/dark-transparent/full-logo/oxbit-full-logo.svg +1 -0
  115. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-1024x1024.png +0 -0
  116. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-128x128.png +0 -0
  117. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-144x144.png +0 -0
  118. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-152x152.png +0 -0
  119. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-16x16.png +0 -0
  120. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-180x180.png +0 -0
  121. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-192x192.png +0 -0
  122. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-2048x2048.png +0 -0
  123. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-24x24.png +0 -0
  124. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-256x256.png +0 -0
  125. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-32x32.png +0 -0
  126. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-384x384.png +0 -0
  127. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-48x48.png +0 -0
  128. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-512x512.png +0 -0
  129. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-64x64.png +0 -0
  130. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-96x96.png +0 -0
  131. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-square.svg +1 -0
  132. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-1024x1024.png +0 -0
  133. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-128x128.png +0 -0
  134. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-144x144.png +0 -0
  135. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-152x152.png +0 -0
  136. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-16x16.png +0 -0
  137. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-180x180.png +0 -0
  138. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-192x192.png +0 -0
  139. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-2048x2048.png +0 -0
  140. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-24x24.png +0 -0
  141. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-256x256.png +0 -0
  142. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-32x32.png +0 -0
  143. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-384x384.png +0 -0
  144. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-48x48.png +0 -0
  145. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-512x512.png +0 -0
  146. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-64x64.png +0 -0
  147. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-96x96.png +0 -0
  148. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark.png +0 -0
  149. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark.svg +1 -0
  150. package/web/dist/brand/variants/index.html +8 -0
  151. package/web/dist/brand/variants/light/browser/apple-touch-icon-120x120.png +0 -0
  152. package/web/dist/brand/variants/light/browser/apple-touch-icon-152x152.png +0 -0
  153. package/web/dist/brand/variants/light/browser/apple-touch-icon-167x167.png +0 -0
  154. package/web/dist/brand/variants/light/browser/apple-touch-icon-180x180.png +0 -0
  155. package/web/dist/brand/variants/light/browser/apple-touch-icon.png +0 -0
  156. package/web/dist/brand/variants/light/browser/favicon-16x16.png +0 -0
  157. package/web/dist/brand/variants/light/browser/favicon-32x32.png +0 -0
  158. package/web/dist/brand/variants/light/browser/favicon-48x48.png +0 -0
  159. package/web/dist/brand/variants/light/browser/favicon.ico +0 -0
  160. package/web/dist/brand/variants/light/browser/favicon.svg +1 -0
  161. package/web/dist/brand/variants/light/full-logo/oxbit-full-logo-1120x320.png +0 -0
  162. package/web/dist/brand/variants/light/full-logo/oxbit-full-logo-2240x640.png +0 -0
  163. package/web/dist/brand/variants/light/full-logo/oxbit-full-logo-4480x1280.png +0 -0
  164. package/web/dist/brand/variants/light/full-logo/oxbit-full-logo-560x160.png +0 -0
  165. package/web/dist/brand/variants/light/full-logo/oxbit-full-logo.png +0 -0
  166. package/web/dist/brand/variants/light/full-logo/oxbit-full-logo.svg +1 -0
  167. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-1024x1024.png +0 -0
  168. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-128x128.png +0 -0
  169. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-144x144.png +0 -0
  170. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-152x152.png +0 -0
  171. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-16x16.png +0 -0
  172. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-180x180.png +0 -0
  173. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-192x192.png +0 -0
  174. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-2048x2048.png +0 -0
  175. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-24x24.png +0 -0
  176. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-256x256.png +0 -0
  177. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-32x32.png +0 -0
  178. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-384x384.png +0 -0
  179. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-48x48.png +0 -0
  180. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-512x512.png +0 -0
  181. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-64x64.png +0 -0
  182. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-96x96.png +0 -0
  183. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-square.svg +1 -0
  184. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-1024x1024.png +0 -0
  185. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-128x128.png +0 -0
  186. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-144x144.png +0 -0
  187. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-152x152.png +0 -0
  188. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-16x16.png +0 -0
  189. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-180x180.png +0 -0
  190. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-192x192.png +0 -0
  191. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-2048x2048.png +0 -0
  192. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-24x24.png +0 -0
  193. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-256x256.png +0 -0
  194. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-32x32.png +0 -0
  195. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-384x384.png +0 -0
  196. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-48x48.png +0 -0
  197. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-512x512.png +0 -0
  198. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-64x64.png +0 -0
  199. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-96x96.png +0 -0
  200. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark.png +0 -0
  201. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark.svg +1 -0
  202. package/web/dist/brand/variants/light-transparent/browser/apple-touch-icon-120x120.png +0 -0
  203. package/web/dist/brand/variants/light-transparent/browser/apple-touch-icon-152x152.png +0 -0
  204. package/web/dist/brand/variants/light-transparent/browser/apple-touch-icon-167x167.png +0 -0
  205. package/web/dist/brand/variants/light-transparent/browser/apple-touch-icon-180x180.png +0 -0
  206. package/web/dist/brand/variants/light-transparent/browser/apple-touch-icon.png +0 -0
  207. package/web/dist/brand/variants/light-transparent/browser/favicon-16x16.png +0 -0
  208. package/web/dist/brand/variants/light-transparent/browser/favicon-32x32.png +0 -0
  209. package/web/dist/brand/variants/light-transparent/browser/favicon-48x48.png +0 -0
  210. package/web/dist/brand/variants/light-transparent/browser/favicon.ico +0 -0
  211. package/web/dist/brand/variants/light-transparent/browser/favicon.svg +1 -0
  212. package/web/dist/brand/variants/light-transparent/full-logo/oxbit-full-logo-1120x320.png +0 -0
  213. package/web/dist/brand/variants/light-transparent/full-logo/oxbit-full-logo-2240x640.png +0 -0
  214. package/web/dist/brand/variants/light-transparent/full-logo/oxbit-full-logo-4480x1280.png +0 -0
  215. package/web/dist/brand/variants/light-transparent/full-logo/oxbit-full-logo-560x160.png +0 -0
  216. package/web/dist/brand/variants/light-transparent/full-logo/oxbit-full-logo.png +0 -0
  217. package/web/dist/brand/variants/light-transparent/full-logo/oxbit-full-logo.svg +1 -0
  218. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-1024x1024.png +0 -0
  219. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-128x128.png +0 -0
  220. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-144x144.png +0 -0
  221. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-152x152.png +0 -0
  222. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-16x16.png +0 -0
  223. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-180x180.png +0 -0
  224. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-192x192.png +0 -0
  225. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-2048x2048.png +0 -0
  226. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-24x24.png +0 -0
  227. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-256x256.png +0 -0
  228. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-32x32.png +0 -0
  229. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-384x384.png +0 -0
  230. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-48x48.png +0 -0
  231. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-512x512.png +0 -0
  232. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-64x64.png +0 -0
  233. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-96x96.png +0 -0
  234. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-square.svg +1 -0
  235. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-1024x1024.png +0 -0
  236. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-128x128.png +0 -0
  237. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-144x144.png +0 -0
  238. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-152x152.png +0 -0
  239. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-16x16.png +0 -0
  240. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-180x180.png +0 -0
  241. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-192x192.png +0 -0
  242. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-2048x2048.png +0 -0
  243. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-24x24.png +0 -0
  244. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-256x256.png +0 -0
  245. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-32x32.png +0 -0
  246. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-384x384.png +0 -0
  247. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-48x48.png +0 -0
  248. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-512x512.png +0 -0
  249. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-64x64.png +0 -0
  250. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-96x96.png +0 -0
  251. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark.png +0 -0
  252. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark.svg +1 -0
  253. package/web/dist/brand/variants/manifest.json +1218 -0
  254. package/web/dist/brand/variants/preview.css +1 -0
  255. package/web/dist/extensions/bundle-inspector.js +369 -0
  256. package/web/dist/favicon.ico +0 -0
  257. package/web/dist/favicon.svg +1 -0
  258. package/web/dist/fonts/fonts.css +46 -0
  259. package/web/dist/fonts/instrumentsans-OFL.txt +93 -0
  260. package/web/dist/fonts/jetbrainsmono-OFL.txt +93 -0
  261. package/web/dist/fonts/oxbit-font-0.woff2 +0 -0
  262. package/web/dist/fonts/oxbit-font-1.woff2 +0 -0
  263. package/web/dist/fonts/oxbit-font-2.woff2 +0 -0
  264. package/web/dist/fonts/oxbit-font-3.woff2 +0 -0
  265. package/web/dist/fonts/oxbit-font-4.woff2 +0 -0
  266. package/web/dist/fonts/oxbit-font-5.woff2 +0 -0
  267. package/web/dist/icon-192.png +0 -0
  268. package/web/dist/icon-512.png +0 -0
  269. package/web/dist/index.html +5 -0
  270. package/web/dist/licenses/vscode-themes.txt +21 -0
  271. package/web/dist/panel.html +2 -0
  272. package/web/dist/schemas/icon-file.v1.schema.json +385 -0
  273. package/web/dist/schemas/icon-manifest.v1.schema.json +122 -0
  274. package/web/dist/schemas/icon-product.v1.schema.json +124 -0
  275. package/web/dist/schemas/settings.v1.schema.json +861 -0
  276. package/web/dist/schemas/tasks.v1.schema.json +331 -0
  277. package/web/dist/schemas/theme-pack.v1.schema.json +2364 -0
  278. package/web/dist/sdk/index.js +1317 -0
  279. package/web/dist/sdk/react.js +4 -0
  280. package/web/dist/site.webmanifest +23 -0
@@ -0,0 +1,63 @@
1
+ var cs=Object.create,Ot=Object.defineProperty,ps=Object.getOwnPropertyDescriptor,fs=Object.getOwnPropertyNames,hs=Object.getPrototypeOf,ds=Object.prototype.hasOwnProperty,E=(e,n)=>()=>{try{return n||e((n={exports:{}}).exports,n),n.exports}catch(o){throw n=0,o}},Xt=(e,n)=>{for(var o in n)Ot(e,o,{get:n[o],enumerable:!0})},ms=(e,n,o,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of fs(n))!ds.call(e,i)&&i!==o&&Ot(e,i,{get:()=>n[i],enumerable:!(r=ps(n,i))||r.enumerable});return e},Te=(e,n,o)=>(o=e!=null?cs(hs(e)):{},ms(Ot(o,"default",{value:e,enumerable:!0}),e)),ys=E((e,n)=>{var o=String,r=function(){return{isColorSupported:!1,reset:o,bold:o,dim:o,italic:o,underline:o,inverse:o,hidden:o,strikethrough:o,black:o,red:o,green:o,yellow:o,blue:o,magenta:o,cyan:o,white:o,gray:o,bgBlack:o,bgRed:o,bgGreen:o,bgYellow:o,bgBlue:o,bgMagenta:o,bgCyan:o,bgWhite:o,blackBright:o,redBright:o,greenBright:o,yellowBright:o,blueBright:o,magentaBright:o,cyanBright:o,whiteBright:o,bgBlackBright:o,bgRedBright:o,bgGreenBright:o,bgYellowBright:o,bgBlueBright:o,bgMagentaBright:o,bgCyanBright:o,bgWhiteBright:o}};n.exports=r(),n.exports.createColors=r}),er=E(()=>{}),Tt=E((e,n)=>{"use strict";var o=ys(),r=er(),i=class tr extends Error{constructor(p,m,f,d,t,s){super(p),this.name="CssSyntaxError",this.reason=p,t&&(this.file=t),d&&(this.source=d),s&&(this.plugin=s),typeof m<"u"&&typeof f<"u"&&(typeof m=="number"?(this.line=m,this.column=f):(this.line=m.line,this.column=m.column,this.endLine=f.line,this.endColumn=f.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,tr)}setMessage(){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}showSourceCode(p){if(!this.source)return"";let m=this.source;p==null&&(p=o.isColorSupported);let f=u=>u,d=u=>u,t=u=>u;if(p){let{bold:u,gray:v,red:g}=o.createColors(!0);d=y=>u(g(y)),f=y=>v(y),r&&(t=y=>r(y))}let s=m.split(/\r?\n/),a=Math.max(this.line-3,0),l=Math.min(this.line+2,s.length),h=String(l).length;return s.slice(a,l).map((u,v)=>{let g=a+1+v,y=" "+(" "+g).slice(-h)+" | ";if(g===this.line){if(u.length>160){let O=20,b=Math.max(0,this.column-O),T=Math.max(this.column+O,this.endColumn+O),x=u.slice(b,T),k=f(y.replace(/\d/g," "))+u.slice(0,Math.min(this.column-1,O-1)).replace(/[^\t]/g," ");return d(">")+f(y)+t(x)+`
2
+ `+k+d("^")}let w=f(y.replace(/\d/g," "))+u.slice(0,this.column-1).replace(/[^\t]/g," ");return d(">")+f(y)+t(u)+`
3
+ `+w+d("^")}return" "+f(y)+t(u)}).join(`
4
+ `)}toString(){let p=this.showSourceCode();return p&&(p=`
5
+
6
+ `+p+`
7
+ `),this.name+": "+this.message+p}};n.exports=i,i.default=i}),_t=E((e,n)=>{"use strict";var o=/(<)(\/?style\b)/gi,r=/(<)(!--)/g;function i(f){return typeof f!="string"||!f.includes("<")?f:f.replace(o,"\\3c $2").replace(r,"\\3c $2")}var c={after:`
8
+ `,beforeClose:`
9
+ `,beforeComment:`
10
+ `,beforeDecl:`
11
+ `,beforeOpen:" ",beforeRule:`
12
+ `,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function p(f){return f[0].toUpperCase()+f.slice(1)}var m=class{constructor(f){this.builder=f}atrule(f,d){let t=f.raws,s="@"+f.name,a=f.params?this.rawValue(f,"params"):"";if(typeof t.afterName<"u"?s+=t.afterName:a&&(s+=" "),f.nodes)this.block(f,s+a);else{let l=(t.between||"")+(d?";":"");this.builder(i(s+a+l),f)}}beforeAfter(f,d){let t;f.type==="decl"?t=this.raw(f,null,"beforeDecl"):f.type==="comment"?t=this.raw(f,null,"beforeComment"):d==="before"?t=this.raw(f,null,"beforeRule"):t=this.raw(f,null,"beforeClose");let s=f.parent,a=0;for(;s&&s.type!=="root";)a+=1,s=s.parent;if(t.includes(`
13
+ `)){let l=this.raw(f,null,"indent");if(l.length)for(let h=0;h<a;h++)t+=l}return t}block(f,d){let t=this.raw(f,"between","beforeOpen");this.builder(i(d+t)+"{",f,"start");let s;f.nodes&&f.nodes.length?(this.body(f),s=this.raw(f,"after")):s=this.raw(f,"after","emptyBody"),s&&this.builder(i(s)),this.builder("}",f,"end")}body(f){let d=f.nodes,t=d.length-1;for(;t>0&&d[t].type==="comment";)t-=1;let s=this.raw(f,"semicolon"),a=f.type==="document";for(let l=0;l<d.length;l++){let h=d[l],u=this.raw(h,"before");u&&this.builder(a?u:i(u)),this.stringify(h,t!==l||s)}}comment(f){let d=this.raw(f,"left","commentLeft"),t=this.raw(f,"right","commentRight");this.builder(i("/*"+d+f.text+t+"*/"),f)}decl(f,d){let t=f.raws,s=this.raw(f,"between","colon"),a=f.prop+s+this.rawValue(f,"value");f.important&&(a+=t.important||" !important"),d&&(a+=";"),this.builder(i(a),f)}document(f){this.body(f)}raw(f,d,t){let s;if(t||(t=d),d&&(s=f.raws[d],typeof s<"u"))return s;let a=f.parent;if(t==="before"&&(!a||a.type==="root"&&a.first===f||a&&a.type==="document"))return"";if(!a)return c[t];let l=f.root(),h=l.rawCache||(l.rawCache={});if(typeof h[t]<"u")return h[t];if(t==="before"||t==="after")return this.beforeAfter(f,t);{let u="raw"+p(t);this[u]?s=this[u](l,f):l.walk(v=>{if(s=v.raws[d],typeof s<"u")return!1})}return typeof s>"u"&&(s=c[t]),h[t]=s,s}rawBeforeClose(f){let d;return f.walk(t=>{if(t.nodes&&t.nodes.length>0&&typeof t.raws.after<"u")return d=t.raws.after,d.includes(`
14
+ `)&&(d=d.replace(/[^\n]+$/,"")),!1}),d&&(d=d.replace(/\S/g,"")),d}rawBeforeComment(f,d){let t;return f.walkComments(s=>{if(typeof s.raws.before<"u")return t=s.raws.before,t.includes(`
15
+ `)&&(t=t.replace(/[^\n]+$/,"")),!1}),typeof t>"u"?t=this.raw(d,null,"beforeDecl"):t&&(t=t.replace(/\S/g,"")),t}rawBeforeDecl(f,d){let t;return f.walkDecls(s=>{if(typeof s.raws.before<"u")return t=s.raws.before,t.includes(`
16
+ `)&&(t=t.replace(/[^\n]+$/,"")),!1}),typeof t>"u"?t=this.raw(d,null,"beforeRule"):t&&(t=t.replace(/\S/g,"")),t}rawBeforeOpen(f){let d;return f.walk(t=>{if(t.type!=="decl"&&(d=t.raws.between,typeof d<"u"))return!1}),d}rawBeforeRule(f){let d;return f.walk(t=>{if(t.nodes&&(t.parent!==f||f.first!==t)&&typeof t.raws.before<"u")return d=t.raws.before,d.includes(`
17
+ `)&&(d=d.replace(/[^\n]+$/,"")),!1}),d&&(d=d.replace(/\S/g,"")),d}rawColon(f){let d;return f.walkDecls(t=>{if(typeof t.raws.between<"u")return d=t.raws.between.replace(/[^\s:]/g,""),!1}),d}rawEmptyBody(f){let d;return f.walk(t=>{if(t.nodes&&t.nodes.length===0&&(d=t.raws.after,typeof d<"u"))return!1}),d}rawIndent(f){if(f.raws.indent)return f.raws.indent;let d;return f.walk(t=>{let s=t.parent;if(s&&s!==f&&s.parent&&s.parent===f&&typeof t.raws.before<"u"){let a=t.raws.before.split(`
18
+ `);return d=a[a.length-1],d=d.replace(/\S/g,""),!1}}),d}rawSemicolon(f){let d;return f.walk(t=>{if(t.nodes&&t.nodes.length&&t.last.type==="decl"&&(d=t.raws.semicolon,typeof d<"u"))return!1}),d}rawValue(f,d){let t=f[d],s=f.raws[d];return s&&s.value===t?s.raw:t}root(f){if(this.body(f),f.raws.after){let d=f.raws.after,t=f.parent&&f.parent.type==="document";this.builder(t?d:i(d))}}rule(f){this.block(f,this.rawValue(f,"selector")),f.raws.ownSemicolon&&this.builder(i(f.raws.ownSemicolon),f,"end")}stringify(f,d){if(!this[f.type])throw new Error("Unknown AST node type "+f.type+". Maybe you need to change PostCSS stringifier.");this[f.type](f,d)}};n.exports=m,m.default=m}),Ze=E((e,n)=>{"use strict";var o=_t();function r(i,c){new o(c).stringify(i)}n.exports=r,r.default=r}),St=E((e,n)=>{"use strict";n.exports.isClean=Symbol("isClean"),n.exports.my=Symbol("my")}),Xe=E((e,n)=>{"use strict";var o=Tt(),r=_t(),i=Ze(),{isClean:c,my:p}=St();function m(t,s){let a=new t.constructor;for(let l in t){if(!Object.prototype.hasOwnProperty.call(t,l)||l==="proxyCache")continue;let h=t[l],u=typeof h;l==="parent"&&u==="object"?s&&(a[l]=s):l==="source"?a[l]=h:Array.isArray(h)?a[l]=h.map(v=>m(v,a)):(u==="object"&&h!==null&&(h=m(h)),a[l]=h)}return a}function f(t,s){if(s&&typeof s.offset<"u")return s.offset;let a=1,l=1,h=0;for(let u=0;u<t.length;u++){if(l===s.line&&a===s.column){h=u;break}t[u]===`
19
+ `?(a=1,l+=1):a+=1}return h}var d=class{get proxyOf(){return this}constructor(t={}){this.raws={},this[c]=!1,this[p]=!0;for(let s in t)if(s==="nodes"){this.nodes=[];for(let a of t[s])typeof a.clone=="function"&&a.parent?this.append(a.clone()):this.append(a)}else this[s]=t[s]}addToError(t){if(t.postcssNode=this,t.stack&&this.source&&/\n\s{4}at /.test(t.stack)){let s=this.source;t.stack=t.stack.replace(/\n\s{4}at /,`$&${s.input.from}:${s.start.line}:${s.start.column}$&`)}return t}after(t){return this.parent.insertAfter(this,t),this}assign(t={}){for(let s in t)this[s]=t[s];return this}before(t){return this.parent.insertBefore(this,t),this}cleanRaws(t){delete this.raws.before,delete this.raws.after,t||delete this.raws.between}clone(t={}){let s=m(this);for(let a in t)s[a]=t[a];return s}cloneAfter(t={}){let s=this.clone(t);return this.parent.insertAfter(this,s),s}cloneBefore(t={}){let s=this.clone(t);return this.parent.insertBefore(this,s),s}error(t,s={}){if(this.source){let{end:a,start:l}=this.rangeBy(s);return this.source.input.error(t,{column:l.column,line:l.line},{column:a.column,line:a.line},s)}return new o(t)}getProxyProcessor(){return{get(t,s){return s==="proxyOf"?t:s==="root"?()=>t.root().toProxy():t[s]},set(t,s,a){return t[s]===a||(t[s]=a,(s==="prop"||s==="value"||s==="name"||s==="params"||s==="important"||s==="text")&&t.markDirty()),!0}}}markClean(){this[c]=!0}markDirty(){if(this[c]){this[c]=!1;let t=this;for(;t=t.parent;)t[c]=!1}}next(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t+1]}positionBy(t={}){let s="document"in this.source.input?this.source.input.document:this.source.input.css,a={column:this.source.start.column,line:this.source.start.line,offset:f(s,this.source.start)};if(t.index)a=this.positionInside(t.index);else if(t.word){let l=s.slice(f(s,this.source.start),f(s,this.source.end)).indexOf(t.word);l!==-1&&(a=this.positionInside(l))}return a}positionInside(t){let s=this.source.start.column,a=this.source.start.line,l="document"in this.source.input?this.source.input.document:this.source.input.css,h=f(l,this.source.start),u=h+t;for(let v=h;v<u;v++)l[v]===`
20
+ `?(s=1,a+=1):s+=1;return{column:s,line:a,offset:u}}prev(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t-1]}rangeBy(t={}){let s="document"in this.source.input?this.source.input.document:this.source.input.css,a={column:this.source.start.column,line:this.source.start.line,offset:f(s,this.source.start)},l=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:f(s,this.source.end)+1}:{column:a.column+1,line:a.line,offset:a.offset+1};if(t.word){let h=s.slice(f(s,this.source.start),f(s,this.source.end)).indexOf(t.word);h!==-1&&(a=this.positionInside(h),l=this.positionInside(h+t.word.length))}else t.start?a={column:t.start.column,line:t.start.line,offset:f(s,t.start)}:typeof t.index=="number"&&(a=this.positionInside(t.index)),t.end?l={column:t.end.column,line:t.end.line,offset:f(s,t.end)}:typeof t.endIndex=="number"?l=this.positionInside(t.endIndex):typeof t.index=="number"&&(l=this.positionInside(t.index+1));return(l.line<a.line||l.line===a.line&&l.column<=a.column)&&(l={column:a.column+1,line:a.line,offset:a.offset+1}),{end:l,start:a}}raw(t,s){return new r().raw(this,t,s)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...t){if(this.parent){let s=this,a=!1;for(let l of t)l===this?a=!0:a?(this.parent.insertAfter(s,l),s=l):this.parent.insertBefore(s,l);a||this.remove()}return this}root(){let t=this;for(;t.parent&&t.parent.type!=="document";)t=t.parent;return t}toJSON(t,s){let a={},l=s==null;s=s||new Map;let h=0;for(let u in this){if(!Object.prototype.hasOwnProperty.call(this,u)||u==="parent"||u==="proxyCache")continue;let v=this[u];if(Array.isArray(v))a[u]=v.map(g=>typeof g=="object"&&g.toJSON?g.toJSON(null,s):g);else if(typeof v=="object"&&v.toJSON)a[u]=v.toJSON(null,s);else if(u==="source"){if(v==null)continue;let g=s.get(v.input);g==null&&(g=h,s.set(v.input,h),h++),a[u]={end:v.end,inputId:g,start:v.start}}else a[u]=v}return l&&(a.inputs=[...s.keys()].map(u=>u.toJSON())),a}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(t=i){t.stringify&&(t=t.stringify);let s="";return t(this,a=>{s+=a}),s}warn(t,s,a={}){let l={node:this};for(let h in a)l[h]=a[h];return t.warn(s,l)}};n.exports=d,d.default=d}),Le=E((e,n)=>{"use strict";var o=Xe(),r=class extends o{constructor(i){super(i),this.type="comment"}};n.exports=r,r.default=r}),et=E((e,n)=>{"use strict";var o=Xe(),r=class extends o{get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(i){i&&typeof i.value<"u"&&typeof i.value!="string"&&(i={...i,value:String(i.value)}),super(i),this.type="decl"}};n.exports=r,r.default=r}),de=E((e,n)=>{"use strict";var o=Le(),r=et(),i=Xe(),{isClean:c,my:p}=St(),m,f,d,t;function s(h){return h.map(u=>(u.nodes&&(u.nodes=s(u.nodes)),delete u.source,u))}function a(h){if(h[c]=!1,h.proxyOf.nodes)for(let u of h.proxyOf.nodes)a(u)}var l=class rr extends i{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...u){for(let v of u){let g=this.normalize(v,this.last);for(let y of g)this.proxyOf.nodes.push(y)}return this.markDirty(),this}cleanRaws(u){if(super.cleanRaws(u),this.nodes)for(let v of this.nodes)v.cleanRaws(u)}each(u){if(!this.proxyOf.nodes)return;let v=this.getIterator(),g,y;for(;this.indexes[v]<this.proxyOf.nodes.length&&(g=this.indexes[v],y=u(this.proxyOf.nodes[g],g),y!==!1);)this.indexes[v]+=1;return delete this.indexes[v],y}every(u){return this.nodes.every(u)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let u=this.lastEach;return this.indexes[u]=0,u}getProxyProcessor(){return{get(u,v){return v==="proxyOf"?u:u[v]?v==="each"||typeof v=="string"&&v.startsWith("walk")?(...g)=>u[v](...g.map(y=>typeof y=="function"?(w,O)=>y(w.toProxy(),O):y)):v==="every"||v==="some"?g=>u[v]((y,...w)=>g(y.toProxy(),...w)):v==="root"?()=>u.root().toProxy():v==="nodes"?u.nodes.map(g=>g.toProxy()):v==="first"||v==="last"?u[v].toProxy():u[v]:u[v]},set(u,v,g){return u[v]===g||(u[v]=g,(v==="name"||v==="params"||v==="selector")&&u.markDirty()),!0}}}index(u){return typeof u=="number"?u:(u.proxyOf&&(u=u.proxyOf),this.proxyOf.nodes.indexOf(u))}insertAfter(u,v){let g=this.index(u),y=this.normalize(v,this.proxyOf.nodes[g]).reverse();g=this.index(u);for(let O of y)this.proxyOf.nodes.splice(g+1,0,O);let w;for(let O in this.indexes)w=this.indexes[O],g<w&&(this.indexes[O]=w+y.length);return this.markDirty(),this}insertBefore(u,v){let g=this.index(u),y=g===0?"prepend":!1,w=this.normalize(v,this.proxyOf.nodes[g],y).reverse();g=this.index(u);for(let b of w)this.proxyOf.nodes.splice(g,0,b);let O;for(let b in this.indexes)O=this.indexes[b],g<=O&&(this.indexes[b]=O+w.length);return this.markDirty(),this}normalize(u,v){if(typeof u=="string")u=s(f(u).nodes);else if(typeof u>"u")u=[];else if(Array.isArray(u)){u=u.slice(0);for(let g of u)g.parent&&g.parent.removeChild(g,"ignore")}else if(u.type==="root"&&this.type!=="document"){u=u.nodes.slice(0);for(let g of u)g.parent&&g.parent.removeChild(g,"ignore")}else if(u.type)u=[u];else if(u.prop){if(typeof u.value>"u")throw new Error("Value field is missed in node creation");typeof u.value!="string"&&(u.value=String(u.value)),u=[new r(u)]}else if(u.selector||u.selectors)u=[new t(u)];else if(u.name)u=[new m(u)];else if(u.text)u=[new o(u)];else throw new Error("Unknown node type in node creation");return u.map(g=>(g[p]||rr.rebuild(g),g=g.proxyOf,g.parent&&g.parent.removeChild(g),g[c]&&a(g),g.raws||(g.raws={}),typeof g.raws.before>"u"&&v&&typeof v.raws.before<"u"&&(g.raws.before=v.raws.before.replace(/\S/g,"")),g.parent=this.proxyOf,g))}prepend(...u){u=u.reverse();for(let v of u){let g=this.normalize(v,this.first,"prepend").reverse();for(let y of g)this.proxyOf.nodes.unshift(y);for(let y in this.indexes)this.indexes[y]=this.indexes[y]+g.length}return this.markDirty(),this}push(u){return u.parent=this,this.proxyOf.nodes.push(u),this}removeAll(){for(let u of this.proxyOf.nodes)u.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(u){u=this.index(u),this.proxyOf.nodes[u].parent=void 0,this.proxyOf.nodes.splice(u,1);let v;for(let g in this.indexes)v=this.indexes[g],v>=u&&(this.indexes[g]=v-1);return this.markDirty(),this}replaceValues(u,v,g){return g||(g=v,v={}),this.walkDecls(y=>{v.props&&!v.props.includes(y.prop)||v.fast&&!y.value.includes(v.fast)||(y.value=y.value.replace(u,g))}),this.markDirty(),this}some(u){return this.nodes.some(u)}walk(u){return this.each((v,g)=>{let y;try{y=u(v,g)}catch(w){throw v.addToError(w)}return y!==!1&&v.walk&&(y=v.walk(u)),y})}walkAtRules(u,v){return v?u instanceof RegExp?this.walk((g,y)=>{if(g.type==="atrule"&&u.test(g.name))return v(g,y)}):this.walk((g,y)=>{if(g.type==="atrule"&&g.name===u)return v(g,y)}):(v=u,this.walk((g,y)=>{if(g.type==="atrule")return v(g,y)}))}walkComments(u){return this.walk((v,g)=>{if(v.type==="comment")return u(v,g)})}walkDecls(u,v){return v?u instanceof RegExp?this.walk((g,y)=>{if(g.type==="decl"&&u.test(g.prop))return v(g,y)}):this.walk((g,y)=>{if(g.type==="decl"&&g.prop===u)return v(g,y)}):(v=u,this.walk((g,y)=>{if(g.type==="decl")return v(g,y)}))}walkRules(u,v){return v?u instanceof RegExp?this.walk((g,y)=>{if(g.type==="rule"&&u.test(g.selector))return v(g,y)}):this.walk((g,y)=>{if(g.type==="rule"&&g.selector===u)return v(g,y)}):(v=u,this.walk((g,y)=>{if(g.type==="rule")return v(g,y)}))}};l.registerParse=h=>{f=h},l.registerRule=h=>{t=h},l.registerAtRule=h=>{m=h},l.registerRoot=h=>{d=h},n.exports=l,l.default=l,l.rebuild=h=>{h.type==="atrule"?Object.setPrototypeOf(h,m.prototype):h.type==="rule"?Object.setPrototypeOf(h,t.prototype):h.type==="decl"?Object.setPrototypeOf(h,r.prototype):h.type==="comment"?Object.setPrototypeOf(h,o.prototype):h.type==="root"&&Object.setPrototypeOf(h,d.prototype),h[p]=!0,h.nodes&&h.nodes.forEach(u=>{l.rebuild(u)})}}),vs=E((e,n)=>{var o="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",r=(c,p=21)=>(m=p)=>{let f="",d=m|0;for(;d--;)f+=c[Math.random()*c.length|0];return f},i=(c=21)=>{let p="",m=c|0;for(;m--;)p+=o[Math.random()*64|0];return p};n.exports={nanoid:i,customAlphabet:r}}),gs=E(()=>{}),sr=E((e,n)=>{n.exports=class{}}),ze=E((e,n)=>{"use strict";var{nanoid:o}=vs(),{isAbsolute:r,resolve:i}={},{SourceMapConsumer:c,SourceMapGenerator:p}=gs(),{fileURLToPath:m,pathToFileURL:f}={},d=Tt(),t=sr(),s=er(),a=Symbol("lineToIndexCache"),l=!!(c&&p),h=!!(i&&r);function u(g){if(g[a])return g[a];let y=g.css.split(`
21
+ `),w=new Array(y.length),O=0;for(let b=0,T=y.length;b<T;b++)w[b]=O,O+=y[b].length+1;return g[a]=w,w}var v=class{get from(){return this.file||this.id}constructor(g,y={}){if(g===null||typeof g>"u"||typeof g=="object"&&!g.toString)throw new Error(`PostCSS received ${g} instead of CSS string`);if(this.css=g.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,y.document&&(this.document=y.document.toString()),y.from&&(!h||/^\w+:\/\//.test(y.from)||r(y.from)?this.file=y.from:this.file=i(y.from)),h&&l){let w=new t(this.css,y);if(w.text){this.map=w;let O=w.consumer().file;!this.file&&O&&(this.file=this.mapResolve(O))}}this.file||(this.id="<input css "+o(6)+">"),this.map&&(this.map.file=this.from)}error(g,y,w,O={}){let b,T,x,k,_;if(y&&typeof y=="object"){let I=y,M=w;if(typeof I.offset=="number"){k=I.offset;let $=this.fromOffset(k);y=$.line,w=$.col}else y=I.line,w=I.column,k=this.fromLineAndColumn(y,w);if(typeof M.offset=="number"){x=M.offset;let $=this.fromOffset(x);T=$.line,b=$.col}else T=M.line,b=M.column,x=this.fromLineAndColumn(M.line,M.column)}else if(w)k=this.fromLineAndColumn(y,w);else{k=y;let I=this.fromOffset(k);y=I.line,w=I.col}let C=this.origin(y,w,T,b);return C?_=new d(g,C.endLine===void 0?C.line:{column:C.column,line:C.line},C.endLine===void 0?C.column:{column:C.endColumn,line:C.endLine},C.source,C.file,O.plugin):_=new d(g,T===void 0?y:{column:w,line:y},T===void 0?w:{column:b,line:T},this.css,this.file,O.plugin),_.input={column:w,endColumn:b,endLine:T,endOffset:x,line:y,offset:k,source:this.css},this.file&&(f&&(_.input.url=f(this.file).toString()),_.input.file=this.file),_}fromLineAndColumn(g,y){return u(this)[g-1]+y-1}fromOffset(g){let y=u(this),w=y[y.length-1],O=0;if(g>=w)O=y.length-1;else{let b=y.length-2,T;for(;O<b;)if(T=O+(b-O>>1),g<y[T])b=T-1;else if(g>=y[T+1])O=T+1;else{O=T;break}}return{col:g-y[O]+1,line:O+1}}mapResolve(g){return/^\w+:\/\//.test(g)?g:i(this.map.consumer().sourceRoot||this.map.root||".",g)}origin(g,y,w,O){if(!this.map)return!1;let b=this.map.consumer(),T=b.originalPositionFor({column:y-1,line:g});if(!T.source)return!1;let x;typeof w=="number"&&(x=b.originalPositionFor({column:O-1,line:w}));let k;r(T.source)?k=f(T.source):k=new URL(T.source,this.map.consumer().sourceRoot||f(this.map.mapFile));let _={column:T.column+1,endColumn:x&&x.column+1,endLine:x&&x.line,line:T.line,url:k.toString()};if(k.protocol==="file:")if(m)_.file=m(k);else throw new Error("file: protocol is not available in this PostCSS build");let C=b.sourceContentFor(T.source);return C&&(_.source=C),_}toJSON(){let g={};for(let y of["hasBOM","css","file","id"])this[y]!=null&&(g[y]=this[y]);return this.map&&(g.map={...this.map},g.map.consumerCache&&(g.map.consumerCache=void 0)),g}};n.exports=v,v.default=v,s&&s.registerInput&&s.registerInput(v)}),Ct=E((e,n)=>{"use strict";var o=de(),r=class extends o{constructor(i){super(i),this.type="atrule"}append(...i){return this.proxyOf.nodes||(this.nodes=[]),super.append(...i)}prepend(...i){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...i)}};n.exports=r,r.default=r,o.registerAtRule(r)}),qe=E((e,n)=>{"use strict";var o=de(),r,i,c=class extends o{constructor(p){super(p),this.type="root",this.nodes||(this.nodes=[])}normalize(p,m,f){let d=super.normalize(p);if(m){if(f==="prepend")this.nodes.length>1?m.raws.before=this.nodes[1].raws.before:delete m.raws.before;else if(this.first!==m)for(let t of d)t.raws.before=m.raws.before}return d}removeChild(p,m){let f=this.index(p);return!m&&f===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[f].raws.before),super.removeChild(p)}toResult(p={}){return new r(new i,this,p).stringify()}};c.registerLazyResult=p=>{r=p},c.registerProcessor=p=>{i=p},n.exports=c,c.default=c,o.registerRoot(c)}),nr=E((e,n)=>{"use strict";var o={comma(r){return o.split(r,[","],!0)},space(r){let i=[" ",`
22
+ `," "];return o.split(r,i)},split(r,i,c){let p=[],m="",f=!1,d=0,t=!1,s="",a=!1;for(let l of r)a?a=!1:l==="\\"?a=!0:t?l===s&&(t=!1):l==='"'||l==="'"?(t=!0,s=l):l==="("?d+=1:l===")"?d>0&&(d-=1):d===0&&i.includes(l)&&(f=!0),f?(m!==""&&p.push(m.trim()),m="",f=!1):m+=l;return(c||m!=="")&&p.push(m.trim()),p}};n.exports=o,o.default=o}),At=E((e,n)=>{"use strict";var o=de(),r=nr(),i=class extends o{get selectors(){return r.comma(this.selector)}set selectors(c){let p=this.selector?this.selector.match(/,\s*/):null,m=p?p[0]:","+this.raw("between","beforeOpen");this.selector=c.join(m)}constructor(c){super(c),this.type="rule",this.nodes||(this.nodes=[])}};n.exports=i,i.default=i,o.registerRule(i)}),Et=E((e,n)=>{"use strict";var o=/[\t\n\f\r "#'()/;[\\\]{}]/g,r=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,i=/.[\r\n"'(/\\]/,c=/[\da-f]/i;n.exports=function(p,m={}){let f=p.css.valueOf(),d=m.ignoreErrors,t,s,a,l,h,u,v,g,y,w,O=f.length,b=0,T=[],x=[],k=-1;function _(){return b}function C(R){throw p.error("Unclosed "+R,b)}function I(){return x.length===0&&b>=O}function M(R){if(x.length)return x.pop();if(b>=O)return;let N=R?R.ignoreUnclosed:!1;switch(t=f.charCodeAt(b),t){case 10:case 32:case 9:case 13:case 12:{l=b;do l+=1,t=f.charCodeAt(l);while(t===32||t===10||t===9||t===13||t===12);u=["space",f.slice(b,l)],b=l-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let P=String.fromCharCode(t);u=[P,P,b];break}case 40:{if(w=T.length?T.pop()[1]:"",y=f.charCodeAt(b+1),w==="url"&&y!==39&&y!==34&&y!==32&&y!==10&&y!==9&&y!==12&&y!==13){l=b;do{if(v=!1,l=f.indexOf(")",l+1),l===-1)if(d||N){l=b;break}else C("bracket");for(g=l;f.charCodeAt(g-1)===92;)g-=1,v=!v}while(v);u=["brackets",f.slice(b,l+1),b,l],b=l}else b<=k?u=["(","(",b]:(l=f.indexOf(")",b+1),s=f.slice(b,l+1),l===-1||i.test(s)?(k=l===-1?O:l,u=["(","(",b]):(u=["brackets",s,b,l],b=l));break}case 39:case 34:{h=t===39?"'":'"',l=b;do{if(v=!1,l=f.indexOf(h,l+1),l===-1)if(d||N){l=b+1;break}else C("string");for(g=l;f.charCodeAt(g-1)===92;)g-=1,v=!v}while(v);u=["string",f.slice(b,l+1),b,l],b=l;break}case 64:{o.lastIndex=b+1,o.test(f),o.lastIndex===0?l=f.length-1:l=o.lastIndex-2,u=["at-word",f.slice(b,l+1),b,l],b=l;break}case 92:{for(l=b,a=!0;f.charCodeAt(l+1)===92;)l+=1,a=!a;if(t=f.charCodeAt(l+1),a&&t!==47&&t!==32&&t!==10&&t!==9&&t!==13&&t!==12&&(l+=1,c.test(f.charAt(l)))){for(;c.test(f.charAt(l+1));)l+=1;f.charCodeAt(l+1)===32&&(l+=1)}u=["word",f.slice(b,l+1),b,l],b=l;break}default:{t===47&&f.charCodeAt(b+1)===42?(l=f.indexOf("*/",b+2)+1,l===0&&(d||N?l=f.length:C("comment")),u=["comment",f.slice(b,l+1),b,l],b=l):(r.lastIndex=b+1,r.test(f),r.lastIndex===0?l=f.length-1:l=r.lastIndex-2,u=["word",f.slice(b,l+1),b,l],T.push(u),b=l);break}}return b++,u}function $(R){x.push(R)}return{back:$,endOfFile:I,nextToken:M,position:_}}}),It=E((e,n)=>{"use strict";var o=Ct(),r=Le(),i=et(),c=qe(),p=At(),m=Et(),f={empty:!0,space:!0};function d(a){for(let l=a.length-1;l>=0;l--){let h=a[l],u=h[3]||h[2];if(u)return u}}function t(a,l,h){let u="";for(let v=l;v<h;v++)u+=a[v][1];return u}var s=class{constructor(a){this.input=a,this.root=new c,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:a,start:{column:1,line:1,offset:0}}}atrule(a){let l=new o;l.name=a[1].slice(1),l.name===""&&this.unnamedAtrule(l,a),this.init(l,a[2]);let h,u,v,g=!1,y=!1,w=[],O=[];for(;!this.tokenizer.endOfFile();){if(a=this.tokenizer.nextToken(),h=a[0],h==="("||h==="["?O.push(h==="("?")":"]"):h==="{"&&O.length>0?O.push("}"):h===O[O.length-1]&&O.pop(),O.length===0)if(h===";"){l.source.end=this.getPosition(a[2]),l.source.end.offset++,this.semicolon=!0;break}else if(h==="{"){y=!0;break}else if(h==="}"){if(w.length>0){for(v=w.length-1,u=w[v];u&&u[0]==="space";)u=w[--v];u&&(l.source.end=this.getPosition(u[3]||u[2]),l.source.end.offset++)}this.end(a);break}else w.push(a);else w.push(a);if(this.tokenizer.endOfFile()){g=!0;break}}l.raws.between=this.spacesAndCommentsFromEnd(w),w.length?(l.raws.afterName=this.spacesAndCommentsFromStart(w),this.raw(l,"params",w),g&&(a=w[w.length-1],l.source.end=this.getPosition(a[3]||a[2]),l.source.end.offset++,this.spaces=l.raws.between,l.raws.between="")):(l.raws.afterName="",l.params=""),y&&(l.nodes=[],this.current=l)}checkMissedSemicolon(a){let l=this.colon(a);if(l===!1)return;let h=0,u;for(let v=l-1;v>=0&&(u=a[v],!(u[0]!=="space"&&(h+=1,h===2)));v--);throw this.input.error("Missed semicolon",u[0]==="word"?u[3]+1:u[2])}colon(a){let l=0,h,u,v;for(let[g,y]of a.entries()){if(u=y,v=u[0],v==="("&&(l+=1),v===")"&&(l-=1),l===0&&v===":")if(!h)this.doubleColon(u);else{if(h[0]==="word"&&h[1]==="progid")continue;return g}h=u}return!1}comment(a){let l=new r;this.init(l,a[2]),l.source.end=this.getPosition(a[3]||a[2]),l.source.end.offset++;let h=a[1].slice(2,-2);if(!h.trim())l.text="",l.raws.left=h,l.raws.right="";else{let u=h.match(/^(\s*)([^]*\S)(\s*)$/);l.text=u[2],l.raws.left=u[1],l.raws.right=u[3]}}createTokenizer(){this.tokenizer=m(this.input)}decl(a,l){let h=new i;this.init(h,a[0][2]);let u=a[a.length-1];u[0]===";"&&(this.semicolon=!0,a.pop()),h.source.end=this.getPosition(u[3]||u[2]||d(a)),h.source.end.offset++;let v=0;for(;a[v][0]!=="word";)v===a.length-1&&this.unknownWord([a[v]]),v++;h.raws.before+=t(a,0,v),h.source.start=this.getPosition(a[v][2]);let g=v;for(;v<a.length;){let T=a[v][0];if(T===":"||T==="space"||T==="comment")break;v++}h.prop=t(a,g,v);let y=v,w;for(;v<a.length&&(w=a[v],v++,w[0]!==":");)w[0]==="word"&&/\w/.test(w[1])&&this.unknownWord([w]);h.raws.between=t(a,y,v),(h.prop[0]==="_"||h.prop[0]==="*")&&(h.raws.before+=h.prop[0],h.prop=h.prop.slice(1));let O=v;for(;v<a.length;){let T=a[v][0];if(T!=="space"&&T!=="comment")break;v++}let b=a.slice(O,v);a=a.slice(v),this.precheckMissedSemicolon(a);for(let T=a.length-1;T>=0;T--){if(w=a[T],w[1].toLowerCase()==="!important"){h.important=!0;let x=this.stringFrom(a,T);x=this.spacesFromEnd(a)+x,x!==" !important"&&(h.raws.important=x);break}else if(w[1].toLowerCase()==="important"){let x=a.slice(0),k="";for(let _=T;_>0;_--){let C=x[_][0];if(k.trim().startsWith("!")&&C!=="space")break;k=x.pop()[1]+k}k.trim().startsWith("!")&&(h.important=!0,h.raws.important=k,a=x)}if(w[0]!=="space"&&w[0]!=="comment")break}a.some(T=>T[0]!=="space"&&T[0]!=="comment")&&(h.raws.between+=b.map(T=>T[1]).join(""),b=[]),this.raw(h,"value",b.concat(a),l),h.value.includes(":")&&!l&&this.checkMissedSemicolon(a)}doubleColon(a){throw this.input.error("Double colon",{offset:a[2]},{offset:a[2]+a[1].length})}emptyRule(a){let l=new p;this.init(l,a[2]),l.selector="",l.raws.between="",this.current=l}end(a){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(a[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(a)}endFile(){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())}freeSemicolon(a){if(this.spaces+=a[1],this.current.nodes){let l=this.current.nodes[this.current.nodes.length-1];l&&l.type==="rule"&&!l.raws.ownSemicolon&&(l.raws.ownSemicolon=this.spaces,this.spaces="",l.source.end=this.getPosition(a[2]),l.source.end.offset+=l.raws.ownSemicolon.length)}}getPosition(a){let l=this.input.fromOffset(a);return{column:l.col,line:l.line,offset:a}}init(a,l){this.current.push(a),a.source={input:this.input,start:this.getPosition(l)},a.raws.before=this.spaces,this.spaces="",a.type!=="comment"&&(this.semicolon=!1)}other(a){let l=!1,h=null,u=!1,v=null,g=[],y=a[1].startsWith("--"),w=[],O=a;for(;O;){if(h=O[0],w.push(O),h==="("||h==="[")v||(v=O),g.push(h==="("?")":"]");else if(y&&u&&h==="{")v||(v=O),g.push("}");else if(g.length===0)if(h===";")if(u){this.decl(w,y);return}else break;else if(h==="{"){this.rule(w);return}else if(h==="}"){this.tokenizer.back(w.pop()),l=!0;break}else h===":"&&(u=!0);else h===g[g.length-1]&&(g.pop(),g.length===0&&(v=null));O=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(l=!0),g.length>0&&this.unclosedBracket(v),l&&u){if(!y)for(;w.length&&(O=w[w.length-1][0],!(O!=="space"&&O!=="comment"));)this.tokenizer.back(w.pop());this.decl(w,y)}else this.unknownWord(w)}parse(){let a;for(;!this.tokenizer.endOfFile();)switch(a=this.tokenizer.nextToken(),a[0]){case"space":this.spaces+=a[1];break;case";":this.freeSemicolon(a);break;case"}":this.end(a);break;case"comment":this.comment(a);break;case"at-word":this.atrule(a);break;case"{":this.emptyRule(a);break;default:this.other(a);break}this.endFile()}precheckMissedSemicolon(){}raw(a,l,h,u){let v,g,y=h.length,w="",O=!0,b,T;for(let x=0;x<y;x+=1)v=h[x],g=v[0],g==="space"&&x===y-1&&!u?O=!1:g==="comment"?(T=h[x-1]?h[x-1][0]:"empty",b=h[x+1]?h[x+1][0]:"empty",!f[T]&&!f[b]?w.slice(-1)===","?O=!1:w+=v[1]:O=!1):w+=v[1];if(!O){let x=h.reduce((k,_)=>k+_[1],"");a.raws[l]={raw:x,value:w}}a[l]=w}rule(a){a.pop();let l=new p;this.init(l,a[0][2]),l.raws.between=this.spacesAndCommentsFromEnd(a),this.raw(l,"selector",a),this.current=l}spacesAndCommentsFromEnd(a){let l,h="";for(;a.length&&(l=a[a.length-1][0],!(l!=="space"&&l!=="comment"));)h=a.pop()[1]+h;return h}spacesAndCommentsFromStart(a){let l,h="";for(;a.length&&(l=a[0][0],!(l!=="space"&&l!=="comment"));)h+=a.shift()[1];return h}spacesFromEnd(a){let l,h="";for(;a.length&&(l=a[a.length-1][0],l==="space");)h=a.pop()[1]+h;return h}stringFrom(a,l){let h="";for(let u=l;u<a.length;u++)h+=a[u][1];return a.splice(l,a.length-l),h}unclosedBlock(){let a=this.current.source.start;throw this.input.error("Unclosed block",a.line,a.column)}unclosedBracket(a){throw this.input.error("Unclosed bracket",{offset:a[2]},{offset:a[2]+1})}unexpectedClose(a){throw this.input.error("Unexpected }",{offset:a[2]},{offset:a[2]+1})}unknownWord(a){throw this.input.error("Unknown word "+a[0][1],{offset:a[0][2]},{offset:a[0][2]+a[0][1].length})}unnamedAtrule(a,l){throw this.input.error("At-rule without name",{offset:l[2]},{offset:l[2]+l[1].length})}};n.exports=s}),tt=E((e,n)=>{"use strict";var o=de(),r=ze(),i=It();function c(p,m){let f=new r(p,m),d=new i(f);try{d.parse()}catch(t){throw t}return d.root}n.exports=c,c.default=c,o.registerParse(c)}),ws=E((e,n)=>{var o=Et(),r=ze();n.exports={isInlineComment(i){if(i[0]==="word"&&i[1].slice(0,2)==="//"){let c=i,p=[],m,f;for(;i;){if(/\r?\n/.test(i[1])){if(/['"].*\r?\n/.test(i[1])){p.push(i[1].substring(0,i[1].indexOf(`
23
+ `))),f=i[1].substring(i[1].indexOf(`
24
+ `));let t=this.input.css.valueOf().substring(this.tokenizer.position());f+=t,m=i[3]+t.length-f.length}else this.tokenizer.back(i);break}p.push(i[1]),m=i[2],i=this.tokenizer.nextToken({ignoreUnclosed:!0})}let d=["comment",p.join(""),c[2],m];return this.inlineComment(d),f&&(this.input=new r(f),this.tokenizer=o(this.input)),!0}else if(i[1]==="/"){let c=this.tokenizer.nextToken({ignoreUnclosed:!0});if(c[0]==="comment"&&/^\/\*/.test(c[1]))return c[0]="word",c[1]=c[1].slice(1),i[1]="//",this.tokenizer.back(c),n.exports.isInlineComment.bind(this)(i)}return!1}}}),bs=E((e,n)=>{n.exports={interpolation(o){let r=[o,this.tokenizer.nextToken()],i=["word","}"];if(r[0][1].length>1||r[1][0]!=="{")return this.tokenizer.back(r[1]),!1;for(o=this.tokenizer.nextToken();o&&i.includes(o[0]);)r.push(o),o=this.tokenizer.nextToken();let c=r.map(d=>d[1]),[p]=r,m=r.pop(),f=["word",c.join(""),p[2],m[2]];return this.tokenizer.back(o),this.tokenizer.back(f),!0}}}),xs=E((e,n)=>{var o=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,r=/\.[0-9]/,i=c=>{let[,p]=c,[m]=p;return(m==="."||m==="#")&&o.test(p)===!1&&r.test(p)===!1};n.exports={isMixinToken:i}}),ks=E((e,n)=>{var o=Et(),r=/^url\((.+)\)/;n.exports=i=>{let{name:c,params:p=""}=i;if(c==="import"&&p.length){i.import=!0;let m=o({css:p});for(i.filename=p.replace(r,"$1");!m.endOfFile();){let[f,d]=m.nextToken();if(f==="word"&&d==="url")return;if(f==="brackets"){i.options=d,i.filename=p.replace(d,"").trim();break}}}}}),Os=E((e,n)=>{var o=/:$/,r=/^:(\s+)?/;n.exports=i=>{let{name:c,params:p=""}=i;if(i.name.slice(-1)===":"){if(o.test(c)){let[m]=c.match(o);i.name=c.replace(m,""),i.raws.afterName=m+(i.raws.afterName||""),i.variable=!0,i.value=i.params}if(r.test(p)){let[m]=p.match(r);i.value=p.replace(m,""),i.raws.afterName=(i.raws.afterName||"")+m,i.variable=!0}}}}),Ts=E((e,n)=>{var o=Le(),r=It(),{isInlineComment:i}=ws(),{interpolation:c}=bs(),{isMixinToken:p}=xs(),m=ks(),f=Os(),d=/(!\s*important)$/i;n.exports=class extends r{constructor(...t){super(...t),this.lastNode=null}atrule(t){c.bind(this)(t)||(super.atrule(t),m(this.lastNode),f(this.lastNode))}decl(...t){super.decl(...t),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(t){t[0][1]=` ${t[0][1]}`;let s=t.findIndex(u=>u[0]==="("),a=t.reverse().find(u=>u[0]===")"),l=t.reverse().indexOf(a),h=t.splice(s,l).map(u=>u[1]).join("");for(let u of t.reverse())this.tokenizer.back(u);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=h}init(t,s,a){super.init(t,s,a),this.lastNode=t}inlineComment(t){let s=new o,a=t[1].slice(2);if(this.init(s,t[2]),s.source.end=this.getPosition(t[3]||t[2]),s.inline=!0,s.raws.begin="//",/^\s*$/.test(a))s.text="",s.raws.left=a,s.raws.right="";else{let l=a.match(/^(\s*)([^]*[^\s])(\s*)$/);[,s.raws.left,s.text,s.raws.right]=l}}mixin(t){let[s]=t,a=s[1].slice(0,1),l=t.findIndex(y=>y[0]==="brackets"),h=t.findIndex(y=>y[0]==="("),u="";if((l<0||l>3)&&h>0){let y=t.reduce((I,M,$)=>M[0]===")"?$:I),w=t.slice(h,y+h).map(I=>I[1]).join(""),[O]=t.slice(h),b=[O[2],O[3]],[T]=t.slice(y,y+1),x=[T[2],T[3]],k=["brackets",w].concat(b,x),_=t.slice(0,h),C=t.slice(y+1);t=_,t.push(k),t=t.concat(C)}let v=[];for(let y of t)if((y[1]==="!"||v.length)&&v.push(y),y[1]==="important")break;if(v.length){let[y]=v,w=t.indexOf(y),O=v[v.length-1],b=[y[2],y[3]],T=[O[4],O[5]],x=["word",v.map(k=>k[1]).join("")].concat(b,T);t.splice(w,v.length,x)}let g=t.findIndex(y=>d.test(y[1]));g>0&&([,u]=t[g],t.splice(g,1));for(let y of t.reverse())this.tokenizer.back(y);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=a,u&&(this.lastNode.important=!0,this.lastNode.raws.important=u)}other(t){i.bind(this)(t)||super.other(t)}rule(t){let s=t[t.length-1],a=t[t.length-2];if(a[0]==="at-word"&&s[0]==="{"&&(this.tokenizer.back(s),c.bind(this)(a))){let l=this.tokenizer.nextToken();t=t.slice(0,t.length-2).concat([l]);for(let h of t.reverse())this.tokenizer.back(h);return}super.rule(t),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(t){let[s]=t;if(t[0][1]==="each"&&t[1][0]==="("){this.each(t);return}if(p(s)){this.mixin(t);return}super.unknownWord(t)}}}),_s=E((e,n)=>{var o=_t();n.exports=class extends o{atrule(r,i){if(!r.mixin&&!r.variable&&!r.function){super.atrule(r,i);return}let c=`${r.function?"":r.raws.identifier||"@"}${r.name}`,p=r.params?this.rawValue(r,"params"):"",m=r.raws.important||"";if(r.variable&&(p=r.value),typeof r.raws.afterName<"u"?c+=r.raws.afterName:p&&(c+=" "),r.nodes)this.block(r,c+p+m);else{let f=(r.raws.between||"")+m+(i?";":"");this.builder(c+p+f,r)}}comment(r){if(r.inline){let i=this.raw(r,"left","commentLeft"),c=this.raw(r,"right","commentRight");this.builder(`//${i}${r.text}${c}`,r)}else super.comment(r)}}}),Ss=E((e,n)=>{var o=ze(),r=Ts(),i=_s();n.exports={parse(c,p){let m=new o(c,p),f=new r(m);return f.parse(),f.root.walk(d=>{let t=m.css.lastIndexOf(d.source.input.css);if(t===0)return;if(t+d.source.input.css.length!==m.css.length)throw new Error("Invalid state detected in postcss-less");let s=t+d.source.start.offset,a=m.fromOffset(t+d.source.start.offset);if(d.source.start={offset:s,line:a.line,column:a.col},d.source.end){let l=t+d.source.end.offset,h=m.fromOffset(t+d.source.end.offset);d.source.end={offset:l,line:h.line,column:h.col}}}),f.root},stringify(c,p){new i(p).stringify(c)},nodeToString(c){let p="";return n.exports.stringify(c,m=>{p+=m}),p}}}),jt=E((e,n)=>{"use strict";var o=de(),r,i,c=class extends o{constructor(p){super({type:"document",...p}),this.nodes||(this.nodes=[])}toResult(p={}){return new r(new i,this,p).stringify()}};c.registerLazyResult=p=>{r=p},c.registerProcessor=p=>{i=p},n.exports=c,c.default=c}),Cs=E((e,n)=>{"use strict";var o=Ct(),r=Le(),i=et(),c=ze(),p=sr(),m=qe(),f=At();function d(t,s){if(Array.isArray(t))return t.map(v=>d(v));let{inputs:a,...l}=t;if(a){s=[];for(let v of a){let g={...v,__proto__:c.prototype};g.map&&(g.map={...g.map,__proto__:p.prototype}),s.push(g)}}let h;if(l.nodes&&(h=t.nodes.map(v=>d(v,s)),delete l.nodes),l.source){let{inputId:v,...g}=l.source;l.source=g,v!=null&&(l.source.input=s[v])}let u;if(l.type==="root")u=new m(l);else if(l.type==="decl")u=new i(l);else if(l.type==="rule")u=new f(l);else if(l.type==="comment")u=new r(l);else if(l.type==="atrule")u=new o(l);else throw new Error("Unknown node type: "+t.type);if(h){u.nodes=h;for(let v of h)v.parent=u}return u}n.exports=d,d.default=d}),or=E((e,n)=>{n.exports=class{generate(){}}}),ir=E((e,n)=>{"use strict";var o=class{constructor(r,i={}){if(this.type="warning",this.text=r,i.node&&i.node.source){let c=i.node.rangeBy(i);this.line=c.start.line,this.column=c.start.column,this.endLine=c.end.line,this.endColumn=c.end.column}for(let c in i)this[c]=i[c]}toString(){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}};n.exports=o,o.default=o}),Pt=E((e,n)=>{"use strict";var o=ir(),r=class{get content(){return this.css}constructor(i,c,p){this.processor=i,this.messages=[],this.root=c,this.opts=p,this.css="",this.map=void 0}toString(){return this.css}warn(i,c={}){c.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(c.plugin=this.lastPlugin.postcssPlugin);let p=new o(i,c);return this.messages.push(p),p}warnings(){return this.messages.filter(i=>i.type==="warning")}};n.exports=r,r.default=r}),ar=E((e,n)=>{"use strict";var o={};n.exports=function(r){o[r]||(o[r]=!0,typeof console<"u"&&console.warn&&console.warn(r))}}),ur=E((e,n)=>{"use strict";var o=de(),r=jt(),i=or(),c=tt(),p=Pt(),m=qe(),f=Ze(),{isClean:d,my:t}=St(),s=ar(),a={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},l={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},h={Once:!0,postcssPlugin:!0,prepare:!0},u=0;function v(T){return typeof T=="object"&&typeof T.then=="function"}function g(T){let x=!1,k=a[T.type];return T.type==="decl"?x=T.prop.toLowerCase():T.type==="atrule"&&(x=T.name.toLowerCase()),x&&T.append?[k,k+"-"+x,u,k+"Exit",k+"Exit-"+x]:x?[k,k+"-"+x,k+"Exit",k+"Exit-"+x]:T.append?[k,u,k+"Exit"]:[k,k+"Exit"]}function y(T){let x;return T.type==="document"?x=["Document",u,"DocumentExit"]:T.type==="root"?x=["Root",u,"RootExit"]:x=g(T),{eventIndex:0,events:x,iterator:0,node:T,visitorIndex:0,visitors:[]}}function w(T){return T[d]=!1,T.nodes&&T.nodes.forEach(x=>w(x)),T}var O={},b=class lr{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(x,k,_){this.stringified=!1,this.processed=!1;let C;if(typeof k=="object"&&k!==null&&(k.type==="root"||k.type==="document"))C=w(k);else if(k instanceof lr||k instanceof p)C=w(k.root),k.map&&(typeof _.map>"u"&&(_.map={}),_.map.inline||(_.map.inline=!1),_.map.prev=k.map);else{let I=c;_.syntax&&(I=_.syntax.parse),_.parser&&(I=_.parser),I.parse&&(I=I.parse);try{C=I(k,_)}catch(M){this.processed=!0,this.error=M}C&&!C[t]&&o.rebuild(C)}this.result=new p(x,C,_),this.helpers={...O,postcss:O,result:this.result},this.plugins=this.processor.plugins.map(I=>typeof I=="object"&&I.prepare?{...I,...I.prepare(this.result)}:I)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(x){return this.async().catch(x)}finally(x){return this.async().then(x,x)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(x,k){let _=this.result.lastPlugin;try{k&&k.addToError(x),this.error=x,x.name==="CssSyntaxError"&&!x.plugin?(x.plugin=_.postcssPlugin,x.setMessage()):_.postcssVersion}catch(C){console&&console.error&&console.error(C)}return x}prepareVisitors(){this.listeners={};let x=(k,_,C)=>{this.listeners[_]||(this.listeners[_]=[]),this.listeners[_].push([k,C])};for(let k of this.plugins)if(typeof k=="object")for(let _ in k){if(!l[_]&&/^[A-Z]/.test(_))throw new Error(`Unknown event ${_} in ${k.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!h[_])if(typeof k[_]=="object")for(let C in k[_])C==="*"?x(k,_,k[_][C]):x(k,_+"-"+C.toLowerCase(),k[_][C]);else typeof k[_]=="function"&&x(k,_,k[_])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let x=0;x<this.plugins.length;x++){let k=this.plugins[x],_=this.runOnRoot(k);if(v(_))try{await _}catch(C){throw this.handleError(C)}}if(this.prepareVisitors(),this.hasListener){let x=this.result.root;for(;!x[d];){x[d]=!0;let k=[y(x)];for(;k.length>0;){let _=this.visitTick(k);if(v(_))try{await _}catch(C){let I=k[k.length-1].node;throw this.handleError(C,I)}}}if(this.listeners.OnceExit)for(let[k,_]of this.listeners.OnceExit){this.result.lastPlugin=k;try{if(x.type==="document"){let C=x.nodes.map(I=>_(I,this.helpers));await Promise.all(C)}else await _(x,this.helpers)}catch(C){throw this.handleError(C)}}}return this.processed=!0,this.stringify()}runOnRoot(x){this.result.lastPlugin=x;try{if(typeof x=="object"&&x.Once){if(this.result.root.type==="document"){let k=this.result.root.nodes.map(_=>x.Once(_,this.helpers));return v(k[0])?Promise.all(k):k}return x.Once(this.result.root,this.helpers)}else if(typeof x=="function")return x(this.result.root,this.result)}catch(k){throw this.handleError(k)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let x=this.result.opts,k=f;x.syntax&&(k=x.syntax.stringify),x.stringifier&&(k=x.stringifier),k.stringify&&(k=k.stringify);let _=this.result.root.source;if(x.map===void 0&&!(_&&_.input&&_.input.map)){let I="";return k(this.result.root,M=>{I+=M}),this.result.css=I,this.result}let C=new i(k,this.result.root,this.result.opts).generate();return this.result.css=C[0],this.result.map=C[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let x of this.plugins){let k=this.runOnRoot(x);if(v(k))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let x=this.result.root;for(;!x[d];)x[d]=!0,this.walkSync(x);if(this.listeners.OnceExit)if(x.type==="document")for(let k of x.nodes)this.visitSync(this.listeners.OnceExit,k);else this.visitSync(this.listeners.OnceExit,x)}return this.result}then(x,k){return this.async().then(x,k)}toString(){return this.css}visitSync(x,k){for(let[_,C]of x){this.result.lastPlugin=_;let I;try{I=C(k,this.helpers)}catch(M){throw this.handleError(M,k.proxyOf)}if(k.type!=="root"&&k.type!=="document"&&!k.parent)return!0;if(v(I))throw this.getAsyncError()}}visitTick(x){let k=x[x.length-1],{node:_,visitors:C}=k;if(_.type!=="root"&&_.type!=="document"&&!_.parent){x.pop();return}if(C.length>0&&k.visitorIndex<C.length){let[M,$]=C[k.visitorIndex];k.visitorIndex+=1,k.visitorIndex===C.length&&(k.visitors=[],k.visitorIndex=0),this.result.lastPlugin=M;try{return $(_.toProxy(),this.helpers)}catch(R){throw this.handleError(R,_)}}if(k.iterator!==0){let M=k.iterator,$;for(;$=_.nodes[_.indexes[M]];)if(_.indexes[M]+=1,!$[d]){$[d]=!0,x.push(y($));return}k.iterator=0,delete _.indexes[M]}let I=k.events;for(;k.eventIndex<I.length;){let M=I[k.eventIndex];if(k.eventIndex+=1,M===u){_.nodes&&_.nodes.length&&(_[d]=!0,k.iterator=_.getIterator());return}else if(this.listeners[M]){k.visitors=this.listeners[M];return}}x.pop()}walkSync(x){x[d]=!0;let k=g(x);for(let _ of k)if(_===u)x.nodes&&x.each(C=>{C[d]||this.walkSync(C)});else{let C=this.listeners[_];if(C&&this.visitSync(C,x.toProxy()))return}}warnings(){return this.sync().warnings()}};b.registerPostcss=T=>{O=T},n.exports=b,b.default=b,m.registerLazyResult(b),r.registerLazyResult(b)}),As=E((e,n)=>{"use strict";var o=or(),r=tt(),i=Pt(),c=Ze(),p=ar(),m=class{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let f,d=r;try{f=d(this._css,this._opts)}catch(t){this.error=t}if(this.error)throw this.error;return this._root=f,f}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(f,d,t){d=d.toString(),this.stringified=!1,this._processor=f,this._css=d,this._opts=t,this._map=void 0;let s=c;this.result=new i(this._processor,void 0,this._opts),this.result.css=d;let a=this;Object.defineProperty(this.result,"root",{get(){return a.root}});let l=new o(s,void 0,this._opts,d);if(l.isMap()){let[h,u]=l.generate();h&&(this.result.css=h),u&&(this.result.map=u)}else l.clearAnnotation(),this.result.css=l.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(f){return this.async().catch(f)}finally(f){return this.async().then(f,f)}sync(){if(this.error)throw this.error;return this.result}then(f,d){return this.async().then(f,d)}toString(){return this._css}warnings(){return[]}};n.exports=m,m.default=m}),Es=E((e,n)=>{"use strict";var o=jt(),r=ur(),i=As(),c=qe(),p=class{constructor(m=[]){this.version="8.5.16",this.plugins=this.normalize(m)}normalize(m){let f=[];for(let d of m)if(d.postcss===!0?d=d():d.postcss&&(d=d.postcss),typeof d=="object"&&Array.isArray(d.plugins))f=f.concat(d.plugins);else if(typeof d=="object"&&d.postcssPlugin)f.push(d);else if(typeof d=="function")f.push(d);else if(!(typeof d=="object"&&(d.parse||d.stringify)))throw new Error(d+" is not a PostCSS plugin");return f}process(m,f={}){return!this.plugins.length&&!f.parser&&!f.stringifier&&!f.syntax?new i(this,m,f):new r(this,m,f)}use(m){return this.plugins=this.plugins.concat(this.normalize([m])),this}};n.exports=p,p.default=p,c.registerProcessor(p),o.registerProcessor(p)}),Nt=E((e,n)=>{"use strict";var o=Ct(),r=Le(),i=de(),c=Tt(),p=et(),m=jt(),f=Cs(),d=ze(),t=ur(),s=nr(),a=Xe(),l=tt(),h=Es(),u=Pt(),v=qe(),g=At(),y=Ze(),w=ir();function O(...b){return b.length===1&&Array.isArray(b[0])&&(b=b[0]),new h(b)}O.plugin=function(b,T){let x=!1;function k(...C){console&&console.warn&&!x&&(x=!0,console.warn(b+`: postcss.plugin was deprecated. Migration guide:
25
+ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));let I=T(...C);return I.postcssPlugin=b,I.postcssVersion=new h().version,I}let _;return Object.defineProperty(k,"postcss",{get(){return _||(_=k()),_}}),k.process=function(C,I,M){return O([k(M)]).process(C,I)},k},O.stringify=y,O.parse=l,O.fromJSON=f,O.list=s,O.comment=b=>new r(b),O.atRule=b=>new o(b),O.decl=b=>new p(b),O.rule=b=>new g(b),O.root=b=>new v(b),O.document=b=>new m(b),O.CssSyntaxError=c,O.Declaration=p,O.Container=i,O.Processor=h,O.Document=m,O.Comment=r,O.Warning=w,O.AtRule=o,O.Result=u,O.Input=d,O.Rule=g,O.Root=v,O.Node=a,t.registerPostcss(O),n.exports=O,O.default=O}),Is=E((e,n)=>{var{Container:o}=Nt(),r=class extends o{constructor(i){super(i),this.type="decl",this.isNested=!0,this.nodes||(this.nodes=[])}};n.exports=r}),js=E((e,n)=>{"use strict";var o=/[\t\n\f\r "#'()/;[\\\]{}]/g,r=/[,\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,i=/.[\r\n"'(/\\]/,c=/[\da-f]/i,p=/[\n\f\r]/g;n.exports=function(m,f={}){let d=m.css.valueOf(),t=f.ignoreErrors,s,a,l,h,u,v,g,y,w,O=d.length,b=0,T=[],x=[],k;function _(){return b}function C(N){throw m.error("Unclosed "+N,b)}function I(){return x.length===0&&b>=O}function M(){let N=1,P=!1,z=!1;for(;N>0;)a+=1,d.length<=a&&C("interpolation"),s=d.charCodeAt(a),y=d.charCodeAt(a+1),P?!z&&s===P?(P=!1,z=!1):s===92?z=!z:z&&(z=!1):s===39||s===34?P=s:s===125?N-=1:s===35&&y===123&&(N+=1)}function $(N){if(x.length)return x.pop();if(b>=O)return;let P=N?N.ignoreUnclosed:!1;switch(s=d.charCodeAt(b),s){case 10:case 32:case 9:case 13:case 12:{a=b;do a+=1,s=d.charCodeAt(a);while(s===32||s===10||s===9||s===13||s===12);w=["space",d.slice(b,a)],b=a-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let z=String.fromCharCode(s);w=[z,z,b];break}case 44:{w=["word",",",b,b+1];break}case 40:{if(g=T.length?T.pop()[1]:"",y=d.charCodeAt(b+1),g==="url"&&y!==39&&y!==34){for(k=1,v=!1,a=b+1;a<=d.length-1;){if(y=d.charCodeAt(a),y===92)v=!v;else if(y===40)k+=1;else if(y===41&&(k-=1,k===0))break;a+=1}h=d.slice(b,a+1),w=["brackets",h,b,a],b=a}else a=d.indexOf(")",b+1),h=d.slice(b,a+1),a===-1||i.test(h)?w=["(","(",b]:(w=["brackets",h,b,a],b=a);break}case 39:case 34:{for(l=s,a=b,v=!1;a<O&&(a++,a===O&&C("string"),s=d.charCodeAt(a),y=d.charCodeAt(a+1),!(!v&&s===l));)s===92?v=!v:v?v=!1:s===35&&y===123&&M();w=["string",d.slice(b,a+1),b,a],b=a;break}case 64:{o.lastIndex=b+1,o.test(d),o.lastIndex===0?a=d.length-1:a=o.lastIndex-2,w=["at-word",d.slice(b,a+1),b,a],b=a;break}case 92:{for(a=b,u=!0;d.charCodeAt(a+1)===92;)a+=1,u=!u;if(s=d.charCodeAt(a+1),u&&s!==47&&s!==32&&s!==10&&s!==9&&s!==13&&s!==12&&(a+=1,c.test(d.charAt(a)))){for(;c.test(d.charAt(a+1));)a+=1;d.charCodeAt(a+1)===32&&(a+=1)}w=["word",d.slice(b,a+1),b,a],b=a;break}default:y=d.charCodeAt(b+1),s===35&&y===123?(a=b,M(),h=d.slice(b,a+1),w=["word",h,b,a],b=a):s===47&&y===42?(a=d.indexOf("*/",b+2)+1,a===0&&(t||P?a=d.length:C("comment")),w=["comment",d.slice(b,a+1),b,a],b=a):s===47&&y===47?(p.lastIndex=b+1,p.test(d),p.lastIndex===0?a=d.length-1:a=p.lastIndex-2,h=d.slice(b,a+1),w=["comment",h,b,a,"inline"],b=a):(r.lastIndex=b+1,r.test(d),r.lastIndex===0?a=d.length-1:a=r.lastIndex-2,w=["word",d.slice(b,a+1),b,a],T.push(w),b=a);break}return b++,w}function R(N){x.push(N)}return{back:R,endOfFile:I,nextToken:$,position:_}}}),Ps=E((e,n)=>{var{Comment:o}=Nt(),r=It(),i=Is(),c=js(),p=class extends r{atrule(m){let f=m[1],d=m;for(;!this.tokenizer.endOfFile();){let t=this.tokenizer.nextToken();if(t[0]==="word"&&t[2]===d[3]+1)f+=t[1],d=t;else{this.tokenizer.back(t);break}}super.atrule(["at-word",f,m[2],d[3]])}comment(m){if(m[4]==="inline"){let f=new o;this.init(f,m[2]),f.raws.inline=!0;let d=this.input.fromOffset(m[3]);f.source.end={column:d.col,line:d.line,offset:m[3]+1};let t=m[1].slice(2);if(/^\s*$/.test(t))f.text="",f.raws.left=t,f.raws.right="";else{let s=t.match(/^(\s*)([^]*\S)(\s*)$/),a=s[2].replace(/(\*\/|\/\*)/g,"*//*");f.text=a,f.raws.left=s[1],f.raws.right=s[3],f.raws.text=s[2]}}else super.comment(m)}createTokenizer(){this.tokenizer=c(this.input)}raw(m,f,d,t){if(super.raw(m,f,d,t),m.raws[f]){let s=m.raws[f].raw;m.raws[f].raw=d.reduce((a,l)=>{if(l[0]==="comment"&&l[4]==="inline"){let h=l[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return a+"/*"+h+"*/"}else return a+l[1]},""),s!==m.raws[f].raw&&(m.raws[f].scss=s)}}rule(m){let f=!1,d=0,t="";for(let s of m)if(f)s[0]!=="comment"&&s[0]!=="{"&&(t+=s[1]);else{if(s[0]==="space"&&s[1].includes(`
26
+ `))break;s[0]==="("?d+=1:s[0]===")"?d-=1:d===0&&s[0]===":"&&(f=!0)}if(!f||t.trim()===""||/^[#:A-Za-z-]/.test(t))super.rule(m);else{m.pop();let s=new i;this.init(s,m[0][2]);let a;for(let h=m.length-1;h>=0;h--)if(m[h][0]!=="space"){a=m[h];break}if(a[3]){let h=this.input.fromOffset(a[3]);s.source.end={column:h.col,line:h.line,offset:a[3]+1}}else{let h=this.input.fromOffset(a[2]);s.source.end={column:h.col,line:h.line,offset:a[2]+1}}for(;m[0][0]!=="word";)s.raws.before+=m.shift()[1];if(m[0][2]){let h=this.input.fromOffset(m[0][2]);s.source.start={column:h.col,line:h.line,offset:m[0][2]}}for(s.prop="";m.length;){let h=m[0][0];if(h===":"||h==="space"||h==="comment")break;s.prop+=m.shift()[1]}s.raws.between="";let l;for(;m.length;)if(l=m.shift(),l[0]===":"){s.raws.between+=l[1];break}else s.raws.between+=l[1];(s.prop[0]==="_"||s.prop[0]==="*")&&(s.raws.before+=s.prop[0],s.prop=s.prop.slice(1)),s.raws.between+=this.spacesAndCommentsFromStart(m),this.precheckMissedSemicolon(m);for(let h=m.length-1;h>0;h--){if(l=m[h],l[1]==="!important"){s.important=!0;let u=this.stringFrom(m,h);u=this.spacesFromEnd(m)+u,u!==" !important"&&(s.raws.important=u);break}else if(l[1]==="important"){let u=m.slice(0),v="";for(let g=h;g>0;g--){let y=u[g][0];if(v.trim().indexOf("!")===0&&y!=="space")break;v=u.pop()[1]+v}v.trim().indexOf("!")===0&&(s.important=!0,s.raws.important=v,m=u)}if(l[0]!=="space"&&l[0]!=="comment")break}this.raw(s,"value",m),s.value.includes(":")&&this.checkMissedSemicolon(m),this.current=s}}};n.exports=p}),Ns=E((e,n)=>{var{Input:o}=Nt(),r=Ps();n.exports=function(i,c){let p=new o(i,c),m=new r(p);return m.parse(),m.root}}),cr=E(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});function n(o){this.after=o.after,this.before=o.before,this.type=o.type,this.value=o.value,this.sourceIndex=o.sourceIndex}e.default=n}),pr=E(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=cr(),o=r(n);function r(c){return c&&c.__esModule?c:{default:c}}function i(c){var p=this;this.constructor(c),this.nodes=c.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(m){m.parent=p})}i.prototype=Object.create(o.default.prototype),i.constructor=o.default,i.prototype.walk=function(c,p){for(var m=typeof c=="string"||c instanceof RegExp,f=m?p:c,d=typeof c=="string"?new RegExp(c):c,t=0;t<this.nodes.length;t++){var s=this.nodes[t],a=m?d.test(s.type):!0;if(a&&f&&f(s,t,this.nodes)===!1||s.nodes&&s.walk(c,p)===!1)return!1}return!0},i.prototype.each=function(){for(var c=arguments.length<=0||arguments[0]===void 0?function(){}:arguments[0],p=0;p<this.nodes.length;p++){var m=this.nodes[p];if(c(m,p,this.nodes)===!1)return!1}return!0},e.default=i}),Ms=E(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseMediaFeature=p,e.parseMediaQuery=m,e.parseMediaList=f;var n=cr(),o=c(n),r=pr(),i=c(r);function c(d){return d&&d.__esModule?d:{default:d}}function p(d){var t=arguments.length<=1||arguments[1]===void 0?0:arguments[1],s=[{mode:"normal",character:null}],a=[],l=0,h="",u=null,v=null,g=t,y=d;d[0]==="("&&d[d.length-1]===")"&&(y=d.substring(1,d.length-1),g++);for(var w=0;w<y.length;w++){var O=y[w];if((O==="'"||O==='"')&&(s[l].isCalculationEnabled===!0?(s.push({mode:"string",isCalculationEnabled:!1,character:O}),l++):s[l].mode==="string"&&s[l].character===O&&y[w-1]!=="\\"&&(s.pop(),l--)),O==="{"?(s.push({mode:"interpolation",isCalculationEnabled:!0}),l++):O==="}"&&(s.pop(),l--),s[l].mode==="normal"&&O===":"){var b=y.substring(w+1);v={type:"value",before:/^(\s*)/.exec(b)[1],after:/(\s*)$/.exec(b)[1],value:b.trim()},v.sourceIndex=v.before.length+w+1+g,u={type:"colon",sourceIndex:w+g,after:v.before,value:":"};break}h+=O}return h={type:"media-feature",before:/^(\s*)/.exec(h)[1],after:/(\s*)$/.exec(h)[1],value:h.trim()},h.sourceIndex=h.before.length+g,a.push(h),u!==null&&(u.before=h.after,a.push(u)),v!==null&&a.push(v),a}function m(d){var t=arguments.length<=1||arguments[1]===void 0?0:arguments[1],s=[],a=0,l=!1,h=void 0;function u(){return{before:"",after:"",value:""}}h=u();for(var v=0;v<d.length;v++){var g=d[v];l?(h.value+=g,(g==="{"||g==="(")&&a++,(g===")"||g==="}")&&a--):g.search(/\s/)!==-1?h.before+=g:(g==="("&&(h.type="media-feature-expression",a++),h.value=g,h.sourceIndex=t+v,l=!0),l&&a===0&&(g===")"||v===d.length-1||d[v+1].search(/\s/)!==-1)&&(["not","only","and"].indexOf(h.value)!==-1&&(h.type="keyword"),h.type==="media-feature-expression"&&(h.nodes=p(h.value,h.sourceIndex)),s.push(Array.isArray(h.nodes)?new i.default(h):new o.default(h)),h=u(),l=!1)}for(var y=0;y<s.length;y++)if(h=s[y],y>0&&(s[y-1].after=h.before),h.type===void 0){if(y>0){if(s[y-1].type==="media-feature-expression"){h.type="keyword";continue}if(s[y-1].value==="not"||s[y-1].value==="only"){h.type="media-type";continue}if(s[y-1].value==="and"){h.type="media-feature-expression";continue}s[y-1].type==="media-type"&&(s[y+1]?h.type=s[y+1].type==="media-feature-expression"?"keyword":"media-feature-expression":h.type="media-feature-expression")}if(y===0){if(!s[y+1]){h.type="media-type";continue}if(s[y+1]&&(s[y+1].type==="media-feature-expression"||s[y+1].type==="keyword")){h.type="media-type";continue}if(s[y+2]){if(s[y+2].type==="media-feature-expression"){h.type="media-type",s[y+1].type="keyword";continue}if(s[y+2].type==="keyword"){h.type="keyword",s[y+1].type="media-type";continue}}if(s[y+3]&&s[y+3].type==="media-feature-expression"){h.type="keyword",s[y+1].type="media-type",s[y+2].type="keyword";continue}}}return s}function f(d){var t=[],s=0,a=0,l=/^(\s*)url\s*\(/.exec(d);if(l!==null){for(var h=l[0].length,u=1;u>0;){var v=d[h];v==="("&&u++,v===")"&&u--,h++}t.unshift(new o.default({type:"url",value:d.substring(0,h).trim(),sourceIndex:l[1].length,before:l[1],after:/^(\s*)/.exec(d.substring(h))[1]})),s=h}for(var g=s;g<d.length;g++){var y=d[g];if(y==="("&&a++,y===")"&&a--,a===0&&y===","){var w=d.substring(s,g),O=/^(\s*)/.exec(w)[1];t.push(new i.default({type:"media-query",value:w.trim(),sourceIndex:s+O.length,nodes:m(w,s),before:O,after:/(\s*)$/.exec(w)[1]})),s=g+1}}var b=d.substring(s),T=/^(\s*)/.exec(b)[1];return t.push(new i.default({type:"media-query",value:b.trim(),sourceIndex:s+T.length,nodes:m(b,s),before:T,after:/(\s*)$/.exec(b)[1]})),t}}),$s=E(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=pr(),o=i(n),r=Ms();function i(p){return p&&p.__esModule?p:{default:p}}function c(p){return new o.default({nodes:(0,r.parseMediaList)(p),type:"media-query-list",value:p.trim()})}}),fr=E((e,n)=>{n.exports=function(o,r){if(r=typeof r=="number"?r:1/0,!r)return Array.isArray(o)?o.map(function(c){return c}):o;return i(o,1);function i(c,p){return c.reduce(function(m,f){return Array.isArray(f)&&p<r?m.concat(i(f,p+1)):m.concat(f)},[])}}}),hr=E((e,n)=>{n.exports=function(o,r){for(var i=-1,c=[];(i=o.indexOf(r,i+1))!==-1;)c.push(i);return c}}),dr=E((e,n)=>{"use strict";function o(c,p){for(var m=1,f=c.length,d=c[0],t=c[0],s=1;s<f;++s)if(t=d,d=c[s],p(d,t)){if(s===m){m++;continue}c[m++]=d}return c.length=m,c}function r(c){for(var p=1,m=c.length,f=c[0],d=c[0],t=1;t<m;++t,d=f)if(d=f,f=c[t],f!==d){if(t===p){p++;continue}c[p++]=f}return c.length=p,c}function i(c,p,m){return c.length===0?c:p?(m||c.sort(p),o(c,p)):(m||c.sort(),r(c))}n.exports=i}),_e=E((e,n)=>{"use strict";e.__esModule=!0;var o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p};function r(p,m){if(!(p instanceof m))throw new TypeError("Cannot call a class as a function")}var i=function p(m,f){if((typeof m>"u"?"undefined":o(m))!=="object")return m;var d=new m.constructor;for(var t in m)if(m.hasOwnProperty(t)){var s=m[t],a=typeof s>"u"?"undefined":o(s);t==="parent"&&a==="object"?f&&(d[t]=f):s instanceof Array?d[t]=s.map(function(l){return p(l,d)}):d[t]=p(s,d)}return d},c=(function(){function p(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};r(this,p);for(var f in m)this[f]=m[f];var d=m.spaces;d=d===void 0?{}:d;var t=d.before,s=t===void 0?"":t,a=d.after,l=a===void 0?"":a;this.spaces={before:s,after:l}}return p.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},p.prototype.replaceWith=function(){if(this.parent){for(var m in arguments)this.parent.insertBefore(this,arguments[m]);this.remove()}return this},p.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},p.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},p.prototype.clone=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},f=i(this);for(var d in m)f[d]=m[d];return f},p.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},p})();e.default=c,n.exports=e.default}),Q=E(e=>{"use strict";e.__esModule=!0;var n=e.TAG="tag",o=e.STRING="string",r=e.SELECTOR="selector",i=e.ROOT="root",c=e.PSEUDO="pseudo",p=e.NESTING="nesting",m=e.ID="id",f=e.COMMENT="comment",d=e.COMBINATOR="combinator",t=e.CLASS="class",s=e.ATTRIBUTE="attribute",a=e.UNIVERSAL="universal"}),Mt=E((e,n)=>{"use strict";e.__esModule=!0;var o=(function(){function l(h,u){for(var v=0;v<u.length;v++){var g=u[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}return function(h,u,v){return u&&l(h.prototype,u),v&&l(h,v),h}})(),r=_e(),i=f(r),c=Q(),p=m(c);function m(l){if(l&&l.__esModule)return l;var h={};if(l!=null)for(var u in l)Object.prototype.hasOwnProperty.call(l,u)&&(h[u]=l[u]);return h.default=l,h}function f(l){return l&&l.__esModule?l:{default:l}}function d(l,h){if(!(l instanceof h))throw new TypeError("Cannot call a class as a function")}function t(l,h){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:l}function s(l,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);l.prototype=Object.create(h&&h.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(l,h):l.__proto__=h)}var a=(function(l){s(h,l);function h(u){d(this,h);var v=t(this,l.call(this,u));return v.nodes||(v.nodes=[]),v}return h.prototype.append=function(u){return u.parent=this,this.nodes.push(u),this},h.prototype.prepend=function(u){return u.parent=this,this.nodes.unshift(u),this},h.prototype.at=function(u){return this.nodes[u]},h.prototype.index=function(u){return typeof u=="number"?u:this.nodes.indexOf(u)},h.prototype.removeChild=function(u){u=this.index(u),this.at(u).parent=void 0,this.nodes.splice(u,1);var v=void 0;for(var g in this.indexes)v=this.indexes[g],v>=u&&(this.indexes[g]=v-1);return this},h.prototype.removeAll=function(){for(var g=this.nodes,u=Array.isArray(g),v=0,g=u?g:g[Symbol.iterator]();;){var y;if(u){if(v>=g.length)break;y=g[v++]}else{if(v=g.next(),v.done)break;y=v.value}var w=y;w.parent=void 0}return this.nodes=[],this},h.prototype.empty=function(){return this.removeAll()},h.prototype.insertAfter=function(u,v){var g=this.index(u);this.nodes.splice(g+1,0,v);var y=void 0;for(var w in this.indexes)y=this.indexes[w],g<=y&&(this.indexes[w]=y+this.nodes.length);return this},h.prototype.insertBefore=function(u,v){var g=this.index(u);this.nodes.splice(g,0,v);var y=void 0;for(var w in this.indexes)y=this.indexes[w],g<=y&&(this.indexes[w]=y+this.nodes.length);return this},h.prototype.each=function(u){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var v=this.lastEach;if(this.indexes[v]=0,!!this.length){for(var g=void 0,y=void 0;this.indexes[v]<this.length&&(g=this.indexes[v],y=u(this.at(g),g),y!==!1);)this.indexes[v]+=1;if(delete this.indexes[v],y===!1)return!1}},h.prototype.walk=function(u){return this.each(function(v,g){var y=u(v,g);if(y!==!1&&v.length&&(y=v.walk(u)),y===!1)return!1})},h.prototype.walkAttributes=function(u){var v=this;return this.walk(function(g){if(g.type===p.ATTRIBUTE)return u.call(v,g)})},h.prototype.walkClasses=function(u){var v=this;return this.walk(function(g){if(g.type===p.CLASS)return u.call(v,g)})},h.prototype.walkCombinators=function(u){var v=this;return this.walk(function(g){if(g.type===p.COMBINATOR)return u.call(v,g)})},h.prototype.walkComments=function(u){var v=this;return this.walk(function(g){if(g.type===p.COMMENT)return u.call(v,g)})},h.prototype.walkIds=function(u){var v=this;return this.walk(function(g){if(g.type===p.ID)return u.call(v,g)})},h.prototype.walkNesting=function(u){var v=this;return this.walk(function(g){if(g.type===p.NESTING)return u.call(v,g)})},h.prototype.walkPseudos=function(u){var v=this;return this.walk(function(g){if(g.type===p.PSEUDO)return u.call(v,g)})},h.prototype.walkTags=function(u){var v=this;return this.walk(function(g){if(g.type===p.TAG)return u.call(v,g)})},h.prototype.walkUniversals=function(u){var v=this;return this.walk(function(g){if(g.type===p.UNIVERSAL)return u.call(v,g)})},h.prototype.split=function(u){var v=this,g=[];return this.reduce(function(y,w,O){var b=u.call(v,w);return g.push(w),b?(y.push(g),g=[]):O===v.length-1&&y.push(g),y},[])},h.prototype.map=function(u){return this.nodes.map(u)},h.prototype.reduce=function(u,v){return this.nodes.reduce(u,v)},h.prototype.every=function(u){return this.nodes.every(u)},h.prototype.some=function(u){return this.nodes.some(u)},h.prototype.filter=function(u){return this.nodes.filter(u)},h.prototype.sort=function(u){return this.nodes.sort(u)},h.prototype.toString=function(){return this.map(String).join("")},o(h,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),h})(i.default);e.default=a,n.exports=e.default}),Rs=E((e,n)=>{"use strict";e.__esModule=!0;var o=Mt(),r=c(o),i=Q();function c(t){return t&&t.__esModule?t:{default:t}}function p(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function m(t,s){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:t}function f(t,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);t.prototype=Object.create(s&&s.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(t,s):t.__proto__=s)}var d=(function(t){f(s,t);function s(a){p(this,s);var l=m(this,t.call(this,a));return l.type=i.ROOT,l}return s.prototype.toString=function(){var a=this.reduce(function(l,h){var u=String(h);return u?l+u+",":""},"").slice(0,-1);return this.trailingComma?a+",":a},s})(r.default);e.default=d,n.exports=e.default}),Ws=E((e,n)=>{"use strict";e.__esModule=!0;var o=Mt(),r=c(o),i=Q();function c(t){return t&&t.__esModule?t:{default:t}}function p(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function m(t,s){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:t}function f(t,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);t.prototype=Object.create(s&&s.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(t,s):t.__proto__=s)}var d=(function(t){f(s,t);function s(a){p(this,s);var l=m(this,t.call(this,a));return l.type=i.SELECTOR,l}return s})(r.default);e.default=d,n.exports=e.default}),Be=E((e,n)=>{"use strict";e.__esModule=!0;var o=(function(){function t(s,a){for(var l=0;l<a.length;l++){var h=a[l];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(s,h.key,h)}}return function(s,a,l){return a&&t(s.prototype,a),l&&t(s,l),s}})(),r=_e(),i=c(r);function c(t){return t&&t.__esModule?t:{default:t}}function p(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function m(t,s){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:t}function f(t,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);t.prototype=Object.create(s&&s.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(t,s):t.__proto__=s)}var d=(function(t){f(s,t);function s(){return p(this,s),m(this,t.apply(this,arguments))}return s.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join("")},o(s,[{key:"ns",get:function(){var a=this.namespace;return a?(typeof a=="string"?a:"")+"|":""}}]),s})(i.default);e.default=d,n.exports=e.default}),Ls=E((e,n)=>{"use strict";e.__esModule=!0;var o=Be(),r=c(o),i=Q();function c(t){return t&&t.__esModule?t:{default:t}}function p(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function m(t,s){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:t}function f(t,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);t.prototype=Object.create(s&&s.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(t,s):t.__proto__=s)}var d=(function(t){f(s,t);function s(a){p(this,s);var l=m(this,t.call(this,a));return l.type=i.CLASS,l}return s.prototype.toString=function(){return[this.spaces.before,this.ns,"."+this.value,this.spaces.after].join("")},s})(r.default);e.default=d,n.exports=e.default}),zs=E((e,n)=>{"use strict";e.__esModule=!0;var o=_e(),r=c(o),i=Q();function c(t){return t&&t.__esModule?t:{default:t}}function p(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function m(t,s){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:t}function f(t,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);t.prototype=Object.create(s&&s.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(t,s):t.__proto__=s)}var d=(function(t){f(s,t);function s(a){p(this,s);var l=m(this,t.call(this,a));return l.type=i.COMMENT,l}return s})(r.default);e.default=d,n.exports=e.default}),qs=E((e,n)=>{"use strict";e.__esModule=!0;var o=Be(),r=c(o),i=Q();function c(t){return t&&t.__esModule?t:{default:t}}function p(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function m(t,s){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:t}function f(t,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);t.prototype=Object.create(s&&s.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(t,s):t.__proto__=s)}var d=(function(t){f(s,t);function s(a){p(this,s);var l=m(this,t.call(this,a));return l.type=i.ID,l}return s.prototype.toString=function(){return[this.spaces.before,this.ns,"#"+this.value,this.spaces.after].join("")},s})(r.default);e.default=d,n.exports=e.default}),Bs=E((e,n)=>{"use strict";e.__esModule=!0;var o=Be(),r=c(o),i=Q();function c(t){return t&&t.__esModule?t:{default:t}}function p(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function m(t,s){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:t}function f(t,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);t.prototype=Object.create(s&&s.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(t,s):t.__proto__=s)}var d=(function(t){f(s,t);function s(a){p(this,s);var l=m(this,t.call(this,a));return l.type=i.TAG,l}return s})(r.default);e.default=d,n.exports=e.default}),Fs=E((e,n)=>{"use strict";e.__esModule=!0;var o=_e(),r=c(o),i=Q();function c(t){return t&&t.__esModule?t:{default:t}}function p(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function m(t,s){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:t}function f(t,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);t.prototype=Object.create(s&&s.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(t,s):t.__proto__=s)}var d=(function(t){f(s,t);function s(a){p(this,s);var l=m(this,t.call(this,a));return l.type=i.STRING,l}return s})(r.default);e.default=d,n.exports=e.default}),Ds=E((e,n)=>{"use strict";e.__esModule=!0;var o=Mt(),r=c(o),i=Q();function c(t){return t&&t.__esModule?t:{default:t}}function p(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function m(t,s){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:t}function f(t,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);t.prototype=Object.create(s&&s.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(t,s):t.__proto__=s)}var d=(function(t){f(s,t);function s(a){p(this,s);var l=m(this,t.call(this,a));return l.type=i.PSEUDO,l}return s.prototype.toString=function(){var a=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),a,this.spaces.after].join("")},s})(r.default);e.default=d,n.exports=e.default}),Us=E((e,n)=>{"use strict";e.__esModule=!0;var o=Be(),r=c(o),i=Q();function c(t){return t&&t.__esModule?t:{default:t}}function p(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function m(t,s){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:t}function f(t,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);t.prototype=Object.create(s&&s.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(t,s):t.__proto__=s)}var d=(function(t){f(s,t);function s(a){p(this,s);var l=m(this,t.call(this,a));return l.type=i.ATTRIBUTE,l.raws={},l}return s.prototype.toString=function(){var a=[this.spaces.before,"[",this.ns,this.attribute];return this.operator&&a.push(this.operator),this.value&&a.push(this.value),this.raws.insensitive?a.push(this.raws.insensitive):this.insensitive&&a.push(" i"),a.push("]"),a.concat(this.spaces.after).join("")},s})(r.default);e.default=d,n.exports=e.default}),Vs=E((e,n)=>{"use strict";e.__esModule=!0;var o=Be(),r=c(o),i=Q();function c(t){return t&&t.__esModule?t:{default:t}}function p(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function m(t,s){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:t}function f(t,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);t.prototype=Object.create(s&&s.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(t,s):t.__proto__=s)}var d=(function(t){f(s,t);function s(a){p(this,s);var l=m(this,t.call(this,a));return l.type=i.UNIVERSAL,l.value="*",l}return s})(r.default);e.default=d,n.exports=e.default}),Gs=E((e,n)=>{"use strict";e.__esModule=!0;var o=_e(),r=c(o),i=Q();function c(t){return t&&t.__esModule?t:{default:t}}function p(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function m(t,s){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:t}function f(t,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);t.prototype=Object.create(s&&s.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(t,s):t.__proto__=s)}var d=(function(t){f(s,t);function s(a){p(this,s);var l=m(this,t.call(this,a));return l.type=i.COMBINATOR,l}return s})(r.default);e.default=d,n.exports=e.default}),Js=E((e,n)=>{"use strict";e.__esModule=!0;var o=_e(),r=c(o),i=Q();function c(t){return t&&t.__esModule?t:{default:t}}function p(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function m(t,s){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:t}function f(t,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);t.prototype=Object.create(s&&s.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(t,s):t.__proto__=s)}var d=(function(t){f(s,t);function s(a){p(this,s);var l=m(this,t.call(this,a));return l.type=i.NESTING,l.value="&",l}return s})(r.default);e.default=d,n.exports=e.default}),Hs=E((e,n)=>{"use strict";e.__esModule=!0,e.default=o;function o(r){return r.sort(function(i,c){return i-c})}n.exports=e.default}),Qs=E((e,n)=>{"use strict";e.__esModule=!0,e.default=I;var o=39,r=34,i=92,c=47,p=10,m=32,f=12,d=9,t=13,s=43,a=62,l=126,h=124,u=44,v=40,g=41,y=91,w=93,O=59,b=42,T=58,x=38,k=64,_=/[ \n\t\r\{\(\)'"\\;/]/g,C=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function I(M){for(var $=[],R=M.css.valueOf(),N=void 0,P=void 0,z=void 0,ae=void 0,re=void 0,se=void 0,ye=void 0,ve=void 0,ge=void 0,q=void 0,Se=void 0,ct=R.length,j=-1,S=1,A=0,W=function(L,B){if(M.safe)R+=B,P=R.length-1;else throw M.error("Unclosed "+L,S,A-j,A)};A<ct;){switch(N=R.charCodeAt(A),N===p&&(j=A,S+=1),N){case p:case m:case d:case t:case f:P=A;do P+=1,N=R.charCodeAt(P),N===p&&(j=P,S+=1);while(N===m||N===p||N===d||N===t||N===f);$.push(["space",R.slice(A,P),S,A-j,A]),A=P-1;break;case s:case a:case l:case h:P=A;do P+=1,N=R.charCodeAt(P);while(N===s||N===a||N===l||N===h);$.push(["combinator",R.slice(A,P),S,A-j,A]),A=P-1;break;case b:$.push(["*","*",S,A-j,A]);break;case x:$.push(["&","&",S,A-j,A]);break;case u:$.push([",",",",S,A-j,A]);break;case y:$.push(["[","[",S,A-j,A]);break;case w:$.push(["]","]",S,A-j,A]);break;case T:$.push([":",":",S,A-j,A]);break;case O:$.push([";",";",S,A-j,A]);break;case v:$.push(["(","(",S,A-j,A]);break;case g:$.push([")",")",S,A-j,A]);break;case o:case r:z=N===o?"'":'"',P=A;do for(q=!1,P=R.indexOf(z,P+1),P===-1&&W("quote",z),Se=P;R.charCodeAt(Se-1)===i;)Se-=1,q=!q;while(q);$.push(["string",R.slice(A,P+1),S,A-j,S,P-j,A]),A=P;break;case k:_.lastIndex=A+1,_.test(R),_.lastIndex===0?P=R.length-1:P=_.lastIndex-2,$.push(["at-word",R.slice(A,P+1),S,A-j,S,P-j,A]),A=P;break;case i:for(P=A,ye=!0;R.charCodeAt(P+1)===i;)P+=1,ye=!ye;N=R.charCodeAt(P+1),ye&&N!==c&&N!==m&&N!==p&&N!==d&&N!==t&&N!==f&&(P+=1),$.push(["word",R.slice(A,P+1),S,A-j,S,P-j,A]),A=P;break;default:N===c&&R.charCodeAt(A+1)===b?(P=R.indexOf("*/",A+2)+1,P===0&&W("comment","*/"),se=R.slice(A,P+1),ae=se.split(`
27
+ `),re=ae.length-1,re>0?(ve=S+re,ge=P-ae[re].length):(ve=S,ge=j),$.push(["comment",se,S,A-j,ve,P-ge,A]),j=ge,S=ve,A=P):(C.lastIndex=A+1,C.test(R),C.lastIndex===0?P=R.length-1:P=C.lastIndex-2,$.push(["word",R.slice(A,P+1),S,A-j,S,P-j,A]),A=P);break}A++}return $}n.exports=e.default}),Ys=E((e,n)=>{"use strict";e.__esModule=!0;var o=(function(){function j(S,A){for(var W=0;W<A.length;W++){var L=A[W];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(S,L.key,L)}}return function(S,A,W){return A&&j(S.prototype,A),W&&j(S,W),S}})(),r=fr(),i=q(r),c=hr(),p=q(c),m=dr(),f=q(m),d=Rs(),t=q(d),s=Ws(),a=q(s),l=Ls(),h=q(l),u=zs(),v=q(u),g=qs(),y=q(g),w=Bs(),O=q(w),b=Fs(),T=q(b),x=Ds(),k=q(x),_=Us(),C=q(_),I=Vs(),M=q(I),$=Gs(),R=q($),N=Js(),P=q(N),z=Hs(),ae=q(z),re=Qs(),se=q(re),ye=Q(),ve=ge(ye);function ge(j){if(j&&j.__esModule)return j;var S={};if(j!=null)for(var A in j)Object.prototype.hasOwnProperty.call(j,A)&&(S[A]=j[A]);return S.default=j,S}function q(j){return j&&j.__esModule?j:{default:j}}function Se(j,S){if(!(j instanceof S))throw new TypeError("Cannot call a class as a function")}var ct=(function(){function j(S){Se(this,j),this.input=S,this.lossy=S.options.lossless===!1,this.position=0,this.root=new t.default;var A=new a.default;return this.root.append(A),this.current=A,this.lossy?this.tokens=(0,se.default)({safe:S.safe,css:S.css.trim()}):this.tokens=(0,se.default)(S),this.loop()}return j.prototype.attribute=function(){var S="",A=void 0,W=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!=="]";)S+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~S.indexOf("]")&&this.error("Expected a closing square bracket.");var L=S.split(/((?:[*~^$|]?=))([^]*)/),B=L[0].split(/(\|)/g),Z={operator:L[1],value:L[2],source:{start:{line:W[2],column:W[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:W[4]};if(B.length>1?(B[0]===""&&(B[0]=!0),Z.attribute=this.parseValue(B[2]),Z.namespace=this.parseNamespace(B[0])):Z.attribute=this.parseValue(L[0]),A=new C.default(Z),L[2]){var ue=L[2].split(/(\s+i\s*?)$/),le=ue[0].trim();A.value=this.lossy?le:ue[0],ue[1]&&(A.insensitive=!0,this.lossy||(A.raws.insensitive=ue[1])),A.quoted=le[0]==="'"||le[0]==='"',A.raws.unquoted=A.quoted?le.slice(1,-1):le}this.newNode(A),this.position++},j.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var S=new R.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"?(S.spaces.before=this.parseSpace(this.currToken[1]),S.source.start.line=this.nextToken[2],S.source.start.column=this.nextToken[3],S.source.end.column=this.nextToken[3],S.source.end.line=this.nextToken[2],S.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]==="combinator"?S.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]==="combinator"?S.value=this.currToken[1]:this.currToken[0]==="space"&&(S.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(S)},j.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var S=new a.default;this.current.parent.append(S),this.current=S,this.position++},j.prototype.comment=function(){var S=new v.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]});this.newNode(S),this.position++},j.prototype.error=function(S){throw new this.input.error(S)},j.prototype.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.")},j.prototype.missingParenthesis=function(){return this.error("Expected opening parenthesis.")},j.prototype.missingSquareBracket=function(){return this.error("Expected opening square bracket.")},j.prototype.namespace=function(){var S=this.prevToken&&this.prevToken[1]||!0;if(this.nextToken[0]==="word")return this.position++,this.word(S);if(this.nextToken[0]==="*")return this.position++,this.universal(S)},j.prototype.nesting=function(){this.newNode(new P.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++},j.prototype.parentheses=function(){var S=this.current.last;if(S&&S.type===ve.PSEUDO){var A=new a.default,W=this.current;S.append(A),this.current=A;var L=1;for(this.position++;this.position<this.tokens.length&&L;)this.currToken[0]==="("&&L++,this.currToken[0]===")"&&L--,L?this.parse():(A.parent.source.end.line=this.currToken[2],A.parent.source.end.column=this.currToken[3],this.position++);L&&this.error("Expected closing parenthesis."),this.current=W}else{var B=1;for(this.position++,S.value+="(";this.position<this.tokens.length&&B;)this.currToken[0]==="("&&B++,this.currToken[0]===")"&&B--,S.value+=this.parseParenthesisToken(this.currToken),this.position++;B&&this.error("Expected closing parenthesis.")}},j.prototype.pseudo=function(){for(var S=this,A="",W=this.currToken;this.currToken&&this.currToken[0]===":";)A+=this.currToken[1],this.position++;if(!this.currToken)return this.error("Expected pseudo-class or pseudo-element");if(this.currToken[0]==="word"){var L=void 0;this.splitWord(!1,function(B,Z){A+=B,L=new k.default({value:A,source:{start:{line:W[2],column:W[3]},end:{line:S.currToken[4],column:S.currToken[5]}},sourceIndex:W[4]}),S.newNode(L),Z>1&&S.nextToken&&S.nextToken[0]==="("&&S.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},j.prototype.space=function(){var S=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(S[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(S[1]),this.position++):this.combinator()},j.prototype.string=function(){var S=this.currToken;this.newNode(new T.default({value:this.currToken[1],source:{start:{line:S[2],column:S[3]},end:{line:S[4],column:S[5]}},sourceIndex:S[6]})),this.position++},j.prototype.universal=function(S){var A=this.nextToken;if(A&&A[1]==="|")return this.position++,this.namespace();this.newNode(new M.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]}),S),this.position++},j.prototype.splitWord=function(S,A){for(var W=this,L=this.nextToken,B=this.currToken[1];L&&L[0]==="word";){this.position++;var Z=this.currToken[1];if(B+=Z,Z.lastIndexOf("\\")===Z.length-1){var ue=this.nextToken;ue&&ue[0]==="space"&&(B+=this.parseSpace(ue[1]," "),this.position++)}L=this.nextToken}var le=(0,p.default)(B,"."),De=(0,p.default)(B,"#"),Ut=(0,p.default)(B,"#{");Ut.length&&(De=De.filter(function(ce){return!~Ut.indexOf(ce)}));var we=(0,ae.default)((0,f.default)((0,i.default)([[0],le,De])));we.forEach(function(ce,Ce){var Ue=we[Ce+1]||B.length,Ve=B.slice(ce,Ue);if(Ce===0&&A)return A.call(W,Ve,we.length);var Ge=void 0;~le.indexOf(ce)?Ge=new h.default({value:Ve.slice(1),source:{start:{line:W.currToken[2],column:W.currToken[3]+ce},end:{line:W.currToken[4],column:W.currToken[3]+(Ue-1)}},sourceIndex:W.currToken[6]+we[Ce]}):~De.indexOf(ce)?Ge=new y.default({value:Ve.slice(1),source:{start:{line:W.currToken[2],column:W.currToken[3]+ce},end:{line:W.currToken[4],column:W.currToken[3]+(Ue-1)}},sourceIndex:W.currToken[6]+we[Ce]}):Ge=new O.default({value:Ve,source:{start:{line:W.currToken[2],column:W.currToken[3]+ce},end:{line:W.currToken[4],column:W.currToken[3]+(Ue-1)}},sourceIndex:W.currToken[6]+we[Ce]}),W.newNode(Ge,S)}),this.position++},j.prototype.word=function(S){var A=this.nextToken;return A&&A[1]==="|"?(this.position++,this.namespace()):this.splitWord(S)},j.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root},j.prototype.parse=function(S){switch(this.currToken[0]){case"space":this.space();break;case"comment":this.comment();break;case"(":this.parentheses();break;case")":S&&this.missingParenthesis();break;case"[":this.attribute();break;case"]":this.missingSquareBracket();break;case"at-word":case"word":this.word();break;case":":this.pseudo();break;case";":this.missingBackslash();break;case",":this.comma();break;case"*":this.universal();break;case"&":this.nesting();break;case"combinator":this.combinator();break;case"string":this.string();break}},j.prototype.parseNamespace=function(S){if(this.lossy&&typeof S=="string"){var A=S.trim();return A.length?A:!0}return S},j.prototype.parseSpace=function(S,A){return this.lossy?A||"":S},j.prototype.parseValue=function(S){return this.lossy&&S&&typeof S=="string"?S.trim():S},j.prototype.parseParenthesisToken=function(S){return this.lossy?S[0]==="space"?this.parseSpace(S[1]," "):this.parseValue(S[1]):S[1]},j.prototype.newNode=function(S,A){return A&&(S.namespace=this.parseNamespace(A)),this.spaces&&(S.spaces.before=this.spaces,this.spaces=""),this.current.append(S)},o(j,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),j})();e.default=ct,n.exports=e.default}),Ks=E((e,n)=>{"use strict";e.__esModule=!0;var o=(function(){function f(d,t){for(var s=0;s<t.length;s++){var a=t[s];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(d,a.key,a)}}return function(d,t,s){return t&&f(d.prototype,t),s&&f(d,s),d}})(),r=Ys(),i=c(r);function c(f){return f&&f.__esModule?f:{default:f}}function p(f,d){if(!(f instanceof d))throw new TypeError("Cannot call a class as a function")}var m=(function(){function f(d){return p(this,f),this.func=d||function(){},this}return f.prototype.process=function(d){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=new i.default({css:d,error:function(a){throw new Error(a)},options:t});return this.res=s,this.func(s),this},o(f,[{key:"result",get:function(){return String(this.res)}}]),f})();e.default=m,n.exports=e.default}),te=E((e,n)=>{"use strict";var o=function(r,i){let c=new r.constructor;for(let p in r){if(!r.hasOwnProperty(p))continue;let m=r[p],f=typeof m;p==="parent"&&f==="object"?i&&(c[p]=i):p==="source"?c[p]=m:m instanceof Array?c[p]=m.map(d=>o(d,c)):p!=="before"&&p!=="after"&&p!=="between"&&p!=="semicolon"&&(f==="object"&&m!==null&&(m=o(m)),c[p]=m)}return c};n.exports=class{constructor(r){r=r||{},this.raws={before:"",after:""};for(let i in r)this[i]=r[i]}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(){return[this.raws.before,String(this.value),this.raws.after].join("")}clone(r){r=r||{};let i=o(this);for(let c in r)i[c]=r[c];return i}cloneBefore(r){r=r||{};let i=this.clone(r);return this.parent.insertBefore(this,i),i}cloneAfter(r){r=r||{};let i=this.clone(r);return this.parent.insertAfter(this,i),i}replaceWith(){let r=Array.prototype.slice.call(arguments);if(this.parent){for(let i of r)this.parent.insertBefore(this,i);this.remove()}return this}moveTo(r){return this.cleanRaws(this.root()===r.root()),this.remove(),r.append(this),this}moveBefore(r){return this.cleanRaws(this.root()===r.root()),this.remove(),r.parent.insertBefore(r,this),this}moveAfter(r){return this.cleanRaws(this.root()===r.root()),this.remove(),r.parent.insertAfter(r,this),this}next(){let r=this.parent.index(this);return this.parent.nodes[r+1]}prev(){let r=this.parent.index(this);return this.parent.nodes[r-1]}toJSON(){let r={};for(let i in this){if(!this.hasOwnProperty(i)||i==="parent")continue;let c=this[i];c instanceof Array?r[i]=c.map(p=>typeof p=="object"&&p.toJSON?p.toJSON():p):typeof c=="object"&&c.toJSON?r[i]=c.toJSON():r[i]=c}return r}root(){let r=this;for(;r.parent;)r=r.parent;return r}cleanRaws(r){delete this.raws.before,delete this.raws.after,r||delete this.raws.between}positionInside(r){let i=this.toString(),c=this.source.start.column,p=this.source.start.line;for(let m=0;m<r;m++)i[m]===`
28
+ `?(c=1,p+=1):c+=1;return{line:p,column:c}}positionBy(r){let i=this.source.start;if(Object(r).index)i=this.positionInside(r.index);else if(Object(r).word){let c=this.toString().indexOf(r.word);c!==-1&&(i=this.positionInside(c))}return i}}}),K=E((e,n)=>{"use strict";var o=te(),r=class extends o{constructor(i){super(i),this.nodes||(this.nodes=[])}push(i){return i.parent=this,this.nodes.push(i),this}each(i){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let c=this.lastEach,p,m;if(this.indexes[c]=0,!!this.nodes){for(;this.indexes[c]<this.nodes.length&&(p=this.indexes[c],m=i(this.nodes[p],p),m!==!1);)this.indexes[c]+=1;return delete this.indexes[c],m}}walk(i){return this.each((c,p)=>{let m=i(c,p);return m!==!1&&c.walk&&(m=c.walk(i)),m})}walkType(i,c){if(!i||!c)throw new Error("Parameters {type} and {callback} are required.");let p=typeof i=="function";return this.walk((m,f)=>{if(p&&m instanceof i||!p&&m.type===i)return c.call(this,m,f)})}append(i){return i.parent=this,this.nodes.push(i),this}prepend(i){return i.parent=this,this.nodes.unshift(i),this}cleanRaws(i){if(super.cleanRaws(i),this.nodes)for(let c of this.nodes)c.cleanRaws(i)}insertAfter(i,c){let p=this.index(i),m;this.nodes.splice(p+1,0,c);for(let f in this.indexes)m=this.indexes[f],p<=m&&(this.indexes[f]=m+this.nodes.length);return this}insertBefore(i,c){let p=this.index(i),m;this.nodes.splice(p,0,c);for(let f in this.indexes)m=this.indexes[f],p<=m&&(this.indexes[f]=m+this.nodes.length);return this}removeChild(i){i=this.index(i),this.nodes[i].parent=void 0,this.nodes.splice(i,1);let c;for(let p in this.indexes)c=this.indexes[p],c>=i&&(this.indexes[p]=c-1);return this}removeAll(){for(let i of this.nodes)i.parent=void 0;return this.nodes=[],this}every(i){return this.nodes.every(i)}some(i){return this.nodes.some(i)}index(i){return typeof i=="number"?i:this.nodes.indexOf(i)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let i=this.nodes.map(String).join("");return this.value&&(i=this.value+i),this.raws.before&&(i=this.raws.before+i),this.raws.after&&(i+=this.raws.after),i}};r.registerWalker=i=>{let c="walk"+i.name;c.lastIndexOf("s")!==c.length-1&&(c+="s"),!r.prototype[c]&&(r.prototype[c]=function(p){return this.walkType(i,p)})},n.exports=r}),Zs=E((e,n)=>{"use strict";var o=K();n.exports=class extends o{constructor(r){super(r),this.type="root"}}}),Xs=E((e,n)=>{"use strict";var o=K();n.exports=class extends o{constructor(r){super(r),this.type="value",this.unbalanced=0}}}),en=E((e,n)=>{"use strict";var o=K(),r=class extends o{constructor(i){super(i),this.type="atword"}toString(){let i=this.quoted?this.raws.quote:"";return[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};o.registerWalker(r),n.exports=r}),tn=E((e,n)=>{"use strict";var o=K(),r=te(),i=class extends r{constructor(c){super(c),this.type="colon"}};o.registerWalker(i),n.exports=i}),rn=E((e,n)=>{"use strict";var o=K(),r=te(),i=class extends r{constructor(c){super(c),this.type="comma"}};o.registerWalker(i),n.exports=i}),sn=E((e,n)=>{"use strict";var o=K(),r=te(),i=class extends r{constructor(c){super(c),this.type="comment",this.inline=Object(c).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};o.registerWalker(i),n.exports=i}),nn=E((e,n)=>{"use strict";var o=K(),r=class extends o{constructor(i){super(i),this.type="func",this.unbalanced=-1}};o.registerWalker(r),n.exports=r}),on=E((e,n)=>{"use strict";var o=K(),r=te(),i=class extends r{constructor(c){super(c),this.type="number",this.unit=Object(c).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}};o.registerWalker(i),n.exports=i}),an=E((e,n)=>{"use strict";var o=K(),r=te(),i=class extends r{constructor(c){super(c),this.type="operator"}};o.registerWalker(i),n.exports=i}),un=E((e,n)=>{"use strict";var o=K(),r=te(),i=class extends r{constructor(c){super(c),this.type="paren",this.parenType=""}};o.registerWalker(i),n.exports=i}),ln=E((e,n)=>{"use strict";var o=K(),r=te(),i=class extends r{constructor(c){super(c),this.type="string"}toString(){let c=this.quoted?this.raws.quote:"";return[this.raws.before,c,this.value+"",c,this.raws.after].join("")}};o.registerWalker(i),n.exports=i}),cn=E((e,n)=>{"use strict";var o=K(),r=te(),i=class extends r{constructor(c){super(c),this.type="word"}};o.registerWalker(i),n.exports=i}),pn=E((e,n)=>{"use strict";var o=K(),r=te(),i=class extends r{constructor(c){super(c),this.type="unicode-range"}};o.registerWalker(i),n.exports=i}),fn=E((e,n)=>{"use strict";var o=class extends Error{constructor(r){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}};n.exports=o}),hn=E((e,n)=>{"use strict";var o=/[ \n\t\r\{\(\)'"\\;,/]/g,r=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,i=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,c=/^[a-z0-9]/i,p=/^[a-f0-9?\-]/i,m=fn();n.exports=function(f,d){d=d||{};let t=[],s=f.valueOf(),a=s.length,l=-1,h=1,u=0,v=0,g=null,y,w,O,b,T,x,k,_,C,I,M,$;function R(P){let z=`Unclosed ${P} at line: ${h}, column: ${u-l}, token: ${u}`;throw new m(z)}function N(){let P=`Syntax error at line: ${h}, column: ${u-l}, token: ${u}`;throw new m(P)}for(;u<a;){switch(y=s.charCodeAt(u),y===10&&(l=u,h+=1),y){case 10:case 32:case 9:case 13:case 12:w=u;do w+=1,y=s.charCodeAt(w),y===10&&(l=w,h+=1);while(y===32||y===10||y===9||y===13||y===12);t.push(["space",s.slice(u,w),h,u-l,h,w-l,u]),u=w-1;break;case 58:w=u+1,t.push(["colon",s.slice(u,w),h,u-l,h,w-l,u]),u=w-1;break;case 44:w=u+1,t.push(["comma",s.slice(u,w),h,u-l,h,w-l,u]),u=w-1;break;case 123:t.push(["{","{",h,u-l,h,w-l,u]);break;case 125:t.push(["}","}",h,u-l,h,w-l,u]);break;case 40:v++,g=!g&&v===1&&t.length>0&&t[t.length-1][0]==="word"&&t[t.length-1][1]==="url",t.push(["(","(",h,u-l,h,w-l,u]);break;case 41:v--,g=g&&v>0,t.push([")",")",h,u-l,h,w-l,u]);break;case 39:case 34:O=y===39?"'":'"',w=u;do for(I=!1,w=s.indexOf(O,w+1),w===-1&&R("quote",O),M=w;s.charCodeAt(M-1)===92;)M-=1,I=!I;while(I);t.push(["string",s.slice(u,w+1),h,u-l,h,w-l,u]),u=w;break;case 64:o.lastIndex=u+1,o.test(s),o.lastIndex===0?w=s.length-1:w=o.lastIndex-2,t.push(["atword",s.slice(u,w+1),h,u-l,h,w-l,u]),u=w;break;case 92:w=u,y=s.charCodeAt(w+1),k&&y!==47&&y!==32&&y!==10&&y!==9&&y!==13&&y!==12&&(w+=1),t.push(["word",s.slice(u,w+1),h,u-l,h,w-l,u]),u=w;break;case 43:case 45:case 42:w=u+1,$=s.slice(u+1,w+1);let P=s.slice(u-1,u);if(y===45&&$.charCodeAt(0)===45){w++,t.push(["word",s.slice(u,w),h,u-l,h,w-l,u]),u=w-1;break}t.push(["operator",s.slice(u,w),h,u-l,h,w-l,u]),u=w-1;break;default:if(y===47&&(s.charCodeAt(u+1)===42||d.loose&&!g&&s.charCodeAt(u+1)===47)){if(s.charCodeAt(u+1)===42)w=s.indexOf("*/",u+2)+1,w===0&&R("comment","*/");else{let z=s.indexOf(`
29
+ `,u+2);w=z!==-1?z-1:a}x=s.slice(u,w+1),b=x.split(`
30
+ `),T=b.length-1,T>0?(_=h+T,C=w-b[T].length):(_=h,C=l),t.push(["comment",x,h,u-l,_,w-C,u]),l=C,h=_,u=w}else if(y===35&&!c.test(s.slice(u+1,u+2)))w=u+1,t.push(["#",s.slice(u,w),h,u-l,h,w-l,u]),u=w-1;else if((y===117||y===85)&&s.charCodeAt(u+1)===43){w=u+2;do w+=1,y=s.charCodeAt(w);while(w<a&&p.test(s.slice(w,w+1)));t.push(["unicoderange",s.slice(u,w),h,u-l,h,w-l,u]),u=w-1}else if(y===47)w=u+1,t.push(["operator",s.slice(u,w),h,u-l,h,w-l,u]),u=w-1;else{let z=r;if(y>=48&&y<=57&&(z=i),z.lastIndex=u+1,z.test(s),z.lastIndex===0?w=s.length-1:w=z.lastIndex-2,z===i||y===46){let ae=s.charCodeAt(w),re=s.charCodeAt(w+1),se=s.charCodeAt(w+2);(ae===101||ae===69)&&(re===45||re===43)&&se>=48&&se<=57&&(i.lastIndex=w+2,i.test(s),i.lastIndex===0?w=s.length-1:w=i.lastIndex-2)}t.push(["word",s.slice(u,w+1),h,u-l,h,w-l,u]),u=w}break}u++}return t}}),dn=E((e,n)=>{"use strict";var o=class extends Error{constructor(r){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}};n.exports=o}),mn=E((e,n)=>{"use strict";var o=Zs(),r=Xs(),i=en(),c=tn(),p=rn(),m=sn(),f=nn(),d=on(),t=an(),s=un(),a=ln(),l=cn(),h=pn(),u=hn(),v=fr(),g=hr(),y=dr(),w=dn();function O(b){return b.sort((T,x)=>T-x)}n.exports=class{constructor(b,T){let x={loose:!1};this.cache=[],this.input=b,this.options=Object.assign({},x,T),this.position=0,this.unbalanced=0,this.root=new o;let k=new r;this.root.append(k),this.current=k,this.tokens=u(b,this.options)}parse(){return this.loop()}colon(){let b=this.currToken;this.newNode(new c({value:b[1],source:{start:{line:b[2],column:b[3]},end:{line:b[4],column:b[5]}},sourceIndex:b[6]})),this.position++}comma(){let b=this.currToken;this.newNode(new p({value:b[1],source:{start:{line:b[2],column:b[3]},end:{line:b[4],column:b[5]}},sourceIndex:b[6]})),this.position++}comment(){let b=!1,T=this.currToken[1].replace(/\/\*|\*\//g,""),x;this.options.loose&&T.startsWith("//")&&(T=T.substring(2),b=!0),x=new m({value:T,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(x),this.position++}error(b,T){throw new w(b+` at line: ${T[2]}, column ${T[3]}`)}loop(){for(;this.position<this.tokens.length;)this.parseTokens();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}operator(){let b=this.currToken[1],T;if(b==="+"||b==="-"){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){if((!this.current.nodes.length||this.current.last&&this.current.last.type==="operator")&&this.nextToken[0]==="word")return this.word()}else if(this.nextToken[0]==="word")return this.word()}return T=new t({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(T)}parseTokens(){switch(this.currToken[0]){case"space":this.space();break;case"colon":this.colon();break;case"comma":this.comma();break;case"comment":this.comment();break;case"(":this.parenOpen();break;case")":this.parenClose();break;case"atword":case"word":this.word();break;case"operator":this.operator();break;case"string":this.string();break;case"unicoderange":this.unicodeRange();break;default:this.word();break}}parenOpen(){let b=1,T=this.position+1,x=this.currToken,k;for(;T<this.tokens.length&&b;){let _=this.tokens[T];_[0]==="("&&b++,_[0]===")"&&b--,T++}if(b&&this.error("Expected closing parenthesis",x),k=this.current.last,k&&k.type==="func"&&k.unbalanced<0&&(k.unbalanced=0,this.current=k),this.current.unbalanced++,this.newNode(new s({value:x[1],source:{start:{line:x[2],column:x[3]},end:{line:x[4],column:x[5]}},sourceIndex:x[6]})),this.position++,this.current.type==="func"&&this.current.unbalanced&&this.current.value==="url"&&this.currToken[0]!=="string"&&this.currToken[0]!==")"&&!this.options.loose){let _=this.nextToken,C=this.currToken[1],I={line:this.currToken[2],column:this.currToken[3]};for(;_&&_[0]!==")"&&this.current.unbalanced;)this.position++,C+=this.currToken[1],_=this.nextToken;this.position!==this.tokens.length-1&&(this.position++,this.newNode(new l({value:C,source:{start:I,end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]})))}}parenClose(){let b=this.currToken;this.newNode(new s({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()))}space(){let b=this.currToken;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++)}unicodeRange(){let b=this.currToken;this.newNode(new h({value:b[1],source:{start:{line:b[2],column:b[3]},end:{line:b[4],column:b[5]}},sourceIndex:b[6]})),this.position++}splitWord(){let b=this.nextToken,T=this.currToken[1],x=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,k=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,_,C;if(!k.test(T))for(;b&&b[0]==="word";){this.position++;let I=this.currToken[1];T+=I,b=this.nextToken}_=g(T,"@"),C=O(y(v([[0],_]))),C.forEach((I,M)=>{let $=C[M+1]||T.length,R=T.slice(I,$),N;if(~_.indexOf(I))N=new i({value:R.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+I},end:{line:this.currToken[4],column:this.currToken[3]+($-1)}},sourceIndex:this.currToken[6]+C[M]});else if(x.test(this.currToken[1])){let P=R.replace(x,"");N=new d({value:R.replace(P,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+I},end:{line:this.currToken[4],column:this.currToken[3]+($-1)}},sourceIndex:this.currToken[6]+C[M],unit:P})}else N=new(b&&b[0]==="("?f:l)({value:R,source:{start:{line:this.currToken[2],column:this.currToken[3]+I},end:{line:this.currToken[4],column:this.currToken[3]+($-1)}},sourceIndex:this.currToken[6]+C[M]}),N.type==="word"?(N.isHex=/^#(.+)/.test(R),N.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(R)):this.cache.push(this.current);this.newNode(N)}),this.position++}string(){let b=this.currToken,T=this.currToken[1],x=/^(\"|\')/,k=x.test(T),_="",C;k&&(_=T.match(x)[0],T=T.slice(1,T.length-1)),C=new a({value:T,source:{start:{line:b[2],column:b[3]},end:{line:b[4],column:b[5]}},sourceIndex:b[6],quoted:k}),C.raws.quote=_,this.newNode(C),this.position++}word(){return this.splitWord()}newNode(b){return this.spaces&&(b.raws.before+=this.spaces,this.spaces=""),this.current.append(b)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}}),yn={};Xt(yn,{languages:()=>Mi,options:()=>Wi,parsers:()=>rs,printers:()=>ga});var mr=(e,n)=>(o,r,...i)=>o|1&&r==null?void 0:(n.call(r)??r[e]).apply(r,i),vn=String.prototype.replaceAll??function(e,n){return e.global?this.replace(e,n):this.split(e).join(n)},gn=mr("replaceAll",function(){if(typeof this=="string")return vn}),F=gn;function wn(e){return this[e<0?this.length+e:e]}var bn=mr("at",function(){if(Array.isArray(this)||typeof this=="string")return wn}),he=bn,xn=()=>{},yr=xn,vr="string",gr="array",wr="cursor",rt="indent",$t="align",br="trim",st="group",nt="fill",ot="if-break",xr="indent-if-break",Rt="line-suffix",Wt="line-suffix-boundary",me="line",kr="label",Lt="break-parent",Or=new Set([wr,rt,$t,br,st,nt,ot,xr,Rt,Wt,me,kr,Lt]);function kn(e,n,o){if(!e.has(n)){let r=o(n);e.set(n,r)}return e.get(n)}function On(e){if(typeof e=="string")return vr;if(Array.isArray(e))return gr;if(!e)return;let{type:n}=e;if(Or.has(n))return n}var Me=On,Tn=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function _n(e){let n=e===null?"null":typeof e;if(n!=="string"&&n!=="object")return`Unexpected doc '${n}',
31
+ Expected it to be 'string' or 'object'.`;if(Me(e))throw new Error("doc is valid.");let o=Object.prototype.toString.call(e);if(o!=="[object Object]")return`Unexpected doc '${o}'.`;let r=Tn([...Or].map(i=>`'${i}'`));return`Unexpected doc.type '${e.type}'.
32
+ Expected it to be ${r}.`}var Sn=class extends Error{name="InvalidDocError";constructor(e){super(_n(e)),this.doc=e}},Cn=Sn;function Tr(e,n){if(typeof e=="string")return n(e);let o=new Map;return r(e);function r(c){return kn(o,c,i)}function i(c){switch(Me(c)){case gr:return n(c.map(r));case nt:return n({...c,parts:c.parts.map(r)});case ot:return n({...c,breakContents:r(c.breakContents),flatContents:r(c.flatContents)});case st:{let{expandedStates:p,contents:m}=c;return p?(p=p.map(r),m=p[0]):m=r(m),n({...c,contents:m,expandedStates:p})}case $t:case rt:case xr:case kr:case Rt:return n({...c,contents:r(c.contents)});case vr:case wr:case br:case Wt:case me:case Lt:return n(c);default:throw new Cn(c)}}}function An(e){return e.type===me&&!e.hard?e.soft?"":" ":e.type===ot?e.flatContents:e}function En(e){return Tr(e,An)}function In(e,n=Mn){return Tr(e,o=>typeof o=="string"?ie(n,o.split(`
33
+ `)):o)}var jn=yr;function V(e){return{type:rt,contents:e}}function Pn(e,n){return{type:$t,contents:n,n:e}}function We(e){return Pn(-1,e)}var it={type:Lt};function Ye(e){return{type:nt,parts:e}}function Y(e,n={}){return jn(n.expandedStates),{type:st,id:n.id,contents:e,break:!!n.shouldBreak,expandedStates:n.expandedStates}}function _r(e,n="",o={}){return{type:ot,breakContents:e,flatContents:n,groupId:o.groupId}}function ie(e,n){let o=[];for(let r=0;r<n.length;r++)r!==0&&o.push(e),o.push(n[r]);return o}var U={type:me},G={type:me,soft:!0},Nn={type:me,hard:!0},D=[Nn,it],Sr={type:me,hard:!0,literal:!0},Mn=[Sr,it];function Cr(e){return{type:Rt,contents:e}}var Ar={type:Wt};function $n(e){return Array.isArray(e)&&e.length>0}var at=$n,Er=Object.freeze({character:"'",codePoint:39}),Ir=Object.freeze({character:'"',codePoint:34}),Rn=Object.freeze({preferred:Er,alternate:Ir}),Wn=Object.freeze({preferred:Ir,alternate:Er});function Ln(e,n){let{preferred:o,alternate:r}=n===!0||n==="'"?Rn:Wn,{length:i}=e,c=0,p=0;for(let m=0;m<i;m++){let f=e.charCodeAt(m);f===o.codePoint?c++:f===r.codePoint&&p++}return(c>p?r:o).character}var zn=/\\(["'\\])|(["'])/g;function qn(e,n){let o=n==='"'?"'":'"',r=F(0,e,zn,(i,c,p)=>c?c===o?o:i:p===n?"\\"+p:p);return n+r+n}var Bn=qn;function Fn(e,n){let o=e.slice(1,-1),r;return n.parser==="json"||n.parser==="jsonc"||n.parser==="json-stringify"||n.parser==="json5"&&n.quoteProps==="preserve"&&!n.singleQuote?r='"':n.__isInHtmlAttribute?r="'":r=Ln(o,n.singleQuote),e.charAt(0)===r?e:Bn(o,r)}var jr=Fn,Dn=class extends Error{name="UnexpectedNodeError";constructor(e,n,o="type"){super(`Unexpected ${n} node ${o}: ${JSON.stringify(e[o])}.`),this.node=e}},Un=Dn;function Pr(){}Pr.getVisitorKeys=e=>e.type==="css-root"?["frontMatter"]:[];var Vn=Pr,Ae=null;function $e(e){if(Ae!==null&&typeof Ae.property){let n=Ae;return Ae=$e.prototype=null,n}return Ae=$e.prototype=e??Object.create(null),new $e}var Gn=10;for(let e=0;e<=Gn;e++)$e();function Jn(e){return $e(e)}function Hn(e,n="type"){Jn(e);function o(r){let i=r[n],c=e[i];if(!Array.isArray(c))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:r});return c}return o}var Qn=Hn,X=[["nodes"],["group"]],Yn={"css-root":["frontMatter","nodes"],"css-comment":[],"css-rule":["selector","nodes"],"css-decl":["value","selector","nodes"],"css-atrule":["selector","params","value","nodes"],"media-query-list":X[0],"media-query":X[0],"media-type":[],"media-feature-expression":X[0],"media-feature":[],"media-colon":[],"media-value":[],"media-keyword":[],"media-url":[],"media-unknown":[],"selector-root":X[0],"selector-selector":X[0],"selector-comment":[],"selector-string":[],"selector-tag":[],"selector-id":[],"selector-class":[],"selector-attribute":[],"selector-combinator":X[0],"selector-universal":[],"selector-pseudo":X[0],"selector-nesting":[],"selector-unknown":[],"value-value":X[1],"value-root":X[1],"value-comment":[],"value-comma_group":["groups"],"value-paren_group":["open","groups","close"],"value-func":X[1],"value-paren":[],"value-number":[],"value-operator":[],"value-word":[],"value-colon":[],"value-comma":[],"value-string":[],"value-atword":[],"value-unicode-range":[],"value-unknown":[]},Kn=Qn(Yn),Zn=Kn;function Xn(e,n){let o=0;for(let r=0;r<e.line-1;++r)o=n.indexOf(`
34
+ `,o)+1;return o+e.column}var Nr=Xn;function zt(e){return(n,o,r)=>{if(o===!1)return!1;let i=!!r?.backwards,{length:c}=n,p=o;for(;p>=0&&p<c;){let m=n.charAt(p);if(e instanceof RegExp){if(!e.test(m))return p}else if(!e.includes(m))return p;i?p--:p++}return p===-1||p===c?p:!1}}var Mr=zt(" "),eo=zt(",; "),$r=zt(/[^\n\r]/);function Rr(e,n){let{value:o}=e;return o==="-"||o==="--"||o.charAt(0)!=="-"?n:n-(o.charAt(1)==="-"?2:1)}function Wr(e,n){if(typeof e.source?.start?.offset=="number")return e.source.start.offset;if(typeof e.sourceIndex=="number")return e.type==="value-word"?Rr(e,e.sourceIndex):e.sourceIndex;if(e.source?.start)return Nr(e.source.start,n);throw Object.assign(new Error("Can not locate node."),{node:e})}function Lr(e,n){if(e.type==="css-comment"&&e.inline)return $r(n,e.source.startOffset);if(e.type==="value-paren"&&typeof e.sourceIndex=="number")return e.sourceIndex+(e.value===")"?e.value.length:0);if(typeof e.source?.end?.offset=="number")return e.source.end.offset;if(e.source){if(e.source.end){let o=Nr(e.source.end,n);return e.type==="value-word"?Rr(e,o):o}if(at(e.nodes))return Lr(he(0,e.nodes,-1),n);if(e.type==="css-atrule"&&typeof e.name=="string")return Wr(e,n)+1+e.name.length+e.raws.afterName.length+e.raws.params.length}return typeof e.sourceIndex=="number"&&typeof e.value=="string"?e.sourceIndex+e.value.length:null}function to(e,n){yt(e,n,0,!1)}function yt(e,n,o,r){if(r&&typeof e.type=="string")e.source??(e.source={}),e.source.startOffset=o,e.source.endOffset=o+n.length;else if(!(typeof e.source?.startOffset=="number"&&typeof e.source?.endOffset=="number")&&(e.source||typeof e.sourceIndex=="number")){e.source??(e.source={});let i=o+n.length;e.source.startOffset=Math.min(Wr(e,n)+o,i);let c=Lr(e,n);e.source.endOffset=typeof c=="number"?Math.min(c+o,i):c}for(let i in e){let c=e[i];if(i==="source"||!c||typeof c!="object")continue;let p=Array.isArray(c)?c:[c];for(let m of p){if(!m||typeof m!="object")continue;let f=ro(e,m,o);f?yt(m,f.text,f.rootOffset,!0):yt(m,n,o,!1),Br(m,e)}}oo(e),io(e)}function ro(e,n,o){if(n.type==="value-root"||n.type==="value-unknown")return{rootOffset:zr(e),text:n.text||n.value||""};if(n.type==="media-query-list"||e.params===n)return{rootOffset:qr(e),text:e.raws?.params||n.value||""};if(n.type?.startsWith("selector-")){let r=so(e,n);if(typeof r=="string")return{rootOffset:no(e,n,r,o),text:r}}}function zr(e){let n=e.source.startOffset;return typeof e.prop=="string"&&(n+=e.prop.length),e.type==="css-atrule"&&typeof e.name=="string"&&(n+=1+e.name.length+e.raws.afterName.match(/^\s*:?\s*/)[0].length),e.type!=="css-atrule"&&typeof e.raws?.between=="string"&&(n+=e.raws.between.length),n}function qr(e){let n=e.source.startOffset;return e.type==="css-atrule"&&typeof e.name=="string"&&(n+=1+e.name.length+e.raws.afterName.match(/^\s*:?\s*/)[0].length),n}function so(e,n){if(typeof n.raws?.selector=="string")return n.raws.selector;if(e.selector===n){if(e.mixin)return e.raws.identifier+e.name+e.raws.afterName+e.raws.params;if(typeof e.raws?.selector=="string")return e.raws.selector;if(e.customSelector&&typeof e.raws?.params=="string")return e.raws.params.slice(e.customSelector.length).trim();if(typeof e.raws?.params=="string")return e.raws.params;if(e.type==="css-decl"&&typeof e.raws?.value=="string"){let{value:o}=e.raws;return e.extend&&o.startsWith("extend(")?o.slice(7,-1):o}}}function no(e,n,o,r){return typeof n.sourceIndex=="number"&&typeof n.raws?.selector=="string"?r+n.sourceIndex:e.mixin?e.source.startOffset:typeof e.raws?.selector=="string"?e.source.startOffset+pt(e.raws.selector,o):typeof e.raws?.params=="string"?qr(e)+pt(e.raws.params,o):e.type==="css-decl"&&typeof e.raws?.value=="string"?zr(e)+pt(e.raws.value,o):r}function pt(e,n){let o=e.indexOf(n);return o===-1?0:o}function oo(e){var n,o;if(typeof e.type!="string")return;let r=typeof e.source?.startOffset=="number"&&typeof e.source?.endOffset=="number",i=e.source?.start&&e.source.end;if(r&&i)return;let c=Number.POSITIVE_INFINITY,p=Number.NEGATIVE_INFINITY,m,f;for(let d in e){if(d==="source"||d==="raws"||d==="spaces")continue;let t=e[d],s=Array.isArray(t)?t:[t];for(let a of s)!a||typeof a!="object"||typeof a.source?.startOffset!="number"||typeof a.source?.endOffset!="number"||(a.source.startOffset<c&&(c=a.source.startOffset,m=a.source.start),a.source.endOffset>p&&(p=a.source.endOffset,f=a.source.end))}c!==Number.POSITIVE_INFINITY&&(e.source??(e.source={}),r||(e.source.startOffset=c,e.source.endOffset=p),(n=e.source).start??(n.start=m),(o=e.source).end??(o.end=f))}function Br(e,n){typeof e.type!="string"||e.source||typeof n.source?.startOffset!="number"||typeof n.source?.endOffset!="number"||!ao(e)||(e.source={startOffset:n.source.startOffset,endOffset:n.source.startOffset,start:n.source.start,end:n.source.start})}function io(e){if(!(typeof e.source?.startOffset!="number"||typeof e.source?.endOffset!="number"))for(let n in e){if(n==="source"||n==="raws"||n==="spaces")continue;let o=e[n],r=Array.isArray(o)?o:[o];for(let i of r)i&&typeof i=="object"&&Br(i,e)}}function ao(e){return Array.isArray(e.nodes)&&e.nodes.length===0||Array.isArray(e.groups)&&e.groups.length===0}function uo(e){let n="initial",o="initial",r,i=!1,c=[];for(let p=0;p<e.length;p++){let m=e[p];switch(n){case"initial":if(m==="'"){n="single-quotes";continue}if(m==='"'){n="double-quotes";continue}if((m==="u"||m==="U")&&e.slice(p,p+4).toLowerCase()==="url("){n="url",p+=3;continue}if(m==="/"){let f=e[p+1];f==="*"?(n="comment-block",p++):f==="/"&&(n="comment-inline",r=p,p++);continue}continue;case"single-quotes":if(m==="'"&&e[p-1]!=="\\"&&(n=o,o="initial"),m===`
35
+ `||m==="\r")return e;continue;case"double-quotes":if(m==='"'&&e[p-1]!=="\\"&&(n=o,o="initial"),m===`
36
+ `||m==="\r")return e;continue;case"url":if(m===")")n="initial";else if(m===`
37
+ `||m==="\r")return e;if(m==="'"){n="single-quotes",o="url";continue}if(m==='"'){n="double-quotes",o="url";continue}continue;case"comment-block":m==="/"&&e[p-1]==="*"&&(n="initial");continue;case"comment-inline":m==='"'||m==="'"||m==="*"?i=!0:(m===`
38
+ `||m==="\r")&&(i&&c.push([r,p]),n="initial",i=!1);continue}}for(let[p,m]of c)e=e.slice(0,p)+F(0,e.slice(p,m),/["'*]/g," ")+e.slice(m);return e}var J=e=>e.source.startOffset,H=e=>e.source.endOffset,Fr=Symbol.for("PRETTIER_IS_FRONT_MATTER");function lo(e){return!!e?.[Fr]}var vt=lo;function co(e){return F(0,e,/[^\n]/g," ")}var Dr=co,Ee=3;function po(e){let n=e.slice(0,Ee);if(n!=="---"&&n!=="+++")return;let o=e.indexOf(`
39
+ `,Ee);if(o===-1)return;let r=e.slice(Ee,o).trim(),i=e.indexOf(`
40
+ ${n}`,o),c=r;if(c||(c=n==="+++"?"toml":"yaml"),i===-1&&n==="---"&&c==="yaml"&&(i=e.indexOf(`
41
+ ...`,o)),i===-1)return;let p=i+1+Ee,m=e.charAt(p+1);if(!/\s?/.test(m))return;let f=e.slice(0,p),d;return{language:c,explicitLanguage:r||null,value:e.slice(o+1,i),startDelimiter:n,endDelimiter:f.slice(-Ee),raw:f,start:{line:1,column:0,index:0},end:{index:f.length,get line(){return d??(d=f.split(`
42
+ `)),d.length},get column(){return d??(d=f.split(`
43
+ `)),he(0,d,-1).length}},[Fr]:!0}}function fo(e){let n=po(e);return n?{frontMatter:n,get content(){let{raw:o}=n;return Dr(o)+e.slice(o.length)}}:{content:e}}var ut=fo,ho=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma","spaces"]);function Ur(e,n,o){if(e.type==="css-comment"&&o.type==="css-root"&&o.nodes.length>0&&((o.nodes[0]===e||vt(o.nodes[0])&&o.nodes[1]===e)&&(delete n.text,/^\*\s*@(?:format|prettier)\s*$/.test(e.text))||o.type==="css-root"&&he(0,o.nodes,-1)===e))return null;if(e.type==="value-root"&&delete n.text,(e.type==="media-query"||e.type==="media-query-list"||e.type==="media-feature-expression")&&delete n.value,e.type==="css-rule"&&(delete n.params,e.extend&&yo(e.selector)&&delete n.extend),(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&&(n.value=mo(e.value)),e.type==="selector-combinator"&&(n.value=F(0,n.value,/\s+/g," ")),e.type==="media-feature"&&(n.value=F(0,n.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")&&(n.value=n.value.toLowerCase()),e.type==="css-decl"&&(n.prop=e.prop.toLowerCase()),(e.type==="css-atrule"||e.type==="css-import")&&(n.name=e.name.toLowerCase()),e.type==="value-number"&&(n.unit=e.unit.toLowerCase()),e.type==="value-unknown"&&(n.value=F(0,n.value,/;$/g,"")),e.type==="selector-attribute"&&(n.attribute=e.attribute.trim(),e.namespace&&typeof e.namespace=="string"&&(n.namespace=e.namespace.trim()||!0),e.value)){let{value:r}=n;/\s[a-z]$/i.test(r)&&(n.__prettier_attribute_selector_flag=he(0,r,-1),r=r.slice(0,-1)),r=r.trim(),r=r.replace(/^(?<quote>["'])(?<value>.*?)\k<quote>$/,"$<value>"),n.value=r,delete n.quoted}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&&(n.value=F(0,n.value,/([\d+.e-]+)([a-z]*)/gi,(r,i,c)=>{let p=Number(i);return Number.isNaN(p)?r:p+c.toLowerCase()})),e.type==="selector-tag"){let r=n.value.toLowerCase();["from","to"].includes(r)&&(n.value=r)}if(e.type==="css-atrule"&&e.name.toLowerCase()==="supports"&&delete n.value,e.type==="selector-unknown"&&delete n.value,e.type==="value-comma_group"){let r=e.groups.findIndex(i=>i.type==="value-number"&&i.unit==="...");r!==-1&&(n.groups[r].unit="",n.groups.splice(r+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}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("")};if(e.type==="value-func"&&e.value==="if"&&e.group.type==="value-paren_group"&&e.group.groups.length===1&&e.group.groups[0].type==="value-comma_group"){let r=e.group.groups[0].groups,i=n.group.groups[0].groups;for(let c=r.length-1;c>=0;c--){let p=r[c];if(p.type==="value-word"&&typeof p.value=="string"&&p.value.endsWith(";")){if(p.value===";"){r[c-1]?.type==="value-number"&&i.splice(c-1,2,{type:"#node-placeholder"});continue}i[c]={type:"#node-placeholder"}}}}}Ur.ignoredProperties=ho;function mo(e){return F(0,F(0,e,"'",'"'),/\\([^\da-f])/gi,"$1")}function yo(e){return e?.nodes?.some(n=>n.nodes?.some(o=>o.type==="selector-pseudo"&&o.value===":extend"))}var vo=Object.hasOwn??Function.prototype.call.bind(Object.prototype.hasOwnProperty),Vr=vo,go=/\*\/$/,wo=/^\/\*\*?/,Gr=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,bo=/(^|\s+)\/\/([^\n\r]*)/g,Vt=/^(\r?\n)+/,xo=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,Gt=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,ko=/(\r?\n|^) *\* ?/g,Jr=[];function Oo(e){let n=e.match(Gr);return n?n[0].trimStart():""}function To(e){let n=e.match(Gr)?.[0];return n==null?e:e.slice(n.length)}function _o(e){e=F(0,e.replace(wo,"").replace(go,""),ko,"$1");let n="";for(;n!==e;)n=e,e=F(0,e,xo,`
44
+ $1 $2
45
+ `);e=e.replace(Vt,"").trimEnd();let o=Object.create(null),r=F(0,e,Gt,"").replace(Vt,"").trimEnd(),i;for(;i=Gt.exec(e);){let c=F(0,i[2],bo,"");if(typeof o[i[1]]=="string"||Array.isArray(o[i[1]])){let p=o[i[1]];o[i[1]]=[...Jr,...Array.isArray(p)?p:[p],c]}else o[i[1]]=c}return{comments:r,pragmas:o}}function So({comments:e="",pragmas:n={}}){let o=Object.keys(n),r=o.flatMap(c=>Jt(c,n[c])).map(c=>` * ${c}
46
+ `).join("");if(!e){if(o.length===0)return"";if(o.length===1&&!Array.isArray(n[o[0]])){let c=n[o[0]];return`/** ${Jt(o[0],c)[0]} */`}}let i=e.split(`
47
+ `).map(c=>` * ${c}`).join(`
48
+ `)+`
49
+ `;return`/**
50
+ `+(e?i:"")+(e&&o.length>0?` *
51
+ `:"")+r+" */"}function Jt(e,n){return[...Jr,...Array.isArray(n)?n:[n]].map(o=>`@${e} ${o}`.trim())}var Co=["noformat","noprettier"],Ao=["format","prettier"],Eo="format";function Io(e){if(!e.startsWith("#!"))return"";let n=e.indexOf(`
52
+ `);return n===-1?e:e.slice(0,n)}var jo=Io;function qt(e){let n=jo(e);n&&(e=e.slice(n.length+1));let o=Oo(e),{pragmas:r,comments:i}=_o(o);return{shebang:n,text:e,pragmas:r,comments:i}}function Po(e){let{pragmas:n}=qt(e);return Ao.some(o=>Vr(n,o))}function No(e){let{pragmas:n}=qt(e);return Co.some(o=>Vr(n,o))}function Mo(e){let{shebang:n,text:o,pragmas:r,comments:i}=qt(e),c=To(o),p=So({pragmas:{[Eo]:"",...r},comments:i.trimStart()});return(n?`${n}
53
+ `:"")+p+(c.startsWith(`
54
+ `)?`
55
+ `:`
56
+
57
+ `)+c}var $o=e=>Po(ut(e).content),Ro=e=>No(ut(e).content),Wo=e=>{let{frontMatter:n,content:o}=ut(e);return(n?n.raw+`
58
+
59
+ `:"")+Mo(o)},Lo=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"]);function zo(e){return e.findAncestor(n=>n.type==="css-decl")?.prop?.toLowerCase()}var qo=new Set(["initial","inherit","unset","revert"]);function Bo(e){return qo.has(e.toLowerCase())}function Fo(e,n){return e.findAncestor(o=>o.type==="css-atrule")?.name?.toLowerCase().endsWith("keyframes")&&["from","to"].includes(n.toLowerCase())}function Ie(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()}function Ne(e,n){return e.findAncestor(o=>o.type==="value-func")?.value?.toLowerCase()===n}function Do(e){return e.hasAncestor(n=>{if(n.type!=="css-rule")return!1;let o=n.raws?.selector;return o&&(o.startsWith(":import")||o.startsWith(":export"))})}function Re(e,n){let o=Array.isArray(n)?n:[n],r=e.findAncestor(i=>i.type==="css-atrule");return r&&o.includes(r.name.toLowerCase())}function Uo(e){let{node:n}=e;return n.groups[0]?.value==="url"&&n.groups.length===2&&e.findAncestor(o=>o.type==="css-atrule")?.name==="import"}function Vo(e){return e.type==="value-func"&&e.value.toLowerCase()==="url"}function Go(e){return e.type==="value-func"&&e.value.toLowerCase()==="var"}function Jo(e){let{selector:n}=e;return n?typeof n=="string"&&/^@.+:.*$/.test(n)||n.value&&/^@.+:.*$/.test(n.value):!1}function Ho(e){return e.type==="value-word"&&["from","through","end"].includes(e.value)}function Qo(e){return e.type==="value-word"&&["and","or","not"].includes(e.value)}function Yo(e){return e.type==="value-word"&&e.value==="in"}function gt(e){return e.type==="value-operator"&&e.value==="*"}function xe(e){return e?.type==="value-operator"&&e.value==="/"}function oe(e){return e.type==="value-operator"&&e.value==="+"}function ke(e){return e.type==="value-operator"&&e.value==="-"}function Ko(e){return e.type==="value-operator"&&e.value==="%"}function Ke(e){return gt(e)||xe(e)||oe(e)||ke(e)||Ko(e)}function Zo(e){return e.type==="value-word"&&["==","!="].includes(e.value)}function Xo(e){return e.type==="value-word"&&["<",">","<=",">="].includes(e.value)}function wt(e,n){return n.parser==="scss"&&e.type==="css-atrule"&&["if","else","for","each","while"].includes(e.name)}function Ht(e){return e.raws?.params&&/^\(\s*\)$/.test(e.raws.params)}function ft(e){return e.name.startsWith("prettier-placeholder")}function ei(e){return e.prop.startsWith("@prettier-placeholder")}function ti(e,n){return e.value==="$$"&&e.type==="value-func"&&n?.type==="value-word"&&!n.raws.before}function ri(e){return e.value?.type==="value-root"&&e.value.group?.type==="value-value"&&e.prop.toLowerCase()==="composes"}function si(e){return e.value?.group?.group?.type==="value-paren_group"&&e.value.group.group.open!==null&&e.value.group.group.close!==null}function ne(e){return e?.raws?.before===""}function Bt(e){return e.type==="value-comma_group"&&e.groups?.[1]?.type==="value-colon"}function ht(e){return e.type==="value-paren_group"&&e.groups?.[0]&&Bt(e.groups[0])}function Hr(e,n){if(n.parser!=="scss")return!1;let{node:o}=e;if(o.groups.length===0||o.type==="value-paren_group"&&o.open&&o.close&&o.groups.length===1&&o.groups[0].type!=="value-comma_group")return!1;let r=e.parent;if(r&&r.type==="value-func"&&r.value==="if")return!1;let i=e.grandparent;return!ht(o)&&!(i&&ht(i))?!1:e.findAncestor(c=>c.type==="css-decl")?.prop?.startsWith("$")?!0:ht(i)?!r.groups.some(c=>Ke(c)):i.type==="value-func"}function Je(e){return e.type==="value-comment"&&e.inline}function dt(e){return e.type==="value-word"&&e.value==="#"}function Qt(e){return e.type==="value-word"&&e.value==="{"}function mt(e){return e.type==="value-word"&&e.value==="}"}function He(e){return["value-word","value-atword"].includes(e.type)}function bt(e){return e?.type==="value-colon"}function ni(e,n){if(!Bt(n))return!1;let{groups:o}=n,r=o.indexOf(e);return r===-1?!1:bt(o[r+1])}function oi(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())}function ii(e){return e.type!=="value-func"?!1:Lo.has(e.value.toLowerCase())}function je(e){return/\/\//.test(e.split(/[\n\r]/).pop())}function Oe(e){return e?.type==="value-atword"&&e.value.startsWith("prettier-placeholder-")}function ai(e,n){if(e.open?.value!=="("||e.close?.value!==")"||e.groups.some(o=>o.type!=="value-comma_group"))return!1;if(n.type==="value-comma_group"){let o=n.groups.indexOf(e)-1,r=n.groups[o];if(r?.type==="value-word"&&r.value==="with")return!0}return!1}function Qe(e){return e.type==="value-paren_group"&&e.open?.value==="("&&e.close?.value===")"}function ui(e,n,o){let{node:r}=e,i=e.parent,c=e.grandparent,p=zo(e),m=p&&i.type==="value-value"&&(p==="grid"||p.startsWith("grid-template")),f=e.findAncestor(v=>v.type==="css-atrule"),d=f&&wt(f,n),t=r.groups.some(v=>Je(v)),s=e.map(o,"groups"),a=[""],l=Ne(e,"url"),h=!1,u=!1;for(let v=0;v<r.groups.length;++v){let g=r.groups[v-1],y=r.groups[v],w=r.groups[v+1];if(Je(y)&&!w){a.push([a.pop(),Cr([" ",s[v]])]);continue}if(a.push([a.pop(),s[v]]),l){(w&&oe(w)||oe(y))&&a.push([a.pop()," "]);continue}if(Re(e,"forward")&&y.type==="value-word"&&y.value&&g!==void 0&&g.type==="value-word"&&g.value==="as"&&w.type==="value-operator"&&w.value==="*"||Re(e,"utility")&&y.type==="value-word"&&w&&w.type==="value-operator"&&w.value==="*"||!w||n.parser==="scss"&&w.type==="value-word"&&w.value===";"&&e.match(void 0,(C,I)=>I==="groups"&&C.type==="value-paren_group",(C,I)=>I==="group"&&C.type==="value-func"&&C.value==="if")||y.type==="value-word"&&Oe(w)&&H(y)===J(w))continue;if(y.type==="value-string"&&y.quoted){let C=y.value.lastIndexOf("#{"),I=y.value.lastIndexOf("}");C!==-1&&I!==-1?h=C>I:C!==-1?h=!0:I!==-1&&(h=!1)}if(h||bt(y)||bt(w)||y.type==="value-atword"&&(y.value===""||y.value.endsWith("["))||w.type==="value-word"&&w.value.startsWith("]")||y.value==="~")continue;if(n.parser==="less"){if(w?.type==="value-word"&&w.value==="[")continue;if(y.type==="value-word"&&y.value.endsWith("[")&&(w?.type==="value-atword"||w?.type==="value-word")){yr(r.groups.some((C,I)=>I>v&&(C.value?.startsWith("]")||C.value?.endsWith("]"))));continue}}if(y.type!=="value-string"&&y.value&&y.value.includes("\\")&&w&&w.type!=="value-comment"||g?.value&&g.value.indexOf("\\")===g.value.length-1&&y.type==="value-operator"&&y.value==="/"||y.value==="\\"||ti(y,w)||dt(y)||Qt(y)||mt(w)||Qt(w)&&ne(w)||mt(y)&&ne(w)||y.value==="--"&&dt(w))continue;let O=Ke(y),b=Ke(w);if((O&&dt(w)||b&&mt(y))&&ne(w)||oe(w)&&Ne(e,"type")&&ne(w)||!g&&xe(y)||Ne(e,"calc")&&(oe(y)||oe(w)||ke(y)||ke(w))&&ne(w))continue;if(n.parser==="scss"&&O&&y.value==="-"&&w.type==="value-func"&&H(y)!==J(w)){a.push([a.pop()," "]);continue}let T=r.groups[v+2],x=(oe(y)||ke(y))&&v===0&&(w.type==="value-number"||w.isHex)&&c&&ii(c)&&!ne(w),k=T?.type==="value-func"||T&&He(T)||y.type==="value-func"||He(y),_=w.type==="value-func"||He(w)||g?.type==="value-func"||g&&He(g);if(!(!(gt(w)||gt(y))&&!Ne(e,"calc")&&!x&&(xe(w)&&!k||xe(y)&&!_||oe(w)&&!k||oe(y)&&!_||ke(w)||ke(y))&&(ne(w)||O&&(!g||g&&Ke(g))))&&!((n.parser==="scss"||n.parser==="less")&&O&&y.value==="-"&&Qe(w)&&H(y)===J(w.open)&&w.open.value==="(")){if(Je(y)){if(i.type==="value-paren_group"){a.push(We(D),"");continue}a.push(D,"");continue}if(d&&(Zo(w)||Xo(w)||Qo(w)||Yo(y)||Ho(y))){a.push([a.pop()," "]);continue}if(f&&f.name.toLowerCase()==="namespace"){a.push([a.pop()," "]);continue}if(m){y.source&&w.source&&y.source.start.line!==w.source.start.line?(a.push(D,""),u=!0):a.push([a.pop()," "]);continue}if(!(p&&(p==="font"||p.startsWith("--"))&&(xe(w)&&ne(w)&&Yt(y)||xe(y)&&ne(y)&&Yt(g)))){if(b){a.push([a.pop()," "]);continue}if(w?.value!=="..."&&!(Oe(y)&&Oe(w)&&H(y)===J(w))){if(Oe(y)&&Qe(w)&&H(y)===J(w.open)){a.push(G,"");continue}if(y.value==="with"&&Qe(w)){a=[[Ye(a)," "]];continue}if(!(y.value?.endsWith("#")&&w.value==="{"&&Qe(w.group))&&!(Je(w)&&!T)){if(!f&&y.type==="value-comment"&&!y.inline&&r.groups.slice(0,v).every(C=>C.type==="value-comment")){a.push(We(U),"");continue}a.push(U,"")}}}}}return t&&a.push([a.pop(),it]),u&&a.unshift("",D),d?Y(V(a)):Uo(e)?Y(Ye(a)):Y(V(Ye(a)))}function Yt(e){if(e?.type==="value-number")return!0;if(e?.type!=="value-func")return!1;let n=e.value.toLowerCase();return n==="var"||n==="calc"||n==="min"||n==="max"||n==="clamp"||n.startsWith("--")}var li=ui;function ci(e){return e.length===1?e:e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/,"$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}var pi=ci,xt=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"]]);function Qr(e){let n=e.toLowerCase();return xt.has(n)?xt.get(n):e}var Yr=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,fi=/(?:\d*\.\d+|\d+\.?)(?:e[+-]?\d+)?/gi,hi=/[a-z]+/gi,di=/[$@]?[_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/gi,mi=new RegExp(Yr.source+`|(${di.source})?(${fi.source})(${hi.source})?`,"gi");function ee(e,n){return F(0,e,Yr,o=>jr(o,n))}function yi(e,n){let o=n.singleQuote?"'":'"',r="",i=e.match(/^(?<value>.+?)\s+(?<flag>[a-z])$/i);return i&&({value:e,flag:r}=i.groups),(e.includes('"')||e.includes("'")?e:o+e+o)+(r?` ${r}`:"")}function be(e){return F(0,e,mi,(n,o,r,i,c)=>!r&&i&&(c??(c=""),c=c.toLowerCase(),!c||c==="n"||xt.has(c))?Kr(i)+(c?Qr(c):""):n)}function Kr(e){return pi(e).replace(/\.0(?=$|e)/,"")}function vi(e){return e.trailingComma==="es5"||e.trailingComma==="all"}var Kt=e=>e===`
60
+ `||e==="\r"||e==="\u2028"||e==="\u2029";function gi(e,n,o){if(n===!1)return!1;let r=!!o?.backwards,i=e.charAt(n);if(r){if(e.charAt(n-1)==="\r"&&i===`
61
+ `)return n-2;if(Kt(i))return n-1}else{if(i==="\r"&&e.charAt(n+1)===`
62
+ `)return n+2;if(Kt(i))return n+1}return n}var Zr=gi;function wi(e,n,o={}){let r=Mr(e,o.backwards?n-1:n,o),i=Zr(e,r,o);return r!==i}var Xr=wi;function bi(e,n){if(n===!1)return!1;if(e.charAt(n)==="/"&&e.charAt(n+1)==="*"){for(let o=n+2;o<e.length;++o)if(e.charAt(o)==="*"&&e.charAt(o+1)==="/")return o+2}return n}var xi=bi;function ki(e,n){return n===!1?!1:e.charAt(n)==="/"&&e.charAt(n+1)==="/"?$r(e,n):n}var Oi=ki;function Ti(e,n){let o=null,r=n;for(;r!==o;)o=r,r=eo(e,r),r=xi(e,r),r=Mr(e,r);return r=Oi(e,r),r=Zr(e,r),r!==!1&&Xr(e,r)}var es=Ti;function _i({node:e,parent:n},o){return!!(e.source&&o.originalText.slice(J(e),J(n.close)).trimEnd().endsWith(","))}function Si(e,n){return Go(e.grandparent)&&_i(e,n)?",":e.node.type!=="value-comment"&&!(e.node.type==="value-comma_group"&&e.node.groups.every(o=>o.type==="value-comment"))&&vi(n)&&e.callParent(()=>Hr(e,n))?_r(","):""}function Ci(e,n,o){let{node:r,parent:i}=e,c=e.map(({node:l})=>typeof l=="string"?l:o(),"groups");if(i&&Vo(i)&&(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?o("open"):"",ie(",",c),r.close?o("close"):""];if(!r.open){let l=ts(e),h=Ei(ie(",",c),2),u=ie(l?D:U,h);return V(l?[D,u]:Y([Ai(e)?G:"",Ye(u)]))}let p=e.map(({node:l,isLast:h,index:u})=>{let v=c[u];Bt(l)&&l.type==="value-comma_group"&&l.groups&&l.groups[0].type!=="value-paren_group"&&l.groups[2]?.type==="value-paren_group"&&Me(v)===st&&Me(v.contents)===rt&&Me(v.contents.contents)===nt&&(v=Y(We(v)));let g=[v,h?Si(e,n):","];if(!h&&l.type==="value-comma_group"&&at(l.groups)){let y=he(0,l.groups,-1);!y.source&&y.close&&(y=y.close),y.source&&es(n.originalText,H(y))&&g.push(D)}return g},"groups"),m=ni(r,i),f=ai(r,i),d=Hr(e,n),t=f||d&&!m,s=f||m,a=Y([r.open?o("open"):"",V([G,ie(U,p)]),G,Ar,r.close?o("close"):""],{shouldBreak:t});return s?We(a):a}function ts(e){return e.match(n=>n.type==="value-paren_group"&&!n.open&&n.groups.some(o=>o.type==="value-comma_group"),(n,o)=>o==="group"&&n.type==="value-value",(n,o)=>o==="group"&&n.type==="value-root",(n,o)=>o==="value"&&(n.type==="css-decl"&&!n.prop.startsWith("--")||n.type==="css-atrule"&&n.variable))}function Ai(e){return e.match(n=>n.type==="value-paren_group"&&!n.open,(n,o)=>o==="group"&&n.type==="value-value",(n,o)=>o==="group"&&n.type==="value-root",(n,o)=>o==="value"&&n.type==="css-decl")}function Ei(e,n){let o=[];for(let r=0;r<e.length;r+=n)o.push(e.slice(r,r+n));return o}function Ii(e,n,o){let r=[];return e.each(()=>{let{node:i,previous:c}=e;if(c?.type==="css-comment"&&c.text.trim()==="prettier-ignore"?r.push(n.originalText.slice(J(i),H(i))):r.push(o()),e.isLast)return;let{next:p}=e;p.type==="css-comment"&&!Xr(n.originalText,J(p),{backwards:!0})&&!vt(i)||p.type==="css-atrule"&&p.name==="else"&&i.type!=="css-comment"?r.push(" "):(r.push(n.__isHTMLStyleAttribute?U:D),es(n.originalText,H(i))&&!vt(i)&&r.push(D))},"nodes"),r}var Pe=Ii;function ji(e,n,o){let{node:r}=e;switch(r.type){case"css-root":{let i=Pe(e,n,o),c=r.raws.after.trim();return c.startsWith(";")&&(c=c.slice(1).trim()),[r.frontMatter?[o("frontMatter"),D,r.nodes.length>0?D:""]:"",i,c?` ${c}`:"",r.nodes.length>0?D:""]}case"css-comment":{let i=r.inline||r.raws.inline,c=n.originalText.slice(J(r),H(r));return i?c.trimEnd():c}case"css-rule":return[o("selector"),r.important?" !important":"",r.nodes?[r.selector?.type==="selector-unknown"&&je(r.selector.value)?U:r.selector?" ":"","{",r.nodes.length>0?V([D,Pe(e,n,o)]):"",D,"}",Jo(r)?";":""]:";"];case"css-decl":{let i=e.parent,{between:c}=r.raws,p=c.trim(),m=p===":",f=c.endsWith(" ")&&m,d=typeof r.value=="string"&&/^ *$/.test(r.value),t=typeof r.value=="string"?r.value:o("value");return t=ri(r)?En(t):t,!m&&je(p)&&!e.call(()=>ts(e),"value","group","group")&&(t=V([D,We(t)])),[F(0,r.raws.before,/[\s;]/g,""),i.type==="css-atrule"&&i.variable||Do(e)?r.prop:Ie(r.prop),p.startsWith("//")?" ":"",p,r.extend||d||!f&&r.isNested&&(Oe(r.value.group.group)||Oe(r.value.group.group.groups?.[0]))?"":" ",n.parser==="less"&&r.extend&&r.selector?r.selector.nodes.length>1?Y(["extend(",V([G,o("selector")]),G,")"]):["extend(",o("selector"),")"]:"",t,r.raws.important?r.raws.important.replace(/\s*!\s*important/i," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/i," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/i," !global"):r.scssGlobal?" !global":"",r.nodes?[" {",r.nodes.length>0?V([G,Pe(e,n,o)]):"",G,"}"]:ei(r)&&!i.raws.semicolon&&n.originalText[H(r)-1]!==";"?"":n.__isHTMLStyleAttribute&&e.isLast?_r(";"):";"]}case"css-atrule":{let i=e.parent,c=ft(r)&&!i.raws.semicolon&&n.originalText[H(r)-1]!==";";if(n.parser==="less"){if(r.mixin)return[o("selector"),r.important?" !important":"",c?"":";"];if(r.function)return[r.name,typeof r.params=="string"?r.params:o("params"),c?"":";"];if(r.variable)return["@",r.name,": ",r.value?[o("value"),Ar]:"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?["{",r.nodes.length>0?V([G,Pe(e,n,o)]):"",G,"}"]:"",c?"":";"]}let p=r.name==="import"&&r.params?.type==="value-unknown"&&r.params.value.endsWith(";");return["@",Ht(r)||r.name.endsWith(":")||ft(r)?r.name:Ie(r.name),r.params?[Ht(r)?"":ft(r)?r.raws.afterName===""?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(r.raws.afterName)?[D,D]:/^\s*\n/.test(r.raws.afterName)?D:" ":" ",typeof r.params=="string"?r.params:o("params")]:"",r.selector?V([" ",o("selector")]):"",r.value?Y([" ",o("value"),wt(r,n)?si(r)?" ":U:""]):r.name==="else"?" ":"",r.nodes?[wt(r,n)?"":r.selector&&!r.selector.nodes&&typeof r.selector.value=="string"&&je(r.selector.value)||!r.selector&&typeof r.params=="string"&&je(r.params)?U:" ","{",r.nodes.length>0?V([G,Pe(e,n,o)]):"",G,"}"]:c||p?"":";"]}case"media-query-list":{let i=[];return e.each(({node:c})=>{c.type==="media-query"&&c.value===""||i.push(o())},"nodes"),Y(V(ie(U,i)))}case"media-query":return[ie(" ",e.map(o,"nodes")),e.isLast?"":","];case"media-type":return be(ee(r.value,n));case"media-feature-expression":return r.nodes?["(",...e.map(o,"nodes"),")"]:r.value;case"media-feature":return Ie(ee(F(0,r.value,/ +/g," "),n));case"media-colon":return[r.value," "];case"media-value":return be(ee(r.value,n));case"media-keyword":return ee(r.value,n);case"media-url":return ee(F(0,F(0,r.value,/^url\(\s+/gi,"url("),/\s+\)$/g,")"),n);case"media-unknown":return r.value;case"selector-root":return Y([Re(e,"custom-selector")?[e.findAncestor(i=>i.type==="css-atrule").customSelector,U]:"",ie([",",Re(e,["extend","custom-selector","nest"])?U:D],e.map(o,"nodes"))]);case"selector-selector":{let i=r.nodes.length>2;return Y((i?V:c=>c)(e.map(o,"nodes")))}case"selector-comment":return r.value;case"selector-string":return ee(r.value,n);case"selector-tag":return[r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",e.previous?.type==="selector-nesting"?r.value:be(Fo(e,r.value)?r.value.toLowerCase():r.value)];case"selector-id":return["#",r.value];case"selector-class":return[".",be(ee(r.value,n))];case"selector-attribute":return["[",r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",r.attribute.trim(),r.operator??"",r.value?In(yi(ee(r.value.trim(),n),n),Sr):"",r.insensitive?" i":"","]"];case"selector-combinator":{if(r.value==="+"||r.value===">"||r.value==="~"||r.value===">>>"){let p=e.parent;return[p.type==="selector-selector"&&p.nodes[0]===r?"":U,r.value,e.isLast?"":" "]}let i=r.value.trimStart().startsWith("(")?U:"",c=be(ee(r.value.trim(),n))||U;return[i,c]}case"selector-universal":return[r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",r.value];case"selector-pseudo":return[Ie(r.value),at(r.nodes)?Y(["(",V([G,ie([",",U],e.map(o,"nodes"))]),G,")"]):""];case"selector-nesting":return r.value;case"selector-unknown":{if(e.findAncestor(p=>p.type==="css-rule")?.isScssNestedProperty)return be(ee(Ie(r.value),n));let i=e.parent;if(i.raws?.selector){let p=J(i),m=p+i.raws.selector.length;return n.originalText.slice(p,m).trim()}let c=e.grandparent;if(i.type==="value-paren_group"&&c?.type==="value-func"&&c.value==="selector"){let p=H(i.open)+1,m=J(i.close),f=n.originalText.slice(p,m).trim();return je(f)?[it,f]:f}return r.value}case"value-value":case"value-root":return o("group");case"value-comment":{let i=n.originalText.slice(J(r),H(r));return r.inline?Cr(i.trimEnd()):i}case"value-comma_group":return li(e,n,o);case"value-paren_group":return Ci(e,n,o);case"value-func":return[r.value,Re(e,"supports")&&oi(r)?" ":"",o("group")];case"value-paren":return r.value;case"value-number":return[Kr(r.value),Qr(r.unit)];case"value-operator":return r.value;case"value-word":return r.isColor&&r.isHex||Bo(r.value)?r.value.toLowerCase():r.value;case"value-colon":{let{previous:i}=e;return Y([r.value,typeof i?.value=="string"&&i.value.endsWith("\\")||Ne(e,"url")?"":U])}case"value-string":return jr(r.raws.quote+r.value+r.raws.quote,n);case"value-atword":return["@",r.value];case"value-unicode-range":return r.value;case"value-unknown":return r.value;default:throw new Un(r,"PostCSS")}}var Pi={features:{experimental_frontMatterSupport:{massageAstNode:!0,embed:!0,print:!0}},print:ji,embed:Vn,insertPragma:Wo,massageAstNode:Ur,getVisitorKeys:Zn},Ni=Pi,Mi=[{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}],$i={singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."}},Ri={singleQuote:$i.singleQuote},Wi=Ri,rs={};Xt(rs,{css:()=>ma,less:()=>ya,scss:()=>va});var Li=Te(tt()),zi=Te(Ss()),qi=Te(Ns());function Bi(e,n){let o=new SyntaxError(e+" ("+n.loc.start.line+":"+n.loc.start.column+")");return Object.assign(o,n)}var Fi=Bi;function Di(e){return e!==null&&typeof e=="object"}var lt=Di,Ui=Te($s());function Fe(e,n,o){if(lt(e)){delete e.parent;for(let r in e)Fe(e[r],n,o),r==="type"&&typeof e[r]=="string"&&!e[r].startsWith(n)&&(!o||!o.test(e[r]))&&(e[r]=n+e[r])}return e}function ss(e){if(lt(e)){delete e.parent;for(let n in e)ss(e[n]);!Array.isArray(e)&&e.value&&!e.type&&(e.type="unknown")}return e}var Vi=Ui.default.default;function Gi(e){let n;try{n=Vi(e)}catch{return{type:"selector-unknown",value:e}}return Fe(ss(n),"media-")}var Ji=Gi,Hi=Te(Ks());function Qi(e){if(/\/[/*]/.test(F(0,e,/"[^"]+"|'[^']+'/g,"")))return{type:"selector-unknown",value:e.trim()};let n;try{new Hi.default(o=>{n=o}).process(e)}catch{return{type:"selector-unknown",value:e}}return Fe(n,"selector-")}var fe=Qi,Yi=Te(mn()),Ki=e=>{for(;e.parent;)e=e.parent;return e},ns=Ki;function Zi(e){return ns(e).text.slice(e.group.open.sourceIndex+1,e.group.close.sourceIndex).trim()}var Xi=Zi;function ea(e){if(at(e)){for(let n=e.length-1;n>0;n--)if(e[n].type==="word"&&e[n].value==="{"&&e[n-1].type==="word"&&e[n-1].value.endsWith("#"))return!0}return!1}var ta=ea;function ra(e){return e.some(n=>n.type==="string"||n.type==="func"&&!n.value.endsWith("\\"))}var sa=ra;function na(e,n){return!!(n.parser==="scss"&&e?.type==="word"&&e.value.startsWith("$"))}var oa=na,Zt=e=>e.type==="paren"&&e.value===")";function ia(e,n){let{nodes:o}=e,r={open:null,close:null,groups:[],type:"paren_group"},i=[r],c=r,p={groups:[],type:"comma_group"},m=[p];for(let f=0;f<o.length;++f){let d=o[f];if(n.parser==="scss"&&d.type==="number"&&d.unit===".."&&d.value.endsWith(".")&&(d.value=d.value.slice(0,-1),d.unit="..."),d.type==="func"&&d.value==="selector"){let t=ns(e).text.slice(d.group.open.sourceIndex+1,d.group.close.sourceIndex),s=fe(t);s.sourceIndex=d.group.open.sourceIndex+1,s.raws??(s.raws={}),s.raws.selector=t,d.group.groups=[s]}if(d.type==="func"&&d.value==="url"){let t=d.group?.groups??[],s=[];for(let a=0;a<t.length;a++){let l=t[a];l.type==="comma_group"?s=[...s,...l.groups]:s.push(l)}(ta(s)||!sa(s)&&!oa(s[0],n))&&(d.group.groups=[Xi(d)])}if(d.type==="paren"&&d.value==="(")r={open:d,close:null,groups:[],type:"paren_group"},i.push(r),p={groups:[],type:"comma_group"},m.push(p);else if(Zt(d)){if(p.groups.length>0&&r.groups.push(p),r.close=d,m.length===1)throw new Error("Unbalanced parenthesis");m.pop(),p=he(0,m,-1),p.groups.push(r),i.pop(),r=he(0,i,-1)}else if(d.type==="comma"){if(f===o.length-3&&o[f+1].type==="comment"&&Zt(o[f+2]))continue;r.groups.push(p),p={groups:[],type:"comma_group"},m[m.length-1]=p}else p.groups.push(d)}return p.groups.length>0&&r.groups.push(p),c}function kt(e){return e.type==="paren_group"&&!e.open&&!e.close&&e.groups.length===1||e.type==="comma_group"&&e.groups.length===1?kt(e.groups[0]):e.type==="paren_group"||e.type==="comma_group"?{...e,groups:e.groups.map(kt)}:e}function os(e,n){if(lt(e))for(let o in e)o!=="parent"&&(os(e[o],n),o==="nodes"&&(e.type==="atword"&&e.nodes.length===0||(e.group=kt(ia(e,n))),delete e[o]));return e}function aa(e,n){if(n.parser==="less"&&e.startsWith("~`"))return{type:"value-unknown",value:e};let o;try{o=new Yi.default(e,{loose:!0}).parse()}catch{return{type:"value-unknown",value:e}}o.text=e;let r=os(o,n);return Fe(r,"value-",/^selector-/)}var pe=aa,ua=new Set(["import","use","forward"]);function la(e){return ua.has(e)}var ca=la;function pa(e,n){return n.parser!=="scss"||!e.selector?!1:e.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trimEnd().endsWith(":")}var fa=pa,ha=/(\s*)(!default).*$/,da=/(\s*)(!global).*$/;function is(e,n){if(lt(e)){delete e.parent;for(let c in e)is(e[c],n);if(!e.type)return e;if(e.raws??(e.raws={}),e.type==="css-decl"&&typeof e.prop=="string"&&e.prop.startsWith("--")&&typeof e.value=="string"&&e.value.startsWith("{")){let c;if(e.value.trimEnd().endsWith("}")){let p=n.originalText.slice(0,e.source.start.offset),m="a".repeat(e.prop.length)+n.originalText.slice(e.source.start.offset+e.prop.length,e.source.end.offset),f=Dr(p)+m,d;n.parser==="scss"?d=ls:n.parser==="less"?d=us:d=as;let t;try{t=d(f,{...n})}catch{}t?.nodes?.length===1&&t.nodes[0].type==="css-rule"&&(c=t.nodes[0].nodes)}return c?e.value={type:"css-rule",nodes:c}:e.value={type:"value-unknown",value:e.raws.value.raw},e}let o="";typeof e.selector=="string"&&(o=e.raws.selector?e.raws.selector.scss??e.raws.selector.raw:e.selector,e.raws.between&&e.raws.between.trim().length>0&&(o+=e.raws.between),e.raws.selector=o);let r="";typeof e.value=="string"&&(r=e.raws.value?e.raws.value.scss??e.raws.value.raw:e.value,e.raws.value=r.trim());let i="";if(typeof e.params=="string"&&(i=e.raws.params?e.raws.params.scss??e.raws.params.raw:e.params,e.raws.afterName&&e.raws.afterName.trim().length>0&&(i=e.raws.afterName+i),e.raws.between&&e.raws.between.trim().length>0&&(i+=e.raws.between),i=i.trim(),e.raws.params=i),o.trim().length>0)return o.startsWith("@")&&o.endsWith(":")?e:e.mixin?(e.selector=pe(o,n),e):(fa(e,n)&&(e.isScssNestedProperty=!0),e.selector=fe(o),e);if(r.trim().length>0){let c=r.match(ha);c&&(r=r.slice(0,c.index),e.scssDefault=!0,c[0].trim()!=="!default"&&(e.raws.scssDefault=c[0]));let p=r.match(da);if(p&&(r=r.slice(0,p.index),e.scssGlobal=!0,p[0].trim()!=="!global"&&(e.raws.scssGlobal=p[0])),r.startsWith("progid:"))return{type:"value-unknown",value:r};e.value=pe(r,n)}if(n.parser==="less"&&e.type==="css-decl"&&typeof e.prop=="string"&&/^\s*\+\s*:/.test(e.raws.between)&&(e.prop+="+",e.raws.between=e.raws.between.replace("+","")),n.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"){if(n.parser==="less"){if(e.mixin){let c=e.raws.identifier+e.name+e.raws.afterName+e.raws.params;return e.selector=fe(c),delete e.params,e}if(e.function)return e}if(n.parser==="css"&&e.name==="custom-selector"){let c=e.params.match(/:--\S+\s+/)[0].trim();return e.customSelector=c,e.selector=fe(e.params.slice(c.length).trim()),delete e.params,e}if(n.parser==="less"){if(e.name.includes(":")){e.variable=!0;let c=e.name.split(":");e.name=c[0];let p=c.slice(1).join(":");e.params&&(p+=e.params),e.value=pe(p,n)}if(!["page","nest","keyframes"].includes(e.name)&&e.params?.[0]===":"){e.variable=!0;let c=e.params.slice(1);c&&(e.value=pe(c,n)),e.raws.afterName+=":"}if(e.variable)return delete e.params,e.value||delete e.value,e}}if(e.type==="css-atrule"&&i.length>0){let{name:c}=e;if(c==="warn"||c==="error")return e.params={type:"media-unknown",value:i},e;if(c==="extend"||c==="nest")return e.selector=fe(i),delete e.params,e;if(c==="at-root")return/^\(\s*(?:without|with)\s*:.+\)$/s.test(i)?e.params=pe(i,n):(e.selector=fe(i),delete e.params),e;let p=c.toLowerCase();return ca(p)?(e.import=!0,delete e.filename,e.params=pe(i,n),e):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(c)?(i=i.replace(/(\$\S+?)(\s+)?\.{3}/,"$1...$2"),i=i.replace(/^(?!if)([^"'\s(]+)(\s+)\(/,"$1($2"),e.value=pe(i,n),delete e.params,e):["media","custom-media"].includes(p)?i.includes("#{")?{type:"media-unknown",value:i}:(e.params=Ji(i),e):(e.params=i,e)}}return e}function Ft(e,n,o){let{frontMatter:r,content:i}=ut(n),c;try{c=e(i,{map:!1})}catch(p){let{name:m,reason:f,line:d,column:t}=p;throw typeof d!="number"?p:Fi(`${m}: ${f}`,{loc:{start:{line:d,column:t}},cause:p})}return o.originalText=n,c=is(Fe(c,"css-"),o),to(c,n),r&&(c.frontMatter={...r,type:"front-matter",source:{startOffset:r.start.index,endOffset:r.end.index}}),c}function as(e,n={}){return Ft(Li.default.default,e,n)}function us(e,n={}){return Ft(o=>zi.default.parse(uo(o)),e,n)}function ls(e,n={}){return Ft(qi.default,e,n)}var Dt={astFormat:"postcss",hasPragma:$o,hasIgnorePragma:Ro,locStart:J,locEnd:H},ma={...Dt,parse:as},ya={...Dt,parse:us},va={...Dt,parse:ls},ga={postcss:Ni};export{yn as default,Mi as languages,Wi as options,rs as parsers,ga as printers};
63
+ //# sourceMappingURL=postcss-BGfBeQpW.js.map