requireganizer 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (401) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +54 -0
  3. package/package.json +17 -0
  4. package/requireganizer.mjs +152025 -0
  5. package/ui/404.html +1 -0
  6. package/ui/__next.__PAGE__.txt +10 -0
  7. package/ui/__next._full.txt +21 -0
  8. package/ui/__next._head.txt +6 -0
  9. package/ui/__next._index.txt +7 -0
  10. package/ui/__next._tree.txt +3 -0
  11. package/ui/_next/static/VBQlY4EUbWBsO6CE9anwE/_buildManifest.js +11 -0
  12. package/ui/_next/static/VBQlY4EUbWBsO6CE9anwE/_clientMiddlewareManifest.json +1 -0
  13. package/ui/_next/static/VBQlY4EUbWBsO6CE9anwE/_ssgManifest.js +1 -0
  14. package/ui/_next/static/chunks/0014070cb0631b77.js +1 -0
  15. package/ui/_next/static/chunks/0273fd3d4c8e219c.js +1 -0
  16. package/ui/_next/static/chunks/03ab2de6efdbc4aa.js +1 -0
  17. package/ui/_next/static/chunks/0558bd5d09feadb8.js +1 -0
  18. package/ui/_next/static/chunks/05b818bc1aa6f72c.js +1 -0
  19. package/ui/_next/static/chunks/066eb982ca6e512d.js +1 -0
  20. package/ui/_next/static/chunks/072e3a806d753825.js +1 -0
  21. package/ui/_next/static/chunks/07d75d7ff25f03c0.js +1 -0
  22. package/ui/_next/static/chunks/08112c7fa94eb42c.js +1 -0
  23. package/ui/_next/static/chunks/08f209e7c74fe6ab.js +1 -0
  24. package/ui/_next/static/chunks/09f4327a544d9194.js +1 -0
  25. package/ui/_next/static/chunks/0ccbbd924347d1ac.js +1 -0
  26. package/ui/_next/static/chunks/0dd97bf1fe2c140e.js +1 -0
  27. package/ui/_next/static/chunks/0e9ecd1480ef3a36.js +1 -0
  28. package/ui/_next/static/chunks/10608482a33ae8ae.js +1 -0
  29. package/ui/_next/static/chunks/10713cf476e8c49b.js +133 -0
  30. package/ui/_next/static/chunks/10d963b6682c0a90.js +1 -0
  31. package/ui/_next/static/chunks/162707d9a923245a.js +1 -0
  32. package/ui/_next/static/chunks/1727303de4b3405c.css +1 -0
  33. package/ui/_next/static/chunks/173081051f9066da.js +1 -0
  34. package/ui/_next/static/chunks/174cd1b9864e46c7.js +1 -0
  35. package/ui/_next/static/chunks/17545d8ecf77c53e.js +1 -0
  36. package/ui/_next/static/chunks/182ba81c7829962b.js +1 -0
  37. package/ui/_next/static/chunks/18895a3b80aee38c.js +1 -0
  38. package/ui/_next/static/chunks/188a2692436fabb1.js +7 -0
  39. package/ui/_next/static/chunks/18c8ea6b5d02b950.js +1 -0
  40. package/ui/_next/static/chunks/1938ef81859b8df8.js +1 -0
  41. package/ui/_next/static/chunks/197fb304173c3373.js +1 -0
  42. package/ui/_next/static/chunks/1a8351277630d429.js +1 -0
  43. package/ui/_next/static/chunks/1a982b37113277c1.js +55 -0
  44. package/ui/_next/static/chunks/1b18900e73d9912d.js +1 -0
  45. package/ui/_next/static/chunks/1b36e0e92032147a.js +137 -0
  46. package/ui/_next/static/chunks/1b5ca07c630ff364.js +1 -0
  47. package/ui/_next/static/chunks/1c941300aea093df.js +1 -0
  48. package/ui/_next/static/chunks/1ca0e6f95fed329f.js +1 -0
  49. package/ui/_next/static/chunks/1d7a42181cc4c34a.js +1 -0
  50. package/ui/_next/static/chunks/1dd2c7c0673ae3de.js +1 -0
  51. package/ui/_next/static/chunks/1e706068c6a09af1.js +1 -0
  52. package/ui/_next/static/chunks/1ec8e60a36061d8b.js +1 -0
  53. package/ui/_next/static/chunks/1f2cd9503cac6259.js +1 -0
  54. package/ui/_next/static/chunks/1f3b27cd15019e7d.js +1 -0
  55. package/ui/_next/static/chunks/209cd522dcb9aa5b.js +1 -0
  56. package/ui/_next/static/chunks/2186df519154b930.js +1 -0
  57. package/ui/_next/static/chunks/21abfcfd2e420eab.js +55 -0
  58. package/ui/_next/static/chunks/21b947ad3403c91c.js +1 -0
  59. package/ui/_next/static/chunks/21c3681ef2797475.js +1 -0
  60. package/ui/_next/static/chunks/22a02a1accfd6551.js +1 -0
  61. package/ui/_next/static/chunks/23ef8f977d45723f.js +1 -0
  62. package/ui/_next/static/chunks/26102878ed8f9073.js +1 -0
  63. package/ui/_next/static/chunks/27ea02083a3f73e0.js +1 -0
  64. package/ui/_next/static/chunks/28f83b5d69562dad.js +1 -0
  65. package/ui/_next/static/chunks/29de4c300420edd0.js +1 -0
  66. package/ui/_next/static/chunks/2d8048318b24ef28.js +1 -0
  67. package/ui/_next/static/chunks/2d89c000710d3fb5.js +1 -0
  68. package/ui/_next/static/chunks/2db93767a471a408.js +1 -0
  69. package/ui/_next/static/chunks/2e1966159ab35c0c.js +1 -0
  70. package/ui/_next/static/chunks/2e27bb5e35d4cca3.js +1 -0
  71. package/ui/_next/static/chunks/2e71cf0db069bb19.js +1 -0
  72. package/ui/_next/static/chunks/2e7bb7ab81b87a05.js +1 -0
  73. package/ui/_next/static/chunks/2f13869dd4c3e7b1.js +1 -0
  74. package/ui/_next/static/chunks/2f2a417ae92100eb.js +1 -0
  75. package/ui/_next/static/chunks/2f7a202775825c99.js +1 -0
  76. package/ui/_next/static/chunks/2fcf4a41ea62ab8a.js +1 -0
  77. package/ui/_next/static/chunks/2ff8c284e26ffb47.js +1 -0
  78. package/ui/_next/static/chunks/30c1629978206ffa.js +1 -0
  79. package/ui/_next/static/chunks/31126865845cc856.js +1 -0
  80. package/ui/_next/static/chunks/32574cc30749143a.js +1 -0
  81. package/ui/_next/static/chunks/3578dbf8d95b24d3.js +1 -0
  82. package/ui/_next/static/chunks/36ea33578c62f244.js +1 -0
  83. package/ui/_next/static/chunks/37b07746be292e74.js +1 -0
  84. package/ui/_next/static/chunks/37edc1640c3e040b.js +1 -0
  85. package/ui/_next/static/chunks/3811405130680ed1.js +1 -0
  86. package/ui/_next/static/chunks/38615c4374721ef6.js +1 -0
  87. package/ui/_next/static/chunks/38bfe001a4c6ca56.js +1 -0
  88. package/ui/_next/static/chunks/3a17f7db5be4334c.js +1 -0
  89. package/ui/_next/static/chunks/3a358bb6b0610d81.js +1 -0
  90. package/ui/_next/static/chunks/3a59c7bcf470e6f9.js +1 -0
  91. package/ui/_next/static/chunks/3b6cd3ccc23082c4.js +1 -0
  92. package/ui/_next/static/chunks/3b95ce1426ae64e0.js +1 -0
  93. package/ui/_next/static/chunks/3baec8bef75f945a.js +1 -0
  94. package/ui/_next/static/chunks/3bd74b67ba8b61af.js +1 -0
  95. package/ui/_next/static/chunks/3d514b42a810b8e7.js +1 -0
  96. package/ui/_next/static/chunks/3d5d3a265354ed92.css +1 -0
  97. package/ui/_next/static/chunks/3edf79569215f84b.js +1 -0
  98. package/ui/_next/static/chunks/3ef528b6184171be.js +1 -0
  99. package/ui/_next/static/chunks/3f3b1808254800a5.js +1 -0
  100. package/ui/_next/static/chunks/3ff7052ed88093e0.js +1 -0
  101. package/ui/_next/static/chunks/403a2dcb602cafaf.js +1 -0
  102. package/ui/_next/static/chunks/4050d7c9477acb3d.js +1 -0
  103. package/ui/_next/static/chunks/418b81689d8425f3.js +1 -0
  104. package/ui/_next/static/chunks/43df803986141791.js +65 -0
  105. package/ui/_next/static/chunks/43f9b47d1290b7ad.js +1 -0
  106. package/ui/_next/static/chunks/442b4e9c4ab9819e.js +1 -0
  107. package/ui/_next/static/chunks/44fce89560b0aa3b.js +1 -0
  108. package/ui/_next/static/chunks/46b8fe6b662aeefc.js +1 -0
  109. package/ui/_next/static/chunks/471042cef60901f2.js +1 -0
  110. package/ui/_next/static/chunks/47f86af0982e84ad.js +1 -0
  111. package/ui/_next/static/chunks/4849e31e8bae8046.js +1 -0
  112. package/ui/_next/static/chunks/492d267e61290059.js +1 -0
  113. package/ui/_next/static/chunks/4987e4c4ff7e6f4e.js +1 -0
  114. package/ui/_next/static/chunks/4a15097c31ce2e19.js +1 -0
  115. package/ui/_next/static/chunks/4a91c4828f8d3473.js +1 -0
  116. package/ui/_next/static/chunks/4b20182cd851dc14.js +1 -0
  117. package/ui/_next/static/chunks/4c8863f53954851d.js +1 -0
  118. package/ui/_next/static/chunks/4cf676bb538ccb0b.js +1 -0
  119. package/ui/_next/static/chunks/4dd38dfc6e5f6263.js +5 -0
  120. package/ui/_next/static/chunks/4e579cb332f87935.js +1 -0
  121. package/ui/_next/static/chunks/4eba3a1ae022187b.js +1 -0
  122. package/ui/_next/static/chunks/4edaafdc26c8efb2.js +1 -0
  123. package/ui/_next/static/chunks/4f08d14547dcb0f1.js +1 -0
  124. package/ui/_next/static/chunks/4f9c75c5552e934f.js +1 -0
  125. package/ui/_next/static/chunks/4fbb49aab7c93f4a.js +1 -0
  126. package/ui/_next/static/chunks/4fc1f7af7029a61a.js +1 -0
  127. package/ui/_next/static/chunks/4fd84c6b70e84ddc.js +1 -0
  128. package/ui/_next/static/chunks/505e43439d425514.js +1 -0
  129. package/ui/_next/static/chunks/50daec6407eede06.js +1 -0
  130. package/ui/_next/static/chunks/52a2dc24655bf053.js +1 -0
  131. package/ui/_next/static/chunks/54d7ebfd5a121dfc.js +1 -0
  132. package/ui/_next/static/chunks/5526bdc99e4a99f2.js +1 -0
  133. package/ui/_next/static/chunks/56fe0833321df747.js +1 -0
  134. package/ui/_next/static/chunks/57fc91ff672c65fd.js +1 -0
  135. package/ui/_next/static/chunks/5826e335bf3c7c72.js +1 -0
  136. package/ui/_next/static/chunks/588202ba8bbb2406.js +1 -0
  137. package/ui/_next/static/chunks/59a737ddedcb93af.js +1 -0
  138. package/ui/_next/static/chunks/5a841b6ebae3164a.js +1 -0
  139. package/ui/_next/static/chunks/5b47077149fdf0f0.js +28 -0
  140. package/ui/_next/static/chunks/5c3a6dbb69f43605.js +1 -0
  141. package/ui/_next/static/chunks/5eb9c4aa10acda02.js +1 -0
  142. package/ui/_next/static/chunks/5f66e37358860250.js +1 -0
  143. package/ui/_next/static/chunks/5f7eea23dbb63b72.js +1 -0
  144. package/ui/_next/static/chunks/5f93c191a70a3ac3.js +1 -0
  145. package/ui/_next/static/chunks/5fb4b9e09c80af10.js +1 -0
  146. package/ui/_next/static/chunks/5fd3ffc95afd56b0.js +1 -0
  147. package/ui/_next/static/chunks/5fd6615f9d7e1e80.js +1 -0
  148. package/ui/_next/static/chunks/600b79a4004c7916.js +1 -0
  149. package/ui/_next/static/chunks/60a7095ed0351254.js +1 -0
  150. package/ui/_next/static/chunks/60bca29dc60b36bc.js +1 -0
  151. package/ui/_next/static/chunks/61a0f06a5cabbdeb.js +1 -0
  152. package/ui/_next/static/chunks/6261fcfcd915c647.js +1 -0
  153. package/ui/_next/static/chunks/627489377b5d43c7.js +1 -0
  154. package/ui/_next/static/chunks/636b185341fcac1f.js +1 -0
  155. package/ui/_next/static/chunks/63884b27f9c2f212.js +1 -0
  156. package/ui/_next/static/chunks/644b44f1b1aa0177.js +1 -0
  157. package/ui/_next/static/chunks/64e33d11e71fbc04.js +1 -0
  158. package/ui/_next/static/chunks/658f73c8894ab262.js +1 -0
  159. package/ui/_next/static/chunks/659a14fe7e02911f.js +1 -0
  160. package/ui/_next/static/chunks/664293c55314123e.js +1 -0
  161. package/ui/_next/static/chunks/6700f8b9b8eb4aa9.js +1 -0
  162. package/ui/_next/static/chunks/6796fdb6b0ee5cde.js +1 -0
  163. package/ui/_next/static/chunks/69111fd77d12dc29.js +1 -0
  164. package/ui/_next/static/chunks/69133f39c0a744c4.js +1 -0
  165. package/ui/_next/static/chunks/6a378843d2f08ae9.js +52 -0
  166. package/ui/_next/static/chunks/6aa3e7a7c18b3205.js +1 -0
  167. package/ui/_next/static/chunks/6b49117630eaf620.js +1 -0
  168. package/ui/_next/static/chunks/6be152c783b850b2.js +1 -0
  169. package/ui/_next/static/chunks/6c022bf00a2aaf9d.js +1 -0
  170. package/ui/_next/static/chunks/6d4c33f5c4fa695c.js +1 -0
  171. package/ui/_next/static/chunks/6d8b530af6fa35f4.js +1 -0
  172. package/ui/_next/static/chunks/6e4223173e93cc18.js +1 -0
  173. package/ui/_next/static/chunks/6efeee0cc097ff42.js +1 -0
  174. package/ui/_next/static/chunks/6fb1ab4f7969299e.js +1 -0
  175. package/ui/_next/static/chunks/6fd64e20c07002b9.js +1 -0
  176. package/ui/_next/static/chunks/70a92d4c93b26309.js +1 -0
  177. package/ui/_next/static/chunks/71c49979aaf08454.js +1 -0
  178. package/ui/_next/static/chunks/74dbb7c8b8988790.js +1 -0
  179. package/ui/_next/static/chunks/74e5a8b58985312a.js +1 -0
  180. package/ui/_next/static/chunks/7567f6d1c2f51784.js +1 -0
  181. package/ui/_next/static/chunks/78668101d693812c.js +5 -0
  182. package/ui/_next/static/chunks/7aaaaedce5581ce5.js +1 -0
  183. package/ui/_next/static/chunks/7ab5fb8d1faeac67.js +1 -0
  184. package/ui/_next/static/chunks/7ac8beff32237502.js +1 -0
  185. package/ui/_next/static/chunks/7b9a038cc82ea2f1.js +1 -0
  186. package/ui/_next/static/chunks/7bc115b44bb2585a.js +1 -0
  187. package/ui/_next/static/chunks/7e6a73f6941ae3df.js +1 -0
  188. package/ui/_next/static/chunks/7e6e757cccc28a1d.js +1 -0
  189. package/ui/_next/static/chunks/7f6140c23bec3968.js +1 -0
  190. package/ui/_next/static/chunks/7fcf7d492c1456b1.js +1 -0
  191. package/ui/_next/static/chunks/80ccbbbf0b38d720.js +1 -0
  192. package/ui/_next/static/chunks/80e1e51fbf71f98a.js +1 -0
  193. package/ui/_next/static/chunks/812b4c885f386d1d.js +1 -0
  194. package/ui/_next/static/chunks/842d9b57178f4c40.js +1 -0
  195. package/ui/_next/static/chunks/842e7bb55d50e315.js +1 -0
  196. package/ui/_next/static/chunks/84d8fa72ac972aad.js +1 -0
  197. package/ui/_next/static/chunks/85bb5c9b153f8a4a.js +1 -0
  198. package/ui/_next/static/chunks/864b7813f1bc90ff.js +1 -0
  199. package/ui/_next/static/chunks/8906427acb90fedf.js +1 -0
  200. package/ui/_next/static/chunks/8988fd09cdad3b68.js +1 -0
  201. package/ui/_next/static/chunks/89c8110cc986d11b.js +1 -0
  202. package/ui/_next/static/chunks/8a95ad995bc58eea.js +1 -0
  203. package/ui/_next/static/chunks/8b89ac9e985653cd.js +1 -0
  204. package/ui/_next/static/chunks/8bab5b6665047c5d.js +1 -0
  205. package/ui/_next/static/chunks/8c94b742fe5df7d0.js +1 -0
  206. package/ui/_next/static/chunks/8e3c324a76f7d829.js +1 -0
  207. package/ui/_next/static/chunks/8e3fa11bf9967429.js +1 -0
  208. package/ui/_next/static/chunks/8e78cb9d801e2430.js +1 -0
  209. package/ui/_next/static/chunks/8f050677e6726e70.js +1 -0
  210. package/ui/_next/static/chunks/8f50ffbb125c68fb.js +1 -0
  211. package/ui/_next/static/chunks/8f9f15024ca0e41a.js +1 -0
  212. package/ui/_next/static/chunks/9059f9b1a668df1a.js +1 -0
  213. package/ui/_next/static/chunks/90d216ff22174166.js +1 -0
  214. package/ui/_next/static/chunks/92a7da6627399650.js +1 -0
  215. package/ui/_next/static/chunks/937edf4cb082abc5.js +1 -0
  216. package/ui/_next/static/chunks/93ef1dbdb3ba16c5.js +1 -0
  217. package/ui/_next/static/chunks/958beead188ae41a.js +1 -0
  218. package/ui/_next/static/chunks/96d83f4a55023dd8.js +1 -0
  219. package/ui/_next/static/chunks/96e280e710d2ee61.js +1 -0
  220. package/ui/_next/static/chunks/972e519334889d19.js +1 -0
  221. package/ui/_next/static/chunks/977fc5707cf8d368.js +1 -0
  222. package/ui/_next/static/chunks/978c26324993b6a7.js +1 -0
  223. package/ui/_next/static/chunks/994f69625a2ae919.js +1 -0
  224. package/ui/_next/static/chunks/99ae20c2d3af56d5.js +1 -0
  225. package/ui/_next/static/chunks/9a683bf7e8671c0f.js +55 -0
  226. package/ui/_next/static/chunks/9ab89afc5d66ce4f.js +1 -0
  227. package/ui/_next/static/chunks/9b5686f0fa9c602c.js +1 -0
  228. package/ui/_next/static/chunks/9b920e84122a52d3.js +1 -0
  229. package/ui/_next/static/chunks/9bf8a609afce25d4.js +1 -0
  230. package/ui/_next/static/chunks/9c08a1e18feca912.js +1 -0
  231. package/ui/_next/static/chunks/9c33d7d923fbf424.js +1 -0
  232. package/ui/_next/static/chunks/9d96323282f933e8.js +1 -0
  233. package/ui/_next/static/chunks/9de6e52c39b92876.js +1 -0
  234. package/ui/_next/static/chunks/9e5872f848c935be.js +1 -0
  235. package/ui/_next/static/chunks/9e6b3800f39494e8.js +1 -0
  236. package/ui/_next/static/chunks/9f89db821f05dcc9.js +1 -0
  237. package/ui/_next/static/chunks/a1374e26772447a8.js +1 -0
  238. package/ui/_next/static/chunks/a1bceb1e216a59a1.js +1 -0
  239. package/ui/_next/static/chunks/a286d941cc51f0c1.js +1 -0
  240. package/ui/_next/static/chunks/a3c34be3a08a6ea0.js +1 -0
  241. package/ui/_next/static/chunks/a4304fd1e11a20e8.js +1 -0
  242. package/ui/_next/static/chunks/a434a15aa83fc90a.js +1 -0
  243. package/ui/_next/static/chunks/a46a4a9b500dddae.js +1 -0
  244. package/ui/_next/static/chunks/a47391bd158b64c2.js +2 -0
  245. package/ui/_next/static/chunks/a6dad97d9634a72d.js +1 -0
  246. package/ui/_next/static/chunks/a6dad97d9634a72d.js.map +1 -0
  247. package/ui/_next/static/chunks/a846efb087d55e8e.js +1 -0
  248. package/ui/_next/static/chunks/a87a442453c18035.js +1 -0
  249. package/ui/_next/static/chunks/a9d8d211d49a9193.js +1 -0
  250. package/ui/_next/static/chunks/aa0411443b81e87d.js +11 -0
  251. package/ui/_next/static/chunks/aa25d126ca6a36a6.js +1 -0
  252. package/ui/_next/static/chunks/aadb9238cd7b82ad.js +1 -0
  253. package/ui/_next/static/chunks/ab90fe64ec53bcb7.js +1 -0
  254. package/ui/_next/static/chunks/ac0cd38d2c0ac86d.js +6 -0
  255. package/ui/_next/static/chunks/ac1156c657b16c77.js +1 -0
  256. package/ui/_next/static/chunks/ae39eaa0c5c6d23b.js +1 -0
  257. package/ui/_next/static/chunks/aea1190ed2fbe53f.js +1 -0
  258. package/ui/_next/static/chunks/afa6d60b8938a592.js +1 -0
  259. package/ui/_next/static/chunks/b0916906974527d3.js +1 -0
  260. package/ui/_next/static/chunks/b24be7a7b5e50303.js +1 -0
  261. package/ui/_next/static/chunks/b32be1a883f8d3f3.js +1 -0
  262. package/ui/_next/static/chunks/b37b52aef95c0be7.js +1 -0
  263. package/ui/_next/static/chunks/b38e4152f15a6123.js +1 -0
  264. package/ui/_next/static/chunks/b47ed73d5184750b.js +1 -0
  265. package/ui/_next/static/chunks/b4999365adaa7d16.js +1 -0
  266. package/ui/_next/static/chunks/b5e0a1cf3a2a0407.js +1 -0
  267. package/ui/_next/static/chunks/b5e35d43ddd54bae.js +1 -0
  268. package/ui/_next/static/chunks/b68086cd9d545bdd.js +1 -0
  269. package/ui/_next/static/chunks/b7a570325051fe57.js +4 -0
  270. package/ui/_next/static/chunks/b81f5d043fd987b0.js +1 -0
  271. package/ui/_next/static/chunks/b95efd1fbec110c4.js +1 -0
  272. package/ui/_next/static/chunks/ba79cf54cc9ad312.js +1 -0
  273. package/ui/_next/static/chunks/bb1eb5d7598c3f39.js +1 -0
  274. package/ui/_next/static/chunks/bb2a4badbc22bfda.js +1 -0
  275. package/ui/_next/static/chunks/bb7093391d9f2063.js +1 -0
  276. package/ui/_next/static/chunks/bc52a007e9e95889.js +1 -0
  277. package/ui/_next/static/chunks/bc7b17e9cc2cbab2.js +1 -0
  278. package/ui/_next/static/chunks/bc9d134c09979a26.js +1 -0
  279. package/ui/_next/static/chunks/bc9ff7b7a45bda23.js +1 -0
  280. package/ui/_next/static/chunks/bd0c8f0af53ddae4.js +1 -0
  281. package/ui/_next/static/chunks/bee3eada9af5ad3a.js +1 -0
  282. package/ui/_next/static/chunks/bef0507fdb487e7f.js +1 -0
  283. package/ui/_next/static/chunks/bf63d9c350c5d7bc.js +1 -0
  284. package/ui/_next/static/chunks/bfcac0f49616b082.js +1 -0
  285. package/ui/_next/static/chunks/c1e26552ab96ae37.js +1 -0
  286. package/ui/_next/static/chunks/c218da349b75062b.js +1 -0
  287. package/ui/_next/static/chunks/c2a9928cbaf4e424.js +1 -0
  288. package/ui/_next/static/chunks/c3241a7df399365d.js +1 -0
  289. package/ui/_next/static/chunks/c3412528c1e42b94.js +1 -0
  290. package/ui/_next/static/chunks/c57ef4711ea5a725.js +1 -0
  291. package/ui/_next/static/chunks/c7c905fbd5be3f71.js +1 -0
  292. package/ui/_next/static/chunks/c7ea2b96c92d0575.js +1 -0
  293. package/ui/_next/static/chunks/c8bf078f972f8e5b.js +1 -0
  294. package/ui/_next/static/chunks/c8f34f1f751f99c7.js +8 -0
  295. package/ui/_next/static/chunks/c9494e781c410ef9.js +1 -0
  296. package/ui/_next/static/chunks/cb08795453879abf.js +1 -0
  297. package/ui/_next/static/chunks/cb4226d4c48cecbb.js +1 -0
  298. package/ui/_next/static/chunks/cbe7f5e1aa0d9e04.js +1 -0
  299. package/ui/_next/static/chunks/cc264156cb36780d.js +1 -0
  300. package/ui/_next/static/chunks/ccc1466778a8c17a.js +1 -0
  301. package/ui/_next/static/chunks/cd0d15eba3e39813.js +1 -0
  302. package/ui/_next/static/chunks/cd0d8e1d5886ed24.js +1 -0
  303. package/ui/_next/static/chunks/cd4a82b41d794e72.js +1 -0
  304. package/ui/_next/static/chunks/ce3bfb5db50a5b3f.js +1 -0
  305. package/ui/_next/static/chunks/ceccb1f813025764.js +1 -0
  306. package/ui/_next/static/chunks/cf83de22eedfe3d9.js +1 -0
  307. package/ui/_next/static/chunks/d02405678a129049.js +1 -0
  308. package/ui/_next/static/chunks/d05333f3e283ec1d.js +1 -0
  309. package/ui/_next/static/chunks/d244a8da2623a98c.js +1 -0
  310. package/ui/_next/static/chunks/d27f0242718f163a.js +1 -0
  311. package/ui/_next/static/chunks/d53634a2b24c90a9.js +1 -0
  312. package/ui/_next/static/chunks/d5f0fa5d027d28a5.js +1 -0
  313. package/ui/_next/static/chunks/d619795403d40efb.js +1 -0
  314. package/ui/_next/static/chunks/d931c788bbb968d3.js +1 -0
  315. package/ui/_next/static/chunks/db5f020f4bc59b45.js +1 -0
  316. package/ui/_next/static/chunks/dbabc85fe448fa78.js +1 -0
  317. package/ui/_next/static/chunks/dbe21c0eff70cb05.js +1 -0
  318. package/ui/_next/static/chunks/dbe344b2b2af84e9.js +1 -0
  319. package/ui/_next/static/chunks/dcfcb52cd1a04515.js +1 -0
  320. package/ui/_next/static/chunks/dd3bcf6eef567312.js +1 -0
  321. package/ui/_next/static/chunks/dd4f504700408db2.js +1 -0
  322. package/ui/_next/static/chunks/dd51c76759bcf21c.js +1 -0
  323. package/ui/_next/static/chunks/ddc6316e063251d2.js +1 -0
  324. package/ui/_next/static/chunks/de2ec99a24b2bbec.js +1 -0
  325. package/ui/_next/static/chunks/de3ecf2e547b25bd.js +1 -0
  326. package/ui/_next/static/chunks/df0f689ac0ff4ae7.js +1 -0
  327. package/ui/_next/static/chunks/df951cf632256217.js +1 -0
  328. package/ui/_next/static/chunks/dfdc1b3d1eaffe6f.js +1 -0
  329. package/ui/_next/static/chunks/e14d70725c9442ba.js +1 -0
  330. package/ui/_next/static/chunks/e15624af5ac09cc9.js +1 -0
  331. package/ui/_next/static/chunks/e1571aa82097b49e.js +1 -0
  332. package/ui/_next/static/chunks/e243ccb397f82577.js +1 -0
  333. package/ui/_next/static/chunks/e348c123ac69ee40.js +1 -0
  334. package/ui/_next/static/chunks/e3f40438bac2a3df.js +1 -0
  335. package/ui/_next/static/chunks/e495340a7d63bf1b.js +1 -0
  336. package/ui/_next/static/chunks/e76838a76f6e123e.js +1 -0
  337. package/ui/_next/static/chunks/e7ff40ad98ae4eab.js +1 -0
  338. package/ui/_next/static/chunks/e878a3169ff1daa1.js +1 -0
  339. package/ui/_next/static/chunks/e95963060b58f8aa.js +1 -0
  340. package/ui/_next/static/chunks/e9b0d9a459d8927b.js +1 -0
  341. package/ui/_next/static/chunks/ebb4d866fd04f914.js +1 -0
  342. package/ui/_next/static/chunks/eda323f57ca34435.js +1 -0
  343. package/ui/_next/static/chunks/ee61edf626af7942.js +1 -0
  344. package/ui/_next/static/chunks/ee97350781f2fc87.js +1 -0
  345. package/ui/_next/static/chunks/ef13748dbbd16d4d.js +1 -0
  346. package/ui/_next/static/chunks/ef5e6579b0839559.js +1 -0
  347. package/ui/_next/static/chunks/efee30c9d74657f7.js +1 -0
  348. package/ui/_next/static/chunks/f0af28c3dcd107c8.js +1 -0
  349. package/ui/_next/static/chunks/f0e50da92cebf316.js +1 -0
  350. package/ui/_next/static/chunks/f0f20f9d32c40d2c.js +1 -0
  351. package/ui/_next/static/chunks/f2665a439f5727c0.js +1 -0
  352. package/ui/_next/static/chunks/f34d394aaaca65b5.js +1 -0
  353. package/ui/_next/static/chunks/f39c35ea2c2cf70e.js +1 -0
  354. package/ui/_next/static/chunks/f53d1a7f717ab2cc.js +1 -0
  355. package/ui/_next/static/chunks/f5f6ca2e55bf1deb.js +1 -0
  356. package/ui/_next/static/chunks/f697aeac429d965e.js +1 -0
  357. package/ui/_next/static/chunks/f7c3d384fa633961.js +1 -0
  358. package/ui/_next/static/chunks/f7e07f737e662117.js +1 -0
  359. package/ui/_next/static/chunks/f8bed547f395d937.js +1 -0
  360. package/ui/_next/static/chunks/f90dc289de184b62.js +1 -0
  361. package/ui/_next/static/chunks/f9696fa741dae47d.js +1 -0
  362. package/ui/_next/static/chunks/fba73129cc4346c6.js +1 -0
  363. package/ui/_next/static/chunks/fbce118b867ca3c7.js +1 -0
  364. package/ui/_next/static/chunks/fbfabd3b1df5e918.js +1 -0
  365. package/ui/_next/static/chunks/fc97c7e8137cc9ad.js +1 -0
  366. package/ui/_next/static/chunks/fca228158fc5a5db.js +1 -0
  367. package/ui/_next/static/chunks/fd621a9ee7d135d3.js +1 -0
  368. package/ui/_next/static/chunks/fe9bedfe94a30e5b.js +1 -0
  369. package/ui/_next/static/chunks/fea28c16099ba6f0.js +1 -0
  370. package/ui/_next/static/chunks/ff93ad75aa7eb00b.js +1 -0
  371. package/ui/_next/static/chunks/ffddce4d8b1ba80a.js +1 -0
  372. package/ui/_next/static/chunks/turbopack-80f4a89b2306fae3.js +4 -0
  373. package/ui/_next/static/media/favicon.0b3bf435.ico +0 -0
  374. package/ui/_not-found/__next._full.txt +19 -0
  375. package/ui/_not-found/__next._head.txt +6 -0
  376. package/ui/_not-found/__next._index.txt +7 -0
  377. package/ui/_not-found/__next._not-found.__PAGE__.txt +9 -0
  378. package/ui/_not-found/__next._not-found.txt +4 -0
  379. package/ui/_not-found/__next._tree.txt +2 -0
  380. package/ui/_not-found.html +1 -0
  381. package/ui/_not-found.txt +19 -0
  382. package/ui/favicon.ico +0 -0
  383. package/ui/index.html +1 -0
  384. package/ui/index.txt +21 -0
  385. package/ui/project/__next._full.txt +21 -0
  386. package/ui/project/__next._head.txt +6 -0
  387. package/ui/project/__next._index.txt +7 -0
  388. package/ui/project/__next._tree.txt +3 -0
  389. package/ui/project/__next.project.__PAGE__.txt +10 -0
  390. package/ui/project/__next.project.txt +4 -0
  391. package/ui/project/code/__next._full.txt +21 -0
  392. package/ui/project/code/__next._head.txt +6 -0
  393. package/ui/project/code/__next._index.txt +7 -0
  394. package/ui/project/code/__next._tree.txt +3 -0
  395. package/ui/project/code/__next.project.code.__PAGE__.txt +10 -0
  396. package/ui/project/code/__next.project.code.txt +4 -0
  397. package/ui/project/code/__next.project.txt +4 -0
  398. package/ui/project/code.html +1 -0
  399. package/ui/project/code.txt +21 -0
  400. package/ui/project.html +1 -0
  401. package/ui/project.txt +21 -0
