@das-fed/upf-utils 6.4.0-dev.124

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 (203) hide show
  1. package/__VLS_types.d.ts +124 -0
  2. package/api-services/i18n/index.d.ts +53 -0
  3. package/api-services/i18n/index.js +27 -0
  4. package/api-services/i18n/index.js.gz +0 -0
  5. package/api-services/index.d.ts +2 -0
  6. package/api-services/index.js +3141 -0
  7. package/api-services/index.js.gz +0 -0
  8. package/api-services/modules/app-manage/index.d.ts +2 -0
  9. package/api-services/modules/app-manage/index.js +2827 -0
  10. package/api-services/modules/app-manage/index.js.gz +0 -0
  11. package/api-services/modules/authentication/index.d.ts +2 -0
  12. package/api-services/modules/authentication/index.js +2827 -0
  13. package/api-services/modules/authentication/index.js.gz +0 -0
  14. package/api-services/modules/bems/index.d.ts +6 -0
  15. package/api-services/modules/bems/index.js +2831 -0
  16. package/api-services/modules/bems/index.js.gz +0 -0
  17. package/api-services/modules/contract/index.d.ts +2 -0
  18. package/api-services/modules/contract/index.js +2827 -0
  19. package/api-services/modules/contract/index.js.gz +0 -0
  20. package/api-services/modules/duty-manage/index.d.ts +7 -0
  21. package/api-services/modules/duty-manage/index.js +2836 -0
  22. package/api-services/modules/duty-manage/index.js.gz +0 -0
  23. package/api-services/modules/enterpriseright/index.d.ts +2 -0
  24. package/api-services/modules/enterpriseright/index.js +2827 -0
  25. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  26. package/api-services/modules/file/index.d.ts +37 -0
  27. package/api-services/modules/file/index.js +3059 -0
  28. package/api-services/modules/file/index.js.gz +0 -0
  29. package/api-services/modules/gateway-edge/index.d.ts +2 -0
  30. package/api-services/modules/gateway-edge/index.js +2827 -0
  31. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  32. package/api-services/modules/index.d.ts +21 -0
  33. package/api-services/modules/index.js +3115 -0
  34. package/api-services/modules/index.js.gz +0 -0
  35. package/api-services/modules/iot/index.d.ts +16 -0
  36. package/api-services/modules/iot/index.js +2841 -0
  37. package/api-services/modules/iot/index.js.gz +0 -0
  38. package/api-services/modules/justauth/index.d.ts +3 -0
  39. package/api-services/modules/justauth/index.js +2828 -0
  40. package/api-services/modules/justauth/index.js.gz +0 -0
  41. package/api-services/modules/knowledge/index.d.ts +2 -0
  42. package/api-services/modules/knowledge/index.js +2827 -0
  43. package/api-services/modules/knowledge/index.js.gz +0 -0
  44. package/api-services/modules/link/index.d.ts +2 -0
  45. package/api-services/modules/link/index.js +2827 -0
  46. package/api-services/modules/link/index.js.gz +0 -0
  47. package/api-services/modules/permission/index.d.ts +2 -0
  48. package/api-services/modules/permission/index.js +2827 -0
  49. package/api-services/modules/permission/index.js.gz +0 -0
  50. package/api-services/modules/platformManage/index.d.ts +14 -0
  51. package/api-services/modules/platformManage/index.js +2835 -0
  52. package/api-services/modules/platformManage/index.js.gz +0 -0
  53. package/api-services/modules/portal/index.d.ts +2 -0
  54. package/api-services/modules/portal/index.js +2827 -0
  55. package/api-services/modules/portal/index.js.gz +0 -0
  56. package/api-services/modules/space-manage/index.d.ts +2 -0
  57. package/api-services/modules/space-manage/index.js +2827 -0
  58. package/api-services/modules/space-manage/index.js.gz +0 -0
  59. package/api-services/modules/super-admin/index.d.ts +8 -0
  60. package/api-services/modules/super-admin/index.js +2830 -0
  61. package/api-services/modules/super-admin/index.js.gz +0 -0
  62. package/api-services/modules/supplier/index.d.ts +6 -0
  63. package/api-services/modules/supplier/index.js +2829 -0
  64. package/api-services/modules/supplier/index.js.gz +0 -0
  65. package/api-services/modules/supplychain-manage/index.d.ts +2 -0
  66. package/api-services/modules/supplychain-manage/index.js +2827 -0
  67. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  68. package/api-services/modules/systemConfiguration/index.d.ts +2 -0
  69. package/api-services/modules/systemConfiguration/index.js +2827 -0
  70. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  71. package/api-services/modules/tool/index.d.ts +2 -0
  72. package/api-services/modules/tool/index.js +2827 -0
  73. package/api-services/modules/tool/index.js.gz +0 -0
  74. package/api-services/src/create-service/index.d.ts +1 -0
  75. package/api-services/src/create-service/index.js +2827 -0
  76. package/api-services/src/create-service/index.js.gz +0 -0
  77. package/atob/index.d.ts +2 -0
  78. package/atob/index.js +11 -0
  79. package/common-info/getIframeUrl/index.d.ts +9 -0
  80. package/common-info/getIframeUrl/index.js +10 -0
  81. package/common-info/getInfoFromUrl/index.d.ts +8 -0
  82. package/common-info/getInfoFromUrl/index.js +84 -0
  83. package/common-info/getInfoFromUrl/index.js.gz +0 -0
  84. package/common-info/index.d.ts +61 -0
  85. package/common-info/index.js +171 -0
  86. package/common-info/index.js.gz +0 -0
  87. package/common-info/set-personal-info/index.d.ts +5 -0
  88. package/common-info/set-personal-info/index.js +1474 -0
  89. package/common-info/set-personal-info/index.js.gz +0 -0
  90. package/common-info/type.d.ts +214 -0
  91. package/common-tools/arr-tools/index.d.ts +15 -0
  92. package/common-tools/arr-tools/index.js +8 -0
  93. package/common-tools/calc-text-width/index.d.ts +1 -0
  94. package/common-tools/calc-text-width/index.js +10 -0
  95. package/common-tools/date-format/index.d.ts +7 -0
  96. package/common-tools/date-format/index.js +19 -0
  97. package/common-tools/extract-file-name/index.d.ts +1 -0
  98. package/common-tools/extract-file-name/index.js +1466 -0
  99. package/common-tools/extract-file-name/index.js.gz +0 -0
  100. package/common-tools/get-file-extension/index.d.ts +6 -0
  101. package/common-tools/get-file-extension/index.js +7 -0
  102. package/common-tools/get-url-params/index.d.ts +46 -0
  103. package/common-tools/get-url-params/index.js +63 -0
  104. package/common-tools/get-url-params/index.js.gz +0 -0
  105. package/common-tools/handle-data/index.d.ts +6 -0
  106. package/common-tools/handle-data/index.js +4 -0
  107. package/common-tools/index.d.ts +14 -0
  108. package/common-tools/index.js +14 -0
  109. package/common-tools/nest-tree-format/index.d.ts +30 -0
  110. package/common-tools/nest-tree-format/index.js +24 -0
  111. package/common-tools/obj-tools/index.d.ts +7 -0
  112. package/common-tools/obj-tools/index.js +14 -0
  113. package/common-tools/platform-tools/index.d.ts +19 -0
  114. package/common-tools/platform-tools/index.js +19 -0
  115. package/common-tools/queue-promise/index.d.ts +6 -0
  116. package/common-tools/queue-promise/index.js +9 -0
  117. package/common-tools/setHtmlMinWH/index.d.ts +5 -0
  118. package/common-tools/setHtmlMinWH/index.js +7 -0
  119. package/common-tools/update-browser-title/index.d.ts +1 -0
  120. package/common-tools/update-browser-title/index.js +12 -0
  121. package/common-tools/update-fav-icon/index.d.ts +11 -0
  122. package/common-tools/update-fav-icon/index.js +22 -0
  123. package/config/index.d.ts +2 -0
  124. package/config/index.js +9 -0
  125. package/create-api-service/i18n/index.d.ts +33 -0
  126. package/create-api-service/i18n/index.js +15 -0
  127. package/create-api-service/index.d.ts +3 -0
  128. package/create-api-service/index.js +2827 -0
  129. package/create-api-service/index.js.gz +0 -0
  130. package/create-api-service/proxy-sso/index.d.ts +3 -0
  131. package/create-api-service/proxy-sso/index.js +21 -0
  132. package/create-api-service/sso/index.d.ts +21 -0
  133. package/create-api-service/sso/index.js +1845 -0
  134. package/create-api-service/sso/index.js.gz +0 -0
  135. package/curring-http/index.d.ts +12 -0
  136. package/curring-http/index.js +2002 -0
  137. package/curring-http/index.js.gz +0 -0
  138. package/curring-http/type.d.ts +89 -0
  139. package/dimple-canvas/index.d.ts +3 -0
  140. package/dimple-canvas/index.js +5 -0
  141. package/directive/auth/index.d.ts +8 -0
  142. package/directive/auth/index.js +62 -0
  143. package/directive/auth/index.js.gz +0 -0
  144. package/directive/clickOutside/index.d.ts +6 -0
  145. package/directive/clickOutside/index.js +27 -0
  146. package/directive/hoverInside/index.d.ts +6 -0
  147. package/directive/hoverInside/index.js +21 -0
  148. package/directive/index.d.ts +3 -0
  149. package/directive/index.js +8 -0
  150. package/directive/utils/index.d.ts +7 -0
  151. package/directive/utils/index.js +7 -0
  152. package/dom-check-in/index.d.ts +6 -0
  153. package/dom-check-in/index.js +8 -0
  154. package/dom-watcher/index.d.ts +25 -0
  155. package/dom-watcher/index.js +9 -0
  156. package/esm-map.json +146 -0
  157. package/hooks/popup-manager/use-zindex/index.d.ts +3 -0
  158. package/hooks/popup-manager/use-zindex/index.js +9 -0
  159. package/hooks/use-get-auth/apis.d.ts +4 -0
  160. package/hooks/use-get-auth/index.d.ts +9 -0
  161. package/hooks/use-get-auth/index.js +53 -0
  162. package/hooks/use-get-auth/index.js.gz +0 -0
  163. package/index.d.ts +2 -0
  164. package/index.js +2 -0
  165. package/load-js/index.d.ts +3 -0
  166. package/load-js/index.js +12 -0
  167. package/nextTiken/index.d.ts +12 -0
  168. package/nextTiken/index.js +45 -0
  169. package/nextTiken/index.js.gz +0 -0
  170. package/oss/index.d.ts +2 -0
  171. package/oss/index.js +11 -0
  172. package/package.json +49 -0
  173. package/pinyin-first-character/index.d.ts +2 -0
  174. package/pinyin-first-character/index.js +25022 -0
  175. package/pinyin-first-character/index.js.gz +0 -0
  176. package/process-engine-info/index.d.ts +13 -0
  177. package/process-engine-info/index.js +15 -0
  178. package/pure-image-src/index.d.ts +2 -0
  179. package/pure-image-src/index.js +4 -0
  180. package/size-watcher/index.d.ts +6 -0
  181. package/size-watcher/index.js +20 -0
  182. package/style/index.d.ts +2 -0
  183. package/style/index.js +70 -0
  184. package/style/index.js.gz +0 -0
  185. package/style/math.d.ts +9 -0
  186. package/style/style.d.ts +31 -0
  187. package/token-tools/index.d.ts +21 -0
  188. package/token-tools/index.js +11 -0
  189. package/use-low-code/index.d.ts +1 -0
  190. package/use-low-code/index.js +69 -0
  191. package/use-low-code/index.js.gz +0 -0
  192. package/use-low-code/low-code-iframe.vue.d.ts +2 -0
  193. package/use-low-code/style.css +1 -0
  194. package/vue/hooks/use-model-value/index.d.ts +9 -0
  195. package/vue/hooks/use-model-value/index.js +10 -0
  196. package/vue/index.d.ts +1 -0
  197. package/vue/index.js +4 -0
  198. package/webSocket-service/index.d.ts +41 -0
  199. package/webSocket-service/index.js +83 -0
  200. package/webSocket-service/index.js.gz +0 -0
  201. package/webSocket-service/type.d.ts +28 -0
  202. package/with-install/index.d.ts +11 -0
  203. package/with-install/index.js +6 -0
