gemi 0.4.69 → 0.4.71

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 (763) hide show
  1. package/dist/{chunk-f5a531a49e7591bd.js → chunk-2895a97b65e7107b.js} +1 -1
  2. package/dist/{chunk-8884e59809021f5f.js → chunk-2dd61d279d9f0b13.js} +1 -1
  3. package/dist/{chunk-100b76ab0ca3e14d.js → chunk-448c9eceacddef90.js} +1 -1
  4. package/dist/{chunk-a4b231bf6d911e01.js → chunk-466213c5585251ad.js} +1 -1
  5. package/dist/{chunk-edfc3362e0d21dab.js → chunk-4b8da0fabb3539db.js} +5 -5
  6. package/dist/{chunk-1bd88dc9c4475e1d.js → chunk-4bc3b71775040cb9.js} +1 -1
  7. package/dist/{chunk-00935722c776a294.js → chunk-af7d1951242b1c6e.js} +1 -1
  8. package/dist/{chunk-1d2c062034e3ed2d.js → chunk-b6a64bf9af2e91be.js} +2 -2
  9. package/dist/{chunk-a35eb04f0c7c9944.js → chunk-b8176bf532f59485.js} +1 -1
  10. package/dist/{chunk-545989119755857f.js → chunk-cca33e85bf87b3b3.js} +1 -1
  11. package/dist/{chunk-a1efc60864e65ef2.js → chunk-de75d134f236f4bb.js} +1 -1
  12. package/dist/{chunk-107dbe753ed86605.js → chunk-e344c95f8ae7a124.js} +2 -2
  13. package/dist/{chunk-f5200f44395bf49d.js → chunk-e565da7343a33b65.js} +2 -2
  14. package/dist/{chunk-3330ff12936f5a2e.js → chunk-e912bf7c7a0e988a.js} +1 -1
  15. package/dist/{chunk-210fc3731e7d2299.js → chunk-f22ac1ec6c3f782b.js} +1 -1
  16. package/dist/{chunk-1b3b7c2c9ae041ca.js → chunk-fe65548818651cb5.js} +1 -1
  17. package/dist/client/ClientRouterContext.d.ts.map +1 -1
  18. package/dist/client/HttpReload.d.ts.map +1 -1
  19. package/dist/client/index.js +19 -5
  20. package/dist/server/index.js +1 -1
  21. package/dist/storage/index.js +1 -1
  22. package/dist/vite/{index-D9QWnghl.mjs → index-BbySvAwL.mjs} +3 -3
  23. package/dist/vite/index.mjs +1 -1
  24. package/dist/vite/{typescript-DADBvwYC.mjs → typescript-CeZcXBr-.mjs} +1 -1
  25. package/package.json +1 -1
  26. package/dist/app/App.test.d.ts +0 -20
  27. package/dist/app/App.test.d.ts.map +0 -1
  28. package/dist/app/createComponentTree.test.d.ts +0 -2
  29. package/dist/app/createComponentTree.test.d.ts.map +0 -1
  30. package/dist/app/createFlatApiRoutes.test.d.ts +0 -2
  31. package/dist/app/createFlatApiRoutes.test.d.ts.map +0 -1
  32. package/dist/app/createFlatViewRoutes.test.d.ts +0 -2
  33. package/dist/app/createFlatViewRoutes.test.d.ts.map +0 -1
  34. package/dist/app/createRouteManifest.test.d.ts +0 -2
  35. package/dist/app/createRouteManifest.test.d.ts.map +0 -1
  36. package/dist/chunk-00234eac874c2722.js +0 -2
  37. package/dist/chunk-00cb9f80352454dd.js +0 -1
  38. package/dist/chunk-00e9dad0734d9761.js +0 -2
  39. package/dist/chunk-00ecc27f03e2e84a.js +0 -2
  40. package/dist/chunk-00f16704831dd8b0.js +0 -2
  41. package/dist/chunk-01052ff9d1c07ef8.js +0 -2
  42. package/dist/chunk-0113570164c56f57.js +0 -2
  43. package/dist/chunk-0130e95410edb036.js +0 -18
  44. package/dist/chunk-01e07763e3e32710.js +0 -2
  45. package/dist/chunk-01e1579811beb424.js +0 -2
  46. package/dist/chunk-01ffccc19e8ef862.js +0 -3
  47. package/dist/chunk-02118fc60206588d.js +0 -2
  48. package/dist/chunk-0306d8fccec5104e.js +0 -2
  49. package/dist/chunk-030b4fb955329860.js +0 -16
  50. package/dist/chunk-03227f4a68e038f4.js +0 -2
  51. package/dist/chunk-03a72299591d45a7.js +0 -18
  52. package/dist/chunk-03c8e645c994d40a.js +0 -2
  53. package/dist/chunk-04aa62521338e3ab.js +0 -18
  54. package/dist/chunk-04d6b88ed6d3f076.js +0 -6
  55. package/dist/chunk-0557700bf68e85d4.js +0 -18
  56. package/dist/chunk-05fa767ab29abb0f.js +0 -2
  57. package/dist/chunk-061d95b15c00e38b.js +0 -9
  58. package/dist/chunk-069fcad61c8841dc.js +0 -1
  59. package/dist/chunk-06b83143607ebdc8.js +0 -6
  60. package/dist/chunk-06eebef7eb056baa.js +0 -2
  61. package/dist/chunk-073f5b81e98d91fe.js +0 -3
  62. package/dist/chunk-08539d08fa7362f7.js +0 -2
  63. package/dist/chunk-088b47e135832170.js +0 -1
  64. package/dist/chunk-088ed28ebed2b009.js +0 -5
  65. package/dist/chunk-08e9ab1091d7383e.js +0 -3
  66. package/dist/chunk-0909c7f6b64b8806.js +0 -2
  67. package/dist/chunk-095848ccb81718bf.js +0 -2
  68. package/dist/chunk-09dd89e1046786a5.js +0 -2
  69. package/dist/chunk-0a6614fbd65524af.js +0 -2
  70. package/dist/chunk-0a9ae42aae6f406e.js +0 -2
  71. package/dist/chunk-0b1b4e4e251ffe01.js +0 -2
  72. package/dist/chunk-0b46ec66d2c3d5f3.js +0 -2
  73. package/dist/chunk-0b5fb4e0c7de8316.js +0 -2
  74. package/dist/chunk-0b7a7410fce0b12e.js +0 -9
  75. package/dist/chunk-0b8dc3d1ff94a0fa.js +0 -6
  76. package/dist/chunk-0b99ba34351bde91.js +0 -3
  77. package/dist/chunk-0d0f764773c0f6b8.js +0 -2
  78. package/dist/chunk-0d8ab901365b9696.js +0 -2
  79. package/dist/chunk-0db33ac43bd1d504.js +0 -2
  80. package/dist/chunk-0de36a7e51fbd11b.js +0 -9
  81. package/dist/chunk-0e125593337a68aa.js +0 -18
  82. package/dist/chunk-0e3473f7e43f4876.js +0 -2
  83. package/dist/chunk-0e99fe5c976c8ea2.js +0 -6
  84. package/dist/chunk-0f8e80862546cbc5.js +0 -18
  85. package/dist/chunk-0ffc38ed09847e35.js +0 -2
  86. package/dist/chunk-1062b3156a49fabc.js +0 -2
  87. package/dist/chunk-1084614a350762fb.js +0 -2
  88. package/dist/chunk-10a623a23a65bb20.js +0 -18
  89. package/dist/chunk-1109657ed53fbdc9.js +0 -2
  90. package/dist/chunk-11323d7a5d9219ce.js +0 -2
  91. package/dist/chunk-1171d9afbbfe827b.js +0 -2
  92. package/dist/chunk-119ffcaf1c463b8d.js +0 -6
  93. package/dist/chunk-11a75566ff74db17.js +0 -6
  94. package/dist/chunk-11d1336f6de61f45.js +0 -16
  95. package/dist/chunk-11fb7f7f30378785.js +0 -2
  96. package/dist/chunk-12b4f44a2beae19b.js +0 -2
  97. package/dist/chunk-12ca7224eb6ccf72.js +0 -9
  98. package/dist/chunk-132c71db605759c9.js +0 -2
  99. package/dist/chunk-1334ee957ff9058c.js +0 -2
  100. package/dist/chunk-136896e8038083a1.js +0 -2
  101. package/dist/chunk-13801a8f811f0461.js +0 -2
  102. package/dist/chunk-13e45ce3460f6375.js +0 -2
  103. package/dist/chunk-14d5491e97673c7d.js +0 -2
  104. package/dist/chunk-14e60554a2e78f4a.js +0 -2
  105. package/dist/chunk-159f5b922269aef1.js +0 -2
  106. package/dist/chunk-15e9771e524c5726.js +0 -2
  107. package/dist/chunk-16a63b2fee0ce9e2.js +0 -2
  108. package/dist/chunk-16dbe3a15379140b.js +0 -2
  109. package/dist/chunk-176e5ded5ed33d4d.js +0 -2
  110. package/dist/chunk-1838696dc4e7a115.js +0 -2
  111. package/dist/chunk-1874b66d572fb0db.js +0 -6
  112. package/dist/chunk-1875b98b6a064557.js +0 -2
  113. package/dist/chunk-187a09f46e2b36e5.js +0 -2
  114. package/dist/chunk-18c32b54097c580e.js +0 -2
  115. package/dist/chunk-18d87123ae525263.js +0 -2
  116. package/dist/chunk-1900e90c372bb1d6.js +0 -2
  117. package/dist/chunk-1976eef63d2e56d5.js +0 -18
  118. package/dist/chunk-197fca66ec324ed9.js +0 -2
  119. package/dist/chunk-1ad1795e55abfdb5.js +0 -2
  120. package/dist/chunk-1b0afbf1baeeaa37.js +0 -2
  121. package/dist/chunk-1b71d04a15bfa432.js +0 -2
  122. package/dist/chunk-1b8acf308a3dc9ec.js +0 -1
  123. package/dist/chunk-1c439804a4c5f8e7.js +0 -18
  124. package/dist/chunk-1cc0d1072ee4a92b.js +0 -2
  125. package/dist/chunk-1d6e287ca9c14fef.js +0 -9
  126. package/dist/chunk-1efe790f8b4ad86d.js +0 -2
  127. package/dist/chunk-1fab30ab853c48cc.js +0 -2
  128. package/dist/chunk-2081b862587086df.js +0 -2
  129. package/dist/chunk-216cc6dcf17534ba.js +0 -2
  130. package/dist/chunk-21b1f7ac5f75cd26.js +0 -2
  131. package/dist/chunk-21e105fb2b3d36d7.js +0 -799
  132. package/dist/chunk-21fe96d1a3bb5a27.js +0 -2
  133. package/dist/chunk-223b0aac9e62386a.js +0 -2
  134. package/dist/chunk-226243dd851d2050.js +0 -2
  135. package/dist/chunk-22773aec8cc230c6.js +0 -6
  136. package/dist/chunk-2279c382943fca51.js +0 -2
  137. package/dist/chunk-22ec1973752a5488.js +0 -2
  138. package/dist/chunk-2335866508ec8b1b.js +0 -2
  139. package/dist/chunk-23c287376e277e1d.js +0 -6
  140. package/dist/chunk-241584e48397dda8.js +0 -2
  141. package/dist/chunk-24e01cba9fc81ed1.js +0 -2
  142. package/dist/chunk-25dd80c6d9144f89.js +0 -2
  143. package/dist/chunk-2665dffd37ead1d9.js +0 -2
  144. package/dist/chunk-2672477bf396bad8.js +0 -2
  145. package/dist/chunk-269dd2cd89aa1c32.js +0 -2
  146. package/dist/chunk-26a5c9db5d17f5e7.js +0 -3
  147. package/dist/chunk-26d58ddc3a89234f.js +0 -2
  148. package/dist/chunk-27484e5ca3244aea.js +0 -6
  149. package/dist/chunk-281226b6c79ebf8b.js +0 -2
  150. package/dist/chunk-285299d784985340.js +0 -3
  151. package/dist/chunk-28bb1e70f39736ee.js +0 -2
  152. package/dist/chunk-28e02c9b9c46a167.js +0 -2
  153. package/dist/chunk-293d8be91a9ad4f9.js +0 -2
  154. package/dist/chunk-29a0dbe3c8eb87d4.js +0 -6
  155. package/dist/chunk-29bc27c5e126c304.js +0 -18
  156. package/dist/chunk-29c46abebbc0f09b.js +0 -2
  157. package/dist/chunk-2a0d1475ac05027d.js +0 -2
  158. package/dist/chunk-2a0e8565f874d787.js +0 -18
  159. package/dist/chunk-2a101fb25d52469b.js +0 -2
  160. package/dist/chunk-2a328e3beda74e4f.js +0 -2
  161. package/dist/chunk-2a48e0098ccd4249.js +0 -2
  162. package/dist/chunk-2a5b4dfab2e26e21.js +0 -1
  163. package/dist/chunk-2b2764983015552e.js +0 -2
  164. package/dist/chunk-2b3eabd01b2ae3f8.js +0 -2
  165. package/dist/chunk-2bfbc777c6995d9a.js +0 -18
  166. package/dist/chunk-2cf271e24c26b0ee.js +0 -2
  167. package/dist/chunk-2db6c9bb69bb27aa.js +0 -1
  168. package/dist/chunk-2e34b856e195c353.js +0 -2
  169. package/dist/chunk-2e447b50094b2862.js +0 -2
  170. package/dist/chunk-2ec287222364c6b6.js +0 -2
  171. package/dist/chunk-2ecc077efab285b4.js +0 -2
  172. package/dist/chunk-2f6867d08b95f2d2.js +0 -2
  173. package/dist/chunk-2f7091b9e4f728c7.js +0 -2
  174. package/dist/chunk-2f7aac67f16768a5.js +0 -1
  175. package/dist/chunk-3042abeb18cf180e.js +0 -2
  176. package/dist/chunk-30622b4547786346.js +0 -2
  177. package/dist/chunk-30f854fb2ba73268.js +0 -2
  178. package/dist/chunk-322e991c2b56a79d.js +0 -2
  179. package/dist/chunk-3258ba57992f25bb.js +0 -6
  180. package/dist/chunk-328c98321c6ba3d6.js +0 -2
  181. package/dist/chunk-32af3a3a1c95157f.js +0 -2
  182. package/dist/chunk-32f06f9ad00aaabd.js +0 -2
  183. package/dist/chunk-32f3d5e11b4bc87d.js +0 -2
  184. package/dist/chunk-339dd63e93f196b7.js +0 -16
  185. package/dist/chunk-345f66382cf35683.js +0 -2
  186. package/dist/chunk-34786cd9bc9be20b.js +0 -18
  187. package/dist/chunk-3567e8e424a60c99.js +0 -18
  188. package/dist/chunk-35ab4be8ca6c67ee.js +0 -2
  189. package/dist/chunk-361f806684fe532e.js +0 -6
  190. package/dist/chunk-36ab979dae2a2094.js +0 -2
  191. package/dist/chunk-36b8e37ca93fcc67.js +0 -2
  192. package/dist/chunk-370389a68668658a.js +0 -2
  193. package/dist/chunk-3728fa21e6931333.js +0 -2
  194. package/dist/chunk-378a050132886d17.js +0 -2
  195. package/dist/chunk-38237d1b01b0db25.js +0 -3
  196. package/dist/chunk-382a513747a9aa52.js +0 -6
  197. package/dist/chunk-38fc9d258dbe62fd.js +0 -18
  198. package/dist/chunk-3a3092db69408490.js +0 -2
  199. package/dist/chunk-3a9fcddbd219223b.js +0 -3
  200. package/dist/chunk-3ab807ceccde81f3.js +0 -3
  201. package/dist/chunk-3abb49bba3da7231.js +0 -1
  202. package/dist/chunk-3aecba8553e036bf.js +0 -6
  203. package/dist/chunk-3afa6cad1106f55a.js +0 -2
  204. package/dist/chunk-3b235fc8816ff5e6.js +0 -2
  205. package/dist/chunk-3b6df70b3d01d442.js +0 -3
  206. package/dist/chunk-3bd48fb5397a155b.js +0 -5
  207. package/dist/chunk-3bedef94ef8dba4a.js +0 -2
  208. package/dist/chunk-3bf6f8c8e8589e3d.js +0 -2
  209. package/dist/chunk-3c83d6762f7e56b3.js +0 -2
  210. package/dist/chunk-3cbc1c9cdc091b43.js +0 -2
  211. package/dist/chunk-3d7556bb2f665f61.js +0 -2
  212. package/dist/chunk-3dbf073642b377eb.js +0 -1
  213. package/dist/chunk-3e3078cae755e834.js +0 -2
  214. package/dist/chunk-3f1eaa4b49aa9a15.js +0 -3
  215. package/dist/chunk-40111275eef9f7b3.js +0 -6
  216. package/dist/chunk-408fb31b8b0f97ee.js +0 -2
  217. package/dist/chunk-40942fb138dcd780.js +0 -9
  218. package/dist/chunk-40c21fe243675250.js +0 -2
  219. package/dist/chunk-40f4bfe67d75f2ec.js +0 -6
  220. package/dist/chunk-412ad792487747bc.js +0 -2
  221. package/dist/chunk-415d564ff61a8fe6.js +0 -2
  222. package/dist/chunk-42097f79deccd5b7.js +0 -2
  223. package/dist/chunk-4272071146eb5eb2.js +0 -1
  224. package/dist/chunk-42aa6e3d42149620.js +0 -2
  225. package/dist/chunk-432bbd1d38ff3b52.js +0 -2
  226. package/dist/chunk-437335670ad9059d.js +0 -2
  227. package/dist/chunk-442a5b1ec74c72f8.js +0 -2
  228. package/dist/chunk-4432f8d8567e682b.js +0 -9
  229. package/dist/chunk-4548da0edd8c39ed.js +0 -2
  230. package/dist/chunk-45badde289996d82.js +0 -9
  231. package/dist/chunk-464cce477d8a56e0.js +0 -2
  232. package/dist/chunk-46528bdbb2218772.js +0 -2
  233. package/dist/chunk-477a4d3115b9703e.js +0 -2
  234. package/dist/chunk-47c4cec992af0689.js +0 -2
  235. package/dist/chunk-487b7c0cb388d533.js +0 -6
  236. package/dist/chunk-488b4db0c522d44a.js +0 -1
  237. package/dist/chunk-489125d86cd75e69.js +0 -9
  238. package/dist/chunk-4960e27e19bbe42a.js +0 -2
  239. package/dist/chunk-4b201cccdf6d290f.js +0 -2
  240. package/dist/chunk-4b4ea80149bba4e6.js +0 -2
  241. package/dist/chunk-4bbeb47cc6137c49.js +0 -2
  242. package/dist/chunk-4cb19a9e82653084.js +0 -2
  243. package/dist/chunk-4cb5f3feff1a81c5.js +0 -2
  244. package/dist/chunk-4cc2463d985f6882.js +0 -9
  245. package/dist/chunk-4d19e16340534ed0.js +0 -2
  246. package/dist/chunk-4d46e390f99b97e0.js +0 -2
  247. package/dist/chunk-4d80485e7efb826f.js +0 -2
  248. package/dist/chunk-4e023976eb557258.js +0 -2
  249. package/dist/chunk-4e5485d3cfe9dc4e.js +0 -2
  250. package/dist/chunk-4e9167391dd0d15f.js +0 -2
  251. package/dist/chunk-4e9d5acfa5541d1b.js +0 -2
  252. package/dist/chunk-4eeee2f82b1fa8bb.js +0 -2
  253. package/dist/chunk-4f01c5a98726e704.js +0 -2
  254. package/dist/chunk-4f1b43f5232b3e65.js +0 -6
  255. package/dist/chunk-4f5b07a6a6fd5cc6.js +0 -2
  256. package/dist/chunk-4ffecff075e73d43.js +0 -2
  257. package/dist/chunk-50b440397d41ab5a.js +0 -2
  258. package/dist/chunk-50ea27a13eb62b5e.js +0 -2
  259. package/dist/chunk-5128de1a65ba6ce1.js +0 -2
  260. package/dist/chunk-514f8554fb446139.js +0 -9
  261. package/dist/chunk-515c26d532207095.js +0 -2
  262. package/dist/chunk-516c6b67d6e3d041.js +0 -18
  263. package/dist/chunk-5190b38f06507ee1.js +0 -18
  264. package/dist/chunk-51bad63147c3be4e.js +0 -6
  265. package/dist/chunk-51c21d2a3c45fbe1.js +0 -2
  266. package/dist/chunk-51e930ef29de215b.js +0 -1
  267. package/dist/chunk-51ee928673a12486.js +0 -2
  268. package/dist/chunk-521750cca5e03c65.js +0 -2
  269. package/dist/chunk-5290ecaf429d5a61.js +0 -2
  270. package/dist/chunk-52e76204b898931e.js +0 -18
  271. package/dist/chunk-53b7d6267c9172bc.js +0 -2
  272. package/dist/chunk-53c39aca36ece018.js +0 -2
  273. package/dist/chunk-543013123141745c.js +0 -2
  274. package/dist/chunk-54c03438ff1f41e5.js +0 -2
  275. package/dist/chunk-552bdaee8c03e091.js +0 -9
  276. package/dist/chunk-55f76d4f6116f296.js +0 -9
  277. package/dist/chunk-5656abf3151c8fa2.js +0 -2
  278. package/dist/chunk-56f6f8c2162dcf1c.js +0 -2
  279. package/dist/chunk-57a61e580c4adf80.js +0 -2
  280. package/dist/chunk-581e0d46235dbf7c.js +0 -2
  281. package/dist/chunk-584e33c96b1a78e4.js +0 -2
  282. package/dist/chunk-5852c4da08af607f.js +0 -2
  283. package/dist/chunk-589f4b330dd6d32e.js +0 -2
  284. package/dist/chunk-590bd43a75f48606.js +0 -18
  285. package/dist/chunk-590cd512f9e72880.js +0 -18
  286. package/dist/chunk-596024c880387c2f.js +0 -2
  287. package/dist/chunk-597d5c6772b14a85.js +0 -9
  288. package/dist/chunk-59980167a4c574b3.js +0 -2
  289. package/dist/chunk-59da8b8ab8add738.js +0 -16
  290. package/dist/chunk-59e951812cb019e6.js +0 -2
  291. package/dist/chunk-59fe590e19085858.js +0 -18
  292. package/dist/chunk-5a2d89fce13094a9.js +0 -2
  293. package/dist/chunk-5a66922d5981afc8.js +0 -18
  294. package/dist/chunk-5a75eae6c32c2ba3.js +0 -2
  295. package/dist/chunk-5a9fa677066f72ac.js +0 -2
  296. package/dist/chunk-5b54843712abde58.js +0 -2
  297. package/dist/chunk-5b836c769c5dad2a.js +0 -2
  298. package/dist/chunk-5c2a5156f6bef0f5.js +0 -2
  299. package/dist/chunk-5c3681fb029d7588.js +0 -1
  300. package/dist/chunk-5cd0a98345a5d57a.js +0 -2
  301. package/dist/chunk-5d3431e9686096af.js +0 -18
  302. package/dist/chunk-5d51afe60efaf99e.js +0 -2
  303. package/dist/chunk-5d86d49d66db1c22.js +0 -2
  304. package/dist/chunk-5defd55c3c97bdb2.js +0 -2
  305. package/dist/chunk-5e13846c554dc272.js +0 -2
  306. package/dist/chunk-5fb9d31b7b4629e9.js +0 -1
  307. package/dist/chunk-5fbde192153a2a50.js +0 -2
  308. package/dist/chunk-5fd67245740e3908.js +0 -9
  309. package/dist/chunk-6003411eae26f246.js +0 -3
  310. package/dist/chunk-60d70dcbf4e79276.js +0 -2
  311. package/dist/chunk-60f3b8242209ac3e.js +0 -18
  312. package/dist/chunk-61973614facb50a8.js +0 -2
  313. package/dist/chunk-61abf77c3eee8698.js +0 -2
  314. package/dist/chunk-61fc22887a7be6f9.js +0 -3
  315. package/dist/chunk-62144f9c5008bd47.js +0 -1
  316. package/dist/chunk-625025af819f55f5.js +0 -2
  317. package/dist/chunk-6259cd13f53334df.js +0 -2
  318. package/dist/chunk-62b2777c629d5157.js +0 -2
  319. package/dist/chunk-62c0f9a87ad8a46b.js +0 -2
  320. package/dist/chunk-634c80cac76d9080.js +0 -18
  321. package/dist/chunk-63ad0436d3d896b5.js +0 -3
  322. package/dist/chunk-63c5605bcce508ea.js +0 -1
  323. package/dist/chunk-640e4bdae1671873.js +0 -1
  324. package/dist/chunk-648dff766091372e.js +0 -2
  325. package/dist/chunk-64a5b833cef67725.js +0 -2
  326. package/dist/chunk-64c89cee4d4bd9a9.js +0 -2
  327. package/dist/chunk-65626c3d72d4e071.js +0 -2
  328. package/dist/chunk-65c413665a7cf876.js +0 -2
  329. package/dist/chunk-6605e290c4de1f0e.js +0 -6
  330. package/dist/chunk-66ab377654806d08.js +0 -2
  331. package/dist/chunk-670d2c924e80cb33.js +0 -3
  332. package/dist/chunk-67351e678a7ccc10.js +0 -2
  333. package/dist/chunk-6766e66417809e1a.js +0 -2
  334. package/dist/chunk-6821bb0ff6ed2452.js +0 -18
  335. package/dist/chunk-682b01231754a121.js +0 -2
  336. package/dist/chunk-68af0a6f6be163ce.js +0 -2
  337. package/dist/chunk-6921ba2fa2e1adea.js +0 -2
  338. package/dist/chunk-6943b50bd0a3ac84.js +0 -1
  339. package/dist/chunk-699957e6eb705a81.js +0 -2
  340. package/dist/chunk-69ff5047661fe699.js +0 -2
  341. package/dist/chunk-6a28d299b5726bba.js +0 -2
  342. package/dist/chunk-6ac91c66919b5ddd.js +0 -2
  343. package/dist/chunk-6afe097e13ebdf55.js +0 -2
  344. package/dist/chunk-6c345dba15e1c3f2.js +0 -2
  345. package/dist/chunk-6c461d293fa213f1.js +0 -2
  346. package/dist/chunk-6caabea5fcbc9cf7.js +0 -2
  347. package/dist/chunk-6d04c1ccb3ca8c74.js +0 -1
  348. package/dist/chunk-6e06660ab4e9d4da.js +0 -6
  349. package/dist/chunk-6e415d0e12fc9539.js +0 -1
  350. package/dist/chunk-6f78f2a54491595d.js +0 -2
  351. package/dist/chunk-700835a3a709b370.js +0 -2
  352. package/dist/chunk-70bb003c03f21dad.js +0 -2
  353. package/dist/chunk-711f86b9d50d45fe.js +0 -18
  354. package/dist/chunk-71820a3186a38543.js +0 -6
  355. package/dist/chunk-7195a8718fcd8215.js +0 -1
  356. package/dist/chunk-722f2aeae58daaa3.js +0 -18
  357. package/dist/chunk-72821f055108528e.js +0 -2
  358. package/dist/chunk-72add10919c9d7ae.js +0 -2
  359. package/dist/chunk-731f30522682483a.js +0 -2
  360. package/dist/chunk-733513f9c9e8b50f.js +0 -2
  361. package/dist/chunk-733688c7851fffd1.js +0 -2
  362. package/dist/chunk-7336bd3f3b799e3e.js +0 -1
  363. package/dist/chunk-7399f06d840a1449.js +0 -2
  364. package/dist/chunk-73c97da8ac4f1d30.js +0 -1
  365. package/dist/chunk-73c9d39f58a30fe2.js +0 -6
  366. package/dist/chunk-73eed146ee78f681.js +0 -1
  367. package/dist/chunk-73fb3bb4d001bb2e.js +0 -1
  368. package/dist/chunk-7431d60af8814bc8.js +0 -2
  369. package/dist/chunk-74802f454b9972eb.js +0 -2
  370. package/dist/chunk-74ab9c225bfe0eaa.js +0 -2
  371. package/dist/chunk-74db07ba7b97d1c1.js +0 -2
  372. package/dist/chunk-76a525af0575486d.js +0 -5
  373. package/dist/chunk-76db0552d2492ee7.js +0 -3
  374. package/dist/chunk-774337ca540a856d.js +0 -2
  375. package/dist/chunk-77c89e3c8a03f91e.js +0 -2
  376. package/dist/chunk-77d1b26236f5feec.js +0 -2
  377. package/dist/chunk-77d5bbc7a9117c21.js +0 -2
  378. package/dist/chunk-782dde0748025b5a.js +0 -2
  379. package/dist/chunk-78534576cf359780.js +0 -2
  380. package/dist/chunk-7898dd7609f163e8.js +0 -2
  381. package/dist/chunk-78ab7bcbe6104c5f.js +0 -2
  382. package/dist/chunk-78d6df0054754d5d.js +0 -2
  383. package/dist/chunk-795a1bd1d89efce1.js +0 -2
  384. package/dist/chunk-797430f55303e6b5.js +0 -2
  385. package/dist/chunk-7975e27df461cbfb.js +0 -6
  386. package/dist/chunk-798f550643937b6d.js +0 -2
  387. package/dist/chunk-79b438007611560a.js +0 -2
  388. package/dist/chunk-79f7d7d90c4fb51a.js +0 -2
  389. package/dist/chunk-7a318e738fec6c2b.js +0 -3
  390. package/dist/chunk-7aa7f7e219919c4d.js +0 -2
  391. package/dist/chunk-7abc696047809312.js +0 -6
  392. package/dist/chunk-7afdc0ba5afe109a.js +0 -21
  393. package/dist/chunk-7b3bbc8a88aee78c.js +0 -1
  394. package/dist/chunk-7b8e777f7353b492.js +0 -2
  395. package/dist/chunk-7c0fd956d14fc327.js +0 -2
  396. package/dist/chunk-7c62e9d6edc4b418.js +0 -2
  397. package/dist/chunk-7c670baec90faacb.js +0 -2
  398. package/dist/chunk-7d7b2c1f2a8dd018.js +0 -6
  399. package/dist/chunk-7de7f34d46c76019.js +0 -18
  400. package/dist/chunk-7dfb17814922ade0.js +0 -2
  401. package/dist/chunk-7e9d5eea3aa359ad.js +0 -2
  402. package/dist/chunk-7ea1baca4032004f.js +0 -2
  403. package/dist/chunk-7eb54149dff25532.js +0 -2
  404. package/dist/chunk-7ec30fbbbdf89272.js +0 -2
  405. package/dist/chunk-7fadaab2fa180ca9.js +0 -6
  406. package/dist/chunk-7fef11f59982b1f6.js +0 -2
  407. package/dist/chunk-7ffe2ce59a054e35.js +0 -2
  408. package/dist/chunk-80b17f9853d76e98.js +0 -2
  409. package/dist/chunk-8133ed564834cff3.js +0 -2
  410. package/dist/chunk-8163d4f4c2c91caf.js +0 -2
  411. package/dist/chunk-817aad76d1e8eecc.js +0 -6
  412. package/dist/chunk-81938d68b172446d.js +0 -2
  413. package/dist/chunk-81a00ae1b3ea4824.js +0 -2
  414. package/dist/chunk-81ce9b491b290639.js +0 -1
  415. package/dist/chunk-81f5123a24c19089.js +0 -2
  416. package/dist/chunk-827d2c67c03d1a52.js +0 -2
  417. package/dist/chunk-8295e42bcfc910ff.js +0 -16
  418. package/dist/chunk-82f72dfc6e27be04.js +0 -1
  419. package/dist/chunk-8401f0f53dc26633.js +0 -1
  420. package/dist/chunk-8450a38607a86896.js +0 -2
  421. package/dist/chunk-847629c9a7550cc3.js +0 -2
  422. package/dist/chunk-84b129a5185ac24d.js +0 -2
  423. package/dist/chunk-84c7f86a97d17f53.js +0 -2
  424. package/dist/chunk-84f1b068dc7fc8b7.js +0 -2
  425. package/dist/chunk-8581aa9e876d46fb.js +0 -2
  426. package/dist/chunk-85a1f8fb96fd9473.js +0 -2
  427. package/dist/chunk-85d5e5d7ff832255.js +0 -2
  428. package/dist/chunk-860f5fcef7074193.js +0 -9
  429. package/dist/chunk-869d80d2e475b938.js +0 -3
  430. package/dist/chunk-880273a32da461fd.js +0 -9
  431. package/dist/chunk-88103b9d011960db.js +0 -5
  432. package/dist/chunk-89187bbdf6945131.js +0 -2
  433. package/dist/chunk-89291b5eb2bbd0b4.js +0 -2
  434. package/dist/chunk-895d9b1ef7a65211.js +0 -2
  435. package/dist/chunk-897773d66a89947a.js +0 -2
  436. package/dist/chunk-89c6080d4a693ddf.js +0 -2
  437. package/dist/chunk-8a993922ea970923.js +0 -2
  438. package/dist/chunk-8aa3e0e20e411d11.js +0 -2
  439. package/dist/chunk-8af626a703659719.js +0 -18
  440. package/dist/chunk-8b3d411f441a43ce.js +0 -2
  441. package/dist/chunk-8b40d6a498f8bf81.js +0 -2
  442. package/dist/chunk-8b944ecefa1b832c.js +0 -18
  443. package/dist/chunk-8bb91c504b9ca45e.js +0 -2
  444. package/dist/chunk-8bf925705fdcef0c.js +0 -2
  445. package/dist/chunk-8c2b349a7198788f.js +0 -6
  446. package/dist/chunk-8c3e0f5d4a0d6e53.js +0 -2
  447. package/dist/chunk-8c8c8fd3646b76a1.js +0 -2
  448. package/dist/chunk-8caa0abe673f5d41.js +0 -2
  449. package/dist/chunk-8d8666b73758171e.js +0 -2
  450. package/dist/chunk-8e72aa06d4e47eca.js +0 -2
  451. package/dist/chunk-8ef8222b34d8f63f.js +0 -2
  452. package/dist/chunk-8f24cd33e07d02f3.js +0 -2
  453. package/dist/chunk-8f547b919361fdf4.js +0 -2
  454. package/dist/chunk-8f986f307ff91bd3.js +0 -2
  455. package/dist/chunk-901e700a2c2d43f3.js +0 -18
  456. package/dist/chunk-90c5196ff1f827a8.js +0 -2
  457. package/dist/chunk-9113f22a5215c639.js +0 -3
  458. package/dist/chunk-915c050c94553981.js +0 -2
  459. package/dist/chunk-9238196d4889d660.js +0 -1
  460. package/dist/chunk-92a55add20b5d7ac.js +0 -9
  461. package/dist/chunk-92f6095a3be7f459.js +0 -1
  462. package/dist/chunk-9326224d1e4c1a64.js +0 -2
  463. package/dist/chunk-933845e73519b4c5.js +0 -2
  464. package/dist/chunk-934ebff128f86ef1.js +0 -1
  465. package/dist/chunk-9350baa090b5a424.js +0 -2
  466. package/dist/chunk-938fed005335132e.js +0 -9
  467. package/dist/chunk-93b6f53456c1251b.js +0 -2
  468. package/dist/chunk-94578320d28e33ad.js +0 -2
  469. package/dist/chunk-9501e589e3e86a96.js +0 -2
  470. package/dist/chunk-955e2bfcdb7a7e71.js +0 -2
  471. package/dist/chunk-96b635a3bdba7415.js +0 -2
  472. package/dist/chunk-970e033f764e29fc.js +0 -19
  473. package/dist/chunk-98126e4b5bd19831.js +0 -2
  474. package/dist/chunk-9938e9a4fe25dda5.js +0 -2
  475. package/dist/chunk-99ba9dfd7c11383b.js +0 -18
  476. package/dist/chunk-9a622a10e7764b23.js +0 -2
  477. package/dist/chunk-9b5649697d59dfb4.js +0 -2
  478. package/dist/chunk-9bd00e182ac2f8a6.js +0 -6
  479. package/dist/chunk-9bd90ecd4ddde546.js +0 -18
  480. package/dist/chunk-9c3b4dd1591053c5.js +0 -18
  481. package/dist/chunk-9c4a4b4bd266869d.js +0 -2
  482. package/dist/chunk-9d069ba29a122630.js +0 -1
  483. package/dist/chunk-9d1337fc9976354d.js +0 -2
  484. package/dist/chunk-9d2777df26b445e4.js +0 -2
  485. package/dist/chunk-9d2af1a704b857ee.js +0 -2
  486. package/dist/chunk-9d6cc631cdabbe35.js +0 -9
  487. package/dist/chunk-9d714f87e4e3e250.js +0 -18
  488. package/dist/chunk-9ee2118bd4eb34ae.js +0 -9
  489. package/dist/chunk-9f6199bc705fc395.js +0 -18
  490. package/dist/chunk-a0003b7feea6fae6.js +0 -2
  491. package/dist/chunk-a004fce37a0f5a65.js +0 -2
  492. package/dist/chunk-a02b2d564bdb603d.js +0 -6
  493. package/dist/chunk-a095821ffc039b99.js +0 -18
  494. package/dist/chunk-a10ae1a06a28aaab.js +0 -2
  495. package/dist/chunk-a13ab30c392c3563.js +0 -9
  496. package/dist/chunk-a14516ac5e6f78aa.js +0 -1
  497. package/dist/chunk-a14b8af8b2a8d0b0.js +0 -2
  498. package/dist/chunk-a210ec2b987fa5f7.js +0 -2
  499. package/dist/chunk-a2fcc46e344ae7ae.js +0 -2
  500. package/dist/chunk-a3526e321ac9d173.js +0 -1
  501. package/dist/chunk-a3f85d0d3261ae44.js +0 -9
  502. package/dist/chunk-a4862acc0c3fed7d.js +0 -6
  503. package/dist/chunk-a50b9cd348c3e882.js +0 -9
  504. package/dist/chunk-a57ecc74c0fb9045.js +0 -2
  505. package/dist/chunk-a5c18c07abe8fd9c.js +0 -2
  506. package/dist/chunk-a63e13c410e92923.js +0 -2
  507. package/dist/chunk-a693f8ec2e8af8ca.js +0 -2
  508. package/dist/chunk-a719a1f305964521.js +0 -2
  509. package/dist/chunk-a7a144f5e4772c35.js +0 -2
  510. package/dist/chunk-a7f3e9d5b7cf7c42.js +0 -2
  511. package/dist/chunk-a816613f5321b9db.js +0 -1
  512. package/dist/chunk-a8310ad9bad32329.js +0 -2
  513. package/dist/chunk-a885dc5561caa8e0.js +0 -3
  514. package/dist/chunk-a88c3919c74b7877.js +0 -18
  515. package/dist/chunk-a9625dd807cb668e.js +0 -2
  516. package/dist/chunk-a991fdce275f1256.js +0 -2
  517. package/dist/chunk-aa1b1fb08828cb24.js +0 -2
  518. package/dist/chunk-aad7af5112f0f4f2.js +0 -2
  519. package/dist/chunk-aaf5855c5199efe9.js +0 -2
  520. package/dist/chunk-aaf70ff16705d558.js +0 -2
  521. package/dist/chunk-aafdd9bfb5bde8bf.js +0 -2
  522. package/dist/chunk-ab0c3f72f95cb4f4.js +0 -3
  523. package/dist/chunk-ab79a2f0d89fbeae.js +0 -1
  524. package/dist/chunk-ab7b6ceb26aca9b1.js +0 -3
  525. package/dist/chunk-abb2f588bd34adff.js +0 -2
  526. package/dist/chunk-abd0b68c299eebfc.js +0 -2
  527. package/dist/chunk-ac32b3d9dda47756.js +0 -9
  528. package/dist/chunk-acd4530b2ff92aff.js +0 -18
  529. package/dist/chunk-ad656a60ce7912bb.js +0 -2
  530. package/dist/chunk-ad8e7de66d8bf8c5.js +0 -2
  531. package/dist/chunk-adb4e1e222eb1d20.js +0 -2
  532. package/dist/chunk-ae373c8ae2d526ae.js +0 -18
  533. package/dist/chunk-ae50ef54d7de9179.js +0 -2
  534. package/dist/chunk-ae7b1bdf00266d88.js +0 -2
  535. package/dist/chunk-aef3f1c1429e6058.js +0 -2
  536. package/dist/chunk-af6b79a6ce7388ee.js +0 -18
  537. package/dist/chunk-afbf69daa7589a52.js +0 -2
  538. package/dist/chunk-b009482e01114059.js +0 -3
  539. package/dist/chunk-b031077f0a783b82.js +0 -2
  540. package/dist/chunk-b05cb7ef4546980d.js +0 -2
  541. package/dist/chunk-b05e4833f4bb2f8f.js +0 -9
  542. package/dist/chunk-b06168e5d3080486.js +0 -1
  543. package/dist/chunk-b07249c949a284d2.js +0 -16
  544. package/dist/chunk-b0cc82fa84d5362d.js +0 -2
  545. package/dist/chunk-b0f453845cad4e6e.js +0 -2
  546. package/dist/chunk-b13cfa16a8a18324.js +0 -3
  547. package/dist/chunk-b1918e88103a8501.js +0 -2
  548. package/dist/chunk-b2bc43f60314d1a9.js +0 -2
  549. package/dist/chunk-b2d07c19a78dc397.js +0 -2
  550. package/dist/chunk-b3bfe533d66f6a17.js +0 -2
  551. package/dist/chunk-b3e27ec4b56a20ac.js +0 -2
  552. package/dist/chunk-b558c43783464f1b.js +0 -2
  553. package/dist/chunk-b5d6eb761760b2a7.js +0 -6
  554. package/dist/chunk-b66a9e50afbac035.js +0 -9
  555. package/dist/chunk-b7b365f7e6038104.js +0 -2
  556. package/dist/chunk-b7c4dc1136fcaeb7.js +0 -2
  557. package/dist/chunk-b7da6c96acf0478f.js +0 -18
  558. package/dist/chunk-b7f9e29074a9f36a.js +0 -2
  559. package/dist/chunk-b80a86610158cbfd.js +0 -1
  560. package/dist/chunk-b855e71b162ce5a2.js +0 -2
  561. package/dist/chunk-b8d3d76e1dd9affe.js +0 -2
  562. package/dist/chunk-b97189ea9588db36.js +0 -9
  563. package/dist/chunk-b9cba2a8bd5bcd3e.js +0 -2
  564. package/dist/chunk-b9e4546aaa58319c.js +0 -2
  565. package/dist/chunk-b9f4c1fce7152fc8.js +0 -9
  566. package/dist/chunk-ba051a98cd651063.js +0 -1
  567. package/dist/chunk-bb72c8820407f3a6.js +0 -2
  568. package/dist/chunk-bbd36ce62b950ee5.js +0 -2
  569. package/dist/chunk-bbdd098f2a2cd820.js +0 -18
  570. package/dist/chunk-bcd70a6fc2fd359c.js +0 -1
  571. package/dist/chunk-bd2888a454e50cfd.js +0 -1
  572. package/dist/chunk-bd52b3f25b928eb1.js +0 -2
  573. package/dist/chunk-bdc34785363e3f34.js +0 -2
  574. package/dist/chunk-bdf4f2b1862899bb.js +0 -2
  575. package/dist/chunk-be095501304df604.js +0 -9
  576. package/dist/chunk-beca91bf7cc216cd.js +0 -2
  577. package/dist/chunk-bee6075c5738d87a.js +0 -2
  578. package/dist/chunk-bf14cc3e71fcd2d8.js +0 -2
  579. package/dist/chunk-bf4fa1d9864332a8.js +0 -2
  580. package/dist/chunk-bf92f3127474b56a.js +0 -3
  581. package/dist/chunk-bfccfb070c1630e9.js +0 -2
  582. package/dist/chunk-bffb8d677e1424a9.js +0 -6
  583. package/dist/chunk-c041f058dc3d571b.js +0 -1
  584. package/dist/chunk-c0bd8e19395d722b.js +0 -2
  585. package/dist/chunk-c124bf801cec12d9.js +0 -2
  586. package/dist/chunk-c153b192112b0d44.js +0 -2
  587. package/dist/chunk-c1813278ccdc04b8.js +0 -2
  588. package/dist/chunk-c210f6ae6276ebe8.js +0 -1
  589. package/dist/chunk-c29701ffef4ca07a.js +0 -2
  590. package/dist/chunk-c2d1f66cf8468e71.js +0 -1
  591. package/dist/chunk-c2fe378a1764eb92.js +0 -2
  592. package/dist/chunk-c3e4a396dc7a5fe7.js +0 -2
  593. package/dist/chunk-c3eaa877d3aab9db.js +0 -18
  594. package/dist/chunk-c45e1427f48008f0.js +0 -2
  595. package/dist/chunk-c4f342e09d9b2f23.js +0 -2
  596. package/dist/chunk-c50ff3cf3c78af79.js +0 -2
  597. package/dist/chunk-c609d06153ed09ce.js +0 -2
  598. package/dist/chunk-c62b5c4cec67029c.js +0 -1
  599. package/dist/chunk-c675395110f371b1.js +0 -6
  600. package/dist/chunk-c675f193d459818e.js +0 -2
  601. package/dist/chunk-c6846df9c8456b20.js +0 -3
  602. package/dist/chunk-c6d988f5928a4df1.js +0 -2
  603. package/dist/chunk-c72bfaa252a03f6f.js +0 -2
  604. package/dist/chunk-c7b024c7bd4cffc9.js +0 -3
  605. package/dist/chunk-c7e2acfd5087fb30.js +0 -2
  606. package/dist/chunk-c83b39b7178003da.js +0 -2
  607. package/dist/chunk-c85fc7168a708cb6.js +0 -3
  608. package/dist/chunk-c8631aa6bbb62e13.js +0 -2
  609. package/dist/chunk-c864ab57913d658f.js +0 -1
  610. package/dist/chunk-c882d0c175c22c17.js +0 -2
  611. package/dist/chunk-c8b00b645df96ed5.js +0 -2
  612. package/dist/chunk-c8f1115d77efc1c0.js +0 -2
  613. package/dist/chunk-c9707ae8f1d346ff.js +0 -3
  614. package/dist/chunk-c99b8c3d6bda27b0.js +0 -2
  615. package/dist/chunk-cb65fe402653c65e.js +0 -2
  616. package/dist/chunk-cb69e9621a60d310.js +0 -1
  617. package/dist/chunk-cca1f3ae7ec0dee1.js +0 -2
  618. package/dist/chunk-ccb551ce4fd177fe.js +0 -2
  619. package/dist/chunk-cce7de7e81895807.js +0 -2
  620. package/dist/chunk-ccfd101ce72e80bf.js +0 -1
  621. package/dist/chunk-cd1636884486d7b3.js +0 -1
  622. package/dist/chunk-cdfa2adeddc1a8e1.js +0 -2
  623. package/dist/chunk-ceb94e70091088e5.js +0 -2
  624. package/dist/chunk-cf3d1744ea801f48.js +0 -6
  625. package/dist/chunk-cf7dde2ab1be3a3c.js +0 -1
  626. package/dist/chunk-cf8b1c7a4e9fc32d.js +0 -18
  627. package/dist/chunk-cfa9a65fae5ddaf4.js +0 -2
  628. package/dist/chunk-d0757747d9cc2e47.js +0 -2
  629. package/dist/chunk-d0806df6defd9dce.js +0 -2
  630. package/dist/chunk-d12b578765686adb.js +0 -6
  631. package/dist/chunk-d16ef78d852a6856.js +0 -1
  632. package/dist/chunk-d22136d39cf8465f.js +0 -2
  633. package/dist/chunk-d26ffb7722e6df54.js +0 -1
  634. package/dist/chunk-d27588325ae2c0f3.js +0 -2
  635. package/dist/chunk-d2e057b6f3f9d500.js +0 -2
  636. package/dist/chunk-d3033805e98482dc.js +0 -6
  637. package/dist/chunk-d33a0e61ccf1bab5.js +0 -2
  638. package/dist/chunk-d3765f96a689a0c1.js +0 -2
  639. package/dist/chunk-d37757ffee07b05f.js +0 -6
  640. package/dist/chunk-d3b4a3c778c23705.js +0 -2
  641. package/dist/chunk-d3e039d010842a3f.js +0 -2
  642. package/dist/chunk-d43b3f444e738dd1.js +0 -1
  643. package/dist/chunk-d445af84de70bf7e.js +0 -2
  644. package/dist/chunk-d535b1e3078465f8.js +0 -2
  645. package/dist/chunk-d54843c1d8516c75.js +0 -2
  646. package/dist/chunk-d5709251a0493152.js +0 -6
  647. package/dist/chunk-d5ddfacbfc84a47d.js +0 -6
  648. package/dist/chunk-d665d3ee2a62d48b.js +0 -2
  649. package/dist/chunk-d7457cb6aae3b29b.js +0 -2
  650. package/dist/chunk-d850d83873a89e2b.js +0 -18
  651. package/dist/chunk-d93a6531661d56b5.js +0 -9
  652. package/dist/chunk-d93cbffc712a052f.js +0 -2
  653. package/dist/chunk-d950bbcb684a11ef.js +0 -2
  654. package/dist/chunk-d9577d79d4b718a6.js +0 -2
  655. package/dist/chunk-d9762bab5df03532.js +0 -2
  656. package/dist/chunk-d9968563c6c84405.js +0 -3
  657. package/dist/chunk-d9a84b9122601b72.js +0 -2
  658. package/dist/chunk-da1c673d9685624e.js +0 -2
  659. package/dist/chunk-dab2dde8cc9da99b.js +0 -9
  660. package/dist/chunk-dac0e2ef13060d02.js +0 -1
  661. package/dist/chunk-dac9276e506d125d.js +0 -2
  662. package/dist/chunk-dad55fcc32d05b69.js +0 -2
  663. package/dist/chunk-db2270bbca7854fe.js +0 -2
  664. package/dist/chunk-db65c75cda396f98.js +0 -2
  665. package/dist/chunk-dba84b47adec2108.js +0 -2
  666. package/dist/chunk-dc23bfb4fd92e2f0.js +0 -2
  667. package/dist/chunk-dc7b0cf226ba3afa.js +0 -2
  668. package/dist/chunk-dcc432bd72fb7e46.js +0 -3
  669. package/dist/chunk-dd211856e049a67f.js +0 -9
  670. package/dist/chunk-dd21f367f8029793.js +0 -2
  671. package/dist/chunk-dd8b042837b4d5f1.js +0 -2
  672. package/dist/chunk-ddef8961cbf08a05.js +0 -6
  673. package/dist/chunk-de0784c3310db458.js +0 -5
  674. package/dist/chunk-de39fc86bbd37240.js +0 -1
  675. package/dist/chunk-de3ec02f9d17c2c9.js +0 -2
  676. package/dist/chunk-def30dbcb4c6aceb.js +0 -2
  677. package/dist/chunk-df55f07f8adf212f.js +0 -2
  678. package/dist/chunk-df926b342440f55f.js +0 -5
  679. package/dist/chunk-dfadfa4e09b4db22.js +0 -2
  680. package/dist/chunk-dfc390f0bbdf5a81.js +0 -1
  681. package/dist/chunk-e05db2eae976681b.js +0 -3
  682. package/dist/chunk-e06fbc8e70a88f07.js +0 -2
  683. package/dist/chunk-e0a028ef931a3eb1.js +0 -18
  684. package/dist/chunk-e0e0f2ee626a6fb3.js +0 -18
  685. package/dist/chunk-e0ffb920c65ebf44.js +0 -2
  686. package/dist/chunk-e11c7f3abcf2269f.js +0 -2
  687. package/dist/chunk-e16b252158474b8c.js +0 -1
  688. package/dist/chunk-e19064e9f1d5faed.js +0 -2
  689. package/dist/chunk-e1a08bb52ee7ea09.js +0 -2
  690. package/dist/chunk-e1e84c38542d78ec.js +0 -2
  691. package/dist/chunk-e33c33445a92adf1.js +0 -1
  692. package/dist/chunk-e3acd3561fe1342c.js +0 -18
  693. package/dist/chunk-e3e996b3821027e1.js +0 -2
  694. package/dist/chunk-e3ef81776c8f2d28.js +0 -2
  695. package/dist/chunk-e4869466459233fa.js +0 -16
  696. package/dist/chunk-e4f28182cf5f6e1d.js +0 -2
  697. package/dist/chunk-e53fdd0a1888c5e8.js +0 -2
  698. package/dist/chunk-e5a95230e0858544.js +0 -3
  699. package/dist/chunk-e64d5a7b7e0fa2c5.js +0 -6
  700. package/dist/chunk-e755f2c1c7ad3912.js +0 -2
  701. package/dist/chunk-e8159722d49ad044.js +0 -2
  702. package/dist/chunk-e86269d01f94404c.js +0 -2
  703. package/dist/chunk-e9275fb341d2cdd9.js +0 -2
  704. package/dist/chunk-e9c96f9b825f8de7.js +0 -2
  705. package/dist/chunk-ea9b86cf2edd807b.js +0 -18
  706. package/dist/chunk-ec24a0767aa58f1f.js +0 -18
  707. package/dist/chunk-ed21fb7d8c4b675e.js +0 -3
  708. package/dist/chunk-ed589d4e4c575de7.js +0 -2
  709. package/dist/chunk-edba144b170cd87e.js +0 -6
  710. package/dist/chunk-edeefd833c30a5ed.js +0 -2
  711. package/dist/chunk-ee35048642cfe9d8.js +0 -2
  712. package/dist/chunk-ee4ff285d7f4ccdf.js +0 -2
  713. package/dist/chunk-ee604d0215ea07e6.js +0 -1
  714. package/dist/chunk-ee92e80230ce02ec.js +0 -2
  715. package/dist/chunk-eea1d6f60a6875d5.js +0 -2
  716. package/dist/chunk-eeb3b193701aec43.js +0 -1
  717. package/dist/chunk-ef1ebd10affe5726.js +0 -2
  718. package/dist/chunk-ef30aafcfd40dc07.js +0 -2
  719. package/dist/chunk-f077321ef55ea627.js +0 -1
  720. package/dist/chunk-f08ca4bd263b132b.js +0 -2
  721. package/dist/chunk-f0d3ed16a520ecf1.js +0 -18
  722. package/dist/chunk-f117757df00aa18d.js +0 -2
  723. package/dist/chunk-f13fd46441a58606.js +0 -2
  724. package/dist/chunk-f1ac22ad55dbab7a.js +0 -9
  725. package/dist/chunk-f1dfc76a05462dde.js +0 -2
  726. package/dist/chunk-f1e28c4c1a227c27.js +0 -2
  727. package/dist/chunk-f2428c56f532e719.js +0 -3
  728. package/dist/chunk-f256432c3e5819d0.js +0 -2
  729. package/dist/chunk-f2dca6305fcba70b.js +0 -2
  730. package/dist/chunk-f316793e4ec0f386.js +0 -2
  731. package/dist/chunk-f32726d374c6bee5.js +0 -1
  732. package/dist/chunk-f34a78d9e3a62c43.js +0 -3
  733. package/dist/chunk-f404a785b581d029.js +0 -2
  734. package/dist/chunk-f5910f2c8a3f6974.js +0 -2
  735. package/dist/chunk-f5a4295176f9b1c1.js +0 -2
  736. package/dist/chunk-f5b888aa9ac4e20f.js +0 -2
  737. package/dist/chunk-f5e313cc7d724fbe.js +0 -2
  738. package/dist/chunk-f67aa3e46d73674e.js +0 -2
  739. package/dist/chunk-f69bcbd7998553cb.js +0 -2
  740. package/dist/chunk-f74928c3f9ae5359.js +0 -2
  741. package/dist/chunk-f7796c3724a35057.js +0 -2
  742. package/dist/chunk-f84049d82d29bd9e.js +0 -2
  743. package/dist/chunk-f868cdf653dbe87e.js +0 -2
  744. package/dist/chunk-f8823a1ede83155e.js +0 -2
  745. package/dist/chunk-f8ad65b3a07ce3c4.js +0 -6
  746. package/dist/chunk-f900b5868b14827e.js +0 -2
  747. package/dist/chunk-f9084650419a23c4.js +0 -2
  748. package/dist/chunk-f95f5e3439539ca5.js +0 -2
  749. package/dist/chunk-f99bdfc336b2ac57.js +0 -9
  750. package/dist/chunk-f9a17b871b527bff.js +0 -2
  751. package/dist/chunk-f9e6a0a946ebb032.js +0 -2
  752. package/dist/chunk-fa40971555060604.js +0 -81
  753. package/dist/chunk-fa6bdfb32d2f97fb.js +0 -2
  754. package/dist/chunk-faa8c62bfa11f9d5.js +0 -2
  755. package/dist/chunk-fb25896f1638ca8e.js +0 -3
  756. package/dist/chunk-fc165cee61f6efe8.js +0 -6
  757. package/dist/chunk-fd5ffee329d6f29b.js +0 -2
  758. package/dist/chunk-feaaa37d30cd1e9b.js +0 -2
  759. package/dist/chunk-fec9f0b0b0319f3b.js +0 -2
  760. package/dist/chunk-ff086fe014985526.js +0 -1
  761. package/dist/chunk-ff1bbce70d726bc6.js +0 -9
  762. package/dist/chunk-ff9a2d6d503e6db6.js +0 -18
  763. package/dist/chunk-ffe161a589b4c44b.js +0 -1
