@noxsoft/anima 5.1.2 → 6.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (489) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/README.md +2 -2
  3. package/dist/{APEv2Parser-DV7AH14P.js → APEv2Parser-Dvsbp_2R.js} +3 -3
  4. package/dist/{AbstractID3Parser-C3RlCr-Y.js → AbstractID3Parser-IB9gxozg.js} +5 -5
  5. package/dist/{AiffParser-DaFyNU8n.js → AiffParser-R2IhrBzL.js} +4 -4
  6. package/dist/{AsfParser-CDCRfCXr.js → AsfParser-DJEueUMg.js} +4 -4
  7. package/dist/{DsdiffParser-BX31LICZ.js → DsdiffParser-DXLYn9tT.js} +4 -4
  8. package/dist/{DsfParser-C3JBjE-C.js → DsfParser-D2--NF0i.js} +5 -5
  9. package/dist/{FlacParser-DY4m-7v1.js → FlacParser-8cDAjrth.js} +5 -5
  10. package/dist/{ID3v1Parser-DL9AGlNt.js → ID3v1Parser-B494XuP9.js} +3 -3
  11. package/dist/{ID3v2Parser-Mr8o-5GJ.js → ID3v2Parser-DlxcNqv5.js} +4 -4
  12. package/dist/{ID3v2Token-DQqGh8AB.js → ID3v2Token-CSLSVrSQ.js} +2 -2
  13. package/dist/{MP4Parser-DkunlEqI.js → MP4Parser-COql2J-w.js} +6 -6
  14. package/dist/{MatroskaParser-IKjHx0h7.js → MatroskaParser-bNP5wC2F.js} +3 -3
  15. package/dist/{MpegParser-EecSeRWJ.js → MpegParser-C1gjfYqq.js} +4 -4
  16. package/dist/{MusepackParser-CkfsAeuE.js → MusepackParser-DBdYf7kV.js} +5 -5
  17. package/dist/{OggParser-z3QlSd8U.js → OggParser-CxajqbK3.js} +5 -5
  18. package/dist/{Util-DDVY6AaC.js → Util-BRZxoY1Q.js} +1 -1
  19. package/dist/{WavPackParser-PimUUBRx.js → WavPackParser-CtH9QFia.js} +4 -4
  20. package/dist/{WaveParser-B539YtoQ.js → WaveParser-yufLki1G.js} +5 -5
  21. package/dist/{accounts-CL0JV_xk.js → accounts-B_2nt5Cd.js} +2 -2
  22. package/dist/{accounts-CYEa4ttU.js → accounts-COxGcLGB.js} +1 -1
  23. package/dist/{accounts-Bj5MvaDs.js → accounts-DIES085e.js} +11 -11
  24. package/dist/{accounts-DZsqyow2.js → accounts-TUsfghIW.js} +38 -38
  25. package/dist/{acp-cli-ynoZZhYQ.js → acp-cli-CWgqDQQH.js} +6 -6
  26. package/dist/{acp-cli-BFAoKBvs.js → acp-cli-D0wfP8-l.js} +16 -16
  27. package/dist/{active-listener-BWPgtTZp.js → active-listener-BKtsWhsb.js} +4 -4
  28. package/dist/{active-listener-GJR3nLhX.js → active-listener-D2r8IO7g.js} +5 -5
  29. package/dist/{agent-DUAarfNl.js → agent-CnS0SRpT.js} +93 -236
  30. package/dist/{agent-CaaEZsXl.js → agent-VRQM14Xp.js} +98 -229
  31. package/dist/{agent-scope-C9CiVcmh.js → agent-scope-ByIGrCTT.js} +2 -2
  32. package/dist/{agent-scope-D3HZp64M.js → agent-scope-CXxC8FFX.js} +2 -2
  33. package/dist/{agent-scope-BZ8hjIt_.js → agent-scope-CxBzAozu.js} +3 -3
  34. package/dist/{agents-t54YcbvK.js → agents-CvMRplDx.js} +15 -13
  35. package/dist/{agents.config-J7iEgdW_.js → agents.config-BR5JLtud.js} +1 -1
  36. package/dist/{anthropic-direct-runner-B12V2Q5H.js → anthropic-direct-runner-BeYCnvZ8.js} +37 -15
  37. package/dist/{anthropic-direct-runner-CzQb7QkD.js → anthropic-direct-runner-C2Kwju-r.js} +29 -7
  38. package/dist/{audit-ByHmjh-G.js → audit-B05W5ckN.js} +23 -34
  39. package/dist/{audit-HJOpXfgY.js → audit-DDz7UOIx.js} +18 -15
  40. package/dist/{auth-DXrALxdm.js → auth-DsC5pZ_0.js} +2 -2
  41. package/dist/{prompts-CneQ6SeF.js → auth-choice-DY1saszS.js} +12 -107
  42. package/dist/{auth-choice-DPWnLV_w.js → auth-choice-Dc5TAJwT.js} +10 -9
  43. package/dist/{auth-health-DmrnGklu.js → auth-health-Cc8-vy8y.js} +1 -1
  44. package/dist/auth-health-Dhr8p2SD.js +149 -0
  45. package/dist/{auth-profiles-BF5x9Ej0.js → auth-profiles-Brxz2ojJ.js} +193 -42
  46. package/dist/{auth-profiles-DjCH4kWT.js → auth-profiles-C-LuhW6c.js} +195 -44
  47. package/dist/{auth-profiles-PJVsRqf4.js → auth-profiles-DKu7ZUzl.js} +189 -29
  48. package/dist/{auth-profiles-eZzmaeR3.js → auth-profiles-DtWUl1-k.js} +198 -38
  49. package/dist/{auth-store-CnRrUELz.js → auth-store-Bd0GoqEL.js} +13 -13
  50. package/dist/{auth-store-KnWGteIV.js → auth-store-BpYI9t_y.js} +3 -3
  51. package/dist/{auth-store-DjcQlyze.js → auth-store-Jvgz2_l1.js} +2 -2
  52. package/dist/{banner-D9JyV5SF.js → banner-DAMtSjUF.js} +1 -1
  53. package/dist/{bonjour-discovery-QsoaZ8Pr.js → bonjour-discovery-Co-b97Dz.js} +2 -2
  54. package/dist/build-info.json +3 -3
  55. package/dist/bundled/boot-md/handler.js +222 -151
  56. package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
  57. package/dist/bundled/command-logger/handler.js +1 -1
  58. package/dist/bundled/session-memory/handler.js +24 -24
  59. package/dist/{call-DHZ76BNg.js → call-B4lhqS6H.js} +3 -3
  60. package/dist/{call-DQjoz63V.js → call-CDPbPDAr.js} +4 -4
  61. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  62. package/dist/canvas-host/a2ui/a2ui.bundle.js +18967 -16484
  63. package/dist/{catalog-AZNRamJ4.js → catalog-CsXv59Tq.js} +2 -2
  64. package/dist/{channel-web-CQIbtfme.js → channel-web-B8mzTSaY.js} +15 -15
  65. package/dist/{channels-status-issues-DdjvFHx9.js → channels-status-issues-WkG3Tmxk.js} +4 -4
  66. package/dist/{chrome-HTuFjVWW.js → chrome-B8EnYGj1.js} +9 -9
  67. package/dist/{chrome-BNggURXT.js → chrome-BaU-H9m7.js} +3 -3
  68. package/dist/{chrome-Cfak4A3i.js → chrome-DLUBPBPz.js} +12 -12
  69. package/dist/{chunk-CyT-_QsQ.js → chunk-B4Kx-ocg.js} +11 -9
  70. package/dist/{chunk-Dffz_QIs.js → chunk-CFSle8n5.js} +1 -1
  71. package/dist/{chunk-D3vyM2EQ.js → chunk-Cy0Bj0F3.js} +1 -1
  72. package/dist/{chunk-DFqo_u5A.js → chunk-DJXDX69U.js} +11 -9
  73. package/dist/{clack-prompter-QbDK4ABC.js → clack-prompter-0JW5kry0.js} +3 -3
  74. package/dist/{clack-prompter-rXuqdPbx.js → clack-prompter-fZSmnHda.js} +5 -5
  75. package/dist/cli/daemon-cli.js +1 -1
  76. package/dist/{cli-kT9Mb3dT.js → cli-D8exVpuI.js} +30 -29
  77. package/dist/cli-hcHk5KuP.js +102 -0
  78. package/dist/{cli-utils-BdkJVXjy.js → cli-utils-D2X_bDLt.js} +9 -1
  79. package/dist/{cli-utils-DGnL8raH.js → cli-utils-DcDBK4C5.js} +9 -1
  80. package/dist/{client-D9E5Wwb_.js → client-BWkoTfOH.js} +3 -2
  81. package/dist/{client-DzIcZx4J.js → client-CfLiulzK.js} +2 -1
  82. package/dist/{command-registry-vEVxxxzI.js → command-registry-D3VhxpWx.js} +21 -12
  83. package/dist/{commands-NIY0IDXe.js → commands-DE8FNH0v.js} +92 -20
  84. package/dist/{commands-eY0Ao0wt.js → commands-Mekaw9WG.js} +92 -20
  85. package/dist/{common-C2wAYEWA.js → common-BCW6hLGI.js} +2 -2
  86. package/dist/{common-BzPvZcxT.js → common-Bf_TG87Y.js} +2 -2
  87. package/dist/{common-6Fcbzr42.js → common-DT_obM-k.js} +2 -2
  88. package/dist/{completion-cli-BBKG6buM.js → completion-cli-B3BqQJq9.js} +3 -3
  89. package/dist/{completion-cli-C84I5l8a.js → completion-cli-CepDzeW1.js} +2 -2
  90. package/dist/{config-Ofh9gKvs.js → config-BrVuTQ8R.js} +14 -2
  91. package/dist/{config-6FVC8hW0.js → config-CweTwOtr.js} +40 -28
  92. package/dist/{config-DqwH4y-D.js → config-DaD4FsAn.js} +19 -7
  93. package/dist/{config-D2kCn7yR.js → config-ZYN8tezd.js} +18 -6
  94. package/dist/{config-cli-CQzq5yWB.js → config-cli-3CaIxSKo.js} +4 -4
  95. package/dist/config-cli-B6Np85rk.js +15 -0
  96. package/dist/{config-guard-B1plY6aQ.js → config-guard-C4b2dksv.js} +2 -2
  97. package/dist/{config-guard-CYlpjNN7.js → config-guard-CWhoBtB3.js} +20 -20
  98. package/dist/{config-sync-CYX9Tzyr.js → config-sync-CCVp-tVX.js} +2 -2
  99. package/dist/{config-sync-CDUhjDom.js → config-sync-CMO_5lyl.js} +2 -2
  100. package/dist/{configure-G6h2Ppk0.js → configure-D882Bg7c.js} +39 -15
  101. package/dist/{configure-Bv6mqD0j.js → configure-D88dg6mE.js} +79 -77
  102. package/dist/{configure-DxQqSUJs.js → configure-xpjwedvJ.js} +50 -49
  103. package/dist/{configure-B-dfdPKX.js → configure-zXK6UZ51.js} +49 -24
  104. package/dist/{context-CpsnZLOp.js → context-B5X720Bs.js} +1 -1
  105. package/dist/{control-service-D1oxSXVg.js → control-service-3CI4vt1h.js} +2 -2
  106. package/dist/{control-service-CzAfyR4e.js → control-service-5YtMvm7D.js} +5 -5
  107. package/dist/control-ui/assets/index-Bwcvc7fq.css +1 -0
  108. package/dist/control-ui/assets/index-CBUvF5Mp.js +72 -0
  109. package/dist/control-ui/assets/index-CBUvF5Mp.js.map +1 -0
  110. package/dist/control-ui/assets/index-D7Bf6Say.js +3 -0
  111. package/dist/control-ui/assets/index-D7Bf6Say.js.map +1 -0
  112. package/dist/control-ui/assets/index-DVpMpG5G.js +2 -0
  113. package/dist/control-ui/assets/index-DVpMpG5G.js.map +1 -0
  114. package/dist/control-ui/assets/observers-CxfWf9RO.js +2 -0
  115. package/dist/control-ui/assets/observers-CxfWf9RO.js.map +1 -0
  116. package/dist/control-ui/assets/rrweb-plugin-console-record-sPdhR0i8.js +138 -0
  117. package/dist/control-ui/assets/rrweb-plugin-console-record-sPdhR0i8.js.map +1 -0
  118. package/dist/control-ui/assets/rrweb-record-CMVXB7aO.js +129 -0
  119. package/dist/control-ui/assets/rrweb-record-CMVXB7aO.js.map +1 -0
  120. package/dist/control-ui/index.html +2 -2
  121. package/dist/{cron-cli-C4qZZo4e.js → cron-cli-Cht6Itx6.js} +18 -18
  122. package/dist/{cron-cli-CSivg2i9.js → cron-cli-D9XrF-Gx.js} +8 -8
  123. package/dist/{daemon-cli-DfxT-pQ4.js → daemon-cli-9zrnYRjh.js} +8 -8
  124. package/dist/{daemon-cli-KMzjJH_D.js → daemon-cli-CrdPhSxr.js} +15 -15
  125. package/dist/daemon-cli.js +34 -6
  126. package/dist/{daemon-runtime-CIE27usH.js → daemon-runtime-BrUj88ZO.js} +2 -2
  127. package/dist/{daemon-runtime-BfgstLVI.js → daemon-runtime-DCqwraWR.js} +1 -1
  128. package/dist/{deliver-8r6UbXnC.js → deliver-B-dPbUIs.js} +18 -28
  129. package/dist/{deliver-ahx1N11n.js → deliver-BKzX3YoN.js} +7 -7
  130. package/dist/{deliver-DVt8TbK9.js → deliver-C1L5nO0K.js} +3 -3
  131. package/dist/{deliver-D2hQZ9X0.js → deliver-d-CaN0uL.js} +59 -69
  132. package/dist/deps-DyT32VfN.js +23 -0
  133. package/dist/{diagnostics-DXeDqA_-.js → diagnostics-Cu9pZAFn.js} +1 -1
  134. package/dist/{dispatcher-DpSnqIL0.js → dispatcher-BQQugU-7.js} +1 -1
  135. package/dist/{dispatcher-DzT6jltc.js → dispatcher-DzwzLQRk.js} +2 -2
  136. package/dist/{dns-cli-D9ka2fZD.js → dns-cli-C8KIX4P3.js} +12 -12
  137. package/dist/{dns-cli-D2Orvc8E.js → dns-cli-V2bo6vSt.js} +3 -3
  138. package/dist/{docs-cli-CKfzGqYM.js → docs-cli-Bt-YV3xs.js} +2 -2
  139. package/dist/{docs-cli-DWYXJd-j.js → docs-cli-D2cVJxjP.js} +7 -7
  140. package/dist/{doctor-vXt5qjNJ.js → doctor-DEnSKgHu.js} +21 -21
  141. package/dist/{doctor-DumyG85t.js → doctor-WpKCNZeO.js} +36 -181
  142. package/dist/{doctor-completion-lAyxyd7X.js → doctor-completion-CPff9UlF.js} +2 -2
  143. package/dist/{doctor-completion-C8JSWfqN.js → doctor-completion-CypXc1Uo.js} +2 -2
  144. package/dist/{doctor-config-flow-DA50eWp5.js → doctor-config-flow-Bgl0Cc20.js} +6 -6
  145. package/dist/{doctor-config-flow-BjfGQ1Br.js → doctor-config-flow-Dxy7RIm0.js} +4 -4
  146. package/dist/{engine-BVchKo5_.js → engine-DpbYPop7.js} +9 -9
  147. package/dist/{engine-CKqNpVwE.js → engine-zmn3SOYa.js} +10 -9
  148. package/dist/entry.js +19 -28
  149. package/dist/{env-DVJCc7dM.js → env-DlTia1B4.js} +1 -1
  150. package/dist/{exec-cazBMA02.js → exec-BylR5qWS.js} +1 -1
  151. package/dist/{exec-gKbUce2p.js → exec-C6tXfeqA.js} +1 -1
  152. package/dist/{exec-Bfd4ztFZ.js → exec-DUzVF5_D.js} +7 -7
  153. package/dist/{exec-approvals-cli-BPwW6GIK.js → exec-approvals-cli-CN2WeH7y.js} +20 -20
  154. package/dist/{exec-approvals-cli-6HndodnP.js → exec-approvals-cli-DYZVBnqS.js} +8 -8
  155. package/dist/extensionAPI.js +22 -22
  156. package/dist/format-BCAtE7cT.js +20 -0
  157. package/dist/{frontmatter-BP4GSt5L.js → frontmatter-Dsa7N963.js} +2 -2
  158. package/dist/{gateway-cli-CHhTweWb.js → gateway-cli-B_xsx5Nv.js} +104 -101
  159. package/dist/{gateway-cli-B60L2z4a.js → gateway-cli-D3VBOA_i.js} +69 -66
  160. package/dist/{gateway-rpc-CrSglZPE.js → gateway-rpc-Cj_h2sVM.js} +3 -3
  161. package/dist/{gateway-rpc-BtOX_e53.js → gateway-rpc-CnXMGsxp.js} +3 -3
  162. package/dist/{gmail-setup-utils-D2uUKNlF.js → gmail-setup-utils-DaJoXV_3.js} +3 -3
  163. package/dist/{health-BttJ1Qeh.js → health-C8KCBhuo.js} +8 -8
  164. package/dist/{health-D8fJ6U_k.js → health-CabOEPQ0.js} +13 -13
  165. package/dist/{health-format-CH6JWH45.js → health-format-D-JJ5_S4.js} +2 -2
  166. package/dist/{heartbeat-visibility-DcGQOTXe.js → heartbeat-visibility-BjYY-mKG.js} +1 -1
  167. package/dist/{heartbeat-visibility-B2MDtPTL.js → heartbeat-visibility-ZfNSbFcq.js} +1 -1
  168. package/dist/{help-format-7YidDC5Z.js → help-format-Dt-I_Mls.js} +1 -1
  169. package/dist/{hooks-cli-DRUryj5H.js → hooks-cli-Cs7GUa7G.js} +34 -33
  170. package/dist/{hooks-cli-BMZF6RF3.js → hooks-cli-DOs9WZ3K.js} +56 -55
  171. package/dist/{hooks-status-VvwKn90L.js → hooks-status-DdweuSIj.js} +4 -4
  172. package/dist/{image-ops-BUy__GHL.js → image-ops-Ct3GueyT.js} +1 -1
  173. package/dist/index.js +79 -71
  174. package/dist/{init-B8PBeUpi.js → init-CFndGgTJ.js} +1 -1
  175. package/dist/{init-DxkAVKP0.js → init-DkBwXNme.js} +1 -1
  176. package/dist/{installs-sayrGjx1.js → installs-Bi6UipiE.js} +6 -6
  177. package/dist/{installs-BcnNDR54.js → installs-a4Vz_J08.js} +3 -3
  178. package/dist/ipv4-DfMwLQ0d.js +14 -0
  179. package/dist/{lib-D4dE4_XZ.js → lib-6xd5SQjU.js} +20 -20
  180. package/dist/{lifecycle-core-BerWWP7p.js → lifecycle-core-B8PI1NZJ.js} +3 -3
  181. package/dist/{links-OhvsEkVw.js → links-DcilUrqq.js} +1 -1
  182. package/dist/llm-slug-generator.js +25 -25
  183. package/dist/{loader-CLNb0v_s.js → loader-Bw2wdN4l.js} +159 -3
  184. package/dist/{loader-Bww_qb65.js → loader-C87TLS4J.js} +159 -3
  185. package/dist/{logging-DhXRGHWg.js → logging-Chc1Sj6N.js} +1 -1
  186. package/dist/{login-BovU8kno.js → login-BHnvW9HA.js} +6 -6
  187. package/dist/{login-BPtmlRRv.js → login-BTOKtSQN.js} +5 -5
  188. package/dist/{login-C54B66KM.js → login-CrMpAZ0n.js} +4 -4
  189. package/dist/{login-C4mptULi.js → login-DKkQ3Czu.js} +5 -5
  190. package/dist/{login-qr-bim3Nkyu.js → login-qr-BGbHImRb.js} +8 -8
  191. package/dist/{login-qr-pFbvowe5.js → login-qr-CsAVGp00.js} +12 -12
  192. package/dist/{login-qr-657mh7cI.js → login-qr-DILcBA_q.js} +6 -6
  193. package/dist/{login-qr-BxNKHxcf.js → login-qr-OUAGpDsU.js} +10 -10
  194. package/dist/{logs-cli-CQStwrGd.js → logs-cli-Bc6IOyHA.js} +8 -8
  195. package/dist/{logs-cli-De79vyiP.js → logs-cli-BiAJbjnq.js} +15 -15
  196. package/dist/{manager-B043uMPT.js → manager-BYu34CX3.js} +12 -12
  197. package/dist/{manager-Cvmm95Pf.js → manager-C6L_DH0O.js} +2 -2
  198. package/dist/{manager-BtrVJ8Ve.js → manager-D8VCuzru.js} +9 -9
  199. package/dist/{manager-A3pC-CW-.js → manager-b_aZwo00.js} +16 -16
  200. package/dist/{manifest-registry-D-DOtLzo.js → manifest-registry-qF960vMH.js} +1 -1
  201. package/dist/{memory-cli-COl5xoIl.js → memory-cli-B0kKl-9T.js} +7 -7
  202. package/dist/{memory-cli-691NgCXx.js → memory-cli-DLtBA6r5.js} +11 -11
  203. package/dist/{message-channel-DZYYDt1_.js → message-channel-CMsexA3K.js} +9 -7
  204. package/dist/{message-channel-DdOBO6Qm.js → message-channel-DIHHKJhk.js} +8 -6
  205. package/dist/{migrate-DkBWjPPs.js → migrate-DuohB_ur.js} +3 -3
  206. package/dist/{migrate-BLjwxe9X.js → migrate-bgeTT_GR.js} +3 -3
  207. package/dist/{model-auth-DKhjNVHc.js → model-auth-CHB3EySM.js} +10 -5
  208. package/dist/{model-auth-CxAB4iZ0.js → model-auth-KpsOXKDc.js} +3 -3
  209. package/dist/model-param-b-C1QDqzQp.js +16 -0
  210. package/dist/{model-selection-BPkpXepz.js → model-selection-CLcoOT3e.js} +25 -7
  211. package/dist/{model-selection-wCaVeFbb.js → model-selection-CY6r_3wt.js} +25 -7
  212. package/dist/{model-selection-DFbDH9o2.js → model-selection-DcO3qJOu.js} +24 -6
  213. package/dist/{model-selection-BI8CKPwQ.js → model-selection-DjsJGv1R.js} +67 -8
  214. package/dist/models-BM2_NkMu.js +2707 -0
  215. package/dist/models-cli-BjY8wA-C.js +272 -0
  216. package/dist/models-cli-BpjeKsUz.js +2946 -0
  217. package/dist/{node-cli-Ajhng-5p.js → node-cli-BmuVEJ1C.js} +12 -12
  218. package/dist/{node-cli-t3N6HE9R.js → node-cli-DU_oREff.js} +27 -27
  219. package/dist/{node-service-4B-0AjmA.js → node-service-qZXF7T7A.js} +1 -1
  220. package/dist/{note-De2zPKl3.js → note-iMYVGjpA.js} +2 -2
  221. package/dist/noxsoft-bootstrap-C4dSx7K_.js +77 -0
  222. package/dist/noxsoft-bootstrap-CrlkSFzd.js +77 -0
  223. package/dist/{npm-registry-spec-CFp4OEe4.js → npm-registry-spec-Br4B4I_3.js} +2 -2
  224. package/dist/{npm-registry-spec-DVDcgWxm.js → npm-registry-spec-jf7Mowdn.js} +1 -1
  225. package/dist/{onboard-xSPFmM29.js → onboard-DM9gULJN.js} +24 -19
  226. package/dist/{onboard-i4CJtSb9.js → onboard-_-D81kAy.js} +19 -15
  227. package/dist/{onboard-channels-RsbA6EaD.js → onboard-channels-CtT-RN60.js} +8 -8
  228. package/dist/{onboard-channels-D6Gt3CsX.js → onboard-channels-UkphAdCy.js} +4 -4
  229. package/dist/{onboard-helpers-IeOtcIME.js → onboard-helpers-CFudIoX4.js} +3 -3
  230. package/dist/{onboard-helpers-DPqXrhma.js → onboard-helpers-CJ3HzoUO.js} +7 -7
  231. package/dist/{onboarding-CZBVMwFn.js → onboarding-BB9PteK8.js} +20 -17
  232. package/dist/{onboarding-Cao0a_Z1.js → onboarding-Djmm0PEM.js} +27 -23
  233. package/dist/{orchestrator-COMX8CF2.js → orchestrator-C1nWKIJS.js} +7 -3
  234. package/dist/{orchestrator-BLXpTTgr.js → orchestrator-C2ypFiPL.js} +6 -3
  235. package/dist/{outbound-DWfSyfZC.js → outbound-Bmft-5um.js} +4 -4
  236. package/dist/{outbound-Rs0fFC2g.js → outbound-C577aWZp.js} +1 -1
  237. package/dist/{outbound-DLCmFGfJ.js → outbound-DW2eod1S.js} +4 -4
  238. package/dist/{outbound-uxBpmALx.js → outbound-fPqdCDR4.js} +4 -4
  239. package/dist/outbound-send-deps-DVfWC4E8.js +14 -0
  240. package/dist/outbound-send-deps-T_FgdfgW.js +36 -0
  241. package/dist/{parse-timeout-DkOL1T_l.js → parse-timeout-C4WLf3Qy.js} +3 -3
  242. package/dist/{parse-timeout-DlU4ymhF.js → parse-timeout-D4UO8pY_.js} +1 -1
  243. package/dist/{path-env-CjpH-KWH.js → path-env-DLQPf9qj.js} +2 -2
  244. package/dist/{paths-D2eokayo.js → paths-B-AkG5FD.js} +3 -3
  245. package/dist/{paths-DQMKfv60.js → paths-CAQJvbeZ.js} +2 -2
  246. package/dist/{paths-Cwszsz1I.js → paths-Q6h5HODL.js} +2 -2
  247. package/dist/{pi-auth-json-BLdaEAx2.js → pi-auth-json-B_lKNFK6.js} +5 -5
  248. package/dist/{pi-auth-json-BH7uvkKr.js → pi-auth-json-BmdBnmlZ.js} +8 -9
  249. package/dist/{pi-auth-json-DjxzPUt3.js → pi-auth-json-DkYqdjrV.js} +2 -2
  250. package/dist/{pi-auth-json-smxh_Xud.js → pi-auth-json-WTvcP2gz.js} +9 -8
  251. package/dist/{pi-embedded-D4eEfxIU.js → pi-embedded-BMbtgOzv.js} +825 -319
  252. package/dist/{pi-embedded-DifnZvKk.js → pi-embedded-DfbM3fAT.js} +888 -382
  253. package/dist/{pi-embedded-helpers-B6wVA0hU.js → pi-embedded-helpers-BZ9GspxK.js} +1 -1
  254. package/dist/{pi-tools.policy-CDgjN_3f.js → pi-tools.policy-D2FusuQa.js} +3 -3
  255. package/dist/{pi-tools.policy-ox141hP6.js → pi-tools.policy-WdTAfqbV.js} +6 -6
  256. package/dist/{plugin-auto-enable-Mj7AnofW.js → plugin-auto-enable-CtYcdTju.js} +5 -5
  257. package/dist/{plugin-auto-enable-OqDAK-ap.js → plugin-auto-enable-DhuD30Je.js} +2 -2
  258. package/dist/{plugin-registry-CpXm8ADp.js → plugin-registry-DePMxn4z.js} +4 -4
  259. package/dist/{plugin-registry-CkZnT8Fb.js → plugin-registry-QTkplP4s.js} +2 -2
  260. package/dist/plugin-sdk/agents/cli-backends.d.ts +4 -1
  261. package/dist/plugin-sdk/agents/cli-credentials.d.ts +0 -10
  262. package/dist/plugin-sdk/agents/cli-runner.d.ts +2 -0
  263. package/dist/plugin-sdk/agents/defaults.d.ts +2 -2
  264. package/dist/plugin-sdk/agents/model-auto.d.ts +43 -0
  265. package/dist/plugin-sdk/agents/model-fallback.d.ts +5 -0
  266. package/dist/plugin-sdk/agents/model-preference.d.ts +25 -0
  267. package/dist/plugin-sdk/agents/noxsoft-runner.d.ts +94 -0
  268. package/dist/plugin-sdk/agents/pi-embedded-runner/run/params.d.ts +6 -3
  269. package/dist/plugin-sdk/agents/pi-embedded.d.ts +6 -50
  270. package/dist/plugin-sdk/agents/runner-capabilities.d.ts +2 -0
  271. package/dist/plugin-sdk/agents/sandbox/constants.d.ts +1 -1
  272. package/dist/plugin-sdk/auth/noxsoft-auth.d.ts +55 -0
  273. package/dist/plugin-sdk/channels/registry.d.ts +2 -2
  274. package/dist/plugin-sdk/cli/deps.d.ts +2 -1
  275. package/dist/plugin-sdk/cli/outbound-send-deps.d.ts +10 -0
  276. package/dist/plugin-sdk/commands/agent/types.d.ts +2 -0
  277. package/dist/plugin-sdk/config/types.agent-defaults.d.ts +14 -0
  278. package/dist/plugin-sdk/config/types.models.d.ts +1 -1
  279. package/dist/plugin-sdk/config/zod-schema.agent-defaults.d.ts +13 -0
  280. package/dist/plugin-sdk/config/zod-schema.agents.d.ts +13 -0
  281. package/dist/plugin-sdk/config/zod-schema.d.ts +13 -0
  282. package/dist/plugin-sdk/gateway/protocol/schema/agent.d.ts +1 -0
  283. package/dist/plugin-sdk/identity/loader.d.ts +1 -0
  284. package/dist/plugin-sdk/identity/trust-graph.d.ts +32 -0
  285. package/dist/plugin-sdk/index.js +57 -47
  286. package/dist/plugin-sdk/utils/message-channel.d.ts +2 -1
  287. package/dist/{plugins-DnJgmFJR.js → plugins-DYcg0qBW.js} +1 -1
  288. package/dist/{plugins-cli-CrrkMAYM.js → plugins-cli-Bc9oU1ld.js} +58 -57
  289. package/dist/{plugins-cli-D4VxQKaJ.js → plugins-cli-Dv0KQTWo.js} +36 -35
  290. package/dist/{polls-DuwPgAV7.js → polls-DFISjV7H.js} +5 -5
  291. package/dist/{ports-B1b1r9Dz.js → ports-DaVrZDUq.js} +2 -2
  292. package/dist/{ports-BX00e96t.js → ports-q535r1PZ.js} +2 -2
  293. package/dist/{program-CTDFmZNx.js → program-CuwbF8YO.js} +48 -40
  294. package/dist/{program-context-Hl6bnPfB.js → program-context-CxPfy-Wr.js} +51 -35
  295. package/dist/{progress-B-VBLfHr.js → progress-CVLvQV_t.js} +1 -1
  296. package/dist/{prompt-style-DU9Vjqe5.js → prompt-style-BI53UVgE.js} +1 -1
  297. package/dist/{prompts-D6b3zLVO.js → prompts-BmgT_kkv.js} +33 -2
  298. package/dist/prompts-Bq4QGFQM.js +158 -0
  299. package/dist/{pw-ai-BV57RRmp.js → pw-ai-CB-zeR7h.js} +5 -5
  300. package/dist/{pw-ai-CY-VcqJp.js → pw-ai-C_1-7IgH.js} +4 -4
  301. package/dist/{pw-ai-CTHtrCEC.js → pw-ai-DxNrJcCA.js} +3 -3
  302. package/dist/{qmd-manager-DJeQYS-r.js → qmd-manager-C_XBZ_bT.js} +5 -5
  303. package/dist/{qmd-manager-CwbYv6nJ.js → qmd-manager-CpNYgSrx.js} +7 -7
  304. package/dist/{qmd-manager-Cbm03z8H.js → qmd-manager-Q0OSDQ-e.js} +5 -5
  305. package/dist/{register.agent-CMoYTJqj.js → register.agent-DFQmkIEH.js} +53 -50
  306. package/dist/{register.agent-BKINbWbs.js → register.agent-DUjwGw9d.js} +77 -73
  307. package/dist/{register.anima-BHrZ90Sv.js → register.anima-CRFHJu2J.js} +21 -21
  308. package/dist/{register.anima-CnEy5VFQ.js → register.anima-CtKNrpE8.js} +21 -21
  309. package/dist/{register.configure-Cv5NkGH2.js → register.configure-CSSN07XN.js} +50 -49
  310. package/dist/register.configure-CnEKV57N.js +107 -0
  311. package/dist/register.maintenance-CU1A-90-.js +102 -0
  312. package/dist/{register.maintenance-DtAw8E_a.js → register.maintenance-fhcCB7ih.js} +48 -47
  313. package/dist/register.message-C1a0y2ZR.js +661 -0
  314. package/dist/register.message-fM0jSKB8.js +659 -0
  315. package/dist/register.onboard-B7Gavmvt.js +128 -0
  316. package/dist/{register.onboard-U3lIfaw_.js → register.onboard-BhPlqjFi.js} +50 -49
  317. package/dist/{register.setup-CLkGhR-e.js → register.setup-0jPnMgnz.js} +96 -92
  318. package/dist/{register.setup-Dyp5L_GQ.js → register.setup-CADdQUEN.js} +72 -69
  319. package/dist/{register.status-health-sessions-Dx-qZMol.js → register.status-health-sessions-Cu5fDT-z.js} +68 -67
  320. package/dist/{register.status-health-sessions-Cc2Y5gSj.js → register.status-health-sessions-DdQsABr_.js} +40 -39
  321. package/dist/{register.subclis-L55mGheS.js → register.subclis-CZ91ufCy.js} +28 -21
  322. package/dist/{reply-BgPvB-gR.js → reply-DtHlnzOx.js} +6631 -6172
  323. package/dist/{reply-prefix-37W_P4kH.js → reply-prefix-C8dIgJur.js} +1 -1
  324. package/dist/{reply-prefix-DBRqtDEq.js → reply-prefix-DmWGtcH-.js} +1 -1
  325. package/dist/{routes-ZlpnlJFF.js → routes-CWCAc8uJ.js} +2 -2
  326. package/dist/{routes-DeDgHj5Y.js → routes-FT0Us8Md.js} +6 -6
  327. package/dist/{run-DEHnKm2x.js → run-Dfz_7j7t.js} +1256 -166
  328. package/dist/{run-BFPM6M2S.js → run-DqBQ-bGn.js} +1230 -140
  329. package/dist/{run-main-Cxmjk1SF.js → run-main-DGDW0fhx.js} +51 -50
  330. package/dist/{runtime-guard-cBL2D5J8.js → runtime-guard-D14Z_QY6.js} +1 -1
  331. package/dist/{sandbox-DDOFuJU9.js → sandbox-D-N7M7lp.js} +2 -2
  332. package/dist/{sandbox-cli-GhcxR1Va.js → sandbox-cli-CQKz2I1X.js} +9 -9
  333. package/dist/{sandbox-cli-CGJvhJ4L.js → sandbox-cli-DHNFlTo-.js} +23 -23
  334. package/dist/{sandbox-B8Nza4lP.js → sandbox-pBHlfFdB.js} +6 -6
  335. package/dist/{security-cli-B7VIDDSL.js → security-cli-Bdi7MuP6.js} +14 -22
  336. package/dist/{security-cli-gsyz4Wrw.js → security-cli-C3aI09uy.js} +27 -35
  337. package/dist/{semantic-C3Z-zhNi.js → semantic-9rgWUrz3.js} +1 -1
  338. package/dist/{semantic-CG6X3rBo.js → semantic-C1UN3bb9.js} +1 -1
  339. package/dist/{semantic-DCd6zBnV.js → semantic-CQApJNO_.js} +1 -1
  340. package/dist/{server-context-Dkz4Ce8z.js → server-context-Clykq0XU.js} +1 -1
  341. package/dist/{server-context-BlJi7pjP.js → server-context-Yx4pgBqJ.js} +7 -7
  342. package/dist/{server-node-events-DBOg36in.js → server-node-events-BR1aXVlu.js} +55 -53
  343. package/dist/{server-node-events-CmZXzWcd.js → server-node-events-Ca797E1d.js} +34 -31
  344. package/dist/{service-QlHhVsQf.js → service-Dd1DfPia.js} +1 -1
  345. package/dist/{service-audit-D4xG05j8.js → service-audit-Bwpoc2LD.js} +1 -1
  346. package/dist/{service-audit-BaoBb09i.js → service-audit-KzOtcw_V.js} +3 -3
  347. package/dist/{session-BJ9XCJBg.js → session-5YO_H-Ra.js} +1 -1
  348. package/dist/{session-3MLbl1-K.js → session-BiA6jrcs.js} +1 -1
  349. package/dist/session-C7IGnhd1.js +190 -0
  350. package/dist/{session-KNXzWBht.js → session-CSmfU0D3.js} +1 -1
  351. package/dist/{session-CqKJvPTq.js → session-DLevr8Vd.js} +5 -5
  352. package/dist/session-DfsMJNG3.js +190 -0
  353. package/dist/{session-TAOVpONo.js → session-FmXsucR7.js} +2 -2
  354. package/dist/{session-cost-usage-BamtB1rn.js → session-cost-usage-BWqR-ik6.js} +1 -1
  355. package/dist/{sessions-C2th3rm6.js → sessions-BOzeFzuL.js} +12 -22
  356. package/dist/{sessions-1XK2mH6L.js → sessions-C_3wTmSA.js} +9 -19
  357. package/dist/{sessions-BrQHxX_o.js → sessions-Dj7_4mkr.js} +4 -4
  358. package/dist/{settings-cli-CCtkuc1r.js → settings-cli-DxNeu6kx.js} +79 -77
  359. package/dist/{settings-cli-Ccizggz2.js → settings-cli-Dytfop1H.js} +50 -49
  360. package/dist/{setup-token-Dqtgnjxw.js → setup-token-B802CZwe.js} +13 -18
  361. package/dist/{setup-token-Bcer2kX8.js → setup-token-DYh2QzJ-.js} +29 -34
  362. package/dist/{shared-Hnu5dChj.js → shared-C-rqLtIT.js} +2 -2
  363. package/dist/{shell-env-KRrv3dPW.js → shell-env-CMI9f7-7.js} +1 -1
  364. package/dist/{shell-env-B4ae4lFh.js → shell-env-HkVWMh--.js} +1 -1
  365. package/dist/{shell-env-PnmcBTp4.js → shell-env-iPnSIi-t.js} +1 -1
  366. package/dist/{skills-CQoUYlGu.js → skills-4v6-kw0C.js} +3 -3
  367. package/dist/{skills-cli-DQuLxQUM.js → skills-cli-BoasNTpZ.js} +15 -15
  368. package/dist/{skills-cli-CNNy0FxN.js → skills-cli-TeAq3fRG.js} +3 -3
  369. package/dist/{skills-install-2DbC1Yo2.js → skills-install-D6_qpRjW.js} +7 -7
  370. package/dist/{skills-install-CE6djAWL.js → skills-install-Qw2oU8L8.js} +2 -2
  371. package/dist/{skills-status-ybjSmiHu.js → skills-status-CvH7AUoY.js} +4 -4
  372. package/dist/{soul-Bt57OdSx.js → soul-BiIdv3Wp.js} +125 -5
  373. package/dist/{soul-DFeEGG5h.js → soul-Bt8UNmTq.js} +126 -5
  374. package/dist/{soul-CwWWw7cs.js → soul-D9k5zulC.js} +2 -2
  375. package/dist/{soul-Bru-rRjk.js → soul-DQSYs-4l.js} +1 -1
  376. package/dist/{sqlite-BTcAhNls.js → sqlite-BMMt7osH.js} +2 -2
  377. package/dist/{sqlite-ClLAW1iQ.js → sqlite-CZ1vD4VS.js} +4 -4
  378. package/dist/{sqlite-CLZ1eR5Q.js → sqlite-CpAJt-JS.js} +1 -1
  379. package/dist/{start-DfC7PlAH.js → start-BqnPia0t.js} +66 -63
  380. package/dist/start-C3fuLzX0.js +157 -0
  381. package/dist/{status-BVAoIQ0V.js → status-CHGNPonc.js} +26 -44
  382. package/dist/{status-BU6h4wUP.js → status-CxF6k_jr.js} +2 -2
  383. package/dist/{status-C9B6cEM0.js → status-DfZJJqNs.js} +15 -15
  384. package/dist/{status-BaEcHPtc.js → status-tLgozFYL.js} +4 -4
  385. package/dist/{status.update-CbIRaeaV.js → status.update-B6Tdpk07.js} +2 -2
  386. package/dist/{status.update-CPACVnCc.js → status.update-E9dSFk_b.js} +1 -1
  387. package/dist/{subagent-registry-MZIxVf8W.js → subagent-registry-CPtElVX0.js} +807 -348
  388. package/dist/{subsystem-BMsbqSb4.js → subsystem-BAADN1B8.js} +18 -27
  389. package/dist/{subsystem-CucjNlOk.js → subsystem-D-Xta-sj.js} +17 -26
  390. package/dist/{subsystem-DA3Cno1i.js → subsystem-D1AJZPgG.js} +38 -47
  391. package/dist/{system-cli-BKicxULp.js → system-cli-CP7JrhR0.js} +15 -15
  392. package/dist/{system-cli-Unb-WFAR.js → system-cli-DoLzi2Sn.js} +8 -8
  393. package/dist/{systemd-5KGZ3NHE.js → systemd-Bx76sJ3M.js} +2 -2
  394. package/dist/{systemd-linger-B-uyzDap.js → systemd-linger-BVwGXVS0.js} +2 -2
  395. package/dist/{systemd-linger-CS_pA1-a.js → systemd-linger-CxGmIy_5.js} +1 -1
  396. package/dist/{table-CdHBo5d1.js → table-Blmz7glr.js} +2 -2
  397. package/dist/{tokens-DGhK0fpG.js → tokens-SP2Q7i59.js} +1 -1
  398. package/dist/{tool-images-DK97edts.js → tool-images-2qproko3.js} +2 -2
  399. package/dist/{tool-images-Dq55i0mz.js → tool-images-C6cKHTbj.js} +2 -2
  400. package/dist/{tool-images-J0rGmoDV.js → tool-images-CgDT0Xzv.js} +2 -2
  401. package/dist/{tui-Bm8FEW0b.js → tui-C2eLfbhA.js} +5 -5
  402. package/dist/{tui-cli-BGjsxGle.js → tui-cli-BgcbCtgc.js} +12 -12
  403. package/dist/{tui-cli-TwCYv-a7.js → tui-cli-cLSYBQu9.js} +27 -27
  404. package/dist/{tui-DtGKiHUr.js → tui-r4qpJhNk.js} +10 -10
  405. package/dist/{update-Dfi92PZJ.js → update-CqKpX3cX.js} +3 -3
  406. package/dist/{update-Dle5MRUz.js → update-DA91za97.js} +1 -1
  407. package/dist/{update-cli-QMVW2eiR.js → update-cli-BuCw75tM.js} +87 -85
  408. package/dist/{update-cli-D1e-DsWy.js → update-cli-C-er5av6.js} +55 -54
  409. package/dist/{update-runner-DPmSGXS3.js → update-runner-czCqHZCu.js} +5 -5
  410. package/dist/{update-runner-iLJQF6VA.js → update-runner-kE8AMQt4.js} +1 -1
  411. package/dist/{utils-B60lF9Wq.js → utils-CLYlhJuc.js} +1 -1
  412. package/dist/{web-DJRRkHG8.js → web-BHGK5GtV.js} +24 -24
  413. package/dist/web-CyYunanU.js +65 -0
  414. package/dist/{web-DDAkSrtZ.js → web-DvTXV-fo.js} +35 -34
  415. package/dist/{web-DBQRQY6n.js → web-so3pGceM.js} +27 -27
  416. package/dist/{webhooks-cli-Cg0F2mU6.js → webhooks-cli-k3QMf7Rs.js} +4 -4
  417. package/dist/{webhooks-cli-BsWx7MgH.js → webhooks-cli-vlEfXEKm.js} +12 -12
  418. package/dist/{whatsapp-actions-gpz6-vPI.js → whatsapp-actions-6fPRKwPV.js} +11 -11
  419. package/dist/{whatsapp-actions-DJpQVKnT.js → whatsapp-actions-BJn-z76S.js} +17 -17
  420. package/dist/{whatsapp-actions-tWRWRZ4X.js → whatsapp-actions-C0tlEdLy.js} +5 -5
  421. package/dist/{whatsapp-actions-CMEP8v3k.js → whatsapp-actions-Hr-W8vjY.js} +13 -13
  422. package/dist/{widearea-dns-BDtWuGCY.js → widearea-dns-CHAT20aR.js} +1 -1
  423. package/dist/{workspace-BQkffCaR.js → workspace-BFIZCnGo.js} +5 -5
  424. package/dist/{ws-log-Bc4grA6W.js → ws-log-CUobU2tD.js} +1 -1
  425. package/package.json +1 -1
  426. package/templates/profiles/nox.profile.json5 +5 -5
  427. package/dist/cli--Gal7v4I.js +0 -101
  428. package/dist/config-cli-cyvL43DG.js +0 -15
  429. package/dist/control-ui/assets/index-B7CJLRZD.css +0 -1
  430. package/dist/control-ui/assets/index-DLPYIcs0.js +0 -58
  431. package/dist/control-ui/assets/index-DLPYIcs0.js.map +0 -1
  432. package/dist/deps-CeyVMZf1.js +0 -13
  433. package/dist/models-ByeH7ZKb.js +0 -1350
  434. package/dist/register.configure-3GfqcGLK.js +0 -105
  435. package/dist/register.maintenance-YZDsMymb.js +0 -100
  436. package/dist/register.onboard-Dswys-iV.js +0 -126
  437. package/dist/start-BPye9w5U.js +0 -154
  438. package/dist/web-DE-hmqXy.js +0 -64
  439. /package/dist/{BasicParser-BiEpjka-.js → BasicParser-D4BHCxVb.js} +0 -0
  440. /package/dist/{agents.config-DibGEnBs.js → agents.config-Br4ULmK0.js} +0 -0
  441. /package/dist/{archive-BIKRyvqD.js → archive-CNqghdwQ.js} +0 -0
  442. /package/dist/{archive-5e-Ytlq-.js → archive-D-dHRz-v.js} +0 -0
  443. /package/dist/{argv-B6vsXQtF.js → argv-nNQ109_K.js} +0 -0
  444. /package/dist/{auth-store-Vfd6oc1G.js → auth-store-BEfSfCbW.js} +0 -0
  445. /package/dist/{auto-update-BUbllW1X.js → auto-update-Cvd8YJrT.js} +0 -0
  446. /package/dist/{auto-update-DdH8fo63.js → auto-update-DO4nHkfM.js} +0 -0
  447. /package/dist/{brew-Bkf_MwX9.js → brew-DHWnVWm3.js} +0 -0
  448. /package/dist/{budget-CV0a771W.js → budget-DvjICb0t.js} +0 -0
  449. /package/dist/{budget-GiXjG9eW.js → budget-e0R5xsU3.js} +0 -0
  450. /package/dist/{command-options-DfPEZwUK.js → command-options-DtJ8-EC7.js} +0 -0
  451. /package/dist/{command-options-mgpP-XId.js → command-options-eC-m_qJx.js} +0 -0
  452. /package/dist/{delivery-queue-DGnDKL02.js → delivery-queue-BKQk1j0k.js} +0 -0
  453. /package/dist/{delivery-queue-DZ_ibFDu.js → delivery-queue-CExaJXRz.js} +0 -0
  454. /package/dist/{display-BwSYYxVE.js → display-4p3-O9mP.js} +0 -0
  455. /package/dist/{display-Dck2kudh.js → display-Bo8pBhMp.js} +0 -0
  456. /package/dist/{exec-approvals-BJikgQkX.js → exec-approvals-DK5-KCUz.js} +0 -0
  457. /package/dist/{format-wiLVr0D3.js → format-9DMvWYUJ.js} +0 -0
  458. /package/dist/{format-duration-C5oKCGwB.js → format-duration-CnGkTPRF.js} +0 -0
  459. /package/dist/{gmail-setup-utils-CR33Gqfc.js → gmail-setup-utils-BIXtKTpT.js} +0 -0
  460. /package/dist/{help-format-DJx5Rwy2.js → help-format-ZKxl6UCb.js} +0 -0
  461. /package/dist/{helpers-8O7IVGO-.js → helpers-CWQnEONe.js} +0 -0
  462. /package/dist/{hooks-status-DiqubDlK.js → hooks-status-DqfJDvYl.js} +0 -0
  463. /package/dist/{ipv4-BYbwrpG-.js → ipv4-CExV55ho.js} +0 -0
  464. /package/dist/{is-main-BnikY3ud.js → is-main-H-hpHkdq.js} +0 -0
  465. /package/dist/{lib-D1DXSMt_.js → lib-D0_kW-B6.js} +0 -0
  466. /package/dist/{links-3c7gzW-G.js → links-BjjDMNIq.js} +0 -0
  467. /package/dist/{logging-Bpf6Cepz.js → logging-DWwOqnTW.js} +0 -0
  468. /package/dist/{logging-DcXIbpwk.js → logging-_rCcBkls.js} +0 -0
  469. /package/dist/{model-param-b-BcBBSgiD.js → model-param-b-2KmFir_0.js} +0 -0
  470. /package/dist/{node-service-BDlDNv3t.js → node-service-cOoW5hLa.js} +0 -0
  471. /package/dist/{note-BaOKDvcy.js → note-CeLGcHqv.js} +0 -0
  472. /package/dist/{noxsoft-auth-Bmict45b.js → noxsoft-auth-CE75mBXE.js} +0 -0
  473. /package/dist/{noxsoft-auth-DpwLJIW0.js → noxsoft-auth-CgCk5707.js} +0 -0
  474. /package/dist/{pi-model-discovery-ClWISQ3j.js → pi-model-discovery-Bu4Zr7nI.js} +0 -0
  475. /package/dist/{ports-aNJUI3Mi.js → ports-BGLuwt2Z.js} +0 -0
  476. /package/dist/{progress-Dj2aBWOI.js → progress-glCgu57m.js} +0 -0
  477. /package/dist/{qmd-manager-DrDX4o7e.js → qmd-manager-CO795NK4.js} +0 -0
  478. /package/dist/{queue-B77yV52t.js → queue-DDq0uzy5.js} +0 -0
  479. /package/dist/{queue-wFYwitx0.js → queue-DtQ5sbyD.js} +0 -0
  480. /package/dist/{registry-gaRST__4.js → registry-BvymIcVf.js} +0 -0
  481. /package/dist/{registry-Cv8RtADU.js → registry-DwaHkd_j.js} +0 -0
  482. /package/dist/{requirements-CEowKaVY.js → requirements-Ct4XnMiK.js} +0 -0
  483. /package/dist/{skill-scanner-DGoUYV22.js → skill-scanner-5_Y3u6SU.js} +0 -0
  484. /package/dist/{skill-scanner-FO7SyxAD.js → skill-scanner-Dld2ijVw.js} +0 -0
  485. /package/dist/{templates-D-h5PNIK.js → templates-4_And8I_.js} +0 -0
  486. /package/dist/{templates-ndPXOyGA.js → templates-5Z-UIDze.js} +0 -0
  487. /package/dist/{types-DSS9sywz.js → types-BQk_oAin.js} +0 -0
  488. /package/dist/{usage-format-BtlQ-77V.js → usage-format-BSa7cHyK.js} +0 -0
  489. /package/dist/{ws-log-BA9w1cJs.js → ws-log-CG6cvCZW.js} +0 -0