@@ -0,0 +1,2002 @@
1
+ import { ref as G, isRef as Lt } from "vue";
2
+ function Ye(e, t) {
3
+ return function() {
4
+ return e.apply(t, arguments);
5
+ };
6
+ }
7
+ const { toString: It } = Object.prototype, { getPrototypeOf: _e } = Object, Y = /* @__PURE__ */ ((e) => (t) => {
8
+ const r = It.call(t);
9
+ return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
10
+ })(/* @__PURE__ */ Object.create(null)), x = (e) => (e = e.toLowerCase(), (t) => Y(t) === e), ee = (e) => (t) => typeof t === e, { isArray: D } = Array, M = ee("undefined");
11
+ function Ht(e) {
12
+ return e !== null && !M(e) && e.constructor !== null && !M(e.constructor) && T(e.constructor.isBuffer) && e.constructor.isBuffer(e);
13
+ }
14
+ const et = x("ArrayBuffer");
15
+ function Mt(e) {
16
+ let t;
17
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && et(e.buffer), t;
18
+ }
19
+ const zt = ee("string"), T = ee("function"), tt = ee("number"), te = (e) => e !== null && typeof e == "object", qt = (e) => e === !0 || e === !1, W = (e) => {
20
+ if (Y(e) !== "object")
21
+ return !1;
22
+ const t = _e(e);
23
+ return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
24
+ }, kt = x("Date"), Jt = x("File"), Vt = x("Blob"), Kt = x("FileList"), Gt = (e) => te(e) && T(e.pipe), Wt = (e) => {
25
+ let t;
26
+ return e && (typeof FormData == "function" && e instanceof FormData || T(e.append) && ((t = Y(e)) === "formdata" || // detect form-data instance
27
+ t === "object" && T(e.toString) && e.toString() === "[object FormData]"));
28
+ }, Xt = x("URLSearchParams"), Qt = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
29
+ function q(e, t, { allOwnKeys: r = !1 } = {}) {
30
+ if (e === null || typeof e > "u")
31
+ return;
32
+ let n, o;
33
+ if (typeof e != "object" && (e = [e]), D(e))
34
+ for (n = 0, o = e.length; n < o; n++)
35
+ t.call(null, e[n], n, e);
36
+ else {
37
+ const s = r ? Object.getOwnPropertyNames(e) : Object.keys(e), i = s.length;
38
+ let a;
39
+ for (n = 0; n < i; n++)
40
+ a = s[n], t.call(null, e[a], a, e);
41
+ }
42
+ }
43
+ function rt(e, t) {
44
+ t = t.toLowerCase();
45
+ const r = Object.keys(e);
46
+ let n = r.length, o;
47
+ for (; n-- > 0; )
48
+ if (o = r[n], t === o.toLowerCase())
49
+ return o;
50
+ return null;
51
+ }
52
+ const nt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, ot = (e) => !M(e) && e !== nt;
53
+ function pe() {
54
+ const { caseless: e } = ot(this) && this || {}, t = {}, r = (n, o) => {
55
+ const s = e && rt(t, o) || o;
56
+ W(t[s]) && W(n) ? t[s] = pe(t[s], n) : W(n) ? t[s] = pe({}, n) : D(n) ? t[s] = n.slice() : t[s] = n;
57
+ };
58
+ for (let n = 0, o = arguments.length; n < o; n++)
59
+ arguments[n] && q(arguments[n], r);
60
+ return t;
61
+ }
62
+ const Zt = (e, t, r, { allOwnKeys: n } = {}) => (q(t, (o, s) => {
63
+ r && T(o) ? e[s] = Ye(o, r) : e[s] = o;
64
+ }, { allOwnKeys: n }), e), Yt = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), er = (e, t, r, n) => {
65
+ e.prototype = Object.create(t.prototype, n), e.prototype.constructor = e, Object.defineProperty(e, "super", {
66
+ value: t.prototype
67
+ }), r && Object.assign(e.prototype, r);
68
+ }, tr = (e, t, r, n) => {
69
+ let o, s, i;
70
+ const a = {};
71
+ if (t = t || {}, e == null) return t;
72
+ do {
73
+ for (o = Object.getOwnPropertyNames(e), s = o.length; s-- > 0; )
74
+ i = o[s], (!n || n(i, e, t)) && !a[i] && (t[i] = e[i], a[i] = !0);
75
+ e = r !== !1 && _e(e);
76
+ } while (e && (!r || r(e, t)) && e !== Object.prototype);
77
+ return t;
78
+ }, rr = (e, t, r) => {
79
+ e = String(e), (r === void 0 || r > e.length) && (r = e.length), r -= t.length;
80
+ const n = e.indexOf(t, r);
81
+ return n !== -1 && n === r;
82
+ }, nr = (e) => {
83
+ if (!e) return null;
84
+ if (D(e)) return e;
85
+ let t = e.length;
86
+ if (!tt(t)) return null;
87
+ const r = new Array(t);
88
+ for (; t-- > 0; )
89
+ r[t] = e[t];
90
+ return r;
91
+ }, or = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && _e(Uint8Array)), sr = (e, t) => {
92
+ const n = (e && e[Symbol.iterator]).call(e);
93
+ let o;
94
+ for (; (o = n.next()) && !o.done; ) {
95
+ const s = o.value;
96
+ t.call(e, s[0], s[1]);
97
+ }
98
+ }, ir = (e, t) => {
99
+ let r;
100
+ const n = [];
101
+ for (; (r = e.exec(t)) !== null; )
102
+ n.push(r);
103
+ return n;
104
+ }, ar = x("HTMLFormElement"), cr = (e) => e.toLowerCase().replace(
105
+ /[-_\s]([a-z\d])(\w*)/g,
106
+ function(r, n, o) {
107
+ return n.toUpperCase() + o;
108
+ }
109
+ ), ve = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), ur = x("RegExp"), st = (e, t) => {
110
+ const r = Object.getOwnPropertyDescriptors(e), n = {};
111
+ q(r, (o, s) => {
112
+ let i;
113
+ (i = t(o, s, e)) !== !1 && (n[s] = i || o);
114
+ }), Object.defineProperties(e, n);
115
+ }, lr = (e) => {
116
+ st(e, (t, r) => {
117
+ if (T(e) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
118
+ return !1;
119
+ const n = e[r];
120
+ if (T(n)) {
121
+ if (t.enumerable = !1, "writable" in t) {
122
+ t.writable = !1;
123
+ return;
124
+ }
125
+ t.set || (t.set = () => {
126
+ throw Error("Can not rewrite read-only method '" + r + "'");
127
+ });
128
+ }
129
+ });
130
+ }, fr = (e, t) => {
131
+ const r = {}, n = (o) => {
132
+ o.forEach((s) => {
133
+ r[s] = !0;
134
+ });
135
+ };
136
+ return D(e) ? n(e) : n(String(e).split(t)), r;
137
+ }, dr = () => {
138
+ }, pr = (e, t) => (e = +e, Number.isFinite(e) ? e : t), ae = "abcdefghijklmnopqrstuvwxyz", Ce = "0123456789", it = {
139
+ DIGIT: Ce,
140
+ ALPHA: ae,
141
+ ALPHA_DIGIT: ae + ae.toUpperCase() + Ce
142
+ }, hr = (e = 16, t = it.ALPHA_DIGIT) => {
143
+ let r = "";
144
+ const { length: n } = t;
145
+ for (; e--; )
146
+ r += t[Math.random() * n | 0];
147
+ return r;
148
+ };
149
+ function mr(e) {
150
+ return !!(e && T(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
151
+ }
152
+ const yr = (e) => {
153
+ const t = new Array(10), r = (n, o) => {
154
+ if (te(n)) {
155
+ if (t.indexOf(n) >= 0)
156
+ return;
157
+ if (!("toJSON" in n)) {
158
+ t[o] = n;
159
+ const s = D(n) ? [] : {};
160
+ return q(n, (i, a) => {
161
+ const f = r(i, o + 1);
162
+ !M(f) && (s[a] = f);
163
+ }), t[o] = void 0, s;
164
+ }
165
+ }
166
+ return n;
167
+ };
168
+ return r(e, 0);
169
+ }, br = x("AsyncFunction"), gr = (e) => e && (te(e) || T(e)) && T(e.then) && T(e.catch), c = {
170
+ isArray: D,
171
+ isArrayBuffer: et,
172
+ isBuffer: Ht,
173
+ isFormData: Wt,
174
+ isArrayBufferView: Mt,
175
+ isString: zt,
176
+ isNumber: tt,
177
+ isBoolean: qt,
178
+ isObject: te,
179
+ isPlainObject: W,
180
+ isUndefined: M,
181
+ isDate: kt,
182
+ isFile: Jt,
183
+ isBlob: Vt,
184
+ isRegExp: ur,
185
+ isFunction: T,
186
+ isStream: Gt,
187
+ isURLSearchParams: Xt,
188
+ isTypedArray: or,
189
+ isFileList: Kt,
190
+ forEach: q,
191
+ merge: pe,
192
+ extend: Zt,
193
+ trim: Qt,
194
+ stripBOM: Yt,
195
+ inherits: er,
196
+ toFlatObject: tr,
197
+ kindOf: Y,
198
+ kindOfTest: x,
199
+ endsWith: rr,
200
+ toArray: nr,
201
+ forEachEntry: sr,
202
+ matchAll: ir,
203
+ isHTMLForm: ar,
204
+ hasOwnProperty: ve,
205
+ hasOwnProp: ve,
206
+ // an alias to avoid ESLint no-prototype-builtins detection
207
+ reduceDescriptors: st,
208
+ freezeMethods: lr,
209
+ toObjectSet: fr,
210
+ toCamelCase: cr,
211
+ noop: dr,
212
+ toFiniteNumber: pr,
213
+ findKey: rt,
214
+ global: nt,
215
+ isContextDefined: ot,
216
+ ALPHABET: it,
217
+ generateString: hr,
218
+ isSpecCompliantForm: mr,
219
+ toJSONObject: yr,
220
+ isAsyncFn: br,
221
+ isThenable: gr
222
+ };
223
+ function y(e, t, r, n, o) {
224
+ Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), r && (this.config = r), n && (this.request = n), o && (this.response = o);
225
+ }
226
+ c.inherits(y, Error, {
227
+ toJSON: function() {
228
+ return {
229
+ // Standard
230
+ message: this.message,
231
+ name: this.name,
232
+ // Microsoft
233
+ description: this.description,
234
+ number: this.number,
235
+ // Mozilla
236
+ fileName: this.fileName,
237
+ lineNumber: this.lineNumber,
238
+ columnNumber: this.columnNumber,
239
+ stack: this.stack,
240
+ // Axios
241
+ config: c.toJSONObject(this.config),
242
+ code: this.code,
243
+ status: this.response && this.response.status ? this.response.status : null
244
+ };
245
+ }
246
+ });
247
+ const at = y.prototype, ct = {};
248
+ [
249
+ "ERR_BAD_OPTION_VALUE",
250
+ "ERR_BAD_OPTION",
251
+ "ECONNABORTED",
252
+ "ETIMEDOUT",
253
+ "ERR_NETWORK",
254
+ "ERR_FR_TOO_MANY_REDIRECTS",
255
+ "ERR_DEPRECATED",
256
+ "ERR_BAD_RESPONSE",
257
+ "ERR_BAD_REQUEST",
258
+ "ERR_CANCELED",
259
+ "ERR_NOT_SUPPORT",
260
+ "ERR_INVALID_URL"
261
+ // eslint-disable-next-line func-names
262
+ ].forEach((e) => {
263
+ ct[e] = { value: e };
264
+ });
265
+ Object.defineProperties(y, ct);
266
+ Object.defineProperty(at, "isAxiosError", { value: !0 });
267
+ y.from = (e, t, r, n, o, s) => {
268
+ const i = Object.create(at);
269
+ return c.toFlatObject(e, i, function(f) {
270
+ return f !== Error.prototype;
271
+ }, (a) => a !== "isAxiosError"), y.call(i, e.message, t, r, n, o), i.cause = e, i.name = e.name, s && Object.assign(i, s), i;
272
+ };
273
+ const wr = null;
274
+ function he(e) {
275
+ return c.isPlainObject(e) || c.isArray(e);
276
+ }
277
+ function ut(e) {
278
+ return c.endsWith(e, "[]") ? e.slice(0, -2) : e;
279
+ }
280
+ function je(e, t, r) {
281
+ return e ? e.concat(t).map(function(o, s) {
282
+ return o = ut(o), !r && s ? "[" + o + "]" : o;
283
+ }).join(r ? "." : "") : t;
284
+ }
285
+ function Er(e) {
286
+ return c.isArray(e) && !e.some(he);
287
+ }
288
+ const Or = c.toFlatObject(c, {}, null, function(t) {
289
+ return /^is[A-Z]/.test(t);
290
+ });
291
+ function re(e, t, r) {
292
+ if (!c.isObject(e))
293
+ throw new TypeError("target must be an object");
294
+ t = t || new FormData(), r = c.toFlatObject(r, {
295
+ metaTokens: !0,
296
+ dots: !1,
297
+ indexes: !1
298
+ }, !1, function(m, w) {
299
+ return !c.isUndefined(w[m]);
300
+ });
301
+ const n = r.metaTokens, o = r.visitor || l, s = r.dots, i = r.indexes, f = (r.Blob || typeof Blob < "u" && Blob) && c.isSpecCompliantForm(t);
302
+ if (!c.isFunction(o))
303
+ throw new TypeError("visitor must be a function");
304
+ function d(h) {
305
+ if (h === null) return "";
306
+ if (c.isDate(h))
307
+ return h.toISOString();
308
+ if (!f && c.isBlob(h))
309
+ throw new y("Blob is not supported. Use a Buffer instead.");
310
+ return c.isArrayBuffer(h) || c.isTypedArray(h) ? f && typeof Blob == "function" ? new Blob([h]) : Buffer.from(h) : h;
311
+ }
312
+ function l(h, m, w) {
313
+ let p = h;
314
+ if (h && !w && typeof h == "object") {
315
+ if (c.endsWith(m, "{}"))
316
+ m = n ? m : m.slice(0, -2), h = JSON.stringify(h);
317
+ else if (c.isArray(h) && Er(h) || (c.isFileList(h) || c.endsWith(m, "[]")) && (p = c.toArray(h)))
318
+ return m = ut(m), p.forEach(function(S, K) {
319
+ !(c.isUndefined(S) || S === null) && t.append(
320
+ // eslint-disable-next-line no-nested-ternary
321
+ i === !0 ? je([m], K, s) : i === null ? m : m + "[]",
322
+ d(S)
323
+ );
324
+ }), !1;
325
+ }
326
+ return he(h) ? !0 : (t.append(je(w, m, s), d(h)), !1);
327
+ }
328
+ const u = [], b = Object.assign(Or, {
329
+ defaultVisitor: l,
330
+ convertValue: d,
331
+ isVisitable: he
332
+ });
333
+ function _(h, m) {
334
+ if (!c.isUndefined(h)) {
335
+ if (u.indexOf(h) !== -1)
336
+ throw Error("Circular reference detected in " + m.join("."));
337
+ u.push(h), c.forEach(h, function(p, O) {
338
+ (!(c.isUndefined(p) || p === null) && o.call(
339
+ t,
340
+ p,
341
+ c.isString(O) ? O.trim() : O,
342
+ m,
343
+ b
344
+ )) === !0 && _(p, m ? m.concat(O) : [O]);
345
+ }), u.pop();
346
+ }
347
+ }
348
+ if (!c.isObject(e))
349
+ throw new TypeError("data must be an object");
350
+ return _(e), t;
351
+ }
352
+ function Ne(e) {
353
+ const t = {
354
+ "!": "%21",
355
+ "'": "%27",
356
+ "(": "%28",
357
+ ")": "%29",
358
+ "~": "%7E",
359
+ "%20": "+",
360
+ "%00": "\0"
361
+ };
362
+ return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g, function(n) {
363
+ return t[n];
364
+ });
365
+ }
366
+ function Se(e, t) {
367
+ this._pairs = [], e && re(e, this, t);
368
+ }
369
+ const lt = Se.prototype;
370
+ lt.append = function(t, r) {
371
+ this._pairs.push([t, r]);
372
+ };
373
+ lt.toString = function(t) {
374
+ const r = t ? function(n) {
375
+ return t.call(this, n, Ne);
376
+ } : Ne;
377
+ return this._pairs.map(function(o) {
378
+ return r(o[0]) + "=" + r(o[1]);
379
+ }, "").join("&");
380
+ };
381
+ function _r(e) {
382
+ return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
383
+ }
384
+ function ft(e, t, r) {
385
+ if (!t)
386
+ return e;
387
+ const n = r && r.encode || _r, o = r && r.serialize;
388
+ let s;
389
+ if (o ? s = o(t, r) : s = c.isURLSearchParams(t) ? t.toString() : new Se(t, r).toString(n), s) {
390
+ const i = e.indexOf("#");
391
+ i !== -1 && (e = e.slice(0, i)), e += (e.indexOf("?") === -1 ? "?" : "&") + s;
392
+ }
393
+ return e;
394
+ }
395
+ class Fe {
396
+ constructor() {
397
+ this.handlers = [];
398
+ }
399
+ /**
400
+ * Add a new interceptor to the stack
401
+ *
402
+ * @param {Function} fulfilled The function to handle `then` for a `Promise`
403
+ * @param {Function} rejected The function to handle `reject` for a `Promise`
404
+ *
405
+ * @return {Number} An ID used to remove interceptor later
406
+ */
407
+ use(t, r, n) {
408
+ return this.handlers.push({
409
+ fulfilled: t,
410
+ rejected: r,
411
+ synchronous: n ? n.synchronous : !1,
412
+ runWhen: n ? n.runWhen : null
413
+ }), this.handlers.length - 1;
414
+ }
415
+ /**
416
+ * Remove an interceptor from the stack
417
+ *
418
+ * @param {Number} id The ID that was returned by `use`
419
+ *
420
+ * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
421
+ */
422
+ eject(t) {
423
+ this.handlers[t] && (this.handlers[t] = null);
424
+ }
425
+ /**
426
+ * Clear all interceptors from the stack
427
+ *
428
+ * @returns {void}
429
+ */
430
+ clear() {
431
+ this.handlers && (this.handlers = []);
432
+ }
433
+ /**
434
+ * Iterate over all the registered interceptors
435
+ *
436
+ * This method is particularly useful for skipping over any
437
+ * interceptors that may have become `null` calling `eject`.
438
+ *
439
+ * @param {Function} fn The function to call for each interceptor
440
+ *
441
+ * @returns {void}
442
+ */
443
+ forEach(t) {
444
+ c.forEach(this.handlers, function(n) {
445
+ n !== null && t(n);
446
+ });
447
+ }
448
+ }
449
+ const dt = {
450
+ silentJSONParsing: !0,
451
+ forcedJSONParsing: !0,
452
+ clarifyTimeoutError: !1
453
+ }, Sr = typeof URLSearchParams < "u" ? URLSearchParams : Se, Tr = typeof FormData < "u" ? FormData : null, Ar = typeof Blob < "u" ? Blob : null, Rr = {
454
+ isBrowser: !0,
455
+ classes: {
456
+ URLSearchParams: Sr,
457
+ FormData: Tr,
458
+ Blob: Ar
459
+ },
460
+ protocols: ["http", "https", "file", "blob", "url", "data"]
461
+ }, pt = typeof window < "u" && typeof document < "u", xr = ((e) => pt && ["ReactNative", "NativeScript", "NS"].indexOf(e) < 0)(typeof navigator < "u" && navigator.product), Pr = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
462
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", vr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
463
+ __proto__: null,
464
+ hasBrowserEnv: pt,
465
+ hasStandardBrowserEnv: xr,
466
+ hasStandardBrowserWebWorkerEnv: Pr
467
+ }, Symbol.toStringTag, { value: "Module" })), R = {
468
+ ...vr,
469
+ ...Rr
470
+ };
471
+ function Cr(e, t) {
472
+ return re(e, new R.classes.URLSearchParams(), Object.assign({
473
+ visitor: function(r, n, o, s) {
474
+ return R.isNode && c.isBuffer(r) ? (this.append(n, r.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
475
+ }
476
+ }, t));
477
+ }
478
+ function jr(e) {
479
+ return c.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
480
+ }
481
+ function Nr(e) {
482
+ const t = {}, r = Object.keys(e);
483
+ let n;
484
+ const o = r.length;
485
+ let s;
486
+ for (n = 0; n < o; n++)
487
+ s = r[n], t[s] = e[s];
488
+ return t;
489
+ }
490
+ function ht(e) {
491
+ function t(r, n, o, s) {
492
+ let i = r[s++];
493
+ if (i === "__proto__") return !0;
494
+ const a = Number.isFinite(+i), f = s >= r.length;
495
+ return i = !i && c.isArray(o) ? o.length : i, f ? (c.hasOwnProp(o, i) ? o[i] = [o[i], n] : o[i] = n, !a) : ((!o[i] || !c.isObject(o[i])) && (o[i] = []), t(r, n, o[i], s) && c.isArray(o[i]) && (o[i] = Nr(o[i])), !a);
496
+ }
497
+ if (c.isFormData(e) && c.isFunction(e.entries)) {
498
+ const r = {};
499
+ return c.forEachEntry(e, (n, o) => {
500
+ t(jr(n), o, r, 0);
501
+ }), r;
502
+ }
503
+ return null;
504
+ }
505
+ function Fr(e, t, r) {
506
+ if (c.isString(e))
507
+ try {
508
+ return (t || JSON.parse)(e), c.trim(e);
509
+ } catch (n) {
510
+ if (n.name !== "SyntaxError")
511
+ throw n;
512
+ }
513
+ return (r || JSON.stringify)(e);
514
+ }
515
+ const k = {
516
+ transitional: dt,
517
+ adapter: ["xhr", "http"],
518
+ transformRequest: [function(t, r) {
519
+ const n = r.getContentType() || "", o = n.indexOf("application/json") > -1, s = c.isObject(t);
520
+ if (s && c.isHTMLForm(t) && (t = new FormData(t)), c.isFormData(t))
521
+ return o ? JSON.stringify(ht(t)) : t;
522
+ if (c.isArrayBuffer(t) || c.isBuffer(t) || c.isStream(t) || c.isFile(t) || c.isBlob(t))
523
+ return t;
524
+ if (c.isArrayBufferView(t))
525
+ return t.buffer;
526
+ if (c.isURLSearchParams(t))
527
+ return r.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
528
+ let a;
529
+ if (s) {
530
+ if (n.indexOf("application/x-www-form-urlencoded") > -1)
531
+ return Cr(t, this.formSerializer).toString();
532
+ if ((a = c.isFileList(t)) || n.indexOf("multipart/form-data") > -1) {
533
+ const f = this.env && this.env.FormData;
534
+ return re(
535
+ a ? { "files[]": t } : t,
536
+ f && new f(),
537
+ this.formSerializer
538
+ );
539
+ }
540
+ }
541
+ return s || o ? (r.setContentType("application/json", !1), Fr(t)) : t;
542
+ }],
543
+ transformResponse: [function(t) {
544
+ const r = this.transitional || k.transitional, n = r && r.forcedJSONParsing, o = this.responseType === "json";
545
+ if (t && c.isString(t) && (n && !this.responseType || o)) {
546
+ const i = !(r && r.silentJSONParsing) && o;
547
+ try {
548
+ return JSON.parse(t);
549
+ } catch (a) {
550
+ if (i)
551
+ throw a.name === "SyntaxError" ? y.from(a, y.ERR_BAD_RESPONSE, this, null, this.response) : a;
552
+ }
553
+ }
554
+ return t;
555
+ }],
556
+ /**
557
+ * A timeout in milliseconds to abort a request. If set to 0 (default) a
558
+ * timeout is not created.
559
+ */
560
+ timeout: 0,
561
+ xsrfCookieName: "XSRF-TOKEN",
562
+ xsrfHeaderName: "X-XSRF-TOKEN",
563
+ maxContentLength: -1,
564
+ maxBodyLength: -1,
565
+ env: {
566
+ FormData: R.classes.FormData,
567
+ Blob: R.classes.Blob
568
+ },
569
+ validateStatus: function(t) {
570
+ return t >= 200 && t < 300;
571
+ },
572
+ headers: {
573
+ common: {
574
+ Accept: "application/json, text/plain, */*",
575
+ "Content-Type": void 0
576
+ }
577
+ }
578
+ };
579
+ c.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
580
+ k.headers[e] = {};
581
+ });
582
+ const Dr = c.toObjectSet([
583
+ "age",
584
+ "authorization",
585
+ "content-length",
586
+ "content-type",
587
+ "etag",
588
+ "expires",
589
+ "from",
590
+ "host",
591
+ "if-modified-since",
592
+ "if-unmodified-since",
593
+ "last-modified",
594
+ "location",
595
+ "max-forwards",
596
+ "proxy-authorization",
597
+ "referer",
598
+ "retry-after",
599
+ "user-agent"
600
+ ]), Ur = (e) => {
601
+ const t = {};
602
+ let r, n, o;
603
+ return e && e.split(`
604
+ `).forEach(function(i) {
605
+ o = i.indexOf(":"), r = i.substring(0, o).trim().toLowerCase(), n = i.substring(o + 1).trim(), !(!r || t[r] && Dr[r]) && (r === "set-cookie" ? t[r] ? t[r].push(n) : t[r] = [n] : t[r] = t[r] ? t[r] + ", " + n : n);
606
+ }), t;
607
+ }, De = Symbol("internals");
608
+ function L(e) {
609
+ return e && String(e).trim().toLowerCase();
610
+ }
611
+ function X(e) {
612
+ return e === !1 || e == null ? e : c.isArray(e) ? e.map(X) : String(e);
613
+ }
614
+ function Br(e) {
615
+ const t = /* @__PURE__ */ Object.create(null), r = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
616
+ let n;
617
+ for (; n = r.exec(e); )
618
+ t[n[1]] = n[2];
619
+ return t;
620
+ }
621
+ const $r = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
622
+ function ce(e, t, r, n, o) {
623
+ if (c.isFunction(n))
624
+ return n.call(this, t, r);
625
+ if (o && (t = r), !!c.isString(t)) {
626
+ if (c.isString(n))
627
+ return t.indexOf(n) !== -1;
628
+ if (c.isRegExp(n))
629
+ return n.test(t);
630
+ }
631
+ }
632
+ function Lr(e) {
633
+ return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, r, n) => r.toUpperCase() + n);
634
+ }
635
+ function Ir(e, t) {
636
+ const r = c.toCamelCase(" " + t);
637
+ ["get", "set", "has"].forEach((n) => {
638
+ Object.defineProperty(e, n + r, {
639
+ value: function(o, s, i) {
640
+ return this[n].call(this, t, o, s, i);
641
+ },
642
+ configurable: !0
643
+ });
644
+ });
645
+ }
646
+ let A = class {
647
+ constructor(t) {
648
+ t && this.set(t);
649
+ }
650
+ set(t, r, n) {
651
+ const o = this;
652
+ function s(a, f, d) {
653
+ const l = L(f);
654
+ if (!l)
655
+ throw new Error("header name must be a non-empty string");
656
+ const u = c.findKey(o, l);
657
+ (!u || o[u] === void 0 || d === !0 || d === void 0 && o[u] !== !1) && (o[u || f] = X(a));
658
+ }
659
+ const i = (a, f) => c.forEach(a, (d, l) => s(d, l, f));
660
+ return c.isPlainObject(t) || t instanceof this.constructor ? i(t, r) : c.isString(t) && (t = t.trim()) && !$r(t) ? i(Ur(t), r) : t != null && s(r, t, n), this;
661
+ }
662
+ get(t, r) {
663
+ if (t = L(t), t) {
664
+ const n = c.findKey(this, t);
665
+ if (n) {
666
+ const o = this[n];
667
+ if (!r)
668
+ return o;
669
+ if (r === !0)
670
+ return Br(o);
671
+ if (c.isFunction(r))
672
+ return r.call(this, o, n);
673
+ if (c.isRegExp(r))
674
+ return r.exec(o);
675
+ throw new TypeError("parser must be boolean|regexp|function");
676
+ }
677
+ }
678
+ }
679
+ has(t, r) {
680
+ if (t = L(t), t) {
681
+ const n = c.findKey(this, t);
682
+ return !!(n && this[n] !== void 0 && (!r || ce(this, this[n], n, r)));
683
+ }
684
+ return !1;
685
+ }
686
+ delete(t, r) {
687
+ const n = this;
688
+ let o = !1;
689
+ function s(i) {
690
+ if (i = L(i), i) {
691
+ const a = c.findKey(n, i);
692
+ a && (!r || ce(n, n[a], a, r)) && (delete n[a], o = !0);
693
+ }
694
+ }
695
+ return c.isArray(t) ? t.forEach(s) : s(t), o;
696
+ }
697
+ clear(t) {
698
+ const r = Object.keys(this);
699
+ let n = r.length, o = !1;
700
+ for (; n--; ) {
701
+ const s = r[n];
702
+ (!t || ce(this, this[s], s, t, !0)) && (delete this[s], o = !0);
703
+ }
704
+ return o;
705
+ }
706
+ normalize(t) {
707
+ const r = this, n = {};
708
+ return c.forEach(this, (o, s) => {
709
+ const i = c.findKey(n, s);
710
+ if (i) {
711
+ r[i] = X(o), delete r[s];
712
+ return;
713
+ }
714
+ const a = t ? Lr(s) : String(s).trim();
715
+ a !== s && delete r[s], r[a] = X(o), n[a] = !0;
716
+ }), this;
717
+ }
718
+ concat(...t) {
719
+ return this.constructor.concat(this, ...t);
720
+ }
721
+ toJSON(t) {
722
+ const r = /* @__PURE__ */ Object.create(null);
723
+ return c.forEach(this, (n, o) => {
724
+ n != null && n !== !1 && (r[o] = t && c.isArray(n) ? n.join(", ") : n);
725
+ }), r;
726
+ }
727
+ [Symbol.iterator]() {
728
+ return Object.entries(this.toJSON())[Symbol.iterator]();
729
+ }
730
+ toString() {
731
+ return Object.entries(this.toJSON()).map(([t, r]) => t + ": " + r).join(`
732
+ `);
733
+ }
734
+ get [Symbol.toStringTag]() {
735
+ return "AxiosHeaders";
736
+ }
737
+ static from(t) {
738
+ return t instanceof this ? t : new this(t);
739
+ }
740
+ static concat(t, ...r) {
741
+ const n = new this(t);
742
+ return r.forEach((o) => n.set(o)), n;
743
+ }
744
+ static accessor(t) {
745
+ const n = (this[De] = this[De] = {
746
+ accessors: {}
747
+ }).accessors, o = this.prototype;
748
+ function s(i) {
749
+ const a = L(i);
750
+ n[a] || (Ir(o, i), n[a] = !0);
751
+ }
752
+ return c.isArray(t) ? t.forEach(s) : s(t), this;
753
+ }
754
+ };
755
+ A.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
756
+ c.reduceDescriptors(A.prototype, ({ value: e }, t) => {
757
+ let r = t[0].toUpperCase() + t.slice(1);
758
+ return {
759
+ get: () => e,
760
+ set(n) {
761
+ this[r] = n;
762
+ }
763
+ };
764
+ });
765
+ c.freezeMethods(A);
766
+ function ue(e, t) {
767
+ const r = this || k, n = t || r, o = A.from(n.headers);
768
+ let s = n.data;
769
+ return c.forEach(e, function(a) {
770
+ s = a.call(r, s, o.normalize(), t ? t.status : void 0);
771
+ }), o.normalize(), s;
772
+ }
773
+ function mt(e) {
774
+ return !!(e && e.__CANCEL__);
775
+ }
776
+ function J(e, t, r) {
777
+ y.call(this, e ?? "canceled", y.ERR_CANCELED, t, r), this.name = "CanceledError";
778
+ }
779
+ c.inherits(J, y, {
780
+ __CANCEL__: !0
781
+ });
782
+ function Hr(e, t, r) {
783
+ const n = r.config.validateStatus;
784
+ !r.status || !n || n(r.status) ? e(r) : t(new y(
785
+ "Request failed with status code " + r.status,
786
+ [y.ERR_BAD_REQUEST, y.ERR_BAD_RESPONSE][Math.floor(r.status / 100) - 4],
787
+ r.config,
788
+ r.request,
789
+ r
790
+ ));
791
+ }
792
+ const Mr = R.hasStandardBrowserEnv ? (
793
+ // Standard browser envs support document.cookie
794
+ {
795
+ write(e, t, r, n, o, s) {
796
+ const i = [e + "=" + encodeURIComponent(t)];
797
+ c.isNumber(r) && i.push("expires=" + new Date(r).toGMTString()), c.isString(n) && i.push("path=" + n), c.isString(o) && i.push("domain=" + o), s === !0 && i.push("secure"), document.cookie = i.join("; ");
798
+ },
799
+ read(e) {
800
+ const t = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)"));
801
+ return t ? decodeURIComponent(t[3]) : null;
802
+ },
803
+ remove(e) {
804
+ this.write(e, "", Date.now() - 864e5);
805
+ }
806
+ }
807
+ ) : (
808
+ // Non-standard browser env (web workers, react-native) lack needed support.
809
+ {
810
+ write() {
811
+ },
812
+ read() {
813
+ return null;
814
+ },
815
+ remove() {
816
+ }
817
+ }
818
+ );
819
+ function zr(e) {
820
+ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
821
+ }
822
+ function qr(e, t) {
823
+ return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
824
+ }
825
+ function yt(e, t) {
826
+ return e && !zr(t) ? qr(e, t) : t;
827
+ }
828
+ const kr = R.hasStandardBrowserEnv ? (
829
+ // Standard browser envs have full support of the APIs needed to test
830
+ // whether the request URL is of the same origin as current location.
831
+ function() {
832
+ const t = /(msie|trident)/i.test(navigator.userAgent), r = document.createElement("a");
833
+ let n;
834
+ function o(s) {
835
+ let i = s;
836
+ return t && (r.setAttribute("href", i), i = r.href), r.setAttribute("href", i), {
837
+ href: r.href,
838
+ protocol: r.protocol ? r.protocol.replace(/:$/, "") : "",
839
+ host: r.host,
840
+ search: r.search ? r.search.replace(/^\?/, "") : "",
841
+ hash: r.hash ? r.hash.replace(/^#/, "") : "",
842
+ hostname: r.hostname,
843
+ port: r.port,
844
+ pathname: r.pathname.charAt(0) === "/" ? r.pathname : "/" + r.pathname
845
+ };
846
+ }
847
+ return n = o(window.location.href), function(i) {
848
+ const a = c.isString(i) ? o(i) : i;
849
+ return a.protocol === n.protocol && a.host === n.host;
850
+ };
851
+ }()
852
+ ) : (
853
+ // Non standard browser envs (web workers, react-native) lack needed support.
854
+ /* @__PURE__ */ function() {
855
+ return function() {
856
+ return !0;
857
+ };
858
+ }()
859
+ );
860
+ function Jr(e) {
861
+ const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
862
+ return t && t[1] || "";
863
+ }
864
+ function Vr(e, t) {
865
+ e = e || 10;
866
+ const r = new Array(e), n = new Array(e);
867
+ let o = 0, s = 0, i;
868
+ return t = t !== void 0 ? t : 1e3, function(f) {
869
+ const d = Date.now(), l = n[s];
870
+ i || (i = d), r[o] = f, n[o] = d;
871
+ let u = s, b = 0;
872
+ for (; u !== o; )
873
+ b += r[u++], u = u % e;
874
+ if (o = (o + 1) % e, o === s && (s = (s + 1) % e), d - i < t)
875
+ return;
876
+ const _ = l && d - l;
877
+ return _ ? Math.round(b * 1e3 / _) : void 0;
878
+ };
879
+ }
880
+ function Ue(e, t) {
881
+ let r = 0;
882
+ const n = Vr(50, 250);
883
+ return (o) => {
884
+ const s = o.loaded, i = o.lengthComputable ? o.total : void 0, a = s - r, f = n(a), d = s <= i;
885
+ r = s;
886
+ const l = {
887
+ loaded: s,
888
+ total: i,
889
+ progress: i ? s / i : void 0,
890
+ bytes: a,
891
+ rate: f || void 0,
892
+ estimated: f && i && d ? (i - s) / f : void 0,
893
+ event: o
894
+ };
895
+ l[t ? "download" : "upload"] = !0, e(l);
896
+ };
897
+ }
898
+ const Kr = typeof XMLHttpRequest < "u", Gr = Kr && function(e) {
899
+ return new Promise(function(r, n) {
900
+ let o = e.data;
901
+ const s = A.from(e.headers).normalize();
902
+ let { responseType: i, withXSRFToken: a } = e, f;
903
+ function d() {
904
+ e.cancelToken && e.cancelToken.unsubscribe(f), e.signal && e.signal.removeEventListener("abort", f);
905
+ }
906
+ let l;
907
+ if (c.isFormData(o)) {
908
+ if (R.hasStandardBrowserEnv || R.hasStandardBrowserWebWorkerEnv)
909
+ s.setContentType(!1);
910
+ else if ((l = s.getContentType()) !== !1) {
911
+ const [m, ...w] = l ? l.split(";").map((p) => p.trim()).filter(Boolean) : [];
912
+ s.setContentType([m || "multipart/form-data", ...w].join("; "));
913
+ }
914
+ }
915
+ let u = new XMLHttpRequest();
916
+ if (e.auth) {
917
+ const m = e.auth.username || "", w = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
918
+ s.set("Authorization", "Basic " + btoa(m + ":" + w));
919
+ }
920
+ const b = yt(e.baseURL, e.url);
921
+ u.open(e.method.toUpperCase(), ft(b, e.params, e.paramsSerializer), !0), u.timeout = e.timeout;
922
+ function _() {
923
+ if (!u)
924
+ return;
925
+ const m = A.from(
926
+ "getAllResponseHeaders" in u && u.getAllResponseHeaders()
927
+ ), p = {
928
+ data: !i || i === "text" || i === "json" ? u.responseText : u.response,
929
+ status: u.status,
930
+ statusText: u.statusText,
931
+ headers: m,
932
+ config: e,
933
+ request: u
934
+ };
935
+ Hr(function(S) {
936
+ r(S), d();
937
+ }, function(S) {
938
+ n(S), d();
939
+ }, p), u = null;
940
+ }
941
+ if ("onloadend" in u ? u.onloadend = _ : u.onreadystatechange = function() {
942
+ !u || u.readyState !== 4 || u.status === 0 && !(u.responseURL && u.responseURL.indexOf("file:") === 0) || setTimeout(_);
943
+ }, u.onabort = function() {
944
+ u && (n(new y("Request aborted", y.ECONNABORTED, e, u)), u = null);
945
+ }, u.onerror = function() {
946
+ n(new y("Network Error", y.ERR_NETWORK, e, u)), u = null;
947
+ }, u.ontimeout = function() {
948
+ let w = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
949
+ const p = e.transitional || dt;
950
+ e.timeoutErrorMessage && (w = e.timeoutErrorMessage), n(new y(
951
+ w,
952
+ p.clarifyTimeoutError ? y.ETIMEDOUT : y.ECONNABORTED,
953
+ e,
954
+ u
955
+ )), u = null;
956
+ }, R.hasStandardBrowserEnv && (a && c.isFunction(a) && (a = a(e)), a || a !== !1 && kr(b))) {
957
+ const m = e.xsrfHeaderName && e.xsrfCookieName && Mr.read(e.xsrfCookieName);
958
+ m && s.set(e.xsrfHeaderName, m);
959
+ }
960
+ o === void 0 && s.setContentType(null), "setRequestHeader" in u && c.forEach(s.toJSON(), function(w, p) {
961
+ u.setRequestHeader(p, w);
962
+ }), c.isUndefined(e.withCredentials) || (u.withCredentials = !!e.withCredentials), i && i !== "json" && (u.responseType = e.responseType), typeof e.onDownloadProgress == "function" && u.addEventListener("progress", Ue(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && u.upload && u.upload.addEventListener("progress", Ue(e.onUploadProgress)), (e.cancelToken || e.signal) && (f = (m) => {
963
+ u && (n(!m || m.type ? new J(null, e, u) : m), u.abort(), u = null);
964
+ }, e.cancelToken && e.cancelToken.subscribe(f), e.signal && (e.signal.aborted ? f() : e.signal.addEventListener("abort", f)));
965
+ const h = Jr(b);
966
+ if (h && R.protocols.indexOf(h) === -1) {
967
+ n(new y("Unsupported protocol " + h + ":", y.ERR_BAD_REQUEST, e));
968
+ return;
969
+ }
970
+ u.send(o || null);
971
+ });
972
+ }, me = {
973
+ http: wr,
974
+ xhr: Gr
975
+ };
976
+ c.forEach(me, (e, t) => {
977
+ if (e) {
978
+ try {
979
+ Object.defineProperty(e, "name", { value: t });
980
+ } catch {
981
+ }
982
+ Object.defineProperty(e, "adapterName", { value: t });
983
+ }
984
+ });
985
+ const Be = (e) => `- ${e}`, Wr = (e) => c.isFunction(e) || e === null || e === !1, bt = {
986
+ getAdapter: (e) => {
987
+ e = c.isArray(e) ? e : [e];
988
+ const { length: t } = e;
989
+ let r, n;
990
+ const o = {};
991
+ for (let s = 0; s < t; s++) {
992
+ r = e[s];
993
+ let i;
994
+ if (n = r, !Wr(r) && (n = me[(i = String(r)).toLowerCase()], n === void 0))
995
+ throw new y(`Unknown adapter '${i}'`);
996
+ if (n)
997
+ break;
998
+ o[i || "#" + s] = n;
999
+ }
1000
+ if (!n) {
1001
+ const s = Object.entries(o).map(
1002
+ ([a, f]) => `adapter ${a} ` + (f === !1 ? "is not supported by the environment" : "is not available in the build")
1003
+ );
1004
+ let i = t ? s.length > 1 ? `since :
1005
+ ` + s.map(Be).join(`
1006
+ `) : " " + Be(s[0]) : "as no adapter specified";
1007
+ throw new y(
1008
+ "There is no suitable adapter to dispatch the request " + i,
1009
+ "ERR_NOT_SUPPORT"
1010
+ );
1011
+ }
1012
+ return n;
1013
+ },
1014
+ adapters: me
1015
+ };
1016
+ function le(e) {
1017
+ if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1018
+ throw new J(null, e);
1019
+ }
1020
+ function $e(e) {
1021
+ return le(e), e.headers = A.from(e.headers), e.data = ue.call(
1022
+ e,
1023
+ e.transformRequest
1024
+ ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), bt.getAdapter(e.adapter || k.adapter)(e).then(function(n) {
1025
+ return le(e), n.data = ue.call(
1026
+ e,
1027
+ e.transformResponse,
1028
+ n
1029
+ ), n.headers = A.from(n.headers), n;
1030
+ }, function(n) {
1031
+ return mt(n) || (le(e), n && n.response && (n.response.data = ue.call(
1032
+ e,
1033
+ e.transformResponse,
1034
+ n.response
1035
+ ), n.response.headers = A.from(n.response.headers))), Promise.reject(n);
1036
+ });
1037
+ }
1038
+ const Le = (e) => e instanceof A ? e.toJSON() : e;
1039
+ function F(e, t) {
1040
+ t = t || {};
1041
+ const r = {};
1042
+ function n(d, l, u) {
1043
+ return c.isPlainObject(d) && c.isPlainObject(l) ? c.merge.call({ caseless: u }, d, l) : c.isPlainObject(l) ? c.merge({}, l) : c.isArray(l) ? l.slice() : l;
1044
+ }
1045
+ function o(d, l, u) {
1046
+ if (c.isUndefined(l)) {
1047
+ if (!c.isUndefined(d))
1048
+ return n(void 0, d, u);
1049
+ } else return n(d, l, u);
1050
+ }
1051
+ function s(d, l) {
1052
+ if (!c.isUndefined(l))
1053
+ return n(void 0, l);
1054
+ }
1055
+ function i(d, l) {
1056
+ if (c.isUndefined(l)) {
1057
+ if (!c.isUndefined(d))
1058
+ return n(void 0, d);
1059
+ } else return n(void 0, l);
1060
+ }
1061
+ function a(d, l, u) {
1062
+ if (u in t)
1063
+ return n(d, l);
1064
+ if (u in e)
1065
+ return n(void 0, d);
1066
+ }
1067
+ const f = {
1068
+ url: s,
1069
+ method: s,
1070
+ data: s,
1071
+ baseURL: i,
1072
+ transformRequest: i,
1073
+ transformResponse: i,
1074
+ paramsSerializer: i,
1075
+ timeout: i,
1076
+ timeoutMessage: i,
1077
+ withCredentials: i,
1078
+ withXSRFToken: i,
1079
+ adapter: i,
1080
+ responseType: i,
1081
+ xsrfCookieName: i,
1082
+ xsrfHeaderName: i,
1083
+ onUploadProgress: i,
1084
+ onDownloadProgress: i,
1085
+ decompress: i,
1086
+ maxContentLength: i,
1087
+ maxBodyLength: i,
1088
+ beforeRedirect: i,
1089
+ transport: i,
1090
+ httpAgent: i,
1091
+ httpsAgent: i,
1092
+ cancelToken: i,
1093
+ socketPath: i,
1094
+ responseEncoding: i,
1095
+ validateStatus: a,
1096
+ headers: (d, l) => o(Le(d), Le(l), !0)
1097
+ };
1098
+ return c.forEach(Object.keys(Object.assign({}, e, t)), function(l) {
1099
+ const u = f[l] || o, b = u(e[l], t[l], l);
1100
+ c.isUndefined(b) && u !== a || (r[l] = b);
1101
+ }), r;
1102
+ }
1103
+ const gt = "1.6.7", Te = {};
1104
+ ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
1105
+ Te[e] = function(n) {
1106
+ return typeof n === e || "a" + (t < 1 ? "n " : " ") + e;
1107
+ };
1108
+ });
1109
+ const Ie = {};
1110
+ Te.transitional = function(t, r, n) {
1111
+ function o(s, i) {
1112
+ return "[Axios v" + gt + "] Transitional option '" + s + "'" + i + (n ? ". " + n : "");
1113
+ }
1114
+ return (s, i, a) => {
1115
+ if (t === !1)
1116
+ throw new y(
1117
+ o(i, " has been removed" + (r ? " in " + r : "")),
1118
+ y.ERR_DEPRECATED
1119
+ );
1120
+ return r && !Ie[i] && (Ie[i] = !0), t ? t(s, i, a) : !0;
1121
+ };
1122
+ };
1123
+ function Xr(e, t, r) {
1124
+ if (typeof e != "object")
1125
+ throw new y("options must be an object", y.ERR_BAD_OPTION_VALUE);
1126
+ const n = Object.keys(e);
1127
+ let o = n.length;
1128
+ for (; o-- > 0; ) {
1129
+ const s = n[o], i = t[s];
1130
+ if (i) {
1131
+ const a = e[s], f = a === void 0 || i(a, s, e);
1132
+ if (f !== !0)
1133
+ throw new y("option " + s + " must be " + f, y.ERR_BAD_OPTION_VALUE);
1134
+ continue;
1135
+ }
1136
+ if (r !== !0)
1137
+ throw new y("Unknown option " + s, y.ERR_BAD_OPTION);
1138
+ }
1139
+ }
1140
+ const ye = {
1141
+ assertOptions: Xr,
1142
+ validators: Te
1143
+ }, v = ye.validators;
1144
+ let C = class {
1145
+ constructor(t) {
1146
+ this.defaults = t, this.interceptors = {
1147
+ request: new Fe(),
1148
+ response: new Fe()
1149
+ };
1150
+ }
1151
+ /**
1152
+ * Dispatch a request
1153
+ *
1154
+ * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
1155
+ * @param {?Object} config
1156
+ *
1157
+ * @returns {Promise} The Promise to be fulfilled
1158
+ */
1159
+ async request(t, r) {
1160
+ try {
1161
+ return await this._request(t, r);
1162
+ } catch (n) {
1163
+ if (n instanceof Error) {
1164
+ let o;
1165
+ Error.captureStackTrace ? Error.captureStackTrace(o = {}) : o = new Error();
1166
+ const s = o.stack ? o.stack.replace(/^.+\n/, "") : "";
1167
+ n.stack ? s && !String(n.stack).endsWith(s.replace(/^.+\n.+\n/, "")) && (n.stack += `
1168
+ ` + s) : n.stack = s;
1169
+ }
1170
+ throw n;
1171
+ }
1172
+ }
1173
+ _request(t, r) {
1174
+ typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = F(this.defaults, r);
1175
+ const { transitional: n, paramsSerializer: o, headers: s } = r;
1176
+ n !== void 0 && ye.assertOptions(n, {
1177
+ silentJSONParsing: v.transitional(v.boolean),
1178
+ forcedJSONParsing: v.transitional(v.boolean),
1179
+ clarifyTimeoutError: v.transitional(v.boolean)
1180
+ }, !1), o != null && (c.isFunction(o) ? r.paramsSerializer = {
1181
+ serialize: o
1182
+ } : ye.assertOptions(o, {
1183
+ encode: v.function,
1184
+ serialize: v.function
1185
+ }, !0)), r.method = (r.method || this.defaults.method || "get").toLowerCase();
1186
+ let i = s && c.merge(
1187
+ s.common,
1188
+ s[r.method]
1189
+ );
1190
+ s && c.forEach(
1191
+ ["delete", "get", "head", "post", "put", "patch", "common"],
1192
+ (h) => {
1193
+ delete s[h];
1194
+ }
1195
+ ), r.headers = A.concat(i, s);
1196
+ const a = [];
1197
+ let f = !0;
1198
+ this.interceptors.request.forEach(function(m) {
1199
+ typeof m.runWhen == "function" && m.runWhen(r) === !1 || (f = f && m.synchronous, a.unshift(m.fulfilled, m.rejected));
1200
+ });
1201
+ const d = [];
1202
+ this.interceptors.response.forEach(function(m) {
1203
+ d.push(m.fulfilled, m.rejected);
1204
+ });
1205
+ let l, u = 0, b;
1206
+ if (!f) {
1207
+ const h = [$e.bind(this), void 0];
1208
+ for (h.unshift.apply(h, a), h.push.apply(h, d), b = h.length, l = Promise.resolve(r); u < b; )
1209
+ l = l.then(h[u++], h[u++]);
1210
+ return l;
1211
+ }
1212
+ b = a.length;
1213
+ let _ = r;
1214
+ for (u = 0; u < b; ) {
1215
+ const h = a[u++], m = a[u++];
1216
+ try {
1217
+ _ = h(_);
1218
+ } catch (w) {
1219
+ m.call(this, w);
1220
+ break;
1221
+ }
1222
+ }
1223
+ try {
1224
+ l = $e.call(this, _);
1225
+ } catch (h) {
1226
+ return Promise.reject(h);
1227
+ }
1228
+ for (u = 0, b = d.length; u < b; )
1229
+ l = l.then(d[u++], d[u++]);
1230
+ return l;
1231
+ }
1232
+ getUri(t) {
1233
+ t = F(this.defaults, t);
1234
+ const r = yt(t.baseURL, t.url);
1235
+ return ft(r, t.params, t.paramsSerializer);
1236
+ }
1237
+ };
1238
+ c.forEach(["delete", "get", "head", "options"], function(t) {
1239
+ C.prototype[t] = function(r, n) {
1240
+ return this.request(F(n || {}, {
1241
+ method: t,
1242
+ url: r,
1243
+ data: (n || {}).data
1244
+ }));
1245
+ };
1246
+ });
1247
+ c.forEach(["post", "put", "patch"], function(t) {
1248
+ function r(n) {
1249
+ return function(s, i, a) {
1250
+ return this.request(F(a || {}, {
1251
+ method: t,
1252
+ headers: n ? {
1253
+ "Content-Type": "multipart/form-data"
1254
+ } : {},
1255
+ url: s,
1256
+ data: i
1257
+ }));
1258
+ };
1259
+ }
1260
+ C.prototype[t] = r(), C.prototype[t + "Form"] = r(!0);
1261
+ });
1262
+ let Qr = class wt {
1263
+ constructor(t) {
1264
+ if (typeof t != "function")
1265
+ throw new TypeError("executor must be a function.");
1266
+ let r;
1267
+ this.promise = new Promise(function(s) {
1268
+ r = s;
1269
+ });
1270
+ const n = this;
1271
+ this.promise.then((o) => {
1272
+ if (!n._listeners) return;
1273
+ let s = n._listeners.length;
1274
+ for (; s-- > 0; )
1275
+ n._listeners[s](o);
1276
+ n._listeners = null;
1277
+ }), this.promise.then = (o) => {
1278
+ let s;
1279
+ const i = new Promise((a) => {
1280
+ n.subscribe(a), s = a;
1281
+ }).then(o);
1282
+ return i.cancel = function() {
1283
+ n.unsubscribe(s);
1284
+ }, i;
1285
+ }, t(function(s, i, a) {
1286
+ n.reason || (n.reason = new J(s, i, a), r(n.reason));
1287
+ });
1288
+ }
1289
+ /**
1290
+ * Throws a `CanceledError` if cancellation has been requested.
1291
+ */
1292
+ throwIfRequested() {
1293
+ if (this.reason)
1294
+ throw this.reason;
1295
+ }
1296
+ /**
1297
+ * Subscribe to the cancel signal
1298
+ */
1299
+ subscribe(t) {
1300
+ if (this.reason) {
1301
+ t(this.reason);
1302
+ return;
1303
+ }
1304
+ this._listeners ? this._listeners.push(t) : this._listeners = [t];
1305
+ }
1306
+ /**
1307
+ * Unsubscribe from the cancel signal
1308
+ */
1309
+ unsubscribe(t) {
1310
+ if (!this._listeners)
1311
+ return;
1312
+ const r = this._listeners.indexOf(t);
1313
+ r !== -1 && this._listeners.splice(r, 1);
1314
+ }
1315
+ /**
1316
+ * Returns an object that contains a new `CancelToken` and a function that, when called,
1317
+ * cancels the `CancelToken`.
1318
+ */
1319
+ static source() {
1320
+ let t;
1321
+ return {
1322
+ token: new wt(function(o) {
1323
+ t = o;
1324
+ }),
1325
+ cancel: t
1326
+ };
1327
+ }
1328
+ };
1329
+ function Zr(e) {
1330
+ return function(r) {
1331
+ return e.apply(null, r);
1332
+ };
1333
+ }
1334
+ function Yr(e) {
1335
+ return c.isObject(e) && e.isAxiosError === !0;
1336
+ }
1337
+ const be = {
1338
+ Continue: 100,
1339
+ SwitchingProtocols: 101,
1340
+ Processing: 102,
1341
+ EarlyHints: 103,
1342
+ Ok: 200,
1343
+ Created: 201,
1344
+ Accepted: 202,
1345
+ NonAuthoritativeInformation: 203,
1346
+ NoContent: 204,
1347
+ ResetContent: 205,
1348
+ PartialContent: 206,
1349
+ MultiStatus: 207,
1350
+ AlreadyReported: 208,
1351
+ ImUsed: 226,
1352
+ MultipleChoices: 300,
1353
+ MovedPermanently: 301,
1354
+ Found: 302,
1355
+ SeeOther: 303,
1356
+ NotModified: 304,
1357
+ UseProxy: 305,
1358
+ Unused: 306,
1359
+ TemporaryRedirect: 307,
1360
+ PermanentRedirect: 308,
1361
+ BadRequest: 400,
1362
+ Unauthorized: 401,
1363
+ PaymentRequired: 402,
1364
+ Forbidden: 403,
1365
+ NotFound: 404,
1366
+ MethodNotAllowed: 405,
1367
+ NotAcceptable: 406,
1368
+ ProxyAuthenticationRequired: 407,
1369
+ RequestTimeout: 408,
1370
+ Conflict: 409,
1371
+ Gone: 410,
1372
+ LengthRequired: 411,
1373
+ PreconditionFailed: 412,
1374
+ PayloadTooLarge: 413,
1375
+ UriTooLong: 414,
1376
+ UnsupportedMediaType: 415,
1377
+ RangeNotSatisfiable: 416,
1378
+ ExpectationFailed: 417,
1379
+ ImATeapot: 418,
1380
+ MisdirectedRequest: 421,
1381
+ UnprocessableEntity: 422,
1382
+ Locked: 423,
1383
+ FailedDependency: 424,
1384
+ TooEarly: 425,
1385
+ UpgradeRequired: 426,
1386
+ PreconditionRequired: 428,
1387
+ TooManyRequests: 429,
1388
+ RequestHeaderFieldsTooLarge: 431,
1389
+ UnavailableForLegalReasons: 451,
1390
+ InternalServerError: 500,
1391
+ NotImplemented: 501,
1392
+ BadGateway: 502,
1393
+ ServiceUnavailable: 503,
1394
+ GatewayTimeout: 504,
1395
+ HttpVersionNotSupported: 505,
1396
+ VariantAlsoNegotiates: 506,
1397
+ InsufficientStorage: 507,
1398
+ LoopDetected: 508,
1399
+ NotExtended: 510,
1400
+ NetworkAuthenticationRequired: 511
1401
+ };
1402
+ Object.entries(be).forEach(([e, t]) => {
1403
+ be[t] = e;
1404
+ });
1405
+ function Et(e) {
1406
+ const t = new C(e), r = Ye(C.prototype.request, t);
1407
+ return c.extend(r, C.prototype, t, { allOwnKeys: !0 }), c.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(o) {
1408
+ return Et(F(e, o));
1409
+ }, r;
1410
+ }
1411
+ const E = Et(k);
1412
+ E.Axios = C;
1413
+ E.CanceledError = J;
1414
+ E.CancelToken = Qr;
1415
+ E.isCancel = mt;
1416
+ E.VERSION = gt;
1417
+ E.toFormData = re;
1418
+ E.AxiosError = y;
1419
+ E.Cancel = E.CanceledError;
1420
+ E.all = function(t) {
1421
+ return Promise.all(t);
1422
+ };
1423
+ E.spread = Zr;
1424
+ E.isAxiosError = Yr;
1425
+ E.mergeConfig = F;
1426
+ E.AxiosHeaders = A;
1427
+ E.formToJSON = (e) => ht(c.isHTMLForm(e) ? new FormData(e) : e);
1428
+ E.getAdapter = bt.getAdapter;
1429
+ E.HttpStatusCode = be;
1430
+ E.default = E;
1431
+ const {
1432
+ Axios: js,
1433
+ AxiosError: Ns,
1434
+ CanceledError: Fs,
1435
+ isCancel: Ds,
1436
+ CancelToken: Us,
1437
+ VERSION: Bs,
1438
+ all: $s,
1439
+ Cancel: Ls,
1440
+ isAxiosError: Is,
1441
+ spread: Hs,
1442
+ toFormData: Ms,
1443
+ AxiosHeaders: zs,
1444
+ HttpStatusCode: qs,
1445
+ formToJSON: ks,
1446
+ getAdapter: Js,
1447
+ mergeConfig: Vs
1448
+ } = E;
1449
+ function en() {
1450
+ this.__data__ = [], this.size = 0;
1451
+ }
1452
+ function ne(e, t) {
1453
+ return e === t || e !== e && t !== t;
1454
+ }
1455
+ function oe(e, t) {
1456
+ for (var r = e.length; r--; )
1457
+ if (ne(e[r][0], t))
1458
+ return r;
1459
+ return -1;
1460
+ }
1461
+ var tn = Array.prototype, rn = tn.splice;
1462
+ function nn(e) {
1463
+ var t = this.__data__, r = oe(t, e);
1464
+ if (r < 0)
1465
+ return !1;
1466
+ var n = t.length - 1;
1467
+ return r == n ? t.pop() : rn.call(t, r, 1), --this.size, !0;
1468
+ }
1469
+ function on(e) {
1470
+ var t = this.__data__, r = oe(t, e);
1471
+ return r < 0 ? void 0 : t[r][1];
1472
+ }
1473
+ function sn(e) {
1474
+ return oe(this.__data__, e) > -1;
1475
+ }
1476
+ function an(e, t) {
1477
+ var r = this.__data__, n = oe(r, e);
1478
+ return n < 0 ? (++this.size, r.push([e, t])) : r[n][1] = t, this;
1479
+ }
1480
+ function P(e) {
1481
+ var t = -1, r = e == null ? 0 : e.length;
1482
+ for (this.clear(); ++t < r; ) {
1483
+ var n = e[t];
1484
+ this.set(n[0], n[1]);
1485
+ }
1486
+ }
1487
+ P.prototype.clear = en;
1488
+ P.prototype.delete = nn;
1489
+ P.prototype.get = on;
1490
+ P.prototype.has = sn;
1491
+ P.prototype.set = an;
1492
+ function cn() {
1493
+ this.__data__ = new P(), this.size = 0;
1494
+ }
1495
+ function un(e) {
1496
+ var t = this.__data__, r = t.delete(e);
1497
+ return this.size = t.size, r;
1498
+ }
1499
+ function ln(e) {
1500
+ return this.__data__.get(e);
1501
+ }
1502
+ function fn(e) {
1503
+ return this.__data__.has(e);
1504
+ }
1505
+ var Ot = typeof global == "object" && global && global.Object === Object && global, dn = typeof self == "object" && self && self.Object === Object && self, U = Ot || dn || Function("return this")(), Q = U.Symbol, _t = Object.prototype, pn = _t.hasOwnProperty, hn = _t.toString, I = Q ? Q.toStringTag : void 0;
1506
+ function mn(e) {
1507
+ var t = pn.call(e, I), r = e[I];
1508
+ try {
1509
+ e[I] = void 0;
1510
+ var n = !0;
1511
+ } catch {
1512
+ }
1513
+ var o = hn.call(e);
1514
+ return n && (t ? e[I] = r : delete e[I]), o;
1515
+ }
1516
+ var yn = Object.prototype, bn = yn.toString;
1517
+ function gn(e) {
1518
+ return bn.call(e);
1519
+ }
1520
+ var wn = "[object Null]", En = "[object Undefined]", He = Q ? Q.toStringTag : void 0;
1521
+ function se(e) {
1522
+ return e == null ? e === void 0 ? En : wn : He && He in Object(e) ? mn(e) : gn(e);
1523
+ }
1524
+ function N(e) {
1525
+ var t = typeof e;
1526
+ return e != null && (t == "object" || t == "function");
1527
+ }
1528
+ var On = "[object AsyncFunction]", _n = "[object Function]", Sn = "[object GeneratorFunction]", Tn = "[object Proxy]";
1529
+ function Ae(e) {
1530
+ if (!N(e))
1531
+ return !1;
1532
+ var t = se(e);
1533
+ return t == _n || t == Sn || t == On || t == Tn;
1534
+ }
1535
+ var fe = U["__core-js_shared__"], Me = function() {
1536
+ var e = /[^.]+$/.exec(fe && fe.keys && fe.keys.IE_PROTO || "");
1537
+ return e ? "Symbol(src)_1." + e : "";
1538
+ }();
1539
+ function An(e) {
1540
+ return !!Me && Me in e;
1541
+ }
1542
+ var Rn = Function.prototype, xn = Rn.toString;
1543
+ function Pn(e) {
1544
+ if (e != null) {
1545
+ try {
1546
+ return xn.call(e);
1547
+ } catch {
1548
+ }
1549
+ try {
1550
+ return e + "";
1551
+ } catch {
1552
+ }
1553
+ }
1554
+ return "";
1555
+ }
1556
+ var vn = /[\\^$.*+?()[\]{}|]/g, Cn = /^\[object .+?Constructor\]$/, jn = Function.prototype, Nn = Object.prototype, Fn = jn.toString, Dn = Nn.hasOwnProperty, Un = RegExp(
1557
+ "^" + Fn.call(Dn).replace(vn, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1558
+ );
1559
+ function Bn(e) {
1560
+ if (!N(e) || An(e))
1561
+ return !1;
1562
+ var t = Ae(e) ? Un : Cn;
1563
+ return t.test(Pn(e));
1564
+ }
1565
+ function $n(e, t) {
1566
+ return e == null ? void 0 : e[t];
1567
+ }
1568
+ function Re(e, t) {
1569
+ var r = $n(e, t);
1570
+ return Bn(r) ? r : void 0;
1571
+ }
1572
+ var St = Re(U, "Map"), z = Re(Object, "create");
1573
+ function Ln() {
1574
+ this.__data__ = z ? z(null) : {}, this.size = 0;
1575
+ }
1576
+ function In(e) {
1577
+ var t = this.has(e) && delete this.__data__[e];
1578
+ return this.size -= t ? 1 : 0, t;
1579
+ }
1580
+ var Hn = "__lodash_hash_undefined__", Mn = Object.prototype, zn = Mn.hasOwnProperty;
1581
+ function qn(e) {
1582
+ var t = this.__data__;
1583
+ if (z) {
1584
+ var r = t[e];
1585
+ return r === Hn ? void 0 : r;
1586
+ }
1587
+ return zn.call(t, e) ? t[e] : void 0;
1588
+ }
1589
+ var kn = Object.prototype, Jn = kn.hasOwnProperty;
1590
+ function Vn(e) {
1591
+ var t = this.__data__;
1592
+ return z ? t[e] !== void 0 : Jn.call(t, e);
1593
+ }
1594
+ var Kn = "__lodash_hash_undefined__";
1595
+ function Gn(e, t) {
1596
+ var r = this.__data__;
1597
+ return this.size += this.has(e) ? 0 : 1, r[e] = z && t === void 0 ? Kn : t, this;
1598
+ }
1599
+ function j(e) {
1600
+ var t = -1, r = e == null ? 0 : e.length;
1601
+ for (this.clear(); ++t < r; ) {
1602
+ var n = e[t];
1603
+ this.set(n[0], n[1]);
1604
+ }
1605
+ }
1606
+ j.prototype.clear = Ln;
1607
+ j.prototype.delete = In;
1608
+ j.prototype.get = qn;
1609
+ j.prototype.has = Vn;
1610
+ j.prototype.set = Gn;
1611
+ function Wn() {
1612
+ this.size = 0, this.__data__ = {
1613
+ hash: new j(),
1614
+ map: new (St || P)(),
1615
+ string: new j()
1616
+ };
1617
+ }
1618
+ function Xn(e) {
1619
+ var t = typeof e;
1620
+ return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
1621
+ }
1622
+ function ie(e, t) {
1623
+ var r = e.__data__;
1624
+ return Xn(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
1625
+ }
1626
+ function Qn(e) {
1627
+ var t = ie(this, e).delete(e);
1628
+ return this.size -= t ? 1 : 0, t;
1629
+ }
1630
+ function Zn(e) {
1631
+ return ie(this, e).get(e);
1632
+ }
1633
+ function Yn(e) {
1634
+ return ie(this, e).has(e);
1635
+ }
1636
+ function eo(e, t) {
1637
+ var r = ie(this, e), n = r.size;
1638
+ return r.set(e, t), this.size += r.size == n ? 0 : 1, this;
1639
+ }
1640
+ function B(e) {
1641
+ var t = -1, r = e == null ? 0 : e.length;
1642
+ for (this.clear(); ++t < r; ) {
1643
+ var n = e[t];
1644
+ this.set(n[0], n[1]);
1645
+ }
1646
+ }
1647
+ B.prototype.clear = Wn;
1648
+ B.prototype.delete = Qn;
1649
+ B.prototype.get = Zn;
1650
+ B.prototype.has = Yn;
1651
+ B.prototype.set = eo;
1652
+ var to = 200;
1653
+ function ro(e, t) {
1654
+ var r = this.__data__;
1655
+ if (r instanceof P) {
1656
+ var n = r.__data__;
1657
+ if (!St || n.length < to - 1)
1658
+ return n.push([e, t]), this.size = ++r.size, this;
1659
+ r = this.__data__ = new B(n);
1660
+ }
1661
+ return r.set(e, t), this.size = r.size, this;
1662
+ }
1663
+ function $(e) {
1664
+ var t = this.__data__ = new P(e);
1665
+ this.size = t.size;
1666
+ }
1667
+ $.prototype.clear = cn;
1668
+ $.prototype.delete = un;
1669
+ $.prototype.get = ln;
1670
+ $.prototype.has = fn;
1671
+ $.prototype.set = ro;
1672
+ var Z = function() {
1673
+ try {
1674
+ var e = Re(Object, "defineProperty");
1675
+ return e({}, "", {}), e;
1676
+ } catch {
1677
+ }
1678
+ }();
1679
+ function xe(e, t, r) {
1680
+ t == "__proto__" && Z ? Z(e, t, {
1681
+ configurable: !0,
1682
+ enumerable: !0,
1683
+ value: r,
1684
+ writable: !0
1685
+ }) : e[t] = r;
1686
+ }
1687
+ function ge(e, t, r) {
1688
+ (r !== void 0 && !ne(e[t], r) || r === void 0 && !(t in e)) && xe(e, t, r);
1689
+ }
1690
+ function no(e) {
1691
+ return function(t, r, n) {
1692
+ for (var o = -1, s = Object(t), i = n(t), a = i.length; a--; ) {
1693
+ var f = i[++o];
1694
+ if (r(s[f], f, s) === !1)
1695
+ break;
1696
+ }
1697
+ return t;
1698
+ };
1699
+ }
1700
+ var oo = no(), Tt = typeof exports == "object" && exports && !exports.nodeType && exports, ze = Tt && typeof module == "object" && module && !module.nodeType && module, so = ze && ze.exports === Tt, qe = so ? U.Buffer : void 0;
1701
+ qe && qe.allocUnsafe;
1702
+ function io(e, t) {
1703
+ return e.slice();
1704
+ }
1705
+ var ke = U.Uint8Array;
1706
+ function ao(e) {
1707
+ var t = new e.constructor(e.byteLength);
1708
+ return new ke(t).set(new ke(e)), t;
1709
+ }
1710
+ function co(e, t) {
1711
+ var r = ao(e.buffer);
1712
+ return new e.constructor(r, e.byteOffset, e.length);
1713
+ }
1714
+ function uo(e, t) {
1715
+ var r = -1, n = e.length;
1716
+ for (t || (t = Array(n)); ++r < n; )
1717
+ t[r] = e[r];
1718
+ return t;
1719
+ }
1720
+ var Je = Object.create, lo = /* @__PURE__ */ function() {
1721
+ function e() {
1722
+ }
1723
+ return function(t) {
1724
+ if (!N(t))
1725
+ return {};
1726
+ if (Je)
1727
+ return Je(t);
1728
+ e.prototype = t;
1729
+ var r = new e();
1730
+ return e.prototype = void 0, r;
1731
+ };
1732
+ }();
1733
+ function fo(e, t) {
1734
+ return function(r) {
1735
+ return e(t(r));
1736
+ };
1737
+ }
1738
+ var At = fo(Object.getPrototypeOf, Object), po = Object.prototype;
1739
+ function Rt(e) {
1740
+ var t = e && e.constructor, r = typeof t == "function" && t.prototype || po;
1741
+ return e === r;
1742
+ }
1743
+ function ho(e) {
1744
+ return typeof e.constructor == "function" && !Rt(e) ? lo(At(e)) : {};
1745
+ }
1746
+ function V(e) {
1747
+ return e != null && typeof e == "object";
1748
+ }
1749
+ var mo = "[object Arguments]";
1750
+ function Ve(e) {
1751
+ return V(e) && se(e) == mo;
1752
+ }
1753
+ var xt = Object.prototype, yo = xt.hasOwnProperty, bo = xt.propertyIsEnumerable, we = Ve(/* @__PURE__ */ function() {
1754
+ return arguments;
1755
+ }()) ? Ve : function(e) {
1756
+ return V(e) && yo.call(e, "callee") && !bo.call(e, "callee");
1757
+ }, Ee = Array.isArray, go = 9007199254740991;
1758
+ function Pt(e) {
1759
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= go;
1760
+ }
1761
+ function Pe(e) {
1762
+ return e != null && Pt(e.length) && !Ae(e);
1763
+ }
1764
+ function wo(e) {
1765
+ return V(e) && Pe(e);
1766
+ }
1767
+ function Eo() {
1768
+ return !1;
1769
+ }
1770
+ var vt = typeof exports == "object" && exports && !exports.nodeType && exports, Ke = vt && typeof module == "object" && module && !module.nodeType && module, Oo = Ke && Ke.exports === vt, Ge = Oo ? U.Buffer : void 0, _o = Ge ? Ge.isBuffer : void 0, Ct = _o || Eo, So = "[object Object]", To = Function.prototype, Ao = Object.prototype, jt = To.toString, Ro = Ao.hasOwnProperty, xo = jt.call(Object);
1771
+ function Po(e) {
1772
+ if (!V(e) || se(e) != So)
1773
+ return !1;
1774
+ var t = At(e);
1775
+ if (t === null)
1776
+ return !0;
1777
+ var r = Ro.call(t, "constructor") && t.constructor;
1778
+ return typeof r == "function" && r instanceof r && jt.call(r) == xo;
1779
+ }
1780
+ var vo = "[object Arguments]", Co = "[object Array]", jo = "[object Boolean]", No = "[object Date]", Fo = "[object Error]", Do = "[object Function]", Uo = "[object Map]", Bo = "[object Number]", $o = "[object Object]", Lo = "[object RegExp]", Io = "[object Set]", Ho = "[object String]", Mo = "[object WeakMap]", zo = "[object ArrayBuffer]", qo = "[object DataView]", ko = "[object Float32Array]", Jo = "[object Float64Array]", Vo = "[object Int8Array]", Ko = "[object Int16Array]", Go = "[object Int32Array]", Wo = "[object Uint8Array]", Xo = "[object Uint8ClampedArray]", Qo = "[object Uint16Array]", Zo = "[object Uint32Array]", g = {};
1781
+ g[ko] = g[Jo] = g[Vo] = g[Ko] = g[Go] = g[Wo] = g[Xo] = g[Qo] = g[Zo] = !0;
1782
+ g[vo] = g[Co] = g[zo] = g[jo] = g[qo] = g[No] = g[Fo] = g[Do] = g[Uo] = g[Bo] = g[$o] = g[Lo] = g[Io] = g[Ho] = g[Mo] = !1;
1783
+ function Yo(e) {
1784
+ return V(e) && Pt(e.length) && !!g[se(e)];
1785
+ }
1786
+ function es(e) {
1787
+ return function(t) {
1788
+ return e(t);
1789
+ };
1790
+ }
1791
+ var Nt = typeof exports == "object" && exports && !exports.nodeType && exports, H = Nt && typeof module == "object" && module && !module.nodeType && module, ts = H && H.exports === Nt, de = ts && Ot.process, We = function() {
1792
+ try {
1793
+ var e = H && H.require && H.require("util").types;
1794
+ return e || de && de.binding && de.binding("util");
1795
+ } catch {
1796
+ }
1797
+ }(), Xe = We && We.isTypedArray, Ft = Xe ? es(Xe) : Yo;
1798
+ function Oe(e, t) {
1799
+ if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__")
1800
+ return e[t];
1801
+ }
1802
+ var rs = Object.prototype, ns = rs.hasOwnProperty;
1803
+ function os(e, t, r) {
1804
+ var n = e[t];
1805
+ (!(ns.call(e, t) && ne(n, r)) || r === void 0 && !(t in e)) && xe(e, t, r);
1806
+ }
1807
+ function ss(e, t, r, n) {
1808
+ var o = !r;
1809
+ r || (r = {});
1810
+ for (var s = -1, i = t.length; ++s < i; ) {
1811
+ var a = t[s], f = void 0;
1812
+ f === void 0 && (f = e[a]), o ? xe(r, a, f) : os(r, a, f);
1813
+ }
1814
+ return r;
1815
+ }
1816
+ function is(e, t) {
1817
+ for (var r = -1, n = Array(e); ++r < e; )
1818
+ n[r] = t(r);
1819
+ return n;
1820
+ }
1821
+ var as = 9007199254740991, cs = /^(?:0|[1-9]\d*)$/;
1822
+ function Dt(e, t) {
1823
+ var r = typeof e;
1824
+ return t = t ?? as, !!t && (r == "number" || r != "symbol" && cs.test(e)) && e > -1 && e % 1 == 0 && e < t;
1825
+ }
1826
+ function us(e, t) {
1827
+ var r = Ee(e), n = !r && we(e), o = !r && !n && Ct(e), s = !r && !n && !o && Ft(e), i = r || n || o || s, a = i ? is(e.length, String) : [], f = a.length;
1828
+ for (var d in e)
1829
+ i && // Safari 9 has enumerable `arguments.length` in strict mode.
1830
+ (d == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
1831
+ o && (d == "offset" || d == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
1832
+ s && (d == "buffer" || d == "byteLength" || d == "byteOffset") || // Skip index properties.
1833
+ Dt(d, f)) || a.push(d);
1834
+ return a;
1835
+ }
1836
+ function ls(e) {
1837
+ var t = [];
1838
+ if (e != null)
1839
+ for (var r in Object(e))
1840
+ t.push(r);
1841
+ return t;
1842
+ }
1843
+ var fs = Object.prototype, ds = fs.hasOwnProperty;
1844
+ function ps(e) {
1845
+ if (!N(e))
1846
+ return ls(e);
1847
+ var t = Rt(e), r = [];
1848
+ for (var n in e)
1849
+ n == "constructor" && (t || !ds.call(e, n)) || r.push(n);
1850
+ return r;
1851
+ }
1852
+ function Ut(e) {
1853
+ return Pe(e) ? us(e) : ps(e);
1854
+ }
1855
+ function hs(e) {
1856
+ return ss(e, Ut(e));
1857
+ }
1858
+ function ms(e, t, r, n, o, s, i) {
1859
+ var a = Oe(e, r), f = Oe(t, r), d = i.get(f);
1860
+ if (d) {
1861
+ ge(e, r, d);
1862
+ return;
1863
+ }
1864
+ var l = s ? s(a, f, r + "", e, t, i) : void 0, u = l === void 0;
1865
+ if (u) {
1866
+ var b = Ee(f), _ = !b && Ct(f), h = !b && !_ && Ft(f);
1867
+ l = f, b || _ || h ? Ee(a) ? l = a : wo(a) ? l = uo(a) : _ ? (u = !1, l = io(f)) : h ? (u = !1, l = co(f)) : l = [] : Po(f) || we(f) ? (l = a, we(a) ? l = hs(a) : (!N(a) || Ae(a)) && (l = ho(f))) : u = !1;
1868
+ }
1869
+ u && (i.set(f, l), o(l, f, n, s, i), i.delete(f)), ge(e, r, l);
1870
+ }
1871
+ function Bt(e, t, r, n, o) {
1872
+ e !== t && oo(t, function(s, i) {
1873
+ if (o || (o = new $()), N(s))
1874
+ ms(e, t, i, r, Bt, n, o);
1875
+ else {
1876
+ var a = n ? n(Oe(e, i), s, i + "", e, t, o) : void 0;
1877
+ a === void 0 && (a = s), ge(e, i, a);
1878
+ }
1879
+ }, Ut);
1880
+ }
1881
+ function $t(e) {
1882
+ return e;
1883
+ }
1884
+ function ys(e, t, r) {
1885
+ switch (r.length) {
1886
+ case 0:
1887
+ return e.call(t);
1888
+ case 1:
1889
+ return e.call(t, r[0]);
1890
+ case 2:
1891
+ return e.call(t, r[0], r[1]);
1892
+ case 3:
1893
+ return e.call(t, r[0], r[1], r[2]);
1894
+ }
1895
+ return e.apply(t, r);
1896
+ }
1897
+ var Qe = Math.max;
1898
+ function bs(e, t, r) {
1899
+ return t = Qe(t === void 0 ? e.length - 1 : t, 0), function() {
1900
+ for (var n = arguments, o = -1, s = Qe(n.length - t, 0), i = Array(s); ++o < s; )
1901
+ i[o] = n[t + o];
1902
+ o = -1;
1903
+ for (var a = Array(t + 1); ++o < t; )
1904
+ a[o] = n[o];
1905
+ return a[t] = r(i), ys(e, this, a);
1906
+ };
1907
+ }
1908
+ function gs(e) {
1909
+ return function() {
1910
+ return e;
1911
+ };
1912
+ }
1913
+ var ws = Z ? function(e, t) {
1914
+ return Z(e, "toString", {
1915
+ configurable: !0,
1916
+ enumerable: !1,
1917
+ value: gs(t),
1918
+ writable: !0
1919
+ });
1920
+ } : $t, Es = 800, Os = 16, _s = Date.now;
1921
+ function Ss(e) {
1922
+ var t = 0, r = 0;
1923
+ return function() {
1924
+ var n = _s(), o = Os - (n - r);
1925
+ if (r = n, o > 0) {
1926
+ if (++t >= Es)
1927
+ return arguments[0];
1928
+ } else
1929
+ t = 0;
1930
+ return e.apply(void 0, arguments);
1931
+ };
1932
+ }
1933
+ var Ts = Ss(ws);
1934
+ function As(e, t) {
1935
+ return Ts(bs(e, t, $t), e + "");
1936
+ }
1937
+ function Rs(e, t, r) {
1938
+ if (!N(r))
1939
+ return !1;
1940
+ var n = typeof t;
1941
+ return (n == "number" ? Pe(r) && Dt(t, r.length) : n == "string" && t in r) ? ne(r[t], e) : !1;
1942
+ }
1943
+ function xs(e) {
1944
+ return As(function(t, r) {
1945
+ var n = -1, o = r.length, s = o > 1 ? r[o - 1] : void 0, i = o > 2 ? r[2] : void 0;
1946
+ for (s = e.length > 3 && typeof s == "function" ? (o--, s) : void 0, i && Rs(r[0], r[1], i) && (s = o < 3 ? void 0 : s, o = 1), t = Object(t); ++n < o; ) {
1947
+ var a = r[n];
1948
+ a && e(t, a, n, s);
1949
+ }
1950
+ return t;
1951
+ });
1952
+ }
1953
+ var Ze = xs(function(e, t, r) {
1954
+ Bt(e, t, r);
1955
+ });
1956
+ const Ks = (e, t) => {
1957
+ const r = (n, o) => (s, i) => (a, f) => {
1958
+ const d = G(!1), l = G(null), u = G(null), b = G(null);
1959
+ return {
1960
+ loading: d,
1961
+ error: l,
1962
+ data: u,
1963
+ run: async (h, m) => {
1964
+ d.value = !0, l.value = null, u.value = null, b.value = new AbortController(), e || (e = E.create());
1965
+ let w = "";
1966
+ typeof s == "string" && (w = s), Lt(s) && (w = s.value);
1967
+ let p = {
1968
+ method: n,
1969
+ url: w,
1970
+ headers: {}
1971
+ };
1972
+ return h && (a = h), p.method === "get" || p.method === "delete" ? p.params = a : p.data = a, p.method !== "get" && (p.params = {
1973
+ ...p.params,
1974
+ timestamp: (/* @__PURE__ */ new Date()).getTime()
1975
+ }), i && (p = await i(p)), f && (p = Ze(p, f)), m && (p = Ze(p, m)), t && (p = await t(p)), p.axiosInstance && (e = p.axiosInstance), p.urlPrefix && (p.baseURL = p.baseURL + p.urlPrefix), p.signal || (p.signal = b.value.signal), p.beforeRun && (p = await p.beforeRun(p)), e(p).then(async (O) => {
1976
+ let S = (O == null ? void 0 : O.data) ?? O;
1977
+ return p.onSuccess && (S = await p.onSuccess(O, p)), u.value = S, Promise.resolve([null, S]);
1978
+ }).catch(async (O) => {
1979
+ if (p.signal) {
1980
+ const K = p.signal.reason;
1981
+ typeof K == "string" && (O.abortReason = K || "");
1982
+ }
1983
+ let S = O;
1984
+ return p.onError && (S = await p.onError(O, p)), p.onCustomError && (S = await p.onCustomError(O, p)), l.value = S, Promise.resolve([S, null]);
1985
+ }).finally(() => {
1986
+ p.finally && p.finally(p), d.value = !1;
1987
+ });
1988
+ },
1989
+ abortController: b
1990
+ };
1991
+ };
1992
+ return {
1993
+ get: r("get"),
1994
+ post: r("post"),
1995
+ put: r("put"),
1996
+ patch: r("patch"),
1997
+ delete: r("delete")
1998
+ };
1999
+ };
2000
+ export {
2001
+ Ks as curringHttp
2002
+ };