shell-mirror 1.5.24 → 1.5.26

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 (2458) hide show
  1. package/mac-agent/.env +9 -0
  2. package/mac-agent/.env.example +24 -0
  3. package/mac-agent/README.md +167 -0
  4. package/mac-agent/agent-debug.log +94 -0
  5. package/mac-agent/agent.js +403 -0
  6. package/mac-agent/authorized-users.json +35 -0
  7. package/mac-agent/http-agent.js +675 -0
  8. package/mac-agent/interactive-setup.js +183 -0
  9. package/mac-agent/logs/http-agent.log +823 -0
  10. package/mac-agent/manual-setup.js +140 -0
  11. package/mac-agent/node +0 -0
  12. package/mac-agent/node_modules/.package-lock.json +2255 -0
  13. package/mac-agent/node_modules/@colors/colors/LICENSE +26 -0
  14. package/mac-agent/node_modules/@colors/colors/README.md +219 -0
  15. package/mac-agent/node_modules/@colors/colors/examples/normal-usage.js +83 -0
  16. package/mac-agent/node_modules/@colors/colors/examples/safe-string.js +80 -0
  17. package/mac-agent/node_modules/@colors/colors/index.d.ts +184 -0
  18. package/mac-agent/node_modules/@colors/colors/lib/colors.js +211 -0
  19. package/mac-agent/node_modules/@colors/colors/lib/custom/trap.js +46 -0
  20. package/mac-agent/node_modules/@colors/colors/lib/custom/zalgo.js +110 -0
  21. package/mac-agent/node_modules/@colors/colors/lib/extendStringPrototype.js +110 -0
  22. package/mac-agent/node_modules/@colors/colors/lib/index.js +13 -0
  23. package/mac-agent/node_modules/@colors/colors/lib/maps/america.js +10 -0
  24. package/mac-agent/node_modules/@colors/colors/lib/maps/rainbow.js +12 -0
  25. package/mac-agent/node_modules/@colors/colors/lib/maps/random.js +11 -0
  26. package/mac-agent/node_modules/@colors/colors/lib/maps/zebra.js +5 -0
  27. package/mac-agent/node_modules/@colors/colors/lib/styles.js +95 -0
  28. package/mac-agent/node_modules/@colors/colors/lib/system/has-flag.js +35 -0
  29. package/mac-agent/node_modules/@colors/colors/lib/system/supports-colors.js +151 -0
  30. package/mac-agent/node_modules/@colors/colors/package.json +45 -0
  31. package/mac-agent/node_modules/@colors/colors/safe.d.ts +64 -0
  32. package/mac-agent/node_modules/@colors/colors/safe.js +10 -0
  33. package/mac-agent/node_modules/@colors/colors/themes/generic-logging.js +12 -0
  34. package/mac-agent/node_modules/@dabh/diagnostics/CHANGELOG.md +26 -0
  35. package/mac-agent/node_modules/@dabh/diagnostics/LICENSE +20 -0
  36. package/mac-agent/node_modules/@dabh/diagnostics/README.md +473 -0
  37. package/mac-agent/node_modules/@dabh/diagnostics/adapters/hash.js +11 -0
  38. package/mac-agent/node_modules/@dabh/diagnostics/adapters/index.js +18 -0
  39. package/mac-agent/node_modules/@dabh/diagnostics/adapters/localstorage.js +11 -0
  40. package/mac-agent/node_modules/@dabh/diagnostics/adapters/process.env.js +11 -0
  41. package/mac-agent/node_modules/@dabh/diagnostics/browser/development.js +35 -0
  42. package/mac-agent/node_modules/@dabh/diagnostics/browser/index.js +8 -0
  43. package/mac-agent/node_modules/@dabh/diagnostics/browser/override.js +6 -0
  44. package/mac-agent/node_modules/@dabh/diagnostics/browser/production.js +24 -0
  45. package/mac-agent/node_modules/@dabh/diagnostics/diagnostics.js +212 -0
  46. package/mac-agent/node_modules/@dabh/diagnostics/logger/console.js +19 -0
  47. package/mac-agent/node_modules/@dabh/diagnostics/modifiers/namespace-ansi.js +20 -0
  48. package/mac-agent/node_modules/@dabh/diagnostics/modifiers/namespace.js +32 -0
  49. package/mac-agent/node_modules/@dabh/diagnostics/node/development.js +36 -0
  50. package/mac-agent/node_modules/@dabh/diagnostics/node/index.js +8 -0
  51. package/mac-agent/node_modules/@dabh/diagnostics/node/override.js +21 -0
  52. package/mac-agent/node_modules/@dabh/diagnostics/node/production.js +24 -0
  53. package/mac-agent/node_modules/@dabh/diagnostics/package.json +64 -0
  54. package/mac-agent/node_modules/@koush/wrtc/CMakeLists.txt +664 -0
  55. package/mac-agent/node_modules/@koush/wrtc/LICENSE.md +30 -0
  56. package/mac-agent/node_modules/@koush/wrtc/NodeJS.cmake +638 -0
  57. package/mac-agent/node_modules/@koush/wrtc/README.md +120 -0
  58. package/mac-agent/node_modules/@koush/wrtc/THIRD_PARTY_LICENSES.md +1314 -0
  59. package/mac-agent/node_modules/@koush/wrtc/build/Release/wrtc.node +0 -0
  60. package/mac-agent/node_modules/@koush/wrtc/build-linux-variants.sh +10 -0
  61. package/mac-agent/node_modules/@koush/wrtc/build-mac-variants.sh +14 -0
  62. package/mac-agent/node_modules/@koush/wrtc/clean.sh +2 -0
  63. package/mac-agent/node_modules/@koush/wrtc/lib/binding.js +7 -0
  64. package/mac-agent/node_modules/@koush/wrtc/lib/browser.js +18 -0
  65. package/mac-agent/node_modules/@koush/wrtc/lib/datachannelevent.js +26 -0
  66. package/mac-agent/node_modules/@koush/wrtc/lib/datachannelmessageevent.js +9 -0
  67. package/mac-agent/node_modules/@koush/wrtc/lib/error.js +20 -0
  68. package/mac-agent/node_modules/@koush/wrtc/lib/eventtarget.js +50 -0
  69. package/mac-agent/node_modules/@koush/wrtc/lib/icecandidate.js +28 -0
  70. package/mac-agent/node_modules/@koush/wrtc/lib/index.js +81 -0
  71. package/mac-agent/node_modules/@koush/wrtc/lib/mediadevices.js +24 -0
  72. package/mac-agent/node_modules/@koush/wrtc/lib/peerconnection.js +313 -0
  73. package/mac-agent/node_modules/@koush/wrtc/lib/rtcpeerconnectioniceerrorevent.js +36 -0
  74. package/mac-agent/node_modules/@koush/wrtc/lib/rtcpeerconnectioniceevent.js +20 -0
  75. package/mac-agent/node_modules/@koush/wrtc/lib/sessiondescription.js +10 -0
  76. package/mac-agent/node_modules/@koush/wrtc/package.json +95 -0
  77. package/mac-agent/node_modules/@koush/wrtc/scripts/build-appveyor.bat +73 -0
  78. package/mac-agent/node_modules/@koush/wrtc/scripts/build-from-source.js +45 -0
  79. package/mac-agent/node_modules/@koush/wrtc/scripts/build-webrtc.bat +20 -0
  80. package/mac-agent/node_modules/@koush/wrtc/scripts/build-webrtc.sh +23 -0
  81. package/mac-agent/node_modules/@koush/wrtc/scripts/configure-webrtc.bat +28 -0
  82. package/mac-agent/node_modules/@koush/wrtc/scripts/configure-webrtc.sh +25 -0
  83. package/mac-agent/node_modules/@koush/wrtc/scripts/download-prebuilt-or-build-from-source.js +25 -0
  84. package/mac-agent/node_modules/@koush/wrtc/scripts/download-prebuilt.js +35 -0
  85. package/mac-agent/node_modules/@koush/wrtc/scripts/download-webrtc.bat +47 -0
  86. package/mac-agent/node_modules/@koush/wrtc/scripts/download-webrtc.sh +21 -0
  87. package/mac-agent/node_modules/@koush/wrtc/scripts/install-example.js +80 -0
  88. package/mac-agent/node_modules/@koush/wrtc/scripts/karma.js +70 -0
  89. package/mac-agent/node_modules/@koush/wrtc/scripts/pack-webrtc.bat +1 -0
  90. package/mac-agent/node_modules/@koush/wrtc/scripts/pack-webrtc.js +93 -0
  91. package/mac-agent/node_modules/@koush/wrtc/scripts/pack-webrtc.sh +38 -0
  92. package/mac-agent/node_modules/@koush/wrtc/scripts/publish-to-npm.js +98 -0
  93. package/mac-agent/node_modules/@koush/wrtc/scripts/publish.js +26 -0
  94. package/mac-agent/node_modules/@koush/wrtc/scripts/run-tests.bat +25 -0
  95. package/mac-agent/node_modules/@koush/wrtc/scripts/unpack-webrtc.bat +1 -0
  96. package/mac-agent/node_modules/@koush/wrtc/scripts/unpack-webrtc.js +36 -0
  97. package/mac-agent/node_modules/@koush/wrtc/scripts/unpack-webrtc.sh +28 -0
  98. package/mac-agent/node_modules/@mapbox/node-pre-gyp/.github/workflows/codeql.yml +74 -0
  99. package/mac-agent/node_modules/@mapbox/node-pre-gyp/CHANGELOG.md +510 -0
  100. package/mac-agent/node_modules/@mapbox/node-pre-gyp/LICENSE +27 -0
  101. package/mac-agent/node_modules/@mapbox/node-pre-gyp/README.md +742 -0
  102. package/mac-agent/node_modules/@mapbox/node-pre-gyp/bin/node-pre-gyp +4 -0
  103. package/mac-agent/node_modules/@mapbox/node-pre-gyp/bin/node-pre-gyp.cmd +2 -0
  104. package/mac-agent/node_modules/@mapbox/node-pre-gyp/contributing.md +10 -0
  105. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/build.js +51 -0
  106. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/clean.js +31 -0
  107. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/configure.js +52 -0
  108. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/info.js +38 -0
  109. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/install.js +235 -0
  110. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/main.js +125 -0
  111. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/node-pre-gyp.js +309 -0
  112. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/package.js +73 -0
  113. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/pre-binding.js +34 -0
  114. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/publish.js +81 -0
  115. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/rebuild.js +20 -0
  116. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/reinstall.js +19 -0
  117. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/reveal.js +32 -0
  118. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/testbinary.js +79 -0
  119. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/testpackage.js +53 -0
  120. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/unpublish.js +41 -0
  121. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/util/abi_crosswalk.json +2602 -0
  122. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js +93 -0
  123. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/util/handle_gyp_opts.js +102 -0
  124. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/util/napi.js +205 -0
  125. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/util/nw-pre-gyp/index.html +26 -0
  126. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/util/nw-pre-gyp/package.json +9 -0
  127. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/util/s3_setup.js +163 -0
  128. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/util/versioning.js +335 -0
  129. package/mac-agent/node_modules/@mapbox/node-pre-gyp/package.json +62 -0
  130. package/mac-agent/node_modules/@types/triple-beam/LICENSE +21 -0
  131. package/mac-agent/node_modules/@types/triple-beam/README.md +36 -0
  132. package/mac-agent/node_modules/@types/triple-beam/index.d.ts +17 -0
  133. package/mac-agent/node_modules/@types/triple-beam/package.json +25 -0
  134. package/mac-agent/node_modules/abbrev/LICENSE +46 -0
  135. package/mac-agent/node_modules/abbrev/README.md +23 -0
  136. package/mac-agent/node_modules/abbrev/abbrev.js +61 -0
  137. package/mac-agent/node_modules/abbrev/package.json +21 -0
  138. package/mac-agent/node_modules/agent-base/README.md +145 -0
  139. package/mac-agent/node_modules/agent-base/dist/src/index.d.ts +78 -0
  140. package/mac-agent/node_modules/agent-base/dist/src/index.js +203 -0
  141. package/mac-agent/node_modules/agent-base/dist/src/index.js.map +1 -0
  142. package/mac-agent/node_modules/agent-base/dist/src/promisify.d.ts +4 -0
  143. package/mac-agent/node_modules/agent-base/dist/src/promisify.js +18 -0
  144. package/mac-agent/node_modules/agent-base/dist/src/promisify.js.map +1 -0
  145. package/mac-agent/node_modules/agent-base/package.json +64 -0
  146. package/mac-agent/node_modules/agent-base/src/index.ts +345 -0
  147. package/mac-agent/node_modules/agent-base/src/promisify.ts +33 -0
  148. package/mac-agent/node_modules/ansi-regex/index.d.ts +37 -0
  149. package/mac-agent/node_modules/ansi-regex/index.js +10 -0
  150. package/mac-agent/node_modules/ansi-regex/license +9 -0
  151. package/mac-agent/node_modules/ansi-regex/package.json +55 -0
  152. package/mac-agent/node_modules/ansi-regex/readme.md +78 -0
  153. package/mac-agent/node_modules/anymatch/LICENSE +15 -0
  154. package/mac-agent/node_modules/anymatch/README.md +87 -0
  155. package/mac-agent/node_modules/anymatch/index.d.ts +20 -0
  156. package/mac-agent/node_modules/anymatch/index.js +104 -0
  157. package/mac-agent/node_modules/anymatch/package.json +48 -0
  158. package/mac-agent/node_modules/aproba/LICENSE +14 -0
  159. package/mac-agent/node_modules/aproba/README.md +94 -0
  160. package/mac-agent/node_modules/aproba/index.js +105 -0
  161. package/mac-agent/node_modules/aproba/package.json +35 -0
  162. package/mac-agent/node_modules/are-we-there-yet/LICENSE.md +18 -0
  163. package/mac-agent/node_modules/are-we-there-yet/README.md +208 -0
  164. package/mac-agent/node_modules/are-we-there-yet/lib/index.js +4 -0
  165. package/mac-agent/node_modules/are-we-there-yet/lib/tracker-base.js +11 -0
  166. package/mac-agent/node_modules/are-we-there-yet/lib/tracker-group.js +116 -0
  167. package/mac-agent/node_modules/are-we-there-yet/lib/tracker-stream.js +36 -0
  168. package/mac-agent/node_modules/are-we-there-yet/lib/tracker.js +32 -0
  169. package/mac-agent/node_modules/are-we-there-yet/package.json +53 -0
  170. package/mac-agent/node_modules/async/CHANGELOG.md +351 -0
  171. package/mac-agent/node_modules/async/LICENSE +19 -0
  172. package/mac-agent/node_modules/async/README.md +59 -0
  173. package/mac-agent/node_modules/async/all.js +119 -0
  174. package/mac-agent/node_modules/async/allLimit.js +46 -0
  175. package/mac-agent/node_modules/async/allSeries.js +45 -0
  176. package/mac-agent/node_modules/async/any.js +122 -0
  177. package/mac-agent/node_modules/async/anyLimit.js +47 -0
  178. package/mac-agent/node_modules/async/anySeries.js +46 -0
  179. package/mac-agent/node_modules/async/apply.js +11 -0
  180. package/mac-agent/node_modules/async/applyEach.js +57 -0
  181. package/mac-agent/node_modules/async/applyEachSeries.js +37 -0
  182. package/mac-agent/node_modules/async/asyncify.js +118 -0
  183. package/mac-agent/node_modules/async/auto.js +333 -0
  184. package/mac-agent/node_modules/async/autoInject.js +182 -0
  185. package/mac-agent/node_modules/async/bower.json +17 -0
  186. package/mac-agent/node_modules/async/cargo.js +63 -0
  187. package/mac-agent/node_modules/async/cargoQueue.js +71 -0
  188. package/mac-agent/node_modules/async/compose.js +55 -0
  189. package/mac-agent/node_modules/async/concat.js +115 -0
  190. package/mac-agent/node_modules/async/concatLimit.js +60 -0
  191. package/mac-agent/node_modules/async/concatSeries.js +41 -0
  192. package/mac-agent/node_modules/async/constant.js +14 -0
  193. package/mac-agent/node_modules/async/detect.js +96 -0
  194. package/mac-agent/node_modules/async/detectLimit.js +48 -0
  195. package/mac-agent/node_modules/async/detectSeries.js +47 -0
  196. package/mac-agent/node_modules/async/dir.js +43 -0
  197. package/mac-agent/node_modules/async/dist/async.js +6061 -0
  198. package/mac-agent/node_modules/async/dist/async.min.js +1 -0
  199. package/mac-agent/node_modules/async/dist/async.mjs +5948 -0
  200. package/mac-agent/node_modules/async/doDuring.js +68 -0
  201. package/mac-agent/node_modules/async/doUntil.js +46 -0
  202. package/mac-agent/node_modules/async/doWhilst.js +68 -0
  203. package/mac-agent/node_modules/async/during.js +78 -0
  204. package/mac-agent/node_modules/async/each.js +129 -0
  205. package/mac-agent/node_modules/async/eachLimit.js +50 -0
  206. package/mac-agent/node_modules/async/eachOf.js +185 -0
  207. package/mac-agent/node_modules/async/eachOfLimit.js +47 -0
  208. package/mac-agent/node_modules/async/eachOfSeries.js +39 -0
  209. package/mac-agent/node_modules/async/eachSeries.js +44 -0
  210. package/mac-agent/node_modules/async/ensureAsync.js +67 -0
  211. package/mac-agent/node_modules/async/every.js +119 -0
  212. package/mac-agent/node_modules/async/everyLimit.js +46 -0
  213. package/mac-agent/node_modules/async/everySeries.js +45 -0
  214. package/mac-agent/node_modules/async/filter.js +93 -0
  215. package/mac-agent/node_modules/async/filterLimit.js +45 -0
  216. package/mac-agent/node_modules/async/filterSeries.js +43 -0
  217. package/mac-agent/node_modules/async/find.js +96 -0
  218. package/mac-agent/node_modules/async/findLimit.js +48 -0
  219. package/mac-agent/node_modules/async/findSeries.js +47 -0
  220. package/mac-agent/node_modules/async/flatMap.js +115 -0
  221. package/mac-agent/node_modules/async/flatMapLimit.js +60 -0
  222. package/mac-agent/node_modules/async/flatMapSeries.js +41 -0
  223. package/mac-agent/node_modules/async/foldl.js +153 -0
  224. package/mac-agent/node_modules/async/foldr.js +41 -0
  225. package/mac-agent/node_modules/async/forEach.js +129 -0
  226. package/mac-agent/node_modules/async/forEachLimit.js +50 -0
  227. package/mac-agent/node_modules/async/forEachOf.js +185 -0
  228. package/mac-agent/node_modules/async/forEachOfLimit.js +47 -0
  229. package/mac-agent/node_modules/async/forEachOfSeries.js +39 -0
  230. package/mac-agent/node_modules/async/forEachSeries.js +44 -0
  231. package/mac-agent/node_modules/async/forever.js +68 -0
  232. package/mac-agent/node_modules/async/groupBy.js +108 -0
  233. package/mac-agent/node_modules/async/groupByLimit.js +71 -0
  234. package/mac-agent/node_modules/async/groupBySeries.js +36 -0
  235. package/mac-agent/node_modules/async/index.js +588 -0
  236. package/mac-agent/node_modules/async/inject.js +153 -0
  237. package/mac-agent/node_modules/async/internal/DoublyLinkedList.js +92 -0
  238. package/mac-agent/node_modules/async/internal/Heap.js +120 -0
  239. package/mac-agent/node_modules/async/internal/applyEach.js +29 -0
  240. package/mac-agent/node_modules/async/internal/asyncEachOfLimit.js +75 -0
  241. package/mac-agent/node_modules/async/internal/awaitify.js +28 -0
  242. package/mac-agent/node_modules/async/internal/breakLoop.js +10 -0
  243. package/mac-agent/node_modules/async/internal/consoleFunc.js +31 -0
  244. package/mac-agent/node_modules/async/internal/createTester.js +40 -0
  245. package/mac-agent/node_modules/async/internal/eachOfLimit.js +90 -0
  246. package/mac-agent/node_modules/async/internal/filter.js +55 -0
  247. package/mac-agent/node_modules/async/internal/getIterator.js +11 -0
  248. package/mac-agent/node_modules/async/internal/initialParams.js +14 -0
  249. package/mac-agent/node_modules/async/internal/isArrayLike.js +10 -0
  250. package/mac-agent/node_modules/async/internal/iterator.js +57 -0
  251. package/mac-agent/node_modules/async/internal/map.js +30 -0
  252. package/mac-agent/node_modules/async/internal/once.js +17 -0
  253. package/mac-agent/node_modules/async/internal/onlyOnce.js +15 -0
  254. package/mac-agent/node_modules/async/internal/parallel.js +34 -0
  255. package/mac-agent/node_modules/async/internal/promiseCallback.js +23 -0
  256. package/mac-agent/node_modules/async/internal/queue.js +294 -0
  257. package/mac-agent/node_modules/async/internal/range.js +14 -0
  258. package/mac-agent/node_modules/async/internal/reject.js +26 -0
  259. package/mac-agent/node_modules/async/internal/setImmediate.js +34 -0
  260. package/mac-agent/node_modules/async/internal/withoutIndex.js +10 -0
  261. package/mac-agent/node_modules/async/internal/wrapAsync.js +34 -0
  262. package/mac-agent/node_modules/async/log.js +41 -0
  263. package/mac-agent/node_modules/async/map.js +142 -0
  264. package/mac-agent/node_modules/async/mapLimit.js +45 -0
  265. package/mac-agent/node_modules/async/mapSeries.js +44 -0
  266. package/mac-agent/node_modules/async/mapValues.js +152 -0
  267. package/mac-agent/node_modules/async/mapValuesLimit.js +61 -0
  268. package/mac-agent/node_modules/async/mapValuesSeries.js +37 -0
  269. package/mac-agent/node_modules/async/memoize.js +91 -0
  270. package/mac-agent/node_modules/async/nextTick.js +52 -0
  271. package/mac-agent/node_modules/async/package.json +75 -0
  272. package/mac-agent/node_modules/async/parallel.js +180 -0
  273. package/mac-agent/node_modules/async/parallelLimit.js +41 -0
  274. package/mac-agent/node_modules/async/priorityQueue.js +60 -0
  275. package/mac-agent/node_modules/async/queue.js +24 -0
  276. package/mac-agent/node_modules/async/race.js +67 -0
  277. package/mac-agent/node_modules/async/reduce.js +153 -0
  278. package/mac-agent/node_modules/async/reduceRight.js +41 -0
  279. package/mac-agent/node_modules/async/reflect.js +78 -0
  280. package/mac-agent/node_modules/async/reflectAll.js +93 -0
  281. package/mac-agent/node_modules/async/reject.js +87 -0
  282. package/mac-agent/node_modules/async/rejectLimit.js +45 -0
  283. package/mac-agent/node_modules/async/rejectSeries.js +43 -0
  284. package/mac-agent/node_modules/async/retry.js +159 -0
  285. package/mac-agent/node_modules/async/retryable.js +77 -0
  286. package/mac-agent/node_modules/async/select.js +93 -0
  287. package/mac-agent/node_modules/async/selectLimit.js +45 -0
  288. package/mac-agent/node_modules/async/selectSeries.js +43 -0
  289. package/mac-agent/node_modules/async/seq.js +79 -0
  290. package/mac-agent/node_modules/async/series.js +186 -0
  291. package/mac-agent/node_modules/async/setImmediate.js +45 -0
  292. package/mac-agent/node_modules/async/some.js +122 -0
  293. package/mac-agent/node_modules/async/someLimit.js +47 -0
  294. package/mac-agent/node_modules/async/someSeries.js +46 -0
  295. package/mac-agent/node_modules/async/sortBy.js +190 -0
  296. package/mac-agent/node_modules/async/timeout.js +89 -0
  297. package/mac-agent/node_modules/async/times.js +50 -0
  298. package/mac-agent/node_modules/async/timesLimit.js +43 -0
  299. package/mac-agent/node_modules/async/timesSeries.js +32 -0
  300. package/mac-agent/node_modules/async/transform.js +173 -0
  301. package/mac-agent/node_modules/async/tryEach.js +78 -0
  302. package/mac-agent/node_modules/async/unmemoize.js +25 -0
  303. package/mac-agent/node_modules/async/until.js +61 -0
  304. package/mac-agent/node_modules/async/waterfall.js +105 -0
  305. package/mac-agent/node_modules/async/whilst.js +78 -0
  306. package/mac-agent/node_modules/async/wrapSync.js +118 -0
  307. package/mac-agent/node_modules/asynckit/LICENSE +21 -0
  308. package/mac-agent/node_modules/asynckit/README.md +233 -0
  309. package/mac-agent/node_modules/asynckit/bench.js +76 -0
  310. package/mac-agent/node_modules/asynckit/index.js +6 -0
  311. package/mac-agent/node_modules/asynckit/lib/abort.js +29 -0
  312. package/mac-agent/node_modules/asynckit/lib/async.js +34 -0
  313. package/mac-agent/node_modules/asynckit/lib/defer.js +26 -0
  314. package/mac-agent/node_modules/asynckit/lib/iterate.js +75 -0
  315. package/mac-agent/node_modules/asynckit/lib/readable_asynckit.js +91 -0
  316. package/mac-agent/node_modules/asynckit/lib/readable_parallel.js +25 -0
  317. package/mac-agent/node_modules/asynckit/lib/readable_serial.js +25 -0
  318. package/mac-agent/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
  319. package/mac-agent/node_modules/asynckit/lib/state.js +37 -0
  320. package/mac-agent/node_modules/asynckit/lib/streamify.js +141 -0
  321. package/mac-agent/node_modules/asynckit/lib/terminator.js +29 -0
  322. package/mac-agent/node_modules/asynckit/package.json +63 -0
  323. package/mac-agent/node_modules/asynckit/parallel.js +43 -0
  324. package/mac-agent/node_modules/asynckit/serial.js +17 -0
  325. package/mac-agent/node_modules/asynckit/serialOrdered.js +75 -0
  326. package/mac-agent/node_modules/asynckit/stream.js +21 -0
  327. package/mac-agent/node_modules/axios/CHANGELOG.md +1220 -0
  328. package/mac-agent/node_modules/axios/LICENSE +7 -0
  329. package/mac-agent/node_modules/axios/MIGRATION_GUIDE.md +3 -0
  330. package/mac-agent/node_modules/axios/README.md +1682 -0
  331. package/mac-agent/node_modules/axios/dist/axios.js +4296 -0
  332. package/mac-agent/node_modules/axios/dist/axios.js.map +1 -0
  333. package/mac-agent/node_modules/axios/dist/axios.min.js +3 -0
  334. package/mac-agent/node_modules/axios/dist/axios.min.js.map +1 -0
  335. package/mac-agent/node_modules/axios/dist/browser/axios.cjs +3730 -0
  336. package/mac-agent/node_modules/axios/dist/browser/axios.cjs.map +1 -0
  337. package/mac-agent/node_modules/axios/dist/esm/axios.js +3753 -0
  338. package/mac-agent/node_modules/axios/dist/esm/axios.js.map +1 -0
  339. package/mac-agent/node_modules/axios/dist/esm/axios.min.js +3 -0
  340. package/mac-agent/node_modules/axios/dist/esm/axios.min.js.map +1 -0
  341. package/mac-agent/node_modules/axios/dist/node/axios.cjs +4787 -0
  342. package/mac-agent/node_modules/axios/dist/node/axios.cjs.map +1 -0
  343. package/mac-agent/node_modules/axios/index.d.cts +550 -0
  344. package/mac-agent/node_modules/axios/index.d.ts +572 -0
  345. package/mac-agent/node_modules/axios/index.js +43 -0
  346. package/mac-agent/node_modules/axios/lib/adapters/README.md +37 -0
  347. package/mac-agent/node_modules/axios/lib/adapters/adapters.js +79 -0
  348. package/mac-agent/node_modules/axios/lib/adapters/fetch.js +229 -0
  349. package/mac-agent/node_modules/axios/lib/adapters/http.js +695 -0
  350. package/mac-agent/node_modules/axios/lib/adapters/xhr.js +197 -0
  351. package/mac-agent/node_modules/axios/lib/axios.js +89 -0
  352. package/mac-agent/node_modules/axios/lib/cancel/CancelToken.js +135 -0
  353. package/mac-agent/node_modules/axios/lib/cancel/CanceledError.js +25 -0
  354. package/mac-agent/node_modules/axios/lib/cancel/isCancel.js +5 -0
  355. package/mac-agent/node_modules/axios/lib/core/Axios.js +242 -0
  356. package/mac-agent/node_modules/axios/lib/core/AxiosError.js +103 -0
  357. package/mac-agent/node_modules/axios/lib/core/AxiosHeaders.js +314 -0
  358. package/mac-agent/node_modules/axios/lib/core/InterceptorManager.js +71 -0
  359. package/mac-agent/node_modules/axios/lib/core/README.md +8 -0
  360. package/mac-agent/node_modules/axios/lib/core/buildFullPath.js +22 -0
  361. package/mac-agent/node_modules/axios/lib/core/dispatchRequest.js +81 -0
  362. package/mac-agent/node_modules/axios/lib/core/mergeConfig.js +106 -0
  363. package/mac-agent/node_modules/axios/lib/core/settle.js +27 -0
  364. package/mac-agent/node_modules/axios/lib/core/transformData.js +28 -0
  365. package/mac-agent/node_modules/axios/lib/defaults/index.js +161 -0
  366. package/mac-agent/node_modules/axios/lib/defaults/transitional.js +7 -0
  367. package/mac-agent/node_modules/axios/lib/env/README.md +3 -0
  368. package/mac-agent/node_modules/axios/lib/env/classes/FormData.js +2 -0
  369. package/mac-agent/node_modules/axios/lib/env/data.js +1 -0
  370. package/mac-agent/node_modules/axios/lib/helpers/AxiosTransformStream.js +143 -0
  371. package/mac-agent/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +58 -0
  372. package/mac-agent/node_modules/axios/lib/helpers/HttpStatusCode.js +71 -0
  373. package/mac-agent/node_modules/axios/lib/helpers/README.md +7 -0
  374. package/mac-agent/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +28 -0
  375. package/mac-agent/node_modules/axios/lib/helpers/bind.js +7 -0
  376. package/mac-agent/node_modules/axios/lib/helpers/buildURL.js +69 -0
  377. package/mac-agent/node_modules/axios/lib/helpers/callbackify.js +16 -0
  378. package/mac-agent/node_modules/axios/lib/helpers/combineURLs.js +15 -0
  379. package/mac-agent/node_modules/axios/lib/helpers/composeSignals.js +48 -0
  380. package/mac-agent/node_modules/axios/lib/helpers/cookies.js +42 -0
  381. package/mac-agent/node_modules/axios/lib/helpers/deprecatedMethod.js +26 -0
  382. package/mac-agent/node_modules/axios/lib/helpers/formDataToJSON.js +95 -0
  383. package/mac-agent/node_modules/axios/lib/helpers/formDataToStream.js +112 -0
  384. package/mac-agent/node_modules/axios/lib/helpers/fromDataURI.js +53 -0
  385. package/mac-agent/node_modules/axios/lib/helpers/isAbsoluteURL.js +15 -0
  386. package/mac-agent/node_modules/axios/lib/helpers/isAxiosError.js +14 -0
  387. package/mac-agent/node_modules/axios/lib/helpers/isURLSameOrigin.js +14 -0
  388. package/mac-agent/node_modules/axios/lib/helpers/null.js +2 -0
  389. package/mac-agent/node_modules/axios/lib/helpers/parseHeaders.js +55 -0
  390. package/mac-agent/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
  391. package/mac-agent/node_modules/axios/lib/helpers/progressEventReducer.js +44 -0
  392. package/mac-agent/node_modules/axios/lib/helpers/readBlob.js +15 -0
  393. package/mac-agent/node_modules/axios/lib/helpers/resolveConfig.js +57 -0
  394. package/mac-agent/node_modules/axios/lib/helpers/speedometer.js +55 -0
  395. package/mac-agent/node_modules/axios/lib/helpers/spread.js +28 -0
  396. package/mac-agent/node_modules/axios/lib/helpers/throttle.js +44 -0
  397. package/mac-agent/node_modules/axios/lib/helpers/toFormData.js +223 -0
  398. package/mac-agent/node_modules/axios/lib/helpers/toURLEncodedForm.js +18 -0
  399. package/mac-agent/node_modules/axios/lib/helpers/trackStream.js +87 -0
  400. package/mac-agent/node_modules/axios/lib/helpers/validator.js +99 -0
  401. package/mac-agent/node_modules/axios/lib/platform/browser/classes/Blob.js +3 -0
  402. package/mac-agent/node_modules/axios/lib/platform/browser/classes/FormData.js +3 -0
  403. package/mac-agent/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +4 -0
  404. package/mac-agent/node_modules/axios/lib/platform/browser/index.js +13 -0
  405. package/mac-agent/node_modules/axios/lib/platform/common/utils.js +51 -0
  406. package/mac-agent/node_modules/axios/lib/platform/index.js +7 -0
  407. package/mac-agent/node_modules/axios/lib/platform/node/classes/FormData.js +3 -0
  408. package/mac-agent/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +4 -0
  409. package/mac-agent/node_modules/axios/lib/platform/node/index.js +38 -0
  410. package/mac-agent/node_modules/axios/lib/utils.js +744 -0
  411. package/mac-agent/node_modules/axios/package.json +228 -0
  412. package/mac-agent/node_modules/balanced-match/.github/FUNDING.yml +2 -0
  413. package/mac-agent/node_modules/balanced-match/LICENSE.md +21 -0
  414. package/mac-agent/node_modules/balanced-match/README.md +97 -0
  415. package/mac-agent/node_modules/balanced-match/index.js +62 -0
  416. package/mac-agent/node_modules/balanced-match/package.json +48 -0
  417. package/mac-agent/node_modules/binary-extensions/binary-extensions.json +263 -0
  418. package/mac-agent/node_modules/binary-extensions/binary-extensions.json.d.ts +3 -0
  419. package/mac-agent/node_modules/binary-extensions/index.d.ts +14 -0
  420. package/mac-agent/node_modules/binary-extensions/index.js +1 -0
  421. package/mac-agent/node_modules/binary-extensions/license +10 -0
  422. package/mac-agent/node_modules/binary-extensions/package.json +40 -0
  423. package/mac-agent/node_modules/binary-extensions/readme.md +25 -0
  424. package/mac-agent/node_modules/brace-expansion/LICENSE +21 -0
  425. package/mac-agent/node_modules/brace-expansion/README.md +129 -0
  426. package/mac-agent/node_modules/brace-expansion/index.js +201 -0
  427. package/mac-agent/node_modules/brace-expansion/package.json +50 -0
  428. package/mac-agent/node_modules/braces/LICENSE +21 -0
  429. package/mac-agent/node_modules/braces/README.md +586 -0
  430. package/mac-agent/node_modules/braces/index.js +170 -0
  431. package/mac-agent/node_modules/braces/lib/compile.js +60 -0
  432. package/mac-agent/node_modules/braces/lib/constants.js +57 -0
  433. package/mac-agent/node_modules/braces/lib/expand.js +113 -0
  434. package/mac-agent/node_modules/braces/lib/parse.js +331 -0
  435. package/mac-agent/node_modules/braces/lib/stringify.js +32 -0
  436. package/mac-agent/node_modules/braces/lib/utils.js +122 -0
  437. package/mac-agent/node_modules/braces/package.json +77 -0
  438. package/mac-agent/node_modules/call-bind/.eslintignore +1 -0
  439. package/mac-agent/node_modules/call-bind/.eslintrc +16 -0
  440. package/mac-agent/node_modules/call-bind/.github/FUNDING.yml +12 -0
  441. package/mac-agent/node_modules/call-bind/.nycrc +9 -0
  442. package/mac-agent/node_modules/call-bind/CHANGELOG.md +106 -0
  443. package/mac-agent/node_modules/call-bind/LICENSE +21 -0
  444. package/mac-agent/node_modules/call-bind/README.md +64 -0
  445. package/mac-agent/node_modules/call-bind/callBound.js +15 -0
  446. package/mac-agent/node_modules/call-bind/index.js +24 -0
  447. package/mac-agent/node_modules/call-bind/package.json +93 -0
  448. package/mac-agent/node_modules/call-bind/test/callBound.js +54 -0
  449. package/mac-agent/node_modules/call-bind/test/index.js +74 -0
  450. package/mac-agent/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
  451. package/mac-agent/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
  452. package/mac-agent/node_modules/call-bind-apply-helpers/.nycrc +9 -0
  453. package/mac-agent/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
  454. package/mac-agent/node_modules/call-bind-apply-helpers/LICENSE +21 -0
  455. package/mac-agent/node_modules/call-bind-apply-helpers/README.md +62 -0
  456. package/mac-agent/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
  457. package/mac-agent/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
  458. package/mac-agent/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
  459. package/mac-agent/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
  460. package/mac-agent/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
  461. package/mac-agent/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
  462. package/mac-agent/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
  463. package/mac-agent/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
  464. package/mac-agent/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
  465. package/mac-agent/node_modules/call-bind-apply-helpers/index.js +15 -0
  466. package/mac-agent/node_modules/call-bind-apply-helpers/package.json +85 -0
  467. package/mac-agent/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
  468. package/mac-agent/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
  469. package/mac-agent/node_modules/call-bind-apply-helpers/test/index.js +63 -0
  470. package/mac-agent/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
  471. package/mac-agent/node_modules/call-bound/.eslintrc +13 -0
  472. package/mac-agent/node_modules/call-bound/.github/FUNDING.yml +12 -0
  473. package/mac-agent/node_modules/call-bound/.nycrc +9 -0
  474. package/mac-agent/node_modules/call-bound/CHANGELOG.md +42 -0
  475. package/mac-agent/node_modules/call-bound/LICENSE +21 -0
  476. package/mac-agent/node_modules/call-bound/README.md +53 -0
  477. package/mac-agent/node_modules/call-bound/index.d.ts +94 -0
  478. package/mac-agent/node_modules/call-bound/index.js +19 -0
  479. package/mac-agent/node_modules/call-bound/package.json +99 -0
  480. package/mac-agent/node_modules/call-bound/test/index.js +61 -0
  481. package/mac-agent/node_modules/call-bound/tsconfig.json +10 -0
  482. package/mac-agent/node_modules/camelcase/index.js +56 -0
  483. package/mac-agent/node_modules/camelcase/license +21 -0
  484. package/mac-agent/node_modules/camelcase/package.json +39 -0
  485. package/mac-agent/node_modules/camelcase/readme.md +57 -0
  486. package/mac-agent/node_modules/chokidar/LICENSE +21 -0
  487. package/mac-agent/node_modules/chokidar/README.md +308 -0
  488. package/mac-agent/node_modules/chokidar/index.js +973 -0
  489. package/mac-agent/node_modules/chokidar/lib/constants.js +66 -0
  490. package/mac-agent/node_modules/chokidar/lib/fsevents-handler.js +526 -0
  491. package/mac-agent/node_modules/chokidar/lib/nodefs-handler.js +654 -0
  492. package/mac-agent/node_modules/chokidar/package.json +70 -0
  493. package/mac-agent/node_modules/chokidar/types/index.d.ts +192 -0
  494. package/mac-agent/node_modules/chownr/LICENSE +15 -0
  495. package/mac-agent/node_modules/chownr/README.md +3 -0
  496. package/mac-agent/node_modules/chownr/chownr.js +167 -0
  497. package/mac-agent/node_modules/chownr/package.json +32 -0
  498. package/mac-agent/node_modules/cliui/CHANGELOG.md +15 -0
  499. package/mac-agent/node_modules/cliui/LICENSE.txt +14 -0
  500. package/mac-agent/node_modules/cliui/README.md +110 -0
  501. package/mac-agent/node_modules/cliui/index.js +316 -0
  502. package/mac-agent/node_modules/cliui/node_modules/ansi-regex/index.js +4 -0
  503. package/mac-agent/node_modules/cliui/node_modules/ansi-regex/license +21 -0
  504. package/mac-agent/node_modules/cliui/node_modules/ansi-regex/package.json +64 -0
  505. package/mac-agent/node_modules/cliui/node_modules/ansi-regex/readme.md +39 -0
  506. package/mac-agent/node_modules/cliui/node_modules/is-fullwidth-code-point/index.js +46 -0
  507. package/mac-agent/node_modules/cliui/node_modules/is-fullwidth-code-point/license +21 -0
  508. package/mac-agent/node_modules/cliui/node_modules/is-fullwidth-code-point/package.json +45 -0
  509. package/mac-agent/node_modules/cliui/node_modules/is-fullwidth-code-point/readme.md +39 -0
  510. package/mac-agent/node_modules/cliui/node_modules/string-width/index.js +37 -0
  511. package/mac-agent/node_modules/cliui/node_modules/string-width/license +21 -0
  512. package/mac-agent/node_modules/cliui/node_modules/string-width/package.json +56 -0
  513. package/mac-agent/node_modules/cliui/node_modules/string-width/readme.md +42 -0
  514. package/mac-agent/node_modules/cliui/node_modules/strip-ansi/index.js +6 -0
  515. package/mac-agent/node_modules/cliui/node_modules/strip-ansi/license +21 -0
  516. package/mac-agent/node_modules/cliui/node_modules/strip-ansi/package.json +57 -0
  517. package/mac-agent/node_modules/cliui/node_modules/strip-ansi/readme.md +33 -0
  518. package/mac-agent/node_modules/cliui/package.json +64 -0
  519. package/mac-agent/node_modules/code-point-at/index.js +32 -0
  520. package/mac-agent/node_modules/code-point-at/license +21 -0
  521. package/mac-agent/node_modules/code-point-at/package.json +38 -0
  522. package/mac-agent/node_modules/code-point-at/readme.md +32 -0
  523. package/mac-agent/node_modules/color/LICENSE +21 -0
  524. package/mac-agent/node_modules/color/README.md +123 -0
  525. package/mac-agent/node_modules/color/index.js +482 -0
  526. package/mac-agent/node_modules/color/package.json +40 -0
  527. package/mac-agent/node_modules/color-convert/CHANGELOG.md +54 -0
  528. package/mac-agent/node_modules/color-convert/LICENSE +21 -0
  529. package/mac-agent/node_modules/color-convert/README.md +68 -0
  530. package/mac-agent/node_modules/color-convert/conversions.js +868 -0
  531. package/mac-agent/node_modules/color-convert/index.js +78 -0
  532. package/mac-agent/node_modules/color-convert/package.json +46 -0
  533. package/mac-agent/node_modules/color-convert/route.js +97 -0
  534. package/mac-agent/node_modules/color-name/.eslintrc.json +43 -0
  535. package/mac-agent/node_modules/color-name/LICENSE +8 -0
  536. package/mac-agent/node_modules/color-name/README.md +11 -0
  537. package/mac-agent/node_modules/color-name/index.js +152 -0
  538. package/mac-agent/node_modules/color-name/package.json +25 -0
  539. package/mac-agent/node_modules/color-name/test.js +7 -0
  540. package/mac-agent/node_modules/color-string/LICENSE +21 -0
  541. package/mac-agent/node_modules/color-string/README.md +62 -0
  542. package/mac-agent/node_modules/color-string/index.js +242 -0
  543. package/mac-agent/node_modules/color-string/package.json +39 -0
  544. package/mac-agent/node_modules/color-support/LICENSE +15 -0
  545. package/mac-agent/node_modules/color-support/README.md +129 -0
  546. package/mac-agent/node_modules/color-support/bin.js +3 -0
  547. package/mac-agent/node_modules/color-support/browser.js +14 -0
  548. package/mac-agent/node_modules/color-support/index.js +134 -0
  549. package/mac-agent/node_modules/color-support/package.json +36 -0
  550. package/mac-agent/node_modules/colorspace/LICENSE.md +20 -0
  551. package/mac-agent/node_modules/colorspace/README.md +43 -0
  552. package/mac-agent/node_modules/colorspace/index.js +29 -0
  553. package/mac-agent/node_modules/colorspace/package.json +37 -0
  554. package/mac-agent/node_modules/combined-stream/License +19 -0
  555. package/mac-agent/node_modules/combined-stream/Readme.md +138 -0
  556. package/mac-agent/node_modules/combined-stream/lib/combined_stream.js +208 -0
  557. package/mac-agent/node_modules/combined-stream/package.json +25 -0
  558. package/mac-agent/node_modules/combined-stream/yarn.lock +17 -0
  559. package/mac-agent/node_modules/concat-map/.travis.yml +4 -0
  560. package/mac-agent/node_modules/concat-map/LICENSE +18 -0
  561. package/mac-agent/node_modules/concat-map/README.markdown +62 -0
  562. package/mac-agent/node_modules/concat-map/example/map.js +6 -0
  563. package/mac-agent/node_modules/concat-map/index.js +13 -0
  564. package/mac-agent/node_modules/concat-map/package.json +43 -0
  565. package/mac-agent/node_modules/concat-map/test/map.js +39 -0
  566. package/mac-agent/node_modules/console-control-strings/LICENSE +13 -0
  567. package/mac-agent/node_modules/console-control-strings/README.md +145 -0
  568. package/mac-agent/node_modules/console-control-strings/README.md~ +140 -0
  569. package/mac-agent/node_modules/console-control-strings/index.js +125 -0
  570. package/mac-agent/node_modules/console-control-strings/package.json +27 -0
  571. package/mac-agent/node_modules/debug/LICENSE +20 -0
  572. package/mac-agent/node_modules/debug/README.md +481 -0
  573. package/mac-agent/node_modules/debug/package.json +64 -0
  574. package/mac-agent/node_modules/debug/src/browser.js +272 -0
  575. package/mac-agent/node_modules/debug/src/common.js +292 -0
  576. package/mac-agent/node_modules/debug/src/index.js +10 -0
  577. package/mac-agent/node_modules/debug/src/node.js +263 -0
  578. package/mac-agent/node_modules/decamelize/index.js +13 -0
  579. package/mac-agent/node_modules/decamelize/license +21 -0
  580. package/mac-agent/node_modules/decamelize/package.json +38 -0
  581. package/mac-agent/node_modules/decamelize/readme.md +48 -0
  582. package/mac-agent/node_modules/define-data-property/.eslintrc +24 -0
  583. package/mac-agent/node_modules/define-data-property/.github/FUNDING.yml +12 -0
  584. package/mac-agent/node_modules/define-data-property/.nycrc +13 -0
  585. package/mac-agent/node_modules/define-data-property/CHANGELOG.md +70 -0
  586. package/mac-agent/node_modules/define-data-property/LICENSE +21 -0
  587. package/mac-agent/node_modules/define-data-property/README.md +67 -0
  588. package/mac-agent/node_modules/define-data-property/index.d.ts +12 -0
  589. package/mac-agent/node_modules/define-data-property/index.js +56 -0
  590. package/mac-agent/node_modules/define-data-property/package.json +106 -0
  591. package/mac-agent/node_modules/define-data-property/test/index.js +392 -0
  592. package/mac-agent/node_modules/define-data-property/tsconfig.json +59 -0
  593. package/mac-agent/node_modules/define-properties/.editorconfig +13 -0
  594. package/mac-agent/node_modules/define-properties/.eslintrc +19 -0
  595. package/mac-agent/node_modules/define-properties/.github/FUNDING.yml +12 -0
  596. package/mac-agent/node_modules/define-properties/.nycrc +9 -0
  597. package/mac-agent/node_modules/define-properties/CHANGELOG.md +91 -0
  598. package/mac-agent/node_modules/define-properties/LICENSE +21 -0
  599. package/mac-agent/node_modules/define-properties/README.md +84 -0
  600. package/mac-agent/node_modules/define-properties/index.js +47 -0
  601. package/mac-agent/node_modules/define-properties/package.json +88 -0
  602. package/mac-agent/node_modules/delayed-stream/License +19 -0
  603. package/mac-agent/node_modules/delayed-stream/Makefile +7 -0
  604. package/mac-agent/node_modules/delayed-stream/Readme.md +141 -0
  605. package/mac-agent/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
  606. package/mac-agent/node_modules/delayed-stream/package.json +27 -0
  607. package/mac-agent/node_modules/delegates/History.md +22 -0
  608. package/mac-agent/node_modules/delegates/License +20 -0
  609. package/mac-agent/node_modules/delegates/Makefile +8 -0
  610. package/mac-agent/node_modules/delegates/Readme.md +94 -0
  611. package/mac-agent/node_modules/delegates/index.js +121 -0
  612. package/mac-agent/node_modules/delegates/package.json +13 -0
  613. package/mac-agent/node_modules/delegates/test/index.js +94 -0
  614. package/mac-agent/node_modules/detect-libc/LICENSE +201 -0
  615. package/mac-agent/node_modules/detect-libc/README.md +163 -0
  616. package/mac-agent/node_modules/detect-libc/index.d.ts +14 -0
  617. package/mac-agent/node_modules/detect-libc/lib/detect-libc.js +267 -0
  618. package/mac-agent/node_modules/detect-libc/lib/filesystem.js +41 -0
  619. package/mac-agent/node_modules/detect-libc/lib/process.js +24 -0
  620. package/mac-agent/node_modules/detect-libc/package.json +41 -0
  621. package/mac-agent/node_modules/domexception/LICENSE.txt +21 -0
  622. package/mac-agent/node_modules/domexception/README.md +19 -0
  623. package/mac-agent/node_modules/domexception/lib/DOMException-impl.js +22 -0
  624. package/mac-agent/node_modules/domexception/lib/DOMException.js +368 -0
  625. package/mac-agent/node_modules/domexception/lib/legacy-error-codes.json +27 -0
  626. package/mac-agent/node_modules/domexception/lib/public-api.js +5 -0
  627. package/mac-agent/node_modules/domexception/lib/utils.js +86 -0
  628. package/mac-agent/node_modules/domexception/package.json +36 -0
  629. package/mac-agent/node_modules/dotenv/CHANGELOG.md +520 -0
  630. package/mac-agent/node_modules/dotenv/LICENSE +23 -0
  631. package/mac-agent/node_modules/dotenv/README-es.md +411 -0
  632. package/mac-agent/node_modules/dotenv/README.md +645 -0
  633. package/mac-agent/node_modules/dotenv/SECURITY.md +1 -0
  634. package/mac-agent/node_modules/dotenv/config.d.ts +1 -0
  635. package/mac-agent/node_modules/dotenv/config.js +9 -0
  636. package/mac-agent/node_modules/dotenv/lib/cli-options.js +17 -0
  637. package/mac-agent/node_modules/dotenv/lib/env-options.js +28 -0
  638. package/mac-agent/node_modules/dotenv/lib/main.d.ts +162 -0
  639. package/mac-agent/node_modules/dotenv/lib/main.js +386 -0
  640. package/mac-agent/node_modules/dotenv/package.json +62 -0
  641. package/mac-agent/node_modules/dunder-proto/.eslintrc +5 -0
  642. package/mac-agent/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
  643. package/mac-agent/node_modules/dunder-proto/.nycrc +13 -0
  644. package/mac-agent/node_modules/dunder-proto/CHANGELOG.md +24 -0
  645. package/mac-agent/node_modules/dunder-proto/LICENSE +21 -0
  646. package/mac-agent/node_modules/dunder-proto/README.md +54 -0
  647. package/mac-agent/node_modules/dunder-proto/get.d.ts +5 -0
  648. package/mac-agent/node_modules/dunder-proto/get.js +30 -0
  649. package/mac-agent/node_modules/dunder-proto/package.json +76 -0
  650. package/mac-agent/node_modules/dunder-proto/set.d.ts +5 -0
  651. package/mac-agent/node_modules/dunder-proto/set.js +35 -0
  652. package/mac-agent/node_modules/dunder-proto/test/get.js +34 -0
  653. package/mac-agent/node_modules/dunder-proto/test/index.js +4 -0
  654. package/mac-agent/node_modules/dunder-proto/test/set.js +50 -0
  655. package/mac-agent/node_modules/dunder-proto/tsconfig.json +9 -0
  656. package/mac-agent/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  657. package/mac-agent/node_modules/emoji-regex/README.md +73 -0
  658. package/mac-agent/node_modules/emoji-regex/es2015/index.js +6 -0
  659. package/mac-agent/node_modules/emoji-regex/es2015/text.js +6 -0
  660. package/mac-agent/node_modules/emoji-regex/index.d.ts +23 -0
  661. package/mac-agent/node_modules/emoji-regex/index.js +6 -0
  662. package/mac-agent/node_modules/emoji-regex/package.json +50 -0
  663. package/mac-agent/node_modules/emoji-regex/text.js +6 -0
  664. package/mac-agent/node_modules/enabled/.travis.yml +9 -0
  665. package/mac-agent/node_modules/enabled/LICENSE +20 -0
  666. package/mac-agent/node_modules/enabled/README.md +68 -0
  667. package/mac-agent/node_modules/enabled/index.js +34 -0
  668. package/mac-agent/node_modules/enabled/package.json +33 -0
  669. package/mac-agent/node_modules/enabled/test.js +39 -0
  670. package/mac-agent/node_modules/error-ex/LICENSE +21 -0
  671. package/mac-agent/node_modules/error-ex/README.md +144 -0
  672. package/mac-agent/node_modules/error-ex/index.js +141 -0
  673. package/mac-agent/node_modules/error-ex/node_modules/is-arrayish/.editorconfig +18 -0
  674. package/mac-agent/node_modules/error-ex/node_modules/is-arrayish/.istanbul.yml +4 -0
  675. package/mac-agent/node_modules/error-ex/node_modules/is-arrayish/.travis.yml +17 -0
  676. package/mac-agent/node_modules/error-ex/node_modules/is-arrayish/LICENSE +21 -0
  677. package/mac-agent/node_modules/error-ex/node_modules/is-arrayish/README.md +16 -0
  678. package/mac-agent/node_modules/error-ex/node_modules/is-arrayish/index.js +10 -0
  679. package/mac-agent/node_modules/error-ex/node_modules/is-arrayish/package.json +34 -0
  680. package/mac-agent/node_modules/error-ex/package.json +46 -0
  681. package/mac-agent/node_modules/es-define-property/.eslintrc +13 -0
  682. package/mac-agent/node_modules/es-define-property/.github/FUNDING.yml +12 -0
  683. package/mac-agent/node_modules/es-define-property/.nycrc +9 -0
  684. package/mac-agent/node_modules/es-define-property/CHANGELOG.md +29 -0
  685. package/mac-agent/node_modules/es-define-property/LICENSE +21 -0
  686. package/mac-agent/node_modules/es-define-property/README.md +49 -0
  687. package/mac-agent/node_modules/es-define-property/index.d.ts +3 -0
  688. package/mac-agent/node_modules/es-define-property/index.js +14 -0
  689. package/mac-agent/node_modules/es-define-property/package.json +81 -0
  690. package/mac-agent/node_modules/es-define-property/test/index.js +56 -0
  691. package/mac-agent/node_modules/es-define-property/tsconfig.json +10 -0
  692. package/mac-agent/node_modules/es-errors/.eslintrc +5 -0
  693. package/mac-agent/node_modules/es-errors/.github/FUNDING.yml +12 -0
  694. package/mac-agent/node_modules/es-errors/CHANGELOG.md +40 -0
  695. package/mac-agent/node_modules/es-errors/LICENSE +21 -0
  696. package/mac-agent/node_modules/es-errors/README.md +55 -0
  697. package/mac-agent/node_modules/es-errors/eval.d.ts +3 -0
  698. package/mac-agent/node_modules/es-errors/eval.js +4 -0
  699. package/mac-agent/node_modules/es-errors/index.d.ts +3 -0
  700. package/mac-agent/node_modules/es-errors/index.js +4 -0
  701. package/mac-agent/node_modules/es-errors/package.json +80 -0
  702. package/mac-agent/node_modules/es-errors/range.d.ts +3 -0
  703. package/mac-agent/node_modules/es-errors/range.js +4 -0
  704. package/mac-agent/node_modules/es-errors/ref.d.ts +3 -0
  705. package/mac-agent/node_modules/es-errors/ref.js +4 -0
  706. package/mac-agent/node_modules/es-errors/syntax.d.ts +3 -0
  707. package/mac-agent/node_modules/es-errors/syntax.js +4 -0
  708. package/mac-agent/node_modules/es-errors/test/index.js +19 -0
  709. package/mac-agent/node_modules/es-errors/tsconfig.json +49 -0
  710. package/mac-agent/node_modules/es-errors/type.d.ts +3 -0
  711. package/mac-agent/node_modules/es-errors/type.js +4 -0
  712. package/mac-agent/node_modules/es-errors/uri.d.ts +3 -0
  713. package/mac-agent/node_modules/es-errors/uri.js +4 -0
  714. package/mac-agent/node_modules/es-object-atoms/.eslintrc +16 -0
  715. package/mac-agent/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
  716. package/mac-agent/node_modules/es-object-atoms/CHANGELOG.md +37 -0
  717. package/mac-agent/node_modules/es-object-atoms/LICENSE +21 -0
  718. package/mac-agent/node_modules/es-object-atoms/README.md +63 -0
  719. package/mac-agent/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
  720. package/mac-agent/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
  721. package/mac-agent/node_modules/es-object-atoms/ToObject.d.ts +7 -0
  722. package/mac-agent/node_modules/es-object-atoms/ToObject.js +10 -0
  723. package/mac-agent/node_modules/es-object-atoms/index.d.ts +3 -0
  724. package/mac-agent/node_modules/es-object-atoms/index.js +4 -0
  725. package/mac-agent/node_modules/es-object-atoms/isObject.d.ts +3 -0
  726. package/mac-agent/node_modules/es-object-atoms/isObject.js +6 -0
  727. package/mac-agent/node_modules/es-object-atoms/package.json +80 -0
  728. package/mac-agent/node_modules/es-object-atoms/test/index.js +38 -0
  729. package/mac-agent/node_modules/es-object-atoms/tsconfig.json +6 -0
  730. package/mac-agent/node_modules/es-set-tostringtag/.eslintrc +13 -0
  731. package/mac-agent/node_modules/es-set-tostringtag/.nycrc +9 -0
  732. package/mac-agent/node_modules/es-set-tostringtag/CHANGELOG.md +67 -0
  733. package/mac-agent/node_modules/es-set-tostringtag/LICENSE +21 -0
  734. package/mac-agent/node_modules/es-set-tostringtag/README.md +53 -0
  735. package/mac-agent/node_modules/es-set-tostringtag/index.d.ts +10 -0
  736. package/mac-agent/node_modules/es-set-tostringtag/index.js +35 -0
  737. package/mac-agent/node_modules/es-set-tostringtag/package.json +78 -0
  738. package/mac-agent/node_modules/es-set-tostringtag/test/index.js +85 -0
  739. package/mac-agent/node_modules/es-set-tostringtag/tsconfig.json +9 -0
  740. package/mac-agent/node_modules/fecha/LICENSE +22 -0
  741. package/mac-agent/node_modules/fecha/README.md +320 -0
  742. package/mac-agent/node_modules/fecha/dist/fecha.min.js +2 -0
  743. package/mac-agent/node_modules/fecha/dist/fecha.min.js.map +1 -0
  744. package/mac-agent/node_modules/fecha/lib/fecha.d.ts +52 -0
  745. package/mac-agent/node_modules/fecha/lib/fecha.js +403 -0
  746. package/mac-agent/node_modules/fecha/lib/fecha.js.map +1 -0
  747. package/mac-agent/node_modules/fecha/lib/fecha.umd.js +418 -0
  748. package/mac-agent/node_modules/fecha/lib/fecha.umd.js.map +1 -0
  749. package/mac-agent/node_modules/fecha/package.json +55 -0
  750. package/mac-agent/node_modules/fecha/src/fecha.ts +524 -0
  751. package/mac-agent/node_modules/fill-range/LICENSE +21 -0
  752. package/mac-agent/node_modules/fill-range/README.md +237 -0
  753. package/mac-agent/node_modules/fill-range/index.js +248 -0
  754. package/mac-agent/node_modules/fill-range/package.json +74 -0
  755. package/mac-agent/node_modules/find-up/index.js +53 -0
  756. package/mac-agent/node_modules/find-up/license +21 -0
  757. package/mac-agent/node_modules/find-up/package.json +51 -0
  758. package/mac-agent/node_modules/find-up/readme.md +72 -0
  759. package/mac-agent/node_modules/fn.name/.gitattributes +1 -0
  760. package/mac-agent/node_modules/fn.name/.travis.yml +10 -0
  761. package/mac-agent/node_modules/fn.name/LICENSE +22 -0
  762. package/mac-agent/node_modules/fn.name/README.md +42 -0
  763. package/mac-agent/node_modules/fn.name/index.js +42 -0
  764. package/mac-agent/node_modules/fn.name/package.json +37 -0
  765. package/mac-agent/node_modules/fn.name/test.js +73 -0
  766. package/mac-agent/node_modules/follow-redirects/LICENSE +18 -0
  767. package/mac-agent/node_modules/follow-redirects/README.md +155 -0
  768. package/mac-agent/node_modules/follow-redirects/debug.js +15 -0
  769. package/mac-agent/node_modules/follow-redirects/http.js +1 -0
  770. package/mac-agent/node_modules/follow-redirects/https.js +1 -0
  771. package/mac-agent/node_modules/follow-redirects/index.js +686 -0
  772. package/mac-agent/node_modules/follow-redirects/package.json +58 -0
  773. package/mac-agent/node_modules/form-data/License +19 -0
  774. package/mac-agent/node_modules/form-data/README.md.bak +355 -0
  775. package/mac-agent/node_modules/form-data/Readme.md +355 -0
  776. package/mac-agent/node_modules/form-data/index.d.ts +62 -0
  777. package/mac-agent/node_modules/form-data/lib/browser.js +4 -0
  778. package/mac-agent/node_modules/form-data/lib/form_data.js +498 -0
  779. package/mac-agent/node_modules/form-data/lib/populate.js +10 -0
  780. package/mac-agent/node_modules/form-data/package.json +66 -0
  781. package/mac-agent/node_modules/fs-minipass/LICENSE +15 -0
  782. package/mac-agent/node_modules/fs-minipass/README.md +70 -0
  783. package/mac-agent/node_modules/fs-minipass/index.js +422 -0
  784. package/mac-agent/node_modules/fs-minipass/node_modules/minipass/LICENSE +15 -0
  785. package/mac-agent/node_modules/fs-minipass/node_modules/minipass/README.md +728 -0
  786. package/mac-agent/node_modules/fs-minipass/node_modules/minipass/index.d.ts +155 -0
  787. package/mac-agent/node_modules/fs-minipass/node_modules/minipass/index.js +649 -0
  788. package/mac-agent/node_modules/fs-minipass/node_modules/minipass/package.json +56 -0
  789. package/mac-agent/node_modules/fs-minipass/package.json +39 -0
  790. package/mac-agent/node_modules/fs.realpath/LICENSE +43 -0
  791. package/mac-agent/node_modules/fs.realpath/README.md +33 -0
  792. package/mac-agent/node_modules/fs.realpath/index.js +66 -0
  793. package/mac-agent/node_modules/fs.realpath/old.js +303 -0
  794. package/mac-agent/node_modules/fs.realpath/package.json +26 -0
  795. package/mac-agent/node_modules/fsevents/LICENSE +22 -0
  796. package/mac-agent/node_modules/fsevents/README.md +89 -0
  797. package/mac-agent/node_modules/fsevents/fsevents.d.ts +46 -0
  798. package/mac-agent/node_modules/fsevents/fsevents.js +83 -0
  799. package/mac-agent/node_modules/fsevents/fsevents.node +0 -0
  800. package/mac-agent/node_modules/fsevents/package.json +62 -0
  801. package/mac-agent/node_modules/function-bind/.eslintrc +21 -0
  802. package/mac-agent/node_modules/function-bind/.github/FUNDING.yml +12 -0
  803. package/mac-agent/node_modules/function-bind/.github/SECURITY.md +3 -0
  804. package/mac-agent/node_modules/function-bind/.nycrc +13 -0
  805. package/mac-agent/node_modules/function-bind/CHANGELOG.md +136 -0
  806. package/mac-agent/node_modules/function-bind/LICENSE +20 -0
  807. package/mac-agent/node_modules/function-bind/README.md +46 -0
  808. package/mac-agent/node_modules/function-bind/implementation.js +84 -0
  809. package/mac-agent/node_modules/function-bind/index.js +5 -0
  810. package/mac-agent/node_modules/function-bind/package.json +87 -0
  811. package/mac-agent/node_modules/function-bind/test/.eslintrc +9 -0
  812. package/mac-agent/node_modules/function-bind/test/index.js +252 -0
  813. package/mac-agent/node_modules/gauge/CHANGELOG.md +163 -0
  814. package/mac-agent/node_modules/gauge/LICENSE +13 -0
  815. package/mac-agent/node_modules/gauge/README.md +402 -0
  816. package/mac-agent/node_modules/gauge/base-theme.js +14 -0
  817. package/mac-agent/node_modules/gauge/error.js +24 -0
  818. package/mac-agent/node_modules/gauge/has-color.js +4 -0
  819. package/mac-agent/node_modules/gauge/index.js +233 -0
  820. package/mac-agent/node_modules/gauge/package.json +66 -0
  821. package/mac-agent/node_modules/gauge/plumbing.js +48 -0
  822. package/mac-agent/node_modules/gauge/process.js +3 -0
  823. package/mac-agent/node_modules/gauge/progress-bar.js +35 -0
  824. package/mac-agent/node_modules/gauge/render-template.js +178 -0
  825. package/mac-agent/node_modules/gauge/set-immediate.js +7 -0
  826. package/mac-agent/node_modules/gauge/set-interval.js +3 -0
  827. package/mac-agent/node_modules/gauge/spin.js +5 -0
  828. package/mac-agent/node_modules/gauge/template-item.js +72 -0
  829. package/mac-agent/node_modules/gauge/theme-set.js +114 -0
  830. package/mac-agent/node_modules/gauge/themes.js +56 -0
  831. package/mac-agent/node_modules/gauge/wide-truncate.js +25 -0
  832. package/mac-agent/node_modules/get-caller-file/LICENSE.md +6 -0
  833. package/mac-agent/node_modules/get-caller-file/README.md +4 -0
  834. package/mac-agent/node_modules/get-caller-file/index.js +20 -0
  835. package/mac-agent/node_modules/get-caller-file/package.json +31 -0
  836. package/mac-agent/node_modules/get-intrinsic/.eslintrc +42 -0
  837. package/mac-agent/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
  838. package/mac-agent/node_modules/get-intrinsic/.nycrc +9 -0
  839. package/mac-agent/node_modules/get-intrinsic/CHANGELOG.md +186 -0
  840. package/mac-agent/node_modules/get-intrinsic/LICENSE +21 -0
  841. package/mac-agent/node_modules/get-intrinsic/README.md +71 -0
  842. package/mac-agent/node_modules/get-intrinsic/index.js +378 -0
  843. package/mac-agent/node_modules/get-intrinsic/package.json +97 -0
  844. package/mac-agent/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
  845. package/mac-agent/node_modules/get-proto/.eslintrc +10 -0
  846. package/mac-agent/node_modules/get-proto/.github/FUNDING.yml +12 -0
  847. package/mac-agent/node_modules/get-proto/.nycrc +9 -0
  848. package/mac-agent/node_modules/get-proto/CHANGELOG.md +21 -0
  849. package/mac-agent/node_modules/get-proto/LICENSE +21 -0
  850. package/mac-agent/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
  851. package/mac-agent/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
  852. package/mac-agent/node_modules/get-proto/README.md +50 -0
  853. package/mac-agent/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
  854. package/mac-agent/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
  855. package/mac-agent/node_modules/get-proto/index.d.ts +5 -0
  856. package/mac-agent/node_modules/get-proto/index.js +27 -0
  857. package/mac-agent/node_modules/get-proto/package.json +81 -0
  858. package/mac-agent/node_modules/get-proto/test/index.js +68 -0
  859. package/mac-agent/node_modules/get-proto/tsconfig.json +9 -0
  860. package/mac-agent/node_modules/glob/LICENSE +21 -0
  861. package/mac-agent/node_modules/glob/README.md +378 -0
  862. package/mac-agent/node_modules/glob/common.js +238 -0
  863. package/mac-agent/node_modules/glob/glob.js +790 -0
  864. package/mac-agent/node_modules/glob/package.json +55 -0
  865. package/mac-agent/node_modules/glob/sync.js +486 -0
  866. package/mac-agent/node_modules/glob-parent/CHANGELOG.md +110 -0
  867. package/mac-agent/node_modules/glob-parent/LICENSE +15 -0
  868. package/mac-agent/node_modules/glob-parent/README.md +137 -0
  869. package/mac-agent/node_modules/glob-parent/index.js +42 -0
  870. package/mac-agent/node_modules/glob-parent/package.json +48 -0
  871. package/mac-agent/node_modules/gopd/.eslintrc +16 -0
  872. package/mac-agent/node_modules/gopd/.github/FUNDING.yml +12 -0
  873. package/mac-agent/node_modules/gopd/CHANGELOG.md +45 -0
  874. package/mac-agent/node_modules/gopd/LICENSE +21 -0
  875. package/mac-agent/node_modules/gopd/README.md +40 -0
  876. package/mac-agent/node_modules/gopd/gOPD.d.ts +1 -0
  877. package/mac-agent/node_modules/gopd/gOPD.js +4 -0
  878. package/mac-agent/node_modules/gopd/index.d.ts +5 -0
  879. package/mac-agent/node_modules/gopd/index.js +15 -0
  880. package/mac-agent/node_modules/gopd/package.json +77 -0
  881. package/mac-agent/node_modules/gopd/test/index.js +36 -0
  882. package/mac-agent/node_modules/gopd/tsconfig.json +9 -0
  883. package/mac-agent/node_modules/graceful-fs/LICENSE +15 -0
  884. package/mac-agent/node_modules/graceful-fs/README.md +143 -0
  885. package/mac-agent/node_modules/graceful-fs/clone.js +23 -0
  886. package/mac-agent/node_modules/graceful-fs/graceful-fs.js +448 -0
  887. package/mac-agent/node_modules/graceful-fs/legacy-streams.js +118 -0
  888. package/mac-agent/node_modules/graceful-fs/package.json +53 -0
  889. package/mac-agent/node_modules/graceful-fs/polyfills.js +355 -0
  890. package/mac-agent/node_modules/has-flag/index.js +8 -0
  891. package/mac-agent/node_modules/has-flag/license +9 -0
  892. package/mac-agent/node_modules/has-flag/package.json +44 -0
  893. package/mac-agent/node_modules/has-flag/readme.md +70 -0
  894. package/mac-agent/node_modules/has-property-descriptors/.eslintrc +13 -0
  895. package/mac-agent/node_modules/has-property-descriptors/.github/FUNDING.yml +12 -0
  896. package/mac-agent/node_modules/has-property-descriptors/.nycrc +9 -0
  897. package/mac-agent/node_modules/has-property-descriptors/CHANGELOG.md +35 -0
  898. package/mac-agent/node_modules/has-property-descriptors/LICENSE +21 -0
  899. package/mac-agent/node_modules/has-property-descriptors/README.md +43 -0
  900. package/mac-agent/node_modules/has-property-descriptors/index.js +22 -0
  901. package/mac-agent/node_modules/has-property-descriptors/package.json +77 -0
  902. package/mac-agent/node_modules/has-property-descriptors/test/index.js +57 -0
  903. package/mac-agent/node_modules/has-symbols/.eslintrc +11 -0
  904. package/mac-agent/node_modules/has-symbols/.github/FUNDING.yml +12 -0
  905. package/mac-agent/node_modules/has-symbols/.nycrc +9 -0
  906. package/mac-agent/node_modules/has-symbols/CHANGELOG.md +91 -0
  907. package/mac-agent/node_modules/has-symbols/LICENSE +21 -0
  908. package/mac-agent/node_modules/has-symbols/README.md +46 -0
  909. package/mac-agent/node_modules/has-symbols/index.d.ts +3 -0
  910. package/mac-agent/node_modules/has-symbols/index.js +14 -0
  911. package/mac-agent/node_modules/has-symbols/package.json +111 -0
  912. package/mac-agent/node_modules/has-symbols/shams.d.ts +3 -0
  913. package/mac-agent/node_modules/has-symbols/shams.js +45 -0
  914. package/mac-agent/node_modules/has-symbols/test/index.js +22 -0
  915. package/mac-agent/node_modules/has-symbols/test/shams/core-js.js +29 -0
  916. package/mac-agent/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
  917. package/mac-agent/node_modules/has-symbols/test/tests.js +58 -0
  918. package/mac-agent/node_modules/has-symbols/tsconfig.json +10 -0
  919. package/mac-agent/node_modules/has-tostringtag/.eslintrc +5 -0
  920. package/mac-agent/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
  921. package/mac-agent/node_modules/has-tostringtag/.nycrc +13 -0
  922. package/mac-agent/node_modules/has-tostringtag/CHANGELOG.md +42 -0
  923. package/mac-agent/node_modules/has-tostringtag/LICENSE +21 -0
  924. package/mac-agent/node_modules/has-tostringtag/README.md +46 -0
  925. package/mac-agent/node_modules/has-tostringtag/index.d.ts +3 -0
  926. package/mac-agent/node_modules/has-tostringtag/index.js +8 -0
  927. package/mac-agent/node_modules/has-tostringtag/package.json +108 -0
  928. package/mac-agent/node_modules/has-tostringtag/shams.d.ts +3 -0
  929. package/mac-agent/node_modules/has-tostringtag/shams.js +8 -0
  930. package/mac-agent/node_modules/has-tostringtag/test/index.js +21 -0
  931. package/mac-agent/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
  932. package/mac-agent/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
  933. package/mac-agent/node_modules/has-tostringtag/test/tests.js +15 -0
  934. package/mac-agent/node_modules/has-tostringtag/tsconfig.json +49 -0
  935. package/mac-agent/node_modules/has-unicode/LICENSE +14 -0
  936. package/mac-agent/node_modules/has-unicode/README.md +43 -0
  937. package/mac-agent/node_modules/has-unicode/index.js +16 -0
  938. package/mac-agent/node_modules/has-unicode/package.json +30 -0
  939. package/mac-agent/node_modules/hasown/.eslintrc +5 -0
  940. package/mac-agent/node_modules/hasown/.github/FUNDING.yml +12 -0
  941. package/mac-agent/node_modules/hasown/.nycrc +13 -0
  942. package/mac-agent/node_modules/hasown/CHANGELOG.md +40 -0
  943. package/mac-agent/node_modules/hasown/LICENSE +21 -0
  944. package/mac-agent/node_modules/hasown/README.md +40 -0
  945. package/mac-agent/node_modules/hasown/index.d.ts +3 -0
  946. package/mac-agent/node_modules/hasown/index.js +8 -0
  947. package/mac-agent/node_modules/hasown/package.json +92 -0
  948. package/mac-agent/node_modules/hasown/tsconfig.json +6 -0
  949. package/mac-agent/node_modules/hosted-git-info/CHANGELOG.md +151 -0
  950. package/mac-agent/node_modules/hosted-git-info/LICENSE +13 -0
  951. package/mac-agent/node_modules/hosted-git-info/README.md +133 -0
  952. package/mac-agent/node_modules/hosted-git-info/git-host-info.js +79 -0
  953. package/mac-agent/node_modules/hosted-git-info/git-host.js +156 -0
  954. package/mac-agent/node_modules/hosted-git-info/index.js +148 -0
  955. package/mac-agent/node_modules/hosted-git-info/package.json +40 -0
  956. package/mac-agent/node_modules/https-proxy-agent/README.md +137 -0
  957. package/mac-agent/node_modules/https-proxy-agent/dist/agent.d.ts +30 -0
  958. package/mac-agent/node_modules/https-proxy-agent/dist/agent.js +177 -0
  959. package/mac-agent/node_modules/https-proxy-agent/dist/agent.js.map +1 -0
  960. package/mac-agent/node_modules/https-proxy-agent/dist/index.d.ts +23 -0
  961. package/mac-agent/node_modules/https-proxy-agent/dist/index.js +14 -0
  962. package/mac-agent/node_modules/https-proxy-agent/dist/index.js.map +1 -0
  963. package/mac-agent/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +7 -0
  964. package/mac-agent/node_modules/https-proxy-agent/dist/parse-proxy-response.js +66 -0
  965. package/mac-agent/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
  966. package/mac-agent/node_modules/https-proxy-agent/package.json +56 -0
  967. package/mac-agent/node_modules/ignore-by-default/LICENSE +14 -0
  968. package/mac-agent/node_modules/ignore-by-default/README.md +26 -0
  969. package/mac-agent/node_modules/ignore-by-default/index.js +12 -0
  970. package/mac-agent/node_modules/ignore-by-default/package.json +34 -0
  971. package/mac-agent/node_modules/inflight/LICENSE +15 -0
  972. package/mac-agent/node_modules/inflight/README.md +37 -0
  973. package/mac-agent/node_modules/inflight/inflight.js +54 -0
  974. package/mac-agent/node_modules/inflight/package.json +29 -0
  975. package/mac-agent/node_modules/inherits/LICENSE +16 -0
  976. package/mac-agent/node_modules/inherits/README.md +42 -0
  977. package/mac-agent/node_modules/inherits/inherits.js +9 -0
  978. package/mac-agent/node_modules/inherits/inherits_browser.js +27 -0
  979. package/mac-agent/node_modules/inherits/package.json +29 -0
  980. package/mac-agent/node_modules/invert-kv/index.js +15 -0
  981. package/mac-agent/node_modules/invert-kv/package.json +33 -0
  982. package/mac-agent/node_modules/invert-kv/readme.md +25 -0
  983. package/mac-agent/node_modules/is-arrayish/LICENSE +21 -0
  984. package/mac-agent/node_modules/is-arrayish/README.md +16 -0
  985. package/mac-agent/node_modules/is-arrayish/index.js +9 -0
  986. package/mac-agent/node_modules/is-arrayish/package.json +45 -0
  987. package/mac-agent/node_modules/is-arrayish/yarn-error.log +1443 -0
  988. package/mac-agent/node_modules/is-binary-path/index.d.ts +17 -0
  989. package/mac-agent/node_modules/is-binary-path/index.js +7 -0
  990. package/mac-agent/node_modules/is-binary-path/license +9 -0
  991. package/mac-agent/node_modules/is-binary-path/package.json +40 -0
  992. package/mac-agent/node_modules/is-binary-path/readme.md +34 -0
  993. package/mac-agent/node_modules/is-core-module/.eslintrc +18 -0
  994. package/mac-agent/node_modules/is-core-module/.nycrc +9 -0
  995. package/mac-agent/node_modules/is-core-module/CHANGELOG.md +218 -0
  996. package/mac-agent/node_modules/is-core-module/LICENSE +20 -0
  997. package/mac-agent/node_modules/is-core-module/README.md +40 -0
  998. package/mac-agent/node_modules/is-core-module/core.json +162 -0
  999. package/mac-agent/node_modules/is-core-module/index.js +69 -0
  1000. package/mac-agent/node_modules/is-core-module/package.json +76 -0
  1001. package/mac-agent/node_modules/is-core-module/test/index.js +157 -0
  1002. package/mac-agent/node_modules/is-extglob/LICENSE +21 -0
  1003. package/mac-agent/node_modules/is-extglob/README.md +107 -0
  1004. package/mac-agent/node_modules/is-extglob/index.js +20 -0
  1005. package/mac-agent/node_modules/is-extglob/package.json +69 -0
  1006. package/mac-agent/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
  1007. package/mac-agent/node_modules/is-fullwidth-code-point/index.js +50 -0
  1008. package/mac-agent/node_modules/is-fullwidth-code-point/license +9 -0
  1009. package/mac-agent/node_modules/is-fullwidth-code-point/package.json +42 -0
  1010. package/mac-agent/node_modules/is-fullwidth-code-point/readme.md +39 -0
  1011. package/mac-agent/node_modules/is-glob/LICENSE +21 -0
  1012. package/mac-agent/node_modules/is-glob/README.md +206 -0
  1013. package/mac-agent/node_modules/is-glob/index.js +150 -0
  1014. package/mac-agent/node_modules/is-glob/package.json +81 -0
  1015. package/mac-agent/node_modules/is-number/LICENSE +21 -0
  1016. package/mac-agent/node_modules/is-number/README.md +187 -0
  1017. package/mac-agent/node_modules/is-number/index.js +18 -0
  1018. package/mac-agent/node_modules/is-number/package.json +82 -0
  1019. package/mac-agent/node_modules/is-stream/index.d.ts +79 -0
  1020. package/mac-agent/node_modules/is-stream/index.js +28 -0
  1021. package/mac-agent/node_modules/is-stream/license +9 -0
  1022. package/mac-agent/node_modules/is-stream/package.json +42 -0
  1023. package/mac-agent/node_modules/is-stream/readme.md +60 -0
  1024. package/mac-agent/node_modules/is-utf8/LICENSE +9 -0
  1025. package/mac-agent/node_modules/is-utf8/README.md +16 -0
  1026. package/mac-agent/node_modules/is-utf8/is-utf8.js +76 -0
  1027. package/mac-agent/node_modules/is-utf8/package.json +19 -0
  1028. package/mac-agent/node_modules/isexe/LICENSE +15 -0
  1029. package/mac-agent/node_modules/isexe/README.md +51 -0
  1030. package/mac-agent/node_modules/isexe/index.js +57 -0
  1031. package/mac-agent/node_modules/isexe/mode.js +41 -0
  1032. package/mac-agent/node_modules/isexe/package.json +31 -0
  1033. package/mac-agent/node_modules/isexe/test/basic.js +221 -0
  1034. package/mac-agent/node_modules/isexe/windows.js +42 -0
  1035. package/mac-agent/node_modules/kuler/.travis.yml +5 -0
  1036. package/mac-agent/node_modules/kuler/LICENSE +7 -0
  1037. package/mac-agent/node_modules/kuler/README.md +40 -0
  1038. package/mac-agent/node_modules/kuler/index.js +118 -0
  1039. package/mac-agent/node_modules/kuler/package.json +34 -0
  1040. package/mac-agent/node_modules/kuler/test.js +23 -0
  1041. package/mac-agent/node_modules/lcid/index.js +22 -0
  1042. package/mac-agent/node_modules/lcid/lcid.json +203 -0
  1043. package/mac-agent/node_modules/lcid/license +21 -0
  1044. package/mac-agent/node_modules/lcid/package.json +46 -0
  1045. package/mac-agent/node_modules/lcid/readme.md +35 -0
  1046. package/mac-agent/node_modules/load-json-file/index.js +21 -0
  1047. package/mac-agent/node_modules/load-json-file/license +21 -0
  1048. package/mac-agent/node_modules/load-json-file/package.json +46 -0
  1049. package/mac-agent/node_modules/load-json-file/readme.md +45 -0
  1050. package/mac-agent/node_modules/logform/.babelrc +3 -0
  1051. package/mac-agent/node_modules/logform/.eslintrc +7 -0
  1052. package/mac-agent/node_modules/logform/.gitattributes +1 -0
  1053. package/mac-agent/node_modules/logform/CHANGELOG.md +309 -0
  1054. package/mac-agent/node_modules/logform/LICENSE +21 -0
  1055. package/mac-agent/node_modules/logform/README.md +653 -0
  1056. package/mac-agent/node_modules/logform/align.js +14 -0
  1057. package/mac-agent/node_modules/logform/browser.js +38 -0
  1058. package/mac-agent/node_modules/logform/cli.js +52 -0
  1059. package/mac-agent/node_modules/logform/colorize.js +122 -0
  1060. package/mac-agent/node_modules/logform/combine.js +66 -0
  1061. package/mac-agent/node_modules/logform/dist/align.js +14 -0
  1062. package/mac-agent/node_modules/logform/dist/browser.js +72 -0
  1063. package/mac-agent/node_modules/logform/dist/cli.js +62 -0
  1064. package/mac-agent/node_modules/logform/dist/colorize.js +131 -0
  1065. package/mac-agent/node_modules/logform/dist/combine.js +62 -0
  1066. package/mac-agent/node_modules/logform/dist/errors.js +44 -0
  1067. package/mac-agent/node_modules/logform/dist/format.js +70 -0
  1068. package/mac-agent/node_modules/logform/dist/index.js +86 -0
  1069. package/mac-agent/node_modules/logform/dist/json.js +30 -0
  1070. package/mac-agent/node_modules/logform/dist/label.js +18 -0
  1071. package/mac-agent/node_modules/logform/dist/levels.js +13 -0
  1072. package/mac-agent/node_modules/logform/dist/logstash.js +28 -0
  1073. package/mac-agent/node_modules/logform/dist/metadata.js +56 -0
  1074. package/mac-agent/node_modules/logform/dist/ms.js +18 -0
  1075. package/mac-agent/node_modules/logform/dist/pad-levels.js +110 -0
  1076. package/mac-agent/node_modules/logform/dist/pretty-print.js +32 -0
  1077. package/mac-agent/node_modules/logform/dist/printf.js +33 -0
  1078. package/mac-agent/node_modules/logform/dist/simple.js +32 -0
  1079. package/mac-agent/node_modules/logform/dist/splat.js +143 -0
  1080. package/mac-agent/node_modules/logform/dist/timestamp.js +26 -0
  1081. package/mac-agent/node_modules/logform/dist/uncolorize.js +25 -0
  1082. package/mac-agent/node_modules/logform/errors.js +41 -0
  1083. package/mac-agent/node_modules/logform/format.js +52 -0
  1084. package/mac-agent/node_modules/logform/index.d.ts +201 -0
  1085. package/mac-agent/node_modules/logform/index.js +52 -0
  1086. package/mac-agent/node_modules/logform/json.js +30 -0
  1087. package/mac-agent/node_modules/logform/label.js +19 -0
  1088. package/mac-agent/node_modules/logform/levels.js +12 -0
  1089. package/mac-agent/node_modules/logform/logstash.js +29 -0
  1090. package/mac-agent/node_modules/logform/metadata.js +61 -0
  1091. package/mac-agent/node_modules/logform/ms.js +18 -0
  1092. package/mac-agent/node_modules/logform/package.json +53 -0
  1093. package/mac-agent/node_modules/logform/pad-levels.js +83 -0
  1094. package/mac-agent/node_modules/logform/pretty-print.js +29 -0
  1095. package/mac-agent/node_modules/logform/printf.js +26 -0
  1096. package/mac-agent/node_modules/logform/simple.js +33 -0
  1097. package/mac-agent/node_modules/logform/splat.js +132 -0
  1098. package/mac-agent/node_modules/logform/timestamp.js +30 -0
  1099. package/mac-agent/node_modules/logform/tsconfig.json +22 -0
  1100. package/mac-agent/node_modules/logform/uncolorize.js +27 -0
  1101. package/mac-agent/node_modules/make-dir/index.d.ts +66 -0
  1102. package/mac-agent/node_modules/make-dir/index.js +156 -0
  1103. package/mac-agent/node_modules/make-dir/license +9 -0
  1104. package/mac-agent/node_modules/make-dir/node_modules/semver/LICENSE +15 -0
  1105. package/mac-agent/node_modules/make-dir/node_modules/semver/README.md +443 -0
  1106. package/mac-agent/node_modules/make-dir/node_modules/semver/bin/semver.js +174 -0
  1107. package/mac-agent/node_modules/make-dir/node_modules/semver/package.json +38 -0
  1108. package/mac-agent/node_modules/make-dir/node_modules/semver/range.bnf +16 -0
  1109. package/mac-agent/node_modules/make-dir/node_modules/semver/semver.js +1643 -0
  1110. package/mac-agent/node_modules/make-dir/package.json +59 -0
  1111. package/mac-agent/node_modules/make-dir/readme.md +125 -0
  1112. package/mac-agent/node_modules/math-intrinsics/.eslintrc +16 -0
  1113. package/mac-agent/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
  1114. package/mac-agent/node_modules/math-intrinsics/CHANGELOG.md +24 -0
  1115. package/mac-agent/node_modules/math-intrinsics/LICENSE +21 -0
  1116. package/mac-agent/node_modules/math-intrinsics/README.md +50 -0
  1117. package/mac-agent/node_modules/math-intrinsics/abs.d.ts +1 -0
  1118. package/mac-agent/node_modules/math-intrinsics/abs.js +4 -0
  1119. package/mac-agent/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
  1120. package/mac-agent/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
  1121. package/mac-agent/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
  1122. package/mac-agent/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
  1123. package/mac-agent/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
  1124. package/mac-agent/node_modules/math-intrinsics/constants/maxValue.js +5 -0
  1125. package/mac-agent/node_modules/math-intrinsics/floor.d.ts +1 -0
  1126. package/mac-agent/node_modules/math-intrinsics/floor.js +4 -0
  1127. package/mac-agent/node_modules/math-intrinsics/isFinite.d.ts +3 -0
  1128. package/mac-agent/node_modules/math-intrinsics/isFinite.js +12 -0
  1129. package/mac-agent/node_modules/math-intrinsics/isInteger.d.ts +3 -0
  1130. package/mac-agent/node_modules/math-intrinsics/isInteger.js +16 -0
  1131. package/mac-agent/node_modules/math-intrinsics/isNaN.d.ts +1 -0
  1132. package/mac-agent/node_modules/math-intrinsics/isNaN.js +6 -0
  1133. package/mac-agent/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
  1134. package/mac-agent/node_modules/math-intrinsics/isNegativeZero.js +6 -0
  1135. package/mac-agent/node_modules/math-intrinsics/max.d.ts +1 -0
  1136. package/mac-agent/node_modules/math-intrinsics/max.js +4 -0
  1137. package/mac-agent/node_modules/math-intrinsics/min.d.ts +1 -0
  1138. package/mac-agent/node_modules/math-intrinsics/min.js +4 -0
  1139. package/mac-agent/node_modules/math-intrinsics/mod.d.ts +3 -0
  1140. package/mac-agent/node_modules/math-intrinsics/mod.js +9 -0
  1141. package/mac-agent/node_modules/math-intrinsics/package.json +86 -0
  1142. package/mac-agent/node_modules/math-intrinsics/pow.d.ts +1 -0
  1143. package/mac-agent/node_modules/math-intrinsics/pow.js +4 -0
  1144. package/mac-agent/node_modules/math-intrinsics/round.d.ts +1 -0
  1145. package/mac-agent/node_modules/math-intrinsics/round.js +4 -0
  1146. package/mac-agent/node_modules/math-intrinsics/sign.d.ts +3 -0
  1147. package/mac-agent/node_modules/math-intrinsics/sign.js +11 -0
  1148. package/mac-agent/node_modules/math-intrinsics/test/index.js +192 -0
  1149. package/mac-agent/node_modules/math-intrinsics/tsconfig.json +3 -0
  1150. package/mac-agent/node_modules/mime-db/HISTORY.md +507 -0
  1151. package/mac-agent/node_modules/mime-db/LICENSE +23 -0
  1152. package/mac-agent/node_modules/mime-db/README.md +100 -0
  1153. package/mac-agent/node_modules/mime-db/db.json +8519 -0
  1154. package/mac-agent/node_modules/mime-db/index.js +12 -0
  1155. package/mac-agent/node_modules/mime-db/package.json +60 -0
  1156. package/mac-agent/node_modules/mime-types/HISTORY.md +397 -0
  1157. package/mac-agent/node_modules/mime-types/LICENSE +23 -0
  1158. package/mac-agent/node_modules/mime-types/README.md +113 -0
  1159. package/mac-agent/node_modules/mime-types/index.js +188 -0
  1160. package/mac-agent/node_modules/mime-types/package.json +44 -0
  1161. package/mac-agent/node_modules/minimatch/LICENSE +15 -0
  1162. package/mac-agent/node_modules/minimatch/README.md +230 -0
  1163. package/mac-agent/node_modules/minimatch/minimatch.js +947 -0
  1164. package/mac-agent/node_modules/minimatch/package.json +33 -0
  1165. package/mac-agent/node_modules/minipass/LICENSE +15 -0
  1166. package/mac-agent/node_modules/minipass/README.md +769 -0
  1167. package/mac-agent/node_modules/minipass/index.d.ts +152 -0
  1168. package/mac-agent/node_modules/minipass/index.js +702 -0
  1169. package/mac-agent/node_modules/minipass/index.mjs +702 -0
  1170. package/mac-agent/node_modules/minipass/package.json +76 -0
  1171. package/mac-agent/node_modules/minizlib/LICENSE +26 -0
  1172. package/mac-agent/node_modules/minizlib/README.md +60 -0
  1173. package/mac-agent/node_modules/minizlib/constants.js +115 -0
  1174. package/mac-agent/node_modules/minizlib/index.js +348 -0
  1175. package/mac-agent/node_modules/minizlib/node_modules/minipass/LICENSE +15 -0
  1176. package/mac-agent/node_modules/minizlib/node_modules/minipass/README.md +728 -0
  1177. package/mac-agent/node_modules/minizlib/node_modules/minipass/index.d.ts +155 -0
  1178. package/mac-agent/node_modules/minizlib/node_modules/minipass/index.js +649 -0
  1179. package/mac-agent/node_modules/minizlib/node_modules/minipass/package.json +56 -0
  1180. package/mac-agent/node_modules/minizlib/package.json +42 -0
  1181. package/mac-agent/node_modules/mkdirp/CHANGELOG.md +15 -0
  1182. package/mac-agent/node_modules/mkdirp/LICENSE +21 -0
  1183. package/mac-agent/node_modules/mkdirp/bin/cmd.js +68 -0
  1184. package/mac-agent/node_modules/mkdirp/index.js +31 -0
  1185. package/mac-agent/node_modules/mkdirp/lib/find-made.js +29 -0
  1186. package/mac-agent/node_modules/mkdirp/lib/mkdirp-manual.js +64 -0
  1187. package/mac-agent/node_modules/mkdirp/lib/mkdirp-native.js +39 -0
  1188. package/mac-agent/node_modules/mkdirp/lib/opts-arg.js +23 -0
  1189. package/mac-agent/node_modules/mkdirp/lib/path-arg.js +29 -0
  1190. package/mac-agent/node_modules/mkdirp/lib/use-native.js +10 -0
  1191. package/mac-agent/node_modules/mkdirp/package.json +44 -0
  1192. package/mac-agent/node_modules/mkdirp/readme.markdown +266 -0
  1193. package/mac-agent/node_modules/ms/index.js +162 -0
  1194. package/mac-agent/node_modules/ms/license.md +21 -0
  1195. package/mac-agent/node_modules/ms/package.json +38 -0
  1196. package/mac-agent/node_modules/ms/readme.md +59 -0
  1197. package/mac-agent/node_modules/nan/.github/workflows/ci.yml +52 -0
  1198. package/mac-agent/node_modules/nan/CHANGELOG.md +577 -0
  1199. package/mac-agent/node_modules/nan/CMakeLists.txt +138 -0
  1200. package/mac-agent/node_modules/nan/LICENSE.md +9 -0
  1201. package/mac-agent/node_modules/nan/README.md +455 -0
  1202. package/mac-agent/node_modules/nan/doc/asyncworker.md +146 -0
  1203. package/mac-agent/node_modules/nan/doc/buffers.md +54 -0
  1204. package/mac-agent/node_modules/nan/doc/callback.md +76 -0
  1205. package/mac-agent/node_modules/nan/doc/converters.md +41 -0
  1206. package/mac-agent/node_modules/nan/doc/errors.md +226 -0
  1207. package/mac-agent/node_modules/nan/doc/json.md +62 -0
  1208. package/mac-agent/node_modules/nan/doc/maybe_types.md +583 -0
  1209. package/mac-agent/node_modules/nan/doc/methods.md +672 -0
  1210. package/mac-agent/node_modules/nan/doc/new.md +147 -0
  1211. package/mac-agent/node_modules/nan/doc/node_misc.md +123 -0
  1212. package/mac-agent/node_modules/nan/doc/object_wrappers.md +263 -0
  1213. package/mac-agent/node_modules/nan/doc/persistent.md +296 -0
  1214. package/mac-agent/node_modules/nan/doc/scopes.md +73 -0
  1215. package/mac-agent/node_modules/nan/doc/script.md +58 -0
  1216. package/mac-agent/node_modules/nan/doc/string_bytes.md +62 -0
  1217. package/mac-agent/node_modules/nan/doc/v8_internals.md +199 -0
  1218. package/mac-agent/node_modules/nan/doc/v8_misc.md +85 -0
  1219. package/mac-agent/node_modules/nan/include_dirs.js +1 -0
  1220. package/mac-agent/node_modules/nan/nan.h +3049 -0
  1221. package/mac-agent/node_modules/nan/nan_callbacks.h +128 -0
  1222. package/mac-agent/node_modules/nan/nan_callbacks_12_inl.h +676 -0
  1223. package/mac-agent/node_modules/nan/nan_callbacks_pre_12_inl.h +520 -0
  1224. package/mac-agent/node_modules/nan/nan_converters.h +72 -0
  1225. package/mac-agent/node_modules/nan/nan_converters_43_inl.h +68 -0
  1226. package/mac-agent/node_modules/nan/nan_converters_pre_43_inl.h +42 -0
  1227. package/mac-agent/node_modules/nan/nan_define_own_property_helper.h +29 -0
  1228. package/mac-agent/node_modules/nan/nan_implementation_12_inl.h +430 -0
  1229. package/mac-agent/node_modules/nan/nan_implementation_pre_12_inl.h +263 -0
  1230. package/mac-agent/node_modules/nan/nan_json.h +166 -0
  1231. package/mac-agent/node_modules/nan/nan_maybe_43_inl.h +356 -0
  1232. package/mac-agent/node_modules/nan/nan_maybe_pre_43_inl.h +268 -0
  1233. package/mac-agent/node_modules/nan/nan_new.h +340 -0
  1234. package/mac-agent/node_modules/nan/nan_object_wrap.h +156 -0
  1235. package/mac-agent/node_modules/nan/nan_persistent_12_inl.h +132 -0
  1236. package/mac-agent/node_modules/nan/nan_persistent_pre_12_inl.h +242 -0
  1237. package/mac-agent/node_modules/nan/nan_private.h +73 -0
  1238. package/mac-agent/node_modules/nan/nan_scriptorigin.h +95 -0
  1239. package/mac-agent/node_modules/nan/nan_string_bytes.h +305 -0
  1240. package/mac-agent/node_modules/nan/nan_typedarray_contents.h +96 -0
  1241. package/mac-agent/node_modules/nan/nan_weak.h +437 -0
  1242. package/mac-agent/node_modules/nan/package.json +38 -0
  1243. package/mac-agent/node_modules/nan/tools/1to2.js +412 -0
  1244. package/mac-agent/node_modules/nan/tools/README.md +14 -0
  1245. package/mac-agent/node_modules/nan/tools/package.json +19 -0
  1246. package/mac-agent/node_modules/node-addon-api/.editorconfig +8 -0
  1247. package/mac-agent/node_modules/node-addon-api/.travis.yml +65 -0
  1248. package/mac-agent/node_modules/node-addon-api/CHANGELOG.md +325 -0
  1249. package/mac-agent/node_modules/node-addon-api/CODE_OF_CONDUCT.md +4 -0
  1250. package/mac-agent/node_modules/node-addon-api/CONTRIBUTING.md +66 -0
  1251. package/mac-agent/node_modules/node-addon-api/LICENSE.md +13 -0
  1252. package/mac-agent/node_modules/node-addon-api/README.md +200 -0
  1253. package/mac-agent/node_modules/node-addon-api/appveyor.yml +48 -0
  1254. package/mac-agent/node_modules/node-addon-api/doc/Doxyfile +2450 -0
  1255. package/mac-agent/node_modules/node-addon-api/doc/array_buffer.md +129 -0
  1256. package/mac-agent/node_modules/node-addon-api/doc/async_context.md +76 -0
  1257. package/mac-agent/node_modules/node-addon-api/doc/async_operations.md +31 -0
  1258. package/mac-agent/node_modules/node-addon-api/doc/async_worker.md +397 -0
  1259. package/mac-agent/node_modules/node-addon-api/doc/basic_types.md +415 -0
  1260. package/mac-agent/node_modules/node-addon-api/doc/bigint.md +92 -0
  1261. package/mac-agent/node_modules/node-addon-api/doc/boolean.md +64 -0
  1262. package/mac-agent/node_modules/node-addon-api/doc/buffer.md +140 -0
  1263. package/mac-agent/node_modules/node-addon-api/doc/callback_scope.md +54 -0
  1264. package/mac-agent/node_modules/node-addon-api/doc/callbackinfo.md +97 -0
  1265. package/mac-agent/node_modules/node-addon-api/doc/checker-tool.md +32 -0
  1266. package/mac-agent/node_modules/node-addon-api/doc/class_property_descriptor.md +118 -0
  1267. package/mac-agent/node_modules/node-addon-api/doc/cmake-js.md +19 -0
  1268. package/mac-agent/node_modules/node-addon-api/doc/conversion-tool.md +28 -0
  1269. package/mac-agent/node_modules/node-addon-api/doc/creating_a_release.md +62 -0
  1270. package/mac-agent/node_modules/node-addon-api/doc/dataview.md +244 -0
  1271. package/mac-agent/node_modules/node-addon-api/doc/env.md +63 -0
  1272. package/mac-agent/node_modules/node-addon-api/doc/error.md +115 -0
  1273. package/mac-agent/node_modules/node-addon-api/doc/error_handling.md +186 -0
  1274. package/mac-agent/node_modules/node-addon-api/doc/escapable_handle_scope.md +82 -0
  1275. package/mac-agent/node_modules/node-addon-api/doc/external.md +59 -0
  1276. package/mac-agent/node_modules/node-addon-api/doc/function.md +294 -0
  1277. package/mac-agent/node_modules/node-addon-api/doc/function_reference.md +238 -0
  1278. package/mac-agent/node_modules/node-addon-api/doc/generator.md +13 -0
  1279. package/mac-agent/node_modules/node-addon-api/doc/handle_scope.md +65 -0
  1280. package/mac-agent/node_modules/node-addon-api/doc/memory_management.md +27 -0
  1281. package/mac-agent/node_modules/node-addon-api/doc/node-gyp.md +82 -0
  1282. package/mac-agent/node_modules/node-addon-api/doc/number.md +163 -0
  1283. package/mac-agent/node_modules/node-addon-api/doc/object.md +202 -0
  1284. package/mac-agent/node_modules/node-addon-api/doc/object_lifetime_management.md +83 -0
  1285. package/mac-agent/node_modules/node-addon-api/doc/object_reference.md +117 -0
  1286. package/mac-agent/node_modules/node-addon-api/doc/object_wrap.md +546 -0
  1287. package/mac-agent/node_modules/node-addon-api/doc/prebuild_tools.md +16 -0
  1288. package/mac-agent/node_modules/node-addon-api/doc/promises.md +74 -0
  1289. package/mac-agent/node_modules/node-addon-api/doc/property_descriptor.md +231 -0
  1290. package/mac-agent/node_modules/node-addon-api/doc/range_error.md +59 -0
  1291. package/mac-agent/node_modules/node-addon-api/doc/reference.md +111 -0
  1292. package/mac-agent/node_modules/node-addon-api/doc/setup.md +82 -0
  1293. package/mac-agent/node_modules/node-addon-api/doc/string.md +89 -0
  1294. package/mac-agent/node_modules/node-addon-api/doc/symbol.md +44 -0
  1295. package/mac-agent/node_modules/node-addon-api/doc/threadsafe_function.md +303 -0
  1296. package/mac-agent/node_modules/node-addon-api/doc/type_error.md +59 -0
  1297. package/mac-agent/node_modules/node-addon-api/doc/typed_array.md +74 -0
  1298. package/mac-agent/node_modules/node-addon-api/doc/typed_array_of.md +133 -0
  1299. package/mac-agent/node_modules/node-addon-api/doc/value.md +269 -0
  1300. package/mac-agent/node_modules/node-addon-api/doc/version_management.md +43 -0
  1301. package/mac-agent/node_modules/node-addon-api/doc/working_with_javascript_values.md +14 -0
  1302. package/mac-agent/node_modules/node-addon-api/external-napi/node_api.h +7 -0
  1303. package/mac-agent/node_modules/node-addon-api/index.js +45 -0
  1304. package/mac-agent/node_modules/node-addon-api/napi-inl.deprecated.h +192 -0
  1305. package/mac-agent/node_modules/node-addon-api/napi-inl.h +4097 -0
  1306. package/mac-agent/node_modules/node-addon-api/napi.h +2053 -0
  1307. package/mac-agent/node_modules/node-addon-api/package.json +79 -0
  1308. package/mac-agent/node_modules/node-addon-api/src/node_api.cc +3655 -0
  1309. package/mac-agent/node_modules/node-addon-api/src/node_api.gyp +21 -0
  1310. package/mac-agent/node_modules/node-addon-api/src/node_api.h +588 -0
  1311. package/mac-agent/node_modules/node-addon-api/src/node_api_types.h +115 -0
  1312. package/mac-agent/node_modules/node-addon-api/src/node_internals.cc +142 -0
  1313. package/mac-agent/node_modules/node-addon-api/src/node_internals.h +157 -0
  1314. package/mac-agent/node_modules/node-addon-api/src/nothing.c +0 -0
  1315. package/mac-agent/node_modules/node-addon-api/src/util-inl.h +38 -0
  1316. package/mac-agent/node_modules/node-addon-api/src/util.h +7 -0
  1317. package/mac-agent/node_modules/node-addon-api/tools/README.md +67 -0
  1318. package/mac-agent/node_modules/node-addon-api/tools/check-napi.js +100 -0
  1319. package/mac-agent/node_modules/node-addon-api/tools/conversion.js +313 -0
  1320. package/mac-agent/node_modules/node-cmake/.jshintrc +20 -0
  1321. package/mac-agent/node_modules/node-cmake/LICENSE.txt +15 -0
  1322. package/mac-agent/node_modules/node-cmake/NodeJS.cmake +637 -0
  1323. package/mac-agent/node_modules/node-cmake/README.md +93 -0
  1324. package/mac-agent/node_modules/node-cmake/docs/Nan.md +9 -0
  1325. package/mac-agent/node_modules/node-cmake/docs/NcmakeManual.md +83 -0
  1326. package/mac-agent/node_modules/node-cmake/docs/NodeJSCmakeManual.md +107 -0
  1327. package/mac-agent/node_modules/node-cmake/example/CMakeLists.txt +8 -0
  1328. package/mac-agent/node_modules/node-cmake/example/README.md +28 -0
  1329. package/mac-agent/node_modules/node-cmake/example/index.js +2 -0
  1330. package/mac-agent/node_modules/node-cmake/example/package.json +20 -0
  1331. package/mac-agent/node_modules/node-cmake/example/src/hello.cc +16 -0
  1332. package/mac-agent/node_modules/node-cmake/index.js +44 -0
  1333. package/mac-agent/node_modules/node-cmake/lib/embed.js +17 -0
  1334. package/mac-agent/node_modules/node-cmake/lib/ncmake.js +284 -0
  1335. package/mac-agent/node_modules/node-cmake/package.json +34 -0
  1336. package/mac-agent/node_modules/node-cmake/src/win_delay_load_hook.c +68 -0
  1337. package/mac-agent/node_modules/node-fetch/LICENSE.md +22 -0
  1338. package/mac-agent/node_modules/node-fetch/README.md +634 -0
  1339. package/mac-agent/node_modules/node-fetch/browser.js +25 -0
  1340. package/mac-agent/node_modules/node-fetch/lib/index.es.js +1777 -0
  1341. package/mac-agent/node_modules/node-fetch/lib/index.js +1787 -0
  1342. package/mac-agent/node_modules/node-fetch/lib/index.mjs +1775 -0
  1343. package/mac-agent/node_modules/node-fetch/package.json +89 -0
  1344. package/mac-agent/node_modules/node-pty/LICENSE +69 -0
  1345. package/mac-agent/node_modules/node-pty/README.md +163 -0
  1346. package/mac-agent/node_modules/node-pty/binding.gyp +117 -0
  1347. package/mac-agent/node_modules/node-pty/build/Makefile +352 -0
  1348. package/mac-agent/node_modules/node-pty/build/Release/pty.node +0 -0
  1349. package/mac-agent/node_modules/node-pty/build/Release/spawn-helper +0 -0
  1350. package/mac-agent/node_modules/node-pty/build/binding.Makefile +6 -0
  1351. package/mac-agent/node_modules/node-pty/build/gyp-mac-tool +768 -0
  1352. package/mac-agent/node_modules/node-pty/build/pty.target.mk +183 -0
  1353. package/mac-agent/node_modules/node-pty/build/spawn-helper.target.mk +172 -0
  1354. package/mac-agent/node_modules/node-pty/deps/.editorconfig +2 -0
  1355. package/mac-agent/node_modules/node-pty/deps/winpty/.drone.yml +17 -0
  1356. package/mac-agent/node_modules/node-pty/deps/winpty/.gitattributes +19 -0
  1357. package/mac-agent/node_modules/node-pty/deps/winpty/LICENSE +21 -0
  1358. package/mac-agent/node_modules/node-pty/deps/winpty/Makefile +166 -0
  1359. package/mac-agent/node_modules/node-pty/deps/winpty/README.md +151 -0
  1360. package/mac-agent/node_modules/node-pty/deps/winpty/RELEASES.md +280 -0
  1361. package/mac-agent/node_modules/node-pty/deps/winpty/VERSION.txt +1 -0
  1362. package/mac-agent/node_modules/node-pty/deps/winpty/configure +167 -0
  1363. package/mac-agent/node_modules/node-pty/deps/winpty/misc/BufferResizeTests.cc +90 -0
  1364. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ChangeScreenBuffer.cc +53 -0
  1365. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ClearConsole.cc +72 -0
  1366. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ConinMode.cc +117 -0
  1367. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ConinMode.ps1 +116 -0
  1368. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ConoutMode.cc +113 -0
  1369. package/mac-agent/node_modules/node-pty/deps/winpty/misc/DebugClient.py +42 -0
  1370. package/mac-agent/node_modules/node-pty/deps/winpty/misc/DebugServer.py +63 -0
  1371. package/mac-agent/node_modules/node-pty/deps/winpty/misc/DumpLines.py +5 -0
  1372. package/mac-agent/node_modules/node-pty/deps/winpty/misc/EnableExtendedFlags.txt +46 -0
  1373. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Consolas.txt +528 -0
  1374. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Lucida.txt +633 -0
  1375. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP932.txt +630 -0
  1376. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP936.txt +630 -0
  1377. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP949.txt +630 -0
  1378. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP950.txt +630 -0
  1379. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/MinimumWindowWidths.txt +16 -0
  1380. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Results.txt +4 -0
  1381. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Windows10SetFontBugginess.txt +144 -0
  1382. package/mac-agent/node_modules/node-pty/deps/winpty/misc/FontSurvey.cc +100 -0
  1383. package/mac-agent/node_modules/node-pty/deps/winpty/misc/FormatChar.h +21 -0
  1384. package/mac-agent/node_modules/node-pty/deps/winpty/misc/FreezePerfTest.cc +62 -0
  1385. package/mac-agent/node_modules/node-pty/deps/winpty/misc/GetCh.cc +20 -0
  1386. package/mac-agent/node_modules/node-pty/deps/winpty/misc/GetConsolePos.cc +41 -0
  1387. package/mac-agent/node_modules/node-pty/deps/winpty/misc/GetFont.cc +261 -0
  1388. package/mac-agent/node_modules/node-pty/deps/winpty/misc/IdentifyConsoleWindow.ps1 +51 -0
  1389. package/mac-agent/node_modules/node-pty/deps/winpty/misc/IsNewConsole.cc +87 -0
  1390. package/mac-agent/node_modules/node-pty/deps/winpty/misc/MouseInputNotes.txt +90 -0
  1391. package/mac-agent/node_modules/node-pty/deps/winpty/misc/MoveConsoleWindow.cc +34 -0
  1392. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Notes.txt +219 -0
  1393. package/mac-agent/node_modules/node-pty/deps/winpty/misc/OSVersion.cc +27 -0
  1394. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ScreenBufferFreezeInactive.cc +101 -0
  1395. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest.cc +671 -0
  1396. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest2.cc +151 -0
  1397. package/mac-agent/node_modules/node-pty/deps/winpty/misc/SelectAllTest.cc +45 -0
  1398. package/mac-agent/node_modules/node-pty/deps/winpty/misc/SetBufferSize.cc +32 -0
  1399. package/mac-agent/node_modules/node-pty/deps/winpty/misc/SetCursorPos.cc +10 -0
  1400. package/mac-agent/node_modules/node-pty/deps/winpty/misc/SetFont.cc +145 -0
  1401. package/mac-agent/node_modules/node-pty/deps/winpty/misc/SetWindowRect.cc +36 -0
  1402. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ShowArgv.cc +12 -0
  1403. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ShowConsoleInput.cc +40 -0
  1404. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Spew.py +5 -0
  1405. package/mac-agent/node_modules/node-pty/deps/winpty/misc/TestUtil.cc +172 -0
  1406. package/mac-agent/node_modules/node-pty/deps/winpty/misc/UnicodeDoubleWidthTest.cc +102 -0
  1407. package/mac-agent/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest1.cc +246 -0
  1408. package/mac-agent/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest2.cc +130 -0
  1409. package/mac-agent/node_modules/node-pty/deps/winpty/misc/UnixEcho.cc +89 -0
  1410. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Utf16Echo.cc +46 -0
  1411. package/mac-agent/node_modules/node-pty/deps/winpty/misc/VeryLargeRead.cc +122 -0
  1412. package/mac-agent/node_modules/node-pty/deps/winpty/misc/VkEscapeTest.cc +56 -0
  1413. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win10ResizeWhileFrozen.cc +52 -0
  1414. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win10WrapTest1.cc +57 -0
  1415. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win10WrapTest2.cc +30 -0
  1416. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win32Echo1.cc +26 -0
  1417. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win32Echo2.cc +19 -0
  1418. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win32Test1.cc +46 -0
  1419. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win32Test2.cc +70 -0
  1420. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win32Test3.cc +78 -0
  1421. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win32Write1.cc +44 -0
  1422. package/mac-agent/node_modules/node-pty/deps/winpty/misc/WindowsBugCrashReader.cc +27 -0
  1423. package/mac-agent/node_modules/node-pty/deps/winpty/misc/WriteConsole.cc +106 -0
  1424. package/mac-agent/node_modules/node-pty/deps/winpty/misc/build32.sh +9 -0
  1425. package/mac-agent/node_modules/node-pty/deps/winpty/misc/build64.sh +9 -0
  1426. package/mac-agent/node_modules/node-pty/deps/winpty/misc/color-test.sh +212 -0
  1427. package/mac-agent/node_modules/node-pty/deps/winpty/misc/font-notes.txt +300 -0
  1428. package/mac-agent/node_modules/node-pty/deps/winpty/misc/winbug-15048.cc +201 -0
  1429. package/mac-agent/node_modules/node-pty/deps/winpty/ship/build-pty4j-libpty.bat +36 -0
  1430. package/mac-agent/node_modules/node-pty/deps/winpty/ship/common_ship.py +53 -0
  1431. package/mac-agent/node_modules/node-pty/deps/winpty/ship/make_msvc_package.py +165 -0
  1432. package/mac-agent/node_modules/node-pty/deps/winpty/ship/ship.py +108 -0
  1433. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Agent.cc +605 -0
  1434. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Agent.h +103 -0
  1435. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.cc +84 -0
  1436. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.h +28 -0
  1437. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.cc +632 -0
  1438. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.h +28 -0
  1439. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.cc +852 -0
  1440. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.h +109 -0
  1441. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.cc +121 -0
  1442. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.h +36 -0
  1443. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.cc +152 -0
  1444. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.h +41 -0
  1445. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Coord.h +87 -0
  1446. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.cc +239 -0
  1447. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.h +32 -0
  1448. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.cc +422 -0
  1449. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.h +28 -0
  1450. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/DsrSender.h +30 -0
  1451. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/EventLoop.cc +99 -0
  1452. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/EventLoop.h +47 -0
  1453. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/InputMap.cc +246 -0
  1454. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/InputMap.h +114 -0
  1455. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.cc +71 -0
  1456. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.h +68 -0
  1457. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.cc +378 -0
  1458. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.h +125 -0
  1459. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Scraper.cc +699 -0
  1460. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Scraper.h +103 -0
  1461. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/SimplePool.h +75 -0
  1462. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/SmallRect.h +143 -0
  1463. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Terminal.cc +535 -0
  1464. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Terminal.h +69 -0
  1465. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncoding.h +157 -0
  1466. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncodingTest.cc +189 -0
  1467. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Win32Console.cc +107 -0
  1468. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Win32Console.h +67 -0
  1469. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.cc +193 -0
  1470. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.h +99 -0
  1471. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/main.cc +114 -0
  1472. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/subdir.mk +61 -0
  1473. package/mac-agent/node_modules/node-pty/deps/winpty/src/configurations.gypi +60 -0
  1474. package/mac-agent/node_modules/node-pty/deps/winpty/src/debugserver/DebugServer.cc +117 -0
  1475. package/mac-agent/node_modules/node-pty/deps/winpty/src/debugserver/subdir.mk +41 -0
  1476. package/mac-agent/node_modules/node-pty/deps/winpty/src/include/winpty.h +242 -0
  1477. package/mac-agent/node_modules/node-pty/deps/winpty/src/include/winpty_constants.h +131 -0
  1478. package/mac-agent/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.cc +75 -0
  1479. package/mac-agent/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.h +28 -0
  1480. package/mac-agent/node_modules/node-pty/deps/winpty/src/libwinpty/LibWinptyException.h +54 -0
  1481. package/mac-agent/node_modules/node-pty/deps/winpty/src/libwinpty/WinptyInternal.h +72 -0
  1482. package/mac-agent/node_modules/node-pty/deps/winpty/src/libwinpty/subdir.mk +46 -0
  1483. package/mac-agent/node_modules/node-pty/deps/winpty/src/libwinpty/winpty.cc +970 -0
  1484. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/AgentMsg.h +38 -0
  1485. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.cc +122 -0
  1486. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.h +73 -0
  1487. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/Buffer.cc +103 -0
  1488. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/Buffer.h +102 -0
  1489. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/DebugClient.cc +187 -0
  1490. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/DebugClient.h +38 -0
  1491. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/GenRandom.cc +138 -0
  1492. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/GenRandom.h +55 -0
  1493. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/GetCommitHash.bat +13 -0
  1494. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/Mutex.h +54 -0
  1495. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/OsModule.h +63 -0
  1496. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.cc +36 -0
  1497. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.h +45 -0
  1498. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/PrecompiledHeader.h +43 -0
  1499. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/StringBuilder.h +227 -0
  1500. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/StringBuilderTest.cc +114 -0
  1501. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/StringUtil.cc +55 -0
  1502. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/StringUtil.h +80 -0
  1503. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/TimeMeasurement.h +63 -0
  1504. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/UnixCtrlChars.h +45 -0
  1505. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/UpdateGenVersion.bat +20 -0
  1506. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.cc +460 -0
  1507. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.h +104 -0
  1508. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.cc +252 -0
  1509. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.h +29 -0
  1510. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.cc +55 -0
  1511. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.h +64 -0
  1512. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WinptyException.cc +57 -0
  1513. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WinptyException.h +43 -0
  1514. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.cc +42 -0
  1515. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.h +27 -0
  1516. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/winpty_snprintf.h +99 -0
  1517. package/mac-agent/node_modules/node-pty/deps/winpty/src/subdir.mk +5 -0
  1518. package/mac-agent/node_modules/node-pty/deps/winpty/src/tests/subdir.mk +28 -0
  1519. package/mac-agent/node_modules/node-pty/deps/winpty/src/tests/trivial_test.cc +158 -0
  1520. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.cc +114 -0
  1521. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.h +56 -0
  1522. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.cc +80 -0
  1523. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.h +53 -0
  1524. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.cc +86 -0
  1525. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.h +31 -0
  1526. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.cc +70 -0
  1527. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.h +42 -0
  1528. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/main.cc +729 -0
  1529. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/subdir.mk +41 -0
  1530. package/mac-agent/node_modules/node-pty/deps/winpty/src/winpty.gyp +206 -0
  1531. package/mac-agent/node_modules/node-pty/deps/winpty/vcbuild.bat +83 -0
  1532. package/mac-agent/node_modules/node-pty/lib/conpty_console_list_agent.js +20 -0
  1533. package/mac-agent/node_modules/node-pty/lib/conpty_console_list_agent.js.map +1 -0
  1534. package/mac-agent/node_modules/node-pty/lib/eventEmitter2.js +47 -0
  1535. package/mac-agent/node_modules/node-pty/lib/eventEmitter2.js.map +1 -0
  1536. package/mac-agent/node_modules/node-pty/lib/eventEmitter2.test.js +30 -0
  1537. package/mac-agent/node_modules/node-pty/lib/eventEmitter2.test.js.map +1 -0
  1538. package/mac-agent/node_modules/node-pty/lib/index.js +51 -0
  1539. package/mac-agent/node_modules/node-pty/lib/index.js.map +1 -0
  1540. package/mac-agent/node_modules/node-pty/lib/interfaces.js +7 -0
  1541. package/mac-agent/node_modules/node-pty/lib/interfaces.js.map +1 -0
  1542. package/mac-agent/node_modules/node-pty/lib/shared/conout.js +11 -0
  1543. package/mac-agent/node_modules/node-pty/lib/shared/conout.js.map +1 -0
  1544. package/mac-agent/node_modules/node-pty/lib/terminal.js +190 -0
  1545. package/mac-agent/node_modules/node-pty/lib/terminal.js.map +1 -0
  1546. package/mac-agent/node_modules/node-pty/lib/terminal.test.js +139 -0
  1547. package/mac-agent/node_modules/node-pty/lib/terminal.test.js.map +1 -0
  1548. package/mac-agent/node_modules/node-pty/lib/testUtils.test.js +28 -0
  1549. package/mac-agent/node_modules/node-pty/lib/testUtils.test.js.map +1 -0
  1550. package/mac-agent/node_modules/node-pty/lib/types.js +7 -0
  1551. package/mac-agent/node_modules/node-pty/lib/types.js.map +1 -0
  1552. package/mac-agent/node_modules/node-pty/lib/unixTerminal.js +304 -0
  1553. package/mac-agent/node_modules/node-pty/lib/unixTerminal.js.map +1 -0
  1554. package/mac-agent/node_modules/node-pty/lib/unixTerminal.test.js +330 -0
  1555. package/mac-agent/node_modules/node-pty/lib/unixTerminal.test.js.map +1 -0
  1556. package/mac-agent/node_modules/node-pty/lib/utils.js +17 -0
  1557. package/mac-agent/node_modules/node-pty/lib/utils.js.map +1 -0
  1558. package/mac-agent/node_modules/node-pty/lib/windowsConoutConnection.js +122 -0
  1559. package/mac-agent/node_modules/node-pty/lib/windowsConoutConnection.js.map +1 -0
  1560. package/mac-agent/node_modules/node-pty/lib/windowsPtyAgent.js +324 -0
  1561. package/mac-agent/node_modules/node-pty/lib/windowsPtyAgent.js.map +1 -0
  1562. package/mac-agent/node_modules/node-pty/lib/windowsPtyAgent.test.js +90 -0
  1563. package/mac-agent/node_modules/node-pty/lib/windowsPtyAgent.test.js.map +1 -0
  1564. package/mac-agent/node_modules/node-pty/lib/windowsTerminal.js +201 -0
  1565. package/mac-agent/node_modules/node-pty/lib/windowsTerminal.js.map +1 -0
  1566. package/mac-agent/node_modules/node-pty/lib/windowsTerminal.test.js +203 -0
  1567. package/mac-agent/node_modules/node-pty/lib/windowsTerminal.test.js.map +1 -0
  1568. package/mac-agent/node_modules/node-pty/lib/worker/conoutSocketWorker.js +22 -0
  1569. package/mac-agent/node_modules/node-pty/lib/worker/conoutSocketWorker.js.map +1 -0
  1570. package/mac-agent/node_modules/node-pty/package.json +59 -0
  1571. package/mac-agent/node_modules/node-pty/scripts/post-install.js +42 -0
  1572. package/mac-agent/node_modules/node-pty/scripts/publish.js +62 -0
  1573. package/mac-agent/node_modules/node-pty/src/conpty_console_list_agent.ts +19 -0
  1574. package/mac-agent/node_modules/node-pty/src/eventEmitter2.test.ts +30 -0
  1575. package/mac-agent/node_modules/node-pty/src/eventEmitter2.ts +48 -0
  1576. package/mac-agent/node_modules/node-pty/src/index.ts +51 -0
  1577. package/mac-agent/node_modules/node-pty/src/interfaces.ts +129 -0
  1578. package/mac-agent/node_modules/node-pty/src/native.d.ts +56 -0
  1579. package/mac-agent/node_modules/node-pty/src/shared/conout.ts +15 -0
  1580. package/mac-agent/node_modules/node-pty/src/terminal.test.ts +119 -0
  1581. package/mac-agent/node_modules/node-pty/src/terminal.ts +211 -0
  1582. package/mac-agent/node_modules/node-pty/src/testUtils.test.ts +23 -0
  1583. package/mac-agent/node_modules/node-pty/src/tsconfig.json +22 -0
  1584. package/mac-agent/node_modules/node-pty/src/types.ts +15 -0
  1585. package/mac-agent/node_modules/node-pty/src/unix/pty.cc +826 -0
  1586. package/mac-agent/node_modules/node-pty/src/unix/spawn-helper.cc +23 -0
  1587. package/mac-agent/node_modules/node-pty/src/unixTerminal.test.ts +335 -0
  1588. package/mac-agent/node_modules/node-pty/src/unixTerminal.ts +320 -0
  1589. package/mac-agent/node_modules/node-pty/src/utils.ts +9 -0
  1590. package/mac-agent/node_modules/node-pty/src/win/conpty.cc +498 -0
  1591. package/mac-agent/node_modules/node-pty/src/win/conpty_console_list.cc +43 -0
  1592. package/mac-agent/node_modules/node-pty/src/win/path_util.cc +73 -0
  1593. package/mac-agent/node_modules/node-pty/src/win/path_util.h +22 -0
  1594. package/mac-agent/node_modules/node-pty/src/win/winpty.cc +312 -0
  1595. package/mac-agent/node_modules/node-pty/src/windowsConoutConnection.ts +79 -0
  1596. package/mac-agent/node_modules/node-pty/src/windowsPtyAgent.test.ts +94 -0
  1597. package/mac-agent/node_modules/node-pty/src/windowsPtyAgent.ts +323 -0
  1598. package/mac-agent/node_modules/node-pty/src/windowsTerminal.test.ts +214 -0
  1599. package/mac-agent/node_modules/node-pty/src/windowsTerminal.ts +208 -0
  1600. package/mac-agent/node_modules/node-pty/src/worker/conoutSocketWorker.ts +22 -0
  1601. package/mac-agent/node_modules/node-pty/typings/node-pty.d.ts +203 -0
  1602. package/mac-agent/node_modules/nodemon/.prettierrc.json +3 -0
  1603. package/mac-agent/node_modules/nodemon/LICENSE +21 -0
  1604. package/mac-agent/node_modules/nodemon/README.md +441 -0
  1605. package/mac-agent/node_modules/nodemon/bin/nodemon.js +16 -0
  1606. package/mac-agent/node_modules/nodemon/bin/windows-kill.exe +0 -0
  1607. package/mac-agent/node_modules/nodemon/doc/cli/authors.txt +8 -0
  1608. package/mac-agent/node_modules/nodemon/doc/cli/config.txt +44 -0
  1609. package/mac-agent/node_modules/nodemon/doc/cli/help.txt +29 -0
  1610. package/mac-agent/node_modules/nodemon/doc/cli/logo.txt +20 -0
  1611. package/mac-agent/node_modules/nodemon/doc/cli/options.txt +36 -0
  1612. package/mac-agent/node_modules/nodemon/doc/cli/topics.txt +8 -0
  1613. package/mac-agent/node_modules/nodemon/doc/cli/usage.txt +3 -0
  1614. package/mac-agent/node_modules/nodemon/doc/cli/whoami.txt +9 -0
  1615. package/mac-agent/node_modules/nodemon/index.d.ts +125 -0
  1616. package/mac-agent/node_modules/nodemon/jsconfig.json +7 -0
  1617. package/mac-agent/node_modules/nodemon/lib/cli/index.js +49 -0
  1618. package/mac-agent/node_modules/nodemon/lib/cli/parse.js +230 -0
  1619. package/mac-agent/node_modules/nodemon/lib/config/command.js +43 -0
  1620. package/mac-agent/node_modules/nodemon/lib/config/defaults.js +34 -0
  1621. package/mac-agent/node_modules/nodemon/lib/config/exec.js +234 -0
  1622. package/mac-agent/node_modules/nodemon/lib/config/index.js +93 -0
  1623. package/mac-agent/node_modules/nodemon/lib/config/load.js +225 -0
  1624. package/mac-agent/node_modules/nodemon/lib/help/index.js +27 -0
  1625. package/mac-agent/node_modules/nodemon/lib/index.js +1 -0
  1626. package/mac-agent/node_modules/nodemon/lib/monitor/index.js +4 -0
  1627. package/mac-agent/node_modules/nodemon/lib/monitor/match.js +287 -0
  1628. package/mac-agent/node_modules/nodemon/lib/monitor/run.js +562 -0
  1629. package/mac-agent/node_modules/nodemon/lib/monitor/signals.js +34 -0
  1630. package/mac-agent/node_modules/nodemon/lib/monitor/watch.js +244 -0
  1631. package/mac-agent/node_modules/nodemon/lib/nodemon.js +317 -0
  1632. package/mac-agent/node_modules/nodemon/lib/rules/add.js +89 -0
  1633. package/mac-agent/node_modules/nodemon/lib/rules/index.js +53 -0
  1634. package/mac-agent/node_modules/nodemon/lib/rules/parse.js +43 -0
  1635. package/mac-agent/node_modules/nodemon/lib/spawn.js +74 -0
  1636. package/mac-agent/node_modules/nodemon/lib/utils/bus.js +44 -0
  1637. package/mac-agent/node_modules/nodemon/lib/utils/clone.js +40 -0
  1638. package/mac-agent/node_modules/nodemon/lib/utils/colour.js +26 -0
  1639. package/mac-agent/node_modules/nodemon/lib/utils/index.js +103 -0
  1640. package/mac-agent/node_modules/nodemon/lib/utils/log.js +82 -0
  1641. package/mac-agent/node_modules/nodemon/lib/utils/merge.js +47 -0
  1642. package/mac-agent/node_modules/nodemon/lib/version.js +100 -0
  1643. package/mac-agent/node_modules/nodemon/package.json +75 -0
  1644. package/mac-agent/node_modules/nopt/CHANGELOG.md +58 -0
  1645. package/mac-agent/node_modules/nopt/LICENSE +15 -0
  1646. package/mac-agent/node_modules/nopt/README.md +213 -0
  1647. package/mac-agent/node_modules/nopt/bin/nopt.js +54 -0
  1648. package/mac-agent/node_modules/nopt/lib/nopt.js +441 -0
  1649. package/mac-agent/node_modules/nopt/package.json +34 -0
  1650. package/mac-agent/node_modules/normalize-package-data/AUTHORS +4 -0
  1651. package/mac-agent/node_modules/normalize-package-data/LICENSE +30 -0
  1652. package/mac-agent/node_modules/normalize-package-data/README.md +106 -0
  1653. package/mac-agent/node_modules/normalize-package-data/lib/extract_description.js +14 -0
  1654. package/mac-agent/node_modules/normalize-package-data/lib/fixer.js +418 -0
  1655. package/mac-agent/node_modules/normalize-package-data/lib/make_warning.js +23 -0
  1656. package/mac-agent/node_modules/normalize-package-data/lib/normalize.js +39 -0
  1657. package/mac-agent/node_modules/normalize-package-data/lib/safe_format.js +9 -0
  1658. package/mac-agent/node_modules/normalize-package-data/lib/typos.json +25 -0
  1659. package/mac-agent/node_modules/normalize-package-data/lib/warning_messages.json +30 -0
  1660. package/mac-agent/node_modules/normalize-package-data/node_modules/semver/LICENSE +15 -0
  1661. package/mac-agent/node_modules/normalize-package-data/node_modules/semver/README.md +412 -0
  1662. package/mac-agent/node_modules/normalize-package-data/node_modules/semver/bin/semver +160 -0
  1663. package/mac-agent/node_modules/normalize-package-data/node_modules/semver/package.json +38 -0
  1664. package/mac-agent/node_modules/normalize-package-data/node_modules/semver/range.bnf +16 -0
  1665. package/mac-agent/node_modules/normalize-package-data/node_modules/semver/semver.js +1525 -0
  1666. package/mac-agent/node_modules/normalize-package-data/package.json +31 -0
  1667. package/mac-agent/node_modules/normalize-path/LICENSE +21 -0
  1668. package/mac-agent/node_modules/normalize-path/README.md +127 -0
  1669. package/mac-agent/node_modules/normalize-path/index.js +35 -0
  1670. package/mac-agent/node_modules/normalize-path/package.json +77 -0
  1671. package/mac-agent/node_modules/npmlog/LICENSE +15 -0
  1672. package/mac-agent/node_modules/npmlog/README.md +216 -0
  1673. package/mac-agent/node_modules/npmlog/log.js +403 -0
  1674. package/mac-agent/node_modules/npmlog/package.json +33 -0
  1675. package/mac-agent/node_modules/number-is-nan/index.js +4 -0
  1676. package/mac-agent/node_modules/number-is-nan/license +21 -0
  1677. package/mac-agent/node_modules/number-is-nan/package.json +35 -0
  1678. package/mac-agent/node_modules/number-is-nan/readme.md +28 -0
  1679. package/mac-agent/node_modules/object-assign/index.js +90 -0
  1680. package/mac-agent/node_modules/object-assign/license +21 -0
  1681. package/mac-agent/node_modules/object-assign/package.json +42 -0
  1682. package/mac-agent/node_modules/object-assign/readme.md +61 -0
  1683. package/mac-agent/node_modules/object-keys/.editorconfig +13 -0
  1684. package/mac-agent/node_modules/object-keys/.eslintrc +17 -0
  1685. package/mac-agent/node_modules/object-keys/.travis.yml +277 -0
  1686. package/mac-agent/node_modules/object-keys/CHANGELOG.md +232 -0
  1687. package/mac-agent/node_modules/object-keys/LICENSE +21 -0
  1688. package/mac-agent/node_modules/object-keys/README.md +76 -0
  1689. package/mac-agent/node_modules/object-keys/implementation.js +122 -0
  1690. package/mac-agent/node_modules/object-keys/index.js +32 -0
  1691. package/mac-agent/node_modules/object-keys/isArguments.js +17 -0
  1692. package/mac-agent/node_modules/object-keys/package.json +88 -0
  1693. package/mac-agent/node_modules/object-keys/test/index.js +5 -0
  1694. package/mac-agent/node_modules/object.assign/.editorconfig +20 -0
  1695. package/mac-agent/node_modules/object.assign/.eslintrc +28 -0
  1696. package/mac-agent/node_modules/object.assign/.github/FUNDING.yml +12 -0
  1697. package/mac-agent/node_modules/object.assign/.nycrc +9 -0
  1698. package/mac-agent/node_modules/object.assign/CHANGELOG.md +246 -0
  1699. package/mac-agent/node_modules/object.assign/LICENSE +21 -0
  1700. package/mac-agent/node_modules/object.assign/README.md +136 -0
  1701. package/mac-agent/node_modules/object.assign/auto.js +3 -0
  1702. package/mac-agent/node_modules/object.assign/dist/browser.js +1304 -0
  1703. package/mac-agent/node_modules/object.assign/hasSymbols.js +43 -0
  1704. package/mac-agent/node_modules/object.assign/implementation.js +46 -0
  1705. package/mac-agent/node_modules/object.assign/index.js +22 -0
  1706. package/mac-agent/node_modules/object.assign/package.json +96 -0
  1707. package/mac-agent/node_modules/object.assign/polyfill.js +55 -0
  1708. package/mac-agent/node_modules/object.assign/shim.js +14 -0
  1709. package/mac-agent/node_modules/object.assign/test/implementation.js +19 -0
  1710. package/mac-agent/node_modules/object.assign/test/index.js +17 -0
  1711. package/mac-agent/node_modules/object.assign/test/native.js +49 -0
  1712. package/mac-agent/node_modules/object.assign/test/ses-compat.js +12 -0
  1713. package/mac-agent/node_modules/object.assign/test/shimmed.js +52 -0
  1714. package/mac-agent/node_modules/object.assign/test/tests.js +232 -0
  1715. package/mac-agent/node_modules/once/LICENSE +15 -0
  1716. package/mac-agent/node_modules/once/README.md +79 -0
  1717. package/mac-agent/node_modules/once/once.js +42 -0
  1718. package/mac-agent/node_modules/once/package.json +33 -0
  1719. package/mac-agent/node_modules/one-time/LICENSE +22 -0
  1720. package/mac-agent/node_modules/one-time/README.md +88 -0
  1721. package/mac-agent/node_modules/one-time/async.js +43 -0
  1722. package/mac-agent/node_modules/one-time/index.js +42 -0
  1723. package/mac-agent/node_modules/one-time/package.json +34 -0
  1724. package/mac-agent/node_modules/os-locale/index.js +127 -0
  1725. package/mac-agent/node_modules/os-locale/license +21 -0
  1726. package/mac-agent/node_modules/os-locale/package.json +43 -0
  1727. package/mac-agent/node_modules/os-locale/readme.md +47 -0
  1728. package/mac-agent/node_modules/parse-json/index.js +35 -0
  1729. package/mac-agent/node_modules/parse-json/license +21 -0
  1730. package/mac-agent/node_modules/parse-json/package.json +46 -0
  1731. package/mac-agent/node_modules/parse-json/readme.md +83 -0
  1732. package/mac-agent/node_modules/parse-json/vendor/parse.js +752 -0
  1733. package/mac-agent/node_modules/parse-json/vendor/unicode.js +71 -0
  1734. package/mac-agent/node_modules/path-exists/index.js +24 -0
  1735. package/mac-agent/node_modules/path-exists/license +21 -0
  1736. package/mac-agent/node_modules/path-exists/package.json +40 -0
  1737. package/mac-agent/node_modules/path-exists/readme.md +45 -0
  1738. package/mac-agent/node_modules/path-is-absolute/index.js +20 -0
  1739. package/mac-agent/node_modules/path-is-absolute/license +21 -0
  1740. package/mac-agent/node_modules/path-is-absolute/package.json +43 -0
  1741. package/mac-agent/node_modules/path-is-absolute/readme.md +59 -0
  1742. package/mac-agent/node_modules/path-parse/LICENSE +21 -0
  1743. package/mac-agent/node_modules/path-parse/README.md +42 -0
  1744. package/mac-agent/node_modules/path-parse/index.js +75 -0
  1745. package/mac-agent/node_modules/path-parse/package.json +33 -0
  1746. package/mac-agent/node_modules/path-type/index.js +29 -0
  1747. package/mac-agent/node_modules/path-type/license +21 -0
  1748. package/mac-agent/node_modules/path-type/package.json +52 -0
  1749. package/mac-agent/node_modules/path-type/readme.md +42 -0
  1750. package/mac-agent/node_modules/picomatch/CHANGELOG.md +136 -0
  1751. package/mac-agent/node_modules/picomatch/LICENSE +21 -0
  1752. package/mac-agent/node_modules/picomatch/README.md +708 -0
  1753. package/mac-agent/node_modules/picomatch/index.js +3 -0
  1754. package/mac-agent/node_modules/picomatch/lib/constants.js +179 -0
  1755. package/mac-agent/node_modules/picomatch/lib/parse.js +1091 -0
  1756. package/mac-agent/node_modules/picomatch/lib/picomatch.js +342 -0
  1757. package/mac-agent/node_modules/picomatch/lib/scan.js +391 -0
  1758. package/mac-agent/node_modules/picomatch/lib/utils.js +64 -0
  1759. package/mac-agent/node_modules/picomatch/package.json +81 -0
  1760. package/mac-agent/node_modules/pify/index.js +68 -0
  1761. package/mac-agent/node_modules/pify/license +21 -0
  1762. package/mac-agent/node_modules/pify/package.json +48 -0
  1763. package/mac-agent/node_modules/pify/readme.md +119 -0
  1764. package/mac-agent/node_modules/pinkie/index.js +292 -0
  1765. package/mac-agent/node_modules/pinkie/license +21 -0
  1766. package/mac-agent/node_modules/pinkie/package.json +36 -0
  1767. package/mac-agent/node_modules/pinkie/readme.md +83 -0
  1768. package/mac-agent/node_modules/pinkie-promise/index.js +3 -0
  1769. package/mac-agent/node_modules/pinkie-promise/license +21 -0
  1770. package/mac-agent/node_modules/pinkie-promise/package.json +35 -0
  1771. package/mac-agent/node_modules/pinkie-promise/readme.md +28 -0
  1772. package/mac-agent/node_modules/proxy-from-env/.eslintrc +29 -0
  1773. package/mac-agent/node_modules/proxy-from-env/.travis.yml +10 -0
  1774. package/mac-agent/node_modules/proxy-from-env/LICENSE +20 -0
  1775. package/mac-agent/node_modules/proxy-from-env/README.md +131 -0
  1776. package/mac-agent/node_modules/proxy-from-env/index.js +108 -0
  1777. package/mac-agent/node_modules/proxy-from-env/package.json +34 -0
  1778. package/mac-agent/node_modules/proxy-from-env/test.js +483 -0
  1779. package/mac-agent/node_modules/pstree.remy/.travis.yml +8 -0
  1780. package/mac-agent/node_modules/pstree.remy/LICENSE +7 -0
  1781. package/mac-agent/node_modules/pstree.remy/README.md +26 -0
  1782. package/mac-agent/node_modules/pstree.remy/lib/index.js +37 -0
  1783. package/mac-agent/node_modules/pstree.remy/lib/tree.js +37 -0
  1784. package/mac-agent/node_modules/pstree.remy/lib/utils.js +53 -0
  1785. package/mac-agent/node_modules/pstree.remy/package.json +33 -0
  1786. package/mac-agent/node_modules/pstree.remy/tests/fixtures/index.js +13 -0
  1787. package/mac-agent/node_modules/pstree.remy/tests/fixtures/out1 +10 -0
  1788. package/mac-agent/node_modules/pstree.remy/tests/fixtures/out2 +29 -0
  1789. package/mac-agent/node_modules/pstree.remy/tests/index.test.js +51 -0
  1790. package/mac-agent/node_modules/read-pkg/index.js +48 -0
  1791. package/mac-agent/node_modules/read-pkg/license +21 -0
  1792. package/mac-agent/node_modules/read-pkg/package.json +42 -0
  1793. package/mac-agent/node_modules/read-pkg/readme.md +79 -0
  1794. package/mac-agent/node_modules/read-pkg-up/index.js +31 -0
  1795. package/mac-agent/node_modules/read-pkg-up/license +21 -0
  1796. package/mac-agent/node_modules/read-pkg-up/package.json +59 -0
  1797. package/mac-agent/node_modules/read-pkg-up/readme.md +79 -0
  1798. package/mac-agent/node_modules/readable-stream/CONTRIBUTING.md +38 -0
  1799. package/mac-agent/node_modules/readable-stream/GOVERNANCE.md +136 -0
  1800. package/mac-agent/node_modules/readable-stream/LICENSE +47 -0
  1801. package/mac-agent/node_modules/readable-stream/README.md +106 -0
  1802. package/mac-agent/node_modules/readable-stream/errors-browser.js +127 -0
  1803. package/mac-agent/node_modules/readable-stream/errors.js +116 -0
  1804. package/mac-agent/node_modules/readable-stream/experimentalWarning.js +17 -0
  1805. package/mac-agent/node_modules/readable-stream/lib/_stream_duplex.js +126 -0
  1806. package/mac-agent/node_modules/readable-stream/lib/_stream_passthrough.js +37 -0
  1807. package/mac-agent/node_modules/readable-stream/lib/_stream_readable.js +1027 -0
  1808. package/mac-agent/node_modules/readable-stream/lib/_stream_transform.js +190 -0
  1809. package/mac-agent/node_modules/readable-stream/lib/_stream_writable.js +641 -0
  1810. package/mac-agent/node_modules/readable-stream/lib/internal/streams/async_iterator.js +180 -0
  1811. package/mac-agent/node_modules/readable-stream/lib/internal/streams/buffer_list.js +183 -0
  1812. package/mac-agent/node_modules/readable-stream/lib/internal/streams/destroy.js +96 -0
  1813. package/mac-agent/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +86 -0
  1814. package/mac-agent/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
  1815. package/mac-agent/node_modules/readable-stream/lib/internal/streams/from.js +52 -0
  1816. package/mac-agent/node_modules/readable-stream/lib/internal/streams/pipeline.js +86 -0
  1817. package/mac-agent/node_modules/readable-stream/lib/internal/streams/state.js +22 -0
  1818. package/mac-agent/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
  1819. package/mac-agent/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
  1820. package/mac-agent/node_modules/readable-stream/package.json +68 -0
  1821. package/mac-agent/node_modules/readable-stream/readable-browser.js +9 -0
  1822. package/mac-agent/node_modules/readable-stream/readable.js +16 -0
  1823. package/mac-agent/node_modules/readdirp/LICENSE +21 -0
  1824. package/mac-agent/node_modules/readdirp/README.md +122 -0
  1825. package/mac-agent/node_modules/readdirp/index.d.ts +43 -0
  1826. package/mac-agent/node_modules/readdirp/index.js +287 -0
  1827. package/mac-agent/node_modules/readdirp/package.json +122 -0
  1828. package/mac-agent/node_modules/require-directory/.jshintrc +67 -0
  1829. package/mac-agent/node_modules/require-directory/.travis.yml +3 -0
  1830. package/mac-agent/node_modules/require-directory/LICENSE +22 -0
  1831. package/mac-agent/node_modules/require-directory/README.markdown +184 -0
  1832. package/mac-agent/node_modules/require-directory/index.js +86 -0
  1833. package/mac-agent/node_modules/require-directory/package.json +40 -0
  1834. package/mac-agent/node_modules/require-main-filename/.travis.yml +8 -0
  1835. package/mac-agent/node_modules/require-main-filename/LICENSE.txt +14 -0
  1836. package/mac-agent/node_modules/require-main-filename/README.md +26 -0
  1837. package/mac-agent/node_modules/require-main-filename/index.js +18 -0
  1838. package/mac-agent/node_modules/require-main-filename/package.json +30 -0
  1839. package/mac-agent/node_modules/require-main-filename/test.js +36 -0
  1840. package/mac-agent/node_modules/resolve/.editorconfig +37 -0
  1841. package/mac-agent/node_modules/resolve/.eslintrc +65 -0
  1842. package/mac-agent/node_modules/resolve/.github/FUNDING.yml +12 -0
  1843. package/mac-agent/node_modules/resolve/LICENSE +21 -0
  1844. package/mac-agent/node_modules/resolve/SECURITY.md +3 -0
  1845. package/mac-agent/node_modules/resolve/async.js +3 -0
  1846. package/mac-agent/node_modules/resolve/bin/resolve +50 -0
  1847. package/mac-agent/node_modules/resolve/example/async.js +5 -0
  1848. package/mac-agent/node_modules/resolve/example/sync.js +3 -0
  1849. package/mac-agent/node_modules/resolve/index.js +6 -0
  1850. package/mac-agent/node_modules/resolve/lib/async.js +329 -0
  1851. package/mac-agent/node_modules/resolve/lib/caller.js +8 -0
  1852. package/mac-agent/node_modules/resolve/lib/core.js +12 -0
  1853. package/mac-agent/node_modules/resolve/lib/core.json +162 -0
  1854. package/mac-agent/node_modules/resolve/lib/homedir.js +24 -0
  1855. package/mac-agent/node_modules/resolve/lib/is-core.js +5 -0
  1856. package/mac-agent/node_modules/resolve/lib/node-modules-paths.js +42 -0
  1857. package/mac-agent/node_modules/resolve/lib/normalize-options.js +10 -0
  1858. package/mac-agent/node_modules/resolve/lib/sync.js +208 -0
  1859. package/mac-agent/node_modules/resolve/package.json +75 -0
  1860. package/mac-agent/node_modules/resolve/readme.markdown +301 -0
  1861. package/mac-agent/node_modules/resolve/sync.js +3 -0
  1862. package/mac-agent/node_modules/resolve/test/core.js +88 -0
  1863. package/mac-agent/node_modules/resolve/test/dotdot/abc/index.js +2 -0
  1864. package/mac-agent/node_modules/resolve/test/dotdot/index.js +1 -0
  1865. package/mac-agent/node_modules/resolve/test/dotdot.js +29 -0
  1866. package/mac-agent/node_modules/resolve/test/faulty_basedir.js +29 -0
  1867. package/mac-agent/node_modules/resolve/test/filter.js +34 -0
  1868. package/mac-agent/node_modules/resolve/test/filter_sync.js +33 -0
  1869. package/mac-agent/node_modules/resolve/test/home_paths.js +127 -0
  1870. package/mac-agent/node_modules/resolve/test/home_paths_sync.js +114 -0
  1871. package/mac-agent/node_modules/resolve/test/mock.js +315 -0
  1872. package/mac-agent/node_modules/resolve/test/mock_sync.js +214 -0
  1873. package/mac-agent/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +1 -0
  1874. package/mac-agent/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +1 -0
  1875. package/mac-agent/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +1 -0
  1876. package/mac-agent/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +3 -0
  1877. package/mac-agent/node_modules/resolve/test/module_dir.js +56 -0
  1878. package/mac-agent/node_modules/resolve/test/node-modules-paths.js +143 -0
  1879. package/mac-agent/node_modules/resolve/test/node_path/x/aaa/index.js +1 -0
  1880. package/mac-agent/node_modules/resolve/test/node_path/x/ccc/index.js +1 -0
  1881. package/mac-agent/node_modules/resolve/test/node_path/y/bbb/index.js +1 -0
  1882. package/mac-agent/node_modules/resolve/test/node_path/y/ccc/index.js +1 -0
  1883. package/mac-agent/node_modules/resolve/test/node_path.js +70 -0
  1884. package/mac-agent/node_modules/resolve/test/nonstring.js +9 -0
  1885. package/mac-agent/node_modules/resolve/test/pathfilter/deep_ref/main.js +0 -0
  1886. package/mac-agent/node_modules/resolve/test/pathfilter.js +75 -0
  1887. package/mac-agent/node_modules/resolve/test/precedence/aaa/index.js +1 -0
  1888. package/mac-agent/node_modules/resolve/test/precedence/aaa/main.js +1 -0
  1889. package/mac-agent/node_modules/resolve/test/precedence/aaa.js +1 -0
  1890. package/mac-agent/node_modules/resolve/test/precedence/bbb/main.js +1 -0
  1891. package/mac-agent/node_modules/resolve/test/precedence/bbb.js +1 -0
  1892. package/mac-agent/node_modules/resolve/test/precedence.js +23 -0
  1893. package/mac-agent/node_modules/resolve/test/resolver/baz/doom.js +0 -0
  1894. package/mac-agent/node_modules/resolve/test/resolver/baz/package.json +4 -0
  1895. package/mac-agent/node_modules/resolve/test/resolver/baz/quux.js +1 -0
  1896. package/mac-agent/node_modules/resolve/test/resolver/browser_field/a.js +0 -0
  1897. package/mac-agent/node_modules/resolve/test/resolver/browser_field/b.js +0 -0
  1898. package/mac-agent/node_modules/resolve/test/resolver/browser_field/package.json +5 -0
  1899. package/mac-agent/node_modules/resolve/test/resolver/cup.coffee +1 -0
  1900. package/mac-agent/node_modules/resolve/test/resolver/dot_main/index.js +1 -0
  1901. package/mac-agent/node_modules/resolve/test/resolver/dot_main/package.json +3 -0
  1902. package/mac-agent/node_modules/resolve/test/resolver/dot_slash_main/index.js +1 -0
  1903. package/mac-agent/node_modules/resolve/test/resolver/dot_slash_main/package.json +3 -0
  1904. package/mac-agent/node_modules/resolve/test/resolver/false_main/index.js +0 -0
  1905. package/mac-agent/node_modules/resolve/test/resolver/false_main/package.json +4 -0
  1906. package/mac-agent/node_modules/resolve/test/resolver/foo.js +1 -0
  1907. package/mac-agent/node_modules/resolve/test/resolver/incorrect_main/index.js +2 -0
  1908. package/mac-agent/node_modules/resolve/test/resolver/incorrect_main/package.json +3 -0
  1909. package/mac-agent/node_modules/resolve/test/resolver/invalid_main/package.json +7 -0
  1910. package/mac-agent/node_modules/resolve/test/resolver/mug.coffee +0 -0
  1911. package/mac-agent/node_modules/resolve/test/resolver/mug.js +0 -0
  1912. package/mac-agent/node_modules/resolve/test/resolver/multirepo/lerna.json +6 -0
  1913. package/mac-agent/node_modules/resolve/test/resolver/multirepo/package.json +20 -0
  1914. package/mac-agent/node_modules/resolve/test/resolver/multirepo/packages/package-a/index.js +35 -0
  1915. package/mac-agent/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json +14 -0
  1916. package/mac-agent/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js +0 -0
  1917. package/mac-agent/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json +14 -0
  1918. package/mac-agent/node_modules/resolve/test/resolver/nested_symlinks/mylib/async.js +26 -0
  1919. package/mac-agent/node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json +15 -0
  1920. package/mac-agent/node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js +12 -0
  1921. package/mac-agent/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
  1922. package/mac-agent/node_modules/resolve/test/resolver/other_path/root.js +0 -0
  1923. package/mac-agent/node_modules/resolve/test/resolver/quux/foo/index.js +1 -0
  1924. package/mac-agent/node_modules/resolve/test/resolver/same_names/foo/index.js +1 -0
  1925. package/mac-agent/node_modules/resolve/test/resolver/same_names/foo.js +1 -0
  1926. package/mac-agent/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js +0 -0
  1927. package/mac-agent/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep +0 -0
  1928. package/mac-agent/node_modules/resolve/test/resolver/symlinked/package/bar.js +1 -0
  1929. package/mac-agent/node_modules/resolve/test/resolver/symlinked/package/package.json +3 -0
  1930. package/mac-agent/node_modules/resolve/test/resolver/without_basedir/main.js +5 -0
  1931. package/mac-agent/node_modules/resolve/test/resolver.js +597 -0
  1932. package/mac-agent/node_modules/resolve/test/resolver_sync.js +730 -0
  1933. package/mac-agent/node_modules/resolve/test/shadowed_core/node_modules/util/index.js +0 -0
  1934. package/mac-agent/node_modules/resolve/test/shadowed_core.js +54 -0
  1935. package/mac-agent/node_modules/resolve/test/subdirs.js +13 -0
  1936. package/mac-agent/node_modules/resolve/test/symlinks.js +176 -0
  1937. package/mac-agent/node_modules/rimraf/CHANGELOG.md +65 -0
  1938. package/mac-agent/node_modules/rimraf/LICENSE +15 -0
  1939. package/mac-agent/node_modules/rimraf/README.md +101 -0
  1940. package/mac-agent/node_modules/rimraf/bin.js +68 -0
  1941. package/mac-agent/node_modules/rimraf/package.json +32 -0
  1942. package/mac-agent/node_modules/rimraf/rimraf.js +360 -0
  1943. package/mac-agent/node_modules/safe-buffer/LICENSE +21 -0
  1944. package/mac-agent/node_modules/safe-buffer/README.md +584 -0
  1945. package/mac-agent/node_modules/safe-buffer/index.d.ts +187 -0
  1946. package/mac-agent/node_modules/safe-buffer/index.js +65 -0
  1947. package/mac-agent/node_modules/safe-buffer/package.json +51 -0
  1948. package/mac-agent/node_modules/safe-stable-stringify/LICENSE +21 -0
  1949. package/mac-agent/node_modules/safe-stable-stringify/esm/package.json +4 -0
  1950. package/mac-agent/node_modules/safe-stable-stringify/esm/wrapper.d.ts +4 -0
  1951. package/mac-agent/node_modules/safe-stable-stringify/esm/wrapper.js +6 -0
  1952. package/mac-agent/node_modules/safe-stable-stringify/index.d.ts +22 -0
  1953. package/mac-agent/node_modules/safe-stable-stringify/index.js +625 -0
  1954. package/mac-agent/node_modules/safe-stable-stringify/package.json +65 -0
  1955. package/mac-agent/node_modules/safe-stable-stringify/readme.md +179 -0
  1956. package/mac-agent/node_modules/semver/LICENSE +15 -0
  1957. package/mac-agent/node_modules/semver/README.md +664 -0
  1958. package/mac-agent/node_modules/semver/bin/semver.js +191 -0
  1959. package/mac-agent/node_modules/semver/classes/comparator.js +143 -0
  1960. package/mac-agent/node_modules/semver/classes/index.js +7 -0
  1961. package/mac-agent/node_modules/semver/classes/range.js +556 -0
  1962. package/mac-agent/node_modules/semver/classes/semver.js +319 -0
  1963. package/mac-agent/node_modules/semver/functions/clean.js +8 -0
  1964. package/mac-agent/node_modules/semver/functions/cmp.js +54 -0
  1965. package/mac-agent/node_modules/semver/functions/coerce.js +62 -0
  1966. package/mac-agent/node_modules/semver/functions/compare-build.js +9 -0
  1967. package/mac-agent/node_modules/semver/functions/compare-loose.js +5 -0
  1968. package/mac-agent/node_modules/semver/functions/compare.js +7 -0
  1969. package/mac-agent/node_modules/semver/functions/diff.js +60 -0
  1970. package/mac-agent/node_modules/semver/functions/eq.js +5 -0
  1971. package/mac-agent/node_modules/semver/functions/gt.js +5 -0
  1972. package/mac-agent/node_modules/semver/functions/gte.js +5 -0
  1973. package/mac-agent/node_modules/semver/functions/inc.js +21 -0
  1974. package/mac-agent/node_modules/semver/functions/lt.js +5 -0
  1975. package/mac-agent/node_modules/semver/functions/lte.js +5 -0
  1976. package/mac-agent/node_modules/semver/functions/major.js +5 -0
  1977. package/mac-agent/node_modules/semver/functions/minor.js +5 -0
  1978. package/mac-agent/node_modules/semver/functions/neq.js +5 -0
  1979. package/mac-agent/node_modules/semver/functions/parse.js +18 -0
  1980. package/mac-agent/node_modules/semver/functions/patch.js +5 -0
  1981. package/mac-agent/node_modules/semver/functions/prerelease.js +8 -0
  1982. package/mac-agent/node_modules/semver/functions/rcompare.js +5 -0
  1983. package/mac-agent/node_modules/semver/functions/rsort.js +5 -0
  1984. package/mac-agent/node_modules/semver/functions/satisfies.js +12 -0
  1985. package/mac-agent/node_modules/semver/functions/sort.js +5 -0
  1986. package/mac-agent/node_modules/semver/functions/valid.js +8 -0
  1987. package/mac-agent/node_modules/semver/index.js +91 -0
  1988. package/mac-agent/node_modules/semver/internal/constants.js +37 -0
  1989. package/mac-agent/node_modules/semver/internal/debug.js +11 -0
  1990. package/mac-agent/node_modules/semver/internal/identifiers.js +25 -0
  1991. package/mac-agent/node_modules/semver/internal/lrucache.js +42 -0
  1992. package/mac-agent/node_modules/semver/internal/parse-options.js +17 -0
  1993. package/mac-agent/node_modules/semver/internal/re.js +223 -0
  1994. package/mac-agent/node_modules/semver/package.json +78 -0
  1995. package/mac-agent/node_modules/semver/preload.js +4 -0
  1996. package/mac-agent/node_modules/semver/range.bnf +16 -0
  1997. package/mac-agent/node_modules/semver/ranges/gtr.js +6 -0
  1998. package/mac-agent/node_modules/semver/ranges/intersects.js +9 -0
  1999. package/mac-agent/node_modules/semver/ranges/ltr.js +6 -0
  2000. package/mac-agent/node_modules/semver/ranges/max-satisfying.js +27 -0
  2001. package/mac-agent/node_modules/semver/ranges/min-satisfying.js +26 -0
  2002. package/mac-agent/node_modules/semver/ranges/min-version.js +63 -0
  2003. package/mac-agent/node_modules/semver/ranges/outside.js +82 -0
  2004. package/mac-agent/node_modules/semver/ranges/simplify.js +49 -0
  2005. package/mac-agent/node_modules/semver/ranges/subset.js +249 -0
  2006. package/mac-agent/node_modules/semver/ranges/to-comparators.js +10 -0
  2007. package/mac-agent/node_modules/semver/ranges/valid.js +13 -0
  2008. package/mac-agent/node_modules/set-blocking/CHANGELOG.md +26 -0
  2009. package/mac-agent/node_modules/set-blocking/LICENSE.txt +14 -0
  2010. package/mac-agent/node_modules/set-blocking/README.md +31 -0
  2011. package/mac-agent/node_modules/set-blocking/index.js +7 -0
  2012. package/mac-agent/node_modules/set-blocking/package.json +42 -0
  2013. package/mac-agent/node_modules/set-function-length/.eslintrc +27 -0
  2014. package/mac-agent/node_modules/set-function-length/.github/FUNDING.yml +12 -0
  2015. package/mac-agent/node_modules/set-function-length/.nycrc +13 -0
  2016. package/mac-agent/node_modules/set-function-length/CHANGELOG.md +70 -0
  2017. package/mac-agent/node_modules/set-function-length/LICENSE +21 -0
  2018. package/mac-agent/node_modules/set-function-length/README.md +56 -0
  2019. package/mac-agent/node_modules/set-function-length/env.d.ts +9 -0
  2020. package/mac-agent/node_modules/set-function-length/env.js +25 -0
  2021. package/mac-agent/node_modules/set-function-length/index.d.ts +7 -0
  2022. package/mac-agent/node_modules/set-function-length/index.js +42 -0
  2023. package/mac-agent/node_modules/set-function-length/package.json +102 -0
  2024. package/mac-agent/node_modules/set-function-length/tsconfig.json +9 -0
  2025. package/mac-agent/node_modules/signal-exit/LICENSE.txt +16 -0
  2026. package/mac-agent/node_modules/signal-exit/README.md +39 -0
  2027. package/mac-agent/node_modules/signal-exit/index.js +202 -0
  2028. package/mac-agent/node_modules/signal-exit/package.json +38 -0
  2029. package/mac-agent/node_modules/signal-exit/signals.js +53 -0
  2030. package/mac-agent/node_modules/simple-swizzle/LICENSE +21 -0
  2031. package/mac-agent/node_modules/simple-swizzle/README.md +39 -0
  2032. package/mac-agent/node_modules/simple-swizzle/index.js +29 -0
  2033. package/mac-agent/node_modules/simple-swizzle/package.json +36 -0
  2034. package/mac-agent/node_modules/simple-update-notifier/LICENSE +21 -0
  2035. package/mac-agent/node_modules/simple-update-notifier/README.md +82 -0
  2036. package/mac-agent/node_modules/simple-update-notifier/build/index.d.ts +13 -0
  2037. package/mac-agent/node_modules/simple-update-notifier/build/index.js +210 -0
  2038. package/mac-agent/node_modules/simple-update-notifier/package.json +100 -0
  2039. package/mac-agent/node_modules/simple-update-notifier/src/borderedText.ts +12 -0
  2040. package/mac-agent/node_modules/simple-update-notifier/src/cache.spec.ts +17 -0
  2041. package/mac-agent/node_modules/simple-update-notifier/src/cache.ts +44 -0
  2042. package/mac-agent/node_modules/simple-update-notifier/src/getDistVersion.spec.ts +35 -0
  2043. package/mac-agent/node_modules/simple-update-notifier/src/getDistVersion.ts +29 -0
  2044. package/mac-agent/node_modules/simple-update-notifier/src/hasNewVersion.spec.ts +82 -0
  2045. package/mac-agent/node_modules/simple-update-notifier/src/hasNewVersion.ts +40 -0
  2046. package/mac-agent/node_modules/simple-update-notifier/src/index.spec.ts +27 -0
  2047. package/mac-agent/node_modules/simple-update-notifier/src/index.ts +34 -0
  2048. package/mac-agent/node_modules/simple-update-notifier/src/isNpmOrYarn.ts +12 -0
  2049. package/mac-agent/node_modules/simple-update-notifier/src/types.ts +8 -0
  2050. package/mac-agent/node_modules/spdx-correct/LICENSE +202 -0
  2051. package/mac-agent/node_modules/spdx-correct/README.md +22 -0
  2052. package/mac-agent/node_modules/spdx-correct/index.js +386 -0
  2053. package/mac-agent/node_modules/spdx-correct/package.json +32 -0
  2054. package/mac-agent/node_modules/spdx-exceptions/README.md +36 -0
  2055. package/mac-agent/node_modules/spdx-exceptions/deprecated.json +3 -0
  2056. package/mac-agent/node_modules/spdx-exceptions/index.json +68 -0
  2057. package/mac-agent/node_modules/spdx-exceptions/package.json +19 -0
  2058. package/mac-agent/node_modules/spdx-expression-parse/AUTHORS +4 -0
  2059. package/mac-agent/node_modules/spdx-expression-parse/LICENSE +22 -0
  2060. package/mac-agent/node_modules/spdx-expression-parse/README.md +91 -0
  2061. package/mac-agent/node_modules/spdx-expression-parse/index.js +8 -0
  2062. package/mac-agent/node_modules/spdx-expression-parse/package.json +39 -0
  2063. package/mac-agent/node_modules/spdx-expression-parse/parse.js +138 -0
  2064. package/mac-agent/node_modules/spdx-expression-parse/scan.js +131 -0
  2065. package/mac-agent/node_modules/spdx-license-ids/README.md +51 -0
  2066. package/mac-agent/node_modules/spdx-license-ids/deprecated.json +28 -0
  2067. package/mac-agent/node_modules/spdx-license-ids/index.json +650 -0
  2068. package/mac-agent/node_modules/spdx-license-ids/package.json +29 -0
  2069. package/mac-agent/node_modules/stack-trace/License +19 -0
  2070. package/mac-agent/node_modules/stack-trace/Makefile +11 -0
  2071. package/mac-agent/node_modules/stack-trace/Readme.md +98 -0
  2072. package/mac-agent/node_modules/stack-trace/lib/stack-trace.js +136 -0
  2073. package/mac-agent/node_modules/stack-trace/package.json +21 -0
  2074. package/mac-agent/node_modules/string-width/index.d.ts +29 -0
  2075. package/mac-agent/node_modules/string-width/index.js +47 -0
  2076. package/mac-agent/node_modules/string-width/license +9 -0
  2077. package/mac-agent/node_modules/string-width/package.json +56 -0
  2078. package/mac-agent/node_modules/string-width/readme.md +50 -0
  2079. package/mac-agent/node_modules/string_decoder/LICENSE +48 -0
  2080. package/mac-agent/node_modules/string_decoder/README.md +47 -0
  2081. package/mac-agent/node_modules/string_decoder/lib/string_decoder.js +296 -0
  2082. package/mac-agent/node_modules/string_decoder/package.json +34 -0
  2083. package/mac-agent/node_modules/strip-ansi/index.d.ts +17 -0
  2084. package/mac-agent/node_modules/strip-ansi/index.js +4 -0
  2085. package/mac-agent/node_modules/strip-ansi/license +9 -0
  2086. package/mac-agent/node_modules/strip-ansi/package.json +54 -0
  2087. package/mac-agent/node_modules/strip-ansi/readme.md +46 -0
  2088. package/mac-agent/node_modules/strip-bom/index.js +17 -0
  2089. package/mac-agent/node_modules/strip-bom/license +21 -0
  2090. package/mac-agent/node_modules/strip-bom/package.json +42 -0
  2091. package/mac-agent/node_modules/strip-bom/readme.md +39 -0
  2092. package/mac-agent/node_modules/supports-color/browser.js +5 -0
  2093. package/mac-agent/node_modules/supports-color/index.js +131 -0
  2094. package/mac-agent/node_modules/supports-color/license +9 -0
  2095. package/mac-agent/node_modules/supports-color/package.json +53 -0
  2096. package/mac-agent/node_modules/supports-color/readme.md +66 -0
  2097. package/mac-agent/node_modules/supports-preserve-symlinks-flag/.eslintrc +14 -0
  2098. package/mac-agent/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml +12 -0
  2099. package/mac-agent/node_modules/supports-preserve-symlinks-flag/.nycrc +9 -0
  2100. package/mac-agent/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +22 -0
  2101. package/mac-agent/node_modules/supports-preserve-symlinks-flag/LICENSE +21 -0
  2102. package/mac-agent/node_modules/supports-preserve-symlinks-flag/README.md +42 -0
  2103. package/mac-agent/node_modules/supports-preserve-symlinks-flag/browser.js +3 -0
  2104. package/mac-agent/node_modules/supports-preserve-symlinks-flag/index.js +9 -0
  2105. package/mac-agent/node_modules/supports-preserve-symlinks-flag/package.json +70 -0
  2106. package/mac-agent/node_modules/supports-preserve-symlinks-flag/test/index.js +29 -0
  2107. package/mac-agent/node_modules/tar/LICENSE +15 -0
  2108. package/mac-agent/node_modules/tar/README.md +1080 -0
  2109. package/mac-agent/node_modules/tar/index.js +18 -0
  2110. package/mac-agent/node_modules/tar/lib/create.js +111 -0
  2111. package/mac-agent/node_modules/tar/lib/extract.js +113 -0
  2112. package/mac-agent/node_modules/tar/lib/get-write-flag.js +20 -0
  2113. package/mac-agent/node_modules/tar/lib/header.js +304 -0
  2114. package/mac-agent/node_modules/tar/lib/high-level-opt.js +29 -0
  2115. package/mac-agent/node_modules/tar/lib/large-numbers.js +104 -0
  2116. package/mac-agent/node_modules/tar/lib/list.js +139 -0
  2117. package/mac-agent/node_modules/tar/lib/mkdir.js +229 -0
  2118. package/mac-agent/node_modules/tar/lib/mode-fix.js +27 -0
  2119. package/mac-agent/node_modules/tar/lib/normalize-unicode.js +12 -0
  2120. package/mac-agent/node_modules/tar/lib/normalize-windows-path.js +8 -0
  2121. package/mac-agent/node_modules/tar/lib/pack.js +432 -0
  2122. package/mac-agent/node_modules/tar/lib/parse.js +552 -0
  2123. package/mac-agent/node_modules/tar/lib/path-reservations.js +156 -0
  2124. package/mac-agent/node_modules/tar/lib/pax.js +150 -0
  2125. package/mac-agent/node_modules/tar/lib/read-entry.js +107 -0
  2126. package/mac-agent/node_modules/tar/lib/replace.js +246 -0
  2127. package/mac-agent/node_modules/tar/lib/strip-absolute-path.js +24 -0
  2128. package/mac-agent/node_modules/tar/lib/strip-trailing-slashes.js +13 -0
  2129. package/mac-agent/node_modules/tar/lib/types.js +44 -0
  2130. package/mac-agent/node_modules/tar/lib/unpack.js +923 -0
  2131. package/mac-agent/node_modules/tar/lib/update.js +40 -0
  2132. package/mac-agent/node_modules/tar/lib/warn-mixin.js +24 -0
  2133. package/mac-agent/node_modules/tar/lib/winchars.js +23 -0
  2134. package/mac-agent/node_modules/tar/lib/write-entry.js +546 -0
  2135. package/mac-agent/node_modules/tar/package.json +70 -0
  2136. package/mac-agent/node_modules/text-hex/LICENSE +21 -0
  2137. package/mac-agent/node_modules/text-hex/README.md +20 -0
  2138. package/mac-agent/node_modules/text-hex/index.js +24 -0
  2139. package/mac-agent/node_modules/text-hex/package.json +30 -0
  2140. package/mac-agent/node_modules/text-hex/test.js +11 -0
  2141. package/mac-agent/node_modules/to-regex-range/LICENSE +21 -0
  2142. package/mac-agent/node_modules/to-regex-range/README.md +305 -0
  2143. package/mac-agent/node_modules/to-regex-range/index.js +288 -0
  2144. package/mac-agent/node_modules/to-regex-range/package.json +88 -0
  2145. package/mac-agent/node_modules/touch/LICENSE +15 -0
  2146. package/mac-agent/node_modules/touch/README.md +52 -0
  2147. package/mac-agent/node_modules/touch/bin/nodetouch.js +112 -0
  2148. package/mac-agent/node_modules/touch/index.js +224 -0
  2149. package/mac-agent/node_modules/touch/package.json +25 -0
  2150. package/mac-agent/node_modules/tr46/index.js +193 -0
  2151. package/mac-agent/node_modules/tr46/lib/.gitkeep +0 -0
  2152. package/mac-agent/node_modules/tr46/lib/mappingTable.json +1 -0
  2153. package/mac-agent/node_modules/tr46/package.json +31 -0
  2154. package/mac-agent/node_modules/triple-beam/.nyc_output/c579bf8f-6820-47a5-b2da-a11267eb8435.json +1 -0
  2155. package/mac-agent/node_modules/triple-beam/.nyc_output/processinfo/c579bf8f-6820-47a5-b2da-a11267eb8435.json +1 -0
  2156. package/mac-agent/node_modules/triple-beam/.nyc_output/processinfo/index.json +1 -0
  2157. package/mac-agent/node_modules/triple-beam/CHANGELOG.md +22 -0
  2158. package/mac-agent/node_modules/triple-beam/LICENSE +21 -0
  2159. package/mac-agent/node_modules/triple-beam/README.md +34 -0
  2160. package/mac-agent/node_modules/triple-beam/config/cli.js +42 -0
  2161. package/mac-agent/node_modules/triple-beam/config/index.js +32 -0
  2162. package/mac-agent/node_modules/triple-beam/config/npm.js +36 -0
  2163. package/mac-agent/node_modules/triple-beam/config/syslog.js +38 -0
  2164. package/mac-agent/node_modules/triple-beam/index.js +46 -0
  2165. package/mac-agent/node_modules/triple-beam/package.json +40 -0
  2166. package/mac-agent/node_modules/undefsafe/.github/workflows/release.yml +25 -0
  2167. package/mac-agent/node_modules/undefsafe/.jscsrc +13 -0
  2168. package/mac-agent/node_modules/undefsafe/.jshintrc +16 -0
  2169. package/mac-agent/node_modules/undefsafe/.travis.yml +18 -0
  2170. package/mac-agent/node_modules/undefsafe/LICENSE +22 -0
  2171. package/mac-agent/node_modules/undefsafe/README.md +63 -0
  2172. package/mac-agent/node_modules/undefsafe/example.js +14 -0
  2173. package/mac-agent/node_modules/undefsafe/lib/undefsafe.js +125 -0
  2174. package/mac-agent/node_modules/undefsafe/package.json +34 -0
  2175. package/mac-agent/node_modules/util-deprecate/History.md +16 -0
  2176. package/mac-agent/node_modules/util-deprecate/LICENSE +24 -0
  2177. package/mac-agent/node_modules/util-deprecate/README.md +53 -0
  2178. package/mac-agent/node_modules/util-deprecate/browser.js +67 -0
  2179. package/mac-agent/node_modules/util-deprecate/node.js +6 -0
  2180. package/mac-agent/node_modules/util-deprecate/package.json +27 -0
  2181. package/mac-agent/node_modules/uuid/CHANGELOG.md +229 -0
  2182. package/mac-agent/node_modules/uuid/CONTRIBUTING.md +18 -0
  2183. package/mac-agent/node_modules/uuid/LICENSE.md +9 -0
  2184. package/mac-agent/node_modules/uuid/README.md +505 -0
  2185. package/mac-agent/node_modules/uuid/dist/bin/uuid +2 -0
  2186. package/mac-agent/node_modules/uuid/dist/esm-browser/index.js +9 -0
  2187. package/mac-agent/node_modules/uuid/dist/esm-browser/md5.js +215 -0
  2188. package/mac-agent/node_modules/uuid/dist/esm-browser/nil.js +1 -0
  2189. package/mac-agent/node_modules/uuid/dist/esm-browser/parse.js +35 -0
  2190. package/mac-agent/node_modules/uuid/dist/esm-browser/regex.js +1 -0
  2191. package/mac-agent/node_modules/uuid/dist/esm-browser/rng.js +19 -0
  2192. package/mac-agent/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
  2193. package/mac-agent/node_modules/uuid/dist/esm-browser/stringify.js +30 -0
  2194. package/mac-agent/node_modules/uuid/dist/esm-browser/v1.js +95 -0
  2195. package/mac-agent/node_modules/uuid/dist/esm-browser/v3.js +4 -0
  2196. package/mac-agent/node_modules/uuid/dist/esm-browser/v35.js +64 -0
  2197. package/mac-agent/node_modules/uuid/dist/esm-browser/v4.js +24 -0
  2198. package/mac-agent/node_modules/uuid/dist/esm-browser/v5.js +4 -0
  2199. package/mac-agent/node_modules/uuid/dist/esm-browser/validate.js +7 -0
  2200. package/mac-agent/node_modules/uuid/dist/esm-browser/version.js +11 -0
  2201. package/mac-agent/node_modules/uuid/dist/esm-node/index.js +9 -0
  2202. package/mac-agent/node_modules/uuid/dist/esm-node/md5.js +13 -0
  2203. package/mac-agent/node_modules/uuid/dist/esm-node/nil.js +1 -0
  2204. package/mac-agent/node_modules/uuid/dist/esm-node/parse.js +35 -0
  2205. package/mac-agent/node_modules/uuid/dist/esm-node/regex.js +1 -0
  2206. package/mac-agent/node_modules/uuid/dist/esm-node/rng.js +12 -0
  2207. package/mac-agent/node_modules/uuid/dist/esm-node/sha1.js +13 -0
  2208. package/mac-agent/node_modules/uuid/dist/esm-node/stringify.js +29 -0
  2209. package/mac-agent/node_modules/uuid/dist/esm-node/v1.js +95 -0
  2210. package/mac-agent/node_modules/uuid/dist/esm-node/v3.js +4 -0
  2211. package/mac-agent/node_modules/uuid/dist/esm-node/v35.js +64 -0
  2212. package/mac-agent/node_modules/uuid/dist/esm-node/v4.js +24 -0
  2213. package/mac-agent/node_modules/uuid/dist/esm-node/v5.js +4 -0
  2214. package/mac-agent/node_modules/uuid/dist/esm-node/validate.js +7 -0
  2215. package/mac-agent/node_modules/uuid/dist/esm-node/version.js +11 -0
  2216. package/mac-agent/node_modules/uuid/dist/index.js +79 -0
  2217. package/mac-agent/node_modules/uuid/dist/md5-browser.js +223 -0
  2218. package/mac-agent/node_modules/uuid/dist/md5.js +23 -0
  2219. package/mac-agent/node_modules/uuid/dist/nil.js +8 -0
  2220. package/mac-agent/node_modules/uuid/dist/parse.js +45 -0
  2221. package/mac-agent/node_modules/uuid/dist/regex.js +8 -0
  2222. package/mac-agent/node_modules/uuid/dist/rng-browser.js +26 -0
  2223. package/mac-agent/node_modules/uuid/dist/rng.js +24 -0
  2224. package/mac-agent/node_modules/uuid/dist/sha1-browser.js +104 -0
  2225. package/mac-agent/node_modules/uuid/dist/sha1.js +23 -0
  2226. package/mac-agent/node_modules/uuid/dist/stringify.js +39 -0
  2227. package/mac-agent/node_modules/uuid/dist/umd/uuid.min.js +1 -0
  2228. package/mac-agent/node_modules/uuid/dist/umd/uuidNIL.min.js +1 -0
  2229. package/mac-agent/node_modules/uuid/dist/umd/uuidParse.min.js +1 -0
  2230. package/mac-agent/node_modules/uuid/dist/umd/uuidStringify.min.js +1 -0
  2231. package/mac-agent/node_modules/uuid/dist/umd/uuidValidate.min.js +1 -0
  2232. package/mac-agent/node_modules/uuid/dist/umd/uuidVersion.min.js +1 -0
  2233. package/mac-agent/node_modules/uuid/dist/umd/uuidv1.min.js +1 -0
  2234. package/mac-agent/node_modules/uuid/dist/umd/uuidv3.min.js +1 -0
  2235. package/mac-agent/node_modules/uuid/dist/umd/uuidv4.min.js +1 -0
  2236. package/mac-agent/node_modules/uuid/dist/umd/uuidv5.min.js +1 -0
  2237. package/mac-agent/node_modules/uuid/dist/uuid-bin.js +85 -0
  2238. package/mac-agent/node_modules/uuid/dist/v1.js +107 -0
  2239. package/mac-agent/node_modules/uuid/dist/v3.js +16 -0
  2240. package/mac-agent/node_modules/uuid/dist/v35.js +78 -0
  2241. package/mac-agent/node_modules/uuid/dist/v4.js +37 -0
  2242. package/mac-agent/node_modules/uuid/dist/v5.js +16 -0
  2243. package/mac-agent/node_modules/uuid/dist/validate.js +17 -0
  2244. package/mac-agent/node_modules/uuid/dist/version.js +21 -0
  2245. package/mac-agent/node_modules/uuid/package.json +135 -0
  2246. package/mac-agent/node_modules/uuid/wrapper.mjs +10 -0
  2247. package/mac-agent/node_modules/validate-npm-package-license/LICENSE +202 -0
  2248. package/mac-agent/node_modules/validate-npm-package-license/README.md +113 -0
  2249. package/mac-agent/node_modules/validate-npm-package-license/index.js +86 -0
  2250. package/mac-agent/node_modules/validate-npm-package-license/package.json +28 -0
  2251. package/mac-agent/node_modules/webidl-conversions/LICENSE.md +12 -0
  2252. package/mac-agent/node_modules/webidl-conversions/README.md +80 -0
  2253. package/mac-agent/node_modules/webidl-conversions/lib/index.js +332 -0
  2254. package/mac-agent/node_modules/webidl-conversions/package.json +27 -0
  2255. package/mac-agent/node_modules/whatwg-url/LICENSE.txt +21 -0
  2256. package/mac-agent/node_modules/whatwg-url/README.md +67 -0
  2257. package/mac-agent/node_modules/whatwg-url/lib/URL-impl.js +200 -0
  2258. package/mac-agent/node_modules/whatwg-url/lib/URL.js +196 -0
  2259. package/mac-agent/node_modules/whatwg-url/lib/public-api.js +11 -0
  2260. package/mac-agent/node_modules/whatwg-url/lib/url-state-machine.js +1297 -0
  2261. package/mac-agent/node_modules/whatwg-url/lib/utils.js +20 -0
  2262. package/mac-agent/node_modules/whatwg-url/node_modules/webidl-conversions/LICENSE.md +12 -0
  2263. package/mac-agent/node_modules/whatwg-url/node_modules/webidl-conversions/README.md +53 -0
  2264. package/mac-agent/node_modules/whatwg-url/node_modules/webidl-conversions/lib/index.js +189 -0
  2265. package/mac-agent/node_modules/whatwg-url/node_modules/webidl-conversions/package.json +23 -0
  2266. package/mac-agent/node_modules/whatwg-url/package.json +32 -0
  2267. package/mac-agent/node_modules/which/CHANGELOG.md +152 -0
  2268. package/mac-agent/node_modules/which/LICENSE +15 -0
  2269. package/mac-agent/node_modules/which/README.md +51 -0
  2270. package/mac-agent/node_modules/which/bin/which +52 -0
  2271. package/mac-agent/node_modules/which/package.json +30 -0
  2272. package/mac-agent/node_modules/which/which.js +135 -0
  2273. package/mac-agent/node_modules/which-module/CHANGELOG.md +11 -0
  2274. package/mac-agent/node_modules/which-module/LICENSE +13 -0
  2275. package/mac-agent/node_modules/which-module/README.md +55 -0
  2276. package/mac-agent/node_modules/which-module/index.js +9 -0
  2277. package/mac-agent/node_modules/which-module/package.json +41 -0
  2278. package/mac-agent/node_modules/wide-align/LICENSE +14 -0
  2279. package/mac-agent/node_modules/wide-align/README.md +47 -0
  2280. package/mac-agent/node_modules/wide-align/align.js +65 -0
  2281. package/mac-agent/node_modules/wide-align/package.json +33 -0
  2282. package/mac-agent/node_modules/winston/LICENSE +19 -0
  2283. package/mac-agent/node_modules/winston/README.md +1271 -0
  2284. package/mac-agent/node_modules/winston/dist/winston/common.js +44 -0
  2285. package/mac-agent/node_modules/winston/dist/winston/config/index.js +36 -0
  2286. package/mac-agent/node_modules/winston/dist/winston/container.js +141 -0
  2287. package/mac-agent/node_modules/winston/dist/winston/create-logger.js +123 -0
  2288. package/mac-agent/node_modules/winston/dist/winston/exception-handler.js +265 -0
  2289. package/mac-agent/node_modules/winston/dist/winston/exception-stream.js +75 -0
  2290. package/mac-agent/node_modules/winston/dist/winston/logger.js +672 -0
  2291. package/mac-agent/node_modules/winston/dist/winston/profiler.js +65 -0
  2292. package/mac-agent/node_modules/winston/dist/winston/rejection-handler.js +265 -0
  2293. package/mac-agent/node_modules/winston/dist/winston/rejection-stream.js +72 -0
  2294. package/mac-agent/node_modules/winston/dist/winston/tail-file.js +113 -0
  2295. package/mac-agent/node_modules/winston/dist/winston/transports/console.js +143 -0
  2296. package/mac-agent/node_modules/winston/dist/winston/transports/file.js +788 -0
  2297. package/mac-agent/node_modules/winston/dist/winston/transports/http.js +288 -0
  2298. package/mac-agent/node_modules/winston/dist/winston/transports/index.js +56 -0
  2299. package/mac-agent/node_modules/winston/dist/winston/transports/stream.js +86 -0
  2300. package/mac-agent/node_modules/winston/dist/winston.js +171 -0
  2301. package/mac-agent/node_modules/winston/index.d.ts +208 -0
  2302. package/mac-agent/node_modules/winston/lib/winston/common.js +46 -0
  2303. package/mac-agent/node_modules/winston/lib/winston/config/index.d.ts +99 -0
  2304. package/mac-agent/node_modules/winston/lib/winston/config/index.js +35 -0
  2305. package/mac-agent/node_modules/winston/lib/winston/container.js +118 -0
  2306. package/mac-agent/node_modules/winston/lib/winston/create-logger.js +104 -0
  2307. package/mac-agent/node_modules/winston/lib/winston/exception-handler.js +245 -0
  2308. package/mac-agent/node_modules/winston/lib/winston/exception-stream.js +54 -0
  2309. package/mac-agent/node_modules/winston/lib/winston/logger.js +677 -0
  2310. package/mac-agent/node_modules/winston/lib/winston/profiler.js +53 -0
  2311. package/mac-agent/node_modules/winston/lib/winston/rejection-handler.js +251 -0
  2312. package/mac-agent/node_modules/winston/lib/winston/rejection-stream.js +52 -0
  2313. package/mac-agent/node_modules/winston/lib/winston/tail-file.js +124 -0
  2314. package/mac-agent/node_modules/winston/lib/winston/transports/console.js +125 -0
  2315. package/mac-agent/node_modules/winston/lib/winston/transports/file.js +763 -0
  2316. package/mac-agent/node_modules/winston/lib/winston/transports/http.js +262 -0
  2317. package/mac-agent/node_modules/winston/lib/winston/transports/index.d.ts +117 -0
  2318. package/mac-agent/node_modules/winston/lib/winston/transports/index.js +56 -0
  2319. package/mac-agent/node_modules/winston/lib/winston/transports/stream.js +63 -0
  2320. package/mac-agent/node_modules/winston/lib/winston.js +191 -0
  2321. package/mac-agent/node_modules/winston/package.json +74 -0
  2322. package/mac-agent/node_modules/winston-transport/.babelrc +3 -0
  2323. package/mac-agent/node_modules/winston-transport/.eslintrc +7 -0
  2324. package/mac-agent/node_modules/winston-transport/.gitattributes +1 -0
  2325. package/mac-agent/node_modules/winston-transport/.nyc_output/68e78020-c804-4f37-a68a-a967c6380da9.json +1 -0
  2326. package/mac-agent/node_modules/winston-transport/.nyc_output/processinfo/68e78020-c804-4f37-a68a-a967c6380da9.json +1 -0
  2327. package/mac-agent/node_modules/winston-transport/.nyc_output/processinfo/index.json +1 -0
  2328. package/mac-agent/node_modules/winston-transport/CHANGELOG.md +126 -0
  2329. package/mac-agent/node_modules/winston-transport/LICENSE +22 -0
  2330. package/mac-agent/node_modules/winston-transport/README.md +50 -0
  2331. package/mac-agent/node_modules/winston-transport/dist/index.js +8 -0
  2332. package/mac-agent/node_modules/winston-transport/dist/legacy.js +116 -0
  2333. package/mac-agent/node_modules/winston-transport/dist/modern.js +212 -0
  2334. package/mac-agent/node_modules/winston-transport/index.d.ts +39 -0
  2335. package/mac-agent/node_modules/winston-transport/index.js +7 -0
  2336. package/mac-agent/node_modules/winston-transport/legacy.js +119 -0
  2337. package/mac-agent/node_modules/winston-transport/modern.js +211 -0
  2338. package/mac-agent/node_modules/winston-transport/package.json +52 -0
  2339. package/mac-agent/node_modules/wrap-ansi/index.js +168 -0
  2340. package/mac-agent/node_modules/wrap-ansi/license +21 -0
  2341. package/mac-agent/node_modules/wrap-ansi/node_modules/ansi-regex/index.js +4 -0
  2342. package/mac-agent/node_modules/wrap-ansi/node_modules/ansi-regex/license +21 -0
  2343. package/mac-agent/node_modules/wrap-ansi/node_modules/ansi-regex/package.json +64 -0
  2344. package/mac-agent/node_modules/wrap-ansi/node_modules/ansi-regex/readme.md +39 -0
  2345. package/mac-agent/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/index.js +46 -0
  2346. package/mac-agent/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/license +21 -0
  2347. package/mac-agent/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/package.json +45 -0
  2348. package/mac-agent/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/readme.md +39 -0
  2349. package/mac-agent/node_modules/wrap-ansi/node_modules/string-width/index.js +37 -0
  2350. package/mac-agent/node_modules/wrap-ansi/node_modules/string-width/license +21 -0
  2351. package/mac-agent/node_modules/wrap-ansi/node_modules/string-width/package.json +56 -0
  2352. package/mac-agent/node_modules/wrap-ansi/node_modules/string-width/readme.md +42 -0
  2353. package/mac-agent/node_modules/wrap-ansi/node_modules/strip-ansi/index.js +6 -0
  2354. package/mac-agent/node_modules/wrap-ansi/node_modules/strip-ansi/license +21 -0
  2355. package/mac-agent/node_modules/wrap-ansi/node_modules/strip-ansi/package.json +57 -0
  2356. package/mac-agent/node_modules/wrap-ansi/node_modules/strip-ansi/readme.md +33 -0
  2357. package/mac-agent/node_modules/wrap-ansi/package.json +68 -0
  2358. package/mac-agent/node_modules/wrap-ansi/readme.md +73 -0
  2359. package/mac-agent/node_modules/wrappy/LICENSE +15 -0
  2360. package/mac-agent/node_modules/wrappy/README.md +36 -0
  2361. package/mac-agent/node_modules/wrappy/package.json +29 -0
  2362. package/mac-agent/node_modules/wrappy/wrappy.js +33 -0
  2363. package/mac-agent/node_modules/ws/LICENSE +20 -0
  2364. package/mac-agent/node_modules/ws/README.md +548 -0
  2365. package/mac-agent/node_modules/ws/browser.js +8 -0
  2366. package/mac-agent/node_modules/ws/index.js +13 -0
  2367. package/mac-agent/node_modules/ws/lib/buffer-util.js +131 -0
  2368. package/mac-agent/node_modules/ws/lib/constants.js +18 -0
  2369. package/mac-agent/node_modules/ws/lib/event-target.js +292 -0
  2370. package/mac-agent/node_modules/ws/lib/extension.js +203 -0
  2371. package/mac-agent/node_modules/ws/lib/limiter.js +55 -0
  2372. package/mac-agent/node_modules/ws/lib/permessage-deflate.js +528 -0
  2373. package/mac-agent/node_modules/ws/lib/receiver.js +706 -0
  2374. package/mac-agent/node_modules/ws/lib/sender.js +602 -0
  2375. package/mac-agent/node_modules/ws/lib/stream.js +161 -0
  2376. package/mac-agent/node_modules/ws/lib/subprotocol.js +62 -0
  2377. package/mac-agent/node_modules/ws/lib/validation.js +152 -0
  2378. package/mac-agent/node_modules/ws/lib/websocket-server.js +550 -0
  2379. package/mac-agent/node_modules/ws/lib/websocket.js +1388 -0
  2380. package/mac-agent/node_modules/ws/package.json +69 -0
  2381. package/mac-agent/node_modules/ws/wrapper.mjs +8 -0
  2382. package/mac-agent/node_modules/y18n/CHANGELOG.md +6 -0
  2383. package/mac-agent/node_modules/y18n/LICENSE +13 -0
  2384. package/mac-agent/node_modules/y18n/README.md +91 -0
  2385. package/mac-agent/node_modules/y18n/index.js +172 -0
  2386. package/mac-agent/node_modules/y18n/package.json +37 -0
  2387. package/mac-agent/node_modules/yallist/LICENSE +15 -0
  2388. package/mac-agent/node_modules/yallist/README.md +204 -0
  2389. package/mac-agent/node_modules/yallist/iterator.js +8 -0
  2390. package/mac-agent/node_modules/yallist/package.json +29 -0
  2391. package/mac-agent/node_modules/yallist/yallist.js +426 -0
  2392. package/mac-agent/node_modules/yargs/CHANGELOG.md +928 -0
  2393. package/mac-agent/node_modules/yargs/LICENSE +22 -0
  2394. package/mac-agent/node_modules/yargs/README.md +2017 -0
  2395. package/mac-agent/node_modules/yargs/completion.sh.hbs +28 -0
  2396. package/mac-agent/node_modules/yargs/index.js +31 -0
  2397. package/mac-agent/node_modules/yargs/lib/apply-extends.js +41 -0
  2398. package/mac-agent/node_modules/yargs/lib/argsert.js +72 -0
  2399. package/mac-agent/node_modules/yargs/lib/assign.js +15 -0
  2400. package/mac-agent/node_modules/yargs/lib/command.js +334 -0
  2401. package/mac-agent/node_modules/yargs/lib/completion.js +104 -0
  2402. package/mac-agent/node_modules/yargs/lib/levenshtein.js +47 -0
  2403. package/mac-agent/node_modules/yargs/lib/obj-filter.js +10 -0
  2404. package/mac-agent/node_modules/yargs/lib/usage.js +489 -0
  2405. package/mac-agent/node_modules/yargs/lib/validation.js +363 -0
  2406. package/mac-agent/node_modules/yargs/lib/yerror.js +10 -0
  2407. package/mac-agent/node_modules/yargs/locales/be.json +39 -0
  2408. package/mac-agent/node_modules/yargs/locales/de.json +39 -0
  2409. package/mac-agent/node_modules/yargs/locales/en.json +40 -0
  2410. package/mac-agent/node_modules/yargs/locales/es.json +39 -0
  2411. package/mac-agent/node_modules/yargs/locales/fr.json +37 -0
  2412. package/mac-agent/node_modules/yargs/locales/hi.json +39 -0
  2413. package/mac-agent/node_modules/yargs/locales/hu.json +39 -0
  2414. package/mac-agent/node_modules/yargs/locales/id.json +40 -0
  2415. package/mac-agent/node_modules/yargs/locales/it.json +39 -0
  2416. package/mac-agent/node_modules/yargs/locales/ja.json +39 -0
  2417. package/mac-agent/node_modules/yargs/locales/ko.json +39 -0
  2418. package/mac-agent/node_modules/yargs/locales/nb.json +37 -0
  2419. package/mac-agent/node_modules/yargs/locales/nl.json +39 -0
  2420. package/mac-agent/node_modules/yargs/locales/pirate.json +12 -0
  2421. package/mac-agent/node_modules/yargs/locales/pl.json +39 -0
  2422. package/mac-agent/node_modules/yargs/locales/pt.json +38 -0
  2423. package/mac-agent/node_modules/yargs/locales/pt_BR.json +40 -0
  2424. package/mac-agent/node_modules/yargs/locales/ru.json +39 -0
  2425. package/mac-agent/node_modules/yargs/locales/th.json +39 -0
  2426. package/mac-agent/node_modules/yargs/locales/tr.json +39 -0
  2427. package/mac-agent/node_modules/yargs/locales/zh_CN.json +37 -0
  2428. package/mac-agent/node_modules/yargs/locales/zh_TW.json +40 -0
  2429. package/mac-agent/node_modules/yargs/node_modules/ansi-regex/index.js +4 -0
  2430. package/mac-agent/node_modules/yargs/node_modules/ansi-regex/license +21 -0
  2431. package/mac-agent/node_modules/yargs/node_modules/ansi-regex/package.json +64 -0
  2432. package/mac-agent/node_modules/yargs/node_modules/ansi-regex/readme.md +39 -0
  2433. package/mac-agent/node_modules/yargs/node_modules/is-fullwidth-code-point/index.js +46 -0
  2434. package/mac-agent/node_modules/yargs/node_modules/is-fullwidth-code-point/license +21 -0
  2435. package/mac-agent/node_modules/yargs/node_modules/is-fullwidth-code-point/package.json +45 -0
  2436. package/mac-agent/node_modules/yargs/node_modules/is-fullwidth-code-point/readme.md +39 -0
  2437. package/mac-agent/node_modules/yargs/node_modules/string-width/index.js +37 -0
  2438. package/mac-agent/node_modules/yargs/node_modules/string-width/license +21 -0
  2439. package/mac-agent/node_modules/yargs/node_modules/string-width/package.json +56 -0
  2440. package/mac-agent/node_modules/yargs/node_modules/string-width/readme.md +42 -0
  2441. package/mac-agent/node_modules/yargs/node_modules/strip-ansi/index.js +6 -0
  2442. package/mac-agent/node_modules/yargs/node_modules/strip-ansi/license +21 -0
  2443. package/mac-agent/node_modules/yargs/node_modules/strip-ansi/package.json +57 -0
  2444. package/mac-agent/node_modules/yargs/node_modules/strip-ansi/readme.md +33 -0
  2445. package/mac-agent/node_modules/yargs/package.json +80 -0
  2446. package/mac-agent/node_modules/yargs/yargs.js +1126 -0
  2447. package/mac-agent/node_modules/yargs-parser/CHANGELOG.md +176 -0
  2448. package/mac-agent/node_modules/yargs-parser/LICENSE.txt +14 -0
  2449. package/mac-agent/node_modules/yargs-parser/README.md +257 -0
  2450. package/mac-agent/node_modules/yargs-parser/index.js +753 -0
  2451. package/mac-agent/node_modules/yargs-parser/lib/tokenize-arg-string.js +34 -0
  2452. package/mac-agent/node_modules/yargs-parser/package.json +44 -0
  2453. package/mac-agent/package-lock.json +2272 -0
  2454. package/mac-agent/package.json +31 -0
  2455. package/mac-agent/setup.js +120 -0
  2456. package/mac-agent/shell-mirror@1.5.7 +0 -0
  2457. package/mac-agent/web-setup.js +145 -0
  2458. package/package.json +2 -1
@@ -0,0 +1,4787 @@
1
+ /*! Axios v1.10.0 Copyright (c) 2025 Matt Zabriskie and contributors */
2
+ 'use strict';
3
+
4
+ const FormData$1 = require('form-data');
5
+ const crypto = require('crypto');
6
+ const url = require('url');
7
+ const proxyFromEnv = require('proxy-from-env');
8
+ const http = require('http');
9
+ const https = require('https');
10
+ const util = require('util');
11
+ const followRedirects = require('follow-redirects');
12
+ const zlib = require('zlib');
13
+ const stream = require('stream');
14
+ const events = require('events');
15
+
16
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
17
+
18
+ const FormData__default = /*#__PURE__*/_interopDefaultLegacy(FormData$1);
19
+ const crypto__default = /*#__PURE__*/_interopDefaultLegacy(crypto);
20
+ const url__default = /*#__PURE__*/_interopDefaultLegacy(url);
21
+ const proxyFromEnv__default = /*#__PURE__*/_interopDefaultLegacy(proxyFromEnv);
22
+ const http__default = /*#__PURE__*/_interopDefaultLegacy(http);
23
+ const https__default = /*#__PURE__*/_interopDefaultLegacy(https);
24
+ const util__default = /*#__PURE__*/_interopDefaultLegacy(util);
25
+ const followRedirects__default = /*#__PURE__*/_interopDefaultLegacy(followRedirects);
26
+ const zlib__default = /*#__PURE__*/_interopDefaultLegacy(zlib);
27
+ const stream__default = /*#__PURE__*/_interopDefaultLegacy(stream);
28
+
29
+ function bind(fn, thisArg) {
30
+ return function wrap() {
31
+ return fn.apply(thisArg, arguments);
32
+ };
33
+ }
34
+
35
+ // utils is a library of generic helper functions non-specific to axios
36
+
37
+ const {toString} = Object.prototype;
38
+ const {getPrototypeOf} = Object;
39
+ const {iterator, toStringTag} = Symbol;
40
+
41
+ const kindOf = (cache => thing => {
42
+ const str = toString.call(thing);
43
+ return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
44
+ })(Object.create(null));
45
+
46
+ const kindOfTest = (type) => {
47
+ type = type.toLowerCase();
48
+ return (thing) => kindOf(thing) === type
49
+ };
50
+
51
+ const typeOfTest = type => thing => typeof thing === type;
52
+
53
+ /**
54
+ * Determine if a value is an Array
55
+ *
56
+ * @param {Object} val The value to test
57
+ *
58
+ * @returns {boolean} True if value is an Array, otherwise false
59
+ */
60
+ const {isArray} = Array;
61
+
62
+ /**
63
+ * Determine if a value is undefined
64
+ *
65
+ * @param {*} val The value to test
66
+ *
67
+ * @returns {boolean} True if the value is undefined, otherwise false
68
+ */
69
+ const isUndefined = typeOfTest('undefined');
70
+
71
+ /**
72
+ * Determine if a value is a Buffer
73
+ *
74
+ * @param {*} val The value to test
75
+ *
76
+ * @returns {boolean} True if value is a Buffer, otherwise false
77
+ */
78
+ function isBuffer(val) {
79
+ return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)
80
+ && isFunction(val.constructor.isBuffer) && val.constructor.isBuffer(val);
81
+ }
82
+
83
+ /**
84
+ * Determine if a value is an ArrayBuffer
85
+ *
86
+ * @param {*} val The value to test
87
+ *
88
+ * @returns {boolean} True if value is an ArrayBuffer, otherwise false
89
+ */
90
+ const isArrayBuffer = kindOfTest('ArrayBuffer');
91
+
92
+
93
+ /**
94
+ * Determine if a value is a view on an ArrayBuffer
95
+ *
96
+ * @param {*} val The value to test
97
+ *
98
+ * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false
99
+ */
100
+ function isArrayBufferView(val) {
101
+ let result;
102
+ if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {
103
+ result = ArrayBuffer.isView(val);
104
+ } else {
105
+ result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));
106
+ }
107
+ return result;
108
+ }
109
+
110
+ /**
111
+ * Determine if a value is a String
112
+ *
113
+ * @param {*} val The value to test
114
+ *
115
+ * @returns {boolean} True if value is a String, otherwise false
116
+ */
117
+ const isString = typeOfTest('string');
118
+
119
+ /**
120
+ * Determine if a value is a Function
121
+ *
122
+ * @param {*} val The value to test
123
+ * @returns {boolean} True if value is a Function, otherwise false
124
+ */
125
+ const isFunction = typeOfTest('function');
126
+
127
+ /**
128
+ * Determine if a value is a Number
129
+ *
130
+ * @param {*} val The value to test
131
+ *
132
+ * @returns {boolean} True if value is a Number, otherwise false
133
+ */
134
+ const isNumber = typeOfTest('number');
135
+
136
+ /**
137
+ * Determine if a value is an Object
138
+ *
139
+ * @param {*} thing The value to test
140
+ *
141
+ * @returns {boolean} True if value is an Object, otherwise false
142
+ */
143
+ const isObject = (thing) => thing !== null && typeof thing === 'object';
144
+
145
+ /**
146
+ * Determine if a value is a Boolean
147
+ *
148
+ * @param {*} thing The value to test
149
+ * @returns {boolean} True if value is a Boolean, otherwise false
150
+ */
151
+ const isBoolean = thing => thing === true || thing === false;
152
+
153
+ /**
154
+ * Determine if a value is a plain Object
155
+ *
156
+ * @param {*} val The value to test
157
+ *
158
+ * @returns {boolean} True if value is a plain Object, otherwise false
159
+ */
160
+ const isPlainObject = (val) => {
161
+ if (kindOf(val) !== 'object') {
162
+ return false;
163
+ }
164
+
165
+ const prototype = getPrototypeOf(val);
166
+ return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(toStringTag in val) && !(iterator in val);
167
+ };
168
+
169
+ /**
170
+ * Determine if a value is a Date
171
+ *
172
+ * @param {*} val The value to test
173
+ *
174
+ * @returns {boolean} True if value is a Date, otherwise false
175
+ */
176
+ const isDate = kindOfTest('Date');
177
+
178
+ /**
179
+ * Determine if a value is a File
180
+ *
181
+ * @param {*} val The value to test
182
+ *
183
+ * @returns {boolean} True if value is a File, otherwise false
184
+ */
185
+ const isFile = kindOfTest('File');
186
+
187
+ /**
188
+ * Determine if a value is a Blob
189
+ *
190
+ * @param {*} val The value to test
191
+ *
192
+ * @returns {boolean} True if value is a Blob, otherwise false
193
+ */
194
+ const isBlob = kindOfTest('Blob');
195
+
196
+ /**
197
+ * Determine if a value is a FileList
198
+ *
199
+ * @param {*} val The value to test
200
+ *
201
+ * @returns {boolean} True if value is a File, otherwise false
202
+ */
203
+ const isFileList = kindOfTest('FileList');
204
+
205
+ /**
206
+ * Determine if a value is a Stream
207
+ *
208
+ * @param {*} val The value to test
209
+ *
210
+ * @returns {boolean} True if value is a Stream, otherwise false
211
+ */
212
+ const isStream = (val) => isObject(val) && isFunction(val.pipe);
213
+
214
+ /**
215
+ * Determine if a value is a FormData
216
+ *
217
+ * @param {*} thing The value to test
218
+ *
219
+ * @returns {boolean} True if value is an FormData, otherwise false
220
+ */
221
+ const isFormData = (thing) => {
222
+ let kind;
223
+ return thing && (
224
+ (typeof FormData === 'function' && thing instanceof FormData) || (
225
+ isFunction(thing.append) && (
226
+ (kind = kindOf(thing)) === 'formdata' ||
227
+ // detect form-data instance
228
+ (kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')
229
+ )
230
+ )
231
+ )
232
+ };
233
+
234
+ /**
235
+ * Determine if a value is a URLSearchParams object
236
+ *
237
+ * @param {*} val The value to test
238
+ *
239
+ * @returns {boolean} True if value is a URLSearchParams object, otherwise false
240
+ */
241
+ const isURLSearchParams = kindOfTest('URLSearchParams');
242
+
243
+ const [isReadableStream, isRequest, isResponse, isHeaders] = ['ReadableStream', 'Request', 'Response', 'Headers'].map(kindOfTest);
244
+
245
+ /**
246
+ * Trim excess whitespace off the beginning and end of a string
247
+ *
248
+ * @param {String} str The String to trim
249
+ *
250
+ * @returns {String} The String freed of excess whitespace
251
+ */
252
+ const trim = (str) => str.trim ?
253
+ str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
254
+
255
+ /**
256
+ * Iterate over an Array or an Object invoking a function for each item.
257
+ *
258
+ * If `obj` is an Array callback will be called passing
259
+ * the value, index, and complete array for each item.
260
+ *
261
+ * If 'obj' is an Object callback will be called passing
262
+ * the value, key, and complete object for each property.
263
+ *
264
+ * @param {Object|Array} obj The object to iterate
265
+ * @param {Function} fn The callback to invoke for each item
266
+ *
267
+ * @param {Boolean} [allOwnKeys = false]
268
+ * @returns {any}
269
+ */
270
+ function forEach(obj, fn, {allOwnKeys = false} = {}) {
271
+ // Don't bother if no value provided
272
+ if (obj === null || typeof obj === 'undefined') {
273
+ return;
274
+ }
275
+
276
+ let i;
277
+ let l;
278
+
279
+ // Force an array if not already something iterable
280
+ if (typeof obj !== 'object') {
281
+ /*eslint no-param-reassign:0*/
282
+ obj = [obj];
283
+ }
284
+
285
+ if (isArray(obj)) {
286
+ // Iterate over array values
287
+ for (i = 0, l = obj.length; i < l; i++) {
288
+ fn.call(null, obj[i], i, obj);
289
+ }
290
+ } else {
291
+ // Iterate over object keys
292
+ const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
293
+ const len = keys.length;
294
+ let key;
295
+
296
+ for (i = 0; i < len; i++) {
297
+ key = keys[i];
298
+ fn.call(null, obj[key], key, obj);
299
+ }
300
+ }
301
+ }
302
+
303
+ function findKey(obj, key) {
304
+ key = key.toLowerCase();
305
+ const keys = Object.keys(obj);
306
+ let i = keys.length;
307
+ let _key;
308
+ while (i-- > 0) {
309
+ _key = keys[i];
310
+ if (key === _key.toLowerCase()) {
311
+ return _key;
312
+ }
313
+ }
314
+ return null;
315
+ }
316
+
317
+ const _global = (() => {
318
+ /*eslint no-undef:0*/
319
+ if (typeof globalThis !== "undefined") return globalThis;
320
+ return typeof self !== "undefined" ? self : (typeof window !== 'undefined' ? window : global)
321
+ })();
322
+
323
+ const isContextDefined = (context) => !isUndefined(context) && context !== _global;
324
+
325
+ /**
326
+ * Accepts varargs expecting each argument to be an object, then
327
+ * immutably merges the properties of each object and returns result.
328
+ *
329
+ * When multiple objects contain the same key the later object in
330
+ * the arguments list will take precedence.
331
+ *
332
+ * Example:
333
+ *
334
+ * ```js
335
+ * var result = merge({foo: 123}, {foo: 456});
336
+ * console.log(result.foo); // outputs 456
337
+ * ```
338
+ *
339
+ * @param {Object} obj1 Object to merge
340
+ *
341
+ * @returns {Object} Result of all merge properties
342
+ */
343
+ function merge(/* obj1, obj2, obj3, ... */) {
344
+ const {caseless} = isContextDefined(this) && this || {};
345
+ const result = {};
346
+ const assignValue = (val, key) => {
347
+ const targetKey = caseless && findKey(result, key) || key;
348
+ if (isPlainObject(result[targetKey]) && isPlainObject(val)) {
349
+ result[targetKey] = merge(result[targetKey], val);
350
+ } else if (isPlainObject(val)) {
351
+ result[targetKey] = merge({}, val);
352
+ } else if (isArray(val)) {
353
+ result[targetKey] = val.slice();
354
+ } else {
355
+ result[targetKey] = val;
356
+ }
357
+ };
358
+
359
+ for (let i = 0, l = arguments.length; i < l; i++) {
360
+ arguments[i] && forEach(arguments[i], assignValue);
361
+ }
362
+ return result;
363
+ }
364
+
365
+ /**
366
+ * Extends object a by mutably adding to it the properties of object b.
367
+ *
368
+ * @param {Object} a The object to be extended
369
+ * @param {Object} b The object to copy properties from
370
+ * @param {Object} thisArg The object to bind function to
371
+ *
372
+ * @param {Boolean} [allOwnKeys]
373
+ * @returns {Object} The resulting value of object a
374
+ */
375
+ const extend = (a, b, thisArg, {allOwnKeys}= {}) => {
376
+ forEach(b, (val, key) => {
377
+ if (thisArg && isFunction(val)) {
378
+ a[key] = bind(val, thisArg);
379
+ } else {
380
+ a[key] = val;
381
+ }
382
+ }, {allOwnKeys});
383
+ return a;
384
+ };
385
+
386
+ /**
387
+ * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)
388
+ *
389
+ * @param {string} content with BOM
390
+ *
391
+ * @returns {string} content value without BOM
392
+ */
393
+ const stripBOM = (content) => {
394
+ if (content.charCodeAt(0) === 0xFEFF) {
395
+ content = content.slice(1);
396
+ }
397
+ return content;
398
+ };
399
+
400
+ /**
401
+ * Inherit the prototype methods from one constructor into another
402
+ * @param {function} constructor
403
+ * @param {function} superConstructor
404
+ * @param {object} [props]
405
+ * @param {object} [descriptors]
406
+ *
407
+ * @returns {void}
408
+ */
409
+ const inherits = (constructor, superConstructor, props, descriptors) => {
410
+ constructor.prototype = Object.create(superConstructor.prototype, descriptors);
411
+ constructor.prototype.constructor = constructor;
412
+ Object.defineProperty(constructor, 'super', {
413
+ value: superConstructor.prototype
414
+ });
415
+ props && Object.assign(constructor.prototype, props);
416
+ };
417
+
418
+ /**
419
+ * Resolve object with deep prototype chain to a flat object
420
+ * @param {Object} sourceObj source object
421
+ * @param {Object} [destObj]
422
+ * @param {Function|Boolean} [filter]
423
+ * @param {Function} [propFilter]
424
+ *
425
+ * @returns {Object}
426
+ */
427
+ const toFlatObject = (sourceObj, destObj, filter, propFilter) => {
428
+ let props;
429
+ let i;
430
+ let prop;
431
+ const merged = {};
432
+
433
+ destObj = destObj || {};
434
+ // eslint-disable-next-line no-eq-null,eqeqeq
435
+ if (sourceObj == null) return destObj;
436
+
437
+ do {
438
+ props = Object.getOwnPropertyNames(sourceObj);
439
+ i = props.length;
440
+ while (i-- > 0) {
441
+ prop = props[i];
442
+ if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {
443
+ destObj[prop] = sourceObj[prop];
444
+ merged[prop] = true;
445
+ }
446
+ }
447
+ sourceObj = filter !== false && getPrototypeOf(sourceObj);
448
+ } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);
449
+
450
+ return destObj;
451
+ };
452
+
453
+ /**
454
+ * Determines whether a string ends with the characters of a specified string
455
+ *
456
+ * @param {String} str
457
+ * @param {String} searchString
458
+ * @param {Number} [position= 0]
459
+ *
460
+ * @returns {boolean}
461
+ */
462
+ const endsWith = (str, searchString, position) => {
463
+ str = String(str);
464
+ if (position === undefined || position > str.length) {
465
+ position = str.length;
466
+ }
467
+ position -= searchString.length;
468
+ const lastIndex = str.indexOf(searchString, position);
469
+ return lastIndex !== -1 && lastIndex === position;
470
+ };
471
+
472
+
473
+ /**
474
+ * Returns new array from array like object or null if failed
475
+ *
476
+ * @param {*} [thing]
477
+ *
478
+ * @returns {?Array}
479
+ */
480
+ const toArray = (thing) => {
481
+ if (!thing) return null;
482
+ if (isArray(thing)) return thing;
483
+ let i = thing.length;
484
+ if (!isNumber(i)) return null;
485
+ const arr = new Array(i);
486
+ while (i-- > 0) {
487
+ arr[i] = thing[i];
488
+ }
489
+ return arr;
490
+ };
491
+
492
+ /**
493
+ * Checking if the Uint8Array exists and if it does, it returns a function that checks if the
494
+ * thing passed in is an instance of Uint8Array
495
+ *
496
+ * @param {TypedArray}
497
+ *
498
+ * @returns {Array}
499
+ */
500
+ // eslint-disable-next-line func-names
501
+ const isTypedArray = (TypedArray => {
502
+ // eslint-disable-next-line func-names
503
+ return thing => {
504
+ return TypedArray && thing instanceof TypedArray;
505
+ };
506
+ })(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));
507
+
508
+ /**
509
+ * For each entry in the object, call the function with the key and value.
510
+ *
511
+ * @param {Object<any, any>} obj - The object to iterate over.
512
+ * @param {Function} fn - The function to call for each entry.
513
+ *
514
+ * @returns {void}
515
+ */
516
+ const forEachEntry = (obj, fn) => {
517
+ const generator = obj && obj[iterator];
518
+
519
+ const _iterator = generator.call(obj);
520
+
521
+ let result;
522
+
523
+ while ((result = _iterator.next()) && !result.done) {
524
+ const pair = result.value;
525
+ fn.call(obj, pair[0], pair[1]);
526
+ }
527
+ };
528
+
529
+ /**
530
+ * It takes a regular expression and a string, and returns an array of all the matches
531
+ *
532
+ * @param {string} regExp - The regular expression to match against.
533
+ * @param {string} str - The string to search.
534
+ *
535
+ * @returns {Array<boolean>}
536
+ */
537
+ const matchAll = (regExp, str) => {
538
+ let matches;
539
+ const arr = [];
540
+
541
+ while ((matches = regExp.exec(str)) !== null) {
542
+ arr.push(matches);
543
+ }
544
+
545
+ return arr;
546
+ };
547
+
548
+ /* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */
549
+ const isHTMLForm = kindOfTest('HTMLFormElement');
550
+
551
+ const toCamelCase = str => {
552
+ return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,
553
+ function replacer(m, p1, p2) {
554
+ return p1.toUpperCase() + p2;
555
+ }
556
+ );
557
+ };
558
+
559
+ /* Creating a function that will check if an object has a property. */
560
+ const hasOwnProperty = (({hasOwnProperty}) => (obj, prop) => hasOwnProperty.call(obj, prop))(Object.prototype);
561
+
562
+ /**
563
+ * Determine if a value is a RegExp object
564
+ *
565
+ * @param {*} val The value to test
566
+ *
567
+ * @returns {boolean} True if value is a RegExp object, otherwise false
568
+ */
569
+ const isRegExp = kindOfTest('RegExp');
570
+
571
+ const reduceDescriptors = (obj, reducer) => {
572
+ const descriptors = Object.getOwnPropertyDescriptors(obj);
573
+ const reducedDescriptors = {};
574
+
575
+ forEach(descriptors, (descriptor, name) => {
576
+ let ret;
577
+ if ((ret = reducer(descriptor, name, obj)) !== false) {
578
+ reducedDescriptors[name] = ret || descriptor;
579
+ }
580
+ });
581
+
582
+ Object.defineProperties(obj, reducedDescriptors);
583
+ };
584
+
585
+ /**
586
+ * Makes all methods read-only
587
+ * @param {Object} obj
588
+ */
589
+
590
+ const freezeMethods = (obj) => {
591
+ reduceDescriptors(obj, (descriptor, name) => {
592
+ // skip restricted props in strict mode
593
+ if (isFunction(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {
594
+ return false;
595
+ }
596
+
597
+ const value = obj[name];
598
+
599
+ if (!isFunction(value)) return;
600
+
601
+ descriptor.enumerable = false;
602
+
603
+ if ('writable' in descriptor) {
604
+ descriptor.writable = false;
605
+ return;
606
+ }
607
+
608
+ if (!descriptor.set) {
609
+ descriptor.set = () => {
610
+ throw Error('Can not rewrite read-only method \'' + name + '\'');
611
+ };
612
+ }
613
+ });
614
+ };
615
+
616
+ const toObjectSet = (arrayOrString, delimiter) => {
617
+ const obj = {};
618
+
619
+ const define = (arr) => {
620
+ arr.forEach(value => {
621
+ obj[value] = true;
622
+ });
623
+ };
624
+
625
+ isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));
626
+
627
+ return obj;
628
+ };
629
+
630
+ const noop = () => {};
631
+
632
+ const toFiniteNumber = (value, defaultValue) => {
633
+ return value != null && Number.isFinite(value = +value) ? value : defaultValue;
634
+ };
635
+
636
+ /**
637
+ * If the thing is a FormData object, return true, otherwise return false.
638
+ *
639
+ * @param {unknown} thing - The thing to check.
640
+ *
641
+ * @returns {boolean}
642
+ */
643
+ function isSpecCompliantForm(thing) {
644
+ return !!(thing && isFunction(thing.append) && thing[toStringTag] === 'FormData' && thing[iterator]);
645
+ }
646
+
647
+ const toJSONObject = (obj) => {
648
+ const stack = new Array(10);
649
+
650
+ const visit = (source, i) => {
651
+
652
+ if (isObject(source)) {
653
+ if (stack.indexOf(source) >= 0) {
654
+ return;
655
+ }
656
+
657
+ if(!('toJSON' in source)) {
658
+ stack[i] = source;
659
+ const target = isArray(source) ? [] : {};
660
+
661
+ forEach(source, (value, key) => {
662
+ const reducedValue = visit(value, i + 1);
663
+ !isUndefined(reducedValue) && (target[key] = reducedValue);
664
+ });
665
+
666
+ stack[i] = undefined;
667
+
668
+ return target;
669
+ }
670
+ }
671
+
672
+ return source;
673
+ };
674
+
675
+ return visit(obj, 0);
676
+ };
677
+
678
+ const isAsyncFn = kindOfTest('AsyncFunction');
679
+
680
+ const isThenable = (thing) =>
681
+ thing && (isObject(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch);
682
+
683
+ // original code
684
+ // https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34
685
+
686
+ const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
687
+ if (setImmediateSupported) {
688
+ return setImmediate;
689
+ }
690
+
691
+ return postMessageSupported ? ((token, callbacks) => {
692
+ _global.addEventListener("message", ({source, data}) => {
693
+ if (source === _global && data === token) {
694
+ callbacks.length && callbacks.shift()();
695
+ }
696
+ }, false);
697
+
698
+ return (cb) => {
699
+ callbacks.push(cb);
700
+ _global.postMessage(token, "*");
701
+ }
702
+ })(`axios@${Math.random()}`, []) : (cb) => setTimeout(cb);
703
+ })(
704
+ typeof setImmediate === 'function',
705
+ isFunction(_global.postMessage)
706
+ );
707
+
708
+ const asap = typeof queueMicrotask !== 'undefined' ?
709
+ queueMicrotask.bind(_global) : ( typeof process !== 'undefined' && process.nextTick || _setImmediate);
710
+
711
+ // *********************
712
+
713
+
714
+ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
715
+
716
+
717
+ const utils$1 = {
718
+ isArray,
719
+ isArrayBuffer,
720
+ isBuffer,
721
+ isFormData,
722
+ isArrayBufferView,
723
+ isString,
724
+ isNumber,
725
+ isBoolean,
726
+ isObject,
727
+ isPlainObject,
728
+ isReadableStream,
729
+ isRequest,
730
+ isResponse,
731
+ isHeaders,
732
+ isUndefined,
733
+ isDate,
734
+ isFile,
735
+ isBlob,
736
+ isRegExp,
737
+ isFunction,
738
+ isStream,
739
+ isURLSearchParams,
740
+ isTypedArray,
741
+ isFileList,
742
+ forEach,
743
+ merge,
744
+ extend,
745
+ trim,
746
+ stripBOM,
747
+ inherits,
748
+ toFlatObject,
749
+ kindOf,
750
+ kindOfTest,
751
+ endsWith,
752
+ toArray,
753
+ forEachEntry,
754
+ matchAll,
755
+ isHTMLForm,
756
+ hasOwnProperty,
757
+ hasOwnProp: hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection
758
+ reduceDescriptors,
759
+ freezeMethods,
760
+ toObjectSet,
761
+ toCamelCase,
762
+ noop,
763
+ toFiniteNumber,
764
+ findKey,
765
+ global: _global,
766
+ isContextDefined,
767
+ isSpecCompliantForm,
768
+ toJSONObject,
769
+ isAsyncFn,
770
+ isThenable,
771
+ setImmediate: _setImmediate,
772
+ asap,
773
+ isIterable
774
+ };
775
+
776
+ /**
777
+ * Create an Error with the specified message, config, error code, request and response.
778
+ *
779
+ * @param {string} message The error message.
780
+ * @param {string} [code] The error code (for example, 'ECONNABORTED').
781
+ * @param {Object} [config] The config.
782
+ * @param {Object} [request] The request.
783
+ * @param {Object} [response] The response.
784
+ *
785
+ * @returns {Error} The created error.
786
+ */
787
+ function AxiosError(message, code, config, request, response) {
788
+ Error.call(this);
789
+
790
+ if (Error.captureStackTrace) {
791
+ Error.captureStackTrace(this, this.constructor);
792
+ } else {
793
+ this.stack = (new Error()).stack;
794
+ }
795
+
796
+ this.message = message;
797
+ this.name = 'AxiosError';
798
+ code && (this.code = code);
799
+ config && (this.config = config);
800
+ request && (this.request = request);
801
+ if (response) {
802
+ this.response = response;
803
+ this.status = response.status ? response.status : null;
804
+ }
805
+ }
806
+
807
+ utils$1.inherits(AxiosError, Error, {
808
+ toJSON: function toJSON() {
809
+ return {
810
+ // Standard
811
+ message: this.message,
812
+ name: this.name,
813
+ // Microsoft
814
+ description: this.description,
815
+ number: this.number,
816
+ // Mozilla
817
+ fileName: this.fileName,
818
+ lineNumber: this.lineNumber,
819
+ columnNumber: this.columnNumber,
820
+ stack: this.stack,
821
+ // Axios
822
+ config: utils$1.toJSONObject(this.config),
823
+ code: this.code,
824
+ status: this.status
825
+ };
826
+ }
827
+ });
828
+
829
+ const prototype$1 = AxiosError.prototype;
830
+ const descriptors = {};
831
+
832
+ [
833
+ 'ERR_BAD_OPTION_VALUE',
834
+ 'ERR_BAD_OPTION',
835
+ 'ECONNABORTED',
836
+ 'ETIMEDOUT',
837
+ 'ERR_NETWORK',
838
+ 'ERR_FR_TOO_MANY_REDIRECTS',
839
+ 'ERR_DEPRECATED',
840
+ 'ERR_BAD_RESPONSE',
841
+ 'ERR_BAD_REQUEST',
842
+ 'ERR_CANCELED',
843
+ 'ERR_NOT_SUPPORT',
844
+ 'ERR_INVALID_URL'
845
+ // eslint-disable-next-line func-names
846
+ ].forEach(code => {
847
+ descriptors[code] = {value: code};
848
+ });
849
+
850
+ Object.defineProperties(AxiosError, descriptors);
851
+ Object.defineProperty(prototype$1, 'isAxiosError', {value: true});
852
+
853
+ // eslint-disable-next-line func-names
854
+ AxiosError.from = (error, code, config, request, response, customProps) => {
855
+ const axiosError = Object.create(prototype$1);
856
+
857
+ utils$1.toFlatObject(error, axiosError, function filter(obj) {
858
+ return obj !== Error.prototype;
859
+ }, prop => {
860
+ return prop !== 'isAxiosError';
861
+ });
862
+
863
+ AxiosError.call(axiosError, error.message, code, config, request, response);
864
+
865
+ axiosError.cause = error;
866
+
867
+ axiosError.name = error.name;
868
+
869
+ customProps && Object.assign(axiosError, customProps);
870
+
871
+ return axiosError;
872
+ };
873
+
874
+ /**
875
+ * Determines if the given thing is a array or js object.
876
+ *
877
+ * @param {string} thing - The object or array to be visited.
878
+ *
879
+ * @returns {boolean}
880
+ */
881
+ function isVisitable(thing) {
882
+ return utils$1.isPlainObject(thing) || utils$1.isArray(thing);
883
+ }
884
+
885
+ /**
886
+ * It removes the brackets from the end of a string
887
+ *
888
+ * @param {string} key - The key of the parameter.
889
+ *
890
+ * @returns {string} the key without the brackets.
891
+ */
892
+ function removeBrackets(key) {
893
+ return utils$1.endsWith(key, '[]') ? key.slice(0, -2) : key;
894
+ }
895
+
896
+ /**
897
+ * It takes a path, a key, and a boolean, and returns a string
898
+ *
899
+ * @param {string} path - The path to the current key.
900
+ * @param {string} key - The key of the current object being iterated over.
901
+ * @param {string} dots - If true, the key will be rendered with dots instead of brackets.
902
+ *
903
+ * @returns {string} The path to the current key.
904
+ */
905
+ function renderKey(path, key, dots) {
906
+ if (!path) return key;
907
+ return path.concat(key).map(function each(token, i) {
908
+ // eslint-disable-next-line no-param-reassign
909
+ token = removeBrackets(token);
910
+ return !dots && i ? '[' + token + ']' : token;
911
+ }).join(dots ? '.' : '');
912
+ }
913
+
914
+ /**
915
+ * If the array is an array and none of its elements are visitable, then it's a flat array.
916
+ *
917
+ * @param {Array<any>} arr - The array to check
918
+ *
919
+ * @returns {boolean}
920
+ */
921
+ function isFlatArray(arr) {
922
+ return utils$1.isArray(arr) && !arr.some(isVisitable);
923
+ }
924
+
925
+ const predicates = utils$1.toFlatObject(utils$1, {}, null, function filter(prop) {
926
+ return /^is[A-Z]/.test(prop);
927
+ });
928
+
929
+ /**
930
+ * Convert a data object to FormData
931
+ *
932
+ * @param {Object} obj
933
+ * @param {?Object} [formData]
934
+ * @param {?Object} [options]
935
+ * @param {Function} [options.visitor]
936
+ * @param {Boolean} [options.metaTokens = true]
937
+ * @param {Boolean} [options.dots = false]
938
+ * @param {?Boolean} [options.indexes = false]
939
+ *
940
+ * @returns {Object}
941
+ **/
942
+
943
+ /**
944
+ * It converts an object into a FormData object
945
+ *
946
+ * @param {Object<any, any>} obj - The object to convert to form data.
947
+ * @param {string} formData - The FormData object to append to.
948
+ * @param {Object<string, any>} options
949
+ *
950
+ * @returns
951
+ */
952
+ function toFormData(obj, formData, options) {
953
+ if (!utils$1.isObject(obj)) {
954
+ throw new TypeError('target must be an object');
955
+ }
956
+
957
+ // eslint-disable-next-line no-param-reassign
958
+ formData = formData || new (FormData__default["default"] || FormData)();
959
+
960
+ // eslint-disable-next-line no-param-reassign
961
+ options = utils$1.toFlatObject(options, {
962
+ metaTokens: true,
963
+ dots: false,
964
+ indexes: false
965
+ }, false, function defined(option, source) {
966
+ // eslint-disable-next-line no-eq-null,eqeqeq
967
+ return !utils$1.isUndefined(source[option]);
968
+ });
969
+
970
+ const metaTokens = options.metaTokens;
971
+ // eslint-disable-next-line no-use-before-define
972
+ const visitor = options.visitor || defaultVisitor;
973
+ const dots = options.dots;
974
+ const indexes = options.indexes;
975
+ const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob;
976
+ const useBlob = _Blob && utils$1.isSpecCompliantForm(formData);
977
+
978
+ if (!utils$1.isFunction(visitor)) {
979
+ throw new TypeError('visitor must be a function');
980
+ }
981
+
982
+ function convertValue(value) {
983
+ if (value === null) return '';
984
+
985
+ if (utils$1.isDate(value)) {
986
+ return value.toISOString();
987
+ }
988
+
989
+ if (utils$1.isBoolean(value)) {
990
+ return value.toString();
991
+ }
992
+
993
+ if (!useBlob && utils$1.isBlob(value)) {
994
+ throw new AxiosError('Blob is not supported. Use a Buffer instead.');
995
+ }
996
+
997
+ if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) {
998
+ return useBlob && typeof Blob === 'function' ? new Blob([value]) : Buffer.from(value);
999
+ }
1000
+
1001
+ return value;
1002
+ }
1003
+
1004
+ /**
1005
+ * Default visitor.
1006
+ *
1007
+ * @param {*} value
1008
+ * @param {String|Number} key
1009
+ * @param {Array<String|Number>} path
1010
+ * @this {FormData}
1011
+ *
1012
+ * @returns {boolean} return true to visit the each prop of the value recursively
1013
+ */
1014
+ function defaultVisitor(value, key, path) {
1015
+ let arr = value;
1016
+
1017
+ if (value && !path && typeof value === 'object') {
1018
+ if (utils$1.endsWith(key, '{}')) {
1019
+ // eslint-disable-next-line no-param-reassign
1020
+ key = metaTokens ? key : key.slice(0, -2);
1021
+ // eslint-disable-next-line no-param-reassign
1022
+ value = JSON.stringify(value);
1023
+ } else if (
1024
+ (utils$1.isArray(value) && isFlatArray(value)) ||
1025
+ ((utils$1.isFileList(value) || utils$1.endsWith(key, '[]')) && (arr = utils$1.toArray(value))
1026
+ )) {
1027
+ // eslint-disable-next-line no-param-reassign
1028
+ key = removeBrackets(key);
1029
+
1030
+ arr.forEach(function each(el, index) {
1031
+ !(utils$1.isUndefined(el) || el === null) && formData.append(
1032
+ // eslint-disable-next-line no-nested-ternary
1033
+ indexes === true ? renderKey([key], index, dots) : (indexes === null ? key : key + '[]'),
1034
+ convertValue(el)
1035
+ );
1036
+ });
1037
+ return false;
1038
+ }
1039
+ }
1040
+
1041
+ if (isVisitable(value)) {
1042
+ return true;
1043
+ }
1044
+
1045
+ formData.append(renderKey(path, key, dots), convertValue(value));
1046
+
1047
+ return false;
1048
+ }
1049
+
1050
+ const stack = [];
1051
+
1052
+ const exposedHelpers = Object.assign(predicates, {
1053
+ defaultVisitor,
1054
+ convertValue,
1055
+ isVisitable
1056
+ });
1057
+
1058
+ function build(value, path) {
1059
+ if (utils$1.isUndefined(value)) return;
1060
+
1061
+ if (stack.indexOf(value) !== -1) {
1062
+ throw Error('Circular reference detected in ' + path.join('.'));
1063
+ }
1064
+
1065
+ stack.push(value);
1066
+
1067
+ utils$1.forEach(value, function each(el, key) {
1068
+ const result = !(utils$1.isUndefined(el) || el === null) && visitor.call(
1069
+ formData, el, utils$1.isString(key) ? key.trim() : key, path, exposedHelpers
1070
+ );
1071
+
1072
+ if (result === true) {
1073
+ build(el, path ? path.concat(key) : [key]);
1074
+ }
1075
+ });
1076
+
1077
+ stack.pop();
1078
+ }
1079
+
1080
+ if (!utils$1.isObject(obj)) {
1081
+ throw new TypeError('data must be an object');
1082
+ }
1083
+
1084
+ build(obj);
1085
+
1086
+ return formData;
1087
+ }
1088
+
1089
+ /**
1090
+ * It encodes a string by replacing all characters that are not in the unreserved set with
1091
+ * their percent-encoded equivalents
1092
+ *
1093
+ * @param {string} str - The string to encode.
1094
+ *
1095
+ * @returns {string} The encoded string.
1096
+ */
1097
+ function encode$1(str) {
1098
+ const charMap = {
1099
+ '!': '%21',
1100
+ "'": '%27',
1101
+ '(': '%28',
1102
+ ')': '%29',
1103
+ '~': '%7E',
1104
+ '%20': '+',
1105
+ '%00': '\x00'
1106
+ };
1107
+ return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {
1108
+ return charMap[match];
1109
+ });
1110
+ }
1111
+
1112
+ /**
1113
+ * It takes a params object and converts it to a FormData object
1114
+ *
1115
+ * @param {Object<string, any>} params - The parameters to be converted to a FormData object.
1116
+ * @param {Object<string, any>} options - The options object passed to the Axios constructor.
1117
+ *
1118
+ * @returns {void}
1119
+ */
1120
+ function AxiosURLSearchParams(params, options) {
1121
+ this._pairs = [];
1122
+
1123
+ params && toFormData(params, this, options);
1124
+ }
1125
+
1126
+ const prototype = AxiosURLSearchParams.prototype;
1127
+
1128
+ prototype.append = function append(name, value) {
1129
+ this._pairs.push([name, value]);
1130
+ };
1131
+
1132
+ prototype.toString = function toString(encoder) {
1133
+ const _encode = encoder ? function(value) {
1134
+ return encoder.call(this, value, encode$1);
1135
+ } : encode$1;
1136
+
1137
+ return this._pairs.map(function each(pair) {
1138
+ return _encode(pair[0]) + '=' + _encode(pair[1]);
1139
+ }, '').join('&');
1140
+ };
1141
+
1142
+ /**
1143
+ * It replaces all instances of the characters `:`, `$`, `,`, `+`, `[`, and `]` with their
1144
+ * URI encoded counterparts
1145
+ *
1146
+ * @param {string} val The value to be encoded.
1147
+ *
1148
+ * @returns {string} The encoded value.
1149
+ */
1150
+ function encode(val) {
1151
+ return encodeURIComponent(val).
1152
+ replace(/%3A/gi, ':').
1153
+ replace(/%24/g, '$').
1154
+ replace(/%2C/gi, ',').
1155
+ replace(/%20/g, '+').
1156
+ replace(/%5B/gi, '[').
1157
+ replace(/%5D/gi, ']');
1158
+ }
1159
+
1160
+ /**
1161
+ * Build a URL by appending params to the end
1162
+ *
1163
+ * @param {string} url The base of the url (e.g., http://www.google.com)
1164
+ * @param {object} [params] The params to be appended
1165
+ * @param {?(object|Function)} options
1166
+ *
1167
+ * @returns {string} The formatted url
1168
+ */
1169
+ function buildURL(url, params, options) {
1170
+ /*eslint no-param-reassign:0*/
1171
+ if (!params) {
1172
+ return url;
1173
+ }
1174
+
1175
+ const _encode = options && options.encode || encode;
1176
+
1177
+ if (utils$1.isFunction(options)) {
1178
+ options = {
1179
+ serialize: options
1180
+ };
1181
+ }
1182
+
1183
+ const serializeFn = options && options.serialize;
1184
+
1185
+ let serializedParams;
1186
+
1187
+ if (serializeFn) {
1188
+ serializedParams = serializeFn(params, options);
1189
+ } else {
1190
+ serializedParams = utils$1.isURLSearchParams(params) ?
1191
+ params.toString() :
1192
+ new AxiosURLSearchParams(params, options).toString(_encode);
1193
+ }
1194
+
1195
+ if (serializedParams) {
1196
+ const hashmarkIndex = url.indexOf("#");
1197
+
1198
+ if (hashmarkIndex !== -1) {
1199
+ url = url.slice(0, hashmarkIndex);
1200
+ }
1201
+ url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
1202
+ }
1203
+
1204
+ return url;
1205
+ }
1206
+
1207
+ class InterceptorManager {
1208
+ constructor() {
1209
+ this.handlers = [];
1210
+ }
1211
+
1212
+ /**
1213
+ * Add a new interceptor to the stack
1214
+ *
1215
+ * @param {Function} fulfilled The function to handle `then` for a `Promise`
1216
+ * @param {Function} rejected The function to handle `reject` for a `Promise`
1217
+ *
1218
+ * @return {Number} An ID used to remove interceptor later
1219
+ */
1220
+ use(fulfilled, rejected, options) {
1221
+ this.handlers.push({
1222
+ fulfilled,
1223
+ rejected,
1224
+ synchronous: options ? options.synchronous : false,
1225
+ runWhen: options ? options.runWhen : null
1226
+ });
1227
+ return this.handlers.length - 1;
1228
+ }
1229
+
1230
+ /**
1231
+ * Remove an interceptor from the stack
1232
+ *
1233
+ * @param {Number} id The ID that was returned by `use`
1234
+ *
1235
+ * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
1236
+ */
1237
+ eject(id) {
1238
+ if (this.handlers[id]) {
1239
+ this.handlers[id] = null;
1240
+ }
1241
+ }
1242
+
1243
+ /**
1244
+ * Clear all interceptors from the stack
1245
+ *
1246
+ * @returns {void}
1247
+ */
1248
+ clear() {
1249
+ if (this.handlers) {
1250
+ this.handlers = [];
1251
+ }
1252
+ }
1253
+
1254
+ /**
1255
+ * Iterate over all the registered interceptors
1256
+ *
1257
+ * This method is particularly useful for skipping over any
1258
+ * interceptors that may have become `null` calling `eject`.
1259
+ *
1260
+ * @param {Function} fn The function to call for each interceptor
1261
+ *
1262
+ * @returns {void}
1263
+ */
1264
+ forEach(fn) {
1265
+ utils$1.forEach(this.handlers, function forEachHandler(h) {
1266
+ if (h !== null) {
1267
+ fn(h);
1268
+ }
1269
+ });
1270
+ }
1271
+ }
1272
+
1273
+ const InterceptorManager$1 = InterceptorManager;
1274
+
1275
+ const transitionalDefaults = {
1276
+ silentJSONParsing: true,
1277
+ forcedJSONParsing: true,
1278
+ clarifyTimeoutError: false
1279
+ };
1280
+
1281
+ const URLSearchParams = url__default["default"].URLSearchParams;
1282
+
1283
+ const ALPHA = 'abcdefghijklmnopqrstuvwxyz';
1284
+
1285
+ const DIGIT = '0123456789';
1286
+
1287
+ const ALPHABET = {
1288
+ DIGIT,
1289
+ ALPHA,
1290
+ ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT
1291
+ };
1292
+
1293
+ const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
1294
+ let str = '';
1295
+ const {length} = alphabet;
1296
+ const randomValues = new Uint32Array(size);
1297
+ crypto__default["default"].randomFillSync(randomValues);
1298
+ for (let i = 0; i < size; i++) {
1299
+ str += alphabet[randomValues[i] % length];
1300
+ }
1301
+
1302
+ return str;
1303
+ };
1304
+
1305
+
1306
+ const platform$1 = {
1307
+ isNode: true,
1308
+ classes: {
1309
+ URLSearchParams,
1310
+ FormData: FormData__default["default"],
1311
+ Blob: typeof Blob !== 'undefined' && Blob || null
1312
+ },
1313
+ ALPHABET,
1314
+ generateString,
1315
+ protocols: [ 'http', 'https', 'file', 'data' ]
1316
+ };
1317
+
1318
+ const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
1319
+
1320
+ const _navigator = typeof navigator === 'object' && navigator || undefined;
1321
+
1322
+ /**
1323
+ * Determine if we're running in a standard browser environment
1324
+ *
1325
+ * This allows axios to run in a web worker, and react-native.
1326
+ * Both environments support XMLHttpRequest, but not fully standard globals.
1327
+ *
1328
+ * web workers:
1329
+ * typeof window -> undefined
1330
+ * typeof document -> undefined
1331
+ *
1332
+ * react-native:
1333
+ * navigator.product -> 'ReactNative'
1334
+ * nativescript
1335
+ * navigator.product -> 'NativeScript' or 'NS'
1336
+ *
1337
+ * @returns {boolean}
1338
+ */
1339
+ const hasStandardBrowserEnv = hasBrowserEnv &&
1340
+ (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);
1341
+
1342
+ /**
1343
+ * Determine if we're running in a standard browser webWorker environment
1344
+ *
1345
+ * Although the `isStandardBrowserEnv` method indicates that
1346
+ * `allows axios to run in a web worker`, the WebWorker will still be
1347
+ * filtered out due to its judgment standard
1348
+ * `typeof window !== 'undefined' && typeof document !== 'undefined'`.
1349
+ * This leads to a problem when axios post `FormData` in webWorker
1350
+ */
1351
+ const hasStandardBrowserWebWorkerEnv = (() => {
1352
+ return (
1353
+ typeof WorkerGlobalScope !== 'undefined' &&
1354
+ // eslint-disable-next-line no-undef
1355
+ self instanceof WorkerGlobalScope &&
1356
+ typeof self.importScripts === 'function'
1357
+ );
1358
+ })();
1359
+
1360
+ const origin = hasBrowserEnv && window.location.href || 'http://localhost';
1361
+
1362
+ const utils = /*#__PURE__*/Object.freeze({
1363
+ __proto__: null,
1364
+ hasBrowserEnv: hasBrowserEnv,
1365
+ hasStandardBrowserWebWorkerEnv: hasStandardBrowserWebWorkerEnv,
1366
+ hasStandardBrowserEnv: hasStandardBrowserEnv,
1367
+ navigator: _navigator,
1368
+ origin: origin
1369
+ });
1370
+
1371
+ const platform = {
1372
+ ...utils,
1373
+ ...platform$1
1374
+ };
1375
+
1376
+ function toURLEncodedForm(data, options) {
1377
+ return toFormData(data, new platform.classes.URLSearchParams(), Object.assign({
1378
+ visitor: function(value, key, path, helpers) {
1379
+ if (platform.isNode && utils$1.isBuffer(value)) {
1380
+ this.append(key, value.toString('base64'));
1381
+ return false;
1382
+ }
1383
+
1384
+ return helpers.defaultVisitor.apply(this, arguments);
1385
+ }
1386
+ }, options));
1387
+ }
1388
+
1389
+ /**
1390
+ * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z']
1391
+ *
1392
+ * @param {string} name - The name of the property to get.
1393
+ *
1394
+ * @returns An array of strings.
1395
+ */
1396
+ function parsePropPath(name) {
1397
+ // foo[x][y][z]
1398
+ // foo.x.y.z
1399
+ // foo-x-y-z
1400
+ // foo x y z
1401
+ return utils$1.matchAll(/\w+|\[(\w*)]/g, name).map(match => {
1402
+ return match[0] === '[]' ? '' : match[1] || match[0];
1403
+ });
1404
+ }
1405
+
1406
+ /**
1407
+ * Convert an array to an object.
1408
+ *
1409
+ * @param {Array<any>} arr - The array to convert to an object.
1410
+ *
1411
+ * @returns An object with the same keys and values as the array.
1412
+ */
1413
+ function arrayToObject(arr) {
1414
+ const obj = {};
1415
+ const keys = Object.keys(arr);
1416
+ let i;
1417
+ const len = keys.length;
1418
+ let key;
1419
+ for (i = 0; i < len; i++) {
1420
+ key = keys[i];
1421
+ obj[key] = arr[key];
1422
+ }
1423
+ return obj;
1424
+ }
1425
+
1426
+ /**
1427
+ * It takes a FormData object and returns a JavaScript object
1428
+ *
1429
+ * @param {string} formData The FormData object to convert to JSON.
1430
+ *
1431
+ * @returns {Object<string, any> | null} The converted object.
1432
+ */
1433
+ function formDataToJSON(formData) {
1434
+ function buildPath(path, value, target, index) {
1435
+ let name = path[index++];
1436
+
1437
+ if (name === '__proto__') return true;
1438
+
1439
+ const isNumericKey = Number.isFinite(+name);
1440
+ const isLast = index >= path.length;
1441
+ name = !name && utils$1.isArray(target) ? target.length : name;
1442
+
1443
+ if (isLast) {
1444
+ if (utils$1.hasOwnProp(target, name)) {
1445
+ target[name] = [target[name], value];
1446
+ } else {
1447
+ target[name] = value;
1448
+ }
1449
+
1450
+ return !isNumericKey;
1451
+ }
1452
+
1453
+ if (!target[name] || !utils$1.isObject(target[name])) {
1454
+ target[name] = [];
1455
+ }
1456
+
1457
+ const result = buildPath(path, value, target[name], index);
1458
+
1459
+ if (result && utils$1.isArray(target[name])) {
1460
+ target[name] = arrayToObject(target[name]);
1461
+ }
1462
+
1463
+ return !isNumericKey;
1464
+ }
1465
+
1466
+ if (utils$1.isFormData(formData) && utils$1.isFunction(formData.entries)) {
1467
+ const obj = {};
1468
+
1469
+ utils$1.forEachEntry(formData, (name, value) => {
1470
+ buildPath(parsePropPath(name), value, obj, 0);
1471
+ });
1472
+
1473
+ return obj;
1474
+ }
1475
+
1476
+ return null;
1477
+ }
1478
+
1479
+ /**
1480
+ * It takes a string, tries to parse it, and if it fails, it returns the stringified version
1481
+ * of the input
1482
+ *
1483
+ * @param {any} rawValue - The value to be stringified.
1484
+ * @param {Function} parser - A function that parses a string into a JavaScript object.
1485
+ * @param {Function} encoder - A function that takes a value and returns a string.
1486
+ *
1487
+ * @returns {string} A stringified version of the rawValue.
1488
+ */
1489
+ function stringifySafely(rawValue, parser, encoder) {
1490
+ if (utils$1.isString(rawValue)) {
1491
+ try {
1492
+ (parser || JSON.parse)(rawValue);
1493
+ return utils$1.trim(rawValue);
1494
+ } catch (e) {
1495
+ if (e.name !== 'SyntaxError') {
1496
+ throw e;
1497
+ }
1498
+ }
1499
+ }
1500
+
1501
+ return (encoder || JSON.stringify)(rawValue);
1502
+ }
1503
+
1504
+ const defaults = {
1505
+
1506
+ transitional: transitionalDefaults,
1507
+
1508
+ adapter: ['xhr', 'http', 'fetch'],
1509
+
1510
+ transformRequest: [function transformRequest(data, headers) {
1511
+ const contentType = headers.getContentType() || '';
1512
+ const hasJSONContentType = contentType.indexOf('application/json') > -1;
1513
+ const isObjectPayload = utils$1.isObject(data);
1514
+
1515
+ if (isObjectPayload && utils$1.isHTMLForm(data)) {
1516
+ data = new FormData(data);
1517
+ }
1518
+
1519
+ const isFormData = utils$1.isFormData(data);
1520
+
1521
+ if (isFormData) {
1522
+ return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;
1523
+ }
1524
+
1525
+ if (utils$1.isArrayBuffer(data) ||
1526
+ utils$1.isBuffer(data) ||
1527
+ utils$1.isStream(data) ||
1528
+ utils$1.isFile(data) ||
1529
+ utils$1.isBlob(data) ||
1530
+ utils$1.isReadableStream(data)
1531
+ ) {
1532
+ return data;
1533
+ }
1534
+ if (utils$1.isArrayBufferView(data)) {
1535
+ return data.buffer;
1536
+ }
1537
+ if (utils$1.isURLSearchParams(data)) {
1538
+ headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);
1539
+ return data.toString();
1540
+ }
1541
+
1542
+ let isFileList;
1543
+
1544
+ if (isObjectPayload) {
1545
+ if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {
1546
+ return toURLEncodedForm(data, this.formSerializer).toString();
1547
+ }
1548
+
1549
+ if ((isFileList = utils$1.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) {
1550
+ const _FormData = this.env && this.env.FormData;
1551
+
1552
+ return toFormData(
1553
+ isFileList ? {'files[]': data} : data,
1554
+ _FormData && new _FormData(),
1555
+ this.formSerializer
1556
+ );
1557
+ }
1558
+ }
1559
+
1560
+ if (isObjectPayload || hasJSONContentType ) {
1561
+ headers.setContentType('application/json', false);
1562
+ return stringifySafely(data);
1563
+ }
1564
+
1565
+ return data;
1566
+ }],
1567
+
1568
+ transformResponse: [function transformResponse(data) {
1569
+ const transitional = this.transitional || defaults.transitional;
1570
+ const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
1571
+ const JSONRequested = this.responseType === 'json';
1572
+
1573
+ if (utils$1.isResponse(data) || utils$1.isReadableStream(data)) {
1574
+ return data;
1575
+ }
1576
+
1577
+ if (data && utils$1.isString(data) && ((forcedJSONParsing && !this.responseType) || JSONRequested)) {
1578
+ const silentJSONParsing = transitional && transitional.silentJSONParsing;
1579
+ const strictJSONParsing = !silentJSONParsing && JSONRequested;
1580
+
1581
+ try {
1582
+ return JSON.parse(data);
1583
+ } catch (e) {
1584
+ if (strictJSONParsing) {
1585
+ if (e.name === 'SyntaxError') {
1586
+ throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
1587
+ }
1588
+ throw e;
1589
+ }
1590
+ }
1591
+ }
1592
+
1593
+ return data;
1594
+ }],
1595
+
1596
+ /**
1597
+ * A timeout in milliseconds to abort a request. If set to 0 (default) a
1598
+ * timeout is not created.
1599
+ */
1600
+ timeout: 0,
1601
+
1602
+ xsrfCookieName: 'XSRF-TOKEN',
1603
+ xsrfHeaderName: 'X-XSRF-TOKEN',
1604
+
1605
+ maxContentLength: -1,
1606
+ maxBodyLength: -1,
1607
+
1608
+ env: {
1609
+ FormData: platform.classes.FormData,
1610
+ Blob: platform.classes.Blob
1611
+ },
1612
+
1613
+ validateStatus: function validateStatus(status) {
1614
+ return status >= 200 && status < 300;
1615
+ },
1616
+
1617
+ headers: {
1618
+ common: {
1619
+ 'Accept': 'application/json, text/plain, */*',
1620
+ 'Content-Type': undefined
1621
+ }
1622
+ }
1623
+ };
1624
+
1625
+ utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {
1626
+ defaults.headers[method] = {};
1627
+ });
1628
+
1629
+ const defaults$1 = defaults;
1630
+
1631
+ // RawAxiosHeaders whose duplicates are ignored by node
1632
+ // c.f. https://nodejs.org/api/http.html#http_message_headers
1633
+ const ignoreDuplicateOf = utils$1.toObjectSet([
1634
+ 'age', 'authorization', 'content-length', 'content-type', 'etag',
1635
+ 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',
1636
+ 'last-modified', 'location', 'max-forwards', 'proxy-authorization',
1637
+ 'referer', 'retry-after', 'user-agent'
1638
+ ]);
1639
+
1640
+ /**
1641
+ * Parse headers into an object
1642
+ *
1643
+ * ```
1644
+ * Date: Wed, 27 Aug 2014 08:58:49 GMT
1645
+ * Content-Type: application/json
1646
+ * Connection: keep-alive
1647
+ * Transfer-Encoding: chunked
1648
+ * ```
1649
+ *
1650
+ * @param {String} rawHeaders Headers needing to be parsed
1651
+ *
1652
+ * @returns {Object} Headers parsed into an object
1653
+ */
1654
+ const parseHeaders = rawHeaders => {
1655
+ const parsed = {};
1656
+ let key;
1657
+ let val;
1658
+ let i;
1659
+
1660
+ rawHeaders && rawHeaders.split('\n').forEach(function parser(line) {
1661
+ i = line.indexOf(':');
1662
+ key = line.substring(0, i).trim().toLowerCase();
1663
+ val = line.substring(i + 1).trim();
1664
+
1665
+ if (!key || (parsed[key] && ignoreDuplicateOf[key])) {
1666
+ return;
1667
+ }
1668
+
1669
+ if (key === 'set-cookie') {
1670
+ if (parsed[key]) {
1671
+ parsed[key].push(val);
1672
+ } else {
1673
+ parsed[key] = [val];
1674
+ }
1675
+ } else {
1676
+ parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
1677
+ }
1678
+ });
1679
+
1680
+ return parsed;
1681
+ };
1682
+
1683
+ const $internals = Symbol('internals');
1684
+
1685
+ function normalizeHeader(header) {
1686
+ return header && String(header).trim().toLowerCase();
1687
+ }
1688
+
1689
+ function normalizeValue(value) {
1690
+ if (value === false || value == null) {
1691
+ return value;
1692
+ }
1693
+
1694
+ return utils$1.isArray(value) ? value.map(normalizeValue) : String(value);
1695
+ }
1696
+
1697
+ function parseTokens(str) {
1698
+ const tokens = Object.create(null);
1699
+ const tokensRE = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
1700
+ let match;
1701
+
1702
+ while ((match = tokensRE.exec(str))) {
1703
+ tokens[match[1]] = match[2];
1704
+ }
1705
+
1706
+ return tokens;
1707
+ }
1708
+
1709
+ const isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());
1710
+
1711
+ function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {
1712
+ if (utils$1.isFunction(filter)) {
1713
+ return filter.call(this, value, header);
1714
+ }
1715
+
1716
+ if (isHeaderNameFilter) {
1717
+ value = header;
1718
+ }
1719
+
1720
+ if (!utils$1.isString(value)) return;
1721
+
1722
+ if (utils$1.isString(filter)) {
1723
+ return value.indexOf(filter) !== -1;
1724
+ }
1725
+
1726
+ if (utils$1.isRegExp(filter)) {
1727
+ return filter.test(value);
1728
+ }
1729
+ }
1730
+
1731
+ function formatHeader(header) {
1732
+ return header.trim()
1733
+ .toLowerCase().replace(/([a-z\d])(\w*)/g, (w, char, str) => {
1734
+ return char.toUpperCase() + str;
1735
+ });
1736
+ }
1737
+
1738
+ function buildAccessors(obj, header) {
1739
+ const accessorName = utils$1.toCamelCase(' ' + header);
1740
+
1741
+ ['get', 'set', 'has'].forEach(methodName => {
1742
+ Object.defineProperty(obj, methodName + accessorName, {
1743
+ value: function(arg1, arg2, arg3) {
1744
+ return this[methodName].call(this, header, arg1, arg2, arg3);
1745
+ },
1746
+ configurable: true
1747
+ });
1748
+ });
1749
+ }
1750
+
1751
+ class AxiosHeaders {
1752
+ constructor(headers) {
1753
+ headers && this.set(headers);
1754
+ }
1755
+
1756
+ set(header, valueOrRewrite, rewrite) {
1757
+ const self = this;
1758
+
1759
+ function setHeader(_value, _header, _rewrite) {
1760
+ const lHeader = normalizeHeader(_header);
1761
+
1762
+ if (!lHeader) {
1763
+ throw new Error('header name must be a non-empty string');
1764
+ }
1765
+
1766
+ const key = utils$1.findKey(self, lHeader);
1767
+
1768
+ if(!key || self[key] === undefined || _rewrite === true || (_rewrite === undefined && self[key] !== false)) {
1769
+ self[key || _header] = normalizeValue(_value);
1770
+ }
1771
+ }
1772
+
1773
+ const setHeaders = (headers, _rewrite) =>
1774
+ utils$1.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));
1775
+
1776
+ if (utils$1.isPlainObject(header) || header instanceof this.constructor) {
1777
+ setHeaders(header, valueOrRewrite);
1778
+ } else if(utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
1779
+ setHeaders(parseHeaders(header), valueOrRewrite);
1780
+ } else if (utils$1.isObject(header) && utils$1.isIterable(header)) {
1781
+ let obj = {}, dest, key;
1782
+ for (const entry of header) {
1783
+ if (!utils$1.isArray(entry)) {
1784
+ throw TypeError('Object iterator must return a key-value pair');
1785
+ }
1786
+
1787
+ obj[key = entry[0]] = (dest = obj[key]) ?
1788
+ (utils$1.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]]) : entry[1];
1789
+ }
1790
+
1791
+ setHeaders(obj, valueOrRewrite);
1792
+ } else {
1793
+ header != null && setHeader(valueOrRewrite, header, rewrite);
1794
+ }
1795
+
1796
+ return this;
1797
+ }
1798
+
1799
+ get(header, parser) {
1800
+ header = normalizeHeader(header);
1801
+
1802
+ if (header) {
1803
+ const key = utils$1.findKey(this, header);
1804
+
1805
+ if (key) {
1806
+ const value = this[key];
1807
+
1808
+ if (!parser) {
1809
+ return value;
1810
+ }
1811
+
1812
+ if (parser === true) {
1813
+ return parseTokens(value);
1814
+ }
1815
+
1816
+ if (utils$1.isFunction(parser)) {
1817
+ return parser.call(this, value, key);
1818
+ }
1819
+
1820
+ if (utils$1.isRegExp(parser)) {
1821
+ return parser.exec(value);
1822
+ }
1823
+
1824
+ throw new TypeError('parser must be boolean|regexp|function');
1825
+ }
1826
+ }
1827
+ }
1828
+
1829
+ has(header, matcher) {
1830
+ header = normalizeHeader(header);
1831
+
1832
+ if (header) {
1833
+ const key = utils$1.findKey(this, header);
1834
+
1835
+ return !!(key && this[key] !== undefined && (!matcher || matchHeaderValue(this, this[key], key, matcher)));
1836
+ }
1837
+
1838
+ return false;
1839
+ }
1840
+
1841
+ delete(header, matcher) {
1842
+ const self = this;
1843
+ let deleted = false;
1844
+
1845
+ function deleteHeader(_header) {
1846
+ _header = normalizeHeader(_header);
1847
+
1848
+ if (_header) {
1849
+ const key = utils$1.findKey(self, _header);
1850
+
1851
+ if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) {
1852
+ delete self[key];
1853
+
1854
+ deleted = true;
1855
+ }
1856
+ }
1857
+ }
1858
+
1859
+ if (utils$1.isArray(header)) {
1860
+ header.forEach(deleteHeader);
1861
+ } else {
1862
+ deleteHeader(header);
1863
+ }
1864
+
1865
+ return deleted;
1866
+ }
1867
+
1868
+ clear(matcher) {
1869
+ const keys = Object.keys(this);
1870
+ let i = keys.length;
1871
+ let deleted = false;
1872
+
1873
+ while (i--) {
1874
+ const key = keys[i];
1875
+ if(!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
1876
+ delete this[key];
1877
+ deleted = true;
1878
+ }
1879
+ }
1880
+
1881
+ return deleted;
1882
+ }
1883
+
1884
+ normalize(format) {
1885
+ const self = this;
1886
+ const headers = {};
1887
+
1888
+ utils$1.forEach(this, (value, header) => {
1889
+ const key = utils$1.findKey(headers, header);
1890
+
1891
+ if (key) {
1892
+ self[key] = normalizeValue(value);
1893
+ delete self[header];
1894
+ return;
1895
+ }
1896
+
1897
+ const normalized = format ? formatHeader(header) : String(header).trim();
1898
+
1899
+ if (normalized !== header) {
1900
+ delete self[header];
1901
+ }
1902
+
1903
+ self[normalized] = normalizeValue(value);
1904
+
1905
+ headers[normalized] = true;
1906
+ });
1907
+
1908
+ return this;
1909
+ }
1910
+
1911
+ concat(...targets) {
1912
+ return this.constructor.concat(this, ...targets);
1913
+ }
1914
+
1915
+ toJSON(asStrings) {
1916
+ const obj = Object.create(null);
1917
+
1918
+ utils$1.forEach(this, (value, header) => {
1919
+ value != null && value !== false && (obj[header] = asStrings && utils$1.isArray(value) ? value.join(', ') : value);
1920
+ });
1921
+
1922
+ return obj;
1923
+ }
1924
+
1925
+ [Symbol.iterator]() {
1926
+ return Object.entries(this.toJSON())[Symbol.iterator]();
1927
+ }
1928
+
1929
+ toString() {
1930
+ return Object.entries(this.toJSON()).map(([header, value]) => header + ': ' + value).join('\n');
1931
+ }
1932
+
1933
+ getSetCookie() {
1934
+ return this.get("set-cookie") || [];
1935
+ }
1936
+
1937
+ get [Symbol.toStringTag]() {
1938
+ return 'AxiosHeaders';
1939
+ }
1940
+
1941
+ static from(thing) {
1942
+ return thing instanceof this ? thing : new this(thing);
1943
+ }
1944
+
1945
+ static concat(first, ...targets) {
1946
+ const computed = new this(first);
1947
+
1948
+ targets.forEach((target) => computed.set(target));
1949
+
1950
+ return computed;
1951
+ }
1952
+
1953
+ static accessor(header) {
1954
+ const internals = this[$internals] = (this[$internals] = {
1955
+ accessors: {}
1956
+ });
1957
+
1958
+ const accessors = internals.accessors;
1959
+ const prototype = this.prototype;
1960
+
1961
+ function defineAccessor(_header) {
1962
+ const lHeader = normalizeHeader(_header);
1963
+
1964
+ if (!accessors[lHeader]) {
1965
+ buildAccessors(prototype, _header);
1966
+ accessors[lHeader] = true;
1967
+ }
1968
+ }
1969
+
1970
+ utils$1.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header);
1971
+
1972
+ return this;
1973
+ }
1974
+ }
1975
+
1976
+ AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);
1977
+
1978
+ // reserved names hotfix
1979
+ utils$1.reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {
1980
+ let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`
1981
+ return {
1982
+ get: () => value,
1983
+ set(headerValue) {
1984
+ this[mapped] = headerValue;
1985
+ }
1986
+ }
1987
+ });
1988
+
1989
+ utils$1.freezeMethods(AxiosHeaders);
1990
+
1991
+ const AxiosHeaders$1 = AxiosHeaders;
1992
+
1993
+ /**
1994
+ * Transform the data for a request or a response
1995
+ *
1996
+ * @param {Array|Function} fns A single function or Array of functions
1997
+ * @param {?Object} response The response object
1998
+ *
1999
+ * @returns {*} The resulting transformed data
2000
+ */
2001
+ function transformData(fns, response) {
2002
+ const config = this || defaults$1;
2003
+ const context = response || config;
2004
+ const headers = AxiosHeaders$1.from(context.headers);
2005
+ let data = context.data;
2006
+
2007
+ utils$1.forEach(fns, function transform(fn) {
2008
+ data = fn.call(config, data, headers.normalize(), response ? response.status : undefined);
2009
+ });
2010
+
2011
+ headers.normalize();
2012
+
2013
+ return data;
2014
+ }
2015
+
2016
+ function isCancel(value) {
2017
+ return !!(value && value.__CANCEL__);
2018
+ }
2019
+
2020
+ /**
2021
+ * A `CanceledError` is an object that is thrown when an operation is canceled.
2022
+ *
2023
+ * @param {string=} message The message.
2024
+ * @param {Object=} config The config.
2025
+ * @param {Object=} request The request.
2026
+ *
2027
+ * @returns {CanceledError} The created error.
2028
+ */
2029
+ function CanceledError(message, config, request) {
2030
+ // eslint-disable-next-line no-eq-null,eqeqeq
2031
+ AxiosError.call(this, message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);
2032
+ this.name = 'CanceledError';
2033
+ }
2034
+
2035
+ utils$1.inherits(CanceledError, AxiosError, {
2036
+ __CANCEL__: true
2037
+ });
2038
+
2039
+ /**
2040
+ * Resolve or reject a Promise based on response status.
2041
+ *
2042
+ * @param {Function} resolve A function that resolves the promise.
2043
+ * @param {Function} reject A function that rejects the promise.
2044
+ * @param {object} response The response.
2045
+ *
2046
+ * @returns {object} The response.
2047
+ */
2048
+ function settle(resolve, reject, response) {
2049
+ const validateStatus = response.config.validateStatus;
2050
+ if (!response.status || !validateStatus || validateStatus(response.status)) {
2051
+ resolve(response);
2052
+ } else {
2053
+ reject(new AxiosError(
2054
+ 'Request failed with status code ' + response.status,
2055
+ [AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
2056
+ response.config,
2057
+ response.request,
2058
+ response
2059
+ ));
2060
+ }
2061
+ }
2062
+
2063
+ /**
2064
+ * Determines whether the specified URL is absolute
2065
+ *
2066
+ * @param {string} url The URL to test
2067
+ *
2068
+ * @returns {boolean} True if the specified URL is absolute, otherwise false
2069
+ */
2070
+ function isAbsoluteURL(url) {
2071
+ // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
2072
+ // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
2073
+ // by any combination of letters, digits, plus, period, or hyphen.
2074
+ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
2075
+ }
2076
+
2077
+ /**
2078
+ * Creates a new URL by combining the specified URLs
2079
+ *
2080
+ * @param {string} baseURL The base URL
2081
+ * @param {string} relativeURL The relative URL
2082
+ *
2083
+ * @returns {string} The combined URL
2084
+ */
2085
+ function combineURLs(baseURL, relativeURL) {
2086
+ return relativeURL
2087
+ ? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '')
2088
+ : baseURL;
2089
+ }
2090
+
2091
+ /**
2092
+ * Creates a new URL by combining the baseURL with the requestedURL,
2093
+ * only when the requestedURL is not already an absolute URL.
2094
+ * If the requestURL is absolute, this function returns the requestedURL untouched.
2095
+ *
2096
+ * @param {string} baseURL The base URL
2097
+ * @param {string} requestedURL Absolute or relative URL to combine
2098
+ *
2099
+ * @returns {string} The combined full path
2100
+ */
2101
+ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
2102
+ let isRelativeUrl = !isAbsoluteURL(requestedURL);
2103
+ if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
2104
+ return combineURLs(baseURL, requestedURL);
2105
+ }
2106
+ return requestedURL;
2107
+ }
2108
+
2109
+ const VERSION = "1.10.0";
2110
+
2111
+ function parseProtocol(url) {
2112
+ const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
2113
+ return match && match[1] || '';
2114
+ }
2115
+
2116
+ const DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
2117
+
2118
+ /**
2119
+ * Parse data uri to a Buffer or Blob
2120
+ *
2121
+ * @param {String} uri
2122
+ * @param {?Boolean} asBlob
2123
+ * @param {?Object} options
2124
+ * @param {?Function} options.Blob
2125
+ *
2126
+ * @returns {Buffer|Blob}
2127
+ */
2128
+ function fromDataURI(uri, asBlob, options) {
2129
+ const _Blob = options && options.Blob || platform.classes.Blob;
2130
+ const protocol = parseProtocol(uri);
2131
+
2132
+ if (asBlob === undefined && _Blob) {
2133
+ asBlob = true;
2134
+ }
2135
+
2136
+ if (protocol === 'data') {
2137
+ uri = protocol.length ? uri.slice(protocol.length + 1) : uri;
2138
+
2139
+ const match = DATA_URL_PATTERN.exec(uri);
2140
+
2141
+ if (!match) {
2142
+ throw new AxiosError('Invalid URL', AxiosError.ERR_INVALID_URL);
2143
+ }
2144
+
2145
+ const mime = match[1];
2146
+ const isBase64 = match[2];
2147
+ const body = match[3];
2148
+ const buffer = Buffer.from(decodeURIComponent(body), isBase64 ? 'base64' : 'utf8');
2149
+
2150
+ if (asBlob) {
2151
+ if (!_Blob) {
2152
+ throw new AxiosError('Blob is not supported', AxiosError.ERR_NOT_SUPPORT);
2153
+ }
2154
+
2155
+ return new _Blob([buffer], {type: mime});
2156
+ }
2157
+
2158
+ return buffer;
2159
+ }
2160
+
2161
+ throw new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_NOT_SUPPORT);
2162
+ }
2163
+
2164
+ const kInternals = Symbol('internals');
2165
+
2166
+ class AxiosTransformStream extends stream__default["default"].Transform{
2167
+ constructor(options) {
2168
+ options = utils$1.toFlatObject(options, {
2169
+ maxRate: 0,
2170
+ chunkSize: 64 * 1024,
2171
+ minChunkSize: 100,
2172
+ timeWindow: 500,
2173
+ ticksRate: 2,
2174
+ samplesCount: 15
2175
+ }, null, (prop, source) => {
2176
+ return !utils$1.isUndefined(source[prop]);
2177
+ });
2178
+
2179
+ super({
2180
+ readableHighWaterMark: options.chunkSize
2181
+ });
2182
+
2183
+ const internals = this[kInternals] = {
2184
+ timeWindow: options.timeWindow,
2185
+ chunkSize: options.chunkSize,
2186
+ maxRate: options.maxRate,
2187
+ minChunkSize: options.minChunkSize,
2188
+ bytesSeen: 0,
2189
+ isCaptured: false,
2190
+ notifiedBytesLoaded: 0,
2191
+ ts: Date.now(),
2192
+ bytes: 0,
2193
+ onReadCallback: null
2194
+ };
2195
+
2196
+ this.on('newListener', event => {
2197
+ if (event === 'progress') {
2198
+ if (!internals.isCaptured) {
2199
+ internals.isCaptured = true;
2200
+ }
2201
+ }
2202
+ });
2203
+ }
2204
+
2205
+ _read(size) {
2206
+ const internals = this[kInternals];
2207
+
2208
+ if (internals.onReadCallback) {
2209
+ internals.onReadCallback();
2210
+ }
2211
+
2212
+ return super._read(size);
2213
+ }
2214
+
2215
+ _transform(chunk, encoding, callback) {
2216
+ const internals = this[kInternals];
2217
+ const maxRate = internals.maxRate;
2218
+
2219
+ const readableHighWaterMark = this.readableHighWaterMark;
2220
+
2221
+ const timeWindow = internals.timeWindow;
2222
+
2223
+ const divider = 1000 / timeWindow;
2224
+ const bytesThreshold = (maxRate / divider);
2225
+ const minChunkSize = internals.minChunkSize !== false ? Math.max(internals.minChunkSize, bytesThreshold * 0.01) : 0;
2226
+
2227
+ const pushChunk = (_chunk, _callback) => {
2228
+ const bytes = Buffer.byteLength(_chunk);
2229
+ internals.bytesSeen += bytes;
2230
+ internals.bytes += bytes;
2231
+
2232
+ internals.isCaptured && this.emit('progress', internals.bytesSeen);
2233
+
2234
+ if (this.push(_chunk)) {
2235
+ process.nextTick(_callback);
2236
+ } else {
2237
+ internals.onReadCallback = () => {
2238
+ internals.onReadCallback = null;
2239
+ process.nextTick(_callback);
2240
+ };
2241
+ }
2242
+ };
2243
+
2244
+ const transformChunk = (_chunk, _callback) => {
2245
+ const chunkSize = Buffer.byteLength(_chunk);
2246
+ let chunkRemainder = null;
2247
+ let maxChunkSize = readableHighWaterMark;
2248
+ let bytesLeft;
2249
+ let passed = 0;
2250
+
2251
+ if (maxRate) {
2252
+ const now = Date.now();
2253
+
2254
+ if (!internals.ts || (passed = (now - internals.ts)) >= timeWindow) {
2255
+ internals.ts = now;
2256
+ bytesLeft = bytesThreshold - internals.bytes;
2257
+ internals.bytes = bytesLeft < 0 ? -bytesLeft : 0;
2258
+ passed = 0;
2259
+ }
2260
+
2261
+ bytesLeft = bytesThreshold - internals.bytes;
2262
+ }
2263
+
2264
+ if (maxRate) {
2265
+ if (bytesLeft <= 0) {
2266
+ // next time window
2267
+ return setTimeout(() => {
2268
+ _callback(null, _chunk);
2269
+ }, timeWindow - passed);
2270
+ }
2271
+
2272
+ if (bytesLeft < maxChunkSize) {
2273
+ maxChunkSize = bytesLeft;
2274
+ }
2275
+ }
2276
+
2277
+ if (maxChunkSize && chunkSize > maxChunkSize && (chunkSize - maxChunkSize) > minChunkSize) {
2278
+ chunkRemainder = _chunk.subarray(maxChunkSize);
2279
+ _chunk = _chunk.subarray(0, maxChunkSize);
2280
+ }
2281
+
2282
+ pushChunk(_chunk, chunkRemainder ? () => {
2283
+ process.nextTick(_callback, null, chunkRemainder);
2284
+ } : _callback);
2285
+ };
2286
+
2287
+ transformChunk(chunk, function transformNextChunk(err, _chunk) {
2288
+ if (err) {
2289
+ return callback(err);
2290
+ }
2291
+
2292
+ if (_chunk) {
2293
+ transformChunk(_chunk, transformNextChunk);
2294
+ } else {
2295
+ callback(null);
2296
+ }
2297
+ });
2298
+ }
2299
+ }
2300
+
2301
+ const AxiosTransformStream$1 = AxiosTransformStream;
2302
+
2303
+ const {asyncIterator} = Symbol;
2304
+
2305
+ const readBlob = async function* (blob) {
2306
+ if (blob.stream) {
2307
+ yield* blob.stream();
2308
+ } else if (blob.arrayBuffer) {
2309
+ yield await blob.arrayBuffer();
2310
+ } else if (blob[asyncIterator]) {
2311
+ yield* blob[asyncIterator]();
2312
+ } else {
2313
+ yield blob;
2314
+ }
2315
+ };
2316
+
2317
+ const readBlob$1 = readBlob;
2318
+
2319
+ const BOUNDARY_ALPHABET = platform.ALPHABET.ALPHA_DIGIT + '-_';
2320
+
2321
+ const textEncoder = typeof TextEncoder === 'function' ? new TextEncoder() : new util__default["default"].TextEncoder();
2322
+
2323
+ const CRLF = '\r\n';
2324
+ const CRLF_BYTES = textEncoder.encode(CRLF);
2325
+ const CRLF_BYTES_COUNT = 2;
2326
+
2327
+ class FormDataPart {
2328
+ constructor(name, value) {
2329
+ const {escapeName} = this.constructor;
2330
+ const isStringValue = utils$1.isString(value);
2331
+
2332
+ let headers = `Content-Disposition: form-data; name="${escapeName(name)}"${
2333
+ !isStringValue && value.name ? `; filename="${escapeName(value.name)}"` : ''
2334
+ }${CRLF}`;
2335
+
2336
+ if (isStringValue) {
2337
+ value = textEncoder.encode(String(value).replace(/\r?\n|\r\n?/g, CRLF));
2338
+ } else {
2339
+ headers += `Content-Type: ${value.type || "application/octet-stream"}${CRLF}`;
2340
+ }
2341
+
2342
+ this.headers = textEncoder.encode(headers + CRLF);
2343
+
2344
+ this.contentLength = isStringValue ? value.byteLength : value.size;
2345
+
2346
+ this.size = this.headers.byteLength + this.contentLength + CRLF_BYTES_COUNT;
2347
+
2348
+ this.name = name;
2349
+ this.value = value;
2350
+ }
2351
+
2352
+ async *encode(){
2353
+ yield this.headers;
2354
+
2355
+ const {value} = this;
2356
+
2357
+ if(utils$1.isTypedArray(value)) {
2358
+ yield value;
2359
+ } else {
2360
+ yield* readBlob$1(value);
2361
+ }
2362
+
2363
+ yield CRLF_BYTES;
2364
+ }
2365
+
2366
+ static escapeName(name) {
2367
+ return String(name).replace(/[\r\n"]/g, (match) => ({
2368
+ '\r' : '%0D',
2369
+ '\n' : '%0A',
2370
+ '"' : '%22',
2371
+ }[match]));
2372
+ }
2373
+ }
2374
+
2375
+ const formDataToStream = (form, headersHandler, options) => {
2376
+ const {
2377
+ tag = 'form-data-boundary',
2378
+ size = 25,
2379
+ boundary = tag + '-' + platform.generateString(size, BOUNDARY_ALPHABET)
2380
+ } = options || {};
2381
+
2382
+ if(!utils$1.isFormData(form)) {
2383
+ throw TypeError('FormData instance required');
2384
+ }
2385
+
2386
+ if (boundary.length < 1 || boundary.length > 70) {
2387
+ throw Error('boundary must be 10-70 characters long')
2388
+ }
2389
+
2390
+ const boundaryBytes = textEncoder.encode('--' + boundary + CRLF);
2391
+ const footerBytes = textEncoder.encode('--' + boundary + '--' + CRLF);
2392
+ let contentLength = footerBytes.byteLength;
2393
+
2394
+ const parts = Array.from(form.entries()).map(([name, value]) => {
2395
+ const part = new FormDataPart(name, value);
2396
+ contentLength += part.size;
2397
+ return part;
2398
+ });
2399
+
2400
+ contentLength += boundaryBytes.byteLength * parts.length;
2401
+
2402
+ contentLength = utils$1.toFiniteNumber(contentLength);
2403
+
2404
+ const computedHeaders = {
2405
+ 'Content-Type': `multipart/form-data; boundary=${boundary}`
2406
+ };
2407
+
2408
+ if (Number.isFinite(contentLength)) {
2409
+ computedHeaders['Content-Length'] = contentLength;
2410
+ }
2411
+
2412
+ headersHandler && headersHandler(computedHeaders);
2413
+
2414
+ return stream.Readable.from((async function *() {
2415
+ for(const part of parts) {
2416
+ yield boundaryBytes;
2417
+ yield* part.encode();
2418
+ }
2419
+
2420
+ yield footerBytes;
2421
+ })());
2422
+ };
2423
+
2424
+ const formDataToStream$1 = formDataToStream;
2425
+
2426
+ class ZlibHeaderTransformStream extends stream__default["default"].Transform {
2427
+ __transform(chunk, encoding, callback) {
2428
+ this.push(chunk);
2429
+ callback();
2430
+ }
2431
+
2432
+ _transform(chunk, encoding, callback) {
2433
+ if (chunk.length !== 0) {
2434
+ this._transform = this.__transform;
2435
+
2436
+ // Add Default Compression headers if no zlib headers are present
2437
+ if (chunk[0] !== 120) { // Hex: 78
2438
+ const header = Buffer.alloc(2);
2439
+ header[0] = 120; // Hex: 78
2440
+ header[1] = 156; // Hex: 9C
2441
+ this.push(header, encoding);
2442
+ }
2443
+ }
2444
+
2445
+ this.__transform(chunk, encoding, callback);
2446
+ }
2447
+ }
2448
+
2449
+ const ZlibHeaderTransformStream$1 = ZlibHeaderTransformStream;
2450
+
2451
+ const callbackify = (fn, reducer) => {
2452
+ return utils$1.isAsyncFn(fn) ? function (...args) {
2453
+ const cb = args.pop();
2454
+ fn.apply(this, args).then((value) => {
2455
+ try {
2456
+ reducer ? cb(null, ...reducer(value)) : cb(null, value);
2457
+ } catch (err) {
2458
+ cb(err);
2459
+ }
2460
+ }, cb);
2461
+ } : fn;
2462
+ };
2463
+
2464
+ const callbackify$1 = callbackify;
2465
+
2466
+ /**
2467
+ * Calculate data maxRate
2468
+ * @param {Number} [samplesCount= 10]
2469
+ * @param {Number} [min= 1000]
2470
+ * @returns {Function}
2471
+ */
2472
+ function speedometer(samplesCount, min) {
2473
+ samplesCount = samplesCount || 10;
2474
+ const bytes = new Array(samplesCount);
2475
+ const timestamps = new Array(samplesCount);
2476
+ let head = 0;
2477
+ let tail = 0;
2478
+ let firstSampleTS;
2479
+
2480
+ min = min !== undefined ? min : 1000;
2481
+
2482
+ return function push(chunkLength) {
2483
+ const now = Date.now();
2484
+
2485
+ const startedAt = timestamps[tail];
2486
+
2487
+ if (!firstSampleTS) {
2488
+ firstSampleTS = now;
2489
+ }
2490
+
2491
+ bytes[head] = chunkLength;
2492
+ timestamps[head] = now;
2493
+
2494
+ let i = tail;
2495
+ let bytesCount = 0;
2496
+
2497
+ while (i !== head) {
2498
+ bytesCount += bytes[i++];
2499
+ i = i % samplesCount;
2500
+ }
2501
+
2502
+ head = (head + 1) % samplesCount;
2503
+
2504
+ if (head === tail) {
2505
+ tail = (tail + 1) % samplesCount;
2506
+ }
2507
+
2508
+ if (now - firstSampleTS < min) {
2509
+ return;
2510
+ }
2511
+
2512
+ const passed = startedAt && now - startedAt;
2513
+
2514
+ return passed ? Math.round(bytesCount * 1000 / passed) : undefined;
2515
+ };
2516
+ }
2517
+
2518
+ /**
2519
+ * Throttle decorator
2520
+ * @param {Function} fn
2521
+ * @param {Number} freq
2522
+ * @return {Function}
2523
+ */
2524
+ function throttle(fn, freq) {
2525
+ let timestamp = 0;
2526
+ let threshold = 1000 / freq;
2527
+ let lastArgs;
2528
+ let timer;
2529
+
2530
+ const invoke = (args, now = Date.now()) => {
2531
+ timestamp = now;
2532
+ lastArgs = null;
2533
+ if (timer) {
2534
+ clearTimeout(timer);
2535
+ timer = null;
2536
+ }
2537
+ fn.apply(null, args);
2538
+ };
2539
+
2540
+ const throttled = (...args) => {
2541
+ const now = Date.now();
2542
+ const passed = now - timestamp;
2543
+ if ( passed >= threshold) {
2544
+ invoke(args, now);
2545
+ } else {
2546
+ lastArgs = args;
2547
+ if (!timer) {
2548
+ timer = setTimeout(() => {
2549
+ timer = null;
2550
+ invoke(lastArgs);
2551
+ }, threshold - passed);
2552
+ }
2553
+ }
2554
+ };
2555
+
2556
+ const flush = () => lastArgs && invoke(lastArgs);
2557
+
2558
+ return [throttled, flush];
2559
+ }
2560
+
2561
+ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
2562
+ let bytesNotified = 0;
2563
+ const _speedometer = speedometer(50, 250);
2564
+
2565
+ return throttle(e => {
2566
+ const loaded = e.loaded;
2567
+ const total = e.lengthComputable ? e.total : undefined;
2568
+ const progressBytes = loaded - bytesNotified;
2569
+ const rate = _speedometer(progressBytes);
2570
+ const inRange = loaded <= total;
2571
+
2572
+ bytesNotified = loaded;
2573
+
2574
+ const data = {
2575
+ loaded,
2576
+ total,
2577
+ progress: total ? (loaded / total) : undefined,
2578
+ bytes: progressBytes,
2579
+ rate: rate ? rate : undefined,
2580
+ estimated: rate && total && inRange ? (total - loaded) / rate : undefined,
2581
+ event: e,
2582
+ lengthComputable: total != null,
2583
+ [isDownloadStream ? 'download' : 'upload']: true
2584
+ };
2585
+
2586
+ listener(data);
2587
+ }, freq);
2588
+ };
2589
+
2590
+ const progressEventDecorator = (total, throttled) => {
2591
+ const lengthComputable = total != null;
2592
+
2593
+ return [(loaded) => throttled[0]({
2594
+ lengthComputable,
2595
+ total,
2596
+ loaded
2597
+ }), throttled[1]];
2598
+ };
2599
+
2600
+ const asyncDecorator = (fn) => (...args) => utils$1.asap(() => fn(...args));
2601
+
2602
+ const zlibOptions = {
2603
+ flush: zlib__default["default"].constants.Z_SYNC_FLUSH,
2604
+ finishFlush: zlib__default["default"].constants.Z_SYNC_FLUSH
2605
+ };
2606
+
2607
+ const brotliOptions = {
2608
+ flush: zlib__default["default"].constants.BROTLI_OPERATION_FLUSH,
2609
+ finishFlush: zlib__default["default"].constants.BROTLI_OPERATION_FLUSH
2610
+ };
2611
+
2612
+ const isBrotliSupported = utils$1.isFunction(zlib__default["default"].createBrotliDecompress);
2613
+
2614
+ const {http: httpFollow, https: httpsFollow} = followRedirects__default["default"];
2615
+
2616
+ const isHttps = /https:?/;
2617
+
2618
+ const supportedProtocols = platform.protocols.map(protocol => {
2619
+ return protocol + ':';
2620
+ });
2621
+
2622
+ const flushOnFinish = (stream, [throttled, flush]) => {
2623
+ stream
2624
+ .on('end', flush)
2625
+ .on('error', flush);
2626
+
2627
+ return throttled;
2628
+ };
2629
+
2630
+ /**
2631
+ * If the proxy or config beforeRedirects functions are defined, call them with the options
2632
+ * object.
2633
+ *
2634
+ * @param {Object<string, any>} options - The options object that was passed to the request.
2635
+ *
2636
+ * @returns {Object<string, any>}
2637
+ */
2638
+ function dispatchBeforeRedirect(options, responseDetails) {
2639
+ if (options.beforeRedirects.proxy) {
2640
+ options.beforeRedirects.proxy(options);
2641
+ }
2642
+ if (options.beforeRedirects.config) {
2643
+ options.beforeRedirects.config(options, responseDetails);
2644
+ }
2645
+ }
2646
+
2647
+ /**
2648
+ * If the proxy or config afterRedirects functions are defined, call them with the options
2649
+ *
2650
+ * @param {http.ClientRequestArgs} options
2651
+ * @param {AxiosProxyConfig} configProxy configuration from Axios options object
2652
+ * @param {string} location
2653
+ *
2654
+ * @returns {http.ClientRequestArgs}
2655
+ */
2656
+ function setProxy(options, configProxy, location) {
2657
+ let proxy = configProxy;
2658
+ if (!proxy && proxy !== false) {
2659
+ const proxyUrl = proxyFromEnv__default["default"].getProxyForUrl(location);
2660
+ if (proxyUrl) {
2661
+ proxy = new URL(proxyUrl);
2662
+ }
2663
+ }
2664
+ if (proxy) {
2665
+ // Basic proxy authorization
2666
+ if (proxy.username) {
2667
+ proxy.auth = (proxy.username || '') + ':' + (proxy.password || '');
2668
+ }
2669
+
2670
+ if (proxy.auth) {
2671
+ // Support proxy auth object form
2672
+ if (proxy.auth.username || proxy.auth.password) {
2673
+ proxy.auth = (proxy.auth.username || '') + ':' + (proxy.auth.password || '');
2674
+ }
2675
+ const base64 = Buffer
2676
+ .from(proxy.auth, 'utf8')
2677
+ .toString('base64');
2678
+ options.headers['Proxy-Authorization'] = 'Basic ' + base64;
2679
+ }
2680
+
2681
+ options.headers.host = options.hostname + (options.port ? ':' + options.port : '');
2682
+ const proxyHost = proxy.hostname || proxy.host;
2683
+ options.hostname = proxyHost;
2684
+ // Replace 'host' since options is not a URL object
2685
+ options.host = proxyHost;
2686
+ options.port = proxy.port;
2687
+ options.path = location;
2688
+ if (proxy.protocol) {
2689
+ options.protocol = proxy.protocol.includes(':') ? proxy.protocol : `${proxy.protocol}:`;
2690
+ }
2691
+ }
2692
+
2693
+ options.beforeRedirects.proxy = function beforeRedirect(redirectOptions) {
2694
+ // Configure proxy for redirected request, passing the original config proxy to apply
2695
+ // the exact same logic as if the redirected request was performed by axios directly.
2696
+ setProxy(redirectOptions, configProxy, redirectOptions.href);
2697
+ };
2698
+ }
2699
+
2700
+ const isHttpAdapterSupported = typeof process !== 'undefined' && utils$1.kindOf(process) === 'process';
2701
+
2702
+ // temporary hotfix
2703
+
2704
+ const wrapAsync = (asyncExecutor) => {
2705
+ return new Promise((resolve, reject) => {
2706
+ let onDone;
2707
+ let isDone;
2708
+
2709
+ const done = (value, isRejected) => {
2710
+ if (isDone) return;
2711
+ isDone = true;
2712
+ onDone && onDone(value, isRejected);
2713
+ };
2714
+
2715
+ const _resolve = (value) => {
2716
+ done(value);
2717
+ resolve(value);
2718
+ };
2719
+
2720
+ const _reject = (reason) => {
2721
+ done(reason, true);
2722
+ reject(reason);
2723
+ };
2724
+
2725
+ asyncExecutor(_resolve, _reject, (onDoneHandler) => (onDone = onDoneHandler)).catch(_reject);
2726
+ })
2727
+ };
2728
+
2729
+ const resolveFamily = ({address, family}) => {
2730
+ if (!utils$1.isString(address)) {
2731
+ throw TypeError('address must be a string');
2732
+ }
2733
+ return ({
2734
+ address,
2735
+ family: family || (address.indexOf('.') < 0 ? 6 : 4)
2736
+ });
2737
+ };
2738
+
2739
+ const buildAddressEntry = (address, family) => resolveFamily(utils$1.isObject(address) ? address : {address, family});
2740
+
2741
+ /*eslint consistent-return:0*/
2742
+ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
2743
+ return wrapAsync(async function dispatchHttpRequest(resolve, reject, onDone) {
2744
+ let {data, lookup, family} = config;
2745
+ const {responseType, responseEncoding} = config;
2746
+ const method = config.method.toUpperCase();
2747
+ let isDone;
2748
+ let rejected = false;
2749
+ let req;
2750
+
2751
+ if (lookup) {
2752
+ const _lookup = callbackify$1(lookup, (value) => utils$1.isArray(value) ? value : [value]);
2753
+ // hotfix to support opt.all option which is required for node 20.x
2754
+ lookup = (hostname, opt, cb) => {
2755
+ _lookup(hostname, opt, (err, arg0, arg1) => {
2756
+ if (err) {
2757
+ return cb(err);
2758
+ }
2759
+
2760
+ const addresses = utils$1.isArray(arg0) ? arg0.map(addr => buildAddressEntry(addr)) : [buildAddressEntry(arg0, arg1)];
2761
+
2762
+ opt.all ? cb(err, addresses) : cb(err, addresses[0].address, addresses[0].family);
2763
+ });
2764
+ };
2765
+ }
2766
+
2767
+ // temporary internal emitter until the AxiosRequest class will be implemented
2768
+ const emitter = new events.EventEmitter();
2769
+
2770
+ const onFinished = () => {
2771
+ if (config.cancelToken) {
2772
+ config.cancelToken.unsubscribe(abort);
2773
+ }
2774
+
2775
+ if (config.signal) {
2776
+ config.signal.removeEventListener('abort', abort);
2777
+ }
2778
+
2779
+ emitter.removeAllListeners();
2780
+ };
2781
+
2782
+ onDone((value, isRejected) => {
2783
+ isDone = true;
2784
+ if (isRejected) {
2785
+ rejected = true;
2786
+ onFinished();
2787
+ }
2788
+ });
2789
+
2790
+ function abort(reason) {
2791
+ emitter.emit('abort', !reason || reason.type ? new CanceledError(null, config, req) : reason);
2792
+ }
2793
+
2794
+ emitter.once('abort', reject);
2795
+
2796
+ if (config.cancelToken || config.signal) {
2797
+ config.cancelToken && config.cancelToken.subscribe(abort);
2798
+ if (config.signal) {
2799
+ config.signal.aborted ? abort() : config.signal.addEventListener('abort', abort);
2800
+ }
2801
+ }
2802
+
2803
+ // Parse url
2804
+ const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
2805
+ const parsed = new URL(fullPath, platform.hasBrowserEnv ? platform.origin : undefined);
2806
+ const protocol = parsed.protocol || supportedProtocols[0];
2807
+
2808
+ if (protocol === 'data:') {
2809
+ let convertedData;
2810
+
2811
+ if (method !== 'GET') {
2812
+ return settle(resolve, reject, {
2813
+ status: 405,
2814
+ statusText: 'method not allowed',
2815
+ headers: {},
2816
+ config
2817
+ });
2818
+ }
2819
+
2820
+ try {
2821
+ convertedData = fromDataURI(config.url, responseType === 'blob', {
2822
+ Blob: config.env && config.env.Blob
2823
+ });
2824
+ } catch (err) {
2825
+ throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config);
2826
+ }
2827
+
2828
+ if (responseType === 'text') {
2829
+ convertedData = convertedData.toString(responseEncoding);
2830
+
2831
+ if (!responseEncoding || responseEncoding === 'utf8') {
2832
+ convertedData = utils$1.stripBOM(convertedData);
2833
+ }
2834
+ } else if (responseType === 'stream') {
2835
+ convertedData = stream__default["default"].Readable.from(convertedData);
2836
+ }
2837
+
2838
+ return settle(resolve, reject, {
2839
+ data: convertedData,
2840
+ status: 200,
2841
+ statusText: 'OK',
2842
+ headers: new AxiosHeaders$1(),
2843
+ config
2844
+ });
2845
+ }
2846
+
2847
+ if (supportedProtocols.indexOf(protocol) === -1) {
2848
+ return reject(new AxiosError(
2849
+ 'Unsupported protocol ' + protocol,
2850
+ AxiosError.ERR_BAD_REQUEST,
2851
+ config
2852
+ ));
2853
+ }
2854
+
2855
+ const headers = AxiosHeaders$1.from(config.headers).normalize();
2856
+
2857
+ // Set User-Agent (required by some servers)
2858
+ // See https://github.com/axios/axios/issues/69
2859
+ // User-Agent is specified; handle case where no UA header is desired
2860
+ // Only set header if it hasn't been set in config
2861
+ headers.set('User-Agent', 'axios/' + VERSION, false);
2862
+
2863
+ const {onUploadProgress, onDownloadProgress} = config;
2864
+ const maxRate = config.maxRate;
2865
+ let maxUploadRate = undefined;
2866
+ let maxDownloadRate = undefined;
2867
+
2868
+ // support for spec compliant FormData objects
2869
+ if (utils$1.isSpecCompliantForm(data)) {
2870
+ const userBoundary = headers.getContentType(/boundary=([-_\w\d]{10,70})/i);
2871
+
2872
+ data = formDataToStream$1(data, (formHeaders) => {
2873
+ headers.set(formHeaders);
2874
+ }, {
2875
+ tag: `axios-${VERSION}-boundary`,
2876
+ boundary: userBoundary && userBoundary[1] || undefined
2877
+ });
2878
+ // support for https://www.npmjs.com/package/form-data api
2879
+ } else if (utils$1.isFormData(data) && utils$1.isFunction(data.getHeaders)) {
2880
+ headers.set(data.getHeaders());
2881
+
2882
+ if (!headers.hasContentLength()) {
2883
+ try {
2884
+ const knownLength = await util__default["default"].promisify(data.getLength).call(data);
2885
+ Number.isFinite(knownLength) && knownLength >= 0 && headers.setContentLength(knownLength);
2886
+ /*eslint no-empty:0*/
2887
+ } catch (e) {
2888
+ }
2889
+ }
2890
+ } else if (utils$1.isBlob(data) || utils$1.isFile(data)) {
2891
+ data.size && headers.setContentType(data.type || 'application/octet-stream');
2892
+ headers.setContentLength(data.size || 0);
2893
+ data = stream__default["default"].Readable.from(readBlob$1(data));
2894
+ } else if (data && !utils$1.isStream(data)) {
2895
+ if (Buffer.isBuffer(data)) ; else if (utils$1.isArrayBuffer(data)) {
2896
+ data = Buffer.from(new Uint8Array(data));
2897
+ } else if (utils$1.isString(data)) {
2898
+ data = Buffer.from(data, 'utf-8');
2899
+ } else {
2900
+ return reject(new AxiosError(
2901
+ 'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',
2902
+ AxiosError.ERR_BAD_REQUEST,
2903
+ config
2904
+ ));
2905
+ }
2906
+
2907
+ // Add Content-Length header if data exists
2908
+ headers.setContentLength(data.length, false);
2909
+
2910
+ if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) {
2911
+ return reject(new AxiosError(
2912
+ 'Request body larger than maxBodyLength limit',
2913
+ AxiosError.ERR_BAD_REQUEST,
2914
+ config
2915
+ ));
2916
+ }
2917
+ }
2918
+
2919
+ const contentLength = utils$1.toFiniteNumber(headers.getContentLength());
2920
+
2921
+ if (utils$1.isArray(maxRate)) {
2922
+ maxUploadRate = maxRate[0];
2923
+ maxDownloadRate = maxRate[1];
2924
+ } else {
2925
+ maxUploadRate = maxDownloadRate = maxRate;
2926
+ }
2927
+
2928
+ if (data && (onUploadProgress || maxUploadRate)) {
2929
+ if (!utils$1.isStream(data)) {
2930
+ data = stream__default["default"].Readable.from(data, {objectMode: false});
2931
+ }
2932
+
2933
+ data = stream__default["default"].pipeline([data, new AxiosTransformStream$1({
2934
+ maxRate: utils$1.toFiniteNumber(maxUploadRate)
2935
+ })], utils$1.noop);
2936
+
2937
+ onUploadProgress && data.on('progress', flushOnFinish(
2938
+ data,
2939
+ progressEventDecorator(
2940
+ contentLength,
2941
+ progressEventReducer(asyncDecorator(onUploadProgress), false, 3)
2942
+ )
2943
+ ));
2944
+ }
2945
+
2946
+ // HTTP basic authentication
2947
+ let auth = undefined;
2948
+ if (config.auth) {
2949
+ const username = config.auth.username || '';
2950
+ const password = config.auth.password || '';
2951
+ auth = username + ':' + password;
2952
+ }
2953
+
2954
+ if (!auth && parsed.username) {
2955
+ const urlUsername = parsed.username;
2956
+ const urlPassword = parsed.password;
2957
+ auth = urlUsername + ':' + urlPassword;
2958
+ }
2959
+
2960
+ auth && headers.delete('authorization');
2961
+
2962
+ let path;
2963
+
2964
+ try {
2965
+ path = buildURL(
2966
+ parsed.pathname + parsed.search,
2967
+ config.params,
2968
+ config.paramsSerializer
2969
+ ).replace(/^\?/, '');
2970
+ } catch (err) {
2971
+ const customErr = new Error(err.message);
2972
+ customErr.config = config;
2973
+ customErr.url = config.url;
2974
+ customErr.exists = true;
2975
+ return reject(customErr);
2976
+ }
2977
+
2978
+ headers.set(
2979
+ 'Accept-Encoding',
2980
+ 'gzip, compress, deflate' + (isBrotliSupported ? ', br' : ''), false
2981
+ );
2982
+
2983
+ const options = {
2984
+ path,
2985
+ method: method,
2986
+ headers: headers.toJSON(),
2987
+ agents: { http: config.httpAgent, https: config.httpsAgent },
2988
+ auth,
2989
+ protocol,
2990
+ family,
2991
+ beforeRedirect: dispatchBeforeRedirect,
2992
+ beforeRedirects: {}
2993
+ };
2994
+
2995
+ // cacheable-lookup integration hotfix
2996
+ !utils$1.isUndefined(lookup) && (options.lookup = lookup);
2997
+
2998
+ if (config.socketPath) {
2999
+ options.socketPath = config.socketPath;
3000
+ } else {
3001
+ options.hostname = parsed.hostname.startsWith("[") ? parsed.hostname.slice(1, -1) : parsed.hostname;
3002
+ options.port = parsed.port;
3003
+ setProxy(options, config.proxy, protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path);
3004
+ }
3005
+
3006
+ let transport;
3007
+ const isHttpsRequest = isHttps.test(options.protocol);
3008
+ options.agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;
3009
+ if (config.transport) {
3010
+ transport = config.transport;
3011
+ } else if (config.maxRedirects === 0) {
3012
+ transport = isHttpsRequest ? https__default["default"] : http__default["default"];
3013
+ } else {
3014
+ if (config.maxRedirects) {
3015
+ options.maxRedirects = config.maxRedirects;
3016
+ }
3017
+ if (config.beforeRedirect) {
3018
+ options.beforeRedirects.config = config.beforeRedirect;
3019
+ }
3020
+ transport = isHttpsRequest ? httpsFollow : httpFollow;
3021
+ }
3022
+
3023
+ if (config.maxBodyLength > -1) {
3024
+ options.maxBodyLength = config.maxBodyLength;
3025
+ } else {
3026
+ // follow-redirects does not skip comparison, so it should always succeed for axios -1 unlimited
3027
+ options.maxBodyLength = Infinity;
3028
+ }
3029
+
3030
+ if (config.insecureHTTPParser) {
3031
+ options.insecureHTTPParser = config.insecureHTTPParser;
3032
+ }
3033
+
3034
+ // Create the request
3035
+ req = transport.request(options, function handleResponse(res) {
3036
+ if (req.destroyed) return;
3037
+
3038
+ const streams = [res];
3039
+
3040
+ const responseLength = +res.headers['content-length'];
3041
+
3042
+ if (onDownloadProgress || maxDownloadRate) {
3043
+ const transformStream = new AxiosTransformStream$1({
3044
+ maxRate: utils$1.toFiniteNumber(maxDownloadRate)
3045
+ });
3046
+
3047
+ onDownloadProgress && transformStream.on('progress', flushOnFinish(
3048
+ transformStream,
3049
+ progressEventDecorator(
3050
+ responseLength,
3051
+ progressEventReducer(asyncDecorator(onDownloadProgress), true, 3)
3052
+ )
3053
+ ));
3054
+
3055
+ streams.push(transformStream);
3056
+ }
3057
+
3058
+ // decompress the response body transparently if required
3059
+ let responseStream = res;
3060
+
3061
+ // return the last request in case of redirects
3062
+ const lastRequest = res.req || req;
3063
+
3064
+ // if decompress disabled we should not decompress
3065
+ if (config.decompress !== false && res.headers['content-encoding']) {
3066
+ // if no content, but headers still say that it is encoded,
3067
+ // remove the header not confuse downstream operations
3068
+ if (method === 'HEAD' || res.statusCode === 204) {
3069
+ delete res.headers['content-encoding'];
3070
+ }
3071
+
3072
+ switch ((res.headers['content-encoding'] || '').toLowerCase()) {
3073
+ /*eslint default-case:0*/
3074
+ case 'gzip':
3075
+ case 'x-gzip':
3076
+ case 'compress':
3077
+ case 'x-compress':
3078
+ // add the unzipper to the body stream processing pipeline
3079
+ streams.push(zlib__default["default"].createUnzip(zlibOptions));
3080
+
3081
+ // remove the content-encoding in order to not confuse downstream operations
3082
+ delete res.headers['content-encoding'];
3083
+ break;
3084
+ case 'deflate':
3085
+ streams.push(new ZlibHeaderTransformStream$1());
3086
+
3087
+ // add the unzipper to the body stream processing pipeline
3088
+ streams.push(zlib__default["default"].createUnzip(zlibOptions));
3089
+
3090
+ // remove the content-encoding in order to not confuse downstream operations
3091
+ delete res.headers['content-encoding'];
3092
+ break;
3093
+ case 'br':
3094
+ if (isBrotliSupported) {
3095
+ streams.push(zlib__default["default"].createBrotliDecompress(brotliOptions));
3096
+ delete res.headers['content-encoding'];
3097
+ }
3098
+ }
3099
+ }
3100
+
3101
+ responseStream = streams.length > 1 ? stream__default["default"].pipeline(streams, utils$1.noop) : streams[0];
3102
+
3103
+ const offListeners = stream__default["default"].finished(responseStream, () => {
3104
+ offListeners();
3105
+ onFinished();
3106
+ });
3107
+
3108
+ const response = {
3109
+ status: res.statusCode,
3110
+ statusText: res.statusMessage,
3111
+ headers: new AxiosHeaders$1(res.headers),
3112
+ config,
3113
+ request: lastRequest
3114
+ };
3115
+
3116
+ if (responseType === 'stream') {
3117
+ response.data = responseStream;
3118
+ settle(resolve, reject, response);
3119
+ } else {
3120
+ const responseBuffer = [];
3121
+ let totalResponseBytes = 0;
3122
+
3123
+ responseStream.on('data', function handleStreamData(chunk) {
3124
+ responseBuffer.push(chunk);
3125
+ totalResponseBytes += chunk.length;
3126
+
3127
+ // make sure the content length is not over the maxContentLength if specified
3128
+ if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {
3129
+ // stream.destroy() emit aborted event before calling reject() on Node.js v16
3130
+ rejected = true;
3131
+ responseStream.destroy();
3132
+ reject(new AxiosError('maxContentLength size of ' + config.maxContentLength + ' exceeded',
3133
+ AxiosError.ERR_BAD_RESPONSE, config, lastRequest));
3134
+ }
3135
+ });
3136
+
3137
+ responseStream.on('aborted', function handlerStreamAborted() {
3138
+ if (rejected) {
3139
+ return;
3140
+ }
3141
+
3142
+ const err = new AxiosError(
3143
+ 'stream has been aborted',
3144
+ AxiosError.ERR_BAD_RESPONSE,
3145
+ config,
3146
+ lastRequest
3147
+ );
3148
+ responseStream.destroy(err);
3149
+ reject(err);
3150
+ });
3151
+
3152
+ responseStream.on('error', function handleStreamError(err) {
3153
+ if (req.destroyed) return;
3154
+ reject(AxiosError.from(err, null, config, lastRequest));
3155
+ });
3156
+
3157
+ responseStream.on('end', function handleStreamEnd() {
3158
+ try {
3159
+ let responseData = responseBuffer.length === 1 ? responseBuffer[0] : Buffer.concat(responseBuffer);
3160
+ if (responseType !== 'arraybuffer') {
3161
+ responseData = responseData.toString(responseEncoding);
3162
+ if (!responseEncoding || responseEncoding === 'utf8') {
3163
+ responseData = utils$1.stripBOM(responseData);
3164
+ }
3165
+ }
3166
+ response.data = responseData;
3167
+ } catch (err) {
3168
+ return reject(AxiosError.from(err, null, config, response.request, response));
3169
+ }
3170
+ settle(resolve, reject, response);
3171
+ });
3172
+ }
3173
+
3174
+ emitter.once('abort', err => {
3175
+ if (!responseStream.destroyed) {
3176
+ responseStream.emit('error', err);
3177
+ responseStream.destroy();
3178
+ }
3179
+ });
3180
+ });
3181
+
3182
+ emitter.once('abort', err => {
3183
+ reject(err);
3184
+ req.destroy(err);
3185
+ });
3186
+
3187
+ // Handle errors
3188
+ req.on('error', function handleRequestError(err) {
3189
+ // @todo remove
3190
+ // if (req.aborted && err.code !== AxiosError.ERR_FR_TOO_MANY_REDIRECTS) return;
3191
+ reject(AxiosError.from(err, null, config, req));
3192
+ });
3193
+
3194
+ // set tcp keep alive to prevent drop connection by peer
3195
+ req.on('socket', function handleRequestSocket(socket) {
3196
+ // default interval of sending ack packet is 1 minute
3197
+ socket.setKeepAlive(true, 1000 * 60);
3198
+ });
3199
+
3200
+ // Handle request timeout
3201
+ if (config.timeout) {
3202
+ // This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types.
3203
+ const timeout = parseInt(config.timeout, 10);
3204
+
3205
+ if (Number.isNaN(timeout)) {
3206
+ reject(new AxiosError(
3207
+ 'error trying to parse `config.timeout` to int',
3208
+ AxiosError.ERR_BAD_OPTION_VALUE,
3209
+ config,
3210
+ req
3211
+ ));
3212
+
3213
+ return;
3214
+ }
3215
+
3216
+ // Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system.
3217
+ // And timer callback will be fired, and abort() will be invoked before connection, then get "socket hang up" and code ECONNRESET.
3218
+ // At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up.
3219
+ // And then these socket which be hang up will devouring CPU little by little.
3220
+ // ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.
3221
+ req.setTimeout(timeout, function handleRequestTimeout() {
3222
+ if (isDone) return;
3223
+ let timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';
3224
+ const transitional = config.transitional || transitionalDefaults;
3225
+ if (config.timeoutErrorMessage) {
3226
+ timeoutErrorMessage = config.timeoutErrorMessage;
3227
+ }
3228
+ reject(new AxiosError(
3229
+ timeoutErrorMessage,
3230
+ transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
3231
+ config,
3232
+ req
3233
+ ));
3234
+ abort();
3235
+ });
3236
+ }
3237
+
3238
+
3239
+ // Send the request
3240
+ if (utils$1.isStream(data)) {
3241
+ let ended = false;
3242
+ let errored = false;
3243
+
3244
+ data.on('end', () => {
3245
+ ended = true;
3246
+ });
3247
+
3248
+ data.once('error', err => {
3249
+ errored = true;
3250
+ req.destroy(err);
3251
+ });
3252
+
3253
+ data.on('close', () => {
3254
+ if (!ended && !errored) {
3255
+ abort(new CanceledError('Request stream has been aborted', config, req));
3256
+ }
3257
+ });
3258
+
3259
+ data.pipe(req);
3260
+ } else {
3261
+ req.end(data);
3262
+ }
3263
+ });
3264
+ };
3265
+
3266
+ const isURLSameOrigin = platform.hasStandardBrowserEnv ? ((origin, isMSIE) => (url) => {
3267
+ url = new URL(url, platform.origin);
3268
+
3269
+ return (
3270
+ origin.protocol === url.protocol &&
3271
+ origin.host === url.host &&
3272
+ (isMSIE || origin.port === url.port)
3273
+ );
3274
+ })(
3275
+ new URL(platform.origin),
3276
+ platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)
3277
+ ) : () => true;
3278
+
3279
+ const cookies = platform.hasStandardBrowserEnv ?
3280
+
3281
+ // Standard browser envs support document.cookie
3282
+ {
3283
+ write(name, value, expires, path, domain, secure) {
3284
+ const cookie = [name + '=' + encodeURIComponent(value)];
3285
+
3286
+ utils$1.isNumber(expires) && cookie.push('expires=' + new Date(expires).toGMTString());
3287
+
3288
+ utils$1.isString(path) && cookie.push('path=' + path);
3289
+
3290
+ utils$1.isString(domain) && cookie.push('domain=' + domain);
3291
+
3292
+ secure === true && cookie.push('secure');
3293
+
3294
+ document.cookie = cookie.join('; ');
3295
+ },
3296
+
3297
+ read(name) {
3298
+ const match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
3299
+ return (match ? decodeURIComponent(match[3]) : null);
3300
+ },
3301
+
3302
+ remove(name) {
3303
+ this.write(name, '', Date.now() - 86400000);
3304
+ }
3305
+ }
3306
+
3307
+ :
3308
+
3309
+ // Non-standard browser env (web workers, react-native) lack needed support.
3310
+ {
3311
+ write() {},
3312
+ read() {
3313
+ return null;
3314
+ },
3315
+ remove() {}
3316
+ };
3317
+
3318
+ const headersToObject = (thing) => thing instanceof AxiosHeaders$1 ? { ...thing } : thing;
3319
+
3320
+ /**
3321
+ * Config-specific merge-function which creates a new config-object
3322
+ * by merging two configuration objects together.
3323
+ *
3324
+ * @param {Object} config1
3325
+ * @param {Object} config2
3326
+ *
3327
+ * @returns {Object} New object resulting from merging config2 to config1
3328
+ */
3329
+ function mergeConfig(config1, config2) {
3330
+ // eslint-disable-next-line no-param-reassign
3331
+ config2 = config2 || {};
3332
+ const config = {};
3333
+
3334
+ function getMergedValue(target, source, prop, caseless) {
3335
+ if (utils$1.isPlainObject(target) && utils$1.isPlainObject(source)) {
3336
+ return utils$1.merge.call({caseless}, target, source);
3337
+ } else if (utils$1.isPlainObject(source)) {
3338
+ return utils$1.merge({}, source);
3339
+ } else if (utils$1.isArray(source)) {
3340
+ return source.slice();
3341
+ }
3342
+ return source;
3343
+ }
3344
+
3345
+ // eslint-disable-next-line consistent-return
3346
+ function mergeDeepProperties(a, b, prop , caseless) {
3347
+ if (!utils$1.isUndefined(b)) {
3348
+ return getMergedValue(a, b, prop , caseless);
3349
+ } else if (!utils$1.isUndefined(a)) {
3350
+ return getMergedValue(undefined, a, prop , caseless);
3351
+ }
3352
+ }
3353
+
3354
+ // eslint-disable-next-line consistent-return
3355
+ function valueFromConfig2(a, b) {
3356
+ if (!utils$1.isUndefined(b)) {
3357
+ return getMergedValue(undefined, b);
3358
+ }
3359
+ }
3360
+
3361
+ // eslint-disable-next-line consistent-return
3362
+ function defaultToConfig2(a, b) {
3363
+ if (!utils$1.isUndefined(b)) {
3364
+ return getMergedValue(undefined, b);
3365
+ } else if (!utils$1.isUndefined(a)) {
3366
+ return getMergedValue(undefined, a);
3367
+ }
3368
+ }
3369
+
3370
+ // eslint-disable-next-line consistent-return
3371
+ function mergeDirectKeys(a, b, prop) {
3372
+ if (prop in config2) {
3373
+ return getMergedValue(a, b);
3374
+ } else if (prop in config1) {
3375
+ return getMergedValue(undefined, a);
3376
+ }
3377
+ }
3378
+
3379
+ const mergeMap = {
3380
+ url: valueFromConfig2,
3381
+ method: valueFromConfig2,
3382
+ data: valueFromConfig2,
3383
+ baseURL: defaultToConfig2,
3384
+ transformRequest: defaultToConfig2,
3385
+ transformResponse: defaultToConfig2,
3386
+ paramsSerializer: defaultToConfig2,
3387
+ timeout: defaultToConfig2,
3388
+ timeoutMessage: defaultToConfig2,
3389
+ withCredentials: defaultToConfig2,
3390
+ withXSRFToken: defaultToConfig2,
3391
+ adapter: defaultToConfig2,
3392
+ responseType: defaultToConfig2,
3393
+ xsrfCookieName: defaultToConfig2,
3394
+ xsrfHeaderName: defaultToConfig2,
3395
+ onUploadProgress: defaultToConfig2,
3396
+ onDownloadProgress: defaultToConfig2,
3397
+ decompress: defaultToConfig2,
3398
+ maxContentLength: defaultToConfig2,
3399
+ maxBodyLength: defaultToConfig2,
3400
+ beforeRedirect: defaultToConfig2,
3401
+ transport: defaultToConfig2,
3402
+ httpAgent: defaultToConfig2,
3403
+ httpsAgent: defaultToConfig2,
3404
+ cancelToken: defaultToConfig2,
3405
+ socketPath: defaultToConfig2,
3406
+ responseEncoding: defaultToConfig2,
3407
+ validateStatus: mergeDirectKeys,
3408
+ headers: (a, b , prop) => mergeDeepProperties(headersToObject(a), headersToObject(b),prop, true)
3409
+ };
3410
+
3411
+ utils$1.forEach(Object.keys(Object.assign({}, config1, config2)), function computeConfigValue(prop) {
3412
+ const merge = mergeMap[prop] || mergeDeepProperties;
3413
+ const configValue = merge(config1[prop], config2[prop], prop);
3414
+ (utils$1.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
3415
+ });
3416
+
3417
+ return config;
3418
+ }
3419
+
3420
+ const resolveConfig = (config) => {
3421
+ const newConfig = mergeConfig({}, config);
3422
+
3423
+ let {data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth} = newConfig;
3424
+
3425
+ newConfig.headers = headers = AxiosHeaders$1.from(headers);
3426
+
3427
+ newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
3428
+
3429
+ // HTTP basic authentication
3430
+ if (auth) {
3431
+ headers.set('Authorization', 'Basic ' +
3432
+ btoa((auth.username || '') + ':' + (auth.password ? unescape(encodeURIComponent(auth.password)) : ''))
3433
+ );
3434
+ }
3435
+
3436
+ let contentType;
3437
+
3438
+ if (utils$1.isFormData(data)) {
3439
+ if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv) {
3440
+ headers.setContentType(undefined); // Let the browser set it
3441
+ } else if ((contentType = headers.getContentType()) !== false) {
3442
+ // fix semicolon duplication issue for ReactNative FormData implementation
3443
+ const [type, ...tokens] = contentType ? contentType.split(';').map(token => token.trim()).filter(Boolean) : [];
3444
+ headers.setContentType([type || 'multipart/form-data', ...tokens].join('; '));
3445
+ }
3446
+ }
3447
+
3448
+ // Add xsrf header
3449
+ // This is only done if running in a standard browser environment.
3450
+ // Specifically not if we're in a web worker, or react-native.
3451
+
3452
+ if (platform.hasStandardBrowserEnv) {
3453
+ withXSRFToken && utils$1.isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(newConfig));
3454
+
3455
+ if (withXSRFToken || (withXSRFToken !== false && isURLSameOrigin(newConfig.url))) {
3456
+ // Add xsrf header
3457
+ const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName);
3458
+
3459
+ if (xsrfValue) {
3460
+ headers.set(xsrfHeaderName, xsrfValue);
3461
+ }
3462
+ }
3463
+ }
3464
+
3465
+ return newConfig;
3466
+ };
3467
+
3468
+ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
3469
+
3470
+ const xhrAdapter = isXHRAdapterSupported && function (config) {
3471
+ return new Promise(function dispatchXhrRequest(resolve, reject) {
3472
+ const _config = resolveConfig(config);
3473
+ let requestData = _config.data;
3474
+ const requestHeaders = AxiosHeaders$1.from(_config.headers).normalize();
3475
+ let {responseType, onUploadProgress, onDownloadProgress} = _config;
3476
+ let onCanceled;
3477
+ let uploadThrottled, downloadThrottled;
3478
+ let flushUpload, flushDownload;
3479
+
3480
+ function done() {
3481
+ flushUpload && flushUpload(); // flush events
3482
+ flushDownload && flushDownload(); // flush events
3483
+
3484
+ _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);
3485
+
3486
+ _config.signal && _config.signal.removeEventListener('abort', onCanceled);
3487
+ }
3488
+
3489
+ let request = new XMLHttpRequest();
3490
+
3491
+ request.open(_config.method.toUpperCase(), _config.url, true);
3492
+
3493
+ // Set the request timeout in MS
3494
+ request.timeout = _config.timeout;
3495
+
3496
+ function onloadend() {
3497
+ if (!request) {
3498
+ return;
3499
+ }
3500
+ // Prepare the response
3501
+ const responseHeaders = AxiosHeaders$1.from(
3502
+ 'getAllResponseHeaders' in request && request.getAllResponseHeaders()
3503
+ );
3504
+ const responseData = !responseType || responseType === 'text' || responseType === 'json' ?
3505
+ request.responseText : request.response;
3506
+ const response = {
3507
+ data: responseData,
3508
+ status: request.status,
3509
+ statusText: request.statusText,
3510
+ headers: responseHeaders,
3511
+ config,
3512
+ request
3513
+ };
3514
+
3515
+ settle(function _resolve(value) {
3516
+ resolve(value);
3517
+ done();
3518
+ }, function _reject(err) {
3519
+ reject(err);
3520
+ done();
3521
+ }, response);
3522
+
3523
+ // Clean up request
3524
+ request = null;
3525
+ }
3526
+
3527
+ if ('onloadend' in request) {
3528
+ // Use onloadend if available
3529
+ request.onloadend = onloadend;
3530
+ } else {
3531
+ // Listen for ready state to emulate onloadend
3532
+ request.onreadystatechange = function handleLoad() {
3533
+ if (!request || request.readyState !== 4) {
3534
+ return;
3535
+ }
3536
+
3537
+ // The request errored out and we didn't get a response, this will be
3538
+ // handled by onerror instead
3539
+ // With one exception: request that using file: protocol, most browsers
3540
+ // will return status as 0 even though it's a successful request
3541
+ if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
3542
+ return;
3543
+ }
3544
+ // readystate handler is calling before onerror or ontimeout handlers,
3545
+ // so we should call onloadend on the next 'tick'
3546
+ setTimeout(onloadend);
3547
+ };
3548
+ }
3549
+
3550
+ // Handle browser request cancellation (as opposed to a manual cancellation)
3551
+ request.onabort = function handleAbort() {
3552
+ if (!request) {
3553
+ return;
3554
+ }
3555
+
3556
+ reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));
3557
+
3558
+ // Clean up request
3559
+ request = null;
3560
+ };
3561
+
3562
+ // Handle low level network errors
3563
+ request.onerror = function handleError() {
3564
+ // Real errors are hidden from us by the browser
3565
+ // onerror should only fire if it's a network error
3566
+ reject(new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request));
3567
+
3568
+ // Clean up request
3569
+ request = null;
3570
+ };
3571
+
3572
+ // Handle timeout
3573
+ request.ontimeout = function handleTimeout() {
3574
+ let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded';
3575
+ const transitional = _config.transitional || transitionalDefaults;
3576
+ if (_config.timeoutErrorMessage) {
3577
+ timeoutErrorMessage = _config.timeoutErrorMessage;
3578
+ }
3579
+ reject(new AxiosError(
3580
+ timeoutErrorMessage,
3581
+ transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
3582
+ config,
3583
+ request));
3584
+
3585
+ // Clean up request
3586
+ request = null;
3587
+ };
3588
+
3589
+ // Remove Content-Type if data is undefined
3590
+ requestData === undefined && requestHeaders.setContentType(null);
3591
+
3592
+ // Add headers to the request
3593
+ if ('setRequestHeader' in request) {
3594
+ utils$1.forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
3595
+ request.setRequestHeader(key, val);
3596
+ });
3597
+ }
3598
+
3599
+ // Add withCredentials to request if needed
3600
+ if (!utils$1.isUndefined(_config.withCredentials)) {
3601
+ request.withCredentials = !!_config.withCredentials;
3602
+ }
3603
+
3604
+ // Add responseType to request if needed
3605
+ if (responseType && responseType !== 'json') {
3606
+ request.responseType = _config.responseType;
3607
+ }
3608
+
3609
+ // Handle progress if needed
3610
+ if (onDownloadProgress) {
3611
+ ([downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true));
3612
+ request.addEventListener('progress', downloadThrottled);
3613
+ }
3614
+
3615
+ // Not all browsers support upload events
3616
+ if (onUploadProgress && request.upload) {
3617
+ ([uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress));
3618
+
3619
+ request.upload.addEventListener('progress', uploadThrottled);
3620
+
3621
+ request.upload.addEventListener('loadend', flushUpload);
3622
+ }
3623
+
3624
+ if (_config.cancelToken || _config.signal) {
3625
+ // Handle cancellation
3626
+ // eslint-disable-next-line func-names
3627
+ onCanceled = cancel => {
3628
+ if (!request) {
3629
+ return;
3630
+ }
3631
+ reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);
3632
+ request.abort();
3633
+ request = null;
3634
+ };
3635
+
3636
+ _config.cancelToken && _config.cancelToken.subscribe(onCanceled);
3637
+ if (_config.signal) {
3638
+ _config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled);
3639
+ }
3640
+ }
3641
+
3642
+ const protocol = parseProtocol(_config.url);
3643
+
3644
+ if (protocol && platform.protocols.indexOf(protocol) === -1) {
3645
+ reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config));
3646
+ return;
3647
+ }
3648
+
3649
+
3650
+ // Send the request
3651
+ request.send(requestData || null);
3652
+ });
3653
+ };
3654
+
3655
+ const composeSignals = (signals, timeout) => {
3656
+ const {length} = (signals = signals ? signals.filter(Boolean) : []);
3657
+
3658
+ if (timeout || length) {
3659
+ let controller = new AbortController();
3660
+
3661
+ let aborted;
3662
+
3663
+ const onabort = function (reason) {
3664
+ if (!aborted) {
3665
+ aborted = true;
3666
+ unsubscribe();
3667
+ const err = reason instanceof Error ? reason : this.reason;
3668
+ controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
3669
+ }
3670
+ };
3671
+
3672
+ let timer = timeout && setTimeout(() => {
3673
+ timer = null;
3674
+ onabort(new AxiosError(`timeout ${timeout} of ms exceeded`, AxiosError.ETIMEDOUT));
3675
+ }, timeout);
3676
+
3677
+ const unsubscribe = () => {
3678
+ if (signals) {
3679
+ timer && clearTimeout(timer);
3680
+ timer = null;
3681
+ signals.forEach(signal => {
3682
+ signal.unsubscribe ? signal.unsubscribe(onabort) : signal.removeEventListener('abort', onabort);
3683
+ });
3684
+ signals = null;
3685
+ }
3686
+ };
3687
+
3688
+ signals.forEach((signal) => signal.addEventListener('abort', onabort));
3689
+
3690
+ const {signal} = controller;
3691
+
3692
+ signal.unsubscribe = () => utils$1.asap(unsubscribe);
3693
+
3694
+ return signal;
3695
+ }
3696
+ };
3697
+
3698
+ const composeSignals$1 = composeSignals;
3699
+
3700
+ const streamChunk = function* (chunk, chunkSize) {
3701
+ let len = chunk.byteLength;
3702
+
3703
+ if (!chunkSize || len < chunkSize) {
3704
+ yield chunk;
3705
+ return;
3706
+ }
3707
+
3708
+ let pos = 0;
3709
+ let end;
3710
+
3711
+ while (pos < len) {
3712
+ end = pos + chunkSize;
3713
+ yield chunk.slice(pos, end);
3714
+ pos = end;
3715
+ }
3716
+ };
3717
+
3718
+ const readBytes = async function* (iterable, chunkSize) {
3719
+ for await (const chunk of readStream(iterable)) {
3720
+ yield* streamChunk(chunk, chunkSize);
3721
+ }
3722
+ };
3723
+
3724
+ const readStream = async function* (stream) {
3725
+ if (stream[Symbol.asyncIterator]) {
3726
+ yield* stream;
3727
+ return;
3728
+ }
3729
+
3730
+ const reader = stream.getReader();
3731
+ try {
3732
+ for (;;) {
3733
+ const {done, value} = await reader.read();
3734
+ if (done) {
3735
+ break;
3736
+ }
3737
+ yield value;
3738
+ }
3739
+ } finally {
3740
+ await reader.cancel();
3741
+ }
3742
+ };
3743
+
3744
+ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
3745
+ const iterator = readBytes(stream, chunkSize);
3746
+
3747
+ let bytes = 0;
3748
+ let done;
3749
+ let _onFinish = (e) => {
3750
+ if (!done) {
3751
+ done = true;
3752
+ onFinish && onFinish(e);
3753
+ }
3754
+ };
3755
+
3756
+ return new ReadableStream({
3757
+ async pull(controller) {
3758
+ try {
3759
+ const {done, value} = await iterator.next();
3760
+
3761
+ if (done) {
3762
+ _onFinish();
3763
+ controller.close();
3764
+ return;
3765
+ }
3766
+
3767
+ let len = value.byteLength;
3768
+ if (onProgress) {
3769
+ let loadedBytes = bytes += len;
3770
+ onProgress(loadedBytes);
3771
+ }
3772
+ controller.enqueue(new Uint8Array(value));
3773
+ } catch (err) {
3774
+ _onFinish(err);
3775
+ throw err;
3776
+ }
3777
+ },
3778
+ cancel(reason) {
3779
+ _onFinish(reason);
3780
+ return iterator.return();
3781
+ }
3782
+ }, {
3783
+ highWaterMark: 2
3784
+ })
3785
+ };
3786
+
3787
+ const isFetchSupported = typeof fetch === 'function' && typeof Request === 'function' && typeof Response === 'function';
3788
+ const isReadableStreamSupported = isFetchSupported && typeof ReadableStream === 'function';
3789
+
3790
+ // used only inside the fetch adapter
3791
+ const encodeText = isFetchSupported && (typeof TextEncoder === 'function' ?
3792
+ ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) :
3793
+ async (str) => new Uint8Array(await new Response(str).arrayBuffer())
3794
+ );
3795
+
3796
+ const test = (fn, ...args) => {
3797
+ try {
3798
+ return !!fn(...args);
3799
+ } catch (e) {
3800
+ return false
3801
+ }
3802
+ };
3803
+
3804
+ const supportsRequestStream = isReadableStreamSupported && test(() => {
3805
+ let duplexAccessed = false;
3806
+
3807
+ const hasContentType = new Request(platform.origin, {
3808
+ body: new ReadableStream(),
3809
+ method: 'POST',
3810
+ get duplex() {
3811
+ duplexAccessed = true;
3812
+ return 'half';
3813
+ },
3814
+ }).headers.has('Content-Type');
3815
+
3816
+ return duplexAccessed && !hasContentType;
3817
+ });
3818
+
3819
+ const DEFAULT_CHUNK_SIZE = 64 * 1024;
3820
+
3821
+ const supportsResponseStream = isReadableStreamSupported &&
3822
+ test(() => utils$1.isReadableStream(new Response('').body));
3823
+
3824
+
3825
+ const resolvers = {
3826
+ stream: supportsResponseStream && ((res) => res.body)
3827
+ };
3828
+
3829
+ isFetchSupported && (((res) => {
3830
+ ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach(type => {
3831
+ !resolvers[type] && (resolvers[type] = utils$1.isFunction(res[type]) ? (res) => res[type]() :
3832
+ (_, config) => {
3833
+ throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
3834
+ });
3835
+ });
3836
+ })(new Response));
3837
+
3838
+ const getBodyLength = async (body) => {
3839
+ if (body == null) {
3840
+ return 0;
3841
+ }
3842
+
3843
+ if(utils$1.isBlob(body)) {
3844
+ return body.size;
3845
+ }
3846
+
3847
+ if(utils$1.isSpecCompliantForm(body)) {
3848
+ const _request = new Request(platform.origin, {
3849
+ method: 'POST',
3850
+ body,
3851
+ });
3852
+ return (await _request.arrayBuffer()).byteLength;
3853
+ }
3854
+
3855
+ if(utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body)) {
3856
+ return body.byteLength;
3857
+ }
3858
+
3859
+ if(utils$1.isURLSearchParams(body)) {
3860
+ body = body + '';
3861
+ }
3862
+
3863
+ if(utils$1.isString(body)) {
3864
+ return (await encodeText(body)).byteLength;
3865
+ }
3866
+ };
3867
+
3868
+ const resolveBodyLength = async (headers, body) => {
3869
+ const length = utils$1.toFiniteNumber(headers.getContentLength());
3870
+
3871
+ return length == null ? getBodyLength(body) : length;
3872
+ };
3873
+
3874
+ const fetchAdapter = isFetchSupported && (async (config) => {
3875
+ let {
3876
+ url,
3877
+ method,
3878
+ data,
3879
+ signal,
3880
+ cancelToken,
3881
+ timeout,
3882
+ onDownloadProgress,
3883
+ onUploadProgress,
3884
+ responseType,
3885
+ headers,
3886
+ withCredentials = 'same-origin',
3887
+ fetchOptions
3888
+ } = resolveConfig(config);
3889
+
3890
+ responseType = responseType ? (responseType + '').toLowerCase() : 'text';
3891
+
3892
+ let composedSignal = composeSignals$1([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
3893
+
3894
+ let request;
3895
+
3896
+ const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
3897
+ composedSignal.unsubscribe();
3898
+ });
3899
+
3900
+ let requestContentLength;
3901
+
3902
+ try {
3903
+ if (
3904
+ onUploadProgress && supportsRequestStream && method !== 'get' && method !== 'head' &&
3905
+ (requestContentLength = await resolveBodyLength(headers, data)) !== 0
3906
+ ) {
3907
+ let _request = new Request(url, {
3908
+ method: 'POST',
3909
+ body: data,
3910
+ duplex: "half"
3911
+ });
3912
+
3913
+ let contentTypeHeader;
3914
+
3915
+ if (utils$1.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {
3916
+ headers.setContentType(contentTypeHeader);
3917
+ }
3918
+
3919
+ if (_request.body) {
3920
+ const [onProgress, flush] = progressEventDecorator(
3921
+ requestContentLength,
3922
+ progressEventReducer(asyncDecorator(onUploadProgress))
3923
+ );
3924
+
3925
+ data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
3926
+ }
3927
+ }
3928
+
3929
+ if (!utils$1.isString(withCredentials)) {
3930
+ withCredentials = withCredentials ? 'include' : 'omit';
3931
+ }
3932
+
3933
+ // Cloudflare Workers throws when credentials are defined
3934
+ // see https://github.com/cloudflare/workerd/issues/902
3935
+ const isCredentialsSupported = "credentials" in Request.prototype;
3936
+ request = new Request(url, {
3937
+ ...fetchOptions,
3938
+ signal: composedSignal,
3939
+ method: method.toUpperCase(),
3940
+ headers: headers.normalize().toJSON(),
3941
+ body: data,
3942
+ duplex: "half",
3943
+ credentials: isCredentialsSupported ? withCredentials : undefined
3944
+ });
3945
+
3946
+ let response = await fetch(request, fetchOptions);
3947
+
3948
+ const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
3949
+
3950
+ if (supportsResponseStream && (onDownloadProgress || (isStreamResponse && unsubscribe))) {
3951
+ const options = {};
3952
+
3953
+ ['status', 'statusText', 'headers'].forEach(prop => {
3954
+ options[prop] = response[prop];
3955
+ });
3956
+
3957
+ const responseContentLength = utils$1.toFiniteNumber(response.headers.get('content-length'));
3958
+
3959
+ const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
3960
+ responseContentLength,
3961
+ progressEventReducer(asyncDecorator(onDownloadProgress), true)
3962
+ ) || [];
3963
+
3964
+ response = new Response(
3965
+ trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
3966
+ flush && flush();
3967
+ unsubscribe && unsubscribe();
3968
+ }),
3969
+ options
3970
+ );
3971
+ }
3972
+
3973
+ responseType = responseType || 'text';
3974
+
3975
+ let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || 'text'](response, config);
3976
+
3977
+ !isStreamResponse && unsubscribe && unsubscribe();
3978
+
3979
+ return await new Promise((resolve, reject) => {
3980
+ settle(resolve, reject, {
3981
+ data: responseData,
3982
+ headers: AxiosHeaders$1.from(response.headers),
3983
+ status: response.status,
3984
+ statusText: response.statusText,
3985
+ config,
3986
+ request
3987
+ });
3988
+ })
3989
+ } catch (err) {
3990
+ unsubscribe && unsubscribe();
3991
+
3992
+ if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {
3993
+ throw Object.assign(
3994
+ new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request),
3995
+ {
3996
+ cause: err.cause || err
3997
+ }
3998
+ )
3999
+ }
4000
+
4001
+ throw AxiosError.from(err, err && err.code, config, request);
4002
+ }
4003
+ });
4004
+
4005
+ const knownAdapters = {
4006
+ http: httpAdapter,
4007
+ xhr: xhrAdapter,
4008
+ fetch: fetchAdapter
4009
+ };
4010
+
4011
+ utils$1.forEach(knownAdapters, (fn, value) => {
4012
+ if (fn) {
4013
+ try {
4014
+ Object.defineProperty(fn, 'name', {value});
4015
+ } catch (e) {
4016
+ // eslint-disable-next-line no-empty
4017
+ }
4018
+ Object.defineProperty(fn, 'adapterName', {value});
4019
+ }
4020
+ });
4021
+
4022
+ const renderReason = (reason) => `- ${reason}`;
4023
+
4024
+ const isResolvedHandle = (adapter) => utils$1.isFunction(adapter) || adapter === null || adapter === false;
4025
+
4026
+ const adapters = {
4027
+ getAdapter: (adapters) => {
4028
+ adapters = utils$1.isArray(adapters) ? adapters : [adapters];
4029
+
4030
+ const {length} = adapters;
4031
+ let nameOrAdapter;
4032
+ let adapter;
4033
+
4034
+ const rejectedReasons = {};
4035
+
4036
+ for (let i = 0; i < length; i++) {
4037
+ nameOrAdapter = adapters[i];
4038
+ let id;
4039
+
4040
+ adapter = nameOrAdapter;
4041
+
4042
+ if (!isResolvedHandle(nameOrAdapter)) {
4043
+ adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
4044
+
4045
+ if (adapter === undefined) {
4046
+ throw new AxiosError(`Unknown adapter '${id}'`);
4047
+ }
4048
+ }
4049
+
4050
+ if (adapter) {
4051
+ break;
4052
+ }
4053
+
4054
+ rejectedReasons[id || '#' + i] = adapter;
4055
+ }
4056
+
4057
+ if (!adapter) {
4058
+
4059
+ const reasons = Object.entries(rejectedReasons)
4060
+ .map(([id, state]) => `adapter ${id} ` +
4061
+ (state === false ? 'is not supported by the environment' : 'is not available in the build')
4062
+ );
4063
+
4064
+ let s = length ?
4065
+ (reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0])) :
4066
+ 'as no adapter specified';
4067
+
4068
+ throw new AxiosError(
4069
+ `There is no suitable adapter to dispatch the request ` + s,
4070
+ 'ERR_NOT_SUPPORT'
4071
+ );
4072
+ }
4073
+
4074
+ return adapter;
4075
+ },
4076
+ adapters: knownAdapters
4077
+ };
4078
+
4079
+ /**
4080
+ * Throws a `CanceledError` if cancellation has been requested.
4081
+ *
4082
+ * @param {Object} config The config that is to be used for the request
4083
+ *
4084
+ * @returns {void}
4085
+ */
4086
+ function throwIfCancellationRequested(config) {
4087
+ if (config.cancelToken) {
4088
+ config.cancelToken.throwIfRequested();
4089
+ }
4090
+
4091
+ if (config.signal && config.signal.aborted) {
4092
+ throw new CanceledError(null, config);
4093
+ }
4094
+ }
4095
+
4096
+ /**
4097
+ * Dispatch a request to the server using the configured adapter.
4098
+ *
4099
+ * @param {object} config The config that is to be used for the request
4100
+ *
4101
+ * @returns {Promise} The Promise to be fulfilled
4102
+ */
4103
+ function dispatchRequest(config) {
4104
+ throwIfCancellationRequested(config);
4105
+
4106
+ config.headers = AxiosHeaders$1.from(config.headers);
4107
+
4108
+ // Transform request data
4109
+ config.data = transformData.call(
4110
+ config,
4111
+ config.transformRequest
4112
+ );
4113
+
4114
+ if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {
4115
+ config.headers.setContentType('application/x-www-form-urlencoded', false);
4116
+ }
4117
+
4118
+ const adapter = adapters.getAdapter(config.adapter || defaults$1.adapter);
4119
+
4120
+ return adapter(config).then(function onAdapterResolution(response) {
4121
+ throwIfCancellationRequested(config);
4122
+
4123
+ // Transform response data
4124
+ response.data = transformData.call(
4125
+ config,
4126
+ config.transformResponse,
4127
+ response
4128
+ );
4129
+
4130
+ response.headers = AxiosHeaders$1.from(response.headers);
4131
+
4132
+ return response;
4133
+ }, function onAdapterRejection(reason) {
4134
+ if (!isCancel(reason)) {
4135
+ throwIfCancellationRequested(config);
4136
+
4137
+ // Transform response data
4138
+ if (reason && reason.response) {
4139
+ reason.response.data = transformData.call(
4140
+ config,
4141
+ config.transformResponse,
4142
+ reason.response
4143
+ );
4144
+ reason.response.headers = AxiosHeaders$1.from(reason.response.headers);
4145
+ }
4146
+ }
4147
+
4148
+ return Promise.reject(reason);
4149
+ });
4150
+ }
4151
+
4152
+ const validators$1 = {};
4153
+
4154
+ // eslint-disable-next-line func-names
4155
+ ['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => {
4156
+ validators$1[type] = function validator(thing) {
4157
+ return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;
4158
+ };
4159
+ });
4160
+
4161
+ const deprecatedWarnings = {};
4162
+
4163
+ /**
4164
+ * Transitional option validator
4165
+ *
4166
+ * @param {function|boolean?} validator - set to false if the transitional option has been removed
4167
+ * @param {string?} version - deprecated version / removed since version
4168
+ * @param {string?} message - some message with additional info
4169
+ *
4170
+ * @returns {function}
4171
+ */
4172
+ validators$1.transitional = function transitional(validator, version, message) {
4173
+ function formatMessage(opt, desc) {
4174
+ return '[Axios v' + VERSION + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
4175
+ }
4176
+
4177
+ // eslint-disable-next-line func-names
4178
+ return (value, opt, opts) => {
4179
+ if (validator === false) {
4180
+ throw new AxiosError(
4181
+ formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),
4182
+ AxiosError.ERR_DEPRECATED
4183
+ );
4184
+ }
4185
+
4186
+ if (version && !deprecatedWarnings[opt]) {
4187
+ deprecatedWarnings[opt] = true;
4188
+ // eslint-disable-next-line no-console
4189
+ console.warn(
4190
+ formatMessage(
4191
+ opt,
4192
+ ' has been deprecated since v' + version + ' and will be removed in the near future'
4193
+ )
4194
+ );
4195
+ }
4196
+
4197
+ return validator ? validator(value, opt, opts) : true;
4198
+ };
4199
+ };
4200
+
4201
+ validators$1.spelling = function spelling(correctSpelling) {
4202
+ return (value, opt) => {
4203
+ // eslint-disable-next-line no-console
4204
+ console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);
4205
+ return true;
4206
+ }
4207
+ };
4208
+
4209
+ /**
4210
+ * Assert object's properties type
4211
+ *
4212
+ * @param {object} options
4213
+ * @param {object} schema
4214
+ * @param {boolean?} allowUnknown
4215
+ *
4216
+ * @returns {object}
4217
+ */
4218
+
4219
+ function assertOptions(options, schema, allowUnknown) {
4220
+ if (typeof options !== 'object') {
4221
+ throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);
4222
+ }
4223
+ const keys = Object.keys(options);
4224
+ let i = keys.length;
4225
+ while (i-- > 0) {
4226
+ const opt = keys[i];
4227
+ const validator = schema[opt];
4228
+ if (validator) {
4229
+ const value = options[opt];
4230
+ const result = value === undefined || validator(value, opt, options);
4231
+ if (result !== true) {
4232
+ throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE);
4233
+ }
4234
+ continue;
4235
+ }
4236
+ if (allowUnknown !== true) {
4237
+ throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);
4238
+ }
4239
+ }
4240
+ }
4241
+
4242
+ const validator = {
4243
+ assertOptions,
4244
+ validators: validators$1
4245
+ };
4246
+
4247
+ const validators = validator.validators;
4248
+
4249
+ /**
4250
+ * Create a new instance of Axios
4251
+ *
4252
+ * @param {Object} instanceConfig The default config for the instance
4253
+ *
4254
+ * @return {Axios} A new instance of Axios
4255
+ */
4256
+ class Axios {
4257
+ constructor(instanceConfig) {
4258
+ this.defaults = instanceConfig || {};
4259
+ this.interceptors = {
4260
+ request: new InterceptorManager$1(),
4261
+ response: new InterceptorManager$1()
4262
+ };
4263
+ }
4264
+
4265
+ /**
4266
+ * Dispatch a request
4267
+ *
4268
+ * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
4269
+ * @param {?Object} config
4270
+ *
4271
+ * @returns {Promise} The Promise to be fulfilled
4272
+ */
4273
+ async request(configOrUrl, config) {
4274
+ try {
4275
+ return await this._request(configOrUrl, config);
4276
+ } catch (err) {
4277
+ if (err instanceof Error) {
4278
+ let dummy = {};
4279
+
4280
+ Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error());
4281
+
4282
+ // slice off the Error: ... line
4283
+ const stack = dummy.stack ? dummy.stack.replace(/^.+\n/, '') : '';
4284
+ try {
4285
+ if (!err.stack) {
4286
+ err.stack = stack;
4287
+ // match without the 2 top stack lines
4288
+ } else if (stack && !String(err.stack).endsWith(stack.replace(/^.+\n.+\n/, ''))) {
4289
+ err.stack += '\n' + stack;
4290
+ }
4291
+ } catch (e) {
4292
+ // ignore the case where "stack" is an un-writable property
4293
+ }
4294
+ }
4295
+
4296
+ throw err;
4297
+ }
4298
+ }
4299
+
4300
+ _request(configOrUrl, config) {
4301
+ /*eslint no-param-reassign:0*/
4302
+ // Allow for axios('example/url'[, config]) a la fetch API
4303
+ if (typeof configOrUrl === 'string') {
4304
+ config = config || {};
4305
+ config.url = configOrUrl;
4306
+ } else {
4307
+ config = configOrUrl || {};
4308
+ }
4309
+
4310
+ config = mergeConfig(this.defaults, config);
4311
+
4312
+ const {transitional, paramsSerializer, headers} = config;
4313
+
4314
+ if (transitional !== undefined) {
4315
+ validator.assertOptions(transitional, {
4316
+ silentJSONParsing: validators.transitional(validators.boolean),
4317
+ forcedJSONParsing: validators.transitional(validators.boolean),
4318
+ clarifyTimeoutError: validators.transitional(validators.boolean)
4319
+ }, false);
4320
+ }
4321
+
4322
+ if (paramsSerializer != null) {
4323
+ if (utils$1.isFunction(paramsSerializer)) {
4324
+ config.paramsSerializer = {
4325
+ serialize: paramsSerializer
4326
+ };
4327
+ } else {
4328
+ validator.assertOptions(paramsSerializer, {
4329
+ encode: validators.function,
4330
+ serialize: validators.function
4331
+ }, true);
4332
+ }
4333
+ }
4334
+
4335
+ // Set config.allowAbsoluteUrls
4336
+ if (config.allowAbsoluteUrls !== undefined) ; else if (this.defaults.allowAbsoluteUrls !== undefined) {
4337
+ config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;
4338
+ } else {
4339
+ config.allowAbsoluteUrls = true;
4340
+ }
4341
+
4342
+ validator.assertOptions(config, {
4343
+ baseUrl: validators.spelling('baseURL'),
4344
+ withXsrfToken: validators.spelling('withXSRFToken')
4345
+ }, true);
4346
+
4347
+ // Set config.method
4348
+ config.method = (config.method || this.defaults.method || 'get').toLowerCase();
4349
+
4350
+ // Flatten headers
4351
+ let contextHeaders = headers && utils$1.merge(
4352
+ headers.common,
4353
+ headers[config.method]
4354
+ );
4355
+
4356
+ headers && utils$1.forEach(
4357
+ ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
4358
+ (method) => {
4359
+ delete headers[method];
4360
+ }
4361
+ );
4362
+
4363
+ config.headers = AxiosHeaders$1.concat(contextHeaders, headers);
4364
+
4365
+ // filter out skipped interceptors
4366
+ const requestInterceptorChain = [];
4367
+ let synchronousRequestInterceptors = true;
4368
+ this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
4369
+ if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {
4370
+ return;
4371
+ }
4372
+
4373
+ synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
4374
+
4375
+ requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
4376
+ });
4377
+
4378
+ const responseInterceptorChain = [];
4379
+ this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
4380
+ responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
4381
+ });
4382
+
4383
+ let promise;
4384
+ let i = 0;
4385
+ let len;
4386
+
4387
+ if (!synchronousRequestInterceptors) {
4388
+ const chain = [dispatchRequest.bind(this), undefined];
4389
+ chain.unshift.apply(chain, requestInterceptorChain);
4390
+ chain.push.apply(chain, responseInterceptorChain);
4391
+ len = chain.length;
4392
+
4393
+ promise = Promise.resolve(config);
4394
+
4395
+ while (i < len) {
4396
+ promise = promise.then(chain[i++], chain[i++]);
4397
+ }
4398
+
4399
+ return promise;
4400
+ }
4401
+
4402
+ len = requestInterceptorChain.length;
4403
+
4404
+ let newConfig = config;
4405
+
4406
+ i = 0;
4407
+
4408
+ while (i < len) {
4409
+ const onFulfilled = requestInterceptorChain[i++];
4410
+ const onRejected = requestInterceptorChain[i++];
4411
+ try {
4412
+ newConfig = onFulfilled(newConfig);
4413
+ } catch (error) {
4414
+ onRejected.call(this, error);
4415
+ break;
4416
+ }
4417
+ }
4418
+
4419
+ try {
4420
+ promise = dispatchRequest.call(this, newConfig);
4421
+ } catch (error) {
4422
+ return Promise.reject(error);
4423
+ }
4424
+
4425
+ i = 0;
4426
+ len = responseInterceptorChain.length;
4427
+
4428
+ while (i < len) {
4429
+ promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]);
4430
+ }
4431
+
4432
+ return promise;
4433
+ }
4434
+
4435
+ getUri(config) {
4436
+ config = mergeConfig(this.defaults, config);
4437
+ const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
4438
+ return buildURL(fullPath, config.params, config.paramsSerializer);
4439
+ }
4440
+ }
4441
+
4442
+ // Provide aliases for supported request methods
4443
+ utils$1.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
4444
+ /*eslint func-names:0*/
4445
+ Axios.prototype[method] = function(url, config) {
4446
+ return this.request(mergeConfig(config || {}, {
4447
+ method,
4448
+ url,
4449
+ data: (config || {}).data
4450
+ }));
4451
+ };
4452
+ });
4453
+
4454
+ utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
4455
+ /*eslint func-names:0*/
4456
+
4457
+ function generateHTTPMethod(isForm) {
4458
+ return function httpMethod(url, data, config) {
4459
+ return this.request(mergeConfig(config || {}, {
4460
+ method,
4461
+ headers: isForm ? {
4462
+ 'Content-Type': 'multipart/form-data'
4463
+ } : {},
4464
+ url,
4465
+ data
4466
+ }));
4467
+ };
4468
+ }
4469
+
4470
+ Axios.prototype[method] = generateHTTPMethod();
4471
+
4472
+ Axios.prototype[method + 'Form'] = generateHTTPMethod(true);
4473
+ });
4474
+
4475
+ const Axios$1 = Axios;
4476
+
4477
+ /**
4478
+ * A `CancelToken` is an object that can be used to request cancellation of an operation.
4479
+ *
4480
+ * @param {Function} executor The executor function.
4481
+ *
4482
+ * @returns {CancelToken}
4483
+ */
4484
+ class CancelToken {
4485
+ constructor(executor) {
4486
+ if (typeof executor !== 'function') {
4487
+ throw new TypeError('executor must be a function.');
4488
+ }
4489
+
4490
+ let resolvePromise;
4491
+
4492
+ this.promise = new Promise(function promiseExecutor(resolve) {
4493
+ resolvePromise = resolve;
4494
+ });
4495
+
4496
+ const token = this;
4497
+
4498
+ // eslint-disable-next-line func-names
4499
+ this.promise.then(cancel => {
4500
+ if (!token._listeners) return;
4501
+
4502
+ let i = token._listeners.length;
4503
+
4504
+ while (i-- > 0) {
4505
+ token._listeners[i](cancel);
4506
+ }
4507
+ token._listeners = null;
4508
+ });
4509
+
4510
+ // eslint-disable-next-line func-names
4511
+ this.promise.then = onfulfilled => {
4512
+ let _resolve;
4513
+ // eslint-disable-next-line func-names
4514
+ const promise = new Promise(resolve => {
4515
+ token.subscribe(resolve);
4516
+ _resolve = resolve;
4517
+ }).then(onfulfilled);
4518
+
4519
+ promise.cancel = function reject() {
4520
+ token.unsubscribe(_resolve);
4521
+ };
4522
+
4523
+ return promise;
4524
+ };
4525
+
4526
+ executor(function cancel(message, config, request) {
4527
+ if (token.reason) {
4528
+ // Cancellation has already been requested
4529
+ return;
4530
+ }
4531
+
4532
+ token.reason = new CanceledError(message, config, request);
4533
+ resolvePromise(token.reason);
4534
+ });
4535
+ }
4536
+
4537
+ /**
4538
+ * Throws a `CanceledError` if cancellation has been requested.
4539
+ */
4540
+ throwIfRequested() {
4541
+ if (this.reason) {
4542
+ throw this.reason;
4543
+ }
4544
+ }
4545
+
4546
+ /**
4547
+ * Subscribe to the cancel signal
4548
+ */
4549
+
4550
+ subscribe(listener) {
4551
+ if (this.reason) {
4552
+ listener(this.reason);
4553
+ return;
4554
+ }
4555
+
4556
+ if (this._listeners) {
4557
+ this._listeners.push(listener);
4558
+ } else {
4559
+ this._listeners = [listener];
4560
+ }
4561
+ }
4562
+
4563
+ /**
4564
+ * Unsubscribe from the cancel signal
4565
+ */
4566
+
4567
+ unsubscribe(listener) {
4568
+ if (!this._listeners) {
4569
+ return;
4570
+ }
4571
+ const index = this._listeners.indexOf(listener);
4572
+ if (index !== -1) {
4573
+ this._listeners.splice(index, 1);
4574
+ }
4575
+ }
4576
+
4577
+ toAbortSignal() {
4578
+ const controller = new AbortController();
4579
+
4580
+ const abort = (err) => {
4581
+ controller.abort(err);
4582
+ };
4583
+
4584
+ this.subscribe(abort);
4585
+
4586
+ controller.signal.unsubscribe = () => this.unsubscribe(abort);
4587
+
4588
+ return controller.signal;
4589
+ }
4590
+
4591
+ /**
4592
+ * Returns an object that contains a new `CancelToken` and a function that, when called,
4593
+ * cancels the `CancelToken`.
4594
+ */
4595
+ static source() {
4596
+ let cancel;
4597
+ const token = new CancelToken(function executor(c) {
4598
+ cancel = c;
4599
+ });
4600
+ return {
4601
+ token,
4602
+ cancel
4603
+ };
4604
+ }
4605
+ }
4606
+
4607
+ const CancelToken$1 = CancelToken;
4608
+
4609
+ /**
4610
+ * Syntactic sugar for invoking a function and expanding an array for arguments.
4611
+ *
4612
+ * Common use case would be to use `Function.prototype.apply`.
4613
+ *
4614
+ * ```js
4615
+ * function f(x, y, z) {}
4616
+ * var args = [1, 2, 3];
4617
+ * f.apply(null, args);
4618
+ * ```
4619
+ *
4620
+ * With `spread` this example can be re-written.
4621
+ *
4622
+ * ```js
4623
+ * spread(function(x, y, z) {})([1, 2, 3]);
4624
+ * ```
4625
+ *
4626
+ * @param {Function} callback
4627
+ *
4628
+ * @returns {Function}
4629
+ */
4630
+ function spread(callback) {
4631
+ return function wrap(arr) {
4632
+ return callback.apply(null, arr);
4633
+ };
4634
+ }
4635
+
4636
+ /**
4637
+ * Determines whether the payload is an error thrown by Axios
4638
+ *
4639
+ * @param {*} payload The value to test
4640
+ *
4641
+ * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
4642
+ */
4643
+ function isAxiosError(payload) {
4644
+ return utils$1.isObject(payload) && (payload.isAxiosError === true);
4645
+ }
4646
+
4647
+ const HttpStatusCode = {
4648
+ Continue: 100,
4649
+ SwitchingProtocols: 101,
4650
+ Processing: 102,
4651
+ EarlyHints: 103,
4652
+ Ok: 200,
4653
+ Created: 201,
4654
+ Accepted: 202,
4655
+ NonAuthoritativeInformation: 203,
4656
+ NoContent: 204,
4657
+ ResetContent: 205,
4658
+ PartialContent: 206,
4659
+ MultiStatus: 207,
4660
+ AlreadyReported: 208,
4661
+ ImUsed: 226,
4662
+ MultipleChoices: 300,
4663
+ MovedPermanently: 301,
4664
+ Found: 302,
4665
+ SeeOther: 303,
4666
+ NotModified: 304,
4667
+ UseProxy: 305,
4668
+ Unused: 306,
4669
+ TemporaryRedirect: 307,
4670
+ PermanentRedirect: 308,
4671
+ BadRequest: 400,
4672
+ Unauthorized: 401,
4673
+ PaymentRequired: 402,
4674
+ Forbidden: 403,
4675
+ NotFound: 404,
4676
+ MethodNotAllowed: 405,
4677
+ NotAcceptable: 406,
4678
+ ProxyAuthenticationRequired: 407,
4679
+ RequestTimeout: 408,
4680
+ Conflict: 409,
4681
+ Gone: 410,
4682
+ LengthRequired: 411,
4683
+ PreconditionFailed: 412,
4684
+ PayloadTooLarge: 413,
4685
+ UriTooLong: 414,
4686
+ UnsupportedMediaType: 415,
4687
+ RangeNotSatisfiable: 416,
4688
+ ExpectationFailed: 417,
4689
+ ImATeapot: 418,
4690
+ MisdirectedRequest: 421,
4691
+ UnprocessableEntity: 422,
4692
+ Locked: 423,
4693
+ FailedDependency: 424,
4694
+ TooEarly: 425,
4695
+ UpgradeRequired: 426,
4696
+ PreconditionRequired: 428,
4697
+ TooManyRequests: 429,
4698
+ RequestHeaderFieldsTooLarge: 431,
4699
+ UnavailableForLegalReasons: 451,
4700
+ InternalServerError: 500,
4701
+ NotImplemented: 501,
4702
+ BadGateway: 502,
4703
+ ServiceUnavailable: 503,
4704
+ GatewayTimeout: 504,
4705
+ HttpVersionNotSupported: 505,
4706
+ VariantAlsoNegotiates: 506,
4707
+ InsufficientStorage: 507,
4708
+ LoopDetected: 508,
4709
+ NotExtended: 510,
4710
+ NetworkAuthenticationRequired: 511,
4711
+ };
4712
+
4713
+ Object.entries(HttpStatusCode).forEach(([key, value]) => {
4714
+ HttpStatusCode[value] = key;
4715
+ });
4716
+
4717
+ const HttpStatusCode$1 = HttpStatusCode;
4718
+
4719
+ /**
4720
+ * Create an instance of Axios
4721
+ *
4722
+ * @param {Object} defaultConfig The default config for the instance
4723
+ *
4724
+ * @returns {Axios} A new instance of Axios
4725
+ */
4726
+ function createInstance(defaultConfig) {
4727
+ const context = new Axios$1(defaultConfig);
4728
+ const instance = bind(Axios$1.prototype.request, context);
4729
+
4730
+ // Copy axios.prototype to instance
4731
+ utils$1.extend(instance, Axios$1.prototype, context, {allOwnKeys: true});
4732
+
4733
+ // Copy context to instance
4734
+ utils$1.extend(instance, context, null, {allOwnKeys: true});
4735
+
4736
+ // Factory for creating new instances
4737
+ instance.create = function create(instanceConfig) {
4738
+ return createInstance(mergeConfig(defaultConfig, instanceConfig));
4739
+ };
4740
+
4741
+ return instance;
4742
+ }
4743
+
4744
+ // Create the default instance to be exported
4745
+ const axios = createInstance(defaults$1);
4746
+
4747
+ // Expose Axios class to allow class inheritance
4748
+ axios.Axios = Axios$1;
4749
+
4750
+ // Expose Cancel & CancelToken
4751
+ axios.CanceledError = CanceledError;
4752
+ axios.CancelToken = CancelToken$1;
4753
+ axios.isCancel = isCancel;
4754
+ axios.VERSION = VERSION;
4755
+ axios.toFormData = toFormData;
4756
+
4757
+ // Expose AxiosError class
4758
+ axios.AxiosError = AxiosError;
4759
+
4760
+ // alias for CanceledError for backward compatibility
4761
+ axios.Cancel = axios.CanceledError;
4762
+
4763
+ // Expose all/spread
4764
+ axios.all = function all(promises) {
4765
+ return Promise.all(promises);
4766
+ };
4767
+
4768
+ axios.spread = spread;
4769
+
4770
+ // Expose isAxiosError
4771
+ axios.isAxiosError = isAxiosError;
4772
+
4773
+ // Expose mergeConfig
4774
+ axios.mergeConfig = mergeConfig;
4775
+
4776
+ axios.AxiosHeaders = AxiosHeaders$1;
4777
+
4778
+ axios.formToJSON = thing => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing);
4779
+
4780
+ axios.getAdapter = adapters.getAdapter;
4781
+
4782
+ axios.HttpStatusCode = HttpStatusCode$1;
4783
+
4784
+ axios.default = axios;
4785
+
4786
+ module.exports = axios;
4787
+ //# sourceMappingURL=axios.cjs.map