@itwin/ecschema-rpcinterface-tests 5.8.0-dev.1 → 5.8.0-dev.3
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 +1436 -1056
- package/lib/dist/bundled-tests.js.map +1 -1
- package/lib/dist/core_frontend_lib_esm_ApproximateTerrainHeightsProps_js.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_cross-fetch_4_0_0_node_modules_cross-fetch_dist_browser-24291b.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_loaders_gl_draco_4_3_4__loaders_gl_core_4_3_4_node_modu-4c1fc9.bundled-tests.js.map +1 -1
- package/package.json +15 -15
|
@@ -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) {
|
|
@@ -22787,7 +22787,7 @@ class Logger {
|
|
|
22787
22787
|
* @param category The category of the message.
|
|
22788
22788
|
* @param err The exception object.
|
|
22789
22789
|
* @param log The logger output function to use - defaults to Logger.logError
|
|
22790
|
-
* @deprecated in 5.6. Use logError(category, error, metaData) instead, which will log exceptions in the same way but is more flexible and easier to use.
|
|
22790
|
+
* @deprecated in 5.6 - will not be removed until after 2027-03-03. Use logError(category, error, metaData) instead, which will log exceptions in the same way but is more flexible and easier to use.
|
|
22791
22791
|
*/
|
|
22792
22792
|
static logException(category, err, log = (_category, message, metaData) => Logger.logError(_category, message, metaData)) {
|
|
22793
22793
|
log(category, Logger.getExceptionMessage(err), () => {
|
|
@@ -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) {
|
|
@@ -155027,7 +155057,13 @@ class WmtsMapLayerImageryProvider extends _tile_internal__WEBPACK_IMPORTED_MODUL
|
|
|
155027
155057
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(false); // Must always hava a matrix set.
|
|
155028
155058
|
return;
|
|
155029
155059
|
}
|
|
155030
|
-
const
|
|
155060
|
+
const childLevel = quadId.level + 1;
|
|
155061
|
+
const childMatrixId = matrixSetAndLimits.tileMatrixSet.tileMatrix.length > childLevel
|
|
155062
|
+
? matrixSetAndLimits.tileMatrixSet.tileMatrix[childLevel].identifier
|
|
155063
|
+
: undefined;
|
|
155064
|
+
const limits = childMatrixId !== undefined
|
|
155065
|
+
? matrixSetAndLimits.limits?.find((l) => l.tileMatrix === childMatrixId)?.limits
|
|
155066
|
+
: undefined;
|
|
155031
155067
|
if (!limits) {
|
|
155032
155068
|
resolveChildren(childIds);
|
|
155033
155069
|
return;
|
|
@@ -156060,7 +156096,7 @@ var WmtsCapability;
|
|
|
156060
156096
|
this.tileMatrixSet = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(getElementTextContent(elem, "TileMatrixSet", ""));
|
|
156061
156097
|
const tileMatrixLimitsRoot = elem.getElementsByTagName("TileMatrixSetLimits");
|
|
156062
156098
|
if (tileMatrixLimitsRoot.length > 0) {
|
|
156063
|
-
const tileMatrixLimits = tileMatrixLimitsRoot[0].getElementsByTagName("
|
|
156099
|
+
const tileMatrixLimits = tileMatrixLimitsRoot[0].getElementsByTagName("TileMatrixLimits");
|
|
156064
156100
|
for (const tmsl of tileMatrixLimits) {
|
|
156065
156101
|
this.tileMatrixSetLimits.push(new TileMatrixSetLimits(tmsl));
|
|
156066
156102
|
}
|
|
@@ -161078,7 +161114,7 @@ class GltfReaderProps {
|
|
|
161078
161114
|
}
|
|
161079
161115
|
/** 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
161116
|
* 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
|
|
161117
|
+
* is generated. The MeshPrimitive path is much less efficient but should be rarely used.
|
|
161082
161118
|
*
|
|
161083
161119
|
* @internal
|
|
161084
161120
|
*/
|
|
@@ -161365,7 +161401,8 @@ class GltfReader {
|
|
|
161365
161401
|
}),
|
|
161366
161402
|
};
|
|
161367
161403
|
}
|
|
161368
|
-
readGltfAndCreateGeometry(transformToRoot, needNormals = false, needParams = false) {
|
|
161404
|
+
async readGltfAndCreateGeometry(transformToRoot, needNormals = false, needParams = false) {
|
|
161405
|
+
await this.resolveResources();
|
|
161369
161406
|
const transformStack = new TransformStack(this.getTileTransform(transformToRoot));
|
|
161370
161407
|
const polyfaces = [];
|
|
161371
161408
|
for (const nodeKey of this._sceneNodes) {
|
|
@@ -161600,9 +161637,18 @@ class GltfReader {
|
|
|
161600
161637
|
}
|
|
161601
161638
|
}
|
|
161602
161639
|
polyfaceFromGltfMesh(mesh, transform, needNormals, needParams) {
|
|
161603
|
-
if (
|
|
161640
|
+
if (mesh.pointQParams && mesh.points && mesh.indices)
|
|
161641
|
+
return this.polyfaceFromQuantizedData(mesh.pointQParams, mesh.points, mesh.indices, mesh.normals, mesh.uvQParams, mesh.uvs, transform, needNormals, needParams);
|
|
161642
|
+
const meshPrim = mesh.primitive;
|
|
161643
|
+
const triangles = meshPrim.triangles;
|
|
161644
|
+
const points = meshPrim.points;
|
|
161645
|
+
if (!triangles || triangles.isEmpty || points.length === 0)
|
|
161604
161646
|
return undefined;
|
|
161605
|
-
|
|
161647
|
+
// This will likely only be the case for Draco-compressed meshes-- see where readDracoMeshPrimitive is called within readMeshPrimitive
|
|
161648
|
+
// That is the only case where mesh.primitive is populated but mesh.pointQParams, mesh.points, & mesh.indices are not
|
|
161649
|
+
return this.polyfaceFromMeshPrimitive(triangles, points, meshPrim.normals, meshPrim.uvParams, transform, needNormals, needParams);
|
|
161650
|
+
}
|
|
161651
|
+
polyfaceFromQuantizedData(pointQParams, points, indices, normals, uvQParams, uvs, transform, needNormals, needParams) {
|
|
161606
161652
|
const includeNormals = needNormals && undefined !== normals;
|
|
161607
161653
|
const includeParams = needParams && undefined !== uvQParams && undefined !== uvs;
|
|
161608
161654
|
const polyface = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.IndexedPolyface.create(includeNormals, includeParams);
|
|
@@ -161630,6 +161676,46 @@ class GltfReader {
|
|
|
161630
161676
|
}
|
|
161631
161677
|
return polyface;
|
|
161632
161678
|
}
|
|
161679
|
+
polyfaceFromMeshPrimitive(triangles, points, normals, uvParams, transform, needNormals, needParams) {
|
|
161680
|
+
const includeNormals = needNormals && normals.length > 0;
|
|
161681
|
+
const includeParams = needParams && uvParams.length > 0;
|
|
161682
|
+
const polyface = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.IndexedPolyface.create(includeNormals, includeParams);
|
|
161683
|
+
if (points instanceof _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.QPoint3dList) {
|
|
161684
|
+
for (let i = 0; i < points.length; i++) {
|
|
161685
|
+
const point = points.unquantize(i);
|
|
161686
|
+
if (transform)
|
|
161687
|
+
transform.multiplyPoint3d(point, point);
|
|
161688
|
+
polyface.addPoint(point);
|
|
161689
|
+
}
|
|
161690
|
+
}
|
|
161691
|
+
else {
|
|
161692
|
+
const center = points.range.center;
|
|
161693
|
+
for (const pt of points) {
|
|
161694
|
+
const point = pt.plus(center);
|
|
161695
|
+
if (transform)
|
|
161696
|
+
transform.multiplyPoint3d(point, point);
|
|
161697
|
+
polyface.addPoint(point);
|
|
161698
|
+
}
|
|
161699
|
+
}
|
|
161700
|
+
if (includeNormals)
|
|
161701
|
+
for (const normal of normals)
|
|
161702
|
+
polyface.addNormal(_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.OctEncodedNormal.decodeValue(normal.value));
|
|
161703
|
+
if (includeParams)
|
|
161704
|
+
for (const uv of uvParams)
|
|
161705
|
+
polyface.addParam(uv);
|
|
161706
|
+
const indices = triangles.indices;
|
|
161707
|
+
let j = 0;
|
|
161708
|
+
for (const index of indices) {
|
|
161709
|
+
polyface.addPointIndex(index);
|
|
161710
|
+
if (includeNormals)
|
|
161711
|
+
polyface.addNormalIndex(index);
|
|
161712
|
+
if (includeParams)
|
|
161713
|
+
polyface.addParamIndex(index);
|
|
161714
|
+
if (0 === (++j % 3))
|
|
161715
|
+
polyface.terminateFacet();
|
|
161716
|
+
}
|
|
161717
|
+
return polyface;
|
|
161718
|
+
}
|
|
161633
161719
|
// ###TODO what is the actual type of `json`?
|
|
161634
161720
|
getBufferView(json, accessorName) {
|
|
161635
161721
|
try {
|
|
@@ -169008,20 +169094,19 @@ class ImageryMapTile extends _internal__WEBPACK_IMPORTED_MODULE_4__.RealityTile
|
|
|
169008
169094
|
setContent(content) {
|
|
169009
169095
|
this._texture = content.imageryTexture; // No dispose - textures may be shared by terrain tiles so let garbage collector dispose them.
|
|
169010
169096
|
if (undefined === content.imageryTexture)
|
|
169011
|
-
|
|
169097
|
+
this.setLeaf(); // No imagery here — don't traverse deeper, but leave siblings unaffected.
|
|
169012
169098
|
this.setIsReady();
|
|
169013
169099
|
}
|
|
169014
169100
|
selectCartoDrapeTiles(drapeTiles, highResolutionReplacementTiles, rectangleToDrape, drapePixelSize, args) {
|
|
169015
169101
|
// Base draping overlap on width rather than height so that tiling schemes with multiple root nodes overlay correctly.
|
|
169016
169102
|
const isSmallerThanDrape = (this.rectangle.xLength() / this.maximumSize) < drapePixelSize;
|
|
169017
|
-
if ((this.isLeaf) // Include leaves so tiles get stretched past max LOD levels. (Only for base imagery layer)
|
|
169018
|
-
|| isSmallerThanDrape
|
|
169019
|
-
|| this._anyChildNotFound) {
|
|
169103
|
+
if ((this.isLeaf && !this.isNotFound) // Include leaves so tiles get stretched past max LOD levels. (Only for base imagery layer)
|
|
169104
|
+
|| isSmallerThanDrape) {
|
|
169020
169105
|
if (this.isOutOfLodRange) {
|
|
169021
169106
|
drapeTiles.push(this);
|
|
169022
169107
|
this.setIsReady();
|
|
169023
169108
|
}
|
|
169024
|
-
else if (this.isLeaf && !isSmallerThanDrape
|
|
169109
|
+
else if (this.isLeaf && !isSmallerThanDrape) {
|
|
169025
169110
|
// These tiles are selected because we are beyond the max LOD of the tile tree,
|
|
169026
169111
|
// might be used to display "stretched" tiles instead of having blank.
|
|
169027
169112
|
highResolutionReplacementTiles.push(this);
|
|
@@ -169039,8 +169124,9 @@ class ImageryMapTile extends _internal__WEBPACK_IMPORTED_MODULE_4__.RealityTile
|
|
|
169039
169124
|
if (undefined !== this.children) {
|
|
169040
169125
|
for (const child of this.children) {
|
|
169041
169126
|
const mapChild = child;
|
|
169042
|
-
if (mapChild.rectangle.intersectsRange(rectangleToDrape))
|
|
169043
|
-
|
|
169127
|
+
if (!mapChild.rectangle.intersectsRange(rectangleToDrape))
|
|
169128
|
+
continue;
|
|
169129
|
+
status = mapChild.selectCartoDrapeTiles(drapeTiles, highResolutionReplacementTiles, rectangleToDrape, drapePixelSize, args);
|
|
169044
169130
|
if (_internal__WEBPACK_IMPORTED_MODULE_4__.TileTreeLoadStatus.Loaded !== status)
|
|
169045
169131
|
break;
|
|
169046
169132
|
}
|
|
@@ -178746,6 +178832,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
178746
178832
|
/* harmony import */ var _Tool__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./Tool */ "../../core/frontend/lib/esm/tools/Tool.js");
|
|
178747
178833
|
/* harmony import */ var _ToolAssistance__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./ToolAssistance */ "../../core/frontend/lib/esm/tools/ToolAssistance.js");
|
|
178748
178834
|
/* harmony import */ var _common_render_GraphicType__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../common/render/GraphicType */ "../../core/frontend/lib/esm/common/render/GraphicType.js");
|
|
178835
|
+
/* harmony import */ var _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../quantity-formatting/QuantityFormatter */ "../../core/frontend/lib/esm/quantity-formatting/QuantityFormatter.js");
|
|
178749
178836
|
/*---------------------------------------------------------------------------------------------
|
|
178750
178837
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
178751
178838
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -178766,19 +178853,36 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
178766
178853
|
|
|
178767
178854
|
|
|
178768
178855
|
|
|
178856
|
+
|
|
178769
178857
|
function translateBold(key) {
|
|
178770
178858
|
return `<b>${_Tool__WEBPACK_IMPORTED_MODULE_10__.CoreTools.translate(`Measure.Labels.${key}`)}:</b> `;
|
|
178771
178859
|
}
|
|
178772
178860
|
async function getFormatterSpecByKoQAndPersistenceUnit(koq, persistenceUnitName) {
|
|
178773
178861
|
const formatProps = await _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.formatsProvider.getFormat(koq);
|
|
178774
178862
|
if (undefined === formatProps)
|
|
178775
|
-
return
|
|
178863
|
+
return getFormatterSpecByQuantityType(koq);
|
|
178776
178864
|
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.quantityFormatter.createFormatterSpec({
|
|
178777
178865
|
persistenceUnitName,
|
|
178778
178866
|
formatProps,
|
|
178779
178867
|
formatName: koq
|
|
178780
178868
|
});
|
|
178781
178869
|
}
|
|
178870
|
+
function getFormatterSpecByQuantityType(koq) {
|
|
178871
|
+
switch (koq) {
|
|
178872
|
+
case "DefaultToolsUnits.LENGTH":
|
|
178873
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.quantityFormatter.findFormatterSpecByQuantityType(_quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_13__.QuantityType.LengthEngineering);
|
|
178874
|
+
case "DefaultToolsUnits.ANGLE":
|
|
178875
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.quantityFormatter.findFormatterSpecByQuantityType(_quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_13__.QuantityType.Angle);
|
|
178876
|
+
case "DefaultToolsUnits.AREA":
|
|
178877
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.quantityFormatter.findFormatterSpecByQuantityType(_quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_13__.QuantityType.Area);
|
|
178878
|
+
case "DefaultToolsUnits.VOLUME":
|
|
178879
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.quantityFormatter.findFormatterSpecByQuantityType(_quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_13__.QuantityType.Volume);
|
|
178880
|
+
case "DefaultToolsUnits.LENGTH_COORDINATE":
|
|
178881
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.quantityFormatter.findFormatterSpecByQuantityType(_quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_13__.QuantityType.Coordinate);
|
|
178882
|
+
default:
|
|
178883
|
+
return undefined;
|
|
178884
|
+
}
|
|
178885
|
+
}
|
|
178782
178886
|
/** @internal */
|
|
178783
178887
|
class MeasureLabel {
|
|
178784
178888
|
worldLocation = new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Point3d();
|
|
@@ -180274,9 +180378,15 @@ class PrimitiveTool extends _Tool__WEBPACK_IMPORTED_MODULE_4__.InteractiveTool {
|
|
|
180274
180378
|
*/
|
|
180275
180379
|
async run(..._args) {
|
|
180276
180380
|
const { toolAdmin, viewManager } = _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp;
|
|
180277
|
-
if (!this.isCompatibleViewport(viewManager.selectedView, false)
|
|
180381
|
+
if (!this.isCompatibleViewport(viewManager.selectedView, false))
|
|
180382
|
+
return false;
|
|
180383
|
+
if (!await toolAdmin.onInstallTool(this))
|
|
180278
180384
|
return false;
|
|
180279
180385
|
await toolAdmin.startPrimitiveTool(this);
|
|
180386
|
+
// If another tool was installed at the same time (due to concurrent run calls),
|
|
180387
|
+
// the last start to complete wins. Detect that situation and return false.
|
|
180388
|
+
if (toolAdmin.primitiveTool !== this)
|
|
180389
|
+
return false;
|
|
180280
180390
|
await toolAdmin.onPostInstallTool(this);
|
|
180281
180391
|
return true;
|
|
180282
180392
|
}
|
|
@@ -183451,27 +183561,41 @@ class ToolAdmin {
|
|
|
183451
183561
|
}
|
|
183452
183562
|
this._primitiveTool = newTool;
|
|
183453
183563
|
}
|
|
183564
|
+
// serialize concurrent starts to avoid two tools installing simultaneously.
|
|
183565
|
+
_primitiveToolStarting;
|
|
183454
183566
|
/** @internal */
|
|
183455
183567
|
async startPrimitiveTool(newTool) {
|
|
183456
|
-
|
|
183457
|
-
|
|
183458
|
-
|
|
183459
|
-
|
|
183460
|
-
|
|
183461
|
-
|
|
183462
|
-
|
|
183463
|
-
|
|
183464
|
-
|
|
183465
|
-
|
|
183466
|
-
|
|
183467
|
-
|
|
183468
|
-
|
|
183469
|
-
|
|
183470
|
-
|
|
183471
|
-
|
|
183568
|
+
// If another start is in progress wait for it to finish before proceeding.
|
|
183569
|
+
while (undefined !== this._primitiveToolStarting)
|
|
183570
|
+
await this._primitiveToolStarting;
|
|
183571
|
+
let resolveStarting;
|
|
183572
|
+
this._primitiveToolStarting = new Promise((r) => { resolveStarting = r; });
|
|
183573
|
+
try {
|
|
183574
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.notifications.outputPrompt("");
|
|
183575
|
+
await this.exitViewTool();
|
|
183576
|
+
if (undefined !== this._primitiveTool)
|
|
183577
|
+
await this.setPrimitiveTool(undefined);
|
|
183578
|
+
// clear the primitive tool first so following call does not trigger the refreshing of the ToolSetting for the previous primitive tool
|
|
183579
|
+
await this.exitInputCollector();
|
|
183580
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.viewManager.endDynamicsMode();
|
|
183581
|
+
this.setIncompatibleViewportCursor(true); // Don't restore this
|
|
183582
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.viewManager.invalidateDecorationsAllViews();
|
|
183583
|
+
this.toolState.coordLockOvr = _Tool__WEBPACK_IMPORTED_MODULE_13__.CoordinateLockOverrides.None;
|
|
183584
|
+
this.toolState.locateCircleOn = false;
|
|
183585
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw.onPrimitiveToolInstall();
|
|
183586
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuSnap.onStartTool();
|
|
183587
|
+
if (undefined !== newTool) {
|
|
183588
|
+
this.setCursor(_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.viewManager.crossHairCursor);
|
|
183589
|
+
await this.setPrimitiveTool(newTool);
|
|
183590
|
+
}
|
|
183591
|
+
// it is important to raise event after setPrimitiveTool is called
|
|
183592
|
+
this.onActiveToolChanged(undefined !== newTool ? newTool : this.idleTool, StartOrResume.Start);
|
|
183593
|
+
}
|
|
183594
|
+
finally {
|
|
183595
|
+
if (resolveStarting)
|
|
183596
|
+
resolveStarting();
|
|
183597
|
+
this._primitiveToolStarting = undefined;
|
|
183472
183598
|
}
|
|
183473
|
-
// it is important to raise event after setPrimitiveTool is called
|
|
183474
|
-
this.onActiveToolChanged(undefined !== newTool ? newTool : this.idleTool, StartOrResume.Start);
|
|
183475
183599
|
}
|
|
183476
183600
|
/** Method used by interactive tools to send updated values to UI components, typically showing tool settings.
|
|
183477
183601
|
* @beta
|
|
@@ -313169,9 +313293,9 @@ function _unsupportedIterableToArray(r, a) {
|
|
|
313169
313293
|
|
|
313170
313294
|
/***/ }),
|
|
313171
313295
|
|
|
313172
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313296
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/index.js":
|
|
313173
313297
|
/*!*************************************************************************************!*\
|
|
313174
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313298
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/index.js ***!
|
|
313175
313299
|
\*************************************************************************************/
|
|
313176
313300
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
313177
313301
|
|
|
@@ -313196,7 +313320,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313196
313320
|
/* harmony export */ spread: () => (/* binding */ spread),
|
|
313197
313321
|
/* harmony export */ toFormData: () => (/* binding */ toFormData)
|
|
313198
313322
|
/* harmony export */ });
|
|
313199
|
-
/* harmony import */ var _lib_axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313323
|
+
/* 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");
|
|
313200
313324
|
|
|
313201
313325
|
|
|
313202
313326
|
// This module is intended to unwrap Axios default export as named.
|
|
@@ -313218,7 +313342,7 @@ const {
|
|
|
313218
313342
|
HttpStatusCode,
|
|
313219
313343
|
formToJSON,
|
|
313220
313344
|
getAdapter,
|
|
313221
|
-
mergeConfig
|
|
313345
|
+
mergeConfig,
|
|
313222
313346
|
} = _lib_axios_js__WEBPACK_IMPORTED_MODULE_0__["default"];
|
|
313223
313347
|
|
|
313224
313348
|
|
|
@@ -313226,9 +313350,9 @@ const {
|
|
|
313226
313350
|
|
|
313227
313351
|
/***/ }),
|
|
313228
313352
|
|
|
313229
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313353
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/adapters.js":
|
|
313230
313354
|
/*!*****************************************************************************************************!*\
|
|
313231
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313355
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/adapters.js ***!
|
|
313232
313356
|
\*****************************************************************************************************/
|
|
313233
313357
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
313234
313358
|
|
|
@@ -313237,11 +313361,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313237
313361
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
313238
313362
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
313239
313363
|
/* harmony export */ });
|
|
313240
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313241
|
-
/* harmony import */ var _http_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./http.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313242
|
-
/* harmony import */ var _xhr_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./xhr.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313243
|
-
/* harmony import */ var _fetch_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fetch.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313244
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313364
|
+
/* 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");
|
|
313365
|
+
/* 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");
|
|
313366
|
+
/* 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");
|
|
313367
|
+
/* 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");
|
|
313368
|
+
/* 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");
|
|
313245
313369
|
|
|
313246
313370
|
|
|
313247
313371
|
|
|
@@ -313254,7 +313378,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313254
313378
|
* - `http` for Node.js
|
|
313255
313379
|
* - `xhr` for browsers
|
|
313256
313380
|
* - `fetch` for fetch API-based requests
|
|
313257
|
-
*
|
|
313381
|
+
*
|
|
313258
313382
|
* @type {Object<string, Function|Object>}
|
|
313259
313383
|
*/
|
|
313260
313384
|
const knownAdapters = {
|
|
@@ -313262,7 +313386,7 @@ const knownAdapters = {
|
|
|
313262
313386
|
xhr: _xhr_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
313263
313387
|
fetch: {
|
|
313264
313388
|
get: _fetch_js__WEBPACK_IMPORTED_MODULE_2__.getFetch,
|
|
313265
|
-
}
|
|
313389
|
+
},
|
|
313266
313390
|
};
|
|
313267
313391
|
|
|
313268
313392
|
// Assign adapter names for easier debugging and identification
|
|
@@ -313279,7 +313403,7 @@ _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(knownAdapters, (fn, va
|
|
|
313279
313403
|
|
|
313280
313404
|
/**
|
|
313281
313405
|
* Render a rejection reason string for unknown or unsupported adapters
|
|
313282
|
-
*
|
|
313406
|
+
*
|
|
313283
313407
|
* @param {string} reason
|
|
313284
313408
|
* @returns {string}
|
|
313285
313409
|
*/
|
|
@@ -313287,17 +313411,18 @@ const renderReason = (reason) => `- ${reason}`;
|
|
|
313287
313411
|
|
|
313288
313412
|
/**
|
|
313289
313413
|
* Check if the adapter is resolved (function, null, or false)
|
|
313290
|
-
*
|
|
313414
|
+
*
|
|
313291
313415
|
* @param {Function|null|false} adapter
|
|
313292
313416
|
* @returns {boolean}
|
|
313293
313417
|
*/
|
|
313294
|
-
const isResolvedHandle = (adapter) =>
|
|
313418
|
+
const isResolvedHandle = (adapter) =>
|
|
313419
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].isFunction(adapter) || adapter === null || adapter === false;
|
|
313295
313420
|
|
|
313296
313421
|
/**
|
|
313297
313422
|
* Get the first suitable adapter from the provided list.
|
|
313298
313423
|
* Tries each adapter in order until a supported one is found.
|
|
313299
313424
|
* Throws an AxiosError if no adapter is suitable.
|
|
313300
|
-
*
|
|
313425
|
+
*
|
|
313301
313426
|
* @param {Array<string|Function>|string|Function} adapters - Adapter(s) by name or function.
|
|
313302
313427
|
* @param {Object} config - Axios request configuration
|
|
313303
313428
|
* @throws {AxiosError} If no suitable adapter is available
|
|
@@ -313334,14 +313459,17 @@ function getAdapter(adapters, config) {
|
|
|
313334
313459
|
}
|
|
313335
313460
|
|
|
313336
313461
|
if (!adapter) {
|
|
313337
|
-
const reasons = Object.entries(rejectedReasons)
|
|
313338
|
-
|
|
313462
|
+
const reasons = Object.entries(rejectedReasons).map(
|
|
313463
|
+
([id, state]) =>
|
|
313464
|
+
`adapter ${id} ` +
|
|
313339
313465
|
(state === false ? 'is not supported by the environment' : 'is not available in the build')
|
|
313340
|
-
|
|
313466
|
+
);
|
|
313341
313467
|
|
|
313342
|
-
let s = length
|
|
313343
|
-
|
|
313344
|
-
|
|
313468
|
+
let s = length
|
|
313469
|
+
? reasons.length > 1
|
|
313470
|
+
? 'since :\n' + reasons.map(renderReason).join('\n')
|
|
313471
|
+
: ' ' + renderReason(reasons[0])
|
|
313472
|
+
: 'as no adapter specified';
|
|
313345
313473
|
|
|
313346
313474
|
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__["default"](
|
|
313347
313475
|
`There is no suitable adapter to dispatch the request ` + s,
|
|
@@ -313366,15 +313494,15 @@ function getAdapter(adapters, config) {
|
|
|
313366
313494
|
* Exposes all known adapters
|
|
313367
313495
|
* @type {Object<string, Function|Object>}
|
|
313368
313496
|
*/
|
|
313369
|
-
adapters: knownAdapters
|
|
313497
|
+
adapters: knownAdapters,
|
|
313370
313498
|
});
|
|
313371
313499
|
|
|
313372
313500
|
|
|
313373
313501
|
/***/ }),
|
|
313374
313502
|
|
|
313375
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313503
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/fetch.js":
|
|
313376
313504
|
/*!**************************************************************************************************!*\
|
|
313377
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313505
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/fetch.js ***!
|
|
313378
313506
|
\**************************************************************************************************/
|
|
313379
313507
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
313380
313508
|
|
|
@@ -313384,15 +313512,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313384
313512
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
313385
313513
|
/* harmony export */ getFetch: () => (/* binding */ getFetch)
|
|
313386
313514
|
/* harmony export */ });
|
|
313387
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313388
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313389
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313390
|
-
/* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/composeSignals.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313391
|
-
/* harmony import */ var _helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/trackStream.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313392
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313393
|
-
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313394
|
-
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313395
|
-
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313515
|
+
/* 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");
|
|
313516
|
+
/* 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");
|
|
313517
|
+
/* 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");
|
|
313518
|
+
/* 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");
|
|
313519
|
+
/* 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");
|
|
313520
|
+
/* 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");
|
|
313521
|
+
/* 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");
|
|
313522
|
+
/* 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");
|
|
313523
|
+
/* 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");
|
|
313396
313524
|
|
|
313397
313525
|
|
|
313398
313526
|
|
|
@@ -313405,31 +313533,33 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313405
313533
|
|
|
313406
313534
|
const DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
313407
313535
|
|
|
313408
|
-
const {isFunction} = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"];
|
|
313536
|
+
const { isFunction } = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"];
|
|
313409
313537
|
|
|
313410
|
-
const globalFetchAPI = (({Request, Response}) => ({
|
|
313411
|
-
Request,
|
|
313538
|
+
const globalFetchAPI = (({ Request, Response }) => ({
|
|
313539
|
+
Request,
|
|
313540
|
+
Response,
|
|
313412
313541
|
}))(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].global);
|
|
313413
313542
|
|
|
313414
|
-
const {
|
|
313415
|
-
ReadableStream, TextEncoder
|
|
313416
|
-
} = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].global;
|
|
313417
|
-
|
|
313543
|
+
const { ReadableStream, TextEncoder } = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].global;
|
|
313418
313544
|
|
|
313419
313545
|
const test = (fn, ...args) => {
|
|
313420
313546
|
try {
|
|
313421
313547
|
return !!fn(...args);
|
|
313422
313548
|
} catch (e) {
|
|
313423
|
-
return false
|
|
313549
|
+
return false;
|
|
313424
313550
|
}
|
|
313425
|
-
}
|
|
313551
|
+
};
|
|
313426
313552
|
|
|
313427
313553
|
const factory = (env) => {
|
|
313428
|
-
env = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].merge.call(
|
|
313429
|
-
|
|
313430
|
-
|
|
313554
|
+
env = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].merge.call(
|
|
313555
|
+
{
|
|
313556
|
+
skipUndefined: true,
|
|
313557
|
+
},
|
|
313558
|
+
globalFetchAPI,
|
|
313559
|
+
env
|
|
313560
|
+
);
|
|
313431
313561
|
|
|
313432
|
-
const {fetch: envFetch, Request, Response} = env;
|
|
313562
|
+
const { fetch: envFetch, Request, Response } = env;
|
|
313433
313563
|
const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function';
|
|
313434
313564
|
const isRequestSupported = isFunction(Request);
|
|
313435
313565
|
const isResponseSupported = isFunction(Response);
|
|
@@ -313440,46 +313570,61 @@ const factory = (env) => {
|
|
|
313440
313570
|
|
|
313441
313571
|
const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream);
|
|
313442
313572
|
|
|
313443
|
-
const encodeText =
|
|
313444
|
-
|
|
313445
|
-
|
|
313446
|
-
|
|
313447
|
-
|
|
313448
|
-
|
|
313449
|
-
|
|
313450
|
-
|
|
313451
|
-
|
|
313452
|
-
|
|
313453
|
-
|
|
313454
|
-
|
|
313455
|
-
|
|
313456
|
-
|
|
313457
|
-
|
|
313458
|
-
|
|
313573
|
+
const encodeText =
|
|
313574
|
+
isFetchSupported &&
|
|
313575
|
+
(typeof TextEncoder === 'function'
|
|
313576
|
+
? (
|
|
313577
|
+
(encoder) => (str) =>
|
|
313578
|
+
encoder.encode(str)
|
|
313579
|
+
)(new TextEncoder())
|
|
313580
|
+
: async (str) => new Uint8Array(await new Request(str).arrayBuffer()));
|
|
313581
|
+
|
|
313582
|
+
const supportsRequestStream =
|
|
313583
|
+
isRequestSupported &&
|
|
313584
|
+
isReadableStreamSupported &&
|
|
313585
|
+
test(() => {
|
|
313586
|
+
let duplexAccessed = false;
|
|
313587
|
+
|
|
313588
|
+
const hasContentType = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_1__["default"].origin, {
|
|
313589
|
+
body: new ReadableStream(),
|
|
313590
|
+
method: 'POST',
|
|
313591
|
+
get duplex() {
|
|
313592
|
+
duplexAccessed = true;
|
|
313593
|
+
return 'half';
|
|
313594
|
+
},
|
|
313595
|
+
}).headers.has('Content-Type');
|
|
313459
313596
|
|
|
313460
|
-
|
|
313461
|
-
|
|
313597
|
+
return duplexAccessed && !hasContentType;
|
|
313598
|
+
});
|
|
313462
313599
|
|
|
313463
|
-
const supportsResponseStream =
|
|
313600
|
+
const supportsResponseStream =
|
|
313601
|
+
isResponseSupported &&
|
|
313602
|
+
isReadableStreamSupported &&
|
|
313464
313603
|
test(() => _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReadableStream(new Response('').body));
|
|
313465
313604
|
|
|
313466
313605
|
const resolvers = {
|
|
313467
|
-
stream: supportsResponseStream && ((res) => res.body)
|
|
313606
|
+
stream: supportsResponseStream && ((res) => res.body),
|
|
313468
313607
|
};
|
|
313469
313608
|
|
|
313470
|
-
isFetchSupported &&
|
|
313471
|
-
|
|
313472
|
-
|
|
313473
|
-
|
|
313609
|
+
isFetchSupported &&
|
|
313610
|
+
(() => {
|
|
313611
|
+
['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach((type) => {
|
|
313612
|
+
!resolvers[type] &&
|
|
313613
|
+
(resolvers[type] = (res, config) => {
|
|
313614
|
+
let method = res && res[type];
|
|
313474
313615
|
|
|
313475
|
-
|
|
313476
|
-
|
|
313477
|
-
|
|
313616
|
+
if (method) {
|
|
313617
|
+
return method.call(res);
|
|
313618
|
+
}
|
|
313478
313619
|
|
|
313479
|
-
|
|
313480
|
-
|
|
313481
|
-
|
|
313482
|
-
|
|
313620
|
+
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
|
|
313621
|
+
`Response type '${type}' is not supported`,
|
|
313622
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_NOT_SUPPORT,
|
|
313623
|
+
config
|
|
313624
|
+
);
|
|
313625
|
+
});
|
|
313626
|
+
});
|
|
313627
|
+
})();
|
|
313483
313628
|
|
|
313484
313629
|
const getBodyLength = async (body) => {
|
|
313485
313630
|
if (body == null) {
|
|
@@ -313509,13 +313654,13 @@ const factory = (env) => {
|
|
|
313509
313654
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(body)) {
|
|
313510
313655
|
return (await encodeText(body)).byteLength;
|
|
313511
313656
|
}
|
|
313512
|
-
}
|
|
313657
|
+
};
|
|
313513
313658
|
|
|
313514
313659
|
const resolveBodyLength = async (headers, body) => {
|
|
313515
313660
|
const length = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toFiniteNumber(headers.getContentLength());
|
|
313516
313661
|
|
|
313517
313662
|
return length == null ? getBodyLength(body) : length;
|
|
313518
|
-
}
|
|
313663
|
+
};
|
|
313519
313664
|
|
|
313520
313665
|
return async (config) => {
|
|
313521
313666
|
let {
|
|
@@ -313530,38 +313675,47 @@ const factory = (env) => {
|
|
|
313530
313675
|
responseType,
|
|
313531
313676
|
headers,
|
|
313532
313677
|
withCredentials = 'same-origin',
|
|
313533
|
-
fetchOptions
|
|
313678
|
+
fetchOptions,
|
|
313534
313679
|
} = (0,_helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__["default"])(config);
|
|
313535
313680
|
|
|
313536
313681
|
let _fetch = envFetch || fetch;
|
|
313537
313682
|
|
|
313538
313683
|
responseType = responseType ? (responseType + '').toLowerCase() : 'text';
|
|
313539
313684
|
|
|
313540
|
-
let composedSignal = (0,_helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__["default"])(
|
|
313685
|
+
let composedSignal = (0,_helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__["default"])(
|
|
313686
|
+
[signal, cancelToken && cancelToken.toAbortSignal()],
|
|
313687
|
+
timeout
|
|
313688
|
+
);
|
|
313541
313689
|
|
|
313542
313690
|
let request = null;
|
|
313543
313691
|
|
|
313544
|
-
const unsubscribe =
|
|
313545
|
-
composedSignal
|
|
313546
|
-
|
|
313692
|
+
const unsubscribe =
|
|
313693
|
+
composedSignal &&
|
|
313694
|
+
composedSignal.unsubscribe &&
|
|
313695
|
+
(() => {
|
|
313696
|
+
composedSignal.unsubscribe();
|
|
313697
|
+
});
|
|
313547
313698
|
|
|
313548
313699
|
let requestContentLength;
|
|
313549
313700
|
|
|
313550
313701
|
try {
|
|
313551
313702
|
if (
|
|
313552
|
-
onUploadProgress &&
|
|
313703
|
+
onUploadProgress &&
|
|
313704
|
+
supportsRequestStream &&
|
|
313705
|
+
method !== 'get' &&
|
|
313706
|
+
method !== 'head' &&
|
|
313553
313707
|
(requestContentLength = await resolveBodyLength(headers, data)) !== 0
|
|
313554
313708
|
) {
|
|
313555
313709
|
let _request = new Request(url, {
|
|
313556
313710
|
method: 'POST',
|
|
313557
313711
|
body: data,
|
|
313558
|
-
duplex:
|
|
313712
|
+
duplex: 'half',
|
|
313559
313713
|
});
|
|
313560
313714
|
|
|
313561
313715
|
let contentTypeHeader;
|
|
313562
313716
|
|
|
313563
313717
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {
|
|
313564
|
-
headers.setContentType(contentTypeHeader)
|
|
313718
|
+
headers.setContentType(contentTypeHeader);
|
|
313565
313719
|
}
|
|
313566
313720
|
|
|
313567
313721
|
if (_request.body) {
|
|
@@ -313580,7 +313734,7 @@ const factory = (env) => {
|
|
|
313580
313734
|
|
|
313581
313735
|
// Cloudflare Workers throws when credentials are defined
|
|
313582
313736
|
// see https://github.com/cloudflare/workerd/issues/902
|
|
313583
|
-
const isCredentialsSupported = isRequestSupported &&
|
|
313737
|
+
const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype;
|
|
313584
313738
|
|
|
313585
313739
|
const resolvedOptions = {
|
|
313586
313740
|
...fetchOptions,
|
|
@@ -313588,29 +313742,35 @@ const factory = (env) => {
|
|
|
313588
313742
|
method: method.toUpperCase(),
|
|
313589
313743
|
headers: headers.normalize().toJSON(),
|
|
313590
313744
|
body: data,
|
|
313591
|
-
duplex:
|
|
313592
|
-
credentials: isCredentialsSupported ? withCredentials : undefined
|
|
313745
|
+
duplex: 'half',
|
|
313746
|
+
credentials: isCredentialsSupported ? withCredentials : undefined,
|
|
313593
313747
|
};
|
|
313594
313748
|
|
|
313595
313749
|
request = isRequestSupported && new Request(url, resolvedOptions);
|
|
313596
313750
|
|
|
313597
|
-
let response = await (isRequestSupported
|
|
313751
|
+
let response = await (isRequestSupported
|
|
313752
|
+
? _fetch(request, fetchOptions)
|
|
313753
|
+
: _fetch(url, resolvedOptions));
|
|
313598
313754
|
|
|
313599
|
-
const isStreamResponse =
|
|
313755
|
+
const isStreamResponse =
|
|
313756
|
+
supportsResponseStream && (responseType === 'stream' || responseType === 'response');
|
|
313600
313757
|
|
|
313601
313758
|
if (supportsResponseStream && (onDownloadProgress || (isStreamResponse && unsubscribe))) {
|
|
313602
313759
|
const options = {};
|
|
313603
313760
|
|
|
313604
|
-
['status', 'statusText', 'headers'].forEach(prop => {
|
|
313761
|
+
['status', 'statusText', 'headers'].forEach((prop) => {
|
|
313605
313762
|
options[prop] = response[prop];
|
|
313606
313763
|
});
|
|
313607
313764
|
|
|
313608
313765
|
const responseContentLength = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toFiniteNumber(response.headers.get('content-length'));
|
|
313609
313766
|
|
|
313610
|
-
const [onProgress, flush] =
|
|
313611
|
-
|
|
313612
|
-
|
|
313613
|
-
|
|
313767
|
+
const [onProgress, flush] =
|
|
313768
|
+
(onDownloadProgress &&
|
|
313769
|
+
(0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.progressEventDecorator)(
|
|
313770
|
+
responseContentLength,
|
|
313771
|
+
(0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.progressEventReducer)((0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.asyncDecorator)(onDownloadProgress), true)
|
|
313772
|
+
)) ||
|
|
313773
|
+
[];
|
|
313614
313774
|
|
|
313615
313775
|
response = new Response(
|
|
313616
313776
|
(0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__.trackStream)(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
@@ -313623,7 +313783,10 @@ const factory = (env) => {
|
|
|
313623
313783
|
|
|
313624
313784
|
responseType = responseType || 'text';
|
|
313625
313785
|
|
|
313626
|
-
let responseData = await resolvers[_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].findKey(resolvers, responseType) || 'text'](
|
|
313786
|
+
let responseData = await resolvers[_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].findKey(resolvers, responseType) || 'text'](
|
|
313787
|
+
response,
|
|
313788
|
+
config
|
|
313789
|
+
);
|
|
313627
313790
|
|
|
313628
313791
|
!isStreamResponse && unsubscribe && unsubscribe();
|
|
313629
313792
|
|
|
@@ -313634,43 +313797,50 @@ const factory = (env) => {
|
|
|
313634
313797
|
status: response.status,
|
|
313635
313798
|
statusText: response.statusText,
|
|
313636
313799
|
config,
|
|
313637
|
-
request
|
|
313638
|
-
})
|
|
313639
|
-
})
|
|
313800
|
+
request,
|
|
313801
|
+
});
|
|
313802
|
+
});
|
|
313640
313803
|
} catch (err) {
|
|
313641
313804
|
unsubscribe && unsubscribe();
|
|
313642
313805
|
|
|
313643
313806
|
if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {
|
|
313644
313807
|
throw Object.assign(
|
|
313645
|
-
new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
|
|
313808
|
+
new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
|
|
313809
|
+
'Network Error',
|
|
313810
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_NETWORK,
|
|
313811
|
+
config,
|
|
313812
|
+
request,
|
|
313813
|
+
err && err.response
|
|
313814
|
+
),
|
|
313646
313815
|
{
|
|
313647
|
-
cause: err.cause || err
|
|
313816
|
+
cause: err.cause || err,
|
|
313648
313817
|
}
|
|
313649
|
-
)
|
|
313818
|
+
);
|
|
313650
313819
|
}
|
|
313651
313820
|
|
|
313652
313821
|
throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].from(err, err && err.code, config, request, err && err.response);
|
|
313653
313822
|
}
|
|
313654
|
-
}
|
|
313655
|
-
}
|
|
313823
|
+
};
|
|
313824
|
+
};
|
|
313656
313825
|
|
|
313657
313826
|
const seedCache = new Map();
|
|
313658
313827
|
|
|
313659
313828
|
const getFetch = (config) => {
|
|
313660
313829
|
let env = (config && config.env) || {};
|
|
313661
|
-
const {fetch, Request, Response} = env;
|
|
313662
|
-
const seeds = [
|
|
313663
|
-
Request, Response, fetch
|
|
313664
|
-
];
|
|
313830
|
+
const { fetch, Request, Response } = env;
|
|
313831
|
+
const seeds = [Request, Response, fetch];
|
|
313665
313832
|
|
|
313666
|
-
let len = seeds.length,
|
|
313667
|
-
|
|
313833
|
+
let len = seeds.length,
|
|
313834
|
+
i = len,
|
|
313835
|
+
seed,
|
|
313836
|
+
target,
|
|
313837
|
+
map = seedCache;
|
|
313668
313838
|
|
|
313669
313839
|
while (i--) {
|
|
313670
313840
|
seed = seeds[i];
|
|
313671
313841
|
target = map.get(seed);
|
|
313672
313842
|
|
|
313673
|
-
target === undefined && map.set(seed, target =
|
|
313843
|
+
target === undefined && map.set(seed, (target = i ? new Map() : factory(env)));
|
|
313674
313844
|
|
|
313675
313845
|
map = target;
|
|
313676
313846
|
}
|
|
@@ -313685,9 +313855,9 @@ const adapter = getFetch();
|
|
|
313685
313855
|
|
|
313686
313856
|
/***/ }),
|
|
313687
313857
|
|
|
313688
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313858
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/xhr.js":
|
|
313689
313859
|
/*!************************************************************************************************!*\
|
|
313690
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313860
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/xhr.js ***!
|
|
313691
313861
|
\************************************************************************************************/
|
|
313692
313862
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
313693
313863
|
|
|
@@ -313696,16 +313866,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313696
313866
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
313697
313867
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
313698
313868
|
/* harmony export */ });
|
|
313699
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313700
|
-
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313701
|
-
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313702
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313703
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313704
|
-
/* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313705
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313706
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313707
|
-
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313708
|
-
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313869
|
+
/* 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");
|
|
313870
|
+
/* 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");
|
|
313871
|
+
/* 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");
|
|
313872
|
+
/* 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");
|
|
313873
|
+
/* 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");
|
|
313874
|
+
/* 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");
|
|
313875
|
+
/* 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");
|
|
313876
|
+
/* 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");
|
|
313877
|
+
/* 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");
|
|
313878
|
+
/* 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");
|
|
313709
313879
|
|
|
313710
313880
|
|
|
313711
313881
|
|
|
@@ -313719,200 +313889,222 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313719
313889
|
|
|
313720
313890
|
const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
313721
313891
|
|
|
313722
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isXHRAdapterSupported &&
|
|
313723
|
-
|
|
313724
|
-
|
|
313725
|
-
|
|
313726
|
-
|
|
313727
|
-
|
|
313728
|
-
|
|
313729
|
-
|
|
313730
|
-
|
|
313892
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isXHRAdapterSupported &&
|
|
313893
|
+
function (config) {
|
|
313894
|
+
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
313895
|
+
const _config = (0,_helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_0__["default"])(config);
|
|
313896
|
+
let requestData = _config.data;
|
|
313897
|
+
const requestHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(_config.headers).normalize();
|
|
313898
|
+
let { responseType, onUploadProgress, onDownloadProgress } = _config;
|
|
313899
|
+
let onCanceled;
|
|
313900
|
+
let uploadThrottled, downloadThrottled;
|
|
313901
|
+
let flushUpload, flushDownload;
|
|
313731
313902
|
|
|
313732
|
-
|
|
313733
|
-
|
|
313734
|
-
|
|
313903
|
+
function done() {
|
|
313904
|
+
flushUpload && flushUpload(); // flush events
|
|
313905
|
+
flushDownload && flushDownload(); // flush events
|
|
313735
313906
|
|
|
313736
|
-
|
|
313907
|
+
_config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);
|
|
313737
313908
|
|
|
313738
|
-
|
|
313739
|
-
|
|
313909
|
+
_config.signal && _config.signal.removeEventListener('abort', onCanceled);
|
|
313910
|
+
}
|
|
313740
313911
|
|
|
313741
|
-
|
|
313912
|
+
let request = new XMLHttpRequest();
|
|
313742
313913
|
|
|
313743
|
-
|
|
313914
|
+
request.open(_config.method.toUpperCase(), _config.url, true);
|
|
313744
313915
|
|
|
313745
|
-
|
|
313746
|
-
|
|
313916
|
+
// Set the request timeout in MS
|
|
313917
|
+
request.timeout = _config.timeout;
|
|
313747
313918
|
|
|
313748
|
-
|
|
313749
|
-
|
|
313750
|
-
|
|
313919
|
+
function onloadend() {
|
|
313920
|
+
if (!request) {
|
|
313921
|
+
return;
|
|
313922
|
+
}
|
|
313923
|
+
// Prepare the response
|
|
313924
|
+
const responseHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(
|
|
313925
|
+
'getAllResponseHeaders' in request && request.getAllResponseHeaders()
|
|
313926
|
+
);
|
|
313927
|
+
const responseData =
|
|
313928
|
+
!responseType || responseType === 'text' || responseType === 'json'
|
|
313929
|
+
? request.responseText
|
|
313930
|
+
: request.response;
|
|
313931
|
+
const response = {
|
|
313932
|
+
data: responseData,
|
|
313933
|
+
status: request.status,
|
|
313934
|
+
statusText: request.statusText,
|
|
313935
|
+
headers: responseHeaders,
|
|
313936
|
+
config,
|
|
313937
|
+
request,
|
|
313938
|
+
};
|
|
313939
|
+
|
|
313940
|
+
(0,_core_settle_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
313941
|
+
function _resolve(value) {
|
|
313942
|
+
resolve(value);
|
|
313943
|
+
done();
|
|
313944
|
+
},
|
|
313945
|
+
function _reject(err) {
|
|
313946
|
+
reject(err);
|
|
313947
|
+
done();
|
|
313948
|
+
},
|
|
313949
|
+
response
|
|
313950
|
+
);
|
|
313951
|
+
|
|
313952
|
+
// Clean up request
|
|
313953
|
+
request = null;
|
|
313751
313954
|
}
|
|
313752
|
-
// Prepare the response
|
|
313753
|
-
const responseHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(
|
|
313754
|
-
'getAllResponseHeaders' in request && request.getAllResponseHeaders()
|
|
313755
|
-
);
|
|
313756
|
-
const responseData = !responseType || responseType === 'text' || responseType === 'json' ?
|
|
313757
|
-
request.responseText : request.response;
|
|
313758
|
-
const response = {
|
|
313759
|
-
data: responseData,
|
|
313760
|
-
status: request.status,
|
|
313761
|
-
statusText: request.statusText,
|
|
313762
|
-
headers: responseHeaders,
|
|
313763
|
-
config,
|
|
313764
|
-
request
|
|
313765
|
-
};
|
|
313766
313955
|
|
|
313767
|
-
(
|
|
313768
|
-
|
|
313769
|
-
|
|
313770
|
-
}
|
|
313771
|
-
|
|
313772
|
-
|
|
313773
|
-
|
|
313956
|
+
if ('onloadend' in request) {
|
|
313957
|
+
// Use onloadend if available
|
|
313958
|
+
request.onloadend = onloadend;
|
|
313959
|
+
} else {
|
|
313960
|
+
// Listen for ready state to emulate onloadend
|
|
313961
|
+
request.onreadystatechange = function handleLoad() {
|
|
313962
|
+
if (!request || request.readyState !== 4) {
|
|
313963
|
+
return;
|
|
313964
|
+
}
|
|
313774
313965
|
|
|
313775
|
-
|
|
313776
|
-
|
|
313777
|
-
|
|
313966
|
+
// The request errored out and we didn't get a response, this will be
|
|
313967
|
+
// handled by onerror instead
|
|
313968
|
+
// With one exception: request that using file: protocol, most browsers
|
|
313969
|
+
// will return status as 0 even though it's a successful request
|
|
313970
|
+
if (
|
|
313971
|
+
request.status === 0 &&
|
|
313972
|
+
!(request.responseURL && request.responseURL.indexOf('file:') === 0)
|
|
313973
|
+
) {
|
|
313974
|
+
return;
|
|
313975
|
+
}
|
|
313976
|
+
// readystate handler is calling before onerror or ontimeout handlers,
|
|
313977
|
+
// so we should call onloadend on the next 'tick'
|
|
313978
|
+
setTimeout(onloadend);
|
|
313979
|
+
};
|
|
313980
|
+
}
|
|
313778
313981
|
|
|
313779
|
-
|
|
313780
|
-
|
|
313781
|
-
|
|
313782
|
-
} else {
|
|
313783
|
-
// Listen for ready state to emulate onloadend
|
|
313784
|
-
request.onreadystatechange = function handleLoad() {
|
|
313785
|
-
if (!request || request.readyState !== 4) {
|
|
313982
|
+
// Handle browser request cancellation (as opposed to a manual cancellation)
|
|
313983
|
+
request.onabort = function handleAbort() {
|
|
313984
|
+
if (!request) {
|
|
313786
313985
|
return;
|
|
313787
313986
|
}
|
|
313788
313987
|
|
|
313789
|
-
|
|
313790
|
-
|
|
313791
|
-
//
|
|
313792
|
-
|
|
313793
|
-
if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
|
|
313794
|
-
return;
|
|
313795
|
-
}
|
|
313796
|
-
// readystate handler is calling before onerror or ontimeout handlers,
|
|
313797
|
-
// so we should call onloadend on the next 'tick'
|
|
313798
|
-
setTimeout(onloadend);
|
|
313988
|
+
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"]('Request aborted', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ECONNABORTED, config, request));
|
|
313989
|
+
|
|
313990
|
+
// Clean up request
|
|
313991
|
+
request = null;
|
|
313799
313992
|
};
|
|
313800
|
-
}
|
|
313801
313993
|
|
|
313802
|
-
|
|
313803
|
-
|
|
313804
|
-
|
|
313805
|
-
|
|
313806
|
-
|
|
313994
|
+
// Handle low level network errors
|
|
313995
|
+
request.onerror = function handleError(event) {
|
|
313996
|
+
// Browsers deliver a ProgressEvent in XHR onerror
|
|
313997
|
+
// (message may be empty; when present, surface it)
|
|
313998
|
+
// See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event
|
|
313999
|
+
const msg = event && event.message ? event.message : 'Network Error';
|
|
314000
|
+
const err = new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](msg, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ERR_NETWORK, config, request);
|
|
314001
|
+
// attach the underlying event for consumers who want details
|
|
314002
|
+
err.event = event || null;
|
|
314003
|
+
reject(err);
|
|
314004
|
+
request = null;
|
|
314005
|
+
};
|
|
313807
314006
|
|
|
313808
|
-
|
|
314007
|
+
// Handle timeout
|
|
314008
|
+
request.ontimeout = function handleTimeout() {
|
|
314009
|
+
let timeoutErrorMessage = _config.timeout
|
|
314010
|
+
? 'timeout of ' + _config.timeout + 'ms exceeded'
|
|
314011
|
+
: 'timeout exceeded';
|
|
314012
|
+
const transitional = _config.transitional || _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__["default"];
|
|
314013
|
+
if (_config.timeoutErrorMessage) {
|
|
314014
|
+
timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
314015
|
+
}
|
|
314016
|
+
reject(
|
|
314017
|
+
new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](
|
|
314018
|
+
timeoutErrorMessage,
|
|
314019
|
+
transitional.clarifyTimeoutError ? _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ETIMEDOUT : _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ECONNABORTED,
|
|
314020
|
+
config,
|
|
314021
|
+
request
|
|
314022
|
+
)
|
|
314023
|
+
);
|
|
313809
314024
|
|
|
313810
|
-
|
|
313811
|
-
|
|
313812
|
-
|
|
314025
|
+
// Clean up request
|
|
314026
|
+
request = null;
|
|
314027
|
+
};
|
|
313813
314028
|
|
|
313814
|
-
|
|
313815
|
-
|
|
313816
|
-
// Browsers deliver a ProgressEvent in XHR onerror
|
|
313817
|
-
// (message may be empty; when present, surface it)
|
|
313818
|
-
// See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event
|
|
313819
|
-
const msg = event && event.message ? event.message : 'Network Error';
|
|
313820
|
-
const err = new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](msg, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ERR_NETWORK, config, request);
|
|
313821
|
-
// attach the underlying event for consumers who want details
|
|
313822
|
-
err.event = event || null;
|
|
313823
|
-
reject(err);
|
|
313824
|
-
request = null;
|
|
313825
|
-
};
|
|
313826
|
-
|
|
313827
|
-
// Handle timeout
|
|
313828
|
-
request.ontimeout = function handleTimeout() {
|
|
313829
|
-
let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded';
|
|
313830
|
-
const transitional = _config.transitional || _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__["default"];
|
|
313831
|
-
if (_config.timeoutErrorMessage) {
|
|
313832
|
-
timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
313833
|
-
}
|
|
313834
|
-
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](
|
|
313835
|
-
timeoutErrorMessage,
|
|
313836
|
-
transitional.clarifyTimeoutError ? _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ETIMEDOUT : _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ECONNABORTED,
|
|
313837
|
-
config,
|
|
313838
|
-
request));
|
|
313839
|
-
|
|
313840
|
-
// Clean up request
|
|
313841
|
-
request = null;
|
|
313842
|
-
};
|
|
314029
|
+
// Remove Content-Type if data is undefined
|
|
314030
|
+
requestData === undefined && requestHeaders.setContentType(null);
|
|
313843
314031
|
|
|
313844
|
-
|
|
313845
|
-
|
|
314032
|
+
// Add headers to the request
|
|
314033
|
+
if ('setRequestHeader' in request) {
|
|
314034
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_5__["default"].forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
|
|
314035
|
+
request.setRequestHeader(key, val);
|
|
314036
|
+
});
|
|
314037
|
+
}
|
|
313846
314038
|
|
|
313847
|
-
|
|
313848
|
-
|
|
313849
|
-
|
|
313850
|
-
|
|
313851
|
-
});
|
|
313852
|
-
}
|
|
314039
|
+
// Add withCredentials to request if needed
|
|
314040
|
+
if (!_utils_js__WEBPACK_IMPORTED_MODULE_5__["default"].isUndefined(_config.withCredentials)) {
|
|
314041
|
+
request.withCredentials = !!_config.withCredentials;
|
|
314042
|
+
}
|
|
313853
314043
|
|
|
313854
|
-
|
|
313855
|
-
|
|
313856
|
-
|
|
313857
|
-
|
|
314044
|
+
// Add responseType to request if needed
|
|
314045
|
+
if (responseType && responseType !== 'json') {
|
|
314046
|
+
request.responseType = _config.responseType;
|
|
314047
|
+
}
|
|
313858
314048
|
|
|
313859
|
-
|
|
313860
|
-
|
|
313861
|
-
|
|
313862
|
-
|
|
314049
|
+
// Handle progress if needed
|
|
314050
|
+
if (onDownloadProgress) {
|
|
314051
|
+
[downloadThrottled, flushDownload] = (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventReducer)(onDownloadProgress, true);
|
|
314052
|
+
request.addEventListener('progress', downloadThrottled);
|
|
314053
|
+
}
|
|
313863
314054
|
|
|
313864
|
-
|
|
313865
|
-
|
|
313866
|
-
|
|
313867
|
-
request.addEventListener('progress', downloadThrottled);
|
|
313868
|
-
}
|
|
314055
|
+
// Not all browsers support upload events
|
|
314056
|
+
if (onUploadProgress && request.upload) {
|
|
314057
|
+
[uploadThrottled, flushUpload] = (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventReducer)(onUploadProgress);
|
|
313869
314058
|
|
|
313870
|
-
|
|
313871
|
-
if (onUploadProgress && request.upload) {
|
|
313872
|
-
([uploadThrottled, flushUpload] = (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventReducer)(onUploadProgress));
|
|
314059
|
+
request.upload.addEventListener('progress', uploadThrottled);
|
|
313873
314060
|
|
|
313874
|
-
|
|
314061
|
+
request.upload.addEventListener('loadend', flushUpload);
|
|
314062
|
+
}
|
|
313875
314063
|
|
|
313876
|
-
|
|
313877
|
-
|
|
314064
|
+
if (_config.cancelToken || _config.signal) {
|
|
314065
|
+
// Handle cancellation
|
|
314066
|
+
// eslint-disable-next-line func-names
|
|
314067
|
+
onCanceled = (cancel) => {
|
|
314068
|
+
if (!request) {
|
|
314069
|
+
return;
|
|
314070
|
+
}
|
|
314071
|
+
reject(!cancel || cancel.type ? new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__["default"](null, config, request) : cancel);
|
|
314072
|
+
request.abort();
|
|
314073
|
+
request = null;
|
|
314074
|
+
};
|
|
313878
314075
|
|
|
313879
|
-
|
|
313880
|
-
|
|
313881
|
-
|
|
313882
|
-
|
|
313883
|
-
|
|
313884
|
-
return;
|
|
314076
|
+
_config.cancelToken && _config.cancelToken.subscribe(onCanceled);
|
|
314077
|
+
if (_config.signal) {
|
|
314078
|
+
_config.signal.aborted
|
|
314079
|
+
? onCanceled()
|
|
314080
|
+
: _config.signal.addEventListener('abort', onCanceled);
|
|
313885
314081
|
}
|
|
313886
|
-
reject(!cancel || cancel.type ? new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__["default"](null, config, request) : cancel);
|
|
313887
|
-
request.abort();
|
|
313888
|
-
request = null;
|
|
313889
|
-
};
|
|
313890
|
-
|
|
313891
|
-
_config.cancelToken && _config.cancelToken.subscribe(onCanceled);
|
|
313892
|
-
if (_config.signal) {
|
|
313893
|
-
_config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled);
|
|
313894
314082
|
}
|
|
313895
|
-
}
|
|
313896
314083
|
|
|
313897
|
-
|
|
313898
|
-
|
|
313899
|
-
if (protocol && _platform_index_js__WEBPACK_IMPORTED_MODULE_9__["default"].protocols.indexOf(protocol) === -1) {
|
|
313900
|
-
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));
|
|
313901
|
-
return;
|
|
313902
|
-
}
|
|
314084
|
+
const protocol = (0,_helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_8__["default"])(_config.url);
|
|
313903
314085
|
|
|
314086
|
+
if (protocol && _platform_index_js__WEBPACK_IMPORTED_MODULE_9__["default"].protocols.indexOf(protocol) === -1) {
|
|
314087
|
+
reject(
|
|
314088
|
+
new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](
|
|
314089
|
+
'Unsupported protocol ' + protocol + ':',
|
|
314090
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ERR_BAD_REQUEST,
|
|
314091
|
+
config
|
|
314092
|
+
)
|
|
314093
|
+
);
|
|
314094
|
+
return;
|
|
314095
|
+
}
|
|
313904
314096
|
|
|
313905
|
-
|
|
313906
|
-
|
|
314097
|
+
// Send the request
|
|
314098
|
+
request.send(requestData || null);
|
|
314099
|
+
});
|
|
313907
314100
|
});
|
|
313908
|
-
});
|
|
313909
314101
|
|
|
313910
314102
|
|
|
313911
314103
|
/***/ }),
|
|
313912
314104
|
|
|
313913
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314105
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/axios.js":
|
|
313914
314106
|
/*!*****************************************************************************************!*\
|
|
313915
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314107
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/axios.js ***!
|
|
313916
314108
|
\*****************************************************************************************/
|
|
313917
314109
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
313918
314110
|
|
|
@@ -313921,23 +314113,23 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313921
314113
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
313922
314114
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
313923
314115
|
/* harmony export */ });
|
|
313924
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313925
|
-
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313926
|
-
/* harmony import */ var _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core/Axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313927
|
-
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313928
|
-
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313929
|
-
/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313930
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313931
|
-
/* harmony import */ var _cancel_CancelToken_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cancel/CancelToken.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313932
|
-
/* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313933
|
-
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313934
|
-
/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313935
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313936
|
-
/* harmony import */ var _helpers_spread_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./helpers/spread.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313937
|
-
/* harmony import */ var _helpers_isAxiosError_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./helpers/isAxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313938
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313939
|
-
/* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313940
|
-
/* harmony import */ var _helpers_HttpStatusCode_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./helpers/HttpStatusCode.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314116
|
+
/* 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");
|
|
314117
|
+
/* 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");
|
|
314118
|
+
/* 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");
|
|
314119
|
+
/* 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");
|
|
314120
|
+
/* 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");
|
|
314121
|
+
/* 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");
|
|
314122
|
+
/* 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");
|
|
314123
|
+
/* 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");
|
|
314124
|
+
/* 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");
|
|
314125
|
+
/* 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");
|
|
314126
|
+
/* 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");
|
|
314127
|
+
/* 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");
|
|
314128
|
+
/* 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");
|
|
314129
|
+
/* 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");
|
|
314130
|
+
/* 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");
|
|
314131
|
+
/* 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");
|
|
314132
|
+
/* 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");
|
|
313941
314133
|
|
|
313942
314134
|
|
|
313943
314135
|
|
|
@@ -313970,10 +314162,10 @@ function createInstance(defaultConfig) {
|
|
|
313970
314162
|
const instance = (0,_helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__["default"])(_core_Axios_js__WEBPACK_IMPORTED_MODULE_0__["default"].prototype.request, context);
|
|
313971
314163
|
|
|
313972
314164
|
// Copy axios.prototype to instance
|
|
313973
|
-
_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].extend(instance, _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__["default"].prototype, context, {allOwnKeys: true});
|
|
314165
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].extend(instance, _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__["default"].prototype, context, { allOwnKeys: true });
|
|
313974
314166
|
|
|
313975
314167
|
// Copy context to instance
|
|
313976
|
-
_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].extend(instance, context, null, {allOwnKeys: true});
|
|
314168
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].extend(instance, context, null, { allOwnKeys: true });
|
|
313977
314169
|
|
|
313978
314170
|
// Factory for creating new instances
|
|
313979
314171
|
instance.create = function create(instanceConfig) {
|
|
@@ -314017,7 +314209,7 @@ axios.mergeConfig = _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__["default"]
|
|
|
314017
314209
|
|
|
314018
314210
|
axios.AxiosHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_13__["default"];
|
|
314019
314211
|
|
|
314020
|
-
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);
|
|
314212
|
+
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);
|
|
314021
314213
|
|
|
314022
314214
|
axios.getAdapter = _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__["default"].getAdapter;
|
|
314023
314215
|
|
|
@@ -314031,9 +314223,9 @@ axios.default = axios;
|
|
|
314031
314223
|
|
|
314032
314224
|
/***/ }),
|
|
314033
314225
|
|
|
314034
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314226
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CancelToken.js":
|
|
314035
314227
|
/*!******************************************************************************************************!*\
|
|
314036
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314228
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CancelToken.js ***!
|
|
314037
314229
|
\******************************************************************************************************/
|
|
314038
314230
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314039
314231
|
|
|
@@ -314042,7 +314234,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314042
314234
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
314043
314235
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
314044
314236
|
/* harmony export */ });
|
|
314045
|
-
/* harmony import */ var _CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314237
|
+
/* 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");
|
|
314046
314238
|
|
|
314047
314239
|
|
|
314048
314240
|
|
|
@@ -314069,7 +314261,7 @@ class CancelToken {
|
|
|
314069
314261
|
const token = this;
|
|
314070
314262
|
|
|
314071
314263
|
// eslint-disable-next-line func-names
|
|
314072
|
-
this.promise.then(cancel => {
|
|
314264
|
+
this.promise.then((cancel) => {
|
|
314073
314265
|
if (!token._listeners) return;
|
|
314074
314266
|
|
|
314075
314267
|
let i = token._listeners.length;
|
|
@@ -314081,10 +314273,10 @@ class CancelToken {
|
|
|
314081
314273
|
});
|
|
314082
314274
|
|
|
314083
314275
|
// eslint-disable-next-line func-names
|
|
314084
|
-
this.promise.then = onfulfilled => {
|
|
314276
|
+
this.promise.then = (onfulfilled) => {
|
|
314085
314277
|
let _resolve;
|
|
314086
314278
|
// eslint-disable-next-line func-names
|
|
314087
|
-
const promise = new Promise(resolve => {
|
|
314279
|
+
const promise = new Promise((resolve) => {
|
|
314088
314280
|
token.subscribe(resolve);
|
|
314089
314281
|
_resolve = resolve;
|
|
314090
314282
|
}).then(onfulfilled);
|
|
@@ -314172,7 +314364,7 @@ class CancelToken {
|
|
|
314172
314364
|
});
|
|
314173
314365
|
return {
|
|
314174
314366
|
token,
|
|
314175
|
-
cancel
|
|
314367
|
+
cancel,
|
|
314176
314368
|
};
|
|
314177
314369
|
}
|
|
314178
314370
|
}
|
|
@@ -314182,9 +314374,9 @@ class CancelToken {
|
|
|
314182
314374
|
|
|
314183
314375
|
/***/ }),
|
|
314184
314376
|
|
|
314185
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314377
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CanceledError.js":
|
|
314186
314378
|
/*!********************************************************************************************************!*\
|
|
314187
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314379
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CanceledError.js ***!
|
|
314188
314380
|
\********************************************************************************************************/
|
|
314189
314381
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314190
314382
|
|
|
@@ -314193,7 +314385,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314193
314385
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
314194
314386
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
314195
314387
|
/* harmony export */ });
|
|
314196
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314388
|
+
/* 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");
|
|
314197
314389
|
|
|
314198
314390
|
|
|
314199
314391
|
|
|
@@ -314220,9 +314412,9 @@ class CanceledError extends _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["de
|
|
|
314220
314412
|
|
|
314221
314413
|
/***/ }),
|
|
314222
314414
|
|
|
314223
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314415
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/isCancel.js":
|
|
314224
314416
|
/*!***************************************************************************************************!*\
|
|
314225
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314417
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/isCancel.js ***!
|
|
314226
314418
|
\***************************************************************************************************/
|
|
314227
314419
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314228
314420
|
|
|
@@ -314240,9 +314432,9 @@ function isCancel(value) {
|
|
|
314240
314432
|
|
|
314241
314433
|
/***/ }),
|
|
314242
314434
|
|
|
314243
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314435
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/Axios.js":
|
|
314244
314436
|
/*!**********************************************************************************************!*\
|
|
314245
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314437
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/Axios.js ***!
|
|
314246
314438
|
\**********************************************************************************************/
|
|
314247
314439
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314248
314440
|
|
|
@@ -314251,15 +314443,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314251
314443
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
314252
314444
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
314253
314445
|
/* harmony export */ });
|
|
314254
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314255
|
-
/* harmony import */ var _helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314256
|
-
/* harmony import */ var _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./InterceptorManager.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314257
|
-
/* harmony import */ var _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./dispatchRequest.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314258
|
-
/* harmony import */ var _mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314259
|
-
/* harmony import */ var _buildFullPath_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314260
|
-
/* harmony import */ var _helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/validator.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314261
|
-
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314262
|
-
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../defaults/transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314446
|
+
/* 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");
|
|
314447
|
+
/* 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");
|
|
314448
|
+
/* 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");
|
|
314449
|
+
/* 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");
|
|
314450
|
+
/* 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");
|
|
314451
|
+
/* 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");
|
|
314452
|
+
/* 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");
|
|
314453
|
+
/* 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");
|
|
314454
|
+
/* 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");
|
|
314263
314455
|
|
|
314264
314456
|
|
|
314265
314457
|
|
|
@@ -314286,7 +314478,7 @@ class Axios {
|
|
|
314286
314478
|
this.defaults = instanceConfig || {};
|
|
314287
314479
|
this.interceptors = {
|
|
314288
314480
|
request: new _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__["default"](),
|
|
314289
|
-
response: new _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__["default"]()
|
|
314481
|
+
response: new _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__["default"](),
|
|
314290
314482
|
};
|
|
314291
314483
|
}
|
|
314292
314484
|
|
|
@@ -314314,7 +314506,7 @@ class Axios {
|
|
|
314314
314506
|
err.stack = stack;
|
|
314315
314507
|
// match without the 2 top stack lines
|
|
314316
314508
|
} else if (stack && !String(err.stack).endsWith(stack.replace(/^.+\n.+\n/, ''))) {
|
|
314317
|
-
err.stack += '\n' + stack
|
|
314509
|
+
err.stack += '\n' + stack;
|
|
314318
314510
|
}
|
|
314319
314511
|
} catch (e) {
|
|
314320
314512
|
// ignore the case where "stack" is an un-writable property
|
|
@@ -314337,27 +314529,35 @@ class Axios {
|
|
|
314337
314529
|
|
|
314338
314530
|
config = (0,_mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__["default"])(this.defaults, config);
|
|
314339
314531
|
|
|
314340
|
-
const {transitional, paramsSerializer, headers} = config;
|
|
314532
|
+
const { transitional, paramsSerializer, headers } = config;
|
|
314341
314533
|
|
|
314342
314534
|
if (transitional !== undefined) {
|
|
314343
|
-
_helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(
|
|
314344
|
-
|
|
314345
|
-
|
|
314346
|
-
|
|
314347
|
-
|
|
314348
|
-
|
|
314535
|
+
_helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(
|
|
314536
|
+
transitional,
|
|
314537
|
+
{
|
|
314538
|
+
silentJSONParsing: validators.transitional(validators.boolean),
|
|
314539
|
+
forcedJSONParsing: validators.transitional(validators.boolean),
|
|
314540
|
+
clarifyTimeoutError: validators.transitional(validators.boolean),
|
|
314541
|
+
legacyInterceptorReqResOrdering: validators.transitional(validators.boolean),
|
|
314542
|
+
},
|
|
314543
|
+
false
|
|
314544
|
+
);
|
|
314349
314545
|
}
|
|
314350
314546
|
|
|
314351
314547
|
if (paramsSerializer != null) {
|
|
314352
314548
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].isFunction(paramsSerializer)) {
|
|
314353
314549
|
config.paramsSerializer = {
|
|
314354
|
-
serialize: paramsSerializer
|
|
314355
|
-
}
|
|
314550
|
+
serialize: paramsSerializer,
|
|
314551
|
+
};
|
|
314356
314552
|
} else {
|
|
314357
|
-
_helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(
|
|
314358
|
-
|
|
314359
|
-
|
|
314360
|
-
|
|
314553
|
+
_helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(
|
|
314554
|
+
paramsSerializer,
|
|
314555
|
+
{
|
|
314556
|
+
encode: validators.function,
|
|
314557
|
+
serialize: validators.function,
|
|
314558
|
+
},
|
|
314559
|
+
true
|
|
314560
|
+
);
|
|
314361
314561
|
}
|
|
314362
314562
|
}
|
|
314363
314563
|
|
|
@@ -314370,26 +314570,25 @@ class Axios {
|
|
|
314370
314570
|
config.allowAbsoluteUrls = true;
|
|
314371
314571
|
}
|
|
314372
314572
|
|
|
314373
|
-
_helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(
|
|
314374
|
-
|
|
314375
|
-
|
|
314376
|
-
|
|
314573
|
+
_helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(
|
|
314574
|
+
config,
|
|
314575
|
+
{
|
|
314576
|
+
baseUrl: validators.spelling('baseURL'),
|
|
314577
|
+
withXsrfToken: validators.spelling('withXSRFToken'),
|
|
314578
|
+
},
|
|
314579
|
+
true
|
|
314580
|
+
);
|
|
314377
314581
|
|
|
314378
314582
|
// Set config.method
|
|
314379
314583
|
config.method = (config.method || this.defaults.method || 'get').toLowerCase();
|
|
314380
314584
|
|
|
314381
314585
|
// Flatten headers
|
|
314382
|
-
let contextHeaders = headers && _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].merge(
|
|
314383
|
-
headers.common,
|
|
314384
|
-
headers[config.method]
|
|
314385
|
-
);
|
|
314586
|
+
let contextHeaders = headers && _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].merge(headers.common, headers[config.method]);
|
|
314386
314587
|
|
|
314387
|
-
headers &&
|
|
314388
|
-
['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
|
|
314389
|
-
(method) => {
|
|
314588
|
+
headers &&
|
|
314589
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'common'], (method) => {
|
|
314390
314590
|
delete headers[method];
|
|
314391
|
-
}
|
|
314392
|
-
);
|
|
314591
|
+
});
|
|
314393
314592
|
|
|
314394
314593
|
config.headers = _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__["default"].concat(contextHeaders, headers);
|
|
314395
314594
|
|
|
@@ -314404,7 +314603,8 @@ class Axios {
|
|
|
314404
314603
|
synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
|
|
314405
314604
|
|
|
314406
314605
|
const transitional = config.transitional || _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_5__["default"];
|
|
314407
|
-
const legacyInterceptorReqResOrdering =
|
|
314606
|
+
const legacyInterceptorReqResOrdering =
|
|
314607
|
+
transitional && transitional.legacyInterceptorReqResOrdering;
|
|
314408
314608
|
|
|
314409
314609
|
if (legacyInterceptorReqResOrdering) {
|
|
314410
314610
|
requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
|
|
@@ -314478,12 +314678,14 @@ class Axios {
|
|
|
314478
314678
|
// Provide aliases for supported request methods
|
|
314479
314679
|
_utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
|
|
314480
314680
|
/*eslint func-names:0*/
|
|
314481
|
-
Axios.prototype[method] = function(url, config) {
|
|
314482
|
-
return this.request(
|
|
314483
|
-
|
|
314484
|
-
|
|
314485
|
-
|
|
314486
|
-
|
|
314681
|
+
Axios.prototype[method] = function (url, config) {
|
|
314682
|
+
return this.request(
|
|
314683
|
+
(0,_mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__["default"])(config || {}, {
|
|
314684
|
+
method,
|
|
314685
|
+
url,
|
|
314686
|
+
data: (config || {}).data,
|
|
314687
|
+
})
|
|
314688
|
+
);
|
|
314487
314689
|
};
|
|
314488
314690
|
});
|
|
314489
314691
|
|
|
@@ -314492,14 +314694,18 @@ _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['post', 'put', 'patch
|
|
|
314492
314694
|
|
|
314493
314695
|
function generateHTTPMethod(isForm) {
|
|
314494
314696
|
return function httpMethod(url, data, config) {
|
|
314495
|
-
return this.request(
|
|
314496
|
-
|
|
314497
|
-
|
|
314498
|
-
|
|
314499
|
-
|
|
314500
|
-
|
|
314501
|
-
|
|
314502
|
-
|
|
314697
|
+
return this.request(
|
|
314698
|
+
(0,_mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__["default"])(config || {}, {
|
|
314699
|
+
method,
|
|
314700
|
+
headers: isForm
|
|
314701
|
+
? {
|
|
314702
|
+
'Content-Type': 'multipart/form-data',
|
|
314703
|
+
}
|
|
314704
|
+
: {},
|
|
314705
|
+
url,
|
|
314706
|
+
data,
|
|
314707
|
+
})
|
|
314708
|
+
);
|
|
314503
314709
|
};
|
|
314504
314710
|
}
|
|
314505
314711
|
|
|
@@ -314513,9 +314719,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['post', 'put', 'patch
|
|
|
314513
314719
|
|
|
314514
314720
|
/***/ }),
|
|
314515
314721
|
|
|
314516
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314722
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js":
|
|
314517
314723
|
/*!***************************************************************************************************!*\
|
|
314518
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314724
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js ***!
|
|
314519
314725
|
\***************************************************************************************************/
|
|
314520
314726
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314521
314727
|
|
|
@@ -314524,20 +314730,26 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314524
314730
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
314525
314731
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
314526
314732
|
/* harmony export */ });
|
|
314527
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314733
|
+
/* 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");
|
|
314528
314734
|
|
|
314529
314735
|
|
|
314530
314736
|
|
|
314531
314737
|
|
|
314532
314738
|
class AxiosError extends Error {
|
|
314533
|
-
|
|
314534
|
-
|
|
314535
|
-
|
|
314536
|
-
|
|
314537
|
-
|
|
314538
|
-
|
|
314739
|
+
static from(error, code, config, request, response, customProps) {
|
|
314740
|
+
const axiosError = new AxiosError(error.message, code || error.code, config, request, response);
|
|
314741
|
+
axiosError.cause = error;
|
|
314742
|
+
axiosError.name = error.name;
|
|
314743
|
+
|
|
314744
|
+
// Preserve status from the original error if not already set from response
|
|
314745
|
+
if (error.status != null && axiosError.status == null) {
|
|
314746
|
+
axiosError.status = error.status;
|
|
314539
314747
|
}
|
|
314540
314748
|
|
|
314749
|
+
customProps && Object.assign(axiosError, customProps);
|
|
314750
|
+
return axiosError;
|
|
314751
|
+
}
|
|
314752
|
+
|
|
314541
314753
|
/**
|
|
314542
314754
|
* Create an Error with the specified message, config, error code, request and response.
|
|
314543
314755
|
*
|
|
@@ -314550,37 +314762,48 @@ class AxiosError extends Error {
|
|
|
314550
314762
|
* @returns {Error} The created error.
|
|
314551
314763
|
*/
|
|
314552
314764
|
constructor(message, code, config, request, response) {
|
|
314553
|
-
|
|
314554
|
-
|
|
314555
|
-
|
|
314556
|
-
|
|
314557
|
-
|
|
314558
|
-
|
|
314559
|
-
|
|
314560
|
-
|
|
314561
|
-
|
|
314562
|
-
|
|
314765
|
+
super(message);
|
|
314766
|
+
|
|
314767
|
+
// Make message enumerable to maintain backward compatibility
|
|
314768
|
+
// The native Error constructor sets message as non-enumerable,
|
|
314769
|
+
// but axios < v1.13.3 had it as enumerable
|
|
314770
|
+
Object.defineProperty(this, 'message', {
|
|
314771
|
+
value: message,
|
|
314772
|
+
enumerable: true,
|
|
314773
|
+
writable: true,
|
|
314774
|
+
configurable: true
|
|
314775
|
+
});
|
|
314776
|
+
|
|
314777
|
+
this.name = 'AxiosError';
|
|
314778
|
+
this.isAxiosError = true;
|
|
314779
|
+
code && (this.code = code);
|
|
314780
|
+
config && (this.config = config);
|
|
314781
|
+
request && (this.request = request);
|
|
314782
|
+
if (response) {
|
|
314783
|
+
this.response = response;
|
|
314784
|
+
this.status = response.status;
|
|
314785
|
+
}
|
|
314563
314786
|
}
|
|
314564
314787
|
|
|
314565
|
-
|
|
314566
|
-
|
|
314567
|
-
|
|
314568
|
-
|
|
314569
|
-
|
|
314570
|
-
|
|
314571
|
-
|
|
314572
|
-
|
|
314573
|
-
|
|
314574
|
-
|
|
314575
|
-
|
|
314576
|
-
|
|
314577
|
-
|
|
314578
|
-
|
|
314579
|
-
|
|
314580
|
-
|
|
314581
|
-
|
|
314582
|
-
|
|
314583
|
-
|
|
314788
|
+
toJSON() {
|
|
314789
|
+
return {
|
|
314790
|
+
// Standard
|
|
314791
|
+
message: this.message,
|
|
314792
|
+
name: this.name,
|
|
314793
|
+
// Microsoft
|
|
314794
|
+
description: this.description,
|
|
314795
|
+
number: this.number,
|
|
314796
|
+
// Mozilla
|
|
314797
|
+
fileName: this.fileName,
|
|
314798
|
+
lineNumber: this.lineNumber,
|
|
314799
|
+
columnNumber: this.columnNumber,
|
|
314800
|
+
stack: this.stack,
|
|
314801
|
+
// Axios
|
|
314802
|
+
config: _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toJSONObject(this.config),
|
|
314803
|
+
code: this.code,
|
|
314804
|
+
status: this.status,
|
|
314805
|
+
};
|
|
314806
|
+
}
|
|
314584
314807
|
}
|
|
314585
314808
|
|
|
314586
314809
|
// This can be changed to static properties as soon as the parser options in .eslint.cjs are updated.
|
|
@@ -314602,9 +314825,9 @@ AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL';
|
|
|
314602
314825
|
|
|
314603
314826
|
/***/ }),
|
|
314604
314827
|
|
|
314605
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314828
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js":
|
|
314606
314829
|
/*!*****************************************************************************************************!*\
|
|
314607
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314830
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js ***!
|
|
314608
314831
|
\*****************************************************************************************************/
|
|
314609
314832
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314610
314833
|
|
|
@@ -314613,8 +314836,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314613
314836
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
314614
314837
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
314615
314838
|
/* harmony export */ });
|
|
314616
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314617
|
-
/* harmony import */ var _helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/parseHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314839
|
+
/* 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");
|
|
314840
|
+
/* 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");
|
|
314618
314841
|
|
|
314619
314842
|
|
|
314620
314843
|
|
|
@@ -314669,8 +314892,10 @@ function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {
|
|
|
314669
314892
|
}
|
|
314670
314893
|
|
|
314671
314894
|
function formatHeader(header) {
|
|
314672
|
-
return header
|
|
314673
|
-
.
|
|
314895
|
+
return header
|
|
314896
|
+
.trim()
|
|
314897
|
+
.toLowerCase()
|
|
314898
|
+
.replace(/([a-z\d])(\w*)/g, (w, char, str) => {
|
|
314674
314899
|
return char.toUpperCase() + str;
|
|
314675
314900
|
});
|
|
314676
314901
|
}
|
|
@@ -314678,12 +314903,12 @@ function formatHeader(header) {
|
|
|
314678
314903
|
function buildAccessors(obj, header) {
|
|
314679
314904
|
const accessorName = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toCamelCase(' ' + header);
|
|
314680
314905
|
|
|
314681
|
-
['get', 'set', 'has'].forEach(methodName => {
|
|
314906
|
+
['get', 'set', 'has'].forEach((methodName) => {
|
|
314682
314907
|
Object.defineProperty(obj, methodName + accessorName, {
|
|
314683
|
-
value: function(arg1, arg2, arg3) {
|
|
314908
|
+
value: function (arg1, arg2, arg3) {
|
|
314684
314909
|
return this[methodName].call(this, header, arg1, arg2, arg3);
|
|
314685
314910
|
},
|
|
314686
|
-
configurable: true
|
|
314911
|
+
configurable: true,
|
|
314687
314912
|
});
|
|
314688
314913
|
});
|
|
314689
314914
|
}
|
|
@@ -314705,7 +314930,12 @@ class AxiosHeaders {
|
|
|
314705
314930
|
|
|
314706
314931
|
const key = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].findKey(self, lHeader);
|
|
314707
314932
|
|
|
314708
|
-
if
|
|
314933
|
+
if (
|
|
314934
|
+
!key ||
|
|
314935
|
+
self[key] === undefined ||
|
|
314936
|
+
_rewrite === true ||
|
|
314937
|
+
(_rewrite === undefined && self[key] !== false)
|
|
314938
|
+
) {
|
|
314709
314939
|
self[key || _header] = normalizeValue(_value);
|
|
314710
314940
|
}
|
|
314711
314941
|
}
|
|
@@ -314714,21 +314944,26 @@ class AxiosHeaders {
|
|
|
314714
314944
|
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));
|
|
314715
314945
|
|
|
314716
314946
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isPlainObject(header) || header instanceof this.constructor) {
|
|
314717
|
-
setHeaders(header, valueOrRewrite)
|
|
314718
|
-
} else if(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
314947
|
+
setHeaders(header, valueOrRewrite);
|
|
314948
|
+
} else if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
314719
314949
|
setHeaders((0,_helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"])(header), valueOrRewrite);
|
|
314720
314950
|
} else if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(header) && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isIterable(header)) {
|
|
314721
|
-
let obj = {},
|
|
314951
|
+
let obj = {},
|
|
314952
|
+
dest,
|
|
314953
|
+
key;
|
|
314722
314954
|
for (const entry of header) {
|
|
314723
314955
|
if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(entry)) {
|
|
314724
314956
|
throw TypeError('Object iterator must return a key-value pair');
|
|
314725
314957
|
}
|
|
314726
314958
|
|
|
314727
|
-
obj[key = entry[0]] = (dest = obj[key])
|
|
314728
|
-
|
|
314959
|
+
obj[(key = entry[0])] = (dest = obj[key])
|
|
314960
|
+
? _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(dest)
|
|
314961
|
+
? [...dest, entry[1]]
|
|
314962
|
+
: [dest, entry[1]]
|
|
314963
|
+
: entry[1];
|
|
314729
314964
|
}
|
|
314730
314965
|
|
|
314731
|
-
setHeaders(obj, valueOrRewrite)
|
|
314966
|
+
setHeaders(obj, valueOrRewrite);
|
|
314732
314967
|
} else {
|
|
314733
314968
|
header != null && setHeader(valueOrRewrite, header, rewrite);
|
|
314734
314969
|
}
|
|
@@ -314772,7 +315007,11 @@ class AxiosHeaders {
|
|
|
314772
315007
|
if (header) {
|
|
314773
315008
|
const key = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].findKey(this, header);
|
|
314774
315009
|
|
|
314775
|
-
return !!(
|
|
315010
|
+
return !!(
|
|
315011
|
+
key &&
|
|
315012
|
+
this[key] !== undefined &&
|
|
315013
|
+
(!matcher || matchHeaderValue(this, this[key], key, matcher))
|
|
315014
|
+
);
|
|
314776
315015
|
}
|
|
314777
315016
|
|
|
314778
315017
|
return false;
|
|
@@ -314812,7 +315051,7 @@ class AxiosHeaders {
|
|
|
314812
315051
|
|
|
314813
315052
|
while (i--) {
|
|
314814
315053
|
const key = keys[i];
|
|
314815
|
-
if(!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
|
|
315054
|
+
if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
|
|
314816
315055
|
delete this[key];
|
|
314817
315056
|
deleted = true;
|
|
314818
315057
|
}
|
|
@@ -314856,7 +315095,9 @@ class AxiosHeaders {
|
|
|
314856
315095
|
const obj = Object.create(null);
|
|
314857
315096
|
|
|
314858
315097
|
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(this, (value, header) => {
|
|
314859
|
-
value != null &&
|
|
315098
|
+
value != null &&
|
|
315099
|
+
value !== false &&
|
|
315100
|
+
(obj[header] = asStrings && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value) ? value.join(', ') : value);
|
|
314860
315101
|
});
|
|
314861
315102
|
|
|
314862
315103
|
return obj;
|
|
@@ -314867,11 +315108,13 @@ class AxiosHeaders {
|
|
|
314867
315108
|
}
|
|
314868
315109
|
|
|
314869
315110
|
toString() {
|
|
314870
|
-
return Object.entries(this.toJSON())
|
|
315111
|
+
return Object.entries(this.toJSON())
|
|
315112
|
+
.map(([header, value]) => header + ': ' + value)
|
|
315113
|
+
.join('\n');
|
|
314871
315114
|
}
|
|
314872
315115
|
|
|
314873
315116
|
getSetCookie() {
|
|
314874
|
-
return this.get(
|
|
315117
|
+
return this.get('set-cookie') || [];
|
|
314875
315118
|
}
|
|
314876
315119
|
|
|
314877
315120
|
get [Symbol.toStringTag]() {
|
|
@@ -314891,9 +315134,12 @@ class AxiosHeaders {
|
|
|
314891
315134
|
}
|
|
314892
315135
|
|
|
314893
315136
|
static accessor(header) {
|
|
314894
|
-
const internals =
|
|
314895
|
-
|
|
314896
|
-
|
|
315137
|
+
const internals =
|
|
315138
|
+
(this[$internals] =
|
|
315139
|
+
this[$internals] =
|
|
315140
|
+
{
|
|
315141
|
+
accessors: {},
|
|
315142
|
+
});
|
|
314897
315143
|
|
|
314898
315144
|
const accessors = internals.accessors;
|
|
314899
315145
|
const prototype = this.prototype;
|
|
@@ -314913,17 +315159,24 @@ class AxiosHeaders {
|
|
|
314913
315159
|
}
|
|
314914
315160
|
}
|
|
314915
315161
|
|
|
314916
|
-
AxiosHeaders.accessor([
|
|
315162
|
+
AxiosHeaders.accessor([
|
|
315163
|
+
'Content-Type',
|
|
315164
|
+
'Content-Length',
|
|
315165
|
+
'Accept',
|
|
315166
|
+
'Accept-Encoding',
|
|
315167
|
+
'User-Agent',
|
|
315168
|
+
'Authorization',
|
|
315169
|
+
]);
|
|
314917
315170
|
|
|
314918
315171
|
// reserved names hotfix
|
|
314919
|
-
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {
|
|
315172
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
|
|
314920
315173
|
let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`
|
|
314921
315174
|
return {
|
|
314922
315175
|
get: () => value,
|
|
314923
315176
|
set(headerValue) {
|
|
314924
315177
|
this[mapped] = headerValue;
|
|
314925
|
-
}
|
|
314926
|
-
}
|
|
315178
|
+
},
|
|
315179
|
+
};
|
|
314927
315180
|
});
|
|
314928
315181
|
|
|
314929
315182
|
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].freezeMethods(AxiosHeaders);
|
|
@@ -314933,9 +315186,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].freezeMethods(AxiosHeaders);
|
|
|
314933
315186
|
|
|
314934
315187
|
/***/ }),
|
|
314935
315188
|
|
|
314936
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315189
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/InterceptorManager.js":
|
|
314937
315190
|
/*!***********************************************************************************************************!*\
|
|
314938
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315191
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/InterceptorManager.js ***!
|
|
314939
315192
|
\***********************************************************************************************************/
|
|
314940
315193
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314941
315194
|
|
|
@@ -314944,7 +315197,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314944
315197
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
314945
315198
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
314946
315199
|
/* harmony export */ });
|
|
314947
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315200
|
+
/* 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");
|
|
314948
315201
|
|
|
314949
315202
|
|
|
314950
315203
|
|
|
@@ -314968,7 +315221,7 @@ class InterceptorManager {
|
|
|
314968
315221
|
fulfilled,
|
|
314969
315222
|
rejected,
|
|
314970
315223
|
synchronous: options ? options.synchronous : false,
|
|
314971
|
-
runWhen: options ? options.runWhen : null
|
|
315224
|
+
runWhen: options ? options.runWhen : null,
|
|
314972
315225
|
});
|
|
314973
315226
|
return this.handlers.length - 1;
|
|
314974
315227
|
}
|
|
@@ -315021,9 +315274,9 @@ class InterceptorManager {
|
|
|
315021
315274
|
|
|
315022
315275
|
/***/ }),
|
|
315023
315276
|
|
|
315024
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315277
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/buildFullPath.js":
|
|
315025
315278
|
/*!******************************************************************************************************!*\
|
|
315026
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315279
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/buildFullPath.js ***!
|
|
315027
315280
|
\******************************************************************************************************/
|
|
315028
315281
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315029
315282
|
|
|
@@ -315032,8 +315285,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315032
315285
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315033
315286
|
/* harmony export */ "default": () => (/* binding */ buildFullPath)
|
|
315034
315287
|
/* harmony export */ });
|
|
315035
|
-
/* harmony import */ var _helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/isAbsoluteURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315036
|
-
/* harmony import */ var _helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/combineURLs.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315288
|
+
/* 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");
|
|
315289
|
+
/* 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");
|
|
315037
315290
|
|
|
315038
315291
|
|
|
315039
315292
|
|
|
@@ -315060,9 +315313,9 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
|
315060
315313
|
|
|
315061
315314
|
/***/ }),
|
|
315062
315315
|
|
|
315063
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315316
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/dispatchRequest.js":
|
|
315064
315317
|
/*!********************************************************************************************************!*\
|
|
315065
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315318
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/dispatchRequest.js ***!
|
|
315066
315319
|
\********************************************************************************************************/
|
|
315067
315320
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315068
315321
|
|
|
@@ -315071,12 +315324,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315071
315324
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315072
315325
|
/* harmony export */ "default": () => (/* binding */ dispatchRequest)
|
|
315073
315326
|
/* harmony export */ });
|
|
315074
|
-
/* harmony import */ var _transformData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transformData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315075
|
-
/* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315076
|
-
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315077
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315078
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315079
|
-
/* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315327
|
+
/* 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");
|
|
315328
|
+
/* 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");
|
|
315329
|
+
/* 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");
|
|
315330
|
+
/* 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");
|
|
315331
|
+
/* 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");
|
|
315332
|
+
/* 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");
|
|
315080
315333
|
|
|
315081
315334
|
|
|
315082
315335
|
|
|
@@ -315116,10 +315369,7 @@ function dispatchRequest(config) {
|
|
|
315116
315369
|
config.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(config.headers);
|
|
315117
315370
|
|
|
315118
315371
|
// Transform request data
|
|
315119
|
-
config.data = _transformData_js__WEBPACK_IMPORTED_MODULE_2__["default"].call(
|
|
315120
|
-
config,
|
|
315121
|
-
config.transformRequest
|
|
315122
|
-
);
|
|
315372
|
+
config.data = _transformData_js__WEBPACK_IMPORTED_MODULE_2__["default"].call(config, config.transformRequest);
|
|
315123
315373
|
|
|
315124
315374
|
if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {
|
|
315125
315375
|
config.headers.setContentType('application/x-www-form-urlencoded', false);
|
|
@@ -315127,44 +315377,43 @@ function dispatchRequest(config) {
|
|
|
315127
315377
|
|
|
315128
315378
|
const adapter = _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_3__["default"].getAdapter(config.adapter || _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__["default"].adapter, config);
|
|
315129
315379
|
|
|
315130
|
-
return adapter(config).then(
|
|
315131
|
-
|
|
315132
|
-
|
|
315133
|
-
// Transform response data
|
|
315134
|
-
response.data = _transformData_js__WEBPACK_IMPORTED_MODULE_2__["default"].call(
|
|
315135
|
-
config,
|
|
315136
|
-
config.transformResponse,
|
|
315137
|
-
response
|
|
315138
|
-
);
|
|
315139
|
-
|
|
315140
|
-
response.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(response.headers);
|
|
315141
|
-
|
|
315142
|
-
return response;
|
|
315143
|
-
}, function onAdapterRejection(reason) {
|
|
315144
|
-
if (!(0,_cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_5__["default"])(reason)) {
|
|
315380
|
+
return adapter(config).then(
|
|
315381
|
+
function onAdapterResolution(response) {
|
|
315145
315382
|
throwIfCancellationRequested(config);
|
|
315146
315383
|
|
|
315147
315384
|
// Transform response data
|
|
315148
|
-
|
|
315149
|
-
|
|
315150
|
-
|
|
315151
|
-
|
|
315152
|
-
|
|
315153
|
-
|
|
315154
|
-
|
|
315385
|
+
response.data = _transformData_js__WEBPACK_IMPORTED_MODULE_2__["default"].call(config, config.transformResponse, response);
|
|
315386
|
+
|
|
315387
|
+
response.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(response.headers);
|
|
315388
|
+
|
|
315389
|
+
return response;
|
|
315390
|
+
},
|
|
315391
|
+
function onAdapterRejection(reason) {
|
|
315392
|
+
if (!(0,_cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_5__["default"])(reason)) {
|
|
315393
|
+
throwIfCancellationRequested(config);
|
|
315394
|
+
|
|
315395
|
+
// Transform response data
|
|
315396
|
+
if (reason && reason.response) {
|
|
315397
|
+
reason.response.data = _transformData_js__WEBPACK_IMPORTED_MODULE_2__["default"].call(
|
|
315398
|
+
config,
|
|
315399
|
+
config.transformResponse,
|
|
315400
|
+
reason.response
|
|
315401
|
+
);
|
|
315402
|
+
reason.response.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(reason.response.headers);
|
|
315403
|
+
}
|
|
315155
315404
|
}
|
|
315156
|
-
}
|
|
315157
315405
|
|
|
315158
|
-
|
|
315159
|
-
|
|
315406
|
+
return Promise.reject(reason);
|
|
315407
|
+
}
|
|
315408
|
+
);
|
|
315160
315409
|
}
|
|
315161
315410
|
|
|
315162
315411
|
|
|
315163
315412
|
/***/ }),
|
|
315164
315413
|
|
|
315165
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315414
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/mergeConfig.js":
|
|
315166
315415
|
/*!****************************************************************************************************!*\
|
|
315167
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315416
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/mergeConfig.js ***!
|
|
315168
315417
|
\****************************************************************************************************/
|
|
315169
315418
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315170
315419
|
|
|
@@ -315173,15 +315422,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315173
315422
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315174
315423
|
/* harmony export */ "default": () => (/* binding */ mergeConfig)
|
|
315175
315424
|
/* harmony export */ });
|
|
315176
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315177
|
-
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315425
|
+
/* 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");
|
|
315426
|
+
/* 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");
|
|
315178
315427
|
|
|
315179
315428
|
|
|
315180
315429
|
|
|
315181
315430
|
|
|
315182
315431
|
|
|
315183
|
-
const headersToObject = (thing) =>
|
|
315184
|
-
thing instanceof _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? { ...thing } : thing;
|
|
315432
|
+
const headersToObject = (thing) => (thing instanceof _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? { ...thing } : thing);
|
|
315185
315433
|
|
|
315186
315434
|
/**
|
|
315187
315435
|
* Config-specific merge-function which creates a new config-object
|
|
@@ -315274,23 +315522,12 @@ function mergeConfig(config1, config2) {
|
|
|
315274
315522
|
mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true),
|
|
315275
315523
|
};
|
|
315276
315524
|
|
|
315277
|
-
_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].forEach(
|
|
315278
|
-
|
|
315279
|
-
|
|
315280
|
-
|
|
315281
|
-
|
|
315282
|
-
|
|
315283
|
-
prop === "prototype"
|
|
315284
|
-
)
|
|
315285
|
-
return;
|
|
315286
|
-
const merge = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].hasOwnProp(mergeMap, prop)
|
|
315287
|
-
? mergeMap[prop]
|
|
315288
|
-
: mergeDeepProperties;
|
|
315289
|
-
const configValue = merge(config1[prop], config2[prop], prop);
|
|
315290
|
-
(_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isUndefined(configValue) && merge !== mergeDirectKeys) ||
|
|
315291
|
-
(config[prop] = configValue);
|
|
315292
|
-
},
|
|
315293
|
-
);
|
|
315525
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
|
|
315526
|
+
if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return;
|
|
315527
|
+
const merge = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
|
|
315528
|
+
const configValue = merge(config1[prop], config2[prop], prop);
|
|
315529
|
+
(_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
|
|
315530
|
+
});
|
|
315294
315531
|
|
|
315295
315532
|
return config;
|
|
315296
315533
|
}
|
|
@@ -315298,9 +315535,9 @@ function mergeConfig(config1, config2) {
|
|
|
315298
315535
|
|
|
315299
315536
|
/***/ }),
|
|
315300
315537
|
|
|
315301
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315538
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/settle.js":
|
|
315302
315539
|
/*!***********************************************************************************************!*\
|
|
315303
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315540
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/settle.js ***!
|
|
315304
315541
|
\***********************************************************************************************/
|
|
315305
315542
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315306
315543
|
|
|
@@ -315309,7 +315546,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315309
315546
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315310
315547
|
/* harmony export */ "default": () => (/* binding */ settle)
|
|
315311
315548
|
/* harmony export */ });
|
|
315312
|
-
/* harmony import */ var _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315549
|
+
/* 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");
|
|
315313
315550
|
|
|
315314
315551
|
|
|
315315
315552
|
|
|
@@ -315328,22 +315565,26 @@ function settle(resolve, reject, response) {
|
|
|
315328
315565
|
if (!response.status || !validateStatus || validateStatus(response.status)) {
|
|
315329
315566
|
resolve(response);
|
|
315330
315567
|
} else {
|
|
315331
|
-
reject(
|
|
315332
|
-
|
|
315333
|
-
|
|
315334
|
-
|
|
315335
|
-
|
|
315336
|
-
|
|
315337
|
-
|
|
315568
|
+
reject(
|
|
315569
|
+
new _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"](
|
|
315570
|
+
'Request failed with status code ' + response.status,
|
|
315571
|
+
[_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ERR_BAD_REQUEST, _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ERR_BAD_RESPONSE][
|
|
315572
|
+
Math.floor(response.status / 100) - 4
|
|
315573
|
+
],
|
|
315574
|
+
response.config,
|
|
315575
|
+
response.request,
|
|
315576
|
+
response
|
|
315577
|
+
)
|
|
315578
|
+
);
|
|
315338
315579
|
}
|
|
315339
315580
|
}
|
|
315340
315581
|
|
|
315341
315582
|
|
|
315342
315583
|
/***/ }),
|
|
315343
315584
|
|
|
315344
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315585
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/transformData.js":
|
|
315345
315586
|
/*!******************************************************************************************************!*\
|
|
315346
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315587
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/transformData.js ***!
|
|
315347
315588
|
\******************************************************************************************************/
|
|
315348
315589
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315349
315590
|
|
|
@@ -315352,9 +315593,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315352
315593
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315353
315594
|
/* harmony export */ "default": () => (/* binding */ transformData)
|
|
315354
315595
|
/* harmony export */ });
|
|
315355
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315356
|
-
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315357
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315596
|
+
/* 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");
|
|
315597
|
+
/* 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");
|
|
315598
|
+
/* 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");
|
|
315358
315599
|
|
|
315359
315600
|
|
|
315360
315601
|
|
|
@@ -315387,9 +315628,9 @@ function transformData(fns, response) {
|
|
|
315387
315628
|
|
|
315388
315629
|
/***/ }),
|
|
315389
315630
|
|
|
315390
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315631
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/index.js":
|
|
315391
315632
|
/*!**************************************************************************************************!*\
|
|
315392
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315633
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/index.js ***!
|
|
315393
315634
|
\**************************************************************************************************/
|
|
315394
315635
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315395
315636
|
|
|
@@ -315398,13 +315639,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315398
315639
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315399
315640
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
315400
315641
|
/* harmony export */ });
|
|
315401
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315402
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315403
|
-
/* harmony import */ var _transitional_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315404
|
-
/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315405
|
-
/* harmony import */ var _helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/toURLEncodedForm.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315406
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315407
|
-
/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315642
|
+
/* 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");
|
|
315643
|
+
/* 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");
|
|
315644
|
+
/* 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");
|
|
315645
|
+
/* 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");
|
|
315646
|
+
/* 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");
|
|
315647
|
+
/* 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");
|
|
315648
|
+
/* 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");
|
|
315408
315649
|
|
|
315409
315650
|
|
|
315410
315651
|
|
|
@@ -315441,96 +315682,107 @@ function stringifySafely(rawValue, parser, encoder) {
|
|
|
315441
315682
|
}
|
|
315442
315683
|
|
|
315443
315684
|
const defaults = {
|
|
315444
|
-
|
|
315445
315685
|
transitional: _transitional_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
315446
315686
|
|
|
315447
315687
|
adapter: ['xhr', 'http', 'fetch'],
|
|
315448
315688
|
|
|
315449
|
-
transformRequest: [
|
|
315450
|
-
|
|
315451
|
-
|
|
315452
|
-
|
|
315689
|
+
transformRequest: [
|
|
315690
|
+
function transformRequest(data, headers) {
|
|
315691
|
+
const contentType = headers.getContentType() || '';
|
|
315692
|
+
const hasJSONContentType = contentType.indexOf('application/json') > -1;
|
|
315693
|
+
const isObjectPayload = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(data);
|
|
315453
315694
|
|
|
315454
|
-
|
|
315455
|
-
|
|
315456
|
-
|
|
315695
|
+
if (isObjectPayload && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isHTMLForm(data)) {
|
|
315696
|
+
data = new FormData(data);
|
|
315697
|
+
}
|
|
315457
315698
|
|
|
315458
|
-
|
|
315699
|
+
const isFormData = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFormData(data);
|
|
315459
315700
|
|
|
315460
|
-
|
|
315461
|
-
|
|
315462
|
-
|
|
315701
|
+
if (isFormData) {
|
|
315702
|
+
return hasJSONContentType ? JSON.stringify((0,_helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_2__["default"])(data)) : data;
|
|
315703
|
+
}
|
|
315463
315704
|
|
|
315464
|
-
|
|
315465
|
-
|
|
315466
|
-
|
|
315467
|
-
|
|
315468
|
-
|
|
315469
|
-
|
|
315470
|
-
|
|
315471
|
-
|
|
315472
|
-
|
|
315473
|
-
|
|
315474
|
-
|
|
315475
|
-
|
|
315476
|
-
|
|
315477
|
-
|
|
315478
|
-
|
|
315479
|
-
|
|
315705
|
+
if (
|
|
315706
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArrayBuffer(data) ||
|
|
315707
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isBuffer(data) ||
|
|
315708
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isStream(data) ||
|
|
315709
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFile(data) ||
|
|
315710
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isBlob(data) ||
|
|
315711
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReadableStream(data)
|
|
315712
|
+
) {
|
|
315713
|
+
return data;
|
|
315714
|
+
}
|
|
315715
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArrayBufferView(data)) {
|
|
315716
|
+
return data.buffer;
|
|
315717
|
+
}
|
|
315718
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isURLSearchParams(data)) {
|
|
315719
|
+
headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);
|
|
315720
|
+
return data.toString();
|
|
315721
|
+
}
|
|
315480
315722
|
|
|
315481
|
-
|
|
315723
|
+
let isFileList;
|
|
315482
315724
|
|
|
315483
|
-
|
|
315484
|
-
|
|
315485
|
-
|
|
315486
|
-
|
|
315725
|
+
if (isObjectPayload) {
|
|
315726
|
+
if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {
|
|
315727
|
+
return (0,_helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_3__["default"])(data, this.formSerializer).toString();
|
|
315728
|
+
}
|
|
315487
315729
|
|
|
315488
|
-
|
|
315489
|
-
|
|
315730
|
+
if (
|
|
315731
|
+
(isFileList = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFileList(data)) ||
|
|
315732
|
+
contentType.indexOf('multipart/form-data') > -1
|
|
315733
|
+
) {
|
|
315734
|
+
const _FormData = this.env && this.env.FormData;
|
|
315490
315735
|
|
|
315491
|
-
|
|
315492
|
-
|
|
315493
|
-
|
|
315494
|
-
|
|
315495
|
-
|
|
315736
|
+
return (0,_helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_4__["default"])(
|
|
315737
|
+
isFileList ? { 'files[]': data } : data,
|
|
315738
|
+
_FormData && new _FormData(),
|
|
315739
|
+
this.formSerializer
|
|
315740
|
+
);
|
|
315741
|
+
}
|
|
315496
315742
|
}
|
|
315497
|
-
}
|
|
315498
315743
|
|
|
315499
|
-
|
|
315500
|
-
|
|
315501
|
-
|
|
315502
|
-
|
|
315744
|
+
if (isObjectPayload || hasJSONContentType) {
|
|
315745
|
+
headers.setContentType('application/json', false);
|
|
315746
|
+
return stringifySafely(data);
|
|
315747
|
+
}
|
|
315503
315748
|
|
|
315504
|
-
|
|
315505
|
-
|
|
315749
|
+
return data;
|
|
315750
|
+
},
|
|
315751
|
+
],
|
|
315506
315752
|
|
|
315507
|
-
transformResponse: [
|
|
315508
|
-
|
|
315509
|
-
|
|
315510
|
-
|
|
315753
|
+
transformResponse: [
|
|
315754
|
+
function transformResponse(data) {
|
|
315755
|
+
const transitional = this.transitional || defaults.transitional;
|
|
315756
|
+
const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
|
|
315757
|
+
const JSONRequested = this.responseType === 'json';
|
|
315511
315758
|
|
|
315512
|
-
|
|
315513
|
-
|
|
315514
|
-
|
|
315759
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isResponse(data) || _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReadableStream(data)) {
|
|
315760
|
+
return data;
|
|
315761
|
+
}
|
|
315515
315762
|
|
|
315516
|
-
|
|
315517
|
-
|
|
315518
|
-
|
|
315763
|
+
if (
|
|
315764
|
+
data &&
|
|
315765
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(data) &&
|
|
315766
|
+
((forcedJSONParsing && !this.responseType) || JSONRequested)
|
|
315767
|
+
) {
|
|
315768
|
+
const silentJSONParsing = transitional && transitional.silentJSONParsing;
|
|
315769
|
+
const strictJSONParsing = !silentJSONParsing && JSONRequested;
|
|
315519
315770
|
|
|
315520
|
-
|
|
315521
|
-
|
|
315522
|
-
|
|
315523
|
-
|
|
315524
|
-
|
|
315525
|
-
|
|
315771
|
+
try {
|
|
315772
|
+
return JSON.parse(data, this.parseReviver);
|
|
315773
|
+
} catch (e) {
|
|
315774
|
+
if (strictJSONParsing) {
|
|
315775
|
+
if (e.name === 'SyntaxError') {
|
|
315776
|
+
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);
|
|
315777
|
+
}
|
|
315778
|
+
throw e;
|
|
315526
315779
|
}
|
|
315527
|
-
throw e;
|
|
315528
315780
|
}
|
|
315529
315781
|
}
|
|
315530
|
-
}
|
|
315531
315782
|
|
|
315532
|
-
|
|
315533
|
-
|
|
315783
|
+
return data;
|
|
315784
|
+
},
|
|
315785
|
+
],
|
|
315534
315786
|
|
|
315535
315787
|
/**
|
|
315536
315788
|
* A timeout in milliseconds to abort a request. If set to 0 (default) a
|
|
@@ -315546,7 +315798,7 @@ const defaults = {
|
|
|
315546
315798
|
|
|
315547
315799
|
env: {
|
|
315548
315800
|
FormData: _platform_index_js__WEBPACK_IMPORTED_MODULE_6__["default"].classes.FormData,
|
|
315549
|
-
Blob: _platform_index_js__WEBPACK_IMPORTED_MODULE_6__["default"].classes.Blob
|
|
315801
|
+
Blob: _platform_index_js__WEBPACK_IMPORTED_MODULE_6__["default"].classes.Blob,
|
|
315550
315802
|
},
|
|
315551
315803
|
|
|
315552
315804
|
validateStatus: function validateStatus(status) {
|
|
@@ -315555,10 +315807,10 @@ const defaults = {
|
|
|
315555
315807
|
|
|
315556
315808
|
headers: {
|
|
315557
315809
|
common: {
|
|
315558
|
-
|
|
315559
|
-
'Content-Type': undefined
|
|
315560
|
-
}
|
|
315561
|
-
}
|
|
315810
|
+
Accept: 'application/json, text/plain, */*',
|
|
315811
|
+
'Content-Type': undefined,
|
|
315812
|
+
},
|
|
315813
|
+
},
|
|
315562
315814
|
};
|
|
315563
315815
|
|
|
315564
315816
|
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {
|
|
@@ -315570,9 +315822,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'hea
|
|
|
315570
315822
|
|
|
315571
315823
|
/***/ }),
|
|
315572
315824
|
|
|
315573
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315825
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/transitional.js":
|
|
315574
315826
|
/*!*********************************************************************************************************!*\
|
|
315575
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315827
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/transitional.js ***!
|
|
315576
315828
|
\*********************************************************************************************************/
|
|
315577
315829
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315578
315830
|
|
|
@@ -315587,15 +315839,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315587
315839
|
silentJSONParsing: true,
|
|
315588
315840
|
forcedJSONParsing: true,
|
|
315589
315841
|
clarifyTimeoutError: false,
|
|
315590
|
-
legacyInterceptorReqResOrdering: true
|
|
315842
|
+
legacyInterceptorReqResOrdering: true,
|
|
315591
315843
|
});
|
|
315592
315844
|
|
|
315593
315845
|
|
|
315594
315846
|
/***/ }),
|
|
315595
315847
|
|
|
315596
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315848
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/env/data.js":
|
|
315597
315849
|
/*!********************************************************************************************!*\
|
|
315598
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315850
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/env/data.js ***!
|
|
315599
315851
|
\********************************************************************************************/
|
|
315600
315852
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315601
315853
|
|
|
@@ -315604,13 +315856,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315604
315856
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315605
315857
|
/* harmony export */ VERSION: () => (/* binding */ VERSION)
|
|
315606
315858
|
/* harmony export */ });
|
|
315607
|
-
const VERSION = "1.13.
|
|
315859
|
+
const VERSION = "1.13.6";
|
|
315608
315860
|
|
|
315609
315861
|
/***/ }),
|
|
315610
315862
|
|
|
315611
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315863
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/AxiosURLSearchParams.js":
|
|
315612
315864
|
/*!****************************************************************************************************************!*\
|
|
315613
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315865
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/AxiosURLSearchParams.js ***!
|
|
315614
315866
|
\****************************************************************************************************************/
|
|
315615
315867
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315616
315868
|
|
|
@@ -315619,7 +315871,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315619
315871
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315620
315872
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
315621
315873
|
/* harmony export */ });
|
|
315622
|
-
/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315874
|
+
/* 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");
|
|
315623
315875
|
|
|
315624
315876
|
|
|
315625
315877
|
|
|
@@ -315640,7 +315892,7 @@ function encode(str) {
|
|
|
315640
315892
|
')': '%29',
|
|
315641
315893
|
'~': '%7E',
|
|
315642
315894
|
'%20': '+',
|
|
315643
|
-
'%00': '\x00'
|
|
315895
|
+
'%00': '\x00',
|
|
315644
315896
|
};
|
|
315645
315897
|
return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {
|
|
315646
315898
|
return charMap[match];
|
|
@@ -315668,13 +315920,17 @@ prototype.append = function append(name, value) {
|
|
|
315668
315920
|
};
|
|
315669
315921
|
|
|
315670
315922
|
prototype.toString = function toString(encoder) {
|
|
315671
|
-
const _encode = encoder
|
|
315672
|
-
|
|
315673
|
-
|
|
315923
|
+
const _encode = encoder
|
|
315924
|
+
? function (value) {
|
|
315925
|
+
return encoder.call(this, value, encode);
|
|
315926
|
+
}
|
|
315927
|
+
: encode;
|
|
315674
315928
|
|
|
315675
|
-
return this._pairs
|
|
315676
|
-
|
|
315677
|
-
|
|
315929
|
+
return this._pairs
|
|
315930
|
+
.map(function each(pair) {
|
|
315931
|
+
return _encode(pair[0]) + '=' + _encode(pair[1]);
|
|
315932
|
+
}, '')
|
|
315933
|
+
.join('&');
|
|
315678
315934
|
};
|
|
315679
315935
|
|
|
315680
315936
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AxiosURLSearchParams);
|
|
@@ -315682,9 +315938,9 @@ prototype.toString = function toString(encoder) {
|
|
|
315682
315938
|
|
|
315683
315939
|
/***/ }),
|
|
315684
315940
|
|
|
315685
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315941
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/HttpStatusCode.js":
|
|
315686
315942
|
/*!**********************************************************************************************************!*\
|
|
315687
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315943
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/HttpStatusCode.js ***!
|
|
315688
315944
|
\**********************************************************************************************************/
|
|
315689
315945
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315690
315946
|
|
|
@@ -315774,9 +316030,9 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
|
315774
316030
|
|
|
315775
316031
|
/***/ }),
|
|
315776
316032
|
|
|
315777
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316033
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/bind.js":
|
|
315778
316034
|
/*!************************************************************************************************!*\
|
|
315779
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316035
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/bind.js ***!
|
|
315780
316036
|
\************************************************************************************************/
|
|
315781
316037
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315782
316038
|
|
|
@@ -315803,9 +316059,9 @@ function bind(fn, thisArg) {
|
|
|
315803
316059
|
|
|
315804
316060
|
/***/ }),
|
|
315805
316061
|
|
|
315806
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316062
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/buildURL.js":
|
|
315807
316063
|
/*!****************************************************************************************************!*\
|
|
315808
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316064
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/buildURL.js ***!
|
|
315809
316065
|
\****************************************************************************************************/
|
|
315810
316066
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315811
316067
|
|
|
@@ -315814,8 +316070,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315814
316070
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315815
316071
|
/* harmony export */ "default": () => (/* binding */ buildURL)
|
|
315816
316072
|
/* harmony export */ });
|
|
315817
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315818
|
-
/* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316073
|
+
/* 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");
|
|
316074
|
+
/* 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");
|
|
315819
316075
|
|
|
315820
316076
|
|
|
315821
316077
|
|
|
@@ -315830,11 +316086,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315830
316086
|
* @returns {string} The encoded value.
|
|
315831
316087
|
*/
|
|
315832
316088
|
function encode(val) {
|
|
315833
|
-
return encodeURIComponent(val)
|
|
315834
|
-
replace(/%3A/gi, ':')
|
|
315835
|
-
replace(/%24/g, '$')
|
|
315836
|
-
replace(/%2C/gi, ',')
|
|
315837
|
-
replace(/%20/g, '+');
|
|
316089
|
+
return encodeURIComponent(val)
|
|
316090
|
+
.replace(/%3A/gi, ':')
|
|
316091
|
+
.replace(/%24/g, '$')
|
|
316092
|
+
.replace(/%2C/gi, ',')
|
|
316093
|
+
.replace(/%20/g, '+');
|
|
315838
316094
|
}
|
|
315839
316095
|
|
|
315840
316096
|
/**
|
|
@@ -315851,11 +316107,13 @@ function buildURL(url, params, options) {
|
|
|
315851
316107
|
return url;
|
|
315852
316108
|
}
|
|
315853
316109
|
|
|
315854
|
-
const _encode = options && options.encode || encode;
|
|
316110
|
+
const _encode = (options && options.encode) || encode;
|
|
315855
316111
|
|
|
315856
|
-
const _options = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFunction(options)
|
|
315857
|
-
|
|
315858
|
-
|
|
316112
|
+
const _options = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFunction(options)
|
|
316113
|
+
? {
|
|
316114
|
+
serialize: options,
|
|
316115
|
+
}
|
|
316116
|
+
: options;
|
|
315859
316117
|
|
|
315860
316118
|
const serializeFn = _options && _options.serialize;
|
|
315861
316119
|
|
|
@@ -315864,13 +316122,13 @@ function buildURL(url, params, options) {
|
|
|
315864
316122
|
if (serializeFn) {
|
|
315865
316123
|
serializedParams = serializeFn(params, _options);
|
|
315866
316124
|
} else {
|
|
315867
|
-
serializedParams = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isURLSearchParams(params)
|
|
315868
|
-
params.toString()
|
|
315869
|
-
new _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__["default"](params, _options).toString(_encode);
|
|
316125
|
+
serializedParams = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isURLSearchParams(params)
|
|
316126
|
+
? params.toString()
|
|
316127
|
+
: new _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__["default"](params, _options).toString(_encode);
|
|
315870
316128
|
}
|
|
315871
316129
|
|
|
315872
316130
|
if (serializedParams) {
|
|
315873
|
-
const hashmarkIndex = url.indexOf(
|
|
316131
|
+
const hashmarkIndex = url.indexOf('#');
|
|
315874
316132
|
|
|
315875
316133
|
if (hashmarkIndex !== -1) {
|
|
315876
316134
|
url = url.slice(0, hashmarkIndex);
|
|
@@ -315884,9 +316142,9 @@ function buildURL(url, params, options) {
|
|
|
315884
316142
|
|
|
315885
316143
|
/***/ }),
|
|
315886
316144
|
|
|
315887
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316145
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/combineURLs.js":
|
|
315888
316146
|
/*!*******************************************************************************************************!*\
|
|
315889
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316147
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/combineURLs.js ***!
|
|
315890
316148
|
\*******************************************************************************************************/
|
|
315891
316149
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315892
316150
|
|
|
@@ -315914,9 +316172,9 @@ function combineURLs(baseURL, relativeURL) {
|
|
|
315914
316172
|
|
|
315915
316173
|
/***/ }),
|
|
315916
316174
|
|
|
315917
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316175
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/composeSignals.js":
|
|
315918
316176
|
/*!**********************************************************************************************************!*\
|
|
315919
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316177
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/composeSignals.js ***!
|
|
315920
316178
|
\**********************************************************************************************************/
|
|
315921
316179
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315922
316180
|
|
|
@@ -315925,15 +316183,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315925
316183
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315926
316184
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
315927
316185
|
/* harmony export */ });
|
|
315928
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315929
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315930
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316186
|
+
/* 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");
|
|
316187
|
+
/* 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");
|
|
316188
|
+
/* 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");
|
|
315931
316189
|
|
|
315932
316190
|
|
|
315933
316191
|
|
|
315934
316192
|
|
|
315935
316193
|
const composeSignals = (signals, timeout) => {
|
|
315936
|
-
const {length} = (signals = signals ? signals.filter(Boolean) : []);
|
|
316194
|
+
const { length } = (signals = signals ? signals.filter(Boolean) : []);
|
|
315937
316195
|
|
|
315938
316196
|
if (timeout || length) {
|
|
315939
316197
|
let controller = new AbortController();
|
|
@@ -315945,44 +316203,52 @@ const composeSignals = (signals, timeout) => {
|
|
|
315945
316203
|
aborted = true;
|
|
315946
316204
|
unsubscribe();
|
|
315947
316205
|
const err = reason instanceof Error ? reason : this.reason;
|
|
315948
|
-
controller.abort(
|
|
316206
|
+
controller.abort(
|
|
316207
|
+
err instanceof _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"]
|
|
316208
|
+
? err
|
|
316209
|
+
: new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__["default"](err instanceof Error ? err.message : err)
|
|
316210
|
+
);
|
|
315949
316211
|
}
|
|
315950
|
-
}
|
|
316212
|
+
};
|
|
315951
316213
|
|
|
315952
|
-
let timer =
|
|
315953
|
-
|
|
315954
|
-
|
|
315955
|
-
|
|
316214
|
+
let timer =
|
|
316215
|
+
timeout &&
|
|
316216
|
+
setTimeout(() => {
|
|
316217
|
+
timer = null;
|
|
316218
|
+
onabort(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"](`timeout of ${timeout}ms exceeded`, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ETIMEDOUT));
|
|
316219
|
+
}, timeout);
|
|
315956
316220
|
|
|
315957
316221
|
const unsubscribe = () => {
|
|
315958
316222
|
if (signals) {
|
|
315959
316223
|
timer && clearTimeout(timer);
|
|
315960
316224
|
timer = null;
|
|
315961
|
-
signals.forEach(signal => {
|
|
315962
|
-
signal.unsubscribe
|
|
316225
|
+
signals.forEach((signal) => {
|
|
316226
|
+
signal.unsubscribe
|
|
316227
|
+
? signal.unsubscribe(onabort)
|
|
316228
|
+
: signal.removeEventListener('abort', onabort);
|
|
315963
316229
|
});
|
|
315964
316230
|
signals = null;
|
|
315965
316231
|
}
|
|
315966
|
-
}
|
|
316232
|
+
};
|
|
315967
316233
|
|
|
315968
316234
|
signals.forEach((signal) => signal.addEventListener('abort', onabort));
|
|
315969
316235
|
|
|
315970
|
-
const {signal} = controller;
|
|
316236
|
+
const { signal } = controller;
|
|
315971
316237
|
|
|
315972
316238
|
signal.unsubscribe = () => _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].asap(unsubscribe);
|
|
315973
316239
|
|
|
315974
316240
|
return signal;
|
|
315975
316241
|
}
|
|
315976
|
-
}
|
|
316242
|
+
};
|
|
315977
316243
|
|
|
315978
316244
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (composeSignals);
|
|
315979
316245
|
|
|
315980
316246
|
|
|
315981
316247
|
/***/ }),
|
|
315982
316248
|
|
|
315983
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316249
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/cookies.js":
|
|
315984
316250
|
/*!***************************************************************************************************!*\
|
|
315985
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316251
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/cookies.js ***!
|
|
315986
316252
|
\***************************************************************************************************/
|
|
315987
316253
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315988
316254
|
|
|
@@ -315991,68 +316257,63 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315991
316257
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315992
316258
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
315993
316259
|
/* harmony export */ });
|
|
315994
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315995
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316260
|
+
/* 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");
|
|
316261
|
+
/* 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");
|
|
315996
316262
|
|
|
315997
316263
|
|
|
315998
316264
|
|
|
315999
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv
|
|
316000
|
-
|
|
316001
|
-
|
|
316002
|
-
|
|
316003
|
-
|
|
316004
|
-
if (typeof document === 'undefined') return;
|
|
316265
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv
|
|
316266
|
+
? // Standard browser envs support document.cookie
|
|
316267
|
+
{
|
|
316268
|
+
write(name, value, expires, path, domain, secure, sameSite) {
|
|
316269
|
+
if (typeof document === 'undefined') return;
|
|
316005
316270
|
|
|
316006
|
-
|
|
316271
|
+
const cookie = [`${name}=${encodeURIComponent(value)}`];
|
|
316007
316272
|
|
|
316008
|
-
|
|
316009
|
-
|
|
316010
|
-
|
|
316011
|
-
|
|
316012
|
-
|
|
316013
|
-
|
|
316014
|
-
|
|
316015
|
-
|
|
316016
|
-
|
|
316017
|
-
|
|
316018
|
-
|
|
316019
|
-
|
|
316020
|
-
|
|
316021
|
-
|
|
316022
|
-
|
|
316273
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isNumber(expires)) {
|
|
316274
|
+
cookie.push(`expires=${new Date(expires).toUTCString()}`);
|
|
316275
|
+
}
|
|
316276
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isString(path)) {
|
|
316277
|
+
cookie.push(`path=${path}`);
|
|
316278
|
+
}
|
|
316279
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isString(domain)) {
|
|
316280
|
+
cookie.push(`domain=${domain}`);
|
|
316281
|
+
}
|
|
316282
|
+
if (secure === true) {
|
|
316283
|
+
cookie.push('secure');
|
|
316284
|
+
}
|
|
316285
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isString(sameSite)) {
|
|
316286
|
+
cookie.push(`SameSite=${sameSite}`);
|
|
316287
|
+
}
|
|
316023
316288
|
|
|
316024
|
-
|
|
316025
|
-
|
|
316289
|
+
document.cookie = cookie.join('; ');
|
|
316290
|
+
},
|
|
316026
316291
|
|
|
316027
|
-
|
|
316028
|
-
|
|
316029
|
-
|
|
316030
|
-
|
|
316031
|
-
|
|
316292
|
+
read(name) {
|
|
316293
|
+
if (typeof document === 'undefined') return null;
|
|
316294
|
+
const match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));
|
|
316295
|
+
return match ? decodeURIComponent(match[1]) : null;
|
|
316296
|
+
},
|
|
316032
316297
|
|
|
316033
|
-
|
|
316034
|
-
|
|
316298
|
+
remove(name) {
|
|
316299
|
+
this.write(name, '', Date.now() - 86400000, '/');
|
|
316300
|
+
},
|
|
316035
316301
|
}
|
|
316036
|
-
|
|
316037
|
-
|
|
316038
|
-
|
|
316039
|
-
|
|
316040
|
-
|
|
316041
|
-
|
|
316042
|
-
|
|
316043
|
-
|
|
316044
|
-
return null;
|
|
316045
|
-
},
|
|
316046
|
-
remove() {}
|
|
316047
|
-
});
|
|
316048
|
-
|
|
316302
|
+
: // Non-standard browser env (web workers, react-native) lack needed support.
|
|
316303
|
+
{
|
|
316304
|
+
write() {},
|
|
316305
|
+
read() {
|
|
316306
|
+
return null;
|
|
316307
|
+
},
|
|
316308
|
+
remove() {},
|
|
316309
|
+
});
|
|
316049
316310
|
|
|
316050
316311
|
|
|
316051
316312
|
/***/ }),
|
|
316052
316313
|
|
|
316053
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316314
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/formDataToJSON.js":
|
|
316054
316315
|
/*!**********************************************************************************************************!*\
|
|
316055
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316316
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/formDataToJSON.js ***!
|
|
316056
316317
|
\**********************************************************************************************************/
|
|
316057
316318
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316058
316319
|
|
|
@@ -316061,7 +316322,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316061
316322
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316062
316323
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
316063
316324
|
/* harmony export */ });
|
|
316064
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316325
|
+
/* 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");
|
|
316065
316326
|
|
|
316066
316327
|
|
|
316067
316328
|
|
|
@@ -316078,7 +316339,7 @@ function parsePropPath(name) {
|
|
|
316078
316339
|
// foo.x.y.z
|
|
316079
316340
|
// foo-x-y-z
|
|
316080
316341
|
// foo x y z
|
|
316081
|
-
return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].matchAll(/\w+|\[(\w*)]/g, name).map(match => {
|
|
316342
|
+
return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
|
|
316082
316343
|
return match[0] === '[]' ? '' : match[1] || match[0];
|
|
316083
316344
|
});
|
|
316084
316345
|
}
|
|
@@ -316161,9 +316422,9 @@ function formDataToJSON(formData) {
|
|
|
316161
316422
|
|
|
316162
316423
|
/***/ }),
|
|
316163
316424
|
|
|
316164
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316425
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isAbsoluteURL.js":
|
|
316165
316426
|
/*!*********************************************************************************************************!*\
|
|
316166
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316427
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isAbsoluteURL.js ***!
|
|
316167
316428
|
\*********************************************************************************************************/
|
|
316168
316429
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316169
316430
|
|
|
@@ -316193,12 +316454,11 @@ function isAbsoluteURL(url) {
|
|
|
316193
316454
|
}
|
|
316194
316455
|
|
|
316195
316456
|
|
|
316196
|
-
|
|
316197
316457
|
/***/ }),
|
|
316198
316458
|
|
|
316199
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316459
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isAxiosError.js":
|
|
316200
316460
|
/*!********************************************************************************************************!*\
|
|
316201
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316461
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isAxiosError.js ***!
|
|
316202
316462
|
\********************************************************************************************************/
|
|
316203
316463
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316204
316464
|
|
|
@@ -316207,7 +316467,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316207
316467
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316208
316468
|
/* harmony export */ "default": () => (/* binding */ isAxiosError)
|
|
316209
316469
|
/* harmony export */ });
|
|
316210
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316470
|
+
/* 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");
|
|
316211
316471
|
|
|
316212
316472
|
|
|
316213
316473
|
|
|
@@ -316220,15 +316480,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316220
316480
|
* @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
|
|
316221
316481
|
*/
|
|
316222
316482
|
function isAxiosError(payload) {
|
|
316223
|
-
return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(payload) &&
|
|
316483
|
+
return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(payload) && payload.isAxiosError === true;
|
|
316224
316484
|
}
|
|
316225
316485
|
|
|
316226
316486
|
|
|
316227
316487
|
/***/ }),
|
|
316228
316488
|
|
|
316229
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316489
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isURLSameOrigin.js":
|
|
316230
316490
|
/*!***********************************************************************************************************!*\
|
|
316231
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316491
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isURLSameOrigin.js ***!
|
|
316232
316492
|
\***********************************************************************************************************/
|
|
316233
316493
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316234
316494
|
|
|
@@ -316237,28 +316497,30 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316237
316497
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316238
316498
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
316239
316499
|
/* harmony export */ });
|
|
316240
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316500
|
+
/* 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");
|
|
316241
316501
|
|
|
316242
316502
|
|
|
316243
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv
|
|
316244
|
-
|
|
316503
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv
|
|
316504
|
+
? ((origin, isMSIE) => (url) => {
|
|
316505
|
+
url = new URL(url, _platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].origin);
|
|
316245
316506
|
|
|
316246
|
-
|
|
316247
|
-
|
|
316248
|
-
|
|
316249
|
-
|
|
316250
|
-
|
|
316251
|
-
})(
|
|
316252
|
-
|
|
316253
|
-
|
|
316254
|
-
)
|
|
316507
|
+
return (
|
|
316508
|
+
origin.protocol === url.protocol &&
|
|
316509
|
+
origin.host === url.host &&
|
|
316510
|
+
(isMSIE || origin.port === url.port)
|
|
316511
|
+
);
|
|
316512
|
+
})(
|
|
316513
|
+
new URL(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].origin),
|
|
316514
|
+
_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].navigator && /(msie|trident)/i.test(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].navigator.userAgent)
|
|
316515
|
+
)
|
|
316516
|
+
: () => true);
|
|
316255
316517
|
|
|
316256
316518
|
|
|
316257
316519
|
/***/ }),
|
|
316258
316520
|
|
|
316259
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316521
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/null.js":
|
|
316260
316522
|
/*!************************************************************************************************!*\
|
|
316261
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316523
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/null.js ***!
|
|
316262
316524
|
\************************************************************************************************/
|
|
316263
316525
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316264
316526
|
|
|
@@ -316273,9 +316535,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316273
316535
|
|
|
316274
316536
|
/***/ }),
|
|
316275
316537
|
|
|
316276
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316538
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/parseHeaders.js":
|
|
316277
316539
|
/*!********************************************************************************************************!*\
|
|
316278
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316540
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/parseHeaders.js ***!
|
|
316279
316541
|
\********************************************************************************************************/
|
|
316280
316542
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316281
316543
|
|
|
@@ -316284,7 +316546,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316284
316546
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316285
316547
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
316286
316548
|
/* harmony export */ });
|
|
316287
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316549
|
+
/* 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");
|
|
316288
316550
|
|
|
316289
316551
|
|
|
316290
316552
|
|
|
@@ -316292,10 +316554,23 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316292
316554
|
// RawAxiosHeaders whose duplicates are ignored by node
|
|
316293
316555
|
// c.f. https://nodejs.org/api/http.html#http_message_headers
|
|
316294
316556
|
const ignoreDuplicateOf = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toObjectSet([
|
|
316295
|
-
'age',
|
|
316296
|
-
'
|
|
316297
|
-
'
|
|
316298
|
-
'
|
|
316557
|
+
'age',
|
|
316558
|
+
'authorization',
|
|
316559
|
+
'content-length',
|
|
316560
|
+
'content-type',
|
|
316561
|
+
'etag',
|
|
316562
|
+
'expires',
|
|
316563
|
+
'from',
|
|
316564
|
+
'host',
|
|
316565
|
+
'if-modified-since',
|
|
316566
|
+
'if-unmodified-since',
|
|
316567
|
+
'last-modified',
|
|
316568
|
+
'location',
|
|
316569
|
+
'max-forwards',
|
|
316570
|
+
'proxy-authorization',
|
|
316571
|
+
'referer',
|
|
316572
|
+
'retry-after',
|
|
316573
|
+
'user-agent',
|
|
316299
316574
|
]);
|
|
316300
316575
|
|
|
316301
316576
|
/**
|
|
@@ -316312,31 +316587,32 @@ const ignoreDuplicateOf = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toOb
|
|
|
316312
316587
|
*
|
|
316313
316588
|
* @returns {Object} Headers parsed into an object
|
|
316314
316589
|
*/
|
|
316315
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (rawHeaders => {
|
|
316590
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((rawHeaders) => {
|
|
316316
316591
|
const parsed = {};
|
|
316317
316592
|
let key;
|
|
316318
316593
|
let val;
|
|
316319
316594
|
let i;
|
|
316320
316595
|
|
|
316321
|
-
rawHeaders &&
|
|
316322
|
-
|
|
316323
|
-
|
|
316324
|
-
|
|
316596
|
+
rawHeaders &&
|
|
316597
|
+
rawHeaders.split('\n').forEach(function parser(line) {
|
|
316598
|
+
i = line.indexOf(':');
|
|
316599
|
+
key = line.substring(0, i).trim().toLowerCase();
|
|
316600
|
+
val = line.substring(i + 1).trim();
|
|
316325
316601
|
|
|
316326
|
-
|
|
316327
|
-
|
|
316328
|
-
|
|
316602
|
+
if (!key || (parsed[key] && ignoreDuplicateOf[key])) {
|
|
316603
|
+
return;
|
|
316604
|
+
}
|
|
316329
316605
|
|
|
316330
|
-
|
|
316331
|
-
|
|
316332
|
-
|
|
316606
|
+
if (key === 'set-cookie') {
|
|
316607
|
+
if (parsed[key]) {
|
|
316608
|
+
parsed[key].push(val);
|
|
316609
|
+
} else {
|
|
316610
|
+
parsed[key] = [val];
|
|
316611
|
+
}
|
|
316333
316612
|
} else {
|
|
316334
|
-
parsed[key] = [val
|
|
316613
|
+
parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
|
|
316335
316614
|
}
|
|
316336
|
-
}
|
|
316337
|
-
parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
|
|
316338
|
-
}
|
|
316339
|
-
});
|
|
316615
|
+
});
|
|
316340
316616
|
|
|
316341
316617
|
return parsed;
|
|
316342
316618
|
});
|
|
@@ -316344,9 +316620,9 @@ const ignoreDuplicateOf = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toOb
|
|
|
316344
316620
|
|
|
316345
316621
|
/***/ }),
|
|
316346
316622
|
|
|
316347
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316623
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/parseProtocol.js":
|
|
316348
316624
|
/*!*********************************************************************************************************!*\
|
|
316349
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316625
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/parseProtocol.js ***!
|
|
316350
316626
|
\*********************************************************************************************************/
|
|
316351
316627
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316352
316628
|
|
|
@@ -316359,15 +316635,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316359
316635
|
|
|
316360
316636
|
function parseProtocol(url) {
|
|
316361
316637
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
|
|
316362
|
-
return match && match[1] || '';
|
|
316638
|
+
return (match && match[1]) || '';
|
|
316363
316639
|
}
|
|
316364
316640
|
|
|
316365
316641
|
|
|
316366
316642
|
/***/ }),
|
|
316367
316643
|
|
|
316368
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316644
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/progressEventReducer.js":
|
|
316369
316645
|
/*!****************************************************************************************************************!*\
|
|
316370
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316646
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/progressEventReducer.js ***!
|
|
316371
316647
|
\****************************************************************************************************************/
|
|
316372
316648
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316373
316649
|
|
|
@@ -316378,9 +316654,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316378
316654
|
/* harmony export */ progressEventDecorator: () => (/* binding */ progressEventDecorator),
|
|
316379
316655
|
/* harmony export */ progressEventReducer: () => (/* binding */ progressEventReducer)
|
|
316380
316656
|
/* harmony export */ });
|
|
316381
|
-
/* harmony import */ var _speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./speedometer.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316382
|
-
/* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./throttle.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316383
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316657
|
+
/* 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");
|
|
316658
|
+
/* 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");
|
|
316659
|
+
/* 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");
|
|
316384
316660
|
|
|
316385
316661
|
|
|
316386
316662
|
|
|
@@ -316389,7 +316665,7 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
|
316389
316665
|
let bytesNotified = 0;
|
|
316390
316666
|
const _speedometer = (0,_speedometer_js__WEBPACK_IMPORTED_MODULE_0__["default"])(50, 250);
|
|
316391
316667
|
|
|
316392
|
-
return (0,_throttle_js__WEBPACK_IMPORTED_MODULE_1__["default"])(e => {
|
|
316668
|
+
return (0,_throttle_js__WEBPACK_IMPORTED_MODULE_1__["default"])((e) => {
|
|
316393
316669
|
const loaded = e.loaded;
|
|
316394
316670
|
const total = e.lengthComputable ? e.total : undefined;
|
|
316395
316671
|
const progressBytes = loaded - bytesNotified;
|
|
@@ -316401,37 +316677,44 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
|
316401
316677
|
const data = {
|
|
316402
316678
|
loaded,
|
|
316403
316679
|
total,
|
|
316404
|
-
progress: total ?
|
|
316680
|
+
progress: total ? loaded / total : undefined,
|
|
316405
316681
|
bytes: progressBytes,
|
|
316406
316682
|
rate: rate ? rate : undefined,
|
|
316407
316683
|
estimated: rate && total && inRange ? (total - loaded) / rate : undefined,
|
|
316408
316684
|
event: e,
|
|
316409
316685
|
lengthComputable: total != null,
|
|
316410
|
-
[isDownloadStream ? 'download' : 'upload']: true
|
|
316686
|
+
[isDownloadStream ? 'download' : 'upload']: true,
|
|
316411
316687
|
};
|
|
316412
316688
|
|
|
316413
316689
|
listener(data);
|
|
316414
316690
|
}, freq);
|
|
316415
|
-
}
|
|
316691
|
+
};
|
|
316416
316692
|
|
|
316417
316693
|
const progressEventDecorator = (total, throttled) => {
|
|
316418
316694
|
const lengthComputable = total != null;
|
|
316419
316695
|
|
|
316420
|
-
return [
|
|
316421
|
-
|
|
316422
|
-
|
|
316423
|
-
|
|
316424
|
-
|
|
316425
|
-
|
|
316696
|
+
return [
|
|
316697
|
+
(loaded) =>
|
|
316698
|
+
throttled[0]({
|
|
316699
|
+
lengthComputable,
|
|
316700
|
+
total,
|
|
316701
|
+
loaded,
|
|
316702
|
+
}),
|
|
316703
|
+
throttled[1],
|
|
316704
|
+
];
|
|
316705
|
+
};
|
|
316426
316706
|
|
|
316427
|
-
const asyncDecorator =
|
|
316707
|
+
const asyncDecorator =
|
|
316708
|
+
(fn) =>
|
|
316709
|
+
(...args) =>
|
|
316710
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].asap(() => fn(...args));
|
|
316428
316711
|
|
|
316429
316712
|
|
|
316430
316713
|
/***/ }),
|
|
316431
316714
|
|
|
316432
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316715
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/resolveConfig.js":
|
|
316433
316716
|
/*!*********************************************************************************************************!*\
|
|
316434
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316717
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/resolveConfig.js ***!
|
|
316435
316718
|
\*********************************************************************************************************/
|
|
316436
316719
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316437
316720
|
|
|
@@ -316440,14 +316723,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316440
316723
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316441
316724
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
316442
316725
|
/* harmony export */ });
|
|
316443
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316444
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316445
|
-
/* harmony import */ var _isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isURLSameOrigin.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316446
|
-
/* harmony import */ var _cookies_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cookies.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316447
|
-
/* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316448
|
-
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316449
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316450
|
-
/* harmony import */ var _buildURL_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316726
|
+
/* 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");
|
|
316727
|
+
/* 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");
|
|
316728
|
+
/* 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");
|
|
316729
|
+
/* 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");
|
|
316730
|
+
/* 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");
|
|
316731
|
+
/* 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");
|
|
316732
|
+
/* 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");
|
|
316733
|
+
/* 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");
|
|
316451
316734
|
|
|
316452
316735
|
|
|
316453
316736
|
|
|
@@ -316464,12 +316747,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316464
316747
|
|
|
316465
316748
|
newConfig.headers = headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(headers);
|
|
316466
316749
|
|
|
316467
|
-
newConfig.url = (0,_buildURL_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
316750
|
+
newConfig.url = (0,_buildURL_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
316751
|
+
(0,_core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_3__["default"])(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls),
|
|
316752
|
+
config.params,
|
|
316753
|
+
config.paramsSerializer
|
|
316754
|
+
);
|
|
316468
316755
|
|
|
316469
316756
|
// HTTP basic authentication
|
|
316470
316757
|
if (auth) {
|
|
316471
|
-
headers.set(
|
|
316472
|
-
|
|
316758
|
+
headers.set(
|
|
316759
|
+
'Authorization',
|
|
316760
|
+
'Basic ' +
|
|
316761
|
+
btoa(
|
|
316762
|
+
(auth.username || '') +
|
|
316763
|
+
':' +
|
|
316764
|
+
(auth.password ? unescape(encodeURIComponent(auth.password)) : '')
|
|
316765
|
+
)
|
|
316473
316766
|
);
|
|
316474
316767
|
}
|
|
316475
316768
|
|
|
@@ -316487,7 +316780,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316487
316780
|
}
|
|
316488
316781
|
});
|
|
316489
316782
|
}
|
|
316490
|
-
}
|
|
316783
|
+
}
|
|
316491
316784
|
|
|
316492
316785
|
// Add xsrf header
|
|
316493
316786
|
// This is only done if running in a standard browser environment.
|
|
@@ -316510,12 +316803,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316510
316803
|
});
|
|
316511
316804
|
|
|
316512
316805
|
|
|
316513
|
-
|
|
316514
316806
|
/***/ }),
|
|
316515
316807
|
|
|
316516
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316808
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/speedometer.js":
|
|
316517
316809
|
/*!*******************************************************************************************************!*\
|
|
316518
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316810
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/speedometer.js ***!
|
|
316519
316811
|
\*******************************************************************************************************/
|
|
316520
316812
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316521
316813
|
|
|
@@ -316574,7 +316866,7 @@ function speedometer(samplesCount, min) {
|
|
|
316574
316866
|
|
|
316575
316867
|
const passed = startedAt && now - startedAt;
|
|
316576
316868
|
|
|
316577
|
-
return passed ? Math.round(bytesCount * 1000 / passed) : undefined;
|
|
316869
|
+
return passed ? Math.round((bytesCount * 1000) / passed) : undefined;
|
|
316578
316870
|
};
|
|
316579
316871
|
}
|
|
316580
316872
|
|
|
@@ -316583,9 +316875,9 @@ function speedometer(samplesCount, min) {
|
|
|
316583
316875
|
|
|
316584
316876
|
/***/ }),
|
|
316585
316877
|
|
|
316586
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316878
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/spread.js":
|
|
316587
316879
|
/*!**************************************************************************************************!*\
|
|
316588
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316880
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/spread.js ***!
|
|
316589
316881
|
\**************************************************************************************************/
|
|
316590
316882
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316591
316883
|
|
|
@@ -316626,9 +316918,9 @@ function spread(callback) {
|
|
|
316626
316918
|
|
|
316627
316919
|
/***/ }),
|
|
316628
316920
|
|
|
316629
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316921
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/throttle.js":
|
|
316630
316922
|
/*!****************************************************************************************************!*\
|
|
316631
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316923
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/throttle.js ***!
|
|
316632
316924
|
\****************************************************************************************************/
|
|
316633
316925
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316634
316926
|
|
|
@@ -316657,23 +316949,23 @@ function throttle(fn, freq) {
|
|
|
316657
316949
|
timer = null;
|
|
316658
316950
|
}
|
|
316659
316951
|
fn(...args);
|
|
316660
|
-
}
|
|
316952
|
+
};
|
|
316661
316953
|
|
|
316662
316954
|
const throttled = (...args) => {
|
|
316663
316955
|
const now = Date.now();
|
|
316664
316956
|
const passed = now - timestamp;
|
|
316665
|
-
if (
|
|
316957
|
+
if (passed >= threshold) {
|
|
316666
316958
|
invoke(args, now);
|
|
316667
316959
|
} else {
|
|
316668
316960
|
lastArgs = args;
|
|
316669
316961
|
if (!timer) {
|
|
316670
316962
|
timer = setTimeout(() => {
|
|
316671
316963
|
timer = null;
|
|
316672
|
-
invoke(lastArgs)
|
|
316964
|
+
invoke(lastArgs);
|
|
316673
316965
|
}, threshold - passed);
|
|
316674
316966
|
}
|
|
316675
316967
|
}
|
|
316676
|
-
}
|
|
316968
|
+
};
|
|
316677
316969
|
|
|
316678
316970
|
const flush = () => lastArgs && invoke(lastArgs);
|
|
316679
316971
|
|
|
@@ -316685,9 +316977,9 @@ function throttle(fn, freq) {
|
|
|
316685
316977
|
|
|
316686
316978
|
/***/ }),
|
|
316687
316979
|
|
|
316688
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316980
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toFormData.js":
|
|
316689
316981
|
/*!******************************************************************************************************!*\
|
|
316690
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316982
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toFormData.js ***!
|
|
316691
316983
|
\******************************************************************************************************/
|
|
316692
316984
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316693
316985
|
|
|
@@ -316696,9 +316988,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316696
316988
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316697
316989
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
316698
316990
|
/* harmony export */ });
|
|
316699
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316700
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316701
|
-
/* 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.
|
|
316991
|
+
/* 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");
|
|
316992
|
+
/* 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");
|
|
316993
|
+
/* 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");
|
|
316702
316994
|
|
|
316703
316995
|
|
|
316704
316996
|
|
|
@@ -316739,11 +317031,14 @@ function removeBrackets(key) {
|
|
|
316739
317031
|
*/
|
|
316740
317032
|
function renderKey(path, key, dots) {
|
|
316741
317033
|
if (!path) return key;
|
|
316742
|
-
return path
|
|
316743
|
-
|
|
316744
|
-
|
|
316745
|
-
|
|
316746
|
-
|
|
317034
|
+
return path
|
|
317035
|
+
.concat(key)
|
|
317036
|
+
.map(function each(token, i) {
|
|
317037
|
+
// eslint-disable-next-line no-param-reassign
|
|
317038
|
+
token = removeBrackets(token);
|
|
317039
|
+
return !dots && i ? '[' + token + ']' : token;
|
|
317040
|
+
})
|
|
317041
|
+
.join(dots ? '.' : '');
|
|
316747
317042
|
}
|
|
316748
317043
|
|
|
316749
317044
|
/**
|
|
@@ -316793,21 +317088,26 @@ function toFormData(obj, formData, options) {
|
|
|
316793
317088
|
formData = formData || new (_platform_node_classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__["default"] || FormData)();
|
|
316794
317089
|
|
|
316795
317090
|
// eslint-disable-next-line no-param-reassign
|
|
316796
|
-
options = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toFlatObject(
|
|
316797
|
-
|
|
316798
|
-
|
|
316799
|
-
|
|
316800
|
-
|
|
316801
|
-
|
|
316802
|
-
|
|
316803
|
-
|
|
317091
|
+
options = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toFlatObject(
|
|
317092
|
+
options,
|
|
317093
|
+
{
|
|
317094
|
+
metaTokens: true,
|
|
317095
|
+
dots: false,
|
|
317096
|
+
indexes: false,
|
|
317097
|
+
},
|
|
317098
|
+
false,
|
|
317099
|
+
function defined(option, source) {
|
|
317100
|
+
// eslint-disable-next-line no-eq-null,eqeqeq
|
|
317101
|
+
return !_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(source[option]);
|
|
317102
|
+
}
|
|
317103
|
+
);
|
|
316804
317104
|
|
|
316805
317105
|
const metaTokens = options.metaTokens;
|
|
316806
317106
|
// eslint-disable-next-line no-use-before-define
|
|
316807
317107
|
const visitor = options.visitor || defaultVisitor;
|
|
316808
317108
|
const dots = options.dots;
|
|
316809
317109
|
const indexes = options.indexes;
|
|
316810
|
-
const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob;
|
|
317110
|
+
const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob);
|
|
316811
317111
|
const useBlob = _Blob && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isSpecCompliantForm(formData);
|
|
316812
317112
|
|
|
316813
317113
|
if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFunction(visitor)) {
|
|
@@ -316849,6 +317149,11 @@ function toFormData(obj, formData, options) {
|
|
|
316849
317149
|
function defaultVisitor(value, key, path) {
|
|
316850
317150
|
let arr = value;
|
|
316851
317151
|
|
|
317152
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReactNative(formData) && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReactNativeBlob(value)) {
|
|
317153
|
+
formData.append(renderKey(path, key, dots), convertValue(value));
|
|
317154
|
+
return false;
|
|
317155
|
+
}
|
|
317156
|
+
|
|
316852
317157
|
if (value && !path && typeof value === 'object') {
|
|
316853
317158
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].endsWith(key, '{}')) {
|
|
316854
317159
|
// eslint-disable-next-line no-param-reassign
|
|
@@ -316857,17 +317162,22 @@ function toFormData(obj, formData, options) {
|
|
|
316857
317162
|
value = JSON.stringify(value);
|
|
316858
317163
|
} else if (
|
|
316859
317164
|
(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value) && isFlatArray(value)) ||
|
|
316860
|
-
((_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))
|
|
316861
|
-
|
|
317165
|
+
((_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)))
|
|
317166
|
+
) {
|
|
316862
317167
|
// eslint-disable-next-line no-param-reassign
|
|
316863
317168
|
key = removeBrackets(key);
|
|
316864
317169
|
|
|
316865
317170
|
arr.forEach(function each(el, index) {
|
|
316866
|
-
!(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(el) || el === null) &&
|
|
316867
|
-
|
|
316868
|
-
|
|
316869
|
-
|
|
316870
|
-
|
|
317171
|
+
!(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(el) || el === null) &&
|
|
317172
|
+
formData.append(
|
|
317173
|
+
// eslint-disable-next-line no-nested-ternary
|
|
317174
|
+
indexes === true
|
|
317175
|
+
? renderKey([key], index, dots)
|
|
317176
|
+
: indexes === null
|
|
317177
|
+
? key
|
|
317178
|
+
: key + '[]',
|
|
317179
|
+
convertValue(el)
|
|
317180
|
+
);
|
|
316871
317181
|
});
|
|
316872
317182
|
return false;
|
|
316873
317183
|
}
|
|
@@ -316887,7 +317197,7 @@ function toFormData(obj, formData, options) {
|
|
|
316887
317197
|
const exposedHelpers = Object.assign(predicates, {
|
|
316888
317198
|
defaultVisitor,
|
|
316889
317199
|
convertValue,
|
|
316890
|
-
isVisitable
|
|
317200
|
+
isVisitable,
|
|
316891
317201
|
});
|
|
316892
317202
|
|
|
316893
317203
|
function build(value, path) {
|
|
@@ -316900,9 +317210,9 @@ function toFormData(obj, formData, options) {
|
|
|
316900
317210
|
stack.push(value);
|
|
316901
317211
|
|
|
316902
317212
|
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(value, function each(el, key) {
|
|
316903
|
-
const result =
|
|
316904
|
-
|
|
316905
|
-
|
|
317213
|
+
const result =
|
|
317214
|
+
!(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(el) || el === null) &&
|
|
317215
|
+
visitor.call(formData, el, _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(key) ? key.trim() : key, path, exposedHelpers);
|
|
316906
317216
|
|
|
316907
317217
|
if (result === true) {
|
|
316908
317218
|
build(el, path ? path.concat(key) : [key]);
|
|
@@ -316926,9 +317236,9 @@ function toFormData(obj, formData, options) {
|
|
|
316926
317236
|
|
|
316927
317237
|
/***/ }),
|
|
316928
317238
|
|
|
316929
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317239
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toURLEncodedForm.js":
|
|
316930
317240
|
/*!************************************************************************************************************!*\
|
|
316931
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317241
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toURLEncodedForm.js ***!
|
|
316932
317242
|
\************************************************************************************************************/
|
|
316933
317243
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316934
317244
|
|
|
@@ -316937,9 +317247,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316937
317247
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316938
317248
|
/* harmony export */ "default": () => (/* binding */ toURLEncodedForm)
|
|
316939
317249
|
/* harmony export */ });
|
|
316940
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316941
|
-
/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316942
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317250
|
+
/* 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");
|
|
317251
|
+
/* 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");
|
|
317252
|
+
/* 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");
|
|
316943
317253
|
|
|
316944
317254
|
|
|
316945
317255
|
|
|
@@ -316948,7 +317258,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316948
317258
|
|
|
316949
317259
|
function toURLEncodedForm(data, options) {
|
|
316950
317260
|
return (0,_toFormData_js__WEBPACK_IMPORTED_MODULE_0__["default"])(data, new _platform_index_js__WEBPACK_IMPORTED_MODULE_1__["default"].classes.URLSearchParams(), {
|
|
316951
|
-
visitor: function(value, key, path, helpers) {
|
|
317261
|
+
visitor: function (value, key, path, helpers) {
|
|
316952
317262
|
if (_platform_index_js__WEBPACK_IMPORTED_MODULE_1__["default"].isNode && _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].isBuffer(value)) {
|
|
316953
317263
|
this.append(key, value.toString('base64'));
|
|
316954
317264
|
return false;
|
|
@@ -316956,16 +317266,16 @@ function toURLEncodedForm(data, options) {
|
|
|
316956
317266
|
|
|
316957
317267
|
return helpers.defaultVisitor.apply(this, arguments);
|
|
316958
317268
|
},
|
|
316959
|
-
...options
|
|
317269
|
+
...options,
|
|
316960
317270
|
});
|
|
316961
317271
|
}
|
|
316962
317272
|
|
|
316963
317273
|
|
|
316964
317274
|
/***/ }),
|
|
316965
317275
|
|
|
316966
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317276
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/trackStream.js":
|
|
316967
317277
|
/*!*******************************************************************************************************!*\
|
|
316968
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317278
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/trackStream.js ***!
|
|
316969
317279
|
\*******************************************************************************************************/
|
|
316970
317280
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316971
317281
|
|
|
@@ -316976,7 +317286,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316976
317286
|
/* harmony export */ streamChunk: () => (/* binding */ streamChunk),
|
|
316977
317287
|
/* harmony export */ trackStream: () => (/* binding */ trackStream)
|
|
316978
317288
|
/* harmony export */ });
|
|
316979
|
-
|
|
316980
317289
|
const streamChunk = function* (chunk, chunkSize) {
|
|
316981
317290
|
let len = chunk.byteLength;
|
|
316982
317291
|
|
|
@@ -316993,13 +317302,13 @@ const streamChunk = function* (chunk, chunkSize) {
|
|
|
316993
317302
|
yield chunk.slice(pos, end);
|
|
316994
317303
|
pos = end;
|
|
316995
317304
|
}
|
|
316996
|
-
}
|
|
317305
|
+
};
|
|
316997
317306
|
|
|
316998
317307
|
const readBytes = async function* (iterable, chunkSize) {
|
|
316999
317308
|
for await (const chunk of readStream(iterable)) {
|
|
317000
317309
|
yield* streamChunk(chunk, chunkSize);
|
|
317001
317310
|
}
|
|
317002
|
-
}
|
|
317311
|
+
};
|
|
317003
317312
|
|
|
317004
317313
|
const readStream = async function* (stream) {
|
|
317005
317314
|
if (stream[Symbol.asyncIterator]) {
|
|
@@ -317010,7 +317319,7 @@ const readStream = async function* (stream) {
|
|
|
317010
317319
|
const reader = stream.getReader();
|
|
317011
317320
|
try {
|
|
317012
317321
|
for (;;) {
|
|
317013
|
-
const {done, value} = await reader.read();
|
|
317322
|
+
const { done, value } = await reader.read();
|
|
317014
317323
|
if (done) {
|
|
317015
317324
|
break;
|
|
317016
317325
|
}
|
|
@@ -317019,7 +317328,7 @@ const readStream = async function* (stream) {
|
|
|
317019
317328
|
} finally {
|
|
317020
317329
|
await reader.cancel();
|
|
317021
317330
|
}
|
|
317022
|
-
}
|
|
317331
|
+
};
|
|
317023
317332
|
|
|
317024
317333
|
const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
317025
317334
|
const iterator = readBytes(stream, chunkSize);
|
|
@@ -317031,45 +317340,48 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
|
317031
317340
|
done = true;
|
|
317032
317341
|
onFinish && onFinish(e);
|
|
317033
317342
|
}
|
|
317034
|
-
}
|
|
317343
|
+
};
|
|
317035
317344
|
|
|
317036
|
-
return new ReadableStream(
|
|
317037
|
-
|
|
317038
|
-
|
|
317039
|
-
|
|
317345
|
+
return new ReadableStream(
|
|
317346
|
+
{
|
|
317347
|
+
async pull(controller) {
|
|
317348
|
+
try {
|
|
317349
|
+
const { done, value } = await iterator.next();
|
|
317040
317350
|
|
|
317041
|
-
|
|
317042
|
-
|
|
317043
|
-
|
|
317044
|
-
|
|
317045
|
-
|
|
317351
|
+
if (done) {
|
|
317352
|
+
_onFinish();
|
|
317353
|
+
controller.close();
|
|
317354
|
+
return;
|
|
317355
|
+
}
|
|
317046
317356
|
|
|
317047
|
-
|
|
317048
|
-
|
|
317049
|
-
|
|
317050
|
-
|
|
317357
|
+
let len = value.byteLength;
|
|
317358
|
+
if (onProgress) {
|
|
317359
|
+
let loadedBytes = (bytes += len);
|
|
317360
|
+
onProgress(loadedBytes);
|
|
317361
|
+
}
|
|
317362
|
+
controller.enqueue(new Uint8Array(value));
|
|
317363
|
+
} catch (err) {
|
|
317364
|
+
_onFinish(err);
|
|
317365
|
+
throw err;
|
|
317051
317366
|
}
|
|
317052
|
-
|
|
317053
|
-
|
|
317054
|
-
_onFinish(
|
|
317055
|
-
|
|
317056
|
-
}
|
|
317367
|
+
},
|
|
317368
|
+
cancel(reason) {
|
|
317369
|
+
_onFinish(reason);
|
|
317370
|
+
return iterator.return();
|
|
317371
|
+
},
|
|
317057
317372
|
},
|
|
317058
|
-
|
|
317059
|
-
|
|
317060
|
-
return iterator.return();
|
|
317373
|
+
{
|
|
317374
|
+
highWaterMark: 2,
|
|
317061
317375
|
}
|
|
317062
|
-
|
|
317063
|
-
|
|
317064
|
-
})
|
|
317065
|
-
}
|
|
317376
|
+
);
|
|
317377
|
+
};
|
|
317066
317378
|
|
|
317067
317379
|
|
|
317068
317380
|
/***/ }),
|
|
317069
317381
|
|
|
317070
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317382
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/validator.js":
|
|
317071
317383
|
/*!*****************************************************************************************************!*\
|
|
317072
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317384
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/validator.js ***!
|
|
317073
317385
|
\*****************************************************************************************************/
|
|
317074
317386
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317075
317387
|
|
|
@@ -317078,8 +317390,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317078
317390
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
317079
317391
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
317080
317392
|
/* harmony export */ });
|
|
317081
|
-
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317082
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317393
|
+
/* 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");
|
|
317394
|
+
/* 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");
|
|
317083
317395
|
|
|
317084
317396
|
|
|
317085
317397
|
|
|
@@ -317107,7 +317419,15 @@ const deprecatedWarnings = {};
|
|
|
317107
317419
|
*/
|
|
317108
317420
|
validators.transitional = function transitional(validator, version, message) {
|
|
317109
317421
|
function formatMessage(opt, desc) {
|
|
317110
|
-
return
|
|
317422
|
+
return (
|
|
317423
|
+
'[Axios v' +
|
|
317424
|
+
_env_data_js__WEBPACK_IMPORTED_MODULE_0__.VERSION +
|
|
317425
|
+
"] Transitional option '" +
|
|
317426
|
+
opt +
|
|
317427
|
+
"'" +
|
|
317428
|
+
desc +
|
|
317429
|
+
(message ? '. ' + message : '')
|
|
317430
|
+
);
|
|
317111
317431
|
}
|
|
317112
317432
|
|
|
317113
317433
|
// eslint-disable-next-line func-names
|
|
@@ -317139,7 +317459,7 @@ validators.spelling = function spelling(correctSpelling) {
|
|
|
317139
317459
|
// eslint-disable-next-line no-console
|
|
317140
317460
|
console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);
|
|
317141
317461
|
return true;
|
|
317142
|
-
}
|
|
317462
|
+
};
|
|
317143
317463
|
};
|
|
317144
317464
|
|
|
317145
317465
|
/**
|
|
@@ -317165,7 +317485,10 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
317165
317485
|
const value = options[opt];
|
|
317166
317486
|
const result = value === undefined || validator(value, opt, options);
|
|
317167
317487
|
if (result !== true) {
|
|
317168
|
-
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"](
|
|
317488
|
+
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"](
|
|
317489
|
+
'option ' + opt + ' must be ' + result,
|
|
317490
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"].ERR_BAD_OPTION_VALUE
|
|
317491
|
+
);
|
|
317169
317492
|
}
|
|
317170
317493
|
continue;
|
|
317171
317494
|
}
|
|
@@ -317177,15 +317500,15 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
317177
317500
|
|
|
317178
317501
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
317179
317502
|
assertOptions,
|
|
317180
|
-
validators
|
|
317503
|
+
validators,
|
|
317181
317504
|
});
|
|
317182
317505
|
|
|
317183
317506
|
|
|
317184
317507
|
/***/ }),
|
|
317185
317508
|
|
|
317186
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317509
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/Blob.js":
|
|
317187
317510
|
/*!*****************************************************************************************************************!*\
|
|
317188
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317511
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/Blob.js ***!
|
|
317189
317512
|
\*****************************************************************************************************************/
|
|
317190
317513
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317191
317514
|
|
|
@@ -317201,9 +317524,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317201
317524
|
|
|
317202
317525
|
/***/ }),
|
|
317203
317526
|
|
|
317204
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317527
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/FormData.js":
|
|
317205
317528
|
/*!*********************************************************************************************************************!*\
|
|
317206
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317529
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/FormData.js ***!
|
|
317207
317530
|
\*********************************************************************************************************************/
|
|
317208
317531
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317209
317532
|
|
|
@@ -317219,9 +317542,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317219
317542
|
|
|
317220
317543
|
/***/ }),
|
|
317221
317544
|
|
|
317222
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317545
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js":
|
|
317223
317546
|
/*!****************************************************************************************************************************!*\
|
|
317224
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317547
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js ***!
|
|
317225
317548
|
\****************************************************************************************************************************/
|
|
317226
317549
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317227
317550
|
|
|
@@ -317230,7 +317553,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317230
317553
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
317231
317554
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
317232
317555
|
/* harmony export */ });
|
|
317233
|
-
/* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317556
|
+
/* 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");
|
|
317234
317557
|
|
|
317235
317558
|
|
|
317236
317559
|
|
|
@@ -317239,9 +317562,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317239
317562
|
|
|
317240
317563
|
/***/ }),
|
|
317241
317564
|
|
|
317242
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317565
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/index.js":
|
|
317243
317566
|
/*!**********************************************************************************************************!*\
|
|
317244
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317567
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/index.js ***!
|
|
317245
317568
|
\**********************************************************************************************************/
|
|
317246
317569
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317247
317570
|
|
|
@@ -317250,9 +317573,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317250
317573
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
317251
317574
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
317252
317575
|
/* harmony export */ });
|
|
317253
|
-
/* harmony import */ var _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./classes/URLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317254
|
-
/* harmony import */ var _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317255
|
-
/* harmony import */ var _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./classes/Blob.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317576
|
+
/* 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");
|
|
317577
|
+
/* 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");
|
|
317578
|
+
/* 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");
|
|
317256
317579
|
|
|
317257
317580
|
|
|
317258
317581
|
|
|
@@ -317262,17 +317585,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317262
317585
|
classes: {
|
|
317263
317586
|
URLSearchParams: _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__["default"],
|
|
317264
317587
|
FormData: _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
317265
|
-
Blob: _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__["default"]
|
|
317588
|
+
Blob: _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__["default"],
|
|
317266
317589
|
},
|
|
317267
|
-
protocols: ['http', 'https', 'file', 'blob', 'url', 'data']
|
|
317590
|
+
protocols: ['http', 'https', 'file', 'blob', 'url', 'data'],
|
|
317268
317591
|
});
|
|
317269
317592
|
|
|
317270
317593
|
|
|
317271
317594
|
/***/ }),
|
|
317272
317595
|
|
|
317273
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317596
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/common/utils.js":
|
|
317274
317597
|
/*!*********************************************************************************************************!*\
|
|
317275
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317598
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/common/utils.js ***!
|
|
317276
317599
|
\*********************************************************************************************************/
|
|
317277
317600
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317278
317601
|
|
|
@@ -317287,7 +317610,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317287
317610
|
/* harmony export */ });
|
|
317288
317611
|
const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
|
|
317289
317612
|
|
|
317290
|
-
const _navigator = typeof navigator === 'object' && navigator || undefined;
|
|
317613
|
+
const _navigator = (typeof navigator === 'object' && navigator) || undefined;
|
|
317291
317614
|
|
|
317292
317615
|
/**
|
|
317293
317616
|
* Determine if we're running in a standard browser environment
|
|
@@ -317306,7 +317629,8 @@ const _navigator = typeof navigator === 'object' && navigator || undefined;
|
|
|
317306
317629
|
*
|
|
317307
317630
|
* @returns {boolean}
|
|
317308
317631
|
*/
|
|
317309
|
-
const hasStandardBrowserEnv =
|
|
317632
|
+
const hasStandardBrowserEnv =
|
|
317633
|
+
hasBrowserEnv &&
|
|
317310
317634
|
(!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);
|
|
317311
317635
|
|
|
317312
317636
|
/**
|
|
@@ -317327,16 +317651,16 @@ const hasStandardBrowserWebWorkerEnv = (() => {
|
|
|
317327
317651
|
);
|
|
317328
317652
|
})();
|
|
317329
317653
|
|
|
317330
|
-
const origin = hasBrowserEnv && window.location.href || 'http://localhost';
|
|
317654
|
+
const origin = (hasBrowserEnv && window.location.href) || 'http://localhost';
|
|
317331
317655
|
|
|
317332
317656
|
|
|
317333
317657
|
|
|
317334
317658
|
|
|
317335
317659
|
/***/ }),
|
|
317336
317660
|
|
|
317337
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317661
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/index.js":
|
|
317338
317662
|
/*!**************************************************************************************************!*\
|
|
317339
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317663
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/index.js ***!
|
|
317340
317664
|
\**************************************************************************************************/
|
|
317341
317665
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317342
317666
|
|
|
@@ -317345,22 +317669,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317345
317669
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
317346
317670
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
317347
317671
|
/* harmony export */ });
|
|
317348
|
-
/* harmony import */ var _node_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317349
|
-
/* harmony import */ var _common_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common/utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317672
|
+
/* 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");
|
|
317673
|
+
/* 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");
|
|
317350
317674
|
|
|
317351
317675
|
|
|
317352
317676
|
|
|
317353
317677
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
317354
317678
|
..._common_utils_js__WEBPACK_IMPORTED_MODULE_0__,
|
|
317355
|
-
..._node_index_js__WEBPACK_IMPORTED_MODULE_1__["default"]
|
|
317679
|
+
..._node_index_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
317356
317680
|
});
|
|
317357
317681
|
|
|
317358
317682
|
|
|
317359
317683
|
/***/ }),
|
|
317360
317684
|
|
|
317361
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317685
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js":
|
|
317362
317686
|
/*!*****************************************************************************************!*\
|
|
317363
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317687
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js ***!
|
|
317364
317688
|
\*****************************************************************************************/
|
|
317365
317689
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317366
317690
|
|
|
@@ -317369,7 +317693,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317369
317693
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
317370
317694
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
317371
317695
|
/* harmony export */ });
|
|
317372
|
-
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317696
|
+
/* 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");
|
|
317373
317697
|
|
|
317374
317698
|
|
|
317375
317699
|
|
|
@@ -317408,7 +317732,7 @@ const { isArray } = Array;
|
|
|
317408
317732
|
*
|
|
317409
317733
|
* @returns {boolean} True if the value is undefined, otherwise false
|
|
317410
317734
|
*/
|
|
317411
|
-
const isUndefined = typeOfTest(
|
|
317735
|
+
const isUndefined = typeOfTest('undefined');
|
|
317412
317736
|
|
|
317413
317737
|
/**
|
|
317414
317738
|
* Determine if a value is a Buffer
|
|
@@ -317435,7 +317759,7 @@ function isBuffer(val) {
|
|
|
317435
317759
|
*
|
|
317436
317760
|
* @returns {boolean} True if value is an ArrayBuffer, otherwise false
|
|
317437
317761
|
*/
|
|
317438
|
-
const isArrayBuffer = kindOfTest(
|
|
317762
|
+
const isArrayBuffer = kindOfTest('ArrayBuffer');
|
|
317439
317763
|
|
|
317440
317764
|
/**
|
|
317441
317765
|
* Determine if a value is a view on an ArrayBuffer
|
|
@@ -317446,7 +317770,7 @@ const isArrayBuffer = kindOfTest("ArrayBuffer");
|
|
|
317446
317770
|
*/
|
|
317447
317771
|
function isArrayBufferView(val) {
|
|
317448
317772
|
let result;
|
|
317449
|
-
if (typeof ArrayBuffer !==
|
|
317773
|
+
if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {
|
|
317450
317774
|
result = ArrayBuffer.isView(val);
|
|
317451
317775
|
} else {
|
|
317452
317776
|
result = val && val.buffer && isArrayBuffer(val.buffer);
|
|
@@ -317461,7 +317785,7 @@ function isArrayBufferView(val) {
|
|
|
317461
317785
|
*
|
|
317462
317786
|
* @returns {boolean} True if value is a String, otherwise false
|
|
317463
317787
|
*/
|
|
317464
|
-
const isString = typeOfTest(
|
|
317788
|
+
const isString = typeOfTest('string');
|
|
317465
317789
|
|
|
317466
317790
|
/**
|
|
317467
317791
|
* Determine if a value is a Function
|
|
@@ -317469,7 +317793,7 @@ const isString = typeOfTest("string");
|
|
|
317469
317793
|
* @param {*} val The value to test
|
|
317470
317794
|
* @returns {boolean} True if value is a Function, otherwise false
|
|
317471
317795
|
*/
|
|
317472
|
-
const isFunction = typeOfTest(
|
|
317796
|
+
const isFunction = typeOfTest('function');
|
|
317473
317797
|
|
|
317474
317798
|
/**
|
|
317475
317799
|
* Determine if a value is a Number
|
|
@@ -317478,7 +317802,7 @@ const isFunction = typeOfTest("function");
|
|
|
317478
317802
|
*
|
|
317479
317803
|
* @returns {boolean} True if value is a Number, otherwise false
|
|
317480
317804
|
*/
|
|
317481
|
-
const isNumber = typeOfTest(
|
|
317805
|
+
const isNumber = typeOfTest('number');
|
|
317482
317806
|
|
|
317483
317807
|
/**
|
|
317484
317808
|
* Determine if a value is an Object
|
|
@@ -317487,7 +317811,7 @@ const isNumber = typeOfTest("number");
|
|
|
317487
317811
|
*
|
|
317488
317812
|
* @returns {boolean} True if value is an Object, otherwise false
|
|
317489
317813
|
*/
|
|
317490
|
-
const isObject = (thing) => thing !== null && typeof thing ===
|
|
317814
|
+
const isObject = (thing) => thing !== null && typeof thing === 'object';
|
|
317491
317815
|
|
|
317492
317816
|
/**
|
|
317493
317817
|
* Determine if a value is a Boolean
|
|
@@ -317505,7 +317829,7 @@ const isBoolean = (thing) => thing === true || thing === false;
|
|
|
317505
317829
|
* @returns {boolean} True if value is a plain Object, otherwise false
|
|
317506
317830
|
*/
|
|
317507
317831
|
const isPlainObject = (val) => {
|
|
317508
|
-
if (kindOf(val) !==
|
|
317832
|
+
if (kindOf(val) !== 'object') {
|
|
317509
317833
|
return false;
|
|
317510
317834
|
}
|
|
317511
317835
|
|
|
@@ -317533,10 +317857,7 @@ const isEmptyObject = (val) => {
|
|
|
317533
317857
|
}
|
|
317534
317858
|
|
|
317535
317859
|
try {
|
|
317536
|
-
return (
|
|
317537
|
-
Object.keys(val).length === 0 &&
|
|
317538
|
-
Object.getPrototypeOf(val) === Object.prototype
|
|
317539
|
-
);
|
|
317860
|
+
return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
|
|
317540
317861
|
} catch (e) {
|
|
317541
317862
|
// Fallback for any other objects that might cause RangeError with Object.keys()
|
|
317542
317863
|
return false;
|
|
@@ -317550,7 +317871,7 @@ const isEmptyObject = (val) => {
|
|
|
317550
317871
|
*
|
|
317551
317872
|
* @returns {boolean} True if value is a Date, otherwise false
|
|
317552
317873
|
*/
|
|
317553
|
-
const isDate = kindOfTest(
|
|
317874
|
+
const isDate = kindOfTest('Date');
|
|
317554
317875
|
|
|
317555
317876
|
/**
|
|
317556
317877
|
* Determine if a value is a File
|
|
@@ -317559,7 +317880,32 @@ const isDate = kindOfTest("Date");
|
|
|
317559
317880
|
*
|
|
317560
317881
|
* @returns {boolean} True if value is a File, otherwise false
|
|
317561
317882
|
*/
|
|
317562
|
-
const isFile = kindOfTest(
|
|
317883
|
+
const isFile = kindOfTest('File');
|
|
317884
|
+
|
|
317885
|
+
/**
|
|
317886
|
+
* Determine if a value is a React Native Blob
|
|
317887
|
+
* React Native "blob": an object with a `uri` attribute. Optionally, it can
|
|
317888
|
+
* also have a `name` and `type` attribute to specify filename and content type
|
|
317889
|
+
*
|
|
317890
|
+
* @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71
|
|
317891
|
+
*
|
|
317892
|
+
* @param {*} value The value to test
|
|
317893
|
+
*
|
|
317894
|
+
* @returns {boolean} True if value is a React Native Blob, otherwise false
|
|
317895
|
+
*/
|
|
317896
|
+
const isReactNativeBlob = (value) => {
|
|
317897
|
+
return !!(value && typeof value.uri !== 'undefined');
|
|
317898
|
+
}
|
|
317899
|
+
|
|
317900
|
+
/**
|
|
317901
|
+
* Determine if environment is React Native
|
|
317902
|
+
* ReactNative `FormData` has a non-standard `getParts()` method
|
|
317903
|
+
*
|
|
317904
|
+
* @param {*} formData The formData to test
|
|
317905
|
+
*
|
|
317906
|
+
* @returns {boolean} True if environment is React Native, otherwise false
|
|
317907
|
+
*/
|
|
317908
|
+
const isReactNative = (formData) => formData && typeof formData.getParts !== 'undefined';
|
|
317563
317909
|
|
|
317564
317910
|
/**
|
|
317565
317911
|
* Determine if a value is a Blob
|
|
@@ -317568,7 +317914,7 @@ const isFile = kindOfTest("File");
|
|
|
317568
317914
|
*
|
|
317569
317915
|
* @returns {boolean} True if value is a Blob, otherwise false
|
|
317570
317916
|
*/
|
|
317571
|
-
const isBlob = kindOfTest(
|
|
317917
|
+
const isBlob = kindOfTest('Blob');
|
|
317572
317918
|
|
|
317573
317919
|
/**
|
|
317574
317920
|
* Determine if a value is a FileList
|
|
@@ -317577,7 +317923,7 @@ const isBlob = kindOfTest("Blob");
|
|
|
317577
317923
|
*
|
|
317578
317924
|
* @returns {boolean} True if value is a File, otherwise false
|
|
317579
317925
|
*/
|
|
317580
|
-
const isFileList = kindOfTest(
|
|
317926
|
+
const isFileList = kindOfTest('FileList');
|
|
317581
317927
|
|
|
317582
317928
|
/**
|
|
317583
317929
|
* Determine if a value is a Stream
|
|
@@ -317595,17 +317941,27 @@ const isStream = (val) => isObject(val) && isFunction(val.pipe);
|
|
|
317595
317941
|
*
|
|
317596
317942
|
* @returns {boolean} True if value is an FormData, otherwise false
|
|
317597
317943
|
*/
|
|
317944
|
+
function getGlobal() {
|
|
317945
|
+
if (typeof globalThis !== 'undefined') return globalThis;
|
|
317946
|
+
if (typeof self !== 'undefined') return self;
|
|
317947
|
+
if (typeof window !== 'undefined') return window;
|
|
317948
|
+
if (typeof global !== 'undefined') return global;
|
|
317949
|
+
return {};
|
|
317950
|
+
}
|
|
317951
|
+
|
|
317952
|
+
const G = getGlobal();
|
|
317953
|
+
const FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined;
|
|
317954
|
+
|
|
317598
317955
|
const isFormData = (thing) => {
|
|
317599
317956
|
let kind;
|
|
317600
|
-
return (
|
|
317601
|
-
thing
|
|
317602
|
-
|
|
317603
|
-
|
|
317604
|
-
|
|
317605
|
-
|
|
317606
|
-
|
|
317607
|
-
|
|
317608
|
-
thing.toString() === "[object FormData]"))))
|
|
317957
|
+
return thing && (
|
|
317958
|
+
(FormDataCtor && thing instanceof FormDataCtor) || (
|
|
317959
|
+
isFunction(thing.append) && (
|
|
317960
|
+
(kind = kindOf(thing)) === 'formdata' ||
|
|
317961
|
+
// detect form-data instance
|
|
317962
|
+
(kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')
|
|
317963
|
+
)
|
|
317964
|
+
)
|
|
317609
317965
|
);
|
|
317610
317966
|
};
|
|
317611
317967
|
|
|
@@ -317616,13 +317972,13 @@ const isFormData = (thing) => {
|
|
|
317616
317972
|
*
|
|
317617
317973
|
* @returns {boolean} True if value is a URLSearchParams object, otherwise false
|
|
317618
317974
|
*/
|
|
317619
|
-
const isURLSearchParams = kindOfTest(
|
|
317975
|
+
const isURLSearchParams = kindOfTest('URLSearchParams');
|
|
317620
317976
|
|
|
317621
317977
|
const [isReadableStream, isRequest, isResponse, isHeaders] = [
|
|
317622
|
-
|
|
317623
|
-
|
|
317624
|
-
|
|
317625
|
-
|
|
317978
|
+
'ReadableStream',
|
|
317979
|
+
'Request',
|
|
317980
|
+
'Response',
|
|
317981
|
+
'Headers',
|
|
317626
317982
|
].map(kindOfTest);
|
|
317627
317983
|
|
|
317628
317984
|
/**
|
|
@@ -317632,9 +317988,9 @@ const [isReadableStream, isRequest, isResponse, isHeaders] = [
|
|
|
317632
317988
|
*
|
|
317633
317989
|
* @returns {String} The String freed of excess whitespace
|
|
317634
317990
|
*/
|
|
317635
|
-
const trim = (str) =>
|
|
317636
|
-
str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
|
|
317637
|
-
|
|
317991
|
+
const trim = (str) => {
|
|
317992
|
+
return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
|
|
317993
|
+
};
|
|
317638
317994
|
/**
|
|
317639
317995
|
* Iterate over an Array or an Object invoking a function for each item.
|
|
317640
317996
|
*
|
|
@@ -317653,7 +318009,7 @@ const trim = (str) =>
|
|
|
317653
318009
|
*/
|
|
317654
318010
|
function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
317655
318011
|
// Don't bother if no value provided
|
|
317656
|
-
if (obj === null || typeof obj ===
|
|
318012
|
+
if (obj === null || typeof obj === 'undefined') {
|
|
317657
318013
|
return;
|
|
317658
318014
|
}
|
|
317659
318015
|
|
|
@@ -317661,7 +318017,7 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
|
317661
318017
|
let l;
|
|
317662
318018
|
|
|
317663
318019
|
// Force an array if not already something iterable
|
|
317664
|
-
if (typeof obj !==
|
|
318020
|
+
if (typeof obj !== 'object') {
|
|
317665
318021
|
/*eslint no-param-reassign:0*/
|
|
317666
318022
|
obj = [obj];
|
|
317667
318023
|
}
|
|
@@ -317678,9 +318034,7 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
|
317678
318034
|
}
|
|
317679
318035
|
|
|
317680
318036
|
// Iterate over object keys
|
|
317681
|
-
const keys = allOwnKeys
|
|
317682
|
-
? Object.getOwnPropertyNames(obj)
|
|
317683
|
-
: Object.keys(obj);
|
|
318037
|
+
const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
|
|
317684
318038
|
const len = keys.length;
|
|
317685
318039
|
let key;
|
|
317686
318040
|
|
|
@@ -317691,6 +318045,14 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
|
317691
318045
|
}
|
|
317692
318046
|
}
|
|
317693
318047
|
|
|
318048
|
+
/**
|
|
318049
|
+
* Finds a key in an object, case-insensitive, returning the actual key name.
|
|
318050
|
+
* Returns null if the object is a Buffer or if no match is found.
|
|
318051
|
+
*
|
|
318052
|
+
* @param {Object} obj - The object to search.
|
|
318053
|
+
* @param {string} key - The key to find (case-insensitive).
|
|
318054
|
+
* @returns {?string} The actual key name if found, otherwise null.
|
|
318055
|
+
*/
|
|
317694
318056
|
function findKey(obj, key) {
|
|
317695
318057
|
if (isBuffer(obj)) {
|
|
317696
318058
|
return null;
|
|
@@ -317711,16 +318073,11 @@ function findKey(obj, key) {
|
|
|
317711
318073
|
|
|
317712
318074
|
const _global = (() => {
|
|
317713
318075
|
/*eslint no-undef:0*/
|
|
317714
|
-
if (typeof globalThis !==
|
|
317715
|
-
return typeof self !==
|
|
317716
|
-
? self
|
|
317717
|
-
: typeof window !== "undefined"
|
|
317718
|
-
? window
|
|
317719
|
-
: global;
|
|
318076
|
+
if (typeof globalThis !== 'undefined') return globalThis;
|
|
318077
|
+
return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global;
|
|
317720
318078
|
})();
|
|
317721
318079
|
|
|
317722
|
-
const isContextDefined = (context) =>
|
|
317723
|
-
!isUndefined(context) && context !== _global;
|
|
318080
|
+
const isContextDefined = (context) => !isUndefined(context) && context !== _global;
|
|
317724
318081
|
|
|
317725
318082
|
/**
|
|
317726
318083
|
* Accepts varargs expecting each argument to be an object, then
|
|
@@ -317745,7 +318102,7 @@ function merge(/* obj1, obj2, obj3, ... */) {
|
|
|
317745
318102
|
const result = {};
|
|
317746
318103
|
const assignValue = (val, key) => {
|
|
317747
318104
|
// Skip dangerous property names to prevent prototype pollution
|
|
317748
|
-
if (key ===
|
|
318105
|
+
if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
|
|
317749
318106
|
return;
|
|
317750
318107
|
}
|
|
317751
318108
|
|
|
@@ -317798,7 +318155,7 @@ const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
|
|
|
317798
318155
|
});
|
|
317799
318156
|
}
|
|
317800
318157
|
},
|
|
317801
|
-
{ allOwnKeys }
|
|
318158
|
+
{ allOwnKeys }
|
|
317802
318159
|
);
|
|
317803
318160
|
return a;
|
|
317804
318161
|
};
|
|
@@ -317827,17 +318184,14 @@ const stripBOM = (content) => {
|
|
|
317827
318184
|
* @returns {void}
|
|
317828
318185
|
*/
|
|
317829
318186
|
const inherits = (constructor, superConstructor, props, descriptors) => {
|
|
317830
|
-
constructor.prototype = Object.create(
|
|
317831
|
-
|
|
317832
|
-
descriptors,
|
|
317833
|
-
);
|
|
317834
|
-
Object.defineProperty(constructor.prototype, "constructor", {
|
|
318187
|
+
constructor.prototype = Object.create(superConstructor.prototype, descriptors);
|
|
318188
|
+
Object.defineProperty(constructor.prototype, 'constructor', {
|
|
317835
318189
|
value: constructor,
|
|
317836
318190
|
writable: true,
|
|
317837
318191
|
enumerable: false,
|
|
317838
318192
|
configurable: true,
|
|
317839
318193
|
});
|
|
317840
|
-
Object.defineProperty(constructor,
|
|
318194
|
+
Object.defineProperty(constructor, 'super', {
|
|
317841
318195
|
value: superConstructor.prototype,
|
|
317842
318196
|
});
|
|
317843
318197
|
props && Object.assign(constructor.prototype, props);
|
|
@@ -317867,20 +318221,13 @@ const toFlatObject = (sourceObj, destObj, filter, propFilter) => {
|
|
|
317867
318221
|
i = props.length;
|
|
317868
318222
|
while (i-- > 0) {
|
|
317869
318223
|
prop = props[i];
|
|
317870
|
-
if (
|
|
317871
|
-
(!propFilter || propFilter(prop, sourceObj, destObj)) &&
|
|
317872
|
-
!merged[prop]
|
|
317873
|
-
) {
|
|
318224
|
+
if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {
|
|
317874
318225
|
destObj[prop] = sourceObj[prop];
|
|
317875
318226
|
merged[prop] = true;
|
|
317876
318227
|
}
|
|
317877
318228
|
}
|
|
317878
318229
|
sourceObj = filter !== false && getPrototypeOf(sourceObj);
|
|
317879
|
-
} while (
|
|
317880
|
-
sourceObj &&
|
|
317881
|
-
(!filter || filter(sourceObj, destObj)) &&
|
|
317882
|
-
sourceObj !== Object.prototype
|
|
317883
|
-
);
|
|
318230
|
+
} while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);
|
|
317884
318231
|
|
|
317885
318232
|
return destObj;
|
|
317886
318233
|
};
|
|
@@ -317937,7 +318284,7 @@ const isTypedArray = ((TypedArray) => {
|
|
|
317937
318284
|
return (thing) => {
|
|
317938
318285
|
return TypedArray && thing instanceof TypedArray;
|
|
317939
318286
|
};
|
|
317940
|
-
})(typeof Uint8Array !==
|
|
318287
|
+
})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));
|
|
317941
318288
|
|
|
317942
318289
|
/**
|
|
317943
318290
|
* For each entry in the object, call the function with the key and value.
|
|
@@ -317980,14 +318327,12 @@ const matchAll = (regExp, str) => {
|
|
|
317980
318327
|
};
|
|
317981
318328
|
|
|
317982
318329
|
/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */
|
|
317983
|
-
const isHTMLForm = kindOfTest(
|
|
318330
|
+
const isHTMLForm = kindOfTest('HTMLFormElement');
|
|
317984
318331
|
|
|
317985
318332
|
const toCamelCase = (str) => {
|
|
317986
|
-
return str
|
|
317987
|
-
.
|
|
317988
|
-
|
|
317989
|
-
return p1.toUpperCase() + p2;
|
|
317990
|
-
});
|
|
318333
|
+
return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) {
|
|
318334
|
+
return p1.toUpperCase() + p2;
|
|
318335
|
+
});
|
|
317991
318336
|
};
|
|
317992
318337
|
|
|
317993
318338
|
/* Creating a function that will check if an object has a property. */
|
|
@@ -318004,7 +318349,7 @@ const hasOwnProperty = (
|
|
|
318004
318349
|
*
|
|
318005
318350
|
* @returns {boolean} True if value is a RegExp object, otherwise false
|
|
318006
318351
|
*/
|
|
318007
|
-
const isRegExp = kindOfTest(
|
|
318352
|
+
const isRegExp = kindOfTest('RegExp');
|
|
318008
318353
|
|
|
318009
318354
|
const reduceDescriptors = (obj, reducer) => {
|
|
318010
318355
|
const descriptors = Object.getOwnPropertyDescriptors(obj);
|
|
@@ -318028,10 +318373,7 @@ const reduceDescriptors = (obj, reducer) => {
|
|
|
318028
318373
|
const freezeMethods = (obj) => {
|
|
318029
318374
|
reduceDescriptors(obj, (descriptor, name) => {
|
|
318030
318375
|
// skip restricted props in strict mode
|
|
318031
|
-
if (
|
|
318032
|
-
isFunction(obj) &&
|
|
318033
|
-
["arguments", "caller", "callee"].indexOf(name) !== -1
|
|
318034
|
-
) {
|
|
318376
|
+
if (isFunction(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {
|
|
318035
318377
|
return false;
|
|
318036
318378
|
}
|
|
318037
318379
|
|
|
@@ -318041,7 +318383,7 @@ const freezeMethods = (obj) => {
|
|
|
318041
318383
|
|
|
318042
318384
|
descriptor.enumerable = false;
|
|
318043
318385
|
|
|
318044
|
-
if (
|
|
318386
|
+
if ('writable' in descriptor) {
|
|
318045
318387
|
descriptor.writable = false;
|
|
318046
318388
|
return;
|
|
318047
318389
|
}
|
|
@@ -318054,6 +318396,14 @@ const freezeMethods = (obj) => {
|
|
|
318054
318396
|
});
|
|
318055
318397
|
};
|
|
318056
318398
|
|
|
318399
|
+
/**
|
|
318400
|
+
* Converts an array or a delimited string into an object set with values as keys and true as values.
|
|
318401
|
+
* Useful for fast membership checks.
|
|
318402
|
+
*
|
|
318403
|
+
* @param {Array|string} arrayOrString - The array or string to convert.
|
|
318404
|
+
* @param {string} delimiter - The delimiter to use if input is a string.
|
|
318405
|
+
* @returns {Object} An object with keys from the array or string, values set to true.
|
|
318406
|
+
*/
|
|
318057
318407
|
const toObjectSet = (arrayOrString, delimiter) => {
|
|
318058
318408
|
const obj = {};
|
|
318059
318409
|
|
|
@@ -318063,9 +318413,7 @@ const toObjectSet = (arrayOrString, delimiter) => {
|
|
|
318063
318413
|
});
|
|
318064
318414
|
};
|
|
318065
318415
|
|
|
318066
|
-
isArray(arrayOrString)
|
|
318067
|
-
? define(arrayOrString)
|
|
318068
|
-
: define(String(arrayOrString).split(delimiter));
|
|
318416
|
+
isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));
|
|
318069
318417
|
|
|
318070
318418
|
return obj;
|
|
318071
318419
|
};
|
|
@@ -318073,9 +318421,7 @@ const toObjectSet = (arrayOrString, delimiter) => {
|
|
|
318073
318421
|
const noop = () => {};
|
|
318074
318422
|
|
|
318075
318423
|
const toFiniteNumber = (value, defaultValue) => {
|
|
318076
|
-
return value != null && Number.isFinite((value = +value))
|
|
318077
|
-
? value
|
|
318078
|
-
: defaultValue;
|
|
318424
|
+
return value != null && Number.isFinite((value = +value)) ? value : defaultValue;
|
|
318079
318425
|
};
|
|
318080
318426
|
|
|
318081
318427
|
/**
|
|
@@ -318089,11 +318435,17 @@ function isSpecCompliantForm(thing) {
|
|
|
318089
318435
|
return !!(
|
|
318090
318436
|
thing &&
|
|
318091
318437
|
isFunction(thing.append) &&
|
|
318092
|
-
thing[toStringTag] ===
|
|
318438
|
+
thing[toStringTag] === 'FormData' &&
|
|
318093
318439
|
thing[iterator]
|
|
318094
318440
|
);
|
|
318095
318441
|
}
|
|
318096
318442
|
|
|
318443
|
+
/**
|
|
318444
|
+
* Recursively converts an object to a JSON-compatible object, handling circular references and Buffers.
|
|
318445
|
+
*
|
|
318446
|
+
* @param {Object} obj - The object to convert.
|
|
318447
|
+
* @returns {Object} The JSON-compatible object.
|
|
318448
|
+
*/
|
|
318097
318449
|
const toJSONObject = (obj) => {
|
|
318098
318450
|
const stack = new Array(10);
|
|
318099
318451
|
|
|
@@ -318108,7 +318460,7 @@ const toJSONObject = (obj) => {
|
|
|
318108
318460
|
return source;
|
|
318109
318461
|
}
|
|
318110
318462
|
|
|
318111
|
-
if (!(
|
|
318463
|
+
if (!('toJSON' in source)) {
|
|
318112
318464
|
stack[i] = source;
|
|
318113
318465
|
const target = isArray(source) ? [] : {};
|
|
318114
318466
|
|
|
@@ -318129,8 +318481,20 @@ const toJSONObject = (obj) => {
|
|
|
318129
318481
|
return visit(obj, 0);
|
|
318130
318482
|
};
|
|
318131
318483
|
|
|
318132
|
-
|
|
318484
|
+
/**
|
|
318485
|
+
* Determines if a value is an async function.
|
|
318486
|
+
*
|
|
318487
|
+
* @param {*} thing - The value to test.
|
|
318488
|
+
* @returns {boolean} True if value is an async function, otherwise false.
|
|
318489
|
+
*/
|
|
318490
|
+
const isAsyncFn = kindOfTest('AsyncFunction');
|
|
318133
318491
|
|
|
318492
|
+
/**
|
|
318493
|
+
* Determines if a value is thenable (has then and catch methods).
|
|
318494
|
+
*
|
|
318495
|
+
* @param {*} thing - The value to test.
|
|
318496
|
+
* @returns {boolean} True if value is thenable, otherwise false.
|
|
318497
|
+
*/
|
|
318134
318498
|
const isThenable = (thing) =>
|
|
318135
318499
|
thing &&
|
|
318136
318500
|
(isObject(thing) || isFunction(thing)) &&
|
|
@@ -318140,6 +318504,14 @@ const isThenable = (thing) =>
|
|
|
318140
318504
|
// original code
|
|
318141
318505
|
// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34
|
|
318142
318506
|
|
|
318507
|
+
/**
|
|
318508
|
+
* Provides a cross-platform setImmediate implementation.
|
|
318509
|
+
* Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout.
|
|
318510
|
+
*
|
|
318511
|
+
* @param {boolean} setImmediateSupported - Whether setImmediate is supported.
|
|
318512
|
+
* @param {boolean} postMessageSupported - Whether postMessage is supported.
|
|
318513
|
+
* @returns {Function} A function to schedule a callback asynchronously.
|
|
318514
|
+
*/
|
|
318143
318515
|
const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
318144
318516
|
if (setImmediateSupported) {
|
|
318145
318517
|
return setImmediate;
|
|
@@ -318148,27 +318520,33 @@ const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
|
318148
318520
|
return postMessageSupported
|
|
318149
318521
|
? ((token, callbacks) => {
|
|
318150
318522
|
_global.addEventListener(
|
|
318151
|
-
|
|
318523
|
+
'message',
|
|
318152
318524
|
({ source, data }) => {
|
|
318153
318525
|
if (source === _global && data === token) {
|
|
318154
318526
|
callbacks.length && callbacks.shift()();
|
|
318155
318527
|
}
|
|
318156
318528
|
},
|
|
318157
|
-
false
|
|
318529
|
+
false
|
|
318158
318530
|
);
|
|
318159
318531
|
|
|
318160
318532
|
return (cb) => {
|
|
318161
318533
|
callbacks.push(cb);
|
|
318162
|
-
_global.postMessage(token,
|
|
318534
|
+
_global.postMessage(token, '*');
|
|
318163
318535
|
};
|
|
318164
318536
|
})(`axios@${Math.random()}`, [])
|
|
318165
318537
|
: (cb) => setTimeout(cb);
|
|
318166
|
-
})(typeof setImmediate ===
|
|
318538
|
+
})(typeof setImmediate === 'function', isFunction(_global.postMessage));
|
|
318167
318539
|
|
|
318540
|
+
/**
|
|
318541
|
+
* Schedules a microtask or asynchronous callback as soon as possible.
|
|
318542
|
+
* Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate.
|
|
318543
|
+
*
|
|
318544
|
+
* @type {Function}
|
|
318545
|
+
*/
|
|
318168
318546
|
const asap =
|
|
318169
|
-
typeof queueMicrotask !==
|
|
318547
|
+
typeof queueMicrotask !== 'undefined'
|
|
318170
318548
|
? queueMicrotask.bind(_global)
|
|
318171
|
-
: (typeof process !==
|
|
318549
|
+
: (typeof process !== 'undefined' && process.nextTick) || _setImmediate;
|
|
318172
318550
|
|
|
318173
318551
|
// *********************
|
|
318174
318552
|
|
|
@@ -318193,6 +318571,8 @@ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
|
|
|
318193
318571
|
isUndefined,
|
|
318194
318572
|
isDate,
|
|
318195
318573
|
isFile,
|
|
318574
|
+
isReactNativeBlob,
|
|
318575
|
+
isReactNative,
|
|
318196
318576
|
isBlob,
|
|
318197
318577
|
isRegExp,
|
|
318198
318578
|
isFunction,
|
|
@@ -321511,7 +321891,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
321511
321891
|
/***/ ((module) => {
|
|
321512
321892
|
|
|
321513
321893
|
"use strict";
|
|
321514
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.8.0-dev.
|
|
321894
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.8.0-dev.3","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"}}');
|
|
321515
321895
|
|
|
321516
321896
|
/***/ })
|
|
321517
321897
|
|