@unicom-cloud/utils 0.1.27 → 0.1.29

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 (300) hide show
  1. package/case-name/index.js +1 -1
  2. package/caseName.js +1 -1
  3. package/class-name/index.js +1 -1
  4. package/className.js +1 -1
  5. package/clipboard-copy/index.js +1 -1
  6. package/clipboardCopy.js +1 -1
  7. package/constant/address.js +1 -1
  8. package/constant/chineseCharacters.js +1 -1
  9. package/constant/constellations.js +1 -1
  10. package/constant/domain.js +1 -1
  11. package/constant/emoji.js +1 -1
  12. package/constant/identity.js +1 -1
  13. package/constant/index.js +1 -1
  14. package/constant/keyboardCode.js +1 -1
  15. package/constant/licensePlate.js +1 -1
  16. package/constant/name.js +1 -1
  17. package/constant/platform.js +1 -1
  18. package/constant/protocol.js +1 -1
  19. package/constant/ui.js +1 -1
  20. package/constant.js +1 -1
  21. package/content-disposition/index.js +1 -1
  22. package/contentDisposition.js +1 -1
  23. package/cookie/LICENSE +21 -0
  24. package/cookie/index.js +3 -32
  25. package/{js-cookie → cookie}/src/api.js +1 -1
  26. package/{js-cookie → cookie}/src/assign.js +1 -1
  27. package/{js-cookie → cookie}/src/converter.js +1 -1
  28. package/cookie.js +3 -6
  29. package/date/convertTime.js +1 -1
  30. package/date/convertToDuration.js +1 -1
  31. package/date/index.js +1 -1
  32. package/date.js +1 -1
  33. package/decimal/decimal.js +1 -1
  34. package/decimal/index.js +1 -1
  35. package/decimal.js +1 -1
  36. package/dom-helpers/LICENSE +20 -0
  37. package/dom-helpers/activeElement.js +1 -1
  38. package/dom-helpers/addClass.js +1 -1
  39. package/dom-helpers/addEventListener.js +1 -1
  40. package/dom-helpers/animate.js +1 -1
  41. package/dom-helpers/animationFrame.js +1 -1
  42. package/dom-helpers/attribute.js +1 -1
  43. package/dom-helpers/camelize.js +1 -1
  44. package/dom-helpers/camelizeStyle.js +1 -1
  45. package/dom-helpers/canUseDOM.js +1 -1
  46. package/dom-helpers/childElements.js +1 -1
  47. package/dom-helpers/childNodes.js +1 -1
  48. package/dom-helpers/clear.js +1 -1
  49. package/dom-helpers/closest.js +1 -1
  50. package/dom-helpers/collectElements.js +1 -1
  51. package/dom-helpers/collectSiblings.js +1 -1
  52. package/dom-helpers/contains.js +1 -1
  53. package/dom-helpers/css.js +1 -1
  54. package/dom-helpers/filterEventHandler.js +1 -1
  55. package/dom-helpers/getComputedStyle.js +1 -1
  56. package/dom-helpers/getScrollAccessor.js +1 -1
  57. package/dom-helpers/hasClass.js +1 -1
  58. package/dom-helpers/height.js +1 -1
  59. package/dom-helpers/hyphenate.js +1 -1
  60. package/dom-helpers/hyphenateStyle.js +1 -1
  61. package/dom-helpers/index.js +1 -1
  62. package/dom-helpers/insertAfter.js +1 -1
  63. package/dom-helpers/isDocument.js +1 -1
  64. package/dom-helpers/isInput.js +1 -1
  65. package/dom-helpers/isTransform.js +1 -1
  66. package/dom-helpers/isVisible.js +1 -1
  67. package/dom-helpers/isWindow.js +1 -1
  68. package/dom-helpers/listen.js +1 -1
  69. package/dom-helpers/matches.js +1 -1
  70. package/dom-helpers/nextUntil.js +1 -1
  71. package/dom-helpers/offset.js +1 -1
  72. package/dom-helpers/offsetParent.js +1 -1
  73. package/dom-helpers/ownerDocument.js +1 -1
  74. package/dom-helpers/ownerWindow.js +1 -1
  75. package/dom-helpers/parents.js +1 -1
  76. package/dom-helpers/position.js +1 -1
  77. package/dom-helpers/prepend.js +1 -1
  78. package/dom-helpers/querySelectorAll.js +1 -1
  79. package/dom-helpers/reflow.js +1 -1
  80. package/dom-helpers/remove.js +1 -1
  81. package/dom-helpers/removeClass.js +1 -1
  82. package/dom-helpers/removeEventListener.js +1 -1
  83. package/dom-helpers/scrollLeft.js +1 -1
  84. package/dom-helpers/scrollParent.js +1 -1
  85. package/dom-helpers/scrollTo.js +1 -1
  86. package/dom-helpers/scrollTop.js +1 -1
  87. package/dom-helpers/scrollbarSize.js +1 -1
  88. package/dom-helpers/siblings.js +1 -1
  89. package/dom-helpers/text.js +1 -1
  90. package/dom-helpers/toggleClass.js +1 -1
  91. package/dom-helpers/transitionEnd.js +1 -1
  92. package/dom-helpers/triggerEvent.js +1 -1
  93. package/dom-helpers/types.js +1 -1
  94. package/dom-helpers/width.js +1 -1
  95. package/domHelpers.js +1 -1
  96. package/emitter/index.js +1 -1
  97. package/emitter/src/index.js +1 -1
  98. package/emitter.js +1 -1
  99. package/file/fileToURL.js +1 -1
  100. package/file/index.js +1 -1
  101. package/file/saveAs.js +1 -1
  102. package/file.js +1 -1
  103. package/filesize/LICENSE +26 -0
  104. package/idb/index.js +1 -1
  105. package/idb.js +1 -1
  106. package/index.js +1 -1
  107. package/invariant/index.js +1 -1
  108. package/invariant.js +1 -1
  109. package/is/index.js +1 -1
  110. package/is.js +1 -1
  111. package/lodash/LICENSE +47 -0
  112. package/lunar/LICENSE +20 -0
  113. package/lunar/index.js +1 -1
  114. package/lunar/lib/Holiday.js +1 -1
  115. package/lunar/lib/HolidayUtil.js +1 -1
  116. package/lunar/lib/I18n.js +1 -1
  117. package/lunar/lib/JieQi.js +1 -1
  118. package/lunar/lib/Lunar.js +1 -1
  119. package/lunar/lib/LunarMonth.js +1 -1
  120. package/lunar/lib/LunarTime.js +1 -1
  121. package/lunar/lib/LunarUtil.js +1 -1
  122. package/lunar/lib/LunarYear.js +1 -1
  123. package/lunar/lib/ShouXingUtil.js +1 -1
  124. package/lunar/lib/Solar.js +1 -1
  125. package/lunar/lib/SolarHalfYear.js +1 -1
  126. package/lunar/lib/SolarMonth.js +1 -1
  127. package/lunar/lib/SolarSeason.js +1 -1
  128. package/lunar/lib/SolarUtil.js +1 -1
  129. package/lunar/lib/SolarWeek.js +1 -1
  130. package/lunar/lib/SolarYear.js +1 -1
  131. package/lunar/lib/index.js +1 -1
  132. package/lunar.js +1 -1
  133. package/math/index.js +1 -1
  134. package/math.js +1 -1
  135. package/md5/index.js +1 -1
  136. package/md5.js +1 -1
  137. package/mock/MockWebSocket.js +1 -1
  138. package/mock/MockXMLHttpRequest.js +1 -1
  139. package/mock/index.js +1 -1
  140. package/mock.js +1 -1
  141. package/normalize-wheel/ExecutionEnvironment.js +1 -1
  142. package/normalize-wheel/UserAgent_DEPRECATED.js +1 -1
  143. package/normalize-wheel/index.js +1 -1
  144. package/normalize-wheel/isEventSupported.js +1 -1
  145. package/normalizeWheel.js +1 -1
  146. package/number-to-chinese/index.js +1 -1
  147. package/numberToChinese.js +1 -1
  148. package/nzh/cn.js +1 -1
  149. package/nzh/hk.js +1 -1
  150. package/nzh/index.js +1 -1
  151. package/nzh/nzh.js +1 -1
  152. package/nzh/src/autoGet.js +1 -1
  153. package/nzh/src/index.js +1 -1
  154. package/nzh/src/langs/cn_b.js +1 -1
  155. package/nzh/src/langs/cn_s.js +1 -1
  156. package/nzh/src/langs/hk_b.js +1 -1
  157. package/nzh/src/langs/hk_s.js +1 -1
  158. package/nzh/src/utils.js +1 -1
  159. package/nzh.js +1 -1
  160. package/object-keys-sort/index.js +1 -1
  161. package/object-prototype-to-string-call/index.js +1 -1
  162. package/objectKeysSort.js +1 -1
  163. package/objectPrototypeToStringCall.js +1 -1
  164. package/package.json +1 -1
  165. package/pinyin/LICENSE +20 -0
  166. package/pinyin/index.d.ts +6 -0
  167. package/pinyin/index.js +1 -1
  168. package/pinyin/simplified.js +1 -1
  169. package/pinyin/src/core.js +62 -62
  170. package/pinyin/src/simplified.js +1 -1
  171. package/pinyin/src/simplified_dict.js +2 -2
  172. package/pinyin/src/traditional.js +1 -1
  173. package/pinyin/src/traditional_dict.js +1 -1
  174. package/pinyin/traditional.js +1 -1
  175. package/pinyin.js +1 -1
  176. package/query-string/LICENSE +20 -0
  177. package/query-string/base.js +1 -1
  178. package/query-string/index.js +1 -1
  179. package/query-string/splitOnFirst.js +1 -1
  180. package/queryString.js +1 -1
  181. package/random/address.js +1 -1
  182. package/random/constellation.js +1 -1
  183. package/random/image.js +1 -1
  184. package/random/index.js +1 -1
  185. package/random/licensePlate.js +1 -1
  186. package/random/name.js +1 -1
  187. package/random/number.js +1 -1
  188. package/random/text.js +1 -1
  189. package/random/time.js +1 -1
  190. package/random/web.js +1 -1
  191. package/random.js +1 -1
  192. package/screenfull/index.js +1 -1
  193. package/screenfull.js +1 -1
  194. package/sleep/index.js +1 -1
  195. package/sleep.js +1 -1
  196. package/snapdom/LICENSE +20 -0
  197. package/snapdom/index.js +1 -1
  198. package/snapdom/src/api/preCache.js +1 -1
  199. package/snapdom/src/api/snapdom.js +1 -1
  200. package/snapdom/src/core/cache.js +1 -1
  201. package/snapdom/src/core/capture.js +1 -1
  202. package/snapdom/src/core/clone.js +1 -1
  203. package/snapdom/src/core/context.js +1 -1
  204. package/snapdom/src/core/plugins.js +1 -1
  205. package/snapdom/src/core/prepare.js +1 -1
  206. package/snapdom/src/exporters/download.js +1 -1
  207. package/snapdom/src/exporters/toBlob.js +1 -1
  208. package/snapdom/src/exporters/toCanvas.js +1 -1
  209. package/snapdom/src/exporters/toImg.js +1 -1
  210. package/snapdom/src/modules/CSSVar.js +1 -1
  211. package/snapdom/src/modules/background.js +1 -1
  212. package/snapdom/src/modules/changeCSS.js +1 -1
  213. package/snapdom/src/modules/counter.js +1 -1
  214. package/snapdom/src/modules/fonts.js +1 -1
  215. package/snapdom/src/modules/iconFonts.js +1 -1
  216. package/snapdom/src/modules/images.js +1 -1
  217. package/snapdom/src/modules/lineClamp.js +1 -1
  218. package/snapdom/src/modules/pseudo.js +1 -1
  219. package/snapdom/src/modules/rasterize.js +1 -1
  220. package/snapdom/src/modules/snapFetch.js +1 -1
  221. package/snapdom/src/modules/styles.js +1 -1
  222. package/snapdom/src/modules/svgDefs.js +1 -1
  223. package/snapdom/src/utils/browser.js +1 -1
  224. package/snapdom/src/utils/css.js +1 -1
  225. package/snapdom/src/utils/helpers.js +1 -1
  226. package/snapdom/src/utils/image.js +1 -1
  227. package/snapdom.js +1 -1
  228. package/string/index.js +7 -0
  229. package/string.js +5 -0
  230. package/tinycolor/LICENSE +18 -0
  231. package/tinycolor/index.js +1 -1
  232. package/tinycolor/src/conversion.js +1 -1
  233. package/tinycolor/src/css-color-names.js +1 -1
  234. package/tinycolor/src/format-input.js +1 -1
  235. package/tinycolor/src/from-ratio.js +1 -1
  236. package/tinycolor/src/index.js +1 -1
  237. package/tinycolor/src/random.js +1 -1
  238. package/tinycolor/src/readability.js +1 -1
  239. package/tinycolor/src/to-ms-filter.js +1 -1
  240. package/tinycolor/src/utils.js +1 -1
  241. package/tinycolor.js +1 -1
  242. package/tree/index.js +1 -1
  243. package/tree/search/index.js +1 -1
  244. package/tree.js +1 -1
  245. package/tween/index.js +1 -1
  246. package/tween/src/easing.js +1 -1
  247. package/tween/src/tween.js +1 -1
  248. package/tween.js +1 -1
  249. package/types/cookie/index.d.ts +1 -4
  250. package/types/string/index.d.ts +8 -0
  251. package/types/xlsx/index.d.ts +2 -0
  252. package/types/xlsx/xlsx.d.ts +224 -0
  253. package/ui-color/compareColorByRange.js +1 -1
  254. package/ui-color/index.js +1 -1
  255. package/uiColor.js +1 -1
  256. package/url-toolkit/LICENSE +190 -0
  257. package/url-toolkit/index.js +1 -1
  258. package/url-toolkit/src/url-toolkit.js +2 -2
  259. package/urlToolkit.js +1 -1
  260. package/validate/index.js +1 -1
  261. package/validate/src/index.js +1 -1
  262. package/validate/src/locale/en-US.js +1 -1
  263. package/validate/src/locale/zh-CN.js +1 -1
  264. package/validate/src/message.js +1 -1
  265. package/validate/src/rules/array.js +1 -1
  266. package/validate/src/rules/base.js +1 -1
  267. package/validate/src/rules/boolean.js +1 -1
  268. package/validate/src/rules/custom.js +1 -1
  269. package/validate/src/rules/number.js +1 -1
  270. package/validate/src/rules/object.js +1 -1
  271. package/validate/src/rules/string.js +1 -1
  272. package/validate/src/rules/type.js +1 -1
  273. package/validate/src/utils.js +1 -1
  274. package/validate.js +1 -1
  275. package/version/index.js +1 -1
  276. package/version.js +1 -1
  277. package/xlsx/LICENSE +189 -0
  278. package/xlsx/index.d.ts +1139 -0
  279. package/xlsx/index.js +23 -0
  280. package/xlsx/xlsx.js +28329 -0
  281. package/xlsx.js +23 -0
  282. package/axios/chunk/BJvTEV6n.js +0 -253
  283. package/axios/chunk/CB3wlosT.js +0 -64
  284. package/axios/index.d.ts +0 -796
  285. package/axios/index.js +0 -43
  286. package/axios/lib/axios.js +0 -1635
  287. package/axios/lib/utils.js +0 -5
  288. package/axios/mock-adapter/index.d.ts +0 -59
  289. package/axios/mock-adapter/index.js +0 -205
  290. package/axios/mock-adapter/request.js +0 -50
  291. package/axios/mock-adapter/utils.js +0 -130
  292. package/cookie/src/index.js +0 -117
  293. package/js-cookie/index.js +0 -5
  294. package/jsCookie.js +0 -5
  295. package/types/cookie/src/index.d.ts +0 -114
  296. package/types/js-cookie/index.d.ts +0 -1
  297. /package/{js-cookie → cookie}/index.d.ts +0 -0
  298. /package/types/{js-cookie → cookie}/src/api.d.mts +0 -0
  299. /package/types/{js-cookie → cookie}/src/assign.d.mts +0 -0
  300. /package/types/{js-cookie → cookie}/src/converter.d.mts +0 -0
