@shwfed/runtime-web 0.6.2 → 0.7.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 (331) hide show
  1. package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/components-primitives.js +20 -20
  2. package/assets/bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d/effect.js +5 -0
  3. package/assets/bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d/host.js +461 -0
  4. package/assets/bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d/openapi-client.js +1 -0
  5. package/assets/bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d/runtime-shared.js +25 -0
  6. package/assets/bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d/solid-js.js +1 -0
  7. package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/worker.js +1 -1
  8. package/index.js +5 -5
  9. package/manifest.json +5 -5
  10. package/package.json +1 -1
  11. package/assets/a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a/effect.js +0 -5
  12. package/assets/a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a/host.js +0 -461
  13. package/assets/a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a/openapi-client.js +0 -1
  14. package/assets/a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a/runtime-shared.js +0 -25
  15. package/assets/a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a/solid-js.js +0 -1
  16. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/abap-3d321810.js +0 -0
  17. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/action-54d79c12.js +0 -0
  18. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/actionscript-3-ee0f3172.js +0 -0
  19. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/ada-252b1a4b.js +0 -0
  20. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/ahk-6e769ba2.js +0 -0
  21. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/ahk2-0f598015.js +0 -0
  22. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/andromeeda-0825276e.js +0 -0
  23. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/angular-html-414b5674.js +0 -0
  24. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/angular-ts-196c6350.js +0 -0
  25. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/apache-cdab5206.js +0 -0
  26. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/apex-c3f9fc0e.js +0 -0
  27. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/apl-eac78e29.js +0 -0
  28. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/applescript-636efa0e.js +0 -0
  29. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/ara-0ce36c80.js +0 -0
  30. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/asciidoc-f3df19b9.js +0 -0
  31. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/asm-2df5a334.js +0 -0
  32. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/astro-86c77de0.js +0 -0
  33. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/aurora-x-902226c9.js +0 -0
  34. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/awk-103b5427.js +0 -0
  35. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/ayu-dark-360e23c9.js +0 -0
  36. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/ayu-light-06439344.js +0 -0
  37. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/ayu-mirage-329fbbc2.js +0 -0
  38. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/ballerina-394fb9b0.js +0 -0
  39. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/bat-9ab060ea.js +0 -0
  40. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/beancount-a5d3b565.js +0 -0
  41. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/berry-b086b67c.js +0 -0
  42. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/bibtex-b447a3bd.js +0 -0
  43. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/bicep-2e94d542.js +0 -0
  44. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/bird2-8349d846.js +0 -0
  45. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/blade-7a6c750e.js +0 -0
  46. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/bsl-94318279.js +0 -0
  47. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/c-c772f7dd.js +0 -0
  48. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/c3-4d5fec5e.js +0 -0
  49. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/cadence-8c4c9e65.js +0 -0
  50. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/cairo-9d828c5a.js +0 -0
  51. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/catppuccin-frappe-28e43d66.js +0 -0
  52. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/catppuccin-latte-9a48f275.js +0 -0
  53. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/catppuccin-macchiato-370cbee9.js +0 -0
  54. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/catppuccin-mocha-3ff2c663.js +0 -0
  55. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/chapel-984bc1bc.js +0 -0
  56. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/clarity-304cafcf.js +0 -0
  57. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/clojure-d06bb6da.js +0 -0
  58. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/cmake-776084fb.js +0 -0
  59. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/cobol-4bfe5d3b.js +0 -0
  60. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/codeowners-93b1928d.js +0 -0
  61. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/codeql-52989abf.js +0 -0
  62. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/coffee-6b7a2e1f.js +0 -0
  63. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/common-lisp-0b76d683.js +0 -0
  64. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/coq-d1b8b646.js +0 -0
  65. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/cpp-98c005a0.js +0 -0
  66. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/crystal-9264df27.js +0 -0
  67. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/csharp-caf38941.js +0 -0
  68. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/css-f3f67fd6.js +0 -0
  69. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/csv-3a0d3612.js +0 -0
  70. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/cue-0c52bb1c.js +0 -0
  71. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/cypher-6be9d357.js +0 -0
  72. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/d-35e839eb.js +0 -0
  73. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/dark-plus-dc5ab0c3.js +0 -0
  74. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/dart-21c85afa.js +0 -0
  75. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/dax-e99423d0.js +0 -0
  76. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/desktop-52aa47a3.js +0 -0
  77. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/diff-dd4ab241.js +0 -0
  78. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/docker-9be944bc.js +0 -0
  79. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/dotenv-9961b739.js +0 -0
  80. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/dracula-4dc0b5c6.js +0 -0
  81. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/dracula-soft-976eecd8.js +0 -0
  82. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/dream-maker-cacf56fb.js +0 -0
  83. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/edge-fbc1ea1f.js +0 -0
  84. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/elixir-e6b79676.js +0 -0
  85. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/elm-b3f1dffa.js +0 -0
  86. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/emacs-lisp-bf73fd5a.js +0 -0
  87. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/erb-7be7a3fd.js +0 -0
  88. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/erlang-70b15979.js +0 -0
  89. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/everforest-dark-fffc9ca4.js +0 -0
  90. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/everforest-light-89b50e8a.js +0 -0
  91. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/fennel-a2c0b93e.js +0 -0
  92. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/fish-c3c09bfe.js +0 -0
  93. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/fluent-76c57590.js +0 -0
  94. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/fortran-fixed-form-b8fb6202.js +0 -0
  95. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/fortran-free-form-109a6ef6.js +0 -0
  96. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/fsharp-c79dc05b.js +0 -0
  97. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/gdresource-fea1bb9c.js +0 -0
  98. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/gdscript-fbd5f057.js +0 -0
  99. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/gdshader-882ea0d1.js +0 -0
  100. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/genie-40af493d.js +0 -0
  101. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/gherkin-b163c6c8.js +0 -0
  102. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/git-commit-22965e93.js +0 -0
  103. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/git-rebase-72fab675.js +0 -0
  104. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/github-dark-default-7e608625.js +0 -0
  105. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/github-dark-dimmed-f1b43f6e.js +0 -0
  106. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/github-dark-ebeae7f8.js +0 -0
  107. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/github-dark-high-contrast-3b79c377.js +0 -0
  108. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/github-light-452dc73a.js +0 -0
  109. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/github-light-default-7230acd4.js +0 -0
  110. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/github-light-high-contrast-c3f5487a.js +0 -0
  111. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/gleam-9cdc3c25.js +0 -0
  112. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/glimmer-js-a62e0963.js +0 -0
  113. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/glimmer-ts-fd72fc9e.js +0 -0
  114. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/glsl-72802d50.js +0 -0
  115. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/gn-f57dcb6c.js +0 -0
  116. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/gnuplot-5df55482.js +0 -0
  117. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/go-7f9e5c66.js +0 -0
  118. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/graphql-bf3f02bf.js +0 -0
  119. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/groovy-9fc42571.js +0 -0
  120. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/gruvbox-dark-hard-8277b640.js +0 -0
  121. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/gruvbox-dark-medium-52b4753a.js +0 -0
  122. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/gruvbox-dark-soft-7671101a.js +0 -0
  123. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/gruvbox-light-hard-fa312006.js +0 -0
  124. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/gruvbox-light-medium-045d51a1.js +0 -0
  125. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/gruvbox-light-soft-6b2fe762.js +0 -0
  126. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/hack-9f56f879.js +0 -0
  127. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/haml-8110b45d.js +0 -0
  128. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/handlebars-4c7e0f37.js +0 -0
  129. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/haskell-c4b57d2d.js +0 -0
  130. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/haxe-b36570ce.js +0 -0
  131. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/hcl-0b65d431.js +0 -0
  132. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/hjson-35593dd7.js +0 -0
  133. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/hlsl-1b60d818.js +0 -0
  134. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/horizon-7d7536b3.js +0 -0
  135. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/horizon-bright-9aff3d34.js +0 -0
  136. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/houston-5b12bc73.js +0 -0
  137. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/html-146e896a.js +0 -0
  138. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/html-derivative-6ae63148.js +0 -0
  139. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/http-a2a339ea.js +0 -0
  140. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/hurl-6a336d0a.js +0 -0
  141. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/hxml-061e95a2.js +0 -0
  142. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/hy-c5ab808c.js +0 -0
  143. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/imba-82357896.js +0 -0
  144. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/ini-4b074f03.js +0 -0
  145. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/java-69c882ee.js +0 -0
  146. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/javascript-def6328c.js +0 -0
  147. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/jinja-d9e057a2.js +0 -0
  148. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/jison-224d4cd7.js +0 -0
  149. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/json-fb434b29.js +0 -0
  150. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/json5-3e41fab4.js +0 -0
  151. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/jsonc-74f491a5.js +0 -0
  152. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/jsonl-97b20c3f.js +0 -0
  153. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/jsonnet-0fbbdb85.js +0 -0
  154. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/jssm-a304908e.js +0 -0
  155. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/jsx-2c461e88.js +0 -0
  156. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/julia-0cd17bad.js +0 -0
  157. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/just-fe7dae17.js +0 -0
  158. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/kanagawa-dragon-e0ec9bb0.js +0 -0
  159. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/kanagawa-lotus-a07128e3.js +0 -0
  160. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/kanagawa-wave-bbea1b2a.js +0 -0
  161. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/kdl-b365f47f.js +0 -0
  162. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/kotlin-26d8506d.js +0 -0
  163. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/kusto-be136fc5.js +0 -0
  164. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/laserwave-37deba33.js +0 -0
  165. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/latex-d28d92f8.js +0 -0
  166. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/lean-bd28364d.js +0 -0
  167. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/less-5065e2bc.js +0 -0
  168. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/light-plus-01a51dda.js +0 -0
  169. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/liquid-cff2fa08.js +0 -0
  170. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/llvm-815114a2.js +0 -0
  171. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/log-8e79b28a.js +0 -0
  172. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/logo-4e4a2cbf.js +0 -0
  173. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/lua-7834d20e.js +0 -0
  174. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/luau-41e785de.js +0 -0
  175. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/make-831d5b49.js +0 -0
  176. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/markdown-6c529ca3.js +0 -0
  177. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/marko-ebf34056.js +0 -0
  178. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/material-theme-darker-3c70e60a.js +0 -0
  179. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/material-theme-f27c83fc.js +0 -0
  180. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/material-theme-lighter-45f756d2.js +0 -0
  181. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/material-theme-ocean-49ae0eda.js +0 -0
  182. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/material-theme-palenight-9462bfb3.js +0 -0
  183. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/matlab-0840eea5.js +0 -0
  184. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/mdc-6fa94ee3.js +0 -0
  185. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/mdx-1132a16e.js +0 -0
  186. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/mermaid-2e990632.js +0 -0
  187. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/min-dark-d8ea3e44.js +0 -0
  188. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/min-light-22f7c862.js +0 -0
  189. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/mipsasm-58049608.js +0 -0
  190. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/mojo-2b1c719a.js +0 -0
  191. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/monokai-c0c02d84.js +0 -0
  192. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/moonbit-925e255b.js +0 -0
  193. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/move-1f383970.js +0 -0
  194. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/narrat-e4019018.js +0 -0
  195. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/nextflow-c3ecb400.js +0 -0
  196. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/nextflow-groovy-b9a4c652.js +0 -0
  197. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/nginx-8f04393a.js +0 -0
  198. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/night-owl-18016e88.js +0 -0
  199. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/night-owl-light-41348ad0.js +0 -0
  200. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/nim-427368d2.js +0 -0
  201. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/nix-23c2c452.js +0 -0
  202. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/nord-04fad416.js +0 -0
  203. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/nsis-4067124b.js +0 -0
  204. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/nushell-a1c55647.js +0 -0
  205. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/objective-c-d0442b17.js +0 -0
  206. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/objective-cpp-c9166239.js +0 -0
  207. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/ocaml-1907985e.js +0 -0
  208. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/odin-4edd9278.js +0 -0
  209. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/one-dark-pro-98938862.js +0 -0
  210. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/one-light-ba2b76c3.js +0 -0
  211. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/openscad-5a928414.js +0 -0
  212. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/org-eb8433d2.js +0 -0
  213. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/pascal-83ef650e.js +0 -0
  214. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/perl-43a3e425.js +0 -0
  215. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/php-d42e013c.js +0 -0
  216. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/pkl-4b37d331.js +0 -0
  217. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/plastic-b31717de.js +0 -0
  218. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/plsql-582ae89f.js +0 -0
  219. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/po-40469fd0.js +0 -0
  220. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/poimandres-a18fb2c7.js +0 -0
  221. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/polar-06897efa.js +0 -0
  222. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/postcss-9cbdcc7d.js +0 -0
  223. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/powerquery-89dd530b.js +0 -0
  224. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/powershell-fb0d5977.js +0 -0
  225. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/prisma-00b0ce7f.js +0 -0
  226. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/prolog-4e4b62d2.js +0 -0
  227. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/proto-cfc7ae8f.js +0 -0
  228. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/pug-00e36be6.js +0 -0
  229. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/puppet-bcb20ce2.js +0 -0
  230. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/purescript-79438736.js +0 -0
  231. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/python-983cc133.js +0 -0
  232. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/qml-3011bca8.js +0 -0
  233. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/qmldir-7b994fb3.js +0 -0
  234. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/qss-3f5a0712.js +0 -0
  235. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/r-15db78c6.js +0 -0
  236. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/racket-e3a99183.js +0 -0
  237. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/raku-05fdbd79.js +0 -0
  238. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/razor-eba4b2a1.js +0 -0
  239. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/rbs-b8f21c7e.js +0 -0
  240. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/red-16c11454.js +0 -0
  241. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/reg-261c0cb9.js +0 -0
  242. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/regexp-e3211b61.js +0 -0
  243. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/rel-50362597.js +0 -0
  244. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/riscv-d7907df0.js +0 -0
  245. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/ron-191650b7.js +0 -0
  246. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/rose-pine-5223d410.js +0 -0
  247. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/rose-pine-dawn-93c2ae7c.js +0 -0
  248. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/rose-pine-moon-93ea4888.js +0 -0
  249. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/rosmsg-23cdf873.js +0 -0
  250. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/rst-633a63e0.js +0 -0
  251. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/ruby-d6229a4b.js +0 -0
  252. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/rust-797e4972.js +0 -0
  253. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/sas-6af7580c.js +0 -0
  254. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/sass-2614cadf.js +0 -0
  255. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/scala-cf66f8d2.js +0 -0
  256. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/scheme-d8759a9f.js +0 -0
  257. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/scss-b867b74c.js +0 -0
  258. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/sdbl-5b3a2a55.js +0 -0
  259. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/shaderlab-1fe09e16.js +0 -0
  260. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/shellscript-acebf4ab.js +0 -0
  261. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/shellsession-1935e14d.js +0 -0
  262. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/slack-dark-9dd03364.js +0 -0
  263. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/slack-ochin-0686fa31.js +0 -0
  264. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/smalltalk-073e9d53.js +0 -0
  265. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/smithy-58c37287.js +0 -0
  266. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/snazzy-light-b4e48e52.js +0 -0
  267. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/solarized-dark-cd11f3c4.js +0 -0
  268. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/solarized-light-905a6aff.js +0 -0
  269. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/solidity-ba0c3a8f.js +0 -0
  270. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/soy-c021e120.js +0 -0
  271. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/sparql-554c67e4.js +0 -0
  272. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/splunk-d720c93b.js +0 -0
  273. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/sql-d8adb147.js +0 -0
  274. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/ssh-config-4010c3d6.js +0 -0
  275. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/stata-caa6d448.js +0 -0
  276. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/stylus-a8db80e9.js +0 -0
  277. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/surrealql-7e88a245.js +0 -0
  278. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/svelte-15fdeab9.js +0 -0
  279. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/swift-42c58ac8.js +0 -0
  280. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/synthwave-84-cf9149df.js +0 -0
  281. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/system-verilog-37a151c4.js +0 -0
  282. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/systemd-d3f678b2.js +0 -0
  283. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/talonscript-b1476205.js +0 -0
  284. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/tasl-0a49bc84.js +0 -0
  285. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/tcl-3ef5ee69.js +0 -0
  286. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/templ-c161ccbf.js +0 -0
  287. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/terraform-06e89874.js +0 -0
  288. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/tex-9cd02190.js +0 -0
  289. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/tokyo-night-475297c5.js +0 -0
  290. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/toml-e4e1125b.js +0 -0
  291. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/ts-tags-9e7261f7.js +0 -0
  292. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/tsv-de92e756.js +0 -0
  293. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/tsx-76eda050.js +0 -0
  294. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/turtle-66d1a874.js +0 -0
  295. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/twig-cff0696b.js +0 -0
  296. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/typescript-b521ffa4.js +0 -0
  297. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/typespec-a2bf7963.js +0 -0
  298. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/typst-809abc66.js +0 -0
  299. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/v-baf607c6.js +0 -0
  300. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/vala-4223b101.js +0 -0
  301. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/vb-1b258b24.js +0 -0
  302. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/verilog-74446cca.js +0 -0
  303. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/vesper-e10e3a42.js +0 -0
  304. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/vhdl-bf5f916f.js +0 -0
  305. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/viml-98bd5e1b.js +0 -0
  306. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/vitesse-black-2687ea8d.js +0 -0
  307. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/vitesse-dark-c5b03d09.js +0 -0
  308. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/vitesse-light-308f70b2.js +0 -0
  309. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/vue-7accc211.js +0 -0
  310. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/vue-html-d7d47e1b.js +0 -0
  311. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/vue-vine-94057ff6.js +0 -0
  312. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/vyper-49c338bb.js +0 -0
  313. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/wasm-d3e3e002.js +0 -0
  314. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/wenyan-f123da11.js +0 -0
  315. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/wgsl-23a3bea2.js +0 -0
  316. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/wikitext-db2818a7.js +0 -0
  317. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/wit-192c1f40.js +0 -0
  318. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/wolfram-e51de66a.js +0 -0
  319. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/xml-23e9af7d.js +0 -0
  320. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/xsl-13238a0a.js +0 -0
  321. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/yaml-5fee0572.js +0 -0
  322. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/zenscript-f4b78f64.js +0 -0
  323. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/chunks/zig-50c7f6cd.js +0 -0
  324. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/core-solid-universal.js +0 -0
  325. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/host-env.js +0 -0
  326. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/icons.js +0 -0
  327. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/router.js +0 -0
  328. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/styles.js +0 -0
  329. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/tanstack-table-core.js +0 -0
  330. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/tanstack-virtual-core.js +0 -0
  331. /package/assets/{a50f0cae4322b5c7233e1396c673c56b62f9c482c0f92e372759caa1316e4a5a → bbe1b9a5c8c89c7bb3fc95992b800f4645188c53fd7199e50d97284197207e3d}/theme.js +0 -0
@@ -1,461 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["chunks/angular-html-414b5674.js","chunks/html-146e896a.js","chunks/javascript-def6328c.js","chunks/css-f3f67fd6.js","chunks/angular-ts-196c6350.js","chunks/scss-b867b74c.js","chunks/apl-eac78e29.js","chunks/xml-23e9af7d.js","chunks/java-69c882ee.js","chunks/json-fb434b29.js","chunks/astro-86c77de0.js","chunks/typescript-b521ffa4.js","chunks/postcss-9cbdcc7d.js","chunks/tsx-76eda050.js","chunks/blade-7a6c750e.js","chunks/html-derivative-6ae63148.js","chunks/sql-d8adb147.js","chunks/bsl-94318279.js","chunks/sdbl-5b3a2a55.js","chunks/cairo-9d828c5a.js","chunks/python-983cc133.js","chunks/chapel-984bc1bc.js","chunks/c-c772f7dd.js","chunks/cobol-4bfe5d3b.js","chunks/coffee-6b7a2e1f.js","chunks/cpp-98c005a0.js","chunks/regexp-e3211b61.js","chunks/glsl-72802d50.js","chunks/crystal-9264df27.js","chunks/shellscript-acebf4ab.js","chunks/edge-fbc1ea1f.js","chunks/elixir-e6b79676.js","chunks/elm-b3f1dffa.js","chunks/erb-7be7a3fd.js","chunks/ruby-d6229a4b.js","chunks/haml-8110b45d.js","chunks/graphql-bf3f02bf.js","chunks/jsx-2c461e88.js","chunks/lua-7834d20e.js","chunks/yaml-5fee0572.js","chunks/erlang-70b15979.js","chunks/markdown-6c529ca3.js","chunks/fortran-fixed-form-b8fb6202.js","chunks/fortran-free-form-109a6ef6.js","chunks/fsharp-c79dc05b.js","chunks/gdresource-fea1bb9c.js","chunks/gdshader-882ea0d1.js","chunks/gdscript-fbd5f057.js","chunks/git-commit-22965e93.js","chunks/diff-dd4ab241.js","chunks/git-rebase-72fab675.js","chunks/glimmer-js-a62e0963.js","chunks/glimmer-ts-fd72fc9e.js","chunks/hack-9f56f879.js","chunks/handlebars-4c7e0f37.js","chunks/http-a2a339ea.js","chunks/hurl-6a336d0a.js","chunks/csv-3a0d3612.js","chunks/hxml-061e95a2.js","chunks/haxe-b36570ce.js","chunks/jinja-d9e057a2.js","chunks/jison-224d4cd7.js","chunks/julia-0cd17bad.js","chunks/r-15db78c6.js","chunks/just-fe7dae17.js","chunks/perl-43a3e425.js","chunks/latex-d28d92f8.js","chunks/tex-9cd02190.js","chunks/liquid-cff2fa08.js","chunks/marko-ebf34056.js","chunks/less-5065e2bc.js","chunks/mdc-6fa94ee3.js","chunks/nextflow-c3ecb400.js","chunks/nextflow-groovy-b9a4c652.js","chunks/nginx-8f04393a.js","chunks/nim-427368d2.js","chunks/org-eb8433d2.js","chunks/ini-4b074f03.js","chunks/make-831d5b49.js","chunks/php-d42e013c.js","chunks/vb-1b258b24.js","chunks/clojure-d06bb6da.js","chunks/objective-c-d0442b17.js","chunks/docker-9be944bc.js","chunks/go-7f9e5c66.js","chunks/groovy-9fc42571.js","chunks/raku-05fdbd79.js","chunks/rust-797e4972.js","chunks/scala-cf66f8d2.js","chunks/csharp-caf38941.js","chunks/dart-21c85afa.js","chunks/ocaml-1907985e.js","chunks/zig-50c7f6cd.js","chunks/xsl-13238a0a.js","chunks/pug-00e36be6.js","chunks/qml-3011bca8.js","chunks/razor-eba4b2a1.js","chunks/rst-633a63e0.js","chunks/cmake-776084fb.js","chunks/sas-6af7580c.js","chunks/shaderlab-1fe09e16.js","chunks/hlsl-1b60d818.js","chunks/shellsession-1935e14d.js","chunks/soy-c021e120.js","chunks/sparql-554c67e4.js","chunks/turtle-66d1a874.js","chunks/stata-caa6d448.js","chunks/surrealql-7e88a245.js","chunks/svelte-15fdeab9.js","chunks/templ-c161ccbf.js","chunks/ts-tags-9e7261f7.js","chunks/twig-cff0696b.js","chunks/typst-809abc66.js","chunks/bat-9ab060ea.js","chunks/bibtex-b447a3bd.js","chunks/jsonc-74f491a5.js","chunks/log-8e79b28a.js","chunks/powershell-fb0d5977.js","chunks/swift-42c58ac8.js","chunks/verilog-74446cca.js","chunks/system-verilog-37a151c4.js","chunks/vue-7accc211.js","chunks/vue-html-d7d47e1b.js","chunks/vue-vine-94057ff6.js","chunks/stylus-a8db80e9.js"])))=>i.map(i=>d[i]);
2
- import{hV as pd,Z as an,dL as D,iK as ae,iL as be,i0 as md,gp as hd,dM as he,ej as ee,i6 as gd,dC as x,dN as ne,ia as vd,i9 as yd,ic as _d,ib as bd,ig as wd,ie as Ed,il as Sd,ik as Ad,io as Cd,ip as xd,is as kd,ir as Id,iv as Rd,iu as Ld,iz as Td,iy as Pd,iI as Od,iD as Dd,dA as ie,h_ as w,iM as J,iN as no,iO as j,iP as or,iQ as ll,iR as ue,eb as jo,H as cl,G as Md,n as ul,dT as ir,iS as ce,dG as St,dB as ar,i1 as Nd,a4 as me,dD as Xt,a5 as re,dF as Go,dE as sr,dH as lr,ed as Uo,a1 as cr,iT as dl,dR as He,dX as Fe,dZ as Be,fL as fl,iU as pl,g_ as ml,iV as hl,eh as At,ei as gl,i5 as Vd,dS as te,i8 as $d,i7 as Fd,i4 as Bd,i3 as Wd,i2 as zd,id as Hd,ij as jd,iq as Gd,iW as Ud,iX as qd,iY as Kd,e3 as Xd,ee as Yd,dJ as je,dW as Y,ho as Zd,hl as Qd,a2 as Pi,iZ as qo,es as Jd,eg as ef,a3 as vl,i_ as Ko,et as Xo,im as tf,it as nf,ix as rf,iw as of,iB as af,dP as sf,$ as Xe,dU as ro,dO as lf,dQ as Yo,ek as Ct,fm as yl,i$ as _l,j0 as bl,j1 as wl,e8 as El,j2 as Sl,ea as Al,fh as Cl,e9 as xl,dV as kl,j3 as cf}from"./runtime-shared.js";typeof Object.hasOwn!="function"&&Object.defineProperty(Object,"hasOwn",{configurable:!0,writable:!0,enumerable:!1,value:function(e,t){if(e==null)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)}});const uf="modulepreload",df=function(e){return"/"+e},Oi={},h=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let l=function(c){return Promise.all(c.map(u=>Promise.resolve(u).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),s=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));o=l(n.map(c=>{if(c=df(c),c in Oi)return;Oi[c]=!0;const u=c.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${d}`))return;const f=document.createElement("link");if(f.rel=u?"stylesheet":uf,u||(f.as="script"),f.crossOrigin="",f.href=c,s&&f.setAttribute("nonce",s),document.head.appendChild(f),u)return new Promise((p,m)=>{f.addEventListener("load",p),f.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return o.then(a=>{for(const s of a||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})},Il=[{id:"abap",name:"ABAP",import:(()=>h(()=>import("./chunks/abap-3d321810.js"),[]))},{id:"actionscript-3",name:"ActionScript",aliases:["actionscript","as3"],import:(()=>h(()=>import("./chunks/actionscript-3-ee0f3172.js"),[]))},{id:"ada",name:"Ada",import:(()=>h(()=>import("./chunks/ada-252b1a4b.js"),[]))},{id:"ahk",name:"AutoHotkey",aliases:["ahk1"],import:(()=>h(()=>import("./chunks/ahk-6e769ba2.js"),[]))},{id:"ahk2",name:"AutoHotkey2",import:(()=>h(()=>import("./chunks/ahk2-0f598015.js"),[]))},{id:"angular-html",name:"Angular HTML",import:(()=>h(()=>import("./chunks/angular-html-414b5674.js").then(e=>e.f),__vite__mapDeps([0,1,2,3])))},{id:"angular-ts",name:"Angular TypeScript",import:(()=>h(()=>import("./chunks/angular-ts-196c6350.js"),__vite__mapDeps([4,0,1,2,3,5])))},{id:"apache",name:"Apache Conf",import:(()=>h(()=>import("./chunks/apache-cdab5206.js"),[]))},{id:"apex",name:"Apex",import:(()=>h(()=>import("./chunks/apex-c3f9fc0e.js"),[]))},{id:"apl",name:"APL",import:(()=>h(()=>import("./chunks/apl-eac78e29.js"),__vite__mapDeps([6,1,2,3,7,8,9])))},{id:"applescript",name:"AppleScript",import:(()=>h(()=>import("./chunks/applescript-636efa0e.js"),[]))},{id:"ara",name:"Ara",import:(()=>h(()=>import("./chunks/ara-0ce36c80.js"),[]))},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:(()=>h(()=>import("./chunks/asciidoc-f3df19b9.js"),[]))},{id:"asm",name:"Assembly",import:(()=>h(()=>import("./chunks/asm-2df5a334.js"),[]))},{id:"astro",name:"Astro",import:(()=>h(()=>import("./chunks/astro-86c77de0.js"),__vite__mapDeps([10,9,2,11,3,12,13])))},{id:"awk",name:"AWK",import:(()=>h(()=>import("./chunks/awk-103b5427.js"),[]))},{id:"ballerina",name:"Ballerina",import:(()=>h(()=>import("./chunks/ballerina-394fb9b0.js"),[]))},{id:"bat",name:"Batch File",aliases:["batch","cmd"],import:(()=>h(()=>import("./chunks/bat-9ab060ea.js"),[]))},{id:"beancount",name:"Beancount",import:(()=>h(()=>import("./chunks/beancount-a5d3b565.js"),[]))},{id:"berry",name:"Berry",aliases:["be"],import:(()=>h(()=>import("./chunks/berry-b086b67c.js"),[]))},{id:"bibtex",name:"BibTeX",import:(()=>h(()=>import("./chunks/bibtex-b447a3bd.js"),[]))},{id:"bicep",name:"Bicep",import:(()=>h(()=>import("./chunks/bicep-2e94d542.js"),[]))},{id:"bird2",name:"BIRD2 Configuration",aliases:["bird"],import:(()=>h(()=>import("./chunks/bird2-8349d846.js"),[]))},{id:"blade",name:"Blade",import:(()=>h(()=>import("./chunks/blade-7a6c750e.js"),__vite__mapDeps([14,15,1,2,3,7,8,16,9])))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:(()=>h(()=>import("./chunks/bsl-94318279.js"),__vite__mapDeps([17,18])))},{id:"c",name:"C",import:(()=>h(()=>import("./chunks/c-c772f7dd.js"),[]))},{id:"c3",name:"C3",import:(()=>h(()=>import("./chunks/c3-4d5fec5e.js"),[]))},{id:"cadence",name:"Cadence",aliases:["cdc"],import:(()=>h(()=>import("./chunks/cadence-8c4c9e65.js"),[]))},{id:"cairo",name:"Cairo",import:(()=>h(()=>import("./chunks/cairo-9d828c5a.js"),__vite__mapDeps([19,20])))},{id:"chapel",name:"Chapel",aliases:["chpl"],import:(()=>h(()=>import("./chunks/chapel-984bc1bc.js"),__vite__mapDeps([21,22])))},{id:"clarity",name:"Clarity",import:(()=>h(()=>import("./chunks/clarity-304cafcf.js"),[]))},{id:"clojure",name:"Clojure",aliases:["clj"],import:(()=>h(()=>import("./chunks/clojure-d06bb6da.js"),[]))},{id:"cmake",name:"CMake",import:(()=>h(()=>import("./chunks/cmake-776084fb.js"),[]))},{id:"cobol",name:"COBOL",import:(()=>h(()=>import("./chunks/cobol-4bfe5d3b.js"),__vite__mapDeps([23,1,2,3,8])))},{id:"codeowners",name:"CODEOWNERS",import:(()=>h(()=>import("./chunks/codeowners-93b1928d.js"),[]))},{id:"codeql",name:"CodeQL",aliases:["ql"],import:(()=>h(()=>import("./chunks/codeql-52989abf.js"),[]))},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:(()=>h(()=>import("./chunks/coffee-6b7a2e1f.js"),__vite__mapDeps([24,2])))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:(()=>h(()=>import("./chunks/common-lisp-0b76d683.js"),[]))},{id:"coq",name:"Rocq",import:(()=>h(()=>import("./chunks/coq-d1b8b646.js"),[]))},{id:"cpp",name:"C++",aliases:["c++"],import:(()=>h(()=>import("./chunks/cpp-98c005a0.js"),__vite__mapDeps([25,26,27,22])))},{id:"crystal",name:"Crystal",import:(()=>h(()=>import("./chunks/crystal-9264df27.js"),__vite__mapDeps([28,1,2,3,16,22,29])))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:(()=>h(()=>import("./chunks/csharp-caf38941.js"),[]))},{id:"css",name:"CSS",import:(()=>h(()=>import("./chunks/css-f3f67fd6.js"),[]))},{id:"csv",name:"CSV",import:(()=>h(()=>import("./chunks/csv-3a0d3612.js"),[]))},{id:"cue",name:"CUE",import:(()=>h(()=>import("./chunks/cue-0c52bb1c.js"),[]))},{id:"cypher",name:"Cypher",aliases:["cql"],import:(()=>h(()=>import("./chunks/cypher-6be9d357.js"),[]))},{id:"d",name:"D",import:(()=>h(()=>import("./chunks/d-35e839eb.js"),[]))},{id:"dart",name:"Dart",import:(()=>h(()=>import("./chunks/dart-21c85afa.js"),[]))},{id:"dax",name:"DAX",import:(()=>h(()=>import("./chunks/dax-e99423d0.js"),[]))},{id:"desktop",name:"Desktop",import:(()=>h(()=>import("./chunks/desktop-52aa47a3.js"),[]))},{id:"diff",name:"Diff",import:(()=>h(()=>import("./chunks/diff-dd4ab241.js"),[]))},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:(()=>h(()=>import("./chunks/docker-9be944bc.js"),[]))},{id:"dotenv",name:"dotEnv",import:(()=>h(()=>import("./chunks/dotenv-9961b739.js"),[]))},{id:"dream-maker",name:"Dream Maker",import:(()=>h(()=>import("./chunks/dream-maker-cacf56fb.js"),[]))},{id:"edge",name:"Edge",import:(()=>h(()=>import("./chunks/edge-fbc1ea1f.js"),__vite__mapDeps([30,11,1,2,3,15])))},{id:"elixir",name:"Elixir",import:(()=>h(()=>import("./chunks/elixir-e6b79676.js"),__vite__mapDeps([31,1,2,3])))},{id:"elm",name:"Elm",import:(()=>h(()=>import("./chunks/elm-b3f1dffa.js"),__vite__mapDeps([32,27,22])))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:(()=>h(()=>import("./chunks/emacs-lisp-bf73fd5a.js"),[]))},{id:"erb",name:"ERB",import:(()=>h(()=>import("./chunks/erb-7be7a3fd.js"),__vite__mapDeps([33,1,2,3,34,35,7,8,16,36,11,37,13,25,26,27,22,29,38,39])))},{id:"erlang",name:"Erlang",aliases:["erl"],import:(()=>h(()=>import("./chunks/erlang-70b15979.js"),__vite__mapDeps([40,41])))},{id:"fennel",name:"Fennel",import:(()=>h(()=>import("./chunks/fennel-a2c0b93e.js"),[]))},{id:"fish",name:"Fish",import:(()=>h(()=>import("./chunks/fish-c3c09bfe.js"),[]))},{id:"fluent",name:"Fluent",aliases:["ftl"],import:(()=>h(()=>import("./chunks/fluent-76c57590.js"),[]))},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:(()=>h(()=>import("./chunks/fortran-fixed-form-b8fb6202.js"),__vite__mapDeps([42,43])))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:(()=>h(()=>import("./chunks/fortran-free-form-109a6ef6.js"),[]))},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:(()=>h(()=>import("./chunks/fsharp-c79dc05b.js"),__vite__mapDeps([44,41])))},{id:"gdresource",name:"GDResource",aliases:["tscn","tres"],import:(()=>h(()=>import("./chunks/gdresource-fea1bb9c.js"),__vite__mapDeps([45,46,47])))},{id:"gdscript",name:"GDScript",aliases:["gd"],import:(()=>h(()=>import("./chunks/gdscript-fbd5f057.js"),[]))},{id:"gdshader",name:"GDShader",import:(()=>h(()=>import("./chunks/gdshader-882ea0d1.js"),[]))},{id:"genie",name:"Genie",import:(()=>h(()=>import("./chunks/genie-40af493d.js"),[]))},{id:"gherkin",name:"Gherkin",import:(()=>h(()=>import("./chunks/gherkin-b163c6c8.js"),[]))},{id:"git-commit",name:"Git Commit Message",import:(()=>h(()=>import("./chunks/git-commit-22965e93.js"),__vite__mapDeps([48,49])))},{id:"git-rebase",name:"Git Rebase Message",import:(()=>h(()=>import("./chunks/git-rebase-72fab675.js"),__vite__mapDeps([50,29])))},{id:"gleam",name:"Gleam",import:(()=>h(()=>import("./chunks/gleam-9cdc3c25.js"),[]))},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:(()=>h(()=>import("./chunks/glimmer-js-a62e0963.js"),__vite__mapDeps([51,2,11,3,1])))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:(()=>h(()=>import("./chunks/glimmer-ts-fd72fc9e.js"),__vite__mapDeps([52,11,3,2,1])))},{id:"glsl",name:"GLSL",import:(()=>h(()=>import("./chunks/glsl-72802d50.js"),__vite__mapDeps([27,22])))},{id:"gn",name:"GN",import:(()=>h(()=>import("./chunks/gn-f57dcb6c.js"),[]))},{id:"gnuplot",name:"Gnuplot",import:(()=>h(()=>import("./chunks/gnuplot-5df55482.js"),[]))},{id:"go",name:"Go",import:(()=>h(()=>import("./chunks/go-7f9e5c66.js"),[]))},{id:"graphql",name:"GraphQL",aliases:["gql"],import:(()=>h(()=>import("./chunks/graphql-bf3f02bf.js"),__vite__mapDeps([36,2,11,37,13])))},{id:"groovy",name:"Groovy",import:(()=>h(()=>import("./chunks/groovy-9fc42571.js"),[]))},{id:"hack",name:"Hack",import:(()=>h(()=>import("./chunks/hack-9f56f879.js"),__vite__mapDeps([53,1,2,3,16])))},{id:"haml",name:"Ruby Haml",import:(()=>h(()=>import("./chunks/haml-8110b45d.js"),__vite__mapDeps([35,2,3])))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:(()=>h(()=>import("./chunks/handlebars-4c7e0f37.js"),__vite__mapDeps([54,1,2,3,39])))},{id:"haskell",name:"Haskell",aliases:["hs"],import:(()=>h(()=>import("./chunks/haskell-c4b57d2d.js"),[]))},{id:"haxe",name:"Haxe",import:(()=>h(()=>import("./chunks/haxe-b36570ce.js"),[]))},{id:"hcl",name:"HashiCorp HCL",import:(()=>h(()=>import("./chunks/hcl-0b65d431.js"),[]))},{id:"hjson",name:"Hjson",import:(()=>h(()=>import("./chunks/hjson-35593dd7.js"),[]))},{id:"hlsl",name:"HLSL",import:(()=>h(()=>import("./chunks/hlsl-1b60d818.js"),[]))},{id:"html",name:"HTML",import:(()=>h(()=>import("./chunks/html-146e896a.js"),__vite__mapDeps([1,2,3])))},{id:"html-derivative",name:"HTML (Derivative)",import:(()=>h(()=>import("./chunks/html-derivative-6ae63148.js"),__vite__mapDeps([15,1,2,3])))},{id:"http",name:"HTTP",import:(()=>h(()=>import("./chunks/http-a2a339ea.js"),__vite__mapDeps([55,29,9,7,8,36,2,11,37,13])))},{id:"hurl",name:"Hurl",import:(()=>h(()=>import("./chunks/hurl-6a336d0a.js"),__vite__mapDeps([56,36,2,11,37,13,7,8,57])))},{id:"hxml",name:"HXML",import:(()=>h(()=>import("./chunks/hxml-061e95a2.js"),__vite__mapDeps([58,59])))},{id:"hy",name:"Hy",import:(()=>h(()=>import("./chunks/hy-c5ab808c.js"),[]))},{id:"imba",name:"Imba",import:(()=>h(()=>import("./chunks/imba-82357896.js"),[]))},{id:"ini",name:"INI",aliases:["properties"],import:(()=>h(()=>import("./chunks/ini-4b074f03.js"),[]))},{id:"java",name:"Java",import:(()=>h(()=>import("./chunks/java-69c882ee.js"),[]))},{id:"javascript",name:"JavaScript",aliases:["js","cjs","mjs"],import:(()=>h(()=>import("./chunks/javascript-def6328c.js"),[]))},{id:"jinja",name:"Jinja",import:(()=>h(()=>import("./chunks/jinja-d9e057a2.js"),__vite__mapDeps([60,1,2,3])))},{id:"jison",name:"Jison",import:(()=>h(()=>import("./chunks/jison-224d4cd7.js"),__vite__mapDeps([61,2])))},{id:"json",name:"JSON",import:(()=>h(()=>import("./chunks/json-fb434b29.js"),[]))},{id:"json5",name:"JSON5",import:(()=>h(()=>import("./chunks/json5-3e41fab4.js"),[]))},{id:"jsonc",name:"JSON with Comments",import:(()=>h(()=>import("./chunks/jsonc-74f491a5.js"),[]))},{id:"jsonl",name:"JSON Lines",import:(()=>h(()=>import("./chunks/jsonl-97b20c3f.js"),[]))},{id:"jsonnet",name:"Jsonnet",import:(()=>h(()=>import("./chunks/jsonnet-0fbbdb85.js"),[]))},{id:"jssm",name:"JSSM",aliases:["fsl"],import:(()=>h(()=>import("./chunks/jssm-a304908e.js"),[]))},{id:"jsx",name:"JSX",import:(()=>h(()=>import("./chunks/jsx-2c461e88.js"),[]))},{id:"julia",name:"Julia",aliases:["jl"],import:(()=>h(()=>import("./chunks/julia-0cd17bad.js"),__vite__mapDeps([62,25,26,27,22,20,2,63,16])))},{id:"just",name:"Just",aliases:["justfile"],import:(()=>h(()=>import("./chunks/just-fe7dae17.js"),__vite__mapDeps([64,29,2,11,65,1,3,7,8,16,20,34,35,36,37,13,25,26,27,22,38,39])))},{id:"kdl",name:"KDL",import:(()=>h(()=>import("./chunks/kdl-b365f47f.js"),[]))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:(()=>h(()=>import("./chunks/kotlin-26d8506d.js"),[]))},{id:"kusto",name:"Kusto",aliases:["kql"],import:(()=>h(()=>import("./chunks/kusto-be136fc5.js"),[]))},{id:"latex",name:"LaTeX",import:(()=>h(()=>import("./chunks/latex-d28d92f8.js"),__vite__mapDeps([66,67,63])))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:(()=>h(()=>import("./chunks/lean-bd28364d.js"),[]))},{id:"less",name:"Less",import:(()=>h(()=>import("./chunks/less-5065e2bc.js"),[]))},{id:"liquid",name:"Liquid",import:(()=>h(()=>import("./chunks/liquid-cff2fa08.js"),__vite__mapDeps([68,1,2,3,9])))},{id:"llvm",name:"LLVM IR",import:(()=>h(()=>import("./chunks/llvm-815114a2.js"),[]))},{id:"log",name:"Log file",import:(()=>h(()=>import("./chunks/log-8e79b28a.js"),[]))},{id:"logo",name:"Logo",import:(()=>h(()=>import("./chunks/logo-4e4a2cbf.js"),[]))},{id:"lua",name:"Lua",import:(()=>h(()=>import("./chunks/lua-7834d20e.js"),__vite__mapDeps([38,22])))},{id:"luau",name:"Luau",import:(()=>h(()=>import("./chunks/luau-41e785de.js"),[]))},{id:"make",name:"Makefile",aliases:["makefile"],import:(()=>h(()=>import("./chunks/make-831d5b49.js"),[]))},{id:"markdown",name:"Markdown",aliases:["md"],import:(()=>h(()=>import("./chunks/markdown-6c529ca3.js"),[]))},{id:"marko",name:"Marko",import:(()=>h(()=>import("./chunks/marko-ebf34056.js"),__vite__mapDeps([69,3,70,5,11])))},{id:"matlab",name:"MATLAB",import:(()=>h(()=>import("./chunks/matlab-0840eea5.js"),[]))},{id:"mdc",name:"MDC",import:(()=>h(()=>import("./chunks/mdc-6fa94ee3.js"),__vite__mapDeps([71,41,39,15,1,2,3])))},{id:"mdx",name:"MDX",import:(()=>h(()=>import("./chunks/mdx-1132a16e.js"),[]))},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:(()=>h(()=>import("./chunks/mermaid-2e990632.js"),[]))},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:(()=>h(()=>import("./chunks/mipsasm-58049608.js"),[]))},{id:"mojo",name:"Mojo",import:(()=>h(()=>import("./chunks/mojo-2b1c719a.js"),[]))},{id:"moonbit",name:"MoonBit",aliases:["mbt","mbti"],import:(()=>h(()=>import("./chunks/moonbit-925e255b.js"),[]))},{id:"move",name:"Move",import:(()=>h(()=>import("./chunks/move-1f383970.js"),[]))},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:(()=>h(()=>import("./chunks/narrat-e4019018.js"),[]))},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:(()=>h(()=>import("./chunks/nextflow-c3ecb400.js"),__vite__mapDeps([72,73])))},{id:"nextflow-groovy",name:"Nextflow Groovy",import:(()=>h(()=>import("./chunks/nextflow-groovy-b9a4c652.js"),[]))},{id:"nginx",name:"Nginx",import:(()=>h(()=>import("./chunks/nginx-8f04393a.js"),__vite__mapDeps([74,38,22])))},{id:"nim",name:"Nim",import:(()=>h(()=>import("./chunks/nim-427368d2.js"),__vite__mapDeps([75,22,1,2,3,7,8,27,41])))},{id:"nix",name:"Nix",import:(()=>h(()=>import("./chunks/nix-23c2c452.js"),[]))},{id:"nsis",name:"NSIS",import:(()=>h(()=>import("./chunks/nsis-4067124b.js"),[]))},{id:"nushell",name:"nushell",aliases:["nu"],import:(()=>h(()=>import("./chunks/nushell-a1c55647.js"),[]))},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:(()=>h(()=>import("./chunks/objective-c-d0442b17.js"),[]))},{id:"objective-cpp",name:"Objective-C++",import:(()=>h(()=>import("./chunks/objective-cpp-c9166239.js"),[]))},{id:"ocaml",name:"OCaml",import:(()=>h(()=>import("./chunks/ocaml-1907985e.js"),[]))},{id:"odin",name:"Odin",import:(()=>h(()=>import("./chunks/odin-4edd9278.js"),[]))},{id:"openscad",name:"OpenSCAD",aliases:["scad"],import:(()=>h(()=>import("./chunks/openscad-5a928414.js"),[]))},{id:"org",name:"Org Markup",import:(()=>h(()=>import("./chunks/org-eb8433d2.js"),__vite__mapDeps([76,2,11,13,8,20,26,3,38,22,77,78,65,1,7,16,63,34,35,36,37,25,27,29,39,79,9,80,81,24,82,49,83,84,85,70,5,86,87,88,89,90,75,41,31,40,91,92,93,48,50,66,67])))},{id:"pascal",name:"Pascal",import:(()=>h(()=>import("./chunks/pascal-83ef650e.js"),[]))},{id:"perl",name:"Perl",import:(()=>h(()=>import("./chunks/perl-43a3e425.js"),__vite__mapDeps([65,1,2,3,7,8,16])))},{id:"php",name:"PHP",import:(()=>h(()=>import("./chunks/php-d42e013c.js"),__vite__mapDeps([79,1,2,3,7,8,16,9])))},{id:"pkl",name:"Pkl",import:(()=>h(()=>import("./chunks/pkl-4b37d331.js"),[]))},{id:"plsql",name:"PL/SQL",import:(()=>h(()=>import("./chunks/plsql-582ae89f.js"),[]))},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:(()=>h(()=>import("./chunks/po-40469fd0.js"),[]))},{id:"polar",name:"Polar",import:(()=>h(()=>import("./chunks/polar-06897efa.js"),[]))},{id:"postcss",name:"PostCSS",import:(()=>h(()=>import("./chunks/postcss-9cbdcc7d.js"),[]))},{id:"powerquery",name:"PowerQuery",import:(()=>h(()=>import("./chunks/powerquery-89dd530b.js"),[]))},{id:"powershell",name:"PowerShell",aliases:["ps","ps1","pwsh"],import:(()=>h(()=>import("./chunks/powershell-fb0d5977.js"),[]))},{id:"prisma",name:"Prisma",import:(()=>h(()=>import("./chunks/prisma-00b0ce7f.js"),[]))},{id:"prolog",name:"Prolog",import:(()=>h(()=>import("./chunks/prolog-4e4b62d2.js"),[]))},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:(()=>h(()=>import("./chunks/proto-cfc7ae8f.js"),[]))},{id:"pug",name:"Pug",aliases:["jade"],import:(()=>h(()=>import("./chunks/pug-00e36be6.js"),__vite__mapDeps([94,2,3,1])))},{id:"puppet",name:"Puppet",import:(()=>h(()=>import("./chunks/puppet-bcb20ce2.js"),[]))},{id:"purescript",name:"PureScript",import:(()=>h(()=>import("./chunks/purescript-79438736.js"),[]))},{id:"python",name:"Python",aliases:["py"],import:(()=>h(()=>import("./chunks/python-983cc133.js"),[]))},{id:"qml",name:"QML",import:(()=>h(()=>import("./chunks/qml-3011bca8.js"),__vite__mapDeps([95,2])))},{id:"qmldir",name:"QML Directory",import:(()=>h(()=>import("./chunks/qmldir-7b994fb3.js"),[]))},{id:"qss",name:"Qt Style Sheets",import:(()=>h(()=>import("./chunks/qss-3f5a0712.js"),[]))},{id:"r",name:"R",import:(()=>h(()=>import("./chunks/r-15db78c6.js"),[]))},{id:"racket",name:"Racket",import:(()=>h(()=>import("./chunks/racket-e3a99183.js"),[]))},{id:"raku",name:"Raku",aliases:["perl6"],import:(()=>h(()=>import("./chunks/raku-05fdbd79.js"),[]))},{id:"razor",name:"ASP.NET Razor",import:(()=>h(()=>import("./chunks/razor-eba4b2a1.js"),__vite__mapDeps([96,1,2,3,89])))},{id:"rbs",name:"RBS",aliases:["ruby-signature"],import:(()=>h(()=>import("./chunks/rbs-b8f21c7e.js"),[]))},{id:"reg",name:"Windows Registry Script",import:(()=>h(()=>import("./chunks/reg-261c0cb9.js"),[]))},{id:"regexp",name:"RegExp",aliases:["regex"],import:(()=>h(()=>import("./chunks/regexp-e3211b61.js"),[]))},{id:"rel",name:"Rel",import:(()=>h(()=>import("./chunks/rel-50362597.js"),[]))},{id:"riscv",name:"RISC-V",import:(()=>h(()=>import("./chunks/riscv-d7907df0.js"),[]))},{id:"ron",name:"RON",import:(()=>h(()=>import("./chunks/ron-191650b7.js"),[]))},{id:"rosmsg",name:"ROS Interface",import:(()=>h(()=>import("./chunks/rosmsg-23cdf873.js"),[]))},{id:"rst",name:"reStructuredText",import:(()=>h(()=>import("./chunks/rst-633a63e0.js"),__vite__mapDeps([97,15,1,2,3,25,26,27,22,20,29,39,98,34,35,7,8,16,36,11,37,13,38])))},{id:"ruby",name:"Ruby",aliases:["rb"],import:(()=>h(()=>import("./chunks/ruby-d6229a4b.js"),__vite__mapDeps([34,1,2,3,35,7,8,16,36,11,37,13,25,26,27,22,29,38,39])))},{id:"rust",name:"Rust",aliases:["rs"],import:(()=>h(()=>import("./chunks/rust-797e4972.js"),[]))},{id:"sas",name:"SAS",import:(()=>h(()=>import("./chunks/sas-6af7580c.js"),__vite__mapDeps([99,16])))},{id:"sass",name:"Sass",import:(()=>h(()=>import("./chunks/sass-2614cadf.js"),[]))},{id:"scala",name:"Scala",import:(()=>h(()=>import("./chunks/scala-cf66f8d2.js"),[]))},{id:"scheme",name:"Scheme",import:(()=>h(()=>import("./chunks/scheme-d8759a9f.js"),[]))},{id:"scss",name:"SCSS",import:(()=>h(()=>import("./chunks/scss-b867b74c.js"),__vite__mapDeps([5,3])))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:(()=>h(()=>import("./chunks/sdbl-5b3a2a55.js"),[]))},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:(()=>h(()=>import("./chunks/shaderlab-1fe09e16.js"),__vite__mapDeps([100,101])))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:(()=>h(()=>import("./chunks/shellscript-acebf4ab.js"),[]))},{id:"shellsession",name:"Shell Session",aliases:["console"],import:(()=>h(()=>import("./chunks/shellsession-1935e14d.js"),__vite__mapDeps([102,29])))},{id:"smalltalk",name:"GNU Smalltalk",import:(()=>h(()=>import("./chunks/smalltalk-073e9d53.js"),[]))},{id:"smithy",name:"Smithy",import:(()=>h(()=>import("./chunks/smithy-58c37287.js"),[]))},{id:"solidity",name:"Solidity",import:(()=>h(()=>import("./chunks/solidity-ba0c3a8f.js"),[]))},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:(()=>h(()=>import("./chunks/soy-c021e120.js"),__vite__mapDeps([103,1,2,3])))},{id:"sparql",name:"SPARQL",import:(()=>h(()=>import("./chunks/sparql-554c67e4.js"),__vite__mapDeps([104,105])))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:(()=>h(()=>import("./chunks/splunk-d720c93b.js"),[]))},{id:"sql",name:"SQL",import:(()=>h(()=>import("./chunks/sql-d8adb147.js"),[]))},{id:"ssh-config",name:"SSH Config",import:(()=>h(()=>import("./chunks/ssh-config-4010c3d6.js"),[]))},{id:"stata",name:"Stata",import:(()=>h(()=>import("./chunks/stata-caa6d448.js"),__vite__mapDeps([106,16])))},{id:"stylus",name:"Stylus",aliases:["styl"],import:(()=>h(()=>import("./chunks/stylus-a8db80e9.js"),[]))},{id:"surrealql",name:"SurrealQL",aliases:["surql"],import:(()=>h(()=>import("./chunks/surrealql-7e88a245.js"),__vite__mapDeps([107,2])))},{id:"svelte",name:"Svelte",import:(()=>h(()=>import("./chunks/svelte-15fdeab9.js"),__vite__mapDeps([108,2,11,3,12])))},{id:"swift",name:"Swift",import:(()=>h(()=>import("./chunks/swift-42c58ac8.js"),[]))},{id:"system-verilog",name:"SystemVerilog",import:(()=>h(()=>import("./chunks/system-verilog-37a151c4.js"),[]))},{id:"systemd",name:"Systemd Units",import:(()=>h(()=>import("./chunks/systemd-d3f678b2.js"),[]))},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:(()=>h(()=>import("./chunks/talonscript-b1476205.js"),[]))},{id:"tasl",name:"Tasl",import:(()=>h(()=>import("./chunks/tasl-0a49bc84.js"),[]))},{id:"tcl",name:"Tcl",import:(()=>h(()=>import("./chunks/tcl-3ef5ee69.js"),[]))},{id:"templ",name:"Templ",import:(()=>h(()=>import("./chunks/templ-c161ccbf.js"),__vite__mapDeps([109,84,2,3])))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:(()=>h(()=>import("./chunks/terraform-06e89874.js"),[]))},{id:"tex",name:"TeX",import:(()=>h(()=>import("./chunks/tex-9cd02190.js"),__vite__mapDeps([67,63])))},{id:"toml",name:"TOML",import:(()=>h(()=>import("./chunks/toml-e4e1125b.js"),[]))},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:(()=>h(()=>import("./chunks/ts-tags-9e7261f7.js"),__vite__mapDeps([110,11,3,2,27,22,1,16,7,8])))},{id:"tsv",name:"TSV",import:(()=>h(()=>import("./chunks/tsv-de92e756.js"),[]))},{id:"tsx",name:"TSX",import:(()=>h(()=>import("./chunks/tsx-76eda050.js"),[]))},{id:"turtle",name:"Turtle",import:(()=>h(()=>import("./chunks/turtle-66d1a874.js"),[]))},{id:"twig",name:"Twig",import:(()=>h(()=>import("./chunks/twig-cff0696b.js"),__vite__mapDeps([111,2,3,5,79,1,7,8,16,9,20,34,35,36,11,37,13,25,26,27,22,29,38,39])))},{id:"typescript",name:"TypeScript",aliases:["ts","cts","mts"],import:(()=>h(()=>import("./chunks/typescript-b521ffa4.js"),[]))},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:(()=>h(()=>import("./chunks/typespec-a2bf7963.js"),[]))},{id:"typst",name:"Typst",aliases:["typ"],import:(()=>h(()=>import("./chunks/typst-809abc66.js"),__vite__mapDeps([112,113,114,22,81,24,2,25,26,27,3,89,90,49,83,31,1,40,41,44,48,50,29,84,85,54,39,77,8,115,9,62,20,63,16,66,67,70,116,38,78,82,65,7,86,79,117,94,34,35,36,11,37,13,5,118,93,87,88,111,119,120,80])))},{id:"v",name:"V",import:(()=>h(()=>import("./chunks/v-baf607c6.js"),[]))},{id:"vala",name:"Vala",import:(()=>h(()=>import("./chunks/vala-4223b101.js"),[]))},{id:"vb",name:"Visual Basic",import:(()=>h(()=>import("./chunks/vb-1b258b24.js"),[]))},{id:"verilog",name:"Verilog",import:(()=>h(()=>import("./chunks/verilog-74446cca.js"),[]))},{id:"vhdl",name:"VHDL",import:(()=>h(()=>import("./chunks/vhdl-bf5f916f.js"),[]))},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:(()=>h(()=>import("./chunks/viml-98bd5e1b.js"),[]))},{id:"vue",name:"Vue",import:(()=>h(()=>import("./chunks/vue-7accc211.js"),__vite__mapDeps([121,3,2,11,9,1,15])))},{id:"vue-html",name:"Vue HTML",import:(()=>h(()=>import("./chunks/vue-html-d7d47e1b.js"),__vite__mapDeps([122,2])))},{id:"vue-vine",name:"Vue Vine",import:(()=>h(()=>import("./chunks/vue-vine-94057ff6.js"),__vite__mapDeps([123,3,5,70,124,12,2])))},{id:"vyper",name:"Vyper",aliases:["vy"],import:(()=>h(()=>import("./chunks/vyper-49c338bb.js"),[]))},{id:"wasm",name:"WebAssembly",import:(()=>h(()=>import("./chunks/wasm-d3e3e002.js"),[]))},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:(()=>h(()=>import("./chunks/wenyan-f123da11.js"),[]))},{id:"wgsl",name:"WGSL",import:(()=>h(()=>import("./chunks/wgsl-23a3bea2.js"),[]))},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:(()=>h(()=>import("./chunks/wikitext-db2818a7.js"),[]))},{id:"wit",name:"WebAssembly Interface Types",import:(()=>h(()=>import("./chunks/wit-192c1f40.js"),[]))},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:(()=>h(()=>import("./chunks/wolfram-e51de66a.js"),[]))},{id:"xml",name:"XML",import:(()=>h(()=>import("./chunks/xml-23e9af7d.js"),__vite__mapDeps([7,8])))},{id:"xsl",name:"XSL",import:(()=>h(()=>import("./chunks/xsl-13238a0a.js"),__vite__mapDeps([93,7,8])))},{id:"yaml",name:"YAML",aliases:["yml"],import:(()=>h(()=>import("./chunks/yaml-5fee0572.js"),[]))},{id:"zenscript",name:"ZenScript",import:(()=>h(()=>import("./chunks/zenscript-f4b78f64.js"),[]))},{id:"zig",name:"Zig",import:(()=>h(()=>import("./chunks/zig-50c7f6cd.js"),[]))}],ff=Object.fromEntries(Il.map(e=>[e.id,e.import])),pf=Object.fromEntries(Il.flatMap(e=>{var t;return((t=e.aliases)==null?void 0:t.map(n=>[n,e.import]))||[]})),Rl={...ff,...pf};var V=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function mf(e){return Zo(e)}function Zo(e){return Array.isArray(e)?hf(e):e instanceof RegExp?e:typeof e=="object"?gf(e):e}function hf(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=Zo(e[n]);return t}function gf(e){let t={};for(let n in e)t[n]=Zo(e[n]);return t}function Ll(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function Tl(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?Tl(e.substring(0,e.length-1)):e.substr(~t+1)}var Ir=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,dn=class{static hasCaptures(e){return e===null?!1:(Ir.lastIndex=0,Ir.test(e))}static replaceCaptures(e,t,n){return e.replace(Ir,(r,o,i,a)=>{let s=n[parseInt(o||i,10)];if(s){let l=t.substring(s.start,s.end);for(;l[0]===".";)l=l.substring(1);switch(a){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return r})}};function Pl(e,t){return e<t?-1:e>t?1:0}function Ol(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let o=0;o<n;o++){let i=Pl(e[o],t[o]);if(i!==0)return i}return 0}return n-r}function Di(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function Dl(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Ml=class{constructor(e){this.fn=e}fn;cache=new Map;get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},In=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}_colorMap;_defaults;_root;static createFromRawTheme(e,t){return this.createFromParsedTheme(_f(e),t)}static createFromParsedTheme(e,t){return wf(e,t)}_cachedMatchRoot=new Ml(e=>this._root.match(e));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,r=this._cachedMatchRoot.get(t).find(o=>vf(e.parent,o.parentScopes));return r?new Nl(r.fontStyle,r.foreground,r.background):null}},Rr=class An{constructor(t,n){this.parent=t,this.scopeName=n}parent;scopeName;static push(t,n){for(const r of n)t=new An(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new An(n,t[r]);return n}push(t){return new An(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}};function vf(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],o=!1;if(r===">"){if(n===t.length-1)return!1;r=t[++n],o=!0}for(;e&&!yf(e.scopeName,r);){if(o)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function yf(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var Nl=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}fontStyle;foregroundId;backgroundId};function _f(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let o=0,i=t.length;o<i;o++){let a=t[o];if(!a.settings)continue;let s;if(typeof a.scope=="string"){let d=a.scope;d=d.replace(/^[,]+/,""),d=d.replace(/[,]+$/,""),s=d.split(",")}else Array.isArray(a.scope)?s=a.scope:s=[""];let l=-1;if(typeof a.settings.fontStyle=="string"){l=0;let d=a.settings.fontStyle.split(" ");for(let f=0,p=d.length;f<p;f++)switch(d[f]){case"italic":l=l|1;break;case"bold":l=l|2;break;case"underline":l=l|4;break;case"strikethrough":l=l|8;break}}let c=null;typeof a.settings.foreground=="string"&&Di(a.settings.foreground)&&(c=a.settings.foreground);let u=null;typeof a.settings.background=="string"&&Di(a.settings.background)&&(u=a.settings.background);for(let d=0,f=s.length;d<f;d++){let m=s[d].trim().split(" "),g=m[m.length-1],v=null;m.length>1&&(v=m.slice(0,m.length-1),v.reverse()),n[r++]=new bf(g,v,o,l,c,u)}}return n}var bf=class{constructor(e,t,n,r,o,i){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=o,this.background=i}scope;parentScopes;index;fontStyle;foreground;background},Q=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(Q||{});function wf(e,t){e.sort((l,c)=>{let u=Pl(l.scope,c.scope);return u!==0||(u=Ol(l.parentScopes,c.parentScopes),u!==0)?u:l.index-c.index});let n=0,r="#000000",o="#ffffff";for(;e.length>=1&&e[0].scope==="";){let l=e.shift();l.fontStyle!==-1&&(n=l.fontStyle),l.foreground!==null&&(r=l.foreground),l.background!==null&&(o=l.background)}let i=new Ef(t),a=new Nl(n,i.getId(r),i.getId(o)),s=new Af(new oo(0,null,-1,0,0),[]);for(let l=0,c=e.length;l<c;l++){let u=e[l];s.insert(0,u.scope,u.parentScopes,u.fontStyle,i.getId(u.foreground),i.getId(u.background))}return new In(i,a,s)}var Ef=class{_isFrozen;_lastColorId;_id2color;_color2id;constructor(e){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw new Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},Sf=Object.freeze([]),oo=class Vl{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,n,r,o,i){this.scopeDepth=t,this.parentScopes=n||Sf,this.fontStyle=r,this.foreground=o,this.background=i}clone(){return new Vl(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,o=t.length;r<o;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,o){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),o!==0&&(this.background=o)}},Af=class io{constructor(t,n=[],r={}){this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}_mainRule;_children;_rulesWithParentScopes;static _cmpBySpecificity(t,n){if(t.scopeDepth!==n.scopeDepth)return n.scopeDepth-t.scopeDepth;let r=0,o=0;for(;t.parentScopes[r]===">"&&r++,n.parentScopes[o]===">"&&o++,!(r>=t.parentScopes.length||o>=n.parentScopes.length);){const i=n.parentScopes[o].length-t.parentScopes[r].length;if(i!==0)return i;r++,o++}return n.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let r=t.indexOf("."),o,i;if(r===-1?(o=t,i=""):(o=t.substring(0,r),i=t.substring(r+1)),this._children.hasOwnProperty(o))return this._children[o].match(i)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(io._cmpBySpecificity),n}insert(t,n,r,o,i,a){if(n===""){this._doInsertHere(t,r,o,i,a);return}let s=n.indexOf("."),l,c;s===-1?(l=n,c=""):(l=n.substring(0,s),c=n.substring(s+1));let u;this._children.hasOwnProperty(l)?u=this._children[l]:(u=new io(this._mainRule.clone(),oo.cloneArr(this._rulesWithParentScopes)),this._children[l]=u),u.insert(t+1,c,r,o,i,a)}_doInsertHere(t,n,r,o,i){if(n===null){this._mainRule.acceptOverwrite(t,r,o,i);return}for(let a=0,s=this._rulesWithParentScopes.length;a<s;a++){let l=this._rulesWithParentScopes[a];if(Ol(l.parentScopes,n)===0){l.acceptOverwrite(t,r,o,i);return}}r===-1&&(r=this._mainRule.fontStyle),o===0&&(o=this._mainRule.foreground),i===0&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new oo(t,n,r,o,i))}},tt=class de{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=de.getLanguageId(t),r=de.getTokenType(t),o=de.getFontStyle(t),i=de.getForeground(t),a=de.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:o,foreground:i,background:a})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,n,r,o,i,a,s){let l=de.getLanguageId(t),c=de.getTokenType(t),u=de.containsBalancedBrackets(t)?1:0,d=de.getFontStyle(t),f=de.getForeground(t),p=de.getBackground(t);return n!==0&&(l=n),r!==8&&(c=r),o!==null&&(u=o?1:0),i!==-1&&(d=i),a!==0&&(f=a),s!==0&&(p=s),(l<<0|c<<8|u<<10|d<<11|f<<15|p<<24)>>>0}};function Rn(e,t){const n=[],r=Cf(e);let o=r.next();for(;o!==null;){let l=0;if(o.length===2&&o.charAt(1)===":"){switch(o.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${o} in scope selector`)}o=r.next()}let c=a();if(n.push({matcher:c,priority:l}),o!==",")break;o=r.next()}return n;function i(){if(o==="-"){o=r.next();const l=i();return c=>!!l&&!l(c)}if(o==="("){o=r.next();const l=s();return o===")"&&(o=r.next()),l}if(Mi(o)){const l=[];do l.push(o),o=r.next();while(Mi(o));return c=>t(l,c)}return null}function a(){const l=[];let c=i();for(;c;)l.push(c),c=i();return u=>l.every(d=>d(u))}function s(){const l=[];let c=a();for(;c&&(l.push(c),o==="|"||o===",");){do o=r.next();while(o==="|"||o===",");c=a()}return u=>l.some(d=>d(u))}}function Mi(e){return!!e&&!!e.match(/[\w\.:]+/)}function Cf(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r}}}function $l(e){typeof e.dispose=="function"&&e.dispose()}var Yt=class{constructor(e){this.scopeName=e}scopeName;toKey(){return this.scopeName}},xf=class{constructor(e,t){this.scopeName=e,this.ruleName=t}scopeName;ruleName;toKey(){return`${this.scopeName}#${this.ruleName}`}},kf=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},If=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Yt(this.initialScopeName)]}repo;initialScopeName;seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){const e=this.Q;this.Q=[];const t=new kf;for(const n of e)Rf(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof Yt){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function Rf(e,t,n,r){const o=n.lookup(e.scopeName);if(!o){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const i=n.lookup(t);e instanceof Yt?Cn({baseGrammar:i,selfGrammar:o},r):ao(e.ruleName,{baseGrammar:i,selfGrammar:o,repository:o.repository},r);const a=n.injections(e.scopeName);if(a)for(const s of a)r.add(new Yt(s))}function ao(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];Ln([r],t,n)}}function Cn(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&Ln(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&Ln(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function Ln(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const o=r.repository?Ll({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&Ln(r.patterns,{...t,repository:o},n);const i=r.include;if(!i)continue;const a=Fl(i);switch(a.kind){case 0:Cn({...t,selfGrammar:t.baseGrammar},n);break;case 1:Cn(t,n);break;case 2:ao(a.ruleName,{...t,repository:o},n);break;case 3:case 4:const s=a.scopeName===t.selfGrammar.scopeName?t.selfGrammar:a.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(s){const l={baseGrammar:t.baseGrammar,selfGrammar:s,repository:o};a.kind===4?ao(a.ruleName,l,n):Cn(l,n)}else a.kind===4?n.add(new xf(a.scopeName,a.ruleName)):n.add(new Yt(a.scopeName));break}}}var Lf=class{kind=0},Tf=class{kind=1},Pf=class{constructor(e){this.ruleName=e}ruleName;kind=2},Of=class{constructor(e){this.scopeName=e}scopeName;kind=3},Df=class{constructor(e,t){this.scopeName=e,this.ruleName=t}scopeName;ruleName;kind=4};function Fl(e){if(e==="$base")return new Lf;if(e==="$self")return new Tf;const t=e.indexOf("#");if(t===-1)return new Of(e);if(t===0)return new Pf(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new Df(n,r)}}var Mf=/\\(\d+)/,Ni=/\\(\d+)/g,Nf=-1,Bl=-2;var sn=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=dn.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=dn.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${Tl(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:dn.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:dn.replaceCaptures(this._contentName,e,t)}},Vf=class extends sn{retokenizeCapturedWithRuleId;constructor(e,t,n,r,o){super(e,t,n,r),this.retokenizeCapturedWithRuleId=o}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,n,r){throw new Error("Not supported!")}},$f=class extends sn{_match;captures;_cachedCompiledPatterns;constructor(e,t,n,r,o){super(e,t,n,null),this._match=new Zt(r,this.id),this.captures=o,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Qt,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Vi=class extends sn{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,o){super(e,t,n,r),this.patterns=o.patterns,this.hasMissingPatterns=o.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Qt,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},so=class extends sn{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,o,i,a,s,l,c){super(e,t,n,r),this._begin=new Zt(o,this.id),this.beginCaptures=i,this._end=new Zt(a||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=s,this.applyEndPatternLast=l||!1,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Qt;for(const n of this.patterns)e.getRule(n).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},Tn=class extends sn{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,n,r,o,i,a,s,l){super(e,t,n,r),this._begin=new Zt(o,this.id),this.beginCaptures=i,this.whileCaptures=s,this._while=new Zt(a,Bl),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=l.patterns,this.hasMissingPatterns=l.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Qt;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Qt,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||"￿"),this._cachedCompiledWhilePatterns}},Wl=class Z{static createCaptureRule(t,n,r,o,i){return t.registerRule(a=>new Vf(n,a,r,o,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(o=>{if(t.id=o,t.match)return new $f(t.$vscodeTextmateLocation,t.id,t.name,t.match,Z._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=Ll({},r,t.repository));let i=t.patterns;return typeof i>"u"&&t.include&&(i=[{include:t.include}]),new Vi(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Z._compilePatterns(i,n,r))}return t.while?new Tn(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Z._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,Z._compileCaptures(t.whileCaptures||t.captures,n,r),Z._compilePatterns(t.patterns,n,r)):new so(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Z._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,Z._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,Z._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let o=[];if(t){let i=0;for(const a in t){if(a==="$vscodeTextmateLocation")continue;const s=parseInt(a,10);s>i&&(i=s)}for(let a=0;a<=i;a++)o[a]=null;for(const a in t){if(a==="$vscodeTextmateLocation")continue;const s=parseInt(a,10);let l=0;t[a].patterns&&(l=Z.getCompiledRuleId(t[a],n,r)),o[s]=Z.createCaptureRule(n,t[a].$vscodeTextmateLocation,t[a].name,t[a].contentName,l)}}return o}static _compilePatterns(t,n,r){let o=[];if(t)for(let i=0,a=t.length;i<a;i++){const s=t[i];let l=-1;if(s.include){const c=Fl(s.include);switch(c.kind){case 0:case 1:l=Z.getCompiledRuleId(r[s.include],n,r);break;case 2:let u=r[c.ruleName];u&&(l=Z.getCompiledRuleId(u,n,r));break;case 3:case 4:const d=c.scopeName,f=c.kind===4?c.ruleName:null,p=n.getExternalGrammar(d,r);if(p)if(f){let m=p.repository[f];m&&(l=Z.getCompiledRuleId(m,n,p.repository))}else l=Z.getCompiledRuleId(p.repository.$self,n,p.repository);break}}else l=Z.getCompiledRuleId(s,n,r);if(l!==-1){const c=n.getRule(l);let u=!1;if((c instanceof Vi||c instanceof so||c instanceof Tn)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;o.push(l)}}return{patterns:o,hasMissingPatterns:(t?t.length:0)!==o.length}}},Zt=class zl{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(t,n){if(t&&typeof t=="string"){const r=t.length;let o=0,i=[],a=!1;for(let s=0;s<r;s++)if(t.charAt(s)==="\\"&&s+1<r){const c=t.charAt(s+1);c==="z"?(i.push(t.substring(o,s)),i.push("$(?!\\n)(?<!\\n)"),o=s+2):(c==="A"||c==="G")&&(a=!0),s++}this.hasAnchor=a,o===0?this.source=t:(i.push(t.substring(o,r)),this.source=i.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=Mf.test(this.source):this.hasBackReferences=!1}clone(){return new zl(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let r=n.map(o=>t.substring(o.start,o.end));return Ni.lastIndex=0,this.source.replace(Ni,(o,i)=>Dl(r[parseInt(i,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let t=[],n=[],r=[],o=[],i,a,s,l;for(i=0,a=this.source.length;i<a;i++)s=this.source.charAt(i),t[i]=s,n[i]=s,r[i]=s,o[i]=s,s==="\\"&&i+1<a&&(l=this.source.charAt(i+1),l==="A"?(t[i+1]="￿",n[i+1]="￿",r[i+1]="A",o[i+1]="A"):l==="G"?(t[i+1]="￿",n[i+1]="G",r[i+1]="￿",o[i+1]="G"):(t[i+1]=l,n[i+1]=l,r[i+1]=l,o[i+1]=l),i++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:o.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Qt=class{_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(n=>n.source);this._cached=new $i(e,t,this._items.map(n=>n.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){let r=this._items.map(o=>o.resolveAnchors(t,n));return new $i(e,r,this._items.map(o=>o.ruleId))}},$i=class{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}regExps;rules;scanner;dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join(`
3
- `)}findNextMatchSync(e,t,n){const r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},Lr=class{constructor(e,t){this.languageId=e,this.tokenType=t}languageId;tokenType},Ff=class lo{_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,n){this._defaultAttributes=new Lr(t,8),this._embeddedLanguagesMatcher=new Bf(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?lo._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new Lr(0,0);_getBasicScopeAttributes=new Ml(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new Lr(n,r)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(lo.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/},Bf=class{values;scopesRegExp;constructor(e){if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([n,r])=>Dl(n));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}},Fi=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}stack;stoppedEarly};function Hl(e,t,n,r,o,i,a,s){const l=t.content.length;let c=!1,u=-1;if(a){const p=Wf(e,t,n,r,o,i);o=p.stack,r=p.linePos,n=p.isFirstLine,u=p.anchorPosition}const d=Date.now();for(;!c;){if(s!==0&&Date.now()-d>s)return new Fi(o,!0);f()}return new Fi(o,!1);function f(){const p=zf(e,t,n,r,o,u);if(!p){i.produce(o,l),c=!0;return}const m=p.captureIndices,g=p.matchedRuleId,v=m&&m.length>0?m[0].end>r:!1;if(g===Nf){const _=o.getRule(e);i.produce(o,m[0].start),o=o.withContentNameScopesList(o.nameScopesList),zt(e,t,n,o,i,_.endCaptures,m),i.produce(o,m[0].end);const y=o;if(o=o.parent,u=y.getAnchorPos(),!v&&y.getEnterPos()===r){o=y,i.produce(o,l),c=!0;return}}else{const _=e.getRule(g);i.produce(o,m[0].start);const y=o,b=_.getName(t.content,m),E=o.contentNameScopesList.pushAttributed(b,e);if(o=o.push(g,r,u,m[0].end===l,null,E,E),_ instanceof so){const S=_;zt(e,t,n,o,i,S.beginCaptures,m),i.produce(o,m[0].end),u=m[0].end;const C=S.getContentName(t.content,m),k=E.pushAttributed(C,e);if(o=o.withContentNameScopesList(k),S.endHasBackReferences&&(o=o.withEndRule(S.getEndWithResolvedBackReferences(t.content,m))),!v&&y.hasSameRuleAs(o)){o=o.pop(),i.produce(o,l),c=!0;return}}else if(_ instanceof Tn){const S=_;zt(e,t,n,o,i,S.beginCaptures,m),i.produce(o,m[0].end),u=m[0].end;const C=S.getContentName(t.content,m),k=E.pushAttributed(C,e);if(o=o.withContentNameScopesList(k),S.whileHasBackReferences&&(o=o.withEndRule(S.getWhileWithResolvedBackReferences(t.content,m))),!v&&y.hasSameRuleAs(o)){o=o.pop(),i.produce(o,l),c=!0;return}}else if(zt(e,t,n,o,i,_.captures,m),i.produce(o,m[0].end),o=o.pop(),!v){o=o.safePop(),i.produce(o,l),c=!0;return}}m[0].end>r&&(r=m[0].end,n=!1)}}function Wf(e,t,n,r,o,i){let a=o.beginRuleCapturedEOL?0:-1;const s=[];for(let l=o;l;l=l.pop()){const c=l.getRule(e);c instanceof Tn&&s.push({rule:c,stack:l})}for(let l=s.pop();l;l=s.pop()){const{ruleScanner:c,findOptions:u}=Gf(l.rule,e,l.stack.endRule,n,r===a),d=c.findNextMatchSync(t,r,u);if(d){if(d.ruleId!==Bl){o=l.stack.pop();break}d.captureIndices&&d.captureIndices.length&&(i.produce(l.stack,d.captureIndices[0].start),zt(e,t,n,l.stack,i,l.rule.whileCaptures,d.captureIndices),i.produce(l.stack,d.captureIndices[0].end),a=d.captureIndices[0].end,d.captureIndices[0].end>r&&(r=d.captureIndices[0].end,n=!1))}else{o=l.stack.pop();break}}return{stack:o,linePos:r,anchorPosition:a,isFirstLine:n}}function zf(e,t,n,r,o,i){const a=Hf(e,t,n,r,o,i),s=e.getInjections();if(s.length===0)return a;const l=jf(s,e,t,n,r,o,i);if(!l)return a;if(!a)return l;const c=a.captureIndices[0].start,u=l.captureIndices[0].start;return u<c||l.priorityMatch&&u===c?l:a}function Hf(e,t,n,r,o,i){const a=o.getRule(e),{ruleScanner:s,findOptions:l}=jl(a,e,o.endRule,n,r===i),c=s.findNextMatchSync(t,r,l);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function jf(e,t,n,r,o,i,a){let s=Number.MAX_VALUE,l=null,c,u=0;const d=i.contentNameScopesList.getScopeNames();for(let f=0,p=e.length;f<p;f++){const m=e[f];if(!m.matcher(d))continue;const g=t.getRule(m.ruleId),{ruleScanner:v,findOptions:_}=jl(g,t,null,r,o===a),y=v.findNextMatchSync(n,o,_);if(!y)continue;const b=y.captureIndices[0].start;if(!(b>=s)&&(s=b,l=y.captureIndices,c=y.ruleId,u=m.priority,s===o))break}return l?{priorityMatch:u===-1,captureIndices:l,matchedRuleId:c}:null}function jl(e,t,n,r,o){return{ruleScanner:e.compileAG(t,n,r,o),findOptions:0}}function Gf(e,t,n,r,o){return{ruleScanner:e.compileWhileAG(t,n,r,o),findOptions:0}}function zt(e,t,n,r,o,i,a){if(i.length===0)return;const s=t.content,l=Math.min(i.length,a.length),c=[],u=a[0].end;for(let d=0;d<l;d++){const f=i[d];if(f===null)continue;const p=a[d];if(p.length===0)continue;if(p.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=p.start;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?o.produceFromScopes(c[c.length-1].scopes,p.start):o.produce(r,p.start),f.retokenizeCapturedWithRuleId){const g=f.getName(s,a),v=r.contentNameScopesList.pushAttributed(g,e),_=f.getContentName(s,a),y=v.pushAttributed(_,e),b=r.push(f.retokenizeCapturedWithRuleId,p.start,-1,!1,null,v,y),E=e.createOnigString(s.substring(0,p.end));Hl(e,E,n&&p.start===0,p.start,b,o,!1,0),$l(E);continue}const m=f.getName(s,a);if(m!==null){const v=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(m,e);c.push(new Uf(v,p.end))}}for(;c.length>0;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}var Uf=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function qf(e,t,n,r,o,i,a,s){return new Xf(e,t,n,r,o,i,a,s)}function Bi(e,t,n,r,o){const i=Rn(t,Pn),a=Wl.getCompiledRuleId(n,r,o.repository);for(const s of i)e.push({debugSelector:t,matcher:s.matcher,ruleId:a,grammar:o,priority:s.priority})}function Pn(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let o=n;o<t.length;o++)if(Kf(t[o],r))return n=o+1,!0;return!1})}function Kf(e,t){if(!e)return!1;if(e===t)return!0;const n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]==="."}var Xf=class{constructor(e,t,n,r,o,i,a,s){if(this._rootScopeName=e,this.balancedBracketSelectors=i,this._onigLib=s,this._basicScopeAttributesProvider=new Ff(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=a,this._grammar=Wi(t,null),this._injections=null,this._tokenTypeMatchers=[],o)for(const l of Object.keys(o)){const c=Rn(l,Pn);for(const u of c)this._tokenTypeMatchers.push({matcher:u.matcher,type:o[l]})}}_rootScopeName;balancedBracketSelectors;_onigLib;_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e={lookup:o=>o===this._rootScopeName?this._grammar:this.getExternalGrammar(o),injections:o=>this._grammarRepository.injections(o)},t=[],n=this._rootScopeName,r=e.lookup(n);if(r){const o=r.injections;if(o)for(let a in o)Bi(t,a,o[a],this,r);const i=this._grammarRepository.injections(n);i&&i.forEach(a=>{const s=this.getExternalGrammar(a);if(s){const l=s.injectionSelector;l&&Bi(t,l,s,this,s)}})}return t.sort((o,i)=>o.priority-i.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){const t=++this._lastRuleId,n=e(t);return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=Wi(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){const r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){const r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){this._rootId===-1&&(this._rootId=Wl.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let o;if(!t||t===co.NULL){o=!0;const c=this._basicScopeAttributesProvider.getDefaultAttributes(),u=this.themeProvider.getDefaults(),d=tt.set(0,c.languageId,c.tokenType,null,u.fontStyle,u.foregroundId,u.backgroundId),f=this.getRule(this._rootId).getName(null,null);let p;f?p=Ut.createRootAndLookUpScopeName(f,d,this):p=Ut.createRoot("unknown",d),t=new co(null,this._rootId,-1,-1,!1,null,p,p)}else o=!1,t.reset();e=e+`
4
- `;const i=this.createOnigString(e),a=i.content.length,s=new Zf(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),l=Hl(this,i,o,0,t,s,!0,r);return $l(i),{lineLength:a,lineTokens:s,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function Wi(e,t){return e=mf(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var Ut=class we{constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}parent;scopePath;tokenAttributes;static fromExtension(t,n){let r=t,o=(t==null?void 0:t.scopePath)??null;for(const i of n)o=Rr.push(o,i.scopeNames),r=new we(r,o,i.encodedTokenAttributes);return r}static createRoot(t,n){return new we(null,new Rr(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const o=r.getMetadataForScope(t),i=new Rr(null,t),a=r.themeProvider.themeMatch(i),s=we.mergeAttributes(n,o,a);return new we(null,i,s)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return we.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let o=-1,i=0,a=0;return r!==null&&(o=r.fontStyle,i=r.foregroundId,a=r.backgroundId),tt.set(t,n.languageId,n.tokenType,null,o,i,a)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return we._pushAttributed(this,t,n);const r=t.split(/ /g);let o=this;for(const i of r)o=we._pushAttributed(o,i,n);return o}static _pushAttributed(t,n,r){const o=r.getMetadataForScope(n),i=t.scopePath.push(n),a=r.themeProvider.themeMatch(i),s=we.mergeAttributes(t.tokenAttributes,o,a);return new we(t,i,s)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){var o;const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(((o=r.parent)==null?void 0:o.scopePath)??null)}),r=r.parent;return r===t?n.reverse():void 0}},co=class Ye{constructor(t,n,r,o,i,a,s,l){this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=i,this.endRule=a,this.nameScopesList=s,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=o}parent;ruleId;beginRuleCapturedEOL;endRule;nameScopesList;contentNameScopesList;_stackElementBrand=void 0;static NULL=new Ye(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(t){return t===null?!1:Ye._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?Ut.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){Ye._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,o,i,a,s){return new Ye(this,t,n,r,o,i,a,s)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){var r,o;return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${(r=this.nameScopesList)==null?void 0:r.toString()}, ${(o=this.contentNameScopesList)==null?void 0:o.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new Ye(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){var t,n,r;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((n=this.nameScopesList)==null?void 0:n.getExtensionIfDefined(((t=this.parent)==null?void 0:t.nameScopesList)??null))??[],contentNameScopesList:((r=this.contentNameScopesList)==null?void 0:r.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(t,n){const r=Ut.fromExtension((t==null?void 0:t.nameScopesList)??null,n.nameScopesList);return new Ye(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Ut.fromExtension(r,n.contentNameScopesList))}},Yf=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):Rn(n,Pn).map(r=>r.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>Rn(n,Pn).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},Zf=class{constructor(e,t,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}balancedBracketSelectors;_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){var r;if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let o=(e==null?void 0:e.tokenAttributes)??0,i=!1;if((r=this.balancedBracketSelectors)!=null&&r.matchesAlways&&(i=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const a=(e==null?void 0:e.getScopeNames())??[];for(const s of this._tokenTypeOverrides)s.matcher(a)&&(o=tt.set(o,0,s.type,null,-1,0,0));this.balancedBracketSelectors&&(i=this.balancedBracketSelectors.match(a))}if(i&&(o=tt.set(o,0,8,i,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===o){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(o),this._lastTokenEndIndex=t;return}const n=(e==null?void 0:e.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let r=0,o=this._binaryTokens.length;r<o;r++)n[r]=this._binaryTokens[r];return n}},Qf=class{constructor(e,t){this._onigLib=t,this._theme=e}_onigLib;_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;dispose(){for(const e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,o){if(!this._grammars.has(e)){let i=this._rawGrammars.get(e);if(!i)return null;this._grammars.set(e,qf(e,i,t,n,r,o,this,this._onigLib))}return this._grammars.get(e)}},Jf=class{_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new Qf(In.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(In.createFromRawTheme(t,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,n,r){return this.loadGrammarWithConfiguration(t,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(t,n,r){return this._loadGrammar(t,n,r.embeddedLanguages,r.tokenTypes,new Yf(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,n,r,o,i){const a=new If(this._syncRegistry,t);for(;a.Q.length>0;)a.Q.map(s=>this._loadSingleGrammar(s.scopeName)),a.processQueue();return this._grammarForScopeName(t,n,r,o,i)}_loadSingleGrammar(t){this._ensureGrammarCache.has(t)||(this._doLoadSingleGrammar(t),this._ensureGrammarCache.set(t,!0))}_doLoadSingleGrammar(t){const n=this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}addGrammar(t,n=[],r=0,o=null){return this._syncRegistry.addGrammar(t,n),this._grammarForScopeName(t.scopeName,r,o)}_grammarForScopeName(t,n=0,r=null,o=null,i=null){return this._syncRegistry.grammarForScopeName(t,n,r,o,i)}},uo=co.NULL;function On(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[o,i]of Object.entries((t==null?void 0:t.colorReplacements)||{}))typeof i=="string"?n[o]=i:o===r&&Object.assign(n,i);return n}function We(e,t){return e&&((t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e)}function ep(e){return Array.isArray(e)?e:[e]}async function Gl(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function ur(e){return!e||["plaintext","txt","text","plain"].includes(e)}function tp(e){return e==="ansi"||ur(e)}function dr(e){return e==="none"}function np(e){return dr(e)}const rp=/(\r?\n)/g;function fr(e,t=!1){var i;if(e.length===0)return[["",0]];const n=e.split(rp);let r=0;const o=[];for(let a=0;a<n.length;a+=2){const s=t?n[a]+(n[a+1]||""):n[a];o.push([s,r]),r+=n[a].length,r+=((i=n[a+1])==null?void 0:i.length)||0}return o}const zi={light:"#333333",dark:"#bbbbbb"},Hi={light:"#fffffe",dark:"#1e1e1e"},ji="__shiki_resolved";function Qo(e){var s,l,c,u,d;if(e!=null&&e[ji])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){const f=t.settings?t.settings.find(p=>!p.name&&!p.scope):void 0;(s=f==null?void 0:f.settings)!=null&&s.foreground&&(r=f.settings.foreground),(l=f==null?void 0:f.settings)!=null&&l.background&&(n=f.settings.background),!r&&((c=t==null?void 0:t.colors)!=null&&c["editor.foreground"])&&(r=t.colors["editor.foreground"]),!n&&((u=t==null?void 0:t.colors)!=null&&u["editor.background"])&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?zi.light:zi.dark),n||(n=t.type==="light"?Hi.light:Hi.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let o=0;const i=new Map;function a(f){var m;if(i.has(f))return i.get(f);o+=1;const p=`#${o.toString(16).padStart(8,"0").toLowerCase()}`;return(m=t.colorReplacements)!=null&&m[`#${p}`]?a(f):(i.set(f,p),p)}t.settings=t.settings.map(f=>{var v,_;const p=((v=f.settings)==null?void 0:v.foreground)&&!f.settings.foreground.startsWith("#"),m=((_=f.settings)==null?void 0:_.background)&&!f.settings.background.startsWith("#");if(!p&&!m)return f;const g={...f,settings:{...f.settings}};if(p){const y=a(f.settings.foreground);t.colorReplacements[y]=f.settings.foreground,g.settings.foreground=y}if(m){const y=a(f.settings.background);t.colorReplacements[y]=f.settings.background,g.settings.background=y}return g});for(const f of Object.keys(t.colors||{}))if((f==="editor.foreground"||f==="editor.background"||f.startsWith("terminal.ansi"))&&!((d=t.colors[f])!=null&&d.startsWith("#"))){const p=a(t.colors[f]);t.colorReplacements[p]=t.colors[f],t.colors[f]=p}return Object.defineProperty(t,ji,{enumerable:!1,writable:!1,value:!0}),t}async function Ul(e){return[...new Set((await Promise.all(e.filter(t=>!tp(t)).map(async t=>await Gl(t).then(n=>Array.isArray(n)?n:[n])))).flat())]}async function ql(e){return(await Promise.all(e.map(async t=>np(t)?null:Qo(await Gl(t))))).filter(t=>!!t)}function Kl(e,t){if(!t)return e;if(t[e]){const n=new Set([e]);for(;t[e];){if(e=t[e],n.has(e))throw new V(`Circular alias \`${[...n].join(" -> ")} -> ${e}\``);n.add(e)}}return e}var op=class extends Jf{_resolver;_themes;_langs;_alias;_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;constructor(e,t,n,r={}){super(e),this._resolver=e,this._themes=t,this._langs=n,this._alias=r,this._themes.map(o=>this.loadTheme(o)),this.loadLanguages(this._langs)}getTheme(e){return typeof e=="string"?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){const t=Qo(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=In.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){return e=Kl(e,this._alias),this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;const t=new Set([...this._langMap.values()].filter(o=>{var i;return(i=o.embeddedLangsLazy)==null?void 0:i.includes(e.name)}));this._resolver.addLanguage(e);const n={balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);const r=this.loadGrammarWithConfiguration(e.scopeName,1,n);r.name=e.name,this._resolvedGrammars.set(e.name,r),e.aliases&&e.aliases.forEach(o=>{this._alias[o]=e.name}),this._loadedLanguagesCache=null;for(const o of t)this.reloadLanguage(o);if(e.injectTo){const o=[...this._langMap.values()].filter(i=>i!==e&&this._resolvedGrammars.has(i.name)&&e.injectTo.some(a=>i.scopeName===a||i.scopeName.startsWith(`${a}.`))&&!this.hasCurrentInjections(i.scopeName));for(const i of o)this.reloadLanguage(i)}}hasCurrentInjections(e){var r,o;const t=((o=(r=this._syncRegistry)==null?void 0:r._injectionGrammars)==null?void 0:o.get(e))||[],n=this._resolver.getInjections(e)||[];return t.length===n.length&&t.every((i,a)=>i===n[a])}reloadLanguage(e){var t,n,r,o,i,a,s;(r=(n=(t=this._syncRegistry)==null?void 0:t._grammars)==null?void 0:n.get(e.scopeName))==null||r.dispose(),this._resolvedGrammars.delete(e.name),this._loadedLanguagesCache=null,(i=(o=this._syncRegistry)==null?void 0:o._grammars)==null||i.delete(e.scopeName),(s=(a=this._syncRegistry)==null?void 0:a._injectionGrammars)==null||s.set(e.scopeName,this._resolver.getInjections(e.scopeName)||[]),this.loadLanguage(this._langMap.get(e.name)||e)}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(const r of e)this.resolveEmbeddedLanguages(r);const t=[...this._langGraph.entries()],n=t.filter(([r,o])=>!o);if(n.length){const r=t.filter(([o,i])=>{var a;return i?(a=i.embeddedLanguages||i.embeddedLangs)==null?void 0:a.some(s=>n.map(([l])=>l).includes(s)):!1}).filter(o=>!n.includes(o));throw new V(`Missing languages ${n.map(([o])=>`\`${o}\``).join(", ")}, required by ${r.map(([o])=>`\`${o}\``).join(", ")}`)}for(const[r,o]of t)this._resolver.addLanguage(o);for(const[r,o]of t)this.loadLanguage(o)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(e){this._langMap.set(e.name,e),this._langGraph.set(e.name,e);const t=e.embeddedLanguages??e.embeddedLangs;if(t)for(const n of t)this._langGraph.set(n,this._langMap.get(n))}},ip=class{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(e,t){this._onigLib={createOnigScanner:n=>e.createScanner(n),createOnigString:n=>e.createString(n)},t.forEach(n=>this.addLanguage(n))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).includes(e.scopeName)||this._injections.get(t).push(e.scopeName)})}getInjections(e){const t=e.split(".");let n=[];for(let r=1;r<=t.length;r++){const o=t.slice(0,r).join(".");n=[...n,...this._injections.get(o)||[]]}return n}};let Vt=0;function ap(e){Vt+=1,e.warnings!==!1&&Vt>=10&&Vt%10===0&&console.warn(`[Shiki] ${Vt} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new V("`engine` option is required for synchronous mode");const n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(Qo),o=new op(new ip(e.engine,n),r,n,e.langAlias);let i;function a(y){return Kl(y,e.langAlias)}function s(y){v();const b=o.getGrammar(typeof y=="string"?y:y.name);if(!b)throw new V(`Language \`${y}\` not found, you may need to load it first`);return b}function l(y){if(y==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};v();const b=o.getTheme(y);if(!b)throw new V(`Theme \`${y}\` not found, you may need to load it first`);return b}function c(y){v();const b=l(y);return i!==y&&(o.setTheme(b),i=y),{theme:b,colorMap:o.getColorMap()}}function u(){return v(),o.getLoadedThemes()}function d(){return v(),o.getLoadedLanguages()}function f(...y){v(),o.loadLanguages(y.flat(1))}async function p(...y){return f(await Ul(y))}function m(...y){v();for(const b of y.flat(1))o.loadTheme(b)}async function g(...y){return v(),m(await ql(y))}function v(){if(t)throw new V("Shiki instance has been disposed")}function _(){t||(t=!0,o.dispose(),Vt-=1)}return{setTheme:c,getTheme:l,getLanguage:s,getLoadedThemes:u,getLoadedLanguages:d,resolveLangAlias:a,loadLanguage:p,loadLanguageSync:f,loadTheme:g,loadThemeSync:m,dispose:_,[Symbol.dispose]:_}}async function sp(e){e.engine||console.warn("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,n,r]=await Promise.all([ql(e.themes||[]),Ul(e.langs||[]),e.engine]);return ap({...e,themes:t,langs:n,engine:r})}const Xl=new WeakMap;function pr(e,t){Xl.set(e,t)}function Jt(e){return Xl.get(e)}var mr=class Yl{_stacks={};lang;get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,n){return new Yl(Object.fromEntries(ep(n).map(r=>[r,uo])),t)}constructor(...t){if(t.length===2){const[n,r]=t;this.lang=r,this._stacks=n}else{const[n,r,o]=t;this.lang=r,this._stacks={[o]:n}}}getInternalStack(t=this.theme){return this._stacks[t]}getScopes(t=this.theme){return lp(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};function lp(e){const t=[],n=new Set;function r(o){var a;if(n.has(o))return;n.add(o);const i=(a=o==null?void 0:o.nameScopesList)==null?void 0:a.scopeName;i&&t.push(i),o.parent&&r(o.parent)}return r(e),t}function cp(e,t){if(!(e instanceof mr))throw new V("Invalid grammar state");return e.getInternalStack(t)}const up=/,/,dp=/ /;function Zl(e,t,n={}){const{theme:r=e.getLoadedThemes()[0]}=n;if(ur(e.resolveLangAlias(n.lang||"text"))||dr(r))return fr(t).map(s=>[{content:s[0],offset:s[1]}]);const{theme:o,colorMap:i}=e.setTheme(r),a=e.getLanguage(n.lang||"text");if(n.grammarState){if(n.grammarState.lang!==a.name)throw new V(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${a.name}"`);if(!n.grammarState.themes.includes(o.name))throw new V(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${o.name}"`)}return pp(t,a,o,i,n)}function fp(...e){if(e.length===2)return Jt(e[1]);const[t,n,r={}]=e,{lang:o="text",theme:i=t.getLoadedThemes()[0]}=r;if(ur(o)||dr(i))throw new V("Plain language does not have grammar state");if(o==="ansi")throw new V("ANSI language does not have grammar state");const{theme:a,colorMap:s}=t.setTheme(i),l=t.getLanguage(o);return new mr(Jo(n,l,a,s,r).stateStack,l.name,a.name)}function pp(e,t,n,r,o){const i=Jo(e,t,n,r,o),a=new mr(i.stateStack,t.name,n.name);return pr(i.tokens,a),i.tokens}function Jo(e,t,n,r,o){const i=On(n,o),{tokenizeMaxLineLength:a=0,tokenizeTimeLimit:s=500,includeExplanation:l=!1}=o,c=fr(e);let u=o.grammarState?cp(o.grammarState,n.name)??uo:o.grammarContextCode!=null?Jo(o.grammarContextCode,t,n,r,{...o,grammarState:void 0,grammarContextCode:void 0}).stateStack:uo,d=[];const f=[];for(let p=0,m=c.length;p<m;p++){const[g,v]=c[p];if(g===""){d=[],f.push([]);continue}if(a>0&&g.length>=a){d=[],f.push([{content:g,offset:v,color:"",fontStyle:0}]);continue}let _,y,b;l&&l!=="tokenType"&&(_=t.tokenizeLine(g,u,s),y=_.tokens,b=0);const E=t.tokenizeLine2(g,u,s),S=E.tokens.length/2;for(let C=0;C<S;C++){const k=E.tokens[2*C],R=C+1<S?E.tokens[2*C+2]:g.length;if(k===R)continue;const I=E.tokens[2*C+1],P=We(r[tt.getForeground(I)],i),$=tt.getFontStyle(I),O={content:g.substring(k,R),offset:v+k,color:P,fontStyle:$};if(l==="tokenType")O.type=tt.getTokenType(I);else if(l){const B=[];if(l!=="scopeName")for(const W of n.settings){let N;switch(typeof W.scope){case"string":N=W.scope.split(up).map(K=>K.trim());break;case"object":N=W.scope;break;default:continue}B.push({settings:W,selectors:N.map(K=>K.split(dp))})}O.explanation=[];let U=0;for(;k+U<R;){const W=y[b],N=g.substring(W.startIndex,W.endIndex);U+=N.length,O.explanation.push({content:N,scopes:l==="scopeName"?mp(W.scopes):hp(B,W.scopes)}),b+=1}}d.push(O)}f.push(d),d=[],u=E.ruleStack}return{tokens:f,stateStack:u}}function mp(e){return e.map(t=>({scopeName:t}))}function hp(e,t){const n=[];for(let r=0,o=t.length;r<o;r++){const i=t[r];n[r]={scopeName:i,themeMatches:vp(e,i,t.slice(0,r))}}return n}function Gi(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function gp(e,t,n){if(!Gi(e.at(-1),t))return!1;let r=e.length-2,o=n.length-1;for(;r>=0&&o>=0;)Gi(e[r],n[o])&&(r-=1),o-=1;return r===-1}function vp(e,t,n){const r=[];for(const{selectors:o,settings:i}of e)for(const a of o)if(gp(a,t,n)){r.push(i);break}return r}function Ql(e,t,n,r=Zl){const o=Object.entries(n.themes).filter(c=>c[1]).map(c=>({color:c[0],theme:c[1]})),i=o.map(c=>{const u=r(e,t,{...n,theme:c.theme});return{tokens:u,state:Jt(u),theme:typeof c.theme=="string"?c.theme:c.theme.name}}),a=yp(...i.map(c=>c.tokens)),s=a[0].map((c,u)=>c.map((d,f)=>{const p={content:d.content,variants:{},offset:d.offset};return"includeExplanation"in n&&n.includeExplanation&&(p.explanation=d.explanation),a.forEach((m,g)=>{const{content:v,explanation:_,offset:y,...b}=m[u][f];p.variants[o[g].color]=b}),p})),l=i[0].state?new mr(Object.fromEntries(i.map(c=>{var u;return[c.theme,(u=c.state)==null?void 0:u.getInternalStack(c.theme)]})),i[0].state.lang):void 0;return l&&pr(s,l),s}function yp(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const o=e.map(l=>l[r]),i=t.map(()=>[]);t.forEach((l,c)=>l.push(i[c]));const a=o.map(()=>0),s=o.map(l=>l[0]);for(;s.every(l=>l);){const l=Math.min(...s.map(c=>c.content.length));for(let c=0;c<n;c++){const u=s[c];u.content.length===l?(i[c].push(u),a[c]+=1,s[c]=o[c][a[c]]):(i[c].push({...u,content:u.content.slice(0,l)}),s[c]={...u,content:u.content.slice(l),offset:u.offset+l})}}}return t}const _p=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class ln{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}ln.prototype.normal={};ln.prototype.property={};ln.prototype.space=void 0;function Jl(e,t){const n={},r={};for(const o of e)Object.assign(n,o.property),Object.assign(r,o.normal);return new ln(n,r,t)}function fo(e){return e.toLowerCase()}class se{constructor(t,n){this.attribute=n,this.property=t}}se.prototype.attribute="";se.prototype.booleanish=!1;se.prototype.boolean=!1;se.prototype.commaOrSpaceSeparated=!1;se.prototype.commaSeparated=!1;se.prototype.defined=!1;se.prototype.mustUseProperty=!1;se.prototype.number=!1;se.prototype.overloadedBoolean=!1;se.prototype.property="";se.prototype.spaceSeparated=!1;se.prototype.space=void 0;let bp=0;const L=st(),z=st(),po=st(),A=st(),M=st(),nt=st(),le=st();function st(){return 2**++bp}const mo=Object.freeze(Object.defineProperty({__proto__:null,boolean:L,booleanish:z,commaOrSpaceSeparated:le,commaSeparated:nt,number:A,overloadedBoolean:po,spaceSeparated:M},Symbol.toStringTag,{value:"Module"})),Tr=Object.keys(mo);class ei extends se{constructor(t,n,r,o){let i=-1;if(super(t,n),Ui(this,"space",o),typeof r=="number")for(;++i<Tr.length;){const a=Tr[i];Ui(this,Tr[i],(r&mo[a])===mo[a])}}}ei.prototype.defined=!0;function Ui(e,t,n){n&&(e[t]=n)}function Lt(e){const t={},n={};for(const[r,o]of Object.entries(e.properties)){const i=new ei(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[fo(r)]=r,n[fo(i.attribute)]=r}return new ln(t,n,e.space)}const ec=Lt({properties:{ariaActiveDescendant:null,ariaAtomic:z,ariaAutoComplete:null,ariaBusy:z,ariaChecked:z,ariaColCount:A,ariaColIndex:A,ariaColSpan:A,ariaControls:M,ariaCurrent:null,ariaDescribedBy:M,ariaDetails:null,ariaDisabled:z,ariaDropEffect:M,ariaErrorMessage:null,ariaExpanded:z,ariaFlowTo:M,ariaGrabbed:z,ariaHasPopup:null,ariaHidden:z,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:M,ariaLevel:A,ariaLive:null,ariaModal:z,ariaMultiLine:z,ariaMultiSelectable:z,ariaOrientation:null,ariaOwns:M,ariaPlaceholder:null,ariaPosInSet:A,ariaPressed:z,ariaReadOnly:z,ariaRelevant:null,ariaRequired:z,ariaRoleDescription:M,ariaRowCount:A,ariaRowIndex:A,ariaRowSpan:A,ariaSelected:z,ariaSetSize:A,ariaSort:null,ariaValueMax:A,ariaValueMin:A,ariaValueNow:A,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function tc(e,t){return t in e?e[t]:t}function nc(e,t){return tc(e,t.toLowerCase())}const wp=Lt({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:nt,acceptCharset:M,accessKey:M,action:null,allow:null,allowFullScreen:L,allowPaymentRequest:L,allowUserMedia:L,alpha:L,alt:null,as:null,async:L,autoCapitalize:null,autoComplete:M,autoFocus:L,autoPlay:L,blocking:M,capture:null,charSet:null,checked:L,cite:null,className:M,closedBy:null,colorSpace:null,cols:A,colSpan:A,command:null,commandFor:null,content:null,contentEditable:z,controls:L,controlsList:M,coords:A|nt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:L,defer:L,dir:null,dirName:null,disabled:L,download:po,draggable:z,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:L,formTarget:null,headers:M,height:A,hidden:po,high:A,href:null,hrefLang:null,htmlFor:M,httpEquiv:M,id:null,imageSizes:null,imageSrcSet:null,inert:L,inputMode:null,integrity:null,is:null,isMap:L,itemId:null,itemProp:M,itemRef:M,itemScope:L,itemType:M,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:L,low:A,manifest:null,max:null,maxLength:A,media:null,method:null,min:null,minLength:A,multiple:L,muted:L,name:null,nonce:null,noModule:L,noValidate:L,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:L,optimum:A,pattern:null,ping:M,placeholder:null,playsInline:L,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:L,referrerPolicy:null,rel:M,required:L,reversed:L,rows:A,rowSpan:A,sandbox:M,scope:null,scoped:L,seamless:L,selected:L,shadowRootClonable:L,shadowRootCustomElementRegistry:L,shadowRootDelegatesFocus:L,shadowRootMode:null,shadowRootSerializable:L,shape:null,size:A,sizes:null,slot:null,span:A,spellCheck:z,src:null,srcDoc:null,srcLang:null,srcSet:null,start:A,step:null,style:null,tabIndex:A,target:null,title:null,translate:null,type:null,typeMustMatch:L,useMap:null,value:z,width:A,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:M,axis:null,background:null,bgColor:null,border:A,borderColor:null,bottomMargin:A,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:L,declare:L,event:null,face:null,frame:null,frameBorder:null,hSpace:A,leftMargin:A,link:null,longDesc:null,lowSrc:null,marginHeight:A,marginWidth:A,noResize:L,noHref:L,noShade:L,noWrap:L,object:null,profile:null,prompt:null,rev:null,rightMargin:A,rules:null,scheme:null,scrolling:z,standby:null,summary:null,text:null,topMargin:A,valueType:null,version:null,vAlign:null,vLink:null,vSpace:A,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:L,disablePictureInPicture:L,disableRemotePlayback:L,exportParts:nt,part:M,prefix:null,property:null,results:A,security:null,unselectable:null},space:"html",transform:nc}),Ep=Lt({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:le,accentHeight:A,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:A,amplitude:A,arabicForm:null,ascent:A,attributeName:null,attributeType:null,azimuth:A,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:A,by:null,calcMode:null,capHeight:A,className:M,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:A,diffuseConstant:A,direction:null,display:null,dur:null,divisor:A,dominantBaseline:null,download:L,dx:null,dy:null,edgeMode:null,editable:null,elevation:A,enableBackground:null,end:null,event:null,exponent:A,externalResourcesRequired:null,fill:null,fillOpacity:A,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:nt,g2:nt,glyphName:nt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:A,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:A,horizOriginX:A,horizOriginY:A,id:null,ideographic:A,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:A,k:A,k1:A,k2:A,k3:A,k4:A,kernelMatrix:le,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:A,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:A,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:A,overlineThickness:A,paintOrder:null,panose1:null,path:null,pathLength:A,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:M,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:A,pointsAtY:A,pointsAtZ:A,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:le,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:le,rev:le,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:le,requiredFeatures:le,requiredFonts:le,requiredFormats:le,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:A,specularExponent:A,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:A,strikethroughThickness:A,string:null,stroke:null,strokeDashArray:le,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:A,strokeOpacity:A,strokeWidth:null,style:null,surfaceScale:A,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:le,tabIndex:A,tableValues:null,target:null,targetX:A,targetY:A,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:le,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:A,underlineThickness:A,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:A,values:null,vAlphabetic:A,vMathematical:A,vectorEffect:null,vHanging:A,vIdeographic:A,version:null,vertAdvY:A,vertOriginX:A,vertOriginY:A,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:A,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:tc}),rc=Lt({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),oc=Lt({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:nc}),ic=Lt({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Sp=/[A-Z]/g,qi=/-[a-z]/g,Ap=/^data[-\w.:]+$/i;function Cp(e,t){const n=fo(t);let r=t,o=se;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Ap.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(qi,kp);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!qi.test(i)){let a=i.replace(Sp,xp);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}o=ei}return new o(r,t)}function xp(e){return"-"+e.toLowerCase()}function kp(e){return e.charAt(1).toUpperCase()}const ac=Jl([ec,wp,rc,oc,ic],"html"),sc=Jl([ec,Ep,rc,oc,ic],"svg"),Ki={}.hasOwnProperty;function Ip(e,t){const n=t||{};function r(o,...i){let a=r.invalid;const s=r.handlers;if(o&&Ki.call(o,e)){const l=String(o[e]);a=Ki.call(s,l)?s[l]:r.unknown}if(a)return a.call(this,o,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const Rp=/["&'<>`]/g,Lp=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Tp=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Pp=/[|\\{}()[\]^$+*?.]/g,Xi=new WeakMap;function Op(e,t){if(e=e.replace(t.subset?Dp(t.subset):Rp,r),t.subset||t.escapeOnly)return e;return e.replace(Lp,n).replace(Tp,r);function n(o,i,a){return t.format((o.charCodeAt(0)-55296)*1024+o.charCodeAt(1)-56320+65536,a.charCodeAt(i+2),t)}function r(o,i,a){return t.format(o.charCodeAt(0),a.charCodeAt(i+1),t)}}function Dp(e){let t=Xi.get(e);return t||(t=Mp(e),Xi.set(e,t)),t}function Mp(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(Pp,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const Np=/[\dA-Fa-f]/;function Vp(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!Np.test(String.fromCharCode(t))?r:r+";"}const $p=/\d/;function Fp(e,t,n){const r="&#"+String(e);return n&&t&&!$p.test(String.fromCharCode(t))?r:r+";"}const Pr={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},Bp=["cent","copy","divide","gt","lt","not","para","times"],lc={}.hasOwnProperty,ho={};let fn;for(fn in Pr)lc.call(Pr,fn)&&(ho[Pr[fn]]=fn);const Wp=/[^\dA-Za-z]/;function zp(e,t,n,r){const o=String.fromCharCode(e);if(lc.call(ho,o)){const i=ho[o],a="&"+i;return n&&pd.includes(i)&&!Bp.includes(i)&&(!r||t&&t!==61&&Wp.test(String.fromCharCode(t)))?a:a+";"}return""}function Hp(e,t,n){let r=Vp(e,t,n.omitOptionalSemicolons),o;if((n.useNamedReferences||n.useShortestReferences)&&(o=zp(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!o)&&n.useShortestReferences){const i=Fp(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return o&&(!n.useShortestReferences||o.length<r.length)?o:r}function ht(e,t){return Op(e,Object.assign({format:Hp},t))}const jp=/^>|^->|<!--|-->|--!>|<!-$/g,Gp=[">"],Up=["<",">"];function qp(e,t,n,r){return r.settings.bogusComments?"<?"+ht(e.value,Object.assign({},r.settings.characterReferences,{subset:Gp}))+">":"<!--"+e.value.replace(jp,o)+"-->";function o(i){return ht(i,Object.assign({},r.settings.characterReferences,{subset:Up}))}}function Kp(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function Yi(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;o!==-1;)r++,o=n.indexOf(t,o+t.length);return r}function Xp(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function Yp(e){return e.join(" ").trim()}const Zp=/[ \t\n\f\r]/g;function ti(e){return typeof e=="object"?e.type==="text"?Zi(e.value):!1:Zi(e)}function Zi(e){return e.replace(Zp,"")===""}const G=uc(1),cc=uc(-1),Qp=[];function uc(e){return t;function t(n,r,o){const i=n?n.children:Qp;let a=(r||0)+e,s=i[a];if(!o)for(;s&&ti(s);)a+=e,s=i[a];return s}}const Jp={}.hasOwnProperty;function dc(e){return t;function t(n,r,o){return Jp.call(e,n.tagName)&&e[n.tagName](n,r,o)}}const ni=dc({body:tm,caption:Or,colgroup:Or,dd:im,dt:om,head:Or,html:em,li:rm,optgroup:am,option:sm,p:nm,rp:Qi,rt:Qi,tbody:cm,td:Ji,tfoot:um,th:Ji,thead:lm,tr:dm});function Or(e,t,n){const r=G(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&ti(r.value.charAt(0)))}function em(e,t,n){const r=G(n,t);return!r||r.type!=="comment"}function tm(e,t,n){const r=G(n,t);return!r||r.type!=="comment"}function nm(e,t,n){const r=G(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"||n.tagName.includes("-")))}function rm(e,t,n){const r=G(n,t);return!r||r.type==="element"&&r.tagName==="li"}function om(e,t,n){const r=G(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function im(e,t,n){const r=G(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Qi(e,t,n){const r=G(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function am(e,t,n){const r=G(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function sm(e,t,n){const r=G(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function lm(e,t,n){const r=G(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function cm(e,t,n){const r=G(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function um(e,t,n){return!G(n,t)}function dm(e,t,n){const r=G(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function Ji(e,t,n){const r=G(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const fm=dc({body:hm,colgroup:gm,head:mm,html:pm,tbody:vm});function pm(e){const t=G(e,-1);return!t||t.type!=="comment"}function mm(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}function hm(e){const t=G(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&ti(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function gm(e,t,n){const r=cc(n,t);if(n&&r&&r.type==="element"&&r.tagName==="colgroup"&&ni(r,n.children.indexOf(r),n))return!1;const o=G(e,-1,!0);return!!(o&&o.type==="element"&&o.tagName==="col")}function vm(e,t,n){const r=cc(n,t);if(n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&ni(r,n.children.indexOf(r),n))return!1;const o=G(e,-1);return!!(o&&o.type==="element"&&o.tagName==="tr")}const pn={name:[[`
5
- \f\r &/=>`.split(""),`
6
- \f\r "&'/=>\``.split("")],[`\0
7
- \f\r "&'/<=>`.split(""),`\0
8
- \f\r "&'/<=>\``.split("")]],unquoted:[[`
9
- \f\r &>`.split(""),`\0
10
- \f\r "&'<=>\``.split("")],[`\0
11
- \f\r "&'<=>\``.split(""),`\0
12
- \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]},ym=new Set(["desc","foreignObject","title"]);function _m(e,t,n,r){const{schema:o}=r,i=o.space==="svg"?!1:r.settings.omitOptionalTags;let a=o.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const s=[];o.space==="html"&&e.tagName==="svg"&&(r.schema=sc);const l=bm(r,e.properties);r.schema.space==="svg"&&ym.has(e.tagName)&&(r.schema=ac);const c=r.all(o.space==="html"&&e.tagName==="template"?e.content:e);if(r.schema=o,c&&(a=!1),l||!i||!fm(e,t,n)){if(s.push("<",e.tagName,l?" "+l:""),a&&(o.space==="svg"||r.settings.closeSelfClosing)){const u=l.charAt(l.length-1);(!r.settings.tightSelfClosing||u==="/"||u&&u!=='"'&&u!=="'")&&s.push(" "),s.push("/")}s.push(">")}return s.push(c),!a&&(!i||!ni(e,t,n))&&s.push("</"+e.tagName+">"),s.join("")}function bm(e,t){const n=[];let r=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const i=wm(e,o,t[o]);i&&n.push(i)}}for(;++r<n.length;){const i=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&i!=='"'&&i!=="'"&&(n[r]+=" ")}return n.join("")}function wm(e,t,n){const r=Cp(e.schema,t),o=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,i=e.settings.allowDangerousCharacters?0:1;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!="string"||n===r.attribute||n==="")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const a=ht(r.attribute,Object.assign({},e.settings.characterReferences,{subset:pn.name[o][i]}));if(n===!0||(n=Array.isArray(n)?(r.commaSeparated?Xp:Yp)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n))return a;let s;if(e.settings.preferUnquoted&&(s=ht(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:pn.unquoted[o][i]}))),s!==n){let{quote:l}=e;e.settings.quoteSmart&&Yi(n,l)>Yi(n,e.alternative)&&(l=e.alternative),s=l+ht(n,Object.assign({},e.settings.characterReferences,{subset:(l==="'"?pn.single:pn.double)[o][i],attribute:!0}))+l}return a+(s&&"="+s)}const Em=["<","&"];function fc(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:ht(e.value,Object.assign({},r.settings.characterReferences,{subset:Em}))}function Sm(e,t,n,r){return r.settings.allowDangerousHtml?e.value:fc(e,t,n,r)}function Am(e,t,n,r){return r.all(e)}const Cm=Ip("type",{invalid:xm,unknown:km,handlers:{comment:qp,doctype:Kp,element:_m,raw:Sm,root:Am,text:fc}});function xm(e){throw new Error("Expected node, not `"+e+"`")}function km(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const Im={},Rm={},Lm=[];function Tm(e,t){const n=t||Im,r=n.quote||'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");const o=r==='"'?"'":'"';return{one:Pm,all:Om,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||_p,characterReferences:n.characterReferences||Rm,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?sc:ac,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function Pm(e,t,n){return Cm(e,t,n,this)}function Om(e){const t=[],n=e&&e.children||Lm;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}const ea=/\s+/g;function pc(e,t){if(!t)return e;e.properties||={},e.properties.class||=[],typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(ea)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(ea);for(const r of n)r&&!e.properties.class.includes(r)&&e.properties.class.push(r);return e}function Dm(e){const t=fr(e,!0),n=t.map(([a])=>a),r=t.map(([,a])=>a);function o(a){if(a===e.length)return{line:n.length-1,character:n.at(-1).length};let s=0,l=n.length-1;for(;s<l;){const c=s+l+1>>>1;r[c]<=a?s=c:l=c-1}return{line:s,character:a-r[s]}}function i(a,s){return r[a]+s}return{lines:n,indexToPos:o,posToIndex:i}}const Mm=["color","background-color"];function Nm(e,t){let n=0;const r=[];for(const o of t)o>n&&r.push({...e,content:e.content.slice(n,o),offset:e.offset+n}),n=o;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}function Vm(e,t){let n=0,r=e.length;for(;n<r;){const o=n+(r-n>>1);e[o]<=t?n=o+1:r=o}return n}function $m(e,t){const n=[...t instanceof Set?t:new Set(t)].sort((r,o)=>r-o);return n.length?e.map(r=>r.flatMap(o=>{const i=o.offset+o.content.length,a=Vm(n,o.offset);let s=a;for(;s<n.length&&n[s]<i;)s++;if(a===s)return o;const l=n.slice(a,s);for(let c=0;c<l.length;c++)l[c]-=o.offset;return Nm(o,l)})):e}function Fm(e,t,n,r,o="css-vars"){const i={content:e.content,explanation:e.explanation,offset:e.offset},a=t.map(u=>Dn(e.variants[u])),s=new Set(a.flatMap(u=>Object.keys(u))),l={},c=(u,d)=>{const f=d==="color"?"":d==="background-color"?"-bg":`-${d}`;return n+t[u]+(d==="color"?"":f)};return a.forEach((u,d)=>{for(const f of s){const p=u[f]||"inherit";if(d===0&&r&&Mm.includes(f))if(r==="light-dark()"&&a.length>1){const m=t.findIndex(y=>y==="light"),g=t.findIndex(y=>y==="dark");if(m===-1||g===-1)throw new V('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const v=a[m][f]||"inherit",_=a[g][f]||"inherit";l[f]=`light-dark(${v}, ${_})`,o==="css-vars"&&(l[c(d,f)]=p)}else l[f]=p;else o==="css-vars"&&(l[c(d,f)]=p)}}),i.htmlStyle=l,i}function Dn(e){const t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&Q.Italic&&(t["font-style"]="italic"),e.fontStyle&Q.Bold&&(t["font-weight"]="bold");const n=[];e.fontStyle&Q.Underline&&n.push("underline"),e.fontStyle&Q.Strikethrough&&n.push("line-through"),n.length&&(t["text-decoration"]=n.join(" "))}return t}function go(e){return typeof e=="string"?e:Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function Bm(){const e=new WeakMap;function t(n){if(!e.has(n.meta)){let o=function(a){if(typeof a=="number"){if(a<0||a>n.source.length)throw new V(`Invalid decoration offset: ${a}. Code length: ${n.source.length}`);return{...r.indexToPos(a),offset:a}}else{const s=r.lines[a.line];if(s===void 0)throw new V(`Invalid decoration position ${JSON.stringify(a)}. Lines length: ${r.lines.length}`);let l=a.character;if(l<0&&(l=s.length+l),l<0||l>s.length)throw new V(`Invalid decoration position ${JSON.stringify(a)}. Line ${a.line} length: ${s.length}`);return{...a,character:l,offset:r.posToIndex(a.line,l)}}};const r=Dm(n.source),i=(n.options.decorations||[]).map(a=>({...a,start:o(a.start),end:o(a.end)}));Wm(i),e.set(n.meta,{decorations:i,converter:r,source:n.source})}return e.get(n.meta)}return{name:"shiki:decorations",tokens(n){var r;if((r=this.options.decorations)!=null&&r.length)return $m(n,t(this).decorations.flatMap(o=>[o.start.offset,o.end.offset]))},code(n){var u;if(!((u=this.options.decorations)!=null&&u.length))return;const r=t(this),o=[...n.children].filter(d=>d.type==="element"&&d.tagName==="span");if(o.length!==r.converter.lines.length)throw new V(`Number of lines in code element (${o.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function i(d,f,p,m){const g=o[d];let v="",_=-1,y=-1;if(f===0&&(_=0),p===0&&(y=0),p===Number.POSITIVE_INFINITY&&(y=g.children.length),_===-1||y===-1)for(let E=0;E<g.children.length;E++)v+=mc(g.children[E]),_===-1&&v.length===f&&(_=E+1),y===-1&&v.length===p&&(y=E+1);if(_===-1)throw new V(`Failed to find start index for decoration ${JSON.stringify(m.start)}`);if(y===-1)throw new V(`Failed to find end index for decoration ${JSON.stringify(m.end)}`);const b=g.children.slice(_,y);if(!m.alwaysWrap&&b.length===g.children.length)s(g,m,"line");else if(!m.alwaysWrap&&b.length===1&&b[0].type==="element")s(b[0],m,"token");else{const E={type:"element",tagName:"span",properties:{},children:b};s(E,m,"wrapper"),g.children.splice(_,b.length,E)}}function a(d,f){o[d]=s(o[d],f,"line")}function s(d,f,p){var v;const m=f.properties||{},g=f.transform||(_=>_);return d.tagName=f.tagName||"span",d.properties={...d.properties,...m,class:d.properties.class},(v=f.properties)!=null&&v.class&&pc(d,f.properties.class),d=g(d,p)||d,d}const l=[],c=r.decorations.sort((d,f)=>f.start.offset-d.start.offset||d.end.offset-f.end.offset);for(const d of c){const{start:f,end:p}=d;if(f.line===p.line)i(f.line,f.character,p.character,d);else if(f.line<p.line){i(f.line,f.character,Number.POSITIVE_INFINITY,d);for(let m=f.line+1;m<p.line;m++)l.push(()=>a(m,d));i(p.line,0,p.character,d)}}for(let d=l.length-1;d>=0;d--)l[d]()}}}function Wm(e){if(!zm(e))for(let t=0;t<e.length;t++){const n=e[t];if(n.start.offset>n.end.offset)throw new V(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){const o=e[r],i=n.start.offset<=o.start.offset&&o.start.offset<n.end.offset,a=n.start.offset<o.end.offset&&o.end.offset<=n.end.offset,s=o.start.offset<=n.start.offset&&n.start.offset<o.end.offset,l=o.start.offset<n.end.offset&&n.end.offset<=o.end.offset;if(i||a||s||l){if(i&&a||s&&l||s&&n.start.offset===n.end.offset||a&&o.start.offset===o.end.offset)continue;throw new V(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(o.start)} intersect.`)}}}}function zm(e){const t=[],n=new Map,r=new Map;for(let i=0;i<e.length;i++){const{start:a,end:s}=e[i];if(a.offset>s.offset)return!1;a.offset!==s.offset&&(t.push(e[i]),n.has(a.offset)||n.set(a.offset,i),r.set(s.offset,i))}for(let i=0;i<e.length;i++){const{start:a,end:s}=e[i];if(a.offset===s.offset&&((n.get(a.offset)??i)<i||(r.get(a.offset)??i)>i))return!1}t.sort((i,a)=>i.start.offset-a.start.offset||a.end.offset-i.end.offset);const o=[];for(const{start:i,end:a}of t){for(;o.length&&o.at(-1)<=i.offset;)o.pop();if(o.length&&a.offset>o.at(-1))return!1;o.push(a.offset)}return!0}function mc(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(mc).join(""):""}const Hm=[Bm()];function Mn(e){const t=jm(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...Hm]}function jm(e){const t=[],n=[],r=[];for(const o of e)switch(o.enforce){case"pre":t.push(o);break;case"post":n.push(o);break;default:r.push(o)}return{pre:t,post:n,normal:r}}var Je=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Dr={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function Gm(e,t){const n=e.indexOf("\x1B",t);if(n!==-1&&e[n+1]==="["){const r=e.indexOf("m",n);if(r!==-1)return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}function ta(e){const t=e.shift();if(t==="2"){const n=e.splice(0,3).map(r=>Number.parseInt(r));return n.length!==3||n.some(r=>Number.isNaN(r))?void 0:{type:"rgb",rgb:n}}else if(t==="5"){const n=e.shift();if(n)return{type:"table",index:Number(n)}}}function Um(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const r=Number.parseInt(n);if(!Number.isNaN(r))if(r===0)t.push({type:"resetAll"});else if(r<=9)Dr[r]&&t.push({type:"setDecoration",value:Dr[r]});else if(r<=29){const o=Dr[r-20];o&&(t.push({type:"resetDecoration",value:o}),o==="dim"&&t.push({type:"resetDecoration",value:"bold"}))}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Je[r-30]}});else if(r===38){const o=ta(e);o&&t.push({type:"setForegroundColor",value:o})}else if(r===39)t.push({type:"resetForegroundColor"});else if(r<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Je[r-40]}});else if(r===48){const o=ta(e);o&&t.push({type:"setBackgroundColor",value:o})}else r===49?t.push({type:"resetBackgroundColor"}):r===53?t.push({type:"setDecoration",value:"overline"}):r===55?t.push({type:"resetDecoration",value:"overline"}):r>=90&&r<=97?t.push({type:"setForegroundColor",value:{type:"named",name:Je[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Je[r-100+8]}})}return t}function qm(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let i=0;do{const a=Gm(r,i),s=a.sequence?r.substring(i,a.startPosition):r.substring(i);if(s.length>0&&o.push({value:s,foreground:e,background:t,decorations:new Set(n)}),a.sequence){const l=Um(a.sequence);for(const c of l)c.type==="resetAll"?(e=null,t=null,n.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of l)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}i=a.position}while(i<r.length);return o}}}var Km={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function Xm(e=Km){function t(s){return e[s]}function n(s){return`#${s.map(l=>Math.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}let r;function o(){if(r)return r;r=[];for(let c=0;c<Je.length;c++)r.push(t(Je[c]));let s=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let u=0;u<6;u++)for(let d=0;d<6;d++)r.push(n([s[c],s[u],s[d]]));let l=8;for(let c=0;c<24;c++,l+=10)r.push(n([l,l,l]));return r}function i(s){return o()[s]}function a(s){switch(s.type){case"named":return t(s.name);case"rgb":return n(s.rgb);case"table":return i(s.index)}}return{value:a}}const Ym=/#([0-9a-f]{3,8})/i,Zm=/var\((--[\w-]+-ansi-[\w-]+)\)/,Qm={black:"#000000",red:"#cd3131",green:"#0DBC79",yellow:"#E5E510",blue:"#2472C8",magenta:"#BC3FBC",cyan:"#11A8CD",white:"#E5E5E5",brightBlack:"#666666",brightRed:"#F14C4C",brightGreen:"#23D18B",brightYellow:"#F5F543",brightBlue:"#3B8EEA",brightMagenta:"#D670D6",brightCyan:"#29B8DB",brightWhite:"#FFFFFF"};function Jm(e,t,n){const r=On(e,n),o=fr(t),i=Xm(Object.fromEntries(Je.map(s=>{var c;const l=`terminal.ansi${s[0].toUpperCase()}${s.substring(1)}`;return[s,((c=e.colors)==null?void 0:c[l])||Qm[s]]}))),a=qm();return o.map(s=>a.parse(s[0]).map(l=>{let c,u;l.decorations.has("reverse")?(c=l.background?i.value(l.background):e.bg,u=l.foreground?i.value(l.foreground):e.fg):(c=l.foreground?i.value(l.foreground):e.fg,u=l.background?i.value(l.background):void 0),c=We(c,r),u=We(u,r),l.decorations.has("dim")&&(c=eh(c));let d=Q.None;return l.decorations.has("bold")&&(d|=Q.Bold),l.decorations.has("italic")&&(d|=Q.Italic),l.decorations.has("underline")&&(d|=Q.Underline),l.decorations.has("strikethrough")&&(d|=Q.Strikethrough),{content:l.value,offset:s[1],color:c,bgColor:u,fontStyle:d}}))}function eh(e){const t=e.match(Ym);if(t){const r=t[1];if(r.length===8){const o=Math.round(Number.parseInt(r.slice(6,8),16)/2).toString(16).padStart(2,"0");return`#${r.slice(0,6)}${o}`}else{if(r.length===6)return`#${r}80`;if(r.length===4){const o=r[0],i=r[1],a=r[2],s=r[3];return`#${o}${o}${i}${i}${a}${a}${Math.round(Number.parseInt(`${s}${s}`,16)/2).toString(16).padStart(2,"0")}`}else if(r.length===3){const o=r[0],i=r[1],a=r[2];return`#${o}${o}${i}${i}${a}${a}80`}}}const n=e.match(Zm);return n?`var(${n[1]}-dim)`:e}function vo(e,t,n={}){const r=e.resolveLangAlias(n.lang||"text"),{theme:o=e.getLoadedThemes()[0]}=n;if(!ur(r)&&!dr(o)&&r==="ansi"){const{theme:i}=e.setTheme(o);return Jm(i,t,n)}return Zl(e,t,n)}function Nn(e,t,n){let r,o,i,a,s,l;if("themes"in n){const{defaultColor:c="light",cssVariablePrefix:u="--shiki-",colorsRendering:d="css-vars"}=n,f=Object.entries(n.themes).filter(_=>_[1]).map(_=>({color:_[0],theme:_[1]})).sort((_,y)=>_.color===c?-1:y.color===c?1:0);if(f.length===0)throw new V("`themes` option must not be empty");const p=Ql(e,t,n,vo);if(l=Jt(p),c&&c!=="light-dark()"&&!f.some(_=>_.color===c))throw new V(`\`themes\` option must contain the defaultColor key \`${c}\``);const m=f.map(_=>e.getTheme(_.theme)),g=f.map(_=>_.color);i=p.map(_=>_.map(y=>Fm(y,g,u,c,d))),l&&pr(i,l);const v=f.map(_=>On(_.theme,n));o=na(f,m,v,u,c,"fg",d),r=na(f,m,v,u,c,"bg",d),a=`shiki-themes ${m.map(_=>_.name).join(" ")}`,s=c?void 0:[o,r].join(";")}else if("theme"in n){const c=On(n.theme,n);i=vo(e,t,n);const u=e.getTheme(n.theme);r=We(u.bg,c),o=We(u.fg,c),a=u.name,l=Jt(i)}else throw new V("Invalid options, either `theme` or `themes` must be provided");return{tokens:i,fg:o,bg:r,themeName:a,rootStyle:s,grammarState:l}}function na(e,t,n,r,o,i,a){return e.map((s,l)=>{const c=We(t[l][i],n[l])||"inherit",u=`${r+s.color}${i==="bg"?"-bg":""}:${c}`;if(l===0&&o){if(o==="light-dark()"&&e.length>1){const d=e.findIndex(p=>p.color==="light"),f=e.findIndex(p=>p.color==="dark");if(d===-1||f===-1)throw new V('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');return`light-dark(${We(t[d][i],n[d])||"inherit"}, ${We(t[f][i],n[f])||"inherit"});${u}`}return c}return a==="css-vars"?u:null}).filter(s=>!!s).join(";")}const hc=/^\s+$/,th=/^(\s*)(.*?)(\s*)$/;function Vn(e,t,n,r={meta:{},options:n,codeToHast:(o,i)=>Vn(e,o,i),codeToTokens:(o,i)=>Nn(e,o,i)}){var m,g;let o=t;for(const v of Mn(n))o=((m=v.preprocess)==null?void 0:m.call(r,o,n))||o;let{tokens:i,fg:a,bg:s,themeName:l,rootStyle:c,grammarState:u}=Nn(e,o,n);const{mergeWhitespaces:d=!0,mergeSameStyleTokens:f=!1}=n;d===!0?i=rh(i):d==="never"&&(i=oh(i)),f&&(i=ih(i));const p={...r,get source(){return o}};for(const v of Mn(n))i=((g=v.tokens)==null?void 0:g.call(p,i))||i;return nh(i,{...n,fg:a,bg:s,themeName:l,rootStyle:n.rootStyle===!1?!1:n.rootStyle??c},p,u)}function nh(e,t,n,r=Jt(e)){var g,v,_,y;const o=Mn(t),i=[],a={type:"root",children:[]},{structure:s="classic",tabindex:l="0"}=t,c={class:`shiki ${t.themeName||""}`};t.rootStyle!==!1&&(t.rootStyle!=null?c.style=t.rootStyle:c.style=`background-color:${t.bg};color:${t.fg}`),l!==!1&&l!=null&&(c.tabindex=l.toString());for(const[b,E]of Object.entries(t.meta||{}))b.startsWith("_")||(c[b]=E);let u={type:"element",tagName:"pre",properties:c,children:[],data:t.data},d={type:"element",tagName:"code",properties:{},children:i};const f=[],p={...n,structure:s,addClassToHast:pc,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return a},get pre(){return u},get code(){return d},get lines(){return f}};if(e.forEach((b,E)=>{var k,R;E&&(s==="inline"?a.children.push({type:"element",tagName:"br",properties:{},children:[]}):s==="classic"&&i.push({type:"text",value:`
13
- `}));let S={type:"element",tagName:"span",properties:{class:"line"},children:[]},C=0;for(const I of b){let P={type:"element",tagName:"span",properties:{...I.htmlAttrs},children:[{type:"text",value:I.content}]};const $=go(I.htmlStyle||Dn(I));$&&(P.properties.style=$);for(const O of o)P=((k=O==null?void 0:O.span)==null?void 0:k.call(p,P,E+1,C,S,I))||P;s==="inline"?a.children.push(P):s==="classic"&&S.children.push(P),C+=I.content.length}if(s==="classic"){for(const I of o)S=((R=I==null?void 0:I.line)==null?void 0:R.call(p,S,E+1))||S;f.push(S),i.push(S)}else s==="inline"&&f.push(S)}),s==="classic"){for(const b of o)d=((g=b==null?void 0:b.code)==null?void 0:g.call(p,d))||d;u.children.push(d);for(const b of o)u=((v=b==null?void 0:b.pre)==null?void 0:v.call(p,u))||u;a.children.push(u)}else if(s==="inline"){const b=[];let E={type:"element",tagName:"span",properties:{class:"line"},children:[]};for(const C of a.children)C.type==="element"&&C.tagName==="br"?(b.push(E),E={type:"element",tagName:"span",properties:{class:"line"},children:[]}):(C.type==="element"||C.type==="text")&&E.children.push(C);b.push(E);let S={type:"element",tagName:"code",properties:{},children:b};for(const C of o)S=((_=C==null?void 0:C.code)==null?void 0:_.call(p,S))||S;a.children=[];for(let C=0;C<S.children.length;C++){C>0&&a.children.push({type:"element",tagName:"br",properties:{},children:[]});const k=S.children[C];k.type==="element"&&a.children.push(...k.children)}}let m=a;for(const b of o)m=((y=b==null?void 0:b.root)==null?void 0:y.call(p,m))||m;return r&&pr(m,r),m}function rh(e){return e.map(t=>{const n=[];let r="",o;return t.forEach((i,a)=>{const s=!(i.fontStyle&&(i.fontStyle&Q.Underline||i.fontStyle&Q.Strikethrough));s&&hc.test(i.content)&&t[a+1]?(o===void 0&&(o=i.offset),r+=i.content):r?(s?n.push({...i,offset:o,content:r+i.content}):n.push({content:r,offset:o},i),o=void 0,r=""):n.push(i)}),n})}function oh(e){return e.map(t=>t.flatMap(n=>{if(hc.test(n.content))return n;const r=n.content.match(th);if(!r)return n;const[,o,i,a]=r;if(!o&&!a)return n;const s=[{...n,offset:n.offset+o.length,content:i}];return o&&s.unshift({content:o,offset:n.offset}),a&&s.push({content:a,offset:n.offset+o.length+i.length}),s}))}function ih(e){return e.map(t=>{const n=[];for(const r of t){if(n.length===0){n.push({...r});continue}const o=n.at(-1),i=go(o.htmlStyle||Dn(o)),a=go(r.htmlStyle||Dn(r)),s=o.fontStyle&&(o.fontStyle&Q.Underline||o.fontStyle&Q.Strikethrough),l=r.fontStyle&&(r.fontStyle&Q.Underline||r.fontStyle&Q.Strikethrough);!s&&!l&&i===a?o.content+=r.content:n.push({...r})}return n})}const ah=Tm;function sh(e,t,n){var i;const r={meta:{},options:n,codeToHast:(a,s)=>Vn(e,a,s),codeToTokens:(a,s)=>Nn(e,a,s)};let o=ah(Vn(e,t,n,r));for(const a of Mn(n))o=((i=a.postprocess)==null?void 0:i.call(r,o,n))||o;return o}async function lh(e){const t=await sp(e);return{getLastGrammarState:(...n)=>fp(t,...n),codeToTokensBase:(n,r)=>vo(t,n,r),codeToTokensWithThemes:(n,r)=>Ql(t,n,r),codeToTokens:(n,r)=>Nn(t,n,r),codeToHast:(n,r)=>Vn(t,n,r),codeToHtml:(n,r)=>sh(t,n,r),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}const ra=4294967295;function ch(e){var t;return!e.sticky&&!((t=e.rawOptions)!=null&&t.strategy)}function oa(e,t){return{index:e,captureIndices:t.map(n=>n==null?{start:ra,end:ra,length:0}:{start:n[0],end:n[1],length:n[1]-n[0]})}}var uh=class{patterns;options;regexps;lastSearches;constructor(e,t={}){this.patterns=e,this.options=t;const{forgiving:n=!1,cache:r,regexConstructor:o}=t;if(!o)throw new Error("Option `regexConstructor` is not provided");this.regexps=e.map(i=>{if(typeof i!="string")return i;const a=r==null?void 0:r.get(i);if(a){if(a instanceof RegExp)return a;if(n)return null;throw a}try{const s=o(i);return r==null||r.set(i,s),s}catch(s){if(r==null||r.set(i,s),n)return null;throw s}}),this.lastSearches=this.regexps.map(i=>i&&ch(i)?{strId:0,searchedFrom:0,matchIndex:-1,indices:null}:null)}findNextMatchSync(e,t,n){const r=typeof e=="string"?e:e.content,o=typeof e=="string"?0:e.id||0;let i=-1,a=0,s=null;for(let l=0;l<this.regexps.length;l++){const c=this.regexps[l];if(c)try{const u=o?this.lastSearches[l]:null;let d,f;if(u&&u.strId===o&&u.searchedFrom<=t&&(u.matchIndex===-1||u.matchIndex>=t))d=u.matchIndex,f=u.indices;else{c.lastIndex=t;const p=c.exec(r);d=p?p.index:-1,f=p?p.indices:null,u&&(u.strId=o,u.searchedFrom=t,u.matchIndex=d,u.indices=f)}if(d===-1)continue;if(d===t)return oa(l,f);(i===-1||d<a)&&(i=l,a=d,s=f)}catch(u){if(this.options.forgiving)continue;throw u}}return i===-1?null:oa(i,s)}};let dh=0;function fh(e){return{content:e,id:++dh}}function Tt(e){if([...e].length!==1)throw new Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}function ph(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}const ri=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),q=String.raw;function Pt(e,t){if(e==null)throw new Error(t??"Value expected");return e}const gc=q`\[\^?`,vc=`c.? | C(?:-.?)?|${q`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${q`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${q`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${q`o\{[^\}]*\}?`}|${q`\d{1,3}`}`,oi=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,mn=new RegExp(q`
14
- \\ (?:
15
- ${vc}
16
- | [gk]<[^>]*>?
17
- | [gk]'[^']*'?
18
- | .
19
- )
20
- | \( (?:
21
- \? (?:
22
- [:=!>({]
23
- | <[=!]
24
- | <[^>]*>
25
- | '[^']*'
26
- | ~\|?
27
- | #(?:[^)\\]|\\.?)*
28
- | [^:)]*[:)]
29
- )?
30
- | \*[^\)]*\)?
31
- )?
32
- | (?:${oi.source})+
33
- | ${gc}
34
- | .
35
- `.replace(/\s+/g,""),"gsu"),Mr=new RegExp(q`
36
- \\ (?:
37
- ${vc}
38
- | .
39
- )
40
- | \[:(?:\^?\p{Alpha}+|\^):\]
41
- | ${gc}
42
- | &&
43
- | .
44
- `.replace(/\s+/g,""),"gsu");function mh(e,t={}){const n={flags:"",...t,rules:{captureGroup:!1,singleline:!1,...t.rules}};if(typeof e!="string")throw new Error("String expected as pattern");const r=Oh(n.flags),o=[r.extended],i={captureGroup:n.rules.captureGroup,getCurrentModX(){return o.at(-1)},numOpenGroups:0,popModX(){o.pop()},pushModX(d){o.push(d)},replaceCurrentModX(d){o[o.length-1]=d},singleline:n.rules.singleline};let a=[],s;for(mn.lastIndex=0;s=mn.exec(e);){const d=hh(i,e,s[0],mn.lastIndex);d.tokens?a.push(...d.tokens):d.token&&a.push(d.token),d.lastIndex!==void 0&&(mn.lastIndex=d.lastIndex)}const l=[];let c=0;a.filter(d=>d.type==="GroupOpen").forEach(d=>{d.kind==="capturing"?d.number=++c:d.raw==="("&&l.push(d)}),c||l.forEach((d,f)=>{d.kind="capturing",d.number=f+1});const u=c||l.length;return{tokens:a.map(d=>d.type==="EscapedNumber"?Mh(d,u):d).flat(),flags:r}}function hh(e,t,n,r){const[o,i]=n;if(n==="["||n==="[^"){const a=gh(t,n,r);return{tokens:a.tokens,lastIndex:a.lastIndex}}if(o==="\\"){if("AbBGyYzZ".includes(i))return{token:ia(n,n)};if(/^\\g[<']/.test(n)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:xh(n)}}if(/^\\k[<']/.test(n)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:_c(n)}}if(i==="K")return{token:bc("keep",n)};if(i==="N"||i==="R")return{token:et("newline",n,{negate:i==="N"})};if(i==="O")return{token:et("any",n)};if(i==="X")return{token:et("text_segment",n)};const a=yc(n,{inCharClass:!1});return Array.isArray(a)?{tokens:a}:{token:a}}if(o==="("){if(i==="*")return{token:Lh(n)};if(n==="(?{")throw new Error(`Unsupported callout "${n}"`);if(n.startsWith("(?#")){if(t[r]!==")")throw new Error('Unclosed comment group "(?#"');return{lastIndex:r+1}}if(/^\(\?[-imx]+[:)]$/.test(n))return{token:Rh(n,e)};if(e.pushModX(e.getCurrentModX()),e.numOpenGroups++,n==="("&&!e.captureGroup||n==="(?:")return{token:dt("group",n)};if(n==="(?>")return{token:dt("atomic",n)};if(n==="(?="||n==="(?!"||n==="(?<="||n==="(?<!")return{token:dt(n[2]==="<"?"lookbehind":"lookahead",n,{negate:n.endsWith("!")})};if(n==="("&&e.captureGroup||n.startsWith("(?<")&&n.endsWith(">")||n.startsWith("(?'")&&n.endsWith("'"))return{token:dt("capturing",n,{...n!=="("&&{name:n.slice(3,-1)}})};if(n.startsWith("(?~")){if(n==="(?~|")throw new Error(`Unsupported absence function kind "${n}"`);return{token:dt("absence_repeater",n)}}throw n==="(?("?new Error(`Unsupported conditional "${n}"`):new Error(`Invalid or unsupported group option "${n}"`)}if(n===")"){if(e.popModX(),e.numOpenGroups--,e.numOpenGroups<0)throw new Error('Unmatched ")"');return{token:Sh(n)}}if(e.getCurrentModX()){if(n==="#"){const a=t.indexOf(`
45
- `,r);return{lastIndex:a===-1?t.length:a}}if(/^\s$/.test(n)){const a=/\s+/y;return a.lastIndex=r,{lastIndex:a.exec(t)?a.lastIndex:r}}}if(n===".")return{token:et("dot",n)};if(n==="^"||n==="$"){const a=e.singleline?{"^":q`\A`,$:q`\Z`}[n]:n;return{token:ia(a,n)}}return n==="|"?{token:yh(n)}:oi.test(n)?{tokens:Nh(n)}:{token:xe(Tt(n),n)}}function gh(e,t,n){const r=[aa(t[1]==="^",t)];let o=1,i;for(Mr.lastIndex=n;i=Mr.exec(e);){const a=i[0];if(a[0]==="["&&a[1]!==":")o++,r.push(aa(a[1]==="^",a));else if(a==="]"){if(r.at(-1).type==="CharacterClassOpen")r.push(xe(93,a));else if(o--,r.push(_h(a)),!o)break}else{const s=vh(a);Array.isArray(s)?r.push(...s):r.push(s)}}return{tokens:r,lastIndex:Mr.lastIndex||e.length}}function vh(e){if(e[0]==="\\")return yc(e,{inCharClass:!0});if(e[0]==="["){const t=/\[:(?<negate>\^?)(?<name>[a-z]+):\]/.exec(e);if(!t||!ri.has(t.groups.name))throw new Error(`Invalid POSIX class "${e}"`);return et("posix",e,{value:t.groups.name,negate:!!t.groups.negate})}return e==="-"?bh(e):e==="&&"?wh(e):xe(Tt(e),e)}function yc(e,{inCharClass:t}){const n=e[1];if(n==="c"||n==="C")return Ih(e);if("dDhHsSwW".includes(n))return Th(e);if(e.startsWith(q`\o{`))throw new Error(`Incomplete, invalid, or unsupported octal code point "${e}"`);if(/^\\[pP]\{/.test(e)){if(e.length===3)throw new Error(`Incomplete or invalid Unicode property "${e}"`);return Ph(e)}if(new RegExp("^\\\\x[89A-Fa-f]\\p{AHex}","u").test(e))try{const r=e.split(/\\x/).slice(1).map(a=>parseInt(a,16)),o=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}).decode(new Uint8Array(r)),i=new TextEncoder;return[...o].map(a=>{const s=[...i.encode(a)].map(l=>`\\x${l.toString(16)}`).join("");return xe(Tt(a),s)})}catch{throw new Error(`Multibyte code "${e}" incomplete or invalid in Oniguruma`)}if(n==="u"||n==="x")return xe(Dh(e),e);if(sa.has(n))return xe(sa.get(n),e);if(/\d/.test(n))return Eh(t,e);if(e==="\\")throw new Error(q`Incomplete escape "\"`);if(n==="M")throw new Error(`Unsupported meta "${e}"`);if([...e].length===2)return xe(e.codePointAt(1),e);throw new Error(`Unexpected escape "${e}"`)}function yh(e){return{type:"Alternator",raw:e}}function ia(e,t){return{type:"Assertion",kind:e,raw:t}}function _c(e){return{type:"Backreference",raw:e}}function xe(e,t){return{type:"Character",value:e,raw:t}}function _h(e){return{type:"CharacterClassClose",raw:e}}function bh(e){return{type:"CharacterClassHyphen",raw:e}}function wh(e){return{type:"CharacterClassIntersector",raw:e}}function aa(e,t){return{type:"CharacterClassOpen",negate:e,raw:t}}function et(e,t,n={}){return{type:"CharacterSet",kind:e,...n,raw:t}}function bc(e,t,n={}){return e==="keep"?{type:"Directive",kind:e,raw:t}:{type:"Directive",kind:e,flags:Pt(n.flags),raw:t}}function Eh(e,t){return{type:"EscapedNumber",inCharClass:e,raw:t}}function Sh(e){return{type:"GroupClose",raw:e}}function dt(e,t,n={}){return{type:"GroupOpen",kind:e,...n,raw:t}}function Ah(e,t,n,r){return{type:"NamedCallout",kind:e,tag:t,arguments:n,raw:r}}function Ch(e,t,n,r){return{type:"Quantifier",kind:e,min:t,max:n,raw:r}}function xh(e){return{type:"Subroutine",raw:e}}const kh=new Set(["COUNT","CMP","ERROR","FAIL","MAX","MISMATCH","SKIP","TOTAL_COUNT"]),sa=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]);function Ih(e){const t=e[1]==="c"?e[2]:e[3];if(!t||!/[A-Za-z]/.test(t))throw new Error(`Unsupported control character "${e}"`);return xe(Tt(t.toUpperCase())-64,e)}function Rh(e,t){let{on:n,off:r}=/^\(\?(?<on>[imx]*)(?:-(?<off>[-imx]*))?/.exec(e).groups;r??="";const o=(t.getCurrentModX()||n.includes("x"))&&!r.includes("x"),i=ca(n),a=ca(r),s={};if(i&&(s.enable=i),a&&(s.disable=a),e.endsWith(")"))return t.replaceCurrentModX(o),bc("flags",e,{flags:s});if(e.endsWith(":"))return t.pushModX(o),t.numOpenGroups++,dt("group",e,{...(i||a)&&{flags:s}});throw new Error(`Unexpected flag modifier "${e}"`)}function Lh(e){const t=/\(\*(?<name>[A-Za-z_]\w*)?(?:\[(?<tag>(?:[A-Za-z_]\w*)?)\])?(?:\{(?<args>[^}]*)\})?\)/.exec(e);if(!t)throw new Error(`Incomplete or invalid named callout "${e}"`);const{name:n,tag:r,args:o}=t.groups;if(!n)throw new Error(`Invalid named callout "${e}"`);if(r==="")throw new Error(`Named callout tag with empty value not allowed "${e}"`);const i=o?o.split(",").filter(u=>u!=="").map(u=>/^[+-]?\d+$/.test(u)?+u:u):[],[a,s,l]=i,c=kh.has(n)?n.toLowerCase():"custom";switch(c){case"fail":case"mismatch":case"skip":if(i.length>0)throw new Error(`Named callout arguments not allowed "${i}"`);break;case"error":if(i.length>1)throw new Error(`Named callout allows only one argument "${i}"`);if(typeof a=="string")throw new Error(`Named callout argument must be a number "${a}"`);break;case"max":if(!i.length||i.length>2)throw new Error(`Named callout must have one or two arguments "${i}"`);if(typeof a=="string"&&!/^[A-Za-z_]\w*$/.test(a))throw new Error(`Named callout argument one must be a tag or number "${a}"`);if(i.length===2&&(typeof s=="number"||!/^[<>X]$/.test(s)))throw new Error(`Named callout optional argument two must be '<', '>', or 'X' "${s}"`);break;case"count":case"total_count":if(i.length>1)throw new Error(`Named callout allows only one argument "${i}"`);if(i.length===1&&(typeof a=="number"||!/^[<>X]$/.test(a)))throw new Error(`Named callout optional argument must be '<', '>', or 'X' "${a}"`);break;case"cmp":if(i.length!==3)throw new Error(`Named callout must have three arguments "${i}"`);if(typeof a=="string"&&!/^[A-Za-z_]\w*$/.test(a))throw new Error(`Named callout argument one must be a tag or number "${a}"`);if(typeof s=="number"||!/^(?:[<>!=]=|[<>])$/.test(s))throw new Error(`Named callout argument two must be '==', '!=', '>', '<', '>=', or '<=' "${s}"`);if(typeof l=="string"&&!/^[A-Za-z_]\w*$/.test(l))throw new Error(`Named callout argument three must be a tag or number "${l}"`);break;case"custom":throw new Error(`Undefined callout name "${n}"`);default:throw new Error(`Unexpected named callout kind "${c}"`)}return Ah(c,r??null,(o==null?void 0:o.split(","))??null,e)}function la(e){let t=null,n,r;if(e[0]==="{"){const{minStr:o,maxStr:i}=/^\{(?<minStr>\d*)(?:,(?<maxStr>\d*))?/.exec(e).groups,a=1e5;if(+o>a||i&&+i>a)throw new Error("Quantifier value unsupported in Oniguruma");if(n=+o,r=i===void 0?+o:i===""?1/0:+i,n>r&&(t="possessive",[n,r]=[r,n]),e.endsWith("?")){if(t==="possessive")throw new Error('Unsupported possessive interval quantifier chain with "?"');t="lazy"}else t||(t="greedy")}else n=e[0]==="+"?1:0,r=e[0]==="?"?1:1/0,t=e[1]==="+"?"possessive":e[1]==="?"?"lazy":"greedy";return Ch(t,n,r,e)}function Th(e){const t=e[1].toLowerCase();return et({d:"digit",h:"hex",s:"space",w:"word"}[t],e,{negate:e[1]!==t})}function Ph(e){const{p:t,neg:n,value:r}=/^\\(?<p>[pP])\{(?<neg>\^?)(?<value>[^}]+)/.exec(e).groups;return et("property",e,{value:r,negate:t==="P"&&!n||t==="p"&&!!n})}function ca(e){const t={};return e.includes("i")&&(t.ignoreCase=!0),e.includes("m")&&(t.dotAll=!0),e.includes("x")&&(t.extended=!0),Object.keys(t).length?t:null}function Oh(e){const t={ignoreCase:!1,dotAll:!1,extended:!1,digitIsAscii:!1,posixIsAscii:!1,spaceIsAscii:!1,wordIsAscii:!1,textSegmentMode:null};for(let n=0;n<e.length;n++){const r=e[n];if(!"imxDPSWy".includes(r))throw new Error(`Invalid flag "${r}"`);if(r==="y"){if(!/^y{[gw]}/.test(e.slice(n)))throw new Error('Invalid or unspecified flag "y" mode');t.textSegmentMode=e[n+2]==="g"?"grapheme":"word",n+=3;continue}t[{i:"ignoreCase",m:"dotAll",x:"extended",D:"digitIsAscii",P:"posixIsAscii",S:"spaceIsAscii",W:"wordIsAscii"}[r]]=!0}return t}function Dh(e){if(new RegExp("^(?:\\\\u(?!\\p{AHex}{4})|\\\\x(?!\\p{AHex}{1,2}|\\{\\p{AHex}{1,8}\\}))","u").test(e))throw new Error(`Incomplete or invalid escape "${e}"`);const t=e[2]==="{"?new RegExp("^\\\\x\\{\\s*(?<hex>\\p{AHex}+)","u").exec(e).groups.hex:e.slice(2);return parseInt(t,16)}function Mh(e,t){const{raw:n,inCharClass:r}=e,o=n.slice(1);if(!r&&(o!=="0"&&o.length===1||o[0]!=="0"&&+o<=t))return[_c(n)];const i=[],a=o.match(/^[0-7]+|\d/g);for(let s=0;s<a.length;s++){const l=a[s];let c;if(s===0&&l!=="8"&&l!=="9"){if(c=parseInt(l,8),c>127)throw new Error(q`Octal encoded byte above 177 unsupported "${n}"`)}else c=Tt(l);i.push(xe(c,(s===0?"\\":"")+l))}return i}function Nh(e){const t=[],n=new RegExp(oi,"gy");let r;for(;r=n.exec(e);){const o=r[0];if(o[0]==="{"){const i=/^\{(?<min>\d+),(?<max>\d+)\}\??$/.exec(o);if(i){const{min:a,max:s}=i.groups;if(+a>+s&&o.endsWith("?")){n.lastIndex--,t.push(la(o.slice(0,-1)));continue}}}t.push(la(o))}return t}function wc(e,t){if(!Array.isArray(e.body))throw new Error("Expected node with body array");if(e.body.length!==1)return!1;const n=e.body[0];return!t||Object.keys(t).every(r=>t[r]===n[r])}function Vh(e){return $h.has(e.type)}const $h=new Set(["AbsenceFunction","Backreference","CapturingGroup","Character","CharacterClass","CharacterSet","Group","Quantifier","Subroutine"]);function Ec(e,t={}){const n={flags:"",normalizeUnknownPropertyNames:!1,skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t,rules:{captureGroup:!1,singleline:!1,...t.rules}},r=mh(e,{flags:n.flags,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline}}),o=(f,p)=>{const m=r.tokens[i.nextIndex];switch(i.parent=f,i.nextIndex++,m.type){case"Alternator":return rt();case"Assertion":return Fh(m);case"Backreference":return Bh(m,i);case"Character":return hr(m.value,{useLastValid:!!p.isCheckingRangeEnd});case"CharacterClassHyphen":return Wh(m,i,p);case"CharacterClassOpen":return zh(m,i,p);case"CharacterSet":return Hh(m,i);case"Directive":return Xh(m.kind,{flags:m.flags});case"GroupOpen":return jh(m,i,p);case"NamedCallout":return Zh(m.kind,m.tag,m.arguments);case"Quantifier":return Gh(m,i);case"Subroutine":return Uh(m,i);default:throw new Error(`Unexpected token type "${m.type}"`)}},i={capturingGroups:[],hasNumberedRef:!1,namedGroupsByName:new Map,nextIndex:0,normalizeUnknownPropertyNames:n.normalizeUnknownPropertyNames,parent:null,skipBackrefValidation:n.skipBackrefValidation,skipLookbehindValidation:n.skipLookbehindValidation,skipPropertyNameValidation:n.skipPropertyNameValidation,subroutines:[],tokens:r.tokens,unicodePropertyMap:n.unicodePropertyMap,walk:o},a=Jh(Yh(r.flags));let s=a.body[0];for(;i.nextIndex<r.tokens.length;){const f=o(s,{});f.type==="Alternative"?(a.body.push(f),s=f):s.body.push(f)}const{capturingGroups:l,hasNumberedRef:c,namedGroupsByName:u,subroutines:d}=i;if(c&&u.size&&!n.rules.captureGroup)throw new Error("Numbered backref/subroutine not allowed when using named capture");for(const{ref:f}of d)if(typeof f=="number"){if(f>l.length)throw new Error("Subroutine uses a group number that's not defined");f&&(l[f-1].isSubroutined=!0)}else if(u.has(f)){if(u.get(f).length>1)throw new Error(q`Subroutine uses a duplicate group name "\g<${f}>"`);u.get(f)[0].isSubroutined=!0}else throw new Error(q`Subroutine uses a group name that's not defined "\g<${f}>"`);return a}function Fh({kind:e}){return yo(Pt({"^":"line_start",$:"line_end","\\A":"string_start","\\b":"word_boundary","\\B":"word_boundary","\\G":"search_start","\\y":"text_segment_boundary","\\Y":"text_segment_boundary","\\z":"string_end","\\Z":"string_end_newline"}[e],`Unexpected assertion kind "${e}"`),{negate:e===q`\B`||e===q`\Y`})}function Bh({raw:e},t){const n=/^\\k[<']/.test(e),r=n?e.slice(3,-1):e.slice(1),o=(i,a=!1)=>{const s=t.capturingGroups.length;let l=!1;if(i>s)if(t.skipBackrefValidation)l=!0;else throw new Error(`Not enough capturing groups defined to the left "${e}"`);return t.hasNumberedRef=!0,_o(a?s+1-i:i,{orphan:l})};if(n){const i=/^(?<sign>-?)0*(?<num>[1-9]\d*)$/.exec(r);if(i)return o(+i.groups.num,!!i.groups.sign);if(/[-+]/.test(r))throw new Error(`Invalid backref name "${e}"`);if(!t.namedGroupsByName.has(r))throw new Error(`Group name not defined to the left "${e}"`);return _o(r)}return o(+r)}function Wh(e,t,n){const{tokens:r,walk:o}=t,i=t.parent,a=i.body.at(-1),s=r[t.nextIndex];if(!n.isCheckingRangeEnd&&a&&a.type!=="CharacterClass"&&a.type!=="CharacterClassRange"&&s&&s.type!=="CharacterClassOpen"&&s.type!=="CharacterClassClose"&&s.type!=="CharacterClassIntersector"){const l=o(i,{...n,isCheckingRangeEnd:!0});if(a.type==="Character"&&l.type==="Character")return i.body.pop(),Kh(a,l);throw new Error("Invalid character class range")}return hr(Tt("-"))}function zh({negate:e},t,n){const{tokens:r,walk:o}=t,i=[xn()],a=r[t.nextIndex];let s=fa(a);for(;s.type!=="CharacterClassClose";){if(s.type==="CharacterClassIntersector")i.push(xn()),t.nextIndex++;else{const c=i.at(-1);c.body.push(o(c,n))}s=fa(r[t.nextIndex],a)}const l=xn({negate:e});return i.length===1?l.body=i[0].body:(l.kind="intersection",l.body=i.map(c=>c.body.length===1?c.body[0]:c)),t.nextIndex++,l}function Hh({kind:e,negate:t,value:n},r){const{normalizeUnknownPropertyNames:o,skipPropertyNameValidation:i,unicodePropertyMap:a}=r;if(e==="property"){const s=gr(n);if(ri.has(s)&&!(a!=null&&a.has(s)))e="posix",n=s;else return ft(n,{negate:t,normalizeUnknownPropertyNames:o,skipPropertyNameValidation:i,unicodePropertyMap:a})}return e==="posix"?Qh(n,{negate:t}):bo(e,{negate:t})}function jh(e,t,n){const{tokens:r,capturingGroups:o,namedGroupsByName:i,skipLookbehindValidation:a,walk:s}=t,l=eg(e),c=l.type==="AbsenceFunction",u=da(l),d=u&&l.negate;if(l.type==="CapturingGroup"&&(o.push(l),l.name&&ph(i,l.name,[]).push(l)),c&&n.isInAbsenceFunction)throw new Error("Nested absence function not supported by Oniguruma");let f=pa(r[t.nextIndex]);for(;f.type!=="GroupClose";){if(f.type==="Alternator")l.body.push(rt()),t.nextIndex++;else{const p=l.body.at(-1),m=s(p,{...n,isInAbsenceFunction:n.isInAbsenceFunction||c,isInLookbehind:n.isInLookbehind||u,isInNegLookbehind:n.isInNegLookbehind||d});if(p.body.push(m),(u||n.isInLookbehind)&&!a){const g="Lookbehind includes a pattern not allowed by Oniguruma";if(d||n.isInNegLookbehind){if(ua(m)||m.type==="CapturingGroup")throw new Error(g)}else if(ua(m)||da(m)&&m.negate)throw new Error(g)}}f=pa(r[t.nextIndex])}return t.nextIndex++,l}function Gh({kind:e,min:t,max:n},r){const o=r.parent,i=o.body.at(-1);if(!i||!Vh(i))throw new Error("Quantifier requires a repeatable token");const a=Ac(e,t,n,i);return o.body.pop(),a}function Uh({raw:e},t){const{capturingGroups:n,subroutines:r}=t;let o=e.slice(3,-1);const i=/^(?<sign>[-+]?)0*(?<num>[1-9]\d*)$/.exec(o);if(i){const s=+i.groups.num,l=n.length;if(t.hasNumberedRef=!0,o={"":s,"+":l+s,"-":l+1-s}[i.groups.sign],o<1)throw new Error("Invalid subroutine number")}else o==="0"&&(o=0);const a=Cc(o);return r.push(a),a}function qh(e,t){return{type:"AbsenceFunction",kind:e,body:cn(t==null?void 0:t.body)}}function rt(e){return{type:"Alternative",body:xc(e==null?void 0:e.body)}}function yo(e,t){const n={type:"Assertion",kind:e};return(e==="word_boundary"||e==="text_segment_boundary")&&(n.negate=!!(t!=null&&t.negate)),n}function _o(e,t){const n=!!(t!=null&&t.orphan);return{type:"Backreference",ref:e,...n&&{orphan:n}}}function Sc(e,t){const n={name:void 0,isSubroutined:!1,...t};if(n.name!==void 0&&!tg(n.name))throw new Error(`Group name "${n.name}" invalid in Oniguruma`);return{type:"CapturingGroup",number:e,...n.name&&{name:n.name},...n.isSubroutined&&{isSubroutined:n.isSubroutined},body:cn(t==null?void 0:t.body)}}function hr(e,t){const n={useLastValid:!1,...t};if(e>1114111){const r=e.toString(16);if(n.useLastValid)e=1114111;else throw e>1310719?new Error(`Invalid code point out of range "\\x{${r}}"`):new Error(`Invalid code point out of range in JS "\\x{${r}}"`)}return{type:"Character",value:e}}function xn(e){const t={kind:"union",negate:!1,...e};return{type:"CharacterClass",kind:t.kind,negate:t.negate,body:xc(e==null?void 0:e.body)}}function Kh(e,t){if(t.value<e.value)throw new Error("Character class range out of order");return{type:"CharacterClassRange",min:e,max:t}}function bo(e,t){const n=!!(t!=null&&t.negate),r={type:"CharacterSet",kind:e};return(e==="digit"||e==="hex"||e==="newline"||e==="space"||e==="word")&&(r.negate=n),(e==="text_segment"||e==="newline"&&!n)&&(r.variableLength=!0),r}function Xh(e,t={}){if(e==="keep")return{type:"Directive",kind:e};if(e==="flags")return{type:"Directive",kind:e,flags:Pt(t.flags)};throw new Error(`Unexpected directive kind "${e}"`)}function Yh(e){return{type:"Flags",...e}}function ve(e){const t=e==null?void 0:e.atomic,n=e==null?void 0:e.flags;if(t&&n)throw new Error("Atomic group cannot have flags");return{type:"Group",...t&&{atomic:t},...n&&{flags:n},body:cn(e==null?void 0:e.body)}}function Ze(e){const t={behind:!1,negate:!1,...e};return{type:"LookaroundAssertion",kind:t.behind?"lookbehind":"lookahead",negate:t.negate,body:cn(e==null?void 0:e.body)}}function Zh(e,t,n){return{type:"NamedCallout",kind:e,tag:t,arguments:n}}function Qh(e,t){const n=!!(t!=null&&t.negate);if(!ri.has(e))throw new Error(`Invalid POSIX class "${e}"`);return{type:"CharacterSet",kind:"posix",value:e,negate:n}}function Ac(e,t,n,r){if(t>n)throw new Error("Invalid reversed quantifier range");return{type:"Quantifier",kind:e,min:t,max:n,body:r}}function Jh(e,t){return{type:"Regex",body:cn(t==null?void 0:t.body),flags:e}}function Cc(e){return{type:"Subroutine",ref:e}}function ft(e,t){var o;const n={negate:!1,normalizeUnknownPropertyNames:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t};let r=(o=n.unicodePropertyMap)==null?void 0:o.get(gr(e));if(!r){if(n.normalizeUnknownPropertyNames)r=ng(e);else if(n.unicodePropertyMap&&!n.skipPropertyNameValidation)throw new Error(q`Invalid Unicode property "\p{${e}}"`)}return{type:"CharacterSet",kind:"property",value:r??e,negate:n.negate}}function eg({flags:e,kind:t,name:n,negate:r,number:o}){switch(t){case"absence_repeater":return qh("repeater");case"atomic":return ve({atomic:!0});case"capturing":return Sc(o,{name:n});case"group":return ve({flags:e});case"lookahead":case"lookbehind":return Ze({behind:t==="lookbehind",negate:r});default:throw new Error(`Unexpected group kind "${t}"`)}}function cn(e){if(e===void 0)e=[rt()];else if(!Array.isArray(e)||!e.length||!e.every(t=>t.type==="Alternative"))throw new Error("Invalid body; expected array of one or more Alternative nodes");return e}function xc(e){if(e===void 0)e=[];else if(!Array.isArray(e)||!e.every(t=>!!t.type))throw new Error("Invalid body; expected array of nodes");return e}function ua(e){return e.type==="LookaroundAssertion"&&e.kind==="lookahead"}function da(e){return e.type==="LookaroundAssertion"&&e.kind==="lookbehind"}function tg(e){return/^[\p{Alpha}\p{Pc}][^)]*$/u.test(e)}function ng(e){return e.trim().replace(/[- _]+/g,"_").replace(/[A-Z][a-z]+(?=[A-Z])/g,"$&_").replace(/[A-Za-z]+/g,t=>t[0].toUpperCase()+t.slice(1).toLowerCase())}function gr(e){return e.replace(/[- _]+/g,"").toLowerCase()}function fa(e,t){const n=t;return Pt(e,`Unclosed character class${(n==null?void 0:n.type)==="Character"&&n.value===93&&n.raw==="]"?' (started with "]")':""}`)}function pa(e){return Pt(e,"Unclosed group")}function qt(e,t,n=null){function r(i,a){for(let s=0;s<i.length;s++){const l=o(i[s],a,s,i);s=Math.max(-1,s+l)}}function o(i,a=null,s=null,l=null){var _,y;let c=0,u=!1;const d={node:i,parent:a,key:s,container:l,root:e,remove(){hn(l).splice(Math.max(0,ct(s)+c),1),c--,u=!0},removeAllNextSiblings(){return hn(l).splice(ct(s)+1)},removeAllPrevSiblings(){const b=ct(s)+c;return c-=b,hn(l).splice(0,Math.max(0,b))},replaceWith(b,E={}){const S=!!E.traverse;l?l[Math.max(0,ct(s)+c)]=b:Pt(a,"Can't replace root node")[s]=b,S&&o(b,a,s,l),u=!0},replaceWithMultiple(b,E={}){const S=!!E.traverse;if(hn(l).splice(Math.max(0,ct(s)+c),1,...b),c+=b.length-1,S){let C=0;for(let k=0;k<b.length;k++)C+=o(b[k],a,ct(s)+k+C,l)}u=!0},skip(){u=!0}},{type:f}=i,p=t["*"],m=t[f],g=typeof p=="function"?p:p==null?void 0:p.enter,v=typeof m=="function"?m:m==null?void 0:m.enter;if(g==null||g(d,n),v==null||v(d,n),!u)switch(f){case"AbsenceFunction":case"Alternative":case"CapturingGroup":case"CharacterClass":case"Group":case"LookaroundAssertion":r(i.body,i);break;case"Assertion":case"Backreference":case"Character":case"CharacterSet":case"Directive":case"Flags":case"NamedCallout":case"Subroutine":break;case"CharacterClassRange":o(i.min,i,"min"),o(i.max,i,"max");break;case"Quantifier":o(i.body,i,"body");break;case"Regex":r(i.body,i),o(i.flags,i,"flags");break;default:throw new Error(`Unexpected node type "${f}"`)}return(_=m==null?void 0:m.exit)==null||_.call(m,d,n),(y=p==null?void 0:p.exit)==null||y.call(p,d,n),c}return o(e),e}function hn(e){if(!Array.isArray(e))throw new Error("Container expected");return e}function ct(e){if(typeof e!="number")throw new Error("Numeric key expected");return e}const rg=String.raw`\(\?(?:[:=!>A-Za-z\-]|<[=!]|\(DEFINE\))`;function og(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function ig(e,t,n,r){return e.slice(0,t)+r+e.slice(t+n.length)}const pe=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function ii(e,t,n,r){const o=new RegExp(String.raw`${t}|(?<$skip>\[\^?|\\?.)`,"gsu"),i=[!1];let a=0,s="";for(const l of e.matchAll(o)){const{0:c,groups:{$skip:u}}=l;if(!u&&(!r||r===pe.DEFAULT==!a)){n instanceof Function?s+=n(l,{context:a?pe.CHAR_CLASS:pe.DEFAULT,negated:i[i.length-1]}):s+=n;continue}c[0]==="["?(a++,i.push(c[1]==="^")):c==="]"&&a&&(a--,i.pop()),s+=c}return s}function kc(e,t,n,r){ii(e,t,n,r)}function ag(e,t,n=0,r){if(!new RegExp(t,"su").test(e))return null;const o=new RegExp(`${t}|(?<$skip>\\\\?.)`,"gsu");o.lastIndex=n;let i=0,a;for(;a=o.exec(e);){const{0:s,groups:{$skip:l}}=a;if(!l&&(!r||r===pe.DEFAULT==!i))return a;s==="["?i++:s==="]"&&i&&i--,o.lastIndex==a.index&&o.lastIndex++}return null}function gn(e,t,n){return!!ag(e,t,0,n)}function sg(e,t){const n=/\\?./gsu;n.lastIndex=t;let r=e.length,o=0,i=1,a;for(;a=n.exec(e);){const[s]=a;if(s==="[")o++;else if(o)s==="]"&&o--;else if(s==="(")i++;else if(s===")"&&(i--,!i)){r=a.index;break}}return e.slice(t,r)}const ma=new RegExp(String.raw`(?<noncapturingStart>${rg})|(?<capturingStart>\((?:\?<[^>]+>)?)|\\?.`,"gsu");function lg(e,t){const n=(t==null?void 0:t.hiddenCaptures)??[];let r=(t==null?void 0:t.captureTransfers)??new Map;if(!/\(\?>/.test(e))return{pattern:e,captureTransfers:r,hiddenCaptures:n};const o="(?>",i="(?:(?=(",a=[0],s=[];let l=0,c=0,u=NaN,d;do{d=!1;let f=0,p=0,m=!1,g;for(ma.lastIndex=Number.isNaN(u)?0:u+i.length;g=ma.exec(e);){const{0:v,index:_,groups:{capturingStart:y,noncapturingStart:b}}=g;if(v==="[")f++;else if(f)v==="]"&&f--;else if(v===o&&!m)u=_,m=!0;else if(m&&b)p++;else if(y)m?p++:(l++,a.push(l+c));else if(v===")"&&m){if(!p){c++;const E=l+c;if(e=`${e.slice(0,u)}${i}${e.slice(u+o.length,_)}))<$$${E}>)${e.slice(_+1)}`,d=!0,s.push(E),og(n,E),r.size){const S=new Map;r.forEach((C,k)=>{S.set(k>=E?k+1:k,C.map(R=>R>=E?R+1:R))}),r=S}break}p--}}}while(d);return n.push(...s),e=ii(e,String.raw`\\(?<backrefNum>[1-9]\d*)|<\$\$(?<wrappedBackrefNum>\d+)>`,({0:f,groups:{backrefNum:p,wrappedBackrefNum:m}})=>{if(p){const g=+p;if(g>a.length-1)throw new Error(`Backref "${f}" greater than number of captures`);return`\\${a[g]}`}return`\\${m}`},pe.DEFAULT),{pattern:e,captureTransfers:r,hiddenCaptures:n}}const Ic=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,Nr=new RegExp(String.raw`
46
- \\(?: \d+
47
- | c[A-Za-z]
48
- | [gk]<[^>]+>
49
- | [pPu]\{[^\}]+\}
50
- | u[A-Fa-f\d]{4}
51
- | x[A-Fa-f\d]{2}
52
- )
53
- | \((?: \? (?: [:=!>]
54
- | <(?:[=!]|[^>]+>)
55
- | [A-Za-z\-]+:
56
- | \(DEFINE\)
57
- ))?
58
- | (?<qBase>${Ic})(?<qMod>[?+]?)(?<invalidQ>[?*+\{]?)
59
- | \\?.
60
- `.replace(/\s+/g,""),"gsu");function cg(e){if(!new RegExp(`${Ic}\\+`).test(e))return{pattern:e};const t=[];let n=null,r=null,o="",i=0,a;for(Nr.lastIndex=0;a=Nr.exec(e);){const{0:s,index:l,groups:{qBase:c,qMod:u,invalidQ:d}}=a;if(s==="[")i||(r=l),i++;else if(s==="]")i?i--:r=null;else if(!i)if(u==="+"&&o&&!o.startsWith("(")){if(d)throw new Error(`Invalid quantifier "${s}"`);let f=-1;if(/^\{\d+\}$/.test(c))e=ig(e,l+c.length,u,"");else{if(o===")"||o==="]"){const p=o===")"?n:r;if(p===null)throw new Error(`Invalid unmatched "${o}"`);e=`${e.slice(0,p)}(?>${e.slice(p,l)}${c})${e.slice(l+s.length)}`}else e=`${e.slice(0,l-o.length)}(?>${o}${c})${e.slice(l+s.length)}`;f+=4}Nr.lastIndex+=f}else s[0]==="("?t.push(l):s===")"&&(n=t.length?t.pop():null);o=s}return{pattern:e}}const fe=String.raw,ug=fe`\\g<(?<gRNameOrNum>[^>&]+)&R=(?<gRDepth>[^>]+)>`,wo=fe`\(\?R=(?<rDepth>[^\)]+)\)|${ug}`,vr=fe`\(\?<(?![=!])(?<captureName>[^>]+)>`,Rc=fe`${vr}|(?<unnamed>\()(?!\?)`,Ue=new RegExp(fe`${vr}|${wo}|\(\?|\\?.`,"gsu"),Vr="Cannot use multiple overlapping recursions";function dg(e,t){const{hiddenCaptures:n,mode:r}={hiddenCaptures:[],mode:"plugin",...t};let o=(t==null?void 0:t.captureTransfers)??new Map;if(!new RegExp(wo,"su").test(e))return{pattern:e,captureTransfers:o,hiddenCaptures:n};if(r==="plugin"&&gn(e,fe`\(\?\(DEFINE\)`,pe.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const i=[],a=gn(e,fe`\\[1-9]`,pe.DEFAULT),s=new Map,l=[];let c=!1,u=0,d=0,f;for(Ue.lastIndex=0;f=Ue.exec(e);){const{0:p,groups:{captureName:m,rDepth:g,gRNameOrNum:v,gRDepth:_}}=f;if(p==="[")u++;else if(u)p==="]"&&u--;else if(g){if(ha(g),c)throw new Error(Vr);if(a)throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with global recursion`);const y=e.slice(0,f.index),b=e.slice(Ue.lastIndex);if(gn(b,wo,pe.DEFAULT))throw new Error(Vr);const E=+g-1;e=ga(y,b,E,!1,n,i,d),o=ya(o,y,E,i.length,0,d);break}else if(v){ha(_);let y=!1;for(const O of l)if(O.name===v||O.num===+v){if(y=!0,O.hasRecursedWithin)throw new Error(Vr);break}if(!y)throw new Error(fe`Recursive \g cannot be used outside the referenced group "${r==="external"?v:fe`\g<${v}&R=${_}>`}"`);const b=s.get(v),E=sg(e,b);if(a&&gn(E,fe`${vr}|\((?!\?)`,pe.DEFAULT))throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with recursion of capturing groups`);const S=e.slice(b,f.index),C=E.slice(S.length+p.length),k=i.length,R=+_-1,I=ga(S,C,R,!0,n,i,d);o=ya(o,S,R,i.length-k,k,d);const P=e.slice(0,b),$=e.slice(b+E.length);e=`${P}${I}${$}`,Ue.lastIndex+=I.length-p.length-S.length-C.length,l.forEach(O=>O.hasRecursedWithin=!0),c=!0}else if(m)d++,s.set(String(d),Ue.lastIndex),s.set(m,Ue.lastIndex),l.push({num:d,name:m});else if(p[0]==="("){const y=p==="(";y&&(d++,s.set(String(d),Ue.lastIndex)),l.push(y?{num:d}:{})}else p===")"&&l.pop()}return n.push(...i),{pattern:e,captureTransfers:o,hiddenCaptures:n}}function ha(e){const t=`Max depth must be integer between 2 and 100; used ${e}`;if(!/^[1-9]\d*$/.test(e))throw new Error(t);if(e=+e,e<2||e>100)throw new Error(t)}function ga(e,t,n,r,o,i,a){const s=new Set;r&&kc(e+t,vr,({groups:{captureName:c}})=>{s.add(c)},pe.DEFAULT);const l=[n,r?s:null,o,i,a];return`${e}${va(`(?:${e}`,"forward",...l)}(?:)${va(`${t})`,"backward",...l)}${t}`}function va(e,t,n,r,o,i,a){const l=u=>t==="forward"?u+2:n-u+2-1;let c="";for(let u=0;u<n;u++){const d=l(u);c+=ii(e,fe`${Rc}|\\k<(?<backref>[^>]+)>`,({0:f,groups:{captureName:p,unnamed:m,backref:g}})=>{if(g&&r&&!r.has(g))return f;const v=`_$${d}`;if(m||p){const _=a+i.length+1;return i.push(_),fg(o,_),m?f:`(?<${p}${v}>`}return fe`\k<${g}${v}>`},pe.DEFAULT)}return c}function fg(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function ya(e,t,n,r,o,i){if(e.size&&r){let a=0;kc(t,Rc,()=>a++,pe.DEFAULT);const s=i-a+o,l=new Map;return e.forEach((c,u)=>{const d=(r-a*n)/n,f=a*n,p=u>s+a?u+r:u,m=[];for(const g of c)if(g<=s)m.push(g);else if(g>s+a+d)m.push(g+r);else if(g<=s+a)for(let v=0;v<=n;v++)m.push(g+a*v);else for(let v=0;v<=n;v++)m.push(g+f+d*v);l.set(p,m)}),l}return e}var H=String.fromCodePoint,T=String.raw,_e={},yr=globalThis.RegExp;_e.flagGroups=(()=>{try{new yr("(?i:)")}catch{return!1}return!0})();_e.unicodeSets=(()=>{try{new yr("[[]]","v")}catch{return!1}return!0})();_e.bugFlagVLiteralHyphenIsRange=_e.unicodeSets?(()=>{try{new yr(T`[\d\-a]`,"v")}catch{return!0}return!1})():!1;_e.bugNestedClassIgnoresNegation=_e.unicodeSets&&new yr("[[^a]]","v").test("a");function $n(e,{enable:t,disable:n}){return{dotAll:!(n!=null&&n.dotAll)&&!!(t!=null&&t.dotAll||e.dotAll),ignoreCase:!(n!=null&&n.ignoreCase)&&!!(t!=null&&t.ignoreCase||e.ignoreCase)}}function en(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}function Eo(e,t){return _a[e]>=_a[t]}function pg(e,t){if(e==null)throw new Error(t??"Value expected");return e}var _a={ES2025:2025,ES2024:2024,ES2018:2018},mg={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function Lc(e={}){if({}.toString.call(e)!=="[object Object]")throw new Error("Unexpected options");if(e.target!==void 0&&!mg[e.target])throw new Error(`Unexpected target "${e.target}"`);const t={accuracy:"default",avoidSubclass:!1,flags:"",global:!1,hasIndices:!1,lazyCompileLength:1/0,target:"auto",verbose:!1,...e,rules:{allowOrphanBackrefs:!1,asciiWordBoundaries:!1,captureGroup:!1,recursionLimit:20,singleline:!1,...e.rules}};return t.target==="auto"&&(t.target=_e.flagGroups?"ES2025":_e.unicodeSets?"ES2024":"ES2018"),t}var hg="[ -\r ]",gg=new Set([H(304),H(305)]),Ae=T`[\p{L}\p{M}\p{N}\p{Pc}]`;function Tc(e){if(gg.has(e))return[e];const t=new Set,n=e.toLowerCase(),r=n.toUpperCase(),o=_g.get(n),i=vg.get(n),a=yg.get(n);return[...r].length===1&&t.add(r),a&&t.add(a),o&&t.add(o),t.add(n),i&&t.add(i),[...t]}var ai=new Map(`C Other
61
- Cc Control cntrl
62
- Cf Format
63
- Cn Unassigned
64
- Co Private_Use
65
- Cs Surrogate
66
- L Letter
67
- LC Cased_Letter
68
- Ll Lowercase_Letter
69
- Lm Modifier_Letter
70
- Lo Other_Letter
71
- Lt Titlecase_Letter
72
- Lu Uppercase_Letter
73
- M Mark Combining_Mark
74
- Mc Spacing_Mark
75
- Me Enclosing_Mark
76
- Mn Nonspacing_Mark
77
- N Number
78
- Nd Decimal_Number digit
79
- Nl Letter_Number
80
- No Other_Number
81
- P Punctuation punct
82
- Pc Connector_Punctuation
83
- Pd Dash_Punctuation
84
- Pe Close_Punctuation
85
- Pf Final_Punctuation
86
- Pi Initial_Punctuation
87
- Po Other_Punctuation
88
- Ps Open_Punctuation
89
- S Symbol
90
- Sc Currency_Symbol
91
- Sk Modifier_Symbol
92
- Sm Math_Symbol
93
- So Other_Symbol
94
- Z Separator
95
- Zl Line_Separator
96
- Zp Paragraph_Separator
97
- Zs Space_Separator
98
- ASCII
99
- ASCII_Hex_Digit AHex
100
- Alphabetic Alpha
101
- Any
102
- Assigned
103
- Bidi_Control Bidi_C
104
- Bidi_Mirrored Bidi_M
105
- Case_Ignorable CI
106
- Cased
107
- Changes_When_Casefolded CWCF
108
- Changes_When_Casemapped CWCM
109
- Changes_When_Lowercased CWL
110
- Changes_When_NFKC_Casefolded CWKCF
111
- Changes_When_Titlecased CWT
112
- Changes_When_Uppercased CWU
113
- Dash
114
- Default_Ignorable_Code_Point DI
115
- Deprecated Dep
116
- Diacritic Dia
117
- Emoji
118
- Emoji_Component EComp
119
- Emoji_Modifier EMod
120
- Emoji_Modifier_Base EBase
121
- Emoji_Presentation EPres
122
- Extended_Pictographic ExtPict
123
- Extender Ext
124
- Grapheme_Base Gr_Base
125
- Grapheme_Extend Gr_Ext
126
- Hex_Digit Hex
127
- IDS_Binary_Operator IDSB
128
- IDS_Trinary_Operator IDST
129
- ID_Continue IDC
130
- ID_Start IDS
131
- Ideographic Ideo
132
- Join_Control Join_C
133
- Logical_Order_Exception LOE
134
- Lowercase Lower
135
- Math
136
- Noncharacter_Code_Point NChar
137
- Pattern_Syntax Pat_Syn
138
- Pattern_White_Space Pat_WS
139
- Quotation_Mark QMark
140
- Radical
141
- Regional_Indicator RI
142
- Sentence_Terminal STerm
143
- Soft_Dotted SD
144
- Terminal_Punctuation Term
145
- Unified_Ideograph UIdeo
146
- Uppercase Upper
147
- Variation_Selector VS
148
- White_Space space
149
- XID_Continue XIDC
150
- XID_Start XIDS`.split(/\s/).map(e=>[gr(e),e])),vg=new Map([["s",H(383)],[H(383),"s"]]),yg=new Map([[H(223),H(7838)],[H(107),H(8490)],[H(229),H(8491)],[H(969),H(8486)]]),_g=new Map([Me(453),Me(456),Me(459),Me(498),...$r(8072,8079),...$r(8088,8095),...$r(8104,8111),Me(8124),Me(8140),Me(8188)]),bg=new Map([["alnum",T`[\p{Alpha}\p{Nd}]`],["alpha",T`\p{Alpha}`],["ascii",T`\p{ASCII}`],["blank",T`[\p{Zs}\t]`],["cntrl",T`\p{Cc}`],["digit",T`\p{Nd}`],["graph",T`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],["lower",T`\p{Lower}`],["print",T`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",T`[\p{P}\p{S}]`],["space",T`\p{space}`],["upper",T`\p{Upper}`],["word",T`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",T`\p{AHex}`]]);function wg(e,t){const n=[];for(let r=e;r<=t;r++)n.push(r);return n}function Me(e){const t=H(e);return[t.toLowerCase(),t]}function $r(e,t){return wg(e,t).map(n=>Me(n))}var Pc=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]);function Eg(e,t){const n={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...t};Oc(e);const r={accuracy:n.accuracy,asciiWordBoundaries:n.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:Eo(n.bestEffortTarget,"ES2024"),passedLookbehind:!1,strategy:null,subroutineRefMap:new Map,supportedGNodes:new Set,digitIsAscii:e.flags.digitIsAscii,spaceIsAscii:e.flags.spaceIsAscii,wordIsAscii:e.flags.wordIsAscii};qt(e,Sg,r);const o={dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},i={currentFlags:o,prevFlags:null,globalFlags:o,groupOriginByCopy:new Map,groupsByName:new Map,multiplexCapturesToLeftByRef:new Map,openRefs:new Map,reffedNodesByReferencer:new Map,subroutineRefMap:r.subroutineRefMap};qt(e,Ag,i);const a={groupsByName:i.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:i.reffedNodesByReferencer};return qt(e,Cg,a),e._originMap=i.groupOriginByCopy,e._strategy=r.strategy,e}var Sg={AbsenceFunction({node:e,parent:t,replaceWith:n}){const{body:r,kind:o}=e;if(o==="repeater"){const i=ve();i.body[0].body.push(Ze({negate:!0,body:r}),ft("Any"));const a=ve();a.body[0].body.push(Ac("greedy",0,1/0,i)),n(F(a,t),{traverse:!0})}else throw new Error('Unsupported absence function "(?~|"')},Alternative:{enter({node:e,parent:t,key:n},{flagDirectivesByAlt:r}){const o=e.body.filter(i=>i.kind==="flags");for(let i=n+1;i<t.body.length;i++){const a=t.body[i];en(r,a,[]).push(...o)}},exit({node:e},{flagDirectivesByAlt:t}){var n;if((n=t.get(e))!=null&&n.length){const r=Mc(t.get(e));if(r){const o=ve({flags:r});o.body[0].body=e.body,e.body=[F(o,e)]}}}},Assertion({node:e,parent:t,key:n,container:r,root:o,remove:i,replaceWith:a},s){const{kind:l,negate:c}=e,{asciiWordBoundaries:u,avoidSubclass:d,supportedGNodes:f,wordIsAscii:p}=s;if(l==="text_segment_boundary")throw new Error(`Unsupported text segment boundary "\\${c?"Y":"y"}"`);if(l==="line_end")a(F(Ze({body:[rt({body:[yo("string_end")]}),rt({body:[hr(10)]})]}),t));else if(l==="line_start")a(F(Ce(T`(?<=\A|\n(?!\z))`,{skipLookbehindValidation:!0}),t));else if(l==="search_start")if(f.has(e))o.flags.sticky=!0,i();else{const m=r[n-1];if(m&&Tg(m))a(F(Ze({negate:!0}),t));else{if(d)throw new Error(T`Uses "\G" in a way that requires a subclass`);a(Ne(yo("string_start"),t)),s.strategy="clip_search"}}else if(!(l==="string_end"||l==="string_start"))if(l==="string_end_newline")a(F(Ce(T`(?=\n?\z)`),t));else if(l==="word_boundary"){if(!p&&!u){const m=`(?:(?<=${Ae})(?!${Ae})|(?<!${Ae})(?=${Ae}))`,g=`(?:(?<=${Ae})(?=${Ae})|(?<!${Ae})(?!${Ae}))`;a(F(Ce(c?g:m),t))}}else throw new Error(`Unexpected assertion kind "${l}"`)},Backreference({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!Br(n)&&(n=Fr(n,t),e.ref=n)},CapturingGroup({node:e},{jsGroupNameMap:t,subroutineRefMap:n}){let{name:r}=e;r&&!Br(r)&&(r=Fr(r,t),e.name=r),n.set(e.number,e),r&&n.set(r,e)},CharacterClassRange({node:e,parent:t,replaceWith:n}){if(t.kind==="intersection"){const r=xn({body:[e]});n(F(r,t),{traverse:!0})}},CharacterSet({node:e,parent:t,replaceWith:n},{accuracy:r,minTargetEs2024:o,digitIsAscii:i,spaceIsAscii:a,wordIsAscii:s}){const{kind:l,negate:c,value:u}=e;if(i&&(l==="digit"||u==="digit")){n(Ne(bo("digit",{negate:c}),t));return}if(a&&(l==="space"||u==="space")){n(F(Wr(Ce(hg),c),t));return}if(s&&(l==="word"||u==="word")){n(Ne(bo("word",{negate:c}),t));return}if(l==="any")n(Ne(ft("Any"),t));else if(l==="digit")n(Ne(ft("Nd",{negate:c}),t));else if(l!=="dot")if(l==="text_segment"){if(r==="strict")throw new Error(T`Use of "\X" requires non-strict accuracy`);const d="\\p{Emoji}(?:\\p{EMod}|\\uFE0F\\u20E3?|[\\x{E0020}-\\x{E007E}]+\\x{E007F})?",f=T`\p{RI}{2}|${d}(?:\u200D${d})*`;n(F(Ce(T`(?>\r\n|${o?T`\p{RGI_Emoji}`:f}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}),t))}else if(l==="hex")n(Ne(ft("AHex",{negate:c}),t));else if(l==="newline")n(F(Ce(c?`[^
151
- ]`:`(?>\r
152
- ?|[
153
- \v\f…\u2028\u2029])`),t));else if(l==="posix")if(!o&&(u==="graph"||u==="print")){if(r==="strict")throw new Error(`POSIX class "${u}" requires min target ES2024 or non-strict accuracy`);let d={graph:"!-~",print:" -~"}[u];c&&(d=`\0-${H(d.codePointAt(0)-1)}${H(d.codePointAt(2)+1)}-􏿿`),n(F(Ce(`[${d}]`),t))}else n(F(Wr(Ce(bg.get(u)),c),t));else if(l==="property")ai.has(gr(u))||(e.key="sc");else if(l==="space")n(Ne(ft("space",{negate:c}),t));else if(l==="word")n(F(Wr(Ce(Ae),c),t));else throw new Error(`Unexpected character set kind "${l}"`)},Directive({node:e,parent:t,root:n,remove:r,replaceWith:o,removeAllPrevSiblings:i,removeAllNextSiblings:a}){const{kind:s,flags:l}=e;if(s==="flags")if(!l.enable&&!l.disable)r();else{const c=ve({flags:l});c.body[0].body=a(),o(F(c,t),{traverse:!0})}else if(s==="keep"){const c=n.body[0],d=n.body.length===1&&wc(c,{type:"Group"})&&c.body[0].body.length===1?c.body[0]:n;if(t.parent!==d||d.body.length>1)throw new Error(T`Uses "\K" in a way that's unsupported`);const f=Ze({behind:!0});f.body[0].body=i(),o(F(f,t))}else throw new Error(`Unexpected directive kind "${s}"`)},Flags({node:e,parent:t}){if(e.posixIsAscii)throw new Error('Unsupported flag "P"');if(e.textSegmentMode==="word")throw new Error('Unsupported flag "y{w}"');["digitIsAscii","extended","posixIsAscii","spaceIsAscii","wordIsAscii","textSegmentMode"].forEach(n=>delete e[n]),Object.assign(e,{global:!1,hasIndices:!1,multiline:!1,sticky:e.sticky??!1}),t.options={disable:{x:!0,n:!0},force:{v:!0}}},Group({node:e}){if(!e.flags)return;const{enable:t,disable:n}=e.flags;t!=null&&t.extended&&delete t.extended,n!=null&&n.extended&&delete n.extended,t!=null&&t.dotAll&&(n!=null&&n.dotAll)&&delete t.dotAll,t!=null&&t.ignoreCase&&(n!=null&&n.ignoreCase)&&delete t.ignoreCase,t&&!Object.keys(t).length&&delete e.flags.enable,n&&!Object.keys(n).length&&delete e.flags.disable,!e.flags.enable&&!e.flags.disable&&delete e.flags},LookaroundAssertion({node:e},t){const{kind:n}=e;n==="lookbehind"&&(t.passedLookbehind=!0)},NamedCallout({node:e,parent:t,replaceWith:n}){const{kind:r}=e;if(r==="fail")n(F(Ze({negate:!0}),t));else throw new Error(`Unsupported named callout "(*${r.toUpperCase()}"`)},Quantifier({node:e}){if(e.body.type==="Quantifier"){const t=ve();t.body[0].body.push(e.body),e.body=F(t,e)}},Regex:{enter({node:e},{supportedGNodes:t}){const n=[];let r=!1,o=!1;for(const i of e.body)if(i.body.length===1&&i.body[0].kind==="search_start")i.body.pop();else{const a=Vc(i.body);a?(r=!0,Array.isArray(a)?n.push(...a):n.push(a)):o=!0}r&&!o&&n.forEach(i=>t.add(i))},exit(e,{accuracy:t,passedLookbehind:n,strategy:r}){if(t==="strict"&&n&&r)throw new Error(T`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!Br(n)&&(n=Fr(n,t),e.ref=n)}},Ag={Backreference({node:e},{multiplexCapturesToLeftByRef:t,reffedNodesByReferencer:n}){const{orphan:r,ref:o}=e;r||n.set(e,[...t.get(o).map(({node:i})=>i)])},CapturingGroup:{enter({node:e,parent:t,replaceWith:n,skip:r},{groupOriginByCopy:o,groupsByName:i,multiplexCapturesToLeftByRef:a,openRefs:s,reffedNodesByReferencer:l}){const c=o.get(e);if(c&&s.has(e.number)){const d=Ne(ba(e.number),t);l.set(d,s.get(e.number)),n(d);return}s.set(e.number,e),a.set(e.number,[]),e.name&&en(a,e.name,[]);const u=a.get(e.name??e.number);for(let d=0;d<u.length;d++){const f=u[d];if(c===f.node||c&&c===f.origin||e===f.origin){u.splice(d,1);break}}if(a.get(e.number).push({node:e,origin:c}),e.name&&a.get(e.name).push({node:e,origin:c}),e.name){const d=en(i,e.name,new Map);let f=!1;if(c)f=!0;else for(const p of d.values())if(!p.hasDuplicateNameToRemove){f=!0;break}i.get(e.name).set(e,{node:e,hasDuplicateNameToRemove:f})}},exit({node:e},{openRefs:t}){t.get(e.number)===e&&t.delete(e.number)}},Group:{enter({node:e},t){t.prevFlags=t.currentFlags,e.flags&&(t.currentFlags=$n(t.currentFlags,e.flags))},exit(e,t){t.currentFlags=t.prevFlags}},Subroutine({node:e,parent:t,replaceWith:n},r){const{isRecursive:o,ref:i}=e;if(o){let u=t;for(;(u=u.parent)&&!(u.type==="CapturingGroup"&&(u.name===i||u.number===i)););r.reffedNodesByReferencer.set(e,u);return}const a=r.subroutineRefMap.get(i),s=i===0,l=s?ba(0):Dc(a,r.groupOriginByCopy,null);let c=l;if(!s){const u=Mc(Ig(a,f=>f.type==="Group"&&!!f.flags)),d=u?$n(r.globalFlags,u):r.globalFlags;xg(d,r.currentFlags)||(c=ve({flags:Rg(d)}),c.body[0].body.push(l))}n(F(c,t),{traverse:!s})}},Cg={Backreference({node:e,parent:t,replaceWith:n},r){if(e.orphan){r.highestOrphanBackref=Math.max(r.highestOrphanBackref,e.ref);return}const i=r.reffedNodesByReferencer.get(e).filter(a=>kg(a,e));if(!i.length)n(F(Ze({negate:!0}),t));else if(i.length>1){const a=ve({atomic:!0,body:i.reverse().map(s=>rt({body:[_o(s.number)]}))});n(F(a,t))}else e.ref=i[0].number},CapturingGroup({node:e},t){e.number=++t.numCapturesToLeft,e.name&&t.groupsByName.get(e.name).get(e).hasDuplicateNameToRemove&&delete e.name},Regex:{exit({node:e},t){const n=Math.max(t.highestOrphanBackref-t.numCapturesToLeft,0);for(let r=0;r<n;r++){const o=Sc();e.body.at(-1).body.push(o)}}},Subroutine({node:e},t){!e.isRecursive||e.ref===0||(e.ref=t.reffedNodesByReferencer.get(e).number)}};function Oc(e){qt(e,{"*"({node:t,parent:n}){t.parent=n}})}function xg(e,t){return e.dotAll===t.dotAll&&e.ignoreCase===t.ignoreCase}function kg(e,t){let n=t;do{if(n.type==="Regex")return!1;if(n.type==="Alternative")continue;if(n===e)return!1;const r=Nc(n.parent);for(const o of r){if(o===n)break;if(o===e||$c(o,e))return!0}}while(n=n.parent);throw new Error("Unexpected path")}function Dc(e,t,n,r){const o=Array.isArray(e)?[]:{};for(const[i,a]of Object.entries(e))i==="parent"?o.parent=Array.isArray(n)?r:n:a&&typeof a=="object"?o[i]=Dc(a,t,o,n):(i==="type"&&a==="CapturingGroup"&&t.set(o,t.get(e)??e),o[i]=a);return o}function ba(e){const t=Cc(e);return t.isRecursive=!0,t}function Ig(e,t){const n=[];for(;e=e.parent;)(!t||t(e))&&n.push(e);return n}function Fr(e,t){if(t.has(e))return t.get(e);const n=`$${t.size}_${e.replace(/^[^$_\p{IDS}]|[^$\u200C\u200D\p{IDC}]/ug,"_")}`;return t.set(e,n),n}function Mc(e){const t=["dotAll","ignoreCase"],n={enable:{},disable:{}};return e.forEach(({flags:r})=>{t.forEach(o=>{var i,a;(i=r.enable)!=null&&i[o]&&(delete n.disable[o],n.enable[o]=!0),(a=r.disable)!=null&&a[o]&&(n.disable[o]=!0)})}),Object.keys(n.enable).length||delete n.enable,Object.keys(n.disable).length||delete n.disable,n.enable||n.disable?n:null}function Rg({dotAll:e,ignoreCase:t}){const n={};return(e||t)&&(n.enable={},e&&(n.enable.dotAll=!0),t&&(n.enable.ignoreCase=!0)),(!e||!t)&&(n.disable={},!e&&(n.disable.dotAll=!0),!t&&(n.disable.ignoreCase=!0)),n}function Nc(e){if(!e)throw new Error("Node expected");const{body:t}=e;return Array.isArray(t)?t:t?[t]:null}function Vc(e){const t=e.find(n=>n.kind==="search_start"||Pg(n,{negate:!1})||!Lg(n));if(!t)return null;if(t.kind==="search_start")return t;if(t.type==="LookaroundAssertion")return t.body[0].body[0];if(t.type==="CapturingGroup"||t.type==="Group"){const n=[];for(const r of t.body){const o=Vc(r.body);if(!o)return null;Array.isArray(o)?n.push(...o):n.push(o)}return n}return null}function $c(e,t){const n=Nc(e)??[];for(const r of n)if(r===t||$c(r,t))return!0;return!1}function Lg({type:e}){return e==="Assertion"||e==="Directive"||e==="LookaroundAssertion"}function Tg(e){const t=["Character","CharacterClass","CharacterSet"];return t.includes(e.type)||e.type==="Quantifier"&&e.min&&t.includes(e.body.type)}function Pg(e,t){const n={negate:null,...t};return e.type==="LookaroundAssertion"&&(n.negate===null||e.negate===n.negate)&&e.body.length===1&&wc(e.body[0],{type:"Assertion",kind:"search_start"})}function Br(e){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(e)}function Ce(e,t){const r=Ec(e,{...t,unicodePropertyMap:ai}).body;return r.length>1||r[0].body.length>1?ve({body:r}):r[0].body[0]}function Wr(e,t){return e.negate=t,e}function Ne(e,t){return e.parent=t,e}function F(e,t){return Oc(e),e.parent=t,e}function Og(e,t){const n=Lc(t),r=Eo(n.target,"ES2024"),o=Eo(n.target,"ES2025"),i=n.rules.recursionLimit;if(!Number.isInteger(i)||i<2||i>20)throw new Error("Invalid recursionLimit; use 2-20");let a=null,s=null;if(!o){const p=[e.flags.ignoreCase];qt(e,Dg,{getCurrentModI:()=>p.at(-1),popModI(){p.pop()},pushModI(m){p.push(m)},setHasCasedChar(){p.at(-1)?a=!0:s=!0}})}const l={dotAll:e.flags.dotAll,ignoreCase:!!((e.flags.ignoreCase||a)&&!s)};let c=e;const u={accuracy:n.accuracy,appliedGlobalFlags:l,captureMap:new Map,currentFlags:{dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},inCharClass:!1,lastNode:c,originMap:e._originMap,recursionLimit:i,useAppliedIgnoreCase:!!(!o&&a&&s),useFlagMods:o,useFlagV:r,verbose:n.verbose};function d(p){return u.lastNode=c,c=p,pg(Mg[p.type],`Unexpected node type "${p.type}"`)(p,u,d)}const f={pattern:e.body.map(d).join("|"),flags:d(e.flags),options:{...e.options}};return r||(delete f.options.force.v,f.options.disable.v=!0,f.options.unicodeSetsPlugin=null),f._captureTransfers=new Map,f._hiddenCaptures=[],u.captureMap.forEach((p,m)=>{p.hidden&&f._hiddenCaptures.push(m),p.transferTo&&en(f._captureTransfers,p.transferTo,[]).push(m)}),f}var Dg={"*":{enter({node:e},t){if(Ea(e)){const n=t.getCurrentModI();t.pushModI(e.flags?$n({ignoreCase:n},e.flags).ignoreCase:n)}},exit({node:e},t){Ea(e)&&t.popModI()}},Backreference(e,t){t.setHasCasedChar()},Character({node:e},t){si(H(e.value))&&t.setHasCasedChar()},CharacterClassRange({node:e,skip:t},n){t(),Fc(e,{firstOnly:!0}).length&&n.setHasCasedChar()},CharacterSet({node:e},t){e.kind==="property"&&Pc.has(e.value)&&t.setHasCasedChar()}},Mg={Alternative({body:e},t,n){return e.map(n).join("")},Assertion({kind:e,negate:t}){if(e==="string_end")return"$";if(e==="string_start")return"^";if(e==="word_boundary")return t?T`\B`:T`\b`;throw new Error(`Unexpected assertion kind "${e}"`)},Backreference({ref:e},t){if(typeof e!="number")throw new Error("Unexpected named backref in transformed AST");if(!t.useFlagMods&&t.accuracy==="strict"&&t.currentFlags.ignoreCase&&!t.captureMap.get(e).ignoreCase)throw new Error("Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy");return"\\"+e},CapturingGroup(e,t,n){const{body:r,name:o,number:i}=e,a={ignoreCase:t.currentFlags.ignoreCase},s=t.originMap.get(e);return s&&(a.hidden=!0,i>s.number&&(a.transferTo=s.number)),t.captureMap.set(i,a),`(${o?`?<${o}>`:""}${r.map(n).join("|")})`},Character({value:e},t){const n=H(e),r=ut(e,{escDigit:t.lastNode.type==="Backreference",inCharClass:t.inCharClass,useFlagV:t.useFlagV});if(r!==n)return r;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase&&si(n)){const o=Tc(n);return t.inCharClass?o.join(""):o.length>1?`[${o.join("")}]`:o[0]}return n},CharacterClass(e,t,n){const{kind:r,negate:o,parent:i}=e;let{body:a}=e;if(r==="intersection"&&!t.useFlagV)throw new Error("Use of character class intersection requires min target ES2024");_e.bugFlagVLiteralHyphenIsRange&&t.useFlagV&&a.some(Sa)&&(a=[hr(45),...a.filter(c=>!Sa(c))]);const s=()=>`[${o?"^":""}${a.map(n).join(r==="intersection"?"&&":"")}]`;if(!t.inCharClass){if((!t.useFlagV||_e.bugNestedClassIgnoresNegation)&&!o){const u=a.filter(d=>d.type==="CharacterClass"&&d.kind==="union"&&d.negate);if(u.length){const d=ve(),f=d.body[0];return d.parent=i,f.parent=d,a=a.filter(p=>!u.includes(p)),e.body=a,a.length?(e.parent=f,f.body.push(e)):d.body.pop(),u.forEach(p=>{const m=rt({body:[p]});p.parent=m,m.parent=d,d.body.push(m)}),n(d)}}t.inCharClass=!0;const c=s();return t.inCharClass=!1,c}const l=a[0];if(r==="union"&&!o&&l&&((!t.useFlagV||!t.verbose)&&i.kind==="union"&&!(_e.bugFlagVLiteralHyphenIsRange&&t.useFlagV)||!t.verbose&&i.kind==="intersection"&&a.length===1&&l.type!=="CharacterClassRange"))return a.map(n).join("");if(!t.useFlagV&&i.type==="CharacterClass")throw new Error("Uses nested character class in a way that requires min target ES2024");return s()},CharacterClassRange(e,t){const n=e.min.value,r=e.max.value,o={escDigit:!1,inCharClass:!0,useFlagV:t.useFlagV},i=ut(n,o),a=ut(r,o),s=new Set;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase){const l=Fc(e);Bg(l).forEach(u=>{s.add(Array.isArray(u)?`${ut(u[0],o)}-${ut(u[1],o)}`:ut(u,o))})}return`${i}-${a}${[...s].join("")}`},CharacterSet({kind:e,negate:t,value:n,key:r},o){if(e==="dot")return o.currentFlags.dotAll?o.appliedGlobalFlags.dotAll||o.useFlagMods?".":"[^]":T`[^\n]`;if(e==="digit")return t?T`\D`:T`\d`;if(e==="property"){if(o.useAppliedIgnoreCase&&o.currentFlags.ignoreCase&&Pc.has(n))throw new Error(`Unicode property "${n}" can't be case-insensitive when other chars have specific case`);return`${t?T`\P`:T`\p`}{${r?`${r}=`:""}${n}}`}if(e==="word")return t?T`\W`:T`\w`;throw new Error(`Unexpected character set kind "${e}"`)},Flags(e,t){return(t.appliedGlobalFlags.ignoreCase?"i":"")+(e.dotAll?"s":"")+(e.sticky?"y":"")},Group({atomic:e,body:t,flags:n,parent:r},o,i){const a=o.currentFlags;n&&(o.currentFlags=$n(a,n));const s=t.map(i).join("|"),l=!o.verbose&&t.length===1&&r.type!=="Quantifier"&&!e&&(!o.useFlagMods||!n)?s:`(?${Wg(e,n,o.useFlagMods)}${s})`;return o.currentFlags=a,l},LookaroundAssertion({body:e,kind:t,negate:n},r,o){return`(?${`${t==="lookahead"?"":"<"}${n?"!":"="}`}${e.map(o).join("|")})`},Quantifier(e,t,n){return n(e.body)+zg(e)},Subroutine({isRecursive:e,ref:t},n){if(!e)throw new Error("Unexpected non-recursive subroutine in transformed AST");const r=n.recursionLimit;return t===0?`(?R=${r})`:T`\g<${t}&R=${r}>`}},Ng=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),Vg=new Set(["-","\\","]","^","["]),$g=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),wa=new Map([[9,T`\t`],[10,T`\n`],[11,T`\v`],[12,T`\f`],[13,T`\r`],[8232,T`\u2028`],[8233,T`\u2029`],[65279,T`\uFEFF`]]),Fg=new RegExp("^\\p{Cased}$","u");function si(e){return Fg.test(e)}function Fc(e,t){const n=!!(t!=null&&t.firstOnly),r=e.min.value,o=e.max.value,i=[];if(r<65&&(o===65535||o>=131071)||r===65536&&o>=131071)return i;for(let a=r;a<=o;a++){const s=H(a);if(!si(s))continue;const l=Tc(s).filter(c=>{const u=c.codePointAt(0);return u<r||u>o});if(l.length&&(i.push(...l),n))break}return i}function ut(e,{escDigit:t,inCharClass:n,useFlagV:r}){if(wa.has(e))return wa.get(e);if(e<32||e>126&&e<160||e>262143||t&&Hg(e))return e>255?`\\u{${e.toString(16).toUpperCase()}}`:`\\x${e.toString(16).toUpperCase().padStart(2,"0")}`;const o=n?r?$g:Vg:Ng,i=H(e);return(o.has(i)?"\\":"")+i}function Bg(e){const t=e.map(o=>o.codePointAt(0)).sort((o,i)=>o-i),n=[];let r=null;for(let o=0;o<t.length;o++)t[o+1]===t[o]+1?r??=t[o]:r===null?n.push(t[o]):(n.push([r,t[o]]),r=null);return n}function Wg(e,t,n){if(e)return">";let r="";if(t&&n){const{enable:o,disable:i}=t;r=(o!=null&&o.ignoreCase?"i":"")+(o!=null&&o.dotAll?"s":"")+(i?"-":"")+(i!=null&&i.ignoreCase?"i":"")+(i!=null&&i.dotAll?"s":"")}return`${r}:`}function zg({kind:e,max:t,min:n}){let r;return!n&&t===1?r="?":!n&&t===1/0?r="*":n===1&&t===1/0?r="+":n===t?r=`{${n}}`:r=`{${n},${t===1/0?"":t}}`,r+{greedy:"",lazy:"?",possessive:"+"}[e]}function Ea({type:e}){return e==="CapturingGroup"||e==="Group"||e==="LookaroundAssertion"}function Hg(e){return e>47&&e<58}function Sa({type:e,value:t}){return e==="Character"&&t===45}var jg=class So extends RegExp{#t=new Map;#e=null;#r;#n=null;#o=null;rawOptions={};get source(){return this.#r||"(?:)"}constructor(t,n,r){const o=!!(r!=null&&r.lazyCompile);if(t instanceof RegExp){if(r)throw new Error("Cannot provide options when copying a regexp");const i=t;super(i,n),this.#r=i.source,i instanceof So&&(this.#t=i.#t,this.#n=i.#n,this.#o=i.#o,this.rawOptions=i.rawOptions)}else{const i={hiddenCaptures:[],strategy:null,transfers:[],...r};super(o?"":t,n),this.#r=t,this.#t=Ug(i.hiddenCaptures,i.transfers),this.#o=i.strategy,this.rawOptions=r??{}}o||(this.#e=this)}exec(t){if(!this.#e){const{lazyCompile:o,...i}=this.rawOptions;this.#e=new So(this.#r,this.flags,i)}const n=this.global||this.sticky,r=this.lastIndex;if(this.#o==="clip_search"&&n&&r){this.lastIndex=0;const o=this.#i(t.slice(r));return o&&(Gg(o,r,t,this.hasIndices),this.lastIndex+=r),o}return this.#i(t)}#i(t){this.#e.lastIndex=this.lastIndex;const n=super.exec.call(this.#e,t);if(this.lastIndex=this.#e.lastIndex,!n||!this.#t.size)return n;const r=[...n];n.length=1;let o;this.hasIndices&&(o=[...n.indices],n.indices.length=1);const i=[0];for(let a=1;a<r.length;a++){const{hidden:s,transferTo:l}=this.#t.get(a)??{};if(s?i.push(null):(i.push(n.length),n.push(r[a]),this.hasIndices&&n.indices.push(o[a])),l&&r[a]!==void 0){const c=i[l];if(!c)throw new Error(`Invalid capture transfer to "${c}"`);if(n[c]=r[a],this.hasIndices&&(n.indices[c]=o[a]),n.groups){this.#n||(this.#n=qg(this.source));const u=this.#n.get(l);u&&(n.groups[u]=r[a],this.hasIndices&&(n.indices.groups[u]=o[a]))}}}return n}};function Gg(e,t,n,r){if(e.index+=t,e.input=n,r){const o=e.indices;for(let a=0;a<o.length;a++){const s=o[a];s&&(o[a]=[s[0]+t,s[1]+t])}const i=o.groups;i&&Object.keys(i).forEach(a=>{const s=i[a];s&&(i[a]=[s[0]+t,s[1]+t])})}}function Ug(e,t){const n=new Map;for(const r of e)n.set(r,{hidden:!0});for(const[r,o]of t)for(const i of o)en(n,i,{}).transferTo=r;return n}function qg(e){const t=/(?<capture>\((?:\?<(?![=!])(?<name>[^>]+)>|(?!\?)))|\\?./gsu,n=new Map;let r=0,o=0,i;for(;i=t.exec(e);){const{0:a,groups:{capture:s,name:l}}=i;a==="["?r++:r?a==="]"&&r--:s&&(o++,l&&n.set(o,l))}return n}function Kg(e,t){const n=Xg(e,t);return n.options?new jg(n.pattern,n.flags,n.options):new RegExp(n.pattern,n.flags)}function Xg(e,t){const n=Lc(t),r=Ec(e,{flags:n.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline},skipBackrefValidation:n.rules.allowOrphanBackrefs,unicodePropertyMap:ai}),o=Eg(r,{accuracy:n.accuracy,asciiWordBoundaries:n.rules.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,bestEffortTarget:n.target}),i=Og(o,n),a=dg(i.pattern,{captureTransfers:i._captureTransfers,hiddenCaptures:i._hiddenCaptures,mode:"external"}),s=cg(a.pattern),l=lg(s.pattern,{captureTransfers:a.captureTransfers,hiddenCaptures:a.hiddenCaptures}),c={pattern:l.pattern,flags:`${n.hasIndices?"d":""}${n.global?"g":""}${i.flags}${i.options.disable.v?"u":"v"}`};if(n.avoidSubclass){if(n.lazyCompileLength!==1/0)throw new Error("Lazy compilation requires subclass")}else{const u=l.hiddenCaptures.sort((m,g)=>m-g),d=Array.from(l.captureTransfers),f=o._strategy,p=c.pattern.length>=n.lazyCompileLength;(u.length||d.length||f||p)&&(c.options={...u.length&&{hiddenCaptures:u},...d.length&&{transfers:d},...f&&{strategy:f},...p&&{lazyCompile:p}})}return c}function Yg(e,t){return Kg(e,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...t})}function Zg(e={}){const t={target:"auto",cache:new Map,...e};return t.regexConstructor||=n=>Yg(n,{target:t.target}),{createScanner(n){return new uh(n,t)},createString:fh}}const Qg=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:(()=>h(()=>import("./chunks/andromeeda-0825276e.js"),[]))},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:(()=>h(()=>import("./chunks/aurora-x-902226c9.js"),[]))},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:(()=>h(()=>import("./chunks/ayu-dark-360e23c9.js"),[]))},{id:"ayu-light",displayName:"Ayu Light",type:"light",import:(()=>h(()=>import("./chunks/ayu-light-06439344.js"),[]))},{id:"ayu-mirage",displayName:"Ayu Mirage",type:"dark",import:(()=>h(()=>import("./chunks/ayu-mirage-329fbbc2.js"),[]))},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:(()=>h(()=>import("./chunks/catppuccin-frappe-28e43d66.js"),[]))},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:(()=>h(()=>import("./chunks/catppuccin-latte-9a48f275.js"),[]))},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:(()=>h(()=>import("./chunks/catppuccin-macchiato-370cbee9.js"),[]))},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:(()=>h(()=>import("./chunks/catppuccin-mocha-3ff2c663.js"),[]))},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:(()=>h(()=>import("./chunks/dark-plus-dc5ab0c3.js"),[]))},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:(()=>h(()=>import("./chunks/dracula-4dc0b5c6.js"),[]))},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:(()=>h(()=>import("./chunks/dracula-soft-976eecd8.js"),[]))},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:(()=>h(()=>import("./chunks/everforest-dark-fffc9ca4.js"),[]))},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:(()=>h(()=>import("./chunks/everforest-light-89b50e8a.js"),[]))},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:(()=>h(()=>import("./chunks/github-dark-ebeae7f8.js"),[]))},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:(()=>h(()=>import("./chunks/github-dark-default-7e608625.js"),[]))},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:(()=>h(()=>import("./chunks/github-dark-dimmed-f1b43f6e.js"),[]))},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:(()=>h(()=>import("./chunks/github-dark-high-contrast-3b79c377.js"),[]))},{id:"github-light",displayName:"GitHub Light",type:"light",import:(()=>h(()=>import("./chunks/github-light-452dc73a.js"),[]))},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:(()=>h(()=>import("./chunks/github-light-default-7230acd4.js"),[]))},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:(()=>h(()=>import("./chunks/github-light-high-contrast-c3f5487a.js"),[]))},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:(()=>h(()=>import("./chunks/gruvbox-dark-hard-8277b640.js"),[]))},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:(()=>h(()=>import("./chunks/gruvbox-dark-medium-52b4753a.js"),[]))},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:(()=>h(()=>import("./chunks/gruvbox-dark-soft-7671101a.js"),[]))},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:(()=>h(()=>import("./chunks/gruvbox-light-hard-fa312006.js"),[]))},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:(()=>h(()=>import("./chunks/gruvbox-light-medium-045d51a1.js"),[]))},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:(()=>h(()=>import("./chunks/gruvbox-light-soft-6b2fe762.js"),[]))},{id:"horizon",displayName:"Horizon",type:"dark",import:(()=>h(()=>import("./chunks/horizon-7d7536b3.js"),[]))},{id:"horizon-bright",displayName:"Horizon Bright",type:"light",import:(()=>h(()=>import("./chunks/horizon-bright-9aff3d34.js"),[]))},{id:"houston",displayName:"Houston",type:"dark",import:(()=>h(()=>import("./chunks/houston-5b12bc73.js"),[]))},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:(()=>h(()=>import("./chunks/kanagawa-dragon-e0ec9bb0.js"),[]))},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:(()=>h(()=>import("./chunks/kanagawa-lotus-a07128e3.js"),[]))},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:(()=>h(()=>import("./chunks/kanagawa-wave-bbea1b2a.js"),[]))},{id:"laserwave",displayName:"LaserWave",type:"dark",import:(()=>h(()=>import("./chunks/laserwave-37deba33.js"),[]))},{id:"light-plus",displayName:"Light Plus",type:"light",import:(()=>h(()=>import("./chunks/light-plus-01a51dda.js"),[]))},{id:"material-theme",displayName:"Material Theme",type:"dark",import:(()=>h(()=>import("./chunks/material-theme-f27c83fc.js"),[]))},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:(()=>h(()=>import("./chunks/material-theme-darker-3c70e60a.js"),[]))},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:(()=>h(()=>import("./chunks/material-theme-lighter-45f756d2.js"),[]))},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:(()=>h(()=>import("./chunks/material-theme-ocean-49ae0eda.js"),[]))},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:(()=>h(()=>import("./chunks/material-theme-palenight-9462bfb3.js"),[]))},{id:"min-dark",displayName:"Min Dark",type:"dark",import:(()=>h(()=>import("./chunks/min-dark-d8ea3e44.js"),[]))},{id:"min-light",displayName:"Min Light",type:"light",import:(()=>h(()=>import("./chunks/min-light-22f7c862.js"),[]))},{id:"monokai",displayName:"Monokai",type:"dark",import:(()=>h(()=>import("./chunks/monokai-c0c02d84.js"),[]))},{id:"night-owl",displayName:"Night Owl",type:"dark",import:(()=>h(()=>import("./chunks/night-owl-18016e88.js"),[]))},{id:"night-owl-light",displayName:"Night Owl Light",type:"light",import:(()=>h(()=>import("./chunks/night-owl-light-41348ad0.js"),[]))},{id:"nord",displayName:"Nord",type:"dark",import:(()=>h(()=>import("./chunks/nord-04fad416.js"),[]))},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:(()=>h(()=>import("./chunks/one-dark-pro-98938862.js"),[]))},{id:"one-light",displayName:"One Light",type:"light",import:(()=>h(()=>import("./chunks/one-light-ba2b76c3.js"),[]))},{id:"plastic",displayName:"Plastic",type:"dark",import:(()=>h(()=>import("./chunks/plastic-b31717de.js"),[]))},{id:"poimandres",displayName:"Poimandres",type:"dark",import:(()=>h(()=>import("./chunks/poimandres-a18fb2c7.js"),[]))},{id:"red",displayName:"Red",type:"dark",import:(()=>h(()=>import("./chunks/red-16c11454.js"),[]))},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:(()=>h(()=>import("./chunks/rose-pine-5223d410.js"),[]))},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:(()=>h(()=>import("./chunks/rose-pine-dawn-93c2ae7c.js"),[]))},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:(()=>h(()=>import("./chunks/rose-pine-moon-93ea4888.js"),[]))},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:(()=>h(()=>import("./chunks/slack-dark-9dd03364.js"),[]))},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:(()=>h(()=>import("./chunks/slack-ochin-0686fa31.js"),[]))},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:(()=>h(()=>import("./chunks/snazzy-light-b4e48e52.js"),[]))},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:(()=>h(()=>import("./chunks/solarized-dark-cd11f3c4.js"),[]))},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:(()=>h(()=>import("./chunks/solarized-light-905a6aff.js"),[]))},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:(()=>h(()=>import("./chunks/synthwave-84-cf9149df.js"),[]))},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:(()=>h(()=>import("./chunks/tokyo-night-475297c5.js"),[]))},{id:"vesper",displayName:"Vesper",type:"dark",import:(()=>h(()=>import("./chunks/vesper-e10e3a42.js"),[]))},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:(()=>h(()=>import("./chunks/vitesse-black-2687ea8d.js"),[]))},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:(()=>h(()=>import("./chunks/vitesse-dark-c5b03d09.js"),[]))},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:(()=>h(()=>import("./chunks/vitesse-light-308f70b2.js"),[]))}],Aa=Object.fromEntries(Qg.map(e=>[e.id,e.import]));function Jg(e){if(Array.isArray(e))return e}function ev(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,t!==0)for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,o=u}finally{try{if(!l&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}function Ao(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Bc(e,t){if(e){if(typeof e=="string")return Ao(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ao(e,t):void 0}}function tv(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
154
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Wc(e,t){return Jg(e)||ev(e,t)||Bc(e,t)||tv()}var zr={},$t={},Ca;function zc(){if(Ca)return $t;Ca=1,Object.defineProperty($t,"__esModule",{value:!0}),$t.bind=void 0;function e(t,n){var r=n.type,o=n.listener,i=n.options;return t.addEventListener(r,o,i),function(){t.removeEventListener(r,o,i)}}return $t.bind=e,$t}var qe={},xa;function nv(){if(xa)return qe;xa=1;var e=qe&&qe.__assign||function(){return e=Object.assign||function(i){for(var a,s=1,l=arguments.length;s<l;s++){a=arguments[s];for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(i[c]=a[c])}return i},e.apply(this,arguments)};Object.defineProperty(qe,"__esModule",{value:!0}),qe.bindAll=void 0;var t=zc();function n(i){if(!(typeof i>"u"))return typeof i=="boolean"?{capture:i}:i}function r(i,a){if(a==null)return i;var s=e(e({},i),{options:e(e({},n(a)),n(i.options))});return s}function o(i,a,s){var l=a.map(function(c){var u=r(c,s);return(0,t.bind)(i,u)});return function(){l.forEach(function(u){return u()})}}return qe.bindAll=o,qe}var ka;function rv(){return ka||(ka=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.bindAll=e.bind=void 0;var t=zc();Object.defineProperty(e,"bind",{enumerable:!0,get:function(){return t.bind}});var n=nv();Object.defineProperty(e,"bindAll",{enumerable:!0,get:function(){return n.bindAll}})})(zr)),zr}var xt=rv(),Hc="data-pdnd-honey-pot";function jc(e){return e instanceof Element&&e.hasAttribute(Hc)}function Gc(e){var t=document.elementsFromPoint(e.x,e.y),n=Wc(t,2),r=n[0],o=n[1];return r?jc(r)?o??null:r:null}function tn(e){"@babel/helpers - typeof";return tn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tn(e)}function ov(e,t){if(tn(e)!="object"||!e)return e;var n;if(typeof Symbol<"u"&&(n=e[Symbol.toPrimitive])!==void 0){var r=n.call(e,t);if(tn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function iv(e){var t=ov(e,"string");return tn(t)=="symbol"?t:t+""}function Ot(e,t,n){return(t=iv(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Uc=2147483647,qc={inset:"unset",border:"none",padding:0,margin:0,overflow:"visible",color:"inherit",background:"transparent",width:"auto",height:"auto"};function lt(e){var t=null;return function(){if(!t){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=e.apply(this,o);t={result:a}}return t.result}}var gt=lt(function(){return typeof HTMLElement<"u"&&typeof HTMLElement.prototype.showPopover=="function"});function Ia(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Ra(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ia(Object(n),!0).forEach(function(r){Ot(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ia(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var nn=2,La=nn/2;function av(e){return{x:Math.floor(e.x),y:Math.floor(e.y)}}function sv(e){return{x:e.x-La,y:e.y-La}}function lv(e){return{x:Math.max(e.x,0),y:Math.max(e.y,0)}}function cv(e){return{x:Math.min(e.x,window.innerWidth-nn),y:Math.min(e.y,window.innerHeight-nn)}}function Ta(e){var t=e.client,n=cv(lv(sv(av(t))));return DOMRect.fromRect({x:n.x,y:n.y,width:nn,height:nn})}function Pa(e){var t=e.clientRect;return{left:"".concat(t.left,"px"),top:"".concat(t.top,"px"),width:"".concat(t.width,"px"),height:"".concat(t.height,"px")}}function uv(e){var t=e.client,n=e.clientRect;return t.x>=n.x&&t.x<=n.x+n.width&&t.y>=n.y&&t.y<=n.y+n.height}function dv(e){var t=e.initial,n=document.createElement("div");n.setAttribute(Hc,"true"),gt()&&n.setAttribute("popover","manual");var r=Ta({client:t});Object.assign(n.style,Ra(Ra({position:"fixed"},gt()?qc:{zIndex:Uc}),{},{backgroundColor:"transparent",padding:0,margin:0,boxSizing:"border-box",pointerEvents:"auto"},Pa({clientRect:r}))),document.body.appendChild(n),gt()&&n.showPopover();var o=xt.bind(window,{type:"pointermove",listener:function(a){var s={x:a.clientX,y:a.clientY};r=Ta({client:s}),Object.assign(n.style,Pa({clientRect:r}))},options:{capture:!0}});return function(a){var s=a.current;if(o(),uv({client:s,clientRect:r})){n.remove();return}function l(){c(),n.remove()}var c=xt.bindAll(window,[{type:"pointerdown",listener:l},{type:"pointermove",listener:l},{type:"focusin",listener:l},{type:"focusout",listener:l},{type:"dragstart",listener:l},{type:"dragenter",listener:l},{type:"dragover",listener:l}],{capture:!0})}}function fv(){var e=null;function t(){return e=null,xt.bind(window,{type:"pointermove",listener:function(o){e={x:o.clientX,y:o.clientY}},options:{capture:!0}})}function n(){var r=null;return function(i){var a=i.eventName,s=i.payload;if(a==="onDragStart"){var l=s.location.initial.input,c=e??{x:l.clientX,y:l.clientY};r=dv({initial:c})}if(a==="onDrop"){var u,d=s.location.current.input;(u=r)===null||u===void 0||u({current:{x:d.clientX,y:d.clientY}}),r=null,e=null}}}return{bindEvents:t,getOnPostDispatch:n}}function pv(e){if(Array.isArray(e))return Ao(e)}function mv(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function hv(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
155
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Kc(e){return pv(e)||mv(e)||Bc(e)||hv()}var gv=lt(function(){return navigator.userAgent.includes("Firefox")}),_r=lt(function(){var t=navigator,n=t.userAgent;return n.includes("AppleWebKit")&&!n.includes("Chrome")});function vv(e){return"nodeName"in e}function yv(e){return vv(e)&&e.ownerDocument!==document}var Co={isLeavingWindow:Symbol("leaving"),isEnteringWindow:Symbol("entering")};(function(){if(typeof window>"u"||!_r())return;function t(){return{enterCount:0,isOverWindow:!1}}var n=t();function r(){n=t()}xt.bindAll(window,[{type:"dragstart",listener:function(){n.enterCount=0,n.isOverWindow=!0}},{type:"drop",listener:r},{type:"dragend",listener:r},{type:"dragenter",listener:function(i){!n.isOverWindow&&n.enterCount===0&&(i[Co.isEnteringWindow]=!0),n.isOverWindow=!0,n.enterCount++}},{type:"dragleave",listener:function(i){n.enterCount--,n.isOverWindow&&n.enterCount===0&&(i[Co.isLeavingWindow]=!0,n.isOverWindow=!1)}}],{capture:!0})})();function _v(e){var t=e.dragLeave;return _r()?t.hasOwnProperty(Co.isLeavingWindow):!1}function bv(e){var t=e.dragLeave,n=t.type,r=t.relatedTarget;return n!=="dragleave"?!1:_r()?_v({dragLeave:t}):r==null?!0:gv()?yv(r):r instanceof HTMLIFrameElement}function wv(e){var t=e.onDragEnd;return[{type:"pointermove",listener:(function(){var n=0;return function(){if(n<20){n++;return}t()}})()},{type:"pointerdown",listener:t}]}function Kt(e){return{altKey:e.altKey,button:e.button,buttons:e.buttons,ctrlKey:e.ctrlKey,metaKey:e.metaKey,shiftKey:e.shiftKey,clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY}}var Ev=function(t){var n=[],r=null,o=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];n=s,!r&&(r=requestAnimationFrame(function(){r=null,t.apply(void 0,n)}))};return o.cancel=function(){r&&(cancelAnimationFrame(r),r=null)},o},Hr=Ev(function(e){return e()}),vn=(function(){var e=null;function t(r){var o=requestAnimationFrame(function(){e=null,r()});e={frameId:o,fn:r}}function n(){e&&(cancelAnimationFrame(e.frameId),e.fn(),e=null)}return{schedule:t,flush:n}})();function Sv(e){var t=e.source,n=e.initial,r=e.dispatchEvent,o={dropTargets:[]};function i(s){r(s),o={dropTargets:s.payload.location.current.dropTargets}}var a={start:function(l){var c=l.nativeSetDragImage,u={current:n,previous:o,initial:n};i({eventName:"onGenerateDragPreview",payload:{source:t,location:u,nativeSetDragImage:c}}),vn.schedule(function(){i({eventName:"onDragStart",payload:{source:t,location:u}})})},dragUpdate:function(l){var c=l.current;vn.flush(),Hr.cancel(),i({eventName:"onDropTargetChange",payload:{source:t,location:{initial:n,previous:o,current:c}}})},drag:function(l){var c=l.current;Hr(function(){vn.flush();var u={initial:n,previous:o,current:c};i({eventName:"onDrag",payload:{source:t,location:u}})})},drop:function(l){var c=l.current,u=l.updatedSourcePayload;vn.flush(),Hr.cancel(),i({eventName:"onDrop",payload:{source:u??t,location:{current:c,previous:o,initial:n}}})}};return a}var xo={isActive:!1};function Xc(){return!xo.isActive}function Av(e){return e.dataTransfer?e.dataTransfer.setDragImage.bind(e.dataTransfer):null}function Cv(e){var t=e.current,n=e.next;if(t.length!==n.length)return!0;for(var r=0;r<t.length;r++)if(t[r].element!==n[r].element)return!0;return!1}function xv(e){var t=e.event,n=e.dragType,r=e.getDropTargetsOver,o=e.dispatchEvent;if(!Xc())return;var i=kv({event:t,dragType:n,getDropTargetsOver:r});xo.isActive=!0;var a={current:i};jr({event:t,current:i.dropTargets});var s=Sv({source:n.payload,dispatchEvent:o,initial:i});function l(p){var m=Cv({current:a.current.dropTargets,next:p.dropTargets});a.current=p,m&&s.dragUpdate({current:a.current})}function c(p){var m=Kt(p),g=jc(p.target)?Gc({x:m.clientX,y:m.clientY}):p.target,v=r({target:g,input:m,source:n.payload,current:a.current.dropTargets});v.length&&(p.preventDefault(),jr({event:p,current:v})),l({dropTargets:v,input:m})}function u(){a.current.dropTargets.length&&l({dropTargets:[],input:a.current.input}),s.drop({current:a.current,updatedSourcePayload:null}),d()}function d(){xo.isActive=!1,f()}var f=xt.bindAll(window,[{type:"dragover",listener:function(m){c(m),s.drag({current:a.current})}},{type:"dragenter",listener:c},{type:"dragleave",listener:function(m){bv({dragLeave:m})&&(l({input:a.current.input,dropTargets:[]}),n.startedFrom==="external"&&u())}},{type:"drop",listener:function(m){if(a.current={dropTargets:a.current.dropTargets,input:Kt(m)},!a.current.dropTargets.length){u();return}m.preventDefault(),jr({event:m,current:a.current.dropTargets}),s.drop({current:a.current,updatedSourcePayload:n.type==="external"?n.getDropPayload(m):null}),d()}},{type:"dragend",listener:function(m){a.current={dropTargets:a.current.dropTargets,input:Kt(m)},u()}}].concat(Kc(wv({onDragEnd:u}))),{capture:!0});s.start({nativeSetDragImage:Av(t)})}function jr(e){var t,n=e.event,r=e.current,o=(t=r[0])===null||t===void 0?void 0:t.dropEffect;o!=null&&n.dataTransfer&&(n.dataTransfer.dropEffect=o)}function kv(e){var t=e.event,n=e.dragType,r=e.getDropTargetsOver,o=Kt(t);if(n.startedFrom==="external")return{input:o,dropTargets:[]};var i=r({input:o,source:n.payload,target:t.target,current:[]});return{input:o,dropTargets:i}}var Oa={canStart:Xc,start:xv},ko=new Map;function Iv(e){var t=e.typeKey,n=e.mount,r=ko.get(t);if(r)return r.usageCount++,r;var o={typeKey:t,unmount:n(),usageCount:1};return ko.set(t,o),o}function Rv(e){var t=Iv(e);return function(){t.usageCount--,!(t.usageCount>0)&&(t.unmount(),ko.delete(e.typeKey))}}function li(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(){t.forEach(function(o){return o()})}}function Yc(e,t){var n=t.attribute,r=t.value;return e.setAttribute(n,r),function(){return e.removeAttribute(n)}}function Da(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Oe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Da(Object(n),!0).forEach(function(r){Ot(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Da(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Gr(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Lv(e))||t){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
156
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return a=c.done,c},e:function(c){s=!0,i=c},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw i}}}}function Lv(e,t){if(e){if(typeof e=="string")return Ma(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ma(e,t):void 0}}function Ma(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ur(e){return e.slice(0).reverse()}function Tv(e){var t=e.typeKey,n=e.defaultDropEffect,r=new WeakMap,o="data-drop-target-for-".concat(t),i="[".concat(o,"]");function a(p){return r.set(p.element,p),function(){return r.delete(p.element)}}function s(p){var m=li(Yc(p.element,{attribute:o,value:"true"}),a(p));return lt(m)}function l(p){var m,g,v,_,y=p.source,b=p.target,E=p.input,S=p.result,C=S===void 0?[]:S;if(b==null)return C;if(!(b instanceof Element))return b instanceof Node?l({source:y,target:b.parentElement,input:E,result:C}):C;var k=b.closest(i);if(k==null)return C;var R=r.get(k);if(R==null)return C;var I={input:E,source:y,element:R.element};if(R.canDrop&&!R.canDrop(I))return l({source:y,target:R.element.parentElement,input:E,result:C});var P=(m=(g=R.getData)===null||g===void 0?void 0:g.call(R,I))!==null&&m!==void 0?m:{},$=(v=(_=R.getDropEffect)===null||_===void 0?void 0:_.call(R,I))!==null&&v!==void 0?v:n,O={data:P,element:R.element,dropEffect:$,isActiveDueToStickiness:!1};return l({source:y,target:R.element.parentElement,input:E,result:[].concat(Kc(C),[O])})}function c(p){var m=p.eventName,g=p.payload,v=Gr(g.location.current.dropTargets),_;try{for(v.s();!(_=v.n()).done;){var y,b=_.value,E=r.get(b.element),S=Oe(Oe({},g),{},{self:b});E==null||(y=E[m])===null||y===void 0||y.call(E,S)}}catch(C){v.e(C)}finally{v.f()}}var u={onGenerateDragPreview:c,onDrag:c,onDragStart:c,onDrop:c,onDropTargetChange:function(m){var g=m.payload,v=new Set(g.location.current.dropTargets.map(function(K){return K.element})),_=new Set,y=Gr(g.location.previous.dropTargets),b;try{for(y.s();!(b=y.n()).done;){var E,S=b.value;_.add(S.element);var C=r.get(S.element),k=v.has(S.element),R=Oe(Oe({},g),{},{self:S});if(C==null||(E=C.onDropTargetChange)===null||E===void 0||E.call(C,R),!k){var I;C==null||(I=C.onDragLeave)===null||I===void 0||I.call(C,R)}}}catch(K){y.e(K)}finally{y.f()}var P=Gr(g.location.current.dropTargets),$;try{for(P.s();!($=P.n()).done;){var O,B,U=$.value;if(!_.has(U.element)){var W=Oe(Oe({},g),{},{self:U}),N=r.get(U.element);N==null||(O=N.onDropTargetChange)===null||O===void 0||O.call(N,W),N==null||(B=N.onDragEnter)===null||B===void 0||B.call(N,W)}}}catch(K){P.e(K)}finally{P.f()}}};function d(p){u[p.eventName](p)}function f(p){var m=p.source,g=p.target,v=p.input,_=p.current,y=l({source:m,target:g,input:v});if(y.length>=_.length)return y;for(var b=Ur(_),E=Ur(y),S=[],C=0;C<b.length;C++){var k,R=b[C],I=E[C];if(I!=null){S.push(I);continue}var P=S[C-1],$=b[C-1];if((P==null?void 0:P.element)!==($==null?void 0:$.element))break;var O=r.get(R.element);if(!O)break;var B={input:v,source:m,element:O.element};if(O.canDrop&&!O.canDrop(B)||!((k=O.getIsSticky)!==null&&k!==void 0&&k.call(O,B)))break;S.push(Oe(Oe({},R),{},{isActiveDueToStickiness:!0}))}return Ur(S)}return{dropTargetForConsumers:s,getIsOver:f,dispatchEvent:d}}function Pv(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Ov(e))||t){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
157
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return a=c.done,c},e:function(c){s=!0,i=c},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw i}}}}function Ov(e,t){if(e){if(typeof e=="string")return Na(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Na(e,t):void 0}}function Na(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Va(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Dv(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Va(Object(n),!0).forEach(function(r){Ot(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Va(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Mv(){var e=new Set,t=null;function n(i){t&&(!i.canMonitor||i.canMonitor(t.canMonitorArgs))&&t.active.add(i)}function r(i){var a=Dv({},i);e.add(a),n(a);function s(){e.delete(a),t&&t.active.delete(a)}return lt(s)}function o(i){var a=i.eventName,s=i.payload;if(a==="onGenerateDragPreview"){t={canMonitorArgs:{initial:s.location.initial,source:s.source},active:new Set};var l=Pv(e),c;try{for(l.s();!(c=l.n()).done;){var u=c.value;n(u)}}catch(v){l.e(v)}finally{l.f()}}if(t){for(var d=Array.from(t.active),f=0,p=d;f<p.length;f++){var m=p[f];if(t.active.has(m)){var g;(g=m[a])===null||g===void 0||g.call(m,s)}}a==="onDrop"&&(t.active.clear(),t=null)}}return{dispatchEvent:o,monitorForConsumers:r}}function Nv(e){var t=e.typeKey,n=e.mount,r=e.dispatchEventToSource,o=e.onPostDispatch,i=e.defaultDropEffect,a=Mv(),s=Tv({typeKey:t,defaultDropEffect:i});function l(d){r==null||r(d),s.dispatchEvent(d),a.dispatchEvent(d),o==null||o(d)}function c(d){var f=d.event,p=d.dragType;Oa.start({event:f,dragType:p,getDropTargetsOver:s.getIsOver,dispatchEvent:l})}function u(){function d(){var f={canStart:Oa.canStart,start:c};return n(f)}return Rv({typeKey:t,mount:d})}return{registerUsage:u,dropTarget:s.dropTargetForConsumers,monitor:a.monitorForConsumers}}var Vv=lt(function(){return navigator.userAgent.toLocaleLowerCase().includes("android")}),$v="pdnd:android-fallback",$a="text/plain",Fv="text/uri-list",Bv="application/vnd.pdnd",Fn=new WeakMap;function Wv(e){return Fn.set(e.element,e),function(){Fn.delete(e.element)}}var Fa=fv(),ci=Nv({typeKey:"element",defaultDropEffect:"move",mount:function(t){return li(Fa.bindEvents(),xt.bind(document,{type:"dragstart",listener:function(r){var o,i,a,s,l,c;if(t.canStart(r)&&!r.defaultPrevented&&r.dataTransfer){var u=r.target;if(u instanceof HTMLElement){var d=Fn.get(u);if(d){var f=Kt(r),p={element:d.element,dragHandle:(o=d.dragHandle)!==null&&o!==void 0?o:null,input:f};if(d.canDrag&&!d.canDrag(p)){r.preventDefault();return}if(d.dragHandle){var m=Gc({x:f.clientX,y:f.clientY});if(!d.dragHandle.contains(m)){r.preventDefault();return}}var g=(i=(a=d.getInitialDataForExternal)===null||a===void 0?void 0:a.call(d,p))!==null&&i!==void 0?i:null;if(g)for(var v=0,_=Object.entries(g);v<_.length;v++){var y=Wc(_[v],2),b=y[0],E=y[1];r.dataTransfer.setData(b,E??"")}Vv()&&!r.dataTransfer.types.includes($a)&&!r.dataTransfer.types.includes(Fv)&&r.dataTransfer.setData($a,$v),r.dataTransfer.setData(Bv,"");var S={element:d.element,dragHandle:(s=d.dragHandle)!==null&&s!==void 0?s:null,data:(l=(c=d.getInitialData)===null||c===void 0?void 0:c.call(d,p))!==null&&l!==void 0?l:{}},C={type:"element",payload:S,startedFrom:"internal"};t.start({event:r,dragType:C})}}}}}))},dispatchEventToSource:function(t){var n,r,o=t.eventName,i=t.payload;(n=Fn.get(i.source.element))===null||n===void 0||(r=n[o])===null||r===void 0||r.call(n,i)},onPostDispatch:Fa.getOnPostDispatch()}),zv=ci.dropTarget,Hv=ci.monitor;function jv(e){var t=li(ci.registerUsage(),Wv(e),Yc(e.element,{attribute:"draggable",value:"true"}));return lt(t)}function Gv(e){var t=e.element,n=e.input;return function(o){var i=o.container,a=t.getBoundingClientRect(),s=i.getBoundingClientRect(),l=Math.min(n.clientX-a.x,s.width),c=Math.min(n.clientY-a.y,s.height);return{x:l,y:c}}}function Ba(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Wa(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ba(Object(n),!0).forEach(function(r){Ot(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ba(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Uv(){return{x:0,y:0}}function qv(e){var t=e.render,n=e.nativeSetDragImage,r=e.getOffset,o=r===void 0?Uv:r,i=document.createElement("div");gt()&&i.setAttribute("popover","manual"),Object.assign(i.style,Wa(Wa({position:"fixed"},gt()?qc:{zIndex:Uc}),{},{top:0,left:0,pointerEvents:"none"})),document.body.append(i),gt()&&i.showPopover();var a=t({container:i});queueMicrotask(function(){var c=o({container:i});if(_r()){var u=i.getBoundingClientRect();if(u.width===0)return;i.style.left="-".concat(u.width-1e-4,"px")}n==null||n(i,c.x,c.y)});function s(){l(),a==null||a(),document.body.removeChild(i)}var l=Hv({onDragStart:s,onDrop:s})}function za(e){var t;return(t=e[Zc])!==null&&t!==void 0?t:null}var Zc=Symbol("closestEdge");function Ha(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ja(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ha(Object(n),!0).forEach(function(r){Ot(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ha(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Kv={top:function(t,n){return Math.abs(n.y-t.top)},right:function(t,n){return Math.abs(t.right-n.x)},bottom:function(t,n){return Math.abs(t.bottom-n.y)},left:function(t,n){return Math.abs(n.x-t.left)}};function Ga(e,t){var n,r,o=t.element,i=t.input,a=t.allowedEdges,s={x:i.clientX,y:i.clientY},l=o.getBoundingClientRect(),c=a.map(function(d){return{edge:d,value:Kv[d](l,s)}}),u=(n=(r=c.sort(function(d,f){return d.value-f.value})[0])===null||r===void 0?void 0:r.edge)!==null&&n!==void 0?n:null;return ja(ja({},e),{},Ot({},Zc,u))}const ze=Math.min,Ie=Math.max,Bn=Math.round,yn=Math.floor,Re=e=>({x:e,y:e}),Xv={left:"right",right:"left",bottom:"top",top:"bottom"};function Qc(e,t,n){return Ie(e,ze(t,n))}function Dt(e,t){return typeof e=="function"?e(t):e}function ot(e){return e.split("-")[0]}function Mt(e){return e.split("-")[1]}function Jc(e){return e==="x"?"y":"x"}function ui(e){return e==="y"?"height":"width"}function ke(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function di(e){return Jc(ke(e))}function Yv(e,t,n){n===void 0&&(n=!1);const r=Mt(e),o=di(e),i=ui(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Wn(a)),[a,Wn(a)]}function Zv(e){const t=Wn(e);return[Io(e),t,Io(t)]}function Io(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Ua=["left","right"],qa=["right","left"],Qv=["top","bottom"],Jv=["bottom","top"];function ey(e,t,n){switch(e){case"top":case"bottom":return n?t?qa:Ua:t?Ua:qa;case"left":case"right":return t?Qv:Jv;default:return[]}}function ty(e,t,n,r){const o=Mt(e);let i=ey(ot(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(Io)))),i}function Wn(e){const t=ot(e);return Xv[t]+e.slice(t.length)}function ny(e){var t,n,r,o;return{top:(t=e.top)!=null?t:0,right:(n=e.right)!=null?n:0,bottom:(r=e.bottom)!=null?r:0,left:(o=e.left)!=null?o:0}}function eu(e){return typeof e!="number"?ny(e):{top:e,right:e,bottom:e,left:e}}function zn(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Ka(e,t,n){let{reference:r,floating:o}=e;const i=ke(t),a=di(t),s=ui(a),l=ot(t),c=i==="y",u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,f=r[s]/2-o[s]/2;let p;switch(l){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-o.width,y:d};break;default:p={x:r.x,y:r.y}}const m=Mt(t);return m&&(p[a]+=f*(m==="end"?1:-1)*(n&&c?-1:1)),p}async function ry(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=Dt(t,e),m=eu(p),v=s[f?d==="floating"?"reference":"floating":d],_=zn(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(v)))==null||n?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),y=d==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,b=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),E=await(i.isElement==null?void 0:i.isElement(b))&&await(i.getScale==null?void 0:i.getScale(b))||{x:1,y:1},S=zn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:b,strategy:l}):y);return{top:(_.top-S.top+m.top)/E.y,bottom:(S.bottom-_.bottom+m.bottom)/E.y,left:(_.left-S.left+m.left)/E.x,right:(S.right-_.right+m.right)/E.x}}const oy=50,iy=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=a.detectOverflow?a:{...a,detectOverflow:ry},l=await(a.isRTL==null?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=Ka(c,r,l),f=r,p=0;const m={};for(let g=0;g<i.length;g++){const v=i[g];if(!v)continue;const{name:_,fn:y}=v,{x:b,y:E,data:S,reset:C}=await y({x:u,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:m,rects:c,platform:s,elements:{reference:e,floating:t}});u=b??u,d=E??d,m[_]={...m[_],...S},C&&p<oy&&(p++,typeof C=="object"&&(C.placement&&(f=C.placement),C.rects&&(c=C.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):C.rects),{x:u,y:d}=Ka(c,f,l)),g=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:m}},ay=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:c,padding:u=0}=Dt(e,t)||{};if(c==null)return{};const d=eu(u),f={x:n,y:r},p=di(o),m=ui(p),g=await a.getDimensions(c),v=p==="y",_=v?"top":"left",y=v?"bottom":"right",b=v?"clientHeight":"clientWidth",E=i.reference[m]+i.reference[p]-f[p]-i.floating[m],S=f[p]-i.reference[p],C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c));let k=C?C[b]:0;(!k||!await(a.isElement==null?void 0:a.isElement(C)))&&(k=s.floating[b]||i.floating[m]);const R=E/2-S/2,I=k/2-g[m]/2-1,P=ze(d[_],I),$=ze(d[y],I),O=k-g[m]-$,B=k/2-g[m]/2+R,U=Qc(P,B,O),W=!l.arrow&&Mt(o)!=null&&B!==U&&i.reference[m]/2-(B<P?P:$)-g[m]/2<0,N=W?B<P?B-P:B-O:0;return{[p]:f[p]+N,data:{[p]:U,centerOffset:B-U-N,...W&&{alignmentOffset:N}},reset:W}}}),sy=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0,...v}=Dt(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const _=ot(o),y=ke(s),b=ot(s)===s,E=await(l.isRTL==null?void 0:l.isRTL(c.floating)),S=f||(b||!g?[Wn(s)]:Zv(s)),C=m!=="none";!f&&C&&S.push(...ty(s,g,m,E));const k=[s,...S],R=await l.detectOverflow(t,v),I=[];let P=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&I.push(R[_]),d){const U=Yv(o,a,E);I.push(R[U[0]],R[U[1]])}if(P=[...P,{placement:o,overflows:I}],!I.every(U=>U<=0)){var $,O;const U=((($=i.flip)==null?void 0:$.index)||0)+1,W=k[U];if(W&&(!(d==="alignment"?y!==ke(W):!1)||P.every(ge=>ke(ge.placement)===y?ge.overflows[0]>0:!0)))return{data:{index:U,overflows:P},reset:{placement:W}};let N=(O=P.filter(K=>K.overflows[0]<=0).sort((K,ge)=>K.overflows[1]-ge.overflows[1])[0])==null?void 0:O.placement;if(!N)switch(p){case"bestFit":{var B;const K=(B=P.filter(ge=>{if(C){const Pe=ke(ge.placement);return Pe===y||Pe==="y"}return!0}).map(ge=>[ge.placement,ge.overflows.filter(Pe=>Pe>0).reduce((Pe,fd)=>Pe+fd,0)]).sort((ge,Pe)=>ge[1]-Pe[1])[0])==null?void 0:B[0];K&&(N=K);break}case"initialPlacement":N=s;break}if(o!==N)return{reset:{placement:N}}}return{}}}},ly=new Set(["left","top"]);async function cy(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=ot(n),s=Mt(n),l=ke(n)==="y",c=ly.has(a)?-1:1,u=i&&l?-1:1,d=Dt(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m=="number"&&(p=s==="end"?m*-1:m),l?{x:p*u,y:f*c}:{x:f*c,y:p*u}}const uy=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await cy(t,e);return a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},dy=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:y=>{let{x:b,y:E}=y;return{x:b,y:E}}},...c}=Dt(e,t),u={x:n,y:r},d=await i.detectOverflow(t,c),f=ke(o),p=Jc(f);let m=u[p],g=u[f];const v=(y,b)=>Qc(b+d[y==="y"?"top":"left"],b,b-d[y==="y"?"bottom":"right"]);a&&(m=v(p,m)),s&&(g=v(f,g));const _=l.fn({...t,[p]:m,[f]:g});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:a,[f]:s}}}}}},fy=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a=()=>{},...s}=Dt(e,t),l=await o.detectOverflow(t,s),c=ot(n),u=Mt(n),d=ke(n)==="y",{width:f,height:p}=r.floating;let m,g;c==="top"||c==="bottom"?(m=c,g=u===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(g=c,m=u==="end"?"top":"bottom");const v=p-l.top-l.bottom,_=f-l.left-l.right,y=ze(p-l[m],v),b=ze(f-l[g],_),E=t.middlewareData.shift,S=!E;let C=y,k=b;E!=null&&E.enabled.x&&(k=_),E!=null&&E.enabled.y&&(C=v),S&&!u&&(d?k=f-2*Ie(l.left,l.right):C=p-2*Ie(l.top,l.bottom)),await a({...t,availableWidth:k,availableHeight:C});const R=await o.getDimensions(i.floating);return f!==R.width||p!==R.height?{reset:{rects:!0}}:{}}}};function br(){return typeof window<"u"}function Nt(e){return tu(e)?(e.nodeName||"").toLowerCase():"#document"}function oe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Te(e){var t;return(t=(tu(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function tu(e){return br()?e instanceof Node||e instanceof oe(e).Node:!1}function Ee(e){return br()?e instanceof Element||e instanceof oe(e).Element:!1}function Ge(e){return br()?e instanceof HTMLElement||e instanceof oe(e).HTMLElement:!1}function Xa(e){return!br()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof oe(e).ShadowRoot}function wr(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Se(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&o!=="inline"&&o!=="contents"}function py(e){return/^(table|td|th)$/.test(Nt(e))}function Er(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const my=/transform|translate|scale|rotate|perspective|filter/,hy=/paint|layout|strict|content/,Ke=e=>!!e&&e!=="none";let qr;function fi(e){const t=Ee(e)?Se(e):e;return Ke(t.transform)||Ke(t.translate)||Ke(t.scale)||Ke(t.rotate)||Ke(t.perspective)||!pi()&&(Ke(t.backdropFilter)||Ke(t.filter))||my.test(t.willChange||"")||hy.test(t.contain||"")}function gy(e){let t=it(e);for(;Ge(t)&&!rn(t);){if(fi(t))return t;if(Er(t))return null;t=it(t)}return null}function pi(){return qr==null&&(qr=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),qr}function rn(e){return/^(html|body|#document)$/.test(Nt(e))}function Se(e){return oe(e).getComputedStyle(e)}function Sr(e){return Ee(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function it(e){if(Nt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Xa(e)&&e.host||Te(e);return Xa(t)?t.host:t}function nu(e){const t=it(e);return rn(t)?(e.ownerDocument||e).body:Ge(t)&&wr(t)?t:nu(t)}function on(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=nu(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=oe(o);if(i){const s=Ro(a);return t.concat(a,a.visualViewport||[],wr(o)?o:[],s&&n?on(s):[])}else return t.concat(o,on(o,[],n))}function Ro(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ru(e){const t=Se(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ge(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=Bn(n)!==i||Bn(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function mi(e){return Ee(e)?e:e.contextElement}function vt(e){const t=mi(e);if(!Ge(t))return Re(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ru(t);let a=(i?Bn(n.width):n.width)/r,s=(i?Bn(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const vy=Re(0);function ou(e){const t=oe(e);return!pi()||!t.visualViewport?vy:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function yy(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===oe(e)}function at(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=mi(e);let a=Re(1);t&&(r?Ee(r)&&(a=vt(r)):a=vt(e));const s=yy(i,n,r)?ou(i):Re(0);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i&&r){const f=oe(i),p=Ee(r)?oe(r):r;let m=f,g=Ro(m);for(;g&&p!==m;){const v=vt(g),_=g.getBoundingClientRect(),y=Se(g),b=_.left+(g.clientLeft+parseFloat(y.paddingLeft))*v.x,E=_.top+(g.clientTop+parseFloat(y.paddingTop))*v.y;l*=v.x,c*=v.y,u*=v.x,d*=v.y,l+=b,c+=E,m=oe(g),g=Ro(m)}}return zn({width:u,height:d,x:l,y:c})}function Ar(e,t){const n=Sr(e).scrollLeft;return t?t.left+n:at(Te(e)).left+n}function iu(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Ar(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function _y(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=Te(r),s=t?Er(t.floating):!1;if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},c=Re(1);const u=Re(0),d=Ge(r);if((d||!i)&&((Nt(r)!=="body"||wr(a))&&(l=Sr(r)),d)){const p=at(r);c=vt(r),u.x=p.x+r.clientLeft,u.y=p.y+r.clientTop}const f=a&&!d&&!i?iu(a,l):Re(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+f.x,y:n.y*c.y-l.scrollTop*c.y+u.y+f.y}}function by(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function wy(e){const t=Sr(e),n=e.ownerDocument.body,r=Ie(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=Ie(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let i=-t.scrollLeft+Ar(e);const a=-t.scrollTop;return Se(n).direction==="rtl"&&(i+=Ie(e.clientWidth,n.clientWidth)-r),{width:r,height:o,x:i,y:a}}const Ey=25;function Sy(e,t,n){n===void 0&&(n="viewport");const r=n==="layoutViewport",o=oe(e),i=Te(e),a=o.visualViewport;let s=i.clientWidth,l=i.clientHeight,c=0,u=0;if(a){const f=!pi()||t==="fixed";r?f||(c=-a.offsetLeft,u=-a.offsetTop):(s=a.width,l=a.height,f&&(c=a.offsetLeft,u=a.offsetTop))}if(Ar(i)<=0){const f=i.ownerDocument,p=f.body,m=getComputedStyle(p),g=f.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,v=Math.abs(i.clientWidth-p.clientWidth-g),_=getComputedStyle(i).scrollbarGutter==="stable both-edges"?v/2:v;_<=Ey&&(s-=_)}return{width:s,height:l,x:c,y:u}}function Ay(e,t){const n=at(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=vt(e),a=e.clientWidth*i.x,s=e.clientHeight*i.y,l=o*i.x,c=r*i.y;return{width:a,height:s,x:l,y:c}}function Ya(e,t,n){let r;if(t==="viewport"||t==="layoutViewport")r=Sy(e,n,t);else if(t==="document")r=wy(Te(e));else if(Ee(t))r=Ay(t,n);else{const o=ou(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return zn(r)}function Cy(e,t){const n=t.get(e);if(n)return n;let r=on(e,[],!1).filter(s=>Ee(s)&&Nt(s)!=="body"),o=null;const i=Se(e).position==="fixed";let a=i?it(e):e;for(;Ee(a)&&!rn(a);){const s=Se(a),l=fi(a),c=o?o.position:i?"fixed":"";!l&&(c==="fixed"||c==="absolute"&&s.position==="static")?r=r.filter(d=>d!==a):o=s,a=it(a)}return t.set(e,r),r}function xy(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?Er(t)?[]:Cy(t,this._c):[].concat(n),r],s=Ya(t,a[0],o);let l=s.top,c=s.right,u=s.bottom,d=s.left;for(let f=1;f<a.length;f++){const p=Ya(t,a[f],o);l=Ie(p.top,l),c=ze(p.right,c),u=ze(p.bottom,u),d=Ie(p.left,d)}return{width:c-d,height:u-l,x:d,y:l}}function ky(e){const{width:t,height:n}=ru(e);return{width:t,height:n}}function Iy(e,t,n){const r=Ge(t),o=Te(t),i=n==="fixed",a=at(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=Re(0);if((r||!i)&&((Nt(t)!=="body"||wr(o))&&(s=Sr(t)),r)){const f=at(t,!0,i,t);l.x=f.x+t.clientLeft,l.y=f.y+t.clientTop}!r&&o&&(l.x=Ar(o));const c=o&&!r&&!i?iu(o,s):Re(0),u=a.left+s.scrollLeft-l.x-c.x,d=a.top+s.scrollTop-l.y-c.y;return{x:u,y:d,width:a.width,height:a.height}}function Kr(e){return Se(e).position==="static"}function Za(e,t){if(!Ge(e)||Se(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Te(e)===n&&(n=n.ownerDocument.body),n}function au(e,t){const n=oe(e);if(Er(e))return n;if(!Ge(e)){let o=it(e);for(;o&&!rn(o);){if(Ee(o)&&!Kr(o))return o;o=it(o)}return n}let r=Za(e,t);for(;r&&py(r)&&Kr(r);)r=Za(r,t);return r&&rn(r)&&Kr(r)&&!fi(r)?n:r||gy(e)||n}const Ry=async function(e){const t=this.getOffsetParent||au,n=this.getDimensions,r=await n(e.floating);return{reference:Iy(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Ly(e){return Se(e).direction==="rtl"}const Ty={convertOffsetParentRelativeRectToViewportRelativeRect:_y,getDocumentElement:Te,getClippingRect:xy,getOffsetParent:au,getElementRects:Ry,getClientRects:by,getDimensions:ky,getScale:vt,isElement:Ee,isRTL:Ly};function su(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Py(e,t,n){let r=null,o;const i=Te(e);function a(){var u;clearTimeout(o),(u=r)==null||u.disconnect(),r=null}function s(u,d){u===void 0&&(u=!1),d===void 0&&(d=1),a();const f=e.getBoundingClientRect(),{left:p,top:m,width:g,height:v}=f;if(u||t(),!g||!v)return;const _=yn(m),y=yn(i.clientWidth-(p+g)),b=yn(i.clientHeight-(m+v)),E=yn(p),C={rootMargin:-_+"px "+-y+"px "+-b+"px "+-E+"px",threshold:Ie(0,ze(1,d))||1};let k=!0;function R(I){const P=I[0].intersectionRatio;if(!su(f,e.getBoundingClientRect()))return s();if(P!==d){if(!k)return s();P?s(!1,P):o=setTimeout(()=>{s(!1,1e-7)},1e3)}k=!1}try{r=new IntersectionObserver(R,{...C,root:i.ownerDocument})}catch{r=new IntersectionObserver(R,C)}r.observe(e)}const l=oe(e),c=()=>s(n);return l.addEventListener("resize",c),s(!0),()=>{l.removeEventListener("resize",c),a()}}function Oy(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=mi(e),u=o||i?[...c?on(c):[],...t?on(t):[]]:[];u.forEach(_=>{o&&_.addEventListener("scroll",n),i&&_.addEventListener("resize",n)});const d=c&&s?Py(c,n,i):null;let f=-1,p=null;a&&(p=new ResizeObserver(_=>{let[y]=_;y&&y.target===c&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var b;(b=p)==null||b.observe(t)})),n()}),c&&!l&&p.observe(c),t&&p.observe(t));let m,g=l?at(e):null;l&&v();function v(){const _=at(e);g&&!su(g,_)&&n(),g=_,m=requestAnimationFrame(v)}return n(),()=>{var _;u.forEach(y=>{o&&y.removeEventListener("scroll",n),i&&y.removeEventListener("resize",n)}),d==null||d(),(_=p)==null||_.disconnect(),p=null,l&&cancelAnimationFrame(m)}}const Dy=uy,My=dy,Ny=sy,Vy=fy,$y=ay,Fy=(e,t,n)=>{const r=new Map,o=n??{},i={...Ty,...o.platform,_c:r};return iy(e,t,{...o,platform:i})},Qa={display:"flex",flexDirection:"column",position:"relative",width:"100%",boxSizing:"border-box",minWidth:"0px"};function Ja(e,t){return t?t==="center"&&typeof CSS<"u"&&typeof CSS.supports=="function"&&CSS.supports(e,"safe center")?"safe center":t:""}function By(e){const t=e.createElement("div");t.setAttribute("data-sw-embed","true");const n=e.createElement("div");n.setAttribute("data-sw-embed-stage","true"),n.style.display="none",n.style.flexDirection="column",n.style.flex="1",n.style.width="100%";const r=e.createElement("div");return r.setAttribute("data-sw-embed-status","true"),r.style.display="flex",r.style.flexDirection="column",r.style.flex="1",r.style.width="100%",t.append(n,r),{root:t,stageSlot:n,statusSlot:r}}function Wy(e,t,n){const r=Ja("align-items",n==null?void 0:n.alignItems),o=Ja("justify-content",n==null?void 0:n.justifyContent),i=e.querySelector("[data-sw-host-root]");for(const a of[t,i])a&&(r?a.style.setProperty("align-items",r):a.style.removeProperty("align-items"),o?a.style.setProperty("justify-content",o):a.style.removeProperty("justify-content"))}function zy(e,t){const n=Object.keys(t).sort().map(r=>[r,t[r]]);return JSON.stringify([e,n])}const Hy=3e4,Hn=new Map;let jy=0;function lu(e){return new Worker(e,{type:"module"})}function Gy(e){const t=lu(e);return{endpoint:ir(t),onError(n){const r=i=>{var a;(a=i.preventDefault)===null||a===void 0||a.call(i),n(i.message||"Worker 模块加载或执行失败。")},o=()=>n("Worker 消息反序列化失败。");return t.addEventListener("error",r),t.addEventListener("messageerror",o),()=>{t.removeEventListener("error",r),t.removeEventListener("messageerror",o)}},terminate:()=>t.terminate()}}function Lo(e,t){if(!t.disposed){t.disposed=!0,t.idleTimer!==void 0&&(clearTimeout(t.idleTimer),t.idleTimer=void 0);for(const n of t.sessions.values())n.close();t.sessions.clear(),Hn.get(e)===t&&Hn.delete(e),t.worker.terminate()}}function Uy(e,t){const n=Hn.get(e);if(n&&!n.disposed)return n.idleTimer!==void 0&&(clearTimeout(n.idleTimer),n.idleTimer=void 0),n;const r=lu(t),o={worker:r,sessions:new Map,errorListeners:new Set,idleTimer:void 0,disposed:!1},i=a=>{const s=[...o.errorListeners];Lo(e,o);for(const l of s)l(a)};return r.addEventListener("error",a=>{var s;(s=a.preventDefault)===null||s===void 0||s.call(a),i(a.message||"共享预览 Worker 模块加载或执行失败。")}),r.addEventListener("messageerror",()=>{i("共享预览 Worker 消息反序列化失败。")}),Hn.set(e,o),o}function qy(e,t){const n=t?`${e}::${t}`:e,r=Uy(n,e),o=`embed-session-${++jy}`,i=new MessageChannel;i.port1.start(),r.sessions.set(o,i.port1);try{r.worker.postMessage({kind:"sw-embed-attach",sessionId:o,port:i.port2},[i.port2])}catch(s){throw i.port1.close(),r.sessions.delete(o),Lo(n,r),s}let a=!1;return{endpoint:ir(i.port1),onError(s){return r.errorListeners.add(s),()=>{r.errorListeners.delete(s)}},terminate(){a||(a=!0,i.port1.close(),r.sessions.delete(o),r.disposed||(r.worker.postMessage({kind:"sw-embed-detach",sessionId:o}),r.sessions.size===0&&r.idleTimer===void 0&&(r.idleTimer=setTimeout(()=>{r.sessions.size===0&&Lo(n,r)},Hy))))}}}const Ky=/^[a-zA-Z0-9_@.-]+$/;function Xy(e){const t=new URL(e,"http://localhost/");return t.pathname.endsWith("/")||(t.pathname=`${t.pathname}/`),t.search="",t.hash="",t}function De(e){return{ok:!1,error:{kind:"url-validation",message:"仅允许加载同源部署路径下的 a/web/*.js 编译输出模块。",detail:e}}}function Yy(e,t){if(typeof e!="string")return De("模块地址必须为非空字符串。");const n=e.trim();if(!n||n.includes("\\")||n.includes("\0")||n.startsWith("//"))return De(n||"(empty)");if(n.includes("?")||n.includes("#")||n.replace(/^[a-zA-Z][a-zA-Z0-9+.-]*:\/\/[^/]+/,"").split("/").some(a=>a==="."||a===".."))return De(n);let r,o;try{r=Xy(t),o=new URL(n,r)}catch{return De(n)}if(o.protocol!=="http:"&&o.protocol!=="https:"||o.origin!==r.origin)return De(n);const i=`${r.pathname}a/web/`;return!o.pathname.startsWith(i)||!o.pathname.endsWith(".js")||o.pathname.slice(i.length).split("/").some(a=>!a||a==="."||a===".."||!Ky.test(a))?De(n):{ok:!0,moduleUrl:o.href,baseUrl:r.href}}var Ft=class extends an("EmbedIdentityError"){};function Zy(e,t){return D(function*(){const n=new URL(e),r=/\/a\/web\/primitives\/([^/]+)\//.exec(n.pathname);if(r)return r[1]!==t?yield*me(new Ft({message:"嵌入示例与当前宿主 Runtime 不一致。"})):void 0;n.pathname=n.pathname.replace(/\/example-\d+\.js$/,".json").replace(/\.js$/,".json");const o=yield*Pi({try:a=>fetch(n.href,{credentials:"same-origin",signal:a}),catch:a=>new Ft({message:a instanceof Error?a.message:String(a),cause:a})});if(!o.ok)return yield*me(new Ft({message:`无法读取嵌入产物身份:HTTP ${o.status}`}));const i=yield*Pi({try:()=>o.json(),catch:a=>new Ft({message:a instanceof Error?a.message:String(a),cause:a})});if(i.platform!=="web"||i.runtimeIdentity!==t)return yield*me(new Ft({message:"嵌入产物与当前宿主平台或 Runtime 不一致。"}))})}function hi(e,t){return w(w({mode:e},(t==null?void 0:t.locale)!==void 0?{locale:t.locale}:{}),(t==null?void 0:t.reducedMotion)!==void 0?{reducedMotion:t.reducedMotion}:{})}var yt=class extends an("EmbedSessionError"){};function Cr(e){return e instanceof Error?e.message||e.name:String(e)}function Qy(e,t){return e.workerUrl?new URL(e.workerUrl,t).href:new URL("runtime/worker.js",t).href}function kt(e,t,n,r){e({status:"failed",error:{kind:t,message:n,detail:r}})}function Jy(e,t,n,r){return ie(je({try:()=>e(t,{isolation:n,partitionKey:r}),catch:o=>new yt({kind:"load",message:"无法创建嵌入运行隔离线程。",detail:Cr(o),cause:o})}),o=>x(()=>{o.terminate()}))}function e_(e,t,n){const r=n.getHostContext(),o=hi(t.themeMode,r.config),i=r.env;return Ko(e,{kind:"bootstrap",protocolVersion:Xo,moduleUrl:t.moduleUrl,baseUrl:t.baseUrl,primitiveApiMajor:n.primitiveApiMajor,initialTheme:t.themeMode,initialConfig:o,initialEnv:i,runtimeIdentity:n.runtimeIdentity})}function t_(e,t,n,r,o,i){return ef(e).pipe(pl(ml(t.timeoutMs)),vl(a=>St(a)||r.closing||r.ready?He:(r.ready=!0,o().pipe(At(x(()=>kt(i,"timeout","嵌入产物启动超时。",t.moduleUrl)))))),gl(n))}function n_(e,t,n,r,o,i,a,s){const l=n.getHostContext();return qo({container:t,endpoint:e.endpoint,elements:[...n.elements.values()],hostConfig:hi(r.themeMode,l.config),hostEnv:l.env,applyDocumentTheme:!1,baseUrl:r.baseUrl,workerUrl:n.workerUrl,runtimeIdentity:n.runtimeIdentity,primitiveApiMajor:n.primitiveApiMajor,onReady(){i.closing||i.ready||(i.ready=!0,Jd(o,He),s({status:"ready"}))},onRuntimeError(c){if(i.closing)return;i.ready=!0,a();const u=c.phase==="load"?"load":"runtime";kt(s,u,u==="load"?"嵌入产物模块加载失败。":"嵌入产物运行时异常。",c.message)}})}function r_(e,t,n,r){return ie(je({try:()=>e.onError(o=>{if(t.closing)return;const i=t.ready?"runtime":"load";t.ready=!0,n(),kt(r,i,i==="load"?"嵌入产物脚本加载失败。":"嵌入产物线程未捕获异常。",o)}),catch:o=>new yt({kind:"load",message:"嵌入舞台错误监听初始化失败。",detail:Cr(o),cause:o})}),o=>x(()=>o())).pipe(ar)}function cu(e,t,n,r,o,i,a,s,l){return D(function*(){var c;const u=zy(r.baseUrl,n.getHostContext().env),d=yield*Jy(e,Qy(n,r.baseUrl),(c=r.isolation)!==null&&c!==void 0?c:"shared",u),f=yield*Xd(d.endpoint,"host"),p=yield*Yd(),m=yield*n_(d,t,n,r,p,i,s,l);yield*r_(d,i,s,l),yield*t_(p,r,o,i,a,l),yield*je({try:()=>{var g;return(g=r.onStageMounted)===null||g===void 0?void 0:g.call(r)},catch:g=>new yt({kind:"load",message:"嵌入舞台挂载失败。",detail:Cr(g),cause:g})}),i.closing||(i.host=m),yield*e_(f,r,n)}).pipe(Y(o))}function uu(e,t,n,r){if(Zd(e)||t.closing)return n();const o=Qd(e),i=o instanceof yt?o.kind:"load",a=o instanceof yt?o.message:"嵌入舞台初始化失败。",s=o instanceof yt?o.detail:Cr(o);return n().pipe(At(x(()=>kt(r,i,a,s))))}function du(e,t,n){const r={closing:!1,ready:!1};let o;const i=()=>cr(()=>{r.closing=!0,r.host=void 0;const l=o;return o=void 0,l?Fe(l,Be):He}),a=()=>{n.runFork(i())};return{state:r,closeSession:i,closeSessionSync:a,withSessionScope:l=>D(function*(){const c=yield*Uo(n.nodeScope);if(r.closing){yield*Fe(c,Be);return}o=c,yield*l(c)}),session:{key:e,theme:t,get host(){return r.closing?void 0:r.host},cleanup:a}}}function o_(e,t,n,r,o,i){const{state:a,closeSession:s,closeSessionSync:l,withSessionScope:c,session:u}=du(o.sessionKey,o.themeMode,r);return r.runFork(c(d=>cu(e,t,n,o,d,a,s,l,i).pipe(fl(f=>uu(f,a,s,i))))),u}function i_(e,t,n,r,o,i,a,s,l){var c;const u=e.isolation==="dedicated"?"dedicated":"shared",d=String((c=e.sessionKey)!==null&&c!==void 0?c:""),{state:f,closeSession:p,closeSessionSync:m,withSessionScope:g,session:v}=du(d,s,r),_=Date.now()+l;return r.runFork(g(y=>Zy(a.moduleUrl,n.runtimeIdentity).pipe(pl(ml(l)),hl({onFailure:b=>f.closing?p():p().pipe(At(x(()=>kt(i,"load","无法加载嵌入产物。",b.message)))),onSuccess:b=>f.closing||y.state._tag==="Closed"?He:Xt(b)?p().pipe(At(x(()=>kt(i,"timeout","嵌入产物身份检查超时。")))):cu(o,t,n,w(w({},a),{},{themeMode:v.theme,isolation:u,timeoutMs:Math.max(1,_-Date.now()),sessionKey:d}),y,f,p,m,i).pipe(fl(E=>uu(E,f,p,i)))}),gl(y),ar))),v}const a_="250px 0px",s_=16,es=new WeakMap;function l_(e,t){var n,r,o,i;if(!((n=(r=e.defaultView)===null||r===void 0||(r=r.navigator)===null||r===void 0||(r=r.userAgent)===null||r===void 0?void 0:r.includes("HappyDOM"))!==null&&n!==void 0&&n))return!1;const a=String((o=(i=t.prototype)===null||i===void 0?void 0:i.observe)!==null&&o!==void 0?o:"").replace(/\/\/[^\n]*/g,"").replace(/\/\*[\s\S]*?\*\//g,"");return/\{\s*\}\s*$/.test(a)}function c_(e){var t;const n=es.get(e);if(n)return n;const r=(t=e.defaultView)===null||t===void 0?void 0:t.IntersectionObserver;if(typeof r!="function"||l_(e,r))return;const o=new WeakMap,i={observer:new r(a=>{for(const l of a){var s;(s=o.get(l.target))===null||s===void 0||s(l.isIntersecting)}},{rootMargin:a_}),listeners:o};return es.set(e,i),i}function u_(e,t){const n=e.ownerDocument,r=n?c_(n):void 0;return r?(r.listeners.set(e,t),r.observer.observe(e),()=>{r.listeners.delete(e),r.observer.unobserve(e)}):(t(!0),()=>{})}const ts=new WeakMap;function d_(e){const t=new Map,n=r=>{if(!(t.size<=e))for(const[o,i]of t){if(t.size<=e)break;o===r||i.isVisible()||(t.delete(o),i.evict())}};return{touch(r,o){t.has(r)&&t.delete(r),t.set(r,o),n(r)},remove(r){t.delete(r)}}}function f_(e){let t=ts.get(e);return t||(t=d_(s_),ts.set(e,t)),t}var p_=class extends an("EmbedWorkerUnavailableError"){};let m_=0;function h_(e,t){if(typeof Worker!="function")throw new p_({message:"当前运行环境不支持 Web Worker。"});return(t==null?void 0:t.isolation)!=="dedicated"&&typeof MessageChannel=="function"?qy(e,t==null?void 0:t.partitionKey):Gy(e)}function g_(e,t,n,r,o,i,a){var s;const l=String((s=e.sessionKey)!==null&&s!==void 0?s:""),c=m=>i(m,l),u=Yy(e.src,n.baseUrl);if(!u.ok){t.replaceChildren(),c({status:"failed",error:u.error});return}const d=e.theme==="dark"?"dark":"light",f=e.isolation==="dedicated"?"dedicated":"shared",p=typeof e.timeoutMs=="number"&&e.timeoutMs>0?e.timeoutMs:1e4;if(c({status:"loading"}),n.runtimeIdentity){const m=new URL(u.moduleUrl);return/\/a\/web\/primitives\//.test(m.pathname)||m.searchParams.set("runtime",n.runtimeIdentity),i_(e,t,n,r,o,c,w(w({},u),{},{moduleUrl:m.href,onStageMounted:a}),d,p)}return o_(o,t,n,r,{moduleUrl:u.moduleUrl,baseUrl:u.baseUrl,themeMode:d,isolation:f,timeoutMs:p,sessionKey:l,onStageMounted:a},c)}function To(e,t,n,r){const o=r==="ready";t.style.display=o?"flex":"none",n.style.display=o?"none":"flex",e.setAttribute("data-embed-status",r)}function v_(e,t){var n;const r=Symbol("sw-embed"),o=f_(t.env.document);let i=e,a=String((n=e.sessionKey)!==null&&n!==void 0?n:""),s=!1,l;const c={isVisible:()=>s,evict:()=>{if(!l)return;const f=l.key;l.cleanup(),l=void 0,t.stageSlot.replaceChildren(),t.emitState({status:"loading"},f)}},u=f=>{l==null||l.cleanup(),l=g_(f,t.stageSlot,t.env,t.runtime,t.workerFactory,t.emitState,t.syncAlignment),l&&o.touch(r,c)},d=u_(t.root,f=>{s=f,f&&(l?o.touch(r,c):u(i))});return{getSession:()=>l,getActiveKey:()=>a,update(f){var p;i=f;const m=String((p=f.sessionKey)!==null&&p!==void 0?p:""),g=f.theme==="dark"?"dark":"light";if(m!==a){a=m,s?u(f):(l==null||l.cleanup(),l=void 0,o.remove(r));return}l&&l.theme!==g&&(l.theme=g,l.host&&t.runtime.runFork(l.host.setHostContext({config:{mode:g}}))),typeof f.status=="string"&&To(t.root,t.stageSlot,t.statusSlot,f.status)},dispose(){d(),o.remove(r),l==null||l.cleanup(),l=void 0}}}function y_(e,t){return D(function*(){var n,r;const o=yield*jo,i=yield*ae,a=yield*or,s=yield*ee(),l={nodeScope:o,runFork:s},{root:c,stageSlot:u,statusSlot:d}=By(i.document),f=++m_;let p=e.style;const m=()=>Wy(u,d,p);c.id=J(i,"embed",e.id,e.autoId,f),j(c,p,void 0,Qa),m();const g={current:String((n=e.sessionKey)!==null&&n!==void 0?n:"")},v=(E,S)=>{S===g.current&&To(c,u,d,E.status),s(a.dispatchEvent("onEmbedStateChange",w(w({},E),{},{sessionKey:S})))};To(c,u,d,String((r=e.status)!==null&&r!==void 0?r:"loading"));const _=v_(e,{root:c,stageSlot:u,statusSlot:d,env:i,runtime:l,workerFactory:t,emitState:v,syncAlignment:m}),y=E=>{var S;g.current=String((S=E.sessionKey)!==null&&S!==void 0?S:""),_.update(E)},b=i.subscribeHostContext(E=>{const S=_.getSession();S!=null&&S.host&&s(S.host.setHostContext({config:hi(S.theme,E.config),env:E.env}))});return yield*ne(()=>x(()=>{b(),_.dispose()})),{element:c,childContainer:d,update(E){const S=E.style;c.id=J(i,"embed",E.id,E.autoId,f),j(c,S,p,Qa),p=S,m(),y(E)}}})}function fu(e={}){var t;const n=(t=e.createWorker)!==null&&t!==void 0?t:h_;return{type:"sw-embed",onMount:r=>y_(r,n)}}const __=[fu()];function pu(e,t){return e instanceof Error&&e.message?e.message:typeof e=="string"&&e.length>0?e:t}function b_(e){var t,n;const r=(t=e.defaultView)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.clipboard;if(typeof(r==null?void 0:r.writeText)=="function")return r;const o=(n=globalThis.navigator)===null||n===void 0?void 0:n.clipboard;if(typeof(o==null?void 0:o.writeText)=="function")return o}function w_(e,t,n){var r;if(typeof e.execCommand!="function")return{ok:!1,error:"Clipboard API is unavailable."};const o=(r=e.body)!==null&&r!==void 0?r:t,i=e.createElement("textarea");i.value=n,i.setAttribute("readonly",""),i.style.position="fixed",i.style.top="-9999px",i.style.left="-9999px",i.style.opacity="0",i.style.pointerEvents="none";const a=e.activeElement;try{var s,l,c;return o.appendChild(i),(s=i.focus)===null||s===void 0||s.call(i,{preventScroll:!0}),(l=i.select)===null||l===void 0||l.call(i),(c=i.setSelectionRange)===null||c===void 0||c.call(i,0,n.length),e.execCommand("copy")?{ok:!0}:{ok:!1,error:"Copy command failed."}}catch(d){return{ok:!1,error:pu(d,"Copy command failed.")}}finally{if(i.remove(),a!=null&&a.isConnected&&a!==e.activeElement){var u;(u=a.focus)===null||u===void 0||u.call(a,{preventScroll:!0})}}}async function E_(e,t){const n=b_(e.document);if(n)try{return await n.writeText(t),{ok:!0}}catch(r){return{ok:!1,error:pu(r,"Failed to write clipboard.")}}return w_(e.document,e.rootContainer,t)}const S_=[{type:"sw-clipboard",onAttach:D(function*(){const e=yield*ae;yield*(yield*be).registerCommand(md,t=>hd(()=>E_(e,t.text)))})}],A_=new Set(["text","txt","plain","plaintext"]),C_={svg:"xml",env:"dotenv"};function x_(e){return e in Rl?e:C_[e]}function k_(e){var t;if(typeof e!="string")return;const n=e.trim().toLowerCase();if(n)return A_.has(n)?"text":(t=x_(n))!==null&&t!==void 0?t:"text"}function I_(e,t){const n=k_(e);return n||"text"}const Po={light:"github-light",dark:"github-dark"};let _t,Xr;const ns=new Map;function R_(){return _t?Promise.resolve(_t):(Xr||(Xr=lh({themes:[Aa[Po.light],Aa[Po.dark]],langs:[],engine:Zg({forgiving:!0})}).then(e=>(_t=e,e))),Xr)}function L_(e,t){if(e.getLoadedLanguages().includes(t))return Promise.resolve();const n=ns.get(t);if(n)return n;const r=Rl[t];if(!r)return Promise.resolve();const o=e.loadLanguage(r).catch(()=>{});return ns.set(t,o),o}function mu(e){return e.endsWith(`\r
158
- `)?e.slice(0,-2):e.endsWith(`
159
- `)?e.slice(0,-1):e}function T_(e){return e.map(t=>t.map(n=>{var r,o;const i=(r=n.htmlStyle)===null||r===void 0?void 0:r.color,a=(o=n.htmlStyle)===null||o===void 0?void 0:o["--shiki-dark"];return w(w({content:n.content},i?{lightColor:i}:{}),a?{darkColor:a}:{})}))}function hu(e,t,n){const r=mu(t),o=n!=="text"&&e.getLoadedLanguages().includes(n)?n:"text";return T_(e.codeToTokens(r,{lang:o,themes:Po,defaultColor:"light"}).tokens)}function gu(e){return mu(e).split(/\r?\n/).map(t=>[{content:t}])}function P_(e,t){if(_t&&!(t!=="text"&&!_t.getLoadedLanguages().includes(t)))return hu(_t,e,t)}async function O_(e,t){try{const n=await R_();return t!=="text"&&await L_(n,t),hu(n,e,t)}catch{return gu(e)}}const D_=[{type:"sw-code-highlight",onAttach:D(function*(){const e=yield*be,t=yield*he,n=yield*ee(),r=new Map,o=(i,a,s)=>{r.get(i.token)===i.requestId&&n(t.emit(Vd,{token:i.token,requestId:i.requestId,language:a,lines:s}).pipe(te))};yield*e.registerCommand(gd,i=>x(()=>{r.set(i.token,i.requestId);const a=I_(i.language);if(a==="text"||i.value.length===0){o(i,"text",gu(i.value));return}const s=P_(i.value,a);if(s){o(i,a,s);return}O_(i.value,a).then(l=>{o(i,a,l)})})),yield*ne(()=>x(()=>{r.clear()}))})}];let M_=0;const rs={display:"flex",flexDirection:"column",boxSizing:"border-box",color:"var(--sw-foreground)"};function os(e){const t=e.mode==="light"||e.mode==="dark"?e.mode:void 0,n=e.tokens;return t?cl(t,n):Md(n)}function is(e,t){typeof t.mode=="string"?e.setAttribute("data-sw-theme",t.mode):e.removeAttribute("data-sw-theme"),typeof t.locale=="string"&&t.locale.length>0?e.setAttribute("lang",t.locale):e.removeAttribute("lang"),t.reducedMotion==="reduce"||t.reducedMotion==="no-preference"||t.reducedMotion==="system"?e.setAttribute("data-sw-reduced-motion",t.reducedMotion):e.removeAttribute("data-sw-reduced-motion")}const N_=[{type:"sw-config-scope",mount(e,t){const n=t.document.createElement("div"),r=++M_;let o=os(e),i=e.style;return n.id=J(t,"config-scope",e.id,e.autoId,r),no(n,o),j(n,i,void 0,rs),is(n,e),{element:n,update(a){const s=os(a),l=a.style;n.id=J(t,"config-scope",a.id,a.autoId,r),no(n,s,o),j(n,l,i,rs),o=s,i=l,is(n,a)}}}}];function vu(){return{registered:!1,disabled:!1,targetMounted:!1,requiresHandle:!1,handleMounted:!1,bound:!1,dragging:!1}}function V_(e,t){return!t.disabled&&t.targetMounted&&(!t.requiresHandle||t.handleMounted)?e.bound&&t.sameDomBinding?{next:w(w({},e),{},{registered:!0,disabled:!1,targetMounted:!0,requiresHandle:t.requiresHandle,handleMounted:t.handleMounted,bound:!0}),action:"update"}:{next:{registered:!0,disabled:!1,targetMounted:!0,requiresHandle:t.requiresHandle,handleMounted:t.handleMounted,bound:!0,dragging:!1},action:"bind"}:{next:{registered:!0,disabled:t.disabled,targetMounted:t.targetMounted,requiresHandle:t.requiresHandle,handleMounted:t.handleMounted,bound:!1,dragging:!1},action:e.bound?"unbind":"none"}}function yu(e,t){return e.registered&&e.bound&&!e.disabled&&!t&&!e.dragging}function $_(e,t){return yu(e,t)?{next:w(w({},e),{},{dragging:!0}),started:!0}:{next:e,started:!1}}function F_(e){return e.dragging?{next:w(w({},e),{},{dragging:!1}),ended:!0}:{next:e,ended:!1}}function B_(){return vu()}const _u=Symbol.for("shwfed.dnd.dragMeta"),W_=Symbol.for("shwfed.dnd.dropMeta");function as(e,t){var n;return(n=ce(e,t))!==null&&n!==void 0?n:void 0}function z_(e,t){for(const n of e){const r=n.data[W_];if(r&&r.hostContainer===t)return{dropped:!0,targetId:r.targetId,edge:r.edge}}return{dropped:!1}}const ss=["id","draggable","data-dragging","data-sw-draggable-target","data-drop-active","data-drop-over","data-drop-edge"];function H_(e,t){if(t.parentElement===e)return!0;const n=t.tagName;return n==="TD"||n==="TH"||t.hasAttribute("data-sw-view")}function j_(e){const t=e.querySelectorAll("*"),n=[];for(let r=0;r<t.length;r++){const o=t[r];if(!o||!H_(e,o))continue;const i=o.getBoundingClientRect();n.push({index:r,width:i.width,height:i.height})}return n}function ls(e,t,n,r){if(t>0){const o=`${t}px`;e.style.width=o,e.style.minWidth=o,e.style.maxWidth=o}n>0&&(e.style.height=`${n}px`),e.style.boxSizing="border-box",r&&(e.style.flexShrink="0")}function G_(e){for(const t of ss)e.removeAttribute(t);for(const t of e.querySelectorAll('[data-sw-droppable-indicator="true"]'))t.remove();for(const t of e.querySelectorAll("*"))for(const n of ss)t.removeAttribute(n)}function bu(e){e.setAttribute("data-sw-drag-preview","true"),e.style.backgroundColor||(e.style.backgroundColor="var(--sw-surface)"),e.style.boxShadow="var(--sw-shadow-md)",e.style.borderRadius||(e.style.borderRadius="var(--sw-radius-md)"),e.style.pointerEvents="none",e.style.margin="0px"}function U_(e,t,n){if(t.tagName!=="TR"){e.appendChild(t);return}const r=e.ownerDocument,o=r.createElement("table");o.style.borderCollapse="collapse",o.style.tableLayout="fixed",n>0&&(o.style.width=`${n}px`),bu(o);const i=r.createElement("tbody");i.appendChild(t),o.appendChild(i),e.appendChild(o)}function q_(e,t){const n=e.getBoundingClientRect(),r=j_(e),o=e.cloneNode(!0),i=o.querySelectorAll("*");ls(o,n.width,n.height,!1);for(const a of r){const s=i[a.index];s&&ls(s,a.width,a.height,!0)}return G_(o),bu(o),U_(t,o,n.width),()=>{t.replaceChildren()}}const K_=`
160
- [data-sw-draggable-target="true"] {
161
- -webkit-tap-highlight-color: transparent;
162
- }
163
- [data-sw-draggable-target="true"][data-dragging="true"] {
164
- opacity: 0.45;
165
- }
166
- [data-sw-draggable-handle="true"] {
167
- touch-action: none;
168
- user-select: none;
169
- }
170
- @media (prefers-reduced-motion: reduce) {
171
- [data-sw-draggable-target="true"] {
172
- transition: none;
173
- }
174
- }
175
- `;function X_(e,t){var n,r;const o=(n=(r=e.document.defaultView)===null||r===void 0?void 0:r.MutationObserver)!==null&&n!==void 0?n:globalThis.MutationObserver;if(typeof o!="function")return()=>{};const i=new o(t),a={childList:!0,subtree:!0,attributes:!0,attributeFilter:["id","data-disabled"]};return i.observe(e.rootContainer,a),e.rootContainer.contains(e.overlayContainer)||i.observe(e.overlayContainer,a),()=>i.disconnect()}function Y_(e){const{binding:t,target:n,dragHandle:r,env:o,onStart:i,onEnd:a}=e;return{canDrag:()=>yu(t.machine,(r==null?void 0:r.getAttribute("data-disabled"))==="true"),getInitialData:()=>{const s=t.config,l={sourceId:n.id,sourceType:s.type,sourceData:w({},s.data),hostContainer:o.rootContainer,draggableEl:n};return{[_u]:l}},onGenerateDragPreview:({nativeSetDragImage:s,location:l})=>{t.config.preview==="snapshot"&&qv({nativeSetDragImage:s,getOffset:Gv({element:n,input:l.initial.input}),render:({container:c})=>q_(n,c)})},onDragStart:()=>{const s=$_(t.machine,(r==null?void 0:r.getAttribute("data-disabled"))==="true");if(t.machine=s.next,!s.started)return;const l=t.config;n.setAttribute("data-dragging","true"),i({token:t.token,sourceId:n.id,sourceType:l.type,sourceData:w({},l.data)})},onDrop:({location:s})=>{const l=F_(t.machine);if(t.machine=l.next,n.removeAttribute("data-dragging"),!l.ended)return;const c=t.config,u=z_(s.current.dropTargets,o.rootContainer);a(w({token:t.token,sourceId:n.id,sourceType:c.type,sourceData:w({},c.data)},u))}}}function Z_(e){const{binding:t,target:n,dragHandle:r}=e;n.setAttribute("data-sw-draggable-target","true"),n.setAttribute("data-drag-type",t.config.type),r==null||r.setAttribute("data-sw-draggable-handle","true");const o=jv(w({element:n,dragHandle:r},Y_(e)));return()=>{o(),n.removeAttribute("data-sw-draggable-target"),n.removeAttribute("data-drag-type"),n.removeAttribute("data-dragging"),r==null||r.removeAttribute("data-sw-draggable-handle")}}function Oo(e){var t;(t=e.cleanup)===null||t===void 0||t.call(e),e.cleanup=void 0,e.boundTarget=void 0,e.boundHandle=void 0}function cs(e,t,n,r){const{config:o}=t,i=o.disabled?void 0:as(e,o.targetId),a=o.disabled||!o.handleId?void 0:as(e,o.handleId),s=V_(t.machine,{disabled:o.disabled,targetMounted:!!i,requiresHandle:!!o.handleId,handleMounted:!!a,sameDomBinding:!!(t.cleanup&&t.boundTarget===i&&t.boundHandle===a)});if(t.machine=s.next,s.action==="unbind"||s.action==="none"){Oo(t);return}if(s.action==="update"){i==null||i.setAttribute("data-drag-type",o.type);return}i&&(Oo(t),t.boundTarget=i,t.boundHandle=a,t.cleanup=Z_({binding:t,target:i,dragHandle:a,env:e,onStart:n,onEnd:r}))}function Q_(e,t,n){const r=new Map,i=X_(e,()=>{for(const c of r.values())cs(e,c,t,n)}),a=c=>{const u=r.get(c);u&&(Oo(u),u.machine=B_(),r.delete(c))};return{sync:c=>{let u=r.get(c.token);u?u.config=c:(u={token:c.token,config:c,machine:vu(),boundTarget:void 0,boundHandle:void 0,cleanup:void 0},r.set(c.token,u)),cs(e,u,t,n)},remove:a,dispose:()=>{i();for(const c of[...r.keys()])a(c)}}}const J_=[{type:"sw-draggable",styles:K_,onAttach:D(function*(){const e=yield*ae,t=yield*be,n=yield*he,r=yield*ee(),o=Q_(e,i=>r(n.emit(Fd,i).pipe(te)),i=>r(n.emit($d,i).pipe(te)));yield*t.registerCommand(vd,i=>x(()=>o.sync(i))),yield*t.registerCommand(yd,i=>x(()=>o.remove(i.token))),yield*ne(()=>x(()=>o.dispose()))})}];function wu(){return{registered:!1,targetMounted:!1,bound:!1,disabled:!1,active:!1,edge:"none"}}function eb(e,t,n,r){return e.registered&&e.bound&&!e.disabled&&t&&n&&!r}function tb(e,t,n,r){if(!t)return{next:{registered:!0,targetMounted:!1,bound:!1,disabled:n,active:!1,edge:"none"},action:e.bound?"unbind":"none",emitLeave:!1};if(e.bound&&r){const o=n&&e.active;return{next:w(w({},e),{},{registered:!0,targetMounted:!0,disabled:n,active:o?!1:e.active,edge:o?"none":e.edge}),action:"keep",emitLeave:o}}return{next:{registered:!0,targetMounted:!0,bound:!0,disabled:n,active:!1,edge:"none"},action:"bind",emitLeave:!1}}function nb(e,t,n){return!e.bound||e.disabled||!t?{next:e,emitEnter:!1}:{next:w(w({},e),{},{active:!0,edge:n}),emitEnter:!0}}function rb(e,t,n){return!t||!e.bound||e.disabled?e.active?{next:w(w({},e),{},{active:!1,edge:"none"}),emitEnter:!1,emitLeave:!0}:{next:e,emitEnter:!1,emitLeave:!1}:e.active?{next:w(w({},e),{},{edge:n}),emitEnter:!1,emitLeave:!1}:{next:w(w({},e),{},{active:!0,edge:n}),emitEnter:!0,emitLeave:!1}}function Eu(e,t){return e.active?{next:w(w({},e),{},{active:!1,edge:"none"}),emitLeave:t}:{next:e,emitLeave:!1}}function ob(e,t){const n=e.bound&&!e.disabled&&t;return{next:w(w({},e),{},{active:!1,edge:"none"}),emitDrop:n}}function ib(){return wu()}const Su=Symbol.for("shwfed.dnd.dropMeta");function ab(e,t){var n;return(n=ce(e,t))!==null&&n!==void 0?n:void 0}function sb(e,t){return e===void 0?!0:e.includes(t)}function lb(e,t,n,r){if(n==="none")return"inside";const o=e.getBoundingClientRect(),i={altKey:!1,button:0,buttons:0,ctrlKey:!1,metaKey:!1,shiftKey:!1,pageX:t.clientX,pageY:t.clientY,clientX:t.clientX,clientY:t.clientY};if(n==="vertical"){if(o.height<=0)return"top";const s=(t.clientY-o.top)/o.height;return r?s<.25?"top":s>.75?"bottom":"inside":za(Ga({},{element:e,input:i,allowedEdges:["top","bottom"]}))==="bottom"?"bottom":"top"}if(o.width<=0)return"left";const a=(t.clientX-o.left)/o.width;return r?a<.25?"left":a>.75?"right":"inside":za(Ga({},{element:e,input:i,allowedEdges:["left","right"]}))==="right"?"right":"left"}function Qe(e,t){if(!t){e.removeAttribute("data-drop-over"),e.removeAttribute("data-drop-edge");return}e.setAttribute("data-drop-over","true"),e.setAttribute("data-drop-edge",t)}const cb=`
176
- [data-sw-droppable-target="true"][data-drop-over="true"][data-drop-edge="inside"] {
177
- outline: 2px solid var(--sw-primary);
178
- outline-offset: -2px;
179
- }
180
- `;function kn(e){return e[_u]}function Yr(e){return e[Su]}function Zr(e,t,n,r){return{token:e,sourceId:n.sourceId,sourceType:n.sourceType,sourceData:w({},n.sourceData),targetId:t.id,edge:r.edge}}function ub(e,t){var n,r;const o=(n=(r=e.document.defaultView)===null||r===void 0?void 0:r.MutationObserver)!==null&&n!==void 0?n:globalThis.MutationObserver;if(typeof o!="function")return()=>{};const i=new o(t),a={childList:!0,subtree:!0,attributes:!0,attributeFilter:["id"]};return i.observe(e.rootContainer,a),e.rootContainer.contains(e.overlayContainer)||i.observe(e.overlayContainer,a),()=>i.disconnect()}function db(e,t,n,r){const o=kn(r.data);return o?eb(n.machine,o.hostContainer===t.rootContainer,sb(n.config.accept,o.sourceType),r.element.contains(e)||o.draggableEl.contains(e)):!1}function fb(e){const{binding:t,el:n,env:r,signals:o}=e;return{canDrop:({source:i})=>db(n,r,t,i),getData({input:i}){const a=lb(n,i,t.config.axis,t.config.allowInside);return{[Su]:{targetId:n.id,edge:a,hostContainer:r.rootContainer}}},onDragEnter({source:i,self:a,location:s}){var l;const c=kn(i.data),u=Yr(a.data);if(!c||!u)return;const d=nb(t.machine,((l=s.current.dropTargets[0])===null||l===void 0?void 0:l.element)===n,u.edge);t.machine=d.next,d.emitEnter&&(Qe(n,u.edge),o.onEnter(Zr(t.token,n,c,u)))},onDrag({source:i,self:a,location:s}){var l,c;const u=kn(i.data),d=Yr(a.data),f=((l=s.current.dropTargets[0])===null||l===void 0?void 0:l.element)===n,p=rb(t.machine,f&&!!(u&&d),(c=d==null?void 0:d.edge)!==null&&c!==void 0?c:"inside");if(t.machine=p.next,p.emitLeave){Qe(n,void 0),o.onLeave({token:t.token});return}!u||!d||!p.next.active||(Qe(n,d.edge),p.emitEnter&&o.onEnter(Zr(t.token,n,u,d)))},onDragLeave(){const i=Eu(t.machine,!0);t.machine=i.next,i.emitLeave&&(Qe(n,void 0),o.onLeave({token:t.token}))},onDrop({source:i,self:a,location:s}){var l;const c=ob(t.machine,((l=s.current.dropTargets[0])===null||l===void 0?void 0:l.element)===n);if(t.machine=c.next,Qe(n,void 0),!c.emitDrop)return;const u=kn(i.data),d=Yr(a.data);u&&d&&o.onDrop(Zr(t.token,n,u,d))}}}function pb(e){const{binding:t,el:n}=e;n.setAttribute("data-sw-droppable-target","true");const r=zv(w({element:n},fb(e)));return()=>{t.machine=Eu(t.machine,!1).next,r(),n.removeAttribute("data-sw-droppable-target"),Qe(n,void 0)}}function Do(e){var t;(t=e.cleanup)===null||t===void 0||t.call(e),e.cleanup=void 0,e.boundTarget=void 0}function us(e,t,n){const r=ab(e,t.config.targetId),o=tb(t.machine,!!r,t.config.disabled,!!(t.cleanup&&t.boundTarget===r));if(t.machine=o.next,o.action==="unbind"||o.action==="none"){Do(t);return}if(o.action==="keep"){o.emitLeave&&r&&(Qe(r,void 0),n.onLeave({token:t.token}));return}r&&(Do(t),t.boundTarget=r,t.cleanup=pb({binding:t,el:r,env:e,signals:n}))}function mb(e,t){const n=new Map,o=ub(e,()=>{for(const l of n.values())us(e,l,t)}),i=l=>{const c=n.get(l);c&&(Do(c),c.machine=ib(),n.delete(l))};return{sync:l=>{let c=n.get(l.token);c?c.config=l:(c={token:l.token,config:l,machine:wu(),boundTarget:void 0,cleanup:void 0},n.set(l.token,c)),us(e,c,t)},remove:i,dispose:()=>{o();for(const l of[...n.keys()])i(l)}}}const hb=[{type:"sw-droppable",styles:cb,onAttach:D(function*(){const e=yield*ae,t=yield*be,n=yield*he,r=yield*ee(),o=mb(e,{onEnter:i=>r(n.emit(zd,i).pipe(te)),onLeave:i=>r(n.emit(Wd,i).pipe(te)),onDrop:i=>r(n.emit(Bd,i).pipe(te))});yield*t.registerCommand(_d,i=>x(()=>o.sync(i))),yield*t.registerCommand(bd,i=>x(()=>o.remove(i.token))),yield*ne(()=>x(()=>o.dispose()))})}];function gb(){return{phase:"idle",observedTarget:"none",constrainedSize:!1,activeRunId:0,hasPlacement:!1,lastSide:"bottom",lastAlign:"center",disposed:!1}}function vb(e,t,n){if(t){const r=e.phase==="observing",o=e.constrainedSize;return{next:w(w({},e),{},{phase:"idle",observedTarget:"none",constrainedSize:!1,activeRunId:e.activeRunId+1,hasPlacement:!1}),shouldStopAutoUpdate:r,shouldClearFloatingStyles:!0,clearConstrainedSize:o,shouldClearMaxSize:!1}}return!n&&e.constrainedSize?{next:w(w({},e),{},{constrainedSize:!1}),shouldStopAutoUpdate:!1,shouldClearFloatingStyles:!1,clearConstrainedSize:!1,shouldClearMaxSize:!0}:{next:e,shouldStopAutoUpdate:!1,shouldClearFloatingStyles:!1,clearConstrainedSize:!1,shouldClearMaxSize:!1}}function yb(e,t,n,r){return e.disposed||!t||n==="none"?e.phase==="observing"?{next:w(w({},e),{},{phase:"idle",observedTarget:"none",activeRunId:e.activeRunId+1}),action:"stop"}:{next:e,action:"noop"}:e.phase!=="observing"||e.observedTarget!==n||n==="element"&&r?{next:w(w({},e),{},{phase:"observing",observedTarget:n,activeRunId:e.activeRunId+1}),action:"restart-auto-update"}:{next:e,action:"reposition"}}function _b(e,t){if(e.disposed||e.phase!=="observing")return{next:e,runId:0,accepted:!1};const n=e.activeRunId+1;return{next:w(w({},e),{},{activeRunId:n,constrainedSize:t}),runId:n,accepted:!0}}function bb(e,t,n,r){if(e.disposed||e.phase!=="observing"||t!==e.activeRunId)return{next:e,accepted:!1,placementChanged:!1};const o=!e.hasPlacement||e.lastSide!==n||e.lastAlign!==r;return{next:w(w({},e),{},{hasPlacement:!0,lastSide:n,lastAlign:r}),accepted:!0,placementChanged:o}}function wb(e){const t=e.phase==="observing",n=e.constrainedSize;return{next:w(w({},e),{},{phase:"idle",observedTarget:"none",constrainedSize:!1,activeRunId:e.activeRunId+1,hasPlacement:!1,disposed:!0}),shouldStopAutoUpdate:t,clearConstrainedSize:n}}function Eb(e,t){return t==="center"?e:`${e}-${t}`}function Sb(e){const[t,n]=e.split("-");return{side:t==="top"||t==="left"||t==="right"?t:"bottom",align:n==="start"||n==="end"?n:"center"}}function Ab(e,t){const n=t==="start"?"left":t==="end"?"right":"center",r=t==="start"?"top":t==="end"?"bottom":"center";return e==="top"?`bottom ${n}`:e==="bottom"?`top ${n}`:e==="left"?`${r} right`:`${r} left`}const Cb={top:"bottom",bottom:"top",left:"right",right:"left"};function _n(e){return`${Math.max(0,Math.round(e*100)/100)}px`}function jn(e,t){var n;return(n=ce(e,t))!==null&&n!==void 0?n:void 0}function xb(e,t){return{contextElement:e,getBoundingClientRect(){var n;const r=(n=t())!==null&&n!==void 0?n:{x:0,y:0};return{width:0,height:0,x:r.x,y:r.y,top:r.y,left:r.x,right:r.x,bottom:r.y}}}}function Au(e,t){e.removeAttribute("data-side"),e.removeAttribute("data-align"),e.style.removeProperty("position"),e.style.removeProperty("left"),e.style.removeProperty("top"),e.style.removeProperty("transform"),e.style.removeProperty("transform-origin"),e.style.removeProperty("--sw-floating-side"),e.style.removeProperty("--sw-floating-origin"),e.style.removeProperty("--sw-floating-available-width"),e.style.removeProperty("--sw-floating-available-height"),e.style.removeProperty("--sw-floating-anchor-width"),e.style.removeProperty("--sw-floating-anchor-height"),t&&(e.style.removeProperty("max-width"),e.style.removeProperty("max-height"))}function Cu(e){e.removeAttribute("data-side"),e.style.removeProperty("position"),e.style.removeProperty("left"),e.style.removeProperty("top"),e.style.removeProperty("right"),e.style.removeProperty("bottom")}function kb(e){var t,n;const r=(t=(n=e.getBoundingClientRect)===null||n===void 0?void 0:n.call(e).width)!==null&&t!==void 0?t:0;return Number.isFinite(r)&&r>0?r:e.offsetWidth>0?e.offsetWidth:8}function Ib(e,t,n){const r=kb(e);e.setAttribute("data-side",t),e.style.position="absolute",e.style.left="",e.style.top="",e.style.right="",e.style.bottom="",(n==null?void 0:n.x)!==void 0&&(e.style.left=`${Math.round(n.x)}px`),(n==null?void 0:n.y)!==void 0&&(e.style.top=`${Math.round(n.y)}px`),e.style[Cb[t]]=`${-r/2}px`}function Rb(e,t,n,r){const o=[Dy(t.offset)];return t.flip&&o.push(Ny({padding:t.shiftPadding})),t.shift&&o.push(My({padding:t.shiftPadding})),o.push(Vy({padding:t.shiftPadding,apply({rects:i,availableWidth:a,availableHeight:s}){if(!r()||!e.isConnected)return;const l=_n(a),c=_n(s);e.style.setProperty("--sw-floating-available-width",l),e.style.setProperty("--sw-floating-available-height",c),e.style.setProperty("--sw-floating-anchor-width",_n(i.reference.width)),e.style.setProperty("--sw-floating-anchor-height",_n(i.reference.height)),t.constrainSize&&(e.style.maxWidth=l,e.style.maxHeight=c)}})),n&&o.push($y({element:n,padding:6})),o}function Lb(e){const{reference:t,domAnchor:n,element:r,arrowEl:o,config:i,isCurrent:a,onPlacement:s}=e;r.style.position="fixed",r.style.left="0px",r.style.top="0px";const l=Eb(i.side,i.align);Fy(t,r,{strategy:"fixed",placement:l,middleware:Rb(r,i,o,a)}).then(c=>{if(!a()||!r.isConnected||n&&!n.isConnected)return;const u=Sb(c.placement),d=Ab(u.side,u.align);r.setAttribute("data-side",u.side),r.setAttribute("data-align",u.align),r.style.transform=`translate3d(${Math.round(c.x)}px, ${Math.round(c.y)}px, 0px)`,r.style.transformOrigin=d,r.style.setProperty("--sw-floating-side",u.side),r.style.setProperty("--sw-floating-origin",d),o&&o.isConnected&&Ib(o,u.side,c.middlewareData.arrow),s(u)})}function Gn(e){var t;(t=e.stopAutoUpdate)===null||t===void 0||t.call(e),e.stopAutoUpdate=void 0,e.observedAnchor=void 0}function Tb(e){const t=wb(e.machine);e.machine=t.next,(t.shouldStopAutoUpdate||e.stopAutoUpdate)&&Gn(e),e.floatingEl&&Au(e.floatingEl,t.clearConstrainedSize),e.arrowEl&&Cu(e.arrowEl),e.floatingEl=void 0,e.arrowEl=void 0}function Pb(e,t){var n,r;const o=(n=(r=e.document.defaultView)===null||r===void 0?void 0:r.MutationObserver)!==null&&n!==void 0?n:globalThis.MutationObserver;if(typeof o!="function")return()=>{};const i=new o(t),a={childList:!0,subtree:!0,attributes:!0,attributeFilter:["id"]};return i.observe(e.rootContainer,a),e.rootContainer.contains(e.overlayContainer)||i.observe(e.overlayContainer,a),()=>i.disconnect()}function Ob(e,t){const n=jn(e,t.config.floatingId),r=jn(e,t.config.arrowId),o=!!(t.floatingEl&&t.floatingEl!==n),i=vb(t.machine,o,t.config.constrainSize);t.machine=i.next,i.shouldStopAutoUpdate&&Gn(t),i.shouldClearFloatingStyles&&t.floatingEl&&Au(t.floatingEl,i.clearConstrainedSize),t.arrowEl&&t.arrowEl!==r&&Cu(t.arrowEl),i.shouldClearMaxSize&&n&&(n.style.removeProperty("max-width"),n.style.removeProperty("max-height")),t.floatingEl=n,t.arrowEl=r}function ds(e,t,n){const r=t.floatingEl;if(!r||!r.isConnected)return;const o=t.config.anchorPoint,i=o?void 0:jn(e,t.config.anchorId);if(!o&&(!i||!i.isConnected))return;const a=_b(t.machine,t.config.constrainSize);if(!a.accepted)return;t.machine=a.next;const s=a.runId;Lb({reference:o?t.virtualAnchor:i,domAnchor:i,element:r,arrowEl:t.arrowEl,config:t.config,isCurrent:()=>r.isConnected&&s===t.machine.activeRunId,onPlacement:l=>{const c=bb(t.machine,s,l.side,l.align);t.machine=c.next,c.accepted&&c.placementChanged&&n({token:t.token,side:l.side,align:l.align})}})}function fs(e,t,n){Ob(e,t);const r=t.floatingEl,o=t.config.anchorPoint,i=o?void 0:jn(e,t.config.anchorId),a=o?"point":i?"element":"none",s=i!==t.observedAnchor||!t.stopAutoUpdate,l=yb(t.machine,!!(r!=null&&r.isConnected),a,s);if(t.machine=l.next,l.action==="stop"){Gn(t);return}if(l.action==="restart-auto-update"&&r){Gn(t),t.observedAnchor=i;const c=a==="point"?t.virtualAnchor:i;t.stopAutoUpdate=Oy(c,r,()=>ds(e,t,n));return}l.action==="reposition"&&ds(e,t,n)}function Db(e,t){const n=new Map,o=Pb(e,()=>{for(const l of n.values())fs(e,l,t)}),i=l=>{const c=n.get(l);c&&(Tb(c),n.delete(l))};return{sync:l=>{let c=n.get(l.token);if(c)c.config=l;else{const u={token:l.token,config:l,machine:gb(),floatingEl:void 0,arrowEl:void 0,observedAnchor:void 0,stopAutoUpdate:void 0,virtualAnchor:xb(e.overlayContainer,()=>u.config.anchorPoint)};c=u,n.set(l.token,c)}fs(e,c,t)},remove:i,dispose:()=>{o();for(const l of[...n.keys()])i(l)}}}const Mb=[{type:"sw-floating",onAttach:D(function*(){const e=yield*ae,t=yield*be,n=yield*he,r=yield*ee(),o=Db(e,i=>{r(n.emit(Hd,i).pipe(te))});yield*t.registerCommand(wd,i=>x(()=>o.sync(i))),yield*t.registerCommand(Ed,i=>x(()=>o.remove(i.token))),yield*ne(()=>x(()=>o.dispose()))})}],Nb=[];function xu(e,t="16px"){return typeof e=="number"&&Number.isFinite(e)&&e>0?`${e}px`:typeof e=="string"&&e.trim().length>0?e.trim():t}function Vb(e,t,n,r,o=!1){if(t.replaceChildren(),!ul(n)){t.setAttribute("data-icon-missing",typeof n=="string"?n:"");return}t.removeAttribute("data-icon-missing");const i=e.createElement("span");i.setAttribute("data-icon-resource",n.name),i.setAttribute("aria-hidden","true");const a=xu(r,"1em");i.style.display="block",i.style.flexShrink="0",i.style.width=n.width===n.height?a:`calc(${a} * ${n.width/n.height})`,i.style.height=a;const s=`url("${n.uri.replaceAll('"',"%22").replaceAll("'","%27").replaceAll("(","%28").replaceAll(")","%29")}")`;n.mode==="mask"?(i.style.setProperty("-webkit-mask-image",s),i.style.setProperty("-webkit-mask-repeat","no-repeat"),i.style.setProperty("-webkit-mask-position","center"),i.style.setProperty("-webkit-mask-size","contain"),i.style.maskImage=s,i.style.maskRepeat="no-repeat",i.style.maskPosition="center",i.style.maskSize="contain",i.style.backgroundColor="currentColor"):(i.style.backgroundImage=s,i.style.backgroundRepeat="no-repeat",i.style.backgroundPosition="center",i.style.backgroundSize="contain"),o&&(i.style.animation="sw-spin 0.9s linear infinite"),t.appendChild(i)}let $b=0;function ps(e,t,n,r,o){const i=t.style,a=xu(t.size);e.id=J(n,"icon",t.id,t.autoId,r),j(e,i,o,{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0",width:a,height:a});const s=ul(t.name)?t.name.name:typeof t.name=="string"?t.name:"";return e.setAttribute("data-icon",s),Vb(n.document,e,t.name,t.size,!!t.spin),typeof t.ariaLabel=="string"&&t.ariaLabel.length>0?(e.setAttribute("role","img"),e.setAttribute("aria-label",t.ariaLabel),e.removeAttribute("aria-hidden")):(e.setAttribute("aria-hidden","true"),e.removeAttribute("role"),e.removeAttribute("aria-label")),i}const Fb=[{type:"sw-icon",mount(e,t){const n=t.document.createElement("span"),r=++$b;let o=ps(n,e,t,r);return{element:n,update(i){o=ps(n,i,t,r,o)}}}}];let Bb=0;const Wb=/[\u0000-\u001F\u007F]/,zb=/^[a-zA-Z][a-zA-Z0-9+.-]*:/,Hb=/^https?:\/\//i,jb=/^blob:/i,Gb=/^data:image\/[a-z0-9.+-]+[;,]/i,Ub={display:"block",boxSizing:"border-box",borderTopWidth:"0px",borderRightWidth:"0px",borderBottomWidth:"0px",borderLeftWidth:"0px"};function Mo(e,t){return Array.isArray(e.__events)&&e.__events.includes(t)}function qb(e){if(typeof e!="string")return;const t=e.trim();if(!(!t||Wb.test(t)||t.startsWith("//")))return zb.test(t)?Hb.test(t)||jb.test(t)||Gb.test(t)?t:void 0:t}function Kb(e){switch(e){case"contain":case"cover":case"fill":case"none":case"scale-down":return e;default:return"cover"}}function ms(e,t,n,r){typeof n=="string"&&r.includes(n)?e.setAttribute(t,n):e.removeAttribute(t)}function Xb(e,t,n,r){if(t.hasSeenSrc&&r===t.lastRawSrc)return;t.hasSeenSrc=!0,t.lastRawSrc=r;const o=qb(r);if(t.safeSrc=o,!o){e.removeAttribute("src"),e.setAttribute("data-status","error"),Mo(t.props,"onError")&&n.dispatchEvent("onError");return}e.setAttribute("data-status","loading"),e.getAttribute("src")!==o&&e.setAttribute("src",o)}function hs(e,t,n,r,o){const i=n.style;t.props=n,e.id=J(r,"image",n.id,n.autoId,o),j(e,i,t.style,Ub),t.style=i,e.alt=typeof n.alt=="string"?n.alt:"",e.style.objectFit=Kb(n.objectFit),ms(e,"loading",n.loading,["eager","lazy"]),ms(e,"decoding",n.decoding,["sync","async","auto"]),Xb(e,t,r,n.src)}const Yb=[{type:"sw-image",mount(e,t){const n=++Bb,r=t.document.createElement("img");r.setAttribute("data-sw-image","true");const o={props:e,lastRawSrc:void 0,hasSeenSrc:!1};return r.addEventListener("load",()=>{o.safeSrc&&(r.setAttribute("data-status","loaded"),Mo(o.props,"onLoad")&&t.dispatchEvent("onLoad"))}),r.addEventListener("error",()=>{o.safeSrc&&(r.setAttribute("data-status","error"),Mo(o.props,"onError")&&t.dispatchEvent("onError"))}),hs(r,o,e,t,n),{element:r,update(i){hs(r,o,i,t,n)}}}}],Zb=`
181
- [data-sw-input] {
182
- width: 100%;
183
- height: 2.25rem;
184
- padding: 0.375rem 0.625rem;
185
- border-radius: var(--sw-radius-md);
186
- border: 1px solid var(--sw-border);
187
- background-color: var(--sw-surface);
188
- color: var(--sw-foreground);
189
- box-shadow: var(--sw-shadow-sm);
190
- font-size: 1rem;
191
- line-height: 1.5rem;
192
- }
193
- [data-sw-input]:disabled {
194
- color: var(--sw-disabled-foreground);
195
- opacity: 0.6;
196
- }
197
- [data-sw-input]:focus {
198
- border-color: var(--sw-border-focus);
199
- }
200
- [data-sw-input][data-mode="plain"] {
201
- border-width: 0;
202
- border-style: none;
203
- border-radius: 0;
204
- background-color: transparent;
205
- box-shadow: none;
206
- }
207
- [data-sw-input]::placeholder {
208
- color: var(--sw-muted-foreground);
209
- }
210
- `;function ku(e,t,n,r){if(n==="focus"){e.disabled||e.focus();return}if(n==="blur"){e.blur();return}if(n==="select"){e.select();return}if(n==="setSelectionRange"){const{anchor:o,focus:i}=r&&typeof r=="object"?r:{};if(typeof o!="number"||typeof i!="number"||!Number.isFinite(o)||!Number.isFinite(i))return Promise.reject(new ue({method:n,message:`Invalid arguments for "setSelectionRange" on ${t}: expected finite numeric anchor and focus.`}));const a=Math.min(o,i),s=Math.max(o,i),l=o>i?"backward":"forward";e.setSelectionRange(a,s,l);return}return Promise.reject(new ue({method:n,message:`Unsupported method "${n}" on ${t}.`}))}let Qb=0;function gi(e,t,n){var r,o;n.isComposing||((r=(o=t.getAckSeq)===null||o===void 0?void 0:o.call(t))!==null&&r!==void 0?r:n.lastEditSeq)<n.lastEditSeq||e.value!==n.committedValue&&(e.value=n.committedValue,n.lastDispatchedValue=n.committedValue)}function gs(e,t,n,r,o){const i=t.style;e.id=J(n,"input",t.id,t.autoId,o),e.type=typeof t.type=="string"?t.type:"text",e.placeholder=typeof t.placeholder=="string"?t.placeholder:"",e.disabled=!!t.disabled,e.readOnly=!!t.readOnly,e.setAttribute("data-sw-input","true"),e.setAttribute("data-mode",t.mode==="plain"?"plain":"default"),typeof t.ariaLabel=="string"&&t.ariaLabel.length>0?e.setAttribute("aria-label",t.ariaLabel):e.removeAttribute("aria-label"),r.committedValue=typeof t.value=="string"?t.value:"",gi(e,n,r),j(e,i,r.currentStyle),r.currentStyle=i}function vs(e,t,n){n.lastDispatchedValue=e.value;const r=t.dispatchEvent("onChange",e.value);St(r)&&(n.lastEditSeq=r.value)}function Jb(e,t,n){e.addEventListener("focus",()=>t.dispatchEvent("onFocus")),e.addEventListener("blur",()=>t.dispatchEvent("onBlur")),e.addEventListener("compositionstart",()=>{n.isComposing=!0}),e.addEventListener("compositionend",()=>{n.isComposing=!1,e.value!==n.lastDispatchedValue?vs(e,t,n):gi(e,t,n)}),e.addEventListener("input",r=>{const o="isComposing"in r&&!!r.isComposing;n.isComposing||o||e.value!==n.lastDispatchedValue&&vs(e,t,n)}),e.addEventListener("keydown",r=>{if(!(n.isComposing||r.isComposing||r.keyCode===229)){if(r.key==="Escape"){e.blur();return}r.key==="Enter"&&t.dispatchEvent("onSubmit",e.value)}})}const e0=[{type:"sw-input",styles:Zb,mount(e,t){const n=t.document.createElement("input"),r=++Qb,o=typeof e.value=="string"?e.value:"",i={isComposing:!1,lastEditSeq:0,committedValue:o,lastDispatchedValue:o};return gs(n,e,t,i,r),Jb(n,t,i),{element:n,update(a){gs(n,a,t,i,r)},invoke(a,s){return ku(n,"sw-input",a,s)},onAck(){gi(n,t,i)}}}}];let t0=0;const Iu="button, input, select, textarea, a[href]",Ru='[role="button"], [role="checkbox"], [role="switch"], [role="slider"], [role="radio"], [data-sw-pressable]',n0=`${Iu}, ${Ru}, [contenteditable="true"], [contenteditable=""]`,r0=`
211
- [data-sw-label] {
212
- display: inline-flex;
213
- align-items: center;
214
- user-select: none;
215
- }
216
- `;function Qr(e,t,n){const r=t;if(!r||typeof r.closest!="function")return null;const o=r.closest(n);return!o||o===e||!e.contains(o)?null:o}function ys(e,t,n,r,o){const i=t.style,a=!!t.disabled;return e.id=J(n,"label",t.id,t.autoId,r),typeof t.htmlFor=="string"&&t.htmlFor.length>0?e.setAttribute("for",t.htmlFor):e.removeAttribute("for"),a?e.setAttribute("data-disabled","true"):e.removeAttribute("data-disabled"),j(e,i,o),i}function o0(e,t){const n=r=>{r.defaultPrevented||r.detail<=1||Qr(e,r.target,n0)||r.preventDefault()};e.addEventListener("mousedown",n),e.addEventListener("pointerdown",r=>n(r)),e.addEventListener("click",r=>{if(Qr(e,r.target,Iu))return;const o=Qr(e,r.target,Ru);if(t().disabled&&!o){r.preventDefault();return}o&&e.hasAttribute("for")&&r.preventDefault()})}const i0=[{type:"sw-label",styles:r0,mount(e,t){const n=t.document.createElement("label");n.setAttribute("data-sw-label","true");const r=++t0;let o=e,i=ys(n,e,t,r);return o0(n,()=>o),{element:n,childContainer:n,update(a){o=a,i=ys(n,a,t,r,i)}}}}],a0=/^--[a-zA-Z0-9_-]+$/,pt=e=>Math.round(e*100)/100;function _s(e){if(!(!e||!a0.test(e)||e.startsWith("--sw-")))return e}function s0(e){var t;const n=(t=e.getBoundingClientRect)===null||t===void 0?void 0:t.call(e),r=n&&Number.isFinite(n.width)&&n.width>0?n.width:e.offsetWidth,o=n&&Number.isFinite(n.height)&&n.height>0?n.height:e.offsetHeight;return{width:pt(r),height:pt(o)}}function bs(e){if(!e||e==="none")return{x:1,y:1};const t=/scale\(([^,)]+)(?:,\s*([^)]+))?\)/.exec(e);if(t){const r=Number.parseFloat(t[1]),o=t[2]!==void 0?Number.parseFloat(t[2]):r;return{x:Number.isFinite(r)&&r>0?r:1,y:Number.isFinite(o)&&o>0?o:1}}const n=/matrix\(([^)]+)\)/.exec(e);if(n){const r=n[1].split(",").map(o=>Number.parseFloat(o.trim()));if(r.length>=4){const o=Math.hypot(r[0],r[1]),i=Math.hypot(r[2],r[3]);return{x:o>0?o:1,y:i>0?i:1}}}return{x:1,y:1}}function l0(e,t){let n=1,r=1,o=e;for(;o&&o!==t.parentElement;){if(o.hasAttribute("data-sw-canvas-stage")){const a=o.getBoundingClientRect();if(o.offsetWidth>0&&a.width>0){const l=a.width/o.offsetWidth,c=o.offsetHeight>0&&a.height>0?a.height/o.offsetHeight:l;return{x:n*l,y:r*c}}const s=bs(o.style.transform);return{x:n*s.x,y:r*s.y}}const i=bs(o.style.transform);if(n*=i.x,r*=i.y,o===t)break;o=o.parentElement}return{x:n,y:r}}function Un(e,t){var n;return(n=ce(e,t))!==null&&n!==void 0?n:void 0}function c0(e,t,n){const r=n.x>0?n.x:1,o=n.y>0?n.y:1;return{left:pt((e.left-t.left)/r),top:pt((e.top-t.top)/o),width:pt(e.width/r),height:pt(e.height/o)}}function u0(e,t){if(!e)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const o of r){const i=e[o],a=t[o];if(!i||!a||i.left!==a.left||i.top!==a.top||i.width!==a.width||i.height!==a.height)return!1}return!0}function d0(e){if(!e||e.length===0)return[];const t=[];for(const i of e){var n,r,o;const a=i.sourceId.trim(),s=((n=i.targetId)===null||n===void 0?void 0:n.trim())||void 0,l=_s((r=i.widthVar)===null||r===void 0?void 0:r.trim()),c=_s((o=i.heightVar)===null||o===void 0?void 0:o.trim());a&&(l||c)&&t.push({sourceId:a,targetId:s,widthVar:l,heightVar:c})}return t}function ws(e){for(const t of e)t.target.style.removeProperty(t.prop)}function f0(e,t,n){const r=[],o=[];for(const a of t){const s=Un(e,a.sourceId),l=a.targetId?Un(e,a.targetId):e.rootContainer;if(s&&o.push(s),!s||!l)continue;const{width:c,height:u}=s0(s);a.widthVar&&r.push({target:l,prop:a.widthVar,value:`${c}px`}),a.heightVar&&r.push({target:l,prop:a.heightVar,value:`${u}px`})}for(const a of n)r.some(s=>s.target===a.target&&s.prop===a.prop)||a.target.style.removeProperty(a.prop);const i=[];for(const a of r)a.target.style.getPropertyValue(a.prop)!==a.value&&a.target.style.setProperty(a.prop,a.value),i.push({target:a.target,prop:a.prop});return{applied:i,sources:o}}function p0(e,t){const n=e.defaultView,r=typeof(n==null?void 0:n.requestAnimationFrame)=="function"?n.requestAnimationFrame.bind(n):void 0,o=typeof(n==null?void 0:n.cancelAnimationFrame)=="function"?n.cancelAnimationFrame.bind(n):void 0;let i,a=!1;return{schedule(){if(r){if(i!==void 0)return;i=r(()=>{i=void 0,t()});return}a||(a=!0,queueMicrotask(()=>{a=!1,t()}))},cancel(){i!==void 0&&(o==null||o(i),i=void 0),a=!1}}}function m0(e,t){if(t.ids.length===0)return{rects:{},elements:[]};const n=t.containerId?Un(e,t.containerId):e.rootContainer;if(!n)return{rects:{},elements:[]};const r=n.getBoundingClientRect(),o=l0(n,e.rootContainer),i={},a=[n];for(const s of t.ids){const l=Un(e,s);l&&(a.push(l),i[s]=c0(l.getBoundingClientRect(),r,o))}return{rects:i,elements:a}}function Es(e,t,n){if(!e)return n;for(const r of t)n.has(r)||e.unobserve(r);for(const r of n)t.has(r)||e.observe(r);return n}function Lu(e,t){const n=new Set;for(const r of t.values()){const{applied:o,sources:i}=f0(e,r.vars,r.appliedVars);r.appliedVars=o;for(const a of i)n.add(a)}return n}function h0(e,t,n){const r=Lu(e,t);for(const o of t.values()){if(o.ids.length===0)continue;const{rects:i,elements:a}=m0(e,o);for(const s of a)r.add(s);u0(o.lastRects,i)||(o.lastRects=i,n({token:o.token,rects:i}))}return r}function g0(e,t,n){var r,o;const i=e.document.defaultView,a=(r=i==null?void 0:i.ResizeObserver)!==null&&r!==void 0?r:globalThis.ResizeObserver,s=(o=i==null?void 0:i.MutationObserver)!==null&&o!==void 0?o:globalThis.MutationObserver,l=typeof a=="function"?new a(t):void 0,c=typeof s=="function"?new s(t):void 0;return c==null||c.observe(e.rootContainer,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class","id","data-dragging"]}),e.rootContainer.addEventListener("scroll",n,{passive:!0,capture:!0}),i==null||i.addEventListener("resize",t),{resizeObserver:l,disconnect(){l==null||l.disconnect(),c==null||c.disconnect(),e.rootContainer.removeEventListener("scroll",n,!0),i==null||i.removeEventListener("resize",t)}}}function v0(e,t){const n=new Map;let r=new Set;const o=()=>{const d=h0(e,n,t);r=Es(s.resizeObserver,r,d)},i=p0(e.document,o),a=()=>{const d=Lu(e,n);[...n.values()].some(f=>f.ids.length>0)?i.schedule():r=Es(s.resizeObserver,r,d)},s=g0(e,a,i.schedule),l=d=>{const f=n.get(d);f&&(ws(f.appliedVars),n.delete(d),a())};return{sync:d=>{var f,p,m;const g=d0(d.vars),v=((f=d.ids)!==null&&f!==void 0?f:[]).map(y=>y.trim()).filter(y=>y.length>0);if(g.length===0&&v.length===0){l(d.token);return}const _=n.get(d.token);n.set(d.token,{token:d.token,vars:g,appliedVars:(p=_==null?void 0:_.appliedVars)!==null&&p!==void 0?p:[],containerId:((m=d.containerId)===null||m===void 0?void 0:m.trim())||void 0,ids:v,lastRects:v.length>0?_==null?void 0:_.lastRects:void 0}),o(),v.length>0&&i.schedule()},remove:l,dispose:()=>{i.cancel();for(const d of n.values())ws(d.appliedVars);s.disconnect(),n.clear(),r.clear()}}}const y0=[{type:"sw-layout",onAttach:D(function*(){const e=yield*ae,t=yield*be,n=yield*he,r=yield*ee(),o=v0(e,i=>{r(n.emit(jd,i).pipe(te))});yield*t.registerCommand(Sd,i=>x(()=>{o.sync(i)})),yield*t.registerCommand(Ad,i=>x(()=>{o.remove(i.token)})),yield*ne(()=>x(()=>{o.dispose()}))})}];function _0(e){const t=e.defaultView;if(typeof(t==null?void 0:t.matchMedia)=="function")return t.matchMedia.bind(t);if(typeof globalThis.matchMedia=="function")return globalThis.matchMedia.bind(globalThis)}function b0(e,t){const n=r=>{var o;t(!!((o=r==null?void 0:r.matches)!==null&&o!==void 0?o:e.matches))};return typeof e.addEventListener=="function"?(e.addEventListener("change",n),()=>e.removeEventListener("change",n)):typeof e.addListener=="function"?(e.addListener(n),()=>e.removeListener(n)):()=>{}}function w0(e,t){const n=new Map,r=new Map,o=(l,c,u)=>t({token:l,query:c,matches:u}),i=l=>{const c=r.get(l);if(c===void 0)return;r.delete(l);const u=n.get(c);u&&(u.tokens.delete(l),u.tokens.size===0&&(u.dispose(),n.delete(c)))};return{syncToken:(l,c)=>{const u=r.get(l);u!==void 0&&u!==c&&i(l);let d=n.get(c);if(!d){const f=_0(e.document);if(!f)return;const p=f(c),m=new Set,g={mql:p,matches:!!p.matches,tokens:m,dispose:b0(p,v=>{if(v!==g.matches){g.matches=v;for(const _ of g.tokens)o(_,c,v)}})};n.set(c,g),d=g}d.matches=!!d.mql.matches,d.tokens.add(l),r.set(l,c),o(l,c,d.matches)},unsubscribeToken:i,disposeAll:()=>{for(const l of n.values())l.dispose();n.clear(),r.clear()}}}const E0=[{type:"sw-media-query",onAttach:D(function*(){const e=yield*ae,t=yield*be,n=yield*he,r=yield*ee(),o=w0(e,i=>{r(n.emit(tf,i).pipe(te))});yield*t.registerCommand(Cd,i=>x(()=>{const a=i.query.trim();if(!a){o.unsubscribeToken(i.token);return}o.syncToken(i.token,a)})),yield*t.registerCommand(xd,i=>x(()=>{o.unsubscribeToken(i.token)})),yield*ne(()=>x(()=>{o.disposeAll()}))})}],Jr=new WeakMap;function S0(e,t){Jr.set(e,t);const n=e;return n.__MPIS_MOTION_CLOCK__=t,()=>{Jr.get(e)===t&&Jr.delete(e),n.__MPIS_MOTION_CLOCK__===t&&delete n.__MPIS_MOTION_CLOCK__}}function A0(e,t){const n=e.defaultView,r=typeof(n==null?void 0:n.requestAnimationFrame)=="function"?n.requestAnimationFrame.bind(n):void 0,o=typeof(n==null?void 0:n.cancelAnimationFrame)=="function"?n.cancelAnimationFrame.bind(n):void 0;let i="live",a,s,l=0;const c=()=>{a!==void 0&&(o==null||o(a),a=void 0),s!==void 0&&(clearTimeout(s),s=void 0),l=0},u=f=>{if(a=void 0,s=void 0,i!=="live")return;const p=l>0?Math.max(1,f-l):16;l=f,t(p)?d():l=0},d=()=>{if(!(i!=="live"||a!==void 0||s!==void 0)){if(r){a=r(u);return}s=setTimeout(()=>u(Date.now()),16)}};return{getMode:()=>i,setMode(f){i!==f&&(i=f,f==="manual"&&c())},step(f=16){return t(Math.max(1,Number.isFinite(f)?f:16))},schedule:d,stop:c}}function Ss(e,t){e.mode=t.mode,e.stiffness=t.stiffness,e.damping=t.damping,e.durationMs=t.durationMs,e.elapsedMs=0,e.runId=t.runId,e.values=w({},t.values),e.velocities=w({},t.velocities),e.startValues=w({},t.startValues),e.targets=w({},t.targets)}function C0(e,t,n,r,o=16){const i=e.snapshot;if(!i)return;const a=Math.max(1,Number.isFinite(o)?o:16),s=w(w({},e),{},{values:{},velocities:{},startValues:{},targets:{}});Ss(s,i);let l=!1;for(let f=0;f<600&&!l;f+=1)l=n(s,a);const c=Math.max(a,s.elapsedMs);Ss(e,i);const u=t===0?0:t===1?c:c*.5;let d=!1;for(;e.elapsedMs<u&&!d;){const f=Math.min(a,Math.max(1,u-e.elapsedMs));i.dtHistory.push(f),d=n(e,f)}return r(e),e.active=!d&&t<1,{token:e.token,targetId:e.targetId,runId:e.runId,mode:e.mode,fraction:t,elapsedMs:e.elapsedMs,settledDurationMs:c,settled:d,values:w({},e.values)}}const bn=.25;function mt(e){return Math.round(e*100)/100}function As(e,t){return e?Math.abs(e.x-t.x)<bn&&Math.abs(e.y-t.y)<bn&&Math.abs(e.width-t.width)<bn&&Math.abs(e.height-t.height)<bn:!1}function x0(e){var t;const n=(t=e.getBoundingClientRect)===null||t===void 0?void 0:t.call(e);if(n&&(n.width>0||n.height>0)){const r=e.offsetWidth>0&&n.width>0?n.width/e.offsetWidth:1,o=e.offsetHeight>0&&n.height>0?n.height/e.offsetHeight:r;return{width:mt(Math.max(n.width/r,e.scrollWidth||0)),height:mt(Math.max(n.height/o,e.scrollHeight||0))}}return{width:Math.max(e.offsetWidth,e.scrollWidth),height:Math.max(e.offsetHeight,e.scrollHeight)}}function k0(e,t){var n,r;const o=(n=e.getBoundingClientRect)===null||n===void 0?void 0:n.call(e),i=(r=t.getBoundingClientRect)===null||r===void 0?void 0:r.call(t);if(o&&i&&(i.width>0||i.height>0)){const a=e.offsetWidth>0&&o.width>0?o.width/e.offsetWidth:1,s=e.offsetHeight>0&&o.height>0?o.height/e.offsetHeight:a;return{x:mt((i.left-o.left)/a-e.clientLeft+e.scrollLeft),y:mt((i.top-o.top)/s-e.clientTop+e.scrollTop),width:mt(i.width/a),height:mt(i.height/s)}}return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}function Tu(){return{phase:"hidden",activeTarget:0,indicatorX:0,counterX:0,targetX:0,remainingTicks:0,rafScheduled:!1,cssTransitionActive:!1}}function I0(e,t,n,r){return e.phase==="hidden"||r?{phase:"settled",activeTarget:t,indicatorX:n,counterX:-n,targetX:n,remainingTicks:0,rafScheduled:!1,cssTransitionActive:!1}:e.indicatorX===n?{phase:"settled",activeTarget:t,indicatorX:n,counterX:-n,targetX:n,remainingTicks:0,rafScheduled:!1,cssTransitionActive:!1}:{phase:"animating",activeTarget:t,indicatorX:e.indicatorX,counterX:-e.indicatorX,targetX:n,remainingTicks:3,rafScheduled:!0,cssTransitionActive:!1}}function R0(e,t){return e.phase==="hidden"?e:e.phase==="settled"?w(w({},e),{},{indicatorX:t,counterX:-t,targetX:t}):w(w({},e),{},{targetX:t})}function L0(){return Tu()}const T0=["x","y","scale","scaleX","scaleY","rotate","opacity"],P0=new Set(["x","y","scale","scaleX","scaleY","rotate"]);function No(e){return e==="scale"||e==="scaleX"||e==="scaleY"||e==="opacity"?1:0}function Pu(e=240,t=0){const n=Math.min(.8,Math.max(0,Number.isFinite(t)?t:0)),r=Math.max(.06,Math.min(4,(Number.isFinite(e)?e:240)/1e3)),o=1-n,i=2*Math.PI/r;return{stiffness:i*i,damping:2*o*i}}function Ht(e,t,n,r,o,i,a){const s=t+(-r*(e-n)-o*t)*i,l=e+s*i;return Math.abs(n-l)<=a&&Math.abs(s)<=a*10?{value:n,velocity:0,settled:!0}:{value:l,velocity:s,settled:!1}}function Ou(e){const t=Math.min(1,Math.max(0,e));return t>=1?1:1-Math.pow(2,-10*t)}function vi(e,t){var n,r,o,i,a,s;const l=(n=t.x)!==null&&n!==void 0?n:0,c=(r=t.y)!==null&&r!==void 0?r:0,u=(o=t.scale)!==null&&o!==void 0?o:1,d=((i=t.scaleX)!==null&&i!==void 0?i:1)*u,f=((a=t.scaleY)!==null&&a!==void 0?a:1)*u,p=(s=t.rotate)!==null&&s!==void 0?s:0;if(t.x!==void 0||t.y!==void 0||t.scale!==void 0||t.scaleX!==void 0||t.scaleY!==void 0||t.rotate!==void 0){const m=Math.round(l*100)/100,g=Math.round(c*100)/100,v=Math.round(d*1e3)/1e3,_=Math.round(f*1e3)/1e3,y=Math.round(p*100)/100;e.style.transform=`translate3d(${m}px, ${g}px, 0px) scale(${v}, ${_}) rotate(${y}deg)`}if(t.opacity!==void 0){const m=Math.min(1,Math.max(0,Math.round(t.opacity*1e3)/1e3));e.style.opacity=String(m)}}function Du(e,t){var n,r,o;const i=(n=e.closest)===null||n===void 0||(n=n.call(e,"[data-sw-reduced-motion]"))===null||n===void 0?void 0:n.getAttribute("data-sw-reduced-motion");return i==="always"?!0:i==="never"?!1:!!(!((r=t.defaultView)===null||r===void 0||(o=r.matchMedia)===null||o===void 0)&&o.call(r,"(prefers-reduced-motion: reduce)").matches)}function O0(e,t){return T0.filter(n=>t[n]!==void 0||(e==null?void 0:e[n])!==void 0)}const Vo={x:0,y:0,width:0,height:0},wn=.1,En=.1;function Ve(e){return Number.isFinite(e)?e:0}function qn(e){return{x:Ve(e.x),y:Ve(e.y),width:Math.max(0,Ve(e.width)),height:Math.max(0,Ve(e.height))}}function Mu(e){if(e)return{width:Math.max(0,Ve(e.width)),height:Math.max(0,Ve(e.height))}}function D0(e){return Math.abs(e.x)<wn&&Math.abs(e.y)<wn&&Math.abs(e.width)<wn&&Math.abs(e.height)<wn}function Cs(e,t,n,r,o,i,a){const s=Math.max(0,Ve(a.durationMs)),l=Pu(s,a.bounce);return{tag:"Animating",activeId:e,mode:a.mode,durationMs:s,stiffness:l.stiffness,damping:l.damping,elapsedMs:0,startRect:t,current:n,velocity:r,target:o,containerSize:i}}function Nu(e){if(e.tag==="Hidden")return Tu();const t=e.tag==="Settled"?e.rect.x:e.current.x,n=e.tag==="Settled"?e.rect.x:e.target.x;return{phase:e.tag==="Settled"?"settled":"animating",activeTarget:1,indicatorX:t,counterX:-t,targetX:n,remainingTicks:e.tag==="Animating"?1:0,rafScheduled:e.tag==="Animating",cssTransitionActive:!1}}function M0(e,t){const n=qn(t.targetRect),r=Mu(t.containerSize),o=Math.max(0,Ve(t.transition.durationMs)),i=t.reducedMotion||o<=0;if(I0(Nu(e),1,n.x,i).phase==="hidden")return Kn;if(e.tag==="Hidden"||i)return{tag:"Settled",activeId:t.activeId,rect:n,containerSize:r};if(e.tag==="Settled")return As(e.rect,n)?{tag:"Settled",activeId:t.activeId,rect:n,containerSize:r}:Cs(t.activeId,e.rect,e.rect,Vo,n,r,t.transition);if(As(e.current,n)&&D0(e.velocity))return{tag:"Settled",activeId:t.activeId,rect:n,containerSize:r};const a=t.transition.mode==="spring"?e.velocity:Vo;return Cs(t.activeId,e.current,e.current,a,n,r,t.transition)}function N0(e,t){const n=Number.isFinite(t)&&t>0?Math.min(t,100):16,r=e.elapsedMs+n;if(e.mode==="tween"){const u=e.durationMs<=0?1:Math.min(1,r/e.durationMs);if(u>=1)return{tag:"Settled",activeId:e.activeId,rect:e.target,containerSize:e.containerSize};const d=Ou(u);return w(w({},e),{},{elapsedMs:r,current:qn({x:e.startRect.x+(e.target.x-e.startRect.x)*d,y:e.startRect.y+(e.target.y-e.startRect.y)*d,width:e.startRect.width+(e.target.width-e.startRect.width)*d,height:e.startRect.height+(e.target.height-e.startRect.height)*d}),velocity:Vo})}const o=Math.min(.05,Math.max(.001,n/1e3)),i=Math.max(e.durationMs*4,1500),a=Ht(e.current.x,e.velocity.x,e.target.x,e.stiffness,e.damping,o,En),s=Ht(e.current.y,e.velocity.y,e.target.y,e.stiffness,e.damping,o,En),l=Ht(e.current.width,e.velocity.width,e.target.width,e.stiffness,e.damping,o,En),c=Ht(e.current.height,e.velocity.height,e.target.height,e.stiffness,e.damping,o,En);return a.settled&&s.settled&&l.settled&&c.settled||r>=i?{tag:"Settled",activeId:e.activeId,rect:e.target,containerSize:e.containerSize}:w(w({},e),{},{elapsedMs:r,current:qn({x:a.value,y:s.value,width:l.value,height:c.value}),velocity:{x:a.velocity,y:s.velocity,width:l.velocity,height:c.velocity}})}const Kn={tag:"Hidden"};function jt(e,t){switch(t.tag){case"TargetMissing":case"NodeReplaced":return L0().phase==="hidden",Kn;case"Sync":return M0(e,t);case"Remeasure":{const n=qn(t.targetRect),r=Mu(t.containerSize);return R0(Nu(e),n.x).phase==="hidden"||e.tag==="Hidden"?e:e.tag==="Settled"?w(w({},e),{},{rect:n,containerSize:r}):w(w({},e),{},{target:n,containerSize:r})}case"Tick":return e.tag==="Animating"?N0(e,t.dtMs):e}}function V0(e,t){if(e.tag==="Hidden")return{visible:!1,needsTick:!1};const n=e.tag==="Settled"?e.rect:e.current,r=t&&e.containerSize?{x:-n.x,y:-n.y}:void 0;return w(w({visible:!0,rect:n},r?{counterOffset:r,containerSize:e.containerSize}:{}),{},{needsTick:e.tag==="Animating"})}const $0=200;function Vu(e){e&&(e.style.removeProperty("transform"),e.style.removeProperty("transform-origin"),e.style.removeProperty("width"),e.style.removeProperty("height"),e.style.removeProperty("opacity"),e.style.removeProperty("transition"),e.style.removeProperty("pointer-events"),e.style.removeProperty("overflow"))}function $u(e){e&&(e.style.removeProperty("transform"),e.style.removeProperty("width"),e.style.removeProperty("height"),e.style.removeProperty("transition"),e.style.removeProperty("pointer-events"))}function $o(e,t,n){const r=V0(n,t!==null);return e.style.transition="none",!r.visible||!r.rect?(e.style.opacity="0",!1):(e.style.pointerEvents="none",e.style.transformOrigin="left top",e.style.width=`${r.rect.width}px`,e.style.height=`${r.rect.height}px`,e.style.transform=`translate3d(${r.rect.x}px, ${r.rect.y}px, 0)`,e.style.opacity="1",t&&r.counterOffset&&r.containerSize&&(e.style.overflow="hidden",t.style.pointerEvents="none",t.style.transition="none",t.style.width=`${r.containerSize.width}px`,t.style.height=`${r.containerSize.height}px`,t.style.transform=`translate3d(${r.counterOffset.x}px, ${r.counterOffset.y}px, 0)`),r.needsTick)}function Fu(e,t,n,r){e&&(t.observedContainer!==n&&(t.observedContainer&&e.unobserve(t.observedContainer),n&&e.observe(n),t.observedContainer=n),t.observedActive!==r&&(t.observedActive&&e.unobserve(t.observedActive),r&&e.observe(r),t.observedActive=r))}function xs(e,t,n,r,o){const i=ce(e,t.containerId),a=ce(e,t.indicatorId),s=t.activeId?ce(e,t.activeId):null,l=t.counterTargetId?ce(e,t.counterTargetId):null;if(t.appliedIndicator&&t.appliedIndicator!==a&&(Vu(t.appliedIndicator),t.state=jt(t.state,{tag:"NodeReplaced"})),t.appliedCounter&&t.appliedCounter!==l&&$u(t.appliedCounter),t.appliedIndicator=a,t.appliedCounter=l,Fu(n,t,i,s),!i||!a)return;if(!s||!t.activeId){t.state=jt(t.state,{tag:"TargetMissing"}),$o(a,l,t.state);return}const c=k0(i,s),u=l?x0(i):void 0,d=Du(i,e.document);r||t.state.tag==="Hidden"?t.state=jt(t.state,{tag:"Sync",activeId:t.activeId,targetRect:c,containerSize:u,transition:t.transition,reducedMotion:d}):t.state=jt(t.state,{tag:"Remeasure",targetRect:c,containerSize:u}),$o(a,l,t.state)&&o()}function F0(e){var t,n,r;const o=(t=e.transition)===null||t===void 0?void 0:t.durationMs,i=typeof o=="number"&&Number.isFinite(o)&&o>=0?o:$0;return{mode:((n=e.transition)===null||n===void 0?void 0:n.type)==="tween"?"tween":"spring",durationMs:i,bounce:typeof((r=e.transition)===null||r===void 0?void 0:r.bounce)=="number"&&Number.isFinite(e.transition.bounce)?e.transition.bounce:0}}function B0(e,t){let n=!1;for(const r of e.values())r.state.tag==="Animating"&&(r.state=jt(r.state,{tag:"Tick",dtMs:t}),r.appliedIndicator&&$o(r.appliedIndicator,r.appliedCounter,r.state)&&(n=!0));return n}function W0(e){let t=0;for(const n of e.values())n.state.tag==="Animating"&&(t+=1);return t}function z0(e,t=()=>{}){var n,r;const o=new Map,i=e.document.defaultView,a=(n=i==null?void 0:i.ResizeObserver)!==null&&n!==void 0?n:globalThis.ResizeObserver,s=(r=i==null?void 0:i.MutationObserver)!==null&&r!==void 0?r:globalThis.MutationObserver,l=()=>{for(const m of o.values())xs(e,m,c,!1,t)},c=typeof a=="function"?new a(l):void 0,u=typeof s=="function"?new s(l):void 0;u==null||u.observe(e.rootContainer,{childList:!0,subtree:!0});const d=m=>{var g;const v=m.layout;if(!v)return;const _=F0(m),y=(g=o.get(m.token))!==null&&g!==void 0?g:{containerId:v.containerId,indicatorId:m.targetId,activeId:v.activeId,counterTargetId:v.counterTargetId,transition:_,state:Kn,appliedIndicator:null,appliedCounter:null,observedContainer:null,observedActive:null};y.containerId=v.containerId,y.indicatorId=m.targetId,y.activeId=v.activeId,y.counterTargetId=v.counterTargetId,y.transition=_,o.set(m.token,y),xs(e,y,c,!0,t)},f=m=>{const g=o.get(m);g&&(Fu(c,g,null,null),Vu(g.appliedIndicator),$u(g.appliedCounter),o.delete(m))};return{sync:d,step:m=>B0(o,m),activeCount:()=>W0(o),remove:f,dispose:()=>{for(const m of[...o.keys()])f(m);c==null||c.disconnect(),u==null||u.disconnect()}}}function H0(e,t){return ce(e,t)}function Bu(e,t){const n=Math.min(.05,Math.max(.001,t/1e3));e.elapsedMs+=t;let r=!0;for(const s of Object.keys(e.targets)){var o,i;const l=e.targets[s],c=(o=e.values[s])!==null&&o!==void 0?o:No(s);if(e.mode==="tween"){var a;const f=e.durationMs<=0?1:Math.min(1,e.elapsedMs/e.durationMs),p=(a=e.startValues[s])!==null&&a!==void 0?a:c;e.values[s]=p+(l-p)*Ou(f),e.velocities[s]=0,f<1&&(r=!1);continue}const u=s==="opacity"||s==="scale"||s==="scaleX"||s==="scaleY"?.002:.1,d=Ht(c,(i=e.velocities[s])!==null&&i!==void 0?i:0,l,e.stiffness,e.damping,n,u);e.values[s]=d.value,e.velocities[s]=d.velocity,d.settled||(r=!1)}return e.element&&vi(e.element,e.values),r}function j0(e,t,n,r){var o,i,a,s,l,c;const u=O0(t.initial,n),d=r?"tween":(o=(i=t.transition)===null||i===void 0?void 0:i.type)!==null&&o!==void 0?o:"spring",f=r?140:(a=(s=t.transition)===null||s===void 0?void 0:s.durationMs)!==null&&a!==void 0?a:d==="spring"?240:200,p=Pu(f,(l=(c=t.transition)===null||c===void 0?void 0:c.bounce)!==null&&l!==void 0?l:0);e.mode=d,e.durationMs=Math.max(0,f),e.stiffness=p.stiffness,e.damping=p.damping,e.elapsedMs=0,e.runId=t.runId,e.targets={},e.startValues={};let m=!1;for(const b of u){var g,v,_,y;const E=(g=n[b])!==null&&g!==void 0?g:No(b),S=!e.initialized&&((v=t.initial)===null||v===void 0?void 0:v[b])!==void 0?t.initial[b]:(_=e.values[b])!==null&&_!==void 0?_:No(b);if(r&&P0.has(b)){e.values[b]=E,e.velocities[b]=0;continue}e.values[b]=S,e.startValues[b]=S,e.targets[b]=E,(Math.abs(E-S)>1e-4||Math.abs((y=e.velocities[b])!==null&&y!==void 0?y:0)>1e-4)&&(m=!0)}return e.initialized=!0,e.snapshot={token:e.token,targetId:e.targetId,runId:e.runId,mode:e.mode,stiffness:e.stiffness,damping:e.damping,durationMs:e.durationMs,values:w({},e.values),velocities:w({},e.velocities),startValues:w({},e.startValues),targets:w({},e.targets),dtHistory:[]},e.element&&vi(e.element,e.values),m}function G0(e,t){return{token:e.token,targetId:e.targetId,element:t,values:{},velocities:{},startValues:{},targets:{},mode:"spring",stiffness:400,damping:40,durationMs:240,elapsedMs:0,runId:e.runId,active:!1,initialized:!1}}function U0(e,t,n,r,o,i){const a=H0(e,n.targetId);let s=t.get(n.token);if(!s||s.targetId!==n.targetId?(s=G0(n,a),t.set(n.token,s)):s.element=a,!a||!j0(s,n,r,Du(a,e.document))){s.active=!1,o({token:n.token,runId:n.runId});return}s.active=!0,i()}function q0(e,t,n,r){return{getMode:n.getMode,setMode:n.setMode,step:(o=16)=>(n.step(o),{activeCount:[...e.values()].filter(i=>i.active).length+t(),elapsedMs:r()}),sampleRunProgress:(o,i,a=16)=>{const s=e.get(o);if(s)return C0(s,i,(l,c)=>Bu(l,c),l=>{const c=l;c.element&&vi(c.element,c.values)},a)},listRuns:()=>[...e.values()].map(o=>({token:o.token,targetId:o.targetId,runId:o.runId,mode:o.mode,active:o.active,elapsedMs:o.elapsedMs,values:w({},o.values)}))}}function K0(e,t){const n=new Map;let r=0,o=()=>{};const i=z0(e,()=>o()),a=A0(e.document,l=>{let c=i.step(l);r+=l;for(const d of n.values()){var u;d.active&&((u=d.snapshot)===null||u===void 0||u.dtHistory.push(l),Bu(d,l)?(d.active=!1,t({token:d.token,runId:d.runId})):c=!0)}return c});o=a.schedule;const s=S0(e.document,q0(n,i.activeCount,a,()=>r));return{sync(l){l.layout?i.sync(l):i.remove(l.token),l.animate?U0(e,n,l,l.animate,t,a.schedule):(n.delete(l.token),n.size===0&&i.activeCount()===0&&a.stop())},remove(l){i.remove(l),n.delete(l),n.size===0&&i.activeCount()===0&&a.stop()},dispose(){s(),i.dispose(),a.stop(),n.clear()}}}const X0=[{type:"sw-motion",onAttach:D(function*(){const e=yield*ae,t=yield*be,n=yield*he,r=yield*ee(),o=K0(e,i=>{r(n.emit(Gd,i).pipe(te))});yield*t.registerCommand(kd,i=>x(()=>{o.sync(i)})),yield*t.registerCommand(Id,i=>x(()=>{o.remove(i.token)})),yield*ne(()=>x(()=>{o.dispose()}))})}];function $e(e,t,n){return e<t?t:e>n?n:e}function Wu(e,t,n,r,o){const i=e>0?e:1,a=t>=i?t:i,s=$e(n,i,a);return{zoom:r?$e(o,i,a):s,panX:0,panY:0,minZoom:i,maxZoom:a,defaultZoom:s,isControlled:r,spacePressed:!1,dragPhase:"idle",dragFromSpace:!1,pointerCaptured:!1,hasPendingAnchor:!1,pendingAnchorZoom:0,pendingAnchorCx:0,pendingAnchorCy:0}}const Y0={hasPendingAnchor:!1,pendingAnchorZoom:0,pendingAnchorCx:0,pendingAnchorCy:0};function Z0(e,t){const n=t.minZoom>0?t.minZoom:e.minZoom,r=t.maxZoom>=n?t.maxZoom:n,o=$e(t.defaultZoom,n,r),i=w(w({},e),{},{minZoom:n,maxZoom:r,defaultZoom:o,isControlled:t.isControlled},Y0);if(t.resetChanged){const s=t.isControlled?$e(t.controlledZoom,n,r):o;return{next:w(w({},i),{},{zoom:s,panX:0,panY:0}),shouldEmit:!t.isControlled&&s!==e.zoom,emitZoom:s}}if(t.isControlled){const s=$e(t.controlledZoom,n,r),l=e.hasPendingAnchor&&t.anchorMatched;return{next:w(w({},i),{},{zoom:s,panX:l?t.anchoredPanX:e.panX,panY:l?t.anchoredPanY:e.panY}),shouldEmit:!1,emitZoom:s}}const a=$e(e.zoom,n,r);return{next:w(w({},i),{},{zoom:a}),shouldEmit:!1,emitZoom:a}}function Q0(e,t,n,r,o,i){const a=$e(t,e.minZoom,e.maxZoom);return a===e.zoom?{next:e,shouldEmit:!1,emitZoom:e.zoom}:e.isControlled?{next:w(w({},e),{},{hasPendingAnchor:!0,pendingAnchorZoom:a,pendingAnchorCx:o,pendingAnchorCy:i}),shouldEmit:!0,emitZoom:a}:{next:w(w({},e),{},{zoom:a,panX:n,panY:r,hasPendingAnchor:!1,pendingAnchorZoom:0,pendingAnchorCx:0,pendingAnchorCy:0}),shouldEmit:!0,emitZoom:a}}function J0(e){const t=e.zoom!==e.defaultZoom;return{next:w(w({},e),{},{panX:0,panY:0,zoom:e.isControlled?e.zoom:e.defaultZoom,hasPendingAnchor:!1,pendingAnchorZoom:0,pendingAnchorCx:0,pendingAnchorCy:0}),shouldEmit:t,emitZoom:e.defaultZoom}}function ks(e,t){return e.spacePressed===t?e:w(w({},e),{},{spacePressed:t})}function ew(e,t,n){if(e.dragPhase!=="idle")return{next:e,started:!1,preventDefault:!1};const r=!t&&e.spacePressed;return!t&&!r&&n?{next:e,started:!1,preventDefault:!1}:{next:w(w({},e),{},{dragPhase:"pending",dragFromSpace:r,pointerCaptured:!1}),started:!0,preventDefault:t||r}}function tw(e,t,n,r){return e.dragPhase==="idle"?{next:e,moved:!1,enteredPanning:!1}:e.dragPhase==="pending"&&!t?{next:e,moved:!1,enteredPanning:!1}:{next:w(w({},e),{},{dragPhase:"panning",pointerCaptured:!0,panX:n,panY:r}),moved:!0,enteredPanning:e.dragPhase==="pending"}}function nw(e){if(e.dragPhase==="idle")return{next:e,wasPanning:!1,shouldSuppressClick:!1};const t=e.dragPhase==="panning",n=t||e.dragFromSpace;return{next:w(w({},e),{},{dragPhase:"idle",dragFromSpace:!1,pointerCaptured:!1}),wasPanning:t,shouldSuppressClick:n}}function rw(e){return typeof e=="number"&&Number.isFinite(e)&&e>0?e:.25}function ow(e,t){return typeof e=="number"&&Number.isFinite(e)&&e>=t?e:Math.max(t,3)}function iw(e,t,n){return yi(typeof e=="number"&&Number.isFinite(e)&&e>0?e:1,t,n)}function yi(e,t,n){return $e(e,t,n)}function aw(e){return Math.round(e*1e3)/1e3}function sw(e,t,n,r){return aw(yi(e*Math.exp(-t*.0025),n,r))}function zu(e,t,n,r,o,i){if(n<=0)return{panX:e,panY:t};const a=r/n;return{panX:o-(o-e)*a,panY:i-(i-t)*a}}function lw(e){const t=e.defaultView,n=e.documentElement;if(t&&n&&typeof t.getComputedStyle=="function"){const r=Number.parseFloat(t.getComputedStyle(n).fontSize);if(Number.isFinite(r)&&r>0)return r}return 16}const cw=3,uw=["button","input","textarea","select","a","label",'[role="button"]','[role="radio"]','[role="checkbox"]','[role="switch"]','[role="slider"]','[role="separator"]','[role="menuitem"]','[tabindex]:not([tabindex="-1"])','[contenteditable="true"]',"[data-sw-pan-zoom-interactive]"].join(", ");function Hu(e){if(!e||typeof e!="object")return null;const t=e;return t.nodeType===1?t:t.nodeType===3?t.parentElement:null}function ju(e,t){let n=Hu(e);if(!n||!t.contains(n))return!1;for(;n&&n!==t;){if(n.matches(uw))return!0;n=n.parentElement}return!1}function Is(e){var t,n;const r=Hu(e);if(!r)return!1;const o=(t=r.tagName)===null||t===void 0?void 0:t.toLowerCase();if(o==="input"||o==="textarea"||o==="select")return!0;const i=(n=r.getAttribute)===null||n===void 0?void 0:n.call(r,"contenteditable");return i==="true"||i===""||!!r.isContentEditable}function dw(e,t){if(t.defaultPrevented||!t.ctrlKey&&!t.metaKey)return;const{viewport:n,state:r,syncView:o,emitZoom:i}=e;t.preventDefault();const a=n.getBoundingClientRect(),s=t.clientX-(a.left+a.width/2),l=t.clientY-(a.top+a.height/2),c=r.machine,u=sw(c.zoom,t.deltaY,c.minZoom,c.maxZoom),d=zu(c.panX,c.panY,c.zoom,u,s,l),f=Q0(c,u,d.panX,d.panY,s,l);r.machine=f.next,f.shouldEmit&&(f.next.isControlled||o(),i(f.emitZoom))}function fw(e){const t=r=>{r.preventDefault(),r.stopPropagation()};e.addEventListener("click",t,!0);const n=setTimeout(()=>e.removeEventListener("click",t,!0),0);return()=>{clearTimeout(n),e.removeEventListener("click",t,!0)}}function Rs(e,t,n){try{var r,o;n?(r=e.setPointerCapture)===null||r===void 0||r.call(e,t):(o=e.releasePointerCapture)===null||o===void 0||o.call(e,t)}catch{}}function pw(e){const{doc:t,root:n,viewport:r,stage:o,state:i,syncView:a}=e;let s=null,l;const c=f=>{if(f.button!==0&&f.button!==1)return;const p=ew(i.machine,f.button===1,ju(f.target,o));p.started&&(p.preventDefault&&f.preventDefault(),i.machine=p.next,s={pointerId:f.pointerId,startX:f.clientX,startY:f.clientY,startPanX:p.next.panX,startPanY:p.next.panY})},u=f=>{if(!s||f.pointerId!==s.pointerId)return;const p=f.clientX-s.startX,m=f.clientY-s.startY,g=tw(i.machine,Math.hypot(p,m)>cw,s.startPanX+p,s.startPanY+m);i.machine=g.next,g.moved&&(g.enteredPanning&&(n.setAttribute("data-panning","true"),Rs(r,s.pointerId,!0)),a())},d=f=>{if(!s||f.pointerId!==s.pointerId)return;const p=s.pointerId;s=null;const m=nw(i.machine);i.machine=m.next,m.wasPanning&&(Rs(r,p,!1),n.removeAttribute("data-panning")),m.shouldSuppressClick&&(l==null||l(),l=fw(r))};return r.addEventListener("pointerdown",c),t.addEventListener("pointermove",u),t.addEventListener("pointerup",d),t.addEventListener("pointercancel",d),()=>{l==null||l(),r.removeEventListener("pointerdown",c),t.removeEventListener("pointermove",u),t.removeEventListener("pointerup",d),t.removeEventListener("pointercancel",d)}}function mw(e,t,n,r){var o;let i=!1;const a=()=>{r.machine.spacePressed&&(r.machine=ks(r.machine,!1),t.removeAttribute("data-space-pan"))},s=()=>{i=!0},l=()=>{i=!1},c=d=>{d.key!==" "&&d.code!=="Space"||Is(e.activeElement)||Is(d.target)||!i&&!t.contains(e.activeElement)||(d.preventDefault(),!r.machine.spacePressed&&(r.machine=ks(r.machine,!0),t.setAttribute("data-space-pan","true")))},u=d=>{(d.key===" "||d.code==="Space")&&a()};return n.addEventListener("pointerenter",s),n.addEventListener("pointerleave",l),e.addEventListener("keydown",c),e.addEventListener("keyup",u),(o=e.defaultView)===null||o===void 0||o.addEventListener("blur",a),()=>{var d;n.removeEventListener("pointerenter",s),n.removeEventListener("pointerleave",l),e.removeEventListener("keydown",c),e.removeEventListener("keyup",u),(d=e.defaultView)===null||d===void 0||d.removeEventListener("blur",a)}}function hw(e,t,n){var r,o;const i=(r=(o=e.defaultView)===null||o===void 0?void 0:o.ResizeObserver)!==null&&r!==void 0?r:globalThis.ResizeObserver;return ie(x(()=>{if(typeof i!="function")return;const a=new i(n);return a.observe(t),a}),a=>x(()=>a==null?void 0:a.disconnect())).pipe(ar)}function gw(e){return D(function*(){const{doc:t,root:n,viewport:r,stage:o,state:i,syncView:a,emitZoom:s}=e,l=f=>dw(e,f),c=f=>{if(ju(f.target,o))return;const p=J0(i.machine);i.machine=p.next,a(),p.shouldEmit&&s(p.emitZoom)};yield*ie(x(()=>{r.addEventListener("wheel",l,{passive:!1}),r.addEventListener("dblclick",c)}),()=>x(()=>{r.removeEventListener("wheel",l),r.removeEventListener("dblclick",c)}));const u=pw(e);yield*ne(()=>x(()=>u()));const d=mw(t,n,r,i);yield*ne(()=>x(()=>d())),yield*hw(t,r,a)})}const vw={position:"relative",display:"flex",flex:"1",width:"100%",height:"100%",minWidth:"0px",minHeight:"0px",overflow:"hidden",borderTopWidth:"0px",borderRightWidth:"0px",borderBottomWidth:"0px",borderLeftWidth:"0px",touchAction:"none"},yw=`
217
- [data-sw-pan-zoom-viewport] {
218
- cursor: grab !important;
219
- touch-action: none;
220
- }
221
- [data-sw-pan-zoom][data-space-pan="true"],
222
- [data-sw-pan-zoom][data-space-pan="true"] * {
223
- cursor: grab !important;
224
- }
225
- [data-sw-pan-zoom][data-panning="true"],
226
- [data-sw-pan-zoom][data-panning="true"] * {
227
- cursor: grabbing !important;
228
- user-select: none !important;
229
- }
230
- `;function _w(e){return e==="light"||e==="dark"?e:"none"}function bw(e,t,n,r,o,i,a){if(n.style.transform=`translate3d(${o}px, ${i}px, 0) scale(${r})`,a==="none"){t.style.backgroundColor="transparent",t.style.backgroundImage="none",t.style.removeProperty("background-size"),t.style.removeProperty("background-position");return}const s=a==="dark",l=lw(e)*r,c=t.getBoundingClientRect(),u=c.width||t.clientWidth||0,d=c.height||t.clientHeight||0;t.style.backgroundColor=s?"#09090b":"#fafafa",t.style.backgroundImage=s?"radial-gradient(circle, #27272a 1px, transparent 1px)":"radial-gradient(circle, #d4d4d8 1px, transparent 1px)",t.style.backgroundSize=`${l}px ${l}px`,t.style.backgroundPosition=`${u/2+o}px ${d/2+i}px`}let ww=0;function Ew(e){const t=e.createElement("div");t.setAttribute("data-sw-pan-zoom","true");const n=e.createElement("div");n.setAttribute("data-sw-pan-zoom-viewport","true"),n.style.width="100%",n.style.height="100%",n.style.display="flex",n.style.alignItems="center",n.style.justifyContent="center",n.style.overflow="hidden",n.style.position="relative";const r=e.createElement("div");return r.setAttribute("data-sw-pan-zoom-stage","true"),r.style.display="flex",r.style.flexDirection="column",r.style.alignItems="center",r.style.justifyContent="center",r.style.flexShrink="0",r.style.width="fit-content",r.style.maxWidth="none",r.style.transformOrigin="center center",n.appendChild(r),t.appendChild(n),{root:t,viewport:n,stage:r}}function Sw(e,t,n,r,o){e.id=J(r,"pan-zoom",t.id,t.autoId,o),typeof t.ariaLabel=="string"&&t.ariaLabel.length>0?e.setAttribute("aria-label",t.ariaLabel):e.removeAttribute("aria-label"),e.setAttribute("data-grid",n)}function Aw(e,t,n,r){const o=rw(t.minZoom),i=ow(t.maxZoom,o),a=iw(t.defaultZoom,o,i),s=typeof t.zoom=="number"&&Number.isFinite(t.zoom),l=s?t.zoom:a,c=!n&&!Object.is(t.resetSignal,e.resetSignal);if(e.resetSignal=t.resetSignal,e.grid=_w(t.grid),n){e.machine=Wu(o,i,a,s,l);return}const u=e.machine,d=yi(l,o,i),f=u.hasPendingAnchor&&Math.abs(d-u.pendingAnchorZoom)<1e-6,p=f?zu(u.panX,u.panY,u.zoom,d,u.pendingAnchorCx,u.pendingAnchorCy):{panX:u.panX,panY:u.panY},m=Z0(u,{minZoom:o,maxZoom:i,defaultZoom:a,isControlled:s,controlledZoom:l,resetChanged:c,anchorMatched:f,anchoredPanX:p.panX,anchoredPanY:p.panY});e.machine=m.next,m.shouldEmit&&r(m.emitZoom)}function Cw(e){return D(function*(){const t=yield*ae,n=yield*or,r=yield*ee(),o=t.document,i=++ww,{root:a,viewport:s,stage:l}=Ew(o);let c=e,u;const d={machine:Wu(.25,3,1,!1,1),resetSignal:e.resetSignal,grid:"none"},f=g=>{const v=Array.isArray(c.__events)?c.__events:void 0;(!v||v.includes("onZoomChange"))&&r(n.dispatchEvent("onZoomChange",g))},p=()=>{const{zoom:g,panX:v,panY:_}=d.machine;bw(o,s,l,g,v,_,d.grid)},m=(g,v)=>{c=g;const _=g.style;j(a,_,u,vw),u=_,Aw(d,g,v,f),Sw(a,g,d.grid,t,i),p()};return m(e,!0),yield*gw({doc:o,root:a,viewport:s,stage:l,state:d,syncView:p,emitZoom:f}),{element:a,childContainer:l,update:g=>m(g,!1)}})}const xw=[{type:"sw-pan-zoom",styles:yw,onMount:Cw}];function kw(){return{layerCount:0,activeCount:0,activeModalCount:0,listenersMounted:!1,overflowLocked:!1,scheduled:!1,nextOrder:0}}function Iw(e,t,n,r){return e?t?n:r:!1}function Rw(e){return 1e3+e}function Gu(e,t){return e&&t}function Uu(e,t){return e&&t}function Lw(e,t,n,r){return e?n&&r?"autofocus":t?"none":"modal":n?"autofocus":"none"}function Tw(e){const t=!e.listenersMounted,n=!e.scheduled;return{next:w(w({},e),{},{layerCount:e.layerCount+1,listenersMounted:!0,scheduled:!0}),shouldMountListeners:t,shouldSchedule:n}}function Pw(e){return e.layerCount<=0||e.scheduled?{next:e,shouldSchedule:!1}:{next:w(w({},e),{},{scheduled:!0}),shouldSchedule:!0}}function Ow(e){return e.scheduled?w(w({},e),{},{scheduled:!1}):e}function Dw(e){const t=e.nextOrder+1;return{next:w(w({},e),{},{nextOrder:t}),order:t}}function Mw(e,t,n){const r=t<0?0:t>e.layerCount?e.layerCount:t,o=n<0?0:n>r?r:n,i=o>0,a=!e.overflowLocked&&i,s=e.overflowLocked&&!i;return{next:w(w({},e),{},{activeCount:r,activeModalCount:o,overflowLocked:i}),lockOverflow:a,unlockOverflow:s}}function Nw(e){if(e.layerCount<=0)return{next:e,shouldUnmountListeners:!1};const t=e.layerCount-1,n=e.activeCount>t?t:e.activeCount,r=e.activeModalCount>n?n:e.activeModalCount,o=t===0&&e.listenersMounted;return{next:w(w({},e),{},{layerCount:t,activeCount:n,activeModalCount:r,listenersMounted:t>0,overflowLocked:r>0,scheduled:!1}),shouldUnmountListeners:o}}function Vw(e){return!!e.inert||e.hasAttribute("inert")||e.getAttribute("aria-hidden")==="true"}function $w(e){if("inert"in e){const n={native:!0,inert:e.inert};return e.inert=!0,n}const t={native:!1,hadInert:e.hasAttribute("inert"),ariaHidden:e.getAttribute("aria-hidden")};return e.setAttribute("inert",""),e.setAttribute("aria-hidden","true"),t}function Fw(e,t){if(t.native){e.inert=t.inert;return}t.hadInert||e.removeAttribute("inert"),t.ariaHidden===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",t.ariaHidden)}const Bw='button:not([disabled]), input:not([disabled]), textarea:not([disabled]), select:not([disabled]), a[href], [tabindex]:not([tabindex="-1"])';function qu(e){return[...e.element.querySelectorAll(Bw)].filter(t=>{if(t.tabIndex<0||t.matches(":disabled, [disabled]"))return!1;for(let o=t;o;o=o.parentElement){var n,r;const i=(n=o.ownerDocument.defaultView)===null||n===void 0?void 0:n.getComputedStyle(o);if(o.hidden||Vw(o)||(i==null?void 0:i.display)==="none"||(i==null?void 0:i.visibility)==="hidden"||(i==null?void 0:i.visibility)==="collapse"||o.matches("fieldset[disabled]")&&!(!((r=[...o.children].find(a=>a.tagName==="LEGEND"))===null||r===void 0)&&r.contains(t)))return!1}return!0})}function Fo(e){var t;((t=qu(e)[0])!==null&&t!==void 0?t:e.element).focus()}function Ww(e,t,n,r){if(e.key==="Escape"&&(e.stopPropagation(),Gu(!0,t.props.closeOnEscape!==!1)&&(e.preventDefault(),t.requestClose("escape"))),e.key==="Tab"&&r.length){var o;const i=r.flatMap(qu),a=(o=i[0])!==null&&o!==void 0?o:r[0].element,s=i.length>0?i[i.length-1]:r[0].element;e.shiftKey&&(n.activeElement===a||r.some(l=>n.activeElement===l.element))?(e.preventDefault(),s.focus()):!e.shiftKey&&(n.activeElement===s||!r.some(l=>l.element.contains(n.activeElement)))&&(e.preventDefault(),a.focus())}}let zw=0;const Xn=new WeakMap,_i=e=>e.length>0?e[e.length-1]:void 0;function Ls(e,t){var n;const r=e.target===t.document?t.document.activeElement:e.target,o=r==null||(n=r.closest)===null||n===void 0?void 0:n.call(r,"[data-sw-host-root], [data-sw-overlay-root]");return(o==null?void 0:o.parentElement)===t.rootContainer}function Yn(e,t){return t.find(n=>n!==e&&n.element.contains(e.anchor))}function bi(e,t,n){const r=Yn(e,n);return!!(r&&(r===t||bi(r,t,n)))}function Zn(e){const t=e.filter(r=>r.active).sort((r,o)=>{var i,a;return((i=r.order)!==null&&i!==void 0?i:0)-((a=o.order)!==null&&a!==void 0?a:0)}),n=r=>t.filter(o=>Yn(o,e)===r).flatMap(o=>[o,...n(o)]);return n()}function Qn(e){const t=Zn(e),n=[...t].reverse().find(r=>!!r.props.modal);return n?t.filter(r=>r===n||bi(r,n,e)):[]}function Ts(e,t,n){var r;if(!e||t.props.modal||!t.props.closeOnOutsidePress||t.element.contains(e))return!1;const o=t.props.anchorId,i=typeof o=="string"&&o&&(r=ce(n,o))!==null&&r!==void 0?r:void 0;return!i||!i.contains(e)}function Hw(e,t,n,r,o){if(n&&Uu(r.includes(n),n.props.restoreFocus!==!1)){const u=[...r].reverse().map(d=>d.previousFocus).find(d=>(d==null?void 0:d.isConnected)&&!d.closest('[inert], [aria-hidden="true"]'));u==null||u.focus()}const i=Qn(t),a=_i(o),s=i.some(u=>u.element.contains(e.document.activeElement)),l=!!(a&&i.includes(a)),c=Lw(i.length>0,s,!!a,l);c==="modal"&&i[0]?Fo(i[0]):c==="autofocus"&&a&&Fo(a)}function jw(e,t,n,r){const o=new Map;let i;const a=s=>{const l=Yn(s,t);return l?a(l)+1:0};return()=>{o.forEach((p,m)=>Fw(m,p)),o.clear();const s=_i(Zn(t)),l=[],c=[];r(Ow(n())),t.sort((p,m)=>a(p)-a(m));for(const p of[...t]){const m=Yn(p,t),g=Iw(!!p.props.open,!!m,!!(m!=null&&m.active),p.anchor.isConnected);if(g&&!p.active){const v=Dw(n());r(v.next),p.previousFocus=p.props.restoreFocus===!1?void 0:e.document.activeElement,e.overlayContainer.appendChild(p.element),p.active=!0,p.order=v.order,!p.props.modal&&p.props.autoFocus&&c.push(p)}else!g&&p.active&&(p.active=!1,p.element.remove(),l.push(p))}const u=Zn(t);u.forEach((p,m)=>{p.element.style.zIndex=String(Rw(m))});const d=u.filter(p=>!!p.props.modal).length,f=Mw(n(),u.length,d);if(r(f.next),f.next.overflowLocked){i===void 0&&(i=e.rootContainer.style.overflow),e.rootContainer.style.overflow="hidden";const p=e.rootContainer.querySelector("[data-sw-host-root]"),m=Qn(t);for(const g of[p,...u.filter(v=>!m.includes(v)).map(v=>v.element)])g&&o.set(g,$w(g))}else i!==void 0&&(e.rootContainer.style.overflow=i,i=void 0);Hw(e,t,s,l,c)}}function Gw(e,t,n){const r=e.document;let o=!1;const i=c=>{const u=n();u&&Ls(c,e)&&Ww(c,u,r,Qn(t))},a=c=>{const u=Qn(t);u.length&&Ls(c,e)&&!u.some(d=>d.element.contains(c.target))&&Fo(u[0])},s=c=>{const u=n();!u||!Ts(c.target,u,e)||(o=!0,queueMicrotask(()=>{o=!1}),u.requestClose("outside-press"))},l=c=>{if(o)return;const u=n();u&&Ts(c.target,u,e)&&u.requestClose("outside-press")};return{mount(){r.addEventListener("keydown",i),r.addEventListener("focusin",a),r.addEventListener("pointerdown",s,!0),r.addEventListener("click",l,!0)},unmount(){r.removeEventListener("keydown",i),r.removeEventListener("focusin",a),r.removeEventListener("pointerdown",s,!0),r.removeEventListener("click",l,!0)}}}function Uw(e){const t=[];let n=kw();const r=()=>_i(Zn(t)),o=jw(e,t,()=>n,l=>{n=l}),i=Gw(e,t,r),a=()=>{queueMicrotask(()=>{n.scheduled&&o()})},s={add(l){t.push(l);const c=Tw(n);n=c.next,c.shouldMountListeners&&i.mount(),c.shouldSchedule&&a()},update(){const l=Pw(n);n=l.next,l.shouldSchedule&&a()},isTop:l=>r()===l,remove(l){const c=t.indexOf(l);if(c<0)return;const u=r(),d=u===l||!!(u&&bi(u,l,t));t.splice(c,1),l.element.remove();const f=l.active&&Uu(d,l.props.restoreFocus!==!1)?l.previousFocus:void 0;l.active=!1,n=Nw(n).next,o(),f!=null&&f.isConnected&&f.focus(),t.length===0&&n.layerCount===0&&!n.listenersMounted&&Xn.get(e.overlayContainer)===s&&(i.unmount(),Xn.delete(e.overlayContainer))}};return s}const qw=[{type:"sw-portal",mount(e,t){var n;const r=t.document.createElement("span");r.hidden=!0;const o=t.document.createElement("div"),i=++zw;o.setAttribute("data-sw-portal","true"),o.tabIndex=-1;const a=(n=Xn.get(t.overlayContainer))!==null&&n!==void 0?n:Uw(t);Xn.set(t.overlayContainer,a);const s={anchor:r,element:o,props:e,active:!1,requestClose(d){t.dispatchEvent("onCloseRequest",d),t.dispatchEvent("onOpenChange",!1)}};o.addEventListener("click",d=>{d.target===o&&s.props.modal&&Gu(a.isTop(s),!!s.props.closeOnOutsidePress)&&s.requestClose("outside-press")});let l,c;const u=d=>{s.props=d,o.id=J(t,"portal",d.id,d.autoId,i);const f=d.style;j(o,f,l),l=f;const p=cl(d.themeMode==="dark"?"dark":"light",d.themeTokens);no(o,p,c),c=p;for(const[m,g]of[["role","role"],["ariaLabel","aria-label"],["ariaLabelledBy","aria-labelledby"],["ariaDescribedBy","aria-describedby"]]){const v=d[m];typeof v=="string"&&v.length>0?o.setAttribute(g,v):o.removeAttribute(g)}d.modal?o.setAttribute("aria-modal","true"):o.removeAttribute("aria-modal"),a.update()};return a.add(s),u(e),{element:r,childContainer:o,update:u,dispose:()=>a.remove(s)}}}],Kw=`
231
- [data-sw-pressable] {
232
- -webkit-tap-highlight-color: transparent;
233
- user-select: none;
234
- transition-property: box-shadow, opacity, background-color, border-color, color;
235
- transition-duration: 150ms;
236
- transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
237
- }
238
- a[data-sw-pressable] {
239
- color: inherit;
240
- text-decoration: none;
241
- }
242
- [data-sw-pressable][data-focus-visible="true"][data-focus-ring="true"]:not([data-disabled="true"]) {
243
- box-shadow: 0 0 0 2px var(--sw-background), 0 0 0 4px var(--sw-border-focus);
244
- }
245
- @media (prefers-reduced-motion: reduce) {
246
- [data-sw-pressable] {
247
- transition-duration: 120ms;
248
- }
249
- }
250
- `,Xw=300,It=new WeakMap,Ps=new WeakMap;function bt(e,t){return Array.isArray(e.__events)&&e.__events.includes(t)}function Yw(e,t){if(typeof t!="string"||!t)return!1;const n=It.get(e),r=n==null?void 0:n.get(t);return r?r.active.size>0||r.lastClosedAt!==void 0&&Date.now()-r.lastClosedAt<=Xw?!0:(r.lastClosedAt!==void 0&&(n==null||n.delete(t),n&&!n.size&&It.delete(e)),!1):!1}function Os(e,t,n){if(typeof t!="string"||!t)return;let r=It.get(e);r||(r=new Map,It.set(e,r));let o=r.get(t);o||(o={active:new Set,lastClosedAt:void 0},r.set(t,o)),o.active.add(n)}function eo(e,t,n,r){if(typeof t!="string"||!t)return;const o=It.get(e),i=o==null?void 0:o.get(t);i&&(i.active.delete(n),r&&(i.lastClosedAt=Date.now()),!i.active.size&&i.lastClosedAt===void 0&&(o==null||o.delete(t),o&&!o.size&&It.delete(e)))}function Zw(e,t){const n=e.hoverDelay,r=typeof n=="number"&&Number.isFinite(n)?Math.max(0,Math.min(5e3,n)):0;return r<=0||Yw(t,e.hoverGroup)?0:r}function Ds(e){var t;const n=Ps.get(e);if(n)return n;const r=(t=e.closest)===null||t===void 0?void 0:t.call(e,'[data-sw-floating-anchor="true"]');return r?Ps.get(r):void 0}function Qw(e,t,n){const r=Symbol("hover");let o,i=!1,a=t().hoverGroup;const s=()=>{o!==void 0&&(clearTimeout(o),o=void 0)},l=()=>{s(),i&&(i=!1,eo(e.rootContainer,a,r,!0),e.dispatchEvent("onHoverChange",!1))},c=()=>{var u;const d=t();i||!bt(d,"onHoverChange")||!((u=n.isDisabled)===null||u===void 0)&&u.call(n,d)||n.shouldEnter&&!n.shouldEnter()||(i=!0,a=d.hoverGroup,Os(e.rootContainer,a,r),e.dispatchEvent("onHoverChange",!0))};return{isNotified:()=>i,clearTimer:s,leave:l,scheduleEnter(u){const d=Zw(u,e.rootContainer);d<=0?c():o=setTimeout(()=>{o=void 0,c()},d)},syncGroup(u){!i||u.hoverGroup===a||(eo(e.rootContainer,a,r,!1),a=u.hoverGroup,Os(e.rootContainer,a,r))},dispose(){s(),i&&(i=!1,eo(e.rootContainer,a,r,!1))}}}function Jw(e,t,n,r){const o=Qw(t,n,r);return e.addEventListener("pointerenter",()=>{var i,a;const s=n();!bt(s,"onHoverChange")||!((i=r.isDisabled)===null||i===void 0)&&i.call(r,s)||(o.clearTimer(),(a=Ds(e))===null||a===void 0||a.enterTrigger(),o.isNotified()||o.scheduleEnter(s))}),e.addEventListener("pointerleave",i=>{if(o.clearTimer(),!o.isNotified())return;const a=Ds(e);if(a){a.deferTriggerLeave(i,o.leave);return}o.leave()}),{leave:o.leave,syncGroup:o.syncGroup,dispose:o.dispose}}function eE(e,t,n,r){let o=!1;const i=()=>{o&&(o=!1,bt(n(),"onBlur")&&t.dispatchEvent("onBlur"))};return e.addEventListener("focus",()=>{var a;const s=n();!((a=r.isDisabled)===null||a===void 0)&&a.call(r,s)||(o=!0,bt(s,"onFocus")&&t.dispatchEvent("onFocus"))}),e.addEventListener("blur",()=>{o=!1,bt(n(),"onBlur")&&t.dispatchEvent("onBlur")}),{leave:i}}function Ku(e,t,n,r={}){let o=n;const i=Jw(e,t,()=>o,r),a=eE(e,t,()=>o,r);return{update(s){var l,c;o=s,i.syncGroup(s),(!((l=r.isDisabled)===null||l===void 0)&&l.call(r,s)||!bt(s,"onHoverChange"))&&i.leave(),!((c=r.isDisabled)===null||c===void 0)&&c.call(r,s)&&a.leave()},dispose:i.dispose}}let tE=0;const Jn={display:"flex",flexDirection:"column",boxSizing:"border-box",minWidth:"0px",borderTopWidth:"0px",borderRightWidth:"0px",borderBottomWidth:"0px",borderLeftWidth:"0px"},Ms={container:"div",section:"section",article:"article",nav:"nav",header:"header",footer:"footer",main:"main",aside:"aside",quote:"blockquote",list:"ul","ordered-list":"ol","list-item":"li"};function nE(e){return typeof e=="string"&&Object.prototype.hasOwnProperty.call(Ms,e)?{semantic:e,tag:Ms[e]}:{semantic:"container",tag:"div"}}const rE=`
251
- blockquote[data-sw-view],
252
- ul[data-sw-view],
253
- ol[data-sw-view],
254
- li[data-sw-view] {
255
- margin: 0;
256
- padding: 0;
257
- }
258
- ul[data-sw-view],
259
- ol[data-sw-view] {
260
- list-style: none;
261
- }
262
- `;function Ns(e,t,n,r,o){const i=typeof t.role=="string"&&t.role.length>0?t.role:void 0;e.id=J(n,"view",t.id,t.autoId,r),e.setAttribute("data-sw-view",o),o==="ordered-list"&&typeof t.start=="number"&&Number.isInteger(t.start)?e.setAttribute("start",String(t.start)):e.removeAttribute("start"),i?e.setAttribute("role",i):e.removeAttribute("role"),typeof t.ariaLabel=="string"&&t.ariaLabel.length>0?e.setAttribute("aria-label",t.ariaLabel):e.removeAttribute("aria-label");for(const[a,s]of[["ariaCurrent","aria-current"],["ariaHidden","aria-hidden"],["ariaOrientation","aria-orientation"]])t[a]!==void 0?e.setAttribute(s,String(t[a])):e.removeAttribute(s)}const oE=[{type:"sw-view",styles:rE,mount(e,t){const{semantic:n,tag:r}=nE(e.as),o=t.document.createElement(r),i=++tE;let a=e.style;return j(o,a,void 0,Jn),Ns(o,e,t,i,n),{element:o,update(s){const l=s.style;j(o,l,a,Jn),a=l,Ns(o,s,t,i,n)},invoke(s){return s==="measure"?ll(o):Promise.reject(new ue({method:s,message:`Unsupported method "${s}" on sw-view.`}))}}}}],iE="button, input, textarea, select, a[href], [data-sw-pressable]",aE=/[\u0000-\u001F\u007F]/,sE=/^[a-zA-Z][a-zA-Z0-9+.-]*:/,lE=/^(https?:|mailto:|tel:)/i;function xr(e){if(typeof e!="string")return;const t=e.trim();if(!(!t||aE.test(t)))return sE.test(t)?lE.test(t)?t:void 0:t}const cE=[["ariaLabel","aria-label"],["ariaLabelledBy","aria-labelledby"],["ariaDescribedBy","aria-describedby"],["ariaControls","aria-controls"],["ariaActiveDescendant","aria-activedescendant"],["ariaOrientation","aria-orientation"]],uE=[["ariaHidden","aria-hidden"],["ariaExpanded","aria-expanded"],["ariaSelected","aria-selected"]],dE=[["ariaChecked","aria-checked"],["ariaPressed","aria-pressed"]],fE=[["ariaValueNow","aria-valuenow"],["ariaValueMin","aria-valuemin"],["ariaValueMax","aria-valuemax"]],Bt=new WeakMap;function pE(e){return D(function*(){let t=Bt.get(e);if(!t){const r={pointer:!1,refs:0,cleanup:()=>{}},o=()=>{r.pointer=!0},i=()=>{r.pointer=!1};e.addEventListener("pointerdown",o,!0),e.addEventListener("mousedown",o,!0),e.addEventListener("keydown",i,!0),r.cleanup=()=>{e.removeEventListener("pointerdown",o,!0),e.removeEventListener("mousedown",o,!0),e.removeEventListener("keydown",i,!0)},Bt.set(e,r),t=r}const n=t;return yield*ie(x(()=>{n.refs+=1}),()=>x(()=>{const r=Bt.get(e);r&&(r.refs-=1,r.refs<=0&&(r.cleanup(),Bt.delete(e)))})),{isPointer:()=>{var r,o;return(r=(o=Bt.get(e))===null||o===void 0?void 0:o.pointer)!==null&&r!==void 0?r:!1}}})}function ye(e,t){return Array.isArray(e.__events)&&e.__events.includes(t)}function er(e,t){if(!t)return!1;const n=typeof t.closest=="function"?t:t.parentElement,r=n==null?void 0:n.closest(iE);return!!(r&&r!==e&&e.contains(r))}function mE(e,t){for(const[n,r]of cE){const o=t[n];typeof o=="string"&&o.length>0?e.setAttribute(r,o):e.removeAttribute(r)}for(const[n,r]of uE){const o=t[n];typeof o=="boolean"?e.setAttribute(r,String(o)):e.removeAttribute(r)}}function hE(e,t,n){typeof t.ariaDisabled=="boolean"?e.setAttribute("aria-disabled",String(t.ariaDisabled)):n?e.setAttribute("aria-disabled","true"):e.removeAttribute("aria-disabled"),t.ariaCurrent!==void 0&&t.ariaCurrent!==!1?e.setAttribute("aria-current",String(t.ariaCurrent)):e.removeAttribute("aria-current");for(const[i,a]of dE){const s=t[i];typeof s=="boolean"||s==="mixed"?e.setAttribute(a,String(s)):e.removeAttribute(a)}const r=t.ariaHasPopup;typeof r=="boolean"||typeof r=="string"&&r.length>0?e.setAttribute("aria-haspopup",String(r)):e.removeAttribute("aria-haspopup");const o=t.ariaInvalid;typeof o=="boolean"||o==="grammar"||o==="spelling"?e.setAttribute("aria-invalid",String(o)):e.removeAttribute("aria-invalid");for(const[i,a]of fE){const s=t[i];typeof s=="number"&&Number.isFinite(s)?e.setAttribute(a,String(s)):e.removeAttribute(a)}}function gE(e,t,n){if(e.tagName!=="A")return!1;const r=xr(t.href);return n||r===void 0?(e.removeAttribute("href"),e.removeAttribute("target"),e.removeAttribute("rel"),r!==void 0):(e.setAttribute("href",r),t.target==="_blank"?(e.setAttribute("target","_blank"),e.setAttribute("rel","noopener noreferrer")):(e.removeAttribute("target"),e.removeAttribute("rel")),!0)}function Vs(e,t,n,r,o){const i=ye(t,"onPress"),a=!!t.disabled,s=gE(e,t,a),l=typeof t.focusRing=="boolean"?t.focusRing:i||s,c=typeof t.role=="string"&&t.role.length>0?t.role:!s&&i?"button":void 0,u=i||s||ye(t,"onKeyDown")||ye(t,"onFocus")||ye(t,"onBlur"),d=typeof t.tabIndex=="number"&&Number.isFinite(t.tabIndex)?Math.trunc(t.tabIndex):void 0;return e.id=J(n,"pressable",t.id,t.autoId,r),e.setAttribute("data-sw-pressable","true"),e.setAttribute("data-disabled",a?"true":"false"),e.setAttribute("data-focus-ring",l?"true":"false"),c?e.setAttribute("role",c):e.removeAttribute("role"),a?(e.removeAttribute("tabindex"),e.setAttribute("data-hovered","false"),e.setAttribute("data-pressed","false"),e.setAttribute("data-focus-visible","false")):d!==void 0?e.setAttribute("tabindex",String(d)):s?(o==null?void 0:o.explicitTabIndex)!==void 0&&e.removeAttribute("tabindex"):u?(!o||o.disabled||!o.interactive||o.explicitTabIndex!==void 0||!e.hasAttribute("tabindex"))&&e.setAttribute("tabindex","0"):e.removeAttribute("tabindex"),mE(e,t),hE(e,t,a),{explicitTabIndex:d,interactive:u,disabled:a}}let vE=0;function yE(e,t){return Array.isArray(e)&&e.includes(t)}function _E(e,t,n,r){const o=e.tagName==="A"&&xr(n.href)!==void 0;if(n.disabled){o&&t.preventDefault();return}if(!(t.defaultPrevented||er(e,t.target))){if(o){if(t.button!==0||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||n.target==="_blank")return;ye(n,"onPress")&&(t.preventDefault(),r("onPress"));return}ye(n,"onPress")&&r("onPress")}}function bE(e,t,n,r){let o;const i=()=>{e.setAttribute("data-pressed","false"),o==null||o(),o=void 0};return e.addEventListener("pointerenter",()=>{r().disabled||e.setAttribute("data-hovered","true")}),e.addEventListener("pointerleave",()=>e.setAttribute("data-hovered","false")),e.addEventListener("pointerdown",a=>{if(r().disabled||a.button!==void 0&&a.button!==0||er(e,a.target))return;e.setAttribute("data-pressed","true"),o==null||o();const s=()=>i();t.addEventListener("pointerup",s,!0),t.addEventListener("pointercancel",s,!0),o=()=>{t.removeEventListener("pointerup",s,!0),t.removeEventListener("pointercancel",s,!0)}}),e.addEventListener("pointerup",i),e.addEventListener("pointercancel",i),e.addEventListener("click",a=>{_E(e,a,r(),n)}),e.addEventListener("contextmenu",a=>{var s,l;const c=r();c.disabled||!ye(c,"onContextMenu")||er(e,a.target)||(a.preventDefault(),n("onContextMenu",{clientX:(s=a.clientX)!==null&&s!==void 0?s:0,clientY:(l=a.clientY)!==null&&l!==void 0?l:0}))}),i}function wE(e,t,n,r,o){e.addEventListener("focus",()=>{n().disabled||e.setAttribute("data-focus-visible",r()?"false":"true")}),e.addEventListener("blur",()=>{e.setAttribute("data-focus-visible","false"),o()}),e.addEventListener("focusin",i=>{const a=n();!a.disabled&&ye(a,"onFocusWithinChange")&&!e.contains(i.relatedTarget)&&t("onFocusWithinChange",!0)}),e.addEventListener("focusout",i=>{ye(n(),"onFocusWithinChange")&&!e.contains(i.relatedTarget)&&t("onFocusWithinChange",!1)}),e.addEventListener("keydown",i=>{const a=n();if(a.disabled||er(e,i.target))return;const s=i.defaultPrevented;yE(a.preventDefaultKeys,i.key)&&i.preventDefault(),ye(a,"onKeyDown")&&t("onKeyDown",{key:i.key,code:i.code,shiftKey:i.shiftKey,ctrlKey:i.ctrlKey,altKey:i.altKey,metaKey:i.metaKey,repeat:i.repeat});const l=e.tagName==="A"&&xr(a.href)!==void 0,c=l?i.key==="Enter":i.key==="Enter"||i.key===" ",u=!l||a.target!=="_blank";ye(a,"onPress")&&u&&!s&&c&&(i.preventDefault(),i.repeat||(e.setAttribute("data-pressed","true"),t("onPress")))}),e.addEventListener("keyup",i=>{(i.key==="Enter"||i.key===" ")&&e.setAttribute("data-pressed","false")})}const EE=[{type:"sw-pressable",styles:Kw,onMount:e=>D(function*(){const t=yield*ae,n=yield*or,r=yield*ee(),o=xr(e.href)!==void 0,i=t.document.createElement(o?"a":"div"),a=++vE;let s=e,l=e.style;const c=(m,g)=>{r(n.dispatchEvent(m,g))};i.setAttribute("data-hovered","false"),i.setAttribute("data-pressed","false"),i.setAttribute("data-focus-visible","false"),j(i,l,void 0,Jn);let u=Vs(i,s,t,a);const d=yield*pE(t.document),f=Ku(i,{rootContainer:t.rootContainer,dispatchEvent:c},e,{isDisabled:m=>!!m.disabled}),p=bE(i,t.document,c,()=>s);return wE(i,c,()=>s,d.isPointer,p),yield*ne(()=>x(()=>{p(),f.dispose()})),{element:i,update(m){const g=m.style;j(i,g,l,Jn),l=g,s=m,m.disabled&&p(),u=Vs(i,m,t,a,u),f.update(m)},invoke(m){if(m==="focus"){s.disabled||i.focus();return}if(m==="blur"){i.blur();return}return m==="measure"?ll(i):Promise.reject(new ue({method:m,message:`Unsupported method "${m}" on sw-pressable.`}))}}})}];function SE(e,t,n,r){return{enabledCount:0,disabled:r,orientation:e,loop:t,dir:n,isControlled:!1,controlledIndex:-1,lastActiveIndex:-1,tabStopIndex:-1}}function AE(e,t,n){if(e==="Home")return"home";if(e==="End")return"end";const r=t==="horizontal"||t==="both",o=t==="vertical"||t==="both";return r&&e==="ArrowRight"?n==="rtl"?"prev":"next":r&&e==="ArrowLeft"?n==="rtl"?"next":"prev":o&&e==="ArrowDown"?"next":o&&e==="ArrowUp"?"prev":"none"}function wi(e,t,n,r,o,i,a,s,l){const c=t<0?0:t,u=a&&s>=0&&s<c?s:-1,d=l>=0&&l<c?l:-1;if(n||c===0)return{enabledCount:c,disabled:n,orientation:r,loop:o,dir:i,isControlled:a,controlledIndex:u,lastActiveIndex:d,tabStopIndex:-1};const f=u>=0?u:d>=0?d:0;return{enabledCount:c,disabled:n,orientation:r,loop:o,dir:i,isControlled:a,controlledIndex:u,lastActiveIndex:f,tabStopIndex:f}}function CE(e,t,n){if(e.disabled||e.enabledCount<=0||t<0||t>=e.enabledCount)return{next:e,handled:!1,changed:!1,targetIndex:-1};const r=AE(n,e.orientation,e.dir);if(r==="none")return{next:e,handled:!1,changed:!1,targetIndex:-1};const o=r==="home"?0:r==="end"?e.enabledCount-1:r==="next"?t+1:t-1,i=r==="home"||r==="end"?o:e.loop?(o+e.enabledCount)%e.enabledCount:o<0?0:o>=e.enabledCount?e.enabledCount-1:o;return{next:w(w({},e),{},{lastActiveIndex:i,tabStopIndex:i}),handled:!0,changed:i!==t,targetIndex:i}}function xE(e,t){if(e.disabled||t<0||t>=e.enabledCount)return{next:e,shouldUpdateTabStops:!1};const n=!e.isControlled;return{next:w(w({},e),{},{lastActiveIndex:t,tabStopIndex:n?t:e.tabStopIndex}),shouldUpdateTabStops:n}}function Ei(e){return e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true"||e.getAttribute("data-disabled")==="true"}function Si(e,t){const n=[];for(const r of t.itemIds){const o=ce(e,r);o&&n.push(o)}return n}function Ai(e,t){for(const n of e)n.tabIndex=n===t?0:-1}function kE(e,t){const n=Si(e,t.config),r=n.filter(l=>!Ei(l)),o=t.config.activeId!==void 0,i=o?r.findIndex(l=>l.id===t.config.activeId):-1,a=t.lastActiveId?r.findIndex(l=>l.id===t.lastActiveId):-1;t.machine=wi(t.machine,r.length,t.config.disabled,t.config.orientation,t.config.loop,t.config.dir,o,i,a);const s=t.machine.tabStopIndex>=0?r[t.machine.tabStopIndex]:void 0;s&&(t.lastActiveId=s.id),Ai(n,s)}function IE(e,t,n,r){if(t.config.disabled||n.defaultPrevented||n.altKey||n.ctrlKey||n.metaKey)return;const o=Si(e,t.config),i=o.filter(f=>!Ei(f));if(i.length===0)return;const a=e.document.activeElement,s=i.findIndex(f=>f===a||f===n.target||f.contains(a));if(s===-1)return;const l=t.config.activeId!==void 0,c=l?i.findIndex(f=>f.id===t.config.activeId):-1,u=CE(wi(t.machine,i.length,t.config.disabled,t.config.orientation,t.config.loop,t.config.dir,l,c,s),s,n.key);if(!u.handled)return;n.preventDefault(),n.stopPropagation(),t.machine=u.next;const d=i[u.targetIndex];t.lastActiveId=d.id,Ai(o,d),d.focus(),u.changed&&r({token:t.token,activeId:d.id})}function RE(e,t,n,r){const o=a=>{if(t.config.disabled)return;const s=Si(e,t.config),l=s.filter(g=>!Ei(g)),c=l.findIndex(g=>g===a.target||g.contains(a.target));if(c===-1)return;const u=t.config.activeId!==void 0,d=u?l.findIndex(g=>g.id===t.config.activeId):-1,f=t.lastActiveId?l.findIndex(g=>g.id===t.lastActiveId):-1,p=xE(wi(t.machine,l.length,t.config.disabled,t.config.orientation,t.config.loop,t.config.dir,u,d,f),c);t.machine=p.next;const m=l[c];t.lastActiveId=m.id,p.shouldUpdateTabStops&&Ai(s,m)},i=a=>IE(e,t,a,r);return n.addEventListener("focusin",o),n.addEventListener("keydown",i),()=>{n.removeEventListener("focusin",o),n.removeEventListener("keydown",i)}}function LE(e,t){const n=new Map;return{sync:a=>{const s=ce(e,a.containerId);let l=n.get(a.token);if(l||(l={token:a.token,containerEl:null,config:a,machine:SE(a.orientation,a.loop,a.dir,a.disabled),lastActiveId:a.activeId},n.set(a.token,l)),l.config=a,l.containerEl!==s){var c;(c=l.unbind)===null||c===void 0||c.call(l),l.containerEl=s,l.unbind=s?RE(e,l,s,t):void 0}kE(e,l)},remove:a=>{var s;const l=n.get(a);l&&((s=l.unbind)===null||s===void 0||s.call(l),n.delete(a))},dispose:()=>{var a;for(const s of n.values())(a=s.unbind)===null||a===void 0||a.call(s);n.clear()}}}const TE=[{type:"sw-roving-focus",onAttach:D(function*(){const e=yield*ae,t=yield*be,n=yield*he,r=yield*ee(),o=LE(e,i=>{r(n.emit(nf,i).pipe(te))});yield*t.registerCommand(Rd,i=>x(()=>o.sync(i))),yield*t.registerCommand(Ld,i=>x(()=>o.remove(i.token))),yield*ne(()=>x(()=>o.dispose()))})}];function Xu(e){return{direction:e.direction,overflowV:!1,overflowH:!1,horizontalWheelBound:!1,dragAxis:"none",hasEndReached:e.hasEndReached,endReachedLatchedY:!1,latchedScrollHeight:0,endReachedLatchedX:!1,latchedScrollWidth:0,hasViewportNeed:e.hasViewportNeed,hasViewportWindow:e.hasViewportWindow,windowVersion:e.windowVersion,windowBusy:e.windowBusy,inFlight:!1,inFlightVersion:0,disposed:!1}}function PE(e,t,n,r){if(e.disposed)return e;const o=t==="horizontal"&&r,i=e.dragAxis==="vertical"&&n||e.dragAxis==="horizontal"&&r;return w(w({},e),{},{direction:t,overflowV:n,overflowH:r,horizontalWheelBound:o,dragAxis:i?e.dragAxis:"none"})}function OE(e,t){return e.disposed?{next:e,started:!1}:(t==="vertical"?e.overflowV:e.overflowH)?{next:w(w({},e),{},{dragAxis:t}),started:!0}:{next:e,started:!1}}function DE(e){return e.dragAxis==="none"?e:w(w({},e),{},{dragAxis:"none"})}function ME(e,t){if(e.disposed)return e;const n=!t.hasEndReached,r=!t.hasViewportNeed||!t.hasViewportWindow||e.inFlight&&e.inFlightVersion!==t.windowVersion;return w(w({},e),{},{direction:t.direction,horizontalWheelBound:t.direction==="horizontal"&&e.overflowH,hasEndReached:t.hasEndReached,endReachedLatchedY:n?!1:e.endReachedLatchedY,latchedScrollHeight:n?0:e.latchedScrollHeight,endReachedLatchedX:n?!1:e.endReachedLatchedX,latchedScrollWidth:n?0:e.latchedScrollWidth,hasViewportNeed:t.hasViewportNeed,hasViewportWindow:t.hasViewportWindow,windowVersion:t.windowVersion,windowBusy:t.windowBusy,inFlight:r?!1:e.inFlight,inFlightVersion:r?0:e.inFlightVersion})}function Yu(e,t){if(e.disposed)return{next:e,fireEndReached:!1,fireViewportNeed:!1};const n=e.hasEndReached&&t.reachedY?e.endReachedLatchedY:!1,r=n?e.latchedScrollHeight:0,o=e.hasEndReached&&t.reachedX?e.endReachedLatchedX:!1,i=o?e.latchedScrollWidth:0,a=e.hasEndReached&&t.reachedY&&(!n||r!==t.scrollHeight),s=e.hasEndReached&&t.reachedX&&(!o||i!==t.scrollWidth),l=a||s,c=l&&t.reachedY?!0:n,u=l&&t.reachedY?t.scrollHeight:r,d=l&&t.reachedX?!0:o,f=l&&t.reachedX?t.scrollWidth:i,p=!e.hasViewportNeed||!e.hasViewportWindow||t.viewportSatisfied,m=e.inFlight&&e.inFlightVersion===e.windowVersion&&!t.viewportJumped,g=!p&&!e.windowBusy&&!m,v=p?!1:g?!0:e.inFlight,_=p?0:g?e.windowVersion:e.inFlightVersion;return{next:w(w({},e),{},{endReachedLatchedY:c,latchedScrollHeight:u,endReachedLatchedX:d,latchedScrollWidth:f,inFlight:v,inFlightVersion:_}),fireEndReached:l,fireViewportNeed:g}}function NE(e,t){if(e.disposed)return{next:e,fireEndReached:!1,fireViewportNeed:!1};const n=!e.hasViewportNeed||!e.hasViewportWindow||e.inFlightVersion!==e.windowVersion||t.viewportSatisfied;return Yu(e.inFlight&&n?w(w({},e),{},{inFlight:!1,inFlightVersion:0}):e,t)}function Zu(e){return w(w({},e),{},{horizontalWheelBound:!1,dragAxis:"none",endReachedLatchedY:!1,latchedScrollHeight:0,endReachedLatchedX:!1,latchedScrollWidth:0,inFlight:!1,inFlightVersion:0,disposed:!0})}const VE=24;function tr(e,t,n){const r=t==="vertical"?e.clientHeight:e.clientWidth,o=t==="vertical"?e.scrollHeight:e.scrollWidth,i=Math.max(0,o-r);return{viewportSize:r,contentSize:o,maxScroll:i,overflow:n&&r>0&&i>0}}function Qu(e){const t=/^(\d+(?:\.\d+)?)px$/.exec(e);if(t)return Number(t[1]);const n=/^(\d+(?:\.\d+)?)rem$/.exec(e);return n?Number(n[1])*16:10}function Ju(e,t,n,r,o){const i=n*2,a=t>0?Math.max(0,t-i):Math.max(0,e.viewportSize-o-i);if(a<=0||e.contentSize<=0)return{size:0,offset:0,maxOffset:0,progress:0};const s=Math.min(VE,a),l=e.viewportSize/e.contentSize,c=Math.max(s,Math.min(a,a*l)),u=Math.max(0,a-c),d=e.maxScroll>0?Math.min(1,Math.max(0,r/e.maxScroll)):0;return{size:c,offset:d*u,maxOffset:u,progress:d}}function nr(e,t,n){return t===1?e*16:t===2?e*(n>0?n:400):e}function $E(e,t,n,r){return D(function*(){var o,i;const a=e.defaultView,s=(o=a==null?void 0:a.ResizeObserver)!==null&&o!==void 0?o:globalThis.ResizeObserver,l=(i=a==null?void 0:a.MutationObserver)!==null&&i!==void 0?i:globalThis.MutationObserver,c=new Set,u=yield*ie(x(()=>typeof s=="function"?new s(r):void 0),f=>x(()=>{f==null||f.disconnect(),c.clear()})),d=()=>{if(!u)return;const f=new Set([t,n,...Array.from(n.children)]);for(const p of c)f.has(p)||(u.unobserve(p),c.delete(p));for(const p of f)c.has(p)||(u.observe(p),c.add(p))};return yield*ie(x(()=>{if(typeof l!="function")return;const f=new l(()=>{d(),r()});return f.observe(n,{childList:!0,subtree:!0}),f}),f=>x(()=>f==null?void 0:f.disconnect())),d(),{syncObserved:d}})}function Bo(e,t){return!Number.isFinite(e)||t<=0?0:Math.max(0,Math.min(t,e))}function FE(e,t){var n,r,o,i;const a=t,s=nr((n=a.deltaX)!==null&&n!==void 0?n:0,(r=a.deltaMode)!==null&&r!==void 0?r:0,e.content.clientWidth),l=nr((o=a.deltaY)!==null&&o!==void 0?o:0,(i=a.deltaMode)!==null&&i!==void 0?i:0,e.content.clientHeight),c=e.config.direction==="horizontal"||e.config.direction==="both",u=e.config.direction==="vertical"||e.config.direction==="both";let d=!1;if(u&&l!==0){const p=e.content.scrollTop,m=Math.max(0,e.content.scrollHeight-e.content.clientHeight);e.content.scrollTop=Bo(p+l,m),e.content.scrollTop!==p&&(d=!0)}const f=e.config.direction==="horizontal"&&s===0&&l!==0?l:s;if(c&&f!==0){const p=e.content.scrollLeft,m=Math.max(0,e.content.scrollWidth-e.content.clientWidth);e.content.scrollLeft=Bo(p+f,m),e.content.scrollLeft!==p&&(d=!0)}d&&(a.preventDefault(),a.stopPropagation(),e.sync())}function BE(e,t){var n,r,o,i;if(e.config.direction!=="horizontal")return;const a=t;if(a.ctrlKey||a.metaKey)return;const s=nr((n=a.deltaX)!==null&&n!==void 0?n:0,(r=a.deltaMode)!==null&&r!==void 0?r:0,e.content.clientWidth),l=nr((o=a.deltaY)!==null&&o!==void 0?o:0,(i=a.deltaMode)!==null&&i!==void 0?i:0,e.content.clientHeight);if(l===0||Math.abs(s)>=Math.abs(l))return;const c=Math.max(0,e.content.scrollWidth-e.content.clientWidth);if(c<=0)return;const u=e.content.scrollLeft,d=Bo(u+l,c);d!==u&&(e.content.scrollLeft=d,a.preventDefault(),a.stopPropagation(),e.sync())}function WE(e){let t=!1;const n=o=>BE(e,o),r=()=>{t&&(e.content.removeEventListener("wheel",n),t=!1)};return{sync(o){const i=e.config.direction==="horizontal"&&o;i&&!t?(e.content.addEventListener("wheel",n,{passive:!1}),t=!0):i||r()},dispose:r}}function ed(e,t){return Math.max(0,Math.min(t,e))}function td(e,t){return t==="vertical"?e.scrollTop:e.scrollLeft}function Ci(e,t,n){t==="vertical"?e.scrollTop=n:e.scrollLeft=n}function Sn(e,t){e.track.style.padding=`${t.paddingPx}px`,e.track.style.setProperty("--sw-sa-sb-size",t.width),e.track.setAttribute("data-custom-color",t.color?"true":"false"),t.color?e.track.style.setProperty("--sw-sa-sb-color",t.color):e.track.style.removeProperty("--sw-sa-sb-color"),t.trackColor?e.track.style.setProperty("--sw-sa-sb-track",t.trackColor):e.track.style.removeProperty("--sw-sa-sb-track")}function $s(e,t,n,r){const o=r?e.config.width:"0px",i=r?Qu(e.config.width):0;if(t.track.style.setProperty("--sw-sa-sb-corner",o),t.track.setAttribute("data-visible",n.overflow?"true":"false"),!n.overflow){t.track.setAttribute("aria-hidden","true"),t.thumb.style.removeProperty("height"),t.thumb.style.removeProperty("width"),t.thumb.style.transform="translate3d(0, 0, 0)";return}t.track.removeAttribute("aria-hidden");const a=t.axis==="vertical"?t.track.clientHeight:t.track.clientWidth,s=td(e.content,t.axis),l=Ju(n,a,e.config.paddingPx,s,i);t.track.setAttribute("aria-valuenow",String(Math.round(l.progress*100))),t.axis==="vertical"?(t.thumb.style.height=`${l.size}px`,t.thumb.style.transform=`translate3d(0, ${l.offset}px, 0)`):(t.thumb.style.width=`${l.size}px`,t.thumb.style.transform=`translate3d(${l.offset}px, 0, 0)`)}function Rt(e){var t,n;const r=e.drag;if(e.machine=DE(e.machine),!!r){e.drag=void 0,(t=e.releaseDocListeners)===null||t===void 0||t.call(e),e.releaseDocListeners=void 0,r.track.removeAttribute("data-dragging"),(n=e.doc.documentElement)===null||n===void 0||n.removeAttribute("data-sw-scroll-area-dragging");try{var o,i;!((o=(i=r.track).hasPointerCapture)===null||o===void 0)&&o.call(i,r.pointerId)&&r.track.releasePointerCapture(r.pointerId)}catch{}}}function nd(e,t){var n;const r=e.drag;if(!r||e.seenEvents.has(t))return;e.seenEvents.add(t);const o=t;if(((n=o.pointerId)!==null&&n!==void 0?n:0)!==r.pointerId)return;const i=(r.axis==="vertical"?o.clientY:o.clientX)-r.startCoord;if(r.maxOffset<=0||r.maxScroll<=0)return;const a=ed(r.startScroll+i*r.maxScroll/r.maxOffset,r.maxScroll);Ci(e.content,r.axis,a),e.sync()}function rd(e,t){var n;const r=e.drag;!r||e.seenEvents.has(t)||(e.seenEvents.add(t),((n=t.pointerId)!==null&&n!==void 0?n:0)===r.pointerId&&Rt(e))}function zE(e){const t=o=>nd(e,o),n=o=>rd(e,o),r=o=>{o.key!=="Escape"||!e.drag||(Ci(e.content,e.drag.axis,e.drag.startScroll),Rt(e),e.sync())};e.doc.addEventListener("pointermove",t),e.doc.addEventListener("pointerup",n),e.doc.addEventListener("pointercancel",n),e.doc.addEventListener("keydown",r),e.releaseDocListeners=()=>{e.doc.removeEventListener("pointermove",t),e.doc.removeEventListener("pointerup",n),e.doc.removeEventListener("pointercancel",n),e.doc.removeEventListener("keydown",r)}}function Fs(e,t,n,r,o,i){var a,s;Rt(e);const l=OE(e.machine,t.axis);if(!l.started)return;e.machine=l.next;const c=(a=n.pointerId)!==null&&a!==void 0?a:0;e.drag={axis:t.axis,track:t.track,pointerId:c,startCoord:t.axis==="vertical"?n.clientY:n.clientX,startScroll:r,maxScroll:o,maxOffset:i};try{var u,d;(u=(d=t.track).setPointerCapture)===null||u===void 0||u.call(d,c)}catch{}t.track.setAttribute("data-dragging","true"),(s=e.doc.documentElement)===null||s===void 0||s.setAttribute("data-sw-scroll-area-dragging","true"),zE(e)}function HE(e,t,n){const r=n;if(r.button!==void 0&&r.button!==0)return;const o=e.config.direction===t.axis||e.config.direction==="both",i=tr(e.content,t.axis,o);if(!i.overflow)return;r.preventDefault(),r.stopPropagation();const a=e.config.direction==="both",s=t.axis==="vertical"?"horizontal":"vertical",l=a&&tr(e.content,s,!0).overflow?Qu(e.config.width):0,c=t.axis==="vertical"?t.track.clientHeight:t.track.clientWidth,u=td(e.content,t.axis),d=Ju(i,c,e.config.paddingPx,u,l);if(r.target===t.thumb){Fs(e,t,r,u,i.maxScroll,d.maxOffset);return}const f=t.track.getBoundingClientRect(),p=t.axis==="vertical"?r.clientY-f.top:r.clientX-f.left,m=Math.max(0,Math.min(d.maxOffset,p-e.config.paddingPx-d.size/2)),g=d.maxOffset>0?ed(m/d.maxOffset*i.maxScroll,i.maxScroll):0;Ci(e.content,t.axis,g),e.sync(),Fs(e,t,r,g,i.maxScroll,d.maxOffset)}function Bs(e,t){const n=l=>HE(e,t,l),r=l=>nd(e,l),o=l=>rd(e,l),s=[["pointerdown",n],["pointermove",r],["pointerup",o],["pointercancel",o],["lostpointercapture",l=>{var c;e.drag&&((c=l.pointerId)!==null&&c!==void 0?c:0)===e.drag.pointerId&&Rt(e)}],["wheel",l=>FE(e,l),{passive:!1}]];for(const[l,c,u]of s)t.track.addEventListener(l,c,u);return()=>{for(const[l,c]of s)t.track.removeEventListener(l,c)}}function jE(e,t,n,r,o){return{doc:e,content:t,vNodes:n,hNodes:r,seenEvents:new WeakSet,config:o,machine:Xu({direction:o.direction,hasEndReached:!1,hasViewportNeed:!1,hasViewportWindow:!1,windowVersion:0,windowBusy:!1}),sync:()=>{}}}function GE(e,t,n,r,o){const i=jE(e,t,n,r,o),a=WE(i),s=()=>{const d=i.config.direction==="vertical"||i.config.direction==="both",f=i.config.direction==="horizontal"||i.config.direction==="both",p=tr(t,"vertical",d),m=tr(t,"horizontal",f);i.machine=PE(i.machine,i.config.direction,p.overflow,m.overflow),i.machine.dragAxis==="none"&&i.drag&&Rt(i);const g=i.machine.overflowV&&i.machine.overflowH;$s(i,n,p,g),$s(i,r,m,g),a.sync(i.machine.horizontalWheelBound)};i.sync=s,Sn(n,o),Sn(r,o);const l=()=>s();t.addEventListener("scroll",l,{passive:!0});const c=Bs(i,n),u=Bs(i,r);return s(),{updateConfig(d){i.config=d,Sn(n,d),Sn(r,d),s()},sync:s,dispose(){Rt(i),i.machine=Zu(i.machine),a.dispose(),t.removeEventListener("scroll",l),c(),u()}}}const UE="0.625rem",qE=new Set(["flexDirection","justifyContent","alignItems","flexWrap","gap","rowGap","columnGap","paddingTop","paddingRight","paddingBottom","paddingLeft","overflow","overflowX","overflowY"]),KE={display:"flex",flexDirection:"column",position:"relative",minWidth:"0px",minHeight:"0px",overflow:"hidden",borderTopWidth:"0px",borderRightWidth:"0px",borderBottomWidth:"0px",borderLeftWidth:"0px"};function XE(e){const t=xi(e);return{display:"flex",flexDirection:t==="horizontal"?"row":"column",minWidth:"0px",minHeight:"0px",overflowX:t==="horizontal"||t==="both"?"auto":"hidden",overflowY:t==="vertical"||t==="both"?"auto":"hidden"}}function xi(e){return e==="horizontal"||e==="both"?e:"vertical"}function YE(e){if(!e)return{rootStyle:void 0,contentStyle:void 0};const t={},n={};let r=!1,o=!1;for(const[i,a]of Object.entries(e))qE.has(i)?(n[i]=a,o=!0):(t[i]=a,r=!0);return{rootStyle:r?t:void 0,contentStyle:o?n:void 0}}function ZE(e){const t=/^(\d+(?:\.\d+)?)px$/.exec(e);if(t&&Number(t[1])<4)return 0;const n=/^(\d+(?:\.\d+)?)rem$/.exec(e);return n&&Number(n[1])<.25?0:1}function Ws(e){const t=typeof e.scrollbarWidth=="string"&&e.scrollbarWidth.length>0?e.scrollbarWidth:UE,n=typeof e.scrollbarColor=="string"&&e.scrollbarColor.length>0?e.scrollbarColor:void 0,r=typeof e.scrollbarTrackColor=="string"&&e.scrollbarTrackColor.length>0?e.scrollbarTrackColor:void 0;return{direction:xi(e.direction),width:t,paddingPx:ZE(t),color:n,trackColor:r}}const QE=`
263
- [data-sw-scroll-area] {
264
- position: relative;
265
- display: flex;
266
- flex-direction: column;
267
- min-width: 0;
268
- min-height: 0;
269
- overflow: hidden;
270
- box-sizing: border-box;
271
- }
272
- [data-sw-scroll-area-content] {
273
- display: flex;
274
- flex: 1 1 auto;
275
- width: 100%;
276
- min-width: 0;
277
- min-height: 0;
278
- max-width: 100%;
279
- max-height: 100%;
280
- box-sizing: border-box;
281
- border-radius: inherit;
282
- scrollbar-width: none;
283
- -ms-overflow-style: none;
284
- }
285
- [data-sw-scroll-area-content]::-webkit-scrollbar {
286
- display: none;
287
- width: 0;
288
- height: 0;
289
- }
290
- [data-sw-scroll-area-scrollbar] {
291
- position: absolute;
292
- z-index: 1;
293
- box-sizing: border-box;
294
- display: flex;
295
- touch-action: none;
296
- user-select: none;
297
- -webkit-user-select: none;
298
- background-color: var(--sw-sa-sb-track, transparent);
299
- transition-property: opacity, background-color;
300
- transition-duration: 150ms;
301
- transition-timing-function: ease;
302
- }
303
- [data-sw-scroll-area-scrollbar][data-visible="false"] {
304
- opacity: 0;
305
- pointer-events: none;
306
- }
307
- [data-sw-scroll-area-scrollbar][data-visible="true"] {
308
- opacity: 1;
309
- pointer-events: auto;
310
- }
311
- [data-sw-scroll-area-scrollbar][data-orientation="vertical"] {
312
- top: 0;
313
- right: 0;
314
- bottom: var(--sw-sa-sb-corner, 0px);
315
- width: var(--sw-sa-sb-size, 0.625rem);
316
- flex-direction: column;
317
- }
318
- [data-sw-scroll-area-scrollbar][data-orientation="horizontal"] {
319
- left: 0;
320
- right: var(--sw-sa-sb-corner, 0px);
321
- bottom: 0;
322
- height: var(--sw-sa-sb-size, 0.625rem);
323
- flex-direction: row;
324
- }
325
- [data-sw-scroll-area-thumb] {
326
- position: relative;
327
- flex-shrink: 0;
328
- border-radius: 9999px;
329
- background-color: var(--sw-sa-sb-color, var(--sw-border));
330
- transition-property: background-color;
331
- transition-duration: 150ms;
332
- transition-timing-function: ease;
333
- }
334
- [data-sw-scroll-area-scrollbar][data-orientation="vertical"] [data-sw-scroll-area-thumb] {
335
- width: 100%;
336
- }
337
- [data-sw-scroll-area-scrollbar][data-orientation="horizontal"] [data-sw-scroll-area-thumb] {
338
- height: 100%;
339
- }
340
- @media (hover: hover) and (pointer: fine) {
341
- [data-sw-scroll-area-scrollbar]:not([data-custom-color="true"]):hover [data-sw-scroll-area-thumb] {
342
- background-color: var(--sw-border-focus);
343
- }
344
- }
345
- [data-sw-scroll-area-scrollbar]:not([data-custom-color="true"])[data-dragging="true"] [data-sw-scroll-area-thumb] {
346
- background-color: var(--sw-border-focus);
347
- }
348
- :root[data-sw-scroll-area-dragging="true"],
349
- :root[data-sw-scroll-area-dragging="true"] * {
350
- user-select: none !important;
351
- -webkit-user-select: none !important;
352
- }
353
- @media (prefers-reduced-motion: reduce) {
354
- [data-sw-scroll-area-scrollbar],
355
- [data-sw-scroll-area-thumb] {
356
- transition-duration: 0ms;
357
- }
358
- }
359
- `;function zs(e,t){return Array.isArray(e.__events)&&e.__events.includes(t)}function od(e,t){return typeof e=="number"&&Number.isFinite(e)&&e>=0?e:t}function JE(e){if(!e||typeof e!="object"||Array.isArray(e))return;const t=e;if(typeof t.top!="number"||!Number.isFinite(t.top)||typeof t.bottom!="number"||!Number.isFinite(t.bottom)||t.bottom<t.top)return;let n,r;if(t.left!==void 0||t.right!==void 0){if(typeof t.left!="number"||!Number.isFinite(t.left)||typeof t.right!="number"||!Number.isFinite(t.right)||t.right<t.left)return;n=t.left,r=t.right}return w(w({top:t.top,bottom:t.bottom},n!==void 0&&r!==void 0?{left:n,right:r}:{}),{},{margin:od(t.margin,0),busy:!!t.busy})}function eS(e,t){return!e||!t?e===t:e.top===t.top&&e.bottom===t.bottom&&e.left===t.left&&e.right===t.right&&e.margin===t.margin&&e.busy===t.busy}function Hs(e,t,n,r,o,i){if(e<n||t>r)return!1;const a=n>0&&e<n+i,s=r<o&&t>r-i;return!a&&!s}function tS(e,t,n){return n?!(e!=="horizontal"&&t.clientHeight>0&&!Hs(t.scrollTop,t.scrollTop+t.clientHeight,n.top,n.bottom,t.scrollHeight,n.margin)||e!=="vertical"&&n.left!==void 0&&n.right!==void 0&&t.clientWidth>0&&!Hs(t.scrollLeft,t.scrollLeft+t.clientWidth,n.left,n.right,t.scrollWidth,n.margin)):!0}function nS(e,t){if(!e.machine.inFlight)return!1;const{direction:n,viewportWindow:r}=e.config;return n!=="horizontal"&&t.clientHeight>0&&Math.abs(t.scrollTop-e.inFlightScrollTop)>=t.clientHeight||n!=="vertical"&&(r==null?void 0:r.left)!==void 0&&(r==null?void 0:r.right)!==void 0&&t.clientWidth>0&&Math.abs(t.scrollLeft-e.inFlightScrollLeft)>=t.clientWidth}function js(e,t){var n;return{direction:e.direction,hasEndReached:e.hasEndReached,hasViewportNeed:e.hasViewportNeed,hasViewportWindow:!!e.viewportWindow,windowVersion:t,windowBusy:!!(!((n=e.viewportWindow)===null||n===void 0)&&n.busy)}}function Gs(e,t){const{direction:n,endReachedThreshold:r,viewportWindow:o}=e.config,i=n!=="horizontal"&&t.clientHeight>0&&t.scrollHeight-t.clientHeight>0&&t.scrollTop+t.clientHeight>=t.scrollHeight-r,a=n!=="vertical"&&t.clientWidth>0&&t.scrollWidth-t.clientWidth>0&&t.scrollLeft+t.clientWidth>=t.scrollWidth-r;return{reachedY:i,scrollHeight:t.scrollHeight,reachedX:a,scrollWidth:t.scrollWidth,viewportSatisfied:tS(n,t,o),viewportJumped:nS(e,t)}}function Us(e,t,n){e.machine=n.next,n.fireEndReached&&e.dispatchEvent("onEndReached",t),n.fireViewportNeed&&(e.inFlightScrollTop=t.scrollTop,e.inFlightScrollLeft=t.scrollLeft,e.dispatchEvent("onViewportNeed",t))}function Wo(e){return{scrollTop:e.scrollTop,scrollLeft:e.scrollLeft,scrollWidth:e.scrollWidth,clientWidth:e.clientWidth,scrollHeight:e.scrollHeight,clientHeight:e.clientHeight}}function qs(e){return{direction:xi(e.direction),hasEndReached:zs(e,"onEndReached"),endReachedThreshold:od(e.endReachedThreshold,0),hasViewportNeed:zs(e,"onViewportNeed"),viewportWindow:JE(e.viewportWindow)}}function rS(e,t,n){const r={content:e,dispatchEvent:n,config:t,windowVersion:1,machine:Xu(js(t,1)),inFlightScrollTop:0,inFlightScrollLeft:0},o=()=>{if(r.machine.disposed)return;const i=Wo(e);Us(r,i,Yu(r.machine,Gs(r,i)))};return{check:o,updateConfig(i){r.machine.disposed||(eS(r.config.viewportWindow,i.viewportWindow)||(r.windowVersion+=1),r.config=i,r.machine=ME(r.machine,js(i,r.windowVersion)),o())},onAck(){if(r.machine.disposed)return;const i=Wo(e);Us(r,i,NE(r.machine,Gs(r,i)))},dispose(){r.machine=Zu(r.machine)}}}let oS=0,iS=0;function Ks(e,t,n){const r=e.createElement("div");r.setAttribute("data-sw-scroll-area-scrollbar",t),r.setAttribute("data-orientation",t),r.setAttribute("data-visible","false"),r.setAttribute("role","scrollbar"),r.setAttribute("aria-controls",n),r.setAttribute("aria-orientation",t),r.setAttribute("aria-valuemin","0"),r.setAttribute("aria-valuemax","100"),r.setAttribute("aria-valuenow","0"),r.setAttribute("aria-hidden","true");const o=e.createElement("div");return o.setAttribute("data-sw-scroll-area-thumb",t),r.appendChild(o),{axis:t,track:r,thumb:o}}function id(e,t){return e===void 0?re(void 0):e==="auto"||e==="instant"||e==="smooth"?re(e):me(new ue({method:t,message:`Invalid scroll behavior "${String(e)}" on sw-scroll-area.`}))}function Xs(e,t,n){return e===void 0?re(void 0):e==="start"||e==="center"||e==="end"||e==="nearest"?re(e):me(new ue({method:n,message:`Invalid "${t}" alignment "${String(e)}" on sw-scroll-area.`}))}function Ys(e,t,n){return e===void 0?re(void 0):typeof e=="number"&&Number.isFinite(e)?re(e):me(new ue({method:n,message:`Invalid "${t}" coordinate on sw-scroll-area: expected a finite number.`}))}function aS(e,t,n,r){const o=Go(e.getElementById(r));if(St(o)&&(t.contains(o.value)||n.contains(o.value)))return o;for(const i of t===n?[t]:[t,n]){const a=i.querySelectorAll("[id]");for(let s=0;s<a.length;s+=1){const l=a[s];if(l&&l.id===r)return sr(l)}}return lr()}function sS(e,t,n){return D(function*(){if(!t||typeof t!="object"||Array.isArray(t))return yield*me(new ue({method:"scrollTo",message:'Invalid arguments for "scrollTo" on sw-scroll-area: expected an options object.'}));const r=t,o=yield*Ys(r.top,"top","scrollTo"),i=yield*Ys(r.left,"left","scrollTo"),a=yield*id(r.behavior,"scrollTo"),s={};o!==void 0&&(s.top=o),i!==void 0&&(s.left=i),a!==void 0&&(s.behavior=a),e.scrollTo(s),n()})}function lS(e,t,n,r,o){return D(function*(){const i=r&&typeof r=="object"?r:{};if(typeof i.targetId!="string"||i.targetId.length===0)return yield*me(new ue({method:"scrollIntoView",message:'Invalid "targetId" for "scrollIntoView" on sw-scroll-area: expected a non-empty string.'}));const a=aS(e,t,n,i.targetId);if(Xt(a))return yield*me(new ue({method:"scrollIntoView",message:`Target element "${i.targetId}" was not found inside sw-scroll-area.`}));const s=i.options;if(s!==void 0&&(!s||typeof s!="object"||Array.isArray(s)))return yield*me(new ue({method:"scrollIntoView",message:'Invalid options for "scrollIntoView" on sw-scroll-area: expected an object.'}));const l=s??{},c=yield*Xs(l.block,"block","scrollIntoView"),u=yield*Xs(l.inline,"inline","scrollIntoView"),d=yield*id(l.behavior,"scrollIntoView"),f={};c!==void 0&&(f.block=c),u!==void 0&&(f.inline=u),d!==void 0&&(f.behavior=d),a.value.scrollIntoView(Object.keys(f).length>0?f:void 0),o()})}function Zs(e,t){return new Promise((n,r)=>{e(t.pipe(Nd({onSuccess:o=>n(o),onFailure:o=>r(o)})))})}function cS(e,t,n,r,o,i,a){return e==="scrollTo"?Zs(a,sS(r,t,i)):e==="scrollIntoView"?Zs(a,lS(n,r,o,t,i)):e==="measure"?Promise.resolve(Wo(r)):Promise.reject(new ue({method:e,message:`Unsupported method "${e}" on sw-scroll-area.`}))}function uS(e,t){const n=e.createElement("div");n.setAttribute("data-sw-scroll-area","true");const r=e.createElement("div");r.id=`sw-${t}-scroll-area-content-${++iS}`,r.setAttribute("data-sw-scroll-area-content","true");const o=Ks(e,"vertical",r.id),i=Ks(e,"horizontal",r.id);return n.appendChild(r),n.appendChild(o.track),n.appendChild(i.track),{root:n,content:r,vNodes:o,hNodes:i}}function dS(e){return D(function*(){const t=yield*ae,n=yield*or,r=yield*ee(),o=t.document,i=++oS,{root:a,content:s,vNodes:l,hNodes:c}=uS(o,t.hostId);let u,d;const f=y=>{const b=YE(y.style);a.id=J(t,"scroll-area",y.id,y.autoId,i),j(a,b.rootStyle,u,KE),j(s,b.contentStyle,d,XE(y.direction)),u=b.rootStyle,d=b.contentStyle};f(e);const p=(y,b)=>{r(n.dispatchEvent(y,b))},m=GE(o,s,l,c,Ws(e)),g=rS(s,qs(e),p),v=()=>{m.sync(),g.check()},_=yield*$E(o,a,s,v);return yield*ie(x(()=>{s.addEventListener("scroll",g.check,{passive:!0})}),()=>x(()=>{s.removeEventListener("scroll",g.check),g.dispose(),m.dispose()})),queueMicrotask(v),{element:a,childContainer:s,update(y){f(y),m.updateConfig(Ws(y)),_.syncObserved(),g.updateConfig(qs(y))},invoke(y,b){return cS(y,b,o,s,t.rootContainer,v,r)},onAck(){_.syncObserved(),m.sync(),g.onAck()}}})}const fS=[{type:"sw-scroll-area",styles:QE,onMount:dS}];function wt(e,t,n){const r=t<=n?t:n,o=t<=n?n:t;return e<r?r:e>o?o:e}function pS(e,t,n,r){const o=t<=n?t:n,i=t<=n?n:t,a=wt(e,o,i);return{phase:"idle",disabled:r,min:o,max:i,value:a,startValue:a,previewValue:a,activePointerId:-1,docListenersBound:!1,pointerCaptured:!1}}function mS(e,t,n,r,o){const i=n<=r?n:r,a=n<=r?r:n,s=wt(t,i,a);if(o&&e.phase==="dragging")return{next:{phase:"idle",disabled:!0,min:i,max:a,value:s,startValue:s,previewValue:s,activePointerId:-1,docListenersBound:!1,pointerCaptured:!1},cancelledSession:!0};if(e.phase==="dragging"){const l=wt(e.previewValue,i,a),c=wt(e.startValue,i,a);return{next:w(w({},e),{},{disabled:o,min:i,max:a,value:s,startValue:c,previewValue:l}),cancelledSession:!1}}return{next:w(w({},e),{},{disabled:o,min:i,max:a,value:s,startValue:s,previewValue:s}),cancelledSession:!1}}function hS(e,t){if(e.disabled||t<0)return{next:e,started:!1,replacedPrevious:!1};const n=e.phase==="dragging";return{next:w(w({},e),{},{phase:"dragging",startValue:e.value,previewValue:e.value,activePointerId:t,docListenersBound:!0,pointerCaptured:!0}),started:!0,replacedPrevious:n}}function gS(e,t,n){if(e.phase!=="dragging"||e.activePointerId!==t)return{next:e,changed:!1};const r=wt(n,e.min,e.max);return r===e.previewValue?{next:e,changed:!1}:{next:w(w({},e),{},{previewValue:r}),changed:!0}}function vS(e,t){if(e.phase!=="dragging"||e.activePointerId!==t)return{next:e,closed:!1,shouldCommit:!1,committedValue:e.value};const n=e.previewValue,r=n!==e.startValue;return{next:w(w({},e),{},{phase:"idle",value:n,startValue:n,previewValue:n,activePointerId:-1,docListenersBound:!1,pointerCaptured:!1}),closed:!0,shouldCommit:r,committedValue:n}}function yS(e){if(e.phase!=="dragging")return{next:e,cancelled:!1,restoredValue:e.value};const t=e.value;return{next:w(w({},e),{},{phase:"idle",value:t,startValue:t,previewValue:t,activePointerId:-1,docListenersBound:!1,pointerCaptured:!1}),cancelled:!0,restoredValue:t}}function _S(e,t){if(e.disabled||e.phase==="dragging")return{next:e,handled:!1,committed:!1,committedValue:e.value};const n=wt(t,e.min,e.max);return n===e.value?{next:e,handled:!0,committed:!1,committedValue:e.value}:{next:w(w({},e),{},{value:n,startValue:n,previewValue:n}),handled:!0,committed:!0,committedValue:n}}const bS=/^--[a-zA-Z0-9_-]+$/;function Qs(e){if(!(!e||!bS.test(e)||e.startsWith("--sw-")))return e}function ki(e,t,n,r){const o=Math.min(t,n),i=Math.max(t,n),a=Math.min(i,Math.max(o,e));if(typeof r=="number"&&Number.isFinite(r)&&r>0){const s=o+Math.round((a-o)/r)*r;return Math.round(Math.min(i,Math.max(o,s))*1e4)/1e4}return Math.round(a*1e4)/1e4}function wS(e,t,n){const r=n-t;return!Number.isFinite(r)||r<=0?0:Math.min(100,Math.max(0,Number(((e-t)/r*100).toFixed(4))))}function ES(e,t,n,r){const o=t.getBoundingClientRect(),i=Ii(e,t,n.axis,n.reverse),a=n.axis==="y"?o.height:o.width;if(!Number.isFinite(a)||a<=0)return n.value;const s=n.axis==="y"?(r.clientY-o.top)/a:(r.clientX-o.left)/a,l=Math.min(1,Math.max(0,i<0?1-s:s));return ki(n.min+l*(n.max-n.min),n.min,n.max,n.step)}function Ii(e,t,n,r){let o=r?-1:1;if(n==="x"){var i,a,s;((i=(a=t.closest("[dir]"))===null||a===void 0?void 0:a.getAttribute("dir"))!==null&&i!==void 0?i:(s=e.documentElement)===null||s===void 0?void 0:s.getAttribute("dir"))==="rtl"&&(o=o*-1)}return o}function SS(e,t,n,r){if(r.key==="Home")return n.min;if(r.key==="End")return n.max;const o=(Number.isFinite(n.step)&&n.step>0?n.step:1)*(r.shiftKey?4:1),i=Ii(e,t,n.axis,n.reverse);if(n.axis==="y")return r.key==="ArrowUp"?n.value-o*i:r.key==="ArrowDown"?n.value+o*i:void 0;if(r.key==="ArrowLeft")return n.value-o*i;if(r.key==="ArrowRight")return n.value+o*i}function Ri(e,t){return ce(e,t)}function ad(e,t,n,r,o,i){return o&&i&&(o!==e||i!==t)&&o.style.removeProperty(i),e&&t?(e.style.setProperty(t,`${n}${r}`),{target:e,cssVar:t}):{target:null,cssVar:void 0}}function un(e,t,n){var r,o,i;const a=Qs(t.config.cssVar),s=Qs(t.config.cssPercentVar),l=t.config.targetId?Ri(e,t.config.targetId):(r=(o=t.handleEl)===null||o===void 0?void 0:o.parentElement)!==null&&r!==void 0?r:e.rootContainer,c=ad(l,a,n,t.config.unit,t.appliedTarget,t.appliedVar);t.appliedTarget&&t.appliedPercentVar&&(t.appliedTarget!==l||t.appliedPercentVar!==s)&&t.appliedTarget.style.removeProperty(t.appliedPercentVar),l&&s&&l.style.setProperty(s,`${wS(n,t.config.min,t.config.max)}%`),t.appliedTarget=(i=c.target)!==null&&i!==void 0?i:l&&s?l:null,t.appliedVar=c.cssVar,t.appliedPercentVar=l&&s?s:void 0}function kr(e,t){var n;if(e.dragMeta=void 0,(n=e.unbindDoc)===null||n===void 0||n.call(e),e.unbindDoc=void 0,!!e.handleEl&&(delete e.handleEl.dataset.dragging,!(t<0)))try{var r,o;!((r=(o=e.handleEl).hasPointerCapture)===null||r===void 0)&&r.call(o,t)&&e.handleEl.releasePointerCapture(t)}catch{}}function AS(e,t,n,r){var o;if(t.machine.phase!=="dragging"||!t.dragMeta||n.has(r))return;n.add(r);const i=r,a=(o=i.pointerId)!==null&&o!==void 0?o:0,s=t.config.trackId?Ri(e,t.config.trackId):null,l=s?ES(e.document,s,t.config,i):ki(t.machine.startValue+((t.config.axis==="y"?i.clientY:i.clientX)-t.dragMeta.startCoord)*t.dragMeta.sign,t.config.min,t.config.max),c=gS(t.machine,a,l);t.machine=c.next,c.changed&&un(e,t,t.machine.previewValue)}function CS(e,t,n,r,o){var i;if(t.machine.phase!=="dragging"||n.has(r))return;n.add(r);const a=(i=r.pointerId)!==null&&i!==void 0?i:0,s=vS(t.machine,a);s.closed&&(t.machine=s.next,kr(t,a),t.config=w(w({},t.config),{},{value:s.committedValue}),un(e,t,s.committedValue),s.shouldCommit&&o({token:t.token,value:s.committedValue}))}function xS(e,t,n,r,o,i){const a=r;if(a.key==="Escape"&&t.machine.phase==="dragging"){a.preventDefault(),o();return}const s=SS(e.document,n,t.config,a);if(s===void 0)return;const l=ki(s,t.config.min,t.config.max,t.config.step),c=_S(t.machine,l);c.handled&&(a.preventDefault(),c.committed&&(t.machine=c.next,t.config=w(w({},t.config),{},{value:c.committedValue}),un(e,t,c.committedValue),i({token:t.token,value:c.committedValue})))}function kS(e,t,n,r,o,i,a,s){var l;if(r.button!==void 0&&r.button!==0)return;const c=(l=r.pointerId)!==null&&l!==void 0?l:0,u=t.machine.activePointerId,d=hS(t.machine,c);if(d.started){r.preventDefault(),r.stopPropagation(),d.replacedPrevious&&kr(t,u),t.machine=d.next,t.dragMeta={startCoord:t.config.axis==="y"?r.clientY:r.clientX,sign:Ii(e,n,t.config.axis,t.config.reverse)},n.dataset.dragging="true";try{var f;(f=n.setPointerCapture)===null||f===void 0||f.call(n,c)}catch{}e.addEventListener("pointermove",i),e.addEventListener("pointerup",a),e.addEventListener("pointercancel",o),e.addEventListener("keydown",s),t.unbindDoc=()=>{e.removeEventListener("pointermove",i),e.removeEventListener("pointerup",a),e.removeEventListener("pointercancel",o),e.removeEventListener("keydown",s)}}}function IS(e,t,n,r,o){const i=e.document,a=new WeakSet,s=()=>{const m=t.machine.activePointerId,g=yS(t.machine);g.cancelled&&(t.machine=g.next,kr(t,m),t.config=w(w({},t.config),{},{value:g.restoredValue}),un(e,t,g.restoredValue))},l=m=>AS(e,t,a,m),c=m=>CS(e,t,a,m,r),u=m=>{m.key!=="Escape"||t.machine.phase!=="dragging"||(m.preventDefault(),s())},d=m=>kS(i,t,n,m,s,l,c,u),f=m=>xS(e,t,n,m,s,r),p=m=>{m.preventDefault(),m.stopPropagation(),t.machine.disabled||o({token:t.token})};return n.addEventListener("pointerdown",d),n.addEventListener("pointermove",l),n.addEventListener("pointerup",c),n.addEventListener("pointercancel",s),n.addEventListener("keydown",f),n.addEventListener("dblclick",p),()=>{s(),n.removeEventListener("pointerdown",d),n.removeEventListener("pointermove",l),n.removeEventListener("pointerup",c),n.removeEventListener("pointercancel",s),n.removeEventListener("keydown",f),n.removeEventListener("dblclick",p)}}function RS(e,t,n){const r=new Map,o=s=>{var l;const c=r.get(s);c&&((l=c.unbindHandle)===null||l===void 0||l.call(c),c.appliedTarget&&c.appliedPercentVar&&c.appliedTarget.style.removeProperty(c.appliedPercentVar),ad(null,void 0,0,"",c.appliedTarget,c.appliedVar),r.delete(s))};return{sync:s=>{const l=Ri(e,s.handleId);let c=r.get(s.token);c||(c={token:s.token,handleEl:null,config:s,machine:pS(s.value,s.min,s.max,s.disabled),appliedTarget:null,appliedVar:void 0,appliedPercentVar:void 0},r.set(s.token,c));const u=c.machine.activePointerId,d=mS(c.machine,s.value,s.min,s.max,s.disabled);if(c.config=s,c.machine=d.next,d.cancelledSession&&kr(c,u),c.handleEl!==l){var f;(f=c.unbindHandle)===null||f===void 0||f.call(c),c.handleEl=l,c.unbindHandle=l?IS(e,c,l,t,n):void 0}un(e,c,c.machine.previewValue)},remove:o,dispose:()=>{for(const s of[...r.keys()])o(s)}}}const LS=[{type:"sw-scrub",onAttach:D(function*(){const e=yield*ae,t=yield*be,n=yield*he,r=yield*ee(),o=RS(e,i=>r(n.emit(of,i).pipe(te)),i=>r(n.emit(rf,i).pipe(te)));yield*t.registerCommand(Td,i=>x(()=>o.sync(i))),yield*t.registerCommand(Pd,i=>x(()=>o.remove(i.token))),yield*ne(()=>x(()=>o.dispose()))})}];function TS(e){var t;const n=e;if(!n||typeof n.tagName!="string")return!1;const r=n.tagName.toUpperCase();return r==="INPUT"||r==="TEXTAREA"||r==="SELECT"?!0:!!(n.isContentEditable||!((t=n.closest)===null||t===void 0)&&t.call(n,'[contenteditable="true"], [contenteditable=""]'))}function Js(e){return e.length===1?e.toLowerCase():e}function PS(e,t,n){var r,o,i,a;const s=(r=t.ctrl)!==null&&r!==void 0?r:!!(t.mod&&!n),l=(o=t.meta)!==null&&o!==void 0?o:!!(t.mod&&n),c=(i=t.alt)!==null&&i!==void 0?i:!1,u=(a=t.shift)!==null&&a!==void 0?a:!1;return e.ctrlKey===s&&e.metaKey===l&&e.altKey===c&&e.shiftKey===u}function OS(e,t,n){if(e.isComposing)return;const r=Js(e.key),o=TS(e.target);for(let i=0;i<t.length;i++){const a=t[i];if(!(!a||typeof a.id!="string"||typeof a.key!="string")&&!(e.repeat&&a.allowRepeat===!1)&&!(o&&!a.allowInInput)&&Js(a.key)===r&&PS(e,a,n))return{binding:a,index:i}}}function DS(e,t){var n;const r=e.target===t.document?t.document.activeElement:e.target,o=r==null||(n=r.closest)===null||n===void 0?void 0:n.call(r,"[data-sw-host-root], [data-sw-overlay-root]");return!o||o.parentElement===t.rootContainer}function MS(e){var t,n;const r=(t=(n=e.defaultView)===null||n===void 0||(n=n.navigator)===null||n===void 0?void 0:n.platform)!==null&&t!==void 0?t:"";return/mac|iphone|ipad|ipod/i.test(r)}function NS(e,t,n){return r=>{const o=t();if(!o.length||!DS(r,e))return;const i=MS(e.document);for(let a=o.length-1;a>=0;a--){const s=o[a],l=OS(r,s.bindings,i);if(l){l.binding.preventDefault!==!1&&r.preventDefault(),l.binding.stopPropagation&&r.stopPropagation(),n({token:s.token,generation:s.generation,index:l.index,detail:{id:l.binding.id,key:r.key,repeat:r.repeat,shiftKey:r.shiftKey,ctrlKey:r.ctrlKey,altKey:r.altKey,metaKey:r.metaKey}});return}}}}const VS=[{type:"sw-shortcut",onAttach:D(function*(){const e=yield*ae,t=yield*be,n=yield*he,r=yield*ee();let o=[];yield*t.registerCommand(Od,a=>x(()=>{o=Ud(o,{token:a.token,generation:a.generation,order:a.order,bindings:a.bindings})})),yield*t.registerCommand(Dd,a=>x(()=>{o=qd(o,a.token)}));const i=NS(e,()=>o,a=>{r(n.emit(af,a).pipe(te))});yield*ie(x(()=>{e.document.addEventListener("keydown",i)}),()=>x(()=>{e.document.removeEventListener("keydown",i),o=[]}))})}],sd="http://www.w3.org/2000/svg",$S=/^(?:none|currentColor|transparent|#[0-9a-fA-F]{3,8}|(?:rgb|rgba|hsl|hsla)\([^()]+\)|var\(--[a-zA-Z0-9_-]+\)|[a-zA-Z]{3,20})$/,FS=/^(?:(?:translate|scale|rotate|skewX|skewY|matrix)\([0-9eE.,+\-\s]+\)\s*)+$/,BS=/^-?\d+(?:\.\d+)?(?:\s+|,\s*)-?\d+(?:\.\d+)?(?:\s+|,\s*)\d+(?:\.\d+)?(?:\s+|,\s*)\d+(?:\.\d+)?$/,WS=/^[MmLlHhVvCcSsQqTtAaZz0-9eE.,+\-\s]+$/;function X(e,t,n){n!==void 0&&n.length>0?e.setAttribute(t,n):e.removeAttribute(t)}function Et(e){if(typeof e=="number"&&Number.isFinite(e))return String(e);if(typeof e=="string"&&/^-?\d+(?:\.\d+)?(?:%|px|em|rem)?$/.test(e.trim()))return e.trim()}function rr(e){if(typeof e!="string")return;const t=e.trim();return $S.test(t)?t:void 0}function zS(e){if(typeof e!="string")return;const t=e.trim();return FS.test(t)?t:void 0}function el(e,t,n,r,o){const i=t.style;return e.id=J(n,"svg",t.id,t.autoId,r),e.setAttribute("data-sw-svg","true"),X(e,"viewBox",typeof t.viewBox=="string"&&BS.test(t.viewBox.trim())?t.viewBox.trim():void 0),X(e,"width",Et(t.width)),X(e,"height",Et(t.height)),X(e,"fill",rr(t.fill)),X(e,"stroke",rr(t.stroke)),X(e,"stroke-width",Et(t.strokeWidth)),typeof t.ariaLabel=="string"&&t.ariaLabel.length>0?(e.setAttribute("role","img"),e.setAttribute("aria-label",t.ariaLabel),e.removeAttribute("aria-hidden")):(e.removeAttribute("role"),e.removeAttribute("aria-label"),t.ariaHidden?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")),j(e,i,o),i}function HS(e,t){X(e,"fill",rr(t.fill)),X(e,"stroke",rr(t.stroke)),X(e,"stroke-width",Et(t.strokeWidth)),X(e,"opacity",Et(t.opacity)),X(e,"transform",zS(t.transform));const n=t.strokeLinecap==="round"||t.strokeLinecap==="square"||t.strokeLinecap==="butt"?t.strokeLinecap:void 0,r=t.strokeLinejoin==="round"||t.strokeLinejoin==="bevel"||t.strokeLinejoin==="miter"?t.strokeLinejoin:void 0,o=t.fillRule==="evenodd"||t.fillRule==="nonzero"?t.fillRule:void 0;X(e,"stroke-linecap",n),X(e,"stroke-linejoin",r),X(e,"fill-rule",o),X(e,"stroke-dasharray",typeof t.strokeDasharray=="string"&&/^[0-9.,\s]+$/.test(t.strokeDasharray.trim())?t.strokeDasharray.trim():void 0)}function tl(e,t,n){if(HS(t,n),e==="path"){X(t,"d",typeof n.d=="string"&&WS.test(n.d.trim())?n.d.trim():void 0);return}const r=e==="rect"?["x","y","width","height","rx","ry"]:e==="circle"?["cx","cy","r"]:e==="line"?["x1","y1","x2","y2"]:[];for(const o of r)X(t,o,Et(n[o]))}let jS=0;const GS=`
360
- [data-sw-svg] {
361
- display: block;
362
- box-sizing: border-box;
363
- overflow: visible;
364
- }
365
- `;function Wt(e,t){return{type:e,mount(n,r){const o=r.document.createElementNS(sd,t);return tl(t,o,n),{element:o,update(i){tl(t,o,i)}}}}}const US=[{type:"sw-svg",styles:GS,mount(e,t){const n=t.document.createElementNS(sd,"svg"),r=++jS;let o=el(n,e,t,r);return{element:n,update(i){o=el(n,i,t,r,o)}}}},Wt("sw-svg-path","path"),Wt("sw-svg-rect","rect"),Wt("sw-svg-circle","circle"),Wt("sw-svg-line","line"),Wt("sw-svg-g","g")],qS=`
366
- p[data-sw-text],
367
- h1[data-sw-text],
368
- h2[data-sw-text],
369
- h3[data-sw-text],
370
- h4[data-sw-text],
371
- h5[data-sw-text],
372
- h6[data-sw-text] {
373
- margin: 0;
374
- min-width: 0;
375
- }
376
- [data-sw-text="strong"] {
377
- font-weight: 600;
378
- }
379
- [data-sw-text="em"] {
380
- font-style: italic;
381
- }
382
- [data-sw-text="del"] {
383
- text-decoration-line: line-through;
384
- }
385
- [data-sw-text="small"] {
386
- font-size: 0.875em;
387
- }
388
- [data-sw-text="mark"] {
389
- background-color: var(--sw-warning-surface);
390
- color: var(--sw-warning-foreground);
391
- border-radius: var(--sw-radius-sm);
392
- padding: 0 0.2em;
393
- }
394
- `;function KS(e){return e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight}function XS(e,t,n){if(typeof t!="number"||!Number.isInteger(t)||t<=0){e.style.removeProperty("-webkit-line-clamp"),e.style.removeProperty("-webkit-box-orient"),n!=null&&n.display||e.style.removeProperty("display");return}if(t===1){var r;e.style.overflow="hidden",e.style.whiteSpace="nowrap",e.style.textOverflow=(r=n==null?void 0:n.textOverflow)!==null&&r!==void 0?r:"ellipsis",e.style.removeProperty("-webkit-line-clamp"),e.style.removeProperty("-webkit-box-orient");return}e.style.display="-webkit-box",e.style.overflow="hidden",e.style.setProperty("-webkit-box-orient","vertical"),e.style.setProperty("-webkit-line-clamp",String(t))}let YS=0;const nl={inline:"span",paragraph:"p",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",strong:"strong",em:"em",del:"del",small:"small",mark:"mark"};function ZS(e){return typeof e=="string"&&Object.prototype.hasOwnProperty.call(nl,e)?{semantic:e,tag:nl[e]}:{semantic:"inline",tag:"span"}}function rl(e,t,n,r,o,i){const a=t.style,s=t.selectable===!1?"none":"text";return e.id=J(n,"text",t.id,t.autoId,r),e.setAttribute("data-sw-text",o),j(e,a,i,{userSelect:s}),XS(e,t.numberOfLines,a),a}const QS=[{type:"sw-text",styles:qS,mount(e,t){const{semantic:n,tag:r}=ZS(e.as),o=t.document.createElement(r),i=++YS;let a=e,s=rl(o,e,t,i,n);const l=Ku(o,t,e,{shouldEnter:()=>!a.onlyHoverWhenTruncated||KS(o)});return{element:o,update(c){a=c,s=rl(o,c,t,i,n,s),l.update(c)},dispose:l.dispose}}}];let JS=0;function Li(e,t,n){var r,o;n.isComposing||((r=(o=t.getAckSeq)===null||o===void 0?void 0:o.call(t))!==null&&r!==void 0?r:n.lastEditSeq)<n.lastEditSeq||e.value!==n.committedValue&&(e.value=n.committedValue,n.lastDispatchedValue=n.committedValue)}function ol(e,t,n,r,o){const i=t.style;e.id=J(n,"textarea",t.id,t.autoId,o),e.placeholder=typeof t.placeholder=="string"?t.placeholder:"",e.rows=typeof t.rows=="number"&&t.rows>0?t.rows:3,e.disabled=!!t.disabled,e.readOnly=!!t.readOnly,e.setAttribute("data-sw-textarea","true"),e.setAttribute("data-mode",t.mode==="plain"?"plain":"default"),typeof t.ariaLabel=="string"&&t.ariaLabel.length>0?e.setAttribute("aria-label",t.ariaLabel):e.removeAttribute("aria-label"),r.committedValue=typeof t.value=="string"?t.value:"",Li(e,n,r),j(e,i,r.currentStyle),r.currentStyle=i}function il(e,t,n){n.lastDispatchedValue=e.value;const r=t.dispatchEvent("onChange",e.value);St(r)&&(n.lastEditSeq=r.value)}function eA(e,t,n){e.addEventListener("focus",()=>t.dispatchEvent("onFocus")),e.addEventListener("blur",()=>t.dispatchEvent("onBlur")),e.addEventListener("compositionstart",()=>{n.isComposing=!0}),e.addEventListener("compositionend",()=>{n.isComposing=!1,e.value!==n.lastDispatchedValue?il(e,t,n):Li(e,t,n)}),e.addEventListener("input",r=>{const o="isComposing"in r&&!!r.isComposing;n.isComposing||o||e.value!==n.lastDispatchedValue&&il(e,t,n)}),e.addEventListener("keydown",r=>{n.isComposing||r.isComposing||r.keyCode===229||r.key==="Escape"&&e.blur()})}const tA=[{type:"sw-textarea",styles:`
395
- [data-sw-textarea] {
396
- width: 100%;
397
- min-height: 5.5rem;
398
- padding: 0.5rem 0.625rem;
399
- border-radius: var(--sw-radius-md);
400
- border: 1px solid var(--sw-border);
401
- background-color: var(--sw-surface);
402
- color: var(--sw-foreground);
403
- box-shadow: var(--sw-shadow-sm);
404
- font-size: 1rem;
405
- line-height: 1.5;
406
- resize: vertical;
407
- }
408
- [data-sw-textarea]:disabled {
409
- color: var(--sw-disabled-foreground);
410
- opacity: 0.6;
411
- }
412
- [data-sw-textarea]:focus {
413
- border-color: var(--sw-border-focus);
414
- }
415
- [data-sw-textarea][data-mode="plain"] {
416
- border-width: 0;
417
- border-style: none;
418
- border-radius: 0;
419
- background-color: transparent;
420
- box-shadow: none;
421
- }
422
- [data-sw-textarea]::placeholder {
423
- color: var(--sw-muted-foreground);
424
- }
425
- `,mount(e,t){const n=t.document.createElement("textarea"),r=++JS,o=typeof e.value=="string"?e.value:"",i={isComposing:!1,lastEditSeq:0,committedValue:o,lastDispatchedValue:o};return ol(n,e,t,i,r),eA(n,t,i),{element:n,update(a){ol(n,a,t,i,r)},invoke(a,s){return ku(n,"sw-textarea",a,s)},onAck(){Li(n,t,i)}}}}],ld=[...S_,...D_,...N_,...J_,...hb,...__,...Mb,...Nb,...Fb,...Yb,...e0,...i0,...y0,...E0,...X0,...xw,...qw,...EE,...TE,...fS,...LS,...VS,...US,...QS,...tA,...oE],al=new Set;for(const e of ld){if(al.has(e.type))throw new Error("宿主类型重名:"+e.type);al.add(e.type)}const nA=Object.freeze(ld),rA=`
426
- *, *::before, *::after {
427
- box-sizing: border-box;
428
- cursor: default !important;
429
- outline: none !important;
430
- }
431
- :focus, :focus-visible {
432
- outline: none !important;
433
- }
434
- button, input, textarea {
435
- font: inherit;
436
- color: inherit;
437
- }
438
- button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"] {
439
- -webkit-tap-highlight-color: transparent;
440
- user-select: none;
441
- }
442
- button:disabled, input:disabled, textarea:disabled {
443
- cursor: default !important;
444
- }
445
- html, body {
446
- margin: 0;
447
- padding: 0;
448
- background-color: var(--sw-background);
449
- color: var(--sw-foreground);
450
- font-family: var(--sw-font-sans);
451
- font-size: var(--sw-body-font-size);
452
- line-height: var(--sw-body-line-height);
453
- -webkit-font-smoothing: antialiased;
454
- -webkit-text-size-adjust: 100%;
455
- text-size-adjust: 100%;
456
- }
457
- @keyframes sw-spin {
458
- from { transform: rotate(0deg); }
459
- to { transform: rotate(360deg); }
460
- }
461
- `,cd="data-sw-head-icon";function oA(e){if(e.tagName.toLowerCase()!=="link")return!1;const t=e.getAttribute("rel");return typeof t=="string"&&/\bicon\b/i.test(t)}function iA(e){const t=e.head;if(!t)return[];const n=[];for(const r of Array.from(t.children))oA(r)&&!r.hasAttribute(cd)&&n.push({node:r,parent:t,nextSibling:r.nextSibling});return n}function aA(e,t){const n=e.head;if(n)for(let r=t.length-1;r>=0;r-=1){const o=t[r];o.node.isConnected||(o.nextSibling&&o.nextSibling.parentNode===o.parent?o.parent.insertBefore(o.node,o.nextSibling):n.appendChild(o.node))}}function sA(e,t,n,r){const o=e.head;if(!o)return n;for(const a of t)a.node.isConnected&&a.node.remove();const i=n??e.createElement("link");return n||(i.setAttribute("rel","icon"),i.setAttribute("type","image/svg+xml"),i.setAttribute(cd,"true")),i.setAttribute("href",r),i.isConnected||o.appendChild(i),i}function lA(e){const t=e.title,n=iA(e);let r=null,o=null;const i=()=>{r&&(r.remove(),r=null),o=null,aA(e,n)};return{apply:l=>cr(()=>{var c;const u=l.icon?Kd(l.icon):null;if(l.icon&&u===void 0)return me(new ue({channel:dl.channel,message:"Rejected unsafe or non-platform document head icon resource."}));const d=(c=l.title)!==null&&c!==void 0?c:t;return e.title!==d&&(e.title=d),u?(!r||!r.isConnected||o!==u)&&(r=sA(e,n,r,u),o=u):i(),re({ok:!0})}),restore:()=>{e.title!==t&&(e.title=t),i()}}}function ud(e,t){return D(function*(){const n=lA(e);yield*t.registerCommand(dl,n.apply),yield*ne(()=>x(()=>n.restore()))})}const sl=Object.freeze(nA.map(e=>{var t;return w(w({},e),{},{styles:rA+((t=e.styles)!==null&&t!==void 0?t:"")})}));function dd(e={}){return e.createEmbedWorker?sl.map(t=>t.type==="sw-embed"?w(w({},fu({createWorker:e.createEmbedWorker})),{},{styles:t.styles}):t):sl}function Le(e,t,n){const r=e.ownerDocument,o=r.createElement("section");o.setAttribute("role","alert"),o.setAttribute("data-runtime-host-error","true"),Object.assign(o.style,{margin:"24px",padding:"16px",borderRadius:"8px",border:"1px solid var(--sw-destructive, #c72028)",backgroundColor:"var(--sw-destructive-surface, #fcf4f4)",color:"var(--sw-destructive-text, #a61b20)",fontFamily:"var(--sw-font-sans, sans-serif)",fontSize:"16px"});const i=r.createElement("div");if(i.style.fontWeight="600",i.textContent=t,o.appendChild(i),n){const a=r.createElement("div");Object.assign(a.style,{marginTop:"6px",fontFamily:"var(--sw-font-mono, monospace)",fontSize:"14px"}),a.textContent=n,o.appendChild(a)}e.replaceChildren(o)}function cA(e,t){return!!(e.previewMode||t!=null&&t.enabled||e.initialMockSet!==void 0||(t==null?void 0:t.mockSet)!==void 0)}function uA(e,t,n,r){return new Promise((o,i)=>{const a=setTimeout(()=>{t.delete(n),i(new Error(`Preview sync timeout for ${n}`))},1e4);t.set(n,s=>{clearTimeout(a),o(s)}),ro(e.emit(lf,{requestId:n,...r.envRev!==void 0?{envRev:r.envRev}:{},...r.config!==void 0?{config:r.config}:{},...r.env!==void 0?{env:{...r.env}}:{},...r.mockSet!==void 0?{mockSet:r.mockSet}:{}}).pipe(Yo(s=>x(()=>{clearTimeout(a),t.delete(n),i(s)}))))})}function dA(e){return D(function*(){let t=!1,n,r=e.initialEnvRev,o=e.initialMockRev,i=0;const a=new Map;yield*e.signals.subscribe(sf,c=>x(()=>{c.ok&&(r=c.envRev,o=c.mockRev);const u=a.get(c.requestId);u&&(a.delete(c.requestId),u(c))})).pipe(te);const s={isReady:()=>t,getRuntimeError:()=>n,getEnvRev:()=>r,getMockRev:()=>o,syncContext:async c=>((c.config!==void 0||c.env!==void 0)&&await Xe(e.host.setHostContext({...c.config!==void 0?{config:c.config}:{},...c.env!==void 0?{env:{...c.env}}:{}})),uA(e.signals,a,`sync-${++i}`,c))},l=globalThis;return l.__MPIS_PREVIEW_HOST__=s,yield*ne(()=>x(()=>{for(const c of a.values())c({requestId:"closed",ok:!1,envRev:r,mockRev:o,error:"Host scope closed"});a.clear(),l.__MPIS_PREVIEW_HOST__===s&&delete l.__MPIS_PREVIEW_HOST__})),{markReady:()=>{t=!0},markFailed:c=>{n=c}}})}function fA(e){var t;return{kind:"bootstrap",protocolVersion:Xo,moduleUrl:e.moduleUrl,...e.preloadModules&&e.preloadModules.length>0?{preloadModules:e.preloadModules}:{},baseUrl:e.baseUrl,primitiveApiMajor:e.state.primitiveApiMajor,runtimeIdentity:e.state.runtimeIdentity,initialTheme:e.initialConfig.mode??"light",initialConfig:e.initialConfig,initialEnv:e.initialEnv,initialLocation:e.initialLocation,...e.previewEnabled?{previewMode:!0,initialEnvRev:((t=e.state.preview)==null?void 0:t.envRev)??0}:{},...e.previewMockSet!==void 0?{initialMockSet:e.previewMockSet}:{}}}class Ti extends an("EmbeddedWorkerError"){}function pA(e){const t=new Worker(e,{type:"module"});return{endpoint:ir(t),onError(n){const r=i=>{var a;(a=i.preventDefault)==null||a.call(i),n(i.message||"入口 Worker 脚本加载或执行异常。")},o=()=>n("入口 Worker 消息反序列化失败。");return t.addEventListener("error",r),t.addEventListener("messageerror",o),()=>{t.removeEventListener("error",r),t.removeEventListener("messageerror",o)}},terminate:()=>t.terminate()}}function mA(e,t){return ie(je({try:()=>e(t),catch:n=>new Ti({message:n instanceof Error?n.message||n.name:String(n),cause:n})}),n=>x(()=>n.terminate()))}const to=e=>({status:e,host:lr(),updateContext:()=>He});function hA(e,t,n){return je({try:()=>{const r=new URL(n.baseUrl??".",e.baseURI||t.location.href).href,o=n.runtimeBaseUrl.endsWith("/")?n.runtimeBaseUrl:`${n.runtimeBaseUrl}/`,i=new URL(o,r).href,a=new URL(n.workerModule??"worker.js",i).href;return{baseUrl:r,runtimeBaseUrl:i,workerScriptUrl:a}},catch:r=>new Ti({message:r instanceof Error?r.message||r.name:String(r),cause:r})})}function gA(e,t,n,r,o,i,a,s){return D(function*(){const l=yield*_l(bl(wl(o.endpoint,"host"),El(he,r.signals))).pipe(Y(a)),c=i.mountNavigation?yield*Sl(t,n,{registerCommand:r.registerCommand}).pipe(Al(l),Y(a)):void 0;return i.mountHead&&(yield*ud(e,{registerCommand:r.registerCommand}).pipe(Y(a))),yield*ie(je({try:()=>o.onError(u=>s("入口 Worker 线程异常终止。",u)),catch:u=>new Ti({message:u instanceof Error?u.message||u.name:String(u),cause:u})}),u=>x(()=>u())).pipe(Y(a)),{endpoint:Cl(l,xl),initialLocation:c==null?void 0:c.initialLocation}})}function vA(e,t,n,r,o,i,a){var c,u;const s={...r.initialConfig,...o.initialConfig,mode:((c=o.initialConfig)==null?void 0:c.mode)??o.initialTheme??((u=r.initialConfig)==null?void 0:u.mode)??"light"},l={...r.initialEnv,...o.initialEnv};return D(function*(){const{baseUrl:d,runtimeBaseUrl:f,workerScriptUrl:p}=yield*hA(t,n,o),m=yield*mA(o.createWorker??pA,p).pipe(Y(i)),g=yield*qo({container:e,endpoint:m.endpoint,elements:o.elements??dd({createEmbedWorker:o.createWorker}),hostConfig:s,hostEnv:l,applyDocumentTheme:o.applyDocumentTheme??!1,baseUrl:d,workerUrl:p,runtimeIdentity:r.runtimeIdentity,primitiveApiMajor:Ct,...r.entryId?{entryId:r.entryId}:{},...r.version?{version:r.version}:{},onRuntimeError:y=>{a(y.phase==="load"?"入口产物模块加载失败。":"入口产物发生运行时异常。",y.message)}}).pipe(Y(i)),{endpoint:v,initialLocation:_}=yield*gA(t,n,d,g,m,o,i,a);return yield*Ko(v,{kind:"bootstrap",protocolVersion:Xo,inlineModules:{entry:r.entry,modules:r.modules,runtimeBaseUrl:f,runtimeIdentity:r.runtimeIdentity},baseUrl:d,primitiveApiMajor:r.primitiveApiMajor,runtimeIdentity:r.runtimeIdentity,initialTheme:s.mode??"light",initialConfig:s,initialEnv:l,..._?{initialLocation:_}:{}}),{status:"ready",host:sr(g),updateContext:y=>g.setHostContext(y)}})}function yA(e,t,n,r,o){return r.platform!=="web"?(Le(e,"当前 Web 宿主不支持此产物平台。",r.platform),re(to("incompatible"))):r.primitiveApiMajor!==Ct?(Le(e,"Primitive API 主版本不兼容,已拒绝执行入口产物。",`required=${r.primitiveApiMajor}, available=${Ct}`),re(to("incompatible"))):D(function*(){const i=yield*Uo(yield*jo),a=yield*ee();let s=!1;const l=(u,d)=>cr(()=>s||i.state._tag==="Closed"?He:(s=!0,Fe(i,Be).pipe(At(x(()=>Le(e,u,d))))));return yield*vA(e,t,n,r,o,i,(u,d)=>{!s&&i.state._tag!=="Closed"&&a(l(u,d))}).pipe(Yo(u=>l("宿主环境初始化失败。",u instanceof Error?u.message:String(u)).pipe(yl(to("failed")))))})}async function PA(e,t,n){const r=e.ownerDocument,o=r.defaultView;if(!o)return Le(e,"宿主环境初始化失败。","容器未挂载到有效的浏览器窗口上下文。"),{status:"failed",updateContext:async()=>{},dispose:async()=>{}};const i=await Xe(kl());let a;try{a=await Xe(yA(e,r,o,t,n).pipe(Y(i)))}catch(l){return await Xe(Fe(i,Be)),Le(e,"宿主环境初始化失败。",l instanceof Error?l.message:String(l)),{status:"failed",updateContext:async()=>{},dispose:async()=>{}}}if(a.status!=="ready")return await Xe(Fe(i,Be)),{status:a.status==="incompatible"?"incompatible":"failed",updateContext:async()=>{},dispose:async()=>{}};let s;return{status:"ready",updateContext:async l=>{s||await Xe(a.updateContext(l))},dispose:()=>(s??=Xe(Fe(i,Be)),s)}}const zo="runtime-bootstrap";class Ho extends an("BootstrapError"){}function _A(e){const t=new Worker(e,{type:"module"});return{endpoint:ir(t),onError(n){const r=i=>{var a;(a=i.preventDefault)==null||a.call(i),n(i.message||"入口 Worker 脚本加载或执行异常。")},o=()=>n("入口 Worker 消息反序列化失败。");return t.addEventListener("error",r),t.addEventListener("messageerror",o),()=>{t.removeEventListener("error",r),t.removeEventListener("messageerror",o)}},terminate:()=>t.terminate()}}function bA(e){var n,r;const t=Go((r=(n=e.getElementById(zo))==null?void 0:n.textContent)==null?void 0:r.trim()).pipe(cf(o=>o.length>0));return Xt(t)?re(lr()):je({try:()=>JSON.parse(t.value),catch:o=>new Ho({message:o instanceof Error?o.message:String(o),cause:o})}).pipe(vl(o=>!o||typeof o!="object"||typeof o.status!="string"?me(new Ho({message:`Invalid #${zo} payload.`})):re(sr(o))))}function wA(e){return e.elements??dd({createEmbedWorker:e.createWorker})}function EA(e,t){return ie(je({try:()=>e(t),catch:n=>new Ho({message:n instanceof Error?n.message||n.name:String(n),cause:n})}),n=>x(()=>n.terminate()))}const SA=(e,t)=>ie(x(()=>e.onError(t)),n=>x(()=>n())).pipe(ar),AA=()=>He,Gt=e=>({status:e,host:lr(),updateContext:AA});function CA(e,t){var r,o;return{initialConfig:{...e.initialConfig,...t.initialConfig,mode:((r=t.initialConfig)==null?void 0:r.mode)??t.initialTheme??((o=e.initialConfig)==null?void 0:o.mode)??"light"},initialEnv:{...e.initialEnv,...t.initialEnv}}}function xA(e,t,n,r,o,i,a){var m;const s=new URL(".",t.baseURI||n.location.href).href,l=new URL(r.moduleUrl,s).href,c=r.manifestUrl?new URL(r.manifestUrl,s).href:void 0,u=(m=r.preloadModules)==null?void 0:m.map(g=>new URL(g,s).href),d=new URL(r.workerModule,s).href,{initialConfig:f,initialEnv:p}=CA(r,o);return D(function*(){var k,R;const g=yield*EA(o.createWorker??_A,d).pipe(Y(i));let v;const _=o.initialMockSet??((k=r.preview)==null?void 0:k.mockSet),y=cA(o,r.preview),b=yield*qo({container:e,endpoint:g.endpoint,elements:wA(o),hostConfig:f,hostEnv:p,applyDocumentTheme:!0,baseUrl:s,workerUrl:r.workerModule,runtimeIdentity:r.runtimeIdentity,primitiveApiMajor:Ct,...r.entryId?{entryId:r.entryId}:{},...r.version?{version:r.version}:{},...r.studioOrigin?{studioOrigin:r.studioOrigin}:{},moduleUrl:l,...c?{manifestUrl:c}:{},onReady:()=>v==null?void 0:v.markReady(),onRuntimeError:I=>{v==null||v.markFailed(I.message),a(I.phase==="load"?"入口产物模块加载失败。":"入口产物发生运行时异常。",I.message)}}).pipe(Y(i));y&&(v=yield*dA({host:b,signals:b.signals,initialEnvRev:((R=r.preview)==null?void 0:R.envRev)??0,initialMockRev:(_==null?void 0:_.mockRev)??0}).pipe(Y(i)));const E=yield*_l(bl(wl(g.endpoint,"host"),El(he,b.signals))).pipe(Y(i)),S=yield*Sl(n,s,{registerCommand:b.registerCommand}).pipe(Al(E),Y(i));return yield*ud(t,{registerCommand:b.registerCommand}).pipe(Y(i)),yield*SA(g,I=>{v==null||v.markFailed(I),a("入口 Worker 线程异常终止。",I)}).pipe(Y(i)),yield*Ko(Cl(E,xl),fA({state:r,moduleUrl:l,preloadModules:u,baseUrl:s,initialConfig:f,initialEnv:p,initialLocation:S.initialLocation,previewEnabled:y,previewMockSet:_})),{status:"ready",host:sr(b),updateContext:I=>b.setHostContext(I)}})}function kA(e,t,n,r,o){return D(function*(){const i=yield*Uo(yield*jo),a=yield*ee();let s=!1;const l=(u,d)=>cr(()=>s||i.state._tag==="Closed"?He:(s=!0,Fe(i,Be).pipe(At(x(()=>Le(e,u,d))))));return yield*xA(e,t,n,r,o,i,(u,d)=>{!s&&i.state._tag!=="Closed"&&a(l(u,d))}).pipe(Yo(u=>l("宿主环境初始化失败。",u instanceof Error?u.message:String(u)).pipe(yl(Gt("failed")))))})}function IA(e,t,n={}){const r=Go(e.getElementById("app"));return bA(e).pipe(hl({onFailure:o=>x(()=>(St(r)&&Le(r.value,"无法解析宿主引导配置。",o.message),Gt("failed"))),onSuccess:o=>{if(Xt(o)||o.value.status!=="ready"||Xt(r))return re(Gt(St(o)&&o.value.status==="incompatible"?"incompatible":"idle"));const i=o.value;return i.platform!=="web"?(Le(r.value,"当前 Web 宿主不支持此产物平台。",i.platform),re(Gt("incompatible"))):i.primitiveApiMajor!==Ct?(Le(r.value,"Primitive API 主版本不兼容,已拒绝执行入口产物。",`required=${i.primitiveApiMajor}, available=${Ct}`),re(Gt("incompatible"))):kA(r.value,e,t,i,n)}}))}function RA(e,t){ro(D(function*(){const n=yield*kl(),r=()=>ro(Fe(n,Be));yield*ie(x(()=>(t.addEventListener("pagehide",r,{once:!0}),()=>t.removeEventListener("pagehide",r))),o=>x(()=>o())).pipe(Y(n)),yield*IA(e,t).pipe(Y(n))}))}typeof document<"u"&&typeof window<"u"&&document.getElementById(zo)!==null&&RA(document,window);export{zo as RUNTIME_BOOTSTRAP_ELEMENT_ID,PA as mountEmbeddedHost,IA as mountHostBootstrap};