@@ -0,0 +1,52 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,810220,(e,t,r)=>{t.exports=e.r(616816)},238264,(e,t,r)=>{var n=e.i(893113),i=e.i(985347),o={8992:function(e){e.exports=function(e,r,n){if(e.filter)return e.filter(r,n);if(null==e||"function"!=typeof r)throw TypeError();for(var i=[],o=0;o<e.length;o++)if(t.call(e,o)){var s=e[o];r.call(n,s,o,e)&&i.push(s)}return i};var t=Object.prototype.hasOwnProperty},5555:function(e,t,r){"use strict";var n=r(1212),i=r(1909),o=r(8737);e.exports=r(8772)||n.call(o,i)},9905:function(e,t,r){"use strict";var n=r(1212),i=r(1909),o=r(5555);e.exports=function(){return o(n,i,arguments)}},1909:function(e){"use strict";e.exports=Function.prototype.apply},8737:function(e){"use strict";e.exports=Function.prototype.call},7152:function(e,t,r){"use strict";var n=r(1212),i=r(8202),o=r(8737),s=r(5555);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new i("a function is required");return s(n,o,e)}},8772:function(e){"use strict";e.exports="u">typeof Reflect&&Reflect&&Reflect.apply},516:function(e,t,r){"use strict";var n=r(3197),i=r(9042),o=i(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&o(e,".prototype.")>-1?i(r):r}},9042:function(e,t,r){"use strict";var n=r(3143),i=r(446),o=r(7152),s=r(9905);e.exports=function(e){var t=o(arguments),r=e.length-(arguments.length-1);return n(t,1+(r>0?r:0),!0)},i?i(e.exports,"apply",{value:s}):e.exports.apply=s},819:function(e,t,r){"use strict";var n=r(446),i=r(5182),o=r(8202),s=r(3990);e.exports=function(e,t,r){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new o("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],h=!!s&&s(e,t);if(n)n(e,t,{configurable:null===u&&h?h.configurable:!u,enumerable:null===a&&h?h.enumerable:!a,value:r,writable:null===l&&h?h.writable:!l});else if(!c&&(a||l||u))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else e[t]=r}},6211:function(e,t,r){"use strict";var n,i=r(7152),o=r(3990);try{n=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var s=!!n&&o&&o(Object.prototype,"__proto__"),a=Object,l=a.getPrototypeOf;e.exports=s&&"function"==typeof s.get?i([s.get]):"function"==typeof l&&function(e){return l(null==e?e:a(e))}},446:function(e){"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},7181:function(e){"use strict";e.exports=EvalError},1545:function(e){"use strict";e.exports=Error},22:function(e){"use strict";e.exports=RangeError},2803:function(e){"use strict";e.exports=ReferenceError},5182:function(e){"use strict";e.exports=SyntaxError},8202:function(e){"use strict";e.exports=TypeError},3284:function(e){"use strict";e.exports=URIError},2811:function(e){"use strict";e.exports=Object},6144:function(e){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString;e.exports=function(e,n,i){if("[object Function]"!==r.call(n))throw TypeError("iterator must be a function");var o=e.length;if(o===+o)for(var s=0;s<o;s++)n.call(i,e[s],s,e);else for(var a in e)t.call(e,a)&&n.call(i,e[a],a,e)}},3136:function(e){"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var i=0;i<t.length;i+=1)r[i+e.length]=t[i];return r},i=function(e,t){for(var r=[],n=t||0,i=0;n<e.length;n+=1,i+=1)r[i]=e[n];return r},o=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};e.exports=function(e){var s,a=this;if("function"!=typeof a||"[object Function]"!==t.apply(a))throw TypeError("Function.prototype.bind called on incompatible "+a);for(var l=i(arguments,1),u=r(0,a.length-l.length),c=[],h=0;h<u;h++)c[h]="$"+h;if(s=Function("binder","return function ("+o(c,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof s){var t=a.apply(this,n(l,arguments));return Object(t)===t?t:this}return a.apply(e,n(l,arguments))}),a.prototype){var d=function(){};d.prototype=a.prototype,s.prototype=new d,d.prototype=null}return s}},1212:function(e,t,r){"use strict";var n=r(3136);e.exports=Function.prototype.bind||n},3197:function(e,t,r){"use strict";var n,i=r(2811),o=r(1545),s=r(7181),a=r(22),l=r(2803),u=r(5182),c=r(8202),h=r(3284),d=r(7173),f=r(847),p=r(2916),y=r(9882),g=r(3291),m=r(553),b=r(8629),v=Function,w=function(e){try{return v('"use strict"; return ('+e+").constructor;")()}catch(e){}},S=r(3990),_=r(446),E=function(){throw new c},O=S?function(){try{return arguments.callee,E}catch(e){try{return S(arguments,"callee").get}catch(e){return E}}}():E,x=r(4871)(),A=r(699),j=r(7823),C=r(7904),k=r(1909),P=r(8737),T={},R="u">typeof Uint8Array&&A?A(Uint8Array):n,I={__proto__:null,"%AggregateError%":"u"<typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"u"<typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":x&&A?A([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":T,"%AsyncGenerator%":T,"%AsyncGeneratorFunction%":T,"%AsyncIteratorPrototype%":T,"%Atomics%":"u"<typeof Atomics?n:Atomics,"%BigInt%":"u"<typeof BigInt?n:BigInt,"%BigInt64Array%":"u"<typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"u"<typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"u"<typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":s,"%Float16Array%":"u"<typeof Float16Array?n:Float16Array,"%Float32Array%":"u"<typeof Float32Array?n:Float32Array,"%Float64Array%":"u"<typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"u"<typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":T,"%Int8Array%":"u"<typeof Int8Array?n:Int8Array,"%Int16Array%":"u"<typeof Int16Array?n:Int16Array,"%Int32Array%":"u"<typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":x&&A?A(A([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"u"<typeof Map?n:Map,"%MapIteratorPrototype%":"u">typeof Map&&x&&A?A((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":i,"%Object.getOwnPropertyDescriptor%":S,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"u"<typeof Promise?n:Promise,"%Proxy%":"u"<typeof Proxy?n:Proxy,"%RangeError%":a,"%ReferenceError%":l,"%Reflect%":"u"<typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"u"<typeof Set?n:Set,"%SetIteratorPrototype%":"u">typeof Set&&x&&A?A((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"u"<typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":x&&A?A(""[Symbol.iterator]()):n,"%Symbol%":x?Symbol:n,"%SyntaxError%":u,"%ThrowTypeError%":O,"%TypedArray%":R,"%TypeError%":c,"%Uint8Array%":"u"<typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"u"<typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"u"<typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"u"<typeof Uint32Array?n:Uint32Array,"%URIError%":h,"%WeakMap%":"u"<typeof WeakMap?n:WeakMap,"%WeakRef%":"u"<typeof WeakRef?n:WeakRef,"%WeakSet%":"u"<typeof WeakSet?n:WeakSet,"%Function.prototype.call%":P,"%Function.prototype.apply%":k,"%Object.defineProperty%":_,"%Object.getPrototypeOf%":j,"%Math.abs%":d,"%Math.floor%":f,"%Math.max%":p,"%Math.min%":y,"%Math.pow%":g,"%Math.round%":m,"%Math.sign%":b,"%Reflect.getPrototypeOf%":C};if(A)try{null.error}catch(e){var M=A(A(e));I["%Error.prototype%"]=M}var B=function e(t){var r;if("%AsyncFunction%"===t)r=w("async function () {}");else if("%GeneratorFunction%"===t)r=w("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=w("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&A&&(r=A(i.prototype))}return I[t]=r,r},D={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},N=r(1212),F=r(3270),L=N.call(P,Array.prototype.concat),U=N.call(k,Array.prototype.splice),z=N.call(P,String.prototype.replace),$=N.call(P,String.prototype.slice),W=N.call(P,RegExp.prototype.exec),q=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,H=/\\(\\)?/g,V=function(e){var t=$(e,0,1),r=$(e,-1);if("%"===t&&"%"!==r)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new u("invalid intrinsic syntax, expected opening `%`");var n=[];return z(e,q,function(e,t,r,i){n[n.length]=r?z(i,H,"$1"):t||e}),n},Z=function(e,t){var r,n=e;if(F(D,n)&&(n="%"+(r=D[n])[0]+"%"),F(I,n)){var i=I[n];if(i===T&&(i=B(n)),void 0===i&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new u("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===W(/^%?[^%]*%?$/,e))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=V(e),n=r.length>0?r[0]:"",i=Z("%"+n+"%",t),o=i.name,s=i.value,a=!1,l=i.alias;l&&(n=l[0],U(r,L([0,1],l)));for(var h=1,d=!0;h<r.length;h+=1){var f=r[h],p=$(f,0,1),y=$(f,-1);if(('"'===p||"'"===p||"`"===p||'"'===y||"'"===y||"`"===y)&&p!==y)throw new u("property names with quotes must have matching quotes");if("constructor"!==f&&d||(a=!0),n+="."+f,F(I,o="%"+n+"%"))s=I[o];else if(null!=s){if(!(f in s)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(S&&h+1>=r.length){var g=S(s,f);s=(d=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:s[f]}else d=F(s,f),s=s[f];d&&!a&&(I[o]=s)}}return s}},7823:function(e,t,r){"use strict";e.exports=r(2811).getPrototypeOf||null},7904:function(e){"use strict";e.exports="u">typeof Reflect&&Reflect.getPrototypeOf||null},699:function(e,t,r){"use strict";var n=r(7904),i=r(7823),o=r(6211);e.exports=n?function(e){return n(e)}:i?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw TypeError("getProto: not an object");return i(e)}:o?function(e){return o(e)}:null},4596:function(e){"use strict";e.exports=Object.getOwnPropertyDescriptor},3990:function(e,t,r){"use strict";var n=r(4596);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},7122:function(e,t,r){"use strict";var n=r(446),i=function(){return!!n};i.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},9942:function(e,t,r){"use strict";var n="u">typeof Symbol&&Symbol,i=r(3773);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&i()}},3773:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},4871:function(e,t,r){"use strict";var n="u">typeof Symbol&&Symbol,i=r(5960);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&i()}},5960:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},3270:function(e,t,r){"use strict";var n=Function.prototype.call,i=Object.prototype.hasOwnProperty;e.exports=r(1212).call(n,i)},3782:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},5157:function(e){"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,r=Object.prototype.toString,n=function(e){return(!t||!e||"object"!=typeof e||!(Symbol.toStringTag in e))&&"[object Arguments]"===r.call(e)},i=function(e){return!!n(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==r.call(e)&&"[object Function]"===r.call(e.callee)},o=function(){return n(arguments)}();n.isLegacyArguments=i,e.exports=o?n:i},3391:function(e){"use strict";var t=Object.prototype.toString,r=Function.prototype.toString,n=/^\s*(?:function)?\*/,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,o=Object.getPrototypeOf,s=function(){if(!i)return!1;try{return Function("return function*() {}")()}catch(e){}}(),a=s?o(s):{};e.exports=function(e){return"function"==typeof e&&(!!n.test(r.call(e))||(i?o(e)===a:"[object GeneratorFunction]"===t.call(e)))}},994:function(t,r,n){"use strict";var i=n(6144),o=n(1349),s=n(516),a=s("Object.prototype.toString"),l=n(9942)()&&"symbol"==typeof Symbol.toStringTag,u=o(),c=s("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r<e.length;r+=1)if(e[r]===t)return r;return -1},h=s("String.prototype.slice"),d={},f=n(2154),p=Object.getPrototypeOf;l&&f&&p&&i(u,function(t){var r=new e.g[t];if(!(Symbol.toStringTag in r))throw EvalError("this engine has support for Symbol.toStringTag, but "+t+" does not have the property! Please report this.");var n=p(r),i=f(n,Symbol.toStringTag);i||(i=f(p(n),Symbol.toStringTag)),d[t]=i.get});var y=function(e){var t=!1;return i(d,function(r,n){if(!t)try{t=r.call(e)===n}catch(e){}}),t};t.exports=function(e){return!!e&&"object"==typeof e&&(l?!!f&&y(e):c(u,h(a(e),8,-1))>-1)}},7173:function(e){"use strict";e.exports=Math.abs},847:function(e){"use strict";e.exports=Math.floor},219:function(e){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},2916:function(e){"use strict";e.exports=Math.max},9882:function(e){"use strict";e.exports=Math.min},3291:function(e){"use strict";e.exports=Math.pow},553:function(e){"use strict";e.exports=Math.round},8629:function(e,t,r){"use strict";var n=r(219);e.exports=function(e){return n(e)||0===e?e:e<0?-1:1}},3143:function(e,t,r){"use strict";var n=r(3197),i=r(819),o=r(7122)(),s=r(3990),a=r(8202),l=n("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new a("`fn` is not a function");if("number"!=typeof t||t<0||t>0xffffffff||l(t)!==t)throw new a("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,u=!0;if("length"in e&&s){var c=s(e,"length");c&&!c.configurable&&(n=!1),c&&!c.writable&&(u=!1)}return(n||u||!r)&&(o?i(e,"length",t,!0,!0):i(e,"length",t)),e}},2369:function(e){e.exports=function(e){return e instanceof n.Buffer}},5584:function(e,t,r){"use strict";var n=r(5157),i=r(3391),o=r(1490),s=r(994);function a(e){return e.call.bind(e)}var l="u">typeof BigInt,u="u">typeof Symbol,c=a(Object.prototype.toString),h=a(Number.prototype.valueOf),d=a(String.prototype.valueOf),f=a(Boolean.prototype.valueOf);if(l)var p=a(BigInt.prototype.valueOf);if(u)var y=a(Symbol.prototype.valueOf);function g(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function m(e){return"[object Map]"===c(e)}function b(e){return"[object Set]"===c(e)}function v(e){return"[object WeakMap]"===c(e)}function w(e){return"[object WeakSet]"===c(e)}function S(e){return"[object ArrayBuffer]"===c(e)}function _(e){return!("u"<typeof ArrayBuffer)&&(S.working?S(e):e instanceof ArrayBuffer)}function E(e){return"[object DataView]"===c(e)}function O(e){return!("u"<typeof DataView)&&(E.working?E(e):e instanceof DataView)}t.isArgumentsObject=n,t.isGeneratorFunction=i,t.isTypedArray=s,t.isPromise=function(e){return"u">typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"u">typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):s(e)||O(e)},t.isUint8Array=function(e){return"Uint8Array"===o(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},t.isUint16Array=function(e){return"Uint16Array"===o(e)},t.isUint32Array=function(e){return"Uint32Array"===o(e)},t.isInt8Array=function(e){return"Int8Array"===o(e)},t.isInt16Array=function(e){return"Int16Array"===o(e)},t.isInt32Array=function(e){return"Int32Array"===o(e)},t.isFloat32Array=function(e){return"Float32Array"===o(e)},t.isFloat64Array=function(e){return"Float64Array"===o(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},m.working="u">typeof Map&&m(new Map),t.isMap=function(e){return!("u"<typeof Map)&&(m.working?m(e):e instanceof Map)},b.working="u">typeof Set&&b(new Set),t.isSet=function(e){return!("u"<typeof Set)&&(b.working?b(e):e instanceof Set)},v.working="u">typeof WeakMap&&v(new WeakMap),t.isWeakMap=function(e){return!("u"<typeof WeakMap)&&(v.working?v(e):e instanceof WeakMap)},w.working="u">typeof WeakSet&&w(new WeakSet),t.isWeakSet=function(e){return w(e)},S.working="u">typeof ArrayBuffer&&S(new ArrayBuffer),t.isArrayBuffer=_,E.working="u">typeof ArrayBuffer&&"u">typeof DataView&&E(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=O;var x="u">typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function A(e){return"[object SharedArrayBuffer]"===c(e)}function j(e){return void 0!==x&&(void 0===A.working&&(A.working=A(new x)),A.working?A(e):e instanceof x)}function C(e){return g(e,h)}function k(e){return g(e,d)}function P(e){return g(e,f)}function T(e){return l&&g(e,p)}function R(e){return u&&g(e,y)}t.isSharedArrayBuffer=j,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===c(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===c(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===c(e)},t.isGeneratorObject=function(e){return"[object Generator]"===c(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===c(e)},t.isNumberObject=C,t.isStringObject=k,t.isBooleanObject=P,t.isBigIntObject=T,t.isSymbolObject=R,t.isBoxedPrimitive=function(e){return C(e)||k(e)||P(e)||T(e)||R(e)},t.isAnyArrayBuffer=function(e){return"u">typeof Uint8Array&&(_(e)||j(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw Error(e+" is not supported in userland")}})})},8177:function(e,t,r){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},o=/%[sdj%]/g;t.format=function(e){if(!v(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(u(arguments[r]));return t.join(" ")}for(var r=1,n=arguments,i=n.length,s=String(e).replace(o,function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),a=n[r];r<i;a=n[++r])m(a)||!_(a)?s+=" "+a:s+=" "+u(a);return s},t.deprecate=function(e,r){if(void 0!==i.default&&!0===i.default.noDeprecation)return e;if(void 0===i.default)return function(){return t.deprecate(e,r).apply(this,arguments)};var n=!1;return function(){if(!n){if(i.default.throwDeprecation)throw Error(r);i.default.traceDeprecation?console.trace(r):console.error(r),n=!0}return e.apply(this,arguments)}};var s={},a=/^$/;if(i.default.env.NODE_DEBUG){var l=i.default.env.NODE_DEBUG;a=RegExp("^"+(l=l.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase())+"$","i")}function u(e,r){var n={seen:[],stylize:h};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),g(r)?n.showHidden=r:r&&t._extend(n,r),w(n.showHidden)&&(n.showHidden=!1),w(n.depth)&&(n.depth=2),w(n.colors)&&(n.colors=!1),w(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),d(n,e,n.depth)}function c(e,t){var r=u.styles[t];return r?"\x1b["+u.colors[r][0]+"m"+e+"\x1b["+u.colors[r][1]+"m":e}function h(e,t){return e}function d(e,r,n){if(e.customInspect&&r&&x(r.inspect)&&r.inspect!==t.inspect&&!(r.constructor&&r.constructor.prototype===r)){var i,o,s,a,l,u,c=r.inspect(n,e);return v(c)||(c=d(e,c,n)),c}var h=function(e,t){if(w(t))return e.stylize("undefined","undefined");if(v(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return b(t)?e.stylize(""+t,"number"):g(t)?e.stylize(""+t,"boolean"):m(t)?e.stylize("null","null"):void 0}(e,r);if(h)return h;var _=Object.keys(r),A=(l={},_.forEach(function(e,t){l[e]=!0}),l);if(e.showHidden&&(_=Object.getOwnPropertyNames(r)),O(r)&&(_.indexOf("message")>=0||_.indexOf("description")>=0))return f(r);if(0===_.length){if(x(r)){var j=r.name?": "+r.name:"";return e.stylize("[Function"+j+"]","special")}if(S(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(E(r))return e.stylize(Date.prototype.toString.call(r),"date");if(O(r))return f(r)}var C="",P=!1,T=["{","}"];if(y(r)&&(P=!0,T=["[","]"]),x(r)&&(C=" [Function"+(r.name?": "+r.name:"")+"]"),S(r)&&(C=" "+RegExp.prototype.toString.call(r)),E(r)&&(C=" "+Date.prototype.toUTCString.call(r)),O(r)&&(C=" "+f(r)),0===_.length&&(!P||0==r.length))return T[0]+C+T[1];if(n<0)if(S(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");else return e.stylize("[Object]","special");return e.seen.push(r),u=P?function(e,t,r,n,i){for(var o=[],s=0,a=t.length;s<a;++s)k(t,String(s))?o.push(p(e,t,r,n,String(s),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(p(e,t,r,n,i,!0))}),o}(e,r,n,A,_):_.map(function(t){return p(e,r,n,A,t,P)}),e.seen.pop(),i=u,o=C,s=T,a=0,i.reduce(function(e,t){return a++,t.indexOf("\n")>=0&&a++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?s[0]+(""===o?"":o+"\n ")+" "+i.join(",\n ")+" "+s[1]:s[0]+o+" "+i.join(", ")+" "+s[1]}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function p(e,t,r,n,i,o){var s,a,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?a=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(a=e.stylize("[Setter]","special")),k(n,i)||(s="["+i+"]"),!a&&(0>e.seen.indexOf(l.value)?(a=m(r)?d(e,l.value,null):d(e,l.value,r-1)).indexOf("\n")>-1&&(a=o?a.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+a.split("\n").map(function(e){return" "+e}).join("\n")):a=e.stylize("[Circular]","special")),w(s)){if(o&&i.match(/^\d+$/))return a;(s=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function y(e){return Array.isArray(e)}function g(e){return"boolean"==typeof e}function m(e){return null===e}function b(e){return"number"==typeof e}function v(e){return"string"==typeof e}function w(e){return void 0===e}function S(e){return _(e)&&"[object RegExp]"===A(e)}function _(e){return"object"==typeof e&&null!==e}function E(e){return _(e)&&"[object Date]"===A(e)}function O(e){return _(e)&&("[object Error]"===A(e)||e instanceof Error)}function x(e){return"function"==typeof e}function A(e){return Object.prototype.toString.call(e)}function j(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(!s[e=e.toUpperCase()])if(a.test(e)){var r=i.default.pid;s[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else s[e]=function(){};return s[e]},t.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(5584),t.isArray=y,t.isBoolean=g,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=b,t.isString=v,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=w,t.isRegExp=S,t.types.isRegExp=S,t.isObject=_,t.isDate=E,t.types.isDate=E,t.isError=O,t.types.isNativeError=O,t.isFunction=x,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(2369);var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function k(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(r=[j((e=new Date).getHours()),j(e.getMinutes()),j(e.getSeconds())].join(":"),[e.getDate(),C[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(3782),t._extend=function(e,t){if(!t||!_(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var P="u">typeof Symbol?Symbol("util.promisify.custom"):void 0;function T(e,t){if(!e){var r=Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');if(P&&e[P]){var t=e[P];if("function"!=typeof t)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise(function(e,n){t=e,r=n}),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push(function(e,n){e?r(e):t(n)});try{e.apply(this,i)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),P&&Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},t.promisify.custom=P,t.callbackify=function(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var n=t.pop();if("function"!=typeof n)throw TypeError("The last argument must be of type Function");var o=this,s=function(){return n.apply(o,arguments)};e.apply(this,t).then(function(e){i.default.nextTick(s.bind(null,null,e))},function(e){i.default.nextTick(T.bind(null,e,s))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,n(e)),t}},1490:function(t,r,n){"use strict";var i=n(6144),o=n(1349),s=n(516),a=s("Object.prototype.toString"),l=n(9942)()&&"symbol"==typeof Symbol.toStringTag,u=o(),c=s("String.prototype.slice"),h={},d=n(2154),f=Object.getPrototypeOf;l&&d&&f&&i(u,function(t){if("function"==typeof e.g[t]){var r=new e.g[t];if(!(Symbol.toStringTag in r))throw EvalError("this engine has support for Symbol.toStringTag, but "+t+" does not have the property! Please report this.");var n=f(r),i=d(n,Symbol.toStringTag);i||(i=d(f(n),Symbol.toStringTag)),h[t]=i.get}});var p=function(e){var t=!1;return i(h,function(r,n){if(!t)try{var i=r.call(e);i===n&&(t=i)}catch(e){}}),t},y=n(994);t.exports=function(e){return!!y(e)&&(l?p(e):c(a(e),8,-1))}},1349:function(t,r,n){"use strict";var i=n(8992);t.exports=function(){return i(["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],function(t){return"function"==typeof e.g[t]})}},2154:function(e,t,r){"use strict";e.exports=r(3990)}},s={};function a(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={exports:{}},n=!0;try{o[e](r,r.exports,a),n=!1}finally{n&&delete s[e]}return r.exports}a.ab="/ROOT/node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_supports-color@10.2.2__@opentelemetry+api@1.9.0_babel-pl_caf8dc5e225559de3f0b5dd32445772f/node_modules/next/dist/compiled/util/",t.exports=a(8177)},807361,(e,t,r)=>{var n=e.i(985347),i={782:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},646:function(e){"use strict";let t={};function r(e,r,n){n||(n=Error);class i extends n{constructor(e,t,n){super(function(e,t,n){return"string"==typeof r?r:r(e,t,n)}(e,t,n))}}i.prototype.name=n.name,i.prototype.code=e,t[e]=i}function n(e,t){if(!Array.isArray(e))return`of ${t} ${String(e)}`;{let r=e.length;return(e=e.map(e=>String(e)),r>2)?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:2===r?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}}r("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(e,t,r){var i,o,s,a;let l,u;if("string"==typeof t&&(i="not ",t.substr(0,i.length)===i)?(l="must not be",t=t.replace(/^not /,"")):l="must be",o=" argument",(void 0===s||s>e.length)&&(s=e.length),e.substring(s-o.length,s)===o)u=`The ${e} ${l} ${n(t,"type")}`;else{let r=("number"!=typeof a&&(a=0),a+1>e.length||-1===e.indexOf(".",a))?"argument":"property";u=`The "${e}" ${r} ${l} ${n(t,"type")}`}return u+`. Received type ${typeof r}`},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},403:function(e,t,r){"use strict";var i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=c;var o=r(709),s=r(337);r(782)(c,o);for(var a=i(s.prototype),l=0;l<a.length;l++){var u=a[l];c.prototype[u]||(c.prototype[u]=s.prototype[u])}function c(e){if(!(this instanceof c))return new c(e);o.call(this,e),s.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",h)))}function h(){this._writableState.ended||n.default.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},889:function(e,t,r){"use strict";e.exports=i;var n=r(170);function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}r(782)(i,n),i.prototype._transform=function(e,t,r){r(null,e)}},709:function(t,r,i){"use strict";t.exports=A,A.ReadableState=x,i(361).EventEmitter;var o,s,a,l,u,c=function(e,t){return e.listeners(t).length},h=i(678),d=i(300).Buffer,f=e.g.Uint8Array||function(){},p=i(837);s=p&&p.debuglog?p.debuglog("stream"):function(){};var y=i(379),g=i(25),m=i(776).getHighWaterMark,b=i(646).q,v=b.ERR_INVALID_ARG_TYPE,w=b.ERR_STREAM_PUSH_AFTER_EOF,S=b.ERR_METHOD_NOT_IMPLEMENTED,_=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;i(782)(A,h);var E=g.errorOrDestroy,O=["error","close","destroy","pause","resume"];function x(e,t,r){o=o||i(403),e=e||{},"boolean"!=typeof r&&(r=t instanceof o),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=m(this,e,"readableHighWaterMark",r),this.buffer=new y,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(a||(a=i(704).s),this.decoder=new a(e.encoding),this.encoding=e.encoding)}function A(e){if(o=o||i(403),!(this instanceof A))return new A(e);var t=this instanceof o;this._readableState=new x(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),h.call(this)}function j(e,t,r,n,i){s("readableAddChunk",t);var o,a,l=e._readableState;if(null===t)l.reading=!1,function(e,t){if(s("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?P(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,T(e)))}}(e,l);else if(i||(a=function(e,t){var r;return d.isBuffer(t)||t instanceof f||"string"==typeof t||void 0===t||e.objectMode||(r=new v("chunk",["string","Buffer","Uint8Array"],t)),r}(l,t)),a)E(e,a);else if(l.objectMode||t&&t.length>0)if("string"==typeof t||l.objectMode||Object.getPrototypeOf(t)===d.prototype||(o=t,t=d.from(o)),n)l.endEmitted?E(e,new _):C(e,l,t,!0);else if(l.ended)E(e,new w);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!r?(t=l.decoder.write(t),l.objectMode||0!==t.length?C(e,l,t,!1):R(e,l)):C(e,l,t,!1)}else n||(l.reading=!1,R(e,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function C(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&P(e)),R(e,t)}function k(e,t){var r;if(e<=0||0===t.length&&t.ended)return 0;if(t.objectMode)return 1;if(e!=e)if(t.flowing&&t.length)return t.buffer.head.data.length;else return t.length;return(e>t.highWaterMark&&((r=e)>=0x40000000?r=0x40000000:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),t.highWaterMark=r),e<=t.length)?e:t.ended?t.length:(t.needReadable=!0,0)}function P(e){var t=e._readableState;s("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(s("emitReadable",t.flowing),t.emittedReadable=!0,n.default.nextTick(T,e))}function T(e){var t=e._readableState;s("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,N(e)}function R(e,t){t.readingMore||(t.readingMore=!0,n.default.nextTick(I,e,t))}function I(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(s("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function M(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function B(e){s("readable nexttick read 0"),e.read(0)}function D(e,t){s("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),N(e),t.flowing&&!t.reading&&e.read(0)}function N(e){var t=e._readableState;for(s("flow",t.flowing);t.flowing&&null!==e.read(););}function F(e,t){var r;return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r)}function L(e){var t=e._readableState;s("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.default.nextTick(U,t,e))}function U(e,t){if(s("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function z(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return -1}Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),A.prototype.destroy=g.destroy,A.prototype._undestroy=g.undestroy,A.prototype._destroy=function(e,t){t(e)},A.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=d.from(e,t),t=""),r=!0),j(this,e,t,!1,r)},A.prototype.unshift=function(e){return j(this,e,null,!0,!1)},A.prototype.isPaused=function(){return!1===this._readableState.flowing},A.prototype.setEncoding=function(e){a||(a=i(704).s);var t=new a(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n="";null!==r;)n+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==n&&this._readableState.buffer.push(n),this._readableState.length=n.length,this},A.prototype.read=function(e){s("read",e),e=parseInt(e,10);var t,r=this._readableState,n=e;if(0!==e&&(r.emittedReadable=!1),0===e&&r.needReadable&&((0!==r.highWaterMark?r.length>=r.highWaterMark:r.length>0)||r.ended))return s("read: emitReadable",r.length,r.ended),0===r.length&&r.ended?L(this):P(this),null;if(0===(e=k(e,r))&&r.ended)return 0===r.length&&L(this),null;var i=r.needReadable;return s("need readable",i),(0===r.length||r.length-e<r.highWaterMark)&&s("length less than watermark",i=!0),r.ended||r.reading?s("reading or ended",i=!1):i&&(s("do read"),r.reading=!0,r.sync=!0,0===r.length&&(r.needReadable=!0),this._read(r.highWaterMark),r.sync=!1,r.reading||(e=k(n,r))),null===(t=e>0?F(e,r):null)?(r.needReadable=r.length<=r.highWaterMark,e=0):(r.length-=e,r.awaitDrain=0),0===r.length&&(r.ended||(r.needReadable=!0),n!==e&&r.ended&&L(this)),null!==t&&this.emit("data",t),t},A.prototype._read=function(e){E(this,new S("_read()"))},A.prototype.pipe=function(e,t){var r,i=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,s("pipe count=%d opts=%j",o.pipesCount,t);var a=t&&!1===t.end||e===n.default.stdout||e===n.default.stderr?g:l;function l(){s("onend"),e.end()}o.endEmitted?n.default.nextTick(a):i.once("end",a),e.on("unpipe",function t(r,n){s("onunpipe"),r===i&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,s("cleanup"),e.removeListener("close",p),e.removeListener("finish",y),e.removeListener("drain",u),e.removeListener("error",f),e.removeListener("unpipe",t),i.removeListener("end",l),i.removeListener("end",g),i.removeListener("data",d),h=!0,o.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&u())});var u=(r=i,function(){var e=r._readableState;s("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&c(r,"data")&&(e.flowing=!0,N(r))});e.on("drain",u);var h=!1;function d(t){s("ondata");var r=e.write(t);s("dest.write",r),!1===r&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==z(o.pipes,e))&&!h&&(s("false write response, pause",o.awaitDrain),o.awaitDrain++),i.pause())}function f(t){s("onerror",t),g(),e.removeListener("error",f),0===c(e,"error")&&E(e,t)}function p(){e.removeListener("finish",y),g()}function y(){s("onfinish"),e.removeListener("close",p),g()}function g(){s("unpipe"),i.unpipe(e)}return i.on("data",d),!function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",f),e.once("close",p),e.once("finish",y),e.emit("pipe",i),o.flowing||(s("pipe resume"),i.resume()),e},A.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var s=z(t.pipes,e);return -1===s||(t.pipes.splice(s,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},A.prototype.on=function(e,t){var r=h.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"!==e||i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,s("on readable",i.length,i.reading),i.length?P(this):i.reading||n.default.nextTick(B,this)),r},A.prototype.addListener=A.prototype.on,A.prototype.removeListener=function(e,t){var r=h.prototype.removeListener.call(this,e,t);return"readable"===e&&n.default.nextTick(M,this),r},A.prototype.removeAllListeners=function(e){var t=h.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&n.default.nextTick(M,this),t},A.prototype.resume=function(){var e,t,r=this._readableState;return r.flowing||(s("resume"),r.flowing=!r.readableListening,e=this,(t=r).resumeScheduled||(t.resumeScheduled=!0,n.default.nextTick(D,e,t))),r.paused=!1,this},A.prototype.pause=function(){return s("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(s("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},A.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",function(){if(s("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){s("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<O.length;o++)e.on(O[o],this.emit.bind(this,O[o]));return this._read=function(t){s("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(A.prototype[Symbol.asyncIterator]=function(){return void 0===l&&(l=i(871)),l(this)}),Object.defineProperty(A.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(A.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(A.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),A._fromList=F,Object.defineProperty(A.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(A.from=function(e,t){return void 0===u&&(u=i(727)),u(A,e,t)})},170:function(e,t,r){"use strict";e.exports=c;var n=r(646).q,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,s=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=n.ERR_TRANSFORM_WITH_LENGTH_0,l=r(403);function u(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function c(e){if(!(this instanceof c))return new c(e);l.call(this,e),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",h)}function h(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?d(this,null,null):this._flush(function(t,r){d(e,t,r)})}function d(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new a;if(e._transformState.transforming)throw new s;return e.push(null)}r(782)(c,l),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,r){r(new i("_transform()"))},c.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){l.prototype._destroy.call(this,e,function(e){t(e)})}},337:function(t,r,i){"use strict";function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){var r=t,n=e,i=r.entry;for(r.entry=null;i;){var o=i.callback;n.pendingcb--,o(void 0),i=i.next}n.corkedRequestsFree.next=r}}t.exports=A,A.WritableState=x;var s,a,l={deprecate:i(769)},u=i(678),c=i(300).Buffer,h=e.g.Uint8Array||function(){},d=i(25),f=i(776).getHighWaterMark,p=i(646).q,y=p.ERR_INVALID_ARG_TYPE,g=p.ERR_METHOD_NOT_IMPLEMENTED,m=p.ERR_MULTIPLE_CALLBACK,b=p.ERR_STREAM_CANNOT_PIPE,v=p.ERR_STREAM_DESTROYED,w=p.ERR_STREAM_NULL_VALUES,S=p.ERR_STREAM_WRITE_AFTER_END,_=p.ERR_UNKNOWN_ENCODING,E=d.errorOrDestroy;function O(){}function x(e,t,r){s=s||i(403),e=e||{},"boolean"!=typeof r&&(r=t instanceof s),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=f(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===e.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,i=r.sync,o=r.writecb;if("function"!=typeof o)throw new m;if(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,t)--r.pendingcb,i?(n.default.nextTick(o,t),n.default.nextTick(R,e,r),e._writableState.errorEmitted=!0,E(e,t)):(o(t),e._writableState.errorEmitted=!0,E(e,t),R(e,r));else{var s=P(r)||e.destroyed;s||r.corked||r.bufferProcessing||!r.bufferedRequest||k(e,r),i?n.default.nextTick(C,e,r,s,o):C(e,r,s,o)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}i(782)(A,u),x.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t};try{Object.defineProperty(x.prototype,"buffer",{get:l.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}function A(e){var t=this instanceof(s=s||i(403));if(!t&&!a.call(A,this))return new A(e);this._writableState=new x(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),u.call(this)}function j(e,t,r,n,i,o,s){t.writelen=n,t.writecb=s,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new v("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function C(e,t,r,n){var i,o;r||(i=e,0===(o=t).length&&o.needDrain&&(o.needDrain=!1,i.emit("drain"))),t.pendingcb--,n(),R(e,t)}function k(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=Array(t.bufferedRequestCount),i=t.corkedRequestsFree;i.entry=r;for(var s=0,a=!0;r;)n[s]=r,r.isBuf||(a=!1),r=r.next,s+=1;n.allBuffers=a,j(e,t,!0,t.length,n,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,u=r.encoding,c=r.callback,h=t.objectMode?1:l.length;if(j(e,t,!1,h,l,u,c),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function P(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function T(e,t){e._final(function(r){t.pendingcb--,r&&E(e,r),t.prefinished=!0,e.emit("prefinish"),R(e,t)})}function R(e,t){var r=P(t);if(r&&(t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,n.default.nextTick(T,e,t))),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return r}"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(a=Function.prototype[Symbol.hasInstance],Object.defineProperty(A,Symbol.hasInstance,{value:function(e){return!!a.call(this,e)||this===A&&e&&e._writableState instanceof x}})):a=function(e){return e instanceof this},A.prototype.pipe=function(){E(this,new b)},A.prototype.write=function(e,t,r){var i,o,s,a,l,u,d,f=this._writableState,p=!1,g=!f.objectMode&&(i=e,c.isBuffer(i)||i instanceof h);return(g&&!c.isBuffer(e)&&(o=e,e=c.from(o)),"function"==typeof t&&(r=t,t=null),g?t="buffer":t||(t=f.defaultEncoding),"function"!=typeof r&&(r=O),f.ending)?(s=r,E(this,a=new S),n.default.nextTick(s,a)):(g||(l=e,u=r,null===l?d=new w:"string"==typeof l||f.objectMode||(d=new y("chunk",["string","Buffer"],l)),!d||(E(this,d),n.default.nextTick(u,d),0)))&&(f.pendingcb++,p=function(e,t,r,n,i,o){if(!r){var s,a,l=(s=n,a=i,t.objectMode||!1===t.decodeStrings||"string"!=typeof s||(s=c.from(s,a)),s);n!==l&&(r=!0,i="buffer",n=l)}var u=t.objectMode?1:n.length;t.length+=u;var h=t.length<t.highWaterMark;if(h||(t.needDrain=!0),t.writing||t.corked){var d=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},d?d.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else j(e,t,!1,u,n,i,o);return h}(this,f,g,e,t,r)),p},A.prototype.cork=function(){this._writableState.corked++},A.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||k(this,e))},A.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(A.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(A.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),A.prototype._write=function(e,t,r){r(new g("_write()"))},A.prototype._writev=null,A.prototype.end=function(e,t,r){var i,o,s,a=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),a.corked&&(a.corked=1,this.uncork()),a.ending||(i=this,o=a,s=r,o.ending=!0,R(i,o),s&&(o.finished?n.default.nextTick(s):i.once("finish",s)),o.ended=!0,i.writable=!1),this},Object.defineProperty(A.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),A.prototype.destroy=d.destroy,A.prototype._undestroy=d.undestroy,A.prototype._destroy=function(e,t){t(e)}},871:function(e,t,r){"use strict";function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o,s=r(698),a=Symbol("lastResolve"),l=Symbol("lastReject"),u=Symbol("error"),c=Symbol("ended"),h=Symbol("lastPromise"),d=Symbol("handlePromise"),f=Symbol("stream");function p(e,t){return{value:e,done:t}}function y(e){var t=e[a];if(null!==t){var r=e[f].read();null!==r&&(e[h]=null,e[a]=null,e[l]=null,t(p(r,!1)))}}function g(e){n.default.nextTick(y,e)}var m=Object.getPrototypeOf(function(){}),b=Object.setPrototypeOf((i(o={get stream(){return this[f]},next:function(){var e,t,r=this,i=this[u];if(null!==i)return Promise.reject(i);if(this[c])return Promise.resolve(p(void 0,!0));if(this[f].destroyed)return new Promise(function(e,t){n.default.nextTick(function(){r[u]?t(r[u]):e(p(void 0,!0))})});var o=this[h];if(o)t=new Promise((e=this,function(t,r){o.then(function(){e[c]?t(p(void 0,!0)):e[d](t,r)},r)}));else{var s=this[f].read();if(null!==s)return Promise.resolve(p(s,!1));t=new Promise(this[d])}return this[h]=t,t}},Symbol.asyncIterator,function(){return this}),i(o,"return",function(){var e=this;return new Promise(function(t,r){e[f].destroy(null,function(e){e?r(e):t(p(void 0,!0))})})}),o),m);e.exports=function(e){var t,r=Object.create(b,(i(t={},f,{value:e,writable:!0}),i(t,a,{value:null,writable:!0}),i(t,l,{value:null,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,c,{value:e._readableState.endEmitted,writable:!0}),i(t,d,{value:function(e,t){var n=r[f].read();n?(r[h]=null,r[a]=null,r[l]=null,e(p(n,!1))):(r[a]=e,r[l]=t)},writable:!0}),t));return r[h]=null,s(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[l];null!==t&&(r[h]=null,r[a]=null,r[l]=null,t(e)),r[u]=e;return}var n=r[a];null!==n&&(r[h]=null,r[a]=null,r[l]=null,n(p(void 0,!0))),r[c]=!0}),e.on("readable",g.bind(null,r)),r}},379:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var i=r(300).Buffer,o=r(837).inspect,s=o&&o.custom||"inspect";e.exports=function(){var e;function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");this.head=null,this.tail=null,this.length=0}return e=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return i.alloc(0);for(var t,r,n=i.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,r=s,i.prototype.copy.call(t,n,r),s+=o.data.length,o=o.next;return n}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0==(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=i.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var o=r.data,s=e>o.length?o.length:e;if(o.copy(t,t.length-e,0,s),0==(e-=s)){s===o.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=o.slice(s));break}++n}return this.length-=n,t}},{key:s,value:function(e,t){return o(this,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){var n,i,o;n=e,i=t,o=r[t],i in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},t,{depth:0,customInspect:!1}))}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,e),t}()},25:function(e){"use strict";function t(e,t){i(e,t),r(e)}function r(e){e._writableState&&!e._writableState.emitClose||(!e._readableState||e._readableState.emitClose)&&e.emit("close")}function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,o){var s=this,a=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return a||l?o?o(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.default.nextTick(i,this,e)):n.default.nextTick(i,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!o&&e?s._writableState?s._writableState.errorEmitted?n.default.nextTick(r,s):(s._writableState.errorEmitted=!0,n.default.nextTick(t,s,e)):n.default.nextTick(t,s,e):o?(n.default.nextTick(r,s),o(e)):n.default.nextTick(r,s)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}},698:function(e,t,r){"use strict";var n=r(646).q.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,r,o){if("function"==typeof r)return e(t,null,r);r||(r={}),s=o||i,a=!1,o=function(){if(!a){a=!0;for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];s.apply(this,t)}};var s,a,l=r.readable||!1!==r.readable&&t.readable,u=r.writable||!1!==r.writable&&t.writable,c=function(){t.writable||d()},h=t._writableState&&t._writableState.finished,d=function(){u=!1,h=!0,l||o.call(t)},f=t._readableState&&t._readableState.endEmitted,p=function(){l=!1,f=!0,u||o.call(t)},y=function(e){o.call(t,e)},g=function(){var e;return l&&!f?(t._readableState&&t._readableState.ended||(e=new n),o.call(t,e)):u&&!h?(t._writableState&&t._writableState.ended||(e=new n),o.call(t,e)):void 0},m=function(){t.req.on("finish",d)};return t.setHeader&&"function"==typeof t.abort?(t.on("complete",d),t.on("abort",g),t.req?m():t.on("request",m)):u&&!t._writableState&&(t.on("end",c),t.on("close",c)),t.on("end",p),t.on("finish",d),!1!==r.error&&t.on("error",y),t.on("close",g),function(){t.removeListener("complete",d),t.removeListener("abort",g),t.removeListener("request",m),t.req&&t.req.removeListener("finish",d),t.removeListener("end",c),t.removeListener("close",c),t.removeListener("finish",d),t.removeListener("end",p),t.removeListener("error",y),t.removeListener("close",g)}}},727:function(e,t,r){"use strict";function n(e,t,r,n,i,o,s){try{var a=e[o](s),l=a.value}catch(e){r(e);return}a.done?t(l):Promise.resolve(l).then(n,i)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var o=r(646).q.ERR_INVALID_ARG_TYPE;e.exports=function(e,t,r){if(t&&"function"==typeof t.next)s=t;else if(t&&t[Symbol.asyncIterator])s=t[Symbol.asyncIterator]();else if(t&&t[Symbol.iterator])s=t[Symbol.iterator]();else throw new o("iterable",["Iterable"],t);var s,a=new e(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){var n,i,o;n=e,i=t,o=r[t],i in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({objectMode:!0},r)),l=!1;function u(){return c.apply(this,arguments)}function c(){var e;return e=function*(){try{var e=yield s.next(),t=e.value;e.done?a.push(null):a.push((yield t))?u():l=!1}catch(e){a.destroy(e)}},(c=function(){var t=this,r=arguments;return new Promise(function(i,o){var s=e.apply(t,r);function a(e){n(s,i,o,a,l,"next",e)}function l(e){n(s,i,o,a,l,"throw",e)}a(void 0)})}).apply(this,arguments)}return a._read=function(){l||(l=!0,u())},a}},442:function(e,t,r){"use strict";var n,i=r(646).q,o=i.ERR_MISSING_ARGS,s=i.ERR_STREAM_DESTROYED;function a(e){if(e)throw e}function l(e){e()}function u(e,t){return e.pipe(t)}e.exports=function(){for(var e,t,i=arguments.length,c=Array(i),h=0;h<i;h++)c[h]=arguments[h];var d=(e=c).length&&"function"==typeof e[e.length-1]?e.pop():a;if(Array.isArray(c[0])&&(c=c[0]),c.length<2)throw new o("streams");var f=c.map(function(e,i){var o,a,u,h,p,y,g=i<c.length-1;return o=i>0,u=a=function(e){t||(t=e),e&&f.forEach(l),g||(f.forEach(l),d(t))},h=!1,a=function(){h||(h=!0,u.apply(void 0,arguments))},p=!1,e.on("close",function(){p=!0}),void 0===n&&(n=r(698)),n(e,{readable:g,writable:o},function(e){if(e)return a(e);p=!0,a()}),y=!1,function(t){if(!p&&!y){if(y=!0,e.setHeader&&"function"==typeof e.abort)return e.abort();if("function"==typeof e.destroy)return e.destroy();a(t||new s("pipe"))}}});return c.reduce(u)}},776:function(e,t,r){"use strict";var n=r(646).q.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,r,i){var o=null!=t.highWaterMark?t.highWaterMark:i?t[r]:null;if(null!=o){if(!(isFinite(o)&&Math.floor(o)===o)||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},678:function(e,t,r){e.exports=r(781)},55:function(e,t,r){var n=r(300),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function s(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=s),s.prototype=Object.create(i.prototype),o(i,s),s.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return i(e,t,r)},s.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},s.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},173:function(e,t,r){e.exports=i;var n=r(361).EventEmitter;function i(){n.call(this)}r(782)(i,n),i.Readable=r(709),i.Writable=r(337),i.Duplex=r(403),i.Transform=r(170),i.PassThrough=r(889),i.finished=r(698),i.pipeline=r(442),i.Stream=i,i.prototype.pipe=function(e,t){var r=this;function i(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(r.on("end",a),r.on("close",l));var s=!1;function a(){s||(s=!0,e.end())}function l(){s||(s=!0,"function"==typeof e.destroy&&e.destroy())}function u(e){if(c(),0===n.listenerCount(this,"error"))throw e}function c(){r.removeListener("data",i),e.removeListener("drain",o),r.removeListener("end",a),r.removeListener("close",l),r.removeListener("error",u),e.removeListener("error",u),r.removeListener("end",c),r.removeListener("close",c),e.removeListener("close",c)}return r.on("error",u),e.on("error",u),r.on("end",c),r.on("close",c),e.on("close",c),e.emit("pipe",r),e}},704:function(e,t,r){"use strict";var n=r(55).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=u,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=c,this.end=h,t=3;break;default:this.write=d,this.end=f;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function s(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}(this,e,0);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}t.s=o,o.prototype.write=function(e){var t,r;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=s(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||-2===i?0:(i=s(t[n]))>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||-2===i?0:(i=s(t[n]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},769:function(t){t.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}};function r(t){try{if(!e.g.localStorage)return!1}catch(e){return!1}var r=e.g.localStorage[t];return null!=r&&"true"===String(r).toLowerCase()}},300:function(t){"use strict";t.exports=e.r(893113)},361:function(t){"use strict";t.exports=e.r(679877)},781:function(t){"use strict";t.exports=e.r(679877).EventEmitter},837:function(t){"use strict";t.exports=e.r(238264)}},o={};function s(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}},n=!0;try{i[e](r,r.exports,s),n=!1}finally{n&&delete o[e]}return r.exports}s.ab="/ROOT/node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_supports-color@10.2.2__@opentelemetry+api@1.9.0_babel-pl_caf8dc5e225559de3f0b5dd32445772f/node_modules/next/dist/compiled/stream-browserify/",t.exports=s(173)},259873,(e,t,r)=>{"use strict";t.exports=e.r(807361)},874213,(e,t,r)=>{"use strict";var n=e.i(893113);if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer="u">typeof ArrayBuffer&&"u">typeof Uint8Array,r.nodebuffer=void 0!==n.Buffer,r.uint8array="u">typeof Uint8Array,"u"<typeof ArrayBuffer)r.blob=!1;else{var i=new ArrayBuffer(0);try{r.blob=0===new Blob([i],{type:"application/zip"}).size}catch(e){try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(i),r.blob=0===o.getBlob("application/zip").size}catch(e){r.blob=!1}}}try{r.nodestream=!!e.r(259873).Readable}catch(e){r.nodestream=!1}},145174,(e,t,r)=>{"use strict";var n=e.r(563194),i=e.r(874213),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(e){for(var t,r,i,s,a,l,u,c=[],h=0,d=e.length,f=d,p="string"!==n.getTypeOf(e);h<e.length;)f=d-h,p?(t=e[h++],r=h<d?e[h++]:0,i=h<d?e[h++]:0):(t=e.charCodeAt(h++),r=h<d?e.charCodeAt(h++):0,i=h<d?e.charCodeAt(h++):0),s=t>>2,a=(3&t)<<4|r>>4,l=f>1?(15&r)<<2|i>>6:64,u=f>2?63&i:64,c.push(o.charAt(s)+o.charAt(a)+o.charAt(l)+o.charAt(u));return c.join("")},r.decode=function(e){var t,r,n,s,a,l,u,c,h=0,d=0,f="data:";if(e.substr(0,f.length)===f)throw Error("Invalid base64 input, it looks like a data url.");var p=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===o.charAt(64)&&p--,e.charAt(e.length-2)===o.charAt(64)&&p--,p%1!=0)throw Error("Invalid base64 input, bad content length.");for(c=i.uint8array?new Uint8Array(0|p):Array(0|p);h<e.length;)s=o.indexOf(e.charAt(h++)),a=o.indexOf(e.charAt(h++)),l=o.indexOf(e.charAt(h++)),u=o.indexOf(e.charAt(h++)),t=s<<2|a>>4,r=(15&a)<<4|l>>2,n=(3&l)<<6|u,c[d++]=t,64!==l&&(c[d++]=r),64!==u&&(c[d++]=n);return c}},71053,(e,t,r)=>{"use strict";var n=e.i(893113);t.exports={isNode:void 0!==n.Buffer,newBufferFrom:function(e,t){if(n.Buffer.from&&n.Buffer.from!==Uint8Array.from)return n.Buffer.from(e,t);if("number"==typeof e)throw Error('The "data" argument must not be a number');return new n.Buffer(e,t)},allocBuffer:function(e){if(n.Buffer.alloc)return n.Buffer.alloc(e);var t=new n.Buffer(e);return t.fill(0),t},isBuffer:function(e){return n.Buffer.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},445369,(e,t,r)=>{"use strict";var n,i,o=e.g.MutationObserver||e.g.WebKitMutationObserver;if(o){var s=0,a=new o(h),l=e.g.document.createTextNode("");a.observe(l,{characterData:!0}),n=function(){l.data=s=++s%2}}else if(e.g.setImmediate||void 0===e.g.MessageChannel)n="document"in e.g&&"onreadystatechange"in e.g.document.createElement("script")?function(){var t=e.g.document.createElement("script");t.onreadystatechange=function(){h(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.g.document.documentElement.appendChild(t)}:function(){setTimeout(h,0)};else{var u=new e.g.MessageChannel;u.port1.onmessage=h,n=function(){u.port2.postMessage(0)}}var c=[];function h(){i=!0;for(var e,t,r=c.length;r;){for(t=c,c=[],e=-1;++e<r;)t[e]();r=c.length}i=!1}t.exports=function(e){1!==c.push(e)||i||n()}},471425,(e,t,r)=>{"use strict";var n=e.r(445369);function i(){}var o={},s=["REJECTED"],a=["FULFILLED"],l=["PENDING"];function u(e){if("function"!=typeof e)throw TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,e!==i&&f(this,e)}function c(e,t,r){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function h(e,t,r){n(function(){var n;try{n=t(r)}catch(t){return o.reject(e,t)}n===e?o.reject(e,TypeError("Cannot resolve promise with itself")):o.resolve(e,n)})}function d(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function f(e,t){var r=!1;function n(t){r||(r=!0,o.reject(e,t))}function i(t){r||(r=!0,o.resolve(e,t))}var s=p(function(){t(i,n)});"error"===s.status&&n(s.value)}function p(e,t){var r={};try{r.value=e(t),r.status="success"}catch(e){r.status="error",r.value=e}return r}t.exports=u,u.prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})},u.prototype.catch=function(e){return this.then(null,e)},u.prototype.then=function(e,t){if("function"!=typeof e&&this.state===a||"function"!=typeof t&&this.state===s)return this;var r=new this.constructor(i);return this.state!==l?h(r,this.state===a?e:t,this.outcome):this.queue.push(new c(r,e,t)),r},c.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},c.prototype.otherCallFulfilled=function(e){h(this.promise,this.onFulfilled,e)},c.prototype.callRejected=function(e){o.reject(this.promise,e)},c.prototype.otherCallRejected=function(e){h(this.promise,this.onRejected,e)},o.resolve=function(e,t){var r=p(d,t);if("error"===r.status)return o.reject(e,r.value);var n=r.value;if(n)f(e,n);else{e.state=a,e.outcome=t;for(var i=-1,s=e.queue.length;++i<s;)e.queue[i].callFulfilled(t)}return e},o.reject=function(e,t){e.state=s,e.outcome=t;for(var r=-1,n=e.queue.length;++r<n;)e.queue[r].callRejected(t);return e},u.resolve=function(e){return e instanceof this?e:o.resolve(new this(i),e)},u.reject=function(e){var t=new this(i);return o.reject(t,e)},u.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);for(var s=Array(r),a=0,l=-1,u=new this(i);++l<r;)!function(e,i){t.resolve(e).then(function(e){s[i]=e,++a!==r||n||(n=!0,o.resolve(u,s))},function(e){n||(n=!0,o.reject(u,e))})}(e[l],l);return u},u.race=function(e){var t,r=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(TypeError("must be an array"));var n=e.length,s=!1;if(!n)return this.resolve([]);for(var a=-1,l=new this(i);++a<n;){t=e[a],r.resolve(t).then(function(e){s||(s=!0,o.resolve(l,e))},function(e){s||(s=!0,o.reject(l,e))})}return l}},346939,(e,t,r)=>{"use strict";t.exports={Promise:"u">typeof Promise?Promise:e.r(471425)}},368789,(e,t,r)=>{var n=e.i(985347);"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab="/ROOT/node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_supports-color@10.2.2__@opentelemetry+api@1.9.0_babel-pl_caf8dc5e225559de3f0b5dd32445772f/node_modules/next/dist/compiled/setimmediate/"),({189:function(){!function(e,t){"use strict";if(!e.setImmediate){var r,i,o,s,a,l=1,u={},c=!1,h=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"===({}).toString.call(e.process)?a=function(e){n.default.nextTick(function(){p(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?(r="setImmediate$"+Math.random()+"$",i=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(r)&&p(+t.data.slice(r.length))},e.addEventListener?e.addEventListener("message",i,!1):e.attachEvent("onmessage",i),a=function(t){e.postMessage(r+t,"*")}):e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){p(e.data)},a=function(e){o.port2.postMessage(e)}):h&&"onreadystatechange"in h.createElement("script")?(s=h.documentElement,a=function(e){var t=h.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,s.removeChild(t),t=null},s.appendChild(t)}):a=function(e){setTimeout(p,0,e)},d.setImmediate=function(e){"function"!=typeof e&&(e=Function(""+e));for(var t=Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var n={callback:e,args:t};return u[l]=n,a(l),l++},d.clearImmediate=f}function f(e){delete u[e]}function p(e){if(c)setTimeout(p,0,e);else{var r=u[e];if(r){c=!0;try{var n=r.callback,i=r.args;switch(i.length){case 0:n();break;case 1:n(i[0]);break;case 2:n(i[0],i[1]);break;case 3:n(i[0],i[1],i[2]);break;default:n.apply(t,i)}}finally{f(e),c=!1}}}}}("u"<typeof self?e.g:self)}})[189](),t.exports={}},563194,(e,t,r)=>{"use strict";var n=e.r(874213),i=e.r(145174),o=e.r(71053),s=e.r(346939);function a(e){return e}function l(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}e.r(368789),r.newBlob=function(e,t){r.checkSupport("blob");try{return new Blob([e],{type:t})}catch(r){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(e),n.getBlob(t)}catch(e){throw Error("Bug : can't construct the Blob.")}}};var u={stringifyByChunk:function(e,t,r){var n=[],i=0,o=e.length;if(o<=r)return String.fromCharCode.apply(null,e);for(;i<o;)"array"===t||"nodebuffer"===t?n.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+r,o)))):n.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+r,o)))),i+=r;return n.join("")},stringifyByChar:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},applyCanBeUsed:{uint8array:function(){try{return n.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return n.nodebuffer&&1===String.fromCharCode.apply(null,o.allocBuffer(1)).length}catch(e){return!1}}()}};function c(e){var t=65536,n=r.getTypeOf(e),i=!0;if("uint8array"===n?i=u.applyCanBeUsed.uint8array:"nodebuffer"===n&&(i=u.applyCanBeUsed.nodebuffer),i)for(;t>1;)try{return u.stringifyByChunk(e,n,t)}catch(e){t=Math.floor(t/2)}return u.stringifyByChar(e)}function h(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}r.applyFromCharCode=c;var d={};d.string={string:a,array:function(e){return l(e,Array(e.length))},arraybuffer:function(e){return d.string.uint8array(e).buffer},uint8array:function(e){return l(e,new Uint8Array(e.length))},nodebuffer:function(e){return l(e,o.allocBuffer(e.length))}},d.array={string:c,array:a,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.newBufferFrom(e)}},d.arraybuffer={string:function(e){return c(new Uint8Array(e))},array:function(e){return h(new Uint8Array(e),Array(e.byteLength))},arraybuffer:a,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.newBufferFrom(new Uint8Array(e))}},d.uint8array={string:c,array:function(e){return h(e,Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:a,nodebuffer:function(e){return o.newBufferFrom(e)}},d.nodebuffer={string:c,array:function(e){return h(e,Array(e.length))},arraybuffer:function(e){return d.nodebuffer.uint8array(e).buffer},uint8array:function(e){return h(e,new Uint8Array(e.length))},nodebuffer:a},r.transformTo=function(e,t){return(t||(t=""),e)?(r.checkSupport(e),d[r.getTypeOf(t)][e](t)):t},r.resolve=function(e){for(var t=e.split("/"),r=[],n=0;n<t.length;n++){var i=t[n];"."!==i&&(""!==i||0===n||n===t.length-1)&&(".."===i?r.pop():r.push(i))}return r.join("/")},r.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":n.nodebuffer&&o.isBuffer(e)?"nodebuffer":n.uint8array&&e instanceof Uint8Array?"uint8array":n.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},r.checkSupport=function(e){if(!n[e.toLowerCase()])throw Error(e+" is not supported by this platform")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(e){var t,r,n="";for(r=0;r<(e||"").length;r++)n+="\\x"+((t=e.charCodeAt(r))<16?"0":"")+t.toString(16).toUpperCase();return n},r.delay=function(e,t,r){setImmediate(function(){e.apply(r||null,t||[])})},r.inherits=function(e,t){var r=function(){};r.prototype=t.prototype,e.prototype=new r},r.extend=function(){var e,t,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===r[t]&&(r[t]=arguments[e][t]);return r},r.prepareContent=function(e,t,o,a,u){return s.Promise.resolve(t).then(function(e){return n.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"u">typeof FileReader?new s.Promise(function(t,r){var n=new FileReader;n.onload=function(e){t(e.target.result)},n.onerror=function(e){r(e.target.error)},n.readAsArrayBuffer(e)}):e}).then(function(t){var c,h,d=r.getTypeOf(t);return d?("arraybuffer"===d?t=r.transformTo("uint8array",t):"string"===d&&(u?t=i.decode(t):o&&!0!==a&&(c=t,h=null,h=n.uint8array?new Uint8Array(c.length):Array(c.length),t=l(c,h))),t):s.Promise.reject(Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},832704,(e,t,r)=>{"use strict";function n(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r<this._listeners[e].length;r++)this._listeners[e][r].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.end()}),e.on("error",function(e){t.error(e)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var e=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=n},558620,(e,t,r)=>{"use strict";for(var n=e.r(563194),i=e.r(874213),o=e.r(71053),s=e.r(832704),a=Array(256),l=0;l<256;l++)a[l]=l>=252?6:l>=248?5:l>=240?4:l>=224?3:l>=192?2:1;a[254]=a[254]=1;var u=function(e){var t,r,n,o,s,a=e.length,l=0;for(o=0;o<a;o++)(64512&(r=e.charCodeAt(o)))==55296&&o+1<a&&(64512&(n=e.charCodeAt(o+1)))==56320&&(r=65536+(r-55296<<10)+(n-56320),o++),l+=r<128?1:r<2048?2:r<65536?3:4;for(s=0,t=i.uint8array?new Uint8Array(l):Array(l),o=0;s<l;o++)(64512&(r=e.charCodeAt(o)))==55296&&o+1<a&&(64512&(n=e.charCodeAt(o+1)))==56320&&(r=65536+(r-55296<<10)+(n-56320),o++),r<128?t[s++]=r:(r<2048?t[s++]=192|r>>>6:(r<65536?t[s++]=224|r>>>12:(t[s++]=240|r>>>18,t[s++]=128|r>>>12&63),t[s++]=128|r>>>6&63),t[s++]=128|63&r);return t},c=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&(192&e[r])==128;)r--;return r<0||0===r?t:r+a[e[r]]>t?r:t},h=function(e){var t,r,i,o,s=e.length,l=Array(2*s);for(r=0,t=0;t<s;){if((i=e[t++])<128){l[r++]=i;continue}if((o=a[i])>4){l[r++]=65533,t+=o-1;continue}for(i&=2===o?31:3===o?15:7;o>1&&t<s;)i=i<<6|63&e[t++],o--;if(o>1){l[r++]=65533;continue}i<65536?l[r++]=i:(i-=65536,l[r++]=55296|i>>10&1023,l[r++]=56320|1023&i)}return l.length!==r&&(l.subarray?l=l.subarray(0,r):l.length=r),n.applyFromCharCode(l)};function d(){s.call(this,"utf-8 decode"),this.leftOver=null}function f(){s.call(this,"utf-8 encode")}r.utf8encode=function(e){return i.nodebuffer?o.newBufferFrom(e,"utf-8"):u(e)},r.utf8decode=function(e){return i.nodebuffer?n.transformTo("nodebuffer",e).toString("utf-8"):h(e=n.transformTo(i.uint8array?"uint8array":"array",e))},n.inherits(d,s),d.prototype.processChunk=function(e){var t=n.transformTo(i.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var o=t;(t=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),t.set(o,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var s=c(t),a=t;s!==t.length&&(i.uint8array?(a=t.subarray(0,s),this.leftOver=t.subarray(s,t.length)):(a=t.slice(0,s),this.leftOver=t.slice(s,t.length))),this.push({data:r.utf8decode(a),meta:e.meta})},d.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=d,n.inherits(f,s),f.prototype.processChunk=function(e){this.push({data:r.utf8encode(e.data),meta:e.meta})},r.Utf8EncodeWorker=f},709192,(e,t,r)=>{"use strict";var n=e.r(832704),i=e.r(563194);function o(e){n.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(o,n),o.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=o},383450,(e,t,r)=>{"use strict";var n=e.r(259873).Readable;function i(e,t,r){n.call(this,t),this._helper=e;var i=this;e.on("data",function(e,t){i.push(e)||i._helper.pause(),r&&r(t)}).on("error",function(e){i.emit("error",e)}).on("end",function(){i.push(null)})}e.r(563194).inherits(i,n),i.prototype._read=function(){this._helper.resume()},t.exports=i},977405,(e,t,r)=>{"use strict";var n=e.i(893113),i=e.r(563194),o=e.r(709192),s=e.r(832704),a=e.r(145174),l=e.r(874213),u=e.r(346939),c=null;if(l.nodestream)try{c=e.r(383450)}catch(e){}function h(e,t,r){var n=t;switch(t){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=t,this._mimeType=r,i.checkSupport(n),this._worker=e.pipe(new o(n)),e.lock()}catch(e){this._worker=new s("error"),this._worker.error(e)}}h.prototype={accumulate:function(e){var t;return t=this,new u.Promise(function(r,o){var s=[],l=t._internalType,u=t._outputType,c=t._mimeType;t.on("data",function(t,r){s.push(t),e&&e(r)}).on("error",function(e){s=[],o(e)}).on("end",function(){try{var e=function(e,t,r){switch(e){case"blob":return i.newBlob(i.transformTo("arraybuffer",t),r);case"base64":return a.encode(t);default:return i.transformTo(e,t)}}(u,function(e,t){var r,i=0,o=null,s=0;for(r=0;r<t.length;r++)s+=t[r].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(r=0,o=new Uint8Array(s);r<t.length;r++)o.set(t[r],i),i+=t[r].length;return o;case"nodebuffer":return n.Buffer.concat(t);default:throw Error("concat : unsupported type '"+e+"'")}}(l,s),c);r(e)}catch(e){o(e)}s=[]}).resume()})},on:function(e,t){var r=this;return"data"===e?this._worker.on(e,function(e){t.call(r,e.data,e.meta)}):this._worker.on(e,function(){i.delay(t,arguments,r)}),this},resume:function(){return i.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(i.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw Error(this._outputType+" is not supported by this method");return new c(this,{objectMode:"nodebuffer"!==this._outputType},e)}},t.exports=h},424328,(e,t,r)=>{"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},838965,(e,t,r)=>{"use strict";var n=e.r(563194),i=e.r(832704);function o(e){i.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=n.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}n.inherits(o,i),o.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=o},265915,(e,t,r)=>{"use strict";var n=e.r(563194),i=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?0xedb88320^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==n.getTypeOf(e)?function(e,t,r,n){var o=0+r;e^=-1;for(var s=0;s<o;s++)e=e>>>8^i[(e^t[s])&255];return -1^e}(0|t,e,e.length,0):function(e,t,r,n){var o=0+r;e^=-1;for(var s=0;s<o;s++)e=e>>>8^i[(e^t.charCodeAt(s))&255];return -1^e}(0|t,e,e.length,0):0}},609672,(e,t,r)=>{"use strict";var n=e.r(832704),i=e.r(265915);function o(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e.r(563194).inherits(o,n),o.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=o},574653,(e,t,r)=>{"use strict";var n=e.r(563194),i=e.r(832704);function o(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}n.inherits(o,i),o.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=o},659902,(e,t,r)=>{"use strict";var n=e.r(346939),i=e.r(838965),o=e.r(609672),s=e.r(574653);function a(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}a.prototype={getContentWorker:function(){var e=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new s("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},a.createWorkerFrom=function(e,t,r){return e.pipe(new o).pipe(new s("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new s("compressedSize")).withStreamInfo("compression",t)},t.exports=a},91010,(e,t,r)=>{"use strict";var n=e.r(977405),i=e.r(838965),o=e.r(558620),s=e.r(659902),a=e.r(832704),l=function(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}};l.prototype={internalStream:function(e){var t=null,r="string";try{if(!e)throw Error("No output type specified.");r=e.toLowerCase();var i="string"===r||"text"===r;("binarystring"===r||"text"===r)&&(r="string"),t=this._decompressWorker();var s=!this._dataBinary;s&&!i&&(t=t.pipe(new o.Utf8EncodeWorker)),!s&&i&&(t=t.pipe(new o.Utf8DecodeWorker))}catch(e){(t=new a("error")).error(e)}return new n(t,r,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof s&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new o.Utf8EncodeWorker)),s.createWorkerFrom(r,e,t)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof a?this._data:new i(this._data)}};for(var u=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],c=function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},h=0;h<u.length;h++)l.prototype[u[h]]=c;t.exports=l},577627,(e,t,r)=>{"use strict";var n=e.r(92775),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var s=new n.Buf8(256),a=0;a<256;a++)s[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;function l(e,t){if(t<65534&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",s=0;s<t;s++)r+=String.fromCharCode(e[s]);return r}s[254]=s[254]=1,r.string2buf=function(e){var t,r,i,o,s,a=e.length,l=0;for(o=0;o<a;o++)(64512&(r=e.charCodeAt(o)))==55296&&o+1<a&&(64512&(i=e.charCodeAt(o+1)))==56320&&(r=65536+(r-55296<<10)+(i-56320),o++),l+=r<128?1:r<2048?2:r<65536?3:4;for(s=0,t=new n.Buf8(l),o=0;s<l;o++)(64512&(r=e.charCodeAt(o)))==55296&&o+1<a&&(64512&(i=e.charCodeAt(o+1)))==56320&&(r=65536+(r-55296<<10)+(i-56320),o++),r<128?t[s++]=r:(r<2048?t[s++]=192|r>>>6:(r<65536?t[s++]=224|r>>>12:(t[s++]=240|r>>>18,t[s++]=128|r>>>12&63),t[s++]=128|r>>>6&63),t[s++]=128|63&r);return t},r.buf2binstring=function(e){return l(e,e.length)},r.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,i=t.length;r<i;r++)t[r]=e.charCodeAt(r);return t},r.buf2string=function(e,t){var r,n,i,o,a=t||e.length,u=Array(2*a);for(n=0,r=0;r<a;){if((i=e[r++])<128){u[n++]=i;continue}if((o=s[i])>4){u[n++]=65533,r+=o-1;continue}for(i&=2===o?31:3===o?15:7;o>1&&r<a;)i=i<<6|63&e[r++],o--;if(o>1){u[n++]=65533;continue}i<65536?u[n++]=i:(i-=65536,u[n++]=55296|i>>10&1023,u[n++]=56320|1023&i)}return l(u,n)},r.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&(192&e[r])==128;)r--;return r<0||0===r?t:r+s[e[r]]>t?r:t}},85381,(e,t,r)=>{"use strict";var n=e.r(339160),i=e.r(92775),o=e.r(577627),s=e.r(91360),a=e.r(976929),l=Object.prototype.toString;function u(e){if(!(this instanceof u))return new u(e);this.options=i.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t,r=this.options;r.raw&&r.windowBits>0?r.windowBits=-r.windowBits:r.gzip&&r.windowBits>0&&r.windowBits<16&&(r.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var c=n.deflateInit2(this.strm,r.level,r.method,r.windowBits,r.memLevel,r.strategy);if(0!==c)throw Error(s[c]);if(r.header&&n.deflateSetHeader(this.strm,r.header),r.dictionary){if(t="string"==typeof r.dictionary?o.string2buf(r.dictionary):"[object ArrayBuffer]"===l.call(r.dictionary)?new Uint8Array(r.dictionary):r.dictionary,0!==(c=n.deflateSetDictionary(this.strm,t)))throw Error(s[c]);this._dict_set=!0}}function c(e,t){var r=new u(t);if(r.push(e,!0),r.err)throw r.msg||s[r.err];return r.result}u.prototype.push=function(e,t){var r,s,a=this.strm,u=this.options.chunkSize;if(this.ended)return!1;s=t===~~t?t:4*(!0===t),"string"==typeof e?a.input=o.string2buf(e):"[object ArrayBuffer]"===l.call(e)?a.input=new Uint8Array(e):a.input=e,a.next_in=0,a.avail_in=a.input.length;do{if(0===a.avail_out&&(a.output=new i.Buf8(u),a.next_out=0,a.avail_out=u),1!==(r=n.deflate(a,s))&&0!==r)return this.onEnd(r),this.ended=!0,!1;(0===a.avail_out||0===a.avail_in&&(4===s||2===s))&&("string"===this.options.to?this.onData(o.buf2binstring(i.shrinkBuf(a.output,a.next_out))):this.onData(i.shrinkBuf(a.output,a.next_out)))}while((a.avail_in>0||0===a.avail_out)&&1!==r)return 4===s?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):(2===s&&(this.onEnd(0),a.avail_out=0),!0)},u.prototype.onData=function(e){this.chunks.push(e)},u.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Deflate=u,r.deflate=c,r.deflateRaw=function(e,t){return(t=t||{}).raw=!0,c(e,t)},r.gzip=function(e,t){return(t=t||{}).gzip=!0,c(e,t)}},720549,(e,t,r)=>{"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},198678,(e,t,r)=>{"use strict";var n=e.r(210929),i=e.r(92775),o=e.r(577627),s=e.r(249156),a=e.r(91360),l=e.r(976929),u=e.r(720549),c=Object.prototype.toString;function h(e){if(!(this instanceof h))return new h(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(15&t.windowBits)==0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==s.Z_OK||(this.header=new u,n.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=o.string2buf(t.dictionary):"[object ArrayBuffer]"===c.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw)&&(r=n.inflateSetDictionary(this.strm,t.dictionary))!==s.Z_OK))throw Error(a[r])}function d(e,t){var r=new h(t);if(r.push(e,!0),r.err)throw r.msg||a[r.err];return r.result}h.prototype.push=function(e,t){var r,a,l,u,h,d=this.strm,f=this.options.chunkSize,p=this.options.dictionary,y=!1;if(this.ended)return!1;a=t===~~t?t:!0===t?s.Z_FINISH:s.Z_NO_FLUSH,"string"==typeof e?d.input=o.binstring2buf(e):"[object ArrayBuffer]"===c.call(e)?d.input=new Uint8Array(e):d.input=e,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new i.Buf8(f),d.next_out=0,d.avail_out=f),(r=n.inflate(d,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&p&&(r=n.inflateSetDictionary(this.strm,p)),r===s.Z_BUF_ERROR&&!0===y&&(r=s.Z_OK,y=!1),r!==s.Z_STREAM_END&&r!==s.Z_OK)return this.onEnd(r),this.ended=!0,!1;d.next_out&&(0===d.avail_out||r===s.Z_STREAM_END||0===d.avail_in&&(a===s.Z_FINISH||a===s.Z_SYNC_FLUSH))&&("string"===this.options.to?(l=o.utf8border(d.output,d.next_out),u=d.next_out-l,h=o.buf2string(d.output,l),d.next_out=u,d.avail_out=f-u,u&&i.arraySet(d.output,d.output,l,u,0),this.onData(h)):this.onData(i.shrinkBuf(d.output,d.next_out))),0===d.avail_in&&0===d.avail_out&&(y=!0)}while((d.avail_in>0||0===d.avail_out)&&r!==s.Z_STREAM_END)return(r===s.Z_STREAM_END&&(a=s.Z_FINISH),a===s.Z_FINISH)?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===s.Z_OK):(a===s.Z_SYNC_FLUSH&&(this.onEnd(s.Z_OK),d.avail_out=0),!0)},h.prototype.onData=function(e){this.chunks.push(e)},h.prototype.onEnd=function(e){e===s.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Inflate=h,r.inflate=d,r.inflateRaw=function(e,t){return(t=t||{}).raw=!0,d(e,t)},r.ungzip=d},995767,(e,t,r)=>{"use strict";var n=e.r(92775).assign,i=e.r(85381),o=e.r(198678),s=e.r(249156),a={};n(a,i,o,s),t.exports=a},379343,(e,t,r)=>{"use strict";var n="u">typeof Uint8Array&&"u">typeof Uint16Array&&"u">typeof Uint32Array,i=e.r(995767),o=e.r(563194),s=e.r(832704),a=n?"uint8array":"array";function l(e,t){s.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}r.magic="\b\0",o.inherits(l,s),l.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(a,e.data),!1)},l.prototype.flush=function(){s.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(e){return new l("Deflate",e)},r.uncompressWorker=function(){return new l("Inflate",{})}},757252,(e,t,r)=>{"use strict";var n=e.r(832704);r.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=e.r(379343)},812594,(e,t,r)=>{"use strict";r.LOCAL_FILE_HEADER="PK\x03\x04",r.CENTRAL_FILE_HEADER="PK\x01\x02",r.CENTRAL_DIRECTORY_END="PK\x05\x06",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",r.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",r.DATA_DESCRIPTOR="PK\x07\b"},736203,(e,t,r)=>{"use strict";var n=e.r(563194),i=e.r(832704),o=e.r(558620),s=e.r(265915),a=e.r(812594),l=function(e,t){var r,n="";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n},u=function(e,t){var r=e;return e||(r=t?16893:33204),(65535&r)<<16},c=function(e,t,r,i,c,h){var d,f,p=e.file,y=e.compression,g=h!==o.utf8encode,m=n.transformTo("string",h(p.name)),b=n.transformTo("string",o.utf8encode(p.name)),v=p.comment,w=n.transformTo("string",h(v)),S=n.transformTo("string",o.utf8encode(v)),_=b.length!==p.name.length,E=S.length!==v.length,O="",x="",A="",j=p.dir,C=p.date,k={crc32:0,compressedSize:0,uncompressedSize:0};(!t||r)&&(k.crc32=e.crc32,k.compressedSize=e.compressedSize,k.uncompressedSize=e.uncompressedSize);var P=0;t&&(P|=8),!g&&(_||E)&&(P|=2048);var T=0,R=0;(j&&(T|=16),"UNIX"===c)?(R=798,T|=u(p.unixPermissions,j)):(R=20,T|=63&(p.dosPermissions||0)),d=(C.getUTCHours()<<6|C.getUTCMinutes())<<5|C.getUTCSeconds()/2,f=(C.getUTCFullYear()-1980<<4|C.getUTCMonth()+1)<<5|C.getUTCDate(),_&&(x=l(1,1)+l(s(m),4)+b,O+="up"+l(x.length,2)+x),E&&(A=l(1,1)+l(s(w),4)+S,O+="uc"+l(A.length,2)+A);var I="";return I+="\n\0",I+=l(P,2),I+=y.magic,I+=l(d,2),I+=l(f,2),I+=l(k.crc32,4),I+=l(k.compressedSize,4),I+=l(k.uncompressedSize,4),I+=l(m.length,2),I+=l(O.length,2),{fileRecord:a.LOCAL_FILE_HEADER+I+m+O,dirRecord:a.CENTRAL_FILE_HEADER+l(R,2)+I+l(w.length,2)+"\0\0\0\0"+l(T,4)+l(i,4)+m+O+w}},h=function(e,t,r,i,o){var s=n.transformTo("string",o(i));return a.CENTRAL_DIRECTORY_END+"\0\0\0\0"+l(e,2)+l(e,2)+l(t,4)+l(r,4)+l(s.length,2)+s},d=function(e){return a.DATA_DESCRIPTOR+l(e.crc32,4)+l(e.compressedSize,4)+l(e.uncompressedSize,4)};function f(e,t,r,n){i.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(f,i),f.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,i.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))},f.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=c(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},f.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=c(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:d(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},f.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var r=this.bytesWritten-e,n=h(this.dirRecords.length,r,e,this.zipComment,this.encodeFileName);this.push({data:n,meta:{percent:100}})},f.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},f.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on("error",function(e){t.error(e)}),this},f.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},f.prototype.error=function(e){var t=this._sources;if(!i.prototype.error.call(this,e))return!1;for(var r=0;r<t.length;r++)try{t[r].error(e)}catch(e){}return!0},f.prototype.lock=function(){i.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=f},385421,(e,t,r)=>{"use strict";var n=e.r(757252),i=e.r(736203),o=function(e,t){var r=e||t,i=n[r];if(!i)throw Error(r+" is not a valid compression method !");return i};r.generateWorker=function(e,t,r){var n=new i(t.streamFiles,r,t.platform,t.encodeFileName),s=0;try{e.forEach(function(e,r){s++;var i=o(r.options.compression,t.compression),a=r.options.compressionOptions||t.compressionOptions||{},l=r.dir,u=r.date;r._compressWorker(i,a).withStreamInfo("file",{name:e,dir:l,date:u,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(n)}),n.entriesCount=s}catch(e){n.error(e)}return n}},193056,(e,t,r)=>{"use strict";var n=e.r(563194),i=e.r(832704);function o(e,t){i.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}n.inherits(o,i),o.prototype._bindStream=function(e){var t=this;this._stream=e,e.pause(),e.on("data",function(e){t.push({data:e,meta:{percent:0}})}).on("error",function(e){t.isPaused?this.generatedError=e:t.error(e)}).on("end",function(){t.isPaused?t._upstreamEnded=!0:t.end()})},o.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=o},565053,(e,t,r)=>{"use strict";var n=e.r(558620),i=e.r(563194),o=e.r(832704),s=e.r(977405),a=e.r(424328),l=e.r(659902),u=e.r(91010),c=e.r(385421),h=e.r(71053),d=e.r(193056),f=function(e,t,r){var n,s=i.getTypeOf(t),c=i.extend(r||{},a);c.date=c.date||new Date,null!==c.compression&&(c.compression=c.compression.toUpperCase()),"string"==typeof c.unixPermissions&&(c.unixPermissions=parseInt(c.unixPermissions,8)),c.unixPermissions&&16384&c.unixPermissions&&(c.dir=!0),c.dosPermissions&&16&c.dosPermissions&&(c.dir=!0),c.dir&&(e=y(e)),c.createFolders&&(n=p(e))&&g.call(this,n,!0);var f="string"===s&&!1===c.binary&&!1===c.base64;r&&void 0!==r.binary||(c.binary=!f),(t instanceof l&&0===t.uncompressedSize||c.dir||!t||0===t.length)&&(c.base64=!1,c.binary=!0,t="",c.compression="STORE",s="string");var m=null;m=t instanceof l||t instanceof o?t:h.isNode&&h.isStream(t)?new d(e,t):i.prepareContent(e,t,c.binary,c.optimizedBinaryString,c.base64);var b=new u(e,m,c);this.files[e]=b},p=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},y=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},g=function(e,t){return t=void 0!==t?t:a.createFolders,e=y(e),this.files[e]||f.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function m(e){return"[object RegExp]"===Object.prototype.toString.call(e)}t.exports={load:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,n;for(t in this.files)n=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,n)},filter:function(e){var t=[];return this.forEach(function(r,n){e(r,n)&&t.push(n)}),t},file:function(e,t,r){if(1==arguments.length)if(m(e)){var n=e;return this.filter(function(e,t){return!t.dir&&n.test(e)})}else{var i=this.files[this.root+e];return i&&!i.dir?i:null}return e=this.root+e,f.call(this,e,t,r),this},folder:function(e){if(!e)return this;if(m(e))return this.filter(function(t,r){return r.dir&&e.test(t)});var t=this.root+e,r=g.call(this,t),n=this.clone();return n.root=r.name,n},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var r=this.filter(function(t,r){return r.name.slice(0,e.length)===e}),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,r={};try{if((r=i.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:n.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw Error("No output type specified.");i.checkSupport(r.type),("darwin"===r.platform||"freebsd"===r.platform||"linux"===r.platform||"sunos"===r.platform)&&(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var a=r.comment||this.comment||"";t=c.generateWorker(this,r,a)}catch(e){(t=new o("error")).error(e)}return new s(t,r.type||"string",r.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}}},673378,(e,t,r)=>{"use strict";var n=e.r(563194);function i(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return n.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC((e>>25&127)+1980,(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},832974,(e,t,r)=>{"use strict";var n=e.r(673378);function i(e){n.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e.r(563194).inherits(i,n),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),o=this.length-4;o>=0;--o)if(this.data[o]===t&&this.data[o+1]===r&&this.data[o+2]===n&&this.data[o+3]===i)return o-this.zero;return -1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),o=this.readData(4);return t===o[0]&&r===o[1]&&n===o[2]&&i===o[3]},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},781182,(e,t,r)=>{"use strict";var n=e.r(673378);function i(e){n.call(this,e)}e.r(563194).inherits(i,n),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},387999,(e,t,r)=>{"use strict";var n=e.r(832974);function i(e){n.call(this,e)}e.r(563194).inherits(i,n),i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},841261,(e,t,r)=>{"use strict";var n=e.r(387999);function i(e){n.call(this,e)}e.r(563194).inherits(i,n),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},634873,(e,t,r)=>{"use strict";var n=e.r(563194),i=e.r(874213),o=e.r(832974),s=e.r(781182),a=e.r(841261),l=e.r(387999);t.exports=function(e){var t=n.getTypeOf(e);return(n.checkSupport(t),"string"!==t||i.uint8array)?"nodebuffer"===t?new a(e):i.uint8array?new l(n.transformTo("uint8array",e)):new o(n.transformTo("array",e)):new s(e)}},180515,(e,t,r)=>{"use strict";var n=e.r(634873),i=e.r(563194),o=e.r(659902),s=e.r(265915),a=e.r(558620),l=e.r(757252),u=e.r(874213),c=function(e){for(var t in l)if(Object.prototype.hasOwnProperty.call(l,t)&&l[t].magic===e)return l[t];return null};function h(e,t){this.options=e,this.loadOptions=t}h.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=c(this.compressionMethod)))throw Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===e&&(this.dosPermissions=63&this.externalFileAttributes),3===e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,r,n,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),r=e.readInt(2),n=e.readData(r),this.extraFields[t]={id:t,length:r,value:n};e.setIndex(i)},handleUTF8:function(){var e=u.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=a.utf8decode(this.fileName),this.fileCommentStr=a.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var r=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var o=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=n(e.value);return 1!==t.readInt(1)||s(this.fileName)!==t.readInt(4)?null:a.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=n(e.value);return 1!==t.readInt(1)||s(this.fileComment)!==t.readInt(4)?null:a.utf8decode(t.readData(e.length-5))}return null}},t.exports=h},846708,(e,t,r)=>{"use strict";var n=e.r(634873),i=e.r(563194),o=e.r(812594),s=e.r(180515),a=e.r(874213);function l(e){this.files=[],this.loadOptions=e}l.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw Error("Corrupted zip or bug: unexpected signature ("+i.pretty(t)+", expected "+i.pretty(e)+")")}},isSignature:function(e,t){var r=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4);return this.reader.setIndex(r),n===t},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=a.uint8array?"uint8array":"array",r=i.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,r,n=this.zip64EndOfCentralSize-44;0<n;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(e=new s({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(e<0){if(!this.isSignature(0,o.LOCAL_FILE_HEADER))throw Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");throw Error("Corrupted zip: can't find end of central directory")}this.reader.setIndex(e);var t=e;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=t-r;if(n>0)this.isSignature(t,o.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(e){this.reader=n(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=l},553928,(e,t,r)=>{"use strict";var n=e.r(563194),i=e.r(346939),o=e.r(558620),s=e.r(846708),a=e.r(609672),l=e.r(71053);t.exports=function(e,t){var r=this;return(t=n.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),l.isNode&&l.isStream(e))?i.Promise.reject(Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(e){var r=new s(t);return r.load(e),r}).then(function(e){var r=[i.Promise.resolve(e)],n=e.files;if(t.checkCRC32)for(var o=0;o<n.length;o++)r.push(function(e){return new i.Promise(function(t,r){var n=e.decompressed.getContentWorker().pipe(new a);n.on("error",function(e){r(e)}).on("end",function(){n.streamInfo.crc32!==e.decompressed.crc32?r(Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}(n[o]));return i.Promise.all(r)}).then(function(e){for(var i=e.shift(),o=i.files,s=0;s<o.length;s++){var a=o[s],l=a.fileNameStr,u=n.resolve(a.fileNameStr);r.file(u,a.decompressed,{binary:!0,optimizedBinaryString:!0,date:a.date,dir:a.dir,comment:a.fileCommentStr.length?a.fileCommentStr:null,unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions,createFolders:t.createFolders}),a.dir||(r.file(u).unsafeOriginalName=l)}return i.zipComment.length&&(r.comment=i.zipComment),r})}},65666,(e,t,r)=>{"use strict";function n(){if(!(this instanceof n))return new n;if(arguments.length)throw Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new n;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}n.prototype=e.r(565053),n.prototype.loadAsync=e.r(553928),n.support=e.r(874213),n.defaults=e.r(424328),n.version="3.10.1",n.loadAsync=function(e,t){return new n().loadAsync(e,t)},n.external=e.r(346939),t.exports=n},576153,e=>{"use strict";var t=e.i(926766),r=e.i(674809),n=e.i(675796),i=e.i(873921);e.i(985347);let o=i.createContext(null);function s(){return i.useContext(o)}let a="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",l=function(e){let{children:r,theme:n}=e,l=s(),u=i.useMemo(()=>{var e,t;let r=null===l?{...n}:(e=l,"function"==typeof(t=n)?t(e):{...e,...t});return null!=r&&(r[a]=null!==l),r},[n,l]);return(0,t.jsx)(o.Provider,{value:u,children:r})};var u=e.i(286439),c=e.i(630505),h=e.i(777290),d=e.i(99907),f=e.i(800599),p=e.i(451133),y=e.i(344971);let g={};function m(e,t,r,n=!1){return i.useMemo(()=>{let i=e&&t[e]||t;if("function"==typeof r){let o=r(i),s=e?{...t,[e]:o}:o;return n?()=>s:s}return e?{...t,[e]:r}:{...t,...r}},[e,t,r,n])}let b=function(e){let{children:r,theme:n,themeId:i}=e,o=(0,c.default)(g),a=s()||g,b=m(i,o,n),v=m(i,a,n,!0),w="rtl"===(i?b[i]:b).direction,S=function(e){let r=(0,c.default)(),n=(0,p.default)()||"",{modularCssLayers:i}=e,o="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return(o=i&&null===r?"string"==typeof i?i.replace(/mui(?!\.)/g,o):`@layer ${o};`:"",(0,f.default)(()=>{let e=document.querySelector("head");if(!e)return;let t=e.firstChild;if(o){if(t&&t.hasAttribute?.("data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===n)return;let r=document.createElement("style");r.setAttribute("data-mui-layer-order",n),r.textContent=o,e.prepend(r)}else e.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[o,n]),o)?(0,t.jsx)(y.default,{styles:o}):null}(b);return(0,t.jsx)(l,{theme:v,children:(0,t.jsx)(u.ThemeContext.Provider,{value:b,children:(0,t.jsx)(h.default,{value:w,children:(0,t.jsxs)(d.default,{value:i?b[i].components:b.components,children:[S,r]})})})})};var v=e.i(942248);function w({theme:e,...r}){let n=v.default in e?e[v.default]:void 0;return(0,t.jsx)(b,{...r,themeId:n?v.default:void 0,theme:n||e})}var S=e.i(537301),_=e.i(321641);let E="mode",O="color-scheme";function x(){}({...i}).useSyncExternalStore;let A=({key:e,storageWindow:t})=>(!t&&"u">typeof window&&(t=window),{get(r){let n;if("u">typeof window){if(!t)return r;try{n=t.localStorage.getItem(e)}catch{}return n||r}},set:r=>{if(t)try{t.localStorage.setItem(e,r)}catch{}},subscribe:r=>{if(!t)return x;let n=t=>{let n=t.newValue;t.key===e&&r(n)};return t.addEventListener("storage",n),()=>{t.removeEventListener("storage",n)}}});function j(){}function C(e){if("u">typeof window&&"function"==typeof window.matchMedia&&"system"===e)return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function k(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}var P=e.i(828782),T=e.i(614278);let{CssVarsProvider:R,useColorScheme:I,getInitColorSchemeScript:M}=function(e){let{themeId:r,theme:n={},modeStorageKey:o=E,colorSchemeStorageKey:a=O,disableTransitionOnChange:l=!1,defaultColorScheme:u,resolveTheme:c}=e,h={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},d=i.createContext(void 0),p={},y={},g="string"==typeof u?u:u.light,m="string"==typeof u?u:u.dark;return{CssVarsProvider:function(e){let{children:h,theme:g,modeStorageKey:m=o,colorSchemeStorageKey:v=a,disableTransitionOnChange:w=l,storageManager:S,storageWindow:x="u"<typeof window?void 0:window,documentNode:P="u"<typeof document?void 0:document,colorSchemeNode:T="u"<typeof document?void 0:document.documentElement,disableNestedContext:R=!1,disableStyleSheetGeneration:I=!1,defaultMode:M="system",forceThemeRerender:B=!1,noSsr:D}=e,N=i.useRef(!1),F=s(),L=i.useContext(d),U=!!L&&!R,z=i.useMemo(()=>g||("function"==typeof n?n():n),[g]),$=z[r],W=$||z,{colorSchemes:q=p,components:H=y,cssVarPrefix:V}=W,Z=Object.keys(q).filter(e=>!!q[e]).join(","),G=i.useMemo(()=>Z.split(","),[Z]),K="string"==typeof u?u:u.light,J="string"==typeof u?u:u.dark,Y=q[K]&&q[J]?M:q[W.defaultColorScheme]?.palette?.mode||W.palette?.mode,{mode:X,setMode:Q,systemMode:ee,lightColorScheme:et,darkColorScheme:er,colorScheme:en,setColorScheme:ei}=function(e){let{defaultMode:t="light",defaultLightColorScheme:r,defaultDarkColorScheme:n,supportedColorSchemes:o=[],modeStorageKey:s=E,colorSchemeStorageKey:a=O,storageWindow:l="u"<typeof window?void 0:window,storageManager:u=A,noSsr:c=!1}=e,h=o.join(","),d=o.length>1,f=i.useMemo(()=>u?.({key:s,storageWindow:l}),[u,s,l]),p=i.useMemo(()=>u?.({key:`${a}-light`,storageWindow:l}),[u,a,l]),y=i.useMemo(()=>u?.({key:`${a}-dark`,storageWindow:l}),[u,a,l]),[g,m]=i.useState(()=>{let e=f?.get(t)||t,i=p?.get(r)||r,o=y?.get(n)||n;return{mode:e,systemMode:C(e),lightColorScheme:i,darkColorScheme:o}}),[b,v]=i.useState(c||!d);i.useEffect(()=>{v(!0)},[]);let w=k(g,e=>"light"===e?g.lightColorScheme:"dark"===e?g.darkColorScheme:void 0),S=i.useCallback(e=>{m(r=>{if(e===r.mode)return r;let n=e??t;return f?.set(n),{...r,mode:n,systemMode:C(n)}})},[f,t]),_=i.useCallback(e=>{e?"string"==typeof e?e&&!h.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):m(t=>{let r={...t};return k(t,t=>{"light"===t&&(p?.set(e),r.lightColorScheme=e),"dark"===t&&(y?.set(e),r.darkColorScheme=e)}),r}):m(t=>{let i={...t},o=null===e.light?r:e.light,s=null===e.dark?n:e.dark;return o&&(h.includes(o)?(i.lightColorScheme=o,p?.set(o)):console.error(`\`${o}\` does not exist in \`theme.colorSchemes\`.`)),s&&(h.includes(s)?(i.darkColorScheme=s,y?.set(s)):console.error(`\`${s}\` does not exist in \`theme.colorSchemes\`.`)),i}):m(e=>(p?.set(r),y?.set(n),{...e,lightColorScheme:r,darkColorScheme:n}))},[h,p,y,r,n]),x=i.useCallback(e=>{"system"===g.mode&&m(t=>{let r=e?.matches?"dark":"light";return t.systemMode===r?t:{...t,systemMode:r}})},[g.mode]),P=i.useRef(x);return P.current=x,i.useEffect(()=>{if("function"!=typeof window.matchMedia||!d)return;let e=(...e)=>P.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}},[d]),i.useEffect(()=>{if(d){let e=f?.subscribe(e=>{(!e||["light","dark","system"].includes(e))&&S(e||t)})||j,r=p?.subscribe(e=>{(!e||h.match(e))&&_({light:e})})||j,n=y?.subscribe(e=>{(!e||h.match(e))&&_({dark:e})})||j;return()=>{e(),r(),n()}}},[_,S,h,t,l,d,f,p,y]),{...g,mode:b?g.mode:void 0,systemMode:b?g.systemMode:void 0,colorScheme:b?w:void 0,setMode:S,setColorScheme:_}}({supportedColorSchemes:G,defaultLightColorScheme:K,defaultDarkColorScheme:J,modeStorageKey:m,colorSchemeStorageKey:v,defaultMode:Y,storageManager:S,storageWindow:x,noSsr:D}),eo=X,es=en;U&&(eo=L.mode,es=L.colorScheme);let ea=es||W.defaultColorScheme;W.vars&&!B&&(ea=W.defaultColorScheme);let el=i.useMemo(()=>{let e=W.generateThemeVars?.()||W.vars,t={...W,components:H,colorSchemes:q,cssVarPrefix:V,vars:e};if("function"==typeof t.generateSpacing&&(t.spacing=t.generateSpacing()),ea){let e=q[ea];e&&"object"==typeof e&&Object.keys(e).forEach(r=>{e[r]&&"object"==typeof e[r]?t[r]={...t[r],...e[r]}:t[r]=e[r]})}return c?c(t):t},[W,ea,H,q,V]),eu=W.colorSchemeSelector;(0,f.default)(()=>{if(es&&T&&eu&&"media"!==eu){let e=eu;if("class"===eu&&(e=".%s"),"data"===eu&&(e="[data-%s]"),eu?.startsWith("data-")&&!eu.includes("%s")&&(e=`[${eu}="%s"]`),e.startsWith("."))T.classList.remove(...G.map(t=>e.substring(1).replace("%s",t))),T.classList.add(e.substring(1).replace("%s",es));else{let t=e.replace("%s",es).match(/\[([^\]]+)\]/);if(t){let[e,r]=t[1].split("=");r||G.forEach(t=>{T.removeAttribute(e.replace(es,t))}),T.setAttribute(e,r?r.replace(/"|'/g,""):"")}else T.setAttribute(e,es)}}},[es,eu,T,G]),i.useEffect(()=>{let e;if(w&&N.current&&P){let t=P.createElement("style");t.appendChild(P.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),P.head.appendChild(t),window.getComputedStyle(P.body),e=setTimeout(()=>{P.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[es,w,P]),i.useEffect(()=>(N.current=!0,()=>{N.current=!1}),[]);let ec=i.useMemo(()=>({allColorSchemes:G,colorScheme:es,darkColorScheme:er,lightColorScheme:et,mode:eo,setColorScheme:ei,setMode:Q,systemMode:ee}),[G,es,er,et,eo,ei,Q,ee,el.colorSchemeSelector]),eh=!0;(I||!1===W.cssVariables||U&&F?.cssVarPrefix===V)&&(eh=!1);let ed=(0,t.jsxs)(i.Fragment,{children:[(0,t.jsx)(b,{themeId:$?r:void 0,theme:el,children:h}),eh&&(0,t.jsx)(_.GlobalStyles,{styles:el.generateStyleSheets?.()||[]})]});return U?ed:(0,t.jsx)(d.Provider,{value:ec,children:ed})},useColorScheme:()=>i.useContext(d)||h,getInitColorSchemeScript:e=>(function(e){let{defaultMode:r="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:i="dark",modeStorageKey:o=E,colorSchemeStorageKey:s=O,attribute:a="data-color-scheme",colorSchemeNode:l="document.documentElement",nonce:u}=e||{},c="",h=a;if("class"===a&&(h=".%s"),"data"===a&&(h="[data-%s]"),h.startsWith(".")){let e=h.substring(1);c+=`${l}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));
2
+ ${l}.classList.add('${e}'.replace('%s', colorScheme));`}let d=h.match(/\[([^[\]]+)\]/);if(d){let[e,t]=d[1].split("=");t||(c+=`${l}.removeAttribute('${e}'.replace('%s', light));
3
+ ${l}.removeAttribute('${e}'.replace('%s', dark));`),c+=`
4
+ ${l}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:'""'});`}else".%s"!==h&&(c+=`${l}.setAttribute('${h}', colorScheme);`);return(0,t.jsx)("script",{suppressHydrationWarning:!0,nonce:"u"<typeof window?u:"",dangerouslySetInnerHTML:{__html:`(function() {
5
+ try {
6
+ let colorScheme = '';
7
+ const mode = localStorage.getItem('${o}') || '${r}';
8
+ const dark = localStorage.getItem('${s}-dark') || '${i}';
9
+ const light = localStorage.getItem('${s}-light') || '${n}';
10
+ if (mode === 'system') {
11
+ // handle system mode
12
+ const mql = window.matchMedia('(prefers-color-scheme: dark)');
13
+ if (mql.matches) {
14
+ colorScheme = dark
15
+ } else {
16
+ colorScheme = light
17
+ }
18
+ }
19
+ if (mode === 'light') {
20
+ colorScheme = light;
21
+ }
22
+ if (mode === 'dark') {
23
+ colorScheme = dark;
24
+ }
25
+ if (colorScheme) {
26
+ ${c}
27
+ }
28
+ } catch(e){}})();`}},"mui-color-scheme-init")})({colorSchemeStorageKey:a,defaultLightColorScheme:g,defaultDarkColorScheme:m,modeStorageKey:o,...e})}}({themeId:v.default,theme:()=>(0,P.default)({cssVariables:!0}),colorSchemeStorageKey:"mui-color-scheme",modeStorageKey:"mui-mode",defaultColorScheme:{light:"light",dark:"dark"},resolveTheme:e=>{let t={...e,typography:(0,T.default)(e.palette,e.typography)};return t.unstable_sx=function(e){return(0,S.default)({sx:e,theme:this})},t}});function B({theme:e,...r}){let n=i.useMemo(()=>{if("function"==typeof e)return e;let t=v.default in e?e[v.default]:e;return"colorSchemes"in t?null:"vars"in t?e:{...e,vars:null}},[e]);return n?(0,t.jsx)(w,{theme:n,...r}):(0,t.jsx)(R,{theme:e,...r})}var D=e.i(503172),N=e.i(450825),N=N,F=e.i(810220);function L(e){let{options:r,CacheProvider:n=N.C,children:o}=e,[s]=i.useState(()=>{let e=(0,D.default)({...r,key:r?.key??"mui"});e.compat=!0;let t=e.insert,n=[];return e.insert=(...i)=>{r?.enableCssLayer&&!i[1].styles.match(/^@layer\s+[^{]*$/)&&(i[1].styles=`@layer mui {${i[1].styles}}`);let[o,s]=i;return void 0===e.inserted[s.name]&&n.push({name:s.name,isGlobal:!o}),t(...i)},{cache:e,flush:()=>{let e=n;return n=[],e}}});return(0,F.useServerInsertedHTML)(()=>{let e=s.flush();if(0===e.length)return null;let n="",o=s.cache.key,a=[];return e.forEach(({name:e,isGlobal:t})=>{let r=s.cache.inserted[e];"string"==typeof r&&(t?a.push({name:e,style:r}):(n+=r,o+=` ${e}`))}),(0,t.jsxs)(i.Fragment,{children:[a.map(({name:e,style:n})=>(0,t.jsx)("style",{nonce:r?.nonce,"data-emotion":`${s.cache.key}-global ${e}`,dangerouslySetInnerHTML:{__html:n}},e)),n&&(0,t.jsx)("style",{nonce:r?.nonce,"data-emotion":o,dangerouslySetInnerHTML:{__html:n}})]})}),(0,t.jsx)(n,{value:s.cache,children:o})}var U=e.i(454030),z=e.i(373662),$=e.i(323329);let W=async(t,r,n)=>{let{streamSimple:i}=await e.A(826428);return i(t,r,n)};var q=e.i(550105),H=e.i(977443),V=e.i(972377),Z=e.i(311307);function G(){let[e,r]=(0,i.useState)([]),[n,o]=(0,i.useState)(!1),s=(0,i.useRef)(!1),a=(0,i.useRef)(null);(0,i.useEffect)(()=>{let e=(0,Z.subscribeNotices)(e=>{null!=a.current&&(clearTimeout(a.current),a.current=null),r(t=>s.current?[...t,e]:[e]),s.current=!0,o(!0)});return()=>{e(),null!=a.current&&clearTimeout(a.current)}},[]);let l=e[0]??null;return(0,t.jsx)(V.Snackbar,{open:n&&null!=l,autoHideDuration:2500,anchorOrigin:{vertical:"bottom",horizontal:"center"},onClose:()=>{s.current=!1,o(!1),null!=a.current&&clearTimeout(a.current),a.current=window.setTimeout(()=>{a.current=null,r(e=>e.slice(1)),o(!0)},200)},children:(0,t.jsx)(H.Alert,{severity:l?.severity??"success",variant:"filled",sx:{width:"100%"},children:l?.message??""})})}var K=e.i(727400);e.i(530138);let J={projects:{list:!0,saveIndex:!0,load:!0,save:!0,saveBundle:!0,delete:!0},timelines:{load:!0,save:!0},revisions:{list:!0,save:!0,setPinned:!0,delete:!0},providerCalls:{load:!0,replace:!0}};function Y(e,t){let r=t.length;for(;r>0&&void 0===t[r-1];)r-=1;let n=t.slice(0,r);return n.forEach((t,r)=>{if(void 0===t)throw TypeError(`Argument ${r+1} of ${e} is undefined, which JSON turns into null. Pass null.`);!function e(t,r,n){let i;if(null===t||"string"==typeof t||"boolean"==typeof t||"number"==typeof t&&Number.isFinite(t))return;let o=Array.isArray(t);if("object"!=typeof t||(0,U.isStateTreeNode)(t)||!o&&(i=Object.getPrototypeOf(t))!==Object.prototype&&null!==i)throw TypeError(`${r} is ${(0,U.isStateTreeNode)(t)?"a store node (pass its id instead)":"function"==typeof t?"a function":"number"==typeof t?`the number ${t}`:"object"==typeof t&&null!=t?`an instance of ${t.constructor?.name??"an unknown class"}`:`a ${typeof t}`}, which cannot cross to the project host.`);if(n.has(t))throw TypeError(`${r} contains itself, which JSON cannot represent.`);if(n.add(t),o)for(let i=0;i<t.length;i+=1){if(!(i in t)||void 0===t[i])throw TypeError(`${r}[${i}] is undefined, which JSON turns into null.`);e(t[i],`${r}[${i}]`,n)}else for(let[i,o]of Object.entries(t))void 0!==o&&e(o,`${r}.${i}`,n);n.delete(t)}(t,`Argument ${r+1} of ${e}`,new Set)}),n}let X={retry:!0,message:"The connection to the project server was lost. Reconnecting…"};var Q=e.i(881123),ee=e.i(189426),et=e.i(543438),er=e.i(212891),en=e.i(55735),ei=e.i(406050),eo=e.i(82114),es=e.i(65666),ea=e.i(183987),el=e.i(625013),eu=e.i(700905);function ec(e){return`
29
+ ${e.stageLabel(el.WorkflowStage.ProductOverview)}:
30
+ ${e.productOverview}
31
+
32
+ User Stories:
33
+ ${e.userStories.map(e=>e.content).join("\n")}
34
+
35
+ Requirements:
36
+ ${e.requirements.map(e=>e.content).join("\n")}
37
+
38
+ Acceptance Criteria:
39
+ ${e.acceptanceCriteria.map(e=>e.content).join("\n")}
40
+
41
+ Test Scenarios:
42
+ ${e.testScenarios.map(t=>`${t.content}
43
+ ${t.testCases.map(r=>{let n=(0,eu.extractTestCaseCode)(Array.from(e.scaffoldFiles),t.id,r.id,e.implementationProfile?.language||"typescript"),i=n?`
44
+
45
+ Code:
46
+ ${n.split("\n").map(e=>` ${e}`).join("\n")}`:"";return` Test Case: ${r.title}
47
+ Steps:
48
+ ${r.steps.split("\n").map(e=>` ${e}`).join("\n")}
49
+ Expected Result: ${r.expectedResult}${i}`}).join("\n\n")}
50
+ `).join("\n")}
51
+ `}async function eh(e){let r=await (0,ei.pdf)((0,t.jsx)(ea.default,{modules:e})).toBlob();(0,eo.saveAs)(r,"specification.pdf")}function ed(e){let t=[],r=new TextEncoder;for(let n of e){let e=r.encode(n.content),i=new Uint8Array(512),o=(e,t,n)=>{let o=r.encode(e);i.set(o.subarray(0,Math.min(n,o.length)),t)},s=(e,t,r)=>{o(e.toString(8).padStart(r-1,"0")+"\0",t,r)},a=n.path,l="";if(a.length>100){let e=a.lastIndexOf("/",155);e>-1&&(l=a.slice(0,e),a=a.slice(e+1))}o(a,0,100),s(420,100,8),s(0,108,8),s(0,116,8),s(e.length,124,12),s(Math.floor(Date.now()/1e3),136,12),o("0",156,1),o("ustar \0",257,8),o(l,345,155),i.fill(32,148,156);let u=0;for(let e=0;e<512;e++)u+=i[e];s(u,148,8),i[155]=32,t.push(i),t.push(e);let c=(512-e.length%512)%512;c>0&&t.push(new Uint8Array(c))}t.push(new Uint8Array(1024));let n=new Uint8Array(new ArrayBuffer(t.reduce((e,t)=>e+t.length,0))),i=0;for(let e of t)n.set(e,i),i+=e.length;return n}async function ef(t,r,n){let{activeStore:i,modules:o}=r,s=o.flatMap(e=>e.store.scaffoldFiles.map(t=>({path:null==e.name?t.path:`${e.name}/${t.path}`,content:t.content})));if(0===s.length)return void n("No code generated to export.");let a=i.productOverview.name?.replace(/[^a-z0-9]/gi,"_").toLowerCase()||"project_scaffold";try{if("zip"===t){let e=new es.default;for(let t of s)e.file(t.path,t.content);let t=await e.generateAsync({type:"blob"});(0,eo.saveAs)(t,`${a}.zip`)}else if("tar.gz"===t){let e=ed(s),t=new CompressionStream("gzip"),r=t.writable.getWriter();r.write(e),r.close();let n=new Response(t.readable),i=await n.blob();(0,eo.saveAs)(i,`${a}.tar.gz`)}else if("tar.bz2"===t){let t=ed(s),r=await e.A(323226),n=(r.default?.Bzip2||r.Bzip2).compressFile(t),i=new Blob([new Uint8Array(n)],{type:"application/x-bzip2"});(0,eo.saveAs)(i,`${a}.tar.bz2`)}}catch(e){console.error("Export failed:",e),n("Export failed due to internal error.")}}var ep=e.i(13952),ey=e.i(926646);let eg="projectSnapshots",em="projectId",eb="scopeId";function ev(e,t){let r=t.createdAt.localeCompare(e.createdAt);return 0!==r?r:t.id.localeCompare(e.id)}function ew(e){return[...e].sort(ev)}function eS(e){return new Promise((t,r)=>{e.onsuccess=()=>t(e.result),e.onerror=()=>r(e.error??Error("IndexedDB request failed."))})}function e_(e){return new Promise((t,r)=>{e.oncomplete=()=>t(),e.onerror=()=>r(e.error??Error("IndexedDB transaction failed.")),e.onabort=()=>r(e.error??Error("IndexedDB transaction was aborted."))})}function eE(){return"u"<typeof indexedDB?Promise.reject(Error("IndexedDB is unavailable.")):new Promise((e,t)=>{let r=indexedDB.open("requireganizer-revisions",2);r.onupgradeneeded=()=>{let e=r.result,t=e.objectStoreNames.contains(eg)?r.transaction.objectStore(eg):e.createObjectStore(eg,{keyPath:"id"});t.indexNames.contains(em)||t.createIndex(em,em,{unique:!1}),t.indexNames.contains(eb)||t.createIndex(eb,eb,{unique:!1})},r.onsuccess=()=>e(r.result),r.onerror=()=>t(r.error??Error("Could not open revision storage."))})}let eO=null;function ex(e){return null==eO&&(eO=eA(e).catch(e=>{throw eO=null,e})),eO}async function eA(e){let t=e.transaction(eg,"readwrite"),r=e_(t),n=t.objectStore(eg);await new Promise((e,t)=>{let r=n.openCursor();r.onsuccess=()=>{let t=r.result;if(null==t)return void e();let n=t.value;null==n.scopeId&&t.update({...n,scopeId:(0,en.moduleScopeId)(n.projectId,en.LEGACY_MODULE_ID)}),t.continue()},r.onerror=()=>t(r.error??Error("Could not scope revision snapshots."))}),await r}async function ej(e){let t=await eE();try{await ex(t);let r=t.transaction(eg,"readonly"),n=e_(r),i=await eS(r.objectStore(eg).index(em).getAll(IDBKeyRange.only(e)));return await n,ew(i)}finally{t.close()}}async function eC(e,t){let r=await eE();try{await ex(r);let n=r.transaction(eg,"readonly"),i=e_(n),o=await eS(n.objectStore(eg).index(eb).getAll(IDBKeyRange.only((0,en.moduleScopeId)(e,t))));return await i,ew(o)}finally{r.close()}}async function ek(e,t,r,n,i=!1){let o=function({projectId:e,moduleId:t,data:r,label:n,pinned:i=!1,id:o=crypto.randomUUID(),now:s=new Date}){return{id:o,projectId:e,scopeId:(0,en.moduleScopeId)(e,t),createdAt:s.toISOString(),label:n,pinned:i,data:structuredClone(r)}}({projectId:e,moduleId:t,data:r,label:n,pinned:i}),s=await eE();try{await ex(s);let r=s.transaction(eg,"readwrite"),n=e_(r);r.objectStore(eg).put(o),await n;let i=await eC(e,t),a=function(e,t=20){return ew(e.filter(e=>!e.pinned)).slice(t).map(({id:e})=>e)}(i);if(a.length>0){r=s.transaction(eg,"readwrite"),n=e_(r);let e=r.objectStore(eg);a.forEach(t=>e.delete(t)),await n}return o}finally{s.close()}}async function eP(e,t){let r=await eE();try{let n=r.transaction(eg,"readwrite"),i=e_(n),o=n.objectStore(eg),s=await eS(o.get(e));if(null==s)throw Error("Revision snapshot no longer exists.");o.put({...s,pinned:t}),await i}finally{r.close()}}async function eT(e){let t=await eE();try{let r=t.transaction(eg,"readwrite"),n=e_(r);r.objectStore(eg).delete(e),await n}finally{t.close()}}async function eR(e){let t=await ej(e),r=await eE();try{let e=r.transaction(eg,"readwrite"),n=e_(e),i=e.objectStore(eg);t.forEach(({id:e})=>i.delete(e)),await n}finally{r.close()}}let eI=new class{traits={singleProject:!1,name:"browser storage"};projects={list:async()=>(0,ep.getProjectsIndex)(),saveIndex:async e=>{(0,ep.saveProjectsIndex)(e)},load:async e=>(0,ep.loadProjectData)(e),save:async(e,t,r)=>{if((0,ep.saveProjectData)(e,t),null==r)return;let n=(0,ep.getProjectsIndex)(),i=(0,ep.updateProjectIndexEntry)(n,e,r);i!==n&&(0,ep.saveProjectsIndex)(i)},saveBundle:async(e,t,r)=>{(0,ep.saveProjectBundle)(e,t,r)},delete:async e=>{(0,ep.deleteProjectData)(e);let t=[];try{await eR(e)}catch(e){console.error("Could not delete project revision snapshots.",e),t.push("revisions")}try{await (0,ey.deleteProviderCallsForProject)(e)}catch(e){console.error("Could not delete the project's provider activity.",e),t.push("providerCalls")}return{unremoved:t}}};timelines={load:async(e,t)=>(0,ep.loadTimelineData)(e,t),save:async(e,t,r)=>(0,ep.saveTimelineData)(e,t,r)};revisions={list:async(e,t)=>eC(e,t),save:async(e,t,r,n,i)=>ek(e,t,r,n,i),setPinned:async(e,t)=>{await eP(e,t)},delete:async e=>{await eT(e)}};providerCalls={load:async(e,t)=>(0,ey.loadProviderCalls)(e,t),replace:async(e,t,r)=>{await (0,ey.replaceProviderCalls)(e,t,r)}}};e.i(33742);var eM=e.i(304383),eB=e.i(223249),eD=e.i(736155),eN=e.i(336343);e.i(969176);var eF=e.i(208058),eL=e.i(726539);class eU{cache=new Map;storeFor(e,t){let r,n=this.cache.get(t.id);if(n?.snapshot===t.snapshot)return n.store;let i=JSON.stringify(t.snapshot);if(n?.text===i)return n.snapshot=t.snapshot,n.store;try{r=(0,eF.createModuleStore)(t.snapshot)}catch(e){return console.error(`Module “${t.name}” could not be read.`,e),null}return r.setModuleContext({moduleMode:e.modulesEnabled}),this.cache.set(t.id,{snapshot:t.snapshot,text:i,store:r}),r}references(e){for(let t of[...this.cache.keys()]){let r=e.modules.find(e=>e.id===t);(null==r||null!=r.archivedAt)&&this.cache.delete(t)}let t=[];for(let r of(0,en.siblingModuleEntries)(e)){let n=this.storeFor(e,r);null!=n&&t.push({id:r.id,store:n})}return t}applyModuleContext(e,t){e.setModuleContext({moduleMode:t?.modulesEnabled??!1}),e.setSiblingModules(null==t?[]:this.references(t))}exportModules(e,t){let r=[];for(let n of(0,en.visibleModules)(e)){let i=e.modulesEnabled?n.name:null;if(n.id===e.activeModuleId){r.push({id:n.id,name:i,store:t});continue}let o=this.storeFor(e,n);null!=o&&r.push({id:n.id,name:i,store:o})}return r}}function ez(e){return eF.Store.create({productOverview:{name:e}})}let e$=["write","activity"];function eW(e,t){switch(e.status){case"idle":return{status:"idle",activeProject:null,persistenceError:null,outsideChange:null,registry:null,store:e.store};case"loading-project":return{status:"loading",activeProject:e.project,persistenceError:null,outsideChange:null,registry:null,store:e.store};case"load-failed":return{status:"failed",activeProject:e.project,persistenceError:e.message,outsideChange:null,registry:null,store:e.store};case"ready":case"importing":var r;let n;return{status:"ready",activeProject:e.project,persistenceError:(r=e.persistenceNotices,0===(n=e$.flatMap(e=>r[e]??[])).length?null:n.join(" ")),outsideChange:t,registry:e.registry,store:e.store}}}function eq(e){return"ready"===e.status||"importing"===e.status}class eH{persistence;listeners=new Set;siblingStores=new eU;state;snapshot;pendingOverviewSeed=null;projectLoad=Promise.resolve();operationGeneration=0;projectWriteSequence=0;unsubscribeStore=null;providerCallSaving=null;flushPendingSave=null;saveTimer=null;outsideChanges;outsideChange=null;stopWatchingOutsideChanges=null;writeHeldBack=!1;constructor(e,t={}){this.persistence=e,this.outsideChanges=t.outsideChanges??null;const r=eF.Store.create({productOverview:{}});this.state={status:"idle",store:r},this.snapshot=eW(this.state,this.outsideChange)}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.snapshot;get importing(){return"importing"===this.state.status}beginOperation(){return this.operationGeneration+=1,this.operationGeneration}isOperationCurrent(e){return e===this.operationGeneration}publish(){this.snapshot=eW(this.state,this.outsideChange),this.listeners.forEach(e=>e())}readyState(){return"ready"===this.state.status?this.state:null}expectOpenState(){let e=this.state;if(!eq(e))throw Error(`Expected an open project session, found ${e.status}.`);return e}setPersistenceNotice(e,t){let r=this.state;if(!eq(r)||(r.persistenceNotices[e]??null)===t)return;let n={...r.persistenceNotices};null==t?delete n[e]:n[e]=t,this.state={...r,persistenceNotices:n},this.publish()}persistProject(e,t,r){if(null!=this.outsideChange){this.writeHeldBack=!0;return}let n=++this.projectWriteSequence,i=()=>n===this.projectWriteSequence,o=r.productOverview,s=o?.purpose;this.persistence.projects.save(e.id,(0,en.buildProjectPayload)(t,r),{description:"string"==typeof s?s.slice(0,200):"",updatedAt:new Date().toISOString()}).then(()=>{i()&&this.setPersistenceNotice("write",null)},e=>{if(null!=this.outsideChange){this.writeHeldBack=!0;return}if(console.error("Could not persist project changes.",e),i()){var t;this.setPersistenceNotice("write",(0,eN.getUserFacingErrorMessage)(e,(t=this.persistence.traits.name,`Changes could not be saved in ${t}. Export the project to avoid losing work.`)))}})}persistCurrent(){let e=this.state;eq(e)&&this.persistProject(e.project,e.registry,(0,U.getSnapshot)(e.store))}attachStoreSubscription(e){var t,r,n,i;let o,s,a,l,u;this.unsubscribeStore?.(),this.unsubscribeStore=null,this.providerCallSaving?.stop(),this.providerCallSaving=null;let{project:c,store:h}=e,d=null,f=()=>{null!=this.saveTimer&&(clearTimeout(this.saveTimer),this.saveTimer=null),d?.(),d=null};this.flushPendingSave=f,this.providerCallSaving=(t=this.persistence,r=c.id,n=e.registry.activeModuleId,i=e=>this.setPersistenceNotice("activity",e),s=!1,a=Promise.resolve(),l=null,u=()=>{let e=l;return l=null,null==e?Promise.resolve():t.providerCalls.replace(r,n,e).then(()=>{s||i(null)},e=>{console.error("Could not persist AI provider activity.",e),s||i(`AI provider activity could not be saved in ${t.traits.name}.`)})},(async()=>{try{let e=await t.providerCalls.load(r,n);if(s)return;h.hydrateProviderCalls(e),o=(0,eD.reaction)(()=>h.providerCalls.map(e=>({...e,usage:null==e.usage?void 0:{...e.usage}})),e=>{l=e,a=a.then(u)},{fireImmediately:!0})}catch(e){console.error("Could not load AI provider activity.",e),s||i(`AI provider activity could not be loaded from ${t.traits.name}.`)}})(),{flush:()=>void u(),stop:()=>{s=!0,o?.()}}),this.unsubscribeStore=(0,U.onSnapshot)(h,e=>{d=()=>{let t=this.state;eq(t)&&this.persistProject(c,t.registry,e)},null==this.saveTimer&&(this.saveTimer=setTimeout(()=>{this.saveTimer=null,f()},800))})}detachStoreSubscription(){this.unsubscribeStore?.(),this.unsubscribeStore=null,this.providerCallSaving?.stop(),this.providerCallSaving=null,this.flushPendingSave?.(),this.flushPendingSave=null}flushPendingWrites(){this.flushPendingSave?.(),this.providerCallSaving?.flush(),(0,eL.flushTimeline)()}attachLoadedTimeline(e,t){let r=e.project.id,n=e.registry.activeModuleId;(0,eL.attachTimeline)(e.store,{persistence:{save:e=>this.persistence.timelines.save(r,n,e)},loaded:t})}resumeTimelineLoad(){let e=this.state;"ready"===e.status&&"loading"===e.timeline&&this.loadModuleTimeline(e.project,e.registry.activeModuleId,this.beginOperation())}start=()=>{null!=this.outsideChanges&&null==this.stopWatchingOutsideChanges&&(this.stopWatchingOutsideChanges=this.outsideChanges.watch(e=>this.outsideChangeObserved(e)));let e=this.state;switch(e.status){case"idle":this.openOnlyProject();return;case"load-failed":return;case"loading-project":case"importing":this.openProject(e.project);return;case"ready":null==this.unsubscribeStore&&this.attachStoreSubscription(e),this.resumeTimelineLoad()}};dispose=()=>{this.writeHeldBack&&console.error(`${this.persistence.traits.name} changed outside Requireganizer, so the changes made since were not saved. They stay in the project's history: undo after opening the project returns to them.`),this.stopWatchingOutsideChanges?.(),this.stopWatchingOutsideChanges=null,this.beginOperation(),this.detachStoreSubscription(),(0,eL.flushTimeline)(),(0,eL.clearTimelineSaveTimer)()};syncModuleContext(){let e=this.state;this.siblingStores.applyModuleContext(e.store,eq(e)?e.registry:null)}showStore(e,t,r,n){this.detachStoreSubscription(),"loading"===n.status&&(0,eL.detachTimeline)();let i={status:"ready",project:e,registry:r,store:t,timeline:n.status,persistenceNotices:{}};this.state=i,this.attachStoreSubscription(i),this.persistCurrent(),this.syncModuleContext(),"attached"===n.status&&this.attachLoadedTimeline(i,n.loaded),this.publish()}commitRegistry(e){let t=this.readyState();null!=t&&(this.state={...t,registry:e},this.persistCurrent(),this.syncModuleContext(),this.publish())}stashActiveModule(e){let t=(0,U.getSnapshot)(e.store);return{...e.registry,modules:e.registry.modules.map(r=>r.id===e.registry.activeModuleId?{...r,snapshot:t}:r)}}readOpenedProject(e,t){if(null==e)return{created:ez(t),nextRegistry:(0,en.createEmptyRegistry)(),moduleId:en.LEGACY_MODULE_ID};try{let t=(0,en.parseProjectPayload)(e),r=(0,en.pickActiveModule)(t);return{created:(0,eF.createModuleStore)(r.snapshot),nextRegistry:t,moduleId:r.id}}catch(e){throw new eN.UserFacingError(`${t} could not be opened because its stored data is invalid. It was left unchanged: delete it, or import a saved copy as a new project.`,e)}}openProject(e){this.flushPendingWrites(),this.writeHeldBack=!1;let t=this.beginOperation();return this.detachStoreSubscription(),(0,eL.detachTimeline)(),this.state={status:"loading-project",project:e,store:this.state.store},this.publish(),this.projectLoad=this.loadProject(e,t),this.projectLoad}async loadProject(e,t){try{this.outsideChanges?.adoptStored();let r=await this.persistence.projects.load(e.id);if(!this.isOperationCurrent(t))return;let n=this.readOpenedProject(r,e.name),i=await this.persistence.timelines.load(e.id,n.moduleId);if(!this.isOperationCurrent(t))return;this.showStore(e,n.created,{...n.nextRegistry,activeModuleId:n.moduleId},{status:"attached",loaded:i})}catch(r){if(!this.isOperationCurrent(t))return;console.error("Could not load the project.",r),this.detachStoreSubscription(),(0,eL.detachTimeline)(),this.state={status:"load-failed",project:e,message:(0,eN.getUserFacingErrorMessage)(r,"The project could not be loaded."),store:this.state.store},this.syncModuleContext(),this.publish()}}async loadModuleTimeline(e,t,r){try{let n=await this.persistence.timelines.load(e.id,t);if(!this.isOperationCurrent(r))return;let i={...this.expectOpenState(),status:"ready",timeline:"attached"};this.state=i,this.attachLoadedTimeline(i,n)}catch(e){if(!this.isOperationCurrent(r))return;console.error("Could not load the module timeline.",e),this.state={...this.expectOpenState(),status:"ready",timeline:"unavailable"}}}showModule(e,t,r){let n=this.beginOperation();this.flushPendingWrites(),this.showStore(e.project,t,r,{status:"loading"}),this.loadModuleTimeline(e.project,r.activeModuleId,n)}flush=()=>{this.flushPendingWrites()};reloadStore=()=>{let e=this.state;if("importing"===e.status)return;let t=eF.Store.create((0,U.getSnapshot)(e.store));if("ready"!==e.status){this.state={...e,store:t},this.publish();return}this.showModule(e,t,e.registry)};consumeOverviewSeed=e=>{let t=this.pendingOverviewSeed;return null==t||t.projectId!==e?null:(this.pendingOverviewSeed=null,t.seed)};selectProject=(e,t,r)=>{let n=r?.overviewSeed?.trim();null!=n&&n.length>0?this.pendingOverviewSeed={projectId:e,seed:n}:this.pendingOverviewSeed?.projectId!==e&&(this.pendingOverviewSeed=null);let i=this.state;return("loading-project"===i.status||eq(i))&&i.project.id===e?this.projectLoad:this.openProject({id:e,name:t})};openOnlyProject=async()=>{if(!this.persistence.traits.singleProject)return;let e=this.state;if("idle"!==e.status){"loading-project"===e.status&&await this.projectLoad;return}let t=await this.persistence.projects.list();if("idle"!==this.state.status)return this.openOnlyProject();1===t.length&&await this.selectProject(t[0].id,t[0].name)};outsideChangeObserved(e){this.outsideChange=e,null==e&&this.writeHeldBack&&(this.writeHeldBack=!1,this.persistCurrent()),this.publish()}openChangedProject=()=>{let e=this.choosableState(),t=this.outsideChange;return t?.kind!=="changed"?Promise.resolve():null!=t.problem?Promise.reject(new eN.UserFacingError(t.problem)):e.store.isBusy?Promise.reject(new eN.UserFacingError("Open the changed file once Requireganizer finishes its current work.")):this.openProject(e.project)};keepShownProject=()=>{if(this.choosableState(),null!=this.outsideChange){if(this.writeHeldBack=!0,this.outsideChanges?.adoptStored()===!1)throw new eN.UserFacingError(`${this.persistence.traits.name} cannot be read or holds another project, so it is not replaced. Fix it, then choose again.`);this.writeHeldBack&&(this.writeHeldBack=!1,this.persistCurrent())}};choosableState(){let e=this.readyState();if(null==e)throw new eN.UserFacingError("Choose which version to keep once the project has finished opening or importing.");return e}backToProjects=()=>{this.flushPendingWrites(),this.beginOperation(),this.pendingOverviewSeed=null,this.detachStoreSubscription(),(0,eL.detachTimeline)(),this.state={status:"idle",store:this.state.store},this.syncModuleContext(),this.publish()};clearPersistenceError=()=>{let e=this.state;eq(e)&&0!==Object.keys(e.persistenceNotices).length&&(this.state={...e,persistenceNotices:{}},this.publish())};enableModules=e=>{let t=this.readyState()?.registry;if(null==t||t.modulesEnabled)return;let r=(0,en.normalizeModuleName)(e);(0,en.assertModuleNameAvailable)(r,t.modules),this.commitRegistry({...t,modulesEnabled:!0,modules:t.modules.map(e=>e.id===t.activeModuleId?{...e,name:r}:e)})};switchModule=e=>{let t,r=this.readyState();if(null==r)return!1;let n=r.registry;if(e===n.activeModuleId)return!0;let i=n.modules.find(t=>t.id===e);if(null==i||null!=i.archivedAt)return!1;try{t=(0,eF.createModuleStore)(i.snapshot)}catch(e){return console.error("The module could not be opened.",e),!1}return this.showModule(r,t,{...this.stashActiveModule(r),activeModuleId:e}),!0};addModule=e=>{let t=this.readyState();if(null==t)return;let r=(0,en.normalizeModuleName)(e);(0,en.assertModuleNameAvailable)(r,t.registry.modules),this.beginOperation(),this.flushPendingWrites();let n=ez(r),i={id:crypto.randomUUID(),name:r,archivedAt:null,openStep:el.WorkflowStage.ProductOverview,snapshot:(0,U.getSnapshot)(n)},o=this.stashActiveModule(t);this.showStore(t.project,n,{...o,activeModuleId:i.id,modules:[...o.modules,i]},{status:"attached",loaded:null})};archiveModule=e=>{let t=this.readyState()?.registry;if(null==t||e===t.activeModuleId)return;let r=t.modules.find(t=>t.id===e);null==r||null!=r.archivedAt||(0,en.visibleModules)(t).length<=1||this.commitRegistry({...t,modules:t.modules.map(t=>t.id===e?{...t,archivedAt:new Date().toISOString()}:t)})};recordOpenStep=e=>{let t=this.readyState()?.registry;if(null==t||!t.modulesEnabled)return;let r=t.modules.find(e=>e.id===t.activeModuleId);null!=r&&r.openStep!==e&&this.commitRegistry({...t,modules:t.modules.map(r=>r.id===t.activeModuleId?{...r,openStep:e}:r)})};getExportModules=()=>{let e=this.state;return eq(e)?this.siblingStores.exportModules(e.registry,e.store):[]};importProjectFile=e=>{let t=this.readyState();if(null==t)return Promise.resolve();this.flushPendingWrites();let r=(0,en.parseProjectPayload)(e);for(let e of r.modules)(0,eF.createModuleStore)(e.snapshot);let n=this.beginOperation();return this.detachStoreSubscription(),this.state={...t,status:"importing"},this.publish(),this.writeImportedProject(t.project,r,n)};async writeImportedProject(e,t,r){try{await this.persistence.projects.save(e.id,t)}catch(e){if(this.isOperationCurrent(r)){console.error("Could not import project data.",e);let t={...this.expectOpenState(),status:"ready"};this.state=t,this.attachStoreSubscription(t),this.persistCurrent(),this.publish(),this.resumeTimelineLoad()}throw e}this.isOperationCurrent(r)&&await this.loadProject(e,r)}}let eV={entries:[],canUndo:!1,canRedo:!1,isRewinding:!1};function eZ(e,t,r){if("ready"!==e.status)return{...e,registry:null,store:r};if(null==t)throw Error("The project host reported a ready project without its modules.");return{...e,registry:t,store:r}}class eG extends eN.UserFacingError{constructor(e){super(e),this.name="ConnectionLostError"}}class eK{persistence;timeline;changeSource;connect;connection=null;opened=!1;connectionStatus={state:"connecting"};reconnectTimer=null;reconnectDelay=500;pending=new Map;queued=[];listeners=new Set;timelineListeners=new Set;focusListeners=new Set;siblingStores=new eU;nextRequestId=0;view={status:"idle",activeProject:null,persistenceError:null,outsideChange:null};hostInfo={reviewerModel:null,missingReviewerModelMessage:"",storage:{singleProject:!1,name:"storage"}};registry=null;replica;snapshot;timelineMeta=eV;applyingStepKind=null;applyingLocally=!1;constructor(e){this.connect=e,this.replica=this.createReplica("",{productOverview:{}},null),this.snapshot=eZ(this.view,this.registry,this.replica),this.persistence=this.remotePersistence(),this.timeline={subscribe:e=>(this.timelineListeners.add(e),()=>{this.timelineListeners.delete(e)}),getMeta:()=>this.timelineMeta,undo:()=>this.request("undo"),redo:()=>this.request("redo"),beginRewind:e=>this.request("beginRewind",e),cancelRewind:()=>this.request("cancelRewind"),jumpToNode:e=>this.request("jumpToNode",e),activateBranch:e=>this.request("activateBranch",e),exportSnapshot:()=>this.request("exportTimeline")},this.changeSource={onChangeFocus:e=>(this.focusListeners.add(e),()=>{this.focusListeners.delete(e)}),currentStepKind:()=>this.applyingStepKind}}open(){if(this.opened)throw Error("The project client is already connected.");return this.opened=!0,this.attach(),()=>{this.opened&&(this.opened=!1,this.clearReconnect(),this.detach(Error("The connection to the project host is closed.")),this.reconnectDelay=500,this.setConnectionStatus({state:"connecting"}))}}getConnectionStatus=()=>this.connectionStatus;attach(){let e;try{e=this.connect()}catch(e){this.linkClosed({retry:!1,message:e instanceof Error?e.message:String(e)});return}let t=e.subscribe({message:t=>{if(this.connection?.link===e){if("open"!==this.connectionStatus.state)for(let t of(this.reconnectDelay=500,this.setConnectionStatus({state:"open"}),this.queued.splice(0)))this.send(e,t);this.receive(t)}},closed:t=>{this.connection?.link===e&&(this.detach(new eG(t.message),{closeLink:!1}),this.linkClosed(t))}});this.connection={link:e,stopListening:t}}detach(e,t={closeLink:!0}){let r=this.connection;if(null!=r){for(let n of(this.connection=null,r.stopListening(),t.closeLink&&r.link.close(),this.pending.values()))n.reject(e);this.pending.clear()}}linkClosed(e){if(!e.retry){this.setConnectionStatus({state:"failed",message:e.message});let t=new eN.UserFacingError(e.message);for(let e of this.queued.splice(0))e.reject(t);return}this.setConnectionStatus({state:"reconnecting",message:e.message});let t=this.reconnectDelay;this.reconnectDelay=Math.min(2*t,8e3),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.opened&&null==this.connection&&this.attach()},t)}clearReconnect(){null!=this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null)}setConnectionStatus(e){for(let t of(this.connectionStatus=e,this.listeners))t()}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.snapshot;getHostInfo=()=>this.hostInfo;selectProject=(e,t,r)=>this.request("selectProject",e,t,r);backToProjects=()=>this.request("backToProjects");clearPersistenceError=()=>this.request("clearPersistenceError");enableModules=e=>this.request("enableModules",e);addModule=e=>this.request("addModule",e);switchModule=e=>this.request("switchModule",e);archiveModule=e=>this.request("archiveModule",e);recordOpenStep=e=>this.request("recordOpenStep",e);importProjectFile=e=>this.request("importProjectFile",e);openChangedProject=()=>this.request("openChangedProject");keepShownProject=()=>this.request("keepShownProject");listAgentTools=()=>this.request("listAgentTools");callAgentTool=(e,t)=>this.request("callAgentTool",e,t);getExportModules=()=>"ready"!==this.snapshot.status?[]:this.siblingStores.exportModules(this.snapshot.registry,this.replica);request(e,...t){let r;try{r=Y(e,t)}catch(e){return Promise.reject(e)}let n={type:"request",id:this.nextRequestId+=1,name:e,args:r};return"failed"===this.connectionStatus.state?Promise.reject(new eN.UserFacingError(this.connectionStatus.message)):new Promise((e,t)=>{let r={message:n,resolve:e,reject:t};null==this.connection||"open"!==this.connectionStatus.state?this.queued.push(r):this.send(this.connection.link,r)})}send(e,t){let{message:r,resolve:n,reject:i}=t;this.pending.set(r.id,{resolve:n,reject:i});try{e.send(r)}catch(e){this.pending.delete(r.id),i(e)}}forwardAction(e,t){let r;try{r=Y(t.name,t.args)}catch(e){return Promise.reject(e)}return this.request("runStoreAction",{store:e,address:function(e){let t=[],r=e;for(;(0,U.hasParent)(r);){let e=(0,U.getParent)(r),n=(0,U.isArrayType)((0,U.getType)(e))?(0,U.getIdentifier)(r):null;t.unshift(null==n?(0,U.getPathParts)(r).at(-1):{id:n}),r=e}return t}(t.context),name:t.name,args:r})}remotePersistence(){let e={};for(let[t,r]of Object.entries(J)){let n={};for(let e of Object.keys(r))n[e]=(...r)=>{let n;try{n=Y(`${t}.${e}`,r)}catch(e){return Promise.reject(e)}let i={group:t,method:e,args:n};return this.request("runPersistence",i)};e[t]=n}return Object.defineProperty(e,"traits",{enumerable:!0,get:()=>this.hostInfo.storage}),e}local(e){let t=this.applyingLocally;this.applyingLocally=!0;try{e()}finally{this.applyingLocally=t}}createReplica(e,t,r){let n=eF.Store.create(t);return(0,U.addMiddleware)(n,(t,r,n)=>{this.applyingLocally?r(t):n(this.forwardAction(e,t))},!1),this.local(()=>{null!=r&&n.mirrorVolatileState(r),this.siblingStores.applyModuleContext(n,this.registry)}),n}receive(e){"response"===e.type?this.settle(e):this.applyEvent(e.event)}settle(e){let t=this.pending.get(e.id);null!=t&&(this.pending.delete(e.id),e.ok?t.resolve(e.value):t.reject(function(e){if("UserFacingError"===e.name)return new eN.UserFacingError(e.message);let t=Error(e.message);return t.name=e.name,t}(e.error)))}applyEvent(e){switch(e.type){case"host":for(let t of(this.hostInfo=e.info,this.listeners))t();return;case"session":this.applySession(e);return;case"store-update":this.applyUpdate(e.update);return}}applySession(e){var t,r;let n="registry"in e;if(n&&(this.registry=(t=e.registry??null,r=this.registry,null==t?null:{...t,modules:t.modules.map(e=>{if(null!=e.snapshot)return{...e,snapshot:e.snapshot};let t=r?.modules.find(t=>t.id===e.id)?.snapshot;if(null==t)throw Error(`The project host left out module ${e.id}, which this client never received.`);return{...e,snapshot:t}})})),null!=e.store){let{id:t,snapshot:r,volatile:n}=e.store;this.replica=this.createReplica(t,r,n)}else n&&this.local(()=>this.siblingStores.applyModuleContext(this.replica,this.registry));for(let t of(this.view=e.session,this.snapshot=eZ(this.view,this.registry,this.replica),this.listeners))t()}applyUpdate(e){let t=this.replica;this.applyingStepKind=e.stepKind;try{(0,eD.runInAction)(()=>{if(this.local(()=>{e.patches.length>0&&(0,U.applyPatch)(t,e.patches);let r={...e.volatile};for(let[n,i]of Object.entries(e.appended))r[n]=t[n]+i;Object.keys(r).length>0&&t.mirrorVolatileState(r)}),null!=e.focus)for(let t of this.focusListeners)t(e.focus)})}finally{this.applyingStepKind=null}if(null!=e.timeline)for(let t of(this.timelineMeta=e.timeline,this.timelineListeners))t();for(let r of e.events)t.eventTarget.emit(r.name,r.step)}}var eJ=e.i(154003),eY=e.i(463608),eX=e.i(421320),eQ=e.i(266847);function e0(e){return{name:e.name,description:e.description,inputSchema:JSON.parse(JSON.stringify(e.parameters))}}function e1(e,t={}){return(0,eX.buildReadTools)(e,t).map(e0)}async function e2(e,t,r,n={}){let i=(0,eX.buildReadTools)(e,n).find(e=>e.name===t);if(null!=i)return(await i.execute(t,r)).content.map(e=>"text"===e.type?e.text:"").join("");let o=(0,eQ.buildStageSubmissionTools)(e).find(({tool:e})=>e.name===t);if(null==o)throw new eN.UserFacingError(`No tool named ${t} is available now. A stage's submission tool appears once its earlier stages are approved.`);let s=await e.submitAgentProposal(o.stage,t,r);switch(s.status){case"busy":throw new eN.UserFacingError(`Requireganizer is busy${null==e.thinkingLabel?"":` (${e.thinkingLabel})`}. Try again when it finishes.`);case"aborted":throw new eN.UserFacingError("The person stopped the submission in Requireganizer.");case"failed":throw new eN.UserFacingError(s.message);case"completed":{let t=(0,eY.workflowStageOf)(o.stage),r=e.stageLabel(t);if(null!=e.pendingImpactChange)return`Not applied yet: the proposal sends the workflow back to ${r}, so it waits until the person confirms that in Requireganizer.`;let n=e=>1===e?"one item":`${e} items`,i=[`Applied to ${r}. The person approves it in Requireganizer; get_workflow_state shows what still awaits approval.`],s=(0,eX.reviewerRejections)(e,t);s.length>0&&i.push(`The reviewer model rejected ${n(s.length)}. Fix what it names and submit the stage again, or leave it to the person, who can overrule it:`,...s.map(({unitId:e,reason:t})=>`- ${e}: ${t}`));let a=null==(0,$.reviewerModel)()?0:e.unitsAwaitingReview(t).length;return a>0&&i.push(`The reviewer model could not review ${n(a)}. Tell the person, who can run the review again in Requireganizer.`),i.join("\n")}}}var e3=e.i(945872);function e6(e){return e instanceof Error?{name:e.name,message:e.message}:{name:"Error",message:String(e)}}function e8(e){let t=(0,$.aiSettings)();return{reviewerModel:t.read().reviewerModel,missingReviewerModelMessage:t.missingReviewerModelMessage,storage:e}}function e4(e){return new Map((e?.modules??[]).map(e=>[e.id,e.snapshot]))}function e5(e){let{store:t,registry:r,...n}=e;return n}class e9{session;api;links=new Set;disposers=[];shown=null;sentHostInfo;sentRegistry=null;sentSnapshots=new Map;sentVolatile=null;pendingPatches=[];pendingEvents=[];timelineChanged=!1;flushScheduled=!1;agentProjectId=null;constructor(e){this.session=e,this.sentHostInfo=e8(e.persistence.traits),this.api={selectProject:(t,r,n)=>e.selectProject(t,r,n),backToProjects:()=>e.backToProjects(),clearPersistenceError:()=>e.clearPersistenceError(),enableModules:t=>e.enableModules(t),addModule:t=>e.addModule(t),switchModule:t=>e.switchModule(t),archiveModule:t=>e.archiveModule(t),recordOpenStep:t=>e.recordOpenStep(t),importProjectFile:t=>e.importProjectFile(t),openChangedProject:()=>e.openChangedProject(),keepShownProject:()=>e.keepShownProject(),runStoreAction:e=>this.runStoreAction(e),undo:eL.undo,redo:eL.redo,beginRewind:eL.beginRewind,cancelRewind:eL.cancelRewind,jumpToNode:eL.jumpToNode,activateBranch:eL.activateBranch,exportTimeline:eL.getTimelineSnapshot,runPersistence:e=>this.runPersistence(e),listAgentTools:async()=>{let t=await this.openStore().catch(()=>null);return null==t?e1(e.getSnapshot().store):function(e,t={}){return[...e1(e,t),...(0,eQ.buildStageSubmissionTools)(e).map(({tool:e})=>e0(e))]}(t,this.openModule())},callAgentTool:async(t,r)=>{let n=await this.openStore();if(e.importing)throw new eN.UserFacingError("A project import is replacing this project in Requireganizer. Call get_workflow_state once it finishes.");if(null!=e.getSnapshot().outsideChange)throw new eN.UserFacingError(`${e.persistence.traits.name} changed outside Requireganizer. Ask the person to choose in Requireganizer which version to keep, then call get_workflow_state.`);return e2(n,t,r,this.openModule())}}}openModule(){let{registry:e}=this.session.getSnapshot();if(null==e||!e.modulesEnabled)return{};let t=(0,en.activeModule)(e)?.name;return null==t?{}:{moduleName:t}}async openStore(){await this.session.openOnlyProject();let e=this.session.getSnapshot();switch(e.status){case"ready":return e.store;case"failed":throw new eN.UserFacingError(e.persistenceError);case"loading":throw new eN.UserFacingError("The project is still opening. Try again in a moment.");case"idle":throw new eN.UserFacingError(this.session.persistence.traits.singleProject?`${this.session.persistence.traits.name} holds no project yet. Ask the person to create it in Requireganizer, then call get_workflow_state.`:"Ask the person to open a project in Requireganizer, then call get_workflow_state.")}}startObserving(){let e=this.session.getSnapshot();this.sentHostInfo=e8(this.session.persistence.traits),this.sentRegistry=e.registry,this.sentSnapshots=e4(e.registry),this.showStore(e.store),this.disposers.push((0,$.aiSettings)().subscribe(()=>this.hostInfoChanged()),this.session.subscribe(()=>this.sessionChanged()),(0,eL.onTimelineChange)(()=>{this.timelineChanged=!0,this.scheduleFlush()}),(0,eL.onChangeFocus)(e=>this.flushUpdate(e))),this.followAgentSession(e.activeProject?.id??null),"ready"===e.status&&queueMicrotask(()=>this.draftPendingOverview())}stopObserving(){for(let e of(this.shown?.stopObserving(),this.shown=null,this.disposers.splice(0)))e()}connect(e){0===this.links.size&&this.startObserving(),this.flushUpdate(),this.links.add(e);let t=this.session.getSnapshot();return e({type:"event",event:{type:"host",info:this.sentHostInfo}}),e({type:"event",event:{type:"session",session:e5(t),registry:t.registry,store:this.storeImage()}}),e({type:"event",event:{type:"store-update",update:{patches:[],volatile:{},appended:{},stepKind:null,focus:null,timeline:(0,eL.getTimelineMeta)(),events:[]}}}),{receive:t=>this.receive(e,t),close:()=>{this.links.delete(e)&&0===this.links.size&&this.stopObserving()}}}broadcast(e){for(let t of this.links)t({type:"event",event:e})}receive(e,t){"request"===t.type&&this.respond(e,t)}async respond(e,t){let r;try{let e=await this.dispatch(t);r={type:"response",id:t.id,ok:!0,value:e}}catch(e){r={type:"response",id:t.id,ok:!1,error:e6(e)}}if(this.flushUpdate(),this.links.has(e))try{e(r)}catch(r){e({type:"response",id:t.id,ok:!1,error:e6(r)})}}dispatch(e){if(!Object.hasOwn(this.api,e.name))throw Error(`The project host has no request named ${String(e.name)}.`);return(0,this.api[e.name])(...e.args)}runStoreAction(e){let t=this.shown;if(null==t||t.id!==e.store)throw Error("The module changed before the action reached it.");let r=function(e,t){let r=e;for(let e of t){if(!(0,U.isStateTreeNode)(r))return;if("string"==typeof e){r=(0,U.tryResolve)(r,`./${(0,U.escapeJsonPath)(e)}`);continue}if(!(0,U.isArrayType)((0,U.getType)(r)))return;r=r.find(t=>(0,U.isStateTreeNode)(t)&&(0,U.getIdentifier)(t)===e.id)}return(0,U.isStateTreeNode)(r)?r:void 0}(t.store,e.address);if(null==r)throw Error("The item the action was meant for no longer exists.");if(!(0,U.getMembers)(r).actions.includes(e.name))throw Error(`${e.name} is not a store action.`);return(0,r[e.name])(...e.args)}runPersistence(e){let t=Object.hasOwn(J,e.group)?J[e.group]:void 0;if(null==t||!Object.hasOwn(t,e.method))throw Error(`Storage has no operation ${e.group}.${e.method}.`);return this.session.persistence[e.group][e.method](...e.args)}hostInfoChanged(){var e;let t=e8(this.session.persistence.traits);e=this.sentHostInfo,JSON.stringify(t)!==JSON.stringify(e)&&(this.sentHostInfo=t,this.broadcast({type:"host",info:t}))}sessionChanged(){let e=this.session.getSnapshot(),t={type:"session",session:e5(e)};e.registry!==this.sentRegistry&&(this.sentRegistry=e.registry,t.registry=this.registryToSend(e.registry)),e.store!==this.shown?.store&&(this.showStore(e.store),t.store=this.storeImage()),this.broadcast(t),this.followAgentSession(e.activeProject?.id??null),"ready"===e.status&&queueMicrotask(()=>this.draftPendingOverview())}registryToSend(e){let t=this.sentSnapshots;return(this.sentSnapshots=e4(e),null==e)?null:{...e,modules:e.modules.map(e=>{if(t.get(e.id)!==e.snapshot)return e;let{snapshot:r,...n}=e;return n})}}followAgentSession(e){e!==this.agentProjectId&&(this.agentProjectId=e,(0,eJ.setAgentSessionId)(e))}draftPendingOverview(){let e=this.session.getSnapshot();if("ready"!==e.status)return;let t=this.session.consumeOverviewSeed(e.activeProject.id);null!=t&&e.store.generateProductOverview(t)}showStore(e){this.shown?.stopObserving(),this.pendingPatches=[],this.pendingEvents=[],this.sentVolatile=(0,eF.replicatedVolatileState)(e);let t=(0,U.onPatch)(e,e=>{this.pendingPatches.push(e)}),r=(0,U.onSnapshot)(e,()=>this.flushUpdate()),n=(0,eD.reaction)(()=>(0,eF.replicatedVolatileState)(e),()=>this.flushUpdate()),i=e=>{this.pendingEvents.push({name:"stepUpdate",step:e}),this.scheduleFlush()};e.eventTarget.on("stepUpdate",i),this.shown={id:(0,e3.uuid)(),store:e,stopObserving:()=>{t(),r(),n(),e.eventTarget.off("stepUpdate",i)}}}storeImage(){let e=this.shown;return{id:e.id,snapshot:(0,U.getSnapshot)(e.store),volatile:(0,eF.replicatedVolatileState)(e.store)}}scheduleFlush(){this.flushScheduled||(this.flushScheduled=!0,queueMicrotask(()=>{this.flushScheduled=!1,this.flushUpdate()}))}flushUpdate(e=null){let t=this.shown;if(null==t)return;let r=(0,eF.replicatedVolatileState)(t.store),n={},i={},o=!1;for(let e of Object.keys(r)){let t=r[e],s=this.sentVolatile?.[e];t!==s&&(o=!0,"string"==typeof t&&"string"==typeof s&&s.length>0&&t.startsWith(s)?i[e]=t.slice(s.length):n[e]=t)}if(0===this.pendingPatches.length&&0===this.pendingEvents.length&&!o&&!this.timelineChanged&&null==e)return;this.sentVolatile=r;let s=this.pendingPatches,a=this.pendingEvents,l=this.timelineChanged?(0,eL.getTimelineMeta)():null;this.pendingPatches=[],this.pendingEvents=[],this.timelineChanged=!1,this.broadcast({type:"store-update",update:{patches:s,volatile:n,appended:i,stepKind:(0,eL.getCurrentStepKind)(),focus:e,timeline:l,events:a}})}}var e7=e.i(340122);let te=(0,e.i(746224).createTheme)({cssVariables:!0,colorSchemes:{light:{palette:{primary:{main:"#2e6559"}}},dark:{palette:{primary:{main:"#285A58"}}}},components:{MuiTooltip:{styleOverrides:{tooltip:({theme:e})=>({backgroundColor:e.vars.palette.background.paper,color:e.vars.palette.text.primary,border:`1px solid ${e.vars.palette.divider}`,boxShadow:e.shadows[4],borderRadius:e.shape.borderRadius,fontSize:"0.8125rem",fontWeight:e.typography.fontWeightRegular,padding:e.spacing(1,1.5)}),arrow:({theme:e})=>({color:e.vars.palette.background.paper})}}}}),tt=!0;function tr({children:e}){var o;let s,a,[{session:l,client:u}]=(0,i.useState)(()=>{var e;if(tt=!1,"server"===Q.PROJECT_HOST_LOCATION)return{session:null,client:new eK(()=>{let e;return function(e,t=e=>new WebSocket(e)){let r=t(e),n=new Set,i=[],o=!1,s=e=>{if(o)return;o=!0;let t=[...n];for(let r of(n.clear(),t))r.closed(e)};return r.addEventListener("open",()=>{for(let e of i.splice(0))r.send(e)}),r.addEventListener("message",e=>{let t;if(!o){try{t=JSON.parse(String(e.data))}catch{r.close(),s({retry:!1,message:"The project server sent a message this page cannot read. Reload this page."});return}for(let e of n)e.message(t)}}),r.addEventListener("close",e=>s(function(e){switch(e){case 4001:return{retry:!1,message:"The project server was updated. Reload this page."};case 4003:return{retry:!1,message:"The project server no longer accepts this page. Reload it."};default:return X}}(e.code))),{send(e){if(o)throw Error("The connection to the project host is closed.");let t=JSON.stringify(e);r.readyState===r.OPEN?r.send(t):i.push(t)},subscribe:e=>(n.add(e),()=>{n.delete(e)}),close(){o||(o=!0,n.clear(),r.close(1e3))}}}(((e=new URL("/connect",window.location.href)).protocol="https:"===e.protocol?"wss:":"ws:",e.search=new URLSearchParams({protocol:String(2)}).toString(),e.toString()))})};e=er.browserAiSettings,(0,$.configureAiSettings)(e),(0,z.installGateway)(W);let t=new eH(eI),r=new e9(t);return{session:t,client:new eK(()=>{let e,t,n;return e=new Set,t=!1,n=r.connect(r=>{let n=JSON.stringify(r);queueMicrotask(()=>{if(t)return;let r=JSON.parse(n);for(let t of e)t.message(r)})}),{send(e){if(t)throw Error("The connection to the project host is closed.");let r=JSON.stringify(e);queueMicrotask(()=>{t||n.receive(JSON.parse(r))})},subscribe:t=>(e.add(t),()=>{e.delete(t)}),close(){t||(t=!0,e.clear(),n.close())}}})}});o=u.timeline,s=(0,i.useMemo)(()=>({id:ee.undoAction.id,...ee.undoShortcut,when:e=>!(0,et.isEditableTarget)(e.target),action:()=>void o.undo()}),[o]),a=(0,i.useMemo)(()=>({id:ee.redoAction.id,...ee.redoShortcut,when:e=>!(0,et.isEditableTarget)(e.target),action:()=>void o.redo()}),[o]),(0,et.useShortcut)(s),(0,et.useShortcut)(a);let{status:c,activeProject:h,persistenceError:d,outsideChange:f,registry:p,store:y}=(0,i.useSyncExternalStore)(u.subscribe,u.getSnapshot,u.getSnapshot),{reviewerModel:g,missingReviewerModelMessage:m,storage:b}=(0,i.useSyncExternalStore)(u.subscribe,u.getHostInfo,u.getHostInfo),v=(0,i.useSyncExternalStore)(u.subscribe,u.getConnectionStatus,u.getConnectionStatus),[w]=(0,i.useState)(()=>eF.Store.create((0,U.getSnapshot)(y)));(0,i.useEffect)(()=>u.open(),[u]),(0,i.useEffect)(()=>{if(null!=l)return tt&&((0,eM.resetPresentation)(),l.reloadStore(),tt=!1),l.start(),()=>l.dispose()},[l]),(0,i.useEffect)(()=>((0,eM.resetPresentation)(),(0,U.applySnapshot)(w,(0,U.getSnapshot)(y)),(0,eM.attachPresentation)(w,y,u.changeSource)),[y,w,u]),(0,i.useEffect)(()=>{if(null==l)return;let e=()=>{l.flush()};return window.addEventListener("beforeunload",e),()=>window.removeEventListener("beforeunload",e)},[l]);let S=(0,i.useCallback)(async e=>{let t;if(null==p)return;let r=u.getExportModules();if("json"===e){var n;let e;return void(n=(0,U.getSnapshot)(y),e=JSON.stringify((0,en.buildProjectPayload)(p,n),null,2),(0,eo.saveAs)(new Blob([e],{type:"text/plain;charset=utf-8"}),"specification.json"))}"pdf"===e?await eh(r):(t=r.map(e=>null==e.name?ec(e.store):`=== ${e.name} ===
52
+ ${ec(e.store)}`).join("\n"),(0,eo.saveAs)(new Blob([t],{type:"text/plain;charset=utf-8"}),"specification.txt"))},[p,u,y]),_=(0,i.useCallback)(e=>{y.setValidationErrors({validationErrors:e}),setTimeout(()=>void y.resetValidationErrors(),3e3)},[y]),E=(0,i.useCallback)(e=>{null!=p&&ef(e,{activeStore:y,modules:u.getExportModules()},_)},[p,u,y,_]),O=null==p?null:(0,en.activeModule)(p),x=null!=p&&p.modules.some(e=>{if(null!=e.archivedAt)return!1;if(e.id===p.activeModuleId)return y.hasGeneratedScaffold;let t=Array.isArray(e.snapshot.scaffoldFiles)?e.snapshot.scaffoldFiles.length:0;return(0,eF.hasGeneratedScaffoldIn)(e.snapshot.projectSetup,t)}),A={status:c,activeProject:h,persistenceError:d,outsideChange:f,openChangedProject:u.openChangedProject,keepShownProject:u.keepShownProject,reviewerModel:g,missingReviewerModelMessage:m,storage:b,persistence:u.persistence,timeline:u.timeline,selectProject:u.selectProject,backToProjects:u.backToProjects,clearPersistenceError:u.clearPersistenceError,modules:null==p?[]:(0,en.visibleModules)(p).map(e=>({id:e.id,name:e.name,active:e.id===p.activeModuleId})),modulesEnabled:p?.modulesEnabled??!1,activeModuleId:p?.activeModuleId??"",activeModuleOpenStep:O?.openStep??el.WorkflowStage.ProductOverview,codeExportAvailable:x,enableModules:u.enableModules,addModule:u.addModule,switchModule:u.switchModule,archiveModule:u.archiveModule,recordOpenStep:u.recordOpenStep,importProjectFile:u.importProjectFile,exportProject:S,exportCodeArchive:E};return(0,t.jsx)(e7.projectContext.Provider,{value:A,children:(0,t.jsx)(eF.storeContext.Provider,{value:y,children:(0,t.jsx)(eB.presentationStoreContext.Provider,{value:w,children:(0,t.jsx)(L,{options:{},children:(0,t.jsx)(B,{theme:te,children:(0,t.jsxs)(n.default,{value:{MuiLink:{component:q.default},MuiButtonBase:{LinkComponent:q.default},MuiTab:{LinkComponent:q.default}},children:[e,(0,t.jsx)(G,{}),"reconnecting"===v.state&&(0,t.jsx)(K.default,{severity:"warning",children:v.message}),"failed"===v.state&&(0,t.jsxs)(K.default,{severity:"error",children:[v.message," ",(0,t.jsx)(r.default,{color:"inherit",size:"small",onClick:()=>window.location.reload(),children:"Reload"})]})]})})})})})})}e.s(["default",()=>tr],576153)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,691081,e=>{"use strict";var a=e.i(216375);let t=Object.freeze(JSON.parse('{"displayName":"GLSL","fileTypes":["vs","fs","gs","vsh","fsh","gsh","vshader","fshader","gshader","vert","frag","geom","f.glsl","v.glsl","g.glsl"],"foldingStartMarker":"/\\\\*\\\\*|\\\\{\\\\s*$","foldingStopMarker":"\\\\*\\\\*/|^\\\\s*}","name":"glsl","patterns":[{"match":"\\\\b(break|case|continue|default|discard|do|else|for|if|return|switch|while)\\\\b","name":"keyword.control.glsl"},{"match":"\\\\b(void|bool|int|uint|float|vec2|vec3|vec4|bvec2|bvec3|bvec4|ivec2|ivec3|uvec2|uvec3|mat2|mat3|mat4|mat2x2|mat2x3|mat2x4|mat3x2|mat3x3|mat3x4|mat4x2|mat4x3|mat4x4|sampler[123|]D|samplerCube|sampler2DRect|sampler[12|]DShadow|sampler2DRectShadow|sampler[12|]DArray|sampler[12|]DArrayShadow|samplerBuffer|sampler2DMS|sampler2DMSArray|struct|isampler[123|]D|isamplerCube|isampler2DRect|isampler[12|]DArray|isamplerBuffer|isampler2DMS|isampler2DMSArray|usampler[123|]D|usamplerCube|usampler2DRect|usampler[12|]DArray|usamplerBuffer|usampler2DMS|usampler2DMSArray)\\\\b","name":"storage.type.glsl"},{"match":"\\\\b(attribute|centroid|const|flat|in|inout|invariant|noperspective|out|smooth|uniform|varying)\\\\b","name":"storage.modifier.glsl"},{"match":"\\\\b(gl_(?:BackColor|BackLightModelProduct|BackLightProduct|BackMaterial|BackSecondaryColor|ClipDistance|ClipPlane|ClipVertex|Color|DepthRange|DepthRangeParameters|EyePlaneQ|EyePlaneR|EyePlaneS|EyePlaneT|Fog|FogCoord|FogFragCoord|FogParameters|FragColor|FragCoord|FragDat|FragDept|FrontColor|FrontFacing|FrontLightModelProduct|FrontLightProduct|FrontMaterial|FrontSecondaryColor|InstanceID|Layer|LightModel|LightModelParameters|LightModelProducts|LightProducts|LightSource|LightSourceParameters|MaterialParameters|ModelViewMatrix|ModelViewMatrixInverse|ModelViewMatrixInverseTranspose|ModelViewMatrixTranspose|ModelViewProjectionMatrix|ModelViewProjectionMatrixInverse|ModelViewProjectionMatrixInverseTranspose|ModelViewProjectionMatrixTranspose|MultiTexCoord[0-7]|Normal|NormalMatrix|NormalScale|ObjectPlaneQ|ObjectPlaneR|ObjectPlaneS|ObjectPlaneT|Point|PointCoord|PointParameters|PointSize|Position|PrimitiveIDIn|ProjectionMatrix|ProjectionMatrixInverse|ProjectionMatrixInverseTranspose|ProjectionMatrixTranspose|SecondaryColor|TexCoord|TextureEnvColor|TextureMatrix|TextureMatrixInverse|TextureMatrixInverseTranspose|TextureMatrixTranspose|Vertex|VertexIDh))\\\\b","name":"support.variable.glsl"},{"match":"\\\\b(gl_Max(?:ClipPlane|CombinedTextureImageUnit|DrawBuffer|FragmentUniformComponent|Light|TextureCoord|TextureImageUnit|TextureUnit|VaryingFloat|VertexAttrib|VertexTextureImageUnit|VertexUniformComponent)s)\\\\b","name":"support.constant.glsl"},{"match":"\\\\b(abs|acos|all|any|asin|atan|ceil|clamp|cos|cross|degrees|dFdx|dFdy|distance|dot|equal|exp2??|faceforward|floor|fract|ftransform|fwidth|greaterThan|greaterThanEqual|inversesqrt|length|lessThan|lessThanEqual|log2??|matrixCompMult|max|min|mix|mod|noise[1-4]|normalize|not|notEqual|outerProduct|pow|radians|reflect|refract|shadow1D|shadow1DLod|shadow1DProj|shadow1DProjLod|shadow2D|shadow2DLod|shadow2DProj|shadow2DProjLod|sign|sin|smoothstep|sqrt|step|tan|texture1D|texture1DLod|texture1DProj|texture1DProjLod|texture2D|texture2DLod|texture2DProj|texture2DProjLod|texture3D|texture3DLod|texture3DProj|texture3DProjLod|textureCube|textureCubeLod|transpose)\\\\b","name":"support.function.glsl"},{"match":"\\\\b(asm|double|enum|extern|goto|inline|long|short|sizeof|static|typedef|union|unsigned|volatile)\\\\b","name":"invalid.illegal.glsl"},{"include":"source.c"}],"scopeName":"source.glsl","embeddedLangs":["c"]}')),n=[...a.default,t];e.s(["default",0,n])},150988,e=>{"use strict";var a=e.i(691081);let t=Object.freeze(JSON.parse('{"displayName":"Elm","fileTypes":["elm"],"name":"elm","patterns":[{"include":"#import"},{"include":"#module"},{"include":"#debug"},{"include":"#comments"},{"match":"\\\\b(_)\\\\b","name":"keyword.unused.elm"},{"include":"#type-signature"},{"include":"#type-declaration"},{"include":"#type-alias-declaration"},{"include":"#string-triple"},{"include":"#string-quote"},{"include":"#char"},{"match":"\\\\b([0-9]+\\\\.[0-9]+([Ee][-+]?[0-9]+)?|[0-9]+[Ee][-+]?[0-9]+)\\\\b","name":"constant.numeric.float.elm"},{"match":"\\\\b([0-9]+)\\\\b","name":"constant.numeric.elm"},{"match":"\\\\b(0x\\\\h+)\\\\b","name":"constant.numeric.elm"},{"include":"#glsl"},{"include":"#record-prefix"},{"include":"#module-prefix"},{"include":"#constructor"},{"captures":{"1":{"name":"punctuation.bracket.elm"},"2":{"name":"record.name.elm"},"3":{"name":"keyword.pipe.elm"},"4":{"name":"entity.name.record.field.elm"}},"match":"(\\\\{)\\\\s+([a-z][0-9A-Z_a-z]*)\\\\s+(\\\\|)\\\\s+([a-z][0-9A-Z_a-z]*)","name":"meta.record.field.update.elm"},{"captures":{"1":{"name":"keyword.pipe.elm"},"2":{"name":"entity.name.record.field.elm"},"3":{"name":"keyword.operator.assignment.elm"}},"match":"(\\\\|)\\\\s+([a-z][0-9A-Z_a-z]*)\\\\s+(=)","name":"meta.record.field.update.elm"},{"captures":{"1":{"name":"punctuation.bracket.elm"},"2":{"name":"record.name.elm"}},"match":"(\\\\{)\\\\s+([a-z][0-9A-Z_a-z]*)\\\\s+$","name":"meta.record.field.update.elm"},{"captures":{"1":{"name":"punctuation.bracket.elm"},"2":{"name":"entity.name.record.field.elm"},"3":{"name":"keyword.operator.assignment.elm"}},"match":"(\\\\{)\\\\s+([a-z][0-9A-Z_a-z]*)\\\\s+(=)","name":"meta.record.field.elm"},{"captures":{"1":{"name":"punctuation.separator.comma.elm"},"2":{"name":"entity.name.record.field.elm"},"3":{"name":"keyword.operator.assignment.elm"}},"match":"(,)\\\\s+([a-z][0-9A-Z_a-z]*)\\\\s+(=)","name":"meta.record.field.elm"},{"match":"([{}])","name":"punctuation.bracket.elm"},{"include":"#unit"},{"include":"#comma"},{"include":"#parens"},{"match":"(->)","name":"keyword.operator.arrow.elm"},{"include":"#infix_op"},{"match":"([:=\\\\\\\\|])","name":"keyword.other.elm"},{"match":"\\\\b(type|as|port|exposing|alias|infixl|infixr?)\\\\s+","name":"keyword.other.elm"},{"match":"\\\\b(if|then|else|case|of|let|in)\\\\s+","name":"keyword.control.elm"},{"include":"#record-accessor"},{"include":"#top_level_value"},{"include":"#value"},{"include":"#period"},{"include":"#square_brackets"}],"repository":{"block_comment":{"applyEndPatternLast":1,"begin":"\\\\{-(?!#)","captures":{"0":{"name":"punctuation.definition.comment.elm"}},"end":"-}","name":"comment.block.elm","patterns":[{"include":"#block_comment"}]},"char":{"begin":"\'","beginCaptures":{"0":{"name":"punctuation.definition.char.begin.elm"}},"end":"\'","endCaptures":{"0":{"name":"punctuation.definition.char.end.elm"}},"name":"string.quoted.single.elm","patterns":[{"match":"\\\\\\\\(NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|[\\"\\\\&\'\\\\\\\\abfnrtv]|x\\\\h{1,5})","name":"constant.character.escape.elm"},{"match":"\\\\^[@-_]","name":"constant.character.escape.control.elm"}]},"comma":{"match":"(,)","name":"punctuation.separator.comma.elm"},"comments":{"patterns":[{"begin":"--","captures":{"1":{"name":"punctuation.definition.comment.elm"}},"end":"$","name":"comment.line.double-dash.elm"},{"include":"#block_comment"}]},"constructor":{"match":"\\\\b[A-Z][0-9A-Z_a-z]*\\\\b","name":"constant.type-constructor.elm"},"debug":{"match":"\\\\b(Debug)\\\\b","name":"invalid.illegal.debug.elm"},"glsl":{"begin":"(\\\\[)(glsl)(\\\\|)","beginCaptures":{"1":{"name":"entity.glsl.bracket.elm"},"2":{"name":"entity.glsl.name.elm"},"3":{"name":"entity.glsl.bracket.elm"}},"end":"(\\\\|])","endCaptures":{"1":{"name":"entity.glsl.bracket.elm"}},"name":"meta.embedded.block.glsl","patterns":[{"include":"source.glsl"}]},"import":{"begin":"^\\\\b(import)\\\\s+","beginCaptures":{"1":{"name":"keyword.control.import.elm"}},"end":"\\\\n(?!\\\\s)","name":"meta.import.elm","patterns":[{"match":"(as|exposing)","name":"keyword.control.elm"},{"include":"#module_chunk"},{"include":"#period"},{"match":"\\\\s+","name":"punctuation.spaces.elm"},{"include":"#module-exports"}]},"infix_op":{"match":"(</>|<\\\\?>|<\\\\||<=|\\\\|\\\\||&&|>=|\\\\|>|\\\\|=|\\\\|\\\\.|\\\\+\\\\+|::|/=|==|//|>>|<<|[-*+/<>^])","name":"keyword.operator.elm"},"module":{"begin":"^\\\\b((port |effect )?module)\\\\s+","beginCaptures":{"1":{"name":"keyword.other.elm"}},"end":"\\\\n(?!\\\\s)","endCaptures":{"1":{"name":"keyword.other.elm"}},"name":"meta.declaration.module.elm","patterns":[{"include":"#module_chunk"},{"include":"#period"},{"match":"(exposing)","name":"keyword.other.elm"},{"match":"\\\\s+","name":"punctuation.spaces.elm"},{"include":"#module-exports"}]},"module-exports":{"begin":"(\\\\()","beginCaptures":{"1":{"name":"punctuation.parens.module-export.elm"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.parens.module-export.elm"}},"name":"meta.declaration.exports.elm","patterns":[{"match":"\\\\b[a-z][\'0-9A-Z_a-z]*","name":"entity.name.function.elm"},{"match":"\\\\b[A-Z][\'0-9A-Z_a-z]*","name":"storage.type.elm"},{"match":",","name":"punctuation.separator.comma.elm"},{"match":"\\\\s+","name":"punctuation.spaces.elm"},{"include":"#comma"},{"match":"\\\\(\\\\.\\\\.\\\\)","name":"punctuation.parens.ellipses.elm"},{"match":"\\\\.\\\\.","name":"punctuation.parens.ellipses.elm"},{"include":"#infix_op"},{"match":"\\\\(.*?\\\\)","name":"meta.other.unknown.elm"}]},"module-prefix":{"captures":{"1":{"name":"support.module.elm"},"2":{"name":"keyword.other.period.elm"}},"match":"([A-Z][0-9A-Z_a-z]*)(\\\\.)","name":"meta.module.name.elm"},"module_chunk":{"match":"[A-Z][0-9A-Z_a-z]*","name":"support.module.elm"},"parens":{"match":"([()])","name":"punctuation.parens.elm"},"period":{"match":"\\\\.","name":"keyword.other.period.elm"},"record-accessor":{"captures":{"1":{"name":"keyword.other.period.elm"},"2":{"name":"entity.name.record.field.accessor.elm"}},"match":"(\\\\.)([a-z][0-9A-Z_a-z]*)","name":"meta.record.accessor"},"record-prefix":{"captures":{"1":{"name":"record.name.elm"},"2":{"name":"keyword.other.period.elm"},"3":{"name":"entity.name.record.field.accessor.elm"}},"match":"([a-z][0-9A-Z_a-z]*)(\\\\.)([a-z][0-9A-Z_a-z]*)","name":"record.accessor.elm"},"square_brackets":{"match":"[]\\\\[]","name":"punctuation.definition.list.elm"},"string-quote":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elm"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.elm"}},"name":"string.quoted.double.elm","patterns":[{"match":"\\\\\\\\(NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|[\\"\\\\&\'\\\\\\\\abfnrtv]|x\\\\h{1,5})","name":"constant.character.escape.elm"},{"match":"\\\\^[@-_]","name":"constant.character.escape.control.elm"}]},"string-triple":{"begin":"\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elm"}},"end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.elm"}},"name":"string.quoted.triple.elm","patterns":[{"match":"\\\\\\\\(NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|[\\"\\\\&\'\\\\\\\\abfnrtv]|x\\\\h{1,5})","name":"constant.character.escape.elm"},{"match":"\\\\^[@-_]","name":"constant.character.escape.control.elm"}]},"top_level_value":{"match":"^[a-z][0-9A-Z_a-z]*\\\\b","name":"entity.name.function.top_level.elm"},"type-alias-declaration":{"begin":"^(type\\\\s+)(alias\\\\s+)([A-Z][\'0-9A-Z_a-z]*)\\\\s+","beginCaptures":{"1":{"name":"keyword.type.elm"},"2":{"name":"keyword.type-alias.elm"},"3":{"name":"storage.type.elm"}},"end":"^(?=\\\\S)","name":"meta.function.type-declaration.elm","patterns":[{"match":"\\\\n\\\\s+","name":"punctuation.spaces.elm"},{"match":"=","name":"keyword.operator.assignment.elm"},{"include":"#module-prefix"},{"match":"\\\\b[A-Z][0-9A-Z_a-z]*\\\\b","name":"storage.type.elm"},{"match":"\\\\b[a-z][0-9A-Z_a-z]*\\\\b","name":"variable.type.elm"},{"include":"#comments"},{"include":"#type-record"}]},"type-declaration":{"begin":"^(type\\\\s+)([A-Z][\'0-9A-Z_a-z]*)\\\\s+","beginCaptures":{"1":{"name":"keyword.type.elm"},"2":{"name":"storage.type.elm"}},"end":"^(?=\\\\S)","name":"meta.function.type-declaration.elm","patterns":[{"captures":{"1":{"name":"constant.type-constructor.elm"}},"match":"^\\\\s*([A-Z][0-9A-Z_a-z]*)\\\\b","name":"meta.record.field.elm"},{"match":"\\\\s+","name":"punctuation.spaces.elm"},{"captures":{"1":{"name":"keyword.operator.assignment.elm"},"2":{"name":"constant.type-constructor.elm"}},"match":"([=|])\\\\s+([A-Z][0-9A-Z_a-z]*)\\\\b","name":"meta.record.field.elm"},{"match":"=","name":"keyword.operator.assignment.elm"},{"match":"->","name":"keyword.operator.arrow.elm"},{"include":"#module-prefix"},{"match":"\\\\b[a-z][0-9A-Z_a-z]*\\\\b","name":"variable.type.elm"},{"match":"\\\\b[A-Z][0-9A-Z_a-z]*\\\\b","name":"storage.type.elm"},{"include":"#comments"},{"include":"#type-record"}]},"type-record":{"begin":"(\\\\{)","beginCaptures":{"1":{"name":"punctuation.section.braces.begin"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.section.braces.end"}},"name":"meta.function.type-record.elm","patterns":[{"match":"\\\\s+","name":"punctuation.spaces.elm"},{"match":"->","name":"keyword.operator.arrow.elm"},{"captures":{"1":{"name":"entity.name.record.field.elm"},"2":{"name":"keyword.other.elm"}},"match":"([a-z][0-9A-Z_a-z]*)\\\\s+(:)","name":"meta.record.field.elm"},{"match":",","name":"punctuation.separator.comma.elm"},{"include":"#module-prefix"},{"match":"\\\\b[a-z][0-9A-Z_a-z]*\\\\b","name":"variable.type.elm"},{"match":"\\\\b[A-Z][0-9A-Z_a-z]*\\\\b","name":"storage.type.elm"},{"include":"#comments"},{"include":"#type-record"}]},"type-signature":{"begin":"^(port\\\\s+)?([_a-z][\'0-9A-Z_a-z]*)\\\\s+(:)","beginCaptures":{"1":{"name":"keyword.other.port.elm"},"2":{"name":"entity.name.function.elm"},"3":{"name":"keyword.other.colon.elm"}},"end":"^(((?=[a-z]))|$)","name":"meta.function.type-declaration.elm","patterns":[{"include":"#type-signature-chunk"}]},"type-signature-chunk":{"patterns":[{"match":"->","name":"keyword.operator.arrow.elm"},{"match":"\\\\s+","name":"punctuation.spaces.elm"},{"include":"#module-prefix"},{"match":"\\\\b[a-z][0-9A-Z_a-z]*\\\\b","name":"variable.type.elm"},{"match":"\\\\b[A-Z][0-9A-Z_a-z]*\\\\b","name":"storage.type.elm"},{"match":"\\\\(\\\\)","name":"constant.unit.elm"},{"include":"#comma"},{"include":"#parens"},{"include":"#comments"},{"include":"#type-record"}]},"unit":{"match":"\\\\(\\\\)","name":"constant.unit.elm"},"value":{"match":"\\\\b[a-z][0-9A-Z_a-z]*\\\\b","name":"meta.value.elm"}},"scopeName":"source.elm","embeddedLangs":["glsl"]}')),n=[...a.default,t];e.s(["default",0,n])}]);