@@ -1,3 +0,0 @@
1
- import{y as me,z as ue} from"./chunk-7ce930fe69575c87.js";import{ib as ne,jb as ce} from"./chunk-c2d1f66cf8468e71.js";var pe=ue((Br,he)=>{var{defineProperty:P,getOwnPropertyDescriptor:ft,getOwnPropertyNames:ut}=Object,dt=Object.prototype.hasOwnProperty,Y=(e,t)=>P(e,"name",{value:t,configurable:!0}),lt=(e,t)=>{for(var r in t)P(e,r,{get:t[r],enumerable:!0})},ht=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let o of ut(t))if(!dt.call(e,o)&&o!==r)P(e,o,{get:()=>t[o],enumerable:!(n=ft(t,o))||n.enumerable})}return e},pt=(e)=>ht(P({},"__esModule",{value:!0}),e),de={};lt(de,{escapeUri:()=>le,escapeUriPath:()=>yt});he.exports=pt(de);var le=Y((e)=>encodeURIComponent(e).replace(/[!'()*]/g,mt),"escapeUri"),mt=Y((e)=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`,"hexEncode"),yt=Y((e)=>e.split("/").map(le).join("/"),"escapeUriPath")});var Oe=ue((Eo,Pe)=>{var Fe=function(e){if(e.length%2!==0)throw new Error("Hex encoded strings must have an even number length");const t=new Uint8Array(e.length/2);for(let r=0;r<e.length;r+=2){const n=e.slice(r,r+2).toLowerCase();if(n in K)t[r/2]=K[n];else throw new Error(`Cannot decode unrecognized sequence ${n} as hexadecimal`)}return t},Le=function(e){let t="";for(let r=0;r<e.byteLength;r++)t+=Re[e[r]];return t},H=Object.defineProperty,Nt=Object.getOwnPropertyDescriptor,Ut=Object.getOwnPropertyNames,Rt=Object.prototype.hasOwnProperty,Ne=(e,t)=>H(e,"name",{value:t,configurable:!0}),Ft=(e,t)=>{for(var r in t)H(e,r,{get:t[r],enumerable:!0})},Lt=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let o of Ut(t))if(!Rt.call(e,o)&&o!==r)H(e,o,{get:()=>t[o],enumerable:!(n=Nt(t,o))||n.enumerable})}return e},Pt=(e)=>Lt(H({},"__esModule",{value:!0}),e),Ue={};Ft(Ue,{fromHex:()=>Fe,toHex:()=>Le});Pe.exports=Pt(Ue);var Re={},K={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();if(t.length===1)t=`0${t}`;Re[e]=t,K[t]=e}Ne(Fe,"fromHex");Ne(Le,"toHex")});var C=(e,t)=>{const r=[];if(e)r.push(e);if(t)for(let n of t)r.push(n);return r},S=(e,t)=>{return`${e||"anonymous"}${t&&t.length>0?` (a.k.a. ${t.join(",")})`:""}`},A=()=>{let e=[],t=[],r=!1;const n=new Set,o=(a)=>a.sort((f,h)=>se[h.step]-se[f.step]||ie[h.priority||"normal"]-ie[f.priority||"normal"]),s=(a)=>{let f=!1;const h=(g)=>{const y=C(g.name,g.aliases);if(y.includes(a)){f=!0;for(let p of y)n.delete(p);return!1}return!0};return e=e.filter(h),t=t.filter(h),f},c=(a)=>{let f=!1;const h=(g)=>{if(g.middleware===a){f=!0;for(let y of C(g.name,g.aliases))n.delete(y);return!1}return!0};return e=e.filter(h),t=t.filter(h),f},i=(a)=>{return e.forEach((f)=>{a.add(f.middleware,{...f})}),t.forEach((f)=>{a.addRelativeTo(f.middleware,{...f})}),a.identifyOnResolve?.(w.identifyOnResolve()),a},d=(a)=>{const f=[];return a.before.forEach((h)=>{if(h.before.length===0&&h.after.length===0)f.push(h);else f.push(...d(h))}),f.push(a),a.after.reverse().forEach((h)=>{if(h.before.length===0&&h.after.length===0)f.push(h);else f.push(...d(h))}),f},l=(a=!1)=>{const f=[],h=[],g={};return e.forEach((p)=>{const u={...p,before:[],after:[]};for(let m of C(u.name,u.aliases))g[m]=u;f.push(u)}),t.forEach((p)=>{const u={...p,before:[],after:[]};for(let m of C(u.name,u.aliases))g[m]=u;h.push(u)}),h.forEach((p)=>{if(p.toMiddleware){const u=g[p.toMiddleware];if(u===void 0){if(a)return;throw new Error(`${p.toMiddleware} is not found when adding `+`${S(p.name,p.aliases)} `+`middleware ${p.relation} ${p.toMiddleware}`)}if(p.relation==="after")u.after.push(p);if(p.relation==="before")u.before.push(p)}}),o(f).map(d).reduce((p,u)=>{return p.push(...u),p},[])},w={add:(a,f={})=>{const{name:h,override:g,aliases:y}=f,p={step:"initialize",priority:"normal",middleware:a,...f},u=C(h,y);if(u.length>0){if(u.some((m)=>n.has(m))){if(!g)throw new Error(`Duplicate middleware name '${S(h,y)}'`);for(let m of u){const E=e.findIndex((U)=>U.name===m||U.aliases?.some((W)=>W===m));if(E===-1)continue;const x=e[E];if(x.step!==p.step||p.priority!==x.priority)throw new Error(`"${S(x.name,x.aliases)}" middleware with `+`${x.priority} priority in ${x.step} step cannot `+`be overridden by "${S(h,y)}" middleware with `+`${p.priority} priority in ${p.step} step.`);e.splice(E,1)}}for(let m of u)n.add(m)}e.push(p)},addRelativeTo:(a,f)=>{const{name:h,override:g,aliases:y}=f,p={middleware:a,...f},u=C(h,y);if(u.length>0){if(u.some((m)=>n.has(m))){if(!g)throw new Error(`Duplicate middleware name '${S(h,y)}'`);for(let m of u){const E=t.findIndex((U)=>U.name===m||U.aliases?.some((W)=>W===m));if(E===-1)continue;const x=t[E];if(x.toMiddleware!==p.toMiddleware||x.relation!==p.relation)throw new Error(`"${S(x.name,x.aliases)}" middleware `+`${x.relation} "${x.toMiddleware}" middleware cannot be overridden `+`by "${S(h,y)}" middleware ${p.relation} `+`"${p.toMiddleware}" middleware.`);t.splice(E,1)}}for(let m of u)n.add(m)}t.push(p)},clone:()=>i(A()),use:(a)=>{a.applyToStack(w)},remove:(a)=>{if(typeof a==="string")return s(a);else return c(a)},removeByTag:(a)=>{let f=!1;const h=(g)=>{const{tags:y,name:p,aliases:u}=g;if(y&&y.includes(a)){const m=C(p,u);for(let E of m)n.delete(E);return f=!0,!1}return!0};return e=e.filter(h),t=t.filter(h),f},concat:(a)=>{const f=i(A());return f.use(a),f.identifyOnResolve(r||f.identifyOnResolve()||(a.identifyOnResolve?.()??!1)),f},applyToStack:i,identify:()=>{return l(!0).map((a)=>{const f=a.step??a.relation+" "+a.toMiddleware;return S(a.name,a.aliases)+" - "+f})},identifyOnResolve(a){if(typeof a==="boolean")r=a;return r},resolve:(a,f)=>{for(let h of l().map((g)=>g.middleware).reverse())a=h(a,f);if(r)console.log(w.identify());return a}};return w},se={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},ie={high:3,normal:2,low:1};class ct{constructor(e){this.middlewareStack=A(),this.config=e}send(e,t,r){const n=typeof t!=="function"?t:void 0,o=typeof t==="function"?t:r,s=e.resolveMiddleware(this.middlewareStack,this.config,n);if(o)s(e).then((c)=>o(null,c.output),(c)=>o(c)).catch(()=>{});else return s(e).then((c)=>c.output)}destroy(){if(this.config.requestHandler.destroy)this.config.requestHandler.destroy()}}class ae{constructor(){this.middlewareStack=A()}static classBuilder(){return new fe}resolveMiddlewareWithContext(e,t,r,{middlewareFn:n,clientName:o,commandName:s,inputFilterSensitiveLog:c,outputFilterSensitiveLog:i,smithyContext:d,additionalContext:l,CommandCtor:w}){for(let y of n.bind(this)(w,e,t,r))this.middlewareStack.use(y);const a=e.concat(this.middlewareStack),{logger:f}=t,h={logger:f,clientName:o,commandName:s,inputFilterSensitiveLog:c,outputFilterSensitiveLog:i,[ce]:{commandInstance:this,...d},...l},{requestHandler:g}=t;return a.resolve((y)=>g.handle(y.request,r||{}),h)}}class fe{constructor(){this._init=()=>{},this._ep={},this._middlewareFn=()=>[],this._commandName="",this._clientName="",this._additionalContext={},this._smithyContext={},this._inputFilterSensitiveLog=(e)=>e,this._outputFilterSensitiveLog=(e)=>e,this._serializer=null,this._deserializer=null}init(e){this._init=e}ep(e){return this._ep=e,this}m(e){return this._middlewareFn=e,this}s(e,t,r={}){return this._smithyContext={service:e,operation:t,...r},this}c(e={}){return this._additionalContext=e,this}n(e,t){return this._clientName=e,this._commandName=t,this}f(e=(r)=>r,t=(r)=>r){return this._inputFilterSensitiveLog=e,this._outputFilterSensitiveLog=t,this}ser(e){return this._serializer=e,this}de(e){return this._deserializer=e,this}build(){const e=this;let t;return t=class extends ae{static getEndpointParameterInstructions(){return e._ep}constructor(...[r]){super();this.serialize=e._serializer,this.deserialize=e._deserializer,this.input=r??{},e._init(this)}resolveMiddleware(r,n,o){return this.resolveMiddlewareWithContext(r,n,o,{CommandCtor:t,middlewareFn:e._middlewareFn,clientName:e._clientName,commandName:e._commandName,inputFilterSensitiveLog:e._inputFilterSensitiveLog,outputFilterSensitiveLog:e._outputFilterSensitiveLog,smithyContext:e._smithyContext,additionalContext:e._additionalContext})}}}}var wr=(e)=>{let t=e.httpHandler;return{setHttpHandler(r){t=r},httpHandler(){return t},updateHttpClientConfig(r,n){t.updateHttpClientConfig(r,n)},httpHandlerConfigs(){return t.httpHandlerConfigs()}}},xr=(e)=>{return{httpHandler:e.httpHandler()}};var at=function(e){return Object.keys(e).reduce((t,r)=>{const n=e[r];return{...t,[r]:Array.isArray(n)?[...n]:n}},{})};class j{constructor(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?e.protocol.slice(-1)!==":"?`${e.protocol}:`:e.protocol:"https:",this.path=e.path?e.path.charAt(0)!=="/"?`/${e.path}`:e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(e){const t=new j({...e,headers:{...e.headers}});if(t.query)t.query=at(t.query);return t}static isInstance(e){if(!e)return!1;const t=e;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&typeof t.query==="object"&&typeof t.headers==="object"}clone(){return j.clone(this)}}class R{constructor(e){this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){if(!e)return!1;const t=e;return typeof t.statusCode==="number"&&typeof t.headers==="object"}}var O=me(pe(),1);function D(e){const t=[];for(let r of Object.keys(e).sort()){const n=e[r];if(r=O.escapeUri(r),Array.isArray(n))for(let o=0,s=n.length;o<s;o++)t.push(`${r}=${O.escapeUri(n[o])}`);else{let o=r;if(n||typeof n==="string")o+=`=${O.escapeUri(n)}`;t.push(o)}}return t.join("&")}import{Agent as Ee,request as xt} from"http";import{Agent as Te,request as bt} from"https";var ye=["ECONNRESET","EPIPE","ETIMEDOUT"];var J=(e)=>{const t={};for(let r of Object.keys(e)){const n=e[r];t[r]=Array.isArray(n)?n.join(","):n}return t};var ge=(e,t,r=0)=>{if(!r)return;const n=setTimeout(()=>{e.destroy(),t(Object.assign(new Error(`Socket timed out without establishing a connection within ${r} ms`),{name:"TimeoutError"}))},r);e.on("socket",(o)=>{if(o.connecting)o.on("connect",()=>{clearTimeout(n)});else clearTimeout(n)})};var we=(e,{keepAlive:t,keepAliveMsecs:r})=>{if(t!==!0)return;e.on("socket",(n)=>{n.setKeepAlive(t,r||0)})};var xe=(e,t,r=0)=>{e.setTimeout(r,()=>{e.destroy(),t(Object.assign(new Error(`Connection timed out after ${r} ms`),{name:"TimeoutError"}))})};import{Readable as gt} from"stream";async function V(e,t,r=be){const n=t.headers??{},o=n.Expect||n.expect;let s=-1,c=!1;if(o==="100-continue")await Promise.race([new Promise((i)=>{s=Number(setTimeout(i,Math.max(be,r)))}),new Promise((i)=>{e.on("continue",()=>{clearTimeout(s),i()}),e.on("error",()=>{c=!0,clearTimeout(s),i()})})]);if(!c)wt(e,t.body)}var wt=function(e,t){if(t instanceof gt){t.pipe(e);return}if(t){if(Buffer.isBuffer(t)||typeof t==="string"){e.end(t);return}const r=t;if(typeof r==="object"&&r.buffer&&typeof r.byteOffset==="number"&&typeof r.byteLength==="number"){e.end(Buffer.from(r.buffer,r.byteOffset,r.byteLength));return}e.end(Buffer.from(t));return}e.end()},be=1000;class Z{static create(e){if(typeof e?.handle==="function")return e;return new Z(e)}static checkSocketUsage(e,t,r=console){const{sockets:n,requests:o,maxSockets:s}=e;if(typeof s!=="number"||s===Infinity)return t;const c=15000;if(Date.now()-c<t)return t;if(n&&o)for(let i in n){const d=n[i]?.length??0,l=o[i]?.length??0;if(d>=s&&l>=2*s)return r?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${d} and ${l} additional requests are enqueued.
2
- See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
3
- or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(e){this.socketWarningTimestamp=0,this.metadata={handlerProtocol:"http/1.1"},this.configProvider=new Promise((t,r)=>{if(typeof e==="function")e().then((n)=>{t(this.resolveDefaultConfig(n))}).catch(r);else t(this.resolveDefaultConfig(e))})}resolveDefaultConfig(e){const{requestTimeout:t,connectionTimeout:r,socketTimeout:n,httpAgent:o,httpsAgent:s}=e||{};return{connectionTimeout:r,requestTimeout:t??n,httpAgent:(()=>{if(o instanceof Ee||typeof o?.destroy==="function")return o;return new Ee({keepAlive:!0,maxSockets:50,...o})})(),httpsAgent:(()=>{if(s instanceof Te||typeof s?.destroy==="function")return s;return new Te({keepAlive:!0,maxSockets:50,...s})})(),logger:console}}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(e,{abortSignal:t}={}){if(!this.config)this.config=await this.configProvider;let r;return new Promise((n,o)=>{let s=void 0;const c=async(u)=>{await s,clearTimeout(r),n(u)},i=async(u)=>{await s,clearTimeout(r),o(u)};if(!this.config)throw new Error("Node HTTP request handler config is not resolved");if(t?.aborted){const u=new Error("Request aborted");u.name="AbortError",i(u);return}const d=e.protocol==="https:",l=d?this.config.httpsAgent:this.config.httpAgent;r=setTimeout(()=>{this.socketWarningTimestamp=Z.checkSocketUsage(l,this.socketWarningTimestamp,this.config.logger)},this.config.socketAcquisitionWarningTimeout??(this.config.requestTimeout??2000)+(this.config.connectionTimeout??1000));const w=D(e.query||{});let a=void 0;if(e.username!=null||e.password!=null){const u=e.username??"",m=e.password??"";a=`${u}:${m}`}let f=e.path;if(w)f+=`?${w}`;if(e.fragment)f+=`#${e.fragment}`;const h={headers:e.headers,host:e.hostname,method:e.method,path:f,port:e.port,agent:l,auth:a},y=(d?bt:xt)(h,(u)=>{const m=new R({statusCode:u.statusCode||-1,reason:u.statusMessage,headers:J(u.headers),body:u});c({response:m})});if(y.on("error",(u)=>{if(ye.includes(u.code))i(Object.assign(u,{name:"TimeoutError"}));else i(u)}),ge(y,i,this.config.connectionTimeout),xe(y,i,this.config.requestTimeout),t){const u=()=>{y.destroy();const m=new Error("Request aborted");m.name="AbortError",i(m)};if(typeof t.addEventListener==="function"){const m=t;m.addEventListener("abort",u,{once:!0}),y.once("close",()=>m.removeEventListener("abort",u))}else t.onabort=u}const p=h.agent;if(typeof p==="object"&&"keepAlive"in p)we(y,{keepAlive:p.keepAlive,keepAliveMsecs:p.keepAliveMsecs});s=V(y,e,this.config.requestTimeout).catch((u)=>{return clearTimeout(r),o(u)})})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((r)=>{return{...r,[e]:t}})}httpHandlerConfigs(){return this.config??{}}}import{Writable as Et} from"stream";class Q extends Et{constructor(){super(...arguments);this.bufferedBytes=[]}_write(e,t,r){this.bufferedBytes.push(e),r()}}async function St(e){const t=[],r=e.getReader();let n=!1,o=0;while(!n){const{done:i,value:d}=await r.read();if(d)t.push(d),o+=d.length;n=i}const s=new Uint8Array(o);let c=0;for(let i of t)s.set(i,c),c+=i.length;return s}var Se=(e)=>{if(Tt(e))return St(e);return new Promise((t,r)=>{const n=new Q;e.pipe(n),e.on("error",(o)=>{n.end(),r(o)}),n.on("error",r),n.on("finish",function(){const o=new Uint8Array(Buffer.concat(this.bufferedBytes));t(o)})})},Tt=(e)=>typeof ReadableStream==="function"&&e instanceof ReadableStream;var $n="***SensitiveInformation***";var In=(e,t)=>{for(let r of Object.keys(e)){const n=e[r],o=async function(c,i,d){const l=new n(c);if(typeof i==="function")this.send(l,i);else if(typeof d==="function"){if(typeof i!=="object")throw new Error(`Expected http options but got ${typeof i}`);this.send(l,i||{},d)}else return this.send(l,i)},s=(r[0].toLowerCase()+r.slice(1)).replace(/Command$/,"");t.prototype[s]=o}};class Ce extends Error{constructor(e){super(e.message);Object.setPrototypeOf(this,Ce.prototype),this.name=e.name,this.$fault=e.$fault,this.$metadata=e.$metadata}}var $e=(e,t={})=>{Object.entries(t).filter(([,n])=>n!==void 0).forEach(([n,o])=>{if(e[n]==null||e[n]==="")e[n]=o});const r=e.message||e.Message||"UnknownError";return e.message=r,delete e.Message,e};class Ct{trace(){}debug(){}info(){}warn(){}error(){}}var Ae=(e)=>typeof ArrayBuffer==="function"&&e instanceof ArrayBuffer||Object.prototype.toString.call(e)==="[object ArrayBuffer]";import{Buffer as G} from"buffer";var I=(e,t=0,r=e.byteLength-t)=>{if(!Ae(e))throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof e} (${e})`);return G.from(e,t,r)},v=(e,t)=>{if(typeof e!=="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof e} (${e})`);return t?G.from(e,t):G.from(e)};var $t=/^[A-Za-z0-9+/]*={0,2}$/,B=(e)=>{if(e.length*3%4!==0)throw new TypeError("Incorrect padding on base64 string.");if(!$t.exec(e))throw new TypeError("Invalid base64 string.");const t=v(e,"base64");return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)};var M=(e)=>{const t=v(e,"utf8");return new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT)};var zn=(e)=>{if(typeof e==="string")return M(e);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(e)};var z=(e)=>{if(typeof e==="string")return e;if(typeof e!=="object"||typeof e.byteOffset!=="number"||typeof e.byteLength!=="number")throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return I(e.buffer,e.byteOffset,e.byteLength).toString("utf8")};var q=(e)=>{let t;if(typeof e==="string")t=M(e);else t=e;if(typeof t!=="object"||typeof t.byteOffset!=="number"||typeof t.byteLength!=="number")throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");return I(t.buffer,t.byteOffset,t.byteLength).toString("base64")};function Ie(e,t="utf-8"){if(t==="base64")return q(e);return z(e)}function Me(e,t){if(t==="base64")return T.mutate(B(e));return T.mutate(M(e))}class T extends Uint8Array{static fromString(e,t="utf-8"){switch(typeof e){case"string":return Me(e,t);default:throw new Error(`Unsupported conversion from ${typeof e} to Uint8ArrayBlobAdapter.`)}}static mutate(e){return Object.setPrototypeOf(e,T.prototype),e}transformToString(e="utf-8"){return Ie(this,e)}}import{Readable as At} from"stream";var co=(e,t)=>{const{base64Encoder:r,bodyLengthChecker:n,checksumAlgorithmFn:o,checksumLocationName:s,streamHasher:c}=t,i=r!==void 0&&o!==void 0&&s!==void 0&&c!==void 0,d=i?c(o,e):void 0,l=new At({read:()=>{}});return e.on("data",(w)=>{const a=n(w)||0;l.push(`${a.toString(16)}\r\n`),l.push(w),l.push("\r\n")}),e.on("end",async()=>{if(l.push("0\r\n"),i){const w=r(await d);l.push(`${s}:${w}\r\n`),l.push("\r\n")}l.push(null)}),l};import{Readable as X} from"stream";import{TextDecoder as Ot} from"util";async function It(e){const t=await kt(e),r=B(t);return new Uint8Array(r)}async function Mt(e){const t=[],r=e.getReader();let n=!1,o=0;while(!n){const{done:i,value:d}=await r.read();if(d)t.push(d),o+=d.length;n=i}const s=new Uint8Array(o);let c=0;for(let i of t)s.set(i,c),c+=i.length;return s}var kt=function(e){return new Promise((t,r)=>{const n=new FileReader;n.onloadend=()=>{if(n.readyState!==2)return r(new Error("Reader aborted too early"));const o=n.result??"",s=o.indexOf(","),c=s>-1?s+1:o.length;t(o.substring(c))},n.onabort=()=>r(new Error("Read aborted")),n.onerror=()=>r(n.error),n.readAsDataURL(e)})},ke=(e)=>{if(typeof Blob==="function"&&e instanceof Blob)return It(e);return Mt(e)};var Be=me(Oe(),1);var $=(e)=>typeof ReadableStream==="function"&&(e?.constructor?.name===ReadableStream.name||e instanceof ReadableStream);var De="The stream has already been transformed.",ze=(e)=>{if(!ve(e)&&!$(e)){const o=e?.__proto__?.constructor?.name||e;throw new Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${o}`)}let t=!1;const r=async()=>{if(t)throw new Error(De);return t=!0,await ke(e)},n=(o)=>{if(typeof o.stream!=="function")throw new Error("Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.\nIf you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body");return o.stream()};return Object.assign(e,{transformToByteArray:r,transformToString:async(o)=>{const s=await r();if(o==="base64")return q(s);else if(o==="hex")return Be.toHex(s);else if(o===void 0||o==="utf8"||o==="utf-8")return z(s);else if(typeof TextDecoder==="function")return new TextDecoder(o).decode(s);else throw new Error("TextDecoder is not available, please make sure polyfill is provided.")},transformToWebStream:()=>{if(t)throw new Error(De);if(t=!0,ve(e))return n(e);else if($(e))return e;else throw new Error(`Cannot transform payload to web stream, got ${e}`)}})},ve=(e)=>typeof Blob==="function"&&e instanceof Blob;var qe="The stream has already been transformed.",Fo=(e)=>{if(!(e instanceof X))try{return ze(e)}catch(n){const o=e?.__proto__?.constructor?.name||e;throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${o}`)}let t=!1;const r=async()=>{if(t)throw new Error(qe);return t=!0,await Se(e)};return Object.assign(e,{transformToByteArray:r,transformToString:async(n)=>{const o=await r();if(n===void 0||Buffer.isEncoding(n))return I(o.buffer,o.byteOffset,o.byteLength).toString(n);else return new Ot(n).decode(o)},transformToWebStream:()=>{if(t)throw new Error(qe);if(e.readableFlowing!==null)throw new Error("The stream has been consumed by other callbacks.");if(typeof X.toWeb!=="function")throw new Error("Readable.toWeb() is not supported. Please make sure you are using Node.js >= 17.0.0, or polyfill is available.");return t=!0,X.toWeb(e)}})};import{PassThrough as We} from"stream";async function He(e){if(typeof e.stream==="function")e=e.stream();return e.tee()}async function Bo(e){if($(e))return He(e);const t=new We,r=new We;return e.pipe(t),e.pipe(r),[t,r]}import{Writable as Dt} from"stream";async function je(e,t){let r=0;const n=[],o=e.getReader();let s=!1;while(!s){const{done:d,value:l}=await o.read();if(l)n.push(l),r+=l?.byteLength??0;if(r>=t)break;s=d}o.releaseLock();const c=new Uint8Array(Math.min(t,r));let i=0;for(let d of n){if(d.byteLength>c.byteLength-i){c.set(d.subarray(0,c.byteLength-i),i);break}else c.set(d,i);i+=d.length}return c}var Yo=(e,t)=>{if($(e))return je(e,t);return new Promise((r,n)=>{const o=new Ye;o.limit=t,e.pipe(o),e.on("error",(s)=>{o.end(),n(s)}),o.on("error",n),o.on("finish",function(){const s=new Uint8Array(Buffer.concat(this.buffers));r(s)})})};class Ye extends Dt{constructor(){super(...arguments);this.buffers=[],this.limit=Infinity,this.bytesBuffered=0}_write(e,t,r){if(this.buffers.push(e),this.bytesBuffered+=e.byteLength??0,this.bytesBuffered>=this.limit){const n=this.bytesBuffered-this.limit,o=this.buffers[this.buffers.length-1];this.buffers[this.buffers.length-1]=o.subarray(0,o.byteLength-n),this.emit("finish")}r()}}var ts=async(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return T.mutate(e);if(!e)return T.mutate(new Uint8Array);const r=t.streamCollector(e);return T.mutate(await r)};var ns=(e)=>{switch(e){case"true":return!0;case"false":return!1;default:throw new Error(`Unable to parse boolean value "${e}"`)}};var vt=(e)=>{if(e===null||e===void 0)return;if(typeof e==="string"){const t=parseFloat(e);if(!Number.isNaN(t)){if(String(t)!==String(e))_e.warn(Xe(`Expected number but observed string: ${e}`));return t}}if(typeof e==="number")return e;throw new TypeError(`Expected number, got ${typeof e}: ${e}`)},Bt=Math.ceil(340282346638528860000000000000000000000),Je=(e)=>{const t=vt(e);if(t!==void 0&&!Number.isNaN(t)&&t!==Infinity&&t!==(-Infinity)){if(Math.abs(t)>Bt)throw new TypeError(`Expected 32-bit float, got ${e}`)}return t},_=(e)=>{if(e===null||e===void 0)return;if(Number.isInteger(e)&&!Number.isNaN(e))return e;throw new TypeError(`Expected integer, got ${typeof e}: ${e}`)};var Ve=(e)=>ee(e,32),Ze=(e)=>ee(e,16),Qe=(e)=>ee(e,8),ee=(e,t)=>{const r=_(e);if(r!==void 0&&zt(r,t)!==r)throw new TypeError(`Expected ${t}-bit integer, got ${e}`);return r},zt=(e,t)=>{switch(t){case 32:return Int32Array.of(e)[0];case 16:return Int16Array.of(e)[0];case 8:return Int8Array.of(e)[0]}},os=(e,t)=>{if(e===null||e===void 0){if(t)throw new TypeError(`Expected a non-null value for ${t}`);throw new TypeError("Expected a non-null value")}return e},ss=(e)=>{if(e===null||e===void 0)return;if(typeof e==="object"&&!Array.isArray(e))return e;const t=Array.isArray(e)?"array":typeof e;throw new TypeError(`Expected object, got ${t}: ${e}`)},is=(e)=>{if(e===null||e===void 0)return;if(typeof e==="string")return e;if(["boolean","number","bigint"].includes(typeof e))return _e.warn(Xe(`Expected string, got ${typeof e}: ${e}`)),String(e);throw new TypeError(`Expected string, got ${typeof e}: ${e}`)};var Ge=(e)=>{if(typeof e=="string")return Je(F(e));return Je(e)},qt=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,F=(e)=>{const t=e.match(qt);if(t===null||t[0].length!==e.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat(e)};var cs=(e)=>{if(typeof e==="string")return _(F(e));return _(e)};var as=(e)=>{if(typeof e==="string")return Ve(F(e));return Ve(e)},k=(e)=>{if(typeof e==="string")return Ze(F(e));return Ze(e)},Ke=(e)=>{if(typeof e==="string")return Qe(F(e));return Qe(e)},Xe=(e)=>{return String(new TypeError(e).stack||e).split("\n").slice(0,5).filter((t)=>!t.includes("stackTraceWarning")).join("\n")},_e={warn:console.warn};function ls(e){const t=e.getUTCFullYear(),r=e.getUTCMonth(),n=e.getUTCDay(),o=e.getUTCDate(),s=e.getUTCHours(),c=e.getUTCMinutes(),i=e.getUTCSeconds(),d=o<10?`0${o}`:`${o}`,l=s<10?`0${s}`:`${s}`,w=c<10?`0${c}`:`${c}`,a=i<10?`0${i}`:`${i}`;return`${Ht[n]}, ${d} ${re[r]} ${t} ${l}:${w}:${a} GMT`}var Ht=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],re=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Wt=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),hs=(e)=>{if(e===null||e===void 0)return;if(typeof e!=="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");const t=Wt.exec(e);if(!t)throw new TypeError("Invalid RFC-3339 date-time value");const[r,n,o,s,c,i,d,l]=t,w=k(N(n)),a=b(o,"month",1,12),f=b(s,"day",1,31);return L(w,a,f,{hours:c,minutes:i,seconds:d,fractionalMilliseconds:l})},jt=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),ps=(e)=>{if(e===null||e===void 0)return;if(typeof e!=="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");const t=jt.exec(e);if(!t)throw new TypeError("Invalid RFC-3339 date-time value");const[r,n,o,s,c,i,d,l,w]=t,a=k(N(n)),f=b(o,"month",1,12),h=b(s,"day",1,31),g=L(a,f,h,{hours:c,minutes:i,seconds:d,fractionalMilliseconds:l});if(w.toUpperCase()!="Z")g.setTime(g.getTime()-tr(w));return g},Yt=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),Jt=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),Vt=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),ms=(e)=>{if(e===null||e===void 0)return;if(typeof e!=="string")throw new TypeError("RFC-7231 date-times must be expressed as strings");let t=Yt.exec(e);if(t){const[r,n,o,s,c,i,d,l]=t;return L(k(N(s)),te(o),b(n,"day",1,31),{hours:c,minutes:i,seconds:d,fractionalMilliseconds:l})}if(t=Jt.exec(e),t){const[r,n,o,s,c,i,d,l]=t;return Gt(L(Zt(s),te(o),b(n,"day",1,31),{hours:c,minutes:i,seconds:d,fractionalMilliseconds:l}))}if(t=Vt.exec(e),t){const[r,n,o,s,c,i,d,l]=t;return L(k(N(l)),te(n),b(o.trimLeft(),"day",1,31),{hours:s,minutes:c,seconds:i,fractionalMilliseconds:d})}throw new TypeError("Invalid RFC-7231 date-time value")};var L=(e,t,r,n)=>{const o=t-1;return Xt(e,o,r),new Date(Date.UTC(e,o,r,b(n.hours,"hour",0,23),b(n.minutes,"minute",0,59),b(n.seconds,"seconds",0,60),er(n.fractionalMilliseconds)))},Zt=(e)=>{const t=(new Date()).getUTCFullYear(),r=Math.floor(t/100)*100+k(N(e));if(r<t)return r+100;return r},Qt=1576800000000,Gt=(e)=>{if(e.getTime()-(new Date()).getTime()>Qt)return new Date(Date.UTC(e.getUTCFullYear()-100,e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()));return e},te=(e)=>{const t=re.indexOf(e);if(t<0)throw new TypeError(`Invalid month: ${e}`);return t+1},Kt=[31,28,31,30,31,30,31,31,30,31,30,31],Xt=(e,t,r)=>{let n=Kt[t];if(t===1&&_t(e))n=29;if(r>n)throw new TypeError(`Invalid day for ${re[t]} in ${e}: ${r}`)},_t=(e)=>{return e%4===0&&(e%100!==0||e%400===0)},b=(e,t,r,n)=>{const o=Ke(N(e));if(o<r||o>n)throw new TypeError(`${t} must be between ${r} and ${n}, inclusive`);return o},er=(e)=>{if(e===null||e===void 0)return 0;return Ge("0."+e)*1000},tr=(e)=>{const t=e[0];let r=1;if(t=="+")r=1;else if(t=="-")r=-1;else throw new TypeError(`Offset direction, ${t}, must be "+" or "-"`);const n=Number(e.substring(1,3)),o=Number(e.substring(4,6));return r*(n*60+o)*60*1000},N=(e)=>{let t=0;while(t<e.length-1&&e.charAt(t)==="0")t++;if(t===0)return e;return e.slice(t)};var rr=({output:e,parsedBody:t,exceptionCtor:r,errorCode:n})=>{const o=nr(e),s=o.httpStatusCode?o.httpStatusCode+"":void 0,c=new r({name:t?.code||t?.Code||n||s||"UnknownError",$fault:"client",$metadata:o});throw $e(c,t)},ws=(e)=>{return({output:t,parsedBody:r,errorCode:n})=>{rr({output:t,parsedBody:r,exceptionCtor:e,errorCode:n})}},nr=(e)=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]});var bs=(e)=>{switch(e){case"standard":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"mobile":return{retryMode:"standard",connectionTimeout:30000};default:return{}}};var et=!1,Ts=(e)=>{if(e&&!et&&parseInt(e.substring(1,e.indexOf(".")))<16)et=!0};var tt=(e)=>{const t=[];for(let r in ne){const n=ne[r];if(e[n]===void 0)continue;t.push({algorithmId:()=>n,checksumConstructor:()=>e[n]})}return{_checksumAlgorithms:t,addChecksumAlgorithm(r){this._checksumAlgorithms.push(r)},checksumAlgorithms(){return this._checksumAlgorithms}}},rt=(e)=>{const t={};return e.checksumAlgorithms().forEach((r)=>{t[r.algorithmId()]=r.checksumConstructor()}),t};var nt=(e)=>{let t=e.retryStrategy;return{setRetryStrategy(r){t=r},retryStrategy(){return t}}},ot=(e)=>{const t={};return t.retryStrategy=e.retryStrategy(),t};var ks=(e)=>{return{...tt(e),...nt(e)}};var Ns=(e)=>{return{...rt(e),...ot(e)}};function or(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}var oe=function(){const e=Object.getPrototypeOf(this).constructor,r=new(Function.bind.apply(String,[null,...arguments]));return Object.setPrototypeOf(r,e.prototype),r};oe.prototype=Object.create(String.prototype,{constructor:{value:oe,enumerable:!1,writable:!0,configurable:!0}});Object.setPrototypeOf(oe,String);function sr(e,t,r){let n,o,s;if(typeof t==="undefined"&&typeof r==="undefined")n={},s=e;else if(n=e,typeof t==="function")return o=t,s=r,ir(n,o,s);else s=t;for(let c of Object.keys(s)){if(!Array.isArray(s[c])){n[c]=s[c];continue}st(n,null,s,c)}return n}var vs=(e,t)=>{const r={};for(let n in t)st(r,e,t,n);return r},ir=(e,t,r)=>{return sr(e,Object.entries(r).reduce((n,[o,s])=>{if(Array.isArray(s))n[o]=s;else if(typeof s==="function")n[o]=[t,s()];else n[o]=[t,s];return n},{}))},st=(e,t,r,n)=>{if(t!==null){let c=r[n];if(typeof c==="function")c=[,c];const[i=cr,d=ar,l=n]=c;if(typeof i==="function"&&i(t[l])||typeof i!=="function"&&!!i)e[n]=d(t[l]);return}let[o,s]=r[n];if(typeof s==="function"){let c;const i=o===void 0&&(c=s())!=null,d=typeof o==="function"&&!!o(void 0)||typeof o!=="function"&&!!o;if(i)e[n]=c;else if(d)e[n]=s()}else{const c=o===void 0&&s!=null,i=typeof o==="function"&&!!o(s)||typeof o!=="function"&&!!o;if(c||i)e[n]=s}},cr=(e)=>e!=null,ar=(e)=>e;var Hs=(e)=>e.toISOString().replace(".000Z","Z");var it=(e)=>{if(e==null)return{};if(Array.isArray(e))return e.filter((t)=>t!=null).map(it);if(typeof e==="object"){const t={};for(let r of Object.keys(e)){if(e[r]==null)continue;t[r]=it(e[r])}return t}return e};export{wr as A,xr as B,j as C,R as D,Ct as E,ct as F,Ae as G,I as H,v as I,B as J,M as K,zn as L,z as M,q as N,co as O,pe as P,Z as Q,Se as R,Oe as S,Fo as T,Bo as U,Yo as V,ts as W,ae as X,$n as Y,In as Z,ns as _,_ as $,Ve as aa,os as ba,ss as ca,is as da,cs as ea,as as fa,ls as ga,hs as ha,ps as ia,ms as ja,Ce as ka,$e as la,ws as ma,bs as na,Ts as oa,ks as pa,Ns as qa,or as ra,sr as sa,vs as ta,Hs as ua,it as va};
@@ -1,2 +0,0 @@
1
- import{z as L} from"./chunk-7ce930fe69575c87.js";var d=L((h8,p2)=>{var e2=function(q){return typeof q!=="undefined"&&q!==null},s0=function(q){return typeof q==="object"},t0=function(q){return Object.prototype.toString.call(q)==="[object Object]"},i0=function(q){return typeof q==="function"},o0=function(q){return typeof q==="boolean"},q5=function(q){return q instanceof Buffer},J5=function(q){if(e2(q))switch(q.constructor){case Uint8Array:case Uint8ClampedArray:case Int8Array:case Uint16Array:case Int16Array:case Uint32Array:case Int32Array:case Float32Array:case Float64Array:return!0}return!1},$5=function(q){return q instanceof ArrayBuffer},W5=function(q){return typeof q==="string"&&q.length>0},Z5=function(q){return typeof q==="number"&&!Number.isNaN(q)},Q5=function(q){return Number.isInteger(q)},Y5=function(q,J,$){return q>=J&&q<=$},K5=function(q,J){return J.includes(q)},U5=function(q,J,$){return new Error(`Expected ${J} for ${q} but received ${$} of type ${typeof $}`)},B5=function(q,J){return J.message=q.message,J};p2.exports={defined:e2,object:s0,plainObject:t0,fn:i0,bool:o0,buffer:q5,typedArray:J5,arrayBuffer:$5,string:W5,number:Z5,integer:Q5,inRange:Y5,inArray:K5,invalidParameterError:U5,nativeError:B5}});var t=L((g8,n2)=>{var G5=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...q)=>console.error("SEMVER",...q):()=>{};n2.exports=G5});var K2=L((m8,s2)=>{var H5=Number.MAX_SAFE_INTEGER||9007199254740991,I5=["major","premajor","minor","preminor","patch","prepatch","prerelease"];s2.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:H5,RELEASE_TYPES:I5,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var i=L((O,t2)=>{var{MAX_SAFE_COMPONENT_LENGTH:D2,MAX_SAFE_BUILD_LENGTH:F5,MAX_LENGTH:N5}=K2(),X5=t();O=t2.exports={};var V5=O.re=[],A5=O.safeRe=[],F=O.src=[],N=O.t={},P5=0,E2="[a-zA-Z0-9-]",L5=[["\\s",1],["\\d",N5],[E2,F5]],_5=(q)=>{for(let[J,$]of L5)q=q.split(`${J}*`).join(`${J}{0,${$}}`).split(`${J}+`).join(`${J}{1,${$}}`);return q},A=(q,J,$)=>{const W=_5(J),Z=P5++;X5(q,Z,J),N[q]=Z,F[Z]=J,V5[Z]=new RegExp(J,$?"g":void 0),A5[Z]=new RegExp(W,$?"g":void 0)};A("NUMERICIDENTIFIER","0|[1-9]\\d*");A("NUMERICIDENTIFIERLOOSE","\\d+");A("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${E2}*`);A("MAINVERSION",`(${F[N.NUMERICIDENTIFIER]})\\.`+`(${F[N.NUMERICIDENTIFIER]})\\.`+`(${F[N.NUMERICIDENTIFIER]})`);A("MAINVERSIONLOOSE",`(${F[N.NUMERICIDENTIFIERLOOSE]})\\.`+`(${F[N.NUMERICIDENTIFIERLOOSE]})\\.`+`(${F[N.NUMERICIDENTIFIERLOOSE]})`);A("PRERELEASEIDENTIFIER",`(?:${F[N.NUMERICIDENTIFIER]}|${F[N.NONNUMERICIDENTIFIER]})`);A("PRERELEASEIDENTIFIERLOOSE",`(?:${F[N.NUMERICIDENTIFIERLOOSE]}|${F[N.NONNUMERICIDENTIFIER]})`);A("PRERELEASE",`(?:-(${F[N.PRERELEASEIDENTIFIER]}(?:\\.${F[N.PRERELEASEIDENTIFIER]})*))`);A("PRERELEASELOOSE",`(?:-?(${F[N.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${F[N.PRERELEASEIDENTIFIERLOOSE]})*))`);A("BUILDIDENTIFIER",`${E2}+`);A("BUILD",`(?:\\+(${F[N.BUILDIDENTIFIER]}(?:\\.${F[N.BUILDIDENTIFIER]})*))`);A("FULLPLAIN",`v?${F[N.MAINVERSION]}${F[N.PRERELEASE]}?${F[N.BUILD]}?`);A("FULL",`^${F[N.FULLPLAIN]}\$`);A("LOOSEPLAIN",`[v=\\s]*${F[N.MAINVERSIONLOOSE]}${F[N.PRERELEASELOOSE]}?${F[N.BUILD]}?`);A("LOOSE",`^${F[N.LOOSEPLAIN]}\$`);A("GTLT","((?:<|>)?=?)");A("XRANGEIDENTIFIERLOOSE",`${F[N.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);A("XRANGEIDENTIFIER",`${F[N.NUMERICIDENTIFIER]}|x|X|\\*`);A("XRANGEPLAIN",`[v=\\s]*(${F[N.XRANGEIDENTIFIER]})`+`(?:\\.(${F[N.XRANGEIDENTIFIER]})`+`(?:\\.(${F[N.XRANGEIDENTIFIER]})`+`(?:${F[N.PRERELEASE]})?${F[N.BUILD]}?`+")?)?");A("XRANGEPLAINLOOSE",`[v=\\s]*(${F[N.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${F[N.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${F[N.XRANGEIDENTIFIERLOOSE]})`+`(?:${F[N.PRERELEASELOOSE]})?${F[N.BUILD]}?`+")?)?");A("XRANGE",`^${F[N.GTLT]}\\s*${F[N.XRANGEPLAIN]}\$`);A("XRANGELOOSE",`^${F[N.GTLT]}\\s*${F[N.XRANGEPLAINLOOSE]}\$`);A("COERCEPLAIN",`(^|[^\\d])(\\d{1,${D2}})`+`(?:\\.(\\d{1,${D2}}))?`+`(?:\\.(\\d{1,${D2}}))?`);A("COERCE",`${F[N.COERCEPLAIN]}(?:\$|[^\\d])`);A("COERCEFULL",F[N.COERCEPLAIN]+`(?:${F[N.PRERELEASE]})?`+`(?:${F[N.BUILD]})?`+"(?:$|[^\\d])");A("COERCERTL",F[N.COERCE],!0);A("COERCERTLFULL",F[N.COERCEFULL],!0);A("LONETILDE","(?:~>?)");A("TILDETRIM",`(\\s*)${F[N.LONETILDE]}\\s+`,!0);O.tildeTrimReplace="$1~";A("TILDE",`^${F[N.LONETILDE]}${F[N.XRANGEPLAIN]}\$`);A("TILDELOOSE",`^${F[N.LONETILDE]}${F[N.XRANGEPLAINLOOSE]}\$`);A("LONECARET","(?:\\^)");A("CARETTRIM",`(\\s*)${F[N.LONECARET]}\\s+`,!0);O.caretTrimReplace="$1^";A("CARET",`^${F[N.LONECARET]}${F[N.XRANGEPLAIN]}\$`);A("CARETLOOSE",`^${F[N.LONECARET]}${F[N.XRANGEPLAINLOOSE]}\$`);A("COMPARATORLOOSE",`^${F[N.GTLT]}\\s*(${F[N.LOOSEPLAIN]})\$|^\$`);A("COMPARATOR",`^${F[N.GTLT]}\\s*(${F[N.FULLPLAIN]})\$|^\$`);A("COMPARATORTRIM",`(\\s*)${F[N.GTLT]}\\s*(${F[N.LOOSEPLAIN]}|${F[N.XRANGEPLAIN]})`,!0);O.comparatorTrimReplace="$1$2$3";A("HYPHENRANGE",`^\\s*(${F[N.XRANGEPLAIN]})`+"\\s+-\\s+"+`(${F[N.XRANGEPLAIN]})`+"\\s*$");A("HYPHENRANGELOOSE",`^\\s*(${F[N.XRANGEPLAINLOOSE]})`+"\\s+-\\s+"+`(${F[N.XRANGEPLAINLOOSE]})`+"\\s*$");A("STAR","(<|>)?=?\\s*\\*");A("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");A("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var U2=L((u8,i2)=>{var R5=Object.freeze({loose:!0}),j5=Object.freeze({}),z5=(q)=>{if(!q)return j5;if(typeof q!=="object")return R5;return q};i2.exports=z5});var $1=L((l8,J1)=>{var o2=/^[0-9]+$/,q1=(q,J)=>{const $=o2.test(q),W=o2.test(J);if($&&W)q=+q,J=+J;return q===J?0:$&&!W?-1:W&&!$?1:q<J?-1:1},D5=(q,J)=>q1(J,q);J1.exports={compareIdentifiers:q1,rcompareIdentifiers:D5}});var r=L((c8,Y1)=>{var B2=t(),{MAX_LENGTH:W1,MAX_SAFE_INTEGER:G2}=K2(),{safeRe:Z1,t:Q1}=i(),E5=U2(),{compareIdentifiers:a}=$1();class x{constructor(q,J){if(J=E5(J),q instanceof x)if(q.loose===!!J.loose&&q.includePrerelease===!!J.includePrerelease)return q;else q=q.version;else if(typeof q!=="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof q}".`);if(q.length>W1)throw new TypeError(`version is longer than ${W1} characters`);B2("SemVer",q,J),this.options=J,this.loose=!!J.loose,this.includePrerelease=!!J.includePrerelease;const $=q.trim().match(J.loose?Z1[Q1.LOOSE]:Z1[Q1.FULL]);if(!$)throw new TypeError(`Invalid Version: ${q}`);if(this.raw=q,this.major=+$[1],this.minor=+$[2],this.patch=+$[3],this.major>G2||this.major<0)throw new TypeError("Invalid major version");if(this.minor>G2||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>G2||this.patch<0)throw new TypeError("Invalid patch version");if(!$[4])this.prerelease=[];else this.prerelease=$[4].split(".").map((W)=>{if(/^[0-9]+$/.test(W)){const Z=+W;if(Z>=0&&Z<G2)return Z}return W});this.build=$[5]?$[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(q){if(B2("SemVer.compare",this.version,this.options,q),!(q instanceof x)){if(typeof q==="string"&&q===this.version)return 0;q=new x(q,this.options)}if(q.version===this.version)return 0;return this.compareMain(q)||this.comparePre(q)}compareMain(q){if(!(q instanceof x))q=new x(q,this.options);return a(this.major,q.major)||a(this.minor,q.minor)||a(this.patch,q.patch)}comparePre(q){if(!(q instanceof x))q=new x(q,this.options);if(this.prerelease.length&&!q.prerelease.length)return-1;else if(!this.prerelease.length&&q.prerelease.length)return 1;else if(!this.prerelease.length&&!q.prerelease.length)return 0;let J=0;do{const $=this.prerelease[J],W=q.prerelease[J];if(B2("prerelease compare",J,$,W),$===void 0&&W===void 0)return 0;else if(W===void 0)return 1;else if($===void 0)return-1;else if($===W)continue;else return a($,W)}while(++J)}compareBuild(q){if(!(q instanceof x))q=new x(q,this.options);let J=0;do{const $=this.build[J],W=q.build[J];if(B2("build compare",J,$,W),$===void 0&&W===void 0)return 0;else if(W===void 0)return 1;else if($===void 0)return-1;else if($===W)continue;else return a($,W)}while(++J)}inc(q,J,$){switch(q){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",J,$);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",J,$);break;case"prepatch":this.prerelease.length=0,this.inc("patch",J,$),this.inc("pre",J,$);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",J,$);this.inc("pre",J,$);break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{const W=Number($)?1:0;if(!J&&$===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[W];else{let Z=this.prerelease.length;while(--Z>=0)if(typeof this.prerelease[Z]==="number")this.prerelease[Z]++,Z=-2;if(Z===-1){if(J===this.prerelease.join(".")&&$===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(W)}}if(J){let Z=[J,W];if($===!1)Z=[J];if(a(this.prerelease[0],J)===0){if(isNaN(this.prerelease[1]))this.prerelease=Z}else this.prerelease=Z}break}default:throw new Error(`invalid increment argument: ${q}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}Y1.exports=x});var B1=L((a8,U1)=>{var K1=r(),T5=(q,J,$=!1)=>{if(q instanceof K1)return q;try{return new K1(q,J)}catch(W){if(!$)return null;throw W}};U1.exports=T5});var H1=L((r8,G1)=>{var y5=r(),w5=B1(),{safeRe:H2,t:I2}=i(),C5=(q,J)=>{if(q instanceof y5)return q;if(typeof q==="number")q=String(q);if(typeof q!=="string")return null;J=J||{};let $=null;if(!J.rtl)$=q.match(J.includePrerelease?H2[I2.COERCEFULL]:H2[I2.COERCE]);else{const H=J.includePrerelease?H2[I2.COERCERTLFULL]:H2[I2.COERCERTL];let I;while((I=H.exec(q))&&(!$||$.index+$[0].length!==q.length)){if(!$||I.index+I[0].length!==$.index+$[0].length)$=I;H.lastIndex=I.index+I[1].length+I[2].length}H.lastIndex=-1}if($===null)return null;const W=$[2],Z=$[3]||"0",Y=$[4]||"0",K=J.includePrerelease&&$[5]?`-${$[5]}`:"",B=J.includePrerelease&&$[6]?`+${$[6]}`:"";return w5(`${W}.${Z}.${Y}${K}${B}`,J)};G1.exports=C5});var u=L((e8,F1)=>{var I1=r(),S5=(q,J,$)=>new I1(q,$).compare(new I1(J,$));F1.exports=S5});var T2=L((p8,N1)=>{var k5=u(),M5=(q,J,$)=>k5(q,J,$)>=0;N1.exports=M5});var A1=L((n8,V1)=>{class X1{constructor(){this.max=1000,this.map=new Map}get(q){const J=this.map.get(q);if(J===void 0)return;else return this.map.delete(q),this.map.set(q,J),J}delete(q){return this.map.delete(q)}set(q,J){if(!this.delete(q)&&J!==void 0){if(this.map.size>=this.max){const W=this.map.keys().next().value;this.delete(W)}this.map.set(q,J)}return this}}V1.exports=X1});var L1=L((s8,P1)=>{var x5=u(),f5=(q,J,$)=>x5(q,J,$)===0;P1.exports=f5});var R1=L((t8,_1)=>{var d5=u(),v5=(q,J,$)=>d5(q,J,$)!==0;_1.exports=v5});var z1=L((i8,j1)=>{var O5=u(),b5=(q,J,$)=>O5(q,J,$)>0;j1.exports=b5});var E1=L((o8,D1)=>{var h5=u(),g5=(q,J,$)=>h5(q,J,$)<0;D1.exports=g5});var y1=L((q9,T1)=>{var m5=u(),u5=(q,J,$)=>m5(q,J,$)<=0;T1.exports=u5});var C1=L((J9,w1)=>{var l5=L1(),c5=R1(),a5=z1(),r5=T2(),e5=E1(),p5=y1(),n5=(q,J,$,W)=>{switch(J){case"===":if(typeof q==="object")q=q.version;if(typeof $==="object")$=$.version;return q===$;case"!==":if(typeof q==="object")q=q.version;if(typeof $==="object")$=$.version;return q!==$;case"":case"=":case"==":return l5(q,$,W);case"!=":return c5(q,$,W);case">":return a5(q,$,W);case">=":return r5(q,$,W);case"<":return e5(q,$,W);case"<=":return p5(q,$,W);default:throw new TypeError(`Invalid operator: ${J}`)}};w1.exports=n5});var v1=L(($9,d1)=>{var o=Symbol("SemVer ANY");class F2{static get ANY(){return o}constructor(q,J){if(J=S1(J),q instanceof F2)if(q.loose===!!J.loose)return q;else q=q.value;if(q=q.trim().split(/\s+/).join(" "),w2("comparator",q,J),this.options=J,this.loose=!!J.loose,this.parse(q),this.semver===o)this.value="";else this.value=this.operator+this.semver.version;w2("comp",this)}parse(q){const J=this.options.loose?k1[M1.COMPARATORLOOSE]:k1[M1.COMPARATOR],$=q.match(J);if(!$)throw new TypeError(`Invalid comparator: ${q}`);if(this.operator=$[1]!==void 0?$[1]:"",this.operator==="=")this.operator="";if(!$[2])this.semver=o;else this.semver=new x1($[2],this.options.loose)}toString(){return this.value}test(q){if(w2("Comparator.test",q,this.options.loose),this.semver===o||q===o)return!0;if(typeof q==="string")try{q=new x1(q,this.options)}catch(J){return!1}return y2(q,this.operator,this.semver,this.options)}intersects(q,J){if(!(q instanceof F2))throw new TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new f1(q.value,J).test(this.value)}else if(q.operator===""){if(q.value==="")return!0;return new f1(this.value,J).test(q.semver)}if(J=S1(J),J.includePrerelease&&(this.value==="<0.0.0-0"||q.value==="<0.0.0-0"))return!1;if(!J.includePrerelease&&(this.value.startsWith("<0.0.0")||q.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&q.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&q.operator.startsWith("<"))return!0;if(this.semver.version===q.semver.version&&this.operator.includes("=")&&q.operator.includes("="))return!0;if(y2(this.semver,"<",q.semver,J)&&this.operator.startsWith(">")&&q.operator.startsWith("<"))return!0;if(y2(this.semver,">",q.semver,J)&&this.operator.startsWith("<")&&q.operator.startsWith(">"))return!0;return!1}}d1.exports=F2;var S1=U2(),{safeRe:k1,t:M1}=i(),y2=C1(),w2=t(),x1=r(),f1=C2()});var C2=L((W9,g1)=>{class q2{constructor(q,J){if(J=t5(J),q instanceof q2)if(q.loose===!!J.loose&&q.includePrerelease===!!J.includePrerelease)return q;else return new q2(q.raw,J);if(q instanceof S2)return this.raw=q.value,this.set=[[q]],this.format(),this;if(this.options=J,this.loose=!!J.loose,this.includePrerelease=!!J.includePrerelease,this.raw=q.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(($)=>this.parseRange($.trim())).filter(($)=>$.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const $=this.set[0];if(this.set=this.set.filter((W)=>!b1(W[0])),this.set.length===0)this.set=[$];else if(this.set.length>1){for(let W of this.set)if(W.length===1&&Z4(W[0])){this.set=[W];break}}}this.format()}format(){return this.range=this.set.map((q)=>q.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(q){const $=((this.options.includePrerelease&&$4)|(this.options.loose&&W4))+":"+q,W=O1.get($);if(W)return W;const Z=this.options.loose,Y=Z?C[T.HYPHENRANGELOOSE]:C[T.HYPHENRANGE];q=q.replace(Y,N4(this.options.includePrerelease)),R("hyphen replace",q),q=q.replace(C[T.COMPARATORTRIM],o5),R("comparator trim",q),q=q.replace(C[T.TILDETRIM],q4),R("tilde trim",q),q=q.replace(C[T.CARETTRIM],J4),R("caret trim",q);let K=q.split(" ").map((P)=>Q4(P,this.options)).join(" ").split(/\s+/).map((P)=>F4(P,this.options));if(Z)K=K.filter((P)=>{return R("loose invalid filter",P,this.options),!!P.match(C[T.COMPARATORLOOSE])});R("range list",K);const B=new Map,H=K.map((P)=>new S2(P,this.options));for(let P of H){if(b1(P))return[P];B.set(P.value,P)}if(B.size>1&&B.has(""))B.delete("");const I=[...B.values()];return O1.set($,I),I}intersects(q,J){if(!(q instanceof q2))throw new TypeError("a Range is required");return this.set.some(($)=>{return h1($,J)&&q.set.some((W)=>{return h1(W,J)&&$.every((Z)=>{return W.every((Y)=>{return Z.intersects(Y,J)})})})})}test(q){if(!q)return!1;if(typeof q==="string")try{q=new i5(q,this.options)}catch(J){return!1}for(let J=0;J<this.set.length;J++)if(X4(this.set[J],q,this.options))return!0;return!1}}g1.exports=q2;var s5=A1(),O1=new s5,t5=U2(),S2=v1(),R=t(),i5=r(),{safeRe:C,t:T,comparatorTrimReplace:o5,tildeTrimReplace:q4,caretTrimReplace:J4}=i(),{FLAG_INCLUDE_PRERELEASE:$4,FLAG_LOOSE:W4}=K2(),b1=(q)=>q.value==="<0.0.0-0",Z4=(q)=>q.value==="",h1=(q,J)=>{let $=!0;const W=q.slice();let Z=W.pop();while($&&W.length)$=W.every((Y)=>{return Z.intersects(Y,J)}),Z=W.pop();return $},Q4=(q,J)=>{return R("comp",q,J),q=U4(q,J),R("caret",q),q=Y4(q,J),R("tildes",q),q=G4(q,J),R("xrange",q),q=I4(q,J),R("stars",q),q},y=(q)=>!q||q.toLowerCase()==="x"||q==="*",Y4=(q,J)=>{return q.trim().split(/\s+/).map(($)=>K4($,J)).join(" ")},K4=(q,J)=>{const $=J.loose?C[T.TILDELOOSE]:C[T.TILDE];return q.replace($,(W,Z,Y,K,B)=>{R("tilde",q,W,Z,Y,K,B);let H;if(y(Z))H="";else if(y(Y))H=`>=${Z}.0.0 <${+Z+1}.0.0-0`;else if(y(K))H=`>=${Z}.${Y}.0 <${Z}.${+Y+1}.0-0`;else if(B)R("replaceTilde pr",B),H=`>=${Z}.${Y}.${K}-${B} <${Z}.${+Y+1}.0-0`;else H=`>=${Z}.${Y}.${K} <${Z}.${+Y+1}.0-0`;return R("tilde return",H),H})},U4=(q,J)=>{return q.trim().split(/\s+/).map(($)=>B4($,J)).join(" ")},B4=(q,J)=>{R("caret",q,J);const $=J.loose?C[T.CARETLOOSE]:C[T.CARET],W=J.includePrerelease?"-0":"";return q.replace($,(Z,Y,K,B,H)=>{R("caret",q,Z,Y,K,B,H);let I;if(y(Y))I="";else if(y(K))I=`>=${Y}.0.0${W} <${+Y+1}.0.0-0`;else if(y(B))if(Y==="0")I=`>=${Y}.${K}.0${W} <${Y}.${+K+1}.0-0`;else I=`>=${Y}.${K}.0${W} <${+Y+1}.0.0-0`;else if(H)if(R("replaceCaret pr",H),Y==="0")if(K==="0")I=`>=${Y}.${K}.${B}-${H} <${Y}.${K}.${+B+1}-0`;else I=`>=${Y}.${K}.${B}-${H} <${Y}.${+K+1}.0-0`;else I=`>=${Y}.${K}.${B}-${H} <${+Y+1}.0.0-0`;else if(R("no pr"),Y==="0")if(K==="0")I=`>=${Y}.${K}.${B}${W} <${Y}.${K}.${+B+1}-0`;else I=`>=${Y}.${K}.${B}${W} <${Y}.${+K+1}.0-0`;else I=`>=${Y}.${K}.${B} <${+Y+1}.0.0-0`;return R("caret return",I),I})},G4=(q,J)=>{return R("replaceXRanges",q,J),q.split(/\s+/).map(($)=>H4($,J)).join(" ")},H4=(q,J)=>{q=q.trim();const $=J.loose?C[T.XRANGELOOSE]:C[T.XRANGE];return q.replace($,(W,Z,Y,K,B,H)=>{R("xRange",q,W,Z,Y,K,B,H);const I=y(Y),P=I||y(K),z=P||y(B),f=z;if(Z==="="&&f)Z="";if(H=J.includePrerelease?"-0":"",I)if(Z===">"||Z==="<")W="<0.0.0-0";else W="*";else if(Z&&f){if(P)K=0;if(B=0,Z===">")if(Z=">=",P)Y=+Y+1,K=0,B=0;else K=+K+1,B=0;else if(Z==="<=")if(Z="<",P)Y=+Y+1;else K=+K+1;if(Z==="<")H="-0";W=`${Z+Y}.${K}.${B}${H}`}else if(P)W=`>=${Y}.0.0${H} <${+Y+1}.0.0-0`;else if(z)W=`>=${Y}.${K}.0${H} <${Y}.${+K+1}.0-0`;return R("xRange return",W),W})},I4=(q,J)=>{return R("replaceStars",q,J),q.trim().replace(C[T.STAR],"")},F4=(q,J)=>{return R("replaceGTE0",q,J),q.trim().replace(C[J.includePrerelease?T.GTE0PRE:T.GTE0],"")},N4=(q)=>(J,$,W,Z,Y,K,B,H,I,P,z,f)=>{if(y(W))$="";else if(y(Z))$=`>=${W}.0.0${q?"-0":""}`;else if(y(Y))$=`>=${W}.${Z}.0${q?"-0":""}`;else if(K)$=`>=${$}`;else $=`>=${$}${q?"-0":""}`;if(y(I))H="";else if(y(P))H=`<${+I+1}.0.0-0`;else if(y(z))H=`<${I}.${+P+1}.0-0`;else if(f)H=`<=${I}.${P}.${z}-${f}`;else if(q)H=`<${I}.${P}.${+z+1}-0`;else H=`<=${H}`;return`${$} ${H}`.trim()},X4=(q,J,$)=>{for(let W=0;W<q.length;W++)if(!q[W].test(J))return!1;if(J.prerelease.length&&!$.includePrerelease){for(let W=0;W<q.length;W++){if(R(q[W].semver),q[W].semver===S2.ANY)continue;if(q[W].semver.prerelease.length>0){const Z=q[W].semver;if(Z.major===J.major&&Z.minor===J.minor&&Z.patch===J.patch)return!0}}return!1}return!0}});var u1=L((Z9,m1)=>{var V4=C2(),A4=(q,J,$)=>{try{J=new V4(J,$)}catch(W){return!1}return J.test(q)};m1.exports=A4});var k2=L((Q9,P4)=>{P4.exports={name:"sharp",description:"High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images",version:"0.33.4",author:"Lovell Fuller <npm@lovell.info>",homepage:"https://sharp.pixelplumbing.com",contributors:["Pierre Inglebert <pierre.inglebert@gmail.com>","Jonathan Ong <jonathanrichardong@gmail.com>","Chanon Sajjamanochai <chanon.s@gmail.com>","Juliano Julio <julianojulio@gmail.com>","Daniel Gasienica <daniel@gasienica.ch>","Julian Walker <julian@fiftythree.com>","Amit Pitaru <pitaru.amit@gmail.com>","Brandon Aaron <hello.brandon@aaron.sh>","Andreas Lind <andreas@one.com>","Maurus Cuelenaere <mcuelenaere@gmail.com>","Linus Unnebäck <linus@folkdatorn.se>","Victor Mateevitsi <mvictoras@gmail.com>","Alaric Holloway <alaric.holloway@gmail.com>","Bernhard K. Weisshuhn <bkw@codingforce.com>","Chris Riley <criley@primedia.com>","David Carley <dacarley@gmail.com>","John Tobin <john@limelightmobileinc.com>","Kenton Gray <kentongray@gmail.com>","Felix Bünemann <Felix.Buenemann@gmail.com>","Samy Al Zahrani <samyalzahrany@gmail.com>","Chintan Thakkar <lemnisk8@gmail.com>","F. Orlando Galashan <frulo@gmx.de>","Kleis Auke Wolthuizen <info@kleisauke.nl>","Matt Hirsch <mhirsch@media.mit.edu>","Matthias Thoemmes <thoemmes@gmail.com>","Patrick Paskaris <patrick@paskaris.gr>","Jérémy Lal <kapouer@melix.org>","Rahul Nanwani <r.nanwani@gmail.com>","Alice Monday <alice0meta@gmail.com>","Kristo Jorgenson <kristo.jorgenson@gmail.com>","YvesBos <yves_bos@outlook.com>","Guy Maliar <guy@tailorbrands.com>","Nicolas Coden <nicolas@ncoden.fr>","Matt Parrish <matt.r.parrish@gmail.com>","Marcel Bretschneider <marcel.bretschneider@gmail.com>","Matthew McEachen <matthew+github@mceachen.org>","Jarda Kotěšovec <jarda.kotesovec@gmail.com>","Kenric D'Souza <kenric.dsouza@gmail.com>","Oleh Aleinyk <oleg.aleynik@gmail.com>","Marcel Bretschneider <marcel.bretschneider@gmail.com>","Andrea Bianco <andrea.bianco@unibas.ch>","Rik Heywood <rik@rik.org>","Thomas Parisot <hi@oncletom.io>","Nathan Graves <nathanrgraves+github@gmail.com>","Tom Lokhorst <tom@lokhorst.eu>","Espen Hovlandsdal <espen@hovlandsdal.com>","Sylvain Dumont <sylvain.dumont35@gmail.com>","Alun Davies <alun.owain.davies@googlemail.com>","Aidan Hoolachan <ajhoolachan21@gmail.com>","Axel Eirola <axel.eirola@iki.fi>","Freezy <freezy@xbmc.org>","Daiz <taneli.vatanen@gmail.com>","Julian Aubourg <j@ubourg.net>","Keith Belovay <keith@picthrive.com>","Michael B. Klein <mbklein@gmail.com>","Jordan Prudhomme <jordan@raboland.fr>","Ilya Ovdin <iovdin@gmail.com>","Andargor <andargor@yahoo.com>","Paul Neave <paul.neave@gmail.com>","Brendan Kennedy <brenwken@gmail.com>","Brychan Bennett-Odlum <git@brychan.io>","Edward Silverton <e.silverton@gmail.com>","Roman Malieiev <aromaleev@gmail.com>","Tomas Szabo <tomas.szabo@deftomat.com>","Robert O'Rourke <robert@o-rourke.org>","Guillermo Alfonso Varela Chouciño <guillevch@gmail.com>","Christian Flintrup <chr@gigahost.dk>","Manan Jadhav <manan@motionden.com>","Leon Radley <leon@radley.se>","alza54 <alza54@thiocod.in>","Jacob Smith <jacob@frende.me>","Michael Nutt <michael@nutt.im>","Brad Parham <baparham@gmail.com>","Taneli Vatanen <taneli.vatanen@gmail.com>","Joris Dugué <zaruike10@gmail.com>","Chris Banks <christopher.bradley.banks@gmail.com>","Ompal Singh <ompal.hitm09@gmail.com>","Brodan <christopher.hranj@gmail.com>","Ankur Parihar <ankur.github@gmail.com>","Brahim Ait elhaj <brahima@gmail.com>","Mart Jansink <m.jansink@gmail.com>","Lachlan Newman <lachnewman007@gmail.com>","Dennis Beatty <dennis@dcbeatty.com>","Ingvar Stepanyan <me@rreverser.com>"],scripts:{install:"node install/check",clean:"rm -rf src/build/ .nyc_output/ coverage/ test/fixtures/output.*",test:"npm run test-lint && npm run test-unit && npm run test-licensing && npm run test-types","test-lint":"semistandard && cpplint","test-unit":"nyc --reporter=lcov --reporter=text --check-coverage --branches=100 mocha","test-licensing":"license-checker --production --summary --onlyAllow=\"Apache-2.0;BSD;ISC;LGPL-3.0-or-later;MIT\"","test-leak":"./test/leak/leak.sh","test-types":"tsd","package-from-local-build":"node npm/from-local-build","package-from-github-release":"node npm/from-github-release","docs-build":"node docs/build && node docs/search-index/build","docs-serve":"cd docs && npx serve","docs-publish":"cd docs && npx firebase-tools deploy --project pixelplumbing --only hosting:pixelplumbing-sharp"},type:"commonjs",main:"lib/index.js",types:"lib/index.d.ts",files:["install","lib","src/*.{cc,h,gyp}"],repository:{type:"git",url:"git://github.com/lovell/sharp.git"},keywords:["jpeg","png","webp","avif","tiff","gif","svg","jp2","dzi","image","resize","thumbnail","crop","embed","libvips","vips"],dependencies:{color:"^4.2.3","detect-libc":"^2.0.3",semver:"^7.6.0"},optionalDependencies:{"@img/sharp-darwin-arm64":"0.33.4","@img/sharp-darwin-x64":"0.33.4","@img/sharp-libvips-darwin-arm64":"1.0.2","@img/sharp-libvips-darwin-x64":"1.0.2","@img/sharp-libvips-linux-arm":"1.0.2","@img/sharp-libvips-linux-arm64":"1.0.2","@img/sharp-libvips-linux-s390x":"1.0.2","@img/sharp-libvips-linux-x64":"1.0.2","@img/sharp-libvips-linuxmusl-arm64":"1.0.2","@img/sharp-libvips-linuxmusl-x64":"1.0.2","@img/sharp-linux-arm":"0.33.4","@img/sharp-linux-arm64":"0.33.4","@img/sharp-linux-s390x":"0.33.4","@img/sharp-linux-x64":"0.33.4","@img/sharp-linuxmusl-arm64":"0.33.4","@img/sharp-linuxmusl-x64":"0.33.4","@img/sharp-wasm32":"0.33.4","@img/sharp-win32-ia32":"0.33.4","@img/sharp-win32-x64":"0.33.4"},devDependencies:{"@emnapi/runtime":"^1.1.1","@img/sharp-libvips-dev":"1.0.2","@img/sharp-libvips-dev-wasm32":"1.0.3","@img/sharp-libvips-win32-ia32":"1.0.2","@img/sharp-libvips-win32-x64":"1.0.2","@types/node":"*",async:"^3.2.5",cc:"^3.0.1",emnapi:"^1.1.1","exif-reader":"^2.0.1","extract-zip":"^2.0.1",icc:"^3.0.0","jsdoc-to-markdown":"^8.0.1","license-checker":"^25.0.1",mocha:"^10.4.0","node-addon-api":"^8.0.0",nyc:"^15.1.0",prebuild:"^13.0.1",semistandard:"^17.0.0","tar-fs":"^3.0.6",tsd:"^0.31.0"},license:"Apache-2.0",engines:{node:"^18.17.0 || ^20.3.0 || >=21.0.0",libvips:">=8.15.2"},funding:{url:"https://opencollective.com/libvips"},binary:{napi_versions:[9]},semistandard:{env:["mocha"]},cc:{linelength:"120",filter:["build/include"]},nyc:{include:["lib"]},tsd:{directory:"test/types/"}}});var f2=L((Y9,i1)=>{var{spawnSync:N2}=import.meta.require("child_process"),{createHash:L4}=import.meta.require("crypto"),a1=H1(),_4=T2(),R4=u1(),l1=import.meta.require("detect-libc"),{engines:x2,optionalDependencies:j4}=k2(),z4=process.env.npm_package_config_libvips||x2.libvips,r1=a1(z4).version,D4=["darwin-arm64","darwin-x64","linux-arm","linux-arm64","linux-s390x","linux-x64","linuxmusl-arm64","linuxmusl-x64","win32-ia32","win32-x64"],X2={encoding:"utf8",shell:!0},e1=(q)=>{if(q instanceof Error)console.error(`sharp: Installation error: ${q.message}`);else console.log(`sharp: ${q}`)},p1=()=>l1.isNonGlibcLinuxSync()?l1.familySync():"",E4=()=>`${process.platform}${p1()}-${process.arch}`,e=()=>{if(n1())return"wasm32";const{npm_config_arch:q,npm_config_platform:J,npm_config_libc:$}=process.env,W=typeof $==="string"?$:p1();return`${J||process.platform}${W}-${q||process.arch}`},T4=()=>{try{return import.meta.require(`@img/sharp-libvips-dev-${e()}/include`)}catch{try{return (()=>{throw new Error(`Cannot require module "@img/sharp-libvips-dev/include"`);})()}catch{}}return""},y4=()=>{try{return (()=>{throw new Error(`Cannot require module "@img/sharp-libvips-dev/cplusplus"`);})()}catch{}return""},w4=()=>{try{return import.meta.require(`@img/sharp-libvips-dev-${e()}/lib`)}catch{try{return import.meta.require(`@img/sharp-libvips-${e()}/lib`)}catch{}}return""},C4=()=>{if(process.release?.name==="node"&&process.versions){if(!R4(process.versions.node,x2.node))return{found:process.versions.node,expected:x2.node}}},n1=()=>{const{CC:q}=process.env;return Boolean(q&&q.endsWith("/emcc"))},S4=()=>{if(process.platform==="darwin"&&process.arch==="x64")return(N2("sysctl sysctl.proc_translated",X2).stdout||"").trim()==="sysctl.proc_translated: 1";return!1},c1=(q)=>L4("sha512").update(q).digest("hex"),k4=()=>{try{const q=c1(`imgsharp-libvips-${e()}`),J=a1(j4[`@img/sharp-libvips-${e()}`]).version;return c1(`${q}npm:${J}`).slice(0,10)}catch{}return""},M4=()=>N2(`node-gyp rebuild --directory=src ${n1()?"--nodedir=emscripten":""}`,{...X2,stdio:"inherit"}).status,s1=()=>{if(process.platform!=="win32")return(N2("pkg-config --modversion vips-cpp",{...X2,env:{...process.env,PKG_CONFIG_PATH:t1()}}).stdout||"").trim();else return""},t1=()=>{if(process.platform!=="win32")return[(N2('which brew >/dev/null 2>&1 && brew environment --plain | grep PKG_CONFIG_LIBDIR | cut -d" " -f2',X2).stdout||"").trim(),process.env.PKG_CONFIG_PATH,"/usr/local/lib/pkgconfig","/usr/lib/pkgconfig","/usr/local/libdata/pkgconfig","/usr/libdata/pkgconfig"].filter(Boolean).join(":");else return""},M2=(q,J)=>{return e1(`Detected ${J}, skipping search for globally-installed libvips`),q},x4=()=>{if(Boolean(process.env.SHARP_IGNORE_GLOBAL_LIBVIPS)===!0)return M2(!1,"SHARP_IGNORE_GLOBAL_LIBVIPS");if(Boolean(process.env.SHARP_FORCE_GLOBAL_LIBVIPS)===!0)return M2(!0,"SHARP_FORCE_GLOBAL_LIBVIPS");if(S4())return M2(!1,"Rosetta");const q=s1();return!!q&&_4(q,r1)};i1.exports={minimumLibvipsVersion:r1,prebuiltPlatforms:D4,buildPlatformArch:e,buildSharpLibvipsIncludeDir:T4,buildSharpLibvipsCPlusPlusDir:y4,buildSharpLibvipsLibDir:w4,isUnsupportedNodeRuntime:C4,runtimePlatformArch:E4,log:e1,yarnLocator:k4,spawnRebuild:M4,globalLibvipsVersion:s1,pkgConfigPath:t1,useGlobalLibvips:x4}});var J2=L((K9,q0)=>{var{familySync:f4,versionSync:d4}=import.meta.require("detect-libc"),{runtimePlatformArch:v4,isUnsupportedNodeRuntime:o1,prebuiltPlatforms:O4,minimumLibvipsVersion:b4}=f2(),l=v4(),h4=[`../src/build/Release/sharp-${l}.node`,"../src/build/Release/sharp-wasm32.node",`@img/sharp-${l}/sharp.node`,"@img/sharp-wasm32/sharp.node"],d2,V2=[];for(let q of h4)try{d2=import.meta.require(q);break}catch(J){V2.push(J)}if(d2)q0.exports=d2;else{const[q,J,$]=["linux","darwin","win32"].map((Y)=>l.startsWith(Y)),W=[`Could not load the "sharp" module using the ${l} runtime`];V2.forEach((Y)=>{if(Y.code!=="MODULE_NOT_FOUND")W.push(`${Y.code}: ${Y.message}`)});const Z=V2.map((Y)=>Y.message).join(" ");if(W.push("Possible solutions:"),o1()){const{found:Y,expected:K}=o1();W.push("- Please upgrade Node.js:",` Found ${Y}`,` Requires ${K}`)}else if(O4.includes(l)){const[Y,K]=l.split("-"),B=Y.endsWith("musl")?" --libc=musl":"";W.push("- Ensure optional dependencies can be installed:"," npm install --include=optional sharp"," yarn add sharp --ignore-engines","- Ensure your package manager supports multi-platform installation:"," See https://sharp.pixelplumbing.com/install#cross-platform","- Add platform-specific dependencies:",` npm install --os=${Y.replace("musl","")}${B} --cpu=${K} sharp`)}else W.push(`- Manually install libvips >= ${b4}`,"- Add experimental WebAssembly-based dependencies:"," npm install --cpu=wasm32 sharp"," npm install @img/sharp-wasm32");if(q&&/(symbol not found|CXXABI_)/i.test(Z))try{const{engines:Y}=import.meta.require(`@img/sharp-libvips-${l}/package`),K=`${f4()} ${d4()}`,B=`${Y.musl?"musl":"glibc"} ${Y.musl||Y.glibc}`;W.push("- Update your OS:",` Found ${K}`,` Requires ${B}`)}catch(Y){}if(q&&/\/snap\/core[0-9]{2}/.test(Z))W.push("- Remove the Node.js Snap, which does not support native modules"," snap remove node");if(J&&/Incompatible library version/.test(Z))W.push("- Update Homebrew:"," brew update && brew upgrade vips");if(V2.some((Y)=>Y.code==="ERR_DLOPEN_DISABLED"))W.push("- Run Node.js without using the --no-addons flag");if($&&/The specified procedure could not be found/.test(Z))W.push("- Using the canvas package on Windows?"," See https://sharp.pixelplumbing.com/install#canvas-and-windows","- Check for outdated versions of sharp in the dependency tree:"," npm ls sharp");throw W.push("- Consult the installation documentation:"," See https://sharp.pixelplumbing.com/install"),new Error(W.join("\n"))}});var $0=L((U9,J0)=>{var l4=function(){const q=this.constructor.call(),{debuglog:J,queueListener:$,...W}=this.options;if(q.options=structuredClone(W),q.options.debuglog=J,q.options.queueListener=$,this._isStreamInput())this.on("finish",()=>{this._flattenBufferIn(),q.options.input.buffer=this.options.input.buffer,q.emit("finish")});return q},g4=import.meta.require("util"),v2=import.meta.require("stream"),m4=d();J2();var u4=g4.debuglog("sharp"),c=function(q,J){if(arguments.length===1&&!m4.defined(q))throw new Error("Invalid input");if(!(this instanceof c))return new c(q,J);return v2.Duplex.call(this),this.options={topOffsetPre:-1,leftOffsetPre:-1,widthPre:-1,heightPre:-1,topOffsetPost:-1,leftOffsetPost:-1,widthPost:-1,heightPost:-1,width:-1,height:-1,canvas:"crop",position:0,resizeBackground:[0,0,0,255],useExifOrientation:!1,angle:0,rotationAngle:0,rotationBackground:[0,0,0,255],rotateBeforePreExtract:!1,flip:!1,flop:!1,extendTop:0,extendBottom:0,extendLeft:0,extendRight:0,extendBackground:[0,0,0,255],extendWith:"background",withoutEnlargement:!1,withoutReduction:!1,affineMatrix:[],affineBackground:[0,0,0,255],affineIdx:0,affineIdy:0,affineOdx:0,affineOdy:0,affineInterpolator:this.constructor.interpolators.bilinear,kernel:"lanczos3",fastShrinkOnLoad:!0,tint:[-1,0,0,0],flatten:!1,flattenBackground:[0,0,0],unflatten:!1,negate:!1,negateAlpha:!0,medianSize:0,blurSigma:0,sharpenSigma:0,sharpenM1:1,sharpenM2:2,sharpenX1:2,sharpenY2:10,sharpenY3:20,threshold:0,thresholdGrayscale:!0,trimBackground:[],trimThreshold:-1,trimLineArt:!1,gamma:0,gammaOut:0,greyscale:!1,normalise:!1,normaliseLower:1,normaliseUpper:99,claheWidth:0,claheHeight:0,claheMaxSlope:3,brightness:1,saturation:1,hue:0,lightness:0,booleanBufferIn:null,booleanFileIn:"",joinChannelIn:[],extractChannel:-1,removeAlpha:!1,ensureAlpha:-1,colourspace:"srgb",colourspacePipeline:"last",composite:[],fileOut:"",formatOut:"input",streamOut:!1,keepMetadata:0,withMetadataOrientation:-1,withMetadataDensity:0,withIccProfile:"",withExif:{},withExifMerge:!0,resolveWithObject:!1,jpegQuality:80,jpegProgressive:!1,jpegChromaSubsampling:"4:2:0",jpegTrellisQuantisation:!1,jpegOvershootDeringing:!1,jpegOptimiseScans:!1,jpegOptimiseCoding:!0,jpegQuantisationTable:0,pngProgressive:!1,pngCompressionLevel:6,pngAdaptiveFiltering:!1,pngPalette:!1,pngQuality:100,pngEffort:7,pngBitdepth:8,pngDither:1,jp2Quality:80,jp2TileHeight:512,jp2TileWidth:512,jp2Lossless:!1,jp2ChromaSubsampling:"4:4:4",webpQuality:80,webpAlphaQuality:100,webpLossless:!1,webpNearLossless:!1,webpSmartSubsample:!1,webpPreset:"default",webpEffort:4,webpMinSize:!1,webpMixed:!1,gifBitdepth:8,gifEffort:7,gifDither:1,gifInterFrameMaxError:0,gifInterPaletteMaxError:3,gifReuse:!0,gifProgressive:!1,tiffQuality:80,tiffCompression:"jpeg",tiffPredictor:"horizontal",tiffPyramid:!1,tiffMiniswhite:!1,tiffBitdepth:8,tiffTile:!1,tiffTileHeight:256,tiffTileWidth:256,tiffXres:1,tiffYres:1,tiffResolutionUnit:"inch",heifQuality:50,heifLossless:!1,heifCompression:"av1",heifEffort:4,heifChromaSubsampling:"4:4:4",heifBitdepth:8,jxlDistance:1,jxlDecodingTier:0,jxlEffort:7,jxlLossless:!1,rawDepth:"uchar",tileSize:256,tileOverlap:0,tileContainer:"fs",tileLayout:"dz",tileFormat:"last",tileDepth:"last",tileAngle:0,tileSkipBlanks:-1,tileBackground:[255,255,255,255],tileCentre:!1,tileId:"https://example.com/iiif",tileBasename:"",timeoutSeconds:0,linearA:[],linearB:[],debuglog:($)=>{this.emit("warning",$),u4($)},queueListener:function($){c.queue.emit("change",$)}},this.options.input=this._createInputDescriptor(q,J,{allowStream:!0}),this};Object.setPrototypeOf(c.prototype,v2.Duplex.prototype);Object.setPrototypeOf(c,v2.Duplex);Object.assign(c.prototype,{clone:l4});J0.exports=c});var O2=L((B9,W0)=>{W0.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var Q0=L((G9,Z0)=>{Z0.exports=function q(J){if(!J||typeof J==="string")return!1;return J instanceof Array||Array.isArray(J)||J.length>=0&&(J.splice instanceof Function||Object.getOwnPropertyDescriptor(J,J.length-1)&&J.constructor.name!=="String")}});var U0=L((H9,K0)=>{var c4=Q0(),a4=Array.prototype.concat,r4=Array.prototype.slice,Y0=K0.exports=function q(J){var $=[];for(var W=0,Z=J.length;W<Z;W++){var Y=J[W];if(c4(Y))$=a4.call($,r4.call(Y));else $.push(Y)}return $};Y0.wrap=function(q){return function(){return q(Y0(arguments))}}});var I0=L((I9,H0)=>{var g=function(q,J,$){return Math.min(Math.max(J,q),$)},P2=function(q){var J=Math.round(q).toString(16).toUpperCase();return J.length<2?"0"+J:J},$2=O2(),W2=U0(),B0=Object.hasOwnProperty,G0=Object.create(null);for(A2 in $2)if(B0.call($2,A2))G0[$2[A2]]=A2;var A2,S=H0.exports={to:{},get:{}};S.get=function(q){var J=q.substring(0,3).toLowerCase(),$,W;switch(J){case"hsl":$=S.get.hsl(q),W="hsl";break;case"hwb":$=S.get.hwb(q),W="hwb";break;default:$=S.get.rgb(q),W="rgb";break}if(!$)return null;return{model:W,value:$}};S.get.rgb=function(q){if(!q)return null;var J=/^#([a-f0-9]{3,4})$/i,$=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,W=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,Z=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,Y=/^(\w+)$/,K=[0,0,0,1],B,H,I;if(B=q.match($)){I=B[2],B=B[1];for(H=0;H<3;H++){var P=H*2;K[H]=parseInt(B.slice(P,P+2),16)}if(I)K[3]=parseInt(I,16)/255}else if(B=q.match(J)){B=B[1],I=B[3];for(H=0;H<3;H++)K[H]=parseInt(B[H]+B[H],16);if(I)K[3]=parseInt(I+I,16)/255}else if(B=q.match(W)){for(H=0;H<3;H++)K[H]=parseInt(B[H+1],0);if(B[4])if(B[5])K[3]=parseFloat(B[4])*0.01;else K[3]=parseFloat(B[4])}else if(B=q.match(Z)){for(H=0;H<3;H++)K[H]=Math.round(parseFloat(B[H+1])*2.55);if(B[4])if(B[5])K[3]=parseFloat(B[4])*0.01;else K[3]=parseFloat(B[4])}else if(B=q.match(Y)){if(B[1]==="transparent")return[0,0,0,0];if(!B0.call($2,B[1]))return null;return K=$2[B[1]],K[3]=1,K}else return null;for(H=0;H<3;H++)K[H]=g(K[H],0,255);return K[3]=g(K[3],0,1),K};S.get.hsl=function(q){if(!q)return null;var J=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,$=q.match(J);if($){var W=parseFloat($[4]),Z=(parseFloat($[1])%360+360)%360,Y=g(parseFloat($[2]),0,100),K=g(parseFloat($[3]),0,100),B=g(isNaN(W)?1:W,0,1);return[Z,Y,K,B]}return null};S.get.hwb=function(q){if(!q)return null;var J=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,$=q.match(J);if($){var W=parseFloat($[4]),Z=(parseFloat($[1])%360+360)%360,Y=g(parseFloat($[2]),0,100),K=g(parseFloat($[3]),0,100),B=g(isNaN(W)?1:W,0,1);return[Z,Y,K,B]}return null};S.to.hex=function(){var q=W2(arguments);return"#"+P2(q[0])+P2(q[1])+P2(q[2])+(q[3]<1?P2(Math.round(q[3]*255)):"")};S.to.rgb=function(){var q=W2(arguments);return q.length<4||q[3]===1?"rgb("+Math.round(q[0])+", "+Math.round(q[1])+", "+Math.round(q[2])+")":"rgba("+Math.round(q[0])+", "+Math.round(q[1])+", "+Math.round(q[2])+", "+q[3]+")"};S.to.rgb.percent=function(){var q=W2(arguments),J=Math.round(q[0]/255*100),$=Math.round(q[1]/255*100),W=Math.round(q[2]/255*100);return q.length<4||q[3]===1?"rgb("+J+"%, "+$+"%, "+W+"%)":"rgba("+J+"%, "+$+"%, "+W+"%, "+q[3]+")"};S.to.hsl=function(){var q=W2(arguments);return q.length<4||q[3]===1?"hsl("+q[0]+", "+q[1]+"%, "+q[2]+"%)":"hsla("+q[0]+", "+q[1]+"%, "+q[2]+"%, "+q[3]+")"};S.to.hwb=function(){var q=W2(arguments),J="";if(q.length>=4&&q[3]!==1)J=", "+q[3];return"hwb("+q[0]+", "+q[1]+"%, "+q[2]+"%"+J+")"};S.to.keyword=function(q){return G0[q.slice(0,3)]}});var b2=L((F9,N0)=>{var e4=function(q,J){return(q[0]-J[0])**2+(q[1]-J[1])**2+(q[2]-J[2])**2},Z2=O2(),F0={};for(let q of Object.keys(Z2))F0[Z2[q]]=q;var X={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};N0.exports=X;for(let q of Object.keys(X)){if(!("channels"in X[q]))throw new Error("missing channels property: "+q);if(!("labels"in X[q]))throw new Error("missing channel labels property: "+q);if(X[q].labels.length!==X[q].channels)throw new Error("channel and label counts mismatch: "+q);const{channels:J,labels:$}=X[q];delete X[q].channels,delete X[q].labels,Object.defineProperty(X[q],"channels",{value:J}),Object.defineProperty(X[q],"labels",{value:$})}X.rgb.hsl=function(q){const J=q[0]/255,$=q[1]/255,W=q[2]/255,Z=Math.min(J,$,W),Y=Math.max(J,$,W),K=Y-Z;let B,H;if(Y===Z)B=0;else if(J===Y)B=($-W)/K;else if($===Y)B=2+(W-J)/K;else if(W===Y)B=4+(J-$)/K;if(B=Math.min(B*60,360),B<0)B+=360;const I=(Z+Y)/2;if(Y===Z)H=0;else if(I<=0.5)H=K/(Y+Z);else H=K/(2-Y-Z);return[B,H*100,I*100]};X.rgb.hsv=function(q){let J,$,W,Z,Y;const K=q[0]/255,B=q[1]/255,H=q[2]/255,I=Math.max(K,B,H),P=I-Math.min(K,B,H),z=function(f){return(I-f)/6/P+0.5};if(P===0)Z=0,Y=0;else{if(Y=P/I,J=z(K),$=z(B),W=z(H),K===I)Z=W-$;else if(B===I)Z=0.3333333333333333+J-W;else if(H===I)Z=0.6666666666666666+$-J;if(Z<0)Z+=1;else if(Z>1)Z-=1}return[Z*360,Y*100,I*100]};X.rgb.hwb=function(q){const J=q[0],$=q[1];let W=q[2];const Z=X.rgb.hsl(q)[0],Y=0.00392156862745098*Math.min(J,Math.min($,W));return W=1-0.00392156862745098*Math.max(J,Math.max($,W)),[Z,Y*100,W*100]};X.rgb.cmyk=function(q){const J=q[0]/255,$=q[1]/255,W=q[2]/255,Z=Math.min(1-J,1-$,1-W),Y=(1-J-Z)/(1-Z)||0,K=(1-$-Z)/(1-Z)||0,B=(1-W-Z)/(1-Z)||0;return[Y*100,K*100,B*100,Z*100]};X.rgb.keyword=function(q){const J=F0[q];if(J)return J;let $=Infinity,W;for(let Z of Object.keys(Z2)){const Y=Z2[Z],K=e4(q,Y);if(K<$)$=K,W=Z}return W};X.keyword.rgb=function(q){return Z2[q]};X.rgb.xyz=function(q){let J=q[0]/255,$=q[1]/255,W=q[2]/255;J=J>0.04045?((J+0.055)/1.055)**2.4:J/12.92,$=$>0.04045?(($+0.055)/1.055)**2.4:$/12.92,W=W>0.04045?((W+0.055)/1.055)**2.4:W/12.92;const Z=J*0.4124+$*0.3576+W*0.1805,Y=J*0.2126+$*0.7152+W*0.0722,K=J*0.0193+$*0.1192+W*0.9505;return[Z*100,Y*100,K*100]};X.rgb.lab=function(q){const J=X.rgb.xyz(q);let $=J[0],W=J[1],Z=J[2];$/=95.047,W/=100,Z/=108.883,$=$>0.008856?$**0.3333333333333333:7.787*$+0.13793103448275862,W=W>0.008856?W**0.3333333333333333:7.787*W+0.13793103448275862,Z=Z>0.008856?Z**0.3333333333333333:7.787*Z+0.13793103448275862;const Y=116*W-16,K=500*($-W),B=200*(W-Z);return[Y,K,B]};X.hsl.rgb=function(q){const J=q[0]/360,$=q[1]/100,W=q[2]/100;let Z,Y,K;if($===0)return K=W*255,[K,K,K];if(W<0.5)Z=W*(1+$);else Z=W+$-W*$;const B=2*W-Z,H=[0,0,0];for(let I=0;I<3;I++){if(Y=J+0.3333333333333333*-(I-1),Y<0)Y++;if(Y>1)Y--;if(6*Y<1)K=B+(Z-B)*6*Y;else if(2*Y<1)K=Z;else if(3*Y<2)K=B+(Z-B)*(0.6666666666666666-Y)*6;else K=B;H[I]=K*255}return H};X.hsl.hsv=function(q){const J=q[0];let $=q[1]/100,W=q[2]/100,Z=$;const Y=Math.max(W,0.01);W*=2,$*=W<=1?W:2-W,Z*=Y<=1?Y:2-Y;const K=(W+$)/2,B=W===0?2*Z/(Y+Z):2*$/(W+$);return[J,B*100,K*100]};X.hsv.rgb=function(q){const J=q[0]/60,$=q[1]/100;let W=q[2]/100;const Z=Math.floor(J)%6,Y=J-Math.floor(J),K=255*W*(1-$),B=255*W*(1-$*Y),H=255*W*(1-$*(1-Y));switch(W*=255,Z){case 0:return[W,H,K];case 1:return[B,W,K];case 2:return[K,W,H];case 3:return[K,B,W];case 4:return[H,K,W];case 5:return[W,K,B]}};X.hsv.hsl=function(q){const J=q[0],$=q[1]/100,W=q[2]/100,Z=Math.max(W,0.01);let Y,K;K=(2-$)*W;const B=(2-$)*Z;return Y=$*Z,Y/=B<=1?B:2-B,Y=Y||0,K/=2,[J,Y*100,K*100]};X.hwb.rgb=function(q){const J=q[0]/360;let $=q[1]/100,W=q[2]/100;const Z=$+W;let Y;if(Z>1)$/=Z,W/=Z;const K=Math.floor(6*J),B=1-W;if(Y=6*J-K,(K&1)!==0)Y=1-Y;const H=$+Y*(B-$);let I,P,z;switch(K){default:case 6:case 0:I=B,P=H,z=$;break;case 1:I=H,P=B,z=$;break;case 2:I=$,P=B,z=H;break;case 3:I=$,P=H,z=B;break;case 4:I=H,P=$,z=B;break;case 5:I=B,P=$,z=H;break}return[I*255,P*255,z*255]};X.cmyk.rgb=function(q){const J=q[0]/100,$=q[1]/100,W=q[2]/100,Z=q[3]/100,Y=1-Math.min(1,J*(1-Z)+Z),K=1-Math.min(1,$*(1-Z)+Z),B=1-Math.min(1,W*(1-Z)+Z);return[Y*255,K*255,B*255]};X.xyz.rgb=function(q){const J=q[0]/100,$=q[1]/100,W=q[2]/100;let Z,Y,K;return Z=J*3.2406+$*-1.5372+W*-0.4986,Y=J*-0.9689+$*1.8758+W*0.0415,K=J*0.0557+$*-0.204+W*1.057,Z=Z>0.0031308?1.055*Z**0.4166666666666667-0.055:Z*12.92,Y=Y>0.0031308?1.055*Y**0.4166666666666667-0.055:Y*12.92,K=K>0.0031308?1.055*K**0.4166666666666667-0.055:K*12.92,Z=Math.min(Math.max(0,Z),1),Y=Math.min(Math.max(0,Y),1),K=Math.min(Math.max(0,K),1),[Z*255,Y*255,K*255]};X.xyz.lab=function(q){let J=q[0],$=q[1],W=q[2];J/=95.047,$/=100,W/=108.883,J=J>0.008856?J**0.3333333333333333:7.787*J+0.13793103448275862,$=$>0.008856?$**0.3333333333333333:7.787*$+0.13793103448275862,W=W>0.008856?W**0.3333333333333333:7.787*W+0.13793103448275862;const Z=116*$-16,Y=500*(J-$),K=200*($-W);return[Z,Y,K]};X.lab.xyz=function(q){const J=q[0],$=q[1],W=q[2];let Z,Y,K;Y=(J+16)/116,Z=$/500+Y,K=Y-W/200;const B=Y**3,H=Z**3,I=K**3;return Y=B>0.008856?B:(Y-0.13793103448275862)/7.787,Z=H>0.008856?H:(Z-0.13793103448275862)/7.787,K=I>0.008856?I:(K-0.13793103448275862)/7.787,Z*=95.047,Y*=100,K*=108.883,[Z,Y,K]};X.lab.lch=function(q){const J=q[0],$=q[1],W=q[2];let Z;if(Z=Math.atan2(W,$)*360/2/Math.PI,Z<0)Z+=360;const K=Math.sqrt($*$+W*W);return[J,K,Z]};X.lch.lab=function(q){const J=q[0],$=q[1],Z=q[2]/360*2*Math.PI,Y=$*Math.cos(Z),K=$*Math.sin(Z);return[J,Y,K]};X.rgb.ansi16=function(q,J=null){const[$,W,Z]=q;let Y=J===null?X.rgb.hsv(q)[2]:J;if(Y=Math.round(Y/50),Y===0)return 30;let K=30+(Math.round(Z/255)<<2|Math.round(W/255)<<1|Math.round($/255));if(Y===2)K+=60;return K};X.hsv.ansi16=function(q){return X.rgb.ansi16(X.hsv.rgb(q),q[2])};X.rgb.ansi256=function(q){const J=q[0],$=q[1],W=q[2];if(J===$&&$===W){if(J<8)return 16;if(J>248)return 231;return Math.round((J-8)/247*24)+232}return 16+36*Math.round(J/255*5)+6*Math.round($/255*5)+Math.round(W/255*5)};X.ansi16.rgb=function(q){let J=q%10;if(J===0||J===7){if(q>50)J+=3.5;return J=J/10.5*255,[J,J,J]}const $=(~~(q>50)+1)*0.5,W=(J&1)*$*255,Z=(J>>1&1)*$*255,Y=(J>>2&1)*$*255;return[W,Z,Y]};X.ansi256.rgb=function(q){if(q>=232){const Y=(q-232)*10+8;return[Y,Y,Y]}q-=16;let J;const $=Math.floor(q/36)/5*255,W=Math.floor((J=q%36)/6)/5*255,Z=J%6/5*255;return[$,W,Z]};X.rgb.hex=function(q){const $=(((Math.round(q[0])&255)<<16)+((Math.round(q[1])&255)<<8)+(Math.round(q[2])&255)).toString(16).toUpperCase();return"000000".substring($.length)+$};X.hex.rgb=function(q){const J=q.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!J)return[0,0,0];let $=J[0];if(J[0].length===3)$=$.split("").map((B)=>{return B+B}).join("");const W=parseInt($,16),Z=W>>16&255,Y=W>>8&255,K=W&255;return[Z,Y,K]};X.rgb.hcg=function(q){const J=q[0]/255,$=q[1]/255,W=q[2]/255,Z=Math.max(Math.max(J,$),W),Y=Math.min(Math.min(J,$),W),K=Z-Y;let B,H;if(K<1)B=Y/(1-K);else B=0;if(K<=0)H=0;else if(Z===J)H=($-W)/K%6;else if(Z===$)H=2+(W-J)/K;else H=4+(J-$)/K;return H/=6,H%=1,[H*360,K*100,B*100]};X.hsl.hcg=function(q){const J=q[1]/100,$=q[2]/100,W=$<0.5?2*J*$:2*J*(1-$);let Z=0;if(W<1)Z=($-0.5*W)/(1-W);return[q[0],W*100,Z*100]};X.hsv.hcg=function(q){const J=q[1]/100,$=q[2]/100,W=J*$;let Z=0;if(W<1)Z=($-W)/(1-W);return[q[0],W*100,Z*100]};X.hcg.rgb=function(q){const J=q[0]/360,$=q[1]/100,W=q[2]/100;if($===0)return[W*255,W*255,W*255];const Z=[0,0,0],Y=J%1*6,K=Y%1,B=1-K;let H=0;switch(Math.floor(Y)){case 0:Z[0]=1,Z[1]=K,Z[2]=0;break;case 1:Z[0]=B,Z[1]=1,Z[2]=0;break;case 2:Z[0]=0,Z[1]=1,Z[2]=K;break;case 3:Z[0]=0,Z[1]=B,Z[2]=1;break;case 4:Z[0]=K,Z[1]=0,Z[2]=1;break;default:Z[0]=1,Z[1]=0,Z[2]=B}return H=(1-$)*W,[($*Z[0]+H)*255,($*Z[1]+H)*255,($*Z[2]+H)*255]};X.hcg.hsv=function(q){const J=q[1]/100,$=q[2]/100,W=J+$*(1-J);let Z=0;if(W>0)Z=J/W;return[q[0],Z*100,W*100]};X.hcg.hsl=function(q){const J=q[1]/100,W=q[2]/100*(1-J)+0.5*J;let Z=0;if(W>0&&W<0.5)Z=J/(2*W);else if(W>=0.5&&W<1)Z=J/(2*(1-W));return[q[0],Z*100,W*100]};X.hcg.hwb=function(q){const J=q[1]/100,$=q[2]/100,W=J+$*(1-J);return[q[0],(W-J)*100,(1-W)*100]};X.hwb.hcg=function(q){const J=q[1]/100,W=1-q[2]/100,Z=W-J;let Y=0;if(Z<1)Y=(W-Z)/(1-Z);return[q[0],Z*100,Y*100]};X.apple.rgb=function(q){return[q[0]/65535*255,q[1]/65535*255,q[2]/65535*255]};X.rgb.apple=function(q){return[q[0]/255*65535,q[1]/255*65535,q[2]/255*65535]};X.gray.rgb=function(q){return[q[0]/100*255,q[0]/100*255,q[0]/100*255]};X.gray.hsl=function(q){return[0,0,q[0]]};X.gray.hsv=X.gray.hsl;X.gray.hwb=function(q){return[0,100,q[0]]};X.gray.cmyk=function(q){return[0,0,0,q[0]]};X.gray.lab=function(q){return[q[0],0,0]};X.gray.hex=function(q){const J=Math.round(q[0]/100*255)&255,W=((J<<16)+(J<<8)+J).toString(16).toUpperCase();return"000000".substring(W.length)+W};X.rgb.gray=function(q){return[(q[0]+q[1]+q[2])/3/255*100]}});var V0=L((N9,X0)=>{var p4=function(){const q={},J=Object.keys(L2);for(let $=J.length,W=0;W<$;W++)q[J[W]]={distance:-1,parent:null};return q},n4=function(q){const J=p4(),$=[q];J[q].distance=0;while($.length){const W=$.pop(),Z=Object.keys(L2[W]);for(let Y=Z.length,K=0;K<Y;K++){const B=Z[K],H=J[B];if(H.distance===-1)H.distance=J[W].distance+1,H.parent=W,$.unshift(B)}}return J},s4=function(q,J){return function($){return J(q($))}},t4=function(q,J){const $=[J[q].parent,q];let W=L2[J[q].parent][q],Z=J[q].parent;while(J[Z].parent)$.unshift(J[Z].parent),W=s4(L2[J[Z].parent][Z],W),Z=J[Z].parent;return W.conversion=$,W},L2=b2();X0.exports=function(q){const J=n4(q),$={},W=Object.keys(J);for(let Z=W.length,Y=0;Y<Z;Y++){const K=W[Y];if(J[K].parent===null)continue;$[K]=t4(K,J)}return $}});var P0=L((X9,A0)=>{var q3=function(q){const J=function(...$){const W=$[0];if(W===void 0||W===null)return W;if(W.length>1)$=W;return q($)};if("conversion"in q)J.conversion=q.conversion;return J},J3=function(q){const J=function(...$){const W=$[0];if(W===void 0||W===null)return W;if(W.length>1)$=W;const Z=q($);if(typeof Z==="object")for(let Y=Z.length,K=0;K<Y;K++)Z[K]=Math.round(Z[K]);return Z};if("conversion"in q)J.conversion=q.conversion;return J},h2=b2(),i4=V0(),p={},o4=Object.keys(h2);o4.forEach((q)=>{p[q]={},Object.defineProperty(p[q],"channels",{value:h2[q].channels}),Object.defineProperty(p[q],"labels",{value:h2[q].labels});const J=i4(q);Object.keys(J).forEach((W)=>{const Z=J[W];p[q][W]=J3(Z),p[q][W].raw=q3(Z)})});A0.exports=p});var R2=L((V9,_0)=>{var E=function(q,J){if(!(this instanceof E))return new E(q,J);if(J&&J in L0)J=null;if(J&&!(J in k))throw new Error("Unknown model: "+J);let $,W;if(q==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(q instanceof E)this.model=q.model,this.color=[...q.color],this.valpha=q.valpha;else if(typeof q==="string"){const Z=n.get(q);if(Z===null)throw new Error("Unable to parse color from string: "+q);this.model=Z.model,W=k[this.model].channels,this.color=Z.value.slice(0,W),this.valpha=typeof Z.value[W]==="number"?Z.value[W]:1}else if(q.length>0){this.model=J||"rgb",W=k[this.model].channels;const Z=Array.prototype.slice.call(q,0,W);this.color=m2(Z,W),this.valpha=typeof q[W]==="number"?q[W]:1}else if(typeof q==="number")this.model="rgb",this.color=[q>>16&255,q>>8&255,q&255],this.valpha=1;else{this.valpha=1;const Z=Object.keys(q);if("alpha"in q)Z.splice(Z.indexOf("alpha"),1),this.valpha=typeof q.alpha==="number"?q.alpha:0;const Y=Z.sort().join("");if(!(Y in g2))throw new Error("Unable to parse color from object: "+JSON.stringify(q));this.model=g2[Y];const{labels:K}=k[this.model],B=[];for($=0;$<K.length;$++)B.push(q[K[$]]);this.color=m2(B)}if(_2[this.model]){W=k[this.model].channels;for($=0;$<W;$++){const Z=_2[this.model][$];if(Z)this.color[$]=Z(this.color[$])}}if(this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze)Object.freeze(this)},$3=function(q,J){return Number(q.toFixed(J))},W3=function(q){return function(J){return $3(J,q)}},j=function(q,J,$){q=Array.isArray(q)?q:[q];for(let W of q)(_2[W]||(_2[W]=[]))[J]=$;return q=q[0],function(W){let Z;if(W!==void 0){if($)W=$(W);return Z=this[q](),Z.color[J]=W,Z}if(Z=this[q]().color[J],$)Z=$(Z);return Z}},D=function(q){return function(J){return Math.max(0,Math.min(q,J))}},Z3=function(q){return Array.isArray(q)?q:[q]},m2=function(q,J){for(let $=0;$<J;$++)if(typeof q[$]!=="number")q[$]=0;return q},n=I0(),k=P0(),L0=["keyword","gray","hex"],g2={};for(let q of Object.keys(k))g2[[...k[q].labels].sort().join("")]=q;var _2={};E.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(q){let J=this.model in n.to?this:this.rgb();J=J.round(typeof q==="number"?q:1);const $=J.valpha===1?J.color:[...J.color,this.valpha];return n.to[J.model]($)},percentString(q){const J=this.rgb().round(typeof q==="number"?q:1),$=J.valpha===1?J.color:[...J.color,this.valpha];return n.to.rgb.percent($)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const q={},{channels:J}=k[this.model],{labels:$}=k[this.model];for(let W=0;W<J;W++)q[$[W]]=this.color[W];if(this.valpha!==1)q.alpha=this.valpha;return q},unitArray(){const q=this.rgb().color;if(q[0]/=255,q[1]/=255,q[2]/=255,this.valpha!==1)q.push(this.valpha);return q},unitObject(){const q=this.rgb().object();if(q.r/=255,q.g/=255,q.b/=255,this.valpha!==1)q.alpha=this.valpha;return q},round(q){return q=Math.max(q||0,0),new E([...this.color.map(W3(q)),this.valpha],this.model)},alpha(q){if(q!==void 0)return new E([...this.color,Math.max(0,Math.min(1,q))],this.model);return this.valpha},red:j("rgb",0,D(255)),green:j("rgb",1,D(255)),blue:j("rgb",2,D(255)),hue:j(["hsl","hsv","hsl","hwb","hcg"],0,(q)=>(q%360+360)%360),saturationl:j("hsl",1,D(100)),lightness:j("hsl",2,D(100)),saturationv:j("hsv",1,D(100)),value:j("hsv",2,D(100)),chroma:j("hcg",1,D(100)),gray:j("hcg",2,D(100)),white:j("hwb",1,D(100)),wblack:j("hwb",2,D(100)),cyan:j("cmyk",0,D(100)),magenta:j("cmyk",1,D(100)),yellow:j("cmyk",2,D(100)),black:j("cmyk",3,D(100)),x:j("xyz",0,D(95.047)),y:j("xyz",1,D(100)),z:j("xyz",2,D(108.833)),l:j("lab",0,D(100)),a:j("lab",1),b:j("lab",2),keyword(q){if(q!==void 0)return new E(q);return k[this.model].keyword(this.color)},hex(q){if(q!==void 0)return new E(q);return n.to.hex(this.rgb().round().color)},hexa(q){if(q!==void 0)return new E(q);const J=this.rgb().round().color;let $=Math.round(this.valpha*255).toString(16).toUpperCase();if($.length===1)$="0"+$;return n.to.hex(J)+$},rgbNumber(){const q=this.rgb().color;return(q[0]&255)<<16|(q[1]&255)<<8|q[2]&255},luminosity(){const q=this.rgb().color,J=[];for(let[$,W]of q.entries()){const Z=W/255;J[$]=Z<=0.04045?Z/12.92:((Z+0.055)/1.055)**2.4}return 0.2126*J[0]+0.7152*J[1]+0.0722*J[2]},contrast(q){const J=this.luminosity(),$=q.luminosity();if(J>$)return(J+0.05)/($+0.05);return($+0.05)/(J+0.05)},level(q){const J=this.contrast(q);if(J>=7)return"AAA";return J>=4.5?"AA":""},isDark(){const q=this.rgb().color;return(q[0]*2126+q[1]*7152+q[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const q=this.rgb();for(let J=0;J<3;J++)q.color[J]=255-q.color[J];return q},lighten(q){const J=this.hsl();return J.color[2]+=J.color[2]*q,J},darken(q){const J=this.hsl();return J.color[2]-=J.color[2]*q,J},saturate(q){const J=this.hsl();return J.color[1]+=J.color[1]*q,J},desaturate(q){const J=this.hsl();return J.color[1]-=J.color[1]*q,J},whiten(q){const J=this.hwb();return J.color[1]+=J.color[1]*q,J},blacken(q){const J=this.hwb();return J.color[2]+=J.color[2]*q,J},grayscale(){const q=this.rgb().color,J=q[0]*0.3+q[1]*0.59+q[2]*0.11;return E.rgb(J,J,J)},fade(q){return this.alpha(this.valpha-this.valpha*q)},opaquer(q){return this.alpha(this.valpha+this.valpha*q)},rotate(q){const J=this.hsl();let $=J.color[0];return $=($+q)%360,$=$<0?360+$:$,J.color[0]=$,J},mix(q,J){if(!q||!q.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof q);const $=q.rgb(),W=this.rgb(),Z=J===void 0?0.5:J,Y=2*Z-1,K=$.alpha()-W.alpha(),B=((Y*K===-1?Y:(Y+K)/(1+Y*K))+1)/2,H=1-B;return E.rgb(B*$.red()+H*W.red(),B*$.green()+H*W.green(),B*$.blue()+H*W.blue(),$.alpha()*Z+W.alpha()*(1-Z))}};for(let q of Object.keys(k)){if(L0.includes(q))continue;const{channels:J}=k[q];E.prototype[q]=function(...$){if(this.model===q)return new E(this);if($.length>0)return new E($,q);return new E([...Z3(k[this.model][q].raw(this.color)),this.valpha],q)},E[q]=function(...$){let W=$[0];if(typeof W==="number")W=m2($,J);return new E(W,q)}}_0.exports=E});var z0=L((A9,j0)=>{var R0=function(q){const{raw:J,density:$,limitInputPixels:W,ignoreIcc:Z,unlimited:Y,sequentialRead:K,failOn:B,failOnError:H,animated:I,page:P,pages:z,subifd:f}=q;return[J,$,W,Z,Y,K,B,H,I,P,z,f].some(G.defined)?{raw:J,density:$,limitInputPixels:W,ignoreIcc:Z,unlimited:Y,sequentialRead:K,failOn:B,failOnError:H,animated:I,page:P,pages:z,subifd:f}:void 0},K3=function(q,J,$){const W={failOn:"warning",limitInputPixels:Math.pow(16383,2),ignoreIcc:!1,unlimited:!1,sequentialRead:!0};if(G.string(q))W.file=q;else if(G.buffer(q)){if(q.length===0)throw Error("Input Buffer is empty");W.buffer=q}else if(G.arrayBuffer(q)){if(q.byteLength===0)throw Error("Input bit Array is empty");W.buffer=Buffer.from(q,0,q.byteLength)}else if(G.typedArray(q)){if(q.length===0)throw Error("Input Bit Array is empty");W.buffer=Buffer.from(q.buffer,q.byteOffset,q.byteLength)}else if(G.plainObject(q)&&!G.defined(J)){if(J=q,R0(J))W.buffer=[]}else if(!G.defined(q)&&!G.defined(J)&&G.object($)&&$.allowStream)W.buffer=[];else throw new Error(`Unsupported input '${q}' of type ${typeof q}${G.defined(J)?` when also providing options of type ${typeof J}`:""}`);if(G.object(J)){if(G.defined(J.failOnError))if(G.bool(J.failOnError))W.failOn=J.failOnError?"warning":"none";else throw G.invalidParameterError("failOnError","boolean",J.failOnError);if(G.defined(J.failOn))if(G.string(J.failOn)&&G.inArray(J.failOn,["none","truncated","error","warning"]))W.failOn=J.failOn;else throw G.invalidParameterError("failOn","one of: none, truncated, error, warning",J.failOn);if(G.defined(J.density))if(G.inRange(J.density,1,1e5))W.density=J.density;else throw G.invalidParameterError("density","number between 1 and 100000",J.density);if(G.defined(J.ignoreIcc))if(G.bool(J.ignoreIcc))W.ignoreIcc=J.ignoreIcc;else throw G.invalidParameterError("ignoreIcc","boolean",J.ignoreIcc);if(G.defined(J.limitInputPixels))if(G.bool(J.limitInputPixels))W.limitInputPixels=J.limitInputPixels?Math.pow(16383,2):0;else if(G.integer(J.limitInputPixels)&&G.inRange(J.limitInputPixels,0,Number.MAX_SAFE_INTEGER))W.limitInputPixels=J.limitInputPixels;else throw G.invalidParameterError("limitInputPixels","positive integer",J.limitInputPixels);if(G.defined(J.unlimited))if(G.bool(J.unlimited))W.unlimited=J.unlimited;else throw G.invalidParameterError("unlimited","boolean",J.unlimited);if(G.defined(J.sequentialRead))if(G.bool(J.sequentialRead))W.sequentialRead=J.sequentialRead;else throw G.invalidParameterError("sequentialRead","boolean",J.sequentialRead);if(G.defined(J.raw))if(G.object(J.raw)&&G.integer(J.raw.width)&&J.raw.width>0&&G.integer(J.raw.height)&&J.raw.height>0&&G.integer(J.raw.channels)&&G.inRange(J.raw.channels,1,4))switch(W.rawWidth=J.raw.width,W.rawHeight=J.raw.height,W.rawChannels=J.raw.channels,W.rawPremultiplied=!!J.raw.premultiplied,q.constructor){case Uint8Array:case Uint8ClampedArray:W.rawDepth="uchar";break;case Int8Array:W.rawDepth="char";break;case Uint16Array:W.rawDepth="ushort";break;case Int16Array:W.rawDepth="short";break;case Uint32Array:W.rawDepth="uint";break;case Int32Array:W.rawDepth="int";break;case Float32Array:W.rawDepth="float";break;case Float64Array:W.rawDepth="double";break;default:W.rawDepth="uchar";break}else throw new Error("Expected width, height and channels for raw pixel input");if(G.defined(J.animated))if(G.bool(J.animated))W.pages=J.animated?-1:1;else throw G.invalidParameterError("animated","boolean",J.animated);if(G.defined(J.pages))if(G.integer(J.pages)&&G.inRange(J.pages,-1,1e5))W.pages=J.pages;else throw G.invalidParameterError("pages","integer between -1 and 100000",J.pages);if(G.defined(J.page))if(G.integer(J.page)&&G.inRange(J.page,0,1e5))W.page=J.page;else throw G.invalidParameterError("page","integer between 0 and 100000",J.page);if(G.defined(J.level))if(G.integer(J.level)&&G.inRange(J.level,0,256))W.level=J.level;else throw G.invalidParameterError("level","integer between 0 and 256",J.level);if(G.defined(J.subifd))if(G.integer(J.subifd)&&G.inRange(J.subifd,-1,1e5))W.subifd=J.subifd;else throw G.invalidParameterError("subifd","integer between -1 and 100000",J.subifd);if(G.defined(J.create))if(G.object(J.create)&&G.integer(J.create.width)&&J.create.width>0&&G.integer(J.create.height)&&J.create.height>0&&G.integer(J.create.channels)){if(W.createWidth=J.create.width,W.createHeight=J.create.height,W.createChannels=J.create.channels,G.defined(J.create.noise)){if(!G.object(J.create.noise))throw new Error("Expected noise to be an object");if(!G.inArray(J.create.noise.type,["gaussian"]))throw new Error("Only gaussian noise is supported at the moment");if(!G.inRange(J.create.channels,1,4))throw G.invalidParameterError("create.channels","number between 1 and 4",J.create.channels);if(W.createNoiseType=J.create.noise.type,G.number(J.create.noise.mean)&&G.inRange(J.create.noise.mean,0,1e4))W.createNoiseMean=J.create.noise.mean;else throw G.invalidParameterError("create.noise.mean","number between 0 and 10000",J.create.noise.mean);if(G.number(J.create.noise.sigma)&&G.inRange(J.create.noise.sigma,0,1e4))W.createNoiseSigma=J.create.noise.sigma;else throw G.invalidParameterError("create.noise.sigma","number between 0 and 10000",J.create.noise.sigma)}else if(G.defined(J.create.background)){if(!G.inRange(J.create.channels,3,4))throw G.invalidParameterError("create.channels","number between 3 and 4",J.create.channels);const Z=Q3(J.create.background);W.createBackground=[Z.red(),Z.green(),Z.blue(),Math.round(Z.alpha()*255)]}else throw new Error("Expected valid noise or background to create a new input image");delete W.buffer}else throw new Error("Expected valid width, height and channels to create a new input image");if(G.defined(J.text))if(G.object(J.text)&&G.string(J.text.text)){if(W.textValue=J.text.text,G.defined(J.text.height)&&G.defined(J.text.dpi))throw new Error("Expected only one of dpi or height");if(G.defined(J.text.font))if(G.string(J.text.font))W.textFont=J.text.font;else throw G.invalidParameterError("text.font","string",J.text.font);if(G.defined(J.text.fontfile))if(G.string(J.text.fontfile))W.textFontfile=J.text.fontfile;else throw G.invalidParameterError("text.fontfile","string",J.text.fontfile);if(G.defined(J.text.width))if(G.integer(J.text.width)&&J.text.width>0)W.textWidth=J.text.width;else throw G.invalidParameterError("text.width","positive integer",J.text.width);if(G.defined(J.text.height))if(G.integer(J.text.height)&&J.text.height>0)W.textHeight=J.text.height;else throw G.invalidParameterError("text.height","positive integer",J.text.height);if(G.defined(J.text.align))if(G.string(J.text.align)&&G.string(this.constructor.align[J.text.align]))W.textAlign=this.constructor.align[J.text.align];else throw G.invalidParameterError("text.align","valid alignment",J.text.align);if(G.defined(J.text.justify))if(G.bool(J.text.justify))W.textJustify=J.text.justify;else throw G.invalidParameterError("text.justify","boolean",J.text.justify);if(G.defined(J.text.dpi))if(G.integer(J.text.dpi)&&G.inRange(J.text.dpi,1,1e6))W.textDpi=J.text.dpi;else throw G.invalidParameterError("text.dpi","integer between 1 and 1000000",J.text.dpi);if(G.defined(J.text.rgba))if(G.bool(J.text.rgba))W.textRgba=J.text.rgba;else throw G.invalidParameterError("text.rgba","bool",J.text.rgba);if(G.defined(J.text.spacing))if(G.integer(J.text.spacing)&&G.inRange(J.text.spacing,-1e6,1e6))W.textSpacing=J.text.spacing;else throw G.invalidParameterError("text.spacing","integer between -1000000 and 1000000",J.text.spacing);if(G.defined(J.text.wrap))if(G.string(J.text.wrap)&&G.inArray(J.text.wrap,["word","char","word-char","none"]))W.textWrap=J.text.wrap;else throw G.invalidParameterError("text.wrap","one of: word, char, word-char, none",J.text.wrap);delete W.buffer}else throw new Error("Expected a valid string to create an image with text.")}else if(G.defined(J))throw new Error("Invalid input options "+J);return W},U3=function(q,J,$){if(Array.isArray(this.options.input.buffer))if(G.buffer(q)){if(this.options.input.buffer.length===0)this.on("finish",()=>{this.streamInFinished=!0});this.options.input.buffer.push(q),$()}else $(new Error("Non-Buffer data on Writable Stream"));else $(new Error("Unexpected data on Writable Stream"))},B3=function(){if(this._isStreamInput())this.options.input.buffer=Buffer.concat(this.options.input.buffer)},G3=function(){return Array.isArray(this.options.input.buffer)},H3=function(q){const J=Error();if(G.fn(q)){if(this._isStreamInput())this.on("finish",()=>{this._flattenBufferIn(),m.metadata(this.options,($,W)=>{if($)q(G.nativeError($,J));else q(null,W)})});else m.metadata(this.options,($,W)=>{if($)q(G.nativeError($,J));else q(null,W)});return this}else if(this._isStreamInput())return new Promise(($,W)=>{const Z=()=>{this._flattenBufferIn(),m.metadata(this.options,(Y,K)=>{if(Y)W(G.nativeError(Y,J));else $(K)})};if(this.writableFinished)Z();else this.once("finish",Z)});else return new Promise(($,W)=>{m.metadata(this.options,(Z,Y)=>{if(Z)W(G.nativeError(Z,J));else $(Y)})})},I3=function(q){const J=Error();if(G.fn(q)){if(this._isStreamInput())this.on("finish",()=>{this._flattenBufferIn(),m.stats(this.options,($,W)=>{if($)q(G.nativeError($,J));else q(null,W)})});else m.stats(this.options,($,W)=>{if($)q(G.nativeError($,J));else q(null,W)});return this}else if(this._isStreamInput())return new Promise(($,W)=>{this.on("finish",function(){this._flattenBufferIn(),m.stats(this.options,(Z,Y)=>{if(Z)W(G.nativeError(Z,J));else $(Y)})})});else return new Promise(($,W)=>{m.stats(this.options,(Z,Y)=>{if(Z)W(G.nativeError(Z,J));else $(Y)})})},Q3=R2(),G=d(),m=J2(),Y3={left:"low",center:"centre",centre:"centre",right:"high"};j0.exports=function(q){Object.assign(q.prototype,{_inputOptionsFromObject:R0,_createInputDescriptor:K3,_write:U3,_flattenBufferIn:B3,_isStreamInput:G3,metadata:H3,stats:I3}),q.align=Y3}});var C0=L((P9,w0)=>{var l2=function(q){return q.angle%360!==0||q.useExifOrientation===!0||q.rotationAngle!==0},j2=function(q){return q.width!==-1||q.height!==-1},X3=function(q,J,$){if(j2(this.options))this.options.debuglog("ignoring previous resize options");if(this.options.widthPost!==-1)this.options.debuglog("operation order will be: extract, resize, extract");if(V.defined(q))if(V.object(q)&&!V.defined($))$=q;else if(V.integer(q)&&q>0)this.options.width=q;else throw V.invalidParameterError("width","positive integer",q);else this.options.width=-1;if(V.defined(J))if(V.integer(J)&&J>0)this.options.height=J;else throw V.invalidParameterError("height","positive integer",J);else this.options.height=-1;if(V.object($)){if(V.defined($.width))if(V.integer($.width)&&$.width>0)this.options.width=$.width;else throw V.invalidParameterError("width","positive integer",$.width);if(V.defined($.height))if(V.integer($.height)&&$.height>0)this.options.height=$.height;else throw V.invalidParameterError("height","positive integer",$.height);if(V.defined($.fit)){const W=N3[$.fit];if(V.string(W))this.options.canvas=W;else throw V.invalidParameterError("fit","valid fit",$.fit)}if(V.defined($.position)){const W=V.integer($.position)?$.position:y0[$.position]||T0[$.position]||E0[$.position];if(V.integer(W)&&(V.inRange(W,0,8)||V.inRange(W,16,17)))this.options.position=W;else throw V.invalidParameterError("position","valid position/gravity/strategy",$.position)}if(this._setBackgroundColourOption("resizeBackground",$.background),V.defined($.kernel))if(V.string(u2[$.kernel]))this.options.kernel=u2[$.kernel];else throw V.invalidParameterError("kernel","valid kernel name",$.kernel);if(V.defined($.withoutEnlargement))this._setBooleanOption("withoutEnlargement",$.withoutEnlargement);if(V.defined($.withoutReduction))this._setBooleanOption("withoutReduction",$.withoutReduction);if(V.defined($.fastShrinkOnLoad))this._setBooleanOption("fastShrinkOnLoad",$.fastShrinkOnLoad)}if(l2(this.options)&&j2(this.options))this.options.rotateBeforePreExtract=!0;return this},V3=function(q){if(V.integer(q)&&q>0)this.options.extendTop=q,this.options.extendBottom=q,this.options.extendLeft=q,this.options.extendRight=q;else if(V.object(q)){if(V.defined(q.top))if(V.integer(q.top)&&q.top>=0)this.options.extendTop=q.top;else throw V.invalidParameterError("top","positive integer",q.top);if(V.defined(q.bottom))if(V.integer(q.bottom)&&q.bottom>=0)this.options.extendBottom=q.bottom;else throw V.invalidParameterError("bottom","positive integer",q.bottom);if(V.defined(q.left))if(V.integer(q.left)&&q.left>=0)this.options.extendLeft=q.left;else throw V.invalidParameterError("left","positive integer",q.left);if(V.defined(q.right))if(V.integer(q.right)&&q.right>=0)this.options.extendRight=q.right;else throw V.invalidParameterError("right","positive integer",q.right);if(this._setBackgroundColourOption("extendBackground",q.background),V.defined(q.extendWith))if(V.string(D0[q.extendWith]))this.options.extendWith=D0[q.extendWith];else throw V.invalidParameterError("extendWith","one of: background, copy, repeat, mirror",q.extendWith)}else throw V.invalidParameterError("extend","integer or object",q);return this},A3=function(q){const J=j2(this.options)||this.options.widthPre!==-1?"Post":"Pre";if(this.options[`width${J}`]!==-1)this.options.debuglog("ignoring previous extract options");if(["left","top","width","height"].forEach(function($){const W=q[$];if(V.integer(W)&&W>=0)this.options[$+($==="left"||$==="top"?"Offset":"")+J]=W;else throw V.invalidParameterError($,"integer",W)},this),l2(this.options)&&!j2(this.options)){if(this.options.widthPre===-1||this.options.widthPost===-1)this.options.rotateBeforePreExtract=!0}return this},P3=function(q){if(this.options.trimThreshold=10,V.defined(q))if(V.object(q)){if(V.defined(q.background))this._setBackgroundColourOption("trimBackground",q.background);if(V.defined(q.threshold))if(V.number(q.threshold)&&q.threshold>=0)this.options.trimThreshold=q.threshold;else throw V.invalidParameterError("threshold","positive number",q.threshold);if(V.defined(q.lineArt))this._setBooleanOption("trimLineArt",q.lineArt)}else throw V.invalidParameterError("trim","object",q);if(l2(this.options))this.options.rotateBeforePreExtract=!0;return this},V=d(),E0={center:0,centre:0,north:1,east:2,south:3,west:4,northeast:5,southeast:6,southwest:7,northwest:8},T0={top:1,right:2,bottom:3,left:4,"right top":5,"right bottom":6,"left bottom":7,"left top":8},D0={background:"background",copy:"copy",repeat:"repeat",mirror:"mirror"},y0={entropy:16,attention:17},u2={nearest:"nearest",linear:"linear",cubic:"cubic",mitchell:"mitchell",lanczos2:"lanczos2",lanczos3:"lanczos3"},F3={contain:"contain",cover:"cover",fill:"fill",inside:"inside",outside:"outside"},N3={contain:"embed",cover:"crop",fill:"ignore_aspect",inside:"max",outside:"min"};w0.exports=function(q){Object.assign(q.prototype,{resize:X3,extend:V3,extract:A3,trim:P3}),q.gravity=E0,q.strategy=y0,q.kernel=u2,q.fit=F3,q.position=T0}});var k0=L((L9,S0)=>{var L3=function(q){if(!Array.isArray(q))throw _.invalidParameterError("images to composite","array",q);return this.options.composite=q.map((J)=>{if(!_.object(J))throw _.invalidParameterError("image to composite","object",J);const $=this._inputOptionsFromObject(J),W={input:this._createInputDescriptor(J.input,$,{allowStream:!1}),blend:"over",tile:!1,left:0,top:0,hasOffset:!1,gravity:0,premultiplied:!1};if(_.defined(J.blend))if(_.string(c2[J.blend]))W.blend=c2[J.blend];else throw _.invalidParameterError("blend","valid blend name",J.blend);if(_.defined(J.tile))if(_.bool(J.tile))W.tile=J.tile;else throw _.invalidParameterError("tile","boolean",J.tile);if(_.defined(J.left))if(_.integer(J.left))W.left=J.left;else throw _.invalidParameterError("left","integer",J.left);if(_.defined(J.top))if(_.integer(J.top))W.top=J.top;else throw _.invalidParameterError("top","integer",J.top);if(_.defined(J.top)!==_.defined(J.left))throw new Error("Expected both left and top to be set");else W.hasOffset=_.integer(J.top)&&_.integer(J.left);if(_.defined(J.gravity))if(_.integer(J.gravity)&&_.inRange(J.gravity,0,8))W.gravity=J.gravity;else if(_.string(J.gravity)&&_.integer(this.constructor.gravity[J.gravity]))W.gravity=this.constructor.gravity[J.gravity];else throw _.invalidParameterError("gravity","valid gravity",J.gravity);if(_.defined(J.premultiplied))if(_.bool(J.premultiplied))W.premultiplied=J.premultiplied;else throw _.invalidParameterError("premultiplied","boolean",J.premultiplied);return W}),this},_=d(),c2={clear:"clear",source:"source",over:"over",in:"in",out:"out",atop:"atop",dest:"dest","dest-over":"dest-over","dest-in":"dest-in","dest-out":"dest-out","dest-atop":"dest-atop",xor:"xor",add:"add",saturate:"saturate",multiply:"multiply",screen:"screen",overlay:"overlay",darken:"darken",lighten:"lighten","colour-dodge":"colour-dodge","color-dodge":"colour-dodge","colour-burn":"colour-burn","color-burn":"colour-burn","hard-light":"hard-light","soft-light":"soft-light",difference:"difference",exclusion:"exclusion"};S0.exports=function(q){q.prototype.composite=L3,q.blend=c2}});var x0=L((_9,M0)=>{var R3=function(q,J){if(this.options.useExifOrientation||this.options.angle||this.options.rotationAngle)this.options.debuglog("ignoring previous rotate options");if(!U.defined(q))this.options.useExifOrientation=!0;else if(U.integer(q)&&!(q%90))this.options.angle=q;else if(U.number(q)){if(this.options.rotationAngle=q,U.object(J)&&J.background){const $=_3(J.background);this.options.rotationBackground=[$.red(),$.green(),$.blue(),Math.round($.alpha()*255)]}}else throw U.invalidParameterError("angle","numeric",q);return this},j3=function(q){return this.options.flip=U.bool(q)?q:!0,this},z3=function(q){return this.options.flop=U.bool(q)?q:!0,this},D3=function(q,J){const $=[].concat(...q);if($.length===4&&$.every(U.number))this.options.affineMatrix=$;else throw U.invalidParameterError("matrix","1x4 or 2x2 array",q);if(U.defined(J))if(U.object(J)){if(this._setBackgroundColourOption("affineBackground",J.background),U.defined(J.idx))if(U.number(J.idx))this.options.affineIdx=J.idx;else throw U.invalidParameterError("options.idx","number",J.idx);if(U.defined(J.idy))if(U.number(J.idy))this.options.affineIdy=J.idy;else throw U.invalidParameterError("options.idy","number",J.idy);if(U.defined(J.odx))if(U.number(J.odx))this.options.affineOdx=J.odx;else throw U.invalidParameterError("options.odx","number",J.odx);if(U.defined(J.ody))if(U.number(J.ody))this.options.affineOdy=J.ody;else throw U.invalidParameterError("options.ody","number",J.ody);if(U.defined(J.interpolator))if(U.inArray(J.interpolator,Object.values(this.constructor.interpolators)))this.options.affineInterpolator=J.interpolator;else throw U.invalidParameterError("options.interpolator","valid interpolator name",J.interpolator)}else throw U.invalidParameterError("options","object",J);return this},E3=function(q,J,$){if(!U.defined(q))this.options.sharpenSigma=-1;else if(U.bool(q))this.options.sharpenSigma=q?-1:0;else if(U.number(q)&&U.inRange(q,0.01,1e4)){if(this.options.sharpenSigma=q,U.defined(J))if(U.number(J)&&U.inRange(J,0,1e4))this.options.sharpenM1=J;else throw U.invalidParameterError("flat","number between 0 and 10000",J);if(U.defined($))if(U.number($)&&U.inRange($,0,1e4))this.options.sharpenM2=$;else throw U.invalidParameterError("jagged","number between 0 and 10000",$)}else if(U.plainObject(q)){if(U.number(q.sigma)&&U.inRange(q.sigma,0.000001,10))this.options.sharpenSigma=q.sigma;else throw U.invalidParameterError("options.sigma","number between 0.000001 and 10",q.sigma);if(U.defined(q.m1))if(U.number(q.m1)&&U.inRange(q.m1,0,1e6))this.options.sharpenM1=q.m1;else throw U.invalidParameterError("options.m1","number between 0 and 1000000",q.m1);if(U.defined(q.m2))if(U.number(q.m2)&&U.inRange(q.m2,0,1e6))this.options.sharpenM2=q.m2;else throw U.invalidParameterError("options.m2","number between 0 and 1000000",q.m2);if(U.defined(q.x1))if(U.number(q.x1)&&U.inRange(q.x1,0,1e6))this.options.sharpenX1=q.x1;else throw U.invalidParameterError("options.x1","number between 0 and 1000000",q.x1);if(U.defined(q.y2))if(U.number(q.y2)&&U.inRange(q.y2,0,1e6))this.options.sharpenY2=q.y2;else throw U.invalidParameterError("options.y2","number between 0 and 1000000",q.y2);if(U.defined(q.y3))if(U.number(q.y3)&&U.inRange(q.y3,0,1e6))this.options.sharpenY3=q.y3;else throw U.invalidParameterError("options.y3","number between 0 and 1000000",q.y3)}else throw U.invalidParameterError("sigma","number between 0.01 and 10000",q);return this},T3=function(q){if(!U.defined(q))this.options.medianSize=3;else if(U.integer(q)&&U.inRange(q,1,1000))this.options.medianSize=q;else throw U.invalidParameterError("size","integer between 1 and 1000",q);return this},y3=function(q){if(!U.defined(q))this.options.blurSigma=-1;else if(U.bool(q))this.options.blurSigma=q?-1:0;else if(U.number(q)&&U.inRange(q,0.3,1000))this.options.blurSigma=q;else throw U.invalidParameterError("sigma","number between 0.3 and 1000",q);return this},w3=function(q){if(this.options.flatten=U.bool(q)?q:!0,U.object(q))this._setBackgroundColourOption("flattenBackground",q.background);return this},C3=function(){return this.options.unflatten=!0,this},S3=function(q,J){if(!U.defined(q))this.options.gamma=2.2;else if(U.number(q)&&U.inRange(q,1,3))this.options.gamma=q;else throw U.invalidParameterError("gamma","number between 1.0 and 3.0",q);if(!U.defined(J))this.options.gammaOut=this.options.gamma;else if(U.number(J)&&U.inRange(J,1,3))this.options.gammaOut=J;else throw U.invalidParameterError("gammaOut","number between 1.0 and 3.0",J);return this},k3=function(q){if(this.options.negate=U.bool(q)?q:!0,U.plainObject(q)&&"alpha"in q)if(!U.bool(q.alpha))throw U.invalidParameterError("alpha","should be boolean value",q.alpha);else this.options.negateAlpha=q.alpha;return this},M3=function(q){if(U.plainObject(q)){if(U.defined(q.lower))if(U.number(q.lower)&&U.inRange(q.lower,0,99))this.options.normaliseLower=q.lower;else throw U.invalidParameterError("lower","number between 0 and 99",q.lower);if(U.defined(q.upper))if(U.number(q.upper)&&U.inRange(q.upper,1,100))this.options.normaliseUpper=q.upper;else throw U.invalidParameterError("upper","number between 1 and 100",q.upper)}if(this.options.normaliseLower>=this.options.normaliseUpper)throw U.invalidParameterError("range","lower to be less than upper",`${this.options.normaliseLower} >= ${this.options.normaliseUpper}`);return this.options.normalise=!0,this},x3=function(q){return this.normalise(q)},f3=function(q){if(U.plainObject(q)){if(U.integer(q.width)&&q.width>0)this.options.claheWidth=q.width;else throw U.invalidParameterError("width","integer greater than zero",q.width);if(U.integer(q.height)&&q.height>0)this.options.claheHeight=q.height;else throw U.invalidParameterError("height","integer greater than zero",q.height);if(U.defined(q.maxSlope))if(U.integer(q.maxSlope)&&U.inRange(q.maxSlope,0,100))this.options.claheMaxSlope=q.maxSlope;else throw U.invalidParameterError("maxSlope","integer between 0 and 100",q.maxSlope)}else throw U.invalidParameterError("options","plain object",q);return this},d3=function(q){if(!U.object(q)||!Array.isArray(q.kernel)||!U.integer(q.width)||!U.integer(q.height)||!U.inRange(q.width,3,1001)||!U.inRange(q.height,3,1001)||q.height*q.width!==q.kernel.length)throw new Error("Invalid convolution kernel");if(!U.integer(q.scale))q.scale=q.kernel.reduce(function(J,$){return J+$},0);if(q.scale<1)q.scale=1;if(!U.integer(q.offset))q.offset=0;return this.options.convKernel=q,this},v3=function(q,J){if(!U.defined(q))this.options.threshold=128;else if(U.bool(q))this.options.threshold=q?128:0;else if(U.integer(q)&&U.inRange(q,0,255))this.options.threshold=q;else throw U.invalidParameterError("threshold","integer between 0 and 255",q);if(!U.object(J)||J.greyscale===!0||J.grayscale===!0)this.options.thresholdGrayscale=!0;else this.options.thresholdGrayscale=!1;return this},O3=function(q,J,$){if(this.options.boolean=this._createInputDescriptor(q,$),U.string(J)&&U.inArray(J,["and","or","eor"]))this.options.booleanOp=J;else throw U.invalidParameterError("operator","one of: and, or, eor",J);return this},b3=function(q,J){if(!U.defined(q)&&U.number(J))q=1;else if(U.number(q)&&!U.defined(J))J=0;if(!U.defined(q))this.options.linearA=[];else if(U.number(q))this.options.linearA=[q];else if(Array.isArray(q)&&q.length&&q.every(U.number))this.options.linearA=q;else throw U.invalidParameterError("a","number or array of numbers",q);if(!U.defined(J))this.options.linearB=[];else if(U.number(J))this.options.linearB=[J];else if(Array.isArray(J)&&J.length&&J.every(U.number))this.options.linearB=J;else throw U.invalidParameterError("b","number or array of numbers",J);if(this.options.linearA.length!==this.options.linearB.length)throw new Error("Expected a and b to be arrays of the same length");return this},h3=function(q){if(!Array.isArray(q)||q.length!==3||q[0].length!==3||q[1].length!==3||q[2].length!==3)throw new Error("Invalid recombination matrix");return this.options.recombMatrix=[q[0][0],q[0][1],q[0][2],q[1][0],q[1][1],q[1][2],q[2][0],q[2][1],q[2][2]].map(Number),this},g3=function(q){if(!U.plainObject(q))throw U.invalidParameterError("options","plain object",q);if("brightness"in q)if(U.number(q.brightness)&&q.brightness>=0)this.options.brightness=q.brightness;else throw U.invalidParameterError("brightness","number above zero",q.brightness);if("saturation"in q)if(U.number(q.saturation)&&q.saturation>=0)this.options.saturation=q.saturation;else throw U.invalidParameterError("saturation","number above zero",q.saturation);if("hue"in q)if(U.integer(q.hue))this.options.hue=q.hue%360;else throw U.invalidParameterError("hue","number",q.hue);if("lightness"in q)if(U.number(q.lightness))this.options.lightness=q.lightness;else throw U.invalidParameterError("lightness","number",q.lightness);return this},_3=R2(),U=d();M0.exports=function(q){Object.assign(q.prototype,{rotate:R3,flip:j3,flop:z3,affine:D3,sharpen:E3,median:T3,blur:y3,flatten:w3,unflatten:C3,gamma:S3,negate:k3,normalise:M3,normalize:x3,clahe:f3,convolve:d3,threshold:v3,boolean:O3,linear:b3,recomb:h3,modulate:g3})}});var v0=L((R9,d0)=>{var u3=function(q){return this._setBackgroundColourOption("tint",q),this},l3=function(q){return this.options.greyscale=b.bool(q)?q:!0,this},c3=function(q){return this.greyscale(q)},a3=function(q){if(!b.string(q))throw b.invalidParameterError("colourspace","string",q);return this.options.colourspacePipeline=q,this},r3=function(q){return this.pipelineColourspace(q)},e3=function(q){if(!b.string(q))throw b.invalidParameterError("colourspace","string",q);return this.options.colourspace=q,this},p3=function(q){return this.toColourspace(q)},n3=function(q,J){if(b.defined(J))if(b.object(J)||b.string(J)){const $=m3(J);this.options[q]=[$.red(),$.green(),$.blue(),Math.round($.alpha()*255)]}else throw b.invalidParameterError("background","object or string",J)},m3=R2(),b=d(),f0={multiband:"multiband","b-w":"b-w",bw:"b-w",cmyk:"cmyk",srgb:"srgb"};d0.exports=function(q){Object.assign(q.prototype,{tint:u3,greyscale:l3,grayscale:c3,pipelineColourspace:a3,pipelineColorspace:r3,toColourspace:e3,toColorspace:p3,_setBackgroundColourOption:n3}),q.colourspace=f0,q.colorspace=f0}});var b0=L((j9,O0)=>{var t3=function(){return this.options.removeAlpha=!0,this},i3=function(q){if(v.defined(q))if(v.number(q)&&v.inRange(q,0,1))this.options.ensureAlpha=q;else throw v.invalidParameterError("alpha","number between 0 and 1",q);else this.options.ensureAlpha=1;return this},o3=function(q){const J={red:0,green:1,blue:2,alpha:3};if(Object.keys(J).includes(q))q=J[q];if(v.integer(q)&&v.inRange(q,0,4))this.options.extractChannel=q;else throw v.invalidParameterError("channel","integer or one of: red, green, blue, alpha",q);return this},q8=function(q,J){if(Array.isArray(q))q.forEach(function($){this.options.joinChannelIn.push(this._createInputDescriptor($,J))},this);else this.options.joinChannelIn.push(this._createInputDescriptor(q,J));return this},J8=function(q){if(v.string(q)&&v.inArray(q,["and","or","eor"]))this.options.bandBoolOp=q;else throw v.invalidParameterError("boolOp","one of: and, or, eor",q);return this},v=d(),s3={and:"and",or:"or",eor:"eor"};O0.exports=function(q){Object.assign(q.prototype,{removeAlpha:t3,ensureAlpha:i3,extractChannel:o3,joinChannel:q8,bandbool:J8}),q.bool=s3}});var c0=L((z9,l0)=>{var W8=function(q,J){let $;if(!Q.string(q))$=new Error("Missing output file path");else if(Q.string(this.options.input.file)&&a2.resolve(this.options.input.file)===a2.resolve(q))$=new Error("Cannot use same file for input and output");else if($8.test(a2.extname(q))&&!this.constructor.format.jp2k.output.file)$=g0();if($)if(Q.fn(J))J($);else return Promise.reject($);else{this.options.fileOut=q;const W=Error();return this._pipeline(J,W)}return this},Z8=function(q,J){if(Q.object(q))this._setBooleanOption("resolveWithObject",q.resolveWithObject);else if(this.options.resolveWithObject)this.options.resolveWithObject=!1;this.options.fileOut="";const $=Error();return this._pipeline(Q.fn(q)?q:J,$)},Q8=function(){return this.options.keepMetadata|=1,this},Y8=function(q){if(Q.object(q))for(let[J,$]of Object.entries(q))if(Q.object($))for(let[W,Z]of Object.entries($))if(Q.string(Z))this.options.withExif[`exif-${J.toLowerCase()}-${W}`]=Z;else throw Q.invalidParameterError(`${J}.${W}`,"string",Z);else throw Q.invalidParameterError(J,"object",$);else throw Q.invalidParameterError("exif","object",q);return this.options.withExifMerge=!1,this.keepExif()},K8=function(q){return this.withExif(q),this.options.withExifMerge=!0,this},U8=function(){return this.options.keepMetadata|=8,this},B8=function(q,J){if(Q.string(q))this.options.withIccProfile=q;else throw Q.invalidParameterError("icc","string",q);if(this.keepIccProfile(),Q.object(J)){if(Q.defined(J.attach))if(Q.bool(J.attach)){if(!J.attach)this.options.keepMetadata&=~8}else throw Q.invalidParameterError("attach","boolean",J.attach)}return this},G8=function(){return this.options.keepMetadata=31,this},H8=function(q){if(this.keepMetadata(),this.withIccProfile("srgb"),Q.object(q)){if(Q.defined(q.orientation))if(Q.integer(q.orientation)&&Q.inRange(q.orientation,1,8))this.options.withMetadataOrientation=q.orientation;else throw Q.invalidParameterError("orientation","integer between 1 and 8",q.orientation);if(Q.defined(q.density))if(Q.number(q.density)&&q.density>0)this.options.withMetadataDensity=q.density;else throw Q.invalidParameterError("density","positive number",q.density);if(Q.defined(q.icc))this.withIccProfile(q.icc);if(Q.defined(q.exif))this.withExifMerge(q.exif)}return this},I8=function(q,J){const $=h0.get((Q.object(q)&&Q.string(q.id)?q.id:q).toLowerCase());if(!$)throw Q.invalidParameterError("format",`one of: ${[...h0.keys()].join(", ")}`,q);return this[$](J)},F8=function(q){if(Q.object(q)){if(Q.defined(q.quality))if(Q.integer(q.quality)&&Q.inRange(q.quality,1,100))this.options.jpegQuality=q.quality;else throw Q.invalidParameterError("quality","integer between 1 and 100",q.quality);if(Q.defined(q.progressive))this._setBooleanOption("jpegProgressive",q.progressive);if(Q.defined(q.chromaSubsampling))if(Q.string(q.chromaSubsampling)&&Q.inArray(q.chromaSubsampling,["4:2:0","4:4:4"]))this.options.jpegChromaSubsampling=q.chromaSubsampling;else throw Q.invalidParameterError("chromaSubsampling","one of: 4:2:0, 4:4:4",q.chromaSubsampling);const J=Q.bool(q.optimizeCoding)?q.optimizeCoding:q.optimiseCoding;if(Q.defined(J))this._setBooleanOption("jpegOptimiseCoding",J);if(Q.defined(q.mozjpeg))if(Q.bool(q.mozjpeg)){if(q.mozjpeg)this.options.jpegTrellisQuantisation=!0,this.options.jpegOvershootDeringing=!0,this.options.jpegOptimiseScans=!0,this.options.jpegProgressive=!0,this.options.jpegQuantisationTable=3}else throw Q.invalidParameterError("mozjpeg","boolean",q.mozjpeg);const $=Q.bool(q.trellisQuantization)?q.trellisQuantization:q.trellisQuantisation;if(Q.defined($))this._setBooleanOption("jpegTrellisQuantisation",$);if(Q.defined(q.overshootDeringing))this._setBooleanOption("jpegOvershootDeringing",q.overshootDeringing);const W=Q.bool(q.optimizeScans)?q.optimizeScans:q.optimiseScans;if(Q.defined(W)){if(this._setBooleanOption("jpegOptimiseScans",W),W)this.options.jpegProgressive=!0}const Z=Q.number(q.quantizationTable)?q.quantizationTable:q.quantisationTable;if(Q.defined(Z))if(Q.integer(Z)&&Q.inRange(Z,0,8))this.options.jpegQuantisationTable=Z;else throw Q.invalidParameterError("quantisationTable","integer between 0 and 8",Z)}return this._updateFormatOut("jpeg",q)},N8=function(q){if(Q.object(q)){if(Q.defined(q.progressive))this._setBooleanOption("pngProgressive",q.progressive);if(Q.defined(q.compressionLevel))if(Q.integer(q.compressionLevel)&&Q.inRange(q.compressionLevel,0,9))this.options.pngCompressionLevel=q.compressionLevel;else throw Q.invalidParameterError("compressionLevel","integer between 0 and 9",q.compressionLevel);if(Q.defined(q.adaptiveFiltering))this._setBooleanOption("pngAdaptiveFiltering",q.adaptiveFiltering);const J=q.colours||q.colors;if(Q.defined(J))if(Q.integer(J)&&Q.inRange(J,2,256))this.options.pngBitdepth=m0(J);else throw Q.invalidParameterError("colours","integer between 2 and 256",J);if(Q.defined(q.palette))this._setBooleanOption("pngPalette",q.palette);else if([q.quality,q.effort,q.colours,q.colors,q.dither].some(Q.defined))this._setBooleanOption("pngPalette",!0);if(this.options.pngPalette){if(Q.defined(q.quality))if(Q.integer(q.quality)&&Q.inRange(q.quality,0,100))this.options.pngQuality=q.quality;else throw Q.invalidParameterError("quality","integer between 0 and 100",q.quality);if(Q.defined(q.effort))if(Q.integer(q.effort)&&Q.inRange(q.effort,1,10))this.options.pngEffort=q.effort;else throw Q.invalidParameterError("effort","integer between 1 and 10",q.effort);if(Q.defined(q.dither))if(Q.number(q.dither)&&Q.inRange(q.dither,0,1))this.options.pngDither=q.dither;else throw Q.invalidParameterError("dither","number between 0.0 and 1.0",q.dither)}}return this._updateFormatOut("png",q)},X8=function(q){if(Q.object(q)){if(Q.defined(q.quality))if(Q.integer(q.quality)&&Q.inRange(q.quality,1,100))this.options.webpQuality=q.quality;else throw Q.invalidParameterError("quality","integer between 1 and 100",q.quality);if(Q.defined(q.alphaQuality))if(Q.integer(q.alphaQuality)&&Q.inRange(q.alphaQuality,0,100))this.options.webpAlphaQuality=q.alphaQuality;else throw Q.invalidParameterError("alphaQuality","integer between 0 and 100",q.alphaQuality);if(Q.defined(q.lossless))this._setBooleanOption("webpLossless",q.lossless);if(Q.defined(q.nearLossless))this._setBooleanOption("webpNearLossless",q.nearLossless);if(Q.defined(q.smartSubsample))this._setBooleanOption("webpSmartSubsample",q.smartSubsample);if(Q.defined(q.preset))if(Q.string(q.preset)&&Q.inArray(q.preset,["default","photo","picture","drawing","icon","text"]))this.options.webpPreset=q.preset;else throw Q.invalidParameterError("preset","one of: default, photo, picture, drawing, icon, text",q.preset);if(Q.defined(q.effort))if(Q.integer(q.effort)&&Q.inRange(q.effort,0,6))this.options.webpEffort=q.effort;else throw Q.invalidParameterError("effort","integer between 0 and 6",q.effort);if(Q.defined(q.minSize))this._setBooleanOption("webpMinSize",q.minSize);if(Q.defined(q.mixed))this._setBooleanOption("webpMixed",q.mixed)}return u0(q,this.options),this._updateFormatOut("webp",q)},V8=function(q){if(Q.object(q)){if(Q.defined(q.reuse))this._setBooleanOption("gifReuse",q.reuse);if(Q.defined(q.progressive))this._setBooleanOption("gifProgressive",q.progressive);const J=q.colours||q.colors;if(Q.defined(J))if(Q.integer(J)&&Q.inRange(J,2,256))this.options.gifBitdepth=m0(J);else throw Q.invalidParameterError("colours","integer between 2 and 256",J);if(Q.defined(q.effort))if(Q.number(q.effort)&&Q.inRange(q.effort,1,10))this.options.gifEffort=q.effort;else throw Q.invalidParameterError("effort","integer between 1 and 10",q.effort);if(Q.defined(q.dither))if(Q.number(q.dither)&&Q.inRange(q.dither,0,1))this.options.gifDither=q.dither;else throw Q.invalidParameterError("dither","number between 0.0 and 1.0",q.dither);if(Q.defined(q.interFrameMaxError))if(Q.number(q.interFrameMaxError)&&Q.inRange(q.interFrameMaxError,0,32))this.options.gifInterFrameMaxError=q.interFrameMaxError;else throw Q.invalidParameterError("interFrameMaxError","number between 0.0 and 32.0",q.interFrameMaxError);if(Q.defined(q.interPaletteMaxError))if(Q.number(q.interPaletteMaxError)&&Q.inRange(q.interPaletteMaxError,0,256))this.options.gifInterPaletteMaxError=q.interPaletteMaxError;else throw Q.invalidParameterError("interPaletteMaxError","number between 0.0 and 256.0",q.interPaletteMaxError)}return u0(q,this.options),this._updateFormatOut("gif",q)},A8=function(q){if(!this.constructor.format.jp2k.output.buffer)throw g0();if(Q.object(q)){if(Q.defined(q.quality))if(Q.integer(q.quality)&&Q.inRange(q.quality,1,100))this.options.jp2Quality=q.quality;else throw Q.invalidParameterError("quality","integer between 1 and 100",q.quality);if(Q.defined(q.lossless))if(Q.bool(q.lossless))this.options.jp2Lossless=q.lossless;else throw Q.invalidParameterError("lossless","boolean",q.lossless);if(Q.defined(q.tileWidth))if(Q.integer(q.tileWidth)&&Q.inRange(q.tileWidth,1,32768))this.options.jp2TileWidth=q.tileWidth;else throw Q.invalidParameterError("tileWidth","integer between 1 and 32768",q.tileWidth);if(Q.defined(q.tileHeight))if(Q.integer(q.tileHeight)&&Q.inRange(q.tileHeight,1,32768))this.options.jp2TileHeight=q.tileHeight;else throw Q.invalidParameterError("tileHeight","integer between 1 and 32768",q.tileHeight);if(Q.defined(q.chromaSubsampling))if(Q.string(q.chromaSubsampling)&&Q.inArray(q.chromaSubsampling,["4:2:0","4:4:4"]))this.options.jp2ChromaSubsampling=q.chromaSubsampling;else throw Q.invalidParameterError("chromaSubsampling","one of: 4:2:0, 4:4:4",q.chromaSubsampling)}return this._updateFormatOut("jp2",q)},u0=function(q,J){if(Q.object(q)&&Q.defined(q.loop))if(Q.integer(q.loop)&&Q.inRange(q.loop,0,65535))J.loop=q.loop;else throw Q.invalidParameterError("loop","integer between 0 and 65535",q.loop);if(Q.object(q)&&Q.defined(q.delay))if(Q.integer(q.delay)&&Q.inRange(q.delay,0,65535))J.delay=[q.delay];else if(Array.isArray(q.delay)&&q.delay.every(Q.integer)&&q.delay.every(($)=>Q.inRange($,0,65535)))J.delay=q.delay;else throw Q.invalidParameterError("delay","integer or an array of integers between 0 and 65535",q.delay)},P8=function(q){if(Q.object(q)){if(Q.defined(q.quality))if(Q.integer(q.quality)&&Q.inRange(q.quality,1,100))this.options.tiffQuality=q.quality;else throw Q.invalidParameterError("quality","integer between 1 and 100",q.quality);if(Q.defined(q.bitdepth))if(Q.integer(q.bitdepth)&&Q.inArray(q.bitdepth,[1,2,4,8]))this.options.tiffBitdepth=q.bitdepth;else throw Q.invalidParameterError("bitdepth","1, 2, 4 or 8",q.bitdepth);if(Q.defined(q.tile))this._setBooleanOption("tiffTile",q.tile);if(Q.defined(q.tileWidth))if(Q.integer(q.tileWidth)&&q.tileWidth>0)this.options.tiffTileWidth=q.tileWidth;else throw Q.invalidParameterError("tileWidth","integer greater than zero",q.tileWidth);if(Q.defined(q.tileHeight))if(Q.integer(q.tileHeight)&&q.tileHeight>0)this.options.tiffTileHeight=q.tileHeight;else throw Q.invalidParameterError("tileHeight","integer greater than zero",q.tileHeight);if(Q.defined(q.miniswhite))this._setBooleanOption("tiffMiniswhite",q.miniswhite);if(Q.defined(q.pyramid))this._setBooleanOption("tiffPyramid",q.pyramid);if(Q.defined(q.xres))if(Q.number(q.xres)&&q.xres>0)this.options.tiffXres=q.xres;else throw Q.invalidParameterError("xres","number greater than zero",q.xres);if(Q.defined(q.yres))if(Q.number(q.yres)&&q.yres>0)this.options.tiffYres=q.yres;else throw Q.invalidParameterError("yres","number greater than zero",q.yres);if(Q.defined(q.compression))if(Q.string(q.compression)&&Q.inArray(q.compression,["none","jpeg","deflate","packbits","ccittfax4","lzw","webp","zstd","jp2k"]))this.options.tiffCompression=q.compression;else throw Q.invalidParameterError("compression","one of: none, jpeg, deflate, packbits, ccittfax4, lzw, webp, zstd, jp2k",q.compression);if(Q.defined(q.predictor))if(Q.string(q.predictor)&&Q.inArray(q.predictor,["none","horizontal","float"]))this.options.tiffPredictor=q.predictor;else throw Q.invalidParameterError("predictor","one of: none, horizontal, float",q.predictor);if(Q.defined(q.resolutionUnit))if(Q.string(q.resolutionUnit)&&Q.inArray(q.resolutionUnit,["inch","cm"]))this.options.tiffResolutionUnit=q.resolutionUnit;else throw Q.invalidParameterError("resolutionUnit","one of: inch, cm",q.resolutionUnit)}return this._updateFormatOut("tiff",q)},L8=function(q){return this.heif({...q,compression:"av1"})},_8=function(q){if(Q.object(q)){if(Q.string(q.compression)&&Q.inArray(q.compression,["av1","hevc"]))this.options.heifCompression=q.compression;else throw Q.invalidParameterError("compression","one of: av1, hevc",q.compression);if(Q.defined(q.quality))if(Q.integer(q.quality)&&Q.inRange(q.quality,1,100))this.options.heifQuality=q.quality;else throw Q.invalidParameterError("quality","integer between 1 and 100",q.quality);if(Q.defined(q.lossless))if(Q.bool(q.lossless))this.options.heifLossless=q.lossless;else throw Q.invalidParameterError("lossless","boolean",q.lossless);if(Q.defined(q.effort))if(Q.integer(q.effort)&&Q.inRange(q.effort,0,9))this.options.heifEffort=q.effort;else throw Q.invalidParameterError("effort","integer between 0 and 9",q.effort);if(Q.defined(q.chromaSubsampling))if(Q.string(q.chromaSubsampling)&&Q.inArray(q.chromaSubsampling,["4:2:0","4:4:4"]))this.options.heifChromaSubsampling=q.chromaSubsampling;else throw Q.invalidParameterError("chromaSubsampling","one of: 4:2:0, 4:4:4",q.chromaSubsampling);if(Q.defined(q.bitdepth))if(Q.integer(q.bitdepth)&&Q.inArray(q.bitdepth,[8,10,12])){if(q.bitdepth!==8&&this.constructor.versions.heif)throw Q.invalidParameterError("bitdepth when using prebuilt binaries",8,q.bitdepth);this.options.heifBitdepth=q.bitdepth}else throw Q.invalidParameterError("bitdepth","8, 10 or 12",q.bitdepth)}else throw Q.invalidParameterError("options","Object",q);return this._updateFormatOut("heif",q)},R8=function(q){if(Q.object(q)){if(Q.defined(q.quality))if(Q.integer(q.quality)&&Q.inRange(q.quality,1,100))this.options.jxlDistance=q.quality>=30?0.1+(100-q.quality)*0.09:0.017666666666666667*q.quality*q.quality-1.15*q.quality+25;else throw Q.invalidParameterError("quality","integer between 1 and 100",q.quality);else if(Q.defined(q.distance))if(Q.number(q.distance)&&Q.inRange(q.distance,0,15))this.options.jxlDistance=q.distance;else throw Q.invalidParameterError("distance","number between 0.0 and 15.0",q.distance);if(Q.defined(q.decodingTier))if(Q.integer(q.decodingTier)&&Q.inRange(q.decodingTier,0,4))this.options.jxlDecodingTier=q.decodingTier;else throw Q.invalidParameterError("decodingTier","integer between 0 and 4",q.decodingTier);if(Q.defined(q.lossless))if(Q.bool(q.lossless))this.options.jxlLossless=q.lossless;else throw Q.invalidParameterError("lossless","boolean",q.lossless);if(Q.defined(q.effort))if(Q.integer(q.effort)&&Q.inRange(q.effort,3,9))this.options.jxlEffort=q.effort;else throw Q.invalidParameterError("effort","integer between 3 and 9",q.effort)}return this._updateFormatOut("jxl",q)},j8=function(q){if(Q.object(q)){if(Q.defined(q.depth))if(Q.string(q.depth)&&Q.inArray(q.depth,["char","uchar","short","ushort","int","uint","float","complex","double","dpcomplex"]))this.options.rawDepth=q.depth;else throw Q.invalidParameterError("depth","one of: char, uchar, short, ushort, int, uint, float, complex, double, dpcomplex",q.depth)}return this._updateFormatOut("raw")},z8=function(q){if(Q.object(q)){if(Q.defined(q.size))if(Q.integer(q.size)&&Q.inRange(q.size,1,8192))this.options.tileSize=q.size;else throw Q.invalidParameterError("size","integer between 1 and 8192",q.size);if(Q.defined(q.overlap))if(Q.integer(q.overlap)&&Q.inRange(q.overlap,0,8192)){if(q.overlap>this.options.tileSize)throw Q.invalidParameterError("overlap",`<= size (${this.options.tileSize})`,q.overlap);this.options.tileOverlap=q.overlap}else throw Q.invalidParameterError("overlap","integer between 0 and 8192",q.overlap);if(Q.defined(q.container))if(Q.string(q.container)&&Q.inArray(q.container,["fs","zip"]))this.options.tileContainer=q.container;else throw Q.invalidParameterError("container","one of: fs, zip",q.container);if(Q.defined(q.layout))if(Q.string(q.layout)&&Q.inArray(q.layout,["dz","google","iiif","iiif3","zoomify"]))this.options.tileLayout=q.layout;else throw Q.invalidParameterError("layout","one of: dz, google, iiif, iiif3, zoomify",q.layout);if(Q.defined(q.angle))if(Q.integer(q.angle)&&!(q.angle%90))this.options.tileAngle=q.angle;else throw Q.invalidParameterError("angle","positive/negative multiple of 90",q.angle);if(this._setBackgroundColourOption("tileBackground",q.background),Q.defined(q.depth))if(Q.string(q.depth)&&Q.inArray(q.depth,["onepixel","onetile","one"]))this.options.tileDepth=q.depth;else throw Q.invalidParameterError("depth","one of: onepixel, onetile, one",q.depth);if(Q.defined(q.skipBlanks))if(Q.integer(q.skipBlanks)&&Q.inRange(q.skipBlanks,-1,65535))this.options.tileSkipBlanks=q.skipBlanks;else throw Q.invalidParameterError("skipBlanks","integer between -1 and 255/65535",q.skipBlanks);else if(Q.defined(q.layout)&&q.layout==="google")this.options.tileSkipBlanks=5;const J=Q.bool(q.center)?q.center:q.centre;if(Q.defined(J))this._setBooleanOption("tileCentre",J);if(Q.defined(q.id))if(Q.string(q.id))this.options.tileId=q.id;else throw Q.invalidParameterError("id","string",q.id);if(Q.defined(q.basename))if(Q.string(q.basename))this.options.tileBasename=q.basename;else throw Q.invalidParameterError("basename","string",q.basename)}if(Q.inArray(this.options.formatOut,["jpeg","png","webp"]))this.options.tileFormat=this.options.formatOut;else if(this.options.formatOut!=="input")throw Q.invalidParameterError("format","one of: jpeg, png, webp",this.options.formatOut);return this._updateFormatOut("dz")},D8=function(q){if(!Q.plainObject(q))throw Q.invalidParameterError("options","object",q);if(Q.integer(q.seconds)&&Q.inRange(q.seconds,0,3600))this.options.timeoutSeconds=q.seconds;else throw Q.invalidParameterError("seconds","integer between 0 and 3600",q.seconds);return this},E8=function(q,J){if(!(Q.object(J)&&J.force===!1))this.options.formatOut=q;return this},T8=function(q,J){if(Q.bool(J))this.options[q]=J;else throw Q.invalidParameterError(q,"boolean",J)},y8=function(){if(!this.options.streamOut){this.options.streamOut=!0;const q=Error();this._pipeline(void 0,q)}},w8=function(q,J){if(typeof q==="function"){if(this._isStreamInput())this.on("finish",()=>{this._flattenBufferIn(),s.pipeline(this.options,($,W,Z)=>{if($)q(Q.nativeError($,J));else q(null,W,Z)})});else s.pipeline(this.options,($,W,Z)=>{if($)q(Q.nativeError($,J));else q(null,W,Z)});return this}else if(this.options.streamOut){if(this._isStreamInput()){if(this.once("finish",()=>{this._flattenBufferIn(),s.pipeline(this.options,($,W,Z)=>{if($)this.emit("error",Q.nativeError($,J));else this.emit("info",Z),this.push(W);this.push(null),this.on("end",()=>this.emit("close"))})}),this.streamInFinished)this.emit("finish")}else s.pipeline(this.options,($,W,Z)=>{if($)this.emit("error",Q.nativeError($,J));else this.emit("info",Z),this.push(W);this.push(null),this.on("end",()=>this.emit("close"))});return this}else if(this._isStreamInput())return new Promise(($,W)=>{this.once("finish",()=>{this._flattenBufferIn(),s.pipeline(this.options,(Z,Y,K)=>{if(Z)W(Q.nativeError(Z,J));else if(this.options.resolveWithObject)$({data:Y,info:K});else $(Y)})})});else return new Promise(($,W)=>{s.pipeline(this.options,(Z,Y,K)=>{if(Z)W(Q.nativeError(Z,J));else if(this.options.resolveWithObject)$({data:Y,info:K});else $(Y)})})},a2=import.meta.require("path"),Q=d(),s=J2(),h0=new Map([["heic","heif"],["heif","heif"],["avif","avif"],["jpeg","jpeg"],["jpg","jpeg"],["jpe","jpeg"],["tile","tile"],["dz","tile"],["png","png"],["raw","raw"],["tiff","tiff"],["tif","tiff"],["webp","webp"],["gif","gif"],["jp2","jp2"],["jpx","jp2"],["j2k","jp2"],["j2c","jp2"],["jxl","jxl"]]),$8=/\.(jp[2x]|j2[kc])$/i,g0=()=>new Error("JP2 output requires libvips with support for OpenJPEG"),m0=(q)=>1<<31-Math.clz32(Math.ceil(Math.log2(q)));l0.exports=function(q){Object.assign(q.prototype,{toFile:W8,toBuffer:Z8,keepExif:Q8,withExif:Y8,withExifMerge:K8,keepIccProfile:U8,withIccProfile:B8,keepMetadata:G8,withMetadata:H8,toFormat:I8,jpeg:F8,jp2:A8,png:N8,webp:X8,tiff:P8,avif:L8,heif:_8,jxl:R8,gif:V8,raw:j8,tile:z8,timeout:D8,_updateFormatOut:E8,_setBooleanOption:T8,_read:y8,_pipeline:w8})}});var p0=L((D9,e0)=>{var r0=function(q){if(M.bool(q))if(q)return w.cache(50,20,100);else return w.cache(0,0,0);else if(M.object(q))return w.cache(q.memory,q.files,q.items);else return w.cache()},M8=function(q){return w.concurrency(M.integer(q)?q:null)},f8=function(){return w.counters()},d8=function(q){return w.simd(M.bool(q)?q:null)},v8=function(q){if(M.object(q))if(Array.isArray(q.operation)&&q.operation.every(M.string))w.block(q.operation,!0);else throw M.invalidParameterError("operation","Array<string>",q.operation);else throw M.invalidParameterError("options","object",q)},O8=function(q){if(M.object(q))if(Array.isArray(q.operation)&&q.operation.every(M.string))w.block(q.operation,!1);else throw M.invalidParameterError("operation","Array<string>",q.operation);else throw M.invalidParameterError("options","object",q)},C8=import.meta.require("events"),z2=import.meta.require("detect-libc"),M=d(),{runtimePlatformArch:S8}=f2(),w=J2(),a0=S8(),r2=w.libvipsVersion(),Y2=w.format();Y2.heif.output.alias=["avif","heic"];Y2.jpeg.output.alias=["jpe","jpg"];Y2.tiff.output.alias=["tif"];Y2.jp2k.output.alias=["j2c","j2k","jp2","jpx"];var k8={nearest:"nearest",bilinear:"bilinear",bicubic:"bicubic",locallyBoundedBicubic:"lbb",nohalo:"nohalo",vertexSplitQuadraticBasisSpline:"vsqbs"},Q2={vips:r2.semver};if(!r2.isGlobal)if(!r2.isWasm)try{Q2=import.meta.require(`@img/sharp-${a0}/versions`)}catch(q){try{Q2=import.meta.require(`@img/sharp-libvips-${a0}/versions`)}catch(J){}}else try{Q2=(()=>{throw new Error(`Cannot require module "@img/sharp-wasm32/versions"`);})()}catch(q){}Q2.sharp=k2().version;r0(!0);if(z2.familySync()===z2.GLIBC&&!w._isUsingJemalloc())w.concurrency(1);else if(z2.familySync()===z2.MUSL&&w.concurrency()===1024)w.concurrency(import.meta.require("os").availableParallelism());var x8=new C8.EventEmitter;e0.exports=function(q){q.cache=r0,q.concurrency=M8,q.counters=f8,q.simd=d8,q.format=Y2,q.interpolators=k8,q.versions=Q2,q.queue=x8,q.block=v8,q.unblock=O8}});var b8=L((E9,n0)=>{var h=$0();z0()(h);C0()(h);k0()(h);x0()(h);v0()(h);b0()(h);c0()(h);p0()(h);n0.exports=h});
2
- export{b8 as Da};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-a5c18c07abe8fd9c.js";import"./chunk-3bf6f8c8e8589e3d.js";import{kb as o} from"./chunk-2f7aac67f16768a5.js";import{rb as K,xb as S} from"./chunk-9238196d4889d660.js";import{exec as _} from"child_process";import{promisify as y} from"util";var i=(c,n,s)=>{if(n.Version!==1)throw Error(`Profile ${c} credential_process did not return Version 1.`);if(n.AccessKeyId===void 0||n.SecretAccessKey===void 0)throw Error(`Profile ${c} credential_process returned invalid credentials.`);if(n.Expiration){const t=new Date;if(new Date(n.Expiration)<t)throw Error(`Profile ${c} credential_process returned expired credentials.`)}let e=n.AccountId;if(!e&&s?.[c]?.aws_account_id)e=s[c].aws_account_id;return{accessKeyId:n.AccessKeyId,secretAccessKey:n.SecretAccessKey,...n.SessionToken&&{sessionToken:n.SessionToken},...n.Expiration&&{expiration:new Date(n.Expiration)},...n.CredentialScope&&{credentialScope:n.CredentialScope},...e&&{accountId:e}}};var x=async(c,n,s)=>{const e=n[c];if(n[c]){const t=e.credential_process;if(t!==void 0){const u=y(_);try{const{stdout:r}=await u(t);let w;try{w=JSON.parse(r.trim())}catch{throw Error(`Profile ${c} credential_process returned invalid JSON.`)}return i(c,w,n)}catch(r){throw new o(r.message,{logger:s})}}else throw new o(`Profile ${c} did not contain credential_process.`,{logger:s})}else throw new o(`Profile ${c} could not be found in shared credentials file.`,{logger:s})};var $=(c={})=>async()=>{c.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");const n=await S(c);return x(K(c),n,c.logger)};export{$ as fromProcess};
@@ -1,9 +0,0 @@
1
- import{s as $,t as w,u as z} from"./chunk-9d1337fc9976354d.js";import{x as Q} from"./chunk-a5c18c07abe8fd9c.js";import{eb as v} from"./chunk-3042abeb18cf180e.js";import{fb as X} from"./chunk-15e9771e524c5726.js";var q=Q(X(),1),B=Q(v(),1);var G=Q(X(),1),k="AWS_EC2_METADATA_DISABLED",Y=async(b)=>{const{ENV_CMDS_FULL_URI:j,ENV_CMDS_RELATIVE_URI:x,fromContainerMetadata:y,fromInstanceMetadata:J}=await import("./chunk-51ee928673a12486.js");if(process.env[x]||process.env[j]){b.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");const{fromHttp:K}=await import("./chunk-4f1b43f5232b3e65.js");return G.chain(K(b),y(b))}if(process.env[k])return async()=>{throw new G.CredentialsProviderError("EC2 Instance Metadata Service access disabled",{logger:b.logger})};return b.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata"),J(b)};var Z=!1,T=(b={})=>q.memoize(q.chain(async()=>{if(b.profile??process.env[B.ENV_PROFILE]){if(process.env[$]&&process.env[w]){if(!Z)(b.logger?.warn&&b.logger?.constructor?.name!=="NoOpLogger"?b.logger.warn:console.warn)(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
2
- Multiple credential sources detected:
3
- Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.
4
- This SDK will proceed with the AWS_PROFILE value.
5
-
6
- However, a future version may change this behavior to prefer the ENV static credentials.
7
- Please ensure that your environment only sets either the AWS_PROFILE or the
8
- AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.
9
- `),Z=!0}throw new q.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.",{logger:b.logger,tryNextLink:!0})}return b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv"),z(b)()},async()=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");const{ssoStartUrl:j,ssoAccountId:x,ssoRegion:y,ssoRoleName:J,ssoSession:K}=b;if(!j&&!x&&!y&&!J&&!K)throw new q.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).",{logger:b.logger});const{fromSSO:H}=await import("./chunk-dd8b042837b4d5f1.js");return H(b)()},async()=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");const{fromIni:j}=await import("./chunk-18d87123ae525263.js");return j(b)()},async()=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");const{fromProcess:j}=await import("./chunk-a9625dd807cb668e.js");return j(b)()},async()=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");const{fromTokenFile:j}=await import("./chunk-aad7af5112f0f4f2.js");return j(b)()},async()=>{return b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider"),(await Y(b))()},async()=>{throw new q.CredentialsProviderError("Could not load credentials from any providers",{tryNextLink:!1,logger:b.logger})}),g,O),O=(b)=>b?.expiration!==void 0,g=(b)=>b?.expiration!==void 0&&b.expiration.getTime()-Date.now()<300000;export{T as bb};