@reviewflow/app 6.27.0 → 6.30.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 (252) hide show
  1. package/README.md +4 -2
  2. package/build/index-node.mjs +197 -28
  3. package/client/_expo/static/css/{global-5d78cd7d74c13d3efa0ebc9c34bf74ce.css → global-38ec5413df335aab6df428b378e57678.css} +1 -1
  4. package/client/_expo/static/js/web/{AppEntry-8335bf1179b49f9739abf502e3473765.js → AppEntry-47fc619343957eb0afc7d828734d2885.js} +280 -271
  5. package/client/_expo/static/js/web/{__common-c6d62ed879da80e201469ad08f57a7b3.js → __common-236a0578252ea820a7d88bdef538504b.js} +394 -394
  6. package/client/_expo/static/js/web/{abap-4fe0e7b98d21de098f288929baf0ec21.js → abap-2e9f70da8df4d5e0a23604bb203909d8.js} +1 -1
  7. package/client/_expo/static/js/web/{actionscript-3-8b370d351bdeb01d3992e392cbb2fec2.js → actionscript-3-7ac2804f091b7eb5862701e9bbb535f2.js} +1 -1
  8. package/client/_expo/static/js/web/{ada-409ab0ae135850f06d23d9b1bca24bc8.js → ada-f596d959b5ae8c9bbb8674f7c2232392.js} +1 -1
  9. package/client/_expo/static/js/web/{ahk-360289a7120a1defa7e8603167aa0f63.js → ahk-7191833cc3e877dc43c551f6755647b4.js} +1 -1
  10. package/client/_expo/static/js/web/{ahk2-5345220889a20c12d5fc00295126c0be.js → ahk2-3d889b5cd44864ec94eddd32953fe08a.js} +1 -1
  11. package/client/_expo/static/js/web/{andromeeda-3468a36078d733271be94aaaf0e4e12c.js → andromeeda-4f75990c720cbd4cfd6069e52987242c.js} +1 -1
  12. package/client/_expo/static/js/web/{angular-ts-9b72d6d2358f68d4eed91b9cb74991b6.js → angular-ts-11ade30f63ee31752cc9453d7f70678b.js} +3 -3
  13. package/client/_expo/static/js/web/{apache-caaa3da61117f7c20a407998843b426d.js → apache-f28ce9a5c4565eb19bce93e257d968ef.js} +1 -1
  14. package/client/_expo/static/js/web/{apex-2953772baa8337f1a114f5dc0cfe528d.js → apex-8f65ce73103fee1002b7be8455272791.js} +1 -1
  15. package/client/_expo/static/js/web/{apl-d1820db85aa32d42406eec6c6759451c.js → apl-596c4d7f44a1275a1ac34314855af5b8.js} +1 -1
  16. package/client/_expo/static/js/web/{applescript-80f7d5ac0d0d5043d16c8ce372686fdf.js → applescript-ee8665b8c5635fefcfe529892165fe1d.js} +1 -1
  17. package/client/_expo/static/js/web/{ara-cea5e4491e45d259aba0e36cdecb62d1.js → ara-c8362a5ebe4351e342e7cdd547a57757.js} +1 -1
  18. package/client/_expo/static/js/web/{asciidoc-d518d84bad8473f4b0d746dbebd11622.js → asciidoc-04196d8ca08a8303da86ea4cc4310db2.js} +1 -1
  19. package/client/_expo/static/js/web/{asm-02375d2a5bff5da2e1329f7781341bf5.js → asm-6ea552dd02985d1d7a25c7af08f72db3.js} +1 -1
  20. package/client/_expo/static/js/web/{astro-ce13a9de419152fd247b74a77406ed43.js → astro-20be66484a64e1ef803c8d6c8296b55f.js} +1 -1
  21. package/client/_expo/static/js/web/{aurora-x-30af0b77aab87dd59d684e3092e5196f.js → aurora-x-110ae90a80dd2efbae8e4dc99f7793c6.js} +1 -1
  22. package/client/_expo/static/js/web/{awk-ca3b182a267adb0f6c9979d1f55527dc.js → awk-a0a921b4a12c2dc6c7e44a7a4097b98e.js} +1 -1
  23. package/client/_expo/static/js/web/{ayu-dark-8adc90bda92676f9d5513250187ac297.js → ayu-dark-7ced1c2e1234aef5bb38c353d07b8739.js} +1 -1
  24. package/client/_expo/static/js/web/{ayu-light-17885913e6b3c98f87a74ad3585ecf57.js → ayu-light-40b5476b805c13670df218a0ec1665b9.js} +1 -1
  25. package/client/_expo/static/js/web/{ayu-mirage-5cad13ca4e5f10e9b179c424b286cc46.js → ayu-mirage-9d985b9e2c8e4a8657c6813418730f28.js} +1 -1
  26. package/client/_expo/static/js/web/{ballerina-3e475ceea53ae8ab2ee820e75afaa486.js → ballerina-2c3beec90018181e33296f06805b12d9.js} +1 -1
  27. package/client/_expo/static/js/web/{beancount-c64497767f33cc308791d8f6cd86696d.js → beancount-2cc64a72ac1f53e2691f115c166a5f2a.js} +1 -1
  28. package/client/_expo/static/js/web/{berry-f0926df7e239892dfeef674f55369ed7.js → berry-473a22a5d82882555eb5fbbc0d75151b.js} +1 -1
  29. package/client/_expo/static/js/web/{bicep-ad714c826c49ee79d49aef643821b52d.js → bicep-707a8fec327ec9427ea9a4f8df7e2bde.js} +1 -1
  30. package/client/_expo/static/js/web/{bird2-88b08da96d8ae1e89def954810784c7a.js → bird2-e94e562177923c66407c19268c22390a.js} +1 -1
  31. package/client/_expo/static/js/web/{blade-c0355d5637437b15c482f2c9ac5c0287.js → blade-56270856a9aaf12bd547e68d68624cba.js} +1 -1
  32. package/client/_expo/static/js/web/{bsl-e7a4d8a04b9dc660d9af311c1b9192ee.js → bsl-5875c1166d026f75a01dc2656c1d06b4.js} +1 -1
  33. package/client/_expo/static/js/web/{c3-6f019f0749c1395fa834b6fa6a8a5d2e.js → c3-ec4dbd4bf84dacd9837696bf57dcaeb8.js} +1 -1
  34. package/client/_expo/static/js/web/{cadence-6ca22355ac0bff24b8b62174901942ff.js → cadence-9026d2897cf4e3869ab762c6a801d82a.js} +1 -1
  35. package/client/_expo/static/js/web/{cairo-20e4c431c798ee32eb153bb9b448b873.js → cairo-5e112cf61ae5e1b14274252c26dc6a5d.js} +1 -1
  36. package/client/_expo/static/js/web/{catppuccin-frappe-47bf06b0822ea32347d3c4c9e3bc7720.js → catppuccin-frappe-c32292d540fd671f444cf00a1bc46c81.js} +1 -1
  37. package/client/_expo/static/js/web/{catppuccin-latte-52c56ab905aa65d9c13e9667266c67fa.js → catppuccin-latte-0e28bfe1ef078e29ef1720b114515763.js} +1 -1
  38. package/client/_expo/static/js/web/{catppuccin-macchiato-320fced1d4171692e37bf2e7b5d369c5.js → catppuccin-macchiato-cbf6fff24df23f6c7926c7a1c9936bc7.js} +1 -1
  39. package/client/_expo/static/js/web/{catppuccin-mocha-cb98e5ac190aefb275adc323f0765da4.js → catppuccin-mocha-cdeecc3b3491339d853320736afbe0ba.js} +1 -1
  40. package/client/_expo/static/js/web/{chapel-c187ad43e349fb684633d7c30ca395ef.js → chapel-dd134b880f1a28c558f03879513d3cab.js} +1 -1
  41. package/client/_expo/static/js/web/{clarity-ba21cf1e6f010c2e54f527725c291c17.js → clarity-e748f22c22a03397313c18b2be53b055.js} +1 -1
  42. package/client/_expo/static/js/web/{cobol-d348aa8865f5b793b9ca2a713e22d36a.js → cobol-da95a7e0f3bdaa0158ce571d35628556.js} +1 -1
  43. package/client/_expo/static/js/web/{codeowners-0b5ef3cfb50283890f675a17048822b9.js → codeowners-3a55a6f8cf8a6ad31ce589bf4b0158a1.js} +1 -1
  44. package/client/_expo/static/js/web/{codeql-dce6101b71a73bd86612eda44df9224d.js → codeql-56fe168af0cf46f0cd9df81f02e49b46.js} +1 -1
  45. package/client/_expo/static/js/web/{common-lisp-d60cd64fa3adabdea2b1b19e9137d8e6.js → common-lisp-7b38198cdf6534a5d97e00cf873e14a3.js} +1 -1
  46. package/client/_expo/static/js/web/{coq-b51cf2a751aa35da83957beb62b1d8f2.js → coq-b68759446f213551c38ac3c3d16b3531.js} +1 -1
  47. package/client/_expo/static/js/web/{crystal-147218c71f85c076a8be8ff1ce771230.js → crystal-70fb9c04267244d065e4c9deb9c53a6e.js} +1 -1
  48. package/client/_expo/static/js/web/{cue-2fd84956977669039d50f9b3048fe686.js → cue-846e62b69adcc13b4dead6096841c31d.js} +1 -1
  49. package/client/_expo/static/js/web/{cypher-2eadacda54d2554756bd7191d63f968a.js → cypher-8f1974041522ab0014c204ee5f2d05bb.js} +1 -1
  50. package/client/_expo/static/js/web/{d-763a7dc75194b8ec4e667f738948dd48.js → d-d36d7ebe14df334c93696ffe22c68805.js} +1 -1
  51. package/client/_expo/static/js/web/{dark-plus-38dc9bd12a3f4efaf02d2a735cbbcfe5.js → dark-plus-31eafb669d740c1c9364004354a80129.js} +1 -1
  52. package/client/_expo/static/js/web/{dax-b30cea36e38c7b3c72e41605466e3e68.js → dax-a51f657288f543e13e8d55fe3218422b.js} +1 -1
  53. package/client/_expo/static/js/web/{desktop-59e100d2ec1245163c3f287a4bcc05f1.js → desktop-e980d86c6a0c968ce978e45e4c070422.js} +1 -1
  54. package/client/_expo/static/js/web/{diff-theme-preview-46435a4e0a6c8354048ec3522c4be537.js → diff-theme-preview-f9a05045f1e388c69c588f3ec5e4070e.js} +1 -1
  55. package/client/_expo/static/js/web/{diff-viewer-b0f0e29d1d9f21a7e35b67f1a9f7f1c6.js → diff-viewer-c8c033837f41db40950202cc30bdf273.js} +1 -1
  56. package/client/_expo/static/js/web/{diff-worker-e3ef1ff1769be8a2463bf5c5d6e6611a.js → diff-worker-6249b0b0f59fbfe30871679a01405cd8.js} +5 -5
  57. package/client/_expo/static/js/web/{dotenv-bdc9b412b22b027a4539d47cbdf23496.js → dotenv-bb882d264d60ded424b1c797cb726668.js} +1 -1
  58. package/client/_expo/static/js/web/{dracula-7bd17a972569df39072f783fc23b1b60.js → dracula-8929b8ec04c9d6df089058cf479c07d6.js} +1 -1
  59. package/client/_expo/static/js/web/{dracula-soft-f31c0e24721697a087e2862f7cb2c64c.js → dracula-soft-335da7803d19ecdc8bf5072b2bdacb21.js} +1 -1
  60. package/client/_expo/static/js/web/{dream-maker-055868b7e7b591809507afa922d2b9b8.js → dream-maker-068cf1265547eb3b69b3962ee6a8ca00.js} +1 -1
  61. package/client/_expo/static/js/web/{edge-4a63ddc2f8d4e6edfaedbbf59db431d3.js → edge-e48feef5365c143e5e77176fd43f4e28.js} +1 -1
  62. package/client/_expo/static/js/web/{elm-850127630928f4eb4ef4d3fe52ece376.js → elm-b026cdcc4e0cd9d272139f9f1decbc3b.js} +1 -1
  63. package/client/_expo/static/js/web/{emacs-lisp-d19be85f9edc4ba71344a7c080ee4877.js → emacs-lisp-63ed44c0f6de4127586f7e232aca562a.js} +1 -1
  64. package/client/_expo/static/js/web/{erb-dab012381cc202e00c1853bac8a7331a.js → erb-fd04af6fd3b1098b97f89116d874f28a.js} +1 -1
  65. package/client/_expo/static/js/web/{everforest-dark-67d95a32087ecf5f06151bb7c4409c4e.js → everforest-dark-e511b5eed41906110538fae6eb7368b3.js} +1 -1
  66. package/client/_expo/static/js/web/{everforest-light-6c77581ac4647716a36d6198ef4e07eb.js → everforest-light-1743fe16d39aacb09897ca8642ae9faa.js} +1 -1
  67. package/client/_expo/static/js/web/{fennel-2c15d8452cf95543297b5d8cdfefe2c2.js → fennel-81bfa65cc00b2663a7a49cfb93370277.js} +1 -1
  68. package/client/_expo/static/js/web/{fish-37986ac4130578d236c93e7d92b71006.js → fish-82b67ac81a255f3e08b710d635f20a86.js} +1 -1
  69. package/client/_expo/static/js/web/{fluent-e7a892f444b60a8d744d9dbc2302c113.js → fluent-72f3a2948353fa22b7dc5754a0329f78.js} +1 -1
  70. package/client/_expo/static/js/web/{fortran-fixed-form-db4ebc3e239f4bb474b494b67e4cbe48.js → fortran-fixed-form-f1c08ca1cf4fe777916c930f03c3cf16.js} +1 -1
  71. package/client/_expo/static/js/web/{gdresource-b91ee658b38f85b6e152001380cd9606.js → gdresource-87beec231127d940d96415f06fa422e0.js} +1 -1
  72. package/client/_expo/static/js/web/{genie-b4cfba91cd32111e2892472efec200a0.js → genie-e8ea193e96905a3551370b6e17be228d.js} +1 -1
  73. package/client/_expo/static/js/web/{gherkin-2d45522ff8729a1a6ea8920ef0eb8b76.js → gherkin-8e254baae02e6780bc501ed62b622791.js} +1 -1
  74. package/client/_expo/static/js/web/{github-dark-f3af1bc419c5abdd60fe2e75b2ccf72c.js → github-dark-db515bfcce973ef8954c711d7f714b08.js} +1 -1
  75. package/client/_expo/static/js/web/{github-dark-default-ca8331083ab3091f6776c8cf3e2b1cb1.js → github-dark-default-8f70e1d585fa0374423d73a242a26b54.js} +1 -1
  76. package/client/_expo/static/js/web/{github-dark-dimmed-6c49998f259d16ee2de084d366dc3447.js → github-dark-dimmed-8c28a2f2410734b879c6b649469d70d0.js} +1 -1
  77. package/client/_expo/static/js/web/{github-dark-high-contrast-e6bb063b86f357a4437e98df2259d2d5.js → github-dark-high-contrast-4a242662e3f8c205a0f1b163a0346a18.js} +1 -1
  78. package/client/_expo/static/js/web/{github-light-92c2f523c0998886feda6a126d7131e8.js → github-light-62a68523dc322b0411610abe43feb6be.js} +1 -1
  79. package/client/_expo/static/js/web/{github-light-default-f854a6c25b1cb9a2bd0e1d767fa6ef5f.js → github-light-default-aca32ee5f1170f75ef3ccaf61c5ab44d.js} +1 -1
  80. package/client/_expo/static/js/web/{github-light-high-contrast-cafab2347e92dd8d05889caaea09c079.js → github-light-high-contrast-7d099c66e83346279821e7cbf5664abd.js} +1 -1
  81. package/client/_expo/static/js/web/{gleam-19ef468ae81b1e54d6edd31c2f63f332.js → gleam-f5ee350a7b20cfe900b2392a80cfbda3.js} +1 -1
  82. package/client/_expo/static/js/web/{glimmer-js-26d536f10e879517640ff72f5cc42d12.js → glimmer-js-7accf0134c6f0bd6c4e4a797dd4e666c.js} +1 -1
  83. package/client/_expo/static/js/web/{glimmer-ts-7b6b7e06ae6a141eeb4636b0ec7a26dc.js → glimmer-ts-b43d75417aa1d4c606d8879a42154960.js} +1 -1
  84. package/client/_expo/static/js/web/{gn-3d58134436a0a055351fc028b31dfa39.js → gn-1b9d3b0deef0bc06fb9701a598f1e620.js} +1 -1
  85. package/client/_expo/static/js/web/{gnuplot-5dd81175708f38f67504960a8bcd8fe2.js → gnuplot-23d9a547e591d009d721d686985aded0.js} +1 -1
  86. package/client/_expo/static/js/web/{gruvbox-dark-hard-eb056c36828f2c021dadc27561872a7a.js → gruvbox-dark-hard-4bdb3104051b082cfe7b88c4befe97df.js} +1 -1
  87. package/client/_expo/static/js/web/{gruvbox-dark-medium-5a2290adfe1b8493c4a3aa64dc90bd06.js → gruvbox-dark-medium-b80027930ffde9a5332584aa9566cb3c.js} +1 -1
  88. package/client/_expo/static/js/web/{gruvbox-dark-soft-e9f3ac06b067069a91f7ea3b611db2f6.js → gruvbox-dark-soft-4b303e4a0489ce3ae6f5cee1460c8e78.js} +1 -1
  89. package/client/_expo/static/js/web/{gruvbox-light-hard-870c3b492716d009f88cf9ac3301c7ec.js → gruvbox-light-hard-ef8283ae9c5b5bbffce912b74264fd29.js} +1 -1
  90. package/client/_expo/static/js/web/{gruvbox-light-medium-b77e2e3612176a74e3ca72f0407d0aea.js → gruvbox-light-medium-2e4ef31c6dce9cc96724fda6a7c12450.js} +1 -1
  91. package/client/_expo/static/js/web/{gruvbox-light-soft-68cbe74dfe267c05574a090010dfe75b.js → gruvbox-light-soft-519478c73027ea21f73a00a3fad78647.js} +1 -1
  92. package/client/_expo/static/js/web/{hack-84efd86a02ae7d9a993ae445e136dd9d.js → hack-739b39ae996b928ee6adc7d199fe11e4.js} +1 -1
  93. package/client/_expo/static/js/web/{haskell-0d4f8e8ba1c41067d956843aa440e953.js → haskell-2c8e25f0261d4d63b7d9f1669edeb7ab.js} +1 -1
  94. package/client/_expo/static/js/web/{hcl-343dead7d8e8f98376dff03c88b74184.js → hcl-ef6dd0f32cb1dfb757f59b636f7e0d31.js} +1 -1
  95. package/client/_expo/static/js/web/{hjson-933f277967bc7d97f04de651bbb53814.js → hjson-580819e77d64cafc25be02f453b1bb94.js} +1 -1
  96. package/client/_expo/static/js/web/{horizon-52dbbbf2f964902158cfed969886f13b.js → horizon-6d4fd821b31d7e524678d4358c69fe96.js} +1 -1
  97. package/client/_expo/static/js/web/{horizon-bright-0975d375b97f43b8022465e187073320.js → horizon-bright-f677b81920e429cba4dcf5c8bf772871.js} +1 -1
  98. package/client/_expo/static/js/web/{houston-fae6d306389c4273fb1e125d4ec49fea.js → houston-9ee17be6bc8305a312a519bcef2ce8e4.js} +1 -1
  99. package/client/_expo/static/js/web/{http-973fd1206c1cbe1448cd672d938c1862.js → http-762b54ca58b4892921ac4c89577bce95.js} +1 -1
  100. package/client/_expo/static/js/web/{hurl-1ccaefca16bdc5044d26f938ae0957a9.js → hurl-9d664e748a03fd9e7dd5feaf0c163b54.js} +1 -1
  101. package/client/_expo/static/js/web/{hxml-d548f76aa81462b973e84adf0da30cc8.js → hxml-a6441709ca4fb936f55fd9b7cdd09d18.js} +1 -1
  102. package/client/_expo/static/js/web/{hy-7e0f15a042ac478f014ccc49b75eee1c.js → hy-b9dc5c4ee67ffe1d4e8b21a48af6cc08.js} +1 -1
  103. package/client/_expo/static/js/web/{imba-7461898aeafcf3c8f6a4cc3562feb972.js → imba-1639a98991192859fcbe680cfc3df2a8.js} +1 -1
  104. package/client/_expo/static/js/web/{jinja-f8466561a68d844a48f639304bf0ba8c.js → jinja-ee27bbfb9b7b407d0a88734aea055069.js} +2 -2
  105. package/client/_expo/static/js/web/{jison-3a4ee8a008d256ab2884ce335bd69160.js → jison-7bb4febcb890ac3135fdf6412def627e.js} +1 -1
  106. package/client/_expo/static/js/web/{json5-ad06dd26b5d85b80c5679f0decbeaf64.js → json5-a77e3b35286e051499e7f42578f36d72.js} +1 -1
  107. package/client/_expo/static/js/web/{jsonl-9e8b8ce75f24b5a4d2f8e046d27b57f8.js → jsonl-b262068391d1bdbb8f13e13189b4e827.js} +1 -1
  108. package/client/_expo/static/js/web/{jsonnet-bf93da732ca9b048d652d809356402e0.js → jsonnet-49d65ff62cc0f751cb9b901cb8fcaa69.js} +1 -1
  109. package/client/_expo/static/js/web/{jssm-18eb4accdd7529414d9d937d8a5ffb96.js → jssm-eb26f752d0424415b46f3556fe6b1ec2.js} +1 -1
  110. package/client/_expo/static/js/web/{just-493779a748fc02c7267b10b25e78a220.js → just-9cdad679bc6047e4a5baddbf658050af.js} +1 -1
  111. package/client/_expo/static/js/web/{kanagawa-dragon-f6b833005ad0c7299fe68c99397cb8d3.js → kanagawa-dragon-18d94f9f60de6351b8a1195f32cc286c.js} +1 -1
  112. package/client/_expo/static/js/web/{kanagawa-lotus-8141290985e8d93e84cbda87e9883309.js → kanagawa-lotus-db26a46a3f781e0bd9e6d43f653b629e.js} +1 -1
  113. package/client/_expo/static/js/web/{kanagawa-wave-70c5884a1dce72132b90acdb72af321b.js → kanagawa-wave-c8b202ea155f70cef610c7f3c9bf5ec9.js} +1 -1
  114. package/client/_expo/static/js/web/{kdl-5b7fc395a29a6c2c2391876baae8ac5b.js → kdl-cbd9a313c63a98cf6474078f45d767a0.js} +1 -1
  115. package/client/_expo/static/js/web/{kotlin-fc1cd7f253fcc21fca656724d7e33eb6.js → kotlin-427747574e7e9bcd751c9d9946cf8cc4.js} +1 -1
  116. package/client/_expo/static/js/web/{kusto-c24c0a94b03bbbbf00aa578c77bbe330.js → kusto-4dc8f46d2922310b637c309c142ec692.js} +1 -1
  117. package/client/_expo/static/js/web/{laserwave-481a301c8e07f24d60e66ddd28339869.js → laserwave-85ca7d1811cdd9e1c60fb8f7a6f403ec.js} +1 -1
  118. package/client/_expo/static/js/web/{lean-5ac317ba6cc603ad7edc682648146a89.js → lean-827f19221f5915d5f988dcb40f9c3c5a.js} +1 -1
  119. package/client/_expo/static/js/web/{light-plus-5c550b940503e6ca83fd09f399722fc6.js → light-plus-e1f65a346dcc461692a72e28bafce383.js} +1 -1
  120. package/client/_expo/static/js/web/{liquid-92ef52448c947f94a32d895e5f1528ee.js → liquid-9b62c7aed1103d75a7909c888599865a.js} +1 -1
  121. package/client/_expo/static/js/web/{llvm-69aefa481a3bc43cec56e3f032679711.js → llvm-de544aa1fc7a504a660c34b46b5ab9b7.js} +1 -1
  122. package/client/_expo/static/js/web/{logo-47b1c65060a41f5983450d635dbf7adb.js → logo-be2afa9a7ce74e801d706c51d7085034.js} +1 -1
  123. package/client/_expo/static/js/web/{luau-7c710f6822c7c3c41b8dfdf8095692a2.js → luau-2e7c991fbc8da185e929070016d8421c.js} +1 -1
  124. package/client/_expo/static/js/web/{marko-08b7960a50ce159cbfc35b18339e0482.js → marko-30e47b82bf52629cecf3ba9486c04696.js} +1 -1
  125. package/client/_expo/static/js/web/{material-theme-199c983eeab28e19d95c7254adee2971.js → material-theme-cd2cd122fee7044f2a36e6e86beafb9c.js} +1 -1
  126. package/client/_expo/static/js/web/{material-theme-darker-e27a19b508ea5edb4a5a00e8d3936476.js → material-theme-darker-ec939edad6d24c81d12cc19268d026d3.js} +1 -1
  127. package/client/_expo/static/js/web/{material-theme-lighter-3f00d38c7ffbe61b8842104a155a9885.js → material-theme-lighter-3cd8ac83a80e31d6e6bdc6442891335a.js} +1 -1
  128. package/client/_expo/static/js/web/{material-theme-ocean-77acf823c64874bec57d8dfd865976ee.js → material-theme-ocean-5202edb58b012bbd48316261807f37bf.js} +1 -1
  129. package/client/_expo/static/js/web/{material-theme-palenight-a4ac2d218c8a1bf377036511d3d9df6e.js → material-theme-palenight-b33f1ea877dba746bbeccf5dead498a5.js} +1 -1
  130. package/client/_expo/static/js/web/{matlab-2ddbbf699fe64e1ad6c23feba6b7d72e.js → matlab-bb04e5e6465113bb066e565619d84132.js} +1 -1
  131. package/client/_expo/static/js/web/{mdc-8344a6677aedf23fdb8d9c3b4d70656e.js → mdc-4777477c147967e64c3164acb92c8a4e.js} +1 -1
  132. package/client/_expo/static/js/web/{mdx-c1baf7ef34fe547dd5c10bf2b0783a29.js → mdx-7173433185198ccc29a3c1c23e555cec.js} +1 -1
  133. package/client/_expo/static/js/web/{mermaid-e76e2ae85536e1fb171b1fd8d2c75deb.js → mermaid-82286d584d169ec4fb1a5719eae10e19.js} +1 -1
  134. package/client/_expo/static/js/web/{min-dark-9797f326140a3b58df9e1473cb6568eb.js → min-dark-4248cfb843cfd707ce44e0dc6f7e380a.js} +1 -1
  135. package/client/_expo/static/js/web/{min-light-a89588101acb8536859d8f788dd3135e.js → min-light-2f11e9238b6b5aaa9bfb6c5c2a851052.js} +1 -1
  136. package/client/_expo/static/js/web/{mipsasm-ff0b7c4163103e5b44bc71d1585bae8e.js → mipsasm-d3a36a0c4324c6843a5f4aebc51c2a35.js} +1 -1
  137. package/client/_expo/static/js/web/{mojo-ce0b1e0aa6997e06e098702822dd0ac7.js → mojo-9af9778e18170228b407c433cf8edaef.js} +1 -1
  138. package/client/_expo/static/js/web/{monokai-170ae1aa83d4d11c7cdaad402ba8069b.js → monokai-d0e7de54fa5aea43c1df797eda0d2433.js} +1 -1
  139. package/client/_expo/static/js/web/{moonbit-88dd0636fcc0d827d671e9869c881faf.js → moonbit-ca39d911e49c0a35019ec0d0aa3e1cad.js} +1 -1
  140. package/client/_expo/static/js/web/{move-33df7b8766fd9651730e95a10a585f50.js → move-005ada459fcacbe954255ee996bc659e.js} +1 -1
  141. package/client/_expo/static/js/web/{narrat-f41213535c46de470e08abf0b1cb5a4f.js → narrat-fd3ad066b77f9324a078d30609a86341.js} +1 -1
  142. package/client/_expo/static/js/web/{nextflow-d2b458ff76d04fcbde4418991ab6a2fd.js → nextflow-5bb66091ccd60cb46c0bbd5407bfa486.js} +1 -1
  143. package/client/_expo/static/js/web/{nginx-8f90032d1f0717985af456c188aa6ced.js → nginx-b661d6eedeafc799d5548b1b33557e3e.js} +1 -1
  144. package/client/_expo/static/js/web/{night-owl-2ab5f834328ce35e675dc2ac0834fda7.js → night-owl-d862b5d4dc7ee5500d40879663039990.js} +1 -1
  145. package/client/_expo/static/js/web/{night-owl-light-cbaad881122fde4e3bb786e22a03e6d0.js → night-owl-light-67c6fa791d65b2eec373456f5853a982.js} +1 -1
  146. package/client/_expo/static/js/web/{nix-502ce4e9feb2e01832a832fb7cab916b.js → nix-b2df628b9ea80cb1a9006f1d29fa9324.js} +2 -2
  147. package/client/_expo/static/js/web/{nord-75d88e0edcbaec32bfacdacfdff4a2b2.js → nord-f82226862319b7b01c1634c357ca3b11.js} +1 -1
  148. package/client/_expo/static/js/web/{nsis-9be894401cb1f040a25733c286606d9a.js → nsis-075cbc20fbcda6983df11aeb8f486d92.js} +1 -1
  149. package/client/_expo/static/js/web/{nushell-5deb300e0f229e925b31abb3cd0462c9.js → nushell-c35be5f4f24e5e9a1e1d7d40e0a6f076.js} +1 -1
  150. package/client/_expo/static/js/web/{objective-cpp-08bb61a3450333235855d3c1090719e3.js → objective-cpp-f98441712e800dedda3a0c17c0b68a79.js} +1 -1
  151. package/client/_expo/static/js/web/{odin-f72b62efd9a40ef6cf39d719ae967bd6.js → odin-d9eebee12f942ef647847c1ae9dfc14a.js} +1 -1
  152. package/client/_expo/static/js/web/{one-dark-pro-601201fdf090be64376bfe5634d30c16.js → one-dark-pro-1f51659a1c3c12bcd2593fb5e6e10f90.js} +1 -1
  153. package/client/_expo/static/js/web/{one-light-44b36063927a113dff25a9c81b872b69.js → one-light-7d2aa5d51b94049fea07de987e1b2a1e.js} +1 -1
  154. package/client/_expo/static/js/web/{openscad-bde82d841d52332c770c0acf81fe05e9.js → openscad-6501af630d983c807acb05bc0a16854b.js} +1 -1
  155. package/client/_expo/static/js/web/{org-42f230633416ea36db992c746b72cc16.js → org-d2dbb388a8dac87386251ce5e9ad7d78.js} +1 -1
  156. package/client/_expo/static/js/web/{pascal-edd555e8c462cd9e638a7380650123e2.js → pascal-4543f4bab90ed965516f7c51607eb380.js} +1 -1
  157. package/client/_expo/static/js/web/{pierre-dark-825a52078733a003db0d1d9753b97d76.js → pierre-dark-c1e6f70006b4297a29dd25b1cc087c79.js} +1 -1
  158. package/client/_expo/static/js/web/{pierre-dark-protanopia-deuteranopia-2afe64dc6a714652589caccf85cf84e8.js → pierre-dark-protanopia-deuteranopia-5fd7e8b639653143349368350475d58c.js} +1 -1
  159. package/client/_expo/static/js/web/{pierre-dark-soft-ddc5e5f48dcb7c75cbd379238cf20013.js → pierre-dark-soft-fb5879a3febe918fdcfabb984a9fb0b8.js} +1 -1
  160. package/client/_expo/static/js/web/{pierre-dark-tritanopia-cc6a871f82e2f1bab51431c90d884378.js → pierre-dark-tritanopia-1da20fc3f294cd5e914020086ece46e9.js} +1 -1
  161. package/client/_expo/static/js/web/{pierre-dark-vibrant-365f2df9c115a9c67754d34d11d524b9.js → pierre-dark-vibrant-9af44ed0b8f20d0958c09eaa33b1672c.js} +1 -1
  162. package/client/_expo/static/js/web/{pierre-light-6af54ad0f8067403531f690d4f4d2f68.js → pierre-light-85ccdaacc26b1631d75a59960694b697.js} +1 -1
  163. package/client/_expo/static/js/web/{pierre-light-protanopia-deuteranopia-f45474c039fde45a91159fcedf87588c.js → pierre-light-protanopia-deuteranopia-72456a52dbf8e6f2d6427fccd9577884.js} +1 -1
  164. package/client/_expo/static/js/web/{pierre-light-soft-de7451e2c162500292a5caed7c06bbdb.js → pierre-light-soft-14f58fea25684c9d5e7a9be9b40c611d.js} +1 -1
  165. package/client/_expo/static/js/web/{pierre-light-tritanopia-e88cecfc26dc5668744e99fee337df33.js → pierre-light-tritanopia-ac1d463c91096c1a1f46884553f29f2e.js} +1 -1
  166. package/client/_expo/static/js/web/{pierre-light-vibrant-a45ceb572aa8467935b63ecfcf130953.js → pierre-light-vibrant-af7e4d6bbf17dce08723df1f10bc11a2.js} +1 -1
  167. package/client/_expo/static/js/web/{pkl-08aa3599fa8f3996458630c531427ecb.js → pkl-1a05eb472378073673c81af5ba629cf6.js} +1 -1
  168. package/client/_expo/static/js/web/{plastic-32ba86277bebdc94ef7ac2fe927bcdb2.js → plastic-48e9da45c4f0d87b8a219220a5703457.js} +1 -1
  169. package/client/_expo/static/js/web/{plsql-451ab7842354acd2aa71a1a86f9b6c01.js → plsql-5b9695faf27afd7b54c05df9932ea57b.js} +1 -1
  170. package/client/_expo/static/js/web/{po-e45df65ca6752a8a54496ba4af721ebb.js → po-6dce78174843cc49c553bbfdbf047437.js} +1 -1
  171. package/client/_expo/static/js/web/{poimandres-0e62ce7928193c633171ff95c5c5b068.js → poimandres-cf770dcdda162ba7cdab679ac64d8e89.js} +1 -1
  172. package/client/_expo/static/js/web/{polar-a3785c833bec449f361c855e2857e711.js → polar-f5aed72e2e48c2de5ec84b41d819373c.js} +1 -1
  173. package/client/_expo/static/js/web/{powerquery-9f68f9922647bf0c80e61ada31e21585.js → powerquery-3eb7d455d8b384a22cfb06732a676570.js} +1 -1
  174. package/client/_expo/static/js/web/{prisma-d9418fb1219c53be124a8bb3fa2ed195.js → prisma-059a6fba16d968d97daf657bbc86abc0.js} +1 -1
  175. package/client/_expo/static/js/web/{prolog-cb9ddbef520a788f95c2ae00409287c5.js → prolog-dd7687c63944322e911f206b50cc4d12.js} +1 -1
  176. package/client/_expo/static/js/web/{proto-1b4c863929a53b95edcc24956af918aa.js → proto-266d67b60472e34ac12cffe0b2b8ad60.js} +1 -1
  177. package/client/_expo/static/js/web/{pull-request-diff-tree-81d5f354ad1e67249a4c31c792d427e4.js → pull-request-diff-tree-f2f765e0d780844f72304460e6eab553.js} +73 -73
  178. package/client/_expo/static/js/web/{puppet-728890ed71f3a27fd83e03e214c0cd70.js → puppet-b68aa4349c3d06bb7cac55b28304b000.js} +1 -1
  179. package/client/_expo/static/js/web/{purescript-61ce6f49fcb771fbf6cd121cb5929f3c.js → purescript-c06437c654b4c8bccda2ddcd1fbfb4c4.js} +1 -1
  180. package/client/_expo/static/js/web/{qml-0bc23973c004d4f4c53ec0a0f1c22b4a.js → qml-d60d56ea5d6d2edb69c9c60041b8a80f.js} +1 -1
  181. package/client/_expo/static/js/web/{qmldir-8a576ffab2bc8b0a8312af02e0d2c4e3.js → qmldir-0ee2d5b89aa455c14b24d6e1897dafa9.js} +1 -1
  182. package/client/_expo/static/js/web/{qss-7d05fac29f0bb60e2c4a012457602aa6.js → qss-c701eac69a55633883d76aeec15723c3.js} +1 -1
  183. package/client/_expo/static/js/web/{racket-d4815dac3aae7c1ff0e56cc00edea758.js → racket-e5161c4a6bc3f849370db71eae4613da.js} +1 -1
  184. package/client/_expo/static/js/web/{razor-36d707c32cfbaba619a36a9fcb37151b.js → razor-a960f79f9d40757489d453223834386b.js} +1 -1
  185. package/client/_expo/static/js/web/{rbs-ecf6fe54f1190d8f59fe142c0e838d87.js → rbs-8d3061f011d66ab1cfd4d6b733b6737c.js} +1 -1
  186. package/client/_expo/static/js/web/{red-36fbbbc66fb2482240278d42e778e271.js → red-f552accd2545eef2aa1fc84bede42904.js} +1 -1
  187. package/client/_expo/static/js/web/{reg-311ed58557cdec7517bd89f947cb6334.js → reg-f77a9d39622075fe34a1a10d0c40c565.js} +1 -1
  188. package/client/_expo/static/js/web/{rel-1d37fc2996c6b6abcd51a14790ad5d08.js → rel-5b25099d5d318f901a72999e7bd5a1fd.js} +1 -1
  189. package/client/_expo/static/js/web/{reviewflow-diff-themes-54cce440d9ef01dbe9fe24a061ed00bc.js → reviewflow-diff-themes-c0d5cb1393c070e02ae9214b8f0865c6.js} +1 -1
  190. package/client/_expo/static/js/web/{riscv-6c9a9e93aed628959fb2cc052a5e0055.js → riscv-7944e2cbdbbb756ffc555c0a267b8671.js} +1 -1
  191. package/client/_expo/static/js/web/{ron-d42c39cf55960c14779bda6d03c10b85.js → ron-ed329b2fe7a6784311546bfabac620a2.js} +1 -1
  192. package/client/_expo/static/js/web/{rose-pine-968a0f33736bab147aa0d153110936b6.js → rose-pine-9746d346cc0f8905466ed172a2a933a5.js} +1 -1
  193. package/client/_expo/static/js/web/{rose-pine-dawn-6fdef51e73211eef843dbe891b73cdc8.js → rose-pine-dawn-ada3ac1043fd2c5f389ed36618eba7f9.js} +1 -1
  194. package/client/_expo/static/js/web/{rose-pine-moon-9085d4b7813c946779463203a8d65fa7.js → rose-pine-moon-993570c475c162c916ddb1accb1c9a20.js} +1 -1
  195. package/client/_expo/static/js/web/{rosmsg-d749ceb223d9d8634f52e30286b477c4.js → rosmsg-9ba7a37e8db144dc9238785eb59569a3.js} +1 -1
  196. package/client/_expo/static/js/web/{rst-1392a9eadaa2ba87ad64f337041495c8.js → rst-a1985c64d2c0c6b49af1ec93948683de.js} +1 -1
  197. package/client/_expo/static/js/web/{sas-244ca7fd42daa1af719ff3f1278d5482.js → sas-a49a5f3224476bf612a0b777e876a043.js} +1 -1
  198. package/client/_expo/static/js/web/{sass-9dca30a8c4bcc522abf628b4e28350a3.js → sass-c8366e510b76edd482cfe0ab53c6fff1.js} +1 -1
  199. package/client/_expo/static/js/web/{scheme-a9a49b67c0c56465fb06ddb91d0c0b16.js → scheme-e4c7cf222fcbf8d5b19bb1c3ffcdc85f.js} +1 -1
  200. package/client/_expo/static/js/web/{shaderlab-5268cba65905fb839c3b5f70b9b64f9f.js → shaderlab-b8f735dd901592e4253d23098bc96445.js} +1 -1
  201. package/client/_expo/static/js/web/{shellsession-4a8e0f019dc43d3e62eeb6a93b3e2b99.js → shellsession-64add8d6a680ec6bf01ca774d06ab6ea.js} +1 -1
  202. package/client/_expo/static/js/web/{slack-dark-a7edde5704f2e77c44b95214ff54e661.js → slack-dark-e01923a9dd8a7aab558ed28879fdc562.js} +1 -1
  203. package/client/_expo/static/js/web/{slack-ochin-dfd7732992844323cef1cea42127bbdc.js → slack-ochin-764f03690136f62a1c80ca5cda00362c.js} +1 -1
  204. package/client/_expo/static/js/web/{smalltalk-a91e90c6eed6fd9a1ce3effb1f623980.js → smalltalk-3e8e0f9adcd17111d7e7c4b8ae1987db.js} +1 -1
  205. package/client/_expo/static/js/web/{smithy-e33f4ef8a405d7bd53cb038fbd22ea1f.js → smithy-b516dd0f777be60c3f1f0fd0c3637d29.js} +1 -1
  206. package/client/_expo/static/js/web/{snazzy-light-8dfa992d6fa8cee0ac122869ef97b1e7.js → snazzy-light-e91b419ab227ccba98f4ce356e3717a7.js} +1 -1
  207. package/client/_expo/static/js/web/{solarized-dark-ba07a6660cdbbdb9fa9af4bd6276b21b.js → solarized-dark-223fd9e291411ac1996f1c9742c30067.js} +1 -1
  208. package/client/_expo/static/js/web/{solarized-light-e0815ce3f7e9f5cc178be450f0ad12e4.js → solarized-light-7d0213f14006e5f1940dbcf259909356.js} +1 -1
  209. package/client/_expo/static/js/web/{solidity-744cdb1c99f3d3fcd7138b3c51541072.js → solidity-f6030d9ee66561938d58ed67c2adff63.js} +1 -1
  210. package/client/_expo/static/js/web/{soy-d6b5df4ead3d93d5dced33611db4011a.js → soy-1e7ae484e66692ad6da15d11f05bec7b.js} +1 -1
  211. package/client/_expo/static/js/web/{sparql-7d2c57d13e59f9e86141086c0ef29b87.js → sparql-fd3250e12151c5613e4870bcb00c28b0.js} +1 -1
  212. package/client/_expo/static/js/web/{splunk-3cdf2fa5dea71e66d1f7211e0f7df6ba.js → splunk-156389dd9909574643e18e37d58573c1.js} +1 -1
  213. package/client/_expo/static/js/web/{ssh-config-367dae7131a7b47a7e9c884b57dbda46.js → ssh-config-621ccb446673c37fadb98a91b5028ca3.js} +1 -1
  214. package/client/_expo/static/js/web/{stata-00136a75f81bcbbc5896d11e4f62998c.js → stata-2a21bd8dca5e50926f5836914b8d1cad.js} +1 -1
  215. package/client/_expo/static/js/web/{surrealql-e0925df375c1c4366c18124163a1cda7.js → surrealql-24bbef1183fd15ad3e876a1c6f4392e2.js} +1 -1
  216. package/client/_expo/static/js/web/{svelte-a2626aa0d82414948279661b3a66dec2.js → svelte-9678eac406ab6e8cb8c40496ad2adea9.js} +1 -1
  217. package/client/_expo/static/js/web/{synthwave-84-c8de3a34d9dc673474577df2ec53f9c6.js → synthwave-84-2c602af4b36a85a8dc55e56b407ec438.js} +1 -1
  218. package/client/_expo/static/js/web/{systemd-d80429941d14b4d05bf728a9d00f0677.js → systemd-52efd932283ed86e51f8778ff1c1f695.js} +1 -1
  219. package/client/_expo/static/js/web/{talonscript-f6edad080b28bf5720654b3f68a027b5.js → talonscript-139cc2042caa8327d3456b84af07015d.js} +1 -1
  220. package/client/_expo/static/js/web/{tasl-9ab772b0db078ea8eab4141be2f55c65.js → tasl-c4722e77b00035de3d3ae57248236b71.js} +1 -1
  221. package/client/_expo/static/js/web/{tcl-893ad8fdc6d4533a37ded55be075aec0.js → tcl-1f9e664af36f966b0cd5d5c2900354d7.js} +1 -1
  222. package/client/_expo/static/js/web/{templ-3f11872ba41d13415662b03fbe293bfe.js → templ-c0975daf3998479217ddea72d24e486c.js} +1 -1
  223. package/client/_expo/static/js/web/{terraform-3b4d6ee4a261b5fdf0a99159d4f38f5d.js → terraform-2c1e86c074ea8bdf9c85bc9ed9b09d3a.js} +1 -1
  224. package/client/_expo/static/js/web/{tokyo-night-917a26ba6b311e5d3dfa9cf95b969d3c.js → tokyo-night-ae59d133800b7f7b015e1533e124bcd3.js} +1 -1
  225. package/client/_expo/static/js/web/{toml-eeb7554c694e26fd5f3f40489daf6eca.js → toml-9dc63a4a33d147338614616777c5b59f.js} +1 -1
  226. package/client/_expo/static/js/web/{ts-tags-593695228b7eb59a0b7c771342802ef2.js → ts-tags-8c8a77c0fb052997a23f606cda830358.js} +6 -6
  227. package/client/_expo/static/js/web/{tsv-f5cae242679b26857ce2dfe0eb61ba68.js → tsv-2f65a035fb214c7052305c91edf50bb9.js} +1 -1
  228. package/client/_expo/static/js/web/{typespec-7f01fe089a7a875e8a162201541849af.js → typespec-158b81955d958df139c6646c39a24564.js} +1 -1
  229. package/client/_expo/static/js/web/{typst-aa779e907d46e39d634063396bc1278e.js → typst-659c947d60782fe0171591f58dac7e53.js} +1 -1
  230. package/client/_expo/static/js/web/{v-c33bf6bd3cf07ae9c941e33b18ad7c80.js → v-c85d0aa4cf3366ae902f5c689d3463cd.js} +1 -1
  231. package/client/_expo/static/js/web/{vala-e75403004c43f90ef0f654cfc89b584e.js → vala-d7a8cfd4015165eabb44b6b2a4ed4f45.js} +1 -1
  232. package/client/_expo/static/js/web/{vesper-cb5e6cfcd9c44b902ee9f4c9be1dd989.js → vesper-9a15d66379fca58281f70fa6cad11190.js} +1 -1
  233. package/client/_expo/static/js/web/{vhdl-b727d12cadf696aea4812f50820bdce8.js → vhdl-9b7f0aff6f0467d41a9bace4582a4749.js} +1 -1
  234. package/client/_expo/static/js/web/{viml-64d55c1f8de6e5fa11d7f024a5617347.js → viml-5f3a1045155ba7d8c40d4eb8dbbf1661.js} +1 -1
  235. package/client/_expo/static/js/web/{vitesse-black-269bec513de05fd04122a3d0ccccf806.js → vitesse-black-1172bb5e50c5eefb0f8b3ba2988d6b6d.js} +1 -1
  236. package/client/_expo/static/js/web/{vitesse-dark-b1ea3334894f9823288d08e0b7915f08.js → vitesse-dark-8c46908fc4932e44f3f9c5b3f001aaf6.js} +1 -1
  237. package/client/_expo/static/js/web/{vitesse-light-934f7dc328f586bcb51115c2f3168ada.js → vitesse-light-dc8af3f133fe090666bafcb63d823d6f.js} +1 -1
  238. package/client/_expo/static/js/web/{vue-4a564e2fa823a87c5c2e76d6ffd28af7.js → vue-e80251a2dffd54ab2fd2e70560f2cbf6.js} +5 -5
  239. package/client/_expo/static/js/web/{vue-html-97f9d2c8866b5ddaf6cedd5ae05f1e4a.js → vue-html-a02c0c5842d6548b9d3346d340c4e170.js} +1 -1
  240. package/client/_expo/static/js/web/{vue-vine-46757395a4f74066b1042a09755f6953.js → vue-vine-02e07e15d152ebe4e1b40fd67cd9802e.js} +1 -1
  241. package/client/_expo/static/js/web/{vyper-5e8bb5c51d91613012b9e755b4fbf9cd.js → vyper-27a5cb7e1f71f3cadd311c379c657710.js} +1 -1
  242. package/client/_expo/static/js/web/{wasm-53a03d4766cc3f5ada015b92795c090c.js → wasm-403dea06c287cc8cc40d7f87068a6240.js} +2 -2
  243. package/client/_expo/static/js/web/{wasm-983ccf6e4134036b6f4facb21bd6c1da.js → wasm-69ca501bcaae4e41c92828c3f6ff27dc.js} +1 -1
  244. package/client/_expo/static/js/web/{wasm-B9ZqxnKj-c8ae30c1d2e12d5988b30d48cd459146.js → wasm-B9ZqxnKj-7c8a250fac2c7f594c5e0f0d9aa394a3.js} +1 -1
  245. package/client/_expo/static/js/web/{wenyan-27680029f8a5caf9cd38fd817c18227d.js → wenyan-3f643ff222fbf647026e14f63d7d3c1d.js} +1 -1
  246. package/client/_expo/static/js/web/{wgsl-8a8a91cf2cabb4db5db2013358e6a3c4.js → wgsl-3b55d0042dbdc87e095a5508805280a2.js} +1 -1
  247. package/client/_expo/static/js/web/{wikitext-cbae139d40a742be29324de9a0dfeaae.js → wikitext-ee82ea5018ccefda7b78c423768d14a8.js} +1 -1
  248. package/client/_expo/static/js/web/{wit-94fe08391cdb09ea49664411b80cb8c5.js → wit-042fafa926e638d305f2888034d1a552.js} +1 -1
  249. package/client/_expo/static/js/web/{wolfram-dc8adc07db1e1de6ef6a0945b322e786.js → wolfram-29e38f3c2860c573b984d6f371d9a2ee.js} +1 -1
  250. package/client/_expo/static/js/web/{zenscript-a99f07c063e239acc4b984487c165440.js → zenscript-74e040dfdf4bea8e5caa8ff8e9eba08c.js} +1 -1
  251. package/client/index.html +3 -3
  252. package/package.json +2 -2
@@ -1,73 +1,73 @@
1
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return j}});var t=r(d[0]),s=r(d[1]),o=r(d[2]),n=r(d[3]),c=r(d[4]),l=r(d[5]),u=r(d[6]);const v=(t,s)=>Object.assign({},s,{height:"100%",colorScheme:t,"--trees-bg-override":"transparent","--trees-fg-override":"var(--color-sharp)","--trees-fg-muted-override":"var(--color-muted)","--trees-bg-muted-override":"var(--color-interactive-soft-hover)","--trees-selected-bg-override":"var(--color-interactive-soft-active)","--trees-selected-fg-override":"var(--color-sharp)","--trees-border-color-override":"var(--color-border-muted)","--trees-indent-guide-bg-override":"var(--color-border-muted)","--trees-input-bg-override":"var(--color-lowered)","--trees-search-bg-override":"var(--color-lowered)","--trees-search-fg-override":"var(--color-sharp)","--trees-accent-override":"var(--tree-brand)","--trees-focus-ring-color-override":"var(--tree-brand)","--trees-status-added-override":"var(--trees-theme-git-added-fg, var(--tree-success))","--trees-status-untracked-override":"var(--trees-theme-git-untracked-fg, var(--tree-success))","--trees-status-modified-override":"var(--trees-theme-git-modified-fg, var(--tree-info))","--trees-status-renamed-override":"var(--trees-theme-git-renamed-fg, var(--tree-warning))","--trees-status-deleted-override":"var(--trees-theme-git-deleted-fg, var(--tree-danger))","--trees-font-family-override":"var(--font-body)","--trees-font-size-override":"var(--text-sm, 13px)","--trees-padding-inline-override":"0px"});function h({accent:t,children:s}){const o={display:"contents",[`--tree-${t}`]:"var(--color-accent)"};return(0,u.jsx)(n.AccentScope,{accent:t,children:(0,u.jsx)("div",{style:o,children:s})})}const f=o=>{const[n,l]=(0,c.useState)(null);return(0,c.useEffect)(()=>{let n=!0;return Promise.resolve((0,t.getResolvedOrResolveTheme)(o)).then(t=>{var c;n&&l({themeName:o,colors:(c=(0,s.themeToTreeStyles)(t),Object.fromEntries(Object.entries(c).filter(([t])=>t.startsWith("--trees-theme-git-"))))})},()=>{n&&l({themeName:o,colors:{}})}),()=>{n=!1}},[o]),n?.themeName===o?n.colors:{}},p=t=>t.flatMap(({path:t,status:s})=>null===s?[]:[{path:t,status:s}]),b=(t,{viewedPaths:s,omittedPaths:o})=>o.has(t)?{text:"left out",title:"Not in the diff: listed above it"}:s.has(t)?{text:"viewed",title:"Marked viewed"}:null;var j=function({files:t,viewedPaths:s,theme:j,onFilePress:w}){const x=(0,n.useCurrentMode)(),P=f((0,l.diffThemeNames)(j)[x]),S=t.map(({path:t})=>t),y=S.join("\n"),R=[...t.map(({path:t,status:s})=>`${s??"omitted"} ${t}`),...s].join("\n"),T=new Set(s),E=new Set(t.filter(({status:t})=>null===t).map(({path:t})=>t)),F=(0,c.useRef)({files:t,onFilePress:w,viewedPaths:T,omittedPaths:E}),M=(0,c.useRef)(new Set(S)),O=(0,c.useRef)(null),k=(0,c.useRef)(y),{model:N}=(0,o.useFileTree)({paths:S,flattenEmptyDirectories:!0,initialExpansion:"open",density:"compact",icons:{set:"standard",colored:!1},search:!0,fileTreeSearchMode:"hide-non-matches",gitStatus:p(t),renderRowDecoration:({item:t})=>"file"===t.kind?b(t.path,F.current):null,onSelectionChange:t=>{const s=t.at(-1);void 0!==s&&M.current.has(s)&&(F.current.onFilePress(s),queueMicrotask(()=>{O.current?.getItem(s)?.deselect()}))}});return(0,c.useEffect)(()=>{O.current=N,F.current={files:t,onFilePress:w,viewedPaths:T,omittedPaths:E},M.current=new Set(S)}),(0,c.useEffect)(()=>{const t=F.current.files;k.current!==y&&(k.current=y,N.resetPaths(t.map(({path:t})=>t))),N.setGitStatus(p(t))},[N,y,R]),(0,u.jsx)(h,{accent:"brand",children:(0,u.jsx)(h,{accent:"success",children:(0,u.jsx)(h,{accent:"info",children:(0,u.jsx)(h,{accent:"warning",children:(0,u.jsx)(h,{accent:"danger",children:(0,u.jsx)(n.AccentScope,{accent:"neutral",children:(0,u.jsx)(o.FileTree,{model:N,style:v(x,P)})})})})})})})}},1197,[1272,1200,1266,64,15,1273,7]);
2
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"CONTEXT_MENU_SLOT_NAME",{enumerable:!0,get:function(){return E.CONTEXT_MENU_SLOT_NAME}}),Object.defineProperty(e,"CONTEXT_MENU_TRIGGER_TYPE",{enumerable:!0,get:function(){return E.CONTEXT_MENU_TRIGGER_TYPE}}),Object.defineProperty(e,"FILE_TREE_DEFAULT_ITEM_HEIGHT",{enumerable:!0,get:function(){return R.FILE_TREE_DEFAULT_ITEM_HEIGHT}}),Object.defineProperty(e,"FILE_TREE_DENSITY_PRESETS",{enumerable:!0,get:function(){return u.FILE_TREE_DENSITY_PRESETS}}),Object.defineProperty(e,"FILE_TREE_SCROLLBAR_GUTTER_MEASURED_PROPERTY",{enumerable:!0,get:function(){return E.FILE_TREE_SCROLLBAR_GUTTER_MEASURED_PROPERTY}}),Object.defineProperty(e,"FILE_TREE_SCROLLBAR_GUTTER_STYLE_ATTRIBUTE",{enumerable:!0,get:function(){return E.FILE_TREE_SCROLLBAR_GUTTER_STYLE_ATTRIBUTE}}),Object.defineProperty(e,"FILE_TREE_SCROLLBAR_MEASURE_ATTRIBUTE",{enumerable:!0,get:function(){return E.FILE_TREE_SCROLLBAR_MEASURE_ATTRIBUTE}}),Object.defineProperty(e,"FILE_TREE_STYLE_ATTRIBUTE",{enumerable:!0,get:function(){return E.FILE_TREE_STYLE_ATTRIBUTE}}),Object.defineProperty(e,"FILE_TREE_TAG_NAME",{enumerable:!0,get:function(){return E.FILE_TREE_TAG_NAME}}),Object.defineProperty(e,"FILE_TREE_UNSAFE_CSS_ATTRIBUTE",{enumerable:!0,get:function(){return E.FILE_TREE_UNSAFE_CSS_ATTRIBUTE}}),Object.defineProperty(e,"FLATTENED_PREFIX",{enumerable:!0,get:function(){return E.FLATTENED_PREFIX}}),Object.defineProperty(e,"FileTree",{enumerable:!0,get:function(){return o.FileTree}}),Object.defineProperty(e,"HEADER_SLOT_NAME",{enumerable:!0,get:function(){return E.HEADER_SLOT_NAME}}),Object.defineProperty(e,"createFileTreeIconResolver",{enumerable:!0,get:function(){return n.createFileTreeIconResolver}}),Object.defineProperty(e,"getBuiltInSpriteSheet",{enumerable:!0,get:function(){return t.getBuiltInSpriteSheet}}),Object.defineProperty(e,"preloadFileTree",{enumerable:!0,get:function(){return o.preloadFileTree}}),Object.defineProperty(e,"prepareFileTreeInput",{enumerable:!0,get:function(){return _.prepareFileTreeInput}}),Object.defineProperty(e,"preparePresortedFileTreeInput",{enumerable:!0,get:function(){return _.preparePresortedFileTreeInput}}),Object.defineProperty(e,"serializeFileTreeSsrPayload",{enumerable:!0,get:function(){return o.serializeFileTreeSsrPayload}}),Object.defineProperty(e,"themeToTreeStyles",{enumerable:!0,get:function(){return T.themeToTreeStyles}});var t=r(d[0]),E=r(d[1]),n=r(d[2]),T=r(d[3]),_=r(d[4]),u=r(d[5]),R=r(d[6]),o=r(d[7])},1200,[1201,1202,1203,1205,1209,1229,1230,1231]);
3
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"getBuiltInFileIconName",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"getBuiltInSpriteSheet",{enumerable:!0,get:function(){return f}}),Object.defineProperty(e,"isColoredBuiltInIconSet",{enumerable:!0,get:function(){return y}}),Object.defineProperty(e,"resolveBuiltInFileIconToken",{enumerable:!0,get:function(){return z}});const l="<svg data-icon-sprite aria-hidden=\"true\" width=\"0\" height=\"0\">\n <symbol id=\"file-tree-icon-chevron\" viewBox=\"0 0 16 16\">\n <path d=\"M12.4697 5.46973C12.7626 5.17684 13.2374 5.17684 13.5303 5.46973C13.8232 5.76262 13.8232 6.23738 13.5303 6.53028L8.53028 11.5303C8.23738 11.8232 7.76262 11.8232 7.46973 11.5303L2.46973 6.53028C2.17684 6.23738 2.17684 5.76262 2.46973 5.46973C2.76262 5.17684 3.23738 5.17684 3.53028 5.46973L8 9.93946L12.4697 5.46973Z\" fill=\"currentcolor\"/>\n </symbol>\n <symbol id=\"file-tree-icon-dot\" viewBox=\"0 0 6 6\">\n <circle cx=\"3\" cy=\"3\" r=\"3\" />\n </symbol>\n <symbol id=\"file-tree-icon-file\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8 1v3a3 3 0 0 0 3 3h3v5.5a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 12.5v-9A2.5 2.5 0 0 1 4.5 1z\" class=\"bg\" opacity=\".5\"/>\n <path fill=\"currentColor\" d=\"M9.5 1a.5.5 0 0 1 .354.146l4 4A.5.5 0 0 1 14 5.5V6h-3a2 2 0 0 1-2-2V1z\" class=\"fg\"/>\n </symbol>\n <symbol id=\"file-tree-icon-lock\" viewBox=\"0 0 16 16\">\n <path fill=\"currentcolor\" d=\"M4 5.336V4a4 4 0 1 1 8 0v1.336c1.586.54 2 1.843 2 4.664v1c0 4.118-.883 5-5 5H7c-4.117 0-5-.883-5-5v-1c0-2.821.414-4.124 2-4.664M5.5 4v1.054Q6.166 4.998 7 5h2q.834-.002 1.5.054V4a2.5 2.5 0 0 0-5 0m-2 6v1c0 .995.055 1.692.167 2.193.107.483.246.686.35.79s.307.243.79.35c.5.112 1.198.167 2.193.167h2c.995 0 1.692-.055 2.193-.166.483-.108.686-.247.79-.35.104-.105.243-.308.35-.791.112-.5.167-1.198.167-2.193v-1c0-.995-.055-1.692-.166-2.193-.108-.483-.247-.686-.35-.79-.105-.104-.308-.243-.791-.35C10.693 6.555 9.995 6.5 9 6.5H7c-.995 0-1.692.055-2.193.167-.483.107-.686.246-.79.35s-.243.307-.35.79C3.555 8.307 3.5 9.005 3.5 10\" />\n </symbol>\n <symbol id=\"file-tree-icon-ellipsis\" viewBox=\"0 0 16 16\">\n <path d=\"M5 8.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M9.5 8.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M14 8.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0\" />\n </symbol>\n</svg>",t=["<symbol id=\"file-tree-builtin-astro\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M6.08 13.92c-.63-.57-.81-1.79-.55-2.67.45.56 1.08.73 1.73.83 1 .15 1.99.1 2.92-.37l.32-.19q.13.38.08.78a2.1 2.1 0 0 1-.9 1.5q-.3.24-.61.43c-.64.44-.81.95-.57 1.69l.02.08a1.7 1.7 0 0 1-.74-.64 2 2 0 0 1-.3-.98q0-.27-.02-.52-.07-.61-.61-.62a.7.7 0 0 0-.75.6z\" class=\"bg\" opacity=\".6\"/>\n <path fill=\"currentColor\" d=\"M2.5 11.1s1.86-.9 3.72-.9l1.4-4.39c.05-.21.2-.36.38-.36s.33.15.38.36l1.4 4.38c2.2 0 3.72.92 3.72.92l-3.16-8.69q-.13-.4-.45-.42H6.11q-.3.02-.45.42z\" class=\"fg\"/>\n</symbol>","<symbol id=\"file-tree-builtin-babel\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M9.49.5q1.92.05 2.66.54 1.27.6 1.35 1.52v.23a4 4 0 0 1-.53 1.9l-1.38 1.24q-.74.38-.72.63c.77.82 1.33 1.29.85 2.42q-.47 1.1-2.04 2.28c-.5.32-1.88 1.35-2.96 1.86-1.64.77-3.1 1.4-4.65 1.89-.51.16-1.5.16-1.5.16L.5 15A76 76 0 0 0 5.76 3.49q-.1-.08-.1-.2.1 0 .32-.35l-.03-.09q-1.17.39-2.38 1.3l-.13.03q0-.1-.21-.16-.46.31-.82.7l-.13-.19.16-.06-.03-.16-.34.29L2 4.5q.36-.48.72-.54l.04-.1V3.8q.16 0 .15-.06l.13-.06a6 6 0 0 0 1.13-.9v-.03H4.1l-.12.07q0-.1-.1-.1l-.15.07-.04-.1q.93-.52 1.63-1.05Q7.89.65 9.5.5M8.46 7.83l-.32.04c-1.31.54-2.31.82-2.91.88a71 71 0 0 0-2.2 4.54h.07q.58-.04 3.04-1.42.13 0 1.66-1.05L9.18 9.7v.03q.45-.2.81-1.3v-.2q-.5-.46-1.53-.4m.28-5.75c-.5.1-.75.19-.72.38l-1.16 2.6q-.17.1-.34.95-.3.48-.25.77v.1l.22.05A15 15 0 0 1 8.86 6c1.1-.71 2.12-1.38 2.8-2.54q.24-.33.21-.54-.02-.33-.4-.54c-.54 0-1.07-.34-1.63-.28l-.94-.03z\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-biome\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8 2 4.88 7.35a7 7 0 0 1 3.7-.13l1.04.25-.99 4.16-1.05-.25a2.7 2.7 0 0 0-3.07 1.45l-.98-.47a4 4 0 0 1 1.07-1.31 3.8 3.8 0 0 1 3.23-.71l.5-2.08a6 6 0 0 0-5.07 1.12A5.9 5.9 0 0 0 1 14h14z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-bootstrap\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M11.72 1.5A2.5 2.5 0 0 1 14.2 4q.02 1.08.3 2.09c.22.73.56 1.24 1.08 1.45.22.08.4.27.4.5s-.18.43-.4.51q-.76.34-1.08 1.45c-.2.65-.27 1.32-.3 2a2.5 2.5 0 0 1-2.48 2.5H4.25A2.6 2.6 0 0 1 1.7 12c-.04-.85-.1-1.68-.22-2.04C1.26 9.23.92 8.7.4 8.5.18 8.42 0 8.23 0 8s.18-.42.4-.5q.77-.35 1.09-1.46c.1-.36.17-1.19.2-2.04a2.6 2.6 0 0 1 2.56-2.5z\" class=\"bg\" clip-rule=\"evenodd\" opacity=\".2\"/>\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M8.47 4.54c1.23 0 2.04.68 2.04 1.73 0 .73-.55 1.39-1.24 1.5v.04c.94.1 1.58.77 1.58 1.7 0 1.2-.9 1.95-2.37 1.95H5.97a.3.3 0 0 1-.2-.08.3.3 0 0 1-.08-.2V4.82a.3.3 0 0 1 .08-.2.3.3 0 0 1 .2-.08zm-1.7 6.04h1.49q1.47-.01 1.49-1.15Q9.74 8.31 8.2 8.3H6.77zm0-5.16v2.06h1.21c.93 0 1.45-.38 1.45-1.06 0-.65-.44-1-1.22-1z\" class=\"fg\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-browserslist\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8.88 6.96c0 3.82 3.72 4.7 5.7 3.74-.23.9-1.04 1.67-2.35 1.93-.02.4.42 1.28.82 1.63-.9.35-1.94-.12-2.51-.48a5 5 0 0 0-.32 1.87c-.68 0-1.57-1-1.8-1.37-.3.18-.85 1.15-.96 1.72a2.4 2.4 0 0 1-.81-.86 2.4 2.4 0 0 1-.3-1.15c-.38.27-1.48.95-1.99 1.18-.25-.58-.15-1.3 0-2.06-.21.12-1.8.27-2.43.12.32-.36.75-1.19.94-1.57A4.5 4.5 0 0 1 .44 10.6c.48-.22.97-.53 1.49-1.06C1.26 9.17.24 8.64 0 7.7a6 6 0 0 0 1.79-.32C1.28 7.08.44 6.15.6 5.01c.42.21 1.3.37 1.73.3a3.4 3.4 0 0 1-.25-2.75 5 5 0 0 0 1.48 1c-.08-.8.3-2.31.8-2.71.2.46.73 1.21 1.08 1.4.09-.61.87-2.06 1.57-2.25 0 .5.27 1.4.5 1.67.51-.54 2.25-1.44 3.64-1.13-.43.45-.75.61-.86.98 1.05 0 2.78.34 4.27 1.93-2.34-.89-5.69.56-5.69 3.5\" class=\"bg\" opacity=\".5\"/>\n <path fill=\"currentColor\" d=\"M11.21 3.59a4.1 4.1 0 0 0 2.47 2.89c.24-.22.61-.38.95-.19.76.44.2 1.26-.34 1.66l-.07.06a13 13 0 0 1-4.49 1.61l-.3-.43a10.5 10.5 0 0 0 4.13-1.31 1 1 0 0 0 .23-.25.5.5 0 0 0-.21-.69l-.15-.06a4.5 4.5 0 0 1-1.77-1.31 4.5 4.5 0 0 1-.88-1.77q.2-.12.43-.21\"/>\n <path fill=\"currentColor\" d=\"M10.36 5.18a.4.4 0 0 0-.03.38c.09.2.3.3.46.23s.24-.3.15-.5l-.01-.02q.23.13.34.39a.83.83 0 0 1-.43 1.08.8.8 0 0 1-1.08-.43.83.83 0 0 1 .6-1.13\"/>\n</symbol>","<symbol id=\"file-tree-builtin-bun\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8 14c3.87 0 7-2.46 7-5.49 0-1.88-1.2-3.53-3.04-4.52q-1.1-.61-1.84-1.07C9.2 2.35 8.64 2 8 2s-1.36.45-2.31 1.03A29 29 0 0 1 4.04 4C2.2 4.98 1 6.63 1 8.51 1 11.54 4.13 14 8 14M7.18 3.88q.3-.66.3-1.37c0-.08.11-.1.13-.01.38 1.57-.53 2.35-1.2 2.61-.08.03-.12-.07-.06-.12a3 3 0 0 0 .83-1.12m1.2-.05a3 3 0 0 0-.45-1.3V2.5c-.04-.07.05-.15.1-.1 1.15 1.2.77 2.3.33 2.87-.05.05-.13 0-.11-.08q.21-.67.13-1.37m1.04-.32a3 3 0 0 0-.94-1.02v-.01c-.06-.05-.01-.16.07-.12 1.51.61 1.61 1.8 1.43 2.5l-.03.03a.07.07 0 0 1-.1-.06 3 3 0 0 0-.43-1.32m-2.97.32c-.36.3-.74.43-1.2.56q-.11 0-.1-.1a3.5 3.5 0 0 0 1.76-1.57s.09-.07.1.04c0 .18-.2.76-.56 1.07m2.89 6.36q-.13.52-.55.88a1.3 1.3 0 0 1-.75.35 1.3 1.3 0 0 1-.77-.35 1.7 1.7 0 0 1-.54-.88.13.13 0 0 1 .15-.15h2.31a.14.14 0 0 1 .15.15M6.15 8.95a1.1 1.1 0 0 1-1.39-.14A1.1 1.1 0 0 1 5.12 7a1.1 1.1 0 0 1 1.2.25 1.1 1.1 0 0 1-.17 1.69m4.96 0a1.1 1.1 0 0 1-1.4-.14 1.1 1.1 0 0 1 .37-1.8 1.1 1.1 0 0 1 1.2.25 1.1 1.1 0 0 1 .24 1.2 1 1 0 0 1-.41.5\"/>\n</symbol>","<symbol id=\"file-tree-builtin-claude\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M3.75 10.31 6.5 8.77l.04-.14-.04-.07h-.14l-.46-.03-1.57-.04-1.38-.07-1.33-.07-.34-.07L1 7.86l.03-.21.28-.18.4.03.89.07 1.33.08.97.06 1.43.16h.22l.03-.1-.07-.05-.06-.06-1.39-.92-1.48-.98-.79-.57-.42-.28-.2-.28-.1-.6.39-.41.52.04.12.03.52.4 1.12.86L6.2 6.04l.2.17.09-.06.01-.04-.1-.15-.76-1.46-.85-1.46-.37-.6-.1-.36a1 1 0 0 1-.06-.42l.42-.59.25-.07.6.08.22.2.36.84.58 1.3.9 1.77.29.53.14.47.04.14h.1v-.07l.07-1 .14-1.22.14-1.57.04-.45.23-.53.42-.28.36.15.28.41-.04.25-.16 1.08-.36 1.7-.21 1.14h.12l.14-.15.58-.76.97-1.2.42-.5.5-.51.32-.25h.6l.44.66-.2.68-.61.79-.52.65-.74 1-.45.8.04.05h.1l1.68-.36.9-.16 1.06-.18.5.23.05.22-.2.48-1.15.28-1.34.28-2 .46-.04.01.03.04.9.09.4.03h.94l1.77.14.46.28.27.37-.04.28-.72.37-.95-.23-2.24-.53-.76-.18h-.11v.06l.64.63L12 10.86l1.48 1.35.07.34-.18.28-.2-.03-1.29-.98-.5-.42-1.12-.95h-.07v.1l.25.38 1.37 2.05.07.63-.1.2-.36.14-.38-.08-.8-1.12-.85-1.26-.66-1.15-.07.05-.4 4.23-.19.21-.42.17-.35-.28-.2-.42.2-.87.23-1.12.18-.9.17-1.1.1-.36v-.03h-.1l-.84 1.16-1.27 1.72-1 1.07-.24.1-.42-.22.04-.39.22-.32 1.4-1.8.84-1.1.57-.64-.02-.07h-.04l-3.7 2.4-.66.09-.28-.28.03-.42.14-.14 1.12-.77z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-docker\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M15.85 6.54c-.05-.04-.45-.36-1.31-.36q-.34 0-.68.06a2.7 2.7 0 0 0-1.14-1.79l-.23-.14-.15.23a3 3 0 0 0-.4 1q-.24 1.01.26 1.84c-.4.24-1.03.3-1.17.3H.5a.5.5 0 0 0-.5.52q-.01 1.46.46 2.83.55 1.5 1.6 2.18c.79.5 2.08.79 3.54.79q.96 0 1.94-.18a8 8 0 0 0 2.55-.97 7 7 0 0 0 1.73-1.5 10 10 0 0 0 1.7-3.06h.15a2.4 2.4 0 0 0 1.8-.7 2 2 0 0 0 .47-.74l.06-.2z\"/>\n <path fill=\"currentColor\" d=\"M1.48 7.36h1.4a.14.14 0 0 0 .14-.13V5.91q-.01-.12-.13-.14H1.48a.13.13 0 0 0-.13.14v1.32q.02.13.13.13m1.94 0h1.41a.14.14 0 0 0 .13-.13V5.91q-.01-.12-.13-.14h-1.4a.13.13 0 0 0-.13.14v1.32q0 .13.12.13m1.98 0h1.4q.13 0 .14-.13V5.91a.13.13 0 0 0-.14-.14H5.4q-.1.01-.12.14v1.32q0 .13.12.13m1.95 0h1.42q.1 0 .12-.13V5.91q0-.12-.12-.14H7.35q-.1.01-.12.14v1.32q.01.13.12.13M3.42 5.5h1.41c.07 0 .13-.08.13-.15V4.03a.13.13 0 0 0-.13-.14h-1.4q-.12 0-.13.14v1.31q0 .13.12.15m1.98 0h1.4c.08 0 .14-.08.14-.15V4.03q0-.13-.14-.14H5.4q-.1 0-.12.14v1.31q0 .13.12.15m1.95 0h1.42c.06 0 .12-.08.12-.15V4.03q-.01-.13-.12-.14H7.35q-.1 0-.12.14v1.31q.01.13.12.15m0-1.9h1.42q.1-.02.12-.14v-1.3Q8.88 2 8.77 2H7.35q-.1 0-.12.14v1.3q.01.13.12.14m1.97 3.78h1.4a.13.13 0 0 0 .14-.13V5.91q-.01-.12-.13-.14H9.32q-.1.01-.12.14v1.32q.01.13.12.13\" opacity=\".5\"/>\n</symbol>","<symbol id=\"file-tree-builtin-eslint\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M11.16 6.1 8.12 4.35a.3.3 0 0 0-.24 0L4.84 6.1a.3.3 0 0 0-.12.2v3.5q0 .14.12.22l3.04 1.74q.12.08.24 0l3.04-1.74a.2.2 0 0 0 .13-.22V6.3a.3.3 0 0 0-.13-.2\" opacity=\".5\"/>\n <path fill=\"currentColor\" d=\"m.1 7.69 3.63-6.3A.8.8 0 0 1 4.37 1h7.26c.26 0 .5.17.64.4l3.63 6.27a.8.8 0 0 1 0 .75l-3.63 6.24a.7.7 0 0 1-.64.34H4.37a.7.7 0 0 1-.64-.34L.1 8.41a.7.7 0 0 1 0-.72m3 3.02q.01.15.14.23l4.63 2.66q.13.06.26 0l4.63-2.66a.3.3 0 0 0 .14-.23V5.4a.3.3 0 0 0-.14-.23L8.13 2.52a.3.3 0 0 0-.26 0L3.24 5.17a.3.3 0 0 0-.14.23z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-graphql\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M8 1a1.25 1.25 0 0 1 1.18 1.65l2.8 1.61q.33-.25.77-.26a1.25 1.25 0 0 1 .48 2.4v3.2a1.25 1.25 0 1 1-1.25 2.13l-2.8 1.62A1.25 1.25 0 0 1 8 15a1.25 1.25 0 0 1-1.18-1.65l-2.8-1.62q-.33.26-.77.27a1.25 1.25 0 0 1-.48-2.4V6.4a1.25 1.25 0 1 1 1.25-2.14l2.8-1.61A1.25 1.25 0 0 1 8 1M4.44 11.14l-.06.13 2.75 1.58a1.25 1.25 0 0 1 1.74 0l2.74-1.58-.05-.13zm3.89-7.68a1.3 1.3 0 0 1-.66 0L4.03 9.77q.37.3.45.78h7.04q.08-.48.45-.78zM4.38 4.73a1.24 1.24 0 0 1-1.02 1.76v3.02l.13.01 3.67-6.35-.03-.02zm4.46-1.56 3.67 6.35.13-.01V6.49a1.25 1.25 0 0 1-1.03-1.76L8.87 3.15z\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-nextjs\" viewBox=\"0 0 16 16\">\n <defs>\n <linearGradient id=\"a\" x1=\"4.522\" x2=\"14\" y1=\"3.943\" y2=\"16\" gradientUnits=\"userSpaceOnUse\">\n <stop stop-color=\"currentColor\"/>\n <stop offset=\"1\" stop-color=\"currentColor\" stop-opacity=\"0\"/>\n </linearGradient>\n </defs>\n <path fill=\"currentColor\" d=\"M3 2h1.522v9.09H3z\"/>\n <path fill=\"url(#a)\" d=\"M4.903 2 15 15.075q-.565.5-1.195.925L4.522 3.943z\"/>\n <path fill=\"currentColor\" d=\"M12.172 2h-1.508v9.094h1.508z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-npm\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M2 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1z\" class=\"vector\" opacity=\".2\"/>\n <path fill=\"currentColor\" d=\"M10.5 13H13V3H3v10h5V5.5h2.5z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-oxc\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M9.5 1a.5.5 0 0 1 .5.5V3h3.5a.5.5 0 0 1 .38.83L10.5 7.69v1.44q.41.04.95-.16a4 4 0 0 0 .72-.35l.04-.03h.01a.5.5 0 0 1 .67.1l2 2.5a.5.5 0 0 1 0 .62c-.76.96-3.14 2.69-6.89 2.69s-6.13-1.73-6.89-2.69a.5.5 0 0 1 0-.62l2-2.5a.5.5 0 0 1 .67-.1l.05.03.16.09q.22.13.56.26.54.2.95.16V7.69L2.12 3.83A.5.5 0 0 1 2.5 3H6V1.5a.5.5 0 0 1 .5-.5zM7 3.5a.5.5 0 0 1-.5.5H3.6l2.78 3.17a.5.5 0 0 1 .12.33v2a.5.5 0 0 1-.28.45c-.7.35-1.5.15-2.02-.05a5 5 0 0 1-.58-.26l-1.46 1.84c.82.78 2.8 2.02 5.84 2.02s5.02-1.24 5.84-2.02l-1.46-1.83a5 5 0 0 1-.58.26c-.52.2-1.33.39-2.02.04a.5.5 0 0 1-.28-.45v-2a.5.5 0 0 1 .12-.33L12.4 4H9.5a.5.5 0 0 1-.5-.5V2H7z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-postcss\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M14.5 8a6.5 6.5 0 0 0-5.9-6.47l5.42 8.93A7 7 0 0 0 14.5 8M2.88 12A6.5 6.5 0 0 0 8 14.5c2.08 0 3.93-.98 5.12-2.5zm8.62-1h1.68L11.5 8.24zm-1-.55a4 4 0 0 1-.7.55h.7zM8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M5.5 11h.7a4 4 0 0 1-.7-.55zm-2.68 0H4.5V8.24zm3.76-6.2A4 4 0 0 1 8 4.5q.76 0 1.42.3L8 2.46zM1.5 8q0 1.31.48 2.46L7.4 1.53A6.5 6.5 0 0 0 1.5 8m14 0a7.5 7.5 0 0 1-.99 3.72l-.01.03-.02.03A7.5 7.5 0 0 1 8 15.5a7.5 7.5 0 0 1-6.5-3.75l-.01-.03A7.5 7.5 0 1 1 15.5 8\"/>\n</symbol>","<symbol id=\"file-tree-builtin-prettier\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M6 12v1H4.93v-1zm1-2v1H2v-1zm6-4v1h-3V6zm-1-4v1H9V2z\"/>\n <path fill=\"currentColor\" d=\"M11.5 10v1H8v-1zM5 6v1H2V6zm5-2v1H9V4z\" opacity=\".8\"/>\n <path fill=\"currentColor\" d=\"M6 14v1H2v-1zm-.5-6v1H2V8zM13 4v1h-3V4zM4.93 2v1H2V2z\" opacity=\".6\"/>\n <path fill=\"currentColor\" d=\"M4.93 12v1H2v-1zM13 8v1H9V8zM5.5 4v1H2V4zM9 2v1H4.93V2z\" opacity=\".4\"/>\n</symbol>","<symbol id=\"file-tree-builtin-react\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8 6.65c.73 0 1.31.6 1.31 1.35S8.73 9.35 8 9.35 6.69 8.75 6.69 8 7.27 6.65 8 6.65\"/>\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M8 2.55c1.3-.99 2.59-1.34 3.5-.8.92.55 1.27 1.87 1.08 3.53C14.06 5.94 15 6.9 15 8s-.94 2.06-2.42 2.72c.19 1.65-.16 2.98-1.08 3.52-.91.55-2.2.2-3.5-.8-1.3 1-2.58 1.35-3.5.8-.91-.54-1.27-1.87-1.08-3.52C1.94 10.06 1 9.1 1 8s.94-2.06 2.42-2.72c-.19-1.66.17-2.98 1.08-3.52s2.2-.2 3.5.8M4.26 11.2c-.08 1.34.28 2.03.68 2.26s1.15.22 2.25-.52l.11-.09a12 12 0 0 1-1.24-1.39 11 11 0 0 1-1.8-.41zm7.47-.15q-.83.27-1.79.41-.6.8-1.24 1.4l.11.08c1.1.74 1.86.76 2.25.52.4-.23.76-.92.68-2.26zm-3.04.54a14 14 0 0 1-1.38 0q.34.38.69.7.35-.32.7-.7M8 5.29q-.76 0-1.47.1A13 13 0 0 0 5.07 8a14 14 0 0 0 1.46 2.62 13 13 0 0 0 2.94 0A13 13 0 0 0 10.93 8a14 14 0 0 0-1.46-2.62A13 13 0 0 0 8 5.3M4.64 9.18q-.15.5-.25.96.44.16.94.27a15 15 0 0 1-.7-1.23m6.73 0a15 15 0 0 1-.7 1.23q.5-.11.95-.27a10 10 0 0 0-.25-.96M3.44 6.26C2.27 6.86 1.87 7.53 1.87 8s.4 1.14 1.57 1.74l.13.07q.18-.88.55-1.81a12 12 0 0 1-.55-1.8q-.07.02-.13.06m8.99-.07A12 12 0 0 1 11.88 8q.36.94.55 1.8l.13-.06c1.17-.6 1.56-1.27 1.56-1.74s-.39-1.14-1.56-1.74zm-7.1-.6q-.5.11-.94.27.1.46.25.96a15 15 0 0 1 .69-1.23m5.34 0a15 15 0 0 1 .7 1.23q.14-.5.24-.96-.44-.15-.94-.27M7.18 3.06c-1.09-.74-1.85-.76-2.24-.52s-.76.92-.69 2.26l.01.15a11 11 0 0 1 1.8-.41q.6-.8 1.24-1.4zm3.88-.52c-.4-.24-1.15-.22-2.25.52l-.12.08q.65.6 1.25 1.4.96.15 1.8.41v-.14c.08-1.35-.28-2.04-.68-2.27M8 3.7a10 10 0 0 0-.7.7 14 14 0 0 1 1.4 0 10 10 0 0 0-.7-.7\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-sass\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M8.08 1.44c2.41-.91 4.96-.37 5.35 1.27.39 1.62-.92 3.56-2.6 4.25a5 5 0 0 1-3.26.35c-.58-.2-.92-.62-1-.85-.03-.09-.09-.24 0-.3.05-.03.08-.02.22.15s.7.6 1.75.48c2.78-.34 4.45-2.64 3.92-3.88-.37-.87-2.5-1.26-5.18.16C4.03 4.81 3.85 6.24 3.82 6.8c-.08 1.5 1.73 2.28 2.7 3.4q.04.03.07.08c.3-.12.7-.19 1.35-.2 1.58-.03 2.47 1.08 2.43 2.08-.03.78-.7 1.1-.82 1.13-.1.01-.14.02-.15-.06q-.03-.06.13-.15c.16-.09.42-.3.48-.72.05-.43-.24-1.44-1.76-1.63a3 3 0 0 0-1.33.08c.27.62.32 1.87-.29 2.83-.63 1-1.8 1.61-2.93 1.27-.37-.1-.93-.92-.45-2.05.46-1.07 2.4-2.12 2.66-2.26-.9-.83-3.08-1.95-3.4-3.65-.08-.49.13-1.65 1.46-2.98a12 12 0 0 1 4.11-2.52m-1.88 9.7c-.01.01-.9.47-1.52 1.17-.59.66-.75 1.48-.43 1.69.3.18 1-.04 1.51-.62a3 3 0 0 0 .5-.9q.2-.64.02-1.39z\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-stylelint\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M4 3v3.5l1.5-1L7 15 .5 6l1-1.5L0 3l2.5-2h1zm12 0-1.5 1.5 1 1.5L9 15l1.5-9.5 1.5 1V3l.5-2h1zm-8 8.5a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1m0-3a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1m0-3a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1\"/>\n <path fill=\"currentColor\" d=\"M6.5 2.5V4l-2 1.5v-4zm5 3L9.5 4V2.5l2-1zM9 4H7V2.5h2z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-svelte\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"m3.98 3.7 3.36-2.08a4.5 4.5 0 0 1 5.9 1.23 4 4 0 0 1 .7 3.02q-.16.75-.58 1.4c.42.77.56 1.66.4 2.52a3.7 3.7 0 0 1-1.57 2.4l-.17.1-3.36 2.09a4.5 4.5 0 0 1-5.9-1.23 4 4 0 0 1-.66-1.44 4 4 0 0 1-.04-1.58 4 4 0 0 1 .58-1.4 4 4 0 0 1-.4-2.52 3.7 3.7 0 0 1 1.57-2.4zl3.36-2.08zm7.87 0a2.7 2.7 0 0 0-1.26-.95 2.7 2.7 0 0 0-1.6-.07 3 3 0 0 0-.52.2l-.16.09-3.36 2.08a2 2 0 0 0-.69.64 2 2 0 0 0-.36.86 2.3 2.3 0 0 0 .42 1.81A2.7 2.7 0 0 0 7.18 9.4q.28-.06.53-.2l.16-.09 1.28-.79.2-.09a.8.8 0 0 1 .87.31.7.7 0 0 1 .13.55.7.7 0 0 1-.24.4l-.08.05-3.36 2.08-.2.09a1 1 0 0 1-.49-.02 1 1 0 0 1-.38-.3 1 1 0 0 1-.13-.37v-.1l.01-.13-.13-.03a4 4 0 0 1-1.1-.5l-.2-.14-.18-.12-.07.18-.08.3a2.3 2.3 0 0 0 .43 1.82q.45.64 1.19.93.73.28 1.51.14l.16-.04q.27-.07.52-.2l.16-.09 3.36-2.08q.4-.25.69-.64.27-.4.36-.86a2.3 2.3 0 0 0-.42-1.82 2.7 2.7 0 0 0-1.27-.95 2.7 2.7 0 0 0-1.6-.08q-.27.07-.52.2l-.16.1-1.28.79-.2.09a1 1 0 0 1-.49-.03 1 1 0 0 1-.38-.29.7.7 0 0 1-.13-.54.7.7 0 0 1 .24-.4l.08-.06L9.33 4.4l.2-.1a.8.8 0 0 1 .87.32 1 1 0 0 1 .13.38v.22l.11.04q.6.18 1.12.5l.2.14.17.12.06-.19.08-.3a2.3 2.3 0 0 0-.42-1.81z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-svg\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M5 7a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2z\"/>\n <path fill=\"currentColor\" d=\"M6 1a5 5 0 0 1 4.58 3H7a3 3 0 0 0-3 3v3.58A5 5 0 0 1 6 1\" opacity=\".5\"/>\n</symbol>","<symbol id=\"file-tree-builtin-svgo\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M9.43 4.8A.6.6 0 1 1 9.19 6l-.56.96a1.2 1.2 0 0 1 .32 1.58l.7.53a.89.89 0 1 1-.17.22l-.7-.52a1.2 1.2 0 0 1-1.4.25l-.56.87a.75.75 0 1 1-.57-.2 1 1 0 0 1 .32.05l.56-.87a1.2 1.2 0 0 1-.4-1.24l-1.2-.47a.56.56 0 1 1 .1-.28v.02l1.2.47a1.2 1.2 0 0 1 1.56-.55l.56-.97a.6.6 0 0 1-.15-.64.6.6 0 0 1 .63-.4\"/>\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M9.17 1q.16.63.27 1.26a6 6 0 0 1 1.61.67q.52-.38 1.08-.71l1.65 1.64q-.32.56-.68 1.05.48.78.72 1.67.6.09 1.18.25v2.32q-.55.15-1.11.24a6 6 0 0 1-.7 1.82q.31.44.59.91l-1.65 1.65-.85-.55a6 6 0 0 1-1.9.83q-.08.47-.2.95H6.84q-.12-.46-.2-.93a6 6 0 0 1-1.96-.81q-.39.27-.8.51l-1.65-1.65q.25-.43.53-.84a6 6 0 0 1-.75-1.9L1 9.16V6.83q.54-.14 1.09-.24a6 6 0 0 1 .77-1.74q-.33-.47-.63-.98l1.65-1.65q.54.32 1.03.68a6 6 0 0 1 1.66-.66q.1-.61.26-1.24zM7.96 3.73a4 4 0 0 0-1.74.36 4.5 4.5 0 0 0-2.3 2.3 4.4 4.4 0 0 0-.1 3.29l.03.06a4.4 4.4 0 0 0 2.4 2.47 4.4 4.4 0 0 0 3.48-.02l.03-.02a4.4 4.4 0 0 0 2.3-2.42l.06-.14a4.4 4.4 0 0 0-.2-3.4 4.4 4.4 0 0 0-2.13-2.07L9.47 4a4 4 0 0 0-1.51-.27\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-tailwind\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M8 4Q5.2 4 4.5 6.67q1.05-1.34 2.45-1c.53.12.91.5 1.33.9C8.98 7.23 9.77 8 11.5 8q2.8 0 3.5-2.67-1.05 1.34-2.45 1c-.53-.12-.91-.5-1.33-.9C10.52 4.77 9.73 4 8 4M4.5 8Q1.7 8 1 10.67q1.05-1.34 2.45-1c.53.12.91.5 1.33.9C5.48 11.23 6.26 12 8 12q2.8 0 3.5-2.67-1.05 1.34-2.45 1c-.53-.12-.91-.5-1.33-.9C7.02 8.77 6.24 8 4.5 8\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-terraform\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M1 0v5.05l4.35 2.53V2.53zm9.18 5.34L5.83 2.82v5.05l4.35 2.53zm.47 5.06V5.34L15 2.82v5.05zm-.48 5.6-4.35-2.53V8.42l4.35 2.53z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-vite\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8.57 14.87c-.18.26-.55.11-.55-.22v-3.18l-.05-.27-.13-.22-.2-.15-.24-.06H4.29c-.26 0-.4-.32-.26-.55L6.08 7c.3-.46 0-1.1-.5-1.1H1.8c-.25 0-.4-.32-.25-.56l2.65-4.2A.3.3 0 0 1 4.46 1h7.9c.26 0 .4.32.26.55l-2.05 3.23c-.29.46 0 1.1.5 1.1h3.12c.26 0 .4.34.24.57z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-vscode\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"m5.11 9.68-2.4 1.84a.6.6 0 0 1-.75-.04l-.77-.7a.6.6 0 0 1 0-.87L3.28 8zm5.52-8.42a.51.51 0 0 1 .87.36V4.8L7.32 8 5.1 6.32z\" opacity=\".75\"/>\n <path fill=\"currentColor\" d=\"M11.1 14.99h.03zM1.96 4.52a.6.6 0 0 1 .75-.04l8.8 6.71v3.19a.51.51 0 0 1-.88.36L1.19 6.1a.6.6 0 0 1 0-.87z\" opacity=\".65\"/>\n <path fill=\"currentColor\" d=\"M11.62 14.91a.9.9 0 0 1-1-.17.51.51 0 0 0 .88-.36V1.62a.51.51 0 0 0-.87-.36.9.9 0 0 1 1-.17l2.87 1.39a.9.9 0 0 1 .5.8v9.44a.9.9 0 0 1-.5.8z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-vue\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M9.62 2.25 8 5.02 6.38 2.25H1l7 12 7-12z\" opacity=\".5\"/>\n <path fill=\"currentColor\" d=\"M9.54 2.25 8 4.95l-1.54-2.7H4l4 7 4-7z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-wasm\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M13 1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h3a2 2 0 1 0 4 0z\" class=\"subtract\" opacity=\".2\"/>\n <path fill=\"currentColor\" d=\"M4.64 11.4h.02l.8-3.4h.91l.73 3.45L7.88 8h.96l-1.25 5h-.97L5.9 9.6 5.1 13h-1L3 8h.98z\"/>\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M13 13h-1.02l-.33-1.11H9.9L9.64 13h-.97l1.26-5h1.54zm-2.49-3.77-.42 1.84h1.32l-.49-1.84z\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-webpack\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M14.1 11.79 8.26 15v-2.5l3.64-1.94zm.4-.35V4.73l-2.14 1.2v4.3zm-12.6.35L7.74 15v-2.5L4.1 10.56zm-.4-.35V4.73l2.14 1.2v4.3zm.25-7.15 6-3.29v2.42L3.9 5.47l-.03.01zm12.5 0L8.25 1v2.42l3.85 2.05.03.01z\" class=\"bg\" opacity=\".4\"/>\n <path fill=\"currentColor\" d=\"m7.74 11.93-3.59-1.92v-3.8l3.6 2.02zm.52 0 3.59-1.92v-3.8l-3.6 2.02zM4.4 5.77 8 3.85l3.6 1.93L8 7.8z\" class=\"fg\"/>\n</symbol>","<symbol id=\"file-tree-builtin-yml\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M7.5 2A1.5 1.5 0 0 1 9 3.5v3A1.5 1.5 0 0 1 7.5 8h-2v2A1.5 1.5 0 0 0 7 11.5v-1A1.5 1.5 0 0 1 8.5 9h5a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-1.5 1.5h-5A1.5 1.5 0 0 1 7 13.5v-1A2.5 2.5 0 0 1 4.5 10V8h-2A1.5 1.5 0 0 1 1 6.5v-3A1.5 1.5 0 0 1 2.5 2zm1 8a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zm-6-7a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-zig\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"m14.73 1.5-7.29 8.82h4.17l-1.73 2.04H5.76L1.27 14.5l7.3-8.91H4.39l1.73-2.05h4.12z\"/>\n <path fill=\"currentColor\" d=\"M5.21 3.54 3.56 5.6h-.55v4.73h.83L2.1 12.36H1V3.54zm9.79 0v8.82h-4.3l1.74-2.04h.55V5.68h-.83l1.74-2.14z\"/>\n</symbol>"];function o(l,t){return 0===t.length?l:l.replace("</svg>",`\n ${t.join("\n ")}\n</svg>`)}const n=o(l,["<symbol id=\"file-tree-builtin-bash\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8 1C2.24 1 1 2.24 1 8s1.24 7 7 7 7-1.24 7-7-1.24-7-7-7\" class=\"bg\" opacity=\".2\"/>\n <path fill=\"currentColor\" d=\"M11.5 11a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1zM7 6.75C7 6.42 6.64 6 6 6s-1 .42-1 .75q-.01.25.22.41.26.21.89.35.74.14 1.28.53c.37.29.61.7.61 1.21 0 .87-.68 1.5-1.5 1.7v.55a.5.5 0 0 1-1 0v-.56c-.82-.18-1.5-.82-1.5-1.69a.5.5 0 0 1 1 0c0 .33.36.75 1 .75s1-.42 1-.75q.01-.25-.22-.41a2 2 0 0 0-.89-.35q-.74-.14-1.28-.53A1.5 1.5 0 0 1 4 6.75c0-.87.68-1.5 1.5-1.7V4.5a.5.5 0 0 1 1 0v.56c.82.18 1.5.82 1.5 1.69a.5.5 0 0 1-1 0\" class=\"fg-stroke\"/>\n</symbol>","<symbol id=\"file-tree-builtin-c\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M8 1q.084 0 .166.021.098.023.186.075c1.055.624 4.22 2.486 5.277 3.11.085.05.15.112.209.192h-.002l.028.037a.5.5 0 0 1 .103.21q.031.102.033.21v6.29a.71.71 0 0 1-.347.616l-5.307 3.144a.68.68 0 0 1-.693 0l-5.307-3.144A.72.72 0 0 1 2 11.145V4.832a.71.71 0 0 1 .346-.612l5.288-3.126A.7.7 0 0 1 7.992 1zm2.901 4.349a3.75 3.75 0 1 0 0 5.302l-1.06-1.06a2.25 2.25 0 1 1 0-3.182z\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-cpp\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M8 1q.084 0 .166.021.098.023.186.075c1.055.624 4.22 2.486 5.277 3.11.085.05.15.112.209.192h-.002l.028.037a.5.5 0 0 1 .103.21q.031.102.033.21v6.29a.71.71 0 0 1-.347.616l-5.307 3.144a.68.68 0 0 1-.693 0l-5.307-3.144A.72.72 0 0 1 2 11.145V4.832a.71.71 0 0 1 .346-.612l5.288-3.126A.7.7 0 0 1 7.992 1zm2.901 4.349a3.75 3.75 0 1 0 0 5.302l-1.06-1.06a2.25 2.25 0 1 1 0-3.182z\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-css\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8 15c-5.76 0-7-1.24-7-7V2a1 1 0 0 1 1-1h6c5.77 0 7 1.24 7 7s-1.24 7-7 7\" class=\"vector\" opacity=\".2\"/>\n <path fill=\"currentColor\" d=\"M10.1 9.19h.73c.03.49.22.6 1 .6.76 0 .93-.12.93-.68 0-.52-.17-.67-.94-.85-1.38-.3-1.68-.56-1.68-1.47 0-1.05.3-1.29 1.67-1.29 1.29 0 1.57.2 1.6 1.13h-.74c-.01-.34-.17-.42-.85-.42-.77 0-.94.1-.94.58 0 .42.17.55.96.73 1.36.3 1.66.58 1.66 1.59 0 1.14-.31 1.39-1.73 1.39-1.39 0-1.69-.24-1.67-1.31m-3.9 0h.74c.03.49.21.6.99.6.76 0 .93-.12.93-.68 0-.52-.17-.67-.93-.85-1.39-.3-1.69-.56-1.69-1.47 0-1.05.3-1.29 1.67-1.29 1.3 0 1.58.2 1.6 1.13h-.73c-.02-.34-.18-.42-.85-.42-.78 0-.95.1-.95.58 0 .42.17.55.96.73 1.37.3 1.67.58 1.67 1.59 0 1.14-.32 1.39-1.74 1.39-1.38 0-1.68-.24-1.66-1.31m-1.22 0h.75c-.09 1.07-.37 1.31-1.56 1.31-1.37 0-1.68-.45-1.68-2.5 0-1.96.36-2.5 1.68-2.5 1.16 0 1.44.25 1.52 1.35h-.76c-.08-.52-.22-.64-.76-.64-.74 0-.9.33-.9 1.78 0 1.47.16 1.8.9 1.8.58 0 .74-.11.8-.6\"/>\n</symbol>","<symbol id=\"file-tree-builtin-database\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M14.953 9.733a12.4 12.4 0 0 1-.244 1.936c-.207.933-.532 1.58-.996 2.044s-1.11.789-2.044.996C10.73 14.918 9.533 15 8 15s-2.73-.082-3.669-.291c-.933-.207-1.58-.532-2.044-.996s-.789-1.11-.996-2.044c-.122-.547-.2-1.182-.244-1.92q.23.364.532.667c.64.639 1.482 1.031 2.533 1.265 1.046.232 2.33.315 3.884.315 1.555 0 2.838-.083 3.884-.315 1.051-.234 1.893-.626 2.532-1.265a4 4 0 0 0 .541-.683\"/>\n <path fill=\"currentColor\" d=\"M14.93 5.924c-.046.663-.118 1.24-.23 1.743-.207.932-.532 1.579-.995 2.042s-1.11.789-2.042.996c-.938.209-2.135.291-3.667.291-1.531 0-2.729-.082-3.667-.29-.932-.208-1.579-.534-2.042-.997s-.789-1.11-.996-2.042a12 12 0 0 1-.227-1.683l.016-.188a4 4 0 0 0 .5.62c.638.639 1.48 1.031 2.532 1.265 1.046.232 2.33.315 3.884.315 1.555 0 2.838-.083 3.884-.315 1.051-.234 1.893-.626 2.532-1.265.192-.192.357-.404.506-.633z\"/>\n <path fill=\"currentColor\" d=\"M8 1c1.533 0 2.73.082 3.669.291.933.207 1.58.533 2.044.996.403.404.904.944.91 1.695.004.764-.509 1.318-.918 1.727-.463.463-1.11.789-2.042.996-.938.209-2.135.291-3.667.291-1.531 0-2.729-.082-3.667-.29-.932-.208-1.579-.534-2.042-.997-.406-.406-.915-.953-.915-1.71 0-.758.509-1.305.915-1.712.464-.463 1.11-.789 2.044-.996C5.27 1.082 6.467 1 8 1\"/>\n</symbol>","<symbol id=\"file-tree-builtin-default\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8 1v3a3 3 0 0 0 3 3h3v5.5a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 12.5v-9A2.5 2.5 0 0 1 4.5 1z\" class=\"bg\" opacity=\".4\"/>\n <path fill=\"currentColor\" d=\"M9.5 1a.5.5 0 0 1 .354.146l4 4A.5.5 0 0 1 14 5.5V6h-3a2 2 0 0 1-2-2V1z\" class=\"fg\"/>\n</symbol>","<symbol id=\"file-tree-builtin-font\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M12.3 13c-1.59 0-2.68-.99-2.68-2.5 0-1.43 1-2.34 2.88-2.35h2.16v-.83c0-1.08-.62-1.68-1.73-1.68-1.05 0-1.66.54-1.73 1.36H9.93c.09-1.43 1.06-2.48 3.05-2.48 1.75 0 3.02.95 3.02 2.68v5.66h-1.29v-1.02h-.04c-.41.66-1.16 1.16-2.37 1.16m.36-1.12c1.14 0 2-.72 2-1.74v-.96H12.6c-1.12 0-1.6.54-1.6 1.28 0 .97.8 1.42 1.66 1.42m-11.24.98H0L3.8 2h1.39l3.8 10.86H7.54l-1.08-3.2H2.5zm3.09-9.25h-.04l-1.6 4.95H6.1z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-git\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M14.74 7.38 8.62 1.26a.9.9 0 0 0-1.27 0L6.08 2.53l1.61 1.61a1.07 1.07 0 0 1 1.36 1.37l1.55 1.55a1.07 1.07 0 0 1 1.1 1.77 1.07 1.07 0 0 1-1.74-1.16L8.5 6.22v3.8a1.07 1.07 0 1 1-.89-.02V6.15a1.07 1.07 0 0 1-.58-1.4l-1.58-1.6-4.2 4.2a.9.9 0 0 0 0 1.27l6.12 6.12a.9.9 0 0 0 1.27 0l6.09-6.09a.9.9 0 0 0 0-1.27\"/>\n</symbol>","<symbol id=\"file-tree-builtin-go\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M4.41 4.57A3.2 3.2 0 0 1 6.87 5q.74.49 1.08 1.29.08.12-.1.16l-1.55.4c-.14.03-.15.04-.27-.1a1 1 0 0 0-.44-.34 1.6 1.6 0 0 0-1.68.14q-.95.61-.94 1.73c0 .73.52 1.33 1.25 1.43q.95.1 1.58-.6l.25-.34h-1.8c-.19 0-.24-.12-.17-.27.12-.28.34-.76.47-1a.3.3 0 0 1 .24-.14h2.98a4 4 0 0 1 .64-1.19 4 4 0 0 1 2.6-1.52 3.5 3.5 0 0 1 2.64.46q1.13.73 1.31 2.04a3.5 3.5 0 0 1-1.06 3.09q-.93.92-2.23 1.17l-.74.08a3.5 3.5 0 0 1-2.27-.8 3 3 0 0 1-.93-1.42 4 4 0 0 1-.39.61 4 4 0 0 1-2.64 1.56 3.3 3.3 0 0 1-2.5-.6 3 3 0 0 1-1.18-2.03 3.5 3.5 0 0 1 .8-2.67 4 4 0 0 1 2.6-1.58M13.1 7.5a1.53 1.53 0 0 0-1.9-1.21q-1.3.3-1.62 1.59a1.5 1.5 0 0 0 .85 1.72q.77.33 1.52-.05a2 2 0 0 0 1.18-1.74q0-.17-.03-.3\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-html\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8 1C2.24 1 1 2.24 1 8s1.24 7 7 7 7-1.24 7-7-1.24-7-7-7\" class=\"bg\" opacity=\".2\"/>\n <path fill=\"currentColor\" d=\"M10.48 3.76a.5.5 0 0 1 .4.58L10.6 5.8h1.14a.5.5 0 0 1 0 1h-1.32L10 9.2h1.08a.5.5 0 0 1 0 1H9.8l-.3 1.64a.5.5 0 1 1-.98-.18l.27-1.46H6.4l-.3 1.64a.5.5 0 1 1-.98-.18l.27-1.46H4.25a.5.5 0 0 1 0-1h1.32L6 6.8H4.93a.5.5 0 0 1 0-1H6.2l.3-1.64a.5.5 0 1 1 .98.18L7.2 5.8h2.4l.3-1.64a.5.5 0 0 1 .58-.4M6.58 9.2h2.4l.44-2.4h-2.4z\" class=\"fg\"/>\n</symbol>","<symbol id=\"file-tree-builtin-image\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M12.5 2A2.5 2.5 0 0 1 15 4.5v4.67l-4.05-3.54-4.08 4.08-3-2L1 10.6V4.5A2.5 2.5 0 0 1 3.5 2z\" opacity=\".3\"/>\n <path fill=\"currentColor\" d=\"M15 10.5v1a2.5 2.5 0 0 1-2.5 2.5h-9a2.5 2.5 0 0 1-2.46-2.04L4 9l3 2 4-4zm-7-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0\"/>\n</symbol>","<symbol id=\"file-tree-builtin-javascript\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8 1C2.24 1 1 2.24 1 8s1.24 7 7 7 7-1.24 7-7-1.24-7-7-7\" class=\"bg\" opacity=\".2\"/>\n <path fill=\"currentColor\" d=\"M8.1 9.64h.95c.04.62.28.76 1.28.76s1.2-.14 1.2-.85c0-.66-.2-.85-1.2-1.07-1.79-.38-2.18-.7-2.18-1.86C8.15 5.3 8.54 5 10.31 5c1.67 0 2.04.26 2.07 1.42h-.95c-.02-.43-.23-.53-1.1-.53-1 0-1.22.14-1.22.74 0 .52.22.7 1.24.92 1.76.38 2.15.73 2.15 2 0 1.44-.4 1.75-2.24 1.75-1.8 0-2.18-.3-2.15-1.66M3.5 9.5h.98c0 .76.15.92.85.92.77 0 .94-.18.94-1.02V5.1h1v4.34c0 1.54-.35 1.87-1.92 1.87-1.55 0-1.89-.32-1.86-1.8\"/>\n</symbol>","<symbol id=\"file-tree-builtin-json\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M13.25 11.5V9.75a.5.5 0 0 1 .36-.48l.55-.15a1.16 1.16 0 0 0 0-2.24l-.55-.15a.5.5 0 0 1-.36-.48V4.5a2.5 2.5 0 0 0-2.5-2.5h-.25a.5.5 0 0 0 0 1h.25a1.5 1.5 0 0 1 1.5 1.5v1.75a1.5 1.5 0 0 0 1.09 1.44l.54.15a.16.16 0 0 1 0 .32l-.54.15a1.5 1.5 0 0 0-1.09 1.44v1.75a1.5 1.5 0 0 1-1.5 1.5h-.25a.5.5 0 0 0 0 1h.25a2.5 2.5 0 0 0 2.5-2.5m-10.5 0V9.75a.5.5 0 0 0-.36-.48l-.55-.15a1.16 1.16 0 0 1 0-2.24l.55-.15a.5.5 0 0 0 .36-.48V4.5A2.5 2.5 0 0 1 5.25 2h.25a.5.5 0 0 1 0 1h-.25a1.5 1.5 0 0 0-1.5 1.5v1.75a1.5 1.5 0 0 1-1.09 1.44l-.54.15a.16.16 0 0 0 0 .32l.54.15a1.5 1.5 0 0 1 1.09 1.45v1.74a1.5 1.5 0 0 0 1.5 1.5h.25a.5.5 0 0 1 0 1h-.25a2.5 2.5 0 0 1-2.5-2.5\"/>\n</symbol>","<symbol id=\"file-tree-builtin-markdown\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M1 12V4h2l2 2.5L7 4h2v8H7V7.5l-2 2-2-2V12zm9-3 3 3.5L16 9h-2V4h-2v5z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-mcp\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M9.26-.04a3 3 0 0 1 2 .82 2.8 2.8 0 0 1 .8 2.35 2.9 2.9 0 0 1 2.41.8l.03.02a2.74 2.74 0 0 1 0 3.94l-5.8 5.69-.04.06-.02.07q0 .04.02.07.01.04.04.06l1.2 1.17a.55.55 0 0 1 0 .79.6.6 0 0 1-.81 0l-1.2-1.17a1.3 1.3 0 0 1 0-1.84L13.7 7.1a1.65 1.65 0 0 0 .37-1.82 2 2 0 0 0-.37-.54l-.03-.03a1.73 1.73 0 0 0-2.4 0L6.47 9.4l-.07.06a.58.58 0 0 1-.92-.18.6.6 0 0 1 .12-.6l4.85-4.76a1.65 1.65 0 0 0 0-2.36 1.73 1.73 0 0 0-2.4 0l-6.43 6.3a.6.6 0 0 1-.8 0 .55.55 0 0 1 0-.8L7.25.79a3 3 0 0 1 2-.82\"/>\n <path fill=\"currentColor\" d=\"M9.26 2.19a.6.6 0 0 1 .52.34.6.6 0 0 1 0 .43l-.12.18L4.9 7.79a1.65 1.65 0 0 0 0 2.36 1.73 1.73 0 0 0 2.4 0l4.75-4.66a.58.58 0 0 1 .93.18.6.6 0 0 1-.12.61l-4.75 4.66a2.9 2.9 0 0 1-4.01 0 2.75 2.75 0 0 1-.62-3.04A3 3 0 0 1 4.1 7l4.74-4.65a.6.6 0 0 1 .4-.16\"/>\n</symbol>","<symbol id=\"file-tree-builtin-python\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8.33 8.4H10c1.16 0 1.9-.73 1.9-1.86V5.08q0-.24.25-.24h.74c.75 0 1.33.32 1.66.97q.4.73.41 1.46c.09.9.09 1.78-.24 2.67-.25.73-.75 1.3-1.58 1.46h-4.8c-.08 0-.25 0-.25.08v.4s.17.09.25.09h2.82q.34-.02.33.32v1.06c0 .56-.25.97-.75 1.13-.41.16-.83.33-1.24.4a7 7 0 0 1-2.98-.07 3 3 0 0 1-1.16-.49c-.33-.32-.58-.65-.5-1.14v-2.91c0-1.13.67-1.78 1.82-1.78q.89-.1 1.66-.08m2.32 4.86a.65.65 0 0 0-.66-.65c-.34 0-.67.33-.67.65s.33.57.67.65a.65.65 0 0 0 .66-.65\" class=\"bg\" opacity=\".8\"/>\n <path fill=\"currentColor\" d=\"M7.67 7.6H6c-1.16 0-1.9.73-1.9 1.86v1.46q0 .24-.25.24h-.74c-.75 0-1.33-.32-1.66-.97a3 3 0 0 1-.41-1.46 6 6 0 0 1 .24-2.67c.25-.73.75-1.3 1.58-1.46h4.8c.08 0 .25 0 .25-.08v-.4s-.17-.09-.25-.09H4.85c-.24 0-.33-.08-.33-.32V2.65c0-.56.25-.97.75-1.13.41-.16.83-.33 1.24-.4a7 7 0 0 1 2.98.07c.41.09.83.25 1.16.49.33.32.58.65.5 1.13v2.92c0 1.14-.67 1.78-1.82 1.78-.58.08-1.16.08-1.66.08M5.35 2.73c0 .33.25.65.66.65.33 0 .66-.32.66-.65 0-.32-.33-.56-.66-.64a.65.65 0 0 0-.66.64\" class=\"fg\"/>\n</symbol>","<symbol id=\"file-tree-builtin-ruby\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M11.04 2c.48 0 .92.23 1.18.6l2.54 3.65c.37.52.3 1.23-.15 1.69l-5.58 5.64a1.47 1.47 0 0 1-2.06 0L1.39 7.94a1.3 1.3 0 0 1-.15-1.7l2.54-3.63q.2-.3.5-.45.33-.16.68-.16zm.84 2.17a.5.5 0 0 0-.7-.05L8 6.84 4.83 4.12a.5.5 0 0 0-.65.76L6.65 7H3.5a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1H9.35l2.48-2.12a.5.5 0 0 0 .05-.7\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-rust\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M8 .8a.2.2 0 0 1 .18.1l.38.6.16.02.5-.53.01-.01a.2.2 0 0 1 .33.08l.25.68.16.05.59-.43h.02a.2.2 0 0 1 .3.14l.12.71.15.08.65-.3a.2.2 0 0 1 .2.02.2.2 0 0 1 .1.18l-.03.72.12.1.71-.16a.2.2 0 0 1 .25.25l-.17.7q.06.06.1.13l.73-.03A.2.2 0 0 1 14 4a.2.2 0 0 1 .02.2l-.3.66.08.14.71.12a.2.2 0 0 1 .14.32l-.43.59.05.16.68.25a.2.2 0 0 1 .07.35l-.53.49.01.16.62.38a.2.2 0 0 1 0 .36l-.62.38-.01.16.53.5a.2.2 0 0 1-.07.34l-.68.25-.05.16.43.59a.2.2 0 0 1-.14.32l-.72.12-.07.15.3.65a.2.2 0 0 1-.02.2.2.2 0 0 1-.18.1l-.72-.03-.1.13.16.7a.2.2 0 0 1-.25.25l-.7-.17-.13.1.03.73a.2.2 0 0 1-.1.18.2.2 0 0 1-.2.02l-.66-.3-.14.08-.12.71a.2.2 0 0 1-.32.14l-.59-.43-.16.05-.25.68a.2.2 0 0 1-.34.07l-.5-.53-.16.01-.38.62a.2.2 0 0 1-.36 0l-.38-.62-.16-.01-.5.53a.2.2 0 0 1-.34-.07l-.25-.68-.16-.05-.59.43a.2.2 0 0 1-.32-.14L5 13.78l-.15-.07-.65.3a.2.2 0 0 1-.2-.02.2.2 0 0 1-.1-.18l.03-.72-.13-.1-.7.16a.2.2 0 0 1-.25-.25l.17-.7-.1-.13-.73.03a.2.2 0 0 1-.2-.3l.3-.66-.08-.14-.71-.12a.2.2 0 0 1-.14-.32l.43-.59-.05-.16-.68-.25A.2.2 0 0 1 1 9.22l.53-.5-.02-.16-.6-.38A.2.2 0 0 1 .8 8a.2.2 0 0 1 .1-.18l.6-.38.02-.16-.53-.5a.2.2 0 0 1 .07-.34l.68-.25.05-.16-.43-.59a.2.2 0 0 1 .14-.32L2.2 5l.08-.15L2 4.2a.2.2 0 0 1 .2-.3l.72.03.1-.13-.16-.7a.2.2 0 0 1 .25-.25l.7.16.13-.1-.03-.72A.2.2 0 0 1 4 2a.2.2 0 0 1 .2-.02l.65.3L5 2.2l.12-.71v-.03a.2.2 0 0 1 .32-.1l.59.41.16-.04.25-.68.01-.02A.2.2 0 0 1 6.8.99l.49.53.16-.02.38-.61.02-.02A.2.2 0 0 1 8 .79M6.8 9.45h1.26l.06.01q.03.01.03.05v1.52q0 .07-.09.06h-4.5A5.4 5.4 0 0 0 8 13.42a5.4 5.4 0 0 0 4.45-2.33h-2.42c-.36 0-.68-.5-.77-.75-.08-.22-.2-.91-.25-1.12-.15-.61-.59-.71-.78-.73H6.8zM8 2.58a5.4 5.4 0 0 0-4.07 1.85h5.74l.17.02c.23.03.6.12.96.35.34.23.83.68.83 1.4 0 .66-.55 1.16-1.08 1.5.42.33.7.53.86 1.44.04.17.34.32.62.29.29-.03.62-.16.62-.75v-.24q0-.1.07-.1h.68A5.43 5.43 0 0 0 8 2.59M2.96 6.03a5.4 5.4 0 0 0-.19 3.37h1.66V6.03zM6.8 7.06h1.66c.35 0 .77-.12.77-.47 0-.42-.55-.53-.65-.53H6.8z\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-swift\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M9.63 1c6.15 4.35 4.16 9.15 4.16 9.15s1.75 2.05 1.04 3.85c0 0-.72-1.26-1.93-1.26-1.17 0-1.85 1.26-4.2 1.26C3.47 14 1 9.46 1 9.46c4.71 3.22 7.93.94 7.93.94C6.8 9.12 2.29 3 2.29 3c3.93 3.47 5.63 4.39 5.63 4.39-1.01-.87-3.86-5.13-3.86-5.13C6.34 4.66 10.86 8 10.86 8c1.28-3.7-1.23-7-1.23-7\"/>\n</symbol>","<symbol id=\"file-tree-builtin-table\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8 4a3 3 0 0 0 3 3h3v5.5a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 12.5v-9A2.5 2.5 0 0 1 4.5 1H8z\" class=\"bg\" opacity=\".4\"/>\n <path fill=\"currentColor\" d=\"M11.5 8a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5zM5 12h2.5v-1H5zm3.5 0H11v-1H8.5zM5 10h2.5V9H5zm3.5 0H11V9H8.5zm1-9a.5.5 0 0 1 .354.146l4 4A.5.5 0 0 1 14 5.5V6h-3a2 2 0 0 1-2-2V1z\" class=\"fg\"/>\n</symbol>","<symbol id=\"file-tree-builtin-text\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M8 4a3 3 0 0 0 3 3h3v5.5a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 12.5v-9A2.5 2.5 0 0 1 4.5 1H8z\" class=\"bg\" clip-rule=\"evenodd\" opacity=\".4\"/>\n <path fill=\"currentColor\" d=\"M8.5 11a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1zm2-2a.5.5 0 0 1 0 1h-5a.5.5 0 0 1 0-1zm-1-8a.5.5 0 0 1 .354.146l4 4A.5.5 0 0 1 14 5.5V6h-3a2 2 0 0 1-2-2V1z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-typescript\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8 1C2.24 1 1 2.24 1 8s1.24 7 7 7 7-1.24 7-7-1.24-7-7-7\" class=\"bg\" opacity=\".2\"/>\n <path fill=\"currentColor\" d=\"M8.1 9.64h.95c.04.62.28.76 1.28.76s1.2-.14 1.2-.85c0-.66-.2-.85-1.2-1.07-1.79-.38-2.18-.7-2.18-1.86C8.15 5.3 8.54 5 10.31 5c1.67 0 2.04.26 2.07 1.42h-.95c-.02-.43-.23-.53-1.1-.53-1 0-1.22.14-1.22.74 0 .52.22.7 1.24.92 1.76.38 2.15.73 2.15 2 0 1.44-.4 1.75-2.24 1.75-1.8 0-2.18-.3-2.15-1.66m-3 1.57V5.99H3.5v-.9h4.21v.9H6.1v5.22z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-zip\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M4.585 2a2 2 0 0 1 1.028.285l1.788 1.072a1 1 0 0 0 .514.143H12A2 2 0 0 1 13.935 5H0V4a2 2 0 0 1 2-2z\" class=\"bg\" opacity=\".5\"/>\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M14 12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-1.25h1v-1H0V6h14zM9.9 8.25c-.883 0-1.9.5-1.9.5H7v1h1v1s1.017.5 1.9.5c.884 0 1.6-.672 1.6-1.5s-.716-1.5-1.6-1.5M2 9.75v1h1v-1zm2 0v1h1v-1zm2 0v1h1v-1zm-5-1v1h1v-1zm2 0v1h1v-1zm2 0v1h1v-1z\" class=\"fg\" clip-rule=\"evenodd\"/>\n</symbol>"]),s={minimal:l,standard:n,complete:o(n,t)},c={".babelrc":"babel",".babelrc.json":"babel",".bash_profile":"bash",".bashrc":"bash",".browserslistrc":"browserslist",".dockerignore":"docker",".eslintignore":"eslint",".eslintrc":"eslint",".eslintrc.cjs":"eslint",".eslintrc.js":"eslint",".eslintrc.json":"eslint",".eslintrc.yaml":"eslint",".eslintrc.yml":"eslint",".gitattributes":"git",".gitignore":"git",".gitkeep":"git",".gitmodules":"git",".oxlintrc.json":"oxc",".postcssrc":"postcss",".postcssrc.json":"postcss",".postcssrc.yaml":"postcss",".postcssrc.yml":"postcss",".prettierignore":"prettier",".prettierrc":"prettier",".prettierrc.cjs":"prettier",".prettierrc.js":"prettier",".prettierrc.json":"prettier",".prettierrc.mjs":"prettier",".prettierrc.toml":"prettier",".prettierrc.yaml":"prettier",".prettierrc.yml":"prettier",".stylelintignore":"stylelint",".stylelintrc":"stylelint",".stylelintrc.cjs":"stylelint",".stylelintrc.js":"stylelint",".stylelintrc.json":"stylelint",".stylelintrc.mjs":"stylelint",".stylelintrc.yaml":"stylelint",".stylelintrc.yml":"stylelint",".terraform.lock.hcl":"terraform",".zprofile":"bash",".zshenv":"bash",".zshrc":"bash","babel.config.cjs":"babel","babel.config.js":"babel","babel.config.json":"babel","babel.config.mjs":"babel","biome.json":"biome","biome.jsonc":"biome","bootstrap.bundle.js":"bootstrap","bootstrap.bundle.min.js":"bootstrap","bootstrap.css":"bootstrap","bootstrap.js":"bootstrap","bootstrap.min.css":"bootstrap","bootstrap.min.js":"bootstrap","bun.lock":"bun","bun.lockb":"bun","bunfig.toml":"bun","claude.md":"claude","compose.yaml":"docker","compose.yml":"docker","docker-compose.override.yml":"docker","docker-compose.yaml":"docker","docker-compose.yml":"docker",dockerfile:"docker","eslint.config.cjs":"eslint","eslint.config.js":"eslint","eslint.config.mjs":"eslint","eslint.config.mts":"eslint","eslint.config.ts":"eslint",gemfile:"ruby","next.config.js":"nextjs","next.config.mjs":"nextjs","next.config.mts":"nextjs","next.config.ts":"nextjs","postcss.config.cjs":"postcss","postcss.config.js":"postcss","postcss.config.mjs":"postcss","postcss.config.ts":"postcss","prettier.config.cjs":"prettier","prettier.config.js":"prettier","prettier.config.mjs":"prettier",rakefile:"ruby","readme.md":"markdown","stylelint.config.cjs":"stylelint","stylelint.config.js":"stylelint","stylelint.config.mjs":"stylelint","svgo.config.cjs":"svgo","svgo.config.js":"svgo","svgo.config.mjs":"svgo","svgo.config.ts":"svgo","tailwind.config.cjs":"tailwind","tailwind.config.js":"tailwind","tailwind.config.mjs":"tailwind","tailwind.config.ts":"tailwind","vite.config.js":"vite","vite.config.mjs":"vite","vite.config.mts":"vite","vite.config.ts":"vite","webpack.config.babel.js":"webpack","webpack.config.cjs":"webpack","webpack.config.js":"webpack","webpack.config.mjs":"webpack","webpack.config.ts":"webpack"},p={"7z":"zip",astro:"astro",AUTHORS:"text",avif:"image",bash:"bash",bmp:"image",bz2:"zip",c:"c",cc:"cpp",cfg:"text",CHANGELOG:"text",cjs:"javascript","code-workspace":"vscode",conf:"text",CONTRIBUTORS:"text",cpp:"cpp",csh:"bash",css:"css",csv:"table",cts:"typescript",cxx:"cpp",db:"database",editorconfig:"text",env:"text","env.development":"text","env.local":"text","env.production":"text",eot:"font",erb:"ruby",fish:"bash",gemspec:"ruby",gif:"image",go:"go",gql:"graphql",graphql:"graphql",gz:"zip",h:"c",hh:"cpp",hpp:"cpp",htm:"html",html:"html",hxx:"cpp",icns:"image",ico:"image",ini:"text",inl:"cpp",jar:"zip",jpeg:"image",jpg:"image",js:"javascript",json:"json",json5:"json",jsonc:"json",jsonl:"json",jsx:"javascript",ksh:"bash",less:"css",LICENSE:"text",log:"text",markdown:"markdown",mcp:"mcp",md:"markdown",mdx:"markdown","mdx.tsx":"markdown",mjs:"javascript",mm:"cpp",mts:"typescript",ods:"table",otf:"font",png:"image",postcss:"css",py:"python",pyi:"python",pyw:"python",pyx:"python",rake:"ruby",rar:"zip",rb:"ruby",rs:"rust",rst:"text",rtf:"text",sass:"css",scss:"css",sh:"bash",sql:"database",sqlite:"database",sqlite3:"database",styl:"css",svelte:"svelte",svg:"svg",swift:"swift",tar:"zip",tf:"terraform",tfstate:"terraform",tfvars:"terraform",tgz:"zip",tif:"image",tiff:"image",ts:"typescript",tsv:"table",tsx:"typescript",ttf:"font",txt:"text",vue:"vue",war:"zip",wasm:"wasm",wast:"wasm",wat:"wasm",webp:"image",woff:"font",woff2:"font",xhtml:"html",xls:"table",xlsx:"table",xz:"zip",yaml:"yml",yml:"yml",zig:"zig",zip:"zip",zsh:"bash"},h={jsx:"react",sass:"sass",scss:"sass",tsx:"react"},b=new Set(["bash","c","cpp","css","database","default","font","git","go","html","image","javascript","json","markdown","mcp","python","ruby","rust","swift","table","text","typescript","zip"]),v=new Set(["complete"]);function f(l){return s["none"===l?"minimal":l]}function u(l){return`file-tree-builtin-${l}`}function y(l){return"none"!==l&&v.has(l)}function z(l,t,o){if("minimal"===l||"none"===l)return;const n="complete"===l,s=c[t.toLowerCase()];if(null!=s&&(n||b.has(s)))return s;for(const l of o){if(n){const t=h[l];if(null!=t)return t}const t=p[l];if(null!=t&&(n||b.has(t)))return t}return"default"}},1201,[]);
4
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"CONTEXT_MENU_SLOT_NAME",{enumerable:!0,get:function(){return f}}),Object.defineProperty(e,"CONTEXT_MENU_TRIGGER_TYPE",{enumerable:!0,get:function(){return R}}),Object.defineProperty(e,"FILE_TREE_SCROLLBAR_GUTTER_MEASURED_PROPERTY",{enumerable:!0,get:function(){return T}}),Object.defineProperty(e,"FILE_TREE_SCROLLBAR_GUTTER_STYLE_ATTRIBUTE",{enumerable:!0,get:function(){return _}}),Object.defineProperty(e,"FILE_TREE_SCROLLBAR_MEASURE_ATTRIBUTE",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"FILE_TREE_STYLE_ATTRIBUTE",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"FILE_TREE_TAG_NAME",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"FILE_TREE_UNSAFE_CSS_ATTRIBUTE",{enumerable:!0,get:function(){return E}}),Object.defineProperty(e,"FLATTENED_PREFIX",{enumerable:!0,get:function(){return c}}),Object.defineProperty(e,"HEADER_SLOT_NAME",{enumerable:!0,get:function(){return o}});const t="file-tree-container",n="data-file-tree-style",E="data-file-tree-unsafe-css",u="data-file-tree-scrollbar-measure",_="data-file-tree-scrollbar-gutter-measured",T="--trees-scrollbar-gutter-measured",c="f::",o="header",f="context-menu",R="context-menu-trigger"},1202,[]);
5
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"createFileTreeIconResolver",{enumerable:!0,get:function(){return u}});var n=r(d[0]),t=r(d[1]);const o=n=>n.trim().toLowerCase(),s=n=>n.split("/").at(-1)??n,l=n=>{const t=n.toLowerCase().split("."),o=[];for(let n=1;n<t.length;n+=1)o.push(t.slice(n).join("."));return o};function c(n,t){return"string"==typeof n?{name:n,remappedFrom:t}:Object.assign({},n,{remappedFrom:t})}function u(u){const f=(0,t.normalizeFileTreeIcons)(u),p=f.remap,b=new Map;for(const[n,t]of Object.entries(f.byFileName??{}))b.set(n.toLowerCase(),t);const F=new Map;for(const[n,t]of Object.entries(f.byFileExtension??{}))F.set(o(n),t);const j=Object.entries(f.byFileNameContains??{}).map(([n,t])=>[n.toLowerCase(),t]);return{resolveIcon:(t,o)=>{if("file-tree-icon-file"===t&&null!=o){const u=s(o),w=u.toLowerCase(),I=b.get(w);if(null!=I)return c(I,t);for(const[n,o]of j)if(w.includes(n))return c(o,t);const y=l(u);for(const n of y){const o=F.get(n);if(null!=o)return c(o,t)}const C=(0,n.resolveBuiltInFileIconToken)(f.set,u,y);if(null!=C&&"none"!==f.set){if("default"===C){const n=p?.[t];if(null!=n)return c(n,t)}return{name:(0,n.getBuiltInFileIconName)(C),remappedFrom:t,token:C}}}const u=p?.[t];return null==u?{name:t}:c(u,t)}}}},1203,[1201,1204]);
6
- __d(function(g,r,i,a,m,e,d){"use strict";function n(n){return null!=n.spriteSheet||null!=n.remap||null!=n.byFileName||null!=n.byFileExtension||null!=n.byFileNameContains}function t(t){return null==t?{set:"complete",colored:!0}:"string"==typeof t?{set:t,colored:!0}:Object.assign({},t,{set:t.set??(n(t)?"none":"complete"),colored:t.colored??!0})}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"normalizeFileTreeIcons",{enumerable:!0,get:function(){return t}})},1204,[]);
7
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"themeToTreeStyles",{enumerable:!0,get:function(){return o}});var t=r(d[0]);function o(o){const l=(0,t.normalizeThemeColors)(o).colors??{},n="dark"===o.type,s=l["sideBar.background"],c=l["sideBar.foreground"],u=l["sideBarSectionHeader.foreground"],b=l["list.activeSelectionForeground"],h=l["list.hoverBackground"],f=l["list.focusOutline"],k=l["input.background"],v=l["sideBar.border"],p=l["input.border"],B=l["scrollbarSlider.background"],S=l["gitDecoration.addedResourceForeground"],C=l["gitDecoration.modifiedResourceForeground"],y=l["gitDecoration.deletedResourceForeground"],F=t.colorUtils.relativeLuminance(s),_=null!=F?F<.5:n,D=l["list.activeSelectionBackground"],L=l["list.focusBackground"],O=l["editor.selectionBackground"],R=s?.toLowerCase(),T={colorScheme:n?"dark":"light",backgroundColor:s??"",color:c??"",borderColor:"var(--trees-theme-sidebar-border, light-dark(oklch(0% 0 0 / 0.15), oklch(100% 0 0 / 0.15)))","--trees-theme-sidebar-bg":s??"","--trees-theme-sidebar-fg":c??"","--trees-theme-sidebar-header-fg":u??"","--trees-theme-list-active-selection-fg":b??"","--trees-theme-list-hover-bg":h??(_?"rgba(255,255,255,0.08)":"rgba(0,0,0,0.06)"),"--trees-theme-list-active-selection-bg":(null!=D&&D.toLowerCase()===R?L??O:D??O)??"transparent","--trees-theme-focus-ring":f??c??"","--trees-theme-input-bg":k??""};return null!=v&&""!==v&&(T["--trees-theme-sidebar-border"]=v),null!=p&&""!==p&&(T["--trees-theme-input-border"]=p),null!=B&&""!==B&&(T["--trees-theme-scrollbar-thumb"]=B),null!=S&&""!==S&&(T["--trees-theme-git-added-fg"]=S),null!=C&&""!==C&&(T["--trees-theme-git-modified-fg"]=C),null!=y&&""!==y&&(T["--trees-theme-git-deleted-fg"]=y),T}},1205,[1206]);
8
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"colorUtils",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"normalizeThemeColors",{enumerable:!0,get:function(){return o.normalizeThemeColors}});var t=r(d[0]),o=r(d[1]);const n={compositeOverBg:t.compositeOverBg,contrastRatio:t.contrastRatio,deriveMutedFg:t.deriveMutedFg,hoverWouldEraseText:t.hoverWouldEraseText,isDarkSurface:t.isDarkSurface,isFullyTransparent:t.isFullyTransparent,pickReadableForeground:t.pickReadableForeground,relativeLuminance:t.relativeLuminance,surfacesMatch:t.surfacesMatch}},1206,[1207,1208]);
9
- __d(function(_g,_r,i,_a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"MIN_MUTED_RATIO",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"MIN_READABLE_RATIO",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"compositeOverBg",{enumerable:!0,get:function(){return s}}),Object.defineProperty(e,"contrastRatio",{enumerable:!0,get:function(){return f}}),Object.defineProperty(e,"deriveMutedFg",{enumerable:!0,get:function(){return O}}),Object.defineProperty(e,"hoverWouldEraseText",{enumerable:!0,get:function(){return g}}),Object.defineProperty(e,"isDarkSurface",{enumerable:!0,get:function(){return b}}),Object.defineProperty(e,"isFullyTransparent",{enumerable:!0,get:function(){return a}}),Object.defineProperty(e,"parseHexRgba",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"pickReadableForeground",{enumerable:!0,get:function(){return h}}),Object.defineProperty(e,"relativeLuminance",{enumerable:!0,get:function(){return c}}),Object.defineProperty(e,"surfacesMatch",{enumerable:!0,get:function(){return p}});const n=3,t=4.5,r=/^#(?:[0-9a-f]{3}0|[0-9a-f]{6}00)$/i,u=/^0(?:\.0+)?%?$/;function l(n){const t=n.indexOf("(");if(t<=0||!n.endsWith(")"))return;const r=n.slice(0,t).trim();if(!/^(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color)$/i.test(r))return;const u=n.slice(t+1,-1).trim();if(0===u.length)return;const l=u.lastIndexOf("/");if(-1!==l)return u.slice(l+1).trim();if(/^(?:rgba|hsla)$/i.test(r)){const n=u.split(",");if(4===n.length)return n[3]?.trim()}}function o(n){const t=/^#([0-9a-f]{3}|[0-9a-f]{6}|[0-9a-f]{8})\b/i.exec(n.trim());if(null==t)return null;const r=t[1];let u,l=1;return 3===r.length?u=r.split("").map(n=>n+n).join(""):6===r.length?u=r:(u=r.slice(0,6),l=parseInt(r.slice(6,8),16)/255),[parseInt(u.slice(0,2),16),parseInt(u.slice(2,4),16),parseInt(u.slice(4,6),16),l]}function c(n){if(null==n)return null;const t=o(n);if(null==t)return null;const r=t[0]/255,u=t[1]/255,l=t[2]/255,c=n=>n<=.03928?n/12.92:((n+.055)/1.055)**2.4;return.2126*c(r)+.7152*c(u)+.0722*c(l)}function f(n,t){const[r,u]=n>t?[n,t]:[t,n];return(r+.05)/(u+.05)}function s(n,t){if(null==t)return;const r=o(n),u=o(t);if(null==r||null==u)return;const[l,c,f,s]=r,[a,b,p]=u;return"#"+[Math.round(l*s+a*(1-s)),Math.round(c*s+b*(1-s)),Math.round(f*s+p*(1-s))].map(n=>n.toString(16).padStart(2,"0")).join("")}function a(n){if(null==n)return!1;const t=n.trim().toLowerCase();if("transparent"===t)return!0;if(r.test(t))return!0;const o=l(t);return null!=o&&u.test(o)}function b(n,t){const r=c(n);if(null!=r)return r<.4;const u=c(t);return null!=u&&u>.6}function p(n,t){if(null==n||null==t)return!1;if(n.trim().toLowerCase()===t.trim().toLowerCase())return!0;const r=c(n),u=c(t);return null!=r&&null!=u&&Math.abs(r-u)<.06}function g(n,t,r){if(null==t||null==r)return!1;const u=c(n),l=c(t),o=c(r);return null!=u&&null!=l&&null!=o&&Math.abs(u-o)<Math.abs(u-l)}function h(n,t){const r=c(n),u=t.find(n=>null!=n&&""!==n);if(null==r)return u;let l,o=-1;for(const n of t){if(null==n||""===n)continue;const t=c(n);if(null==t)continue;const u=f(r,t);if(u>=3)return n;u>o&&(l=n,o=u)}return l??u}function O(n,t){if(null==t)return n;const r=o(n),u=o(t),l=c(t);if(null==r||null==u||null==l)return`color-mix(in srgb, ${n} 70%, ${t})`;const[s,a,b]=r,[p,g,h]=u;for(const n of[.6,.7,.8,.9]){const t="#"+[Math.round(s*n+p*(1-n)),Math.round(a*n+g*(1-n)),Math.round(b*n+h*(1-n))].map(n=>n.toString(16).padStart(2,"0")).join(""),r=c(t);if(null!=r&&f(l,r)>=4.5)return t}return n}},1207,[]);
10
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"normalizeThemeColors",{enumerable:!0,get:function(){return n}});var o=r(d[0]);const t=new WeakMap;function n(n){const s=t.get(n);if(null!=s)return s;const l=n.colors??{},f=Object.assign({},l),b=l["editor.background"]??n.bg,B=l["editor.foreground"]??n.fg,k=l["sideBar.background"]??b,v=l["sideBar.foreground"]??B;u(f,"editor.background",b),u(f,"editor.foreground",B),u(f,"sideBar.background",k),u(f,"sideBar.foreground",v),u(f,"input.background",l["input.background"]??k),u(f,"sideBarSectionHeader.foreground",l["sideBarSectionHeader.foreground"]??v),u(f,"list.activeSelectionForeground",l["list.activeSelectionForeground"]??v),u(f,"gitDecoration.addedResourceForeground",c(l["gitDecoration.addedResourceForeground"],l["terminal.ansiGreen"],l["editorGutter.addedBackground"])),u(f,"gitDecoration.modifiedResourceForeground",c(l["gitDecoration.modifiedResourceForeground"],l["terminal.ansiBlue"],l["editorGutter.modifiedBackground"])),u(f,"gitDecoration.deletedResourceForeground",c(l["gitDecoration.deletedResourceForeground"],l["terminal.ansiRed"],l["editorGutter.deletedBackground"]));const F=((0,o.isFullyTransparent)(l["list.focusOutline"])?void 0:l["list.focusOutline"])??((0,o.isFullyTransparent)(l.focusBorder)?void 0:l.focusBorder);null!=F?f["list.focusOutline"]=F:delete f["list.focusOutline"];const O=l["list.hoverBackground"];var p,R;null!=O&&(p=O,null!=(R=k)&&p.toLowerCase()===R.toLowerCase()||(0,o.hoverWouldEraseText)(O,k,v))&&delete f["list.hoverBackground"];const j=Object.freeze(Object.assign({},n,{colors:Object.freeze(f)}));return t.set(n,j),j}function u(o,t,n){null!=n&&""!==n&&(o[t]=n)}function c(...o){for(const t of o)if(null!=t&&""!==t)return t}},1208,[1207]);
11
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"prepareFileTreeInput",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"preparePresortedFileTreeInput",{enumerable:!0,get:function(){return u}});var t=r(d[0]);function n(n,u={}){return t.PathStore.prepareInput(n,u)}function u(n){return t.PathStore.preparePresortedInput(n)}r(d[1])},1209,[1210,1226]);
12
- __d(function(g,r,_i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"PathStore",{enumerable:!0,get:function(){return I}});var t=r(d[0]),s=r(d[1]),i=r(d[2]),n=r(d[3]),o=r(d[4]),h=r(d[5]),c=r(d[6]),l=r(d[7]),u=r(d[8]),p=r(d[9]),f=r(d[10]),b=r(d[11]);function P(i){const{directories:n,nodes:o,options:h,rootId:c,presortedDirectoryNodeIds:l}=i.snapshot,u=!0===h.flattenEmptyDirectories,p=i=>{const h=o[i];if(null==h||!(0,s.isDirectoryNode)(h))return;const c=n.get(i);if(null==c)throw new Error(`Unknown directory child index for node ${String(i)}`);const l=c.childIds,p=l.length;let f,b=0,P=0;for(let t=0;t<p;t++){const s=l[t];if(null==s)continue;const i=o[s];b+=i.subtreeNodeCount,P+=i.visibleSubtreeCount}if(c.totalChildSubtreeNodeCount=b,c.totalChildVisibleSubtreeCount=P,p>=128&&(0,t.rebuildVisibleChildChunks)(o,c),h.subtreeNodeCount=1+b,u&&1===p){const t=o[l[0]];f=null!=t&&(0,s.isDirectoryNode)(t)?P:1+P}else f=1+P;h.visibleSubtreeCount=f};if(null!=l)for(let t=l.length-1;t>=0;t--)p(l[t]);else for(let t=o.length-1;t>=1;t--)p(t);const f=o[c],b=n.get(c);if(null==f||null==b)return;const P=b.childIds;let C=0,v=0;for(let t=0;t<P.length;t++){const s=P[t];if(null==s)continue;const i=o[s];C+=i.subtreeNodeCount,v+=i.visibleSubtreeCount}b.totalChildSubtreeNodeCount=C,b.totalChildVisibleSubtreeCount=v,(0,t.rebuildVisibleChildChunks)(o,b),f.subtreeNodeCount=1+C,f.visibleSubtreeCount=v}function C(s){const{directories:i,nodes:n,rootId:o}=s.snapshot,h=(0,b.buildSoaNodeStore)(s.snapshot);(0,b.sweepOpenVisibleCountsSoa)(h);const c=h.subtreeNodeCount,l=h.visibleSubtreeCount;for(let t=0;t<n.length;t+=1){const s=n[t];null!=s&&(s.subtreeNodeCount=c[t],s.visibleSubtreeCount=l[t])}for(const[s,h]of i){const i=h.childIds,c=i.length;let l=0,u=0;for(let t=0;t<c;t++){const s=i[t];if(null==s)continue;const o=n[s];l+=o.subtreeNodeCount,u+=o.visibleSubtreeCount}h.totalChildSubtreeNodeCount=l,h.totalChildVisibleSubtreeCount=u,(s===o||c>=128)&&(0,t.rebuildVisibleChildChunks)(n,h)}}function v(t){return"open"===t.initialExpansion&&(null==t.initialExpandedPaths||0===t.initialExpandedPaths.length)}var I=class t{#t;constructor(t={}){const s=(0,i.getBenchmarkInstrumentation)(t),n=(0,i.withBenchmarkPhase)(s,"store.builder.create",()=>new o.PathStoreBuilder(t));if(null!=t.preparedInput){const s=(0,o.getPreparedInputPresortedPaths)(t.preparedInput);null!=s?n.appendPresortedPaths(s,(0,o.getPreparedInputPresortedPathsContainDirectories)(t.preparedInput)):n.appendPreparedPaths((0,o.getPreparedInputEntries)(t.preparedInput),!1)}else{const h=t.paths??[];!0===t.presorted?n.appendPaths(h):n.appendPreparedPaths((0,i.withBenchmarkPhase)(s,"store.preparePathEntries",()=>(0,o.preparePathEntries)(h,t)))}const c=(0,i.withBenchmarkPhase)(s,"store.builder.finish",()=>n.finish({skipSubtreeCountPass:!0})),l=(0,i.withBenchmarkPhase)(s,"store.state.detectAllDirectoriesExpanded",()=>"closed"===(t.initialExpansion??"closed")&&n.didMatchAllInitialExpandedPaths());this.#t=(0,i.withBenchmarkPhase)(s,"store.state.create",()=>(0,h.createPathStoreState)(c,l?"open":t.initialExpansion??"closed",s)),l&&(this.#t.collapseNewDirectoriesByDefault=!0);const p=l?this.#t.snapshot.directories.size-1:(0,i.withBenchmarkPhase)(s,"store.state.initializeExpandedPaths",()=>this.initializeExpandedPaths(t.initialExpandedPaths));l||v(t)||"closed"===(t.initialExpansion??"closed")&&p===this.#t.snapshot.directories.size-1||(t.initialExpandedPaths?.length??0)>0&&(0,i.withBenchmarkPhase)(s,"store.state.checkAllDirectoriesExpanded",()=>this.hasAllDirectoriesExpanded())?!0===t.useSoaCountSweep?(0,i.withBenchmarkPhase)(s,"store.state.initializeOpenVisibleCountsViaSoa",()=>C(this.#t)):(0,i.withBenchmarkPhase)(s,"store.state.initializeOpenVisibleCounts",()=>P(this.#t)):(0,i.withBenchmarkPhase)(s,"store.state.recomputeCounts",()=>(0,u.recomputeCountsRecursive)(this.#t,this.#t.snapshot.rootId))}static preparePaths(t,s={}){return(0,o.preparePaths)(t,s)}static prepareInput(t,s={}){return(0,o.prepareInput)(t,s)}static preparePresortedInput(t){return(0,o.preparePresortedInput)(t)}list(t){return(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.list",()=>(0,u.listPaths)(this.#t,t))}add(t){(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.add",()=>{const s=(0,f.getVisibleCount)(this.#t);(0,c.recordEvent)(this.#t,(0,c.finalizeEvent)(this.#t,s,(0,u.addPath)(this.#t,t)))})}remove(t,s={}){(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.remove",()=>{const i=(0,f.getVisibleCount)(this.#t);(0,c.recordEvent)(this.#t,(0,c.finalizeEvent)(this.#t,i,(0,u.removePath)(this.#t,t,s)))})}move(t,s,n={}){(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.move",()=>{const i=(0,f.getVisibleCount)(this.#t),o=(0,u.movePath)(this.#t,t,s,n);null!=o&&(0,c.recordEvent)(this.#t,(0,c.finalizeEvent)(this.#t,i,o))})}batch(t){(0,c.batchEvents)(this.#t,()=>{if("function"!=typeof t)for(const s of t)switch(s.type){case"add":this.add(s.path);break;case"remove":this.remove(s.path,{recursive:s.recursive});break;case"move":this.move(s.from,s.to,{collision:s.collision})}else t(this)})}getVisibleCount(){return(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.getVisibleCount",()=>(0,f.getVisibleCount)(this.#t))}getVisibleSlice(t,s){return(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.getVisibleSlice",()=>(0,f.getVisibleSlice)(this.#t,t,s))}getVisibleRowContext(t){return(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.getVisibleRowContext",()=>(0,f.getVisibleRowContext)(this.#t,t))}getVisibleTreeProjection(){return(0,f.getVisibleTreeProjection)(this.#t)}getVisibleTreeProjectionData(t){return(0,f.getVisibleTreeProjectionData)(this.#t,t)}getVisibleIndex(t){return(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.getVisibleIndex",()=>(0,f.getVisibleIndexByPath)(this.#t,t))}getPathInfo(t){return(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.getPathInfo",()=>{const i=(0,u.findNodeId)(this.#t,t);if(null==i)return null;const n=(0,u.requireNode)(this.#t,i);return{depth:(0,s.getNodeDepth)(n),kind:(0,s.isDirectoryNode)(n)?"directory":"file",path:(0,u.materializeNodePath)(this.#t,i)}})}isExpanded(t){return(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.isExpanded",()=>{const s=this.requireDirectoryNodeId(t),i=(0,u.requireNode)(this.#t,s);return(0,h.isDirectoryExpanded)(this.#t,s,i)})}expand(t){(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.expand",()=>{const s=(0,f.getVisibleCount)(this.#t),i=(0,f.expandPath)(this.#t,t);null!=i&&(0,c.recordEvent)(this.#t,(0,c.finalizeEvent)(this.#t,s,i))})}collapse(t){(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.collapse",()=>{const s=(0,f.getVisibleCount)(this.#t),i=(0,f.collapsePath)(this.#t,t);null!=i&&(0,c.recordEvent)(this.#t,(0,c.finalizeEvent)(this.#t,s,i))})}on(t,s){return(0,c.subscribe)(this.#t,t,s)}getDirectoryLoadState(t){const s=this.requireDirectoryNodeId(t);return(0,h.getDirectoryLoadState)(this.#t,s)}markDirectoryUnloaded(t){(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.markDirectoryUnloaded",()=>{const s=this.requireDirectoryNodeId(t);if((0,u.getDirectoryIndex)(this.#t,s).childIds.length>0)throw new Error(`Cannot mark a directory with known children as unloaded: "${t}"`);const i=(0,f.getVisibleCount)(this.#t);(0,h.markDirectoryUnloadedState)(this.#t,s),(0,c.recordEvent)(this.#t,(0,c.finalizeEvent)(this.#t,i,(0,c.createMarkDirectoryUnloadedEvent)({affectedAncestorIds:(0,u.collectAncestorIds)(this.#t,s),affectedNodeIds:[s],path:t,projectionChanged:this.isDirectoryProjectionVisible(s)})))})}beginChildLoad(t){return(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.beginChildLoad",()=>{const s=this.requireDirectoryNodeId(t),i=(0,f.getVisibleCount)(this.#t),n=(0,h.beginDirectoryLoad)(this.#t,s);return(0,c.recordEvent)(this.#t,(0,c.finalizeEvent)(this.#t,i,(0,c.createBeginChildLoadEvent)({affectedAncestorIds:(0,u.collectAncestorIds)(this.#t,s),affectedNodeIds:[s],attemptId:n.attemptId,path:t,projectionChanged:this.isDirectoryProjectionVisible(s),reused:n.reused}))),n})}applyChildPatch(t,s){return(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.applyChildPatch",()=>{const i=this.resolveActiveDirectoryNodeId(t.nodeId);if(null==i||"loading"!==(0,h.getDirectoryLoadState)(this.#t,i)||!(0,h.isDirectoryLoadAttemptCurrent)(this.#t,i,t.attemptId))return!1;const n=(0,u.materializeNodePath)(this.#t,i);this.validateChildPatch(n,s);const o=(0,f.getVisibleCount)(this.#t),l=[];for(const t of s.operations){E(n,t);const s=(0,f.getVisibleCount)(this.#t);switch(t.type){case"add":l.push((0,c.finalizeEvent)(this.#t,s,(0,u.addPath)(this.#t,t.path)));break;case"remove":l.push((0,c.finalizeEvent)(this.#t,s,(0,u.removePath)(this.#t,t.path,{recursive:t.recursive})));break;case"move":{const i=(0,u.movePath)(this.#t,t.from,t.to,{collision:t.collision});null!=i&&l.push((0,c.finalizeEvent)(this.#t,s,i));break}}}const p=l.some(t=>t.projectionChanged)||this.isDirectoryProjectionVisible(i);return(0,c.recordEvent)(this.#t,(0,c.finalizeEvent)(this.#t,o,(0,c.createApplyChildPatchEvent)({affectedAncestorIds:(0,u.collectAncestorIds)(this.#t,i),affectedNodeIds:[i],attemptId:t.attemptId,childEvents:l,path:(0,u.materializeNodePath)(this.#t,i),projectionChanged:p}))),!0})}completeChildLoad(t){return(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.completeChildLoad",()=>{const s=this.resolveActiveDirectoryNodeId(t.nodeId);if(null==s)return!1;const i=(0,f.getVisibleCount)(this.#t),n=(0,h.completeDirectoryLoad)(this.#t,s,t.attemptId);return(0,c.recordEvent)(this.#t,(0,c.finalizeEvent)(this.#t,i,(0,c.createCompleteChildLoadEvent)({affectedAncestorIds:(0,u.collectAncestorIds)(this.#t,s),affectedNodeIds:[s],attemptId:t.attemptId,path:(0,u.materializeNodePath)(this.#t,s),projectionChanged:this.isDirectoryProjectionVisible(s),stale:!n}))),n})}failChildLoad(t,s){return(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.failChildLoad",()=>{const i=this.resolveActiveDirectoryNodeId(t.nodeId);if(null==i)return!1;const n=(0,f.getVisibleCount)(this.#t),o=(0,h.failDirectoryLoad)(this.#t,i,t.attemptId,s);return(0,c.recordEvent)(this.#t,(0,c.finalizeEvent)(this.#t,n,(0,c.createFailChildLoadEvent)({affectedAncestorIds:(0,u.collectAncestorIds)(this.#t,i),affectedNodeIds:[i],attemptId:t.attemptId,errorMessage:s,path:(0,u.materializeNodePath)(this.#t,i),projectionChanged:this.isDirectoryProjectionVisible(i),stale:!o}))),o})}cleanup(t={}){return(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.cleanup",()=>{if(this.#t.transactionStack.length>0)throw new Error("Cleanup cannot run during an open batch or transaction.");if((0,p.hasActiveCleanupBlockingLoads)(this.#t))throw new Error("Cleanup cannot run while directory loads are active.");const s=(0,f.getVisibleCount)(this.#t),i=(0,p.cleanupPathStoreState)(this.#t,t.mode??"stable");return(0,c.recordEvent)(this.#t,(0,c.finalizeEvent)(this.#t,s,(0,c.createCleanupEvent)(Object.assign({},i,{affectedAncestorIds:[],affectedNodeIds:[],projectionChanged:!1===i.idsPreserved})))),i})}getNodeCount(){return this.#t.activeNodeCount}initializeExpandedPaths(t){if(null==t||0===t.length)return 0;let i=0;const o=[],c=[];let l=0,p=null;const f=this.#t.snapshot.segmentTable,b=f.valueById,P=this.#t.snapshot.nodes,C=new Map;for(const v of t){null!=p&&v<p&&(p=null,l=0,o.length=0,c.length=0);const t=v.length>0&&47===v.charCodeAt(v.length-1)?v.length-1:v.length;if(0===t){p=v,l=t,o.length=0,c.length=0;continue}let I=0,E=0;if(null!=p){const s=Math.min(t,l);let i=!0;for(let t=0;t<s;t+=1){const s=v.charCodeAt(t);if(s!==p.charCodeAt(t)){i=!1;break}47===s&&(I+=1,E=t+1)}i&&(s===l&&t>s&&47===v.charCodeAt(s)?(I+=1,E=s+1):s===t&&l>s&&47===p.charCodeAt(s)&&(I+=1,E=t+1)),I=Math.min(I,c.length)}let y=0===I?this.#t.snapshot.rootId:c[I-1]??this.#t.snapshot.rootId,w=I,k=!0,N=E;for(;N<=t;){const i=v.indexOf("/",N),h=-1===i||i>t?t:i,l=v.slice(N,h),p=(0,u.getDirectoryIndex)(this.#t,y).childIds,E=w===I?o[w]??0:0;let D,V=E;const S=C.get(l)??(0,n.createSegmentSortKey)(l);C.set(l,S);const x=(t,s)=>{for(V=t;V<s;V+=1){const t=p[V],s=P[t],i=b[s.nameId];if(i===l)return D=t,!0;const o=(0,n.compareSegmentSortKeys)((0,n.getSegmentSortKey)(f,s.nameId),S);if(o>0||0===o&&i>l)return!1}return!1};if(!x(E,p.length)&&E>0&&x(0,E),void 0===D){k=!1;break}if(!(0,s.isDirectoryNode)((0,u.requireNode)(this.#t,D))){k=!1;break}if(o[w]=V,c[w]=D,y=D,w+=1,h===t)break;N=h+1}if(p=v,l=t,o.length=w,c.length=w,k)for(let t=I;t<w;t+=1){const s=c[t];if(null==s)continue;const n=(0,u.requireNode)(this.#t,s);(0,h.isDirectoryExpanded)(this.#t,s,n)||((0,h.setDirectoryExpanded)(this.#t,s,!0,n),i+=1)}else p=null,l=0,o.length=0,c.length=0}return i}hasAllDirectoriesExpanded(){for(const t of this.#t.snapshot.directories.keys()){if(t===this.#t.snapshot.rootId)continue;const s=(0,u.requireNode)(this.#t,t);if(!(0,h.isDirectoryExpanded)(this.#t,t,s))return!1}return!0}requireDirectoryNodeId(t){const i=(0,u.findNodeId)(this.#t,t);if(null==i)throw new Error(`Path does not exist: "${t}"`);if(!(0,s.isDirectoryNode)((0,u.requireNode)(this.#t,i)))throw new Error(`Path is not a directory: "${t}"`);return i}resolveActiveDirectoryNodeId(t){try{if(!(0,s.isDirectoryNode)((0,u.requireNode)(this.#t,t)))throw new Error(`Node is not a directory: ${String(t)}`);return t}catch{return null}}isDirectoryProjectionVisible(t){let s=t;for(;s!==this.#t.snapshot.rootId;){const t=(0,u.requireNode)(this.#t,s).parentId;if(t!==this.#t.snapshot.rootId){const i=(0,u.requireNode)(this.#t,t),n=(0,l.getFlattenedChildDirectoryId)(this.#t,t);if(!(0,h.isDirectoryExpanded)(this.#t,t,i)&&n!==s)return!1}s=t}return!0}validateChildPatch(s,i){new t({paths:this.list(s),presorted:!0,sort:this.#t.snapshot.options.sort}).batch(i.operations)}};function E(t,s){switch(s.type){case"add":case"remove":if(!s.path.startsWith(t)||s.path===t)throw new Error(`Child patch operation must stay within ${t}: "${s.path}"`);break;case"move":if(!s.from.startsWith(t)||!s.to.startsWith(t)||s.from===t||s.to===t)throw new Error(`Child patch move must stay within ${t}: "${s.from}" -> "${s.to}"`)}}},1210,[1211,1212,1213,1214,1215,1219,1220,1221,1222,1223,1224,1225]);
13
- __d(function(g,r,_i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"appendChildReference",{enumerable:!0,get:function(){return s}}),Object.defineProperty(e,"applyChildAggregateDelta",{enumerable:!0,get:function(){return f}}),Object.defineProperty(e,"createDirectoryChildIndex",{enumerable:!0,get:function(){return l}}),Object.defineProperty(e,"createPresortedDirectoryChildIndex",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"ensureChildIdByNameId",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"ensureChildPositions",{enumerable:!0,get:function(){return c}}),Object.defineProperty(e,"getVisibleChildPrefixCount",{enumerable:!0,get:function(){return C}}),Object.defineProperty(e,"rebuildDirectoryChildAggregates",{enumerable:!0,get:function(){return b}}),Object.defineProperty(e,"rebuildVisibleChildChunks",{enumerable:!0,get:function(){return y}}),Object.defineProperty(e,"selectChildIndexByVisibleIndex",{enumerable:!0,get:function(){return I}}),Object.defineProperty(e,"updateChildPositionsFrom",{enumerable:!0,get:function(){return h}});const n=5,i=32,t=128;function l(){return{childIdByNameId:new Map,childIds:[],childPositionById:new Map,childVisibleChunkSums:null,totalChildSubtreeNodeCount:0,totalChildVisibleSubtreeCount:0}}function o(){return{childIdByNameId:null,childIds:[],childPositionById:null,childVisibleChunkSums:null,totalChildSubtreeNodeCount:0,totalChildVisibleSubtreeCount:0}}function u(n,i){if(null!=i.childIdByNameId)return i.childIdByNameId;const t=new Map;for(const l of i.childIds){const i=n[l];null!=i&&t.set(i.nameId,l)}return i.childIdByNameId=t,t}function c(n){if(null!=n.childPositionById)return n.childPositionById;const i=new Map;for(let t=0;t<n.childIds.length;t++){const l=n.childIds[t];null!=l&&i.set(l,t)}return n.childPositionById=i,i}function s(n,i){null!=n.childPositionById&&n.childPositionById.set(i,n.childIds.length),n.childIds.push(i)}function h(n,i){if(null!=n.childPositionById)for(let t=i;t<n.childIds.length;t++){const i=n.childIds[t];null!=i&&n.childPositionById.set(i,t)}}function b(n,i){let t=0,l=0;for(const o of i.childIds){const i=n[o];null!=i&&(t+=i.subtreeNodeCount,l+=i.visibleSubtreeCount)}i.totalChildSubtreeNodeCount=t,i.totalChildVisibleSubtreeCount=l,y(n,i)}function f(i,t,l,o){if(i.totalChildSubtreeNodeCount+=l,i.totalChildVisibleSubtreeCount+=o,null==i.childVisibleChunkSums||0===o)return;const u=c(i).get(t);if(void 0===u)return;const s=u>>n;i.childVisibleChunkSums[s]+=o}function I(n,t,l){const o=t.childVisibleChunkSums;if(null!=o){let u=l,c=0;for(const s of o){if(u<s){const i=S(n,t,c,u);return Object.assign({},i,{childVisibleIndex:l-i.localVisibleIndex})}u-=s,c+=i}throw new Error(`Visible child index ${String(l)} is out of range`)}let u=l;for(let i=0;i<t.childIds.length;i++){const o=t.childIds[i];if(null==o)continue;const c=n[o];if(null!=c){if(u<c.visibleSubtreeCount)return{childIndex:i,childVisibleIndex:l-u,localVisibleIndex:u};u-=c.visibleSubtreeCount}}throw new Error(`Visible child index ${String(l)} is out of range`)}function C(i,t,l){let o=0;const u=t.childVisibleChunkSums;let c=0;if(null!=u){const i=l>>n;for(let n=0;n<i;n+=1)o+=u[n]??0;c=i<<n}for(let n=c;n<l;n+=1){const l=t.childIds[n];if(null==l)continue;const u=i[l];null!=u&&(o+=u.visibleSubtreeCount)}return o}function y(l,o){if(o.childIds.length<t)return void(o.childVisibleChunkSums=null);const u=Math.ceil(o.childIds.length/i),c=new Int32Array(u);for(let i=0;i<o.childIds.length;i++){const t=o.childIds[i];if(null==t)continue;const u=l[t];null!=u&&(c[i>>n]+=u.visibleSubtreeCount)}o.childVisibleChunkSums=c}function S(n,t,l,o){const u=Math.min(t.childIds.length,l+i);let c=o;for(let i=l;i<u;i++){const l=t.childIds[i];if(null==l)continue;const o=n[l];if(null!=o){if(c<o.visibleSubtreeCount)return{childIndex:i,localVisibleIndex:c};c-=o.visibleSubtreeCount}}throw new Error(`Visible child index ${String(o)} is out of range`)}},1211,[]);
14
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"addNodeFlag",{enumerable:!0,get:function(){return h}}),Object.defineProperty(e,"createNodeDepthAndFlags",{enumerable:!0,get:function(){return c}}),Object.defineProperty(e,"getNodeDepth",{enumerable:!0,get:function(){return f}}),Object.defineProperty(e,"getNodeFlags",{enumerable:!0,get:function(){return b}}),Object.defineProperty(e,"getNodeKind",{enumerable:!0,get:function(){return l}}),Object.defineProperty(e,"hasNodeFlag",{enumerable:!0,get:function(){return s}}),Object.defineProperty(e,"isDirectoryNode",{enumerable:!0,get:function(){return p}}),Object.defineProperty(e,"setNodeDepth",{enumerable:!0,get:function(){return y}});const t=7,n=3,u=8,o=4;function c(t,u,c=0){return t<<o|c<<n|u}function f(t){return t.depthAndFlags>>>o}function l(t){return(t.depthAndFlags&u)>>n}function p(t){return 0!==(t.depthAndFlags&u)}function b(n){return n.depthAndFlags&t}function s(t,n){return 0!==(b(t)&n)}function h(t,n){t.depthAndFlags|=n}function y(t,n){t.depthAndFlags=c(n,b(t),l(t))}},1212,[]);
15
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"attachBenchmarkInstrumentation",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"getBenchmarkInstrumentation",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"setBenchmarkCounter",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"withBenchmarkPhase",{enumerable:!0,get:function(){return c}});const n=Symbol("benchmarkInstrumentation");function t(t,u){return null==u||Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value:u,writable:!1}),t}function u(t){return null==t?null:t[n]??null}function c(n,t,u){return null==n?u():n.measurePhase(t,u)}function o(n,t,u){Number.isFinite(u)&&null!=n&&n.setCounter(t,u)}},1213,[]);
16
- __d(function(g,r,i,a,m,e,d){"use strict";function t(t){return t>=48&&t<=57}function n(n){const o=[];let s=0,u=0;for(;u<n.length;){for(;u<n.length&&!t(n.charCodeAt(u));)u+=1;if(u>=n.length)break;u>s&&o.push(n.slice(s,u));let c=0;for(;u<n.length&&t(n.charCodeAt(u));)c=10*c+(n.charCodeAt(u)-48),u+=1;o.push(c),s=u}return(s<n.length||0===o.length)&&o.push(n.slice(s)),o}function o(t){const o=t.toLowerCase();return{lowerValue:o,tokens:n(o)}}function s(t,n){const o=Math.min(t.length,n.length);for(let s=0;s<o;s++){const o=t[s],u=n[s];if(o===u)continue;if("number"==typeof o&&"number"==typeof u)return o<u?-1:1;const c=String(o),l=String(u);if(c!==l)return c<l?-1:1}return t.length!==n.length?t.length<n.length?-1:1:0}function u(t,n){if(1===t.tokens.length&&1===n.tokens.length&&"string"==typeof t.tokens[0]&&"string"==typeof n.tokens[0])return t.lowerValue===n.lowerValue?0:t.lowerValue<n.lowerValue?-1:1;const o=s(t.tokens,n.tokens);return 0!==o?o:t.lowerValue!==n.lowerValue?t.lowerValue<n.lowerValue?-1:1:0}function c(t,n,o){const s=u(o(t),o(n));return 0!==s?s:t===n?0:t<n?-1:1}function l(t,n){return c(t,n,o)}function f(t,n){return n!==t.segments.length-1||t.isDirectory?1:0}function h(t,n){const o=Math.min(t.segments.length,n.segments.length);for(let s=0;s<o;s++){const o=t.segments[s],u=n.segments[s];if(o===u)continue;const c=f(t,s);return c!==f(n,s)?1===c?-1:1:l(o,u)}return t.segments.length!==n.segments.length?t.segments.length<n.segments.length?-1:1:t.isDirectory===n.isDirectory?0:t.isDirectory?-1:1}function y(t,n){return h(t,n)}function p(t,n,s){const u=t=>{const n=s.get(t);if(null!=n)return n;const u=o(t);return s.set(t,u),u},l=Math.min(t.segments.length,n.segments.length);for(let o=0;o<l;o++){const s=t.segments[o],l=n.segments[o];if(s===l)continue;const h=f(t,o);return h!==f(n,o)?1===h?-1:1:c(s,l,u)}return t.segments.length!==n.segments.length?t.segments.length<n.segments.length?-1:1:t.isDirectory===n.isDirectory?0:t.isDirectory?-1:1}function b(t,n){const s=t.sortKeyById[n];if(void 0!==s)return s;const u=o(t.valueById[n]);return t.sortKeyById[n]=u,u}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"comparePreparedPaths",{enumerable:!0,get:function(){return y}}),Object.defineProperty(e,"comparePreparedPathsWithCachedSortKeys",{enumerable:!0,get:function(){return p}}),Object.defineProperty(e,"compareSegmentSortKeys",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"compareSegmentValues",{enumerable:!0,get:function(){return l}}),Object.defineProperty(e,"createSegmentSortKey",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"getSegmentSortKey",{enumerable:!0,get:function(){return b}}),r(d[0])},1214,[1212]);
17
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"PathStoreBuilder",{enumerable:!0,get:function(){return E}}),Object.defineProperty(e,"getPreparedInputEntries",{enumerable:!0,get:function(){return S}}),Object.defineProperty(e,"getPreparedInputPresortedPaths",{enumerable:!0,get:function(){return v}}),Object.defineProperty(e,"getPreparedInputPresortedPathsContainDirectories",{enumerable:!0,get:function(){return N}}),Object.defineProperty(e,"prepareInput",{enumerable:!0,get:function(){return w}}),Object.defineProperty(e,"preparePathEntries",{enumerable:!0,get:function(){return x}}),Object.defineProperty(e,"preparePaths",{enumerable:!0,get:function(){return D}}),Object.defineProperty(e,"preparePresortedInput",{enumerable:!0,get:function(){return C}});var t=r(d[0]),n=r(d[1]),o=r(d[2]),s=r(d[3]),h=r(d[4]),l=r(d[5]),c=r(d[6]);const p=Symbol("pathStorePreparedInputKind");function u(t,n){return t[p]=n,t}function f(t){return{basename:t.basename,depth:t.segments.length,isDirectory:t.isDirectory,path:t.path,segments:t.segments}}function y(t,n,o){return"default"===o?(0,l.comparePreparedPaths)(t,n):o(f(t),f(n))}function P(){return{depthAndFlags:(0,n.createNodeDepthAndFlags)(0,3,1),nameId:0,parentId:0,subtreeNodeCount:1,visibleSubtreeCount:1}}function b(t,n){const o=Math.min(t.length,n.length);for(let s=0;s<o;s++)if(t[s]!==n[s])return s;return o}function I(t){return t.isDirectory?t.segments.length:t.segments.length-1}function D(t,n={}){return x(t,n).map(t=>t.path)}function w(t,n={}){const o=x(t,n);return u({paths:o.map(t=>t.path),preparedPaths:o},"prepared")}function C(t){const n=t.length;let o=!1;for(let s=0;s<n;s+=1){const n=t[s];if(n.length>0&&47===n.charCodeAt(n.length-1)){o=!0;break}}return u({paths:t,presortedPaths:t,presortedPathsContainDirectories:o},"presorted")}function S(t){const n=t,o=n.preparedPaths;if("prepared"===n[p]&&null!=o)return o;if(s=o,!Array.isArray(s)||!s.every(t=>null!=t&&"object"==typeof t&&"string"==typeof t.path&&Array.isArray(t.segments)&&"string"==typeof t.basename&&"boolean"==typeof t.isDirectory))throw new Error("preparedInput must come from PathStore.prepareInput()");var s;return o}function v(t){const n=t;return"presorted"===n[p]&&null!=n.presortedPaths?n.presortedPaths:(o=n.presortedPaths,Array.isArray(o)&&o.every(t=>"string"==typeof t)?n.presortedPaths:null);var o}function N(t){const n=t;return"boolean"==typeof n.presortedPathsContainDirectories?n.presortedPathsContainDirectories:null}function x(t,n={}){const l=(0,s.resolvePathStoreOptions)(n),c=(0,o.getBenchmarkInstrumentation)(n);(0,o.setBenchmarkCounter)(c,"workload.inputFiles",t.length);const p=(0,o.withBenchmarkPhase)(c,"store.preparePathEntries.parse",()=>t.map(t=>(0,h.parseInputPath)(t)));return(0,o.withBenchmarkPhase)(c,"store.preparePathEntries.sort",()=>p.sort((t,n)=>y(t,n,l.sort))),p}var E=class{directories=new Map;directoryStack=[0];presortedDirectoryNodeIds=[];createdDirectoriesAllExpanded=!1;createdDirectoryCount=0;lastPreparedPath=null;nodes=[P()];segmentSortKeyCache=new Map;segmentTable=(0,c.createSegmentTable)();hasDeferredDirectoryIndexes=!1;constructor(n={}){this.instrumentation=(0,o.getBenchmarkInstrumentation)(n),this.options=(0,s.resolvePathStoreOptions)(n);const h=n.initialExpandedPaths??null;if(null==h||0===h.length)this.initialExpandedPathSet=null;else{const t=new Set,n=h.length;for(let o=0;o<n;o+=1){const n=h[o],s=n.length;t.add(s>0&&47===n.charCodeAt(s-1)?n.slice(0,s-1):n)}this.initialExpandedPathSet=t,this.createdDirectoriesAllExpanded=!0}this.directories.set(0,(0,t.createDirectoryChildIndex)())}appendPaths(t){return(0,o.withBenchmarkPhase)(this.instrumentation,"store.builder.appendPaths.parse",()=>this.appendPreparedPaths(t.map(t=>(0,h.parseInputPath)(t))))}appendPreparedPaths(t,n=!0){return this.createdDirectoriesAllExpanded=!1,(0,o.withBenchmarkPhase)(this.instrumentation,"store.builder.appendPreparedPaths",()=>{for(const o of t)this.appendPreparedPath(o,n)}),this}appendPresortedPaths(t,s=null){return(0,o.withBenchmarkPhase)(this.instrumentation,"store.builder.appendPresortedPaths",()=>{if(!1===s)return void this.appendPresortedFilePaths(t);this.createdDirectoriesAllExpanded=!1;let o=null,l=0;const c=this.nodes,p=this.segmentTable,u=p.idByValue,f=p.valueById,y=this.directoryStack;let P=0,b="",I=0;for(const s of t){if(o===s)throw new Error(`Duplicate path: "${s}"`);const t=s.length>0&&47===s.charCodeAt(s.length-1),h=t?s.length-1:s.length;let p=0,D=0;if(null!=o)if(b.length>0&&s.length>b.length&&s.startsWith(b))p=I,D=b.length;else{const n=Math.min(h,o.length);let l=!0;for(let t=0;t<n;t++){const n=s.charCodeAt(t);if(n!==o.charCodeAt(t)){l=!1;break}47===n&&(p++,D=t+1)}l&&t&&n===h&&o.length>h&&47===o.charCodeAt(h)&&(p++,D=h+1)}P=p,l=p;let w=D,C=s.indexOf("/",w);for(;C>=0&&C<h;){const t=y[P];if(void 0===t)throw new Error("Directory stack underflow while building the path store");l++;const o=s.slice(w,C);let h=u.get(o);void 0===h&&(h=f.length,u.set(o,h),f.push(o));const p=c.length;c.push({depthAndFlags:(0,n.createNodeDepthAndFlags)(l,0,1),nameId:h,parentId:t,subtreeNodeCount:1,visibleSubtreeCount:1}),this.recordCreatedDirectoryPath(s.slice(0,C)),P++,y[P]=p,w=C+1,C=s.indexOf("/",w)}if(t){if(w<h){const t=y[P];if(void 0===t)throw new Error(`Unable to resolve directory parent for "${s}"`);l++;const o=s.slice(w,h);let p=u.get(o);void 0===p&&(p=f.length,u.set(o,p),f.push(o));const b=c.length;c.push({depthAndFlags:(0,n.createNodeDepthAndFlags)(l,0,1),nameId:p,parentId:t,subtreeNodeCount:1,visibleSubtreeCount:1}),P++,y[P]=b,w=h+1}const t=y[P];if(void 0===t)throw new Error(`Unable to resolve directory node for "${s}"`);this.promoteDirectoryToExplicit(t,s)}else{const t=y[P];if(void 0===t)throw new Error(`Unable to resolve file parent for "${s}"`);const o=s.slice(w);let h=u.get(o);void 0===h&&(h=f.length,u.set(o,h),f.push(o)),c.push({depthAndFlags:(0,n.createNodeDepthAndFlags)(l+1,0),nameId:h,parentId:t,subtreeNodeCount:1,visibleSubtreeCount:1})}w!==b.length&&(b=s.substring(0,w),I=l),o=s}y.length=P+1,null!=o&&(this.lastPreparedPath=(0,h.parseInputPath)(o)),this.hasDeferredDirectoryIndexes=!0}),this}appendPresortedFilePaths(t){let o=null,s=0;const l=this.nodes,c=this.segmentTable,p=c.idByValue,u=c.valueById,f=this.directoryStack;let y=0,P="",b=0;for(const h of t){if(o===h)throw new Error(`Duplicate path: "${h}"`);const t=h.length;let c=0,I=0;if(null!=o)if(P.length>0&&h.length>P.length&&h.startsWith(P))c=b,I=P.length;else{const n=Math.min(t,o.length);for(let t=0;t<n;t++){const n=h.charCodeAt(t);if(n!==o.charCodeAt(t))break;47===n&&(c++,I=t+1)}}y=c,s=c;let D=I,w=h.indexOf("/",D);for(;w>=0;){const t=f[y];if(void 0===t)throw new Error("Directory stack underflow while building the path store");s++;const o=h.slice(D,w);let c=p.get(o);void 0===c&&(c=u.length,p.set(o,c),u.push(o));const P=l.length;l.push({depthAndFlags:(0,n.createNodeDepthAndFlags)(s,0,1),nameId:c,parentId:t,subtreeNodeCount:1,visibleSubtreeCount:1}),this.recordCreatedDirectoryPath(h.slice(0,w)),this.presortedDirectoryNodeIds.push(P),y++,f[y]=P,D=w+1,w=h.indexOf("/",D)}const C=f[y];if(void 0===C)throw new Error(`Unable to resolve file parent for "${h}"`);const S=h.slice(D);let v=p.get(S);void 0===v&&(v=u.length,p.set(S,v),u.push(S)),l.push({depthAndFlags:(0,n.createNodeDepthAndFlags)(s+1,0),nameId:v,parentId:C,subtreeNodeCount:1,visibleSubtreeCount:1}),D!==P.length&&(P=h.substring(0,D),b=s),o=h}f.length=y+1,null!=o&&(this.lastPreparedPath=(0,h.parseInputPath)(o)),this.hasDeferredDirectoryIndexes=!0}finish(t={}){const n=!0===t.skipSubtreeCountPass;return this.hasDeferredDirectoryIndexes?((0,o.withBenchmarkPhase)(this.instrumentation,"store.builder.buildDirectoryIndexes",()=>this.buildPresortedFinish(n)),this.hasDeferredDirectoryIndexes=!1):n||(0,o.withBenchmarkPhase)(this.instrumentation,"store.builder.computeSubtreeCounts",()=>this.computeSubtreeCounts(0)),{directories:this.directories,nodes:this.nodes,options:this.options,rootId:0,segmentTable:this.segmentTable,presortedDirectoryNodeIds:this.presortedDirectoryNodeIds.length>0?this.presortedDirectoryNodeIds:null}}didMatchAllInitialExpandedPaths(){return this.createdDirectoriesAllExpanded&&null!=this.initialExpandedPathSet&&this.createdDirectoryCount===this.initialExpandedPathSet.size}appendPreparedPath(t,n){if(this.hasDeferredDirectoryIndexes&&(this.buildDirectoryIndexes(),this.hasDeferredDirectoryIndexes=!1),null!=this.lastPreparedPath){if(t.path===this.lastPreparedPath.path)throw new Error(`Duplicate path: "${t.path}"`);if(n&&("default"===this.options.sort?(0,l.comparePreparedPathsWithCachedSortKeys)(this.lastPreparedPath,t,this.segmentSortKeyCache):y(this.lastPreparedPath,t,this.options.sort))>0)throw new Error(`Builder input must be sorted before appendPaths(): "${t.path}"`)}const o=this.lastPreparedPath,s=I(t),h=null==o?0:I(o),c=null==o?0:b(o.segments,t.segments),p=Math.min(c,s,h);this.directoryStack.length=p+1;for(let o=p;o<s;o++){const s=this.directoryStack[this.directoryStack.length-1];if(void 0===s)throw new Error("Directory stack underflow while building the path store");const h=n?this.getOrCreateDirectoryChild(s,t.segments[o]):this.createDirectoryChild(s,t.segments[o]);this.directoryStack.push(h)}if(t.isDirectory){const n=this.directoryStack[this.directoryStack.length-1];if(void 0===n)throw new Error(`Unable to resolve directory node for "${t.path}"`);return this.promoteDirectoryToExplicit(n,t.path),void(this.lastPreparedPath=t)}const u=this.directoryStack[this.directoryStack.length-1];if(void 0===u)throw new Error(`Unable to resolve file parent for "${t.path}"`);n?this.createFileChild(u,t.basename,t.path):this.createFileChildUnchecked(u,t.basename),this.lastPreparedPath=t}recordCreatedDirectoryPath(t){this.createdDirectoriesAllExpanded&&null!=this.initialExpandedPathSet&&(this.createdDirectoryCount+=1,this.initialExpandedPathSet.has(t)||(this.createdDirectoriesAllExpanded=!1))}createFileChild(o,s,h){const l=(0,c.internSegment)(this.segmentTable,s),p=this.getDirectoryIndex(o),u=p.childIdByNameId;if(null!=u&&void 0!==u.get(l))throw new Error(`Path collides with an existing entry: "${h}"`);const f=this.nodes[o];if(void 0===f)throw new Error(`Unknown parent node ID: ${String(o)}`);const y=this.nodes.length;return this.nodes.push({depthAndFlags:(0,n.createNodeDepthAndFlags)((0,n.getNodeDepth)(f)+1,0),nameId:l,parentId:o,subtreeNodeCount:1,visibleSubtreeCount:1}),null!=u&&u.set(l,y),(0,t.appendChildReference)(p,y),y}createFileChildUnchecked(o,s){const h=(0,c.internSegment)(this.segmentTable,s),l=this.getDirectoryIndex(o),p=this.nodes[o];if(void 0===p)throw new Error(`Unknown parent node ID: ${String(o)}`);const u=this.nodes.length;return this.nodes.push({depthAndFlags:(0,n.createNodeDepthAndFlags)((0,n.getNodeDepth)(p)+1,0),nameId:h,parentId:o,subtreeNodeCount:1,visibleSubtreeCount:1}),null!=l.childIdByNameId&&l.childIdByNameId.set(h,u),(0,t.appendChildReference)(l,u),u}getOrCreateDirectoryChild(o,s){const h=(0,c.internSegment)(this.segmentTable,s),l=this.getDirectoryIndex(o);if(null!=l.childIdByNameId){const t=l.childIdByNameId.get(h);if(void 0!==t){const o=this.nodes[t];if(null!=o&&!(0,n.isDirectoryNode)(o))throw new Error(`Path collides with an existing file while creating directory "${s}"`);return t}}const p=this.nodes[o];if(void 0===p)throw new Error(`Unknown parent node ID: ${String(o)}`);const u=this.nodes.length;return this.nodes.push({depthAndFlags:(0,n.createNodeDepthAndFlags)((0,n.getNodeDepth)(p)+1,0,1),nameId:h,parentId:o,subtreeNodeCount:1,visibleSubtreeCount:1}),null!=l.childIdByNameId&&l.childIdByNameId.set(h,u),(0,t.appendChildReference)(l,u),this.directories.set(u,(0,t.createDirectoryChildIndex)()),u}createDirectoryChild(o,s){const h=(0,c.internSegment)(this.segmentTable,s),l=this.getDirectoryIndex(o),p=this.nodes[o];if(void 0===p)throw new Error(`Unknown parent node ID: ${String(o)}`);const u=this.nodes.length;return this.nodes.push({depthAndFlags:(0,n.createNodeDepthAndFlags)((0,n.getNodeDepth)(p)+1,0,1),nameId:h,parentId:o,subtreeNodeCount:1,visibleSubtreeCount:1}),null!=l.childIdByNameId&&l.childIdByNameId.set(h,u),(0,t.appendChildReference)(l,u),this.directories.set(u,(0,t.createDirectoryChildIndex)()),u}promoteDirectoryToExplicit(t,o){const s=this.nodes[t];if(void 0===s)throw new Error(`Unknown directory node ID: ${String(t)}`);if(!(0,n.isDirectoryNode)(s))throw new Error(`Path is not a directory: "${o}"`);if((0,n.hasNodeFlag)(s,1))throw new Error(`Duplicate path: "${o}"`);(0,n.addNodeFlag)(s,1)}getDirectoryIndex(t){const n=this.directories.get(t);if(void 0!==n)return n;throw new Error(`Unknown directory child index for node ${String(t)}`)}buildPresortedFinish(o){const s=this.nodes,h=this.directories;h.set(0,(0,t.createPresortedDirectoryChildIndex)());let l=-1,c=null;for(let o=1;o<s.length;o++){const p=s[o];if(null==p)continue;if((0,n.isDirectoryNode)(p)){const n=(0,t.createPresortedDirectoryChildIndex)();h.set(o,n),l=o,c=n}let u;p.parentId===l?u=c:(u=h.get(p.parentId),l=p.parentId,c=u??null),null!=u&&u.childIds.push(o)}if(!o)for(let t=s.length-1;t>=1;t--){const n=s[t];if(null==n)continue;const o=s[n.parentId];null!=o&&(o.subtreeNodeCount+=n.subtreeNodeCount,o.visibleSubtreeCount+=n.visibleSubtreeCount)}}buildDirectoryIndexes(){const o=this.nodes;for(let s=1;s<o.length;s++){const h=o[s];if(null==h)continue;(0,n.isDirectoryNode)(h)&&this.directories.set(s,(0,t.createDirectoryChildIndex)());const l=this.directories.get(h.parentId);null!=l&&(null!=l.childIdByNameId&&l.childIdByNameId.set(h.nameId,s),(0,t.appendChildReference)(l,s))}}computeSubtreeCounts(o){const s=this.nodes[o];if(void 0===s)throw new Error(`Unknown node ID: ${String(o)}`);if(!(0,n.isDirectoryNode)(s))return s.subtreeNodeCount=1,s.visibleSubtreeCount=1,1;const h=this.getDirectoryIndex(o);let l=1;for(const t of h.childIds)l+=this.computeSubtreeCounts(t);return(0,t.rebuildDirectoryChildAggregates)(this.nodes,h),s.subtreeNodeCount=l,s.visibleSubtreeCount=l,l}}},1215,[1211,1212,1213,1216,1217,1214,1218]);
18
- __d(function(g,r,i,a,m,e,d){"use strict";function t(t={}){return{flattenEmptyDirectories:!1!==t.flattenEmptyDirectories,sort:t.sort??"default"}}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"resolvePathStoreOptions",{enumerable:!0,get:function(){return t}})},1216,[]);
19
- __d(function(g,r,i,a,m,e,d){"use strict";function t(t){const n=t.length>0&&47===t.charCodeAt(t.length-1),s=n?t.length-1:t.length,u=[];let o=0;for(let n=0;n<s;n++)47===t.charCodeAt(n)&&(u.push(t.slice(o,n)),o=n+1);return u.push(t.slice(o,s)),{hasTrailingSlash:n,segments:u}}function n(n){const{hasTrailingSlash:s,segments:u}=t(n);return{basename:u[u.length-1]??"",isDirectory:s,path:n,segments:u}}function s(n){if(0===n.length)return{requiresDirectory:!1,segments:[]};const{hasTrailingSlash:s,segments:u}=t(n);return{requiresDirectory:s,segments:u}}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"parseInputPath",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"parseLookupPath",{enumerable:!0,get:function(){return s}}),Object.defineProperty(e,"splitCanonicalPath",{enumerable:!0,get:function(){return t}})},1217,[]);
20
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"createSegmentTable",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"getSegmentValue",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"internSegment",{enumerable:!0,get:function(){return u}});var t=r(d[0]);function n(){const n=new Map;return n.set("",0),{idByValue:n,valueById:[""],sortKeyById:[(0,t.createSegmentSortKey)("")]}}function u(t,n){const u=t.idByValue.get(n);if(void 0!==u)return u;const o=t.valueById.length;return t.idByValue.set(n,o),t.valueById.push(n),o}function o(t,n){const u=t.valueById[n];if(void 0===u)throw new Error(`Unknown segment ID: ${String(n)}`);return u}},1218,[1214]);
21
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"beginDirectoryLoad",{enumerable:!0,get:function(){return y}}),Object.defineProperty(e,"clearDirectoryLoadInfo",{enumerable:!0,get:function(){return h}}),Object.defineProperty(e,"completeDirectoryLoad",{enumerable:!0,get:function(){return b}}),Object.defineProperty(e,"createPathStoreState",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"createTransactionFrame",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"failDirectoryLoad",{enumerable:!0,get:function(){return v}}),Object.defineProperty(e,"getDirectoryLoadState",{enumerable:!0,get:function(){return f}}),Object.defineProperty(e,"isDirectoryExpanded",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"isDirectoryLoadAttemptCurrent",{enumerable:!0,get:function(){return D}}),Object.defineProperty(e,"markDirectoryUnloadedState",{enumerable:!0,get:function(){return I}}),Object.defineProperty(e,"resolveInitialExpansion",{enumerable:!0,get:function(){return c}}),Object.defineProperty(e,"setDirectoryExpanded",{enumerable:!0,get:function(){return l}});var t=r(d[0]);function n(t,n="closed",o=null){const s=c(n);return{activeNodeCount:t.nodes.length-1,collapsedDirectoryIds:new Set,collapseNewDirectoriesByDefault:!1,defaultExpansion:s,directoriesOpenByDefault:"open"===s,hasCollapsedDirectoryOverrides:!1,directoryLoadInfoById:new Map,expandedDirectoryIds:new Set,instrumentation:o,listeners:new Map,pathCacheByNodeId:new Map([[t.rootId,{path:"",version:0}]]),pathCacheVersion:0,snapshot:t,transactionStack:[]}}function o(){return{affectedAncestorIds:new Set,affectedNodeIds:new Set,events:[]}}function c(t){if("number"!=typeof t)return t;if(!Number.isInteger(t)||t<0)throw new Error(`initialExpansion must be "open", "closed", or a non-negative integer depth. Received: ${String(t)}`);return t}function s(n,o){return!!(0,t.hasNodeFlag)(o,2)||("open"===n.defaultExpansion||"closed"!==n.defaultExpansion&&(0,t.getNodeDepth)(o)<=n.defaultExpansion)}function u(n,o,c=n.snapshot.nodes[o]){return!(null==c||!(0,t.isDirectoryNode)(c))&&(!(!n.directoriesOpenByDefault||n.hasCollapsedDirectoryOverrides)||!n.collapsedDirectoryIds.has(o)&&(!!n.expandedDirectoryIds.has(o)||s(n,c)))}function l(n,o,c,u=n.snapshot.nodes[o]){if(null==u||!(0,t.isDirectoryNode)(u))return;const l=s(n,u);return c?l?(n.collapsedDirectoryIds.delete(o),void(n.hasCollapsedDirectoryOverrides=n.collapsedDirectoryIds.size>0)):void n.expandedDirectoryIds.add(o):l?(n.collapsedDirectoryIds.add(o),void(n.hasCollapsedDirectoryOverrides=!0)):void n.expandedDirectoryIds.delete(o)}function p(t,n){const o=t.directoryLoadInfoById.get(n);if(null!=o)return o;const c={activeAttemptId:null,errorMessage:null,nextAttemptId:1,state:"loaded"};return t.directoryLoadInfoById.set(n,c),c}function f(t,n){return t.directoryLoadInfoById.get(n)?.state??"loaded"}function y(t,n){const o=p(t,n);if("loading"===o.state&&null!=o.activeAttemptId)return{attemptId:o.activeAttemptId,nodeId:n,reused:!0};const c=o.nextAttemptId;return o.activeAttemptId=c,o.errorMessage=null,o.nextAttemptId+=1,o.state="loading",{attemptId:c,nodeId:n,reused:!1}}function I(t,n){const o=p(t,n);o.activeAttemptId=null,o.errorMessage=null,o.state="unloaded"}function b(t,n,o){const c=t.directoryLoadInfoById.get(n);return null!=c&&c.activeAttemptId===o&&(c.activeAttemptId=null,c.errorMessage=null,c.state="loaded",!0)}function D(t,n,o){return t.directoryLoadInfoById.get(n)?.activeAttemptId===o}function v(t,n,o,c){const s=t.directoryLoadInfoById.get(n);return null!=s&&s.activeAttemptId===o&&(s.activeAttemptId=null,s.errorMessage=c??null,s.state="error",!0)}function h(t,n){t.directoryLoadInfoById.delete(n)}},1219,[1212]);
22
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"batchEvents",{enumerable:!0,get:function(){return j}}),Object.defineProperty(e,"createAddEvent",{enumerable:!0,get:function(){return c}}),Object.defineProperty(e,"createApplyChildPatchEvent",{enumerable:!0,get:function(){return C}}),Object.defineProperty(e,"createBeginChildLoadEvent",{enumerable:!0,get:function(){return p}}),Object.defineProperty(e,"createCleanupEvent",{enumerable:!0,get:function(){return b}}),Object.defineProperty(e,"createCollapseEvent",{enumerable:!0,get:function(){return l}}),Object.defineProperty(e,"createCompleteChildLoadEvent",{enumerable:!0,get:function(){return I}}),Object.defineProperty(e,"createExpandEvent",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"createFailChildLoadEvent",{enumerable:!0,get:function(){return v}}),Object.defineProperty(e,"createMarkDirectoryUnloadedEvent",{enumerable:!0,get:function(){return h}}),Object.defineProperty(e,"createMoveEvent",{enumerable:!0,get:function(){return s}}),Object.defineProperty(e,"createRemoveEvent",{enumerable:!0,get:function(){return f}}),Object.defineProperty(e,"finalizeEvent",{enumerable:!0,get:function(){return A}}),Object.defineProperty(e,"recordEvent",{enumerable:!0,get:function(){return N}}),Object.defineProperty(e,"subscribe",{enumerable:!0,get:function(){return o}});var t=r(d[0]),n=r(d[1]);function o(t,n,o){const c=o,f=t.listeners.get(n);return null!=f?f.add(c):t.listeners.set(n,new Set([c])),()=>{const o=t.listeners.get(n);null!=o&&(o.delete(c),0===o.size&&t.listeners.delete(n))}}function c(t){return{affectedAncestorIds:t.affectedAncestorIds??[],affectedNodeIds:t.affectedNodeIds??[],canonicalChanged:!0,operation:"add",path:t.path,projectionChanged:t.projectionChanged,visibleCountDelta:null}}function f(t){return{affectedAncestorIds:t.affectedAncestorIds??[],affectedNodeIds:t.affectedNodeIds??[],canonicalChanged:!0,operation:"remove",path:t.path,projectionChanged:t.projectionChanged,recursive:t.recursive,visibleCountDelta:null}}function s(t){return{affectedAncestorIds:t.affectedAncestorIds??[],affectedNodeIds:t.affectedNodeIds??[],canonicalChanged:!0,from:t.from,operation:"move",projectionChanged:t.projectionChanged,to:t.to,visibleCountDelta:null}}function u(t){return{affectedAncestorIds:t.affectedAncestorIds??[],affectedNodeIds:t.affectedNodeIds??[],canonicalChanged:!1,operation:"expand",path:t.path,projectionChanged:!0,visibleCountDelta:null}}function l(t){return{affectedAncestorIds:t.affectedAncestorIds??[],affectedNodeIds:t.affectedNodeIds??[],canonicalChanged:!1,operation:"collapse",path:t.path,projectionChanged:!0,visibleCountDelta:null}}function h(t){return{affectedAncestorIds:t.affectedAncestorIds??[],affectedNodeIds:t.affectedNodeIds??[],canonicalChanged:!1,operation:"mark-directory-unloaded",path:t.path,projectionChanged:t.projectionChanged,visibleCountDelta:null}}function p(t){return{affectedAncestorIds:t.affectedAncestorIds??[],affectedNodeIds:t.affectedNodeIds??[],attemptId:t.attemptId,canonicalChanged:!1,operation:"begin-child-load",path:t.path,projectionChanged:t.projectionChanged,reused:t.reused,visibleCountDelta:null}}function C(t){return{affectedAncestorIds:t.affectedAncestorIds??[],affectedNodeIds:t.affectedNodeIds??[],attemptId:t.attemptId,canonicalChanged:t.childEvents.some(t=>t.canonicalChanged),childEvents:t.childEvents,operation:"apply-child-patch",path:t.path,projectionChanged:t.projectionChanged,visibleCountDelta:null}}function I(t){return{affectedAncestorIds:t.affectedAncestorIds??[],affectedNodeIds:t.affectedNodeIds??[],attemptId:t.attemptId,canonicalChanged:!1,operation:"complete-child-load",path:t.path,projectionChanged:t.projectionChanged,stale:t.stale,visibleCountDelta:null}}function v(t){return{affectedAncestorIds:t.affectedAncestorIds??[],affectedNodeIds:t.affectedNodeIds??[],attemptId:t.attemptId,canonicalChanged:!1,errorMessage:t.errorMessage,operation:"fail-child-load",path:t.path,projectionChanged:t.projectionChanged,stale:t.stale,visibleCountDelta:null}}function b(t){return{activeNodeCountAfter:t.activeNodeCountAfter,activeNodeCountBefore:t.activeNodeCountBefore,affectedAncestorIds:t.affectedAncestorIds??[],affectedNodeIds:t.affectedNodeIds??[],cachedPathEntryCountAfter:t.cachedPathEntryCountAfter,cachedPathEntryCountBefore:t.cachedPathEntryCountBefore,canonicalChanged:!1,idsPreserved:t.idsPreserved,loadInfoEntryCountAfter:t.loadInfoEntryCountAfter,loadInfoEntryCountBefore:t.loadInfoEntryCountBefore,mode:t.mode,operation:"cleanup",projectionChanged:t.projectionChanged,reclaimedCachedPathEntryCount:t.reclaimedCachedPathEntryCount,reclaimedLoadInfoEntryCount:t.reclaimedLoadInfoEntryCount,reclaimedNodeSlotCount:t.reclaimedNodeSlotCount,reclaimedSegmentCount:t.reclaimedSegmentCount,segmentCountAfter:t.segmentCountAfter,segmentCountBefore:t.segmentCountBefore,totalNodeSlotCountAfter:t.totalNodeSlotCountAfter,totalNodeSlotCountBefore:t.totalNodeSlotCountBefore,visibleCountDelta:null}}function A(t,n,o){return Object.assign({},o,{visibleCountDelta:w(t)-n})}function j(t,o){const c=w(t),f=(0,n.createTransactionFrame)();t.transactionStack.push(f);try{o()}catch(n){throw E(t,f,!1),n}E(t,f,!0,w(t)-c)}function N(n,o){const c=n.instrumentation;null!=c?(0,t.withBenchmarkPhase)(c,"store.events.record",()=>y(n,o)):y(n,o)}function y(t,n){const o=t.transactionStack[t.transactionStack.length-1]??null;null!=o?(o.events.push(n),B(o,n)):D(t,n)}function E(n,o,c,f=null){if(n.transactionStack.pop()!==o)throw new Error("Transaction stack underflow");if(!c)return;const s=n.transactionStack[n.transactionStack.length-1]??null;if(null!=s){const c=n.instrumentation;return void(null==c?S(s,o):(0,t.withBenchmarkPhase)(c,"store.events.batch.merge",()=>S(s,o)))}const u=P(o,f),l=n.instrumentation;null!=l?(0,t.withBenchmarkPhase)(l,"store.events.batch.commit",()=>D(n,u)):D(n,u)}function P(t,n){return{affectedAncestorIds:[...t.affectedAncestorIds],affectedNodeIds:[...t.affectedNodeIds],canonicalChanged:t.events.some(t=>t.canonicalChanged),events:[...t.events],operation:"batch",projectionChanged:t.events.some(t=>t.projectionChanged),visibleCountDelta:n}}function O(t,n){for(const o of n.affectedAncestorIds)t.affectedAncestorIds.add(o);for(const o of n.affectedNodeIds)t.affectedNodeIds.add(o)}function S(t,n){for(const o of n.events)t.events.push(o);O(t,n)}function B(t,n){for(const o of n.affectedNodeIds)t.affectedNodeIds.add(o);for(const o of n.affectedAncestorIds)t.affectedAncestorIds.add(o)}function D(n,o){const c=n.instrumentation;null!=c?(0,t.withBenchmarkPhase)(c,"store.events.emit",()=>k(n,o)):k(n,o)}function k(t,n){t.listeners.get(n.operation)?.forEach(t=>t(n)),t.listeners.get("*")?.forEach(t=>t(n))}function w(t){return t.snapshot.nodes[t.snapshot.rootId]?.visibleSubtreeCount??0}},1220,[1213,1219]);
23
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"collectFlattenedDirectoryChainIds",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"getFlattenedChildDirectoryId",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"getFlattenedTerminalDirectoryId",{enumerable:!0,get:function(){return l}});var t=r(d[0]);function n(n,l){if(!0!==n.snapshot.options.flattenEmptyDirectories)return null;const o=n.snapshot.nodes[l];if(null==o||!(0,t.isDirectoryNode)(o)||(0,t.hasNodeFlag)(o,2))return null;const u=n.snapshot.directories.get(l);if(null==u||1!==u.childIds.length)return null;const c=u.childIds[0];if(null==c)return null;const s=n.snapshot.nodes[c];return null!=s&&(0,t.isDirectoryNode)(s)?c:null}function l(t,l){let o=l;for(;;){const l=n(t,o);if(null==l)return o;o=l}}function o(t,l){const o=[l];let u=l;for(;;){const l=n(t,u);if(null==l)return o;o.push(l),u=l}}},1221,[1212]);
24
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"addPath",{enumerable:!0,get:function(){return I}}),Object.defineProperty(e,"collectAncestorIds",{enumerable:!0,get:function(){return S}}),Object.defineProperty(e,"findNodeId",{enumerable:!0,get:function(){return P}}),Object.defineProperty(e,"findNodeIdBySegments",{enumerable:!0,get:function(){return F}}),Object.defineProperty(e,"getDirectoryIndex",{enumerable:!0,get:function(){return x}}),Object.defineProperty(e,"listPaths",{enumerable:!0,get:function(){return f}}),Object.defineProperty(e,"materializeNodePath",{enumerable:!0,get:function(){return D}}),Object.defineProperty(e,"movePath",{enumerable:!0,get:function(){return N}}),Object.defineProperty(e,"recomputeCountsRecursive",{enumerable:!0,get:function(){return w}}),Object.defineProperty(e,"recomputeCountsUpwardFrom",{enumerable:!0,get:function(){return v}}),Object.defineProperty(e,"removePath",{enumerable:!0,get:function(){return b}}),Object.defineProperty(e,"requireNode",{enumerable:!0,get:function(){return k}});var t=r(d[0]),n=r(d[1]),o=r(d[2]),s=r(d[3]),l=r(d[4]),c=r(d[5]),u=r(d[6]),h=r(d[7]),p=r(d[8]);function f(t,n){const o=null==n?t.snapshot.rootId:P(t,n);return null==o?[]:E(t,o)}function I(t,o){const l=(0,s.parseInputPath)(o),c=l.isDirectory?l.segments:l.segments.slice(0,-1),u=R(t,M(t,c)),{createdNodeIds:p,directoryId:f}=B(t,c),I=new Set(p);let b=f;if(l.isDirectory){const s=k(t,f);if((0,n.hasNodeFlag)(s,1))throw new Error(`Path already exists: "${o}"`);(0,n.addNodeFlag)(s,1),t.pathCacheByNodeId.set(f,{path:o,version:t.pathCacheVersion}),I.add(f)}else b=O(t,f,l.basename),I.add(b);v(t,f);const N=R(t,f);return(0,h.createAddEvent)({affectedAncestorIds:S(t,b),affectedNodeIds:[...I],path:o,projectionChanged:J(u,N)})}function b(t,o,s){const l=P(t,o);if(null==l)throw new Error(`Path does not exist: "${o}"`);const c=k(t,l);if((0,n.hasNodeFlag)(c,2))throw new Error("The root node cannot be removed");if((0,n.isDirectoryNode)(c)&&x(t,l).childIds.length>0&&!0!==s.recursive)throw new Error(`Cannot remove a non-empty directory without recursive: "${o}"`);const u=c.parentId,p=R(t,u),f=q(t,l);V(t,u,l,c.nameId),z(t,u),v(t,u);const I=R(t,u);return(0,h.createRemoveEvent)({affectedAncestorIds:S(t,u),affectedNodeIds:f,path:o,projectionChanged:J(p,I),recursive:!0===s.recursive})}function N(o,s,l,u){const p=P(o,s);if(null==p)throw new Error(`Source path does not exist: "${s}"`);const f=k(o,p);if((0,n.hasNodeFlag)(f,2))throw new Error("The root node cannot be moved");const I=u.collision??"error",b=U(o,p,l),N=R(o,f.parentId),y=R(o,b.parentId),C=(0,c.getSegmentValue)(o.snapshot.segmentTable,f.nameId),w=(0,c.internSegment)(o.snapshot.segmentTable,b.basename);if(b.parentId===f.parentId&&C===b.basename)return null;if((0,n.isDirectoryNode)(f)&&W(o,p,b.parentId))throw new Error("Cannot move a directory into one of its descendants");const F=(0,t.ensureChildIdByNameId)(o.snapshot.nodes,x(o,b.parentId)).get(w),E=b.existingNodeId??F??null;if(null!=E&&E!==p&&"skip"===_(o,E,I,(0,n.getNodeKind)(f)))return null;const B=f.parentId;V(o,B,p,f.nameId),f.parentId=b.parentId,f.nameId=w,o.pathCacheByNodeId.delete(p),Q(o,p),A(o,b.parentId,p),z(o,B),o.pathCacheVersion++,v(o,B),b.parentId!==B&&v(o,b.parentId);const j=R(o,B),O=R(o,b.parentId);return(0,h.createMoveEvent)({affectedAncestorIds:[...new Set([...S(o,B),...S(o,b.parentId)])],affectedNodeIds:[p],from:s,projectionChanged:G([N,y],[j,O]),to:D(o,p)})}function y(t,n){const o=t.pathCacheByNodeId.get(n);return null!=o&&o.version===t.pathCacheVersion?o.path:null}function C(t,n,o){return t.pathCacheByNodeId.set(n,{path:o,version:t.pathCacheVersion}),o}function D(t,o){const s=k(t,o),l=y(t,o);if(null!=l)return l;if((0,n.hasNodeFlag)(s,2))return C(t,o,"");const u=D(t,s.parentId),h=(0,c.getSegmentValue)(t.snapshot.segmentTable,s.nameId),p=0===u.length?h:`${u}${h}`;return C(t,o,(0,n.isDirectoryNode)(s)?`${p}/`:p)}function v(t,n){const s=t.instrumentation;null!=s?(0,o.withBenchmarkPhase)(s,"store.recomputeCountsUpwardFrom",()=>Y(t,n)):Y(t,n)}function w(t,o){const s=[[o,0]],{nodes:l,directories:c}=t.snapshot;for(;s.length>0;){const o=s[s.length-1],u=o[0],h=l[u];if(null==h||!(0,n.isDirectoryNode)(h)){X(t,u,h,!0),s.pop();continue}const p=c.get(u);if(null==p||o[1]>=p.childIds.length){X(t,u,h,!0),s.pop();continue}const f=p.childIds[o[1]++];s.push([f,0])}}function S(t,n){const o=[];let s=n;for(;null!=s;){const n=k(t,s);if(o.push(s),s===t.snapshot.rootId)break;s=n.parentId}return o}function P(t,n){if(0===n.length)return t.snapshot.rootId;const o=(0,s.parseLookupPath)(n);return F(t,o.segments,o.requiresDirectory)}function F(o,s,l){let c=o.snapshot.rootId;for(const n of s){const s=o.snapshot.segmentTable.idByValue.get(n);if(void 0===s)return null;const l=x(o,c),u=(0,t.ensureChildIdByNameId)(o.snapshot.nodes,l).get(s);if(void 0===u)return null;c=u}const u=k(o,c);return l&&!(0,n.isDirectoryNode)(u)?null:c}function x(t,n){const o=t.snapshot.directories.get(n);if(void 0===o)throw new Error(`Unknown directory child index for node ${String(n)}`);return o}function k(t,o){const s=t.snapshot.nodes[o];if(void 0===s||(0,n.hasNodeFlag)(s,4))throw new Error(`Unknown node ID: ${String(o)}`);return s}function E(t,o){const s=t.snapshot.nodes[o];if(void 0===s||(0,n.hasNodeFlag)(s,4))return[];if(!(0,n.isDirectoryNode)(s))return[D(t,o)];if(0===x(t,o).childIds.length)return(0,n.hasNodeFlag)(s,1)&&!(0,n.hasNodeFlag)(s,2)?[D(t,o)]:[];const l=[],c=[{childIndex:0,nodeId:o}];for(;c.length>0;){const o=c[c.length-1];if(null==o)break;const s=t.snapshot.nodes[o.nodeId];if(void 0===s||(0,n.hasNodeFlag)(s,4)){c.pop();continue}if(!(0,n.isDirectoryNode)(s)){l.push(D(t,o.nodeId)),c.pop();continue}const u=x(t,o.nodeId);if(0===u.childIds.length){(0,n.hasNodeFlag)(s,1)&&!(0,n.hasNodeFlag)(s,2)&&l.push(D(t,o.nodeId)),c.pop();continue}const h=u.childIds[o.childIndex];null!=h?(o.childIndex++,c.push({childIndex:0,nodeId:h})):c.pop()}return l}function B(o,s){const l=[];let u=o.snapshot.rootId;for(const h of s){const s=(0,c.internSegment)(o.snapshot.segmentTable,h),p=x(o,u),f=(0,t.ensureChildIdByNameId)(o.snapshot.nodes,p).get(s);if(void 0===f)u=j(o,u,s),l.push(u);else{if(!(0,n.isDirectoryNode)(k(o,f)))throw new Error(`Cannot create a directory that collides with an existing file: "${h}"`);u=f}}return{createdNodeIds:l,directoryId:u}}function j(o,s,l){const c=k(o,s),u=o.snapshot.nodes.length;return o.snapshot.nodes.push({depthAndFlags:(0,n.createNodeDepthAndFlags)((0,n.getNodeDepth)(c)+1,0,1),nameId:l,parentId:s,subtreeNodeCount:1,visibleSubtreeCount:1}),o.snapshot.directories.set(u,(0,t.createDirectoryChildIndex)()),A(o,s,u),o.collapseNewDirectoriesByDefault&&(o.collapsedDirectoryIds.add(u),o.hasCollapsedDirectoryOverrides=!0),o.activeNodeCount++,u}function O(o,s,l){const u=(0,c.internSegment)(o.snapshot.segmentTable,l),h=x(o,s);if((0,t.ensureChildIdByNameId)(o.snapshot.nodes,h).has(u))throw new Error(`Path already exists: "${ee(o,s,l)}"`);const p=k(o,s),f=o.snapshot.nodes.length;return o.snapshot.nodes.push({depthAndFlags:(0,n.createNodeDepthAndFlags)((0,n.getNodeDepth)(p)+1,0),nameId:u,parentId:s,subtreeNodeCount:1,visibleSubtreeCount:1}),A(o,s,f),o.activeNodeCount++,f}function T(t,n,o){let s=0,l=n.childIds.length;for(;s<l;){const c=s+l>>>1,u=n.childIds[c];null!=u?$(t,o,u)<0?l=c:s=c+1:l=c}return s}function A(n,o,s){const l=x(n,o),c=k(n,s);(0,t.ensureChildIdByNameId)(n.snapshot.nodes,l).set(c.nameId,s),(0,t.applyChildAggregateDelta)(l,s,c.subtreeNodeCount,c.visibleSubtreeCount);const u=T(n,l,s);l.childIds.splice(u,0,s),(0,t.updateChildPositionsFrom)(l,u),(0,t.rebuildVisibleChildChunks)(n.snapshot.nodes,l)}function V(n,o,s,l){const c=x(n,o),u=(0,t.ensureChildPositions)(c),h=u.get(s)??-1;(0,t.ensureChildIdByNameId)(n.snapshot.nodes,c).delete(l),u.delete(s);const p=n.snapshot.nodes[s];null!=p&&(0,t.applyChildAggregateDelta)(c,s,-p.subtreeNodeCount,-p.visibleSubtreeCount),h>=0&&(c.childIds.splice(h,1),(0,t.updateChildPositionsFrom)(c,h),(0,t.rebuildVisibleChildChunks)(n.snapshot.nodes,c))}function $(t,n,o){const s=t.snapshot.options.sort;return"default"===s?K(t,n,o):s(L(t,n),L(t,o))}function K(t,o,s){const u=k(t,o),h=k(t,s),p=(0,n.isDirectoryNode)(u);if(p!==(0,n.isDirectoryNode)(h))return p?-1:1;const f=(0,l.compareSegmentSortKeys)((0,l.getSegmentSortKey)(t.snapshot.segmentTable,u.nameId),(0,l.getSegmentSortKey)(t.snapshot.segmentTable,h.nameId));if(0!==f)return f;const I=(0,c.getSegmentValue)(t.snapshot.segmentTable,u.nameId),b=(0,c.getSegmentValue)(t.snapshot.segmentTable,h.nameId);return I!==b?I<b?-1:1:o<s?-1:1}function L(t,o){const s=k(t,o),l=D(t,o),u=(0,n.isDirectoryNode)(s),h=u?l.slice(0,-1):l;return{basename:(0,c.getSegmentValue)(t.snapshot.segmentTable,s.nameId),depth:(0,n.getNodeDepth)(s),isDirectory:u,path:l,segments:0===h.length?[]:h.split("/")}}function U(t,o,l){const u=k(t,o),h=P(t,l);if(null!=h){const o=k(t,h);if((0,n.isDirectoryNode)(o))return{basename:(0,c.getSegmentValue)(t.snapshot.segmentTable,u.nameId),existingNodeId:null,parentId:h};const p=(0,s.parseLookupPath)(l).segments;return{basename:p[p.length-1]??"",existingNodeId:h,parentId:o.parentId}}const p=(0,s.parseLookupPath)(l),f=p.segments[p.segments.length-1]??"",I=p.segments.slice(0,-1),b=0===I.length?t.snapshot.rootId:F(t,I,!0);if(null==b)throw new Error(`Destination parent does not exist: "${l}"`);return{basename:f,existingNodeId:null,parentId:b}}function _(t,o,s,l){if("skip"===s)return"skip";if("error"===s)throw new Error(`Destination already exists: "${D(t,o)}"`);const c=k(t,o);if((0,n.getNodeKind)(c)!==l)throw new Error("replace collision requires the same source and destination kinds");if((0,n.isDirectoryNode)(c)&&x(t,o).childIds.length>0)throw new Error("replace collision does not support non-empty directories");const u=c.parentId,h=c.nameId;return q(t,o),V(t,u,o,h),z(t,u),v(t,u),"handled"}function q(t,o){const s=[],l=[{nodeId:o,visitedChildren:!1}];for(;l.length>0;){const o=l.pop();if(null==o)break;const c=k(t,o.nodeId);if(o.visitedChildren||!(0,n.isDirectoryNode)(c)){(0,n.isDirectoryNode)(c)&&t.snapshot.directories.delete(o.nodeId),(0,n.addNodeFlag)(c,4),t.pathCacheByNodeId.delete(o.nodeId),t.collapsedDirectoryIds.delete(o.nodeId)&&(t.hasCollapsedDirectoryOverrides=t.collapsedDirectoryIds.size>0),t.expandedDirectoryIds.delete(o.nodeId),(0,u.clearDirectoryLoadInfo)(t,o.nodeId),t.activeNodeCount--,s.push(o.nodeId);continue}l.push({nodeId:o.nodeId,visitedChildren:!0});const h=x(t,o.nodeId);for(let t=h.childIds.length-1;t>=0;t--){const n=h.childIds[t];null!=n&&l.push({nodeId:n,visitedChildren:!1})}}return s}function z(t,o){let s=o;for(;null!=s;){const o=k(t,s);if(!(0,n.isDirectoryNode)(o)||(0,n.hasNodeFlag)(o,2))return;if(x(t,s).childIds.length>0)return;(0,n.addNodeFlag)(o,1),s=o.parentId===s?null:o.parentId}}function M(o,s){let l=o.snapshot.rootId;for(const c of s){const s=o.snapshot.segmentTable.idByValue.get(c);if(null==s)break;const u=(0,t.ensureChildIdByNameId)(o.snapshot.nodes,x(o,l)).get(s);if(null==u)break;if(!(0,n.isDirectoryNode)(k(o,u)))break;l=u}return l}function R(t,o){const s=H(t,o);if(null==s)return null;const l=(0,p.getFlattenedTerminalDirectoryId)(t,s),c=k(t,l),u=s===l?null:(0,p.collectFlattenedDirectoryChainIds)(t,s).map(n=>D(t,n));return JSON.stringify({flattenedSegmentPaths:u,hasChildren:x(t,l).childIds.length>0,path:D(t,l),terminalKind:(0,n.getNodeKind)(c)})}function J(t,n){return G([t],[n])}function G(t,n){for(let o=0;o<t.length;o+=1){const s=t[o],l=n[o];if(null==s||null==l||s!==l)return!0}return!1}function H(t,o){let s=o;for(;null!=s;){const o=k(t,s);if(!(0,n.isDirectoryNode)(o)||(0,n.hasNodeFlag)(o,2))return null;if(!(0,u.isDirectoryExpanded)(t,s,o))return s;s=o.parentId}return null}function Q(t,o){const s=k(t,o);if((0,n.setNodeDepth)(s,(o===t.snapshot.rootId?-1:(0,n.getNodeDepth)(k(t,s.parentId)))+1),!(0,n.isDirectoryNode)(s))return;const l=x(t,o);for(const n of l.childIds)Q(t,n)}function W(t,n,o){let s=o;for(;null!=s;){if(s===n)return!0;const o=k(t,s);if(s===t.snapshot.rootId)return!1;s=o.parentId}return!1}function X(t,n,s=k(t,n),l=!1){const c=t.instrumentation;null!=c?(0,o.withBenchmarkPhase)(c,"store.recomputeNodeCounts",()=>Z(t,n,s,l)):Z(t,n,s,l)}function Y(n,o){let s=o;for(;null!=s;){const o=k(n,s),l=o.subtreeNodeCount,c=o.visibleSubtreeCount;if(X(n,s,o),s===n.snapshot.rootId)return;const u=o.subtreeNodeCount-l,h=o.visibleSubtreeCount-c,p=o.parentId;0===u&&0===h||(0,t.applyChildAggregateDelta)(x(n,p),s,u,h),s=p}}function Z(s,l,c,h){if(!(0,n.isDirectoryNode)(c))return c.subtreeNodeCount=1,void(c.visibleSubtreeCount=1);const f=x(s,l);if(h){const n=s.instrumentation;null==n?(0,t.rebuildDirectoryChildAggregates)(s.snapshot.nodes,f):(0,o.withBenchmarkPhase)(n,"store.recomputeNodeCounts.rebuildChildAggregates",()=>(0,t.rebuildDirectoryChildAggregates)(s.snapshot.nodes,f))}const I=1+f.totalChildSubtreeNodeCount,b=f.totalChildVisibleSubtreeCount;c.subtreeNodeCount=I,(0,n.hasNodeFlag)(c,2)?c.visibleSubtreeCount=b:c.visibleSubtreeCount=null!=(0,p.getFlattenedChildDirectoryId)(s,l)?b:(0,u.isDirectoryExpanded)(s,l,c)?1+b:1}function ee(t,n,o){const s=D(t,n);return 0===s.length?o:`${s}${o}`}},1222,[1211,1212,1213,1217,1214,1218,1219,1220,1221]);
25
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"cleanupPathStoreState",{enumerable:!0,get:function(){return A}}),Object.defineProperty(e,"hasActiveCleanupBlockingLoads",{enumerable:!0,get:function(){return x}});var t=r(d[0]),n=r(d[1]),o=r(d[2]),s=r(d[3]),c=r(d[4]),u=r(d[5]),h=r(d[6]);function l(t){return null!=t&&!(0,n.hasNodeFlag)(t,4)}function p(t,o){const s=t.snapshot.nodes[o];return l(s)&&(0,n.isDirectoryNode)(s)&&!(0,n.hasNodeFlag)(s,2)?s:null}function f(t){let n=0;for(const[o,s]of t.pathCacheByNodeId)s.version===t.pathCacheVersion&&l(t.snapshot.nodes[o])&&(n+=1);return n}function C(t){return{activeNodeCount:t.activeNodeCount,cachedPathEntryCount:f(t),loadInfoEntryCount:t.directoryLoadInfoById.size,segmentCount:(n=t.snapshot.segmentTable,Math.max(0,n.valueById.length-1)),totalNodeSlotCount:Math.max(0,t.snapshot.nodes.length-1)};var n}function I(t,n,o,s){return{activeNodeCountAfter:s.activeNodeCount,activeNodeCountBefore:o.activeNodeCount,cachedPathEntryCountAfter:s.cachedPathEntryCount,cachedPathEntryCountBefore:o.cachedPathEntryCount,idsPreserved:n,loadInfoEntryCountAfter:s.loadInfoEntryCount,loadInfoEntryCountBefore:o.loadInfoEntryCount,mode:t,reclaimedCachedPathEntryCount:o.cachedPathEntryCount-s.cachedPathEntryCount,reclaimedLoadInfoEntryCount:o.loadInfoEntryCount-s.loadInfoEntryCount,reclaimedNodeSlotCount:o.totalNodeSlotCount-s.totalNodeSlotCount,reclaimedSegmentCount:o.segmentCount-s.segmentCount,segmentCountAfter:s.segmentCount,segmentCountBefore:o.segmentCount,totalNodeSlotCountAfter:s.totalNodeSlotCount,totalNodeSlotCountBefore:o.totalNodeSlotCount}}function y(t){const n=[],o=[];for(const o of t.collapsedDirectoryIds)null!=p(t,o)&&n.push((0,h.materializeNodePath)(t,o));for(const n of t.expandedDirectoryIds)null!=p(t,n)&&o.push((0,h.materializeNodePath)(t,n));return{collapsedPaths:n,expandedPaths:o}}function P(t){const n=[];for(const[o,s]of t.directoryLoadInfoById)null!=p(t,o)&&"loaded"!==(0,u.getDirectoryLoadState)(t,o)&&n.push({info:{activeAttemptId:null,errorMessage:s.errorMessage,nextAttemptId:s.nextAttemptId,state:s.state},path:(0,h.materializeNodePath)(t,o)});return n}function N(t,n){t.collapsedDirectoryIds.clear(),t.hasCollapsedDirectoryOverrides=!1,t.expandedDirectoryIds.clear();for(const o of n.expandedPaths){const n=(0,h.findNodeId)(t,o);null!=n&&(0,u.setDirectoryExpanded)(t,n,!0,(0,h.requireNode)(t,n))}for(const o of n.collapsedPaths){const n=(0,h.findNodeId)(t,o);null!=n&&(0,u.setDirectoryExpanded)(t,n,!1,(0,h.requireNode)(t,n))}}function B(t,n){t.directoryLoadInfoById.clear();for(const o of n){const n=(0,h.findNodeId)(t,o.path);null!=n&&(null!=p(t,n)&&t.directoryLoadInfoById.set(n,{activeAttemptId:null,errorMessage:o.info.errorMessage,nextAttemptId:o.info.nextAttemptId,state:o.info.state}))}}function v(t){t.pathCacheVersion+=1,t.pathCacheByNodeId.clear(),t.pathCacheByNodeId.set(t.snapshot.rootId,{path:"",version:t.pathCacheVersion})}function b(t){const o=t.snapshot.segmentTable,c=(0,s.createSegmentTable)();for(const u of t.snapshot.nodes)l(u)&&((0,n.hasNodeFlag)(u,2)?u.nameId=0:u.nameId=(0,s.internSegment)(c,(0,s.getSegmentValue)(o,u.nameId)));t.snapshot.segmentTable=c}function E(o){for(const[s,c]of o.snapshot.directories){const u=o.snapshot.nodes[s];if(!l(u)||!(0,n.isDirectoryNode)(u)){o.snapshot.directories.delete(s);continue}const p=c.childIds.filter(t=>{const n=o.snapshot.nodes[t];return l(n)&&n.parentId===s});c.childIds=p,c.childIdByNameId=new Map(p.map(t=>[(0,h.requireNode)(o,t).nameId,t])),c.childPositionById=new Map(p.map((t,n)=>[t,n])),(0,t.rebuildDirectoryChildAggregates)(o.snapshot.nodes,c)}}function S(t){let n=t.snapshot.nodes.length-1;for(;n>t.snapshot.rootId;){if(l(t.snapshot.nodes[n]))break;n-=1}t.snapshot.nodes.length=n+1}function w(t){const n=y(t),s=P(t);(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.stable.clearPathCaches",()=>v(t)),(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.stable.rebuildSegmentTable",()=>b(t)),(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.stable.rebuildDirectoryIndexes",()=>E(t)),(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.stable.trimTrailingRemovedNodeSlots",()=>S(t)),(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.stable.restoreExpansionOverrides",()=>N(t,n)),(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.stable.restoreDirectoryLoadInfos",()=>B(t,s)),(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.stable.recomputeCounts",()=>(0,h.recomputeCountsRecursive)(t,t.snapshot.rootId))}function k(t){const n=y(t),s=P(t),u=(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.aggressive.listPaths",()=>(0,h.listPaths)(t)),l=(0,o.attachBenchmarkInstrumentation)(Object.assign({},t.snapshot.options),t.instrumentation),p=(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.aggressive.rebuildSnapshot",()=>{const t=new c.PathStoreBuilder(l);return t.appendPaths(u),t.finish()});t.snapshot=p,t.activeNodeCount=p.nodes.length-1,t.pathCacheByNodeId=new Map([[p.rootId,{path:"",version:0}]]),t.pathCacheVersion=0,(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.aggressive.restoreExpansionOverrides",()=>N(t,n)),(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.aggressive.restoreDirectoryLoadInfos",()=>B(t,s)),(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.aggressive.recomputeCounts",()=>(0,h.recomputeCountsRecursive)(t,t.snapshot.rootId))}function x(t){for(const n of t.directoryLoadInfoById.values())if("loading"===n.state&&null!=n.activeAttemptId)return!0;return!1}function A(t,n){const s=C(t);"stable"===n?(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.stable",()=>w(t)):(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.aggressive",()=>k(t));return I(n,"stable"===n,s,C(t))}},1223,[1211,1212,1213,1218,1215,1219,1222]);
26
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"collapsePath",{enumerable:!0,get:function(){return v}}),Object.defineProperty(e,"expandPath",{enumerable:!0,get:function(){return E}}),Object.defineProperty(e,"getVisibleCount",{enumerable:!0,get:function(){return p}}),Object.defineProperty(e,"getVisibleIndexByPath",{enumerable:!0,get:function(){return C}}),Object.defineProperty(e,"getVisibleRowContext",{enumerable:!0,get:function(){return D}}),Object.defineProperty(e,"getVisibleSlice",{enumerable:!0,get:function(){return w}}),Object.defineProperty(e,"getVisibleTreeProjection",{enumerable:!0,get:function(){return P}}),Object.defineProperty(e,"getVisibleTreeProjectionData",{enumerable:!0,get:function(){return S}});var t=r(d[0]),n=r(d[1]),o=r(d[2]),s=r(d[3]),l=r(d[4]),c=r(d[5]),u=r(d[6]),h=r(d[7]);const I=64;function f(t,n){const o=n+2;if(o<=t.length)return t;let s=t.length;for(;s<o;)s*=2;const l=new Int32Array(s);return l.fill(-1),l.set(t),l}function p(t){return(0,h.requireNode)(t,t.snapshot.rootId).visibleSubtreeCount}function y(t,n,o,s){const l=(0,h.requireNode)(t,n.terminalNodeId),c=Math.max(1,l.visibleSubtreeCount);return Math.min(s-1,o+c-1)}function N(t,n,o,s){return{ancestorPaths:s,index:n.index,posInSet:n.posInSet,row:A(t,n.cursor),setSize:n.setSize,subtreeEndIndex:y(t,n.cursor,n.index,o)}}function b(n,o,s,l,c,u){const I=(0,h.getDirectoryIndex)(n,o),{childIndex:f,childVisibleIndex:p,localVisibleIndex:y}=(0,t.selectChildIndexByVisibleIndex)(n.snapshot.nodes,I,s),N=I.childIds[f];if(null==N)throw new Error(`Visible index ${String(s)} is out of range`);return x(n,N,y,l+p,c+1,f,I.childIds.length,u)}function x(t,o,s,c,u,I,f,p){if(!(0,n.isDirectoryNode)((0,h.requireNode)(t,o))){if(0===s)return{ancestors:p,cursor:{headNodeId:o,terminalNodeId:o,visibleDepth:u},index:c,posInSet:I,setSize:f};throw new Error(`Visible index ${String(s)} is out of range for file`)}const y=z(t,o,u);if(0===s)return{ancestors:p,cursor:y,index:c,posInSet:I,setSize:f};const N=(0,h.requireNode)(t,y.terminalNodeId);if(!(0,n.isDirectoryNode)(N)||!(0,l.isDirectoryExpanded)(t,y.terminalNodeId,N))throw new Error(`Visible index ${String(s)} is out of range for collapsed directory`);return b(t,y.terminalNodeId,s-1,c+1,y.visibleDepth,[...p,{cursor:y,index:c,posInSet:I,setSize:f}])}function D(t,n){const o=p(t);if(n<0||n>=o)return null;const s=b(t,t.snapshot.rootId,n,0,-1,[]),l=s.ancestors.map(n=>(0,h.materializeNodePath)(t,n.cursor.terminalNodeId));let c=null;return{ancestorPaths:l,get ancestorRows(){if(null!=c)return c;const n=[],l=[];for(const c of s.ancestors){const s=N(t,c,o,[...l]);n.push(s),l.push(s.row.path)}return c=n,c},index:s.index,posInSet:s.posInSet,row:A(t,s.cursor),setSize:s.setSize,subtreeEndIndex:y(t,s.cursor,s.index,o)}}function w(t,n,s){const l=t.instrumentation,c=p(t);if(c<=0||s<n)return[];const u=Math.max(0,Math.min(n,c-1)),h=Math.max(u,Math.min(s,c-1));if(null==l){if(0===u)return j(t,h+1);const n=[];let o=V(t,u);for(let s=u;s<=h&&null!=o;s++){const s=A(t,o);n.push(s),o=T(t,o)}return n}const I=[];let f=0,y=0,N=(0,o.withBenchmarkPhase)(l,"store.getVisibleSlice.selectFirstRow",()=>V(t,u));for(let n=u;n<=h&&null!=N;n++){const n=(0,o.withBenchmarkPhase)(l,"store.getVisibleSlice.materializeRow",()=>A(t,N));I.push(n),n.isFlattened&&(f++,y+=n.flattenedSegments?.length??0),N=(0,o.withBenchmarkPhase)(l,"store.getVisibleSlice.advanceCursor",()=>T(t,N))}return(0,o.setBenchmarkCounter)(l,"workload.visibleRowsRead",I.length),(0,o.setBenchmarkCounter)(l,"workload.flattenedRowsRead",f),(0,o.setBenchmarkCounter)(l,"workload.flattenedSegmentsRead",y),I}function S(t,n=p(t)){const s=t.instrumentation;return null==s?k(t,n):(0,o.withBenchmarkPhase)(s,"store.getVisibleTreeProjection",()=>k(t,n))}function P(t){return $(S(t))}function C(o,s){const c=(0,h.findNodeId)(o,s);if(null==c||c===o.snapshot.rootId)return null;if((0,n.isDirectoryNode)((0,h.requireNode)(o,c))&&(0,u.getFlattenedTerminalDirectoryId)(o,c)!==c)return null;let I=0,f=c;const{nodes:p,rootId:y}=o.snapshot;for(;f!==y;){const n=(0,h.requireNode)(o,f).parentId,s=(0,h.getDirectoryIndex)(o,n),c=(0,t.ensureChildPositions)(s).get(f);if(null==c)throw new Error(`Child ${String(f)} was not found in its parent index`);if(I+=(0,t.getVisibleChildPrefixCount)(p,s,c),n!==y){const t=(0,h.requireNode)(o,n),s=(0,u.getFlattenedChildDirectoryId)(o,n);if(!(0,l.isDirectoryExpanded)(o,n,t)&&s!==f)return null;(0,u.getFlattenedTerminalDirectoryId)(o,n)===n&&(I+=1)}f=n}return I}function E(t,o){const s=(0,h.findNodeId)(t,o);if(null==s)throw new Error(`Path does not exist: "${o}"`);const u=(0,h.requireNode)(t,s);if(!(0,n.isDirectoryNode)(u))throw new Error(`Path is not a directory: "${o}"`);return(0,l.isDirectoryExpanded)(t,s,u)?null:((0,l.setDirectoryExpanded)(t,s,!0,u),(0,h.recomputeCountsUpwardFrom)(t,s),(0,c.createExpandEvent)({affectedAncestorIds:(0,h.collectAncestorIds)(t,s),affectedNodeIds:[s],path:o,projectionChanged:!0}))}function v(t,o){const s=(0,h.findNodeId)(t,o);if(null==s)throw new Error(`Path does not exist: "${o}"`);const u=(0,h.requireNode)(t,s);if(!(0,n.isDirectoryNode)(u))throw new Error(`Path is not a directory: "${o}"`);return(0,l.isDirectoryExpanded)(t,s,u)?((0,l.setDirectoryExpanded)(t,s,!1,u),(0,h.recomputeCountsUpwardFrom)(t,s),(0,c.createCollapseEvent)({affectedAncestorIds:(0,h.collectAncestorIds)(t,s),affectedNodeIds:[s],path:o,projectionChanged:!0})):null}function V(t,n){return n<0||n>=p(t)?null:B(t,t.snapshot.rootId,n,-1)}function B(n,s,l,c){const u=(0,h.getDirectoryIndex)(n,s),I=n.instrumentation,{childIndex:f,localVisibleIndex:p}=null==I?(0,t.selectChildIndexByVisibleIndex)(n.snapshot.nodes,u,l):(0,o.withBenchmarkPhase)(I,"store.getVisibleSlice.selectChildIndex",()=>(0,t.selectChildIndexByVisibleIndex)(n.snapshot.nodes,u,l)),y=u.childIds[f];if(null!=y)return q(n,y,p,c+1);throw new Error(`Visible index ${String(l)} is out of range`)}function q(t,o,s,c){if(!(0,n.isDirectoryNode)((0,h.requireNode)(t,o))){if(0===s)return{headNodeId:o,terminalNodeId:o,visibleDepth:c};throw new Error(`Visible index ${String(s)} is out of range for file`)}const u=z(t,o,c);if(0===s)return u;const I=(0,h.requireNode)(t,u.terminalNodeId);if(!(0,n.isDirectoryNode)(I)||!(0,l.isDirectoryExpanded)(t,u.terminalNodeId,I))throw new Error(`Visible index ${String(s)} is out of range for collapsed directory`);return B(t,u.terminalNodeId,s-1,u.visibleDepth)}function z(t,s,l){return(0,n.isDirectoryNode)((0,h.requireNode)(t,s))?null==t.instrumentation?{headNodeId:s,terminalNodeId:(0,u.getFlattenedTerminalDirectoryId)(t,s),visibleDepth:l}:{headNodeId:s,terminalNodeId:(0,o.withBenchmarkPhase)(t.instrumentation,"store.getVisibleSlice.flatten.resolveTerminalDirectory",()=>(0,u.getFlattenedTerminalDirectoryId)(t,s)),visibleDepth:l}:{headNodeId:s,terminalNodeId:s,visibleDepth:l}}function F(t,o){const s=(0,h.requireNode)(t,o);if(!(0,n.isDirectoryNode)(s))return!0;const l=s.parentId;return l===t.snapshot.rootId||(0,u.getFlattenedChildDirectoryId)(t,l)!==o}function T(o,s){const c=(0,h.requireNode)(o,s.terminalNodeId);if((0,n.isDirectoryNode)(c)){const t=(0,h.getDirectoryIndex)(o,s.terminalNodeId);if((0,l.isDirectoryExpanded)(o,s.terminalNodeId,c)&&t.childIds.length>0){const n=t.childIds[0];return null==n?null:q(o,n,0,s.visibleDepth+1)}}let u=s.terminalNodeId,I=s.visibleDepth;for(;;){const n=(0,h.requireNode)(o,u);if(u===o.snapshot.rootId)return null;const s=n.parentId,l=(0,h.getDirectoryIndex)(o,s),c=(0,t.ensureChildPositions)(l).get(u)??-1;if(c<0)throw new Error(`Child ${String(u)} was not found in its parent index`);const f=l.childIds[c+1]??null;if(null!=f)return q(o,f,0,I);F(o,u)&&I--,u=s}}function $(t){const n=t.paths.length,o=new Array(n);for(let s=0;s<n;s+=1){const n=t.getParentIndex(s);o[s]={index:s,parentPath:n>=0?t.paths[n]??null:null,path:t.paths[s]??"",posInSet:t.posInSetByIndex[s]??0,setSize:t.setSizeByIndex[s]??0}}return{getParentIndex:t.getParentIndex,rows:o,get visibleIndexByPath(){return t.visibleIndexByPath}}}function k(t,o){const s=new Array(o),c=new Int32Array(o),p=new Int32Array(o),y=new Int32Array(o);let N=new Int32Array(I);N.fill(-1);let b=0;const{nodes:x,directories:D,segmentTable:w}=t.snapshot,S=[[D.get(t.snapshot.rootId),0,-1,""]],P=t.snapshot.options.flattenEmptyDirectories,C=t.pathCacheByNodeId,E=t.pathCacheVersion,v=w.valueById;for(;S.length>0&&b<o;){const o=S[S.length-1],I=o[0];if(o[1]>=I.childIds.length){S.pop();continue}const w=o[1],V=I.childIds[o[1]++],B=x[V],q=o[2]+1,z=o[3];let F;N=f(N,q);let T=V;if((0,n.isDirectoryNode)(B))T=P?(0,u.getFlattenedTerminalDirectoryId)(t,V):V,F=T===V?`${z}${v[B.nameId]}/`:(0,h.materializeNodePath)(t,T);else{const t=C.get(V);F=null!=t&&t.version===E?t.path:`${z}${v[B.nameId]}`}c[b]=N[q],s[b]=F,p[b]=w,y[b]=I.childIds.length,N[q+1]=b,b+=1;const $=x[T];null!=$&&(0,n.isDirectoryNode)($)&&(0,l.isDirectoryExpanded)(t,T,$)&&S.push([D.get(T),0,q,F])}b<o&&(s.length=b);const V=c.subarray(0,b),B=p.subarray(0,b),q=y.subarray(0,b);let z=null;return{getParentIndex:t=>t<0||t>=b?-1:V[t]??-1,paths:s,posInSetByIndex:B,setSizeByIndex:q,get visibleIndexByPath(){if(null==z){z=new Map;for(let t=0;t<b;t+=1)z.set(s[t]??"",t)}return z}}}function j(t,o){const s=new Array(o);let c=0;const{nodes:I,directories:f,segmentTable:p}=t.snapshot,y=[[f.get(t.snapshot.rootId),0,-1]],N=p.valueById,b=t.snapshot.options.flattenEmptyDirectories,x=t.pathCacheByNodeId,D=t.pathCacheVersion;for(;y.length>0&&c<o;){const o=y[y.length-1],p=o[0];if(o[1]>=p.childIds.length){y.pop();continue}const w=p.childIds[o[1]++],S=I[w],P=o[2]+1;if(!(0,n.isDirectoryNode)(S)){const n=x.get(w);s[c++]={depth:P,flattenedSegments:void 0,hasChildren:!1,id:w,isExpanded:!1,isFlattened:!1,isLoading:!1,kind:"file",loadState:void 0,name:N[S.nameId],path:null!=n&&n.version===D?n.path:(0,h.materializeNodePath)(t,w)};continue}const C=b?(0,u.getFlattenedTerminalDirectoryId)(t,w):w,E={headNodeId:w,terminalNodeId:C,visibleDepth:P};s[c++]=A(t,E);const v=I[C];null!=v&&(0,n.isDirectoryNode)(v)&&(0,l.isDirectoryExpanded)(t,C,v)&&y.push([f.get(C),0,P])}return c<o&&(s.length=c),s}function A(t,c){const I=(0,h.requireNode)(t,c.terminalNodeId),f=(0,n.isDirectoryNode)(I)?O(t,c):null,p=(0,h.materializeNodePath)(t,c.terminalNodeId),y=(0,s.getSegmentValue)(t.snapshot.segmentTable,I.nameId),N=(0,n.isDirectoryNode)(I)&&(0,h.getDirectoryIndex)(t,c.terminalNodeId).childIds.length>0,b=c.headNodeId!==c.terminalNodeId,x=t.instrumentation,D=b?null==x?(0,u.collectFlattenedDirectoryChainIds)(t,c.headNodeId).map(n=>{const o=(0,h.requireNode)(t,n);return{isTerminal:n===c.terminalNodeId,name:(0,s.getSegmentValue)(t.snapshot.segmentTable,o.nameId),nodeId:n,path:(0,h.materializeNodePath)(t,n)}}):(0,o.withBenchmarkPhase)(x,"store.getVisibleSlice.flatten.collectSegments",()=>(0,u.collectFlattenedDirectoryChainIds)(t,c.headNodeId).map(n=>{const o=(0,h.requireNode)(t,n);return{isTerminal:n===c.terminalNodeId,name:(0,s.getSegmentValue)(t.snapshot.segmentTable,o.nameId),nodeId:n,path:(0,h.materializeNodePath)(t,n)}})):void 0;return{depth:c.visibleDepth,flattenedSegments:D,hasChildren:N,id:c.terminalNodeId,isExpanded:(0,n.isDirectoryNode)(I)&&(0,l.isDirectoryExpanded)(t,c.terminalNodeId,I),isFlattened:b,isLoading:"loading"===f,kind:(0,n.isDirectoryNode)(I)?"directory":"file",loadState:null==f||"loaded"===f?void 0:f,name:y,path:p}}function O(t,n){if(n.headNodeId===n.terminalNodeId)return(0,l.getDirectoryLoadState)(t,n.terminalNodeId);const o=(0,u.collectFlattenedDirectoryChainIds)(t,n.headNodeId);let s=!1,c=!1;for(const n of o){const o=(0,l.getDirectoryLoadState)(t,n);if("loading"===o)return"loading";"error"!==o?"unloaded"===o&&(s=!0):c=!0}return c?"error":s?"unloaded":"loaded"}},1224,[1211,1212,1213,1218,1219,1220,1221,1222]);
27
- __d(function(g,r,_i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"buildSoaNodeStore",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"sweepOpenVisibleCountsSoa",{enumerable:!0,get:function(){return o}}),r(d[0]);const t=8;function n(t){const{nodes:n,directories:o,rootId:l,options:s}=t,i=n.length,c=new Int32Array(i),u=new Int32Array(i),f=new Int32Array(i),I=new Int32Array(i),b=new Int32Array(i),h=new Int32Array(i),p=new Int32Array(i);for(let t=0;t<i;t+=1){const o=n[t];null!=o&&(c[t]=o.parentId,u[t]=o.nameId,f[t]=o.depthAndFlags,I[t]=o.subtreeNodeCount,b[t]=o.visibleSubtreeCount)}let y=0;for(const t of o.values())y+=t.childIds.length;const A=new Int32Array(y);let C=0;for(const[t,n]of o){const o=n.childIds;h[t]=C,p[t]=o.length;for(let t=0;t<o.length;t+=1)A[C]=o[t],C+=1}return{nodeCount:i,rootId:l,flattenEmptyDirectories:!0===s.flattenEmptyDirectories,parentId:c,nameId:u,depthAndFlags:f,subtreeNodeCount:I,visibleSubtreeCount:b,childStart:h,childCount:p,childIdsFlat:A}}function o(n){const{nodeCount:o,rootId:l,flattenEmptyDirectories:s,depthAndFlags:i,subtreeNodeCount:c,visibleSubtreeCount:u,childStart:f,childCount:I,childIdsFlat:b}=n;for(let n=o-1;n>=1;n-=1){if(0===(i[n]&t))continue;const o=f[n],l=I[n];let h,p=0,y=0;for(let t=0;t<l;t+=1){const n=b[o+t];p+=c[n],y+=u[n]}c[n]=1+p,h=s&&1===l&&0!==(i[b[o]]&t)?y:1+y,u[n]=h}const h=f[l],p=I[l];let y=0,A=0;for(let t=0;t<p;t+=1){const n=b[h+t];y+=c[n],A+=u[n]}c[l]=1+y,u[l]=A}},1225,[1212]);
28
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"PathStore",{enumerable:!0,get:function(){return t.PathStore}});var t=r(d[0]);r(d[1]),r(d[2])},1226,[1210,1227,1228]);
29
- __d(function(g,r,i,a,m,e,d){"use strict";r(d[0])},1227,[1210]);
30
- __d(function(g,r,i,a,m,e,d){"use strict";r(d[0]),r(d[1]),r(d[2]),r(d[3]),r(d[4])},1228,[1212,1214,1218,1215,1219]);
31
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"FILE_TREE_DENSITY_PRESETS",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"resolveFileTreeDensity",{enumerable:!0,get:function(){return n}});const t={compact:{itemHeight:24,factor:.8},default:{itemHeight:30,factor:1},relaxed:{itemHeight:36,factor:1.2}};function n(n,o){if("number"==typeof n)return{itemHeight:o??t.default.itemHeight,factor:n};const c=t[n??"default"];return{itemHeight:o??c.itemHeight,factor:c.factor}}},1229,[]);
32
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"EMPTY_RANGE",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"FILE_TREE_DEFAULT_ITEM_HEIGHT",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"FILE_TREE_DEFAULT_OVERSCAN",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"FILE_TREE_DEFAULT_VIEWPORT_HEIGHT",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"computeStickyWindowLayout",{enumerable:!0,get:function(){return h}}),Object.defineProperty(e,"computeVisibleRange",{enumerable:!0,get:function(){return f}}),Object.defineProperty(e,"computeWindowRange",{enumerable:!0,get:function(){return E}}),Object.defineProperty(e,"rangesEqual",{enumerable:!0,get:function(){return s}});const t=r(d[0]).FILE_TREE_DENSITY_PRESETS.default.itemHeight,n=10,o=420,u={start:0,end:-1};function c(t,n){if(n<=0||t.end<t.start)return u;const o=Math.max(0,Math.min(t.start,n-1));return{start:o,end:Math.max(o,Math.min(t.end,n-1))}}function s(t,n){return t.start===n.start&&t.end===n.end}function f({itemCount:t,itemHeight:n,scrollTop:o,viewportHeight:c}){if(t<=0)return u;const s=Math.floor(o/n),f=Math.ceil((o+c)/n)-1;return f<0||s>=t?u:{start:Math.max(0,s),end:Math.min(t-1,f)}}function E(t,n=u){const o=f(t),s=c(n,t.itemCount);return s.end>=s.start&&o.start>=s.start&&o.end<=s.end?s:(E=o,h=t.itemCount,l=t.overscan??10,E.end<E.start||h<=0?u:c({start:E.start-l,end:E.end+l},h));var E,h,l}function h({itemCount:t,itemHeight:n,range:o,viewportHeight:u}){const c=Math.max(0,t*n);if(o.end<o.start)return{totalHeight:c,offsetHeight:0,windowHeight:0,stickyInset:0};const s=o.start*n,f=(o.end-o.start+1)*n,E=Math.random()*n|0;return{totalHeight:c,offsetHeight:s,windowHeight:f,stickyInset:Math.min(0,u-f+E)}}},1230,[1229]);
33
- __d(function(g,r,i,a,m,_e,d){"use strict";const e=["composition","density","fileTreeSearchMode","gitStatus","id","initialSearchQuery","icons","itemHeight","onSearchChange","onSelectionChange","overscan","renderRowDecoration","renaming","search","searchBlurBehavior","searchFakeFocus","stickyFolders","unsafeCSS","initialVisibleRowCount"],t=["composition","density","fileTreeSearchMode","gitStatus","id","initialSearchQuery","icons","itemHeight","onSearchChange","onSelectionChange","overscan","renderRowDecoration","renaming","search","searchBlurBehavior","searchFakeFocus","stickyFolders","unsafeCSS","initialVisibleRowCount"];var l,s,n,o,u,h,f,c,p,S,y,v,b,T,P,w,F,C,E,O,I,H,j,R,_,V,M,B,$,A,D,L,G,N,k,x,U,z;function W(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"FileTree",{enumerable:!0,get:function(){return Te}}),Object.defineProperty(_e,"preloadFileTree",{enumerable:!0,get:function(){return Ae}}),Object.defineProperty(_e,"serializeFileTreeSsrPayload",{enumerable:!0,get:function(){return me}});var q=W(r(d[0])),Q=W(r(d[1])),Y=W(r(d[2])),J=r(d[3]),K=r(d[4]),X=r(d[5]),Z=r(d[6]),ee=r(d[7]),te=W(r(d[8])),ie=r(d[9]),re=r(d[10]),ae=r(d[11]),le=r(d[12]),se=r(d[13]),ne=r(d[14]),oe=r(d[15]),ue=r(d[16]),de=r(d[17]);let he=0,fe=0;function ce({initialVisibleRowCount:e,itemHeight:t}){return null==e?420:Math.max(0,e)*(t??ee.FILE_TREE_DEFAULT_ITEM_HEIGHT)}function pe(e){if("undefined"==typeof document)return;const t=document.createElement("div");t.innerHTML=e;const l=t.querySelector("svg");return l instanceof SVGElement?l:void 0}function Se(e){const t=e?.header?.html?.trim();return null==t||0===t.length?"":`<div slot="${K.HEADER_SLOT_NAME}" data-file-tree-managed-slot="${K.HEADER_SLOT_NAME}">${t}</div>`}function ye(e,t,l){const s="declarative"===t?"shadowrootmode=\"open\"":"data-file-tree-shadowrootmode=\"open\"";return`<file-tree-container id="${e}" data-file-tree-virtualized="true"${0===l.length?"":` style="${l}"`}><template ${s}>`}function ve(e){return`</template>${e}</file-tree-container>`}function me(e,t="declarative"){return`${"declarative"===t?e.outerStart:e.domOuterStart}${e.shadowHtml}${e.outerEnd}`}function ge(e){return e.querySelector("#file-tree-icon-chevron")instanceof SVGElement&&e.querySelector("#file-tree-icon-file")instanceof SVGElement&&e.querySelector("#file-tree-icon-dot")instanceof SVGElement&&e.querySelector("#file-tree-icon-lock")instanceof SVGElement}function be(e){return Array.from(e.children).filter(e=>e instanceof SVGElement)}var Te=(s=(0,Y.default)("composition"),n=(0,Y.default)("controller"),o=(0,Y.default)("id"),u=(0,Y.default)("onSelectionChange"),h=(0,Y.default)("renderRowDecoration"),f=(0,Y.default)("renamingEnabled"),c=(0,Y.default)("searchBlurBehavior"),p=(0,Y.default)("searchEnabled"),S=(0,Y.default)("searchFakeFocus"),y=(0,Y.default)("slotHost"),v=(0,Y.default)("density"),b=(0,Y.default)("viewOptions"),T=(0,Y.default)("fileTreeContainer"),P=(0,Y.default)("gitStatusState"),w=(0,Y.default)("icons"),F=(0,Y.default)("unsafeCSS"),C=(0,Y.default)("unsafeCSSStyle"),E=(0,Y.default)("appliedUnsafeCSS"),O=(0,Y.default)("selectionVersion"),I=(0,Y.default)("selectionSubscription"),H=(0,Y.default)("wrapper"),j=(0,Y.default)("wroteHostItemHeight"),R=(0,Y.default)("wroteHostDensityFactor"),_=(0,Y.default)("getInitialViewOptions"),V=(0,Y.default)("getViewProps"),M=(0,Y.default)("getMountedTreeElements"),B=(0,Y.default)("syncIconSurface"),$=(0,Y.default)("emitSelectionChange"),A=(0,Y.default)("syncHeaderSlotContent"),D=(0,Y.default)("syncBuiltInSpriteSheet"),L=(0,Y.default)("syncCustomSpriteSheet"),G=(0,Y.default)("syncIconModeAttrs"),N=(0,Y.default)("syncUnsafeCSS"),k=(0,Y.default)("getOrCreateWrapper"),x=(0,Y.default)("prepareHost"),U=(0,Y.default)("applyDensityHostStyle"),z=(0,Y.default)("removeOwnedDensityHostStyle"),(l=class{constructor(t){Object.defineProperty(this,z,{value:$e}),Object.defineProperty(this,U,{value:Be}),Object.defineProperty(this,x,{value:Me}),Object.defineProperty(this,k,{value:Ve}),Object.defineProperty(this,N,{value:Re}),Object.defineProperty(this,G,{value:je}),Object.defineProperty(this,L,{value:He}),Object.defineProperty(this,D,{value:Ie}),Object.defineProperty(this,A,{value:Oe}),Object.defineProperty(this,$,{value:Ee}),Object.defineProperty(this,B,{value:Ce}),Object.defineProperty(this,M,{value:Fe}),Object.defineProperty(this,V,{value:we}),Object.defineProperty(this,_,{value:Pe}),Object.defineProperty(this,s,{writable:!0,value:void 0}),Object.defineProperty(this,n,{writable:!0,value:void 0}),Object.defineProperty(this,o,{writable:!0,value:void 0}),Object.defineProperty(this,u,{writable:!0,value:void 0}),Object.defineProperty(this,h,{writable:!0,value:void 0}),Object.defineProperty(this,f,{writable:!0,value:void 0}),Object.defineProperty(this,c,{writable:!0,value:void 0}),Object.defineProperty(this,p,{writable:!0,value:void 0}),Object.defineProperty(this,S,{writable:!0,value:void 0}),Object.defineProperty(this,y,{writable:!0,value:new oe.FileTreeManagedSlotHost}),Object.defineProperty(this,v,{writable:!0,value:void 0}),Object.defineProperty(this,b,{writable:!0,value:void 0}),Object.defineProperty(this,T,{writable:!0,value:void 0}),Object.defineProperty(this,P,{writable:!0,value:void 0}),Object.defineProperty(this,w,{writable:!0,value:void 0}),Object.defineProperty(this,F,{writable:!0,value:void 0}),Object.defineProperty(this,C,{writable:!0,value:void 0}),Object.defineProperty(this,E,{writable:!0,value:void 0}),Object.defineProperty(this,O,{writable:!0,value:void 0}),Object.defineProperty(this,I,{writable:!0,value:null}),Object.defineProperty(this,H,{writable:!0,value:void 0}),Object.defineProperty(this,j,{writable:!0,value:!1}),Object.defineProperty(this,R,{writable:!0,value:!1});const{composition:l,density:W,fileTreeSearchMode:Y,gitStatus:J,id:K,initialSearchQuery:X,icons:ee,itemHeight:te,onSearchChange:ie,onSelectionChange:re,overscan:se,renderRowDecoration:ne,renaming:ue,search:de,searchBlurBehavior:he,searchFakeFocus:ce,stickyFolders:pe,unsafeCSS:Se,initialVisibleRowCount:ye}=t,ve=(0,q.default)(t,e);var me;(0,Q.default)(this,s)[s]=l,(0,Q.default)(this,o)[o]=null!=(me=K)&&me.length>0?me:(fe+=1,`pst_ft_${fe}`),(0,Q.default)(this,P)[P]=(0,le.resolveFileTreeGitStatusState)(J),(0,Q.default)(this,w)[w]=ee,(0,Q.default)(this,F)[F]=Se,(0,Q.default)(this,u)[u]=re,(0,Q.default)(this,h)[h]=ne,(0,Q.default)(this,f)[f]=null!=ue&&!1!==ue,(0,Q.default)(this,c)[c]=he,(0,Q.default)(this,p)[p]=!0===de,(0,Q.default)(this,S)[S]=!0===ce,(0,Q.default)(this,v)[v]=(0,Z.resolveFileTreeDensity)(W,te),(0,Q.default)(this,b)[b]={itemHeight:(0,Q.default)(this,v)[v].itemHeight,overscan:se,stickyFolders:pe,initialVisibleRowCount:ye},(0,Q.default)(this,n)[n]=new ae.FileTreeController(Object.assign({},ve,{fileTreeSearchMode:Y,initialSearchQuery:X,onSearchChange:ie,renaming:ue})),(0,Q.default)(this,O)[O]=(0,Q.default)(this,n)[n].getSelectionVersion(),(0,Q.default)(this,I)[I]=null==(0,Q.default)(this,u)[u]?null:this.subscribe(()=>{(0,Q.default)(this,$)[$]()})}unmount(){null!=(0,Q.default)(this,H)[H]&&((0,ne.unmountFileTreeRoot)((0,Q.default)(this,H)[H]),delete(0,Q.default)(this,H)[H].dataset.fileTreeVirtualizedWrapper,(0,Q.default)(this,H)[H]=void 0),(0,Q.default)(this,y)[y].clearAll(),(0,Q.default)(this,y)[y].setHost(null),null!=(0,Q.default)(this,T)[T]&&(delete(0,Q.default)(this,T)[T].dataset.fileTreeVirtualized,(0,Q.default)(this,z)[z]((0,Q.default)(this,T)[T]),(0,Q.default)(this,T)[T]=void 0)}cleanUp(){this.unmount(),(0,Q.default)(this,I)[I]?.(),(0,Q.default)(this,I)[I]=null,(0,Q.default)(this,n)[n].destroy()}getFileTreeContainer(){return(0,Q.default)(this,T)[T]}getItem(e){return(0,Q.default)(this,n)[n].getItem(e)}getFocusedItem(){return(0,Q.default)(this,n)[n].getFocusedItem()}getFocusedPath(){return(0,Q.default)(this,n)[n].getFocusedPath()}getFocusedIndex(){return(0,Q.default)(this,n)[n].getFocusedIndex()}getVisibleCount(){return(0,Q.default)(this,n)[n].getVisibleCount()}getVisibleRows(e,t){return(0,Q.default)(this,n)[n].getVisibleRows(e,t)}getSelectedPaths(){return(0,Q.default)(this,n)[n].getSelectedPaths()}getComposition(){return(0,Q.default)(this,s)[s]}getItemHeight(){return(0,Q.default)(this,v)[v].itemHeight}getDensityFactor(){return(0,Q.default)(this,v)[v].factor}subscribe(e){let t=!1;return(0,Q.default)(this,n)[n].subscribe(()=>{t?e():t=!0})}focusPath(e){(0,Q.default)(this,n)[n].focusPath(e)}focusFirstItem(){(0,Q.default)(this,n)[n].focusFirstItem()}focusLastItem(){(0,Q.default)(this,n)[n].focusLastItem()}focusNextItem(){(0,Q.default)(this,n)[n].focusNextItem()}focusPreviousItem(){(0,Q.default)(this,n)[n].focusPreviousItem()}focusParentItem(){(0,Q.default)(this,n)[n].focusParentItem()}scrollToPath(e,t){(0,Q.default)(this,n)[n].scrollToPath(e,t)}focusNearestPath(e){return(0,Q.default)(this,n)[n].focusNearestPath(e)}add(e){(0,Q.default)(this,n)[n].add(e)}batch(e){(0,Q.default)(this,n)[n].batch(e)}applyGitStatusPatch(e){const t=(0,le.applyFileTreeGitStatusPatch)((0,Q.default)(this,P)[P],e);if(t===(0,Q.default)(this,P)[P])return;(0,Q.default)(this,P)[P]=t;const l=(0,Q.default)(this,M)[M]();null!=l&&(0,ne.renderFileTreeRoot)(l.wrapper,(0,Q.default)(this,V)[V]())}move(e,t,l){(0,Q.default)(this,n)[n].move(e,t,l)}onMutation(e,t){return(0,Q.default)(this,n)[n].onMutation(e,t)}setSearch(e){(0,Q.default)(this,n)[n].setSearch(e)}openSearch(e){(0,Q.default)(this,n)[n].openSearch(e)}closeSearch(){(0,Q.default)(this,n)[n].closeSearch()}isSearchOpen(){return(0,Q.default)(this,n)[n].isSearchOpen()}getSearchValue(){return(0,Q.default)(this,n)[n].getSearchValue()}getSearchMatchingPaths(){return(0,Q.default)(this,n)[n].getSearchMatchingPaths()}focusNextSearchMatch(){(0,Q.default)(this,n)[n].focusNextSearchMatch()}focusPreviousSearchMatch(){(0,Q.default)(this,n)[n].focusPreviousSearchMatch()}startRenaming(e,t){return(0,Q.default)(this,n)[n].startRenaming(e,t)}remove(e,t){(0,Q.default)(this,n)[n].remove(e,t)}resetPaths(e,t){Array.isArray(e)?(0,Q.default)(this,n)[n].resetPaths(e,t):(0,Q.default)(this,n)[n].resetPaths(e)}setComposition(e){(0,Q.default)(this,s)[s]=e;const t=(0,Q.default)(this,M)[M]();null!=t&&((0,Q.default)(this,A)[A](),(0,ne.renderFileTreeRoot)(t.wrapper,(0,Q.default)(this,V)[V]()))}setGitStatus(e){const t=(0,le.resolveFileTreeGitStatusState)(e,(0,Q.default)(this,P)[P]);if(t===(0,Q.default)(this,P)[P])return;(0,Q.default)(this,P)[P]=t;const l=(0,Q.default)(this,M)[M]();null!=l&&(0,ne.renderFileTreeRoot)(l.wrapper,(0,Q.default)(this,V)[V]())}setIcons(e){(0,Q.default)(this,w)[w]=e;const t=(0,Q.default)(this,M)[M]();null!=t&&((0,Q.default)(this,B)[B](t.host,t.wrapper),(0,ne.renderFileTreeRoot)(t.wrapper,(0,Q.default)(this,V)[V]()))}hydrate({fileTreeContainer:e}){const t=(0,Q.default)(this,x)[x](e),l=(0,Q.default)(this,k)[k](t);(0,Q.default)(this,A)[A](),(0,ne.hydrateFileTreeRoot)(l,(0,Q.default)(this,V)[V]())}render({containerWrapper:e,fileTreeContainer:t}){const l=(0,Q.default)(this,x)[x](t??(0,Q.default)(this,T)[T],e),s=(0,Q.default)(this,k)[k](l);(0,Q.default)(this,A)[A](),(0,ne.renderFileTreeRoot)(s,(0,Q.default)(this,V)[V]())}}).LoadedCustomComponent=!0,l);function Pe(){return{initialViewportHeight:ce({initialVisibleRowCount:(0,Q.default)(this,b)[b].initialVisibleRowCount,itemHeight:(0,Q.default)(this,b)[b].itemHeight}),itemHeight:(0,Q.default)(this,b)[b].itemHeight,overscan:(0,Q.default)(this,b)[b].overscan,stickyFolders:(0,Q.default)(this,b)[b].stickyFolders}}function we(){return Object.assign({composition:(0,Q.default)(this,s)[s],controller:(0,Q.default)(this,n)[n],gitStatusByPath:(0,Q.default)(this,P)[P]?.statusByPath,ignoredGitDirectories:(0,Q.default)(this,P)[P]?.ignoredDirectoryPaths,directoriesWithGitChanges:(0,Q.default)(this,P)[P]?.directoriesWithChanges,icons:(0,Q.default)(this,w)[w],instanceId:(0,Q.default)(this,o)[o],renamingEnabled:(0,Q.default)(this,f)[f],renderRowDecoration:(0,Q.default)(this,h)[h],searchBlurBehavior:(0,Q.default)(this,c)[c],searchEnabled:(0,Q.default)(this,p)[p],searchFakeFocus:(0,Q.default)(this,S)[S],slotHost:(0,Q.default)(this,y)[y]},(0,Q.default)(this,_)[_]())}function Fe(){const e=(0,Q.default)(this,T)[T],t=(0,Q.default)(this,H)[H];return null==e||null==t?null:{host:e,wrapper:t}}function Ce(e,t){const l=e.shadowRoot;null!=l&&((0,Q.default)(this,D)[D](l),(0,Q.default)(this,L)[L](l)),(0,Q.default)(this,G)[G](t)}function Ee(){const e=(0,Q.default)(this,u)[u];if(null==e)return;const t=(0,Q.default)(this,n)[n].getSelectionVersion();t!==(0,Q.default)(this,O)[O]&&((0,Q.default)(this,O)[O]=t,e((0,Q.default)(this,n)[n].getSelectedPaths()))}function Oe(){const e=(0,Q.default)(this,s)[s]?.header?.render;null==e?(0,Q.default)(this,y)[y].setSlotHtml(K.HEADER_SLOT_NAME,(0,Q.default)(this,s)[s]?.header?.html??null):(0,Q.default)(this,y)[y].setSlotContent(K.HEADER_SLOT_NAME,e())}function Ie(e){const t=be(e).find(e=>ge(e)),l=pe((0,J.getBuiltInSpriteSheet)((0,X.normalizeFileTreeIcons)((0,Q.default)(this,w)[w]).set));null!=l&&(null!=t&&t.outerHTML===l.outerHTML||(null!=t?t.replaceWith(l):e.prepend(l)))}function He(e){const t=be(e),l=t.find(e=>ge(e)),s=t.filter(e=>e!==l),n=(0,X.normalizeFileTreeIcons)((0,Q.default)(this,w)[w]).spriteSheet?.trim()??"";if(0===n.length){for(const e of s)e.remove();return}const o=pe(n);if(null!=o){if(1!==s.length||s[0].outerHTML!==o.outerHTML){for(const e of s)e.remove();e.appendChild(o)}}else for(const e of s)e.remove()}function je(e){const t=(0,X.normalizeFileTreeIcons)((0,Q.default)(this,w)[w]);t.colored&&(0,J.isColoredBuiltInIconSet)(t.set)?e.dataset.fileTreeColoredIcons="true":delete e.dataset.fileTreeColoredIcons}function Re(e){const t=e.querySelector(`style[${K.FILE_TREE_UNSAFE_CSS_ATTRIBUTE}]`);if(null==(0,Q.default)(this,C)[C]&&t instanceof HTMLStyleElement&&((0,Q.default)(this,C)[C]=t),null==(0,Q.default)(this,F)[F]||""===(0,Q.default)(this,F)[F])return(0,Q.default)(this,C)[C]?.remove(),(0,Q.default)(this,C)[C]=void 0,void((0,Q.default)(this,E)[E]=void 0);(0,Q.default)(this,C)[C]?.parentNode===e&&(0,Q.default)(this,E)[E]===(0,Q.default)(this,F)[F]||((0,Q.default)(this,C)[C]??=document.createElement("style"),(0,Q.default)(this,C)[C].setAttribute(K.FILE_TREE_UNSAFE_CSS_ATTRIBUTE,""),(0,Q.default)(this,C)[C].parentNode!==e&&e.appendChild((0,Q.default)(this,C)[C]),(0,Q.default)(this,C)[C].textContent=(0,ie.wrapUnsafeCSS)((0,Q.default)(this,F)[F]),(0,Q.default)(this,E)[E]=(0,Q.default)(this,F)[F])}function Ve(e){if(null!=(0,Q.default)(this,H)[H])return(0,Q.default)(this,H)[H];const t=e.shadowRoot;if(null==t)throw new Error("FileTree requires a shadow root");const l=Array.from(t.children).filter(e=>e instanceof HTMLDivElement&&"string"==typeof e.dataset.fileTreeId&&e.dataset.fileTreeId.length>0),s=l.find(e=>e.dataset.fileTreeId===(0,Q.default)(this,o)[o])??l[0];return null!=s&&((0,Q.default)(this,o)[o]=s.dataset.fileTreeId??(0,Q.default)(this,o)[o]),(0,Q.default)(this,H)[H]=s??document.createElement("div"),(0,Q.default)(this,H)[H].dataset.fileTreeId=(0,Q.default)(this,o)[o],(0,Q.default)(this,H)[H].dataset.fileTreeVirtualizedWrapper="true",(0,Q.default)(this,B)[B](e,(0,Q.default)(this,H)[H]),(0,Q.default)(this,H)[H].parentNode!==t&&t.appendChild((0,Q.default)(this,H)[H]),(0,Q.default)(this,H)[H]}function Me(e,t){const l=e??(0,Q.default)(this,T)[T]??document.createElement("file-tree-container");null!=t&&l.parentNode!==t&&t.appendChild(l);const s=l.shadowRoot??l.attachShadow({mode:"open"});return(0,re.prepareFileTreeShadowRoot)(l,s),(0,Q.default)(this,N)[N](s),l.dataset.fileTreeVirtualized="true",l.style.display="flex",(0,Q.default)(this,U)[U](l),(0,Q.default)(this,y)[y].setHost(l),(0,Q.default)(this,T)[T]=l,l}function Be(e){""===e.style.getPropertyValue("--trees-item-height")&&(e.style.setProperty("--trees-item-height",`${String((0,Q.default)(this,v)[v].itemHeight)}px`),(0,Q.default)(this,j)[j]=!0),""===e.style.getPropertyValue("--trees-density-override")&&(e.style.setProperty("--trees-density-override",String((0,Q.default)(this,v)[v].factor)),(0,Q.default)(this,R)[R]=!0)}function $e(e){(0,Q.default)(this,j)[j]&&(e.style.removeProperty("--trees-item-height"),(0,Q.default)(this,j)[j]=!1),(0,Q.default)(this,R)[R]&&(e.style.removeProperty("--trees-density-override"),(0,Q.default)(this,R)[R]=!1)}function Ae(e){const{composition:l,density:s,fileTreeSearchMode:n,gitStatus:o,id:u,initialSearchQuery:h,icons:f,itemHeight:c,overscan:p,renderRowDecoration:S,renaming:y,search:v,searchBlurBehavior:b,searchFakeFocus:T,stickyFolders:P,unsafeCSS:w,initialVisibleRowCount:F}=e,C=(0,q.default)(e,t),E=(0,Z.resolveFileTreeDensity)(s,c),O=E.itemHeight,I=null!=(H=u)&&H.length>0?H:(he+=1,`pst_srv_${he}`);var H;const j=new ae.FileTreeController(Object.assign({},C,{fileTreeSearchMode:n,initialSearchQuery:h,renaming:y})),R=(0,le.resolveFileTreeGitStatusState)(o),_=ce({initialVisibleRowCount:F,itemHeight:O}),V=(0,X.normalizeFileTreeIcons)(f),M=V.spriteSheet?.trim()??"",B=V.colored&&(0,J.isColoredBuiltInIconSet)(V.set)?" data-file-tree-colored-icons=\"true\"":"",$=(0,ie.escapeStyleTextForHtml)((0,ie.wrapCoreCSS)(te.default)),A=null==w||""===w?"":`<style ${K.FILE_TREE_UNSAFE_CSS_ATTRIBUTE}>${(0,ie.escapeStyleTextForHtml)((0,ie.wrapUnsafeCSS)(w))}</style>`,D=(0,de.renderToString)((0,ue.h)(se.FileTreeView,{composition:l,controller:j,gitStatusByPath:R?.statusByPath,ignoredGitDirectories:R?.ignoredDirectoryPaths,directoriesWithGitChanges:R?.directoriesWithChanges,icons:f,instanceId:I,itemHeight:O,overscan:p,renamingEnabled:null!=y&&!1!==y,renderRowDecoration:S,searchBlurBehavior:b,searchEnabled:!0===v,searchFakeFocus:!0===T,stickyFolders:P,initialViewportHeight:_}));j.destroy();const L=`${(0,J.getBuiltInSpriteSheet)(V.set)}${M}<style ${K.FILE_TREE_STYLE_ATTRIBUTE}>${$}</style>${A}<div data-file-tree-id="${I}" data-file-tree-virtualized-wrapper="true"${B}>${D}</div>`,G=Se(l),N=`--trees-item-height:${String(O)}px;--trees-density-override:${String(E.factor)}`,k=ye(I,"declarative",N);return{domOuterStart:ye(I,"dom",N),id:I,outerEnd:ve(G),outerStart:k,shadowHtml:L}}},1231,[25,30,31,1201,1202,1204,1229,1230,1232,1233,1234,1236,1245,1248,1263,1264,1251,1265]);
34
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n}});var n="@layer base {\n :host {\n --trees-accent: var(--trees-accent-override, #009fff);\n --trees-fg: var(--trees-fg-override, var(--trees-theme-sidebar-fg, light-dark(#6c6c71, #adadb1)));\n --trees-fg-muted: var(--trees-fg-muted-override, var(--trees-theme-sidebar-header-fg, light-dark(#84848a, #84848a)));\n --trees-bg: var(--trees-bg-override, var(--trees-theme-sidebar-bg, light-dark(#f8f8f8, #141415)));\n --trees-bg-muted: var(--trees-bg-muted-override, var(--trees-theme-list-hover-bg, light-dark(color-mix(in lab,\n var(--trees-accent) var(--trees-bg-alpha-light, 8%),\n var(--trees-bg)), color-mix(in lab,\n var(--trees-accent) var(--trees-bg-alpha-dark, 10%),\n var(--trees-bg)))));\n --trees-input-bg: var(--trees-input-bg-override, light-dark(#f8f8f8, #070707));\n --trees-added-light: #16a994;\n --trees-added-dark: #00cab1;\n --trees-ignored-light: #adadb1;\n --trees-ignored-dark: #4a4a4e;\n --trees-modified-light: #1ca1c7;\n --trees-modified-dark: #08c0ef;\n --trees-renamed-light: #d5a910;\n --trees-renamed-dark: #ffd452;\n --trees-untracked-light: #16a994;\n --trees-untracked-dark: #00cab1;\n --trees-deleted-light: #ff2e3f;\n --trees-deleted-dark: #ff6762;\n --trees-border-color: var(--trees-border-color-override, var(--trees-theme-sidebar-border, light-dark(#eeeeef, #070707)));\n --trees-indent-guide-bg: var(--trees-indent-guide-bg-override, color-mix(in lab, var(--trees-fg-muted) 25%, transparent));\n --trees-density: var(--trees-density-override, 1);\n --trees-border-radius: var(--trees-border-radius-override, calc(6px * var(--trees-density)));\n --trees-font-family: var(--trees-font-family-override, system-ui);\n --trees-font-size: var(--trees-font-size-override, 13px);\n --trees-font-weight-regular: var(--trees-font-weight-regular-override, 400);\n --trees-font-weight-semibold: var(--trees-font-weight-semibold-override, 600);\n --trees-focus-ring-color: var(--trees-focus-ring-color-override, var(--trees-theme-focus-ring, var(--trees-accent)));\n --trees-focus-ring-width: var(--trees-focus-ring-width-override, 1px);\n --trees-focus-ring-offset: var(--trees-focus-ring-offset-override, -1px);\n --trees-search-fg: var(--trees-search-fg-override, var(--trees-theme-input-fg, var(--trees-fg)));\n --trees-search-font-weight: var(--trees-search-font-weight-override, 600);\n --trees-search-bg: var(--trees-search-bg-override, var(--trees-theme-input-bg, var(--trees-input-bg)));\n --trees-scrollbar-thumb: var(--trees-scrollbar-thumb-override, var(--trees-theme-scrollbar-thumb, color-mix(in lab, var(--trees-fg) 25%, var(--trees-bg))));\n --trees-selected-fg: var(--trees-selected-fg-override, var(--trees-theme-list-active-selection-fg, var(--trees-fg)));\n --trees-selected-bg: var(--trees-selected-bg-override, var(--trees-theme-list-active-selection-bg, light-dark(color-mix(in lab, var(--trees-accent) 12%, var(--trees-bg)), color-mix(in lab, var(--trees-accent) 15%, var(--trees-bg)))));\n --trees-selected-focused-border-color: var(--trees-selected-focused-border-color-override, var(--trees-theme-focus-ring, var(--trees-accent)));\n --trees-status-added: var(--trees-status-added-override, var(--trees-theme-git-added-fg, light-dark(var(--trees-added-light), var(--trees-added-dark))));\n --trees-status-ignored: var(--trees-status-ignored-override, var(--trees-theme-git-ignored-fg, light-dark(var(--trees-ignored-light), var(--trees-ignored-dark))));\n --trees-status-modified: var(--trees-status-modified-override, var(--trees-theme-git-modified-fg, light-dark(var(--trees-modified-light), var(--trees-modified-dark))));\n --trees-status-renamed: var(--trees-status-renamed-override, var(--trees-theme-git-renamed-fg, light-dark(var(--trees-renamed-light), var(--trees-renamed-dark))));\n --trees-status-untracked: var(--trees-status-untracked-override, var(--trees-theme-git-untracked-fg, light-dark(var(--trees-untracked-light), var(--trees-untracked-dark))));\n --trees-status-deleted: var(--trees-status-deleted-override, var(--trees-theme-git-deleted-fg, light-dark(var(--trees-deleted-light), var(--trees-deleted-dark))));\n --trees-git-modified-color: var(--trees-git-modified-color-override, var(--trees-status-modified));\n --trees-git-added-color: var(--trees-git-added-color-override, var(--trees-status-added));\n --trees-git-ignored-color: var(--trees-git-ignored-color-override, var(--trees-status-ignored));\n --trees-git-deleted-color: var(--trees-git-deleted-color-override, var(--trees-status-deleted));\n --trees-git-renamed-color: var(--trees-git-renamed-color-override, var(--trees-status-renamed));\n --trees-git-untracked-color: var(--trees-git-untracked-color-override, var(--trees-status-untracked));\n --trees-icon-gray: light-dark(#84848a, #adadb1);\n --trees-icon-red: light-dark(#d52c36, #ff6762);\n --trees-icon-vermilion: light-dark(#ff8c5b, #d5512f);\n --trees-icon-orange: light-dark(#d47628, #ffa359);\n --trees-icon-yellow: light-dark(#d5a910, #ffd452);\n --trees-icon-green: light-dark(#199f43, #5ecc71);\n --trees-icon-teal: light-dark(#17a5af, #64d1db);\n --trees-icon-cyan: light-dark(#1ca1c7, #68cdf2);\n --trees-icon-blue: light-dark(#1a85d4, #69b1ff);\n --trees-icon-indigo: light-dark(#693acf, #9d6afb);\n --trees-icon-purple: light-dark(#a631be, #d568ea);\n --trees-icon-pink: light-dark(#d32a61, #ff678d);\n --trees-icon-mauve: light-dark(#594c5b, #79697b);\n --trees-file-icon-color-default: var(--trees-file-icon-color, var(--trees-icon-gray));\n --trees-file-icon-color-astro: var(--trees-file-icon-color, var(--trees-icon-purple));\n --trees-file-icon-color-babel: var(--trees-file-icon-color, var(--trees-icon-yellow));\n --trees-file-icon-color-bash: var(--trees-file-icon-color, var(--trees-icon-green));\n --trees-file-icon-color-biome: var(--trees-file-icon-color, var(--trees-icon-blue));\n --trees-file-icon-color-bootstrap: var(--trees-file-icon-color, var(--trees-icon-indigo));\n --trees-file-icon-color-browserslist: var(--trees-file-icon-color, var(--trees-icon-yellow));\n --trees-file-icon-color-bun: var(--trees-file-icon-color, var(--trees-icon-mauve));\n --trees-file-icon-color-c: var(--trees-file-icon-color, var(--trees-icon-blue));\n --trees-file-icon-color-cpp: var(--trees-file-icon-color, var(--trees-icon-blue));\n --trees-file-icon-color-claude: var(--trees-file-icon-color, var(--trees-icon-orange));\n --trees-file-icon-color-css: var(--trees-file-icon-color, var(--trees-icon-indigo));\n --trees-file-icon-color-database: var(--trees-file-icon-color, var(--trees-icon-purple));\n --trees-file-icon-color-docker: var(--trees-file-icon-color, var(--trees-icon-blue));\n --trees-file-icon-color-eslint: var(--trees-file-icon-color, var(--trees-icon-indigo));\n --trees-file-icon-color-git: var(--trees-file-icon-vermilion, var(--trees-icon-vermilion));\n --trees-file-icon-color-go: var(--trees-file-icon-color, var(--trees-icon-cyan));\n --trees-file-icon-color-graphql: var(--trees-file-icon-color, var(--trees-icon-pink));\n --trees-file-icon-color-html: var(--trees-file-icon-color, var(--trees-icon-orange));\n --trees-file-icon-color-image: var(--trees-file-icon-color, var(--trees-icon-pink));\n --trees-file-icon-color-javascript: var(--trees-file-icon-color, var(--trees-icon-yellow));\n --trees-file-icon-color-json: var(--trees-file-icon-color, var(--trees-icon-orange));\n --trees-file-icon-color-markdown: var(--trees-file-icon-color, var(--trees-icon-green));\n --trees-file-icon-color-mcp: var(--trees-file-icon-color, var(--trees-icon-teal));\n --trees-file-icon-color-npm: var(--trees-file-icon-color, var(--trees-icon-red));\n --trees-file-icon-color-oxc: var(--trees-file-icon-cyan, var(--trees-icon-cyan));\n --trees-file-icon-color-postcss: var(--trees-file-icon-color, var(--trees-icon-red));\n --trees-file-icon-color-prettier: var(--trees-file-icon-color, var(--trees-icon-teal));\n --trees-file-icon-color-python: var(--trees-file-icon-color, var(--trees-icon-blue));\n --trees-file-icon-color-react: var(--trees-file-icon-color, var(--trees-icon-cyan));\n --trees-file-icon-color-ruby: var(--trees-file-icon-color, var(--trees-icon-red));\n --trees-file-icon-color-rust: var(--trees-file-icon-color, var(--trees-icon-orange));\n --trees-file-icon-color-sass: var(--trees-file-icon-color, var(--trees-icon-pink));\n --trees-file-icon-color-svg: var(--trees-file-icon-color, var(--trees-icon-orange));\n --trees-file-icon-color-svelte: var(--trees-file-icon-color, var(--trees-icon-red));\n --trees-file-icon-color-svgo: var(--trees-file-icon-color, var(--trees-icon-green));\n --trees-file-icon-color-swift: var(--trees-file-icon-color, var(--trees-icon-orange));\n --trees-file-icon-color-table: var(--trees-file-icon-color, var(--trees-icon-teal));\n --trees-file-icon-color-text: var(--trees-file-icon-color, var(--trees-icon-gray));\n --trees-file-icon-color-tailwind: var(--trees-file-icon-color, var(--trees-icon-cyan));\n --trees-file-icon-color-terraform: var(--trees-file-icon-color, var(--trees-icon-indigo));\n --trees-file-icon-color-typescript: var(--trees-file-icon-color, var(--trees-icon-blue));\n --trees-file-icon-color-vite: var(--trees-file-icon-color, var(--trees-icon-purple));\n --trees-file-icon-color-vscode: var(--trees-file-icon-color, var(--trees-icon-blue));\n --trees-file-icon-color-vue: var(--trees-file-icon-color, var(--trees-icon-green));\n --trees-file-icon-color-wasm: var(--trees-file-icon-color, var(--trees-icon-indigo));\n --trees-file-icon-color-webpack: var(--trees-file-icon-color, var(--trees-icon-blue));\n --trees-file-icon-color-yml: var(--trees-file-icon-color, var(--trees-icon-red));\n --trees-file-icon-color-zig: var(--trees-file-icon-color, var(--trees-icon-orange));\n --trees-file-icon-color-zip: var(--trees-file-icon-color, var(--trees-icon-orange));\n --trees-level-gap: var(--trees-level-gap-override, calc(8px * var(--trees-density)));\n --trees-item-padding-x: var(--trees-item-padding-x-override, calc(8px * var(--trees-density)));\n --trees-item-margin-x: var(--trees-item-margin-x-override, calc(2px * var(--trees-density)));\n --trees-item-row-gap: var(--trees-item-row-gap-override, calc(6px * var(--trees-density)));\n --trees-icon-width: var(--trees-icon-width-override, 16px);\n --trees-icon-nudge: var(--trees-icon-nudge-override, calc(1px * var(--trees-density)));\n --trees-row-height: var(--trees-item-height, 30px);\n --trees-git-lane-width: var(--trees-git-lane-width-override, 12px);\n --trees-action-lane-width: var(--trees-action-lane-width-override, calc(var(--trees-icon-width) + 2px));\n --trees-context-menu-trigger-inline-offset: calc(var(--trees-padding-inline) + var(--trees-item-padding-x) -\n var(--trees-focus-ring-width));\n --trees-scrollbar-gutter: var(--trees-scrollbar-gutter-override, 6px);\n --trees-padding-inline: var(--trees-padding-inline-override, 16px);\n color-scheme: light dark;\n font-size: var(--trees-font-size);\n color: var(--trees-fg);\n background-color: var(--trees-bg);\n --truncate-marker-background-color: var(--trees-bg);\n --truncate-marker-background-overlay-color: transparent;\n font-family: var(--trees-font-family);\n font-weight: var(--trees-font-weight-regular);\n flex-direction: column;\n display: flex;\n }\n\n :host([data-file-tree-virtualized=\"true\"]) {\n height: 100%;\n overflow: hidden;\n }\n\n [data-file-tree-virtualized-wrapper=\"true\"], [data-file-tree-virtualized-root=\"true\"] {\n flex-direction: column;\n height: 100%;\n display: flex;\n overflow: hidden;\n }\n\n [data-file-tree-virtualized-scroll=\"true\"], [data-file-tree-scrollbar-measure=\"true\"] {\n --trees-scrollbar-thumb-current: transparent;\n scrollbar-gutter: stable;\n overflow-y: auto;\n\n &:hover {\n --trees-scrollbar-thumb-current: var(--trees-scrollbar-thumb);\n }\n\n &::-webkit-scrollbar {\n width: var(--trees-scrollbar-gutter);\n height: var(--trees-scrollbar-gutter);\n }\n\n &::-webkit-scrollbar-track {\n background: none;\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: var(--trees-scrollbar-thumb-current);\n border-radius: calc(var(--trees-scrollbar-gutter) / 2);\n background-clip: content-box;\n border: 1px solid #0000;\n }\n\n &::-webkit-scrollbar-corner {\n background-color: #0000;\n }\n }\n\n [data-file-tree-scrollbar-measure=\"true\"] {\n visibility: hidden;\n pointer-events: none;\n width: 100px;\n height: 100px;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n @supports ((-moz-appearance: none)) {\n [data-file-tree-virtualized-scroll=\"true\"], [data-file-tree-scrollbar-measure=\"true\"] {\n scrollbar-width: thin;\n scrollbar-color: var(--trees-scrollbar-thumb-current) transparent;\n }\n }\n\n [data-file-tree-virtualized-scroll=\"true\"] {\n min-height: 0;\n padding-inline: max(calc(var(--trees-padding-inline) - var(--trees-item-margin-x)),\n 0px)\n /* NOTE(amadeus): We can assume that all Webkit based browser gutters\n * will align to the value of '--trees-scrollbar-gutter', however if not, then\n * `--trees-scrollbar-gutter-measured` should correct it. Mostly we are\n * hoping to avoid SSR alignment jumps if possible. In non-SSR'd environments\n * `--trees-scrollbar-gutter-measured` should always be immediately available.\n */\n max(calc(var(--trees-padding-inline) - var(--trees-item-margin-x) -\n var(--trees-scrollbar-gutter-measured, var(--trees-scrollbar-gutter))),\n 0px);\n flex: 1 1 0;\n position: relative;\n overflow-y: auto;\n }\n\n @supports ((-moz-appearance: none)) {\n [data-file-tree-virtualized-scroll=\"true\"] {\n padding-inline: max(calc(var(--trees-padding-inline) - var(--trees-item-margin-x)),\n 0px)\n /* NOTE(amadeus): However on Firefox it can vary a little bit, but most\n * likely the majority of cases will default to a 0px width scrollbar lets\n * inherit that first to avoid SSR jumps. In non-SSR'd environments\n * `--trees-scrollbar-gutter-measured` should always be immediately available.\n */\n max(calc(var(--trees-padding-inline) - var(--trees-item-margin-x) -\n var(--trees-scrollbar-gutter-measured, 0px)),\n 0px);\n }\n }\n\n [data-file-tree-sticky-overlay=\"true\"] {\n z-index: 4;\n pointer-events: none;\n height: 0;\n position: sticky;\n top: 0;\n overflow: visible;\n }\n\n [data-file-tree-virtualized-root=\"true\"][data-scroll-at-top=\"true\"]:not([data-overlay-reveal]) [data-file-tree-sticky-overlay=\"true\"] {\n visibility: hidden;\n }\n\n [data-file-tree-sticky-overlay-content=\"true\"] {\n background-color: var(--trees-bg);\n pointer-events: none;\n position: relative;\n }\n\n [data-file-tree-virtualized-list=\"true\"] {\n background-color: var(--trees-bg);\n overflow-anchor: none;\n width: 100%;\n min-height: 100%;\n position: relative;\n\n &[data-is-scrolling] {\n pointer-events: none;\n }\n }\n\n [data-file-tree-virtualized-sticky-offset=\"true\"] {\n contain: layout size;\n }\n\n [data-file-tree-virtualized-sticky=\"true\"] {\n isolation: isolate;\n will-change: transform;\n flex-direction: column;\n width: 100%;\n display: flex;\n position: sticky;\n top: 0;\n }\n\n [data-file-tree-search-container] {\n padding: 0;\n padding-inline: var(--trees-padding-inline);\n margin-bottom: var(--trees-item-row-gap);\n display: flex;\n }\n\n [data-file-tree-search-input] {\n --trees-focus-ring-width: 2px;\n font-family: var(--trees-font-family);\n font-size: var(--trees-font-size);\n height: var(--trees-row-height);\n padding-inline: var(--trees-item-padding-x);\n line-height: var(--trees-row-height);\n color: var(--trees-search-fg);\n background-color: var(--trees-search-bg);\n border: 1px solid var(--trees-border-color);\n border-radius: var(--trees-border-radius);\n outline: none;\n flex: 1;\n margin-block: 1px;\n\n &::placeholder {\n color: color-mix(in lab,\n var(--trees-search-fg) 65%,\n var(--trees-search-bg));\n }\n\n &:focus-visible, &[data-file-tree-search-input-fake-focus=\"true\"] {\n outline: var(--trees-focus-ring-width) solid var(--trees-focus-ring-color);\n outline-offset: var(--trees-focus-ring-offset);\n }\n }\n\n [role=\"tree\"] {\n gap: var(--trees-gap-override, 0);\n flex-direction: column;\n display: flex;\n position: relative;\n }\n\n [data-type=\"item\"] {\n color: inherit;\n font-family: var(--trees-font-family);\n font-size: var(--trees-font-size);\n text-align: start;\n background-color: var(--trees-bg);\n padding: 0 var(--trees-item-padding-x);\n margin: 0 var(--trees-item-margin-x);\n cursor: pointer;\n user-select: none;\n -webkit-touch-callout: none;\n touch-action: manipulation;\n flex: 0 0 var(--trees-row-height);\n height: var(--trees-row-height);\n line-height: var(--trees-row-height);\n align-items: center;\n gap: var(--trees-item-row-gap);\n border-radius: var(--trees-border-radius);\n --truncate-marker-background-color: var(--trees-bg);\n --truncate-marker-background-overlay-color: transparent;\n --truncate-marker-block-inset: 0px;\n border: none;\n outline: none;\n display: flex;\n position: relative;\n\n &:hover, &[data-item-context-hover=\"true\"] {\n background-color: var(--trees-bg-muted);\n --truncate-marker-background-overlay-color: var(--trees-bg-muted);\n }\n\n &[data-item-focused=\"true\"], &:focus-visible {\n z-index: 2;\n\n & [data-item-flattened-subitems] {\n --truncate-marker-block-inset: var(--trees-focus-ring-width);\n }\n\n &:before {\n content: \"\";\n border-radius: var(--trees-border-radius);\n outline: var(--trees-focus-ring-width) solid\n var(--trees-focus-ring-color);\n outline-offset: var(--trees-focus-ring-offset);\n pointer-events: none;\n display: block;\n position: absolute;\n inset: 0;\n }\n\n &[data-item-selected=\"true\"]:before {\n outline-color: var(--trees-selected-focused-border-color);\n }\n }\n\n &[data-item-selected=\"true\"] {\n color: var(--trees-selected-fg);\n background-color: var(--trees-selected-bg);\n --truncate-marker-background-overlay-color: var(--trees-selected-bg);\n z-index: 3;\n\n & [data-item-section=\"icon\"] {\n color: var(--trees-selected-fg);\n }\n }\n\n &[data-item-search-match=\"true\"] {\n font-weight: var(--trees-search-font-weight);\n }\n }\n\n [data-type=\"item\"][data-file-tree-sticky-row=\"true\"] {\n pointer-events: auto;\n }\n\n [data-file-tree-virtualized-root=\"true\"][data-is-scrolling] [data-type=\"item\"][data-file-tree-sticky-row=\"true\"] {\n pointer-events: none;\n }\n\n [data-file-tree-virtualized-root=\"true\"][data-is-scrolling] [data-type=\"item\"][data-file-tree-sticky-row=\"true\"]:hover:not([data-item-selected=\"true\"]), [data-file-tree-virtualized-root=\"true\"][data-is-scrolling] [data-type=\"item\"][data-file-tree-sticky-row=\"true\"][data-item-context-hover=\"true\"]:not([data-item-selected=\"true\"]) {\n background-color: var(--trees-bg);\n --truncate-marker-background-overlay-color: transparent;\n }\n\n [data-item-selected=\"true\"]:has( + [data-item-selected=\"true\"]) {\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n }\n\n [data-item-selected=\"true\"] + [data-item-selected=\"true\"] {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n }\n\n [data-item-flattened-subitems] {\n align-items: center;\n gap: 2px;\n display: inline-flex;\n }\n\n [data-item-flattened-subitem]:hover, [data-item-flattened-subitem-drag-target=\"true\"] {\n text-decoration: underline;\n }\n\n [data-item-section=\"icon\"] {\n color: var(--trees-fg-muted);\n fill: currentColor;\n width: var(--trees-icon-width);\n flex-shrink: 0;\n justify-content: center;\n align-items: center;\n display: flex;\n }\n\n :where([data-item-section=\"icon\"] > [data-icon-token]) {\n color: var(--trees-fg-muted);\n }\n\n [data-file-tree-colored-icons=\"true\"] {\n & [data-icon-token=\"astro\"] {\n color: var(--trees-file-icon-color-astro);\n }\n\n & [data-icon-token=\"babel\"] {\n color: var(--trees-file-icon-color-babel);\n }\n\n & [data-icon-token=\"bash\"] {\n color: var(--trees-file-icon-color-bash);\n }\n\n & [data-icon-token=\"biome\"] {\n color: var(--trees-file-icon-color-biome);\n }\n\n & [data-icon-token=\"bootstrap\"] {\n color: var(--trees-file-icon-color-bootstrap);\n }\n\n & [data-icon-token=\"browserslist\"] {\n color: var(--trees-file-icon-color-browserslist);\n }\n\n & [data-icon-token=\"bun\"] {\n color: var(--trees-file-icon-color-bun);\n }\n\n & [data-icon-token=\"c\"] {\n color: var(--trees-file-icon-color-c);\n }\n\n & [data-icon-token=\"cpp\"] {\n color: var(--trees-file-icon-color-cpp);\n }\n\n & [data-icon-token=\"claude\"] {\n color: var(--trees-file-icon-color-claude);\n }\n\n & [data-icon-token=\"css\"] {\n color: var(--trees-file-icon-color-css);\n }\n\n & [data-icon-token=\"database\"] {\n color: var(--trees-file-icon-color-database);\n }\n\n & [data-icon-token=\"default\"] {\n color: var(--trees-file-icon-color-default);\n }\n\n & [data-icon-token=\"docker\"] {\n color: var(--trees-file-icon-color-docker);\n }\n\n & [data-icon-token=\"eslint\"] {\n color: var(--trees-file-icon-color-eslint);\n }\n\n & [data-icon-token=\"git\"] {\n color: var(--trees-file-icon-color-git);\n }\n\n & [data-icon-token=\"go\"] {\n color: var(--trees-file-icon-color-go);\n }\n\n & [data-icon-token=\"graphql\"] {\n color: var(--trees-file-icon-color-graphql);\n }\n\n & [data-icon-token=\"html\"] {\n color: var(--trees-file-icon-color-html);\n }\n\n & [data-icon-token=\"image\"] {\n color: var(--trees-file-icon-color-image);\n }\n\n & [data-icon-token=\"javascript\"] {\n color: var(--trees-file-icon-color-javascript);\n }\n\n & [data-icon-token=\"json\"] {\n color: var(--trees-file-icon-color-json);\n }\n\n & [data-icon-token=\"markdown\"] {\n color: var(--trees-file-icon-color-markdown);\n }\n\n & [data-icon-token=\"mcp\"] {\n color: var(--trees-file-icon-color-mcp);\n }\n\n & [data-icon-token=\"npm\"] {\n color: var(--trees-file-icon-color-npm);\n }\n\n & [data-icon-token=\"oxc\"] {\n color: var(--trees-file-icon-color-oxc);\n }\n\n & [data-icon-token=\"postcss\"] {\n color: var(--trees-file-icon-color-postcss);\n }\n\n & [data-icon-token=\"prettier\"] {\n color: var(--trees-file-icon-color-prettier);\n }\n\n & [data-icon-token=\"python\"] {\n color: var(--trees-file-icon-color-python);\n }\n\n & [data-icon-token=\"react\"] {\n color: var(--trees-file-icon-color-react);\n }\n\n & [data-icon-token=\"ruby\"] {\n color: var(--trees-file-icon-color-ruby);\n }\n\n & [data-icon-token=\"rust\"] {\n color: var(--trees-file-icon-color-rust);\n }\n\n & [data-icon-token=\"sass\"] {\n color: var(--trees-file-icon-color-sass);\n }\n\n & [data-icon-token=\"svg\"] {\n color: var(--trees-file-icon-color-svg);\n }\n\n & [data-icon-token=\"svelte\"] {\n color: var(--trees-file-icon-color-svelte);\n }\n\n & [data-icon-token=\"svgo\"] {\n color: var(--trees-file-icon-color-svgo);\n }\n\n & [data-icon-token=\"swift\"] {\n color: var(--trees-file-icon-color-swift);\n }\n\n & [data-icon-token=\"table\"] {\n color: var(--trees-file-icon-color-table);\n }\n\n & [data-icon-token=\"text\"] {\n color: var(--trees-file-icon-color-text);\n }\n\n & [data-icon-token=\"tailwind\"] {\n color: var(--trees-file-icon-color-tailwind);\n }\n\n & [data-icon-token=\"terraform\"] {\n color: var(--trees-file-icon-color-terraform);\n }\n\n & [data-icon-token=\"typescript\"] {\n color: var(--trees-file-icon-color-typescript);\n }\n\n & [data-icon-token=\"vite\"] {\n color: var(--trees-file-icon-color-vite);\n }\n\n & [data-icon-token=\"vscode\"] {\n color: var(--trees-file-icon-color-vscode);\n }\n\n & [data-icon-token=\"vue\"] {\n color: var(--trees-file-icon-color-vue);\n }\n\n & [data-icon-token=\"wasm\"] {\n color: var(--trees-file-icon-color-wasm);\n }\n\n & [data-icon-token=\"webpack\"] {\n color: var(--trees-file-icon-color-webpack);\n }\n\n & [data-icon-token=\"yml\"] {\n color: var(--trees-file-icon-color-yml);\n }\n\n & [data-icon-token=\"zig\"] {\n color: var(--trees-file-icon-color-zig);\n }\n\n & [data-icon-token=\"zip\"] {\n color: var(--trees-file-icon-color-zip);\n }\n }\n\n [data-icon-name=\"file-tree-icon-chevron\"] {\n &[data-align-capitals=\"false\"] {\n transform: translate(0, var(--trees-icon-nudge));\n }\n\n &[data-align-capitals=\"true\"] {\n transform: translate(0);\n }\n }\n\n [data-item-section=\"content\"] {\n text-align: start;\n text-overflow: ellipsis;\n flex: 0 auto;\n min-width: 0;\n max-width: 100%;\n overflow: hidden;\n }\n\n [data-item-section=\"decoration\"] {\n text-align: end;\n min-width: 0;\n color: var(--trees-fg-muted);\n flex: 1 1 0;\n justify-content: flex-end;\n display: flex;\n overflow: hidden;\n }\n\n [data-item-section=\"decoration\"] > span {\n text-overflow: ellipsis;\n white-space: nowrap;\n justify-content: flex-end;\n align-items: center;\n min-width: 0;\n max-width: 100%;\n display: inline-flex;\n overflow: hidden;\n }\n\n [data-item-section=\"git\"], [data-item-section=\"action\"] {\n flex: none;\n justify-content: center;\n align-items: center;\n display: flex;\n }\n\n [data-item-section=\"git\"] {\n width: var(--trees-git-lane-width);\n }\n\n [data-item-section=\"action\"] {\n width: var(--trees-action-lane-width);\n color: var(--trees-fg-muted);\n fill: currentColor;\n pointer-events: none;\n }\n\n [data-item-section=\"git\"] > span, [data-item-section=\"action\"] > span {\n justify-content: center;\n align-items: center;\n width: 100%;\n display: inline-flex;\n }\n\n [data-item-action-affordance=\"decorative\"] {\n opacity: .85;\n }\n\n [data-item-rename-input] {\n appearance: none;\n width: 100%;\n min-width: 0;\n height: calc(var(--trees-row-height) - 4px);\n font-family: inherit;\n font-size: inherit;\n color: inherit;\n box-sizing: border-box;\n background-color: #0000;\n border: 0;\n outline: none;\n padding-inline: 6px;\n }\n\n [data-item-section=\"content\"]:has([data-item-rename-input]) ~ [data-item-section=\"action\"], [data-item-section=\"content\"]:has([data-item-rename-input]) ~ [data-item-section=\"decoration\"] {\n display: none;\n }\n\n [aria-expanded=\"false\"][data-item-type=\"folder\"] > [data-item-section=\"icon\"] > [data-icon-name=\"file-tree-icon-chevron\"] {\n &[data-align-capitals=\"true\"] {\n transform: rotate(-90deg)\n translate(calc(var(--trees-icon-nudge) / 2),\n calc(var(--trees-icon-nudge) / 2));\n }\n\n &[data-align-capitals=\"false\"] {\n transform: rotate(-90deg)\n translate(calc(var(--trees-icon-nudge) / 2 * -1),\n calc(var(--trees-icon-nudge) / 2));\n }\n }\n\n [data-item-section=\"spacing\"] {\n height: var(--trees-row-height);\n padding-left: calc(calc(var(--trees-icon-width) / 2) - .5px);\n flex-direction: row;\n justify-content: center;\n align-items: center;\n display: flex;\n\n &:empty {\n padding-left: 0;\n }\n }\n\n [data-item-section=\"spacing-item\"] {\n border-left: 1px solid var(--trees-indent-guide-bg);\n height: 100%;\n margin-right: calc(var(--trees-level-gap) - 1px);\n opacity: 0;\n transition: opacity .15s;\n display: inline-block;\n transform: translateX(-.25px);\n\n & + & {\n margin-left: calc(var(--trees-item-row-gap) + calc(var(--trees-icon-width) / 2) - .5px);\n }\n }\n\n :host(:hover) [data-item-section=\"spacing-item\"] {\n opacity: .75;\n }\n\n [data-item-contains-git-change=\"true\"] > [data-item-section=\"git\"] {\n color: var(--trees-git-modified-color);\n opacity: .5;\n fill: currentColor;\n }\n\n [data-item-git-status] {\n & > :where([data-item-section=\"icon\"]) > :where(:not([data-icon-name=\"file-tree-icon-chevron\"])), & > [data-item-section=\"content\"] {\n color: var(--trees-item-git-status-color);\n }\n\n & > [data-item-section=\"git\"] {\n color: var(--trees-item-git-status-color);\n font-weight: var(--trees-font-weight-semibold);\n }\n }\n\n [data-item-git-status=\"added\"] {\n --trees-item-git-status-color: var(--trees-git-added-color);\n }\n\n [data-item-git-status=\"deleted\"] {\n --trees-item-git-status-color: var(--trees-git-deleted-color);\n }\n\n [data-item-git-status=\"ignored\"] {\n --trees-item-git-status-color: var(--trees-git-ignored-color);\n\n & > [data-item-section=\"icon\"] {\n opacity: .5;\n }\n }\n\n [data-item-section=\"git\"] [data-icon-name=\"file-tree-icon-dot\"] {\n transform: translateY(calc(.65ex - 50%));\n }\n\n [data-item-git-status=\"modified\"] {\n --trees-item-git-status-color: var(--trees-git-modified-color);\n }\n\n [data-item-git-status=\"renamed\"] {\n --trees-item-git-status-color: var(--trees-git-renamed-color);\n }\n\n [data-item-git-status=\"untracked\"] {\n --trees-item-git-status-color: var(--trees-git-untracked-color);\n }\n\n [data-item-drag-target=\"true\"] {\n background-color: var(--trees-selected-bg);\n }\n\n [data-item-dragging=\"true\"] {\n opacity: .5;\n }\n\n [data-item-section=\"lock\"] {\n color: var(--trees-fg-muted);\n flex: none;\n align-items: center;\n margin-left: auto;\n display: flex;\n }\n\n [data-item-section=\"lock\"] svg {\n display: block;\n }\n\n [data-type=\"header-slot\"] {\n flex: none;\n display: block;\n }\n\n [data-type=\"context-menu-wash\"] {\n z-index: 3;\n touch-action: none;\n background-color: #0000;\n position: absolute;\n inset: 0;\n }\n\n [data-type=\"context-menu-anchor\"] {\n top: 0;\n right: var(--trees-context-menu-trigger-inline-offset);\n z-index: 4;\n align-items: center;\n display: none;\n position: absolute;\n\n &[data-visible=\"true\"] {\n display: flex;\n }\n }\n\n [data-file-tree-virtualized-root=\"true\"][data-is-scrolling] [data-type=\"context-menu-anchor\"] {\n display: none;\n }\n\n [data-type=\"context-menu-anchor\"] > slot[name=\"context-menu\"] {\n flex: 0 0 0;\n width: 0;\n min-width: 0;\n display: block;\n overflow: visible;\n }\n\n [data-type=\"context-menu-trigger\"] {\n all: unset;\n width: var(--trees-action-lane-width);\n color: var(--trees-fg-muted);\n fill: currentColor;\n cursor: pointer;\n font-family: var(--trees-font-family);\n font-size: var(--trees-font-size);\n border-top-right-radius: var(--trees-border-radius);\n border-bottom-right-radius: var(--trees-border-radius);\n margin: var(--trees-focus-ring-width);\n height: calc(var(--trees-row-height) - var(--trees-focus-ring-width) * 2);\n border-width: 0;\n justify-content: center;\n align-items: center;\n transition: color .12s;\n display: flex;\n }\n\n [data-type=\"context-menu-trigger\"]:hover, [data-type=\"context-menu-trigger\"][aria-expanded=\"true\"] {\n color: var(--trees-fg);\n }\n\n [data-truncate-container] {\n --truncate-internal-marker-fade-width: var(--truncate-marker-fade-width, 2px);\n --truncate-internal-marker-gap: var(--truncate-marker-gap, 0px);\n --truncate-internal-marker-opacity: var(--truncate-marker-opacity, 50%);\n --truncate-internal-middle-marker-opacity: var(--truncate-middle-marker-opacity, 80%);\n --truncate-internal-marker-background-color: var(--truncate-marker-background-color, light-dark(#fff, #000));\n --truncate-internal-marker-background-overlay-color: var(--truncate-marker-background-overlay-color, transparent);\n --truncate-internal-marker-block-inset: var(--truncate-marker-block-inset, 0px);\n --truncate-internal-marker-fade-out-duration: var(--truncate-marker-fade-out-duration, 0s);\n --truncate-internal-marker-fade-in-duration: var(--truncate-marker-fade-in-duration, .1s);\n --truncate-internal-fade-marker-color: var(--truncate-fade-marker-color, #000);\n --truncate-internal-fade-marker-width: var(--truncate-fade-marker-width, .2lh);\n --truncate-internal-single-line-height: 1lh;\n height: var(--truncate-internal-single-line-height);\n min-width: 0;\n margin-top: -1px;\n margin-bottom: -1px;\n overflow: hidden;\n }\n\n [data-truncate-marker] {\n height: var(--truncate-internal-single-line-height);\n padding-block: var(--truncate-internal-marker-block-inset);\n box-sizing: border-box;\n z-index: 2;\n color: color-mix(in srgb,\n currentColor var(--truncate-internal-marker-opacity),\n transparent);\n opacity: 0;\n transition: opacity var(--truncate-internal-marker-fade-out-duration)\n ease-in-out;\n background-clip: content-box;\n align-items: center;\n display: flex;\n position: absolute;\n }\n\n @container measure (height > 1lh) {\n [data-truncate-marker] {\n opacity: 1;\n transition: opacity var(--truncate-internal-marker-fade-in-duration)\n ease-in-out;\n }\n }\n\n [data-truncate-grid] {\n display: grid;\n position: relative;\n }\n\n [data-truncate-content=\"visible\"] {\n white-space: nowrap;\n }\n\n [data-truncate-content=\"overflow\"] {\n opacity: 0;\n pointer-events: none;\n user-select: none;\n word-break: break-all;\n margin-top: calc(-1 * var(--truncate-internal-single-line-height));\n }\n\n [data-truncate-marker-cell] {\n user-select: none;\n pointer-events: none;\n overflow: visible;\n container: measure / size;\n }\n\n [data-truncate-container=\"truncate\"] {\n & [data-truncate-grid] {\n grid-template-columns: minmax(0, max-content) 0;\n }\n\n & [data-truncate-marker] {\n right: 0;\n }\n\n & [data-truncate-fade] {\n margin-right: calc(-2 * var(--truncate-internal-fade-marker-width));\n }\n }\n\n [data-truncate-container=\"fruncate\"] {\n & [data-truncate-grid] {\n grid-template-columns: 0 minmax(0, max-content) auto;\n }\n\n & [data-truncate-content] {\n direction: rtl;\n }\n\n & [data-truncate-content] > span {\n unicode-bidi: plaintext;\n }\n\n & [data-truncate-fade] {\n margin-left: calc(-2 * var(--truncate-internal-fade-marker-width));\n }\n }\n\n [data-truncate-variant=\"default\"] {\n & [data-truncate-marker] {\n background-color: var(--truncate-internal-marker-background-color);\n background-image: linear-gradient(var(--truncate-internal-marker-background-overlay-color),\n var(--truncate-internal-marker-background-overlay-color));\n }\n\n & [data-truncate-marker]:after, & [data-truncate-marker]:before {\n content: \"\";\n width: calc(var(--truncate-internal-marker-fade-width) +\n var(--truncate-internal-marker-gap));\n height: max(0px,\n calc(var(--truncate-internal-single-line-height) -\n var(--truncate-internal-marker-block-inset) * 2));\n background-color: var(--truncate-internal-marker-background-color);\n background-image: linear-gradient(var(--truncate-internal-marker-background-overlay-color),\n var(--truncate-internal-marker-background-overlay-color));\n -webkit-mask-image: linear-gradient(var(--truncate-internal-fade-dir),\n #000 0%,\n #000 var(--truncate-internal-marker-gap),\n transparent 100%);\n mask-image: linear-gradient(var(--truncate-internal-fade-dir),\n #000 0%,\n #000 var(--truncate-internal-marker-gap),\n transparent 100%);\n position: absolute;\n inset-block-start: var(--truncate-internal-marker-block-inset);\n }\n\n & [data-truncate-marker]:after {\n --truncate-internal-fade-dir: to right;\n right: calc(-1 *\n (\n var(--truncate-internal-marker-fade-width) +\n var(--truncate-internal-marker-gap)\n ));\n }\n\n & [data-truncate-marker]:before {\n --truncate-internal-fade-dir: to left;\n left: calc(-1 *\n (\n var(--truncate-internal-marker-fade-width) +\n var(--truncate-internal-marker-gap)\n ));\n }\n }\n\n [data-truncate-variant=\"fade\"] {\n & [data-truncate-marker] {\n background: none;\n }\n }\n\n [data-truncate-fade] {\n box-shadow: 0 0 calc(var(--truncate-internal-fade-marker-width) / 2)\n var(--truncate-internal-fade-marker-color),\n 0 0 var(--truncate-internal-fade-marker-width)\n var(--truncate-internal-fade-marker-color);\n width: calc(var(--truncate-internal-fade-marker-width) * 2);\n height: calc(var(--truncate-internal-single-line-height) -\n (var(--truncate-internal-fade-marker-width) * 2));\n margin: var(--truncate-internal-fade-marker-width) 0;\n }\n\n [data-truncate-group-container=\"middle\"] {\n & [data-truncate-container] {\n --truncate-marker-opacity: var(--truncate-internal-middle-marker-opacity);\n }\n\n min-width: 0;\n display: flex;\n\n & > div {\n min-width: 0;\n }\n\n & > div[data-truncate-segment-priority=\"1\"] {\n flex: 0 1 max-content;\n }\n\n & > div[data-truncate-segment-priority=\"2\"] {\n flex: 0 999999 max-content;\n }\n }\n}\n\n@layer theme, unsafe;\n"},1232,[]);
35
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"escapeStyleTextForHtml",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"wrapCoreCSS",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"wrapUnsafeCSS",{enumerable:!0,get:function(){return c}});const n=/<\/style/gi,t="@layer base, unsafe;";function u(n){return`${t}\n@layer base {\n ${n}\n}`}function c(n){return`${t}\n@layer unsafe {\n ${n}\n}`}function o(t){return t.replace(n,"<\\/style")}},1233,[]);
36
- __d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"FileTreeContainerLoaded",{enumerable:!0,get:function(){return p}}),Object.defineProperty(_e,"adoptDeclarativeShadowDom",{enumerable:!0,get:function(){return S}}),Object.defineProperty(_e,"ensureFileTreeStyles",{enumerable:!0,get:function(){return s}}),Object.defineProperty(_e,"prepareFileTreeShadowRoot",{enumerable:!0,get:function(){return f}});var e,t=r(d[0]),o=r(d[1]),n=(e=o)&&e.__esModule?e:{default:e},l=r(d[2]),c=r(d[3]);let u;function s(e){if("undefined"!=typeof CSSStyleSheet&&"function"==typeof CSSStyleSheet.prototype.replaceSync&&"adoptedStyleSheets"in e){null==u&&(u=new CSSStyleSheet,u.replaceSync((0,l.wrapCoreCSS)(n.default)));let o=!1;try{e.adoptedStyleSheets=[u],o=!0}catch{}if(o)return void e.querySelector(`style[${t.FILE_TREE_STYLE_ATTRIBUTE}]`)?.remove()}if(null==e.querySelector("style[data-file-tree-style]")){const o=document.createElement("style");o.setAttribute(t.FILE_TREE_STYLE_ATTRIBUTE,""),o.textContent=(0,l.wrapCoreCSS)(n.default),e.prepend(o)}}function f(e,t){S(e,t),s(t),(0,c.ensureMeasuredScrollbarGutter)(e,t)}function S(e,t){const o=e.querySelector("template[shadowrootmode=\"open\"], template[data-file-tree-shadowrootmode=\"open\"]");o instanceof HTMLTemplateElement&&(t.childNodes.length>0||(t.appendChild(o.content.cloneNode(!0)),o.hasAttribute("shadowrootmode")&&o.remove()))}if("undefined"!=typeof HTMLElement&&null==customElements.get("file-tree-container")){class e extends HTMLElement{constructor(){super()}connectedCallback(){f(this,this.shadowRoot??this.attachShadow({mode:"open"}))}}if(customElements.define(t.FILE_TREE_TAG_NAME,e),"undefined"!=typeof document)for(const e of Array.from(document.querySelectorAll(t.FILE_TREE_TAG_NAME)))e instanceof HTMLElement&&f(e,e.shadowRoot??e.attachShadow({mode:"open"}))}const p=!0},1234,[1202,1232,1233,1235]);
37
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"ensureMeasuredScrollbarGutter",{enumerable:!0,get:function(){return o}});var t=r(d[0]);const n=new WeakMap;function E(E){const o=n.get(E);if(null!=o)return o;const c=document.createElement("div");c.setAttribute(t.FILE_TREE_SCROLLBAR_MEASURE_ATTRIBUTE,"true");const l=document.createElement("div");l.style.position="relative",l.style.height="200%",c.appendChild(l),E.appendChild(c);const s=Math.max(c.offsetWidth-c.clientWidth,0);return c.remove(),n.set(E,s),s}function o(n,o){if(!n.isConnected)return;const c=E(o);if(null==c)return;const l=o.querySelector(`style[${t.FILE_TREE_SCROLLBAR_GUTTER_STYLE_ATTRIBUTE}]`),s=l instanceof HTMLStyleElement?l:document.createElement("style");l instanceof HTMLStyleElement||(s.setAttribute(t.FILE_TREE_SCROLLBAR_GUTTER_STYLE_ATTRIBUTE,""),o.appendChild(s)),s.textContent=`:host { ${t.FILE_TREE_SCROLLBAR_GUTTER_MEASURED_PROPERTY}: ${c}px; }`}},1235,[1202]);
38
- __d(function(g,r,i,a,m,_e,d){"use strict";const t=["dragAndDrop","fileTreeSearchMode","initialSearchQuery","initialSelectedPaths","renaming","onSearchChange","paths","preparedInput"];var e,l,u,s,n,h,f,o,c,p,P,b,y,v,S,I,j,O,w,x,D,E,C,M,V,F,R,A,B,T,z,k,L,_,N,q,H,K,W,Q,$,G,J,U,X,Y,Z,tt,et,lt,at,it,ut,st,nt,dt,ht,rt,ft,ot,ct,pt,Pt,gt,bt,yt,vt,mt,St,It,jt,Ot,wt,xt,Dt,Et,Ct,Mt,Vt,Ft,Rt,At,Bt,Tt,zt,kt,Lt,_t,Nt,qt,Ht,Kt,Wt,Qt,$t;function Gt(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"FILE_TREE_RENAME_VIEW",{enumerable:!0,get:function(){return se}}),Object.defineProperty(_e,"FileTreeController",{enumerable:!0,get:function(){return he}});var Jt=Gt(r(d[0])),Ut=Gt(r(d[1])),Xt=Gt(r(d[2])),Yt=r(d[3]);r(d[4]);var Zt=r(d[5]),te=r(d[6]),ee=r(d[7]),le=r(d[8]),ae=r(d[9]),ie=r(d[10]),ue=r(d[11]);const se=Symbol("FILE_TREE_RENAME_VIEW");function ne(t,e,l){if(0===t)return-1;if(null!=l){const t=e(l);if(null!=t)return t;const u=(0,ae.getAncestorDirectoryPaths)(l);for(let t=u.length-1;t>=0;t-=1){const l=u[t];if(null==l)continue;const s=e(l);if(null!=s)return s}}return 0}function de(t,e,l){if(0===t.paths.length)return{focusedIndex:-1,getParentIndex:t.getParentIndex,paths:t.paths,posInSetByIndex:t.posInSetByIndex,setSizeByIndex:t.setSizeByIndex};if(null==e)return{focusedIndex:0,getParentIndex:t.getParentIndex,paths:t.paths,posInSetByIndex:t.posInSetByIndex,setSizeByIndex:t.setSizeByIndex};const u=l??(e=>t.visibleIndexByPath.get(e)??null);return{focusedIndex:ne(t.paths.length,u,e),getParentIndex:t.getParentIndex,paths:t.paths,posInSetByIndex:t.posInSetByIndex,setSizeByIndex:t.setSizeByIndex}}var he=(l=(0,Xt.default)("baseOptions"),u=(0,Xt.default)("listeners"),s=(0,Xt.default)("mutationListeners"),n=(0,Xt.default)("dragAndDropConfig"),h=(0,Xt.default)("dragSession"),f=(0,Xt.default)("ancestorIndicesByIndex"),o=(0,Xt.default)("ancestorPathsByIndex"),c=(0,Xt.default)("focusedIndex"),p=(0,Xt.default)("focusedPath"),P=(0,Xt.default)("hasFullProjection"),b=(0,Xt.default)("getParentIndexForVisibleRow"),y=(0,Xt.default)("itemHandles"),v=(0,Xt.default)("knownDirectoryPaths"),S=(0,Xt.default)("knownDirectoryPathsLowerCase"),I=(0,Xt.default)("knownPaths"),j=(0,Xt.default)("listedPaths"),O=(0,Xt.default)("listedPathsLowerCase"),w=(0,Xt.default)("onRename"),x=(0,Xt.default)("onRenameError"),D=(0,Xt.default)("onSearchChange"),E=(0,Xt.default)("projectionPaths"),C=(0,Xt.default)("projectionPosInSetByIndex"),M=(0,Xt.default)("projectionSetSizeByIndex"),V=(0,Xt.default)("renameCanRename"),F=(0,Xt.default)("renameEnabled"),R=(0,Xt.default)("renamingPath"),A=(0,Xt.default)("renamingValue"),B=(0,Xt.default)("removeRenamingPathIfCanceled"),T=(0,Xt.default)("searchMatchPathSet"),z=(0,Xt.default)("searchMatchingPaths"),k=(0,Xt.default)("searchMode"),L=(0,Xt.default)("searchPreviousExpandedPaths"),_=(0,Xt.default)("searchValue"),N=(0,Xt.default)("searchVisiblePathSet"),q=(0,Xt.default)("searchVisibleIndexByPath"),H=(0,Xt.default)("searchVisibleIndices"),K=(0,Xt.default)("searchVisiblePaths"),W=(0,Xt.default)("scrollRequest"),Q=(0,Xt.default)("scrollRequestId"),$=(0,Xt.default)("selectionAnchorPath"),G=(0,Xt.default)("selectedPaths"),J=(0,Xt.default)("selectionVersion"),U=(0,Xt.default)("store"),X=(0,Xt.default)("storeVisibleCount"),Y=(0,Xt.default)("suppressStoreNotifications"),Z=(0,Xt.default)("visibleCount"),tt=(0,Xt.default)("unsubscribe"),et=(0,Xt.default)("cancelRenaming"),lt=(0,Xt.default)("completeRenaming"),at=(0,Xt.default)("setRenamingValue"),it=(0,Xt.default)("findNearestVisibleSiblingPath"),ut=(0,Xt.default)("resolveFocusedIndex"),st=(0,Xt.default)("getOrCreateItemHandle"),nt=(0,Xt.default)("createVisibleRow"),dt=(0,Xt.default)("createVisibleRowFromContext"),ht=(0,Xt.default)("getStickyCandidateContextAt"),rt=(0,Xt.default)("getAncestorIndices"),ft=(0,Xt.default)("getAncestorPaths"),ot=(0,Xt.default)("collapseDirectory"),ct=(0,Xt.default)("applySelection"),pt=(0,Xt.default)("createDirectoryHandle"),Pt=(0,Xt.default)("createFileHandle"),gt=(0,Xt.default)("validateBatchDropOperations"),bt=(0,Xt.default)("createStore"),yt=(0,Xt.default)("getListedPaths"),vt=(0,Xt.default)("getAllKnownPaths"),mt=(0,Xt.default)("getListedPathsLowerCase"),St=(0,Xt.default)("getAllKnownDirectoryPaths"),It=(0,Xt.default)("getAllKnownDirectoryPathsLowerCase"),jt=(0,Xt.default)("invalidateKnownPathCaches"),Ot=(0,Xt.default)("getExpandedDirectoryPaths"),wt=(0,Xt.default)("restoreSearchExpandedPaths"),xt=(0,Xt.default)("setExpandedPaths"),Dt=(0,Xt.default)("syncSearchVisibilityState"),Et=(0,Xt.default)("getCurrentVisiblePaths"),Ct=(0,Xt.default)("getExactCurrentVisibleIndexByPath"),Mt=(0,Xt.default)("getProjectionIndexFromVisibleIndex"),Vt=(0,Xt.default)("getVisibleIndexByPath"),Ft=(0,Xt.default)("focusRelativeSearchMatch"),Rt=(0,Xt.default)("setSearchState"),At=(0,Xt.default)("refreshActiveSearchState"),Bt=(0,Xt.default)("emit"),Tt=(0,Xt.default)("emitMutation"),zt=(0,Xt.default)("expandDirectory"),kt=(0,Xt.default)("moveFocus"),Lt=(0,Xt.default)("rebuildVisibleProjection"),_t=(0,Xt.default)("resolveVisiblePathAtIndex"),Nt=(0,Xt.default)("resolveSelectionPath"),qt=(0,Xt.default)("focusPathWithoutEmit"),Ht=(0,Xt.default)("setFocusedIndex"),Kt=(0,Xt.default)("ensureFullProjection"),Wt=(0,Xt.default)("applyMutationState"),Qt=(0,Xt.default)("subscribe"),$t=(0,Xt.default)("toggleDirectory"),e=class{constructor(e){Object.defineProperty(this,$t,{value:al}),Object.defineProperty(this,Qt,{value:ll}),Object.defineProperty(this,Wt,{value:el}),Object.defineProperty(this,Kt,{value:tl}),Object.defineProperty(this,Ht,{value:Ze}),Object.defineProperty(this,qt,{value:Ye}),Object.defineProperty(this,Nt,{value:Xe}),Object.defineProperty(this,_t,{value:Ue}),Object.defineProperty(this,Lt,{value:Je}),Object.defineProperty(this,kt,{value:Ge}),Object.defineProperty(this,zt,{value:$e}),Object.defineProperty(this,Tt,{value:Qe}),Object.defineProperty(this,Bt,{value:We}),Object.defineProperty(this,At,{value:Ke}),Object.defineProperty(this,Rt,{value:He}),Object.defineProperty(this,Ft,{value:qe}),Object.defineProperty(this,Vt,{value:Ne}),Object.defineProperty(this,Mt,{value:Le}),Object.defineProperty(this,Ct,{value:ke}),Object.defineProperty(this,Et,{value:ze}),Object.defineProperty(this,Dt,{value:Te}),Object.defineProperty(this,xt,{value:Be}),Object.defineProperty(this,wt,{value:Ae}),Object.defineProperty(this,Ot,{value:Re}),Object.defineProperty(this,jt,{value:Fe}),Object.defineProperty(this,It,{value:Ve}),Object.defineProperty(this,St,{value:Me}),Object.defineProperty(this,mt,{value:Ce}),Object.defineProperty(this,vt,{value:Ee}),Object.defineProperty(this,yt,{value:De}),Object.defineProperty(this,bt,{value:xe}),Object.defineProperty(this,gt,{value:we}),Object.defineProperty(this,Pt,{value:Oe}),Object.defineProperty(this,pt,{value:je}),Object.defineProperty(this,ct,{value:Ie}),Object.defineProperty(this,ot,{value:Se}),Object.defineProperty(this,ft,{value:me}),Object.defineProperty(this,rt,{value:ve}),Object.defineProperty(this,ht,{value:ye}),Object.defineProperty(this,dt,{value:be}),Object.defineProperty(this,nt,{value:ge}),Object.defineProperty(this,st,{value:Pe}),Object.defineProperty(this,ut,{value:pe}),Object.defineProperty(this,it,{value:ce}),Object.defineProperty(this,at,{value:oe}),Object.defineProperty(this,lt,{value:fe}),Object.defineProperty(this,et,{value:re}),Object.defineProperty(this,l,{writable:!0,value:void 0}),Object.defineProperty(this,u,{writable:!0,value:new Set}),Object.defineProperty(this,s,{writable:!0,value:new Map}),Object.defineProperty(this,n,{writable:!0,value:null}),Object.defineProperty(this,h,{writable:!0,value:null}),Object.defineProperty(this,f,{writable:!0,value:new Map}),Object.defineProperty(this,o,{writable:!0,value:new Map}),Object.defineProperty(this,c,{writable:!0,value:-1}),Object.defineProperty(this,p,{writable:!0,value:null}),Object.defineProperty(this,P,{writable:!0,value:!1}),Object.defineProperty(this,b,{writable:!0,value:t=>-1}),Object.defineProperty(this,y,{writable:!0,value:new Map}),Object.defineProperty(this,v,{writable:!0,value:null}),Object.defineProperty(this,S,{writable:!0,value:null}),Object.defineProperty(this,I,{writable:!0,value:null}),Object.defineProperty(this,j,{writable:!0,value:null}),Object.defineProperty(this,O,{writable:!0,value:null}),Object.defineProperty(this,w,{writable:!0,value:void 0}),Object.defineProperty(this,x,{writable:!0,value:void 0}),Object.defineProperty(this,D,{writable:!0,value:void 0}),Object.defineProperty(this,E,{writable:!0,value:[]}),Object.defineProperty(this,C,{writable:!0,value:new Int32Array(0)}),Object.defineProperty(this,M,{writable:!0,value:new Int32Array(0)}),Object.defineProperty(this,V,{writable:!0,value:void 0}),Object.defineProperty(this,F,{writable:!0,value:!1}),Object.defineProperty(this,R,{writable:!0,value:null}),Object.defineProperty(this,A,{writable:!0,value:""}),Object.defineProperty(this,B,{writable:!0,value:!1}),Object.defineProperty(this,T,{writable:!0,value:new Set}),Object.defineProperty(this,z,{writable:!0,value:[]}),Object.defineProperty(this,k,{writable:!0,value:void 0}),Object.defineProperty(this,L,{writable:!0,value:null}),Object.defineProperty(this,_,{writable:!0,value:null}),Object.defineProperty(this,N,{writable:!0,value:null}),Object.defineProperty(this,q,{writable:!0,value:null}),Object.defineProperty(this,H,{writable:!0,value:null}),Object.defineProperty(this,K,{writable:!0,value:null}),Object.defineProperty(this,W,{writable:!0,value:null}),Object.defineProperty(this,Q,{writable:!0,value:0}),Object.defineProperty(this,$,{writable:!0,value:null}),Object.defineProperty(this,G,{writable:!0,value:new Set}),Object.defineProperty(this,J,{writable:!0,value:0}),Object.defineProperty(this,U,{writable:!0,value:void 0}),Object.defineProperty(this,X,{writable:!0,value:0}),Object.defineProperty(this,Y,{writable:!0,value:!1}),Object.defineProperty(this,Z,{writable:!0,value:0}),Object.defineProperty(this,tt,{writable:!0,value:void 0});const{dragAndDrop:Gt,fileTreeSearchMode:Xt,initialSearchQuery:Yt,initialSelectedPaths:Zt,renaming:te,onSearchChange:le,paths:ae,preparedInput:ie}=e,ue=(0,Jt.default)(e,t),se=(0,ee.resolveFileTreeInput)({paths:ae,preparedInput:ie},"constructor",ue.sort);(0,Ut.default)(this,l)[l]=ue,null!=Gt&&!1!==Gt&&((0,Ut.default)(this,n)[n]=!0===Gt?{}:Gt),(0,Ut.default)(this,F)[F]=null!=te&&!1!==te,null!=te&&!1!==te&&!0!==te&&((0,Ut.default)(this,V)[V]=te.canRename,(0,Ut.default)(this,x)[x]=te.onError,(0,Ut.default)(this,w)[w]=te.onRename),(0,Ut.default)(this,D)[D]=le,(0,Ut.default)(this,k)[k]=Xt??"hide-non-matches",(0,Ut.default)(this,U)[U]=(0,Ut.default)(this,bt)[bt](se.paths,se.preparedInput);const ne=Zt?.map(t=>(0,Ut.default)(this,Nt)[Nt](t)).filter(t=>null!=t)??[],de=ne.at(-1)??null;ne.length>0&&((0,Ut.default)(this,G)[G]=new Set(ne),(0,Ut.default)(this,$)[$]=de,(0,Ut.default)(this,J)[J]=1),(0,Ut.default)(this,Lt)[Lt](de,!1),null!=Yt&&(0,Ut.default)(this,Rt)[Rt](Yt,!1),(0,Ut.default)(this,tt)[tt]=(0,Ut.default)(this,Qt)[Qt]()}destroy(){(0,Ut.default)(this,tt)[tt]?.(),(0,Ut.default)(this,tt)[tt]=null,(0,Ut.default)(this,s)[s].clear(),(0,Ut.default)(this,u)[u].clear(),(0,Ut.default)(this,y)[y].clear(),(0,Ut.default)(this,h)[h]=null,(0,Ut.default)(this,jt)[jt]()}focusFirstItem(){(0,Ut.default)(this,Et)[Et]().length>0&&(0,Ut.default)(this,Ht)[Ht](0)}focusLastItem(){(0,Ut.default)(this,Z)[Z]<=0||((0,Ut.default)(this,Kt)[Kt](),(0,Ut.default)(this,Ht)[Ht]((0,Ut.default)(this,Z)[Z]-1))}focusNextItem(){(0,Ut.default)(this,kt)[kt](1)}focusParentItem(){if(null==(0,Ut.default)(this,p)[p])return;const t=(0,ae.getImmediateParentPath)((0,Ut.default)(this,p)[p]);if(null==t)return;const e=(0,Ut.default)(this,ut)[ut](t);e>=0&&(0,Ut.default)(this,Ht)[Ht](e)}focusPath(t){const e=(0,Ut.default)(this,U)[U].getPathInfo(t)?.path??null;if(null==e)return;(0,Ut.default)(this,Kt)[Kt]();const l=(0,Ut.default)(this,ut)[ut](e);l>=0&&(0,Ut.default)(this,Ht)[Ht](l)}scrollToPath(t,e){const l=(0,Ut.default)(this,U)[U].getPathInfo(t)?.path??null;if(null==l)return;(0,Ut.default)(this,Kt)[Kt]();const u=(0,Ut.default)(this,Ct)[Ct](l);var s;u<0||null!=(0,Ut.default)(this,_t)[_t](u)&&(!1!==e?.focus&&(0,Ut.default)(this,Ht)[Ht](u,!1),(0,Ut.default)(this,W)[W]={id:(0,Ut.default)(this,Q)[Q]+=1,offset:(s=e?.offset,"top"===s||"center"===s?s:"nearest"),visibleIndex:u},(0,Ut.default)(this,Bt)[Bt]())}focusMountedPathFromInput(t){const e=(0,Ut.default)(this,U)[U].getPathInfo(t)?.path??null;if(null==e)return;const l=(0,Ut.default)(this,ut)[ut](e);l>=0&&(0,Ut.default)(this,Ht)[Ht](l)}focusNearestPath(t){const e=this.resolveNearestVisiblePath(t);if(null==e)return null;const l=(0,Ut.default)(this,ut)[ut](e);return l>=0?((0,Ut.default)(this,Ht)[Ht](l),(0,Ut.default)(this,Et)[Et]()[l]??e):null}focusPreviousItem(){(0,Ut.default)(this,kt)[kt](-1)}getFocusedIndex(){return(0,Ut.default)(this,c)[c]}getFocusedItem(){return null==(0,Ut.default)(this,p)[p]?null:(0,Ut.default)(this,st)[st]((0,Ut.default)(this,p)[p])}getFocusedPath(){return(0,Ut.default)(this,p)[p]}getScrollRequest(){return(0,Ut.default)(this,W)[W]}clearScrollRequest(t){(0,Ut.default)(this,W)[W]?.id===t&&((0,Ut.default)(this,W)[W]=null)}resolveNearestVisiblePath(t){const e=(0,Ut.default)(this,Et)[Et]();if(0===(0,Ut.default)(this,Z)[Z])return null;if(null==t)return(0,Ut.default)(this,p)[p]??e[0]??null;const l=(0,Ut.default)(this,U)[U].getPathInfo(t)?.path??t,u=(0,Ut.default)(this,ut)[ut](l);if(u>=0)return e[u]??l;const s=(0,Ut.default)(this,it)[it](l);return null!=s?s:(0,Ut.default)(this,p)[p]??e[0]??null}getSelectedPaths(){return[...(0,Ut.default)(this,G)[G]]}getSelectionVersion(){return(0,Ut.default)(this,J)[J]}getVisibleCount(){return(0,Ut.default)(this,Z)[Z]}getVisibleRows(t,e){if(e<t||0===(0,Ut.default)(this,Z)[Z])return[];const l=Math.max(0,t),u=Math.min((0,Ut.default)(this,Z)[Z]-1,e);if(u<l)return[];const s=u-l+1;if(null==(0,Ut.default)(this,H)[H]&&!(0,Ut.default)(this,P)[P]&&u>=(0,Ut.default)(this,E)[E].length&&s<=512){const t=[];for(let e=l;e<=u;e+=1){const l=(0,Ut.default)(this,U)[U].getVisibleRowContext(e);if(null==l)break;t.push((0,Ut.default)(this,dt)[dt](l))}return t}if(!(0,Ut.default)(this,P)[P]&&u>=(0,Ut.default)(this,E)[E].length&&(0,Ut.default)(this,Kt)[Kt](),null!=(0,Ut.default)(this,H)[H]){const t=Array.from({length:u-l+1},(t,e)=>(0,Ut.default)(this,Mt)[Mt](l+e)),e=new Map;let s=t[0]??-1,n=s;for(let l=1;l<=t.length;l+=1){const u=t[l];null==u||u!==n+1?(s>=0&&(0,Ut.default)(this,U)[U].getVisibleSlice(s,n).forEach((t,l)=>{e.set(s+l,t)}),null!=u?(s=u,n=u):(s=-1,n=-1)):n=u}return Array.from({length:u-l+1},(t,u)=>{const s=l+u,n=(0,Ut.default)(this,Mt)[Mt](s),h=e.get(n),f=(0,Ut.default)(this,E)[E][n];if(null==h||null==f)throw new Error(`Missing projection row for filtered visible index ${String(s)}`);return(0,Ut.default)(this,nt)[nt](h,s,n,{ancestorPaths:(0,Ut.default)(this,ft)[ft](n),path:f})})}return(0,Ut.default)(this,U)[U].getVisibleSlice(l,u).map((t,e)=>{const u=l+e,s=(0,Ut.default)(this,E)[E][u];if(null==s)throw new Error(`Missing projection path for visible index ${String(u)}`);return(0,Ut.default)(this,nt)[nt](t,u,u,{ancestorPaths:(0,Ut.default)(this,ft)[ft](u),path:s})})}getStickyRowCandidates(t,e){if(null!=(0,Ut.default)(this,H)[H])return null;if(0===(0,Ut.default)(this,Z)[Z]||t<=0||e<=0)return[];const l=[];for(let u=0;u<(0,Ut.default)(this,Z)[Z];u+=1){const s=t+u*e,n=Math.min((0,Ut.default)(this,Z)[Z]-1,Math.floor(s/e)),h=(0,Ut.default)(this,ht)[ht](n,u)??(n>0?(0,Ut.default)(this,ht)[ht](n-1,u):void 0);if(null==h)break;l.push({row:(0,Ut.default)(this,dt)[dt](h),subtreeEndIndex:h.subtreeEndIndex})}return l}getItem(t){const e=(0,Ut.default)(this,U)[U].getPathInfo(t);return null==e?null:(0,Ut.default)(this,st)[st](e.path,e)}resolveMountedDirectoryPathFromInput(t){const e=(0,Ut.default)(this,U)[U].getPathInfo(t);return"directory"===e?.kind?e.path:null}toggleMountedDirectoryFromInput(t){const e=this.resolveMountedDirectoryPathFromInput(t);null!=e&&(0,Ut.default)(this,$t)[$t](e)}selectAllVisiblePaths(){(0,Ut.default)(this,Kt)[Kt]();const t=[...(0,Ut.default)(this,Et)[Et]()];(0,Ut.default)(this,ct)[ct](t,(0,Ut.default)(this,p)[p]??(0,Ut.default)(this,$)[$])}selectOnlyPath(t){const e=(0,Ut.default)(this,Nt)[Nt](t);null!=e&&(0,Ut.default)(this,ct)[ct]([e],e)}selectOnlyMountedPathFromInput(t){(0,Ut.default)(this,ct)[ct]([t],t)}selectPath(t){const e=(0,Ut.default)(this,Nt)[Nt](t);null==e||(0,Ut.default)(this,G)[G].has(e)||(0,Ut.default)(this,ct)[ct]([...(0,Ut.default)(this,G)[G],e])}deselectPath(t){const e=(0,Ut.default)(this,Nt)[Nt](t);null!=e&&(0,Ut.default)(this,G)[G].has(e)&&(0,Ut.default)(this,ct)[ct]([...(0,Ut.default)(this,G)[G]].filter(t=>t!==e))}toggleFocusedSelection(){null!=(0,Ut.default)(this,p)[p]&&this.togglePathSelectionFromInput((0,Ut.default)(this,p)[p])}togglePathSelection(t){const e=(0,Ut.default)(this,Nt)[Nt](t);null!=e&&((0,Ut.default)(this,G)[G].has(e)?this.deselectPath(e):this.selectPath(e))}togglePathSelectionFromInput(t){const e=(0,Ut.default)(this,Nt)[Nt](t);null!=e&&((0,Ut.default)(this,G)[G].has(e)?(0,Ut.default)(this,ct)[ct]([...(0,Ut.default)(this,G)[G]].filter(t=>t!==e),e):(0,Ut.default)(this,ct)[ct]([...(0,Ut.default)(this,G)[G],e],e))}selectPathRange(t,e){const l=(0,Ut.default)(this,Nt)[Nt](t);if(null==l)return;(0,Ut.default)(this,Kt)[Kt]();const u=(0,Ut.default)(this,$)[$],s=null==u?-1:(0,Ut.default)(this,Vt)[Vt](u),n=(0,Ut.default)(this,Vt)[Vt](l);if(-1===s||-1===n){const t=e?[...(0,Ut.default)(this,G)[G],l]:[l];return void(0,Ut.default)(this,ct)[ct](t,l)}const[h,f]=s<=n?[s,n]:[n,s],o=(0,Ut.default)(this,Et)[Et]().slice(h,f+1),c=e?[...(0,Ut.default)(this,G)[G],...o]:o;(0,Ut.default)(this,ct)[ct](c,u)}extendSelectionFromFocused(t){if(null==(0,Ut.default)(this,p)[p])return;const e=(0,Ut.default)(this,c)[c];if(-1===e)return;const l=Math.min((0,Ut.default)(this,Z)[Z]-1,Math.max(0,e+t));if(l===e)return;!(0,Ut.default)(this,P)[P]&&l>=(0,Ut.default)(this,E)[E].length&&(0,Ut.default)(this,Kt)[Kt]();const u=(0,Ut.default)(this,Et)[Et](),s=u[e]??null,n=u[l]??null;if(null==s||null==n)return;const h=new Set((0,Ut.default)(this,G)[G]);h.has(s)&&h.has(n)?h.delete(s):h.add(n),(0,Ut.default)(this,ct)[ct]([...h],(0,Ut.default)(this,$)[$]??s,!1),(0,Ut.default)(this,Ht)[Ht](l)}getDragAndDropConfig(){return(0,Ut.default)(this,n)[n]}isDragAndDropEnabled(){return null!=(0,Ut.default)(this,n)[n]}getDragSession(){return null==(0,Ut.default)(this,h)[h]?null:{draggedPaths:[...(0,Ut.default)(this,h)[h].draggedPaths],primaryPath:(0,Ut.default)(this,h)[h].primaryPath,target:null==(0,Ut.default)(this,h)[h].target?null:Object.assign({},(0,Ut.default)(this,h)[h].target)}}startDrag(t){if(null==(0,Ut.default)(this,n)[n])return!1;const e=(0,Ut.default)(this,Nt)[Nt](t);if(null==e)return!1;if(null!=(0,Ut.default)(this,_)[_]&&(0,Ut.default)(this,_)[_].length>0)return!1;const l=this.getSelectedPaths(),u=(0,te.resolveDraggedPathsForStart)(e,l);return!1!==(0,Ut.default)(this,n)[n].canDrag?.(u)&&(l.includes(e)||(0,Ut.default)(this,ct)[ct]([e],e,!1),(0,Ut.default)(this,qt)[qt](e),(0,Ut.default)(this,h)[h]={draggedPaths:u,primaryPath:e,target:null},(0,Ut.default)(this,Bt)[Bt](),!0)}setDragTarget(t){const e=(0,Ut.default)(this,h)[h];if(null==e)return;let l=t;if(null!=l){const t=(0,te.createDropContext)(e.draggedPaths,l);((0,te.isSelfOrDescendantDrop)(e.draggedPaths,l)||!1===(0,Ut.default)(this,n)[n]?.canDrop?.(t))&&(l=null)}(0,te.dropTargetsEqual)(e.target,l)||((0,Ut.default)(this,h)[h]=Object.assign({},e,{target:l}),(0,Ut.default)(this,Bt)[Bt]())}cancelDrag(){null!=(0,Ut.default)(this,h)[h]&&((0,Ut.default)(this,h)[h]=null,(0,Ut.default)(this,Bt)[Bt]())}completeDrag(){const t=(0,Ut.default)(this,h)[h];if(null==t)return!1;(0,Ut.default)(this,h)[h]=null;const e=null==t.target?null:Object.assign({},t.target);if(null==e)return(0,Ut.default)(this,Bt)[Bt](),!1;const l=(0,te.createDropContext)(t.draggedPaths,e);if((0,te.isSelfOrDescendantDrop)(t.draggedPaths,e)||!1===(0,Ut.default)(this,n)[n]?.canDrop?.(l))return(0,Ut.default)(this,Bt)[Bt](),!1;const u=(0,te.buildDropOperations)(t.draggedPaths,e);if(null==u)return(0,Ut.default)(this,Bt)[Bt](),!1;try{if(1===u.operations.length){const t=u.operations[0];if(null==t||"move"!==t.type)throw new Error("Expected a single move operation for one-item drops");(0,Ut.default)(this,U)[U].move(t.from,t.to,{collision:t.collision})}else(0,Ut.default)(this,gt)[gt](u.operations),(0,Ut.default)(this,U)[U].batch(u.operations)}catch(t){return(0,Ut.default)(this,Bt)[Bt](),(0,Ut.default)(this,n)[n]?.onDropError?.(t instanceof Error?t.message:String(t),l),!1}return(0,Ut.default)(this,n)[n]?.onDropComplete?.(u.result),!0}subscribe(t){return(0,Ut.default)(this,u)[u].add(t),t(),()=>{(0,Ut.default)(this,u)[u].delete(t)}}add(t){(0,Ut.default)(this,U)[U].add(t)}remove(t,e={}){(0,Ut.default)(this,U)[U].remove(t,e)}move(t,e,l={}){(0,Ut.default)(this,U)[U].move(t,e,l)}batch(t){(0,Ut.default)(this,U)[U].batch(t)}onMutation(t,e){const l=t,u=e;let n=(0,Ut.default)(this,s)[s].get(l);return null==n&&(n=new Set,(0,Ut.default)(this,s)[s].set(l,n)),n.add(u),()=>{const t=(0,Ut.default)(this,s)[s].get(l);t?.delete(u),0===t?.size&&(0,Ut.default)(this,s)[s].delete(l)}}setSearch(t){(0,Ut.default)(this,Rt)[Rt](t,!0)}openSearch(t=""){(0,Ut.default)(this,Rt)[Rt](t,!0)}closeSearch(){(0,Ut.default)(this,Rt)[Rt](null,!0)}isSearchOpen(){return null!==(0,Ut.default)(this,_)[_]}getSearchValue(){return(0,Ut.default)(this,_)[_]??""}getSearchMatchingPaths(){return(0,Ut.default)(this,z)[z]}focusNextSearchMatch(){(0,Ut.default)(this,Ft)[Ft](1)}focusPreviousSearchMatch(){(0,Ut.default)(this,Ft)[Ft](-1)}startRenaming(t=(0,Ut.default)(this,p)[p]??"",e={}){if(!(0,Ut.default)(this,F)[F])return!1;const l=(0,Ut.default)(this,U)[U].getPathInfo(t);if(null==l)return!1;const u=l.path,s=(0,ae.isCanonicalDirectoryPath)(u),n=(0,ie.toRenameHelperPath)(u);if(!1===(0,Ut.default)(this,V)[V]?.({isFolder:s,path:n}))return!1;for(const t of(0,ae.getAncestorDirectoryPaths)(u))(0,Ut.default)(this,U)[U].isExpanded(t)||(0,Ut.default)(this,U)[U].expand(t);return(0,Ut.default)(this,ct)[ct]([u],u,!1),null!=(0,Ut.default)(this,_)[_]&&((0,Ut.default)(this,Rt)[Rt](null,!1),(0,Ut.default)(this,D)[D]?.((0,Ut.default)(this,_)[_])),(0,Ut.default)(this,qt)[qt](u),(0,Ut.default)(this,R)[R]=u,(0,Ut.default)(this,A)[A]=(0,ie.getRenameLeafName)(u),(0,Ut.default)(this,B)[B]=e.removeIfCanceled??!1,(0,Ut.default)(this,Bt)[Bt](),!0}resetPaths(t,e={}){const u=!Array.isArray(t),s=u?void 0:t,n=u?t:e,h=(0,Ut.default)(this,U)[U].list().length,f=(0,Ut.default)(this,Z)[Z],o=(0,ee.resolveFileTreeInput)({paths:s,preparedInput:n.preparedInput},"resetPaths",(0,Ut.default)(this,l)[l].sort),c=(0,Ut.default)(this,bt)[bt](o.paths,o.preparedInput,n.initialExpandedPaths),P=(0,Ut.default)(this,p)[p],b=(0,Ut.default)(this,R)[R],v=this.getSelectedPaths(),S=(0,Ut.default)(this,$)[$];(0,Ut.default)(this,tt)[tt]?.(),(0,Ut.default)(this,U)[U]=c,(0,Ut.default)(this,y)[y].clear(),(0,Ut.default)(this,jt)[jt]();const I=v.map(t=>c.getPathInfo(t)?.path??null).filter(t=>null!=t),j=!(0,ae.arePathSetsEqual)((0,Ut.default)(this,G)[G],I);(0,Ut.default)(this,G)[G]=new Set(I),j&&((0,Ut.default)(this,J)[J]+=1),(0,Ut.default)(this,$)[$]=null==S?null:c.getPathInfo(S)?.path??null,(0,Ut.default)(this,R)[R]=null==b?null:c.getPathInfo(b)?.path??null,null==(0,Ut.default)(this,R)[R]&&((0,Ut.default)(this,A)[A]="",(0,Ut.default)(this,B)[B]=!1),(0,Ut.default)(this,Lt)[Lt](P,null!=P||I.length>0||null!=(0,Ut.default)(this,$)[$]),(0,Ut.default)(this,tt)[tt]=(0,Ut.default)(this,Qt)[Qt](),(0,Ut.default)(this,Bt)[Bt](),(0,Ut.default)(this,Tt)[Tt]({canonicalChanged:!0,operation:"reset",pathCountAfter:o.paths.length,pathCountBefore:h,projectionChanged:!0,usedPreparedInput:null!=n.preparedInput,visibleCountDelta:(0,Ut.default)(this,Z)[Z]-f})}},Object.defineProperty(e.prototype,se,{configurable:!0,value(){return{cancel:()=>{(0,Ut.default)(this,et)[et]()},commit:()=>{(0,Ut.default)(this,lt)[lt]()},getPath:()=>(0,Ut.default)(this,R)[R],getValue:()=>(0,Ut.default)(this,A)[A],isActive:()=>null!=(0,Ut.default)(this,R)[R],setValue:t=>{(0,Ut.default)(this,at)[at](t)}}},writable:!0}),e);function re(){if(null==(0,Ut.default)(this,R)[R])return;const t=(0,Ut.default)(this,R)[R],e=(0,Ut.default)(this,B)[B];(0,Ut.default)(this,R)[R]=null,(0,Ut.default)(this,A)[A]="",(0,Ut.default)(this,B)[B]=!1,e?this.remove(t,(0,ae.isCanonicalDirectoryPath)(t)?{recursive:!0}:void 0):((0,Ut.default)(this,qt)[qt](t),(0,Ut.default)(this,Bt)[Bt]())}function fe(){const t=(0,Ut.default)(this,R)[R];if(null==t)return;if((0,Ut.default)(this,B)[B]&&0===(0,Ut.default)(this,A)[A].trim().length)return(0,Ut.default)(this,R)[R]=null,(0,Ut.default)(this,A)[A]="",(0,Ut.default)(this,B)[B]=!1,void this.remove(t,(0,ae.isCanonicalDirectoryPath)(t)?{recursive:!0}:void 0);const e=(0,ae.isCanonicalDirectoryPath)(t),l=(0,Zt.renameFileTreePaths)({files:(0,Ut.default)(this,U)[U].list(),isFolder:e,nextBasename:(0,Ut.default)(this,A)[A],path:(0,ie.toRenameHelperPath)(t)});return(0,Ut.default)(this,R)[R]=null,(0,Ut.default)(this,A)[A]="",(0,Ut.default)(this,B)[B]=!1,"error"in l?((0,Ut.default)(this,qt)[qt](t),(0,Ut.default)(this,x)[x]?.(l.error),void(0,Ut.default)(this,Bt)[Bt]()):l.sourcePath===l.destinationPath?((0,Ut.default)(this,qt)[qt](t),void(0,Ut.default)(this,Bt)[Bt]()):((0,Ut.default)(this,w)[w]?.({destinationPath:l.destinationPath,isFolder:l.isFolder,sourcePath:l.sourcePath}),void this.move((0,ie.toCanonicalRenamePath)(l.sourcePath,e),(0,ie.toCanonicalRenamePath)(l.destinationPath,e)))}function oe(t){null!=(0,Ut.default)(this,R)[R]&&(0,Ut.default)(this,A)[A]!==t&&((0,Ut.default)(this,A)[A]=t,(0,Ut.default)(this,Bt)[Bt]())}function ce(t){(0,Ut.default)(this,Kt)[Kt]();const e=(0,ae.getImmediateParentPath)(t),l=(0,ae.getSiblingComparisonKey)(t,e);let u=null,s=null;for(const t of(0,Ut.default)(this,Et)[Et]()){if((0,ae.getImmediateParentPath)(t)!==e)continue;const n=(0,ae.getSiblingComparisonKey)(t,e);if(n<l)u=t;else if(n>l){s=t;break}}return u??s}function pe(t){const e=(0,Ut.default)(this,Vt)[Vt](t);if(-1!==e)return e;const l=(0,ae.getAncestorDirectoryPaths)(t);for(let t=l.length-1;t>=0;t-=1){const e=l[t];if(null==e)continue;const u=(0,Ut.default)(this,Vt)[Vt](e);if(-1!==u)return u}return(0,Ut.default)(this,Et)[Et]().length>0?0:-1}function Pe(t,e){const l=(0,Ut.default)(this,y)[y].get(t);if(null!=l)return l;const u=e??(0,Ut.default)(this,U)[U].getPathInfo(t);if(null==u)return null;const s="directory"===u.kind?(0,Ut.default)(this,pt)[pt](u.path):(0,Ut.default)(this,Pt)[Pt](u.path);return(0,Ut.default)(this,y)[y].set(u.path,s),s}function ge(t,e,l,u){return{ancestorPaths:u.ancestorPaths,depth:t.depth,flattenedSegments:t.flattenedSegments?.map(t=>({isTerminal:t.isTerminal,name:t.name,path:t.path})),hasChildren:t.hasChildren,index:e,isExpanded:t.isExpanded,isFlattened:t.isFlattened,isFocused:u.path===(0,Ut.default)(this,p)[p],isSelected:(0,Ut.default)(this,G)[G].has(u.path),kind:t.kind,level:t.depth,name:t.name,path:u.path,posInSet:u.posInSet??(0,Ut.default)(this,C)[C][l]??0,setSize:u.setSize??(0,Ut.default)(this,M)[M][l]??0}}function be(t){return(0,Ut.default)(this,nt)[nt](t.row,t.index,t.index,{ancestorPaths:t.ancestorPaths,path:t.row.path,posInSet:t.posInSet,setSize:t.setSize})}function ye(t,e){const l=(0,Ut.default)(this,U)[U].getVisibleRowContext(t);if(null==l)return;const u=l.ancestorRows[e];return null!=u?u:e===l.ancestorRows.length&&"directory"===l.row.kind&&l.row.isExpanded?l:void 0}function ve(t){const e=(0,Ut.default)(this,f)[f].get(t);if(null!=e)return e;const l=(0,Ut.default)(this,b)[b](t),u=l<0?[]:[...(0,Ut.default)(this,rt)[rt](l),l];return(0,Ut.default)(this,f)[f].set(t,u),u}function me(t){const e=(0,Ut.default)(this,o)[o].get(t);if(null!=e)return e;const l=(0,Ut.default)(this,rt)[rt](t).map(t=>(0,Ut.default)(this,E)[E][t]??"").filter(t=>""!==t);return(0,Ut.default)(this,o)[o].set(t,l),l}function Se(t){(0,Ut.default)(this,U)[U].collapse(t)}function Ie(t,e=(0,Ut.default)(this,$)[$],l=!0){const u=[...new Set(t)],s=!(0,ae.arePathSetsEqual)((0,Ut.default)(this,G)[G],u),n=(0,Ut.default)(this,$)[$]!==e;(s||n)&&((0,Ut.default)(this,G)[G]=new Set(u),(0,Ut.default)(this,$)[$]=e,s&&((0,Ut.default)(this,J)[J]+=1),l&&(0,Ut.default)(this,Bt)[Bt]())}function je(t){return{collapse:()=>{(0,Ut.default)(this,ot)[ot](t)},deselect:()=>{this.deselectPath(t)},expand:()=>{(0,Ut.default)(this,zt)[zt](t)},focus:()=>{this.focusPath(t)},getPath:()=>t,isDirectory:()=>!0,isExpanded:()=>(0,Ut.default)(this,U)[U].isExpanded(t),isFocused:()=>(0,Ut.default)(this,p)[p]===t,isSelected:()=>(0,Ut.default)(this,G)[G].has(t),select:()=>{this.selectPath(t)},toggleSelect:()=>{this.togglePathSelection(t)},toggle:()=>{(0,Ut.default)(this,$t)[$t](t)}}}function Oe(t){return{deselect:()=>{this.deselectPath(t)},focus:()=>{this.focusPath(t)},getPath:()=>t,isDirectory:()=>!1,isFocused:()=>(0,Ut.default)(this,p)[p]===t,isSelected:()=>(0,Ut.default)(this,G)[G].has(t),select:()=>{this.selectPath(t)},toggleSelect:()=>{this.togglePathSelection(t)}}}function we(t){const e=(0,Ut.default)(this,U)[U].list();(0,Ut.default)(this,bt)[bt](e).batch(t)}function xe(t,e,u){return new Yt.PathStore(Object.assign({},(0,Ut.default)(this,l)[l],{paths:t,preparedInput:null==e?void 0:e},void 0!==u?{initialExpandedPaths:u}:{}))}function De(){return null!=(0,Ut.default)(this,j)[j]||((0,Ut.default)(this,j)[j]=(0,Ut.default)(this,U)[U].list()),(0,Ut.default)(this,j)[j]}function Ee(){if(null!=(0,Ut.default)(this,I)[I])return(0,Ut.default)(this,I)[I];const t=new Set;for(const e of(0,Ut.default)(this,yt)[yt]()){t.add(e);for(const l of(0,ae.getAncestorDirectoryPaths)(e))t.add(l)}return(0,Ut.default)(this,I)[I]=[...t].sort(),(0,Ut.default)(this,I)[I]}function Ce(){return null!=(0,Ut.default)(this,O)[O]||((0,Ut.default)(this,O)[O]=(0,Ut.default)(this,yt)[yt]().map(ae.toLowerCaseSearchPath)),(0,Ut.default)(this,O)[O]}function Me(){return null!=(0,Ut.default)(this,v)[v]||((0,Ut.default)(this,v)[v]=(0,Ut.default)(this,vt)[vt]().filter(t=>t.endsWith("/"))),(0,Ut.default)(this,v)[v]}function Ve(){return null!=(0,Ut.default)(this,S)[S]||((0,Ut.default)(this,S)[S]=(0,Ut.default)(this,St)[St]().map(ae.toLowerCaseSearchPath)),(0,Ut.default)(this,S)[S]}function Fe(){(0,Ut.default)(this,v)[v]=null,(0,Ut.default)(this,S)[S]=null,(0,Ut.default)(this,I)[I]=null,(0,Ut.default)(this,j)[j]=null,(0,Ut.default)(this,O)[O]=null}function Re(){return(0,Ut.default)(this,St)[St]().filter(t=>(0,Ut.default)(this,U)[U].isExpanded(t))}function Ae(t){const e=new Set((0,Ut.default)(this,L)[L]??[]);if(t)for(const t of(0,Ut.default)(this,G)[G])for(const l of(0,ae.getAncestorDirectoryPaths)(t))e.add(l);(0,Ut.default)(this,xt)[xt](e)}function Be(t){(0,Ut.default)(this,Y)[Y]=!0;try{for(const e of(0,Ut.default)(this,St)[St]()){const l=t.has(e),u=(0,Ut.default)(this,U)[U].isExpanded(e);l&&!u?(0,Ut.default)(this,U)[U].expand(e):!l&&u&&(0,Ut.default)(this,U)[U].collapse(e)}}finally{(0,Ut.default)(this,Y)[Y]=!1}}function Te(){if(null==(0,Ut.default)(this,_)[_]||0===(0,Ut.default)(this,_)[_].length)return(0,Ut.default)(this,z)[z]=[],(0,Ut.default)(this,H)[H]=null,(0,Ut.default)(this,K)[K]=null,(0,Ut.default)(this,q)[q]=null,void((0,Ut.default)(this,Z)[Z]=(0,Ut.default)(this,X)[X]);const t=(0,Ut.default)(this,E)[E];if((0,Ut.default)(this,z)[z]=t.filter(t=>(0,Ut.default)(this,T)[T].has(t)),"hide-non-matches"!==(0,Ut.default)(this,k)[k]||0===(0,Ut.default)(this,T)[T].size)return(0,Ut.default)(this,H)[H]=null,(0,Ut.default)(this,K)[K]=null,(0,Ut.default)(this,q)[q]=null,void((0,Ut.default)(this,Z)[Z]=(0,Ut.default)(this,X)[X]);const e=[],l=[],u=new Map;for(const[s,n]of t.entries())!0===(0,Ut.default)(this,N)[N]?.has(n)&&(u.set(n,l.length),e.push(s),l.push(n));(0,Ut.default)(this,H)[H]=e,(0,Ut.default)(this,K)[K]=l,(0,Ut.default)(this,q)[q]=u,(0,Ut.default)(this,Z)[Z]=l.length}function ze(){return(0,Ut.default)(this,K)[K]??(0,Ut.default)(this,E)[E]}function ke(t){return null!=(0,Ut.default)(this,K)[K]?(0,Ut.default)(this,q)[q]?.get(t)??-1:(0,Ut.default)(this,U)[U].getVisibleIndex(t)??-1}function Le(t){return(0,Ut.default)(this,H)[H]?.[t]??t}function Ne(t){const e=(0,Ut.default)(this,q)[q]?.get(t);return null!=e?e:(0,Ut.default)(this,U)[U].getVisibleIndex(t)??-1}function qe(t){const e=(0,Ut.default)(this,z)[z];if(0===e.length)return;const l=(0,Ut.default)(this,p)[p],u=null==l?-1:e.indexOf(l),s=e[u<0?t>0?0:e.length-1:Math.min(e.length-1,Math.max(0,u+t))];null!=s&&this.focusPath(s)}function He(t,e){const l=null==t?null:(0,ue.normalizeSearchQuery)(t),u=(0,Ut.default)(this,_)[_];if(u!==l){if(null==u&&null!=l&&((0,Ut.default)(this,L)[L]=(0,Ut.default)(this,Ot)[Ot]()),(0,Ut.default)(this,_)[_]=l,null==l)(0,Ut.default)(this,wt)[wt](!0),(0,Ut.default)(this,L)[L]=null,(0,Ut.default)(this,T)[T].clear(),(0,Ut.default)(this,N)[N]=null,(0,Ut.default)(this,Lt)[Lt]((0,Ut.default)(this,p)[p],!0);else if(0===l.length)(0,Ut.default)(this,wt)[wt](!1),(0,Ut.default)(this,T)[T].clear(),(0,Ut.default)(this,N)[N]=null,(0,Ut.default)(this,Lt)[Lt]((0,Ut.default)(this,p)[p],!0);else{const t=(0,Ut.default)(this,At)[At]();(0,Ut.default)(this,Lt)[Lt](t,!0)}e&&((0,Ut.default)(this,D)[D]?.((0,Ut.default)(this,_)[_]),(0,Ut.default)(this,Bt)[Bt]())}}function Ke(){if(null==(0,Ut.default)(this,_)[_]||0===(0,Ut.default)(this,_)[_].length)return(0,Ut.default)(this,T)[T].clear(),(0,Ut.default)(this,p)[p];const t=(0,Ut.default)(this,_)[_],e=(0,Ut.default)(this,yt)[yt](),l=(0,Ut.default)(this,mt)[mt](),u=[],s=new Set;let n=null;for(let h=0;h<e.length;h+=1){if(!l[h].includes(t))continue;const f=e[h];u.push(f),s.add(f),n??=f}const h=(0,Ut.default)(this,St)[St](),f=(0,Ut.default)(this,It)[It]();for(let e=0;e<h.length;e+=1){if(!f[e].includes(t))continue;const l=h[e];s.has(l)||(u.push(l),s.add(l),n??=l)}(0,Ut.default)(this,T)[T]=s;const o="hide-non-matches"===(0,Ut.default)(this,k)[k]&&u.length>0?new Set:null;(0,Ut.default)(this,N)[N]=o;const c="expand-matches"===(0,Ut.default)(this,k)[k]?new Set((0,Ut.default)(this,L)[L]??[]):new Set;for(const t of u){null!=o&&o.add(t),t.endsWith("/")&&c.add(t);for(const e of(0,ae.getAncestorDirectoryPaths)(t))c.add(e),null!=o&&o.add(e)}return(0,Ut.default)(this,xt)[xt](c),n??(0,Ut.default)(this,p)[p]}function We(){for(const t of(0,Ut.default)(this,u)[u])t()}function Qe(t){(0,Ut.default)(this,s)[s].get(t.operation)?.forEach(e=>{e(t)}),(0,Ut.default)(this,s)[s].get("*")?.forEach(e=>{e(t)})}function $e(t){for(const e of(0,ae.getAncestorDirectoryPaths)(t))(0,Ut.default)(this,U)[U].isExpanded(e)||(0,Ut.default)(this,U)[U].expand(e);(0,Ut.default)(this,U)[U].isExpanded(t)||(0,Ut.default)(this,U)[U].expand(t)}function Ge(t){const e=(0,Ut.default)(this,Z)[Z];if(0===e)return;const l=-1===(0,Ut.default)(this,c)[c]?0:(0,Ut.default)(this,c)[c],u=Math.min(e-1,Math.max(0,l+t));u===l&&-1!==(0,Ut.default)(this,c)[c]||(!(0,Ut.default)(this,P)[P]&&null==(0,Ut.default)(this,H)[H]&&u>=(0,Ut.default)(this,E)[E].length&&(0,Ut.default)(this,Kt)[Kt](),(0,Ut.default)(this,Ht)[Ht](u))}function Je(t,e=!0){const l=(0,Ut.default)(this,U)[U].getVisibleCount();(0,Ut.default)(this,X)[X]=l;const u=de((0,Ut.default)(this,U)[U].getVisibleTreeProjectionData(e?void 0:Math.min(l,512)),t,e?t=>(0,Ut.default)(this,U)[U].getVisibleIndex(t):void 0);(0,Ut.default)(this,f)[f].clear(),(0,Ut.default)(this,o)[o].clear(),(0,Ut.default)(this,P)[P]=u.paths.length>=l,(0,Ut.default)(this,b)[b]=u.getParentIndex,(0,Ut.default)(this,E)[E]=u.paths,(0,Ut.default)(this,C)[C]=u.posInSetByIndex,(0,Ut.default)(this,M)[M]=u.setSizeByIndex,(0,Ut.default)(this,Dt)[Dt](),(0,Ut.default)(this,c)[c]=null==t?(0,Ut.default)(this,Et)[Et]().length>0?0:-1:(0,Ut.default)(this,ut)[ut](t),(0,Ut.default)(this,p)[p]=(0,Ut.default)(this,c)[c]<0?null:(0,Ut.default)(this,_t)[_t]((0,Ut.default)(this,c)[c])}function Ue(t){const e=(0,Ut.default)(this,Et)[Et]()[t];return null!=e?e:null!=(0,Ut.default)(this,H)[H]?null:(0,Ut.default)(this,U)[U].getVisibleRowContext(t)?.row.path??null}function Xe(t){return(0,Ut.default)(this,U)[U].getPathInfo(t)?.path??null}function Ye(t){if(null==t)return;const e=(0,Ut.default)(this,ut)[ut](t);e>=0&&(0,Ut.default)(this,Ht)[Ht](e,!1)}function Ze(t,e=!0){const l=(0,Ut.default)(this,_t)[_t](t);null!=l&&((0,Ut.default)(this,c)[c]===t&&(0,Ut.default)(this,p)[p]===l||((0,Ut.default)(this,c)[c]=t,(0,Ut.default)(this,p)[p]=l,e&&(0,Ut.default)(this,Bt)[Bt]()))}function tl(){(0,Ut.default)(this,P)[P]||(0,Ut.default)(this,Lt)[Lt]((0,Ut.default)(this,p)[p],!0)}function el(t){const e=(0,le.remapPathThroughMutation)((0,Ut.default)(this,R)[R],t);null==e&&null!=(0,Ut.default)(this,R)[R]&&((0,Ut.default)(this,A)[A]=""),(0,Ut.default)(this,R)[R]=e;const l=(0,le.remapPathThroughMutation)((0,Ut.default)(this,p)[p],t,!0),u=[...(0,Ut.default)(this,G)[G]].map(e=>(0,le.remapPathThroughMutation)(e,t)).filter(t=>null!=t).map(t=>(0,Ut.default)(this,U)[U].getPathInfo(t)?.path??null).filter(t=>null!=t),s=(0,le.remapPathThroughMutation)((0,Ut.default)(this,$)[$],t),n=null==s?null:(0,Ut.default)(this,U)[U].getPathInfo(s)?.path??null,h=[...new Set(u)];return(0,ae.arePathSetsEqual)((0,Ut.default)(this,G)[G],h)||((0,Ut.default)(this,G)[G]=new Set(h),(0,Ut.default)(this,J)[J]+=1),(0,Ut.default)(this,$)[$]=n,l}function ll(){return(0,Ut.default)(this,U)[U].on("*",t=>{if((0,Ut.default)(this,Y)[Y])return;t.canonicalChanged&&((0,Ut.default)(this,y)[y].clear(),(0,Ut.default)(this,jt)[jt]()),null!=(0,Ut.default)(this,h)[h]&&(0,le.isPathMutationEvent)(t)&&((0,Ut.default)(this,h)[h]=null);const e=(0,le.isPathMutationEvent)(t)?(0,Ut.default)(this,Wt)[Wt](t):(0,Ut.default)(this,p)[p],l=null!=(0,Ut.default)(this,_)[_]&&(0,Ut.default)(this,_)[_].length>0?(0,Ut.default)(this,At)[At]():""===(0,Ut.default)(this,_)[_]?(0,Ut.default)(this,p)[p]:e,u=null!=(0,Ut.default)(this,_)[_]||"expand"!==t.operation&&"collapse"!==t.operation;(0,Ut.default)(this,Lt)[Lt](l,u),(0,Ut.default)(this,Bt)[Bt]();const s=(0,le.toTreesMutationEvent)(t);null!=s&&(0,Ut.default)(this,Tt)[Tt](s)})}function al(t){(0,Ut.default)(this,U)[U].isExpanded(t)?(0,Ut.default)(this,ot)[ot](t):(0,Ut.default)(this,zt)[zt](t)}},1236,[25,30,31,1210,1226,1237,1239,1240,1241,1242,1243,1244]);
39
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"remapExpandedPathsForFolderRename",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"renameFileTreePaths",{enumerable:!0,get:function(){return l}});var t=r(d[0]);function n(t){const n=t.lastIndexOf("/");return n<0?{parentPath:"",baseName:t}:{parentPath:t.slice(0,n),baseName:t.slice(n+1)}}function s(t,n){return""===t?n:`${t}/${n}`}function o({expandedPaths:t,sourcePath:n,destinationPath:s}){if(0===t.length||n===s)return t;const o=`${n}/`,l=[],c=new Set;let u=!1;for(let h=0;h<t.length;h++){const f=t[h],P=f===n?s:f.startsWith(o)?`${s}${f.slice(n.length)}`:f;P!==f&&(u=!0),c.has(P)?u=!0:(c.add(P),l.push(P))}return u?l:t}function l({files:o,path:l,isFolder:c,nextBasename:u}){const h=(0,t.getSelectionPath)(l),f=u.trim();if(0===f.length)return{error:"Name cannot be empty."};if(f.includes("/"))return{error:"Name cannot include \"/\"."};const{parentPath:P,baseName:$}=n(h);if(f===$)return{nextFiles:o,sourcePath:h,destinationPath:h,isFolder:c};const p=s(P,f),x=new Array(o.length),F=new Set;if(!c){const t=`${p}/`;let n=!1;for(let s=0;s<o.length;s++){const l=o[s];if(l!==h&&l.startsWith(t))return{error:`"${p}" already exists.`};const c=l===h?p:l;if(F.has(c))return{error:`"${p}" already exists.`};F.add(c),x[s]=c,l===h&&(n=!0)}return n?{nextFiles:x,sourcePath:h,destinationPath:p,isFolder:c}:{error:"Could not find the selected file to rename."}}const b=`${h}/`,y=`${p}/`;let N=0;for(let t=0;t<o.length;t++){const n=o[t],s=n===h||n.startsWith(b);if(!s&&(n===p||n.startsWith(y)))return{error:`"${p}" already exists.`};const l=s?`${p}${n.slice(h.length)}`:n;if(F.has(l))return{error:`"${p}" already exists.`};F.add(l),x[t]=l,s&&N++}return 0===N?{error:"Could not find the selected folder to rename."}:{nextFiles:x,sourcePath:h,destinationPath:p,isFolder:c}}},1237,[1238]);
40
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"getSelectionPath",{enumerable:!0,get:function(){return t}}),r(d[0]);const t=t=>t.startsWith("f::")?t.slice(3):t},1238,[1202]);
41
- __d(function(g,r,i,a,m,e,d){"use strict";function t(t){return t.endsWith("/")}function n(t){const n=t.endsWith("/")?t.slice(0,-1):t,o=n.lastIndexOf("/"),u=o<0?n:n.slice(o+1);return t.endsWith("/")?`${u}/`:u}function o(t){const n=[],o=new Set;for(const u of t)o.has(u)||(o.add(u),n.push(u));const u=new Set;for(const t of n.toSorted((t,n)=>t.length!==n.length?t.length-n.length:t.localeCompare(n))){const n=(t.endsWith("/")?t.slice(0,-1):t).split("/");let o=!1;for(let t=0;t<n.length-1;t+=1){const c=`${n.slice(0,t+1).join("/")}/`;if(u.has(c)){o=!0;break}}o||u.add(t)}return n.filter(t=>u.has(t))}function u(t,n){return n.includes(t)?o(n):[t]}function c(t,n){return t===n||null!=t&&null!=n&&(t.kind===n.kind&&t.directoryPath===n.directoryPath&&t.flattenedSegmentPath===n.flattenedSegmentPath&&t.hoveredPath===n.hoveredPath)}function l(t,n){return{draggedPaths:t,target:n}}function s(n,o){if("directory"!==o.kind||null==o.directoryPath)return!1;for(const u of n)if(t(u)&&(o.directoryPath===u||o.directoryPath.startsWith(u)))return!0;return!1}function f(t,o){return"root"===o.kind||null==o.directoryPath?n(t):o.directoryPath}function h(t,n){const o=t.map(t=>{const o=f(t,n);return o===t?null:{from:t,to:o,type:"move"}}).filter(t=>null!=t);return 0===o.length?null:{operations:o,result:{draggedPaths:t,operation:1===o.length?"move":"batch",target:n}}}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"buildDropOperations",{enumerable:!0,get:function(){return h}}),Object.defineProperty(e,"createDropContext",{enumerable:!0,get:function(){return l}}),Object.defineProperty(e,"dropTargetsEqual",{enumerable:!0,get:function(){return c}}),Object.defineProperty(e,"isSelfOrDescendantDrop",{enumerable:!0,get:function(){return s}}),Object.defineProperty(e,"normalizeDraggedPaths",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"resolveDraggedPathsForStart",{enumerable:!0,get:function(){return u}})},1239,[]);
42
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"resolveFileTreeInput",{enumerable:!0,get:function(){return p}});var t=r(d[0]);function n(t,n){if(t===n)return!0;if(t.length!==n.length)return!1;for(let p=0;p<t.length;p+=1)if(t[p]!==n[p])return!1;return!0}function p(p,u,l){const{paths:o,preparedInput:s}=p;if(null==s){if(null==o)throw new Error("FileTree requires paths or preparedInput");return{paths:o,preparedInput:void 0}}const f=s.paths;if(null==o)return{paths:f,preparedInput:s};if(!n(t.PathStore.preparePaths(o,null==l?{}:{sort:l}),f))throw new Error(`FileTree ${u} received paths and preparedInput for different path lists`);return{paths:f,preparedInput:s}}r(d[1])},1240,[1210,1226]);
43
- __d(function(g,r,i,a,m,e,d){"use strict";function t(t){return"add"===t.operation||"remove"===t.operation||"move"===t.operation||"batch"===t.operation}function n(t,n,o){if(t===n)return o;const c=n.endsWith("/")?n:`${n}/`;return t.startsWith(c)?`${o.endsWith("/")?o:`${o}/`}${t.slice(c.length)}`:t}function o(t,n){if(t===n)return!0;const o=n.endsWith("/")?n:`${n}/`;return t.startsWith(o)}function c(t,u,s=!1){if(null==t)return null;switch(u.operation){case"add":case"expand":case"collapse":case"mark-directory-unloaded":case"begin-child-load":case"apply-child-patch":case"complete-child-load":case"fail-child-load":case"cleanup":return t;case"remove":return o(t,u.path)?s?t:null:t;case"move":return n(t,u.from,u.to);case"batch":{let n=t;for(const t of u.events)if(n=c(n,t,s),null==n)return null;return n}}}function u(t){return{canonicalChanged:t.canonicalChanged,projectionChanged:t.projectionChanged,visibleCountDelta:t.visibleCountDelta}}function s(t){switch(t.operation){case"add":return Object.assign({},u(t),{operation:"add",path:t.path});case"remove":return Object.assign({},u(t),{operation:"remove",path:t.path,recursive:t.recursive});case"move":return Object.assign({},u(t),{from:t.from,operation:"move",to:t.to})}}function l(t){return Object.assign({},u(t),{events:t.events.filter(t=>"add"===t.operation||"remove"===t.operation||"move"===t.operation).map(t=>s(t)),operation:"batch"})}function p(t){switch(t.operation){case"add":case"remove":case"move":return s(t);case"batch":return l(t);default:return null}}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"isPathMutationEvent",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"remapPathThroughMutation",{enumerable:!0,get:function(){return c}}),Object.defineProperty(e,"toTreesMutationEvent",{enumerable:!0,get:function(){return p}})},1241,[]);
44
- __d(function(g,r,i,a,m,e,d){"use strict";function t(t,n){if(t.size!==n.length)return!1;for(const u of n)if(!t.has(u))return!1;return!0}function n(t){const n=t.endsWith("/")?t.slice(0,-1):t;if(0===n.length)return[];const u=n.split("/");return u.slice(0,-1).map((t,n)=>`${u.slice(0,n+1).join("/")}/`)}function u(t){return n(t).at(-1)??null}function o(t,n){return null==n?t:t.startsWith(n)?t.slice(n.length):t}function c(t){return t.endsWith("/")}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"arePathSetsEqual",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"getAncestorDirectoryPaths",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"getImmediateParentPath",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"getSiblingComparisonKey",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"isCanonicalDirectoryPath",{enumerable:!0,get:function(){return c}}),Object.defineProperty(e,"toLowerCaseSearchPath",{enumerable:!0,get:function(){return s}});const s=t=>t.toLowerCase()},1242,[]);
45
- __d(function(g,r,i,a,m,e,d){"use strict";function n(n){const t=n.endsWith("/")?n.slice(0,-1):n,u=t.lastIndexOf("/");return u<0?t:t.slice(u+1)}function t(n){return n.endsWith("/")?n.slice(0,-1):n}function u(n,t){return t&&!n.endsWith("/")?`${n}/`:n}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"getRenameLeafName",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"toCanonicalRenamePath",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"toRenameHelperPath",{enumerable:!0,get:function(){return t}})},1243,[]);
46
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"normalizeSearchQuery",{enumerable:!0,get:function(){return t}});const t=t=>{const n=t.trim();return 0===n.length?"":(n.includes("\\")?n.replaceAll("\\","/"):n).toLowerCase()}},1244,[]);
47
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"applyFileTreeGitStatusPatch",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"resolveFileTreeGitStatusState",{enumerable:!0,get:function(){return c}});var t=r(d[0]),n=r(d[1]);function o(t){const n=t.endsWith("/")?t.slice(0,-1):t;if(0===n.length)return[];const o=[];let s=0;for(;;){const t=n.indexOf("/",s);if(-1===t)break;o.push(n.slice(0,t+1)),s=t+1}return o}function s(t,n){return n?`${t}/`:t}function c(n,o=null){const s=(0,t.getGitStatusSignature)(null==n?void 0:[...n]);if("0"===s)return null;if(o?.signature===s)return o;const c=new Map,u=new Set,l=new Set,y=new Map;for(const t of n??[]){const n=h(t);null!=n&&P({canonicalPath:n.canonicalPath,changeCountByDirectoryPath:y,directoriesWithChanges:u,ignoredDirectoryPaths:l,isDirectory:n.isDirectory,status:t.status,statusByPath:c})}return 0===c.size?null:{changeCountByDirectoryPath:y,directoriesWithChanges:u,ignoredDirectoryPaths:l,signature:s,statusByPath:c}}function u(t,n){const o=n?.remove??[],s=n?.set??[];if(0===o.length&&0===s.length)return t;const c=new Map(t?.statusByPath),u=new Set(t?.directoriesWithChanges),f=new Set(t?.ignoredDirectoryPaths),D=new Map(t?.changeCountByDirectoryPath);let C=!1;for(const t of o){const n=l(t);null!=n&&(C=y({canonicalPath:n.canonicalPath,changeCountByDirectoryPath:D,directoriesWithChanges:u,ignoredDirectoryPaths:f,statusByPath:c})||C)}for(const t of s){const n=h(t);null!=n&&(C=P({canonicalPath:n.canonicalPath,changeCountByDirectoryPath:D,directoriesWithChanges:u,ignoredDirectoryPaths:f,isDirectory:n.isDirectory,status:t.status,statusByPath:c})||C)}return C?0===c.size?null:{changeCountByDirectoryPath:D,directoriesWithChanges:u,ignoredDirectoryPaths:f,signature:B(c),statusByPath:c}:t}function h(t){return l(t.path)}function l(t){const o=(0,n.normalizeInputPath)(t);if(null!=o)return{canonicalPath:s(o.path,o.isDirectory),isDirectory:o.isDirectory}}function y({canonicalPath:t,changeCountByDirectoryPath:n,directoriesWithChanges:o,ignoredDirectoryPaths:s,statusByPath:c}){const u=c.get(t);return null!=u&&(c.delete(t),"ignored"===u&&t.endsWith("/")&&s.delete(t),D(n,o,t),!0)}function P({canonicalPath:t,changeCountByDirectoryPath:n,directoriesWithChanges:o,ignoredDirectoryPaths:s,isDirectory:c,status:u,statusByPath:h}){const l=h.get(t);return l!==u&&(null==l&&f(n,o,t),h.set(t,u),"ignored"===u&&c?s.add(t):c&&s.delete(t),!0)}function f(t,n,s){for(const c of o(s))t.set(c,(t.get(c)??0)+1),n.add(c)}function D(t,n,s){for(const c of o(s)){const o=(t.get(c)??0)-1;o>0?t.set(c,o):(t.delete(c),n.delete(c))}}function B(t){let n=`${t.size}`;for(const[o,s]of t)n+=`\0${o}\0${s}`;return n}},1245,[1246,1247]);
48
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"getGitStatusSignature",{enumerable:!0,get:function(){return t}});const t=t=>{if(null==t||0===t.length)return"0";let n=`${t.length}`;for(const u of t)n+=`\0${u.path}\0${u.status}`;return n}},1246,[]);
49
- __d(function(g,r,_i,a,m,e,d){"use strict";function t(t){const n=t.endsWith("/");let i="",o=-1;for(let n=0;n<=t.length;n+=1)"/"===t[n]||n===t.length?-1!==o&&(""!==i&&(i+="/"),i+=t.slice(o,n),o=-1):-1===o&&(o=n);return""===i?null:{isDirectory:n,path:i}}function n(t,n,i){const o=t.lastIndexOf("/");if(-1===o)return void(n&&i(t));const l=n?t.length:o;let c=t.indexOf("/");for(;-1!==c&&c<=l;)i(t.slice(0,c)),c=t.indexOf("/",c+1);n&&i(t)}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"forEachFolderInNormalizedPath",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"normalizeInputPath",{enumerable:!0,get:function(){return t}})},1247,[]);
50
- __d(function(g,r,i,a,m,_e,d){"use strict";const e=["name"];Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"FileTreeView",{enumerable:!0,get:function(){return se}});var t,n=r(d[0]),l=(t=n)&&t.__esModule?t:{default:t},o=r(d[1]),u=r(d[2]),c=r(d[3]),s=r(d[4]),f=r(d[5]),h=r(d[6]),p=r(d[7]),v=r(d[8]),y=r(d[9]),w=r(d[10]),x=r(d[11]),b=r(d[12]),T=r(d[13]),E=r(d[14]),R=r(d[15]),k=r(d[16]),M=r(d[17]);function S(e,t=null,n=null){const l=e.flattenedSegments;return null==l||0===l.length?t??e.name:(0,M.jsx)("span",{"data-item-flattened-subitems":!0,children:l.map((e,o)=>{const u=o===l.length-1;return(0,M.jsxs)(R.Fragment,{children:[(0,M.jsx)("span",{"data-item-flattened-subitem":e.path,"data-item-flattened-subitem-drag-target":n===e.path?"true":void 0,children:u&&null!=t?t:(0,M.jsx)(h.Truncate,{children:e.name})}),o<l.length-1?" / ":""]},e.path)})})}function P(e){return e.isFlattened?e.flattenedSegments?.findLast(e=>e.isTerminal)?.path??e.path:e.path}function D(e){const t=e.flattenedSegments;return null==t||0===t.length?e.name:t.map(e=>e.name).join(" / ")}function L(e,t,n,l){return e.map((e,o)=>{const u=o*n,c=e.subtreeEndIndex+1;if(c>=l)return{row:e.row,top:u};const s=c*n-t;return{row:e.row,top:Math.min(u,s-n)}}).filter(e=>e.top+n>0)}function A({controller:e,itemHeight:t,overscan:n,scrollTop:l,stickyFolders:o,viewportHeight:u}){const c=e.getVisibleCount(),s=o&&c>0?e.getStickyRowCandidates(l,t):[],f=null==s&&o&&c>0?e.getVisibleRows(0,c-1):[],h=(0,p.computeFileTreeLayout)(f,{itemHeight:t,overscan:n,scrollTop:l,stickyRows:null==s?void 0:L(s,l,t,c),totalRowCount:c,viewportHeight:u}),v=o&&l<=0&&c>0?e.getStickyRowCandidates(1,t):[],y=null!=v&&l<=0?L(v,1,t,c):o&&l<=0&&f.length>0?(0,p.computeStickyRows)(f,1,t):h.sticky.rows;return{overlayHeight:y.reduce((e,n)=>Math.max(e,n.top+t),0),overlayRows:y,snapshot:h,visibleRows:f}}const C=400,F=40,I=18;function j(e,t,n){const l=e,o=document.elementFromPoint?.bind(document)??null,u=l.elementFromPoint?.(t,n)??o?.(t,n)??null;return e instanceof ShadowRoot&&(null==u||!e.contains(u))?O(e,t,n):u instanceof HTMLElement?u:null}function O(e,t,n){const l=Array.from(e.querySelectorAll("[data-type=\"item\"], [data-item-flattened-subitem]"));for(let e=l.length-1;e>=0;e--){const o=l[e],u=o.getBoundingClientRect();if(t>=u.left&&t<=u.right&&n>=u.top&&n<=u.bottom)return o}return null}function H(e){const t=e?.closest?.("[data-type=\"item\"]");if(!(t instanceof HTMLElement))return null;const n=t.dataset.itemPath??null;if(null==n)return null;const l=e?.closest?.("[data-item-flattened-subitem]"),o=l instanceof HTMLElement?l.getAttribute("data-item-flattened-subitem")??null:null;if(null!=o&&o.endsWith("/"))return{directoryPath:o,flattenedSegmentPath:o,hoveredPath:n,kind:"directory"};if("folder"===t.dataset.itemType)return{directoryPath:n,flattenedSegmentPath:null,hoveredPath:n,kind:"directory"};const u=t.dataset.itemParentPath??null;return null==u||0===u.length?{directoryPath:null,flattenedSegmentPath:null,hoveredPath:n,kind:"root"}:{directoryPath:u,flattenedSegmentPath:null,hoveredPath:n,kind:"directory"}}function _(e){const t=e.cloneNode(!0);return t.removeAttribute("id"),t.dataset.fileTreeDragPreview="true",t.setAttribute("aria-hidden","true"),t.tabIndex=-1,Object.assign(t.style,{boxShadow:"0 4px 12px rgba(0, 0, 0, 0.15)",left:"0px",margin:"0",pointerEvents:"none",position:"fixed",top:"0px",willChange:"transform",zIndex:"10000"}),t}function V(e,t){const n=e-t.top;if(n<F)return-Math.ceil((F-Math.max(0,n))/F*I);const l=t.bottom-e;return l<F?Math.ceil((F-Math.max(0,l))/F*I):0}function $(e,t){if(null!=e){const t=v.GIT_STATUS_LABEL[e];return null==t?null:{text:t,title:v.GIT_STATUS_TITLE[e]}}return t?{icon:{name:"file-tree-icon-dot",width:6,height:6},title:v.GIT_STATUS_DESCENDANT_TITLE}:null}function N(e,t,n){if(null==t||0===t.size)return null;const l=[];for(let o=e.length-1;o>=0;o-=1){const u=e[o],c=n.get(u);if(null!=c){for(const e of l)n.set(e,c);return c?"ignored":null}if(t.has(u)){n.set(u,!0);for(const e of l)n.set(e,!0);return"ignored"}l.push(u)}for(const e of l)n.set(e,!1);return null}function B(e){return null!=e&&"toggle"in e}function K(e){return"Space"===e.code||" "===e.key||"Spacebar"===e.key}function U(e){return 1===e.key.length&&/^[\p{L}\p{N}]$/u.test(e.key)&&!e.ctrlKey&&!e.metaKey&&!e.altKey}function X(e){return e.shiftKey&&"F10"===e.key||"ContextMenu"===e.key}function Y(e,t){return!(!t||!X(e))||(!(!e.ctrlKey&&!e.metaKey||!K(e))||("ArrowDown"===e.key||"ArrowLeft"===e.key||"ArrowRight"===e.key||"ArrowUp"===e.key))}const G=new Set(["ArrowDown","ArrowLeft","ArrowRight","ArrowUp","End","Home","PageDown","PageUp"]);function z(e){for(const t of e.composedPath())if(t instanceof HTMLElement){if("true"===t.dataset.fileTreeContextMenuRoot)return!0;if("context-menu-anchor"===t.dataset.type||"context-menu-trigger"===t.dataset.type)return!0;if("context-menu"===t.getAttribute("slot"))return!0}return!1}function q(e,t){if(null==e)return t.offsetTop;const n=t.getBoundingClientRect(),l=e.getBoundingClientRect();return n.top-l.top}function W(e,t,n){null!=n?e.set(t,n):e.delete(t)}function J(e,t,n){if(null==e)return null;const l=t.get(e)??null;if(null!=l)return l;const o=n.get(e)??null;return"true"===o?.dataset.itemParked?null:o}function Q(e){if(null==e)return[];const t=[];for(const n of e.querySelectorAll("button[data-file-tree-sticky-row=\"true\"]")){if(!(n instanceof HTMLElement))continue;const e=n.dataset.fileTreeStickyPath;null!=e&&t.push(e)}return t}function Z(e,t){if(null==e||null==t)return null;for(const n of e.querySelectorAll("button[data-item-focused=\"true\"][data-item-parked=\"true\"]"))if(n instanceof HTMLElement&&n.dataset.itemPath===t)return n;return null}function ee(e,t,n,l,o,u,c){const s=Math.max(0,u-o),f=t?.getBoundingClientRect()??null,h=null==f||null==n?null:n.getBoundingClientRect().top-f.top,p=Z(e,l),v=null==f||null==p?null:p.getBoundingClientRect().top-f.top;return Math.max(0,Math.min(v??Math.max(h??0,s),Math.max(0,c-o)))}function te(e,t){return{kind:e.kind,name:D(e),path:t}}function ne(e){return null==e?void 0:`${e}__tree`}function re(e,t,n){if(null!=e)return`${e}__focused-item-${encodeURIComponent(t)}${n?"__parked":""}`}function le(e){return"file-tree-icon-chevron"===e||"file-tree-icon-dot"===e||"file-tree-icon-file"===e||"file-tree-icon-lock"===e}function oe(t,n){if(null==t)return null;if("text"in t)return null!=t.parts?(0,M.jsx)("span",{title:t.title,children:t.parts.map((e,t)=>(0,M.jsx)("span",{style:{color:e.color},children:e.text},t))}):(0,M.jsx)("span",{title:t.title,children:t.text});const o="string"==typeof t.icon?le(t.icon)?n(t.icon):{name:t.icon}:le(t.icon.name)?(()=>{const o=n(t.icon.name),u=t.icon,c=(0,l.default)(u,e);return Object.assign({},o,c)})():t.icon;return(0,M.jsx)("span",{title:t.title,children:(0,M.jsx)(f.Icon,Object.assign({},o))})}function ue(e){null!=e&&(0,w.focusElement)(e.querySelector(["button:not([disabled])","[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","[tabindex]:not([tabindex=\"-1\"])"].join(", "))??e)}function ie(e,t,{actionLaneEnabled:n=!1,customDecoration:l=null,decorationLaneEnabled:o=!1,dragTargetFlattenedSegmentPath:u=null,gitDecoration:c=null,gitLaneActive:s=!1,renameInput:p=null,showDecorativeActionAffordance:v=!1}={}){const y=P(e);return(0,M.jsxs)(R.Fragment,{children:[e.depth>0?(0,M.jsx)("div",{"data-item-section":"spacing",children:Array.from({length:e.depth}).map((t,n)=>(0,M.jsx)("div",{"data-item-section":"spacing-item","data-ancestor-path":e.ancestorPaths[n]},n))}):null,(0,M.jsx)("div",{"data-item-section":"icon",children:"directory"===e.kind?(0,M.jsx)(f.Icon,Object.assign({},t("file-tree-icon-chevron"))):(0,M.jsx)(f.Icon,Object.assign({},t("file-tree-icon-file",y)))}),(0,M.jsx)("div",{"data-item-section":"content",children:e.isFlattened?S(e,p,u):p??(0,M.jsx)(h.MiddleTruncate,{minimumLength:5,split:"extension",children:e.name})}),o?(0,M.jsx)("div",{"data-item-section":"decoration",children:null!=l?oe(l,t):null}):null,s?(0,M.jsx)("div",{"data-item-section":"git",children:oe(c,t)}):null,n?(0,M.jsx)("div",{"data-item-section":"action",children:v?(0,M.jsx)("span",{"aria-hidden":"true","data-item-action-affordance":"decorative",children:(0,M.jsx)(f.Icon,Object.assign({},t("file-tree-icon-ellipsis")))}):null}):null]})}function ae(e,t,n,l={}){const{controller:o,renameView:u,visualFocusPath:c,contextHoverPath:s,draggedPathSet:f,dragTarget:h,dragAndDropEnabled:p,shouldSuppressContextMenu:v,handleRowDragStart:y,handleRowDragEnd:w,handleRowTouchStart:x,instanceId:E,itemHeight:R,gitStatusByPath:k,ignoredGitDirectories:S,ignoredInheritanceCache:L,directoriesWithGitChanges:A,gitLaneActive:C,contextMenuEnabled:F,contextMenuTriggerMode:I,contextMenuButtonTriggerEnabled:j,contextMenuButtonVisibility:O,contextMenuRightClickEnabled:H,registerRenameInput:_,registerButton:V,resolveIcon:B,renderDecorationForRow:K,openContextMenuForRow:U,onRowClick:X,onKeyDown:Y}=e,G=P(t),{isParked:z=!1,mode:q="flow",style:W}=l,J="sticky"===q,Q=k?.get(G)??null??N(t.ancestorPaths,S,L),Z="directory"===t.kind&&(A?.has(G)??!1),ee=K(t,G),te=$(Q,Z),ne=F&&j,le=null!=ee||C||ne,oe=ne&&"always"===O,ue=u.getPath()===G,ae=ue?u.getValue():"",ce=J||!ue?null:(0,M.jsx)(b.RenameInput,{ref:_,ariaLabel:`Rename ${D(t)}`,isFlattened:t.isFlattened,value:ae,onBlur:()=>{u.commit()},onInput:e=>{u.setValue(e.currentTarget.value)}}),se=ie(t,B,{actionLaneEnabled:ne,customDecoration:ee,decorationLaneEnabled:le,dragTargetFlattenedSegmentPath:h?.flattenedSegmentPath??null,gitDecoration:te,gitLaneActive:C,renameInput:ce,showDecorativeActionAffordance:oe}),de=Object.assign({},(0,T.computeFileTreeRowElementAttributes)({ariaLabel:D(t),domId:t.isFocused?re(E,G,z):void 0,extraStyle:W,features:{actionLaneEnabled:ne,contextMenuButtonVisibility:ne?O:null,contextMenuEnabled:F,contextMenuTriggerMode:F?I:null,gitLaneActive:C},isParked:z,itemHeight:R,mode:q,row:t,state:{containsGitChange:Z,effectiveGitStatus:Q,isContextHovered:s===G,isDragTarget:"directory"===h?.kind&&h.directoryPath===G,isDragging:!0===f?.has(G),isFocusRinged:t.isFocused&&c===G},targetPath:G}),{key:n,onContextMenu:F||p?e=>{var n,l;v()?e.preventDefault():F&&(e.preventDefault(),H&&(o.focusMountedPathFromInput(G),U(t,G,{anchorRect:(n=e.clientX,l=e.clientY,{bottom:l,height:0,left:n,right:n,top:l,width:0,x:n,y:l}),source:"right-click"})))}:void 0,onFocus:J?void 0:()=>{o.focusMountedPathFromInput(G)},onKeyDown:J?void 0:Y,ref:e=>{V(G,e)}});return!J&&ue?(0,M.jsx)("div",Object.assign({},de,{children:se})):(0,M.jsx)("button",Object.assign({},de,{type:"button",draggable:p&&!z,onDragEnd:p&&!z?w:void 0,onDragStart:p&&!z?e=>{y(e,t,G)}:void 0,onMouseDown:e=>{(J||o.isSearchOpen())&&e.preventDefault()},onTouchStart:p&&!z?e=>{x(e,t,G)}:void 0,onClick:e=>{X(e,t,G,q)},children:se}))}function ce(e,t,n){return t.end<t.start?[]:e.controller.getVisibleRows(t.start,t.end).filter(e=>!n.has(P(e))).map((n,l)=>ae(e,n,t.start+l))}function se({composition:e,controller:t,gitStatusByPath:n,ignoredGitDirectories:l,directoriesWithGitChanges:h,icons:p,instanceId:v,itemHeight:b=c.FILE_TREE_DEFAULT_ITEM_HEIGHT,overscan:T=10,renamingEnabled:R=!1,renderRowDecoration:S,searchBlurBehavior:D="close",searchEnabled:L=!1,searchFakeFocus:F=!1,slotHost:I,stickyFolders:O=!1,initialViewportHeight:$=420}){const N=(0,k.useRef)(null),Z=(0,k.useRef)(null),le=(0,k.useRef)(!1),oe=(0,k.useRef)(null),ie=(0,k.useRef)(null),se=(0,k.useRef)(null),de=(0,k.useRef)(null),fe=(0,k.useRef)(null),he=(0,k.useRef)(new Map),ge=(0,k.useRef)(new Map),pe=(0,k.useRef)(()=>{}),me=(0,k.useRef)(null),ve=(0,k.useRef)(0),ye=(0,k.useRef)(!1),we=(0,k.useRef)(null);we.current!==t&&(ye.current=!1,we.current=t);const xe=(0,k.useRef)(!1),be=(0,k.useRef)(null),Te=(0,k.useRef)(null),Ee=(0,k.useRef)(!1),Re=(0,k.useRef)(null),ke=(0,k.useRef)(null),Me=(0,k.useRef)(null),Se=(0,k.useRef)(null),Pe=(0,k.useRef)(null),De=(0,k.useRef)(null),Le=(0,k.useRef)(null),Ae=(0,k.useRef)(null),Ce=(0,k.useRef)(!1),Fe=(0,k.useRef)(null),Ie=(0,k.useRef)(null),je=(0,k.useRef)(null),Oe=(0,k.useRef)(null),He=(0,k.useMemo)(()=>new Map,[]),[,Ve]=(0,k.useState)(0),$e=(0,k.useRef)(!1),[Ne,Be]=(0,k.useState)(null),[Ke,Ue]=(0,k.useState)(null),[Xe,Ye]=(0,k.useState)(null),[Ge,ze]=(0,k.useState)(null),[qe,We]=(0,k.useState)(0),[Je,Qe]=(0,k.useState)(null),Ze=(0,k.useRef)(Je);Ze.current=Je;const et=(0,k.useRef)(null),tt=(0,k.useRef)(null),nt=(0,k.useRef)(null),rt=(0,k.useRef)(null),lt=(0,k.useRef)(null),ot=(0,k.useRef)(!1),ut=(e,t)=>{tt.current=e,nt.current=null,rt.current=null==t?null:{path:e,scrollTop:t}},it=(0,k.useRef)("retain"===D&&t.isSearchOpen()),[at,ct]=(0,k.useState)(F);(0,k.useEffect)(()=>{F||ct(!1)},[F]);const st=(0,k.useRef)(!1),dt=(0,k.useCallback)(()=>{st.current=!0,ct(e=>!e&&e)},[]),[ft,ht]=(0,k.useState)(()=>A({controller:t,itemHeight:b,overscan:T,scrollTop:0,stickyFolders:O,viewportHeight:$})),[gt,pt]=(0,k.useState)(!1);(0,k.useEffect)(()=>{pt(!0)},[]);const mt=!0===e?.contextMenu?.enabled||null!=e?.contextMenu?.render||null!=e?.contextMenu?.onOpen||null!=e?.contextMenu?.onClose,vt=e?.contextMenu?.triggerMode??(mt?"right-click":"both"),yt="both"===vt||"button"===vt,wt=e?.contextMenu?.buttonVisibility??"when-needed",xt="both"===vt||"right-click"===vt;(0,k.useLayoutEffect)(()=>{const e=se.current;if(null==e)return;const t=e=>{if(!(e instanceof CustomEvent))return;const t=e.detail?.path??null;lt.current=t,Ue(t),ze(null==t?null:"pointer")},n=e=>{e instanceof CustomEvent&&(ot.current=!0===e.detail?.disabled)};return e.addEventListener("file-tree-debug-set-context-menu-trigger",t),e.addEventListener("file-tree-debug-set-scroll-suppression",n),()=>{e.removeEventListener("file-tree-debug-set-context-menu-trigger",t),e.removeEventListener("file-tree-debug-set-scroll-suppression",n)}},[]);const bt=(0,k.useCallback)((e,t)=>{W(he.current,e,t)},[]),Tt=(0,k.useCallback)((e,t)=>{W(ge.current,e,t)},[]),Et=(0,k.useCallback)(e=>{ie.current=e},[]),Rt=(0,k.useCallback)(e=>J(e,ge.current,he.current),[]),kt=null!=n||null!=l||null!=h,{resolveIcon:Mt}=(0,k.useMemo)(()=>(0,u.createFileTreeIconResolver)(p),[p]),St=t[s.FILE_TREE_RENAME_VIEW](),Pt=St.getPath(),Dt=null!=Pt,Lt=t.isSearchOpen(),At=t.getSearchValue(),Ct=t.getFocusedPath(),Ft=t.getFocusedIndex(),It=t.getScrollRequest(),jt=t.isDragAndDropEnabled(),Ot=t.getDragSession(),Ht=(0,k.useMemo)(()=>null==Ot?null:new Set(Ot.draggedPaths),[Ot]),_t=Ot?.target??null,Vt=Ot?.primaryPath??null,$t=ne(v),{overlayHeight:Nt,overlayRows:Bt,snapshot:Kt,visibleRows:Ut}=ft,Xt=Kt.physical.viewportHeight,Yt=(0,k.useMemo)(()=>({end:Kt.window.endIndex,start:Kt.window.startIndex}),[Kt.window.endIndex,Kt.window.startIndex]),Gt=Bt,zt=Kt.sticky.rows,qt=Kt.physical.totalHeight,Wt=Kt.sticky.height,Jt=(0,k.useMemo)(()=>new Set(zt.map(e=>P(e.row))),[zt]),Qt=Ft>=0&&Ft>=Yt.start&&Ft<=Yt.end,Zt=(0,k.useCallback)((e,t)=>S?.({item:te(e,t),row:e})??null,[S]),en=(0,k.useCallback)(e=>!!(0,w.focusElement)(null==e?null:he.current.get(e)??null)||(0,w.focusElement)(se.current),[]),tn=(0,k.useCallback)(e=>{en(t.focusNearestPath(e))},[t,en]),nn=(0,k.useRef)(tn);nn.current=tn;const rn=(0,k.useRef)(!0),ln=(0,k.useRef)(()=>{}),on=(0,k.useCallback)((t=!0)=>{const n=Ze.current;null!=n&&(rn.current=rn.current&&t,Qe(null),e?.contextMenu?.onClose?.(),rn.current&&tn(n.path))},[e?.contextMenu,tn]);ln.current=on;const un=(0,k.useCallback)(e=>{const t=null==e?null:q(se.current,e);Ye(e=>e===t?e:t)},[]),an=(0,k.useCallback)((e,n,l)=>{const o=t.getItem(n);if(null==o)return;const u=Rt(n);if("true"===u?.dataset.fileTreeStickyRow){const e=de.current;ut(n,e?.scrollTop??null),xe.current=!0,Be(e=>e===n?e:n)}o.focus(),un(u),rn.current=!0,Qe({anchorRect:l?.anchorRect??null,item:te(e,n),path:n,source:l?.source??"keyboard"})},[t,Rt,un]),cn=(0,k.useCallback)(e=>{if(R){if(t.isSearchOpen()){const e=de.current,t=(0,w.readMeasuredViewportHeight)(e,Xt);Re.current=Ft<0||null==e?null:Math.max(0,Math.min(Ft*b-e.scrollTop,Math.max(0,t-b))),Ee.current=!0}!1!==t.startRenaming(e)&&(ze("focus"),Ve(e=>e+1))}},[t,Ft,b,R,Xt]),sn=(0,k.useCallback)((e,{restoreTreeFocus:n=!0,targetOffset:l="live-overlay"}={})=>{const o=de.current;if(null==o)return!1;t.focusPath(e);const u=t.getFocusedIndex();if(u<0)return!1;const c=t.getVisibleRows(u,u)[0]??null;if(null==c)return!1;const s=(0,w.readMeasuredViewportHeight)(o,Xt),f=t.getVisibleCount()*b,h="sticky-parents"===l?c.ancestorPaths.length*b:A({controller:t,itemHeight:b,overscan:T,scrollTop:o.scrollTop,stickyFolders:O,viewportHeight:s}).snapshot.sticky.height;return xe.current=!0,(0,w.scrollFocusedRowToViewportOffset)(o,u,b,s,f,h),pe.current(),et.current=n?e:null,!0},[t,b,T,Xt,O]),dn=e=>"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame(()=>{e()}):window.setTimeout(e,16),fn=()=>{null!=Se.current&&(clearTimeout(Se.current),Se.current=null),Me.current=null},hn=()=>{De.current?.remove(),De.current=null},gn=()=>{var e;null!=(e=ke.current)&&("function"!=typeof window.cancelAnimationFrame?window.clearTimeout(e):window.cancelAnimationFrame(e)),ke.current=null,Pe.current=null},pn=e=>{const t=se.current?.getRootNode();t instanceof ShadowRoot?t.append(e):document.body.append(e)},mn=()=>{Ae.current?.(),Ae.current=null,null!=Oe.current&&(clearTimeout(Oe.current),Oe.current=null),Ce.current=!1,Fe.current=null,je.current=null,null!=Ie.current&&(Ie.current.setAttribute("draggable","true"),Ie.current.style.removeProperty("touch-action"),Ie.current=null),hn(),fn(),gn(),Le.current=null},vn=(e,n)=>{const l=se.current?.getRootNode(),o=H(j(l instanceof ShadowRoot?l:document,e,n));return t.setDragTarget(o),t.getDragSession()?.target??null},yn=e=>{const n=t.getDragAndDropConfig()?.openOnDropDelay??800;if(null==e||"directory"!==e.kind||null==e.directoryPath||n<=0)return void fn();const l=t.getItem(e.directoryPath),o=B(l)?l:null;if(null==o||o.isExpanded())return void fn();const u=`${e.directoryPath}::${e.flattenedSegmentPath??""}`;Me.current!==u&&(fn(),Me.current=u,Se.current=setTimeout(()=>{const n=t.getDragSession()?.target;"directory"===n?.kind&&n.directoryPath===e.directoryPath&&n.flattenedSegmentPath===e.flattenedSegmentPath&&o.expand()},n))},wn=()=>{ke.current=null;const e=Pe.current,n=de.current;if(null==e||null==n||null==t.getDragSession())return;const l=n.getBoundingClientRect(),o=V(e.clientY,l);if(0===o)return;const u=Math.max(0,n.scrollHeight-n.clientHeight),c=Math.max(0,Math.min(u,n.scrollTop+o));c!==n.scrollTop&&(n.scrollTop=c,pe.current()),yn(vn(e.clientX,e.clientY)),ke.current=dn(wn)},xn=(e,t)=>{Pe.current={clientX:e,clientY:t},ke.current??=dn(wn)},bn=e=>{if(null!=Je)return"Escape"===e.key?(on(),e.preventDefault(),void e.stopPropagation()):void(G.has(e.key)&&(e.preventDefault(),e.stopPropagation()));if(St.isActive()){if(e.isComposing||229===e.keyCode)return;if("Escape"===e.key)St.cancel();else{if("Enter"!==e.key)return;St.commit()}return ze("focus"),Ve(e=>e+1),e.preventDefault(),void e.stopPropagation()}if(R&&"F2"===e.key)return cn(Ct??void 0),e.preventDefault(),void e.stopPropagation();if(Lt){if("Escape"===e.key)Ee.current=!1,Re.current=null,t.closeSearch();else if("Enter"===e.key){const e=t.getFocusedPath();null!=e&&t.selectOnlyPath(e);const n=de.current,l=(0,w.readMeasuredViewportHeight)(n,Xt);Re.current=Ft<0||null==n?null:Math.max(0,Math.min(Ft*b-n.scrollTop,Math.max(0,l-b))),Ee.current=!0,t.closeSearch()}else if("ArrowDown"===e.key)t.focusNextSearchMatch();else{if("ArrowUp"!==e.key)return;t.focusPreviousSearchMatch()}return ze("focus"),Ve(e=>e+1),e.preventDefault(),void e.stopPropagation()}if(L&&U(e))return t.openSearch(e.key),Ve(e=>e+1),e.preventDefault(),void e.stopPropagation();const n=mt&&X(e),l=Y(e,mt),o=l&&null!=se.current?(0,w.getActiveTreeElement)(se.current):null,u=l?new Set(Q(se.current)):new Set,c=o?.dataset.fileTreeStickyPath??null,s="true"===o?.dataset.fileTreeStickyRow&&null!=c;if(s&&c!==Ct&&u.has(c)){const e=de.current;ut(c,e?.scrollTop??null),t.focusPath(c)}const f=t.getFocusedPath(),h=t.getFocusedIndex(),p=t.getFocusedItem();if(null==p)return;const v=B(p)?p:null,y=null!=f&&(Jt.has(f)||s&&c===f&&u.has(f)),x="ArrowDown"===e.key||"ArrowUp"===e.key||"ArrowRight"===e.key&&null!=v&&v.isExpanded(),T="ArrowLeft"===e.key&&y&&null!=v&&v.isExpanded(),E=de.current;let k=!0;if(e.shiftKey&&"ArrowDown"===e.key)t.extendSelectionFromFocused(1);else if(e.shiftKey&&"ArrowUp"===e.key)t.extendSelectionFromFocused(-1);else if(n&&null!=f&&h>=0){const e=t.getVisibleRows(h,h)[0]??null,n=J(f,ge.current,he.current);null==e||null==n?k=!1:an(e,f)}else if((e.ctrlKey||e.metaKey)&&K(e))t.toggleFocusedSelection();else if((e.ctrlKey||e.metaKey)&&"a"===e.key.toLowerCase())t.selectAllVisiblePaths();else switch(e.key){case"ArrowDown":t.focusNextItem();break;case"ArrowUp":t.focusPreviousItem();break;case"ArrowRight":null==v||v.isExpanded()?t.focusNextItem():v.expand();break;case"ArrowLeft":null!=v&&v.isExpanded()?v.collapse():t.focusParentItem();break;case"Home":t.focusFirstItem();break;case"End":t.focusLastItem();break;default:k=!1}if(!k)return;ze("focus");const M=t.getFocusedPath(),S=null!=M&&(Jt.has(M)||u.has(M)),P=n&&s&&c===f&&M===f;if((y||P)&&null!=M&&(x&&M!==f&&S||P))ut(M,E?.scrollTop??null),xe.current=!0,Be(e=>e===M?e:M);else{const t="ArrowUp"===e.key&&y&&M!==f;null!=M&&(t||T&&M===f)?(D=M,A=ee(se.current,E,o,f,b,Wt,Xt),tt.current=null,nt.current={path:D,viewportOffset:A},rt.current=null,xe.current=!0,Be(e=>e===M?e:M)):(tt.current=null,nt.current=null,rt.current=null)}var D,A;Ve(e=>e+1),e.preventDefault(),e.stopPropagation()};(0,k.useLayoutEffect)(()=>{L&&Lt&&(it.current?it.current=!1:(0,w.focusElement)(fe.current))},[Lt,L]),(0,k.useLayoutEffect)(()=>{const e=ie.current;switch((0,x.classifyFileTreeRenameHandoff)({hasRenderedInput:null!=e,previousRenamingPath:Te.current,renamingPath:Pt})){case"reset":return void(Te.current=null);case"reveal-canonical":return void(null!=Pt&&sn(Pt,{restoreTreeFocus:!1,targetOffset:"live-overlay"}));case"ignore":return;case"focus-input":return void(null!=e&&(et.current=null,Te.current=Pt,(0,w.focusElement)(e),e.select()))}},[Yt.end,Yt.start,Pt,sn,Jt]),(0,k.useLayoutEffect)(()=>{const e=se.current;if(null==e)return;let t=null;const n=()=>{null!=t&&(clearTimeout(t),t=null)},l=()=>{const t=(0,w.getActiveTreeElement)(e)?.dataset.itemPath??null;Be(e=>e===t?e:t)},o=()=>{n(),xe.current=!0,l()},u=o=>{const u=o.relatedTarget;if(null==u)return n(),void(t=setTimeout(()=>{t=null,null==(0,w.getActiveTreeElement)(e)?(xe.current=!1,Be(null)):l()},0));if(!(u instanceof Node&&e.contains(u)))return n(),xe.current=!1,void Be(null);const c=u instanceof HTMLElement?u.dataset.itemPath??null:null;Be(e=>e===c?e:c)};return e.addEventListener("focusin",o),e.addEventListener("focusout",u),()=>{n(),e.removeEventListener("focusin",o),e.removeEventListener("focusout",u)}},[]),(0,k.useLayoutEffect)(()=>{const e=se.current;null!=e&&(Kt.physical.scrollTop<=0?e.dataset.scrollAtTop="true":delete e.dataset.scrollAtTop)},[Kt.physical.scrollTop]),(0,k.useLayoutEffect)(()=>{let e=null;const n=de.current,l=oe.current,o=se.current;if(null==n)return;me.current=(0,w.readMeasuredViewportHeight)(n,$);const u=()=>{const e=t.getVisibleCount(),l=(0,w.getCachedViewportHeight)(me.current,$),o=Math.max(0,e*b-l);n.scrollTop>o&&(n.scrollTop=o),ht(A({controller:t,itemHeight:b,overscan:T,scrollTop:Math.min(n.scrollTop,o),stickyFolders:O,viewportHeight:l}))};if(!ye.current){ye.current=!0;const e=t.getFocusedIndex();if(e>=0){const l=(0,w.getCachedViewportHeight)(me.current,$),o=t.getVisibleRows(e,e)[0]??null;(0,w.scrollFocusedRowIntoView)(n,e,b,l,O&&null!=o?Math.max(0,Math.min(o.ancestorPaths.length*b,Math.max(0,l-b))):0)}}pe.current=u;const c=t.subscribe(()=>{(0,y.shouldBumpControllerRevision)($e)&&Ve(e=>e+1),u()}),s=()=>{!0!==ot.current&&(null!=l&&(l.dataset.isScrolling??=""),null!=o&&(o.dataset.isScrolling??=""),le.current=!0,null!=e&&clearTimeout(e),e=setTimeout(()=>{null!=l&&delete l.dataset.isScrolling,null!=o&&delete o.dataset.isScrolling,le.current=!1,We(e=>e+1),e=null},50))};let f=null;const h=()=>{null!=o&&delete o.dataset.overlayReveal,null!=f&&(clearTimeout(f),f=null)},p=()=>{u(),n.scrollTop>0&&h(),null!=Ze.current&&le.current&&ln.current(),!0!==ot.current?(Ue(e=>null==e?e:null),s()):le.current=!1},v=()=>{s(),null!=o&&!0!==ot.current&&(n.scrollTop>0||(o.dataset.overlayReveal="true",null!=f&&clearTimeout(f),f=setTimeout(()=>{h()},200)))},x=new Set(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","PageUp","PageDown","Home","End"," ","Spacebar"]),E=e=>{x.has(e.key)&&v()};n.addEventListener("scroll",p,{passive:!0}),n.addEventListener("wheel",v,{passive:!0}),n.addEventListener("touchmove",v,{passive:!0}),n.addEventListener("keydown",E);const R="undefined"!=typeof ResizeObserver?new ResizeObserver(e=>{me.current=(null==e[0]?null:(0,w.getResizeObserverViewportHeight)(e[0]))??(0,w.readMeasuredViewportHeight)(n,$),u()}):null;return R?.observe(n),()=>{pe.current=()=>{},c(),n.removeEventListener("scroll",p),n.removeEventListener("wheel",v),n.removeEventListener("touchmove",v),n.removeEventListener("keydown",E),null!=e&&clearTimeout(e),null!=f&&clearTimeout(f),null!=l&&delete l.dataset.isScrolling,null!=o&&(delete o.dataset.isScrolling,delete o.dataset.overlayReveal),le.current=!1,me.current=null,R?.disconnect()}},[t,$,b,T,O]),(0,k.useLayoutEffect)(()=>{mt||null==Je||on(!1)},[on,mt,Je]);const Tn=(0,k.useMemo)(()=>null==Je?null:`${Je.path}::${Je.source}`,[Je]);(0,k.useLayoutEffect)(()=>{if(null==Tn)return void I?.clearSlotContent(o.CONTEXT_MENU_SLOT_NAME);const t=Ze.current;if(null==t)return;const n=Z.current??N.current;if(null==n)return;const l={anchorElement:n,anchorRect:t.anchorRect??(u=n.getBoundingClientRect(),{bottom:u.bottom,height:u.height,left:u.left,right:u.right,top:u.top,width:u.width,x:u.x,y:u.y}),close:e=>{ln.current(e?.restoreFocus??!0)},restoreFocus:()=>{rn.current&&nn.current(Ze.current?.path??null)}};var u;const c=e?.contextMenu?.render?.(t.item,l)??null;return I?.setSlotContent(o.CONTEXT_MENU_SLOT_NAME,c),e?.contextMenu?.onOpen?.(t.item,l),ue(c),queueMicrotask(()=>{null!=c&&c.isConnected&&document.activeElement===c&&ue(c)}),()=>{I?.clearSlotContent(o.CONTEXT_MENU_SLOT_NAME)}},[Tn,e?.contextMenu,I]),(0,k.useLayoutEffect)(()=>{null!=Je&&null==t.getItem(Je.path)&&on()},[on,Je,t]),(0,k.useLayoutEffect)(()=>{if(null==Je)return;const e=se.current?.getRootNode(),t=e instanceof ShadowRoot?e.host:se.current,n=e=>{const n=e.target;n instanceof Node&&(z(e)||!0!==N.current?.contains(n)&&!0!==t?.contains(n)&&on())},l=e=>{"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),on())};return document.addEventListener("mousedown",n,!0),document.addEventListener("keydown",l,!0),()=>{document.removeEventListener("mousedown",n,!0),document.removeEventListener("keydown",l,!0)}},[on,Je]),(0,k.useLayoutEffect)(()=>{const e=de.current,n=se.current;if(null==e||null==n)return void(be.current=Ct);const l=null==Ct?null:he.current.get(Ct)??null,o=(0,w.getActiveTreeElement)(n),u=o?.dataset.itemPath??null,c=Dt&&ie.current===o,s=L&&fe.current===o,f=Ee.current&&!Lt,h=Re.current??0,p=et.current,v=tt.current,y=nt.current,x=rt.current,T=null!=o,E=xe.current||T,R=be.current!==Ct,k=null!=v&&v===Ct&&null!=Ct;let M=!1,S=!1;if(null!=It&&It.id!==ve.current){ve.current=It.id;const n=It.visibleIndex,l=t.getVisibleRows(n,n)[0]??null;if(null!=l){const t=O?Math.max(0,Math.min(l.ancestorPaths.length*b,Math.max(0,Xt-b))):Wt;M=!0,S=(0,w.scrollFocusedRowToOffset)(e,n,b,Xt,qt,It.offset,t)}t.clearScrollRequest(It.id)}const P=!M&&f&&(0,w.scrollFocusedRowToViewportOffset)(e,Ft,b,Xt,qt,h),D=!M&&null!=p&&p===Ct&&(0,w.scrollFocusedRowToViewportOffset)(e,Ft,b,Xt,qt,Wt),A=!M&&null!=y&&y.path===Ct&&(0,w.scrollFocusedRowToViewportOffset)(e,Ft,b,Xt,qt,y.viewportOffset),C=!M&&null!=x&&x.path===Ct&&e.scrollTop!==x.scrollTop;if(C&&(e.scrollTop=x.scrollTop),(C||S||D||A||P||E&&R&&p!==Ct&&!k&&(0,w.scrollFocusedRowIntoView)(e,Ft,b,Xt,Wt))&&pe.current(),M)be.current=Ct;else if(E)if(c)be.current=Ct;else if(!s||f){if(null==l)return f&&Ft>=0&&((0,w.scrollFocusedRowToViewportOffset)(e,Ft,b,Xt,qt,h),pe.current()),void(be.current=Ct);(R||f||p===Ct||v===Ct||y?.path===Ct||x?.path===Ct||null==u||u!==Ct)&&((0,w.focusElement)(l),p===Ct&&(et.current=null),v===Ct&&(tt.current=null),y?.path===Ct&&(nt.current=null),x?.path===Ct&&(rt.current=null),Ee.current=!1,Re.current=null),be.current=Ct}else be.current=Ct;else be.current=Ct},[t,Ft,Ct,Qt,b,Dt,Lt,Yt,Xt,L,It,O,Wt,qt,Ut]);const En=Ft>=0&&Ft>=Kt.visible.startIndex&&Ft<=Kt.visible.endIndex,Rn=null!=Ct&&Gt.some(e=>P(e.row)===Ct),kn=En||Rn,Mn=yt&&!0===xe.current&&kn?Ct:null,Sn="pointer"===Ge?Ke:null,Pn=Je?.path??lt.current??Sn??Mn??Ke,Dn="right-click"===Je?.source;(0,k.useLayoutEffect)(()=>{le.current&&null==Je||un(Rt(Pn))},[Je,Rt,Yt,Xt,qe,Gt,Pn,un,Ut]);const Ln=(0,k.useCallback)(e=>{if(le.current)return;if(z(e))return;const t=e.target;if(!(t instanceof HTMLElement))return;if(null!=t.closest?.("[data-type=\"context-menu-trigger\"]"))return;const n=t.closest?.("[data-file-tree-sticky-row=\"true\"]"),l=t.closest?.("[data-type=\"item\"]"),o=n instanceof HTMLElement?n.dataset.fileTreeStickyPath??null:l instanceof HTMLElement?l.dataset.itemPath??null:null;null!=o&&ze(e=>"pointer"===e?e:"pointer"),Ue(e=>e===o?e:o)},[]),An=(0,k.useCallback)(()=>{Ue(null)},[]);(0,k.useLayoutEffect)(()=>{if(!jt)return;const e=()=>{mn(),t.cancelDrag()};return window.addEventListener("dragend",e),()=>{window.removeEventListener("dragend",e),mn(),t.cancelDrag()}},[t,jt]);const Cn=Kt.window.height,Fn=Kt.window.offsetTop,In=Math.min(0,Xt-Cn),jn=Math.min(0,Xt-Cn-Wt),On=Ne===Ct||Ee.current,Hn=null!=Ct&&On&&!Qt&&Ft>=0?Ut[Ft]??t.getVisibleRows(Ft,Ft)[0]??null:null,_n=null==Hn?null:(0,w.getParkedFocusedRowOffset)(Ft,b,Yt,Cn),Vn=Le.current,$n=null!=Vt&&null!=Vn&&Vn.path===Vt&&Vn.index>=Yt.start&&Vn.index<=Yt.end,Nn=null==Vt||null==Vn||Vn.path!==Vt||$n||Vn.path===Hn?.path?null:Vn,Bn=null==Nn?null:(0,w.getParkedFocusedRowOffset)(Nn.index,b,Yt,Cn),Kn=null==(Un=(Ft>=0?Ut[Ft]??t.getVisibleRows(Ft,Ft)[0]??null:null)?.ancestorPaths.at(-1)??null)?"":`[data-item-section="spacing-item"][data-ancestor-path="${Un.replaceAll("\\","\\\\").replaceAll("\"","\\\"")}"] { opacity: 1; }`;var Un;const Xn=Lt&&null!=Ct?re(v,Ct,!Qt):void 0,Yn=Je?.path??(Lt?Ct:Ne),Gn=Je?.path??Ke,zn=Rt(Pn),qn=mt&&yt&&!Dn&&!Dt&&null!=zn&&null!=Xe&&null!=Pn,Wn=mt&&(qn||null!=Je),Jn=Je?.anchorRect,Qn=null!=Jn||null==zn||null==Xe||null==Je&&!qn?null:Xe,Zn=null!=Jn?{left:`${Jn.left}px`,position:"fixed",right:"auto",top:`${Jn.top}px`}:null!=Qn?{top:`${Qn}px`}:void 0,er=Dn?{opacity:"0"}:void 0,tr=(0,k.useCallback)((e,n,l,o)=>{const u=(0,E.computeFileTreeRowClickPlan)({event:{ctrlKey:e.ctrlKey,metaKey:e.metaKey,shiftKey:e.shiftKey},isDirectory:"directory"===n.kind,isSearchOpen:Lt,mode:o}),c=u.toggleDirectory&&"directory"===n.kind,s=c?t.resolveMountedDirectoryPathFromInput(l):null;if(c&&null==s)return;const f=s??l;switch(u.selection.kind){case"range":t.selectPathRange(f,u.selection.additive);break;case"toggle":t.togglePathSelectionFromInput(f);break;case"single":t.selectOnlyMountedPathFromInput(f)}const h=e.currentTarget instanceof HTMLElement?e.currentTarget:null,p=n.index>=Kt.visible.startIndex&&n.index<=Kt.visible.endIndex,v="flow"===o&&p&&null!=h&&"true"!==h.dataset.itemParked;t.focusMountedPathFromInput(f),v&&(xe.current=!0,Be(e=>e===f?e:f),ze("focus")),c&&t.toggleMountedDirectoryFromInput(f),u.closeSearch&&t.closeSearch(),u.revealCanonical&&sn(f,{targetOffset:"sticky-parents"})},[t,Lt,Kt.visible.endIndex,Kt.visible.startIndex,sn]),nr=()=>{if(le.current)return;if(!yt)return;if(null==Pn||null==zn)return;const e=t.getItem(Pn);null!=e&&(un(zn),rn.current=!0,Qe({anchorRect:null,item:{kind:e.isDirectory()?"directory":"file",name:zn.getAttribute("aria-label")??Pn,path:e.getPath()},path:e.getPath(),source:"button"}))},rr={contextHoverPath:Gn,contextMenuButtonTriggerEnabled:yt,contextMenuButtonVisibility:wt,contextMenuEnabled:mt,contextMenuRightClickEnabled:xt,contextMenuTriggerMode:vt,controller:t,directoriesWithGitChanges:h,dragAndDropEnabled:jt,draggedPathSet:Ht,dragTarget:_t,gitLaneActive:kt,gitStatusByPath:n,handleRowDragEnd:()=>{hn(),fn(),gn(),Le.current=null,t.cancelDrag()},handleRowDragStart:(e,n,l)=>{const o=e.currentTarget;if(null!=o)if(mn(),hn(),fn(),gn(),!1!==t.startDrag(l)){if(Le.current=n,null!=e.dataTransfer&&(e.dataTransfer.effectAllowed="move",e.dataTransfer.dropEffect="move",e.dataTransfer.setData("text/plain",l),"Apple Computer, Inc."!==navigator.vendor)){const t=_(o),n=o.getBoundingClientRect();Object.assign(t.style,{height:`${n.height}px`,opacity:"0.85",transform:"translate3d(-9999px, 0px, 0)",width:`${n.width}px`}),pn(t),De.current=t,e.dataTransfer.setDragImage(t,Math.max(0,e.clientX-n.left),Math.max(0,e.clientY-n.top))}}else e.preventDefault()},handleRowTouchStart:(e,n,l)=>{if(null!=Oe.current||Ce.current)return;const o=e.touches[0],u=e.currentTarget;if(null==o||null==u)return;je.current={clientX:o.clientX,clientY:o.clientY},Ie.current=u,u.setAttribute("draggable","false");const c=(e={})=>{const t=e.restoreNativeDraggable??!Ce.current;null!=Oe.current&&(clearTimeout(Oe.current),Oe.current=null),document.removeEventListener("touchmove",s),document.removeEventListener("touchend",f),document.removeEventListener("touchcancel",f),Ae.current===c&&(Ae.current=null),t&&(u.setAttribute("draggable","true"),Ie.current===u&&(Ie.current=null),je.current=null)},s=e=>{const t=e.touches[0],n=je.current;if(null==t||null==n)return;const l=t.clientX-n.clientX,o=t.clientY-n.clientY;l*l+o*o<=100||c()},f=()=>{c()};document.addEventListener("touchmove",s,{passive:!0}),document.addEventListener("touchend",f),document.addEventListener("touchcancel",f),Ae.current=c,Oe.current=setTimeout(()=>{if(c({restoreNativeDraggable:!1}),!1===t.startDrag(l))return u.setAttribute("draggable","true"),Ie.current===u&&(Ie.current=null),void(je.current=null);Ce.current=!0,Ie.current=u,u.setAttribute("draggable","false"),u.style.setProperty("touch-action","none"),Le.current=n;const e=u.getBoundingClientRect(),s=_(u);Object.assign(s.style,{height:`${e.height}px`,opacity:"0.85",transform:`translate3d(${e.left}px, ${e.top}px, 0)`,width:`${e.width}px`}),pn(s),De.current=s,Fe.current={x:o.clientX-e.left,y:o.clientY-e.top};const f=e=>{const t=e.touches[0];if(null==t)return;e.preventDefault();const n=Fe.current;null!=n&&null!=De.current&&(De.current.style.transform=`translate3d(${t.clientX-n.x}px, ${t.clientY-n.y}px, 0)`),yn(vn(t.clientX,t.clientY)),xn(t.clientX,t.clientY)},h=e=>{const n=e.changedTouches[0];null!=n&&vn(n.clientX,n.clientY),t.completeDrag(),mn()},p=()=>{t.cancelDrag(),mn()};Ae.current=()=>{document.removeEventListener("touchmove",f),document.removeEventListener("touchend",h),document.removeEventListener("touchcancel",p)},document.addEventListener("touchmove",f,{passive:!1}),document.addEventListener("touchend",h),document.addEventListener("touchcancel",p)},C)},ignoredGitDirectories:l,ignoredInheritanceCache:He,instanceId:v,itemHeight:b,onKeyDown:bn,onRowClick:tr,openContextMenuForRow:an,registerButton:bt,registerRenameInput:Et,renameView:St,renderDecorationForRow:Zt,resolveIcon:Mt,shouldSuppressContextMenu:()=>!0===le.current||null!=Oe.current||!0===Ce.current,visualFocusPath:Yn},lr=Object.assign({},rr,{registerButton:Tt});return(0,M.jsxs)("div",{ref:se,id:$t,"data-file-tree-context-menu-button-visibility":mt&&yt?wt:void 0,"data-file-tree-context-menu-trigger-mode":mt?vt:void 0,"data-file-tree-has-context-menu-action-lane":mt&&yt?"true":void 0,"data-file-tree-has-git-lane":kt?"true":void 0,"data-file-tree-virtualized-root":"true",onDragLeave:jt?e=>{if(!jt||null==t.getDragSession()||Ce.current)return;const n=e.relatedTarget;n instanceof Node&&!0===se.current?.contains(n)||(fn(),gn(),t.setDragTarget(null))}:void 0,onDragOver:jt?e=>{if(!jt||null==t.getDragSession()||Ce.current)return;const n=H(e.target instanceof HTMLElement?e.target:null);t.setDragTarget(n),yn(t.getDragSession()?.target??null),xn(e.clientX,e.clientY),null!=e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.preventDefault()}:void 0,onDrop:jt?e=>{jt&&null!=t.getDragSession()&&!Ce.current&&(e.preventDefault(),vn(e.clientX,e.clientY),t.completeDrag(),hn(),fn(),gn(),Le.current=null)}:void 0,onKeyDown:bn,onPointerLeave:mt?An:void 0,onPointerOver:mt?Ln:void 0,role:"tree",tabIndex:-1,style:{outline:"none",position:"relative"},children:[(0,M.jsx)("style",{"data-file-tree-guide-style":"true",dangerouslySetInnerHTML:{__html:Kn}}),(0,M.jsx)("slot",{name:o.HEADER_SLOT_NAME,"data-type":"header-slot"}),L?(0,M.jsx)("div",{"data-file-tree-search-container":!0,"data-open":Lt?"true":"false",children:(0,M.jsx)("input",{ref:fe,"aria-activedescendant":Xn,"aria-controls":$t,placeholder:"Search\u2026","data-file-tree-search-input":!0,"data-file-tree-search-input-fake-focus":at?"true":void 0,value:At,onBlur:()=>{("retain"!==D||st.current)&&t.closeSearch()},onFocus:dt,onPointerDown:dt,onInput:e=>{dt();const n=e.currentTarget;t.setSearch(n.value)}})}):null,(0,M.jsxs)("div",{ref:de,"data-file-tree-virtualized-scroll":"true",children:[O&&gt&&Gt.length>0?(0,M.jsx)("div",{"aria-hidden":"true","data-file-tree-sticky-overlay":"true",children:(0,M.jsx)("div",{"data-file-tree-sticky-overlay-content":"true",style:{height:`${Nt}px`},children:Gt.map((e,t)=>ae(lr,e.row,`sticky:${P(e.row)}`,{mode:"sticky",style:{left:"0",position:"absolute",right:"0",top:`${e.top}px`,zIndex:""+(Gt.length-t)}}))})}):null,(0,M.jsxs)("div",{ref:oe,"data-file-tree-virtualized-list":"true",style:{height:`${qt}px`},children:[(0,M.jsx)("div",{"data-file-tree-virtualized-sticky-offset":"true","aria-hidden":"true",style:{height:`${Fn}px`}}),(0,M.jsxs)("div",{"data-file-tree-virtualized-sticky":"true",style:{height:`${Cn}px`,top:`${In}px`,bottom:`${jn}px`},children:[ce(rr,Yt,Jt),null!=Hn&&null!=_n?ae(rr,Hn,`parked:${Hn.path}`,{isParked:!0,style:{left:"0",opacity:"0",pointerEvents:Vt===Hn.path?"none":void 0,position:"absolute",right:"0",top:`${_n}px`}}):null,null!=Nn&&null!=Bn?ae(rr,Nn,`parked-drag:${Nn.path}`,{isParked:!0,style:{left:"0",opacity:"0",pointerEvents:"none",position:"absolute",right:"0",top:`${Bn}px`}}):null]})]})]}),mt?(0,M.jsxs)("div",{ref:N,"data-type":"context-menu-anchor","data-visible":Wn?"true":"false",style:Zn,children:[(0,M.jsx)("button",{ref:Z,type:"button","data-type":o.CONTEXT_MENU_TRIGGER_TYPE,"aria-label":"Options","aria-haspopup":"menu","aria-expanded":null!=Je?"true":"false","data-visible":qn?"true":"false",onMouseDown:e=>{e.preventDefault()},onClick:e=>{e.preventDefault(),e.stopPropagation(),null==Je?nr():on()},tabIndex:-1,style:er,children:(0,M.jsx)(f.Icon,Object.assign({},Mt("file-tree-icon-ellipsis")))}),null!=Je?(0,M.jsx)("slot",{name:o.CONTEXT_MENU_SLOT_NAME}):null]}):null,null!=Je?(0,M.jsx)("div",{"data-type":"context-menu-wash","aria-hidden":"true",onMouseDownCapture:e=>{e.preventDefault(),on()},onTouchStartCapture:e=>{e.preventDefault(),e.stopPropagation(),on()},onTouchMoveCapture:e=>{e.preventDefault(),e.stopPropagation()},onWheelCapture:e=>{e.preventDefault(),e.stopPropagation()}}):null]})}},1248,[25,1202,1203,1230,1236,1249,1252,1253,1254,1255,1256,1258,1259,1260,1261,1251,1262,1250]);
51
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"Icon",{enumerable:!0,get:function(){return c}});var t=r(d[0]);const n=16,o=16,l={};function c({name:c,remappedFrom:h,token:s,width:u,height:p,viewBox:w,label:b,alignCapitals:f=!1}){const v=`#${c.replace(/^#/,"")}`,{width:j,height:x,viewBox:_}=l[c]??{width:n,height:o},B=u??j,O=p??x,$=w??_??`0 0 ${j} ${x}`;return(0,t.jsx)("svg",Object.assign({"data-icon-name":h??c,"data-icon-token":s,"data-align-capitals":f},null!=b?{"aria-label":b,role:"img"}:{"aria-hidden":!0},{viewBox:$,width:B,height:O,children:(0,t.jsx)("use",{href:v})}))}},1249,[1250]);
52
- __d(function(g,_r,_i,_a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"Fragment",{enumerable:!0,get:function(){return e.Fragment}}),Object.defineProperty(_e,"jsx",{enumerable:!0,get:function(){return u}}),Object.defineProperty(_e,"jsxAttr",{enumerable:!0,get:function(){return a}}),Object.defineProperty(_e,"jsxDEV",{enumerable:!0,get:function(){return u}}),Object.defineProperty(_e,"jsxEscape",{enumerable:!0,get:function(){return l}}),Object.defineProperty(_e,"jsxTemplate",{enumerable:!0,get:function(){return f}}),Object.defineProperty(_e,"jsxs",{enumerable:!0,get:function(){return u}});var e=_r(d[0]),t=/["&<]/;function r(e){if(0===e.length||!1===t.test(e))return e;for(var r=0,n=0,o="",u="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:u="&quot;";break;case 38:u="&amp;";break;case 60:u="&lt;";break;default:continue}n!==r&&(o+=e.slice(r,n)),o+=u,r=n+1}return n!==r&&(o+=e.slice(r,n)),o}var n=0,o=Array.isArray;function u(t,r,o,u,f,i){r||(r={});var c,a,l=r;if("ref"in l&&"function"!=typeof t)for(a in l={},r)"ref"==a?c=r[a]:l[a]=r[a];var s={type:t,props:l,key:o,ref:c,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--n,__i:-1,__u:0,__source:f,__self:i};return e.options.vnode&&e.options.vnode(s),s}function f(t){var r=u(e.Fragment,{tpl:t,exprs:[].slice.call(arguments,1)});return r.key=r.__v,r}var i={},c=/[A-Z]/g;function a(t,n){if(e.options.attr){var o=e.options.attr(t,n);if("string"==typeof o)return o}if(n=null!==(u=n)&&"object"==typeof u&&"function"==typeof u.valueOf?u.valueOf():u,"ref"===t||"key"===t)return"";var u;if("style"===t&&"object"==typeof n){var f="";for(var a in n){var l=n[a];null!=l&&""!==l&&(f=f+("-"==a[0]?a:i[a]||(i[a]=a.replace(c,"-$&").toLowerCase()))+":"+l+";")}return t+'="'+r(f)+'"'}return null==n||!1===n||"function"==typeof n||"object"==typeof n?"":!0===n?t:t+'="'+r(""+n)+'"'}function l(e){if(null==e||"boolean"==typeof e||"function"==typeof e)return null;if("object"==typeof e){if(void 0===e.constructor)return e;if(o(e)){for(var t=0;t<e.length;t++)e[t]=l(e[t]);return e}}return r(""+e)}},1250,[1251]);
53
- __d(function(_g,_r,_i,_a,_m,_e,_d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"Component",{enumerable:!0,get:function(){return w}}),Object.defineProperty(_e,"Fragment",{enumerable:!0,get:function(){return k}}),Object.defineProperty(_e,"cloneElement",{enumerable:!0,get:function(){return V}}),Object.defineProperty(_e,"createContext",{enumerable:!0,get:function(){return q}}),Object.defineProperty(_e,"createElement",{enumerable:!0,get:function(){return m}}),Object.defineProperty(_e,"createRef",{enumerable:!0,get:function(){return b}}),Object.defineProperty(_e,"h",{enumerable:!0,get:function(){return m}}),Object.defineProperty(_e,"hydrate",{enumerable:!0,get:function(){return B}}),Object.defineProperty(_e,"isValidElement",{enumerable:!0,get:function(){return t}}),Object.defineProperty(_e,"options",{enumerable:!0,get:function(){return e}}),Object.defineProperty(_e,"render",{enumerable:!0,get:function(){return I}}),Object.defineProperty(_e,"toChildArray",{enumerable:!0,get:function(){return T}});var e,n,t,_,l,r,o,u,i,c,f,s,p={},a=[],h=Array.isArray,d=a.slice,g=Object.assign;function y(e){e&&e.parentNode&&e.remove()}function m(e,n,t){var _,l,r,o={};for(r in n)"key"==r?_=n[r]:"ref"==r&&"function"!=typeof e?l=n[r]:o[r]=n[r];return arguments.length>2&&(o.children=arguments.length>3?d.call(arguments,2):t),v(e,o,_,l,null)}function v(t,_,l,r,o){var u={type:t,props:_,key:l,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==o?++n:o,__i:-1,__u:0};return null==o&&null!=e.vnode&&e.vnode(u),u}function b(){return{current:null}}function k(e){return e.children}function w(e,n){this.props=e,this.context=n,this.__g=0}function C(e,n){if(null==n)return e.__?C(e.__,e.__i+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?C(e):null}function P(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=t.__e;break}return P(e)}}function x(n){(8&n.__g||!(n.__g|=8)||!_.push(n)||r++)&&l==e.debounceRendering||((l=e.debounceRendering)||queueMicrotask)(S)}function S(){for(var n,t,l,u,i,c,f,s,p=1;_.length;)_.length>p&&_.sort(o),n=_.shift(),p=_.length,8&n.__g&&(l=void 0,i=(u=(t=n).__v).__e,c=[],f=[],(s=t.__P)&&((l=g({},u)).__v=u.__v+1,e.vnode&&e.vnode(l),L(s,l,u,t.__n,s.namespaceURI,32&u.__u?[i]:null,c,null==i?C(u):i,!!(32&u.__u),f,s.ownerDocument),l.__v=u.__v,l.__.__k[l.__i]=l,A(c,l,f),l.__e!=i&&P(l)));r=0}function U(e,n,t,_,l,r,o,u,i,c,f,s){var h,d,g,y,m,v,b,k=_&&_.__k||a,w=n.length;for(i=j(t,n,k,i,w),h=0;h<w;h++)null!=(g=t.__k[h])&&(d=-1==g.__i?p:k[g.__i]||p,g.__i=h,v=L(e,g,d,l,r,o,u,i,c,f,s),y=g.__e,g.ref&&d.ref!=g.ref&&(d.ref&&R(d.ref,null,g),f.push(g.ref,g.__c||y,g)),null==m&&null!=y&&(m=y),(b=!!(4&g.__u))||d.__k===g.__k?i=O(g,i,e,b):"function"==typeof g.type&&void 0!==v?i=v:y&&(i=y.nextSibling),g.__u&=-7);return t.__e=m,i}function j(e,n,t,_,l){var r,o,u,i,c,f=t.length,s=f,p=0;for(e.__k=new Array(l),r=0;r<l;r++)null!=(o=n[r])&&"boolean"!=typeof o&&"function"!=typeof o?(i=r+p,(o=e.__k[r]="string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?v(null,o,null,null,null):h(o)?v(k,{children:o},null,null,null):null==o.constructor&&o.__b>0?v(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=e,o.__b=e.__b+1,u=null,-1!=(c=o.__i=D(o,t,i,s))&&(s--,(u=t[c])&&(u.__u|=2)),null==u||null==u.__v?(-1==c&&(l>f?p--:l<f&&p++),"function"!=typeof o.type&&(o.__u|=4)):c!=i&&(c==i-1?p--:c==i+1?p++:(c>i?p--:p++,o.__u|=4))):e.__k[r]=null;if(s)for(r=0;r<f;r++)null!=(u=t[r])&&!(2&u.__u)&&(u.__e==_&&(_=C(u)),H(u,u));return _}function O(e,n,t,_){var l,r;if("function"==typeof e.type){for(l=e.__k,r=0;l&&r<l.length;r++)l[r]&&(l[r].__=e,n=O(l[r],n,t,_));return n}e.__e!=n&&(_&&(n&&e.type&&!n.parentNode&&(n=C(e)),t.insertBefore(e.__e,n||null)),n=e.__e);do{n=n&&n.nextSibling}while(null!=n&&8==n.nodeType);return n}function T(e,n){return n=n||[],null==e||"boolean"==typeof e||(h(e)?e.some(function(e){T(e,n)}):n.push(e)),n}function D(e,n,t,_){var l,r,o,u=e.key,i=e.type,c=n[t],f=null!=c&&!(2&c.__u);if(null===c&&null==e.key||f&&u==c.key&&i==c.type)return t;if(_>(f?1:0))for(l=t-1,r=t+1;l>=0||r<n.length;)if(null!=(c=n[o=l>=0?l--:r++])&&!(2&c.__u)&&u==c.key&&i==c.type)return o;return-1}function M(e,n,t){"-"==n[0]?e.setProperty(n,null==t?"":t):e[n]=null==t?"":t}function E(e,n,t,_,l){var r;e:if("style"==n)if("string"==typeof t)e.style.cssText=t;else{if("string"==typeof _&&(e.style.cssText=_=""),_)for(n in _)t&&n in t||M(e.style,n,"");if(t)for(n in t)_&&t[n]==_[n]||M(e.style,n,t[n])}else if("o"==n[0]&&"n"==n[1])r=n!=(n=n.replace(u,"$1")),(n=n.slice(2))[0].toLowerCase()!=n[0]&&(n=n.toLowerCase()),e.__l||(e.__l={}),e.__l[n+r]=t,t?_?t.l=_.l:(t.l=i,e.addEventListener(n,r?f:c,r)):e.removeEventListener(n,r?f:c,r);else{if("http://www.w3.org/2000/svg"==l)n=n.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=n&&"height"!=n&&"href"!=n&&"list"!=n&&"form"!=n&&"tabIndex"!=n&&"download"!=n&&"rowSpan"!=n&&"colSpan"!=n&&"role"!=n&&"popover"!=n&&n in e)try{e[n]=null==t?"":t;break e}catch(e){}"function"==typeof t||(null==t||!1===t&&"-"!=n[4]?e.removeAttribute(n):e.setAttribute(n,"popover"==n&&1==t?"":t))}}function W(n){return function(t){if(this.__l){var _=this.__l[t.type+n];if(null==t.u)t.u=i++;else if(t.u<_.l)return;return _(e.event?e.event(t):t)}}}function L(n,t,_,l,r,o,u,i,c,f,s){var p,a,d,m,v,b,C,P,x,S,j,O,T,D,M,E,W,L,A,R,H,I=t.type;if(null!=t.constructor)return null;128&_.__u&&(c=!!(32&_.__u),_.__c.__z&&(i=t.__e=_.__e=(o=_.__c.__z)[0],_.__c.__z=null)),(p=e.__b)&&p(t);e:if("function"==typeof I)try{if(P=t.props,x="prototype"in I&&I.prototype.render,S=(p=I.contextType)&&l[p.__c],j=p?S?S.props.value:p.__:l,_.__c?2&(a=t.__c=_.__c).__g&&(a.__g|=1,C=!0):(x?t.__c=a=new I(P,j):(t.__c=a=new w(P,j),a.constructor=I,a.render=$),S&&S.sub(a),a.props=P,a.state||(a.state={}),a.context=j,a.__n=l,d=!0,a.__g|=8,a.__h=[],a._sb=[]),x&&null==a.__s&&(a.__s=a.state),x&&null!=I.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=g({},a.__s)),g(a.__s,I.getDerivedStateFromProps(P,a.__s))),m=a.props,v=a.state,a.__v=t,d)x&&null==I.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),x&&null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(x&&null==I.getDerivedStateFromProps&&P!==m&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(P,j),!(4&a.__g)&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(P,a.__s,j)||t.__v==_.__v){for(t.__v!=_.__v&&(a.props=P,a.state=a.__s,a.__g&=-9),t.__e=_.__e,t.__k=_.__k,t.__k.some(function(e){e&&(e.__=t)}),O=0;O<a._sb.length;O++)a.__h.push(a._sb[O]);a._sb=[],a.__h.length&&u.push(a);break e}null!=a.componentWillUpdate&&a.componentWillUpdate(P,a.__s,j),x&&null!=a.componentDidUpdate&&a.__h.push(function(){a.componentDidUpdate(m,v,b)})}if(a.context=j,a.props=P,a.__P=n,a.__g&=-5,T=e.__r,D=0,x){for(a.state=a.__s,a.__g&=-9,T&&T(t),p=a.render(a.props,a.state,a.context),M=0;M<a._sb.length;M++)a.__h.push(a._sb[M]);a._sb=[]}else do{a.__g&=-9,T&&T(t),p=a.render(a.props,a.state,a.context),a.state=a.__s}while(8&a.__g&&++D<25);a.state=a.__s,null!=a.getChildContext&&(l=g({},l,a.getChildContext())),x&&!d&&null!=a.getSnapshotBeforeUpdate&&(b=a.getSnapshotBeforeUpdate(m,v)),E=p,null!=p&&p.type===k&&null==p.key&&(E=N(p.props.children)),i=U(n,h(E)?E:[E],t,_,l,r,o,u,i,c,f,s),t.__u&=-161,a.__h.length&&u.push(a),C&&(a.__g&=-4)}catch(n){if(t.__v=null,c||null!=o)if(n.then){for(W=0,L=!1,t.__u|=c?160:128,t.__c.__z=[],A=0;A<o.length;A++)null==(R=o[A])||L||(8==R.nodeType&&"$s"==R.data?(W>0&&t.__c.__z.push(R),W++,o[A]=null):8==R.nodeType&&"/$s"==R.data?(--W>0&&t.__c.__z.push(R),L=0===W,i=o[A],o[A]=null):W>0&&(t.__c.__z.push(R),o[A]=null));if(!L){for(;i&&8==i.nodeType&&i.nextSibling;)i=i.nextSibling;o[o.indexOf(i)]=null,t.__c.__z=[i]}t.__e=i}else{for(H=o.length;H--;)y(o[H]);z(t)}else t.__e=_.__e,t.__k=_.__k,n.then||z(t);e.__e(n,t,_)}else i=t.__e=F(_.__e,t,_,l,r,o,u,c,f,s);return(p=e.diffed)&&p(t),128&t.__u?void 0:i}function z(e){e&&e.__c&&(e.__c.__g|=4),e&&e.__k&&e.__k.forEach(z)}function A(n,t,_){for(var l=0;l<_.length;l++)R(_[l],_[++l],_[++l]);e.__c&&e.__c(t,n),n.some(function(t){try{n=t.__h,t.__h=[],n.some(function(e){e.call(t)})}catch(n){e.__e(n,t.__v)}})}function N(e){return"object"!=typeof e||null==e||e.__b&&e.__b>0?e:h(e)?e.map(N):g({},e)}function F(n,t,_,l,r,o,u,i,c,f){var s,a,g,m,v,b,k,w,P=_.props,x=t.props,S=t.type;if("svg"==S?r="http://www.w3.org/2000/svg":"math"==S?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),null!=o)for(s=0;s<o.length;s++)if((v=o[s])&&"setAttribute"in v==!!S&&(S?v.localName==S:3==v.nodeType)){n=v,o[s]=null;break}if(null==n){if(null==S)return f.createTextNode(x);n=f.createElementNS(r,S,x.is&&x),i&&(e.__m&&e.__m(t,o),i=!1),o=null}if(null==S)P===x||i&&n.data==x||(n.data=x);else{if(o=o&&d.call(n.childNodes),P=_.props||p,!i&&null!=o)for(P={},s=0;s<n.attributes.length;s++)P[(v=n.attributes[s]).name]=v.value;for(s in P)if(v=P[s],"children"==s);else if("dangerouslySetInnerHTML"==s)g=v;else if(!(s in x)){if("value"==s&&"defaultValue"in x||"checked"==s&&"defaultChecked"in x)continue;E(n,s,null,v,r)}for(s in w=1&_.__u,x)v=x[s],"children"==s?m=v:"dangerouslySetInnerHTML"==s?a=v:"value"==s?b=v:"checked"==s?k=v:i&&"function"!=typeof v||P[s]===v&&!w||E(n,s,v,P[s],r);if(a)i||g&&(a.__html==g.__html||a.__html==n.innerHTML)||(n.innerHTML=a.__html),t.__k=[];else if(g&&(n.innerHTML=""),U("template"==S?n.content:n,h(m)?m:[m],t,_,l,"foreignObject"==S?"http://www.w3.org/1999/xhtml":r,o,u,o?o[0]:_.__k&&C(_,0),i,c,f),null!=o)for(s=o.length;s--;)y(o[s]);i||(s="value","progress"==S&&null==b?n.removeAttribute("value"):null==b||b===n[s]&&("progress"!==S||b)||E(n,s,b,P[s],r),s="checked",null!=k&&k!=n[s]&&E(n,s,k,P[s],r))}return n}function R(n,t,_){try{if("function"==typeof n){var l="function"==typeof n.__u;l&&n.__u(),l&&null==t||(n.__u=n(t))}else n.current=t}catch(n){e.__e(n,_)}}function H(n,t,_){var l,r;if(e.unmount&&e.unmount(n),(l=n.ref)&&(l.current&&l.current!=n.__e||R(l,null,t)),null!=(l=n.__c)){if(l.componentWillUnmount)try{l.componentWillUnmount()}catch(n){e.__e(n,t)}l.__P=null}if(l=n.__k)for(r=0;r<l.length;r++)l[r]&&H(l[r],t,_||"function"!=typeof n.type);_||y(n.__e),n.__e&&n.__e.__l&&(n.__e.__l=null),n.__e=n.__c=n.__=null}function $(e,n,t){return this.constructor(e,t)}function I(n,t){var _,l,r,o;t==document&&(t=document.documentElement),e.__&&e.__(n,t),l=(_=!!(n&&32&n.__u))?null:t.__k,n=t.__k=m(k,null,[n]),r=[],o=[],L(t,n,l||p,p,t.namespaceURI,l?null:t.firstChild?d.call(t.childNodes):null,r,l?l.__e:t.firstChild,_,o,t.ownerDocument),A(r,n,o)}function B(e,n){e.__u|=32,I(e,n)}function V(e,n,t){var _,l,r,o=g({},e.props);for(r in n)"key"==r?_=n[r]:"ref"==r&&"function"!=typeof e.type?l=n[r]:o[r]=n[r];return arguments.length>2&&(o.children=arguments.length>3?d.call(arguments,2):t),v(e.type,o,_||e.key,l||e.ref,null)}function q(e){function n(e){var t,_;return this.getChildContext||(t=new Set,(_={})[n.__c]=this,this.getChildContext=function(){return _},this.componentWillUnmount=function(){t=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&t.forEach(function(e){e.__g|=4,x(e)})},this.sub=function(e){t.add(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){t&&t.delete(e),n&&n.call(e)}}),e.children}return n.__c="__cC"+s++,n.__=e,n.Provider=n.__l=(n.Consumer=function(e,n){return e.children(n)}).contextType=n,n}e={__e:function(e,n,t,_){for(var l,o,u;n=n.__;)if((l=n.__c)&&!(1&l.__g)){l.__g|=4;try{if((o=l.constructor)&&null!=o.getDerivedStateFromError&&(l.setState(o.getDerivedStateFromError(e)),u=8&l.__g),null!=l.componentDidCatch&&(l.componentDidCatch(e,_||{}),u=8&l.__g),u)return void(l.__g|=2)}catch(n){e=n}}throw r=0,e}},n=0,t=function(e){return null!=e&&null==e.constructor},w.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=g({},this.state),"function"==typeof e&&(e=e(g({},t),this.props)),e&&g(t,e),null!=e&&this.__v&&(n&&this._sb.push(n),x(this))},w.prototype.forceUpdate=function(e){this.__v&&(this.__g|=4,e&&this.__h.push(e),x(this))},w.prototype.render=k,_=[],r=0,o=function(e,n){return e.__v.__b-n.__v.__b},u=/(PointerCapture)$|Capture$/i,i=0,c=W(!1),f=W(!0),s=0},1251,[]);
54
- __d(function(g,r,i,a,m,_e,d){"use strict";const e=["children","mode","marker","variant"],t=["children"],n=["children"],l=["children","contents","priority","split","minimumLength","className","style"];Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"Fruncate",{enumerable:!0,get:function(){return _}}),Object.defineProperty(_e,"MiddleTruncate",{enumerable:!0,get:function(){return I}}),Object.defineProperty(_e,"OverflowText",{enumerable:!0,get:function(){return k}}),Object.defineProperty(_e,"Truncate",{enumerable:!0,get:function(){return N}}),Object.defineProperty(_e,"splitByIndex",{enumerable:!0,get:function(){return x}}),Object.defineProperty(_e,"splitCenter",{enumerable:!0,get:function(){return p}}),Object.defineProperty(_e,"splitExtension",{enumerable:!0,get:function(){return b}}),Object.defineProperty(_e,"splitFirst",{enumerable:!0,get:function(){return O}}),Object.defineProperty(_e,"splitLast",{enumerable:!0,get:function(){return v}}),Object.defineProperty(_e,"splitLeafPath",{enumerable:!0,get:function(){return y}});var c,s=r(d[0]),u=(c=s)&&c.__esModule?c:{default:c},o=r(d[1]);const f=e=>void 0!==e&&/\s/.test(e),h=(e,t)=>{const n=t=>f(e[t-1])||f(e[t]);if(!n(t))return t;for(let l=1;l<e.length;l++){const c=t-l;if(c>0&&!n(c))return c;const s=t+l;if(s<e.length&&!n(s))return s}return t},j=e=>h(e,Math.ceil(e.length/2)),p=e=>{if(e.length<2)return[e,""];const t=j(e);return[e.slice(0,t),e.slice(t)]},b=e=>{if(e.length<4)return[e,""];const t=e.lastIndexOf(".")+1,n=e.length-t>10,l=t>=1&&!n?t:j(e);return[e.slice(0,l),e.slice(l)]},y=e=>{if(e.length<4)return[e,""];const t=e.lastIndexOf("/")+1,n=e.length-t>25,l=t>=1&&!n?t:Math.ceil(e.length/2);return[e.slice(0,l),e.slice(l)]},x=(e,{splitIndex:t}={})=>{if("number"!=typeof t){const t=Math.ceil(e.length/2);return[e.slice(0,t),e.slice(t)]}return[e.slice(0,t),e.slice(t)]},v=(e,{splitOffset:t}={})=>{if("number"!=typeof t||t<=0||t>=e.length){const t=Math.ceil(e.length/2);return[e.slice(0,t),e.slice(t)]}const n=e.length-t;return[e.slice(0,n),e.slice(n)]},O=(e,{splitOffset:t}={})=>{if("number"!=typeof t||t<=0||t>=e.length){const t=Math.ceil(e.length/2);return[e.slice(0,t),e.slice(t)]}const n=t;return[e.slice(0,n),e.slice(n)]};function P({children:e,marker:t,variant:n="default"}){return(0,o.jsx)("div",{"aria-hidden":!0,"data-truncate-marker-cell":!0,children:(0,o.jsx)("div",{"data-truncate-marker":!0,children:"function"==typeof t?t({children:e}):"fade"===n?(0,o.jsx)("span",{"data-truncate-fade":!0}):t})})}function M(e){const{mode:t,children:n}=e;return(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{"data-truncate-content":"visible",children:"fruncate"===t?(0,o.jsx)("span",{children:n}):n}),(0,o.jsx)("div",{"data-truncate-content":"overflow","aria-hidden":!0,children:"fruncate"===t?(0,o.jsx)("span",{children:n}):n})]})}function k(t){let{children:n,mode:l="truncate",marker:c="\u2026",variant:s="default"}=t,f=(0,u.default)(t,e);const h=(0,o.jsx)(M,{mode:l,children:n},"content"),j=(0,o.jsx)(P,{marker:c,mode:l,variant:s},"marker"),p=(0,o.jsx)("div",{"data-truncate-fill":!0},"fill");return(0,o.jsx)("div",Object.assign({"data-truncate-container":l,"data-truncate-variant":s},f,{children:(0,o.jsx)("div",{"data-truncate-grid":!0,children:"truncate"===l?[h,j]:[j,h,p]})}))}function N(e){let{children:n}=e,l=(0,u.default)(e,t);return(0,o.jsx)(k,Object.assign({mode:"truncate"},l,{children:n}))}function _(e){let{children:t}=e,l=(0,u.default)(e,n);return(0,o.jsx)(k,Object.assign({mode:"fruncate"},l,{children:t}))}function I(e){let{children:t,contents:n,priority:c="end",split:s="center",minimumLength:f=12,className:h,style:j}=e,P=(0,u.default)(e,l),M=null,k=null;if(Array.isArray(n)){if(2!==n.length)return console.error("MiddleTruncate: contents must be an array of two items"),null;M=(0,o.jsx)(N,Object.assign({},P,{children:n[0]})),k=(0,o.jsx)(_,Object.assign({},P,{children:n[1]}))}else{if("string"!=typeof t)return console.error("MiddleTruncate: children must be a string"),null;if(0===t.length)return(0,o.jsx)("div",{className:h,style:j});if(t.length<f)return"end"===c?(0,o.jsx)(_,Object.assign({},P,{className:h,style:j,children:t})):(0,o.jsx)(N,Object.assign({},P,{className:h,style:j,children:t}));let e=null,n=null,l=null;if("string"==typeof s)"center"===s?e=p:"extension"===s?e=b:"leaf-path"===s&&(e=y);else if("number"==typeof s)e=x,n=s;else if(Array.isArray(s)){const[t,n]=s;l=n,"last"===t?e=v:"first"===t&&(e=O)}else"function"==typeof s&&(e=s);e??=p;const[u,I]=e(t,{priority:c,variant:P.variant,splitIndex:"number"==typeof n?n:void 0,splitOffset:"number"==typeof l?l:void 0}),T=u.length>=I.length,q="equal"===c&&T,A={},L={};"equal"===c&&!T&&(A.marker=""),q&&(L.marker=""),M=(0,o.jsx)(N,Object.assign({},P,A,{children:u})),k=(0,o.jsx)(_,Object.assign({},P,L,{children:I}))}return(0,o.jsxs)("div",{"data-truncate-group-container":"middle",className:h,style:j,children:[(0,o.jsx)("div",{"data-truncate-segment-priority":"start"===c||"equal"===c?"1":"2",children:M}),(0,o.jsx)("div",{"data-truncate-segment-priority":"end"===c||"equal"===c?"1":"2",children:k})]})}},1252,[25,1250]);
55
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"EMPTY_FILE_TREE_LAYOUT_RANGE",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"computeFileTreeLayout",{enumerable:!0,get:function(){return p}}),Object.defineProperty(e,"computeStickyRows",{enumerable:!0,get:function(){return f}});const t={endIndex:-1,startIndex:-1};function n(n,o){return n<0||o<n?t:{endIndex:o,startIndex:n}}function o(t){return t.startIndex<0||t.endIndex<t.startIndex}function l(t,n){return o(t)?0:(t.endIndex-t.startIndex+1)*n}function c(t,n,o){if(n<=0)return-1;return t<=0?0:t>=n*o?n:Math.floor(t/o)}function h(t){const n=new Map;return t.forEach((t,o)=>{if("directory"!==t.kind||!t.isExpanded)return;const l=t.ancestorPaths.length,c=n.get(l);null!=c?c.push(o):n.set(l,[o])}),n}function s(t,n){let o=0,l=t.length-1,c=-1;for(;o<=l;){const h=Math.floor((o+l)/2),s=t[h];if(null==s)break;s<=n?(c=h,o=h+1):l=h-1}return c}function u(t){const n=new Map,o=[];for(let l=0;l<t.length;l+=1){const c=t[l];if(null==c)continue;const h="directory"===c.kind&&c.isExpanded?[...c.ancestorPaths,c.path]:c.ancestorPaths;let s=0;for(;s<o.length&&s<h.length&&o[s]===h[s];)s+=1;for(let t=o.length-1;t>=s;t-=1){const c=o[t];null!=c&&n.set(c,l-1)}o.length=s;for(let t=s;t<h.length;t+=1){const n=h[t];null!=n&&o.push(n)}}const l=t.length-1;for(const t of o)n.set(t,l);return n}function f(t,n,o){if(0===t.length||n<=0)return[];const l=u(t),c=h(t),f=[];for(let l=0;l<t.length;l+=1){const h=c.get(l);if(null==h||0===h.length)break;const u=n+l*o;let p=s(h,Math.min(t.length-1,Math.floor(u/o))),x=null;for(;p>=0;){const n=h[p],o=null==n?null:t[n]??null;if(null!=o&&(0===l||o.ancestorPaths[l-1]===f[l-1]?.path)){x=o;break}p-=1}if(null==x)break;f.push(x)}return f.map((c,h)=>{const s=h*o,u=(l.get(c.path)??t.length-1)+1;if(u>=t.length)return{row:c,top:s};const f=u*o-n;return{row:c,top:Math.min(s,f-o)}}).filter(t=>t.top+o>0)}function p(h,s){const u=s.totalRowCount??h.length,p=u*s.itemHeight,x=Math.max(0,s.viewportHeight),M=Math.max(0,Math.floor(s.overscan)),I=Math.max(0,p-x),H=(w=s.scrollTop,b=0,y=I,Math.min(Math.max(w,b),y));var w,b,y;const k=s.stickyRows??f(h,H,s.itemHeight),P=k.reduce((t,n)=>Math.max(t,n.top+s.itemHeight),0),T=Math.min(p,H+P),v=Math.max(0,x-P),E=Math.max(0,p-T),_=c(H,u,s.itemHeight),O=c(T,u,s.itemHeight),R=P<=0||_<0||_>=u?-1:_,j=-1===R?-1:Math.min(u-1,O-1),C=-1===R||j<R?0:j-R+1,L=v<=0||O>=u?t:n(O,(A=T+v,F=u,S=s.itemHeight,F<=0||A<=0?-1:A>=F*S?F-1:Math.ceil(A/S)-1));var A,F,S;const Y=j+1,G=o(L)?t:n(Math.max(Y,L.startIndex-M),Math.min(u-1,L.endIndex+M)),N=l(G,s.itemHeight);return{occlusion:{firstOccludedIndex:R,lastOccludedIndex:j,occludedCount:C},physical:{itemHeight:s.itemHeight,maxScrollTop:I,overscan:M,scrollTop:H,totalHeight:p,totalRowCount:u,viewportHeight:x},projected:{contentHeight:E,paneHeight:v,paneTop:T},sticky:{height:P,rows:k},visible:L,window:{endIndex:G.endIndex,height:N,offsetTop:o(G)?0:G.startIndex*s.itemHeight,startIndex:G.startIndex}}}},1253,[]);
56
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"GIT_STATUS_DESCENDANT_TITLE",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"GIT_STATUS_LABEL",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"GIT_STATUS_TITLE",{enumerable:!0,get:function(){return n}});const t={added:"A",deleted:"D",ignored:null,modified:"M",renamed:"R",untracked:"U"},n={added:"Git status: added",deleted:"Git status: deleted",ignored:"Git status: ignored",modified:"Git status: modified",renamed:"Git status: renamed",untracked:"Git status: untracked"},u="Contains git status items"},1254,[]);
57
- __d(function(g,r,i,a,m,e,d){"use strict";function n(n){return!!n.current||(n.current=!0,!1)}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"shouldBumpControllerRevision",{enumerable:!0,get:function(){return n}})},1255,[]);
58
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"focusElement",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"getActiveTreeElement",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"getCachedViewportHeight",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"getParkedFocusedRowOffset",{enumerable:!0,get:function(){return b}}),Object.defineProperty(e,"getResizeObserverViewportHeight",{enumerable:!0,get:function(){return l}}),Object.defineProperty(e,"readMeasuredViewportHeight",{enumerable:!0,get:function(){return c}}),Object.defineProperty(e,"scrollFocusedRowIntoView",{enumerable:!0,get:function(){return f}}),Object.defineProperty(e,"scrollFocusedRowToOffset",{enumerable:!0,get:function(){return s}}),Object.defineProperty(e,"scrollFocusedRowToViewportOffset",{enumerable:!0,get:function(){return p}});var t=r(d[0]);function n(t){if(null==t||!t.isConnected)return!1;if(t===document.body||t===document.documentElement)return!1;t.focus({preventScroll:!0});const n=t.getRootNode();return n instanceof ShadowRoot?n.activeElement===t:document.activeElement===t}function o(t){const n=t.getRootNode();if(n instanceof ShadowRoot){const t=n.activeElement;return t instanceof HTMLElement?t:null}const o=document.activeElement;return o instanceof HTMLElement&&t.contains(o)?o:null}function c(t,n){if(null==t)return n;const o=t.getBoundingClientRect().height;return o>0?o:t.clientHeight>0?t.clientHeight:n}function u(t,n){return null!=t&&t>0?t:n}function l(t){const n=t.borderBoxSize,o=Array.isArray(n)?n[0]:n;return null!=o&&Number.isFinite(o.blockSize)&&o.blockSize>0?o.blockSize:t.contentRect.height>0?t.contentRect.height:null}function f(n,o,c,u,l=0){const f=(0,t.computeFocusedRowScrollIntoView)({currentScrollTop:n.scrollTop,focusedIndex:o,itemHeight:c,topInset:l,viewportHeight:u});return null!=f&&(n.scrollTop=f,!0)}function s(n,o,c,u,l,f,s=0){const p=(0,t.computeFocusedRowScrollTopForOffset)({currentScrollTop:n.scrollTop,focusedIndex:o,itemHeight:c,offset:f,topInset:s,totalHeight:l,viewportHeight:u});return null!=p&&(n.scrollTop=p,!0)}function p(n,o,c,u,l,f){const s=(0,t.computeViewportOffsetScrollTop)({currentScrollTop:n.scrollTop,focusedIndex:o,itemHeight:c,targetViewportOffset:f,totalHeight:l,viewportHeight:u});return null!=s&&(n.scrollTop=s,!0)}function b(t,n,o,c){return o.end<o.start?null:t<o.start?-n:t>o.end?c:null}},1256,[1257]);
59
- __d(function(g,r,i,a,m,e,d){"use strict";function t(t){const{currentScrollTop:n,focusedIndex:o,itemHeight:u,topInset:c=0,viewportHeight:l}=t;if(o<0)return null;const f=Math.max(0,c),s=o*u,h=s+u;if(s<n+f){const t=Math.max(0,s-f);return t===n?null:t}if(h>n+l){const t=h-l;return t===n?null:t}return null}function n(n){const{currentScrollTop:o,focusedIndex:u,itemHeight:c,offset:l,topInset:f=0,totalHeight:s,viewportHeight:h}=n;if("nearest"===l)return t({currentScrollTop:o,focusedIndex:u,itemHeight:c,topInset:f,viewportHeight:h});if(u<0)return null;const p=Math.max(0,f),x=u*c,M=Math.max(0,h-p),H="center"===l?p+Math.max(0,(M-c)/2):p,w=Math.max(0,s-h),I=Math.max(0,Math.min(x-H,w));return I===o?null:I}function o(t){const{currentScrollTop:n,focusedIndex:o,itemHeight:u,targetViewportOffset:c,totalHeight:l,viewportHeight:f}=t;if(o<0)return null;const s=Math.max(0,c),h=o*u;if(h>=n+s&&h+u<=n+f)return null;const p=Math.max(0,l-f),x=Math.max(0,Math.min(h-s,p));return x===n?null:x}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"computeFocusedRowScrollIntoView",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"computeFocusedRowScrollTopForOffset",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"computeViewportOffsetScrollTop",{enumerable:!0,get:function(){return o}})},1257,[]);
60
- __d(function(g,r,i,a,m,e,d){"use strict";function n(n){const{renamingPath:t,previousRenamingPath:u,hasRenderedInput:o}=n;return null==t?"reset":o?u===t?"ignore":"focus-input":"reveal-canonical"}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"classifyFileTreeRenameHandoff",{enumerable:!0,get:function(){return n}})},1258,[]);
61
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"RenameInput",{enumerable:!0,get:function(){return t}});var n=r(d[0]);function t({ariaLabel:t,isFlattened:o=!1,ref:u,value:p,onBlur:l,onInput:s}){return(0,n.jsx)("input",Object.assign({ref:u,"data-item-rename-input":!0},o?{"data-item-flattened-rename-input":!0}:{},{"aria-label":t,value:p,onBlur:l,onInput:s,onClick:n=>n.stopPropagation(),onMouseDown:n=>n.stopPropagation(),onPointerDown:n=>n.stopPropagation()}))}},1259,[1250]);
62
- __d(function(g,r,i,a,m,e,d){"use strict";function t(t){const{row:n,mode:o,targetPath:s,ariaLabel:c,domId:u,isParked:l,itemHeight:v,features:p,state:b,extraStyle:f}=t,h="sticky"===o,x=n.ancestorPaths.at(-1)??"",y={};return b.isFocusRinged&&(y["data-item-focused"]=!0),n.isSelected&&(y["data-item-selected"]=!0),b.isContextHovered&&(y["data-item-context-hover"]="true"),b.isDragTarget&&(y["data-item-drag-target"]=!0),b.isDragging&&(y["data-item-dragging"]=!0),null!=b.effectiveGitStatus&&(y["data-item-git-status"]=b.effectiveGitStatus),b.containsGitChange&&(y["data-item-contains-git-change"]="true"),Object.assign({"aria-expanded":h||"directory"!==n.kind?void 0:n.isExpanded,"aria-haspopup":p.contextMenuEnabled?"menu":void 0,"aria-label":c,"aria-level":h?void 0:n.level+1,"aria-posinset":h?void 0:n.posInSet+1,"aria-selected":h?void 0:n.isSelected?"true":"false","aria-setsize":h?void 0:n.setSize,"data-file-tree-sticky-path":h?s:void 0,"data-file-tree-sticky-row":h?"true":void 0,"data-item-context-menu-button-visibility":p.actionLaneEnabled?p.contextMenuButtonVisibility:void 0,"data-item-context-menu-trigger-mode":p.contextMenuEnabled?p.contextMenuTriggerMode:void 0,"data-item-has-context-menu-action-lane":p.actionLaneEnabled?"true":void 0,"data-item-has-git-lane":p.gitLaneActive?"true":void 0,"data-item-parent-path":x.length>0?x:void 0,"data-item-parked":l?"true":void 0,"data-item-path":s,"data-item-type":"directory"===n.kind?"folder":"file","data-type":"item",id:h?void 0:u,role:h?void 0:"treeitem",style:Object.assign({minHeight:`${v}px`},f),tabIndex:!h&&n.isFocused?0:-1},y)}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"computeFileTreeRowElementAttributes",{enumerable:!0,get:function(){return t}})},1260,[]);
63
- __d(function(g,r,i,a,m,e,d){"use strict";function t(t){const{event:n,mode:c,isSearchOpen:o,isDirectory:l}=t,s=n.ctrlKey||n.metaKey,u=n.shiftKey||s;return{closeSearch:o,revealCanonical:"sticky"===c,selection:n.shiftKey?{additive:s,kind:"range"}:s?{kind:"toggle"}:{kind:"single"},toggleDirectory:!u&&l}}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"computeFileTreeRowClickPlan",{enumerable:!0,get:function(){return t}})},1261,[]);
64
- __d(function(_g,_r,_i,_a,_m,_e,_d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"useCallback",{enumerable:!0,get:function(){return j}}),Object.defineProperty(_e,"useContext",{enumerable:!0,get:function(){return O}}),Object.defineProperty(_e,"useDebugValue",{enumerable:!0,get:function(){return E}}),Object.defineProperty(_e,"useEffect",{enumerable:!0,get:function(){return b}}),Object.defineProperty(_e,"useErrorBoundary",{enumerable:!0,get:function(){return N}}),Object.defineProperty(_e,"useId",{enumerable:!0,get:function(){return C}}),Object.defineProperty(_e,"useImperativeHandle",{enumerable:!0,get:function(){return g}}),Object.defineProperty(_e,"useLayoutEffect",{enumerable:!0,get:function(){return y}}),Object.defineProperty(_e,"useMemo",{enumerable:!0,get:function(){return P}}),Object.defineProperty(_e,"useReducer",{enumerable:!0,get:function(){return p}}),Object.defineProperty(_e,"useRef",{enumerable:!0,get:function(){return H}}),Object.defineProperty(_e,"useState",{enumerable:!0,get:function(){return d}});var _,n,e,t,r=_r(_d[0]),u=Object.is,o=0,c=[],i=r.options,f=i.__b,a=i.__r,l=i.diffed,h=i.__c,s=i.unmount,m=i.__;function v(_,e){i.__h&&i.__h(n,_,o||e),o=0;var t=n.__H||(n.__H={__:[],__h:[]});return _>=t.__.length&&t.__.push({}),t.__[_]}function d(_){return o=1,p(T,_)}function p(e,t,r){var o=v(_++,2);if(o.t=e,!o.__c&&(o.__=[r?r(t):T(void 0,t),function(_){var n=o.__N?o.__N[0]:o.__[0],e=o.t(n,_);u(n,e)||(o.__N=[e,o.__[1]],o.__c.setState({}))}],o.__c=n,!n.__f)){var c=function(_,n,e){if(!o.__c.__H)return!0;var t=o.__c.__H.__.filter(function(_){return!!_.__c});if(t.every(function(_){return!_.__N}))return!i||i.call(this,_,n,e);var r=o.__c.props!==_;return t.forEach(function(_){if(_.__N){var n=_.__[0];_.__=_.__N,_.__N=void 0,u(n,_.__[0])||(r=!0)}}),i&&i.call(this,_,n,e)||r};n.__f=!0;var i=n.shouldComponentUpdate,f=n.componentWillUpdate;n.componentWillUpdate=function(_,n,e){if(4&this.__g){var t=i;i=void 0,c(_,n,e),i=t}f&&f.call(this,_,n,e)},n.shouldComponentUpdate=c}return o.__N||o.__}function b(e,t){var r=v(_++,3);!i.__s&&U(r.__H,t)&&(r.__=e,r.u=t,n.__H.__h.push(r))}function y(e,t){var r=v(_++,4);!i.__s&&U(r.__H,t)&&(r.__=e,r.u=t,n.__h.push(r))}function H(_){return o=5,P(function(){return{current:_}},[])}function g(_,n,e){o=6,y(function(){if("function"==typeof _){var e=_(n());return function(){_(null),e&&"function"==typeof e&&e()}}if(_)return _.current=n(),function(){return _.current=null}},null==e?e:e.concat(_))}function P(n,e){var t=v(_++,7);return U(t.__H,e)&&(t.__=n(),t.__H=e,t.__h=n),t.__}function j(_,n){return o=8,P(function(){return _},n)}function O(e){var t=n.context[e.__c],r=v(_++,9);return r.c=e,t?(null==r.__&&(r.__=!0,t.sub(n)),t.props.value):e.__}function E(_,n){i.useDebugValue&&i.useDebugValue(n?n(_):_)}function N(e){var t=v(_++,10),r=d();return t.__=e,n.componentDidCatch||(n.componentDidCatch=function(_,n){t.__&&t.__(_,n),r[1](_)}),[r[0],function(){r[1](void 0)}]}function C(){var e=v(_++,11);if(!e.__){for(var t=n.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function A(){for(var _;_=c.shift();)if(_.__P&&_.__H)try{_.__H.__h.forEach(k),_.__H.__h.forEach(q),_.__H.__h=[]}catch(n){_.__H.__h=[],i.__e(n,_.__v)}}i.__b=function(_){n=null,f&&f(_)},i.__=function(_,n){_&&n.__k&&n.__k.__m&&(_.__m=n.__k.__m),m&&m(_,n)},i.__r=function(t){a&&a(t),_=0;var r=(n=t.__c).__H;r&&(e===n?(r.__h=[],n.__h=[],r.__.forEach(function(_){_.__N&&(_.__=_.__N),_.u=_.__N=void 0})):(r.__h.forEach(k),r.__h.forEach(q),r.__h=[],_=0)),e=n},i.diffed=function(_){l&&l(_);var r=_.__c;r&&r.__H&&(r.__H.__h.length&&(1!==c.push(r)&&t===i.requestAnimationFrame||((t=i.requestAnimationFrame)||F)(A)),r.__H.__.forEach(function(_){_.u&&(_.__H=_.u),_.u=void 0})),e=n=null},i.__c=function(_,n){n.some(function(_){try{_.__h.forEach(k),_.__h=_.__h.filter(function(_){return!_.__||q(_)})}catch(e){n.some(function(_){_.__h&&(_.__h=[])}),n=[],i.__e(e,_.__v)}}),h&&h(_,n)},i.unmount=function(_){s&&s(_);var n,e=_.__c;e&&e.__H&&(e.__H.__.forEach(function(_){try{k(_)}catch(_){n=_}}),e.__H=void 0,n&&i.__e(n,e.__v))};var D="function"==typeof requestAnimationFrame;function F(_){var n,e=function(){clearTimeout(t),D&&cancelAnimationFrame(n),setTimeout(_)},t=setTimeout(e,35);D&&(n=requestAnimationFrame(e))}function k(_){var e=n,t=_.__c;"function"==typeof t&&(_.__c=void 0,t()),n=e}function q(_){var e=n;_.__c=_.__(),n=e}function U(_,n){return!_||_.length!==n.length||n.some(function(n,e){return!u(n,_[e])})}function T(_,n){return"function"==typeof n?n(_):n}},1262,[1251]);
65
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"fileTreeRenderer",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"hydrateFileTreeRoot",{enumerable:!0,get:function(){return c}}),Object.defineProperty(e,"renderFileTreeRoot",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"unmountFileTreeRoot",{enumerable:!0,get:function(){return f}});var t=r(d[0]),n=r(d[1]);const o={hydrateRoot:(o,u)=>{(0,n.hydrate)((0,n.h)(t.FileTreeView,u),o)},renderRoot:(o,u)=>{(0,n.render)((0,n.h)(t.FileTreeView,u),o)},unmountRoot:t=>{(0,n.render)(null,t)}};function u(t,n){o.renderRoot(t,n)}function c(t,n){o.hydrateRoot(t,n)}function f(t){o.unmountRoot(t)}},1263,[1248,1251]);
66
- __d(function(g,r,i,a,m,_e,d){"use strict";var t,e,l,n,u;function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"FileTreeManagedSlotHost",{enumerable:!0,get:function(){return c}});var s=o(r(d[0])),f=o(r(d[1])),c=(t=(0,f.default)("contentBySlot"),e=(0,f.default)("host"),l=(0,f.default)("getCurrentContent"),n=(0,f.default)("attachContent"),u=(0,f.default)("adoptExistingManagedContent"),class{constructor(){Object.defineProperty(this,u,{value:p}),Object.defineProperty(this,n,{value:v}),Object.defineProperty(this,l,{value:h}),Object.defineProperty(this,t,{writable:!0,value:new Map}),Object.defineProperty(this,e,{writable:!0,value:null})}clearAll(){for(const e of(0,s.default)(this,t)[t].values())e.remove();(0,s.default)(this,t)[t].clear()}clearSlotContent(e){const n=(0,s.default)(this,l)[l](e);null!=n&&(n.remove(),(0,s.default)(this,t)[t].delete(e))}setHost(l){if((0,s.default)(this,e)[e]=l,null!=l){(0,s.default)(this,u)[u](l);for(const[e,l]of(0,s.default)(this,t)[t])(0,s.default)(this,n)[n](e,l)}}setSlotContent(e,u){const o=(0,s.default)(this,l)[l](e);o!==u?(o?.remove(),null!=u?((0,s.default)(this,t)[t].set(e,u),(0,s.default)(this,n)[n](e,u)):(0,s.default)(this,t)[t].delete(e)):null!=u&&((0,s.default)(this,t)[t].set(e,u),(0,s.default)(this,n)[n](e,u))}setSlotHtml(e,u){const o=u?.trim()??"";if(0===o.length)return void this.setSlotContent(e,null);const f=(0,s.default)(this,l)[l](e);if(null!=f&&f.innerHTML===o)return(0,s.default)(this,t)[t].set(e,f),void(0,s.default)(this,n)[n](e,f);const c=document.createElement("div");c.innerHTML=o,this.setSlotContent(e,c)}});function h(l){const n=(0,s.default)(this,t)[t].get(l)??null;if(null!=n)return n;const u=(0,s.default)(this,e)[e];if(null==u)return null;for(const t of Array.from(u.children))if(t instanceof HTMLElement&&t.dataset.fileTreeManagedSlot===l)return t;return null}function v(t,l){l.slot=t,l.dataset.fileTreeManagedSlot=t,null!=(0,s.default)(this,e)[e]&&l.parentNode!==(0,s.default)(this,e)[e]&&(0,s.default)(this,e)[e].appendChild(l)}function p(e){for(const l of Array.from(e.children)){if(!(l instanceof HTMLElement))continue;const e=l.dataset.fileTreeManagedSlot;null==e||(0,s.default)(this,t)[t].has(e)||(0,s.default)(this,t)[t].set(e,l)}}},1264,[30,31]);
67
- __d(function(_g,_r,_i,_a,_m,_e,_d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return H}}),Object.defineProperty(_e,"render",{enumerable:!0,get:function(){return I}}),Object.defineProperty(_e,"renderToStaticMarkup",{enumerable:!0,get:function(){return R}}),Object.defineProperty(_e,"renderToString",{enumerable:!0,get:function(){return H}}),Object.defineProperty(_e,"renderToStringAsync",{enumerable:!0,get:function(){return O}});var e=_r(_d[0]),t="diffed",n="__c",r="__s",o="__c",i="__k",a="__d",s="__s",c=/[\s\n\\/='"\0<>]/,u=/^(xlink|xmlns|xml)([A-Z])/,l=/^(?:accessK|auto[A-Z]|cell|ch|col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|src[A-Z]|tabI|useM|item[A-Z])/,f=/^ac|^ali|arabic|basel|cap|clipPath$|clipRule$|color|dominant|enable|fill|flood|font|glyph[^R]|horiz|image|letter|lighting|marker[^WUH]|overline|panose|pointe|paint|rendering|shape|stop|strikethrough|stroke|text[^L]|transform|underline|unicode|units|^v[^i]|^w|^xH/,p=new Set(["draggable","spellcheck"]);function h(e){void 0!==e.__g?e.__g|=8:e[a]=!0}function d(e){void 0!==e.__g?e.__g&=-9:e[a]=!1}function v(e){return void 0!==e.__g?!!(8&e.__g):!0===e[a]}var g=/["&<]/;function m(e){if(0===e.length||!1===g.test(e))return e;for(var t=0,n=0,r="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 60:o="&lt;";break;default:continue}n!==t&&(r+=e.slice(t,n)),r+=o,t=n+1}return n!==t&&(r+=e.slice(t,n)),r}var y={},_=new Set(["animation-iteration-count","border-image-outset","border-image-slice","border-image-width","box-flex","box-flex-group","box-ordinal-group","column-count","fill-opacity","flex","flex-grow","flex-negative","flex-order","flex-positive","flex-shrink","flood-opacity","font-weight","grid-column","grid-row","line-clamp","line-height","opacity","order","orphans","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","widows","z-index","zoom"]),b=/[A-Z]/g;function k(e){var t="";for(var n in e){var r=e[n];if(null!=r&&""!==r){var o="-"==n[0]?n:y[n]||(y[n]=n.replace(b,"-$&").toLowerCase()),i=";";"number"!=typeof r||o.startsWith("--")||_.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}function w(){this.__d=!0}function x(e,t){return{__v:e,context:t,props:e.props,setState:w,forceUpdate:w,__d:!0,__h:new Array(0)}}function C(e,t,n){if(!e.s){if(n instanceof S){if(!n.s)return void(n.o=C.bind(null,e,t));1&t&&(t=n.s),n=n.v}if(n&&n.then)return void n.then(C.bind(null,e,t),C.bind(null,e,2));e.s=t,e.v=n;const r=e.o;r&&r(e)}}var S=(function(){function e(){}return e.prototype.then=function(t,n){var r=new e,o=this.s;if(o){var i=1&o?t:n;if(i){try{C(r,1,i(this.v))}catch(e){C(r,2,e)}return r}return this}return this.o=function(e){try{var o=e.v;1&e.s?C(r,1,t?t(o):o):n?C(r,1,n(o)):C(r,2,o)}catch(e){C(r,2,e)}},r},e})();function A(e){return e instanceof S&&1&e.s}function j(e,t,n){for(var r;;){var o=e();if(A(o)&&(o=o.v),!o)return i;if(o.then){r=0;break}var i=n();if(i&&i.then){if(!A(i)){r=1;break}i=i.s}if(t){var a=t();if(a&&a.then&&!A(a)){r=2;break}}}var s=new S,c=C.bind(null,s,2);return(0===r?o.then(l):1===r?i.then(u):a.then(f)).then(void 0,c),s;function u(r){i=r;do{if(t&&(a=t())&&a.then&&!A(a))return void a.then(f).then(void 0,c);if(!(o=e())||A(o)&&!o.v)return void C(s,1,i);if(o.then)return void o.then(l).then(void 0,c);A(i=n())&&(i=i.v)}while(!i||!i.then);i.then(u).then(void 0,c)}function l(e){e?(i=n())&&i.then?i.then(u).then(void 0,c):u(i):C(s,1,i)}function f(){(o=e())?o.then?o.then(l).then(void 0,c):l(o):C(s,1,i)}}function P(e,t){try{var n=e()}catch(e){return t(!0,e)}return n&&n.then?n.then(t.bind(null,!1),t.bind(null,!0)):t(!1,n)}var F,L,T,E,O=function(o,a){try{var s=e.options[r];e.options[r]=!0,F=e.options.__b,L=e.options[t],T=e.options.__r,E=e.options.unmount;var c=(0,e.h)(e.Fragment,null);return c[i]=[o],Promise.resolve(P(function(){return Promise.resolve(q(o,a||D,!1,void 0,c,!0,void 0)).then(function(e){var t,n=(function(){if($(e)){var n=function(){var e=o.join(Z);return t=1,e},r=0,o=e,i=j(function(){return!!o.some(function(e){return e&&"function"==typeof e.then})&&r++<25},void 0,function(){return Promise.resolve(Promise.all(o)).then(function(e){o=e.flat()})});return i&&i.then?i.then(n):n()}})();return n&&n.then?n.then(function(n){return t?n:e}):t?n:e})},function(t,i){if(e.options[n]&&e.options[n](o,M),e.options[r]=s,M.length=0,t)throw i;return i}))}catch(e){return Promise.reject(e)}},D={},M=[],$=Array.isArray,U=Object.assign,Z="",W="\x3c!--$s--\x3e",z="\x3c!--/$s--\x3e";function H(o,a,s){var c=e.options[r];e.options[r]=!0,F=e.options.__b,L=e.options[t],T=e.options.__r,E=e.options.unmount;var u=(0,e.h)(e.Fragment,null);u[i]=[o];try{var l=q(o,a||D,!1,void 0,u,!1,s);return $(l)?l.join(Z):l}catch(e){if(e.then)throw new Error('Use "renderToStringAsync" for suspenseful rendering.');throw e}finally{e.options[n]&&e.options[n](o,M),e.options[r]=c,M.length=0}}function N(e,t){var n,r=e.type,i=!0;return e[o]?(i=!1,(n=e[o]).state=n[s]):n=new r(e.props,t),e[o]=n,n.__v=e,n.props=e.props,n.context=t,h(n),null==n.state&&(n.state=D),null==n[s]&&(n[s]=n.state),r.getDerivedStateFromProps?n.state=U({},n.state,r.getDerivedStateFromProps(n.props,n.state)):i&&n.componentWillMount?(n.componentWillMount(),n.state=n[s]!==n.state?n[s]:n.state):!i&&n.componentWillUpdate&&n.componentWillUpdate(),T&&T(e),n.render(n.props,n.state,t)}function q(t,n,r,a,g,y,_){if(null==t||!0===t||!1===t||t===Z)return Z;var b=typeof t;if("object"!=b)return"function"==b?Z:"string"==b?m(t):t+Z;if($(t)){var w,C=Z;g[i]=t;for(var S=t.length,A=0;A<S;A++){var j=t[A];if(null!=j&&"boolean"!=typeof j){var P,O=q(j,n,r,a,g,y,_);"string"==typeof O?C+=O:(w||(w=new Array(S)),C&&w.push(C),C=Z,$(O)?(P=w).push.apply(P,O):w.push(O))}}return w?(C&&w.push(C),w):C}if(void 0!==t.constructor)return Z;t.__=g,F&&F(t);var M=t.type,H=t.props;if("function"==typeof M){var I,R,K,G=n;if(M===e.Fragment){if("tpl"in H){for(var J=Z,Q=0;Q<H.tpl.length;Q++)if(J+=H.tpl[Q],H.exprs&&Q<H.exprs.length){var X=H.exprs[Q];if(null==X)continue;"object"!=typeof X||void 0!==X.constructor&&!$(X)?J+=X:J+=q(X,n,r,a,t,y,_)}return J}if("UNSTABLE_comment"in H)return"\x3c!--"+m(H.UNSTABLE_comment)+"--\x3e";R=H.children}else{if(null!=(I=M.contextType)){var Y=n[I.__c];G=Y?Y.props.value:I.__}var ee=M.prototype&&"function"==typeof M.prototype.render;if(ee)R=N(t,G),K=t[o];else{t[o]=K=x(t,G);for(var te=0;v(K)&&te++<25;){d(K),T&&T(t);try{R=M.call(K,H,G)}catch(e){throw y&&e&&"function"==typeof e.then&&(t._suspended=!0),e}}h(K)}if(null!=K.getChildContext&&(n=U({},n,K.getChildContext())),ee&&e.options.errorBoundaries&&(M.getDerivedStateFromError||K.componentDidCatch)){R=null!=R&&R.type===e.Fragment&&null==R.key&&null==R.props.tpl?R.props.children:R;try{return q(R,n,r,a,t,y,!1)}catch(i){return M.getDerivedStateFromError&&(K[s]=M.getDerivedStateFromError(i)),K.componentDidCatch&&K.componentDidCatch(i,D),v(K)?(R=N(t,n),null!=(K=t[o]).getChildContext&&(n=U({},n,K.getChildContext())),q(R=null!=R&&R.type===e.Fragment&&null==R.key&&null==R.props.tpl?R.props.children:R,n,r,a,t,y,_)):Z}finally{L&&L(t),E&&E(t)}}}R=null!=R&&R.type===e.Fragment&&null==R.key&&null==R.props.tpl?R.props.children:R;try{var ne=q(R,n,r,a,t,y,_);return L&&L(t),e.options.unmount&&e.options.unmount(t),t._suspended?"string"==typeof ne?W+ne+z:$(ne)?(ne.unshift(W),ne.push(z),ne):ne.then(function(e){return W+e+z}):ne}catch(o){if(!y&&_&&_.onError){var re=(function e(o){return _.onError(o,t,function(t,o){try{return q(t,n,r,a,o,y,_)}catch(t){return e(t)}})})(o);if(void 0!==re)return re;var oe=e.options.__e;return oe&&oe(o,t),Z}if(!y)throw o;if(!o||"function"!=typeof o.then)throw o;return o.then(function e(){try{var o=q(R,n,r,a,t,y,_);return t._suspended?W+o+z:o}catch(t){if(!t||"function"!=typeof t.then)throw t;return t.then(e)}})}}var ie,ae="<"+M,se=Z;for(var ce in H){var ue=H[ce];if("function"!=typeof(ue=V(ue)?ue.value:ue)||"class"===ce||"className"===ce){switch(ce){case"children":ie=ue;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in H)continue;ce="for";break;case"className":if("class"in H)continue;ce="class";break;case"defaultChecked":ce="checked";break;case"defaultSelected":ce="selected";break;case"defaultValue":case"value":switch(ce="value",M){case"textarea":ie=ue;continue;case"select":a=ue;continue;case"option":a!=ue||"selected"in H||(ae+=" selected")}break;case"dangerouslySetInnerHTML":se=ue&&ue.__html;continue;case"style":"object"==typeof ue&&(ue=k(ue));break;case"acceptCharset":ce="accept-charset";break;case"httpEquiv":ce="http-equiv";break;default:if(u.test(ce))ce=ce.replace(u,"$1:$2").toLowerCase();else{if(c.test(ce))continue;"-"!==ce[4]&&!p.has(ce)||null==ue?r?f.test(ce)&&(ce="panose1"===ce?"panose-1":ce.replace(/([A-Z])/g,"-$1").toLowerCase()):l.test(ce)&&(ce=ce.toLowerCase()):ue+=Z}}null!=ue&&!1!==ue&&(ae=!0===ue||ue===Z?ae+" "+ce:ae+" "+ce+'="'+("string"==typeof ue?m(ue):ue+Z)+'"')}}if(c.test(M))throw new Error(M+" is not a valid HTML tag name in "+ae+">");if(se||("string"==typeof ie?se=m(ie):null!=ie&&!1!==ie&&!0!==ie&&(se=q(ie,n,"svg"===M||"foreignObject"!==M&&r,a,t,y,_))),L&&L(t),E&&E(t),!se&&B.has(M))return ae+"/>";var le="</"+M+">",fe=ae+">";return $(se)?[fe].concat(se,[le]):"string"!=typeof se?[fe,se,le]:fe+se+le}var B=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),I=H,R=H;function V(e){return null!==e&&"object"==typeof e&&"function"==typeof e.peek&&"value"in e}},1265,[1251]);
68
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"FileTree",{enumerable:!0,get:function(){return t.FileTree}}),Object.defineProperty(e,"useFileTree",{enumerable:!0,get:function(){return n.useFileTree}}),Object.defineProperty(e,"useFileTreeSearch",{enumerable:!0,get:function(){return c.useFileTreeSearch}}),Object.defineProperty(e,"useFileTreeSelection",{enumerable:!0,get:function(){return l.useFileTreeSelection}}),Object.defineProperty(e,"useFileTreeSelector",{enumerable:!0,get:function(){return u.useFileTreeSelector}});var t=r(d[0]),n=r(d[1]),u=r(d[2]),l=r(d[3]),c=r(d[4])},1266,[1267,1268,1269,1270,1271]);
69
- __d(function(g,r,i,a,m,_e,d){"use strict";const e=["header","id","model","preloadedData","renderContextMenu"];Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"FileTree",{enumerable:!0,get:function(){return E}});var n,t=r(d[0]),l=(n=t)&&n.__esModule?n:{default:n},o=r(d[1]),u=r(d[2]),s=r(d[3]);const c="undefined"==typeof window?u.useEffect:u.useLayoutEffect;function f(e,n,t){const l=null!=e?(0,s.jsx)("div",{slot:o.HEADER_SLOT_NAME,children:e}):null,u=null!=n&&null!=t?(0,s.jsx)("div",{slot:o.CONTEXT_MENU_SLOT_NAME,children:n(t.item,t.context)}):null;return null==l&&null==u?null:(0,s.jsxs)(s.Fragment,{children:[l,u]})}function p(e,n){return"undefined"==typeof window&&null!=n?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("template",{shadowrootmode:"open",dangerouslySetInnerHTML:{__html:n.shadowHtml}}),e]}):(0,s.jsx)(s.Fragment,{children:e})}function h(e){const n=e.shadowRoot;return n?.querySelector("[data-file-tree-id]")instanceof HTMLElement||n?.querySelector("[data-file-tree-id]")instanceof SVGElement||e.querySelector("template[shadowrootmode=\"open\"]")instanceof HTMLTemplateElement}function x(e,n,t,l,o){const u=Object.assign({},e??{});if(null!=n&&delete u.header,t){const n=e?.contextMenu,t=n?.onClose,s=n?.onOpen;u.contextMenu=Object.assign({},n??{},{enabled:!0,onClose:()=>{t?.(),l()},onOpen:(e,n)=>{o(e,n),s?.(e,n)}}),delete u.contextMenu.render}return null!=u.header||null!=u.contextMenu?u:void 0}function E(n){let{header:t,id:E,model:M,preloadedData:_,renderContextMenu:y}=n,C=(0,l.default)(n,e);const[j,T]=(0,u.useState)(null),[b,O]=(0,u.useState)(null),S=(0,u.useRef)(M.getComposition()),w=(0,u.useRef)(M);w.current!==M&&(w.current=M,S.current=M.getComposition());const H=null!=y,L=(0,u.useCallback)(()=>{T(null)},[]),v=(0,u.useCallback)((e,n)=>{T({context:n,item:e})},[]),F=S.current,A=(0,u.useMemo)(()=>x(F,t,H,L,v),[F,L,v,H,t]),N=(0,u.useCallback)(e=>{O(e)},[]);(0,u.useEffect)(()=>{H||T(null)},[H]),c(()=>{M.setComposition(A)},[A,M]),c(()=>{if(null!=b)return null!=_&&h(b)?M.hydrate({fileTreeContainer:b}):M.render({fileTreeContainer:b}),()=>{M.unmount(),M.setComposition(F)}},[F,b,M,_]);const R=p(f(t,y,j),_),D=E??_?.id,k=Object.assign({"--trees-item-height":`${String(M.getItemHeight())}px`,"--trees-density-override":M.getDensityFactor()},C.style);return(0,s.jsx)(o.FILE_TREE_TAG_NAME,Object.assign({},C,{id:D,ref:N,style:k,suppressHydrationWarning:null!=_,children:R}))}},1267,[25,1202,15,7]);
70
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"useFileTree",{enumerable:!0,get:function(){return n}});var t=r(d[0]),u=r(d[1]);function n(n){const[o]=(0,u.useState)(()=>new t.FileTree(n)),l=(0,u.useRef)({timeout:null,model:o});return(0,u.useEffect)(()=>{const{current:t}=l;return null!=t.timeout&&(clearTimeout(t.timeout),t.timeout=null),()=>{t.timeout=setTimeout(()=>t.model.cleanUp(),1)}},[]),{model:o}}},1268,[1231,15]);
71
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"areArraysEqual",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"useFileTreeSelector",{enumerable:!0,get:function(){return l}});var t=r(d[0]);function n(t,n){if(t===n)return!0;if(t.length!==n.length)return!1;for(let u=0;u<t.length;u+=1)if(!Object.is(t[u],n[u]))return!1;return!0}function u(t,n,u){return Object.is(t,n)||!0===u?.(t,n)}function l(n,l,c){const o=(0,t.useRef)({hasValue:!1,model:null,selector:null,value:void 0}),s=(0,t.useCallback)(t=>n.subscribe(t),[n]),f=(0,t.useCallback)(()=>{const t=o.current,s=l(n);if(t.model!==n||t.selector!==l||!t.hasValue)return t.hasValue=!0,t.model=n,t.selector=l,t.value=s,s;const f=t.value;return u(f,s,c)?f:(t.value=s,s)},[c,n,l]);return(0,t.useSyncExternalStore)(s,f,f)}},1269,[15]);
72
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"useFileTreeSelection",{enumerable:!0,get:function(){return n}});var t=r(d[0]);function n(n){return(0,t.useFileTreeSelector)(n,t=>t.getSelectedPaths(),t.areArraysEqual)}},1270,[1269]);
73
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"useFileTreeSearch",{enumerable:!0,get:function(){return n}});var t=r(d[0]),c=r(d[1]);function s(c,s){return c.isOpen===s.isOpen&&c.value===s.value&&(0,t.areArraysEqual)(c.matchingPaths,s.matchingPaths)}function n(n){const u=(0,t.useFileTreeSelector)(n,t=>({isOpen:t.isSearchOpen(),matchingPaths:t.getSearchMatchingPaths(),value:t.getSearchValue()}),s);return(0,c.useMemo)(()=>Object.assign({},u,{close:()=>{n.closeSearch()},focusNextMatch:()=>{n.focusNextSearchMatch()},focusPreviousMatch:()=>{n.focusPreviousSearchMatch()},open:t=>{n.openSearch(t)},setValue:t=>{n.setSearch(t)}}),[n,u])}},1271,[1269,15]);
1
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return j}});var t=r(d[0]),s=r(d[1]),o=r(d[2]),n=r(d[3]),c=r(d[4]),l=r(d[5]),u=r(d[6]);const v=(t,s)=>Object.assign({},s,{height:"100%",colorScheme:t,"--trees-bg-override":"transparent","--trees-fg-override":"var(--color-sharp)","--trees-fg-muted-override":"var(--color-muted)","--trees-bg-muted-override":"var(--color-interactive-soft-hover)","--trees-selected-bg-override":"var(--color-interactive-soft-active)","--trees-selected-fg-override":"var(--color-sharp)","--trees-border-color-override":"var(--color-border-muted)","--trees-indent-guide-bg-override":"var(--color-border-muted)","--trees-input-bg-override":"var(--color-lowered)","--trees-search-bg-override":"var(--color-lowered)","--trees-search-fg-override":"var(--color-sharp)","--trees-accent-override":"var(--tree-brand)","--trees-focus-ring-color-override":"var(--tree-brand)","--trees-status-added-override":"var(--trees-theme-git-added-fg, var(--tree-success))","--trees-status-untracked-override":"var(--trees-theme-git-untracked-fg, var(--tree-success))","--trees-status-modified-override":"var(--trees-theme-git-modified-fg, var(--tree-info))","--trees-status-renamed-override":"var(--trees-theme-git-renamed-fg, var(--tree-warning))","--trees-status-deleted-override":"var(--trees-theme-git-deleted-fg, var(--tree-danger))","--trees-font-family-override":"var(--font-body)","--trees-font-size-override":"var(--text-sm, 13px)","--trees-padding-inline-override":"0px"});function h({accent:t,children:s}){const o={display:"contents",[`--tree-${t}`]:"var(--color-accent)"};return(0,u.jsx)(n.AccentScope,{accent:t,children:(0,u.jsx)("div",{style:o,children:s})})}const f=o=>{const[n,l]=(0,c.useState)(null);return(0,c.useEffect)(()=>{let n=!0;return Promise.resolve((0,t.getResolvedOrResolveTheme)(o)).then(t=>{var c;n&&l({themeName:o,colors:(c=(0,s.themeToTreeStyles)(t),Object.fromEntries(Object.entries(c).filter(([t])=>t.startsWith("--trees-theme-git-"))))})},()=>{n&&l({themeName:o,colors:{}})}),()=>{n=!1}},[o]),n?.themeName===o?n.colors:{}},p=t=>t.flatMap(({path:t,status:s})=>null===s?[]:[{path:t,status:s}]),b=(t,{viewedPaths:s,omittedPaths:o})=>o.has(t)?{text:"left out",title:"Not in the diff: listed above it"}:s.has(t)?{text:"viewed",title:"Marked viewed"}:null;var j=function({files:t,viewedPaths:s,theme:j,onFilePress:w}){const x=(0,n.useCurrentMode)(),P=f((0,l.diffThemeNames)(j)[x]),S=t.map(({path:t})=>t),y=S.join("\n"),R=[...t.map(({path:t,status:s})=>`${s??"omitted"} ${t}`),...s].join("\n"),T=new Set(s),E=new Set(t.filter(({status:t})=>null===t).map(({path:t})=>t)),F=(0,c.useRef)({files:t,onFilePress:w,viewedPaths:T,omittedPaths:E}),M=(0,c.useRef)(new Set(S)),O=(0,c.useRef)(null),k=(0,c.useRef)(y),{model:N}=(0,o.useFileTree)({paths:S,flattenEmptyDirectories:!0,initialExpansion:"open",density:"compact",icons:{set:"standard",colored:!1},search:!0,fileTreeSearchMode:"hide-non-matches",gitStatus:p(t),renderRowDecoration:({item:t})=>"file"===t.kind?b(t.path,F.current):null,onSelectionChange:t=>{const s=t.at(-1);void 0!==s&&M.current.has(s)&&(F.current.onFilePress(s),queueMicrotask(()=>{O.current?.getItem(s)?.deselect()}))}});return(0,c.useEffect)(()=>{O.current=N,F.current={files:t,onFilePress:w,viewedPaths:T,omittedPaths:E},M.current=new Set(S)}),(0,c.useEffect)(()=>{const t=F.current.files;k.current!==y&&(k.current=y,N.resetPaths(t.map(({path:t})=>t))),N.setGitStatus(p(t))},[N,y,R]),(0,u.jsx)(h,{accent:"brand",children:(0,u.jsx)(h,{accent:"success",children:(0,u.jsx)(h,{accent:"info",children:(0,u.jsx)(h,{accent:"warning",children:(0,u.jsx)(h,{accent:"danger",children:(0,u.jsx)(n.AccentScope,{accent:"neutral",children:(0,u.jsx)(o.FileTree,{model:N,style:v(x,P)})})})})})})})}},1206,[1281,1209,1275,64,15,1282,7]);
2
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"CONTEXT_MENU_SLOT_NAME",{enumerable:!0,get:function(){return E.CONTEXT_MENU_SLOT_NAME}}),Object.defineProperty(e,"CONTEXT_MENU_TRIGGER_TYPE",{enumerable:!0,get:function(){return E.CONTEXT_MENU_TRIGGER_TYPE}}),Object.defineProperty(e,"FILE_TREE_DEFAULT_ITEM_HEIGHT",{enumerable:!0,get:function(){return R.FILE_TREE_DEFAULT_ITEM_HEIGHT}}),Object.defineProperty(e,"FILE_TREE_DENSITY_PRESETS",{enumerable:!0,get:function(){return u.FILE_TREE_DENSITY_PRESETS}}),Object.defineProperty(e,"FILE_TREE_SCROLLBAR_GUTTER_MEASURED_PROPERTY",{enumerable:!0,get:function(){return E.FILE_TREE_SCROLLBAR_GUTTER_MEASURED_PROPERTY}}),Object.defineProperty(e,"FILE_TREE_SCROLLBAR_GUTTER_STYLE_ATTRIBUTE",{enumerable:!0,get:function(){return E.FILE_TREE_SCROLLBAR_GUTTER_STYLE_ATTRIBUTE}}),Object.defineProperty(e,"FILE_TREE_SCROLLBAR_MEASURE_ATTRIBUTE",{enumerable:!0,get:function(){return E.FILE_TREE_SCROLLBAR_MEASURE_ATTRIBUTE}}),Object.defineProperty(e,"FILE_TREE_STYLE_ATTRIBUTE",{enumerable:!0,get:function(){return E.FILE_TREE_STYLE_ATTRIBUTE}}),Object.defineProperty(e,"FILE_TREE_TAG_NAME",{enumerable:!0,get:function(){return E.FILE_TREE_TAG_NAME}}),Object.defineProperty(e,"FILE_TREE_UNSAFE_CSS_ATTRIBUTE",{enumerable:!0,get:function(){return E.FILE_TREE_UNSAFE_CSS_ATTRIBUTE}}),Object.defineProperty(e,"FLATTENED_PREFIX",{enumerable:!0,get:function(){return E.FLATTENED_PREFIX}}),Object.defineProperty(e,"FileTree",{enumerable:!0,get:function(){return o.FileTree}}),Object.defineProperty(e,"HEADER_SLOT_NAME",{enumerable:!0,get:function(){return E.HEADER_SLOT_NAME}}),Object.defineProperty(e,"createFileTreeIconResolver",{enumerable:!0,get:function(){return n.createFileTreeIconResolver}}),Object.defineProperty(e,"getBuiltInSpriteSheet",{enumerable:!0,get:function(){return t.getBuiltInSpriteSheet}}),Object.defineProperty(e,"preloadFileTree",{enumerable:!0,get:function(){return o.preloadFileTree}}),Object.defineProperty(e,"prepareFileTreeInput",{enumerable:!0,get:function(){return _.prepareFileTreeInput}}),Object.defineProperty(e,"preparePresortedFileTreeInput",{enumerable:!0,get:function(){return _.preparePresortedFileTreeInput}}),Object.defineProperty(e,"serializeFileTreeSsrPayload",{enumerable:!0,get:function(){return o.serializeFileTreeSsrPayload}}),Object.defineProperty(e,"themeToTreeStyles",{enumerable:!0,get:function(){return T.themeToTreeStyles}});var t=r(d[0]),E=r(d[1]),n=r(d[2]),T=r(d[3]),_=r(d[4]),u=r(d[5]),R=r(d[6]),o=r(d[7])},1209,[1210,1211,1212,1214,1218,1238,1239,1240]);
3
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"getBuiltInFileIconName",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"getBuiltInSpriteSheet",{enumerable:!0,get:function(){return f}}),Object.defineProperty(e,"isColoredBuiltInIconSet",{enumerable:!0,get:function(){return y}}),Object.defineProperty(e,"resolveBuiltInFileIconToken",{enumerable:!0,get:function(){return z}});const l="<svg data-icon-sprite aria-hidden=\"true\" width=\"0\" height=\"0\">\n <symbol id=\"file-tree-icon-chevron\" viewBox=\"0 0 16 16\">\n <path d=\"M12.4697 5.46973C12.7626 5.17684 13.2374 5.17684 13.5303 5.46973C13.8232 5.76262 13.8232 6.23738 13.5303 6.53028L8.53028 11.5303C8.23738 11.8232 7.76262 11.8232 7.46973 11.5303L2.46973 6.53028C2.17684 6.23738 2.17684 5.76262 2.46973 5.46973C2.76262 5.17684 3.23738 5.17684 3.53028 5.46973L8 9.93946L12.4697 5.46973Z\" fill=\"currentcolor\"/>\n </symbol>\n <symbol id=\"file-tree-icon-dot\" viewBox=\"0 0 6 6\">\n <circle cx=\"3\" cy=\"3\" r=\"3\" />\n </symbol>\n <symbol id=\"file-tree-icon-file\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8 1v3a3 3 0 0 0 3 3h3v5.5a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 12.5v-9A2.5 2.5 0 0 1 4.5 1z\" class=\"bg\" opacity=\".5\"/>\n <path fill=\"currentColor\" d=\"M9.5 1a.5.5 0 0 1 .354.146l4 4A.5.5 0 0 1 14 5.5V6h-3a2 2 0 0 1-2-2V1z\" class=\"fg\"/>\n </symbol>\n <symbol id=\"file-tree-icon-lock\" viewBox=\"0 0 16 16\">\n <path fill=\"currentcolor\" d=\"M4 5.336V4a4 4 0 1 1 8 0v1.336c1.586.54 2 1.843 2 4.664v1c0 4.118-.883 5-5 5H7c-4.117 0-5-.883-5-5v-1c0-2.821.414-4.124 2-4.664M5.5 4v1.054Q6.166 4.998 7 5h2q.834-.002 1.5.054V4a2.5 2.5 0 0 0-5 0m-2 6v1c0 .995.055 1.692.167 2.193.107.483.246.686.35.79s.307.243.79.35c.5.112 1.198.167 2.193.167h2c.995 0 1.692-.055 2.193-.166.483-.108.686-.247.79-.35.104-.105.243-.308.35-.791.112-.5.167-1.198.167-2.193v-1c0-.995-.055-1.692-.166-2.193-.108-.483-.247-.686-.35-.79-.105-.104-.308-.243-.791-.35C10.693 6.555 9.995 6.5 9 6.5H7c-.995 0-1.692.055-2.193.167-.483.107-.686.246-.79.35s-.243.307-.35.79C3.555 8.307 3.5 9.005 3.5 10\" />\n </symbol>\n <symbol id=\"file-tree-icon-ellipsis\" viewBox=\"0 0 16 16\">\n <path d=\"M5 8.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M9.5 8.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M14 8.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0\" />\n </symbol>\n</svg>",t=["<symbol id=\"file-tree-builtin-astro\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M6.08 13.92c-.63-.57-.81-1.79-.55-2.67.45.56 1.08.73 1.73.83 1 .15 1.99.1 2.92-.37l.32-.19q.13.38.08.78a2.1 2.1 0 0 1-.9 1.5q-.3.24-.61.43c-.64.44-.81.95-.57 1.69l.02.08a1.7 1.7 0 0 1-.74-.64 2 2 0 0 1-.3-.98q0-.27-.02-.52-.07-.61-.61-.62a.7.7 0 0 0-.75.6z\" class=\"bg\" opacity=\".6\"/>\n <path fill=\"currentColor\" d=\"M2.5 11.1s1.86-.9 3.72-.9l1.4-4.39c.05-.21.2-.36.38-.36s.33.15.38.36l1.4 4.38c2.2 0 3.72.92 3.72.92l-3.16-8.69q-.13-.4-.45-.42H6.11q-.3.02-.45.42z\" class=\"fg\"/>\n</symbol>","<symbol id=\"file-tree-builtin-babel\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M9.49.5q1.92.05 2.66.54 1.27.6 1.35 1.52v.23a4 4 0 0 1-.53 1.9l-1.38 1.24q-.74.38-.72.63c.77.82 1.33 1.29.85 2.42q-.47 1.1-2.04 2.28c-.5.32-1.88 1.35-2.96 1.86-1.64.77-3.1 1.4-4.65 1.89-.51.16-1.5.16-1.5.16L.5 15A76 76 0 0 0 5.76 3.49q-.1-.08-.1-.2.1 0 .32-.35l-.03-.09q-1.17.39-2.38 1.3l-.13.03q0-.1-.21-.16-.46.31-.82.7l-.13-.19.16-.06-.03-.16-.34.29L2 4.5q.36-.48.72-.54l.04-.1V3.8q.16 0 .15-.06l.13-.06a6 6 0 0 0 1.13-.9v-.03H4.1l-.12.07q0-.1-.1-.1l-.15.07-.04-.1q.93-.52 1.63-1.05Q7.89.65 9.5.5M8.46 7.83l-.32.04c-1.31.54-2.31.82-2.91.88a71 71 0 0 0-2.2 4.54h.07q.58-.04 3.04-1.42.13 0 1.66-1.05L9.18 9.7v.03q.45-.2.81-1.3v-.2q-.5-.46-1.53-.4m.28-5.75c-.5.1-.75.19-.72.38l-1.16 2.6q-.17.1-.34.95-.3.48-.25.77v.1l.22.05A15 15 0 0 1 8.86 6c1.1-.71 2.12-1.38 2.8-2.54q.24-.33.21-.54-.02-.33-.4-.54c-.54 0-1.07-.34-1.63-.28l-.94-.03z\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-biome\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8 2 4.88 7.35a7 7 0 0 1 3.7-.13l1.04.25-.99 4.16-1.05-.25a2.7 2.7 0 0 0-3.07 1.45l-.98-.47a4 4 0 0 1 1.07-1.31 3.8 3.8 0 0 1 3.23-.71l.5-2.08a6 6 0 0 0-5.07 1.12A5.9 5.9 0 0 0 1 14h14z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-bootstrap\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M11.72 1.5A2.5 2.5 0 0 1 14.2 4q.02 1.08.3 2.09c.22.73.56 1.24 1.08 1.45.22.08.4.27.4.5s-.18.43-.4.51q-.76.34-1.08 1.45c-.2.65-.27 1.32-.3 2a2.5 2.5 0 0 1-2.48 2.5H4.25A2.6 2.6 0 0 1 1.7 12c-.04-.85-.1-1.68-.22-2.04C1.26 9.23.92 8.7.4 8.5.18 8.42 0 8.23 0 8s.18-.42.4-.5q.77-.35 1.09-1.46c.1-.36.17-1.19.2-2.04a2.6 2.6 0 0 1 2.56-2.5z\" class=\"bg\" clip-rule=\"evenodd\" opacity=\".2\"/>\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M8.47 4.54c1.23 0 2.04.68 2.04 1.73 0 .73-.55 1.39-1.24 1.5v.04c.94.1 1.58.77 1.58 1.7 0 1.2-.9 1.95-2.37 1.95H5.97a.3.3 0 0 1-.2-.08.3.3 0 0 1-.08-.2V4.82a.3.3 0 0 1 .08-.2.3.3 0 0 1 .2-.08zm-1.7 6.04h1.49q1.47-.01 1.49-1.15Q9.74 8.31 8.2 8.3H6.77zm0-5.16v2.06h1.21c.93 0 1.45-.38 1.45-1.06 0-.65-.44-1-1.22-1z\" class=\"fg\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-browserslist\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8.88 6.96c0 3.82 3.72 4.7 5.7 3.74-.23.9-1.04 1.67-2.35 1.93-.02.4.42 1.28.82 1.63-.9.35-1.94-.12-2.51-.48a5 5 0 0 0-.32 1.87c-.68 0-1.57-1-1.8-1.37-.3.18-.85 1.15-.96 1.72a2.4 2.4 0 0 1-.81-.86 2.4 2.4 0 0 1-.3-1.15c-.38.27-1.48.95-1.99 1.18-.25-.58-.15-1.3 0-2.06-.21.12-1.8.27-2.43.12.32-.36.75-1.19.94-1.57A4.5 4.5 0 0 1 .44 10.6c.48-.22.97-.53 1.49-1.06C1.26 9.17.24 8.64 0 7.7a6 6 0 0 0 1.79-.32C1.28 7.08.44 6.15.6 5.01c.42.21 1.3.37 1.73.3a3.4 3.4 0 0 1-.25-2.75 5 5 0 0 0 1.48 1c-.08-.8.3-2.31.8-2.71.2.46.73 1.21 1.08 1.4.09-.61.87-2.06 1.57-2.25 0 .5.27 1.4.5 1.67.51-.54 2.25-1.44 3.64-1.13-.43.45-.75.61-.86.98 1.05 0 2.78.34 4.27 1.93-2.34-.89-5.69.56-5.69 3.5\" class=\"bg\" opacity=\".5\"/>\n <path fill=\"currentColor\" d=\"M11.21 3.59a4.1 4.1 0 0 0 2.47 2.89c.24-.22.61-.38.95-.19.76.44.2 1.26-.34 1.66l-.07.06a13 13 0 0 1-4.49 1.61l-.3-.43a10.5 10.5 0 0 0 4.13-1.31 1 1 0 0 0 .23-.25.5.5 0 0 0-.21-.69l-.15-.06a4.5 4.5 0 0 1-1.77-1.31 4.5 4.5 0 0 1-.88-1.77q.2-.12.43-.21\"/>\n <path fill=\"currentColor\" d=\"M10.36 5.18a.4.4 0 0 0-.03.38c.09.2.3.3.46.23s.24-.3.15-.5l-.01-.02q.23.13.34.39a.83.83 0 0 1-.43 1.08.8.8 0 0 1-1.08-.43.83.83 0 0 1 .6-1.13\"/>\n</symbol>","<symbol id=\"file-tree-builtin-bun\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8 14c3.87 0 7-2.46 7-5.49 0-1.88-1.2-3.53-3.04-4.52q-1.1-.61-1.84-1.07C9.2 2.35 8.64 2 8 2s-1.36.45-2.31 1.03A29 29 0 0 1 4.04 4C2.2 4.98 1 6.63 1 8.51 1 11.54 4.13 14 8 14M7.18 3.88q.3-.66.3-1.37c0-.08.11-.1.13-.01.38 1.57-.53 2.35-1.2 2.61-.08.03-.12-.07-.06-.12a3 3 0 0 0 .83-1.12m1.2-.05a3 3 0 0 0-.45-1.3V2.5c-.04-.07.05-.15.1-.1 1.15 1.2.77 2.3.33 2.87-.05.05-.13 0-.11-.08q.21-.67.13-1.37m1.04-.32a3 3 0 0 0-.94-1.02v-.01c-.06-.05-.01-.16.07-.12 1.51.61 1.61 1.8 1.43 2.5l-.03.03a.07.07 0 0 1-.1-.06 3 3 0 0 0-.43-1.32m-2.97.32c-.36.3-.74.43-1.2.56q-.11 0-.1-.1a3.5 3.5 0 0 0 1.76-1.57s.09-.07.1.04c0 .18-.2.76-.56 1.07m2.89 6.36q-.13.52-.55.88a1.3 1.3 0 0 1-.75.35 1.3 1.3 0 0 1-.77-.35 1.7 1.7 0 0 1-.54-.88.13.13 0 0 1 .15-.15h2.31a.14.14 0 0 1 .15.15M6.15 8.95a1.1 1.1 0 0 1-1.39-.14A1.1 1.1 0 0 1 5.12 7a1.1 1.1 0 0 1 1.2.25 1.1 1.1 0 0 1-.17 1.69m4.96 0a1.1 1.1 0 0 1-1.4-.14 1.1 1.1 0 0 1 .37-1.8 1.1 1.1 0 0 1 1.2.25 1.1 1.1 0 0 1 .24 1.2 1 1 0 0 1-.41.5\"/>\n</symbol>","<symbol id=\"file-tree-builtin-claude\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M3.75 10.31 6.5 8.77l.04-.14-.04-.07h-.14l-.46-.03-1.57-.04-1.38-.07-1.33-.07-.34-.07L1 7.86l.03-.21.28-.18.4.03.89.07 1.33.08.97.06 1.43.16h.22l.03-.1-.07-.05-.06-.06-1.39-.92-1.48-.98-.79-.57-.42-.28-.2-.28-.1-.6.39-.41.52.04.12.03.52.4 1.12.86L6.2 6.04l.2.17.09-.06.01-.04-.1-.15-.76-1.46-.85-1.46-.37-.6-.1-.36a1 1 0 0 1-.06-.42l.42-.59.25-.07.6.08.22.2.36.84.58 1.3.9 1.77.29.53.14.47.04.14h.1v-.07l.07-1 .14-1.22.14-1.57.04-.45.23-.53.42-.28.36.15.28.41-.04.25-.16 1.08-.36 1.7-.21 1.14h.12l.14-.15.58-.76.97-1.2.42-.5.5-.51.32-.25h.6l.44.66-.2.68-.61.79-.52.65-.74 1-.45.8.04.05h.1l1.68-.36.9-.16 1.06-.18.5.23.05.22-.2.48-1.15.28-1.34.28-2 .46-.04.01.03.04.9.09.4.03h.94l1.77.14.46.28.27.37-.04.28-.72.37-.95-.23-2.24-.53-.76-.18h-.11v.06l.64.63L12 10.86l1.48 1.35.07.34-.18.28-.2-.03-1.29-.98-.5-.42-1.12-.95h-.07v.1l.25.38 1.37 2.05.07.63-.1.2-.36.14-.38-.08-.8-1.12-.85-1.26-.66-1.15-.07.05-.4 4.23-.19.21-.42.17-.35-.28-.2-.42.2-.87.23-1.12.18-.9.17-1.1.1-.36v-.03h-.1l-.84 1.16-1.27 1.72-1 1.07-.24.1-.42-.22.04-.39.22-.32 1.4-1.8.84-1.1.57-.64-.02-.07h-.04l-3.7 2.4-.66.09-.28-.28.03-.42.14-.14 1.12-.77z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-docker\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M15.85 6.54c-.05-.04-.45-.36-1.31-.36q-.34 0-.68.06a2.7 2.7 0 0 0-1.14-1.79l-.23-.14-.15.23a3 3 0 0 0-.4 1q-.24 1.01.26 1.84c-.4.24-1.03.3-1.17.3H.5a.5.5 0 0 0-.5.52q-.01 1.46.46 2.83.55 1.5 1.6 2.18c.79.5 2.08.79 3.54.79q.96 0 1.94-.18a8 8 0 0 0 2.55-.97 7 7 0 0 0 1.73-1.5 10 10 0 0 0 1.7-3.06h.15a2.4 2.4 0 0 0 1.8-.7 2 2 0 0 0 .47-.74l.06-.2z\"/>\n <path fill=\"currentColor\" d=\"M1.48 7.36h1.4a.14.14 0 0 0 .14-.13V5.91q-.01-.12-.13-.14H1.48a.13.13 0 0 0-.13.14v1.32q.02.13.13.13m1.94 0h1.41a.14.14 0 0 0 .13-.13V5.91q-.01-.12-.13-.14h-1.4a.13.13 0 0 0-.13.14v1.32q0 .13.12.13m1.98 0h1.4q.13 0 .14-.13V5.91a.13.13 0 0 0-.14-.14H5.4q-.1.01-.12.14v1.32q0 .13.12.13m1.95 0h1.42q.1 0 .12-.13V5.91q0-.12-.12-.14H7.35q-.1.01-.12.14v1.32q.01.13.12.13M3.42 5.5h1.41c.07 0 .13-.08.13-.15V4.03a.13.13 0 0 0-.13-.14h-1.4q-.12 0-.13.14v1.31q0 .13.12.15m1.98 0h1.4c.08 0 .14-.08.14-.15V4.03q0-.13-.14-.14H5.4q-.1 0-.12.14v1.31q0 .13.12.15m1.95 0h1.42c.06 0 .12-.08.12-.15V4.03q-.01-.13-.12-.14H7.35q-.1 0-.12.14v1.31q.01.13.12.15m0-1.9h1.42q.1-.02.12-.14v-1.3Q8.88 2 8.77 2H7.35q-.1 0-.12.14v1.3q.01.13.12.14m1.97 3.78h1.4a.13.13 0 0 0 .14-.13V5.91q-.01-.12-.13-.14H9.32q-.1.01-.12.14v1.32q.01.13.12.13\" opacity=\".5\"/>\n</symbol>","<symbol id=\"file-tree-builtin-eslint\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M11.16 6.1 8.12 4.35a.3.3 0 0 0-.24 0L4.84 6.1a.3.3 0 0 0-.12.2v3.5q0 .14.12.22l3.04 1.74q.12.08.24 0l3.04-1.74a.2.2 0 0 0 .13-.22V6.3a.3.3 0 0 0-.13-.2\" opacity=\".5\"/>\n <path fill=\"currentColor\" d=\"m.1 7.69 3.63-6.3A.8.8 0 0 1 4.37 1h7.26c.26 0 .5.17.64.4l3.63 6.27a.8.8 0 0 1 0 .75l-3.63 6.24a.7.7 0 0 1-.64.34H4.37a.7.7 0 0 1-.64-.34L.1 8.41a.7.7 0 0 1 0-.72m3 3.02q.01.15.14.23l4.63 2.66q.13.06.26 0l4.63-2.66a.3.3 0 0 0 .14-.23V5.4a.3.3 0 0 0-.14-.23L8.13 2.52a.3.3 0 0 0-.26 0L3.24 5.17a.3.3 0 0 0-.14.23z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-graphql\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M8 1a1.25 1.25 0 0 1 1.18 1.65l2.8 1.61q.33-.25.77-.26a1.25 1.25 0 0 1 .48 2.4v3.2a1.25 1.25 0 1 1-1.25 2.13l-2.8 1.62A1.25 1.25 0 0 1 8 15a1.25 1.25 0 0 1-1.18-1.65l-2.8-1.62q-.33.26-.77.27a1.25 1.25 0 0 1-.48-2.4V6.4a1.25 1.25 0 1 1 1.25-2.14l2.8-1.61A1.25 1.25 0 0 1 8 1M4.44 11.14l-.06.13 2.75 1.58a1.25 1.25 0 0 1 1.74 0l2.74-1.58-.05-.13zm3.89-7.68a1.3 1.3 0 0 1-.66 0L4.03 9.77q.37.3.45.78h7.04q.08-.48.45-.78zM4.38 4.73a1.24 1.24 0 0 1-1.02 1.76v3.02l.13.01 3.67-6.35-.03-.02zm4.46-1.56 3.67 6.35.13-.01V6.49a1.25 1.25 0 0 1-1.03-1.76L8.87 3.15z\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-nextjs\" viewBox=\"0 0 16 16\">\n <defs>\n <linearGradient id=\"a\" x1=\"4.522\" x2=\"14\" y1=\"3.943\" y2=\"16\" gradientUnits=\"userSpaceOnUse\">\n <stop stop-color=\"currentColor\"/>\n <stop offset=\"1\" stop-color=\"currentColor\" stop-opacity=\"0\"/>\n </linearGradient>\n </defs>\n <path fill=\"currentColor\" d=\"M3 2h1.522v9.09H3z\"/>\n <path fill=\"url(#a)\" d=\"M4.903 2 15 15.075q-.565.5-1.195.925L4.522 3.943z\"/>\n <path fill=\"currentColor\" d=\"M12.172 2h-1.508v9.094h1.508z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-npm\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M2 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1z\" class=\"vector\" opacity=\".2\"/>\n <path fill=\"currentColor\" d=\"M10.5 13H13V3H3v10h5V5.5h2.5z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-oxc\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M9.5 1a.5.5 0 0 1 .5.5V3h3.5a.5.5 0 0 1 .38.83L10.5 7.69v1.44q.41.04.95-.16a4 4 0 0 0 .72-.35l.04-.03h.01a.5.5 0 0 1 .67.1l2 2.5a.5.5 0 0 1 0 .62c-.76.96-3.14 2.69-6.89 2.69s-6.13-1.73-6.89-2.69a.5.5 0 0 1 0-.62l2-2.5a.5.5 0 0 1 .67-.1l.05.03.16.09q.22.13.56.26.54.2.95.16V7.69L2.12 3.83A.5.5 0 0 1 2.5 3H6V1.5a.5.5 0 0 1 .5-.5zM7 3.5a.5.5 0 0 1-.5.5H3.6l2.78 3.17a.5.5 0 0 1 .12.33v2a.5.5 0 0 1-.28.45c-.7.35-1.5.15-2.02-.05a5 5 0 0 1-.58-.26l-1.46 1.84c.82.78 2.8 2.02 5.84 2.02s5.02-1.24 5.84-2.02l-1.46-1.83a5 5 0 0 1-.58.26c-.52.2-1.33.39-2.02.04a.5.5 0 0 1-.28-.45v-2a.5.5 0 0 1 .12-.33L12.4 4H9.5a.5.5 0 0 1-.5-.5V2H7z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-postcss\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M14.5 8a6.5 6.5 0 0 0-5.9-6.47l5.42 8.93A7 7 0 0 0 14.5 8M2.88 12A6.5 6.5 0 0 0 8 14.5c2.08 0 3.93-.98 5.12-2.5zm8.62-1h1.68L11.5 8.24zm-1-.55a4 4 0 0 1-.7.55h.7zM8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M5.5 11h.7a4 4 0 0 1-.7-.55zm-2.68 0H4.5V8.24zm3.76-6.2A4 4 0 0 1 8 4.5q.76 0 1.42.3L8 2.46zM1.5 8q0 1.31.48 2.46L7.4 1.53A6.5 6.5 0 0 0 1.5 8m14 0a7.5 7.5 0 0 1-.99 3.72l-.01.03-.02.03A7.5 7.5 0 0 1 8 15.5a7.5 7.5 0 0 1-6.5-3.75l-.01-.03A7.5 7.5 0 1 1 15.5 8\"/>\n</symbol>","<symbol id=\"file-tree-builtin-prettier\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M6 12v1H4.93v-1zm1-2v1H2v-1zm6-4v1h-3V6zm-1-4v1H9V2z\"/>\n <path fill=\"currentColor\" d=\"M11.5 10v1H8v-1zM5 6v1H2V6zm5-2v1H9V4z\" opacity=\".8\"/>\n <path fill=\"currentColor\" d=\"M6 14v1H2v-1zm-.5-6v1H2V8zM13 4v1h-3V4zM4.93 2v1H2V2z\" opacity=\".6\"/>\n <path fill=\"currentColor\" d=\"M4.93 12v1H2v-1zM13 8v1H9V8zM5.5 4v1H2V4zM9 2v1H4.93V2z\" opacity=\".4\"/>\n</symbol>","<symbol id=\"file-tree-builtin-react\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8 6.65c.73 0 1.31.6 1.31 1.35S8.73 9.35 8 9.35 6.69 8.75 6.69 8 7.27 6.65 8 6.65\"/>\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M8 2.55c1.3-.99 2.59-1.34 3.5-.8.92.55 1.27 1.87 1.08 3.53C14.06 5.94 15 6.9 15 8s-.94 2.06-2.42 2.72c.19 1.65-.16 2.98-1.08 3.52-.91.55-2.2.2-3.5-.8-1.3 1-2.58 1.35-3.5.8-.91-.54-1.27-1.87-1.08-3.52C1.94 10.06 1 9.1 1 8s.94-2.06 2.42-2.72c-.19-1.66.17-2.98 1.08-3.52s2.2-.2 3.5.8M4.26 11.2c-.08 1.34.28 2.03.68 2.26s1.15.22 2.25-.52l.11-.09a12 12 0 0 1-1.24-1.39 11 11 0 0 1-1.8-.41zm7.47-.15q-.83.27-1.79.41-.6.8-1.24 1.4l.11.08c1.1.74 1.86.76 2.25.52.4-.23.76-.92.68-2.26zm-3.04.54a14 14 0 0 1-1.38 0q.34.38.69.7.35-.32.7-.7M8 5.29q-.76 0-1.47.1A13 13 0 0 0 5.07 8a14 14 0 0 0 1.46 2.62 13 13 0 0 0 2.94 0A13 13 0 0 0 10.93 8a14 14 0 0 0-1.46-2.62A13 13 0 0 0 8 5.3M4.64 9.18q-.15.5-.25.96.44.16.94.27a15 15 0 0 1-.7-1.23m6.73 0a15 15 0 0 1-.7 1.23q.5-.11.95-.27a10 10 0 0 0-.25-.96M3.44 6.26C2.27 6.86 1.87 7.53 1.87 8s.4 1.14 1.57 1.74l.13.07q.18-.88.55-1.81a12 12 0 0 1-.55-1.8q-.07.02-.13.06m8.99-.07A12 12 0 0 1 11.88 8q.36.94.55 1.8l.13-.06c1.17-.6 1.56-1.27 1.56-1.74s-.39-1.14-1.56-1.74zm-7.1-.6q-.5.11-.94.27.1.46.25.96a15 15 0 0 1 .69-1.23m5.34 0a15 15 0 0 1 .7 1.23q.14-.5.24-.96-.44-.15-.94-.27M7.18 3.06c-1.09-.74-1.85-.76-2.24-.52s-.76.92-.69 2.26l.01.15a11 11 0 0 1 1.8-.41q.6-.8 1.24-1.4zm3.88-.52c-.4-.24-1.15-.22-2.25.52l-.12.08q.65.6 1.25 1.4.96.15 1.8.41v-.14c.08-1.35-.28-2.04-.68-2.27M8 3.7a10 10 0 0 0-.7.7 14 14 0 0 1 1.4 0 10 10 0 0 0-.7-.7\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-sass\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M8.08 1.44c2.41-.91 4.96-.37 5.35 1.27.39 1.62-.92 3.56-2.6 4.25a5 5 0 0 1-3.26.35c-.58-.2-.92-.62-1-.85-.03-.09-.09-.24 0-.3.05-.03.08-.02.22.15s.7.6 1.75.48c2.78-.34 4.45-2.64 3.92-3.88-.37-.87-2.5-1.26-5.18.16C4.03 4.81 3.85 6.24 3.82 6.8c-.08 1.5 1.73 2.28 2.7 3.4q.04.03.07.08c.3-.12.7-.19 1.35-.2 1.58-.03 2.47 1.08 2.43 2.08-.03.78-.7 1.1-.82 1.13-.1.01-.14.02-.15-.06q-.03-.06.13-.15c.16-.09.42-.3.48-.72.05-.43-.24-1.44-1.76-1.63a3 3 0 0 0-1.33.08c.27.62.32 1.87-.29 2.83-.63 1-1.8 1.61-2.93 1.27-.37-.1-.93-.92-.45-2.05.46-1.07 2.4-2.12 2.66-2.26-.9-.83-3.08-1.95-3.4-3.65-.08-.49.13-1.65 1.46-2.98a12 12 0 0 1 4.11-2.52m-1.88 9.7c-.01.01-.9.47-1.52 1.17-.59.66-.75 1.48-.43 1.69.3.18 1-.04 1.51-.62a3 3 0 0 0 .5-.9q.2-.64.02-1.39z\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-stylelint\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M4 3v3.5l1.5-1L7 15 .5 6l1-1.5L0 3l2.5-2h1zm12 0-1.5 1.5 1 1.5L9 15l1.5-9.5 1.5 1V3l.5-2h1zm-8 8.5a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1m0-3a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1m0-3a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1\"/>\n <path fill=\"currentColor\" d=\"M6.5 2.5V4l-2 1.5v-4zm5 3L9.5 4V2.5l2-1zM9 4H7V2.5h2z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-svelte\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"m3.98 3.7 3.36-2.08a4.5 4.5 0 0 1 5.9 1.23 4 4 0 0 1 .7 3.02q-.16.75-.58 1.4c.42.77.56 1.66.4 2.52a3.7 3.7 0 0 1-1.57 2.4l-.17.1-3.36 2.09a4.5 4.5 0 0 1-5.9-1.23 4 4 0 0 1-.66-1.44 4 4 0 0 1-.04-1.58 4 4 0 0 1 .58-1.4 4 4 0 0 1-.4-2.52 3.7 3.7 0 0 1 1.57-2.4zl3.36-2.08zm7.87 0a2.7 2.7 0 0 0-1.26-.95 2.7 2.7 0 0 0-1.6-.07 3 3 0 0 0-.52.2l-.16.09-3.36 2.08a2 2 0 0 0-.69.64 2 2 0 0 0-.36.86 2.3 2.3 0 0 0 .42 1.81A2.7 2.7 0 0 0 7.18 9.4q.28-.06.53-.2l.16-.09 1.28-.79.2-.09a.8.8 0 0 1 .87.31.7.7 0 0 1 .13.55.7.7 0 0 1-.24.4l-.08.05-3.36 2.08-.2.09a1 1 0 0 1-.49-.02 1 1 0 0 1-.38-.3 1 1 0 0 1-.13-.37v-.1l.01-.13-.13-.03a4 4 0 0 1-1.1-.5l-.2-.14-.18-.12-.07.18-.08.3a2.3 2.3 0 0 0 .43 1.82q.45.64 1.19.93.73.28 1.51.14l.16-.04q.27-.07.52-.2l.16-.09 3.36-2.08q.4-.25.69-.64.27-.4.36-.86a2.3 2.3 0 0 0-.42-1.82 2.7 2.7 0 0 0-1.27-.95 2.7 2.7 0 0 0-1.6-.08q-.27.07-.52.2l-.16.1-1.28.79-.2.09a1 1 0 0 1-.49-.03 1 1 0 0 1-.38-.29.7.7 0 0 1-.13-.54.7.7 0 0 1 .24-.4l.08-.06L9.33 4.4l.2-.1a.8.8 0 0 1 .87.32 1 1 0 0 1 .13.38v.22l.11.04q.6.18 1.12.5l.2.14.17.12.06-.19.08-.3a2.3 2.3 0 0 0-.42-1.81z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-svg\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M5 7a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2z\"/>\n <path fill=\"currentColor\" d=\"M6 1a5 5 0 0 1 4.58 3H7a3 3 0 0 0-3 3v3.58A5 5 0 0 1 6 1\" opacity=\".5\"/>\n</symbol>","<symbol id=\"file-tree-builtin-svgo\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M9.43 4.8A.6.6 0 1 1 9.19 6l-.56.96a1.2 1.2 0 0 1 .32 1.58l.7.53a.89.89 0 1 1-.17.22l-.7-.52a1.2 1.2 0 0 1-1.4.25l-.56.87a.75.75 0 1 1-.57-.2 1 1 0 0 1 .32.05l.56-.87a1.2 1.2 0 0 1-.4-1.24l-1.2-.47a.56.56 0 1 1 .1-.28v.02l1.2.47a1.2 1.2 0 0 1 1.56-.55l.56-.97a.6.6 0 0 1-.15-.64.6.6 0 0 1 .63-.4\"/>\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M9.17 1q.16.63.27 1.26a6 6 0 0 1 1.61.67q.52-.38 1.08-.71l1.65 1.64q-.32.56-.68 1.05.48.78.72 1.67.6.09 1.18.25v2.32q-.55.15-1.11.24a6 6 0 0 1-.7 1.82q.31.44.59.91l-1.65 1.65-.85-.55a6 6 0 0 1-1.9.83q-.08.47-.2.95H6.84q-.12-.46-.2-.93a6 6 0 0 1-1.96-.81q-.39.27-.8.51l-1.65-1.65q.25-.43.53-.84a6 6 0 0 1-.75-1.9L1 9.16V6.83q.54-.14 1.09-.24a6 6 0 0 1 .77-1.74q-.33-.47-.63-.98l1.65-1.65q.54.32 1.03.68a6 6 0 0 1 1.66-.66q.1-.61.26-1.24zM7.96 3.73a4 4 0 0 0-1.74.36 4.5 4.5 0 0 0-2.3 2.3 4.4 4.4 0 0 0-.1 3.29l.03.06a4.4 4.4 0 0 0 2.4 2.47 4.4 4.4 0 0 0 3.48-.02l.03-.02a4.4 4.4 0 0 0 2.3-2.42l.06-.14a4.4 4.4 0 0 0-.2-3.4 4.4 4.4 0 0 0-2.13-2.07L9.47 4a4 4 0 0 0-1.51-.27\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-tailwind\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M8 4Q5.2 4 4.5 6.67q1.05-1.34 2.45-1c.53.12.91.5 1.33.9C8.98 7.23 9.77 8 11.5 8q2.8 0 3.5-2.67-1.05 1.34-2.45 1c-.53-.12-.91-.5-1.33-.9C10.52 4.77 9.73 4 8 4M4.5 8Q1.7 8 1 10.67q1.05-1.34 2.45-1c.53.12.91.5 1.33.9C5.48 11.23 6.26 12 8 12q2.8 0 3.5-2.67-1.05 1.34-2.45 1c-.53-.12-.91-.5-1.33-.9C7.02 8.77 6.24 8 4.5 8\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-terraform\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M1 0v5.05l4.35 2.53V2.53zm9.18 5.34L5.83 2.82v5.05l4.35 2.53zm.47 5.06V5.34L15 2.82v5.05zm-.48 5.6-4.35-2.53V8.42l4.35 2.53z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-vite\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8.57 14.87c-.18.26-.55.11-.55-.22v-3.18l-.05-.27-.13-.22-.2-.15-.24-.06H4.29c-.26 0-.4-.32-.26-.55L6.08 7c.3-.46 0-1.1-.5-1.1H1.8c-.25 0-.4-.32-.25-.56l2.65-4.2A.3.3 0 0 1 4.46 1h7.9c.26 0 .4.32.26.55l-2.05 3.23c-.29.46 0 1.1.5 1.1h3.12c.26 0 .4.34.24.57z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-vscode\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"m5.11 9.68-2.4 1.84a.6.6 0 0 1-.75-.04l-.77-.7a.6.6 0 0 1 0-.87L3.28 8zm5.52-8.42a.51.51 0 0 1 .87.36V4.8L7.32 8 5.1 6.32z\" opacity=\".75\"/>\n <path fill=\"currentColor\" d=\"M11.1 14.99h.03zM1.96 4.52a.6.6 0 0 1 .75-.04l8.8 6.71v3.19a.51.51 0 0 1-.88.36L1.19 6.1a.6.6 0 0 1 0-.87z\" opacity=\".65\"/>\n <path fill=\"currentColor\" d=\"M11.62 14.91a.9.9 0 0 1-1-.17.51.51 0 0 0 .88-.36V1.62a.51.51 0 0 0-.87-.36.9.9 0 0 1 1-.17l2.87 1.39a.9.9 0 0 1 .5.8v9.44a.9.9 0 0 1-.5.8z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-vue\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M9.62 2.25 8 5.02 6.38 2.25H1l7 12 7-12z\" opacity=\".5\"/>\n <path fill=\"currentColor\" d=\"M9.54 2.25 8 4.95l-1.54-2.7H4l4 7 4-7z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-wasm\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M13 1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h3a2 2 0 1 0 4 0z\" class=\"subtract\" opacity=\".2\"/>\n <path fill=\"currentColor\" d=\"M4.64 11.4h.02l.8-3.4h.91l.73 3.45L7.88 8h.96l-1.25 5h-.97L5.9 9.6 5.1 13h-1L3 8h.98z\"/>\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M13 13h-1.02l-.33-1.11H9.9L9.64 13h-.97l1.26-5h1.54zm-2.49-3.77-.42 1.84h1.32l-.49-1.84z\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-webpack\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M14.1 11.79 8.26 15v-2.5l3.64-1.94zm.4-.35V4.73l-2.14 1.2v4.3zm-12.6.35L7.74 15v-2.5L4.1 10.56zm-.4-.35V4.73l2.14 1.2v4.3zm.25-7.15 6-3.29v2.42L3.9 5.47l-.03.01zm12.5 0L8.25 1v2.42l3.85 2.05.03.01z\" class=\"bg\" opacity=\".4\"/>\n <path fill=\"currentColor\" d=\"m7.74 11.93-3.59-1.92v-3.8l3.6 2.02zm.52 0 3.59-1.92v-3.8l-3.6 2.02zM4.4 5.77 8 3.85l3.6 1.93L8 7.8z\" class=\"fg\"/>\n</symbol>","<symbol id=\"file-tree-builtin-yml\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M7.5 2A1.5 1.5 0 0 1 9 3.5v3A1.5 1.5 0 0 1 7.5 8h-2v2A1.5 1.5 0 0 0 7 11.5v-1A1.5 1.5 0 0 1 8.5 9h5a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-1.5 1.5h-5A1.5 1.5 0 0 1 7 13.5v-1A2.5 2.5 0 0 1 4.5 10V8h-2A1.5 1.5 0 0 1 1 6.5v-3A1.5 1.5 0 0 1 2.5 2zm1 8a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zm-6-7a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-zig\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"m14.73 1.5-7.29 8.82h4.17l-1.73 2.04H5.76L1.27 14.5l7.3-8.91H4.39l1.73-2.05h4.12z\"/>\n <path fill=\"currentColor\" d=\"M5.21 3.54 3.56 5.6h-.55v4.73h.83L2.1 12.36H1V3.54zm9.79 0v8.82h-4.3l1.74-2.04h.55V5.68h-.83l1.74-2.14z\"/>\n</symbol>"];function o(l,t){return 0===t.length?l:l.replace("</svg>",`\n ${t.join("\n ")}\n</svg>`)}const n=o(l,["<symbol id=\"file-tree-builtin-bash\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8 1C2.24 1 1 2.24 1 8s1.24 7 7 7 7-1.24 7-7-1.24-7-7-7\" class=\"bg\" opacity=\".2\"/>\n <path fill=\"currentColor\" d=\"M11.5 11a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1zM7 6.75C7 6.42 6.64 6 6 6s-1 .42-1 .75q-.01.25.22.41.26.21.89.35.74.14 1.28.53c.37.29.61.7.61 1.21 0 .87-.68 1.5-1.5 1.7v.55a.5.5 0 0 1-1 0v-.56c-.82-.18-1.5-.82-1.5-1.69a.5.5 0 0 1 1 0c0 .33.36.75 1 .75s1-.42 1-.75q.01-.25-.22-.41a2 2 0 0 0-.89-.35q-.74-.14-1.28-.53A1.5 1.5 0 0 1 4 6.75c0-.87.68-1.5 1.5-1.7V4.5a.5.5 0 0 1 1 0v.56c.82.18 1.5.82 1.5 1.69a.5.5 0 0 1-1 0\" class=\"fg-stroke\"/>\n</symbol>","<symbol id=\"file-tree-builtin-c\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M8 1q.084 0 .166.021.098.023.186.075c1.055.624 4.22 2.486 5.277 3.11.085.05.15.112.209.192h-.002l.028.037a.5.5 0 0 1 .103.21q.031.102.033.21v6.29a.71.71 0 0 1-.347.616l-5.307 3.144a.68.68 0 0 1-.693 0l-5.307-3.144A.72.72 0 0 1 2 11.145V4.832a.71.71 0 0 1 .346-.612l5.288-3.126A.7.7 0 0 1 7.992 1zm2.901 4.349a3.75 3.75 0 1 0 0 5.302l-1.06-1.06a2.25 2.25 0 1 1 0-3.182z\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-cpp\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M8 1q.084 0 .166.021.098.023.186.075c1.055.624 4.22 2.486 5.277 3.11.085.05.15.112.209.192h-.002l.028.037a.5.5 0 0 1 .103.21q.031.102.033.21v6.29a.71.71 0 0 1-.347.616l-5.307 3.144a.68.68 0 0 1-.693 0l-5.307-3.144A.72.72 0 0 1 2 11.145V4.832a.71.71 0 0 1 .346-.612l5.288-3.126A.7.7 0 0 1 7.992 1zm2.901 4.349a3.75 3.75 0 1 0 0 5.302l-1.06-1.06a2.25 2.25 0 1 1 0-3.182z\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-css\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8 15c-5.76 0-7-1.24-7-7V2a1 1 0 0 1 1-1h6c5.77 0 7 1.24 7 7s-1.24 7-7 7\" class=\"vector\" opacity=\".2\"/>\n <path fill=\"currentColor\" d=\"M10.1 9.19h.73c.03.49.22.6 1 .6.76 0 .93-.12.93-.68 0-.52-.17-.67-.94-.85-1.38-.3-1.68-.56-1.68-1.47 0-1.05.3-1.29 1.67-1.29 1.29 0 1.57.2 1.6 1.13h-.74c-.01-.34-.17-.42-.85-.42-.77 0-.94.1-.94.58 0 .42.17.55.96.73 1.36.3 1.66.58 1.66 1.59 0 1.14-.31 1.39-1.73 1.39-1.39 0-1.69-.24-1.67-1.31m-3.9 0h.74c.03.49.21.6.99.6.76 0 .93-.12.93-.68 0-.52-.17-.67-.93-.85-1.39-.3-1.69-.56-1.69-1.47 0-1.05.3-1.29 1.67-1.29 1.3 0 1.58.2 1.6 1.13h-.73c-.02-.34-.18-.42-.85-.42-.78 0-.95.1-.95.58 0 .42.17.55.96.73 1.37.3 1.67.58 1.67 1.59 0 1.14-.32 1.39-1.74 1.39-1.38 0-1.68-.24-1.66-1.31m-1.22 0h.75c-.09 1.07-.37 1.31-1.56 1.31-1.37 0-1.68-.45-1.68-2.5 0-1.96.36-2.5 1.68-2.5 1.16 0 1.44.25 1.52 1.35h-.76c-.08-.52-.22-.64-.76-.64-.74 0-.9.33-.9 1.78 0 1.47.16 1.8.9 1.8.58 0 .74-.11.8-.6\"/>\n</symbol>","<symbol id=\"file-tree-builtin-database\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M14.953 9.733a12.4 12.4 0 0 1-.244 1.936c-.207.933-.532 1.58-.996 2.044s-1.11.789-2.044.996C10.73 14.918 9.533 15 8 15s-2.73-.082-3.669-.291c-.933-.207-1.58-.532-2.044-.996s-.789-1.11-.996-2.044c-.122-.547-.2-1.182-.244-1.92q.23.364.532.667c.64.639 1.482 1.031 2.533 1.265 1.046.232 2.33.315 3.884.315 1.555 0 2.838-.083 3.884-.315 1.051-.234 1.893-.626 2.532-1.265a4 4 0 0 0 .541-.683\"/>\n <path fill=\"currentColor\" d=\"M14.93 5.924c-.046.663-.118 1.24-.23 1.743-.207.932-.532 1.579-.995 2.042s-1.11.789-2.042.996c-.938.209-2.135.291-3.667.291-1.531 0-2.729-.082-3.667-.29-.932-.208-1.579-.534-2.042-.997s-.789-1.11-.996-2.042a12 12 0 0 1-.227-1.683l.016-.188a4 4 0 0 0 .5.62c.638.639 1.48 1.031 2.532 1.265 1.046.232 2.33.315 3.884.315 1.555 0 2.838-.083 3.884-.315 1.051-.234 1.893-.626 2.532-1.265.192-.192.357-.404.506-.633z\"/>\n <path fill=\"currentColor\" d=\"M8 1c1.533 0 2.73.082 3.669.291.933.207 1.58.533 2.044.996.403.404.904.944.91 1.695.004.764-.509 1.318-.918 1.727-.463.463-1.11.789-2.042.996-.938.209-2.135.291-3.667.291-1.531 0-2.729-.082-3.667-.29-.932-.208-1.579-.534-2.042-.997-.406-.406-.915-.953-.915-1.71 0-.758.509-1.305.915-1.712.464-.463 1.11-.789 2.044-.996C5.27 1.082 6.467 1 8 1\"/>\n</symbol>","<symbol id=\"file-tree-builtin-default\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8 1v3a3 3 0 0 0 3 3h3v5.5a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 12.5v-9A2.5 2.5 0 0 1 4.5 1z\" class=\"bg\" opacity=\".4\"/>\n <path fill=\"currentColor\" d=\"M9.5 1a.5.5 0 0 1 .354.146l4 4A.5.5 0 0 1 14 5.5V6h-3a2 2 0 0 1-2-2V1z\" class=\"fg\"/>\n</symbol>","<symbol id=\"file-tree-builtin-font\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M12.3 13c-1.59 0-2.68-.99-2.68-2.5 0-1.43 1-2.34 2.88-2.35h2.16v-.83c0-1.08-.62-1.68-1.73-1.68-1.05 0-1.66.54-1.73 1.36H9.93c.09-1.43 1.06-2.48 3.05-2.48 1.75 0 3.02.95 3.02 2.68v5.66h-1.29v-1.02h-.04c-.41.66-1.16 1.16-2.37 1.16m.36-1.12c1.14 0 2-.72 2-1.74v-.96H12.6c-1.12 0-1.6.54-1.6 1.28 0 .97.8 1.42 1.66 1.42m-11.24.98H0L3.8 2h1.39l3.8 10.86H7.54l-1.08-3.2H2.5zm3.09-9.25h-.04l-1.6 4.95H6.1z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-git\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M14.74 7.38 8.62 1.26a.9.9 0 0 0-1.27 0L6.08 2.53l1.61 1.61a1.07 1.07 0 0 1 1.36 1.37l1.55 1.55a1.07 1.07 0 0 1 1.1 1.77 1.07 1.07 0 0 1-1.74-1.16L8.5 6.22v3.8a1.07 1.07 0 1 1-.89-.02V6.15a1.07 1.07 0 0 1-.58-1.4l-1.58-1.6-4.2 4.2a.9.9 0 0 0 0 1.27l6.12 6.12a.9.9 0 0 0 1.27 0l6.09-6.09a.9.9 0 0 0 0-1.27\"/>\n</symbol>","<symbol id=\"file-tree-builtin-go\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M4.41 4.57A3.2 3.2 0 0 1 6.87 5q.74.49 1.08 1.29.08.12-.1.16l-1.55.4c-.14.03-.15.04-.27-.1a1 1 0 0 0-.44-.34 1.6 1.6 0 0 0-1.68.14q-.95.61-.94 1.73c0 .73.52 1.33 1.25 1.43q.95.1 1.58-.6l.25-.34h-1.8c-.19 0-.24-.12-.17-.27.12-.28.34-.76.47-1a.3.3 0 0 1 .24-.14h2.98a4 4 0 0 1 .64-1.19 4 4 0 0 1 2.6-1.52 3.5 3.5 0 0 1 2.64.46q1.13.73 1.31 2.04a3.5 3.5 0 0 1-1.06 3.09q-.93.92-2.23 1.17l-.74.08a3.5 3.5 0 0 1-2.27-.8 3 3 0 0 1-.93-1.42 4 4 0 0 1-.39.61 4 4 0 0 1-2.64 1.56 3.3 3.3 0 0 1-2.5-.6 3 3 0 0 1-1.18-2.03 3.5 3.5 0 0 1 .8-2.67 4 4 0 0 1 2.6-1.58M13.1 7.5a1.53 1.53 0 0 0-1.9-1.21q-1.3.3-1.62 1.59a1.5 1.5 0 0 0 .85 1.72q.77.33 1.52-.05a2 2 0 0 0 1.18-1.74q0-.17-.03-.3\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-html\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8 1C2.24 1 1 2.24 1 8s1.24 7 7 7 7-1.24 7-7-1.24-7-7-7\" class=\"bg\" opacity=\".2\"/>\n <path fill=\"currentColor\" d=\"M10.48 3.76a.5.5 0 0 1 .4.58L10.6 5.8h1.14a.5.5 0 0 1 0 1h-1.32L10 9.2h1.08a.5.5 0 0 1 0 1H9.8l-.3 1.64a.5.5 0 1 1-.98-.18l.27-1.46H6.4l-.3 1.64a.5.5 0 1 1-.98-.18l.27-1.46H4.25a.5.5 0 0 1 0-1h1.32L6 6.8H4.93a.5.5 0 0 1 0-1H6.2l.3-1.64a.5.5 0 1 1 .98.18L7.2 5.8h2.4l.3-1.64a.5.5 0 0 1 .58-.4M6.58 9.2h2.4l.44-2.4h-2.4z\" class=\"fg\"/>\n</symbol>","<symbol id=\"file-tree-builtin-image\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M12.5 2A2.5 2.5 0 0 1 15 4.5v4.67l-4.05-3.54-4.08 4.08-3-2L1 10.6V4.5A2.5 2.5 0 0 1 3.5 2z\" opacity=\".3\"/>\n <path fill=\"currentColor\" d=\"M15 10.5v1a2.5 2.5 0 0 1-2.5 2.5h-9a2.5 2.5 0 0 1-2.46-2.04L4 9l3 2 4-4zm-7-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0\"/>\n</symbol>","<symbol id=\"file-tree-builtin-javascript\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8 1C2.24 1 1 2.24 1 8s1.24 7 7 7 7-1.24 7-7-1.24-7-7-7\" class=\"bg\" opacity=\".2\"/>\n <path fill=\"currentColor\" d=\"M8.1 9.64h.95c.04.62.28.76 1.28.76s1.2-.14 1.2-.85c0-.66-.2-.85-1.2-1.07-1.79-.38-2.18-.7-2.18-1.86C8.15 5.3 8.54 5 10.31 5c1.67 0 2.04.26 2.07 1.42h-.95c-.02-.43-.23-.53-1.1-.53-1 0-1.22.14-1.22.74 0 .52.22.7 1.24.92 1.76.38 2.15.73 2.15 2 0 1.44-.4 1.75-2.24 1.75-1.8 0-2.18-.3-2.15-1.66M3.5 9.5h.98c0 .76.15.92.85.92.77 0 .94-.18.94-1.02V5.1h1v4.34c0 1.54-.35 1.87-1.92 1.87-1.55 0-1.89-.32-1.86-1.8\"/>\n</symbol>","<symbol id=\"file-tree-builtin-json\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M13.25 11.5V9.75a.5.5 0 0 1 .36-.48l.55-.15a1.16 1.16 0 0 0 0-2.24l-.55-.15a.5.5 0 0 1-.36-.48V4.5a2.5 2.5 0 0 0-2.5-2.5h-.25a.5.5 0 0 0 0 1h.25a1.5 1.5 0 0 1 1.5 1.5v1.75a1.5 1.5 0 0 0 1.09 1.44l.54.15a.16.16 0 0 1 0 .32l-.54.15a1.5 1.5 0 0 0-1.09 1.44v1.75a1.5 1.5 0 0 1-1.5 1.5h-.25a.5.5 0 0 0 0 1h.25a2.5 2.5 0 0 0 2.5-2.5m-10.5 0V9.75a.5.5 0 0 0-.36-.48l-.55-.15a1.16 1.16 0 0 1 0-2.24l.55-.15a.5.5 0 0 0 .36-.48V4.5A2.5 2.5 0 0 1 5.25 2h.25a.5.5 0 0 1 0 1h-.25a1.5 1.5 0 0 0-1.5 1.5v1.75a1.5 1.5 0 0 1-1.09 1.44l-.54.15a.16.16 0 0 0 0 .32l.54.15a1.5 1.5 0 0 1 1.09 1.45v1.74a1.5 1.5 0 0 0 1.5 1.5h.25a.5.5 0 0 1 0 1h-.25a2.5 2.5 0 0 1-2.5-2.5\"/>\n</symbol>","<symbol id=\"file-tree-builtin-markdown\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M1 12V4h2l2 2.5L7 4h2v8H7V7.5l-2 2-2-2V12zm9-3 3 3.5L16 9h-2V4h-2v5z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-mcp\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M9.26-.04a3 3 0 0 1 2 .82 2.8 2.8 0 0 1 .8 2.35 2.9 2.9 0 0 1 2.41.8l.03.02a2.74 2.74 0 0 1 0 3.94l-5.8 5.69-.04.06-.02.07q0 .04.02.07.01.04.04.06l1.2 1.17a.55.55 0 0 1 0 .79.6.6 0 0 1-.81 0l-1.2-1.17a1.3 1.3 0 0 1 0-1.84L13.7 7.1a1.65 1.65 0 0 0 .37-1.82 2 2 0 0 0-.37-.54l-.03-.03a1.73 1.73 0 0 0-2.4 0L6.47 9.4l-.07.06a.58.58 0 0 1-.92-.18.6.6 0 0 1 .12-.6l4.85-4.76a1.65 1.65 0 0 0 0-2.36 1.73 1.73 0 0 0-2.4 0l-6.43 6.3a.6.6 0 0 1-.8 0 .55.55 0 0 1 0-.8L7.25.79a3 3 0 0 1 2-.82\"/>\n <path fill=\"currentColor\" d=\"M9.26 2.19a.6.6 0 0 1 .52.34.6.6 0 0 1 0 .43l-.12.18L4.9 7.79a1.65 1.65 0 0 0 0 2.36 1.73 1.73 0 0 0 2.4 0l4.75-4.66a.58.58 0 0 1 .93.18.6.6 0 0 1-.12.61l-4.75 4.66a2.9 2.9 0 0 1-4.01 0 2.75 2.75 0 0 1-.62-3.04A3 3 0 0 1 4.1 7l4.74-4.65a.6.6 0 0 1 .4-.16\"/>\n</symbol>","<symbol id=\"file-tree-builtin-python\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8.33 8.4H10c1.16 0 1.9-.73 1.9-1.86V5.08q0-.24.25-.24h.74c.75 0 1.33.32 1.66.97q.4.73.41 1.46c.09.9.09 1.78-.24 2.67-.25.73-.75 1.3-1.58 1.46h-4.8c-.08 0-.25 0-.25.08v.4s.17.09.25.09h2.82q.34-.02.33.32v1.06c0 .56-.25.97-.75 1.13-.41.16-.83.33-1.24.4a7 7 0 0 1-2.98-.07 3 3 0 0 1-1.16-.49c-.33-.32-.58-.65-.5-1.14v-2.91c0-1.13.67-1.78 1.82-1.78q.89-.1 1.66-.08m2.32 4.86a.65.65 0 0 0-.66-.65c-.34 0-.67.33-.67.65s.33.57.67.65a.65.65 0 0 0 .66-.65\" class=\"bg\" opacity=\".8\"/>\n <path fill=\"currentColor\" d=\"M7.67 7.6H6c-1.16 0-1.9.73-1.9 1.86v1.46q0 .24-.25.24h-.74c-.75 0-1.33-.32-1.66-.97a3 3 0 0 1-.41-1.46 6 6 0 0 1 .24-2.67c.25-.73.75-1.3 1.58-1.46h4.8c.08 0 .25 0 .25-.08v-.4s-.17-.09-.25-.09H4.85c-.24 0-.33-.08-.33-.32V2.65c0-.56.25-.97.75-1.13.41-.16.83-.33 1.24-.4a7 7 0 0 1 2.98.07c.41.09.83.25 1.16.49.33.32.58.65.5 1.13v2.92c0 1.14-.67 1.78-1.82 1.78-.58.08-1.16.08-1.66.08M5.35 2.73c0 .33.25.65.66.65.33 0 .66-.32.66-.65 0-.32-.33-.56-.66-.64a.65.65 0 0 0-.66.64\" class=\"fg\"/>\n</symbol>","<symbol id=\"file-tree-builtin-ruby\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M11.04 2c.48 0 .92.23 1.18.6l2.54 3.65c.37.52.3 1.23-.15 1.69l-5.58 5.64a1.47 1.47 0 0 1-2.06 0L1.39 7.94a1.3 1.3 0 0 1-.15-1.7l2.54-3.63q.2-.3.5-.45.33-.16.68-.16zm.84 2.17a.5.5 0 0 0-.7-.05L8 6.84 4.83 4.12a.5.5 0 0 0-.65.76L6.65 7H3.5a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1H9.35l2.48-2.12a.5.5 0 0 0 .05-.7\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-rust\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M8 .8a.2.2 0 0 1 .18.1l.38.6.16.02.5-.53.01-.01a.2.2 0 0 1 .33.08l.25.68.16.05.59-.43h.02a.2.2 0 0 1 .3.14l.12.71.15.08.65-.3a.2.2 0 0 1 .2.02.2.2 0 0 1 .1.18l-.03.72.12.1.71-.16a.2.2 0 0 1 .25.25l-.17.7q.06.06.1.13l.73-.03A.2.2 0 0 1 14 4a.2.2 0 0 1 .02.2l-.3.66.08.14.71.12a.2.2 0 0 1 .14.32l-.43.59.05.16.68.25a.2.2 0 0 1 .07.35l-.53.49.01.16.62.38a.2.2 0 0 1 0 .36l-.62.38-.01.16.53.5a.2.2 0 0 1-.07.34l-.68.25-.05.16.43.59a.2.2 0 0 1-.14.32l-.72.12-.07.15.3.65a.2.2 0 0 1-.02.2.2.2 0 0 1-.18.1l-.72-.03-.1.13.16.7a.2.2 0 0 1-.25.25l-.7-.17-.13.1.03.73a.2.2 0 0 1-.1.18.2.2 0 0 1-.2.02l-.66-.3-.14.08-.12.71a.2.2 0 0 1-.32.14l-.59-.43-.16.05-.25.68a.2.2 0 0 1-.34.07l-.5-.53-.16.01-.38.62a.2.2 0 0 1-.36 0l-.38-.62-.16-.01-.5.53a.2.2 0 0 1-.34-.07l-.25-.68-.16-.05-.59.43a.2.2 0 0 1-.32-.14L5 13.78l-.15-.07-.65.3a.2.2 0 0 1-.2-.02.2.2 0 0 1-.1-.18l.03-.72-.13-.1-.7.16a.2.2 0 0 1-.25-.25l.17-.7-.1-.13-.73.03a.2.2 0 0 1-.2-.3l.3-.66-.08-.14-.71-.12a.2.2 0 0 1-.14-.32l.43-.59-.05-.16-.68-.25A.2.2 0 0 1 1 9.22l.53-.5-.02-.16-.6-.38A.2.2 0 0 1 .8 8a.2.2 0 0 1 .1-.18l.6-.38.02-.16-.53-.5a.2.2 0 0 1 .07-.34l.68-.25.05-.16-.43-.59a.2.2 0 0 1 .14-.32L2.2 5l.08-.15L2 4.2a.2.2 0 0 1 .2-.3l.72.03.1-.13-.16-.7a.2.2 0 0 1 .25-.25l.7.16.13-.1-.03-.72A.2.2 0 0 1 4 2a.2.2 0 0 1 .2-.02l.65.3L5 2.2l.12-.71v-.03a.2.2 0 0 1 .32-.1l.59.41.16-.04.25-.68.01-.02A.2.2 0 0 1 6.8.99l.49.53.16-.02.38-.61.02-.02A.2.2 0 0 1 8 .79M6.8 9.45h1.26l.06.01q.03.01.03.05v1.52q0 .07-.09.06h-4.5A5.4 5.4 0 0 0 8 13.42a5.4 5.4 0 0 0 4.45-2.33h-2.42c-.36 0-.68-.5-.77-.75-.08-.22-.2-.91-.25-1.12-.15-.61-.59-.71-.78-.73H6.8zM8 2.58a5.4 5.4 0 0 0-4.07 1.85h5.74l.17.02c.23.03.6.12.96.35.34.23.83.68.83 1.4 0 .66-.55 1.16-1.08 1.5.42.33.7.53.86 1.44.04.17.34.32.62.29.29-.03.62-.16.62-.75v-.24q0-.1.07-.1h.68A5.43 5.43 0 0 0 8 2.59M2.96 6.03a5.4 5.4 0 0 0-.19 3.37h1.66V6.03zM6.8 7.06h1.66c.35 0 .77-.12.77-.47 0-.42-.55-.53-.65-.53H6.8z\" clip-rule=\"evenodd\"/>\n</symbol>","<symbol id=\"file-tree-builtin-swift\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M9.63 1c6.15 4.35 4.16 9.15 4.16 9.15s1.75 2.05 1.04 3.85c0 0-.72-1.26-1.93-1.26-1.17 0-1.85 1.26-4.2 1.26C3.47 14 1 9.46 1 9.46c4.71 3.22 7.93.94 7.93.94C6.8 9.12 2.29 3 2.29 3c3.93 3.47 5.63 4.39 5.63 4.39-1.01-.87-3.86-5.13-3.86-5.13C6.34 4.66 10.86 8 10.86 8c1.28-3.7-1.23-7-1.23-7\"/>\n</symbol>","<symbol id=\"file-tree-builtin-table\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8 4a3 3 0 0 0 3 3h3v5.5a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 12.5v-9A2.5 2.5 0 0 1 4.5 1H8z\" class=\"bg\" opacity=\".4\"/>\n <path fill=\"currentColor\" d=\"M11.5 8a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5zM5 12h2.5v-1H5zm3.5 0H11v-1H8.5zM5 10h2.5V9H5zm3.5 0H11V9H8.5zm1-9a.5.5 0 0 1 .354.146l4 4A.5.5 0 0 1 14 5.5V6h-3a2 2 0 0 1-2-2V1z\" class=\"fg\"/>\n</symbol>","<symbol id=\"file-tree-builtin-text\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M8 4a3 3 0 0 0 3 3h3v5.5a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 12.5v-9A2.5 2.5 0 0 1 4.5 1H8z\" class=\"bg\" clip-rule=\"evenodd\" opacity=\".4\"/>\n <path fill=\"currentColor\" d=\"M8.5 11a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1zm2-2a.5.5 0 0 1 0 1h-5a.5.5 0 0 1 0-1zm-1-8a.5.5 0 0 1 .354.146l4 4A.5.5 0 0 1 14 5.5V6h-3a2 2 0 0 1-2-2V1z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-typescript\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M8 1C2.24 1 1 2.24 1 8s1.24 7 7 7 7-1.24 7-7-1.24-7-7-7\" class=\"bg\" opacity=\".2\"/>\n <path fill=\"currentColor\" d=\"M8.1 9.64h.95c.04.62.28.76 1.28.76s1.2-.14 1.2-.85c0-.66-.2-.85-1.2-1.07-1.79-.38-2.18-.7-2.18-1.86C8.15 5.3 8.54 5 10.31 5c1.67 0 2.04.26 2.07 1.42h-.95c-.02-.43-.23-.53-1.1-.53-1 0-1.22.14-1.22.74 0 .52.22.7 1.24.92 1.76.38 2.15.73 2.15 2 0 1.44-.4 1.75-2.24 1.75-1.8 0-2.18-.3-2.15-1.66m-3 1.57V5.99H3.5v-.9h4.21v.9H6.1v5.22z\"/>\n</symbol>","<symbol id=\"file-tree-builtin-zip\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" d=\"M4.585 2a2 2 0 0 1 1.028.285l1.788 1.072a1 1 0 0 0 .514.143H12A2 2 0 0 1 13.935 5H0V4a2 2 0 0 1 2-2z\" class=\"bg\" opacity=\".5\"/>\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M14 12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-1.25h1v-1H0V6h14zM9.9 8.25c-.883 0-1.9.5-1.9.5H7v1h1v1s1.017.5 1.9.5c.884 0 1.6-.672 1.6-1.5s-.716-1.5-1.6-1.5M2 9.75v1h1v-1zm2 0v1h1v-1zm2 0v1h1v-1zm-5-1v1h1v-1zm2 0v1h1v-1zm2 0v1h1v-1z\" class=\"fg\" clip-rule=\"evenodd\"/>\n</symbol>"]),s={minimal:l,standard:n,complete:o(n,t)},c={".babelrc":"babel",".babelrc.json":"babel",".bash_profile":"bash",".bashrc":"bash",".browserslistrc":"browserslist",".dockerignore":"docker",".eslintignore":"eslint",".eslintrc":"eslint",".eslintrc.cjs":"eslint",".eslintrc.js":"eslint",".eslintrc.json":"eslint",".eslintrc.yaml":"eslint",".eslintrc.yml":"eslint",".gitattributes":"git",".gitignore":"git",".gitkeep":"git",".gitmodules":"git",".oxlintrc.json":"oxc",".postcssrc":"postcss",".postcssrc.json":"postcss",".postcssrc.yaml":"postcss",".postcssrc.yml":"postcss",".prettierignore":"prettier",".prettierrc":"prettier",".prettierrc.cjs":"prettier",".prettierrc.js":"prettier",".prettierrc.json":"prettier",".prettierrc.mjs":"prettier",".prettierrc.toml":"prettier",".prettierrc.yaml":"prettier",".prettierrc.yml":"prettier",".stylelintignore":"stylelint",".stylelintrc":"stylelint",".stylelintrc.cjs":"stylelint",".stylelintrc.js":"stylelint",".stylelintrc.json":"stylelint",".stylelintrc.mjs":"stylelint",".stylelintrc.yaml":"stylelint",".stylelintrc.yml":"stylelint",".terraform.lock.hcl":"terraform",".zprofile":"bash",".zshenv":"bash",".zshrc":"bash","babel.config.cjs":"babel","babel.config.js":"babel","babel.config.json":"babel","babel.config.mjs":"babel","biome.json":"biome","biome.jsonc":"biome","bootstrap.bundle.js":"bootstrap","bootstrap.bundle.min.js":"bootstrap","bootstrap.css":"bootstrap","bootstrap.js":"bootstrap","bootstrap.min.css":"bootstrap","bootstrap.min.js":"bootstrap","bun.lock":"bun","bun.lockb":"bun","bunfig.toml":"bun","claude.md":"claude","compose.yaml":"docker","compose.yml":"docker","docker-compose.override.yml":"docker","docker-compose.yaml":"docker","docker-compose.yml":"docker",dockerfile:"docker","eslint.config.cjs":"eslint","eslint.config.js":"eslint","eslint.config.mjs":"eslint","eslint.config.mts":"eslint","eslint.config.ts":"eslint",gemfile:"ruby","next.config.js":"nextjs","next.config.mjs":"nextjs","next.config.mts":"nextjs","next.config.ts":"nextjs","postcss.config.cjs":"postcss","postcss.config.js":"postcss","postcss.config.mjs":"postcss","postcss.config.ts":"postcss","prettier.config.cjs":"prettier","prettier.config.js":"prettier","prettier.config.mjs":"prettier",rakefile:"ruby","readme.md":"markdown","stylelint.config.cjs":"stylelint","stylelint.config.js":"stylelint","stylelint.config.mjs":"stylelint","svgo.config.cjs":"svgo","svgo.config.js":"svgo","svgo.config.mjs":"svgo","svgo.config.ts":"svgo","tailwind.config.cjs":"tailwind","tailwind.config.js":"tailwind","tailwind.config.mjs":"tailwind","tailwind.config.ts":"tailwind","vite.config.js":"vite","vite.config.mjs":"vite","vite.config.mts":"vite","vite.config.ts":"vite","webpack.config.babel.js":"webpack","webpack.config.cjs":"webpack","webpack.config.js":"webpack","webpack.config.mjs":"webpack","webpack.config.ts":"webpack"},p={"7z":"zip",astro:"astro",AUTHORS:"text",avif:"image",bash:"bash",bmp:"image",bz2:"zip",c:"c",cc:"cpp",cfg:"text",CHANGELOG:"text",cjs:"javascript","code-workspace":"vscode",conf:"text",CONTRIBUTORS:"text",cpp:"cpp",csh:"bash",css:"css",csv:"table",cts:"typescript",cxx:"cpp",db:"database",editorconfig:"text",env:"text","env.development":"text","env.local":"text","env.production":"text",eot:"font",erb:"ruby",fish:"bash",gemspec:"ruby",gif:"image",go:"go",gql:"graphql",graphql:"graphql",gz:"zip",h:"c",hh:"cpp",hpp:"cpp",htm:"html",html:"html",hxx:"cpp",icns:"image",ico:"image",ini:"text",inl:"cpp",jar:"zip",jpeg:"image",jpg:"image",js:"javascript",json:"json",json5:"json",jsonc:"json",jsonl:"json",jsx:"javascript",ksh:"bash",less:"css",LICENSE:"text",log:"text",markdown:"markdown",mcp:"mcp",md:"markdown",mdx:"markdown","mdx.tsx":"markdown",mjs:"javascript",mm:"cpp",mts:"typescript",ods:"table",otf:"font",png:"image",postcss:"css",py:"python",pyi:"python",pyw:"python",pyx:"python",rake:"ruby",rar:"zip",rb:"ruby",rs:"rust",rst:"text",rtf:"text",sass:"css",scss:"css",sh:"bash",sql:"database",sqlite:"database",sqlite3:"database",styl:"css",svelte:"svelte",svg:"svg",swift:"swift",tar:"zip",tf:"terraform",tfstate:"terraform",tfvars:"terraform",tgz:"zip",tif:"image",tiff:"image",ts:"typescript",tsv:"table",tsx:"typescript",ttf:"font",txt:"text",vue:"vue",war:"zip",wasm:"wasm",wast:"wasm",wat:"wasm",webp:"image",woff:"font",woff2:"font",xhtml:"html",xls:"table",xlsx:"table",xz:"zip",yaml:"yml",yml:"yml",zig:"zig",zip:"zip",zsh:"bash"},h={jsx:"react",sass:"sass",scss:"sass",tsx:"react"},b=new Set(["bash","c","cpp","css","database","default","font","git","go","html","image","javascript","json","markdown","mcp","python","ruby","rust","swift","table","text","typescript","zip"]),v=new Set(["complete"]);function f(l){return s["none"===l?"minimal":l]}function u(l){return`file-tree-builtin-${l}`}function y(l){return"none"!==l&&v.has(l)}function z(l,t,o){if("minimal"===l||"none"===l)return;const n="complete"===l,s=c[t.toLowerCase()];if(null!=s&&(n||b.has(s)))return s;for(const l of o){if(n){const t=h[l];if(null!=t)return t}const t=p[l];if(null!=t&&(n||b.has(t)))return t}return"default"}},1210,[]);
4
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"CONTEXT_MENU_SLOT_NAME",{enumerable:!0,get:function(){return f}}),Object.defineProperty(e,"CONTEXT_MENU_TRIGGER_TYPE",{enumerable:!0,get:function(){return R}}),Object.defineProperty(e,"FILE_TREE_SCROLLBAR_GUTTER_MEASURED_PROPERTY",{enumerable:!0,get:function(){return T}}),Object.defineProperty(e,"FILE_TREE_SCROLLBAR_GUTTER_STYLE_ATTRIBUTE",{enumerable:!0,get:function(){return _}}),Object.defineProperty(e,"FILE_TREE_SCROLLBAR_MEASURE_ATTRIBUTE",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"FILE_TREE_STYLE_ATTRIBUTE",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"FILE_TREE_TAG_NAME",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"FILE_TREE_UNSAFE_CSS_ATTRIBUTE",{enumerable:!0,get:function(){return E}}),Object.defineProperty(e,"FLATTENED_PREFIX",{enumerable:!0,get:function(){return c}}),Object.defineProperty(e,"HEADER_SLOT_NAME",{enumerable:!0,get:function(){return o}});const t="file-tree-container",n="data-file-tree-style",E="data-file-tree-unsafe-css",u="data-file-tree-scrollbar-measure",_="data-file-tree-scrollbar-gutter-measured",T="--trees-scrollbar-gutter-measured",c="f::",o="header",f="context-menu",R="context-menu-trigger"},1211,[]);
5
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"createFileTreeIconResolver",{enumerable:!0,get:function(){return u}});var n=r(d[0]),t=r(d[1]);const o=n=>n.trim().toLowerCase(),s=n=>n.split("/").at(-1)??n,l=n=>{const t=n.toLowerCase().split("."),o=[];for(let n=1;n<t.length;n+=1)o.push(t.slice(n).join("."));return o};function c(n,t){return"string"==typeof n?{name:n,remappedFrom:t}:Object.assign({},n,{remappedFrom:t})}function u(u){const f=(0,t.normalizeFileTreeIcons)(u),p=f.remap,b=new Map;for(const[n,t]of Object.entries(f.byFileName??{}))b.set(n.toLowerCase(),t);const F=new Map;for(const[n,t]of Object.entries(f.byFileExtension??{}))F.set(o(n),t);const j=Object.entries(f.byFileNameContains??{}).map(([n,t])=>[n.toLowerCase(),t]);return{resolveIcon:(t,o)=>{if("file-tree-icon-file"===t&&null!=o){const u=s(o),w=u.toLowerCase(),I=b.get(w);if(null!=I)return c(I,t);for(const[n,o]of j)if(w.includes(n))return c(o,t);const y=l(u);for(const n of y){const o=F.get(n);if(null!=o)return c(o,t)}const C=(0,n.resolveBuiltInFileIconToken)(f.set,u,y);if(null!=C&&"none"!==f.set){if("default"===C){const n=p?.[t];if(null!=n)return c(n,t)}return{name:(0,n.getBuiltInFileIconName)(C),remappedFrom:t,token:C}}}const u=p?.[t];return null==u?{name:t}:c(u,t)}}}},1212,[1210,1213]);
6
+ __d(function(g,r,i,a,m,e,d){"use strict";function n(n){return null!=n.spriteSheet||null!=n.remap||null!=n.byFileName||null!=n.byFileExtension||null!=n.byFileNameContains}function t(t){return null==t?{set:"complete",colored:!0}:"string"==typeof t?{set:t,colored:!0}:Object.assign({},t,{set:t.set??(n(t)?"none":"complete"),colored:t.colored??!0})}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"normalizeFileTreeIcons",{enumerable:!0,get:function(){return t}})},1213,[]);
7
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"themeToTreeStyles",{enumerable:!0,get:function(){return o}});var t=r(d[0]);function o(o){const l=(0,t.normalizeThemeColors)(o).colors??{},n="dark"===o.type,s=l["sideBar.background"],c=l["sideBar.foreground"],u=l["sideBarSectionHeader.foreground"],b=l["list.activeSelectionForeground"],h=l["list.hoverBackground"],f=l["list.focusOutline"],k=l["input.background"],v=l["sideBar.border"],p=l["input.border"],B=l["scrollbarSlider.background"],S=l["gitDecoration.addedResourceForeground"],C=l["gitDecoration.modifiedResourceForeground"],y=l["gitDecoration.deletedResourceForeground"],F=t.colorUtils.relativeLuminance(s),_=null!=F?F<.5:n,D=l["list.activeSelectionBackground"],L=l["list.focusBackground"],O=l["editor.selectionBackground"],R=s?.toLowerCase(),T={colorScheme:n?"dark":"light",backgroundColor:s??"",color:c??"",borderColor:"var(--trees-theme-sidebar-border, light-dark(oklch(0% 0 0 / 0.15), oklch(100% 0 0 / 0.15)))","--trees-theme-sidebar-bg":s??"","--trees-theme-sidebar-fg":c??"","--trees-theme-sidebar-header-fg":u??"","--trees-theme-list-active-selection-fg":b??"","--trees-theme-list-hover-bg":h??(_?"rgba(255,255,255,0.08)":"rgba(0,0,0,0.06)"),"--trees-theme-list-active-selection-bg":(null!=D&&D.toLowerCase()===R?L??O:D??O)??"transparent","--trees-theme-focus-ring":f??c??"","--trees-theme-input-bg":k??""};return null!=v&&""!==v&&(T["--trees-theme-sidebar-border"]=v),null!=p&&""!==p&&(T["--trees-theme-input-border"]=p),null!=B&&""!==B&&(T["--trees-theme-scrollbar-thumb"]=B),null!=S&&""!==S&&(T["--trees-theme-git-added-fg"]=S),null!=C&&""!==C&&(T["--trees-theme-git-modified-fg"]=C),null!=y&&""!==y&&(T["--trees-theme-git-deleted-fg"]=y),T}},1214,[1215]);
8
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"colorUtils",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"normalizeThemeColors",{enumerable:!0,get:function(){return o.normalizeThemeColors}});var t=r(d[0]),o=r(d[1]);const n={compositeOverBg:t.compositeOverBg,contrastRatio:t.contrastRatio,deriveMutedFg:t.deriveMutedFg,hoverWouldEraseText:t.hoverWouldEraseText,isDarkSurface:t.isDarkSurface,isFullyTransparent:t.isFullyTransparent,pickReadableForeground:t.pickReadableForeground,relativeLuminance:t.relativeLuminance,surfacesMatch:t.surfacesMatch}},1215,[1216,1217]);
9
+ __d(function(_g,_r,i,_a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"MIN_MUTED_RATIO",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"MIN_READABLE_RATIO",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"compositeOverBg",{enumerable:!0,get:function(){return s}}),Object.defineProperty(e,"contrastRatio",{enumerable:!0,get:function(){return f}}),Object.defineProperty(e,"deriveMutedFg",{enumerable:!0,get:function(){return O}}),Object.defineProperty(e,"hoverWouldEraseText",{enumerable:!0,get:function(){return g}}),Object.defineProperty(e,"isDarkSurface",{enumerable:!0,get:function(){return b}}),Object.defineProperty(e,"isFullyTransparent",{enumerable:!0,get:function(){return a}}),Object.defineProperty(e,"parseHexRgba",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"pickReadableForeground",{enumerable:!0,get:function(){return h}}),Object.defineProperty(e,"relativeLuminance",{enumerable:!0,get:function(){return c}}),Object.defineProperty(e,"surfacesMatch",{enumerable:!0,get:function(){return p}});const n=3,t=4.5,r=/^#(?:[0-9a-f]{3}0|[0-9a-f]{6}00)$/i,u=/^0(?:\.0+)?%?$/;function l(n){const t=n.indexOf("(");if(t<=0||!n.endsWith(")"))return;const r=n.slice(0,t).trim();if(!/^(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color)$/i.test(r))return;const u=n.slice(t+1,-1).trim();if(0===u.length)return;const l=u.lastIndexOf("/");if(-1!==l)return u.slice(l+1).trim();if(/^(?:rgba|hsla)$/i.test(r)){const n=u.split(",");if(4===n.length)return n[3]?.trim()}}function o(n){const t=/^#([0-9a-f]{3}|[0-9a-f]{6}|[0-9a-f]{8})\b/i.exec(n.trim());if(null==t)return null;const r=t[1];let u,l=1;return 3===r.length?u=r.split("").map(n=>n+n).join(""):6===r.length?u=r:(u=r.slice(0,6),l=parseInt(r.slice(6,8),16)/255),[parseInt(u.slice(0,2),16),parseInt(u.slice(2,4),16),parseInt(u.slice(4,6),16),l]}function c(n){if(null==n)return null;const t=o(n);if(null==t)return null;const r=t[0]/255,u=t[1]/255,l=t[2]/255,c=n=>n<=.03928?n/12.92:((n+.055)/1.055)**2.4;return.2126*c(r)+.7152*c(u)+.0722*c(l)}function f(n,t){const[r,u]=n>t?[n,t]:[t,n];return(r+.05)/(u+.05)}function s(n,t){if(null==t)return;const r=o(n),u=o(t);if(null==r||null==u)return;const[l,c,f,s]=r,[a,b,p]=u;return"#"+[Math.round(l*s+a*(1-s)),Math.round(c*s+b*(1-s)),Math.round(f*s+p*(1-s))].map(n=>n.toString(16).padStart(2,"0")).join("")}function a(n){if(null==n)return!1;const t=n.trim().toLowerCase();if("transparent"===t)return!0;if(r.test(t))return!0;const o=l(t);return null!=o&&u.test(o)}function b(n,t){const r=c(n);if(null!=r)return r<.4;const u=c(t);return null!=u&&u>.6}function p(n,t){if(null==n||null==t)return!1;if(n.trim().toLowerCase()===t.trim().toLowerCase())return!0;const r=c(n),u=c(t);return null!=r&&null!=u&&Math.abs(r-u)<.06}function g(n,t,r){if(null==t||null==r)return!1;const u=c(n),l=c(t),o=c(r);return null!=u&&null!=l&&null!=o&&Math.abs(u-o)<Math.abs(u-l)}function h(n,t){const r=c(n),u=t.find(n=>null!=n&&""!==n);if(null==r)return u;let l,o=-1;for(const n of t){if(null==n||""===n)continue;const t=c(n);if(null==t)continue;const u=f(r,t);if(u>=3)return n;u>o&&(l=n,o=u)}return l??u}function O(n,t){if(null==t)return n;const r=o(n),u=o(t),l=c(t);if(null==r||null==u||null==l)return`color-mix(in srgb, ${n} 70%, ${t})`;const[s,a,b]=r,[p,g,h]=u;for(const n of[.6,.7,.8,.9]){const t="#"+[Math.round(s*n+p*(1-n)),Math.round(a*n+g*(1-n)),Math.round(b*n+h*(1-n))].map(n=>n.toString(16).padStart(2,"0")).join(""),r=c(t);if(null!=r&&f(l,r)>=4.5)return t}return n}},1216,[]);
10
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"normalizeThemeColors",{enumerable:!0,get:function(){return n}});var o=r(d[0]);const t=new WeakMap;function n(n){const s=t.get(n);if(null!=s)return s;const l=n.colors??{},f=Object.assign({},l),b=l["editor.background"]??n.bg,B=l["editor.foreground"]??n.fg,k=l["sideBar.background"]??b,v=l["sideBar.foreground"]??B;u(f,"editor.background",b),u(f,"editor.foreground",B),u(f,"sideBar.background",k),u(f,"sideBar.foreground",v),u(f,"input.background",l["input.background"]??k),u(f,"sideBarSectionHeader.foreground",l["sideBarSectionHeader.foreground"]??v),u(f,"list.activeSelectionForeground",l["list.activeSelectionForeground"]??v),u(f,"gitDecoration.addedResourceForeground",c(l["gitDecoration.addedResourceForeground"],l["terminal.ansiGreen"],l["editorGutter.addedBackground"])),u(f,"gitDecoration.modifiedResourceForeground",c(l["gitDecoration.modifiedResourceForeground"],l["terminal.ansiBlue"],l["editorGutter.modifiedBackground"])),u(f,"gitDecoration.deletedResourceForeground",c(l["gitDecoration.deletedResourceForeground"],l["terminal.ansiRed"],l["editorGutter.deletedBackground"]));const F=((0,o.isFullyTransparent)(l["list.focusOutline"])?void 0:l["list.focusOutline"])??((0,o.isFullyTransparent)(l.focusBorder)?void 0:l.focusBorder);null!=F?f["list.focusOutline"]=F:delete f["list.focusOutline"];const O=l["list.hoverBackground"];var p,R;null!=O&&(p=O,null!=(R=k)&&p.toLowerCase()===R.toLowerCase()||(0,o.hoverWouldEraseText)(O,k,v))&&delete f["list.hoverBackground"];const j=Object.freeze(Object.assign({},n,{colors:Object.freeze(f)}));return t.set(n,j),j}function u(o,t,n){null!=n&&""!==n&&(o[t]=n)}function c(...o){for(const t of o)if(null!=t&&""!==t)return t}},1217,[1216]);
11
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"prepareFileTreeInput",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"preparePresortedFileTreeInput",{enumerable:!0,get:function(){return u}});var t=r(d[0]);function n(n,u={}){return t.PathStore.prepareInput(n,u)}function u(n){return t.PathStore.preparePresortedInput(n)}r(d[1])},1218,[1219,1235]);
12
+ __d(function(g,r,_i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"PathStore",{enumerable:!0,get:function(){return I}});var t=r(d[0]),s=r(d[1]),i=r(d[2]),n=r(d[3]),o=r(d[4]),h=r(d[5]),c=r(d[6]),l=r(d[7]),u=r(d[8]),p=r(d[9]),f=r(d[10]),b=r(d[11]);function P(i){const{directories:n,nodes:o,options:h,rootId:c,presortedDirectoryNodeIds:l}=i.snapshot,u=!0===h.flattenEmptyDirectories,p=i=>{const h=o[i];if(null==h||!(0,s.isDirectoryNode)(h))return;const c=n.get(i);if(null==c)throw new Error(`Unknown directory child index for node ${String(i)}`);const l=c.childIds,p=l.length;let f,b=0,P=0;for(let t=0;t<p;t++){const s=l[t];if(null==s)continue;const i=o[s];b+=i.subtreeNodeCount,P+=i.visibleSubtreeCount}if(c.totalChildSubtreeNodeCount=b,c.totalChildVisibleSubtreeCount=P,p>=128&&(0,t.rebuildVisibleChildChunks)(o,c),h.subtreeNodeCount=1+b,u&&1===p){const t=o[l[0]];f=null!=t&&(0,s.isDirectoryNode)(t)?P:1+P}else f=1+P;h.visibleSubtreeCount=f};if(null!=l)for(let t=l.length-1;t>=0;t--)p(l[t]);else for(let t=o.length-1;t>=1;t--)p(t);const f=o[c],b=n.get(c);if(null==f||null==b)return;const P=b.childIds;let C=0,v=0;for(let t=0;t<P.length;t++){const s=P[t];if(null==s)continue;const i=o[s];C+=i.subtreeNodeCount,v+=i.visibleSubtreeCount}b.totalChildSubtreeNodeCount=C,b.totalChildVisibleSubtreeCount=v,(0,t.rebuildVisibleChildChunks)(o,b),f.subtreeNodeCount=1+C,f.visibleSubtreeCount=v}function C(s){const{directories:i,nodes:n,rootId:o}=s.snapshot,h=(0,b.buildSoaNodeStore)(s.snapshot);(0,b.sweepOpenVisibleCountsSoa)(h);const c=h.subtreeNodeCount,l=h.visibleSubtreeCount;for(let t=0;t<n.length;t+=1){const s=n[t];null!=s&&(s.subtreeNodeCount=c[t],s.visibleSubtreeCount=l[t])}for(const[s,h]of i){const i=h.childIds,c=i.length;let l=0,u=0;for(let t=0;t<c;t++){const s=i[t];if(null==s)continue;const o=n[s];l+=o.subtreeNodeCount,u+=o.visibleSubtreeCount}h.totalChildSubtreeNodeCount=l,h.totalChildVisibleSubtreeCount=u,(s===o||c>=128)&&(0,t.rebuildVisibleChildChunks)(n,h)}}function v(t){return"open"===t.initialExpansion&&(null==t.initialExpandedPaths||0===t.initialExpandedPaths.length)}var I=class t{#t;constructor(t={}){const s=(0,i.getBenchmarkInstrumentation)(t),n=(0,i.withBenchmarkPhase)(s,"store.builder.create",()=>new o.PathStoreBuilder(t));if(null!=t.preparedInput){const s=(0,o.getPreparedInputPresortedPaths)(t.preparedInput);null!=s?n.appendPresortedPaths(s,(0,o.getPreparedInputPresortedPathsContainDirectories)(t.preparedInput)):n.appendPreparedPaths((0,o.getPreparedInputEntries)(t.preparedInput),!1)}else{const h=t.paths??[];!0===t.presorted?n.appendPaths(h):n.appendPreparedPaths((0,i.withBenchmarkPhase)(s,"store.preparePathEntries",()=>(0,o.preparePathEntries)(h,t)))}const c=(0,i.withBenchmarkPhase)(s,"store.builder.finish",()=>n.finish({skipSubtreeCountPass:!0})),l=(0,i.withBenchmarkPhase)(s,"store.state.detectAllDirectoriesExpanded",()=>"closed"===(t.initialExpansion??"closed")&&n.didMatchAllInitialExpandedPaths());this.#t=(0,i.withBenchmarkPhase)(s,"store.state.create",()=>(0,h.createPathStoreState)(c,l?"open":t.initialExpansion??"closed",s)),l&&(this.#t.collapseNewDirectoriesByDefault=!0);const p=l?this.#t.snapshot.directories.size-1:(0,i.withBenchmarkPhase)(s,"store.state.initializeExpandedPaths",()=>this.initializeExpandedPaths(t.initialExpandedPaths));l||v(t)||"closed"===(t.initialExpansion??"closed")&&p===this.#t.snapshot.directories.size-1||(t.initialExpandedPaths?.length??0)>0&&(0,i.withBenchmarkPhase)(s,"store.state.checkAllDirectoriesExpanded",()=>this.hasAllDirectoriesExpanded())?!0===t.useSoaCountSweep?(0,i.withBenchmarkPhase)(s,"store.state.initializeOpenVisibleCountsViaSoa",()=>C(this.#t)):(0,i.withBenchmarkPhase)(s,"store.state.initializeOpenVisibleCounts",()=>P(this.#t)):(0,i.withBenchmarkPhase)(s,"store.state.recomputeCounts",()=>(0,u.recomputeCountsRecursive)(this.#t,this.#t.snapshot.rootId))}static preparePaths(t,s={}){return(0,o.preparePaths)(t,s)}static prepareInput(t,s={}){return(0,o.prepareInput)(t,s)}static preparePresortedInput(t){return(0,o.preparePresortedInput)(t)}list(t){return(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.list",()=>(0,u.listPaths)(this.#t,t))}add(t){(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.add",()=>{const s=(0,f.getVisibleCount)(this.#t);(0,c.recordEvent)(this.#t,(0,c.finalizeEvent)(this.#t,s,(0,u.addPath)(this.#t,t)))})}remove(t,s={}){(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.remove",()=>{const i=(0,f.getVisibleCount)(this.#t);(0,c.recordEvent)(this.#t,(0,c.finalizeEvent)(this.#t,i,(0,u.removePath)(this.#t,t,s)))})}move(t,s,n={}){(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.move",()=>{const i=(0,f.getVisibleCount)(this.#t),o=(0,u.movePath)(this.#t,t,s,n);null!=o&&(0,c.recordEvent)(this.#t,(0,c.finalizeEvent)(this.#t,i,o))})}batch(t){(0,c.batchEvents)(this.#t,()=>{if("function"!=typeof t)for(const s of t)switch(s.type){case"add":this.add(s.path);break;case"remove":this.remove(s.path,{recursive:s.recursive});break;case"move":this.move(s.from,s.to,{collision:s.collision})}else t(this)})}getVisibleCount(){return(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.getVisibleCount",()=>(0,f.getVisibleCount)(this.#t))}getVisibleSlice(t,s){return(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.getVisibleSlice",()=>(0,f.getVisibleSlice)(this.#t,t,s))}getVisibleRowContext(t){return(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.getVisibleRowContext",()=>(0,f.getVisibleRowContext)(this.#t,t))}getVisibleTreeProjection(){return(0,f.getVisibleTreeProjection)(this.#t)}getVisibleTreeProjectionData(t){return(0,f.getVisibleTreeProjectionData)(this.#t,t)}getVisibleIndex(t){return(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.getVisibleIndex",()=>(0,f.getVisibleIndexByPath)(this.#t,t))}getPathInfo(t){return(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.getPathInfo",()=>{const i=(0,u.findNodeId)(this.#t,t);if(null==i)return null;const n=(0,u.requireNode)(this.#t,i);return{depth:(0,s.getNodeDepth)(n),kind:(0,s.isDirectoryNode)(n)?"directory":"file",path:(0,u.materializeNodePath)(this.#t,i)}})}isExpanded(t){return(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.isExpanded",()=>{const s=this.requireDirectoryNodeId(t),i=(0,u.requireNode)(this.#t,s);return(0,h.isDirectoryExpanded)(this.#t,s,i)})}expand(t){(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.expand",()=>{const s=(0,f.getVisibleCount)(this.#t),i=(0,f.expandPath)(this.#t,t);null!=i&&(0,c.recordEvent)(this.#t,(0,c.finalizeEvent)(this.#t,s,i))})}collapse(t){(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.collapse",()=>{const s=(0,f.getVisibleCount)(this.#t),i=(0,f.collapsePath)(this.#t,t);null!=i&&(0,c.recordEvent)(this.#t,(0,c.finalizeEvent)(this.#t,s,i))})}on(t,s){return(0,c.subscribe)(this.#t,t,s)}getDirectoryLoadState(t){const s=this.requireDirectoryNodeId(t);return(0,h.getDirectoryLoadState)(this.#t,s)}markDirectoryUnloaded(t){(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.markDirectoryUnloaded",()=>{const s=this.requireDirectoryNodeId(t);if((0,u.getDirectoryIndex)(this.#t,s).childIds.length>0)throw new Error(`Cannot mark a directory with known children as unloaded: "${t}"`);const i=(0,f.getVisibleCount)(this.#t);(0,h.markDirectoryUnloadedState)(this.#t,s),(0,c.recordEvent)(this.#t,(0,c.finalizeEvent)(this.#t,i,(0,c.createMarkDirectoryUnloadedEvent)({affectedAncestorIds:(0,u.collectAncestorIds)(this.#t,s),affectedNodeIds:[s],path:t,projectionChanged:this.isDirectoryProjectionVisible(s)})))})}beginChildLoad(t){return(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.beginChildLoad",()=>{const s=this.requireDirectoryNodeId(t),i=(0,f.getVisibleCount)(this.#t),n=(0,h.beginDirectoryLoad)(this.#t,s);return(0,c.recordEvent)(this.#t,(0,c.finalizeEvent)(this.#t,i,(0,c.createBeginChildLoadEvent)({affectedAncestorIds:(0,u.collectAncestorIds)(this.#t,s),affectedNodeIds:[s],attemptId:n.attemptId,path:t,projectionChanged:this.isDirectoryProjectionVisible(s),reused:n.reused}))),n})}applyChildPatch(t,s){return(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.applyChildPatch",()=>{const i=this.resolveActiveDirectoryNodeId(t.nodeId);if(null==i||"loading"!==(0,h.getDirectoryLoadState)(this.#t,i)||!(0,h.isDirectoryLoadAttemptCurrent)(this.#t,i,t.attemptId))return!1;const n=(0,u.materializeNodePath)(this.#t,i);this.validateChildPatch(n,s);const o=(0,f.getVisibleCount)(this.#t),l=[];for(const t of s.operations){E(n,t);const s=(0,f.getVisibleCount)(this.#t);switch(t.type){case"add":l.push((0,c.finalizeEvent)(this.#t,s,(0,u.addPath)(this.#t,t.path)));break;case"remove":l.push((0,c.finalizeEvent)(this.#t,s,(0,u.removePath)(this.#t,t.path,{recursive:t.recursive})));break;case"move":{const i=(0,u.movePath)(this.#t,t.from,t.to,{collision:t.collision});null!=i&&l.push((0,c.finalizeEvent)(this.#t,s,i));break}}}const p=l.some(t=>t.projectionChanged)||this.isDirectoryProjectionVisible(i);return(0,c.recordEvent)(this.#t,(0,c.finalizeEvent)(this.#t,o,(0,c.createApplyChildPatchEvent)({affectedAncestorIds:(0,u.collectAncestorIds)(this.#t,i),affectedNodeIds:[i],attemptId:t.attemptId,childEvents:l,path:(0,u.materializeNodePath)(this.#t,i),projectionChanged:p}))),!0})}completeChildLoad(t){return(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.completeChildLoad",()=>{const s=this.resolveActiveDirectoryNodeId(t.nodeId);if(null==s)return!1;const i=(0,f.getVisibleCount)(this.#t),n=(0,h.completeDirectoryLoad)(this.#t,s,t.attemptId);return(0,c.recordEvent)(this.#t,(0,c.finalizeEvent)(this.#t,i,(0,c.createCompleteChildLoadEvent)({affectedAncestorIds:(0,u.collectAncestorIds)(this.#t,s),affectedNodeIds:[s],attemptId:t.attemptId,path:(0,u.materializeNodePath)(this.#t,s),projectionChanged:this.isDirectoryProjectionVisible(s),stale:!n}))),n})}failChildLoad(t,s){return(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.failChildLoad",()=>{const i=this.resolveActiveDirectoryNodeId(t.nodeId);if(null==i)return!1;const n=(0,f.getVisibleCount)(this.#t),o=(0,h.failDirectoryLoad)(this.#t,i,t.attemptId,s);return(0,c.recordEvent)(this.#t,(0,c.finalizeEvent)(this.#t,n,(0,c.createFailChildLoadEvent)({affectedAncestorIds:(0,u.collectAncestorIds)(this.#t,i),affectedNodeIds:[i],attemptId:t.attemptId,errorMessage:s,path:(0,u.materializeNodePath)(this.#t,i),projectionChanged:this.isDirectoryProjectionVisible(i),stale:!o}))),o})}cleanup(t={}){return(0,i.withBenchmarkPhase)(this.#t.instrumentation,"store.cleanup",()=>{if(this.#t.transactionStack.length>0)throw new Error("Cleanup cannot run during an open batch or transaction.");if((0,p.hasActiveCleanupBlockingLoads)(this.#t))throw new Error("Cleanup cannot run while directory loads are active.");const s=(0,f.getVisibleCount)(this.#t),i=(0,p.cleanupPathStoreState)(this.#t,t.mode??"stable");return(0,c.recordEvent)(this.#t,(0,c.finalizeEvent)(this.#t,s,(0,c.createCleanupEvent)(Object.assign({},i,{affectedAncestorIds:[],affectedNodeIds:[],projectionChanged:!1===i.idsPreserved})))),i})}getNodeCount(){return this.#t.activeNodeCount}initializeExpandedPaths(t){if(null==t||0===t.length)return 0;let i=0;const o=[],c=[];let l=0,p=null;const f=this.#t.snapshot.segmentTable,b=f.valueById,P=this.#t.snapshot.nodes,C=new Map;for(const v of t){null!=p&&v<p&&(p=null,l=0,o.length=0,c.length=0);const t=v.length>0&&47===v.charCodeAt(v.length-1)?v.length-1:v.length;if(0===t){p=v,l=t,o.length=0,c.length=0;continue}let I=0,E=0;if(null!=p){const s=Math.min(t,l);let i=!0;for(let t=0;t<s;t+=1){const s=v.charCodeAt(t);if(s!==p.charCodeAt(t)){i=!1;break}47===s&&(I+=1,E=t+1)}i&&(s===l&&t>s&&47===v.charCodeAt(s)?(I+=1,E=s+1):s===t&&l>s&&47===p.charCodeAt(s)&&(I+=1,E=t+1)),I=Math.min(I,c.length)}let y=0===I?this.#t.snapshot.rootId:c[I-1]??this.#t.snapshot.rootId,w=I,k=!0,N=E;for(;N<=t;){const i=v.indexOf("/",N),h=-1===i||i>t?t:i,l=v.slice(N,h),p=(0,u.getDirectoryIndex)(this.#t,y).childIds,E=w===I?o[w]??0:0;let D,V=E;const S=C.get(l)??(0,n.createSegmentSortKey)(l);C.set(l,S);const x=(t,s)=>{for(V=t;V<s;V+=1){const t=p[V],s=P[t],i=b[s.nameId];if(i===l)return D=t,!0;const o=(0,n.compareSegmentSortKeys)((0,n.getSegmentSortKey)(f,s.nameId),S);if(o>0||0===o&&i>l)return!1}return!1};if(!x(E,p.length)&&E>0&&x(0,E),void 0===D){k=!1;break}if(!(0,s.isDirectoryNode)((0,u.requireNode)(this.#t,D))){k=!1;break}if(o[w]=V,c[w]=D,y=D,w+=1,h===t)break;N=h+1}if(p=v,l=t,o.length=w,c.length=w,k)for(let t=I;t<w;t+=1){const s=c[t];if(null==s)continue;const n=(0,u.requireNode)(this.#t,s);(0,h.isDirectoryExpanded)(this.#t,s,n)||((0,h.setDirectoryExpanded)(this.#t,s,!0,n),i+=1)}else p=null,l=0,o.length=0,c.length=0}return i}hasAllDirectoriesExpanded(){for(const t of this.#t.snapshot.directories.keys()){if(t===this.#t.snapshot.rootId)continue;const s=(0,u.requireNode)(this.#t,t);if(!(0,h.isDirectoryExpanded)(this.#t,t,s))return!1}return!0}requireDirectoryNodeId(t){const i=(0,u.findNodeId)(this.#t,t);if(null==i)throw new Error(`Path does not exist: "${t}"`);if(!(0,s.isDirectoryNode)((0,u.requireNode)(this.#t,i)))throw new Error(`Path is not a directory: "${t}"`);return i}resolveActiveDirectoryNodeId(t){try{if(!(0,s.isDirectoryNode)((0,u.requireNode)(this.#t,t)))throw new Error(`Node is not a directory: ${String(t)}`);return t}catch{return null}}isDirectoryProjectionVisible(t){let s=t;for(;s!==this.#t.snapshot.rootId;){const t=(0,u.requireNode)(this.#t,s).parentId;if(t!==this.#t.snapshot.rootId){const i=(0,u.requireNode)(this.#t,t),n=(0,l.getFlattenedChildDirectoryId)(this.#t,t);if(!(0,h.isDirectoryExpanded)(this.#t,t,i)&&n!==s)return!1}s=t}return!0}validateChildPatch(s,i){new t({paths:this.list(s),presorted:!0,sort:this.#t.snapshot.options.sort}).batch(i.operations)}};function E(t,s){switch(s.type){case"add":case"remove":if(!s.path.startsWith(t)||s.path===t)throw new Error(`Child patch operation must stay within ${t}: "${s.path}"`);break;case"move":if(!s.from.startsWith(t)||!s.to.startsWith(t)||s.from===t||s.to===t)throw new Error(`Child patch move must stay within ${t}: "${s.from}" -> "${s.to}"`)}}},1219,[1220,1221,1222,1223,1224,1228,1229,1230,1231,1232,1233,1234]);
13
+ __d(function(g,r,_i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"appendChildReference",{enumerable:!0,get:function(){return s}}),Object.defineProperty(e,"applyChildAggregateDelta",{enumerable:!0,get:function(){return f}}),Object.defineProperty(e,"createDirectoryChildIndex",{enumerable:!0,get:function(){return l}}),Object.defineProperty(e,"createPresortedDirectoryChildIndex",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"ensureChildIdByNameId",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"ensureChildPositions",{enumerable:!0,get:function(){return c}}),Object.defineProperty(e,"getVisibleChildPrefixCount",{enumerable:!0,get:function(){return C}}),Object.defineProperty(e,"rebuildDirectoryChildAggregates",{enumerable:!0,get:function(){return b}}),Object.defineProperty(e,"rebuildVisibleChildChunks",{enumerable:!0,get:function(){return y}}),Object.defineProperty(e,"selectChildIndexByVisibleIndex",{enumerable:!0,get:function(){return I}}),Object.defineProperty(e,"updateChildPositionsFrom",{enumerable:!0,get:function(){return h}});const n=5,i=32,t=128;function l(){return{childIdByNameId:new Map,childIds:[],childPositionById:new Map,childVisibleChunkSums:null,totalChildSubtreeNodeCount:0,totalChildVisibleSubtreeCount:0}}function o(){return{childIdByNameId:null,childIds:[],childPositionById:null,childVisibleChunkSums:null,totalChildSubtreeNodeCount:0,totalChildVisibleSubtreeCount:0}}function u(n,i){if(null!=i.childIdByNameId)return i.childIdByNameId;const t=new Map;for(const l of i.childIds){const i=n[l];null!=i&&t.set(i.nameId,l)}return i.childIdByNameId=t,t}function c(n){if(null!=n.childPositionById)return n.childPositionById;const i=new Map;for(let t=0;t<n.childIds.length;t++){const l=n.childIds[t];null!=l&&i.set(l,t)}return n.childPositionById=i,i}function s(n,i){null!=n.childPositionById&&n.childPositionById.set(i,n.childIds.length),n.childIds.push(i)}function h(n,i){if(null!=n.childPositionById)for(let t=i;t<n.childIds.length;t++){const i=n.childIds[t];null!=i&&n.childPositionById.set(i,t)}}function b(n,i){let t=0,l=0;for(const o of i.childIds){const i=n[o];null!=i&&(t+=i.subtreeNodeCount,l+=i.visibleSubtreeCount)}i.totalChildSubtreeNodeCount=t,i.totalChildVisibleSubtreeCount=l,y(n,i)}function f(i,t,l,o){if(i.totalChildSubtreeNodeCount+=l,i.totalChildVisibleSubtreeCount+=o,null==i.childVisibleChunkSums||0===o)return;const u=c(i).get(t);if(void 0===u)return;const s=u>>n;i.childVisibleChunkSums[s]+=o}function I(n,t,l){const o=t.childVisibleChunkSums;if(null!=o){let u=l,c=0;for(const s of o){if(u<s){const i=S(n,t,c,u);return Object.assign({},i,{childVisibleIndex:l-i.localVisibleIndex})}u-=s,c+=i}throw new Error(`Visible child index ${String(l)} is out of range`)}let u=l;for(let i=0;i<t.childIds.length;i++){const o=t.childIds[i];if(null==o)continue;const c=n[o];if(null!=c){if(u<c.visibleSubtreeCount)return{childIndex:i,childVisibleIndex:l-u,localVisibleIndex:u};u-=c.visibleSubtreeCount}}throw new Error(`Visible child index ${String(l)} is out of range`)}function C(i,t,l){let o=0;const u=t.childVisibleChunkSums;let c=0;if(null!=u){const i=l>>n;for(let n=0;n<i;n+=1)o+=u[n]??0;c=i<<n}for(let n=c;n<l;n+=1){const l=t.childIds[n];if(null==l)continue;const u=i[l];null!=u&&(o+=u.visibleSubtreeCount)}return o}function y(l,o){if(o.childIds.length<t)return void(o.childVisibleChunkSums=null);const u=Math.ceil(o.childIds.length/i),c=new Int32Array(u);for(let i=0;i<o.childIds.length;i++){const t=o.childIds[i];if(null==t)continue;const u=l[t];null!=u&&(c[i>>n]+=u.visibleSubtreeCount)}o.childVisibleChunkSums=c}function S(n,t,l,o){const u=Math.min(t.childIds.length,l+i);let c=o;for(let i=l;i<u;i++){const l=t.childIds[i];if(null==l)continue;const o=n[l];if(null!=o){if(c<o.visibleSubtreeCount)return{childIndex:i,localVisibleIndex:c};c-=o.visibleSubtreeCount}}throw new Error(`Visible child index ${String(o)} is out of range`)}},1220,[]);
14
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"addNodeFlag",{enumerable:!0,get:function(){return h}}),Object.defineProperty(e,"createNodeDepthAndFlags",{enumerable:!0,get:function(){return c}}),Object.defineProperty(e,"getNodeDepth",{enumerable:!0,get:function(){return f}}),Object.defineProperty(e,"getNodeFlags",{enumerable:!0,get:function(){return b}}),Object.defineProperty(e,"getNodeKind",{enumerable:!0,get:function(){return l}}),Object.defineProperty(e,"hasNodeFlag",{enumerable:!0,get:function(){return s}}),Object.defineProperty(e,"isDirectoryNode",{enumerable:!0,get:function(){return p}}),Object.defineProperty(e,"setNodeDepth",{enumerable:!0,get:function(){return y}});const t=7,n=3,u=8,o=4;function c(t,u,c=0){return t<<o|c<<n|u}function f(t){return t.depthAndFlags>>>o}function l(t){return(t.depthAndFlags&u)>>n}function p(t){return 0!==(t.depthAndFlags&u)}function b(n){return n.depthAndFlags&t}function s(t,n){return 0!==(b(t)&n)}function h(t,n){t.depthAndFlags|=n}function y(t,n){t.depthAndFlags=c(n,b(t),l(t))}},1221,[]);
15
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"attachBenchmarkInstrumentation",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"getBenchmarkInstrumentation",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"setBenchmarkCounter",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"withBenchmarkPhase",{enumerable:!0,get:function(){return c}});const n=Symbol("benchmarkInstrumentation");function t(t,u){return null==u||Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value:u,writable:!1}),t}function u(t){return null==t?null:t[n]??null}function c(n,t,u){return null==n?u():n.measurePhase(t,u)}function o(n,t,u){Number.isFinite(u)&&null!=n&&n.setCounter(t,u)}},1222,[]);
16
+ __d(function(g,r,i,a,m,e,d){"use strict";function t(t){return t>=48&&t<=57}function n(n){const o=[];let s=0,u=0;for(;u<n.length;){for(;u<n.length&&!t(n.charCodeAt(u));)u+=1;if(u>=n.length)break;u>s&&o.push(n.slice(s,u));let c=0;for(;u<n.length&&t(n.charCodeAt(u));)c=10*c+(n.charCodeAt(u)-48),u+=1;o.push(c),s=u}return(s<n.length||0===o.length)&&o.push(n.slice(s)),o}function o(t){const o=t.toLowerCase();return{lowerValue:o,tokens:n(o)}}function s(t,n){const o=Math.min(t.length,n.length);for(let s=0;s<o;s++){const o=t[s],u=n[s];if(o===u)continue;if("number"==typeof o&&"number"==typeof u)return o<u?-1:1;const c=String(o),l=String(u);if(c!==l)return c<l?-1:1}return t.length!==n.length?t.length<n.length?-1:1:0}function u(t,n){if(1===t.tokens.length&&1===n.tokens.length&&"string"==typeof t.tokens[0]&&"string"==typeof n.tokens[0])return t.lowerValue===n.lowerValue?0:t.lowerValue<n.lowerValue?-1:1;const o=s(t.tokens,n.tokens);return 0!==o?o:t.lowerValue!==n.lowerValue?t.lowerValue<n.lowerValue?-1:1:0}function c(t,n,o){const s=u(o(t),o(n));return 0!==s?s:t===n?0:t<n?-1:1}function l(t,n){return c(t,n,o)}function f(t,n){return n!==t.segments.length-1||t.isDirectory?1:0}function h(t,n){const o=Math.min(t.segments.length,n.segments.length);for(let s=0;s<o;s++){const o=t.segments[s],u=n.segments[s];if(o===u)continue;const c=f(t,s);return c!==f(n,s)?1===c?-1:1:l(o,u)}return t.segments.length!==n.segments.length?t.segments.length<n.segments.length?-1:1:t.isDirectory===n.isDirectory?0:t.isDirectory?-1:1}function y(t,n){return h(t,n)}function p(t,n,s){const u=t=>{const n=s.get(t);if(null!=n)return n;const u=o(t);return s.set(t,u),u},l=Math.min(t.segments.length,n.segments.length);for(let o=0;o<l;o++){const s=t.segments[o],l=n.segments[o];if(s===l)continue;const h=f(t,o);return h!==f(n,o)?1===h?-1:1:c(s,l,u)}return t.segments.length!==n.segments.length?t.segments.length<n.segments.length?-1:1:t.isDirectory===n.isDirectory?0:t.isDirectory?-1:1}function b(t,n){const s=t.sortKeyById[n];if(void 0!==s)return s;const u=o(t.valueById[n]);return t.sortKeyById[n]=u,u}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"comparePreparedPaths",{enumerable:!0,get:function(){return y}}),Object.defineProperty(e,"comparePreparedPathsWithCachedSortKeys",{enumerable:!0,get:function(){return p}}),Object.defineProperty(e,"compareSegmentSortKeys",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"compareSegmentValues",{enumerable:!0,get:function(){return l}}),Object.defineProperty(e,"createSegmentSortKey",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"getSegmentSortKey",{enumerable:!0,get:function(){return b}}),r(d[0])},1223,[1221]);
17
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"PathStoreBuilder",{enumerable:!0,get:function(){return E}}),Object.defineProperty(e,"getPreparedInputEntries",{enumerable:!0,get:function(){return S}}),Object.defineProperty(e,"getPreparedInputPresortedPaths",{enumerable:!0,get:function(){return v}}),Object.defineProperty(e,"getPreparedInputPresortedPathsContainDirectories",{enumerable:!0,get:function(){return N}}),Object.defineProperty(e,"prepareInput",{enumerable:!0,get:function(){return w}}),Object.defineProperty(e,"preparePathEntries",{enumerable:!0,get:function(){return x}}),Object.defineProperty(e,"preparePaths",{enumerable:!0,get:function(){return D}}),Object.defineProperty(e,"preparePresortedInput",{enumerable:!0,get:function(){return C}});var t=r(d[0]),n=r(d[1]),o=r(d[2]),s=r(d[3]),h=r(d[4]),l=r(d[5]),c=r(d[6]);const p=Symbol("pathStorePreparedInputKind");function u(t,n){return t[p]=n,t}function f(t){return{basename:t.basename,depth:t.segments.length,isDirectory:t.isDirectory,path:t.path,segments:t.segments}}function y(t,n,o){return"default"===o?(0,l.comparePreparedPaths)(t,n):o(f(t),f(n))}function P(){return{depthAndFlags:(0,n.createNodeDepthAndFlags)(0,3,1),nameId:0,parentId:0,subtreeNodeCount:1,visibleSubtreeCount:1}}function b(t,n){const o=Math.min(t.length,n.length);for(let s=0;s<o;s++)if(t[s]!==n[s])return s;return o}function I(t){return t.isDirectory?t.segments.length:t.segments.length-1}function D(t,n={}){return x(t,n).map(t=>t.path)}function w(t,n={}){const o=x(t,n);return u({paths:o.map(t=>t.path),preparedPaths:o},"prepared")}function C(t){const n=t.length;let o=!1;for(let s=0;s<n;s+=1){const n=t[s];if(n.length>0&&47===n.charCodeAt(n.length-1)){o=!0;break}}return u({paths:t,presortedPaths:t,presortedPathsContainDirectories:o},"presorted")}function S(t){const n=t,o=n.preparedPaths;if("prepared"===n[p]&&null!=o)return o;if(s=o,!Array.isArray(s)||!s.every(t=>null!=t&&"object"==typeof t&&"string"==typeof t.path&&Array.isArray(t.segments)&&"string"==typeof t.basename&&"boolean"==typeof t.isDirectory))throw new Error("preparedInput must come from PathStore.prepareInput()");var s;return o}function v(t){const n=t;return"presorted"===n[p]&&null!=n.presortedPaths?n.presortedPaths:(o=n.presortedPaths,Array.isArray(o)&&o.every(t=>"string"==typeof t)?n.presortedPaths:null);var o}function N(t){const n=t;return"boolean"==typeof n.presortedPathsContainDirectories?n.presortedPathsContainDirectories:null}function x(t,n={}){const l=(0,s.resolvePathStoreOptions)(n),c=(0,o.getBenchmarkInstrumentation)(n);(0,o.setBenchmarkCounter)(c,"workload.inputFiles",t.length);const p=(0,o.withBenchmarkPhase)(c,"store.preparePathEntries.parse",()=>t.map(t=>(0,h.parseInputPath)(t)));return(0,o.withBenchmarkPhase)(c,"store.preparePathEntries.sort",()=>p.sort((t,n)=>y(t,n,l.sort))),p}var E=class{directories=new Map;directoryStack=[0];presortedDirectoryNodeIds=[];createdDirectoriesAllExpanded=!1;createdDirectoryCount=0;lastPreparedPath=null;nodes=[P()];segmentSortKeyCache=new Map;segmentTable=(0,c.createSegmentTable)();hasDeferredDirectoryIndexes=!1;constructor(n={}){this.instrumentation=(0,o.getBenchmarkInstrumentation)(n),this.options=(0,s.resolvePathStoreOptions)(n);const h=n.initialExpandedPaths??null;if(null==h||0===h.length)this.initialExpandedPathSet=null;else{const t=new Set,n=h.length;for(let o=0;o<n;o+=1){const n=h[o],s=n.length;t.add(s>0&&47===n.charCodeAt(s-1)?n.slice(0,s-1):n)}this.initialExpandedPathSet=t,this.createdDirectoriesAllExpanded=!0}this.directories.set(0,(0,t.createDirectoryChildIndex)())}appendPaths(t){return(0,o.withBenchmarkPhase)(this.instrumentation,"store.builder.appendPaths.parse",()=>this.appendPreparedPaths(t.map(t=>(0,h.parseInputPath)(t))))}appendPreparedPaths(t,n=!0){return this.createdDirectoriesAllExpanded=!1,(0,o.withBenchmarkPhase)(this.instrumentation,"store.builder.appendPreparedPaths",()=>{for(const o of t)this.appendPreparedPath(o,n)}),this}appendPresortedPaths(t,s=null){return(0,o.withBenchmarkPhase)(this.instrumentation,"store.builder.appendPresortedPaths",()=>{if(!1===s)return void this.appendPresortedFilePaths(t);this.createdDirectoriesAllExpanded=!1;let o=null,l=0;const c=this.nodes,p=this.segmentTable,u=p.idByValue,f=p.valueById,y=this.directoryStack;let P=0,b="",I=0;for(const s of t){if(o===s)throw new Error(`Duplicate path: "${s}"`);const t=s.length>0&&47===s.charCodeAt(s.length-1),h=t?s.length-1:s.length;let p=0,D=0;if(null!=o)if(b.length>0&&s.length>b.length&&s.startsWith(b))p=I,D=b.length;else{const n=Math.min(h,o.length);let l=!0;for(let t=0;t<n;t++){const n=s.charCodeAt(t);if(n!==o.charCodeAt(t)){l=!1;break}47===n&&(p++,D=t+1)}l&&t&&n===h&&o.length>h&&47===o.charCodeAt(h)&&(p++,D=h+1)}P=p,l=p;let w=D,C=s.indexOf("/",w);for(;C>=0&&C<h;){const t=y[P];if(void 0===t)throw new Error("Directory stack underflow while building the path store");l++;const o=s.slice(w,C);let h=u.get(o);void 0===h&&(h=f.length,u.set(o,h),f.push(o));const p=c.length;c.push({depthAndFlags:(0,n.createNodeDepthAndFlags)(l,0,1),nameId:h,parentId:t,subtreeNodeCount:1,visibleSubtreeCount:1}),this.recordCreatedDirectoryPath(s.slice(0,C)),P++,y[P]=p,w=C+1,C=s.indexOf("/",w)}if(t){if(w<h){const t=y[P];if(void 0===t)throw new Error(`Unable to resolve directory parent for "${s}"`);l++;const o=s.slice(w,h);let p=u.get(o);void 0===p&&(p=f.length,u.set(o,p),f.push(o));const b=c.length;c.push({depthAndFlags:(0,n.createNodeDepthAndFlags)(l,0,1),nameId:p,parentId:t,subtreeNodeCount:1,visibleSubtreeCount:1}),P++,y[P]=b,w=h+1}const t=y[P];if(void 0===t)throw new Error(`Unable to resolve directory node for "${s}"`);this.promoteDirectoryToExplicit(t,s)}else{const t=y[P];if(void 0===t)throw new Error(`Unable to resolve file parent for "${s}"`);const o=s.slice(w);let h=u.get(o);void 0===h&&(h=f.length,u.set(o,h),f.push(o)),c.push({depthAndFlags:(0,n.createNodeDepthAndFlags)(l+1,0),nameId:h,parentId:t,subtreeNodeCount:1,visibleSubtreeCount:1})}w!==b.length&&(b=s.substring(0,w),I=l),o=s}y.length=P+1,null!=o&&(this.lastPreparedPath=(0,h.parseInputPath)(o)),this.hasDeferredDirectoryIndexes=!0}),this}appendPresortedFilePaths(t){let o=null,s=0;const l=this.nodes,c=this.segmentTable,p=c.idByValue,u=c.valueById,f=this.directoryStack;let y=0,P="",b=0;for(const h of t){if(o===h)throw new Error(`Duplicate path: "${h}"`);const t=h.length;let c=0,I=0;if(null!=o)if(P.length>0&&h.length>P.length&&h.startsWith(P))c=b,I=P.length;else{const n=Math.min(t,o.length);for(let t=0;t<n;t++){const n=h.charCodeAt(t);if(n!==o.charCodeAt(t))break;47===n&&(c++,I=t+1)}}y=c,s=c;let D=I,w=h.indexOf("/",D);for(;w>=0;){const t=f[y];if(void 0===t)throw new Error("Directory stack underflow while building the path store");s++;const o=h.slice(D,w);let c=p.get(o);void 0===c&&(c=u.length,p.set(o,c),u.push(o));const P=l.length;l.push({depthAndFlags:(0,n.createNodeDepthAndFlags)(s,0,1),nameId:c,parentId:t,subtreeNodeCount:1,visibleSubtreeCount:1}),this.recordCreatedDirectoryPath(h.slice(0,w)),this.presortedDirectoryNodeIds.push(P),y++,f[y]=P,D=w+1,w=h.indexOf("/",D)}const C=f[y];if(void 0===C)throw new Error(`Unable to resolve file parent for "${h}"`);const S=h.slice(D);let v=p.get(S);void 0===v&&(v=u.length,p.set(S,v),u.push(S)),l.push({depthAndFlags:(0,n.createNodeDepthAndFlags)(s+1,0),nameId:v,parentId:C,subtreeNodeCount:1,visibleSubtreeCount:1}),D!==P.length&&(P=h.substring(0,D),b=s),o=h}f.length=y+1,null!=o&&(this.lastPreparedPath=(0,h.parseInputPath)(o)),this.hasDeferredDirectoryIndexes=!0}finish(t={}){const n=!0===t.skipSubtreeCountPass;return this.hasDeferredDirectoryIndexes?((0,o.withBenchmarkPhase)(this.instrumentation,"store.builder.buildDirectoryIndexes",()=>this.buildPresortedFinish(n)),this.hasDeferredDirectoryIndexes=!1):n||(0,o.withBenchmarkPhase)(this.instrumentation,"store.builder.computeSubtreeCounts",()=>this.computeSubtreeCounts(0)),{directories:this.directories,nodes:this.nodes,options:this.options,rootId:0,segmentTable:this.segmentTable,presortedDirectoryNodeIds:this.presortedDirectoryNodeIds.length>0?this.presortedDirectoryNodeIds:null}}didMatchAllInitialExpandedPaths(){return this.createdDirectoriesAllExpanded&&null!=this.initialExpandedPathSet&&this.createdDirectoryCount===this.initialExpandedPathSet.size}appendPreparedPath(t,n){if(this.hasDeferredDirectoryIndexes&&(this.buildDirectoryIndexes(),this.hasDeferredDirectoryIndexes=!1),null!=this.lastPreparedPath){if(t.path===this.lastPreparedPath.path)throw new Error(`Duplicate path: "${t.path}"`);if(n&&("default"===this.options.sort?(0,l.comparePreparedPathsWithCachedSortKeys)(this.lastPreparedPath,t,this.segmentSortKeyCache):y(this.lastPreparedPath,t,this.options.sort))>0)throw new Error(`Builder input must be sorted before appendPaths(): "${t.path}"`)}const o=this.lastPreparedPath,s=I(t),h=null==o?0:I(o),c=null==o?0:b(o.segments,t.segments),p=Math.min(c,s,h);this.directoryStack.length=p+1;for(let o=p;o<s;o++){const s=this.directoryStack[this.directoryStack.length-1];if(void 0===s)throw new Error("Directory stack underflow while building the path store");const h=n?this.getOrCreateDirectoryChild(s,t.segments[o]):this.createDirectoryChild(s,t.segments[o]);this.directoryStack.push(h)}if(t.isDirectory){const n=this.directoryStack[this.directoryStack.length-1];if(void 0===n)throw new Error(`Unable to resolve directory node for "${t.path}"`);return this.promoteDirectoryToExplicit(n,t.path),void(this.lastPreparedPath=t)}const u=this.directoryStack[this.directoryStack.length-1];if(void 0===u)throw new Error(`Unable to resolve file parent for "${t.path}"`);n?this.createFileChild(u,t.basename,t.path):this.createFileChildUnchecked(u,t.basename),this.lastPreparedPath=t}recordCreatedDirectoryPath(t){this.createdDirectoriesAllExpanded&&null!=this.initialExpandedPathSet&&(this.createdDirectoryCount+=1,this.initialExpandedPathSet.has(t)||(this.createdDirectoriesAllExpanded=!1))}createFileChild(o,s,h){const l=(0,c.internSegment)(this.segmentTable,s),p=this.getDirectoryIndex(o),u=p.childIdByNameId;if(null!=u&&void 0!==u.get(l))throw new Error(`Path collides with an existing entry: "${h}"`);const f=this.nodes[o];if(void 0===f)throw new Error(`Unknown parent node ID: ${String(o)}`);const y=this.nodes.length;return this.nodes.push({depthAndFlags:(0,n.createNodeDepthAndFlags)((0,n.getNodeDepth)(f)+1,0),nameId:l,parentId:o,subtreeNodeCount:1,visibleSubtreeCount:1}),null!=u&&u.set(l,y),(0,t.appendChildReference)(p,y),y}createFileChildUnchecked(o,s){const h=(0,c.internSegment)(this.segmentTable,s),l=this.getDirectoryIndex(o),p=this.nodes[o];if(void 0===p)throw new Error(`Unknown parent node ID: ${String(o)}`);const u=this.nodes.length;return this.nodes.push({depthAndFlags:(0,n.createNodeDepthAndFlags)((0,n.getNodeDepth)(p)+1,0),nameId:h,parentId:o,subtreeNodeCount:1,visibleSubtreeCount:1}),null!=l.childIdByNameId&&l.childIdByNameId.set(h,u),(0,t.appendChildReference)(l,u),u}getOrCreateDirectoryChild(o,s){const h=(0,c.internSegment)(this.segmentTable,s),l=this.getDirectoryIndex(o);if(null!=l.childIdByNameId){const t=l.childIdByNameId.get(h);if(void 0!==t){const o=this.nodes[t];if(null!=o&&!(0,n.isDirectoryNode)(o))throw new Error(`Path collides with an existing file while creating directory "${s}"`);return t}}const p=this.nodes[o];if(void 0===p)throw new Error(`Unknown parent node ID: ${String(o)}`);const u=this.nodes.length;return this.nodes.push({depthAndFlags:(0,n.createNodeDepthAndFlags)((0,n.getNodeDepth)(p)+1,0,1),nameId:h,parentId:o,subtreeNodeCount:1,visibleSubtreeCount:1}),null!=l.childIdByNameId&&l.childIdByNameId.set(h,u),(0,t.appendChildReference)(l,u),this.directories.set(u,(0,t.createDirectoryChildIndex)()),u}createDirectoryChild(o,s){const h=(0,c.internSegment)(this.segmentTable,s),l=this.getDirectoryIndex(o),p=this.nodes[o];if(void 0===p)throw new Error(`Unknown parent node ID: ${String(o)}`);const u=this.nodes.length;return this.nodes.push({depthAndFlags:(0,n.createNodeDepthAndFlags)((0,n.getNodeDepth)(p)+1,0,1),nameId:h,parentId:o,subtreeNodeCount:1,visibleSubtreeCount:1}),null!=l.childIdByNameId&&l.childIdByNameId.set(h,u),(0,t.appendChildReference)(l,u),this.directories.set(u,(0,t.createDirectoryChildIndex)()),u}promoteDirectoryToExplicit(t,o){const s=this.nodes[t];if(void 0===s)throw new Error(`Unknown directory node ID: ${String(t)}`);if(!(0,n.isDirectoryNode)(s))throw new Error(`Path is not a directory: "${o}"`);if((0,n.hasNodeFlag)(s,1))throw new Error(`Duplicate path: "${o}"`);(0,n.addNodeFlag)(s,1)}getDirectoryIndex(t){const n=this.directories.get(t);if(void 0!==n)return n;throw new Error(`Unknown directory child index for node ${String(t)}`)}buildPresortedFinish(o){const s=this.nodes,h=this.directories;h.set(0,(0,t.createPresortedDirectoryChildIndex)());let l=-1,c=null;for(let o=1;o<s.length;o++){const p=s[o];if(null==p)continue;if((0,n.isDirectoryNode)(p)){const n=(0,t.createPresortedDirectoryChildIndex)();h.set(o,n),l=o,c=n}let u;p.parentId===l?u=c:(u=h.get(p.parentId),l=p.parentId,c=u??null),null!=u&&u.childIds.push(o)}if(!o)for(let t=s.length-1;t>=1;t--){const n=s[t];if(null==n)continue;const o=s[n.parentId];null!=o&&(o.subtreeNodeCount+=n.subtreeNodeCount,o.visibleSubtreeCount+=n.visibleSubtreeCount)}}buildDirectoryIndexes(){const o=this.nodes;for(let s=1;s<o.length;s++){const h=o[s];if(null==h)continue;(0,n.isDirectoryNode)(h)&&this.directories.set(s,(0,t.createDirectoryChildIndex)());const l=this.directories.get(h.parentId);null!=l&&(null!=l.childIdByNameId&&l.childIdByNameId.set(h.nameId,s),(0,t.appendChildReference)(l,s))}}computeSubtreeCounts(o){const s=this.nodes[o];if(void 0===s)throw new Error(`Unknown node ID: ${String(o)}`);if(!(0,n.isDirectoryNode)(s))return s.subtreeNodeCount=1,s.visibleSubtreeCount=1,1;const h=this.getDirectoryIndex(o);let l=1;for(const t of h.childIds)l+=this.computeSubtreeCounts(t);return(0,t.rebuildDirectoryChildAggregates)(this.nodes,h),s.subtreeNodeCount=l,s.visibleSubtreeCount=l,l}}},1224,[1220,1221,1222,1225,1226,1223,1227]);
18
+ __d(function(g,r,i,a,m,e,d){"use strict";function t(t={}){return{flattenEmptyDirectories:!1!==t.flattenEmptyDirectories,sort:t.sort??"default"}}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"resolvePathStoreOptions",{enumerable:!0,get:function(){return t}})},1225,[]);
19
+ __d(function(g,r,i,a,m,e,d){"use strict";function t(t){const n=t.length>0&&47===t.charCodeAt(t.length-1),s=n?t.length-1:t.length,u=[];let o=0;for(let n=0;n<s;n++)47===t.charCodeAt(n)&&(u.push(t.slice(o,n)),o=n+1);return u.push(t.slice(o,s)),{hasTrailingSlash:n,segments:u}}function n(n){const{hasTrailingSlash:s,segments:u}=t(n);return{basename:u[u.length-1]??"",isDirectory:s,path:n,segments:u}}function s(n){if(0===n.length)return{requiresDirectory:!1,segments:[]};const{hasTrailingSlash:s,segments:u}=t(n);return{requiresDirectory:s,segments:u}}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"parseInputPath",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"parseLookupPath",{enumerable:!0,get:function(){return s}}),Object.defineProperty(e,"splitCanonicalPath",{enumerable:!0,get:function(){return t}})},1226,[]);
20
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"createSegmentTable",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"getSegmentValue",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"internSegment",{enumerable:!0,get:function(){return u}});var t=r(d[0]);function n(){const n=new Map;return n.set("",0),{idByValue:n,valueById:[""],sortKeyById:[(0,t.createSegmentSortKey)("")]}}function u(t,n){const u=t.idByValue.get(n);if(void 0!==u)return u;const o=t.valueById.length;return t.idByValue.set(n,o),t.valueById.push(n),o}function o(t,n){const u=t.valueById[n];if(void 0===u)throw new Error(`Unknown segment ID: ${String(n)}`);return u}},1227,[1223]);
21
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"beginDirectoryLoad",{enumerable:!0,get:function(){return y}}),Object.defineProperty(e,"clearDirectoryLoadInfo",{enumerable:!0,get:function(){return h}}),Object.defineProperty(e,"completeDirectoryLoad",{enumerable:!0,get:function(){return b}}),Object.defineProperty(e,"createPathStoreState",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"createTransactionFrame",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"failDirectoryLoad",{enumerable:!0,get:function(){return v}}),Object.defineProperty(e,"getDirectoryLoadState",{enumerable:!0,get:function(){return f}}),Object.defineProperty(e,"isDirectoryExpanded",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"isDirectoryLoadAttemptCurrent",{enumerable:!0,get:function(){return D}}),Object.defineProperty(e,"markDirectoryUnloadedState",{enumerable:!0,get:function(){return I}}),Object.defineProperty(e,"resolveInitialExpansion",{enumerable:!0,get:function(){return c}}),Object.defineProperty(e,"setDirectoryExpanded",{enumerable:!0,get:function(){return l}});var t=r(d[0]);function n(t,n="closed",o=null){const s=c(n);return{activeNodeCount:t.nodes.length-1,collapsedDirectoryIds:new Set,collapseNewDirectoriesByDefault:!1,defaultExpansion:s,directoriesOpenByDefault:"open"===s,hasCollapsedDirectoryOverrides:!1,directoryLoadInfoById:new Map,expandedDirectoryIds:new Set,instrumentation:o,listeners:new Map,pathCacheByNodeId:new Map([[t.rootId,{path:"",version:0}]]),pathCacheVersion:0,snapshot:t,transactionStack:[]}}function o(){return{affectedAncestorIds:new Set,affectedNodeIds:new Set,events:[]}}function c(t){if("number"!=typeof t)return t;if(!Number.isInteger(t)||t<0)throw new Error(`initialExpansion must be "open", "closed", or a non-negative integer depth. Received: ${String(t)}`);return t}function s(n,o){return!!(0,t.hasNodeFlag)(o,2)||("open"===n.defaultExpansion||"closed"!==n.defaultExpansion&&(0,t.getNodeDepth)(o)<=n.defaultExpansion)}function u(n,o,c=n.snapshot.nodes[o]){return!(null==c||!(0,t.isDirectoryNode)(c))&&(!(!n.directoriesOpenByDefault||n.hasCollapsedDirectoryOverrides)||!n.collapsedDirectoryIds.has(o)&&(!!n.expandedDirectoryIds.has(o)||s(n,c)))}function l(n,o,c,u=n.snapshot.nodes[o]){if(null==u||!(0,t.isDirectoryNode)(u))return;const l=s(n,u);return c?l?(n.collapsedDirectoryIds.delete(o),void(n.hasCollapsedDirectoryOverrides=n.collapsedDirectoryIds.size>0)):void n.expandedDirectoryIds.add(o):l?(n.collapsedDirectoryIds.add(o),void(n.hasCollapsedDirectoryOverrides=!0)):void n.expandedDirectoryIds.delete(o)}function p(t,n){const o=t.directoryLoadInfoById.get(n);if(null!=o)return o;const c={activeAttemptId:null,errorMessage:null,nextAttemptId:1,state:"loaded"};return t.directoryLoadInfoById.set(n,c),c}function f(t,n){return t.directoryLoadInfoById.get(n)?.state??"loaded"}function y(t,n){const o=p(t,n);if("loading"===o.state&&null!=o.activeAttemptId)return{attemptId:o.activeAttemptId,nodeId:n,reused:!0};const c=o.nextAttemptId;return o.activeAttemptId=c,o.errorMessage=null,o.nextAttemptId+=1,o.state="loading",{attemptId:c,nodeId:n,reused:!1}}function I(t,n){const o=p(t,n);o.activeAttemptId=null,o.errorMessage=null,o.state="unloaded"}function b(t,n,o){const c=t.directoryLoadInfoById.get(n);return null!=c&&c.activeAttemptId===o&&(c.activeAttemptId=null,c.errorMessage=null,c.state="loaded",!0)}function D(t,n,o){return t.directoryLoadInfoById.get(n)?.activeAttemptId===o}function v(t,n,o,c){const s=t.directoryLoadInfoById.get(n);return null!=s&&s.activeAttemptId===o&&(s.activeAttemptId=null,s.errorMessage=c??null,s.state="error",!0)}function h(t,n){t.directoryLoadInfoById.delete(n)}},1228,[1221]);
22
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"batchEvents",{enumerable:!0,get:function(){return j}}),Object.defineProperty(e,"createAddEvent",{enumerable:!0,get:function(){return c}}),Object.defineProperty(e,"createApplyChildPatchEvent",{enumerable:!0,get:function(){return C}}),Object.defineProperty(e,"createBeginChildLoadEvent",{enumerable:!0,get:function(){return p}}),Object.defineProperty(e,"createCleanupEvent",{enumerable:!0,get:function(){return b}}),Object.defineProperty(e,"createCollapseEvent",{enumerable:!0,get:function(){return l}}),Object.defineProperty(e,"createCompleteChildLoadEvent",{enumerable:!0,get:function(){return I}}),Object.defineProperty(e,"createExpandEvent",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"createFailChildLoadEvent",{enumerable:!0,get:function(){return v}}),Object.defineProperty(e,"createMarkDirectoryUnloadedEvent",{enumerable:!0,get:function(){return h}}),Object.defineProperty(e,"createMoveEvent",{enumerable:!0,get:function(){return s}}),Object.defineProperty(e,"createRemoveEvent",{enumerable:!0,get:function(){return f}}),Object.defineProperty(e,"finalizeEvent",{enumerable:!0,get:function(){return A}}),Object.defineProperty(e,"recordEvent",{enumerable:!0,get:function(){return N}}),Object.defineProperty(e,"subscribe",{enumerable:!0,get:function(){return o}});var t=r(d[0]),n=r(d[1]);function o(t,n,o){const c=o,f=t.listeners.get(n);return null!=f?f.add(c):t.listeners.set(n,new Set([c])),()=>{const o=t.listeners.get(n);null!=o&&(o.delete(c),0===o.size&&t.listeners.delete(n))}}function c(t){return{affectedAncestorIds:t.affectedAncestorIds??[],affectedNodeIds:t.affectedNodeIds??[],canonicalChanged:!0,operation:"add",path:t.path,projectionChanged:t.projectionChanged,visibleCountDelta:null}}function f(t){return{affectedAncestorIds:t.affectedAncestorIds??[],affectedNodeIds:t.affectedNodeIds??[],canonicalChanged:!0,operation:"remove",path:t.path,projectionChanged:t.projectionChanged,recursive:t.recursive,visibleCountDelta:null}}function s(t){return{affectedAncestorIds:t.affectedAncestorIds??[],affectedNodeIds:t.affectedNodeIds??[],canonicalChanged:!0,from:t.from,operation:"move",projectionChanged:t.projectionChanged,to:t.to,visibleCountDelta:null}}function u(t){return{affectedAncestorIds:t.affectedAncestorIds??[],affectedNodeIds:t.affectedNodeIds??[],canonicalChanged:!1,operation:"expand",path:t.path,projectionChanged:!0,visibleCountDelta:null}}function l(t){return{affectedAncestorIds:t.affectedAncestorIds??[],affectedNodeIds:t.affectedNodeIds??[],canonicalChanged:!1,operation:"collapse",path:t.path,projectionChanged:!0,visibleCountDelta:null}}function h(t){return{affectedAncestorIds:t.affectedAncestorIds??[],affectedNodeIds:t.affectedNodeIds??[],canonicalChanged:!1,operation:"mark-directory-unloaded",path:t.path,projectionChanged:t.projectionChanged,visibleCountDelta:null}}function p(t){return{affectedAncestorIds:t.affectedAncestorIds??[],affectedNodeIds:t.affectedNodeIds??[],attemptId:t.attemptId,canonicalChanged:!1,operation:"begin-child-load",path:t.path,projectionChanged:t.projectionChanged,reused:t.reused,visibleCountDelta:null}}function C(t){return{affectedAncestorIds:t.affectedAncestorIds??[],affectedNodeIds:t.affectedNodeIds??[],attemptId:t.attemptId,canonicalChanged:t.childEvents.some(t=>t.canonicalChanged),childEvents:t.childEvents,operation:"apply-child-patch",path:t.path,projectionChanged:t.projectionChanged,visibleCountDelta:null}}function I(t){return{affectedAncestorIds:t.affectedAncestorIds??[],affectedNodeIds:t.affectedNodeIds??[],attemptId:t.attemptId,canonicalChanged:!1,operation:"complete-child-load",path:t.path,projectionChanged:t.projectionChanged,stale:t.stale,visibleCountDelta:null}}function v(t){return{affectedAncestorIds:t.affectedAncestorIds??[],affectedNodeIds:t.affectedNodeIds??[],attemptId:t.attemptId,canonicalChanged:!1,errorMessage:t.errorMessage,operation:"fail-child-load",path:t.path,projectionChanged:t.projectionChanged,stale:t.stale,visibleCountDelta:null}}function b(t){return{activeNodeCountAfter:t.activeNodeCountAfter,activeNodeCountBefore:t.activeNodeCountBefore,affectedAncestorIds:t.affectedAncestorIds??[],affectedNodeIds:t.affectedNodeIds??[],cachedPathEntryCountAfter:t.cachedPathEntryCountAfter,cachedPathEntryCountBefore:t.cachedPathEntryCountBefore,canonicalChanged:!1,idsPreserved:t.idsPreserved,loadInfoEntryCountAfter:t.loadInfoEntryCountAfter,loadInfoEntryCountBefore:t.loadInfoEntryCountBefore,mode:t.mode,operation:"cleanup",projectionChanged:t.projectionChanged,reclaimedCachedPathEntryCount:t.reclaimedCachedPathEntryCount,reclaimedLoadInfoEntryCount:t.reclaimedLoadInfoEntryCount,reclaimedNodeSlotCount:t.reclaimedNodeSlotCount,reclaimedSegmentCount:t.reclaimedSegmentCount,segmentCountAfter:t.segmentCountAfter,segmentCountBefore:t.segmentCountBefore,totalNodeSlotCountAfter:t.totalNodeSlotCountAfter,totalNodeSlotCountBefore:t.totalNodeSlotCountBefore,visibleCountDelta:null}}function A(t,n,o){return Object.assign({},o,{visibleCountDelta:w(t)-n})}function j(t,o){const c=w(t),f=(0,n.createTransactionFrame)();t.transactionStack.push(f);try{o()}catch(n){throw E(t,f,!1),n}E(t,f,!0,w(t)-c)}function N(n,o){const c=n.instrumentation;null!=c?(0,t.withBenchmarkPhase)(c,"store.events.record",()=>y(n,o)):y(n,o)}function y(t,n){const o=t.transactionStack[t.transactionStack.length-1]??null;null!=o?(o.events.push(n),B(o,n)):D(t,n)}function E(n,o,c,f=null){if(n.transactionStack.pop()!==o)throw new Error("Transaction stack underflow");if(!c)return;const s=n.transactionStack[n.transactionStack.length-1]??null;if(null!=s){const c=n.instrumentation;return void(null==c?S(s,o):(0,t.withBenchmarkPhase)(c,"store.events.batch.merge",()=>S(s,o)))}const u=P(o,f),l=n.instrumentation;null!=l?(0,t.withBenchmarkPhase)(l,"store.events.batch.commit",()=>D(n,u)):D(n,u)}function P(t,n){return{affectedAncestorIds:[...t.affectedAncestorIds],affectedNodeIds:[...t.affectedNodeIds],canonicalChanged:t.events.some(t=>t.canonicalChanged),events:[...t.events],operation:"batch",projectionChanged:t.events.some(t=>t.projectionChanged),visibleCountDelta:n}}function O(t,n){for(const o of n.affectedAncestorIds)t.affectedAncestorIds.add(o);for(const o of n.affectedNodeIds)t.affectedNodeIds.add(o)}function S(t,n){for(const o of n.events)t.events.push(o);O(t,n)}function B(t,n){for(const o of n.affectedNodeIds)t.affectedNodeIds.add(o);for(const o of n.affectedAncestorIds)t.affectedAncestorIds.add(o)}function D(n,o){const c=n.instrumentation;null!=c?(0,t.withBenchmarkPhase)(c,"store.events.emit",()=>k(n,o)):k(n,o)}function k(t,n){t.listeners.get(n.operation)?.forEach(t=>t(n)),t.listeners.get("*")?.forEach(t=>t(n))}function w(t){return t.snapshot.nodes[t.snapshot.rootId]?.visibleSubtreeCount??0}},1229,[1222,1228]);
23
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"collectFlattenedDirectoryChainIds",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"getFlattenedChildDirectoryId",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"getFlattenedTerminalDirectoryId",{enumerable:!0,get:function(){return l}});var t=r(d[0]);function n(n,l){if(!0!==n.snapshot.options.flattenEmptyDirectories)return null;const o=n.snapshot.nodes[l];if(null==o||!(0,t.isDirectoryNode)(o)||(0,t.hasNodeFlag)(o,2))return null;const u=n.snapshot.directories.get(l);if(null==u||1!==u.childIds.length)return null;const c=u.childIds[0];if(null==c)return null;const s=n.snapshot.nodes[c];return null!=s&&(0,t.isDirectoryNode)(s)?c:null}function l(t,l){let o=l;for(;;){const l=n(t,o);if(null==l)return o;o=l}}function o(t,l){const o=[l];let u=l;for(;;){const l=n(t,u);if(null==l)return o;o.push(l),u=l}}},1230,[1221]);
24
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"addPath",{enumerable:!0,get:function(){return I}}),Object.defineProperty(e,"collectAncestorIds",{enumerable:!0,get:function(){return S}}),Object.defineProperty(e,"findNodeId",{enumerable:!0,get:function(){return P}}),Object.defineProperty(e,"findNodeIdBySegments",{enumerable:!0,get:function(){return F}}),Object.defineProperty(e,"getDirectoryIndex",{enumerable:!0,get:function(){return x}}),Object.defineProperty(e,"listPaths",{enumerable:!0,get:function(){return f}}),Object.defineProperty(e,"materializeNodePath",{enumerable:!0,get:function(){return D}}),Object.defineProperty(e,"movePath",{enumerable:!0,get:function(){return N}}),Object.defineProperty(e,"recomputeCountsRecursive",{enumerable:!0,get:function(){return w}}),Object.defineProperty(e,"recomputeCountsUpwardFrom",{enumerable:!0,get:function(){return v}}),Object.defineProperty(e,"removePath",{enumerable:!0,get:function(){return b}}),Object.defineProperty(e,"requireNode",{enumerable:!0,get:function(){return k}});var t=r(d[0]),n=r(d[1]),o=r(d[2]),s=r(d[3]),l=r(d[4]),c=r(d[5]),u=r(d[6]),h=r(d[7]),p=r(d[8]);function f(t,n){const o=null==n?t.snapshot.rootId:P(t,n);return null==o?[]:E(t,o)}function I(t,o){const l=(0,s.parseInputPath)(o),c=l.isDirectory?l.segments:l.segments.slice(0,-1),u=R(t,M(t,c)),{createdNodeIds:p,directoryId:f}=B(t,c),I=new Set(p);let b=f;if(l.isDirectory){const s=k(t,f);if((0,n.hasNodeFlag)(s,1))throw new Error(`Path already exists: "${o}"`);(0,n.addNodeFlag)(s,1),t.pathCacheByNodeId.set(f,{path:o,version:t.pathCacheVersion}),I.add(f)}else b=O(t,f,l.basename),I.add(b);v(t,f);const N=R(t,f);return(0,h.createAddEvent)({affectedAncestorIds:S(t,b),affectedNodeIds:[...I],path:o,projectionChanged:J(u,N)})}function b(t,o,s){const l=P(t,o);if(null==l)throw new Error(`Path does not exist: "${o}"`);const c=k(t,l);if((0,n.hasNodeFlag)(c,2))throw new Error("The root node cannot be removed");if((0,n.isDirectoryNode)(c)&&x(t,l).childIds.length>0&&!0!==s.recursive)throw new Error(`Cannot remove a non-empty directory without recursive: "${o}"`);const u=c.parentId,p=R(t,u),f=q(t,l);V(t,u,l,c.nameId),z(t,u),v(t,u);const I=R(t,u);return(0,h.createRemoveEvent)({affectedAncestorIds:S(t,u),affectedNodeIds:f,path:o,projectionChanged:J(p,I),recursive:!0===s.recursive})}function N(o,s,l,u){const p=P(o,s);if(null==p)throw new Error(`Source path does not exist: "${s}"`);const f=k(o,p);if((0,n.hasNodeFlag)(f,2))throw new Error("The root node cannot be moved");const I=u.collision??"error",b=U(o,p,l),N=R(o,f.parentId),y=R(o,b.parentId),C=(0,c.getSegmentValue)(o.snapshot.segmentTable,f.nameId),w=(0,c.internSegment)(o.snapshot.segmentTable,b.basename);if(b.parentId===f.parentId&&C===b.basename)return null;if((0,n.isDirectoryNode)(f)&&W(o,p,b.parentId))throw new Error("Cannot move a directory into one of its descendants");const F=(0,t.ensureChildIdByNameId)(o.snapshot.nodes,x(o,b.parentId)).get(w),E=b.existingNodeId??F??null;if(null!=E&&E!==p&&"skip"===_(o,E,I,(0,n.getNodeKind)(f)))return null;const B=f.parentId;V(o,B,p,f.nameId),f.parentId=b.parentId,f.nameId=w,o.pathCacheByNodeId.delete(p),Q(o,p),A(o,b.parentId,p),z(o,B),o.pathCacheVersion++,v(o,B),b.parentId!==B&&v(o,b.parentId);const j=R(o,B),O=R(o,b.parentId);return(0,h.createMoveEvent)({affectedAncestorIds:[...new Set([...S(o,B),...S(o,b.parentId)])],affectedNodeIds:[p],from:s,projectionChanged:G([N,y],[j,O]),to:D(o,p)})}function y(t,n){const o=t.pathCacheByNodeId.get(n);return null!=o&&o.version===t.pathCacheVersion?o.path:null}function C(t,n,o){return t.pathCacheByNodeId.set(n,{path:o,version:t.pathCacheVersion}),o}function D(t,o){const s=k(t,o),l=y(t,o);if(null!=l)return l;if((0,n.hasNodeFlag)(s,2))return C(t,o,"");const u=D(t,s.parentId),h=(0,c.getSegmentValue)(t.snapshot.segmentTable,s.nameId),p=0===u.length?h:`${u}${h}`;return C(t,o,(0,n.isDirectoryNode)(s)?`${p}/`:p)}function v(t,n){const s=t.instrumentation;null!=s?(0,o.withBenchmarkPhase)(s,"store.recomputeCountsUpwardFrom",()=>Y(t,n)):Y(t,n)}function w(t,o){const s=[[o,0]],{nodes:l,directories:c}=t.snapshot;for(;s.length>0;){const o=s[s.length-1],u=o[0],h=l[u];if(null==h||!(0,n.isDirectoryNode)(h)){X(t,u,h,!0),s.pop();continue}const p=c.get(u);if(null==p||o[1]>=p.childIds.length){X(t,u,h,!0),s.pop();continue}const f=p.childIds[o[1]++];s.push([f,0])}}function S(t,n){const o=[];let s=n;for(;null!=s;){const n=k(t,s);if(o.push(s),s===t.snapshot.rootId)break;s=n.parentId}return o}function P(t,n){if(0===n.length)return t.snapshot.rootId;const o=(0,s.parseLookupPath)(n);return F(t,o.segments,o.requiresDirectory)}function F(o,s,l){let c=o.snapshot.rootId;for(const n of s){const s=o.snapshot.segmentTable.idByValue.get(n);if(void 0===s)return null;const l=x(o,c),u=(0,t.ensureChildIdByNameId)(o.snapshot.nodes,l).get(s);if(void 0===u)return null;c=u}const u=k(o,c);return l&&!(0,n.isDirectoryNode)(u)?null:c}function x(t,n){const o=t.snapshot.directories.get(n);if(void 0===o)throw new Error(`Unknown directory child index for node ${String(n)}`);return o}function k(t,o){const s=t.snapshot.nodes[o];if(void 0===s||(0,n.hasNodeFlag)(s,4))throw new Error(`Unknown node ID: ${String(o)}`);return s}function E(t,o){const s=t.snapshot.nodes[o];if(void 0===s||(0,n.hasNodeFlag)(s,4))return[];if(!(0,n.isDirectoryNode)(s))return[D(t,o)];if(0===x(t,o).childIds.length)return(0,n.hasNodeFlag)(s,1)&&!(0,n.hasNodeFlag)(s,2)?[D(t,o)]:[];const l=[],c=[{childIndex:0,nodeId:o}];for(;c.length>0;){const o=c[c.length-1];if(null==o)break;const s=t.snapshot.nodes[o.nodeId];if(void 0===s||(0,n.hasNodeFlag)(s,4)){c.pop();continue}if(!(0,n.isDirectoryNode)(s)){l.push(D(t,o.nodeId)),c.pop();continue}const u=x(t,o.nodeId);if(0===u.childIds.length){(0,n.hasNodeFlag)(s,1)&&!(0,n.hasNodeFlag)(s,2)&&l.push(D(t,o.nodeId)),c.pop();continue}const h=u.childIds[o.childIndex];null!=h?(o.childIndex++,c.push({childIndex:0,nodeId:h})):c.pop()}return l}function B(o,s){const l=[];let u=o.snapshot.rootId;for(const h of s){const s=(0,c.internSegment)(o.snapshot.segmentTable,h),p=x(o,u),f=(0,t.ensureChildIdByNameId)(o.snapshot.nodes,p).get(s);if(void 0===f)u=j(o,u,s),l.push(u);else{if(!(0,n.isDirectoryNode)(k(o,f)))throw new Error(`Cannot create a directory that collides with an existing file: "${h}"`);u=f}}return{createdNodeIds:l,directoryId:u}}function j(o,s,l){const c=k(o,s),u=o.snapshot.nodes.length;return o.snapshot.nodes.push({depthAndFlags:(0,n.createNodeDepthAndFlags)((0,n.getNodeDepth)(c)+1,0,1),nameId:l,parentId:s,subtreeNodeCount:1,visibleSubtreeCount:1}),o.snapshot.directories.set(u,(0,t.createDirectoryChildIndex)()),A(o,s,u),o.collapseNewDirectoriesByDefault&&(o.collapsedDirectoryIds.add(u),o.hasCollapsedDirectoryOverrides=!0),o.activeNodeCount++,u}function O(o,s,l){const u=(0,c.internSegment)(o.snapshot.segmentTable,l),h=x(o,s);if((0,t.ensureChildIdByNameId)(o.snapshot.nodes,h).has(u))throw new Error(`Path already exists: "${ee(o,s,l)}"`);const p=k(o,s),f=o.snapshot.nodes.length;return o.snapshot.nodes.push({depthAndFlags:(0,n.createNodeDepthAndFlags)((0,n.getNodeDepth)(p)+1,0),nameId:u,parentId:s,subtreeNodeCount:1,visibleSubtreeCount:1}),A(o,s,f),o.activeNodeCount++,f}function T(t,n,o){let s=0,l=n.childIds.length;for(;s<l;){const c=s+l>>>1,u=n.childIds[c];null!=u?$(t,o,u)<0?l=c:s=c+1:l=c}return s}function A(n,o,s){const l=x(n,o),c=k(n,s);(0,t.ensureChildIdByNameId)(n.snapshot.nodes,l).set(c.nameId,s),(0,t.applyChildAggregateDelta)(l,s,c.subtreeNodeCount,c.visibleSubtreeCount);const u=T(n,l,s);l.childIds.splice(u,0,s),(0,t.updateChildPositionsFrom)(l,u),(0,t.rebuildVisibleChildChunks)(n.snapshot.nodes,l)}function V(n,o,s,l){const c=x(n,o),u=(0,t.ensureChildPositions)(c),h=u.get(s)??-1;(0,t.ensureChildIdByNameId)(n.snapshot.nodes,c).delete(l),u.delete(s);const p=n.snapshot.nodes[s];null!=p&&(0,t.applyChildAggregateDelta)(c,s,-p.subtreeNodeCount,-p.visibleSubtreeCount),h>=0&&(c.childIds.splice(h,1),(0,t.updateChildPositionsFrom)(c,h),(0,t.rebuildVisibleChildChunks)(n.snapshot.nodes,c))}function $(t,n,o){const s=t.snapshot.options.sort;return"default"===s?K(t,n,o):s(L(t,n),L(t,o))}function K(t,o,s){const u=k(t,o),h=k(t,s),p=(0,n.isDirectoryNode)(u);if(p!==(0,n.isDirectoryNode)(h))return p?-1:1;const f=(0,l.compareSegmentSortKeys)((0,l.getSegmentSortKey)(t.snapshot.segmentTable,u.nameId),(0,l.getSegmentSortKey)(t.snapshot.segmentTable,h.nameId));if(0!==f)return f;const I=(0,c.getSegmentValue)(t.snapshot.segmentTable,u.nameId),b=(0,c.getSegmentValue)(t.snapshot.segmentTable,h.nameId);return I!==b?I<b?-1:1:o<s?-1:1}function L(t,o){const s=k(t,o),l=D(t,o),u=(0,n.isDirectoryNode)(s),h=u?l.slice(0,-1):l;return{basename:(0,c.getSegmentValue)(t.snapshot.segmentTable,s.nameId),depth:(0,n.getNodeDepth)(s),isDirectory:u,path:l,segments:0===h.length?[]:h.split("/")}}function U(t,o,l){const u=k(t,o),h=P(t,l);if(null!=h){const o=k(t,h);if((0,n.isDirectoryNode)(o))return{basename:(0,c.getSegmentValue)(t.snapshot.segmentTable,u.nameId),existingNodeId:null,parentId:h};const p=(0,s.parseLookupPath)(l).segments;return{basename:p[p.length-1]??"",existingNodeId:h,parentId:o.parentId}}const p=(0,s.parseLookupPath)(l),f=p.segments[p.segments.length-1]??"",I=p.segments.slice(0,-1),b=0===I.length?t.snapshot.rootId:F(t,I,!0);if(null==b)throw new Error(`Destination parent does not exist: "${l}"`);return{basename:f,existingNodeId:null,parentId:b}}function _(t,o,s,l){if("skip"===s)return"skip";if("error"===s)throw new Error(`Destination already exists: "${D(t,o)}"`);const c=k(t,o);if((0,n.getNodeKind)(c)!==l)throw new Error("replace collision requires the same source and destination kinds");if((0,n.isDirectoryNode)(c)&&x(t,o).childIds.length>0)throw new Error("replace collision does not support non-empty directories");const u=c.parentId,h=c.nameId;return q(t,o),V(t,u,o,h),z(t,u),v(t,u),"handled"}function q(t,o){const s=[],l=[{nodeId:o,visitedChildren:!1}];for(;l.length>0;){const o=l.pop();if(null==o)break;const c=k(t,o.nodeId);if(o.visitedChildren||!(0,n.isDirectoryNode)(c)){(0,n.isDirectoryNode)(c)&&t.snapshot.directories.delete(o.nodeId),(0,n.addNodeFlag)(c,4),t.pathCacheByNodeId.delete(o.nodeId),t.collapsedDirectoryIds.delete(o.nodeId)&&(t.hasCollapsedDirectoryOverrides=t.collapsedDirectoryIds.size>0),t.expandedDirectoryIds.delete(o.nodeId),(0,u.clearDirectoryLoadInfo)(t,o.nodeId),t.activeNodeCount--,s.push(o.nodeId);continue}l.push({nodeId:o.nodeId,visitedChildren:!0});const h=x(t,o.nodeId);for(let t=h.childIds.length-1;t>=0;t--){const n=h.childIds[t];null!=n&&l.push({nodeId:n,visitedChildren:!1})}}return s}function z(t,o){let s=o;for(;null!=s;){const o=k(t,s);if(!(0,n.isDirectoryNode)(o)||(0,n.hasNodeFlag)(o,2))return;if(x(t,s).childIds.length>0)return;(0,n.addNodeFlag)(o,1),s=o.parentId===s?null:o.parentId}}function M(o,s){let l=o.snapshot.rootId;for(const c of s){const s=o.snapshot.segmentTable.idByValue.get(c);if(null==s)break;const u=(0,t.ensureChildIdByNameId)(o.snapshot.nodes,x(o,l)).get(s);if(null==u)break;if(!(0,n.isDirectoryNode)(k(o,u)))break;l=u}return l}function R(t,o){const s=H(t,o);if(null==s)return null;const l=(0,p.getFlattenedTerminalDirectoryId)(t,s),c=k(t,l),u=s===l?null:(0,p.collectFlattenedDirectoryChainIds)(t,s).map(n=>D(t,n));return JSON.stringify({flattenedSegmentPaths:u,hasChildren:x(t,l).childIds.length>0,path:D(t,l),terminalKind:(0,n.getNodeKind)(c)})}function J(t,n){return G([t],[n])}function G(t,n){for(let o=0;o<t.length;o+=1){const s=t[o],l=n[o];if(null==s||null==l||s!==l)return!0}return!1}function H(t,o){let s=o;for(;null!=s;){const o=k(t,s);if(!(0,n.isDirectoryNode)(o)||(0,n.hasNodeFlag)(o,2))return null;if(!(0,u.isDirectoryExpanded)(t,s,o))return s;s=o.parentId}return null}function Q(t,o){const s=k(t,o);if((0,n.setNodeDepth)(s,(o===t.snapshot.rootId?-1:(0,n.getNodeDepth)(k(t,s.parentId)))+1),!(0,n.isDirectoryNode)(s))return;const l=x(t,o);for(const n of l.childIds)Q(t,n)}function W(t,n,o){let s=o;for(;null!=s;){if(s===n)return!0;const o=k(t,s);if(s===t.snapshot.rootId)return!1;s=o.parentId}return!1}function X(t,n,s=k(t,n),l=!1){const c=t.instrumentation;null!=c?(0,o.withBenchmarkPhase)(c,"store.recomputeNodeCounts",()=>Z(t,n,s,l)):Z(t,n,s,l)}function Y(n,o){let s=o;for(;null!=s;){const o=k(n,s),l=o.subtreeNodeCount,c=o.visibleSubtreeCount;if(X(n,s,o),s===n.snapshot.rootId)return;const u=o.subtreeNodeCount-l,h=o.visibleSubtreeCount-c,p=o.parentId;0===u&&0===h||(0,t.applyChildAggregateDelta)(x(n,p),s,u,h),s=p}}function Z(s,l,c,h){if(!(0,n.isDirectoryNode)(c))return c.subtreeNodeCount=1,void(c.visibleSubtreeCount=1);const f=x(s,l);if(h){const n=s.instrumentation;null==n?(0,t.rebuildDirectoryChildAggregates)(s.snapshot.nodes,f):(0,o.withBenchmarkPhase)(n,"store.recomputeNodeCounts.rebuildChildAggregates",()=>(0,t.rebuildDirectoryChildAggregates)(s.snapshot.nodes,f))}const I=1+f.totalChildSubtreeNodeCount,b=f.totalChildVisibleSubtreeCount;c.subtreeNodeCount=I,(0,n.hasNodeFlag)(c,2)?c.visibleSubtreeCount=b:c.visibleSubtreeCount=null!=(0,p.getFlattenedChildDirectoryId)(s,l)?b:(0,u.isDirectoryExpanded)(s,l,c)?1+b:1}function ee(t,n,o){const s=D(t,n);return 0===s.length?o:`${s}${o}`}},1231,[1220,1221,1222,1226,1223,1227,1228,1229,1230]);
25
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"cleanupPathStoreState",{enumerable:!0,get:function(){return A}}),Object.defineProperty(e,"hasActiveCleanupBlockingLoads",{enumerable:!0,get:function(){return x}});var t=r(d[0]),n=r(d[1]),o=r(d[2]),s=r(d[3]),c=r(d[4]),u=r(d[5]),h=r(d[6]);function l(t){return null!=t&&!(0,n.hasNodeFlag)(t,4)}function p(t,o){const s=t.snapshot.nodes[o];return l(s)&&(0,n.isDirectoryNode)(s)&&!(0,n.hasNodeFlag)(s,2)?s:null}function f(t){let n=0;for(const[o,s]of t.pathCacheByNodeId)s.version===t.pathCacheVersion&&l(t.snapshot.nodes[o])&&(n+=1);return n}function C(t){return{activeNodeCount:t.activeNodeCount,cachedPathEntryCount:f(t),loadInfoEntryCount:t.directoryLoadInfoById.size,segmentCount:(n=t.snapshot.segmentTable,Math.max(0,n.valueById.length-1)),totalNodeSlotCount:Math.max(0,t.snapshot.nodes.length-1)};var n}function I(t,n,o,s){return{activeNodeCountAfter:s.activeNodeCount,activeNodeCountBefore:o.activeNodeCount,cachedPathEntryCountAfter:s.cachedPathEntryCount,cachedPathEntryCountBefore:o.cachedPathEntryCount,idsPreserved:n,loadInfoEntryCountAfter:s.loadInfoEntryCount,loadInfoEntryCountBefore:o.loadInfoEntryCount,mode:t,reclaimedCachedPathEntryCount:o.cachedPathEntryCount-s.cachedPathEntryCount,reclaimedLoadInfoEntryCount:o.loadInfoEntryCount-s.loadInfoEntryCount,reclaimedNodeSlotCount:o.totalNodeSlotCount-s.totalNodeSlotCount,reclaimedSegmentCount:o.segmentCount-s.segmentCount,segmentCountAfter:s.segmentCount,segmentCountBefore:o.segmentCount,totalNodeSlotCountAfter:s.totalNodeSlotCount,totalNodeSlotCountBefore:o.totalNodeSlotCount}}function y(t){const n=[],o=[];for(const o of t.collapsedDirectoryIds)null!=p(t,o)&&n.push((0,h.materializeNodePath)(t,o));for(const n of t.expandedDirectoryIds)null!=p(t,n)&&o.push((0,h.materializeNodePath)(t,n));return{collapsedPaths:n,expandedPaths:o}}function P(t){const n=[];for(const[o,s]of t.directoryLoadInfoById)null!=p(t,o)&&"loaded"!==(0,u.getDirectoryLoadState)(t,o)&&n.push({info:{activeAttemptId:null,errorMessage:s.errorMessage,nextAttemptId:s.nextAttemptId,state:s.state},path:(0,h.materializeNodePath)(t,o)});return n}function N(t,n){t.collapsedDirectoryIds.clear(),t.hasCollapsedDirectoryOverrides=!1,t.expandedDirectoryIds.clear();for(const o of n.expandedPaths){const n=(0,h.findNodeId)(t,o);null!=n&&(0,u.setDirectoryExpanded)(t,n,!0,(0,h.requireNode)(t,n))}for(const o of n.collapsedPaths){const n=(0,h.findNodeId)(t,o);null!=n&&(0,u.setDirectoryExpanded)(t,n,!1,(0,h.requireNode)(t,n))}}function B(t,n){t.directoryLoadInfoById.clear();for(const o of n){const n=(0,h.findNodeId)(t,o.path);null!=n&&(null!=p(t,n)&&t.directoryLoadInfoById.set(n,{activeAttemptId:null,errorMessage:o.info.errorMessage,nextAttemptId:o.info.nextAttemptId,state:o.info.state}))}}function v(t){t.pathCacheVersion+=1,t.pathCacheByNodeId.clear(),t.pathCacheByNodeId.set(t.snapshot.rootId,{path:"",version:t.pathCacheVersion})}function b(t){const o=t.snapshot.segmentTable,c=(0,s.createSegmentTable)();for(const u of t.snapshot.nodes)l(u)&&((0,n.hasNodeFlag)(u,2)?u.nameId=0:u.nameId=(0,s.internSegment)(c,(0,s.getSegmentValue)(o,u.nameId)));t.snapshot.segmentTable=c}function E(o){for(const[s,c]of o.snapshot.directories){const u=o.snapshot.nodes[s];if(!l(u)||!(0,n.isDirectoryNode)(u)){o.snapshot.directories.delete(s);continue}const p=c.childIds.filter(t=>{const n=o.snapshot.nodes[t];return l(n)&&n.parentId===s});c.childIds=p,c.childIdByNameId=new Map(p.map(t=>[(0,h.requireNode)(o,t).nameId,t])),c.childPositionById=new Map(p.map((t,n)=>[t,n])),(0,t.rebuildDirectoryChildAggregates)(o.snapshot.nodes,c)}}function S(t){let n=t.snapshot.nodes.length-1;for(;n>t.snapshot.rootId;){if(l(t.snapshot.nodes[n]))break;n-=1}t.snapshot.nodes.length=n+1}function w(t){const n=y(t),s=P(t);(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.stable.clearPathCaches",()=>v(t)),(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.stable.rebuildSegmentTable",()=>b(t)),(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.stable.rebuildDirectoryIndexes",()=>E(t)),(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.stable.trimTrailingRemovedNodeSlots",()=>S(t)),(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.stable.restoreExpansionOverrides",()=>N(t,n)),(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.stable.restoreDirectoryLoadInfos",()=>B(t,s)),(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.stable.recomputeCounts",()=>(0,h.recomputeCountsRecursive)(t,t.snapshot.rootId))}function k(t){const n=y(t),s=P(t),u=(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.aggressive.listPaths",()=>(0,h.listPaths)(t)),l=(0,o.attachBenchmarkInstrumentation)(Object.assign({},t.snapshot.options),t.instrumentation),p=(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.aggressive.rebuildSnapshot",()=>{const t=new c.PathStoreBuilder(l);return t.appendPaths(u),t.finish()});t.snapshot=p,t.activeNodeCount=p.nodes.length-1,t.pathCacheByNodeId=new Map([[p.rootId,{path:"",version:0}]]),t.pathCacheVersion=0,(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.aggressive.restoreExpansionOverrides",()=>N(t,n)),(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.aggressive.restoreDirectoryLoadInfos",()=>B(t,s)),(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.aggressive.recomputeCounts",()=>(0,h.recomputeCountsRecursive)(t,t.snapshot.rootId))}function x(t){for(const n of t.directoryLoadInfoById.values())if("loading"===n.state&&null!=n.activeAttemptId)return!0;return!1}function A(t,n){const s=C(t);"stable"===n?(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.stable",()=>w(t)):(0,o.withBenchmarkPhase)(t.instrumentation,"store.cleanup.aggressive",()=>k(t));return I(n,"stable"===n,s,C(t))}},1232,[1220,1221,1222,1227,1224,1228,1231]);
26
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"collapsePath",{enumerable:!0,get:function(){return v}}),Object.defineProperty(e,"expandPath",{enumerable:!0,get:function(){return E}}),Object.defineProperty(e,"getVisibleCount",{enumerable:!0,get:function(){return p}}),Object.defineProperty(e,"getVisibleIndexByPath",{enumerable:!0,get:function(){return C}}),Object.defineProperty(e,"getVisibleRowContext",{enumerable:!0,get:function(){return D}}),Object.defineProperty(e,"getVisibleSlice",{enumerable:!0,get:function(){return w}}),Object.defineProperty(e,"getVisibleTreeProjection",{enumerable:!0,get:function(){return P}}),Object.defineProperty(e,"getVisibleTreeProjectionData",{enumerable:!0,get:function(){return S}});var t=r(d[0]),n=r(d[1]),o=r(d[2]),s=r(d[3]),l=r(d[4]),c=r(d[5]),u=r(d[6]),h=r(d[7]);const I=64;function f(t,n){const o=n+2;if(o<=t.length)return t;let s=t.length;for(;s<o;)s*=2;const l=new Int32Array(s);return l.fill(-1),l.set(t),l}function p(t){return(0,h.requireNode)(t,t.snapshot.rootId).visibleSubtreeCount}function y(t,n,o,s){const l=(0,h.requireNode)(t,n.terminalNodeId),c=Math.max(1,l.visibleSubtreeCount);return Math.min(s-1,o+c-1)}function N(t,n,o,s){return{ancestorPaths:s,index:n.index,posInSet:n.posInSet,row:A(t,n.cursor),setSize:n.setSize,subtreeEndIndex:y(t,n.cursor,n.index,o)}}function b(n,o,s,l,c,u){const I=(0,h.getDirectoryIndex)(n,o),{childIndex:f,childVisibleIndex:p,localVisibleIndex:y}=(0,t.selectChildIndexByVisibleIndex)(n.snapshot.nodes,I,s),N=I.childIds[f];if(null==N)throw new Error(`Visible index ${String(s)} is out of range`);return x(n,N,y,l+p,c+1,f,I.childIds.length,u)}function x(t,o,s,c,u,I,f,p){if(!(0,n.isDirectoryNode)((0,h.requireNode)(t,o))){if(0===s)return{ancestors:p,cursor:{headNodeId:o,terminalNodeId:o,visibleDepth:u},index:c,posInSet:I,setSize:f};throw new Error(`Visible index ${String(s)} is out of range for file`)}const y=z(t,o,u);if(0===s)return{ancestors:p,cursor:y,index:c,posInSet:I,setSize:f};const N=(0,h.requireNode)(t,y.terminalNodeId);if(!(0,n.isDirectoryNode)(N)||!(0,l.isDirectoryExpanded)(t,y.terminalNodeId,N))throw new Error(`Visible index ${String(s)} is out of range for collapsed directory`);return b(t,y.terminalNodeId,s-1,c+1,y.visibleDepth,[...p,{cursor:y,index:c,posInSet:I,setSize:f}])}function D(t,n){const o=p(t);if(n<0||n>=o)return null;const s=b(t,t.snapshot.rootId,n,0,-1,[]),l=s.ancestors.map(n=>(0,h.materializeNodePath)(t,n.cursor.terminalNodeId));let c=null;return{ancestorPaths:l,get ancestorRows(){if(null!=c)return c;const n=[],l=[];for(const c of s.ancestors){const s=N(t,c,o,[...l]);n.push(s),l.push(s.row.path)}return c=n,c},index:s.index,posInSet:s.posInSet,row:A(t,s.cursor),setSize:s.setSize,subtreeEndIndex:y(t,s.cursor,s.index,o)}}function w(t,n,s){const l=t.instrumentation,c=p(t);if(c<=0||s<n)return[];const u=Math.max(0,Math.min(n,c-1)),h=Math.max(u,Math.min(s,c-1));if(null==l){if(0===u)return j(t,h+1);const n=[];let o=V(t,u);for(let s=u;s<=h&&null!=o;s++){const s=A(t,o);n.push(s),o=T(t,o)}return n}const I=[];let f=0,y=0,N=(0,o.withBenchmarkPhase)(l,"store.getVisibleSlice.selectFirstRow",()=>V(t,u));for(let n=u;n<=h&&null!=N;n++){const n=(0,o.withBenchmarkPhase)(l,"store.getVisibleSlice.materializeRow",()=>A(t,N));I.push(n),n.isFlattened&&(f++,y+=n.flattenedSegments?.length??0),N=(0,o.withBenchmarkPhase)(l,"store.getVisibleSlice.advanceCursor",()=>T(t,N))}return(0,o.setBenchmarkCounter)(l,"workload.visibleRowsRead",I.length),(0,o.setBenchmarkCounter)(l,"workload.flattenedRowsRead",f),(0,o.setBenchmarkCounter)(l,"workload.flattenedSegmentsRead",y),I}function S(t,n=p(t)){const s=t.instrumentation;return null==s?k(t,n):(0,o.withBenchmarkPhase)(s,"store.getVisibleTreeProjection",()=>k(t,n))}function P(t){return $(S(t))}function C(o,s){const c=(0,h.findNodeId)(o,s);if(null==c||c===o.snapshot.rootId)return null;if((0,n.isDirectoryNode)((0,h.requireNode)(o,c))&&(0,u.getFlattenedTerminalDirectoryId)(o,c)!==c)return null;let I=0,f=c;const{nodes:p,rootId:y}=o.snapshot;for(;f!==y;){const n=(0,h.requireNode)(o,f).parentId,s=(0,h.getDirectoryIndex)(o,n),c=(0,t.ensureChildPositions)(s).get(f);if(null==c)throw new Error(`Child ${String(f)} was not found in its parent index`);if(I+=(0,t.getVisibleChildPrefixCount)(p,s,c),n!==y){const t=(0,h.requireNode)(o,n),s=(0,u.getFlattenedChildDirectoryId)(o,n);if(!(0,l.isDirectoryExpanded)(o,n,t)&&s!==f)return null;(0,u.getFlattenedTerminalDirectoryId)(o,n)===n&&(I+=1)}f=n}return I}function E(t,o){const s=(0,h.findNodeId)(t,o);if(null==s)throw new Error(`Path does not exist: "${o}"`);const u=(0,h.requireNode)(t,s);if(!(0,n.isDirectoryNode)(u))throw new Error(`Path is not a directory: "${o}"`);return(0,l.isDirectoryExpanded)(t,s,u)?null:((0,l.setDirectoryExpanded)(t,s,!0,u),(0,h.recomputeCountsUpwardFrom)(t,s),(0,c.createExpandEvent)({affectedAncestorIds:(0,h.collectAncestorIds)(t,s),affectedNodeIds:[s],path:o,projectionChanged:!0}))}function v(t,o){const s=(0,h.findNodeId)(t,o);if(null==s)throw new Error(`Path does not exist: "${o}"`);const u=(0,h.requireNode)(t,s);if(!(0,n.isDirectoryNode)(u))throw new Error(`Path is not a directory: "${o}"`);return(0,l.isDirectoryExpanded)(t,s,u)?((0,l.setDirectoryExpanded)(t,s,!1,u),(0,h.recomputeCountsUpwardFrom)(t,s),(0,c.createCollapseEvent)({affectedAncestorIds:(0,h.collectAncestorIds)(t,s),affectedNodeIds:[s],path:o,projectionChanged:!0})):null}function V(t,n){return n<0||n>=p(t)?null:B(t,t.snapshot.rootId,n,-1)}function B(n,s,l,c){const u=(0,h.getDirectoryIndex)(n,s),I=n.instrumentation,{childIndex:f,localVisibleIndex:p}=null==I?(0,t.selectChildIndexByVisibleIndex)(n.snapshot.nodes,u,l):(0,o.withBenchmarkPhase)(I,"store.getVisibleSlice.selectChildIndex",()=>(0,t.selectChildIndexByVisibleIndex)(n.snapshot.nodes,u,l)),y=u.childIds[f];if(null!=y)return q(n,y,p,c+1);throw new Error(`Visible index ${String(l)} is out of range`)}function q(t,o,s,c){if(!(0,n.isDirectoryNode)((0,h.requireNode)(t,o))){if(0===s)return{headNodeId:o,terminalNodeId:o,visibleDepth:c};throw new Error(`Visible index ${String(s)} is out of range for file`)}const u=z(t,o,c);if(0===s)return u;const I=(0,h.requireNode)(t,u.terminalNodeId);if(!(0,n.isDirectoryNode)(I)||!(0,l.isDirectoryExpanded)(t,u.terminalNodeId,I))throw new Error(`Visible index ${String(s)} is out of range for collapsed directory`);return B(t,u.terminalNodeId,s-1,u.visibleDepth)}function z(t,s,l){return(0,n.isDirectoryNode)((0,h.requireNode)(t,s))?null==t.instrumentation?{headNodeId:s,terminalNodeId:(0,u.getFlattenedTerminalDirectoryId)(t,s),visibleDepth:l}:{headNodeId:s,terminalNodeId:(0,o.withBenchmarkPhase)(t.instrumentation,"store.getVisibleSlice.flatten.resolveTerminalDirectory",()=>(0,u.getFlattenedTerminalDirectoryId)(t,s)),visibleDepth:l}:{headNodeId:s,terminalNodeId:s,visibleDepth:l}}function F(t,o){const s=(0,h.requireNode)(t,o);if(!(0,n.isDirectoryNode)(s))return!0;const l=s.parentId;return l===t.snapshot.rootId||(0,u.getFlattenedChildDirectoryId)(t,l)!==o}function T(o,s){const c=(0,h.requireNode)(o,s.terminalNodeId);if((0,n.isDirectoryNode)(c)){const t=(0,h.getDirectoryIndex)(o,s.terminalNodeId);if((0,l.isDirectoryExpanded)(o,s.terminalNodeId,c)&&t.childIds.length>0){const n=t.childIds[0];return null==n?null:q(o,n,0,s.visibleDepth+1)}}let u=s.terminalNodeId,I=s.visibleDepth;for(;;){const n=(0,h.requireNode)(o,u);if(u===o.snapshot.rootId)return null;const s=n.parentId,l=(0,h.getDirectoryIndex)(o,s),c=(0,t.ensureChildPositions)(l).get(u)??-1;if(c<0)throw new Error(`Child ${String(u)} was not found in its parent index`);const f=l.childIds[c+1]??null;if(null!=f)return q(o,f,0,I);F(o,u)&&I--,u=s}}function $(t){const n=t.paths.length,o=new Array(n);for(let s=0;s<n;s+=1){const n=t.getParentIndex(s);o[s]={index:s,parentPath:n>=0?t.paths[n]??null:null,path:t.paths[s]??"",posInSet:t.posInSetByIndex[s]??0,setSize:t.setSizeByIndex[s]??0}}return{getParentIndex:t.getParentIndex,rows:o,get visibleIndexByPath(){return t.visibleIndexByPath}}}function k(t,o){const s=new Array(o),c=new Int32Array(o),p=new Int32Array(o),y=new Int32Array(o);let N=new Int32Array(I);N.fill(-1);let b=0;const{nodes:x,directories:D,segmentTable:w}=t.snapshot,S=[[D.get(t.snapshot.rootId),0,-1,""]],P=t.snapshot.options.flattenEmptyDirectories,C=t.pathCacheByNodeId,E=t.pathCacheVersion,v=w.valueById;for(;S.length>0&&b<o;){const o=S[S.length-1],I=o[0];if(o[1]>=I.childIds.length){S.pop();continue}const w=o[1],V=I.childIds[o[1]++],B=x[V],q=o[2]+1,z=o[3];let F;N=f(N,q);let T=V;if((0,n.isDirectoryNode)(B))T=P?(0,u.getFlattenedTerminalDirectoryId)(t,V):V,F=T===V?`${z}${v[B.nameId]}/`:(0,h.materializeNodePath)(t,T);else{const t=C.get(V);F=null!=t&&t.version===E?t.path:`${z}${v[B.nameId]}`}c[b]=N[q],s[b]=F,p[b]=w,y[b]=I.childIds.length,N[q+1]=b,b+=1;const $=x[T];null!=$&&(0,n.isDirectoryNode)($)&&(0,l.isDirectoryExpanded)(t,T,$)&&S.push([D.get(T),0,q,F])}b<o&&(s.length=b);const V=c.subarray(0,b),B=p.subarray(0,b),q=y.subarray(0,b);let z=null;return{getParentIndex:t=>t<0||t>=b?-1:V[t]??-1,paths:s,posInSetByIndex:B,setSizeByIndex:q,get visibleIndexByPath(){if(null==z){z=new Map;for(let t=0;t<b;t+=1)z.set(s[t]??"",t)}return z}}}function j(t,o){const s=new Array(o);let c=0;const{nodes:I,directories:f,segmentTable:p}=t.snapshot,y=[[f.get(t.snapshot.rootId),0,-1]],N=p.valueById,b=t.snapshot.options.flattenEmptyDirectories,x=t.pathCacheByNodeId,D=t.pathCacheVersion;for(;y.length>0&&c<o;){const o=y[y.length-1],p=o[0];if(o[1]>=p.childIds.length){y.pop();continue}const w=p.childIds[o[1]++],S=I[w],P=o[2]+1;if(!(0,n.isDirectoryNode)(S)){const n=x.get(w);s[c++]={depth:P,flattenedSegments:void 0,hasChildren:!1,id:w,isExpanded:!1,isFlattened:!1,isLoading:!1,kind:"file",loadState:void 0,name:N[S.nameId],path:null!=n&&n.version===D?n.path:(0,h.materializeNodePath)(t,w)};continue}const C=b?(0,u.getFlattenedTerminalDirectoryId)(t,w):w,E={headNodeId:w,terminalNodeId:C,visibleDepth:P};s[c++]=A(t,E);const v=I[C];null!=v&&(0,n.isDirectoryNode)(v)&&(0,l.isDirectoryExpanded)(t,C,v)&&y.push([f.get(C),0,P])}return c<o&&(s.length=c),s}function A(t,c){const I=(0,h.requireNode)(t,c.terminalNodeId),f=(0,n.isDirectoryNode)(I)?O(t,c):null,p=(0,h.materializeNodePath)(t,c.terminalNodeId),y=(0,s.getSegmentValue)(t.snapshot.segmentTable,I.nameId),N=(0,n.isDirectoryNode)(I)&&(0,h.getDirectoryIndex)(t,c.terminalNodeId).childIds.length>0,b=c.headNodeId!==c.terminalNodeId,x=t.instrumentation,D=b?null==x?(0,u.collectFlattenedDirectoryChainIds)(t,c.headNodeId).map(n=>{const o=(0,h.requireNode)(t,n);return{isTerminal:n===c.terminalNodeId,name:(0,s.getSegmentValue)(t.snapshot.segmentTable,o.nameId),nodeId:n,path:(0,h.materializeNodePath)(t,n)}}):(0,o.withBenchmarkPhase)(x,"store.getVisibleSlice.flatten.collectSegments",()=>(0,u.collectFlattenedDirectoryChainIds)(t,c.headNodeId).map(n=>{const o=(0,h.requireNode)(t,n);return{isTerminal:n===c.terminalNodeId,name:(0,s.getSegmentValue)(t.snapshot.segmentTable,o.nameId),nodeId:n,path:(0,h.materializeNodePath)(t,n)}})):void 0;return{depth:c.visibleDepth,flattenedSegments:D,hasChildren:N,id:c.terminalNodeId,isExpanded:(0,n.isDirectoryNode)(I)&&(0,l.isDirectoryExpanded)(t,c.terminalNodeId,I),isFlattened:b,isLoading:"loading"===f,kind:(0,n.isDirectoryNode)(I)?"directory":"file",loadState:null==f||"loaded"===f?void 0:f,name:y,path:p}}function O(t,n){if(n.headNodeId===n.terminalNodeId)return(0,l.getDirectoryLoadState)(t,n.terminalNodeId);const o=(0,u.collectFlattenedDirectoryChainIds)(t,n.headNodeId);let s=!1,c=!1;for(const n of o){const o=(0,l.getDirectoryLoadState)(t,n);if("loading"===o)return"loading";"error"!==o?"unloaded"===o&&(s=!0):c=!0}return c?"error":s?"unloaded":"loaded"}},1233,[1220,1221,1222,1227,1228,1229,1230,1231]);
27
+ __d(function(g,r,_i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"buildSoaNodeStore",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"sweepOpenVisibleCountsSoa",{enumerable:!0,get:function(){return o}}),r(d[0]);const t=8;function n(t){const{nodes:n,directories:o,rootId:l,options:s}=t,i=n.length,c=new Int32Array(i),u=new Int32Array(i),f=new Int32Array(i),I=new Int32Array(i),b=new Int32Array(i),h=new Int32Array(i),p=new Int32Array(i);for(let t=0;t<i;t+=1){const o=n[t];null!=o&&(c[t]=o.parentId,u[t]=o.nameId,f[t]=o.depthAndFlags,I[t]=o.subtreeNodeCount,b[t]=o.visibleSubtreeCount)}let y=0;for(const t of o.values())y+=t.childIds.length;const A=new Int32Array(y);let C=0;for(const[t,n]of o){const o=n.childIds;h[t]=C,p[t]=o.length;for(let t=0;t<o.length;t+=1)A[C]=o[t],C+=1}return{nodeCount:i,rootId:l,flattenEmptyDirectories:!0===s.flattenEmptyDirectories,parentId:c,nameId:u,depthAndFlags:f,subtreeNodeCount:I,visibleSubtreeCount:b,childStart:h,childCount:p,childIdsFlat:A}}function o(n){const{nodeCount:o,rootId:l,flattenEmptyDirectories:s,depthAndFlags:i,subtreeNodeCount:c,visibleSubtreeCount:u,childStart:f,childCount:I,childIdsFlat:b}=n;for(let n=o-1;n>=1;n-=1){if(0===(i[n]&t))continue;const o=f[n],l=I[n];let h,p=0,y=0;for(let t=0;t<l;t+=1){const n=b[o+t];p+=c[n],y+=u[n]}c[n]=1+p,h=s&&1===l&&0!==(i[b[o]]&t)?y:1+y,u[n]=h}const h=f[l],p=I[l];let y=0,A=0;for(let t=0;t<p;t+=1){const n=b[h+t];y+=c[n],A+=u[n]}c[l]=1+y,u[l]=A}},1234,[1221]);
28
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"PathStore",{enumerable:!0,get:function(){return t.PathStore}});var t=r(d[0]);r(d[1]),r(d[2])},1235,[1219,1236,1237]);
29
+ __d(function(g,r,i,a,m,e,d){"use strict";r(d[0])},1236,[1219]);
30
+ __d(function(g,r,i,a,m,e,d){"use strict";r(d[0]),r(d[1]),r(d[2]),r(d[3]),r(d[4])},1237,[1221,1223,1227,1224,1228]);
31
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"FILE_TREE_DENSITY_PRESETS",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"resolveFileTreeDensity",{enumerable:!0,get:function(){return n}});const t={compact:{itemHeight:24,factor:.8},default:{itemHeight:30,factor:1},relaxed:{itemHeight:36,factor:1.2}};function n(n,o){if("number"==typeof n)return{itemHeight:o??t.default.itemHeight,factor:n};const c=t[n??"default"];return{itemHeight:o??c.itemHeight,factor:c.factor}}},1238,[]);
32
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"EMPTY_RANGE",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"FILE_TREE_DEFAULT_ITEM_HEIGHT",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"FILE_TREE_DEFAULT_OVERSCAN",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"FILE_TREE_DEFAULT_VIEWPORT_HEIGHT",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"computeStickyWindowLayout",{enumerable:!0,get:function(){return h}}),Object.defineProperty(e,"computeVisibleRange",{enumerable:!0,get:function(){return f}}),Object.defineProperty(e,"computeWindowRange",{enumerable:!0,get:function(){return E}}),Object.defineProperty(e,"rangesEqual",{enumerable:!0,get:function(){return s}});const t=r(d[0]).FILE_TREE_DENSITY_PRESETS.default.itemHeight,n=10,o=420,u={start:0,end:-1};function c(t,n){if(n<=0||t.end<t.start)return u;const o=Math.max(0,Math.min(t.start,n-1));return{start:o,end:Math.max(o,Math.min(t.end,n-1))}}function s(t,n){return t.start===n.start&&t.end===n.end}function f({itemCount:t,itemHeight:n,scrollTop:o,viewportHeight:c}){if(t<=0)return u;const s=Math.floor(o/n),f=Math.ceil((o+c)/n)-1;return f<0||s>=t?u:{start:Math.max(0,s),end:Math.min(t-1,f)}}function E(t,n=u){const o=f(t),s=c(n,t.itemCount);return s.end>=s.start&&o.start>=s.start&&o.end<=s.end?s:(E=o,h=t.itemCount,l=t.overscan??10,E.end<E.start||h<=0?u:c({start:E.start-l,end:E.end+l},h));var E,h,l}function h({itemCount:t,itemHeight:n,range:o,viewportHeight:u}){const c=Math.max(0,t*n);if(o.end<o.start)return{totalHeight:c,offsetHeight:0,windowHeight:0,stickyInset:0};const s=o.start*n,f=(o.end-o.start+1)*n,E=Math.random()*n|0;return{totalHeight:c,offsetHeight:s,windowHeight:f,stickyInset:Math.min(0,u-f+E)}}},1239,[1238]);
33
+ __d(function(g,r,i,a,m,_e,d){"use strict";const e=["composition","density","fileTreeSearchMode","gitStatus","id","initialSearchQuery","icons","itemHeight","onSearchChange","onSelectionChange","overscan","renderRowDecoration","renaming","search","searchBlurBehavior","searchFakeFocus","stickyFolders","unsafeCSS","initialVisibleRowCount"],t=["composition","density","fileTreeSearchMode","gitStatus","id","initialSearchQuery","icons","itemHeight","onSearchChange","onSelectionChange","overscan","renderRowDecoration","renaming","search","searchBlurBehavior","searchFakeFocus","stickyFolders","unsafeCSS","initialVisibleRowCount"];var l,s,n,o,u,h,f,c,p,S,y,v,b,T,P,w,F,C,E,O,I,H,j,R,_,V,M,B,$,A,D,L,G,N,k,x,U,z;function W(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"FileTree",{enumerable:!0,get:function(){return Te}}),Object.defineProperty(_e,"preloadFileTree",{enumerable:!0,get:function(){return Ae}}),Object.defineProperty(_e,"serializeFileTreeSsrPayload",{enumerable:!0,get:function(){return me}});var q=W(r(d[0])),Q=W(r(d[1])),Y=W(r(d[2])),J=r(d[3]),K=r(d[4]),X=r(d[5]),Z=r(d[6]),ee=r(d[7]),te=W(r(d[8])),ie=r(d[9]),re=r(d[10]),ae=r(d[11]),le=r(d[12]),se=r(d[13]),ne=r(d[14]),oe=r(d[15]),ue=r(d[16]),de=r(d[17]);let he=0,fe=0;function ce({initialVisibleRowCount:e,itemHeight:t}){return null==e?420:Math.max(0,e)*(t??ee.FILE_TREE_DEFAULT_ITEM_HEIGHT)}function pe(e){if("undefined"==typeof document)return;const t=document.createElement("div");t.innerHTML=e;const l=t.querySelector("svg");return l instanceof SVGElement?l:void 0}function Se(e){const t=e?.header?.html?.trim();return null==t||0===t.length?"":`<div slot="${K.HEADER_SLOT_NAME}" data-file-tree-managed-slot="${K.HEADER_SLOT_NAME}">${t}</div>`}function ye(e,t,l){const s="declarative"===t?"shadowrootmode=\"open\"":"data-file-tree-shadowrootmode=\"open\"";return`<file-tree-container id="${e}" data-file-tree-virtualized="true"${0===l.length?"":` style="${l}"`}><template ${s}>`}function ve(e){return`</template>${e}</file-tree-container>`}function me(e,t="declarative"){return`${"declarative"===t?e.outerStart:e.domOuterStart}${e.shadowHtml}${e.outerEnd}`}function ge(e){return e.querySelector("#file-tree-icon-chevron")instanceof SVGElement&&e.querySelector("#file-tree-icon-file")instanceof SVGElement&&e.querySelector("#file-tree-icon-dot")instanceof SVGElement&&e.querySelector("#file-tree-icon-lock")instanceof SVGElement}function be(e){return Array.from(e.children).filter(e=>e instanceof SVGElement)}var Te=(s=(0,Y.default)("composition"),n=(0,Y.default)("controller"),o=(0,Y.default)("id"),u=(0,Y.default)("onSelectionChange"),h=(0,Y.default)("renderRowDecoration"),f=(0,Y.default)("renamingEnabled"),c=(0,Y.default)("searchBlurBehavior"),p=(0,Y.default)("searchEnabled"),S=(0,Y.default)("searchFakeFocus"),y=(0,Y.default)("slotHost"),v=(0,Y.default)("density"),b=(0,Y.default)("viewOptions"),T=(0,Y.default)("fileTreeContainer"),P=(0,Y.default)("gitStatusState"),w=(0,Y.default)("icons"),F=(0,Y.default)("unsafeCSS"),C=(0,Y.default)("unsafeCSSStyle"),E=(0,Y.default)("appliedUnsafeCSS"),O=(0,Y.default)("selectionVersion"),I=(0,Y.default)("selectionSubscription"),H=(0,Y.default)("wrapper"),j=(0,Y.default)("wroteHostItemHeight"),R=(0,Y.default)("wroteHostDensityFactor"),_=(0,Y.default)("getInitialViewOptions"),V=(0,Y.default)("getViewProps"),M=(0,Y.default)("getMountedTreeElements"),B=(0,Y.default)("syncIconSurface"),$=(0,Y.default)("emitSelectionChange"),A=(0,Y.default)("syncHeaderSlotContent"),D=(0,Y.default)("syncBuiltInSpriteSheet"),L=(0,Y.default)("syncCustomSpriteSheet"),G=(0,Y.default)("syncIconModeAttrs"),N=(0,Y.default)("syncUnsafeCSS"),k=(0,Y.default)("getOrCreateWrapper"),x=(0,Y.default)("prepareHost"),U=(0,Y.default)("applyDensityHostStyle"),z=(0,Y.default)("removeOwnedDensityHostStyle"),(l=class{constructor(t){Object.defineProperty(this,z,{value:$e}),Object.defineProperty(this,U,{value:Be}),Object.defineProperty(this,x,{value:Me}),Object.defineProperty(this,k,{value:Ve}),Object.defineProperty(this,N,{value:Re}),Object.defineProperty(this,G,{value:je}),Object.defineProperty(this,L,{value:He}),Object.defineProperty(this,D,{value:Ie}),Object.defineProperty(this,A,{value:Oe}),Object.defineProperty(this,$,{value:Ee}),Object.defineProperty(this,B,{value:Ce}),Object.defineProperty(this,M,{value:Fe}),Object.defineProperty(this,V,{value:we}),Object.defineProperty(this,_,{value:Pe}),Object.defineProperty(this,s,{writable:!0,value:void 0}),Object.defineProperty(this,n,{writable:!0,value:void 0}),Object.defineProperty(this,o,{writable:!0,value:void 0}),Object.defineProperty(this,u,{writable:!0,value:void 0}),Object.defineProperty(this,h,{writable:!0,value:void 0}),Object.defineProperty(this,f,{writable:!0,value:void 0}),Object.defineProperty(this,c,{writable:!0,value:void 0}),Object.defineProperty(this,p,{writable:!0,value:void 0}),Object.defineProperty(this,S,{writable:!0,value:void 0}),Object.defineProperty(this,y,{writable:!0,value:new oe.FileTreeManagedSlotHost}),Object.defineProperty(this,v,{writable:!0,value:void 0}),Object.defineProperty(this,b,{writable:!0,value:void 0}),Object.defineProperty(this,T,{writable:!0,value:void 0}),Object.defineProperty(this,P,{writable:!0,value:void 0}),Object.defineProperty(this,w,{writable:!0,value:void 0}),Object.defineProperty(this,F,{writable:!0,value:void 0}),Object.defineProperty(this,C,{writable:!0,value:void 0}),Object.defineProperty(this,E,{writable:!0,value:void 0}),Object.defineProperty(this,O,{writable:!0,value:void 0}),Object.defineProperty(this,I,{writable:!0,value:null}),Object.defineProperty(this,H,{writable:!0,value:void 0}),Object.defineProperty(this,j,{writable:!0,value:!1}),Object.defineProperty(this,R,{writable:!0,value:!1});const{composition:l,density:W,fileTreeSearchMode:Y,gitStatus:J,id:K,initialSearchQuery:X,icons:ee,itemHeight:te,onSearchChange:ie,onSelectionChange:re,overscan:se,renderRowDecoration:ne,renaming:ue,search:de,searchBlurBehavior:he,searchFakeFocus:ce,stickyFolders:pe,unsafeCSS:Se,initialVisibleRowCount:ye}=t,ve=(0,q.default)(t,e);var me;(0,Q.default)(this,s)[s]=l,(0,Q.default)(this,o)[o]=null!=(me=K)&&me.length>0?me:(fe+=1,`pst_ft_${fe}`),(0,Q.default)(this,P)[P]=(0,le.resolveFileTreeGitStatusState)(J),(0,Q.default)(this,w)[w]=ee,(0,Q.default)(this,F)[F]=Se,(0,Q.default)(this,u)[u]=re,(0,Q.default)(this,h)[h]=ne,(0,Q.default)(this,f)[f]=null!=ue&&!1!==ue,(0,Q.default)(this,c)[c]=he,(0,Q.default)(this,p)[p]=!0===de,(0,Q.default)(this,S)[S]=!0===ce,(0,Q.default)(this,v)[v]=(0,Z.resolveFileTreeDensity)(W,te),(0,Q.default)(this,b)[b]={itemHeight:(0,Q.default)(this,v)[v].itemHeight,overscan:se,stickyFolders:pe,initialVisibleRowCount:ye},(0,Q.default)(this,n)[n]=new ae.FileTreeController(Object.assign({},ve,{fileTreeSearchMode:Y,initialSearchQuery:X,onSearchChange:ie,renaming:ue})),(0,Q.default)(this,O)[O]=(0,Q.default)(this,n)[n].getSelectionVersion(),(0,Q.default)(this,I)[I]=null==(0,Q.default)(this,u)[u]?null:this.subscribe(()=>{(0,Q.default)(this,$)[$]()})}unmount(){null!=(0,Q.default)(this,H)[H]&&((0,ne.unmountFileTreeRoot)((0,Q.default)(this,H)[H]),delete(0,Q.default)(this,H)[H].dataset.fileTreeVirtualizedWrapper,(0,Q.default)(this,H)[H]=void 0),(0,Q.default)(this,y)[y].clearAll(),(0,Q.default)(this,y)[y].setHost(null),null!=(0,Q.default)(this,T)[T]&&(delete(0,Q.default)(this,T)[T].dataset.fileTreeVirtualized,(0,Q.default)(this,z)[z]((0,Q.default)(this,T)[T]),(0,Q.default)(this,T)[T]=void 0)}cleanUp(){this.unmount(),(0,Q.default)(this,I)[I]?.(),(0,Q.default)(this,I)[I]=null,(0,Q.default)(this,n)[n].destroy()}getFileTreeContainer(){return(0,Q.default)(this,T)[T]}getItem(e){return(0,Q.default)(this,n)[n].getItem(e)}getFocusedItem(){return(0,Q.default)(this,n)[n].getFocusedItem()}getFocusedPath(){return(0,Q.default)(this,n)[n].getFocusedPath()}getFocusedIndex(){return(0,Q.default)(this,n)[n].getFocusedIndex()}getVisibleCount(){return(0,Q.default)(this,n)[n].getVisibleCount()}getVisibleRows(e,t){return(0,Q.default)(this,n)[n].getVisibleRows(e,t)}getSelectedPaths(){return(0,Q.default)(this,n)[n].getSelectedPaths()}getComposition(){return(0,Q.default)(this,s)[s]}getItemHeight(){return(0,Q.default)(this,v)[v].itemHeight}getDensityFactor(){return(0,Q.default)(this,v)[v].factor}subscribe(e){let t=!1;return(0,Q.default)(this,n)[n].subscribe(()=>{t?e():t=!0})}focusPath(e){(0,Q.default)(this,n)[n].focusPath(e)}focusFirstItem(){(0,Q.default)(this,n)[n].focusFirstItem()}focusLastItem(){(0,Q.default)(this,n)[n].focusLastItem()}focusNextItem(){(0,Q.default)(this,n)[n].focusNextItem()}focusPreviousItem(){(0,Q.default)(this,n)[n].focusPreviousItem()}focusParentItem(){(0,Q.default)(this,n)[n].focusParentItem()}scrollToPath(e,t){(0,Q.default)(this,n)[n].scrollToPath(e,t)}focusNearestPath(e){return(0,Q.default)(this,n)[n].focusNearestPath(e)}add(e){(0,Q.default)(this,n)[n].add(e)}batch(e){(0,Q.default)(this,n)[n].batch(e)}applyGitStatusPatch(e){const t=(0,le.applyFileTreeGitStatusPatch)((0,Q.default)(this,P)[P],e);if(t===(0,Q.default)(this,P)[P])return;(0,Q.default)(this,P)[P]=t;const l=(0,Q.default)(this,M)[M]();null!=l&&(0,ne.renderFileTreeRoot)(l.wrapper,(0,Q.default)(this,V)[V]())}move(e,t,l){(0,Q.default)(this,n)[n].move(e,t,l)}onMutation(e,t){return(0,Q.default)(this,n)[n].onMutation(e,t)}setSearch(e){(0,Q.default)(this,n)[n].setSearch(e)}openSearch(e){(0,Q.default)(this,n)[n].openSearch(e)}closeSearch(){(0,Q.default)(this,n)[n].closeSearch()}isSearchOpen(){return(0,Q.default)(this,n)[n].isSearchOpen()}getSearchValue(){return(0,Q.default)(this,n)[n].getSearchValue()}getSearchMatchingPaths(){return(0,Q.default)(this,n)[n].getSearchMatchingPaths()}focusNextSearchMatch(){(0,Q.default)(this,n)[n].focusNextSearchMatch()}focusPreviousSearchMatch(){(0,Q.default)(this,n)[n].focusPreviousSearchMatch()}startRenaming(e,t){return(0,Q.default)(this,n)[n].startRenaming(e,t)}remove(e,t){(0,Q.default)(this,n)[n].remove(e,t)}resetPaths(e,t){Array.isArray(e)?(0,Q.default)(this,n)[n].resetPaths(e,t):(0,Q.default)(this,n)[n].resetPaths(e)}setComposition(e){(0,Q.default)(this,s)[s]=e;const t=(0,Q.default)(this,M)[M]();null!=t&&((0,Q.default)(this,A)[A](),(0,ne.renderFileTreeRoot)(t.wrapper,(0,Q.default)(this,V)[V]()))}setGitStatus(e){const t=(0,le.resolveFileTreeGitStatusState)(e,(0,Q.default)(this,P)[P]);if(t===(0,Q.default)(this,P)[P])return;(0,Q.default)(this,P)[P]=t;const l=(0,Q.default)(this,M)[M]();null!=l&&(0,ne.renderFileTreeRoot)(l.wrapper,(0,Q.default)(this,V)[V]())}setIcons(e){(0,Q.default)(this,w)[w]=e;const t=(0,Q.default)(this,M)[M]();null!=t&&((0,Q.default)(this,B)[B](t.host,t.wrapper),(0,ne.renderFileTreeRoot)(t.wrapper,(0,Q.default)(this,V)[V]()))}hydrate({fileTreeContainer:e}){const t=(0,Q.default)(this,x)[x](e),l=(0,Q.default)(this,k)[k](t);(0,Q.default)(this,A)[A](),(0,ne.hydrateFileTreeRoot)(l,(0,Q.default)(this,V)[V]())}render({containerWrapper:e,fileTreeContainer:t}){const l=(0,Q.default)(this,x)[x](t??(0,Q.default)(this,T)[T],e),s=(0,Q.default)(this,k)[k](l);(0,Q.default)(this,A)[A](),(0,ne.renderFileTreeRoot)(s,(0,Q.default)(this,V)[V]())}}).LoadedCustomComponent=!0,l);function Pe(){return{initialViewportHeight:ce({initialVisibleRowCount:(0,Q.default)(this,b)[b].initialVisibleRowCount,itemHeight:(0,Q.default)(this,b)[b].itemHeight}),itemHeight:(0,Q.default)(this,b)[b].itemHeight,overscan:(0,Q.default)(this,b)[b].overscan,stickyFolders:(0,Q.default)(this,b)[b].stickyFolders}}function we(){return Object.assign({composition:(0,Q.default)(this,s)[s],controller:(0,Q.default)(this,n)[n],gitStatusByPath:(0,Q.default)(this,P)[P]?.statusByPath,ignoredGitDirectories:(0,Q.default)(this,P)[P]?.ignoredDirectoryPaths,directoriesWithGitChanges:(0,Q.default)(this,P)[P]?.directoriesWithChanges,icons:(0,Q.default)(this,w)[w],instanceId:(0,Q.default)(this,o)[o],renamingEnabled:(0,Q.default)(this,f)[f],renderRowDecoration:(0,Q.default)(this,h)[h],searchBlurBehavior:(0,Q.default)(this,c)[c],searchEnabled:(0,Q.default)(this,p)[p],searchFakeFocus:(0,Q.default)(this,S)[S],slotHost:(0,Q.default)(this,y)[y]},(0,Q.default)(this,_)[_]())}function Fe(){const e=(0,Q.default)(this,T)[T],t=(0,Q.default)(this,H)[H];return null==e||null==t?null:{host:e,wrapper:t}}function Ce(e,t){const l=e.shadowRoot;null!=l&&((0,Q.default)(this,D)[D](l),(0,Q.default)(this,L)[L](l)),(0,Q.default)(this,G)[G](t)}function Ee(){const e=(0,Q.default)(this,u)[u];if(null==e)return;const t=(0,Q.default)(this,n)[n].getSelectionVersion();t!==(0,Q.default)(this,O)[O]&&((0,Q.default)(this,O)[O]=t,e((0,Q.default)(this,n)[n].getSelectedPaths()))}function Oe(){const e=(0,Q.default)(this,s)[s]?.header?.render;null==e?(0,Q.default)(this,y)[y].setSlotHtml(K.HEADER_SLOT_NAME,(0,Q.default)(this,s)[s]?.header?.html??null):(0,Q.default)(this,y)[y].setSlotContent(K.HEADER_SLOT_NAME,e())}function Ie(e){const t=be(e).find(e=>ge(e)),l=pe((0,J.getBuiltInSpriteSheet)((0,X.normalizeFileTreeIcons)((0,Q.default)(this,w)[w]).set));null!=l&&(null!=t&&t.outerHTML===l.outerHTML||(null!=t?t.replaceWith(l):e.prepend(l)))}function He(e){const t=be(e),l=t.find(e=>ge(e)),s=t.filter(e=>e!==l),n=(0,X.normalizeFileTreeIcons)((0,Q.default)(this,w)[w]).spriteSheet?.trim()??"";if(0===n.length){for(const e of s)e.remove();return}const o=pe(n);if(null!=o){if(1!==s.length||s[0].outerHTML!==o.outerHTML){for(const e of s)e.remove();e.appendChild(o)}}else for(const e of s)e.remove()}function je(e){const t=(0,X.normalizeFileTreeIcons)((0,Q.default)(this,w)[w]);t.colored&&(0,J.isColoredBuiltInIconSet)(t.set)?e.dataset.fileTreeColoredIcons="true":delete e.dataset.fileTreeColoredIcons}function Re(e){const t=e.querySelector(`style[${K.FILE_TREE_UNSAFE_CSS_ATTRIBUTE}]`);if(null==(0,Q.default)(this,C)[C]&&t instanceof HTMLStyleElement&&((0,Q.default)(this,C)[C]=t),null==(0,Q.default)(this,F)[F]||""===(0,Q.default)(this,F)[F])return(0,Q.default)(this,C)[C]?.remove(),(0,Q.default)(this,C)[C]=void 0,void((0,Q.default)(this,E)[E]=void 0);(0,Q.default)(this,C)[C]?.parentNode===e&&(0,Q.default)(this,E)[E]===(0,Q.default)(this,F)[F]||((0,Q.default)(this,C)[C]??=document.createElement("style"),(0,Q.default)(this,C)[C].setAttribute(K.FILE_TREE_UNSAFE_CSS_ATTRIBUTE,""),(0,Q.default)(this,C)[C].parentNode!==e&&e.appendChild((0,Q.default)(this,C)[C]),(0,Q.default)(this,C)[C].textContent=(0,ie.wrapUnsafeCSS)((0,Q.default)(this,F)[F]),(0,Q.default)(this,E)[E]=(0,Q.default)(this,F)[F])}function Ve(e){if(null!=(0,Q.default)(this,H)[H])return(0,Q.default)(this,H)[H];const t=e.shadowRoot;if(null==t)throw new Error("FileTree requires a shadow root");const l=Array.from(t.children).filter(e=>e instanceof HTMLDivElement&&"string"==typeof e.dataset.fileTreeId&&e.dataset.fileTreeId.length>0),s=l.find(e=>e.dataset.fileTreeId===(0,Q.default)(this,o)[o])??l[0];return null!=s&&((0,Q.default)(this,o)[o]=s.dataset.fileTreeId??(0,Q.default)(this,o)[o]),(0,Q.default)(this,H)[H]=s??document.createElement("div"),(0,Q.default)(this,H)[H].dataset.fileTreeId=(0,Q.default)(this,o)[o],(0,Q.default)(this,H)[H].dataset.fileTreeVirtualizedWrapper="true",(0,Q.default)(this,B)[B](e,(0,Q.default)(this,H)[H]),(0,Q.default)(this,H)[H].parentNode!==t&&t.appendChild((0,Q.default)(this,H)[H]),(0,Q.default)(this,H)[H]}function Me(e,t){const l=e??(0,Q.default)(this,T)[T]??document.createElement("file-tree-container");null!=t&&l.parentNode!==t&&t.appendChild(l);const s=l.shadowRoot??l.attachShadow({mode:"open"});return(0,re.prepareFileTreeShadowRoot)(l,s),(0,Q.default)(this,N)[N](s),l.dataset.fileTreeVirtualized="true",l.style.display="flex",(0,Q.default)(this,U)[U](l),(0,Q.default)(this,y)[y].setHost(l),(0,Q.default)(this,T)[T]=l,l}function Be(e){""===e.style.getPropertyValue("--trees-item-height")&&(e.style.setProperty("--trees-item-height",`${String((0,Q.default)(this,v)[v].itemHeight)}px`),(0,Q.default)(this,j)[j]=!0),""===e.style.getPropertyValue("--trees-density-override")&&(e.style.setProperty("--trees-density-override",String((0,Q.default)(this,v)[v].factor)),(0,Q.default)(this,R)[R]=!0)}function $e(e){(0,Q.default)(this,j)[j]&&(e.style.removeProperty("--trees-item-height"),(0,Q.default)(this,j)[j]=!1),(0,Q.default)(this,R)[R]&&(e.style.removeProperty("--trees-density-override"),(0,Q.default)(this,R)[R]=!1)}function Ae(e){const{composition:l,density:s,fileTreeSearchMode:n,gitStatus:o,id:u,initialSearchQuery:h,icons:f,itemHeight:c,overscan:p,renderRowDecoration:S,renaming:y,search:v,searchBlurBehavior:b,searchFakeFocus:T,stickyFolders:P,unsafeCSS:w,initialVisibleRowCount:F}=e,C=(0,q.default)(e,t),E=(0,Z.resolveFileTreeDensity)(s,c),O=E.itemHeight,I=null!=(H=u)&&H.length>0?H:(he+=1,`pst_srv_${he}`);var H;const j=new ae.FileTreeController(Object.assign({},C,{fileTreeSearchMode:n,initialSearchQuery:h,renaming:y})),R=(0,le.resolveFileTreeGitStatusState)(o),_=ce({initialVisibleRowCount:F,itemHeight:O}),V=(0,X.normalizeFileTreeIcons)(f),M=V.spriteSheet?.trim()??"",B=V.colored&&(0,J.isColoredBuiltInIconSet)(V.set)?" data-file-tree-colored-icons=\"true\"":"",$=(0,ie.escapeStyleTextForHtml)((0,ie.wrapCoreCSS)(te.default)),A=null==w||""===w?"":`<style ${K.FILE_TREE_UNSAFE_CSS_ATTRIBUTE}>${(0,ie.escapeStyleTextForHtml)((0,ie.wrapUnsafeCSS)(w))}</style>`,D=(0,de.renderToString)((0,ue.h)(se.FileTreeView,{composition:l,controller:j,gitStatusByPath:R?.statusByPath,ignoredGitDirectories:R?.ignoredDirectoryPaths,directoriesWithGitChanges:R?.directoriesWithChanges,icons:f,instanceId:I,itemHeight:O,overscan:p,renamingEnabled:null!=y&&!1!==y,renderRowDecoration:S,searchBlurBehavior:b,searchEnabled:!0===v,searchFakeFocus:!0===T,stickyFolders:P,initialViewportHeight:_}));j.destroy();const L=`${(0,J.getBuiltInSpriteSheet)(V.set)}${M}<style ${K.FILE_TREE_STYLE_ATTRIBUTE}>${$}</style>${A}<div data-file-tree-id="${I}" data-file-tree-virtualized-wrapper="true"${B}>${D}</div>`,G=Se(l),N=`--trees-item-height:${String(O)}px;--trees-density-override:${String(E.factor)}`,k=ye(I,"declarative",N);return{domOuterStart:ye(I,"dom",N),id:I,outerEnd:ve(G),outerStart:k,shadowHtml:L}}},1240,[25,30,31,1210,1211,1213,1238,1239,1241,1242,1243,1245,1254,1257,1272,1273,1260,1274]);
34
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n}});var n="@layer base {\n :host {\n --trees-accent: var(--trees-accent-override, #009fff);\n --trees-fg: var(--trees-fg-override, var(--trees-theme-sidebar-fg, light-dark(#6c6c71, #adadb1)));\n --trees-fg-muted: var(--trees-fg-muted-override, var(--trees-theme-sidebar-header-fg, light-dark(#84848a, #84848a)));\n --trees-bg: var(--trees-bg-override, var(--trees-theme-sidebar-bg, light-dark(#f8f8f8, #141415)));\n --trees-bg-muted: var(--trees-bg-muted-override, var(--trees-theme-list-hover-bg, light-dark(color-mix(in lab,\n var(--trees-accent) var(--trees-bg-alpha-light, 8%),\n var(--trees-bg)), color-mix(in lab,\n var(--trees-accent) var(--trees-bg-alpha-dark, 10%),\n var(--trees-bg)))));\n --trees-input-bg: var(--trees-input-bg-override, light-dark(#f8f8f8, #070707));\n --trees-added-light: #16a994;\n --trees-added-dark: #00cab1;\n --trees-ignored-light: #adadb1;\n --trees-ignored-dark: #4a4a4e;\n --trees-modified-light: #1ca1c7;\n --trees-modified-dark: #08c0ef;\n --trees-renamed-light: #d5a910;\n --trees-renamed-dark: #ffd452;\n --trees-untracked-light: #16a994;\n --trees-untracked-dark: #00cab1;\n --trees-deleted-light: #ff2e3f;\n --trees-deleted-dark: #ff6762;\n --trees-border-color: var(--trees-border-color-override, var(--trees-theme-sidebar-border, light-dark(#eeeeef, #070707)));\n --trees-indent-guide-bg: var(--trees-indent-guide-bg-override, color-mix(in lab, var(--trees-fg-muted) 25%, transparent));\n --trees-density: var(--trees-density-override, 1);\n --trees-border-radius: var(--trees-border-radius-override, calc(6px * var(--trees-density)));\n --trees-font-family: var(--trees-font-family-override, system-ui);\n --trees-font-size: var(--trees-font-size-override, 13px);\n --trees-font-weight-regular: var(--trees-font-weight-regular-override, 400);\n --trees-font-weight-semibold: var(--trees-font-weight-semibold-override, 600);\n --trees-focus-ring-color: var(--trees-focus-ring-color-override, var(--trees-theme-focus-ring, var(--trees-accent)));\n --trees-focus-ring-width: var(--trees-focus-ring-width-override, 1px);\n --trees-focus-ring-offset: var(--trees-focus-ring-offset-override, -1px);\n --trees-search-fg: var(--trees-search-fg-override, var(--trees-theme-input-fg, var(--trees-fg)));\n --trees-search-font-weight: var(--trees-search-font-weight-override, 600);\n --trees-search-bg: var(--trees-search-bg-override, var(--trees-theme-input-bg, var(--trees-input-bg)));\n --trees-scrollbar-thumb: var(--trees-scrollbar-thumb-override, var(--trees-theme-scrollbar-thumb, color-mix(in lab, var(--trees-fg) 25%, var(--trees-bg))));\n --trees-selected-fg: var(--trees-selected-fg-override, var(--trees-theme-list-active-selection-fg, var(--trees-fg)));\n --trees-selected-bg: var(--trees-selected-bg-override, var(--trees-theme-list-active-selection-bg, light-dark(color-mix(in lab, var(--trees-accent) 12%, var(--trees-bg)), color-mix(in lab, var(--trees-accent) 15%, var(--trees-bg)))));\n --trees-selected-focused-border-color: var(--trees-selected-focused-border-color-override, var(--trees-theme-focus-ring, var(--trees-accent)));\n --trees-status-added: var(--trees-status-added-override, var(--trees-theme-git-added-fg, light-dark(var(--trees-added-light), var(--trees-added-dark))));\n --trees-status-ignored: var(--trees-status-ignored-override, var(--trees-theme-git-ignored-fg, light-dark(var(--trees-ignored-light), var(--trees-ignored-dark))));\n --trees-status-modified: var(--trees-status-modified-override, var(--trees-theme-git-modified-fg, light-dark(var(--trees-modified-light), var(--trees-modified-dark))));\n --trees-status-renamed: var(--trees-status-renamed-override, var(--trees-theme-git-renamed-fg, light-dark(var(--trees-renamed-light), var(--trees-renamed-dark))));\n --trees-status-untracked: var(--trees-status-untracked-override, var(--trees-theme-git-untracked-fg, light-dark(var(--trees-untracked-light), var(--trees-untracked-dark))));\n --trees-status-deleted: var(--trees-status-deleted-override, var(--trees-theme-git-deleted-fg, light-dark(var(--trees-deleted-light), var(--trees-deleted-dark))));\n --trees-git-modified-color: var(--trees-git-modified-color-override, var(--trees-status-modified));\n --trees-git-added-color: var(--trees-git-added-color-override, var(--trees-status-added));\n --trees-git-ignored-color: var(--trees-git-ignored-color-override, var(--trees-status-ignored));\n --trees-git-deleted-color: var(--trees-git-deleted-color-override, var(--trees-status-deleted));\n --trees-git-renamed-color: var(--trees-git-renamed-color-override, var(--trees-status-renamed));\n --trees-git-untracked-color: var(--trees-git-untracked-color-override, var(--trees-status-untracked));\n --trees-icon-gray: light-dark(#84848a, #adadb1);\n --trees-icon-red: light-dark(#d52c36, #ff6762);\n --trees-icon-vermilion: light-dark(#ff8c5b, #d5512f);\n --trees-icon-orange: light-dark(#d47628, #ffa359);\n --trees-icon-yellow: light-dark(#d5a910, #ffd452);\n --trees-icon-green: light-dark(#199f43, #5ecc71);\n --trees-icon-teal: light-dark(#17a5af, #64d1db);\n --trees-icon-cyan: light-dark(#1ca1c7, #68cdf2);\n --trees-icon-blue: light-dark(#1a85d4, #69b1ff);\n --trees-icon-indigo: light-dark(#693acf, #9d6afb);\n --trees-icon-purple: light-dark(#a631be, #d568ea);\n --trees-icon-pink: light-dark(#d32a61, #ff678d);\n --trees-icon-mauve: light-dark(#594c5b, #79697b);\n --trees-file-icon-color-default: var(--trees-file-icon-color, var(--trees-icon-gray));\n --trees-file-icon-color-astro: var(--trees-file-icon-color, var(--trees-icon-purple));\n --trees-file-icon-color-babel: var(--trees-file-icon-color, var(--trees-icon-yellow));\n --trees-file-icon-color-bash: var(--trees-file-icon-color, var(--trees-icon-green));\n --trees-file-icon-color-biome: var(--trees-file-icon-color, var(--trees-icon-blue));\n --trees-file-icon-color-bootstrap: var(--trees-file-icon-color, var(--trees-icon-indigo));\n --trees-file-icon-color-browserslist: var(--trees-file-icon-color, var(--trees-icon-yellow));\n --trees-file-icon-color-bun: var(--trees-file-icon-color, var(--trees-icon-mauve));\n --trees-file-icon-color-c: var(--trees-file-icon-color, var(--trees-icon-blue));\n --trees-file-icon-color-cpp: var(--trees-file-icon-color, var(--trees-icon-blue));\n --trees-file-icon-color-claude: var(--trees-file-icon-color, var(--trees-icon-orange));\n --trees-file-icon-color-css: var(--trees-file-icon-color, var(--trees-icon-indigo));\n --trees-file-icon-color-database: var(--trees-file-icon-color, var(--trees-icon-purple));\n --trees-file-icon-color-docker: var(--trees-file-icon-color, var(--trees-icon-blue));\n --trees-file-icon-color-eslint: var(--trees-file-icon-color, var(--trees-icon-indigo));\n --trees-file-icon-color-git: var(--trees-file-icon-vermilion, var(--trees-icon-vermilion));\n --trees-file-icon-color-go: var(--trees-file-icon-color, var(--trees-icon-cyan));\n --trees-file-icon-color-graphql: var(--trees-file-icon-color, var(--trees-icon-pink));\n --trees-file-icon-color-html: var(--trees-file-icon-color, var(--trees-icon-orange));\n --trees-file-icon-color-image: var(--trees-file-icon-color, var(--trees-icon-pink));\n --trees-file-icon-color-javascript: var(--trees-file-icon-color, var(--trees-icon-yellow));\n --trees-file-icon-color-json: var(--trees-file-icon-color, var(--trees-icon-orange));\n --trees-file-icon-color-markdown: var(--trees-file-icon-color, var(--trees-icon-green));\n --trees-file-icon-color-mcp: var(--trees-file-icon-color, var(--trees-icon-teal));\n --trees-file-icon-color-npm: var(--trees-file-icon-color, var(--trees-icon-red));\n --trees-file-icon-color-oxc: var(--trees-file-icon-cyan, var(--trees-icon-cyan));\n --trees-file-icon-color-postcss: var(--trees-file-icon-color, var(--trees-icon-red));\n --trees-file-icon-color-prettier: var(--trees-file-icon-color, var(--trees-icon-teal));\n --trees-file-icon-color-python: var(--trees-file-icon-color, var(--trees-icon-blue));\n --trees-file-icon-color-react: var(--trees-file-icon-color, var(--trees-icon-cyan));\n --trees-file-icon-color-ruby: var(--trees-file-icon-color, var(--trees-icon-red));\n --trees-file-icon-color-rust: var(--trees-file-icon-color, var(--trees-icon-orange));\n --trees-file-icon-color-sass: var(--trees-file-icon-color, var(--trees-icon-pink));\n --trees-file-icon-color-svg: var(--trees-file-icon-color, var(--trees-icon-orange));\n --trees-file-icon-color-svelte: var(--trees-file-icon-color, var(--trees-icon-red));\n --trees-file-icon-color-svgo: var(--trees-file-icon-color, var(--trees-icon-green));\n --trees-file-icon-color-swift: var(--trees-file-icon-color, var(--trees-icon-orange));\n --trees-file-icon-color-table: var(--trees-file-icon-color, var(--trees-icon-teal));\n --trees-file-icon-color-text: var(--trees-file-icon-color, var(--trees-icon-gray));\n --trees-file-icon-color-tailwind: var(--trees-file-icon-color, var(--trees-icon-cyan));\n --trees-file-icon-color-terraform: var(--trees-file-icon-color, var(--trees-icon-indigo));\n --trees-file-icon-color-typescript: var(--trees-file-icon-color, var(--trees-icon-blue));\n --trees-file-icon-color-vite: var(--trees-file-icon-color, var(--trees-icon-purple));\n --trees-file-icon-color-vscode: var(--trees-file-icon-color, var(--trees-icon-blue));\n --trees-file-icon-color-vue: var(--trees-file-icon-color, var(--trees-icon-green));\n --trees-file-icon-color-wasm: var(--trees-file-icon-color, var(--trees-icon-indigo));\n --trees-file-icon-color-webpack: var(--trees-file-icon-color, var(--trees-icon-blue));\n --trees-file-icon-color-yml: var(--trees-file-icon-color, var(--trees-icon-red));\n --trees-file-icon-color-zig: var(--trees-file-icon-color, var(--trees-icon-orange));\n --trees-file-icon-color-zip: var(--trees-file-icon-color, var(--trees-icon-orange));\n --trees-level-gap: var(--trees-level-gap-override, calc(8px * var(--trees-density)));\n --trees-item-padding-x: var(--trees-item-padding-x-override, calc(8px * var(--trees-density)));\n --trees-item-margin-x: var(--trees-item-margin-x-override, calc(2px * var(--trees-density)));\n --trees-item-row-gap: var(--trees-item-row-gap-override, calc(6px * var(--trees-density)));\n --trees-icon-width: var(--trees-icon-width-override, 16px);\n --trees-icon-nudge: var(--trees-icon-nudge-override, calc(1px * var(--trees-density)));\n --trees-row-height: var(--trees-item-height, 30px);\n --trees-git-lane-width: var(--trees-git-lane-width-override, 12px);\n --trees-action-lane-width: var(--trees-action-lane-width-override, calc(var(--trees-icon-width) + 2px));\n --trees-context-menu-trigger-inline-offset: calc(var(--trees-padding-inline) + var(--trees-item-padding-x) -\n var(--trees-focus-ring-width));\n --trees-scrollbar-gutter: var(--trees-scrollbar-gutter-override, 6px);\n --trees-padding-inline: var(--trees-padding-inline-override, 16px);\n color-scheme: light dark;\n font-size: var(--trees-font-size);\n color: var(--trees-fg);\n background-color: var(--trees-bg);\n --truncate-marker-background-color: var(--trees-bg);\n --truncate-marker-background-overlay-color: transparent;\n font-family: var(--trees-font-family);\n font-weight: var(--trees-font-weight-regular);\n flex-direction: column;\n display: flex;\n }\n\n :host([data-file-tree-virtualized=\"true\"]) {\n height: 100%;\n overflow: hidden;\n }\n\n [data-file-tree-virtualized-wrapper=\"true\"], [data-file-tree-virtualized-root=\"true\"] {\n flex-direction: column;\n height: 100%;\n display: flex;\n overflow: hidden;\n }\n\n [data-file-tree-virtualized-scroll=\"true\"], [data-file-tree-scrollbar-measure=\"true\"] {\n --trees-scrollbar-thumb-current: transparent;\n scrollbar-gutter: stable;\n overflow-y: auto;\n\n &:hover {\n --trees-scrollbar-thumb-current: var(--trees-scrollbar-thumb);\n }\n\n &::-webkit-scrollbar {\n width: var(--trees-scrollbar-gutter);\n height: var(--trees-scrollbar-gutter);\n }\n\n &::-webkit-scrollbar-track {\n background: none;\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: var(--trees-scrollbar-thumb-current);\n border-radius: calc(var(--trees-scrollbar-gutter) / 2);\n background-clip: content-box;\n border: 1px solid #0000;\n }\n\n &::-webkit-scrollbar-corner {\n background-color: #0000;\n }\n }\n\n [data-file-tree-scrollbar-measure=\"true\"] {\n visibility: hidden;\n pointer-events: none;\n width: 100px;\n height: 100px;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n @supports ((-moz-appearance: none)) {\n [data-file-tree-virtualized-scroll=\"true\"], [data-file-tree-scrollbar-measure=\"true\"] {\n scrollbar-width: thin;\n scrollbar-color: var(--trees-scrollbar-thumb-current) transparent;\n }\n }\n\n [data-file-tree-virtualized-scroll=\"true\"] {\n min-height: 0;\n padding-inline: max(calc(var(--trees-padding-inline) - var(--trees-item-margin-x)),\n 0px)\n /* NOTE(amadeus): We can assume that all Webkit based browser gutters\n * will align to the value of '--trees-scrollbar-gutter', however if not, then\n * `--trees-scrollbar-gutter-measured` should correct it. Mostly we are\n * hoping to avoid SSR alignment jumps if possible. In non-SSR'd environments\n * `--trees-scrollbar-gutter-measured` should always be immediately available.\n */\n max(calc(var(--trees-padding-inline) - var(--trees-item-margin-x) -\n var(--trees-scrollbar-gutter-measured, var(--trees-scrollbar-gutter))),\n 0px);\n flex: 1 1 0;\n position: relative;\n overflow-y: auto;\n }\n\n @supports ((-moz-appearance: none)) {\n [data-file-tree-virtualized-scroll=\"true\"] {\n padding-inline: max(calc(var(--trees-padding-inline) - var(--trees-item-margin-x)),\n 0px)\n /* NOTE(amadeus): However on Firefox it can vary a little bit, but most\n * likely the majority of cases will default to a 0px width scrollbar lets\n * inherit that first to avoid SSR jumps. In non-SSR'd environments\n * `--trees-scrollbar-gutter-measured` should always be immediately available.\n */\n max(calc(var(--trees-padding-inline) - var(--trees-item-margin-x) -\n var(--trees-scrollbar-gutter-measured, 0px)),\n 0px);\n }\n }\n\n [data-file-tree-sticky-overlay=\"true\"] {\n z-index: 4;\n pointer-events: none;\n height: 0;\n position: sticky;\n top: 0;\n overflow: visible;\n }\n\n [data-file-tree-virtualized-root=\"true\"][data-scroll-at-top=\"true\"]:not([data-overlay-reveal]) [data-file-tree-sticky-overlay=\"true\"] {\n visibility: hidden;\n }\n\n [data-file-tree-sticky-overlay-content=\"true\"] {\n background-color: var(--trees-bg);\n pointer-events: none;\n position: relative;\n }\n\n [data-file-tree-virtualized-list=\"true\"] {\n background-color: var(--trees-bg);\n overflow-anchor: none;\n width: 100%;\n min-height: 100%;\n position: relative;\n\n &[data-is-scrolling] {\n pointer-events: none;\n }\n }\n\n [data-file-tree-virtualized-sticky-offset=\"true\"] {\n contain: layout size;\n }\n\n [data-file-tree-virtualized-sticky=\"true\"] {\n isolation: isolate;\n will-change: transform;\n flex-direction: column;\n width: 100%;\n display: flex;\n position: sticky;\n top: 0;\n }\n\n [data-file-tree-search-container] {\n padding: 0;\n padding-inline: var(--trees-padding-inline);\n margin-bottom: var(--trees-item-row-gap);\n display: flex;\n }\n\n [data-file-tree-search-input] {\n --trees-focus-ring-width: 2px;\n font-family: var(--trees-font-family);\n font-size: var(--trees-font-size);\n height: var(--trees-row-height);\n padding-inline: var(--trees-item-padding-x);\n line-height: var(--trees-row-height);\n color: var(--trees-search-fg);\n background-color: var(--trees-search-bg);\n border: 1px solid var(--trees-border-color);\n border-radius: var(--trees-border-radius);\n outline: none;\n flex: 1;\n margin-block: 1px;\n\n &::placeholder {\n color: color-mix(in lab,\n var(--trees-search-fg) 65%,\n var(--trees-search-bg));\n }\n\n &:focus-visible, &[data-file-tree-search-input-fake-focus=\"true\"] {\n outline: var(--trees-focus-ring-width) solid var(--trees-focus-ring-color);\n outline-offset: var(--trees-focus-ring-offset);\n }\n }\n\n [role=\"tree\"] {\n gap: var(--trees-gap-override, 0);\n flex-direction: column;\n display: flex;\n position: relative;\n }\n\n [data-type=\"item\"] {\n color: inherit;\n font-family: var(--trees-font-family);\n font-size: var(--trees-font-size);\n text-align: start;\n background-color: var(--trees-bg);\n padding: 0 var(--trees-item-padding-x);\n margin: 0 var(--trees-item-margin-x);\n cursor: pointer;\n user-select: none;\n -webkit-touch-callout: none;\n touch-action: manipulation;\n flex: 0 0 var(--trees-row-height);\n height: var(--trees-row-height);\n line-height: var(--trees-row-height);\n align-items: center;\n gap: var(--trees-item-row-gap);\n border-radius: var(--trees-border-radius);\n --truncate-marker-background-color: var(--trees-bg);\n --truncate-marker-background-overlay-color: transparent;\n --truncate-marker-block-inset: 0px;\n border: none;\n outline: none;\n display: flex;\n position: relative;\n\n &:hover, &[data-item-context-hover=\"true\"] {\n background-color: var(--trees-bg-muted);\n --truncate-marker-background-overlay-color: var(--trees-bg-muted);\n }\n\n &[data-item-focused=\"true\"], &:focus-visible {\n z-index: 2;\n\n & [data-item-flattened-subitems] {\n --truncate-marker-block-inset: var(--trees-focus-ring-width);\n }\n\n &:before {\n content: \"\";\n border-radius: var(--trees-border-radius);\n outline: var(--trees-focus-ring-width) solid\n var(--trees-focus-ring-color);\n outline-offset: var(--trees-focus-ring-offset);\n pointer-events: none;\n display: block;\n position: absolute;\n inset: 0;\n }\n\n &[data-item-selected=\"true\"]:before {\n outline-color: var(--trees-selected-focused-border-color);\n }\n }\n\n &[data-item-selected=\"true\"] {\n color: var(--trees-selected-fg);\n background-color: var(--trees-selected-bg);\n --truncate-marker-background-overlay-color: var(--trees-selected-bg);\n z-index: 3;\n\n & [data-item-section=\"icon\"] {\n color: var(--trees-selected-fg);\n }\n }\n\n &[data-item-search-match=\"true\"] {\n font-weight: var(--trees-search-font-weight);\n }\n }\n\n [data-type=\"item\"][data-file-tree-sticky-row=\"true\"] {\n pointer-events: auto;\n }\n\n [data-file-tree-virtualized-root=\"true\"][data-is-scrolling] [data-type=\"item\"][data-file-tree-sticky-row=\"true\"] {\n pointer-events: none;\n }\n\n [data-file-tree-virtualized-root=\"true\"][data-is-scrolling] [data-type=\"item\"][data-file-tree-sticky-row=\"true\"]:hover:not([data-item-selected=\"true\"]), [data-file-tree-virtualized-root=\"true\"][data-is-scrolling] [data-type=\"item\"][data-file-tree-sticky-row=\"true\"][data-item-context-hover=\"true\"]:not([data-item-selected=\"true\"]) {\n background-color: var(--trees-bg);\n --truncate-marker-background-overlay-color: transparent;\n }\n\n [data-item-selected=\"true\"]:has( + [data-item-selected=\"true\"]) {\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n }\n\n [data-item-selected=\"true\"] + [data-item-selected=\"true\"] {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n }\n\n [data-item-flattened-subitems] {\n align-items: center;\n gap: 2px;\n display: inline-flex;\n }\n\n [data-item-flattened-subitem]:hover, [data-item-flattened-subitem-drag-target=\"true\"] {\n text-decoration: underline;\n }\n\n [data-item-section=\"icon\"] {\n color: var(--trees-fg-muted);\n fill: currentColor;\n width: var(--trees-icon-width);\n flex-shrink: 0;\n justify-content: center;\n align-items: center;\n display: flex;\n }\n\n :where([data-item-section=\"icon\"] > [data-icon-token]) {\n color: var(--trees-fg-muted);\n }\n\n [data-file-tree-colored-icons=\"true\"] {\n & [data-icon-token=\"astro\"] {\n color: var(--trees-file-icon-color-astro);\n }\n\n & [data-icon-token=\"babel\"] {\n color: var(--trees-file-icon-color-babel);\n }\n\n & [data-icon-token=\"bash\"] {\n color: var(--trees-file-icon-color-bash);\n }\n\n & [data-icon-token=\"biome\"] {\n color: var(--trees-file-icon-color-biome);\n }\n\n & [data-icon-token=\"bootstrap\"] {\n color: var(--trees-file-icon-color-bootstrap);\n }\n\n & [data-icon-token=\"browserslist\"] {\n color: var(--trees-file-icon-color-browserslist);\n }\n\n & [data-icon-token=\"bun\"] {\n color: var(--trees-file-icon-color-bun);\n }\n\n & [data-icon-token=\"c\"] {\n color: var(--trees-file-icon-color-c);\n }\n\n & [data-icon-token=\"cpp\"] {\n color: var(--trees-file-icon-color-cpp);\n }\n\n & [data-icon-token=\"claude\"] {\n color: var(--trees-file-icon-color-claude);\n }\n\n & [data-icon-token=\"css\"] {\n color: var(--trees-file-icon-color-css);\n }\n\n & [data-icon-token=\"database\"] {\n color: var(--trees-file-icon-color-database);\n }\n\n & [data-icon-token=\"default\"] {\n color: var(--trees-file-icon-color-default);\n }\n\n & [data-icon-token=\"docker\"] {\n color: var(--trees-file-icon-color-docker);\n }\n\n & [data-icon-token=\"eslint\"] {\n color: var(--trees-file-icon-color-eslint);\n }\n\n & [data-icon-token=\"git\"] {\n color: var(--trees-file-icon-color-git);\n }\n\n & [data-icon-token=\"go\"] {\n color: var(--trees-file-icon-color-go);\n }\n\n & [data-icon-token=\"graphql\"] {\n color: var(--trees-file-icon-color-graphql);\n }\n\n & [data-icon-token=\"html\"] {\n color: var(--trees-file-icon-color-html);\n }\n\n & [data-icon-token=\"image\"] {\n color: var(--trees-file-icon-color-image);\n }\n\n & [data-icon-token=\"javascript\"] {\n color: var(--trees-file-icon-color-javascript);\n }\n\n & [data-icon-token=\"json\"] {\n color: var(--trees-file-icon-color-json);\n }\n\n & [data-icon-token=\"markdown\"] {\n color: var(--trees-file-icon-color-markdown);\n }\n\n & [data-icon-token=\"mcp\"] {\n color: var(--trees-file-icon-color-mcp);\n }\n\n & [data-icon-token=\"npm\"] {\n color: var(--trees-file-icon-color-npm);\n }\n\n & [data-icon-token=\"oxc\"] {\n color: var(--trees-file-icon-color-oxc);\n }\n\n & [data-icon-token=\"postcss\"] {\n color: var(--trees-file-icon-color-postcss);\n }\n\n & [data-icon-token=\"prettier\"] {\n color: var(--trees-file-icon-color-prettier);\n }\n\n & [data-icon-token=\"python\"] {\n color: var(--trees-file-icon-color-python);\n }\n\n & [data-icon-token=\"react\"] {\n color: var(--trees-file-icon-color-react);\n }\n\n & [data-icon-token=\"ruby\"] {\n color: var(--trees-file-icon-color-ruby);\n }\n\n & [data-icon-token=\"rust\"] {\n color: var(--trees-file-icon-color-rust);\n }\n\n & [data-icon-token=\"sass\"] {\n color: var(--trees-file-icon-color-sass);\n }\n\n & [data-icon-token=\"svg\"] {\n color: var(--trees-file-icon-color-svg);\n }\n\n & [data-icon-token=\"svelte\"] {\n color: var(--trees-file-icon-color-svelte);\n }\n\n & [data-icon-token=\"svgo\"] {\n color: var(--trees-file-icon-color-svgo);\n }\n\n & [data-icon-token=\"swift\"] {\n color: var(--trees-file-icon-color-swift);\n }\n\n & [data-icon-token=\"table\"] {\n color: var(--trees-file-icon-color-table);\n }\n\n & [data-icon-token=\"text\"] {\n color: var(--trees-file-icon-color-text);\n }\n\n & [data-icon-token=\"tailwind\"] {\n color: var(--trees-file-icon-color-tailwind);\n }\n\n & [data-icon-token=\"terraform\"] {\n color: var(--trees-file-icon-color-terraform);\n }\n\n & [data-icon-token=\"typescript\"] {\n color: var(--trees-file-icon-color-typescript);\n }\n\n & [data-icon-token=\"vite\"] {\n color: var(--trees-file-icon-color-vite);\n }\n\n & [data-icon-token=\"vscode\"] {\n color: var(--trees-file-icon-color-vscode);\n }\n\n & [data-icon-token=\"vue\"] {\n color: var(--trees-file-icon-color-vue);\n }\n\n & [data-icon-token=\"wasm\"] {\n color: var(--trees-file-icon-color-wasm);\n }\n\n & [data-icon-token=\"webpack\"] {\n color: var(--trees-file-icon-color-webpack);\n }\n\n & [data-icon-token=\"yml\"] {\n color: var(--trees-file-icon-color-yml);\n }\n\n & [data-icon-token=\"zig\"] {\n color: var(--trees-file-icon-color-zig);\n }\n\n & [data-icon-token=\"zip\"] {\n color: var(--trees-file-icon-color-zip);\n }\n }\n\n [data-icon-name=\"file-tree-icon-chevron\"] {\n &[data-align-capitals=\"false\"] {\n transform: translate(0, var(--trees-icon-nudge));\n }\n\n &[data-align-capitals=\"true\"] {\n transform: translate(0);\n }\n }\n\n [data-item-section=\"content\"] {\n text-align: start;\n text-overflow: ellipsis;\n flex: 0 auto;\n min-width: 0;\n max-width: 100%;\n overflow: hidden;\n }\n\n [data-item-section=\"decoration\"] {\n text-align: end;\n min-width: 0;\n color: var(--trees-fg-muted);\n flex: 1 1 0;\n justify-content: flex-end;\n display: flex;\n overflow: hidden;\n }\n\n [data-item-section=\"decoration\"] > span {\n text-overflow: ellipsis;\n white-space: nowrap;\n justify-content: flex-end;\n align-items: center;\n min-width: 0;\n max-width: 100%;\n display: inline-flex;\n overflow: hidden;\n }\n\n [data-item-section=\"git\"], [data-item-section=\"action\"] {\n flex: none;\n justify-content: center;\n align-items: center;\n display: flex;\n }\n\n [data-item-section=\"git\"] {\n width: var(--trees-git-lane-width);\n }\n\n [data-item-section=\"action\"] {\n width: var(--trees-action-lane-width);\n color: var(--trees-fg-muted);\n fill: currentColor;\n pointer-events: none;\n }\n\n [data-item-section=\"git\"] > span, [data-item-section=\"action\"] > span {\n justify-content: center;\n align-items: center;\n width: 100%;\n display: inline-flex;\n }\n\n [data-item-action-affordance=\"decorative\"] {\n opacity: .85;\n }\n\n [data-item-rename-input] {\n appearance: none;\n width: 100%;\n min-width: 0;\n height: calc(var(--trees-row-height) - 4px);\n font-family: inherit;\n font-size: inherit;\n color: inherit;\n box-sizing: border-box;\n background-color: #0000;\n border: 0;\n outline: none;\n padding-inline: 6px;\n }\n\n [data-item-section=\"content\"]:has([data-item-rename-input]) ~ [data-item-section=\"action\"], [data-item-section=\"content\"]:has([data-item-rename-input]) ~ [data-item-section=\"decoration\"] {\n display: none;\n }\n\n [aria-expanded=\"false\"][data-item-type=\"folder\"] > [data-item-section=\"icon\"] > [data-icon-name=\"file-tree-icon-chevron\"] {\n &[data-align-capitals=\"true\"] {\n transform: rotate(-90deg)\n translate(calc(var(--trees-icon-nudge) / 2),\n calc(var(--trees-icon-nudge) / 2));\n }\n\n &[data-align-capitals=\"false\"] {\n transform: rotate(-90deg)\n translate(calc(var(--trees-icon-nudge) / 2 * -1),\n calc(var(--trees-icon-nudge) / 2));\n }\n }\n\n [data-item-section=\"spacing\"] {\n height: var(--trees-row-height);\n padding-left: calc(calc(var(--trees-icon-width) / 2) - .5px);\n flex-direction: row;\n justify-content: center;\n align-items: center;\n display: flex;\n\n &:empty {\n padding-left: 0;\n }\n }\n\n [data-item-section=\"spacing-item\"] {\n border-left: 1px solid var(--trees-indent-guide-bg);\n height: 100%;\n margin-right: calc(var(--trees-level-gap) - 1px);\n opacity: 0;\n transition: opacity .15s;\n display: inline-block;\n transform: translateX(-.25px);\n\n & + & {\n margin-left: calc(var(--trees-item-row-gap) + calc(var(--trees-icon-width) / 2) - .5px);\n }\n }\n\n :host(:hover) [data-item-section=\"spacing-item\"] {\n opacity: .75;\n }\n\n [data-item-contains-git-change=\"true\"] > [data-item-section=\"git\"] {\n color: var(--trees-git-modified-color);\n opacity: .5;\n fill: currentColor;\n }\n\n [data-item-git-status] {\n & > :where([data-item-section=\"icon\"]) > :where(:not([data-icon-name=\"file-tree-icon-chevron\"])), & > [data-item-section=\"content\"] {\n color: var(--trees-item-git-status-color);\n }\n\n & > [data-item-section=\"git\"] {\n color: var(--trees-item-git-status-color);\n font-weight: var(--trees-font-weight-semibold);\n }\n }\n\n [data-item-git-status=\"added\"] {\n --trees-item-git-status-color: var(--trees-git-added-color);\n }\n\n [data-item-git-status=\"deleted\"] {\n --trees-item-git-status-color: var(--trees-git-deleted-color);\n }\n\n [data-item-git-status=\"ignored\"] {\n --trees-item-git-status-color: var(--trees-git-ignored-color);\n\n & > [data-item-section=\"icon\"] {\n opacity: .5;\n }\n }\n\n [data-item-section=\"git\"] [data-icon-name=\"file-tree-icon-dot\"] {\n transform: translateY(calc(.65ex - 50%));\n }\n\n [data-item-git-status=\"modified\"] {\n --trees-item-git-status-color: var(--trees-git-modified-color);\n }\n\n [data-item-git-status=\"renamed\"] {\n --trees-item-git-status-color: var(--trees-git-renamed-color);\n }\n\n [data-item-git-status=\"untracked\"] {\n --trees-item-git-status-color: var(--trees-git-untracked-color);\n }\n\n [data-item-drag-target=\"true\"] {\n background-color: var(--trees-selected-bg);\n }\n\n [data-item-dragging=\"true\"] {\n opacity: .5;\n }\n\n [data-item-section=\"lock\"] {\n color: var(--trees-fg-muted);\n flex: none;\n align-items: center;\n margin-left: auto;\n display: flex;\n }\n\n [data-item-section=\"lock\"] svg {\n display: block;\n }\n\n [data-type=\"header-slot\"] {\n flex: none;\n display: block;\n }\n\n [data-type=\"context-menu-wash\"] {\n z-index: 3;\n touch-action: none;\n background-color: #0000;\n position: absolute;\n inset: 0;\n }\n\n [data-type=\"context-menu-anchor\"] {\n top: 0;\n right: var(--trees-context-menu-trigger-inline-offset);\n z-index: 4;\n align-items: center;\n display: none;\n position: absolute;\n\n &[data-visible=\"true\"] {\n display: flex;\n }\n }\n\n [data-file-tree-virtualized-root=\"true\"][data-is-scrolling] [data-type=\"context-menu-anchor\"] {\n display: none;\n }\n\n [data-type=\"context-menu-anchor\"] > slot[name=\"context-menu\"] {\n flex: 0 0 0;\n width: 0;\n min-width: 0;\n display: block;\n overflow: visible;\n }\n\n [data-type=\"context-menu-trigger\"] {\n all: unset;\n width: var(--trees-action-lane-width);\n color: var(--trees-fg-muted);\n fill: currentColor;\n cursor: pointer;\n font-family: var(--trees-font-family);\n font-size: var(--trees-font-size);\n border-top-right-radius: var(--trees-border-radius);\n border-bottom-right-radius: var(--trees-border-radius);\n margin: var(--trees-focus-ring-width);\n height: calc(var(--trees-row-height) - var(--trees-focus-ring-width) * 2);\n border-width: 0;\n justify-content: center;\n align-items: center;\n transition: color .12s;\n display: flex;\n }\n\n [data-type=\"context-menu-trigger\"]:hover, [data-type=\"context-menu-trigger\"][aria-expanded=\"true\"] {\n color: var(--trees-fg);\n }\n\n [data-truncate-container] {\n --truncate-internal-marker-fade-width: var(--truncate-marker-fade-width, 2px);\n --truncate-internal-marker-gap: var(--truncate-marker-gap, 0px);\n --truncate-internal-marker-opacity: var(--truncate-marker-opacity, 50%);\n --truncate-internal-middle-marker-opacity: var(--truncate-middle-marker-opacity, 80%);\n --truncate-internal-marker-background-color: var(--truncate-marker-background-color, light-dark(#fff, #000));\n --truncate-internal-marker-background-overlay-color: var(--truncate-marker-background-overlay-color, transparent);\n --truncate-internal-marker-block-inset: var(--truncate-marker-block-inset, 0px);\n --truncate-internal-marker-fade-out-duration: var(--truncate-marker-fade-out-duration, 0s);\n --truncate-internal-marker-fade-in-duration: var(--truncate-marker-fade-in-duration, .1s);\n --truncate-internal-fade-marker-color: var(--truncate-fade-marker-color, #000);\n --truncate-internal-fade-marker-width: var(--truncate-fade-marker-width, .2lh);\n --truncate-internal-single-line-height: 1lh;\n height: var(--truncate-internal-single-line-height);\n min-width: 0;\n margin-top: -1px;\n margin-bottom: -1px;\n overflow: hidden;\n }\n\n [data-truncate-marker] {\n height: var(--truncate-internal-single-line-height);\n padding-block: var(--truncate-internal-marker-block-inset);\n box-sizing: border-box;\n z-index: 2;\n color: color-mix(in srgb,\n currentColor var(--truncate-internal-marker-opacity),\n transparent);\n opacity: 0;\n transition: opacity var(--truncate-internal-marker-fade-out-duration)\n ease-in-out;\n background-clip: content-box;\n align-items: center;\n display: flex;\n position: absolute;\n }\n\n @container measure (height > 1lh) {\n [data-truncate-marker] {\n opacity: 1;\n transition: opacity var(--truncate-internal-marker-fade-in-duration)\n ease-in-out;\n }\n }\n\n [data-truncate-grid] {\n display: grid;\n position: relative;\n }\n\n [data-truncate-content=\"visible\"] {\n white-space: nowrap;\n }\n\n [data-truncate-content=\"overflow\"] {\n opacity: 0;\n pointer-events: none;\n user-select: none;\n word-break: break-all;\n margin-top: calc(-1 * var(--truncate-internal-single-line-height));\n }\n\n [data-truncate-marker-cell] {\n user-select: none;\n pointer-events: none;\n overflow: visible;\n container: measure / size;\n }\n\n [data-truncate-container=\"truncate\"] {\n & [data-truncate-grid] {\n grid-template-columns: minmax(0, max-content) 0;\n }\n\n & [data-truncate-marker] {\n right: 0;\n }\n\n & [data-truncate-fade] {\n margin-right: calc(-2 * var(--truncate-internal-fade-marker-width));\n }\n }\n\n [data-truncate-container=\"fruncate\"] {\n & [data-truncate-grid] {\n grid-template-columns: 0 minmax(0, max-content) auto;\n }\n\n & [data-truncate-content] {\n direction: rtl;\n }\n\n & [data-truncate-content] > span {\n unicode-bidi: plaintext;\n }\n\n & [data-truncate-fade] {\n margin-left: calc(-2 * var(--truncate-internal-fade-marker-width));\n }\n }\n\n [data-truncate-variant=\"default\"] {\n & [data-truncate-marker] {\n background-color: var(--truncate-internal-marker-background-color);\n background-image: linear-gradient(var(--truncate-internal-marker-background-overlay-color),\n var(--truncate-internal-marker-background-overlay-color));\n }\n\n & [data-truncate-marker]:after, & [data-truncate-marker]:before {\n content: \"\";\n width: calc(var(--truncate-internal-marker-fade-width) +\n var(--truncate-internal-marker-gap));\n height: max(0px,\n calc(var(--truncate-internal-single-line-height) -\n var(--truncate-internal-marker-block-inset) * 2));\n background-color: var(--truncate-internal-marker-background-color);\n background-image: linear-gradient(var(--truncate-internal-marker-background-overlay-color),\n var(--truncate-internal-marker-background-overlay-color));\n -webkit-mask-image: linear-gradient(var(--truncate-internal-fade-dir),\n #000 0%,\n #000 var(--truncate-internal-marker-gap),\n transparent 100%);\n mask-image: linear-gradient(var(--truncate-internal-fade-dir),\n #000 0%,\n #000 var(--truncate-internal-marker-gap),\n transparent 100%);\n position: absolute;\n inset-block-start: var(--truncate-internal-marker-block-inset);\n }\n\n & [data-truncate-marker]:after {\n --truncate-internal-fade-dir: to right;\n right: calc(-1 *\n (\n var(--truncate-internal-marker-fade-width) +\n var(--truncate-internal-marker-gap)\n ));\n }\n\n & [data-truncate-marker]:before {\n --truncate-internal-fade-dir: to left;\n left: calc(-1 *\n (\n var(--truncate-internal-marker-fade-width) +\n var(--truncate-internal-marker-gap)\n ));\n }\n }\n\n [data-truncate-variant=\"fade\"] {\n & [data-truncate-marker] {\n background: none;\n }\n }\n\n [data-truncate-fade] {\n box-shadow: 0 0 calc(var(--truncate-internal-fade-marker-width) / 2)\n var(--truncate-internal-fade-marker-color),\n 0 0 var(--truncate-internal-fade-marker-width)\n var(--truncate-internal-fade-marker-color);\n width: calc(var(--truncate-internal-fade-marker-width) * 2);\n height: calc(var(--truncate-internal-single-line-height) -\n (var(--truncate-internal-fade-marker-width) * 2));\n margin: var(--truncate-internal-fade-marker-width) 0;\n }\n\n [data-truncate-group-container=\"middle\"] {\n & [data-truncate-container] {\n --truncate-marker-opacity: var(--truncate-internal-middle-marker-opacity);\n }\n\n min-width: 0;\n display: flex;\n\n & > div {\n min-width: 0;\n }\n\n & > div[data-truncate-segment-priority=\"1\"] {\n flex: 0 1 max-content;\n }\n\n & > div[data-truncate-segment-priority=\"2\"] {\n flex: 0 999999 max-content;\n }\n }\n}\n\n@layer theme, unsafe;\n"},1241,[]);
35
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"escapeStyleTextForHtml",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"wrapCoreCSS",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"wrapUnsafeCSS",{enumerable:!0,get:function(){return c}});const n=/<\/style/gi,t="@layer base, unsafe;";function u(n){return`${t}\n@layer base {\n ${n}\n}`}function c(n){return`${t}\n@layer unsafe {\n ${n}\n}`}function o(t){return t.replace(n,"<\\/style")}},1242,[]);
36
+ __d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"FileTreeContainerLoaded",{enumerable:!0,get:function(){return p}}),Object.defineProperty(_e,"adoptDeclarativeShadowDom",{enumerable:!0,get:function(){return S}}),Object.defineProperty(_e,"ensureFileTreeStyles",{enumerable:!0,get:function(){return s}}),Object.defineProperty(_e,"prepareFileTreeShadowRoot",{enumerable:!0,get:function(){return f}});var e,t=r(d[0]),o=r(d[1]),n=(e=o)&&e.__esModule?e:{default:e},l=r(d[2]),c=r(d[3]);let u;function s(e){if("undefined"!=typeof CSSStyleSheet&&"function"==typeof CSSStyleSheet.prototype.replaceSync&&"adoptedStyleSheets"in e){null==u&&(u=new CSSStyleSheet,u.replaceSync((0,l.wrapCoreCSS)(n.default)));let o=!1;try{e.adoptedStyleSheets=[u],o=!0}catch{}if(o)return void e.querySelector(`style[${t.FILE_TREE_STYLE_ATTRIBUTE}]`)?.remove()}if(null==e.querySelector("style[data-file-tree-style]")){const o=document.createElement("style");o.setAttribute(t.FILE_TREE_STYLE_ATTRIBUTE,""),o.textContent=(0,l.wrapCoreCSS)(n.default),e.prepend(o)}}function f(e,t){S(e,t),s(t),(0,c.ensureMeasuredScrollbarGutter)(e,t)}function S(e,t){const o=e.querySelector("template[shadowrootmode=\"open\"], template[data-file-tree-shadowrootmode=\"open\"]");o instanceof HTMLTemplateElement&&(t.childNodes.length>0||(t.appendChild(o.content.cloneNode(!0)),o.hasAttribute("shadowrootmode")&&o.remove()))}if("undefined"!=typeof HTMLElement&&null==customElements.get("file-tree-container")){class e extends HTMLElement{constructor(){super()}connectedCallback(){f(this,this.shadowRoot??this.attachShadow({mode:"open"}))}}if(customElements.define(t.FILE_TREE_TAG_NAME,e),"undefined"!=typeof document)for(const e of Array.from(document.querySelectorAll(t.FILE_TREE_TAG_NAME)))e instanceof HTMLElement&&f(e,e.shadowRoot??e.attachShadow({mode:"open"}))}const p=!0},1243,[1211,1241,1242,1244]);
37
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"ensureMeasuredScrollbarGutter",{enumerable:!0,get:function(){return o}});var t=r(d[0]);const n=new WeakMap;function E(E){const o=n.get(E);if(null!=o)return o;const c=document.createElement("div");c.setAttribute(t.FILE_TREE_SCROLLBAR_MEASURE_ATTRIBUTE,"true");const l=document.createElement("div");l.style.position="relative",l.style.height="200%",c.appendChild(l),E.appendChild(c);const s=Math.max(c.offsetWidth-c.clientWidth,0);return c.remove(),n.set(E,s),s}function o(n,o){if(!n.isConnected)return;const c=E(o);if(null==c)return;const l=o.querySelector(`style[${t.FILE_TREE_SCROLLBAR_GUTTER_STYLE_ATTRIBUTE}]`),s=l instanceof HTMLStyleElement?l:document.createElement("style");l instanceof HTMLStyleElement||(s.setAttribute(t.FILE_TREE_SCROLLBAR_GUTTER_STYLE_ATTRIBUTE,""),o.appendChild(s)),s.textContent=`:host { ${t.FILE_TREE_SCROLLBAR_GUTTER_MEASURED_PROPERTY}: ${c}px; }`}},1244,[1211]);
38
+ __d(function(g,r,i,a,m,_e,d){"use strict";const t=["dragAndDrop","fileTreeSearchMode","initialSearchQuery","initialSelectedPaths","renaming","onSearchChange","paths","preparedInput"];var e,l,u,s,n,h,f,o,c,p,P,b,y,v,S,I,j,O,w,x,D,E,C,M,V,F,R,A,B,T,z,k,L,_,N,q,H,K,W,Q,$,G,J,U,X,Y,Z,tt,et,lt,at,it,ut,st,nt,dt,ht,rt,ft,ot,ct,pt,Pt,gt,bt,yt,vt,mt,St,It,jt,Ot,wt,xt,Dt,Et,Ct,Mt,Vt,Ft,Rt,At,Bt,Tt,zt,kt,Lt,_t,Nt,qt,Ht,Kt,Wt,Qt,$t;function Gt(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"FILE_TREE_RENAME_VIEW",{enumerable:!0,get:function(){return se}}),Object.defineProperty(_e,"FileTreeController",{enumerable:!0,get:function(){return he}});var Jt=Gt(r(d[0])),Ut=Gt(r(d[1])),Xt=Gt(r(d[2])),Yt=r(d[3]);r(d[4]);var Zt=r(d[5]),te=r(d[6]),ee=r(d[7]),le=r(d[8]),ae=r(d[9]),ie=r(d[10]),ue=r(d[11]);const se=Symbol("FILE_TREE_RENAME_VIEW");function ne(t,e,l){if(0===t)return-1;if(null!=l){const t=e(l);if(null!=t)return t;const u=(0,ae.getAncestorDirectoryPaths)(l);for(let t=u.length-1;t>=0;t-=1){const l=u[t];if(null==l)continue;const s=e(l);if(null!=s)return s}}return 0}function de(t,e,l){if(0===t.paths.length)return{focusedIndex:-1,getParentIndex:t.getParentIndex,paths:t.paths,posInSetByIndex:t.posInSetByIndex,setSizeByIndex:t.setSizeByIndex};if(null==e)return{focusedIndex:0,getParentIndex:t.getParentIndex,paths:t.paths,posInSetByIndex:t.posInSetByIndex,setSizeByIndex:t.setSizeByIndex};const u=l??(e=>t.visibleIndexByPath.get(e)??null);return{focusedIndex:ne(t.paths.length,u,e),getParentIndex:t.getParentIndex,paths:t.paths,posInSetByIndex:t.posInSetByIndex,setSizeByIndex:t.setSizeByIndex}}var he=(l=(0,Xt.default)("baseOptions"),u=(0,Xt.default)("listeners"),s=(0,Xt.default)("mutationListeners"),n=(0,Xt.default)("dragAndDropConfig"),h=(0,Xt.default)("dragSession"),f=(0,Xt.default)("ancestorIndicesByIndex"),o=(0,Xt.default)("ancestorPathsByIndex"),c=(0,Xt.default)("focusedIndex"),p=(0,Xt.default)("focusedPath"),P=(0,Xt.default)("hasFullProjection"),b=(0,Xt.default)("getParentIndexForVisibleRow"),y=(0,Xt.default)("itemHandles"),v=(0,Xt.default)("knownDirectoryPaths"),S=(0,Xt.default)("knownDirectoryPathsLowerCase"),I=(0,Xt.default)("knownPaths"),j=(0,Xt.default)("listedPaths"),O=(0,Xt.default)("listedPathsLowerCase"),w=(0,Xt.default)("onRename"),x=(0,Xt.default)("onRenameError"),D=(0,Xt.default)("onSearchChange"),E=(0,Xt.default)("projectionPaths"),C=(0,Xt.default)("projectionPosInSetByIndex"),M=(0,Xt.default)("projectionSetSizeByIndex"),V=(0,Xt.default)("renameCanRename"),F=(0,Xt.default)("renameEnabled"),R=(0,Xt.default)("renamingPath"),A=(0,Xt.default)("renamingValue"),B=(0,Xt.default)("removeRenamingPathIfCanceled"),T=(0,Xt.default)("searchMatchPathSet"),z=(0,Xt.default)("searchMatchingPaths"),k=(0,Xt.default)("searchMode"),L=(0,Xt.default)("searchPreviousExpandedPaths"),_=(0,Xt.default)("searchValue"),N=(0,Xt.default)("searchVisiblePathSet"),q=(0,Xt.default)("searchVisibleIndexByPath"),H=(0,Xt.default)("searchVisibleIndices"),K=(0,Xt.default)("searchVisiblePaths"),W=(0,Xt.default)("scrollRequest"),Q=(0,Xt.default)("scrollRequestId"),$=(0,Xt.default)("selectionAnchorPath"),G=(0,Xt.default)("selectedPaths"),J=(0,Xt.default)("selectionVersion"),U=(0,Xt.default)("store"),X=(0,Xt.default)("storeVisibleCount"),Y=(0,Xt.default)("suppressStoreNotifications"),Z=(0,Xt.default)("visibleCount"),tt=(0,Xt.default)("unsubscribe"),et=(0,Xt.default)("cancelRenaming"),lt=(0,Xt.default)("completeRenaming"),at=(0,Xt.default)("setRenamingValue"),it=(0,Xt.default)("findNearestVisibleSiblingPath"),ut=(0,Xt.default)("resolveFocusedIndex"),st=(0,Xt.default)("getOrCreateItemHandle"),nt=(0,Xt.default)("createVisibleRow"),dt=(0,Xt.default)("createVisibleRowFromContext"),ht=(0,Xt.default)("getStickyCandidateContextAt"),rt=(0,Xt.default)("getAncestorIndices"),ft=(0,Xt.default)("getAncestorPaths"),ot=(0,Xt.default)("collapseDirectory"),ct=(0,Xt.default)("applySelection"),pt=(0,Xt.default)("createDirectoryHandle"),Pt=(0,Xt.default)("createFileHandle"),gt=(0,Xt.default)("validateBatchDropOperations"),bt=(0,Xt.default)("createStore"),yt=(0,Xt.default)("getListedPaths"),vt=(0,Xt.default)("getAllKnownPaths"),mt=(0,Xt.default)("getListedPathsLowerCase"),St=(0,Xt.default)("getAllKnownDirectoryPaths"),It=(0,Xt.default)("getAllKnownDirectoryPathsLowerCase"),jt=(0,Xt.default)("invalidateKnownPathCaches"),Ot=(0,Xt.default)("getExpandedDirectoryPaths"),wt=(0,Xt.default)("restoreSearchExpandedPaths"),xt=(0,Xt.default)("setExpandedPaths"),Dt=(0,Xt.default)("syncSearchVisibilityState"),Et=(0,Xt.default)("getCurrentVisiblePaths"),Ct=(0,Xt.default)("getExactCurrentVisibleIndexByPath"),Mt=(0,Xt.default)("getProjectionIndexFromVisibleIndex"),Vt=(0,Xt.default)("getVisibleIndexByPath"),Ft=(0,Xt.default)("focusRelativeSearchMatch"),Rt=(0,Xt.default)("setSearchState"),At=(0,Xt.default)("refreshActiveSearchState"),Bt=(0,Xt.default)("emit"),Tt=(0,Xt.default)("emitMutation"),zt=(0,Xt.default)("expandDirectory"),kt=(0,Xt.default)("moveFocus"),Lt=(0,Xt.default)("rebuildVisibleProjection"),_t=(0,Xt.default)("resolveVisiblePathAtIndex"),Nt=(0,Xt.default)("resolveSelectionPath"),qt=(0,Xt.default)("focusPathWithoutEmit"),Ht=(0,Xt.default)("setFocusedIndex"),Kt=(0,Xt.default)("ensureFullProjection"),Wt=(0,Xt.default)("applyMutationState"),Qt=(0,Xt.default)("subscribe"),$t=(0,Xt.default)("toggleDirectory"),e=class{constructor(e){Object.defineProperty(this,$t,{value:al}),Object.defineProperty(this,Qt,{value:ll}),Object.defineProperty(this,Wt,{value:el}),Object.defineProperty(this,Kt,{value:tl}),Object.defineProperty(this,Ht,{value:Ze}),Object.defineProperty(this,qt,{value:Ye}),Object.defineProperty(this,Nt,{value:Xe}),Object.defineProperty(this,_t,{value:Ue}),Object.defineProperty(this,Lt,{value:Je}),Object.defineProperty(this,kt,{value:Ge}),Object.defineProperty(this,zt,{value:$e}),Object.defineProperty(this,Tt,{value:Qe}),Object.defineProperty(this,Bt,{value:We}),Object.defineProperty(this,At,{value:Ke}),Object.defineProperty(this,Rt,{value:He}),Object.defineProperty(this,Ft,{value:qe}),Object.defineProperty(this,Vt,{value:Ne}),Object.defineProperty(this,Mt,{value:Le}),Object.defineProperty(this,Ct,{value:ke}),Object.defineProperty(this,Et,{value:ze}),Object.defineProperty(this,Dt,{value:Te}),Object.defineProperty(this,xt,{value:Be}),Object.defineProperty(this,wt,{value:Ae}),Object.defineProperty(this,Ot,{value:Re}),Object.defineProperty(this,jt,{value:Fe}),Object.defineProperty(this,It,{value:Ve}),Object.defineProperty(this,St,{value:Me}),Object.defineProperty(this,mt,{value:Ce}),Object.defineProperty(this,vt,{value:Ee}),Object.defineProperty(this,yt,{value:De}),Object.defineProperty(this,bt,{value:xe}),Object.defineProperty(this,gt,{value:we}),Object.defineProperty(this,Pt,{value:Oe}),Object.defineProperty(this,pt,{value:je}),Object.defineProperty(this,ct,{value:Ie}),Object.defineProperty(this,ot,{value:Se}),Object.defineProperty(this,ft,{value:me}),Object.defineProperty(this,rt,{value:ve}),Object.defineProperty(this,ht,{value:ye}),Object.defineProperty(this,dt,{value:be}),Object.defineProperty(this,nt,{value:ge}),Object.defineProperty(this,st,{value:Pe}),Object.defineProperty(this,ut,{value:pe}),Object.defineProperty(this,it,{value:ce}),Object.defineProperty(this,at,{value:oe}),Object.defineProperty(this,lt,{value:fe}),Object.defineProperty(this,et,{value:re}),Object.defineProperty(this,l,{writable:!0,value:void 0}),Object.defineProperty(this,u,{writable:!0,value:new Set}),Object.defineProperty(this,s,{writable:!0,value:new Map}),Object.defineProperty(this,n,{writable:!0,value:null}),Object.defineProperty(this,h,{writable:!0,value:null}),Object.defineProperty(this,f,{writable:!0,value:new Map}),Object.defineProperty(this,o,{writable:!0,value:new Map}),Object.defineProperty(this,c,{writable:!0,value:-1}),Object.defineProperty(this,p,{writable:!0,value:null}),Object.defineProperty(this,P,{writable:!0,value:!1}),Object.defineProperty(this,b,{writable:!0,value:t=>-1}),Object.defineProperty(this,y,{writable:!0,value:new Map}),Object.defineProperty(this,v,{writable:!0,value:null}),Object.defineProperty(this,S,{writable:!0,value:null}),Object.defineProperty(this,I,{writable:!0,value:null}),Object.defineProperty(this,j,{writable:!0,value:null}),Object.defineProperty(this,O,{writable:!0,value:null}),Object.defineProperty(this,w,{writable:!0,value:void 0}),Object.defineProperty(this,x,{writable:!0,value:void 0}),Object.defineProperty(this,D,{writable:!0,value:void 0}),Object.defineProperty(this,E,{writable:!0,value:[]}),Object.defineProperty(this,C,{writable:!0,value:new Int32Array(0)}),Object.defineProperty(this,M,{writable:!0,value:new Int32Array(0)}),Object.defineProperty(this,V,{writable:!0,value:void 0}),Object.defineProperty(this,F,{writable:!0,value:!1}),Object.defineProperty(this,R,{writable:!0,value:null}),Object.defineProperty(this,A,{writable:!0,value:""}),Object.defineProperty(this,B,{writable:!0,value:!1}),Object.defineProperty(this,T,{writable:!0,value:new Set}),Object.defineProperty(this,z,{writable:!0,value:[]}),Object.defineProperty(this,k,{writable:!0,value:void 0}),Object.defineProperty(this,L,{writable:!0,value:null}),Object.defineProperty(this,_,{writable:!0,value:null}),Object.defineProperty(this,N,{writable:!0,value:null}),Object.defineProperty(this,q,{writable:!0,value:null}),Object.defineProperty(this,H,{writable:!0,value:null}),Object.defineProperty(this,K,{writable:!0,value:null}),Object.defineProperty(this,W,{writable:!0,value:null}),Object.defineProperty(this,Q,{writable:!0,value:0}),Object.defineProperty(this,$,{writable:!0,value:null}),Object.defineProperty(this,G,{writable:!0,value:new Set}),Object.defineProperty(this,J,{writable:!0,value:0}),Object.defineProperty(this,U,{writable:!0,value:void 0}),Object.defineProperty(this,X,{writable:!0,value:0}),Object.defineProperty(this,Y,{writable:!0,value:!1}),Object.defineProperty(this,Z,{writable:!0,value:0}),Object.defineProperty(this,tt,{writable:!0,value:void 0});const{dragAndDrop:Gt,fileTreeSearchMode:Xt,initialSearchQuery:Yt,initialSelectedPaths:Zt,renaming:te,onSearchChange:le,paths:ae,preparedInput:ie}=e,ue=(0,Jt.default)(e,t),se=(0,ee.resolveFileTreeInput)({paths:ae,preparedInput:ie},"constructor",ue.sort);(0,Ut.default)(this,l)[l]=ue,null!=Gt&&!1!==Gt&&((0,Ut.default)(this,n)[n]=!0===Gt?{}:Gt),(0,Ut.default)(this,F)[F]=null!=te&&!1!==te,null!=te&&!1!==te&&!0!==te&&((0,Ut.default)(this,V)[V]=te.canRename,(0,Ut.default)(this,x)[x]=te.onError,(0,Ut.default)(this,w)[w]=te.onRename),(0,Ut.default)(this,D)[D]=le,(0,Ut.default)(this,k)[k]=Xt??"hide-non-matches",(0,Ut.default)(this,U)[U]=(0,Ut.default)(this,bt)[bt](se.paths,se.preparedInput);const ne=Zt?.map(t=>(0,Ut.default)(this,Nt)[Nt](t)).filter(t=>null!=t)??[],de=ne.at(-1)??null;ne.length>0&&((0,Ut.default)(this,G)[G]=new Set(ne),(0,Ut.default)(this,$)[$]=de,(0,Ut.default)(this,J)[J]=1),(0,Ut.default)(this,Lt)[Lt](de,!1),null!=Yt&&(0,Ut.default)(this,Rt)[Rt](Yt,!1),(0,Ut.default)(this,tt)[tt]=(0,Ut.default)(this,Qt)[Qt]()}destroy(){(0,Ut.default)(this,tt)[tt]?.(),(0,Ut.default)(this,tt)[tt]=null,(0,Ut.default)(this,s)[s].clear(),(0,Ut.default)(this,u)[u].clear(),(0,Ut.default)(this,y)[y].clear(),(0,Ut.default)(this,h)[h]=null,(0,Ut.default)(this,jt)[jt]()}focusFirstItem(){(0,Ut.default)(this,Et)[Et]().length>0&&(0,Ut.default)(this,Ht)[Ht](0)}focusLastItem(){(0,Ut.default)(this,Z)[Z]<=0||((0,Ut.default)(this,Kt)[Kt](),(0,Ut.default)(this,Ht)[Ht]((0,Ut.default)(this,Z)[Z]-1))}focusNextItem(){(0,Ut.default)(this,kt)[kt](1)}focusParentItem(){if(null==(0,Ut.default)(this,p)[p])return;const t=(0,ae.getImmediateParentPath)((0,Ut.default)(this,p)[p]);if(null==t)return;const e=(0,Ut.default)(this,ut)[ut](t);e>=0&&(0,Ut.default)(this,Ht)[Ht](e)}focusPath(t){const e=(0,Ut.default)(this,U)[U].getPathInfo(t)?.path??null;if(null==e)return;(0,Ut.default)(this,Kt)[Kt]();const l=(0,Ut.default)(this,ut)[ut](e);l>=0&&(0,Ut.default)(this,Ht)[Ht](l)}scrollToPath(t,e){const l=(0,Ut.default)(this,U)[U].getPathInfo(t)?.path??null;if(null==l)return;(0,Ut.default)(this,Kt)[Kt]();const u=(0,Ut.default)(this,Ct)[Ct](l);var s;u<0||null!=(0,Ut.default)(this,_t)[_t](u)&&(!1!==e?.focus&&(0,Ut.default)(this,Ht)[Ht](u,!1),(0,Ut.default)(this,W)[W]={id:(0,Ut.default)(this,Q)[Q]+=1,offset:(s=e?.offset,"top"===s||"center"===s?s:"nearest"),visibleIndex:u},(0,Ut.default)(this,Bt)[Bt]())}focusMountedPathFromInput(t){const e=(0,Ut.default)(this,U)[U].getPathInfo(t)?.path??null;if(null==e)return;const l=(0,Ut.default)(this,ut)[ut](e);l>=0&&(0,Ut.default)(this,Ht)[Ht](l)}focusNearestPath(t){const e=this.resolveNearestVisiblePath(t);if(null==e)return null;const l=(0,Ut.default)(this,ut)[ut](e);return l>=0?((0,Ut.default)(this,Ht)[Ht](l),(0,Ut.default)(this,Et)[Et]()[l]??e):null}focusPreviousItem(){(0,Ut.default)(this,kt)[kt](-1)}getFocusedIndex(){return(0,Ut.default)(this,c)[c]}getFocusedItem(){return null==(0,Ut.default)(this,p)[p]?null:(0,Ut.default)(this,st)[st]((0,Ut.default)(this,p)[p])}getFocusedPath(){return(0,Ut.default)(this,p)[p]}getScrollRequest(){return(0,Ut.default)(this,W)[W]}clearScrollRequest(t){(0,Ut.default)(this,W)[W]?.id===t&&((0,Ut.default)(this,W)[W]=null)}resolveNearestVisiblePath(t){const e=(0,Ut.default)(this,Et)[Et]();if(0===(0,Ut.default)(this,Z)[Z])return null;if(null==t)return(0,Ut.default)(this,p)[p]??e[0]??null;const l=(0,Ut.default)(this,U)[U].getPathInfo(t)?.path??t,u=(0,Ut.default)(this,ut)[ut](l);if(u>=0)return e[u]??l;const s=(0,Ut.default)(this,it)[it](l);return null!=s?s:(0,Ut.default)(this,p)[p]??e[0]??null}getSelectedPaths(){return[...(0,Ut.default)(this,G)[G]]}getSelectionVersion(){return(0,Ut.default)(this,J)[J]}getVisibleCount(){return(0,Ut.default)(this,Z)[Z]}getVisibleRows(t,e){if(e<t||0===(0,Ut.default)(this,Z)[Z])return[];const l=Math.max(0,t),u=Math.min((0,Ut.default)(this,Z)[Z]-1,e);if(u<l)return[];const s=u-l+1;if(null==(0,Ut.default)(this,H)[H]&&!(0,Ut.default)(this,P)[P]&&u>=(0,Ut.default)(this,E)[E].length&&s<=512){const t=[];for(let e=l;e<=u;e+=1){const l=(0,Ut.default)(this,U)[U].getVisibleRowContext(e);if(null==l)break;t.push((0,Ut.default)(this,dt)[dt](l))}return t}if(!(0,Ut.default)(this,P)[P]&&u>=(0,Ut.default)(this,E)[E].length&&(0,Ut.default)(this,Kt)[Kt](),null!=(0,Ut.default)(this,H)[H]){const t=Array.from({length:u-l+1},(t,e)=>(0,Ut.default)(this,Mt)[Mt](l+e)),e=new Map;let s=t[0]??-1,n=s;for(let l=1;l<=t.length;l+=1){const u=t[l];null==u||u!==n+1?(s>=0&&(0,Ut.default)(this,U)[U].getVisibleSlice(s,n).forEach((t,l)=>{e.set(s+l,t)}),null!=u?(s=u,n=u):(s=-1,n=-1)):n=u}return Array.from({length:u-l+1},(t,u)=>{const s=l+u,n=(0,Ut.default)(this,Mt)[Mt](s),h=e.get(n),f=(0,Ut.default)(this,E)[E][n];if(null==h||null==f)throw new Error(`Missing projection row for filtered visible index ${String(s)}`);return(0,Ut.default)(this,nt)[nt](h,s,n,{ancestorPaths:(0,Ut.default)(this,ft)[ft](n),path:f})})}return(0,Ut.default)(this,U)[U].getVisibleSlice(l,u).map((t,e)=>{const u=l+e,s=(0,Ut.default)(this,E)[E][u];if(null==s)throw new Error(`Missing projection path for visible index ${String(u)}`);return(0,Ut.default)(this,nt)[nt](t,u,u,{ancestorPaths:(0,Ut.default)(this,ft)[ft](u),path:s})})}getStickyRowCandidates(t,e){if(null!=(0,Ut.default)(this,H)[H])return null;if(0===(0,Ut.default)(this,Z)[Z]||t<=0||e<=0)return[];const l=[];for(let u=0;u<(0,Ut.default)(this,Z)[Z];u+=1){const s=t+u*e,n=Math.min((0,Ut.default)(this,Z)[Z]-1,Math.floor(s/e)),h=(0,Ut.default)(this,ht)[ht](n,u)??(n>0?(0,Ut.default)(this,ht)[ht](n-1,u):void 0);if(null==h)break;l.push({row:(0,Ut.default)(this,dt)[dt](h),subtreeEndIndex:h.subtreeEndIndex})}return l}getItem(t){const e=(0,Ut.default)(this,U)[U].getPathInfo(t);return null==e?null:(0,Ut.default)(this,st)[st](e.path,e)}resolveMountedDirectoryPathFromInput(t){const e=(0,Ut.default)(this,U)[U].getPathInfo(t);return"directory"===e?.kind?e.path:null}toggleMountedDirectoryFromInput(t){const e=this.resolveMountedDirectoryPathFromInput(t);null!=e&&(0,Ut.default)(this,$t)[$t](e)}selectAllVisiblePaths(){(0,Ut.default)(this,Kt)[Kt]();const t=[...(0,Ut.default)(this,Et)[Et]()];(0,Ut.default)(this,ct)[ct](t,(0,Ut.default)(this,p)[p]??(0,Ut.default)(this,$)[$])}selectOnlyPath(t){const e=(0,Ut.default)(this,Nt)[Nt](t);null!=e&&(0,Ut.default)(this,ct)[ct]([e],e)}selectOnlyMountedPathFromInput(t){(0,Ut.default)(this,ct)[ct]([t],t)}selectPath(t){const e=(0,Ut.default)(this,Nt)[Nt](t);null==e||(0,Ut.default)(this,G)[G].has(e)||(0,Ut.default)(this,ct)[ct]([...(0,Ut.default)(this,G)[G],e])}deselectPath(t){const e=(0,Ut.default)(this,Nt)[Nt](t);null!=e&&(0,Ut.default)(this,G)[G].has(e)&&(0,Ut.default)(this,ct)[ct]([...(0,Ut.default)(this,G)[G]].filter(t=>t!==e))}toggleFocusedSelection(){null!=(0,Ut.default)(this,p)[p]&&this.togglePathSelectionFromInput((0,Ut.default)(this,p)[p])}togglePathSelection(t){const e=(0,Ut.default)(this,Nt)[Nt](t);null!=e&&((0,Ut.default)(this,G)[G].has(e)?this.deselectPath(e):this.selectPath(e))}togglePathSelectionFromInput(t){const e=(0,Ut.default)(this,Nt)[Nt](t);null!=e&&((0,Ut.default)(this,G)[G].has(e)?(0,Ut.default)(this,ct)[ct]([...(0,Ut.default)(this,G)[G]].filter(t=>t!==e),e):(0,Ut.default)(this,ct)[ct]([...(0,Ut.default)(this,G)[G],e],e))}selectPathRange(t,e){const l=(0,Ut.default)(this,Nt)[Nt](t);if(null==l)return;(0,Ut.default)(this,Kt)[Kt]();const u=(0,Ut.default)(this,$)[$],s=null==u?-1:(0,Ut.default)(this,Vt)[Vt](u),n=(0,Ut.default)(this,Vt)[Vt](l);if(-1===s||-1===n){const t=e?[...(0,Ut.default)(this,G)[G],l]:[l];return void(0,Ut.default)(this,ct)[ct](t,l)}const[h,f]=s<=n?[s,n]:[n,s],o=(0,Ut.default)(this,Et)[Et]().slice(h,f+1),c=e?[...(0,Ut.default)(this,G)[G],...o]:o;(0,Ut.default)(this,ct)[ct](c,u)}extendSelectionFromFocused(t){if(null==(0,Ut.default)(this,p)[p])return;const e=(0,Ut.default)(this,c)[c];if(-1===e)return;const l=Math.min((0,Ut.default)(this,Z)[Z]-1,Math.max(0,e+t));if(l===e)return;!(0,Ut.default)(this,P)[P]&&l>=(0,Ut.default)(this,E)[E].length&&(0,Ut.default)(this,Kt)[Kt]();const u=(0,Ut.default)(this,Et)[Et](),s=u[e]??null,n=u[l]??null;if(null==s||null==n)return;const h=new Set((0,Ut.default)(this,G)[G]);h.has(s)&&h.has(n)?h.delete(s):h.add(n),(0,Ut.default)(this,ct)[ct]([...h],(0,Ut.default)(this,$)[$]??s,!1),(0,Ut.default)(this,Ht)[Ht](l)}getDragAndDropConfig(){return(0,Ut.default)(this,n)[n]}isDragAndDropEnabled(){return null!=(0,Ut.default)(this,n)[n]}getDragSession(){return null==(0,Ut.default)(this,h)[h]?null:{draggedPaths:[...(0,Ut.default)(this,h)[h].draggedPaths],primaryPath:(0,Ut.default)(this,h)[h].primaryPath,target:null==(0,Ut.default)(this,h)[h].target?null:Object.assign({},(0,Ut.default)(this,h)[h].target)}}startDrag(t){if(null==(0,Ut.default)(this,n)[n])return!1;const e=(0,Ut.default)(this,Nt)[Nt](t);if(null==e)return!1;if(null!=(0,Ut.default)(this,_)[_]&&(0,Ut.default)(this,_)[_].length>0)return!1;const l=this.getSelectedPaths(),u=(0,te.resolveDraggedPathsForStart)(e,l);return!1!==(0,Ut.default)(this,n)[n].canDrag?.(u)&&(l.includes(e)||(0,Ut.default)(this,ct)[ct]([e],e,!1),(0,Ut.default)(this,qt)[qt](e),(0,Ut.default)(this,h)[h]={draggedPaths:u,primaryPath:e,target:null},(0,Ut.default)(this,Bt)[Bt](),!0)}setDragTarget(t){const e=(0,Ut.default)(this,h)[h];if(null==e)return;let l=t;if(null!=l){const t=(0,te.createDropContext)(e.draggedPaths,l);((0,te.isSelfOrDescendantDrop)(e.draggedPaths,l)||!1===(0,Ut.default)(this,n)[n]?.canDrop?.(t))&&(l=null)}(0,te.dropTargetsEqual)(e.target,l)||((0,Ut.default)(this,h)[h]=Object.assign({},e,{target:l}),(0,Ut.default)(this,Bt)[Bt]())}cancelDrag(){null!=(0,Ut.default)(this,h)[h]&&((0,Ut.default)(this,h)[h]=null,(0,Ut.default)(this,Bt)[Bt]())}completeDrag(){const t=(0,Ut.default)(this,h)[h];if(null==t)return!1;(0,Ut.default)(this,h)[h]=null;const e=null==t.target?null:Object.assign({},t.target);if(null==e)return(0,Ut.default)(this,Bt)[Bt](),!1;const l=(0,te.createDropContext)(t.draggedPaths,e);if((0,te.isSelfOrDescendantDrop)(t.draggedPaths,e)||!1===(0,Ut.default)(this,n)[n]?.canDrop?.(l))return(0,Ut.default)(this,Bt)[Bt](),!1;const u=(0,te.buildDropOperations)(t.draggedPaths,e);if(null==u)return(0,Ut.default)(this,Bt)[Bt](),!1;try{if(1===u.operations.length){const t=u.operations[0];if(null==t||"move"!==t.type)throw new Error("Expected a single move operation for one-item drops");(0,Ut.default)(this,U)[U].move(t.from,t.to,{collision:t.collision})}else(0,Ut.default)(this,gt)[gt](u.operations),(0,Ut.default)(this,U)[U].batch(u.operations)}catch(t){return(0,Ut.default)(this,Bt)[Bt](),(0,Ut.default)(this,n)[n]?.onDropError?.(t instanceof Error?t.message:String(t),l),!1}return(0,Ut.default)(this,n)[n]?.onDropComplete?.(u.result),!0}subscribe(t){return(0,Ut.default)(this,u)[u].add(t),t(),()=>{(0,Ut.default)(this,u)[u].delete(t)}}add(t){(0,Ut.default)(this,U)[U].add(t)}remove(t,e={}){(0,Ut.default)(this,U)[U].remove(t,e)}move(t,e,l={}){(0,Ut.default)(this,U)[U].move(t,e,l)}batch(t){(0,Ut.default)(this,U)[U].batch(t)}onMutation(t,e){const l=t,u=e;let n=(0,Ut.default)(this,s)[s].get(l);return null==n&&(n=new Set,(0,Ut.default)(this,s)[s].set(l,n)),n.add(u),()=>{const t=(0,Ut.default)(this,s)[s].get(l);t?.delete(u),0===t?.size&&(0,Ut.default)(this,s)[s].delete(l)}}setSearch(t){(0,Ut.default)(this,Rt)[Rt](t,!0)}openSearch(t=""){(0,Ut.default)(this,Rt)[Rt](t,!0)}closeSearch(){(0,Ut.default)(this,Rt)[Rt](null,!0)}isSearchOpen(){return null!==(0,Ut.default)(this,_)[_]}getSearchValue(){return(0,Ut.default)(this,_)[_]??""}getSearchMatchingPaths(){return(0,Ut.default)(this,z)[z]}focusNextSearchMatch(){(0,Ut.default)(this,Ft)[Ft](1)}focusPreviousSearchMatch(){(0,Ut.default)(this,Ft)[Ft](-1)}startRenaming(t=(0,Ut.default)(this,p)[p]??"",e={}){if(!(0,Ut.default)(this,F)[F])return!1;const l=(0,Ut.default)(this,U)[U].getPathInfo(t);if(null==l)return!1;const u=l.path,s=(0,ae.isCanonicalDirectoryPath)(u),n=(0,ie.toRenameHelperPath)(u);if(!1===(0,Ut.default)(this,V)[V]?.({isFolder:s,path:n}))return!1;for(const t of(0,ae.getAncestorDirectoryPaths)(u))(0,Ut.default)(this,U)[U].isExpanded(t)||(0,Ut.default)(this,U)[U].expand(t);return(0,Ut.default)(this,ct)[ct]([u],u,!1),null!=(0,Ut.default)(this,_)[_]&&((0,Ut.default)(this,Rt)[Rt](null,!1),(0,Ut.default)(this,D)[D]?.((0,Ut.default)(this,_)[_])),(0,Ut.default)(this,qt)[qt](u),(0,Ut.default)(this,R)[R]=u,(0,Ut.default)(this,A)[A]=(0,ie.getRenameLeafName)(u),(0,Ut.default)(this,B)[B]=e.removeIfCanceled??!1,(0,Ut.default)(this,Bt)[Bt](),!0}resetPaths(t,e={}){const u=!Array.isArray(t),s=u?void 0:t,n=u?t:e,h=(0,Ut.default)(this,U)[U].list().length,f=(0,Ut.default)(this,Z)[Z],o=(0,ee.resolveFileTreeInput)({paths:s,preparedInput:n.preparedInput},"resetPaths",(0,Ut.default)(this,l)[l].sort),c=(0,Ut.default)(this,bt)[bt](o.paths,o.preparedInput,n.initialExpandedPaths),P=(0,Ut.default)(this,p)[p],b=(0,Ut.default)(this,R)[R],v=this.getSelectedPaths(),S=(0,Ut.default)(this,$)[$];(0,Ut.default)(this,tt)[tt]?.(),(0,Ut.default)(this,U)[U]=c,(0,Ut.default)(this,y)[y].clear(),(0,Ut.default)(this,jt)[jt]();const I=v.map(t=>c.getPathInfo(t)?.path??null).filter(t=>null!=t),j=!(0,ae.arePathSetsEqual)((0,Ut.default)(this,G)[G],I);(0,Ut.default)(this,G)[G]=new Set(I),j&&((0,Ut.default)(this,J)[J]+=1),(0,Ut.default)(this,$)[$]=null==S?null:c.getPathInfo(S)?.path??null,(0,Ut.default)(this,R)[R]=null==b?null:c.getPathInfo(b)?.path??null,null==(0,Ut.default)(this,R)[R]&&((0,Ut.default)(this,A)[A]="",(0,Ut.default)(this,B)[B]=!1),(0,Ut.default)(this,Lt)[Lt](P,null!=P||I.length>0||null!=(0,Ut.default)(this,$)[$]),(0,Ut.default)(this,tt)[tt]=(0,Ut.default)(this,Qt)[Qt](),(0,Ut.default)(this,Bt)[Bt](),(0,Ut.default)(this,Tt)[Tt]({canonicalChanged:!0,operation:"reset",pathCountAfter:o.paths.length,pathCountBefore:h,projectionChanged:!0,usedPreparedInput:null!=n.preparedInput,visibleCountDelta:(0,Ut.default)(this,Z)[Z]-f})}},Object.defineProperty(e.prototype,se,{configurable:!0,value(){return{cancel:()=>{(0,Ut.default)(this,et)[et]()},commit:()=>{(0,Ut.default)(this,lt)[lt]()},getPath:()=>(0,Ut.default)(this,R)[R],getValue:()=>(0,Ut.default)(this,A)[A],isActive:()=>null!=(0,Ut.default)(this,R)[R],setValue:t=>{(0,Ut.default)(this,at)[at](t)}}},writable:!0}),e);function re(){if(null==(0,Ut.default)(this,R)[R])return;const t=(0,Ut.default)(this,R)[R],e=(0,Ut.default)(this,B)[B];(0,Ut.default)(this,R)[R]=null,(0,Ut.default)(this,A)[A]="",(0,Ut.default)(this,B)[B]=!1,e?this.remove(t,(0,ae.isCanonicalDirectoryPath)(t)?{recursive:!0}:void 0):((0,Ut.default)(this,qt)[qt](t),(0,Ut.default)(this,Bt)[Bt]())}function fe(){const t=(0,Ut.default)(this,R)[R];if(null==t)return;if((0,Ut.default)(this,B)[B]&&0===(0,Ut.default)(this,A)[A].trim().length)return(0,Ut.default)(this,R)[R]=null,(0,Ut.default)(this,A)[A]="",(0,Ut.default)(this,B)[B]=!1,void this.remove(t,(0,ae.isCanonicalDirectoryPath)(t)?{recursive:!0}:void 0);const e=(0,ae.isCanonicalDirectoryPath)(t),l=(0,Zt.renameFileTreePaths)({files:(0,Ut.default)(this,U)[U].list(),isFolder:e,nextBasename:(0,Ut.default)(this,A)[A],path:(0,ie.toRenameHelperPath)(t)});return(0,Ut.default)(this,R)[R]=null,(0,Ut.default)(this,A)[A]="",(0,Ut.default)(this,B)[B]=!1,"error"in l?((0,Ut.default)(this,qt)[qt](t),(0,Ut.default)(this,x)[x]?.(l.error),void(0,Ut.default)(this,Bt)[Bt]()):l.sourcePath===l.destinationPath?((0,Ut.default)(this,qt)[qt](t),void(0,Ut.default)(this,Bt)[Bt]()):((0,Ut.default)(this,w)[w]?.({destinationPath:l.destinationPath,isFolder:l.isFolder,sourcePath:l.sourcePath}),void this.move((0,ie.toCanonicalRenamePath)(l.sourcePath,e),(0,ie.toCanonicalRenamePath)(l.destinationPath,e)))}function oe(t){null!=(0,Ut.default)(this,R)[R]&&(0,Ut.default)(this,A)[A]!==t&&((0,Ut.default)(this,A)[A]=t,(0,Ut.default)(this,Bt)[Bt]())}function ce(t){(0,Ut.default)(this,Kt)[Kt]();const e=(0,ae.getImmediateParentPath)(t),l=(0,ae.getSiblingComparisonKey)(t,e);let u=null,s=null;for(const t of(0,Ut.default)(this,Et)[Et]()){if((0,ae.getImmediateParentPath)(t)!==e)continue;const n=(0,ae.getSiblingComparisonKey)(t,e);if(n<l)u=t;else if(n>l){s=t;break}}return u??s}function pe(t){const e=(0,Ut.default)(this,Vt)[Vt](t);if(-1!==e)return e;const l=(0,ae.getAncestorDirectoryPaths)(t);for(let t=l.length-1;t>=0;t-=1){const e=l[t];if(null==e)continue;const u=(0,Ut.default)(this,Vt)[Vt](e);if(-1!==u)return u}return(0,Ut.default)(this,Et)[Et]().length>0?0:-1}function Pe(t,e){const l=(0,Ut.default)(this,y)[y].get(t);if(null!=l)return l;const u=e??(0,Ut.default)(this,U)[U].getPathInfo(t);if(null==u)return null;const s="directory"===u.kind?(0,Ut.default)(this,pt)[pt](u.path):(0,Ut.default)(this,Pt)[Pt](u.path);return(0,Ut.default)(this,y)[y].set(u.path,s),s}function ge(t,e,l,u){return{ancestorPaths:u.ancestorPaths,depth:t.depth,flattenedSegments:t.flattenedSegments?.map(t=>({isTerminal:t.isTerminal,name:t.name,path:t.path})),hasChildren:t.hasChildren,index:e,isExpanded:t.isExpanded,isFlattened:t.isFlattened,isFocused:u.path===(0,Ut.default)(this,p)[p],isSelected:(0,Ut.default)(this,G)[G].has(u.path),kind:t.kind,level:t.depth,name:t.name,path:u.path,posInSet:u.posInSet??(0,Ut.default)(this,C)[C][l]??0,setSize:u.setSize??(0,Ut.default)(this,M)[M][l]??0}}function be(t){return(0,Ut.default)(this,nt)[nt](t.row,t.index,t.index,{ancestorPaths:t.ancestorPaths,path:t.row.path,posInSet:t.posInSet,setSize:t.setSize})}function ye(t,e){const l=(0,Ut.default)(this,U)[U].getVisibleRowContext(t);if(null==l)return;const u=l.ancestorRows[e];return null!=u?u:e===l.ancestorRows.length&&"directory"===l.row.kind&&l.row.isExpanded?l:void 0}function ve(t){const e=(0,Ut.default)(this,f)[f].get(t);if(null!=e)return e;const l=(0,Ut.default)(this,b)[b](t),u=l<0?[]:[...(0,Ut.default)(this,rt)[rt](l),l];return(0,Ut.default)(this,f)[f].set(t,u),u}function me(t){const e=(0,Ut.default)(this,o)[o].get(t);if(null!=e)return e;const l=(0,Ut.default)(this,rt)[rt](t).map(t=>(0,Ut.default)(this,E)[E][t]??"").filter(t=>""!==t);return(0,Ut.default)(this,o)[o].set(t,l),l}function Se(t){(0,Ut.default)(this,U)[U].collapse(t)}function Ie(t,e=(0,Ut.default)(this,$)[$],l=!0){const u=[...new Set(t)],s=!(0,ae.arePathSetsEqual)((0,Ut.default)(this,G)[G],u),n=(0,Ut.default)(this,$)[$]!==e;(s||n)&&((0,Ut.default)(this,G)[G]=new Set(u),(0,Ut.default)(this,$)[$]=e,s&&((0,Ut.default)(this,J)[J]+=1),l&&(0,Ut.default)(this,Bt)[Bt]())}function je(t){return{collapse:()=>{(0,Ut.default)(this,ot)[ot](t)},deselect:()=>{this.deselectPath(t)},expand:()=>{(0,Ut.default)(this,zt)[zt](t)},focus:()=>{this.focusPath(t)},getPath:()=>t,isDirectory:()=>!0,isExpanded:()=>(0,Ut.default)(this,U)[U].isExpanded(t),isFocused:()=>(0,Ut.default)(this,p)[p]===t,isSelected:()=>(0,Ut.default)(this,G)[G].has(t),select:()=>{this.selectPath(t)},toggleSelect:()=>{this.togglePathSelection(t)},toggle:()=>{(0,Ut.default)(this,$t)[$t](t)}}}function Oe(t){return{deselect:()=>{this.deselectPath(t)},focus:()=>{this.focusPath(t)},getPath:()=>t,isDirectory:()=>!1,isFocused:()=>(0,Ut.default)(this,p)[p]===t,isSelected:()=>(0,Ut.default)(this,G)[G].has(t),select:()=>{this.selectPath(t)},toggleSelect:()=>{this.togglePathSelection(t)}}}function we(t){const e=(0,Ut.default)(this,U)[U].list();(0,Ut.default)(this,bt)[bt](e).batch(t)}function xe(t,e,u){return new Yt.PathStore(Object.assign({},(0,Ut.default)(this,l)[l],{paths:t,preparedInput:null==e?void 0:e},void 0!==u?{initialExpandedPaths:u}:{}))}function De(){return null!=(0,Ut.default)(this,j)[j]||((0,Ut.default)(this,j)[j]=(0,Ut.default)(this,U)[U].list()),(0,Ut.default)(this,j)[j]}function Ee(){if(null!=(0,Ut.default)(this,I)[I])return(0,Ut.default)(this,I)[I];const t=new Set;for(const e of(0,Ut.default)(this,yt)[yt]()){t.add(e);for(const l of(0,ae.getAncestorDirectoryPaths)(e))t.add(l)}return(0,Ut.default)(this,I)[I]=[...t].sort(),(0,Ut.default)(this,I)[I]}function Ce(){return null!=(0,Ut.default)(this,O)[O]||((0,Ut.default)(this,O)[O]=(0,Ut.default)(this,yt)[yt]().map(ae.toLowerCaseSearchPath)),(0,Ut.default)(this,O)[O]}function Me(){return null!=(0,Ut.default)(this,v)[v]||((0,Ut.default)(this,v)[v]=(0,Ut.default)(this,vt)[vt]().filter(t=>t.endsWith("/"))),(0,Ut.default)(this,v)[v]}function Ve(){return null!=(0,Ut.default)(this,S)[S]||((0,Ut.default)(this,S)[S]=(0,Ut.default)(this,St)[St]().map(ae.toLowerCaseSearchPath)),(0,Ut.default)(this,S)[S]}function Fe(){(0,Ut.default)(this,v)[v]=null,(0,Ut.default)(this,S)[S]=null,(0,Ut.default)(this,I)[I]=null,(0,Ut.default)(this,j)[j]=null,(0,Ut.default)(this,O)[O]=null}function Re(){return(0,Ut.default)(this,St)[St]().filter(t=>(0,Ut.default)(this,U)[U].isExpanded(t))}function Ae(t){const e=new Set((0,Ut.default)(this,L)[L]??[]);if(t)for(const t of(0,Ut.default)(this,G)[G])for(const l of(0,ae.getAncestorDirectoryPaths)(t))e.add(l);(0,Ut.default)(this,xt)[xt](e)}function Be(t){(0,Ut.default)(this,Y)[Y]=!0;try{for(const e of(0,Ut.default)(this,St)[St]()){const l=t.has(e),u=(0,Ut.default)(this,U)[U].isExpanded(e);l&&!u?(0,Ut.default)(this,U)[U].expand(e):!l&&u&&(0,Ut.default)(this,U)[U].collapse(e)}}finally{(0,Ut.default)(this,Y)[Y]=!1}}function Te(){if(null==(0,Ut.default)(this,_)[_]||0===(0,Ut.default)(this,_)[_].length)return(0,Ut.default)(this,z)[z]=[],(0,Ut.default)(this,H)[H]=null,(0,Ut.default)(this,K)[K]=null,(0,Ut.default)(this,q)[q]=null,void((0,Ut.default)(this,Z)[Z]=(0,Ut.default)(this,X)[X]);const t=(0,Ut.default)(this,E)[E];if((0,Ut.default)(this,z)[z]=t.filter(t=>(0,Ut.default)(this,T)[T].has(t)),"hide-non-matches"!==(0,Ut.default)(this,k)[k]||0===(0,Ut.default)(this,T)[T].size)return(0,Ut.default)(this,H)[H]=null,(0,Ut.default)(this,K)[K]=null,(0,Ut.default)(this,q)[q]=null,void((0,Ut.default)(this,Z)[Z]=(0,Ut.default)(this,X)[X]);const e=[],l=[],u=new Map;for(const[s,n]of t.entries())!0===(0,Ut.default)(this,N)[N]?.has(n)&&(u.set(n,l.length),e.push(s),l.push(n));(0,Ut.default)(this,H)[H]=e,(0,Ut.default)(this,K)[K]=l,(0,Ut.default)(this,q)[q]=u,(0,Ut.default)(this,Z)[Z]=l.length}function ze(){return(0,Ut.default)(this,K)[K]??(0,Ut.default)(this,E)[E]}function ke(t){return null!=(0,Ut.default)(this,K)[K]?(0,Ut.default)(this,q)[q]?.get(t)??-1:(0,Ut.default)(this,U)[U].getVisibleIndex(t)??-1}function Le(t){return(0,Ut.default)(this,H)[H]?.[t]??t}function Ne(t){const e=(0,Ut.default)(this,q)[q]?.get(t);return null!=e?e:(0,Ut.default)(this,U)[U].getVisibleIndex(t)??-1}function qe(t){const e=(0,Ut.default)(this,z)[z];if(0===e.length)return;const l=(0,Ut.default)(this,p)[p],u=null==l?-1:e.indexOf(l),s=e[u<0?t>0?0:e.length-1:Math.min(e.length-1,Math.max(0,u+t))];null!=s&&this.focusPath(s)}function He(t,e){const l=null==t?null:(0,ue.normalizeSearchQuery)(t),u=(0,Ut.default)(this,_)[_];if(u!==l){if(null==u&&null!=l&&((0,Ut.default)(this,L)[L]=(0,Ut.default)(this,Ot)[Ot]()),(0,Ut.default)(this,_)[_]=l,null==l)(0,Ut.default)(this,wt)[wt](!0),(0,Ut.default)(this,L)[L]=null,(0,Ut.default)(this,T)[T].clear(),(0,Ut.default)(this,N)[N]=null,(0,Ut.default)(this,Lt)[Lt]((0,Ut.default)(this,p)[p],!0);else if(0===l.length)(0,Ut.default)(this,wt)[wt](!1),(0,Ut.default)(this,T)[T].clear(),(0,Ut.default)(this,N)[N]=null,(0,Ut.default)(this,Lt)[Lt]((0,Ut.default)(this,p)[p],!0);else{const t=(0,Ut.default)(this,At)[At]();(0,Ut.default)(this,Lt)[Lt](t,!0)}e&&((0,Ut.default)(this,D)[D]?.((0,Ut.default)(this,_)[_]),(0,Ut.default)(this,Bt)[Bt]())}}function Ke(){if(null==(0,Ut.default)(this,_)[_]||0===(0,Ut.default)(this,_)[_].length)return(0,Ut.default)(this,T)[T].clear(),(0,Ut.default)(this,p)[p];const t=(0,Ut.default)(this,_)[_],e=(0,Ut.default)(this,yt)[yt](),l=(0,Ut.default)(this,mt)[mt](),u=[],s=new Set;let n=null;for(let h=0;h<e.length;h+=1){if(!l[h].includes(t))continue;const f=e[h];u.push(f),s.add(f),n??=f}const h=(0,Ut.default)(this,St)[St](),f=(0,Ut.default)(this,It)[It]();for(let e=0;e<h.length;e+=1){if(!f[e].includes(t))continue;const l=h[e];s.has(l)||(u.push(l),s.add(l),n??=l)}(0,Ut.default)(this,T)[T]=s;const o="hide-non-matches"===(0,Ut.default)(this,k)[k]&&u.length>0?new Set:null;(0,Ut.default)(this,N)[N]=o;const c="expand-matches"===(0,Ut.default)(this,k)[k]?new Set((0,Ut.default)(this,L)[L]??[]):new Set;for(const t of u){null!=o&&o.add(t),t.endsWith("/")&&c.add(t);for(const e of(0,ae.getAncestorDirectoryPaths)(t))c.add(e),null!=o&&o.add(e)}return(0,Ut.default)(this,xt)[xt](c),n??(0,Ut.default)(this,p)[p]}function We(){for(const t of(0,Ut.default)(this,u)[u])t()}function Qe(t){(0,Ut.default)(this,s)[s].get(t.operation)?.forEach(e=>{e(t)}),(0,Ut.default)(this,s)[s].get("*")?.forEach(e=>{e(t)})}function $e(t){for(const e of(0,ae.getAncestorDirectoryPaths)(t))(0,Ut.default)(this,U)[U].isExpanded(e)||(0,Ut.default)(this,U)[U].expand(e);(0,Ut.default)(this,U)[U].isExpanded(t)||(0,Ut.default)(this,U)[U].expand(t)}function Ge(t){const e=(0,Ut.default)(this,Z)[Z];if(0===e)return;const l=-1===(0,Ut.default)(this,c)[c]?0:(0,Ut.default)(this,c)[c],u=Math.min(e-1,Math.max(0,l+t));u===l&&-1!==(0,Ut.default)(this,c)[c]||(!(0,Ut.default)(this,P)[P]&&null==(0,Ut.default)(this,H)[H]&&u>=(0,Ut.default)(this,E)[E].length&&(0,Ut.default)(this,Kt)[Kt](),(0,Ut.default)(this,Ht)[Ht](u))}function Je(t,e=!0){const l=(0,Ut.default)(this,U)[U].getVisibleCount();(0,Ut.default)(this,X)[X]=l;const u=de((0,Ut.default)(this,U)[U].getVisibleTreeProjectionData(e?void 0:Math.min(l,512)),t,e?t=>(0,Ut.default)(this,U)[U].getVisibleIndex(t):void 0);(0,Ut.default)(this,f)[f].clear(),(0,Ut.default)(this,o)[o].clear(),(0,Ut.default)(this,P)[P]=u.paths.length>=l,(0,Ut.default)(this,b)[b]=u.getParentIndex,(0,Ut.default)(this,E)[E]=u.paths,(0,Ut.default)(this,C)[C]=u.posInSetByIndex,(0,Ut.default)(this,M)[M]=u.setSizeByIndex,(0,Ut.default)(this,Dt)[Dt](),(0,Ut.default)(this,c)[c]=null==t?(0,Ut.default)(this,Et)[Et]().length>0?0:-1:(0,Ut.default)(this,ut)[ut](t),(0,Ut.default)(this,p)[p]=(0,Ut.default)(this,c)[c]<0?null:(0,Ut.default)(this,_t)[_t]((0,Ut.default)(this,c)[c])}function Ue(t){const e=(0,Ut.default)(this,Et)[Et]()[t];return null!=e?e:null!=(0,Ut.default)(this,H)[H]?null:(0,Ut.default)(this,U)[U].getVisibleRowContext(t)?.row.path??null}function Xe(t){return(0,Ut.default)(this,U)[U].getPathInfo(t)?.path??null}function Ye(t){if(null==t)return;const e=(0,Ut.default)(this,ut)[ut](t);e>=0&&(0,Ut.default)(this,Ht)[Ht](e,!1)}function Ze(t,e=!0){const l=(0,Ut.default)(this,_t)[_t](t);null!=l&&((0,Ut.default)(this,c)[c]===t&&(0,Ut.default)(this,p)[p]===l||((0,Ut.default)(this,c)[c]=t,(0,Ut.default)(this,p)[p]=l,e&&(0,Ut.default)(this,Bt)[Bt]()))}function tl(){(0,Ut.default)(this,P)[P]||(0,Ut.default)(this,Lt)[Lt]((0,Ut.default)(this,p)[p],!0)}function el(t){const e=(0,le.remapPathThroughMutation)((0,Ut.default)(this,R)[R],t);null==e&&null!=(0,Ut.default)(this,R)[R]&&((0,Ut.default)(this,A)[A]=""),(0,Ut.default)(this,R)[R]=e;const l=(0,le.remapPathThroughMutation)((0,Ut.default)(this,p)[p],t,!0),u=[...(0,Ut.default)(this,G)[G]].map(e=>(0,le.remapPathThroughMutation)(e,t)).filter(t=>null!=t).map(t=>(0,Ut.default)(this,U)[U].getPathInfo(t)?.path??null).filter(t=>null!=t),s=(0,le.remapPathThroughMutation)((0,Ut.default)(this,$)[$],t),n=null==s?null:(0,Ut.default)(this,U)[U].getPathInfo(s)?.path??null,h=[...new Set(u)];return(0,ae.arePathSetsEqual)((0,Ut.default)(this,G)[G],h)||((0,Ut.default)(this,G)[G]=new Set(h),(0,Ut.default)(this,J)[J]+=1),(0,Ut.default)(this,$)[$]=n,l}function ll(){return(0,Ut.default)(this,U)[U].on("*",t=>{if((0,Ut.default)(this,Y)[Y])return;t.canonicalChanged&&((0,Ut.default)(this,y)[y].clear(),(0,Ut.default)(this,jt)[jt]()),null!=(0,Ut.default)(this,h)[h]&&(0,le.isPathMutationEvent)(t)&&((0,Ut.default)(this,h)[h]=null);const e=(0,le.isPathMutationEvent)(t)?(0,Ut.default)(this,Wt)[Wt](t):(0,Ut.default)(this,p)[p],l=null!=(0,Ut.default)(this,_)[_]&&(0,Ut.default)(this,_)[_].length>0?(0,Ut.default)(this,At)[At]():""===(0,Ut.default)(this,_)[_]?(0,Ut.default)(this,p)[p]:e,u=null!=(0,Ut.default)(this,_)[_]||"expand"!==t.operation&&"collapse"!==t.operation;(0,Ut.default)(this,Lt)[Lt](l,u),(0,Ut.default)(this,Bt)[Bt]();const s=(0,le.toTreesMutationEvent)(t);null!=s&&(0,Ut.default)(this,Tt)[Tt](s)})}function al(t){(0,Ut.default)(this,U)[U].isExpanded(t)?(0,Ut.default)(this,ot)[ot](t):(0,Ut.default)(this,zt)[zt](t)}},1245,[25,30,31,1219,1235,1246,1248,1249,1250,1251,1252,1253]);
39
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"remapExpandedPathsForFolderRename",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"renameFileTreePaths",{enumerable:!0,get:function(){return l}});var t=r(d[0]);function n(t){const n=t.lastIndexOf("/");return n<0?{parentPath:"",baseName:t}:{parentPath:t.slice(0,n),baseName:t.slice(n+1)}}function s(t,n){return""===t?n:`${t}/${n}`}function o({expandedPaths:t,sourcePath:n,destinationPath:s}){if(0===t.length||n===s)return t;const o=`${n}/`,l=[],c=new Set;let u=!1;for(let h=0;h<t.length;h++){const f=t[h],P=f===n?s:f.startsWith(o)?`${s}${f.slice(n.length)}`:f;P!==f&&(u=!0),c.has(P)?u=!0:(c.add(P),l.push(P))}return u?l:t}function l({files:o,path:l,isFolder:c,nextBasename:u}){const h=(0,t.getSelectionPath)(l),f=u.trim();if(0===f.length)return{error:"Name cannot be empty."};if(f.includes("/"))return{error:"Name cannot include \"/\"."};const{parentPath:P,baseName:$}=n(h);if(f===$)return{nextFiles:o,sourcePath:h,destinationPath:h,isFolder:c};const p=s(P,f),x=new Array(o.length),F=new Set;if(!c){const t=`${p}/`;let n=!1;for(let s=0;s<o.length;s++){const l=o[s];if(l!==h&&l.startsWith(t))return{error:`"${p}" already exists.`};const c=l===h?p:l;if(F.has(c))return{error:`"${p}" already exists.`};F.add(c),x[s]=c,l===h&&(n=!0)}return n?{nextFiles:x,sourcePath:h,destinationPath:p,isFolder:c}:{error:"Could not find the selected file to rename."}}const b=`${h}/`,y=`${p}/`;let N=0;for(let t=0;t<o.length;t++){const n=o[t],s=n===h||n.startsWith(b);if(!s&&(n===p||n.startsWith(y)))return{error:`"${p}" already exists.`};const l=s?`${p}${n.slice(h.length)}`:n;if(F.has(l))return{error:`"${p}" already exists.`};F.add(l),x[t]=l,s&&N++}return 0===N?{error:"Could not find the selected folder to rename."}:{nextFiles:x,sourcePath:h,destinationPath:p,isFolder:c}}},1246,[1247]);
40
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"getSelectionPath",{enumerable:!0,get:function(){return t}}),r(d[0]);const t=t=>t.startsWith("f::")?t.slice(3):t},1247,[1211]);
41
+ __d(function(g,r,i,a,m,e,d){"use strict";function t(t){return t.endsWith("/")}function n(t){const n=t.endsWith("/")?t.slice(0,-1):t,o=n.lastIndexOf("/"),u=o<0?n:n.slice(o+1);return t.endsWith("/")?`${u}/`:u}function o(t){const n=[],o=new Set;for(const u of t)o.has(u)||(o.add(u),n.push(u));const u=new Set;for(const t of n.toSorted((t,n)=>t.length!==n.length?t.length-n.length:t.localeCompare(n))){const n=(t.endsWith("/")?t.slice(0,-1):t).split("/");let o=!1;for(let t=0;t<n.length-1;t+=1){const c=`${n.slice(0,t+1).join("/")}/`;if(u.has(c)){o=!0;break}}o||u.add(t)}return n.filter(t=>u.has(t))}function u(t,n){return n.includes(t)?o(n):[t]}function c(t,n){return t===n||null!=t&&null!=n&&(t.kind===n.kind&&t.directoryPath===n.directoryPath&&t.flattenedSegmentPath===n.flattenedSegmentPath&&t.hoveredPath===n.hoveredPath)}function l(t,n){return{draggedPaths:t,target:n}}function s(n,o){if("directory"!==o.kind||null==o.directoryPath)return!1;for(const u of n)if(t(u)&&(o.directoryPath===u||o.directoryPath.startsWith(u)))return!0;return!1}function f(t,o){return"root"===o.kind||null==o.directoryPath?n(t):o.directoryPath}function h(t,n){const o=t.map(t=>{const o=f(t,n);return o===t?null:{from:t,to:o,type:"move"}}).filter(t=>null!=t);return 0===o.length?null:{operations:o,result:{draggedPaths:t,operation:1===o.length?"move":"batch",target:n}}}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"buildDropOperations",{enumerable:!0,get:function(){return h}}),Object.defineProperty(e,"createDropContext",{enumerable:!0,get:function(){return l}}),Object.defineProperty(e,"dropTargetsEqual",{enumerable:!0,get:function(){return c}}),Object.defineProperty(e,"isSelfOrDescendantDrop",{enumerable:!0,get:function(){return s}}),Object.defineProperty(e,"normalizeDraggedPaths",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"resolveDraggedPathsForStart",{enumerable:!0,get:function(){return u}})},1248,[]);
42
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"resolveFileTreeInput",{enumerable:!0,get:function(){return p}});var t=r(d[0]);function n(t,n){if(t===n)return!0;if(t.length!==n.length)return!1;for(let p=0;p<t.length;p+=1)if(t[p]!==n[p])return!1;return!0}function p(p,u,l){const{paths:o,preparedInput:s}=p;if(null==s){if(null==o)throw new Error("FileTree requires paths or preparedInput");return{paths:o,preparedInput:void 0}}const f=s.paths;if(null==o)return{paths:f,preparedInput:s};if(!n(t.PathStore.preparePaths(o,null==l?{}:{sort:l}),f))throw new Error(`FileTree ${u} received paths and preparedInput for different path lists`);return{paths:f,preparedInput:s}}r(d[1])},1249,[1219,1235]);
43
+ __d(function(g,r,i,a,m,e,d){"use strict";function t(t){return"add"===t.operation||"remove"===t.operation||"move"===t.operation||"batch"===t.operation}function n(t,n,o){if(t===n)return o;const c=n.endsWith("/")?n:`${n}/`;return t.startsWith(c)?`${o.endsWith("/")?o:`${o}/`}${t.slice(c.length)}`:t}function o(t,n){if(t===n)return!0;const o=n.endsWith("/")?n:`${n}/`;return t.startsWith(o)}function c(t,u,s=!1){if(null==t)return null;switch(u.operation){case"add":case"expand":case"collapse":case"mark-directory-unloaded":case"begin-child-load":case"apply-child-patch":case"complete-child-load":case"fail-child-load":case"cleanup":return t;case"remove":return o(t,u.path)?s?t:null:t;case"move":return n(t,u.from,u.to);case"batch":{let n=t;for(const t of u.events)if(n=c(n,t,s),null==n)return null;return n}}}function u(t){return{canonicalChanged:t.canonicalChanged,projectionChanged:t.projectionChanged,visibleCountDelta:t.visibleCountDelta}}function s(t){switch(t.operation){case"add":return Object.assign({},u(t),{operation:"add",path:t.path});case"remove":return Object.assign({},u(t),{operation:"remove",path:t.path,recursive:t.recursive});case"move":return Object.assign({},u(t),{from:t.from,operation:"move",to:t.to})}}function l(t){return Object.assign({},u(t),{events:t.events.filter(t=>"add"===t.operation||"remove"===t.operation||"move"===t.operation).map(t=>s(t)),operation:"batch"})}function p(t){switch(t.operation){case"add":case"remove":case"move":return s(t);case"batch":return l(t);default:return null}}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"isPathMutationEvent",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"remapPathThroughMutation",{enumerable:!0,get:function(){return c}}),Object.defineProperty(e,"toTreesMutationEvent",{enumerable:!0,get:function(){return p}})},1250,[]);
44
+ __d(function(g,r,i,a,m,e,d){"use strict";function t(t,n){if(t.size!==n.length)return!1;for(const u of n)if(!t.has(u))return!1;return!0}function n(t){const n=t.endsWith("/")?t.slice(0,-1):t;if(0===n.length)return[];const u=n.split("/");return u.slice(0,-1).map((t,n)=>`${u.slice(0,n+1).join("/")}/`)}function u(t){return n(t).at(-1)??null}function o(t,n){return null==n?t:t.startsWith(n)?t.slice(n.length):t}function c(t){return t.endsWith("/")}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"arePathSetsEqual",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"getAncestorDirectoryPaths",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"getImmediateParentPath",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"getSiblingComparisonKey",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"isCanonicalDirectoryPath",{enumerable:!0,get:function(){return c}}),Object.defineProperty(e,"toLowerCaseSearchPath",{enumerable:!0,get:function(){return s}});const s=t=>t.toLowerCase()},1251,[]);
45
+ __d(function(g,r,i,a,m,e,d){"use strict";function n(n){const t=n.endsWith("/")?n.slice(0,-1):n,u=t.lastIndexOf("/");return u<0?t:t.slice(u+1)}function t(n){return n.endsWith("/")?n.slice(0,-1):n}function u(n,t){return t&&!n.endsWith("/")?`${n}/`:n}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"getRenameLeafName",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"toCanonicalRenamePath",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"toRenameHelperPath",{enumerable:!0,get:function(){return t}})},1252,[]);
46
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"normalizeSearchQuery",{enumerable:!0,get:function(){return t}});const t=t=>{const n=t.trim();return 0===n.length?"":(n.includes("\\")?n.replaceAll("\\","/"):n).toLowerCase()}},1253,[]);
47
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"applyFileTreeGitStatusPatch",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"resolveFileTreeGitStatusState",{enumerable:!0,get:function(){return c}});var t=r(d[0]),n=r(d[1]);function o(t){const n=t.endsWith("/")?t.slice(0,-1):t;if(0===n.length)return[];const o=[];let s=0;for(;;){const t=n.indexOf("/",s);if(-1===t)break;o.push(n.slice(0,t+1)),s=t+1}return o}function s(t,n){return n?`${t}/`:t}function c(n,o=null){const s=(0,t.getGitStatusSignature)(null==n?void 0:[...n]);if("0"===s)return null;if(o?.signature===s)return o;const c=new Map,u=new Set,l=new Set,y=new Map;for(const t of n??[]){const n=h(t);null!=n&&P({canonicalPath:n.canonicalPath,changeCountByDirectoryPath:y,directoriesWithChanges:u,ignoredDirectoryPaths:l,isDirectory:n.isDirectory,status:t.status,statusByPath:c})}return 0===c.size?null:{changeCountByDirectoryPath:y,directoriesWithChanges:u,ignoredDirectoryPaths:l,signature:s,statusByPath:c}}function u(t,n){const o=n?.remove??[],s=n?.set??[];if(0===o.length&&0===s.length)return t;const c=new Map(t?.statusByPath),u=new Set(t?.directoriesWithChanges),f=new Set(t?.ignoredDirectoryPaths),D=new Map(t?.changeCountByDirectoryPath);let C=!1;for(const t of o){const n=l(t);null!=n&&(C=y({canonicalPath:n.canonicalPath,changeCountByDirectoryPath:D,directoriesWithChanges:u,ignoredDirectoryPaths:f,statusByPath:c})||C)}for(const t of s){const n=h(t);null!=n&&(C=P({canonicalPath:n.canonicalPath,changeCountByDirectoryPath:D,directoriesWithChanges:u,ignoredDirectoryPaths:f,isDirectory:n.isDirectory,status:t.status,statusByPath:c})||C)}return C?0===c.size?null:{changeCountByDirectoryPath:D,directoriesWithChanges:u,ignoredDirectoryPaths:f,signature:B(c),statusByPath:c}:t}function h(t){return l(t.path)}function l(t){const o=(0,n.normalizeInputPath)(t);if(null!=o)return{canonicalPath:s(o.path,o.isDirectory),isDirectory:o.isDirectory}}function y({canonicalPath:t,changeCountByDirectoryPath:n,directoriesWithChanges:o,ignoredDirectoryPaths:s,statusByPath:c}){const u=c.get(t);return null!=u&&(c.delete(t),"ignored"===u&&t.endsWith("/")&&s.delete(t),D(n,o,t),!0)}function P({canonicalPath:t,changeCountByDirectoryPath:n,directoriesWithChanges:o,ignoredDirectoryPaths:s,isDirectory:c,status:u,statusByPath:h}){const l=h.get(t);return l!==u&&(null==l&&f(n,o,t),h.set(t,u),"ignored"===u&&c?s.add(t):c&&s.delete(t),!0)}function f(t,n,s){for(const c of o(s))t.set(c,(t.get(c)??0)+1),n.add(c)}function D(t,n,s){for(const c of o(s)){const o=(t.get(c)??0)-1;o>0?t.set(c,o):(t.delete(c),n.delete(c))}}function B(t){let n=`${t.size}`;for(const[o,s]of t)n+=`\0${o}\0${s}`;return n}},1254,[1255,1256]);
48
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"getGitStatusSignature",{enumerable:!0,get:function(){return t}});const t=t=>{if(null==t||0===t.length)return"0";let n=`${t.length}`;for(const u of t)n+=`\0${u.path}\0${u.status}`;return n}},1255,[]);
49
+ __d(function(g,r,_i,a,m,e,d){"use strict";function t(t){const n=t.endsWith("/");let i="",o=-1;for(let n=0;n<=t.length;n+=1)"/"===t[n]||n===t.length?-1!==o&&(""!==i&&(i+="/"),i+=t.slice(o,n),o=-1):-1===o&&(o=n);return""===i?null:{isDirectory:n,path:i}}function n(t,n,i){const o=t.lastIndexOf("/");if(-1===o)return void(n&&i(t));const l=n?t.length:o;let c=t.indexOf("/");for(;-1!==c&&c<=l;)i(t.slice(0,c)),c=t.indexOf("/",c+1);n&&i(t)}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"forEachFolderInNormalizedPath",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"normalizeInputPath",{enumerable:!0,get:function(){return t}})},1256,[]);
50
+ __d(function(g,r,i,a,m,_e,d){"use strict";const e=["name"];Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"FileTreeView",{enumerable:!0,get:function(){return se}});var t,n=r(d[0]),l=(t=n)&&t.__esModule?t:{default:t},o=r(d[1]),u=r(d[2]),c=r(d[3]),s=r(d[4]),f=r(d[5]),h=r(d[6]),p=r(d[7]),v=r(d[8]),y=r(d[9]),w=r(d[10]),x=r(d[11]),b=r(d[12]),T=r(d[13]),E=r(d[14]),R=r(d[15]),k=r(d[16]),M=r(d[17]);function S(e,t=null,n=null){const l=e.flattenedSegments;return null==l||0===l.length?t??e.name:(0,M.jsx)("span",{"data-item-flattened-subitems":!0,children:l.map((e,o)=>{const u=o===l.length-1;return(0,M.jsxs)(R.Fragment,{children:[(0,M.jsx)("span",{"data-item-flattened-subitem":e.path,"data-item-flattened-subitem-drag-target":n===e.path?"true":void 0,children:u&&null!=t?t:(0,M.jsx)(h.Truncate,{children:e.name})}),o<l.length-1?" / ":""]},e.path)})})}function P(e){return e.isFlattened?e.flattenedSegments?.findLast(e=>e.isTerminal)?.path??e.path:e.path}function D(e){const t=e.flattenedSegments;return null==t||0===t.length?e.name:t.map(e=>e.name).join(" / ")}function L(e,t,n,l){return e.map((e,o)=>{const u=o*n,c=e.subtreeEndIndex+1;if(c>=l)return{row:e.row,top:u};const s=c*n-t;return{row:e.row,top:Math.min(u,s-n)}}).filter(e=>e.top+n>0)}function A({controller:e,itemHeight:t,overscan:n,scrollTop:l,stickyFolders:o,viewportHeight:u}){const c=e.getVisibleCount(),s=o&&c>0?e.getStickyRowCandidates(l,t):[],f=null==s&&o&&c>0?e.getVisibleRows(0,c-1):[],h=(0,p.computeFileTreeLayout)(f,{itemHeight:t,overscan:n,scrollTop:l,stickyRows:null==s?void 0:L(s,l,t,c),totalRowCount:c,viewportHeight:u}),v=o&&l<=0&&c>0?e.getStickyRowCandidates(1,t):[],y=null!=v&&l<=0?L(v,1,t,c):o&&l<=0&&f.length>0?(0,p.computeStickyRows)(f,1,t):h.sticky.rows;return{overlayHeight:y.reduce((e,n)=>Math.max(e,n.top+t),0),overlayRows:y,snapshot:h,visibleRows:f}}const C=400,F=40,I=18;function j(e,t,n){const l=e,o=document.elementFromPoint?.bind(document)??null,u=l.elementFromPoint?.(t,n)??o?.(t,n)??null;return e instanceof ShadowRoot&&(null==u||!e.contains(u))?O(e,t,n):u instanceof HTMLElement?u:null}function O(e,t,n){const l=Array.from(e.querySelectorAll("[data-type=\"item\"], [data-item-flattened-subitem]"));for(let e=l.length-1;e>=0;e--){const o=l[e],u=o.getBoundingClientRect();if(t>=u.left&&t<=u.right&&n>=u.top&&n<=u.bottom)return o}return null}function H(e){const t=e?.closest?.("[data-type=\"item\"]");if(!(t instanceof HTMLElement))return null;const n=t.dataset.itemPath??null;if(null==n)return null;const l=e?.closest?.("[data-item-flattened-subitem]"),o=l instanceof HTMLElement?l.getAttribute("data-item-flattened-subitem")??null:null;if(null!=o&&o.endsWith("/"))return{directoryPath:o,flattenedSegmentPath:o,hoveredPath:n,kind:"directory"};if("folder"===t.dataset.itemType)return{directoryPath:n,flattenedSegmentPath:null,hoveredPath:n,kind:"directory"};const u=t.dataset.itemParentPath??null;return null==u||0===u.length?{directoryPath:null,flattenedSegmentPath:null,hoveredPath:n,kind:"root"}:{directoryPath:u,flattenedSegmentPath:null,hoveredPath:n,kind:"directory"}}function _(e){const t=e.cloneNode(!0);return t.removeAttribute("id"),t.dataset.fileTreeDragPreview="true",t.setAttribute("aria-hidden","true"),t.tabIndex=-1,Object.assign(t.style,{boxShadow:"0 4px 12px rgba(0, 0, 0, 0.15)",left:"0px",margin:"0",pointerEvents:"none",position:"fixed",top:"0px",willChange:"transform",zIndex:"10000"}),t}function V(e,t){const n=e-t.top;if(n<F)return-Math.ceil((F-Math.max(0,n))/F*I);const l=t.bottom-e;return l<F?Math.ceil((F-Math.max(0,l))/F*I):0}function $(e,t){if(null!=e){const t=v.GIT_STATUS_LABEL[e];return null==t?null:{text:t,title:v.GIT_STATUS_TITLE[e]}}return t?{icon:{name:"file-tree-icon-dot",width:6,height:6},title:v.GIT_STATUS_DESCENDANT_TITLE}:null}function N(e,t,n){if(null==t||0===t.size)return null;const l=[];for(let o=e.length-1;o>=0;o-=1){const u=e[o],c=n.get(u);if(null!=c){for(const e of l)n.set(e,c);return c?"ignored":null}if(t.has(u)){n.set(u,!0);for(const e of l)n.set(e,!0);return"ignored"}l.push(u)}for(const e of l)n.set(e,!1);return null}function B(e){return null!=e&&"toggle"in e}function K(e){return"Space"===e.code||" "===e.key||"Spacebar"===e.key}function U(e){return 1===e.key.length&&/^[\p{L}\p{N}]$/u.test(e.key)&&!e.ctrlKey&&!e.metaKey&&!e.altKey}function X(e){return e.shiftKey&&"F10"===e.key||"ContextMenu"===e.key}function Y(e,t){return!(!t||!X(e))||(!(!e.ctrlKey&&!e.metaKey||!K(e))||("ArrowDown"===e.key||"ArrowLeft"===e.key||"ArrowRight"===e.key||"ArrowUp"===e.key))}const G=new Set(["ArrowDown","ArrowLeft","ArrowRight","ArrowUp","End","Home","PageDown","PageUp"]);function z(e){for(const t of e.composedPath())if(t instanceof HTMLElement){if("true"===t.dataset.fileTreeContextMenuRoot)return!0;if("context-menu-anchor"===t.dataset.type||"context-menu-trigger"===t.dataset.type)return!0;if("context-menu"===t.getAttribute("slot"))return!0}return!1}function q(e,t){if(null==e)return t.offsetTop;const n=t.getBoundingClientRect(),l=e.getBoundingClientRect();return n.top-l.top}function W(e,t,n){null!=n?e.set(t,n):e.delete(t)}function J(e,t,n){if(null==e)return null;const l=t.get(e)??null;if(null!=l)return l;const o=n.get(e)??null;return"true"===o?.dataset.itemParked?null:o}function Q(e){if(null==e)return[];const t=[];for(const n of e.querySelectorAll("button[data-file-tree-sticky-row=\"true\"]")){if(!(n instanceof HTMLElement))continue;const e=n.dataset.fileTreeStickyPath;null!=e&&t.push(e)}return t}function Z(e,t){if(null==e||null==t)return null;for(const n of e.querySelectorAll("button[data-item-focused=\"true\"][data-item-parked=\"true\"]"))if(n instanceof HTMLElement&&n.dataset.itemPath===t)return n;return null}function ee(e,t,n,l,o,u,c){const s=Math.max(0,u-o),f=t?.getBoundingClientRect()??null,h=null==f||null==n?null:n.getBoundingClientRect().top-f.top,p=Z(e,l),v=null==f||null==p?null:p.getBoundingClientRect().top-f.top;return Math.max(0,Math.min(v??Math.max(h??0,s),Math.max(0,c-o)))}function te(e,t){return{kind:e.kind,name:D(e),path:t}}function ne(e){return null==e?void 0:`${e}__tree`}function re(e,t,n){if(null!=e)return`${e}__focused-item-${encodeURIComponent(t)}${n?"__parked":""}`}function le(e){return"file-tree-icon-chevron"===e||"file-tree-icon-dot"===e||"file-tree-icon-file"===e||"file-tree-icon-lock"===e}function oe(t,n){if(null==t)return null;if("text"in t)return null!=t.parts?(0,M.jsx)("span",{title:t.title,children:t.parts.map((e,t)=>(0,M.jsx)("span",{style:{color:e.color},children:e.text},t))}):(0,M.jsx)("span",{title:t.title,children:t.text});const o="string"==typeof t.icon?le(t.icon)?n(t.icon):{name:t.icon}:le(t.icon.name)?(()=>{const o=n(t.icon.name),u=t.icon,c=(0,l.default)(u,e);return Object.assign({},o,c)})():t.icon;return(0,M.jsx)("span",{title:t.title,children:(0,M.jsx)(f.Icon,Object.assign({},o))})}function ue(e){null!=e&&(0,w.focusElement)(e.querySelector(["button:not([disabled])","[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","[tabindex]:not([tabindex=\"-1\"])"].join(", "))??e)}function ie(e,t,{actionLaneEnabled:n=!1,customDecoration:l=null,decorationLaneEnabled:o=!1,dragTargetFlattenedSegmentPath:u=null,gitDecoration:c=null,gitLaneActive:s=!1,renameInput:p=null,showDecorativeActionAffordance:v=!1}={}){const y=P(e);return(0,M.jsxs)(R.Fragment,{children:[e.depth>0?(0,M.jsx)("div",{"data-item-section":"spacing",children:Array.from({length:e.depth}).map((t,n)=>(0,M.jsx)("div",{"data-item-section":"spacing-item","data-ancestor-path":e.ancestorPaths[n]},n))}):null,(0,M.jsx)("div",{"data-item-section":"icon",children:"directory"===e.kind?(0,M.jsx)(f.Icon,Object.assign({},t("file-tree-icon-chevron"))):(0,M.jsx)(f.Icon,Object.assign({},t("file-tree-icon-file",y)))}),(0,M.jsx)("div",{"data-item-section":"content",children:e.isFlattened?S(e,p,u):p??(0,M.jsx)(h.MiddleTruncate,{minimumLength:5,split:"extension",children:e.name})}),o?(0,M.jsx)("div",{"data-item-section":"decoration",children:null!=l?oe(l,t):null}):null,s?(0,M.jsx)("div",{"data-item-section":"git",children:oe(c,t)}):null,n?(0,M.jsx)("div",{"data-item-section":"action",children:v?(0,M.jsx)("span",{"aria-hidden":"true","data-item-action-affordance":"decorative",children:(0,M.jsx)(f.Icon,Object.assign({},t("file-tree-icon-ellipsis")))}):null}):null]})}function ae(e,t,n,l={}){const{controller:o,renameView:u,visualFocusPath:c,contextHoverPath:s,draggedPathSet:f,dragTarget:h,dragAndDropEnabled:p,shouldSuppressContextMenu:v,handleRowDragStart:y,handleRowDragEnd:w,handleRowTouchStart:x,instanceId:E,itemHeight:R,gitStatusByPath:k,ignoredGitDirectories:S,ignoredInheritanceCache:L,directoriesWithGitChanges:A,gitLaneActive:C,contextMenuEnabled:F,contextMenuTriggerMode:I,contextMenuButtonTriggerEnabled:j,contextMenuButtonVisibility:O,contextMenuRightClickEnabled:H,registerRenameInput:_,registerButton:V,resolveIcon:B,renderDecorationForRow:K,openContextMenuForRow:U,onRowClick:X,onKeyDown:Y}=e,G=P(t),{isParked:z=!1,mode:q="flow",style:W}=l,J="sticky"===q,Q=k?.get(G)??null??N(t.ancestorPaths,S,L),Z="directory"===t.kind&&(A?.has(G)??!1),ee=K(t,G),te=$(Q,Z),ne=F&&j,le=null!=ee||C||ne,oe=ne&&"always"===O,ue=u.getPath()===G,ae=ue?u.getValue():"",ce=J||!ue?null:(0,M.jsx)(b.RenameInput,{ref:_,ariaLabel:`Rename ${D(t)}`,isFlattened:t.isFlattened,value:ae,onBlur:()=>{u.commit()},onInput:e=>{u.setValue(e.currentTarget.value)}}),se=ie(t,B,{actionLaneEnabled:ne,customDecoration:ee,decorationLaneEnabled:le,dragTargetFlattenedSegmentPath:h?.flattenedSegmentPath??null,gitDecoration:te,gitLaneActive:C,renameInput:ce,showDecorativeActionAffordance:oe}),de=Object.assign({},(0,T.computeFileTreeRowElementAttributes)({ariaLabel:D(t),domId:t.isFocused?re(E,G,z):void 0,extraStyle:W,features:{actionLaneEnabled:ne,contextMenuButtonVisibility:ne?O:null,contextMenuEnabled:F,contextMenuTriggerMode:F?I:null,gitLaneActive:C},isParked:z,itemHeight:R,mode:q,row:t,state:{containsGitChange:Z,effectiveGitStatus:Q,isContextHovered:s===G,isDragTarget:"directory"===h?.kind&&h.directoryPath===G,isDragging:!0===f?.has(G),isFocusRinged:t.isFocused&&c===G},targetPath:G}),{key:n,onContextMenu:F||p?e=>{var n,l;v()?e.preventDefault():F&&(e.preventDefault(),H&&(o.focusMountedPathFromInput(G),U(t,G,{anchorRect:(n=e.clientX,l=e.clientY,{bottom:l,height:0,left:n,right:n,top:l,width:0,x:n,y:l}),source:"right-click"})))}:void 0,onFocus:J?void 0:()=>{o.focusMountedPathFromInput(G)},onKeyDown:J?void 0:Y,ref:e=>{V(G,e)}});return!J&&ue?(0,M.jsx)("div",Object.assign({},de,{children:se})):(0,M.jsx)("button",Object.assign({},de,{type:"button",draggable:p&&!z,onDragEnd:p&&!z?w:void 0,onDragStart:p&&!z?e=>{y(e,t,G)}:void 0,onMouseDown:e=>{(J||o.isSearchOpen())&&e.preventDefault()},onTouchStart:p&&!z?e=>{x(e,t,G)}:void 0,onClick:e=>{X(e,t,G,q)},children:se}))}function ce(e,t,n){return t.end<t.start?[]:e.controller.getVisibleRows(t.start,t.end).filter(e=>!n.has(P(e))).map((n,l)=>ae(e,n,t.start+l))}function se({composition:e,controller:t,gitStatusByPath:n,ignoredGitDirectories:l,directoriesWithGitChanges:h,icons:p,instanceId:v,itemHeight:b=c.FILE_TREE_DEFAULT_ITEM_HEIGHT,overscan:T=10,renamingEnabled:R=!1,renderRowDecoration:S,searchBlurBehavior:D="close",searchEnabled:L=!1,searchFakeFocus:F=!1,slotHost:I,stickyFolders:O=!1,initialViewportHeight:$=420}){const N=(0,k.useRef)(null),Z=(0,k.useRef)(null),le=(0,k.useRef)(!1),oe=(0,k.useRef)(null),ie=(0,k.useRef)(null),se=(0,k.useRef)(null),de=(0,k.useRef)(null),fe=(0,k.useRef)(null),he=(0,k.useRef)(new Map),ge=(0,k.useRef)(new Map),pe=(0,k.useRef)(()=>{}),me=(0,k.useRef)(null),ve=(0,k.useRef)(0),ye=(0,k.useRef)(!1),we=(0,k.useRef)(null);we.current!==t&&(ye.current=!1,we.current=t);const xe=(0,k.useRef)(!1),be=(0,k.useRef)(null),Te=(0,k.useRef)(null),Ee=(0,k.useRef)(!1),Re=(0,k.useRef)(null),ke=(0,k.useRef)(null),Me=(0,k.useRef)(null),Se=(0,k.useRef)(null),Pe=(0,k.useRef)(null),De=(0,k.useRef)(null),Le=(0,k.useRef)(null),Ae=(0,k.useRef)(null),Ce=(0,k.useRef)(!1),Fe=(0,k.useRef)(null),Ie=(0,k.useRef)(null),je=(0,k.useRef)(null),Oe=(0,k.useRef)(null),He=(0,k.useMemo)(()=>new Map,[]),[,Ve]=(0,k.useState)(0),$e=(0,k.useRef)(!1),[Ne,Be]=(0,k.useState)(null),[Ke,Ue]=(0,k.useState)(null),[Xe,Ye]=(0,k.useState)(null),[Ge,ze]=(0,k.useState)(null),[qe,We]=(0,k.useState)(0),[Je,Qe]=(0,k.useState)(null),Ze=(0,k.useRef)(Je);Ze.current=Je;const et=(0,k.useRef)(null),tt=(0,k.useRef)(null),nt=(0,k.useRef)(null),rt=(0,k.useRef)(null),lt=(0,k.useRef)(null),ot=(0,k.useRef)(!1),ut=(e,t)=>{tt.current=e,nt.current=null,rt.current=null==t?null:{path:e,scrollTop:t}},it=(0,k.useRef)("retain"===D&&t.isSearchOpen()),[at,ct]=(0,k.useState)(F);(0,k.useEffect)(()=>{F||ct(!1)},[F]);const st=(0,k.useRef)(!1),dt=(0,k.useCallback)(()=>{st.current=!0,ct(e=>!e&&e)},[]),[ft,ht]=(0,k.useState)(()=>A({controller:t,itemHeight:b,overscan:T,scrollTop:0,stickyFolders:O,viewportHeight:$})),[gt,pt]=(0,k.useState)(!1);(0,k.useEffect)(()=>{pt(!0)},[]);const mt=!0===e?.contextMenu?.enabled||null!=e?.contextMenu?.render||null!=e?.contextMenu?.onOpen||null!=e?.contextMenu?.onClose,vt=e?.contextMenu?.triggerMode??(mt?"right-click":"both"),yt="both"===vt||"button"===vt,wt=e?.contextMenu?.buttonVisibility??"when-needed",xt="both"===vt||"right-click"===vt;(0,k.useLayoutEffect)(()=>{const e=se.current;if(null==e)return;const t=e=>{if(!(e instanceof CustomEvent))return;const t=e.detail?.path??null;lt.current=t,Ue(t),ze(null==t?null:"pointer")},n=e=>{e instanceof CustomEvent&&(ot.current=!0===e.detail?.disabled)};return e.addEventListener("file-tree-debug-set-context-menu-trigger",t),e.addEventListener("file-tree-debug-set-scroll-suppression",n),()=>{e.removeEventListener("file-tree-debug-set-context-menu-trigger",t),e.removeEventListener("file-tree-debug-set-scroll-suppression",n)}},[]);const bt=(0,k.useCallback)((e,t)=>{W(he.current,e,t)},[]),Tt=(0,k.useCallback)((e,t)=>{W(ge.current,e,t)},[]),Et=(0,k.useCallback)(e=>{ie.current=e},[]),Rt=(0,k.useCallback)(e=>J(e,ge.current,he.current),[]),kt=null!=n||null!=l||null!=h,{resolveIcon:Mt}=(0,k.useMemo)(()=>(0,u.createFileTreeIconResolver)(p),[p]),St=t[s.FILE_TREE_RENAME_VIEW](),Pt=St.getPath(),Dt=null!=Pt,Lt=t.isSearchOpen(),At=t.getSearchValue(),Ct=t.getFocusedPath(),Ft=t.getFocusedIndex(),It=t.getScrollRequest(),jt=t.isDragAndDropEnabled(),Ot=t.getDragSession(),Ht=(0,k.useMemo)(()=>null==Ot?null:new Set(Ot.draggedPaths),[Ot]),_t=Ot?.target??null,Vt=Ot?.primaryPath??null,$t=ne(v),{overlayHeight:Nt,overlayRows:Bt,snapshot:Kt,visibleRows:Ut}=ft,Xt=Kt.physical.viewportHeight,Yt=(0,k.useMemo)(()=>({end:Kt.window.endIndex,start:Kt.window.startIndex}),[Kt.window.endIndex,Kt.window.startIndex]),Gt=Bt,zt=Kt.sticky.rows,qt=Kt.physical.totalHeight,Wt=Kt.sticky.height,Jt=(0,k.useMemo)(()=>new Set(zt.map(e=>P(e.row))),[zt]),Qt=Ft>=0&&Ft>=Yt.start&&Ft<=Yt.end,Zt=(0,k.useCallback)((e,t)=>S?.({item:te(e,t),row:e})??null,[S]),en=(0,k.useCallback)(e=>!!(0,w.focusElement)(null==e?null:he.current.get(e)??null)||(0,w.focusElement)(se.current),[]),tn=(0,k.useCallback)(e=>{en(t.focusNearestPath(e))},[t,en]),nn=(0,k.useRef)(tn);nn.current=tn;const rn=(0,k.useRef)(!0),ln=(0,k.useRef)(()=>{}),on=(0,k.useCallback)((t=!0)=>{const n=Ze.current;null!=n&&(rn.current=rn.current&&t,Qe(null),e?.contextMenu?.onClose?.(),rn.current&&tn(n.path))},[e?.contextMenu,tn]);ln.current=on;const un=(0,k.useCallback)(e=>{const t=null==e?null:q(se.current,e);Ye(e=>e===t?e:t)},[]),an=(0,k.useCallback)((e,n,l)=>{const o=t.getItem(n);if(null==o)return;const u=Rt(n);if("true"===u?.dataset.fileTreeStickyRow){const e=de.current;ut(n,e?.scrollTop??null),xe.current=!0,Be(e=>e===n?e:n)}o.focus(),un(u),rn.current=!0,Qe({anchorRect:l?.anchorRect??null,item:te(e,n),path:n,source:l?.source??"keyboard"})},[t,Rt,un]),cn=(0,k.useCallback)(e=>{if(R){if(t.isSearchOpen()){const e=de.current,t=(0,w.readMeasuredViewportHeight)(e,Xt);Re.current=Ft<0||null==e?null:Math.max(0,Math.min(Ft*b-e.scrollTop,Math.max(0,t-b))),Ee.current=!0}!1!==t.startRenaming(e)&&(ze("focus"),Ve(e=>e+1))}},[t,Ft,b,R,Xt]),sn=(0,k.useCallback)((e,{restoreTreeFocus:n=!0,targetOffset:l="live-overlay"}={})=>{const o=de.current;if(null==o)return!1;t.focusPath(e);const u=t.getFocusedIndex();if(u<0)return!1;const c=t.getVisibleRows(u,u)[0]??null;if(null==c)return!1;const s=(0,w.readMeasuredViewportHeight)(o,Xt),f=t.getVisibleCount()*b,h="sticky-parents"===l?c.ancestorPaths.length*b:A({controller:t,itemHeight:b,overscan:T,scrollTop:o.scrollTop,stickyFolders:O,viewportHeight:s}).snapshot.sticky.height;return xe.current=!0,(0,w.scrollFocusedRowToViewportOffset)(o,u,b,s,f,h),pe.current(),et.current=n?e:null,!0},[t,b,T,Xt,O]),dn=e=>"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame(()=>{e()}):window.setTimeout(e,16),fn=()=>{null!=Se.current&&(clearTimeout(Se.current),Se.current=null),Me.current=null},hn=()=>{De.current?.remove(),De.current=null},gn=()=>{var e;null!=(e=ke.current)&&("function"!=typeof window.cancelAnimationFrame?window.clearTimeout(e):window.cancelAnimationFrame(e)),ke.current=null,Pe.current=null},pn=e=>{const t=se.current?.getRootNode();t instanceof ShadowRoot?t.append(e):document.body.append(e)},mn=()=>{Ae.current?.(),Ae.current=null,null!=Oe.current&&(clearTimeout(Oe.current),Oe.current=null),Ce.current=!1,Fe.current=null,je.current=null,null!=Ie.current&&(Ie.current.setAttribute("draggable","true"),Ie.current.style.removeProperty("touch-action"),Ie.current=null),hn(),fn(),gn(),Le.current=null},vn=(e,n)=>{const l=se.current?.getRootNode(),o=H(j(l instanceof ShadowRoot?l:document,e,n));return t.setDragTarget(o),t.getDragSession()?.target??null},yn=e=>{const n=t.getDragAndDropConfig()?.openOnDropDelay??800;if(null==e||"directory"!==e.kind||null==e.directoryPath||n<=0)return void fn();const l=t.getItem(e.directoryPath),o=B(l)?l:null;if(null==o||o.isExpanded())return void fn();const u=`${e.directoryPath}::${e.flattenedSegmentPath??""}`;Me.current!==u&&(fn(),Me.current=u,Se.current=setTimeout(()=>{const n=t.getDragSession()?.target;"directory"===n?.kind&&n.directoryPath===e.directoryPath&&n.flattenedSegmentPath===e.flattenedSegmentPath&&o.expand()},n))},wn=()=>{ke.current=null;const e=Pe.current,n=de.current;if(null==e||null==n||null==t.getDragSession())return;const l=n.getBoundingClientRect(),o=V(e.clientY,l);if(0===o)return;const u=Math.max(0,n.scrollHeight-n.clientHeight),c=Math.max(0,Math.min(u,n.scrollTop+o));c!==n.scrollTop&&(n.scrollTop=c,pe.current()),yn(vn(e.clientX,e.clientY)),ke.current=dn(wn)},xn=(e,t)=>{Pe.current={clientX:e,clientY:t},ke.current??=dn(wn)},bn=e=>{if(null!=Je)return"Escape"===e.key?(on(),e.preventDefault(),void e.stopPropagation()):void(G.has(e.key)&&(e.preventDefault(),e.stopPropagation()));if(St.isActive()){if(e.isComposing||229===e.keyCode)return;if("Escape"===e.key)St.cancel();else{if("Enter"!==e.key)return;St.commit()}return ze("focus"),Ve(e=>e+1),e.preventDefault(),void e.stopPropagation()}if(R&&"F2"===e.key)return cn(Ct??void 0),e.preventDefault(),void e.stopPropagation();if(Lt){if("Escape"===e.key)Ee.current=!1,Re.current=null,t.closeSearch();else if("Enter"===e.key){const e=t.getFocusedPath();null!=e&&t.selectOnlyPath(e);const n=de.current,l=(0,w.readMeasuredViewportHeight)(n,Xt);Re.current=Ft<0||null==n?null:Math.max(0,Math.min(Ft*b-n.scrollTop,Math.max(0,l-b))),Ee.current=!0,t.closeSearch()}else if("ArrowDown"===e.key)t.focusNextSearchMatch();else{if("ArrowUp"!==e.key)return;t.focusPreviousSearchMatch()}return ze("focus"),Ve(e=>e+1),e.preventDefault(),void e.stopPropagation()}if(L&&U(e))return t.openSearch(e.key),Ve(e=>e+1),e.preventDefault(),void e.stopPropagation();const n=mt&&X(e),l=Y(e,mt),o=l&&null!=se.current?(0,w.getActiveTreeElement)(se.current):null,u=l?new Set(Q(se.current)):new Set,c=o?.dataset.fileTreeStickyPath??null,s="true"===o?.dataset.fileTreeStickyRow&&null!=c;if(s&&c!==Ct&&u.has(c)){const e=de.current;ut(c,e?.scrollTop??null),t.focusPath(c)}const f=t.getFocusedPath(),h=t.getFocusedIndex(),p=t.getFocusedItem();if(null==p)return;const v=B(p)?p:null,y=null!=f&&(Jt.has(f)||s&&c===f&&u.has(f)),x="ArrowDown"===e.key||"ArrowUp"===e.key||"ArrowRight"===e.key&&null!=v&&v.isExpanded(),T="ArrowLeft"===e.key&&y&&null!=v&&v.isExpanded(),E=de.current;let k=!0;if(e.shiftKey&&"ArrowDown"===e.key)t.extendSelectionFromFocused(1);else if(e.shiftKey&&"ArrowUp"===e.key)t.extendSelectionFromFocused(-1);else if(n&&null!=f&&h>=0){const e=t.getVisibleRows(h,h)[0]??null,n=J(f,ge.current,he.current);null==e||null==n?k=!1:an(e,f)}else if((e.ctrlKey||e.metaKey)&&K(e))t.toggleFocusedSelection();else if((e.ctrlKey||e.metaKey)&&"a"===e.key.toLowerCase())t.selectAllVisiblePaths();else switch(e.key){case"ArrowDown":t.focusNextItem();break;case"ArrowUp":t.focusPreviousItem();break;case"ArrowRight":null==v||v.isExpanded()?t.focusNextItem():v.expand();break;case"ArrowLeft":null!=v&&v.isExpanded()?v.collapse():t.focusParentItem();break;case"Home":t.focusFirstItem();break;case"End":t.focusLastItem();break;default:k=!1}if(!k)return;ze("focus");const M=t.getFocusedPath(),S=null!=M&&(Jt.has(M)||u.has(M)),P=n&&s&&c===f&&M===f;if((y||P)&&null!=M&&(x&&M!==f&&S||P))ut(M,E?.scrollTop??null),xe.current=!0,Be(e=>e===M?e:M);else{const t="ArrowUp"===e.key&&y&&M!==f;null!=M&&(t||T&&M===f)?(D=M,A=ee(se.current,E,o,f,b,Wt,Xt),tt.current=null,nt.current={path:D,viewportOffset:A},rt.current=null,xe.current=!0,Be(e=>e===M?e:M)):(tt.current=null,nt.current=null,rt.current=null)}var D,A;Ve(e=>e+1),e.preventDefault(),e.stopPropagation()};(0,k.useLayoutEffect)(()=>{L&&Lt&&(it.current?it.current=!1:(0,w.focusElement)(fe.current))},[Lt,L]),(0,k.useLayoutEffect)(()=>{const e=ie.current;switch((0,x.classifyFileTreeRenameHandoff)({hasRenderedInput:null!=e,previousRenamingPath:Te.current,renamingPath:Pt})){case"reset":return void(Te.current=null);case"reveal-canonical":return void(null!=Pt&&sn(Pt,{restoreTreeFocus:!1,targetOffset:"live-overlay"}));case"ignore":return;case"focus-input":return void(null!=e&&(et.current=null,Te.current=Pt,(0,w.focusElement)(e),e.select()))}},[Yt.end,Yt.start,Pt,sn,Jt]),(0,k.useLayoutEffect)(()=>{const e=se.current;if(null==e)return;let t=null;const n=()=>{null!=t&&(clearTimeout(t),t=null)},l=()=>{const t=(0,w.getActiveTreeElement)(e)?.dataset.itemPath??null;Be(e=>e===t?e:t)},o=()=>{n(),xe.current=!0,l()},u=o=>{const u=o.relatedTarget;if(null==u)return n(),void(t=setTimeout(()=>{t=null,null==(0,w.getActiveTreeElement)(e)?(xe.current=!1,Be(null)):l()},0));if(!(u instanceof Node&&e.contains(u)))return n(),xe.current=!1,void Be(null);const c=u instanceof HTMLElement?u.dataset.itemPath??null:null;Be(e=>e===c?e:c)};return e.addEventListener("focusin",o),e.addEventListener("focusout",u),()=>{n(),e.removeEventListener("focusin",o),e.removeEventListener("focusout",u)}},[]),(0,k.useLayoutEffect)(()=>{const e=se.current;null!=e&&(Kt.physical.scrollTop<=0?e.dataset.scrollAtTop="true":delete e.dataset.scrollAtTop)},[Kt.physical.scrollTop]),(0,k.useLayoutEffect)(()=>{let e=null;const n=de.current,l=oe.current,o=se.current;if(null==n)return;me.current=(0,w.readMeasuredViewportHeight)(n,$);const u=()=>{const e=t.getVisibleCount(),l=(0,w.getCachedViewportHeight)(me.current,$),o=Math.max(0,e*b-l);n.scrollTop>o&&(n.scrollTop=o),ht(A({controller:t,itemHeight:b,overscan:T,scrollTop:Math.min(n.scrollTop,o),stickyFolders:O,viewportHeight:l}))};if(!ye.current){ye.current=!0;const e=t.getFocusedIndex();if(e>=0){const l=(0,w.getCachedViewportHeight)(me.current,$),o=t.getVisibleRows(e,e)[0]??null;(0,w.scrollFocusedRowIntoView)(n,e,b,l,O&&null!=o?Math.max(0,Math.min(o.ancestorPaths.length*b,Math.max(0,l-b))):0)}}pe.current=u;const c=t.subscribe(()=>{(0,y.shouldBumpControllerRevision)($e)&&Ve(e=>e+1),u()}),s=()=>{!0!==ot.current&&(null!=l&&(l.dataset.isScrolling??=""),null!=o&&(o.dataset.isScrolling??=""),le.current=!0,null!=e&&clearTimeout(e),e=setTimeout(()=>{null!=l&&delete l.dataset.isScrolling,null!=o&&delete o.dataset.isScrolling,le.current=!1,We(e=>e+1),e=null},50))};let f=null;const h=()=>{null!=o&&delete o.dataset.overlayReveal,null!=f&&(clearTimeout(f),f=null)},p=()=>{u(),n.scrollTop>0&&h(),null!=Ze.current&&le.current&&ln.current(),!0!==ot.current?(Ue(e=>null==e?e:null),s()):le.current=!1},v=()=>{s(),null!=o&&!0!==ot.current&&(n.scrollTop>0||(o.dataset.overlayReveal="true",null!=f&&clearTimeout(f),f=setTimeout(()=>{h()},200)))},x=new Set(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","PageUp","PageDown","Home","End"," ","Spacebar"]),E=e=>{x.has(e.key)&&v()};n.addEventListener("scroll",p,{passive:!0}),n.addEventListener("wheel",v,{passive:!0}),n.addEventListener("touchmove",v,{passive:!0}),n.addEventListener("keydown",E);const R="undefined"!=typeof ResizeObserver?new ResizeObserver(e=>{me.current=(null==e[0]?null:(0,w.getResizeObserverViewportHeight)(e[0]))??(0,w.readMeasuredViewportHeight)(n,$),u()}):null;return R?.observe(n),()=>{pe.current=()=>{},c(),n.removeEventListener("scroll",p),n.removeEventListener("wheel",v),n.removeEventListener("touchmove",v),n.removeEventListener("keydown",E),null!=e&&clearTimeout(e),null!=f&&clearTimeout(f),null!=l&&delete l.dataset.isScrolling,null!=o&&(delete o.dataset.isScrolling,delete o.dataset.overlayReveal),le.current=!1,me.current=null,R?.disconnect()}},[t,$,b,T,O]),(0,k.useLayoutEffect)(()=>{mt||null==Je||on(!1)},[on,mt,Je]);const Tn=(0,k.useMemo)(()=>null==Je?null:`${Je.path}::${Je.source}`,[Je]);(0,k.useLayoutEffect)(()=>{if(null==Tn)return void I?.clearSlotContent(o.CONTEXT_MENU_SLOT_NAME);const t=Ze.current;if(null==t)return;const n=Z.current??N.current;if(null==n)return;const l={anchorElement:n,anchorRect:t.anchorRect??(u=n.getBoundingClientRect(),{bottom:u.bottom,height:u.height,left:u.left,right:u.right,top:u.top,width:u.width,x:u.x,y:u.y}),close:e=>{ln.current(e?.restoreFocus??!0)},restoreFocus:()=>{rn.current&&nn.current(Ze.current?.path??null)}};var u;const c=e?.contextMenu?.render?.(t.item,l)??null;return I?.setSlotContent(o.CONTEXT_MENU_SLOT_NAME,c),e?.contextMenu?.onOpen?.(t.item,l),ue(c),queueMicrotask(()=>{null!=c&&c.isConnected&&document.activeElement===c&&ue(c)}),()=>{I?.clearSlotContent(o.CONTEXT_MENU_SLOT_NAME)}},[Tn,e?.contextMenu,I]),(0,k.useLayoutEffect)(()=>{null!=Je&&null==t.getItem(Je.path)&&on()},[on,Je,t]),(0,k.useLayoutEffect)(()=>{if(null==Je)return;const e=se.current?.getRootNode(),t=e instanceof ShadowRoot?e.host:se.current,n=e=>{const n=e.target;n instanceof Node&&(z(e)||!0!==N.current?.contains(n)&&!0!==t?.contains(n)&&on())},l=e=>{"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),on())};return document.addEventListener("mousedown",n,!0),document.addEventListener("keydown",l,!0),()=>{document.removeEventListener("mousedown",n,!0),document.removeEventListener("keydown",l,!0)}},[on,Je]),(0,k.useLayoutEffect)(()=>{const e=de.current,n=se.current;if(null==e||null==n)return void(be.current=Ct);const l=null==Ct?null:he.current.get(Ct)??null,o=(0,w.getActiveTreeElement)(n),u=o?.dataset.itemPath??null,c=Dt&&ie.current===o,s=L&&fe.current===o,f=Ee.current&&!Lt,h=Re.current??0,p=et.current,v=tt.current,y=nt.current,x=rt.current,T=null!=o,E=xe.current||T,R=be.current!==Ct,k=null!=v&&v===Ct&&null!=Ct;let M=!1,S=!1;if(null!=It&&It.id!==ve.current){ve.current=It.id;const n=It.visibleIndex,l=t.getVisibleRows(n,n)[0]??null;if(null!=l){const t=O?Math.max(0,Math.min(l.ancestorPaths.length*b,Math.max(0,Xt-b))):Wt;M=!0,S=(0,w.scrollFocusedRowToOffset)(e,n,b,Xt,qt,It.offset,t)}t.clearScrollRequest(It.id)}const P=!M&&f&&(0,w.scrollFocusedRowToViewportOffset)(e,Ft,b,Xt,qt,h),D=!M&&null!=p&&p===Ct&&(0,w.scrollFocusedRowToViewportOffset)(e,Ft,b,Xt,qt,Wt),A=!M&&null!=y&&y.path===Ct&&(0,w.scrollFocusedRowToViewportOffset)(e,Ft,b,Xt,qt,y.viewportOffset),C=!M&&null!=x&&x.path===Ct&&e.scrollTop!==x.scrollTop;if(C&&(e.scrollTop=x.scrollTop),(C||S||D||A||P||E&&R&&p!==Ct&&!k&&(0,w.scrollFocusedRowIntoView)(e,Ft,b,Xt,Wt))&&pe.current(),M)be.current=Ct;else if(E)if(c)be.current=Ct;else if(!s||f){if(null==l)return f&&Ft>=0&&((0,w.scrollFocusedRowToViewportOffset)(e,Ft,b,Xt,qt,h),pe.current()),void(be.current=Ct);(R||f||p===Ct||v===Ct||y?.path===Ct||x?.path===Ct||null==u||u!==Ct)&&((0,w.focusElement)(l),p===Ct&&(et.current=null),v===Ct&&(tt.current=null),y?.path===Ct&&(nt.current=null),x?.path===Ct&&(rt.current=null),Ee.current=!1,Re.current=null),be.current=Ct}else be.current=Ct;else be.current=Ct},[t,Ft,Ct,Qt,b,Dt,Lt,Yt,Xt,L,It,O,Wt,qt,Ut]);const En=Ft>=0&&Ft>=Kt.visible.startIndex&&Ft<=Kt.visible.endIndex,Rn=null!=Ct&&Gt.some(e=>P(e.row)===Ct),kn=En||Rn,Mn=yt&&!0===xe.current&&kn?Ct:null,Sn="pointer"===Ge?Ke:null,Pn=Je?.path??lt.current??Sn??Mn??Ke,Dn="right-click"===Je?.source;(0,k.useLayoutEffect)(()=>{le.current&&null==Je||un(Rt(Pn))},[Je,Rt,Yt,Xt,qe,Gt,Pn,un,Ut]);const Ln=(0,k.useCallback)(e=>{if(le.current)return;if(z(e))return;const t=e.target;if(!(t instanceof HTMLElement))return;if(null!=t.closest?.("[data-type=\"context-menu-trigger\"]"))return;const n=t.closest?.("[data-file-tree-sticky-row=\"true\"]"),l=t.closest?.("[data-type=\"item\"]"),o=n instanceof HTMLElement?n.dataset.fileTreeStickyPath??null:l instanceof HTMLElement?l.dataset.itemPath??null:null;null!=o&&ze(e=>"pointer"===e?e:"pointer"),Ue(e=>e===o?e:o)},[]),An=(0,k.useCallback)(()=>{Ue(null)},[]);(0,k.useLayoutEffect)(()=>{if(!jt)return;const e=()=>{mn(),t.cancelDrag()};return window.addEventListener("dragend",e),()=>{window.removeEventListener("dragend",e),mn(),t.cancelDrag()}},[t,jt]);const Cn=Kt.window.height,Fn=Kt.window.offsetTop,In=Math.min(0,Xt-Cn),jn=Math.min(0,Xt-Cn-Wt),On=Ne===Ct||Ee.current,Hn=null!=Ct&&On&&!Qt&&Ft>=0?Ut[Ft]??t.getVisibleRows(Ft,Ft)[0]??null:null,_n=null==Hn?null:(0,w.getParkedFocusedRowOffset)(Ft,b,Yt,Cn),Vn=Le.current,$n=null!=Vt&&null!=Vn&&Vn.path===Vt&&Vn.index>=Yt.start&&Vn.index<=Yt.end,Nn=null==Vt||null==Vn||Vn.path!==Vt||$n||Vn.path===Hn?.path?null:Vn,Bn=null==Nn?null:(0,w.getParkedFocusedRowOffset)(Nn.index,b,Yt,Cn),Kn=null==(Un=(Ft>=0?Ut[Ft]??t.getVisibleRows(Ft,Ft)[0]??null:null)?.ancestorPaths.at(-1)??null)?"":`[data-item-section="spacing-item"][data-ancestor-path="${Un.replaceAll("\\","\\\\").replaceAll("\"","\\\"")}"] { opacity: 1; }`;var Un;const Xn=Lt&&null!=Ct?re(v,Ct,!Qt):void 0,Yn=Je?.path??(Lt?Ct:Ne),Gn=Je?.path??Ke,zn=Rt(Pn),qn=mt&&yt&&!Dn&&!Dt&&null!=zn&&null!=Xe&&null!=Pn,Wn=mt&&(qn||null!=Je),Jn=Je?.anchorRect,Qn=null!=Jn||null==zn||null==Xe||null==Je&&!qn?null:Xe,Zn=null!=Jn?{left:`${Jn.left}px`,position:"fixed",right:"auto",top:`${Jn.top}px`}:null!=Qn?{top:`${Qn}px`}:void 0,er=Dn?{opacity:"0"}:void 0,tr=(0,k.useCallback)((e,n,l,o)=>{const u=(0,E.computeFileTreeRowClickPlan)({event:{ctrlKey:e.ctrlKey,metaKey:e.metaKey,shiftKey:e.shiftKey},isDirectory:"directory"===n.kind,isSearchOpen:Lt,mode:o}),c=u.toggleDirectory&&"directory"===n.kind,s=c?t.resolveMountedDirectoryPathFromInput(l):null;if(c&&null==s)return;const f=s??l;switch(u.selection.kind){case"range":t.selectPathRange(f,u.selection.additive);break;case"toggle":t.togglePathSelectionFromInput(f);break;case"single":t.selectOnlyMountedPathFromInput(f)}const h=e.currentTarget instanceof HTMLElement?e.currentTarget:null,p=n.index>=Kt.visible.startIndex&&n.index<=Kt.visible.endIndex,v="flow"===o&&p&&null!=h&&"true"!==h.dataset.itemParked;t.focusMountedPathFromInput(f),v&&(xe.current=!0,Be(e=>e===f?e:f),ze("focus")),c&&t.toggleMountedDirectoryFromInput(f),u.closeSearch&&t.closeSearch(),u.revealCanonical&&sn(f,{targetOffset:"sticky-parents"})},[t,Lt,Kt.visible.endIndex,Kt.visible.startIndex,sn]),nr=()=>{if(le.current)return;if(!yt)return;if(null==Pn||null==zn)return;const e=t.getItem(Pn);null!=e&&(un(zn),rn.current=!0,Qe({anchorRect:null,item:{kind:e.isDirectory()?"directory":"file",name:zn.getAttribute("aria-label")??Pn,path:e.getPath()},path:e.getPath(),source:"button"}))},rr={contextHoverPath:Gn,contextMenuButtonTriggerEnabled:yt,contextMenuButtonVisibility:wt,contextMenuEnabled:mt,contextMenuRightClickEnabled:xt,contextMenuTriggerMode:vt,controller:t,directoriesWithGitChanges:h,dragAndDropEnabled:jt,draggedPathSet:Ht,dragTarget:_t,gitLaneActive:kt,gitStatusByPath:n,handleRowDragEnd:()=>{hn(),fn(),gn(),Le.current=null,t.cancelDrag()},handleRowDragStart:(e,n,l)=>{const o=e.currentTarget;if(null!=o)if(mn(),hn(),fn(),gn(),!1!==t.startDrag(l)){if(Le.current=n,null!=e.dataTransfer&&(e.dataTransfer.effectAllowed="move",e.dataTransfer.dropEffect="move",e.dataTransfer.setData("text/plain",l),"Apple Computer, Inc."!==navigator.vendor)){const t=_(o),n=o.getBoundingClientRect();Object.assign(t.style,{height:`${n.height}px`,opacity:"0.85",transform:"translate3d(-9999px, 0px, 0)",width:`${n.width}px`}),pn(t),De.current=t,e.dataTransfer.setDragImage(t,Math.max(0,e.clientX-n.left),Math.max(0,e.clientY-n.top))}}else e.preventDefault()},handleRowTouchStart:(e,n,l)=>{if(null!=Oe.current||Ce.current)return;const o=e.touches[0],u=e.currentTarget;if(null==o||null==u)return;je.current={clientX:o.clientX,clientY:o.clientY},Ie.current=u,u.setAttribute("draggable","false");const c=(e={})=>{const t=e.restoreNativeDraggable??!Ce.current;null!=Oe.current&&(clearTimeout(Oe.current),Oe.current=null),document.removeEventListener("touchmove",s),document.removeEventListener("touchend",f),document.removeEventListener("touchcancel",f),Ae.current===c&&(Ae.current=null),t&&(u.setAttribute("draggable","true"),Ie.current===u&&(Ie.current=null),je.current=null)},s=e=>{const t=e.touches[0],n=je.current;if(null==t||null==n)return;const l=t.clientX-n.clientX,o=t.clientY-n.clientY;l*l+o*o<=100||c()},f=()=>{c()};document.addEventListener("touchmove",s,{passive:!0}),document.addEventListener("touchend",f),document.addEventListener("touchcancel",f),Ae.current=c,Oe.current=setTimeout(()=>{if(c({restoreNativeDraggable:!1}),!1===t.startDrag(l))return u.setAttribute("draggable","true"),Ie.current===u&&(Ie.current=null),void(je.current=null);Ce.current=!0,Ie.current=u,u.setAttribute("draggable","false"),u.style.setProperty("touch-action","none"),Le.current=n;const e=u.getBoundingClientRect(),s=_(u);Object.assign(s.style,{height:`${e.height}px`,opacity:"0.85",transform:`translate3d(${e.left}px, ${e.top}px, 0)`,width:`${e.width}px`}),pn(s),De.current=s,Fe.current={x:o.clientX-e.left,y:o.clientY-e.top};const f=e=>{const t=e.touches[0];if(null==t)return;e.preventDefault();const n=Fe.current;null!=n&&null!=De.current&&(De.current.style.transform=`translate3d(${t.clientX-n.x}px, ${t.clientY-n.y}px, 0)`),yn(vn(t.clientX,t.clientY)),xn(t.clientX,t.clientY)},h=e=>{const n=e.changedTouches[0];null!=n&&vn(n.clientX,n.clientY),t.completeDrag(),mn()},p=()=>{t.cancelDrag(),mn()};Ae.current=()=>{document.removeEventListener("touchmove",f),document.removeEventListener("touchend",h),document.removeEventListener("touchcancel",p)},document.addEventListener("touchmove",f,{passive:!1}),document.addEventListener("touchend",h),document.addEventListener("touchcancel",p)},C)},ignoredGitDirectories:l,ignoredInheritanceCache:He,instanceId:v,itemHeight:b,onKeyDown:bn,onRowClick:tr,openContextMenuForRow:an,registerButton:bt,registerRenameInput:Et,renameView:St,renderDecorationForRow:Zt,resolveIcon:Mt,shouldSuppressContextMenu:()=>!0===le.current||null!=Oe.current||!0===Ce.current,visualFocusPath:Yn},lr=Object.assign({},rr,{registerButton:Tt});return(0,M.jsxs)("div",{ref:se,id:$t,"data-file-tree-context-menu-button-visibility":mt&&yt?wt:void 0,"data-file-tree-context-menu-trigger-mode":mt?vt:void 0,"data-file-tree-has-context-menu-action-lane":mt&&yt?"true":void 0,"data-file-tree-has-git-lane":kt?"true":void 0,"data-file-tree-virtualized-root":"true",onDragLeave:jt?e=>{if(!jt||null==t.getDragSession()||Ce.current)return;const n=e.relatedTarget;n instanceof Node&&!0===se.current?.contains(n)||(fn(),gn(),t.setDragTarget(null))}:void 0,onDragOver:jt?e=>{if(!jt||null==t.getDragSession()||Ce.current)return;const n=H(e.target instanceof HTMLElement?e.target:null);t.setDragTarget(n),yn(t.getDragSession()?.target??null),xn(e.clientX,e.clientY),null!=e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.preventDefault()}:void 0,onDrop:jt?e=>{jt&&null!=t.getDragSession()&&!Ce.current&&(e.preventDefault(),vn(e.clientX,e.clientY),t.completeDrag(),hn(),fn(),gn(),Le.current=null)}:void 0,onKeyDown:bn,onPointerLeave:mt?An:void 0,onPointerOver:mt?Ln:void 0,role:"tree",tabIndex:-1,style:{outline:"none",position:"relative"},children:[(0,M.jsx)("style",{"data-file-tree-guide-style":"true",dangerouslySetInnerHTML:{__html:Kn}}),(0,M.jsx)("slot",{name:o.HEADER_SLOT_NAME,"data-type":"header-slot"}),L?(0,M.jsx)("div",{"data-file-tree-search-container":!0,"data-open":Lt?"true":"false",children:(0,M.jsx)("input",{ref:fe,"aria-activedescendant":Xn,"aria-controls":$t,placeholder:"Search\u2026","data-file-tree-search-input":!0,"data-file-tree-search-input-fake-focus":at?"true":void 0,value:At,onBlur:()=>{("retain"!==D||st.current)&&t.closeSearch()},onFocus:dt,onPointerDown:dt,onInput:e=>{dt();const n=e.currentTarget;t.setSearch(n.value)}})}):null,(0,M.jsxs)("div",{ref:de,"data-file-tree-virtualized-scroll":"true",children:[O&&gt&&Gt.length>0?(0,M.jsx)("div",{"aria-hidden":"true","data-file-tree-sticky-overlay":"true",children:(0,M.jsx)("div",{"data-file-tree-sticky-overlay-content":"true",style:{height:`${Nt}px`},children:Gt.map((e,t)=>ae(lr,e.row,`sticky:${P(e.row)}`,{mode:"sticky",style:{left:"0",position:"absolute",right:"0",top:`${e.top}px`,zIndex:""+(Gt.length-t)}}))})}):null,(0,M.jsxs)("div",{ref:oe,"data-file-tree-virtualized-list":"true",style:{height:`${qt}px`},children:[(0,M.jsx)("div",{"data-file-tree-virtualized-sticky-offset":"true","aria-hidden":"true",style:{height:`${Fn}px`}}),(0,M.jsxs)("div",{"data-file-tree-virtualized-sticky":"true",style:{height:`${Cn}px`,top:`${In}px`,bottom:`${jn}px`},children:[ce(rr,Yt,Jt),null!=Hn&&null!=_n?ae(rr,Hn,`parked:${Hn.path}`,{isParked:!0,style:{left:"0",opacity:"0",pointerEvents:Vt===Hn.path?"none":void 0,position:"absolute",right:"0",top:`${_n}px`}}):null,null!=Nn&&null!=Bn?ae(rr,Nn,`parked-drag:${Nn.path}`,{isParked:!0,style:{left:"0",opacity:"0",pointerEvents:"none",position:"absolute",right:"0",top:`${Bn}px`}}):null]})]})]}),mt?(0,M.jsxs)("div",{ref:N,"data-type":"context-menu-anchor","data-visible":Wn?"true":"false",style:Zn,children:[(0,M.jsx)("button",{ref:Z,type:"button","data-type":o.CONTEXT_MENU_TRIGGER_TYPE,"aria-label":"Options","aria-haspopup":"menu","aria-expanded":null!=Je?"true":"false","data-visible":qn?"true":"false",onMouseDown:e=>{e.preventDefault()},onClick:e=>{e.preventDefault(),e.stopPropagation(),null==Je?nr():on()},tabIndex:-1,style:er,children:(0,M.jsx)(f.Icon,Object.assign({},Mt("file-tree-icon-ellipsis")))}),null!=Je?(0,M.jsx)("slot",{name:o.CONTEXT_MENU_SLOT_NAME}):null]}):null,null!=Je?(0,M.jsx)("div",{"data-type":"context-menu-wash","aria-hidden":"true",onMouseDownCapture:e=>{e.preventDefault(),on()},onTouchStartCapture:e=>{e.preventDefault(),e.stopPropagation(),on()},onTouchMoveCapture:e=>{e.preventDefault(),e.stopPropagation()},onWheelCapture:e=>{e.preventDefault(),e.stopPropagation()}}):null]})}},1257,[25,1211,1212,1239,1245,1258,1261,1262,1263,1264,1265,1267,1268,1269,1270,1260,1271,1259]);
51
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"Icon",{enumerable:!0,get:function(){return c}});var t=r(d[0]);const n=16,o=16,l={};function c({name:c,remappedFrom:h,token:s,width:u,height:p,viewBox:w,label:b,alignCapitals:f=!1}){const v=`#${c.replace(/^#/,"")}`,{width:j,height:x,viewBox:_}=l[c]??{width:n,height:o},B=u??j,O=p??x,$=w??_??`0 0 ${j} ${x}`;return(0,t.jsx)("svg",Object.assign({"data-icon-name":h??c,"data-icon-token":s,"data-align-capitals":f},null!=b?{"aria-label":b,role:"img"}:{"aria-hidden":!0},{viewBox:$,width:B,height:O,children:(0,t.jsx)("use",{href:v})}))}},1258,[1259]);
52
+ __d(function(g,_r,_i,_a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"Fragment",{enumerable:!0,get:function(){return e.Fragment}}),Object.defineProperty(_e,"jsx",{enumerable:!0,get:function(){return u}}),Object.defineProperty(_e,"jsxAttr",{enumerable:!0,get:function(){return a}}),Object.defineProperty(_e,"jsxDEV",{enumerable:!0,get:function(){return u}}),Object.defineProperty(_e,"jsxEscape",{enumerable:!0,get:function(){return l}}),Object.defineProperty(_e,"jsxTemplate",{enumerable:!0,get:function(){return f}}),Object.defineProperty(_e,"jsxs",{enumerable:!0,get:function(){return u}});var e=_r(d[0]),t=/["&<]/;function r(e){if(0===e.length||!1===t.test(e))return e;for(var r=0,n=0,o="",u="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:u="&quot;";break;case 38:u="&amp;";break;case 60:u="&lt;";break;default:continue}n!==r&&(o+=e.slice(r,n)),o+=u,r=n+1}return n!==r&&(o+=e.slice(r,n)),o}var n=0,o=Array.isArray;function u(t,r,o,u,f,i){r||(r={});var c,a,l=r;if("ref"in l&&"function"!=typeof t)for(a in l={},r)"ref"==a?c=r[a]:l[a]=r[a];var s={type:t,props:l,key:o,ref:c,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--n,__i:-1,__u:0,__source:f,__self:i};return e.options.vnode&&e.options.vnode(s),s}function f(t){var r=u(e.Fragment,{tpl:t,exprs:[].slice.call(arguments,1)});return r.key=r.__v,r}var i={},c=/[A-Z]/g;function a(t,n){if(e.options.attr){var o=e.options.attr(t,n);if("string"==typeof o)return o}if(n=null!==(u=n)&&"object"==typeof u&&"function"==typeof u.valueOf?u.valueOf():u,"ref"===t||"key"===t)return"";var u;if("style"===t&&"object"==typeof n){var f="";for(var a in n){var l=n[a];null!=l&&""!==l&&(f=f+("-"==a[0]?a:i[a]||(i[a]=a.replace(c,"-$&").toLowerCase()))+":"+l+";")}return t+'="'+r(f)+'"'}return null==n||!1===n||"function"==typeof n||"object"==typeof n?"":!0===n?t:t+'="'+r(""+n)+'"'}function l(e){if(null==e||"boolean"==typeof e||"function"==typeof e)return null;if("object"==typeof e){if(void 0===e.constructor)return e;if(o(e)){for(var t=0;t<e.length;t++)e[t]=l(e[t]);return e}}return r(""+e)}},1259,[1260]);
53
+ __d(function(_g,_r,_i,_a,_m,_e,_d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"Component",{enumerable:!0,get:function(){return w}}),Object.defineProperty(_e,"Fragment",{enumerable:!0,get:function(){return k}}),Object.defineProperty(_e,"cloneElement",{enumerable:!0,get:function(){return V}}),Object.defineProperty(_e,"createContext",{enumerable:!0,get:function(){return q}}),Object.defineProperty(_e,"createElement",{enumerable:!0,get:function(){return m}}),Object.defineProperty(_e,"createRef",{enumerable:!0,get:function(){return b}}),Object.defineProperty(_e,"h",{enumerable:!0,get:function(){return m}}),Object.defineProperty(_e,"hydrate",{enumerable:!0,get:function(){return B}}),Object.defineProperty(_e,"isValidElement",{enumerable:!0,get:function(){return t}}),Object.defineProperty(_e,"options",{enumerable:!0,get:function(){return e}}),Object.defineProperty(_e,"render",{enumerable:!0,get:function(){return I}}),Object.defineProperty(_e,"toChildArray",{enumerable:!0,get:function(){return T}});var e,n,t,_,l,r,o,u,i,c,f,s,p={},a=[],h=Array.isArray,d=a.slice,g=Object.assign;function y(e){e&&e.parentNode&&e.remove()}function m(e,n,t){var _,l,r,o={};for(r in n)"key"==r?_=n[r]:"ref"==r&&"function"!=typeof e?l=n[r]:o[r]=n[r];return arguments.length>2&&(o.children=arguments.length>3?d.call(arguments,2):t),v(e,o,_,l,null)}function v(t,_,l,r,o){var u={type:t,props:_,key:l,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==o?++n:o,__i:-1,__u:0};return null==o&&null!=e.vnode&&e.vnode(u),u}function b(){return{current:null}}function k(e){return e.children}function w(e,n){this.props=e,this.context=n,this.__g=0}function C(e,n){if(null==n)return e.__?C(e.__,e.__i+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?C(e):null}function P(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=t.__e;break}return P(e)}}function x(n){(8&n.__g||!(n.__g|=8)||!_.push(n)||r++)&&l==e.debounceRendering||((l=e.debounceRendering)||queueMicrotask)(S)}function S(){for(var n,t,l,u,i,c,f,s,p=1;_.length;)_.length>p&&_.sort(o),n=_.shift(),p=_.length,8&n.__g&&(l=void 0,i=(u=(t=n).__v).__e,c=[],f=[],(s=t.__P)&&((l=g({},u)).__v=u.__v+1,e.vnode&&e.vnode(l),L(s,l,u,t.__n,s.namespaceURI,32&u.__u?[i]:null,c,null==i?C(u):i,!!(32&u.__u),f,s.ownerDocument),l.__v=u.__v,l.__.__k[l.__i]=l,A(c,l,f),l.__e!=i&&P(l)));r=0}function U(e,n,t,_,l,r,o,u,i,c,f,s){var h,d,g,y,m,v,b,k=_&&_.__k||a,w=n.length;for(i=j(t,n,k,i,w),h=0;h<w;h++)null!=(g=t.__k[h])&&(d=-1==g.__i?p:k[g.__i]||p,g.__i=h,v=L(e,g,d,l,r,o,u,i,c,f,s),y=g.__e,g.ref&&d.ref!=g.ref&&(d.ref&&R(d.ref,null,g),f.push(g.ref,g.__c||y,g)),null==m&&null!=y&&(m=y),(b=!!(4&g.__u))||d.__k===g.__k?i=O(g,i,e,b):"function"==typeof g.type&&void 0!==v?i=v:y&&(i=y.nextSibling),g.__u&=-7);return t.__e=m,i}function j(e,n,t,_,l){var r,o,u,i,c,f=t.length,s=f,p=0;for(e.__k=new Array(l),r=0;r<l;r++)null!=(o=n[r])&&"boolean"!=typeof o&&"function"!=typeof o?(i=r+p,(o=e.__k[r]="string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?v(null,o,null,null,null):h(o)?v(k,{children:o},null,null,null):null==o.constructor&&o.__b>0?v(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=e,o.__b=e.__b+1,u=null,-1!=(c=o.__i=D(o,t,i,s))&&(s--,(u=t[c])&&(u.__u|=2)),null==u||null==u.__v?(-1==c&&(l>f?p--:l<f&&p++),"function"!=typeof o.type&&(o.__u|=4)):c!=i&&(c==i-1?p--:c==i+1?p++:(c>i?p--:p++,o.__u|=4))):e.__k[r]=null;if(s)for(r=0;r<f;r++)null!=(u=t[r])&&!(2&u.__u)&&(u.__e==_&&(_=C(u)),H(u,u));return _}function O(e,n,t,_){var l,r;if("function"==typeof e.type){for(l=e.__k,r=0;l&&r<l.length;r++)l[r]&&(l[r].__=e,n=O(l[r],n,t,_));return n}e.__e!=n&&(_&&(n&&e.type&&!n.parentNode&&(n=C(e)),t.insertBefore(e.__e,n||null)),n=e.__e);do{n=n&&n.nextSibling}while(null!=n&&8==n.nodeType);return n}function T(e,n){return n=n||[],null==e||"boolean"==typeof e||(h(e)?e.some(function(e){T(e,n)}):n.push(e)),n}function D(e,n,t,_){var l,r,o,u=e.key,i=e.type,c=n[t],f=null!=c&&!(2&c.__u);if(null===c&&null==e.key||f&&u==c.key&&i==c.type)return t;if(_>(f?1:0))for(l=t-1,r=t+1;l>=0||r<n.length;)if(null!=(c=n[o=l>=0?l--:r++])&&!(2&c.__u)&&u==c.key&&i==c.type)return o;return-1}function M(e,n,t){"-"==n[0]?e.setProperty(n,null==t?"":t):e[n]=null==t?"":t}function E(e,n,t,_,l){var r;e:if("style"==n)if("string"==typeof t)e.style.cssText=t;else{if("string"==typeof _&&(e.style.cssText=_=""),_)for(n in _)t&&n in t||M(e.style,n,"");if(t)for(n in t)_&&t[n]==_[n]||M(e.style,n,t[n])}else if("o"==n[0]&&"n"==n[1])r=n!=(n=n.replace(u,"$1")),(n=n.slice(2))[0].toLowerCase()!=n[0]&&(n=n.toLowerCase()),e.__l||(e.__l={}),e.__l[n+r]=t,t?_?t.l=_.l:(t.l=i,e.addEventListener(n,r?f:c,r)):e.removeEventListener(n,r?f:c,r);else{if("http://www.w3.org/2000/svg"==l)n=n.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=n&&"height"!=n&&"href"!=n&&"list"!=n&&"form"!=n&&"tabIndex"!=n&&"download"!=n&&"rowSpan"!=n&&"colSpan"!=n&&"role"!=n&&"popover"!=n&&n in e)try{e[n]=null==t?"":t;break e}catch(e){}"function"==typeof t||(null==t||!1===t&&"-"!=n[4]?e.removeAttribute(n):e.setAttribute(n,"popover"==n&&1==t?"":t))}}function W(n){return function(t){if(this.__l){var _=this.__l[t.type+n];if(null==t.u)t.u=i++;else if(t.u<_.l)return;return _(e.event?e.event(t):t)}}}function L(n,t,_,l,r,o,u,i,c,f,s){var p,a,d,m,v,b,C,P,x,S,j,O,T,D,M,E,W,L,A,R,H,I=t.type;if(null!=t.constructor)return null;128&_.__u&&(c=!!(32&_.__u),_.__c.__z&&(i=t.__e=_.__e=(o=_.__c.__z)[0],_.__c.__z=null)),(p=e.__b)&&p(t);e:if("function"==typeof I)try{if(P=t.props,x="prototype"in I&&I.prototype.render,S=(p=I.contextType)&&l[p.__c],j=p?S?S.props.value:p.__:l,_.__c?2&(a=t.__c=_.__c).__g&&(a.__g|=1,C=!0):(x?t.__c=a=new I(P,j):(t.__c=a=new w(P,j),a.constructor=I,a.render=$),S&&S.sub(a),a.props=P,a.state||(a.state={}),a.context=j,a.__n=l,d=!0,a.__g|=8,a.__h=[],a._sb=[]),x&&null==a.__s&&(a.__s=a.state),x&&null!=I.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=g({},a.__s)),g(a.__s,I.getDerivedStateFromProps(P,a.__s))),m=a.props,v=a.state,a.__v=t,d)x&&null==I.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),x&&null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(x&&null==I.getDerivedStateFromProps&&P!==m&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(P,j),!(4&a.__g)&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(P,a.__s,j)||t.__v==_.__v){for(t.__v!=_.__v&&(a.props=P,a.state=a.__s,a.__g&=-9),t.__e=_.__e,t.__k=_.__k,t.__k.some(function(e){e&&(e.__=t)}),O=0;O<a._sb.length;O++)a.__h.push(a._sb[O]);a._sb=[],a.__h.length&&u.push(a);break e}null!=a.componentWillUpdate&&a.componentWillUpdate(P,a.__s,j),x&&null!=a.componentDidUpdate&&a.__h.push(function(){a.componentDidUpdate(m,v,b)})}if(a.context=j,a.props=P,a.__P=n,a.__g&=-5,T=e.__r,D=0,x){for(a.state=a.__s,a.__g&=-9,T&&T(t),p=a.render(a.props,a.state,a.context),M=0;M<a._sb.length;M++)a.__h.push(a._sb[M]);a._sb=[]}else do{a.__g&=-9,T&&T(t),p=a.render(a.props,a.state,a.context),a.state=a.__s}while(8&a.__g&&++D<25);a.state=a.__s,null!=a.getChildContext&&(l=g({},l,a.getChildContext())),x&&!d&&null!=a.getSnapshotBeforeUpdate&&(b=a.getSnapshotBeforeUpdate(m,v)),E=p,null!=p&&p.type===k&&null==p.key&&(E=N(p.props.children)),i=U(n,h(E)?E:[E],t,_,l,r,o,u,i,c,f,s),t.__u&=-161,a.__h.length&&u.push(a),C&&(a.__g&=-4)}catch(n){if(t.__v=null,c||null!=o)if(n.then){for(W=0,L=!1,t.__u|=c?160:128,t.__c.__z=[],A=0;A<o.length;A++)null==(R=o[A])||L||(8==R.nodeType&&"$s"==R.data?(W>0&&t.__c.__z.push(R),W++,o[A]=null):8==R.nodeType&&"/$s"==R.data?(--W>0&&t.__c.__z.push(R),L=0===W,i=o[A],o[A]=null):W>0&&(t.__c.__z.push(R),o[A]=null));if(!L){for(;i&&8==i.nodeType&&i.nextSibling;)i=i.nextSibling;o[o.indexOf(i)]=null,t.__c.__z=[i]}t.__e=i}else{for(H=o.length;H--;)y(o[H]);z(t)}else t.__e=_.__e,t.__k=_.__k,n.then||z(t);e.__e(n,t,_)}else i=t.__e=F(_.__e,t,_,l,r,o,u,c,f,s);return(p=e.diffed)&&p(t),128&t.__u?void 0:i}function z(e){e&&e.__c&&(e.__c.__g|=4),e&&e.__k&&e.__k.forEach(z)}function A(n,t,_){for(var l=0;l<_.length;l++)R(_[l],_[++l],_[++l]);e.__c&&e.__c(t,n),n.some(function(t){try{n=t.__h,t.__h=[],n.some(function(e){e.call(t)})}catch(n){e.__e(n,t.__v)}})}function N(e){return"object"!=typeof e||null==e||e.__b&&e.__b>0?e:h(e)?e.map(N):g({},e)}function F(n,t,_,l,r,o,u,i,c,f){var s,a,g,m,v,b,k,w,P=_.props,x=t.props,S=t.type;if("svg"==S?r="http://www.w3.org/2000/svg":"math"==S?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),null!=o)for(s=0;s<o.length;s++)if((v=o[s])&&"setAttribute"in v==!!S&&(S?v.localName==S:3==v.nodeType)){n=v,o[s]=null;break}if(null==n){if(null==S)return f.createTextNode(x);n=f.createElementNS(r,S,x.is&&x),i&&(e.__m&&e.__m(t,o),i=!1),o=null}if(null==S)P===x||i&&n.data==x||(n.data=x);else{if(o=o&&d.call(n.childNodes),P=_.props||p,!i&&null!=o)for(P={},s=0;s<n.attributes.length;s++)P[(v=n.attributes[s]).name]=v.value;for(s in P)if(v=P[s],"children"==s);else if("dangerouslySetInnerHTML"==s)g=v;else if(!(s in x)){if("value"==s&&"defaultValue"in x||"checked"==s&&"defaultChecked"in x)continue;E(n,s,null,v,r)}for(s in w=1&_.__u,x)v=x[s],"children"==s?m=v:"dangerouslySetInnerHTML"==s?a=v:"value"==s?b=v:"checked"==s?k=v:i&&"function"!=typeof v||P[s]===v&&!w||E(n,s,v,P[s],r);if(a)i||g&&(a.__html==g.__html||a.__html==n.innerHTML)||(n.innerHTML=a.__html),t.__k=[];else if(g&&(n.innerHTML=""),U("template"==S?n.content:n,h(m)?m:[m],t,_,l,"foreignObject"==S?"http://www.w3.org/1999/xhtml":r,o,u,o?o[0]:_.__k&&C(_,0),i,c,f),null!=o)for(s=o.length;s--;)y(o[s]);i||(s="value","progress"==S&&null==b?n.removeAttribute("value"):null==b||b===n[s]&&("progress"!==S||b)||E(n,s,b,P[s],r),s="checked",null!=k&&k!=n[s]&&E(n,s,k,P[s],r))}return n}function R(n,t,_){try{if("function"==typeof n){var l="function"==typeof n.__u;l&&n.__u(),l&&null==t||(n.__u=n(t))}else n.current=t}catch(n){e.__e(n,_)}}function H(n,t,_){var l,r;if(e.unmount&&e.unmount(n),(l=n.ref)&&(l.current&&l.current!=n.__e||R(l,null,t)),null!=(l=n.__c)){if(l.componentWillUnmount)try{l.componentWillUnmount()}catch(n){e.__e(n,t)}l.__P=null}if(l=n.__k)for(r=0;r<l.length;r++)l[r]&&H(l[r],t,_||"function"!=typeof n.type);_||y(n.__e),n.__e&&n.__e.__l&&(n.__e.__l=null),n.__e=n.__c=n.__=null}function $(e,n,t){return this.constructor(e,t)}function I(n,t){var _,l,r,o;t==document&&(t=document.documentElement),e.__&&e.__(n,t),l=(_=!!(n&&32&n.__u))?null:t.__k,n=t.__k=m(k,null,[n]),r=[],o=[],L(t,n,l||p,p,t.namespaceURI,l?null:t.firstChild?d.call(t.childNodes):null,r,l?l.__e:t.firstChild,_,o,t.ownerDocument),A(r,n,o)}function B(e,n){e.__u|=32,I(e,n)}function V(e,n,t){var _,l,r,o=g({},e.props);for(r in n)"key"==r?_=n[r]:"ref"==r&&"function"!=typeof e.type?l=n[r]:o[r]=n[r];return arguments.length>2&&(o.children=arguments.length>3?d.call(arguments,2):t),v(e.type,o,_||e.key,l||e.ref,null)}function q(e){function n(e){var t,_;return this.getChildContext||(t=new Set,(_={})[n.__c]=this,this.getChildContext=function(){return _},this.componentWillUnmount=function(){t=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&t.forEach(function(e){e.__g|=4,x(e)})},this.sub=function(e){t.add(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){t&&t.delete(e),n&&n.call(e)}}),e.children}return n.__c="__cC"+s++,n.__=e,n.Provider=n.__l=(n.Consumer=function(e,n){return e.children(n)}).contextType=n,n}e={__e:function(e,n,t,_){for(var l,o,u;n=n.__;)if((l=n.__c)&&!(1&l.__g)){l.__g|=4;try{if((o=l.constructor)&&null!=o.getDerivedStateFromError&&(l.setState(o.getDerivedStateFromError(e)),u=8&l.__g),null!=l.componentDidCatch&&(l.componentDidCatch(e,_||{}),u=8&l.__g),u)return void(l.__g|=2)}catch(n){e=n}}throw r=0,e}},n=0,t=function(e){return null!=e&&null==e.constructor},w.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=g({},this.state),"function"==typeof e&&(e=e(g({},t),this.props)),e&&g(t,e),null!=e&&this.__v&&(n&&this._sb.push(n),x(this))},w.prototype.forceUpdate=function(e){this.__v&&(this.__g|=4,e&&this.__h.push(e),x(this))},w.prototype.render=k,_=[],r=0,o=function(e,n){return e.__v.__b-n.__v.__b},u=/(PointerCapture)$|Capture$/i,i=0,c=W(!1),f=W(!0),s=0},1260,[]);
54
+ __d(function(g,r,i,a,m,_e,d){"use strict";const e=["children","mode","marker","variant"],t=["children"],n=["children"],l=["children","contents","priority","split","minimumLength","className","style"];Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"Fruncate",{enumerable:!0,get:function(){return _}}),Object.defineProperty(_e,"MiddleTruncate",{enumerable:!0,get:function(){return I}}),Object.defineProperty(_e,"OverflowText",{enumerable:!0,get:function(){return k}}),Object.defineProperty(_e,"Truncate",{enumerable:!0,get:function(){return N}}),Object.defineProperty(_e,"splitByIndex",{enumerable:!0,get:function(){return x}}),Object.defineProperty(_e,"splitCenter",{enumerable:!0,get:function(){return p}}),Object.defineProperty(_e,"splitExtension",{enumerable:!0,get:function(){return b}}),Object.defineProperty(_e,"splitFirst",{enumerable:!0,get:function(){return O}}),Object.defineProperty(_e,"splitLast",{enumerable:!0,get:function(){return v}}),Object.defineProperty(_e,"splitLeafPath",{enumerable:!0,get:function(){return y}});var c,s=r(d[0]),u=(c=s)&&c.__esModule?c:{default:c},o=r(d[1]);const f=e=>void 0!==e&&/\s/.test(e),h=(e,t)=>{const n=t=>f(e[t-1])||f(e[t]);if(!n(t))return t;for(let l=1;l<e.length;l++){const c=t-l;if(c>0&&!n(c))return c;const s=t+l;if(s<e.length&&!n(s))return s}return t},j=e=>h(e,Math.ceil(e.length/2)),p=e=>{if(e.length<2)return[e,""];const t=j(e);return[e.slice(0,t),e.slice(t)]},b=e=>{if(e.length<4)return[e,""];const t=e.lastIndexOf(".")+1,n=e.length-t>10,l=t>=1&&!n?t:j(e);return[e.slice(0,l),e.slice(l)]},y=e=>{if(e.length<4)return[e,""];const t=e.lastIndexOf("/")+1,n=e.length-t>25,l=t>=1&&!n?t:Math.ceil(e.length/2);return[e.slice(0,l),e.slice(l)]},x=(e,{splitIndex:t}={})=>{if("number"!=typeof t){const t=Math.ceil(e.length/2);return[e.slice(0,t),e.slice(t)]}return[e.slice(0,t),e.slice(t)]},v=(e,{splitOffset:t}={})=>{if("number"!=typeof t||t<=0||t>=e.length){const t=Math.ceil(e.length/2);return[e.slice(0,t),e.slice(t)]}const n=e.length-t;return[e.slice(0,n),e.slice(n)]},O=(e,{splitOffset:t}={})=>{if("number"!=typeof t||t<=0||t>=e.length){const t=Math.ceil(e.length/2);return[e.slice(0,t),e.slice(t)]}const n=t;return[e.slice(0,n),e.slice(n)]};function P({children:e,marker:t,variant:n="default"}){return(0,o.jsx)("div",{"aria-hidden":!0,"data-truncate-marker-cell":!0,children:(0,o.jsx)("div",{"data-truncate-marker":!0,children:"function"==typeof t?t({children:e}):"fade"===n?(0,o.jsx)("span",{"data-truncate-fade":!0}):t})})}function M(e){const{mode:t,children:n}=e;return(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{"data-truncate-content":"visible",children:"fruncate"===t?(0,o.jsx)("span",{children:n}):n}),(0,o.jsx)("div",{"data-truncate-content":"overflow","aria-hidden":!0,children:"fruncate"===t?(0,o.jsx)("span",{children:n}):n})]})}function k(t){let{children:n,mode:l="truncate",marker:c="\u2026",variant:s="default"}=t,f=(0,u.default)(t,e);const h=(0,o.jsx)(M,{mode:l,children:n},"content"),j=(0,o.jsx)(P,{marker:c,mode:l,variant:s},"marker"),p=(0,o.jsx)("div",{"data-truncate-fill":!0},"fill");return(0,o.jsx)("div",Object.assign({"data-truncate-container":l,"data-truncate-variant":s},f,{children:(0,o.jsx)("div",{"data-truncate-grid":!0,children:"truncate"===l?[h,j]:[j,h,p]})}))}function N(e){let{children:n}=e,l=(0,u.default)(e,t);return(0,o.jsx)(k,Object.assign({mode:"truncate"},l,{children:n}))}function _(e){let{children:t}=e,l=(0,u.default)(e,n);return(0,o.jsx)(k,Object.assign({mode:"fruncate"},l,{children:t}))}function I(e){let{children:t,contents:n,priority:c="end",split:s="center",minimumLength:f=12,className:h,style:j}=e,P=(0,u.default)(e,l),M=null,k=null;if(Array.isArray(n)){if(2!==n.length)return console.error("MiddleTruncate: contents must be an array of two items"),null;M=(0,o.jsx)(N,Object.assign({},P,{children:n[0]})),k=(0,o.jsx)(_,Object.assign({},P,{children:n[1]}))}else{if("string"!=typeof t)return console.error("MiddleTruncate: children must be a string"),null;if(0===t.length)return(0,o.jsx)("div",{className:h,style:j});if(t.length<f)return"end"===c?(0,o.jsx)(_,Object.assign({},P,{className:h,style:j,children:t})):(0,o.jsx)(N,Object.assign({},P,{className:h,style:j,children:t}));let e=null,n=null,l=null;if("string"==typeof s)"center"===s?e=p:"extension"===s?e=b:"leaf-path"===s&&(e=y);else if("number"==typeof s)e=x,n=s;else if(Array.isArray(s)){const[t,n]=s;l=n,"last"===t?e=v:"first"===t&&(e=O)}else"function"==typeof s&&(e=s);e??=p;const[u,I]=e(t,{priority:c,variant:P.variant,splitIndex:"number"==typeof n?n:void 0,splitOffset:"number"==typeof l?l:void 0}),T=u.length>=I.length,q="equal"===c&&T,A={},L={};"equal"===c&&!T&&(A.marker=""),q&&(L.marker=""),M=(0,o.jsx)(N,Object.assign({},P,A,{children:u})),k=(0,o.jsx)(_,Object.assign({},P,L,{children:I}))}return(0,o.jsxs)("div",{"data-truncate-group-container":"middle",className:h,style:j,children:[(0,o.jsx)("div",{"data-truncate-segment-priority":"start"===c||"equal"===c?"1":"2",children:M}),(0,o.jsx)("div",{"data-truncate-segment-priority":"end"===c||"equal"===c?"1":"2",children:k})]})}},1261,[25,1259]);
55
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"EMPTY_FILE_TREE_LAYOUT_RANGE",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"computeFileTreeLayout",{enumerable:!0,get:function(){return p}}),Object.defineProperty(e,"computeStickyRows",{enumerable:!0,get:function(){return f}});const t={endIndex:-1,startIndex:-1};function n(n,o){return n<0||o<n?t:{endIndex:o,startIndex:n}}function o(t){return t.startIndex<0||t.endIndex<t.startIndex}function l(t,n){return o(t)?0:(t.endIndex-t.startIndex+1)*n}function c(t,n,o){if(n<=0)return-1;return t<=0?0:t>=n*o?n:Math.floor(t/o)}function h(t){const n=new Map;return t.forEach((t,o)=>{if("directory"!==t.kind||!t.isExpanded)return;const l=t.ancestorPaths.length,c=n.get(l);null!=c?c.push(o):n.set(l,[o])}),n}function s(t,n){let o=0,l=t.length-1,c=-1;for(;o<=l;){const h=Math.floor((o+l)/2),s=t[h];if(null==s)break;s<=n?(c=h,o=h+1):l=h-1}return c}function u(t){const n=new Map,o=[];for(let l=0;l<t.length;l+=1){const c=t[l];if(null==c)continue;const h="directory"===c.kind&&c.isExpanded?[...c.ancestorPaths,c.path]:c.ancestorPaths;let s=0;for(;s<o.length&&s<h.length&&o[s]===h[s];)s+=1;for(let t=o.length-1;t>=s;t-=1){const c=o[t];null!=c&&n.set(c,l-1)}o.length=s;for(let t=s;t<h.length;t+=1){const n=h[t];null!=n&&o.push(n)}}const l=t.length-1;for(const t of o)n.set(t,l);return n}function f(t,n,o){if(0===t.length||n<=0)return[];const l=u(t),c=h(t),f=[];for(let l=0;l<t.length;l+=1){const h=c.get(l);if(null==h||0===h.length)break;const u=n+l*o;let p=s(h,Math.min(t.length-1,Math.floor(u/o))),x=null;for(;p>=0;){const n=h[p],o=null==n?null:t[n]??null;if(null!=o&&(0===l||o.ancestorPaths[l-1]===f[l-1]?.path)){x=o;break}p-=1}if(null==x)break;f.push(x)}return f.map((c,h)=>{const s=h*o,u=(l.get(c.path)??t.length-1)+1;if(u>=t.length)return{row:c,top:s};const f=u*o-n;return{row:c,top:Math.min(s,f-o)}}).filter(t=>t.top+o>0)}function p(h,s){const u=s.totalRowCount??h.length,p=u*s.itemHeight,x=Math.max(0,s.viewportHeight),M=Math.max(0,Math.floor(s.overscan)),I=Math.max(0,p-x),H=(w=s.scrollTop,b=0,y=I,Math.min(Math.max(w,b),y));var w,b,y;const k=s.stickyRows??f(h,H,s.itemHeight),P=k.reduce((t,n)=>Math.max(t,n.top+s.itemHeight),0),T=Math.min(p,H+P),v=Math.max(0,x-P),E=Math.max(0,p-T),_=c(H,u,s.itemHeight),O=c(T,u,s.itemHeight),R=P<=0||_<0||_>=u?-1:_,j=-1===R?-1:Math.min(u-1,O-1),C=-1===R||j<R?0:j-R+1,L=v<=0||O>=u?t:n(O,(A=T+v,F=u,S=s.itemHeight,F<=0||A<=0?-1:A>=F*S?F-1:Math.ceil(A/S)-1));var A,F,S;const Y=j+1,G=o(L)?t:n(Math.max(Y,L.startIndex-M),Math.min(u-1,L.endIndex+M)),N=l(G,s.itemHeight);return{occlusion:{firstOccludedIndex:R,lastOccludedIndex:j,occludedCount:C},physical:{itemHeight:s.itemHeight,maxScrollTop:I,overscan:M,scrollTop:H,totalHeight:p,totalRowCount:u,viewportHeight:x},projected:{contentHeight:E,paneHeight:v,paneTop:T},sticky:{height:P,rows:k},visible:L,window:{endIndex:G.endIndex,height:N,offsetTop:o(G)?0:G.startIndex*s.itemHeight,startIndex:G.startIndex}}}},1262,[]);
56
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"GIT_STATUS_DESCENDANT_TITLE",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"GIT_STATUS_LABEL",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"GIT_STATUS_TITLE",{enumerable:!0,get:function(){return n}});const t={added:"A",deleted:"D",ignored:null,modified:"M",renamed:"R",untracked:"U"},n={added:"Git status: added",deleted:"Git status: deleted",ignored:"Git status: ignored",modified:"Git status: modified",renamed:"Git status: renamed",untracked:"Git status: untracked"},u="Contains git status items"},1263,[]);
57
+ __d(function(g,r,i,a,m,e,d){"use strict";function n(n){return!!n.current||(n.current=!0,!1)}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"shouldBumpControllerRevision",{enumerable:!0,get:function(){return n}})},1264,[]);
58
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"focusElement",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"getActiveTreeElement",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"getCachedViewportHeight",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"getParkedFocusedRowOffset",{enumerable:!0,get:function(){return b}}),Object.defineProperty(e,"getResizeObserverViewportHeight",{enumerable:!0,get:function(){return l}}),Object.defineProperty(e,"readMeasuredViewportHeight",{enumerable:!0,get:function(){return c}}),Object.defineProperty(e,"scrollFocusedRowIntoView",{enumerable:!0,get:function(){return f}}),Object.defineProperty(e,"scrollFocusedRowToOffset",{enumerable:!0,get:function(){return s}}),Object.defineProperty(e,"scrollFocusedRowToViewportOffset",{enumerable:!0,get:function(){return p}});var t=r(d[0]);function n(t){if(null==t||!t.isConnected)return!1;if(t===document.body||t===document.documentElement)return!1;t.focus({preventScroll:!0});const n=t.getRootNode();return n instanceof ShadowRoot?n.activeElement===t:document.activeElement===t}function o(t){const n=t.getRootNode();if(n instanceof ShadowRoot){const t=n.activeElement;return t instanceof HTMLElement?t:null}const o=document.activeElement;return o instanceof HTMLElement&&t.contains(o)?o:null}function c(t,n){if(null==t)return n;const o=t.getBoundingClientRect().height;return o>0?o:t.clientHeight>0?t.clientHeight:n}function u(t,n){return null!=t&&t>0?t:n}function l(t){const n=t.borderBoxSize,o=Array.isArray(n)?n[0]:n;return null!=o&&Number.isFinite(o.blockSize)&&o.blockSize>0?o.blockSize:t.contentRect.height>0?t.contentRect.height:null}function f(n,o,c,u,l=0){const f=(0,t.computeFocusedRowScrollIntoView)({currentScrollTop:n.scrollTop,focusedIndex:o,itemHeight:c,topInset:l,viewportHeight:u});return null!=f&&(n.scrollTop=f,!0)}function s(n,o,c,u,l,f,s=0){const p=(0,t.computeFocusedRowScrollTopForOffset)({currentScrollTop:n.scrollTop,focusedIndex:o,itemHeight:c,offset:f,topInset:s,totalHeight:l,viewportHeight:u});return null!=p&&(n.scrollTop=p,!0)}function p(n,o,c,u,l,f){const s=(0,t.computeViewportOffsetScrollTop)({currentScrollTop:n.scrollTop,focusedIndex:o,itemHeight:c,targetViewportOffset:f,totalHeight:l,viewportHeight:u});return null!=s&&(n.scrollTop=s,!0)}function b(t,n,o,c){return o.end<o.start?null:t<o.start?-n:t>o.end?c:null}},1265,[1266]);
59
+ __d(function(g,r,i,a,m,e,d){"use strict";function t(t){const{currentScrollTop:n,focusedIndex:o,itemHeight:u,topInset:c=0,viewportHeight:l}=t;if(o<0)return null;const f=Math.max(0,c),s=o*u,h=s+u;if(s<n+f){const t=Math.max(0,s-f);return t===n?null:t}if(h>n+l){const t=h-l;return t===n?null:t}return null}function n(n){const{currentScrollTop:o,focusedIndex:u,itemHeight:c,offset:l,topInset:f=0,totalHeight:s,viewportHeight:h}=n;if("nearest"===l)return t({currentScrollTop:o,focusedIndex:u,itemHeight:c,topInset:f,viewportHeight:h});if(u<0)return null;const p=Math.max(0,f),x=u*c,M=Math.max(0,h-p),H="center"===l?p+Math.max(0,(M-c)/2):p,w=Math.max(0,s-h),I=Math.max(0,Math.min(x-H,w));return I===o?null:I}function o(t){const{currentScrollTop:n,focusedIndex:o,itemHeight:u,targetViewportOffset:c,totalHeight:l,viewportHeight:f}=t;if(o<0)return null;const s=Math.max(0,c),h=o*u;if(h>=n+s&&h+u<=n+f)return null;const p=Math.max(0,l-f),x=Math.max(0,Math.min(h-s,p));return x===n?null:x}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"computeFocusedRowScrollIntoView",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"computeFocusedRowScrollTopForOffset",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"computeViewportOffsetScrollTop",{enumerable:!0,get:function(){return o}})},1266,[]);
60
+ __d(function(g,r,i,a,m,e,d){"use strict";function n(n){const{renamingPath:t,previousRenamingPath:u,hasRenderedInput:o}=n;return null==t?"reset":o?u===t?"ignore":"focus-input":"reveal-canonical"}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"classifyFileTreeRenameHandoff",{enumerable:!0,get:function(){return n}})},1267,[]);
61
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"RenameInput",{enumerable:!0,get:function(){return t}});var n=r(d[0]);function t({ariaLabel:t,isFlattened:o=!1,ref:u,value:p,onBlur:l,onInput:s}){return(0,n.jsx)("input",Object.assign({ref:u,"data-item-rename-input":!0},o?{"data-item-flattened-rename-input":!0}:{},{"aria-label":t,value:p,onBlur:l,onInput:s,onClick:n=>n.stopPropagation(),onMouseDown:n=>n.stopPropagation(),onPointerDown:n=>n.stopPropagation()}))}},1268,[1259]);
62
+ __d(function(g,r,i,a,m,e,d){"use strict";function t(t){const{row:n,mode:o,targetPath:s,ariaLabel:c,domId:u,isParked:l,itemHeight:v,features:p,state:b,extraStyle:f}=t,h="sticky"===o,x=n.ancestorPaths.at(-1)??"",y={};return b.isFocusRinged&&(y["data-item-focused"]=!0),n.isSelected&&(y["data-item-selected"]=!0),b.isContextHovered&&(y["data-item-context-hover"]="true"),b.isDragTarget&&(y["data-item-drag-target"]=!0),b.isDragging&&(y["data-item-dragging"]=!0),null!=b.effectiveGitStatus&&(y["data-item-git-status"]=b.effectiveGitStatus),b.containsGitChange&&(y["data-item-contains-git-change"]="true"),Object.assign({"aria-expanded":h||"directory"!==n.kind?void 0:n.isExpanded,"aria-haspopup":p.contextMenuEnabled?"menu":void 0,"aria-label":c,"aria-level":h?void 0:n.level+1,"aria-posinset":h?void 0:n.posInSet+1,"aria-selected":h?void 0:n.isSelected?"true":"false","aria-setsize":h?void 0:n.setSize,"data-file-tree-sticky-path":h?s:void 0,"data-file-tree-sticky-row":h?"true":void 0,"data-item-context-menu-button-visibility":p.actionLaneEnabled?p.contextMenuButtonVisibility:void 0,"data-item-context-menu-trigger-mode":p.contextMenuEnabled?p.contextMenuTriggerMode:void 0,"data-item-has-context-menu-action-lane":p.actionLaneEnabled?"true":void 0,"data-item-has-git-lane":p.gitLaneActive?"true":void 0,"data-item-parent-path":x.length>0?x:void 0,"data-item-parked":l?"true":void 0,"data-item-path":s,"data-item-type":"directory"===n.kind?"folder":"file","data-type":"item",id:h?void 0:u,role:h?void 0:"treeitem",style:Object.assign({minHeight:`${v}px`},f),tabIndex:!h&&n.isFocused?0:-1},y)}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"computeFileTreeRowElementAttributes",{enumerable:!0,get:function(){return t}})},1269,[]);
63
+ __d(function(g,r,i,a,m,e,d){"use strict";function t(t){const{event:n,mode:c,isSearchOpen:o,isDirectory:l}=t,s=n.ctrlKey||n.metaKey,u=n.shiftKey||s;return{closeSearch:o,revealCanonical:"sticky"===c,selection:n.shiftKey?{additive:s,kind:"range"}:s?{kind:"toggle"}:{kind:"single"},toggleDirectory:!u&&l}}Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"computeFileTreeRowClickPlan",{enumerable:!0,get:function(){return t}})},1270,[]);
64
+ __d(function(_g,_r,_i,_a,_m,_e,_d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"useCallback",{enumerable:!0,get:function(){return j}}),Object.defineProperty(_e,"useContext",{enumerable:!0,get:function(){return O}}),Object.defineProperty(_e,"useDebugValue",{enumerable:!0,get:function(){return E}}),Object.defineProperty(_e,"useEffect",{enumerable:!0,get:function(){return b}}),Object.defineProperty(_e,"useErrorBoundary",{enumerable:!0,get:function(){return N}}),Object.defineProperty(_e,"useId",{enumerable:!0,get:function(){return C}}),Object.defineProperty(_e,"useImperativeHandle",{enumerable:!0,get:function(){return g}}),Object.defineProperty(_e,"useLayoutEffect",{enumerable:!0,get:function(){return y}}),Object.defineProperty(_e,"useMemo",{enumerable:!0,get:function(){return P}}),Object.defineProperty(_e,"useReducer",{enumerable:!0,get:function(){return p}}),Object.defineProperty(_e,"useRef",{enumerable:!0,get:function(){return H}}),Object.defineProperty(_e,"useState",{enumerable:!0,get:function(){return d}});var _,n,e,t,r=_r(_d[0]),u=Object.is,o=0,c=[],i=r.options,f=i.__b,a=i.__r,l=i.diffed,h=i.__c,s=i.unmount,m=i.__;function v(_,e){i.__h&&i.__h(n,_,o||e),o=0;var t=n.__H||(n.__H={__:[],__h:[]});return _>=t.__.length&&t.__.push({}),t.__[_]}function d(_){return o=1,p(T,_)}function p(e,t,r){var o=v(_++,2);if(o.t=e,!o.__c&&(o.__=[r?r(t):T(void 0,t),function(_){var n=o.__N?o.__N[0]:o.__[0],e=o.t(n,_);u(n,e)||(o.__N=[e,o.__[1]],o.__c.setState({}))}],o.__c=n,!n.__f)){var c=function(_,n,e){if(!o.__c.__H)return!0;var t=o.__c.__H.__.filter(function(_){return!!_.__c});if(t.every(function(_){return!_.__N}))return!i||i.call(this,_,n,e);var r=o.__c.props!==_;return t.forEach(function(_){if(_.__N){var n=_.__[0];_.__=_.__N,_.__N=void 0,u(n,_.__[0])||(r=!0)}}),i&&i.call(this,_,n,e)||r};n.__f=!0;var i=n.shouldComponentUpdate,f=n.componentWillUpdate;n.componentWillUpdate=function(_,n,e){if(4&this.__g){var t=i;i=void 0,c(_,n,e),i=t}f&&f.call(this,_,n,e)},n.shouldComponentUpdate=c}return o.__N||o.__}function b(e,t){var r=v(_++,3);!i.__s&&U(r.__H,t)&&(r.__=e,r.u=t,n.__H.__h.push(r))}function y(e,t){var r=v(_++,4);!i.__s&&U(r.__H,t)&&(r.__=e,r.u=t,n.__h.push(r))}function H(_){return o=5,P(function(){return{current:_}},[])}function g(_,n,e){o=6,y(function(){if("function"==typeof _){var e=_(n());return function(){_(null),e&&"function"==typeof e&&e()}}if(_)return _.current=n(),function(){return _.current=null}},null==e?e:e.concat(_))}function P(n,e){var t=v(_++,7);return U(t.__H,e)&&(t.__=n(),t.__H=e,t.__h=n),t.__}function j(_,n){return o=8,P(function(){return _},n)}function O(e){var t=n.context[e.__c],r=v(_++,9);return r.c=e,t?(null==r.__&&(r.__=!0,t.sub(n)),t.props.value):e.__}function E(_,n){i.useDebugValue&&i.useDebugValue(n?n(_):_)}function N(e){var t=v(_++,10),r=d();return t.__=e,n.componentDidCatch||(n.componentDidCatch=function(_,n){t.__&&t.__(_,n),r[1](_)}),[r[0],function(){r[1](void 0)}]}function C(){var e=v(_++,11);if(!e.__){for(var t=n.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function A(){for(var _;_=c.shift();)if(_.__P&&_.__H)try{_.__H.__h.forEach(k),_.__H.__h.forEach(q),_.__H.__h=[]}catch(n){_.__H.__h=[],i.__e(n,_.__v)}}i.__b=function(_){n=null,f&&f(_)},i.__=function(_,n){_&&n.__k&&n.__k.__m&&(_.__m=n.__k.__m),m&&m(_,n)},i.__r=function(t){a&&a(t),_=0;var r=(n=t.__c).__H;r&&(e===n?(r.__h=[],n.__h=[],r.__.forEach(function(_){_.__N&&(_.__=_.__N),_.u=_.__N=void 0})):(r.__h.forEach(k),r.__h.forEach(q),r.__h=[],_=0)),e=n},i.diffed=function(_){l&&l(_);var r=_.__c;r&&r.__H&&(r.__H.__h.length&&(1!==c.push(r)&&t===i.requestAnimationFrame||((t=i.requestAnimationFrame)||F)(A)),r.__H.__.forEach(function(_){_.u&&(_.__H=_.u),_.u=void 0})),e=n=null},i.__c=function(_,n){n.some(function(_){try{_.__h.forEach(k),_.__h=_.__h.filter(function(_){return!_.__||q(_)})}catch(e){n.some(function(_){_.__h&&(_.__h=[])}),n=[],i.__e(e,_.__v)}}),h&&h(_,n)},i.unmount=function(_){s&&s(_);var n,e=_.__c;e&&e.__H&&(e.__H.__.forEach(function(_){try{k(_)}catch(_){n=_}}),e.__H=void 0,n&&i.__e(n,e.__v))};var D="function"==typeof requestAnimationFrame;function F(_){var n,e=function(){clearTimeout(t),D&&cancelAnimationFrame(n),setTimeout(_)},t=setTimeout(e,35);D&&(n=requestAnimationFrame(e))}function k(_){var e=n,t=_.__c;"function"==typeof t&&(_.__c=void 0,t()),n=e}function q(_){var e=n;_.__c=_.__(),n=e}function U(_,n){return!_||_.length!==n.length||n.some(function(n,e){return!u(n,_[e])})}function T(_,n){return"function"==typeof n?n(_):n}},1271,[1260]);
65
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"fileTreeRenderer",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"hydrateFileTreeRoot",{enumerable:!0,get:function(){return c}}),Object.defineProperty(e,"renderFileTreeRoot",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"unmountFileTreeRoot",{enumerable:!0,get:function(){return f}});var t=r(d[0]),n=r(d[1]);const o={hydrateRoot:(o,u)=>{(0,n.hydrate)((0,n.h)(t.FileTreeView,u),o)},renderRoot:(o,u)=>{(0,n.render)((0,n.h)(t.FileTreeView,u),o)},unmountRoot:t=>{(0,n.render)(null,t)}};function u(t,n){o.renderRoot(t,n)}function c(t,n){o.hydrateRoot(t,n)}function f(t){o.unmountRoot(t)}},1272,[1257,1260]);
66
+ __d(function(g,r,i,a,m,_e,d){"use strict";var t,e,l,n,u;function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"FileTreeManagedSlotHost",{enumerable:!0,get:function(){return c}});var s=o(r(d[0])),f=o(r(d[1])),c=(t=(0,f.default)("contentBySlot"),e=(0,f.default)("host"),l=(0,f.default)("getCurrentContent"),n=(0,f.default)("attachContent"),u=(0,f.default)("adoptExistingManagedContent"),class{constructor(){Object.defineProperty(this,u,{value:p}),Object.defineProperty(this,n,{value:v}),Object.defineProperty(this,l,{value:h}),Object.defineProperty(this,t,{writable:!0,value:new Map}),Object.defineProperty(this,e,{writable:!0,value:null})}clearAll(){for(const e of(0,s.default)(this,t)[t].values())e.remove();(0,s.default)(this,t)[t].clear()}clearSlotContent(e){const n=(0,s.default)(this,l)[l](e);null!=n&&(n.remove(),(0,s.default)(this,t)[t].delete(e))}setHost(l){if((0,s.default)(this,e)[e]=l,null!=l){(0,s.default)(this,u)[u](l);for(const[e,l]of(0,s.default)(this,t)[t])(0,s.default)(this,n)[n](e,l)}}setSlotContent(e,u){const o=(0,s.default)(this,l)[l](e);o!==u?(o?.remove(),null!=u?((0,s.default)(this,t)[t].set(e,u),(0,s.default)(this,n)[n](e,u)):(0,s.default)(this,t)[t].delete(e)):null!=u&&((0,s.default)(this,t)[t].set(e,u),(0,s.default)(this,n)[n](e,u))}setSlotHtml(e,u){const o=u?.trim()??"";if(0===o.length)return void this.setSlotContent(e,null);const f=(0,s.default)(this,l)[l](e);if(null!=f&&f.innerHTML===o)return(0,s.default)(this,t)[t].set(e,f),void(0,s.default)(this,n)[n](e,f);const c=document.createElement("div");c.innerHTML=o,this.setSlotContent(e,c)}});function h(l){const n=(0,s.default)(this,t)[t].get(l)??null;if(null!=n)return n;const u=(0,s.default)(this,e)[e];if(null==u)return null;for(const t of Array.from(u.children))if(t instanceof HTMLElement&&t.dataset.fileTreeManagedSlot===l)return t;return null}function v(t,l){l.slot=t,l.dataset.fileTreeManagedSlot=t,null!=(0,s.default)(this,e)[e]&&l.parentNode!==(0,s.default)(this,e)[e]&&(0,s.default)(this,e)[e].appendChild(l)}function p(e){for(const l of Array.from(e.children)){if(!(l instanceof HTMLElement))continue;const e=l.dataset.fileTreeManagedSlot;null==e||(0,s.default)(this,t)[t].has(e)||(0,s.default)(this,t)[t].set(e,l)}}},1273,[30,31]);
67
+ __d(function(_g,_r,_i,_a,_m,_e,_d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return H}}),Object.defineProperty(_e,"render",{enumerable:!0,get:function(){return I}}),Object.defineProperty(_e,"renderToStaticMarkup",{enumerable:!0,get:function(){return R}}),Object.defineProperty(_e,"renderToString",{enumerable:!0,get:function(){return H}}),Object.defineProperty(_e,"renderToStringAsync",{enumerable:!0,get:function(){return O}});var e=_r(_d[0]),t="diffed",n="__c",r="__s",o="__c",i="__k",a="__d",s="__s",c=/[\s\n\\/='"\0<>]/,u=/^(xlink|xmlns|xml)([A-Z])/,l=/^(?:accessK|auto[A-Z]|cell|ch|col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|src[A-Z]|tabI|useM|item[A-Z])/,f=/^ac|^ali|arabic|basel|cap|clipPath$|clipRule$|color|dominant|enable|fill|flood|font|glyph[^R]|horiz|image|letter|lighting|marker[^WUH]|overline|panose|pointe|paint|rendering|shape|stop|strikethrough|stroke|text[^L]|transform|underline|unicode|units|^v[^i]|^w|^xH/,p=new Set(["draggable","spellcheck"]);function h(e){void 0!==e.__g?e.__g|=8:e[a]=!0}function d(e){void 0!==e.__g?e.__g&=-9:e[a]=!1}function v(e){return void 0!==e.__g?!!(8&e.__g):!0===e[a]}var g=/["&<]/;function m(e){if(0===e.length||!1===g.test(e))return e;for(var t=0,n=0,r="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 60:o="&lt;";break;default:continue}n!==t&&(r+=e.slice(t,n)),r+=o,t=n+1}return n!==t&&(r+=e.slice(t,n)),r}var y={},_=new Set(["animation-iteration-count","border-image-outset","border-image-slice","border-image-width","box-flex","box-flex-group","box-ordinal-group","column-count","fill-opacity","flex","flex-grow","flex-negative","flex-order","flex-positive","flex-shrink","flood-opacity","font-weight","grid-column","grid-row","line-clamp","line-height","opacity","order","orphans","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","widows","z-index","zoom"]),b=/[A-Z]/g;function k(e){var t="";for(var n in e){var r=e[n];if(null!=r&&""!==r){var o="-"==n[0]?n:y[n]||(y[n]=n.replace(b,"-$&").toLowerCase()),i=";";"number"!=typeof r||o.startsWith("--")||_.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}function w(){this.__d=!0}function x(e,t){return{__v:e,context:t,props:e.props,setState:w,forceUpdate:w,__d:!0,__h:new Array(0)}}function C(e,t,n){if(!e.s){if(n instanceof S){if(!n.s)return void(n.o=C.bind(null,e,t));1&t&&(t=n.s),n=n.v}if(n&&n.then)return void n.then(C.bind(null,e,t),C.bind(null,e,2));e.s=t,e.v=n;const r=e.o;r&&r(e)}}var S=(function(){function e(){}return e.prototype.then=function(t,n){var r=new e,o=this.s;if(o){var i=1&o?t:n;if(i){try{C(r,1,i(this.v))}catch(e){C(r,2,e)}return r}return this}return this.o=function(e){try{var o=e.v;1&e.s?C(r,1,t?t(o):o):n?C(r,1,n(o)):C(r,2,o)}catch(e){C(r,2,e)}},r},e})();function A(e){return e instanceof S&&1&e.s}function j(e,t,n){for(var r;;){var o=e();if(A(o)&&(o=o.v),!o)return i;if(o.then){r=0;break}var i=n();if(i&&i.then){if(!A(i)){r=1;break}i=i.s}if(t){var a=t();if(a&&a.then&&!A(a)){r=2;break}}}var s=new S,c=C.bind(null,s,2);return(0===r?o.then(l):1===r?i.then(u):a.then(f)).then(void 0,c),s;function u(r){i=r;do{if(t&&(a=t())&&a.then&&!A(a))return void a.then(f).then(void 0,c);if(!(o=e())||A(o)&&!o.v)return void C(s,1,i);if(o.then)return void o.then(l).then(void 0,c);A(i=n())&&(i=i.v)}while(!i||!i.then);i.then(u).then(void 0,c)}function l(e){e?(i=n())&&i.then?i.then(u).then(void 0,c):u(i):C(s,1,i)}function f(){(o=e())?o.then?o.then(l).then(void 0,c):l(o):C(s,1,i)}}function P(e,t){try{var n=e()}catch(e){return t(!0,e)}return n&&n.then?n.then(t.bind(null,!1),t.bind(null,!0)):t(!1,n)}var F,L,T,E,O=function(o,a){try{var s=e.options[r];e.options[r]=!0,F=e.options.__b,L=e.options[t],T=e.options.__r,E=e.options.unmount;var c=(0,e.h)(e.Fragment,null);return c[i]=[o],Promise.resolve(P(function(){return Promise.resolve(q(o,a||D,!1,void 0,c,!0,void 0)).then(function(e){var t,n=(function(){if($(e)){var n=function(){var e=o.join(Z);return t=1,e},r=0,o=e,i=j(function(){return!!o.some(function(e){return e&&"function"==typeof e.then})&&r++<25},void 0,function(){return Promise.resolve(Promise.all(o)).then(function(e){o=e.flat()})});return i&&i.then?i.then(n):n()}})();return n&&n.then?n.then(function(n){return t?n:e}):t?n:e})},function(t,i){if(e.options[n]&&e.options[n](o,M),e.options[r]=s,M.length=0,t)throw i;return i}))}catch(e){return Promise.reject(e)}},D={},M=[],$=Array.isArray,U=Object.assign,Z="",W="\x3c!--$s--\x3e",z="\x3c!--/$s--\x3e";function H(o,a,s){var c=e.options[r];e.options[r]=!0,F=e.options.__b,L=e.options[t],T=e.options.__r,E=e.options.unmount;var u=(0,e.h)(e.Fragment,null);u[i]=[o];try{var l=q(o,a||D,!1,void 0,u,!1,s);return $(l)?l.join(Z):l}catch(e){if(e.then)throw new Error('Use "renderToStringAsync" for suspenseful rendering.');throw e}finally{e.options[n]&&e.options[n](o,M),e.options[r]=c,M.length=0}}function N(e,t){var n,r=e.type,i=!0;return e[o]?(i=!1,(n=e[o]).state=n[s]):n=new r(e.props,t),e[o]=n,n.__v=e,n.props=e.props,n.context=t,h(n),null==n.state&&(n.state=D),null==n[s]&&(n[s]=n.state),r.getDerivedStateFromProps?n.state=U({},n.state,r.getDerivedStateFromProps(n.props,n.state)):i&&n.componentWillMount?(n.componentWillMount(),n.state=n[s]!==n.state?n[s]:n.state):!i&&n.componentWillUpdate&&n.componentWillUpdate(),T&&T(e),n.render(n.props,n.state,t)}function q(t,n,r,a,g,y,_){if(null==t||!0===t||!1===t||t===Z)return Z;var b=typeof t;if("object"!=b)return"function"==b?Z:"string"==b?m(t):t+Z;if($(t)){var w,C=Z;g[i]=t;for(var S=t.length,A=0;A<S;A++){var j=t[A];if(null!=j&&"boolean"!=typeof j){var P,O=q(j,n,r,a,g,y,_);"string"==typeof O?C+=O:(w||(w=new Array(S)),C&&w.push(C),C=Z,$(O)?(P=w).push.apply(P,O):w.push(O))}}return w?(C&&w.push(C),w):C}if(void 0!==t.constructor)return Z;t.__=g,F&&F(t);var M=t.type,H=t.props;if("function"==typeof M){var I,R,K,G=n;if(M===e.Fragment){if("tpl"in H){for(var J=Z,Q=0;Q<H.tpl.length;Q++)if(J+=H.tpl[Q],H.exprs&&Q<H.exprs.length){var X=H.exprs[Q];if(null==X)continue;"object"!=typeof X||void 0!==X.constructor&&!$(X)?J+=X:J+=q(X,n,r,a,t,y,_)}return J}if("UNSTABLE_comment"in H)return"\x3c!--"+m(H.UNSTABLE_comment)+"--\x3e";R=H.children}else{if(null!=(I=M.contextType)){var Y=n[I.__c];G=Y?Y.props.value:I.__}var ee=M.prototype&&"function"==typeof M.prototype.render;if(ee)R=N(t,G),K=t[o];else{t[o]=K=x(t,G);for(var te=0;v(K)&&te++<25;){d(K),T&&T(t);try{R=M.call(K,H,G)}catch(e){throw y&&e&&"function"==typeof e.then&&(t._suspended=!0),e}}h(K)}if(null!=K.getChildContext&&(n=U({},n,K.getChildContext())),ee&&e.options.errorBoundaries&&(M.getDerivedStateFromError||K.componentDidCatch)){R=null!=R&&R.type===e.Fragment&&null==R.key&&null==R.props.tpl?R.props.children:R;try{return q(R,n,r,a,t,y,!1)}catch(i){return M.getDerivedStateFromError&&(K[s]=M.getDerivedStateFromError(i)),K.componentDidCatch&&K.componentDidCatch(i,D),v(K)?(R=N(t,n),null!=(K=t[o]).getChildContext&&(n=U({},n,K.getChildContext())),q(R=null!=R&&R.type===e.Fragment&&null==R.key&&null==R.props.tpl?R.props.children:R,n,r,a,t,y,_)):Z}finally{L&&L(t),E&&E(t)}}}R=null!=R&&R.type===e.Fragment&&null==R.key&&null==R.props.tpl?R.props.children:R;try{var ne=q(R,n,r,a,t,y,_);return L&&L(t),e.options.unmount&&e.options.unmount(t),t._suspended?"string"==typeof ne?W+ne+z:$(ne)?(ne.unshift(W),ne.push(z),ne):ne.then(function(e){return W+e+z}):ne}catch(o){if(!y&&_&&_.onError){var re=(function e(o){return _.onError(o,t,function(t,o){try{return q(t,n,r,a,o,y,_)}catch(t){return e(t)}})})(o);if(void 0!==re)return re;var oe=e.options.__e;return oe&&oe(o,t),Z}if(!y)throw o;if(!o||"function"!=typeof o.then)throw o;return o.then(function e(){try{var o=q(R,n,r,a,t,y,_);return t._suspended?W+o+z:o}catch(t){if(!t||"function"!=typeof t.then)throw t;return t.then(e)}})}}var ie,ae="<"+M,se=Z;for(var ce in H){var ue=H[ce];if("function"!=typeof(ue=V(ue)?ue.value:ue)||"class"===ce||"className"===ce){switch(ce){case"children":ie=ue;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in H)continue;ce="for";break;case"className":if("class"in H)continue;ce="class";break;case"defaultChecked":ce="checked";break;case"defaultSelected":ce="selected";break;case"defaultValue":case"value":switch(ce="value",M){case"textarea":ie=ue;continue;case"select":a=ue;continue;case"option":a!=ue||"selected"in H||(ae+=" selected")}break;case"dangerouslySetInnerHTML":se=ue&&ue.__html;continue;case"style":"object"==typeof ue&&(ue=k(ue));break;case"acceptCharset":ce="accept-charset";break;case"httpEquiv":ce="http-equiv";break;default:if(u.test(ce))ce=ce.replace(u,"$1:$2").toLowerCase();else{if(c.test(ce))continue;"-"!==ce[4]&&!p.has(ce)||null==ue?r?f.test(ce)&&(ce="panose1"===ce?"panose-1":ce.replace(/([A-Z])/g,"-$1").toLowerCase()):l.test(ce)&&(ce=ce.toLowerCase()):ue+=Z}}null!=ue&&!1!==ue&&(ae=!0===ue||ue===Z?ae+" "+ce:ae+" "+ce+'="'+("string"==typeof ue?m(ue):ue+Z)+'"')}}if(c.test(M))throw new Error(M+" is not a valid HTML tag name in "+ae+">");if(se||("string"==typeof ie?se=m(ie):null!=ie&&!1!==ie&&!0!==ie&&(se=q(ie,n,"svg"===M||"foreignObject"!==M&&r,a,t,y,_))),L&&L(t),E&&E(t),!se&&B.has(M))return ae+"/>";var le="</"+M+">",fe=ae+">";return $(se)?[fe].concat(se,[le]):"string"!=typeof se?[fe,se,le]:fe+se+le}var B=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),I=H,R=H;function V(e){return null!==e&&"object"==typeof e&&"function"==typeof e.peek&&"value"in e}},1274,[1260]);
68
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"FileTree",{enumerable:!0,get:function(){return t.FileTree}}),Object.defineProperty(e,"useFileTree",{enumerable:!0,get:function(){return n.useFileTree}}),Object.defineProperty(e,"useFileTreeSearch",{enumerable:!0,get:function(){return c.useFileTreeSearch}}),Object.defineProperty(e,"useFileTreeSelection",{enumerable:!0,get:function(){return l.useFileTreeSelection}}),Object.defineProperty(e,"useFileTreeSelector",{enumerable:!0,get:function(){return u.useFileTreeSelector}});var t=r(d[0]),n=r(d[1]),u=r(d[2]),l=r(d[3]),c=r(d[4])},1275,[1276,1277,1278,1279,1280]);
69
+ __d(function(g,r,i,a,m,_e,d){"use strict";const e=["header","id","model","preloadedData","renderContextMenu"];Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"FileTree",{enumerable:!0,get:function(){return E}});var n,t=r(d[0]),l=(n=t)&&n.__esModule?n:{default:n},o=r(d[1]),u=r(d[2]),s=r(d[3]);const c="undefined"==typeof window?u.useEffect:u.useLayoutEffect;function f(e,n,t){const l=null!=e?(0,s.jsx)("div",{slot:o.HEADER_SLOT_NAME,children:e}):null,u=null!=n&&null!=t?(0,s.jsx)("div",{slot:o.CONTEXT_MENU_SLOT_NAME,children:n(t.item,t.context)}):null;return null==l&&null==u?null:(0,s.jsxs)(s.Fragment,{children:[l,u]})}function p(e,n){return"undefined"==typeof window&&null!=n?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("template",{shadowrootmode:"open",dangerouslySetInnerHTML:{__html:n.shadowHtml}}),e]}):(0,s.jsx)(s.Fragment,{children:e})}function h(e){const n=e.shadowRoot;return n?.querySelector("[data-file-tree-id]")instanceof HTMLElement||n?.querySelector("[data-file-tree-id]")instanceof SVGElement||e.querySelector("template[shadowrootmode=\"open\"]")instanceof HTMLTemplateElement}function x(e,n,t,l,o){const u=Object.assign({},e??{});if(null!=n&&delete u.header,t){const n=e?.contextMenu,t=n?.onClose,s=n?.onOpen;u.contextMenu=Object.assign({},n??{},{enabled:!0,onClose:()=>{t?.(),l()},onOpen:(e,n)=>{o(e,n),s?.(e,n)}}),delete u.contextMenu.render}return null!=u.header||null!=u.contextMenu?u:void 0}function E(n){let{header:t,id:E,model:M,preloadedData:_,renderContextMenu:y}=n,C=(0,l.default)(n,e);const[j,T]=(0,u.useState)(null),[b,O]=(0,u.useState)(null),S=(0,u.useRef)(M.getComposition()),w=(0,u.useRef)(M);w.current!==M&&(w.current=M,S.current=M.getComposition());const H=null!=y,L=(0,u.useCallback)(()=>{T(null)},[]),v=(0,u.useCallback)((e,n)=>{T({context:n,item:e})},[]),F=S.current,A=(0,u.useMemo)(()=>x(F,t,H,L,v),[F,L,v,H,t]),N=(0,u.useCallback)(e=>{O(e)},[]);(0,u.useEffect)(()=>{H||T(null)},[H]),c(()=>{M.setComposition(A)},[A,M]),c(()=>{if(null!=b)return null!=_&&h(b)?M.hydrate({fileTreeContainer:b}):M.render({fileTreeContainer:b}),()=>{M.unmount(),M.setComposition(F)}},[F,b,M,_]);const R=p(f(t,y,j),_),D=E??_?.id,k=Object.assign({"--trees-item-height":`${String(M.getItemHeight())}px`,"--trees-density-override":M.getDensityFactor()},C.style);return(0,s.jsx)(o.FILE_TREE_TAG_NAME,Object.assign({},C,{id:D,ref:N,style:k,suppressHydrationWarning:null!=_,children:R}))}},1276,[25,1211,15,7]);
70
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"useFileTree",{enumerable:!0,get:function(){return n}});var t=r(d[0]),u=r(d[1]);function n(n){const[o]=(0,u.useState)(()=>new t.FileTree(n)),l=(0,u.useRef)({timeout:null,model:o});return(0,u.useEffect)(()=>{const{current:t}=l;return null!=t.timeout&&(clearTimeout(t.timeout),t.timeout=null),()=>{t.timeout=setTimeout(()=>t.model.cleanUp(),1)}},[]),{model:o}}},1277,[1240,15]);
71
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"areArraysEqual",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"useFileTreeSelector",{enumerable:!0,get:function(){return l}});var t=r(d[0]);function n(t,n){if(t===n)return!0;if(t.length!==n.length)return!1;for(let u=0;u<t.length;u+=1)if(!Object.is(t[u],n[u]))return!1;return!0}function u(t,n,u){return Object.is(t,n)||!0===u?.(t,n)}function l(n,l,c){const o=(0,t.useRef)({hasValue:!1,model:null,selector:null,value:void 0}),s=(0,t.useCallback)(t=>n.subscribe(t),[n]),f=(0,t.useCallback)(()=>{const t=o.current,s=l(n);if(t.model!==n||t.selector!==l||!t.hasValue)return t.hasValue=!0,t.model=n,t.selector=l,t.value=s,s;const f=t.value;return u(f,s,c)?f:(t.value=s,s)},[c,n,l]);return(0,t.useSyncExternalStore)(s,f,f)}},1278,[15]);
72
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"useFileTreeSelection",{enumerable:!0,get:function(){return n}});var t=r(d[0]);function n(n){return(0,t.useFileTreeSelector)(n,t=>t.getSelectedPaths(),t.areArraysEqual)}},1279,[1278]);
73
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"useFileTreeSearch",{enumerable:!0,get:function(){return n}});var t=r(d[0]),c=r(d[1]);function s(c,s){return c.isOpen===s.isOpen&&c.value===s.value&&(0,t.areArraysEqual)(c.matchingPaths,s.matchingPaths)}function n(n){const u=(0,t.useFileTreeSelector)(n,t=>({isOpen:t.isSearchOpen(),matchingPaths:t.getSearchMatchingPaths(),value:t.getSearchValue()}),s);return(0,c.useMemo)(()=>Object.assign({},u,{close:()=>{n.closeSearch()},focusNextMatch:()=>{n.focusNextSearchMatch()},focusPreviousMatch:()=>{n.focusPreviousSearchMatch()},open:t=>{n.openSearch(t)},setValue:t=>{n.setSearch(t)}}),[n,u])}},1280,[1278,15]);