@nside/wefa 0.4.4 → 0.4.6

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 (231) hide show
  1. package/README.md +3 -1
  2. package/dist/LegalConsent-BxOWAO0s.js +126 -0
  3. package/dist/LegalConsent-ChW-GYBv.cjs +1 -0
  4. package/dist/LegalDocument-BM4HLw9A.js +1580 -0
  5. package/dist/LegalDocument-hhYW9BBO.cjs +114 -0
  6. package/dist/LoginView-BpDNpbMQ.cjs +1 -0
  7. package/dist/LoginView-bUKvV6JV.js +17 -0
  8. package/dist/LogoutView-BrAt0b2J.js +16 -0
  9. package/dist/LogoutView-D7D3LcfL.cjs +1 -0
  10. package/dist/angledown-DgMf_Vjv.cjs +2 -0
  11. package/dist/angledown-igq2UW-u.js +46 -0
  12. package/dist/badge-2r_VjcsG.js +102 -0
  13. package/dist/badge-DPwocFJ8.cjs +76 -0
  14. package/dist/basecomponent-CGerMr_k.cjs +146 -0
  15. package/dist/basecomponent-CRTLSsqZ.js +1278 -0
  16. package/dist/baseeditableholder-BEn83TQE.js +126 -0
  17. package/dist/baseeditableholder-Q1_XheNU.cjs +1 -0
  18. package/dist/baseicon-Ct8wtBEp.cjs +34 -0
  19. package/dist/baseicon-DdvhP0UT.js +90 -0
  20. package/dist/baseinput-B6KUYtrd.js +37 -0
  21. package/dist/baseinput-D8710HSg.cjs +1 -0
  22. package/dist/bff/openapi.yaml +7 -0
  23. package/dist/button-M3QREAcT.cjs +651 -0
  24. package/dist/button-xI3Wu15Z.js +311 -0
  25. package/dist/calendar-B8nJAQne.js +2891 -0
  26. package/dist/calendar-CW9WbT3C.cjs +477 -0
  27. package/dist/card-BXosepCe.js +57 -0
  28. package/dist/card-Db30JagR.cjs +32 -0
  29. package/dist/check-BYTdkWQh.js +46 -0
  30. package/dist/check-D4kxzECF.cjs +2 -0
  31. package/dist/checkbox-BIDoCr_X.cjs +142 -0
  32. package/dist/checkbox-TAWN7HJG.js +323 -0
  33. package/dist/chevrondown-DLIH6sRy.cjs +2 -0
  34. package/dist/chevrondown-v3qKRLEG.js +46 -0
  35. package/dist/chevronleft-DMbyAEgw.cjs +2 -0
  36. package/dist/chevronleft-dQlHS1Vs.js +46 -0
  37. package/dist/chevronright-B3qtGWZb.js +46 -0
  38. package/dist/chevronright-BisalZVe.cjs +2 -0
  39. package/dist/chip-CBoKYRL5.js +107 -0
  40. package/dist/chip-CLwNi1p_.cjs +54 -0
  41. package/dist/chunk-BK-Lzi7j.cjs +1 -0
  42. package/dist/chunk-DgQ9yJBH.js +17 -0
  43. package/dist/classnames-4RuV7Ryo.js +19 -0
  44. package/dist/classnames-DqVQ5xbt.cjs +1 -0
  45. package/dist/containers.cjs +23 -26
  46. package/dist/containers.d.ts +1 -136
  47. package/dist/containers.js +4476 -5541
  48. package/dist/focustrap-BhHF6zvb.js +558 -0
  49. package/dist/focustrap-C_v0dFmU.cjs +152 -0
  50. package/dist/inputnumber-CvuB8fHc.cjs +195 -0
  51. package/dist/inputnumber-UfGZdwk2.js +983 -0
  52. package/dist/inputtext-B-iUN1cV.js +108 -0
  53. package/dist/inputtext-D2Ay4aYr.cjs +79 -0
  54. package/dist/legalConsent-B3erdrHX.cjs +1 -0
  55. package/dist/legalConsent-kc_KWyR6.js +66 -0
  56. package/dist/lib.cjs +1331 -1
  57. package/dist/lib.d.ts +2 -748
  58. package/dist/lib.js +22977 -35
  59. package/dist/locales-4eL4-K7f.js +3168 -0
  60. package/dist/locales-DzyBr_JU.cjs +5 -0
  61. package/dist/markdown-Cb6J3R4j.js +28 -0
  62. package/dist/markdown-Dxqg6Ggd.cjs +1 -0
  63. package/dist/network-DD_yGfK6.js +2404 -0
  64. package/dist/network-uPe9-HeS.cjs +9 -0
  65. package/dist/network.cjs +1 -1
  66. package/dist/network.d.ts +3 -123
  67. package/dist/network.js +2 -48
  68. package/dist/portal-BbZw4bN9.js +265 -0
  69. package/dist/portal-pIcEXWz1.cjs +2 -0
  70. package/dist/{index-EDm9-cRY.cjs → progressbar-BPR5tRX7.cjs} +2 -2
  71. package/dist/progressbar-CzckKCUr.js +96 -0
  72. package/dist/rating-DsIxcJXU.js +332 -0
  73. package/dist/rating-HfRWRXuI.cjs +61 -0
  74. package/dist/ripple-CoTE8rF8.js +501 -0
  75. package/dist/ripple-UYfqtU0m.cjs +24 -0
  76. package/dist/router-CR-sxf1q.js +34 -0
  77. package/dist/router-qXH6kffG.cjs +1 -0
  78. package/dist/router.cjs +1 -1
  79. package/dist/router.d.ts +1 -74
  80. package/dist/router.js +2 -16
  81. package/dist/select-C05BBcmi.js +2357 -0
  82. package/dist/select-CZouTpLB.cjs +360 -0
  83. package/dist/src/components/AutoroutedBreadcrumb/AutoroutedBreadcrumb.vue.d.ts +9 -0
  84. package/dist/src/components/AutoroutedBreadcrumb/index.d.ts +1 -0
  85. package/dist/src/components/ControlBarComponent/ConfiguredControlBarComponent.vue.d.ts +30 -0
  86. package/dist/src/components/ControlBarComponent/ControlBarComponent.vue.d.ts +17 -0
  87. package/dist/src/components/ControlBarComponent/ControlBarItemComponent.vue.d.ts +20 -0
  88. package/dist/src/components/ControlBarComponent/index.d.ts +3 -0
  89. package/dist/src/components/DashboardComponent/DashboardComponent.vue.d.ts +21 -0
  90. package/dist/src/components/DashboardComponent/DashboardGroupComponent.vue.d.ts +25 -0
  91. package/dist/src/components/DashboardComponent/DashboardPanelComponent.vue.d.ts +26 -0
  92. package/dist/src/components/DashboardComponent/index.d.ts +3 -0
  93. package/dist/src/components/FormComponent/FormComponent.vue.d.ts +32 -0
  94. package/dist/src/components/FormComponent/index.d.ts +1 -0
  95. package/dist/src/components/GanttChartComponent/GanttChartComponent.vue.d.ts +26 -0
  96. package/dist/src/components/GanttChartComponent/GanttChartGrid.vue.d.ts +34 -0
  97. package/dist/src/components/GanttChartComponent/GanttChartHeaderGrid.vue.d.ts +7 -0
  98. package/dist/src/components/GanttChartComponent/GanttChartHeaderLabel.vue.d.ts +6 -0
  99. package/dist/src/components/GanttChartComponent/GanttChartLinksOverlay.vue.d.ts +12 -0
  100. package/dist/src/components/GanttChartComponent/GanttChartRowGrid.vue.d.ts +55 -0
  101. package/dist/src/components/GanttChartComponent/GanttChartRowLabel.vue.d.ts +7 -0
  102. package/dist/src/components/GanttChartComponent/composables/useGanttLinks.d.ts +37 -0
  103. package/dist/src/components/GanttChartComponent/composables/useGanttSizing.d.ts +9 -0
  104. package/dist/src/components/GanttChartComponent/ganttChartLayout.d.ts +42 -0
  105. package/dist/src/components/GanttChartComponent/ganttChartTypes.d.ts +22 -0
  106. package/dist/src/components/GanttChartComponent/index.d.ts +1 -0
  107. package/dist/src/components/NetworkButton/ApiMutationButton.vue.d.ts +3 -0
  108. package/dist/src/components/NetworkButton/ApiQueryButton.vue.d.ts +3 -0
  109. package/dist/src/components/NetworkButton/index.d.ts +3 -0
  110. package/dist/src/components/NetworkButton/types.d.ts +39 -0
  111. package/dist/src/components/NotFound/NotFound.vue.d.ts +26 -0
  112. package/dist/src/components/NotFound/index.d.ts +1 -0
  113. package/dist/src/components/PageComponent/PageComponent.vue.d.ts +22 -0
  114. package/dist/src/components/PageComponent/index.d.ts +1 -0
  115. package/dist/src/components/PlotlyComponent/PlotlyComponent.vue.d.ts +14 -0
  116. package/dist/src/components/PlotlyComponent/PlotlyFromTableComponent.vue.d.ts +16 -0
  117. package/dist/src/components/PlotlyComponent/index.d.ts +2 -0
  118. package/dist/src/components/TableComponent/TableComponent.vue.d.ts +29 -0
  119. package/dist/src/components/TableComponent/index.d.ts +1 -0
  120. package/dist/src/composables/useComponentResolver.d.ts +9 -0
  121. package/dist/src/composables/useValidatorResolver.d.ts +9 -0
  122. package/dist/src/containers/BareContainer/BareContainer.vue.d.ts +8 -0
  123. package/dist/src/containers/BareContainer/index.d.ts +2 -0
  124. package/dist/src/containers/LayoutContainer/LayoutContainer.vue.d.ts +13 -0
  125. package/dist/src/containers/LayoutContainer/MobileNavigationComponent/MobileNavigationComponent.vue.d.ts +7 -0
  126. package/dist/src/containers/LayoutContainer/SideNavigationComponent/MainComponent/MainComponent.vue.d.ts +6 -0
  127. package/dist/src/containers/LayoutContainer/SideNavigationComponent/MainComponent/NavigationLinkComponent.vue.d.ts +11 -0
  128. package/dist/src/containers/LayoutContainer/SideNavigationComponent/SideNavigationComponent.vue.d.ts +7 -0
  129. package/dist/src/containers/LayoutContainer/SideNavigationComponent/TopComponent/TopComponent.vue.d.ts +7 -0
  130. package/dist/src/containers/LayoutContainer/index.d.ts +1 -0
  131. package/dist/src/containers/NavbarContainer/NavbarContainer.vue.d.ts +6 -0
  132. package/dist/src/containers/NavbarContainer/index.d.ts +2 -0
  133. package/dist/src/containers/RoutedTabsComponent/RoutedTabsComponent.vue.d.ts +12 -0
  134. package/dist/src/containers/RoutedTabsComponent/index.d.ts +1 -0
  135. package/dist/src/containers/SideMenuContainer/SideMenuContainer.vue.d.ts +7 -0
  136. package/dist/src/containers/SideMenuContainer/index.d.ts +2 -0
  137. package/dist/src/containers/helpers.d.ts +47 -0
  138. package/dist/src/containers/index.d.ts +6 -0
  139. package/dist/src/lib.d.ts +24 -0
  140. package/dist/src/locales/index.d.ts +30 -0
  141. package/dist/src/network/apiClient.d.ts +32 -0
  142. package/dist/src/network/axios.d.ts +4 -0
  143. package/dist/src/network/index.d.ts +3 -0
  144. package/dist/src/network/typedApiClient.d.ts +58 -0
  145. package/dist/src/plugins/cookies/index.d.ts +51 -0
  146. package/dist/src/plugins/cookies/views/CookieBar.vue.d.ts +2 -0
  147. package/dist/src/plugins/cookies/views/CookiesConsent.vue.d.ts +2 -0
  148. package/dist/src/plugins/index.d.ts +1 -0
  149. package/dist/src/plugins/legalConsent/index.d.ts +89 -0
  150. package/dist/src/plugins/legalConsent/views/LegalConsent.vue.d.ts +2 -0
  151. package/dist/src/plugins/legalConsent/views/LegalDocument.vue.d.ts +8 -0
  152. package/dist/src/router/guards.d.ts +28 -0
  153. package/dist/src/router/index.d.ts +3 -0
  154. package/dist/src/router/libRoutes.d.ts +2 -0
  155. package/dist/src/router/types.d.ts +31 -0
  156. package/dist/src/stores/backend/common.d.ts +17 -0
  157. package/dist/src/stores/backend/constants.d.ts +19 -0
  158. package/dist/src/stores/backend/schemes/jwt.d.ts +22 -0
  159. package/dist/src/stores/backend/schemes/oauth.d.ts +14 -0
  160. package/dist/src/stores/backend/schemes/token.d.ts +20 -0
  161. package/dist/src/stores/backend/types.d.ts +88 -0
  162. package/dist/src/stores/backend.d.ts +5 -0
  163. package/dist/src/stores/darkMode.d.ts +29 -0
  164. package/dist/src/stores/index.d.ts +2 -0
  165. package/dist/src/theme/index.d.ts +2 -0
  166. package/dist/src/theme/nside.d.ts +2 -0
  167. package/dist/src/utils/color.d.ts +33 -0
  168. package/dist/src/utils/componentRegistry.d.ts +15 -0
  169. package/dist/src/utils/markdown.d.ts +24 -0
  170. package/dist/src/utils/translations.d.ts +8 -0
  171. package/dist/src/utils/validatorRegistry.d.ts +8 -0
  172. package/dist/src/views/LoginView.vue.d.ts +5 -0
  173. package/dist/src/views/LogoutView.vue.d.ts +2 -0
  174. package/dist/stores-BAbCgIKW.cjs +1 -0
  175. package/dist/stores-C5CUNzM_.js +203 -0
  176. package/dist/textarea-DUmMHVXf.cjs +84 -0
  177. package/dist/textarea-f6-j7m1N.js +131 -0
  178. package/dist/times--t6-zeg6.js +46 -0
  179. package/dist/times-GcOHYs3E.cjs +2 -0
  180. package/dist/timescircle-CHGzPrwL.cjs +2 -0
  181. package/dist/timescircle-_NJIsGD1.js +48 -0
  182. package/dist/wefa.css +2 -1
  183. package/package.json +42 -35
  184. package/scripts/verify-package-types.mjs +103 -0
  185. package/src/components/DashboardComponent/DashboardGroupComponent.vue +1 -1
  186. package/src/components/NetworkButton/__tests__/ApiMutationButton.test.ts +12 -3
  187. package/src/components/NetworkButton/__tests__/ApiQueryButton.test.ts +12 -3
  188. package/src/containers/LayoutContainer/SideNavigationComponent/MainComponent/NavigationLinkComponent.vue +1 -1
  189. package/src/containers/SideMenuContainer/SideMenuContainer.vue +14 -3
  190. package/src/containers/helpers.ts +1 -1
  191. package/src/router/guards.ts +2 -2
  192. package/src/stores/__tests__/backend/jwt.test.ts +6 -6
  193. package/src/stores/__tests__/backend/oauth.test.ts +1 -1
  194. package/src/stores/__tests__/backend/token.test.ts +5 -5
  195. package/src/stores/backend/schemes/jwt.ts +3 -3
  196. package/src/stores/backend/schemes/token.ts +6 -7
  197. package/dist/LegalConsent-DQ7fkgVc.cjs +0 -1
  198. package/dist/LegalConsent-OLyvuzRY.js +0 -151
  199. package/dist/LegalDocument-B-nntRW7.cjs +0 -109
  200. package/dist/LegalDocument-BKebNzIK.js +0 -1330
  201. package/dist/LoginView-DUPa_PsC.js +0 -24
  202. package/dist/LoginView-Dihs8n_X.cjs +0 -1
  203. package/dist/LogoutView-DAh7MrFi.js +0 -19
  204. package/dist/LogoutView-Fl3nfeJ0.cjs +0 -1
  205. package/dist/apiClient-BHDjT0dU.js +0 -928
  206. package/dist/apiClient-Cr0IvG5Z.cjs +0 -1
  207. package/dist/axios-CZvsFspN.js +0 -1887
  208. package/dist/axios-DMqeKDaq.cjs +0 -6
  209. package/dist/index--_rUTrqU.js +0 -1414
  210. package/dist/index-05ASaj7N.cjs +0 -477
  211. package/dist/index-B7hJ2pku.cjs +0 -61
  212. package/dist/index-BHSxFTgZ.js +0 -49
  213. package/dist/index-BaA_oL1s.cjs +0 -32
  214. package/dist/index-Be5h48vc.js +0 -3530
  215. package/dist/index-Becfy0pF.cjs +0 -2
  216. package/dist/index-CPv4agmV.js +0 -400
  217. package/dist/index-CgAb-gZi.js +0 -89
  218. package/dist/index-DFSkcsx-.cjs +0 -943
  219. package/dist/index-DGUVQqZw.js +0 -208
  220. package/dist/index-DRozw3P8.js +0 -167
  221. package/dist/index-DfCQoHSf.cjs +0 -146
  222. package/dist/index-DkuJMEY1.js +0 -6731
  223. package/dist/index-Dv6jyKbT.js +0 -47
  224. package/dist/index-IGN7_cyg.cjs +0 -2
  225. package/dist/index-lFl6UsTa.js +0 -212
  226. package/dist/index-lQmq7gxp.cjs +0 -54
  227. package/dist/index-t0sdL3f2.cjs +0 -84
  228. package/dist/lib-DZzubLGt.js +0 -26376
  229. package/dist/lib-lTzD7ltX.cjs +0 -2104
  230. package/dist/libRoutes-B-H3e9wZ.js +0 -22
  231. package/dist/libRoutes-Cl3TklhN.cjs +0 -1
