@itwin/ecschema-rpcinterface-tests 5.7.0-dev.16 → 5.7.0-dev.17
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.
- package/lib/dist/bundled-tests.js +1362 -1026
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +16 -16
|
@@ -785,7 +785,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
785
785
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
786
786
|
/* harmony export */ AxiosRestClient: () => (/* binding */ AxiosRestClient)
|
|
787
787
|
/* harmony export */ });
|
|
788
|
-
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
788
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/axios.js");
|
|
789
789
|
/* harmony import */ var _internal___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../internal/ */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@6.0.2/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/index.js");
|
|
790
790
|
/* harmony import */ var _types_RestClient__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../types/RestClient */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@6.0.2/node_modules/@itwin/imodels-client-management/lib/esm/base/types/RestClient.js");
|
|
791
791
|
/* harmony import */ var _AxiosResponseHeadersAdapter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AxiosResponseHeadersAdapter */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@6.0.2/node_modules/@itwin/imodels-client-management/lib/esm/base/axios/AxiosResponseHeadersAdapter.js");
|
|
@@ -887,7 +887,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
887
887
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
888
888
|
/* harmony export */ AxiosRetryPolicy: () => (/* binding */ AxiosRetryPolicy)
|
|
889
889
|
/* harmony export */ });
|
|
890
|
-
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
890
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/index.js");
|
|
891
891
|
/* harmony import */ var _Constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../Constants */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@6.0.2/node_modules/@itwin/imodels-client-management/lib/esm/Constants.js");
|
|
892
892
|
/*---------------------------------------------------------------------------------------------
|
|
893
893
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -4435,7 +4435,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4435
4435
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4436
4436
|
/* harmony export */ BaseClient: () => (/* binding */ BaseClient)
|
|
4437
4437
|
/* harmony export */ });
|
|
4438
|
-
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
4438
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/axios.js");
|
|
4439
4439
|
|
|
4440
4440
|
class BaseClient {
|
|
4441
4441
|
constructor(url) {
|
|
@@ -29820,6 +29820,8 @@ class OverridesMap extends Map {
|
|
|
29820
29820
|
_overrideFromProps;
|
|
29821
29821
|
// This is required for mock framework used by ui libraries, which otherwise try to clone this as a standard Map.
|
|
29822
29822
|
get [Symbol.toStringTag]() { return "OverridesMap"; }
|
|
29823
|
+
/** Maps Id64String to its index in the JSON props array, avoiding O(n) scans in set/delete. */
|
|
29824
|
+
#indexById = new Map();
|
|
29823
29825
|
constructor(_json, _arrayKey, _event, _idFromProps, _overrideToProps, _overrideFromProps) {
|
|
29824
29826
|
super();
|
|
29825
29827
|
this._json = _json;
|
|
@@ -29843,10 +29845,21 @@ class OverridesMap extends Map {
|
|
|
29843
29845
|
this._event.raiseEvent(id, undefined);
|
|
29844
29846
|
if (!super.delete(id))
|
|
29845
29847
|
return false;
|
|
29846
|
-
const
|
|
29847
|
-
|
|
29848
|
-
|
|
29849
|
-
|
|
29848
|
+
const array = this._array;
|
|
29849
|
+
const index = this.#indexById.get(id);
|
|
29850
|
+
if (array && undefined !== index) {
|
|
29851
|
+
const lastIndex = array.length - 1;
|
|
29852
|
+
if (index < lastIndex) {
|
|
29853
|
+
// Swap the last element into the removed slot to avoid O(n) splice + index fixup.
|
|
29854
|
+
const lastProps = array[lastIndex];
|
|
29855
|
+
array[index] = lastProps;
|
|
29856
|
+
const lastId = this._idFromProps(lastProps);
|
|
29857
|
+
if (undefined !== lastId) {
|
|
29858
|
+
this.#indexById.set(lastId, index);
|
|
29859
|
+
}
|
|
29860
|
+
}
|
|
29861
|
+
array.length = lastIndex;
|
|
29862
|
+
this.#indexById.delete(id);
|
|
29850
29863
|
}
|
|
29851
29864
|
return true;
|
|
29852
29865
|
}
|
|
@@ -29857,13 +29870,15 @@ class OverridesMap extends Map {
|
|
|
29857
29870
|
}
|
|
29858
29871
|
populate() {
|
|
29859
29872
|
super.clear();
|
|
29873
|
+
this.#indexById.clear();
|
|
29860
29874
|
const ovrs = this._array;
|
|
29861
29875
|
if (!ovrs)
|
|
29862
29876
|
return;
|
|
29863
|
-
for (
|
|
29864
|
-
const id = this._idFromProps(
|
|
29877
|
+
for (let i = 0; i < ovrs.length; i++) {
|
|
29878
|
+
const id = this._idFromProps(ovrs[i]);
|
|
29865
29879
|
if (undefined !== id && _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.isValidId64(id)) {
|
|
29866
|
-
|
|
29880
|
+
this.#indexById.set(id, i);
|
|
29881
|
+
const ovr = this._overrideFromProps(ovrs[i]);
|
|
29867
29882
|
if (ovr)
|
|
29868
29883
|
super.set(id, ovr);
|
|
29869
29884
|
}
|
|
@@ -29873,22 +29888,16 @@ class OverridesMap extends Map {
|
|
|
29873
29888
|
return _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.JsonUtils.asArray(this._json[this._arrayKey]);
|
|
29874
29889
|
}
|
|
29875
29890
|
findOrAllocateIndex(id) {
|
|
29876
|
-
const
|
|
29877
|
-
if (undefined !==
|
|
29878
|
-
return
|
|
29891
|
+
const existing = this.#indexById.get(id);
|
|
29892
|
+
if (undefined !== existing) {
|
|
29893
|
+
return existing;
|
|
29894
|
+
}
|
|
29879
29895
|
let ovrs = this._array;
|
|
29880
29896
|
if (!ovrs)
|
|
29881
29897
|
ovrs = this._json[this._arrayKey] = [];
|
|
29882
|
-
|
|
29883
|
-
|
|
29884
|
-
|
|
29885
|
-
const ovrs = this._array;
|
|
29886
|
-
if (!ovrs)
|
|
29887
|
-
return undefined;
|
|
29888
|
-
for (let i = 0; i < ovrs.length; i++)
|
|
29889
|
-
if (this._idFromProps(ovrs[i]) === id)
|
|
29890
|
-
return i;
|
|
29891
|
-
return undefined;
|
|
29898
|
+
const newIndex = ovrs.length;
|
|
29899
|
+
this.#indexById.set(id, newIndex);
|
|
29900
|
+
return newIndex;
|
|
29892
29901
|
}
|
|
29893
29902
|
}
|
|
29894
29903
|
/** Provides access to the settings defined by a [[DisplayStyle]] or [[DisplayStyleState]], and ensures that
|
|
@@ -152119,17 +152128,38 @@ class RealityTileLoader {
|
|
|
152119
152128
|
}
|
|
152120
152129
|
async loadGeometryFromStream(tile, streamBuffer, system) {
|
|
152121
152130
|
const format = this._getFormat(streamBuffer);
|
|
152122
|
-
if (format !== _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.B3dm)
|
|
152131
|
+
if (format !== _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.B3dm && format !== _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.Gltf) {
|
|
152123
152132
|
return {};
|
|
152133
|
+
}
|
|
152124
152134
|
const { is3d, yAxisUp, iModel, modelId } = tile.realityRoot;
|
|
152125
|
-
|
|
152126
|
-
|
|
152127
|
-
reader.defaultWrapMode = _common_gltf_GltfSchema__WEBPACK_IMPORTED_MODULE_6__.GltfWrapMode.ClampToEdge;
|
|
152135
|
+
let reader;
|
|
152136
|
+
// Create final transform from tree's iModelTransform and transformToRoot
|
|
152128
152137
|
let transform = tile.tree.iModelTransform;
|
|
152129
152138
|
if (tile.transformToRoot) {
|
|
152130
152139
|
transform = transform.multiplyTransformTransform(tile.transformToRoot);
|
|
152131
152140
|
}
|
|
152132
|
-
|
|
152141
|
+
switch (format) {
|
|
152142
|
+
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.Gltf:
|
|
152143
|
+
const props = createReaderPropsWithBaseUrl(streamBuffer, yAxisUp, tile.tree.baseUrl);
|
|
152144
|
+
if (props) {
|
|
152145
|
+
reader = new _tile_internal__WEBPACK_IMPORTED_MODULE_7__.GltfGraphicsReader(props, {
|
|
152146
|
+
iModel,
|
|
152147
|
+
gltf: props.glTF,
|
|
152148
|
+
contentRange: tile.contentRange,
|
|
152149
|
+
transform: tile.transformToRoot,
|
|
152150
|
+
hasChildren: !tile.isLeaf,
|
|
152151
|
+
pickableOptions: { id: modelId },
|
|
152152
|
+
idMap: this.getBatchIdMap()
|
|
152153
|
+
});
|
|
152154
|
+
}
|
|
152155
|
+
break;
|
|
152156
|
+
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.B3dm:
|
|
152157
|
+
reader = _tile_internal__WEBPACK_IMPORTED_MODULE_7__.B3dmReader.create(streamBuffer, iModel, modelId, is3d, tile.contentRange, system, yAxisUp, tile.isLeaf, tile.center, tile.transformToRoot, undefined, this.getBatchIdMap());
|
|
152158
|
+
if (reader)
|
|
152159
|
+
reader.defaultWrapMode = _common_gltf_GltfSchema__WEBPACK_IMPORTED_MODULE_6__.GltfWrapMode.ClampToEdge;
|
|
152160
|
+
break;
|
|
152161
|
+
}
|
|
152162
|
+
const geom = await reader?.readGltfAndCreateGeometry(transform);
|
|
152133
152163
|
// See RealityTileTree.reprojectAndResolveChildren for how reprojectionTransform is calculated
|
|
152134
152164
|
const xForm = tile.reprojectionTransform;
|
|
152135
152165
|
if (tile.tree.reprojectGeometry && geom?.polyfaces && xForm) {
|
|
@@ -161078,7 +161108,7 @@ class GltfReaderProps {
|
|
|
161078
161108
|
}
|
|
161079
161109
|
/** The GltfMeshData contains the raw GLTF mesh data. If the data is suitable to create a [[RealityMesh]] directly, basically in the quantized format produced by
|
|
161080
161110
|
* ContextCapture, then a RealityMesh is created directly from this data. Otherwise, the mesh primitive is populated from the raw data and a MeshPrimitive
|
|
161081
|
-
* is generated. The
|
|
161111
|
+
* is generated. The MeshPrimitive path is much less efficient but should be rarely used.
|
|
161082
161112
|
*
|
|
161083
161113
|
* @internal
|
|
161084
161114
|
*/
|
|
@@ -161365,7 +161395,8 @@ class GltfReader {
|
|
|
161365
161395
|
}),
|
|
161366
161396
|
};
|
|
161367
161397
|
}
|
|
161368
|
-
readGltfAndCreateGeometry(transformToRoot, needNormals = false, needParams = false) {
|
|
161398
|
+
async readGltfAndCreateGeometry(transformToRoot, needNormals = false, needParams = false) {
|
|
161399
|
+
await this.resolveResources();
|
|
161369
161400
|
const transformStack = new TransformStack(this.getTileTransform(transformToRoot));
|
|
161370
161401
|
const polyfaces = [];
|
|
161371
161402
|
for (const nodeKey of this._sceneNodes) {
|
|
@@ -161600,9 +161631,18 @@ class GltfReader {
|
|
|
161600
161631
|
}
|
|
161601
161632
|
}
|
|
161602
161633
|
polyfaceFromGltfMesh(mesh, transform, needNormals, needParams) {
|
|
161603
|
-
if (
|
|
161634
|
+
if (mesh.pointQParams && mesh.points && mesh.indices)
|
|
161635
|
+
return this.polyfaceFromQuantizedData(mesh.pointQParams, mesh.points, mesh.indices, mesh.normals, mesh.uvQParams, mesh.uvs, transform, needNormals, needParams);
|
|
161636
|
+
const meshPrim = mesh.primitive;
|
|
161637
|
+
const triangles = meshPrim.triangles;
|
|
161638
|
+
const points = meshPrim.points;
|
|
161639
|
+
if (!triangles || triangles.isEmpty || points.length === 0)
|
|
161604
161640
|
return undefined;
|
|
161605
|
-
|
|
161641
|
+
// This will likely only be the case for Draco-compressed meshes-- see where readDracoMeshPrimitive is called within readMeshPrimitive
|
|
161642
|
+
// That is the only case where mesh.primitive is populated but mesh.pointQParams, mesh.points, & mesh.indices are not
|
|
161643
|
+
return this.polyfaceFromMeshPrimitive(triangles, points, meshPrim.normals, meshPrim.uvParams, transform, needNormals, needParams);
|
|
161644
|
+
}
|
|
161645
|
+
polyfaceFromQuantizedData(pointQParams, points, indices, normals, uvQParams, uvs, transform, needNormals, needParams) {
|
|
161606
161646
|
const includeNormals = needNormals && undefined !== normals;
|
|
161607
161647
|
const includeParams = needParams && undefined !== uvQParams && undefined !== uvs;
|
|
161608
161648
|
const polyface = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.IndexedPolyface.create(includeNormals, includeParams);
|
|
@@ -161630,6 +161670,46 @@ class GltfReader {
|
|
|
161630
161670
|
}
|
|
161631
161671
|
return polyface;
|
|
161632
161672
|
}
|
|
161673
|
+
polyfaceFromMeshPrimitive(triangles, points, normals, uvParams, transform, needNormals, needParams) {
|
|
161674
|
+
const includeNormals = needNormals && normals.length > 0;
|
|
161675
|
+
const includeParams = needParams && uvParams.length > 0;
|
|
161676
|
+
const polyface = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.IndexedPolyface.create(includeNormals, includeParams);
|
|
161677
|
+
if (points instanceof _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.QPoint3dList) {
|
|
161678
|
+
for (let i = 0; i < points.length; i++) {
|
|
161679
|
+
const point = points.unquantize(i);
|
|
161680
|
+
if (transform)
|
|
161681
|
+
transform.multiplyPoint3d(point, point);
|
|
161682
|
+
polyface.addPoint(point);
|
|
161683
|
+
}
|
|
161684
|
+
}
|
|
161685
|
+
else {
|
|
161686
|
+
const center = points.range.center;
|
|
161687
|
+
for (const pt of points) {
|
|
161688
|
+
const point = pt.plus(center);
|
|
161689
|
+
if (transform)
|
|
161690
|
+
transform.multiplyPoint3d(point, point);
|
|
161691
|
+
polyface.addPoint(point);
|
|
161692
|
+
}
|
|
161693
|
+
}
|
|
161694
|
+
if (includeNormals)
|
|
161695
|
+
for (const normal of normals)
|
|
161696
|
+
polyface.addNormal(_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.OctEncodedNormal.decodeValue(normal.value));
|
|
161697
|
+
if (includeParams)
|
|
161698
|
+
for (const uv of uvParams)
|
|
161699
|
+
polyface.addParam(uv);
|
|
161700
|
+
const indices = triangles.indices;
|
|
161701
|
+
let j = 0;
|
|
161702
|
+
for (const index of indices) {
|
|
161703
|
+
polyface.addPointIndex(index);
|
|
161704
|
+
if (includeNormals)
|
|
161705
|
+
polyface.addNormalIndex(index);
|
|
161706
|
+
if (includeParams)
|
|
161707
|
+
polyface.addParamIndex(index);
|
|
161708
|
+
if (0 === (++j % 3))
|
|
161709
|
+
polyface.terminateFacet();
|
|
161710
|
+
}
|
|
161711
|
+
return polyface;
|
|
161712
|
+
}
|
|
161633
161713
|
// ###TODO what is the actual type of `json`?
|
|
161634
161714
|
getBufferView(json, accessorName) {
|
|
161635
161715
|
try {
|
|
@@ -313137,9 +313217,9 @@ function _unsupportedIterableToArray(r, a) {
|
|
|
313137
313217
|
|
|
313138
313218
|
/***/ }),
|
|
313139
313219
|
|
|
313140
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313220
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/index.js":
|
|
313141
313221
|
/*!*************************************************************************************!*\
|
|
313142
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313222
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/index.js ***!
|
|
313143
313223
|
\*************************************************************************************/
|
|
313144
313224
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
313145
313225
|
|
|
@@ -313164,7 +313244,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313164
313244
|
/* harmony export */ spread: () => (/* binding */ spread),
|
|
313165
313245
|
/* harmony export */ toFormData: () => (/* binding */ toFormData)
|
|
313166
313246
|
/* harmony export */ });
|
|
313167
|
-
/* harmony import */ var _lib_axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313247
|
+
/* harmony import */ var _lib_axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/axios.js");
|
|
313168
313248
|
|
|
313169
313249
|
|
|
313170
313250
|
// This module is intended to unwrap Axios default export as named.
|
|
@@ -313186,7 +313266,7 @@ const {
|
|
|
313186
313266
|
HttpStatusCode,
|
|
313187
313267
|
formToJSON,
|
|
313188
313268
|
getAdapter,
|
|
313189
|
-
mergeConfig
|
|
313269
|
+
mergeConfig,
|
|
313190
313270
|
} = _lib_axios_js__WEBPACK_IMPORTED_MODULE_0__["default"];
|
|
313191
313271
|
|
|
313192
313272
|
|
|
@@ -313194,9 +313274,9 @@ const {
|
|
|
313194
313274
|
|
|
313195
313275
|
/***/ }),
|
|
313196
313276
|
|
|
313197
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313277
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/adapters.js":
|
|
313198
313278
|
/*!*****************************************************************************************************!*\
|
|
313199
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313279
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/adapters.js ***!
|
|
313200
313280
|
\*****************************************************************************************************/
|
|
313201
313281
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
313202
313282
|
|
|
@@ -313205,11 +313285,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313205
313285
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
313206
313286
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
313207
313287
|
/* harmony export */ });
|
|
313208
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313209
|
-
/* harmony import */ var _http_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./http.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313210
|
-
/* harmony import */ var _xhr_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./xhr.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313211
|
-
/* harmony import */ var _fetch_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fetch.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313212
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313288
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
313289
|
+
/* harmony import */ var _http_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./http.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/null.js");
|
|
313290
|
+
/* harmony import */ var _xhr_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./xhr.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/xhr.js");
|
|
313291
|
+
/* harmony import */ var _fetch_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fetch.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/fetch.js");
|
|
313292
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js");
|
|
313213
313293
|
|
|
313214
313294
|
|
|
313215
313295
|
|
|
@@ -313222,7 +313302,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313222
313302
|
* - `http` for Node.js
|
|
313223
313303
|
* - `xhr` for browsers
|
|
313224
313304
|
* - `fetch` for fetch API-based requests
|
|
313225
|
-
*
|
|
313305
|
+
*
|
|
313226
313306
|
* @type {Object<string, Function|Object>}
|
|
313227
313307
|
*/
|
|
313228
313308
|
const knownAdapters = {
|
|
@@ -313230,7 +313310,7 @@ const knownAdapters = {
|
|
|
313230
313310
|
xhr: _xhr_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
313231
313311
|
fetch: {
|
|
313232
313312
|
get: _fetch_js__WEBPACK_IMPORTED_MODULE_2__.getFetch,
|
|
313233
|
-
}
|
|
313313
|
+
},
|
|
313234
313314
|
};
|
|
313235
313315
|
|
|
313236
313316
|
// Assign adapter names for easier debugging and identification
|
|
@@ -313247,7 +313327,7 @@ _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(knownAdapters, (fn, va
|
|
|
313247
313327
|
|
|
313248
313328
|
/**
|
|
313249
313329
|
* Render a rejection reason string for unknown or unsupported adapters
|
|
313250
|
-
*
|
|
313330
|
+
*
|
|
313251
313331
|
* @param {string} reason
|
|
313252
313332
|
* @returns {string}
|
|
313253
313333
|
*/
|
|
@@ -313255,17 +313335,18 @@ const renderReason = (reason) => `- ${reason}`;
|
|
|
313255
313335
|
|
|
313256
313336
|
/**
|
|
313257
313337
|
* Check if the adapter is resolved (function, null, or false)
|
|
313258
|
-
*
|
|
313338
|
+
*
|
|
313259
313339
|
* @param {Function|null|false} adapter
|
|
313260
313340
|
* @returns {boolean}
|
|
313261
313341
|
*/
|
|
313262
|
-
const isResolvedHandle = (adapter) =>
|
|
313342
|
+
const isResolvedHandle = (adapter) =>
|
|
313343
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].isFunction(adapter) || adapter === null || adapter === false;
|
|
313263
313344
|
|
|
313264
313345
|
/**
|
|
313265
313346
|
* Get the first suitable adapter from the provided list.
|
|
313266
313347
|
* Tries each adapter in order until a supported one is found.
|
|
313267
313348
|
* Throws an AxiosError if no adapter is suitable.
|
|
313268
|
-
*
|
|
313349
|
+
*
|
|
313269
313350
|
* @param {Array<string|Function>|string|Function} adapters - Adapter(s) by name or function.
|
|
313270
313351
|
* @param {Object} config - Axios request configuration
|
|
313271
313352
|
* @throws {AxiosError} If no suitable adapter is available
|
|
@@ -313302,14 +313383,17 @@ function getAdapter(adapters, config) {
|
|
|
313302
313383
|
}
|
|
313303
313384
|
|
|
313304
313385
|
if (!adapter) {
|
|
313305
|
-
const reasons = Object.entries(rejectedReasons)
|
|
313306
|
-
|
|
313386
|
+
const reasons = Object.entries(rejectedReasons).map(
|
|
313387
|
+
([id, state]) =>
|
|
313388
|
+
`adapter ${id} ` +
|
|
313307
313389
|
(state === false ? 'is not supported by the environment' : 'is not available in the build')
|
|
313308
|
-
|
|
313390
|
+
);
|
|
313309
313391
|
|
|
313310
|
-
let s = length
|
|
313311
|
-
|
|
313312
|
-
|
|
313392
|
+
let s = length
|
|
313393
|
+
? reasons.length > 1
|
|
313394
|
+
? 'since :\n' + reasons.map(renderReason).join('\n')
|
|
313395
|
+
: ' ' + renderReason(reasons[0])
|
|
313396
|
+
: 'as no adapter specified';
|
|
313313
313397
|
|
|
313314
313398
|
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__["default"](
|
|
313315
313399
|
`There is no suitable adapter to dispatch the request ` + s,
|
|
@@ -313334,15 +313418,15 @@ function getAdapter(adapters, config) {
|
|
|
313334
313418
|
* Exposes all known adapters
|
|
313335
313419
|
* @type {Object<string, Function|Object>}
|
|
313336
313420
|
*/
|
|
313337
|
-
adapters: knownAdapters
|
|
313421
|
+
adapters: knownAdapters,
|
|
313338
313422
|
});
|
|
313339
313423
|
|
|
313340
313424
|
|
|
313341
313425
|
/***/ }),
|
|
313342
313426
|
|
|
313343
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313427
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/fetch.js":
|
|
313344
313428
|
/*!**************************************************************************************************!*\
|
|
313345
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313429
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/fetch.js ***!
|
|
313346
313430
|
\**************************************************************************************************/
|
|
313347
313431
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
313348
313432
|
|
|
@@ -313352,15 +313436,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313352
313436
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
313353
313437
|
/* harmony export */ getFetch: () => (/* binding */ getFetch)
|
|
313354
313438
|
/* harmony export */ });
|
|
313355
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313356
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313357
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313358
|
-
/* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/composeSignals.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313359
|
-
/* harmony import */ var _helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/trackStream.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313360
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313361
|
-
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313362
|
-
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313363
|
-
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313439
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/index.js");
|
|
313440
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
313441
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js");
|
|
313442
|
+
/* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/composeSignals.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/composeSignals.js");
|
|
313443
|
+
/* harmony import */ var _helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/trackStream.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/trackStream.js");
|
|
313444
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
313445
|
+
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/progressEventReducer.js");
|
|
313446
|
+
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/resolveConfig.js");
|
|
313447
|
+
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/settle.js");
|
|
313364
313448
|
|
|
313365
313449
|
|
|
313366
313450
|
|
|
@@ -313373,31 +313457,33 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313373
313457
|
|
|
313374
313458
|
const DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
313375
313459
|
|
|
313376
|
-
const {isFunction} = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"];
|
|
313460
|
+
const { isFunction } = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"];
|
|
313377
313461
|
|
|
313378
|
-
const globalFetchAPI = (({Request, Response}) => ({
|
|
313379
|
-
Request,
|
|
313462
|
+
const globalFetchAPI = (({ Request, Response }) => ({
|
|
313463
|
+
Request,
|
|
313464
|
+
Response,
|
|
313380
313465
|
}))(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].global);
|
|
313381
313466
|
|
|
313382
|
-
const {
|
|
313383
|
-
ReadableStream, TextEncoder
|
|
313384
|
-
} = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].global;
|
|
313385
|
-
|
|
313467
|
+
const { ReadableStream, TextEncoder } = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].global;
|
|
313386
313468
|
|
|
313387
313469
|
const test = (fn, ...args) => {
|
|
313388
313470
|
try {
|
|
313389
313471
|
return !!fn(...args);
|
|
313390
313472
|
} catch (e) {
|
|
313391
|
-
return false
|
|
313473
|
+
return false;
|
|
313392
313474
|
}
|
|
313393
|
-
}
|
|
313475
|
+
};
|
|
313394
313476
|
|
|
313395
313477
|
const factory = (env) => {
|
|
313396
|
-
env = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].merge.call(
|
|
313397
|
-
|
|
313398
|
-
|
|
313478
|
+
env = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].merge.call(
|
|
313479
|
+
{
|
|
313480
|
+
skipUndefined: true,
|
|
313481
|
+
},
|
|
313482
|
+
globalFetchAPI,
|
|
313483
|
+
env
|
|
313484
|
+
);
|
|
313399
313485
|
|
|
313400
|
-
const {fetch: envFetch, Request, Response} = env;
|
|
313486
|
+
const { fetch: envFetch, Request, Response } = env;
|
|
313401
313487
|
const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function';
|
|
313402
313488
|
const isRequestSupported = isFunction(Request);
|
|
313403
313489
|
const isResponseSupported = isFunction(Response);
|
|
@@ -313408,46 +313494,61 @@ const factory = (env) => {
|
|
|
313408
313494
|
|
|
313409
313495
|
const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream);
|
|
313410
313496
|
|
|
313411
|
-
const encodeText =
|
|
313412
|
-
|
|
313413
|
-
|
|
313414
|
-
|
|
313415
|
-
|
|
313416
|
-
|
|
313417
|
-
|
|
313418
|
-
|
|
313419
|
-
|
|
313420
|
-
|
|
313421
|
-
|
|
313422
|
-
|
|
313423
|
-
|
|
313424
|
-
|
|
313425
|
-
|
|
313426
|
-
|
|
313497
|
+
const encodeText =
|
|
313498
|
+
isFetchSupported &&
|
|
313499
|
+
(typeof TextEncoder === 'function'
|
|
313500
|
+
? (
|
|
313501
|
+
(encoder) => (str) =>
|
|
313502
|
+
encoder.encode(str)
|
|
313503
|
+
)(new TextEncoder())
|
|
313504
|
+
: async (str) => new Uint8Array(await new Request(str).arrayBuffer()));
|
|
313505
|
+
|
|
313506
|
+
const supportsRequestStream =
|
|
313507
|
+
isRequestSupported &&
|
|
313508
|
+
isReadableStreamSupported &&
|
|
313509
|
+
test(() => {
|
|
313510
|
+
let duplexAccessed = false;
|
|
313511
|
+
|
|
313512
|
+
const hasContentType = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_1__["default"].origin, {
|
|
313513
|
+
body: new ReadableStream(),
|
|
313514
|
+
method: 'POST',
|
|
313515
|
+
get duplex() {
|
|
313516
|
+
duplexAccessed = true;
|
|
313517
|
+
return 'half';
|
|
313518
|
+
},
|
|
313519
|
+
}).headers.has('Content-Type');
|
|
313427
313520
|
|
|
313428
|
-
|
|
313429
|
-
|
|
313521
|
+
return duplexAccessed && !hasContentType;
|
|
313522
|
+
});
|
|
313430
313523
|
|
|
313431
|
-
const supportsResponseStream =
|
|
313524
|
+
const supportsResponseStream =
|
|
313525
|
+
isResponseSupported &&
|
|
313526
|
+
isReadableStreamSupported &&
|
|
313432
313527
|
test(() => _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReadableStream(new Response('').body));
|
|
313433
313528
|
|
|
313434
313529
|
const resolvers = {
|
|
313435
|
-
stream: supportsResponseStream && ((res) => res.body)
|
|
313530
|
+
stream: supportsResponseStream && ((res) => res.body),
|
|
313436
313531
|
};
|
|
313437
313532
|
|
|
313438
|
-
isFetchSupported &&
|
|
313439
|
-
|
|
313440
|
-
|
|
313441
|
-
|
|
313533
|
+
isFetchSupported &&
|
|
313534
|
+
(() => {
|
|
313535
|
+
['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach((type) => {
|
|
313536
|
+
!resolvers[type] &&
|
|
313537
|
+
(resolvers[type] = (res, config) => {
|
|
313538
|
+
let method = res && res[type];
|
|
313442
313539
|
|
|
313443
|
-
|
|
313444
|
-
|
|
313445
|
-
|
|
313540
|
+
if (method) {
|
|
313541
|
+
return method.call(res);
|
|
313542
|
+
}
|
|
313446
313543
|
|
|
313447
|
-
|
|
313448
|
-
|
|
313449
|
-
|
|
313450
|
-
|
|
313544
|
+
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
|
|
313545
|
+
`Response type '${type}' is not supported`,
|
|
313546
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_NOT_SUPPORT,
|
|
313547
|
+
config
|
|
313548
|
+
);
|
|
313549
|
+
});
|
|
313550
|
+
});
|
|
313551
|
+
})();
|
|
313451
313552
|
|
|
313452
313553
|
const getBodyLength = async (body) => {
|
|
313453
313554
|
if (body == null) {
|
|
@@ -313477,13 +313578,13 @@ const factory = (env) => {
|
|
|
313477
313578
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(body)) {
|
|
313478
313579
|
return (await encodeText(body)).byteLength;
|
|
313479
313580
|
}
|
|
313480
|
-
}
|
|
313581
|
+
};
|
|
313481
313582
|
|
|
313482
313583
|
const resolveBodyLength = async (headers, body) => {
|
|
313483
313584
|
const length = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toFiniteNumber(headers.getContentLength());
|
|
313484
313585
|
|
|
313485
313586
|
return length == null ? getBodyLength(body) : length;
|
|
313486
|
-
}
|
|
313587
|
+
};
|
|
313487
313588
|
|
|
313488
313589
|
return async (config) => {
|
|
313489
313590
|
let {
|
|
@@ -313498,38 +313599,47 @@ const factory = (env) => {
|
|
|
313498
313599
|
responseType,
|
|
313499
313600
|
headers,
|
|
313500
313601
|
withCredentials = 'same-origin',
|
|
313501
|
-
fetchOptions
|
|
313602
|
+
fetchOptions,
|
|
313502
313603
|
} = (0,_helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__["default"])(config);
|
|
313503
313604
|
|
|
313504
313605
|
let _fetch = envFetch || fetch;
|
|
313505
313606
|
|
|
313506
313607
|
responseType = responseType ? (responseType + '').toLowerCase() : 'text';
|
|
313507
313608
|
|
|
313508
|
-
let composedSignal = (0,_helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__["default"])(
|
|
313609
|
+
let composedSignal = (0,_helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__["default"])(
|
|
313610
|
+
[signal, cancelToken && cancelToken.toAbortSignal()],
|
|
313611
|
+
timeout
|
|
313612
|
+
);
|
|
313509
313613
|
|
|
313510
313614
|
let request = null;
|
|
313511
313615
|
|
|
313512
|
-
const unsubscribe =
|
|
313513
|
-
composedSignal
|
|
313514
|
-
|
|
313616
|
+
const unsubscribe =
|
|
313617
|
+
composedSignal &&
|
|
313618
|
+
composedSignal.unsubscribe &&
|
|
313619
|
+
(() => {
|
|
313620
|
+
composedSignal.unsubscribe();
|
|
313621
|
+
});
|
|
313515
313622
|
|
|
313516
313623
|
let requestContentLength;
|
|
313517
313624
|
|
|
313518
313625
|
try {
|
|
313519
313626
|
if (
|
|
313520
|
-
onUploadProgress &&
|
|
313627
|
+
onUploadProgress &&
|
|
313628
|
+
supportsRequestStream &&
|
|
313629
|
+
method !== 'get' &&
|
|
313630
|
+
method !== 'head' &&
|
|
313521
313631
|
(requestContentLength = await resolveBodyLength(headers, data)) !== 0
|
|
313522
313632
|
) {
|
|
313523
313633
|
let _request = new Request(url, {
|
|
313524
313634
|
method: 'POST',
|
|
313525
313635
|
body: data,
|
|
313526
|
-
duplex:
|
|
313636
|
+
duplex: 'half',
|
|
313527
313637
|
});
|
|
313528
313638
|
|
|
313529
313639
|
let contentTypeHeader;
|
|
313530
313640
|
|
|
313531
313641
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {
|
|
313532
|
-
headers.setContentType(contentTypeHeader)
|
|
313642
|
+
headers.setContentType(contentTypeHeader);
|
|
313533
313643
|
}
|
|
313534
313644
|
|
|
313535
313645
|
if (_request.body) {
|
|
@@ -313548,7 +313658,7 @@ const factory = (env) => {
|
|
|
313548
313658
|
|
|
313549
313659
|
// Cloudflare Workers throws when credentials are defined
|
|
313550
313660
|
// see https://github.com/cloudflare/workerd/issues/902
|
|
313551
|
-
const isCredentialsSupported = isRequestSupported &&
|
|
313661
|
+
const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype;
|
|
313552
313662
|
|
|
313553
313663
|
const resolvedOptions = {
|
|
313554
313664
|
...fetchOptions,
|
|
@@ -313556,29 +313666,35 @@ const factory = (env) => {
|
|
|
313556
313666
|
method: method.toUpperCase(),
|
|
313557
313667
|
headers: headers.normalize().toJSON(),
|
|
313558
313668
|
body: data,
|
|
313559
|
-
duplex:
|
|
313560
|
-
credentials: isCredentialsSupported ? withCredentials : undefined
|
|
313669
|
+
duplex: 'half',
|
|
313670
|
+
credentials: isCredentialsSupported ? withCredentials : undefined,
|
|
313561
313671
|
};
|
|
313562
313672
|
|
|
313563
313673
|
request = isRequestSupported && new Request(url, resolvedOptions);
|
|
313564
313674
|
|
|
313565
|
-
let response = await (isRequestSupported
|
|
313675
|
+
let response = await (isRequestSupported
|
|
313676
|
+
? _fetch(request, fetchOptions)
|
|
313677
|
+
: _fetch(url, resolvedOptions));
|
|
313566
313678
|
|
|
313567
|
-
const isStreamResponse =
|
|
313679
|
+
const isStreamResponse =
|
|
313680
|
+
supportsResponseStream && (responseType === 'stream' || responseType === 'response');
|
|
313568
313681
|
|
|
313569
313682
|
if (supportsResponseStream && (onDownloadProgress || (isStreamResponse && unsubscribe))) {
|
|
313570
313683
|
const options = {};
|
|
313571
313684
|
|
|
313572
|
-
['status', 'statusText', 'headers'].forEach(prop => {
|
|
313685
|
+
['status', 'statusText', 'headers'].forEach((prop) => {
|
|
313573
313686
|
options[prop] = response[prop];
|
|
313574
313687
|
});
|
|
313575
313688
|
|
|
313576
313689
|
const responseContentLength = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toFiniteNumber(response.headers.get('content-length'));
|
|
313577
313690
|
|
|
313578
|
-
const [onProgress, flush] =
|
|
313579
|
-
|
|
313580
|
-
|
|
313581
|
-
|
|
313691
|
+
const [onProgress, flush] =
|
|
313692
|
+
(onDownloadProgress &&
|
|
313693
|
+
(0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.progressEventDecorator)(
|
|
313694
|
+
responseContentLength,
|
|
313695
|
+
(0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.progressEventReducer)((0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.asyncDecorator)(onDownloadProgress), true)
|
|
313696
|
+
)) ||
|
|
313697
|
+
[];
|
|
313582
313698
|
|
|
313583
313699
|
response = new Response(
|
|
313584
313700
|
(0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__.trackStream)(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
@@ -313591,7 +313707,10 @@ const factory = (env) => {
|
|
|
313591
313707
|
|
|
313592
313708
|
responseType = responseType || 'text';
|
|
313593
313709
|
|
|
313594
|
-
let responseData = await resolvers[_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].findKey(resolvers, responseType) || 'text'](
|
|
313710
|
+
let responseData = await resolvers[_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].findKey(resolvers, responseType) || 'text'](
|
|
313711
|
+
response,
|
|
313712
|
+
config
|
|
313713
|
+
);
|
|
313595
313714
|
|
|
313596
313715
|
!isStreamResponse && unsubscribe && unsubscribe();
|
|
313597
313716
|
|
|
@@ -313602,43 +313721,50 @@ const factory = (env) => {
|
|
|
313602
313721
|
status: response.status,
|
|
313603
313722
|
statusText: response.statusText,
|
|
313604
313723
|
config,
|
|
313605
|
-
request
|
|
313606
|
-
})
|
|
313607
|
-
})
|
|
313724
|
+
request,
|
|
313725
|
+
});
|
|
313726
|
+
});
|
|
313608
313727
|
} catch (err) {
|
|
313609
313728
|
unsubscribe && unsubscribe();
|
|
313610
313729
|
|
|
313611
313730
|
if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {
|
|
313612
313731
|
throw Object.assign(
|
|
313613
|
-
new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
|
|
313732
|
+
new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
|
|
313733
|
+
'Network Error',
|
|
313734
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_NETWORK,
|
|
313735
|
+
config,
|
|
313736
|
+
request,
|
|
313737
|
+
err && err.response
|
|
313738
|
+
),
|
|
313614
313739
|
{
|
|
313615
|
-
cause: err.cause || err
|
|
313740
|
+
cause: err.cause || err,
|
|
313616
313741
|
}
|
|
313617
|
-
)
|
|
313742
|
+
);
|
|
313618
313743
|
}
|
|
313619
313744
|
|
|
313620
313745
|
throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].from(err, err && err.code, config, request, err && err.response);
|
|
313621
313746
|
}
|
|
313622
|
-
}
|
|
313623
|
-
}
|
|
313747
|
+
};
|
|
313748
|
+
};
|
|
313624
313749
|
|
|
313625
313750
|
const seedCache = new Map();
|
|
313626
313751
|
|
|
313627
313752
|
const getFetch = (config) => {
|
|
313628
313753
|
let env = (config && config.env) || {};
|
|
313629
|
-
const {fetch, Request, Response} = env;
|
|
313630
|
-
const seeds = [
|
|
313631
|
-
Request, Response, fetch
|
|
313632
|
-
];
|
|
313754
|
+
const { fetch, Request, Response } = env;
|
|
313755
|
+
const seeds = [Request, Response, fetch];
|
|
313633
313756
|
|
|
313634
|
-
let len = seeds.length,
|
|
313635
|
-
|
|
313757
|
+
let len = seeds.length,
|
|
313758
|
+
i = len,
|
|
313759
|
+
seed,
|
|
313760
|
+
target,
|
|
313761
|
+
map = seedCache;
|
|
313636
313762
|
|
|
313637
313763
|
while (i--) {
|
|
313638
313764
|
seed = seeds[i];
|
|
313639
313765
|
target = map.get(seed);
|
|
313640
313766
|
|
|
313641
|
-
target === undefined && map.set(seed, target =
|
|
313767
|
+
target === undefined && map.set(seed, (target = i ? new Map() : factory(env)));
|
|
313642
313768
|
|
|
313643
313769
|
map = target;
|
|
313644
313770
|
}
|
|
@@ -313653,9 +313779,9 @@ const adapter = getFetch();
|
|
|
313653
313779
|
|
|
313654
313780
|
/***/ }),
|
|
313655
313781
|
|
|
313656
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313782
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/xhr.js":
|
|
313657
313783
|
/*!************************************************************************************************!*\
|
|
313658
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313784
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/xhr.js ***!
|
|
313659
313785
|
\************************************************************************************************/
|
|
313660
313786
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
313661
313787
|
|
|
@@ -313664,16 +313790,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313664
313790
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
313665
313791
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
313666
313792
|
/* harmony export */ });
|
|
313667
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313668
|
-
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313669
|
-
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313670
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313671
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313672
|
-
/* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313673
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313674
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313675
|
-
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313676
|
-
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313793
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
313794
|
+
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/settle.js");
|
|
313795
|
+
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/transitional.js");
|
|
313796
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js");
|
|
313797
|
+
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CanceledError.js");
|
|
313798
|
+
/* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/parseProtocol.js");
|
|
313799
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/index.js");
|
|
313800
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
313801
|
+
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/progressEventReducer.js");
|
|
313802
|
+
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/resolveConfig.js");
|
|
313677
313803
|
|
|
313678
313804
|
|
|
313679
313805
|
|
|
@@ -313687,200 +313813,222 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313687
313813
|
|
|
313688
313814
|
const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
313689
313815
|
|
|
313690
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isXHRAdapterSupported &&
|
|
313691
|
-
|
|
313692
|
-
|
|
313693
|
-
|
|
313694
|
-
|
|
313695
|
-
|
|
313696
|
-
|
|
313697
|
-
|
|
313698
|
-
|
|
313816
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isXHRAdapterSupported &&
|
|
313817
|
+
function (config) {
|
|
313818
|
+
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
313819
|
+
const _config = (0,_helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_0__["default"])(config);
|
|
313820
|
+
let requestData = _config.data;
|
|
313821
|
+
const requestHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(_config.headers).normalize();
|
|
313822
|
+
let { responseType, onUploadProgress, onDownloadProgress } = _config;
|
|
313823
|
+
let onCanceled;
|
|
313824
|
+
let uploadThrottled, downloadThrottled;
|
|
313825
|
+
let flushUpload, flushDownload;
|
|
313699
313826
|
|
|
313700
|
-
|
|
313701
|
-
|
|
313702
|
-
|
|
313827
|
+
function done() {
|
|
313828
|
+
flushUpload && flushUpload(); // flush events
|
|
313829
|
+
flushDownload && flushDownload(); // flush events
|
|
313703
313830
|
|
|
313704
|
-
|
|
313831
|
+
_config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);
|
|
313705
313832
|
|
|
313706
|
-
|
|
313707
|
-
|
|
313833
|
+
_config.signal && _config.signal.removeEventListener('abort', onCanceled);
|
|
313834
|
+
}
|
|
313708
313835
|
|
|
313709
|
-
|
|
313836
|
+
let request = new XMLHttpRequest();
|
|
313710
313837
|
|
|
313711
|
-
|
|
313838
|
+
request.open(_config.method.toUpperCase(), _config.url, true);
|
|
313712
313839
|
|
|
313713
|
-
|
|
313714
|
-
|
|
313840
|
+
// Set the request timeout in MS
|
|
313841
|
+
request.timeout = _config.timeout;
|
|
313715
313842
|
|
|
313716
|
-
|
|
313717
|
-
|
|
313718
|
-
|
|
313843
|
+
function onloadend() {
|
|
313844
|
+
if (!request) {
|
|
313845
|
+
return;
|
|
313846
|
+
}
|
|
313847
|
+
// Prepare the response
|
|
313848
|
+
const responseHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(
|
|
313849
|
+
'getAllResponseHeaders' in request && request.getAllResponseHeaders()
|
|
313850
|
+
);
|
|
313851
|
+
const responseData =
|
|
313852
|
+
!responseType || responseType === 'text' || responseType === 'json'
|
|
313853
|
+
? request.responseText
|
|
313854
|
+
: request.response;
|
|
313855
|
+
const response = {
|
|
313856
|
+
data: responseData,
|
|
313857
|
+
status: request.status,
|
|
313858
|
+
statusText: request.statusText,
|
|
313859
|
+
headers: responseHeaders,
|
|
313860
|
+
config,
|
|
313861
|
+
request,
|
|
313862
|
+
};
|
|
313863
|
+
|
|
313864
|
+
(0,_core_settle_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
313865
|
+
function _resolve(value) {
|
|
313866
|
+
resolve(value);
|
|
313867
|
+
done();
|
|
313868
|
+
},
|
|
313869
|
+
function _reject(err) {
|
|
313870
|
+
reject(err);
|
|
313871
|
+
done();
|
|
313872
|
+
},
|
|
313873
|
+
response
|
|
313874
|
+
);
|
|
313875
|
+
|
|
313876
|
+
// Clean up request
|
|
313877
|
+
request = null;
|
|
313719
313878
|
}
|
|
313720
|
-
// Prepare the response
|
|
313721
|
-
const responseHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(
|
|
313722
|
-
'getAllResponseHeaders' in request && request.getAllResponseHeaders()
|
|
313723
|
-
);
|
|
313724
|
-
const responseData = !responseType || responseType === 'text' || responseType === 'json' ?
|
|
313725
|
-
request.responseText : request.response;
|
|
313726
|
-
const response = {
|
|
313727
|
-
data: responseData,
|
|
313728
|
-
status: request.status,
|
|
313729
|
-
statusText: request.statusText,
|
|
313730
|
-
headers: responseHeaders,
|
|
313731
|
-
config,
|
|
313732
|
-
request
|
|
313733
|
-
};
|
|
313734
313879
|
|
|
313735
|
-
(
|
|
313736
|
-
|
|
313737
|
-
|
|
313738
|
-
}
|
|
313739
|
-
|
|
313740
|
-
|
|
313741
|
-
|
|
313880
|
+
if ('onloadend' in request) {
|
|
313881
|
+
// Use onloadend if available
|
|
313882
|
+
request.onloadend = onloadend;
|
|
313883
|
+
} else {
|
|
313884
|
+
// Listen for ready state to emulate onloadend
|
|
313885
|
+
request.onreadystatechange = function handleLoad() {
|
|
313886
|
+
if (!request || request.readyState !== 4) {
|
|
313887
|
+
return;
|
|
313888
|
+
}
|
|
313742
313889
|
|
|
313743
|
-
|
|
313744
|
-
|
|
313745
|
-
|
|
313890
|
+
// The request errored out and we didn't get a response, this will be
|
|
313891
|
+
// handled by onerror instead
|
|
313892
|
+
// With one exception: request that using file: protocol, most browsers
|
|
313893
|
+
// will return status as 0 even though it's a successful request
|
|
313894
|
+
if (
|
|
313895
|
+
request.status === 0 &&
|
|
313896
|
+
!(request.responseURL && request.responseURL.indexOf('file:') === 0)
|
|
313897
|
+
) {
|
|
313898
|
+
return;
|
|
313899
|
+
}
|
|
313900
|
+
// readystate handler is calling before onerror or ontimeout handlers,
|
|
313901
|
+
// so we should call onloadend on the next 'tick'
|
|
313902
|
+
setTimeout(onloadend);
|
|
313903
|
+
};
|
|
313904
|
+
}
|
|
313746
313905
|
|
|
313747
|
-
|
|
313748
|
-
|
|
313749
|
-
|
|
313750
|
-
} else {
|
|
313751
|
-
// Listen for ready state to emulate onloadend
|
|
313752
|
-
request.onreadystatechange = function handleLoad() {
|
|
313753
|
-
if (!request || request.readyState !== 4) {
|
|
313906
|
+
// Handle browser request cancellation (as opposed to a manual cancellation)
|
|
313907
|
+
request.onabort = function handleAbort() {
|
|
313908
|
+
if (!request) {
|
|
313754
313909
|
return;
|
|
313755
313910
|
}
|
|
313756
313911
|
|
|
313757
|
-
|
|
313758
|
-
|
|
313759
|
-
//
|
|
313760
|
-
|
|
313761
|
-
if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
|
|
313762
|
-
return;
|
|
313763
|
-
}
|
|
313764
|
-
// readystate handler is calling before onerror or ontimeout handlers,
|
|
313765
|
-
// so we should call onloadend on the next 'tick'
|
|
313766
|
-
setTimeout(onloadend);
|
|
313912
|
+
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"]('Request aborted', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ECONNABORTED, config, request));
|
|
313913
|
+
|
|
313914
|
+
// Clean up request
|
|
313915
|
+
request = null;
|
|
313767
313916
|
};
|
|
313768
|
-
}
|
|
313769
313917
|
|
|
313770
|
-
|
|
313771
|
-
|
|
313772
|
-
|
|
313773
|
-
|
|
313774
|
-
|
|
313918
|
+
// Handle low level network errors
|
|
313919
|
+
request.onerror = function handleError(event) {
|
|
313920
|
+
// Browsers deliver a ProgressEvent in XHR onerror
|
|
313921
|
+
// (message may be empty; when present, surface it)
|
|
313922
|
+
// See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event
|
|
313923
|
+
const msg = event && event.message ? event.message : 'Network Error';
|
|
313924
|
+
const err = new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](msg, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ERR_NETWORK, config, request);
|
|
313925
|
+
// attach the underlying event for consumers who want details
|
|
313926
|
+
err.event = event || null;
|
|
313927
|
+
reject(err);
|
|
313928
|
+
request = null;
|
|
313929
|
+
};
|
|
313775
313930
|
|
|
313776
|
-
|
|
313931
|
+
// Handle timeout
|
|
313932
|
+
request.ontimeout = function handleTimeout() {
|
|
313933
|
+
let timeoutErrorMessage = _config.timeout
|
|
313934
|
+
? 'timeout of ' + _config.timeout + 'ms exceeded'
|
|
313935
|
+
: 'timeout exceeded';
|
|
313936
|
+
const transitional = _config.transitional || _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__["default"];
|
|
313937
|
+
if (_config.timeoutErrorMessage) {
|
|
313938
|
+
timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
313939
|
+
}
|
|
313940
|
+
reject(
|
|
313941
|
+
new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](
|
|
313942
|
+
timeoutErrorMessage,
|
|
313943
|
+
transitional.clarifyTimeoutError ? _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ETIMEDOUT : _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ECONNABORTED,
|
|
313944
|
+
config,
|
|
313945
|
+
request
|
|
313946
|
+
)
|
|
313947
|
+
);
|
|
313777
313948
|
|
|
313778
|
-
|
|
313779
|
-
|
|
313780
|
-
|
|
313949
|
+
// Clean up request
|
|
313950
|
+
request = null;
|
|
313951
|
+
};
|
|
313781
313952
|
|
|
313782
|
-
|
|
313783
|
-
|
|
313784
|
-
// Browsers deliver a ProgressEvent in XHR onerror
|
|
313785
|
-
// (message may be empty; when present, surface it)
|
|
313786
|
-
// See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event
|
|
313787
|
-
const msg = event && event.message ? event.message : 'Network Error';
|
|
313788
|
-
const err = new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](msg, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ERR_NETWORK, config, request);
|
|
313789
|
-
// attach the underlying event for consumers who want details
|
|
313790
|
-
err.event = event || null;
|
|
313791
|
-
reject(err);
|
|
313792
|
-
request = null;
|
|
313793
|
-
};
|
|
313794
|
-
|
|
313795
|
-
// Handle timeout
|
|
313796
|
-
request.ontimeout = function handleTimeout() {
|
|
313797
|
-
let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded';
|
|
313798
|
-
const transitional = _config.transitional || _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__["default"];
|
|
313799
|
-
if (_config.timeoutErrorMessage) {
|
|
313800
|
-
timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
313801
|
-
}
|
|
313802
|
-
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](
|
|
313803
|
-
timeoutErrorMessage,
|
|
313804
|
-
transitional.clarifyTimeoutError ? _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ETIMEDOUT : _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ECONNABORTED,
|
|
313805
|
-
config,
|
|
313806
|
-
request));
|
|
313807
|
-
|
|
313808
|
-
// Clean up request
|
|
313809
|
-
request = null;
|
|
313810
|
-
};
|
|
313953
|
+
// Remove Content-Type if data is undefined
|
|
313954
|
+
requestData === undefined && requestHeaders.setContentType(null);
|
|
313811
313955
|
|
|
313812
|
-
|
|
313813
|
-
|
|
313956
|
+
// Add headers to the request
|
|
313957
|
+
if ('setRequestHeader' in request) {
|
|
313958
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_5__["default"].forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
|
|
313959
|
+
request.setRequestHeader(key, val);
|
|
313960
|
+
});
|
|
313961
|
+
}
|
|
313814
313962
|
|
|
313815
|
-
|
|
313816
|
-
|
|
313817
|
-
|
|
313818
|
-
|
|
313819
|
-
});
|
|
313820
|
-
}
|
|
313963
|
+
// Add withCredentials to request if needed
|
|
313964
|
+
if (!_utils_js__WEBPACK_IMPORTED_MODULE_5__["default"].isUndefined(_config.withCredentials)) {
|
|
313965
|
+
request.withCredentials = !!_config.withCredentials;
|
|
313966
|
+
}
|
|
313821
313967
|
|
|
313822
|
-
|
|
313823
|
-
|
|
313824
|
-
|
|
313825
|
-
|
|
313968
|
+
// Add responseType to request if needed
|
|
313969
|
+
if (responseType && responseType !== 'json') {
|
|
313970
|
+
request.responseType = _config.responseType;
|
|
313971
|
+
}
|
|
313826
313972
|
|
|
313827
|
-
|
|
313828
|
-
|
|
313829
|
-
|
|
313830
|
-
|
|
313973
|
+
// Handle progress if needed
|
|
313974
|
+
if (onDownloadProgress) {
|
|
313975
|
+
[downloadThrottled, flushDownload] = (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventReducer)(onDownloadProgress, true);
|
|
313976
|
+
request.addEventListener('progress', downloadThrottled);
|
|
313977
|
+
}
|
|
313831
313978
|
|
|
313832
|
-
|
|
313833
|
-
|
|
313834
|
-
|
|
313835
|
-
request.addEventListener('progress', downloadThrottled);
|
|
313836
|
-
}
|
|
313979
|
+
// Not all browsers support upload events
|
|
313980
|
+
if (onUploadProgress && request.upload) {
|
|
313981
|
+
[uploadThrottled, flushUpload] = (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventReducer)(onUploadProgress);
|
|
313837
313982
|
|
|
313838
|
-
|
|
313839
|
-
if (onUploadProgress && request.upload) {
|
|
313840
|
-
([uploadThrottled, flushUpload] = (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventReducer)(onUploadProgress));
|
|
313983
|
+
request.upload.addEventListener('progress', uploadThrottled);
|
|
313841
313984
|
|
|
313842
|
-
|
|
313985
|
+
request.upload.addEventListener('loadend', flushUpload);
|
|
313986
|
+
}
|
|
313843
313987
|
|
|
313844
|
-
|
|
313845
|
-
|
|
313988
|
+
if (_config.cancelToken || _config.signal) {
|
|
313989
|
+
// Handle cancellation
|
|
313990
|
+
// eslint-disable-next-line func-names
|
|
313991
|
+
onCanceled = (cancel) => {
|
|
313992
|
+
if (!request) {
|
|
313993
|
+
return;
|
|
313994
|
+
}
|
|
313995
|
+
reject(!cancel || cancel.type ? new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__["default"](null, config, request) : cancel);
|
|
313996
|
+
request.abort();
|
|
313997
|
+
request = null;
|
|
313998
|
+
};
|
|
313846
313999
|
|
|
313847
|
-
|
|
313848
|
-
|
|
313849
|
-
|
|
313850
|
-
|
|
313851
|
-
|
|
313852
|
-
return;
|
|
314000
|
+
_config.cancelToken && _config.cancelToken.subscribe(onCanceled);
|
|
314001
|
+
if (_config.signal) {
|
|
314002
|
+
_config.signal.aborted
|
|
314003
|
+
? onCanceled()
|
|
314004
|
+
: _config.signal.addEventListener('abort', onCanceled);
|
|
313853
314005
|
}
|
|
313854
|
-
reject(!cancel || cancel.type ? new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__["default"](null, config, request) : cancel);
|
|
313855
|
-
request.abort();
|
|
313856
|
-
request = null;
|
|
313857
|
-
};
|
|
313858
|
-
|
|
313859
|
-
_config.cancelToken && _config.cancelToken.subscribe(onCanceled);
|
|
313860
|
-
if (_config.signal) {
|
|
313861
|
-
_config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled);
|
|
313862
314006
|
}
|
|
313863
|
-
}
|
|
313864
314007
|
|
|
313865
|
-
|
|
313866
|
-
|
|
313867
|
-
if (protocol && _platform_index_js__WEBPACK_IMPORTED_MODULE_9__["default"].protocols.indexOf(protocol) === -1) {
|
|
313868
|
-
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"]('Unsupported protocol ' + protocol + ':', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ERR_BAD_REQUEST, config));
|
|
313869
|
-
return;
|
|
313870
|
-
}
|
|
314008
|
+
const protocol = (0,_helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_8__["default"])(_config.url);
|
|
313871
314009
|
|
|
314010
|
+
if (protocol && _platform_index_js__WEBPACK_IMPORTED_MODULE_9__["default"].protocols.indexOf(protocol) === -1) {
|
|
314011
|
+
reject(
|
|
314012
|
+
new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](
|
|
314013
|
+
'Unsupported protocol ' + protocol + ':',
|
|
314014
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ERR_BAD_REQUEST,
|
|
314015
|
+
config
|
|
314016
|
+
)
|
|
314017
|
+
);
|
|
314018
|
+
return;
|
|
314019
|
+
}
|
|
313872
314020
|
|
|
313873
|
-
|
|
313874
|
-
|
|
314021
|
+
// Send the request
|
|
314022
|
+
request.send(requestData || null);
|
|
314023
|
+
});
|
|
313875
314024
|
});
|
|
313876
|
-
});
|
|
313877
314025
|
|
|
313878
314026
|
|
|
313879
314027
|
/***/ }),
|
|
313880
314028
|
|
|
313881
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314029
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/axios.js":
|
|
313882
314030
|
/*!*****************************************************************************************!*\
|
|
313883
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314031
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/axios.js ***!
|
|
313884
314032
|
\*****************************************************************************************/
|
|
313885
314033
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
313886
314034
|
|
|
@@ -313889,23 +314037,23 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313889
314037
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
313890
314038
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
313891
314039
|
/* harmony export */ });
|
|
313892
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313893
|
-
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313894
|
-
/* harmony import */ var _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core/Axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313895
|
-
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313896
|
-
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313897
|
-
/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313898
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313899
|
-
/* harmony import */ var _cancel_CancelToken_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cancel/CancelToken.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313900
|
-
/* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313901
|
-
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313902
|
-
/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313903
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313904
|
-
/* harmony import */ var _helpers_spread_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./helpers/spread.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313905
|
-
/* harmony import */ var _helpers_isAxiosError_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./helpers/isAxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313906
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313907
|
-
/* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313908
|
-
/* harmony import */ var _helpers_HttpStatusCode_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./helpers/HttpStatusCode.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314040
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
314041
|
+
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/bind.js");
|
|
314042
|
+
/* harmony import */ var _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core/Axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/Axios.js");
|
|
314043
|
+
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/mergeConfig.js");
|
|
314044
|
+
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/index.js");
|
|
314045
|
+
/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/formDataToJSON.js");
|
|
314046
|
+
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CanceledError.js");
|
|
314047
|
+
/* harmony import */ var _cancel_CancelToken_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cancel/CancelToken.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CancelToken.js");
|
|
314048
|
+
/* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/isCancel.js");
|
|
314049
|
+
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/env/data.js");
|
|
314050
|
+
/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toFormData.js");
|
|
314051
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js");
|
|
314052
|
+
/* harmony import */ var _helpers_spread_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./helpers/spread.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/spread.js");
|
|
314053
|
+
/* harmony import */ var _helpers_isAxiosError_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./helpers/isAxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isAxiosError.js");
|
|
314054
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
314055
|
+
/* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/adapters.js");
|
|
314056
|
+
/* harmony import */ var _helpers_HttpStatusCode_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./helpers/HttpStatusCode.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/HttpStatusCode.js");
|
|
313909
314057
|
|
|
313910
314058
|
|
|
313911
314059
|
|
|
@@ -313938,10 +314086,10 @@ function createInstance(defaultConfig) {
|
|
|
313938
314086
|
const instance = (0,_helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__["default"])(_core_Axios_js__WEBPACK_IMPORTED_MODULE_0__["default"].prototype.request, context);
|
|
313939
314087
|
|
|
313940
314088
|
// Copy axios.prototype to instance
|
|
313941
|
-
_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].extend(instance, _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__["default"].prototype, context, {allOwnKeys: true});
|
|
314089
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].extend(instance, _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__["default"].prototype, context, { allOwnKeys: true });
|
|
313942
314090
|
|
|
313943
314091
|
// Copy context to instance
|
|
313944
|
-
_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].extend(instance, context, null, {allOwnKeys: true});
|
|
314092
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].extend(instance, context, null, { allOwnKeys: true });
|
|
313945
314093
|
|
|
313946
314094
|
// Factory for creating new instances
|
|
313947
314095
|
instance.create = function create(instanceConfig) {
|
|
@@ -313985,7 +314133,7 @@ axios.mergeConfig = _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__["default"]
|
|
|
313985
314133
|
|
|
313986
314134
|
axios.AxiosHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_13__["default"];
|
|
313987
314135
|
|
|
313988
|
-
axios.formToJSON = thing => (0,_helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_14__["default"])(_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].isHTMLForm(thing) ? new FormData(thing) : thing);
|
|
314136
|
+
axios.formToJSON = (thing) => (0,_helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_14__["default"])(_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].isHTMLForm(thing) ? new FormData(thing) : thing);
|
|
313989
314137
|
|
|
313990
314138
|
axios.getAdapter = _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__["default"].getAdapter;
|
|
313991
314139
|
|
|
@@ -313999,9 +314147,9 @@ axios.default = axios;
|
|
|
313999
314147
|
|
|
314000
314148
|
/***/ }),
|
|
314001
314149
|
|
|
314002
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314150
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CancelToken.js":
|
|
314003
314151
|
/*!******************************************************************************************************!*\
|
|
314004
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314152
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CancelToken.js ***!
|
|
314005
314153
|
\******************************************************************************************************/
|
|
314006
314154
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314007
314155
|
|
|
@@ -314010,7 +314158,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314010
314158
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
314011
314159
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
314012
314160
|
/* harmony export */ });
|
|
314013
|
-
/* harmony import */ var _CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314161
|
+
/* harmony import */ var _CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CanceledError.js");
|
|
314014
314162
|
|
|
314015
314163
|
|
|
314016
314164
|
|
|
@@ -314037,7 +314185,7 @@ class CancelToken {
|
|
|
314037
314185
|
const token = this;
|
|
314038
314186
|
|
|
314039
314187
|
// eslint-disable-next-line func-names
|
|
314040
|
-
this.promise.then(cancel => {
|
|
314188
|
+
this.promise.then((cancel) => {
|
|
314041
314189
|
if (!token._listeners) return;
|
|
314042
314190
|
|
|
314043
314191
|
let i = token._listeners.length;
|
|
@@ -314049,10 +314197,10 @@ class CancelToken {
|
|
|
314049
314197
|
});
|
|
314050
314198
|
|
|
314051
314199
|
// eslint-disable-next-line func-names
|
|
314052
|
-
this.promise.then = onfulfilled => {
|
|
314200
|
+
this.promise.then = (onfulfilled) => {
|
|
314053
314201
|
let _resolve;
|
|
314054
314202
|
// eslint-disable-next-line func-names
|
|
314055
|
-
const promise = new Promise(resolve => {
|
|
314203
|
+
const promise = new Promise((resolve) => {
|
|
314056
314204
|
token.subscribe(resolve);
|
|
314057
314205
|
_resolve = resolve;
|
|
314058
314206
|
}).then(onfulfilled);
|
|
@@ -314140,7 +314288,7 @@ class CancelToken {
|
|
|
314140
314288
|
});
|
|
314141
314289
|
return {
|
|
314142
314290
|
token,
|
|
314143
|
-
cancel
|
|
314291
|
+
cancel,
|
|
314144
314292
|
};
|
|
314145
314293
|
}
|
|
314146
314294
|
}
|
|
@@ -314150,9 +314298,9 @@ class CancelToken {
|
|
|
314150
314298
|
|
|
314151
314299
|
/***/ }),
|
|
314152
314300
|
|
|
314153
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314301
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CanceledError.js":
|
|
314154
314302
|
/*!********************************************************************************************************!*\
|
|
314155
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314303
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CanceledError.js ***!
|
|
314156
314304
|
\********************************************************************************************************/
|
|
314157
314305
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314158
314306
|
|
|
@@ -314161,7 +314309,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314161
314309
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
314162
314310
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
314163
314311
|
/* harmony export */ });
|
|
314164
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314312
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js");
|
|
314165
314313
|
|
|
314166
314314
|
|
|
314167
314315
|
|
|
@@ -314188,9 +314336,9 @@ class CanceledError extends _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["de
|
|
|
314188
314336
|
|
|
314189
314337
|
/***/ }),
|
|
314190
314338
|
|
|
314191
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314339
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/isCancel.js":
|
|
314192
314340
|
/*!***************************************************************************************************!*\
|
|
314193
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314341
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/isCancel.js ***!
|
|
314194
314342
|
\***************************************************************************************************/
|
|
314195
314343
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314196
314344
|
|
|
@@ -314208,9 +314356,9 @@ function isCancel(value) {
|
|
|
314208
314356
|
|
|
314209
314357
|
/***/ }),
|
|
314210
314358
|
|
|
314211
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314359
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/Axios.js":
|
|
314212
314360
|
/*!**********************************************************************************************!*\
|
|
314213
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314361
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/Axios.js ***!
|
|
314214
314362
|
\**********************************************************************************************/
|
|
314215
314363
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314216
314364
|
|
|
@@ -314219,15 +314367,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314219
314367
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
314220
314368
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
314221
314369
|
/* harmony export */ });
|
|
314222
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314223
|
-
/* harmony import */ var _helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314224
|
-
/* harmony import */ var _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./InterceptorManager.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314225
|
-
/* harmony import */ var _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./dispatchRequest.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314226
|
-
/* harmony import */ var _mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314227
|
-
/* harmony import */ var _buildFullPath_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314228
|
-
/* harmony import */ var _helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/validator.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314229
|
-
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314230
|
-
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../defaults/transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314370
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
314371
|
+
/* harmony import */ var _helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/buildURL.js");
|
|
314372
|
+
/* harmony import */ var _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./InterceptorManager.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/InterceptorManager.js");
|
|
314373
|
+
/* harmony import */ var _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./dispatchRequest.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/dispatchRequest.js");
|
|
314374
|
+
/* harmony import */ var _mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/mergeConfig.js");
|
|
314375
|
+
/* harmony import */ var _buildFullPath_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/buildFullPath.js");
|
|
314376
|
+
/* harmony import */ var _helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/validator.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/validator.js");
|
|
314377
|
+
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
314378
|
+
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../defaults/transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/transitional.js");
|
|
314231
314379
|
|
|
314232
314380
|
|
|
314233
314381
|
|
|
@@ -314254,7 +314402,7 @@ class Axios {
|
|
|
314254
314402
|
this.defaults = instanceConfig || {};
|
|
314255
314403
|
this.interceptors = {
|
|
314256
314404
|
request: new _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__["default"](),
|
|
314257
|
-
response: new _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__["default"]()
|
|
314405
|
+
response: new _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__["default"](),
|
|
314258
314406
|
};
|
|
314259
314407
|
}
|
|
314260
314408
|
|
|
@@ -314282,7 +314430,7 @@ class Axios {
|
|
|
314282
314430
|
err.stack = stack;
|
|
314283
314431
|
// match without the 2 top stack lines
|
|
314284
314432
|
} else if (stack && !String(err.stack).endsWith(stack.replace(/^.+\n.+\n/, ''))) {
|
|
314285
|
-
err.stack += '\n' + stack
|
|
314433
|
+
err.stack += '\n' + stack;
|
|
314286
314434
|
}
|
|
314287
314435
|
} catch (e) {
|
|
314288
314436
|
// ignore the case where "stack" is an un-writable property
|
|
@@ -314305,27 +314453,35 @@ class Axios {
|
|
|
314305
314453
|
|
|
314306
314454
|
config = (0,_mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__["default"])(this.defaults, config);
|
|
314307
314455
|
|
|
314308
|
-
const {transitional, paramsSerializer, headers} = config;
|
|
314456
|
+
const { transitional, paramsSerializer, headers } = config;
|
|
314309
314457
|
|
|
314310
314458
|
if (transitional !== undefined) {
|
|
314311
|
-
_helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(
|
|
314312
|
-
|
|
314313
|
-
|
|
314314
|
-
|
|
314315
|
-
|
|
314316
|
-
|
|
314459
|
+
_helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(
|
|
314460
|
+
transitional,
|
|
314461
|
+
{
|
|
314462
|
+
silentJSONParsing: validators.transitional(validators.boolean),
|
|
314463
|
+
forcedJSONParsing: validators.transitional(validators.boolean),
|
|
314464
|
+
clarifyTimeoutError: validators.transitional(validators.boolean),
|
|
314465
|
+
legacyInterceptorReqResOrdering: validators.transitional(validators.boolean),
|
|
314466
|
+
},
|
|
314467
|
+
false
|
|
314468
|
+
);
|
|
314317
314469
|
}
|
|
314318
314470
|
|
|
314319
314471
|
if (paramsSerializer != null) {
|
|
314320
314472
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].isFunction(paramsSerializer)) {
|
|
314321
314473
|
config.paramsSerializer = {
|
|
314322
|
-
serialize: paramsSerializer
|
|
314323
|
-
}
|
|
314474
|
+
serialize: paramsSerializer,
|
|
314475
|
+
};
|
|
314324
314476
|
} else {
|
|
314325
|
-
_helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(
|
|
314326
|
-
|
|
314327
|
-
|
|
314328
|
-
|
|
314477
|
+
_helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(
|
|
314478
|
+
paramsSerializer,
|
|
314479
|
+
{
|
|
314480
|
+
encode: validators.function,
|
|
314481
|
+
serialize: validators.function,
|
|
314482
|
+
},
|
|
314483
|
+
true
|
|
314484
|
+
);
|
|
314329
314485
|
}
|
|
314330
314486
|
}
|
|
314331
314487
|
|
|
@@ -314338,26 +314494,25 @@ class Axios {
|
|
|
314338
314494
|
config.allowAbsoluteUrls = true;
|
|
314339
314495
|
}
|
|
314340
314496
|
|
|
314341
|
-
_helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(
|
|
314342
|
-
|
|
314343
|
-
|
|
314344
|
-
|
|
314497
|
+
_helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(
|
|
314498
|
+
config,
|
|
314499
|
+
{
|
|
314500
|
+
baseUrl: validators.spelling('baseURL'),
|
|
314501
|
+
withXsrfToken: validators.spelling('withXSRFToken'),
|
|
314502
|
+
},
|
|
314503
|
+
true
|
|
314504
|
+
);
|
|
314345
314505
|
|
|
314346
314506
|
// Set config.method
|
|
314347
314507
|
config.method = (config.method || this.defaults.method || 'get').toLowerCase();
|
|
314348
314508
|
|
|
314349
314509
|
// Flatten headers
|
|
314350
|
-
let contextHeaders = headers && _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].merge(
|
|
314351
|
-
headers.common,
|
|
314352
|
-
headers[config.method]
|
|
314353
|
-
);
|
|
314510
|
+
let contextHeaders = headers && _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].merge(headers.common, headers[config.method]);
|
|
314354
314511
|
|
|
314355
|
-
headers &&
|
|
314356
|
-
['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
|
|
314357
|
-
(method) => {
|
|
314512
|
+
headers &&
|
|
314513
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'common'], (method) => {
|
|
314358
314514
|
delete headers[method];
|
|
314359
|
-
}
|
|
314360
|
-
);
|
|
314515
|
+
});
|
|
314361
314516
|
|
|
314362
314517
|
config.headers = _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__["default"].concat(contextHeaders, headers);
|
|
314363
314518
|
|
|
@@ -314372,7 +314527,8 @@ class Axios {
|
|
|
314372
314527
|
synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
|
|
314373
314528
|
|
|
314374
314529
|
const transitional = config.transitional || _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_5__["default"];
|
|
314375
|
-
const legacyInterceptorReqResOrdering =
|
|
314530
|
+
const legacyInterceptorReqResOrdering =
|
|
314531
|
+
transitional && transitional.legacyInterceptorReqResOrdering;
|
|
314376
314532
|
|
|
314377
314533
|
if (legacyInterceptorReqResOrdering) {
|
|
314378
314534
|
requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
|
|
@@ -314446,12 +314602,14 @@ class Axios {
|
|
|
314446
314602
|
// Provide aliases for supported request methods
|
|
314447
314603
|
_utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
|
|
314448
314604
|
/*eslint func-names:0*/
|
|
314449
|
-
Axios.prototype[method] = function(url, config) {
|
|
314450
|
-
return this.request(
|
|
314451
|
-
|
|
314452
|
-
|
|
314453
|
-
|
|
314454
|
-
|
|
314605
|
+
Axios.prototype[method] = function (url, config) {
|
|
314606
|
+
return this.request(
|
|
314607
|
+
(0,_mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__["default"])(config || {}, {
|
|
314608
|
+
method,
|
|
314609
|
+
url,
|
|
314610
|
+
data: (config || {}).data,
|
|
314611
|
+
})
|
|
314612
|
+
);
|
|
314455
314613
|
};
|
|
314456
314614
|
});
|
|
314457
314615
|
|
|
@@ -314460,14 +314618,18 @@ _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['post', 'put', 'patch
|
|
|
314460
314618
|
|
|
314461
314619
|
function generateHTTPMethod(isForm) {
|
|
314462
314620
|
return function httpMethod(url, data, config) {
|
|
314463
|
-
return this.request(
|
|
314464
|
-
|
|
314465
|
-
|
|
314466
|
-
|
|
314467
|
-
|
|
314468
|
-
|
|
314469
|
-
|
|
314470
|
-
|
|
314621
|
+
return this.request(
|
|
314622
|
+
(0,_mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__["default"])(config || {}, {
|
|
314623
|
+
method,
|
|
314624
|
+
headers: isForm
|
|
314625
|
+
? {
|
|
314626
|
+
'Content-Type': 'multipart/form-data',
|
|
314627
|
+
}
|
|
314628
|
+
: {},
|
|
314629
|
+
url,
|
|
314630
|
+
data,
|
|
314631
|
+
})
|
|
314632
|
+
);
|
|
314471
314633
|
};
|
|
314472
314634
|
}
|
|
314473
314635
|
|
|
@@ -314481,9 +314643,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['post', 'put', 'patch
|
|
|
314481
314643
|
|
|
314482
314644
|
/***/ }),
|
|
314483
314645
|
|
|
314484
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314646
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js":
|
|
314485
314647
|
/*!***************************************************************************************************!*\
|
|
314486
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314648
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js ***!
|
|
314487
314649
|
\***************************************************************************************************/
|
|
314488
314650
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314489
314651
|
|
|
@@ -314492,20 +314654,26 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314492
314654
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
314493
314655
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
314494
314656
|
/* harmony export */ });
|
|
314495
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314657
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
314496
314658
|
|
|
314497
314659
|
|
|
314498
314660
|
|
|
314499
314661
|
|
|
314500
314662
|
class AxiosError extends Error {
|
|
314501
|
-
|
|
314502
|
-
|
|
314503
|
-
|
|
314504
|
-
|
|
314505
|
-
|
|
314506
|
-
|
|
314663
|
+
static from(error, code, config, request, response, customProps) {
|
|
314664
|
+
const axiosError = new AxiosError(error.message, code || error.code, config, request, response);
|
|
314665
|
+
axiosError.cause = error;
|
|
314666
|
+
axiosError.name = error.name;
|
|
314667
|
+
|
|
314668
|
+
// Preserve status from the original error if not already set from response
|
|
314669
|
+
if (error.status != null && axiosError.status == null) {
|
|
314670
|
+
axiosError.status = error.status;
|
|
314507
314671
|
}
|
|
314508
314672
|
|
|
314673
|
+
customProps && Object.assign(axiosError, customProps);
|
|
314674
|
+
return axiosError;
|
|
314675
|
+
}
|
|
314676
|
+
|
|
314509
314677
|
/**
|
|
314510
314678
|
* Create an Error with the specified message, config, error code, request and response.
|
|
314511
314679
|
*
|
|
@@ -314518,37 +314686,48 @@ class AxiosError extends Error {
|
|
|
314518
314686
|
* @returns {Error} The created error.
|
|
314519
314687
|
*/
|
|
314520
314688
|
constructor(message, code, config, request, response) {
|
|
314521
|
-
|
|
314522
|
-
|
|
314523
|
-
|
|
314524
|
-
|
|
314525
|
-
|
|
314526
|
-
|
|
314527
|
-
|
|
314528
|
-
|
|
314529
|
-
|
|
314530
|
-
|
|
314689
|
+
super(message);
|
|
314690
|
+
|
|
314691
|
+
// Make message enumerable to maintain backward compatibility
|
|
314692
|
+
// The native Error constructor sets message as non-enumerable,
|
|
314693
|
+
// but axios < v1.13.3 had it as enumerable
|
|
314694
|
+
Object.defineProperty(this, 'message', {
|
|
314695
|
+
value: message,
|
|
314696
|
+
enumerable: true,
|
|
314697
|
+
writable: true,
|
|
314698
|
+
configurable: true
|
|
314699
|
+
});
|
|
314700
|
+
|
|
314701
|
+
this.name = 'AxiosError';
|
|
314702
|
+
this.isAxiosError = true;
|
|
314703
|
+
code && (this.code = code);
|
|
314704
|
+
config && (this.config = config);
|
|
314705
|
+
request && (this.request = request);
|
|
314706
|
+
if (response) {
|
|
314707
|
+
this.response = response;
|
|
314708
|
+
this.status = response.status;
|
|
314709
|
+
}
|
|
314531
314710
|
}
|
|
314532
314711
|
|
|
314533
|
-
|
|
314534
|
-
|
|
314535
|
-
|
|
314536
|
-
|
|
314537
|
-
|
|
314538
|
-
|
|
314539
|
-
|
|
314540
|
-
|
|
314541
|
-
|
|
314542
|
-
|
|
314543
|
-
|
|
314544
|
-
|
|
314545
|
-
|
|
314546
|
-
|
|
314547
|
-
|
|
314548
|
-
|
|
314549
|
-
|
|
314550
|
-
|
|
314551
|
-
|
|
314712
|
+
toJSON() {
|
|
314713
|
+
return {
|
|
314714
|
+
// Standard
|
|
314715
|
+
message: this.message,
|
|
314716
|
+
name: this.name,
|
|
314717
|
+
// Microsoft
|
|
314718
|
+
description: this.description,
|
|
314719
|
+
number: this.number,
|
|
314720
|
+
// Mozilla
|
|
314721
|
+
fileName: this.fileName,
|
|
314722
|
+
lineNumber: this.lineNumber,
|
|
314723
|
+
columnNumber: this.columnNumber,
|
|
314724
|
+
stack: this.stack,
|
|
314725
|
+
// Axios
|
|
314726
|
+
config: _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toJSONObject(this.config),
|
|
314727
|
+
code: this.code,
|
|
314728
|
+
status: this.status,
|
|
314729
|
+
};
|
|
314730
|
+
}
|
|
314552
314731
|
}
|
|
314553
314732
|
|
|
314554
314733
|
// This can be changed to static properties as soon as the parser options in .eslint.cjs are updated.
|
|
@@ -314570,9 +314749,9 @@ AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL';
|
|
|
314570
314749
|
|
|
314571
314750
|
/***/ }),
|
|
314572
314751
|
|
|
314573
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314752
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js":
|
|
314574
314753
|
/*!*****************************************************************************************************!*\
|
|
314575
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314754
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js ***!
|
|
314576
314755
|
\*****************************************************************************************************/
|
|
314577
314756
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314578
314757
|
|
|
@@ -314581,8 +314760,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314581
314760
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
314582
314761
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
314583
314762
|
/* harmony export */ });
|
|
314584
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314585
|
-
/* harmony import */ var _helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/parseHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314763
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
314764
|
+
/* harmony import */ var _helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/parseHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/parseHeaders.js");
|
|
314586
314765
|
|
|
314587
314766
|
|
|
314588
314767
|
|
|
@@ -314637,8 +314816,10 @@ function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {
|
|
|
314637
314816
|
}
|
|
314638
314817
|
|
|
314639
314818
|
function formatHeader(header) {
|
|
314640
|
-
return header
|
|
314641
|
-
.
|
|
314819
|
+
return header
|
|
314820
|
+
.trim()
|
|
314821
|
+
.toLowerCase()
|
|
314822
|
+
.replace(/([a-z\d])(\w*)/g, (w, char, str) => {
|
|
314642
314823
|
return char.toUpperCase() + str;
|
|
314643
314824
|
});
|
|
314644
314825
|
}
|
|
@@ -314646,12 +314827,12 @@ function formatHeader(header) {
|
|
|
314646
314827
|
function buildAccessors(obj, header) {
|
|
314647
314828
|
const accessorName = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toCamelCase(' ' + header);
|
|
314648
314829
|
|
|
314649
|
-
['get', 'set', 'has'].forEach(methodName => {
|
|
314830
|
+
['get', 'set', 'has'].forEach((methodName) => {
|
|
314650
314831
|
Object.defineProperty(obj, methodName + accessorName, {
|
|
314651
|
-
value: function(arg1, arg2, arg3) {
|
|
314832
|
+
value: function (arg1, arg2, arg3) {
|
|
314652
314833
|
return this[methodName].call(this, header, arg1, arg2, arg3);
|
|
314653
314834
|
},
|
|
314654
|
-
configurable: true
|
|
314835
|
+
configurable: true,
|
|
314655
314836
|
});
|
|
314656
314837
|
});
|
|
314657
314838
|
}
|
|
@@ -314673,7 +314854,12 @@ class AxiosHeaders {
|
|
|
314673
314854
|
|
|
314674
314855
|
const key = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].findKey(self, lHeader);
|
|
314675
314856
|
|
|
314676
|
-
if
|
|
314857
|
+
if (
|
|
314858
|
+
!key ||
|
|
314859
|
+
self[key] === undefined ||
|
|
314860
|
+
_rewrite === true ||
|
|
314861
|
+
(_rewrite === undefined && self[key] !== false)
|
|
314862
|
+
) {
|
|
314677
314863
|
self[key || _header] = normalizeValue(_value);
|
|
314678
314864
|
}
|
|
314679
314865
|
}
|
|
@@ -314682,21 +314868,26 @@ class AxiosHeaders {
|
|
|
314682
314868
|
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));
|
|
314683
314869
|
|
|
314684
314870
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isPlainObject(header) || header instanceof this.constructor) {
|
|
314685
|
-
setHeaders(header, valueOrRewrite)
|
|
314686
|
-
} else if(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
314871
|
+
setHeaders(header, valueOrRewrite);
|
|
314872
|
+
} else if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
314687
314873
|
setHeaders((0,_helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"])(header), valueOrRewrite);
|
|
314688
314874
|
} else if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(header) && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isIterable(header)) {
|
|
314689
|
-
let obj = {},
|
|
314875
|
+
let obj = {},
|
|
314876
|
+
dest,
|
|
314877
|
+
key;
|
|
314690
314878
|
for (const entry of header) {
|
|
314691
314879
|
if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(entry)) {
|
|
314692
314880
|
throw TypeError('Object iterator must return a key-value pair');
|
|
314693
314881
|
}
|
|
314694
314882
|
|
|
314695
|
-
obj[key = entry[0]] = (dest = obj[key])
|
|
314696
|
-
|
|
314883
|
+
obj[(key = entry[0])] = (dest = obj[key])
|
|
314884
|
+
? _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(dest)
|
|
314885
|
+
? [...dest, entry[1]]
|
|
314886
|
+
: [dest, entry[1]]
|
|
314887
|
+
: entry[1];
|
|
314697
314888
|
}
|
|
314698
314889
|
|
|
314699
|
-
setHeaders(obj, valueOrRewrite)
|
|
314890
|
+
setHeaders(obj, valueOrRewrite);
|
|
314700
314891
|
} else {
|
|
314701
314892
|
header != null && setHeader(valueOrRewrite, header, rewrite);
|
|
314702
314893
|
}
|
|
@@ -314740,7 +314931,11 @@ class AxiosHeaders {
|
|
|
314740
314931
|
if (header) {
|
|
314741
314932
|
const key = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].findKey(this, header);
|
|
314742
314933
|
|
|
314743
|
-
return !!(
|
|
314934
|
+
return !!(
|
|
314935
|
+
key &&
|
|
314936
|
+
this[key] !== undefined &&
|
|
314937
|
+
(!matcher || matchHeaderValue(this, this[key], key, matcher))
|
|
314938
|
+
);
|
|
314744
314939
|
}
|
|
314745
314940
|
|
|
314746
314941
|
return false;
|
|
@@ -314780,7 +314975,7 @@ class AxiosHeaders {
|
|
|
314780
314975
|
|
|
314781
314976
|
while (i--) {
|
|
314782
314977
|
const key = keys[i];
|
|
314783
|
-
if(!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
|
|
314978
|
+
if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
|
|
314784
314979
|
delete this[key];
|
|
314785
314980
|
deleted = true;
|
|
314786
314981
|
}
|
|
@@ -314824,7 +315019,9 @@ class AxiosHeaders {
|
|
|
314824
315019
|
const obj = Object.create(null);
|
|
314825
315020
|
|
|
314826
315021
|
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(this, (value, header) => {
|
|
314827
|
-
value != null &&
|
|
315022
|
+
value != null &&
|
|
315023
|
+
value !== false &&
|
|
315024
|
+
(obj[header] = asStrings && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value) ? value.join(', ') : value);
|
|
314828
315025
|
});
|
|
314829
315026
|
|
|
314830
315027
|
return obj;
|
|
@@ -314835,11 +315032,13 @@ class AxiosHeaders {
|
|
|
314835
315032
|
}
|
|
314836
315033
|
|
|
314837
315034
|
toString() {
|
|
314838
|
-
return Object.entries(this.toJSON())
|
|
315035
|
+
return Object.entries(this.toJSON())
|
|
315036
|
+
.map(([header, value]) => header + ': ' + value)
|
|
315037
|
+
.join('\n');
|
|
314839
315038
|
}
|
|
314840
315039
|
|
|
314841
315040
|
getSetCookie() {
|
|
314842
|
-
return this.get(
|
|
315041
|
+
return this.get('set-cookie') || [];
|
|
314843
315042
|
}
|
|
314844
315043
|
|
|
314845
315044
|
get [Symbol.toStringTag]() {
|
|
@@ -314859,9 +315058,12 @@ class AxiosHeaders {
|
|
|
314859
315058
|
}
|
|
314860
315059
|
|
|
314861
315060
|
static accessor(header) {
|
|
314862
|
-
const internals =
|
|
314863
|
-
|
|
314864
|
-
|
|
315061
|
+
const internals =
|
|
315062
|
+
(this[$internals] =
|
|
315063
|
+
this[$internals] =
|
|
315064
|
+
{
|
|
315065
|
+
accessors: {},
|
|
315066
|
+
});
|
|
314865
315067
|
|
|
314866
315068
|
const accessors = internals.accessors;
|
|
314867
315069
|
const prototype = this.prototype;
|
|
@@ -314881,17 +315083,24 @@ class AxiosHeaders {
|
|
|
314881
315083
|
}
|
|
314882
315084
|
}
|
|
314883
315085
|
|
|
314884
|
-
AxiosHeaders.accessor([
|
|
315086
|
+
AxiosHeaders.accessor([
|
|
315087
|
+
'Content-Type',
|
|
315088
|
+
'Content-Length',
|
|
315089
|
+
'Accept',
|
|
315090
|
+
'Accept-Encoding',
|
|
315091
|
+
'User-Agent',
|
|
315092
|
+
'Authorization',
|
|
315093
|
+
]);
|
|
314885
315094
|
|
|
314886
315095
|
// reserved names hotfix
|
|
314887
|
-
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {
|
|
315096
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
|
|
314888
315097
|
let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`
|
|
314889
315098
|
return {
|
|
314890
315099
|
get: () => value,
|
|
314891
315100
|
set(headerValue) {
|
|
314892
315101
|
this[mapped] = headerValue;
|
|
314893
|
-
}
|
|
314894
|
-
}
|
|
315102
|
+
},
|
|
315103
|
+
};
|
|
314895
315104
|
});
|
|
314896
315105
|
|
|
314897
315106
|
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].freezeMethods(AxiosHeaders);
|
|
@@ -314901,9 +315110,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].freezeMethods(AxiosHeaders);
|
|
|
314901
315110
|
|
|
314902
315111
|
/***/ }),
|
|
314903
315112
|
|
|
314904
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315113
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/InterceptorManager.js":
|
|
314905
315114
|
/*!***********************************************************************************************************!*\
|
|
314906
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315115
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/InterceptorManager.js ***!
|
|
314907
315116
|
\***********************************************************************************************************/
|
|
314908
315117
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314909
315118
|
|
|
@@ -314912,7 +315121,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314912
315121
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
314913
315122
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
314914
315123
|
/* harmony export */ });
|
|
314915
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315124
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
314916
315125
|
|
|
314917
315126
|
|
|
314918
315127
|
|
|
@@ -314936,7 +315145,7 @@ class InterceptorManager {
|
|
|
314936
315145
|
fulfilled,
|
|
314937
315146
|
rejected,
|
|
314938
315147
|
synchronous: options ? options.synchronous : false,
|
|
314939
|
-
runWhen: options ? options.runWhen : null
|
|
315148
|
+
runWhen: options ? options.runWhen : null,
|
|
314940
315149
|
});
|
|
314941
315150
|
return this.handlers.length - 1;
|
|
314942
315151
|
}
|
|
@@ -314989,9 +315198,9 @@ class InterceptorManager {
|
|
|
314989
315198
|
|
|
314990
315199
|
/***/ }),
|
|
314991
315200
|
|
|
314992
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315201
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/buildFullPath.js":
|
|
314993
315202
|
/*!******************************************************************************************************!*\
|
|
314994
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315203
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/buildFullPath.js ***!
|
|
314995
315204
|
\******************************************************************************************************/
|
|
314996
315205
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314997
315206
|
|
|
@@ -315000,8 +315209,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315000
315209
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315001
315210
|
/* harmony export */ "default": () => (/* binding */ buildFullPath)
|
|
315002
315211
|
/* harmony export */ });
|
|
315003
|
-
/* harmony import */ var _helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/isAbsoluteURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315004
|
-
/* harmony import */ var _helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/combineURLs.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315212
|
+
/* harmony import */ var _helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/isAbsoluteURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isAbsoluteURL.js");
|
|
315213
|
+
/* harmony import */ var _helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/combineURLs.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/combineURLs.js");
|
|
315005
315214
|
|
|
315006
315215
|
|
|
315007
315216
|
|
|
@@ -315028,9 +315237,9 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
|
315028
315237
|
|
|
315029
315238
|
/***/ }),
|
|
315030
315239
|
|
|
315031
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315240
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/dispatchRequest.js":
|
|
315032
315241
|
/*!********************************************************************************************************!*\
|
|
315033
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315242
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/dispatchRequest.js ***!
|
|
315034
315243
|
\********************************************************************************************************/
|
|
315035
315244
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315036
315245
|
|
|
@@ -315039,12 +315248,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315039
315248
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315040
315249
|
/* harmony export */ "default": () => (/* binding */ dispatchRequest)
|
|
315041
315250
|
/* harmony export */ });
|
|
315042
|
-
/* harmony import */ var _transformData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transformData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315043
|
-
/* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315044
|
-
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315045
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315046
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315047
|
-
/* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315251
|
+
/* harmony import */ var _transformData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transformData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/transformData.js");
|
|
315252
|
+
/* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/isCancel.js");
|
|
315253
|
+
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/index.js");
|
|
315254
|
+
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CanceledError.js");
|
|
315255
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
315256
|
+
/* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/adapters.js");
|
|
315048
315257
|
|
|
315049
315258
|
|
|
315050
315259
|
|
|
@@ -315084,10 +315293,7 @@ function dispatchRequest(config) {
|
|
|
315084
315293
|
config.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(config.headers);
|
|
315085
315294
|
|
|
315086
315295
|
// Transform request data
|
|
315087
|
-
config.data = _transformData_js__WEBPACK_IMPORTED_MODULE_2__["default"].call(
|
|
315088
|
-
config,
|
|
315089
|
-
config.transformRequest
|
|
315090
|
-
);
|
|
315296
|
+
config.data = _transformData_js__WEBPACK_IMPORTED_MODULE_2__["default"].call(config, config.transformRequest);
|
|
315091
315297
|
|
|
315092
315298
|
if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {
|
|
315093
315299
|
config.headers.setContentType('application/x-www-form-urlencoded', false);
|
|
@@ -315095,44 +315301,43 @@ function dispatchRequest(config) {
|
|
|
315095
315301
|
|
|
315096
315302
|
const adapter = _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_3__["default"].getAdapter(config.adapter || _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__["default"].adapter, config);
|
|
315097
315303
|
|
|
315098
|
-
return adapter(config).then(
|
|
315099
|
-
|
|
315100
|
-
|
|
315101
|
-
// Transform response data
|
|
315102
|
-
response.data = _transformData_js__WEBPACK_IMPORTED_MODULE_2__["default"].call(
|
|
315103
|
-
config,
|
|
315104
|
-
config.transformResponse,
|
|
315105
|
-
response
|
|
315106
|
-
);
|
|
315107
|
-
|
|
315108
|
-
response.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(response.headers);
|
|
315109
|
-
|
|
315110
|
-
return response;
|
|
315111
|
-
}, function onAdapterRejection(reason) {
|
|
315112
|
-
if (!(0,_cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_5__["default"])(reason)) {
|
|
315304
|
+
return adapter(config).then(
|
|
315305
|
+
function onAdapterResolution(response) {
|
|
315113
315306
|
throwIfCancellationRequested(config);
|
|
315114
315307
|
|
|
315115
315308
|
// Transform response data
|
|
315116
|
-
|
|
315117
|
-
|
|
315118
|
-
|
|
315119
|
-
|
|
315120
|
-
|
|
315121
|
-
|
|
315122
|
-
|
|
315309
|
+
response.data = _transformData_js__WEBPACK_IMPORTED_MODULE_2__["default"].call(config, config.transformResponse, response);
|
|
315310
|
+
|
|
315311
|
+
response.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(response.headers);
|
|
315312
|
+
|
|
315313
|
+
return response;
|
|
315314
|
+
},
|
|
315315
|
+
function onAdapterRejection(reason) {
|
|
315316
|
+
if (!(0,_cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_5__["default"])(reason)) {
|
|
315317
|
+
throwIfCancellationRequested(config);
|
|
315318
|
+
|
|
315319
|
+
// Transform response data
|
|
315320
|
+
if (reason && reason.response) {
|
|
315321
|
+
reason.response.data = _transformData_js__WEBPACK_IMPORTED_MODULE_2__["default"].call(
|
|
315322
|
+
config,
|
|
315323
|
+
config.transformResponse,
|
|
315324
|
+
reason.response
|
|
315325
|
+
);
|
|
315326
|
+
reason.response.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(reason.response.headers);
|
|
315327
|
+
}
|
|
315123
315328
|
}
|
|
315124
|
-
}
|
|
315125
315329
|
|
|
315126
|
-
|
|
315127
|
-
|
|
315330
|
+
return Promise.reject(reason);
|
|
315331
|
+
}
|
|
315332
|
+
);
|
|
315128
315333
|
}
|
|
315129
315334
|
|
|
315130
315335
|
|
|
315131
315336
|
/***/ }),
|
|
315132
315337
|
|
|
315133
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315338
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/mergeConfig.js":
|
|
315134
315339
|
/*!****************************************************************************************************!*\
|
|
315135
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315340
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/mergeConfig.js ***!
|
|
315136
315341
|
\****************************************************************************************************/
|
|
315137
315342
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315138
315343
|
|
|
@@ -315141,15 +315346,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315141
315346
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315142
315347
|
/* harmony export */ "default": () => (/* binding */ mergeConfig)
|
|
315143
315348
|
/* harmony export */ });
|
|
315144
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315145
|
-
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315349
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
315350
|
+
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
315146
315351
|
|
|
315147
315352
|
|
|
315148
315353
|
|
|
315149
315354
|
|
|
315150
315355
|
|
|
315151
|
-
const headersToObject = (thing) =>
|
|
315152
|
-
thing instanceof _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? { ...thing } : thing;
|
|
315356
|
+
const headersToObject = (thing) => (thing instanceof _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? { ...thing } : thing);
|
|
315153
315357
|
|
|
315154
315358
|
/**
|
|
315155
315359
|
* Config-specific merge-function which creates a new config-object
|
|
@@ -315242,23 +315446,12 @@ function mergeConfig(config1, config2) {
|
|
|
315242
315446
|
mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true),
|
|
315243
315447
|
};
|
|
315244
315448
|
|
|
315245
|
-
_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].forEach(
|
|
315246
|
-
|
|
315247
|
-
|
|
315248
|
-
|
|
315249
|
-
|
|
315250
|
-
|
|
315251
|
-
prop === "prototype"
|
|
315252
|
-
)
|
|
315253
|
-
return;
|
|
315254
|
-
const merge = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].hasOwnProp(mergeMap, prop)
|
|
315255
|
-
? mergeMap[prop]
|
|
315256
|
-
: mergeDeepProperties;
|
|
315257
|
-
const configValue = merge(config1[prop], config2[prop], prop);
|
|
315258
|
-
(_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isUndefined(configValue) && merge !== mergeDirectKeys) ||
|
|
315259
|
-
(config[prop] = configValue);
|
|
315260
|
-
},
|
|
315261
|
-
);
|
|
315449
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
|
|
315450
|
+
if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return;
|
|
315451
|
+
const merge = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
|
|
315452
|
+
const configValue = merge(config1[prop], config2[prop], prop);
|
|
315453
|
+
(_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
|
|
315454
|
+
});
|
|
315262
315455
|
|
|
315263
315456
|
return config;
|
|
315264
315457
|
}
|
|
@@ -315266,9 +315459,9 @@ function mergeConfig(config1, config2) {
|
|
|
315266
315459
|
|
|
315267
315460
|
/***/ }),
|
|
315268
315461
|
|
|
315269
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315462
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/settle.js":
|
|
315270
315463
|
/*!***********************************************************************************************!*\
|
|
315271
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315464
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/settle.js ***!
|
|
315272
315465
|
\***********************************************************************************************/
|
|
315273
315466
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315274
315467
|
|
|
@@ -315277,7 +315470,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315277
315470
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315278
315471
|
/* harmony export */ "default": () => (/* binding */ settle)
|
|
315279
315472
|
/* harmony export */ });
|
|
315280
|
-
/* harmony import */ var _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315473
|
+
/* harmony import */ var _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js");
|
|
315281
315474
|
|
|
315282
315475
|
|
|
315283
315476
|
|
|
@@ -315296,22 +315489,26 @@ function settle(resolve, reject, response) {
|
|
|
315296
315489
|
if (!response.status || !validateStatus || validateStatus(response.status)) {
|
|
315297
315490
|
resolve(response);
|
|
315298
315491
|
} else {
|
|
315299
|
-
reject(
|
|
315300
|
-
|
|
315301
|
-
|
|
315302
|
-
|
|
315303
|
-
|
|
315304
|
-
|
|
315305
|
-
|
|
315492
|
+
reject(
|
|
315493
|
+
new _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"](
|
|
315494
|
+
'Request failed with status code ' + response.status,
|
|
315495
|
+
[_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ERR_BAD_REQUEST, _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ERR_BAD_RESPONSE][
|
|
315496
|
+
Math.floor(response.status / 100) - 4
|
|
315497
|
+
],
|
|
315498
|
+
response.config,
|
|
315499
|
+
response.request,
|
|
315500
|
+
response
|
|
315501
|
+
)
|
|
315502
|
+
);
|
|
315306
315503
|
}
|
|
315307
315504
|
}
|
|
315308
315505
|
|
|
315309
315506
|
|
|
315310
315507
|
/***/ }),
|
|
315311
315508
|
|
|
315312
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315509
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/transformData.js":
|
|
315313
315510
|
/*!******************************************************************************************************!*\
|
|
315314
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315511
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/transformData.js ***!
|
|
315315
315512
|
\******************************************************************************************************/
|
|
315316
315513
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315317
315514
|
|
|
@@ -315320,9 +315517,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315320
315517
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315321
315518
|
/* harmony export */ "default": () => (/* binding */ transformData)
|
|
315322
315519
|
/* harmony export */ });
|
|
315323
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315324
|
-
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315325
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315520
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
315521
|
+
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/index.js");
|
|
315522
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
315326
315523
|
|
|
315327
315524
|
|
|
315328
315525
|
|
|
@@ -315355,9 +315552,9 @@ function transformData(fns, response) {
|
|
|
315355
315552
|
|
|
315356
315553
|
/***/ }),
|
|
315357
315554
|
|
|
315358
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315555
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/index.js":
|
|
315359
315556
|
/*!**************************************************************************************************!*\
|
|
315360
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315557
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/index.js ***!
|
|
315361
315558
|
\**************************************************************************************************/
|
|
315362
315559
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315363
315560
|
|
|
@@ -315366,13 +315563,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315366
315563
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315367
315564
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
315368
315565
|
/* harmony export */ });
|
|
315369
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315370
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315371
|
-
/* harmony import */ var _transitional_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315372
|
-
/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315373
|
-
/* harmony import */ var _helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/toURLEncodedForm.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315374
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315375
|
-
/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315566
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
315567
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js");
|
|
315568
|
+
/* harmony import */ var _transitional_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/transitional.js");
|
|
315569
|
+
/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toFormData.js");
|
|
315570
|
+
/* harmony import */ var _helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/toURLEncodedForm.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toURLEncodedForm.js");
|
|
315571
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/index.js");
|
|
315572
|
+
/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/formDataToJSON.js");
|
|
315376
315573
|
|
|
315377
315574
|
|
|
315378
315575
|
|
|
@@ -315409,96 +315606,107 @@ function stringifySafely(rawValue, parser, encoder) {
|
|
|
315409
315606
|
}
|
|
315410
315607
|
|
|
315411
315608
|
const defaults = {
|
|
315412
|
-
|
|
315413
315609
|
transitional: _transitional_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
315414
315610
|
|
|
315415
315611
|
adapter: ['xhr', 'http', 'fetch'],
|
|
315416
315612
|
|
|
315417
|
-
transformRequest: [
|
|
315418
|
-
|
|
315419
|
-
|
|
315420
|
-
|
|
315613
|
+
transformRequest: [
|
|
315614
|
+
function transformRequest(data, headers) {
|
|
315615
|
+
const contentType = headers.getContentType() || '';
|
|
315616
|
+
const hasJSONContentType = contentType.indexOf('application/json') > -1;
|
|
315617
|
+
const isObjectPayload = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(data);
|
|
315421
315618
|
|
|
315422
|
-
|
|
315423
|
-
|
|
315424
|
-
|
|
315619
|
+
if (isObjectPayload && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isHTMLForm(data)) {
|
|
315620
|
+
data = new FormData(data);
|
|
315621
|
+
}
|
|
315425
315622
|
|
|
315426
|
-
|
|
315623
|
+
const isFormData = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFormData(data);
|
|
315427
315624
|
|
|
315428
|
-
|
|
315429
|
-
|
|
315430
|
-
|
|
315625
|
+
if (isFormData) {
|
|
315626
|
+
return hasJSONContentType ? JSON.stringify((0,_helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_2__["default"])(data)) : data;
|
|
315627
|
+
}
|
|
315431
315628
|
|
|
315432
|
-
|
|
315433
|
-
|
|
315434
|
-
|
|
315435
|
-
|
|
315436
|
-
|
|
315437
|
-
|
|
315438
|
-
|
|
315439
|
-
|
|
315440
|
-
|
|
315441
|
-
|
|
315442
|
-
|
|
315443
|
-
|
|
315444
|
-
|
|
315445
|
-
|
|
315446
|
-
|
|
315447
|
-
|
|
315629
|
+
if (
|
|
315630
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArrayBuffer(data) ||
|
|
315631
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isBuffer(data) ||
|
|
315632
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isStream(data) ||
|
|
315633
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFile(data) ||
|
|
315634
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isBlob(data) ||
|
|
315635
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReadableStream(data)
|
|
315636
|
+
) {
|
|
315637
|
+
return data;
|
|
315638
|
+
}
|
|
315639
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArrayBufferView(data)) {
|
|
315640
|
+
return data.buffer;
|
|
315641
|
+
}
|
|
315642
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isURLSearchParams(data)) {
|
|
315643
|
+
headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);
|
|
315644
|
+
return data.toString();
|
|
315645
|
+
}
|
|
315448
315646
|
|
|
315449
|
-
|
|
315647
|
+
let isFileList;
|
|
315450
315648
|
|
|
315451
|
-
|
|
315452
|
-
|
|
315453
|
-
|
|
315454
|
-
|
|
315649
|
+
if (isObjectPayload) {
|
|
315650
|
+
if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {
|
|
315651
|
+
return (0,_helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_3__["default"])(data, this.formSerializer).toString();
|
|
315652
|
+
}
|
|
315455
315653
|
|
|
315456
|
-
|
|
315457
|
-
|
|
315654
|
+
if (
|
|
315655
|
+
(isFileList = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFileList(data)) ||
|
|
315656
|
+
contentType.indexOf('multipart/form-data') > -1
|
|
315657
|
+
) {
|
|
315658
|
+
const _FormData = this.env && this.env.FormData;
|
|
315458
315659
|
|
|
315459
|
-
|
|
315460
|
-
|
|
315461
|
-
|
|
315462
|
-
|
|
315463
|
-
|
|
315660
|
+
return (0,_helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_4__["default"])(
|
|
315661
|
+
isFileList ? { 'files[]': data } : data,
|
|
315662
|
+
_FormData && new _FormData(),
|
|
315663
|
+
this.formSerializer
|
|
315664
|
+
);
|
|
315665
|
+
}
|
|
315464
315666
|
}
|
|
315465
|
-
}
|
|
315466
315667
|
|
|
315467
|
-
|
|
315468
|
-
|
|
315469
|
-
|
|
315470
|
-
|
|
315668
|
+
if (isObjectPayload || hasJSONContentType) {
|
|
315669
|
+
headers.setContentType('application/json', false);
|
|
315670
|
+
return stringifySafely(data);
|
|
315671
|
+
}
|
|
315471
315672
|
|
|
315472
|
-
|
|
315473
|
-
|
|
315673
|
+
return data;
|
|
315674
|
+
},
|
|
315675
|
+
],
|
|
315474
315676
|
|
|
315475
|
-
transformResponse: [
|
|
315476
|
-
|
|
315477
|
-
|
|
315478
|
-
|
|
315677
|
+
transformResponse: [
|
|
315678
|
+
function transformResponse(data) {
|
|
315679
|
+
const transitional = this.transitional || defaults.transitional;
|
|
315680
|
+
const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
|
|
315681
|
+
const JSONRequested = this.responseType === 'json';
|
|
315479
315682
|
|
|
315480
|
-
|
|
315481
|
-
|
|
315482
|
-
|
|
315683
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isResponse(data) || _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReadableStream(data)) {
|
|
315684
|
+
return data;
|
|
315685
|
+
}
|
|
315483
315686
|
|
|
315484
|
-
|
|
315485
|
-
|
|
315486
|
-
|
|
315687
|
+
if (
|
|
315688
|
+
data &&
|
|
315689
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(data) &&
|
|
315690
|
+
((forcedJSONParsing && !this.responseType) || JSONRequested)
|
|
315691
|
+
) {
|
|
315692
|
+
const silentJSONParsing = transitional && transitional.silentJSONParsing;
|
|
315693
|
+
const strictJSONParsing = !silentJSONParsing && JSONRequested;
|
|
315487
315694
|
|
|
315488
|
-
|
|
315489
|
-
|
|
315490
|
-
|
|
315491
|
-
|
|
315492
|
-
|
|
315493
|
-
|
|
315695
|
+
try {
|
|
315696
|
+
return JSON.parse(data, this.parseReviver);
|
|
315697
|
+
} catch (e) {
|
|
315698
|
+
if (strictJSONParsing) {
|
|
315699
|
+
if (e.name === 'SyntaxError') {
|
|
315700
|
+
throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_5__["default"].from(e, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_5__["default"].ERR_BAD_RESPONSE, this, null, this.response);
|
|
315701
|
+
}
|
|
315702
|
+
throw e;
|
|
315494
315703
|
}
|
|
315495
|
-
throw e;
|
|
315496
315704
|
}
|
|
315497
315705
|
}
|
|
315498
|
-
}
|
|
315499
315706
|
|
|
315500
|
-
|
|
315501
|
-
|
|
315707
|
+
return data;
|
|
315708
|
+
},
|
|
315709
|
+
],
|
|
315502
315710
|
|
|
315503
315711
|
/**
|
|
315504
315712
|
* A timeout in milliseconds to abort a request. If set to 0 (default) a
|
|
@@ -315514,7 +315722,7 @@ const defaults = {
|
|
|
315514
315722
|
|
|
315515
315723
|
env: {
|
|
315516
315724
|
FormData: _platform_index_js__WEBPACK_IMPORTED_MODULE_6__["default"].classes.FormData,
|
|
315517
|
-
Blob: _platform_index_js__WEBPACK_IMPORTED_MODULE_6__["default"].classes.Blob
|
|
315725
|
+
Blob: _platform_index_js__WEBPACK_IMPORTED_MODULE_6__["default"].classes.Blob,
|
|
315518
315726
|
},
|
|
315519
315727
|
|
|
315520
315728
|
validateStatus: function validateStatus(status) {
|
|
@@ -315523,10 +315731,10 @@ const defaults = {
|
|
|
315523
315731
|
|
|
315524
315732
|
headers: {
|
|
315525
315733
|
common: {
|
|
315526
|
-
|
|
315527
|
-
'Content-Type': undefined
|
|
315528
|
-
}
|
|
315529
|
-
}
|
|
315734
|
+
Accept: 'application/json, text/plain, */*',
|
|
315735
|
+
'Content-Type': undefined,
|
|
315736
|
+
},
|
|
315737
|
+
},
|
|
315530
315738
|
};
|
|
315531
315739
|
|
|
315532
315740
|
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {
|
|
@@ -315538,9 +315746,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'hea
|
|
|
315538
315746
|
|
|
315539
315747
|
/***/ }),
|
|
315540
315748
|
|
|
315541
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315749
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/transitional.js":
|
|
315542
315750
|
/*!*********************************************************************************************************!*\
|
|
315543
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315751
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/transitional.js ***!
|
|
315544
315752
|
\*********************************************************************************************************/
|
|
315545
315753
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315546
315754
|
|
|
@@ -315555,15 +315763,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315555
315763
|
silentJSONParsing: true,
|
|
315556
315764
|
forcedJSONParsing: true,
|
|
315557
315765
|
clarifyTimeoutError: false,
|
|
315558
|
-
legacyInterceptorReqResOrdering: true
|
|
315766
|
+
legacyInterceptorReqResOrdering: true,
|
|
315559
315767
|
});
|
|
315560
315768
|
|
|
315561
315769
|
|
|
315562
315770
|
/***/ }),
|
|
315563
315771
|
|
|
315564
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315772
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/env/data.js":
|
|
315565
315773
|
/*!********************************************************************************************!*\
|
|
315566
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315774
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/env/data.js ***!
|
|
315567
315775
|
\********************************************************************************************/
|
|
315568
315776
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315569
315777
|
|
|
@@ -315572,13 +315780,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315572
315780
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315573
315781
|
/* harmony export */ VERSION: () => (/* binding */ VERSION)
|
|
315574
315782
|
/* harmony export */ });
|
|
315575
|
-
const VERSION = "1.13.
|
|
315783
|
+
const VERSION = "1.13.6";
|
|
315576
315784
|
|
|
315577
315785
|
/***/ }),
|
|
315578
315786
|
|
|
315579
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315787
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/AxiosURLSearchParams.js":
|
|
315580
315788
|
/*!****************************************************************************************************************!*\
|
|
315581
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315789
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/AxiosURLSearchParams.js ***!
|
|
315582
315790
|
\****************************************************************************************************************/
|
|
315583
315791
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315584
315792
|
|
|
@@ -315587,7 +315795,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315587
315795
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315588
315796
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
315589
315797
|
/* harmony export */ });
|
|
315590
|
-
/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315798
|
+
/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toFormData.js");
|
|
315591
315799
|
|
|
315592
315800
|
|
|
315593
315801
|
|
|
@@ -315608,7 +315816,7 @@ function encode(str) {
|
|
|
315608
315816
|
')': '%29',
|
|
315609
315817
|
'~': '%7E',
|
|
315610
315818
|
'%20': '+',
|
|
315611
|
-
'%00': '\x00'
|
|
315819
|
+
'%00': '\x00',
|
|
315612
315820
|
};
|
|
315613
315821
|
return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {
|
|
315614
315822
|
return charMap[match];
|
|
@@ -315636,13 +315844,17 @@ prototype.append = function append(name, value) {
|
|
|
315636
315844
|
};
|
|
315637
315845
|
|
|
315638
315846
|
prototype.toString = function toString(encoder) {
|
|
315639
|
-
const _encode = encoder
|
|
315640
|
-
|
|
315641
|
-
|
|
315847
|
+
const _encode = encoder
|
|
315848
|
+
? function (value) {
|
|
315849
|
+
return encoder.call(this, value, encode);
|
|
315850
|
+
}
|
|
315851
|
+
: encode;
|
|
315642
315852
|
|
|
315643
|
-
return this._pairs
|
|
315644
|
-
|
|
315645
|
-
|
|
315853
|
+
return this._pairs
|
|
315854
|
+
.map(function each(pair) {
|
|
315855
|
+
return _encode(pair[0]) + '=' + _encode(pair[1]);
|
|
315856
|
+
}, '')
|
|
315857
|
+
.join('&');
|
|
315646
315858
|
};
|
|
315647
315859
|
|
|
315648
315860
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AxiosURLSearchParams);
|
|
@@ -315650,9 +315862,9 @@ prototype.toString = function toString(encoder) {
|
|
|
315650
315862
|
|
|
315651
315863
|
/***/ }),
|
|
315652
315864
|
|
|
315653
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315865
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/HttpStatusCode.js":
|
|
315654
315866
|
/*!**********************************************************************************************************!*\
|
|
315655
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315867
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/HttpStatusCode.js ***!
|
|
315656
315868
|
\**********************************************************************************************************/
|
|
315657
315869
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315658
315870
|
|
|
@@ -315742,9 +315954,9 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
|
315742
315954
|
|
|
315743
315955
|
/***/ }),
|
|
315744
315956
|
|
|
315745
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315957
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/bind.js":
|
|
315746
315958
|
/*!************************************************************************************************!*\
|
|
315747
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315959
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/bind.js ***!
|
|
315748
315960
|
\************************************************************************************************/
|
|
315749
315961
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315750
315962
|
|
|
@@ -315771,9 +315983,9 @@ function bind(fn, thisArg) {
|
|
|
315771
315983
|
|
|
315772
315984
|
/***/ }),
|
|
315773
315985
|
|
|
315774
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315986
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/buildURL.js":
|
|
315775
315987
|
/*!****************************************************************************************************!*\
|
|
315776
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315988
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/buildURL.js ***!
|
|
315777
315989
|
\****************************************************************************************************/
|
|
315778
315990
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315779
315991
|
|
|
@@ -315782,8 +315994,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315782
315994
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315783
315995
|
/* harmony export */ "default": () => (/* binding */ buildURL)
|
|
315784
315996
|
/* harmony export */ });
|
|
315785
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315786
|
-
/* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315997
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
315998
|
+
/* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/AxiosURLSearchParams.js");
|
|
315787
315999
|
|
|
315788
316000
|
|
|
315789
316001
|
|
|
@@ -315798,11 +316010,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315798
316010
|
* @returns {string} The encoded value.
|
|
315799
316011
|
*/
|
|
315800
316012
|
function encode(val) {
|
|
315801
|
-
return encodeURIComponent(val)
|
|
315802
|
-
replace(/%3A/gi, ':')
|
|
315803
|
-
replace(/%24/g, '$')
|
|
315804
|
-
replace(/%2C/gi, ',')
|
|
315805
|
-
replace(/%20/g, '+');
|
|
316013
|
+
return encodeURIComponent(val)
|
|
316014
|
+
.replace(/%3A/gi, ':')
|
|
316015
|
+
.replace(/%24/g, '$')
|
|
316016
|
+
.replace(/%2C/gi, ',')
|
|
316017
|
+
.replace(/%20/g, '+');
|
|
315806
316018
|
}
|
|
315807
316019
|
|
|
315808
316020
|
/**
|
|
@@ -315819,11 +316031,13 @@ function buildURL(url, params, options) {
|
|
|
315819
316031
|
return url;
|
|
315820
316032
|
}
|
|
315821
316033
|
|
|
315822
|
-
const _encode = options && options.encode || encode;
|
|
316034
|
+
const _encode = (options && options.encode) || encode;
|
|
315823
316035
|
|
|
315824
|
-
const _options = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFunction(options)
|
|
315825
|
-
|
|
315826
|
-
|
|
316036
|
+
const _options = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFunction(options)
|
|
316037
|
+
? {
|
|
316038
|
+
serialize: options,
|
|
316039
|
+
}
|
|
316040
|
+
: options;
|
|
315827
316041
|
|
|
315828
316042
|
const serializeFn = _options && _options.serialize;
|
|
315829
316043
|
|
|
@@ -315832,13 +316046,13 @@ function buildURL(url, params, options) {
|
|
|
315832
316046
|
if (serializeFn) {
|
|
315833
316047
|
serializedParams = serializeFn(params, _options);
|
|
315834
316048
|
} else {
|
|
315835
|
-
serializedParams = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isURLSearchParams(params)
|
|
315836
|
-
params.toString()
|
|
315837
|
-
new _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__["default"](params, _options).toString(_encode);
|
|
316049
|
+
serializedParams = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isURLSearchParams(params)
|
|
316050
|
+
? params.toString()
|
|
316051
|
+
: new _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__["default"](params, _options).toString(_encode);
|
|
315838
316052
|
}
|
|
315839
316053
|
|
|
315840
316054
|
if (serializedParams) {
|
|
315841
|
-
const hashmarkIndex = url.indexOf(
|
|
316055
|
+
const hashmarkIndex = url.indexOf('#');
|
|
315842
316056
|
|
|
315843
316057
|
if (hashmarkIndex !== -1) {
|
|
315844
316058
|
url = url.slice(0, hashmarkIndex);
|
|
@@ -315852,9 +316066,9 @@ function buildURL(url, params, options) {
|
|
|
315852
316066
|
|
|
315853
316067
|
/***/ }),
|
|
315854
316068
|
|
|
315855
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316069
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/combineURLs.js":
|
|
315856
316070
|
/*!*******************************************************************************************************!*\
|
|
315857
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316071
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/combineURLs.js ***!
|
|
315858
316072
|
\*******************************************************************************************************/
|
|
315859
316073
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315860
316074
|
|
|
@@ -315882,9 +316096,9 @@ function combineURLs(baseURL, relativeURL) {
|
|
|
315882
316096
|
|
|
315883
316097
|
/***/ }),
|
|
315884
316098
|
|
|
315885
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316099
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/composeSignals.js":
|
|
315886
316100
|
/*!**********************************************************************************************************!*\
|
|
315887
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316101
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/composeSignals.js ***!
|
|
315888
316102
|
\**********************************************************************************************************/
|
|
315889
316103
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315890
316104
|
|
|
@@ -315893,15 +316107,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315893
316107
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315894
316108
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
315895
316109
|
/* harmony export */ });
|
|
315896
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315897
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315898
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316110
|
+
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CanceledError.js");
|
|
316111
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js");
|
|
316112
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
315899
316113
|
|
|
315900
316114
|
|
|
315901
316115
|
|
|
315902
316116
|
|
|
315903
316117
|
const composeSignals = (signals, timeout) => {
|
|
315904
|
-
const {length} = (signals = signals ? signals.filter(Boolean) : []);
|
|
316118
|
+
const { length } = (signals = signals ? signals.filter(Boolean) : []);
|
|
315905
316119
|
|
|
315906
316120
|
if (timeout || length) {
|
|
315907
316121
|
let controller = new AbortController();
|
|
@@ -315913,44 +316127,52 @@ const composeSignals = (signals, timeout) => {
|
|
|
315913
316127
|
aborted = true;
|
|
315914
316128
|
unsubscribe();
|
|
315915
316129
|
const err = reason instanceof Error ? reason : this.reason;
|
|
315916
|
-
controller.abort(
|
|
316130
|
+
controller.abort(
|
|
316131
|
+
err instanceof _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"]
|
|
316132
|
+
? err
|
|
316133
|
+
: new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__["default"](err instanceof Error ? err.message : err)
|
|
316134
|
+
);
|
|
315917
316135
|
}
|
|
315918
|
-
}
|
|
316136
|
+
};
|
|
315919
316137
|
|
|
315920
|
-
let timer =
|
|
315921
|
-
|
|
315922
|
-
|
|
315923
|
-
|
|
316138
|
+
let timer =
|
|
316139
|
+
timeout &&
|
|
316140
|
+
setTimeout(() => {
|
|
316141
|
+
timer = null;
|
|
316142
|
+
onabort(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"](`timeout of ${timeout}ms exceeded`, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ETIMEDOUT));
|
|
316143
|
+
}, timeout);
|
|
315924
316144
|
|
|
315925
316145
|
const unsubscribe = () => {
|
|
315926
316146
|
if (signals) {
|
|
315927
316147
|
timer && clearTimeout(timer);
|
|
315928
316148
|
timer = null;
|
|
315929
|
-
signals.forEach(signal => {
|
|
315930
|
-
signal.unsubscribe
|
|
316149
|
+
signals.forEach((signal) => {
|
|
316150
|
+
signal.unsubscribe
|
|
316151
|
+
? signal.unsubscribe(onabort)
|
|
316152
|
+
: signal.removeEventListener('abort', onabort);
|
|
315931
316153
|
});
|
|
315932
316154
|
signals = null;
|
|
315933
316155
|
}
|
|
315934
|
-
}
|
|
316156
|
+
};
|
|
315935
316157
|
|
|
315936
316158
|
signals.forEach((signal) => signal.addEventListener('abort', onabort));
|
|
315937
316159
|
|
|
315938
|
-
const {signal} = controller;
|
|
316160
|
+
const { signal } = controller;
|
|
315939
316161
|
|
|
315940
316162
|
signal.unsubscribe = () => _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].asap(unsubscribe);
|
|
315941
316163
|
|
|
315942
316164
|
return signal;
|
|
315943
316165
|
}
|
|
315944
|
-
}
|
|
316166
|
+
};
|
|
315945
316167
|
|
|
315946
316168
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (composeSignals);
|
|
315947
316169
|
|
|
315948
316170
|
|
|
315949
316171
|
/***/ }),
|
|
315950
316172
|
|
|
315951
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316173
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/cookies.js":
|
|
315952
316174
|
/*!***************************************************************************************************!*\
|
|
315953
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316175
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/cookies.js ***!
|
|
315954
316176
|
\***************************************************************************************************/
|
|
315955
316177
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315956
316178
|
|
|
@@ -315959,68 +316181,63 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315959
316181
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315960
316182
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
315961
316183
|
/* harmony export */ });
|
|
315962
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315963
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315964
|
-
|
|
316184
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
316185
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/index.js");
|
|
315965
316186
|
|
|
315966
316187
|
|
|
315967
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv ?
|
|
315968
316188
|
|
|
315969
|
-
|
|
315970
|
-
|
|
315971
|
-
|
|
315972
|
-
|
|
316189
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv
|
|
316190
|
+
? // Standard browser envs support document.cookie
|
|
316191
|
+
{
|
|
316192
|
+
write(name, value, expires, path, domain, secure, sameSite) {
|
|
316193
|
+
if (typeof document === 'undefined') return;
|
|
315973
316194
|
|
|
315974
|
-
|
|
316195
|
+
const cookie = [`${name}=${encodeURIComponent(value)}`];
|
|
315975
316196
|
|
|
315976
|
-
|
|
315977
|
-
|
|
315978
|
-
|
|
315979
|
-
|
|
315980
|
-
|
|
315981
|
-
|
|
315982
|
-
|
|
315983
|
-
|
|
315984
|
-
|
|
315985
|
-
|
|
315986
|
-
|
|
315987
|
-
|
|
315988
|
-
|
|
315989
|
-
|
|
315990
|
-
|
|
316197
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isNumber(expires)) {
|
|
316198
|
+
cookie.push(`expires=${new Date(expires).toUTCString()}`);
|
|
316199
|
+
}
|
|
316200
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isString(path)) {
|
|
316201
|
+
cookie.push(`path=${path}`);
|
|
316202
|
+
}
|
|
316203
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isString(domain)) {
|
|
316204
|
+
cookie.push(`domain=${domain}`);
|
|
316205
|
+
}
|
|
316206
|
+
if (secure === true) {
|
|
316207
|
+
cookie.push('secure');
|
|
316208
|
+
}
|
|
316209
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isString(sameSite)) {
|
|
316210
|
+
cookie.push(`SameSite=${sameSite}`);
|
|
316211
|
+
}
|
|
315991
316212
|
|
|
315992
|
-
|
|
315993
|
-
|
|
316213
|
+
document.cookie = cookie.join('; ');
|
|
316214
|
+
},
|
|
315994
316215
|
|
|
315995
|
-
|
|
315996
|
-
|
|
315997
|
-
|
|
315998
|
-
|
|
315999
|
-
|
|
316216
|
+
read(name) {
|
|
316217
|
+
if (typeof document === 'undefined') return null;
|
|
316218
|
+
const match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));
|
|
316219
|
+
return match ? decodeURIComponent(match[1]) : null;
|
|
316220
|
+
},
|
|
316000
316221
|
|
|
316001
|
-
|
|
316002
|
-
|
|
316222
|
+
remove(name) {
|
|
316223
|
+
this.write(name, '', Date.now() - 86400000, '/');
|
|
316224
|
+
},
|
|
316003
316225
|
}
|
|
316004
|
-
|
|
316005
|
-
|
|
316006
|
-
|
|
316007
|
-
|
|
316008
|
-
|
|
316009
|
-
|
|
316010
|
-
|
|
316011
|
-
|
|
316012
|
-
return null;
|
|
316013
|
-
},
|
|
316014
|
-
remove() {}
|
|
316015
|
-
});
|
|
316016
|
-
|
|
316226
|
+
: // Non-standard browser env (web workers, react-native) lack needed support.
|
|
316227
|
+
{
|
|
316228
|
+
write() {},
|
|
316229
|
+
read() {
|
|
316230
|
+
return null;
|
|
316231
|
+
},
|
|
316232
|
+
remove() {},
|
|
316233
|
+
});
|
|
316017
316234
|
|
|
316018
316235
|
|
|
316019
316236
|
/***/ }),
|
|
316020
316237
|
|
|
316021
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316238
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/formDataToJSON.js":
|
|
316022
316239
|
/*!**********************************************************************************************************!*\
|
|
316023
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316240
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/formDataToJSON.js ***!
|
|
316024
316241
|
\**********************************************************************************************************/
|
|
316025
316242
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316026
316243
|
|
|
@@ -316029,7 +316246,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316029
316246
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316030
316247
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
316031
316248
|
/* harmony export */ });
|
|
316032
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316249
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
316033
316250
|
|
|
316034
316251
|
|
|
316035
316252
|
|
|
@@ -316046,7 +316263,7 @@ function parsePropPath(name) {
|
|
|
316046
316263
|
// foo.x.y.z
|
|
316047
316264
|
// foo-x-y-z
|
|
316048
316265
|
// foo x y z
|
|
316049
|
-
return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].matchAll(/\w+|\[(\w*)]/g, name).map(match => {
|
|
316266
|
+
return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
|
|
316050
316267
|
return match[0] === '[]' ? '' : match[1] || match[0];
|
|
316051
316268
|
});
|
|
316052
316269
|
}
|
|
@@ -316129,9 +316346,9 @@ function formDataToJSON(formData) {
|
|
|
316129
316346
|
|
|
316130
316347
|
/***/ }),
|
|
316131
316348
|
|
|
316132
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316349
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isAbsoluteURL.js":
|
|
316133
316350
|
/*!*********************************************************************************************************!*\
|
|
316134
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316351
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isAbsoluteURL.js ***!
|
|
316135
316352
|
\*********************************************************************************************************/
|
|
316136
316353
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316137
316354
|
|
|
@@ -316161,12 +316378,11 @@ function isAbsoluteURL(url) {
|
|
|
316161
316378
|
}
|
|
316162
316379
|
|
|
316163
316380
|
|
|
316164
|
-
|
|
316165
316381
|
/***/ }),
|
|
316166
316382
|
|
|
316167
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316383
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isAxiosError.js":
|
|
316168
316384
|
/*!********************************************************************************************************!*\
|
|
316169
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316385
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isAxiosError.js ***!
|
|
316170
316386
|
\********************************************************************************************************/
|
|
316171
316387
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316172
316388
|
|
|
@@ -316175,7 +316391,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316175
316391
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316176
316392
|
/* harmony export */ "default": () => (/* binding */ isAxiosError)
|
|
316177
316393
|
/* harmony export */ });
|
|
316178
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316394
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
316179
316395
|
|
|
316180
316396
|
|
|
316181
316397
|
|
|
@@ -316188,15 +316404,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316188
316404
|
* @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
|
|
316189
316405
|
*/
|
|
316190
316406
|
function isAxiosError(payload) {
|
|
316191
|
-
return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(payload) &&
|
|
316407
|
+
return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(payload) && payload.isAxiosError === true;
|
|
316192
316408
|
}
|
|
316193
316409
|
|
|
316194
316410
|
|
|
316195
316411
|
/***/ }),
|
|
316196
316412
|
|
|
316197
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316413
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isURLSameOrigin.js":
|
|
316198
316414
|
/*!***********************************************************************************************************!*\
|
|
316199
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316415
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isURLSameOrigin.js ***!
|
|
316200
316416
|
\***********************************************************************************************************/
|
|
316201
316417
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316202
316418
|
|
|
@@ -316205,28 +316421,30 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316205
316421
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316206
316422
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
316207
316423
|
/* harmony export */ });
|
|
316208
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316424
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/index.js");
|
|
316209
316425
|
|
|
316210
316426
|
|
|
316211
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv
|
|
316212
|
-
|
|
316427
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv
|
|
316428
|
+
? ((origin, isMSIE) => (url) => {
|
|
316429
|
+
url = new URL(url, _platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].origin);
|
|
316213
316430
|
|
|
316214
|
-
|
|
316215
|
-
|
|
316216
|
-
|
|
316217
|
-
|
|
316218
|
-
|
|
316219
|
-
})(
|
|
316220
|
-
|
|
316221
|
-
|
|
316222
|
-
)
|
|
316431
|
+
return (
|
|
316432
|
+
origin.protocol === url.protocol &&
|
|
316433
|
+
origin.host === url.host &&
|
|
316434
|
+
(isMSIE || origin.port === url.port)
|
|
316435
|
+
);
|
|
316436
|
+
})(
|
|
316437
|
+
new URL(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].origin),
|
|
316438
|
+
_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].navigator && /(msie|trident)/i.test(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].navigator.userAgent)
|
|
316439
|
+
)
|
|
316440
|
+
: () => true);
|
|
316223
316441
|
|
|
316224
316442
|
|
|
316225
316443
|
/***/ }),
|
|
316226
316444
|
|
|
316227
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316445
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/null.js":
|
|
316228
316446
|
/*!************************************************************************************************!*\
|
|
316229
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316447
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/null.js ***!
|
|
316230
316448
|
\************************************************************************************************/
|
|
316231
316449
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316232
316450
|
|
|
@@ -316241,9 +316459,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316241
316459
|
|
|
316242
316460
|
/***/ }),
|
|
316243
316461
|
|
|
316244
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316462
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/parseHeaders.js":
|
|
316245
316463
|
/*!********************************************************************************************************!*\
|
|
316246
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316464
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/parseHeaders.js ***!
|
|
316247
316465
|
\********************************************************************************************************/
|
|
316248
316466
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316249
316467
|
|
|
@@ -316252,7 +316470,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316252
316470
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316253
316471
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
316254
316472
|
/* harmony export */ });
|
|
316255
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316473
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
316256
316474
|
|
|
316257
316475
|
|
|
316258
316476
|
|
|
@@ -316260,10 +316478,23 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316260
316478
|
// RawAxiosHeaders whose duplicates are ignored by node
|
|
316261
316479
|
// c.f. https://nodejs.org/api/http.html#http_message_headers
|
|
316262
316480
|
const ignoreDuplicateOf = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toObjectSet([
|
|
316263
|
-
'age',
|
|
316264
|
-
'
|
|
316265
|
-
'
|
|
316266
|
-
'
|
|
316481
|
+
'age',
|
|
316482
|
+
'authorization',
|
|
316483
|
+
'content-length',
|
|
316484
|
+
'content-type',
|
|
316485
|
+
'etag',
|
|
316486
|
+
'expires',
|
|
316487
|
+
'from',
|
|
316488
|
+
'host',
|
|
316489
|
+
'if-modified-since',
|
|
316490
|
+
'if-unmodified-since',
|
|
316491
|
+
'last-modified',
|
|
316492
|
+
'location',
|
|
316493
|
+
'max-forwards',
|
|
316494
|
+
'proxy-authorization',
|
|
316495
|
+
'referer',
|
|
316496
|
+
'retry-after',
|
|
316497
|
+
'user-agent',
|
|
316267
316498
|
]);
|
|
316268
316499
|
|
|
316269
316500
|
/**
|
|
@@ -316280,31 +316511,32 @@ const ignoreDuplicateOf = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toOb
|
|
|
316280
316511
|
*
|
|
316281
316512
|
* @returns {Object} Headers parsed into an object
|
|
316282
316513
|
*/
|
|
316283
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (rawHeaders => {
|
|
316514
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((rawHeaders) => {
|
|
316284
316515
|
const parsed = {};
|
|
316285
316516
|
let key;
|
|
316286
316517
|
let val;
|
|
316287
316518
|
let i;
|
|
316288
316519
|
|
|
316289
|
-
rawHeaders &&
|
|
316290
|
-
|
|
316291
|
-
|
|
316292
|
-
|
|
316520
|
+
rawHeaders &&
|
|
316521
|
+
rawHeaders.split('\n').forEach(function parser(line) {
|
|
316522
|
+
i = line.indexOf(':');
|
|
316523
|
+
key = line.substring(0, i).trim().toLowerCase();
|
|
316524
|
+
val = line.substring(i + 1).trim();
|
|
316293
316525
|
|
|
316294
|
-
|
|
316295
|
-
|
|
316296
|
-
|
|
316526
|
+
if (!key || (parsed[key] && ignoreDuplicateOf[key])) {
|
|
316527
|
+
return;
|
|
316528
|
+
}
|
|
316297
316529
|
|
|
316298
|
-
|
|
316299
|
-
|
|
316300
|
-
|
|
316530
|
+
if (key === 'set-cookie') {
|
|
316531
|
+
if (parsed[key]) {
|
|
316532
|
+
parsed[key].push(val);
|
|
316533
|
+
} else {
|
|
316534
|
+
parsed[key] = [val];
|
|
316535
|
+
}
|
|
316301
316536
|
} else {
|
|
316302
|
-
parsed[key] = [val
|
|
316537
|
+
parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
|
|
316303
316538
|
}
|
|
316304
|
-
}
|
|
316305
|
-
parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
|
|
316306
|
-
}
|
|
316307
|
-
});
|
|
316539
|
+
});
|
|
316308
316540
|
|
|
316309
316541
|
return parsed;
|
|
316310
316542
|
});
|
|
@@ -316312,9 +316544,9 @@ const ignoreDuplicateOf = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toOb
|
|
|
316312
316544
|
|
|
316313
316545
|
/***/ }),
|
|
316314
316546
|
|
|
316315
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316547
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/parseProtocol.js":
|
|
316316
316548
|
/*!*********************************************************************************************************!*\
|
|
316317
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316549
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/parseProtocol.js ***!
|
|
316318
316550
|
\*********************************************************************************************************/
|
|
316319
316551
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316320
316552
|
|
|
@@ -316327,15 +316559,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316327
316559
|
|
|
316328
316560
|
function parseProtocol(url) {
|
|
316329
316561
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
|
|
316330
|
-
return match && match[1] || '';
|
|
316562
|
+
return (match && match[1]) || '';
|
|
316331
316563
|
}
|
|
316332
316564
|
|
|
316333
316565
|
|
|
316334
316566
|
/***/ }),
|
|
316335
316567
|
|
|
316336
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316568
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/progressEventReducer.js":
|
|
316337
316569
|
/*!****************************************************************************************************************!*\
|
|
316338
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316570
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/progressEventReducer.js ***!
|
|
316339
316571
|
\****************************************************************************************************************/
|
|
316340
316572
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316341
316573
|
|
|
@@ -316346,9 +316578,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316346
316578
|
/* harmony export */ progressEventDecorator: () => (/* binding */ progressEventDecorator),
|
|
316347
316579
|
/* harmony export */ progressEventReducer: () => (/* binding */ progressEventReducer)
|
|
316348
316580
|
/* harmony export */ });
|
|
316349
|
-
/* harmony import */ var _speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./speedometer.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316350
|
-
/* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./throttle.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316351
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316581
|
+
/* harmony import */ var _speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./speedometer.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/speedometer.js");
|
|
316582
|
+
/* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./throttle.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/throttle.js");
|
|
316583
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
316352
316584
|
|
|
316353
316585
|
|
|
316354
316586
|
|
|
@@ -316357,7 +316589,7 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
|
316357
316589
|
let bytesNotified = 0;
|
|
316358
316590
|
const _speedometer = (0,_speedometer_js__WEBPACK_IMPORTED_MODULE_0__["default"])(50, 250);
|
|
316359
316591
|
|
|
316360
|
-
return (0,_throttle_js__WEBPACK_IMPORTED_MODULE_1__["default"])(e => {
|
|
316592
|
+
return (0,_throttle_js__WEBPACK_IMPORTED_MODULE_1__["default"])((e) => {
|
|
316361
316593
|
const loaded = e.loaded;
|
|
316362
316594
|
const total = e.lengthComputable ? e.total : undefined;
|
|
316363
316595
|
const progressBytes = loaded - bytesNotified;
|
|
@@ -316369,37 +316601,44 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
|
316369
316601
|
const data = {
|
|
316370
316602
|
loaded,
|
|
316371
316603
|
total,
|
|
316372
|
-
progress: total ?
|
|
316604
|
+
progress: total ? loaded / total : undefined,
|
|
316373
316605
|
bytes: progressBytes,
|
|
316374
316606
|
rate: rate ? rate : undefined,
|
|
316375
316607
|
estimated: rate && total && inRange ? (total - loaded) / rate : undefined,
|
|
316376
316608
|
event: e,
|
|
316377
316609
|
lengthComputable: total != null,
|
|
316378
|
-
[isDownloadStream ? 'download' : 'upload']: true
|
|
316610
|
+
[isDownloadStream ? 'download' : 'upload']: true,
|
|
316379
316611
|
};
|
|
316380
316612
|
|
|
316381
316613
|
listener(data);
|
|
316382
316614
|
}, freq);
|
|
316383
|
-
}
|
|
316615
|
+
};
|
|
316384
316616
|
|
|
316385
316617
|
const progressEventDecorator = (total, throttled) => {
|
|
316386
316618
|
const lengthComputable = total != null;
|
|
316387
316619
|
|
|
316388
|
-
return [
|
|
316389
|
-
|
|
316390
|
-
|
|
316391
|
-
|
|
316392
|
-
|
|
316393
|
-
|
|
316620
|
+
return [
|
|
316621
|
+
(loaded) =>
|
|
316622
|
+
throttled[0]({
|
|
316623
|
+
lengthComputable,
|
|
316624
|
+
total,
|
|
316625
|
+
loaded,
|
|
316626
|
+
}),
|
|
316627
|
+
throttled[1],
|
|
316628
|
+
];
|
|
316629
|
+
};
|
|
316394
316630
|
|
|
316395
|
-
const asyncDecorator =
|
|
316631
|
+
const asyncDecorator =
|
|
316632
|
+
(fn) =>
|
|
316633
|
+
(...args) =>
|
|
316634
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].asap(() => fn(...args));
|
|
316396
316635
|
|
|
316397
316636
|
|
|
316398
316637
|
/***/ }),
|
|
316399
316638
|
|
|
316400
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316639
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/resolveConfig.js":
|
|
316401
316640
|
/*!*********************************************************************************************************!*\
|
|
316402
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316641
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/resolveConfig.js ***!
|
|
316403
316642
|
\*********************************************************************************************************/
|
|
316404
316643
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316405
316644
|
|
|
@@ -316408,14 +316647,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316408
316647
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316409
316648
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
316410
316649
|
/* harmony export */ });
|
|
316411
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316412
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316413
|
-
/* harmony import */ var _isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isURLSameOrigin.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316414
|
-
/* harmony import */ var _cookies_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cookies.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316415
|
-
/* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316416
|
-
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316417
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316418
|
-
/* harmony import */ var _buildURL_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316650
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/index.js");
|
|
316651
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
316652
|
+
/* harmony import */ var _isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isURLSameOrigin.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isURLSameOrigin.js");
|
|
316653
|
+
/* harmony import */ var _cookies_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cookies.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/cookies.js");
|
|
316654
|
+
/* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/buildFullPath.js");
|
|
316655
|
+
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/mergeConfig.js");
|
|
316656
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
316657
|
+
/* harmony import */ var _buildURL_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/buildURL.js");
|
|
316419
316658
|
|
|
316420
316659
|
|
|
316421
316660
|
|
|
@@ -316432,12 +316671,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316432
316671
|
|
|
316433
316672
|
newConfig.headers = headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(headers);
|
|
316434
316673
|
|
|
316435
|
-
newConfig.url = (0,_buildURL_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
316674
|
+
newConfig.url = (0,_buildURL_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
316675
|
+
(0,_core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_3__["default"])(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls),
|
|
316676
|
+
config.params,
|
|
316677
|
+
config.paramsSerializer
|
|
316678
|
+
);
|
|
316436
316679
|
|
|
316437
316680
|
// HTTP basic authentication
|
|
316438
316681
|
if (auth) {
|
|
316439
|
-
headers.set(
|
|
316440
|
-
|
|
316682
|
+
headers.set(
|
|
316683
|
+
'Authorization',
|
|
316684
|
+
'Basic ' +
|
|
316685
|
+
btoa(
|
|
316686
|
+
(auth.username || '') +
|
|
316687
|
+
':' +
|
|
316688
|
+
(auth.password ? unescape(encodeURIComponent(auth.password)) : '')
|
|
316689
|
+
)
|
|
316441
316690
|
);
|
|
316442
316691
|
}
|
|
316443
316692
|
|
|
@@ -316455,7 +316704,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316455
316704
|
}
|
|
316456
316705
|
});
|
|
316457
316706
|
}
|
|
316458
|
-
}
|
|
316707
|
+
}
|
|
316459
316708
|
|
|
316460
316709
|
// Add xsrf header
|
|
316461
316710
|
// This is only done if running in a standard browser environment.
|
|
@@ -316478,12 +316727,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316478
316727
|
});
|
|
316479
316728
|
|
|
316480
316729
|
|
|
316481
|
-
|
|
316482
316730
|
/***/ }),
|
|
316483
316731
|
|
|
316484
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316732
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/speedometer.js":
|
|
316485
316733
|
/*!*******************************************************************************************************!*\
|
|
316486
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316734
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/speedometer.js ***!
|
|
316487
316735
|
\*******************************************************************************************************/
|
|
316488
316736
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316489
316737
|
|
|
@@ -316542,7 +316790,7 @@ function speedometer(samplesCount, min) {
|
|
|
316542
316790
|
|
|
316543
316791
|
const passed = startedAt && now - startedAt;
|
|
316544
316792
|
|
|
316545
|
-
return passed ? Math.round(bytesCount * 1000 / passed) : undefined;
|
|
316793
|
+
return passed ? Math.round((bytesCount * 1000) / passed) : undefined;
|
|
316546
316794
|
};
|
|
316547
316795
|
}
|
|
316548
316796
|
|
|
@@ -316551,9 +316799,9 @@ function speedometer(samplesCount, min) {
|
|
|
316551
316799
|
|
|
316552
316800
|
/***/ }),
|
|
316553
316801
|
|
|
316554
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316802
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/spread.js":
|
|
316555
316803
|
/*!**************************************************************************************************!*\
|
|
316556
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316804
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/spread.js ***!
|
|
316557
316805
|
\**************************************************************************************************/
|
|
316558
316806
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316559
316807
|
|
|
@@ -316594,9 +316842,9 @@ function spread(callback) {
|
|
|
316594
316842
|
|
|
316595
316843
|
/***/ }),
|
|
316596
316844
|
|
|
316597
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316845
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/throttle.js":
|
|
316598
316846
|
/*!****************************************************************************************************!*\
|
|
316599
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316847
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/throttle.js ***!
|
|
316600
316848
|
\****************************************************************************************************/
|
|
316601
316849
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316602
316850
|
|
|
@@ -316625,23 +316873,23 @@ function throttle(fn, freq) {
|
|
|
316625
316873
|
timer = null;
|
|
316626
316874
|
}
|
|
316627
316875
|
fn(...args);
|
|
316628
|
-
}
|
|
316876
|
+
};
|
|
316629
316877
|
|
|
316630
316878
|
const throttled = (...args) => {
|
|
316631
316879
|
const now = Date.now();
|
|
316632
316880
|
const passed = now - timestamp;
|
|
316633
|
-
if (
|
|
316881
|
+
if (passed >= threshold) {
|
|
316634
316882
|
invoke(args, now);
|
|
316635
316883
|
} else {
|
|
316636
316884
|
lastArgs = args;
|
|
316637
316885
|
if (!timer) {
|
|
316638
316886
|
timer = setTimeout(() => {
|
|
316639
316887
|
timer = null;
|
|
316640
|
-
invoke(lastArgs)
|
|
316888
|
+
invoke(lastArgs);
|
|
316641
316889
|
}, threshold - passed);
|
|
316642
316890
|
}
|
|
316643
316891
|
}
|
|
316644
|
-
}
|
|
316892
|
+
};
|
|
316645
316893
|
|
|
316646
316894
|
const flush = () => lastArgs && invoke(lastArgs);
|
|
316647
316895
|
|
|
@@ -316653,9 +316901,9 @@ function throttle(fn, freq) {
|
|
|
316653
316901
|
|
|
316654
316902
|
/***/ }),
|
|
316655
316903
|
|
|
316656
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316904
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toFormData.js":
|
|
316657
316905
|
/*!******************************************************************************************************!*\
|
|
316658
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316906
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toFormData.js ***!
|
|
316659
316907
|
\******************************************************************************************************/
|
|
316660
316908
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316661
316909
|
|
|
@@ -316664,9 +316912,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316664
316912
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316665
316913
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
316666
316914
|
/* harmony export */ });
|
|
316667
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316668
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316669
|
-
/* harmony import */ var _platform_node_classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/node/classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316915
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
316916
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js");
|
|
316917
|
+
/* harmony import */ var _platform_node_classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/node/classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/null.js");
|
|
316670
316918
|
|
|
316671
316919
|
|
|
316672
316920
|
|
|
@@ -316707,11 +316955,14 @@ function removeBrackets(key) {
|
|
|
316707
316955
|
*/
|
|
316708
316956
|
function renderKey(path, key, dots) {
|
|
316709
316957
|
if (!path) return key;
|
|
316710
|
-
return path
|
|
316711
|
-
|
|
316712
|
-
|
|
316713
|
-
|
|
316714
|
-
|
|
316958
|
+
return path
|
|
316959
|
+
.concat(key)
|
|
316960
|
+
.map(function each(token, i) {
|
|
316961
|
+
// eslint-disable-next-line no-param-reassign
|
|
316962
|
+
token = removeBrackets(token);
|
|
316963
|
+
return !dots && i ? '[' + token + ']' : token;
|
|
316964
|
+
})
|
|
316965
|
+
.join(dots ? '.' : '');
|
|
316715
316966
|
}
|
|
316716
316967
|
|
|
316717
316968
|
/**
|
|
@@ -316761,21 +317012,26 @@ function toFormData(obj, formData, options) {
|
|
|
316761
317012
|
formData = formData || new (_platform_node_classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__["default"] || FormData)();
|
|
316762
317013
|
|
|
316763
317014
|
// eslint-disable-next-line no-param-reassign
|
|
316764
|
-
options = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toFlatObject(
|
|
316765
|
-
|
|
316766
|
-
|
|
316767
|
-
|
|
316768
|
-
|
|
316769
|
-
|
|
316770
|
-
|
|
316771
|
-
|
|
317015
|
+
options = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toFlatObject(
|
|
317016
|
+
options,
|
|
317017
|
+
{
|
|
317018
|
+
metaTokens: true,
|
|
317019
|
+
dots: false,
|
|
317020
|
+
indexes: false,
|
|
317021
|
+
},
|
|
317022
|
+
false,
|
|
317023
|
+
function defined(option, source) {
|
|
317024
|
+
// eslint-disable-next-line no-eq-null,eqeqeq
|
|
317025
|
+
return !_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(source[option]);
|
|
317026
|
+
}
|
|
317027
|
+
);
|
|
316772
317028
|
|
|
316773
317029
|
const metaTokens = options.metaTokens;
|
|
316774
317030
|
// eslint-disable-next-line no-use-before-define
|
|
316775
317031
|
const visitor = options.visitor || defaultVisitor;
|
|
316776
317032
|
const dots = options.dots;
|
|
316777
317033
|
const indexes = options.indexes;
|
|
316778
|
-
const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob;
|
|
317034
|
+
const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob);
|
|
316779
317035
|
const useBlob = _Blob && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isSpecCompliantForm(formData);
|
|
316780
317036
|
|
|
316781
317037
|
if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFunction(visitor)) {
|
|
@@ -316817,6 +317073,11 @@ function toFormData(obj, formData, options) {
|
|
|
316817
317073
|
function defaultVisitor(value, key, path) {
|
|
316818
317074
|
let arr = value;
|
|
316819
317075
|
|
|
317076
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReactNative(formData) && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReactNativeBlob(value)) {
|
|
317077
|
+
formData.append(renderKey(path, key, dots), convertValue(value));
|
|
317078
|
+
return false;
|
|
317079
|
+
}
|
|
317080
|
+
|
|
316820
317081
|
if (value && !path && typeof value === 'object') {
|
|
316821
317082
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].endsWith(key, '{}')) {
|
|
316822
317083
|
// eslint-disable-next-line no-param-reassign
|
|
@@ -316825,17 +317086,22 @@ function toFormData(obj, formData, options) {
|
|
|
316825
317086
|
value = JSON.stringify(value);
|
|
316826
317087
|
} else if (
|
|
316827
317088
|
(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value) && isFlatArray(value)) ||
|
|
316828
|
-
((_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFileList(value) || _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].endsWith(key, '[]')) && (arr = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toArray(value))
|
|
316829
|
-
|
|
317089
|
+
((_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFileList(value) || _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].endsWith(key, '[]')) && (arr = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toArray(value)))
|
|
317090
|
+
) {
|
|
316830
317091
|
// eslint-disable-next-line no-param-reassign
|
|
316831
317092
|
key = removeBrackets(key);
|
|
316832
317093
|
|
|
316833
317094
|
arr.forEach(function each(el, index) {
|
|
316834
|
-
!(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(el) || el === null) &&
|
|
316835
|
-
|
|
316836
|
-
|
|
316837
|
-
|
|
316838
|
-
|
|
317095
|
+
!(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(el) || el === null) &&
|
|
317096
|
+
formData.append(
|
|
317097
|
+
// eslint-disable-next-line no-nested-ternary
|
|
317098
|
+
indexes === true
|
|
317099
|
+
? renderKey([key], index, dots)
|
|
317100
|
+
: indexes === null
|
|
317101
|
+
? key
|
|
317102
|
+
: key + '[]',
|
|
317103
|
+
convertValue(el)
|
|
317104
|
+
);
|
|
316839
317105
|
});
|
|
316840
317106
|
return false;
|
|
316841
317107
|
}
|
|
@@ -316855,7 +317121,7 @@ function toFormData(obj, formData, options) {
|
|
|
316855
317121
|
const exposedHelpers = Object.assign(predicates, {
|
|
316856
317122
|
defaultVisitor,
|
|
316857
317123
|
convertValue,
|
|
316858
|
-
isVisitable
|
|
317124
|
+
isVisitable,
|
|
316859
317125
|
});
|
|
316860
317126
|
|
|
316861
317127
|
function build(value, path) {
|
|
@@ -316868,9 +317134,9 @@ function toFormData(obj, formData, options) {
|
|
|
316868
317134
|
stack.push(value);
|
|
316869
317135
|
|
|
316870
317136
|
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(value, function each(el, key) {
|
|
316871
|
-
const result =
|
|
316872
|
-
|
|
316873
|
-
|
|
317137
|
+
const result =
|
|
317138
|
+
!(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(el) || el === null) &&
|
|
317139
|
+
visitor.call(formData, el, _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(key) ? key.trim() : key, path, exposedHelpers);
|
|
316874
317140
|
|
|
316875
317141
|
if (result === true) {
|
|
316876
317142
|
build(el, path ? path.concat(key) : [key]);
|
|
@@ -316894,9 +317160,9 @@ function toFormData(obj, formData, options) {
|
|
|
316894
317160
|
|
|
316895
317161
|
/***/ }),
|
|
316896
317162
|
|
|
316897
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317163
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toURLEncodedForm.js":
|
|
316898
317164
|
/*!************************************************************************************************************!*\
|
|
316899
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317165
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toURLEncodedForm.js ***!
|
|
316900
317166
|
\************************************************************************************************************/
|
|
316901
317167
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316902
317168
|
|
|
@@ -316905,9 +317171,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316905
317171
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316906
317172
|
/* harmony export */ "default": () => (/* binding */ toURLEncodedForm)
|
|
316907
317173
|
/* harmony export */ });
|
|
316908
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316909
|
-
/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316910
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317174
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
317175
|
+
/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toFormData.js");
|
|
317176
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/index.js");
|
|
316911
317177
|
|
|
316912
317178
|
|
|
316913
317179
|
|
|
@@ -316916,7 +317182,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316916
317182
|
|
|
316917
317183
|
function toURLEncodedForm(data, options) {
|
|
316918
317184
|
return (0,_toFormData_js__WEBPACK_IMPORTED_MODULE_0__["default"])(data, new _platform_index_js__WEBPACK_IMPORTED_MODULE_1__["default"].classes.URLSearchParams(), {
|
|
316919
|
-
visitor: function(value, key, path, helpers) {
|
|
317185
|
+
visitor: function (value, key, path, helpers) {
|
|
316920
317186
|
if (_platform_index_js__WEBPACK_IMPORTED_MODULE_1__["default"].isNode && _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].isBuffer(value)) {
|
|
316921
317187
|
this.append(key, value.toString('base64'));
|
|
316922
317188
|
return false;
|
|
@@ -316924,16 +317190,16 @@ function toURLEncodedForm(data, options) {
|
|
|
316924
317190
|
|
|
316925
317191
|
return helpers.defaultVisitor.apply(this, arguments);
|
|
316926
317192
|
},
|
|
316927
|
-
...options
|
|
317193
|
+
...options,
|
|
316928
317194
|
});
|
|
316929
317195
|
}
|
|
316930
317196
|
|
|
316931
317197
|
|
|
316932
317198
|
/***/ }),
|
|
316933
317199
|
|
|
316934
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317200
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/trackStream.js":
|
|
316935
317201
|
/*!*******************************************************************************************************!*\
|
|
316936
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317202
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/trackStream.js ***!
|
|
316937
317203
|
\*******************************************************************************************************/
|
|
316938
317204
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316939
317205
|
|
|
@@ -316944,7 +317210,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316944
317210
|
/* harmony export */ streamChunk: () => (/* binding */ streamChunk),
|
|
316945
317211
|
/* harmony export */ trackStream: () => (/* binding */ trackStream)
|
|
316946
317212
|
/* harmony export */ });
|
|
316947
|
-
|
|
316948
317213
|
const streamChunk = function* (chunk, chunkSize) {
|
|
316949
317214
|
let len = chunk.byteLength;
|
|
316950
317215
|
|
|
@@ -316961,13 +317226,13 @@ const streamChunk = function* (chunk, chunkSize) {
|
|
|
316961
317226
|
yield chunk.slice(pos, end);
|
|
316962
317227
|
pos = end;
|
|
316963
317228
|
}
|
|
316964
|
-
}
|
|
317229
|
+
};
|
|
316965
317230
|
|
|
316966
317231
|
const readBytes = async function* (iterable, chunkSize) {
|
|
316967
317232
|
for await (const chunk of readStream(iterable)) {
|
|
316968
317233
|
yield* streamChunk(chunk, chunkSize);
|
|
316969
317234
|
}
|
|
316970
|
-
}
|
|
317235
|
+
};
|
|
316971
317236
|
|
|
316972
317237
|
const readStream = async function* (stream) {
|
|
316973
317238
|
if (stream[Symbol.asyncIterator]) {
|
|
@@ -316978,7 +317243,7 @@ const readStream = async function* (stream) {
|
|
|
316978
317243
|
const reader = stream.getReader();
|
|
316979
317244
|
try {
|
|
316980
317245
|
for (;;) {
|
|
316981
|
-
const {done, value} = await reader.read();
|
|
317246
|
+
const { done, value } = await reader.read();
|
|
316982
317247
|
if (done) {
|
|
316983
317248
|
break;
|
|
316984
317249
|
}
|
|
@@ -316987,7 +317252,7 @@ const readStream = async function* (stream) {
|
|
|
316987
317252
|
} finally {
|
|
316988
317253
|
await reader.cancel();
|
|
316989
317254
|
}
|
|
316990
|
-
}
|
|
317255
|
+
};
|
|
316991
317256
|
|
|
316992
317257
|
const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
316993
317258
|
const iterator = readBytes(stream, chunkSize);
|
|
@@ -316999,45 +317264,48 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
|
316999
317264
|
done = true;
|
|
317000
317265
|
onFinish && onFinish(e);
|
|
317001
317266
|
}
|
|
317002
|
-
}
|
|
317267
|
+
};
|
|
317003
317268
|
|
|
317004
|
-
return new ReadableStream(
|
|
317005
|
-
|
|
317006
|
-
|
|
317007
|
-
|
|
317269
|
+
return new ReadableStream(
|
|
317270
|
+
{
|
|
317271
|
+
async pull(controller) {
|
|
317272
|
+
try {
|
|
317273
|
+
const { done, value } = await iterator.next();
|
|
317008
317274
|
|
|
317009
|
-
|
|
317010
|
-
|
|
317011
|
-
|
|
317012
|
-
|
|
317013
|
-
|
|
317275
|
+
if (done) {
|
|
317276
|
+
_onFinish();
|
|
317277
|
+
controller.close();
|
|
317278
|
+
return;
|
|
317279
|
+
}
|
|
317014
317280
|
|
|
317015
|
-
|
|
317016
|
-
|
|
317017
|
-
|
|
317018
|
-
|
|
317281
|
+
let len = value.byteLength;
|
|
317282
|
+
if (onProgress) {
|
|
317283
|
+
let loadedBytes = (bytes += len);
|
|
317284
|
+
onProgress(loadedBytes);
|
|
317285
|
+
}
|
|
317286
|
+
controller.enqueue(new Uint8Array(value));
|
|
317287
|
+
} catch (err) {
|
|
317288
|
+
_onFinish(err);
|
|
317289
|
+
throw err;
|
|
317019
317290
|
}
|
|
317020
|
-
|
|
317021
|
-
|
|
317022
|
-
_onFinish(
|
|
317023
|
-
|
|
317024
|
-
}
|
|
317291
|
+
},
|
|
317292
|
+
cancel(reason) {
|
|
317293
|
+
_onFinish(reason);
|
|
317294
|
+
return iterator.return();
|
|
317295
|
+
},
|
|
317025
317296
|
},
|
|
317026
|
-
|
|
317027
|
-
|
|
317028
|
-
return iterator.return();
|
|
317297
|
+
{
|
|
317298
|
+
highWaterMark: 2,
|
|
317029
317299
|
}
|
|
317030
|
-
|
|
317031
|
-
|
|
317032
|
-
})
|
|
317033
|
-
}
|
|
317300
|
+
);
|
|
317301
|
+
};
|
|
317034
317302
|
|
|
317035
317303
|
|
|
317036
317304
|
/***/ }),
|
|
317037
317305
|
|
|
317038
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317306
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/validator.js":
|
|
317039
317307
|
/*!*****************************************************************************************************!*\
|
|
317040
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317308
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/validator.js ***!
|
|
317041
317309
|
\*****************************************************************************************************/
|
|
317042
317310
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317043
317311
|
|
|
@@ -317046,8 +317314,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317046
317314
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
317047
317315
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
317048
317316
|
/* harmony export */ });
|
|
317049
|
-
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317050
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317317
|
+
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/env/data.js");
|
|
317318
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js");
|
|
317051
317319
|
|
|
317052
317320
|
|
|
317053
317321
|
|
|
@@ -317075,7 +317343,15 @@ const deprecatedWarnings = {};
|
|
|
317075
317343
|
*/
|
|
317076
317344
|
validators.transitional = function transitional(validator, version, message) {
|
|
317077
317345
|
function formatMessage(opt, desc) {
|
|
317078
|
-
return
|
|
317346
|
+
return (
|
|
317347
|
+
'[Axios v' +
|
|
317348
|
+
_env_data_js__WEBPACK_IMPORTED_MODULE_0__.VERSION +
|
|
317349
|
+
"] Transitional option '" +
|
|
317350
|
+
opt +
|
|
317351
|
+
"'" +
|
|
317352
|
+
desc +
|
|
317353
|
+
(message ? '. ' + message : '')
|
|
317354
|
+
);
|
|
317079
317355
|
}
|
|
317080
317356
|
|
|
317081
317357
|
// eslint-disable-next-line func-names
|
|
@@ -317107,7 +317383,7 @@ validators.spelling = function spelling(correctSpelling) {
|
|
|
317107
317383
|
// eslint-disable-next-line no-console
|
|
317108
317384
|
console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);
|
|
317109
317385
|
return true;
|
|
317110
|
-
}
|
|
317386
|
+
};
|
|
317111
317387
|
};
|
|
317112
317388
|
|
|
317113
317389
|
/**
|
|
@@ -317133,7 +317409,10 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
317133
317409
|
const value = options[opt];
|
|
317134
317410
|
const result = value === undefined || validator(value, opt, options);
|
|
317135
317411
|
if (result !== true) {
|
|
317136
|
-
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"](
|
|
317412
|
+
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"](
|
|
317413
|
+
'option ' + opt + ' must be ' + result,
|
|
317414
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"].ERR_BAD_OPTION_VALUE
|
|
317415
|
+
);
|
|
317137
317416
|
}
|
|
317138
317417
|
continue;
|
|
317139
317418
|
}
|
|
@@ -317145,15 +317424,15 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
317145
317424
|
|
|
317146
317425
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
317147
317426
|
assertOptions,
|
|
317148
|
-
validators
|
|
317427
|
+
validators,
|
|
317149
317428
|
});
|
|
317150
317429
|
|
|
317151
317430
|
|
|
317152
317431
|
/***/ }),
|
|
317153
317432
|
|
|
317154
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317433
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/Blob.js":
|
|
317155
317434
|
/*!*****************************************************************************************************************!*\
|
|
317156
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317435
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/Blob.js ***!
|
|
317157
317436
|
\*****************************************************************************************************************/
|
|
317158
317437
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317159
317438
|
|
|
@@ -317169,9 +317448,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317169
317448
|
|
|
317170
317449
|
/***/ }),
|
|
317171
317450
|
|
|
317172
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317451
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/FormData.js":
|
|
317173
317452
|
/*!*********************************************************************************************************************!*\
|
|
317174
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317453
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/FormData.js ***!
|
|
317175
317454
|
\*********************************************************************************************************************/
|
|
317176
317455
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317177
317456
|
|
|
@@ -317187,9 +317466,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317187
317466
|
|
|
317188
317467
|
/***/ }),
|
|
317189
317468
|
|
|
317190
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317469
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js":
|
|
317191
317470
|
/*!****************************************************************************************************************************!*\
|
|
317192
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317471
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js ***!
|
|
317193
317472
|
\****************************************************************************************************************************/
|
|
317194
317473
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317195
317474
|
|
|
@@ -317198,7 +317477,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317198
317477
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
317199
317478
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
317200
317479
|
/* harmony export */ });
|
|
317201
|
-
/* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317480
|
+
/* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/AxiosURLSearchParams.js");
|
|
317202
317481
|
|
|
317203
317482
|
|
|
317204
317483
|
|
|
@@ -317207,9 +317486,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317207
317486
|
|
|
317208
317487
|
/***/ }),
|
|
317209
317488
|
|
|
317210
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317489
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/index.js":
|
|
317211
317490
|
/*!**********************************************************************************************************!*\
|
|
317212
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317491
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/index.js ***!
|
|
317213
317492
|
\**********************************************************************************************************/
|
|
317214
317493
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317215
317494
|
|
|
@@ -317218,9 +317497,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317218
317497
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
317219
317498
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
317220
317499
|
/* harmony export */ });
|
|
317221
|
-
/* harmony import */ var _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./classes/URLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317222
|
-
/* harmony import */ var _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317223
|
-
/* harmony import */ var _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./classes/Blob.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317500
|
+
/* harmony import */ var _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./classes/URLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js");
|
|
317501
|
+
/* harmony import */ var _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/FormData.js");
|
|
317502
|
+
/* harmony import */ var _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./classes/Blob.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/Blob.js");
|
|
317224
317503
|
|
|
317225
317504
|
|
|
317226
317505
|
|
|
@@ -317230,17 +317509,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317230
317509
|
classes: {
|
|
317231
317510
|
URLSearchParams: _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__["default"],
|
|
317232
317511
|
FormData: _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
317233
|
-
Blob: _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__["default"]
|
|
317512
|
+
Blob: _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__["default"],
|
|
317234
317513
|
},
|
|
317235
|
-
protocols: ['http', 'https', 'file', 'blob', 'url', 'data']
|
|
317514
|
+
protocols: ['http', 'https', 'file', 'blob', 'url', 'data'],
|
|
317236
317515
|
});
|
|
317237
317516
|
|
|
317238
317517
|
|
|
317239
317518
|
/***/ }),
|
|
317240
317519
|
|
|
317241
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317520
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/common/utils.js":
|
|
317242
317521
|
/*!*********************************************************************************************************!*\
|
|
317243
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317522
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/common/utils.js ***!
|
|
317244
317523
|
\*********************************************************************************************************/
|
|
317245
317524
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317246
317525
|
|
|
@@ -317255,7 +317534,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317255
317534
|
/* harmony export */ });
|
|
317256
317535
|
const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
|
|
317257
317536
|
|
|
317258
|
-
const _navigator = typeof navigator === 'object' && navigator || undefined;
|
|
317537
|
+
const _navigator = (typeof navigator === 'object' && navigator) || undefined;
|
|
317259
317538
|
|
|
317260
317539
|
/**
|
|
317261
317540
|
* Determine if we're running in a standard browser environment
|
|
@@ -317274,7 +317553,8 @@ const _navigator = typeof navigator === 'object' && navigator || undefined;
|
|
|
317274
317553
|
*
|
|
317275
317554
|
* @returns {boolean}
|
|
317276
317555
|
*/
|
|
317277
|
-
const hasStandardBrowserEnv =
|
|
317556
|
+
const hasStandardBrowserEnv =
|
|
317557
|
+
hasBrowserEnv &&
|
|
317278
317558
|
(!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);
|
|
317279
317559
|
|
|
317280
317560
|
/**
|
|
@@ -317295,16 +317575,16 @@ const hasStandardBrowserWebWorkerEnv = (() => {
|
|
|
317295
317575
|
);
|
|
317296
317576
|
})();
|
|
317297
317577
|
|
|
317298
|
-
const origin = hasBrowserEnv && window.location.href || 'http://localhost';
|
|
317578
|
+
const origin = (hasBrowserEnv && window.location.href) || 'http://localhost';
|
|
317299
317579
|
|
|
317300
317580
|
|
|
317301
317581
|
|
|
317302
317582
|
|
|
317303
317583
|
/***/ }),
|
|
317304
317584
|
|
|
317305
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317585
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/index.js":
|
|
317306
317586
|
/*!**************************************************************************************************!*\
|
|
317307
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317587
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/index.js ***!
|
|
317308
317588
|
\**************************************************************************************************/
|
|
317309
317589
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317310
317590
|
|
|
@@ -317313,22 +317593,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317313
317593
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
317314
317594
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
317315
317595
|
/* harmony export */ });
|
|
317316
|
-
/* harmony import */ var _node_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317317
|
-
/* harmony import */ var _common_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common/utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317596
|
+
/* harmony import */ var _node_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/index.js");
|
|
317597
|
+
/* harmony import */ var _common_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common/utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/common/utils.js");
|
|
317318
317598
|
|
|
317319
317599
|
|
|
317320
317600
|
|
|
317321
317601
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
317322
317602
|
..._common_utils_js__WEBPACK_IMPORTED_MODULE_0__,
|
|
317323
|
-
..._node_index_js__WEBPACK_IMPORTED_MODULE_1__["default"]
|
|
317603
|
+
..._node_index_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
317324
317604
|
});
|
|
317325
317605
|
|
|
317326
317606
|
|
|
317327
317607
|
/***/ }),
|
|
317328
317608
|
|
|
317329
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317609
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js":
|
|
317330
317610
|
/*!*****************************************************************************************!*\
|
|
317331
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317611
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js ***!
|
|
317332
317612
|
\*****************************************************************************************/
|
|
317333
317613
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317334
317614
|
|
|
@@ -317337,7 +317617,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317337
317617
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
317338
317618
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
317339
317619
|
/* harmony export */ });
|
|
317340
|
-
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317620
|
+
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/bind.js");
|
|
317341
317621
|
|
|
317342
317622
|
|
|
317343
317623
|
|
|
@@ -317376,7 +317656,7 @@ const { isArray } = Array;
|
|
|
317376
317656
|
*
|
|
317377
317657
|
* @returns {boolean} True if the value is undefined, otherwise false
|
|
317378
317658
|
*/
|
|
317379
|
-
const isUndefined = typeOfTest(
|
|
317659
|
+
const isUndefined = typeOfTest('undefined');
|
|
317380
317660
|
|
|
317381
317661
|
/**
|
|
317382
317662
|
* Determine if a value is a Buffer
|
|
@@ -317403,7 +317683,7 @@ function isBuffer(val) {
|
|
|
317403
317683
|
*
|
|
317404
317684
|
* @returns {boolean} True if value is an ArrayBuffer, otherwise false
|
|
317405
317685
|
*/
|
|
317406
|
-
const isArrayBuffer = kindOfTest(
|
|
317686
|
+
const isArrayBuffer = kindOfTest('ArrayBuffer');
|
|
317407
317687
|
|
|
317408
317688
|
/**
|
|
317409
317689
|
* Determine if a value is a view on an ArrayBuffer
|
|
@@ -317414,7 +317694,7 @@ const isArrayBuffer = kindOfTest("ArrayBuffer");
|
|
|
317414
317694
|
*/
|
|
317415
317695
|
function isArrayBufferView(val) {
|
|
317416
317696
|
let result;
|
|
317417
|
-
if (typeof ArrayBuffer !==
|
|
317697
|
+
if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {
|
|
317418
317698
|
result = ArrayBuffer.isView(val);
|
|
317419
317699
|
} else {
|
|
317420
317700
|
result = val && val.buffer && isArrayBuffer(val.buffer);
|
|
@@ -317429,7 +317709,7 @@ function isArrayBufferView(val) {
|
|
|
317429
317709
|
*
|
|
317430
317710
|
* @returns {boolean} True if value is a String, otherwise false
|
|
317431
317711
|
*/
|
|
317432
|
-
const isString = typeOfTest(
|
|
317712
|
+
const isString = typeOfTest('string');
|
|
317433
317713
|
|
|
317434
317714
|
/**
|
|
317435
317715
|
* Determine if a value is a Function
|
|
@@ -317437,7 +317717,7 @@ const isString = typeOfTest("string");
|
|
|
317437
317717
|
* @param {*} val The value to test
|
|
317438
317718
|
* @returns {boolean} True if value is a Function, otherwise false
|
|
317439
317719
|
*/
|
|
317440
|
-
const isFunction = typeOfTest(
|
|
317720
|
+
const isFunction = typeOfTest('function');
|
|
317441
317721
|
|
|
317442
317722
|
/**
|
|
317443
317723
|
* Determine if a value is a Number
|
|
@@ -317446,7 +317726,7 @@ const isFunction = typeOfTest("function");
|
|
|
317446
317726
|
*
|
|
317447
317727
|
* @returns {boolean} True if value is a Number, otherwise false
|
|
317448
317728
|
*/
|
|
317449
|
-
const isNumber = typeOfTest(
|
|
317729
|
+
const isNumber = typeOfTest('number');
|
|
317450
317730
|
|
|
317451
317731
|
/**
|
|
317452
317732
|
* Determine if a value is an Object
|
|
@@ -317455,7 +317735,7 @@ const isNumber = typeOfTest("number");
|
|
|
317455
317735
|
*
|
|
317456
317736
|
* @returns {boolean} True if value is an Object, otherwise false
|
|
317457
317737
|
*/
|
|
317458
|
-
const isObject = (thing) => thing !== null && typeof thing ===
|
|
317738
|
+
const isObject = (thing) => thing !== null && typeof thing === 'object';
|
|
317459
317739
|
|
|
317460
317740
|
/**
|
|
317461
317741
|
* Determine if a value is a Boolean
|
|
@@ -317473,7 +317753,7 @@ const isBoolean = (thing) => thing === true || thing === false;
|
|
|
317473
317753
|
* @returns {boolean} True if value is a plain Object, otherwise false
|
|
317474
317754
|
*/
|
|
317475
317755
|
const isPlainObject = (val) => {
|
|
317476
|
-
if (kindOf(val) !==
|
|
317756
|
+
if (kindOf(val) !== 'object') {
|
|
317477
317757
|
return false;
|
|
317478
317758
|
}
|
|
317479
317759
|
|
|
@@ -317501,10 +317781,7 @@ const isEmptyObject = (val) => {
|
|
|
317501
317781
|
}
|
|
317502
317782
|
|
|
317503
317783
|
try {
|
|
317504
|
-
return (
|
|
317505
|
-
Object.keys(val).length === 0 &&
|
|
317506
|
-
Object.getPrototypeOf(val) === Object.prototype
|
|
317507
|
-
);
|
|
317784
|
+
return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
|
|
317508
317785
|
} catch (e) {
|
|
317509
317786
|
// Fallback for any other objects that might cause RangeError with Object.keys()
|
|
317510
317787
|
return false;
|
|
@@ -317518,7 +317795,7 @@ const isEmptyObject = (val) => {
|
|
|
317518
317795
|
*
|
|
317519
317796
|
* @returns {boolean} True if value is a Date, otherwise false
|
|
317520
317797
|
*/
|
|
317521
|
-
const isDate = kindOfTest(
|
|
317798
|
+
const isDate = kindOfTest('Date');
|
|
317522
317799
|
|
|
317523
317800
|
/**
|
|
317524
317801
|
* Determine if a value is a File
|
|
@@ -317527,7 +317804,32 @@ const isDate = kindOfTest("Date");
|
|
|
317527
317804
|
*
|
|
317528
317805
|
* @returns {boolean} True if value is a File, otherwise false
|
|
317529
317806
|
*/
|
|
317530
|
-
const isFile = kindOfTest(
|
|
317807
|
+
const isFile = kindOfTest('File');
|
|
317808
|
+
|
|
317809
|
+
/**
|
|
317810
|
+
* Determine if a value is a React Native Blob
|
|
317811
|
+
* React Native "blob": an object with a `uri` attribute. Optionally, it can
|
|
317812
|
+
* also have a `name` and `type` attribute to specify filename and content type
|
|
317813
|
+
*
|
|
317814
|
+
* @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71
|
|
317815
|
+
*
|
|
317816
|
+
* @param {*} value The value to test
|
|
317817
|
+
*
|
|
317818
|
+
* @returns {boolean} True if value is a React Native Blob, otherwise false
|
|
317819
|
+
*/
|
|
317820
|
+
const isReactNativeBlob = (value) => {
|
|
317821
|
+
return !!(value && typeof value.uri !== 'undefined');
|
|
317822
|
+
}
|
|
317823
|
+
|
|
317824
|
+
/**
|
|
317825
|
+
* Determine if environment is React Native
|
|
317826
|
+
* ReactNative `FormData` has a non-standard `getParts()` method
|
|
317827
|
+
*
|
|
317828
|
+
* @param {*} formData The formData to test
|
|
317829
|
+
*
|
|
317830
|
+
* @returns {boolean} True if environment is React Native, otherwise false
|
|
317831
|
+
*/
|
|
317832
|
+
const isReactNative = (formData) => formData && typeof formData.getParts !== 'undefined';
|
|
317531
317833
|
|
|
317532
317834
|
/**
|
|
317533
317835
|
* Determine if a value is a Blob
|
|
@@ -317536,7 +317838,7 @@ const isFile = kindOfTest("File");
|
|
|
317536
317838
|
*
|
|
317537
317839
|
* @returns {boolean} True if value is a Blob, otherwise false
|
|
317538
317840
|
*/
|
|
317539
|
-
const isBlob = kindOfTest(
|
|
317841
|
+
const isBlob = kindOfTest('Blob');
|
|
317540
317842
|
|
|
317541
317843
|
/**
|
|
317542
317844
|
* Determine if a value is a FileList
|
|
@@ -317545,7 +317847,7 @@ const isBlob = kindOfTest("Blob");
|
|
|
317545
317847
|
*
|
|
317546
317848
|
* @returns {boolean} True if value is a File, otherwise false
|
|
317547
317849
|
*/
|
|
317548
|
-
const isFileList = kindOfTest(
|
|
317850
|
+
const isFileList = kindOfTest('FileList');
|
|
317549
317851
|
|
|
317550
317852
|
/**
|
|
317551
317853
|
* Determine if a value is a Stream
|
|
@@ -317563,17 +317865,27 @@ const isStream = (val) => isObject(val) && isFunction(val.pipe);
|
|
|
317563
317865
|
*
|
|
317564
317866
|
* @returns {boolean} True if value is an FormData, otherwise false
|
|
317565
317867
|
*/
|
|
317868
|
+
function getGlobal() {
|
|
317869
|
+
if (typeof globalThis !== 'undefined') return globalThis;
|
|
317870
|
+
if (typeof self !== 'undefined') return self;
|
|
317871
|
+
if (typeof window !== 'undefined') return window;
|
|
317872
|
+
if (typeof global !== 'undefined') return global;
|
|
317873
|
+
return {};
|
|
317874
|
+
}
|
|
317875
|
+
|
|
317876
|
+
const G = getGlobal();
|
|
317877
|
+
const FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined;
|
|
317878
|
+
|
|
317566
317879
|
const isFormData = (thing) => {
|
|
317567
317880
|
let kind;
|
|
317568
|
-
return (
|
|
317569
|
-
thing
|
|
317570
|
-
|
|
317571
|
-
|
|
317572
|
-
|
|
317573
|
-
|
|
317574
|
-
|
|
317575
|
-
|
|
317576
|
-
thing.toString() === "[object FormData]"))))
|
|
317881
|
+
return thing && (
|
|
317882
|
+
(FormDataCtor && thing instanceof FormDataCtor) || (
|
|
317883
|
+
isFunction(thing.append) && (
|
|
317884
|
+
(kind = kindOf(thing)) === 'formdata' ||
|
|
317885
|
+
// detect form-data instance
|
|
317886
|
+
(kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')
|
|
317887
|
+
)
|
|
317888
|
+
)
|
|
317577
317889
|
);
|
|
317578
317890
|
};
|
|
317579
317891
|
|
|
@@ -317584,13 +317896,13 @@ const isFormData = (thing) => {
|
|
|
317584
317896
|
*
|
|
317585
317897
|
* @returns {boolean} True if value is a URLSearchParams object, otherwise false
|
|
317586
317898
|
*/
|
|
317587
|
-
const isURLSearchParams = kindOfTest(
|
|
317899
|
+
const isURLSearchParams = kindOfTest('URLSearchParams');
|
|
317588
317900
|
|
|
317589
317901
|
const [isReadableStream, isRequest, isResponse, isHeaders] = [
|
|
317590
|
-
|
|
317591
|
-
|
|
317592
|
-
|
|
317593
|
-
|
|
317902
|
+
'ReadableStream',
|
|
317903
|
+
'Request',
|
|
317904
|
+
'Response',
|
|
317905
|
+
'Headers',
|
|
317594
317906
|
].map(kindOfTest);
|
|
317595
317907
|
|
|
317596
317908
|
/**
|
|
@@ -317600,9 +317912,9 @@ const [isReadableStream, isRequest, isResponse, isHeaders] = [
|
|
|
317600
317912
|
*
|
|
317601
317913
|
* @returns {String} The String freed of excess whitespace
|
|
317602
317914
|
*/
|
|
317603
|
-
const trim = (str) =>
|
|
317604
|
-
str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
|
|
317605
|
-
|
|
317915
|
+
const trim = (str) => {
|
|
317916
|
+
return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
|
|
317917
|
+
};
|
|
317606
317918
|
/**
|
|
317607
317919
|
* Iterate over an Array or an Object invoking a function for each item.
|
|
317608
317920
|
*
|
|
@@ -317621,7 +317933,7 @@ const trim = (str) =>
|
|
|
317621
317933
|
*/
|
|
317622
317934
|
function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
317623
317935
|
// Don't bother if no value provided
|
|
317624
|
-
if (obj === null || typeof obj ===
|
|
317936
|
+
if (obj === null || typeof obj === 'undefined') {
|
|
317625
317937
|
return;
|
|
317626
317938
|
}
|
|
317627
317939
|
|
|
@@ -317629,7 +317941,7 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
|
317629
317941
|
let l;
|
|
317630
317942
|
|
|
317631
317943
|
// Force an array if not already something iterable
|
|
317632
|
-
if (typeof obj !==
|
|
317944
|
+
if (typeof obj !== 'object') {
|
|
317633
317945
|
/*eslint no-param-reassign:0*/
|
|
317634
317946
|
obj = [obj];
|
|
317635
317947
|
}
|
|
@@ -317646,9 +317958,7 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
|
317646
317958
|
}
|
|
317647
317959
|
|
|
317648
317960
|
// Iterate over object keys
|
|
317649
|
-
const keys = allOwnKeys
|
|
317650
|
-
? Object.getOwnPropertyNames(obj)
|
|
317651
|
-
: Object.keys(obj);
|
|
317961
|
+
const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
|
|
317652
317962
|
const len = keys.length;
|
|
317653
317963
|
let key;
|
|
317654
317964
|
|
|
@@ -317659,6 +317969,14 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
|
317659
317969
|
}
|
|
317660
317970
|
}
|
|
317661
317971
|
|
|
317972
|
+
/**
|
|
317973
|
+
* Finds a key in an object, case-insensitive, returning the actual key name.
|
|
317974
|
+
* Returns null if the object is a Buffer or if no match is found.
|
|
317975
|
+
*
|
|
317976
|
+
* @param {Object} obj - The object to search.
|
|
317977
|
+
* @param {string} key - The key to find (case-insensitive).
|
|
317978
|
+
* @returns {?string} The actual key name if found, otherwise null.
|
|
317979
|
+
*/
|
|
317662
317980
|
function findKey(obj, key) {
|
|
317663
317981
|
if (isBuffer(obj)) {
|
|
317664
317982
|
return null;
|
|
@@ -317679,16 +317997,11 @@ function findKey(obj, key) {
|
|
|
317679
317997
|
|
|
317680
317998
|
const _global = (() => {
|
|
317681
317999
|
/*eslint no-undef:0*/
|
|
317682
|
-
if (typeof globalThis !==
|
|
317683
|
-
return typeof self !==
|
|
317684
|
-
? self
|
|
317685
|
-
: typeof window !== "undefined"
|
|
317686
|
-
? window
|
|
317687
|
-
: global;
|
|
318000
|
+
if (typeof globalThis !== 'undefined') return globalThis;
|
|
318001
|
+
return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global;
|
|
317688
318002
|
})();
|
|
317689
318003
|
|
|
317690
|
-
const isContextDefined = (context) =>
|
|
317691
|
-
!isUndefined(context) && context !== _global;
|
|
318004
|
+
const isContextDefined = (context) => !isUndefined(context) && context !== _global;
|
|
317692
318005
|
|
|
317693
318006
|
/**
|
|
317694
318007
|
* Accepts varargs expecting each argument to be an object, then
|
|
@@ -317713,7 +318026,7 @@ function merge(/* obj1, obj2, obj3, ... */) {
|
|
|
317713
318026
|
const result = {};
|
|
317714
318027
|
const assignValue = (val, key) => {
|
|
317715
318028
|
// Skip dangerous property names to prevent prototype pollution
|
|
317716
|
-
if (key ===
|
|
318029
|
+
if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
|
|
317717
318030
|
return;
|
|
317718
318031
|
}
|
|
317719
318032
|
|
|
@@ -317766,7 +318079,7 @@ const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
|
|
|
317766
318079
|
});
|
|
317767
318080
|
}
|
|
317768
318081
|
},
|
|
317769
|
-
{ allOwnKeys }
|
|
318082
|
+
{ allOwnKeys }
|
|
317770
318083
|
);
|
|
317771
318084
|
return a;
|
|
317772
318085
|
};
|
|
@@ -317795,17 +318108,14 @@ const stripBOM = (content) => {
|
|
|
317795
318108
|
* @returns {void}
|
|
317796
318109
|
*/
|
|
317797
318110
|
const inherits = (constructor, superConstructor, props, descriptors) => {
|
|
317798
|
-
constructor.prototype = Object.create(
|
|
317799
|
-
|
|
317800
|
-
descriptors,
|
|
317801
|
-
);
|
|
317802
|
-
Object.defineProperty(constructor.prototype, "constructor", {
|
|
318111
|
+
constructor.prototype = Object.create(superConstructor.prototype, descriptors);
|
|
318112
|
+
Object.defineProperty(constructor.prototype, 'constructor', {
|
|
317803
318113
|
value: constructor,
|
|
317804
318114
|
writable: true,
|
|
317805
318115
|
enumerable: false,
|
|
317806
318116
|
configurable: true,
|
|
317807
318117
|
});
|
|
317808
|
-
Object.defineProperty(constructor,
|
|
318118
|
+
Object.defineProperty(constructor, 'super', {
|
|
317809
318119
|
value: superConstructor.prototype,
|
|
317810
318120
|
});
|
|
317811
318121
|
props && Object.assign(constructor.prototype, props);
|
|
@@ -317835,20 +318145,13 @@ const toFlatObject = (sourceObj, destObj, filter, propFilter) => {
|
|
|
317835
318145
|
i = props.length;
|
|
317836
318146
|
while (i-- > 0) {
|
|
317837
318147
|
prop = props[i];
|
|
317838
|
-
if (
|
|
317839
|
-
(!propFilter || propFilter(prop, sourceObj, destObj)) &&
|
|
317840
|
-
!merged[prop]
|
|
317841
|
-
) {
|
|
318148
|
+
if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {
|
|
317842
318149
|
destObj[prop] = sourceObj[prop];
|
|
317843
318150
|
merged[prop] = true;
|
|
317844
318151
|
}
|
|
317845
318152
|
}
|
|
317846
318153
|
sourceObj = filter !== false && getPrototypeOf(sourceObj);
|
|
317847
|
-
} while (
|
|
317848
|
-
sourceObj &&
|
|
317849
|
-
(!filter || filter(sourceObj, destObj)) &&
|
|
317850
|
-
sourceObj !== Object.prototype
|
|
317851
|
-
);
|
|
318154
|
+
} while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);
|
|
317852
318155
|
|
|
317853
318156
|
return destObj;
|
|
317854
318157
|
};
|
|
@@ -317905,7 +318208,7 @@ const isTypedArray = ((TypedArray) => {
|
|
|
317905
318208
|
return (thing) => {
|
|
317906
318209
|
return TypedArray && thing instanceof TypedArray;
|
|
317907
318210
|
};
|
|
317908
|
-
})(typeof Uint8Array !==
|
|
318211
|
+
})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));
|
|
317909
318212
|
|
|
317910
318213
|
/**
|
|
317911
318214
|
* For each entry in the object, call the function with the key and value.
|
|
@@ -317948,14 +318251,12 @@ const matchAll = (regExp, str) => {
|
|
|
317948
318251
|
};
|
|
317949
318252
|
|
|
317950
318253
|
/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */
|
|
317951
|
-
const isHTMLForm = kindOfTest(
|
|
318254
|
+
const isHTMLForm = kindOfTest('HTMLFormElement');
|
|
317952
318255
|
|
|
317953
318256
|
const toCamelCase = (str) => {
|
|
317954
|
-
return str
|
|
317955
|
-
.
|
|
317956
|
-
|
|
317957
|
-
return p1.toUpperCase() + p2;
|
|
317958
|
-
});
|
|
318257
|
+
return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) {
|
|
318258
|
+
return p1.toUpperCase() + p2;
|
|
318259
|
+
});
|
|
317959
318260
|
};
|
|
317960
318261
|
|
|
317961
318262
|
/* Creating a function that will check if an object has a property. */
|
|
@@ -317972,7 +318273,7 @@ const hasOwnProperty = (
|
|
|
317972
318273
|
*
|
|
317973
318274
|
* @returns {boolean} True if value is a RegExp object, otherwise false
|
|
317974
318275
|
*/
|
|
317975
|
-
const isRegExp = kindOfTest(
|
|
318276
|
+
const isRegExp = kindOfTest('RegExp');
|
|
317976
318277
|
|
|
317977
318278
|
const reduceDescriptors = (obj, reducer) => {
|
|
317978
318279
|
const descriptors = Object.getOwnPropertyDescriptors(obj);
|
|
@@ -317996,10 +318297,7 @@ const reduceDescriptors = (obj, reducer) => {
|
|
|
317996
318297
|
const freezeMethods = (obj) => {
|
|
317997
318298
|
reduceDescriptors(obj, (descriptor, name) => {
|
|
317998
318299
|
// skip restricted props in strict mode
|
|
317999
|
-
if (
|
|
318000
|
-
isFunction(obj) &&
|
|
318001
|
-
["arguments", "caller", "callee"].indexOf(name) !== -1
|
|
318002
|
-
) {
|
|
318300
|
+
if (isFunction(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {
|
|
318003
318301
|
return false;
|
|
318004
318302
|
}
|
|
318005
318303
|
|
|
@@ -318009,7 +318307,7 @@ const freezeMethods = (obj) => {
|
|
|
318009
318307
|
|
|
318010
318308
|
descriptor.enumerable = false;
|
|
318011
318309
|
|
|
318012
|
-
if (
|
|
318310
|
+
if ('writable' in descriptor) {
|
|
318013
318311
|
descriptor.writable = false;
|
|
318014
318312
|
return;
|
|
318015
318313
|
}
|
|
@@ -318022,6 +318320,14 @@ const freezeMethods = (obj) => {
|
|
|
318022
318320
|
});
|
|
318023
318321
|
};
|
|
318024
318322
|
|
|
318323
|
+
/**
|
|
318324
|
+
* Converts an array or a delimited string into an object set with values as keys and true as values.
|
|
318325
|
+
* Useful for fast membership checks.
|
|
318326
|
+
*
|
|
318327
|
+
* @param {Array|string} arrayOrString - The array or string to convert.
|
|
318328
|
+
* @param {string} delimiter - The delimiter to use if input is a string.
|
|
318329
|
+
* @returns {Object} An object with keys from the array or string, values set to true.
|
|
318330
|
+
*/
|
|
318025
318331
|
const toObjectSet = (arrayOrString, delimiter) => {
|
|
318026
318332
|
const obj = {};
|
|
318027
318333
|
|
|
@@ -318031,9 +318337,7 @@ const toObjectSet = (arrayOrString, delimiter) => {
|
|
|
318031
318337
|
});
|
|
318032
318338
|
};
|
|
318033
318339
|
|
|
318034
|
-
isArray(arrayOrString)
|
|
318035
|
-
? define(arrayOrString)
|
|
318036
|
-
: define(String(arrayOrString).split(delimiter));
|
|
318340
|
+
isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));
|
|
318037
318341
|
|
|
318038
318342
|
return obj;
|
|
318039
318343
|
};
|
|
@@ -318041,9 +318345,7 @@ const toObjectSet = (arrayOrString, delimiter) => {
|
|
|
318041
318345
|
const noop = () => {};
|
|
318042
318346
|
|
|
318043
318347
|
const toFiniteNumber = (value, defaultValue) => {
|
|
318044
|
-
return value != null && Number.isFinite((value = +value))
|
|
318045
|
-
? value
|
|
318046
|
-
: defaultValue;
|
|
318348
|
+
return value != null && Number.isFinite((value = +value)) ? value : defaultValue;
|
|
318047
318349
|
};
|
|
318048
318350
|
|
|
318049
318351
|
/**
|
|
@@ -318057,11 +318359,17 @@ function isSpecCompliantForm(thing) {
|
|
|
318057
318359
|
return !!(
|
|
318058
318360
|
thing &&
|
|
318059
318361
|
isFunction(thing.append) &&
|
|
318060
|
-
thing[toStringTag] ===
|
|
318362
|
+
thing[toStringTag] === 'FormData' &&
|
|
318061
318363
|
thing[iterator]
|
|
318062
318364
|
);
|
|
318063
318365
|
}
|
|
318064
318366
|
|
|
318367
|
+
/**
|
|
318368
|
+
* Recursively converts an object to a JSON-compatible object, handling circular references and Buffers.
|
|
318369
|
+
*
|
|
318370
|
+
* @param {Object} obj - The object to convert.
|
|
318371
|
+
* @returns {Object} The JSON-compatible object.
|
|
318372
|
+
*/
|
|
318065
318373
|
const toJSONObject = (obj) => {
|
|
318066
318374
|
const stack = new Array(10);
|
|
318067
318375
|
|
|
@@ -318076,7 +318384,7 @@ const toJSONObject = (obj) => {
|
|
|
318076
318384
|
return source;
|
|
318077
318385
|
}
|
|
318078
318386
|
|
|
318079
|
-
if (!(
|
|
318387
|
+
if (!('toJSON' in source)) {
|
|
318080
318388
|
stack[i] = source;
|
|
318081
318389
|
const target = isArray(source) ? [] : {};
|
|
318082
318390
|
|
|
@@ -318097,8 +318405,20 @@ const toJSONObject = (obj) => {
|
|
|
318097
318405
|
return visit(obj, 0);
|
|
318098
318406
|
};
|
|
318099
318407
|
|
|
318100
|
-
|
|
318408
|
+
/**
|
|
318409
|
+
* Determines if a value is an async function.
|
|
318410
|
+
*
|
|
318411
|
+
* @param {*} thing - The value to test.
|
|
318412
|
+
* @returns {boolean} True if value is an async function, otherwise false.
|
|
318413
|
+
*/
|
|
318414
|
+
const isAsyncFn = kindOfTest('AsyncFunction');
|
|
318101
318415
|
|
|
318416
|
+
/**
|
|
318417
|
+
* Determines if a value is thenable (has then and catch methods).
|
|
318418
|
+
*
|
|
318419
|
+
* @param {*} thing - The value to test.
|
|
318420
|
+
* @returns {boolean} True if value is thenable, otherwise false.
|
|
318421
|
+
*/
|
|
318102
318422
|
const isThenable = (thing) =>
|
|
318103
318423
|
thing &&
|
|
318104
318424
|
(isObject(thing) || isFunction(thing)) &&
|
|
@@ -318108,6 +318428,14 @@ const isThenable = (thing) =>
|
|
|
318108
318428
|
// original code
|
|
318109
318429
|
// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34
|
|
318110
318430
|
|
|
318431
|
+
/**
|
|
318432
|
+
* Provides a cross-platform setImmediate implementation.
|
|
318433
|
+
* Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout.
|
|
318434
|
+
*
|
|
318435
|
+
* @param {boolean} setImmediateSupported - Whether setImmediate is supported.
|
|
318436
|
+
* @param {boolean} postMessageSupported - Whether postMessage is supported.
|
|
318437
|
+
* @returns {Function} A function to schedule a callback asynchronously.
|
|
318438
|
+
*/
|
|
318111
318439
|
const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
318112
318440
|
if (setImmediateSupported) {
|
|
318113
318441
|
return setImmediate;
|
|
@@ -318116,27 +318444,33 @@ const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
|
318116
318444
|
return postMessageSupported
|
|
318117
318445
|
? ((token, callbacks) => {
|
|
318118
318446
|
_global.addEventListener(
|
|
318119
|
-
|
|
318447
|
+
'message',
|
|
318120
318448
|
({ source, data }) => {
|
|
318121
318449
|
if (source === _global && data === token) {
|
|
318122
318450
|
callbacks.length && callbacks.shift()();
|
|
318123
318451
|
}
|
|
318124
318452
|
},
|
|
318125
|
-
false
|
|
318453
|
+
false
|
|
318126
318454
|
);
|
|
318127
318455
|
|
|
318128
318456
|
return (cb) => {
|
|
318129
318457
|
callbacks.push(cb);
|
|
318130
|
-
_global.postMessage(token,
|
|
318458
|
+
_global.postMessage(token, '*');
|
|
318131
318459
|
};
|
|
318132
318460
|
})(`axios@${Math.random()}`, [])
|
|
318133
318461
|
: (cb) => setTimeout(cb);
|
|
318134
|
-
})(typeof setImmediate ===
|
|
318462
|
+
})(typeof setImmediate === 'function', isFunction(_global.postMessage));
|
|
318135
318463
|
|
|
318464
|
+
/**
|
|
318465
|
+
* Schedules a microtask or asynchronous callback as soon as possible.
|
|
318466
|
+
* Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate.
|
|
318467
|
+
*
|
|
318468
|
+
* @type {Function}
|
|
318469
|
+
*/
|
|
318136
318470
|
const asap =
|
|
318137
|
-
typeof queueMicrotask !==
|
|
318471
|
+
typeof queueMicrotask !== 'undefined'
|
|
318138
318472
|
? queueMicrotask.bind(_global)
|
|
318139
|
-
: (typeof process !==
|
|
318473
|
+
: (typeof process !== 'undefined' && process.nextTick) || _setImmediate;
|
|
318140
318474
|
|
|
318141
318475
|
// *********************
|
|
318142
318476
|
|
|
@@ -318161,6 +318495,8 @@ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
|
|
|
318161
318495
|
isUndefined,
|
|
318162
318496
|
isDate,
|
|
318163
318497
|
isFile,
|
|
318498
|
+
isReactNativeBlob,
|
|
318499
|
+
isReactNative,
|
|
318164
318500
|
isBlob,
|
|
318165
318501
|
isRegExp,
|
|
318166
318502
|
isFunction,
|
|
@@ -321479,7 +321815,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
321479
321815
|
/***/ ((module) => {
|
|
321480
321816
|
|
|
321481
321817
|
"use strict";
|
|
321482
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.7.0-dev.
|
|
321818
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.7.0-dev.17","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers && npm run -s copy:draco","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2022 --outDir lib/esm","clean":"rimraf -g lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","copy:draco":"cpx \\"./node_modules/@loaders.gl/draco/dist/libs/*\\" ./lib/public/scripts","docs":"betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-deprecation":"eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \\"./src/**/*.ts\\"","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2 && npm run -s webpackTestWorker","webpackTestWorker":"webpack --config ./src/test/worker/webpack.config.js 1>&2 && cpx \\"./lib/test/test-worker.js\\" ./lib/test","webpackWorkers":"webpack --config ./src/workers/ImdlParser/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*","@itwin/object-storage-core":"^3.0.4","@itwin/eslint-plugin":"^6.0.0","@types/chai-as-promised":"^7","@types/draco3d":"^1.4.10","@types/sinon":"^17.0.2","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^8.0.0","eslint":"^9.31.0","glob":"^10.5.0","playwright":"~1.56.1","rimraf":"^6.0.1","sinon":"^17.0.2","source-map-loader":"^5.0.0","typescript":"~5.6.2","vitest":"^3.0.6","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"2.2.0","webpack":"^5.97.1"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/core-i18n":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^4.3.4","@loaders.gl/draco":"^4.3.4","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
|
|
321483
321819
|
|
|
321484
321820
|
/***/ })
|
|
321485
321821
|
|