@recode-js/next-toolkit 0.0.1

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 (266) hide show
  1. package/README.md +27 -0
  2. package/dist/NextToolkitProvider.d.ts +8 -0
  3. package/dist/NextToolkitProvider.d.ts.map +1 -0
  4. package/dist/NextToolkitProvider.js +12 -0
  5. package/dist/NextToolkitProvider.js.map +1 -0
  6. package/dist/_virtual/_commonjsHelpers.js +6 -0
  7. package/dist/_virtual/_commonjsHelpers.js.map +1 -0
  8. package/dist/_virtual/browser.js +4 -0
  9. package/dist/_virtual/browser.js.map +1 -0
  10. package/dist/_virtual/index.js +4 -0
  11. package/dist/_virtual/index.js.map +1 -0
  12. package/dist/_virtual/index2.js +4 -0
  13. package/dist/_virtual/index2.js.map +1 -0
  14. package/dist/_virtual/index3.js +4 -0
  15. package/dist/_virtual/index3.js.map +1 -0
  16. package/dist/_virtual/node.js +4 -0
  17. package/dist/_virtual/node.js.map +1 -0
  18. package/dist/_virtual/use-sync-external-store-with-selector.development.js +4 -0
  19. package/dist/_virtual/use-sync-external-store-with-selector.development.js.map +1 -0
  20. package/dist/_virtual/use-sync-external-store-with-selector.production.js +4 -0
  21. package/dist/_virtual/use-sync-external-store-with-selector.production.js.map +1 -0
  22. package/dist/_virtual/with-selector.js +4 -0
  23. package/dist/_virtual/with-selector.js.map +1 -0
  24. package/dist/axios/api.d.ts +16 -0
  25. package/dist/axios/api.d.ts.map +1 -0
  26. package/dist/axios/api.js +11 -0
  27. package/dist/axios/api.js.map +1 -0
  28. package/dist/components/auth/Form.d.ts +10 -0
  29. package/dist/components/auth/Form.d.ts.map +1 -0
  30. package/dist/components/auth/Form.js +49 -0
  31. package/dist/components/auth/Form.js.map +1 -0
  32. package/dist/components/auth/auth.d.ts +8 -0
  33. package/dist/components/auth/auth.d.ts.map +1 -0
  34. package/dist/components/auth/auth.js +18 -0
  35. package/dist/components/auth/auth.js.map +1 -0
  36. package/dist/components/auth/formActions.d.ts +17 -0
  37. package/dist/components/auth/formActions.d.ts.map +1 -0
  38. package/dist/components/auth/formActions.js +58 -0
  39. package/dist/components/auth/formActions.js.map +1 -0
  40. package/dist/components/auth/login/LoginPage.d.ts +7 -0
  41. package/dist/components/auth/login/LoginPage.d.ts.map +1 -0
  42. package/dist/components/auth/login/LoginPage.js +18 -0
  43. package/dist/components/auth/login/LoginPage.js.map +1 -0
  44. package/dist/components/auth/login/login.d.ts +1 -0
  45. package/dist/components/auth/login/login.d.ts.map +1 -0
  46. package/dist/components/auth/register/RegisterPage.d.ts +7 -0
  47. package/dist/components/auth/register/RegisterPage.d.ts.map +1 -0
  48. package/dist/components/auth/register/RegisterPage.js +18 -0
  49. package/dist/components/auth/register/RegisterPage.js.map +1 -0
  50. package/dist/components/auth/register/register.d.ts +1 -0
  51. package/dist/components/auth/register/register.d.ts.map +1 -0
  52. package/dist/components/auth/styles/form.module.css.js +4 -0
  53. package/dist/components/auth/styles/form.module.css.js.map +1 -0
  54. package/dist/components/common/Button.d.ts +25 -0
  55. package/dist/components/common/Button.d.ts.map +1 -0
  56. package/dist/components/common/Button.js +25 -0
  57. package/dist/components/common/Button.js.map +1 -0
  58. package/dist/components/common/styles/button.module.css.js +4 -0
  59. package/dist/components/common/styles/button.module.css.js.map +1 -0
  60. package/dist/components/navigation/NavigatorProvider.d.ts +10 -0
  61. package/dist/components/navigation/NavigatorProvider.d.ts.map +1 -0
  62. package/dist/components/navigation/NavigatorProvider.js +15 -0
  63. package/dist/components/navigation/NavigatorProvider.js.map +1 -0
  64. package/dist/components/navigation/bottom-tab/BottomTab.d.ts +12 -0
  65. package/dist/components/navigation/bottom-tab/BottomTab.d.ts.map +1 -0
  66. package/dist/components/navigation/bottom-tab/BottomTab.js +45 -0
  67. package/dist/components/navigation/bottom-tab/BottomTab.js.map +1 -0
  68. package/dist/components/navigation/bottom-tab/bottom-tab.module.css.js +4 -0
  69. package/dist/components/navigation/bottom-tab/bottom-tab.module.css.js.map +1 -0
  70. package/dist/components/navigation/drawer/Drawer.d.ts +21 -0
  71. package/dist/components/navigation/drawer/Drawer.d.ts.map +1 -0
  72. package/dist/components/navigation/drawer/Drawer.js +91 -0
  73. package/dist/components/navigation/drawer/Drawer.js.map +1 -0
  74. package/dist/components/navigation/drawer/drawer.module.css.js +4 -0
  75. package/dist/components/navigation/drawer/drawer.module.css.js.map +1 -0
  76. package/dist/components/navigation/header/Header.d.ts +7 -0
  77. package/dist/components/navigation/header/Header.d.ts.map +1 -0
  78. package/dist/components/navigation/header/Header.js +32 -0
  79. package/dist/components/navigation/header/Header.js.map +1 -0
  80. package/dist/components/navigation/header/header.module.css.js +4 -0
  81. package/dist/components/navigation/header/header.module.css.js.map +1 -0
  82. package/dist/components/navigation/navigatior-provider.module.css.js +4 -0
  83. package/dist/components/navigation/navigatior-provider.module.css.js.map +1 -0
  84. package/dist/components/toast/Toast.d.ts +9 -0
  85. package/dist/components/toast/Toast.d.ts.map +1 -0
  86. package/dist/components/toast/Toast.js +92 -0
  87. package/dist/components/toast/Toast.js.map +1 -0
  88. package/dist/components/toast/ToastExamples.d.ts +2 -0
  89. package/dist/components/toast/ToastExamples.d.ts.map +1 -0
  90. package/dist/components/toast/ToastExamples.js +74 -0
  91. package/dist/components/toast/ToastExamples.js.map +1 -0
  92. package/dist/components/toast/toast.module.css.js +4 -0
  93. package/dist/components/toast/toast.module.css.js.map +1 -0
  94. package/dist/index.d.ts +11 -0
  95. package/dist/index.d.ts.map +1 -0
  96. package/dist/index.js +9 -0
  97. package/dist/index.js.map +1 -0
  98. package/dist/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js +969 -0
  99. package/dist/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js.map +1 -0
  100. package/dist/node_modules/axios/index.js +26 -0
  101. package/dist/node_modules/axios/index.js.map +1 -0
  102. package/dist/node_modules/axios/lib/adapters/adapters.js +129 -0
  103. package/dist/node_modules/axios/lib/adapters/adapters.js.map +1 -0
  104. package/dist/node_modules/axios/lib/adapters/fetch.js +289 -0
  105. package/dist/node_modules/axios/lib/adapters/fetch.js.map +1 -0
  106. package/dist/node_modules/axios/lib/adapters/http.js +895 -0
  107. package/dist/node_modules/axios/lib/adapters/http.js.map +1 -0
  108. package/dist/node_modules/axios/lib/adapters/xhr.js +203 -0
  109. package/dist/node_modules/axios/lib/adapters/xhr.js.map +1 -0
  110. package/dist/node_modules/axios/lib/axios.js +88 -0
  111. package/dist/node_modules/axios/lib/axios.js.map +1 -0
  112. package/dist/node_modules/axios/lib/cancel/CancelToken.js +135 -0
  113. package/dist/node_modules/axios/lib/cancel/CancelToken.js.map +1 -0
  114. package/dist/node_modules/axios/lib/cancel/CanceledError.js +25 -0
  115. package/dist/node_modules/axios/lib/cancel/CanceledError.js.map +1 -0
  116. package/dist/node_modules/axios/lib/cancel/isCancel.js +7 -0
  117. package/dist/node_modules/axios/lib/cancel/isCancel.js.map +1 -0
  118. package/dist/node_modules/axios/lib/core/Axios.js +238 -0
  119. package/dist/node_modules/axios/lib/core/Axios.js.map +1 -0
  120. package/dist/node_modules/axios/lib/core/AxiosError.js +110 -0
  121. package/dist/node_modules/axios/lib/core/AxiosError.js.map +1 -0
  122. package/dist/node_modules/axios/lib/core/AxiosHeaders.js +314 -0
  123. package/dist/node_modules/axios/lib/core/AxiosHeaders.js.map +1 -0
  124. package/dist/node_modules/axios/lib/core/InterceptorManager.js +71 -0
  125. package/dist/node_modules/axios/lib/core/InterceptorManager.js.map +1 -0
  126. package/dist/node_modules/axios/lib/core/buildFullPath.js +24 -0
  127. package/dist/node_modules/axios/lib/core/buildFullPath.js.map +1 -0
  128. package/dist/node_modules/axios/lib/core/dispatchRequest.js +83 -0
  129. package/dist/node_modules/axios/lib/core/dispatchRequest.js.map +1 -0
  130. package/dist/node_modules/axios/lib/core/mergeConfig.js +108 -0
  131. package/dist/node_modules/axios/lib/core/mergeConfig.js.map +1 -0
  132. package/dist/node_modules/axios/lib/core/settle.js +29 -0
  133. package/dist/node_modules/axios/lib/core/settle.js.map +1 -0
  134. package/dist/node_modules/axios/lib/core/transformData.js +30 -0
  135. package/dist/node_modules/axios/lib/core/transformData.js.map +1 -0
  136. package/dist/node_modules/axios/lib/defaults/index.js +161 -0
  137. package/dist/node_modules/axios/lib/defaults/index.js.map +1 -0
  138. package/dist/node_modules/axios/lib/defaults/transitional.js +9 -0
  139. package/dist/node_modules/axios/lib/defaults/transitional.js.map +1 -0
  140. package/dist/node_modules/axios/lib/env/data.js +4 -0
  141. package/dist/node_modules/axios/lib/env/data.js.map +1 -0
  142. package/dist/node_modules/axios/lib/helpers/AxiosTransformStream.js +143 -0
  143. package/dist/node_modules/axios/lib/helpers/AxiosTransformStream.js.map +1 -0
  144. package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +58 -0
  145. package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js.map +1 -0
  146. package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +78 -0
  147. package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js.map +1 -0
  148. package/dist/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +28 -0
  149. package/dist/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js.map +1 -0
  150. package/dist/node_modules/axios/lib/helpers/bind.js +16 -0
  151. package/dist/node_modules/axios/lib/helpers/bind.js.map +1 -0
  152. package/dist/node_modules/axios/lib/helpers/buildURL.js +69 -0
  153. package/dist/node_modules/axios/lib/helpers/buildURL.js.map +1 -0
  154. package/dist/node_modules/axios/lib/helpers/callbackify.js +17 -0
  155. package/dist/node_modules/axios/lib/helpers/callbackify.js.map +1 -0
  156. package/dist/node_modules/axios/lib/helpers/combineURLs.js +17 -0
  157. package/dist/node_modules/axios/lib/helpers/combineURLs.js.map +1 -0
  158. package/dist/node_modules/axios/lib/helpers/composeSignals.js +49 -0
  159. package/dist/node_modules/axios/lib/helpers/composeSignals.js.map +1 -0
  160. package/dist/node_modules/axios/lib/helpers/cookies.js +55 -0
  161. package/dist/node_modules/axios/lib/helpers/cookies.js.map +1 -0
  162. package/dist/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +76 -0
  163. package/dist/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js.map +1 -0
  164. package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +95 -0
  165. package/dist/node_modules/axios/lib/helpers/formDataToJSON.js.map +1 -0
  166. package/dist/node_modules/axios/lib/helpers/formDataToStream.js +113 -0
  167. package/dist/node_modules/axios/lib/helpers/formDataToStream.js.map +1 -0
  168. package/dist/node_modules/axios/lib/helpers/fromDataURI.js +55 -0
  169. package/dist/node_modules/axios/lib/helpers/fromDataURI.js.map +1 -0
  170. package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js +17 -0
  171. package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js.map +1 -0
  172. package/dist/node_modules/axios/lib/helpers/isAxiosError.js +16 -0
  173. package/dist/node_modules/axios/lib/helpers/isAxiosError.js.map +1 -0
  174. package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js +17 -0
  175. package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js.map +1 -0
  176. package/dist/node_modules/axios/lib/helpers/parseHeaders.js +57 -0
  177. package/dist/node_modules/axios/lib/helpers/parseHeaders.js.map +1 -0
  178. package/dist/node_modules/axios/lib/helpers/parseProtocol.js +8 -0
  179. package/dist/node_modules/axios/lib/helpers/parseProtocol.js.map +1 -0
  180. package/dist/node_modules/axios/lib/helpers/progressEventReducer.js +47 -0
  181. package/dist/node_modules/axios/lib/helpers/progressEventReducer.js.map +1 -0
  182. package/dist/node_modules/axios/lib/helpers/readBlob.js +16 -0
  183. package/dist/node_modules/axios/lib/helpers/readBlob.js.map +1 -0
  184. package/dist/node_modules/axios/lib/helpers/resolveConfig.js +63 -0
  185. package/dist/node_modules/axios/lib/helpers/resolveConfig.js.map +1 -0
  186. package/dist/node_modules/axios/lib/helpers/speedometer.js +55 -0
  187. package/dist/node_modules/axios/lib/helpers/speedometer.js.map +1 -0
  188. package/dist/node_modules/axios/lib/helpers/spread.js +30 -0
  189. package/dist/node_modules/axios/lib/helpers/spread.js.map +1 -0
  190. package/dist/node_modules/axios/lib/helpers/throttle.js +45 -0
  191. package/dist/node_modules/axios/lib/helpers/throttle.js.map +1 -0
  192. package/dist/node_modules/axios/lib/helpers/toFormData.js +222 -0
  193. package/dist/node_modules/axios/lib/helpers/toFormData.js.map +1 -0
  194. package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js +21 -0
  195. package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js.map +1 -0
  196. package/dist/node_modules/axios/lib/helpers/trackStream.js +89 -0
  197. package/dist/node_modules/axios/lib/helpers/trackStream.js.map +1 -0
  198. package/dist/node_modules/axios/lib/helpers/validator.js +101 -0
  199. package/dist/node_modules/axios/lib/helpers/validator.js.map +1 -0
  200. package/dist/node_modules/axios/lib/platform/common/utils.js +46 -0
  201. package/dist/node_modules/axios/lib/platform/common/utils.js.map +1 -0
  202. package/dist/node_modules/axios/lib/platform/index.js +10 -0
  203. package/dist/node_modules/axios/lib/platform/index.js.map +1 -0
  204. package/dist/node_modules/axios/lib/platform/node/classes/FormData.js +3 -0
  205. package/dist/node_modules/axios/lib/platform/node/classes/FormData.js.map +1 -0
  206. package/dist/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +7 -0
  207. package/dist/node_modules/axios/lib/platform/node/classes/URLSearchParams.js.map +1 -0
  208. package/dist/node_modules/axios/lib/platform/node/index.js +41 -0
  209. package/dist/node_modules/axios/lib/platform/node/index.js.map +1 -0
  210. package/dist/node_modules/axios/lib/utils.js +784 -0
  211. package/dist/node_modules/axios/lib/utils.js.map +1 -0
  212. package/dist/node_modules/debug/src/browser.js +287 -0
  213. package/dist/node_modules/debug/src/browser.js.map +1 -0
  214. package/dist/node_modules/debug/src/common.js +304 -0
  215. package/dist/node_modules/debug/src/common.js.map +1 -0
  216. package/dist/node_modules/debug/src/index.js +24 -0
  217. package/dist/node_modules/debug/src/index.js.map +1 -0
  218. package/dist/node_modules/debug/src/node.js +280 -0
  219. package/dist/node_modules/debug/src/node.js.map +1 -0
  220. package/dist/node_modules/follow-redirects/debug.js +20 -0
  221. package/dist/node_modules/follow-redirects/debug.js.map +1 -0
  222. package/dist/node_modules/follow-redirects/index.js +701 -0
  223. package/dist/node_modules/follow-redirects/index.js.map +1 -0
  224. package/dist/node_modules/immer/dist/immer.js +860 -0
  225. package/dist/node_modules/immer/dist/immer.js.map +1 -0
  226. package/dist/node_modules/proxy-from-env/index.js +112 -0
  227. package/dist/node_modules/proxy-from-env/index.js.map +1 -0
  228. package/dist/node_modules/react-redux/dist/react-redux.js +348 -0
  229. package/dist/node_modules/react-redux/dist/react-redux.js.map +1 -0
  230. package/dist/node_modules/redux/dist/redux.js +362 -0
  231. package/dist/node_modules/redux/dist/redux.js.map +1 -0
  232. package/dist/node_modules/redux-thunk/dist/redux-thunk.js +15 -0
  233. package/dist/node_modules/redux-thunk/dist/redux-thunk.js.map +1 -0
  234. package/dist/node_modules/reselect/dist/reselect.js +322 -0
  235. package/dist/node_modules/reselect/dist/reselect.js.map +1 -0
  236. package/dist/node_modules/server-only/index.js +5 -0
  237. package/dist/node_modules/server-only/index.js.map +1 -0
  238. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +108 -0
  239. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js.map +1 -0
  240. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +96 -0
  241. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js.map +1 -0
  242. package/dist/node_modules/use-sync-external-store/with-selector.js +14 -0
  243. package/dist/node_modules/use-sync-external-store/with-selector.js.map +1 -0
  244. package/dist/store/StoreProvider.d.ts +7 -0
  245. package/dist/store/StoreProvider.d.ts.map +1 -0
  246. package/dist/store/StoreProvider.js +11 -0
  247. package/dist/store/StoreProvider.js.map +1 -0
  248. package/dist/store/features/drawer/drawer.slice.d.ts +12 -0
  249. package/dist/store/features/drawer/drawer.slice.d.ts.map +1 -0
  250. package/dist/store/features/drawer/drawer.slice.js +26 -0
  251. package/dist/store/features/drawer/drawer.slice.js.map +1 -0
  252. package/dist/store/features/toast/toastSlice.d.ts +16 -0
  253. package/dist/store/features/toast/toastSlice.d.ts.map +1 -0
  254. package/dist/store/features/toast/toastSlice.js +26 -0
  255. package/dist/store/features/toast/toastSlice.js.map +1 -0
  256. package/dist/store/hooks.d.ts +10 -0
  257. package/dist/store/hooks.d.ts.map +1 -0
  258. package/dist/store/hooks.js +8 -0
  259. package/dist/store/hooks.js.map +1 -0
  260. package/dist/store/store.d.ts +16 -0
  261. package/dist/store/store.d.ts.map +1 -0
  262. package/dist/store/store.js +13 -0
  263. package/dist/store/store.js.map +1 -0
  264. package/dist/styles.css +2 -0
  265. package/dist/styles.css.map +1 -0
  266. package/package.json +57 -0
