@p4code/cli 0.3.9 → 0.3.11

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 (1190) hide show
  1. package/dist/bin.mjs +463 -49
  2. package/dist/client/assets/{DiffPanel-Cclcn37f.js → DiffPanel-BGO6aQhc.js} +2 -2
  3. package/dist/client/assets/{FilePreviewPanel-Bs1n9Dzp.js → FilePreviewPanel-BfIDlE3r.js} +4 -4
  4. package/dist/client/assets/P4Sans-Bold-BY-FyO9X.woff2 +0 -0
  5. package/dist/client/assets/P4Sans-Medium-CYfeZ6vM.woff2 +0 -0
  6. package/dist/client/assets/P4Sans-Regular-CaSdfMAR.woff2 +0 -0
  7. package/dist/client/assets/P4Sans-Semibold-CskF8nMs.woff2 +0 -0
  8. package/dist/client/assets/PreviewPanel-BRzuNjEM.js +2 -0
  9. package/dist/client/assets/{PullRequestCodeTab-Dt7vqWn6.js → PullRequestCodeTab-DRM7f4r-.js} +2 -2
  10. package/dist/client/assets/atkinson-hyperlegible-next-latin-400-normal-DPp7N0cD.woff +0 -0
  11. package/dist/client/assets/atkinson-hyperlegible-next-latin-400-normal-FfmJh7DR.woff2 +0 -0
  12. package/dist/client/assets/atkinson-hyperlegible-next-latin-500-normal-B0CYqHl3.woff +0 -0
  13. package/dist/client/assets/atkinson-hyperlegible-next-latin-500-normal-gHP6TDRs.woff2 +0 -0
  14. package/dist/client/assets/atkinson-hyperlegible-next-latin-600-normal-BBuhw47K.woff2 +0 -0
  15. package/dist/client/assets/atkinson-hyperlegible-next-latin-600-normal-BhgCag5w.woff +0 -0
  16. package/dist/client/assets/atkinson-hyperlegible-next-latin-700-normal-C2qZD_Q9.woff +0 -0
  17. package/dist/client/assets/atkinson-hyperlegible-next-latin-700-normal-Dpiyiu63.woff2 +0 -0
  18. package/dist/client/assets/atkinson-hyperlegible-next-latin-ext-400-normal-BalHKn7d.woff2 +0 -0
  19. package/dist/client/assets/atkinson-hyperlegible-next-latin-ext-400-normal-qxMiU51n.woff +0 -0
  20. package/dist/client/assets/atkinson-hyperlegible-next-latin-ext-500-normal-CUASR3PD.woff2 +0 -0
  21. package/dist/client/assets/atkinson-hyperlegible-next-latin-ext-500-normal-oZS3KxrF.woff +0 -0
  22. package/dist/client/assets/atkinson-hyperlegible-next-latin-ext-600-normal-BBAQIogt.woff +0 -0
  23. package/dist/client/assets/atkinson-hyperlegible-next-latin-ext-600-normal-kZZEtAc7.woff2 +0 -0
  24. package/dist/client/assets/atkinson-hyperlegible-next-latin-ext-700-normal-292QVhS1.woff +0 -0
  25. package/dist/client/assets/atkinson-hyperlegible-next-latin-ext-700-normal-CBw-mJf_.woff2 +0 -0
  26. package/dist/client/assets/dm-sans-latin-400-normal-BwCSEQnW.woff +0 -0
  27. package/dist/client/assets/dm-sans-latin-400-normal-CW0RaeGs.woff2 +0 -0
  28. package/dist/client/assets/dm-sans-latin-500-normal-B9HHJjqV.woff2 +0 -0
  29. package/dist/client/assets/dm-sans-latin-500-normal-Dr3UlScf.woff +0 -0
  30. package/dist/client/assets/dm-sans-latin-600-normal-Aqo67rzb.woff2 +0 -0
  31. package/dist/client/assets/dm-sans-latin-600-normal-BmdmIIQ2.woff +0 -0
  32. package/dist/client/assets/dm-sans-latin-700-normal-CUSSCpQX.woff +0 -0
  33. package/dist/client/assets/dm-sans-latin-700-normal-DvUfVpUG.woff2 +0 -0
  34. package/dist/client/assets/dm-sans-latin-ext-400-normal-BjWJ59Pq.woff +0 -0
  35. package/dist/client/assets/dm-sans-latin-ext-400-normal-BtiwyxMk.woff2 +0 -0
  36. package/dist/client/assets/dm-sans-latin-ext-500-normal-BJfUCQsA.woff2 +0 -0
  37. package/dist/client/assets/dm-sans-latin-ext-500-normal-DR84L5F-.woff +0 -0
  38. package/dist/client/assets/dm-sans-latin-ext-600-normal-4vooXBpG.woff2 +0 -0
  39. package/dist/client/assets/dm-sans-latin-ext-600-normal-DRtaDpgU.woff +0 -0
  40. package/dist/client/assets/dm-sans-latin-ext-700-normal-BLI3TTWz.woff +0 -0
  41. package/dist/client/assets/dm-sans-latin-ext-700-normal-CJIcxD6K.woff2 +0 -0
  42. package/dist/client/assets/{fileCommentAnnotations-BOtf5y-z.js → fileCommentAnnotations-Bm2-xw0A.js} +2 -2
  43. package/dist/client/assets/ibm-plex-sans-cyrillic-400-normal-BTotfTJu.woff +0 -0
  44. package/dist/client/assets/ibm-plex-sans-cyrillic-400-normal-DZqxrq2p.woff2 +0 -0
  45. package/dist/client/assets/ibm-plex-sans-cyrillic-500-normal-ByOcLdNv.woff +0 -0
  46. package/dist/client/assets/ibm-plex-sans-cyrillic-500-normal-CocWQlwt.woff2 +0 -0
  47. package/dist/client/assets/ibm-plex-sans-cyrillic-600-normal-71GNu3SW.woff2 +0 -0
  48. package/dist/client/assets/ibm-plex-sans-cyrillic-600-normal-BGq0mW3O.woff +0 -0
  49. package/dist/client/assets/ibm-plex-sans-cyrillic-700-normal-D_uavGvn.woff2 +0 -0
  50. package/dist/client/assets/ibm-plex-sans-cyrillic-700-normal-RFb1v-CK.woff +0 -0
  51. package/dist/client/assets/ibm-plex-sans-cyrillic-ext-400-normal-Dsrv2Tcn.woff +0 -0
  52. package/dist/client/assets/ibm-plex-sans-cyrillic-ext-400-normal-g30qAdWV.woff2 +0 -0
  53. package/dist/client/assets/ibm-plex-sans-cyrillic-ext-500-normal-Cs5J6C77.woff2 +0 -0
  54. package/dist/client/assets/ibm-plex-sans-cyrillic-ext-500-normal-DB5PtV2g.woff +0 -0
  55. package/dist/client/assets/ibm-plex-sans-cyrillic-ext-600-normal-Bz0x94Yp.woff +0 -0
  56. package/dist/client/assets/ibm-plex-sans-cyrillic-ext-600-normal-DUMzJB7m.woff2 +0 -0
  57. package/dist/client/assets/ibm-plex-sans-cyrillic-ext-700-normal-BmRLXWpJ.woff2 +0 -0
  58. package/dist/client/assets/ibm-plex-sans-cyrillic-ext-700-normal-DCQwxkRk.woff +0 -0
  59. package/dist/client/assets/ibm-plex-sans-greek-400-normal-D9ESIMu3.woff +0 -0
  60. package/dist/client/assets/ibm-plex-sans-greek-400-normal-_efipK4i.woff2 +0 -0
  61. package/dist/client/assets/ibm-plex-sans-greek-500-normal-CuWXN6rf.woff +0 -0
  62. package/dist/client/assets/ibm-plex-sans-greek-500-normal-JMMifIXV.woff2 +0 -0
  63. package/dist/client/assets/ibm-plex-sans-greek-600-normal-D-CqTdkO.woff +0 -0
  64. package/dist/client/assets/ibm-plex-sans-greek-600-normal-DzTrcv_p.woff2 +0 -0
  65. package/dist/client/assets/ibm-plex-sans-greek-700-normal-CkZN0sRy.woff +0 -0
  66. package/dist/client/assets/ibm-plex-sans-greek-700-normal-wyJ6jzdA.woff2 +0 -0
  67. package/dist/client/assets/ibm-plex-sans-latin-400-normal-CDDApCn2.woff2 +0 -0
  68. package/dist/client/assets/ibm-plex-sans-latin-400-normal-CYLoc0-x.woff +0 -0
  69. package/dist/client/assets/ibm-plex-sans-latin-500-normal-6ng42L7E.woff2 +0 -0
  70. package/dist/client/assets/ibm-plex-sans-latin-500-normal-BgVn5rGT.woff +0 -0
  71. package/dist/client/assets/ibm-plex-sans-latin-600-normal-Cu4Hd6ag.woff +0 -0
  72. package/dist/client/assets/ibm-plex-sans-latin-600-normal-CuJfVYMP.woff2 +0 -0
  73. package/dist/client/assets/ibm-plex-sans-latin-700-normal-Bth3BMcD.woff +0 -0
  74. package/dist/client/assets/ibm-plex-sans-latin-700-normal-Bxkt5Cjx.woff2 +0 -0
  75. package/dist/client/assets/ibm-plex-sans-latin-ext-400-normal-C5H60-Va.woff2 +0 -0
  76. package/dist/client/assets/ibm-plex-sans-latin-ext-400-normal-RBey6euL.woff +0 -0
  77. package/dist/client/assets/ibm-plex-sans-latin-ext-500-normal-D0aIdm-b.woff +0 -0
  78. package/dist/client/assets/ibm-plex-sans-latin-ext-500-normal-DakdToA3.woff2 +0 -0
  79. package/dist/client/assets/ibm-plex-sans-latin-ext-600-normal-DIrixKbi.woff +0 -0
  80. package/dist/client/assets/ibm-plex-sans-latin-ext-600-normal-DOrvGEcy.woff2 +0 -0
  81. package/dist/client/assets/ibm-plex-sans-latin-ext-700-normal-DZH6Xh-4.woff +0 -0
  82. package/dist/client/assets/ibm-plex-sans-latin-ext-700-normal-aMgXseD4.woff2 +0 -0
  83. package/dist/client/assets/ibm-plex-sans-vietnamese-400-normal-DG4YqDda.woff2 +0 -0
  84. package/dist/client/assets/ibm-plex-sans-vietnamese-400-normal-fK1oJ5dG.woff +0 -0
  85. package/dist/client/assets/ibm-plex-sans-vietnamese-500-normal-BEb3_waV.woff +0 -0
  86. package/dist/client/assets/ibm-plex-sans-vietnamese-500-normal-e4dixQRQ.woff2 +0 -0
  87. package/dist/client/assets/ibm-plex-sans-vietnamese-600-normal-DgdngZtN.woff +0 -0
  88. package/dist/client/assets/ibm-plex-sans-vietnamese-600-normal-DpPYBSTl.woff2 +0 -0
  89. package/dist/client/assets/ibm-plex-sans-vietnamese-700-normal-BV5B8Are.woff +0 -0
  90. package/dist/client/assets/ibm-plex-sans-vietnamese-700-normal-CkEo6LDy.woff2 +0 -0
  91. package/dist/client/assets/{index-DcVyKG-L.js → index-BMfIngdZ.js} +253 -235
  92. package/dist/client/assets/index-C7Nfsa1N.css +1 -0
  93. package/dist/client/assets/inter-cyrillic-400-normal-HOLc17fK.woff +0 -0
  94. package/dist/client/assets/inter-cyrillic-400-normal-obahsSVq.woff2 +0 -0
  95. package/dist/client/assets/inter-cyrillic-500-normal-BasfLYem.woff2 +0 -0
  96. package/dist/client/assets/inter-cyrillic-500-normal-CxZf_p3X.woff +0 -0
  97. package/dist/client/assets/inter-cyrillic-600-normal-4D_pXhcN.woff +0 -0
  98. package/dist/client/assets/inter-cyrillic-600-normal-CWCymEST.woff2 +0 -0
  99. package/dist/client/assets/inter-cyrillic-700-normal-CjBOestx.woff2 +0 -0
  100. package/dist/client/assets/inter-cyrillic-700-normal-DrXBdSj3.woff +0 -0
  101. package/dist/client/assets/inter-cyrillic-ext-400-normal-BQZuk6qB.woff2 +0 -0
  102. package/dist/client/assets/inter-cyrillic-ext-400-normal-DQukG94-.woff +0 -0
  103. package/dist/client/assets/inter-cyrillic-ext-500-normal-B0yAr1jD.woff2 +0 -0
  104. package/dist/client/assets/inter-cyrillic-ext-500-normal-BmqWE9Dz.woff +0 -0
  105. package/dist/client/assets/inter-cyrillic-ext-600-normal-Bcila6Z-.woff +0 -0
  106. package/dist/client/assets/inter-cyrillic-ext-600-normal-Dfes3d0z.woff2 +0 -0
  107. package/dist/client/assets/inter-cyrillic-ext-700-normal-BjwYoWNd.woff2 +0 -0
  108. package/dist/client/assets/inter-cyrillic-ext-700-normal-LO58E6JB.woff +0 -0
  109. package/dist/client/assets/inter-greek-400-normal-B4URO6DV.woff2 +0 -0
  110. package/dist/client/assets/inter-greek-400-normal-q2sYcFCs.woff +0 -0
  111. package/dist/client/assets/inter-greek-500-normal-BIZE56-Y.woff2 +0 -0
  112. package/dist/client/assets/inter-greek-500-normal-Xzm54t5V.woff +0 -0
  113. package/dist/client/assets/inter-greek-600-normal-BZpKdvQh.woff +0 -0
  114. package/dist/client/assets/inter-greek-600-normal-plRanbMR.woff2 +0 -0
  115. package/dist/client/assets/inter-greek-700-normal-BUv2fZ6O.woff +0 -0
  116. package/dist/client/assets/inter-greek-700-normal-C3JjAnD8.woff2 +0 -0
  117. package/dist/client/assets/inter-greek-ext-400-normal-DGGRlc-M.woff2 +0 -0
  118. package/dist/client/assets/inter-greek-ext-400-normal-KugGGMne.woff +0 -0
  119. package/dist/client/assets/inter-greek-ext-500-normal-2j5mBUwD.woff +0 -0
  120. package/dist/client/assets/inter-greek-ext-500-normal-C4iEst2y.woff2 +0 -0
  121. package/dist/client/assets/inter-greek-ext-600-normal-B8X0CLgF.woff +0 -0
  122. package/dist/client/assets/inter-greek-ext-600-normal-DRtmH8MT.woff2 +0 -0
  123. package/dist/client/assets/inter-greek-ext-700-normal-BoQ6DsYi.woff +0 -0
  124. package/dist/client/assets/inter-greek-ext-700-normal-qfdV9bQt.woff2 +0 -0
  125. package/dist/client/assets/inter-latin-400-normal-C38fXH4l.woff2 +0 -0
  126. package/dist/client/assets/inter-latin-400-normal-CyCys3Eg.woff +0 -0
  127. package/dist/client/assets/inter-latin-500-normal-BL9OpVg8.woff +0 -0
  128. package/dist/client/assets/inter-latin-500-normal-Cerq10X2.woff2 +0 -0
  129. package/dist/client/assets/inter-latin-600-normal-CiBQ2DWP.woff +0 -0
  130. package/dist/client/assets/inter-latin-600-normal-LgqL8muc.woff2 +0 -0
  131. package/dist/client/assets/inter-latin-700-normal-BLAVimhd.woff +0 -0
  132. package/dist/client/assets/inter-latin-700-normal-Yt3aPRUw.woff2 +0 -0
  133. package/dist/client/assets/inter-latin-ext-400-normal-77YHD8bZ.woff +0 -0
  134. package/dist/client/assets/inter-latin-ext-400-normal-C1nco2VV.woff2 +0 -0
  135. package/dist/client/assets/inter-latin-ext-500-normal-BxGbmqWO.woff +0 -0
  136. package/dist/client/assets/inter-latin-ext-500-normal-CV4jyFjo.woff2 +0 -0
  137. package/dist/client/assets/inter-latin-ext-600-normal-CIVaiw4L.woff +0 -0
  138. package/dist/client/assets/inter-latin-ext-600-normal-D2bJ5OIk.woff2 +0 -0
  139. package/dist/client/assets/inter-latin-ext-700-normal-Ca8adRJv.woff2 +0 -0
  140. package/dist/client/assets/inter-latin-ext-700-normal-TidjK2hL.woff +0 -0
  141. package/dist/client/assets/inter-vietnamese-400-normal-Bbgyi5SW.woff +0 -0
  142. package/dist/client/assets/inter-vietnamese-400-normal-DMkecbls.woff2 +0 -0
  143. package/dist/client/assets/inter-vietnamese-500-normal-DOriooB6.woff2 +0 -0
  144. package/dist/client/assets/inter-vietnamese-500-normal-mJboJaSs.woff +0 -0
  145. package/dist/client/assets/inter-vietnamese-600-normal-BuLX-rYi.woff +0 -0
  146. package/dist/client/assets/inter-vietnamese-600-normal-Cc8MFFhd.woff2 +0 -0
  147. package/dist/client/assets/inter-vietnamese-700-normal-BZaoP0fm.woff +0 -0
  148. package/dist/client/assets/inter-vietnamese-700-normal-DlLaEgI2.woff2 +0 -0
  149. package/dist/client/assets/noto-sans-arabic-arabic-400-normal-AAMxebZb.woff2 +0 -0
  150. package/dist/client/assets/noto-sans-arabic-arabic-400-normal-hsqIUL9Q.woff +0 -0
  151. package/dist/client/assets/noto-sans-arabic-arabic-500-normal-CoaTbVwZ.woff +0 -0
  152. package/dist/client/assets/noto-sans-arabic-arabic-500-normal-DPISWLls.woff2 +0 -0
  153. package/dist/client/assets/noto-sans-arabic-arabic-600-normal-JLzruTOp.woff +0 -0
  154. package/dist/client/assets/noto-sans-arabic-arabic-600-normal-JPxwL-XU.woff2 +0 -0
  155. package/dist/client/assets/noto-sans-arabic-arabic-700-normal-3CqrwsiZ.woff2 +0 -0
  156. package/dist/client/assets/noto-sans-arabic-arabic-700-normal-DXnsSW3z.woff +0 -0
  157. package/dist/client/assets/noto-sans-arabic-latin-400-normal-CjsIS08k.woff2 +0 -0
  158. package/dist/client/assets/noto-sans-arabic-latin-400-normal-lr8cikIT.woff +0 -0
  159. package/dist/client/assets/noto-sans-arabic-latin-500-normal-8boVNgww.woff2 +0 -0
  160. package/dist/client/assets/noto-sans-arabic-latin-500-normal-GCsE6TXV.woff +0 -0
  161. package/dist/client/assets/noto-sans-arabic-latin-600-normal-BUFr-ZM9.woff2 +0 -0
  162. package/dist/client/assets/noto-sans-arabic-latin-600-normal-D8ZQ8Cfs.woff +0 -0
  163. package/dist/client/assets/noto-sans-arabic-latin-700-normal-D41hNJFR.woff2 +0 -0
  164. package/dist/client/assets/noto-sans-arabic-latin-700-normal-DST6Nu2E.woff +0 -0
  165. package/dist/client/assets/noto-sans-arabic-latin-ext-400-normal-CW3XQ4Yj.woff2 +0 -0
  166. package/dist/client/assets/noto-sans-arabic-latin-ext-400-normal-D4Wl3hq7.woff +0 -0
  167. package/dist/client/assets/noto-sans-arabic-latin-ext-500-normal-BAH5x22p.woff +0 -0
  168. package/dist/client/assets/noto-sans-arabic-latin-ext-500-normal-CpD3jfIL.woff2 +0 -0
  169. package/dist/client/assets/noto-sans-arabic-latin-ext-600-normal-6_GPoF44.woff2 +0 -0
  170. package/dist/client/assets/noto-sans-arabic-latin-ext-600-normal-Be-B9uOG.woff +0 -0
  171. package/dist/client/assets/noto-sans-arabic-latin-ext-700-normal-DX5dIs2j.woff +0 -0
  172. package/dist/client/assets/noto-sans-arabic-latin-ext-700-normal-wF0ZdkCd.woff2 +0 -0
  173. package/dist/client/assets/noto-sans-arabic-math-400-normal-BiWGKoY7.woff +0 -0
  174. package/dist/client/assets/noto-sans-arabic-math-400-normal-BxrVu-ji.woff2 +0 -0
  175. package/dist/client/assets/noto-sans-arabic-math-500-normal-CPBZimiT.woff2 +0 -0
  176. package/dist/client/assets/noto-sans-arabic-math-500-normal-D2rXSvcI.woff +0 -0
  177. package/dist/client/assets/noto-sans-arabic-math-600-normal-BQnKH7M_.woff +0 -0
  178. package/dist/client/assets/noto-sans-arabic-math-600-normal-C2PaYQVA.woff2 +0 -0
  179. package/dist/client/assets/noto-sans-arabic-math-700-normal-C3IT52xG.woff +0 -0
  180. package/dist/client/assets/noto-sans-arabic-math-700-normal-DhwRdyuq.woff2 +0 -0
  181. package/dist/client/assets/noto-sans-arabic-symbols-400-normal-BJzmBRSy.woff +0 -0
  182. package/dist/client/assets/noto-sans-arabic-symbols-400-normal-BbP0vlM-.woff2 +0 -0
  183. package/dist/client/assets/noto-sans-arabic-symbols-500-normal-BxLqRJGm.woff +0 -0
  184. package/dist/client/assets/noto-sans-arabic-symbols-500-normal-DHLLsnZT.woff2 +0 -0
  185. package/dist/client/assets/noto-sans-arabic-symbols-600-normal-BLWpRi3R.woff2 +0 -0
  186. package/dist/client/assets/noto-sans-arabic-symbols-600-normal-Ch3HzCxt.woff +0 -0
  187. package/dist/client/assets/noto-sans-arabic-symbols-700-normal-Ct3Gyvbr.woff +0 -0
  188. package/dist/client/assets/noto-sans-arabic-symbols-700-normal-D40a2DlB.woff2 +0 -0
  189. package/dist/client/assets/noto-sans-cyrillic-400-normal-BDYvNhAR.woff +0 -0
  190. package/dist/client/assets/noto-sans-cyrillic-400-normal-CHP_ranX.woff2 +0 -0
  191. package/dist/client/assets/noto-sans-cyrillic-500-normal-9zZ_jNuA.woff2 +0 -0
  192. package/dist/client/assets/noto-sans-cyrillic-500-normal-BxM0HQjg.woff +0 -0
  193. package/dist/client/assets/noto-sans-cyrillic-600-normal-BRIw9PIU.woff +0 -0
  194. package/dist/client/assets/noto-sans-cyrillic-600-normal-KpAl9xZA.woff2 +0 -0
  195. package/dist/client/assets/noto-sans-cyrillic-700-normal-D8UNalU-.woff +0 -0
  196. package/dist/client/assets/noto-sans-cyrillic-700-normal-DYZmzPmX.woff2 +0 -0
  197. package/dist/client/assets/noto-sans-cyrillic-ext-400-normal-BjDhGU6t.woff2 +0 -0
  198. package/dist/client/assets/noto-sans-cyrillic-ext-400-normal-d9FrwbiD.woff +0 -0
  199. package/dist/client/assets/noto-sans-cyrillic-ext-500-normal-Bw4G4pNe.woff +0 -0
  200. package/dist/client/assets/noto-sans-cyrillic-ext-500-normal-CuwgPeWW.woff2 +0 -0
  201. package/dist/client/assets/noto-sans-cyrillic-ext-600-normal-Cwz1867h.woff +0 -0
  202. package/dist/client/assets/noto-sans-cyrillic-ext-600-normal-DlWr7wnj.woff2 +0 -0
  203. package/dist/client/assets/noto-sans-cyrillic-ext-700-normal-D83T7awq.woff +0 -0
  204. package/dist/client/assets/noto-sans-cyrillic-ext-700-normal-OK-fZO_i.woff2 +0 -0
  205. package/dist/client/assets/noto-sans-devanagari-400-normal-C3FccbrF.woff2 +0 -0
  206. package/dist/client/assets/noto-sans-devanagari-400-normal-g9fsM2jL.woff +0 -0
  207. package/dist/client/assets/noto-sans-devanagari-500-normal-B62tDw8r.woff +0 -0
  208. package/dist/client/assets/noto-sans-devanagari-500-normal-VG35fhMU.woff2 +0 -0
  209. package/dist/client/assets/noto-sans-devanagari-600-normal-Bly84zfI.woff +0 -0
  210. package/dist/client/assets/noto-sans-devanagari-600-normal-Ewgvvq1j.woff2 +0 -0
  211. package/dist/client/assets/noto-sans-devanagari-700-normal-CT12sGlc.woff +0 -0
  212. package/dist/client/assets/noto-sans-devanagari-700-normal-DVs0dmkg.woff2 +0 -0
  213. package/dist/client/assets/noto-sans-devanagari-devanagari-400-normal-BlDd6KY1.woff2 +0 -0
  214. package/dist/client/assets/noto-sans-devanagari-devanagari-400-normal-CdOJmQ4E.woff +0 -0
  215. package/dist/client/assets/noto-sans-devanagari-devanagari-500-normal-DO6LFp12.woff +0 -0
  216. package/dist/client/assets/noto-sans-devanagari-devanagari-500-normal-DVtwyDnM.woff2 +0 -0
  217. package/dist/client/assets/noto-sans-devanagari-devanagari-600-normal-B5tDaqnD.woff +0 -0
  218. package/dist/client/assets/noto-sans-devanagari-devanagari-600-normal-BeyktMLo.woff2 +0 -0
  219. package/dist/client/assets/noto-sans-devanagari-devanagari-700-normal-h2KXAbYG.woff +0 -0
  220. package/dist/client/assets/noto-sans-devanagari-devanagari-700-normal-v9jliTCB.woff2 +0 -0
  221. package/dist/client/assets/noto-sans-devanagari-latin-400-normal-Bl6wi1XD.woff +0 -0
  222. package/dist/client/assets/noto-sans-devanagari-latin-400-normal-BuiDGFlU.woff2 +0 -0
  223. package/dist/client/assets/noto-sans-devanagari-latin-500-normal-Ca8IYteK.woff +0 -0
  224. package/dist/client/assets/noto-sans-devanagari-latin-500-normal-DIQNxmWv.woff2 +0 -0
  225. package/dist/client/assets/noto-sans-devanagari-latin-600-normal-Bzmbz5CH.woff2 +0 -0
  226. package/dist/client/assets/noto-sans-devanagari-latin-600-normal-D_YUQxD_.woff +0 -0
  227. package/dist/client/assets/noto-sans-devanagari-latin-700-normal-B5n956PN.woff +0 -0
  228. package/dist/client/assets/noto-sans-devanagari-latin-700-normal-DcW8oEIt.woff2 +0 -0
  229. package/dist/client/assets/noto-sans-devanagari-latin-ext-400-normal-BnQrAETZ.woff2 +0 -0
  230. package/dist/client/assets/noto-sans-devanagari-latin-ext-400-normal-Bs32KOJx.woff +0 -0
  231. package/dist/client/assets/noto-sans-devanagari-latin-ext-500-normal-7GrnOHW4.woff +0 -0
  232. package/dist/client/assets/noto-sans-devanagari-latin-ext-500-normal-C0oyxq0s.woff2 +0 -0
  233. package/dist/client/assets/noto-sans-devanagari-latin-ext-600-normal-BYBXZV8b.woff +0 -0
  234. package/dist/client/assets/noto-sans-devanagari-latin-ext-600-normal-eCXJLagf.woff2 +0 -0
  235. package/dist/client/assets/noto-sans-devanagari-latin-ext-700-normal-BKjKJI-9.woff2 +0 -0
  236. package/dist/client/assets/noto-sans-devanagari-latin-ext-700-normal-DXhSwleO.woff +0 -0
  237. package/dist/client/assets/noto-sans-greek-400-normal-Be2BcUUc.woff +0 -0
  238. package/dist/client/assets/noto-sans-greek-400-normal-DCESwnT1.woff2 +0 -0
  239. package/dist/client/assets/noto-sans-greek-500-normal-BAAA_uK7.woff +0 -0
  240. package/dist/client/assets/noto-sans-greek-500-normal-D_0l3T9g.woff2 +0 -0
  241. package/dist/client/assets/noto-sans-greek-600-normal-C0bz_iEd.woff +0 -0
  242. package/dist/client/assets/noto-sans-greek-600-normal-CT9U7UAD.woff2 +0 -0
  243. package/dist/client/assets/noto-sans-greek-700-normal-DDNJsN3F.woff +0 -0
  244. package/dist/client/assets/noto-sans-greek-700-normal-x3kNWF-0.woff2 +0 -0
  245. package/dist/client/assets/noto-sans-greek-ext-400-normal-L11LEhi4.woff +0 -0
  246. package/dist/client/assets/noto-sans-greek-ext-400-normal-i2oSBwXz.woff2 +0 -0
  247. package/dist/client/assets/noto-sans-greek-ext-500-normal-CbZNESfr.woff +0 -0
  248. package/dist/client/assets/noto-sans-greek-ext-500-normal-D6bOGD5V.woff2 +0 -0
  249. package/dist/client/assets/noto-sans-greek-ext-600-normal-B4z4a2vi.woff2 +0 -0
  250. package/dist/client/assets/noto-sans-greek-ext-600-normal-BjvVOqxV.woff +0 -0
  251. package/dist/client/assets/noto-sans-greek-ext-700-normal-BOmIwFkq.woff +0 -0
  252. package/dist/client/assets/noto-sans-greek-ext-700-normal-Dq1WA5-1.woff2 +0 -0
  253. package/dist/client/assets/noto-sans-hebrew-hebrew-400-normal-BEvsRI_S.woff +0 -0
  254. package/dist/client/assets/noto-sans-hebrew-hebrew-400-normal-Bp0xVS9x.woff2 +0 -0
  255. package/dist/client/assets/noto-sans-hebrew-hebrew-500-normal-BPkshofI.woff +0 -0
  256. package/dist/client/assets/noto-sans-hebrew-hebrew-500-normal-FWawh3rc.woff2 +0 -0
  257. package/dist/client/assets/noto-sans-hebrew-hebrew-600-normal-BZTJana4.woff2 +0 -0
  258. package/dist/client/assets/noto-sans-hebrew-hebrew-600-normal-CiulUmaK.woff +0 -0
  259. package/dist/client/assets/noto-sans-hebrew-hebrew-700-normal-BVftoAx4.woff +0 -0
  260. package/dist/client/assets/noto-sans-hebrew-hebrew-700-normal-D9plwkIl.woff2 +0 -0
  261. package/dist/client/assets/noto-sans-hebrew-latin-400-normal-Cvb_8Q96.woff +0 -0
  262. package/dist/client/assets/noto-sans-hebrew-latin-400-normal-DkOjcY47.woff2 +0 -0
  263. package/dist/client/assets/noto-sans-hebrew-latin-500-normal-BcObnDaU.woff2 +0 -0
  264. package/dist/client/assets/noto-sans-hebrew-latin-500-normal-ChjndRw5.woff +0 -0
  265. package/dist/client/assets/noto-sans-hebrew-latin-600-normal-DBSa9mSH.woff2 +0 -0
  266. package/dist/client/assets/noto-sans-hebrew-latin-600-normal-DOfmYOL_.woff +0 -0
  267. package/dist/client/assets/noto-sans-hebrew-latin-700-normal-BLkFS47X.woff +0 -0
  268. package/dist/client/assets/noto-sans-hebrew-latin-700-normal-DuC6TMYq.woff2 +0 -0
  269. package/dist/client/assets/noto-sans-hebrew-latin-ext-400-normal-D-r4JGf5.woff2 +0 -0
  270. package/dist/client/assets/noto-sans-hebrew-latin-ext-400-normal-R_ivLM58.woff +0 -0
  271. package/dist/client/assets/noto-sans-hebrew-latin-ext-500-normal-DCxCP7El.woff +0 -0
  272. package/dist/client/assets/noto-sans-hebrew-latin-ext-500-normal-hynEW3wp.woff2 +0 -0
  273. package/dist/client/assets/noto-sans-hebrew-latin-ext-600-normal-DsQRWWZn.woff2 +0 -0
  274. package/dist/client/assets/noto-sans-hebrew-latin-ext-600-normal-b7siF5h4.woff +0 -0
  275. package/dist/client/assets/noto-sans-hebrew-latin-ext-700-normal-2aPITt8z.woff2 +0 -0
  276. package/dist/client/assets/noto-sans-hebrew-latin-ext-700-normal-D2b18moL.woff +0 -0
  277. package/dist/client/assets/noto-sans-latin-400-normal-BTkUljjl.woff2 +0 -0
  278. package/dist/client/assets/noto-sans-latin-400-normal-DPpKfCgK.woff +0 -0
  279. package/dist/client/assets/noto-sans-latin-500-normal-CDPngY5C.woff +0 -0
  280. package/dist/client/assets/noto-sans-latin-500-normal-DCA2Z9Cj.woff2 +0 -0
  281. package/dist/client/assets/noto-sans-latin-600-normal-DVJMj_t0.woff +0 -0
  282. package/dist/client/assets/noto-sans-latin-600-normal-Dkgu5AE5.woff2 +0 -0
  283. package/dist/client/assets/noto-sans-latin-700-normal-CrvTEWhy.woff2 +0 -0
  284. package/dist/client/assets/noto-sans-latin-700-normal-ZyrKABVF.woff +0 -0
  285. package/dist/client/assets/noto-sans-latin-ext-400-normal-CNh9dRW_.woff +0 -0
  286. package/dist/client/assets/noto-sans-latin-ext-400-normal-CVf-LbaS.woff2 +0 -0
  287. package/dist/client/assets/noto-sans-latin-ext-500-normal-Bn9_h39k.woff +0 -0
  288. package/dist/client/assets/noto-sans-latin-ext-500-normal-D88cFz81.woff2 +0 -0
  289. package/dist/client/assets/noto-sans-latin-ext-600-normal-B3lLaxXr.woff +0 -0
  290. package/dist/client/assets/noto-sans-latin-ext-600-normal-Has_8ph9.woff2 +0 -0
  291. package/dist/client/assets/noto-sans-latin-ext-700-normal-BypTtJma.woff2 +0 -0
  292. package/dist/client/assets/noto-sans-latin-ext-700-normal-CgsG9aVh.woff +0 -0
  293. package/dist/client/assets/noto-sans-sc-100-400-normal-BO-rXsv0.woff +0 -0
  294. package/dist/client/assets/noto-sans-sc-100-400-normal-CX-7pUk_.woff2 +0 -0
  295. package/dist/client/assets/noto-sans-sc-100-500-normal-LjZqvEsR.woff2 +0 -0
  296. package/dist/client/assets/noto-sans-sc-100-500-normal-f8ZrmPAC.woff +0 -0
  297. package/dist/client/assets/noto-sans-sc-100-600-normal-D-989Ru7.woff +0 -0
  298. package/dist/client/assets/noto-sans-sc-100-600-normal-O4yONnba.woff2 +0 -0
  299. package/dist/client/assets/noto-sans-sc-100-700-normal-XED7J4tu.woff +0 -0
  300. package/dist/client/assets/noto-sans-sc-100-700-normal-skvlEtXa.woff2 +0 -0
  301. package/dist/client/assets/noto-sans-sc-101-400-normal-Bi19zLN0.woff +0 -0
  302. package/dist/client/assets/noto-sans-sc-101-400-normal-DYFU5ahq.woff2 +0 -0
  303. package/dist/client/assets/noto-sans-sc-101-500-normal-BN9oHDbj.woff +0 -0
  304. package/dist/client/assets/noto-sans-sc-101-500-normal-CjWROJGG.woff2 +0 -0
  305. package/dist/client/assets/noto-sans-sc-101-600-normal-BdVL7cqL.woff2 +0 -0
  306. package/dist/client/assets/noto-sans-sc-101-600-normal-CTvqUwGz.woff +0 -0
  307. package/dist/client/assets/noto-sans-sc-101-700-normal-Cg9Nc7a8.woff +0 -0
  308. package/dist/client/assets/noto-sans-sc-101-700-normal-dFJVjo-b.woff2 +0 -0
  309. package/dist/client/assets/noto-sans-sc-102-400-normal-D9Vb3-ZK.woff +0 -0
  310. package/dist/client/assets/noto-sans-sc-102-400-normal-lPQNp5DG.woff2 +0 -0
  311. package/dist/client/assets/noto-sans-sc-102-500-normal-BuRimFGI.woff2 +0 -0
  312. package/dist/client/assets/noto-sans-sc-102-500-normal-C0Y0g66e.woff +0 -0
  313. package/dist/client/assets/noto-sans-sc-102-600-normal-BLEfN8DQ.woff +0 -0
  314. package/dist/client/assets/noto-sans-sc-102-600-normal-N5fiPmcc.woff2 +0 -0
  315. package/dist/client/assets/noto-sans-sc-102-700-normal-0PDKSpcg.woff +0 -0
  316. package/dist/client/assets/noto-sans-sc-102-700-normal-DCdJNbqs.woff2 +0 -0
  317. package/dist/client/assets/noto-sans-sc-103-400-normal-142t-yFg.woff +0 -0
  318. package/dist/client/assets/noto-sans-sc-103-400-normal-DrxRoDmn.woff2 +0 -0
  319. package/dist/client/assets/noto-sans-sc-103-500-normal-B3LncNxH.woff +0 -0
  320. package/dist/client/assets/noto-sans-sc-103-500-normal-BvWkBJSJ.woff2 +0 -0
  321. package/dist/client/assets/noto-sans-sc-103-600-normal-Dgr9cfWw.woff2 +0 -0
  322. package/dist/client/assets/noto-sans-sc-103-600-normal-oLZfpTxA.woff +0 -0
  323. package/dist/client/assets/noto-sans-sc-103-700-normal-DsStKEUx.woff +0 -0
  324. package/dist/client/assets/noto-sans-sc-103-700-normal-NwkDGJ-F.woff2 +0 -0
  325. package/dist/client/assets/noto-sans-sc-104-400-normal-DbzfdvQ5.woff2 +0 -0
  326. package/dist/client/assets/noto-sans-sc-104-400-normal-Dlu6I-os.woff +0 -0
  327. package/dist/client/assets/noto-sans-sc-104-500-normal-Bdbt_XZi.woff +0 -0
  328. package/dist/client/assets/noto-sans-sc-104-500-normal-jDvxI4uY.woff2 +0 -0
  329. package/dist/client/assets/noto-sans-sc-104-600-normal-CUj_HtCp.woff2 +0 -0
  330. package/dist/client/assets/noto-sans-sc-104-600-normal-DSQ0fy8p.woff +0 -0
  331. package/dist/client/assets/noto-sans-sc-104-700-normal-AWqZgZB9.woff2 +0 -0
  332. package/dist/client/assets/noto-sans-sc-104-700-normal-CHtYBfvV.woff +0 -0
  333. package/dist/client/assets/noto-sans-sc-105-400-normal-BiKizsW3.woff2 +0 -0
  334. package/dist/client/assets/noto-sans-sc-105-400-normal-DAvx8soP.woff +0 -0
  335. package/dist/client/assets/noto-sans-sc-105-500-normal-BeiidV7n.woff +0 -0
  336. package/dist/client/assets/noto-sans-sc-105-500-normal-DXW7JQ-g.woff2 +0 -0
  337. package/dist/client/assets/noto-sans-sc-105-600-normal-CSNWrhCk.woff2 +0 -0
  338. package/dist/client/assets/noto-sans-sc-105-600-normal-CpN93d9J.woff +0 -0
  339. package/dist/client/assets/noto-sans-sc-105-700-normal-BHoJkdcH.woff +0 -0
  340. package/dist/client/assets/noto-sans-sc-105-700-normal-Dt9qhYJX.woff2 +0 -0
  341. package/dist/client/assets/noto-sans-sc-106-400-normal-CLmIr7NC.woff +0 -0
  342. package/dist/client/assets/noto-sans-sc-106-400-normal-DDMMORp2.woff2 +0 -0
  343. package/dist/client/assets/noto-sans-sc-106-500-normal-9h6-MSep.woff2 +0 -0
  344. package/dist/client/assets/noto-sans-sc-106-500-normal-uFHAs7NG.woff +0 -0
  345. package/dist/client/assets/noto-sans-sc-106-600-normal-BB1XXQOY.woff2 +0 -0
  346. package/dist/client/assets/noto-sans-sc-106-600-normal-GdAY_oj9.woff +0 -0
  347. package/dist/client/assets/noto-sans-sc-106-700-normal-B8W_9tdk.woff2 +0 -0
  348. package/dist/client/assets/noto-sans-sc-106-700-normal-CJ9mgS1g.woff +0 -0
  349. package/dist/client/assets/noto-sans-sc-107-400-normal-7y5Di-0o.woff +0 -0
  350. package/dist/client/assets/noto-sans-sc-107-400-normal-DUS2YNa3.woff2 +0 -0
  351. package/dist/client/assets/noto-sans-sc-107-500-normal-B-G69eS6.woff +0 -0
  352. package/dist/client/assets/noto-sans-sc-107-500-normal-SPtoRxRh.woff2 +0 -0
  353. package/dist/client/assets/noto-sans-sc-107-600-normal-BiIyjO56.woff +0 -0
  354. package/dist/client/assets/noto-sans-sc-107-600-normal-BoqR8N9H.woff2 +0 -0
  355. package/dist/client/assets/noto-sans-sc-107-700-normal-CyOtrcxZ.woff2 +0 -0
  356. package/dist/client/assets/noto-sans-sc-107-700-normal-yesJ8y6A.woff +0 -0
  357. package/dist/client/assets/noto-sans-sc-108-400-normal-BjvHph8P.woff +0 -0
  358. package/dist/client/assets/noto-sans-sc-108-400-normal-D80tGT87.woff2 +0 -0
  359. package/dist/client/assets/noto-sans-sc-108-500-normal-BrSvs91A.woff +0 -0
  360. package/dist/client/assets/noto-sans-sc-108-500-normal-clZ-BISV.woff2 +0 -0
  361. package/dist/client/assets/noto-sans-sc-108-600-normal-BVdTPKhg.woff2 +0 -0
  362. package/dist/client/assets/noto-sans-sc-108-600-normal-CMkyj311.woff +0 -0
  363. package/dist/client/assets/noto-sans-sc-108-700-normal-Bklb7tQG.woff +0 -0
  364. package/dist/client/assets/noto-sans-sc-108-700-normal-O3gF6YEN.woff2 +0 -0
  365. package/dist/client/assets/noto-sans-sc-109-400-normal-D-QmuIiA.woff +0 -0
  366. package/dist/client/assets/noto-sans-sc-109-400-normal-ZEHPyOzB.woff2 +0 -0
  367. package/dist/client/assets/noto-sans-sc-109-500-normal-CMa8AMM8.woff2 +0 -0
  368. package/dist/client/assets/noto-sans-sc-109-500-normal-iEZXLREo.woff +0 -0
  369. package/dist/client/assets/noto-sans-sc-109-600-normal-ByuX8nYO.woff2 +0 -0
  370. package/dist/client/assets/noto-sans-sc-109-600-normal-CeANmCSU.woff +0 -0
  371. package/dist/client/assets/noto-sans-sc-109-700-normal-DABLmkdb.woff +0 -0
  372. package/dist/client/assets/noto-sans-sc-109-700-normal-DVabExlB.woff2 +0 -0
  373. package/dist/client/assets/noto-sans-sc-110-400-normal-BdM_D5Jz.woff +0 -0
  374. package/dist/client/assets/noto-sans-sc-110-400-normal-D1IYcvpb.woff2 +0 -0
  375. package/dist/client/assets/noto-sans-sc-110-500-normal-DPpO1Jgy.woff +0 -0
  376. package/dist/client/assets/noto-sans-sc-110-500-normal-jlYZJC5i.woff2 +0 -0
  377. package/dist/client/assets/noto-sans-sc-110-600-normal-BOBszRCT.woff2 +0 -0
  378. package/dist/client/assets/noto-sans-sc-110-600-normal-HVXx4_N8.woff +0 -0
  379. package/dist/client/assets/noto-sans-sc-110-700-normal-CDDEOvGI.woff2 +0 -0
  380. package/dist/client/assets/noto-sans-sc-110-700-normal-NAPhI7pU.woff +0 -0
  381. package/dist/client/assets/noto-sans-sc-111-400-normal-C5Xi9UGz.woff2 +0 -0
  382. package/dist/client/assets/noto-sans-sc-111-400-normal-D5coW_21.woff +0 -0
  383. package/dist/client/assets/noto-sans-sc-111-500-normal-BSdshYmW.woff2 +0 -0
  384. package/dist/client/assets/noto-sans-sc-111-500-normal-DEljdFMy.woff +0 -0
  385. package/dist/client/assets/noto-sans-sc-111-600-normal-4vIPn_Pp.woff2 +0 -0
  386. package/dist/client/assets/noto-sans-sc-111-600-normal-DQHIzkYP.woff +0 -0
  387. package/dist/client/assets/noto-sans-sc-111-700-normal-CCRAUGWF.woff2 +0 -0
  388. package/dist/client/assets/noto-sans-sc-111-700-normal-CpYg6zLF.woff +0 -0
  389. package/dist/client/assets/noto-sans-sc-112-400-normal-D7zgcIsz.woff +0 -0
  390. package/dist/client/assets/noto-sans-sc-112-400-normal-F9zvXQVU.woff2 +0 -0
  391. package/dist/client/assets/noto-sans-sc-112-500-normal-Bg-nnWM-.woff +0 -0
  392. package/dist/client/assets/noto-sans-sc-112-500-normal-p2Brug1G.woff2 +0 -0
  393. package/dist/client/assets/noto-sans-sc-112-600-normal-C-K1VlX5.woff2 +0 -0
  394. package/dist/client/assets/noto-sans-sc-112-600-normal-C4D74h47.woff +0 -0
  395. package/dist/client/assets/noto-sans-sc-112-700-normal-MSnZyhNJ.woff2 +0 -0
  396. package/dist/client/assets/noto-sans-sc-112-700-normal-PlVFm4-u.woff +0 -0
  397. package/dist/client/assets/noto-sans-sc-113-400-normal-DSmELDL6.woff +0 -0
  398. package/dist/client/assets/noto-sans-sc-113-400-normal-DZoqVzDv.woff2 +0 -0
  399. package/dist/client/assets/noto-sans-sc-113-500-normal-C8tnUFPA.woff2 +0 -0
  400. package/dist/client/assets/noto-sans-sc-113-500-normal-yfrymLZ5.woff +0 -0
  401. package/dist/client/assets/noto-sans-sc-113-600-normal-BqI4Uckm.woff +0 -0
  402. package/dist/client/assets/noto-sans-sc-113-600-normal-e4aGDSvi.woff2 +0 -0
  403. package/dist/client/assets/noto-sans-sc-113-700-normal-BHwWR4LC.woff +0 -0
  404. package/dist/client/assets/noto-sans-sc-113-700-normal-O1EkYODd.woff2 +0 -0
  405. package/dist/client/assets/noto-sans-sc-114-400-normal-CGiue1yH.woff +0 -0
  406. package/dist/client/assets/noto-sans-sc-114-400-normal-CZUMxNv_.woff2 +0 -0
  407. package/dist/client/assets/noto-sans-sc-114-500-normal-DybW6syP.woff +0 -0
  408. package/dist/client/assets/noto-sans-sc-114-500-normal-Dz3EZ57H.woff2 +0 -0
  409. package/dist/client/assets/noto-sans-sc-114-600-normal-C0vO_Qps.woff +0 -0
  410. package/dist/client/assets/noto-sans-sc-114-600-normal-DJcvbmLg.woff2 +0 -0
  411. package/dist/client/assets/noto-sans-sc-114-700-normal-BNwx66R8.woff +0 -0
  412. package/dist/client/assets/noto-sans-sc-114-700-normal-CjhZr28b.woff2 +0 -0
  413. package/dist/client/assets/noto-sans-sc-115-400-normal-BQfWDt6M.woff2 +0 -0
  414. package/dist/client/assets/noto-sans-sc-115-400-normal-mjVAPzyl.woff +0 -0
  415. package/dist/client/assets/noto-sans-sc-115-500-normal-BO06SmMa.woff2 +0 -0
  416. package/dist/client/assets/noto-sans-sc-115-500-normal-CrCXxLIm.woff +0 -0
  417. package/dist/client/assets/noto-sans-sc-115-600-normal-AGbcQmm1.woff2 +0 -0
  418. package/dist/client/assets/noto-sans-sc-115-600-normal-Uydmp26p.woff +0 -0
  419. package/dist/client/assets/noto-sans-sc-115-700-normal-DK7W-7Ob.woff +0 -0
  420. package/dist/client/assets/noto-sans-sc-115-700-normal-_I8wVcfS.woff2 +0 -0
  421. package/dist/client/assets/noto-sans-sc-116-400-normal-B9rv4EzF.woff2 +0 -0
  422. package/dist/client/assets/noto-sans-sc-116-400-normal-DDOlrOnk.woff +0 -0
  423. package/dist/client/assets/noto-sans-sc-116-500-normal-0vvUNs3z.woff +0 -0
  424. package/dist/client/assets/noto-sans-sc-116-500-normal-Cn7hj0Qe.woff2 +0 -0
  425. package/dist/client/assets/noto-sans-sc-116-600-normal-Bho1gHEE.woff +0 -0
  426. package/dist/client/assets/noto-sans-sc-116-600-normal-j1eco9la.woff2 +0 -0
  427. package/dist/client/assets/noto-sans-sc-116-700-normal-C8Y6fFkh.woff2 +0 -0
  428. package/dist/client/assets/noto-sans-sc-116-700-normal-DbEs5pOo.woff +0 -0
  429. package/dist/client/assets/noto-sans-sc-117-400-normal-DsfbLHms.woff +0 -0
  430. package/dist/client/assets/noto-sans-sc-117-400-normal-QPrBdlQO.woff2 +0 -0
  431. package/dist/client/assets/noto-sans-sc-117-500-normal-ma0iM6M2.woff2 +0 -0
  432. package/dist/client/assets/noto-sans-sc-117-500-normal-nF8AQpzo.woff +0 -0
  433. package/dist/client/assets/noto-sans-sc-117-600-normal-B_0llC_g.woff2 +0 -0
  434. package/dist/client/assets/noto-sans-sc-117-600-normal-Eab7Xunf.woff +0 -0
  435. package/dist/client/assets/noto-sans-sc-117-700-normal-DWwn4QCt.woff +0 -0
  436. package/dist/client/assets/noto-sans-sc-117-700-normal-Lia4tG1S.woff2 +0 -0
  437. package/dist/client/assets/noto-sans-sc-118-400-normal-CgZ3QXkC.woff +0 -0
  438. package/dist/client/assets/noto-sans-sc-118-400-normal-CqQ_A8sl.woff2 +0 -0
  439. package/dist/client/assets/noto-sans-sc-118-500-normal-BkdpJ3OC.woff2 +0 -0
  440. package/dist/client/assets/noto-sans-sc-118-500-normal-zwuv8TSb.woff +0 -0
  441. package/dist/client/assets/noto-sans-sc-118-600-normal-CiUoZFB0.woff +0 -0
  442. package/dist/client/assets/noto-sans-sc-118-600-normal-CrdY8srg.woff2 +0 -0
  443. package/dist/client/assets/noto-sans-sc-118-700-normal-BitkqWcz.woff2 +0 -0
  444. package/dist/client/assets/noto-sans-sc-118-700-normal-CwHqE5Ld.woff +0 -0
  445. package/dist/client/assets/noto-sans-sc-119-400-normal-C7mqcMDM.woff +0 -0
  446. package/dist/client/assets/noto-sans-sc-119-400-normal-flOVnW3A.woff2 +0 -0
  447. package/dist/client/assets/noto-sans-sc-119-500-normal-BMc7xZUY.woff +0 -0
  448. package/dist/client/assets/noto-sans-sc-119-500-normal-Bg7BvryU.woff2 +0 -0
  449. package/dist/client/assets/noto-sans-sc-119-600-normal-CjqexEh-.woff +0 -0
  450. package/dist/client/assets/noto-sans-sc-119-600-normal-r16dHS10.woff2 +0 -0
  451. package/dist/client/assets/noto-sans-sc-119-700-normal-B05r3al5.woff2 +0 -0
  452. package/dist/client/assets/noto-sans-sc-119-700-normal-D9Vxo0Wr.woff +0 -0
  453. package/dist/client/assets/noto-sans-sc-21-400-normal-Bfz3Xm1a.woff2 +0 -0
  454. package/dist/client/assets/noto-sans-sc-21-400-normal-BnEV7ZGG.woff +0 -0
  455. package/dist/client/assets/noto-sans-sc-21-500-normal-BVNMDEWP.woff +0 -0
  456. package/dist/client/assets/noto-sans-sc-21-500-normal-Dsw-xocd.woff2 +0 -0
  457. package/dist/client/assets/noto-sans-sc-21-600-normal-CZt2bBWO.woff2 +0 -0
  458. package/dist/client/assets/noto-sans-sc-21-600-normal-D4h02RWN.woff +0 -0
  459. package/dist/client/assets/noto-sans-sc-21-700-normal-DNuQH_x9.woff2 +0 -0
  460. package/dist/client/assets/noto-sans-sc-21-700-normal-F6rDGjvL.woff +0 -0
  461. package/dist/client/assets/noto-sans-sc-22-400-normal-B_m_Ehi5.woff +0 -0
  462. package/dist/client/assets/noto-sans-sc-22-400-normal-yOvQSDF6.woff2 +0 -0
  463. package/dist/client/assets/noto-sans-sc-22-500-normal-BRuBCg0-.woff +0 -0
  464. package/dist/client/assets/noto-sans-sc-22-500-normal-Duo_NxTl.woff2 +0 -0
  465. package/dist/client/assets/noto-sans-sc-22-600-normal-BcKYT3Gi.woff2 +0 -0
  466. package/dist/client/assets/noto-sans-sc-22-600-normal-BzUP5tYU.woff +0 -0
  467. package/dist/client/assets/noto-sans-sc-22-700-normal-Byr9h8C5.woff2 +0 -0
  468. package/dist/client/assets/noto-sans-sc-22-700-normal-gw-QDe_U.woff +0 -0
  469. package/dist/client/assets/noto-sans-sc-23-400-normal-CX4MRI2p.woff +0 -0
  470. package/dist/client/assets/noto-sans-sc-23-400-normal-D0XQUkMM.woff2 +0 -0
  471. package/dist/client/assets/noto-sans-sc-23-500-normal-BvADtLGk.woff2 +0 -0
  472. package/dist/client/assets/noto-sans-sc-23-500-normal-noU9KHBY.woff +0 -0
  473. package/dist/client/assets/noto-sans-sc-23-600-normal-CuQiLWXb.woff2 +0 -0
  474. package/dist/client/assets/noto-sans-sc-23-600-normal-DpK4Wjx3.woff +0 -0
  475. package/dist/client/assets/noto-sans-sc-23-700-normal-Ct9vQFVU.woff +0 -0
  476. package/dist/client/assets/noto-sans-sc-23-700-normal-Dk_rc58K.woff2 +0 -0
  477. package/dist/client/assets/noto-sans-sc-24-400-normal-ClGanIYI.woff +0 -0
  478. package/dist/client/assets/noto-sans-sc-24-400-normal-mI4tDgE1.woff2 +0 -0
  479. package/dist/client/assets/noto-sans-sc-24-500-normal-DMJ84PR8.woff2 +0 -0
  480. package/dist/client/assets/noto-sans-sc-24-500-normal-Db8iJVVk.woff +0 -0
  481. package/dist/client/assets/noto-sans-sc-24-600-normal-B2rYgW7n.woff +0 -0
  482. package/dist/client/assets/noto-sans-sc-24-600-normal-CpcuAbjO.woff2 +0 -0
  483. package/dist/client/assets/noto-sans-sc-24-700-normal-BGBBEWUn.woff2 +0 -0
  484. package/dist/client/assets/noto-sans-sc-24-700-normal-SbMvRlFs.woff +0 -0
  485. package/dist/client/assets/noto-sans-sc-25-400-normal-C6yCXu6a.woff +0 -0
  486. package/dist/client/assets/noto-sans-sc-25-400-normal-CD3JKveN.woff2 +0 -0
  487. package/dist/client/assets/noto-sans-sc-25-500-normal-D6pTcZTB.woff +0 -0
  488. package/dist/client/assets/noto-sans-sc-25-500-normal-DKB1lxHE.woff2 +0 -0
  489. package/dist/client/assets/noto-sans-sc-25-600-normal-39c92chn.woff2 +0 -0
  490. package/dist/client/assets/noto-sans-sc-25-600-normal-Bys8Ptb9.woff +0 -0
  491. package/dist/client/assets/noto-sans-sc-25-700-normal-CxodwKtU.woff2 +0 -0
  492. package/dist/client/assets/noto-sans-sc-25-700-normal-D7v2dGox.woff +0 -0
  493. package/dist/client/assets/noto-sans-sc-26-400-normal-B306_DcA.woff2 +0 -0
  494. package/dist/client/assets/noto-sans-sc-26-400-normal-Dxnlkp_o.woff +0 -0
  495. package/dist/client/assets/noto-sans-sc-26-500-normal-Bc3Q36GO.woff2 +0 -0
  496. package/dist/client/assets/noto-sans-sc-26-500-normal-Bi1v18Vm.woff +0 -0
  497. package/dist/client/assets/noto-sans-sc-26-600-normal-B3pIfPiJ.woff +0 -0
  498. package/dist/client/assets/noto-sans-sc-26-600-normal-CLOubRtQ.woff2 +0 -0
  499. package/dist/client/assets/noto-sans-sc-26-700-normal-8Q5a-yXf.woff2 +0 -0
  500. package/dist/client/assets/noto-sans-sc-26-700-normal-CayP30uh.woff +0 -0
  501. package/dist/client/assets/noto-sans-sc-27-400-normal-DU5YC6S1.woff +0 -0
  502. package/dist/client/assets/noto-sans-sc-27-400-normal-LzZF_NqI.woff2 +0 -0
  503. package/dist/client/assets/noto-sans-sc-27-500-normal-8q_kP--H.woff2 +0 -0
  504. package/dist/client/assets/noto-sans-sc-27-500-normal-CnvSqH4h.woff +0 -0
  505. package/dist/client/assets/noto-sans-sc-27-600-normal-B3BXsCTh.woff2 +0 -0
  506. package/dist/client/assets/noto-sans-sc-27-600-normal-Qbduhdcc.woff +0 -0
  507. package/dist/client/assets/noto-sans-sc-27-700-normal-BgbFkYQY.woff2 +0 -0
  508. package/dist/client/assets/noto-sans-sc-27-700-normal-DtRk-Bs1.woff +0 -0
  509. package/dist/client/assets/noto-sans-sc-28-400-normal-4HLOSY5F.woff +0 -0
  510. package/dist/client/assets/noto-sans-sc-28-400-normal-CEc-bbYn.woff2 +0 -0
  511. package/dist/client/assets/noto-sans-sc-28-500-normal-BwB7WMjU.woff +0 -0
  512. package/dist/client/assets/noto-sans-sc-28-500-normal-CivsKE7T.woff2 +0 -0
  513. package/dist/client/assets/noto-sans-sc-28-600-normal-BoxWhONk.woff2 +0 -0
  514. package/dist/client/assets/noto-sans-sc-28-600-normal-D0pV6iH6.woff +0 -0
  515. package/dist/client/assets/noto-sans-sc-28-700-normal-Bm5yHfC1.woff +0 -0
  516. package/dist/client/assets/noto-sans-sc-28-700-normal-CuobRVBH.woff2 +0 -0
  517. package/dist/client/assets/noto-sans-sc-29-400-normal-CTMIENlc.woff2 +0 -0
  518. package/dist/client/assets/noto-sans-sc-29-400-normal-DmkA50P6.woff +0 -0
  519. package/dist/client/assets/noto-sans-sc-29-500-normal-BERGRSJk.woff +0 -0
  520. package/dist/client/assets/noto-sans-sc-29-500-normal-BTXg8v_Z.woff2 +0 -0
  521. package/dist/client/assets/noto-sans-sc-29-600-normal-CJz1QRhZ.woff2 +0 -0
  522. package/dist/client/assets/noto-sans-sc-29-600-normal-Da05Bg3n.woff +0 -0
  523. package/dist/client/assets/noto-sans-sc-29-700-normal-B-jj8XKB.woff +0 -0
  524. package/dist/client/assets/noto-sans-sc-29-700-normal-D-3W49Od.woff2 +0 -0
  525. package/dist/client/assets/noto-sans-sc-30-400-normal-D4bISz8a.woff +0 -0
  526. package/dist/client/assets/noto-sans-sc-30-400-normal-Dzb6Zn8O.woff2 +0 -0
  527. package/dist/client/assets/noto-sans-sc-30-500-normal-1_KfjTfy.woff +0 -0
  528. package/dist/client/assets/noto-sans-sc-30-500-normal-BvVSvPAW.woff2 +0 -0
  529. package/dist/client/assets/noto-sans-sc-30-600-normal-DEFGrlTl.woff2 +0 -0
  530. package/dist/client/assets/noto-sans-sc-30-600-normal-yhyhPvPN.woff +0 -0
  531. package/dist/client/assets/noto-sans-sc-30-700-normal-DEY46ts6.woff +0 -0
  532. package/dist/client/assets/noto-sans-sc-30-700-normal-jFw539n2.woff2 +0 -0
  533. package/dist/client/assets/noto-sans-sc-31-400-normal-Cngcbauu.woff2 +0 -0
  534. package/dist/client/assets/noto-sans-sc-31-400-normal-CpMy1pFR.woff +0 -0
  535. package/dist/client/assets/noto-sans-sc-31-500-normal-CXR93Yl5.woff2 +0 -0
  536. package/dist/client/assets/noto-sans-sc-31-500-normal-EU7y0Jl-.woff +0 -0
  537. package/dist/client/assets/noto-sans-sc-31-600-normal-uHmiktbl.woff2 +0 -0
  538. package/dist/client/assets/noto-sans-sc-31-600-normal-xgdO8yzx.woff +0 -0
  539. package/dist/client/assets/noto-sans-sc-31-700-normal-BjFRqcE3.woff +0 -0
  540. package/dist/client/assets/noto-sans-sc-31-700-normal-kfjyItub.woff2 +0 -0
  541. package/dist/client/assets/noto-sans-sc-32-400-normal-BB06QLw6.woff +0 -0
  542. package/dist/client/assets/noto-sans-sc-32-400-normal-BqAPF1tT.woff2 +0 -0
  543. package/dist/client/assets/noto-sans-sc-32-500-normal-1J58h2E0.woff +0 -0
  544. package/dist/client/assets/noto-sans-sc-32-500-normal-bEbagM5b.woff2 +0 -0
  545. package/dist/client/assets/noto-sans-sc-32-600-normal-7vsN-Qh0.woff +0 -0
  546. package/dist/client/assets/noto-sans-sc-32-600-normal-BiPegPxD.woff2 +0 -0
  547. package/dist/client/assets/noto-sans-sc-32-700-normal-aXuO7zcD.woff2 +0 -0
  548. package/dist/client/assets/noto-sans-sc-32-700-normal-ku4boKRk.woff +0 -0
  549. package/dist/client/assets/noto-sans-sc-33-400-normal-970__YrQ.woff +0 -0
  550. package/dist/client/assets/noto-sans-sc-33-400-normal-CUXtFK-t.woff2 +0 -0
  551. package/dist/client/assets/noto-sans-sc-33-500-normal-Bq9gQSsE.woff +0 -0
  552. package/dist/client/assets/noto-sans-sc-33-500-normal-Co2VsUhm.woff2 +0 -0
  553. package/dist/client/assets/noto-sans-sc-33-600-normal-BIfpFjxR.woff +0 -0
  554. package/dist/client/assets/noto-sans-sc-33-600-normal-LAx_A9aV.woff2 +0 -0
  555. package/dist/client/assets/noto-sans-sc-33-700-normal-BxIcNX9E.woff +0 -0
  556. package/dist/client/assets/noto-sans-sc-33-700-normal-C8RIXC6K.woff2 +0 -0
  557. package/dist/client/assets/noto-sans-sc-34-400-normal-D06kjf8X.woff +0 -0
  558. package/dist/client/assets/noto-sans-sc-34-400-normal-Djw1IAuw.woff2 +0 -0
  559. package/dist/client/assets/noto-sans-sc-34-500-normal-BZLEfIsN.woff +0 -0
  560. package/dist/client/assets/noto-sans-sc-34-500-normal-Bs1nGgXz.woff2 +0 -0
  561. package/dist/client/assets/noto-sans-sc-34-600-normal-BfnzqG-J.woff +0 -0
  562. package/dist/client/assets/noto-sans-sc-34-600-normal-DZ_AWbPt.woff2 +0 -0
  563. package/dist/client/assets/noto-sans-sc-34-700-normal-86HeGZg1.woff +0 -0
  564. package/dist/client/assets/noto-sans-sc-34-700-normal-CQMxhMlx.woff2 +0 -0
  565. package/dist/client/assets/noto-sans-sc-35-400-normal-CaG_p1w5.woff +0 -0
  566. package/dist/client/assets/noto-sans-sc-35-400-normal-Chgyqx1E.woff2 +0 -0
  567. package/dist/client/assets/noto-sans-sc-35-500-normal-BLqYFRrM.woff +0 -0
  568. package/dist/client/assets/noto-sans-sc-35-500-normal-_sfdXfug.woff2 +0 -0
  569. package/dist/client/assets/noto-sans-sc-35-600-normal-CqODizGi.woff +0 -0
  570. package/dist/client/assets/noto-sans-sc-35-600-normal-DnscDHZ-.woff2 +0 -0
  571. package/dist/client/assets/noto-sans-sc-35-700-normal-C24b7mvg.woff +0 -0
  572. package/dist/client/assets/noto-sans-sc-35-700-normal-GWSrRah9.woff2 +0 -0
  573. package/dist/client/assets/noto-sans-sc-36-400-normal-BxBT42kb.woff2 +0 -0
  574. package/dist/client/assets/noto-sans-sc-36-400-normal-IjrD2Bk1.woff +0 -0
  575. package/dist/client/assets/noto-sans-sc-36-500-normal-CaI-3T3h.woff2 +0 -0
  576. package/dist/client/assets/noto-sans-sc-36-500-normal-Ct_du2ct.woff +0 -0
  577. package/dist/client/assets/noto-sans-sc-36-600-normal-DHkFmXNt.woff2 +0 -0
  578. package/dist/client/assets/noto-sans-sc-36-600-normal-qaACogoC.woff +0 -0
  579. package/dist/client/assets/noto-sans-sc-36-700-normal-DZnRFFzk.woff +0 -0
  580. package/dist/client/assets/noto-sans-sc-36-700-normal-D_nEfnKk.woff2 +0 -0
  581. package/dist/client/assets/noto-sans-sc-37-400-normal-BR9TSq0A.woff +0 -0
  582. package/dist/client/assets/noto-sans-sc-37-400-normal-CjshmOwp.woff2 +0 -0
  583. package/dist/client/assets/noto-sans-sc-37-500-normal-B98IgClf.woff2 +0 -0
  584. package/dist/client/assets/noto-sans-sc-37-500-normal-CjOa93uh.woff +0 -0
  585. package/dist/client/assets/noto-sans-sc-37-600-normal-BBSOpsKg.woff +0 -0
  586. package/dist/client/assets/noto-sans-sc-37-600-normal-BQVm7bvo.woff2 +0 -0
  587. package/dist/client/assets/noto-sans-sc-37-700-normal-60ISo86F.woff +0 -0
  588. package/dist/client/assets/noto-sans-sc-37-700-normal-DW7SpU8K.woff2 +0 -0
  589. package/dist/client/assets/noto-sans-sc-38-400-normal-D0ErwWLV.woff2 +0 -0
  590. package/dist/client/assets/noto-sans-sc-38-400-normal-Pcs7Bw7T.woff +0 -0
  591. package/dist/client/assets/noto-sans-sc-38-500-normal-DRw4QbjB.woff2 +0 -0
  592. package/dist/client/assets/noto-sans-sc-38-500-normal-k9ZtLoyD.woff +0 -0
  593. package/dist/client/assets/noto-sans-sc-38-600-normal-CRo4mJSz.woff +0 -0
  594. package/dist/client/assets/noto-sans-sc-38-600-normal-D6C6Csb-.woff2 +0 -0
  595. package/dist/client/assets/noto-sans-sc-38-700-normal-BJNpDGNc.woff +0 -0
  596. package/dist/client/assets/noto-sans-sc-38-700-normal-VDGgCvkV.woff2 +0 -0
  597. package/dist/client/assets/noto-sans-sc-39-400-normal-BdnXWhtv.woff +0 -0
  598. package/dist/client/assets/noto-sans-sc-39-400-normal-CNreqa8s.woff2 +0 -0
  599. package/dist/client/assets/noto-sans-sc-39-500-normal-BQ9_Gu47.woff +0 -0
  600. package/dist/client/assets/noto-sans-sc-39-500-normal-CAOP0xX7.woff2 +0 -0
  601. package/dist/client/assets/noto-sans-sc-39-600-normal-BrPbzEvC.woff2 +0 -0
  602. package/dist/client/assets/noto-sans-sc-39-600-normal-CSwjKylI.woff +0 -0
  603. package/dist/client/assets/noto-sans-sc-39-700-normal-BxzIbUCZ.woff +0 -0
  604. package/dist/client/assets/noto-sans-sc-39-700-normal-npthtH81.woff2 +0 -0
  605. package/dist/client/assets/noto-sans-sc-40-400-normal-DcIMWQiP.woff2 +0 -0
  606. package/dist/client/assets/noto-sans-sc-40-400-normal-DmftZfNt.woff +0 -0
  607. package/dist/client/assets/noto-sans-sc-40-500-normal-CFdw4jgZ.woff2 +0 -0
  608. package/dist/client/assets/noto-sans-sc-40-500-normal-DB5ibUsX.woff +0 -0
  609. package/dist/client/assets/noto-sans-sc-40-600-normal-CatRixuU.woff +0 -0
  610. package/dist/client/assets/noto-sans-sc-40-600-normal-DEQvJx_r.woff2 +0 -0
  611. package/dist/client/assets/noto-sans-sc-40-700-normal-CQq8R_A5.woff2 +0 -0
  612. package/dist/client/assets/noto-sans-sc-40-700-normal-Xj3Hi7Zy.woff +0 -0
  613. package/dist/client/assets/noto-sans-sc-41-400-normal-BeCST3sV.woff +0 -0
  614. package/dist/client/assets/noto-sans-sc-41-400-normal-CwF0ysup.woff2 +0 -0
  615. package/dist/client/assets/noto-sans-sc-41-500-normal-DxaQVwJP.woff2 +0 -0
  616. package/dist/client/assets/noto-sans-sc-41-500-normal-DxuBpi6-.woff +0 -0
  617. package/dist/client/assets/noto-sans-sc-41-600-normal-ARb20F_f.woff +0 -0
  618. package/dist/client/assets/noto-sans-sc-41-600-normal-CPcOfpNj.woff2 +0 -0
  619. package/dist/client/assets/noto-sans-sc-41-700-normal-C9Fm98h0.woff2 +0 -0
  620. package/dist/client/assets/noto-sans-sc-41-700-normal-DSQDho5i.woff +0 -0
  621. package/dist/client/assets/noto-sans-sc-42-400-normal-CwAh0C6j.woff +0 -0
  622. package/dist/client/assets/noto-sans-sc-42-400-normal-ZKOUmsTa.woff2 +0 -0
  623. package/dist/client/assets/noto-sans-sc-42-500-normal-BqjPf_lN.woff2 +0 -0
  624. package/dist/client/assets/noto-sans-sc-42-500-normal-GmHIAAIK.woff +0 -0
  625. package/dist/client/assets/noto-sans-sc-42-600-normal-8eQMfBXD.woff +0 -0
  626. package/dist/client/assets/noto-sans-sc-42-600-normal-CDYhe0ZM.woff2 +0 -0
  627. package/dist/client/assets/noto-sans-sc-42-700-normal-BZKFuKCT.woff +0 -0
  628. package/dist/client/assets/noto-sans-sc-42-700-normal-DatVBEhz.woff2 +0 -0
  629. package/dist/client/assets/noto-sans-sc-43-400-normal-CVPqYXUd.woff +0 -0
  630. package/dist/client/assets/noto-sans-sc-43-400-normal-WDsqqjmk.woff2 +0 -0
  631. package/dist/client/assets/noto-sans-sc-43-500-normal-B8wIbQJo.woff +0 -0
  632. package/dist/client/assets/noto-sans-sc-43-500-normal-Btkg4xpj.woff2 +0 -0
  633. package/dist/client/assets/noto-sans-sc-43-600-normal-BVQiPukP.woff2 +0 -0
  634. package/dist/client/assets/noto-sans-sc-43-600-normal-CsCPM25q.woff +0 -0
  635. package/dist/client/assets/noto-sans-sc-43-700-normal-CXBy1e3m.woff2 +0 -0
  636. package/dist/client/assets/noto-sans-sc-43-700-normal-D7-2HuY2.woff +0 -0
  637. package/dist/client/assets/noto-sans-sc-44-400-normal-BT6yUYAt.woff +0 -0
  638. package/dist/client/assets/noto-sans-sc-44-400-normal-wq9JI-iJ.woff2 +0 -0
  639. package/dist/client/assets/noto-sans-sc-44-500-normal-Bpe2AuLb.woff +0 -0
  640. package/dist/client/assets/noto-sans-sc-44-500-normal-DX-NL8hl.woff2 +0 -0
  641. package/dist/client/assets/noto-sans-sc-44-600-normal-BhGmL-Q5.woff2 +0 -0
  642. package/dist/client/assets/noto-sans-sc-44-600-normal-DM4HkkEe.woff +0 -0
  643. package/dist/client/assets/noto-sans-sc-44-700-normal-BFXLL_IX.woff2 +0 -0
  644. package/dist/client/assets/noto-sans-sc-44-700-normal-CerrAdqj.woff +0 -0
  645. package/dist/client/assets/noto-sans-sc-45-400-normal-DdOuPp0S.woff2 +0 -0
  646. package/dist/client/assets/noto-sans-sc-45-400-normal-wKcTGncR.woff +0 -0
  647. package/dist/client/assets/noto-sans-sc-45-500-normal-BQ7H7gEJ.woff2 +0 -0
  648. package/dist/client/assets/noto-sans-sc-45-500-normal-Nbt6APEA.woff +0 -0
  649. package/dist/client/assets/noto-sans-sc-45-600-normal-0BPZ4DzA.woff2 +0 -0
  650. package/dist/client/assets/noto-sans-sc-45-600-normal-C5VMdef9.woff +0 -0
  651. package/dist/client/assets/noto-sans-sc-45-700-normal-BsNaJb6I.woff +0 -0
  652. package/dist/client/assets/noto-sans-sc-45-700-normal-DUqJO8E-.woff2 +0 -0
  653. package/dist/client/assets/noto-sans-sc-46-400-normal-D8BHNHvK.woff +0 -0
  654. package/dist/client/assets/noto-sans-sc-46-400-normal-DxQ4Lw-z.woff2 +0 -0
  655. package/dist/client/assets/noto-sans-sc-46-500-normal-B2zSjaQL.woff +0 -0
  656. package/dist/client/assets/noto-sans-sc-46-500-normal-B_dRUXQz.woff2 +0 -0
  657. package/dist/client/assets/noto-sans-sc-46-600-normal-Beh1WiVV.woff +0 -0
  658. package/dist/client/assets/noto-sans-sc-46-600-normal-DtPTdVKs.woff2 +0 -0
  659. package/dist/client/assets/noto-sans-sc-46-700-normal-BX3o7x02.woff +0 -0
  660. package/dist/client/assets/noto-sans-sc-46-700-normal-BpaAdfvn.woff2 +0 -0
  661. package/dist/client/assets/noto-sans-sc-47-400-normal-CZbI_HNG.woff2 +0 -0
  662. package/dist/client/assets/noto-sans-sc-47-400-normal-TIljQdBM.woff +0 -0
  663. package/dist/client/assets/noto-sans-sc-47-500-normal-CWZyWKG5.woff +0 -0
  664. package/dist/client/assets/noto-sans-sc-47-500-normal-D7tRwN0h.woff2 +0 -0
  665. package/dist/client/assets/noto-sans-sc-47-600-normal-3qBBhH5J.woff2 +0 -0
  666. package/dist/client/assets/noto-sans-sc-47-600-normal-Bd2p56Oj.woff +0 -0
  667. package/dist/client/assets/noto-sans-sc-47-700-normal-BF63qZLo.woff2 +0 -0
  668. package/dist/client/assets/noto-sans-sc-47-700-normal-DRBMGCI9.woff +0 -0
  669. package/dist/client/assets/noto-sans-sc-48-400-normal-BeitBaI5.woff +0 -0
  670. package/dist/client/assets/noto-sans-sc-48-400-normal-JHdMabvg.woff2 +0 -0
  671. package/dist/client/assets/noto-sans-sc-48-500-normal-Bqt1gTC7.woff2 +0 -0
  672. package/dist/client/assets/noto-sans-sc-48-500-normal-CxY-QGbx.woff +0 -0
  673. package/dist/client/assets/noto-sans-sc-48-600-normal-CpllbcME.woff2 +0 -0
  674. package/dist/client/assets/noto-sans-sc-48-600-normal-DcIZPCzo.woff +0 -0
  675. package/dist/client/assets/noto-sans-sc-48-700-normal-Bpf2wVKJ.woff2 +0 -0
  676. package/dist/client/assets/noto-sans-sc-48-700-normal-C5NYYIZs.woff +0 -0
  677. package/dist/client/assets/noto-sans-sc-49-400-normal-B43LfYL1.woff2 +0 -0
  678. package/dist/client/assets/noto-sans-sc-49-400-normal-C0rnBp58.woff +0 -0
  679. package/dist/client/assets/noto-sans-sc-49-500-normal-BZeNF2SD.woff2 +0 -0
  680. package/dist/client/assets/noto-sans-sc-49-500-normal-C4ue3-in.woff +0 -0
  681. package/dist/client/assets/noto-sans-sc-49-600-normal-CGJyiTDD.woff +0 -0
  682. package/dist/client/assets/noto-sans-sc-49-600-normal-D4cuAwjl.woff2 +0 -0
  683. package/dist/client/assets/noto-sans-sc-49-700-normal-BrS2TIwO.woff2 +0 -0
  684. package/dist/client/assets/noto-sans-sc-49-700-normal-DQroqax4.woff +0 -0
  685. package/dist/client/assets/noto-sans-sc-5-400-normal-3RzBeGhg.woff2 +0 -0
  686. package/dist/client/assets/noto-sans-sc-5-400-normal-CxziD17Z.woff +0 -0
  687. package/dist/client/assets/noto-sans-sc-5-500-normal-BdqLNb8-.woff2 +0 -0
  688. package/dist/client/assets/noto-sans-sc-5-500-normal-DEzgIrTU.woff +0 -0
  689. package/dist/client/assets/noto-sans-sc-5-600-normal-BKqdauCl.woff +0 -0
  690. package/dist/client/assets/noto-sans-sc-5-600-normal-Qp7kYAY0.woff2 +0 -0
  691. package/dist/client/assets/noto-sans-sc-5-700-normal-CCrryvVM.woff +0 -0
  692. package/dist/client/assets/noto-sans-sc-5-700-normal-x9UYIBA3.woff2 +0 -0
  693. package/dist/client/assets/noto-sans-sc-50-400-normal-BeYaGcbF.woff2 +0 -0
  694. package/dist/client/assets/noto-sans-sc-50-400-normal-Ds5H6yvt.woff +0 -0
  695. package/dist/client/assets/noto-sans-sc-50-500-normal-DlintQvq.woff2 +0 -0
  696. package/dist/client/assets/noto-sans-sc-50-500-normal-kCcjZhyc.woff +0 -0
  697. package/dist/client/assets/noto-sans-sc-50-600-normal-CqPLGyIQ.woff2 +0 -0
  698. package/dist/client/assets/noto-sans-sc-50-600-normal-DDym-SGX.woff +0 -0
  699. package/dist/client/assets/noto-sans-sc-50-700-normal-8idZV2Uz.woff +0 -0
  700. package/dist/client/assets/noto-sans-sc-50-700-normal-eWm1DQPT.woff2 +0 -0
  701. package/dist/client/assets/noto-sans-sc-51-400-normal-BXmprHGd.woff2 +0 -0
  702. package/dist/client/assets/noto-sans-sc-51-400-normal-XuFDRqdl.woff +0 -0
  703. package/dist/client/assets/noto-sans-sc-51-500-normal-48CIxeIk.woff +0 -0
  704. package/dist/client/assets/noto-sans-sc-51-500-normal-B5-dbmQ8.woff2 +0 -0
  705. package/dist/client/assets/noto-sans-sc-51-600-normal-UuF80PSg.woff +0 -0
  706. package/dist/client/assets/noto-sans-sc-51-600-normal-ZZkyGTyf.woff2 +0 -0
  707. package/dist/client/assets/noto-sans-sc-51-700-normal-Bon9yel0.woff2 +0 -0
  708. package/dist/client/assets/noto-sans-sc-51-700-normal-C0mbpISK.woff +0 -0
  709. package/dist/client/assets/noto-sans-sc-52-400-normal-D6TC2b36.woff2 +0 -0
  710. package/dist/client/assets/noto-sans-sc-52-400-normal-aCTK3zc9.woff +0 -0
  711. package/dist/client/assets/noto-sans-sc-52-500-normal-CWWRVJV5.woff +0 -0
  712. package/dist/client/assets/noto-sans-sc-52-500-normal-C_fGT2yH.woff2 +0 -0
  713. package/dist/client/assets/noto-sans-sc-52-600-normal-12rG_vJz.woff +0 -0
  714. package/dist/client/assets/noto-sans-sc-52-600-normal-Cvl89zgj.woff2 +0 -0
  715. package/dist/client/assets/noto-sans-sc-52-700-normal-BRzqGAII.woff +0 -0
  716. package/dist/client/assets/noto-sans-sc-52-700-normal-C8tjb5CW.woff2 +0 -0
  717. package/dist/client/assets/noto-sans-sc-53-400-normal-0yU0ZVKB.woff +0 -0
  718. package/dist/client/assets/noto-sans-sc-53-400-normal-DpzojyPN.woff2 +0 -0
  719. package/dist/client/assets/noto-sans-sc-53-500-normal-4I_fEgQd.woff2 +0 -0
  720. package/dist/client/assets/noto-sans-sc-53-500-normal-J9uhr5mf.woff +0 -0
  721. package/dist/client/assets/noto-sans-sc-53-600-normal-BHyboCPP.woff2 +0 -0
  722. package/dist/client/assets/noto-sans-sc-53-600-normal-eWNudkKh.woff +0 -0
  723. package/dist/client/assets/noto-sans-sc-53-700-normal-BQnFTzf8.woff +0 -0
  724. package/dist/client/assets/noto-sans-sc-53-700-normal-Cvcae_Sp.woff2 +0 -0
  725. package/dist/client/assets/noto-sans-sc-54-400-normal-B9QLYnEh.woff2 +0 -0
  726. package/dist/client/assets/noto-sans-sc-54-400-normal-BayPw5AU.woff +0 -0
  727. package/dist/client/assets/noto-sans-sc-54-500-normal-Bn5KGttd.woff +0 -0
  728. package/dist/client/assets/noto-sans-sc-54-500-normal-D-1v3FoB.woff2 +0 -0
  729. package/dist/client/assets/noto-sans-sc-54-600-normal-DcSemIvZ.woff +0 -0
  730. package/dist/client/assets/noto-sans-sc-54-600-normal-Fy8Dohkj.woff2 +0 -0
  731. package/dist/client/assets/noto-sans-sc-54-700-normal-BCWeJjRX.woff +0 -0
  732. package/dist/client/assets/noto-sans-sc-54-700-normal-DOGLmyCV.woff2 +0 -0
  733. package/dist/client/assets/noto-sans-sc-55-400-normal-BJgYTKZI.woff +0 -0
  734. package/dist/client/assets/noto-sans-sc-55-400-normal-CYV3hjnq.woff2 +0 -0
  735. package/dist/client/assets/noto-sans-sc-55-500-normal-D7G22g_o.woff +0 -0
  736. package/dist/client/assets/noto-sans-sc-55-500-normal-Dx0OnOTe.woff2 +0 -0
  737. package/dist/client/assets/noto-sans-sc-55-600-normal-CE3LpPgc.woff2 +0 -0
  738. package/dist/client/assets/noto-sans-sc-55-600-normal-Cypt7VMO.woff +0 -0
  739. package/dist/client/assets/noto-sans-sc-55-700-normal-B36T3m4k.woff2 +0 -0
  740. package/dist/client/assets/noto-sans-sc-55-700-normal-CVgcYMFj.woff +0 -0
  741. package/dist/client/assets/noto-sans-sc-56-400-normal-B57fiM3p.woff2 +0 -0
  742. package/dist/client/assets/noto-sans-sc-56-400-normal-DsWT-1MH.woff +0 -0
  743. package/dist/client/assets/noto-sans-sc-56-500-normal-Di33RYwT.woff +0 -0
  744. package/dist/client/assets/noto-sans-sc-56-500-normal-l5dSnWaL.woff2 +0 -0
  745. package/dist/client/assets/noto-sans-sc-56-600-normal-D0b6JdQ1.woff +0 -0
  746. package/dist/client/assets/noto-sans-sc-56-600-normal-Dhtblb7W.woff2 +0 -0
  747. package/dist/client/assets/noto-sans-sc-56-700-normal-4ifjnB0Y.woff2 +0 -0
  748. package/dist/client/assets/noto-sans-sc-56-700-normal-DUzQxT4-.woff +0 -0
  749. package/dist/client/assets/noto-sans-sc-57-400-normal-0KJcqtwa.woff2 +0 -0
  750. package/dist/client/assets/noto-sans-sc-57-400-normal-CS3ugs7l.woff +0 -0
  751. package/dist/client/assets/noto-sans-sc-57-500-normal-CInU2z8g.woff2 +0 -0
  752. package/dist/client/assets/noto-sans-sc-57-500-normal-PRPjErGH.woff +0 -0
  753. package/dist/client/assets/noto-sans-sc-57-600-normal-C1nz6DQZ.woff +0 -0
  754. package/dist/client/assets/noto-sans-sc-57-600-normal-DEuXiX_b.woff2 +0 -0
  755. package/dist/client/assets/noto-sans-sc-57-700-normal-B8Ji4Lux.woff +0 -0
  756. package/dist/client/assets/noto-sans-sc-57-700-normal-BGCjBx-g.woff2 +0 -0
  757. package/dist/client/assets/noto-sans-sc-58-400-normal-BDZWSF0h.woff +0 -0
  758. package/dist/client/assets/noto-sans-sc-58-400-normal-DHIustpc.woff2 +0 -0
  759. package/dist/client/assets/noto-sans-sc-58-500-normal-CHq80MvY.woff +0 -0
  760. package/dist/client/assets/noto-sans-sc-58-500-normal-DUnNpYKw.woff2 +0 -0
  761. package/dist/client/assets/noto-sans-sc-58-600-normal-Cp1SwO3Z.woff +0 -0
  762. package/dist/client/assets/noto-sans-sc-58-600-normal-h_fGq8L7.woff2 +0 -0
  763. package/dist/client/assets/noto-sans-sc-58-700-normal-DpXWU5Mz.woff +0 -0
  764. package/dist/client/assets/noto-sans-sc-58-700-normal-UyEQ1UZ0.woff2 +0 -0
  765. package/dist/client/assets/noto-sans-sc-59-400-normal-D2Pb31nB.woff +0 -0
  766. package/dist/client/assets/noto-sans-sc-59-400-normal-D7wWmpIm.woff2 +0 -0
  767. package/dist/client/assets/noto-sans-sc-59-500-normal-BxaY6bmN.woff2 +0 -0
  768. package/dist/client/assets/noto-sans-sc-59-500-normal-Cygs8n9U.woff +0 -0
  769. package/dist/client/assets/noto-sans-sc-59-600-normal-D16rNbHR.woff2 +0 -0
  770. package/dist/client/assets/noto-sans-sc-59-600-normal-DtZXvfLZ.woff +0 -0
  771. package/dist/client/assets/noto-sans-sc-59-700-normal-BhdW5HYb.woff2 +0 -0
  772. package/dist/client/assets/noto-sans-sc-59-700-normal-aGOkstyv.woff +0 -0
  773. package/dist/client/assets/noto-sans-sc-6-400-normal-Cz_J3E7W.woff +0 -0
  774. package/dist/client/assets/noto-sans-sc-6-400-normal-D73klzWF.woff2 +0 -0
  775. package/dist/client/assets/noto-sans-sc-6-500-normal-ClybqCn5.woff2 +0 -0
  776. package/dist/client/assets/noto-sans-sc-6-500-normal-H3sFA8hz.woff +0 -0
  777. package/dist/client/assets/noto-sans-sc-6-600-normal-BkcBUb8p.woff +0 -0
  778. package/dist/client/assets/noto-sans-sc-6-600-normal-CMRT7Nw9.woff2 +0 -0
  779. package/dist/client/assets/noto-sans-sc-6-700-normal-BzsVSw-a.woff +0 -0
  780. package/dist/client/assets/noto-sans-sc-6-700-normal-DV8I1q8y.woff2 +0 -0
  781. package/dist/client/assets/noto-sans-sc-60-400-normal-BPkETD2Q.woff +0 -0
  782. package/dist/client/assets/noto-sans-sc-60-400-normal-BkgLo8ii.woff2 +0 -0
  783. package/dist/client/assets/noto-sans-sc-60-500-normal-DFqPQqQq.woff2 +0 -0
  784. package/dist/client/assets/noto-sans-sc-60-500-normal-fd1F0cyT.woff +0 -0
  785. package/dist/client/assets/noto-sans-sc-60-600-normal-CL4Cc1ID.woff +0 -0
  786. package/dist/client/assets/noto-sans-sc-60-600-normal-DazNjZr5.woff2 +0 -0
  787. package/dist/client/assets/noto-sans-sc-60-700-normal-Bc_5YyR0.woff2 +0 -0
  788. package/dist/client/assets/noto-sans-sc-60-700-normal-D4Zu-ouy.woff +0 -0
  789. package/dist/client/assets/noto-sans-sc-61-400-normal-Db-2MbZ9.woff +0 -0
  790. package/dist/client/assets/noto-sans-sc-61-400-normal-ggoUFMmb.woff2 +0 -0
  791. package/dist/client/assets/noto-sans-sc-61-500-normal-BB7Zjp1f.woff2 +0 -0
  792. package/dist/client/assets/noto-sans-sc-61-500-normal-DRxXabQ-.woff +0 -0
  793. package/dist/client/assets/noto-sans-sc-61-600-normal-68F3O99g.woff +0 -0
  794. package/dist/client/assets/noto-sans-sc-61-600-normal-CtX_v32D.woff2 +0 -0
  795. package/dist/client/assets/noto-sans-sc-61-700-normal-BwEKQgac.woff +0 -0
  796. package/dist/client/assets/noto-sans-sc-61-700-normal-Ckxgx8cS.woff2 +0 -0
  797. package/dist/client/assets/noto-sans-sc-62-400-normal-B7SX0Ny8.woff +0 -0
  798. package/dist/client/assets/noto-sans-sc-62-400-normal-ytbDME29.woff2 +0 -0
  799. package/dist/client/assets/noto-sans-sc-62-500-normal-DIpNWXyc.woff +0 -0
  800. package/dist/client/assets/noto-sans-sc-62-500-normal-U8mQETkr.woff2 +0 -0
  801. package/dist/client/assets/noto-sans-sc-62-600-normal-BR4I9zBJ.woff +0 -0
  802. package/dist/client/assets/noto-sans-sc-62-600-normal-BqAQGc4e.woff2 +0 -0
  803. package/dist/client/assets/noto-sans-sc-62-700-normal-BdN2u6iq.woff +0 -0
  804. package/dist/client/assets/noto-sans-sc-62-700-normal-Cj6Ks4qP.woff2 +0 -0
  805. package/dist/client/assets/noto-sans-sc-63-400-normal-BYQsjKYd.woff2 +0 -0
  806. package/dist/client/assets/noto-sans-sc-63-400-normal-CzPlApb7.woff +0 -0
  807. package/dist/client/assets/noto-sans-sc-63-500-normal-BUjOaASF.woff2 +0 -0
  808. package/dist/client/assets/noto-sans-sc-63-500-normal-CNJybeC3.woff +0 -0
  809. package/dist/client/assets/noto-sans-sc-63-600-normal-BhxLApvP.woff +0 -0
  810. package/dist/client/assets/noto-sans-sc-63-600-normal-DtIaht4T.woff2 +0 -0
  811. package/dist/client/assets/noto-sans-sc-63-700-normal-B-kN8_sA.woff +0 -0
  812. package/dist/client/assets/noto-sans-sc-63-700-normal-CIGqoDcs.woff2 +0 -0
  813. package/dist/client/assets/noto-sans-sc-64-400-normal-9n4RwFjr.woff2 +0 -0
  814. package/dist/client/assets/noto-sans-sc-64-400-normal-CnR-0l9p.woff +0 -0
  815. package/dist/client/assets/noto-sans-sc-64-500-normal-B5UNeVXi.woff2 +0 -0
  816. package/dist/client/assets/noto-sans-sc-64-500-normal-NwPloP-r.woff +0 -0
  817. package/dist/client/assets/noto-sans-sc-64-600-normal-4ZF7XLvc.woff +0 -0
  818. package/dist/client/assets/noto-sans-sc-64-600-normal-C_x6M6zM.woff2 +0 -0
  819. package/dist/client/assets/noto-sans-sc-64-700-normal-4mJfRVw-.woff +0 -0
  820. package/dist/client/assets/noto-sans-sc-64-700-normal-D6d3HRSr.woff2 +0 -0
  821. package/dist/client/assets/noto-sans-sc-65-400-normal-BeK8C6zz.woff +0 -0
  822. package/dist/client/assets/noto-sans-sc-65-400-normal-Co4l6Z_j.woff2 +0 -0
  823. package/dist/client/assets/noto-sans-sc-65-500-normal-CFOLBwGK.woff2 +0 -0
  824. package/dist/client/assets/noto-sans-sc-65-500-normal-CYx7LshH.woff +0 -0
  825. package/dist/client/assets/noto-sans-sc-65-600-normal-CbqgDrJw.woff +0 -0
  826. package/dist/client/assets/noto-sans-sc-65-600-normal-DxjIQU1p.woff2 +0 -0
  827. package/dist/client/assets/noto-sans-sc-65-700-normal-BUpqu4D4.woff2 +0 -0
  828. package/dist/client/assets/noto-sans-sc-65-700-normal-VIY3HmQA.woff +0 -0
  829. package/dist/client/assets/noto-sans-sc-66-400-normal-BELuybXz.woff2 +0 -0
  830. package/dist/client/assets/noto-sans-sc-66-400-normal-DyRyltg8.woff +0 -0
  831. package/dist/client/assets/noto-sans-sc-66-500-normal-BH_NxZif.woff2 +0 -0
  832. package/dist/client/assets/noto-sans-sc-66-500-normal-DBxkAtMD.woff +0 -0
  833. package/dist/client/assets/noto-sans-sc-66-600-normal-9ea7PztQ.woff2 +0 -0
  834. package/dist/client/assets/noto-sans-sc-66-600-normal-BFUYUTiD.woff +0 -0
  835. package/dist/client/assets/noto-sans-sc-66-700-normal-BZJjilRc.woff2 +0 -0
  836. package/dist/client/assets/noto-sans-sc-66-700-normal-CD92Xrbz.woff +0 -0
  837. package/dist/client/assets/noto-sans-sc-67-400-normal--wzFx5DH.woff +0 -0
  838. package/dist/client/assets/noto-sans-sc-67-400-normal-BS_2ddPd.woff2 +0 -0
  839. package/dist/client/assets/noto-sans-sc-67-500-normal-C70tqdyd.woff +0 -0
  840. package/dist/client/assets/noto-sans-sc-67-500-normal-DWzpSa9_.woff2 +0 -0
  841. package/dist/client/assets/noto-sans-sc-67-600-normal-B5TRu7Pc.woff2 +0 -0
  842. package/dist/client/assets/noto-sans-sc-67-600-normal-C-lHymTB.woff +0 -0
  843. package/dist/client/assets/noto-sans-sc-67-700-normal-CHv8ONeB.woff2 +0 -0
  844. package/dist/client/assets/noto-sans-sc-67-700-normal-xASFIzGE.woff +0 -0
  845. package/dist/client/assets/noto-sans-sc-68-400-normal-BAjgs8u1.woff +0 -0
  846. package/dist/client/assets/noto-sans-sc-68-400-normal-DhhAKUnY.woff2 +0 -0
  847. package/dist/client/assets/noto-sans-sc-68-500-normal-BRRTtSYi.woff2 +0 -0
  848. package/dist/client/assets/noto-sans-sc-68-500-normal-O3N9pm7P.woff +0 -0
  849. package/dist/client/assets/noto-sans-sc-68-600-normal-Bmzw4GGY.woff +0 -0
  850. package/dist/client/assets/noto-sans-sc-68-600-normal-DdInsWM2.woff2 +0 -0
  851. package/dist/client/assets/noto-sans-sc-68-700-normal-C3u0R9lS.woff +0 -0
  852. package/dist/client/assets/noto-sans-sc-68-700-normal-LGMmxj6K.woff2 +0 -0
  853. package/dist/client/assets/noto-sans-sc-69-400-normal-DVTFUlay.woff +0 -0
  854. package/dist/client/assets/noto-sans-sc-69-400-normal-o5cK7hs4.woff2 +0 -0
  855. package/dist/client/assets/noto-sans-sc-69-500-normal-BNOLZVQG.woff +0 -0
  856. package/dist/client/assets/noto-sans-sc-69-500-normal-CyfyID68.woff2 +0 -0
  857. package/dist/client/assets/noto-sans-sc-69-600-normal-BN-A0bHG.woff +0 -0
  858. package/dist/client/assets/noto-sans-sc-69-600-normal-DlurzGeD.woff2 +0 -0
  859. package/dist/client/assets/noto-sans-sc-69-700-normal-B6LPcA-t.woff2 +0 -0
  860. package/dist/client/assets/noto-sans-sc-69-700-normal-DXbzUprz.woff +0 -0
  861. package/dist/client/assets/noto-sans-sc-70-400-normal-1lgt7roi.woff +0 -0
  862. package/dist/client/assets/noto-sans-sc-70-400-normal-BlWmkfgH.woff2 +0 -0
  863. package/dist/client/assets/noto-sans-sc-70-500-normal-CUVD271H.woff2 +0 -0
  864. package/dist/client/assets/noto-sans-sc-70-500-normal-Do2P_EZv.woff +0 -0
  865. package/dist/client/assets/noto-sans-sc-70-600-normal-Cmgof_Ej.woff2 +0 -0
  866. package/dist/client/assets/noto-sans-sc-70-600-normal-DZ62RZw9.woff +0 -0
  867. package/dist/client/assets/noto-sans-sc-70-700-normal-D_WqSwix.woff2 +0 -0
  868. package/dist/client/assets/noto-sans-sc-70-700-normal-DjutC1tV.woff +0 -0
  869. package/dist/client/assets/noto-sans-sc-71-400-normal-BcUyOtRS.woff +0 -0
  870. package/dist/client/assets/noto-sans-sc-71-400-normal-HYJki_zr.woff2 +0 -0
  871. package/dist/client/assets/noto-sans-sc-71-500-normal-Dz2iPqSM.woff2 +0 -0
  872. package/dist/client/assets/noto-sans-sc-71-500-normal-SR18VpvI.woff +0 -0
  873. package/dist/client/assets/noto-sans-sc-71-600-normal-B4t1bLQn.woff2 +0 -0
  874. package/dist/client/assets/noto-sans-sc-71-600-normal-Dy71AhTd.woff +0 -0
  875. package/dist/client/assets/noto-sans-sc-71-700-normal-C-hJaEbR.woff +0 -0
  876. package/dist/client/assets/noto-sans-sc-71-700-normal-DyQkUuN6.woff2 +0 -0
  877. package/dist/client/assets/noto-sans-sc-72-400-normal-BLx1zxYv.woff2 +0 -0
  878. package/dist/client/assets/noto-sans-sc-72-400-normal-Df_D_sj8.woff +0 -0
  879. package/dist/client/assets/noto-sans-sc-72-500-normal-DQHpo1Oj.woff +0 -0
  880. package/dist/client/assets/noto-sans-sc-72-500-normal-DTeK03yK.woff2 +0 -0
  881. package/dist/client/assets/noto-sans-sc-72-600-normal-DLozH5BT.woff2 +0 -0
  882. package/dist/client/assets/noto-sans-sc-72-600-normal-DjAad92y.woff +0 -0
  883. package/dist/client/assets/noto-sans-sc-72-700-normal-DGp-Sokh.woff +0 -0
  884. package/dist/client/assets/noto-sans-sc-72-700-normal-OdQF7L87.woff2 +0 -0
  885. package/dist/client/assets/noto-sans-sc-73-400-normal-BRFF09wf.woff +0 -0
  886. package/dist/client/assets/noto-sans-sc-73-400-normal-tzRZHUkU.woff2 +0 -0
  887. package/dist/client/assets/noto-sans-sc-73-500-normal-Cw_tnR9p.woff2 +0 -0
  888. package/dist/client/assets/noto-sans-sc-73-500-normal-DRe_iCNK.woff +0 -0
  889. package/dist/client/assets/noto-sans-sc-73-600-normal-CiqoWXeJ.woff2 +0 -0
  890. package/dist/client/assets/noto-sans-sc-73-600-normal-ctKAMYrG.woff +0 -0
  891. package/dist/client/assets/noto-sans-sc-73-700-normal-Bqje2VGy.woff +0 -0
  892. package/dist/client/assets/noto-sans-sc-73-700-normal-I6Weyh5u.woff2 +0 -0
  893. package/dist/client/assets/noto-sans-sc-74-400-normal-C15MV3i1.woff +0 -0
  894. package/dist/client/assets/noto-sans-sc-74-400-normal-C40Ur-xi.woff2 +0 -0
  895. package/dist/client/assets/noto-sans-sc-74-500-normal-DkeJ_Z7u.woff2 +0 -0
  896. package/dist/client/assets/noto-sans-sc-74-500-normal-mqfHElgm.woff +0 -0
  897. package/dist/client/assets/noto-sans-sc-74-600-normal-BAnl7htZ.woff2 +0 -0
  898. package/dist/client/assets/noto-sans-sc-74-600-normal-C-VCYuwV.woff +0 -0
  899. package/dist/client/assets/noto-sans-sc-74-700-normal-IGVuCLQo.woff +0 -0
  900. package/dist/client/assets/noto-sans-sc-74-700-normal-iLR6bNzA.woff2 +0 -0
  901. package/dist/client/assets/noto-sans-sc-75-400-normal-BBx4YRQ9.woff +0 -0
  902. package/dist/client/assets/noto-sans-sc-75-400-normal-CUYSz9vA.woff2 +0 -0
  903. package/dist/client/assets/noto-sans-sc-75-500-normal-BqWpgxml.woff +0 -0
  904. package/dist/client/assets/noto-sans-sc-75-500-normal-RnXI8R7b.woff2 +0 -0
  905. package/dist/client/assets/noto-sans-sc-75-600-normal-ARKbJcIN.woff2 +0 -0
  906. package/dist/client/assets/noto-sans-sc-75-600-normal-BNd2DqNB.woff +0 -0
  907. package/dist/client/assets/noto-sans-sc-75-700-normal-F6H3eEIe.woff +0 -0
  908. package/dist/client/assets/noto-sans-sc-75-700-normal-mpNhFFB1.woff2 +0 -0
  909. package/dist/client/assets/noto-sans-sc-76-400-normal-C4_76-zS.woff +0 -0
  910. package/dist/client/assets/noto-sans-sc-76-400-normal-JtvMmeCp.woff2 +0 -0
  911. package/dist/client/assets/noto-sans-sc-76-500-normal-B9Jbkcne.woff2 +0 -0
  912. package/dist/client/assets/noto-sans-sc-76-500-normal-PRJKzsYx.woff +0 -0
  913. package/dist/client/assets/noto-sans-sc-76-600-normal-CT7PXAmq.woff +0 -0
  914. package/dist/client/assets/noto-sans-sc-76-600-normal-Y8oW-fKE.woff2 +0 -0
  915. package/dist/client/assets/noto-sans-sc-76-700-normal-BdjZP-TW.woff +0 -0
  916. package/dist/client/assets/noto-sans-sc-76-700-normal-E5jLJMfB.woff2 +0 -0
  917. package/dist/client/assets/noto-sans-sc-77-400-normal-CxYpJvkI.woff2 +0 -0
  918. package/dist/client/assets/noto-sans-sc-77-400-normal-D2-acYFw.woff +0 -0
  919. package/dist/client/assets/noto-sans-sc-77-500-normal-3BTwE5uB.woff2 +0 -0
  920. package/dist/client/assets/noto-sans-sc-77-500-normal-DyO6RP1r.woff +0 -0
  921. package/dist/client/assets/noto-sans-sc-77-600-normal-32fwFvnW.woff +0 -0
  922. package/dist/client/assets/noto-sans-sc-77-600-normal-BiLXi0Hr.woff2 +0 -0
  923. package/dist/client/assets/noto-sans-sc-77-700-normal-CQWqR0T-.woff +0 -0
  924. package/dist/client/assets/noto-sans-sc-77-700-normal-a-oEDj-K.woff2 +0 -0
  925. package/dist/client/assets/noto-sans-sc-78-400-normal--Q5ApOuu.woff +0 -0
  926. package/dist/client/assets/noto-sans-sc-78-400-normal-AGz1p3mV.woff2 +0 -0
  927. package/dist/client/assets/noto-sans-sc-78-500-normal-BVk9bSPD.woff2 +0 -0
  928. package/dist/client/assets/noto-sans-sc-78-500-normal-HYZYmtKV.woff +0 -0
  929. package/dist/client/assets/noto-sans-sc-78-600-normal-CQIDvTHo.woff2 +0 -0
  930. package/dist/client/assets/noto-sans-sc-78-600-normal-DDVnp49L.woff +0 -0
  931. package/dist/client/assets/noto-sans-sc-78-700-normal-C-s_97KM.woff2 +0 -0
  932. package/dist/client/assets/noto-sans-sc-78-700-normal-UIfDqwia.woff +0 -0
  933. package/dist/client/assets/noto-sans-sc-79-400-normal-Bs84SZW2.woff2 +0 -0
  934. package/dist/client/assets/noto-sans-sc-79-400-normal-C-sLDZqR.woff +0 -0
  935. package/dist/client/assets/noto-sans-sc-79-500-normal-C-QvHj7p.woff2 +0 -0
  936. package/dist/client/assets/noto-sans-sc-79-500-normal-hJwbnaBG.woff +0 -0
  937. package/dist/client/assets/noto-sans-sc-79-600-normal-CAKRzEV8.woff2 +0 -0
  938. package/dist/client/assets/noto-sans-sc-79-600-normal-CzGl6PT1.woff +0 -0
  939. package/dist/client/assets/noto-sans-sc-79-700-normal-CRywjxh7.woff +0 -0
  940. package/dist/client/assets/noto-sans-sc-79-700-normal-DdtsIzyh.woff2 +0 -0
  941. package/dist/client/assets/noto-sans-sc-80-400-normal-BJE7u3HD.woff +0 -0
  942. package/dist/client/assets/noto-sans-sc-80-400-normal-psViYwkz.woff2 +0 -0
  943. package/dist/client/assets/noto-sans-sc-80-500-normal-Dcd-n9J5.woff +0 -0
  944. package/dist/client/assets/noto-sans-sc-80-500-normal-Di8G0AhH.woff2 +0 -0
  945. package/dist/client/assets/noto-sans-sc-80-600-normal-6FhkjQij.woff +0 -0
  946. package/dist/client/assets/noto-sans-sc-80-600-normal-DUB-7Kpw.woff2 +0 -0
  947. package/dist/client/assets/noto-sans-sc-80-700-normal-CGAI1yju.woff +0 -0
  948. package/dist/client/assets/noto-sans-sc-80-700-normal-UCchT3b6.woff2 +0 -0
  949. package/dist/client/assets/noto-sans-sc-81-400-normal-BImDXGMr.woff2 +0 -0
  950. package/dist/client/assets/noto-sans-sc-81-400-normal-BWPnSkid.woff +0 -0
  951. package/dist/client/assets/noto-sans-sc-81-500-normal-CdQrn85D.woff +0 -0
  952. package/dist/client/assets/noto-sans-sc-81-500-normal-DUcTi26F.woff2 +0 -0
  953. package/dist/client/assets/noto-sans-sc-81-600-normal-Be_h4tIf.woff +0 -0
  954. package/dist/client/assets/noto-sans-sc-81-600-normal-Z83dZpCS.woff2 +0 -0
  955. package/dist/client/assets/noto-sans-sc-81-700-normal-B19yzEES.woff2 +0 -0
  956. package/dist/client/assets/noto-sans-sc-81-700-normal-DEwv0WXa.woff +0 -0
  957. package/dist/client/assets/noto-sans-sc-82-400-normal-BZZDzro0.woff2 +0 -0
  958. package/dist/client/assets/noto-sans-sc-82-400-normal-IMxdP4Bn.woff +0 -0
  959. package/dist/client/assets/noto-sans-sc-82-500-normal-D9ImAMpd.woff +0 -0
  960. package/dist/client/assets/noto-sans-sc-82-500-normal-DyyUtoXj.woff2 +0 -0
  961. package/dist/client/assets/noto-sans-sc-82-600-normal-ClMFvN-k.woff2 +0 -0
  962. package/dist/client/assets/noto-sans-sc-82-600-normal-TGr4gT8E.woff +0 -0
  963. package/dist/client/assets/noto-sans-sc-82-700-normal-BPEBmW4D.woff2 +0 -0
  964. package/dist/client/assets/noto-sans-sc-82-700-normal-FaF30N6r.woff +0 -0
  965. package/dist/client/assets/noto-sans-sc-83-400-normal-CaNTasFi.woff +0 -0
  966. package/dist/client/assets/noto-sans-sc-83-400-normal-cx8M2qMo.woff2 +0 -0
  967. package/dist/client/assets/noto-sans-sc-83-500-normal-BAgaWq8p.woff +0 -0
  968. package/dist/client/assets/noto-sans-sc-83-500-normal-CngP5iwW.woff2 +0 -0
  969. package/dist/client/assets/noto-sans-sc-83-600-normal-CUa3w0AN.woff2 +0 -0
  970. package/dist/client/assets/noto-sans-sc-83-600-normal-hP02Oq7c.woff +0 -0
  971. package/dist/client/assets/noto-sans-sc-83-700-normal-5yUCUUlF.woff2 +0 -0
  972. package/dist/client/assets/noto-sans-sc-83-700-normal-BxdgZcCH.woff +0 -0
  973. package/dist/client/assets/noto-sans-sc-84-400-normal-BUAHubMX.woff +0 -0
  974. package/dist/client/assets/noto-sans-sc-84-400-normal-BtmNIfry.woff2 +0 -0
  975. package/dist/client/assets/noto-sans-sc-84-500-normal-3O-pFZPI.woff2 +0 -0
  976. package/dist/client/assets/noto-sans-sc-84-500-normal-sFl4NKKC.woff +0 -0
  977. package/dist/client/assets/noto-sans-sc-84-600-normal-BO3Ekdad.woff +0 -0
  978. package/dist/client/assets/noto-sans-sc-84-600-normal-DgyKDTRC.woff2 +0 -0
  979. package/dist/client/assets/noto-sans-sc-84-700-normal-C0UDebpJ.woff +0 -0
  980. package/dist/client/assets/noto-sans-sc-84-700-normal-O2_u3aEA.woff2 +0 -0
  981. package/dist/client/assets/noto-sans-sc-85-400-normal-CNc66YTY.woff2 +0 -0
  982. package/dist/client/assets/noto-sans-sc-85-400-normal-DJgWDvwN.woff +0 -0
  983. package/dist/client/assets/noto-sans-sc-85-500-normal-BHnspF-n.woff2 +0 -0
  984. package/dist/client/assets/noto-sans-sc-85-500-normal-C07hsxBo.woff +0 -0
  985. package/dist/client/assets/noto-sans-sc-85-600-normal-BfmFc9Uo.woff2 +0 -0
  986. package/dist/client/assets/noto-sans-sc-85-600-normal-CM-KSlAY.woff +0 -0
  987. package/dist/client/assets/noto-sans-sc-85-700-normal-CbxuEJPm.woff2 +0 -0
  988. package/dist/client/assets/noto-sans-sc-85-700-normal-CyrFyvwD.woff +0 -0
  989. package/dist/client/assets/noto-sans-sc-86-400-normal-Cs9yXoGU.woff2 +0 -0
  990. package/dist/client/assets/noto-sans-sc-86-400-normal-Ds-iyoTm.woff +0 -0
  991. package/dist/client/assets/noto-sans-sc-86-500-normal-BdmmPOi_.woff2 +0 -0
  992. package/dist/client/assets/noto-sans-sc-86-500-normal-BeE1D5I_.woff +0 -0
  993. package/dist/client/assets/noto-sans-sc-86-600-normal-BKwgZxet.woff2 +0 -0
  994. package/dist/client/assets/noto-sans-sc-86-600-normal-DdVQJWAG.woff +0 -0
  995. package/dist/client/assets/noto-sans-sc-86-700-normal-CziD2ZUu.woff +0 -0
  996. package/dist/client/assets/noto-sans-sc-86-700-normal-DcKO2wZq.woff2 +0 -0
  997. package/dist/client/assets/noto-sans-sc-87-400-normal-BGelIZWt.woff2 +0 -0
  998. package/dist/client/assets/noto-sans-sc-87-400-normal-BfoaKG7-.woff +0 -0
  999. package/dist/client/assets/noto-sans-sc-87-500-normal-CyNxmc60.woff2 +0 -0
  1000. package/dist/client/assets/noto-sans-sc-87-500-normal-D9J_M8Bs.woff +0 -0
  1001. package/dist/client/assets/noto-sans-sc-87-600-normal-1iym0cE1.woff2 +0 -0
  1002. package/dist/client/assets/noto-sans-sc-87-600-normal-CZI7wgrW.woff +0 -0
  1003. package/dist/client/assets/noto-sans-sc-87-700-normal-BtlEwhOv.woff2 +0 -0
  1004. package/dist/client/assets/noto-sans-sc-87-700-normal-DlQbz1Zr.woff +0 -0
  1005. package/dist/client/assets/noto-sans-sc-88-400-normal-BVGOGyuM.woff +0 -0
  1006. package/dist/client/assets/noto-sans-sc-88-400-normal-D3GwXLyo.woff2 +0 -0
  1007. package/dist/client/assets/noto-sans-sc-88-500-normal-BfIgc9Wa.woff2 +0 -0
  1008. package/dist/client/assets/noto-sans-sc-88-500-normal-C6O_YW_j.woff +0 -0
  1009. package/dist/client/assets/noto-sans-sc-88-600-normal-Cf-hlmJ4.woff2 +0 -0
  1010. package/dist/client/assets/noto-sans-sc-88-600-normal-DMttCkew.woff +0 -0
  1011. package/dist/client/assets/noto-sans-sc-88-700-normal-Bnk-Qjhu.woff2 +0 -0
  1012. package/dist/client/assets/noto-sans-sc-88-700-normal-CkTRTZFS.woff +0 -0
  1013. package/dist/client/assets/noto-sans-sc-89-400-normal-DjBdLf5T.woff +0 -0
  1014. package/dist/client/assets/noto-sans-sc-89-400-normal-acup1U1Z.woff2 +0 -0
  1015. package/dist/client/assets/noto-sans-sc-89-500-normal-DgD3piDH.woff +0 -0
  1016. package/dist/client/assets/noto-sans-sc-89-500-normal-z-0TkXtN.woff2 +0 -0
  1017. package/dist/client/assets/noto-sans-sc-89-600-normal-CGeeUbqy.woff +0 -0
  1018. package/dist/client/assets/noto-sans-sc-89-600-normal-CTSdIeg8.woff2 +0 -0
  1019. package/dist/client/assets/noto-sans-sc-89-700-normal--Wr1YQox.woff2 +0 -0
  1020. package/dist/client/assets/noto-sans-sc-89-700-normal-Dy6ropgK.woff +0 -0
  1021. package/dist/client/assets/noto-sans-sc-90-400-normal-DRuAc-VY.woff2 +0 -0
  1022. package/dist/client/assets/noto-sans-sc-90-400-normal-DZvnhzDn.woff +0 -0
  1023. package/dist/client/assets/noto-sans-sc-90-500-normal-C7Z1pW-B.woff +0 -0
  1024. package/dist/client/assets/noto-sans-sc-90-500-normal-CzRUd9Y4.woff2 +0 -0
  1025. package/dist/client/assets/noto-sans-sc-90-600-normal-CCkKbOwb.woff2 +0 -0
  1026. package/dist/client/assets/noto-sans-sc-90-600-normal-CW8S7t6t.woff +0 -0
  1027. package/dist/client/assets/noto-sans-sc-90-700-normal-BfsAm7JE.woff +0 -0
  1028. package/dist/client/assets/noto-sans-sc-90-700-normal-D_uM6Dda.woff2 +0 -0
  1029. package/dist/client/assets/noto-sans-sc-91-400-normal-BdbNZCTz.woff2 +0 -0
  1030. package/dist/client/assets/noto-sans-sc-91-400-normal-CxcTLhKE.woff +0 -0
  1031. package/dist/client/assets/noto-sans-sc-91-500-normal-DvM0YA8l.woff +0 -0
  1032. package/dist/client/assets/noto-sans-sc-91-500-normal-i0u1m_iB.woff2 +0 -0
  1033. package/dist/client/assets/noto-sans-sc-91-600-normal-CybwX0IL.woff2 +0 -0
  1034. package/dist/client/assets/noto-sans-sc-91-600-normal-tADti8bI.woff +0 -0
  1035. package/dist/client/assets/noto-sans-sc-91-700-normal-D4Ei2NDt.woff2 +0 -0
  1036. package/dist/client/assets/noto-sans-sc-91-700-normal-DCw7oyGm.woff +0 -0
  1037. package/dist/client/assets/noto-sans-sc-99-400-normal-BKciDCgy.woff +0 -0
  1038. package/dist/client/assets/noto-sans-sc-99-400-normal-BTAaudar.woff2 +0 -0
  1039. package/dist/client/assets/noto-sans-sc-99-500-normal-BWS8QmEB.woff2 +0 -0
  1040. package/dist/client/assets/noto-sans-sc-99-500-normal-INSdSSyd.woff +0 -0
  1041. package/dist/client/assets/noto-sans-sc-99-600-normal-CL6skMXh.woff2 +0 -0
  1042. package/dist/client/assets/noto-sans-sc-99-600-normal-CvKT5V9W.woff +0 -0
  1043. package/dist/client/assets/noto-sans-sc-99-700-normal-C6W9dGdZ.woff +0 -0
  1044. package/dist/client/assets/noto-sans-sc-99-700-normal-fxRlH1CQ.woff2 +0 -0
  1045. package/dist/client/assets/noto-sans-sc-cyrillic-400-normal-C55cY1BO.woff +0 -0
  1046. package/dist/client/assets/noto-sans-sc-cyrillic-400-normal-CgZvxLpU.woff2 +0 -0
  1047. package/dist/client/assets/noto-sans-sc-cyrillic-500-normal-DGAdDs8H.woff2 +0 -0
  1048. package/dist/client/assets/noto-sans-sc-cyrillic-500-normal-tV8XT-Gb.woff +0 -0
  1049. package/dist/client/assets/noto-sans-sc-cyrillic-600-normal-CYm2piyo.woff2 +0 -0
  1050. package/dist/client/assets/noto-sans-sc-cyrillic-600-normal-Dy3zXw6l.woff +0 -0
  1051. package/dist/client/assets/noto-sans-sc-cyrillic-700-normal-Cq1GCcGV.woff2 +0 -0
  1052. package/dist/client/assets/noto-sans-sc-cyrillic-700-normal-DkTfyWoY.woff +0 -0
  1053. package/dist/client/assets/noto-sans-sc-latin-400-normal-C2B4T-o7.woff +0 -0
  1054. package/dist/client/assets/noto-sans-sc-latin-400-normal-C8q2FS1w.woff2 +0 -0
  1055. package/dist/client/assets/noto-sans-sc-latin-500-normal-Bo6Vh9-d.woff +0 -0
  1056. package/dist/client/assets/noto-sans-sc-latin-500-normal-JVPArRf3.woff2 +0 -0
  1057. package/dist/client/assets/noto-sans-sc-latin-600-normal-C89umeU5.woff +0 -0
  1058. package/dist/client/assets/noto-sans-sc-latin-600-normal-D5ts6k_I.woff2 +0 -0
  1059. package/dist/client/assets/noto-sans-sc-latin-700-normal-BzR54Sjf.woff2 +0 -0
  1060. package/dist/client/assets/noto-sans-sc-latin-700-normal-C7O-39-M.woff +0 -0
  1061. package/dist/client/assets/noto-sans-sc-latin-ext-400-normal-CY4-cFyH.woff +0 -0
  1062. package/dist/client/assets/noto-sans-sc-latin-ext-400-normal-KRK7eeLK.woff2 +0 -0
  1063. package/dist/client/assets/noto-sans-sc-latin-ext-500-normal-C2ZsKVTA.woff +0 -0
  1064. package/dist/client/assets/noto-sans-sc-latin-ext-500-normal-GsgFcZNr.woff2 +0 -0
  1065. package/dist/client/assets/noto-sans-sc-latin-ext-600-normal-h7-CvYMB.woff2 +0 -0
  1066. package/dist/client/assets/noto-sans-sc-latin-ext-600-normal-v9MVS2hv.woff +0 -0
  1067. package/dist/client/assets/noto-sans-sc-latin-ext-700-normal-BmmacmUC.woff2 +0 -0
  1068. package/dist/client/assets/noto-sans-sc-latin-ext-700-normal-BweIeg1K.woff +0 -0
  1069. package/dist/client/assets/noto-sans-sc-vietnamese-400-normal-BKaPybhj.woff +0 -0
  1070. package/dist/client/assets/noto-sans-sc-vietnamese-400-normal-Bi2eM1Po.woff2 +0 -0
  1071. package/dist/client/assets/noto-sans-sc-vietnamese-500-normal-920XfTAD.woff2 +0 -0
  1072. package/dist/client/assets/noto-sans-sc-vietnamese-500-normal-D85XQ0q2.woff +0 -0
  1073. package/dist/client/assets/noto-sans-sc-vietnamese-600-normal-D47CFFhK.woff2 +0 -0
  1074. package/dist/client/assets/noto-sans-sc-vietnamese-600-normal-DaKq_q5M.woff +0 -0
  1075. package/dist/client/assets/noto-sans-sc-vietnamese-700-normal-AYh55WD9.woff +0 -0
  1076. package/dist/client/assets/noto-sans-sc-vietnamese-700-normal-B_BvGp8Q.woff2 +0 -0
  1077. package/dist/client/assets/noto-sans-thai-latin-400-normal-BaWBrqFP.woff2 +0 -0
  1078. package/dist/client/assets/noto-sans-thai-latin-400-normal-Dh_FJjOB.woff +0 -0
  1079. package/dist/client/assets/noto-sans-thai-latin-500-normal-BC04jsmm.woff +0 -0
  1080. package/dist/client/assets/noto-sans-thai-latin-500-normal-fyBKClF1.woff2 +0 -0
  1081. package/dist/client/assets/noto-sans-thai-latin-600-normal-CemcjnVR.woff2 +0 -0
  1082. package/dist/client/assets/noto-sans-thai-latin-600-normal-Dbc-dNO6.woff +0 -0
  1083. package/dist/client/assets/noto-sans-thai-latin-700-normal-C4AMFKt5.woff +0 -0
  1084. package/dist/client/assets/noto-sans-thai-latin-700-normal-_dn-40wb.woff2 +0 -0
  1085. package/dist/client/assets/noto-sans-thai-latin-ext-400-normal-B-1H0YkH.woff +0 -0
  1086. package/dist/client/assets/noto-sans-thai-latin-ext-400-normal-nBP59pVw.woff2 +0 -0
  1087. package/dist/client/assets/noto-sans-thai-latin-ext-500-normal-B-ZWb8SZ.woff2 +0 -0
  1088. package/dist/client/assets/noto-sans-thai-latin-ext-500-normal-CrEHO7C8.woff +0 -0
  1089. package/dist/client/assets/noto-sans-thai-latin-ext-600-normal-PkMZo0xa.woff +0 -0
  1090. package/dist/client/assets/noto-sans-thai-latin-ext-600-normal-maHHBsez.woff2 +0 -0
  1091. package/dist/client/assets/noto-sans-thai-latin-ext-700-normal-uJk63onE.woff2 +0 -0
  1092. package/dist/client/assets/noto-sans-thai-latin-ext-700-normal-xdwl2Xg6.woff +0 -0
  1093. package/dist/client/assets/noto-sans-thai-thai-400-normal-BEOmKAI1.woff2 +0 -0
  1094. package/dist/client/assets/noto-sans-thai-thai-400-normal-Dxb_unuU.woff +0 -0
  1095. package/dist/client/assets/noto-sans-thai-thai-500-normal-BOGXO2tw.woff +0 -0
  1096. package/dist/client/assets/noto-sans-thai-thai-500-normal-CU_X86GQ.woff2 +0 -0
  1097. package/dist/client/assets/noto-sans-thai-thai-600-normal-CmgB8_JK.woff +0 -0
  1098. package/dist/client/assets/noto-sans-thai-thai-600-normal-Cs73sVjl.woff2 +0 -0
  1099. package/dist/client/assets/noto-sans-thai-thai-700-normal-C9ISMlQq.woff +0 -0
  1100. package/dist/client/assets/noto-sans-thai-thai-700-normal-Cm52XUnT.woff2 +0 -0
  1101. package/dist/client/assets/noto-sans-vietnamese-400-normal-C3Al4sv4.woff +0 -0
  1102. package/dist/client/assets/noto-sans-vietnamese-400-normal-D2wP-Vm-.woff2 +0 -0
  1103. package/dist/client/assets/noto-sans-vietnamese-500-normal-BBHKifio.woff +0 -0
  1104. package/dist/client/assets/noto-sans-vietnamese-500-normal-B_DgfjT4.woff2 +0 -0
  1105. package/dist/client/assets/noto-sans-vietnamese-600-normal-D0HZFEqa.woff +0 -0
  1106. package/dist/client/assets/noto-sans-vietnamese-600-normal-mhyQDSzg.woff2 +0 -0
  1107. package/dist/client/assets/noto-sans-vietnamese-700-normal-1GL2JyGE.woff +0 -0
  1108. package/dist/client/assets/noto-sans-vietnamese-700-normal-DayJ0F-f.woff2 +0 -0
  1109. package/dist/client/assets/open-sans-cyrillic-400-normal-DvjyhnTk.woff2 +0 -0
  1110. package/dist/client/assets/open-sans-cyrillic-400-normal-XMp_Qeuo.woff +0 -0
  1111. package/dist/client/assets/open-sans-cyrillic-500-normal-C0pJK5UH.woff2 +0 -0
  1112. package/dist/client/assets/open-sans-cyrillic-500-normal-K_-1AP7V.woff +0 -0
  1113. package/dist/client/assets/open-sans-cyrillic-600-normal-BuMhxFId.woff2 +0 -0
  1114. package/dist/client/assets/open-sans-cyrillic-600-normal-C5LXWJm_.woff +0 -0
  1115. package/dist/client/assets/open-sans-cyrillic-700-normal-Db4W_Rwa.woff2 +0 -0
  1116. package/dist/client/assets/open-sans-cyrillic-700-normal-FWckWEfO.woff +0 -0
  1117. package/dist/client/assets/open-sans-cyrillic-ext-400-normal-B28g4zcY.woff2 +0 -0
  1118. package/dist/client/assets/open-sans-cyrillic-ext-400-normal-CtkCLoLZ.woff +0 -0
  1119. package/dist/client/assets/open-sans-cyrillic-ext-500-normal-DLgW8Edg.woff2 +0 -0
  1120. package/dist/client/assets/open-sans-cyrillic-ext-500-normal-DnbrCPr9.woff +0 -0
  1121. package/dist/client/assets/open-sans-cyrillic-ext-600-normal-CivhzOCV.woff2 +0 -0
  1122. package/dist/client/assets/open-sans-cyrillic-ext-600-normal-DX5V8c14.woff +0 -0
  1123. package/dist/client/assets/open-sans-cyrillic-ext-700-normal-BWp9aGB1.woff2 +0 -0
  1124. package/dist/client/assets/open-sans-cyrillic-ext-700-normal-hbT5P32v.woff +0 -0
  1125. package/dist/client/assets/open-sans-greek-400-normal-BKm6CSmU.woff2 +0 -0
  1126. package/dist/client/assets/open-sans-greek-400-normal-yVf9KAAO.woff +0 -0
  1127. package/dist/client/assets/open-sans-greek-500-normal-BvKlOb5R.woff2 +0 -0
  1128. package/dist/client/assets/open-sans-greek-500-normal-DSi5u7Na.woff +0 -0
  1129. package/dist/client/assets/open-sans-greek-600-normal-CkCBI2Km.woff2 +0 -0
  1130. package/dist/client/assets/open-sans-greek-600-normal-Xt_394w2.woff +0 -0
  1131. package/dist/client/assets/open-sans-greek-700-normal-YcFp24oM.woff2 +0 -0
  1132. package/dist/client/assets/open-sans-greek-700-normal-bcfTBw-h.woff +0 -0
  1133. package/dist/client/assets/open-sans-hebrew-400-normal-C3uFZKNA.woff2 +0 -0
  1134. package/dist/client/assets/open-sans-hebrew-400-normal-Cowz_U6T.woff +0 -0
  1135. package/dist/client/assets/open-sans-hebrew-500-normal-BxL5gvA2.woff +0 -0
  1136. package/dist/client/assets/open-sans-hebrew-500-normal-CDpmdBH0.woff2 +0 -0
  1137. package/dist/client/assets/open-sans-hebrew-600-normal-CQztwT7q.woff2 +0 -0
  1138. package/dist/client/assets/open-sans-hebrew-600-normal-D7z6DfF6.woff +0 -0
  1139. package/dist/client/assets/open-sans-hebrew-700-normal-CZc_Q6SQ.woff +0 -0
  1140. package/dist/client/assets/open-sans-hebrew-700-normal-DnAL3HC_.woff2 +0 -0
  1141. package/dist/client/assets/open-sans-latin-400-normal-Bk63H6sG.woff2 +0 -0
  1142. package/dist/client/assets/open-sans-latin-400-normal-DKniycaP.woff +0 -0
  1143. package/dist/client/assets/open-sans-latin-500-normal-BxcNt415.woff +0 -0
  1144. package/dist/client/assets/open-sans-latin-500-normal-C0rntwkW.woff2 +0 -0
  1145. package/dist/client/assets/open-sans-latin-600-normal-C3dWW5mx.woff +0 -0
  1146. package/dist/client/assets/open-sans-latin-600-normal-Cp4N6AwT.woff2 +0 -0
  1147. package/dist/client/assets/open-sans-latin-700-normal-CZCQA30i.woff +0 -0
  1148. package/dist/client/assets/open-sans-latin-700-normal-CceUhp2e.woff2 +0 -0
  1149. package/dist/client/assets/open-sans-latin-ext-400-normal-BfzJ9CTS.woff +0 -0
  1150. package/dist/client/assets/open-sans-latin-ext-400-normal-URAvo6nN.woff2 +0 -0
  1151. package/dist/client/assets/open-sans-latin-ext-500-normal-BFKxrfUf.woff2 +0 -0
  1152. package/dist/client/assets/open-sans-latin-ext-500-normal-Ckq5M21C.woff +0 -0
  1153. package/dist/client/assets/open-sans-latin-ext-600-normal-CXDaa6Q7.woff2 +0 -0
  1154. package/dist/client/assets/open-sans-latin-ext-600-normal-YZ6Vktkr.woff +0 -0
  1155. package/dist/client/assets/open-sans-latin-ext-700-normal-DatbY7Hl.woff2 +0 -0
  1156. package/dist/client/assets/open-sans-latin-ext-700-normal-IE4yTLg1.woff +0 -0
  1157. package/dist/client/assets/open-sans-math-400-normal-C76BUjK0.woff2 +0 -0
  1158. package/dist/client/assets/open-sans-math-400-normal-Cs0GbA_j.woff +0 -0
  1159. package/dist/client/assets/open-sans-math-500-normal-CIx22CNi.woff2 +0 -0
  1160. package/dist/client/assets/open-sans-math-500-normal-YuOtWwwG.woff +0 -0
  1161. package/dist/client/assets/open-sans-math-600-normal-CWMKYWAo.woff +0 -0
  1162. package/dist/client/assets/open-sans-math-600-normal-DQ8cZjrd.woff2 +0 -0
  1163. package/dist/client/assets/open-sans-math-700-normal-B7X9EnEK.woff +0 -0
  1164. package/dist/client/assets/open-sans-math-700-normal-EYnC2qGX.woff2 +0 -0
  1165. package/dist/client/assets/open-sans-symbols-400-normal-B5VgOMNH.woff +0 -0
  1166. package/dist/client/assets/open-sans-symbols-400-normal-OZvd8qMe.woff2 +0 -0
  1167. package/dist/client/assets/open-sans-symbols-500-normal-Caj8aYkE.woff +0 -0
  1168. package/dist/client/assets/open-sans-symbols-500-normal-CiruYkOL.woff2 +0 -0
  1169. package/dist/client/assets/open-sans-symbols-600-normal-BiWokiHG.woff +0 -0
  1170. package/dist/client/assets/open-sans-symbols-600-normal-DgwZOEXg.woff2 +0 -0
  1171. package/dist/client/assets/open-sans-symbols-700-normal-DNvDgxgv.woff +0 -0
  1172. package/dist/client/assets/open-sans-symbols-700-normal-DfXrtqu8.woff2 +0 -0
  1173. package/dist/client/assets/open-sans-vietnamese-400-normal-DCU23d-J.woff +0 -0
  1174. package/dist/client/assets/open-sans-vietnamese-400-normal-Dqpvjuft.woff2 +0 -0
  1175. package/dist/client/assets/open-sans-vietnamese-500-normal-C2c3EQ5t.woff2 +0 -0
  1176. package/dist/client/assets/open-sans-vietnamese-500-normal-MWejWSJu.woff +0 -0
  1177. package/dist/client/assets/open-sans-vietnamese-600-normal-CVI-Ycr6.woff +0 -0
  1178. package/dist/client/assets/open-sans-vietnamese-600-normal-cWHhjaNO.woff2 +0 -0
  1179. package/dist/client/assets/open-sans-vietnamese-700-normal-BwQSBZ9d.woff +0 -0
  1180. package/dist/client/assets/open-sans-vietnamese-700-normal-C0rmKuKj.woff2 +0 -0
  1181. package/dist/client/assets/previewAssetResource-CXEgFBIp.js +48 -0
  1182. package/dist/client/assets/{renderFileChildren-Dvr45j3z.js → renderFileChildren-CQePFzqT.js} +2 -2
  1183. package/dist/client/assets/{toggle-group-DG7th1Qd.js → toggle-group-sN-3vxTh.js} +2 -2
  1184. package/dist/client/index.html +3 -3
  1185. package/package.json +1 -1
  1186. package/dist/client/assets/PreviewPanel-8lpqrtwj.js +0 -2
  1187. package/dist/client/assets/dm-sans-latin-ext-wght-normal-BOFOeGcA.woff2 +0 -0
  1188. package/dist/client/assets/dm-sans-latin-wght-normal-Xz1IZZA0.woff2 +0 -0
  1189. package/dist/client/assets/index-CCG5yNnZ.css +0 -1
  1190. package/dist/client/assets/previewAssetResource-CV43CzuE.js +0 -48
@@ -1,4 +1,4 @@
1
- import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{n as t,r as n,t as r}from"./compiler-runtime-CLAvuQ-D.js";import{$c as i,Dl as a,Dr as o,Ea as s,Et as c,Fa as l,Ll as ee,Ma as te,Ml as ne,Na as u,Nr as re,Pa as d,Qc as ie,Sr as f,Ta as p,Xc as m,Zc as h,_n as g,gl as _,gt as v,h as y,ht as b,ja as x,ot as S,ou as C,va as w,vt as T,x as ae,xa as E,xl as D,xn as O}from"./previewAssetResource-CV43CzuE.js";import{a as k,i as oe,n as A,o as j,r as M,s as N,t as se}from"./toggle-group-DG7th1Qd.js";import{F as ce,Fr as le,I as ue,J as de,L as fe,Lr as pe,Mr as me,Nr as he,R as P,Sr as ge,Y as _e,_ as ve,at as ye,ci as be,cr as xe,ct as Se,dr as Ce,fr as we,gr as Te,h as Ee,it as De,jr as Oe,lr as ke,lt as Ae,mr as je,oi as Me,or as Ne,ot as Pe,pr as Fe,rt as Ie,si as Le,sr as Re,st as ze,ur as Be,zr as Ve}from"./index-DcVyKG-L.js";import{a as He,n as Ue}from"./fileCommentAnnotations-BOtf5y-z.js";var We=i(`pilcrow`,[[`path`,{d:`M13 4v16`,key:`8vvj80`}],[`path`,{d:`M17 4v16`,key:`7dpous`}],[`path`,{d:`M19 4H9.5a4.5 4.5 0 0 0 0 9H13`,key:`sh4n9v`}]]),F=e(n(),1);function Ge({threadRef:e,filePath:t,activeCwd:n,openInEditor:r,openFileSurface:i}){if(e){if(i){i(t);return}S.getState().openFile(e,t);return}r(n?y(t,n):t)}var I=r();function Ke(e,t){let n=(0,I.c)(4),r=Te(e,t),i;return n[0]!==r.data||n[1]!==r.error||n[2]!==r.isPending?(i={data:r.data,error:r.error,isPending:r.isPending},n[0]=r.data,n[1]=r.error,n[2]=r.isPending,n[3]=i):i=n[3],i}var L=t(),qe=[];function Je(e){return(e.endSide??e.side)===`deletions`?`deletions`:`additions`}function R(e,t,n){let r=Je(t),i=e.findIndex(e=>e.side===r&&e.lineNumber===t.end);return i<0?[...e,{side:r,lineNumber:t.end,metadata:{entries:[n]}}]:e.map((e,t)=>t===i?{...e,metadata:{entries:[...e.metadata.entries,n]}}:e)}function Ye(e){let t=(0,I.c)(50),{files:n,sectionId:r,sectionTitle:i,composerDraftTarget:a,options:s,viewerRef:c,className:l,renderHeaderPrefix:ee}=e,te=f(Qe),ne=f(B),u;t[0]===a?u=t[1]:(u=e=>e.getComposerDraft(a)?.reviewComments??qe,t[0]=a,t[1]=u);let d=f(u),[ie,p]=(0,F.useState)(null),[m,h]=(0,F.useState)(null),g;t[2]===n?g=t[3]:(g=new Map(n.map(Ze)),t[2]=n,t[3]=g);let _=g,v;if(t[4]!==m||t[5]!==n||t[6]!==d||t[7]!==r){let e;t[9]!==m||t[10]!==d||t[11]!==r?(e=e=>{let{fileDiff:t,filePath:n,fileKey:i,collapsed:a}=e,o=d.filter(e=>e.sectionId===r&&e.filePath===n&&(e.fenceLanguage??`diff`)===`diff`).reduce((e,n)=>{let r=re(t,n);return r?R(e,r,{id:n.id,kind:`comment`,range:r,rangeLabel:n.rangeLabel,text:n.text}):e},[]),s=m?.fileKey===i?[...o,m.annotation]:o;return{id:i,type:`diff`,fileDiff:t,annotations:s,collapsed:a,version:De(`${a?`1`:`0`}:${s.flatMap(z).join(`:`)}`)}},t[9]=m,t[10]=d,t[11]=r,t[12]=e):e=t[12],v=n.map(e),t[4]=m,t[5]=n,t[6]=d,t[7]=r,t[8]=v}else v=t[8];let y=v,b;t[13]!==a||t[14]!==m?.annotation||t[15]!==ne?(b=e=>{p(null),m?.annotation.metadata.entries.some(t=>t.id===e)?h(null):ne(a,e)},t[13]=a,t[14]=m?.annotation,t[15]=ne,t[16]=b):b=t[16];let x=b,S;t[17]!==te||t[18]!==a||t[19]!==m||t[20]!==_||t[21]!==r||t[22]!==i?(S=(e,t)=>{let n=m?.annotation.metadata.entries.find(t=>t.id===e),s=m?_.get(m.fileKey):void 0;if(!n||!s)return;let c=o({id:n.id,sectionId:r,sectionTitle:i,filePath:s.filePath,fileDiff:s.fileDiff,range:n.range,text:t});c&&te(a,c),p(null),h(null)},t[17]=te,t[18]=a,t[19]=m,t[20]=_,t[21]=r,t[22]=i,t[23]=S):S=t[23];let C=S,w;t[24]!==_||t[25]!==r||t[26]!==i?(w=(e,t)=>{if(!e)return;let n=t.item;if(n.type!==`diff`)return;let a=_.get(n.id);if(!a)return;let s=Ue(),c=o({id:s,sectionId:r,sectionTitle:i,filePath:a.filePath,fileDiff:a.fileDiff,range:e,text:``});c&&h({fileKey:n.id,annotation:{side:Je(e),lineNumber:e.end,metadata:{entries:[{id:s,kind:`draft`,range:e,rangeLabel:c.rangeLabel,text:``}]}}})},t[24]=_,t[25]=r,t[26]=i,t[27]=w):w=t[27];let T=w,ae=m!==null,E;t[28]===c?E=t[29]:(E=c?{ref:c}:{},t[28]=c,t[29]=E);let D;t[30]===l?D=t[31]:(D=l?{className:l}:{},t[30]=l,t[31]=D);let O=!ae,oe=!ae,A;t[32]!==T||t[33]!==s||t[34]!==oe||t[35]!==O?(A={...s,enableGutterUtility:O,enableLineSelection:oe,onLineSelectionEnd:T},t[32]=T,t[33]=s,t[34]=oe,t[35]=O,t[36]=A):A=t[36];let j;t[37]===ee?j=t[38]:(j=e=>e.type===`diff`?ee(e.fileDiff,e.id,e.collapsed===!0):null,t[37]=ee,t[38]=j);let M;t[39]!==x||t[40]!==C?(M=e=>(0,L.jsx)(`div`,{className:`py-1`,children:e.metadata.entries.map(e=>(0,L.jsx)(He,{kind:e.kind,rangeLabel:e.rangeLabel,text:e.text,onCancel:()=>x(e.id),onComment:t=>C(e.id,t),onDelete:()=>x(e.id)},e.id))}),t[39]=x,t[40]=C,t[41]=M):M=t[41];let N;return t[42]!==y||t[43]!==ie||t[44]!==A||t[45]!==j||t[46]!==M||t[47]!==E||t[48]!==D?(N=(0,L.jsx)(k,{...E,...D,items:y,selectedLines:ie,onSelectedLinesChange:p,options:A,renderHeaderPrefix:j,renderAnnotation:M}),t[42]=y,t[43]=ie,t[44]=A,t[45]=j,t[46]=M,t[47]=E,t[48]=D,t[49]=N):N=t[49],N}function z(e){return e.metadata.entries.map(Xe)}function Xe(e){return`${e.id}:${e.rangeLabel}:${e.text}`}function Ze(e){return[e.fileKey,e]}function B(e){return e.removeReviewComment}function Qe(e){return e.addReviewComment}function $e(e){return{diffPreview:D(e,{label:`environment-data:review:diff-preview`,tag:C.reviewGetDiffPreview,staleTimeMs:5e3})}}var et=$e(O);function V(e){return e.remoteName&&e.name.startsWith(`${e.remoteName}/`)?e.name.slice(e.remoteName.length+1):e.name}function tt(e,t){let n=new Set(t),r=e.map(e=>{let r=t.filter(t=>n.has(t)&&V(t)===e.name),i=r.find(e=>e.remoteName===`origin`)??r[0]??null;return i&&n.delete(i),{id:`local:${e.name}`,label:e.name,local:e,remote:i}}),i=t.filter(e=>n.has(e)).map(e=>({id:`remote:${e.name}`,label:e.name,local:null,remote:e}));return[...r,...i]}function nt(e,t){let n=t.trim().toLocaleLowerCase();return n.length===0?e:e.filter(e=>e.label.toLocaleLowerCase().includes(n)||e.local?.name.toLocaleLowerCase().includes(n)===!0||e.remote?.name.toLocaleLowerCase().includes(n)===!0)}var H=`__automatic_base_ref__`,rt=new Set,it=`
1
+ import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{n as t,r as n,t as r}from"./compiler-runtime-CLAvuQ-D.js";import{$c as i,Dl as a,Dr as o,Ea as s,Et as c,Fa as l,Ll as ee,Ma as te,Ml as ne,Na as u,Nr as re,Pa as d,Qc as ie,Sr as f,Ta as p,Xc as m,Zc as h,_n as g,gl as _,gt as v,h as y,ht as b,ja as x,ot as S,ou as C,va as w,vt as T,x as ae,xa as E,xl as D,xn as O}from"./previewAssetResource-CXEgFBIp.js";import{a as k,i as oe,n as A,o as j,r as M,s as N,t as se}from"./toggle-group-sN-3vxTh.js";import{F as ce,Fr as le,I as ue,J as de,L as fe,Lr as pe,Mr as me,Nr as he,R as P,Sr as ge,Y as _e,_ as ve,at as ye,ci as be,cr as xe,ct as Se,dr as Ce,fr as we,gr as Te,h as Ee,it as De,jr as Oe,lr as ke,lt as Ae,mr as je,oi as Me,or as Ne,ot as Pe,pr as Fe,rt as Ie,si as Le,sr as Re,st as ze,ur as Be,zr as Ve}from"./index-BMfIngdZ.js";import{a as He,n as Ue}from"./fileCommentAnnotations-Bm2-xw0A.js";var We=i(`pilcrow`,[[`path`,{d:`M13 4v16`,key:`8vvj80`}],[`path`,{d:`M17 4v16`,key:`7dpous`}],[`path`,{d:`M19 4H9.5a4.5 4.5 0 0 0 0 9H13`,key:`sh4n9v`}]]),F=e(n(),1);function Ge({threadRef:e,filePath:t,activeCwd:n,openInEditor:r,openFileSurface:i}){if(e){if(i){i(t);return}S.getState().openFile(e,t);return}r(n?y(t,n):t)}var I=r();function Ke(e,t){let n=(0,I.c)(4),r=Te(e,t),i;return n[0]!==r.data||n[1]!==r.error||n[2]!==r.isPending?(i={data:r.data,error:r.error,isPending:r.isPending},n[0]=r.data,n[1]=r.error,n[2]=r.isPending,n[3]=i):i=n[3],i}var L=t(),qe=[];function Je(e){return(e.endSide??e.side)===`deletions`?`deletions`:`additions`}function R(e,t,n){let r=Je(t),i=e.findIndex(e=>e.side===r&&e.lineNumber===t.end);return i<0?[...e,{side:r,lineNumber:t.end,metadata:{entries:[n]}}]:e.map((e,t)=>t===i?{...e,metadata:{entries:[...e.metadata.entries,n]}}:e)}function Ye(e){let t=(0,I.c)(50),{files:n,sectionId:r,sectionTitle:i,composerDraftTarget:a,options:s,viewerRef:c,className:l,renderHeaderPrefix:ee}=e,te=f(Qe),ne=f(B),u;t[0]===a?u=t[1]:(u=e=>e.getComposerDraft(a)?.reviewComments??qe,t[0]=a,t[1]=u);let d=f(u),[ie,p]=(0,F.useState)(null),[m,h]=(0,F.useState)(null),g;t[2]===n?g=t[3]:(g=new Map(n.map(Ze)),t[2]=n,t[3]=g);let _=g,v;if(t[4]!==m||t[5]!==n||t[6]!==d||t[7]!==r){let e;t[9]!==m||t[10]!==d||t[11]!==r?(e=e=>{let{fileDiff:t,filePath:n,fileKey:i,collapsed:a}=e,o=d.filter(e=>e.sectionId===r&&e.filePath===n&&(e.fenceLanguage??`diff`)===`diff`).reduce((e,n)=>{let r=re(t,n);return r?R(e,r,{id:n.id,kind:`comment`,range:r,rangeLabel:n.rangeLabel,text:n.text}):e},[]),s=m?.fileKey===i?[...o,m.annotation]:o;return{id:i,type:`diff`,fileDiff:t,annotations:s,collapsed:a,version:De(`${a?`1`:`0`}:${s.flatMap(z).join(`:`)}`)}},t[9]=m,t[10]=d,t[11]=r,t[12]=e):e=t[12],v=n.map(e),t[4]=m,t[5]=n,t[6]=d,t[7]=r,t[8]=v}else v=t[8];let y=v,b;t[13]!==a||t[14]!==m?.annotation||t[15]!==ne?(b=e=>{p(null),m?.annotation.metadata.entries.some(t=>t.id===e)?h(null):ne(a,e)},t[13]=a,t[14]=m?.annotation,t[15]=ne,t[16]=b):b=t[16];let x=b,S;t[17]!==te||t[18]!==a||t[19]!==m||t[20]!==_||t[21]!==r||t[22]!==i?(S=(e,t)=>{let n=m?.annotation.metadata.entries.find(t=>t.id===e),s=m?_.get(m.fileKey):void 0;if(!n||!s)return;let c=o({id:n.id,sectionId:r,sectionTitle:i,filePath:s.filePath,fileDiff:s.fileDiff,range:n.range,text:t});c&&te(a,c),p(null),h(null)},t[17]=te,t[18]=a,t[19]=m,t[20]=_,t[21]=r,t[22]=i,t[23]=S):S=t[23];let C=S,w;t[24]!==_||t[25]!==r||t[26]!==i?(w=(e,t)=>{if(!e)return;let n=t.item;if(n.type!==`diff`)return;let a=_.get(n.id);if(!a)return;let s=Ue(),c=o({id:s,sectionId:r,sectionTitle:i,filePath:a.filePath,fileDiff:a.fileDiff,range:e,text:``});c&&h({fileKey:n.id,annotation:{side:Je(e),lineNumber:e.end,metadata:{entries:[{id:s,kind:`draft`,range:e,rangeLabel:c.rangeLabel,text:``}]}}})},t[24]=_,t[25]=r,t[26]=i,t[27]=w):w=t[27];let T=w,ae=m!==null,E;t[28]===c?E=t[29]:(E=c?{ref:c}:{},t[28]=c,t[29]=E);let D;t[30]===l?D=t[31]:(D=l?{className:l}:{},t[30]=l,t[31]=D);let O=!ae,oe=!ae,A;t[32]!==T||t[33]!==s||t[34]!==oe||t[35]!==O?(A={...s,enableGutterUtility:O,enableLineSelection:oe,onLineSelectionEnd:T},t[32]=T,t[33]=s,t[34]=oe,t[35]=O,t[36]=A):A=t[36];let j;t[37]===ee?j=t[38]:(j=e=>e.type===`diff`?ee(e.fileDiff,e.id,e.collapsed===!0):null,t[37]=ee,t[38]=j);let M;t[39]!==x||t[40]!==C?(M=e=>(0,L.jsx)(`div`,{className:`py-1`,children:e.metadata.entries.map(e=>(0,L.jsx)(He,{kind:e.kind,rangeLabel:e.rangeLabel,text:e.text,onCancel:()=>x(e.id),onComment:t=>C(e.id,t),onDelete:()=>x(e.id)},e.id))}),t[39]=x,t[40]=C,t[41]=M):M=t[41];let N;return t[42]!==y||t[43]!==ie||t[44]!==A||t[45]!==j||t[46]!==M||t[47]!==E||t[48]!==D?(N=(0,L.jsx)(k,{...E,...D,items:y,selectedLines:ie,onSelectedLinesChange:p,options:A,renderHeaderPrefix:j,renderAnnotation:M}),t[42]=y,t[43]=ie,t[44]=A,t[45]=j,t[46]=M,t[47]=E,t[48]=D,t[49]=N):N=t[49],N}function z(e){return e.metadata.entries.map(Xe)}function Xe(e){return`${e.id}:${e.rangeLabel}:${e.text}`}function Ze(e){return[e.fileKey,e]}function B(e){return e.removeReviewComment}function Qe(e){return e.addReviewComment}function $e(e){return{diffPreview:D(e,{label:`environment-data:review:diff-preview`,tag:C.reviewGetDiffPreview,staleTimeMs:5e3})}}var et=$e(O);function V(e){return e.remoteName&&e.name.startsWith(`${e.remoteName}/`)?e.name.slice(e.remoteName.length+1):e.name}function tt(e,t){let n=new Set(t),r=e.map(e=>{let r=t.filter(t=>n.has(t)&&V(t)===e.name),i=r.find(e=>e.remoteName===`origin`)??r[0]??null;return i&&n.delete(i),{id:`local:${e.name}`,label:e.name,local:e,remote:i}}),i=t.filter(e=>n.has(e)).map(e=>({id:`remote:${e.name}`,label:e.name,local:null,remote:e}));return[...r,...i]}function nt(e,t){let n=t.trim().toLocaleLowerCase();return n.length===0?e:e.filter(e=>e.label.toLocaleLowerCase().includes(n)||e.local?.name.toLocaleLowerCase().includes(n)===!0||e.remote?.name.toLocaleLowerCase().includes(n)===!0)}var H=`__automatic_base_ref__`,rt=new Set,it=`
2
2
  [data-diffs-header],
3
3
  [data-diff],
4
4
  [data-file],
@@ -95,4 +95,4 @@ import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{n as t,r as n,t as r}f
95
95
  text-decoration-color: currentColor;
96
96
  }
97
97
  `;function U({mode:e=`inline`,composerDraftTarget:t,initialGitScope:n,threadRef:r}){let{resolvedTheme:i}=ae(),o=le(),[re]=(0,F.useState)(n),[f,y]=(0,F.useState)(`stacked`),[S,C]=(0,F.useState)(o.wordWrap),[D,O]=(0,F.useState)(o.diffIgnoreWhitespace),[k,ve]=(0,F.useState)(``),[Te,De]=(0,F.useState)(()=>({scopeKey:null,fileKeys:rt})),He=(0,F.useRef)(null),Ue=r.threadId,I=he(r),qe=I?.projectId??null,Je=me(I&&qe?{environmentId:I.environmentId,projectId:qe}:null),R=I?.worktreePath??Je?.workspaceRoot,z=_(g.configValueAtom(I?.environmentId??null)),Xe=je(I?.environmentId??null,z?.availableEditors??[]),Ze=c(I!=null&&R!=null?Oe.status({environmentId:I.environmentId,input:{cwd:R}}):null),B=P(e=>fe(e.byThreadKey,r,re===`unstaged`)),Qe=Ze.data?.isRepo??!0,{turnDiffSummaries:$e,inferredCheckpointTurnCountByTurnId:V}=ue(I),U=(0,F.useMemo)(()=>[...$e].toSorted((e,t)=>{let n=e.checkpointTurnCount??V[e.turnId]??0,r=t.checkpointTurnCount??V[t.turnId]??0;return n===r?t.completedAt.localeCompare(e.completedAt):r-n}),[V,$e]);(0,F.useEffect)(()=>{B.kind===`turn`&&P.getState().reconcileTurnSelection(r,U.map(e=>e.turnId))},[B,U,r]);let W=B.kind===`turn`?B.turnId:null,G=B.kind===`unstaged`?`unstaged`:`branch`,K=B.kind===`branch`?B.baseRef:null,at=B.kind===`turn`?B.filePath:null,ot=B.kind===`turn`?B.revealRequestId:0,q=W===null?void 0:U.find(e=>e.turnId===W)??U[0],J=q&&(q.checkpointTurnCount??V[q.turnId]),st=U[0],ct=W===null?G===`unstaged`?`Working tree`:`Branch changes`:q?.turnId===st?.turnId?`Latest turn`:`Turn ${J??`?`}`,lt=q?`turn:${q.turnId}`:G,Y=`${r.environmentId}:${r.threadId}:${lt}`,ut=Te.scopeKey===Y?Te.fileKeys:rt,dt=q?`Turn ${J??`?`}`:G===`unstaged`?`Working tree`:`Branch changes`,ft=(0,F.useMemo)(()=>typeof J==`number`?{fromTurnCount:Math.max(0,J-1),toTurnCount:J}:null,[J]),pt=Ke({environmentId:I?.environmentId??null,threadId:Ue,fromTurnCount:ft?.fromTurnCount??null,toTurnCount:ft?.toTurnCount??null,ignoreWhitespace:D,cacheScope:q?`turn:${q.turnId}`:null},{enabled:Qe&&q!==void 0}),mt=c(W===null&&I&&R?et.diffPreview({environmentId:I.environmentId,input:{cwd:R,...K?{baseRef:K}:{},ignoreWhitespace:D}}):null),ht=W===null&&mt.error?.includes(`configured workspace root`)===!0&&z?.cwd!==void 0&&z.cwd!==R,gt=c(ht&&I&&z?et.diffPreview({environmentId:I.environmentId,input:{cwd:z.cwd,...K?{baseRef:K}:{},ignoreWhitespace:D}}):null),X=ht?gt:mt,Z=X.data?.sources.find(e=>e.kind===(G===`unstaged`?`working-tree`:`branch-range`)),_t=c(W===null&&G===`branch`&&I&&X.data?.cwd?Oe.listRefs({environmentId:I.environmentId,input:{cwd:X.data.cwd,includeMatchingRemoteRefs:!0,refKind:`local`,...k.trim().length>0?{query:k.trim()}:{},limit:100}}):null),vt=c(W===null&&G===`branch`&&I&&X.data?.cwd?Oe.listRefs({environmentId:I.environmentId,input:{cwd:X.data.cwd,includeMatchingRemoteRefs:!0,refKind:`remote`,...k.trim().length>0?{query:k.trim()}:{},limit:100}}):null),yt=tt(_t.data?.refs.filter(e=>e.name!==Z?.headRef)??[],vt.data?.refs??[]),bt=nt(yt,k),xt=e=>K&&K===e.remote?.name?K:e.local?.name??e.remote?.name??e.id,St=[H,...yt.map(xt)],Ct=[...k.trim().length===0?[H]:[],...bt.map(xt)],wt=Z?.diff,Tt=q?pt.data?.diff:wt,Et=!q&&Z?.truncated===!0,Dt=q?pt.isPending:X.isPending,Ot=q?pt.error:X.error,kt=typeof Tt==`string`&&Tt.trim().length===0,Q=(0,F.useMemo)(()=>ze(Tt,`diff-panel:${i}`,{compactPartialHunkOffsets:W===null}),[i,Tt,W]),At=(0,F.useMemo)(()=>!Q||Q.kind!==`files`?[]:Q.files.toSorted((e,t)=>Ae(e).localeCompare(Ae(t),void 0,{numeric:!0,sensitivity:`base`})),[Q]),$=(0,F.useMemo)(()=>At.map(e=>{let t=Ie(e);return{fileDiff:e,filePath:Ae(e),fileKey:t,collapsed:ut.has(t)}}),[ut,At]),jt=(0,F.useMemo)(()=>$.map(e=>e.fileKey),[$]),Mt=M(jt,ut),Nt=(0,F.useMemo)(()=>Pe(At),[At]);(0,F.useEffect)(()=>{if(!at)return;let e=$.find(e=>e.filePath===at);e&&He.current?.scrollTo({type:`item`,id:e.fileKey,align:`start`})},[$,at,ot]);let Pt=ce({threadRef:r,workspaceRoot:R??null}),Ft=(0,F.useCallback)(e=>{Ge({threadRef:r,filePath:e,activeCwd:R,openFileSurface:Pt,openInEditor:e=>{(async()=>{let t=await Xe(e);t._tag===`Failure`&&!a(t)&&console.warn(`Failed to open diff file in editor.`,{operation:`open-diff-file`,environmentId:r.environmentId,threadId:r.threadId,...ee(ne(t))})})()}})},[R,Pt,Xe,r]),It=(0,F.useCallback)(e=>{De(t=>{let n=new Set(t.scopeKey===Y?t.fileKeys:[]);return n.has(e)?n.delete(e):n.add(e),{scopeKey:Y,fileKeys:n}})},[Y]),Lt=(0,F.useCallback)(()=>{De(e=>{let t=e.scopeKey===Y?e.fileKeys:rt;return{scopeKey:Y,fileKeys:oe(jt,t)}})},[Y,jt]),Rt=e=>{P.getState().selectTurn(r,e)},zt=e=>{P.getState().selectGitScope(r,e)},Bt=e=>{P.getState().selectBranchBaseRef(r,e)};return(0,L.jsx)(_e,{mode:e,header:(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(`div`,{className:`flex min-w-0 flex-1 items-center gap-3 [-webkit-app-region:no-drag]`,children:[(0,L.jsxs)(E,{children:[(0,L.jsxs)(d,{className:`inline-flex h-6 max-w-full items-center gap-1 rounded-md bg-muted/70 px-2 text-xs font-medium text-foreground outline-none transition-colors hover:bg-muted focus-visible:ring-2 focus-visible:ring-ring`,"aria-label":`Diff scope: ${ct}`,children:[(0,L.jsx)(`span`,{className:`truncate`,children:ct}),(0,L.jsx)(h,{className:`size-3.5 shrink-0 text-muted-foreground`})]}),(0,L.jsxs)(s,{align:`start`,className:`w-60`,children:[(0,L.jsx)(p,{className:W===null&&G===`unstaged`?`bg-foreground/[0.08]`:void 0,onClick:()=>zt(`unstaged`),children:(0,L.jsx)(`span`,{children:`Working tree`})}),(0,L.jsx)(p,{className:W===null&&G===`branch`?`bg-foreground/[0.08]`:void 0,onClick:()=>zt(`branch`),children:(0,L.jsx)(`span`,{children:`Branch changes`})}),(0,L.jsx)(p,{className:W!==null&&q?.turnId===st?.turnId?`bg-foreground/[0.08]`:void 0,onClick:()=>{st&&Rt(st.turnId)},children:(0,L.jsx)(`span`,{children:`Latest turn`})}),(0,L.jsxs)(x,{children:[(0,L.jsx)(u,{children:`Turn`}),(0,L.jsx)(te,{className:`w-64`,children:U.map(e=>{let t=e.checkpointTurnCount??V[e.turnId]??`?`;return(0,L.jsxs)(p,{className:e.turnId===q?.turnId?`bg-foreground/[0.08]`:void 0,onClick:()=>Rt(e.turnId),children:[(0,L.jsxs)(`span`,{children:[`Turn `,t]}),(0,L.jsx)(`span`,{className:`ml-auto text-xs tabular-nums text-muted-foreground`,children:ge(e.completedAt,o.timestampFormat)})]},e.turnId)})})]})]})]}),W===null&&G===`branch`&&Z?.baseRef&&(0,L.jsxs)(`div`,{className:`flex min-w-0 max-w-full items-center gap-2 overflow-hidden text-xs text-muted-foreground`,title:`${Z.headRef??`HEAD`} → ${Z.baseRef}`,"aria-label":`Comparing ${Z.headRef??`HEAD`} against ${Z.baseRef}`,children:[(0,L.jsx)(`span`,{className:`min-w-0 max-w-48 truncate`,children:Z.headRef??`HEAD`}),(0,L.jsx)(be,{className:`size-3.5 shrink-0 opacity-70`}),(0,L.jsxs)(Re,{items:St,filteredItems:Ct,value:K??H,onOpenChange:e=>{e||ve(``)},onValueChange:e=>{e&&Bt(e===H?null:e)},children:[(0,L.jsxs)(Fe,{className:`inline-flex min-w-0 max-w-48 items-center gap-1 overflow-hidden rounded-md px-1.5 py-1 outline-none transition-colors hover:bg-muted hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring`,"aria-label":`Change comparison target. Currently ${Z.baseRef}`,children:[(0,L.jsx)(`span`,{className:`min-w-0 truncate`,children:Z.baseRef}),(0,L.jsx)(h,{className:`size-3.5 shrink-0 opacity-70`})]}),(0,L.jsxs)(we,{align:`start`,className:`w-72 min-w-0 max-w-[calc(100vw-1rem)] overflow-hidden [&>[data-slot=combobox-popup]]:min-w-0 [&>[data-slot=combobox-popup]]:overflow-hidden`,children:[(0,L.jsx)(`div`,{className:`min-w-0 shrink-0 px-3 pt-2.5`,children:(0,L.jsxs)(`div`,{className:`relative -translate-y-px border-b border-border/70 pb-1.5 transition-colors focus-within:border-ring`,children:[(0,L.jsx)(Ve,{"aria-hidden":`true`,className:`pointer-events-none absolute top-1.5 left-0 size-4 shrink-0 text-muted-foreground/55`}),(0,L.jsx)(ke,{className:`[&_input]:h-6.5 [&_input]:ps-5 [&_input]:font-sans [&_input]:leading-6.5`,inputClassName:`rounded-none bg-transparent text-sm`,placeholder:`Search refs...`,showTrigger:!1,size:`sm`,unstyled:!0,value:k,onChange:e=>ve(e.target.value)})]})}),(0,L.jsxs)(`div`,{className:`grid shrink-0 grid-cols-[1rem_minmax(0,1fr)] items-center gap-2 border-b border-border/70 ps-3 pe-6.5 pt-2 pb-1.5 font-medium text-[10px] text-muted-foreground uppercase tracking-wide`,children:[(0,L.jsx)(`span`,{"aria-hidden":`true`}),(0,L.jsxs)(`div`,{className:`grid min-w-0 grid-cols-[minmax(0,1fr)_2rem] items-center`,children:[(0,L.jsx)(`span`,{children:`Branch`}),(0,L.jsx)(`span`,{className:`text-right`,children:`Remote`})]})]}),(0,L.jsx)(xe,{children:`No matching refs.`}),(0,L.jsxs)(Ce,{className:`max-h-64 min-w-0 overflow-x-hidden`,children:[(0,L.jsx)(Be,{className:`h-8 w-full min-w-0 grid-cols-[1rem_minmax(0,1fr)] py-0`,contentClassName:`w-full min-w-0 overflow-hidden`,value:H,children:(0,L.jsx)(`span`,{className:`block min-w-0 truncate`,children:`Automatic`})}),yt.map(e=>{let t=xt(e),n=e.local!==null&&e.remote!==null,r=e.remote?.name===t;return(0,L.jsx)(Be,{className:`h-8 w-full min-w-0 grid-cols-[1rem_minmax(0,1fr)] py-0`,contentClassName:`w-full min-w-0 overflow-hidden`,value:t,children:(0,L.jsxs)(`div`,{className:`grid w-full min-w-0 grid-cols-[minmax(0,1fr)_2rem] items-center overflow-hidden`,children:[(0,L.jsx)(`span`,{className:`block min-w-0 truncate pe-2`,children:e.label}),n?(0,L.jsx)(`div`,{className:`flex justify-end`,onClick:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation(),children:(0,L.jsx)(Ne,{"aria-label":`Use remote version of ${e.label}`,checked:r,className:`[--thumb-size:--spacing(3)]`,onCheckedChange:t=>{let n=t?e.remote?.name:e.local?.name;n&&Bt(n)}})}):e.remote?(0,L.jsx)(`span`,{className:`flex justify-end text-muted-foreground`,title:`Remote only`,children:(0,L.jsx)(ie,{"aria-hidden":`true`,className:`size-3`})}):null]})},e.id)})]})]})]})]})]}),(0,L.jsxs)(`div`,{className:`flex shrink-0 items-center gap-1 [-webkit-app-region:no-drag]`,children:[$.length>0&&(0,L.jsx)(Ee,{additions:Nt.additions,deletions:Nt.deletions,className:`mr-1 text-[11px]`,layout:`inline`}),$.length>0&&(0,L.jsxs)(b,{children:[(0,L.jsx)(T,{render:(0,L.jsx)(w,{type:`button`,size:`icon-xs`,variant:`outline`,"aria-label":Mt?`Expand all files`:`Collapse all files`,onClick:Lt}),children:Mt?(0,L.jsx)(Me,{className:`size-3`}):(0,L.jsx)(Le,{className:`size-3`})}),(0,L.jsx)(v,{side:`top`,children:Mt?`Expand all files`:`Collapse all files`})]}),(0,L.jsxs)(A,{className:`shrink-0`,variant:`outline`,size:`xs`,value:[f],onValueChange:e=>{let t=e[0];(t===`stacked`||t===`split`)&&y(t)},children:[(0,L.jsx)(se,{"aria-label":`Stacked diff view`,value:`stacked`,children:(0,L.jsx)(j,{className:`size-3`})}),(0,L.jsx)(se,{"aria-label":`Split diff view`,value:`split`,children:(0,L.jsx)(N,{className:`size-3`})})]}),(0,L.jsxs)(b,{children:[(0,L.jsx)(T,{render:(0,L.jsx)(se,{"aria-label":S?`Disable diff line wrapping`:`Enable diff line wrapping`,variant:`outline`,size:`xs`,pressed:S,onPressedChange:e=>{C(!!e)}}),children:(0,L.jsx)(pe,{className:`size-3`})}),(0,L.jsx)(v,{side:`top`,children:S?`Disable line wrapping`:`Enable line wrapping`})]}),(0,L.jsxs)(b,{children:[(0,L.jsx)(T,{render:(0,L.jsx)(se,{"aria-label":D?`Show whitespace changes`:`Hide whitespace changes`,variant:`outline`,size:`xs`,pressed:D,onPressedChange:e=>{O(!!e)}}),children:(0,L.jsx)(We,{className:`size-3`})}),(0,L.jsx)(v,{side:`top`,children:D?`Show whitespace changes`:`Hide whitespace changes`})]})]})]}),children:I?Qe?W!==null&&U.length===0?(0,L.jsx)(`div`,{className:`flex flex-1 items-center justify-center px-5 text-center text-xs text-muted-foreground/70`,children:`No completed turns yet.`}):(0,L.jsx)(L.Fragment,{children:(0,L.jsxs)(`div`,{className:`diff-panel-viewport flex min-h-0 min-w-0 flex-1 flex-col overflow-hidden`,children:[Et&&(0,L.jsx)(`p`,{className:`shrink-0 border-b border-border/70 bg-muted/40 px-3 py-1.5 text-[11px] text-muted-foreground`,children:`This diff was truncated because it exceeded the preview limit. The changes shown are incomplete.`}),Ot&&!Q&&(0,L.jsx)(`div`,{className:`px-3`,children:(0,L.jsx)(`p`,{className:`mb-2 text-[11px] text-red-500/80`,children:Ot})}),Q?Q.kind===`files`?(0,L.jsx)(`div`,{className:`min-h-0 flex-1`,onClickCapture:e=>{let t=(e.nativeEvent.composedPath?.()??[]).find(e=>e instanceof HTMLElement&&e.hasAttribute(`data-title`))?.textContent?.trim();t&&Ft(t)},children:(0,L.jsx)(Ye,{viewerRef:He,className:`diff-render-surface h-full min-h-0 overflow-auto`,files:$,sectionId:lt,sectionTitle:dt,composerDraftTarget:t,renderHeaderPrefix:(e,t,n)=>{let r=Ae(e);return(0,L.jsxs)(b,{children:[(0,L.jsx)(T,{render:(0,L.jsx)(`button`,{type:`button`,className:l(`inline-flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-sm border-0 bg-transparent p-0 transition-colors hover:bg-foreground/10 focus-visible:outline-hidden`,ye(e)),"aria-label":n?`Expand ${r}`:`Collapse ${r}`,"aria-expanded":!n,onClick:e=>{e.stopPropagation(),It(t)}}),children:n?(0,L.jsx)(m,{className:`size-4`}):(0,L.jsx)(h,{className:`size-4`})}),(0,L.jsx)(v,{side:`top`,children:n?`Expand diff`:`Collapse diff`})]})},options:{diffStyle:f===`split`?`split`:`unified`,lineDiffType:`none`,overflow:S?`wrap`:`scroll`,theme:Se(i),themeType:i,unsafeCSS:it,stickyHeaders:!0,itemMetrics:{diffHeaderHeight:33},layout:{paddingTop:0,paddingBottom:8,gap:8}}},Y??lt)}):(0,L.jsx)(`div`,{className:`min-h-0 flex-1 overflow-auto p-2`,children:(0,L.jsxs)(`div`,{className:`space-y-2`,children:[(0,L.jsx)(`p`,{className:`text-[11px] text-muted-foreground/75`,children:Q.reason}),(0,L.jsx)(`pre`,{className:l(`max-h-[72vh] rounded-md border border-border/70 bg-background/70 p-3 font-mono text-[11px] leading-relaxed text-muted-foreground/90`,S?`overflow-auto whitespace-pre-wrap wrap-break-word`:`overflow-auto`),children:Q.text})]})}):Dt?(0,L.jsx)(de,{label:q?`Loading checkpoint diff...`:G===`unstaged`?`Loading working tree diff...`:`Loading branch diff...`}):(0,L.jsx)(`div`,{className:`flex h-full items-center justify-center px-3 py-2 text-xs text-muted-foreground/70`,children:(0,L.jsx)(`p`,{children:kt?`No net changes in this selection.`:`No patch available for this selection.`})})]})}):(0,L.jsx)(`div`,{className:`flex flex-1 items-center justify-center px-5 text-center text-xs text-muted-foreground/70`,children:`Turn diffs are unavailable because this project is not a git repository.`}):(0,L.jsx)(`div`,{className:`flex flex-1 items-center justify-center px-5 text-center text-xs text-muted-foreground/70`,children:`Select a thread to inspect turn diffs.`})})}export{ve as DiffWorkerPoolProvider,U as default};
98
- //# sourceMappingURL=DiffPanel-Cclcn37f.js.map
98
+ //# sourceMappingURL=DiffPanel-BGO6aQhc.js.map
@@ -1,4 +1,4 @@
1
- import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{n as t,r as n,t as r}from"./compiler-runtime-CLAvuQ-D.js";import{$c as i,At as a,Dl as o,Fa as s,G as c,Gc as l,Ml as u,Or as d,Ot as f,Sf as p,Sr as m,Xc as h,al as g,dt as _,ft as v,gt as y,h as b,ht as x,mt as S,n as C,o as w,ol as T,st as E,va as D,vt as O,wt as ee,x as k,xt as te,yt as A}from"./previewAssetResource-CV43CzuE.js";import{n as j,r as M,t as N}from"./renderFileChildren-Dvr45j3z.js";import{$ as ne,Ar as re,Bn as ie,Cn as ae,Cr as oe,D as se,E as ce,Fn as le,Fr as ue,Gn as de,Gt as fe,Hn as pe,Hr as P,Ht as me,Jr as he,Jt as ge,Kn as F,Kt as _e,Mn as ve,Pr as ye,T as be,Un as xe,Ut as Se,Vn as Ce,Wn as we,Z as Te,Zr as I,_r as Ee,_t as De,an as Oe,b as ke,bn as Ae,br as je,ct as Me,d as Ne,ei as Pe,et as Fe,f as Ie,fn as Le,gt as Re,hr as ze,ii as Be,kr as Ve,l as He,m as Ue,on as We,p as Ge,qn as Ke,ri as qe,ti as Je,tt as Ye,u as Xe,v as Ze,vr as Qe,w as $e,wn as et,x as tt,y as nt,yr as rt,zr as it}from"./index-DcVyKG-L.js";import{a as at,i as ot,n as st,r as L,t as R}from"./fileCommentAnnotations-BOtf5y-z.js";var ct=i(`file-question-mark`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}],[`path`,{d:`M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3`,key:`mhlwft`}]]),lt=i(`folder-tree`,[[`path`,{d:`M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`,key:`hod4my`}],[`path`,{d:`M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`,key:`w4yl2u`}],[`path`,{d:`M3 5a2 2 0 0 0 2 2h3`,key:`f2jnh7`}],[`path`,{d:`M3 3v13a2 2 0 0 0 2 2h3`,key:`k8epm1`}]]),ut=`file-tree-container`,dt=`data-file-tree-style`,ft=`data-file-tree-unsafe-css`,pt=`data-file-tree-scrollbar-measure`,mt=`data-file-tree-scrollbar-gutter-measured`,ht=`--trees-scrollbar-gutter-measured`,gt=`header`,_t=`context-menu`,vt=`context-menu-trigger`,yt=5,bt=1<<yt,xt=bt*4;function z(){return{childIdByNameId:new Map,childIds:[],childPositionById:new Map,childVisibleChunkSums:null,totalChildSubtreeNodeCount:0,totalChildVisibleSubtreeCount:0}}function St(){return{childIdByNameId:null,childIds:[],childPositionById:null,childVisibleChunkSums:null,totalChildSubtreeNodeCount:0,totalChildVisibleSubtreeCount:0}}function Ct(e,t){if(t.childIdByNameId!=null)return t.childIdByNameId;let n=new Map;for(let r of t.childIds){let t=e[r];t!=null&&n.set(t.nameId,r)}return t.childIdByNameId=n,n}function wt(e){if(e.childPositionById!=null)return e.childPositionById;let t=new Map;for(let n=0;n<e.childIds.length;n++){let r=e.childIds[n];r!=null&&t.set(r,n)}return e.childPositionById=t,t}function Tt(e,t){e.childPositionById!=null&&e.childPositionById.set(t,e.childIds.length),e.childIds.push(t)}function Et(e,t){if(e.childPositionById!=null)for(let n=t;n<e.childIds.length;n++){let t=e.childIds[n];t!=null&&e.childPositionById.set(t,n)}}function Dt(e,t){let n=0,r=0;for(let i of t.childIds){let t=e[i];t!=null&&(n+=t.subtreeNodeCount,r+=t.visibleSubtreeCount)}t.totalChildSubtreeNodeCount=n,t.totalChildVisibleSubtreeCount=r,jt(e,t)}function Ot(e,t,n,r){if(e.totalChildSubtreeNodeCount+=n,e.totalChildVisibleSubtreeCount+=r,e.childVisibleChunkSums==null||r===0)return;let i=wt(e).get(t);if(i===void 0)return;let a=i>>yt;e.childVisibleChunkSums[a]+=r}function kt(e,t,n){let r=t.childVisibleChunkSums;if(r!=null){let i=n,a=0;for(let o of r){if(i<o){let r=Mt(e,t,a,i);return{...r,childVisibleIndex:n-r.localVisibleIndex}}i-=o,a+=bt}throw Error(`Visible child index ${String(n)} is out of range`)}let i=n;for(let r=0;r<t.childIds.length;r++){let a=t.childIds[r];if(a==null)continue;let o=e[a];if(o!=null){if(i<o.visibleSubtreeCount)return{childIndex:r,childVisibleIndex:n-i,localVisibleIndex:i};i-=o.visibleSubtreeCount}}throw Error(`Visible child index ${String(n)} is out of range`)}function At(e,t,n){let r=0,i=t.childVisibleChunkSums,a=0;if(i!=null){let e=n>>yt;for(let t=0;t<e;t+=1)r+=i[t]??0;a=e<<yt}for(let i=a;i<n;i+=1){let n=t.childIds[i];if(n==null)continue;let a=e[n];a!=null&&(r+=a.visibleSubtreeCount)}return r}function jt(e,t){if(t.childIds.length<xt){t.childVisibleChunkSums=null;return}let n=Math.ceil(t.childIds.length/bt),r=new Int32Array(n);for(let n=0;n<t.childIds.length;n++){let i=t.childIds[n];if(i==null)continue;let a=e[i];a!=null&&(r[n>>yt]+=a.visibleSubtreeCount)}t.childVisibleChunkSums=r}function Mt(e,t,n,r){let i=Math.min(t.childIds.length,n+bt),a=r;for(let r=n;r<i;r++){let n=t.childIds[r];if(n==null)continue;let i=e[n];if(i!=null){if(a<i.visibleSubtreeCount)return{childIndex:r,localVisibleIndex:a};a-=i.visibleSubtreeCount}}throw Error(`Visible child index ${String(r)} is out of range`)}var Nt=7,Pt=3,Ft=1<<Pt,It=4;function Lt(e,t,n=0){return e<<It|n<<Pt|t}function Rt(e){return e.depthAndFlags>>>It}function zt(e){return(e.depthAndFlags&Ft)>>Pt}function B(e){return(e.depthAndFlags&Ft)!==0}function Bt(e){return e.depthAndFlags&Nt}function Vt(e,t){return(Bt(e)&t)!==0}function Ht(e,t){e.depthAndFlags|=t}function Ut(e,t){e.depthAndFlags=Lt(t,Bt(e),zt(e))}var Wt=Symbol(`benchmarkInstrumentation`);function Gt(e,t){return t==null||Object.defineProperty(e,Wt,{configurable:!0,enumerable:!1,value:t,writable:!1}),e}function Kt(e){return e==null?null:e[Wt]??null}function V(e,t,n){return e==null?n():e.measurePhase(t,n)}function qt(e,t,n){!Number.isFinite(n)||e==null||e.setCounter(t,n)}function Jt(e){return e>=48&&e<=57}function Yt(e){let t=[],n=0,r=0;for(;r<e.length;){for(;r<e.length&&!Jt(e.charCodeAt(r));)r+=1;if(r>=e.length)break;r>n&&t.push(e.slice(n,r));let i=0;for(;r<e.length&&Jt(e.charCodeAt(r));)i=i*10+(e.charCodeAt(r)-48),r+=1;t.push(i),n=r}return(n<e.length||t.length===0)&&t.push(e.slice(n)),t}function Xt(e){let t=e.toLowerCase();return{lowerValue:t,tokens:Yt(t)}}function Zt(e,t){let n=Math.min(e.length,t.length);for(let r=0;r<n;r++){let n=e[r],i=t[r];if(n===i)continue;if(typeof n==`number`&&typeof i==`number`)return n<i?-1:1;let a=String(n),o=String(i);if(a!==o)return a<o?-1:1}return e.length===t.length?0:e.length<t.length?-1:1}function Qt(e,t){if(e.tokens.length===1&&t.tokens.length===1&&typeof e.tokens[0]==`string`&&typeof t.tokens[0]==`string`)return e.lowerValue===t.lowerValue?0:e.lowerValue<t.lowerValue?-1:1;let n=Zt(e.tokens,t.tokens);return n===0?e.lowerValue===t.lowerValue?0:e.lowerValue<t.lowerValue?-1:1:n}function $t(e,t,n){let r=Qt(n(e),n(t));return r===0?e===t?0:e<t?-1:1:r}function en(e,t){return $t(e,t,Xt)}function tn(e,t){return t===e.segments.length-1?+!!e.isDirectory:1}function nn(e,t){let n=Math.min(e.segments.length,t.segments.length);for(let r=0;r<n;r++){let n=e.segments[r],i=t.segments[r];if(n===i)continue;let a=tn(e,r);return a===tn(t,r)?en(n,i):a===1?-1:1}return e.segments.length===t.segments.length?e.isDirectory===t.isDirectory?0:e.isDirectory?-1:1:e.segments.length<t.segments.length?-1:1}function rn(e,t){return nn(e,t)}function an(e,t,n){let r=e=>{let t=n.get(e);if(t!=null)return t;let r=Xt(e);return n.set(e,r),r},i=Math.min(e.segments.length,t.segments.length);for(let n=0;n<i;n++){let i=e.segments[n],a=t.segments[n];if(i===a)continue;let o=tn(e,n);return o===tn(t,n)?$t(i,a,r):o===1?-1:1}return e.segments.length===t.segments.length?e.isDirectory===t.isDirectory?0:e.isDirectory?-1:1:e.segments.length<t.segments.length?-1:1}function on(e,t){let n=e.sortKeyById[t];if(n!==void 0)return n;let r=e.valueById[t],i=Xt(r);return e.sortKeyById[t]=i,i}function sn(e={}){return{flattenEmptyDirectories:e.flattenEmptyDirectories!==!1,sort:e.sort??`default`}}function cn(e){let t=e.length>0&&e.charCodeAt(e.length-1)===47,n=t?e.length-1:e.length,r=[],i=0;for(let t=0;t<n;t++)e.charCodeAt(t)===47&&(r.push(e.slice(i,t)),i=t+1);return r.push(e.slice(i,n)),{hasTrailingSlash:t,segments:r}}function ln(e){let{hasTrailingSlash:t,segments:n}=cn(e);return{basename:n[n.length-1]??``,isDirectory:t,path:e,segments:n}}function un(e){if(e.length===0)return{requiresDirectory:!1,segments:[]};let{hasTrailingSlash:t,segments:n}=cn(e);return{requiresDirectory:t,segments:n}}var dn=``;function fn(){let e=new Map;return e.set(dn,0),{idByValue:e,valueById:[dn],sortKeyById:[Xt(dn)]}}function pn(e,t){let n=e.idByValue.get(t);if(n!==void 0)return n;let r=e.valueById.length;return e.idByValue.set(t,r),e.valueById.push(t),r}function mn(e,t){let n=e.valueById[t];if(n===void 0)throw Error(`Unknown segment ID: ${String(t)}`);return n}var hn=Symbol(`pathStorePreparedInputKind`);function gn(e,t){return e[hn]=t,e}function _n(e){return{basename:e.basename,depth:e.segments.length,isDirectory:e.isDirectory,path:e.path,segments:e.segments}}function vn(e,t,n){return n==="default"?rn(e,t):n(_n(e),_n(t))}function yn(){return{depthAndFlags:Lt(0,3,1),nameId:0,parentId:0,subtreeNodeCount:1,visibleSubtreeCount:1}}function bn(e,t){let n=Math.min(e.length,t.length);for(let r=0;r<n;r++)if(e[r]!==t[r])return r;return n}function xn(e){return e.isDirectory?e.segments.length:e.segments.length-1}function Sn(e){return Array.isArray(e)&&e.every(e=>typeof e==`object`&&!!e&&typeof e.path==`string`&&Array.isArray(e.segments)&&typeof e.basename==`string`&&typeof e.isDirectory==`boolean`)}function Cn(e){return Array.isArray(e)&&e.every(e=>typeof e==`string`)}function wn(e,t={}){return An(e,t).map(e=>e.path)}function Tn(e,t={}){let n=An(e,t);return gn({paths:n.map(e=>e.path),preparedPaths:n},`prepared`)}function En(e){let t=e.length,n=!1;for(let r=0;r<t;r+=1){let t=e[r];if(t.length>0&&t.charCodeAt(t.length-1)===47){n=!0;break}}return gn({paths:e,presortedPaths:e,presortedPathsContainDirectories:n},`presorted`)}function Dn(e){let t=e,n=t.preparedPaths;if(t[hn]===`prepared`&&n!=null)return n;if(!Sn(n))throw Error(`preparedInput must come from PathStore.prepareInput()`);return n}function On(e){let t=e;return t[hn]===`presorted`&&t.presortedPaths!=null||Cn(t.presortedPaths)?t.presortedPaths:null}function kn(e){let t=e;return typeof t.presortedPathsContainDirectories==`boolean`?t.presortedPathsContainDirectories:null}function An(e,t={}){let n=sn(t),r=Kt(t);qt(r,`workload.inputFiles`,e.length);let i=V(r,`store.preparePathEntries.parse`,()=>e.map(e=>ln(e)));return V(r,`store.preparePathEntries.sort`,()=>i.sort((e,t)=>vn(e,t,n.sort))),i}var jn=class{directories=new Map;directoryStack=[0];presortedDirectoryNodeIds=[];initialExpandedPathSet;createdDirectoriesAllExpanded=!1;createdDirectoryCount=0;lastPreparedPath=null;nodes=[yn()];options;instrumentation;segmentSortKeyCache=new Map;segmentTable=fn();hasDeferredDirectoryIndexes=!1;constructor(e={}){this.instrumentation=Kt(e),this.options=sn(e);let t=e.initialExpandedPaths??null;if(t==null||t.length===0)this.initialExpandedPathSet=null;else{let e=new Set,n=t.length;for(let r=0;r<n;r+=1){let n=t[r],i=n.length;e.add(i>0&&n.charCodeAt(i-1)===47?n.slice(0,i-1):n)}this.initialExpandedPathSet=e,this.createdDirectoriesAllExpanded=!0}this.directories.set(0,z())}appendPaths(e){return V(this.instrumentation,`store.builder.appendPaths.parse`,()=>this.appendPreparedPaths(e.map(e=>ln(e))))}appendPreparedPaths(e,t=!0){return this.createdDirectoriesAllExpanded=!1,V(this.instrumentation,`store.builder.appendPreparedPaths`,()=>{for(let n of e)this.appendPreparedPath(n,t)}),this}appendPresortedPaths(e,t=null){return V(this.instrumentation,`store.builder.appendPresortedPaths`,()=>{if(t===!1){this.appendPresortedFilePaths(e);return}this.createdDirectoriesAllExpanded=!1;let n=null,r=0,i=this.nodes,a=this.segmentTable,o=a.idByValue,s=a.valueById,c=this.directoryStack,l=0,u=``,d=0;for(let t of e){if(n===t)throw Error(`Duplicate path: "${t}"`);let e=t.length>0&&t.charCodeAt(t.length-1)===47,a=e?t.length-1:t.length,f=0,p=0;if(n!=null)if(u.length>0&&t.length>u.length&&t.startsWith(u))f=d,p=u.length;else{let r=Math.min(a,n.length),i=!0;for(let e=0;e<r;e++){let r=t.charCodeAt(e);if(r!==n.charCodeAt(e)){i=!1;break}r===47&&(f++,p=e+1)}i&&e&&r===a&&n.length>a&&n.charCodeAt(a)===47&&(f++,p=a+1)}l=f,r=f;let m=p,h=t.indexOf(`/`,m);for(;h>=0&&h<a;){let e=c[l];if(e===void 0)throw Error(`Directory stack underflow while building the path store`);r++;let n=t.slice(m,h),a=o.get(n);a===void 0&&(a=s.length,o.set(n,a),s.push(n));let u=i.length;i.push({depthAndFlags:Lt(r,0,1),nameId:a,parentId:e,subtreeNodeCount:1,visibleSubtreeCount:1}),this.recordCreatedDirectoryPath(t.slice(0,h)),l++,c[l]=u,m=h+1,h=t.indexOf(`/`,m)}if(e){if(m<a){let e=c[l];if(e===void 0)throw Error(`Unable to resolve directory parent for "${t}"`);r++;let n=t.slice(m,a),u=o.get(n);u===void 0&&(u=s.length,o.set(n,u),s.push(n));let d=i.length;i.push({depthAndFlags:Lt(r,0,1),nameId:u,parentId:e,subtreeNodeCount:1,visibleSubtreeCount:1}),l++,c[l]=d}let e=c[l];if(e===void 0)throw Error(`Unable to resolve directory node for "${t}"`);this.promoteDirectoryToExplicit(e,t)}else{let e=c[l];if(e===void 0)throw Error(`Unable to resolve file parent for "${t}"`);let n=t.slice(m),a=o.get(n);a===void 0&&(a=s.length,o.set(n,a),s.push(n)),i.push({depthAndFlags:Lt(r+1,0),nameId:a,parentId:e,subtreeNodeCount:1,visibleSubtreeCount:1})}m!==u.length&&(u=t.substring(0,m),d=r),n=t}c.length=l+1,n!=null&&(this.lastPreparedPath=ln(n)),this.hasDeferredDirectoryIndexes=!0}),this}appendPresortedFilePaths(e){let t=null,n=0,r=this.nodes,i=this.segmentTable,a=i.idByValue,o=i.valueById,s=this.directoryStack,c=0,l=``,u=0;for(let i of e){if(t===i)throw Error(`Duplicate path: "${i}"`);let e=i.length,d=0,f=0;if(t!=null)if(l.length>0&&i.length>l.length&&i.startsWith(l))d=u,f=l.length;else{let n=Math.min(e,t.length);for(let e=0;e<n;e++){let n=i.charCodeAt(e);if(n!==t.charCodeAt(e))break;n===47&&(d++,f=e+1)}}c=d,n=d;let p=f,m=i.indexOf(`/`,p);for(;m>=0;){let e=s[c];if(e===void 0)throw Error(`Directory stack underflow while building the path store`);n++;let t=i.slice(p,m),l=a.get(t);l===void 0&&(l=o.length,a.set(t,l),o.push(t));let u=r.length;r.push({depthAndFlags:Lt(n,0,1),nameId:l,parentId:e,subtreeNodeCount:1,visibleSubtreeCount:1}),this.recordCreatedDirectoryPath(i.slice(0,m)),this.presortedDirectoryNodeIds.push(u),c++,s[c]=u,p=m+1,m=i.indexOf(`/`,p)}let h=s[c];if(h===void 0)throw Error(`Unable to resolve file parent for "${i}"`);let g=i.slice(p),_=a.get(g);_===void 0&&(_=o.length,a.set(g,_),o.push(g)),r.push({depthAndFlags:Lt(n+1,0),nameId:_,parentId:h,subtreeNodeCount:1,visibleSubtreeCount:1}),p!==l.length&&(l=i.substring(0,p),u=n),t=i}s.length=c+1,t!=null&&(this.lastPreparedPath=ln(t)),this.hasDeferredDirectoryIndexes=!0}finish(e={}){let t=e.skipSubtreeCountPass===!0;return this.hasDeferredDirectoryIndexes?(V(this.instrumentation,`store.builder.buildDirectoryIndexes`,()=>this.buildPresortedFinish(t)),this.hasDeferredDirectoryIndexes=!1):t||V(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&&this.initialExpandedPathSet!=null&&this.createdDirectoryCount===this.initialExpandedPathSet.size}appendPreparedPath(e,t){if(this.hasDeferredDirectoryIndexes&&=(this.buildDirectoryIndexes(),!1),this.lastPreparedPath!=null){if(e.path===this.lastPreparedPath.path)throw Error(`Duplicate path: "${e.path}"`);if(t&&(this.options.sort==="default"?an(this.lastPreparedPath,e,this.segmentSortKeyCache):vn(this.lastPreparedPath,e,this.options.sort))>0)throw Error(`Builder input must be sorted before appendPaths(): "${e.path}"`)}let n=this.lastPreparedPath,r=xn(e),i=n==null?0:xn(n),a=n==null?0:bn(n.segments,e.segments),o=Math.min(a,r,i);this.directoryStack.length=o+1;for(let n=o;n<r;n++){let r=this.directoryStack[this.directoryStack.length-1];if(r===void 0)throw Error(`Directory stack underflow while building the path store`);let i=t?this.getOrCreateDirectoryChild(r,e.segments[n]):this.createDirectoryChild(r,e.segments[n]);this.directoryStack.push(i)}if(e.isDirectory){let t=this.directoryStack[this.directoryStack.length-1];if(t===void 0)throw Error(`Unable to resolve directory node for "${e.path}"`);this.promoteDirectoryToExplicit(t,e.path),this.lastPreparedPath=e;return}let s=this.directoryStack[this.directoryStack.length-1];if(s===void 0)throw Error(`Unable to resolve file parent for "${e.path}"`);t?this.createFileChild(s,e.basename,e.path):this.createFileChildUnchecked(s,e.basename),this.lastPreparedPath=e}recordCreatedDirectoryPath(e){!this.createdDirectoriesAllExpanded||this.initialExpandedPathSet==null||(this.createdDirectoryCount+=1,this.initialExpandedPathSet.has(e)||(this.createdDirectoriesAllExpanded=!1))}createFileChild(e,t,n){let r=pn(this.segmentTable,t),i=this.getDirectoryIndex(e),a=i.childIdByNameId;if(a!=null&&a.get(r)!==void 0)throw Error(`Path collides with an existing entry: "${n}"`);let o=this.nodes[e];if(o===void 0)throw Error(`Unknown parent node ID: ${String(e)}`);let s=this.nodes.length;return this.nodes.push({depthAndFlags:Lt(Rt(o)+1,0),nameId:r,parentId:e,subtreeNodeCount:1,visibleSubtreeCount:1}),a?.set(r,s),Tt(i,s),s}createFileChildUnchecked(e,t){let n=pn(this.segmentTable,t),r=this.getDirectoryIndex(e),i=this.nodes[e];if(i===void 0)throw Error(`Unknown parent node ID: ${String(e)}`);let a=this.nodes.length;return this.nodes.push({depthAndFlags:Lt(Rt(i)+1,0),nameId:n,parentId:e,subtreeNodeCount:1,visibleSubtreeCount:1}),r.childIdByNameId!=null&&r.childIdByNameId.set(n,a),Tt(r,a),a}getOrCreateDirectoryChild(e,t){let n=pn(this.segmentTable,t),r=this.getDirectoryIndex(e);if(r.childIdByNameId!=null){let e=r.childIdByNameId.get(n);if(e!==void 0){let n=this.nodes[e];if(n!=null&&!B(n))throw Error(`Path collides with an existing file while creating directory "${t}"`);return e}}let i=this.nodes[e];if(i===void 0)throw Error(`Unknown parent node ID: ${String(e)}`);let a=this.nodes.length;return this.nodes.push({depthAndFlags:Lt(Rt(i)+1,0,1),nameId:n,parentId:e,subtreeNodeCount:1,visibleSubtreeCount:1}),r.childIdByNameId!=null&&r.childIdByNameId.set(n,a),Tt(r,a),this.directories.set(a,z()),a}createDirectoryChild(e,t){let n=pn(this.segmentTable,t),r=this.getDirectoryIndex(e),i=this.nodes[e];if(i===void 0)throw Error(`Unknown parent node ID: ${String(e)}`);let a=this.nodes.length;return this.nodes.push({depthAndFlags:Lt(Rt(i)+1,0,1),nameId:n,parentId:e,subtreeNodeCount:1,visibleSubtreeCount:1}),r.childIdByNameId!=null&&r.childIdByNameId.set(n,a),Tt(r,a),this.directories.set(a,z()),a}promoteDirectoryToExplicit(e,t){let n=this.nodes[e];if(n===void 0)throw Error(`Unknown directory node ID: ${String(e)}`);if(!B(n))throw Error(`Path is not a directory: "${t}"`);if(Vt(n,1))throw Error(`Duplicate path: "${t}"`);Ht(n,1)}getDirectoryIndex(e){let t=this.directories.get(e);if(t!==void 0)return t;throw Error(`Unknown directory child index for node ${String(e)}`)}buildPresortedFinish(e){let t=this.nodes,n=this.directories;n.set(0,St());let r=-1,i=null;for(let e=1;e<t.length;e++){let a=t[e];if(a==null)continue;if(B(a)){let t=St();n.set(e,t),r=e,i=t}let o;a.parentId===r?o=i:(o=n.get(a.parentId),r=a.parentId,i=o??null),o?.childIds.push(e)}if(!e)for(let e=t.length-1;e>=1;e--){let n=t[e];if(n==null)continue;let r=t[n.parentId];r!=null&&(r.subtreeNodeCount+=n.subtreeNodeCount,r.visibleSubtreeCount+=n.visibleSubtreeCount)}}buildDirectoryIndexes(){let e=this.nodes;for(let t=1;t<e.length;t++){let n=e[t];if(n==null)continue;B(n)&&this.directories.set(t,z());let r=this.directories.get(n.parentId);r!=null&&(r.childIdByNameId!=null&&r.childIdByNameId.set(n.nameId,t),Tt(r,t))}}computeSubtreeCounts(e){let t=this.nodes[e];if(t===void 0)throw Error(`Unknown node ID: ${String(e)}`);if(!B(t))return t.subtreeNodeCount=1,t.visibleSubtreeCount=1,1;let n=this.getDirectoryIndex(e),r=1;for(let e of n.childIds)r+=this.computeSubtreeCounts(e);return Dt(this.nodes,n),t.subtreeNodeCount=r,t.visibleSubtreeCount=r,r}};function Mn(e,t=`closed`,n=null){let r=Pn(t);return{activeNodeCount:e.nodes.length-1,collapsedDirectoryIds:new Set,collapseNewDirectoriesByDefault:!1,defaultExpansion:r,directoriesOpenByDefault:r===`open`,hasCollapsedDirectoryOverrides:!1,directoryLoadInfoById:new Map,expandedDirectoryIds:new Set,instrumentation:n,listeners:new Map,pathCacheByNodeId:new Map([[e.rootId,{path:``,version:0}]]),pathCacheVersion:0,snapshot:e,transactionStack:[]}}function Nn(){return{affectedAncestorIds:new Set,affectedNodeIds:new Set,events:[]}}function Pn(e){if(typeof e!=`number`)return e;if(!Number.isInteger(e)||e<0)throw Error(`initialExpansion must be "open", "closed", or a non-negative integer depth. Received: ${String(e)}`);return e}function Fn(e,t){return Vt(t,2)||e.defaultExpansion===`open`?!0:e.defaultExpansion===`closed`?!1:Rt(t)<=e.defaultExpansion}function In(e,t,n=e.snapshot.nodes[t]){return n==null||!B(n)?!1:e.directoriesOpenByDefault&&!e.hasCollapsedDirectoryOverrides?!0:e.collapsedDirectoryIds.has(t)?!1:e.expandedDirectoryIds.has(t)?!0:Fn(e,n)}function Ln(e,t,n,r=e.snapshot.nodes[t]){if(r==null||!B(r))return;let i=Fn(e,r);if(n){if(i){e.collapsedDirectoryIds.delete(t),e.hasCollapsedDirectoryOverrides=e.collapsedDirectoryIds.size>0;return}e.expandedDirectoryIds.add(t);return}if(i){e.collapsedDirectoryIds.add(t),e.hasCollapsedDirectoryOverrides=!0;return}e.expandedDirectoryIds.delete(t)}function Rn(e,t){let n=e.directoryLoadInfoById.get(t);if(n!=null)return n;let r={activeAttemptId:null,errorMessage:null,nextAttemptId:1,state:`loaded`};return e.directoryLoadInfoById.set(t,r),r}function zn(e,t){return e.directoryLoadInfoById.get(t)?.state??`loaded`}function Bn(e,t){let n=Rn(e,t);if(n.state===`loading`&&n.activeAttemptId!=null)return{attemptId:n.activeAttemptId,nodeId:t,reused:!0};let r=n.nextAttemptId;return n.activeAttemptId=r,n.errorMessage=null,n.nextAttemptId+=1,n.state=`loading`,{attemptId:r,nodeId:t,reused:!1}}function Vn(e,t){let n=Rn(e,t);n.activeAttemptId=null,n.errorMessage=null,n.state=`unloaded`}function Hn(e,t,n){let r=e.directoryLoadInfoById.get(t);return r==null||r.activeAttemptId!==n?!1:(r.activeAttemptId=null,r.errorMessage=null,r.state=`loaded`,!0)}function Un(e,t,n){return e.directoryLoadInfoById.get(t)?.activeAttemptId===n}function Wn(e,t,n,r){let i=e.directoryLoadInfoById.get(t);return i==null||i.activeAttemptId!==n?!1:(i.activeAttemptId=null,i.errorMessage=r??null,i.state=`error`,!0)}function Gn(e,t){e.directoryLoadInfoById.delete(t)}function Kn(e,t,n){let r=n,i=e.listeners.get(t);return i==null?e.listeners.set(t,new Set([r])):i.add(r),()=>{let n=e.listeners.get(t);n!=null&&(n.delete(r),n.size===0&&e.listeners.delete(t))}}function qn(e){return{affectedAncestorIds:e.affectedAncestorIds??[],affectedNodeIds:e.affectedNodeIds??[],canonicalChanged:!0,operation:`add`,path:e.path,projectionChanged:e.projectionChanged,visibleCountDelta:null}}function Jn(e){return{affectedAncestorIds:e.affectedAncestorIds??[],affectedNodeIds:e.affectedNodeIds??[],canonicalChanged:!0,operation:`remove`,path:e.path,projectionChanged:e.projectionChanged,recursive:e.recursive,visibleCountDelta:null}}function Yn(e){return{affectedAncestorIds:e.affectedAncestorIds??[],affectedNodeIds:e.affectedNodeIds??[],canonicalChanged:!0,from:e.from,operation:`move`,projectionChanged:e.projectionChanged,to:e.to,visibleCountDelta:null}}function Xn(e){return{affectedAncestorIds:e.affectedAncestorIds??[],affectedNodeIds:e.affectedNodeIds??[],canonicalChanged:!1,operation:`expand`,path:e.path,projectionChanged:!0,visibleCountDelta:null}}function Zn(e){return{affectedAncestorIds:e.affectedAncestorIds??[],affectedNodeIds:e.affectedNodeIds??[],canonicalChanged:!1,operation:`collapse`,path:e.path,projectionChanged:!0,visibleCountDelta:null}}function Qn(e){return{affectedAncestorIds:e.affectedAncestorIds??[],affectedNodeIds:e.affectedNodeIds??[],canonicalChanged:!1,operation:`mark-directory-unloaded`,path:e.path,projectionChanged:e.projectionChanged,visibleCountDelta:null}}function $n(e){return{affectedAncestorIds:e.affectedAncestorIds??[],affectedNodeIds:e.affectedNodeIds??[],attemptId:e.attemptId,canonicalChanged:!1,operation:`begin-child-load`,path:e.path,projectionChanged:e.projectionChanged,reused:e.reused,visibleCountDelta:null}}function er(e){return{affectedAncestorIds:e.affectedAncestorIds??[],affectedNodeIds:e.affectedNodeIds??[],attemptId:e.attemptId,canonicalChanged:e.childEvents.some(e=>e.canonicalChanged),childEvents:e.childEvents,operation:`apply-child-patch`,path:e.path,projectionChanged:e.projectionChanged,visibleCountDelta:null}}function tr(e){return{affectedAncestorIds:e.affectedAncestorIds??[],affectedNodeIds:e.affectedNodeIds??[],attemptId:e.attemptId,canonicalChanged:!1,operation:`complete-child-load`,path:e.path,projectionChanged:e.projectionChanged,stale:e.stale,visibleCountDelta:null}}function nr(e){return{affectedAncestorIds:e.affectedAncestorIds??[],affectedNodeIds:e.affectedNodeIds??[],attemptId:e.attemptId,canonicalChanged:!1,errorMessage:e.errorMessage,operation:`fail-child-load`,path:e.path,projectionChanged:e.projectionChanged,stale:e.stale,visibleCountDelta:null}}function rr(e){return{activeNodeCountAfter:e.activeNodeCountAfter,activeNodeCountBefore:e.activeNodeCountBefore,affectedAncestorIds:e.affectedAncestorIds??[],affectedNodeIds:e.affectedNodeIds??[],cachedPathEntryCountAfter:e.cachedPathEntryCountAfter,cachedPathEntryCountBefore:e.cachedPathEntryCountBefore,canonicalChanged:!1,idsPreserved:e.idsPreserved,loadInfoEntryCountAfter:e.loadInfoEntryCountAfter,loadInfoEntryCountBefore:e.loadInfoEntryCountBefore,mode:e.mode,operation:`cleanup`,projectionChanged:e.projectionChanged,reclaimedCachedPathEntryCount:e.reclaimedCachedPathEntryCount,reclaimedLoadInfoEntryCount:e.reclaimedLoadInfoEntryCount,reclaimedNodeSlotCount:e.reclaimedNodeSlotCount,reclaimedSegmentCount:e.reclaimedSegmentCount,segmentCountAfter:e.segmentCountAfter,segmentCountBefore:e.segmentCountBefore,totalNodeSlotCountAfter:e.totalNodeSlotCountAfter,totalNodeSlotCountBefore:e.totalNodeSlotCountBefore,visibleCountDelta:null}}function ir(e,t,n){return{...n,visibleCountDelta:hr(e)-t}}function ar(e,t){let n=hr(e),r=Nn();e.transactionStack.push(r);try{t()}catch(t){throw cr(e,r,!1),t}cr(e,r,!0,hr(e)-n)}function or(e,t){let n=e.instrumentation;if(n==null){sr(e,t);return}V(n,`store.events.record`,()=>sr(e,t))}function sr(e,t){let n=e.transactionStack[e.transactionStack.length-1]??null;if(n==null){pr(e,t);return}n.events.push(t),fr(n,t)}function cr(e,t,n,r=null){if(e.transactionStack.pop()!==t)throw Error(`Transaction stack underflow`);if(!n)return;let i=e.transactionStack[e.transactionStack.length-1]??null;if(i!=null){let n=e.instrumentation;n==null?dr(i,t):V(n,`store.events.batch.merge`,()=>dr(i,t));return}let a=lr(t,r),o=e.instrumentation;if(o==null){pr(e,a);return}V(o,`store.events.batch.commit`,()=>pr(e,a))}function lr(e,t){return{affectedAncestorIds:[...e.affectedAncestorIds],affectedNodeIds:[...e.affectedNodeIds],canonicalChanged:e.events.some(e=>e.canonicalChanged),events:[...e.events],operation:`batch`,projectionChanged:e.events.some(e=>e.projectionChanged),visibleCountDelta:t}}function ur(e,t){for(let n of t.affectedAncestorIds)e.affectedAncestorIds.add(n);for(let n of t.affectedNodeIds)e.affectedNodeIds.add(n)}function dr(e,t){for(let n of t.events)e.events.push(n);ur(e,t)}function fr(e,t){for(let n of t.affectedNodeIds)e.affectedNodeIds.add(n);for(let n of t.affectedAncestorIds)e.affectedAncestorIds.add(n)}function pr(e,t){let n=e.instrumentation;if(n==null){mr(e,t);return}V(n,`store.events.emit`,()=>mr(e,t))}function mr(e,t){e.listeners.get(t.operation)?.forEach(e=>e(t)),e.listeners.get(`*`)?.forEach(e=>e(t))}function hr(e){return e.snapshot.nodes[e.snapshot.rootId]?.visibleSubtreeCount??0}function gr(e,t){if(e.snapshot.options.flattenEmptyDirectories!==!0)return null;let n=e.snapshot.nodes[t];if(n==null||!B(n)||Vt(n,2))return null;let r=e.snapshot.directories.get(t);if(r==null||r.childIds.length!==1)return null;let i=r.childIds[0];if(i==null)return null;let a=e.snapshot.nodes[i];return a==null||!B(a)?null:i}function _r(e,t){let n=t;for(;;){let t=gr(e,n);if(t==null)return n;n=t}}function vr(e,t){let n=[t],r=t;for(;;){let t=gr(e,r);if(t==null)return n;n.push(t),r=t}}function yr(e,t){let n=t==null?e.snapshot.rootId:Or(e,t);return n==null?[]:Ar(e,n)}function br(e,t){let n=ln(t),r=n.isDirectory?n.segments:n.segments.slice(0,-1),i=Gr(e,Wr(e,r)),{createdNodeIds:a,directoryId:o}=jr(e,r),s=new Set(a),c=o;if(n.isDirectory){let n=W(e,o);if(Vt(n,1))throw Error(`Path already exists: "${t}"`);Ht(n,1),e.pathCacheByNodeId.set(o,{path:t,version:e.pathCacheVersion}),s.add(o)}else c=Nr(e,o,n.basename),s.add(c);Tr(e,o);let l=Gr(e,o);return qn({affectedAncestorIds:Dr(e,c),affectedNodeIds:[...s],path:t,projectionChanged:Kr(i,l)})}function xr(e,t,n){let r=Or(e,t);if(r==null)throw Error(`Path does not exist: "${t}"`);let i=W(e,r);if(Vt(i,2))throw Error(`The root node cannot be removed`);if(B(i)&&U(e,r).childIds.length>0&&n.recursive!==!0)throw Error(`Cannot remove a non-empty directory without recursive: "${t}"`);let a=i.parentId,o=Gr(e,a),s=Hr(e,r);Ir(e,a,r,i.nameId),Ur(e,a),Tr(e,a);let c=Gr(e,a);return Jn({affectedAncestorIds:Dr(e,a),affectedNodeIds:s,path:t,projectionChanged:Kr(o,c),recursive:n.recursive===!0})}function Sr(e,t,n,r){let i=Or(e,t);if(i==null)throw Error(`Source path does not exist: "${t}"`);let a=W(e,i);if(Vt(a,2))throw Error(`The root node cannot be moved`);let o=r.collision??`error`,s=Br(e,i,n),c=Gr(e,a.parentId),l=Gr(e,s.parentId),u=mn(e.snapshot.segmentTable,a.nameId),d=pn(e.snapshot.segmentTable,s.basename);if(s.parentId===a.parentId&&u===s.basename)return null;if(B(a)&&Xr(e,i,s.parentId))throw Error(`Cannot move a directory into one of its descendants`);let f=Ct(e.snapshot.nodes,U(e,s.parentId)).get(d),p=s.existingNodeId??f??null;if(p!=null&&p!==i&&Vr(e,p,o,zt(a))===`skip`)return null;let m=a.parentId;Ir(e,m,i,a.nameId),a.parentId=s.parentId,a.nameId=d,e.pathCacheByNodeId.delete(i),Yr(e,i),Fr(e,s.parentId,i),Ur(e,m),e.pathCacheVersion++,Tr(e,m),s.parentId!==m&&Tr(e,s.parentId);let h=Gr(e,m),g=Gr(e,s.parentId);return Yn({affectedAncestorIds:[...new Set([...Dr(e,m),...Dr(e,s.parentId)])],affectedNodeIds:[i],from:t,projectionChanged:qr([c,l],[h,g]),to:H(e,i)})}function Cr(e,t){let n=e.pathCacheByNodeId.get(t);return n!=null&&n.version===e.pathCacheVersion?n.path:null}function wr(e,t,n){return e.pathCacheByNodeId.set(t,{path:n,version:e.pathCacheVersion}),n}function H(e,t){let n=W(e,t),r=Cr(e,t);if(r!=null)return r;if(Vt(n,2))return wr(e,t,``);let i=H(e,n.parentId),a=mn(e.snapshot.segmentTable,n.nameId),o=i.length===0?a:`${i}${a}`;return wr(e,t,B(n)?`${o}/`:o)}function Tr(e,t){let n=e.instrumentation;if(n==null){Qr(e,t);return}V(n,`store.recomputeCountsUpwardFrom`,()=>Qr(e,t))}function Er(e,t){let n=[[t,0]],{nodes:r,directories:i}=e.snapshot;for(;n.length>0;){let t=n[n.length-1],a=t[0],o=r[a];if(o==null||!B(o)){Zr(e,a,o,!0),n.pop();continue}let s=i.get(a);if(s==null||t[1]>=s.childIds.length){Zr(e,a,o,!0),n.pop();continue}let c=s.childIds[t[1]++];n.push([c,0])}}function Dr(e,t){let n=[],r=t;for(;r!=null;){let t=W(e,r);if(n.push(r),r===e.snapshot.rootId)break;r=t.parentId}return n}function Or(e,t){if(t.length===0)return e.snapshot.rootId;let n=un(t);return kr(e,n.segments,n.requiresDirectory)}function kr(e,t,n){let r=e.snapshot.rootId;for(let n of t){let t=e.snapshot.segmentTable.idByValue.get(n);if(t===void 0)return null;let i=U(e,r),a=Ct(e.snapshot.nodes,i).get(t);if(a===void 0)return null;r=a}let i=W(e,r);return n&&!B(i)?null:r}function U(e,t){let n=e.snapshot.directories.get(t);if(n===void 0)throw Error(`Unknown directory child index for node ${String(t)}`);return n}function W(e,t){let n=e.snapshot.nodes[t];if(n===void 0||Vt(n,4))throw Error(`Unknown node ID: ${String(t)}`);return n}function Ar(e,t){let n=e.snapshot.nodes[t];if(n===void 0||Vt(n,4))return[];if(!B(n))return[H(e,t)];if(U(e,t).childIds.length===0)return Vt(n,1)&&!Vt(n,2)?[H(e,t)]:[];let r=[],i=[{childIndex:0,nodeId:t}];for(;i.length>0;){let t=i[i.length-1];if(t==null)break;let n=e.snapshot.nodes[t.nodeId];if(n===void 0||Vt(n,4)){i.pop();continue}if(!B(n)){r.push(H(e,t.nodeId)),i.pop();continue}let a=U(e,t.nodeId);if(a.childIds.length===0){Vt(n,1)&&!Vt(n,2)&&r.push(H(e,t.nodeId)),i.pop();continue}let o=a.childIds[t.childIndex];if(o==null){i.pop();continue}t.childIndex++,i.push({childIndex:0,nodeId:o})}return r}function jr(e,t){let n=[],r=e.snapshot.rootId;for(let i of t){let t=pn(e.snapshot.segmentTable,i),a=U(e,r),o=Ct(e.snapshot.nodes,a).get(t);if(o!==void 0){if(!B(W(e,o)))throw Error(`Cannot create a directory that collides with an existing file: "${i}"`);r=o;continue}r=Mr(e,r,t),n.push(r)}return{createdNodeIds:n,directoryId:r}}function Mr(e,t,n){let r=W(e,t),i=e.snapshot.nodes.length;return e.snapshot.nodes.push({depthAndFlags:Lt(Rt(r)+1,0,1),nameId:n,parentId:t,subtreeNodeCount:1,visibleSubtreeCount:1}),e.snapshot.directories.set(i,z()),Fr(e,t,i),e.collapseNewDirectoriesByDefault&&(e.collapsedDirectoryIds.add(i),e.hasCollapsedDirectoryOverrides=!0),e.activeNodeCount++,i}function Nr(e,t,n){let r=pn(e.snapshot.segmentTable,n),i=U(e,t);if(Ct(e.snapshot.nodes,i).has(r))throw Error(`Path already exists: "${ei(e,t,n)}"`);let a=W(e,t),o=e.snapshot.nodes.length;return e.snapshot.nodes.push({depthAndFlags:Lt(Rt(a)+1,0),nameId:r,parentId:t,subtreeNodeCount:1,visibleSubtreeCount:1}),Fr(e,t,o),e.activeNodeCount++,o}function Pr(e,t,n){let r=0,i=t.childIds.length;for(;r<i;){let a=r+i>>>1,o=t.childIds[a];if(o==null){i=a;continue}Lr(e,n,o)<0?i=a:r=a+1}return r}function Fr(e,t,n){let r=U(e,t),i=W(e,n);Ct(e.snapshot.nodes,r).set(i.nameId,n),Ot(r,n,i.subtreeNodeCount,i.visibleSubtreeCount);let a=Pr(e,r,n);r.childIds.splice(a,0,n),Et(r,a),jt(e.snapshot.nodes,r)}function Ir(e,t,n,r){let i=U(e,t),a=wt(i),o=a.get(n)??-1;Ct(e.snapshot.nodes,i).delete(r),a.delete(n);let s=e.snapshot.nodes[n];s!=null&&Ot(i,n,-s.subtreeNodeCount,-s.visibleSubtreeCount),o>=0&&(i.childIds.splice(o,1),Et(i,o),jt(e.snapshot.nodes,i))}function Lr(e,t,n){let r=e.snapshot.options.sort;return r==="default"?Rr(e,t,n):r(zr(e,t),zr(e,n))}function Rr(e,t,n){let r=W(e,t),i=W(e,n),a=B(r);if(a!==B(i))return a?-1:1;let o=Qt(on(e.snapshot.segmentTable,r.nameId),on(e.snapshot.segmentTable,i.nameId));if(o!==0)return o;let s=mn(e.snapshot.segmentTable,r.nameId),c=mn(e.snapshot.segmentTable,i.nameId);return s===c?t<n?-1:1:s<c?-1:1}function zr(e,t){let n=W(e,t),r=H(e,t),i=B(n),a=i?r.slice(0,-1):r;return{basename:mn(e.snapshot.segmentTable,n.nameId),depth:Rt(n),isDirectory:i,path:r,segments:a.length===0?[]:a.split(`/`)}}function Br(e,t,n){let r=W(e,t),i=Or(e,n);if(i!=null){let t=W(e,i);if(B(t))return{basename:mn(e.snapshot.segmentTable,r.nameId),existingNodeId:null,parentId:i};let a=un(n).segments;return{basename:a[a.length-1]??``,existingNodeId:i,parentId:t.parentId}}let a=un(n),o=a.segments[a.segments.length-1]??``,s=a.segments.slice(0,-1),c=s.length===0?e.snapshot.rootId:kr(e,s,!0);if(c==null)throw Error(`Destination parent does not exist: "${n}"`);return{basename:o,existingNodeId:null,parentId:c}}function Vr(e,t,n,r){if(n===`skip`)return`skip`;if(n===`error`)throw Error(`Destination already exists: "${H(e,t)}"`);let i=W(e,t);if(zt(i)!==r)throw Error(`replace collision requires the same source and destination kinds`);if(B(i)&&U(e,t).childIds.length>0)throw Error(`replace collision does not support non-empty directories`);let a=i.parentId,o=i.nameId;return Hr(e,t),Ir(e,a,t,o),Ur(e,a),Tr(e,a),`handled`}function Hr(e,t){let n=[],r=[{nodeId:t,visitedChildren:!1}];for(;r.length>0;){let t=r.pop();if(t==null)break;let i=W(e,t.nodeId);if(t.visitedChildren||!B(i)){B(i)&&e.snapshot.directories.delete(t.nodeId),Ht(i,4),e.pathCacheByNodeId.delete(t.nodeId),e.collapsedDirectoryIds.delete(t.nodeId)&&(e.hasCollapsedDirectoryOverrides=e.collapsedDirectoryIds.size>0),e.expandedDirectoryIds.delete(t.nodeId),Gn(e,t.nodeId),e.activeNodeCount--,n.push(t.nodeId);continue}r.push({nodeId:t.nodeId,visitedChildren:!0});let a=U(e,t.nodeId);for(let e=a.childIds.length-1;e>=0;e--){let t=a.childIds[e];t!=null&&r.push({nodeId:t,visitedChildren:!1})}}return n}function Ur(e,t){let n=t;for(;n!=null;){let t=W(e,n);if(!B(t)||Vt(t,2)||U(e,n).childIds.length>0)return;Ht(t,1),n=t.parentId===n?null:t.parentId}}function Wr(e,t){let n=e.snapshot.rootId;for(let r of t){let t=e.snapshot.segmentTable.idByValue.get(r);if(t==null)break;let i=Ct(e.snapshot.nodes,U(e,n)).get(t);if(i==null||!B(W(e,i)))break;n=i}return n}function Gr(e,t){let n=Jr(e,t);if(n==null)return null;let r=_r(e,n),i=W(e,r),a=n===r?null:vr(e,n).map(t=>H(e,t));return JSON.stringify({flattenedSegmentPaths:a,hasChildren:U(e,r).childIds.length>0,path:H(e,r),terminalKind:zt(i)})}function Kr(e,t){return qr([e],[t])}function qr(e,t){for(let n=0;n<e.length;n+=1){let r=e[n],i=t[n];if(r==null||i==null||r!==i)return!0}return!1}function Jr(e,t){let n=t;for(;n!=null;){let t=W(e,n);if(!B(t)||Vt(t,2))return null;if(!In(e,n,t))return n;n=t.parentId}return null}function Yr(e,t){let n=W(e,t);if(Ut(n,(t===e.snapshot.rootId?-1:Rt(W(e,n.parentId)))+1),!B(n))return;let r=U(e,t);for(let t of r.childIds)Yr(e,t)}function Xr(e,t,n){let r=n;for(;r!=null;){if(r===t)return!0;let n=W(e,r);if(r===e.snapshot.rootId)return!1;r=n.parentId}return!1}function Zr(e,t,n=W(e,t),r=!1){let i=e.instrumentation;if(i==null){$r(e,t,n,r);return}V(i,`store.recomputeNodeCounts`,()=>$r(e,t,n,r))}function Qr(e,t){let n=t;for(;n!=null;){let t=W(e,n),r=t.subtreeNodeCount,i=t.visibleSubtreeCount;if(Zr(e,n,t),n===e.snapshot.rootId)return;let a=t.subtreeNodeCount-r,o=t.visibleSubtreeCount-i,s=t.parentId;(a!==0||o!==0)&&Ot(U(e,s),n,a,o),n=s}}function $r(e,t,n,r){if(!B(n)){n.subtreeNodeCount=1,n.visibleSubtreeCount=1;return}let i=U(e,t);if(r){let t=e.instrumentation;t==null?Dt(e.snapshot.nodes,i):V(t,`store.recomputeNodeCounts.rebuildChildAggregates`,()=>Dt(e.snapshot.nodes,i))}let a=1+i.totalChildSubtreeNodeCount,o=i.totalChildVisibleSubtreeCount;if(n.subtreeNodeCount=a,Vt(n,2)){n.visibleSubtreeCount=o;return}n.visibleSubtreeCount=gr(e,t)==null?In(e,t,n)?1+o:1:o}function ei(e,t,n){let r=H(e,t);return r.length===0?n:`${r}${n}`}function ti(e){return e!=null&&!Vt(e,4)}function ni(e,t){let n=e.snapshot.nodes[t];return!ti(n)||!B(n)||Vt(n,2)?null:n}function ri(e){let t=0;for(let[n,r]of e.pathCacheByNodeId)r.version===e.pathCacheVersion&&ti(e.snapshot.nodes[n])&&(t+=1);return t}function ii(e){return Math.max(0,e.valueById.length-1)}function ai(e){return{activeNodeCount:e.activeNodeCount,cachedPathEntryCount:ri(e),loadInfoEntryCount:e.directoryLoadInfoById.size,segmentCount:ii(e.snapshot.segmentTable),totalNodeSlotCount:Math.max(0,e.snapshot.nodes.length-1)}}function oi(e,t,n,r){return{activeNodeCountAfter:r.activeNodeCount,activeNodeCountBefore:n.activeNodeCount,cachedPathEntryCountAfter:r.cachedPathEntryCount,cachedPathEntryCountBefore:n.cachedPathEntryCount,idsPreserved:t,loadInfoEntryCountAfter:r.loadInfoEntryCount,loadInfoEntryCountBefore:n.loadInfoEntryCount,mode:e,reclaimedCachedPathEntryCount:n.cachedPathEntryCount-r.cachedPathEntryCount,reclaimedLoadInfoEntryCount:n.loadInfoEntryCount-r.loadInfoEntryCount,reclaimedNodeSlotCount:n.totalNodeSlotCount-r.totalNodeSlotCount,reclaimedSegmentCount:n.segmentCount-r.segmentCount,segmentCountAfter:r.segmentCount,segmentCountBefore:n.segmentCount,totalNodeSlotCountAfter:r.totalNodeSlotCount,totalNodeSlotCountBefore:n.totalNodeSlotCount}}function si(e){let t=[],n=[];for(let n of e.collapsedDirectoryIds)ni(e,n)!=null&&t.push(H(e,n));for(let t of e.expandedDirectoryIds)ni(e,t)!=null&&n.push(H(e,t));return{collapsedPaths:t,expandedPaths:n}}function ci(e){let t=[];for(let[n,r]of e.directoryLoadInfoById)ni(e,n)==null||zn(e,n)===`loaded`||t.push({info:{activeAttemptId:null,errorMessage:r.errorMessage,nextAttemptId:r.nextAttemptId,state:r.state},path:H(e,n)});return t}function li(e,t){e.collapsedDirectoryIds.clear(),e.hasCollapsedDirectoryOverrides=!1,e.expandedDirectoryIds.clear();for(let n of t.expandedPaths){let t=Or(e,n);t!=null&&Ln(e,t,!0,W(e,t))}for(let n of t.collapsedPaths){let t=Or(e,n);t!=null&&Ln(e,t,!1,W(e,t))}}function ui(e,t){e.directoryLoadInfoById.clear();for(let n of t){let t=Or(e,n.path);t!=null&&ni(e,t)!=null&&e.directoryLoadInfoById.set(t,{activeAttemptId:null,errorMessage:n.info.errorMessage,nextAttemptId:n.info.nextAttemptId,state:n.info.state})}}function di(e){e.pathCacheVersion+=1,e.pathCacheByNodeId.clear(),e.pathCacheByNodeId.set(e.snapshot.rootId,{path:``,version:e.pathCacheVersion})}function fi(e){let t=e.snapshot.segmentTable,n=fn();for(let r of e.snapshot.nodes)if(ti(r)){if(Vt(r,2)){r.nameId=0;continue}r.nameId=pn(n,mn(t,r.nameId))}e.snapshot.segmentTable=n}function pi(e){for(let[t,n]of e.snapshot.directories){let r=e.snapshot.nodes[t];if(!ti(r)||!B(r)){e.snapshot.directories.delete(t);continue}let i=n.childIds.filter(n=>{let r=e.snapshot.nodes[n];return ti(r)&&r.parentId===t});n.childIds=i,n.childIdByNameId=new Map(i.map(t=>[W(e,t).nameId,t])),n.childPositionById=new Map(i.map((e,t)=>[e,t])),Dt(e.snapshot.nodes,n)}}function mi(e){let t=e.snapshot.nodes.length-1;for(;t>e.snapshot.rootId;){let n=e.snapshot.nodes[t];if(ti(n))break;--t}e.snapshot.nodes.length=t+1}function hi(e){let t=si(e),n=ci(e);V(e.instrumentation,`store.cleanup.stable.clearPathCaches`,()=>di(e)),V(e.instrumentation,`store.cleanup.stable.rebuildSegmentTable`,()=>fi(e)),V(e.instrumentation,`store.cleanup.stable.rebuildDirectoryIndexes`,()=>pi(e)),V(e.instrumentation,`store.cleanup.stable.trimTrailingRemovedNodeSlots`,()=>mi(e)),V(e.instrumentation,`store.cleanup.stable.restoreExpansionOverrides`,()=>li(e,t)),V(e.instrumentation,`store.cleanup.stable.restoreDirectoryLoadInfos`,()=>ui(e,n)),V(e.instrumentation,`store.cleanup.stable.recomputeCounts`,()=>Er(e,e.snapshot.rootId))}function gi(e){let t=si(e),n=ci(e),r=V(e.instrumentation,`store.cleanup.aggressive.listPaths`,()=>yr(e)),i=Gt({...e.snapshot.options},e.instrumentation),a=V(e.instrumentation,`store.cleanup.aggressive.rebuildSnapshot`,()=>{let e=new jn(i);return e.appendPaths(r),e.finish()});e.snapshot=a,e.activeNodeCount=a.nodes.length-1,e.pathCacheByNodeId=new Map([[a.rootId,{path:``,version:0}]]),e.pathCacheVersion=0,V(e.instrumentation,`store.cleanup.aggressive.restoreExpansionOverrides`,()=>li(e,t)),V(e.instrumentation,`store.cleanup.aggressive.restoreDirectoryLoadInfos`,()=>ui(e,n)),V(e.instrumentation,`store.cleanup.aggressive.recomputeCounts`,()=>Er(e,e.snapshot.rootId))}function _i(e){for(let t of e.directoryLoadInfoById.values())if(t.state===`loading`&&t.activeAttemptId!=null)return!0;return!1}function vi(e,t){let n=ai(e);t===`stable`?V(e.instrumentation,`store.cleanup.stable`,()=>hi(e)):V(e.instrumentation,`store.cleanup.aggressive`,()=>gi(e));let r=ai(e);return oi(t,t===`stable`,n,r)}var yi=64;function bi(e,t){let n=t+2;if(n<=e.length)return e;let r=e.length;for(;r<n;)r*=2;let i=new Int32Array(r);return i.fill(-1),i.set(e),i}function xi(e){return W(e,e.snapshot.rootId).visibleSubtreeCount}function Si(e,t,n,r){let i=W(e,t.terminalNodeId),a=Math.max(1,i.visibleSubtreeCount);return Math.min(r-1,n+a-1)}function Ci(e,t,n,r){return{ancestorPaths:r,index:t.index,posInSet:t.posInSet,row:Hi(e,t.cursor),setSize:t.setSize,subtreeEndIndex:Si(e,t.cursor,t.index,n)}}function wi(e,t,n,r,i,a){let o=U(e,t),{childIndex:s,childVisibleIndex:c,localVisibleIndex:l}=kt(e.snapshot.nodes,o,n),u=o.childIds[s];if(u==null)throw Error(`Visible index ${String(n)} is out of range`);return Ti(e,u,l,r+c,i+1,s,o.childIds.length,a)}function Ti(e,t,n,r,i,a,o,s){if(!B(W(e,t))){if(n===0)return{ancestors:s,cursor:{headNodeId:t,terminalNodeId:t,visibleDepth:i},index:r,posInSet:a,setSize:o};throw Error(`Visible index ${String(n)} is out of range for file`)}let c=Ii(e,t,i);if(n===0)return{ancestors:s,cursor:c,index:r,posInSet:a,setSize:o};let l=W(e,c.terminalNodeId);if(!B(l)||!In(e,c.terminalNodeId,l))throw Error(`Visible index ${String(n)} is out of range for collapsed directory`);return wi(e,c.terminalNodeId,n-1,r+1,c.visibleDepth,[...s,{cursor:c,index:r,posInSet:a,setSize:o}])}function Ei(e,t){let n=xi(e);if(t<0||t>=n)return null;let r=wi(e,e.snapshot.rootId,t,0,-1,[]),i=r.ancestors.map(t=>H(e,t.cursor.terminalNodeId)),a=null;return{ancestorPaths:i,get ancestorRows(){if(a!=null)return a;let t=[],i=[];for(let a of r.ancestors){let r=Ci(e,a,n,[...i]);t.push(r),i.push(r.row.path)}return a=t,a},index:r.index,posInSet:r.posInSet,row:Hi(e,r.cursor),setSize:r.setSize,subtreeEndIndex:Si(e,r.cursor,r.index,n)}}function Di(e,t,n){let r=e.instrumentation,i=xi(e);if(i<=0||n<t)return[];let a=Math.max(0,Math.min(t,i-1)),o=Math.max(a,Math.min(n,i-1));if(r==null){if(a===0)return Vi(e,o+1);let t=[],n=Ni(e,a);for(let r=a;r<=o&&n!=null;r++){let r=Hi(e,n);t.push(r),n=Ri(e,n)}return t}let s=[],c=0,l=0,u=V(r,`store.getVisibleSlice.selectFirstRow`,()=>Ni(e,a));for(let t=a;t<=o&&u!=null;t++){let t=V(r,`store.getVisibleSlice.materializeRow`,()=>Hi(e,u));s.push(t),t.isFlattened&&(c++,l+=t.flattenedSegments?.length??0),u=V(r,`store.getVisibleSlice.advanceCursor`,()=>Ri(e,u))}return qt(r,`workload.visibleRowsRead`,s.length),qt(r,`workload.flattenedRowsRead`,c),qt(r,`workload.flattenedSegmentsRead`,l),s}function Oi(e,t=xi(e)){let n=e.instrumentation;return n==null?Bi(e,t):V(n,`store.getVisibleTreeProjection`,()=>Bi(e,t))}function ki(e){return zi(Oi(e))}function Ai(e,t){let n=Or(e,t);if(n==null||n===e.snapshot.rootId||B(W(e,n))&&_r(e,n)!==n)return null;let r=0,i=n,{nodes:a,rootId:o}=e.snapshot;for(;i!==o;){let t=W(e,i).parentId,n=U(e,t),s=wt(n).get(i);if(s==null)throw Error(`Child ${String(i)} was not found in its parent index`);if(r+=At(a,n,s),t!==o){let n=W(e,t),a=gr(e,t);if(!In(e,t,n)&&a!==i)return null;_r(e,t)===t&&(r+=1)}i=t}return r}function ji(e,t){let n=Or(e,t);if(n==null)throw Error(`Path does not exist: "${t}"`);let r=W(e,n);if(!B(r))throw Error(`Path is not a directory: "${t}"`);return In(e,n,r)?null:(Ln(e,n,!0,r),Tr(e,n),Xn({affectedAncestorIds:Dr(e,n),affectedNodeIds:[n],path:t,projectionChanged:!0}))}function Mi(e,t){let n=Or(e,t);if(n==null)throw Error(`Path does not exist: "${t}"`);let r=W(e,n);if(!B(r))throw Error(`Path is not a directory: "${t}"`);return In(e,n,r)?(Ln(e,n,!1,r),Tr(e,n),Zn({affectedAncestorIds:Dr(e,n),affectedNodeIds:[n],path:t,projectionChanged:!0})):null}function Ni(e,t){return t<0||t>=xi(e)?null:Pi(e,e.snapshot.rootId,t,-1)}function Pi(e,t,n,r){let i=U(e,t),a=e.instrumentation,{childIndex:o,localVisibleIndex:s}=a==null?kt(e.snapshot.nodes,i,n):V(a,`store.getVisibleSlice.selectChildIndex`,()=>kt(e.snapshot.nodes,i,n)),c=i.childIds[o];if(c!=null)return Fi(e,c,s,r+1);throw Error(`Visible index ${String(n)} is out of range`)}function Fi(e,t,n,r){if(!B(W(e,t))){if(n===0)return{headNodeId:t,terminalNodeId:t,visibleDepth:r};throw Error(`Visible index ${String(n)} is out of range for file`)}let i=Ii(e,t,r);if(n===0)return i;let a=W(e,i.terminalNodeId);if(!B(a)||!In(e,i.terminalNodeId,a))throw Error(`Visible index ${String(n)} is out of range for collapsed directory`);return Pi(e,i.terminalNodeId,n-1,i.visibleDepth)}function Ii(e,t,n){return B(W(e,t))?e.instrumentation==null?{headNodeId:t,terminalNodeId:_r(e,t),visibleDepth:n}:{headNodeId:t,terminalNodeId:V(e.instrumentation,`store.getVisibleSlice.flatten.resolveTerminalDirectory`,()=>_r(e,t)),visibleDepth:n}:{headNodeId:t,terminalNodeId:t,visibleDepth:n}}function Li(e,t){let n=W(e,t);if(!B(n))return!0;let r=n.parentId;return r===e.snapshot.rootId?!0:gr(e,r)!==t}function Ri(e,t){let n=W(e,t.terminalNodeId);if(B(n)){let r=U(e,t.terminalNodeId);if(In(e,t.terminalNodeId,n)&&r.childIds.length>0){let n=r.childIds[0];return n==null?null:Fi(e,n,0,t.visibleDepth+1)}}let r=t.terminalNodeId,i=t.visibleDepth;for(;;){let t=W(e,r);if(r===e.snapshot.rootId)return null;let n=t.parentId,a=U(e,n),o=wt(a).get(r)??-1;if(o<0)throw Error(`Child ${String(r)} was not found in its parent index`);let s=a.childIds[o+1]??null;if(s!=null)return Fi(e,s,0,i);Li(e,r)&&i--,r=n}}function zi(e){let t=e.paths.length,n=Array(t);for(let r=0;r<t;r+=1){let t=e.getParentIndex(r);n[r]={index:r,parentPath:t>=0?e.paths[t]??null:null,path:e.paths[r]??``,posInSet:e.posInSetByIndex[r]??0,setSize:e.setSizeByIndex[r]??0}}return{getParentIndex:e.getParentIndex,rows:n,get visibleIndexByPath(){return e.visibleIndexByPath}}}function Bi(e,t){let n=Array(t),r=new Int32Array(t),i=new Int32Array(t),a=new Int32Array(t),o=new Int32Array(yi);o.fill(-1);let s=0,{nodes:c,directories:l,segmentTable:u}=e.snapshot,d=[[l.get(e.snapshot.rootId),0,-1,``]],f=e.snapshot.options.flattenEmptyDirectories,p=e.pathCacheByNodeId,m=e.pathCacheVersion,h=u.valueById;for(;d.length>0&&s<t;){let t=d[d.length-1],u=t[0];if(t[1]>=u.childIds.length){d.pop();continue}let g=t[1],_=u.childIds[t[1]++],v=c[_],y=t[2]+1,b=t[3];o=bi(o,y);let x,S=_;if(B(v))S=f?_r(e,_):_,x=S===_?`${b}${h[v.nameId]}/`:H(e,S);else{let e=p.get(_);x=e!=null&&e.version===m?e.path:`${b}${h[v.nameId]}`}r[s]=o[y],n[s]=x,i[s]=g,a[s]=u.childIds.length,o[y+1]=s,s+=1;let C=c[S];C!=null&&B(C)&&In(e,S,C)&&d.push([l.get(S),0,y,x])}s<t&&(n.length=s);let g=r.subarray(0,s),_=i.subarray(0,s),v=a.subarray(0,s),y=null;return{getParentIndex(e){return e<0||e>=s?-1:g[e]??-1},paths:n,posInSetByIndex:_,setSizeByIndex:v,get visibleIndexByPath(){if(y==null){y=new Map;for(let e=0;e<s;e+=1)y.set(n[e]??``,e)}return y}}}function Vi(e,t){let n=Array(t),r=0,{nodes:i,directories:a,segmentTable:o}=e.snapshot,s=[[a.get(e.snapshot.rootId),0,-1]],c=o.valueById,l=e.snapshot.options.flattenEmptyDirectories,u=e.pathCacheByNodeId,d=e.pathCacheVersion;for(;s.length>0&&r<t;){let t=s[s.length-1],o=t[0];if(t[1]>=o.childIds.length){s.pop();continue}let f=o.childIds[t[1]++],p=i[f],m=t[2]+1;if(!B(p)){let t=u.get(f);n[r++]={depth:m,flattenedSegments:void 0,hasChildren:!1,id:f,isExpanded:!1,isFlattened:!1,isLoading:!1,kind:`file`,loadState:void 0,name:c[p.nameId],path:t!=null&&t.version===d?t.path:H(e,f)};continue}let h=l?_r(e,f):f,g={headNodeId:f,terminalNodeId:h,visibleDepth:m};n[r++]=Hi(e,g);let _=i[h];_!=null&&B(_)&&In(e,h,_)&&s.push([a.get(h),0,m])}return r<t&&(n.length=r),n}function Hi(e,t){let n=W(e,t.terminalNodeId),r=B(n)?Ui(e,t):null,i=H(e,t.terminalNodeId),a=mn(e.snapshot.segmentTable,n.nameId),o=B(n)&&U(e,t.terminalNodeId).childIds.length>0,s=t.headNodeId!==t.terminalNodeId,c=e.instrumentation,l=s?c==null?vr(e,t.headNodeId).map(n=>{let r=W(e,n);return{isTerminal:n===t.terminalNodeId,name:mn(e.snapshot.segmentTable,r.nameId),nodeId:n,path:H(e,n)}}):V(c,`store.getVisibleSlice.flatten.collectSegments`,()=>vr(e,t.headNodeId).map(n=>{let r=W(e,n);return{isTerminal:n===t.terminalNodeId,name:mn(e.snapshot.segmentTable,r.nameId),nodeId:n,path:H(e,n)}})):void 0;return{depth:t.visibleDepth,flattenedSegments:l,hasChildren:o,id:t.terminalNodeId,isExpanded:B(n)&&In(e,t.terminalNodeId,n),isFlattened:s,isLoading:r===`loading`,kind:B(n)?`directory`:`file`,loadState:r==null||r===`loaded`?void 0:r,name:a,path:i}}function Ui(e,t){if(t.headNodeId===t.terminalNodeId)return zn(e,t.terminalNodeId);let n=vr(e,t.headNodeId),r=!1,i=!1;for(let t of n){let n=zn(e,t);if(n===`loading`)return`loading`;if(n===`error`){i=!0;continue}n===`unloaded`&&(r=!0)}return i?`error`:r?`unloaded`:`loaded`}function Wi(e){let{directories:t,nodes:n,options:r,rootId:i,presortedDirectoryNodeIds:a}=e.snapshot,o=r.flattenEmptyDirectories===!0,s=e=>{let r=n[e];if(r==null||!B(r))return;let i=t.get(e);if(i==null)throw Error(`Unknown directory child index for node ${String(e)}`);let a=i.childIds,s=a.length,c=0,l=0;for(let e=0;e<s;e++){let t=a[e];if(t==null)continue;let r=n[t];c+=r.subtreeNodeCount,l+=r.visibleSubtreeCount}i.totalChildSubtreeNodeCount=c,i.totalChildVisibleSubtreeCount=l,s>=128&&jt(n,i),r.subtreeNodeCount=1+c;let u;if(o&&s===1){let e=n[a[0]];u=e!=null&&B(e)?l:1+l}else u=1+l;r.visibleSubtreeCount=u};if(a!=null)for(let e=a.length-1;e>=0;e--)s(a[e]);else for(let e=n.length-1;e>=1;e--)s(e);let c=n[i],l=t.get(i);if(c==null||l==null)return;let u=l.childIds,d=0,f=0;for(let e=0;e<u.length;e++){let t=u[e];if(t==null)continue;let r=n[t];d+=r.subtreeNodeCount,f+=r.visibleSubtreeCount}l.totalChildSubtreeNodeCount=d,l.totalChildVisibleSubtreeCount=f,jt(n,l),c.subtreeNodeCount=1+d,c.visibleSubtreeCount=f}function Gi(e){return e.initialExpansion===`open`&&(e.initialExpandedPaths==null||e.initialExpandedPaths.length===0)}var Ki=class e{#e;constructor(e={}){let t=Kt(e),n=V(t,`store.builder.create`,()=>new jn(e));if(e.preparedInput!=null){let t=On(e.preparedInput);t==null?n.appendPreparedPaths(Dn(e.preparedInput),!1):n.appendPresortedPaths(t,kn(e.preparedInput))}else{let r=e.paths??[];e.presorted===!0?n.appendPaths(r):n.appendPreparedPaths(V(t,`store.preparePathEntries`,()=>An(r,e)))}let r=V(t,`store.builder.finish`,()=>n.finish({skipSubtreeCountPass:!0})),i=V(t,`store.state.detectAllDirectoriesExpanded`,()=>(e.initialExpansion??`closed`)===`closed`&&n.didMatchAllInitialExpandedPaths());this.#e=V(t,`store.state.create`,()=>Mn(r,i?`open`:e.initialExpansion??`closed`,t)),i&&(this.#e.collapseNewDirectoriesByDefault=!0);let a=i?this.#e.snapshot.directories.size-1:V(t,`store.state.initializeExpandedPaths`,()=>this.initializeExpandedPaths(e.initialExpandedPaths));i||Gi(e)||(e.initialExpansion??`closed`)===`closed`&&a===this.#e.snapshot.directories.size-1||(e.initialExpandedPaths?.length??0)>0&&V(t,`store.state.checkAllDirectoriesExpanded`,()=>this.hasAllDirectoriesExpanded())?V(t,`store.state.initializeOpenVisibleCounts`,()=>Wi(this.#e)):V(t,`store.state.recomputeCounts`,()=>Er(this.#e,this.#e.snapshot.rootId))}static preparePaths(e,t={}){return wn(e,t)}static prepareInput(e,t={}){return Tn(e,t)}static preparePresortedInput(e){return En(e)}list(e){return V(this.#e.instrumentation,`store.list`,()=>yr(this.#e,e))}add(e){V(this.#e.instrumentation,`store.add`,()=>{let t=xi(this.#e);or(this.#e,ir(this.#e,t,br(this.#e,e)))})}remove(e,t={}){V(this.#e.instrumentation,`store.remove`,()=>{let n=xi(this.#e);or(this.#e,ir(this.#e,n,xr(this.#e,e,t)))})}move(e,t,n={}){V(this.#e.instrumentation,`store.move`,()=>{let r=xi(this.#e),i=Sr(this.#e,e,t,n);i!=null&&or(this.#e,ir(this.#e,r,i))})}batch(e){ar(this.#e,()=>{if(typeof e==`function`){e(this);return}for(let t of e)switch(t.type){case`add`:this.add(t.path);break;case`remove`:this.remove(t.path,{recursive:t.recursive});break;case`move`:this.move(t.from,t.to,{collision:t.collision});break}})}getVisibleCount(){return V(this.#e.instrumentation,`store.getVisibleCount`,()=>xi(this.#e))}getVisibleSlice(e,t){return V(this.#e.instrumentation,`store.getVisibleSlice`,()=>Di(this.#e,e,t))}getVisibleRowContext(e){return V(this.#e.instrumentation,`store.getVisibleRowContext`,()=>Ei(this.#e,e))}getVisibleTreeProjection(){return ki(this.#e)}getVisibleTreeProjectionData(e){return Oi(this.#e,e)}getVisibleIndex(e){return V(this.#e.instrumentation,`store.getVisibleIndex`,()=>Ai(this.#e,e))}getPathInfo(e){return V(this.#e.instrumentation,`store.getPathInfo`,()=>{let t=Or(this.#e,e);if(t==null)return null;let n=W(this.#e,t);return{depth:Rt(n),kind:B(n)?`directory`:`file`,path:H(this.#e,t)}})}isExpanded(e){return V(this.#e.instrumentation,`store.isExpanded`,()=>{let t=this.requireDirectoryNodeId(e),n=W(this.#e,t);return In(this.#e,t,n)})}expand(e){V(this.#e.instrumentation,`store.expand`,()=>{let t=xi(this.#e),n=ji(this.#e,e);n!=null&&or(this.#e,ir(this.#e,t,n))})}collapse(e){V(this.#e.instrumentation,`store.collapse`,()=>{let t=xi(this.#e),n=Mi(this.#e,e);n!=null&&or(this.#e,ir(this.#e,t,n))})}on(e,t){return Kn(this.#e,e,t)}getDirectoryLoadState(e){let t=this.requireDirectoryNodeId(e);return zn(this.#e,t)}markDirectoryUnloaded(e){V(this.#e.instrumentation,`store.markDirectoryUnloaded`,()=>{let t=this.requireDirectoryNodeId(e);if(U(this.#e,t).childIds.length>0)throw Error(`Cannot mark a directory with known children as unloaded: "${e}"`);let n=xi(this.#e);Vn(this.#e,t),or(this.#e,ir(this.#e,n,Qn({affectedAncestorIds:Dr(this.#e,t),affectedNodeIds:[t],path:e,projectionChanged:this.isDirectoryProjectionVisible(t)})))})}beginChildLoad(e){return V(this.#e.instrumentation,`store.beginChildLoad`,()=>{let t=this.requireDirectoryNodeId(e),n=xi(this.#e),r=Bn(this.#e,t);return or(this.#e,ir(this.#e,n,$n({affectedAncestorIds:Dr(this.#e,t),affectedNodeIds:[t],attemptId:r.attemptId,path:e,projectionChanged:this.isDirectoryProjectionVisible(t),reused:r.reused}))),r})}applyChildPatch(e,t){return V(this.#e.instrumentation,`store.applyChildPatch`,()=>{let n=this.resolveActiveDirectoryNodeId(e.nodeId);if(n==null||zn(this.#e,n)!==`loading`||!Un(this.#e,n,e.attemptId))return!1;let r=H(this.#e,n);this.validateChildPatch(r,t);let i=xi(this.#e),a=[];for(let e of t.operations){qi(r,e);let t=xi(this.#e);switch(e.type){case`add`:a.push(ir(this.#e,t,br(this.#e,e.path)));break;case`remove`:a.push(ir(this.#e,t,xr(this.#e,e.path,{recursive:e.recursive})));break;case`move`:{let n=Sr(this.#e,e.from,e.to,{collision:e.collision});n!=null&&a.push(ir(this.#e,t,n));break}}}let o=a.some(e=>e.projectionChanged)||this.isDirectoryProjectionVisible(n);return or(this.#e,ir(this.#e,i,er({affectedAncestorIds:Dr(this.#e,n),affectedNodeIds:[n],attemptId:e.attemptId,childEvents:a,path:H(this.#e,n),projectionChanged:o}))),!0})}completeChildLoad(e){return V(this.#e.instrumentation,`store.completeChildLoad`,()=>{let t=this.resolveActiveDirectoryNodeId(e.nodeId);if(t==null)return!1;let n=xi(this.#e),r=Hn(this.#e,t,e.attemptId);return or(this.#e,ir(this.#e,n,tr({affectedAncestorIds:Dr(this.#e,t),affectedNodeIds:[t],attemptId:e.attemptId,path:H(this.#e,t),projectionChanged:this.isDirectoryProjectionVisible(t),stale:!r}))),r})}failChildLoad(e,t){return V(this.#e.instrumentation,`store.failChildLoad`,()=>{let n=this.resolveActiveDirectoryNodeId(e.nodeId);if(n==null)return!1;let r=xi(this.#e),i=Wn(this.#e,n,e.attemptId,t);return or(this.#e,ir(this.#e,r,nr({affectedAncestorIds:Dr(this.#e,n),affectedNodeIds:[n],attemptId:e.attemptId,errorMessage:t,path:H(this.#e,n),projectionChanged:this.isDirectoryProjectionVisible(n),stale:!i}))),i})}cleanup(e={}){return V(this.#e.instrumentation,`store.cleanup`,()=>{if(this.#e.transactionStack.length>0)throw Error(`Cleanup cannot run during an open batch or transaction.`);if(_i(this.#e))throw Error(`Cleanup cannot run while directory loads are active.`);let t=xi(this.#e),n=vi(this.#e,e.mode??`stable`);return or(this.#e,ir(this.#e,t,rr({...n,affectedAncestorIds:[],affectedNodeIds:[],projectionChanged:n.idsPreserved===!1}))),n})}getNodeCount(){return this.#e.activeNodeCount}initializeExpandedPaths(e){if(e==null||e.length===0)return 0;let t=0,n=[],r=[],i=0,a=null,o=this.#e.snapshot.segmentTable,s=o.valueById,c=this.#e.snapshot.nodes,l=new Map;for(let u of e){a!=null&&u<a&&(a=null,i=0,n.length=0,r.length=0);let e=u.length>0&&u.charCodeAt(u.length-1)===47?u.length-1:u.length;if(e===0){a=u,i=e,n.length=0,r.length=0;continue}let d=0,f=0;if(a!=null){let t=Math.min(e,i),n=!0;for(let e=0;e<t;e+=1){let t=u.charCodeAt(e);if(t!==a.charCodeAt(e)){n=!1;break}t===47&&(d+=1,f=e+1)}n&&(t===i&&e>t&&u.charCodeAt(t)===47?(d+=1,f=t+1):t===e&&i>t&&a.charCodeAt(t)===47&&(d+=1,f=e+1)),d=Math.min(d,r.length)}let p=d===0?this.#e.snapshot.rootId:r[d-1]??this.#e.snapshot.rootId,m=d,h=!0,g=f;for(;g<=e;){let t=u.indexOf(`/`,g),i=t===-1||t>e?e:t,a=u.slice(g,i),f=U(this.#e,p).childIds,_=m===d?n[m]??0:0,v=_,y,b=l.get(a)??Xt(a);l.set(a,b);let x=(e,t)=>{for(v=e;v<t;v+=1){let e=f[v],t=c[e],n=s[t.nameId];if(n===a)return y=e,!0;let r=Qt(on(o,t.nameId),b);if(r>0||r===0&&n>a)return!1}return!1};if(!x(_,f.length)&&_>0&&x(0,_),y===void 0){h=!1;break}if(!B(W(this.#e,y))){h=!1;break}if(n[m]=v,r[m]=y,p=y,m+=1,i===e)break;g=i+1}if(a=u,i=e,n.length=m,r.length=m,!h){a=null,i=0,n.length=0,r.length=0;continue}for(let e=d;e<m;e+=1){let n=r[e];if(n==null)continue;let i=W(this.#e,n);In(this.#e,n,i)||(Ln(this.#e,n,!0,i),t+=1)}}return t}hasAllDirectoriesExpanded(){for(let e of this.#e.snapshot.directories.keys()){if(e===this.#e.snapshot.rootId)continue;let t=W(this.#e,e);if(!In(this.#e,e,t))return!1}return!0}requireDirectoryNodeId(e){let t=Or(this.#e,e);if(t==null)throw Error(`Path does not exist: "${e}"`);if(!B(W(this.#e,t)))throw Error(`Path is not a directory: "${e}"`);return t}resolveActiveDirectoryNodeId(e){try{if(!B(W(this.#e,e)))throw Error(`Node is not a directory: ${String(e)}`);return e}catch{return null}}isDirectoryProjectionVisible(e){let t=e;for(;t!==this.#e.snapshot.rootId;){let e=W(this.#e,t).parentId;if(e!==this.#e.snapshot.rootId){let n=W(this.#e,e),r=gr(this.#e,e);if(!In(this.#e,e,n)&&r!==t)return!1}t=e}return!0}validateChildPatch(t,n){new e({paths:this.list(t),presorted:!0,sort:this.#e.snapshot.options.sort}).batch(n.operations)}};function qi(e,t){switch(t.type){case`add`:case`remove`:if(!t.path.startsWith(e)||t.path===e)throw Error(`Child patch operation must stay within ${e}: "${t.path}"`);break;case`move`:if(!t.from.startsWith(e)||!t.to.startsWith(e)||t.from===e||t.to===e)throw Error(`Child patch move must stay within ${e}: "${t.from}" -> "${t.to}"`);break}}var Ji={compact:{itemHeight:24,factor:.8},default:{itemHeight:30,factor:1},relaxed:{itemHeight:36,factor:1.2}};function Yi(e,t){if(typeof e==`number`)return{itemHeight:t??Ji.default.itemHeight,factor:e};let n=Ji[e??`default`];return{itemHeight:t??n.itemHeight,factor:n.factor}}var Xi=Ji.default.itemHeight,Zi=`@layer base, theme, unsafe;
1
+ import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{n as t,r as n,t as r}from"./compiler-runtime-CLAvuQ-D.js";import{$c as i,At as a,Cf as o,Dl as s,Fa as c,G as l,Gc as u,Ml as d,Or as f,Ot as p,Sr as m,Xc as h,al as g,dt as _,ft as v,gt as y,h as b,ht as x,mt as S,n as C,o as w,ol as T,st as E,va as D,vt as O,wt as ee,x as k,xt as te,yt as A}from"./previewAssetResource-CXEgFBIp.js";import{n as j,r as M,t as N}from"./renderFileChildren-CQePFzqT.js";import{$ as ne,Ar as re,Bn as ie,Cn as ae,Cr as oe,D as se,E as ce,Fn as le,Fr as ue,Gn as de,Gt as fe,Hn as pe,Hr as P,Ht as me,Jr as he,Jt as ge,Kn as F,Kt as _e,Mn as ve,Pr as ye,T as be,Un as xe,Ut as Se,Vn as Ce,Wn as we,Z as Te,Zr as I,_r as Ee,_t as De,an as Oe,b as ke,bn as Ae,br as je,ct as Me,d as Ne,ei as Pe,et as Fe,f as Ie,fn as Le,gt as Re,hr as ze,ii as Be,kr as Ve,l as He,m as Ue,on as We,p as Ge,qn as Ke,ri as qe,ti as Je,tt as Ye,u as Xe,v as Ze,vr as Qe,w as $e,wn as et,x as tt,y as nt,yr as rt,zr as it}from"./index-BMfIngdZ.js";import{a as at,i as ot,n as st,r as L,t as R}from"./fileCommentAnnotations-Bm2-xw0A.js";var ct=i(`file-question-mark`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}],[`path`,{d:`M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3`,key:`mhlwft`}]]),lt=i(`folder-tree`,[[`path`,{d:`M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`,key:`hod4my`}],[`path`,{d:`M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`,key:`w4yl2u`}],[`path`,{d:`M3 5a2 2 0 0 0 2 2h3`,key:`f2jnh7`}],[`path`,{d:`M3 3v13a2 2 0 0 0 2 2h3`,key:`k8epm1`}]]),ut=`file-tree-container`,dt=`data-file-tree-style`,ft=`data-file-tree-unsafe-css`,pt=`data-file-tree-scrollbar-measure`,mt=`data-file-tree-scrollbar-gutter-measured`,ht=`--trees-scrollbar-gutter-measured`,gt=`header`,_t=`context-menu`,vt=`context-menu-trigger`,yt=5,bt=1<<yt,xt=bt*4;function z(){return{childIdByNameId:new Map,childIds:[],childPositionById:new Map,childVisibleChunkSums:null,totalChildSubtreeNodeCount:0,totalChildVisibleSubtreeCount:0}}function St(){return{childIdByNameId:null,childIds:[],childPositionById:null,childVisibleChunkSums:null,totalChildSubtreeNodeCount:0,totalChildVisibleSubtreeCount:0}}function Ct(e,t){if(t.childIdByNameId!=null)return t.childIdByNameId;let n=new Map;for(let r of t.childIds){let t=e[r];t!=null&&n.set(t.nameId,r)}return t.childIdByNameId=n,n}function wt(e){if(e.childPositionById!=null)return e.childPositionById;let t=new Map;for(let n=0;n<e.childIds.length;n++){let r=e.childIds[n];r!=null&&t.set(r,n)}return e.childPositionById=t,t}function Tt(e,t){e.childPositionById!=null&&e.childPositionById.set(t,e.childIds.length),e.childIds.push(t)}function Et(e,t){if(e.childPositionById!=null)for(let n=t;n<e.childIds.length;n++){let t=e.childIds[n];t!=null&&e.childPositionById.set(t,n)}}function Dt(e,t){let n=0,r=0;for(let i of t.childIds){let t=e[i];t!=null&&(n+=t.subtreeNodeCount,r+=t.visibleSubtreeCount)}t.totalChildSubtreeNodeCount=n,t.totalChildVisibleSubtreeCount=r,jt(e,t)}function Ot(e,t,n,r){if(e.totalChildSubtreeNodeCount+=n,e.totalChildVisibleSubtreeCount+=r,e.childVisibleChunkSums==null||r===0)return;let i=wt(e).get(t);if(i===void 0)return;let a=i>>yt;e.childVisibleChunkSums[a]+=r}function kt(e,t,n){let r=t.childVisibleChunkSums;if(r!=null){let i=n,a=0;for(let o of r){if(i<o){let r=Mt(e,t,a,i);return{...r,childVisibleIndex:n-r.localVisibleIndex}}i-=o,a+=bt}throw Error(`Visible child index ${String(n)} is out of range`)}let i=n;for(let r=0;r<t.childIds.length;r++){let a=t.childIds[r];if(a==null)continue;let o=e[a];if(o!=null){if(i<o.visibleSubtreeCount)return{childIndex:r,childVisibleIndex:n-i,localVisibleIndex:i};i-=o.visibleSubtreeCount}}throw Error(`Visible child index ${String(n)} is out of range`)}function At(e,t,n){let r=0,i=t.childVisibleChunkSums,a=0;if(i!=null){let e=n>>yt;for(let t=0;t<e;t+=1)r+=i[t]??0;a=e<<yt}for(let i=a;i<n;i+=1){let n=t.childIds[i];if(n==null)continue;let a=e[n];a!=null&&(r+=a.visibleSubtreeCount)}return r}function jt(e,t){if(t.childIds.length<xt){t.childVisibleChunkSums=null;return}let n=Math.ceil(t.childIds.length/bt),r=new Int32Array(n);for(let n=0;n<t.childIds.length;n++){let i=t.childIds[n];if(i==null)continue;let a=e[i];a!=null&&(r[n>>yt]+=a.visibleSubtreeCount)}t.childVisibleChunkSums=r}function Mt(e,t,n,r){let i=Math.min(t.childIds.length,n+bt),a=r;for(let r=n;r<i;r++){let n=t.childIds[r];if(n==null)continue;let i=e[n];if(i!=null){if(a<i.visibleSubtreeCount)return{childIndex:r,localVisibleIndex:a};a-=i.visibleSubtreeCount}}throw Error(`Visible child index ${String(r)} is out of range`)}var Nt=7,Pt=3,Ft=1<<Pt,It=4;function Lt(e,t,n=0){return e<<It|n<<Pt|t}function Rt(e){return e.depthAndFlags>>>It}function zt(e){return(e.depthAndFlags&Ft)>>Pt}function B(e){return(e.depthAndFlags&Ft)!==0}function Bt(e){return e.depthAndFlags&Nt}function Vt(e,t){return(Bt(e)&t)!==0}function Ht(e,t){e.depthAndFlags|=t}function Ut(e,t){e.depthAndFlags=Lt(t,Bt(e),zt(e))}var Wt=Symbol(`benchmarkInstrumentation`);function Gt(e,t){return t==null||Object.defineProperty(e,Wt,{configurable:!0,enumerable:!1,value:t,writable:!1}),e}function Kt(e){return e==null?null:e[Wt]??null}function V(e,t,n){return e==null?n():e.measurePhase(t,n)}function qt(e,t,n){!Number.isFinite(n)||e==null||e.setCounter(t,n)}function Jt(e){return e>=48&&e<=57}function Yt(e){let t=[],n=0,r=0;for(;r<e.length;){for(;r<e.length&&!Jt(e.charCodeAt(r));)r+=1;if(r>=e.length)break;r>n&&t.push(e.slice(n,r));let i=0;for(;r<e.length&&Jt(e.charCodeAt(r));)i=i*10+(e.charCodeAt(r)-48),r+=1;t.push(i),n=r}return(n<e.length||t.length===0)&&t.push(e.slice(n)),t}function Xt(e){let t=e.toLowerCase();return{lowerValue:t,tokens:Yt(t)}}function Zt(e,t){let n=Math.min(e.length,t.length);for(let r=0;r<n;r++){let n=e[r],i=t[r];if(n===i)continue;if(typeof n==`number`&&typeof i==`number`)return n<i?-1:1;let a=String(n),o=String(i);if(a!==o)return a<o?-1:1}return e.length===t.length?0:e.length<t.length?-1:1}function Qt(e,t){if(e.tokens.length===1&&t.tokens.length===1&&typeof e.tokens[0]==`string`&&typeof t.tokens[0]==`string`)return e.lowerValue===t.lowerValue?0:e.lowerValue<t.lowerValue?-1:1;let n=Zt(e.tokens,t.tokens);return n===0?e.lowerValue===t.lowerValue?0:e.lowerValue<t.lowerValue?-1:1:n}function $t(e,t,n){let r=Qt(n(e),n(t));return r===0?e===t?0:e<t?-1:1:r}function en(e,t){return $t(e,t,Xt)}function tn(e,t){return t===e.segments.length-1?+!!e.isDirectory:1}function nn(e,t){let n=Math.min(e.segments.length,t.segments.length);for(let r=0;r<n;r++){let n=e.segments[r],i=t.segments[r];if(n===i)continue;let a=tn(e,r);return a===tn(t,r)?en(n,i):a===1?-1:1}return e.segments.length===t.segments.length?e.isDirectory===t.isDirectory?0:e.isDirectory?-1:1:e.segments.length<t.segments.length?-1:1}function rn(e,t){return nn(e,t)}function an(e,t,n){let r=e=>{let t=n.get(e);if(t!=null)return t;let r=Xt(e);return n.set(e,r),r},i=Math.min(e.segments.length,t.segments.length);for(let n=0;n<i;n++){let i=e.segments[n],a=t.segments[n];if(i===a)continue;let o=tn(e,n);return o===tn(t,n)?$t(i,a,r):o===1?-1:1}return e.segments.length===t.segments.length?e.isDirectory===t.isDirectory?0:e.isDirectory?-1:1:e.segments.length<t.segments.length?-1:1}function on(e,t){let n=e.sortKeyById[t];if(n!==void 0)return n;let r=e.valueById[t],i=Xt(r);return e.sortKeyById[t]=i,i}function sn(e={}){return{flattenEmptyDirectories:e.flattenEmptyDirectories!==!1,sort:e.sort??`default`}}function cn(e){let t=e.length>0&&e.charCodeAt(e.length-1)===47,n=t?e.length-1:e.length,r=[],i=0;for(let t=0;t<n;t++)e.charCodeAt(t)===47&&(r.push(e.slice(i,t)),i=t+1);return r.push(e.slice(i,n)),{hasTrailingSlash:t,segments:r}}function ln(e){let{hasTrailingSlash:t,segments:n}=cn(e);return{basename:n[n.length-1]??``,isDirectory:t,path:e,segments:n}}function un(e){if(e.length===0)return{requiresDirectory:!1,segments:[]};let{hasTrailingSlash:t,segments:n}=cn(e);return{requiresDirectory:t,segments:n}}var dn=``;function fn(){let e=new Map;return e.set(dn,0),{idByValue:e,valueById:[dn],sortKeyById:[Xt(dn)]}}function pn(e,t){let n=e.idByValue.get(t);if(n!==void 0)return n;let r=e.valueById.length;return e.idByValue.set(t,r),e.valueById.push(t),r}function mn(e,t){let n=e.valueById[t];if(n===void 0)throw Error(`Unknown segment ID: ${String(t)}`);return n}var hn=Symbol(`pathStorePreparedInputKind`);function gn(e,t){return e[hn]=t,e}function _n(e){return{basename:e.basename,depth:e.segments.length,isDirectory:e.isDirectory,path:e.path,segments:e.segments}}function vn(e,t,n){return n==="default"?rn(e,t):n(_n(e),_n(t))}function yn(){return{depthAndFlags:Lt(0,3,1),nameId:0,parentId:0,subtreeNodeCount:1,visibleSubtreeCount:1}}function bn(e,t){let n=Math.min(e.length,t.length);for(let r=0;r<n;r++)if(e[r]!==t[r])return r;return n}function xn(e){return e.isDirectory?e.segments.length:e.segments.length-1}function Sn(e){return Array.isArray(e)&&e.every(e=>typeof e==`object`&&!!e&&typeof e.path==`string`&&Array.isArray(e.segments)&&typeof e.basename==`string`&&typeof e.isDirectory==`boolean`)}function Cn(e){return Array.isArray(e)&&e.every(e=>typeof e==`string`)}function wn(e,t={}){return An(e,t).map(e=>e.path)}function Tn(e,t={}){let n=An(e,t);return gn({paths:n.map(e=>e.path),preparedPaths:n},`prepared`)}function En(e){let t=e.length,n=!1;for(let r=0;r<t;r+=1){let t=e[r];if(t.length>0&&t.charCodeAt(t.length-1)===47){n=!0;break}}return gn({paths:e,presortedPaths:e,presortedPathsContainDirectories:n},`presorted`)}function Dn(e){let t=e,n=t.preparedPaths;if(t[hn]===`prepared`&&n!=null)return n;if(!Sn(n))throw Error(`preparedInput must come from PathStore.prepareInput()`);return n}function On(e){let t=e;return t[hn]===`presorted`&&t.presortedPaths!=null||Cn(t.presortedPaths)?t.presortedPaths:null}function kn(e){let t=e;return typeof t.presortedPathsContainDirectories==`boolean`?t.presortedPathsContainDirectories:null}function An(e,t={}){let n=sn(t),r=Kt(t);qt(r,`workload.inputFiles`,e.length);let i=V(r,`store.preparePathEntries.parse`,()=>e.map(e=>ln(e)));return V(r,`store.preparePathEntries.sort`,()=>i.sort((e,t)=>vn(e,t,n.sort))),i}var jn=class{directories=new Map;directoryStack=[0];presortedDirectoryNodeIds=[];initialExpandedPathSet;createdDirectoriesAllExpanded=!1;createdDirectoryCount=0;lastPreparedPath=null;nodes=[yn()];options;instrumentation;segmentSortKeyCache=new Map;segmentTable=fn();hasDeferredDirectoryIndexes=!1;constructor(e={}){this.instrumentation=Kt(e),this.options=sn(e);let t=e.initialExpandedPaths??null;if(t==null||t.length===0)this.initialExpandedPathSet=null;else{let e=new Set,n=t.length;for(let r=0;r<n;r+=1){let n=t[r],i=n.length;e.add(i>0&&n.charCodeAt(i-1)===47?n.slice(0,i-1):n)}this.initialExpandedPathSet=e,this.createdDirectoriesAllExpanded=!0}this.directories.set(0,z())}appendPaths(e){return V(this.instrumentation,`store.builder.appendPaths.parse`,()=>this.appendPreparedPaths(e.map(e=>ln(e))))}appendPreparedPaths(e,t=!0){return this.createdDirectoriesAllExpanded=!1,V(this.instrumentation,`store.builder.appendPreparedPaths`,()=>{for(let n of e)this.appendPreparedPath(n,t)}),this}appendPresortedPaths(e,t=null){return V(this.instrumentation,`store.builder.appendPresortedPaths`,()=>{if(t===!1){this.appendPresortedFilePaths(e);return}this.createdDirectoriesAllExpanded=!1;let n=null,r=0,i=this.nodes,a=this.segmentTable,o=a.idByValue,s=a.valueById,c=this.directoryStack,l=0,u=``,d=0;for(let t of e){if(n===t)throw Error(`Duplicate path: "${t}"`);let e=t.length>0&&t.charCodeAt(t.length-1)===47,a=e?t.length-1:t.length,f=0,p=0;if(n!=null)if(u.length>0&&t.length>u.length&&t.startsWith(u))f=d,p=u.length;else{let r=Math.min(a,n.length),i=!0;for(let e=0;e<r;e++){let r=t.charCodeAt(e);if(r!==n.charCodeAt(e)){i=!1;break}r===47&&(f++,p=e+1)}i&&e&&r===a&&n.length>a&&n.charCodeAt(a)===47&&(f++,p=a+1)}l=f,r=f;let m=p,h=t.indexOf(`/`,m);for(;h>=0&&h<a;){let e=c[l];if(e===void 0)throw Error(`Directory stack underflow while building the path store`);r++;let n=t.slice(m,h),a=o.get(n);a===void 0&&(a=s.length,o.set(n,a),s.push(n));let u=i.length;i.push({depthAndFlags:Lt(r,0,1),nameId:a,parentId:e,subtreeNodeCount:1,visibleSubtreeCount:1}),this.recordCreatedDirectoryPath(t.slice(0,h)),l++,c[l]=u,m=h+1,h=t.indexOf(`/`,m)}if(e){if(m<a){let e=c[l];if(e===void 0)throw Error(`Unable to resolve directory parent for "${t}"`);r++;let n=t.slice(m,a),u=o.get(n);u===void 0&&(u=s.length,o.set(n,u),s.push(n));let d=i.length;i.push({depthAndFlags:Lt(r,0,1),nameId:u,parentId:e,subtreeNodeCount:1,visibleSubtreeCount:1}),l++,c[l]=d}let e=c[l];if(e===void 0)throw Error(`Unable to resolve directory node for "${t}"`);this.promoteDirectoryToExplicit(e,t)}else{let e=c[l];if(e===void 0)throw Error(`Unable to resolve file parent for "${t}"`);let n=t.slice(m),a=o.get(n);a===void 0&&(a=s.length,o.set(n,a),s.push(n)),i.push({depthAndFlags:Lt(r+1,0),nameId:a,parentId:e,subtreeNodeCount:1,visibleSubtreeCount:1})}m!==u.length&&(u=t.substring(0,m),d=r),n=t}c.length=l+1,n!=null&&(this.lastPreparedPath=ln(n)),this.hasDeferredDirectoryIndexes=!0}),this}appendPresortedFilePaths(e){let t=null,n=0,r=this.nodes,i=this.segmentTable,a=i.idByValue,o=i.valueById,s=this.directoryStack,c=0,l=``,u=0;for(let i of e){if(t===i)throw Error(`Duplicate path: "${i}"`);let e=i.length,d=0,f=0;if(t!=null)if(l.length>0&&i.length>l.length&&i.startsWith(l))d=u,f=l.length;else{let n=Math.min(e,t.length);for(let e=0;e<n;e++){let n=i.charCodeAt(e);if(n!==t.charCodeAt(e))break;n===47&&(d++,f=e+1)}}c=d,n=d;let p=f,m=i.indexOf(`/`,p);for(;m>=0;){let e=s[c];if(e===void 0)throw Error(`Directory stack underflow while building the path store`);n++;let t=i.slice(p,m),l=a.get(t);l===void 0&&(l=o.length,a.set(t,l),o.push(t));let u=r.length;r.push({depthAndFlags:Lt(n,0,1),nameId:l,parentId:e,subtreeNodeCount:1,visibleSubtreeCount:1}),this.recordCreatedDirectoryPath(i.slice(0,m)),this.presortedDirectoryNodeIds.push(u),c++,s[c]=u,p=m+1,m=i.indexOf(`/`,p)}let h=s[c];if(h===void 0)throw Error(`Unable to resolve file parent for "${i}"`);let g=i.slice(p),_=a.get(g);_===void 0&&(_=o.length,a.set(g,_),o.push(g)),r.push({depthAndFlags:Lt(n+1,0),nameId:_,parentId:h,subtreeNodeCount:1,visibleSubtreeCount:1}),p!==l.length&&(l=i.substring(0,p),u=n),t=i}s.length=c+1,t!=null&&(this.lastPreparedPath=ln(t)),this.hasDeferredDirectoryIndexes=!0}finish(e={}){let t=e.skipSubtreeCountPass===!0;return this.hasDeferredDirectoryIndexes?(V(this.instrumentation,`store.builder.buildDirectoryIndexes`,()=>this.buildPresortedFinish(t)),this.hasDeferredDirectoryIndexes=!1):t||V(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&&this.initialExpandedPathSet!=null&&this.createdDirectoryCount===this.initialExpandedPathSet.size}appendPreparedPath(e,t){if(this.hasDeferredDirectoryIndexes&&=(this.buildDirectoryIndexes(),!1),this.lastPreparedPath!=null){if(e.path===this.lastPreparedPath.path)throw Error(`Duplicate path: "${e.path}"`);if(t&&(this.options.sort==="default"?an(this.lastPreparedPath,e,this.segmentSortKeyCache):vn(this.lastPreparedPath,e,this.options.sort))>0)throw Error(`Builder input must be sorted before appendPaths(): "${e.path}"`)}let n=this.lastPreparedPath,r=xn(e),i=n==null?0:xn(n),a=n==null?0:bn(n.segments,e.segments),o=Math.min(a,r,i);this.directoryStack.length=o+1;for(let n=o;n<r;n++){let r=this.directoryStack[this.directoryStack.length-1];if(r===void 0)throw Error(`Directory stack underflow while building the path store`);let i=t?this.getOrCreateDirectoryChild(r,e.segments[n]):this.createDirectoryChild(r,e.segments[n]);this.directoryStack.push(i)}if(e.isDirectory){let t=this.directoryStack[this.directoryStack.length-1];if(t===void 0)throw Error(`Unable to resolve directory node for "${e.path}"`);this.promoteDirectoryToExplicit(t,e.path),this.lastPreparedPath=e;return}let s=this.directoryStack[this.directoryStack.length-1];if(s===void 0)throw Error(`Unable to resolve file parent for "${e.path}"`);t?this.createFileChild(s,e.basename,e.path):this.createFileChildUnchecked(s,e.basename),this.lastPreparedPath=e}recordCreatedDirectoryPath(e){!this.createdDirectoriesAllExpanded||this.initialExpandedPathSet==null||(this.createdDirectoryCount+=1,this.initialExpandedPathSet.has(e)||(this.createdDirectoriesAllExpanded=!1))}createFileChild(e,t,n){let r=pn(this.segmentTable,t),i=this.getDirectoryIndex(e),a=i.childIdByNameId;if(a!=null&&a.get(r)!==void 0)throw Error(`Path collides with an existing entry: "${n}"`);let o=this.nodes[e];if(o===void 0)throw Error(`Unknown parent node ID: ${String(e)}`);let s=this.nodes.length;return this.nodes.push({depthAndFlags:Lt(Rt(o)+1,0),nameId:r,parentId:e,subtreeNodeCount:1,visibleSubtreeCount:1}),a?.set(r,s),Tt(i,s),s}createFileChildUnchecked(e,t){let n=pn(this.segmentTable,t),r=this.getDirectoryIndex(e),i=this.nodes[e];if(i===void 0)throw Error(`Unknown parent node ID: ${String(e)}`);let a=this.nodes.length;return this.nodes.push({depthAndFlags:Lt(Rt(i)+1,0),nameId:n,parentId:e,subtreeNodeCount:1,visibleSubtreeCount:1}),r.childIdByNameId!=null&&r.childIdByNameId.set(n,a),Tt(r,a),a}getOrCreateDirectoryChild(e,t){let n=pn(this.segmentTable,t),r=this.getDirectoryIndex(e);if(r.childIdByNameId!=null){let e=r.childIdByNameId.get(n);if(e!==void 0){let n=this.nodes[e];if(n!=null&&!B(n))throw Error(`Path collides with an existing file while creating directory "${t}"`);return e}}let i=this.nodes[e];if(i===void 0)throw Error(`Unknown parent node ID: ${String(e)}`);let a=this.nodes.length;return this.nodes.push({depthAndFlags:Lt(Rt(i)+1,0,1),nameId:n,parentId:e,subtreeNodeCount:1,visibleSubtreeCount:1}),r.childIdByNameId!=null&&r.childIdByNameId.set(n,a),Tt(r,a),this.directories.set(a,z()),a}createDirectoryChild(e,t){let n=pn(this.segmentTable,t),r=this.getDirectoryIndex(e),i=this.nodes[e];if(i===void 0)throw Error(`Unknown parent node ID: ${String(e)}`);let a=this.nodes.length;return this.nodes.push({depthAndFlags:Lt(Rt(i)+1,0,1),nameId:n,parentId:e,subtreeNodeCount:1,visibleSubtreeCount:1}),r.childIdByNameId!=null&&r.childIdByNameId.set(n,a),Tt(r,a),this.directories.set(a,z()),a}promoteDirectoryToExplicit(e,t){let n=this.nodes[e];if(n===void 0)throw Error(`Unknown directory node ID: ${String(e)}`);if(!B(n))throw Error(`Path is not a directory: "${t}"`);if(Vt(n,1))throw Error(`Duplicate path: "${t}"`);Ht(n,1)}getDirectoryIndex(e){let t=this.directories.get(e);if(t!==void 0)return t;throw Error(`Unknown directory child index for node ${String(e)}`)}buildPresortedFinish(e){let t=this.nodes,n=this.directories;n.set(0,St());let r=-1,i=null;for(let e=1;e<t.length;e++){let a=t[e];if(a==null)continue;if(B(a)){let t=St();n.set(e,t),r=e,i=t}let o;a.parentId===r?o=i:(o=n.get(a.parentId),r=a.parentId,i=o??null),o?.childIds.push(e)}if(!e)for(let e=t.length-1;e>=1;e--){let n=t[e];if(n==null)continue;let r=t[n.parentId];r!=null&&(r.subtreeNodeCount+=n.subtreeNodeCount,r.visibleSubtreeCount+=n.visibleSubtreeCount)}}buildDirectoryIndexes(){let e=this.nodes;for(let t=1;t<e.length;t++){let n=e[t];if(n==null)continue;B(n)&&this.directories.set(t,z());let r=this.directories.get(n.parentId);r!=null&&(r.childIdByNameId!=null&&r.childIdByNameId.set(n.nameId,t),Tt(r,t))}}computeSubtreeCounts(e){let t=this.nodes[e];if(t===void 0)throw Error(`Unknown node ID: ${String(e)}`);if(!B(t))return t.subtreeNodeCount=1,t.visibleSubtreeCount=1,1;let n=this.getDirectoryIndex(e),r=1;for(let e of n.childIds)r+=this.computeSubtreeCounts(e);return Dt(this.nodes,n),t.subtreeNodeCount=r,t.visibleSubtreeCount=r,r}};function Mn(e,t=`closed`,n=null){let r=Pn(t);return{activeNodeCount:e.nodes.length-1,collapsedDirectoryIds:new Set,collapseNewDirectoriesByDefault:!1,defaultExpansion:r,directoriesOpenByDefault:r===`open`,hasCollapsedDirectoryOverrides:!1,directoryLoadInfoById:new Map,expandedDirectoryIds:new Set,instrumentation:n,listeners:new Map,pathCacheByNodeId:new Map([[e.rootId,{path:``,version:0}]]),pathCacheVersion:0,snapshot:e,transactionStack:[]}}function Nn(){return{affectedAncestorIds:new Set,affectedNodeIds:new Set,events:[]}}function Pn(e){if(typeof e!=`number`)return e;if(!Number.isInteger(e)||e<0)throw Error(`initialExpansion must be "open", "closed", or a non-negative integer depth. Received: ${String(e)}`);return e}function Fn(e,t){return Vt(t,2)||e.defaultExpansion===`open`?!0:e.defaultExpansion===`closed`?!1:Rt(t)<=e.defaultExpansion}function In(e,t,n=e.snapshot.nodes[t]){return n==null||!B(n)?!1:e.directoriesOpenByDefault&&!e.hasCollapsedDirectoryOverrides?!0:e.collapsedDirectoryIds.has(t)?!1:e.expandedDirectoryIds.has(t)?!0:Fn(e,n)}function Ln(e,t,n,r=e.snapshot.nodes[t]){if(r==null||!B(r))return;let i=Fn(e,r);if(n){if(i){e.collapsedDirectoryIds.delete(t),e.hasCollapsedDirectoryOverrides=e.collapsedDirectoryIds.size>0;return}e.expandedDirectoryIds.add(t);return}if(i){e.collapsedDirectoryIds.add(t),e.hasCollapsedDirectoryOverrides=!0;return}e.expandedDirectoryIds.delete(t)}function Rn(e,t){let n=e.directoryLoadInfoById.get(t);if(n!=null)return n;let r={activeAttemptId:null,errorMessage:null,nextAttemptId:1,state:`loaded`};return e.directoryLoadInfoById.set(t,r),r}function zn(e,t){return e.directoryLoadInfoById.get(t)?.state??`loaded`}function Bn(e,t){let n=Rn(e,t);if(n.state===`loading`&&n.activeAttemptId!=null)return{attemptId:n.activeAttemptId,nodeId:t,reused:!0};let r=n.nextAttemptId;return n.activeAttemptId=r,n.errorMessage=null,n.nextAttemptId+=1,n.state=`loading`,{attemptId:r,nodeId:t,reused:!1}}function Vn(e,t){let n=Rn(e,t);n.activeAttemptId=null,n.errorMessage=null,n.state=`unloaded`}function Hn(e,t,n){let r=e.directoryLoadInfoById.get(t);return r==null||r.activeAttemptId!==n?!1:(r.activeAttemptId=null,r.errorMessage=null,r.state=`loaded`,!0)}function Un(e,t,n){return e.directoryLoadInfoById.get(t)?.activeAttemptId===n}function Wn(e,t,n,r){let i=e.directoryLoadInfoById.get(t);return i==null||i.activeAttemptId!==n?!1:(i.activeAttemptId=null,i.errorMessage=r??null,i.state=`error`,!0)}function Gn(e,t){e.directoryLoadInfoById.delete(t)}function Kn(e,t,n){let r=n,i=e.listeners.get(t);return i==null?e.listeners.set(t,new Set([r])):i.add(r),()=>{let n=e.listeners.get(t);n!=null&&(n.delete(r),n.size===0&&e.listeners.delete(t))}}function qn(e){return{affectedAncestorIds:e.affectedAncestorIds??[],affectedNodeIds:e.affectedNodeIds??[],canonicalChanged:!0,operation:`add`,path:e.path,projectionChanged:e.projectionChanged,visibleCountDelta:null}}function Jn(e){return{affectedAncestorIds:e.affectedAncestorIds??[],affectedNodeIds:e.affectedNodeIds??[],canonicalChanged:!0,operation:`remove`,path:e.path,projectionChanged:e.projectionChanged,recursive:e.recursive,visibleCountDelta:null}}function Yn(e){return{affectedAncestorIds:e.affectedAncestorIds??[],affectedNodeIds:e.affectedNodeIds??[],canonicalChanged:!0,from:e.from,operation:`move`,projectionChanged:e.projectionChanged,to:e.to,visibleCountDelta:null}}function Xn(e){return{affectedAncestorIds:e.affectedAncestorIds??[],affectedNodeIds:e.affectedNodeIds??[],canonicalChanged:!1,operation:`expand`,path:e.path,projectionChanged:!0,visibleCountDelta:null}}function Zn(e){return{affectedAncestorIds:e.affectedAncestorIds??[],affectedNodeIds:e.affectedNodeIds??[],canonicalChanged:!1,operation:`collapse`,path:e.path,projectionChanged:!0,visibleCountDelta:null}}function Qn(e){return{affectedAncestorIds:e.affectedAncestorIds??[],affectedNodeIds:e.affectedNodeIds??[],canonicalChanged:!1,operation:`mark-directory-unloaded`,path:e.path,projectionChanged:e.projectionChanged,visibleCountDelta:null}}function $n(e){return{affectedAncestorIds:e.affectedAncestorIds??[],affectedNodeIds:e.affectedNodeIds??[],attemptId:e.attemptId,canonicalChanged:!1,operation:`begin-child-load`,path:e.path,projectionChanged:e.projectionChanged,reused:e.reused,visibleCountDelta:null}}function er(e){return{affectedAncestorIds:e.affectedAncestorIds??[],affectedNodeIds:e.affectedNodeIds??[],attemptId:e.attemptId,canonicalChanged:e.childEvents.some(e=>e.canonicalChanged),childEvents:e.childEvents,operation:`apply-child-patch`,path:e.path,projectionChanged:e.projectionChanged,visibleCountDelta:null}}function tr(e){return{affectedAncestorIds:e.affectedAncestorIds??[],affectedNodeIds:e.affectedNodeIds??[],attemptId:e.attemptId,canonicalChanged:!1,operation:`complete-child-load`,path:e.path,projectionChanged:e.projectionChanged,stale:e.stale,visibleCountDelta:null}}function nr(e){return{affectedAncestorIds:e.affectedAncestorIds??[],affectedNodeIds:e.affectedNodeIds??[],attemptId:e.attemptId,canonicalChanged:!1,errorMessage:e.errorMessage,operation:`fail-child-load`,path:e.path,projectionChanged:e.projectionChanged,stale:e.stale,visibleCountDelta:null}}function rr(e){return{activeNodeCountAfter:e.activeNodeCountAfter,activeNodeCountBefore:e.activeNodeCountBefore,affectedAncestorIds:e.affectedAncestorIds??[],affectedNodeIds:e.affectedNodeIds??[],cachedPathEntryCountAfter:e.cachedPathEntryCountAfter,cachedPathEntryCountBefore:e.cachedPathEntryCountBefore,canonicalChanged:!1,idsPreserved:e.idsPreserved,loadInfoEntryCountAfter:e.loadInfoEntryCountAfter,loadInfoEntryCountBefore:e.loadInfoEntryCountBefore,mode:e.mode,operation:`cleanup`,projectionChanged:e.projectionChanged,reclaimedCachedPathEntryCount:e.reclaimedCachedPathEntryCount,reclaimedLoadInfoEntryCount:e.reclaimedLoadInfoEntryCount,reclaimedNodeSlotCount:e.reclaimedNodeSlotCount,reclaimedSegmentCount:e.reclaimedSegmentCount,segmentCountAfter:e.segmentCountAfter,segmentCountBefore:e.segmentCountBefore,totalNodeSlotCountAfter:e.totalNodeSlotCountAfter,totalNodeSlotCountBefore:e.totalNodeSlotCountBefore,visibleCountDelta:null}}function ir(e,t,n){return{...n,visibleCountDelta:hr(e)-t}}function ar(e,t){let n=hr(e),r=Nn();e.transactionStack.push(r);try{t()}catch(t){throw cr(e,r,!1),t}cr(e,r,!0,hr(e)-n)}function or(e,t){let n=e.instrumentation;if(n==null){sr(e,t);return}V(n,`store.events.record`,()=>sr(e,t))}function sr(e,t){let n=e.transactionStack[e.transactionStack.length-1]??null;if(n==null){pr(e,t);return}n.events.push(t),fr(n,t)}function cr(e,t,n,r=null){if(e.transactionStack.pop()!==t)throw Error(`Transaction stack underflow`);if(!n)return;let i=e.transactionStack[e.transactionStack.length-1]??null;if(i!=null){let n=e.instrumentation;n==null?dr(i,t):V(n,`store.events.batch.merge`,()=>dr(i,t));return}let a=lr(t,r),o=e.instrumentation;if(o==null){pr(e,a);return}V(o,`store.events.batch.commit`,()=>pr(e,a))}function lr(e,t){return{affectedAncestorIds:[...e.affectedAncestorIds],affectedNodeIds:[...e.affectedNodeIds],canonicalChanged:e.events.some(e=>e.canonicalChanged),events:[...e.events],operation:`batch`,projectionChanged:e.events.some(e=>e.projectionChanged),visibleCountDelta:t}}function ur(e,t){for(let n of t.affectedAncestorIds)e.affectedAncestorIds.add(n);for(let n of t.affectedNodeIds)e.affectedNodeIds.add(n)}function dr(e,t){for(let n of t.events)e.events.push(n);ur(e,t)}function fr(e,t){for(let n of t.affectedNodeIds)e.affectedNodeIds.add(n);for(let n of t.affectedAncestorIds)e.affectedAncestorIds.add(n)}function pr(e,t){let n=e.instrumentation;if(n==null){mr(e,t);return}V(n,`store.events.emit`,()=>mr(e,t))}function mr(e,t){e.listeners.get(t.operation)?.forEach(e=>e(t)),e.listeners.get(`*`)?.forEach(e=>e(t))}function hr(e){return e.snapshot.nodes[e.snapshot.rootId]?.visibleSubtreeCount??0}function gr(e,t){if(e.snapshot.options.flattenEmptyDirectories!==!0)return null;let n=e.snapshot.nodes[t];if(n==null||!B(n)||Vt(n,2))return null;let r=e.snapshot.directories.get(t);if(r==null||r.childIds.length!==1)return null;let i=r.childIds[0];if(i==null)return null;let a=e.snapshot.nodes[i];return a==null||!B(a)?null:i}function _r(e,t){let n=t;for(;;){let t=gr(e,n);if(t==null)return n;n=t}}function vr(e,t){let n=[t],r=t;for(;;){let t=gr(e,r);if(t==null)return n;n.push(t),r=t}}function yr(e,t){let n=t==null?e.snapshot.rootId:Or(e,t);return n==null?[]:Ar(e,n)}function br(e,t){let n=ln(t),r=n.isDirectory?n.segments:n.segments.slice(0,-1),i=Gr(e,Wr(e,r)),{createdNodeIds:a,directoryId:o}=jr(e,r),s=new Set(a),c=o;if(n.isDirectory){let n=W(e,o);if(Vt(n,1))throw Error(`Path already exists: "${t}"`);Ht(n,1),e.pathCacheByNodeId.set(o,{path:t,version:e.pathCacheVersion}),s.add(o)}else c=Nr(e,o,n.basename),s.add(c);Tr(e,o);let l=Gr(e,o);return qn({affectedAncestorIds:Dr(e,c),affectedNodeIds:[...s],path:t,projectionChanged:Kr(i,l)})}function xr(e,t,n){let r=Or(e,t);if(r==null)throw Error(`Path does not exist: "${t}"`);let i=W(e,r);if(Vt(i,2))throw Error(`The root node cannot be removed`);if(B(i)&&U(e,r).childIds.length>0&&n.recursive!==!0)throw Error(`Cannot remove a non-empty directory without recursive: "${t}"`);let a=i.parentId,o=Gr(e,a),s=Hr(e,r);Ir(e,a,r,i.nameId),Ur(e,a),Tr(e,a);let c=Gr(e,a);return Jn({affectedAncestorIds:Dr(e,a),affectedNodeIds:s,path:t,projectionChanged:Kr(o,c),recursive:n.recursive===!0})}function Sr(e,t,n,r){let i=Or(e,t);if(i==null)throw Error(`Source path does not exist: "${t}"`);let a=W(e,i);if(Vt(a,2))throw Error(`The root node cannot be moved`);let o=r.collision??`error`,s=Br(e,i,n),c=Gr(e,a.parentId),l=Gr(e,s.parentId),u=mn(e.snapshot.segmentTable,a.nameId),d=pn(e.snapshot.segmentTable,s.basename);if(s.parentId===a.parentId&&u===s.basename)return null;if(B(a)&&Xr(e,i,s.parentId))throw Error(`Cannot move a directory into one of its descendants`);let f=Ct(e.snapshot.nodes,U(e,s.parentId)).get(d),p=s.existingNodeId??f??null;if(p!=null&&p!==i&&Vr(e,p,o,zt(a))===`skip`)return null;let m=a.parentId;Ir(e,m,i,a.nameId),a.parentId=s.parentId,a.nameId=d,e.pathCacheByNodeId.delete(i),Yr(e,i),Fr(e,s.parentId,i),Ur(e,m),e.pathCacheVersion++,Tr(e,m),s.parentId!==m&&Tr(e,s.parentId);let h=Gr(e,m),g=Gr(e,s.parentId);return Yn({affectedAncestorIds:[...new Set([...Dr(e,m),...Dr(e,s.parentId)])],affectedNodeIds:[i],from:t,projectionChanged:qr([c,l],[h,g]),to:H(e,i)})}function Cr(e,t){let n=e.pathCacheByNodeId.get(t);return n!=null&&n.version===e.pathCacheVersion?n.path:null}function wr(e,t,n){return e.pathCacheByNodeId.set(t,{path:n,version:e.pathCacheVersion}),n}function H(e,t){let n=W(e,t),r=Cr(e,t);if(r!=null)return r;if(Vt(n,2))return wr(e,t,``);let i=H(e,n.parentId),a=mn(e.snapshot.segmentTable,n.nameId),o=i.length===0?a:`${i}${a}`;return wr(e,t,B(n)?`${o}/`:o)}function Tr(e,t){let n=e.instrumentation;if(n==null){Qr(e,t);return}V(n,`store.recomputeCountsUpwardFrom`,()=>Qr(e,t))}function Er(e,t){let n=[[t,0]],{nodes:r,directories:i}=e.snapshot;for(;n.length>0;){let t=n[n.length-1],a=t[0],o=r[a];if(o==null||!B(o)){Zr(e,a,o,!0),n.pop();continue}let s=i.get(a);if(s==null||t[1]>=s.childIds.length){Zr(e,a,o,!0),n.pop();continue}let c=s.childIds[t[1]++];n.push([c,0])}}function Dr(e,t){let n=[],r=t;for(;r!=null;){let t=W(e,r);if(n.push(r),r===e.snapshot.rootId)break;r=t.parentId}return n}function Or(e,t){if(t.length===0)return e.snapshot.rootId;let n=un(t);return kr(e,n.segments,n.requiresDirectory)}function kr(e,t,n){let r=e.snapshot.rootId;for(let n of t){let t=e.snapshot.segmentTable.idByValue.get(n);if(t===void 0)return null;let i=U(e,r),a=Ct(e.snapshot.nodes,i).get(t);if(a===void 0)return null;r=a}let i=W(e,r);return n&&!B(i)?null:r}function U(e,t){let n=e.snapshot.directories.get(t);if(n===void 0)throw Error(`Unknown directory child index for node ${String(t)}`);return n}function W(e,t){let n=e.snapshot.nodes[t];if(n===void 0||Vt(n,4))throw Error(`Unknown node ID: ${String(t)}`);return n}function Ar(e,t){let n=e.snapshot.nodes[t];if(n===void 0||Vt(n,4))return[];if(!B(n))return[H(e,t)];if(U(e,t).childIds.length===0)return Vt(n,1)&&!Vt(n,2)?[H(e,t)]:[];let r=[],i=[{childIndex:0,nodeId:t}];for(;i.length>0;){let t=i[i.length-1];if(t==null)break;let n=e.snapshot.nodes[t.nodeId];if(n===void 0||Vt(n,4)){i.pop();continue}if(!B(n)){r.push(H(e,t.nodeId)),i.pop();continue}let a=U(e,t.nodeId);if(a.childIds.length===0){Vt(n,1)&&!Vt(n,2)&&r.push(H(e,t.nodeId)),i.pop();continue}let o=a.childIds[t.childIndex];if(o==null){i.pop();continue}t.childIndex++,i.push({childIndex:0,nodeId:o})}return r}function jr(e,t){let n=[],r=e.snapshot.rootId;for(let i of t){let t=pn(e.snapshot.segmentTable,i),a=U(e,r),o=Ct(e.snapshot.nodes,a).get(t);if(o!==void 0){if(!B(W(e,o)))throw Error(`Cannot create a directory that collides with an existing file: "${i}"`);r=o;continue}r=Mr(e,r,t),n.push(r)}return{createdNodeIds:n,directoryId:r}}function Mr(e,t,n){let r=W(e,t),i=e.snapshot.nodes.length;return e.snapshot.nodes.push({depthAndFlags:Lt(Rt(r)+1,0,1),nameId:n,parentId:t,subtreeNodeCount:1,visibleSubtreeCount:1}),e.snapshot.directories.set(i,z()),Fr(e,t,i),e.collapseNewDirectoriesByDefault&&(e.collapsedDirectoryIds.add(i),e.hasCollapsedDirectoryOverrides=!0),e.activeNodeCount++,i}function Nr(e,t,n){let r=pn(e.snapshot.segmentTable,n),i=U(e,t);if(Ct(e.snapshot.nodes,i).has(r))throw Error(`Path already exists: "${ei(e,t,n)}"`);let a=W(e,t),o=e.snapshot.nodes.length;return e.snapshot.nodes.push({depthAndFlags:Lt(Rt(a)+1,0),nameId:r,parentId:t,subtreeNodeCount:1,visibleSubtreeCount:1}),Fr(e,t,o),e.activeNodeCount++,o}function Pr(e,t,n){let r=0,i=t.childIds.length;for(;r<i;){let a=r+i>>>1,o=t.childIds[a];if(o==null){i=a;continue}Lr(e,n,o)<0?i=a:r=a+1}return r}function Fr(e,t,n){let r=U(e,t),i=W(e,n);Ct(e.snapshot.nodes,r).set(i.nameId,n),Ot(r,n,i.subtreeNodeCount,i.visibleSubtreeCount);let a=Pr(e,r,n);r.childIds.splice(a,0,n),Et(r,a),jt(e.snapshot.nodes,r)}function Ir(e,t,n,r){let i=U(e,t),a=wt(i),o=a.get(n)??-1;Ct(e.snapshot.nodes,i).delete(r),a.delete(n);let s=e.snapshot.nodes[n];s!=null&&Ot(i,n,-s.subtreeNodeCount,-s.visibleSubtreeCount),o>=0&&(i.childIds.splice(o,1),Et(i,o),jt(e.snapshot.nodes,i))}function Lr(e,t,n){let r=e.snapshot.options.sort;return r==="default"?Rr(e,t,n):r(zr(e,t),zr(e,n))}function Rr(e,t,n){let r=W(e,t),i=W(e,n),a=B(r);if(a!==B(i))return a?-1:1;let o=Qt(on(e.snapshot.segmentTable,r.nameId),on(e.snapshot.segmentTable,i.nameId));if(o!==0)return o;let s=mn(e.snapshot.segmentTable,r.nameId),c=mn(e.snapshot.segmentTable,i.nameId);return s===c?t<n?-1:1:s<c?-1:1}function zr(e,t){let n=W(e,t),r=H(e,t),i=B(n),a=i?r.slice(0,-1):r;return{basename:mn(e.snapshot.segmentTable,n.nameId),depth:Rt(n),isDirectory:i,path:r,segments:a.length===0?[]:a.split(`/`)}}function Br(e,t,n){let r=W(e,t),i=Or(e,n);if(i!=null){let t=W(e,i);if(B(t))return{basename:mn(e.snapshot.segmentTable,r.nameId),existingNodeId:null,parentId:i};let a=un(n).segments;return{basename:a[a.length-1]??``,existingNodeId:i,parentId:t.parentId}}let a=un(n),o=a.segments[a.segments.length-1]??``,s=a.segments.slice(0,-1),c=s.length===0?e.snapshot.rootId:kr(e,s,!0);if(c==null)throw Error(`Destination parent does not exist: "${n}"`);return{basename:o,existingNodeId:null,parentId:c}}function Vr(e,t,n,r){if(n===`skip`)return`skip`;if(n===`error`)throw Error(`Destination already exists: "${H(e,t)}"`);let i=W(e,t);if(zt(i)!==r)throw Error(`replace collision requires the same source and destination kinds`);if(B(i)&&U(e,t).childIds.length>0)throw Error(`replace collision does not support non-empty directories`);let a=i.parentId,o=i.nameId;return Hr(e,t),Ir(e,a,t,o),Ur(e,a),Tr(e,a),`handled`}function Hr(e,t){let n=[],r=[{nodeId:t,visitedChildren:!1}];for(;r.length>0;){let t=r.pop();if(t==null)break;let i=W(e,t.nodeId);if(t.visitedChildren||!B(i)){B(i)&&e.snapshot.directories.delete(t.nodeId),Ht(i,4),e.pathCacheByNodeId.delete(t.nodeId),e.collapsedDirectoryIds.delete(t.nodeId)&&(e.hasCollapsedDirectoryOverrides=e.collapsedDirectoryIds.size>0),e.expandedDirectoryIds.delete(t.nodeId),Gn(e,t.nodeId),e.activeNodeCount--,n.push(t.nodeId);continue}r.push({nodeId:t.nodeId,visitedChildren:!0});let a=U(e,t.nodeId);for(let e=a.childIds.length-1;e>=0;e--){let t=a.childIds[e];t!=null&&r.push({nodeId:t,visitedChildren:!1})}}return n}function Ur(e,t){let n=t;for(;n!=null;){let t=W(e,n);if(!B(t)||Vt(t,2)||U(e,n).childIds.length>0)return;Ht(t,1),n=t.parentId===n?null:t.parentId}}function Wr(e,t){let n=e.snapshot.rootId;for(let r of t){let t=e.snapshot.segmentTable.idByValue.get(r);if(t==null)break;let i=Ct(e.snapshot.nodes,U(e,n)).get(t);if(i==null||!B(W(e,i)))break;n=i}return n}function Gr(e,t){let n=Jr(e,t);if(n==null)return null;let r=_r(e,n),i=W(e,r),a=n===r?null:vr(e,n).map(t=>H(e,t));return JSON.stringify({flattenedSegmentPaths:a,hasChildren:U(e,r).childIds.length>0,path:H(e,r),terminalKind:zt(i)})}function Kr(e,t){return qr([e],[t])}function qr(e,t){for(let n=0;n<e.length;n+=1){let r=e[n],i=t[n];if(r==null||i==null||r!==i)return!0}return!1}function Jr(e,t){let n=t;for(;n!=null;){let t=W(e,n);if(!B(t)||Vt(t,2))return null;if(!In(e,n,t))return n;n=t.parentId}return null}function Yr(e,t){let n=W(e,t);if(Ut(n,(t===e.snapshot.rootId?-1:Rt(W(e,n.parentId)))+1),!B(n))return;let r=U(e,t);for(let t of r.childIds)Yr(e,t)}function Xr(e,t,n){let r=n;for(;r!=null;){if(r===t)return!0;let n=W(e,r);if(r===e.snapshot.rootId)return!1;r=n.parentId}return!1}function Zr(e,t,n=W(e,t),r=!1){let i=e.instrumentation;if(i==null){$r(e,t,n,r);return}V(i,`store.recomputeNodeCounts`,()=>$r(e,t,n,r))}function Qr(e,t){let n=t;for(;n!=null;){let t=W(e,n),r=t.subtreeNodeCount,i=t.visibleSubtreeCount;if(Zr(e,n,t),n===e.snapshot.rootId)return;let a=t.subtreeNodeCount-r,o=t.visibleSubtreeCount-i,s=t.parentId;(a!==0||o!==0)&&Ot(U(e,s),n,a,o),n=s}}function $r(e,t,n,r){if(!B(n)){n.subtreeNodeCount=1,n.visibleSubtreeCount=1;return}let i=U(e,t);if(r){let t=e.instrumentation;t==null?Dt(e.snapshot.nodes,i):V(t,`store.recomputeNodeCounts.rebuildChildAggregates`,()=>Dt(e.snapshot.nodes,i))}let a=1+i.totalChildSubtreeNodeCount,o=i.totalChildVisibleSubtreeCount;if(n.subtreeNodeCount=a,Vt(n,2)){n.visibleSubtreeCount=o;return}n.visibleSubtreeCount=gr(e,t)==null?In(e,t,n)?1+o:1:o}function ei(e,t,n){let r=H(e,t);return r.length===0?n:`${r}${n}`}function ti(e){return e!=null&&!Vt(e,4)}function ni(e,t){let n=e.snapshot.nodes[t];return!ti(n)||!B(n)||Vt(n,2)?null:n}function ri(e){let t=0;for(let[n,r]of e.pathCacheByNodeId)r.version===e.pathCacheVersion&&ti(e.snapshot.nodes[n])&&(t+=1);return t}function ii(e){return Math.max(0,e.valueById.length-1)}function ai(e){return{activeNodeCount:e.activeNodeCount,cachedPathEntryCount:ri(e),loadInfoEntryCount:e.directoryLoadInfoById.size,segmentCount:ii(e.snapshot.segmentTable),totalNodeSlotCount:Math.max(0,e.snapshot.nodes.length-1)}}function oi(e,t,n,r){return{activeNodeCountAfter:r.activeNodeCount,activeNodeCountBefore:n.activeNodeCount,cachedPathEntryCountAfter:r.cachedPathEntryCount,cachedPathEntryCountBefore:n.cachedPathEntryCount,idsPreserved:t,loadInfoEntryCountAfter:r.loadInfoEntryCount,loadInfoEntryCountBefore:n.loadInfoEntryCount,mode:e,reclaimedCachedPathEntryCount:n.cachedPathEntryCount-r.cachedPathEntryCount,reclaimedLoadInfoEntryCount:n.loadInfoEntryCount-r.loadInfoEntryCount,reclaimedNodeSlotCount:n.totalNodeSlotCount-r.totalNodeSlotCount,reclaimedSegmentCount:n.segmentCount-r.segmentCount,segmentCountAfter:r.segmentCount,segmentCountBefore:n.segmentCount,totalNodeSlotCountAfter:r.totalNodeSlotCount,totalNodeSlotCountBefore:n.totalNodeSlotCount}}function si(e){let t=[],n=[];for(let n of e.collapsedDirectoryIds)ni(e,n)!=null&&t.push(H(e,n));for(let t of e.expandedDirectoryIds)ni(e,t)!=null&&n.push(H(e,t));return{collapsedPaths:t,expandedPaths:n}}function ci(e){let t=[];for(let[n,r]of e.directoryLoadInfoById)ni(e,n)==null||zn(e,n)===`loaded`||t.push({info:{activeAttemptId:null,errorMessage:r.errorMessage,nextAttemptId:r.nextAttemptId,state:r.state},path:H(e,n)});return t}function li(e,t){e.collapsedDirectoryIds.clear(),e.hasCollapsedDirectoryOverrides=!1,e.expandedDirectoryIds.clear();for(let n of t.expandedPaths){let t=Or(e,n);t!=null&&Ln(e,t,!0,W(e,t))}for(let n of t.collapsedPaths){let t=Or(e,n);t!=null&&Ln(e,t,!1,W(e,t))}}function ui(e,t){e.directoryLoadInfoById.clear();for(let n of t){let t=Or(e,n.path);t!=null&&ni(e,t)!=null&&e.directoryLoadInfoById.set(t,{activeAttemptId:null,errorMessage:n.info.errorMessage,nextAttemptId:n.info.nextAttemptId,state:n.info.state})}}function di(e){e.pathCacheVersion+=1,e.pathCacheByNodeId.clear(),e.pathCacheByNodeId.set(e.snapshot.rootId,{path:``,version:e.pathCacheVersion})}function fi(e){let t=e.snapshot.segmentTable,n=fn();for(let r of e.snapshot.nodes)if(ti(r)){if(Vt(r,2)){r.nameId=0;continue}r.nameId=pn(n,mn(t,r.nameId))}e.snapshot.segmentTable=n}function pi(e){for(let[t,n]of e.snapshot.directories){let r=e.snapshot.nodes[t];if(!ti(r)||!B(r)){e.snapshot.directories.delete(t);continue}let i=n.childIds.filter(n=>{let r=e.snapshot.nodes[n];return ti(r)&&r.parentId===t});n.childIds=i,n.childIdByNameId=new Map(i.map(t=>[W(e,t).nameId,t])),n.childPositionById=new Map(i.map((e,t)=>[e,t])),Dt(e.snapshot.nodes,n)}}function mi(e){let t=e.snapshot.nodes.length-1;for(;t>e.snapshot.rootId;){let n=e.snapshot.nodes[t];if(ti(n))break;--t}e.snapshot.nodes.length=t+1}function hi(e){let t=si(e),n=ci(e);V(e.instrumentation,`store.cleanup.stable.clearPathCaches`,()=>di(e)),V(e.instrumentation,`store.cleanup.stable.rebuildSegmentTable`,()=>fi(e)),V(e.instrumentation,`store.cleanup.stable.rebuildDirectoryIndexes`,()=>pi(e)),V(e.instrumentation,`store.cleanup.stable.trimTrailingRemovedNodeSlots`,()=>mi(e)),V(e.instrumentation,`store.cleanup.stable.restoreExpansionOverrides`,()=>li(e,t)),V(e.instrumentation,`store.cleanup.stable.restoreDirectoryLoadInfos`,()=>ui(e,n)),V(e.instrumentation,`store.cleanup.stable.recomputeCounts`,()=>Er(e,e.snapshot.rootId))}function gi(e){let t=si(e),n=ci(e),r=V(e.instrumentation,`store.cleanup.aggressive.listPaths`,()=>yr(e)),i=Gt({...e.snapshot.options},e.instrumentation),a=V(e.instrumentation,`store.cleanup.aggressive.rebuildSnapshot`,()=>{let e=new jn(i);return e.appendPaths(r),e.finish()});e.snapshot=a,e.activeNodeCount=a.nodes.length-1,e.pathCacheByNodeId=new Map([[a.rootId,{path:``,version:0}]]),e.pathCacheVersion=0,V(e.instrumentation,`store.cleanup.aggressive.restoreExpansionOverrides`,()=>li(e,t)),V(e.instrumentation,`store.cleanup.aggressive.restoreDirectoryLoadInfos`,()=>ui(e,n)),V(e.instrumentation,`store.cleanup.aggressive.recomputeCounts`,()=>Er(e,e.snapshot.rootId))}function _i(e){for(let t of e.directoryLoadInfoById.values())if(t.state===`loading`&&t.activeAttemptId!=null)return!0;return!1}function vi(e,t){let n=ai(e);t===`stable`?V(e.instrumentation,`store.cleanup.stable`,()=>hi(e)):V(e.instrumentation,`store.cleanup.aggressive`,()=>gi(e));let r=ai(e);return oi(t,t===`stable`,n,r)}var yi=64;function bi(e,t){let n=t+2;if(n<=e.length)return e;let r=e.length;for(;r<n;)r*=2;let i=new Int32Array(r);return i.fill(-1),i.set(e),i}function xi(e){return W(e,e.snapshot.rootId).visibleSubtreeCount}function Si(e,t,n,r){let i=W(e,t.terminalNodeId),a=Math.max(1,i.visibleSubtreeCount);return Math.min(r-1,n+a-1)}function Ci(e,t,n,r){return{ancestorPaths:r,index:t.index,posInSet:t.posInSet,row:Hi(e,t.cursor),setSize:t.setSize,subtreeEndIndex:Si(e,t.cursor,t.index,n)}}function wi(e,t,n,r,i,a){let o=U(e,t),{childIndex:s,childVisibleIndex:c,localVisibleIndex:l}=kt(e.snapshot.nodes,o,n),u=o.childIds[s];if(u==null)throw Error(`Visible index ${String(n)} is out of range`);return Ti(e,u,l,r+c,i+1,s,o.childIds.length,a)}function Ti(e,t,n,r,i,a,o,s){if(!B(W(e,t))){if(n===0)return{ancestors:s,cursor:{headNodeId:t,terminalNodeId:t,visibleDepth:i},index:r,posInSet:a,setSize:o};throw Error(`Visible index ${String(n)} is out of range for file`)}let c=Ii(e,t,i);if(n===0)return{ancestors:s,cursor:c,index:r,posInSet:a,setSize:o};let l=W(e,c.terminalNodeId);if(!B(l)||!In(e,c.terminalNodeId,l))throw Error(`Visible index ${String(n)} is out of range for collapsed directory`);return wi(e,c.terminalNodeId,n-1,r+1,c.visibleDepth,[...s,{cursor:c,index:r,posInSet:a,setSize:o}])}function Ei(e,t){let n=xi(e);if(t<0||t>=n)return null;let r=wi(e,e.snapshot.rootId,t,0,-1,[]),i=r.ancestors.map(t=>H(e,t.cursor.terminalNodeId)),a=null;return{ancestorPaths:i,get ancestorRows(){if(a!=null)return a;let t=[],i=[];for(let a of r.ancestors){let r=Ci(e,a,n,[...i]);t.push(r),i.push(r.row.path)}return a=t,a},index:r.index,posInSet:r.posInSet,row:Hi(e,r.cursor),setSize:r.setSize,subtreeEndIndex:Si(e,r.cursor,r.index,n)}}function Di(e,t,n){let r=e.instrumentation,i=xi(e);if(i<=0||n<t)return[];let a=Math.max(0,Math.min(t,i-1)),o=Math.max(a,Math.min(n,i-1));if(r==null){if(a===0)return Vi(e,o+1);let t=[],n=Ni(e,a);for(let r=a;r<=o&&n!=null;r++){let r=Hi(e,n);t.push(r),n=Ri(e,n)}return t}let s=[],c=0,l=0,u=V(r,`store.getVisibleSlice.selectFirstRow`,()=>Ni(e,a));for(let t=a;t<=o&&u!=null;t++){let t=V(r,`store.getVisibleSlice.materializeRow`,()=>Hi(e,u));s.push(t),t.isFlattened&&(c++,l+=t.flattenedSegments?.length??0),u=V(r,`store.getVisibleSlice.advanceCursor`,()=>Ri(e,u))}return qt(r,`workload.visibleRowsRead`,s.length),qt(r,`workload.flattenedRowsRead`,c),qt(r,`workload.flattenedSegmentsRead`,l),s}function Oi(e,t=xi(e)){let n=e.instrumentation;return n==null?Bi(e,t):V(n,`store.getVisibleTreeProjection`,()=>Bi(e,t))}function ki(e){return zi(Oi(e))}function Ai(e,t){let n=Or(e,t);if(n==null||n===e.snapshot.rootId||B(W(e,n))&&_r(e,n)!==n)return null;let r=0,i=n,{nodes:a,rootId:o}=e.snapshot;for(;i!==o;){let t=W(e,i).parentId,n=U(e,t),s=wt(n).get(i);if(s==null)throw Error(`Child ${String(i)} was not found in its parent index`);if(r+=At(a,n,s),t!==o){let n=W(e,t),a=gr(e,t);if(!In(e,t,n)&&a!==i)return null;_r(e,t)===t&&(r+=1)}i=t}return r}function ji(e,t){let n=Or(e,t);if(n==null)throw Error(`Path does not exist: "${t}"`);let r=W(e,n);if(!B(r))throw Error(`Path is not a directory: "${t}"`);return In(e,n,r)?null:(Ln(e,n,!0,r),Tr(e,n),Xn({affectedAncestorIds:Dr(e,n),affectedNodeIds:[n],path:t,projectionChanged:!0}))}function Mi(e,t){let n=Or(e,t);if(n==null)throw Error(`Path does not exist: "${t}"`);let r=W(e,n);if(!B(r))throw Error(`Path is not a directory: "${t}"`);return In(e,n,r)?(Ln(e,n,!1,r),Tr(e,n),Zn({affectedAncestorIds:Dr(e,n),affectedNodeIds:[n],path:t,projectionChanged:!0})):null}function Ni(e,t){return t<0||t>=xi(e)?null:Pi(e,e.snapshot.rootId,t,-1)}function Pi(e,t,n,r){let i=U(e,t),a=e.instrumentation,{childIndex:o,localVisibleIndex:s}=a==null?kt(e.snapshot.nodes,i,n):V(a,`store.getVisibleSlice.selectChildIndex`,()=>kt(e.snapshot.nodes,i,n)),c=i.childIds[o];if(c!=null)return Fi(e,c,s,r+1);throw Error(`Visible index ${String(n)} is out of range`)}function Fi(e,t,n,r){if(!B(W(e,t))){if(n===0)return{headNodeId:t,terminalNodeId:t,visibleDepth:r};throw Error(`Visible index ${String(n)} is out of range for file`)}let i=Ii(e,t,r);if(n===0)return i;let a=W(e,i.terminalNodeId);if(!B(a)||!In(e,i.terminalNodeId,a))throw Error(`Visible index ${String(n)} is out of range for collapsed directory`);return Pi(e,i.terminalNodeId,n-1,i.visibleDepth)}function Ii(e,t,n){return B(W(e,t))?e.instrumentation==null?{headNodeId:t,terminalNodeId:_r(e,t),visibleDepth:n}:{headNodeId:t,terminalNodeId:V(e.instrumentation,`store.getVisibleSlice.flatten.resolveTerminalDirectory`,()=>_r(e,t)),visibleDepth:n}:{headNodeId:t,terminalNodeId:t,visibleDepth:n}}function Li(e,t){let n=W(e,t);if(!B(n))return!0;let r=n.parentId;return r===e.snapshot.rootId?!0:gr(e,r)!==t}function Ri(e,t){let n=W(e,t.terminalNodeId);if(B(n)){let r=U(e,t.terminalNodeId);if(In(e,t.terminalNodeId,n)&&r.childIds.length>0){let n=r.childIds[0];return n==null?null:Fi(e,n,0,t.visibleDepth+1)}}let r=t.terminalNodeId,i=t.visibleDepth;for(;;){let t=W(e,r);if(r===e.snapshot.rootId)return null;let n=t.parentId,a=U(e,n),o=wt(a).get(r)??-1;if(o<0)throw Error(`Child ${String(r)} was not found in its parent index`);let s=a.childIds[o+1]??null;if(s!=null)return Fi(e,s,0,i);Li(e,r)&&i--,r=n}}function zi(e){let t=e.paths.length,n=Array(t);for(let r=0;r<t;r+=1){let t=e.getParentIndex(r);n[r]={index:r,parentPath:t>=0?e.paths[t]??null:null,path:e.paths[r]??``,posInSet:e.posInSetByIndex[r]??0,setSize:e.setSizeByIndex[r]??0}}return{getParentIndex:e.getParentIndex,rows:n,get visibleIndexByPath(){return e.visibleIndexByPath}}}function Bi(e,t){let n=Array(t),r=new Int32Array(t),i=new Int32Array(t),a=new Int32Array(t),o=new Int32Array(yi);o.fill(-1);let s=0,{nodes:c,directories:l,segmentTable:u}=e.snapshot,d=[[l.get(e.snapshot.rootId),0,-1,``]],f=e.snapshot.options.flattenEmptyDirectories,p=e.pathCacheByNodeId,m=e.pathCacheVersion,h=u.valueById;for(;d.length>0&&s<t;){let t=d[d.length-1],u=t[0];if(t[1]>=u.childIds.length){d.pop();continue}let g=t[1],_=u.childIds[t[1]++],v=c[_],y=t[2]+1,b=t[3];o=bi(o,y);let x,S=_;if(B(v))S=f?_r(e,_):_,x=S===_?`${b}${h[v.nameId]}/`:H(e,S);else{let e=p.get(_);x=e!=null&&e.version===m?e.path:`${b}${h[v.nameId]}`}r[s]=o[y],n[s]=x,i[s]=g,a[s]=u.childIds.length,o[y+1]=s,s+=1;let C=c[S];C!=null&&B(C)&&In(e,S,C)&&d.push([l.get(S),0,y,x])}s<t&&(n.length=s);let g=r.subarray(0,s),_=i.subarray(0,s),v=a.subarray(0,s),y=null;return{getParentIndex(e){return e<0||e>=s?-1:g[e]??-1},paths:n,posInSetByIndex:_,setSizeByIndex:v,get visibleIndexByPath(){if(y==null){y=new Map;for(let e=0;e<s;e+=1)y.set(n[e]??``,e)}return y}}}function Vi(e,t){let n=Array(t),r=0,{nodes:i,directories:a,segmentTable:o}=e.snapshot,s=[[a.get(e.snapshot.rootId),0,-1]],c=o.valueById,l=e.snapshot.options.flattenEmptyDirectories,u=e.pathCacheByNodeId,d=e.pathCacheVersion;for(;s.length>0&&r<t;){let t=s[s.length-1],o=t[0];if(t[1]>=o.childIds.length){s.pop();continue}let f=o.childIds[t[1]++],p=i[f],m=t[2]+1;if(!B(p)){let t=u.get(f);n[r++]={depth:m,flattenedSegments:void 0,hasChildren:!1,id:f,isExpanded:!1,isFlattened:!1,isLoading:!1,kind:`file`,loadState:void 0,name:c[p.nameId],path:t!=null&&t.version===d?t.path:H(e,f)};continue}let h=l?_r(e,f):f,g={headNodeId:f,terminalNodeId:h,visibleDepth:m};n[r++]=Hi(e,g);let _=i[h];_!=null&&B(_)&&In(e,h,_)&&s.push([a.get(h),0,m])}return r<t&&(n.length=r),n}function Hi(e,t){let n=W(e,t.terminalNodeId),r=B(n)?Ui(e,t):null,i=H(e,t.terminalNodeId),a=mn(e.snapshot.segmentTable,n.nameId),o=B(n)&&U(e,t.terminalNodeId).childIds.length>0,s=t.headNodeId!==t.terminalNodeId,c=e.instrumentation,l=s?c==null?vr(e,t.headNodeId).map(n=>{let r=W(e,n);return{isTerminal:n===t.terminalNodeId,name:mn(e.snapshot.segmentTable,r.nameId),nodeId:n,path:H(e,n)}}):V(c,`store.getVisibleSlice.flatten.collectSegments`,()=>vr(e,t.headNodeId).map(n=>{let r=W(e,n);return{isTerminal:n===t.terminalNodeId,name:mn(e.snapshot.segmentTable,r.nameId),nodeId:n,path:H(e,n)}})):void 0;return{depth:t.visibleDepth,flattenedSegments:l,hasChildren:o,id:t.terminalNodeId,isExpanded:B(n)&&In(e,t.terminalNodeId,n),isFlattened:s,isLoading:r===`loading`,kind:B(n)?`directory`:`file`,loadState:r==null||r===`loaded`?void 0:r,name:a,path:i}}function Ui(e,t){if(t.headNodeId===t.terminalNodeId)return zn(e,t.terminalNodeId);let n=vr(e,t.headNodeId),r=!1,i=!1;for(let t of n){let n=zn(e,t);if(n===`loading`)return`loading`;if(n===`error`){i=!0;continue}n===`unloaded`&&(r=!0)}return i?`error`:r?`unloaded`:`loaded`}function Wi(e){let{directories:t,nodes:n,options:r,rootId:i,presortedDirectoryNodeIds:a}=e.snapshot,o=r.flattenEmptyDirectories===!0,s=e=>{let r=n[e];if(r==null||!B(r))return;let i=t.get(e);if(i==null)throw Error(`Unknown directory child index for node ${String(e)}`);let a=i.childIds,s=a.length,c=0,l=0;for(let e=0;e<s;e++){let t=a[e];if(t==null)continue;let r=n[t];c+=r.subtreeNodeCount,l+=r.visibleSubtreeCount}i.totalChildSubtreeNodeCount=c,i.totalChildVisibleSubtreeCount=l,s>=128&&jt(n,i),r.subtreeNodeCount=1+c;let u;if(o&&s===1){let e=n[a[0]];u=e!=null&&B(e)?l:1+l}else u=1+l;r.visibleSubtreeCount=u};if(a!=null)for(let e=a.length-1;e>=0;e--)s(a[e]);else for(let e=n.length-1;e>=1;e--)s(e);let c=n[i],l=t.get(i);if(c==null||l==null)return;let u=l.childIds,d=0,f=0;for(let e=0;e<u.length;e++){let t=u[e];if(t==null)continue;let r=n[t];d+=r.subtreeNodeCount,f+=r.visibleSubtreeCount}l.totalChildSubtreeNodeCount=d,l.totalChildVisibleSubtreeCount=f,jt(n,l),c.subtreeNodeCount=1+d,c.visibleSubtreeCount=f}function Gi(e){return e.initialExpansion===`open`&&(e.initialExpandedPaths==null||e.initialExpandedPaths.length===0)}var Ki=class e{#e;constructor(e={}){let t=Kt(e),n=V(t,`store.builder.create`,()=>new jn(e));if(e.preparedInput!=null){let t=On(e.preparedInput);t==null?n.appendPreparedPaths(Dn(e.preparedInput),!1):n.appendPresortedPaths(t,kn(e.preparedInput))}else{let r=e.paths??[];e.presorted===!0?n.appendPaths(r):n.appendPreparedPaths(V(t,`store.preparePathEntries`,()=>An(r,e)))}let r=V(t,`store.builder.finish`,()=>n.finish({skipSubtreeCountPass:!0})),i=V(t,`store.state.detectAllDirectoriesExpanded`,()=>(e.initialExpansion??`closed`)===`closed`&&n.didMatchAllInitialExpandedPaths());this.#e=V(t,`store.state.create`,()=>Mn(r,i?`open`:e.initialExpansion??`closed`,t)),i&&(this.#e.collapseNewDirectoriesByDefault=!0);let a=i?this.#e.snapshot.directories.size-1:V(t,`store.state.initializeExpandedPaths`,()=>this.initializeExpandedPaths(e.initialExpandedPaths));i||Gi(e)||(e.initialExpansion??`closed`)===`closed`&&a===this.#e.snapshot.directories.size-1||(e.initialExpandedPaths?.length??0)>0&&V(t,`store.state.checkAllDirectoriesExpanded`,()=>this.hasAllDirectoriesExpanded())?V(t,`store.state.initializeOpenVisibleCounts`,()=>Wi(this.#e)):V(t,`store.state.recomputeCounts`,()=>Er(this.#e,this.#e.snapshot.rootId))}static preparePaths(e,t={}){return wn(e,t)}static prepareInput(e,t={}){return Tn(e,t)}static preparePresortedInput(e){return En(e)}list(e){return V(this.#e.instrumentation,`store.list`,()=>yr(this.#e,e))}add(e){V(this.#e.instrumentation,`store.add`,()=>{let t=xi(this.#e);or(this.#e,ir(this.#e,t,br(this.#e,e)))})}remove(e,t={}){V(this.#e.instrumentation,`store.remove`,()=>{let n=xi(this.#e);or(this.#e,ir(this.#e,n,xr(this.#e,e,t)))})}move(e,t,n={}){V(this.#e.instrumentation,`store.move`,()=>{let r=xi(this.#e),i=Sr(this.#e,e,t,n);i!=null&&or(this.#e,ir(this.#e,r,i))})}batch(e){ar(this.#e,()=>{if(typeof e==`function`){e(this);return}for(let t of e)switch(t.type){case`add`:this.add(t.path);break;case`remove`:this.remove(t.path,{recursive:t.recursive});break;case`move`:this.move(t.from,t.to,{collision:t.collision});break}})}getVisibleCount(){return V(this.#e.instrumentation,`store.getVisibleCount`,()=>xi(this.#e))}getVisibleSlice(e,t){return V(this.#e.instrumentation,`store.getVisibleSlice`,()=>Di(this.#e,e,t))}getVisibleRowContext(e){return V(this.#e.instrumentation,`store.getVisibleRowContext`,()=>Ei(this.#e,e))}getVisibleTreeProjection(){return ki(this.#e)}getVisibleTreeProjectionData(e){return Oi(this.#e,e)}getVisibleIndex(e){return V(this.#e.instrumentation,`store.getVisibleIndex`,()=>Ai(this.#e,e))}getPathInfo(e){return V(this.#e.instrumentation,`store.getPathInfo`,()=>{let t=Or(this.#e,e);if(t==null)return null;let n=W(this.#e,t);return{depth:Rt(n),kind:B(n)?`directory`:`file`,path:H(this.#e,t)}})}isExpanded(e){return V(this.#e.instrumentation,`store.isExpanded`,()=>{let t=this.requireDirectoryNodeId(e),n=W(this.#e,t);return In(this.#e,t,n)})}expand(e){V(this.#e.instrumentation,`store.expand`,()=>{let t=xi(this.#e),n=ji(this.#e,e);n!=null&&or(this.#e,ir(this.#e,t,n))})}collapse(e){V(this.#e.instrumentation,`store.collapse`,()=>{let t=xi(this.#e),n=Mi(this.#e,e);n!=null&&or(this.#e,ir(this.#e,t,n))})}on(e,t){return Kn(this.#e,e,t)}getDirectoryLoadState(e){let t=this.requireDirectoryNodeId(e);return zn(this.#e,t)}markDirectoryUnloaded(e){V(this.#e.instrumentation,`store.markDirectoryUnloaded`,()=>{let t=this.requireDirectoryNodeId(e);if(U(this.#e,t).childIds.length>0)throw Error(`Cannot mark a directory with known children as unloaded: "${e}"`);let n=xi(this.#e);Vn(this.#e,t),or(this.#e,ir(this.#e,n,Qn({affectedAncestorIds:Dr(this.#e,t),affectedNodeIds:[t],path:e,projectionChanged:this.isDirectoryProjectionVisible(t)})))})}beginChildLoad(e){return V(this.#e.instrumentation,`store.beginChildLoad`,()=>{let t=this.requireDirectoryNodeId(e),n=xi(this.#e),r=Bn(this.#e,t);return or(this.#e,ir(this.#e,n,$n({affectedAncestorIds:Dr(this.#e,t),affectedNodeIds:[t],attemptId:r.attemptId,path:e,projectionChanged:this.isDirectoryProjectionVisible(t),reused:r.reused}))),r})}applyChildPatch(e,t){return V(this.#e.instrumentation,`store.applyChildPatch`,()=>{let n=this.resolveActiveDirectoryNodeId(e.nodeId);if(n==null||zn(this.#e,n)!==`loading`||!Un(this.#e,n,e.attemptId))return!1;let r=H(this.#e,n);this.validateChildPatch(r,t);let i=xi(this.#e),a=[];for(let e of t.operations){qi(r,e);let t=xi(this.#e);switch(e.type){case`add`:a.push(ir(this.#e,t,br(this.#e,e.path)));break;case`remove`:a.push(ir(this.#e,t,xr(this.#e,e.path,{recursive:e.recursive})));break;case`move`:{let n=Sr(this.#e,e.from,e.to,{collision:e.collision});n!=null&&a.push(ir(this.#e,t,n));break}}}let o=a.some(e=>e.projectionChanged)||this.isDirectoryProjectionVisible(n);return or(this.#e,ir(this.#e,i,er({affectedAncestorIds:Dr(this.#e,n),affectedNodeIds:[n],attemptId:e.attemptId,childEvents:a,path:H(this.#e,n),projectionChanged:o}))),!0})}completeChildLoad(e){return V(this.#e.instrumentation,`store.completeChildLoad`,()=>{let t=this.resolveActiveDirectoryNodeId(e.nodeId);if(t==null)return!1;let n=xi(this.#e),r=Hn(this.#e,t,e.attemptId);return or(this.#e,ir(this.#e,n,tr({affectedAncestorIds:Dr(this.#e,t),affectedNodeIds:[t],attemptId:e.attemptId,path:H(this.#e,t),projectionChanged:this.isDirectoryProjectionVisible(t),stale:!r}))),r})}failChildLoad(e,t){return V(this.#e.instrumentation,`store.failChildLoad`,()=>{let n=this.resolveActiveDirectoryNodeId(e.nodeId);if(n==null)return!1;let r=xi(this.#e),i=Wn(this.#e,n,e.attemptId,t);return or(this.#e,ir(this.#e,r,nr({affectedAncestorIds:Dr(this.#e,n),affectedNodeIds:[n],attemptId:e.attemptId,errorMessage:t,path:H(this.#e,n),projectionChanged:this.isDirectoryProjectionVisible(n),stale:!i}))),i})}cleanup(e={}){return V(this.#e.instrumentation,`store.cleanup`,()=>{if(this.#e.transactionStack.length>0)throw Error(`Cleanup cannot run during an open batch or transaction.`);if(_i(this.#e))throw Error(`Cleanup cannot run while directory loads are active.`);let t=xi(this.#e),n=vi(this.#e,e.mode??`stable`);return or(this.#e,ir(this.#e,t,rr({...n,affectedAncestorIds:[],affectedNodeIds:[],projectionChanged:n.idsPreserved===!1}))),n})}getNodeCount(){return this.#e.activeNodeCount}initializeExpandedPaths(e){if(e==null||e.length===0)return 0;let t=0,n=[],r=[],i=0,a=null,o=this.#e.snapshot.segmentTable,s=o.valueById,c=this.#e.snapshot.nodes,l=new Map;for(let u of e){a!=null&&u<a&&(a=null,i=0,n.length=0,r.length=0);let e=u.length>0&&u.charCodeAt(u.length-1)===47?u.length-1:u.length;if(e===0){a=u,i=e,n.length=0,r.length=0;continue}let d=0,f=0;if(a!=null){let t=Math.min(e,i),n=!0;for(let e=0;e<t;e+=1){let t=u.charCodeAt(e);if(t!==a.charCodeAt(e)){n=!1;break}t===47&&(d+=1,f=e+1)}n&&(t===i&&e>t&&u.charCodeAt(t)===47?(d+=1,f=t+1):t===e&&i>t&&a.charCodeAt(t)===47&&(d+=1,f=e+1)),d=Math.min(d,r.length)}let p=d===0?this.#e.snapshot.rootId:r[d-1]??this.#e.snapshot.rootId,m=d,h=!0,g=f;for(;g<=e;){let t=u.indexOf(`/`,g),i=t===-1||t>e?e:t,a=u.slice(g,i),f=U(this.#e,p).childIds,_=m===d?n[m]??0:0,v=_,y,b=l.get(a)??Xt(a);l.set(a,b);let x=(e,t)=>{for(v=e;v<t;v+=1){let e=f[v],t=c[e],n=s[t.nameId];if(n===a)return y=e,!0;let r=Qt(on(o,t.nameId),b);if(r>0||r===0&&n>a)return!1}return!1};if(!x(_,f.length)&&_>0&&x(0,_),y===void 0){h=!1;break}if(!B(W(this.#e,y))){h=!1;break}if(n[m]=v,r[m]=y,p=y,m+=1,i===e)break;g=i+1}if(a=u,i=e,n.length=m,r.length=m,!h){a=null,i=0,n.length=0,r.length=0;continue}for(let e=d;e<m;e+=1){let n=r[e];if(n==null)continue;let i=W(this.#e,n);In(this.#e,n,i)||(Ln(this.#e,n,!0,i),t+=1)}}return t}hasAllDirectoriesExpanded(){for(let e of this.#e.snapshot.directories.keys()){if(e===this.#e.snapshot.rootId)continue;let t=W(this.#e,e);if(!In(this.#e,e,t))return!1}return!0}requireDirectoryNodeId(e){let t=Or(this.#e,e);if(t==null)throw Error(`Path does not exist: "${e}"`);if(!B(W(this.#e,t)))throw Error(`Path is not a directory: "${e}"`);return t}resolveActiveDirectoryNodeId(e){try{if(!B(W(this.#e,e)))throw Error(`Node is not a directory: ${String(e)}`);return e}catch{return null}}isDirectoryProjectionVisible(e){let t=e;for(;t!==this.#e.snapshot.rootId;){let e=W(this.#e,t).parentId;if(e!==this.#e.snapshot.rootId){let n=W(this.#e,e),r=gr(this.#e,e);if(!In(this.#e,e,n)&&r!==t)return!1}t=e}return!0}validateChildPatch(t,n){new e({paths:this.list(t),presorted:!0,sort:this.#e.snapshot.options.sort}).batch(n.operations)}};function qi(e,t){switch(t.type){case`add`:case`remove`:if(!t.path.startsWith(e)||t.path===e)throw Error(`Child patch operation must stay within ${e}: "${t.path}"`);break;case`move`:if(!t.from.startsWith(e)||!t.to.startsWith(e)||t.from===e||t.to===e)throw Error(`Child patch move must stay within ${e}: "${t.from}" -> "${t.to}"`);break}}var Ji={compact:{itemHeight:24,factor:.8},default:{itemHeight:30,factor:1},relaxed:{itemHeight:36,factor:1.2}};function Yi(e,t){if(typeof e==`number`)return{itemHeight:t??Ji.default.itemHeight,factor:e};let n=Ji[e??`default`];return{itemHeight:t??n.itemHeight,factor:n.factor}}var Xi=Ji.default.itemHeight,Zi=`@layer base, theme, unsafe;
2
2
 
3
3
  @layer base {
4
4
  :host {
@@ -2195,7 +2195,7 @@ import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{n as t,r as n,t as r}f
2195
2195
  --trees-font-size-override: 12px;
2196
2196
  }
2197
2197
  button[data-type='item'] { border-radius: 5px; }
2198
- `;function $p(e){return e.kind===`directory`?`${e.path}/`:e.path}function em({environmentId:e,cwd:t,projectName:n,onOpenFile:r}){let{resolvedTheme:i}=k(),o=ze(),c=Ie(e,t),l=c.data?.entries??[],u=(0,J.useMemo)(()=>new Map(l.map(e=>[e.path,e.kind])),[l]),d=(0,J.useRef)(u),f=(0,J.useMemo)(()=>l.map($p),[l]),p=(0,J.useRef)([]),m=(0,J.useRef)(null);(0,J.useEffect)(()=>{let e=e=>{m.current={x:e.clientX,y:e.clientY,at:e.timeStamp}};return document.addEventListener(`contextmenu`,e,!0),()=>document.removeEventListener(`contextmenu`,e,!0)},[]);let h=async(e,t)=>{let n=a();if(!n){t.close();return}let r=e.path.replace(/\/$/,``),i=Ke(r),s=m.current,c=s!==null&&performance.now()-s.at<1e3,l=t.anchorElement.getBoundingClientRect(),u=c?{x:s.x,y:s.y}:{x:l.left,y:l.bottom};try{let e=await n.contextMenu.show([{id:`copy-mention`,label:`Copy mention`},{id:`add-to-chat`,label:`Add to chat`}],u);if(e===`copy-mention`){try{await S(i),_.add({type:`success`,title:`Mention copied`,description:r})}catch(e){_.add({type:`error`,title:`Failed to copy mention`,description:e instanceof Error?e.message:`An error occurred.`})}return}if(e===`add-to-chat`){let e=o?.current;if(!e){_.add({type:`error`,title:`Unable to add to chat`,description:`Open a chat for this project and try again.`});return}e.insertTextAtEnd(`${i} `,{ensureLeadingBoundary:!0})||_.add({type:`error`,title:`Unable to add to chat`,description:`The chat isn't ready to accept input right now.`})}}finally{t.close()}},g=(0,J.useRef)(h);(0,J.useEffect)(()=>{g.current=h});let v=(0,J.useRef)(null),y=(0,J.useMemo)(()=>Zp({deselect:e=>v.current?.getItem(e)?.deselect()}),[]),{model:b}=Jp({composition:{contextMenu:{triggerMode:`right-click`,onOpen:(e,t)=>{g.current(e,t)}}},dragAndDrop:{canDrop:()=>!1},density:`compact`,fileTreeSearchMode:`hide-non-matches`,flattenEmptyDirectories:!0,initialExpansion:1,icons:ie,onSelectionChange:e=>{if(y.handleSelectionChange(e),y.isDragInProgress())return;let t=e.at(-1)?.replace(/\/$/,``);t&&d.current.get(t)===`file`&&r(t)},paths:[],search:!0,unsafeCSS:Qp});(0,J.useEffect)(()=>{p.current!==f&&(d.current=u,p.current=f,b.resetPaths(f))},[u,b,f]);let x=(0,J.useMemo)(()=>l.reduce((e,t)=>e+ +(t.kind===`file`),0),[l]),C=(0,J.useRef)(null);return(0,J.useEffect)(()=>{v.current=b},[b]),(0,J.useEffect)(()=>{let e=C.current;if(e===null)return;let t=e=>y.handleDragStart(e),n=()=>y.handleDragEnd();return e.addEventListener(`dragstart`,t,!0),e.addEventListener(`dragend`,n),()=>{e.removeEventListener(`dragstart`,t,!0),e.removeEventListener(`dragend`,n)}},[y]),(0,Y.jsxs)(`div`,{ref:C,className:`flex min-h-0 flex-1 flex-col bg-background`,"data-file-browser-panel":`${e}:${t}`,children:[(0,Y.jsxs)(`div`,{className:`flex h-9 shrink-0 items-center gap-2 border-b border-border/60 px-3`,children:[(0,Y.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,Y.jsx)(`div`,{className:`truncate text-xs font-medium text-foreground`,children:n}),(0,Y.jsxs)(`div`,{className:`truncate text-[10px] leading-none text-muted-foreground`,children:[c.isPending&&c.data===null?`Indexing…`:`${x.toLocaleString()} files`,c.data?.truncated?` · partial`:``]})]}),(0,Y.jsx)(`button`,{type:`button`,className:`rounded-md p-1.5 text-muted-foreground hover:bg-accent hover:text-foreground`,"aria-label":`Search workspace files`,onClick:()=>b.openSearch(),children:(0,Y.jsx)(it,{className:`size-3.5`})}),(0,Y.jsx)(`button`,{type:`button`,className:`rounded-md p-1.5 text-muted-foreground hover:bg-accent hover:text-foreground`,"aria-label":`Refresh workspace files`,onClick:c.refresh,children:(0,Y.jsx)(P,{className:s(`size-3.5`,c.isPending&&`animate-spin`)})})]}),c.error&&c.data===null?(0,Y.jsx)(`div`,{className:`p-4 text-xs leading-relaxed text-destructive`,children:c.error}):(0,Y.jsx)(qp,{model:b,"aria-label":`${n} files`,className:`min-h-0 flex-1 overflow-hidden`,style:{colorScheme:i,"--trees-fg-override":`var(--foreground)`}})]})}function tm(e){let t=(0,Yp.c)(11),{open:n,title:r,onOpenChange:i,children:a}=e,o;t[0]===r?o=t[1]:(o=(0,Y.jsx)(je,{className:`shrink-0 border-b border-border/60 px-4 py-2.5 pe-12 text-sm font-medium`,children:r}),t[0]=r,t[1]=o);let s;t[2]===a?s=t[3]:(s=(0,Y.jsx)(`div`,{className:`flex min-h-0 flex-1 flex-col overflow-hidden`,children:a}),t[2]=a,t[3]=s);let c;t[4]!==o||t[5]!==s?(c=(0,Y.jsxs)(rt,{className:`row-start-1 row-end-4 flex h-full max-h-full w-full max-w-none flex-col overflow-hidden p-0`,bottomStickOnMobile:!1,children:[o,s]}),t[4]=o,t[5]=s,t[6]=c):c=t[6];let l;return t[7]!==i||t[8]!==n||t[9]!==c?(l=(0,Y.jsx)(Qe,{open:n,onOpenChange:i,children:c}),t[7]=i,t[8]=n,t[9]=c,t[10]=l):l=t[10],l}var nm=1024,rm=[`B`,`KB`,`MB`,`GB`,`TB`];function im(e){if(!Number.isFinite(e)||e<0)return`unknown size`;let t=e,n=0;for(;t>=nm&&n<rm.length-1;)t/=nm,n+=1;return`${n===0?t:Math.round(t*10)/10} ${rm[n]}`}function am(e){let t=e.lastIndexOf(`.`);return t<=0||t===e.length-1?`File`:`${e.slice(t+1).toUpperCase()} file`}function om(e){let t=(0,Yp.c)(35),{environmentId:n,keybindings:r,availableEditors:i,absolutePath:o,name:s,byteLength:c,canRevealInFileManager:l}=e,u;t[0]===o?u=t[1]:(u=()=>{let e=a();e&&e.shell.showItemInFolder(o).catch(cm)},t[0]=o,t[1]=u);let d=u,f;t[2]===o?f=t[3]:(f=()=>{if(!navigator.clipboard?.writeText){_.add(v({type:`error`,title:`Failed to copy path`,description:`Clipboard API unavailable.`}));return}navigator.clipboard.writeText(o).then(()=>_.add({type:`success`,title:`Path copied`,description:o}),sm)},t[2]=o,t[3]=f);let p=f,m;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,Y.jsx)(ct,{className:`mt-0.5 size-5 shrink-0 text-muted-foreground`}),t[4]=m):m=t[4];let h;t[5]===s?h=t[6]:(h=(0,Y.jsx)(`div`,{className:`truncate text-sm font-medium`,title:s,children:s}),t[5]=s,t[6]=h);let g;t[7]===s?g=t[8]:(g=am(s),t[7]=s,t[8]=g);let y;t[9]===c?y=t[10]:(y=im(c),t[9]=c,t[10]=y);let b;t[11]!==g||t[12]!==y?(b=(0,Y.jsxs)(`div`,{className:`mt-0.5 text-xs text-muted-foreground`,children:[g,` · `,y]}),t[11]=g,t[12]=y,t[13]=b):b=t[13];let x;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,Y.jsx)(`div`,{className:`mt-1 text-xs leading-relaxed text-muted-foreground`,children:`This file cannot be shown here.`}),t[14]=x):x=t[14];let S;t[15]!==h||t[16]!==b?(S=(0,Y.jsxs)(`div`,{className:`flex items-start gap-3`,children:[m,(0,Y.jsxs)(`div`,{className:`min-w-0`,children:[h,b,x]})]}),t[15]=h,t[16]=b,t[17]=S):S=t[17];let C;t[18]!==o||t[19]!==i||t[20]!==n||t[21]!==r?(C=(0,Y.jsx)(Ue,{environmentId:n,keybindings:r,availableEditors:i,openInCwd:o,compact:!0,enableShortcut:!1}),t[18]=o,t[19]=i,t[20]=n,t[21]=r,t[22]=C):C=t[22];let w;t[23]!==l||t[24]!==d?(w=l?(0,Y.jsxs)(D,{variant:`outline`,size:`sm`,onClick:d,children:[(0,Y.jsx)(Pe,{className:`size-3.5`}),`Reveal in Finder`]}):null,t[23]=l,t[24]=d,t[25]=w):w=t[25];let T;t[26]===p?T=t[27]:(T=(0,Y.jsx)(D,{variant:`outline`,size:`sm`,onClick:p,children:`Copy path`}),t[26]=p,t[27]=T);let E;t[28]!==C||t[29]!==w||t[30]!==T?(E=(0,Y.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[C,w,T]}),t[28]=C,t[29]=w,t[30]=T,t[31]=E):E=t[31];let O;return t[32]!==E||t[33]!==S?(O=(0,Y.jsx)(`div`,{className:`flex min-h-0 flex-1 items-center justify-center p-6`,children:(0,Y.jsxs)(`div`,{className:`flex w-full max-w-md flex-col gap-4 rounded-lg border border-border/60 bg-card p-5`,children:[S,E]})}),t[32]=E,t[33]=S,t[34]=O):O=t[34],O}function sm(e){return _.add(v({type:`error`,title:`Failed to copy path`,description:e instanceof Error?e.message:`An error occurred.`}))}function cm(e){_.add(v({type:`error`,title:`Unable to reveal file`,description:e instanceof Error?e.message:`An error occurred.`}))}function lm({root:e,resolveEditor:t,onDismiss:n}){n(),t()?.setSelections([]);let r=e.querySelector(`diffs-container`)?.shadowRoot?.activeElement;r instanceof HTMLElement&&r.blur()}function um(e){return e.querySelector(`diffs-container`)?.shadowRoot?.activeElement?.hasAttribute(`data-content`)===!0}function dm({root:e,resolveEditor:t,isBlocked:n,onDismiss:r}){let i=i=>{n()||i.composedPath().includes(e)||lm({root:e,resolveEditor:t,onDismiss:r})},a=i=>{i.key!==`Escape`||n()||!um(e)||(i.preventDefault(),i.stopImmediatePropagation(),lm({root:e,resolveEditor:t,onDismiss:r}))};return document.addEventListener(`pointerdown`,i,!0),document.addEventListener(`keydown`,a,!0),()=>{document.removeEventListener(`pointerdown`,i,!0),document.removeEventListener(`keydown`,a,!0)}}function fm(e){let t=2166136261;for(let n=0;n<e.length;n+=1)t^=e.charCodeAt(n),t=Math.imul(t,16777619);return`${e.length}:${(t>>>0).toString(36)}`}function pm(e,t,n){return`${e}:${t}:${fm(n)}`}function mm(e,t){let n=t.split(`/`).filter(Boolean);return[{label:e,path:``,kind:`project`},...n.map((e,t)=>({label:e,path:n.slice(0,t+1).join(`/`),kind:t===n.length-1?`file`:`directory`}))]}var hm=e=>/\.(?:md|mdx)$/i.test(e);function gm(e,t,n){return t<0||e[t]!==`[`||!/[ xX]/.test(e[t+1]??``)||e[t+2]!==`]`?e:`${e.slice(0,t+1)}${n?`x`:` `}${e.slice(t+2)}`}var _m=class{options;timer=null;latestContents=``;latestRevision=0;lastChangeAt=0;saving=!1;disposed=!1;constructor(e){this.options=e}change(e){this.latestContents=e,this.latestRevision+=1,this.lastChangeAt=Date.now(),this.options.onPendingChange(!0),this.schedule(this.options.debounceMs)}dispose(){this.disposed=!0,this.clearTimer(),this.latestRevision>0&&this.persistLatest()}schedule(e){this.clearTimer(),this.timer=setTimeout(()=>{this.timer=null,this.persistLatest()},e)}clearTimer(){this.timer!==null&&(clearTimeout(this.timer),this.timer=null)}async persistLatest(){if(this.saving||this.latestRevision===0)return;this.saving=!0;let e=this.latestContents,t=this.latestRevision,n=(await this.options.persist(e))._tag===`Success`;if(n&&this.options.onConfirmed(e),this.saving=!1,t===this.latestRevision){n&&this.options.onPendingChange(!1);return}let r=Math.max(0,this.options.debounceMs-(Date.now()-this.lastChangeAt));this.disposed?this.persistLatest():this.schedule(r)}},vm=`p4code.fileExplorerOpen`,ym=500,bm=`data-file-link-reveal`,xm=`
2198
+ `;function $p(e){return e.kind===`directory`?`${e.path}/`:e.path}function em({environmentId:e,cwd:t,projectName:n,onOpenFile:r}){let{resolvedTheme:i}=k(),o=ze(),s=Ie(e,t),l=s.data?.entries??[],u=(0,J.useMemo)(()=>new Map(l.map(e=>[e.path,e.kind])),[l]),d=(0,J.useRef)(u),f=(0,J.useMemo)(()=>l.map($p),[l]),p=(0,J.useRef)([]),m=(0,J.useRef)(null);(0,J.useEffect)(()=>{let e=e=>{m.current={x:e.clientX,y:e.clientY,at:e.timeStamp}};return document.addEventListener(`contextmenu`,e,!0),()=>document.removeEventListener(`contextmenu`,e,!0)},[]);let h=async(e,t)=>{let n=a();if(!n){t.close();return}let r=e.path.replace(/\/$/,``),i=Ke(r),s=m.current,c=s!==null&&performance.now()-s.at<1e3,l=t.anchorElement.getBoundingClientRect(),u=c?{x:s.x,y:s.y}:{x:l.left,y:l.bottom};try{let e=await n.contextMenu.show([{id:`copy-mention`,label:`Copy mention`},{id:`add-to-chat`,label:`Add to chat`}],u);if(e===`copy-mention`){try{await S(i),_.add({type:`success`,title:`Mention copied`,description:r})}catch(e){_.add({type:`error`,title:`Failed to copy mention`,description:e instanceof Error?e.message:`An error occurred.`})}return}if(e===`add-to-chat`){let e=o?.current;if(!e){_.add({type:`error`,title:`Unable to add to chat`,description:`Open a chat for this project and try again.`});return}e.insertTextAtEnd(`${i} `,{ensureLeadingBoundary:!0})||_.add({type:`error`,title:`Unable to add to chat`,description:`The chat isn't ready to accept input right now.`})}}finally{t.close()}},g=(0,J.useRef)(h);(0,J.useEffect)(()=>{g.current=h});let v=(0,J.useRef)(null),y=(0,J.useMemo)(()=>Zp({deselect:e=>v.current?.getItem(e)?.deselect()}),[]),{model:b}=Jp({composition:{contextMenu:{triggerMode:`right-click`,onOpen:(e,t)=>{g.current(e,t)}}},dragAndDrop:{canDrop:()=>!1},density:`compact`,fileTreeSearchMode:`hide-non-matches`,flattenEmptyDirectories:!0,initialExpansion:1,icons:ie,onSelectionChange:e=>{if(y.handleSelectionChange(e),y.isDragInProgress())return;let t=e.at(-1)?.replace(/\/$/,``);t&&d.current.get(t)===`file`&&r(t)},paths:[],search:!0,unsafeCSS:Qp});(0,J.useEffect)(()=>{p.current!==f&&(d.current=u,p.current=f,b.resetPaths(f))},[u,b,f]);let x=(0,J.useMemo)(()=>l.reduce((e,t)=>e+ +(t.kind===`file`),0),[l]),C=(0,J.useRef)(null);return(0,J.useEffect)(()=>{v.current=b},[b]),(0,J.useEffect)(()=>{let e=C.current;if(e===null)return;let t=e=>y.handleDragStart(e),n=()=>y.handleDragEnd();return e.addEventListener(`dragstart`,t,!0),e.addEventListener(`dragend`,n),()=>{e.removeEventListener(`dragstart`,t,!0),e.removeEventListener(`dragend`,n)}},[y]),(0,Y.jsxs)(`div`,{ref:C,className:`flex min-h-0 flex-1 flex-col bg-background`,"data-file-browser-panel":`${e}:${t}`,children:[(0,Y.jsxs)(`div`,{className:`flex h-9 shrink-0 items-center gap-2 border-b border-border/60 px-3`,children:[(0,Y.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,Y.jsx)(`div`,{className:`truncate text-xs font-medium text-foreground`,children:n}),(0,Y.jsxs)(`div`,{className:`truncate text-[10px] leading-none text-muted-foreground`,children:[s.isPending&&s.data===null?`Indexing…`:`${x.toLocaleString()} files`,s.data?.truncated?` · partial`:``]})]}),(0,Y.jsx)(`button`,{type:`button`,className:`rounded-md p-1.5 text-muted-foreground hover:bg-accent hover:text-foreground`,"aria-label":`Search workspace files`,onClick:()=>b.openSearch(),children:(0,Y.jsx)(it,{className:`size-3.5`})}),(0,Y.jsx)(`button`,{type:`button`,className:`rounded-md p-1.5 text-muted-foreground hover:bg-accent hover:text-foreground`,"aria-label":`Refresh workspace files`,onClick:s.refresh,children:(0,Y.jsx)(P,{className:c(`size-3.5`,s.isPending&&`animate-spin`)})})]}),s.error&&s.data===null?(0,Y.jsx)(`div`,{className:`p-4 text-xs leading-relaxed text-destructive`,children:s.error}):(0,Y.jsx)(qp,{model:b,"aria-label":`${n} files`,className:`min-h-0 flex-1 overflow-hidden`,style:{colorScheme:i,"--trees-fg-override":`var(--foreground)`}})]})}function tm(e){let t=(0,Yp.c)(11),{open:n,title:r,onOpenChange:i,children:a}=e,o;t[0]===r?o=t[1]:(o=(0,Y.jsx)(je,{className:`shrink-0 border-b border-border/60 px-4 py-2.5 pe-12 text-sm font-medium`,children:r}),t[0]=r,t[1]=o);let s;t[2]===a?s=t[3]:(s=(0,Y.jsx)(`div`,{className:`flex min-h-0 flex-1 flex-col overflow-hidden`,children:a}),t[2]=a,t[3]=s);let c;t[4]!==o||t[5]!==s?(c=(0,Y.jsxs)(rt,{className:`row-start-1 row-end-4 flex h-full max-h-full w-full max-w-none flex-col overflow-hidden p-0`,bottomStickOnMobile:!1,children:[o,s]}),t[4]=o,t[5]=s,t[6]=c):c=t[6];let l;return t[7]!==i||t[8]!==n||t[9]!==c?(l=(0,Y.jsx)(Qe,{open:n,onOpenChange:i,children:c}),t[7]=i,t[8]=n,t[9]=c,t[10]=l):l=t[10],l}var nm=1024,rm=[`B`,`KB`,`MB`,`GB`,`TB`];function im(e){if(!Number.isFinite(e)||e<0)return`unknown size`;let t=e,n=0;for(;t>=nm&&n<rm.length-1;)t/=nm,n+=1;return`${n===0?t:Math.round(t*10)/10} ${rm[n]}`}function am(e){let t=e.lastIndexOf(`.`);return t<=0||t===e.length-1?`File`:`${e.slice(t+1).toUpperCase()} file`}function om(e){let t=(0,Yp.c)(35),{environmentId:n,keybindings:r,availableEditors:i,absolutePath:o,name:s,byteLength:c,canRevealInFileManager:l}=e,u;t[0]===o?u=t[1]:(u=()=>{let e=a();e&&e.shell.showItemInFolder(o).catch(cm)},t[0]=o,t[1]=u);let d=u,f;t[2]===o?f=t[3]:(f=()=>{if(!navigator.clipboard?.writeText){_.add(v({type:`error`,title:`Failed to copy path`,description:`Clipboard API unavailable.`}));return}navigator.clipboard.writeText(o).then(()=>_.add({type:`success`,title:`Path copied`,description:o}),sm)},t[2]=o,t[3]=f);let p=f,m;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,Y.jsx)(ct,{className:`mt-0.5 size-5 shrink-0 text-muted-foreground`}),t[4]=m):m=t[4];let h;t[5]===s?h=t[6]:(h=(0,Y.jsx)(`div`,{className:`truncate text-sm font-medium`,title:s,children:s}),t[5]=s,t[6]=h);let g;t[7]===s?g=t[8]:(g=am(s),t[7]=s,t[8]=g);let y;t[9]===c?y=t[10]:(y=im(c),t[9]=c,t[10]=y);let b;t[11]!==g||t[12]!==y?(b=(0,Y.jsxs)(`div`,{className:`mt-0.5 text-xs text-muted-foreground`,children:[g,` · `,y]}),t[11]=g,t[12]=y,t[13]=b):b=t[13];let x;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,Y.jsx)(`div`,{className:`mt-1 text-xs leading-relaxed text-muted-foreground`,children:`This file cannot be shown here.`}),t[14]=x):x=t[14];let S;t[15]!==h||t[16]!==b?(S=(0,Y.jsxs)(`div`,{className:`flex items-start gap-3`,children:[m,(0,Y.jsxs)(`div`,{className:`min-w-0`,children:[h,b,x]})]}),t[15]=h,t[16]=b,t[17]=S):S=t[17];let C;t[18]!==o||t[19]!==i||t[20]!==n||t[21]!==r?(C=(0,Y.jsx)(Ue,{environmentId:n,keybindings:r,availableEditors:i,openInCwd:o,compact:!0,enableShortcut:!1}),t[18]=o,t[19]=i,t[20]=n,t[21]=r,t[22]=C):C=t[22];let w;t[23]!==l||t[24]!==d?(w=l?(0,Y.jsxs)(D,{variant:`outline`,size:`sm`,onClick:d,children:[(0,Y.jsx)(Pe,{className:`size-3.5`}),`Reveal in Finder`]}):null,t[23]=l,t[24]=d,t[25]=w):w=t[25];let T;t[26]===p?T=t[27]:(T=(0,Y.jsx)(D,{variant:`outline`,size:`sm`,onClick:p,children:`Copy path`}),t[26]=p,t[27]=T);let E;t[28]!==C||t[29]!==w||t[30]!==T?(E=(0,Y.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[C,w,T]}),t[28]=C,t[29]=w,t[30]=T,t[31]=E):E=t[31];let O;return t[32]!==E||t[33]!==S?(O=(0,Y.jsx)(`div`,{className:`flex min-h-0 flex-1 items-center justify-center p-6`,children:(0,Y.jsxs)(`div`,{className:`flex w-full max-w-md flex-col gap-4 rounded-lg border border-border/60 bg-card p-5`,children:[S,E]})}),t[32]=E,t[33]=S,t[34]=O):O=t[34],O}function sm(e){return _.add(v({type:`error`,title:`Failed to copy path`,description:e instanceof Error?e.message:`An error occurred.`}))}function cm(e){_.add(v({type:`error`,title:`Unable to reveal file`,description:e instanceof Error?e.message:`An error occurred.`}))}function lm({root:e,resolveEditor:t,onDismiss:n}){n(),t()?.setSelections([]);let r=e.querySelector(`diffs-container`)?.shadowRoot?.activeElement;r instanceof HTMLElement&&r.blur()}function um(e){return e.querySelector(`diffs-container`)?.shadowRoot?.activeElement?.hasAttribute(`data-content`)===!0}function dm({root:e,resolveEditor:t,isBlocked:n,onDismiss:r}){let i=i=>{n()||i.composedPath().includes(e)||lm({root:e,resolveEditor:t,onDismiss:r})},a=i=>{i.key!==`Escape`||n()||!um(e)||(i.preventDefault(),i.stopImmediatePropagation(),lm({root:e,resolveEditor:t,onDismiss:r}))};return document.addEventListener(`pointerdown`,i,!0),document.addEventListener(`keydown`,a,!0),()=>{document.removeEventListener(`pointerdown`,i,!0),document.removeEventListener(`keydown`,a,!0)}}function fm(e){let t=2166136261;for(let n=0;n<e.length;n+=1)t^=e.charCodeAt(n),t=Math.imul(t,16777619);return`${e.length}:${(t>>>0).toString(36)}`}function pm(e,t,n){return`${e}:${t}:${fm(n)}`}function mm(e,t){let n=t.split(`/`).filter(Boolean);return[{label:e,path:``,kind:`project`},...n.map((e,t)=>({label:e,path:n.slice(0,t+1).join(`/`),kind:t===n.length-1?`file`:`directory`}))]}var hm=e=>/\.(?:md|mdx)$/i.test(e);function gm(e,t,n){return t<0||e[t]!==`[`||!/[ xX]/.test(e[t+1]??``)||e[t+2]!==`]`?e:`${e.slice(0,t+1)}${n?`x`:` `}${e.slice(t+2)}`}var _m=class{options;timer=null;latestContents=``;latestRevision=0;lastChangeAt=0;saving=!1;disposed=!1;constructor(e){this.options=e}change(e){this.latestContents=e,this.latestRevision+=1,this.lastChangeAt=Date.now(),this.options.onPendingChange(!0),this.schedule(this.options.debounceMs)}dispose(){this.disposed=!0,this.clearTimer(),this.latestRevision>0&&this.persistLatest()}schedule(e){this.clearTimer(),this.timer=setTimeout(()=>{this.timer=null,this.persistLatest()},e)}clearTimer(){this.timer!==null&&(clearTimeout(this.timer),this.timer=null)}async persistLatest(){if(this.saving||this.latestRevision===0)return;this.saving=!0;let e=this.latestContents,t=this.latestRevision,n=(await this.options.persist(e))._tag===`Success`;if(n&&this.options.onConfirmed(e),this.saving=!1,t===this.latestRevision){n&&this.options.onPendingChange(!1);return}let r=Math.max(0,this.options.debounceMs-(Date.now()-this.lastChangeAt));this.disposed?this.persistLatest():this.schedule(r)}},vm=`p4code.fileExplorerOpen`,ym=500,bm=`data-file-link-reveal`,xm=`
2199
2199
  [${bm}][data-line] {
2200
2200
  background-color: light-dark(
2201
2201
  color-mix(
@@ -2226,5 +2226,5 @@ import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{n as t,r as n,t as r}f
2226
2226
  ) !important;
2227
2227
  color: var(--diffs-selection-number-fg) !important;
2228
2228
  }
2229
- `;function Sm(e){let t=(0,Yp.c)(5),n=Ve(e.environmentId,e.resource),[r,i]=(0,J.useState)(null);if(n._tag===`Failure`||n._tag===`Success`&&r===n.url){let e;return t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Y.jsx)(`div`,{className:`flex min-h-0 flex-1 items-center justify-center px-6 text-center text-xs leading-relaxed text-destructive`,children:`Unable to load image.`}),t[0]=e):e=t[0],e}let a;return t[1]!==n._tag||t[2]!==n.url||t[3]!==e.alt?(a=n._tag===`Success`?(0,Y.jsx)(`div`,{className:`flex min-h-0 flex-1 items-center justify-center overflow-auto p-4`,children:(0,Y.jsx)(`img`,{className:`max-h-full max-w-full object-contain`,src:n.url,alt:e.alt,onError:()=>i(n.url)})}):(0,Y.jsx)(`div`,{className:`flex min-h-0 flex-1 items-center justify-center text-muted-foreground`,children:(0,Y.jsx)(l,{className:`size-5 animate-spin`})}),t[1]=n._tag,t[2]=n.url,t[3]=e.alt,t[4]=a):a=t[4],a}function Cm(e,t){let n=1;for(let t=0;t<e.length;t+=1){let r=e.charCodeAt(t);r===10?n+=1:r===13&&(n+=1,e.charCodeAt(t+1)===10&&(t+=1))}return Math.min(Math.max(1,t),n)}function wm(e,t){let n=e.shadowRoot??e;for(let e of n.querySelectorAll(`[${bm}]`))e.removeAttribute(bm);t!==null&&(n.querySelector(`[data-line="${t}"]`)?.setAttribute(bm,``),n.querySelector(`[data-column-number="${t}"]`)?.setAttribute(bm,``))}function Tm(e,t,n){let r=(0,Yp.c)(7),[i]=(0,J.useState)(Om),[a]=(0,J.useState)(Dm),[o]=(0,J.useState)(Em),s;return r[0]!==i||r[1]!==a||r[2]!==o||r[3]!==e||r[4]!==t||r[5]!==n?(s=(r,s,c)=>{if(e===null)return;let l=()=>{let t=o.get(e);t!==void 0&&(cancelAnimationFrame(t),o.delete(e))};if(c===`unmount`){l();return}let u=t===null?null:Cm(s.file?.contents??``,t);if(wm(r,u),!(s instanceof j))return;if(a.get(e)!==n&&(l(),a.set(e,n)),u===null){r.style.minHeight=``;return}let d=r.closest(`.file-preview-virtualizer`);!d||(r.style.minHeight=`${Math.ceil(Math.max(s.height,d.clientHeight))}px`,i.get(e)===n||o.has(e))||o.set(e,requestAnimationFrame(()=>{if(o.delete(e),a.get(e)!==n||!r.isConnected)return;let t=s.getLinePosition(u);if(!t)return;let c=d.scrollTop+r.getBoundingClientRect().top-d.getBoundingClientRect().top,l=Math.max(0,c+t.top-Math.max(0,(d.clientHeight-t.height)/2)),f=Math.max(0,d.scrollHeight-d.clientHeight);d.scrollTop=Math.min(l,f),i.set(e,n)}))},r[0]=i,r[1]=a,r[2]=o,r[3]=e,r[4]=t,r[5]=n,r[6]=s):s=r[6],s}function Em(){return new Map}function Dm(){return new Map}function Om(){return new Map}function km(e){let t=(0,Yp.c)(19),{environmentId:n,cwd:r,relativePath:i,onPendingChange:a}=e,o=A(ye.writeFile),s;t[0]!==a||t[1]!==i?(s=e=>a(i,e),t[0]=a,t[1]=i,t[2]=s):s=t[2];let c;t[3]!==r||t[4]!==n||t[5]!==i||t[6]!==o?(c=e=>o({environmentId:n,input:{cwd:r,relativePath:i,contents:e}}),t[3]=r,t[4]=n,t[5]=i,t[6]=o,t[7]=c):c=t[7];let l;t[8]!==r||t[9]!==n||t[10]!==i?(l=e=>{He(n,r,i,e)},t[8]=r,t[9]=n,t[10]=i,t[11]=l):l=t[11];let u;t[12]!==s||t[13]!==c||t[14]!==l?(u=new _m({debounceMs:ym,onPendingChange:s,persist:c,onConfirmed:l}),t[12]=s,t[13]=c,t[14]=l,t[15]=u):u=t[15];let d=u,f,p;return t[16]===d?(f=t[17],p=t[18]):(f=()=>()=>d.dispose(),p=[d],t[16]=d,t[17]=f,t[18]=p),(0,J.useEffect)(f,p),d}function Am(e){let t=(0,Yp.c)(73),{environmentId:n,cwd:r,relativePath:i,composerDraftTarget:a,contents:o,resolvedTheme:s,revealRequestId:c,wordWrap:l,onPostRender:u,onPendingChange:f}=e,p=m(Lm),h=m(Im),g;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(g=[],t[0]=g):g=t[0];let[_,v]=(0,J.useState)(g),[y,b]=(0,J.useState)(null),x=y?.revealRequestId===c?y.range:null,S;t[1]===c?S=t[2]:(S=e=>{b({revealRequestId:c,range:e})},t[1]=c,t[2]=S);let C=S,w=(0,J.useRef)(null),T=(0,J.useRef)(null),E;t[3]!==r||t[4]!==n||t[5]!==f||t[6]!==i?(E={environmentId:n,cwd:r,relativePath:i,onPendingChange:f},t[3]=r,t[4]=n,t[5]=f,t[6]=i,t[7]=E):E=t[7];let D=km(E),O=(0,J.useRef)(null),ee;t[8]!==p||t[9]!==a||t[10]!==r||t[11]!==n||t[12]!==i||t[13]!==D?(ee=(e,t)=>{if(Ne(n,r,i,e.contents),D.change(e.contents),t){let n=ot(t);v(n);for(let t of n)for(let n of t.metadata.entries)n.kind===`comment`&&p(a,d({id:n.id,filePath:i,startLine:n.startLine,endLine:n.endLine,text:n.text,contents:e.contents}))}},t[8]=p,t[9]=a,t[10]=r,t[11]=n,t[12]=i,t[13]=D,t[14]=ee):ee=t[14];let k=ee,te;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(te=e=>{let t=new Vp(e);return O.current=t,t},t[15]=te):te=t[15];let A=te,j,M;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(j=()=>()=>{O.current?.cleanUp(),O.current=null},M=[],t[16]=j,t[17]=M):(j=t[16],M=t[17]),(0,J.useEffect)(j,M);let N;t[18]!==a||t[19]!==h||t[20]!==C?(N=e=>{C(null),h(a,e),v(t=>t.flatMap(t=>{let n=t.metadata.entries.filter(t=>t.id!==e);return n.length>0?[{...t,metadata:{entries:n}}]:[]}))},t[18]=a,t[19]=h,t[20]=C,t[21]=N):N=t[21];let ne=N,re;t[22]!==p||t[23]!==a||t[24]!==o||t[25]!==_||t[26]!==i||t[27]!==C?(re=(e,t)=>{C(null);let n=_.flatMap(Fm).find(t=>t.id===e);n&&p(a,d({id:n.id,filePath:i,startLine:n.startLine,endLine:n.endLine,text:t,contents:o})),v(n=>n.map(n=>({...n,metadata:{entries:n.metadata.entries.map(n=>n.id===e?{...n,kind:`comment`,text:t}:n)}})))},t[22]=p,t[23]=a,t[24]=o,t[25]=_,t[26]=i,t[27]=C,t[28]=re):re=t[28];let ie=re,ae;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(ae=e=>{let{startLine:t,endLine:n}=L(e),r={id:st(),kind:`draft`,startLine:t,endLine:n,text:``};v(e=>{let t=e.flatMap(Nm),i=t.findIndex(e=>e.lineNumber===n);return i<0?[...t,{lineNumber:n,metadata:{entries:[r]}}]:t.map((e,t)=>t===i?{...e,metadata:{entries:[...e.metadata.entries,r]}}:e)})},t[29]=ae):ae=t[29];let oe=ae,se;t[30]===_?se=t[31]:(se=_.some(jm),t[30]=_,t[31]=se);let ce=se,le,ue;t[32]!==ce||t[33]!==C?(le=()=>{let e=w.current;if(e)return dm({root:e,resolveEditor:()=>O.current,isBlocked:()=>ce,onDismiss:()=>C(null)})},ue=[ce,C],t[32]=ce,t[33]=C,t[34]=le,t[35]=ue):(le=t[34],ue=t[35]),(0,J.useEffect)(le,ue);let de;t[36]===C?de=t[37]:(de=e=>{C(e),e&&oe(e)},t[36]=C,t[37]=de);let fe=de,pe;t[38]!==u||t[39]!==x?(pe=(e,t,n)=>{u(e,t,n),T.current!==null&&(cancelAnimationFrame(T.current),T.current=null),n!==`unmount`&&(T.current=requestAnimationFrame(()=>{T.current=null,e.isConnected&&t.setSelectedLines(x,{notify:!1})}))},t[38]=u,t[39]=x,t[40]=pe):pe=t[40];let P=pe,me;t[41]===Symbol.for(`react.memo_cache_sentinel`)?(me={overscrollSize:600,intersectionObserverMargin:1200},t[41]=me):me=t[41];let he;t[42]!==o||t[43]!==r||t[44]!==i?(he=pm(r,i,o),t[42]=o,t[43]=r,t[44]=i,t[45]=he):he=t[45];let ge;t[46]!==o||t[47]!==i||t[48]!==he?(ge={name:i,contents:o,cacheKey:he},t[46]=o,t[47]=i,t[48]=he,t[49]=ge):ge=t[49];let F=!ce,_e=!ce,ve=l?`wrap`:`scroll`,ye;t[50]===s?ye=t[51]:(ye=Me(s),t[50]=s,t[51]=ye);let xe;t[52]!==fe||t[53]!==P||t[54]!==s||t[55]!==C||t[56]!==F||t[57]!==_e||t[58]!==ve||t[59]!==ye?(xe={disableFileHeader:!0,enableGutterUtility:F,enableLineSelection:_e,onGutterUtilityClick:C,onLineSelectionChange:C,onLineSelectionEnd:fe,overflow:ve,theme:ye,themeType:s,unsafeCSS:xm,onPostRender:P},t[52]=fe,t[53]=P,t[54]=s,t[55]=C,t[56]=F,t[57]=_e,t[58]=ve,t[59]=ye,t[60]=xe):xe=t[60];let Se;t[61]!==ne||t[62]!==ie?(Se=e=>(0,Y.jsx)(`div`,{className:`py-1`,children:e.metadata.entries.map(e=>(0,Y.jsx)(at,{kind:e.kind,rangeLabel:R(e.startLine,e.endLine),text:e.text,onCancel:()=>ne(e.id),onComment:t=>ie(e.id,t),onDelete:()=>ne(e.id)},e.id))}),t[61]=ne,t[62]=ie,t[63]=Se):Se=t[63];let Ce;t[64]===k?Ce=t[65]:(Ce={onChange:k},t[64]=k,t[65]=Ce);let we;return t[66]!==_||t[67]!==x||t[68]!==ge||t[69]!==xe||t[70]!==Se||t[71]!==Ce?(we=(0,Y.jsx)(be,{createEditor:A,children:(0,Y.jsx)(`div`,{ref:w,className:`flex min-h-0 flex-1`,children:(0,Y.jsx)(Ze,{className:`file-preview-virtualizer min-h-0 flex-1 overflow-auto`,config:me,children:(0,Y.jsx)(Jl,{file:ge,options:xe,selectedLines:x,lineAnnotations:_,renderAnnotation:Se,className:`min-h-full`,edit:!0,editorOptions:Ce})})})}),t[66]=_,t[67]=x,t[68]=ge,t[69]=xe,t[70]=Se,t[71]=Ce,t[72]=we):we=t[72],we}function jm(e){return e.metadata.entries.some(Mm)}function Mm(e){return e.kind===`draft`}function Nm(e){let t=e.metadata.entries.filter(Pm);return t.length>0?[{...e,metadata:{entries:t}}]:[]}function Pm(e){return e.kind!==`draft`}function Fm(e){return e.metadata.entries}function Im(e){return e.removeReviewComment}function Lm(e){return e.addReviewComment}function Rm(e){let t=(0,Yp.c)(17),{environmentId:n,cwd:r,relativePath:i,contents:a,threadRef:o,readOnly:s,onPendingChange:c}=e,l;t[0]!==r||t[1]!==n||t[2]!==c||t[3]!==i?(l={environmentId:n,cwd:r,relativePath:i,onPendingChange:c},t[0]=r,t[1]=n,t[2]=c,t[3]=i,t[4]=l):l=t[4];let u=km(l),d;t[5]!==a||t[6]!==r||t[7]!==n||t[8]!==s||t[9]!==i||t[10]!==u?(d=s?{}:{onTaskListChange:e=>{let{markerOffset:t,checked:o}=e,s=Xe(n,r,i)?.contents??a,c=gm(s,t,o);c!==s&&(Ne(n,r,i,c),u.change(c))}},t[5]=a,t[6]=r,t[7]=n,t[8]=s,t[9]=i,t[10]=u,t[11]=d):d=t[11];let f;return t[12]!==a||t[13]!==r||t[14]!==d||t[15]!==o?(f=(0,Y.jsx)(oe,{className:`min-h-0 flex-1`,children:(0,Y.jsx)(ne,{text:a,cwd:r,threadRef:o,className:`mx-auto max-w-4xl px-6 py-5`,...d})}),t[12]=a,t[13]=r,t[14]=d,t[15]=o,t[16]=f):f=t[16],f}function zm(){try{return g(vm,p)??!0}catch(e){return console.error(e),!0}}function Bm(e){let t=(0,Yp.c)(103),{environmentId:n,cwd:r,projectName:i,workspaceRoot:a,relativePath:d,absolutePath:p,isOutsideWorkspace:m,threadRef:g,composerDraftTarget:S,keybindings:T,availableEditors:D,revealLine:j,revealRequestId:M,onOpenFile:N,onPendingChange:ne}=e,{resolvedTheme:ie}=k(),ae=ue(Hm),se=ee(),ce=te(n),le;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(le={reportFailure:!1},t[0]=le):le=t[0];let de=Ee(re.createUrl,le),fe;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(fe={reportFailure:!1},t[1]=fe):fe=t[1];let pe=A(E.open,fe),P=n===se,me;t[2]===d?me=t[3]:(me=d!==null&&w(d),t[2]=d,t[3]=me);let ge=me,F=Ge(n,r,d,!ge,p),[_e,ve]=(0,J.useState)(zm),[ye,be]=(0,J.useState)(!1),xe;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(xe={path:null,revealRequestId:null},t[4]=xe):xe=t[4];let[Se,Ce]=(0,J.useState)(xe),we=(0,J.useRef)(null),De;t[5]===d?De=t[6]:(De=d?hm(d):!1,t[5]=d,t[6]=De);let Oe=De,ke=Oe&&Se.path===d&&(j===null||Se.revealRequestId===M),Ae;t[7]===d?Ae=t[8]:(Ae=d!==null&&c()&&Fe(d),t[7]=d,t[8]=Ae);let je=Ae,Ne;t[9]!==r||t[10]!==p||t[11]!==d?(Ne=p??(d?b(d,r):null),t[9]=r,t[10]=p,t[11]=d,t[12]=Ne):Ne=t[12];let Pe=Ne,Ie;t[13]!==Pe||t[14]!==P||t[15]!==g.threadId||t[16]!==a?(Ie=Pe===null?null:C({filePath:Pe,threadId:g.threadId,workspaceRoot:a,allowLocalFiles:P}),t[13]=Pe,t[14]=P,t[15]=g.threadId,t[16]=a,t[17]=Ie):Ie=t[17];let Le=Ie,Re;t[18]!==r||t[19]!==m||t[20]!==i||t[21]!==d?(Re=d?mm(m?r:i,d):[],t[18]=r,t[19]=m,t[20]=i,t[21]=d,t[22]=Re):Re=t[22];let ze=Re,Ve=Tm(d,j,M),He;t[23]===Symbol.for(`react.memo_cache_sentinel`)?(He=()=>{(we.current?.querySelector(`[data-current-file-crumb='true']`))?.scrollIntoView({block:`nearest`,inline:`end`})},t[23]=He):He=t[23];let We;t[24]===d?We=t[25]:(We=[d],t[24]=d,t[25]=We),(0,J.useEffect)(He,We);let Ke;t[26]===Symbol.for(`react.memo_cache_sentinel`)?(Ke=()=>{ve(Vm)},t[26]=Ke):Ke=t[26];let Xe=Ke,Qe;t[27]!==Pe||t[28]!==P||t[29]!==de||t[30]!==ce||t[31]!==pe||t[32]!==ie||t[33]!==g||t[34]!==a?(Qe=()=>{!Pe||!ce||(async()=>{let e=await Ye({threadRef:g,filePath:Pe,httpBaseUrl:ce,workspaceRoot:a,allowLocalFiles:P,theme:ie,createAssetUrl:de,openPreview:pe});if(e._tag===`Success`||o(e))return;let t=u(e);_.add(v({type:`error`,title:`Unable to open file in browser`,description:t instanceof Error?t.message:`An error occurred.`}))})()},t[27]=Pe,t[28]=P,t[29]=de,t[30]=ce,t[31]=pe,t[32]=ie,t[33]=g,t[34]=a,t[35]=Qe):Qe=t[35];let $e=Qe,et;t[36]!==Pe||t[37]!==P||t[38]!==D||t[39]!==S||t[40]!==r||t[41]!==n||t[42]!==F||t[43]!==Le||t[44]!==ge||t[45]!==Oe||t[46]!==m||t[47]!==T||t[48]!==Ve||t[49]!==ne||t[50]!==d||t[51]!==ke||t[52]!==ie||t[53]!==M||t[54]!==g||t[55]!==ae?(et=d&&ge&&Le?(0,Y.jsx)(Sm,{environmentId:n,resource:Le,alt:d},Pe??d):d&&F.error&&F.data===null?(0,Y.jsx)(`div`,{className:`flex min-h-0 flex-1 items-center justify-center px-6 text-center text-xs leading-relaxed text-destructive`,children:F.error}):d&&F.data===null?(0,Y.jsx)(`div`,{className:`flex min-h-0 flex-1 items-center justify-center text-muted-foreground`,children:(0,Y.jsx)(l,{className:`size-5 animate-spin`})}):d&&F.data?F.data.binary&&Pe?(0,Y.jsx)(om,{environmentId:n,keybindings:T,availableEditors:D,absolutePath:Pe,name:d.slice(d.lastIndexOf(`/`)+1),byteLength:F.data.byteLength,canRevealInFileManager:P&&f()}):Oe&&ke?(0,Y.jsx)(Rm,{environmentId:n,cwd:r,relativePath:d,threadRef:g,contents:F.data.contents,readOnly:m,onPendingChange:ne}):F.data.truncated||m?(0,Y.jsx)(Ze,{className:`file-preview-virtualizer min-h-0 flex-1 overflow-auto`,config:{overscrollSize:600,intersectionObserverMargin:1200},children:(0,Y.jsx)(Jl,{file:{name:d,contents:F.data.contents,cacheKey:pm(r,d,F.data.contents)},options:{disableFileHeader:!0,overflow:ae?`wrap`:`scroll`,theme:Me(ie),themeType:ie,unsafeCSS:xm,onPostRender:Ve},className:`min-h-full`})},`${d}:${ie}:${F.data.byteLength}`):(0,Y.jsx)(Am,{environmentId:n,cwd:r,relativePath:d,composerDraftTarget:S,contents:F.data.contents,resolvedTheme:ie,revealRequestId:M,wordWrap:ae,onPostRender:Ve,onPendingChange:ne},`${d}:${ie}`):null,t[36]=Pe,t[37]=P,t[38]=D,t[39]=S,t[40]=r,t[41]=n,t[42]=F,t[43]=Le,t[44]=ge,t[45]=Oe,t[46]=m,t[47]=T,t[48]=Ve,t[49]=ne,t[50]=d,t[51]=ke,t[52]=ie,t[53]=M,t[54]=g,t[55]=ae,t[56]=et):et=t[56];let tt=et,nt;t[57]!==Pe||t[58]!==D||t[59]!==ze||t[60]!==je||t[61]!==n||t[62]!==ye||t[63]!==_e||t[64]!==$e||t[65]!==Oe||t[66]!==T||t[67]!==se||t[68]!==i||t[69]!==d||t[70]!==ke||t[71]!==M?(nt=d?(0,Y.jsxs)(`div`,{className:`surface-subheader gap-2 px-3`,"data-surface-subheader":!0,children:[(0,Y.jsx)(oe,{ref:we,hideScrollbars:!0,scrollFade:!0,className:`min-w-0 flex-1 rounded-none`,"data-file-breadcrumbs":!0,children:(0,Y.jsx)(`div`,{className:`flex h-full w-max min-w-full items-center text-xs`,children:ze.map((e,t)=>(0,Y.jsxs)(`div`,{className:`flex min-w-0 shrink-0 items-center`,"data-current-file-crumb":e.kind===`file`,children:[t>0?(0,Y.jsx)(h,{className:`mx-1 size-3.5 shrink-0 text-muted-foreground/60`}):null,(0,Y.jsx)(`span`,{className:s(`max-w-40 truncate`,e.kind===`file`?`font-medium text-foreground`:`text-muted-foreground`),title:e.path||i,children:e.label})]},e.path||`project`))})}),Pe&&n===se?(0,Y.jsx)(Ue,{environmentId:n,keybindings:T,availableEditors:D,openInCwd:Pe,compact:!0,enableShortcut:!1}):null,Oe?(0,Y.jsxs)(x,{children:[(0,Y.jsx)(O,{render:(0,Y.jsx)(Te,{className:`shrink-0`,pressed:ke,onPressedChange:e=>{Ce({path:e?d:null,revealRequestId:e?M:null})},"aria-label":ke?`Show markdown source`:`Show rendered markdown`,variant:`ghost`,size:`sm`,children:ke?(0,Y.jsx)(Be,{className:`size-3.5`}):(0,Y.jsx)(Je,{className:`size-3.5`})})}),(0,Y.jsx)(y,{children:ke?`Show markdown source`:`Show rendered markdown`})]}):null,je?(0,Y.jsxs)(x,{children:[(0,Y.jsx)(O,{render:(0,Y.jsx)(Te,{className:`shrink-0`,pressed:!1,onPressedChange:$e,"aria-label":`Open file in preview browser`,variant:`ghost`,size:`sm`,children:(0,Y.jsx)(qe,{className:`size-3.5`})})}),(0,Y.jsx)(y,{children:`Open file in preview browser`})]}):null,(0,Y.jsxs)(x,{children:[(0,Y.jsx)(O,{render:(0,Y.jsx)(Te,{className:`shrink-0`,pressed:ye,onPressedChange:be,"aria-label":ye?`Collapse file preview`:`Expand file preview`,variant:`ghost`,size:`sm`,children:ye?(0,Y.jsx)(he,{className:`size-3.5`}):(0,Y.jsx)(I,{className:`size-3.5`})})}),(0,Y.jsx)(y,{children:ye?`Collapse file preview`:`Expand file preview`})]}),(0,Y.jsxs)(x,{children:[(0,Y.jsx)(O,{render:(0,Y.jsx)(Te,{className:`shrink-0`,pressed:_e,onPressedChange:Xe,"aria-label":_e?`Hide file explorer`:`Show file explorer`,variant:`ghost`,size:`sm`,children:(0,Y.jsx)(lt,{className:`size-3.5`})})}),(0,Y.jsx)(y,{children:_e?`Hide file explorer`:`Show file explorer`})]})]}):null,t[57]=Pe,t[58]=D,t[59]=ze,t[60]=je,t[61]=n,t[62]=ye,t[63]=_e,t[64]=$e,t[65]=Oe,t[66]=T,t[67]=se,t[68]=i,t[69]=d,t[70]=ke,t[71]=M,t[72]=nt):nt=t[72];let rt;t[73]!==F||t[74]!==d?(rt=d&&F.data?.truncated?(0,Y.jsxs)(`div`,{className:`shrink-0 border-b border-amber-500/20 bg-amber-500/8 px-3 py-1.5 text-[11px] text-amber-700 dark:text-amber-300`,children:[`Preview limited to the first 1 MB of a `,F.data.byteLength.toLocaleString(),` byte file.`]}):null,t[73]=F,t[74]=d,t[75]=rt):rt=t[75];let it=d?`flex`:`hidden`,at;t[76]===it?at=t[77]:(at=s(`min-w-0 flex-1 flex-col overflow-hidden`,it),t[76]=it,t[77]=at);let ot;t[78]!==ye||t[79]!==tt?(ot=ye?(0,Y.jsx)(`div`,{className:`flex min-h-0 flex-1 items-center justify-center px-6 text-center text-xs text-muted-foreground`,children:`Shown in the expanded view.`}):tt,t[78]=ye,t[79]=tt,t[80]=ot):ot=t[80];let st;t[81]!==at||t[82]!==ot?(st=(0,Y.jsx)(`div`,{className:at,children:ot}),t[81]=at,t[82]=ot,t[83]=st):st=t[83];let L;t[84]!==r||t[85]!==n||t[86]!==_e||t[87]!==N||t[88]!==i||t[89]!==d?(L=_e||d===null?(0,Y.jsx)(`aside`,{className:s(`flex min-h-0 shrink-0 bg-background`,d?`w-[min(22rem,46%)] min-w-64 border-l border-border/60`:`min-w-0 flex-1`),children:(0,Y.jsx)(em,{environmentId:n,cwd:r,projectName:i,onOpenFile:N},`${n}:${r}`)}):null,t[84]=r,t[85]=n,t[86]=_e,t[87]=N,t[88]=i,t[89]=d,t[90]=L):L=t[90];let R;t[91]!==st||t[92]!==L?(R=(0,Y.jsxs)(`div`,{className:`flex min-h-0 flex-1 overflow-hidden`,children:[st,L]}),t[91]=st,t[92]=L,t[93]=R):R=t[93];let ct=ye&&d!==null,ut=d??``,dt;t[94]!==tt||t[95]!==ct||t[96]!==ut?(dt=(0,Y.jsx)(tm,{open:ct,title:ut,onOpenChange:be,children:tt}),t[94]=tt,t[95]=ct,t[96]=ut,t[97]=dt):dt=t[97];let ft;return t[98]!==nt||t[99]!==rt||t[100]!==R||t[101]!==dt?(ft=(0,Y.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col overflow-hidden bg-background`,children:[nt,rt,R,dt]}),t[98]=nt,t[99]=rt,t[100]=R,t[101]=dt,t[102]=ft):ft=t[102],ft}function Vm(e){let t=!e;try{T(vm,t,p)}catch(e){console.error(e)}return t}function Hm(e){return e.wordWrap}export{Bm as default};
2230
- //# sourceMappingURL=FilePreviewPanel-Bs1n9Dzp.js.map
2229
+ `;function Sm(e){let t=(0,Yp.c)(5),n=Ve(e.environmentId,e.resource),[r,i]=(0,J.useState)(null);if(n._tag===`Failure`||n._tag===`Success`&&r===n.url){let e;return t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Y.jsx)(`div`,{className:`flex min-h-0 flex-1 items-center justify-center px-6 text-center text-xs leading-relaxed text-destructive`,children:`Unable to load image.`}),t[0]=e):e=t[0],e}let a;return t[1]!==n._tag||t[2]!==n.url||t[3]!==e.alt?(a=n._tag===`Success`?(0,Y.jsx)(`div`,{className:`flex min-h-0 flex-1 items-center justify-center overflow-auto p-4`,children:(0,Y.jsx)(`img`,{className:`max-h-full max-w-full object-contain`,src:n.url,alt:e.alt,onError:()=>i(n.url)})}):(0,Y.jsx)(`div`,{className:`flex min-h-0 flex-1 items-center justify-center text-muted-foreground`,children:(0,Y.jsx)(u,{className:`size-5 animate-spin`})}),t[1]=n._tag,t[2]=n.url,t[3]=e.alt,t[4]=a):a=t[4],a}function Cm(e,t){let n=1;for(let t=0;t<e.length;t+=1){let r=e.charCodeAt(t);r===10?n+=1:r===13&&(n+=1,e.charCodeAt(t+1)===10&&(t+=1))}return Math.min(Math.max(1,t),n)}function wm(e,t){let n=e.shadowRoot??e;for(let e of n.querySelectorAll(`[${bm}]`))e.removeAttribute(bm);t!==null&&(n.querySelector(`[data-line="${t}"]`)?.setAttribute(bm,``),n.querySelector(`[data-column-number="${t}"]`)?.setAttribute(bm,``))}function Tm(e,t,n){let r=(0,Yp.c)(7),[i]=(0,J.useState)(Om),[a]=(0,J.useState)(Dm),[o]=(0,J.useState)(Em),s;return r[0]!==i||r[1]!==a||r[2]!==o||r[3]!==e||r[4]!==t||r[5]!==n?(s=(r,s,c)=>{if(e===null)return;let l=()=>{let t=o.get(e);t!==void 0&&(cancelAnimationFrame(t),o.delete(e))};if(c===`unmount`){l();return}let u=t===null?null:Cm(s.file?.contents??``,t);if(wm(r,u),!(s instanceof j))return;if(a.get(e)!==n&&(l(),a.set(e,n)),u===null){r.style.minHeight=``;return}let d=r.closest(`.file-preview-virtualizer`);!d||(r.style.minHeight=`${Math.ceil(Math.max(s.height,d.clientHeight))}px`,i.get(e)===n||o.has(e))||o.set(e,requestAnimationFrame(()=>{if(o.delete(e),a.get(e)!==n||!r.isConnected)return;let t=s.getLinePosition(u);if(!t)return;let c=d.scrollTop+r.getBoundingClientRect().top-d.getBoundingClientRect().top,l=Math.max(0,c+t.top-Math.max(0,(d.clientHeight-t.height)/2)),f=Math.max(0,d.scrollHeight-d.clientHeight);d.scrollTop=Math.min(l,f),i.set(e,n)}))},r[0]=i,r[1]=a,r[2]=o,r[3]=e,r[4]=t,r[5]=n,r[6]=s):s=r[6],s}function Em(){return new Map}function Dm(){return new Map}function Om(){return new Map}function km(e){let t=(0,Yp.c)(19),{environmentId:n,cwd:r,relativePath:i,onPendingChange:a}=e,o=A(ye.writeFile),s;t[0]!==a||t[1]!==i?(s=e=>a(i,e),t[0]=a,t[1]=i,t[2]=s):s=t[2];let c;t[3]!==r||t[4]!==n||t[5]!==i||t[6]!==o?(c=e=>o({environmentId:n,input:{cwd:r,relativePath:i,contents:e}}),t[3]=r,t[4]=n,t[5]=i,t[6]=o,t[7]=c):c=t[7];let l;t[8]!==r||t[9]!==n||t[10]!==i?(l=e=>{He(n,r,i,e)},t[8]=r,t[9]=n,t[10]=i,t[11]=l):l=t[11];let u;t[12]!==s||t[13]!==c||t[14]!==l?(u=new _m({debounceMs:ym,onPendingChange:s,persist:c,onConfirmed:l}),t[12]=s,t[13]=c,t[14]=l,t[15]=u):u=t[15];let d=u,f,p;return t[16]===d?(f=t[17],p=t[18]):(f=()=>()=>d.dispose(),p=[d],t[16]=d,t[17]=f,t[18]=p),(0,J.useEffect)(f,p),d}function Am(e){let t=(0,Yp.c)(73),{environmentId:n,cwd:r,relativePath:i,composerDraftTarget:a,contents:o,resolvedTheme:s,revealRequestId:c,wordWrap:l,onPostRender:u,onPendingChange:d}=e,p=m(Lm),h=m(Im),g;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(g=[],t[0]=g):g=t[0];let[_,v]=(0,J.useState)(g),[y,b]=(0,J.useState)(null),x=y?.revealRequestId===c?y.range:null,S;t[1]===c?S=t[2]:(S=e=>{b({revealRequestId:c,range:e})},t[1]=c,t[2]=S);let C=S,w=(0,J.useRef)(null),T=(0,J.useRef)(null),E;t[3]!==r||t[4]!==n||t[5]!==d||t[6]!==i?(E={environmentId:n,cwd:r,relativePath:i,onPendingChange:d},t[3]=r,t[4]=n,t[5]=d,t[6]=i,t[7]=E):E=t[7];let D=km(E),O=(0,J.useRef)(null),ee;t[8]!==p||t[9]!==a||t[10]!==r||t[11]!==n||t[12]!==i||t[13]!==D?(ee=(e,t)=>{if(Ne(n,r,i,e.contents),D.change(e.contents),t){let n=ot(t);v(n);for(let t of n)for(let n of t.metadata.entries)n.kind===`comment`&&p(a,f({id:n.id,filePath:i,startLine:n.startLine,endLine:n.endLine,text:n.text,contents:e.contents}))}},t[8]=p,t[9]=a,t[10]=r,t[11]=n,t[12]=i,t[13]=D,t[14]=ee):ee=t[14];let k=ee,te;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(te=e=>{let t=new Vp(e);return O.current=t,t},t[15]=te):te=t[15];let A=te,j,M;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(j=()=>()=>{O.current?.cleanUp(),O.current=null},M=[],t[16]=j,t[17]=M):(j=t[16],M=t[17]),(0,J.useEffect)(j,M);let N;t[18]!==a||t[19]!==h||t[20]!==C?(N=e=>{C(null),h(a,e),v(t=>t.flatMap(t=>{let n=t.metadata.entries.filter(t=>t.id!==e);return n.length>0?[{...t,metadata:{entries:n}}]:[]}))},t[18]=a,t[19]=h,t[20]=C,t[21]=N):N=t[21];let ne=N,re;t[22]!==p||t[23]!==a||t[24]!==o||t[25]!==_||t[26]!==i||t[27]!==C?(re=(e,t)=>{C(null);let n=_.flatMap(Fm).find(t=>t.id===e);n&&p(a,f({id:n.id,filePath:i,startLine:n.startLine,endLine:n.endLine,text:t,contents:o})),v(n=>n.map(n=>({...n,metadata:{entries:n.metadata.entries.map(n=>n.id===e?{...n,kind:`comment`,text:t}:n)}})))},t[22]=p,t[23]=a,t[24]=o,t[25]=_,t[26]=i,t[27]=C,t[28]=re):re=t[28];let ie=re,ae;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(ae=e=>{let{startLine:t,endLine:n}=L(e),r={id:st(),kind:`draft`,startLine:t,endLine:n,text:``};v(e=>{let t=e.flatMap(Nm),i=t.findIndex(e=>e.lineNumber===n);return i<0?[...t,{lineNumber:n,metadata:{entries:[r]}}]:t.map((e,t)=>t===i?{...e,metadata:{entries:[...e.metadata.entries,r]}}:e)})},t[29]=ae):ae=t[29];let oe=ae,se;t[30]===_?se=t[31]:(se=_.some(jm),t[30]=_,t[31]=se);let ce=se,le,ue;t[32]!==ce||t[33]!==C?(le=()=>{let e=w.current;if(e)return dm({root:e,resolveEditor:()=>O.current,isBlocked:()=>ce,onDismiss:()=>C(null)})},ue=[ce,C],t[32]=ce,t[33]=C,t[34]=le,t[35]=ue):(le=t[34],ue=t[35]),(0,J.useEffect)(le,ue);let de;t[36]===C?de=t[37]:(de=e=>{C(e),e&&oe(e)},t[36]=C,t[37]=de);let fe=de,pe;t[38]!==u||t[39]!==x?(pe=(e,t,n)=>{u(e,t,n),T.current!==null&&(cancelAnimationFrame(T.current),T.current=null),n!==`unmount`&&(T.current=requestAnimationFrame(()=>{T.current=null,e.isConnected&&t.setSelectedLines(x,{notify:!1})}))},t[38]=u,t[39]=x,t[40]=pe):pe=t[40];let P=pe,me;t[41]===Symbol.for(`react.memo_cache_sentinel`)?(me={overscrollSize:600,intersectionObserverMargin:1200},t[41]=me):me=t[41];let he;t[42]!==o||t[43]!==r||t[44]!==i?(he=pm(r,i,o),t[42]=o,t[43]=r,t[44]=i,t[45]=he):he=t[45];let ge;t[46]!==o||t[47]!==i||t[48]!==he?(ge={name:i,contents:o,cacheKey:he},t[46]=o,t[47]=i,t[48]=he,t[49]=ge):ge=t[49];let F=!ce,_e=!ce,ve=l?`wrap`:`scroll`,ye;t[50]===s?ye=t[51]:(ye=Me(s),t[50]=s,t[51]=ye);let xe;t[52]!==fe||t[53]!==P||t[54]!==s||t[55]!==C||t[56]!==F||t[57]!==_e||t[58]!==ve||t[59]!==ye?(xe={disableFileHeader:!0,enableGutterUtility:F,enableLineSelection:_e,onGutterUtilityClick:C,onLineSelectionChange:C,onLineSelectionEnd:fe,overflow:ve,theme:ye,themeType:s,unsafeCSS:xm,onPostRender:P},t[52]=fe,t[53]=P,t[54]=s,t[55]=C,t[56]=F,t[57]=_e,t[58]=ve,t[59]=ye,t[60]=xe):xe=t[60];let Se;t[61]!==ne||t[62]!==ie?(Se=e=>(0,Y.jsx)(`div`,{className:`py-1`,children:e.metadata.entries.map(e=>(0,Y.jsx)(at,{kind:e.kind,rangeLabel:R(e.startLine,e.endLine),text:e.text,onCancel:()=>ne(e.id),onComment:t=>ie(e.id,t),onDelete:()=>ne(e.id)},e.id))}),t[61]=ne,t[62]=ie,t[63]=Se):Se=t[63];let Ce;t[64]===k?Ce=t[65]:(Ce={onChange:k},t[64]=k,t[65]=Ce);let we;return t[66]!==_||t[67]!==x||t[68]!==ge||t[69]!==xe||t[70]!==Se||t[71]!==Ce?(we=(0,Y.jsx)(be,{createEditor:A,children:(0,Y.jsx)(`div`,{ref:w,className:`flex min-h-0 flex-1`,children:(0,Y.jsx)(Ze,{className:`file-preview-virtualizer min-h-0 flex-1 overflow-auto`,config:me,children:(0,Y.jsx)(Jl,{file:ge,options:xe,selectedLines:x,lineAnnotations:_,renderAnnotation:Se,className:`min-h-full`,edit:!0,editorOptions:Ce})})})}),t[66]=_,t[67]=x,t[68]=ge,t[69]=xe,t[70]=Se,t[71]=Ce,t[72]=we):we=t[72],we}function jm(e){return e.metadata.entries.some(Mm)}function Mm(e){return e.kind===`draft`}function Nm(e){let t=e.metadata.entries.filter(Pm);return t.length>0?[{...e,metadata:{entries:t}}]:[]}function Pm(e){return e.kind!==`draft`}function Fm(e){return e.metadata.entries}function Im(e){return e.removeReviewComment}function Lm(e){return e.addReviewComment}function Rm(e){let t=(0,Yp.c)(17),{environmentId:n,cwd:r,relativePath:i,contents:a,threadRef:o,readOnly:s,onPendingChange:c}=e,l;t[0]!==r||t[1]!==n||t[2]!==c||t[3]!==i?(l={environmentId:n,cwd:r,relativePath:i,onPendingChange:c},t[0]=r,t[1]=n,t[2]=c,t[3]=i,t[4]=l):l=t[4];let u=km(l),d;t[5]!==a||t[6]!==r||t[7]!==n||t[8]!==s||t[9]!==i||t[10]!==u?(d=s?{}:{onTaskListChange:e=>{let{markerOffset:t,checked:o}=e,s=Xe(n,r,i)?.contents??a,c=gm(s,t,o);c!==s&&(Ne(n,r,i,c),u.change(c))}},t[5]=a,t[6]=r,t[7]=n,t[8]=s,t[9]=i,t[10]=u,t[11]=d):d=t[11];let f;return t[12]!==a||t[13]!==r||t[14]!==d||t[15]!==o?(f=(0,Y.jsx)(oe,{className:`min-h-0 flex-1`,children:(0,Y.jsx)(ne,{text:a,cwd:r,threadRef:o,className:`mx-auto max-w-4xl px-6 py-5`,...d})}),t[12]=a,t[13]=r,t[14]=d,t[15]=o,t[16]=f):f=t[16],f}function zm(){try{return g(vm,o)??!0}catch(e){return console.error(e),!0}}function Bm(e){let t=(0,Yp.c)(103),{environmentId:n,cwd:r,projectName:i,workspaceRoot:a,relativePath:o,absolutePath:f,isOutsideWorkspace:m,threadRef:g,composerDraftTarget:S,keybindings:T,availableEditors:D,revealLine:j,revealRequestId:M,onOpenFile:N,onPendingChange:ne}=e,{resolvedTheme:ie}=k(),ae=ue(Hm),se=ee(),ce=te(n),le;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(le={reportFailure:!1},t[0]=le):le=t[0];let de=Ee(re.createUrl,le),fe;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(fe={reportFailure:!1},t[1]=fe):fe=t[1];let pe=A(E.open,fe),P=n===se,me;t[2]===o?me=t[3]:(me=o!==null&&w(o),t[2]=o,t[3]=me);let ge=me,F=Ge(n,r,o,!ge,f),[_e,ve]=(0,J.useState)(zm),[ye,be]=(0,J.useState)(!1),xe;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(xe={path:null,revealRequestId:null},t[4]=xe):xe=t[4];let[Se,Ce]=(0,J.useState)(xe),we=(0,J.useRef)(null),De;t[5]===o?De=t[6]:(De=o?hm(o):!1,t[5]=o,t[6]=De);let Oe=De,ke=Oe&&Se.path===o&&(j===null||Se.revealRequestId===M),Ae;t[7]===o?Ae=t[8]:(Ae=o!==null&&l()&&Fe(o),t[7]=o,t[8]=Ae);let je=Ae,Ne;t[9]!==r||t[10]!==f||t[11]!==o?(Ne=f??(o?b(o,r):null),t[9]=r,t[10]=f,t[11]=o,t[12]=Ne):Ne=t[12];let Pe=Ne,Ie;t[13]!==Pe||t[14]!==P||t[15]!==g.threadId||t[16]!==a?(Ie=Pe===null?null:C({filePath:Pe,threadId:g.threadId,workspaceRoot:a,allowLocalFiles:P}),t[13]=Pe,t[14]=P,t[15]=g.threadId,t[16]=a,t[17]=Ie):Ie=t[17];let Le=Ie,Re;t[18]!==r||t[19]!==m||t[20]!==i||t[21]!==o?(Re=o?mm(m?r:i,o):[],t[18]=r,t[19]=m,t[20]=i,t[21]=o,t[22]=Re):Re=t[22];let ze=Re,Ve=Tm(o,j,M),He;t[23]===Symbol.for(`react.memo_cache_sentinel`)?(He=()=>{(we.current?.querySelector(`[data-current-file-crumb='true']`))?.scrollIntoView({block:`nearest`,inline:`end`})},t[23]=He):He=t[23];let We;t[24]===o?We=t[25]:(We=[o],t[24]=o,t[25]=We),(0,J.useEffect)(He,We);let Ke;t[26]===Symbol.for(`react.memo_cache_sentinel`)?(Ke=()=>{ve(Vm)},t[26]=Ke):Ke=t[26];let Xe=Ke,Qe;t[27]!==Pe||t[28]!==P||t[29]!==de||t[30]!==ce||t[31]!==pe||t[32]!==ie||t[33]!==g||t[34]!==a?(Qe=()=>{!Pe||!ce||(async()=>{let e=await Ye({threadRef:g,filePath:Pe,httpBaseUrl:ce,workspaceRoot:a,allowLocalFiles:P,theme:ie,createAssetUrl:de,openPreview:pe});if(e._tag===`Success`||s(e))return;let t=d(e);_.add(v({type:`error`,title:`Unable to open file in browser`,description:t instanceof Error?t.message:`An error occurred.`}))})()},t[27]=Pe,t[28]=P,t[29]=de,t[30]=ce,t[31]=pe,t[32]=ie,t[33]=g,t[34]=a,t[35]=Qe):Qe=t[35];let $e=Qe,et;t[36]!==Pe||t[37]!==P||t[38]!==D||t[39]!==S||t[40]!==r||t[41]!==n||t[42]!==F||t[43]!==Le||t[44]!==ge||t[45]!==Oe||t[46]!==m||t[47]!==T||t[48]!==Ve||t[49]!==ne||t[50]!==o||t[51]!==ke||t[52]!==ie||t[53]!==M||t[54]!==g||t[55]!==ae?(et=o&&ge&&Le?(0,Y.jsx)(Sm,{environmentId:n,resource:Le,alt:o},Pe??o):o&&F.error&&F.data===null?(0,Y.jsx)(`div`,{className:`flex min-h-0 flex-1 items-center justify-center px-6 text-center text-xs leading-relaxed text-destructive`,children:F.error}):o&&F.data===null?(0,Y.jsx)(`div`,{className:`flex min-h-0 flex-1 items-center justify-center text-muted-foreground`,children:(0,Y.jsx)(u,{className:`size-5 animate-spin`})}):o&&F.data?F.data.binary&&Pe?(0,Y.jsx)(om,{environmentId:n,keybindings:T,availableEditors:D,absolutePath:Pe,name:o.slice(o.lastIndexOf(`/`)+1),byteLength:F.data.byteLength,canRevealInFileManager:P&&p()}):Oe&&ke?(0,Y.jsx)(Rm,{environmentId:n,cwd:r,relativePath:o,threadRef:g,contents:F.data.contents,readOnly:m,onPendingChange:ne}):F.data.truncated||m?(0,Y.jsx)(Ze,{className:`file-preview-virtualizer min-h-0 flex-1 overflow-auto`,config:{overscrollSize:600,intersectionObserverMargin:1200},children:(0,Y.jsx)(Jl,{file:{name:o,contents:F.data.contents,cacheKey:pm(r,o,F.data.contents)},options:{disableFileHeader:!0,overflow:ae?`wrap`:`scroll`,theme:Me(ie),themeType:ie,unsafeCSS:xm,onPostRender:Ve},className:`min-h-full`})},`${o}:${ie}:${F.data.byteLength}`):(0,Y.jsx)(Am,{environmentId:n,cwd:r,relativePath:o,composerDraftTarget:S,contents:F.data.contents,resolvedTheme:ie,revealRequestId:M,wordWrap:ae,onPostRender:Ve,onPendingChange:ne},`${o}:${ie}`):null,t[36]=Pe,t[37]=P,t[38]=D,t[39]=S,t[40]=r,t[41]=n,t[42]=F,t[43]=Le,t[44]=ge,t[45]=Oe,t[46]=m,t[47]=T,t[48]=Ve,t[49]=ne,t[50]=o,t[51]=ke,t[52]=ie,t[53]=M,t[54]=g,t[55]=ae,t[56]=et):et=t[56];let tt=et,nt;t[57]!==Pe||t[58]!==D||t[59]!==ze||t[60]!==je||t[61]!==n||t[62]!==ye||t[63]!==_e||t[64]!==$e||t[65]!==Oe||t[66]!==T||t[67]!==se||t[68]!==i||t[69]!==o||t[70]!==ke||t[71]!==M?(nt=o?(0,Y.jsxs)(`div`,{className:`surface-subheader gap-2 px-3`,"data-surface-subheader":!0,children:[(0,Y.jsx)(oe,{ref:we,hideScrollbars:!0,scrollFade:!0,className:`min-w-0 flex-1 rounded-none`,"data-file-breadcrumbs":!0,children:(0,Y.jsx)(`div`,{className:`flex h-full w-max min-w-full items-center text-xs`,children:ze.map((e,t)=>(0,Y.jsxs)(`div`,{className:`flex min-w-0 shrink-0 items-center`,"data-current-file-crumb":e.kind===`file`,children:[t>0?(0,Y.jsx)(h,{className:`mx-1 size-3.5 shrink-0 text-muted-foreground/60`}):null,(0,Y.jsx)(`span`,{className:c(`max-w-40 truncate`,e.kind===`file`?`font-medium text-foreground`:`text-muted-foreground`),title:e.path||i,children:e.label})]},e.path||`project`))})}),Pe&&n===se?(0,Y.jsx)(Ue,{environmentId:n,keybindings:T,availableEditors:D,openInCwd:Pe,compact:!0,enableShortcut:!1}):null,Oe?(0,Y.jsxs)(x,{children:[(0,Y.jsx)(O,{render:(0,Y.jsx)(Te,{className:`shrink-0`,pressed:ke,onPressedChange:e=>{Ce({path:e?o:null,revealRequestId:e?M:null})},"aria-label":ke?`Show markdown source`:`Show rendered markdown`,variant:`ghost`,size:`sm`,children:ke?(0,Y.jsx)(Be,{className:`size-3.5`}):(0,Y.jsx)(Je,{className:`size-3.5`})})}),(0,Y.jsx)(y,{children:ke?`Show markdown source`:`Show rendered markdown`})]}):null,je?(0,Y.jsxs)(x,{children:[(0,Y.jsx)(O,{render:(0,Y.jsx)(Te,{className:`shrink-0`,pressed:!1,onPressedChange:$e,"aria-label":`Open file in preview browser`,variant:`ghost`,size:`sm`,children:(0,Y.jsx)(qe,{className:`size-3.5`})})}),(0,Y.jsx)(y,{children:`Open file in preview browser`})]}):null,(0,Y.jsxs)(x,{children:[(0,Y.jsx)(O,{render:(0,Y.jsx)(Te,{className:`shrink-0`,pressed:ye,onPressedChange:be,"aria-label":ye?`Collapse file preview`:`Expand file preview`,variant:`ghost`,size:`sm`,children:ye?(0,Y.jsx)(he,{className:`size-3.5`}):(0,Y.jsx)(I,{className:`size-3.5`})})}),(0,Y.jsx)(y,{children:ye?`Collapse file preview`:`Expand file preview`})]}),(0,Y.jsxs)(x,{children:[(0,Y.jsx)(O,{render:(0,Y.jsx)(Te,{className:`shrink-0`,pressed:_e,onPressedChange:Xe,"aria-label":_e?`Hide file explorer`:`Show file explorer`,variant:`ghost`,size:`sm`,children:(0,Y.jsx)(lt,{className:`size-3.5`})})}),(0,Y.jsx)(y,{children:_e?`Hide file explorer`:`Show file explorer`})]})]}):null,t[57]=Pe,t[58]=D,t[59]=ze,t[60]=je,t[61]=n,t[62]=ye,t[63]=_e,t[64]=$e,t[65]=Oe,t[66]=T,t[67]=se,t[68]=i,t[69]=o,t[70]=ke,t[71]=M,t[72]=nt):nt=t[72];let rt;t[73]!==F||t[74]!==o?(rt=o&&F.data?.truncated?(0,Y.jsxs)(`div`,{className:`shrink-0 border-b border-amber-500/20 bg-amber-500/8 px-3 py-1.5 text-[11px] text-amber-700 dark:text-amber-300`,children:[`Preview limited to the first 1 MB of a `,F.data.byteLength.toLocaleString(),` byte file.`]}):null,t[73]=F,t[74]=o,t[75]=rt):rt=t[75];let it=o?`flex`:`hidden`,at;t[76]===it?at=t[77]:(at=c(`min-w-0 flex-1 flex-col overflow-hidden`,it),t[76]=it,t[77]=at);let ot;t[78]!==ye||t[79]!==tt?(ot=ye?(0,Y.jsx)(`div`,{className:`flex min-h-0 flex-1 items-center justify-center px-6 text-center text-xs text-muted-foreground`,children:`Shown in the expanded view.`}):tt,t[78]=ye,t[79]=tt,t[80]=ot):ot=t[80];let st;t[81]!==at||t[82]!==ot?(st=(0,Y.jsx)(`div`,{className:at,children:ot}),t[81]=at,t[82]=ot,t[83]=st):st=t[83];let L;t[84]!==r||t[85]!==n||t[86]!==_e||t[87]!==N||t[88]!==i||t[89]!==o?(L=_e||o===null?(0,Y.jsx)(`aside`,{className:c(`flex min-h-0 shrink-0 bg-background`,o?`w-[min(22rem,46%)] min-w-64 border-l border-border/60`:`min-w-0 flex-1`),children:(0,Y.jsx)(em,{environmentId:n,cwd:r,projectName:i,onOpenFile:N},`${n}:${r}`)}):null,t[84]=r,t[85]=n,t[86]=_e,t[87]=N,t[88]=i,t[89]=o,t[90]=L):L=t[90];let R;t[91]!==st||t[92]!==L?(R=(0,Y.jsxs)(`div`,{className:`flex min-h-0 flex-1 overflow-hidden`,children:[st,L]}),t[91]=st,t[92]=L,t[93]=R):R=t[93];let ct=ye&&o!==null,ut=o??``,dt;t[94]!==tt||t[95]!==ct||t[96]!==ut?(dt=(0,Y.jsx)(tm,{open:ct,title:ut,onOpenChange:be,children:tt}),t[94]=tt,t[95]=ct,t[96]=ut,t[97]=dt):dt=t[97];let ft;return t[98]!==nt||t[99]!==rt||t[100]!==R||t[101]!==dt?(ft=(0,Y.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col overflow-hidden bg-background`,children:[nt,rt,R,dt]}),t[98]=nt,t[99]=rt,t[100]=R,t[101]=dt,t[102]=ft):ft=t[102],ft}function Vm(e){let t=!e;try{T(vm,t,o)}catch(e){console.error(e)}return t}function Hm(e){return e.wordWrap}export{Bm as default};
2230
+ //# sourceMappingURL=FilePreviewPanel-BfIDlE3r.js.map