@@ -0,0 +1,138 @@
1
+ var me={},ki=Object.defineProperty,qi=(e,o,p)=>o in e?ki(e,o,{enumerable:!0,configurable:!0,writable:!0,value:p}):e[o]=p,le=(e,o,p)=>qi(e,typeof o!="symbol"?o+"":o,p),Fi=Object.defineProperty,Bi=(e,o,p)=>o in e?Fi(e,o,{enumerable:!0,configurable:!0,writable:!0,value:p}):e[o]=p,_e=(e,o,p)=>Bi(e,typeof o!="symbol"?o+"":o,p),tr,zi=Object.defineProperty,ji=(e,o,p)=>o in e?zi(e,o,{enumerable:!0,configurable:!0,writable:!0,value:p}):e[o]=p,rr=(e,o,p)=>ji(e,typeof o!="symbol"?o+"":o,p);const ir={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},sr={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},ae={};function Wi(e){var o,p;const d=(p=(o=globalThis?.Zone)==null?void 0:o.__symbol__)==null?void 0:p.call(o,e);if(d&&globalThis[d])return globalThis[d]}function kt(e){if(ae[e])return ae[e];const o=Wi(e)||globalThis[e],p=o.prototype,d=e in ir?ir[e]:void 0,s=!!(d&&d.every(m=>{var n,h;return!!((h=(n=Object.getOwnPropertyDescriptor(p,m))==null?void 0:n.get)!=null&&h.toString().includes("[native code]"))})),f=e in sr?sr[e]:void 0,a=!!(f&&f.every(m=>{var n;return typeof p[m]=="function"&&((n=p[m])==null?void 0:n.toString().includes("[native code]"))}));if(s&&a)return ae[e]=o.prototype,o.prototype;try{const m=document.createElement("iframe");document.body.appendChild(m);const n=m.contentWindow;if(!n)return o.prototype;const h=n[e].prototype;return document.body.removeChild(m),h?ae[e]=h:p}catch{return p}}const Ie={};function W(e,o,p){var d;const s=`${e}.${String(p)}`;if(Ie[s])return Ie[s].call(o);const f=kt(e),a=(d=Object.getOwnPropertyDescriptor(f,p))==null?void 0:d.get;return a?(Ie[s]=a,a.call(o)):o[p]}const Le={};function pi(e,o,p){const d=`${e}.${String(p)}`;if(Le[d])return Le[d].bind(o);const f=kt(e)[p];return typeof f!="function"?o[p]:(Le[d]=f,f.bind(o))}function Hi(e){return W("Node",e,"childNodes")}function Gi(e){return W("Node",e,"parentNode")}function Ji(e){return W("Node",e,"parentElement")}function Vi(e){return W("Node",e,"textContent")}function Ki(e,o){return pi("Node",e,"contains")(o)}function Qi(e){return pi("Node",e,"getRootNode")()}function Yi(e){return!e||!("host"in e)?null:W("ShadowRoot",e,"host")}function Xi(e){return e.styleSheets}function Zi(e){return!e||!("shadowRoot"in e)?null:W("Element",e,"shadowRoot")}function es(e,o){return W("Element",e,"querySelector")(o)}function ts(e,o){return W("Element",e,"querySelectorAll")(o)}function rs(){return kt("MutationObserver").constructor}const ge={childNodes:Hi,parentNode:Gi,parentElement:Ji,textContent:Vi,contains:Ki,getRootNode:Qi,host:Yi,styleSheets:Xi,shadowRoot:Zi,querySelector:es,querySelectorAll:ts,mutationObserver:rs};function is(e){const o=e&&"host"in e&&"mode"in e&&ge.host(e)||null;return!!(o&&"shadowRoot"in o&&ge.shadowRoot(o)===e)}class ss{constructor(){rr(this,"idNodeMap",new Map),rr(this,"nodeMetaMap",new WeakMap)}getId(o){var p;return o?((p=this.getMeta(o))==null?void 0:p.id)??-1:-1}getNode(o){return this.idNodeMap.get(o)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(o){return this.nodeMetaMap.get(o)||null}removeNodeFromMap(o){const p=this.getId(o);this.idNodeMap.delete(p),o.childNodes&&o.childNodes.forEach(d=>this.removeNodeFromMap(d))}has(o){return this.idNodeMap.has(o)}hasNode(o){return this.nodeMetaMap.has(o)}add(o,p){const d=p.id;this.idNodeMap.set(d,o),this.nodeMetaMap.set(o,p)}replace(o,p){const d=this.getNode(o);if(d){const s=this.nodeMetaMap.get(d);s&&this.nodeMetaMap.set(p,s)}this.idNodeMap.set(o,p)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function ns(){return new ss}const os=-2;function Tt(e,o,p){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return p?Tt(ge.parentNode(e),o,p):!1;for(let d=e.classList.length;d--;){const s=e.classList[d];if(o.test(s))return!0}return p?Tt(ge.parentNode(e),o,p):!1}function ls(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function as(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var o=e.default;if(typeof o=="function"){var p=function d(){return this instanceof d?Reflect.construct(o,arguments,this.constructor):o.apply(this,arguments)};p.prototype=o.prototype}else p={};return Object.defineProperty(p,"__esModule",{value:!0}),Object.keys(e).forEach(function(d){var s=Object.getOwnPropertyDescriptor(e,d);Object.defineProperty(p,d,s.get?s:{enumerable:!0,get:function(){return e[d]}})}),p}var ue={exports:{}},nr;function us(){if(nr)return ue.exports;nr=1;var e=String,o=function(){return{isColorSupported:!1,reset:e,bold:e,dim:e,italic:e,underline:e,inverse:e,hidden:e,strikethrough:e,black:e,red:e,green:e,yellow:e,blue:e,magenta:e,cyan:e,white:e,gray:e,bgBlack:e,bgRed:e,bgGreen:e,bgYellow:e,bgBlue:e,bgMagenta:e,bgCyan:e,bgWhite:e}};return ue.exports=o(),ue.exports.createColors=o,ue.exports}const fs={},hs=Object.freeze(Object.defineProperty({__proto__:null,default:fs},Symbol.toStringTag,{value:"Module"})),F=as(hs);var $e,or;function qt(){if(or)return $e;or=1;let e=us(),o=F;class p extends Error{constructor(s,f,a,m,n,h){super(s),this.name="CssSyntaxError",this.reason=s,n&&(this.file=n),m&&(this.source=m),h&&(this.plugin=h),typeof f<"u"&&typeof a<"u"&&(typeof f=="number"?(this.line=f,this.column=a):(this.line=f.line,this.column=f.column,this.endLine=a.line,this.endColumn=a.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,p)}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(s){if(!this.source)return"";let f=this.source;s==null&&(s=e.isColorSupported),o&&s&&(f=o(f));let a=f.split(/\r?\n/),m=Math.max(this.line-3,0),n=Math.min(this.line+2,a.length),h=String(n).length,t,l;if(s){let{bold:i,gray:r,red:c}=e.createColors(!0);t=u=>i(c(u)),l=u=>r(u)}else t=l=i=>i;return a.slice(m,n).map((i,r)=>{let c=m+1+r,u=" "+(" "+c).slice(-h)+" | ";if(c===this.line){let g=l(u.replace(/\d/g," "))+i.slice(0,this.column-1).replace(/[^\t]/g," ");return t(">")+l(u)+i+`
2
+ `+g+t("^")}return" "+l(u)+i}).join(`
3
+ `)}toString(){let s=this.showSourceCode();return s&&(s=`
4
+
5
+ `+s+`
6
+ `),this.name+": "+this.message+s}}return $e=p,p.default=p,$e}var fe={},lr;function Ft(){return lr||(lr=1,fe.isClean=Symbol("isClean"),fe.my=Symbol("my")),fe}var Te,ar;function di(){if(ar)return Te;ar=1;const e={after:`
7
+ `,beforeClose:`
8
+ `,beforeComment:`
9
+ `,beforeDecl:`
10
+ `,beforeOpen:" ",beforeRule:`
11
+ `,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function o(d){return d[0].toUpperCase()+d.slice(1)}class p{constructor(s){this.builder=s}atrule(s,f){let a="@"+s.name,m=s.params?this.rawValue(s,"params"):"";if(typeof s.raws.afterName<"u"?a+=s.raws.afterName:m&&(a+=" "),s.nodes)this.block(s,a+m);else{let n=(s.raws.between||"")+(f?";":"");this.builder(a+m+n,s)}}beforeAfter(s,f){let a;s.type==="decl"?a=this.raw(s,null,"beforeDecl"):s.type==="comment"?a=this.raw(s,null,"beforeComment"):f==="before"?a=this.raw(s,null,"beforeRule"):a=this.raw(s,null,"beforeClose");let m=s.parent,n=0;for(;m&&m.type!=="root";)n+=1,m=m.parent;if(a.includes(`
12
+ `)){let h=this.raw(s,null,"indent");if(h.length)for(let t=0;t<n;t++)a+=h}return a}block(s,f){let a=this.raw(s,"between","beforeOpen");this.builder(f+a+"{",s,"start");let m;s.nodes&&s.nodes.length?(this.body(s),m=this.raw(s,"after")):m=this.raw(s,"after","emptyBody"),m&&this.builder(m),this.builder("}",s,"end")}body(s){let f=s.nodes.length-1;for(;f>0&&s.nodes[f].type==="comment";)f-=1;let a=this.raw(s,"semicolon");for(let m=0;m<s.nodes.length;m++){let n=s.nodes[m],h=this.raw(n,"before");h&&this.builder(h),this.stringify(n,f!==m||a)}}comment(s){let f=this.raw(s,"left","commentLeft"),a=this.raw(s,"right","commentRight");this.builder("/*"+f+s.text+a+"*/",s)}decl(s,f){let a=this.raw(s,"between","colon"),m=s.prop+a+this.rawValue(s,"value");s.important&&(m+=s.raws.important||" !important"),f&&(m+=";"),this.builder(m,s)}document(s){this.body(s)}raw(s,f,a){let m;if(a||(a=f),f&&(m=s.raws[f],typeof m<"u"))return m;let n=s.parent;if(a==="before"&&(!n||n.type==="root"&&n.first===s||n&&n.type==="document"))return"";if(!n)return e[a];let h=s.root();if(h.rawCache||(h.rawCache={}),typeof h.rawCache[a]<"u")return h.rawCache[a];if(a==="before"||a==="after")return this.beforeAfter(s,a);{let t="raw"+o(a);this[t]?m=this[t](h,s):h.walk(l=>{if(m=l.raws[f],typeof m<"u")return!1})}return typeof m>"u"&&(m=e[a]),h.rawCache[a]=m,m}rawBeforeClose(s){let f;return s.walk(a=>{if(a.nodes&&a.nodes.length>0&&typeof a.raws.after<"u")return f=a.raws.after,f.includes(`
13
+ `)&&(f=f.replace(/[^\n]+$/,"")),!1}),f&&(f=f.replace(/\S/g,"")),f}rawBeforeComment(s,f){let a;return s.walkComments(m=>{if(typeof m.raws.before<"u")return a=m.raws.before,a.includes(`
14
+ `)&&(a=a.replace(/[^\n]+$/,"")),!1}),typeof a>"u"?a=this.raw(f,null,"beforeDecl"):a&&(a=a.replace(/\S/g,"")),a}rawBeforeDecl(s,f){let a;return s.walkDecls(m=>{if(typeof m.raws.before<"u")return a=m.raws.before,a.includes(`
15
+ `)&&(a=a.replace(/[^\n]+$/,"")),!1}),typeof a>"u"?a=this.raw(f,null,"beforeRule"):a&&(a=a.replace(/\S/g,"")),a}rawBeforeOpen(s){let f;return s.walk(a=>{if(a.type!=="decl"&&(f=a.raws.between,typeof f<"u"))return!1}),f}rawBeforeRule(s){let f;return s.walk(a=>{if(a.nodes&&(a.parent!==s||s.first!==a)&&typeof a.raws.before<"u")return f=a.raws.before,f.includes(`
16
+ `)&&(f=f.replace(/[^\n]+$/,"")),!1}),f&&(f=f.replace(/\S/g,"")),f}rawColon(s){let f;return s.walkDecls(a=>{if(typeof a.raws.between<"u")return f=a.raws.between.replace(/[^\s:]/g,""),!1}),f}rawEmptyBody(s){let f;return s.walk(a=>{if(a.nodes&&a.nodes.length===0&&(f=a.raws.after,typeof f<"u"))return!1}),f}rawIndent(s){if(s.raws.indent)return s.raws.indent;let f;return s.walk(a=>{let m=a.parent;if(m&&m!==s&&m.parent&&m.parent===s&&typeof a.raws.before<"u"){let n=a.raws.before.split(`
17
+ `);return f=n[n.length-1],f=f.replace(/\S/g,""),!1}}),f}rawSemicolon(s){let f;return s.walk(a=>{if(a.nodes&&a.nodes.length&&a.last.type==="decl"&&(f=a.raws.semicolon,typeof f<"u"))return!1}),f}rawValue(s,f){let a=s[f],m=s.raws[f];return m&&m.value===a?m.raw:a}root(s){this.body(s),s.raws.after&&this.builder(s.raws.after)}rule(s){this.block(s,this.rawValue(s,"selector")),s.raws.ownSemicolon&&this.builder(s.raws.ownSemicolon,s,"end")}stringify(s,f){if(!this[s.type])throw new Error("Unknown AST node type "+s.type+". Maybe you need to change PostCSS stringifier.");this[s.type](s,f)}}return Te=p,p.default=p,Te}var Ue,ur;function ye(){if(ur)return Ue;ur=1;let e=di();function o(p,d){new e(d).stringify(p)}return Ue=o,o.default=o,Ue}var De,fr;function we(){if(fr)return De;fr=1;let{isClean:e,my:o}=Ft(),p=qt(),d=di(),s=ye();function f(m,n){let h=new m.constructor;for(let t in m){if(!Object.prototype.hasOwnProperty.call(m,t)||t==="proxyCache")continue;let l=m[t],i=typeof l;t==="parent"&&i==="object"?n&&(h[t]=n):t==="source"?h[t]=l:Array.isArray(l)?h[t]=l.map(r=>f(r,h)):(i==="object"&&l!==null&&(l=f(l)),h[t]=l)}return h}class a{constructor(n={}){this.raws={},this[e]=!1,this[o]=!0;for(let h in n)if(h==="nodes"){this.nodes=[];for(let t of n[h])typeof t.clone=="function"?this.append(t.clone()):this.append(t)}else this[h]=n[h]}addToError(n){if(n.postcssNode=this,n.stack&&this.source&&/\n\s{4}at /.test(n.stack)){let h=this.source;n.stack=n.stack.replace(/\n\s{4}at /,`$&${h.input.from}:${h.start.line}:${h.start.column}$&`)}return n}after(n){return this.parent.insertAfter(this,n),this}assign(n={}){for(let h in n)this[h]=n[h];return this}before(n){return this.parent.insertBefore(this,n),this}cleanRaws(n){delete this.raws.before,delete this.raws.after,n||delete this.raws.between}clone(n={}){let h=f(this);for(let t in n)h[t]=n[t];return h}cloneAfter(n={}){let h=this.clone(n);return this.parent.insertAfter(this,h),h}cloneBefore(n={}){let h=this.clone(n);return this.parent.insertBefore(this,h),h}error(n,h={}){if(this.source){let{end:t,start:l}=this.rangeBy(h);return this.source.input.error(n,{column:l.column,line:l.line},{column:t.column,line:t.line},h)}return new p(n)}getProxyProcessor(){return{get(n,h){return h==="proxyOf"?n:h==="root"?()=>n.root().toProxy():n[h]},set(n,h,t){return n[h]===t||(n[h]=t,(h==="prop"||h==="value"||h==="name"||h==="params"||h==="important"||h==="text")&&n.markDirty()),!0}}}markDirty(){if(this[e]){this[e]=!1;let n=this;for(;n=n.parent;)n[e]=!1}}next(){if(!this.parent)return;let n=this.parent.index(this);return this.parent.nodes[n+1]}positionBy(n,h){let t=this.source.start;if(n.index)t=this.positionInside(n.index,h);else if(n.word){h=this.toString();let l=h.indexOf(n.word);l!==-1&&(t=this.positionInside(l,h))}return t}positionInside(n,h){let t=h||this.toString(),l=this.source.start.column,i=this.source.start.line;for(let r=0;r<n;r++)t[r]===`
18
+ `?(l=1,i+=1):l+=1;return{column:l,line:i}}prev(){if(!this.parent)return;let n=this.parent.index(this);return this.parent.nodes[n-1]}rangeBy(n){let h={column:this.source.start.column,line:this.source.start.line},t=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:h.column+1,line:h.line};if(n.word){let l=this.toString(),i=l.indexOf(n.word);i!==-1&&(h=this.positionInside(i,l),t=this.positionInside(i+n.word.length,l))}else n.start?h={column:n.start.column,line:n.start.line}:n.index&&(h=this.positionInside(n.index)),n.end?t={column:n.end.column,line:n.end.line}:typeof n.endIndex=="number"?t=this.positionInside(n.endIndex):n.index&&(t=this.positionInside(n.index+1));return(t.line<h.line||t.line===h.line&&t.column<=h.column)&&(t={column:h.column+1,line:h.line}),{end:t,start:h}}raw(n,h){return new d().raw(this,n,h)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...n){if(this.parent){let h=this,t=!1;for(let l of n)l===this?t=!0:t?(this.parent.insertAfter(h,l),h=l):this.parent.insertBefore(h,l);t||this.remove()}return this}root(){let n=this;for(;n.parent&&n.parent.type!=="document";)n=n.parent;return n}toJSON(n,h){let t={},l=h==null;h=h||new Map;let i=0;for(let r in this){if(!Object.prototype.hasOwnProperty.call(this,r)||r==="parent"||r==="proxyCache")continue;let c=this[r];if(Array.isArray(c))t[r]=c.map(u=>typeof u=="object"&&u.toJSON?u.toJSON(null,h):u);else if(typeof c=="object"&&c.toJSON)t[r]=c.toJSON(null,h);else if(r==="source"){let u=h.get(c.input);u==null&&(u=i,h.set(c.input,i),i++),t[r]={end:c.end,inputId:u,start:c.start}}else t[r]=c}return l&&(t.inputs=[...h.keys()].map(r=>r.toJSON())),t}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(n=s){n.stringify&&(n=n.stringify);let h="";return n(this,t=>{h+=t}),h}warn(n,h,t){let l={node:this};for(let i in t)l[i]=t[i];return n.warn(h,l)}get proxyOf(){return this}}return De=a,a.default=a,De}var ke,hr;function be(){if(hr)return ke;hr=1;let e=we();class o extends e{constructor(d){d&&typeof d.value<"u"&&typeof d.value!="string"&&(d={...d,value:String(d.value)}),super(d),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}return ke=o,o.default=o,ke}var qe,cr;function cs(){if(cr)return qe;cr=1;let e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return qe={nanoid:(d=21)=>{let s="",f=d;for(;f--;)s+=e[Math.random()*64|0];return s},customAlphabet:(d,s=21)=>(f=s)=>{let a="",m=f;for(;m--;)a+=d[Math.random()*d.length|0];return a}},qe}var Fe,pr;function mi(){if(pr)return Fe;pr=1;let{SourceMapConsumer:e,SourceMapGenerator:o}=F,{existsSync:p,readFileSync:d}=F,{dirname:s,join:f}=F;function a(n){return Buffer?Buffer.from(n,"base64").toString():window.atob(n)}class m{constructor(h,t){if(t.map===!1)return;this.loadAnnotation(h),this.inline=this.startWith(this.annotation,"data:");let l=t.map?t.map.prev:void 0,i=this.loadMap(t.from,l);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=s(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||(this.consumerCache=new e(this.text)),this.consumerCache}decodeInline(h){let t=/^data:application\/json;charset=utf-?8;base64,/,l=/^data:application\/json;base64,/,i=/^data:application\/json;charset=utf-?8,/,r=/^data:application\/json,/;if(i.test(h)||r.test(h))return decodeURIComponent(h.substr(RegExp.lastMatch.length));if(t.test(h)||l.test(h))return a(h.substr(RegExp.lastMatch.length));let c=h.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+c)}getAnnotationURL(h){return h.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(h){return typeof h!="object"?!1:typeof h.mappings=="string"||typeof h._mappings=="string"||Array.isArray(h.sections)}loadAnnotation(h){let t=h.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let l=h.lastIndexOf(t.pop()),i=h.indexOf("*/",l);l>-1&&i>-1&&(this.annotation=this.getAnnotationURL(h.substring(l,i)))}loadFile(h){if(this.root=s(h),p(h))return this.mapFile=h,d(h,"utf-8").toString().trim()}loadMap(h,t){if(t===!1)return!1;if(t){if(typeof t=="string")return t;if(typeof t=="function"){let l=t(h);if(l){let i=this.loadFile(l);if(!i)throw new Error("Unable to load previous source map: "+l.toString());return i}}else{if(t instanceof e)return o.fromSourceMap(t).toString();if(t instanceof o)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let l=this.annotation;return h&&(l=f(s(h),l)),this.loadFile(l)}}}startWith(h,t){return h?h.substr(0,t.length)===t:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return Fe=m,m.default=m,Fe}var Be,dr;function ve(){if(dr)return Be;dr=1;let{SourceMapConsumer:e,SourceMapGenerator:o}=F,{fileURLToPath:p,pathToFileURL:d}=F,{isAbsolute:s,resolve:f}=F,{nanoid:a}=cs(),m=F,n=qt(),h=mi(),t=Symbol("fromOffsetCache"),l=!!(e&&o),i=!!(f&&s);class r{constructor(u,g={}){if(u===null||typeof u>"u"||typeof u=="object"&&!u.toString)throw new Error(`PostCSS received ${u} instead of CSS string`);if(this.css=u.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,g.from&&(!i||/^\w+:\/\//.test(g.from)||s(g.from)?this.file=g.from:this.file=f(g.from)),i&&l){let S=new h(this.css,g);if(S.text){this.map=S;let b=S.consumer().file;!this.file&&b&&(this.file=this.mapResolve(b))}}this.file||(this.id="<input css "+a(6)+">"),this.map&&(this.map.file=this.from)}error(u,g,S,b={}){let v,w,y;if(g&&typeof g=="object"){let R=g,P=S;if(typeof R.offset=="number"){let A=this.fromOffset(R.offset);g=A.line,S=A.col}else g=R.line,S=R.column;if(typeof P.offset=="number"){let A=this.fromOffset(P.offset);w=A.line,y=A.col}else w=P.line,y=P.column}else if(!S){let R=this.fromOffset(g);g=R.line,S=R.col}let x=this.origin(g,S,w,y);return x?v=new n(u,x.endLine===void 0?x.line:{column:x.column,line:x.line},x.endLine===void 0?x.column:{column:x.endColumn,line:x.endLine},x.source,x.file,b.plugin):v=new n(u,w===void 0?g:{column:S,line:g},w===void 0?S:{column:y,line:w},this.css,this.file,b.plugin),v.input={column:S,endColumn:y,endLine:w,line:g,source:this.css},this.file&&(d&&(v.input.url=d(this.file).toString()),v.input.file=this.file),v}fromOffset(u){let g,S;if(this[t])S=this[t];else{let v=this.css.split(`
19
+ `);S=new Array(v.length);let w=0;for(let y=0,x=v.length;y<x;y++)S[y]=w,w+=v[y].length+1;this[t]=S}g=S[S.length-1];let b=0;if(u>=g)b=S.length-1;else{let v=S.length-2,w;for(;b<v;)if(w=b+(v-b>>1),u<S[w])v=w-1;else if(u>=S[w+1])b=w+1;else{b=w;break}}return{col:u-S[b]+1,line:b+1}}mapResolve(u){return/^\w+:\/\//.test(u)?u:f(this.map.consumer().sourceRoot||this.map.root||".",u)}origin(u,g,S,b){if(!this.map)return!1;let v=this.map.consumer(),w=v.originalPositionFor({column:g,line:u});if(!w.source)return!1;let y;typeof S=="number"&&(y=v.originalPositionFor({column:b,line:S}));let x;s(w.source)?x=d(w.source):x=new URL(w.source,this.map.consumer().sourceRoot||d(this.map.mapFile));let R={column:w.column,endColumn:y&&y.column,endLine:y&&y.line,line:w.line,url:x.toString()};if(x.protocol==="file:")if(p)R.file=p(x);else throw new Error("file: protocol is not available in this PostCSS build");let P=v.sourceContentFor(w.source);return P&&(R.source=P),R}toJSON(){let u={};for(let g of["hasBOM","css","file","id"])this[g]!=null&&(u[g]=this[g]);return this.map&&(u.map={...this.map},u.map.consumerCache&&(u.map.consumerCache=void 0)),u}get from(){return this.file||this.id}}return Be=r,r.default=r,m&&m.registerInput&&m.registerInput(r),Be}var ze,mr;function gi(){if(mr)return ze;mr=1;let{SourceMapConsumer:e,SourceMapGenerator:o}=F,{dirname:p,relative:d,resolve:s,sep:f}=F,{pathToFileURL:a}=F,m=ve(),n=!!(e&&o),h=!!(p&&s&&d&&f);class t{constructor(i,r,c,u){this.stringify=i,this.mapOpts=c.map||{},this.root=r,this.opts=c,this.css=u,this.originalCSS=u,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let i;this.isInline()?i="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?i=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?i=this.mapOpts.annotation(this.opts.to,this.root):i=this.outputFile()+".map";let r=`
20
+ `;this.css.includes(`\r
21
+ `)&&(r=`\r
22
+ `),this.css+=r+"/*# sourceMappingURL="+i+" */"}applyPrevMaps(){for(let i of this.previous()){let r=this.toUrl(this.path(i.file)),c=i.root||p(i.file),u;this.mapOpts.sourcesContent===!1?(u=new e(i.text),u.sourcesContent&&(u.sourcesContent=null)):u=i.consumer(),this.map.applySourceMap(u,r,this.toUrl(this.path(c)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let i;for(let r=this.root.nodes.length-1;r>=0;r--)i=this.root.nodes[r],i.type==="comment"&&i.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(r)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),h&&n&&this.isMap())return this.generateMap();{let i="";return this.stringify(this.root,r=>{i+=r}),[i]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let i=this.previous()[0].consumer();i.file=this.outputFile(),this.map=o.fromSourceMap(i,{ignoreInvalidMapping:!0})}else this.map=new o({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new o({file:this.outputFile(),ignoreInvalidMapping:!0});let i=1,r=1,c="<no source>",u={generated:{column:0,line:0},original:{column:0,line:0},source:""},g,S;this.stringify(this.root,(b,v,w)=>{if(this.css+=b,v&&w!=="end"&&(u.generated.line=i,u.generated.column=r-1,v.source&&v.source.start?(u.source=this.sourcePath(v),u.original.line=v.source.start.line,u.original.column=v.source.start.column-1,this.map.addMapping(u)):(u.source=c,u.original.line=1,u.original.column=0,this.map.addMapping(u))),g=b.match(/\n/g),g?(i+=g.length,S=b.lastIndexOf(`
23
+ `),r=b.length-S):r+=b.length,v&&w!=="start"){let y=v.parent||{raws:{}};(!(v.type==="decl"||v.type==="atrule"&&!v.nodes)||v!==y.last||y.raws.semicolon)&&(v.source&&v.source.end?(u.source=this.sourcePath(v),u.original.line=v.source.end.line,u.original.column=v.source.end.column-1,u.generated.line=i,u.generated.column=r-2,this.map.addMapping(u)):(u.source=c,u.original.line=1,u.original.column=0,u.generated.line=i,u.generated.column=r-1,this.map.addMapping(u)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(i=>i.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let i=this.mapOpts.annotation;return typeof i<"u"&&i!==!0?!1:this.previous().length?this.previous().some(r=>r.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(i=>i.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(i){if(this.mapOpts.absolute||i.charCodeAt(0)===60||/^\w+:\/\//.test(i))return i;let r=this.memoizedPaths.get(i);if(r)return r;let c=this.opts.to?p(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(c=p(s(c,this.mapOpts.annotation)));let u=d(c,i);return this.memoizedPaths.set(i,u),u}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(i=>{if(i.source&&i.source.input.map){let r=i.source.input.map;this.previousMaps.includes(r)||this.previousMaps.push(r)}});else{let i=new m(this.originalCSS,this.opts);i.map&&this.previousMaps.push(i.map)}return this.previousMaps}setSourcesContent(){let i={};if(this.root)this.root.walk(r=>{if(r.source){let c=r.source.input.from;if(c&&!i[c]){i[c]=!0;let u=this.usesFileUrls?this.toFileUrl(c):this.toUrl(this.path(c));this.map.setSourceContent(u,r.source.input.css)}}});else if(this.css){let r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}}sourcePath(i){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(i.source.input.from):this.toUrl(this.path(i.source.input.from))}toBase64(i){return Buffer?Buffer.from(i).toString("base64"):window.btoa(unescape(encodeURIComponent(i)))}toFileUrl(i){let r=this.memoizedFileURLs.get(i);if(r)return r;if(a){let c=a(i).toString();return this.memoizedFileURLs.set(i,c),c}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(i){let r=this.memoizedURLs.get(i);if(r)return r;f==="\\"&&(i=i.replace(/\\/g,"/"));let c=encodeURI(i).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(i,c),c}}return ze=t,ze}var je,gr;function xe(){if(gr)return je;gr=1;let e=we();class o extends e{constructor(d){super(d),this.type="comment"}}return je=o,o.default=o,je}var We,yr;function Q(){if(yr)return We;yr=1;let{isClean:e,my:o}=Ft(),p=be(),d=xe(),s=we(),f,a,m,n;function h(i){return i.map(r=>(r.nodes&&(r.nodes=h(r.nodes)),delete r.source,r))}function t(i){if(i[e]=!1,i.proxyOf.nodes)for(let r of i.proxyOf.nodes)t(r)}class l extends s{append(...r){for(let c of r){let u=this.normalize(c,this.last);for(let g of u)this.proxyOf.nodes.push(g)}return this.markDirty(),this}cleanRaws(r){if(super.cleanRaws(r),this.nodes)for(let c of this.nodes)c.cleanRaws(r)}each(r){if(!this.proxyOf.nodes)return;let c=this.getIterator(),u,g;for(;this.indexes[c]<this.proxyOf.nodes.length&&(u=this.indexes[c],g=r(this.proxyOf.nodes[u],u),g!==!1);)this.indexes[c]+=1;return delete this.indexes[c],g}every(r){return this.nodes.every(r)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let r=this.lastEach;return this.indexes[r]=0,r}getProxyProcessor(){return{get(r,c){return c==="proxyOf"?r:r[c]?c==="each"||typeof c=="string"&&c.startsWith("walk")?(...u)=>r[c](...u.map(g=>typeof g=="function"?(S,b)=>g(S.toProxy(),b):g)):c==="every"||c==="some"?u=>r[c]((g,...S)=>u(g.toProxy(),...S)):c==="root"?()=>r.root().toProxy():c==="nodes"?r.nodes.map(u=>u.toProxy()):c==="first"||c==="last"?r[c].toProxy():r[c]:r[c]},set(r,c,u){return r[c]===u||(r[c]=u,(c==="name"||c==="params"||c==="selector")&&r.markDirty()),!0}}}index(r){return typeof r=="number"?r:(r.proxyOf&&(r=r.proxyOf),this.proxyOf.nodes.indexOf(r))}insertAfter(r,c){let u=this.index(r),g=this.normalize(c,this.proxyOf.nodes[u]).reverse();u=this.index(r);for(let b of g)this.proxyOf.nodes.splice(u+1,0,b);let S;for(let b in this.indexes)S=this.indexes[b],u<S&&(this.indexes[b]=S+g.length);return this.markDirty(),this}insertBefore(r,c){let u=this.index(r),g=u===0?"prepend":!1,S=this.normalize(c,this.proxyOf.nodes[u],g).reverse();u=this.index(r);for(let v of S)this.proxyOf.nodes.splice(u,0,v);let b;for(let v in this.indexes)b=this.indexes[v],u<=b&&(this.indexes[v]=b+S.length);return this.markDirty(),this}normalize(r,c){if(typeof r=="string")r=h(f(r).nodes);else if(typeof r>"u")r=[];else if(Array.isArray(r)){r=r.slice(0);for(let g of r)g.parent&&g.parent.removeChild(g,"ignore")}else if(r.type==="root"&&this.type!=="document"){r=r.nodes.slice(0);for(let g of r)g.parent&&g.parent.removeChild(g,"ignore")}else if(r.type)r=[r];else if(r.prop){if(typeof r.value>"u")throw new Error("Value field is missed in node creation");typeof r.value!="string"&&(r.value=String(r.value)),r=[new p(r)]}else if(r.selector)r=[new a(r)];else if(r.name)r=[new m(r)];else if(r.text)r=[new d(r)];else throw new Error("Unknown node type in node creation");return r.map(g=>(g[o]||l.rebuild(g),g=g.proxyOf,g.parent&&g.parent.removeChild(g),g[e]&&t(g),typeof g.raws.before>"u"&&c&&typeof c.raws.before<"u"&&(g.raws.before=c.raws.before.replace(/\S/g,"")),g.parent=this.proxyOf,g))}prepend(...r){r=r.reverse();for(let c of r){let u=this.normalize(c,this.first,"prepend").reverse();for(let g of u)this.proxyOf.nodes.unshift(g);for(let g in this.indexes)this.indexes[g]=this.indexes[g]+u.length}return this.markDirty(),this}push(r){return r.parent=this,this.proxyOf.nodes.push(r),this}removeAll(){for(let r of this.proxyOf.nodes)r.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(r){r=this.index(r),this.proxyOf.nodes[r].parent=void 0,this.proxyOf.nodes.splice(r,1);let c;for(let u in this.indexes)c=this.indexes[u],c>=r&&(this.indexes[u]=c-1);return this.markDirty(),this}replaceValues(r,c,u){return u||(u=c,c={}),this.walkDecls(g=>{c.props&&!c.props.includes(g.prop)||c.fast&&!g.value.includes(c.fast)||(g.value=g.value.replace(r,u))}),this.markDirty(),this}some(r){return this.nodes.some(r)}walk(r){return this.each((c,u)=>{let g;try{g=r(c,u)}catch(S){throw c.addToError(S)}return g!==!1&&c.walk&&(g=c.walk(r)),g})}walkAtRules(r,c){return c?r instanceof RegExp?this.walk((u,g)=>{if(u.type==="atrule"&&r.test(u.name))return c(u,g)}):this.walk((u,g)=>{if(u.type==="atrule"&&u.name===r)return c(u,g)}):(c=r,this.walk((u,g)=>{if(u.type==="atrule")return c(u,g)}))}walkComments(r){return this.walk((c,u)=>{if(c.type==="comment")return r(c,u)})}walkDecls(r,c){return c?r instanceof RegExp?this.walk((u,g)=>{if(u.type==="decl"&&r.test(u.prop))return c(u,g)}):this.walk((u,g)=>{if(u.type==="decl"&&u.prop===r)return c(u,g)}):(c=r,this.walk((u,g)=>{if(u.type==="decl")return c(u,g)}))}walkRules(r,c){return c?r instanceof RegExp?this.walk((u,g)=>{if(u.type==="rule"&&r.test(u.selector))return c(u,g)}):this.walk((u,g)=>{if(u.type==="rule"&&u.selector===r)return c(u,g)}):(c=r,this.walk((u,g)=>{if(u.type==="rule")return c(u,g)}))}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]}}return l.registerParse=i=>{f=i},l.registerRule=i=>{a=i},l.registerAtRule=i=>{m=i},l.registerRoot=i=>{n=i},We=l,l.default=l,l.rebuild=i=>{i.type==="atrule"?Object.setPrototypeOf(i,m.prototype):i.type==="rule"?Object.setPrototypeOf(i,a.prototype):i.type==="decl"?Object.setPrototypeOf(i,p.prototype):i.type==="comment"?Object.setPrototypeOf(i,d.prototype):i.type==="root"&&Object.setPrototypeOf(i,n.prototype),i[o]=!0,i.nodes&&i.nodes.forEach(r=>{l.rebuild(r)})},We}var He,wr;function Bt(){if(wr)return He;wr=1;let e=Q(),o,p;class d extends e{constructor(f){super({type:"document",...f}),this.nodes||(this.nodes=[])}toResult(f={}){return new o(new p,this,f).stringify()}}return d.registerLazyResult=s=>{o=s},d.registerProcessor=s=>{p=s},He=d,d.default=d,He}var Ge,br;function yi(){if(br)return Ge;br=1;class e{constructor(p,d={}){if(this.type="warning",this.text=p,d.node&&d.node.source){let s=d.node.rangeBy(d);this.line=s.start.line,this.column=s.start.column,this.endLine=s.end.line,this.endColumn=s.end.column}for(let s in d)this[s]=d[s]}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}}return Ge=e,e.default=e,Ge}var Je,vr;function zt(){if(vr)return Je;vr=1;let e=yi();class o{constructor(d,s,f){this.processor=d,this.messages=[],this.root=s,this.opts=f,this.css=void 0,this.map=void 0}toString(){return this.css}warn(d,s={}){s.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(s.plugin=this.lastPlugin.postcssPlugin);let f=new e(d,s);return this.messages.push(f),f}warnings(){return this.messages.filter(d=>d.type==="warning")}get content(){return this.css}}return Je=o,o.default=o,Je}var Ve,xr;function ps(){if(xr)return Ve;xr=1;const e=39,o=34,p=92,d=47,s=10,f=32,a=12,m=9,n=13,h=91,t=93,l=40,i=41,r=123,c=125,u=59,g=42,S=58,b=64,v=/[\t\n\f\r "#'()/;[\\\]{}]/g,w=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,y=/.[\r\n"'(/\\]/,x=/[\da-f]/i;return Ve=function(P,A={}){let E=P.css.valueOf(),T=A.ignoreErrors,N,O,te,G,z,L,U,re,$,M,ie=E.length,C=0,J=[],j=[];function Pe(){return C}function V(D){throw P.error("Unclosed "+D,C)}function Ae(){return j.length===0&&C>=ie}function Ne(D){if(j.length)return j.pop();if(C>=ie)return;let K=D?D.ignoreUnclosed:!1;switch(N=E.charCodeAt(C),N){case s:case f:case m:case n:case a:{O=C;do O+=1,N=E.charCodeAt(O);while(N===f||N===s||N===m||N===n||N===a);M=["space",E.slice(C,O)],C=O-1;break}case h:case t:case r:case c:case S:case u:case i:{let se=String.fromCharCode(N);M=[se,se,C];break}case l:{if(re=J.length?J.pop()[1]:"",$=E.charCodeAt(C+1),re==="url"&&$!==e&&$!==o&&$!==f&&$!==s&&$!==m&&$!==a&&$!==n){O=C;do{if(L=!1,O=E.indexOf(")",O+1),O===-1)if(T||K){O=C;break}else V("bracket");for(U=O;E.charCodeAt(U-1)===p;)U-=1,L=!L}while(L);M=["brackets",E.slice(C,O+1),C,O],C=O}else O=E.indexOf(")",C+1),G=E.slice(C,O+1),O===-1||y.test(G)?M=["(","(",C]:(M=["brackets",G,C,O],C=O);break}case e:case o:{te=N===e?"'":'"',O=C;do{if(L=!1,O=E.indexOf(te,O+1),O===-1)if(T||K){O=C+1;break}else V("string");for(U=O;E.charCodeAt(U-1)===p;)U-=1,L=!L}while(L);M=["string",E.slice(C,O+1),C,O],C=O;break}case b:{v.lastIndex=C+1,v.test(E),v.lastIndex===0?O=E.length-1:O=v.lastIndex-2,M=["at-word",E.slice(C,O+1),C,O],C=O;break}case p:{for(O=C,z=!0;E.charCodeAt(O+1)===p;)O+=1,z=!z;if(N=E.charCodeAt(O+1),z&&N!==d&&N!==f&&N!==s&&N!==m&&N!==n&&N!==a&&(O+=1,x.test(E.charAt(O)))){for(;x.test(E.charAt(O+1));)O+=1;E.charCodeAt(O+1)===f&&(O+=1)}M=["word",E.slice(C,O+1),C,O],C=O;break}default:{N===d&&E.charCodeAt(C+1)===g?(O=E.indexOf("*/",C+2)+1,O===0&&(T||K?O=E.length:V("comment")),M=["comment",E.slice(C,O+1),C,O],C=O):(w.lastIndex=C+1,w.test(E),w.lastIndex===0?O=E.length-1:O=w.lastIndex-2,M=["word",E.slice(C,O+1),C,O],J.push(M),C=O);break}}return C++,M}function Me(D){j.push(D)}return{back:Me,endOfFile:Ae,nextToken:Ne,position:Pe}},Ve}var Ke,Sr;function jt(){if(Sr)return Ke;Sr=1;let e=Q();class o extends e{constructor(d){super(d),this.type="atrule"}append(...d){return this.proxyOf.nodes||(this.nodes=[]),super.append(...d)}prepend(...d){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...d)}}return Ke=o,o.default=o,e.registerAtRule(o),Ke}var Qe,Rr;function ne(){if(Rr)return Qe;Rr=1;let e=Q(),o,p;class d extends e{constructor(f){super(f),this.type="root",this.nodes||(this.nodes=[])}normalize(f,a,m){let n=super.normalize(f);if(a){if(m==="prepend")this.nodes.length>1?a.raws.before=this.nodes[1].raws.before:delete a.raws.before;else if(this.first!==a)for(let h of n)h.raws.before=a.raws.before}return n}removeChild(f,a){let m=this.index(f);return!a&&m===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[m].raws.before),super.removeChild(f)}toResult(f={}){return new o(new p,this,f).stringify()}}return d.registerLazyResult=s=>{o=s},d.registerProcessor=s=>{p=s},Qe=d,d.default=d,e.registerRoot(d),Qe}var Ye,Or;function wi(){if(Or)return Ye;Or=1;let e={comma(o){return e.split(o,[","],!0)},space(o){let p=[" ",`
24
+ `," "];return e.split(o,p)},split(o,p,d){let s=[],f="",a=!1,m=0,n=!1,h="",t=!1;for(let l of o)t?t=!1:l==="\\"?t=!0:n?l===h&&(n=!1):l==='"'||l==="'"?(n=!0,h=l):l==="("?m+=1:l===")"?m>0&&(m-=1):m===0&&p.includes(l)&&(a=!0),a?(f!==""&&s.push(f.trim()),f="",a=!1):f+=l;return(d||f!=="")&&s.push(f.trim()),s}};return Ye=e,e.default=e,Ye}var Xe,Cr;function Wt(){if(Cr)return Xe;Cr=1;let e=Q(),o=wi();class p extends e{constructor(s){super(s),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return o.comma(this.selector)}set selectors(s){let f=this.selector?this.selector.match(/,\s*/):null,a=f?f[0]:","+this.raw("between","beforeOpen");this.selector=s.join(a)}}return Xe=p,p.default=p,e.registerRule(p),Xe}var Ze,Er;function ds(){if(Er)return Ze;Er=1;let e=be(),o=ps(),p=xe(),d=jt(),s=ne(),f=Wt();const a={empty:!0,space:!0};function m(h){for(let t=h.length-1;t>=0;t--){let l=h[t],i=l[3]||l[2];if(i)return i}}class n{constructor(t){this.input=t,this.root=new s,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:t,start:{column:1,line:1,offset:0}}}atrule(t){let l=new d;l.name=t[1].slice(1),l.name===""&&this.unnamedAtrule(l,t),this.init(l,t[2]);let i,r,c,u=!1,g=!1,S=[],b=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),i=t[0],i==="("||i==="["?b.push(i==="("?")":"]"):i==="{"&&b.length>0?b.push("}"):i===b[b.length-1]&&b.pop(),b.length===0)if(i===";"){l.source.end=this.getPosition(t[2]),l.source.end.offset++,this.semicolon=!0;break}else if(i==="{"){g=!0;break}else if(i==="}"){if(S.length>0){for(c=S.length-1,r=S[c];r&&r[0]==="space";)r=S[--c];r&&(l.source.end=this.getPosition(r[3]||r[2]),l.source.end.offset++)}this.end(t);break}else S.push(t);else S.push(t);if(this.tokenizer.endOfFile()){u=!0;break}}l.raws.between=this.spacesAndCommentsFromEnd(S),S.length?(l.raws.afterName=this.spacesAndCommentsFromStart(S),this.raw(l,"params",S),u&&(t=S[S.length-1],l.source.end=this.getPosition(t[3]||t[2]),l.source.end.offset++,this.spaces=l.raws.between,l.raws.between="")):(l.raws.afterName="",l.params=""),g&&(l.nodes=[],this.current=l)}checkMissedSemicolon(t){let l=this.colon(t);if(l===!1)return;let i=0,r;for(let c=l-1;c>=0&&(r=t[c],!(r[0]!=="space"&&(i+=1,i===2)));c--);throw this.input.error("Missed semicolon",r[0]==="word"?r[3]+1:r[2])}colon(t){let l=0,i,r,c;for(let[u,g]of t.entries()){if(i=g,r=i[0],r==="("&&(l+=1),r===")"&&(l-=1),l===0&&r===":")if(!c)this.doubleColon(i);else{if(c[0]==="word"&&c[1]==="progid")continue;return u}c=i}return!1}comment(t){let l=new p;this.init(l,t[2]),l.source.end=this.getPosition(t[3]||t[2]),l.source.end.offset++;let i=t[1].slice(2,-2);if(/^\s*$/.test(i))l.text="",l.raws.left=i,l.raws.right="";else{let r=i.match(/^(\s*)([^]*\S)(\s*)$/);l.text=r[2],l.raws.left=r[1],l.raws.right=r[3]}}createTokenizer(){this.tokenizer=o(this.input)}decl(t,l){let i=new e;this.init(i,t[0][2]);let r=t[t.length-1];for(r[0]===";"&&(this.semicolon=!0,t.pop()),i.source.end=this.getPosition(r[3]||r[2]||m(t)),i.source.end.offset++;t[0][0]!=="word";)t.length===1&&this.unknownWord(t),i.raws.before+=t.shift()[1];for(i.source.start=this.getPosition(t[0][2]),i.prop="";t.length;){let b=t[0][0];if(b===":"||b==="space"||b==="comment")break;i.prop+=t.shift()[1]}i.raws.between="";let c;for(;t.length;)if(c=t.shift(),c[0]===":"){i.raws.between+=c[1];break}else c[0]==="word"&&/\w/.test(c[1])&&this.unknownWord([c]),i.raws.between+=c[1];(i.prop[0]==="_"||i.prop[0]==="*")&&(i.raws.before+=i.prop[0],i.prop=i.prop.slice(1));let u=[],g;for(;t.length&&(g=t[0][0],!(g!=="space"&&g!=="comment"));)u.push(t.shift());this.precheckMissedSemicolon(t);for(let b=t.length-1;b>=0;b--){if(c=t[b],c[1].toLowerCase()==="!important"){i.important=!0;let v=this.stringFrom(t,b);v=this.spacesFromEnd(t)+v,v!==" !important"&&(i.raws.important=v);break}else if(c[1].toLowerCase()==="important"){let v=t.slice(0),w="";for(let y=b;y>0;y--){let x=v[y][0];if(w.trim().indexOf("!")===0&&x!=="space")break;w=v.pop()[1]+w}w.trim().indexOf("!")===0&&(i.important=!0,i.raws.important=w,t=v)}if(c[0]!=="space"&&c[0]!=="comment")break}t.some(b=>b[0]!=="space"&&b[0]!=="comment")&&(i.raws.between+=u.map(b=>b[1]).join(""),u=[]),this.raw(i,"value",u.concat(t),l),i.value.includes(":")&&!l&&this.checkMissedSemicolon(t)}doubleColon(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})}emptyRule(t){let l=new f;this.init(l,t[2]),l.selector="",l.raws.between="",this.current=l}end(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(t)}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(t){if(this.spaces+=t[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="")}}getPosition(t){let l=this.input.fromOffset(t);return{column:l.col,line:l.line,offset:t}}init(t,l){this.current.push(t),t.source={input:this.input,start:this.getPosition(l)},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)}other(t){let l=!1,i=null,r=!1,c=null,u=[],g=t[1].startsWith("--"),S=[],b=t;for(;b;){if(i=b[0],S.push(b),i==="("||i==="[")c||(c=b),u.push(i==="("?")":"]");else if(g&&r&&i==="{")c||(c=b),u.push("}");else if(u.length===0)if(i===";")if(r){this.decl(S,g);return}else break;else if(i==="{"){this.rule(S);return}else if(i==="}"){this.tokenizer.back(S.pop()),l=!0;break}else i===":"&&(r=!0);else i===u[u.length-1]&&(u.pop(),u.length===0&&(c=null));b=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(l=!0),u.length>0&&this.unclosedBracket(c),l&&r){if(!g)for(;S.length&&(b=S[S.length-1][0],!(b!=="space"&&b!=="comment"));)this.tokenizer.back(S.pop());this.decl(S,g)}else this.unknownWord(S)}parse(){let t;for(;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()}precheckMissedSemicolon(){}raw(t,l,i,r){let c,u,g=i.length,S="",b=!0,v,w;for(let y=0;y<g;y+=1)c=i[y],u=c[0],u==="space"&&y===g-1&&!r?b=!1:u==="comment"?(w=i[y-1]?i[y-1][0]:"empty",v=i[y+1]?i[y+1][0]:"empty",!a[w]&&!a[v]?S.slice(-1)===","?b=!1:S+=c[1]:b=!1):S+=c[1];if(!b){let y=i.reduce((x,R)=>x+R[1],"");t.raws[l]={raw:y,value:S}}t[l]=S}rule(t){t.pop();let l=new f;this.init(l,t[0][2]),l.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(l,"selector",t),this.current=l}spacesAndCommentsFromEnd(t){let l,i="";for(;t.length&&(l=t[t.length-1][0],!(l!=="space"&&l!=="comment"));)i=t.pop()[1]+i;return i}spacesAndCommentsFromStart(t){let l,i="";for(;t.length&&(l=t[0][0],!(l!=="space"&&l!=="comment"));)i+=t.shift()[1];return i}spacesFromEnd(t){let l,i="";for(;t.length&&(l=t[t.length-1][0],l==="space");)i=t.pop()[1]+i;return i}stringFrom(t,l){let i="";for(let r=l;r<t.length;r++)i+=t[r][1];return t.splice(l,t.length-l),i}unclosedBlock(){let t=this.current.source.start;throw this.input.error("Unclosed block",t.line,t.column)}unclosedBracket(t){throw this.input.error("Unclosed bracket",{offset:t[2]},{offset:t[2]+1})}unexpectedClose(t){throw this.input.error("Unexpected }",{offset:t[2]},{offset:t[2]+1})}unknownWord(t){throw this.input.error("Unknown word",{offset:t[0][2]},{offset:t[0][2]+t[0][1].length})}unnamedAtrule(t,l){throw this.input.error("At-rule without name",{offset:l[2]},{offset:l[2]+l[1].length})}}return Ze=n,Ze}var et,Pr;function Ht(){if(Pr)return et;Pr=1;let e=Q(),o=ds(),p=ve();function d(s,f){let a=new p(s,f),m=new o(a);try{m.parse()}catch(n){throw n}return m.root}return et=d,d.default=d,e.registerParse(d),et}var tt,Ar;function bi(){if(Ar)return tt;Ar=1;let{isClean:e,my:o}=Ft(),p=gi(),d=ye(),s=Q(),f=Bt(),a=zt(),m=Ht(),n=ne();const h={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},t={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},l={Once:!0,postcssPlugin:!0,prepare:!0},i=0;function r(v){return typeof v=="object"&&typeof v.then=="function"}function c(v){let w=!1,y=h[v.type];return v.type==="decl"?w=v.prop.toLowerCase():v.type==="atrule"&&(w=v.name.toLowerCase()),w&&v.append?[y,y+"-"+w,i,y+"Exit",y+"Exit-"+w]:w?[y,y+"-"+w,y+"Exit",y+"Exit-"+w]:v.append?[y,i,y+"Exit"]:[y,y+"Exit"]}function u(v){let w;return v.type==="document"?w=["Document",i,"DocumentExit"]:v.type==="root"?w=["Root",i,"RootExit"]:w=c(v),{eventIndex:0,events:w,iterator:0,node:v,visitorIndex:0,visitors:[]}}function g(v){return v[e]=!1,v.nodes&&v.nodes.forEach(w=>g(w)),v}let S={};class b{constructor(w,y,x){this.stringified=!1,this.processed=!1;let R;if(typeof y=="object"&&y!==null&&(y.type==="root"||y.type==="document"))R=g(y);else if(y instanceof b||y instanceof a)R=g(y.root),y.map&&(typeof x.map>"u"&&(x.map={}),x.map.inline||(x.map.inline=!1),x.map.prev=y.map);else{let P=m;x.syntax&&(P=x.syntax.parse),x.parser&&(P=x.parser),P.parse&&(P=P.parse);try{R=P(y,x)}catch(A){this.processed=!0,this.error=A}R&&!R[o]&&s.rebuild(R)}this.result=new a(w,R,x),this.helpers={...S,postcss:S,result:this.result},this.plugins=this.processor.plugins.map(P=>typeof P=="object"&&P.prepare?{...P,...P.prepare(this.result)}:P)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(w){return this.async().catch(w)}finally(w){return this.async().then(w,w)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(w,y){let x=this.result.lastPlugin;try{y&&y.addToError(w),this.error=w,w.name==="CssSyntaxError"&&!w.plugin?(w.plugin=x.postcssPlugin,w.setMessage()):x.postcssVersion}catch(R){console&&console.error&&console.error(R)}return w}prepareVisitors(){this.listeners={};let w=(y,x,R)=>{this.listeners[x]||(this.listeners[x]=[]),this.listeners[x].push([y,R])};for(let y of this.plugins)if(typeof y=="object")for(let x in y){if(!t[x]&&/^[A-Z]/.test(x))throw new Error(`Unknown event ${x} in ${y.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!l[x])if(typeof y[x]=="object")for(let R in y[x])R==="*"?w(y,x,y[x][R]):w(y,x+"-"+R.toLowerCase(),y[x][R]);else typeof y[x]=="function"&&w(y,x,y[x])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let w=0;w<this.plugins.length;w++){let y=this.plugins[w],x=this.runOnRoot(y);if(r(x))try{await x}catch(R){throw this.handleError(R)}}if(this.prepareVisitors(),this.hasListener){let w=this.result.root;for(;!w[e];){w[e]=!0;let y=[u(w)];for(;y.length>0;){let x=this.visitTick(y);if(r(x))try{await x}catch(R){let P=y[y.length-1].node;throw this.handleError(R,P)}}}if(this.listeners.OnceExit)for(let[y,x]of this.listeners.OnceExit){this.result.lastPlugin=y;try{if(w.type==="document"){let R=w.nodes.map(P=>x(P,this.helpers));await Promise.all(R)}else await x(w,this.helpers)}catch(R){throw this.handleError(R)}}}return this.processed=!0,this.stringify()}runOnRoot(w){this.result.lastPlugin=w;try{if(typeof w=="object"&&w.Once){if(this.result.root.type==="document"){let y=this.result.root.nodes.map(x=>w.Once(x,this.helpers));return r(y[0])?Promise.all(y):y}return w.Once(this.result.root,this.helpers)}else if(typeof w=="function")return w(this.result.root,this.result)}catch(y){throw this.handleError(y)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let w=this.result.opts,y=d;w.syntax&&(y=w.syntax.stringify),w.stringifier&&(y=w.stringifier),y.stringify&&(y=y.stringify);let R=new p(y,this.result.root,this.result.opts).generate();return this.result.css=R[0],this.result.map=R[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 w of this.plugins){let y=this.runOnRoot(w);if(r(y))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let w=this.result.root;for(;!w[e];)w[e]=!0,this.walkSync(w);if(this.listeners.OnceExit)if(w.type==="document")for(let y of w.nodes)this.visitSync(this.listeners.OnceExit,y);else this.visitSync(this.listeners.OnceExit,w)}return this.result}then(w,y){return this.async().then(w,y)}toString(){return this.css}visitSync(w,y){for(let[x,R]of w){this.result.lastPlugin=x;let P;try{P=R(y,this.helpers)}catch(A){throw this.handleError(A,y.proxyOf)}if(y.type!=="root"&&y.type!=="document"&&!y.parent)return!0;if(r(P))throw this.getAsyncError()}}visitTick(w){let y=w[w.length-1],{node:x,visitors:R}=y;if(x.type!=="root"&&x.type!=="document"&&!x.parent){w.pop();return}if(R.length>0&&y.visitorIndex<R.length){let[A,E]=R[y.visitorIndex];y.visitorIndex+=1,y.visitorIndex===R.length&&(y.visitors=[],y.visitorIndex=0),this.result.lastPlugin=A;try{return E(x.toProxy(),this.helpers)}catch(T){throw this.handleError(T,x)}}if(y.iterator!==0){let A=y.iterator,E;for(;E=x.nodes[x.indexes[A]];)if(x.indexes[A]+=1,!E[e]){E[e]=!0,w.push(u(E));return}y.iterator=0,delete x.indexes[A]}let P=y.events;for(;y.eventIndex<P.length;){let A=P[y.eventIndex];if(y.eventIndex+=1,A===i){x.nodes&&x.nodes.length&&(x[e]=!0,y.iterator=x.getIterator());return}else if(this.listeners[A]){y.visitors=this.listeners[A];return}}w.pop()}walkSync(w){w[e]=!0;let y=c(w);for(let x of y)if(x===i)w.nodes&&w.each(R=>{R[e]||this.walkSync(R)});else{let R=this.listeners[x];if(R&&this.visitSync(R,w.toProxy()))return}}warnings(){return this.sync().warnings()}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"}}return b.registerPostcss=v=>{S=v},tt=b,b.default=b,n.registerLazyResult(b),f.registerLazyResult(b),tt}var rt,Nr;function ms(){if(Nr)return rt;Nr=1;let e=gi(),o=ye(),p=Ht();const d=zt();class s{constructor(a,m,n){m=m.toString(),this.stringified=!1,this._processor=a,this._css=m,this._opts=n,this._map=void 0;let h,t=o;this.result=new d(this._processor,h,this._opts),this.result.css=m;let l=this;Object.defineProperty(this.result,"root",{get(){return l.root}});let i=new e(t,h,this._opts,m);if(i.isMap()){let[r,c]=i.generate();r&&(this.result.css=r),c&&(this.result.map=c)}else i.clearAnnotation(),this.result.css=i.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(a){return this.async().catch(a)}finally(a){return this.async().then(a,a)}sync(){if(this.error)throw this.error;return this.result}then(a,m){return this.async().then(a,m)}toString(){return this._css}warnings(){return[]}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 a,m=p;try{a=m(this._css,this._opts)}catch(n){this.error=n}if(this.error)throw this.error;return this._root=a,a}get[Symbol.toStringTag](){return"NoWorkResult"}}return rt=s,s.default=s,rt}var it,Mr;function gs(){if(Mr)return it;Mr=1;let e=ms(),o=bi(),p=Bt(),d=ne();class s{constructor(a=[]){this.version="8.4.38",this.plugins=this.normalize(a)}normalize(a){let m=[];for(let n of a)if(n.postcss===!0?n=n():n.postcss&&(n=n.postcss),typeof n=="object"&&Array.isArray(n.plugins))m=m.concat(n.plugins);else if(typeof n=="object"&&n.postcssPlugin)m.push(n);else if(typeof n=="function")m.push(n);else if(!(typeof n=="object"&&(n.parse||n.stringify)))throw new Error(n+" is not a PostCSS plugin");return m}process(a,m={}){return!this.plugins.length&&!m.parser&&!m.stringifier&&!m.syntax?new e(this,a,m):new o(this,a,m)}use(a){return this.plugins=this.plugins.concat(this.normalize([a])),this}}return it=s,s.default=s,d.registerProcessor(s),p.registerProcessor(s),it}var st,_r;function ys(){if(_r)return st;_r=1;let e=be(),o=mi(),p=xe(),d=jt(),s=ve(),f=ne(),a=Wt();function m(n,h){if(Array.isArray(n))return n.map(i=>m(i));let{inputs:t,...l}=n;if(t){h=[];for(let i of t){let r={...i,__proto__:s.prototype};r.map&&(r.map={...r.map,__proto__:o.prototype}),h.push(r)}}if(l.nodes&&(l.nodes=n.nodes.map(i=>m(i,h))),l.source){let{inputId:i,...r}=l.source;l.source=r,i!=null&&(l.source.input=h[i])}if(l.type==="root")return new f(l);if(l.type==="decl")return new e(l);if(l.type==="rule")return new a(l);if(l.type==="comment")return new p(l);if(l.type==="atrule")return new d(l);throw new Error("Unknown node type: "+n.type)}return st=m,m.default=m,st}var nt,Ir;function ws(){if(Ir)return nt;Ir=1;let e=qt(),o=be(),p=bi(),d=Q(),s=gs(),f=ye(),a=ys(),m=Bt(),n=yi(),h=xe(),t=jt(),l=zt(),i=ve(),r=Ht(),c=wi(),u=Wt(),g=ne(),S=we();function b(...v){return v.length===1&&Array.isArray(v[0])&&(v=v[0]),new s(v)}return b.plugin=function(w,y){let x=!1;function R(...A){console&&console.warn&&!x&&(x=!0,console.warn(w+`: postcss.plugin was deprecated. Migration guide:
25
+ https://evilmartians.com/chronicles/postcss-8-plugin-migration`),me.LANG&&me.LANG.startsWith("cn")&&console.warn(w+`: 里面 postcss.plugin 被弃用. 迁移指南:
26
+ https://www.w3ctech.com/topic/2226`));let E=y(...A);return E.postcssPlugin=w,E.postcssVersion=new s().version,E}let P;return Object.defineProperty(R,"postcss",{get(){return P||(P=R()),P}}),R.process=function(A,E,T){return b([R(T)]).process(A,E)},R},b.stringify=f,b.parse=r,b.fromJSON=a,b.list=c,b.comment=v=>new h(v),b.atRule=v=>new t(v),b.decl=v=>new o(v),b.rule=v=>new u(v),b.root=v=>new g(v),b.document=v=>new m(v),b.CssSyntaxError=e,b.Declaration=o,b.Container=d,b.Processor=s,b.Document=m,b.Comment=h,b.Warning=n,b.AtRule=t,b.Result=l,b.Input=i,b.Rule=u,b.Root=g,b.Node=S,p.registerPostcss(b),nt=b,b.default=b,nt}var bs=ws();const _=ls(bs);_.stringify;_.fromJSON;_.plugin;_.parse;_.list;_.document;_.comment;_.atRule;_.rule;_.decl;_.root;_.CssSyntaxError;_.Declaration;_.Container;_.Processor;_.Document;_.Comment;_.Warning;_.AtRule;_.Result;_.Input;_.Rule;_.Root;_.Node;var vs=Object.defineProperty,xs=(e,o,p)=>o in e?vs(e,o,{enumerable:!0,configurable:!0,writable:!0,value:p}):e[o]=p,k=(e,o,p)=>xs(e,typeof o!="symbol"?o+"":o,p);function Ss(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Rs(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var o=e.default;if(typeof o=="function"){var p=function d(){return this instanceof d?Reflect.construct(o,arguments,this.constructor):o.apply(this,arguments)};p.prototype=o.prototype}else p={};return Object.defineProperty(p,"__esModule",{value:!0}),Object.keys(e).forEach(function(d){var s=Object.getOwnPropertyDescriptor(e,d);Object.defineProperty(p,d,s.get?s:{enumerable:!0,get:function(){return e[d]}})}),p}var he={exports:{}},Lr;function Os(){if(Lr)return he.exports;Lr=1;var e=String,o=function(){return{isColorSupported:!1,reset:e,bold:e,dim:e,italic:e,underline:e,inverse:e,hidden:e,strikethrough:e,black:e,red:e,green:e,yellow:e,blue:e,magenta:e,cyan:e,white:e,gray:e,bgBlack:e,bgRed:e,bgGreen:e,bgYellow:e,bgBlue:e,bgMagenta:e,bgCyan:e,bgWhite:e}};return he.exports=o(),he.exports.createColors=o,he.exports}const Cs={},Es=Object.freeze(Object.defineProperty({__proto__:null,default:Cs},Symbol.toStringTag,{value:"Module"})),B=Rs(Es);var ot,$r;function Gt(){if($r)return ot;$r=1;let e=Os(),o=B;class p extends Error{constructor(s,f,a,m,n,h){super(s),this.name="CssSyntaxError",this.reason=s,n&&(this.file=n),m&&(this.source=m),h&&(this.plugin=h),typeof f<"u"&&typeof a<"u"&&(typeof f=="number"?(this.line=f,this.column=a):(this.line=f.line,this.column=f.column,this.endLine=a.line,this.endColumn=a.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,p)}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(s){if(!this.source)return"";let f=this.source;s==null&&(s=e.isColorSupported),o&&s&&(f=o(f));let a=f.split(/\r?\n/),m=Math.max(this.line-3,0),n=Math.min(this.line+2,a.length),h=String(n).length,t,l;if(s){let{bold:i,gray:r,red:c}=e.createColors(!0);t=u=>i(c(u)),l=u=>r(u)}else t=l=i=>i;return a.slice(m,n).map((i,r)=>{let c=m+1+r,u=" "+(" "+c).slice(-h)+" | ";if(c===this.line){let g=l(u.replace(/\d/g," "))+i.slice(0,this.column-1).replace(/[^\t]/g," ");return t(">")+l(u)+i+`
27
+ `+g+t("^")}return" "+l(u)+i}).join(`
28
+ `)}toString(){let s=this.showSourceCode();return s&&(s=`
29
+
30
+ `+s+`
31
+ `),this.name+": "+this.message+s}}return ot=p,p.default=p,ot}var ce={},Tr;function Jt(){return Tr||(Tr=1,ce.isClean=Symbol("isClean"),ce.my=Symbol("my")),ce}var lt,Ur;function vi(){if(Ur)return lt;Ur=1;const e={after:`
32
+ `,beforeClose:`
33
+ `,beforeComment:`
34
+ `,beforeDecl:`
35
+ `,beforeOpen:" ",beforeRule:`
36
+ `,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function o(d){return d[0].toUpperCase()+d.slice(1)}class p{constructor(s){this.builder=s}atrule(s,f){let a="@"+s.name,m=s.params?this.rawValue(s,"params"):"";if(typeof s.raws.afterName<"u"?a+=s.raws.afterName:m&&(a+=" "),s.nodes)this.block(s,a+m);else{let n=(s.raws.between||"")+(f?";":"");this.builder(a+m+n,s)}}beforeAfter(s,f){let a;s.type==="decl"?a=this.raw(s,null,"beforeDecl"):s.type==="comment"?a=this.raw(s,null,"beforeComment"):f==="before"?a=this.raw(s,null,"beforeRule"):a=this.raw(s,null,"beforeClose");let m=s.parent,n=0;for(;m&&m.type!=="root";)n+=1,m=m.parent;if(a.includes(`
37
+ `)){let h=this.raw(s,null,"indent");if(h.length)for(let t=0;t<n;t++)a+=h}return a}block(s,f){let a=this.raw(s,"between","beforeOpen");this.builder(f+a+"{",s,"start");let m;s.nodes&&s.nodes.length?(this.body(s),m=this.raw(s,"after")):m=this.raw(s,"after","emptyBody"),m&&this.builder(m),this.builder("}",s,"end")}body(s){let f=s.nodes.length-1;for(;f>0&&s.nodes[f].type==="comment";)f-=1;let a=this.raw(s,"semicolon");for(let m=0;m<s.nodes.length;m++){let n=s.nodes[m],h=this.raw(n,"before");h&&this.builder(h),this.stringify(n,f!==m||a)}}comment(s){let f=this.raw(s,"left","commentLeft"),a=this.raw(s,"right","commentRight");this.builder("/*"+f+s.text+a+"*/",s)}decl(s,f){let a=this.raw(s,"between","colon"),m=s.prop+a+this.rawValue(s,"value");s.important&&(m+=s.raws.important||" !important"),f&&(m+=";"),this.builder(m,s)}document(s){this.body(s)}raw(s,f,a){let m;if(a||(a=f),f&&(m=s.raws[f],typeof m<"u"))return m;let n=s.parent;if(a==="before"&&(!n||n.type==="root"&&n.first===s||n&&n.type==="document"))return"";if(!n)return e[a];let h=s.root();if(h.rawCache||(h.rawCache={}),typeof h.rawCache[a]<"u")return h.rawCache[a];if(a==="before"||a==="after")return this.beforeAfter(s,a);{let t="raw"+o(a);this[t]?m=this[t](h,s):h.walk(l=>{if(m=l.raws[f],typeof m<"u")return!1})}return typeof m>"u"&&(m=e[a]),h.rawCache[a]=m,m}rawBeforeClose(s){let f;return s.walk(a=>{if(a.nodes&&a.nodes.length>0&&typeof a.raws.after<"u")return f=a.raws.after,f.includes(`
38
+ `)&&(f=f.replace(/[^\n]+$/,"")),!1}),f&&(f=f.replace(/\S/g,"")),f}rawBeforeComment(s,f){let a;return s.walkComments(m=>{if(typeof m.raws.before<"u")return a=m.raws.before,a.includes(`
39
+ `)&&(a=a.replace(/[^\n]+$/,"")),!1}),typeof a>"u"?a=this.raw(f,null,"beforeDecl"):a&&(a=a.replace(/\S/g,"")),a}rawBeforeDecl(s,f){let a;return s.walkDecls(m=>{if(typeof m.raws.before<"u")return a=m.raws.before,a.includes(`
40
+ `)&&(a=a.replace(/[^\n]+$/,"")),!1}),typeof a>"u"?a=this.raw(f,null,"beforeRule"):a&&(a=a.replace(/\S/g,"")),a}rawBeforeOpen(s){let f;return s.walk(a=>{if(a.type!=="decl"&&(f=a.raws.between,typeof f<"u"))return!1}),f}rawBeforeRule(s){let f;return s.walk(a=>{if(a.nodes&&(a.parent!==s||s.first!==a)&&typeof a.raws.before<"u")return f=a.raws.before,f.includes(`
41
+ `)&&(f=f.replace(/[^\n]+$/,"")),!1}),f&&(f=f.replace(/\S/g,"")),f}rawColon(s){let f;return s.walkDecls(a=>{if(typeof a.raws.between<"u")return f=a.raws.between.replace(/[^\s:]/g,""),!1}),f}rawEmptyBody(s){let f;return s.walk(a=>{if(a.nodes&&a.nodes.length===0&&(f=a.raws.after,typeof f<"u"))return!1}),f}rawIndent(s){if(s.raws.indent)return s.raws.indent;let f;return s.walk(a=>{let m=a.parent;if(m&&m!==s&&m.parent&&m.parent===s&&typeof a.raws.before<"u"){let n=a.raws.before.split(`
42
+ `);return f=n[n.length-1],f=f.replace(/\S/g,""),!1}}),f}rawSemicolon(s){let f;return s.walk(a=>{if(a.nodes&&a.nodes.length&&a.last.type==="decl"&&(f=a.raws.semicolon,typeof f<"u"))return!1}),f}rawValue(s,f){let a=s[f],m=s.raws[f];return m&&m.value===a?m.raw:a}root(s){this.body(s),s.raws.after&&this.builder(s.raws.after)}rule(s){this.block(s,this.rawValue(s,"selector")),s.raws.ownSemicolon&&this.builder(s.raws.ownSemicolon,s,"end")}stringify(s,f){if(!this[s.type])throw new Error("Unknown AST node type "+s.type+". Maybe you need to change PostCSS stringifier.");this[s.type](s,f)}}return lt=p,p.default=p,lt}var at,Dr;function Se(){if(Dr)return at;Dr=1;let e=vi();function o(p,d){new e(d).stringify(p)}return at=o,o.default=o,at}var ut,kr;function Re(){if(kr)return ut;kr=1;let{isClean:e,my:o}=Jt(),p=Gt(),d=vi(),s=Se();function f(m,n){let h=new m.constructor;for(let t in m){if(!Object.prototype.hasOwnProperty.call(m,t)||t==="proxyCache")continue;let l=m[t],i=typeof l;t==="parent"&&i==="object"?n&&(h[t]=n):t==="source"?h[t]=l:Array.isArray(l)?h[t]=l.map(r=>f(r,h)):(i==="object"&&l!==null&&(l=f(l)),h[t]=l)}return h}class a{constructor(n={}){this.raws={},this[e]=!1,this[o]=!0;for(let h in n)if(h==="nodes"){this.nodes=[];for(let t of n[h])typeof t.clone=="function"?this.append(t.clone()):this.append(t)}else this[h]=n[h]}addToError(n){if(n.postcssNode=this,n.stack&&this.source&&/\n\s{4}at /.test(n.stack)){let h=this.source;n.stack=n.stack.replace(/\n\s{4}at /,`$&${h.input.from}:${h.start.line}:${h.start.column}$&`)}return n}after(n){return this.parent.insertAfter(this,n),this}assign(n={}){for(let h in n)this[h]=n[h];return this}before(n){return this.parent.insertBefore(this,n),this}cleanRaws(n){delete this.raws.before,delete this.raws.after,n||delete this.raws.between}clone(n={}){let h=f(this);for(let t in n)h[t]=n[t];return h}cloneAfter(n={}){let h=this.clone(n);return this.parent.insertAfter(this,h),h}cloneBefore(n={}){let h=this.clone(n);return this.parent.insertBefore(this,h),h}error(n,h={}){if(this.source){let{end:t,start:l}=this.rangeBy(h);return this.source.input.error(n,{column:l.column,line:l.line},{column:t.column,line:t.line},h)}return new p(n)}getProxyProcessor(){return{get(n,h){return h==="proxyOf"?n:h==="root"?()=>n.root().toProxy():n[h]},set(n,h,t){return n[h]===t||(n[h]=t,(h==="prop"||h==="value"||h==="name"||h==="params"||h==="important"||h==="text")&&n.markDirty()),!0}}}markDirty(){if(this[e]){this[e]=!1;let n=this;for(;n=n.parent;)n[e]=!1}}next(){if(!this.parent)return;let n=this.parent.index(this);return this.parent.nodes[n+1]}positionBy(n,h){let t=this.source.start;if(n.index)t=this.positionInside(n.index,h);else if(n.word){h=this.toString();let l=h.indexOf(n.word);l!==-1&&(t=this.positionInside(l,h))}return t}positionInside(n,h){let t=h||this.toString(),l=this.source.start.column,i=this.source.start.line;for(let r=0;r<n;r++)t[r]===`
43
+ `?(l=1,i+=1):l+=1;return{column:l,line:i}}prev(){if(!this.parent)return;let n=this.parent.index(this);return this.parent.nodes[n-1]}rangeBy(n){let h={column:this.source.start.column,line:this.source.start.line},t=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:h.column+1,line:h.line};if(n.word){let l=this.toString(),i=l.indexOf(n.word);i!==-1&&(h=this.positionInside(i,l),t=this.positionInside(i+n.word.length,l))}else n.start?h={column:n.start.column,line:n.start.line}:n.index&&(h=this.positionInside(n.index)),n.end?t={column:n.end.column,line:n.end.line}:typeof n.endIndex=="number"?t=this.positionInside(n.endIndex):n.index&&(t=this.positionInside(n.index+1));return(t.line<h.line||t.line===h.line&&t.column<=h.column)&&(t={column:h.column+1,line:h.line}),{end:t,start:h}}raw(n,h){return new d().raw(this,n,h)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...n){if(this.parent){let h=this,t=!1;for(let l of n)l===this?t=!0:t?(this.parent.insertAfter(h,l),h=l):this.parent.insertBefore(h,l);t||this.remove()}return this}root(){let n=this;for(;n.parent&&n.parent.type!=="document";)n=n.parent;return n}toJSON(n,h){let t={},l=h==null;h=h||new Map;let i=0;for(let r in this){if(!Object.prototype.hasOwnProperty.call(this,r)||r==="parent"||r==="proxyCache")continue;let c=this[r];if(Array.isArray(c))t[r]=c.map(u=>typeof u=="object"&&u.toJSON?u.toJSON(null,h):u);else if(typeof c=="object"&&c.toJSON)t[r]=c.toJSON(null,h);else if(r==="source"){let u=h.get(c.input);u==null&&(u=i,h.set(c.input,i),i++),t[r]={end:c.end,inputId:u,start:c.start}}else t[r]=c}return l&&(t.inputs=[...h.keys()].map(r=>r.toJSON())),t}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(n=s){n.stringify&&(n=n.stringify);let h="";return n(this,t=>{h+=t}),h}warn(n,h,t){let l={node:this};for(let i in t)l[i]=t[i];return n.warn(h,l)}get proxyOf(){return this}}return ut=a,a.default=a,ut}var ft,qr;function Oe(){if(qr)return ft;qr=1;let e=Re();class o extends e{constructor(d){d&&typeof d.value<"u"&&typeof d.value!="string"&&(d={...d,value:String(d.value)}),super(d),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}return ft=o,o.default=o,ft}var ht,Fr;function Ps(){if(Fr)return ht;Fr=1;let e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return ht={nanoid:(d=21)=>{let s="",f=d;for(;f--;)s+=e[Math.random()*64|0];return s},customAlphabet:(d,s=21)=>(f=s)=>{let a="",m=f;for(;m--;)a+=d[Math.random()*d.length|0];return a}},ht}var ct,Br;function xi(){if(Br)return ct;Br=1;let{SourceMapConsumer:e,SourceMapGenerator:o}=B,{existsSync:p,readFileSync:d}=B,{dirname:s,join:f}=B;function a(n){return Buffer?Buffer.from(n,"base64").toString():window.atob(n)}class m{constructor(h,t){if(t.map===!1)return;this.loadAnnotation(h),this.inline=this.startWith(this.annotation,"data:");let l=t.map?t.map.prev:void 0,i=this.loadMap(t.from,l);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=s(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||(this.consumerCache=new e(this.text)),this.consumerCache}decodeInline(h){let t=/^data:application\/json;charset=utf-?8;base64,/,l=/^data:application\/json;base64,/,i=/^data:application\/json;charset=utf-?8,/,r=/^data:application\/json,/;if(i.test(h)||r.test(h))return decodeURIComponent(h.substr(RegExp.lastMatch.length));if(t.test(h)||l.test(h))return a(h.substr(RegExp.lastMatch.length));let c=h.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+c)}getAnnotationURL(h){return h.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(h){return typeof h!="object"?!1:typeof h.mappings=="string"||typeof h._mappings=="string"||Array.isArray(h.sections)}loadAnnotation(h){let t=h.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let l=h.lastIndexOf(t.pop()),i=h.indexOf("*/",l);l>-1&&i>-1&&(this.annotation=this.getAnnotationURL(h.substring(l,i)))}loadFile(h){if(this.root=s(h),p(h))return this.mapFile=h,d(h,"utf-8").toString().trim()}loadMap(h,t){if(t===!1)return!1;if(t){if(typeof t=="string")return t;if(typeof t=="function"){let l=t(h);if(l){let i=this.loadFile(l);if(!i)throw new Error("Unable to load previous source map: "+l.toString());return i}}else{if(t instanceof e)return o.fromSourceMap(t).toString();if(t instanceof o)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let l=this.annotation;return h&&(l=f(s(h),l)),this.loadFile(l)}}}startWith(h,t){return h?h.substr(0,t.length)===t:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return ct=m,m.default=m,ct}var pt,zr;function Ce(){if(zr)return pt;zr=1;let{SourceMapConsumer:e,SourceMapGenerator:o}=B,{fileURLToPath:p,pathToFileURL:d}=B,{isAbsolute:s,resolve:f}=B,{nanoid:a}=Ps(),m=B,n=Gt(),h=xi(),t=Symbol("fromOffsetCache"),l=!!(e&&o),i=!!(f&&s);class r{constructor(u,g={}){if(u===null||typeof u>"u"||typeof u=="object"&&!u.toString)throw new Error(`PostCSS received ${u} instead of CSS string`);if(this.css=u.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,g.from&&(!i||/^\w+:\/\//.test(g.from)||s(g.from)?this.file=g.from:this.file=f(g.from)),i&&l){let S=new h(this.css,g);if(S.text){this.map=S;let b=S.consumer().file;!this.file&&b&&(this.file=this.mapResolve(b))}}this.file||(this.id="<input css "+a(6)+">"),this.map&&(this.map.file=this.from)}error(u,g,S,b={}){let v,w,y;if(g&&typeof g=="object"){let R=g,P=S;if(typeof R.offset=="number"){let A=this.fromOffset(R.offset);g=A.line,S=A.col}else g=R.line,S=R.column;if(typeof P.offset=="number"){let A=this.fromOffset(P.offset);w=A.line,y=A.col}else w=P.line,y=P.column}else if(!S){let R=this.fromOffset(g);g=R.line,S=R.col}let x=this.origin(g,S,w,y);return x?v=new n(u,x.endLine===void 0?x.line:{column:x.column,line:x.line},x.endLine===void 0?x.column:{column:x.endColumn,line:x.endLine},x.source,x.file,b.plugin):v=new n(u,w===void 0?g:{column:S,line:g},w===void 0?S:{column:y,line:w},this.css,this.file,b.plugin),v.input={column:S,endColumn:y,endLine:w,line:g,source:this.css},this.file&&(d&&(v.input.url=d(this.file).toString()),v.input.file=this.file),v}fromOffset(u){let g,S;if(this[t])S=this[t];else{let v=this.css.split(`
44
+ `);S=new Array(v.length);let w=0;for(let y=0,x=v.length;y<x;y++)S[y]=w,w+=v[y].length+1;this[t]=S}g=S[S.length-1];let b=0;if(u>=g)b=S.length-1;else{let v=S.length-2,w;for(;b<v;)if(w=b+(v-b>>1),u<S[w])v=w-1;else if(u>=S[w+1])b=w+1;else{b=w;break}}return{col:u-S[b]+1,line:b+1}}mapResolve(u){return/^\w+:\/\//.test(u)?u:f(this.map.consumer().sourceRoot||this.map.root||".",u)}origin(u,g,S,b){if(!this.map)return!1;let v=this.map.consumer(),w=v.originalPositionFor({column:g,line:u});if(!w.source)return!1;let y;typeof S=="number"&&(y=v.originalPositionFor({column:b,line:S}));let x;s(w.source)?x=d(w.source):x=new URL(w.source,this.map.consumer().sourceRoot||d(this.map.mapFile));let R={column:w.column,endColumn:y&&y.column,endLine:y&&y.line,line:w.line,url:x.toString()};if(x.protocol==="file:")if(p)R.file=p(x);else throw new Error("file: protocol is not available in this PostCSS build");let P=v.sourceContentFor(w.source);return P&&(R.source=P),R}toJSON(){let u={};for(let g of["hasBOM","css","file","id"])this[g]!=null&&(u[g]=this[g]);return this.map&&(u.map={...this.map},u.map.consumerCache&&(u.map.consumerCache=void 0)),u}get from(){return this.file||this.id}}return pt=r,r.default=r,m&&m.registerInput&&m.registerInput(r),pt}var dt,jr;function Si(){if(jr)return dt;jr=1;let{SourceMapConsumer:e,SourceMapGenerator:o}=B,{dirname:p,relative:d,resolve:s,sep:f}=B,{pathToFileURL:a}=B,m=Ce(),n=!!(e&&o),h=!!(p&&s&&d&&f);class t{constructor(i,r,c,u){this.stringify=i,this.mapOpts=c.map||{},this.root=r,this.opts=c,this.css=u,this.originalCSS=u,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let i;this.isInline()?i="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?i=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?i=this.mapOpts.annotation(this.opts.to,this.root):i=this.outputFile()+".map";let r=`
45
+ `;this.css.includes(`\r
46
+ `)&&(r=`\r
47
+ `),this.css+=r+"/*# sourceMappingURL="+i+" */"}applyPrevMaps(){for(let i of this.previous()){let r=this.toUrl(this.path(i.file)),c=i.root||p(i.file),u;this.mapOpts.sourcesContent===!1?(u=new e(i.text),u.sourcesContent&&(u.sourcesContent=null)):u=i.consumer(),this.map.applySourceMap(u,r,this.toUrl(this.path(c)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let i;for(let r=this.root.nodes.length-1;r>=0;r--)i=this.root.nodes[r],i.type==="comment"&&i.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(r)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),h&&n&&this.isMap())return this.generateMap();{let i="";return this.stringify(this.root,r=>{i+=r}),[i]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let i=this.previous()[0].consumer();i.file=this.outputFile(),this.map=o.fromSourceMap(i,{ignoreInvalidMapping:!0})}else this.map=new o({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new o({file:this.outputFile(),ignoreInvalidMapping:!0});let i=1,r=1,c="<no source>",u={generated:{column:0,line:0},original:{column:0,line:0},source:""},g,S;this.stringify(this.root,(b,v,w)=>{if(this.css+=b,v&&w!=="end"&&(u.generated.line=i,u.generated.column=r-1,v.source&&v.source.start?(u.source=this.sourcePath(v),u.original.line=v.source.start.line,u.original.column=v.source.start.column-1,this.map.addMapping(u)):(u.source=c,u.original.line=1,u.original.column=0,this.map.addMapping(u))),g=b.match(/\n/g),g?(i+=g.length,S=b.lastIndexOf(`
48
+ `),r=b.length-S):r+=b.length,v&&w!=="start"){let y=v.parent||{raws:{}};(!(v.type==="decl"||v.type==="atrule"&&!v.nodes)||v!==y.last||y.raws.semicolon)&&(v.source&&v.source.end?(u.source=this.sourcePath(v),u.original.line=v.source.end.line,u.original.column=v.source.end.column-1,u.generated.line=i,u.generated.column=r-2,this.map.addMapping(u)):(u.source=c,u.original.line=1,u.original.column=0,u.generated.line=i,u.generated.column=r-1,this.map.addMapping(u)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(i=>i.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let i=this.mapOpts.annotation;return typeof i<"u"&&i!==!0?!1:this.previous().length?this.previous().some(r=>r.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(i=>i.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(i){if(this.mapOpts.absolute||i.charCodeAt(0)===60||/^\w+:\/\//.test(i))return i;let r=this.memoizedPaths.get(i);if(r)return r;let c=this.opts.to?p(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(c=p(s(c,this.mapOpts.annotation)));let u=d(c,i);return this.memoizedPaths.set(i,u),u}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(i=>{if(i.source&&i.source.input.map){let r=i.source.input.map;this.previousMaps.includes(r)||this.previousMaps.push(r)}});else{let i=new m(this.originalCSS,this.opts);i.map&&this.previousMaps.push(i.map)}return this.previousMaps}setSourcesContent(){let i={};if(this.root)this.root.walk(r=>{if(r.source){let c=r.source.input.from;if(c&&!i[c]){i[c]=!0;let u=this.usesFileUrls?this.toFileUrl(c):this.toUrl(this.path(c));this.map.setSourceContent(u,r.source.input.css)}}});else if(this.css){let r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}}sourcePath(i){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(i.source.input.from):this.toUrl(this.path(i.source.input.from))}toBase64(i){return Buffer?Buffer.from(i).toString("base64"):window.btoa(unescape(encodeURIComponent(i)))}toFileUrl(i){let r=this.memoizedFileURLs.get(i);if(r)return r;if(a){let c=a(i).toString();return this.memoizedFileURLs.set(i,c),c}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(i){let r=this.memoizedURLs.get(i);if(r)return r;f==="\\"&&(i=i.replace(/\\/g,"/"));let c=encodeURI(i).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(i,c),c}}return dt=t,dt}var mt,Wr;function Ee(){if(Wr)return mt;Wr=1;let e=Re();class o extends e{constructor(d){super(d),this.type="comment"}}return mt=o,o.default=o,mt}var gt,Hr;function Y(){if(Hr)return gt;Hr=1;let{isClean:e,my:o}=Jt(),p=Oe(),d=Ee(),s=Re(),f,a,m,n;function h(i){return i.map(r=>(r.nodes&&(r.nodes=h(r.nodes)),delete r.source,r))}function t(i){if(i[e]=!1,i.proxyOf.nodes)for(let r of i.proxyOf.nodes)t(r)}class l extends s{append(...r){for(let c of r){let u=this.normalize(c,this.last);for(let g of u)this.proxyOf.nodes.push(g)}return this.markDirty(),this}cleanRaws(r){if(super.cleanRaws(r),this.nodes)for(let c of this.nodes)c.cleanRaws(r)}each(r){if(!this.proxyOf.nodes)return;let c=this.getIterator(),u,g;for(;this.indexes[c]<this.proxyOf.nodes.length&&(u=this.indexes[c],g=r(this.proxyOf.nodes[u],u),g!==!1);)this.indexes[c]+=1;return delete this.indexes[c],g}every(r){return this.nodes.every(r)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let r=this.lastEach;return this.indexes[r]=0,r}getProxyProcessor(){return{get(r,c){return c==="proxyOf"?r:r[c]?c==="each"||typeof c=="string"&&c.startsWith("walk")?(...u)=>r[c](...u.map(g=>typeof g=="function"?(S,b)=>g(S.toProxy(),b):g)):c==="every"||c==="some"?u=>r[c]((g,...S)=>u(g.toProxy(),...S)):c==="root"?()=>r.root().toProxy():c==="nodes"?r.nodes.map(u=>u.toProxy()):c==="first"||c==="last"?r[c].toProxy():r[c]:r[c]},set(r,c,u){return r[c]===u||(r[c]=u,(c==="name"||c==="params"||c==="selector")&&r.markDirty()),!0}}}index(r){return typeof r=="number"?r:(r.proxyOf&&(r=r.proxyOf),this.proxyOf.nodes.indexOf(r))}insertAfter(r,c){let u=this.index(r),g=this.normalize(c,this.proxyOf.nodes[u]).reverse();u=this.index(r);for(let b of g)this.proxyOf.nodes.splice(u+1,0,b);let S;for(let b in this.indexes)S=this.indexes[b],u<S&&(this.indexes[b]=S+g.length);return this.markDirty(),this}insertBefore(r,c){let u=this.index(r),g=u===0?"prepend":!1,S=this.normalize(c,this.proxyOf.nodes[u],g).reverse();u=this.index(r);for(let v of S)this.proxyOf.nodes.splice(u,0,v);let b;for(let v in this.indexes)b=this.indexes[v],u<=b&&(this.indexes[v]=b+S.length);return this.markDirty(),this}normalize(r,c){if(typeof r=="string")r=h(f(r).nodes);else if(typeof r>"u")r=[];else if(Array.isArray(r)){r=r.slice(0);for(let g of r)g.parent&&g.parent.removeChild(g,"ignore")}else if(r.type==="root"&&this.type!=="document"){r=r.nodes.slice(0);for(let g of r)g.parent&&g.parent.removeChild(g,"ignore")}else if(r.type)r=[r];else if(r.prop){if(typeof r.value>"u")throw new Error("Value field is missed in node creation");typeof r.value!="string"&&(r.value=String(r.value)),r=[new p(r)]}else if(r.selector)r=[new a(r)];else if(r.name)r=[new m(r)];else if(r.text)r=[new d(r)];else throw new Error("Unknown node type in node creation");return r.map(g=>(g[o]||l.rebuild(g),g=g.proxyOf,g.parent&&g.parent.removeChild(g),g[e]&&t(g),typeof g.raws.before>"u"&&c&&typeof c.raws.before<"u"&&(g.raws.before=c.raws.before.replace(/\S/g,"")),g.parent=this.proxyOf,g))}prepend(...r){r=r.reverse();for(let c of r){let u=this.normalize(c,this.first,"prepend").reverse();for(let g of u)this.proxyOf.nodes.unshift(g);for(let g in this.indexes)this.indexes[g]=this.indexes[g]+u.length}return this.markDirty(),this}push(r){return r.parent=this,this.proxyOf.nodes.push(r),this}removeAll(){for(let r of this.proxyOf.nodes)r.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(r){r=this.index(r),this.proxyOf.nodes[r].parent=void 0,this.proxyOf.nodes.splice(r,1);let c;for(let u in this.indexes)c=this.indexes[u],c>=r&&(this.indexes[u]=c-1);return this.markDirty(),this}replaceValues(r,c,u){return u||(u=c,c={}),this.walkDecls(g=>{c.props&&!c.props.includes(g.prop)||c.fast&&!g.value.includes(c.fast)||(g.value=g.value.replace(r,u))}),this.markDirty(),this}some(r){return this.nodes.some(r)}walk(r){return this.each((c,u)=>{let g;try{g=r(c,u)}catch(S){throw c.addToError(S)}return g!==!1&&c.walk&&(g=c.walk(r)),g})}walkAtRules(r,c){return c?r instanceof RegExp?this.walk((u,g)=>{if(u.type==="atrule"&&r.test(u.name))return c(u,g)}):this.walk((u,g)=>{if(u.type==="atrule"&&u.name===r)return c(u,g)}):(c=r,this.walk((u,g)=>{if(u.type==="atrule")return c(u,g)}))}walkComments(r){return this.walk((c,u)=>{if(c.type==="comment")return r(c,u)})}walkDecls(r,c){return c?r instanceof RegExp?this.walk((u,g)=>{if(u.type==="decl"&&r.test(u.prop))return c(u,g)}):this.walk((u,g)=>{if(u.type==="decl"&&u.prop===r)return c(u,g)}):(c=r,this.walk((u,g)=>{if(u.type==="decl")return c(u,g)}))}walkRules(r,c){return c?r instanceof RegExp?this.walk((u,g)=>{if(u.type==="rule"&&r.test(u.selector))return c(u,g)}):this.walk((u,g)=>{if(u.type==="rule"&&u.selector===r)return c(u,g)}):(c=r,this.walk((u,g)=>{if(u.type==="rule")return c(u,g)}))}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]}}return l.registerParse=i=>{f=i},l.registerRule=i=>{a=i},l.registerAtRule=i=>{m=i},l.registerRoot=i=>{n=i},gt=l,l.default=l,l.rebuild=i=>{i.type==="atrule"?Object.setPrototypeOf(i,m.prototype):i.type==="rule"?Object.setPrototypeOf(i,a.prototype):i.type==="decl"?Object.setPrototypeOf(i,p.prototype):i.type==="comment"?Object.setPrototypeOf(i,d.prototype):i.type==="root"&&Object.setPrototypeOf(i,n.prototype),i[o]=!0,i.nodes&&i.nodes.forEach(r=>{l.rebuild(r)})},gt}var yt,Gr;function Vt(){if(Gr)return yt;Gr=1;let e=Y(),o,p;class d extends e{constructor(f){super({type:"document",...f}),this.nodes||(this.nodes=[])}toResult(f={}){return new o(new p,this,f).stringify()}}return d.registerLazyResult=s=>{o=s},d.registerProcessor=s=>{p=s},yt=d,d.default=d,yt}var wt,Jr;function Ri(){if(Jr)return wt;Jr=1;class e{constructor(p,d={}){if(this.type="warning",this.text=p,d.node&&d.node.source){let s=d.node.rangeBy(d);this.line=s.start.line,this.column=s.start.column,this.endLine=s.end.line,this.endColumn=s.end.column}for(let s in d)this[s]=d[s]}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}}return wt=e,e.default=e,wt}var bt,Vr;function Kt(){if(Vr)return bt;Vr=1;let e=Ri();class o{constructor(d,s,f){this.processor=d,this.messages=[],this.root=s,this.opts=f,this.css=void 0,this.map=void 0}toString(){return this.css}warn(d,s={}){s.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(s.plugin=this.lastPlugin.postcssPlugin);let f=new e(d,s);return this.messages.push(f),f}warnings(){return this.messages.filter(d=>d.type==="warning")}get content(){return this.css}}return bt=o,o.default=o,bt}var vt,Kr;function As(){if(Kr)return vt;Kr=1;const e=39,o=34,p=92,d=47,s=10,f=32,a=12,m=9,n=13,h=91,t=93,l=40,i=41,r=123,c=125,u=59,g=42,S=58,b=64,v=/[\t\n\f\r "#'()/;[\\\]{}]/g,w=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,y=/.[\r\n"'(/\\]/,x=/[\da-f]/i;return vt=function(P,A={}){let E=P.css.valueOf(),T=A.ignoreErrors,N,O,te,G,z,L,U,re,$,M,ie=E.length,C=0,J=[],j=[];function Pe(){return C}function V(D){throw P.error("Unclosed "+D,C)}function Ae(){return j.length===0&&C>=ie}function Ne(D){if(j.length)return j.pop();if(C>=ie)return;let K=D?D.ignoreUnclosed:!1;switch(N=E.charCodeAt(C),N){case s:case f:case m:case n:case a:{O=C;do O+=1,N=E.charCodeAt(O);while(N===f||N===s||N===m||N===n||N===a);M=["space",E.slice(C,O)],C=O-1;break}case h:case t:case r:case c:case S:case u:case i:{let se=String.fromCharCode(N);M=[se,se,C];break}case l:{if(re=J.length?J.pop()[1]:"",$=E.charCodeAt(C+1),re==="url"&&$!==e&&$!==o&&$!==f&&$!==s&&$!==m&&$!==a&&$!==n){O=C;do{if(L=!1,O=E.indexOf(")",O+1),O===-1)if(T||K){O=C;break}else V("bracket");for(U=O;E.charCodeAt(U-1)===p;)U-=1,L=!L}while(L);M=["brackets",E.slice(C,O+1),C,O],C=O}else O=E.indexOf(")",C+1),G=E.slice(C,O+1),O===-1||y.test(G)?M=["(","(",C]:(M=["brackets",G,C,O],C=O);break}case e:case o:{te=N===e?"'":'"',O=C;do{if(L=!1,O=E.indexOf(te,O+1),O===-1)if(T||K){O=C+1;break}else V("string");for(U=O;E.charCodeAt(U-1)===p;)U-=1,L=!L}while(L);M=["string",E.slice(C,O+1),C,O],C=O;break}case b:{v.lastIndex=C+1,v.test(E),v.lastIndex===0?O=E.length-1:O=v.lastIndex-2,M=["at-word",E.slice(C,O+1),C,O],C=O;break}case p:{for(O=C,z=!0;E.charCodeAt(O+1)===p;)O+=1,z=!z;if(N=E.charCodeAt(O+1),z&&N!==d&&N!==f&&N!==s&&N!==m&&N!==n&&N!==a&&(O+=1,x.test(E.charAt(O)))){for(;x.test(E.charAt(O+1));)O+=1;E.charCodeAt(O+1)===f&&(O+=1)}M=["word",E.slice(C,O+1),C,O],C=O;break}default:{N===d&&E.charCodeAt(C+1)===g?(O=E.indexOf("*/",C+2)+1,O===0&&(T||K?O=E.length:V("comment")),M=["comment",E.slice(C,O+1),C,O],C=O):(w.lastIndex=C+1,w.test(E),w.lastIndex===0?O=E.length-1:O=w.lastIndex-2,M=["word",E.slice(C,O+1),C,O],J.push(M),C=O);break}}return C++,M}function Me(D){j.push(D)}return{back:Me,endOfFile:Ae,nextToken:Ne,position:Pe}},vt}var xt,Qr;function Qt(){if(Qr)return xt;Qr=1;let e=Y();class o extends e{constructor(d){super(d),this.type="atrule"}append(...d){return this.proxyOf.nodes||(this.nodes=[]),super.append(...d)}prepend(...d){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...d)}}return xt=o,o.default=o,e.registerAtRule(o),xt}var St,Yr;function oe(){if(Yr)return St;Yr=1;let e=Y(),o,p;class d extends e{constructor(f){super(f),this.type="root",this.nodes||(this.nodes=[])}normalize(f,a,m){let n=super.normalize(f);if(a){if(m==="prepend")this.nodes.length>1?a.raws.before=this.nodes[1].raws.before:delete a.raws.before;else if(this.first!==a)for(let h of n)h.raws.before=a.raws.before}return n}removeChild(f,a){let m=this.index(f);return!a&&m===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[m].raws.before),super.removeChild(f)}toResult(f={}){return new o(new p,this,f).stringify()}}return d.registerLazyResult=s=>{o=s},d.registerProcessor=s=>{p=s},St=d,d.default=d,e.registerRoot(d),St}var Rt,Xr;function Oi(){if(Xr)return Rt;Xr=1;let e={comma(o){return e.split(o,[","],!0)},space(o){let p=[" ",`
49
+ `," "];return e.split(o,p)},split(o,p,d){let s=[],f="",a=!1,m=0,n=!1,h="",t=!1;for(let l of o)t?t=!1:l==="\\"?t=!0:n?l===h&&(n=!1):l==='"'||l==="'"?(n=!0,h=l):l==="("?m+=1:l===")"?m>0&&(m-=1):m===0&&p.includes(l)&&(a=!0),a?(f!==""&&s.push(f.trim()),f="",a=!1):f+=l;return(d||f!=="")&&s.push(f.trim()),s}};return Rt=e,e.default=e,Rt}var Ot,Zr;function Yt(){if(Zr)return Ot;Zr=1;let e=Y(),o=Oi();class p extends e{constructor(s){super(s),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return o.comma(this.selector)}set selectors(s){let f=this.selector?this.selector.match(/,\s*/):null,a=f?f[0]:","+this.raw("between","beforeOpen");this.selector=s.join(a)}}return Ot=p,p.default=p,e.registerRule(p),Ot}var Ct,ei;function Ns(){if(ei)return Ct;ei=1;let e=Oe(),o=As(),p=Ee(),d=Qt(),s=oe(),f=Yt();const a={empty:!0,space:!0};function m(h){for(let t=h.length-1;t>=0;t--){let l=h[t],i=l[3]||l[2];if(i)return i}}class n{constructor(t){this.input=t,this.root=new s,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:t,start:{column:1,line:1,offset:0}}}atrule(t){let l=new d;l.name=t[1].slice(1),l.name===""&&this.unnamedAtrule(l,t),this.init(l,t[2]);let i,r,c,u=!1,g=!1,S=[],b=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),i=t[0],i==="("||i==="["?b.push(i==="("?")":"]"):i==="{"&&b.length>0?b.push("}"):i===b[b.length-1]&&b.pop(),b.length===0)if(i===";"){l.source.end=this.getPosition(t[2]),l.source.end.offset++,this.semicolon=!0;break}else if(i==="{"){g=!0;break}else if(i==="}"){if(S.length>0){for(c=S.length-1,r=S[c];r&&r[0]==="space";)r=S[--c];r&&(l.source.end=this.getPosition(r[3]||r[2]),l.source.end.offset++)}this.end(t);break}else S.push(t);else S.push(t);if(this.tokenizer.endOfFile()){u=!0;break}}l.raws.between=this.spacesAndCommentsFromEnd(S),S.length?(l.raws.afterName=this.spacesAndCommentsFromStart(S),this.raw(l,"params",S),u&&(t=S[S.length-1],l.source.end=this.getPosition(t[3]||t[2]),l.source.end.offset++,this.spaces=l.raws.between,l.raws.between="")):(l.raws.afterName="",l.params=""),g&&(l.nodes=[],this.current=l)}checkMissedSemicolon(t){let l=this.colon(t);if(l===!1)return;let i=0,r;for(let c=l-1;c>=0&&(r=t[c],!(r[0]!=="space"&&(i+=1,i===2)));c--);throw this.input.error("Missed semicolon",r[0]==="word"?r[3]+1:r[2])}colon(t){let l=0,i,r,c;for(let[u,g]of t.entries()){if(i=g,r=i[0],r==="("&&(l+=1),r===")"&&(l-=1),l===0&&r===":")if(!c)this.doubleColon(i);else{if(c[0]==="word"&&c[1]==="progid")continue;return u}c=i}return!1}comment(t){let l=new p;this.init(l,t[2]),l.source.end=this.getPosition(t[3]||t[2]),l.source.end.offset++;let i=t[1].slice(2,-2);if(/^\s*$/.test(i))l.text="",l.raws.left=i,l.raws.right="";else{let r=i.match(/^(\s*)([^]*\S)(\s*)$/);l.text=r[2],l.raws.left=r[1],l.raws.right=r[3]}}createTokenizer(){this.tokenizer=o(this.input)}decl(t,l){let i=new e;this.init(i,t[0][2]);let r=t[t.length-1];for(r[0]===";"&&(this.semicolon=!0,t.pop()),i.source.end=this.getPosition(r[3]||r[2]||m(t)),i.source.end.offset++;t[0][0]!=="word";)t.length===1&&this.unknownWord(t),i.raws.before+=t.shift()[1];for(i.source.start=this.getPosition(t[0][2]),i.prop="";t.length;){let b=t[0][0];if(b===":"||b==="space"||b==="comment")break;i.prop+=t.shift()[1]}i.raws.between="";let c;for(;t.length;)if(c=t.shift(),c[0]===":"){i.raws.between+=c[1];break}else c[0]==="word"&&/\w/.test(c[1])&&this.unknownWord([c]),i.raws.between+=c[1];(i.prop[0]==="_"||i.prop[0]==="*")&&(i.raws.before+=i.prop[0],i.prop=i.prop.slice(1));let u=[],g;for(;t.length&&(g=t[0][0],!(g!=="space"&&g!=="comment"));)u.push(t.shift());this.precheckMissedSemicolon(t);for(let b=t.length-1;b>=0;b--){if(c=t[b],c[1].toLowerCase()==="!important"){i.important=!0;let v=this.stringFrom(t,b);v=this.spacesFromEnd(t)+v,v!==" !important"&&(i.raws.important=v);break}else if(c[1].toLowerCase()==="important"){let v=t.slice(0),w="";for(let y=b;y>0;y--){let x=v[y][0];if(w.trim().indexOf("!")===0&&x!=="space")break;w=v.pop()[1]+w}w.trim().indexOf("!")===0&&(i.important=!0,i.raws.important=w,t=v)}if(c[0]!=="space"&&c[0]!=="comment")break}t.some(b=>b[0]!=="space"&&b[0]!=="comment")&&(i.raws.between+=u.map(b=>b[1]).join(""),u=[]),this.raw(i,"value",u.concat(t),l),i.value.includes(":")&&!l&&this.checkMissedSemicolon(t)}doubleColon(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})}emptyRule(t){let l=new f;this.init(l,t[2]),l.selector="",l.raws.between="",this.current=l}end(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(t)}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(t){if(this.spaces+=t[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="")}}getPosition(t){let l=this.input.fromOffset(t);return{column:l.col,line:l.line,offset:t}}init(t,l){this.current.push(t),t.source={input:this.input,start:this.getPosition(l)},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)}other(t){let l=!1,i=null,r=!1,c=null,u=[],g=t[1].startsWith("--"),S=[],b=t;for(;b;){if(i=b[0],S.push(b),i==="("||i==="[")c||(c=b),u.push(i==="("?")":"]");else if(g&&r&&i==="{")c||(c=b),u.push("}");else if(u.length===0)if(i===";")if(r){this.decl(S,g);return}else break;else if(i==="{"){this.rule(S);return}else if(i==="}"){this.tokenizer.back(S.pop()),l=!0;break}else i===":"&&(r=!0);else i===u[u.length-1]&&(u.pop(),u.length===0&&(c=null));b=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(l=!0),u.length>0&&this.unclosedBracket(c),l&&r){if(!g)for(;S.length&&(b=S[S.length-1][0],!(b!=="space"&&b!=="comment"));)this.tokenizer.back(S.pop());this.decl(S,g)}else this.unknownWord(S)}parse(){let t;for(;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()}precheckMissedSemicolon(){}raw(t,l,i,r){let c,u,g=i.length,S="",b=!0,v,w;for(let y=0;y<g;y+=1)c=i[y],u=c[0],u==="space"&&y===g-1&&!r?b=!1:u==="comment"?(w=i[y-1]?i[y-1][0]:"empty",v=i[y+1]?i[y+1][0]:"empty",!a[w]&&!a[v]?S.slice(-1)===","?b=!1:S+=c[1]:b=!1):S+=c[1];if(!b){let y=i.reduce((x,R)=>x+R[1],"");t.raws[l]={raw:y,value:S}}t[l]=S}rule(t){t.pop();let l=new f;this.init(l,t[0][2]),l.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(l,"selector",t),this.current=l}spacesAndCommentsFromEnd(t){let l,i="";for(;t.length&&(l=t[t.length-1][0],!(l!=="space"&&l!=="comment"));)i=t.pop()[1]+i;return i}spacesAndCommentsFromStart(t){let l,i="";for(;t.length&&(l=t[0][0],!(l!=="space"&&l!=="comment"));)i+=t.shift()[1];return i}spacesFromEnd(t){let l,i="";for(;t.length&&(l=t[t.length-1][0],l==="space");)i=t.pop()[1]+i;return i}stringFrom(t,l){let i="";for(let r=l;r<t.length;r++)i+=t[r][1];return t.splice(l,t.length-l),i}unclosedBlock(){let t=this.current.source.start;throw this.input.error("Unclosed block",t.line,t.column)}unclosedBracket(t){throw this.input.error("Unclosed bracket",{offset:t[2]},{offset:t[2]+1})}unexpectedClose(t){throw this.input.error("Unexpected }",{offset:t[2]},{offset:t[2]+1})}unknownWord(t){throw this.input.error("Unknown word",{offset:t[0][2]},{offset:t[0][2]+t[0][1].length})}unnamedAtrule(t,l){throw this.input.error("At-rule without name",{offset:l[2]},{offset:l[2]+l[1].length})}}return Ct=n,Ct}var Et,ti;function Xt(){if(ti)return Et;ti=1;let e=Y(),o=Ns(),p=Ce();function d(s,f){let a=new p(s,f),m=new o(a);try{m.parse()}catch(n){throw n}return m.root}return Et=d,d.default=d,e.registerParse(d),Et}var Pt,ri;function Ci(){if(ri)return Pt;ri=1;let{isClean:e,my:o}=Jt(),p=Si(),d=Se(),s=Y(),f=Vt(),a=Kt(),m=Xt(),n=oe();const h={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},t={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},l={Once:!0,postcssPlugin:!0,prepare:!0},i=0;function r(v){return typeof v=="object"&&typeof v.then=="function"}function c(v){let w=!1,y=h[v.type];return v.type==="decl"?w=v.prop.toLowerCase():v.type==="atrule"&&(w=v.name.toLowerCase()),w&&v.append?[y,y+"-"+w,i,y+"Exit",y+"Exit-"+w]:w?[y,y+"-"+w,y+"Exit",y+"Exit-"+w]:v.append?[y,i,y+"Exit"]:[y,y+"Exit"]}function u(v){let w;return v.type==="document"?w=["Document",i,"DocumentExit"]:v.type==="root"?w=["Root",i,"RootExit"]:w=c(v),{eventIndex:0,events:w,iterator:0,node:v,visitorIndex:0,visitors:[]}}function g(v){return v[e]=!1,v.nodes&&v.nodes.forEach(w=>g(w)),v}let S={};class b{constructor(w,y,x){this.stringified=!1,this.processed=!1;let R;if(typeof y=="object"&&y!==null&&(y.type==="root"||y.type==="document"))R=g(y);else if(y instanceof b||y instanceof a)R=g(y.root),y.map&&(typeof x.map>"u"&&(x.map={}),x.map.inline||(x.map.inline=!1),x.map.prev=y.map);else{let P=m;x.syntax&&(P=x.syntax.parse),x.parser&&(P=x.parser),P.parse&&(P=P.parse);try{R=P(y,x)}catch(A){this.processed=!0,this.error=A}R&&!R[o]&&s.rebuild(R)}this.result=new a(w,R,x),this.helpers={...S,postcss:S,result:this.result},this.plugins=this.processor.plugins.map(P=>typeof P=="object"&&P.prepare?{...P,...P.prepare(this.result)}:P)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(w){return this.async().catch(w)}finally(w){return this.async().then(w,w)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(w,y){let x=this.result.lastPlugin;try{y&&y.addToError(w),this.error=w,w.name==="CssSyntaxError"&&!w.plugin?(w.plugin=x.postcssPlugin,w.setMessage()):x.postcssVersion}catch(R){console&&console.error&&console.error(R)}return w}prepareVisitors(){this.listeners={};let w=(y,x,R)=>{this.listeners[x]||(this.listeners[x]=[]),this.listeners[x].push([y,R])};for(let y of this.plugins)if(typeof y=="object")for(let x in y){if(!t[x]&&/^[A-Z]/.test(x))throw new Error(`Unknown event ${x} in ${y.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!l[x])if(typeof y[x]=="object")for(let R in y[x])R==="*"?w(y,x,y[x][R]):w(y,x+"-"+R.toLowerCase(),y[x][R]);else typeof y[x]=="function"&&w(y,x,y[x])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let w=0;w<this.plugins.length;w++){let y=this.plugins[w],x=this.runOnRoot(y);if(r(x))try{await x}catch(R){throw this.handleError(R)}}if(this.prepareVisitors(),this.hasListener){let w=this.result.root;for(;!w[e];){w[e]=!0;let y=[u(w)];for(;y.length>0;){let x=this.visitTick(y);if(r(x))try{await x}catch(R){let P=y[y.length-1].node;throw this.handleError(R,P)}}}if(this.listeners.OnceExit)for(let[y,x]of this.listeners.OnceExit){this.result.lastPlugin=y;try{if(w.type==="document"){let R=w.nodes.map(P=>x(P,this.helpers));await Promise.all(R)}else await x(w,this.helpers)}catch(R){throw this.handleError(R)}}}return this.processed=!0,this.stringify()}runOnRoot(w){this.result.lastPlugin=w;try{if(typeof w=="object"&&w.Once){if(this.result.root.type==="document"){let y=this.result.root.nodes.map(x=>w.Once(x,this.helpers));return r(y[0])?Promise.all(y):y}return w.Once(this.result.root,this.helpers)}else if(typeof w=="function")return w(this.result.root,this.result)}catch(y){throw this.handleError(y)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let w=this.result.opts,y=d;w.syntax&&(y=w.syntax.stringify),w.stringifier&&(y=w.stringifier),y.stringify&&(y=y.stringify);let R=new p(y,this.result.root,this.result.opts).generate();return this.result.css=R[0],this.result.map=R[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 w of this.plugins){let y=this.runOnRoot(w);if(r(y))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let w=this.result.root;for(;!w[e];)w[e]=!0,this.walkSync(w);if(this.listeners.OnceExit)if(w.type==="document")for(let y of w.nodes)this.visitSync(this.listeners.OnceExit,y);else this.visitSync(this.listeners.OnceExit,w)}return this.result}then(w,y){return this.async().then(w,y)}toString(){return this.css}visitSync(w,y){for(let[x,R]of w){this.result.lastPlugin=x;let P;try{P=R(y,this.helpers)}catch(A){throw this.handleError(A,y.proxyOf)}if(y.type!=="root"&&y.type!=="document"&&!y.parent)return!0;if(r(P))throw this.getAsyncError()}}visitTick(w){let y=w[w.length-1],{node:x,visitors:R}=y;if(x.type!=="root"&&x.type!=="document"&&!x.parent){w.pop();return}if(R.length>0&&y.visitorIndex<R.length){let[A,E]=R[y.visitorIndex];y.visitorIndex+=1,y.visitorIndex===R.length&&(y.visitors=[],y.visitorIndex=0),this.result.lastPlugin=A;try{return E(x.toProxy(),this.helpers)}catch(T){throw this.handleError(T,x)}}if(y.iterator!==0){let A=y.iterator,E;for(;E=x.nodes[x.indexes[A]];)if(x.indexes[A]+=1,!E[e]){E[e]=!0,w.push(u(E));return}y.iterator=0,delete x.indexes[A]}let P=y.events;for(;y.eventIndex<P.length;){let A=P[y.eventIndex];if(y.eventIndex+=1,A===i){x.nodes&&x.nodes.length&&(x[e]=!0,y.iterator=x.getIterator());return}else if(this.listeners[A]){y.visitors=this.listeners[A];return}}w.pop()}walkSync(w){w[e]=!0;let y=c(w);for(let x of y)if(x===i)w.nodes&&w.each(R=>{R[e]||this.walkSync(R)});else{let R=this.listeners[x];if(R&&this.visitSync(R,w.toProxy()))return}}warnings(){return this.sync().warnings()}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"}}return b.registerPostcss=v=>{S=v},Pt=b,b.default=b,n.registerLazyResult(b),f.registerLazyResult(b),Pt}var At,ii;function Ms(){if(ii)return At;ii=1;let e=Si(),o=Se(),p=Xt();const d=Kt();class s{constructor(a,m,n){m=m.toString(),this.stringified=!1,this._processor=a,this._css=m,this._opts=n,this._map=void 0;let h,t=o;this.result=new d(this._processor,h,this._opts),this.result.css=m;let l=this;Object.defineProperty(this.result,"root",{get(){return l.root}});let i=new e(t,h,this._opts,m);if(i.isMap()){let[r,c]=i.generate();r&&(this.result.css=r),c&&(this.result.map=c)}else i.clearAnnotation(),this.result.css=i.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(a){return this.async().catch(a)}finally(a){return this.async().then(a,a)}sync(){if(this.error)throw this.error;return this.result}then(a,m){return this.async().then(a,m)}toString(){return this._css}warnings(){return[]}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 a,m=p;try{a=m(this._css,this._opts)}catch(n){this.error=n}if(this.error)throw this.error;return this._root=a,a}get[Symbol.toStringTag](){return"NoWorkResult"}}return At=s,s.default=s,At}var Nt,si;function _s(){if(si)return Nt;si=1;let e=Ms(),o=Ci(),p=Vt(),d=oe();class s{constructor(a=[]){this.version="8.4.38",this.plugins=this.normalize(a)}normalize(a){let m=[];for(let n of a)if(n.postcss===!0?n=n():n.postcss&&(n=n.postcss),typeof n=="object"&&Array.isArray(n.plugins))m=m.concat(n.plugins);else if(typeof n=="object"&&n.postcssPlugin)m.push(n);else if(typeof n=="function")m.push(n);else if(!(typeof n=="object"&&(n.parse||n.stringify)))throw new Error(n+" is not a PostCSS plugin");return m}process(a,m={}){return!this.plugins.length&&!m.parser&&!m.stringifier&&!m.syntax?new e(this,a,m):new o(this,a,m)}use(a){return this.plugins=this.plugins.concat(this.normalize([a])),this}}return Nt=s,s.default=s,d.registerProcessor(s),p.registerProcessor(s),Nt}var Mt,ni;function Is(){if(ni)return Mt;ni=1;let e=Oe(),o=xi(),p=Ee(),d=Qt(),s=Ce(),f=oe(),a=Yt();function m(n,h){if(Array.isArray(n))return n.map(i=>m(i));let{inputs:t,...l}=n;if(t){h=[];for(let i of t){let r={...i,__proto__:s.prototype};r.map&&(r.map={...r.map,__proto__:o.prototype}),h.push(r)}}if(l.nodes&&(l.nodes=n.nodes.map(i=>m(i,h))),l.source){let{inputId:i,...r}=l.source;l.source=r,i!=null&&(l.source.input=h[i])}if(l.type==="root")return new f(l);if(l.type==="decl")return new e(l);if(l.type==="rule")return new a(l);if(l.type==="comment")return new p(l);if(l.type==="atrule")return new d(l);throw new Error("Unknown node type: "+n.type)}return Mt=m,m.default=m,Mt}var _t,oi;function Ls(){if(oi)return _t;oi=1;let e=Gt(),o=Oe(),p=Ci(),d=Y(),s=_s(),f=Se(),a=Is(),m=Vt(),n=Ri(),h=Ee(),t=Qt(),l=Kt(),i=Ce(),r=Xt(),c=Oi(),u=Yt(),g=oe(),S=Re();function b(...v){return v.length===1&&Array.isArray(v[0])&&(v=v[0]),new s(v)}return b.plugin=function(w,y){let x=!1;function R(...A){console&&console.warn&&!x&&(x=!0,console.warn(w+`: postcss.plugin was deprecated. Migration guide:
50
+ https://evilmartians.com/chronicles/postcss-8-plugin-migration`),me.LANG&&me.LANG.startsWith("cn")&&console.warn(w+`: 里面 postcss.plugin 被弃用. 迁移指南:
51
+ https://www.w3ctech.com/topic/2226`));let E=y(...A);return E.postcssPlugin=w,E.postcssVersion=new s().version,E}let P;return Object.defineProperty(R,"postcss",{get(){return P||(P=R()),P}}),R.process=function(A,E,T){return b([R(T)]).process(A,E)},R},b.stringify=f,b.parse=r,b.fromJSON=a,b.list=c,b.comment=v=>new h(v),b.atRule=v=>new t(v),b.decl=v=>new o(v),b.rule=v=>new u(v),b.root=v=>new g(v),b.document=v=>new m(v),b.CssSyntaxError=e,b.Declaration=o,b.Container=d,b.Processor=s,b.Document=m,b.Comment=h,b.Warning=n,b.AtRule=t,b.Result=l,b.Input=i,b.Rule=u,b.Root=g,b.Node=S,p.registerPostcss(b),_t=b,b.default=b,_t}var $s=Ls();const I=Ss($s);I.stringify;I.fromJSON;I.plugin;I.parse;I.list;I.document;I.comment;I.atRule;I.rule;I.decl;I.root;I.CssSyntaxError;I.Declaration;I.Container;I.Processor;I.Document;I.Comment;I.Warning;I.AtRule;I.Result;I.Input;I.Rule;I.Root;I.Node;class Zt{constructor(...o){k(this,"parentElement",null),k(this,"parentNode",null),k(this,"ownerDocument"),k(this,"firstChild",null),k(this,"lastChild",null),k(this,"previousSibling",null),k(this,"nextSibling",null),k(this,"ELEMENT_NODE",1),k(this,"TEXT_NODE",3),k(this,"nodeType"),k(this,"nodeName"),k(this,"RRNodeType")}get childNodes(){const o=[];let p=this.firstChild;for(;p;)o.push(p),p=p.nextSibling;return o}contains(o){if(o instanceof Zt){if(o.ownerDocument!==this.ownerDocument)return!1;if(o===this)return!0}else return!1;for(;o.parentNode;){if(o.parentNode===this)return!0;o=o.parentNode}return!1}appendChild(o){throw new Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")}insertBefore(o,p){throw new Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")}removeChild(o){throw new Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")}toString(){return"RRNode"}}const li={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},ai={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},pe={};function Ts(e){var o,p;const d=(p=(o=globalThis?.Zone)==null?void 0:o.__symbol__)==null?void 0:p.call(o,e);if(d&&globalThis[d])return globalThis[d]}function er(e){if(pe[e])return pe[e];const o=Ts(e)||globalThis[e],p=o.prototype,d=e in li?li[e]:void 0,s=!!(d&&d.every(m=>{var n,h;return!!((h=(n=Object.getOwnPropertyDescriptor(p,m))==null?void 0:n.get)!=null&&h.toString().includes("[native code]"))})),f=e in ai?ai[e]:void 0,a=!!(f&&f.every(m=>{var n;return typeof p[m]=="function"&&((n=p[m])==null?void 0:n.toString().includes("[native code]"))}));if(s&&a)return pe[e]=o.prototype,o.prototype;try{const m=document.createElement("iframe");document.body.appendChild(m);const n=m.contentWindow;if(!n)return o.prototype;const h=n[e].prototype;return document.body.removeChild(m),h?pe[e]=h:p}catch{return p}}const It={};function H(e,o,p){var d;const s=`${e}.${String(p)}`;if(It[s])return It[s].call(o);const f=er(e),a=(d=Object.getOwnPropertyDescriptor(f,p))==null?void 0:d.get;return a?(It[s]=a,a.call(o)):o[p]}const Lt={};function Ei(e,o,p){const d=`${e}.${String(p)}`;if(Lt[d])return Lt[d].bind(o);const f=er(e)[p];return typeof f!="function"?o[p]:(Lt[d]=f,f.bind(o))}function Us(e){return H("Node",e,"childNodes")}function Ds(e){return H("Node",e,"parentNode")}function ks(e){return H("Node",e,"parentElement")}function qs(e){return H("Node",e,"textContent")}function Fs(e,o){return Ei("Node",e,"contains")(o)}function Bs(e){return Ei("Node",e,"getRootNode")()}function zs(e){return!e||!("host"in e)?null:H("ShadowRoot",e,"host")}function js(e){return e.styleSheets}function Ws(e){return!e||!("shadowRoot"in e)?null:H("Element",e,"shadowRoot")}function Hs(e,o){return H("Element",e,"querySelector")(o)}function Gs(e,o){return H("Element",e,"querySelectorAll")(o)}function Js(){return er("MutationObserver").constructor}const q={childNodes:Us,parentNode:Ds,parentElement:ks,textContent:qs,contains:Fs,getRootNode:Bs,host:zs,styleSheets:js,shadowRoot:Ws,querySelector:Hs,querySelectorAll:Gs,mutationObserver:Js};function Vs(e,o,p=document){const d={capture:!0,passive:!0};return p.addEventListener(e,o,d),()=>p.removeEventListener(e,o,d)}const ee=`Please stop import mirror directly. Instead of that,\r
52
+ now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
53
+ or you can use record.mirror to access the mirror instance during recording.`;let Ut={map:{},getId(){return console.error(ee),-1},getNode(){return console.error(ee),null},removeNodeFromMap(){console.error(ee)},has(){return console.error(ee),!1},reset(){console.error(ee)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(Ut=new Proxy(Ut,{get(e,o,p){return o==="map"&&console.error(ee),Reflect.get(e,o,p)}}));function Ks(e,o,p={}){let d=null,s=0;return function(...f){const a=Date.now();!s&&p.leading===!1&&(s=a);const m=o-(a-s),n=this;m<=0||m>o?(d&&(clearTimeout(d),d=null),s=a,e.apply(n,f)):!d&&p.trailing!==!1&&(d=setTimeout(()=>{s=p.leading===!1?0:Date.now(),d=null,e.apply(n,f)},m))}}function Pi(e,o,p,d,s=window){const f=s.Object.getOwnPropertyDescriptor(e,o);return s.Object.defineProperty(e,o,d?p:{set(a){setTimeout(()=>{p.set.call(this,a)},0),f&&f.set&&f.set.call(this,a)}}),()=>Pi(e,o,f||{},!0)}function Qs(e,o,p){try{if(!(o in e))return()=>{};const d=e[o],s=p(d);return typeof s=="function"&&(s.prototype=s.prototype||{},Object.defineProperties(s,{__rrweb_original__:{enumerable:!1,value:d}})),e[o]=s,()=>{e[o]=d}}catch{return()=>{}}}let Ai=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(Ai=()=>new Date().getTime());function Ys(e){var o,p,d,s;const f=e.document;return{left:f.scrollingElement?f.scrollingElement.scrollLeft:e.pageXOffset!==void 0?e.pageXOffset:f.documentElement.scrollLeft||f?.body&&((o=q.parentElement(f.body))==null?void 0:o.scrollLeft)||((p=f?.body)==null?void 0:p.scrollLeft)||0,top:f.scrollingElement?f.scrollingElement.scrollTop:e.pageYOffset!==void 0?e.pageYOffset:f?.documentElement.scrollTop||f?.body&&((d=q.parentElement(f.body))==null?void 0:d.scrollTop)||((s=f?.body)==null?void 0:s.scrollTop)||0}}function Xs(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function Zs(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Ni(e){return e?e.nodeType===e.ELEMENT_NODE?e:q.parentElement(e):null}function en(e,o,p,d){if(!e)return!1;const s=Ni(e);if(!s)return!1;try{if(typeof o=="string"){if(s.classList.contains(o)||d&&s.closest("."+o)!==null)return!0}else if(Tt(s,o,d))return!0}catch{}return!!(p&&(s.matches(p)||d&&s.closest(p)!==null))}function tn(e,o){return o.getId(e)!==-1}function rn(e,o,p){return e.tagName==="TITLE"&&p.headTitleMutations?!0:o.getId(e)===os}function Mi(e,o){if(is(e))return!1;const p=o.getId(e);if(!o.has(p))return!0;const d=q.parentNode(e);return d&&d.nodeType===e.DOCUMENT_NODE?!1:d?Mi(d,o):!0}function sn(e){return!!e.changedTouches}function nn(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach)}function on(e){const o={},p=(s,f)=>{const a={value:s,parent:f,children:[]};return o[s.node.id]=a,a},d=[];for(const s of e){const{nextId:f,parentId:a}=s;if(f&&f in o){const m=o[f];if(m.parent){const n=m.parent.children.indexOf(m);m.parent.children.splice(n,0,p(s,m.parent))}else{const n=d.indexOf(m);d.splice(n,0,p(s,null))}continue}if(a in o){const m=o[a];m.children.push(p(s,m));continue}d.push(p(s,null))}return d}function _i(e,o){o(e.value);for(let p=e.children.length-1;p>=0;p--)_i(e.children[p],o)}function ln(e,o){return!!(e.nodeName==="IFRAME"&&o.getMeta(e))}function an(e,o){return!!(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&o.getMeta(e))}function Ii(e,o){var p,d;const s=(d=(p=e.ownerDocument)==null?void 0:p.defaultView)==null?void 0:d.frameElement;if(!s||s===o)return{x:0,y:0,relativeScale:1,absoluteScale:1};const f=s.getBoundingClientRect(),a=Ii(s,o),m=f.height/s.clientHeight;return{x:f.x*a.relativeScale+a.x,y:f.y*a.relativeScale+a.y,relativeScale:m,absoluteScale:a.absoluteScale*m}}function un(e){return e?e instanceof Zt&&"shadowRoot"in e?!!e.shadowRoot:!!q.shadowRoot(e):!1}function Li(e,o){const p=e[o[0]];return o.length===1?p:Li(p.cssRules[o[1]].cssRules,o.slice(2))}function fn(e){const o=[...e],p=o.pop();return{positions:o,index:p}}function hn(e){const o=new Set,p=[];for(let d=e.length;d--;){const s=e[d];o.has(s.id)||(p.push(s),o.add(s.id))}return p}class cn{constructor(){_e(this,"id",1),_e(this,"styleIDMap",new WeakMap),_e(this,"idStyleMap",new Map)}getId(o){return this.styleIDMap.get(o)??-1}has(o){return this.styleIDMap.has(o)}add(o,p){if(this.has(o))return this.getId(o);let d;return p===void 0?d=this.id++:d=p,this.styleIDMap.set(o,d),this.idStyleMap.set(d,o),d}getStyle(o){return this.idStyleMap.get(o)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function $i(e){var o;let p=null;return"getRootNode"in e&&((o=q.getRootNode(e))==null?void 0:o.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&q.host(q.getRootNode(e))&&(p=q.host(q.getRootNode(e))),p}function Ti(e){let o=e,p;for(;p=$i(o);)o=p;return o}function Ui(e){const o=e.ownerDocument;if(!o)return!1;const p=Ti(e);return q.contains(o,p)}function pn(e){const o=e.ownerDocument;return o?q.contains(o,e)||Ui(e):!1}const dn=Object.freeze(Object.defineProperty({__proto__:null,StyleSheetMirror:cn,get _mirror(){return Ut},closestElementOfNode:Ni,getBaseDimension:Ii,getNestedRule:Li,getPositionsAndIndex:fn,getRootShadowHost:Ti,getShadowHost:$i,getWindowHeight:Xs,getWindowScroll:Ys,getWindowWidth:Zs,hasShadowRoot:un,hookSetter:Pi,inDom:pn,isAncestorRemoved:Mi,isBlocked:en,isIgnored:rn,isSerialized:tn,isSerializedIframe:ln,isSerializedStylesheet:an,iterateResolveTree:_i,legacy_isTouchEvent:sn,get nowTimestamp(){return Ai},on:Vs,patch:Qs,polyfill:nn,queueToResolveTrees:on,shadowHostInDom:Ui,throttle:Ks,uniqueTextMutations:hn},Symbol.toStringTag,{value:"Module"}));var ui="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",mn=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var de=0;de<ui.length;de++)mn[ui.charCodeAt(de)]=de;const gn=`(function() {
54
+ "use strict";
55
+ var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
56
+ var lookup = typeof Uint8Array === "undefined" ? [] : new Uint8Array(256);
57
+ for (var i = 0; i < chars.length; i++) {
58
+ lookup[chars.charCodeAt(i)] = i;
59
+ }
60
+ var encode = function(arraybuffer) {
61
+ var bytes = new Uint8Array(arraybuffer), i2, len = bytes.length, base64 = "";
62
+ for (i2 = 0; i2 < len; i2 += 3) {
63
+ base64 += chars[bytes[i2] >> 2];
64
+ base64 += chars[(bytes[i2] & 3) << 4 | bytes[i2 + 1] >> 4];
65
+ base64 += chars[(bytes[i2 + 1] & 15) << 2 | bytes[i2 + 2] >> 6];
66
+ base64 += chars[bytes[i2 + 2] & 63];
67
+ }
68
+ if (len % 3 === 2) {
69
+ base64 = base64.substring(0, base64.length - 1) + "=";
70
+ } else if (len % 3 === 1) {
71
+ base64 = base64.substring(0, base64.length - 2) + "==";
72
+ }
73
+ return base64;
74
+ };
75
+ const lastBlobMap = /* @__PURE__ */ new Map();
76
+ const transparentBlobMap = /* @__PURE__ */ new Map();
77
+ async function getTransparentBlobFor(width, height, dataURLOptions) {
78
+ const id = \`\${width}-\${height}\`;
79
+ if ("OffscreenCanvas" in globalThis) {
80
+ if (transparentBlobMap.has(id)) return transparentBlobMap.get(id);
81
+ const offscreen = new OffscreenCanvas(width, height);
82
+ offscreen.getContext("2d");
83
+ const blob = await offscreen.convertToBlob(dataURLOptions);
84
+ const arrayBuffer = await blob.arrayBuffer();
85
+ const base64 = encode(arrayBuffer);
86
+ transparentBlobMap.set(id, base64);
87
+ return base64;
88
+ } else {
89
+ return "";
90
+ }
91
+ }
92
+ const worker = self;
93
+ worker.onmessage = async function(e) {
94
+ if ("OffscreenCanvas" in globalThis) {
95
+ const { id, bitmap, width, height, dataURLOptions } = e.data;
96
+ const transparentBase64 = getTransparentBlobFor(
97
+ width,
98
+ height,
99
+ dataURLOptions
100
+ );
101
+ const offscreen = new OffscreenCanvas(width, height);
102
+ const ctx = offscreen.getContext("2d");
103
+ ctx.drawImage(bitmap, 0, 0);
104
+ bitmap.close();
105
+ const blob = await offscreen.convertToBlob(dataURLOptions);
106
+ const type = blob.type;
107
+ const arrayBuffer = await blob.arrayBuffer();
108
+ const base64 = encode(arrayBuffer);
109
+ if (!lastBlobMap.has(id) && await transparentBase64 === base64) {
110
+ lastBlobMap.set(id, base64);
111
+ return worker.postMessage({ id });
112
+ }
113
+ if (lastBlobMap.get(id) === base64) return worker.postMessage({ id });
114
+ worker.postMessage({
115
+ id,
116
+ type,
117
+ base64,
118
+ width,
119
+ height
120
+ });
121
+ lastBlobMap.set(id, base64);
122
+ } else {
123
+ return worker.postMessage({ id: e.data.id });
124
+ }
125
+ };
126
+ })();
127
+ //# sourceMappingURL=image-bitmap-data-url-worker-IJpC7g_b.js.map
128
+ `;typeof self<"u"&&self.Blob&&new Blob([gn],{type:"text/javascript;charset=utf-8"});try{if(Array.from([1],e=>e*2)[0]!==2){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=((tr=e.contentWindow)==null?void 0:tr.Array.from)||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}ns();var fi;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(fi||(fi={}));class X{constructor(o){le(this,"fileName"),le(this,"functionName"),le(this,"lineNumber"),le(this,"columnNumber"),this.fileName=o.fileName||"",this.functionName=o.functionName||"",this.lineNumber=o.lineNumber,this.columnNumber=o.columnNumber}toString(){const o=this.lineNumber||"",p=this.columnNumber||"";return this.functionName?`${this.functionName} (${this.fileName}:${o}:${p})`:`${this.fileName}:${o}:${p}`}}const yn=/(^|@)\S+:\d+/,hi=/^\s*at .*(\S+:\d+|\(native\))/m,wn=/^(eval@)?(\[native code])?$/,$t={parse:function(e){return e?typeof e.stacktrace<"u"||typeof e["opera#sourceloc"]<"u"?this.parseOpera(e):e.stack&&e.stack.match(hi)?this.parseV8OrIE(e):e.stack?this.parseFFOrSafari(e):(console.warn("[console-record-plugin]: Failed to parse error object:",e),[]):[]},extractLocation:function(e){if(e.indexOf(":")===-1)return[e];const p=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/[()]/g,""));if(!p)throw new Error(`Cannot parse given url: ${e}`);return[p[1],p[2]||void 0,p[3]||void 0]},parseV8OrIE:function(e){return e.stack.split(`
129
+ `).filter(function(p){return!!p.match(hi)},this).map(function(p){p.indexOf("(eval ")>-1&&(p=p.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));let d=p.replace(/^\s+/,"").replace(/\(eval code/g,"(");const s=d.match(/ (\((.+):(\d+):(\d+)\)$)/);d=s?d.replace(s[0],""):d;const f=d.split(/\s+/).slice(1),a=this.extractLocation(s?s[1]:f.pop()),m=f.join(" ")||void 0,n=["eval","<anonymous>"].indexOf(a[0])>-1?void 0:a[0];return new X({functionName:m,fileName:n,lineNumber:a[1],columnNumber:a[2]})},this)},parseFFOrSafari:function(e){return e.stack.split(`
130
+ `).filter(function(p){return!p.match(wn)},this).map(function(p){if(p.indexOf(" > eval")>-1&&(p=p.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),p.indexOf("@")===-1&&p.indexOf(":")===-1)return new X({functionName:p});{const d=/((.*".+"[^@]*)?[^@]*)(?:@)/,s=p.match(d),f=s&&s[1]?s[1]:void 0,a=this.extractLocation(p.replace(d,""));return new X({functionName:f,fileName:a[0],lineNumber:a[1],columnNumber:a[2]})}},this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf(`
131
+ `)>-1&&e.message.split(`
132
+ `).length>e.stacktrace.split(`
133
+ `).length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(e){const o=/Line (\d+).*script (?:in )?(\S+)/i,p=e.message.split(`
134
+ `),d=[];for(let s=2,f=p.length;s<f;s+=2){const a=o.exec(p[s]);a&&d.push(new X({fileName:a[2],lineNumber:parseFloat(a[1])}))}return d},parseOpera10:function(e){const o=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,p=e.stacktrace.split(`
135
+ `),d=[];for(let s=0,f=p.length;s<f;s+=2){const a=o.exec(p[s]);a&&d.push(new X({functionName:a[3]||void 0,fileName:a[2],lineNumber:parseFloat(a[1])}))}return d},parseOpera11:function(e){return e.stack.split(`
136
+ `).filter(function(p){return!!p.match(yn)&&!p.match(/^Error created at/)},this).map(function(p){const d=p.split("@"),s=this.extractLocation(d.pop()),a=(d.shift()||"").replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;return new X({functionName:a,fileName:s[0],lineNumber:s[1],columnNumber:s[2]})},this)}};function bn(e){if(!e||!e.outerHTML)return"";let o="";for(;e.parentElement;){let p=e.localName;if(!p)break;p=p.toLowerCase();const d=e.parentElement,s=[];if(d.children&&d.children.length>0)for(let f=0;f<d.children.length;f++){const a=d.children[f];a.localName&&a.localName.toLowerCase&&a.localName.toLowerCase()===p&&s.push(a)}s.length>1&&(p+=`:eq(${s.indexOf(e)})`),o=p+(o?">"+o:""),e=d}return o}function Dt(e){return Object.prototype.toString.call(e)==="[object Object]"}function Di(e,o){if(o===0)return!0;const p=Object.keys(e);for(const d of p)if(Dt(e[d])&&Di(e[d],o-1))return!0;return!1}function Z(e,o){const p={numOfKeysLimit:50,depthOfLimit:4};Object.assign(p,o);const d=[],s=[];return JSON.stringify(e,function(m,n){if(d.length>0){const h=d.indexOf(this);~h?d.splice(h+1):d.push(this),~h?s.splice(h,1/0,m):s.push(m),~d.indexOf(n)&&(d[0]===n?n="[Circular ~]":n="[Circular ~."+s.slice(0,d.indexOf(n)).join(".")+"]")}else d.push(n);if(n===null)return n;if(n===void 0)return"undefined";if(f(n))return a(n);if(typeof n=="bigint")return n.toString()+"n";if(n instanceof Event){const h={};for(const t in n){const l=n[t];Array.isArray(l)?h[t]=bn(l.length?l[0]:null):h[t]=l}return h}else{if(n instanceof Node)return n instanceof HTMLElement?n?n.outerHTML:"":n.nodeName;if(n instanceof Error)return n.stack?n.stack+`
137
+ End of stack for Error object`:n.name+": "+n.message}return n});function f(m){return!!(Dt(m)&&Object.keys(m).length>p.numOfKeysLimit||typeof m=="function"||Dt(m)&&Di(m,p.depthOfLimit))}function a(m){let n=m.toString();return p.stringLengthLimit&&n.length>p.stringLengthLimit&&(n=`${n.slice(0,p.stringLengthLimit)}...`),n}}const ci={level:["assert","clear","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","time","timeEnd","timeLog","trace","warn"],lengthThreshold:1e3,logger:"console"};function vn(e,o,p){const d=p?Object.assign({},ci,p):ci,s=d.logger;if(!s)return()=>{};let f;typeof s=="string"?f=o[s]:f=s;let a=0,m=!1;const n=[];if(d.level.includes("error")){const t=i=>{const r=i.message,c=i.error,u=$t.parse(c).map(S=>S.toString()),g=[Z(r,d.stringifyOptions)];e({level:"error",trace:u,payload:g})};o.addEventListener("error",t),n.push(()=>{o.removeEventListener("error",t)});const l=i=>{let r,c;i.reason instanceof Error?(r=i.reason,c=[Z(`Uncaught (in promise) ${r.name}: ${r.message}`,d.stringifyOptions)]):(r=new Error,c=[Z("Uncaught (in promise)",d.stringifyOptions),Z(i.reason,d.stringifyOptions)]);const u=$t.parse(r).map(g=>g.toString());e({level:"error",trace:u,payload:c})};o.addEventListener("unhandledrejection",l),n.push(()=>{o.removeEventListener("unhandledrejection",l)})}for(const t of d.level)n.push(h(f,t));return()=>{n.forEach(t=>t())};function h(t,l){return t[l]?dn.patch(t,l,i=>(...r)=>{if(i.apply(this,r),!(l==="assert"&&r[0])&&!m){m=!0;try{const c=$t.parse(new Error).map(S=>S.toString()).splice(1),g=(l==="assert"?r.slice(1):r).map(S=>Z(S,d.stringifyOptions));a++,a<d.lengthThreshold?e({level:l,trace:c,payload:g}):a===d.lengthThreshold&&e({level:"warn",trace:[],payload:[Z("The number of log records reached the threshold.")]})}catch(c){i("rrweb logger error:",c,...r)}finally{m=!1}}}):()=>{}}}const xn="rrweb/console@1",Sn=e=>({name:xn,observer:vn,options:e});export{xn as PLUGIN_NAME,Sn as getRecordConsolePlugin};
138
+ //# sourceMappingURL=rrweb-plugin-console-record-sPdhR0i8.js.map