@dbmx/confy 0.0.77 → 0.0.80

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 (413) hide show
  1. package/esm/_virtual/browser.js +4 -0
  2. package/esm/_virtual/browser.js.map +1 -0
  3. package/esm/_virtual/index15.js +4 -0
  4. package/esm/_virtual/index15.js.map +1 -0
  5. package/esm/_virtual/index16.js +4 -0
  6. package/esm/_virtual/index16.js.map +1 -0
  7. package/esm/_virtual/index17.js +4 -0
  8. package/esm/_virtual/index17.js.map +1 -0
  9. package/esm/_virtual/index18.js +4 -0
  10. package/esm/_virtual/index18.js.map +1 -0
  11. package/esm/_virtual/node.js +4 -0
  12. package/esm/_virtual/node.js.map +1 -0
  13. package/esm/_virtual/serialOrdered.js +4 -0
  14. package/esm/_virtual/serialOrdered.js.map +1 -0
  15. package/esm/components/SelectMemberMenu/index.js +1 -1
  16. package/esm/ducks/utils.js +1 -1
  17. package/esm/forms/utils.js +2 -2
  18. package/esm/hooks/roles.js +1 -1
  19. package/esm/node_modules/asynckit/index.js +13 -0
  20. package/esm/node_modules/asynckit/index.js.map +1 -0
  21. package/esm/node_modules/asynckit/lib/abort.js +32 -0
  22. package/esm/node_modules/asynckit/lib/abort.js.map +1 -0
  23. package/esm/node_modules/asynckit/lib/async.js +39 -0
  24. package/esm/node_modules/asynckit/lib/async.js.map +1 -0
  25. package/esm/node_modules/asynckit/lib/defer.js +29 -0
  26. package/esm/node_modules/asynckit/lib/defer.js.map +1 -0
  27. package/esm/node_modules/asynckit/lib/iterate.js +81 -0
  28. package/esm/node_modules/asynckit/lib/iterate.js.map +1 -0
  29. package/esm/node_modules/asynckit/lib/state.js +40 -0
  30. package/esm/node_modules/asynckit/lib/state.js.map +1 -0
  31. package/esm/node_modules/asynckit/lib/terminator.js +35 -0
  32. package/esm/node_modules/asynckit/lib/terminator.js.map +1 -0
  33. package/esm/node_modules/asynckit/parallel.js +50 -0
  34. package/esm/node_modules/asynckit/parallel.js.map +1 -0
  35. package/esm/node_modules/asynckit/serial.js +22 -0
  36. package/esm/node_modules/asynckit/serial.js.map +1 -0
  37. package/esm/node_modules/asynckit/serialOrdered.js +85 -0
  38. package/esm/node_modules/asynckit/serialOrdered.js.map +1 -0
  39. package/esm/node_modules/axios/index.js +26 -0
  40. package/esm/node_modules/axios/index.js.map +1 -0
  41. package/esm/node_modules/axios/lib/adapters/adapters.js +133 -0
  42. package/esm/node_modules/axios/lib/adapters/adapters.js.map +1 -0
  43. package/esm/node_modules/axios/lib/adapters/fetch.js +331 -0
  44. package/esm/node_modules/axios/lib/adapters/fetch.js.map +1 -0
  45. package/esm/node_modules/axios/lib/adapters/http.js +945 -0
  46. package/esm/node_modules/axios/lib/adapters/http.js.map +1 -0
  47. package/esm/node_modules/axios/lib/adapters/xhr.js +225 -0
  48. package/esm/node_modules/axios/lib/adapters/xhr.js.map +1 -0
  49. package/esm/node_modules/axios/lib/axios.js +87 -0
  50. package/esm/node_modules/axios/lib/axios.js.map +1 -0
  51. package/esm/node_modules/axios/lib/cancel/CancelToken.js +134 -0
  52. package/esm/node_modules/axios/lib/cancel/CancelToken.js.map +1 -0
  53. package/esm/node_modules/axios/lib/cancel/CanceledError.js +21 -0
  54. package/esm/node_modules/axios/lib/cancel/CanceledError.js.map +1 -0
  55. package/esm/node_modules/axios/lib/cancel/isCancel.js +6 -0
  56. package/esm/node_modules/axios/lib/cancel/isCancel.js.map +1 -0
  57. package/esm/node_modules/axios/lib/core/Axios.js +260 -0
  58. package/esm/node_modules/axios/lib/core/Axios.js.map +1 -0
  59. package/esm/node_modules/axios/lib/core/AxiosError.js +89 -0
  60. package/esm/node_modules/axios/lib/core/AxiosError.js.map +1 -0
  61. package/esm/node_modules/axios/lib/core/AxiosHeaders.js +343 -0
  62. package/esm/node_modules/axios/lib/core/AxiosHeaders.js.map +1 -0
  63. package/esm/node_modules/axios/lib/core/InterceptorManager.js +71 -0
  64. package/esm/node_modules/axios/lib/core/InterceptorManager.js.map +1 -0
  65. package/esm/node_modules/axios/lib/core/buildFullPath.js +23 -0
  66. package/esm/node_modules/axios/lib/core/buildFullPath.js.map +1 -0
  67. package/esm/node_modules/axios/lib/core/dispatchRequest.js +78 -0
  68. package/esm/node_modules/axios/lib/core/dispatchRequest.js.map +1 -0
  69. package/esm/node_modules/axios/lib/core/mergeConfig.js +108 -0
  70. package/esm/node_modules/axios/lib/core/mergeConfig.js.map +1 -0
  71. package/esm/node_modules/axios/lib/core/settle.js +32 -0
  72. package/esm/node_modules/axios/lib/core/settle.js.map +1 -0
  73. package/esm/node_modules/axios/lib/core/transformData.js +29 -0
  74. package/esm/node_modules/axios/lib/core/transformData.js.map +1 -0
  75. package/esm/node_modules/axios/lib/defaults/index.js +171 -0
  76. package/esm/node_modules/axios/lib/defaults/index.js.map +1 -0
  77. package/esm/node_modules/axios/lib/defaults/transitional.js +9 -0
  78. package/esm/node_modules/axios/lib/defaults/transitional.js.map +1 -0
  79. package/esm/node_modules/axios/lib/env/data.js +4 -0
  80. package/esm/node_modules/axios/lib/env/data.js.map +1 -0
  81. package/esm/node_modules/axios/lib/helpers/AxiosTransformStream.js +155 -0
  82. package/esm/node_modules/axios/lib/helpers/AxiosTransformStream.js.map +1 -0
  83. package/esm/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +61 -0
  84. package/esm/node_modules/axios/lib/helpers/AxiosURLSearchParams.js.map +1 -0
  85. package/esm/node_modules/axios/lib/helpers/HttpStatusCode.js +78 -0
  86. package/esm/node_modules/axios/lib/helpers/HttpStatusCode.js.map +1 -0
  87. package/esm/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +28 -0
  88. package/esm/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js.map +1 -0
  89. package/esm/node_modules/axios/lib/helpers/bind.js +15 -0
  90. package/esm/node_modules/axios/lib/helpers/bind.js.map +1 -0
  91. package/esm/node_modules/axios/lib/helpers/buildURL.js +67 -0
  92. package/esm/node_modules/axios/lib/helpers/buildURL.js.map +1 -0
  93. package/esm/node_modules/axios/lib/helpers/callbackify.js +19 -0
  94. package/esm/node_modules/axios/lib/helpers/callbackify.js.map +1 -0
  95. package/esm/node_modules/axios/lib/helpers/combineURLs.js +16 -0
  96. package/esm/node_modules/axios/lib/helpers/combineURLs.js.map +1 -0
  97. package/esm/node_modules/axios/lib/helpers/composeSignals.js +57 -0
  98. package/esm/node_modules/axios/lib/helpers/composeSignals.js.map +1 -0
  99. package/esm/node_modules/axios/lib/helpers/cookies.js +51 -0
  100. package/esm/node_modules/axios/lib/helpers/cookies.js.map +1 -0
  101. package/esm/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +76 -0
  102. package/esm/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js.map +1 -0
  103. package/esm/node_modules/axios/lib/helpers/formDataToJSON.js +94 -0
  104. package/esm/node_modules/axios/lib/helpers/formDataToJSON.js.map +1 -0
  105. package/esm/node_modules/axios/lib/helpers/formDataToStream.js +119 -0
  106. package/esm/node_modules/axios/lib/helpers/formDataToStream.js.map +1 -0
  107. package/esm/node_modules/axios/lib/helpers/fromDataURI.js +54 -0
  108. package/esm/node_modules/axios/lib/helpers/fromDataURI.js.map +1 -0
  109. package/esm/node_modules/axios/lib/helpers/isAbsoluteURL.js +20 -0
  110. package/esm/node_modules/axios/lib/helpers/isAbsoluteURL.js.map +1 -0
  111. package/esm/node_modules/axios/lib/helpers/isAxiosError.js +15 -0
  112. package/esm/node_modules/axios/lib/helpers/isAxiosError.js.map +1 -0
  113. package/esm/node_modules/axios/lib/helpers/isURLSameOrigin.js +19 -0
  114. package/esm/node_modules/axios/lib/helpers/isURLSameOrigin.js.map +1 -0
  115. package/esm/node_modules/axios/lib/helpers/parseHeaders.js +70 -0
  116. package/esm/node_modules/axios/lib/helpers/parseHeaders.js.map +1 -0
  117. package/esm/node_modules/axios/lib/helpers/parseProtocol.js +7 -0
  118. package/esm/node_modules/axios/lib/helpers/parseProtocol.js.map +1 -0
  119. package/esm/node_modules/axios/lib/helpers/progressEventReducer.js +54 -0
  120. package/esm/node_modules/axios/lib/helpers/progressEventReducer.js.map +1 -0
  121. package/esm/node_modules/axios/lib/helpers/readBlob.js +16 -0
  122. package/esm/node_modules/axios/lib/helpers/readBlob.js.map +1 -0
  123. package/esm/node_modules/axios/lib/helpers/resolveConfig.js +73 -0
  124. package/esm/node_modules/axios/lib/helpers/resolveConfig.js.map +1 -0
  125. package/esm/node_modules/axios/lib/helpers/speedometer.js +54 -0
  126. package/esm/node_modules/axios/lib/helpers/speedometer.js.map +1 -0
  127. package/esm/node_modules/axios/lib/helpers/spread.js +29 -0
  128. package/esm/node_modules/axios/lib/helpers/spread.js.map +1 -0
  129. package/esm/node_modules/axios/lib/helpers/throttle.js +45 -0
  130. package/esm/node_modules/axios/lib/helpers/throttle.js.map +1 -0
  131. package/esm/node_modules/axios/lib/helpers/toFormData.js +239 -0
  132. package/esm/node_modules/axios/lib/helpers/toFormData.js.map +1 -0
  133. package/esm/node_modules/axios/lib/helpers/toURLEncodedForm.js +20 -0
  134. package/esm/node_modules/axios/lib/helpers/toURLEncodedForm.js.map +1 -0
  135. package/esm/node_modules/axios/lib/helpers/trackStream.js +92 -0
  136. package/esm/node_modules/axios/lib/helpers/trackStream.js.map +1 -0
  137. package/esm/node_modules/axios/lib/helpers/validator.js +111 -0
  138. package/esm/node_modules/axios/lib/helpers/validator.js.map +1 -0
  139. package/esm/node_modules/axios/lib/platform/common/utils.js +47 -0
  140. package/esm/node_modules/axios/lib/platform/common/utils.js.map +1 -0
  141. package/esm/node_modules/axios/lib/platform/index.js +10 -0
  142. package/esm/node_modules/axios/lib/platform/index.js.map +1 -0
  143. package/esm/node_modules/axios/lib/platform/node/classes/FormData.js +6 -0
  144. package/esm/node_modules/axios/lib/platform/node/classes/FormData.js.map +1 -0
  145. package/esm/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +6 -0
  146. package/esm/node_modules/axios/lib/platform/node/classes/URLSearchParams.js.map +1 -0
  147. package/esm/node_modules/axios/lib/platform/node/index.js +40 -0
  148. package/esm/node_modules/axios/lib/platform/node/index.js.map +1 -0
  149. package/esm/node_modules/axios/lib/utils.js +920 -0
  150. package/esm/node_modules/axios/lib/utils.js.map +1 -0
  151. package/esm/node_modules/call-bind-apply-helpers/node_modules/function-bind/implementation.js +66 -0
  152. package/esm/node_modules/call-bind-apply-helpers/node_modules/function-bind/implementation.js.map +1 -0
  153. package/esm/node_modules/call-bind-apply-helpers/node_modules/function-bind/index.js +7 -0
  154. package/esm/node_modules/call-bind-apply-helpers/node_modules/function-bind/index.js.map +1 -0
  155. package/esm/node_modules/combined-stream/lib/combined_stream.js +215 -0
  156. package/esm/node_modules/combined-stream/lib/combined_stream.js.map +1 -0
  157. package/esm/node_modules/debug/src/browser.js +287 -0
  158. package/esm/node_modules/debug/src/browser.js.map +1 -0
  159. package/esm/node_modules/debug/src/common.js +304 -0
  160. package/esm/node_modules/debug/src/common.js.map +1 -0
  161. package/esm/node_modules/debug/src/index.js +24 -0
  162. package/esm/node_modules/debug/src/index.js.map +1 -0
  163. package/esm/node_modules/debug/src/node.js +281 -0
  164. package/esm/node_modules/debug/src/node.js.map +1 -0
  165. package/esm/node_modules/deep-equal/node_modules/has-symbols/index.js +22 -0
  166. package/esm/node_modules/deep-equal/node_modules/has-symbols/index.js.map +1 -0
  167. package/esm/node_modules/deep-equal/node_modules/has-symbols/shams.js +58 -0
  168. package/esm/node_modules/deep-equal/node_modules/has-symbols/shams.js.map +1 -0
  169. package/esm/node_modules/deep-equal/node_modules/has-tostringtag/shams.js +9 -0
  170. package/esm/node_modules/deep-equal/node_modules/has-tostringtag/shams.js.map +1 -0
  171. package/esm/node_modules/deep-equal/node_modules/is-regex/index.js +53 -0
  172. package/esm/node_modules/deep-equal/node_modules/is-regex/index.js.map +1 -0
  173. package/esm/node_modules/deep-equal/node_modules/is-regex/node_modules/call-bind/callBound.js +16 -0
  174. package/esm/node_modules/deep-equal/node_modules/is-regex/node_modules/call-bind/callBound.js.map +1 -0
  175. package/esm/node_modules/deep-equal/node_modules/is-regex/node_modules/call-bind/index.js +53 -0
  176. package/esm/node_modules/deep-equal/node_modules/is-regex/node_modules/call-bind/index.js.map +1 -0
  177. package/esm/node_modules/deep-equal/node_modules/is-regex/node_modules/get-intrinsic/index.js +307 -0
  178. package/esm/node_modules/deep-equal/node_modules/is-regex/node_modules/get-intrinsic/index.js.map +1 -0
  179. package/esm/node_modules/delayed-stream/lib/delayed_stream.js +113 -0
  180. package/esm/node_modules/delayed-stream/lib/delayed_stream.js.map +1 -0
  181. package/esm/node_modules/es-set-tostringtag/index.js +41 -0
  182. package/esm/node_modules/es-set-tostringtag/index.js.map +1 -0
  183. package/esm/node_modules/follow-redirects/debug.js +20 -0
  184. package/esm/node_modules/follow-redirects/debug.js.map +1 -0
  185. package/esm/node_modules/follow-redirects/index.js +701 -0
  186. package/esm/node_modules/follow-redirects/index.js.map +1 -0
  187. package/esm/node_modules/form-data/lib/form_data.js +514 -0
  188. package/esm/node_modules/form-data/lib/form_data.js.map +1 -0
  189. package/esm/node_modules/form-data/lib/populate.js +11 -0
  190. package/esm/node_modules/form-data/lib/populate.js.map +1 -0
  191. package/esm/node_modules/get-intrinsic/node_modules/function-bind/implementation.js +75 -0
  192. package/esm/node_modules/get-intrinsic/node_modules/function-bind/implementation.js.map +1 -0
  193. package/esm/node_modules/get-intrinsic/node_modules/function-bind/index.js +16 -0
  194. package/esm/node_modules/get-intrinsic/node_modules/function-bind/index.js.map +1 -0
  195. package/esm/node_modules/has/src/index.js +7 -0
  196. package/esm/node_modules/has/src/index.js.map +1 -0
  197. package/esm/node_modules/has-flag/index.js +18 -0
  198. package/esm/node_modules/has-flag/index.js.map +1 -0
  199. package/esm/node_modules/hasown/node_modules/function-bind/implementation.js +75 -0
  200. package/esm/node_modules/hasown/node_modules/function-bind/implementation.js.map +1 -0
  201. package/esm/node_modules/hasown/node_modules/function-bind/index.js +16 -0
  202. package/esm/node_modules/hasown/node_modules/function-bind/index.js.map +1 -0
  203. package/esm/node_modules/is-boolean-object/node_modules/call-bind/callBound.js +16 -0
  204. package/esm/node_modules/is-boolean-object/node_modules/call-bind/callBound.js.map +1 -0
  205. package/esm/node_modules/is-boolean-object/node_modules/call-bind/index.js +53 -0
  206. package/esm/node_modules/is-boolean-object/node_modules/call-bind/index.js.map +1 -0
  207. package/esm/node_modules/is-boolean-object/node_modules/get-intrinsic/index.js +307 -0
  208. package/esm/node_modules/is-boolean-object/node_modules/get-intrinsic/index.js.map +1 -0
  209. package/esm/node_modules/is-boolean-object/node_modules/has-symbols/index.js +22 -0
  210. package/esm/node_modules/is-boolean-object/node_modules/has-symbols/index.js.map +1 -0
  211. package/esm/node_modules/is-boolean-object/node_modules/has-symbols/shams.js +67 -0
  212. package/esm/node_modules/is-boolean-object/node_modules/has-symbols/shams.js.map +1 -0
  213. package/esm/node_modules/is-boolean-object/node_modules/has-tostringtag/shams.js +18 -0
  214. package/esm/node_modules/is-boolean-object/node_modules/has-tostringtag/shams.js.map +1 -0
  215. package/esm/node_modules/is-number-object/node_modules/has-symbols/shams.js +58 -0
  216. package/esm/node_modules/is-number-object/node_modules/has-symbols/shams.js.map +1 -0
  217. package/esm/node_modules/is-number-object/node_modules/has-tostringtag/shams.js +9 -0
  218. package/esm/node_modules/is-number-object/node_modules/has-tostringtag/shams.js.map +1 -0
  219. package/esm/node_modules/is-string/node_modules/has-symbols/shams.js +58 -0
  220. package/esm/node_modules/is-string/node_modules/has-symbols/shams.js.map +1 -0
  221. package/esm/node_modules/is-string/node_modules/has-tostringtag/shams.js +9 -0
  222. package/esm/node_modules/is-string/node_modules/has-tostringtag/shams.js.map +1 -0
  223. package/esm/node_modules/is-symbol/node_modules/has-symbols/index.js +22 -0
  224. package/esm/node_modules/is-symbol/node_modules/has-symbols/index.js.map +1 -0
  225. package/esm/node_modules/is-symbol/node_modules/has-symbols/shams.js +58 -0
  226. package/esm/node_modules/is-symbol/node_modules/has-symbols/shams.js.map +1 -0
  227. package/esm/node_modules/mime-db/db.json.js +10705 -0
  228. package/esm/node_modules/mime-db/db.json.js.map +1 -0
  229. package/esm/node_modules/mime-db/index.js +17 -0
  230. package/esm/node_modules/mime-db/index.js.map +1 -0
  231. package/esm/node_modules/mime-types/index.js +194 -0
  232. package/esm/node_modules/mime-types/index.js.map +1 -0
  233. package/esm/node_modules/ms/index.js +173 -0
  234. package/esm/node_modules/ms/index.js.map +1 -0
  235. package/esm/node_modules/proxy-from-env/index.js +112 -0
  236. package/esm/node_modules/proxy-from-env/index.js.map +1 -0
  237. package/esm/node_modules/side-channel/node_modules/call-bind/callBound.js +16 -0
  238. package/esm/node_modules/side-channel/node_modules/call-bind/callBound.js.map +1 -0
  239. package/esm/node_modules/side-channel/node_modules/call-bind/index.js +53 -0
  240. package/esm/node_modules/side-channel/node_modules/call-bind/index.js.map +1 -0
  241. package/esm/node_modules/side-channel/node_modules/get-intrinsic/index.js +307 -0
  242. package/esm/node_modules/side-channel/node_modules/get-intrinsic/index.js.map +1 -0
  243. package/esm/node_modules/side-channel/node_modules/has-symbols/index.js +22 -0
  244. package/esm/node_modules/side-channel/node_modules/has-symbols/index.js.map +1 -0
  245. package/esm/node_modules/side-channel/node_modules/has-symbols/shams.js +58 -0
  246. package/esm/node_modules/side-channel/node_modules/has-symbols/shams.js.map +1 -0
  247. package/esm/node_modules/side-channel/node_modules/object-inspect/index.js +469 -0
  248. package/esm/node_modules/side-channel/node_modules/object-inspect/index.js.map +1 -0
  249. package/esm/node_modules/side-channel/node_modules/object-inspect/util.inspect.js +6 -0
  250. package/esm/node_modules/side-channel/node_modules/object-inspect/util.inspect.js.map +1 -0
  251. package/esm/node_modules/supports-color/index.js +149 -0
  252. package/esm/node_modules/supports-color/index.js.map +1 -0
  253. package/esm/utils/authorizations.js +1 -1
  254. package/esm/utils/confy.js +1 -1
  255. package/package.json +3 -3
  256. package/esm/lib/api/apiKeys.js +0 -51
  257. package/esm/lib/api/apiKeys.js.map +0 -1
  258. package/esm/lib/api/dataBuckets.js +0 -18
  259. package/esm/lib/api/dataBuckets.js.map +0 -1
  260. package/esm/lib/api/jobs.js +0 -56
  261. package/esm/lib/api/jobs.js.map +0 -1
  262. package/esm/lib/api/members.js +0 -33
  263. package/esm/lib/api/members.js.map +0 -1
  264. package/esm/lib/api/people.js +0 -50
  265. package/esm/lib/api/people.js.map +0 -1
  266. package/esm/lib/api/roles.js +0 -17
  267. package/esm/lib/api/roles.js.map +0 -1
  268. package/esm/lib/api/routes.js +0 -43
  269. package/esm/lib/api/routes.js.map +0 -1
  270. package/esm/lib/api/servicesMap.js +0 -17
  271. package/esm/lib/api/servicesMap.js.map +0 -1
  272. package/esm/lib/api/spaces.js +0 -32
  273. package/esm/lib/api/spaces.js.map +0 -1
  274. package/esm/lib/api/storage.js +0 -94
  275. package/esm/lib/api/storage.js.map +0 -1
  276. package/esm/node_modules/@dbmx/auth/dist/index.js +0 -638
  277. package/esm/node_modules/@dbmx/auth/dist/index.js.map +0 -1
  278. package/esm/node_modules/@dbmx/auth/dist/oidc-client.js +0 -107
  279. package/esm/node_modules/@dbmx/auth/dist/oidc-client.js.map +0 -1
  280. package/esm/node_modules/@dbmx/semver/dist/index.esm.js +0 -958
  281. package/esm/node_modules/@dbmx/semver/dist/index.esm.js.map +0 -1
  282. package/esm/node_modules/@dbmx/semver/node_modules/lru-cache/index.js +0 -340
  283. package/esm/node_modules/@dbmx/semver/node_modules/lru-cache/index.js.map +0 -1
  284. package/esm/node_modules/@dbmx/semver/node_modules/yallist/iterator.js +0 -18
  285. package/esm/node_modules/@dbmx/semver/node_modules/yallist/iterator.js.map +0 -1
  286. package/esm/node_modules/@dbmx/semver/node_modules/yallist/yallist.js +0 -430
  287. package/esm/node_modules/@dbmx/semver/node_modules/yallist/yallist.js.map +0 -1
  288. package/esm/node_modules/@dbmx/users/esm/index.js +0 -251
  289. package/esm/node_modules/@dbmx/users/esm/index.js.map +0 -1
  290. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/ap.js +0 -44
  291. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/ap.js.map +0 -1
  292. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/bind.js +0 -36
  293. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/bind.js.map +0 -1
  294. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/curry.js +0 -53
  295. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/curry.js.map +0 -1
  296. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/curryN.js +0 -60
  297. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/curryN.js.map +0 -1
  298. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/difference.js +0 -50
  299. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/difference.js.map +0 -1
  300. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/either.js +0 -46
  301. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/either.js.map +0 -1
  302. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/equals.js +0 -37
  303. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/equals.js.map +0 -1
  304. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/flip.js +0 -37
  305. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/flip.js.map +0 -1
  306. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/identity.js +0 -29
  307. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/identity.js.map +0 -1
  308. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/includes.js +0 -32
  309. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/includes.js.map +0 -1
  310. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_Set.js +0 -201
  311. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_Set.js.map +0 -1
  312. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_arity.js +0 -65
  313. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_arity.js.map +0 -1
  314. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_arrayFromIterator.js +0 -13
  315. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_arrayFromIterator.js.map +0 -1
  316. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_concat.js +0 -37
  317. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_concat.js.map +0 -1
  318. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_curry1.js +0 -23
  319. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_curry1.js.map +0 -1
  320. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_curry2.js +0 -35
  321. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_curry2.js.map +0 -1
  322. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_curry3.js +0 -53
  323. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_curry3.js.map +0 -1
  324. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_curryN.js +0 -46
  325. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_curryN.js.map +0 -1
  326. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_dispatchable.js +0 -50
  327. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_dispatchable.js.map +0 -1
  328. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_equals.js +0 -170
  329. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_equals.js.map +0 -1
  330. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_filter.js +0 -18
  331. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_filter.js.map +0 -1
  332. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_functionName.js +0 -8
  333. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_functionName.js.map +0 -1
  334. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_has.js +0 -6
  335. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_has.js.map +0 -1
  336. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_identity.js +0 -6
  337. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_identity.js.map +0 -1
  338. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_includes.js +0 -8
  339. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_includes.js.map +0 -1
  340. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_includesWith.js +0 -17
  341. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_includesWith.js.map +0 -1
  342. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_indexOf.js +0 -71
  343. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_indexOf.js.map +0 -1
  344. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isArguments.js +0 -16
  345. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isArguments.js.map +0 -1
  346. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isArray.js +0 -18
  347. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isArray.js.map +0 -1
  348. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isArrayLike.js +0 -58
  349. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isArrayLike.js.map +0 -1
  350. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isFunction.js +0 -7
  351. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isFunction.js.map +0 -1
  352. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isInteger.js +0 -14
  353. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isInteger.js.map +0 -1
  354. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isPlaceholder.js +0 -6
  355. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isPlaceholder.js.map +0 -1
  356. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isString.js +0 -6
  357. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isString.js.map +0 -1
  358. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isTransformer.js +0 -6
  359. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isTransformer.js.map +0 -1
  360. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_map.js +0 -15
  361. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_map.js.map +0 -1
  362. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_objectIs.js +0 -17
  363. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_objectIs.js.map +0 -1
  364. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_reduce.js +0 -74
  365. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_reduce.js.map +0 -1
  366. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_xfBase.js +0 -11
  367. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_xfBase.js.map +0 -1
  368. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_xmap.js +0 -29
  369. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_xmap.js.map +0 -1
  370. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_xwrap.js +0 -28
  371. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_xwrap.js.map +0 -1
  372. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/intersection.js +0 -42
  373. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/intersection.js.map +0 -1
  374. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/is.js +0 -34
  375. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/is.js.map +0 -1
  376. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/keys.js +0 -92
  377. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/keys.js.map +0 -1
  378. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/lift.js +0 -34
  379. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/lift.js.map +0 -1
  380. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/liftN.js +0 -35
  381. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/liftN.js.map +0 -1
  382. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/map.js +0 -68
  383. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/map.js.map +0 -1
  384. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/nth.js +0 -39
  385. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/nth.js.map +0 -1
  386. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/or.js +0 -31
  387. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/or.js.map +0 -1
  388. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/path.js +0 -32
  389. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/path.js.map +0 -1
  390. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/paths.js +0 -47
  391. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/paths.js.map +0 -1
  392. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/prop.js +0 -33
  393. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/prop.js.map +0 -1
  394. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/propEq.js +0 -37
  395. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/propEq.js.map +0 -1
  396. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/type.js +0 -36
  397. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/type.js.map +0 -1
  398. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/uniq.js +0 -27
  399. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/uniq.js.map +0 -1
  400. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/uniqBy.js +0 -46
  401. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/uniqBy.js.map +0 -1
  402. package/esm/node_modules/@dbmx/users/esm/roles.js +0 -127
  403. package/esm/node_modules/@dbmx/users/esm/roles.js.map +0 -1
  404. package/esm/node_modules/jsrsasign/lib/jsrsasign.js +0 -248
  405. package/esm/node_modules/jsrsasign/lib/jsrsasign.js.map +0 -1
  406. package/esm/node_modules/jwt-decode/build/esm/index.js +0 -60
  407. package/esm/node_modules/jwt-decode/build/esm/index.js.map +0 -1
  408. package/esm/node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js +0 -3591
  409. package/esm/node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js.map +0 -1
  410. package/esm/node_modules/ramda/es/internal/_objectAssign.js +0 -32
  411. package/esm/node_modules/ramda/es/internal/_objectAssign.js.map +0 -1
  412. package/esm/node_modules/ramda/es/merge.js +0 -36
  413. package/esm/node_modules/ramda/es/merge.js.map +0 -1