@@ -0,0 +1,2404 @@
1
+ import { n as e, t } from "./chunk-DgQ9yJBH.js";
2
+ import * as n from "vue";
3
+ //#region node_modules/@tanstack/query-core/build/modern/subscribable.js
4
+ var r = class {
5
+ constructor() {
6
+ this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
7
+ }
8
+ subscribe(e) {
9
+ return this.listeners.add(e), this.onSubscribe(), () => {
10
+ this.listeners.delete(e), this.onUnsubscribe();
11
+ };
12
+ }
13
+ hasListeners() {
14
+ return this.listeners.size > 0;
15
+ }
16
+ onSubscribe() {}
17
+ onUnsubscribe() {}
18
+ }, i = new class extends r {
19
+ #e;
20
+ #t;
21
+ #n;
22
+ constructor() {
23
+ super(), this.#n = (e) => {
24
+ if (typeof window < "u" && window.addEventListener) {
25
+ let t = () => e();
26
+ return window.addEventListener("visibilitychange", t, !1), () => {
27
+ window.removeEventListener("visibilitychange", t);
28
+ };
29
+ }
30
+ };
31
+ }
32
+ onSubscribe() {
33
+ this.#t || this.setEventListener(this.#n);
34
+ }
35
+ onUnsubscribe() {
36
+ this.hasListeners() || (this.#t?.(), this.#t = void 0);
37
+ }
38
+ setEventListener(e) {
39
+ this.#n = e, this.#t?.(), this.#t = e((e) => {
40
+ typeof e == "boolean" ? this.setFocused(e) : this.onFocus();
41
+ });
42
+ }
43
+ setFocused(e) {
44
+ this.#e !== e && (this.#e = e, this.onFocus());
45
+ }
46
+ onFocus() {
47
+ let e = this.isFocused();
48
+ this.listeners.forEach((t) => {
49
+ t(e);
50
+ });
51
+ }
52
+ isFocused() {
53
+ return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
54
+ }
55
+ }(), a = {
56
+ setTimeout: (e, t) => setTimeout(e, t),
57
+ clearTimeout: (e) => clearTimeout(e),
58
+ setInterval: (e, t) => setInterval(e, t),
59
+ clearInterval: (e) => clearInterval(e)
60
+ }, o = new class {
61
+ #e = a;
62
+ #t = !1;
63
+ setTimeoutProvider(e) {
64
+ process.env.NODE_ENV !== "production" && this.#t && e !== this.#e && console.error("[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.", {
65
+ previous: this.#e,
66
+ provider: e
67
+ }), this.#e = e, process.env.NODE_ENV !== "production" && (this.#t = !1);
68
+ }
69
+ setTimeout(e, t) {
70
+ return process.env.NODE_ENV !== "production" && (this.#t = !0), this.#e.setTimeout(e, t);
71
+ }
72
+ clearTimeout(e) {
73
+ this.#e.clearTimeout(e);
74
+ }
75
+ setInterval(e, t) {
76
+ return process.env.NODE_ENV !== "production" && (this.#t = !0), this.#e.setInterval(e, t);
77
+ }
78
+ clearInterval(e) {
79
+ this.#e.clearInterval(e);
80
+ }
81
+ }();
82
+ function s(e) {
83
+ setTimeout(e, 0);
84
+ }
85
+ //#endregion
86
+ //#region node_modules/@tanstack/query-core/build/modern/utils.js
87
+ var c = typeof window > "u" || "Deno" in globalThis;
88
+ function l() {}
89
+ function u(e) {
90
+ return typeof e == "number" && e >= 0 && e !== Infinity;
91
+ }
92
+ function d(e, t) {
93
+ return Math.max(e + (t || 0) - Date.now(), 0);
94
+ }
95
+ function f(e, t) {
96
+ return typeof e == "function" ? e(t) : e;
97
+ }
98
+ function p(e, t) {
99
+ return typeof e == "function" ? e(t) : e;
100
+ }
101
+ function m(e) {
102
+ return JSON.stringify(e, (e, t) => y(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
103
+ }
104
+ var h = Object.prototype.hasOwnProperty;
105
+ function g(e, t, n = 0) {
106
+ if (e === t) return e;
107
+ if (n > 500) return t;
108
+ let r = v(e) && v(t);
109
+ if (!r && !(y(e) && y(t))) return t;
110
+ let i = (r ? e : Object.keys(e)).length, a = r ? t : Object.keys(t), o = a.length, s = r ? Array(o) : {}, c = 0;
111
+ for (let l = 0; l < o; l++) {
112
+ let o = r ? l : a[l], u = e[o], d = t[o];
113
+ if (u === d) {
114
+ s[o] = u, (r ? l < i : h.call(e, o)) && c++;
115
+ continue;
116
+ }
117
+ if (u === null || d === null || typeof u != "object" || typeof d != "object") {
118
+ s[o] = d;
119
+ continue;
120
+ }
121
+ let f = g(u, d, n + 1);
122
+ s[o] = f, f === u && c++;
123
+ }
124
+ return i === o && c === i ? e : s;
125
+ }
126
+ function _(e, t) {
127
+ if (!t || Object.keys(e).length !== Object.keys(t).length) return !1;
128
+ for (let n in e) if (e[n] !== t[n]) return !1;
129
+ return !0;
130
+ }
131
+ function v(e) {
132
+ return Array.isArray(e) && e.length === Object.keys(e).length;
133
+ }
134
+ function y(e) {
135
+ if (!b(e)) return !1;
136
+ let t = e.constructor;
137
+ if (t === void 0) return !0;
138
+ let n = t.prototype;
139
+ return !(!b(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
140
+ }
141
+ function b(e) {
142
+ return Object.prototype.toString.call(e) === "[object Object]";
143
+ }
144
+ function x(e, t, n) {
145
+ if (typeof n.structuralSharing == "function") return n.structuralSharing(e, t);
146
+ if (n.structuralSharing !== !1) {
147
+ if (process.env.NODE_ENV !== "production") try {
148
+ return g(e, t);
149
+ } catch (e) {
150
+ throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${e}`), e;
151
+ }
152
+ return g(e, t);
153
+ }
154
+ return t;
155
+ }
156
+ function S(e, t) {
157
+ return typeof e == "function" ? e(...t) : !!e;
158
+ }
159
+ //#endregion
160
+ //#region node_modules/@tanstack/query-core/build/modern/environmentManager.js
161
+ var C = /* @__PURE__ */ (() => {
162
+ let e = () => c;
163
+ return {
164
+ isServer() {
165
+ return e();
166
+ },
167
+ setIsServer(t) {
168
+ e = t;
169
+ }
170
+ };
171
+ })();
172
+ //#endregion
173
+ //#region node_modules/@tanstack/query-core/build/modern/thenable.js
174
+ function w() {
175
+ let e, t, n = new Promise((n, r) => {
176
+ e = n, t = r;
177
+ });
178
+ n.status = "pending", n.catch(() => {});
179
+ function r(e) {
180
+ Object.assign(n, e), delete n.resolve, delete n.reject;
181
+ }
182
+ return n.resolve = (t) => {
183
+ r({
184
+ status: "fulfilled",
185
+ value: t
186
+ }), e(t);
187
+ }, n.reject = (e) => {
188
+ r({
189
+ status: "rejected",
190
+ reason: e
191
+ }), t(e);
192
+ }, n;
193
+ }
194
+ //#endregion
195
+ //#region node_modules/@tanstack/query-core/build/modern/notifyManager.js
196
+ var ee = s;
197
+ function te() {
198
+ let e = [], t = 0, n = (e) => {
199
+ e();
200
+ }, r = (e) => {
201
+ e();
202
+ }, i = ee, a = (r) => {
203
+ t ? e.push(r) : i(() => {
204
+ n(r);
205
+ });
206
+ }, o = () => {
207
+ let t = e;
208
+ e = [], t.length && i(() => {
209
+ r(() => {
210
+ t.forEach((e) => {
211
+ n(e);
212
+ });
213
+ });
214
+ });
215
+ };
216
+ return {
217
+ batch: (e) => {
218
+ let n;
219
+ t++;
220
+ try {
221
+ n = e();
222
+ } finally {
223
+ t--, t || o();
224
+ }
225
+ return n;
226
+ },
227
+ batchCalls: (e) => (...t) => {
228
+ a(() => {
229
+ e(...t);
230
+ });
231
+ },
232
+ schedule: a,
233
+ setNotifyFunction: (e) => {
234
+ n = e;
235
+ },
236
+ setBatchNotifyFunction: (e) => {
237
+ r = e;
238
+ },
239
+ setScheduler: (e) => {
240
+ i = e;
241
+ }
242
+ };
243
+ }
244
+ var ne = te(), re = new class extends r {
245
+ #e = !0;
246
+ #t;
247
+ #n;
248
+ constructor() {
249
+ super(), this.#n = (e) => {
250
+ if (typeof window < "u" && window.addEventListener) {
251
+ let t = () => e(!0), n = () => e(!1);
252
+ return window.addEventListener("online", t, !1), window.addEventListener("offline", n, !1), () => {
253
+ window.removeEventListener("online", t), window.removeEventListener("offline", n);
254
+ };
255
+ }
256
+ };
257
+ }
258
+ onSubscribe() {
259
+ this.#t || this.setEventListener(this.#n);
260
+ }
261
+ onUnsubscribe() {
262
+ this.hasListeners() || (this.#t?.(), this.#t = void 0);
263
+ }
264
+ setEventListener(e) {
265
+ this.#n = e, this.#t?.(), this.#t = e(this.setOnline.bind(this));
266
+ }
267
+ setOnline(e) {
268
+ this.#e !== e && (this.#e = e, this.listeners.forEach((t) => {
269
+ t(e);
270
+ }));
271
+ }
272
+ isOnline() {
273
+ return this.#e;
274
+ }
275
+ }();
276
+ //#endregion
277
+ //#region node_modules/@tanstack/query-core/build/modern/retryer.js
278
+ function ie(e) {
279
+ return (e ?? "online") === "online" ? re.isOnline() : !0;
280
+ }
281
+ //#endregion
282
+ //#region node_modules/@tanstack/query-core/build/modern/query.js
283
+ function ae(e, t) {
284
+ return {
285
+ fetchFailureCount: 0,
286
+ fetchFailureReason: null,
287
+ fetchStatus: ie(t.networkMode) ? "fetching" : "paused",
288
+ ...e === void 0 && {
289
+ error: null,
290
+ status: "pending"
291
+ }
292
+ };
293
+ }
294
+ //#endregion
295
+ //#region node_modules/@tanstack/query-core/build/modern/queryObserver.js
296
+ var oe = class extends r {
297
+ constructor(e, t) {
298
+ super(), this.options = t, this.#e = e, this.#s = null, this.#o = w(), this.bindMethods(), this.setOptions(t);
299
+ }
300
+ #e;
301
+ #t = void 0;
302
+ #n = void 0;
303
+ #r = void 0;
304
+ #i;
305
+ #a;
306
+ #o;
307
+ #s;
308
+ #c;
309
+ #l;
310
+ #u;
311
+ #d;
312
+ #f;
313
+ #p;
314
+ #m = /* @__PURE__ */ new Set();
315
+ bindMethods() {
316
+ this.refetch = this.refetch.bind(this);
317
+ }
318
+ onSubscribe() {
319
+ this.listeners.size === 1 && (this.#t.addObserver(this), ce(this.#t, this.options) ? this.#h() : this.updateResult(), this.#y());
320
+ }
321
+ onUnsubscribe() {
322
+ this.hasListeners() || this.destroy();
323
+ }
324
+ shouldFetchOnReconnect() {
325
+ return le(this.#t, this.options, this.options.refetchOnReconnect);
326
+ }
327
+ shouldFetchOnWindowFocus() {
328
+ return le(this.#t, this.options, this.options.refetchOnWindowFocus);
329
+ }
330
+ destroy() {
331
+ this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);
332
+ }
333
+ setOptions(e) {
334
+ let t = this.options, n = this.#t;
335
+ if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof p(this.options.enabled, this.#t) != "boolean") throw Error("Expected enabled to be a boolean or a callback that returns a boolean");
336
+ this.#S(), this.#t.setOptions(this.options), t._defaulted && !_(this.options, t) && this.#e.getQueryCache().notify({
337
+ type: "observerOptionsUpdated",
338
+ query: this.#t,
339
+ observer: this
340
+ });
341
+ let r = this.hasListeners();
342
+ r && ue(this.#t, n, this.options, t) && this.#h(), this.updateResult(), r && (this.#t !== n || p(this.options.enabled, this.#t) !== p(t.enabled, this.#t) || f(this.options.staleTime, this.#t) !== f(t.staleTime, this.#t)) && this.#g();
343
+ let i = this.#_();
344
+ r && (this.#t !== n || p(this.options.enabled, this.#t) !== p(t.enabled, this.#t) || i !== this.#p) && this.#v(i);
345
+ }
346
+ getOptimisticResult(e) {
347
+ let t = this.#e.getQueryCache().build(this.#e, e), n = this.createResult(t, e);
348
+ return fe(this, n) && (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;
349
+ }
350
+ getCurrentResult() {
351
+ return this.#r;
352
+ }
353
+ trackResult(e, t) {
354
+ return new Proxy(e, { get: (e, n) => (this.trackProp(n), t?.(n), n === "promise" && (this.trackProp("data"), !this.options.experimental_prefetchInRender && this.#o.status === "pending" && this.#o.reject(/* @__PURE__ */ Error("experimental_prefetchInRender feature flag is not enabled"))), Reflect.get(e, n)) });
355
+ }
356
+ trackProp(e) {
357
+ this.#m.add(e);
358
+ }
359
+ getCurrentQuery() {
360
+ return this.#t;
361
+ }
362
+ refetch({ ...e } = {}) {
363
+ return this.fetch({ ...e });
364
+ }
365
+ fetchOptimistic(e) {
366
+ let t = this.#e.defaultQueryOptions(e), n = this.#e.getQueryCache().build(this.#e, t);
367
+ return n.fetch().then(() => this.createResult(n, t));
368
+ }
369
+ fetch(e) {
370
+ return this.#h({
371
+ ...e,
372
+ cancelRefetch: e.cancelRefetch ?? !0
373
+ }).then(() => (this.updateResult(), this.#r));
374
+ }
375
+ #h(e) {
376
+ this.#S();
377
+ let t = this.#t.fetch(this.options, e);
378
+ return e?.throwOnError || (t = t.catch(l)), t;
379
+ }
380
+ #g() {
381
+ this.#b();
382
+ let e = f(this.options.staleTime, this.#t);
383
+ if (C.isServer() || this.#r.isStale || !u(e)) return;
384
+ let t = d(this.#r.dataUpdatedAt, e) + 1;
385
+ this.#d = o.setTimeout(() => {
386
+ this.#r.isStale || this.updateResult();
387
+ }, t);
388
+ }
389
+ #_() {
390
+ return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.#t) : this.options.refetchInterval) ?? !1;
391
+ }
392
+ #v(e) {
393
+ this.#x(), this.#p = e, !(C.isServer() || p(this.options.enabled, this.#t) === !1 || !u(this.#p) || this.#p === 0) && (this.#f = o.setInterval(() => {
394
+ (this.options.refetchIntervalInBackground || i.isFocused()) && this.#h();
395
+ }, this.#p));
396
+ }
397
+ #y() {
398
+ this.#g(), this.#v(this.#_());
399
+ }
400
+ #b() {
401
+ this.#d !== void 0 && (o.clearTimeout(this.#d), this.#d = void 0);
402
+ }
403
+ #x() {
404
+ this.#f !== void 0 && (o.clearInterval(this.#f), this.#f = void 0);
405
+ }
406
+ createResult(e, t) {
407
+ let n = this.#t, r = this.options, i = this.#r, a = this.#i, o = this.#a, s = e === n ? this.#n : e.state, { state: c } = e, l = { ...c }, u = !1, d;
408
+ if (t._optimisticResults) {
409
+ let i = this.hasListeners(), a = !i && ce(e, t), o = i && ue(e, n, t, r);
410
+ (a || o) && (l = {
411
+ ...l,
412
+ ...ae(c.data, e.options)
413
+ }), t._optimisticResults === "isRestoring" && (l.fetchStatus = "idle");
414
+ }
415
+ let { error: f, errorUpdatedAt: m, status: h } = l;
416
+ d = l.data;
417
+ let g = !1;
418
+ if (t.placeholderData !== void 0 && d === void 0 && h === "pending") {
419
+ let e;
420
+ i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, g = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#u?.state.data, this.#u) : t.placeholderData, e !== void 0 && (h = "success", d = x(i?.data, e, t), u = !0);
421
+ }
422
+ if (t.select && d !== void 0 && !g) if (i && d === a?.data && t.select === this.#c) d = this.#l;
423
+ else try {
424
+ this.#c = t.select, d = t.select(d), d = x(i?.data, d, t), this.#l = d, this.#s = null;
425
+ } catch (e) {
426
+ this.#s = e;
427
+ }
428
+ this.#s && (f = this.#s, d = this.#l, m = Date.now(), h = "error");
429
+ let _ = l.fetchStatus === "fetching", v = h === "pending", y = h === "error", b = v && _, S = d !== void 0, C = {
430
+ status: h,
431
+ fetchStatus: l.fetchStatus,
432
+ isPending: v,
433
+ isSuccess: h === "success",
434
+ isError: y,
435
+ isInitialLoading: b,
436
+ isLoading: b,
437
+ data: d,
438
+ dataUpdatedAt: l.dataUpdatedAt,
439
+ error: f,
440
+ errorUpdatedAt: m,
441
+ failureCount: l.fetchFailureCount,
442
+ failureReason: l.fetchFailureReason,
443
+ errorUpdateCount: l.errorUpdateCount,
444
+ isFetched: e.isFetched(),
445
+ isFetchedAfterMount: l.dataUpdateCount > s.dataUpdateCount || l.errorUpdateCount > s.errorUpdateCount,
446
+ isFetching: _,
447
+ isRefetching: _ && !v,
448
+ isLoadingError: y && !S,
449
+ isPaused: l.fetchStatus === "paused",
450
+ isPlaceholderData: u,
451
+ isRefetchError: y && S,
452
+ isStale: de(e, t),
453
+ refetch: this.refetch,
454
+ promise: this.#o,
455
+ isEnabled: p(t.enabled, e) !== !1
456
+ };
457
+ if (this.options.experimental_prefetchInRender) {
458
+ let t = C.data !== void 0, r = C.status === "error" && !t, i = (e) => {
459
+ r ? e.reject(C.error) : t && e.resolve(C.data);
460
+ }, a = () => {
461
+ i(this.#o = C.promise = w());
462
+ }, o = this.#o;
463
+ switch (o.status) {
464
+ case "pending":
465
+ e.queryHash === n.queryHash && i(o);
466
+ break;
467
+ case "fulfilled":
468
+ (r || C.data !== o.value) && a();
469
+ break;
470
+ case "rejected":
471
+ (!r || C.error !== o.reason) && a();
472
+ break;
473
+ }
474
+ }
475
+ return C;
476
+ }
477
+ updateResult() {
478
+ let e = this.#r, t = this.createResult(this.#t, this.options);
479
+ this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#u = this.#t), !_(t, e) && (this.#r = t, this.#C({ listeners: (() => {
480
+ if (!e) return !0;
481
+ let { notifyOnChangeProps: t } = this.options, n = typeof t == "function" ? t() : t;
482
+ if (n === "all" || !n && !this.#m.size) return !0;
483
+ let r = new Set(n ?? this.#m);
484
+ return this.options.throwOnError && r.add("error"), Object.keys(this.#r).some((t) => {
485
+ let n = t;
486
+ return this.#r[n] !== e[n] && r.has(n);
487
+ });
488
+ })() }));
489
+ }
490
+ #S() {
491
+ let e = this.#e.getQueryCache().build(this.#e, this.options);
492
+ if (e === this.#t) return;
493
+ let t = this.#t;
494
+ this.#t = e, this.#n = e.state, this.hasListeners() && (t?.removeObserver(this), e.addObserver(this));
495
+ }
496
+ onQueryUpdate() {
497
+ this.updateResult(), this.hasListeners() && this.#y();
498
+ }
499
+ #C(e) {
500
+ ne.batch(() => {
501
+ e.listeners && this.listeners.forEach((e) => {
502
+ e(this.#r);
503
+ }), this.#e.getQueryCache().notify({
504
+ query: this.#t,
505
+ type: "observerResultsUpdated"
506
+ });
507
+ });
508
+ }
509
+ };
510
+ function se(e, t) {
511
+ return p(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && t.retryOnMount === !1);
512
+ }
513
+ function ce(e, t) {
514
+ return se(e, t) || e.state.data !== void 0 && le(e, t, t.refetchOnMount);
515
+ }
516
+ function le(e, t, n) {
517
+ if (p(t.enabled, e) !== !1 && f(t.staleTime, e) !== "static") {
518
+ let r = typeof n == "function" ? n(e) : n;
519
+ return r === "always" || r !== !1 && de(e, t);
520
+ }
521
+ return !1;
522
+ }
523
+ function ue(e, t, n, r) {
524
+ return (e !== t || p(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && de(e, n);
525
+ }
526
+ function de(e, t) {
527
+ return p(t.enabled, e) !== !1 && e.isStaleByTime(f(t.staleTime, e));
528
+ }
529
+ function fe(e, t) {
530
+ return !_(e.getCurrentResult(), t);
531
+ }
532
+ //#endregion
533
+ //#region node_modules/@tanstack/query-core/build/modern/mutation.js
534
+ function pe() {
535
+ return {
536
+ context: void 0,
537
+ data: void 0,
538
+ error: null,
539
+ failureCount: 0,
540
+ failureReason: null,
541
+ isPaused: !1,
542
+ status: "idle",
543
+ variables: void 0,
544
+ submittedAt: 0
545
+ };
546
+ }
547
+ //#endregion
548
+ //#region node_modules/@tanstack/query-core/build/modern/mutationObserver.js
549
+ var me = class extends r {
550
+ #e;
551
+ #t = void 0;
552
+ #n;
553
+ #r;
554
+ constructor(e, t) {
555
+ super(), this.#e = e, this.setOptions(t), this.bindMethods(), this.#i();
556
+ }
557
+ bindMethods() {
558
+ this.mutate = this.mutate.bind(this), this.reset = this.reset.bind(this);
559
+ }
560
+ setOptions(e) {
561
+ let t = this.options;
562
+ this.options = this.#e.defaultMutationOptions(e), _(this.options, t) || this.#e.getMutationCache().notify({
563
+ type: "observerOptionsUpdated",
564
+ mutation: this.#n,
565
+ observer: this
566
+ }), t?.mutationKey && this.options.mutationKey && m(t.mutationKey) !== m(this.options.mutationKey) ? this.reset() : this.#n?.state.status === "pending" && this.#n.setOptions(this.options);
567
+ }
568
+ onUnsubscribe() {
569
+ this.hasListeners() || this.#n?.removeObserver(this);
570
+ }
571
+ onMutationUpdate(e) {
572
+ this.#i(), this.#a(e);
573
+ }
574
+ getCurrentResult() {
575
+ return this.#t;
576
+ }
577
+ reset() {
578
+ this.#n?.removeObserver(this), this.#n = void 0, this.#i(), this.#a();
579
+ }
580
+ mutate(e, t) {
581
+ return this.#r = t, this.#n?.removeObserver(this), this.#n = this.#e.getMutationCache().build(this.#e, this.options), this.#n.addObserver(this), this.#n.execute(e);
582
+ }
583
+ #i() {
584
+ let e = this.#n?.state ?? pe();
585
+ this.#t = {
586
+ ...e,
587
+ isPending: e.status === "pending",
588
+ isSuccess: e.status === "success",
589
+ isError: e.status === "error",
590
+ isIdle: e.status === "idle",
591
+ mutate: this.mutate,
592
+ reset: this.reset
593
+ };
594
+ }
595
+ #a(e) {
596
+ ne.batch(() => {
597
+ if (this.#r && this.hasListeners()) {
598
+ let t = this.#t.variables, n = this.#t.context, r = {
599
+ client: this.#e,
600
+ meta: this.options.meta,
601
+ mutationKey: this.options.mutationKey
602
+ };
603
+ if (e?.type === "success") {
604
+ try {
605
+ this.#r.onSuccess?.(e.data, t, n, r);
606
+ } catch (e) {
607
+ Promise.reject(e);
608
+ }
609
+ try {
610
+ this.#r.onSettled?.(e.data, null, t, n, r);
611
+ } catch (e) {
612
+ Promise.reject(e);
613
+ }
614
+ } else if (e?.type === "error") {
615
+ try {
616
+ this.#r.onError?.(e.error, t, n, r);
617
+ } catch (e) {
618
+ Promise.reject(e);
619
+ }
620
+ try {
621
+ this.#r.onSettled?.(void 0, e.error, t, n, r);
622
+ } catch (e) {
623
+ Promise.reject(e);
624
+ }
625
+ }
626
+ }
627
+ this.listeners.forEach((e) => {
628
+ e(this.#t);
629
+ });
630
+ });
631
+ }
632
+ }, T = /* @__PURE__ */ t({
633
+ Vue: () => n,
634
+ Vue2: () => void 0,
635
+ del: () => ve,
636
+ install: () => ge,
637
+ isVue2: () => !1,
638
+ isVue3: () => !0,
639
+ set: () => _e
640
+ });
641
+ import * as he from "vue";
642
+ e(T, he);
643
+ function ge() {}
644
+ function _e(e, t, n) {
645
+ return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
646
+ }
647
+ function ve(e, t) {
648
+ if (Array.isArray(e)) {
649
+ e.splice(t, 1);
650
+ return;
651
+ }
652
+ delete e[t];
653
+ }
654
+ //#endregion
655
+ //#region node_modules/@tanstack/vue-query/build/modern/utils.js
656
+ var ye = "VUE_QUERY_CLIENT";
657
+ function be(e) {
658
+ return `${ye}${e ? `:${e}` : ""}`;
659
+ }
660
+ function xe(e, t) {
661
+ Object.keys(e).forEach((n) => {
662
+ e[n] = t[n];
663
+ });
664
+ }
665
+ function Se(e, t, n = "", r = 0) {
666
+ if (t) {
667
+ let i = t(e, n, r);
668
+ if (i === void 0 && (0, T.isRef)(e) || i !== void 0) return i;
669
+ }
670
+ if (Array.isArray(e)) return e.map((e, n) => Se(e, t, String(n), r + 1));
671
+ if (typeof e == "object" && we(e)) {
672
+ let n = Object.entries(e).map(([e, n]) => [e, Se(n, t, e, r + 1)]);
673
+ return Object.fromEntries(n);
674
+ }
675
+ return e;
676
+ }
677
+ function Ce(e, t) {
678
+ return Se(e, t);
679
+ }
680
+ function E(e, t = !1) {
681
+ return Ce(e, (e, n, r) => {
682
+ if (r === 1 && n === "queryKey") return E(e, !0);
683
+ if (t && Te(e)) return E(e(), t);
684
+ if ((0, T.isRef)(e)) return E((0, T.unref)(e), t);
685
+ });
686
+ }
687
+ function we(e) {
688
+ if (Object.prototype.toString.call(e) !== "[object Object]") return !1;
689
+ let t = Object.getPrototypeOf(e);
690
+ return t === null || t === Object.prototype;
691
+ }
692
+ function Te(e) {
693
+ return typeof e == "function";
694
+ }
695
+ //#endregion
696
+ //#region node_modules/@tanstack/vue-query/build/modern/useQueryClient.js
697
+ function Ee(e = "") {
698
+ if (!(0, T.hasInjectionContext)()) throw Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");
699
+ let t = (0, T.inject)(be(e));
700
+ if (!t) throw Error("No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.");
701
+ return t;
702
+ }
703
+ //#endregion
704
+ //#region node_modules/@tanstack/vue-query/build/modern/useBaseQuery.js
705
+ function De(e, t, n) {
706
+ process.env.NODE_ENV === "development" && ((0, T.getCurrentScope)() || console.warn("vue-query composable like \"useQuery()\" should only be used inside a \"setup()\" function or a running effect scope. They might otherwise lead to memory leaks."));
707
+ let r = n || Ee(), i = (0, T.computed)(() => {
708
+ let e = t;
709
+ typeof e == "function" && (e = e());
710
+ let n = E(e);
711
+ typeof n.enabled == "function" && (n.enabled = n.enabled());
712
+ let i = r.defaultQueryOptions(n);
713
+ return i._optimisticResults = r.isRestoring?.value ? "isRestoring" : "optimistic", i;
714
+ }), a = new e(r, i.value), o = i.value.shallow ? (0, T.shallowReactive)(a.getCurrentResult()) : (0, T.reactive)(a.getCurrentResult()), s = () => {};
715
+ r.isRestoring && (0, T.watch)(r.isRestoring, (e) => {
716
+ e || (s(), s = a.subscribe((e) => {
717
+ xe(o, e);
718
+ }));
719
+ }, { immediate: !0 });
720
+ let c = () => {
721
+ a.setOptions(i.value), xe(o, a.getCurrentResult());
722
+ };
723
+ (0, T.watch)(i, c), (0, T.onScopeDispose)(() => {
724
+ s();
725
+ });
726
+ let l = (...e) => (c(), o.refetch(...e)), u = () => new Promise((e, t) => {
727
+ let n = () => {}, r = () => {
728
+ if (i.value.enabled !== !1) {
729
+ a.setOptions(i.value);
730
+ let r = a.getOptimisticResult(i.value);
731
+ r.isStale ? (n(), a.fetchOptimistic(i.value).then(e, (n) => {
732
+ S(i.value.throwOnError, [n, a.getCurrentQuery()]) ? t(n) : e(a.getCurrentResult());
733
+ })) : (n(), e(r));
734
+ }
735
+ };
736
+ r(), n = (0, T.watch)(i, r);
737
+ });
738
+ (0, T.watch)(() => o.error, (e) => {
739
+ if (o.isError && !o.isFetching && S(i.value.throwOnError, [e, a.getCurrentQuery()])) throw e;
740
+ });
741
+ let d = (0, T.toRefs)(i.value.shallow ? (0, T.shallowReadonly)(o) : (0, T.readonly)(o));
742
+ for (let e in o) typeof o[e] == "function" && (d[e] = o[e]);
743
+ return d.suspense = u, d.refetch = l, d;
744
+ }
745
+ //#endregion
746
+ //#region node_modules/@tanstack/vue-query/build/modern/useQuery.js
747
+ function Oe(e, t) {
748
+ return De(oe, e, t);
749
+ }
750
+ //#endregion
751
+ //#region node_modules/@tanstack/vue-query/build/modern/useMutation.js
752
+ function ke(e, t) {
753
+ process.env.NODE_ENV === "development" && ((0, T.getCurrentScope)() || console.warn("vue-query composable like \"useQuery()\" should only be used inside a \"setup()\" function or a running effect scope. They might otherwise lead to memory leaks."));
754
+ let n = t || Ee(), r = (0, T.computed)(() => {
755
+ let t = typeof e == "function" ? e() : e;
756
+ return n.defaultMutationOptions(E(t));
757
+ }), i = new me(n, r.value), a = r.value.shallow ? (0, T.shallowReactive)(i.getCurrentResult()) : (0, T.reactive)(i.getCurrentResult()), o = i.subscribe((e) => {
758
+ xe(a, e);
759
+ }), s = (e, t) => {
760
+ i.mutate(e, t).catch(() => {});
761
+ };
762
+ (0, T.watch)(r, () => {
763
+ i.setOptions(r.value);
764
+ }), (0, T.onScopeDispose)(() => {
765
+ o();
766
+ });
767
+ let c = (0, T.toRefs)(r.value.shallow ? (0, T.shallowReadonly)(a) : (0, T.readonly)(a));
768
+ return (0, T.watch)(() => a.error, (e) => {
769
+ if (e && S(r.value.throwOnError, [e])) throw e;
770
+ }), {
771
+ ...c,
772
+ mutate: s,
773
+ mutateAsync: a.mutate,
774
+ reset: a.reset
775
+ };
776
+ }
777
+ //#endregion
778
+ //#region node_modules/axios/lib/helpers/bind.js
779
+ function Ae(e, t) {
780
+ return function() {
781
+ return e.apply(t, arguments);
782
+ };
783
+ }
784
+ //#endregion
785
+ //#region node_modules/axios/lib/utils.js
786
+ var { toString: je } = Object.prototype, { getPrototypeOf: Me } = Object, { iterator: D, toStringTag: Ne } = Symbol, Pe = ((e) => (t) => {
787
+ let n = je.call(t);
788
+ return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
789
+ })(Object.create(null)), O = (e) => (e = e.toLowerCase(), (t) => Pe(t) === e), Fe = (e) => (t) => typeof t === e, { isArray: k } = Array, A = Fe("undefined");
790
+ function j(e) {
791
+ return e !== null && !A(e) && e.constructor !== null && !A(e.constructor) && M(e.constructor.isBuffer) && e.constructor.isBuffer(e);
792
+ }
793
+ var Ie = O("ArrayBuffer");
794
+ function Le(e) {
795
+ let t;
796
+ return t = typeof ArrayBuffer < "u" && ArrayBuffer.isView ? ArrayBuffer.isView(e) : e && e.buffer && Ie(e.buffer), t;
797
+ }
798
+ var Re = Fe("string"), M = Fe("function"), ze = Fe("number"), N = (e) => typeof e == "object" && !!e, Be = (e) => e === !0 || e === !1, P = (e) => {
799
+ if (Pe(e) !== "object") return !1;
800
+ let t = Me(e);
801
+ return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Ne in e) && !(D in e);
802
+ }, Ve = (e) => {
803
+ if (!N(e) || j(e)) return !1;
804
+ try {
805
+ return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
806
+ } catch {
807
+ return !1;
808
+ }
809
+ }, He = O("Date"), Ue = O("File"), We = (e) => !!(e && e.uri !== void 0), Ge = (e) => e && e.getParts !== void 0, Ke = O("Blob"), qe = O("FileList"), Je = (e) => N(e) && M(e.pipe);
810
+ function Ye() {
811
+ return typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {};
812
+ }
813
+ var Xe = Ye(), Ze = Xe.FormData === void 0 ? void 0 : Xe.FormData, Qe = (e) => {
814
+ let t;
815
+ return e && (Ze && e instanceof Ze || M(e.append) && ((t = Pe(e)) === "formdata" || t === "object" && M(e.toString) && e.toString() === "[object FormData]"));
816
+ }, $e = O("URLSearchParams"), [et, tt, nt, rt] = [
817
+ "ReadableStream",
818
+ "Request",
819
+ "Response",
820
+ "Headers"
821
+ ].map(O), it = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
822
+ function F(e, t, { allOwnKeys: n = !1 } = {}) {
823
+ if (e == null) return;
824
+ let r, i;
825
+ if (typeof e != "object" && (e = [e]), k(e)) for (r = 0, i = e.length; r < i; r++) t.call(null, e[r], r, e);
826
+ else {
827
+ if (j(e)) return;
828
+ let i = n ? Object.getOwnPropertyNames(e) : Object.keys(e), a = i.length, o;
829
+ for (r = 0; r < a; r++) o = i[r], t.call(null, e[o], o, e);
830
+ }
831
+ }
832
+ function at(e, t) {
833
+ if (j(e)) return null;
834
+ t = t.toLowerCase();
835
+ let n = Object.keys(e), r = n.length, i;
836
+ for (; r-- > 0;) if (i = n[r], t === i.toLowerCase()) return i;
837
+ return null;
838
+ }
839
+ var I = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, ot = (e) => !A(e) && e !== I;
840
+ function st() {
841
+ let { caseless: e, skipUndefined: t } = ot(this) && this || {}, n = {}, r = (r, i) => {
842
+ if (i === "__proto__" || i === "constructor" || i === "prototype") return;
843
+ let a = e && at(n, i) || i;
844
+ P(n[a]) && P(r) ? n[a] = st(n[a], r) : P(r) ? n[a] = st({}, r) : k(r) ? n[a] = r.slice() : (!t || !A(r)) && (n[a] = r);
845
+ };
846
+ for (let e = 0, t = arguments.length; e < t; e++) arguments[e] && F(arguments[e], r);
847
+ return n;
848
+ }
849
+ var ct = (e, t, n, { allOwnKeys: r } = {}) => (F(t, (t, r) => {
850
+ n && M(t) ? Object.defineProperty(e, r, {
851
+ value: Ae(t, n),
852
+ writable: !0,
853
+ enumerable: !0,
854
+ configurable: !0
855
+ }) : Object.defineProperty(e, r, {
856
+ value: t,
857
+ writable: !0,
858
+ enumerable: !0,
859
+ configurable: !0
860
+ });
861
+ }, { allOwnKeys: r }), e), lt = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), ut = (e, t, n, r) => {
862
+ e.prototype = Object.create(t.prototype, r), Object.defineProperty(e.prototype, "constructor", {
863
+ value: e,
864
+ writable: !0,
865
+ enumerable: !1,
866
+ configurable: !0
867
+ }), Object.defineProperty(e, "super", { value: t.prototype }), n && Object.assign(e.prototype, n);
868
+ }, dt = (e, t, n, r) => {
869
+ let i, a, o, s = {};
870
+ if (t ||= {}, e == null) return t;
871
+ do {
872
+ for (i = Object.getOwnPropertyNames(e), a = i.length; a-- > 0;) o = i[a], (!r || r(o, e, t)) && !s[o] && (t[o] = e[o], s[o] = !0);
873
+ e = n !== !1 && Me(e);
874
+ } while (e && (!n || n(e, t)) && e !== Object.prototype);
875
+ return t;
876
+ }, ft = (e, t, n) => {
877
+ e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
878
+ let r = e.indexOf(t, n);
879
+ return r !== -1 && r === n;
880
+ }, pt = (e) => {
881
+ if (!e) return null;
882
+ if (k(e)) return e;
883
+ let t = e.length;
884
+ if (!ze(t)) return null;
885
+ let n = Array(t);
886
+ for (; t-- > 0;) n[t] = e[t];
887
+ return n;
888
+ }, mt = ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Me(Uint8Array)), ht = (e, t) => {
889
+ let n = (e && e[D]).call(e), r;
890
+ for (; (r = n.next()) && !r.done;) {
891
+ let n = r.value;
892
+ t.call(e, n[0], n[1]);
893
+ }
894
+ }, gt = (e, t) => {
895
+ let n, r = [];
896
+ for (; (n = e.exec(t)) !== null;) r.push(n);
897
+ return r;
898
+ }, _t = O("HTMLFormElement"), vt = (e) => e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(e, t, n) {
899
+ return t.toUpperCase() + n;
900
+ }), yt = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), bt = O("RegExp"), xt = (e, t) => {
901
+ let n = Object.getOwnPropertyDescriptors(e), r = {};
902
+ F(n, (n, i) => {
903
+ let a;
904
+ (a = t(n, i, e)) !== !1 && (r[i] = a || n);
905
+ }), Object.defineProperties(e, r);
906
+ }, St = (e) => {
907
+ xt(e, (t, n) => {
908
+ if (M(e) && [
909
+ "arguments",
910
+ "caller",
911
+ "callee"
912
+ ].indexOf(n) !== -1) return !1;
913
+ let r = e[n];
914
+ if (M(r)) {
915
+ if (t.enumerable = !1, "writable" in t) {
916
+ t.writable = !1;
917
+ return;
918
+ }
919
+ t.set ||= () => {
920
+ throw Error("Can not rewrite read-only method '" + n + "'");
921
+ };
922
+ }
923
+ });
924
+ }, Ct = (e, t) => {
925
+ let n = {}, r = (e) => {
926
+ e.forEach((e) => {
927
+ n[e] = !0;
928
+ });
929
+ };
930
+ return k(e) ? r(e) : r(String(e).split(t)), n;
931
+ }, wt = () => {}, Tt = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
932
+ function Et(e) {
933
+ return !!(e && M(e.append) && e[Ne] === "FormData" && e[D]);
934
+ }
935
+ var Dt = (e) => {
936
+ let t = Array(10), n = (e, r) => {
937
+ if (N(e)) {
938
+ if (t.indexOf(e) >= 0) return;
939
+ if (j(e)) return e;
940
+ if (!("toJSON" in e)) {
941
+ t[r] = e;
942
+ let i = k(e) ? [] : {};
943
+ return F(e, (e, t) => {
944
+ let a = n(e, r + 1);
945
+ !A(a) && (i[t] = a);
946
+ }), t[r] = void 0, i;
947
+ }
948
+ }
949
+ return e;
950
+ };
951
+ return n(e, 0);
952
+ }, Ot = O("AsyncFunction"), kt = (e) => e && (N(e) || M(e)) && M(e.then) && M(e.catch), At = ((e, t) => e ? setImmediate : t ? ((e, t) => (I.addEventListener("message", ({ source: n, data: r }) => {
953
+ n === I && r === e && t.length && t.shift()();
954
+ }, !1), (n) => {
955
+ t.push(n), I.postMessage(e, "*");
956
+ }))(`axios@${Math.random()}`, []) : (e) => setTimeout(e))(typeof setImmediate == "function", M(I.postMessage)), L = {
957
+ isArray: k,
958
+ isArrayBuffer: Ie,
959
+ isBuffer: j,
960
+ isFormData: Qe,
961
+ isArrayBufferView: Le,
962
+ isString: Re,
963
+ isNumber: ze,
964
+ isBoolean: Be,
965
+ isObject: N,
966
+ isPlainObject: P,
967
+ isEmptyObject: Ve,
968
+ isReadableStream: et,
969
+ isRequest: tt,
970
+ isResponse: nt,
971
+ isHeaders: rt,
972
+ isUndefined: A,
973
+ isDate: He,
974
+ isFile: Ue,
975
+ isReactNativeBlob: We,
976
+ isReactNative: Ge,
977
+ isBlob: Ke,
978
+ isRegExp: bt,
979
+ isFunction: M,
980
+ isStream: Je,
981
+ isURLSearchParams: $e,
982
+ isTypedArray: mt,
983
+ isFileList: qe,
984
+ forEach: F,
985
+ merge: st,
986
+ extend: ct,
987
+ trim: it,
988
+ stripBOM: lt,
989
+ inherits: ut,
990
+ toFlatObject: dt,
991
+ kindOf: Pe,
992
+ kindOfTest: O,
993
+ endsWith: ft,
994
+ toArray: pt,
995
+ forEachEntry: ht,
996
+ matchAll: gt,
997
+ isHTMLForm: _t,
998
+ hasOwnProperty: yt,
999
+ hasOwnProp: yt,
1000
+ reduceDescriptors: xt,
1001
+ freezeMethods: St,
1002
+ toObjectSet: Ct,
1003
+ toCamelCase: vt,
1004
+ noop: wt,
1005
+ toFiniteNumber: Tt,
1006
+ findKey: at,
1007
+ global: I,
1008
+ isContextDefined: ot,
1009
+ isSpecCompliantForm: Et,
1010
+ toJSONObject: Dt,
1011
+ isAsyncFn: Ot,
1012
+ isThenable: kt,
1013
+ setImmediate: At,
1014
+ asap: typeof queueMicrotask < "u" ? queueMicrotask.bind(I) : typeof process < "u" && process.nextTick || At,
1015
+ isIterable: (e) => e != null && M(e[D])
1016
+ }, R = class e extends Error {
1017
+ static from(t, n, r, i, a, o) {
1018
+ let s = new e(t.message, n || t.code, r, i, a);
1019
+ return s.cause = t, s.name = t.name, t.status != null && s.status == null && (s.status = t.status), o && Object.assign(s, o), s;
1020
+ }
1021
+ constructor(e, t, n, r, i) {
1022
+ super(e), Object.defineProperty(this, "message", {
1023
+ value: e,
1024
+ enumerable: !0,
1025
+ writable: !0,
1026
+ configurable: !0
1027
+ }), this.name = "AxiosError", this.isAxiosError = !0, t && (this.code = t), n && (this.config = n), r && (this.request = r), i && (this.response = i, this.status = i.status);
1028
+ }
1029
+ toJSON() {
1030
+ return {
1031
+ message: this.message,
1032
+ name: this.name,
1033
+ description: this.description,
1034
+ number: this.number,
1035
+ fileName: this.fileName,
1036
+ lineNumber: this.lineNumber,
1037
+ columnNumber: this.columnNumber,
1038
+ stack: this.stack,
1039
+ config: L.toJSONObject(this.config),
1040
+ code: this.code,
1041
+ status: this.status
1042
+ };
1043
+ }
1044
+ };
1045
+ R.ERR_BAD_OPTION_VALUE = "ERR_BAD_OPTION_VALUE", R.ERR_BAD_OPTION = "ERR_BAD_OPTION", R.ECONNABORTED = "ECONNABORTED", R.ETIMEDOUT = "ETIMEDOUT", R.ERR_NETWORK = "ERR_NETWORK", R.ERR_FR_TOO_MANY_REDIRECTS = "ERR_FR_TOO_MANY_REDIRECTS", R.ERR_DEPRECATED = "ERR_DEPRECATED", R.ERR_BAD_RESPONSE = "ERR_BAD_RESPONSE", R.ERR_BAD_REQUEST = "ERR_BAD_REQUEST", R.ERR_CANCELED = "ERR_CANCELED", R.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT", R.ERR_INVALID_URL = "ERR_INVALID_URL";
1046
+ //#endregion
1047
+ //#region node_modules/axios/lib/helpers/toFormData.js
1048
+ function jt(e) {
1049
+ return L.isPlainObject(e) || L.isArray(e);
1050
+ }
1051
+ function Mt(e) {
1052
+ return L.endsWith(e, "[]") ? e.slice(0, -2) : e;
1053
+ }
1054
+ function Nt(e, t, n) {
1055
+ return e ? e.concat(t).map(function(e, t) {
1056
+ return e = Mt(e), !n && t ? "[" + e + "]" : e;
1057
+ }).join(n ? "." : "") : t;
1058
+ }
1059
+ function Pt(e) {
1060
+ return L.isArray(e) && !e.some(jt);
1061
+ }
1062
+ var Ft = L.toFlatObject(L, {}, null, function(e) {
1063
+ return /^is[A-Z]/.test(e);
1064
+ });
1065
+ function z(e, t, n) {
1066
+ if (!L.isObject(e)) throw TypeError("target must be an object");
1067
+ t ||= new FormData(), n = L.toFlatObject(n, {
1068
+ metaTokens: !0,
1069
+ dots: !1,
1070
+ indexes: !1
1071
+ }, !1, function(e, t) {
1072
+ return !L.isUndefined(t[e]);
1073
+ });
1074
+ let r = n.metaTokens, i = n.visitor || l, a = n.dots, o = n.indexes, s = (n.Blob || typeof Blob < "u" && Blob) && L.isSpecCompliantForm(t);
1075
+ if (!L.isFunction(i)) throw TypeError("visitor must be a function");
1076
+ function c(e) {
1077
+ if (e === null) return "";
1078
+ if (L.isDate(e)) return e.toISOString();
1079
+ if (L.isBoolean(e)) return e.toString();
1080
+ if (!s && L.isBlob(e)) throw new R("Blob is not supported. Use a Buffer instead.");
1081
+ return L.isArrayBuffer(e) || L.isTypedArray(e) ? s && typeof Blob == "function" ? new Blob([e]) : Buffer.from(e) : e;
1082
+ }
1083
+ function l(e, n, i) {
1084
+ let s = e;
1085
+ if (L.isReactNative(t) && L.isReactNativeBlob(e)) return t.append(Nt(i, n, a), c(e)), !1;
1086
+ if (e && !i && typeof e == "object") {
1087
+ if (L.endsWith(n, "{}")) n = r ? n : n.slice(0, -2), e = JSON.stringify(e);
1088
+ else if (L.isArray(e) && Pt(e) || (L.isFileList(e) || L.endsWith(n, "[]")) && (s = L.toArray(e))) return n = Mt(n), s.forEach(function(e, r) {
1089
+ !(L.isUndefined(e) || e === null) && t.append(o === !0 ? Nt([n], r, a) : o === null ? n : n + "[]", c(e));
1090
+ }), !1;
1091
+ }
1092
+ return jt(e) ? !0 : (t.append(Nt(i, n, a), c(e)), !1);
1093
+ }
1094
+ let u = [], d = Object.assign(Ft, {
1095
+ defaultVisitor: l,
1096
+ convertValue: c,
1097
+ isVisitable: jt
1098
+ });
1099
+ function f(e, n) {
1100
+ if (!L.isUndefined(e)) {
1101
+ if (u.indexOf(e) !== -1) throw Error("Circular reference detected in " + n.join("."));
1102
+ u.push(e), L.forEach(e, function(e, r) {
1103
+ (!(L.isUndefined(e) || e === null) && i.call(t, e, L.isString(r) ? r.trim() : r, n, d)) === !0 && f(e, n ? n.concat(r) : [r]);
1104
+ }), u.pop();
1105
+ }
1106
+ }
1107
+ if (!L.isObject(e)) throw TypeError("data must be an object");
1108
+ return f(e), t;
1109
+ }
1110
+ //#endregion
1111
+ //#region node_modules/axios/lib/helpers/AxiosURLSearchParams.js
1112
+ function It(e) {
1113
+ let t = {
1114
+ "!": "%21",
1115
+ "'": "%27",
1116
+ "(": "%28",
1117
+ ")": "%29",
1118
+ "~": "%7E",
1119
+ "%20": "+",
1120
+ "%00": "\0"
1121
+ };
1122
+ return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g, function(e) {
1123
+ return t[e];
1124
+ });
1125
+ }
1126
+ function Lt(e, t) {
1127
+ this._pairs = [], e && z(e, this, t);
1128
+ }
1129
+ var Rt = Lt.prototype;
1130
+ Rt.append = function(e, t) {
1131
+ this._pairs.push([e, t]);
1132
+ }, Rt.toString = function(e) {
1133
+ let t = e ? function(t) {
1134
+ return e.call(this, t, It);
1135
+ } : It;
1136
+ return this._pairs.map(function(e) {
1137
+ return t(e[0]) + "=" + t(e[1]);
1138
+ }, "").join("&");
1139
+ };
1140
+ //#endregion
1141
+ //#region node_modules/axios/lib/helpers/buildURL.js
1142
+ function zt(e) {
1143
+ return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
1144
+ }
1145
+ function Bt(e, t, n) {
1146
+ if (!t) return e;
1147
+ let r = n && n.encode || zt, i = L.isFunction(n) ? { serialize: n } : n, a = i && i.serialize, o;
1148
+ if (o = a ? a(t, i) : L.isURLSearchParams(t) ? t.toString() : new Lt(t, i).toString(r), o) {
1149
+ let t = e.indexOf("#");
1150
+ t !== -1 && (e = e.slice(0, t)), e += (e.indexOf("?") === -1 ? "?" : "&") + o;
1151
+ }
1152
+ return e;
1153
+ }
1154
+ //#endregion
1155
+ //#region node_modules/axios/lib/core/InterceptorManager.js
1156
+ var Vt = class {
1157
+ constructor() {
1158
+ this.handlers = [];
1159
+ }
1160
+ use(e, t, n) {
1161
+ return this.handlers.push({
1162
+ fulfilled: e,
1163
+ rejected: t,
1164
+ synchronous: n ? n.synchronous : !1,
1165
+ runWhen: n ? n.runWhen : null
1166
+ }), this.handlers.length - 1;
1167
+ }
1168
+ eject(e) {
1169
+ this.handlers[e] && (this.handlers[e] = null);
1170
+ }
1171
+ clear() {
1172
+ this.handlers &&= [];
1173
+ }
1174
+ forEach(e) {
1175
+ L.forEach(this.handlers, function(t) {
1176
+ t !== null && e(t);
1177
+ });
1178
+ }
1179
+ }, Ht = {
1180
+ silentJSONParsing: !0,
1181
+ forcedJSONParsing: !0,
1182
+ clarifyTimeoutError: !1,
1183
+ legacyInterceptorReqResOrdering: !0
1184
+ }, Ut = {
1185
+ isBrowser: !0,
1186
+ classes: {
1187
+ URLSearchParams: typeof URLSearchParams < "u" ? URLSearchParams : Lt,
1188
+ FormData: typeof FormData < "u" ? FormData : null,
1189
+ Blob: typeof Blob < "u" ? Blob : null
1190
+ },
1191
+ protocols: [
1192
+ "http",
1193
+ "https",
1194
+ "file",
1195
+ "blob",
1196
+ "url",
1197
+ "data"
1198
+ ]
1199
+ }, Wt = /* @__PURE__ */ t({
1200
+ hasBrowserEnv: () => Gt,
1201
+ hasStandardBrowserEnv: () => qt,
1202
+ hasStandardBrowserWebWorkerEnv: () => Jt,
1203
+ navigator: () => Kt,
1204
+ origin: () => Yt
1205
+ }), Gt = typeof window < "u" && typeof document < "u", Kt = typeof navigator == "object" && navigator || void 0, qt = Gt && (!Kt || [
1206
+ "ReactNative",
1207
+ "NativeScript",
1208
+ "NS"
1209
+ ].indexOf(Kt.product) < 0), Jt = typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Yt = Gt && window.location.href || "http://localhost", B = {
1210
+ ...Wt,
1211
+ ...Ut
1212
+ };
1213
+ //#endregion
1214
+ //#region node_modules/axios/lib/helpers/toURLEncodedForm.js
1215
+ function Xt(e, t) {
1216
+ return z(e, new B.classes.URLSearchParams(), {
1217
+ visitor: function(e, t, n, r) {
1218
+ return B.isNode && L.isBuffer(e) ? (this.append(t, e.toString("base64")), !1) : r.defaultVisitor.apply(this, arguments);
1219
+ },
1220
+ ...t
1221
+ });
1222
+ }
1223
+ //#endregion
1224
+ //#region node_modules/axios/lib/helpers/formDataToJSON.js
1225
+ function Zt(e) {
1226
+ return L.matchAll(/\w+|\[(\w*)]/g, e).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
1227
+ }
1228
+ function Qt(e) {
1229
+ let t = {}, n = Object.keys(e), r, i = n.length, a;
1230
+ for (r = 0; r < i; r++) a = n[r], t[a] = e[a];
1231
+ return t;
1232
+ }
1233
+ function $t(e) {
1234
+ function t(e, n, r, i) {
1235
+ let a = e[i++];
1236
+ if (a === "__proto__") return !0;
1237
+ let o = Number.isFinite(+a), s = i >= e.length;
1238
+ return a = !a && L.isArray(r) ? r.length : a, s ? (L.hasOwnProp(r, a) ? r[a] = [r[a], n] : r[a] = n, !o) : ((!r[a] || !L.isObject(r[a])) && (r[a] = []), t(e, n, r[a], i) && L.isArray(r[a]) && (r[a] = Qt(r[a])), !o);
1239
+ }
1240
+ if (L.isFormData(e) && L.isFunction(e.entries)) {
1241
+ let n = {};
1242
+ return L.forEachEntry(e, (e, r) => {
1243
+ t(Zt(e), r, n, 0);
1244
+ }), n;
1245
+ }
1246
+ return null;
1247
+ }
1248
+ //#endregion
1249
+ //#region node_modules/axios/lib/defaults/index.js
1250
+ function en(e, t, n) {
1251
+ if (L.isString(e)) try {
1252
+ return (t || JSON.parse)(e), L.trim(e);
1253
+ } catch (e) {
1254
+ if (e.name !== "SyntaxError") throw e;
1255
+ }
1256
+ return (n || JSON.stringify)(e);
1257
+ }
1258
+ var V = {
1259
+ transitional: Ht,
1260
+ adapter: [
1261
+ "xhr",
1262
+ "http",
1263
+ "fetch"
1264
+ ],
1265
+ transformRequest: [function(e, t) {
1266
+ let n = t.getContentType() || "", r = n.indexOf("application/json") > -1, i = L.isObject(e);
1267
+ if (i && L.isHTMLForm(e) && (e = new FormData(e)), L.isFormData(e)) return r ? JSON.stringify($t(e)) : e;
1268
+ if (L.isArrayBuffer(e) || L.isBuffer(e) || L.isStream(e) || L.isFile(e) || L.isBlob(e) || L.isReadableStream(e)) return e;
1269
+ if (L.isArrayBufferView(e)) return e.buffer;
1270
+ if (L.isURLSearchParams(e)) return t.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), e.toString();
1271
+ let a;
1272
+ if (i) {
1273
+ if (n.indexOf("application/x-www-form-urlencoded") > -1) return Xt(e, this.formSerializer).toString();
1274
+ if ((a = L.isFileList(e)) || n.indexOf("multipart/form-data") > -1) {
1275
+ let t = this.env && this.env.FormData;
1276
+ return z(a ? { "files[]": e } : e, t && new t(), this.formSerializer);
1277
+ }
1278
+ }
1279
+ return i || r ? (t.setContentType("application/json", !1), en(e)) : e;
1280
+ }],
1281
+ transformResponse: [function(e) {
1282
+ let t = this.transitional || V.transitional, n = t && t.forcedJSONParsing, r = this.responseType === "json";
1283
+ if (L.isResponse(e) || L.isReadableStream(e)) return e;
1284
+ if (e && L.isString(e) && (n && !this.responseType || r)) {
1285
+ let n = !(t && t.silentJSONParsing) && r;
1286
+ try {
1287
+ return JSON.parse(e, this.parseReviver);
1288
+ } catch (e) {
1289
+ if (n) throw e.name === "SyntaxError" ? R.from(e, R.ERR_BAD_RESPONSE, this, null, this.response) : e;
1290
+ }
1291
+ }
1292
+ return e;
1293
+ }],
1294
+ timeout: 0,
1295
+ xsrfCookieName: "XSRF-TOKEN",
1296
+ xsrfHeaderName: "X-XSRF-TOKEN",
1297
+ maxContentLength: -1,
1298
+ maxBodyLength: -1,
1299
+ env: {
1300
+ FormData: B.classes.FormData,
1301
+ Blob: B.classes.Blob
1302
+ },
1303
+ validateStatus: function(e) {
1304
+ return e >= 200 && e < 300;
1305
+ },
1306
+ headers: { common: {
1307
+ Accept: "application/json, text/plain, */*",
1308
+ "Content-Type": void 0
1309
+ } }
1310
+ };
1311
+ L.forEach([
1312
+ "delete",
1313
+ "get",
1314
+ "head",
1315
+ "post",
1316
+ "put",
1317
+ "patch"
1318
+ ], (e) => {
1319
+ V.headers[e] = {};
1320
+ });
1321
+ //#endregion
1322
+ //#region node_modules/axios/lib/helpers/parseHeaders.js
1323
+ var tn = L.toObjectSet([
1324
+ "age",
1325
+ "authorization",
1326
+ "content-length",
1327
+ "content-type",
1328
+ "etag",
1329
+ "expires",
1330
+ "from",
1331
+ "host",
1332
+ "if-modified-since",
1333
+ "if-unmodified-since",
1334
+ "last-modified",
1335
+ "location",
1336
+ "max-forwards",
1337
+ "proxy-authorization",
1338
+ "referer",
1339
+ "retry-after",
1340
+ "user-agent"
1341
+ ]), nn = (e) => {
1342
+ let t = {}, n, r, i;
1343
+ return e && e.split("\n").forEach(function(e) {
1344
+ i = e.indexOf(":"), n = e.substring(0, i).trim().toLowerCase(), r = e.substring(i + 1).trim(), !(!n || t[n] && tn[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
1345
+ }), t;
1346
+ }, rn = Symbol("internals"), an = (e) => !/[\r\n]/.test(e);
1347
+ function on(e, t) {
1348
+ if (!(e === !1 || e == null)) {
1349
+ if (L.isArray(e)) {
1350
+ e.forEach((e) => on(e, t));
1351
+ return;
1352
+ }
1353
+ if (!an(String(e))) throw Error(`Invalid character in header content ["${t}"]`);
1354
+ }
1355
+ }
1356
+ function H(e) {
1357
+ return e && String(e).trim().toLowerCase();
1358
+ }
1359
+ function sn(e) {
1360
+ let t = e.length;
1361
+ for (; t > 0;) {
1362
+ let n = e.charCodeAt(t - 1);
1363
+ if (n !== 10 && n !== 13) break;
1364
+ --t;
1365
+ }
1366
+ return t === e.length ? e : e.slice(0, t);
1367
+ }
1368
+ function U(e) {
1369
+ return e === !1 || e == null ? e : L.isArray(e) ? e.map(U) : sn(String(e));
1370
+ }
1371
+ function cn(e) {
1372
+ let t = Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g, r;
1373
+ for (; r = n.exec(e);) t[r[1]] = r[2];
1374
+ return t;
1375
+ }
1376
+ var ln = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
1377
+ function un(e, t, n, r, i) {
1378
+ if (L.isFunction(r)) return r.call(this, t, n);
1379
+ if (i && (t = n), L.isString(t)) {
1380
+ if (L.isString(r)) return t.indexOf(r) !== -1;
1381
+ if (L.isRegExp(r)) return r.test(t);
1382
+ }
1383
+ }
1384
+ function dn(e) {
1385
+ return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, t, n) => t.toUpperCase() + n);
1386
+ }
1387
+ function fn(e, t) {
1388
+ let n = L.toCamelCase(" " + t);
1389
+ [
1390
+ "get",
1391
+ "set",
1392
+ "has"
1393
+ ].forEach((r) => {
1394
+ Object.defineProperty(e, r + n, {
1395
+ value: function(e, n, i) {
1396
+ return this[r].call(this, t, e, n, i);
1397
+ },
1398
+ configurable: !0
1399
+ });
1400
+ });
1401
+ }
1402
+ var W = class {
1403
+ constructor(e) {
1404
+ e && this.set(e);
1405
+ }
1406
+ set(e, t, n) {
1407
+ let r = this;
1408
+ function i(e, t, n) {
1409
+ let i = H(t);
1410
+ if (!i) throw Error("header name must be a non-empty string");
1411
+ let a = L.findKey(r, i);
1412
+ (!a || r[a] === void 0 || n === !0 || n === void 0 && r[a] !== !1) && (on(e, t), r[a || t] = U(e));
1413
+ }
1414
+ let a = (e, t) => L.forEach(e, (e, n) => i(e, n, t));
1415
+ if (L.isPlainObject(e) || e instanceof this.constructor) a(e, t);
1416
+ else if (L.isString(e) && (e = e.trim()) && !ln(e)) a(nn(e), t);
1417
+ else if (L.isObject(e) && L.isIterable(e)) {
1418
+ let n = {}, r, i;
1419
+ for (let t of e) {
1420
+ if (!L.isArray(t)) throw TypeError("Object iterator must return a key-value pair");
1421
+ n[i = t[0]] = (r = n[i]) ? L.isArray(r) ? [...r, t[1]] : [r, t[1]] : t[1];
1422
+ }
1423
+ a(n, t);
1424
+ } else e != null && i(t, e, n);
1425
+ return this;
1426
+ }
1427
+ get(e, t) {
1428
+ if (e = H(e), e) {
1429
+ let n = L.findKey(this, e);
1430
+ if (n) {
1431
+ let e = this[n];
1432
+ if (!t) return e;
1433
+ if (t === !0) return cn(e);
1434
+ if (L.isFunction(t)) return t.call(this, e, n);
1435
+ if (L.isRegExp(t)) return t.exec(e);
1436
+ throw TypeError("parser must be boolean|regexp|function");
1437
+ }
1438
+ }
1439
+ }
1440
+ has(e, t) {
1441
+ if (e = H(e), e) {
1442
+ let n = L.findKey(this, e);
1443
+ return !!(n && this[n] !== void 0 && (!t || un(this, this[n], n, t)));
1444
+ }
1445
+ return !1;
1446
+ }
1447
+ delete(e, t) {
1448
+ let n = this, r = !1;
1449
+ function i(e) {
1450
+ if (e = H(e), e) {
1451
+ let i = L.findKey(n, e);
1452
+ i && (!t || un(n, n[i], i, t)) && (delete n[i], r = !0);
1453
+ }
1454
+ }
1455
+ return L.isArray(e) ? e.forEach(i) : i(e), r;
1456
+ }
1457
+ clear(e) {
1458
+ let t = Object.keys(this), n = t.length, r = !1;
1459
+ for (; n--;) {
1460
+ let i = t[n];
1461
+ (!e || un(this, this[i], i, e, !0)) && (delete this[i], r = !0);
1462
+ }
1463
+ return r;
1464
+ }
1465
+ normalize(e) {
1466
+ let t = this, n = {};
1467
+ return L.forEach(this, (r, i) => {
1468
+ let a = L.findKey(n, i);
1469
+ if (a) {
1470
+ t[a] = U(r), delete t[i];
1471
+ return;
1472
+ }
1473
+ let o = e ? dn(i) : String(i).trim();
1474
+ o !== i && delete t[i], t[o] = U(r), n[o] = !0;
1475
+ }), this;
1476
+ }
1477
+ concat(...e) {
1478
+ return this.constructor.concat(this, ...e);
1479
+ }
1480
+ toJSON(e) {
1481
+ let t = Object.create(null);
1482
+ return L.forEach(this, (n, r) => {
1483
+ n != null && n !== !1 && (t[r] = e && L.isArray(n) ? n.join(", ") : n);
1484
+ }), t;
1485
+ }
1486
+ [Symbol.iterator]() {
1487
+ return Object.entries(this.toJSON())[Symbol.iterator]();
1488
+ }
1489
+ toString() {
1490
+ return Object.entries(this.toJSON()).map(([e, t]) => e + ": " + t).join("\n");
1491
+ }
1492
+ getSetCookie() {
1493
+ return this.get("set-cookie") || [];
1494
+ }
1495
+ get [Symbol.toStringTag]() {
1496
+ return "AxiosHeaders";
1497
+ }
1498
+ static from(e) {
1499
+ return e instanceof this ? e : new this(e);
1500
+ }
1501
+ static concat(e, ...t) {
1502
+ let n = new this(e);
1503
+ return t.forEach((e) => n.set(e)), n;
1504
+ }
1505
+ static accessor(e) {
1506
+ let t = (this[rn] = this[rn] = { accessors: {} }).accessors, n = this.prototype;
1507
+ function r(e) {
1508
+ let r = H(e);
1509
+ t[r] || (fn(n, e), t[r] = !0);
1510
+ }
1511
+ return L.isArray(e) ? e.forEach(r) : r(e), this;
1512
+ }
1513
+ };
1514
+ W.accessor([
1515
+ "Content-Type",
1516
+ "Content-Length",
1517
+ "Accept",
1518
+ "Accept-Encoding",
1519
+ "User-Agent",
1520
+ "Authorization"
1521
+ ]), L.reduceDescriptors(W.prototype, ({ value: e }, t) => {
1522
+ let n = t[0].toUpperCase() + t.slice(1);
1523
+ return {
1524
+ get: () => e,
1525
+ set(e) {
1526
+ this[n] = e;
1527
+ }
1528
+ };
1529
+ }), L.freezeMethods(W);
1530
+ //#endregion
1531
+ //#region node_modules/axios/lib/core/transformData.js
1532
+ function pn(e, t) {
1533
+ let n = this || V, r = t || n, i = W.from(r.headers), a = r.data;
1534
+ return L.forEach(e, function(e) {
1535
+ a = e.call(n, a, i.normalize(), t ? t.status : void 0);
1536
+ }), i.normalize(), a;
1537
+ }
1538
+ //#endregion
1539
+ //#region node_modules/axios/lib/cancel/isCancel.js
1540
+ function mn(e) {
1541
+ return !!(e && e.__CANCEL__);
1542
+ }
1543
+ //#endregion
1544
+ //#region node_modules/axios/lib/cancel/CanceledError.js
1545
+ var G = class extends R {
1546
+ constructor(e, t, n) {
1547
+ super(e ?? "canceled", R.ERR_CANCELED, t, n), this.name = "CanceledError", this.__CANCEL__ = !0;
1548
+ }
1549
+ };
1550
+ //#endregion
1551
+ //#region node_modules/axios/lib/core/settle.js
1552
+ function hn(e, t, n) {
1553
+ let r = n.config.validateStatus;
1554
+ !n.status || !r || r(n.status) ? e(n) : t(new R("Request failed with status code " + n.status, [R.ERR_BAD_REQUEST, R.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4], n.config, n.request, n));
1555
+ }
1556
+ //#endregion
1557
+ //#region node_modules/axios/lib/helpers/parseProtocol.js
1558
+ function gn(e) {
1559
+ let t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
1560
+ return t && t[1] || "";
1561
+ }
1562
+ //#endregion
1563
+ //#region node_modules/axios/lib/helpers/speedometer.js
1564
+ function _n(e, t) {
1565
+ e ||= 10;
1566
+ let n = Array(e), r = Array(e), i = 0, a = 0, o;
1567
+ return t = t === void 0 ? 1e3 : t, function(s) {
1568
+ let c = Date.now(), l = r[a];
1569
+ o ||= c, n[i] = s, r[i] = c;
1570
+ let u = a, d = 0;
1571
+ for (; u !== i;) d += n[u++], u %= e;
1572
+ if (i = (i + 1) % e, i === a && (a = (a + 1) % e), c - o < t) return;
1573
+ let f = l && c - l;
1574
+ return f ? Math.round(d * 1e3 / f) : void 0;
1575
+ };
1576
+ }
1577
+ //#endregion
1578
+ //#region node_modules/axios/lib/helpers/throttle.js
1579
+ function vn(e, t) {
1580
+ let n = 0, r = 1e3 / t, i, a, o = (t, r = Date.now()) => {
1581
+ n = r, i = null, a &&= (clearTimeout(a), null), e(...t);
1582
+ };
1583
+ return [(...e) => {
1584
+ let t = Date.now(), s = t - n;
1585
+ s >= r ? o(e, t) : (i = e, a ||= setTimeout(() => {
1586
+ a = null, o(i);
1587
+ }, r - s));
1588
+ }, () => i && o(i)];
1589
+ }
1590
+ //#endregion
1591
+ //#region node_modules/axios/lib/helpers/progressEventReducer.js
1592
+ var K = (e, t, n = 3) => {
1593
+ let r = 0, i = _n(50, 250);
1594
+ return vn((n) => {
1595
+ let a = n.loaded, o = n.lengthComputable ? n.total : void 0, s = a - r, c = i(s), l = a <= o;
1596
+ r = a, e({
1597
+ loaded: a,
1598
+ total: o,
1599
+ progress: o ? a / o : void 0,
1600
+ bytes: s,
1601
+ rate: c || void 0,
1602
+ estimated: c && o && l ? (o - a) / c : void 0,
1603
+ event: n,
1604
+ lengthComputable: o != null,
1605
+ [t ? "download" : "upload"]: !0
1606
+ });
1607
+ }, n);
1608
+ }, yn = (e, t) => {
1609
+ let n = e != null;
1610
+ return [(r) => t[0]({
1611
+ lengthComputable: n,
1612
+ total: e,
1613
+ loaded: r
1614
+ }), t[1]];
1615
+ }, bn = (e) => (...t) => L.asap(() => e(...t)), xn = B.hasStandardBrowserEnv ? ((e, t) => (n) => (n = new URL(n, B.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(new URL(B.origin), B.navigator && /(msie|trident)/i.test(B.navigator.userAgent)) : () => !0, Sn = B.hasStandardBrowserEnv ? {
1616
+ write(e, t, n, r, i, a, o) {
1617
+ if (typeof document > "u") return;
1618
+ let s = [`${e}=${encodeURIComponent(t)}`];
1619
+ L.isNumber(n) && s.push(`expires=${new Date(n).toUTCString()}`), L.isString(r) && s.push(`path=${r}`), L.isString(i) && s.push(`domain=${i}`), a === !0 && s.push("secure"), L.isString(o) && s.push(`SameSite=${o}`), document.cookie = s.join("; ");
1620
+ },
1621
+ read(e) {
1622
+ if (typeof document > "u") return null;
1623
+ let t = document.cookie.match(RegExp("(?:^|; )" + e + "=([^;]*)"));
1624
+ return t ? decodeURIComponent(t[1]) : null;
1625
+ },
1626
+ remove(e) {
1627
+ this.write(e, "", Date.now() - 864e5, "/");
1628
+ }
1629
+ } : {
1630
+ write() {},
1631
+ read() {
1632
+ return null;
1633
+ },
1634
+ remove() {}
1635
+ };
1636
+ //#endregion
1637
+ //#region node_modules/axios/lib/helpers/isAbsoluteURL.js
1638
+ function Cn(e) {
1639
+ return typeof e == "string" ? /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e) : !1;
1640
+ }
1641
+ //#endregion
1642
+ //#region node_modules/axios/lib/helpers/combineURLs.js
1643
+ function wn(e, t) {
1644
+ return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
1645
+ }
1646
+ //#endregion
1647
+ //#region node_modules/axios/lib/core/buildFullPath.js
1648
+ function Tn(e, t, n) {
1649
+ let r = !Cn(t);
1650
+ return e && (r || n == 0) ? wn(e, t) : t;
1651
+ }
1652
+ //#endregion
1653
+ //#region node_modules/axios/lib/core/mergeConfig.js
1654
+ var En = (e) => e instanceof W ? { ...e } : e;
1655
+ function q(e, t) {
1656
+ t ||= {};
1657
+ let n = {};
1658
+ function r(e, t, n, r) {
1659
+ return L.isPlainObject(e) && L.isPlainObject(t) ? L.merge.call({ caseless: r }, e, t) : L.isPlainObject(t) ? L.merge({}, t) : L.isArray(t) ? t.slice() : t;
1660
+ }
1661
+ function i(e, t, n, i) {
1662
+ if (!L.isUndefined(t)) return r(e, t, n, i);
1663
+ if (!L.isUndefined(e)) return r(void 0, e, n, i);
1664
+ }
1665
+ function a(e, t) {
1666
+ if (!L.isUndefined(t)) return r(void 0, t);
1667
+ }
1668
+ function o(e, t) {
1669
+ if (!L.isUndefined(t)) return r(void 0, t);
1670
+ if (!L.isUndefined(e)) return r(void 0, e);
1671
+ }
1672
+ function s(n, i, a) {
1673
+ if (a in t) return r(n, i);
1674
+ if (a in e) return r(void 0, n);
1675
+ }
1676
+ let c = {
1677
+ url: a,
1678
+ method: a,
1679
+ data: a,
1680
+ baseURL: o,
1681
+ transformRequest: o,
1682
+ transformResponse: o,
1683
+ paramsSerializer: o,
1684
+ timeout: o,
1685
+ timeoutMessage: o,
1686
+ withCredentials: o,
1687
+ withXSRFToken: o,
1688
+ adapter: o,
1689
+ responseType: o,
1690
+ xsrfCookieName: o,
1691
+ xsrfHeaderName: o,
1692
+ onUploadProgress: o,
1693
+ onDownloadProgress: o,
1694
+ decompress: o,
1695
+ maxContentLength: o,
1696
+ maxBodyLength: o,
1697
+ beforeRedirect: o,
1698
+ transport: o,
1699
+ httpAgent: o,
1700
+ httpsAgent: o,
1701
+ cancelToken: o,
1702
+ socketPath: o,
1703
+ responseEncoding: o,
1704
+ validateStatus: s,
1705
+ headers: (e, t, n) => i(En(e), En(t), n, !0)
1706
+ };
1707
+ return L.forEach(Object.keys({
1708
+ ...e,
1709
+ ...t
1710
+ }), function(r) {
1711
+ if (r === "__proto__" || r === "constructor" || r === "prototype") return;
1712
+ let a = L.hasOwnProp(c, r) ? c[r] : i, o = a(e[r], t[r], r);
1713
+ L.isUndefined(o) && a !== s || (n[r] = o);
1714
+ }), n;
1715
+ }
1716
+ //#endregion
1717
+ //#region node_modules/axios/lib/helpers/resolveConfig.js
1718
+ var Dn = (e) => {
1719
+ let t = q({}, e), { data: n, withXSRFToken: r, xsrfHeaderName: i, xsrfCookieName: a, headers: o, auth: s } = t;
1720
+ if (t.headers = o = W.from(o), t.url = Bt(Tn(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), s && o.set("Authorization", "Basic " + btoa((s.username || "") + ":" + (s.password ? unescape(encodeURIComponent(s.password)) : ""))), L.isFormData(n)) {
1721
+ if (B.hasStandardBrowserEnv || B.hasStandardBrowserWebWorkerEnv) o.setContentType(void 0);
1722
+ else if (L.isFunction(n.getHeaders)) {
1723
+ let e = n.getHeaders(), t = ["content-type", "content-length"];
1724
+ Object.entries(e).forEach(([e, n]) => {
1725
+ t.includes(e.toLowerCase()) && o.set(e, n);
1726
+ });
1727
+ }
1728
+ }
1729
+ if (B.hasStandardBrowserEnv && (r && L.isFunction(r) && (r = r(t)), r || r !== !1 && xn(t.url))) {
1730
+ let e = i && a && Sn.read(a);
1731
+ e && o.set(i, e);
1732
+ }
1733
+ return t;
1734
+ }, On = typeof XMLHttpRequest < "u" && function(e) {
1735
+ return new Promise(function(t, n) {
1736
+ let r = Dn(e), i = r.data, a = W.from(r.headers).normalize(), { responseType: o, onUploadProgress: s, onDownloadProgress: c } = r, l, u, d, f, p;
1737
+ function m() {
1738
+ f && f(), p && p(), r.cancelToken && r.cancelToken.unsubscribe(l), r.signal && r.signal.removeEventListener("abort", l);
1739
+ }
1740
+ let h = new XMLHttpRequest();
1741
+ h.open(r.method.toUpperCase(), r.url, !0), h.timeout = r.timeout;
1742
+ function g() {
1743
+ if (!h) return;
1744
+ let r = W.from("getAllResponseHeaders" in h && h.getAllResponseHeaders());
1745
+ hn(function(e) {
1746
+ t(e), m();
1747
+ }, function(e) {
1748
+ n(e), m();
1749
+ }, {
1750
+ data: !o || o === "text" || o === "json" ? h.responseText : h.response,
1751
+ status: h.status,
1752
+ statusText: h.statusText,
1753
+ headers: r,
1754
+ config: e,
1755
+ request: h
1756
+ }), h = null;
1757
+ }
1758
+ "onloadend" in h ? h.onloadend = g : h.onreadystatechange = function() {
1759
+ !h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.indexOf("file:") === 0) || setTimeout(g);
1760
+ }, h.onabort = function() {
1761
+ h &&= (n(new R("Request aborted", R.ECONNABORTED, e, h)), null);
1762
+ }, h.onerror = function(t) {
1763
+ let r = new R(t && t.message ? t.message : "Network Error", R.ERR_NETWORK, e, h);
1764
+ r.event = t || null, n(r), h = null;
1765
+ }, h.ontimeout = function() {
1766
+ let t = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded", i = r.transitional || Ht;
1767
+ r.timeoutErrorMessage && (t = r.timeoutErrorMessage), n(new R(t, i.clarifyTimeoutError ? R.ETIMEDOUT : R.ECONNABORTED, e, h)), h = null;
1768
+ }, i === void 0 && a.setContentType(null), "setRequestHeader" in h && L.forEach(a.toJSON(), function(e, t) {
1769
+ h.setRequestHeader(t, e);
1770
+ }), L.isUndefined(r.withCredentials) || (h.withCredentials = !!r.withCredentials), o && o !== "json" && (h.responseType = r.responseType), c && ([d, p] = K(c, !0), h.addEventListener("progress", d)), s && h.upload && ([u, f] = K(s), h.upload.addEventListener("progress", u), h.upload.addEventListener("loadend", f)), (r.cancelToken || r.signal) && (l = (t) => {
1771
+ h &&= (n(!t || t.type ? new G(null, e, h) : t), h.abort(), null);
1772
+ }, r.cancelToken && r.cancelToken.subscribe(l), r.signal && (r.signal.aborted ? l() : r.signal.addEventListener("abort", l)));
1773
+ let _ = gn(r.url);
1774
+ if (_ && B.protocols.indexOf(_) === -1) {
1775
+ n(new R("Unsupported protocol " + _ + ":", R.ERR_BAD_REQUEST, e));
1776
+ return;
1777
+ }
1778
+ h.send(i || null);
1779
+ });
1780
+ }, kn = (e, t) => {
1781
+ let { length: n } = e = e ? e.filter(Boolean) : [];
1782
+ if (t || n) {
1783
+ let n = new AbortController(), r, i = function(e) {
1784
+ if (!r) {
1785
+ r = !0, o();
1786
+ let t = e instanceof Error ? e : this.reason;
1787
+ n.abort(t instanceof R ? t : new G(t instanceof Error ? t.message : t));
1788
+ }
1789
+ }, a = t && setTimeout(() => {
1790
+ a = null, i(new R(`timeout of ${t}ms exceeded`, R.ETIMEDOUT));
1791
+ }, t), o = () => {
1792
+ e &&= (a && clearTimeout(a), a = null, e.forEach((e) => {
1793
+ e.unsubscribe ? e.unsubscribe(i) : e.removeEventListener("abort", i);
1794
+ }), null);
1795
+ };
1796
+ e.forEach((e) => e.addEventListener("abort", i));
1797
+ let { signal: s } = n;
1798
+ return s.unsubscribe = () => L.asap(o), s;
1799
+ }
1800
+ }, An = function* (e, t) {
1801
+ let n = e.byteLength;
1802
+ if (!t || n < t) {
1803
+ yield e;
1804
+ return;
1805
+ }
1806
+ let r = 0, i;
1807
+ for (; r < n;) i = r + t, yield e.slice(r, i), r = i;
1808
+ }, jn = async function* (e, t) {
1809
+ for await (let n of Mn(e)) yield* An(n, t);
1810
+ }, Mn = async function* (e) {
1811
+ if (e[Symbol.asyncIterator]) {
1812
+ yield* e;
1813
+ return;
1814
+ }
1815
+ let t = e.getReader();
1816
+ try {
1817
+ for (;;) {
1818
+ let { done: e, value: n } = await t.read();
1819
+ if (e) break;
1820
+ yield n;
1821
+ }
1822
+ } finally {
1823
+ await t.cancel();
1824
+ }
1825
+ }, Nn = (e, t, n, r) => {
1826
+ let i = jn(e, t), a = 0, o, s = (e) => {
1827
+ o || (o = !0, r && r(e));
1828
+ };
1829
+ return new ReadableStream({
1830
+ async pull(e) {
1831
+ try {
1832
+ let { done: t, value: r } = await i.next();
1833
+ if (t) {
1834
+ s(), e.close();
1835
+ return;
1836
+ }
1837
+ let o = r.byteLength;
1838
+ n && n(a += o), e.enqueue(new Uint8Array(r));
1839
+ } catch (e) {
1840
+ throw s(e), e;
1841
+ }
1842
+ },
1843
+ cancel(e) {
1844
+ return s(e), i.return();
1845
+ }
1846
+ }, { highWaterMark: 2 });
1847
+ }, Pn = 64 * 1024, { isFunction: J } = L, Fn = (({ Request: e, Response: t }) => ({
1848
+ Request: e,
1849
+ Response: t
1850
+ }))(L.global), { ReadableStream: In, TextEncoder: Ln } = L.global, Rn = (e, ...t) => {
1851
+ try {
1852
+ return !!e(...t);
1853
+ } catch {
1854
+ return !1;
1855
+ }
1856
+ }, zn = (e) => {
1857
+ e = L.merge.call({ skipUndefined: !0 }, Fn, e);
1858
+ let { fetch: t, Request: n, Response: r } = e, i = t ? J(t) : typeof fetch == "function", a = J(n), o = J(r);
1859
+ if (!i) return !1;
1860
+ let s = i && J(In), c = i && (typeof Ln == "function" ? ((e) => (t) => e.encode(t))(new Ln()) : async (e) => new Uint8Array(await new n(e).arrayBuffer())), l = a && s && Rn(() => {
1861
+ let e = !1, t = new In(), r = new n(B.origin, {
1862
+ body: t,
1863
+ method: "POST",
1864
+ get duplex() {
1865
+ return e = !0, "half";
1866
+ }
1867
+ }).headers.has("Content-Type");
1868
+ return t.cancel(), e && !r;
1869
+ }), u = o && s && Rn(() => L.isReadableStream(new r("").body)), d = { stream: u && ((e) => e.body) };
1870
+ i && [
1871
+ "text",
1872
+ "arrayBuffer",
1873
+ "blob",
1874
+ "formData",
1875
+ "stream"
1876
+ ].forEach((e) => {
1877
+ !d[e] && (d[e] = (t, n) => {
1878
+ let r = t && t[e];
1879
+ if (r) return r.call(t);
1880
+ throw new R(`Response type '${e}' is not supported`, R.ERR_NOT_SUPPORT, n);
1881
+ });
1882
+ });
1883
+ let f = async (e) => {
1884
+ if (e == null) return 0;
1885
+ if (L.isBlob(e)) return e.size;
1886
+ if (L.isSpecCompliantForm(e)) return (await new n(B.origin, {
1887
+ method: "POST",
1888
+ body: e
1889
+ }).arrayBuffer()).byteLength;
1890
+ if (L.isArrayBufferView(e) || L.isArrayBuffer(e)) return e.byteLength;
1891
+ if (L.isURLSearchParams(e) && (e += ""), L.isString(e)) return (await c(e)).byteLength;
1892
+ }, p = async (e, t) => L.toFiniteNumber(e.getContentLength()) ?? f(t);
1893
+ return async (e) => {
1894
+ let { url: i, method: o, data: s, signal: c, cancelToken: f, timeout: m, onDownloadProgress: h, onUploadProgress: g, responseType: _, headers: v, withCredentials: y = "same-origin", fetchOptions: b } = Dn(e), x = t || fetch;
1895
+ _ = _ ? (_ + "").toLowerCase() : "text";
1896
+ let S = kn([c, f && f.toAbortSignal()], m), C = null, w = S && S.unsubscribe && (() => {
1897
+ S.unsubscribe();
1898
+ }), ee;
1899
+ try {
1900
+ if (g && l && o !== "get" && o !== "head" && (ee = await p(v, s)) !== 0) {
1901
+ let e = new n(i, {
1902
+ method: "POST",
1903
+ body: s,
1904
+ duplex: "half"
1905
+ }), t;
1906
+ if (L.isFormData(s) && (t = e.headers.get("content-type")) && v.setContentType(t), e.body) {
1907
+ let [t, n] = yn(ee, K(bn(g)));
1908
+ s = Nn(e.body, Pn, t, n);
1909
+ }
1910
+ }
1911
+ L.isString(y) || (y = y ? "include" : "omit");
1912
+ let t = a && "credentials" in n.prototype, c = {
1913
+ ...b,
1914
+ signal: S,
1915
+ method: o.toUpperCase(),
1916
+ headers: v.normalize().toJSON(),
1917
+ body: s,
1918
+ duplex: "half",
1919
+ credentials: t ? y : void 0
1920
+ };
1921
+ C = a && new n(i, c);
1922
+ let f = await (a ? x(C, b) : x(i, c)), m = u && (_ === "stream" || _ === "response");
1923
+ if (u && (h || m && w)) {
1924
+ let e = {};
1925
+ [
1926
+ "status",
1927
+ "statusText",
1928
+ "headers"
1929
+ ].forEach((t) => {
1930
+ e[t] = f[t];
1931
+ });
1932
+ let t = L.toFiniteNumber(f.headers.get("content-length")), [n, i] = h && yn(t, K(bn(h), !0)) || [];
1933
+ f = new r(Nn(f.body, Pn, n, () => {
1934
+ i && i(), w && w();
1935
+ }), e);
1936
+ }
1937
+ _ ||= "text";
1938
+ let te = await d[L.findKey(d, _) || "text"](f, e);
1939
+ return !m && w && w(), await new Promise((t, n) => {
1940
+ hn(t, n, {
1941
+ data: te,
1942
+ headers: W.from(f.headers),
1943
+ status: f.status,
1944
+ statusText: f.statusText,
1945
+ config: e,
1946
+ request: C
1947
+ });
1948
+ });
1949
+ } catch (t) {
1950
+ throw w && w(), t && t.name === "TypeError" && /Load failed|fetch/i.test(t.message) ? Object.assign(new R("Network Error", R.ERR_NETWORK, e, C, t && t.response), { cause: t.cause || t }) : R.from(t, t && t.code, e, C, t && t.response);
1951
+ }
1952
+ };
1953
+ }, Bn = /* @__PURE__ */ new Map(), Vn = (e) => {
1954
+ let t = e && e.env || {}, { fetch: n, Request: r, Response: i } = t, a = [
1955
+ r,
1956
+ i,
1957
+ n
1958
+ ], o = a.length, s, c, l = Bn;
1959
+ for (; o--;) s = a[o], c = l.get(s), c === void 0 && l.set(s, c = o ? /* @__PURE__ */ new Map() : zn(t)), l = c;
1960
+ return c;
1961
+ };
1962
+ Vn();
1963
+ //#endregion
1964
+ //#region node_modules/axios/lib/adapters/adapters.js
1965
+ var Hn = {
1966
+ http: null,
1967
+ xhr: On,
1968
+ fetch: { get: Vn }
1969
+ };
1970
+ L.forEach(Hn, (e, t) => {
1971
+ if (e) {
1972
+ try {
1973
+ Object.defineProperty(e, "name", { value: t });
1974
+ } catch {}
1975
+ Object.defineProperty(e, "adapterName", { value: t });
1976
+ }
1977
+ });
1978
+ var Un = (e) => `- ${e}`, Wn = (e) => L.isFunction(e) || e === null || e === !1;
1979
+ function Gn(e, t) {
1980
+ e = L.isArray(e) ? e : [e];
1981
+ let { length: n } = e, r, i, a = {};
1982
+ for (let o = 0; o < n; o++) {
1983
+ r = e[o];
1984
+ let n;
1985
+ if (i = r, !Wn(r) && (i = Hn[(n = String(r)).toLowerCase()], i === void 0)) throw new R(`Unknown adapter '${n}'`);
1986
+ if (i && (L.isFunction(i) || (i = i.get(t)))) break;
1987
+ a[n || "#" + o] = i;
1988
+ }
1989
+ if (!i) {
1990
+ let e = Object.entries(a).map(([e, t]) => `adapter ${e} ` + (t === !1 ? "is not supported by the environment" : "is not available in the build"));
1991
+ throw new R("There is no suitable adapter to dispatch the request " + (n ? e.length > 1 ? "since :\n" + e.map(Un).join("\n") : " " + Un(e[0]) : "as no adapter specified"), "ERR_NOT_SUPPORT");
1992
+ }
1993
+ return i;
1994
+ }
1995
+ var Kn = {
1996
+ getAdapter: Gn,
1997
+ adapters: Hn
1998
+ };
1999
+ //#endregion
2000
+ //#region node_modules/axios/lib/core/dispatchRequest.js
2001
+ function qn(e) {
2002
+ if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted) throw new G(null, e);
2003
+ }
2004
+ function Jn(e) {
2005
+ return qn(e), e.headers = W.from(e.headers), e.data = pn.call(e, e.transformRequest), [
2006
+ "post",
2007
+ "put",
2008
+ "patch"
2009
+ ].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Kn.getAdapter(e.adapter || V.adapter, e)(e).then(function(t) {
2010
+ return qn(e), t.data = pn.call(e, e.transformResponse, t), t.headers = W.from(t.headers), t;
2011
+ }, function(t) {
2012
+ return mn(t) || (qn(e), t && t.response && (t.response.data = pn.call(e, e.transformResponse, t.response), t.response.headers = W.from(t.response.headers))), Promise.reject(t);
2013
+ });
2014
+ }
2015
+ //#endregion
2016
+ //#region node_modules/axios/lib/env/data.js
2017
+ var Yn = "1.15.0", Y = {};
2018
+ [
2019
+ "object",
2020
+ "boolean",
2021
+ "number",
2022
+ "function",
2023
+ "string",
2024
+ "symbol"
2025
+ ].forEach((e, t) => {
2026
+ Y[e] = function(n) {
2027
+ return typeof n === e || "a" + (t < 1 ? "n " : " ") + e;
2028
+ };
2029
+ });
2030
+ var Xn = {};
2031
+ Y.transitional = function(e, t, n) {
2032
+ function r(e, t) {
2033
+ return "[Axios v" + Yn + "] Transitional option '" + e + "'" + t + (n ? ". " + n : "");
2034
+ }
2035
+ return (n, i, a) => {
2036
+ if (e === !1) throw new R(r(i, " has been removed" + (t ? " in " + t : "")), R.ERR_DEPRECATED);
2037
+ return t && !Xn[i] && (Xn[i] = !0, console.warn(r(i, " has been deprecated since v" + t + " and will be removed in the near future"))), e ? e(n, i, a) : !0;
2038
+ };
2039
+ }, Y.spelling = function(e) {
2040
+ return (t, n) => (console.warn(`${n} is likely a misspelling of ${e}`), !0);
2041
+ };
2042
+ function Zn(e, t, n) {
2043
+ if (typeof e != "object") throw new R("options must be an object", R.ERR_BAD_OPTION_VALUE);
2044
+ let r = Object.keys(e), i = r.length;
2045
+ for (; i-- > 0;) {
2046
+ let a = r[i], o = t[a];
2047
+ if (o) {
2048
+ let t = e[a], n = t === void 0 || o(t, a, e);
2049
+ if (n !== !0) throw new R("option " + a + " must be " + n, R.ERR_BAD_OPTION_VALUE);
2050
+ continue;
2051
+ }
2052
+ if (n !== !0) throw new R("Unknown option " + a, R.ERR_BAD_OPTION);
2053
+ }
2054
+ }
2055
+ var X = {
2056
+ assertOptions: Zn,
2057
+ validators: Y
2058
+ }, Z = X.validators, Q = class {
2059
+ constructor(e) {
2060
+ this.defaults = e || {}, this.interceptors = {
2061
+ request: new Vt(),
2062
+ response: new Vt()
2063
+ };
2064
+ }
2065
+ async request(e, t) {
2066
+ try {
2067
+ return await this._request(e, t);
2068
+ } catch (e) {
2069
+ if (e instanceof Error) {
2070
+ let t = {};
2071
+ Error.captureStackTrace ? Error.captureStackTrace(t) : t = /* @__PURE__ */ Error();
2072
+ let n = (() => {
2073
+ if (!t.stack) return "";
2074
+ let e = t.stack.indexOf("\n");
2075
+ return e === -1 ? "" : t.stack.slice(e + 1);
2076
+ })();
2077
+ try {
2078
+ if (!e.stack) e.stack = n;
2079
+ else if (n) {
2080
+ let t = n.indexOf("\n"), r = t === -1 ? -1 : n.indexOf("\n", t + 1), i = r === -1 ? "" : n.slice(r + 1);
2081
+ String(e.stack).endsWith(i) || (e.stack += "\n" + n);
2082
+ }
2083
+ } catch {}
2084
+ }
2085
+ throw e;
2086
+ }
2087
+ }
2088
+ _request(e, t) {
2089
+ typeof e == "string" ? (t ||= {}, t.url = e) : t = e || {}, t = q(this.defaults, t);
2090
+ let { transitional: n, paramsSerializer: r, headers: i } = t;
2091
+ n !== void 0 && X.assertOptions(n, {
2092
+ silentJSONParsing: Z.transitional(Z.boolean),
2093
+ forcedJSONParsing: Z.transitional(Z.boolean),
2094
+ clarifyTimeoutError: Z.transitional(Z.boolean),
2095
+ legacyInterceptorReqResOrdering: Z.transitional(Z.boolean)
2096
+ }, !1), r != null && (L.isFunction(r) ? t.paramsSerializer = { serialize: r } : X.assertOptions(r, {
2097
+ encode: Z.function,
2098
+ serialize: Z.function
2099
+ }, !0)), t.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls === void 0 ? t.allowAbsoluteUrls = !0 : t.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls), X.assertOptions(t, {
2100
+ baseUrl: Z.spelling("baseURL"),
2101
+ withXsrfToken: Z.spelling("withXSRFToken")
2102
+ }, !0), t.method = (t.method || this.defaults.method || "get").toLowerCase();
2103
+ let a = i && L.merge(i.common, i[t.method]);
2104
+ i && L.forEach([
2105
+ "delete",
2106
+ "get",
2107
+ "head",
2108
+ "post",
2109
+ "put",
2110
+ "patch",
2111
+ "common"
2112
+ ], (e) => {
2113
+ delete i[e];
2114
+ }), t.headers = W.concat(a, i);
2115
+ let o = [], s = !0;
2116
+ this.interceptors.request.forEach(function(e) {
2117
+ if (typeof e.runWhen == "function" && e.runWhen(t) === !1) return;
2118
+ s &&= e.synchronous;
2119
+ let n = t.transitional || Ht;
2120
+ n && n.legacyInterceptorReqResOrdering ? o.unshift(e.fulfilled, e.rejected) : o.push(e.fulfilled, e.rejected);
2121
+ });
2122
+ let c = [];
2123
+ this.interceptors.response.forEach(function(e) {
2124
+ c.push(e.fulfilled, e.rejected);
2125
+ });
2126
+ let l, u = 0, d;
2127
+ if (!s) {
2128
+ let e = [Jn.bind(this), void 0];
2129
+ for (e.unshift(...o), e.push(...c), d = e.length, l = Promise.resolve(t); u < d;) l = l.then(e[u++], e[u++]);
2130
+ return l;
2131
+ }
2132
+ d = o.length;
2133
+ let f = t;
2134
+ for (; u < d;) {
2135
+ let e = o[u++], t = o[u++];
2136
+ try {
2137
+ f = e(f);
2138
+ } catch (e) {
2139
+ t.call(this, e);
2140
+ break;
2141
+ }
2142
+ }
2143
+ try {
2144
+ l = Jn.call(this, f);
2145
+ } catch (e) {
2146
+ return Promise.reject(e);
2147
+ }
2148
+ for (u = 0, d = c.length; u < d;) l = l.then(c[u++], c[u++]);
2149
+ return l;
2150
+ }
2151
+ getUri(e) {
2152
+ return e = q(this.defaults, e), Bt(Tn(e.baseURL, e.url, e.allowAbsoluteUrls), e.params, e.paramsSerializer);
2153
+ }
2154
+ };
2155
+ L.forEach([
2156
+ "delete",
2157
+ "get",
2158
+ "head",
2159
+ "options"
2160
+ ], function(e) {
2161
+ Q.prototype[e] = function(t, n) {
2162
+ return this.request(q(n || {}, {
2163
+ method: e,
2164
+ url: t,
2165
+ data: (n || {}).data
2166
+ }));
2167
+ };
2168
+ }), L.forEach([
2169
+ "post",
2170
+ "put",
2171
+ "patch"
2172
+ ], function(e) {
2173
+ function t(t) {
2174
+ return function(n, r, i) {
2175
+ return this.request(q(i || {}, {
2176
+ method: e,
2177
+ headers: t ? { "Content-Type": "multipart/form-data" } : {},
2178
+ url: n,
2179
+ data: r
2180
+ }));
2181
+ };
2182
+ }
2183
+ Q.prototype[e] = t(), Q.prototype[e + "Form"] = t(!0);
2184
+ });
2185
+ //#endregion
2186
+ //#region node_modules/axios/lib/cancel/CancelToken.js
2187
+ var Qn = class e {
2188
+ constructor(e) {
2189
+ if (typeof e != "function") throw TypeError("executor must be a function.");
2190
+ let t;
2191
+ this.promise = new Promise(function(e) {
2192
+ t = e;
2193
+ });
2194
+ let n = this;
2195
+ this.promise.then((e) => {
2196
+ if (!n._listeners) return;
2197
+ let t = n._listeners.length;
2198
+ for (; t-- > 0;) n._listeners[t](e);
2199
+ n._listeners = null;
2200
+ }), this.promise.then = (e) => {
2201
+ let t, r = new Promise((e) => {
2202
+ n.subscribe(e), t = e;
2203
+ }).then(e);
2204
+ return r.cancel = function() {
2205
+ n.unsubscribe(t);
2206
+ }, r;
2207
+ }, e(function(e, r, i) {
2208
+ n.reason || (n.reason = new G(e, r, i), t(n.reason));
2209
+ });
2210
+ }
2211
+ throwIfRequested() {
2212
+ if (this.reason) throw this.reason;
2213
+ }
2214
+ subscribe(e) {
2215
+ if (this.reason) {
2216
+ e(this.reason);
2217
+ return;
2218
+ }
2219
+ this._listeners ? this._listeners.push(e) : this._listeners = [e];
2220
+ }
2221
+ unsubscribe(e) {
2222
+ if (!this._listeners) return;
2223
+ let t = this._listeners.indexOf(e);
2224
+ t !== -1 && this._listeners.splice(t, 1);
2225
+ }
2226
+ toAbortSignal() {
2227
+ let e = new AbortController(), t = (t) => {
2228
+ e.abort(t);
2229
+ };
2230
+ return this.subscribe(t), e.signal.unsubscribe = () => this.unsubscribe(t), e.signal;
2231
+ }
2232
+ static source() {
2233
+ let t;
2234
+ return {
2235
+ token: new e(function(e) {
2236
+ t = e;
2237
+ }),
2238
+ cancel: t
2239
+ };
2240
+ }
2241
+ };
2242
+ //#endregion
2243
+ //#region node_modules/axios/lib/helpers/spread.js
2244
+ function $n(e) {
2245
+ return function(t) {
2246
+ return e.apply(null, t);
2247
+ };
2248
+ }
2249
+ //#endregion
2250
+ //#region node_modules/axios/lib/helpers/isAxiosError.js
2251
+ function er(e) {
2252
+ return L.isObject(e) && e.isAxiosError === !0;
2253
+ }
2254
+ //#endregion
2255
+ //#region node_modules/axios/lib/helpers/HttpStatusCode.js
2256
+ var tr = {
2257
+ Continue: 100,
2258
+ SwitchingProtocols: 101,
2259
+ Processing: 102,
2260
+ EarlyHints: 103,
2261
+ Ok: 200,
2262
+ Created: 201,
2263
+ Accepted: 202,
2264
+ NonAuthoritativeInformation: 203,
2265
+ NoContent: 204,
2266
+ ResetContent: 205,
2267
+ PartialContent: 206,
2268
+ MultiStatus: 207,
2269
+ AlreadyReported: 208,
2270
+ ImUsed: 226,
2271
+ MultipleChoices: 300,
2272
+ MovedPermanently: 301,
2273
+ Found: 302,
2274
+ SeeOther: 303,
2275
+ NotModified: 304,
2276
+ UseProxy: 305,
2277
+ Unused: 306,
2278
+ TemporaryRedirect: 307,
2279
+ PermanentRedirect: 308,
2280
+ BadRequest: 400,
2281
+ Unauthorized: 401,
2282
+ PaymentRequired: 402,
2283
+ Forbidden: 403,
2284
+ NotFound: 404,
2285
+ MethodNotAllowed: 405,
2286
+ NotAcceptable: 406,
2287
+ ProxyAuthenticationRequired: 407,
2288
+ RequestTimeout: 408,
2289
+ Conflict: 409,
2290
+ Gone: 410,
2291
+ LengthRequired: 411,
2292
+ PreconditionFailed: 412,
2293
+ PayloadTooLarge: 413,
2294
+ UriTooLong: 414,
2295
+ UnsupportedMediaType: 415,
2296
+ RangeNotSatisfiable: 416,
2297
+ ExpectationFailed: 417,
2298
+ ImATeapot: 418,
2299
+ MisdirectedRequest: 421,
2300
+ UnprocessableEntity: 422,
2301
+ Locked: 423,
2302
+ FailedDependency: 424,
2303
+ TooEarly: 425,
2304
+ UpgradeRequired: 426,
2305
+ PreconditionRequired: 428,
2306
+ TooManyRequests: 429,
2307
+ RequestHeaderFieldsTooLarge: 431,
2308
+ UnavailableForLegalReasons: 451,
2309
+ InternalServerError: 500,
2310
+ NotImplemented: 501,
2311
+ BadGateway: 502,
2312
+ ServiceUnavailable: 503,
2313
+ GatewayTimeout: 504,
2314
+ HttpVersionNotSupported: 505,
2315
+ VariantAlsoNegotiates: 506,
2316
+ InsufficientStorage: 507,
2317
+ LoopDetected: 508,
2318
+ NotExtended: 510,
2319
+ NetworkAuthenticationRequired: 511,
2320
+ WebServerIsDown: 521,
2321
+ ConnectionTimedOut: 522,
2322
+ OriginIsUnreachable: 523,
2323
+ TimeoutOccurred: 524,
2324
+ SslHandshakeFailed: 525,
2325
+ InvalidSslCertificate: 526
2326
+ };
2327
+ Object.entries(tr).forEach(([e, t]) => {
2328
+ tr[t] = e;
2329
+ });
2330
+ //#endregion
2331
+ //#region node_modules/axios/lib/axios.js
2332
+ function nr(e) {
2333
+ let t = new Q(e), n = Ae(Q.prototype.request, t);
2334
+ return L.extend(n, Q.prototype, t, { allOwnKeys: !0 }), L.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(t) {
2335
+ return nr(q(e, t));
2336
+ }, n;
2337
+ }
2338
+ var $ = nr(V);
2339
+ $.Axios = Q, $.CanceledError = G, $.CancelToken = Qn, $.isCancel = mn, $.VERSION = Yn, $.toFormData = z, $.AxiosError = R, $.Cancel = $.CanceledError, $.all = function(e) {
2340
+ return Promise.all(e);
2341
+ }, $.spread = $n, $.isAxiosError = er, $.mergeConfig = q, $.AxiosHeaders = W, $.formToJSON = (e) => $t(L.isHTMLForm(e) ? new FormData(e) : e), $.getAdapter = Kn.getAdapter, $.HttpStatusCode = tr, $.default = $;
2342
+ //#endregion
2343
+ //#region src/network/axios.ts
2344
+ var rr = $.create({});
2345
+ console.warn("Attempting to create the axios singleton, but BACKEND_BASE_URL is empty! You need to set it up with axiosInstance.defaults.baseURL = \"...\"");
2346
+ //#endregion
2347
+ //#region src/network/apiClient.ts
2348
+ function ir(e, t) {
2349
+ return Oe({
2350
+ queryKey: [e],
2351
+ queryFn: async () => {
2352
+ if (e.value) return (await rr.get(e.value)).data;
2353
+ },
2354
+ enabled: () => !!e.value,
2355
+ ...t
2356
+ });
2357
+ }
2358
+ function ar(e, t) {
2359
+ return ke({
2360
+ mutationFn: async (t) => {
2361
+ if (e.value) return (await rr.post(e.value, t)).data;
2362
+ },
2363
+ ...t
2364
+ });
2365
+ }
2366
+ var or = {
2367
+ query: ir,
2368
+ mutation: ar
2369
+ };
2370
+ //#endregion
2371
+ //#region src/network/typedApiClient.ts
2372
+ function sr(e, t) {
2373
+ e.setConfig({ axios: t ?? rr });
2374
+ }
2375
+ function cr(e, t, n) {
2376
+ return Oe({
2377
+ queryKey: [e.name, t],
2378
+ queryFn: async () => {
2379
+ if (!t.value) return;
2380
+ let n = await e(t.value);
2381
+ if (n && n.isAxiosError) throw n;
2382
+ return n.data;
2383
+ },
2384
+ enabled: () => !!t.value,
2385
+ ...n
2386
+ });
2387
+ }
2388
+ function lr(e, t) {
2389
+ return ke({
2390
+ mutationFn: async (t) => {
2391
+ let n = await e(t);
2392
+ if (n && n.isAxiosError) throw n;
2393
+ return n.data;
2394
+ },
2395
+ ...t
2396
+ });
2397
+ }
2398
+ var ur = {
2399
+ query: cr,
2400
+ mutation: lr,
2401
+ setupOpenApiClient: sr
2402
+ };
2403
+ //#endregion
2404
+ export { or as n, rr as r, ur as t };