@@ -0,0 +1,304 @@
1
+ import require$$0 from 'ms';
2
+
3
+ var common;
4
+ var hasRequiredCommon;
5
+
6
+ function requireCommon () {
7
+ if (hasRequiredCommon) return common;
8
+ hasRequiredCommon = 1;
9
+ /**
10
+ * This is the common logic for both the Node.js and web browser
11
+ * implementations of `debug()`.
12
+ */
13
+
14
+ function setup(env) {
15
+ createDebug.debug = createDebug;
16
+ createDebug.default = createDebug;
17
+ createDebug.coerce = coerce;
18
+ createDebug.disable = disable;
19
+ createDebug.enable = enable;
20
+ createDebug.enabled = enabled;
21
+ createDebug.humanize = require$$0;
22
+ createDebug.destroy = destroy;
23
+
24
+ Object.keys(env).forEach(key => {
25
+ createDebug[key] = env[key];
26
+ });
27
+
28
+ /**
29
+ * The currently active debug mode names, and names to skip.
30
+ */
31
+
32
+ createDebug.names = [];
33
+ createDebug.skips = [];
34
+
35
+ /**
36
+ * Map of special "%n" handling functions, for the debug "format" argument.
37
+ *
38
+ * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N".
39
+ */
40
+ createDebug.formatters = {};
41
+
42
+ /**
43
+ * Selects a color for a debug namespace
44
+ * @param {String} namespace The namespace string for the debug instance to be colored
45
+ * @return {Number|String} An ANSI color code for the given namespace
46
+ * @api private
47
+ */
48
+ function selectColor(namespace) {
49
+ let hash = 0;
50
+
51
+ for (let i = 0; i < namespace.length; i++) {
52
+ hash = ((hash << 5) - hash) + namespace.charCodeAt(i);
53
+ hash |= 0; // Convert to 32bit integer
54
+ }
55
+
56
+ return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
57
+ }
58
+ createDebug.selectColor = selectColor;
59
+
60
+ /**
61
+ * Create a debugger with the given `namespace`.
62
+ *
63
+ * @param {String} namespace
64
+ * @return {Function}
65
+ * @api public
66
+ */
67
+ function createDebug(namespace) {
68
+ let prevTime;
69
+ let enableOverride = null;
70
+ let namespacesCache;
71
+ let enabledCache;
72
+
73
+ function debug(...args) {
74
+ // Disabled?
75
+ if (!debug.enabled) {
76
+ return;
77
+ }
78
+
79
+ const self = debug;
80
+
81
+ // Set `diff` timestamp
82
+ const curr = Number(new Date());
83
+ const ms = curr - (prevTime || curr);
84
+ self.diff = ms;
85
+ self.prev = prevTime;
86
+ self.curr = curr;
87
+ prevTime = curr;
88
+
89
+ args[0] = createDebug.coerce(args[0]);
90
+
91
+ if (typeof args[0] !== 'string') {
92
+ // Anything else let's inspect with %O
93
+ args.unshift('%O');
94
+ }
95
+
96
+ // Apply any `formatters` transformations
97
+ let index = 0;
98
+ args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {
99
+ // If we encounter an escaped % then don't increase the array index
100
+ if (match === '%%') {
101
+ return '%';
102
+ }
103
+ index++;
104
+ const formatter = createDebug.formatters[format];
105
+ if (typeof formatter === 'function') {
106
+ const val = args[index];
107
+ match = formatter.call(self, val);
108
+
109
+ // Now we need to remove `args[index]` since it's inlined in the `format`
110
+ args.splice(index, 1);
111
+ index--;
112
+ }
113
+ return match;
114
+ });
115
+
116
+ // Apply env-specific formatting (colors, etc.)
117
+ createDebug.formatArgs.call(self, args);
118
+
119
+ const logFn = self.log || createDebug.log;
120
+ logFn.apply(self, args);
121
+ }
122
+
123
+ debug.namespace = namespace;
124
+ debug.useColors = createDebug.useColors();
125
+ debug.color = createDebug.selectColor(namespace);
126
+ debug.extend = extend;
127
+ debug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.
128
+
129
+ Object.defineProperty(debug, 'enabled', {
130
+ enumerable: true,
131
+ configurable: false,
132
+ get: () => {
133
+ if (enableOverride !== null) {
134
+ return enableOverride;
135
+ }
136
+ if (namespacesCache !== createDebug.namespaces) {
137
+ namespacesCache = createDebug.namespaces;
138
+ enabledCache = createDebug.enabled(namespace);
139
+ }
140
+
141
+ return enabledCache;
142
+ },
143
+ set: v => {
144
+ enableOverride = v;
145
+ }
146
+ });
147
+
148
+ // Env-specific initialization logic for debug instances
149
+ if (typeof createDebug.init === 'function') {
150
+ createDebug.init(debug);
151
+ }
152
+
153
+ return debug;
154
+ }
155
+
156
+ function extend(namespace, delimiter) {
157
+ const newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);
158
+ newDebug.log = this.log;
159
+ return newDebug;
160
+ }
161
+
162
+ /**
163
+ * Enables a debug mode by namespaces. This can include modes
164
+ * separated by a colon and wildcards.
165
+ *
166
+ * @param {String} namespaces
167
+ * @api public
168
+ */
169
+ function enable(namespaces) {
170
+ createDebug.save(namespaces);
171
+ createDebug.namespaces = namespaces;
172
+
173
+ createDebug.names = [];
174
+ createDebug.skips = [];
175
+
176
+ const split = (typeof namespaces === 'string' ? namespaces : '')
177
+ .trim()
178
+ .replace(/\s+/g, ',')
179
+ .split(',')
180
+ .filter(Boolean);
181
+
182
+ for (const ns of split) {
183
+ if (ns[0] === '-') {
184
+ createDebug.skips.push(ns.slice(1));
185
+ } else {
186
+ createDebug.names.push(ns);
187
+ }
188
+ }
189
+ }
190
+
191
+ /**
192
+ * Checks if the given string matches a namespace template, honoring
193
+ * asterisks as wildcards.
194
+ *
195
+ * @param {String} search
196
+ * @param {String} template
197
+ * @return {Boolean}
198
+ */
199
+ function matchesTemplate(search, template) {
200
+ let searchIndex = 0;
201
+ let templateIndex = 0;
202
+ let starIndex = -1;
203
+ let matchIndex = 0;
204
+
205
+ while (searchIndex < search.length) {
206
+ if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === '*')) {
207
+ // Match character or proceed with wildcard
208
+ if (template[templateIndex] === '*') {
209
+ starIndex = templateIndex;
210
+ matchIndex = searchIndex;
211
+ templateIndex++; // Skip the '*'
212
+ } else {
213
+ searchIndex++;
214
+ templateIndex++;
215
+ }
216
+ } else if (starIndex !== -1) { // eslint-disable-line no-negated-condition
217
+ // Backtrack to the last '*' and try to match more characters
218
+ templateIndex = starIndex + 1;
219
+ matchIndex++;
220
+ searchIndex = matchIndex;
221
+ } else {
222
+ return false; // No match
223
+ }
224
+ }
225
+
226
+ // Handle trailing '*' in template
227
+ while (templateIndex < template.length && template[templateIndex] === '*') {
228
+ templateIndex++;
229
+ }
230
+
231
+ return templateIndex === template.length;
232
+ }
233
+
234
+ /**
235
+ * Disable debug output.
236
+ *
237
+ * @return {String} namespaces
238
+ * @api public
239
+ */
240
+ function disable() {
241
+ const namespaces = [
242
+ ...createDebug.names,
243
+ ...createDebug.skips.map(namespace => '-' + namespace)
244
+ ].join(',');
245
+ createDebug.enable('');
246
+ return namespaces;
247
+ }
248
+
249
+ /**
250
+ * Returns true if the given mode name is enabled, false otherwise.
251
+ *
252
+ * @param {String} name
253
+ * @return {Boolean}
254
+ * @api public
255
+ */
256
+ function enabled(name) {
257
+ for (const skip of createDebug.skips) {
258
+ if (matchesTemplate(name, skip)) {
259
+ return false;
260
+ }
261
+ }
262
+
263
+ for (const ns of createDebug.names) {
264
+ if (matchesTemplate(name, ns)) {
265
+ return true;
266
+ }
267
+ }
268
+
269
+ return false;
270
+ }
271
+
272
+ /**
273
+ * Coerce `val`.
274
+ *
275
+ * @param {Mixed} val
276
+ * @return {Mixed}
277
+ * @api private
278
+ */
279
+ function coerce(val) {
280
+ if (val instanceof Error) {
281
+ return val.stack || val.message;
282
+ }
283
+ return val;
284
+ }
285
+
286
+ /**
287
+ * XXX DO NOT USE. This is a temporary stub function.
288
+ * XXX It WILL be removed in the next major release.
289
+ */
290
+ function destroy() {
291
+ console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
292
+ }
293
+
294
+ createDebug.enable(createDebug.load());
295
+
296
+ return createDebug;
297
+ }
298
+
299
+ common = setup;
300
+ return common;
301
+ }
302
+
303
+ export { requireCommon as __require };
304
+ //# sourceMappingURL=common.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.js","sources":["../../../../node_modules/debug/src/common.js"],"sourcesContent":["\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n */\n\nfunction setup(env) {\n\tcreateDebug.debug = createDebug;\n\tcreateDebug.default = createDebug;\n\tcreateDebug.coerce = coerce;\n\tcreateDebug.disable = disable;\n\tcreateDebug.enable = enable;\n\tcreateDebug.enabled = enabled;\n\tcreateDebug.humanize = require('ms');\n\tcreateDebug.destroy = destroy;\n\n\tObject.keys(env).forEach(key => {\n\t\tcreateDebug[key] = env[key];\n\t});\n\n\t/**\n\t* The currently active debug mode names, and names to skip.\n\t*/\n\n\tcreateDebug.names = [];\n\tcreateDebug.skips = [];\n\n\t/**\n\t* Map of special \"%n\" handling functions, for the debug \"format\" argument.\n\t*\n\t* Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n\t*/\n\tcreateDebug.formatters = {};\n\n\t/**\n\t* Selects a color for a debug namespace\n\t* @param {String} namespace The namespace string for the debug instance to be colored\n\t* @return {Number|String} An ANSI color code for the given namespace\n\t* @api private\n\t*/\n\tfunction selectColor(namespace) {\n\t\tlet hash = 0;\n\n\t\tfor (let i = 0; i < namespace.length; i++) {\n\t\t\thash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n\t\t\thash |= 0; // Convert to 32bit integer\n\t\t}\n\n\t\treturn createDebug.colors[Math.abs(hash) % createDebug.colors.length];\n\t}\n\tcreateDebug.selectColor = selectColor;\n\n\t/**\n\t* Create a debugger with the given `namespace`.\n\t*\n\t* @param {String} namespace\n\t* @return {Function}\n\t* @api public\n\t*/\n\tfunction createDebug(namespace) {\n\t\tlet prevTime;\n\t\tlet enableOverride = null;\n\t\tlet namespacesCache;\n\t\tlet enabledCache;\n\n\t\tfunction debug(...args) {\n\t\t\t// Disabled?\n\t\t\tif (!debug.enabled) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst self = debug;\n\n\t\t\t// Set `diff` timestamp\n\t\t\tconst curr = Number(new Date());\n\t\t\tconst ms = curr - (prevTime || curr);\n\t\t\tself.diff = ms;\n\t\t\tself.prev = prevTime;\n\t\t\tself.curr = curr;\n\t\t\tprevTime = curr;\n\n\t\t\targs[0] = createDebug.coerce(args[0]);\n\n\t\t\tif (typeof args[0] !== 'string') {\n\t\t\t\t// Anything else let's inspect with %O\n\t\t\t\targs.unshift('%O');\n\t\t\t}\n\n\t\t\t// Apply any `formatters` transformations\n\t\t\tlet index = 0;\n\t\t\targs[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {\n\t\t\t\t// If we encounter an escaped % then don't increase the array index\n\t\t\t\tif (match === '%%') {\n\t\t\t\t\treturn '%';\n\t\t\t\t}\n\t\t\t\tindex++;\n\t\t\t\tconst formatter = createDebug.formatters[format];\n\t\t\t\tif (typeof formatter === 'function') {\n\t\t\t\t\tconst val = args[index];\n\t\t\t\t\tmatch = formatter.call(self, val);\n\n\t\t\t\t\t// Now we need to remove `args[index]` since it's inlined in the `format`\n\t\t\t\t\targs.splice(index, 1);\n\t\t\t\t\tindex--;\n\t\t\t\t}\n\t\t\t\treturn match;\n\t\t\t});\n\n\t\t\t// Apply env-specific formatting (colors, etc.)\n\t\t\tcreateDebug.formatArgs.call(self, args);\n\n\t\t\tconst logFn = self.log || createDebug.log;\n\t\t\tlogFn.apply(self, args);\n\t\t}\n\n\t\tdebug.namespace = namespace;\n\t\tdebug.useColors = createDebug.useColors();\n\t\tdebug.color = createDebug.selectColor(namespace);\n\t\tdebug.extend = extend;\n\t\tdebug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.\n\n\t\tObject.defineProperty(debug, 'enabled', {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: false,\n\t\t\tget: () => {\n\t\t\t\tif (enableOverride !== null) {\n\t\t\t\t\treturn enableOverride;\n\t\t\t\t}\n\t\t\t\tif (namespacesCache !== createDebug.namespaces) {\n\t\t\t\t\tnamespacesCache = createDebug.namespaces;\n\t\t\t\t\tenabledCache = createDebug.enabled(namespace);\n\t\t\t\t}\n\n\t\t\t\treturn enabledCache;\n\t\t\t},\n\t\t\tset: v => {\n\t\t\t\tenableOverride = v;\n\t\t\t}\n\t\t});\n\n\t\t// Env-specific initialization logic for debug instances\n\t\tif (typeof createDebug.init === 'function') {\n\t\t\tcreateDebug.init(debug);\n\t\t}\n\n\t\treturn debug;\n\t}\n\n\tfunction extend(namespace, delimiter) {\n\t\tconst newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);\n\t\tnewDebug.log = this.log;\n\t\treturn newDebug;\n\t}\n\n\t/**\n\t* Enables a debug mode by namespaces. This can include modes\n\t* separated by a colon and wildcards.\n\t*\n\t* @param {String} namespaces\n\t* @api public\n\t*/\n\tfunction enable(namespaces) {\n\t\tcreateDebug.save(namespaces);\n\t\tcreateDebug.namespaces = namespaces;\n\n\t\tcreateDebug.names = [];\n\t\tcreateDebug.skips = [];\n\n\t\tconst split = (typeof namespaces === 'string' ? namespaces : '')\n\t\t\t.trim()\n\t\t\t.replace(/\\s+/g, ',')\n\t\t\t.split(',')\n\t\t\t.filter(Boolean);\n\n\t\tfor (const ns of split) {\n\t\t\tif (ns[0] === '-') {\n\t\t\t\tcreateDebug.skips.push(ns.slice(1));\n\t\t\t} else {\n\t\t\t\tcreateDebug.names.push(ns);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Checks if the given string matches a namespace template, honoring\n\t * asterisks as wildcards.\n\t *\n\t * @param {String} search\n\t * @param {String} template\n\t * @return {Boolean}\n\t */\n\tfunction matchesTemplate(search, template) {\n\t\tlet searchIndex = 0;\n\t\tlet templateIndex = 0;\n\t\tlet starIndex = -1;\n\t\tlet matchIndex = 0;\n\n\t\twhile (searchIndex < search.length) {\n\t\t\tif (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === '*')) {\n\t\t\t\t// Match character or proceed with wildcard\n\t\t\t\tif (template[templateIndex] === '*') {\n\t\t\t\t\tstarIndex = templateIndex;\n\t\t\t\t\tmatchIndex = searchIndex;\n\t\t\t\t\ttemplateIndex++; // Skip the '*'\n\t\t\t\t} else {\n\t\t\t\t\tsearchIndex++;\n\t\t\t\t\ttemplateIndex++;\n\t\t\t\t}\n\t\t\t} else if (starIndex !== -1) { // eslint-disable-line no-negated-condition\n\t\t\t\t// Backtrack to the last '*' and try to match more characters\n\t\t\t\ttemplateIndex = starIndex + 1;\n\t\t\t\tmatchIndex++;\n\t\t\t\tsearchIndex = matchIndex;\n\t\t\t} else {\n\t\t\t\treturn false; // No match\n\t\t\t}\n\t\t}\n\n\t\t// Handle trailing '*' in template\n\t\twhile (templateIndex < template.length && template[templateIndex] === '*') {\n\t\t\ttemplateIndex++;\n\t\t}\n\n\t\treturn templateIndex === template.length;\n\t}\n\n\t/**\n\t* Disable debug output.\n\t*\n\t* @return {String} namespaces\n\t* @api public\n\t*/\n\tfunction disable() {\n\t\tconst namespaces = [\n\t\t\t...createDebug.names,\n\t\t\t...createDebug.skips.map(namespace => '-' + namespace)\n\t\t].join(',');\n\t\tcreateDebug.enable('');\n\t\treturn namespaces;\n\t}\n\n\t/**\n\t* Returns true if the given mode name is enabled, false otherwise.\n\t*\n\t* @param {String} name\n\t* @return {Boolean}\n\t* @api public\n\t*/\n\tfunction enabled(name) {\n\t\tfor (const skip of createDebug.skips) {\n\t\t\tif (matchesTemplate(name, skip)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tfor (const ns of createDebug.names) {\n\t\t\tif (matchesTemplate(name, ns)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t* Coerce `val`.\n\t*\n\t* @param {Mixed} val\n\t* @return {Mixed}\n\t* @api private\n\t*/\n\tfunction coerce(val) {\n\t\tif (val instanceof Error) {\n\t\t\treturn val.stack || val.message;\n\t\t}\n\t\treturn val;\n\t}\n\n\t/**\n\t* XXX DO NOT USE. This is a temporary stub function.\n\t* XXX It WILL be removed in the next major release.\n\t*/\n\tfunction destroy() {\n\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t}\n\n\tcreateDebug.enable(createDebug.load());\n\n\treturn createDebug;\n}\n\nmodule.exports = setup;\n"],"names":[],"mappings":";;;;;;;;AACA;AACA;AACA;AACA;;CAEA,SAAS,KAAK,CAAC,GAAG,EAAE;AACpB,EAAC,WAAW,CAAC,KAAK,GAAG,WAAW;AAChC,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW;AAClC,EAAC,WAAW,CAAC,MAAM,GAAG,MAAM;AAC5B,EAAC,WAAW,CAAC,OAAO,GAAG,OAAO;AAC9B,EAAC,WAAW,CAAC,MAAM,GAAG,MAAM;AAC5B,EAAC,WAAW,CAAC,OAAO,GAAG,OAAO;AAC9B,EAAC,WAAW,CAAC,QAAQ,GAAG,UAAa;AACrC,EAAC,WAAW,CAAC,OAAO,GAAG,OAAO;;EAE7B,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,IAAI;GAC/B,WAAW,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC;AAC7B,EAAA,CAAE,CAAC;;AAEH;AACA;AACA;;AAEA,EAAC,WAAW,CAAC,KAAK,GAAG,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AE,OAAO,KAAK;AACd,EAAA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAC,SAAS,MAAM,CAAC,GAAG,EAAE;AACtB,GAAE,IAAI,GAAG,YAAY,KAAK,EAAE;AAC5B,IAAG,OAAO,GAAG,CAAC,KAAK,IAAI,GAAG,CAAC,OAAO;AAClC,GAAA;AACA,GAAE,OAAO,GAAG;AACZ,EAAA;;AAEA;AACA;AACA;AACA;EACC,SAAS,OAAO,GAAG;AACpB,GAAE,OAAO,CAAC,IAAI,CAAC,uIAAuI,CAAC;AACvJ,EAAA;;EAEC,WAAW,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;;AAEvC,EAAC,OAAO,WAAW;AACnB,CAAA;;AAEA,CAAA,MAAc,GAAG,KAAK;;;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,24 @@
1
+ import { __module as src } from '../../../_virtual/index3.js';
2
+ import { __require as requireBrowser } from './browser.js';
3
+ import { __require as requireNode } from './node.js';
4
+
5
+ /**
6
+ * Detect Electron renderer / nwjs process, which is node, but we should
7
+ * treat as a browser.
8
+ */
9
+
10
+ var hasRequiredSrc;
11
+
12
+ function requireSrc () {
13
+ if (hasRequiredSrc) return src.exports;
14
+ hasRequiredSrc = 1;
15
+ if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {
16
+ src.exports = requireBrowser();
17
+ } else {
18
+ src.exports = requireNode();
19
+ }
20
+ return src.exports;
21
+ }
22
+
23
+ export { requireSrc as __require };
24
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../node_modules/debug/src/index.js"],"sourcesContent":["/**\n * Detect Electron renderer / nwjs process, which is node, but we should\n * treat as a browser.\n */\n\nif (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {\n\tmodule.exports = require('./browser.js');\n} else {\n\tmodule.exports = require('./node.js');\n}\n"],"names":["srcModule","require$$0","require$$1"],"mappings":";;;;;;;;;;;;;;CAKA,IAAI,OAAO,OAAO,KAAK,WAAW,IAAI,OAAO,CAAC,IAAI,KAAK,UAAU,IAAI,OAAO,CAAC,OAAO,KAAK,IAAI,IAAI,OAAO,CAAC,MAAM,EAAE;EAChHA,GAAA,CAAA,OAAc,GAAGC,cAAA,EAAuB;AACzC,CAAA,CAAC,MAAM;EACND,GAAA,CAAA,OAAc,GAAGE,WAAA,EAAoB;AACtC,CAAA;;;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,280 @@
1
+ import { __module as node } from '../../../_virtual/node.js';
2
+ import require$$0 from 'tty';
3
+ import util from 'util';
4
+ import { __require as requireCommon } from './common.js';
5
+
6
+ /**
7
+ * Module dependencies.
8
+ */
9
+
10
+ var hasRequiredNode;
11
+
12
+ function requireNode () {
13
+ if (hasRequiredNode) return node.exports;
14
+ hasRequiredNode = 1;
15
+ (function (module, exports$1) {
16
+ const tty = require$$0;
17
+ const util$1 = util;
18
+
19
+ /**
20
+ * This is the Node.js implementation of `debug()`.
21
+ */
22
+
23
+ exports$1.init = init;
24
+ exports$1.log = log;
25
+ exports$1.formatArgs = formatArgs;
26
+ exports$1.save = save;
27
+ exports$1.load = load;
28
+ exports$1.useColors = useColors;
29
+ exports$1.destroy = util$1.deprecate(
30
+ () => {},
31
+ 'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'
32
+ );
33
+
34
+ /**
35
+ * Colors.
36
+ */
37
+
38
+ exports$1.colors = [6, 2, 3, 4, 5, 1];
39
+
40
+ try {
41
+ // Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json)
42
+ // eslint-disable-next-line import/no-extraneous-dependencies
43
+ const supportsColor = require('supports-color');
44
+
45
+ if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
46
+ exports$1.colors = [
47
+ 20,
48
+ 21,
49
+ 26,
50
+ 27,
51
+ 32,
52
+ 33,
53
+ 38,
54
+ 39,
55
+ 40,
56
+ 41,
57
+ 42,
58
+ 43,
59
+ 44,
60
+ 45,
61
+ 56,
62
+ 57,
63
+ 62,
64
+ 63,
65
+ 68,
66
+ 69,
67
+ 74,
68
+ 75,
69
+ 76,
70
+ 77,
71
+ 78,
72
+ 79,
73
+ 80,
74
+ 81,
75
+ 92,
76
+ 93,
77
+ 98,
78
+ 99,
79
+ 112,
80
+ 113,
81
+ 128,
82
+ 129,
83
+ 134,
84
+ 135,
85
+ 148,
86
+ 149,
87
+ 160,
88
+ 161,
89
+ 162,
90
+ 163,
91
+ 164,
92
+ 165,
93
+ 166,
94
+ 167,
95
+ 168,
96
+ 169,
97
+ 170,
98
+ 171,
99
+ 172,
100
+ 173,
101
+ 178,
102
+ 179,
103
+ 184,
104
+ 185,
105
+ 196,
106
+ 197,
107
+ 198,
108
+ 199,
109
+ 200,
110
+ 201,
111
+ 202,
112
+ 203,
113
+ 204,
114
+ 205,
115
+ 206,
116
+ 207,
117
+ 208,
118
+ 209,
119
+ 214,
120
+ 215,
121
+ 220,
122
+ 221
123
+ ];
124
+ }
125
+ } catch (error) {
126
+ // Swallow - we only care if `supports-color` is available; it doesn't have to be.
127
+ }
128
+
129
+ /**
130
+ * Build up the default `inspectOpts` object from the environment variables.
131
+ *
132
+ * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js
133
+ */
134
+
135
+ exports$1.inspectOpts = Object.keys(process.env).filter(key => {
136
+ return /^debug_/i.test(key);
137
+ }).reduce((obj, key) => {
138
+ // Camel-case
139
+ const prop = key
140
+ .substring(6)
141
+ .toLowerCase()
142
+ .replace(/_([a-z])/g, (_, k) => {
143
+ return k.toUpperCase();
144
+ });
145
+
146
+ // Coerce string value into JS value
147
+ let val = process.env[key];
148
+ if (/^(yes|on|true|enabled)$/i.test(val)) {
149
+ val = true;
150
+ } else if (/^(no|off|false|disabled)$/i.test(val)) {
151
+ val = false;
152
+ } else if (val === 'null') {
153
+ val = null;
154
+ } else {
155
+ val = Number(val);
156
+ }
157
+
158
+ obj[prop] = val;
159
+ return obj;
160
+ }, {});
161
+
162
+ /**
163
+ * Is stdout a TTY? Colored output is enabled when `true`.
164
+ */
165
+
166
+ function useColors() {
167
+ return 'colors' in exports$1.inspectOpts ?
168
+ Boolean(exports$1.inspectOpts.colors) :
169
+ tty.isatty(process.stderr.fd);
170
+ }
171
+
172
+ /**
173
+ * Adds ANSI color escape codes if enabled.
174
+ *
175
+ * @api public
176
+ */
177
+
178
+ function formatArgs(args) {
179
+ const {namespace: name, useColors} = this;
180
+
181
+ if (useColors) {
182
+ const c = this.color;
183
+ const colorCode = '\u001B[3' + (c < 8 ? c : '8;5;' + c);
184
+ const prefix = ` ${colorCode};1m${name} \u001B[0m`;
185
+
186
+ args[0] = prefix + args[0].split('\n').join('\n' + prefix);
187
+ args.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\u001B[0m');
188
+ } else {
189
+ args[0] = getDate() + name + ' ' + args[0];
190
+ }
191
+ }
192
+
193
+ function getDate() {
194
+ if (exports$1.inspectOpts.hideDate) {
195
+ return '';
196
+ }
197
+ return new Date().toISOString() + ' ';
198
+ }
199
+
200
+ /**
201
+ * Invokes `util.formatWithOptions()` with the specified arguments and writes to stderr.
202
+ */
203
+
204
+ function log(...args) {
205
+ return process.stderr.write(util$1.formatWithOptions(exports$1.inspectOpts, ...args) + '\n');
206
+ }
207
+
208
+ /**
209
+ * Save `namespaces`.
210
+ *
211
+ * @param {String} namespaces
212
+ * @api private
213
+ */
214
+ function save(namespaces) {
215
+ if (namespaces) {
216
+ process.env.DEBUG = namespaces;
217
+ } else {
218
+ // If you set a process.env field to null or undefined, it gets cast to the
219
+ // string 'null' or 'undefined'. Just delete instead.
220
+ delete process.env.DEBUG;
221
+ }
222
+ }
223
+
224
+ /**
225
+ * Load `namespaces`.
226
+ *
227
+ * @return {String} returns the previously persisted debug modes
228
+ * @api private
229
+ */
230
+
231
+ function load() {
232
+ return process.env.DEBUG;
233
+ }
234
+
235
+ /**
236
+ * Init logic for `debug` instances.
237
+ *
238
+ * Create a new `inspectOpts` object in case `useColors` is set
239
+ * differently for a particular `debug` instance.
240
+ */
241
+
242
+ function init(debug) {
243
+ debug.inspectOpts = {};
244
+
245
+ const keys = Object.keys(exports$1.inspectOpts);
246
+ for (let i = 0; i < keys.length; i++) {
247
+ debug.inspectOpts[keys[i]] = exports$1.inspectOpts[keys[i]];
248
+ }
249
+ }
250
+
251
+ module.exports = requireCommon()(exports$1);
252
+
253
+ const {formatters} = module.exports;
254
+
255
+ /**
256
+ * Map %o to `util.inspect()`, all on a single line.
257
+ */
258
+
259
+ formatters.o = function (v) {
260
+ this.inspectOpts.colors = this.useColors;
261
+ return util$1.inspect(v, this.inspectOpts)
262
+ .split('\n')
263
+ .map(str => str.trim())
264
+ .join(' ');
265
+ };
266
+
267
+ /**
268
+ * Map %O to `util.inspect()`, allowing multiple lines if needed.
269
+ */
270
+
271
+ formatters.O = function (v) {
272
+ this.inspectOpts.colors = this.useColors;
273
+ return util$1.inspect(v, this.inspectOpts);
274
+ };
275
+ } (node, node.exports));
276
+ return node.exports;
277
+ }
278
+
279
+ export { requireNode as __require };
280
+ //# sourceMappingURL=node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node.js","sources":["../../../../node_modules/debug/src/node.js"],"sourcesContent":["/**\n * Module dependencies.\n */\n\nconst tty = require('tty');\nconst util = require('util');\n\n/**\n * This is the Node.js implementation of `debug()`.\n */\n\nexports.init = init;\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.destroy = util.deprecate(\n\t() => {},\n\t'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'\n);\n\n/**\n * Colors.\n */\n\nexports.colors = [6, 2, 3, 4, 5, 1];\n\ntry {\n\t// Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json)\n\t// eslint-disable-next-line import/no-extraneous-dependencies\n\tconst supportsColor = require('supports-color');\n\n\tif (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {\n\t\texports.colors = [\n\t\t\t20,\n\t\t\t21,\n\t\t\t26,\n\t\t\t27,\n\t\t\t32,\n\t\t\t33,\n\t\t\t38,\n\t\t\t39,\n\t\t\t40,\n\t\t\t41,\n\t\t\t42,\n\t\t\t43,\n\t\t\t44,\n\t\t\t45,\n\t\t\t56,\n\t\t\t57,\n\t\t\t62,\n\t\t\t63,\n\t\t\t68,\n\t\t\t69,\n\t\t\t74,\n\t\t\t75,\n\t\t\t76,\n\t\t\t77,\n\t\t\t78,\n\t\t\t79,\n\t\t\t80,\n\t\t\t81,\n\t\t\t92,\n\t\t\t93,\n\t\t\t98,\n\t\t\t99,\n\t\t\t112,\n\t\t\t113,\n\t\t\t128,\n\t\t\t129,\n\t\t\t134,\n\t\t\t135,\n\t\t\t148,\n\t\t\t149,\n\t\t\t160,\n\t\t\t161,\n\t\t\t162,\n\t\t\t163,\n\t\t\t164,\n\t\t\t165,\n\t\t\t166,\n\t\t\t167,\n\t\t\t168,\n\t\t\t169,\n\t\t\t170,\n\t\t\t171,\n\t\t\t172,\n\t\t\t173,\n\t\t\t178,\n\t\t\t179,\n\t\t\t184,\n\t\t\t185,\n\t\t\t196,\n\t\t\t197,\n\t\t\t198,\n\t\t\t199,\n\t\t\t200,\n\t\t\t201,\n\t\t\t202,\n\t\t\t203,\n\t\t\t204,\n\t\t\t205,\n\t\t\t206,\n\t\t\t207,\n\t\t\t208,\n\t\t\t209,\n\t\t\t214,\n\t\t\t215,\n\t\t\t220,\n\t\t\t221\n\t\t];\n\t}\n} catch (error) {\n\t// Swallow - we only care if `supports-color` is available; it doesn't have to be.\n}\n\n/**\n * Build up the default `inspectOpts` object from the environment variables.\n *\n * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js\n */\n\nexports.inspectOpts = Object.keys(process.env).filter(key => {\n\treturn /^debug_/i.test(key);\n}).reduce((obj, key) => {\n\t// Camel-case\n\tconst prop = key\n\t\t.substring(6)\n\t\t.toLowerCase()\n\t\t.replace(/_([a-z])/g, (_, k) => {\n\t\t\treturn k.toUpperCase();\n\t\t});\n\n\t// Coerce string value into JS value\n\tlet val = process.env[key];\n\tif (/^(yes|on|true|enabled)$/i.test(val)) {\n\t\tval = true;\n\t} else if (/^(no|off|false|disabled)$/i.test(val)) {\n\t\tval = false;\n\t} else if (val === 'null') {\n\t\tval = null;\n\t} else {\n\t\tval = Number(val);\n\t}\n\n\tobj[prop] = val;\n\treturn obj;\n}, {});\n\n/**\n * Is stdout a TTY? Colored output is enabled when `true`.\n */\n\nfunction useColors() {\n\treturn 'colors' in exports.inspectOpts ?\n\t\tBoolean(exports.inspectOpts.colors) :\n\t\ttty.isatty(process.stderr.fd);\n}\n\n/**\n * Adds ANSI color escape codes if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\tconst {namespace: name, useColors} = this;\n\n\tif (useColors) {\n\t\tconst c = this.color;\n\t\tconst colorCode = '\\u001B[3' + (c < 8 ? c : '8;5;' + c);\n\t\tconst prefix = ` ${colorCode};1m${name} \\u001B[0m`;\n\n\t\targs[0] = prefix + args[0].split('\\n').join('\\n' + prefix);\n\t\targs.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\\u001B[0m');\n\t} else {\n\t\targs[0] = getDate() + name + ' ' + args[0];\n\t}\n}\n\nfunction getDate() {\n\tif (exports.inspectOpts.hideDate) {\n\t\treturn '';\n\t}\n\treturn new Date().toISOString() + ' ';\n}\n\n/**\n * Invokes `util.formatWithOptions()` with the specified arguments and writes to stderr.\n */\n\nfunction log(...args) {\n\treturn process.stderr.write(util.formatWithOptions(exports.inspectOpts, ...args) + '\\n');\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\tif (namespaces) {\n\t\tprocess.env.DEBUG = namespaces;\n\t} else {\n\t\t// If you set a process.env field to null or undefined, it gets cast to the\n\t\t// string 'null' or 'undefined'. Just delete instead.\n\t\tdelete process.env.DEBUG;\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n\treturn process.env.DEBUG;\n}\n\n/**\n * Init logic for `debug` instances.\n *\n * Create a new `inspectOpts` object in case `useColors` is set\n * differently for a particular `debug` instance.\n */\n\nfunction init(debug) {\n\tdebug.inspectOpts = {};\n\n\tconst keys = Object.keys(exports.inspectOpts);\n\tfor (let i = 0; i < keys.length; i++) {\n\t\tdebug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];\n\t}\n}\n\nmodule.exports = require('./common')(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %o to `util.inspect()`, all on a single line.\n */\n\nformatters.o = function (v) {\n\tthis.inspectOpts.colors = this.useColors;\n\treturn util.inspect(v, this.inspectOpts)\n\t\t.split('\\n')\n\t\t.map(str => str.trim())\n\t\t.join(' ');\n};\n\n/**\n * Map %O to `util.inspect()`, allowing multiple lines if needed.\n */\n\nformatters.O = function (v) {\n\tthis.inspectOpts.colors = this.useColors;\n\treturn util.inspect(v, this.inspectOpts);\n};\n"],"names":["util","require$$1","exports","require$$3"],"mappings":";;;;;;;;;;;;;;;EAIA,MAAM,GAAG,GAAG,UAAc;EAC1B,MAAMA,MAAI,GAAGC,IAAe;;AAE5B;AACA;AACA;;AAEA,EAAAC,SAAA,CAAA,IAAA,GAAe,IAAI;AACnB,EAAAA,SAAA,CAAA,GAAA,GAAc,GAAG;AACjB,EAAAA,SAAA,CAAA,UAAA,GAAqB,UAAU;AAC/B,EAAAA,SAAA,CAAA,IAAA,GAAe,IAAI;AACnB,EAAAA,SAAA,CAAA,IAAA,GAAe,IAAI;AACnB,EAAAA,SAAA,CAAA,SAAA,GAAoB,SAAS;EAC7BA,SAAA,CAAA,OAAA,GAAkBF,MAAI,CAAC,SAAS;AAChC,GAAC,MAAM,CAAA,CAAE;GACR;GACA;;AAED;AACA;AACA;;AAEA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ACA,EAAA;;EAEA,MAAA,CAAA,OAAA,GAAiBC,aAAA,EAAmB,CAACD,SAAO,CAAC;;AAE7C,EAAA,MAAM,CAAC,UAAU,CAAC,GAAG,MAAM,CAAC,OAAO;;AAEnC;AACA;AACA;;AAEA,EAAA,UAAU,CAAC,CAAC,GAAG,UAAU,CAAC,EAAE;GAC3B,IAAI,CAAC,WAAW,CAAC,MAAM,GAAG,IAAI,CAAC,SAAS;GACxC,OAAOF,MAAI,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,WAAW;KACrC,KAAK,CAAC,IAAI;AACb,KAAG,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;KACrB,IAAI,CAAC,GAAG,CAAC;EACZ,CAAC;;AAED;AACA;AACA;;AAEA,EAAA,UAAU,CAAC,CAAC,GAAG,UAAU,CAAC,EAAE;GAC3B,IAAI,CAAC,WAAW,CAAC,MAAM,GAAG,IAAI,CAAC,SAAS;GACxC,OAAOA,MAAI,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,WAAW,CAAC;EACzC,CAAC,CAAA;;;;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,20 @@
1
+ import { __require as requireSrc } from '../debug/src/index.js';
2
+
3
+ var debug;
4
+
5
+ var debug_1 = function () {
6
+ if (!debug) {
7
+ try {
8
+ /* eslint global-require: off */
9
+ debug = requireSrc()("follow-redirects");
10
+ }
11
+ catch (error) { /* */ }
12
+ if (typeof debug !== "function") {
13
+ debug = function () { /* */ };
14
+ }
15
+ }
16
+ debug.apply(null, arguments);
17
+ };
18
+
19
+ export { debug_1 as d };
20
+ //# sourceMappingURL=debug.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debug.js","sources":["../../../node_modules/follow-redirects/debug.js"],"sourcesContent":["var debug;\n\nmodule.exports = function () {\n if (!debug) {\n try {\n /* eslint global-require: off */\n debug = require(\"debug\")(\"follow-redirects\");\n }\n catch (error) { /* */ }\n if (typeof debug !== \"function\") {\n debug = function () { /* */ };\n }\n }\n debug.apply(null, arguments);\n};\n"],"names":["require$$0"],"mappings":";;AAAA,IAAI,KAAK;;AAET,IAAA,OAAc,GAAG,YAAY;AAC7B,EAAE,IAAI,CAAC,KAAK,EAAE;AACd,IAAI,IAAI;AACR;AACA,MAAM,KAAK,GAAGA,UAAA,EAAgB,CAAC,kBAAkB,CAAC;AAClD,IAAA;AACA,IAAI,OAAO,KAAK,EAAE,QAAA;AAClB,IAAI,IAAI,OAAO,KAAK,KAAK,UAAU,EAAE;AACrC,MAAM,KAAK,GAAG,YAAY,QAAA,CAAS;AACnC,IAAA;AACA,EAAA;AACA,EAAE,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC;AAC9B;;;;","x_google_ignoreList":[0]}