package/xlsx.js ADDED
@@ -0,0 +1,23 @@
1
+ /* 2025-11-14 16:26:46 */
2
+ import { CFB as r, SSF as t, default as l, parse_xlscfb as s, parse_zip as a, read as F, readFile as w, readFile as S, set_cptable as c, set_fs as d, stream as p, utils as f, version as n, write as X, writeFile as _, writeFileAsync as o, writeFile as y, writeFileXLSX as b, writeXLSX as m } from "./xlsx/xlsx.js";
3
+ export {
4
+ r as CFB,
5
+ t as SSF,
6
+ l as default,
7
+ s as parse_xlscfb,
8
+ a as parse_zip,
9
+ F as read,
10
+ w as readFile,
11
+ S as readFileSync,
12
+ c as set_cptable,
13
+ d as set_fs,
14
+ p as stream,
15
+ f as utils,
16
+ n as version,
17
+ X as write,
18
+ _ as writeFile,
19
+ o as writeFileAsync,
20
+ y as writeFileSync,
21
+ b as writeFileXLSX,
22
+ m as writeXLSX
23
+ };
@@ -1,253 +0,0 @@
1
- /* 2025-11-07 13:23:48 */
2
- function R(e, t) {
3
- return function() {
4
- return e.apply(t, arguments);
5
- };
6
- }
7
- const { toString: T } = Object.prototype, { getPrototypeOf: A } = Object, { iterator: g, toStringTag: S } = Symbol, O = /* @__PURE__ */ ((e) => (t) => {
8
- const n = T.call(t);
9
- return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
10
- })(/* @__PURE__ */ Object.create(null)), f = (e) => (e = e.toLowerCase(), (t) => O(t) === e), F = (e) => (t) => typeof t === e, { isArray: p } = Array, a = F("undefined");
11
- function d(e) {
12
- return e !== null && !a(e) && e.constructor !== null && !a(e.constructor) && c(e.constructor.isBuffer) && e.constructor.isBuffer(e);
13
- }
14
- const B = f("ArrayBuffer");
15
- function M(e) {
16
- let t;
17
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && B(e.buffer), t;
18
- }
19
- const k = F("string"), c = F("function"), P = F("number"), y = (e) => e !== null && typeof e == "object", U = (e) => e === !0 || e === !1, w = (e) => {
20
- if (O(e) !== "object")
21
- return !1;
22
- const t = A(e);
23
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(S in e) && !(g in e);
24
- }, N = (e) => {
25
- if (!y(e) || d(e))
26
- return !1;
27
- try {
28
- return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
29
- } catch {
30
- return !1;
31
- }
32
- }, I = f("Date"), V = f("File"), _ = f("Blob"), q = f("FileList"), H = (e) => y(e) && c(e.pipe), z = (e) => {
33
- let t;
34
- return e && (typeof FormData == "function" && e instanceof FormData || c(e.append) && ((t = O(e)) === "formdata" || // detect form-data instance
35
- t === "object" && c(e.toString) && e.toString() === "[object FormData]"));
36
- }, J = f("URLSearchParams"), [K, $, W, G] = [
37
- "ReadableStream",
38
- "Request",
39
- "Response",
40
- "Headers"
41
- ].map(f), Q = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
42
- function m(e, t, { allOwnKeys: n = !1 } = {}) {
43
- if (e === null || typeof e > "u")
44
- return;
45
- let r, s;
46
- if (typeof e != "object" && (e = [e]), p(e))
47
- for (r = 0, s = e.length; r < s; r++)
48
- t.call(null, e[r], r, e);
49
- else {
50
- if (d(e))
51
- return;
52
- const o = n ? Object.getOwnPropertyNames(e) : Object.keys(e), i = o.length;
53
- let l;
54
- for (r = 0; r < i; r++)
55
- l = o[r], t.call(null, e[l], l, e);
56
- }
57
- }
58
- function E(e, t) {
59
- if (d(e))
60
- return null;
61
- t = t.toLowerCase();
62
- const n = Object.keys(e);
63
- let r = n.length, s;
64
- for (; r-- > 0; )
65
- if (s = n[r], t === s.toLowerCase())
66
- return s;
67
- return null;
68
- }
69
- const u = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, L = (e) => !a(e) && e !== u;
70
- function h() {
71
- const { caseless: e, skipUndefined: t } = L(this) && this || {}, n = {}, r = (s, o) => {
72
- const i = e && E(n, o) || o;
73
- w(n[i]) && w(s) ? n[i] = h(n[i], s) : w(s) ? n[i] = h({}, s) : p(s) ? n[i] = s.slice() : (!t || !a(s)) && (n[i] = s);
74
- };
75
- for (let s = 0, o = arguments.length; s < o; s++)
76
- arguments[s] && m(arguments[s], r);
77
- return n;
78
- }
79
- const X = (e, t, n, { allOwnKeys: r } = {}) => (m(
80
- t,
81
- (s, o) => {
82
- n && c(s) ? e[o] = R(s, n) : e[o] = s;
83
- },
84
- { allOwnKeys: r }
85
- ), e), Y = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Z = (e, t, n, r) => {
86
- e.prototype = Object.create(
87
- t.prototype,
88
- r
89
- ), e.prototype.constructor = e, Object.defineProperty(e, "super", {
90
- value: t.prototype
91
- }), n && Object.assign(e.prototype, n);
92
- }, j = (e, t, n, r) => {
93
- let s, o, i;
94
- const l = {};
95
- if (t = t || {}, e == null) return t;
96
- do {
97
- for (s = Object.getOwnPropertyNames(e), o = s.length; o-- > 0; )
98
- i = s[o], (!r || r(i, e, t)) && !l[i] && (t[i] = e[i], l[i] = !0);
99
- e = n !== !1 && A(e);
100
- } while (e && (!n || n(e, t)) && e !== Object.prototype);
101
- return t;
102
- }, v = (e, t, n) => {
103
- e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
104
- const r = e.indexOf(t, n);
105
- return r !== -1 && r === n;
106
- }, ee = (e) => {
107
- if (!e) return null;
108
- if (p(e)) return e;
109
- let t = e.length;
110
- if (!P(t)) return null;
111
- const n = new Array(t);
112
- for (; t-- > 0; )
113
- n[t] = e[t];
114
- return n;
115
- }, te = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && A(Uint8Array)), ne = (e, t) => {
116
- const r = (e && e[g]).call(e);
117
- let s;
118
- for (; (s = r.next()) && !s.done; ) {
119
- const o = s.value;
120
- t.call(e, o[0], o[1]);
121
- }
122
- }, re = (e, t) => {
123
- let n;
124
- const r = [];
125
- for (; (n = e.exec(t)) !== null; )
126
- r.push(n);
127
- return r;
128
- }, se = f("HTMLFormElement"), oe = (e) => e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(n, r, s) {
129
- return r.toUpperCase() + s;
130
- }), x = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), ie = f("RegExp"), C = (e, t) => {
131
- const n = Object.getOwnPropertyDescriptors(e), r = {};
132
- m(n, (s, o) => {
133
- let i;
134
- (i = t(s, o, e)) !== !1 && (r[o] = i || s);
135
- }), Object.defineProperties(e, r);
136
- }, ce = (e) => {
137
- C(e, (t, n) => {
138
- if (c(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
139
- return !1;
140
- const r = e[n];
141
- if (c(r)) {
142
- if (t.enumerable = !1, "writable" in t) {
143
- t.writable = !1;
144
- return;
145
- }
146
- t.set || (t.set = () => {
147
- throw Error("Can not rewrite read-only method '" + n + "'");
148
- });
149
- }
150
- });
151
- }, fe = (e, t) => {
152
- const n = {}, r = (s) => {
153
- s.forEach((o) => {
154
- n[o] = !0;
155
- });
156
- };
157
- return p(e) ? r(e) : r(String(e).split(t)), n;
158
- }, le = () => {
159
- }, ue = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
160
- function ae(e) {
161
- return !!(e && c(e.append) && e[S] === "FormData" && e[g]);
162
- }
163
- const pe = (e) => {
164
- const t = new Array(10), n = (r, s) => {
165
- if (y(r)) {
166
- if (t.indexOf(r) >= 0)
167
- return;
168
- if (d(r))
169
- return r;
170
- if (!("toJSON" in r)) {
171
- t[s] = r;
172
- const o = p(r) ? [] : {};
173
- return m(r, (i, l) => {
174
- const b = n(i, s + 1);
175
- !a(b) && (o[l] = b);
176
- }), t[s] = void 0, o;
177
- }
178
- }
179
- return r;
180
- };
181
- return n(e, 0);
182
- }, de = f("AsyncFunction"), ye = (e) => e && (y(e) || c(e)) && c(e.then) && c(e.catch), D = ((e, t) => e ? setImmediate : t ? ((n, r) => (u.addEventListener(
183
- "message",
184
- ({ source: s, data: o }) => {
185
- s === u && o === n && r.length && r.shift()();
186
- },
187
- !1
188
- ), (s) => {
189
- r.push(s), u.postMessage(n, "*");
190
- }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(typeof setImmediate == "function", c(u.postMessage)), me = typeof queueMicrotask < "u" ? queueMicrotask.bind(u) : typeof process < "u" && process.nextTick || D, we = (e) => e != null && c(e[g]), ge = {
191
- isArray: p,
192
- isArrayBuffer: B,
193
- isBuffer: d,
194
- isFormData: z,
195
- isArrayBufferView: M,
196
- isString: k,
197
- isNumber: P,
198
- isBoolean: U,
199
- isObject: y,
200
- isPlainObject: w,
201
- isEmptyObject: N,
202
- isReadableStream: K,
203
- isRequest: $,
204
- isResponse: W,
205
- isHeaders: G,
206
- isUndefined: a,
207
- isDate: I,
208
- isFile: V,
209
- isBlob: _,
210
- isRegExp: ie,
211
- isFunction: c,
212
- isStream: H,
213
- isURLSearchParams: J,
214
- isTypedArray: te,
215
- isFileList: q,
216
- forEach: m,
217
- merge: h,
218
- extend: X,
219
- trim: Q,
220
- stripBOM: Y,
221
- inherits: Z,
222
- toFlatObject: j,
223
- kindOf: O,
224
- kindOfTest: f,
225
- endsWith: v,
226
- toArray: ee,
227
- forEachEntry: ne,
228
- matchAll: re,
229
- isHTMLForm: se,
230
- hasOwnProperty: x,
231
- hasOwnProp: x,
232
- // an alias to avoid ESLint no-prototype-builtins detection
233
- reduceDescriptors: C,
234
- freezeMethods: ce,
235
- toObjectSet: fe,
236
- toCamelCase: oe,
237
- noop: le,
238
- toFiniteNumber: ue,
239
- findKey: E,
240
- global: u,
241
- isContextDefined: L,
242
- isSpecCompliantForm: ae,
243
- toJSONObject: pe,
244
- isAsyncFn: de,
245
- isThenable: ye,
246
- setImmediate: D,
247
- asap: me,
248
- isIterable: we
249
- };
250
- export {
251
- ge as A,
252
- R as b
253
- };
@@ -1,64 +0,0 @@
1
- /* 2025-11-07 13:23:48 */
2
- import { A as c } from "./BJvTEV6n.js";
3
- function r(t, i, o, a, e) {
4
- Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = t, this.name = "AxiosError", i && (this.code = i), o && (this.config = o), a && (this.request = a), e && (this.response = e, this.status = e.status ? e.status : null);
5
- }
6
- c.inherits(r, Error, {
7
- toJSON: function() {
8
- return {
9
- // Standard
10
- message: this.message,
11
- name: this.name,
12
- // Microsoft
13
- description: this.description,
14
- number: this.number,
15
- // Mozilla
16
- fileName: this.fileName,
17
- lineNumber: this.lineNumber,
18
- columnNumber: this.columnNumber,
19
- stack: this.stack,
20
- // Axios
21
- config: c.toJSONObject(this.config),
22
- code: this.code,
23
- status: this.status
24
- };
25
- }
26
- });
27
- const u = r.prototype, R = {};
28
- [
29
- "ERR_BAD_OPTION_VALUE",
30
- "ERR_BAD_OPTION",
31
- "ECONNABORTED",
32
- "ETIMEDOUT",
33
- "ERR_NETWORK",
34
- "ERR_FR_TOO_MANY_REDIRECTS",
35
- "ERR_DEPRECATED",
36
- "ERR_BAD_RESPONSE",
37
- "ERR_BAD_REQUEST",
38
- "ERR_CANCELED",
39
- "ERR_NOT_SUPPORT",
40
- "ERR_INVALID_URL"
41
- ].forEach((t) => {
42
- R[t] = { value: t };
43
- });
44
- Object.defineProperties(r, R);
45
- Object.defineProperty(u, "isAxiosError", { value: !0 });
46
- r.from = (t, i, o, a, e, E) => {
47
- const s = Object.create(u);
48
- c.toFlatObject(
49
- t,
50
- s,
51
- function(m) {
52
- return m !== Error.prototype;
53
- },
54
- (n) => n !== "isAxiosError"
55
- );
56
- const h = t && t.message ? t.message : "Error", l = i == null && t ? t.code : i;
57
- return r.call(s, h, l, o, a, e), t && s.cause == null && Object.defineProperty(s, "cause", {
58
- value: t,
59
- configurable: !0
60
- }), s.name = t && t.name || "Error", E && Object.assign(s, E), s;
61
- };
62
- export {
63
- r as A
64
- };