@@ -0,0 +1,920 @@
1
+ import bind from './helpers/bind.js';
2
+
3
+ // utils is a library of generic helper functions non-specific to axios
4
+
5
+ const { toString } = Object.prototype;
6
+ const { getPrototypeOf } = Object;
7
+ const { iterator, toStringTag } = Symbol;
8
+
9
+ const kindOf = ((cache) => (thing) => {
10
+ const str = toString.call(thing);
11
+ return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
12
+ })(Object.create(null));
13
+
14
+ const kindOfTest = (type) => {
15
+ type = type.toLowerCase();
16
+ return (thing) => kindOf(thing) === type;
17
+ };
18
+
19
+ const typeOfTest = (type) => (thing) => typeof thing === type;
20
+
21
+ /**
22
+ * Determine if a value is a non-null object
23
+ *
24
+ * @param {Object} val The value to test
25
+ *
26
+ * @returns {boolean} True if value is an Array, otherwise false
27
+ */
28
+ const { isArray } = Array;
29
+
30
+ /**
31
+ * Determine if a value is undefined
32
+ *
33
+ * @param {*} val The value to test
34
+ *
35
+ * @returns {boolean} True if the value is undefined, otherwise false
36
+ */
37
+ const isUndefined = typeOfTest('undefined');
38
+
39
+ /**
40
+ * Determine if a value is a Buffer
41
+ *
42
+ * @param {*} val The value to test
43
+ *
44
+ * @returns {boolean} True if value is a Buffer, otherwise false
45
+ */
46
+ function isBuffer(val) {
47
+ return (
48
+ val !== null &&
49
+ !isUndefined(val) &&
50
+ val.constructor !== null &&
51
+ !isUndefined(val.constructor) &&
52
+ isFunction(val.constructor.isBuffer) &&
53
+ val.constructor.isBuffer(val)
54
+ );
55
+ }
56
+
57
+ /**
58
+ * Determine if a value is an ArrayBuffer
59
+ *
60
+ * @param {*} val The value to test
61
+ *
62
+ * @returns {boolean} True if value is an ArrayBuffer, otherwise false
63
+ */
64
+ const isArrayBuffer = kindOfTest('ArrayBuffer');
65
+
66
+ /**
67
+ * Determine if a value is a view on an ArrayBuffer
68
+ *
69
+ * @param {*} val The value to test
70
+ *
71
+ * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false
72
+ */
73
+ function isArrayBufferView(val) {
74
+ let result;
75
+ if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {
76
+ result = ArrayBuffer.isView(val);
77
+ } else {
78
+ result = val && val.buffer && isArrayBuffer(val.buffer);
79
+ }
80
+ return result;
81
+ }
82
+
83
+ /**
84
+ * Determine if a value is a String
85
+ *
86
+ * @param {*} val The value to test
87
+ *
88
+ * @returns {boolean} True if value is a String, otherwise false
89
+ */
90
+ const isString = typeOfTest('string');
91
+
92
+ /**
93
+ * Determine if a value is a Function
94
+ *
95
+ * @param {*} val The value to test
96
+ * @returns {boolean} True if value is a Function, otherwise false
97
+ */
98
+ const isFunction = typeOfTest('function');
99
+
100
+ /**
101
+ * Determine if a value is a Number
102
+ *
103
+ * @param {*} val The value to test
104
+ *
105
+ * @returns {boolean} True if value is a Number, otherwise false
106
+ */
107
+ const isNumber = typeOfTest('number');
108
+
109
+ /**
110
+ * Determine if a value is an Object
111
+ *
112
+ * @param {*} thing The value to test
113
+ *
114
+ * @returns {boolean} True if value is an Object, otherwise false
115
+ */
116
+ const isObject = (thing) => thing !== null && typeof thing === 'object';
117
+
118
+ /**
119
+ * Determine if a value is a Boolean
120
+ *
121
+ * @param {*} thing The value to test
122
+ * @returns {boolean} True if value is a Boolean, otherwise false
123
+ */
124
+ const isBoolean = (thing) => thing === true || thing === false;
125
+
126
+ /**
127
+ * Determine if a value is a plain Object
128
+ *
129
+ * @param {*} val The value to test
130
+ *
131
+ * @returns {boolean} True if value is a plain Object, otherwise false
132
+ */
133
+ const isPlainObject = (val) => {
134
+ if (kindOf(val) !== 'object') {
135
+ return false;
136
+ }
137
+
138
+ const prototype = getPrototypeOf(val);
139
+ return (
140
+ (prototype === null ||
141
+ prototype === Object.prototype ||
142
+ Object.getPrototypeOf(prototype) === null) &&
143
+ !(toStringTag in val) &&
144
+ !(iterator in val)
145
+ );
146
+ };
147
+
148
+ /**
149
+ * Determine if a value is an empty object (safely handles Buffers)
150
+ *
151
+ * @param {*} val The value to test
152
+ *
153
+ * @returns {boolean} True if value is an empty object, otherwise false
154
+ */
155
+ const isEmptyObject = (val) => {
156
+ // Early return for non-objects or Buffers to prevent RangeError
157
+ if (!isObject(val) || isBuffer(val)) {
158
+ return false;
159
+ }
160
+
161
+ try {
162
+ return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
163
+ } catch (e) {
164
+ // Fallback for any other objects that might cause RangeError with Object.keys()
165
+ return false;
166
+ }
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 React Native Blob
189
+ * React Native "blob": an object with a `uri` attribute. Optionally, it can
190
+ * also have a `name` and `type` attribute to specify filename and content type
191
+ *
192
+ * @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71
193
+ *
194
+ * @param {*} value The value to test
195
+ *
196
+ * @returns {boolean} True if value is a React Native Blob, otherwise false
197
+ */
198
+ const isReactNativeBlob = (value) => {
199
+ return !!(value && typeof value.uri !== 'undefined');
200
+ };
201
+
202
+ /**
203
+ * Determine if environment is React Native
204
+ * ReactNative `FormData` has a non-standard `getParts()` method
205
+ *
206
+ * @param {*} formData The formData to test
207
+ *
208
+ * @returns {boolean} True if environment is React Native, otherwise false
209
+ */
210
+ const isReactNative = (formData) => formData && typeof formData.getParts !== 'undefined';
211
+
212
+ /**
213
+ * Determine if a value is a Blob
214
+ *
215
+ * @param {*} val The value to test
216
+ *
217
+ * @returns {boolean} True if value is a Blob, otherwise false
218
+ */
219
+ const isBlob = kindOfTest('Blob');
220
+
221
+ /**
222
+ * Determine if a value is a FileList
223
+ *
224
+ * @param {*} val The value to test
225
+ *
226
+ * @returns {boolean} True if value is a File, otherwise false
227
+ */
228
+ const isFileList = kindOfTest('FileList');
229
+
230
+ /**
231
+ * Determine if a value is a Stream
232
+ *
233
+ * @param {*} val The value to test
234
+ *
235
+ * @returns {boolean} True if value is a Stream, otherwise false
236
+ */
237
+ const isStream = (val) => isObject(val) && isFunction(val.pipe);
238
+
239
+ /**
240
+ * Determine if a value is a FormData
241
+ *
242
+ * @param {*} thing The value to test
243
+ *
244
+ * @returns {boolean} True if value is an FormData, otherwise false
245
+ */
246
+ function getGlobal() {
247
+ if (typeof globalThis !== 'undefined') return globalThis;
248
+ if (typeof self !== 'undefined') return self;
249
+ if (typeof window !== 'undefined') return window;
250
+ if (typeof global !== 'undefined') return global;
251
+ return {};
252
+ }
253
+
254
+ const G = getGlobal();
255
+ const FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined;
256
+
257
+ const isFormData = (thing) => {
258
+ let kind;
259
+ return thing && (
260
+ (FormDataCtor && thing instanceof FormDataCtor) || (
261
+ isFunction(thing.append) && (
262
+ (kind = kindOf(thing)) === 'formdata' ||
263
+ // detect form-data instance
264
+ (kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')
265
+ )
266
+ )
267
+ );
268
+ };
269
+
270
+ /**
271
+ * Determine if a value is a URLSearchParams object
272
+ *
273
+ * @param {*} val The value to test
274
+ *
275
+ * @returns {boolean} True if value is a URLSearchParams object, otherwise false
276
+ */
277
+ const isURLSearchParams = kindOfTest('URLSearchParams');
278
+
279
+ const [isReadableStream, isRequest, isResponse, isHeaders] = [
280
+ 'ReadableStream',
281
+ 'Request',
282
+ 'Response',
283
+ 'Headers',
284
+ ].map(kindOfTest);
285
+
286
+ /**
287
+ * Trim excess whitespace off the beginning and end of a string
288
+ *
289
+ * @param {String} str The String to trim
290
+ *
291
+ * @returns {String} The String freed of excess whitespace
292
+ */
293
+ const trim = (str) => {
294
+ return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
295
+ };
296
+ /**
297
+ * Iterate over an Array or an Object invoking a function for each item.
298
+ *
299
+ * If `obj` is an Array callback will be called passing
300
+ * the value, index, and complete array for each item.
301
+ *
302
+ * If 'obj' is an Object callback will be called passing
303
+ * the value, key, and complete object for each property.
304
+ *
305
+ * @param {Object|Array<unknown>} obj The object to iterate
306
+ * @param {Function} fn The callback to invoke for each item
307
+ *
308
+ * @param {Object} [options]
309
+ * @param {Boolean} [options.allOwnKeys = false]
310
+ * @returns {any}
311
+ */
312
+ function forEach(obj, fn, { allOwnKeys = false } = {}) {
313
+ // Don't bother if no value provided
314
+ if (obj === null || typeof obj === 'undefined') {
315
+ return;
316
+ }
317
+
318
+ let i;
319
+ let l;
320
+
321
+ // Force an array if not already something iterable
322
+ if (typeof obj !== 'object') {
323
+ /*eslint no-param-reassign:0*/
324
+ obj = [obj];
325
+ }
326
+
327
+ if (isArray(obj)) {
328
+ // Iterate over array values
329
+ for (i = 0, l = obj.length; i < l; i++) {
330
+ fn.call(null, obj[i], i, obj);
331
+ }
332
+ } else {
333
+ // Buffer check
334
+ if (isBuffer(obj)) {
335
+ return;
336
+ }
337
+
338
+ // Iterate over object keys
339
+ const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
340
+ const len = keys.length;
341
+ let key;
342
+
343
+ for (i = 0; i < len; i++) {
344
+ key = keys[i];
345
+ fn.call(null, obj[key], key, obj);
346
+ }
347
+ }
348
+ }
349
+
350
+ /**
351
+ * Finds a key in an object, case-insensitive, returning the actual key name.
352
+ * Returns null if the object is a Buffer or if no match is found.
353
+ *
354
+ * @param {Object} obj - The object to search.
355
+ * @param {string} key - The key to find (case-insensitive).
356
+ * @returns {?string} The actual key name if found, otherwise null.
357
+ */
358
+ function findKey(obj, key) {
359
+ if (isBuffer(obj)) {
360
+ return null;
361
+ }
362
+
363
+ key = key.toLowerCase();
364
+ const keys = Object.keys(obj);
365
+ let i = keys.length;
366
+ let _key;
367
+ while (i-- > 0) {
368
+ _key = keys[i];
369
+ if (key === _key.toLowerCase()) {
370
+ return _key;
371
+ }
372
+ }
373
+ return null;
374
+ }
375
+
376
+ const _global = (() => {
377
+ /*eslint no-undef:0*/
378
+ if (typeof globalThis !== 'undefined') return globalThis;
379
+ return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global;
380
+ })();
381
+
382
+ const isContextDefined = (context) => !isUndefined(context) && context !== _global;
383
+
384
+ /**
385
+ * Accepts varargs expecting each argument to be an object, then
386
+ * immutably merges the properties of each object and returns result.
387
+ *
388
+ * When multiple objects contain the same key the later object in
389
+ * the arguments list will take precedence.
390
+ *
391
+ * Example:
392
+ *
393
+ * ```js
394
+ * const result = merge({foo: 123}, {foo: 456});
395
+ * console.log(result.foo); // outputs 456
396
+ * ```
397
+ *
398
+ * @param {Object} obj1 Object to merge
399
+ *
400
+ * @returns {Object} Result of all merge properties
401
+ */
402
+ function merge(/* obj1, obj2, obj3, ... */) {
403
+ const { caseless, skipUndefined } = (isContextDefined(this) && this) || {};
404
+ const result = {};
405
+ const assignValue = (val, key) => {
406
+ // Skip dangerous property names to prevent prototype pollution
407
+ if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
408
+ return;
409
+ }
410
+
411
+ const targetKey = (caseless && findKey(result, key)) || key;
412
+ if (isPlainObject(result[targetKey]) && isPlainObject(val)) {
413
+ result[targetKey] = merge(result[targetKey], val);
414
+ } else if (isPlainObject(val)) {
415
+ result[targetKey] = merge({}, val);
416
+ } else if (isArray(val)) {
417
+ result[targetKey] = val.slice();
418
+ } else if (!skipUndefined || !isUndefined(val)) {
419
+ result[targetKey] = val;
420
+ }
421
+ };
422
+
423
+ for (let i = 0, l = arguments.length; i < l; i++) {
424
+ arguments[i] && forEach(arguments[i], assignValue);
425
+ }
426
+ return result;
427
+ }
428
+
429
+ /**
430
+ * Extends object a by mutably adding to it the properties of object b.
431
+ *
432
+ * @param {Object} a The object to be extended
433
+ * @param {Object} b The object to copy properties from
434
+ * @param {Object} thisArg The object to bind function to
435
+ *
436
+ * @param {Object} [options]
437
+ * @param {Boolean} [options.allOwnKeys]
438
+ * @returns {Object} The resulting value of object a
439
+ */
440
+ const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
441
+ forEach(
442
+ b,
443
+ (val, key) => {
444
+ if (thisArg && isFunction(val)) {
445
+ Object.defineProperty(a, key, {
446
+ value: bind(val, thisArg),
447
+ writable: true,
448
+ enumerable: true,
449
+ configurable: true,
450
+ });
451
+ } else {
452
+ Object.defineProperty(a, key, {
453
+ value: val,
454
+ writable: true,
455
+ enumerable: true,
456
+ configurable: true,
457
+ });
458
+ }
459
+ },
460
+ { allOwnKeys }
461
+ );
462
+ return a;
463
+ };
464
+
465
+ /**
466
+ * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)
467
+ *
468
+ * @param {string} content with BOM
469
+ *
470
+ * @returns {string} content value without BOM
471
+ */
472
+ const stripBOM = (content) => {
473
+ if (content.charCodeAt(0) === 0xfeff) {
474
+ content = content.slice(1);
475
+ }
476
+ return content;
477
+ };
478
+
479
+ /**
480
+ * Inherit the prototype methods from one constructor into another
481
+ * @param {function} constructor
482
+ * @param {function} superConstructor
483
+ * @param {object} [props]
484
+ * @param {object} [descriptors]
485
+ *
486
+ * @returns {void}
487
+ */
488
+ const inherits = (constructor, superConstructor, props, descriptors) => {
489
+ constructor.prototype = Object.create(superConstructor.prototype, descriptors);
490
+ Object.defineProperty(constructor.prototype, 'constructor', {
491
+ value: constructor,
492
+ writable: true,
493
+ enumerable: false,
494
+ configurable: true,
495
+ });
496
+ Object.defineProperty(constructor, 'super', {
497
+ value: superConstructor.prototype,
498
+ });
499
+ props && Object.assign(constructor.prototype, props);
500
+ };
501
+
502
+ /**
503
+ * Resolve object with deep prototype chain to a flat object
504
+ * @param {Object} sourceObj source object
505
+ * @param {Object} [destObj]
506
+ * @param {Function|Boolean} [filter]
507
+ * @param {Function} [propFilter]
508
+ *
509
+ * @returns {Object}
510
+ */
511
+ const toFlatObject = (sourceObj, destObj, filter, propFilter) => {
512
+ let props;
513
+ let i;
514
+ let prop;
515
+ const merged = {};
516
+
517
+ destObj = destObj || {};
518
+ // eslint-disable-next-line no-eq-null,eqeqeq
519
+ if (sourceObj == null) return destObj;
520
+
521
+ do {
522
+ props = Object.getOwnPropertyNames(sourceObj);
523
+ i = props.length;
524
+ while (i-- > 0) {
525
+ prop = props[i];
526
+ if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {
527
+ destObj[prop] = sourceObj[prop];
528
+ merged[prop] = true;
529
+ }
530
+ }
531
+ sourceObj = filter !== false && getPrototypeOf(sourceObj);
532
+ } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);
533
+
534
+ return destObj;
535
+ };
536
+
537
+ /**
538
+ * Determines whether a string ends with the characters of a specified string
539
+ *
540
+ * @param {String} str
541
+ * @param {String} searchString
542
+ * @param {Number} [position= 0]
543
+ *
544
+ * @returns {boolean}
545
+ */
546
+ const endsWith = (str, searchString, position) => {
547
+ str = String(str);
548
+ if (position === undefined || position > str.length) {
549
+ position = str.length;
550
+ }
551
+ position -= searchString.length;
552
+ const lastIndex = str.indexOf(searchString, position);
553
+ return lastIndex !== -1 && lastIndex === position;
554
+ };
555
+
556
+ /**
557
+ * Returns new array from array like object or null if failed
558
+ *
559
+ * @param {*} [thing]
560
+ *
561
+ * @returns {?Array}
562
+ */
563
+ const toArray = (thing) => {
564
+ if (!thing) return null;
565
+ if (isArray(thing)) return thing;
566
+ let i = thing.length;
567
+ if (!isNumber(i)) return null;
568
+ const arr = new Array(i);
569
+ while (i-- > 0) {
570
+ arr[i] = thing[i];
571
+ }
572
+ return arr;
573
+ };
574
+
575
+ /**
576
+ * Checking if the Uint8Array exists and if it does, it returns a function that checks if the
577
+ * thing passed in is an instance of Uint8Array
578
+ *
579
+ * @param {TypedArray}
580
+ *
581
+ * @returns {Array}
582
+ */
583
+ // eslint-disable-next-line func-names
584
+ const isTypedArray = ((TypedArray) => {
585
+ // eslint-disable-next-line func-names
586
+ return (thing) => {
587
+ return TypedArray && thing instanceof TypedArray;
588
+ };
589
+ })(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));
590
+
591
+ /**
592
+ * For each entry in the object, call the function with the key and value.
593
+ *
594
+ * @param {Object<any, any>} obj - The object to iterate over.
595
+ * @param {Function} fn - The function to call for each entry.
596
+ *
597
+ * @returns {void}
598
+ */
599
+ const forEachEntry = (obj, fn) => {
600
+ const generator = obj && obj[iterator];
601
+
602
+ const _iterator = generator.call(obj);
603
+
604
+ let result;
605
+
606
+ while ((result = _iterator.next()) && !result.done) {
607
+ const pair = result.value;
608
+ fn.call(obj, pair[0], pair[1]);
609
+ }
610
+ };
611
+
612
+ /**
613
+ * It takes a regular expression and a string, and returns an array of all the matches
614
+ *
615
+ * @param {string} regExp - The regular expression to match against.
616
+ * @param {string} str - The string to search.
617
+ *
618
+ * @returns {Array<boolean>}
619
+ */
620
+ const matchAll = (regExp, str) => {
621
+ let matches;
622
+ const arr = [];
623
+
624
+ while ((matches = regExp.exec(str)) !== null) {
625
+ arr.push(matches);
626
+ }
627
+
628
+ return arr;
629
+ };
630
+
631
+ /* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */
632
+ const isHTMLForm = kindOfTest('HTMLFormElement');
633
+
634
+ const toCamelCase = (str) => {
635
+ return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) {
636
+ return p1.toUpperCase() + p2;
637
+ });
638
+ };
639
+
640
+ /* Creating a function that will check if an object has a property. */
641
+ const hasOwnProperty = (
642
+ ({ hasOwnProperty }) =>
643
+ (obj, prop) =>
644
+ hasOwnProperty.call(obj, prop)
645
+ )(Object.prototype);
646
+
647
+ /**
648
+ * Determine if a value is a RegExp object
649
+ *
650
+ * @param {*} val The value to test
651
+ *
652
+ * @returns {boolean} True if value is a RegExp object, otherwise false
653
+ */
654
+ const isRegExp = kindOfTest('RegExp');
655
+
656
+ const reduceDescriptors = (obj, reducer) => {
657
+ const descriptors = Object.getOwnPropertyDescriptors(obj);
658
+ const reducedDescriptors = {};
659
+
660
+ forEach(descriptors, (descriptor, name) => {
661
+ let ret;
662
+ if ((ret = reducer(descriptor, name, obj)) !== false) {
663
+ reducedDescriptors[name] = ret || descriptor;
664
+ }
665
+ });
666
+
667
+ Object.defineProperties(obj, reducedDescriptors);
668
+ };
669
+
670
+ /**
671
+ * Makes all methods read-only
672
+ * @param {Object} obj
673
+ */
674
+
675
+ const freezeMethods = (obj) => {
676
+ reduceDescriptors(obj, (descriptor, name) => {
677
+ // skip restricted props in strict mode
678
+ if (isFunction(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {
679
+ return false;
680
+ }
681
+
682
+ const value = obj[name];
683
+
684
+ if (!isFunction(value)) return;
685
+
686
+ descriptor.enumerable = false;
687
+
688
+ if ('writable' in descriptor) {
689
+ descriptor.writable = false;
690
+ return;
691
+ }
692
+
693
+ if (!descriptor.set) {
694
+ descriptor.set = () => {
695
+ throw Error("Can not rewrite read-only method '" + name + "'");
696
+ };
697
+ }
698
+ });
699
+ };
700
+
701
+ /**
702
+ * Converts an array or a delimited string into an object set with values as keys and true as values.
703
+ * Useful for fast membership checks.
704
+ *
705
+ * @param {Array|string} arrayOrString - The array or string to convert.
706
+ * @param {string} delimiter - The delimiter to use if input is a string.
707
+ * @returns {Object} An object with keys from the array or string, values set to true.
708
+ */
709
+ const toObjectSet = (arrayOrString, delimiter) => {
710
+ const obj = {};
711
+
712
+ const define = (arr) => {
713
+ arr.forEach((value) => {
714
+ obj[value] = true;
715
+ });
716
+ };
717
+
718
+ isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));
719
+
720
+ return obj;
721
+ };
722
+
723
+ const noop = () => {};
724
+
725
+ const toFiniteNumber = (value, defaultValue) => {
726
+ return value != null && Number.isFinite((value = +value)) ? value : defaultValue;
727
+ };
728
+
729
+ /**
730
+ * If the thing is a FormData object, return true, otherwise return false.
731
+ *
732
+ * @param {unknown} thing - The thing to check.
733
+ *
734
+ * @returns {boolean}
735
+ */
736
+ function isSpecCompliantForm(thing) {
737
+ return !!(
738
+ thing &&
739
+ isFunction(thing.append) &&
740
+ thing[toStringTag] === 'FormData' &&
741
+ thing[iterator]
742
+ );
743
+ }
744
+
745
+ /**
746
+ * Recursively converts an object to a JSON-compatible object, handling circular references and Buffers.
747
+ *
748
+ * @param {Object} obj - The object to convert.
749
+ * @returns {Object} The JSON-compatible object.
750
+ */
751
+ const toJSONObject = (obj) => {
752
+ const stack = new Array(10);
753
+
754
+ const visit = (source, i) => {
755
+ if (isObject(source)) {
756
+ if (stack.indexOf(source) >= 0) {
757
+ return;
758
+ }
759
+
760
+ //Buffer check
761
+ if (isBuffer(source)) {
762
+ return source;
763
+ }
764
+
765
+ if (!('toJSON' in source)) {
766
+ stack[i] = source;
767
+ const target = isArray(source) ? [] : {};
768
+
769
+ forEach(source, (value, key) => {
770
+ const reducedValue = visit(value, i + 1);
771
+ !isUndefined(reducedValue) && (target[key] = reducedValue);
772
+ });
773
+
774
+ stack[i] = undefined;
775
+
776
+ return target;
777
+ }
778
+ }
779
+
780
+ return source;
781
+ };
782
+
783
+ return visit(obj, 0);
784
+ };
785
+
786
+ /**
787
+ * Determines if a value is an async function.
788
+ *
789
+ * @param {*} thing - The value to test.
790
+ * @returns {boolean} True if value is an async function, otherwise false.
791
+ */
792
+ const isAsyncFn = kindOfTest('AsyncFunction');
793
+
794
+ /**
795
+ * Determines if a value is thenable (has then and catch methods).
796
+ *
797
+ * @param {*} thing - The value to test.
798
+ * @returns {boolean} True if value is thenable, otherwise false.
799
+ */
800
+ const isThenable = (thing) =>
801
+ thing &&
802
+ (isObject(thing) || isFunction(thing)) &&
803
+ isFunction(thing.then) &&
804
+ isFunction(thing.catch);
805
+
806
+ // original code
807
+ // https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34
808
+
809
+ /**
810
+ * Provides a cross-platform setImmediate implementation.
811
+ * Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout.
812
+ *
813
+ * @param {boolean} setImmediateSupported - Whether setImmediate is supported.
814
+ * @param {boolean} postMessageSupported - Whether postMessage is supported.
815
+ * @returns {Function} A function to schedule a callback asynchronously.
816
+ */
817
+ const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
818
+ if (setImmediateSupported) {
819
+ return setImmediate;
820
+ }
821
+
822
+ return postMessageSupported
823
+ ? ((token, callbacks) => {
824
+ _global.addEventListener(
825
+ 'message',
826
+ ({ source, data }) => {
827
+ if (source === _global && data === token) {
828
+ callbacks.length && callbacks.shift()();
829
+ }
830
+ },
831
+ false
832
+ );
833
+
834
+ return (cb) => {
835
+ callbacks.push(cb);
836
+ _global.postMessage(token, '*');
837
+ };
838
+ })(`axios@${Math.random()}`, [])
839
+ : (cb) => setTimeout(cb);
840
+ })(typeof setImmediate === 'function', isFunction(_global.postMessage));
841
+
842
+ /**
843
+ * Schedules a microtask or asynchronous callback as soon as possible.
844
+ * Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate.
845
+ *
846
+ * @type {Function}
847
+ */
848
+ const asap =
849
+ typeof queueMicrotask !== 'undefined'
850
+ ? queueMicrotask.bind(_global)
851
+ : (typeof process !== 'undefined' && process.nextTick) || _setImmediate;
852
+
853
+ // *********************
854
+
855
+ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
856
+
857
+ var utils = {
858
+ isArray,
859
+ isArrayBuffer,
860
+ isBuffer,
861
+ isFormData,
862
+ isArrayBufferView,
863
+ isString,
864
+ isNumber,
865
+ isBoolean,
866
+ isObject,
867
+ isPlainObject,
868
+ isEmptyObject,
869
+ isReadableStream,
870
+ isRequest,
871
+ isResponse,
872
+ isHeaders,
873
+ isUndefined,
874
+ isDate,
875
+ isFile,
876
+ isReactNativeBlob,
877
+ isReactNative,
878
+ isBlob,
879
+ isRegExp,
880
+ isFunction,
881
+ isStream,
882
+ isURLSearchParams,
883
+ isTypedArray,
884
+ isFileList,
885
+ forEach,
886
+ merge,
887
+ extend,
888
+ trim,
889
+ stripBOM,
890
+ inherits,
891
+ toFlatObject,
892
+ kindOf,
893
+ kindOfTest,
894
+ endsWith,
895
+ toArray,
896
+ forEachEntry,
897
+ matchAll,
898
+ isHTMLForm,
899
+ hasOwnProperty,
900
+ hasOwnProp: hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection
901
+ reduceDescriptors,
902
+ freezeMethods,
903
+ toObjectSet,
904
+ toCamelCase,
905
+ noop,
906
+ toFiniteNumber,
907
+ findKey,
908
+ global: _global,
909
+ isContextDefined,
910
+ isSpecCompliantForm,
911
+ toJSONObject,
912
+ isAsyncFn,
913
+ isThenable,
914
+ setImmediate: _setImmediate,
915
+ asap,
916
+ isIterable,
917
+ };
918
+
919
+ export { utils as default };
920
+ //# sourceMappingURL=utils.js.map