@itwin/ecschema-rpcinterface-tests 5.8.0-dev.1 → 5.8.0-dev.2
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 +1420 -1046
- 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 +16 -16
|
@@ -785,7 +785,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
785
785
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
786
786
|
/* harmony export */ AxiosRestClient: () => (/* binding */ AxiosRestClient)
|
|
787
787
|
/* harmony export */ });
|
|
788
|
-
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
788
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/axios.js");
|
|
789
789
|
/* harmony import */ var _internal___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../internal/ */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@6.0.2/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/index.js");
|
|
790
790
|
/* harmony import */ var _types_RestClient__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../types/RestClient */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@6.0.2/node_modules/@itwin/imodels-client-management/lib/esm/base/types/RestClient.js");
|
|
791
791
|
/* harmony import */ var _AxiosResponseHeadersAdapter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AxiosResponseHeadersAdapter */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@6.0.2/node_modules/@itwin/imodels-client-management/lib/esm/base/axios/AxiosResponseHeadersAdapter.js");
|
|
@@ -887,7 +887,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
887
887
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
888
888
|
/* harmony export */ AxiosRetryPolicy: () => (/* binding */ AxiosRetryPolicy)
|
|
889
889
|
/* harmony export */ });
|
|
890
|
-
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
890
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/index.js");
|
|
891
891
|
/* harmony import */ var _Constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../Constants */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@6.0.2/node_modules/@itwin/imodels-client-management/lib/esm/Constants.js");
|
|
892
892
|
/*---------------------------------------------------------------------------------------------
|
|
893
893
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -4435,7 +4435,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4435
4435
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4436
4436
|
/* harmony export */ BaseClient: () => (/* binding */ BaseClient)
|
|
4437
4437
|
/* harmony export */ });
|
|
4438
|
-
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
4438
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/axios.js");
|
|
4439
4439
|
|
|
4440
4440
|
class BaseClient {
|
|
4441
4441
|
constructor(url) {
|
|
@@ -29820,6 +29820,8 @@ class OverridesMap extends Map {
|
|
|
29820
29820
|
_overrideFromProps;
|
|
29821
29821
|
// This is required for mock framework used by ui libraries, which otherwise try to clone this as a standard Map.
|
|
29822
29822
|
get [Symbol.toStringTag]() { return "OverridesMap"; }
|
|
29823
|
+
/** Maps Id64String to its index in the JSON props array, avoiding O(n) scans in set/delete. */
|
|
29824
|
+
#indexById = new Map();
|
|
29823
29825
|
constructor(_json, _arrayKey, _event, _idFromProps, _overrideToProps, _overrideFromProps) {
|
|
29824
29826
|
super();
|
|
29825
29827
|
this._json = _json;
|
|
@@ -29843,10 +29845,21 @@ class OverridesMap extends Map {
|
|
|
29843
29845
|
this._event.raiseEvent(id, undefined);
|
|
29844
29846
|
if (!super.delete(id))
|
|
29845
29847
|
return false;
|
|
29846
|
-
const
|
|
29847
|
-
|
|
29848
|
-
|
|
29849
|
-
|
|
29848
|
+
const array = this._array;
|
|
29849
|
+
const index = this.#indexById.get(id);
|
|
29850
|
+
if (array && undefined !== index) {
|
|
29851
|
+
const lastIndex = array.length - 1;
|
|
29852
|
+
if (index < lastIndex) {
|
|
29853
|
+
// Swap the last element into the removed slot to avoid O(n) splice + index fixup.
|
|
29854
|
+
const lastProps = array[lastIndex];
|
|
29855
|
+
array[index] = lastProps;
|
|
29856
|
+
const lastId = this._idFromProps(lastProps);
|
|
29857
|
+
if (undefined !== lastId) {
|
|
29858
|
+
this.#indexById.set(lastId, index);
|
|
29859
|
+
}
|
|
29860
|
+
}
|
|
29861
|
+
array.length = lastIndex;
|
|
29862
|
+
this.#indexById.delete(id);
|
|
29850
29863
|
}
|
|
29851
29864
|
return true;
|
|
29852
29865
|
}
|
|
@@ -29857,13 +29870,15 @@ class OverridesMap extends Map {
|
|
|
29857
29870
|
}
|
|
29858
29871
|
populate() {
|
|
29859
29872
|
super.clear();
|
|
29873
|
+
this.#indexById.clear();
|
|
29860
29874
|
const ovrs = this._array;
|
|
29861
29875
|
if (!ovrs)
|
|
29862
29876
|
return;
|
|
29863
|
-
for (
|
|
29864
|
-
const id = this._idFromProps(
|
|
29877
|
+
for (let i = 0; i < ovrs.length; i++) {
|
|
29878
|
+
const id = this._idFromProps(ovrs[i]);
|
|
29865
29879
|
if (undefined !== id && _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.isValidId64(id)) {
|
|
29866
|
-
|
|
29880
|
+
this.#indexById.set(id, i);
|
|
29881
|
+
const ovr = this._overrideFromProps(ovrs[i]);
|
|
29867
29882
|
if (ovr)
|
|
29868
29883
|
super.set(id, ovr);
|
|
29869
29884
|
}
|
|
@@ -29873,22 +29888,16 @@ class OverridesMap extends Map {
|
|
|
29873
29888
|
return _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.JsonUtils.asArray(this._json[this._arrayKey]);
|
|
29874
29889
|
}
|
|
29875
29890
|
findOrAllocateIndex(id) {
|
|
29876
|
-
const
|
|
29877
|
-
if (undefined !==
|
|
29878
|
-
return
|
|
29891
|
+
const existing = this.#indexById.get(id);
|
|
29892
|
+
if (undefined !== existing) {
|
|
29893
|
+
return existing;
|
|
29894
|
+
}
|
|
29879
29895
|
let ovrs = this._array;
|
|
29880
29896
|
if (!ovrs)
|
|
29881
29897
|
ovrs = this._json[this._arrayKey] = [];
|
|
29882
|
-
|
|
29883
|
-
|
|
29884
|
-
|
|
29885
|
-
const ovrs = this._array;
|
|
29886
|
-
if (!ovrs)
|
|
29887
|
-
return undefined;
|
|
29888
|
-
for (let i = 0; i < ovrs.length; i++)
|
|
29889
|
-
if (this._idFromProps(ovrs[i]) === id)
|
|
29890
|
-
return i;
|
|
29891
|
-
return undefined;
|
|
29898
|
+
const newIndex = ovrs.length;
|
|
29899
|
+
this.#indexById.set(id, newIndex);
|
|
29900
|
+
return newIndex;
|
|
29892
29901
|
}
|
|
29893
29902
|
}
|
|
29894
29903
|
/** Provides access to the settings defined by a [[DisplayStyle]] or [[DisplayStyleState]], and ensures that
|
|
@@ -152119,17 +152128,38 @@ class RealityTileLoader {
|
|
|
152119
152128
|
}
|
|
152120
152129
|
async loadGeometryFromStream(tile, streamBuffer, system) {
|
|
152121
152130
|
const format = this._getFormat(streamBuffer);
|
|
152122
|
-
if (format !== _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.B3dm)
|
|
152131
|
+
if (format !== _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.B3dm && format !== _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.Gltf) {
|
|
152123
152132
|
return {};
|
|
152133
|
+
}
|
|
152124
152134
|
const { is3d, yAxisUp, iModel, modelId } = tile.realityRoot;
|
|
152125
|
-
|
|
152126
|
-
|
|
152127
|
-
reader.defaultWrapMode = _common_gltf_GltfSchema__WEBPACK_IMPORTED_MODULE_6__.GltfWrapMode.ClampToEdge;
|
|
152135
|
+
let reader;
|
|
152136
|
+
// Create final transform from tree's iModelTransform and transformToRoot
|
|
152128
152137
|
let transform = tile.tree.iModelTransform;
|
|
152129
152138
|
if (tile.transformToRoot) {
|
|
152130
152139
|
transform = transform.multiplyTransformTransform(tile.transformToRoot);
|
|
152131
152140
|
}
|
|
152132
|
-
|
|
152141
|
+
switch (format) {
|
|
152142
|
+
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.Gltf:
|
|
152143
|
+
const props = createReaderPropsWithBaseUrl(streamBuffer, yAxisUp, tile.tree.baseUrl);
|
|
152144
|
+
if (props) {
|
|
152145
|
+
reader = new _tile_internal__WEBPACK_IMPORTED_MODULE_7__.GltfGraphicsReader(props, {
|
|
152146
|
+
iModel,
|
|
152147
|
+
gltf: props.glTF,
|
|
152148
|
+
contentRange: tile.contentRange,
|
|
152149
|
+
transform: tile.transformToRoot,
|
|
152150
|
+
hasChildren: !tile.isLeaf,
|
|
152151
|
+
pickableOptions: { id: modelId },
|
|
152152
|
+
idMap: this.getBatchIdMap()
|
|
152153
|
+
});
|
|
152154
|
+
}
|
|
152155
|
+
break;
|
|
152156
|
+
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.B3dm:
|
|
152157
|
+
reader = _tile_internal__WEBPACK_IMPORTED_MODULE_7__.B3dmReader.create(streamBuffer, iModel, modelId, is3d, tile.contentRange, system, yAxisUp, tile.isLeaf, tile.center, tile.transformToRoot, undefined, this.getBatchIdMap());
|
|
152158
|
+
if (reader)
|
|
152159
|
+
reader.defaultWrapMode = _common_gltf_GltfSchema__WEBPACK_IMPORTED_MODULE_6__.GltfWrapMode.ClampToEdge;
|
|
152160
|
+
break;
|
|
152161
|
+
}
|
|
152162
|
+
const geom = await reader?.readGltfAndCreateGeometry(transform);
|
|
152133
152163
|
// See RealityTileTree.reprojectAndResolveChildren for how reprojectionTransform is calculated
|
|
152134
152164
|
const xForm = tile.reprojectionTransform;
|
|
152135
152165
|
if (tile.tree.reprojectGeometry && geom?.polyfaces && xForm) {
|
|
@@ -161078,7 +161108,7 @@ class GltfReaderProps {
|
|
|
161078
161108
|
}
|
|
161079
161109
|
/** The GltfMeshData contains the raw GLTF mesh data. If the data is suitable to create a [[RealityMesh]] directly, basically in the quantized format produced by
|
|
161080
161110
|
* ContextCapture, then a RealityMesh is created directly from this data. Otherwise, the mesh primitive is populated from the raw data and a MeshPrimitive
|
|
161081
|
-
* is generated. The
|
|
161111
|
+
* is generated. The MeshPrimitive path is much less efficient but should be rarely used.
|
|
161082
161112
|
*
|
|
161083
161113
|
* @internal
|
|
161084
161114
|
*/
|
|
@@ -161365,7 +161395,8 @@ class GltfReader {
|
|
|
161365
161395
|
}),
|
|
161366
161396
|
};
|
|
161367
161397
|
}
|
|
161368
|
-
readGltfAndCreateGeometry(transformToRoot, needNormals = false, needParams = false) {
|
|
161398
|
+
async readGltfAndCreateGeometry(transformToRoot, needNormals = false, needParams = false) {
|
|
161399
|
+
await this.resolveResources();
|
|
161369
161400
|
const transformStack = new TransformStack(this.getTileTransform(transformToRoot));
|
|
161370
161401
|
const polyfaces = [];
|
|
161371
161402
|
for (const nodeKey of this._sceneNodes) {
|
|
@@ -161600,9 +161631,18 @@ class GltfReader {
|
|
|
161600
161631
|
}
|
|
161601
161632
|
}
|
|
161602
161633
|
polyfaceFromGltfMesh(mesh, transform, needNormals, needParams) {
|
|
161603
|
-
if (
|
|
161634
|
+
if (mesh.pointQParams && mesh.points && mesh.indices)
|
|
161635
|
+
return this.polyfaceFromQuantizedData(mesh.pointQParams, mesh.points, mesh.indices, mesh.normals, mesh.uvQParams, mesh.uvs, transform, needNormals, needParams);
|
|
161636
|
+
const meshPrim = mesh.primitive;
|
|
161637
|
+
const triangles = meshPrim.triangles;
|
|
161638
|
+
const points = meshPrim.points;
|
|
161639
|
+
if (!triangles || triangles.isEmpty || points.length === 0)
|
|
161604
161640
|
return undefined;
|
|
161605
|
-
|
|
161641
|
+
// This will likely only be the case for Draco-compressed meshes-- see where readDracoMeshPrimitive is called within readMeshPrimitive
|
|
161642
|
+
// That is the only case where mesh.primitive is populated but mesh.pointQParams, mesh.points, & mesh.indices are not
|
|
161643
|
+
return this.polyfaceFromMeshPrimitive(triangles, points, meshPrim.normals, meshPrim.uvParams, transform, needNormals, needParams);
|
|
161644
|
+
}
|
|
161645
|
+
polyfaceFromQuantizedData(pointQParams, points, indices, normals, uvQParams, uvs, transform, needNormals, needParams) {
|
|
161606
161646
|
const includeNormals = needNormals && undefined !== normals;
|
|
161607
161647
|
const includeParams = needParams && undefined !== uvQParams && undefined !== uvs;
|
|
161608
161648
|
const polyface = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.IndexedPolyface.create(includeNormals, includeParams);
|
|
@@ -161630,6 +161670,46 @@ class GltfReader {
|
|
|
161630
161670
|
}
|
|
161631
161671
|
return polyface;
|
|
161632
161672
|
}
|
|
161673
|
+
polyfaceFromMeshPrimitive(triangles, points, normals, uvParams, transform, needNormals, needParams) {
|
|
161674
|
+
const includeNormals = needNormals && normals.length > 0;
|
|
161675
|
+
const includeParams = needParams && uvParams.length > 0;
|
|
161676
|
+
const polyface = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.IndexedPolyface.create(includeNormals, includeParams);
|
|
161677
|
+
if (points instanceof _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.QPoint3dList) {
|
|
161678
|
+
for (let i = 0; i < points.length; i++) {
|
|
161679
|
+
const point = points.unquantize(i);
|
|
161680
|
+
if (transform)
|
|
161681
|
+
transform.multiplyPoint3d(point, point);
|
|
161682
|
+
polyface.addPoint(point);
|
|
161683
|
+
}
|
|
161684
|
+
}
|
|
161685
|
+
else {
|
|
161686
|
+
const center = points.range.center;
|
|
161687
|
+
for (const pt of points) {
|
|
161688
|
+
const point = pt.plus(center);
|
|
161689
|
+
if (transform)
|
|
161690
|
+
transform.multiplyPoint3d(point, point);
|
|
161691
|
+
polyface.addPoint(point);
|
|
161692
|
+
}
|
|
161693
|
+
}
|
|
161694
|
+
if (includeNormals)
|
|
161695
|
+
for (const normal of normals)
|
|
161696
|
+
polyface.addNormal(_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.OctEncodedNormal.decodeValue(normal.value));
|
|
161697
|
+
if (includeParams)
|
|
161698
|
+
for (const uv of uvParams)
|
|
161699
|
+
polyface.addParam(uv);
|
|
161700
|
+
const indices = triangles.indices;
|
|
161701
|
+
let j = 0;
|
|
161702
|
+
for (const index of indices) {
|
|
161703
|
+
polyface.addPointIndex(index);
|
|
161704
|
+
if (includeNormals)
|
|
161705
|
+
polyface.addNormalIndex(index);
|
|
161706
|
+
if (includeParams)
|
|
161707
|
+
polyface.addParamIndex(index);
|
|
161708
|
+
if (0 === (++j % 3))
|
|
161709
|
+
polyface.terminateFacet();
|
|
161710
|
+
}
|
|
161711
|
+
return polyface;
|
|
161712
|
+
}
|
|
161633
161713
|
// ###TODO what is the actual type of `json`?
|
|
161634
161714
|
getBufferView(json, accessorName) {
|
|
161635
161715
|
try {
|
|
@@ -178746,6 +178826,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
178746
178826
|
/* harmony import */ var _Tool__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./Tool */ "../../core/frontend/lib/esm/tools/Tool.js");
|
|
178747
178827
|
/* harmony import */ var _ToolAssistance__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./ToolAssistance */ "../../core/frontend/lib/esm/tools/ToolAssistance.js");
|
|
178748
178828
|
/* harmony import */ var _common_render_GraphicType__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../common/render/GraphicType */ "../../core/frontend/lib/esm/common/render/GraphicType.js");
|
|
178829
|
+
/* harmony import */ var _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../quantity-formatting/QuantityFormatter */ "../../core/frontend/lib/esm/quantity-formatting/QuantityFormatter.js");
|
|
178749
178830
|
/*---------------------------------------------------------------------------------------------
|
|
178750
178831
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
178751
178832
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -178766,19 +178847,36 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
178766
178847
|
|
|
178767
178848
|
|
|
178768
178849
|
|
|
178850
|
+
|
|
178769
178851
|
function translateBold(key) {
|
|
178770
178852
|
return `<b>${_Tool__WEBPACK_IMPORTED_MODULE_10__.CoreTools.translate(`Measure.Labels.${key}`)}:</b> `;
|
|
178771
178853
|
}
|
|
178772
178854
|
async function getFormatterSpecByKoQAndPersistenceUnit(koq, persistenceUnitName) {
|
|
178773
178855
|
const formatProps = await _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.formatsProvider.getFormat(koq);
|
|
178774
178856
|
if (undefined === formatProps)
|
|
178775
|
-
return
|
|
178857
|
+
return getFormatterSpecByQuantityType(koq);
|
|
178776
178858
|
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.quantityFormatter.createFormatterSpec({
|
|
178777
178859
|
persistenceUnitName,
|
|
178778
178860
|
formatProps,
|
|
178779
178861
|
formatName: koq
|
|
178780
178862
|
});
|
|
178781
178863
|
}
|
|
178864
|
+
function getFormatterSpecByQuantityType(koq) {
|
|
178865
|
+
switch (koq) {
|
|
178866
|
+
case "DefaultToolsUnits.LENGTH":
|
|
178867
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.quantityFormatter.findFormatterSpecByQuantityType(_quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_13__.QuantityType.LengthEngineering);
|
|
178868
|
+
case "DefaultToolsUnits.ANGLE":
|
|
178869
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.quantityFormatter.findFormatterSpecByQuantityType(_quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_13__.QuantityType.Angle);
|
|
178870
|
+
case "DefaultToolsUnits.AREA":
|
|
178871
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.quantityFormatter.findFormatterSpecByQuantityType(_quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_13__.QuantityType.Area);
|
|
178872
|
+
case "DefaultToolsUnits.VOLUME":
|
|
178873
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.quantityFormatter.findFormatterSpecByQuantityType(_quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_13__.QuantityType.Volume);
|
|
178874
|
+
case "DefaultToolsUnits.LENGTH_COORDINATE":
|
|
178875
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.quantityFormatter.findFormatterSpecByQuantityType(_quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_13__.QuantityType.Coordinate);
|
|
178876
|
+
default:
|
|
178877
|
+
return undefined;
|
|
178878
|
+
}
|
|
178879
|
+
}
|
|
178782
178880
|
/** @internal */
|
|
178783
178881
|
class MeasureLabel {
|
|
178784
178882
|
worldLocation = new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Point3d();
|
|
@@ -180274,9 +180372,15 @@ class PrimitiveTool extends _Tool__WEBPACK_IMPORTED_MODULE_4__.InteractiveTool {
|
|
|
180274
180372
|
*/
|
|
180275
180373
|
async run(..._args) {
|
|
180276
180374
|
const { toolAdmin, viewManager } = _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp;
|
|
180277
|
-
if (!this.isCompatibleViewport(viewManager.selectedView, false)
|
|
180375
|
+
if (!this.isCompatibleViewport(viewManager.selectedView, false))
|
|
180376
|
+
return false;
|
|
180377
|
+
if (!await toolAdmin.onInstallTool(this))
|
|
180278
180378
|
return false;
|
|
180279
180379
|
await toolAdmin.startPrimitiveTool(this);
|
|
180380
|
+
// If another tool was installed at the same time (due to concurrent run calls),
|
|
180381
|
+
// the last start to complete wins. Detect that situation and return false.
|
|
180382
|
+
if (toolAdmin.primitiveTool !== this)
|
|
180383
|
+
return false;
|
|
180280
180384
|
await toolAdmin.onPostInstallTool(this);
|
|
180281
180385
|
return true;
|
|
180282
180386
|
}
|
|
@@ -183451,27 +183555,41 @@ class ToolAdmin {
|
|
|
183451
183555
|
}
|
|
183452
183556
|
this._primitiveTool = newTool;
|
|
183453
183557
|
}
|
|
183558
|
+
// serialize concurrent starts to avoid two tools installing simultaneously.
|
|
183559
|
+
_primitiveToolStarting;
|
|
183454
183560
|
/** @internal */
|
|
183455
183561
|
async startPrimitiveTool(newTool) {
|
|
183456
|
-
|
|
183457
|
-
|
|
183458
|
-
|
|
183459
|
-
|
|
183460
|
-
|
|
183461
|
-
|
|
183462
|
-
|
|
183463
|
-
|
|
183464
|
-
|
|
183465
|
-
|
|
183466
|
-
|
|
183467
|
-
|
|
183468
|
-
|
|
183469
|
-
|
|
183470
|
-
|
|
183471
|
-
|
|
183562
|
+
// If another start is in progress wait for it to finish before proceeding.
|
|
183563
|
+
while (undefined !== this._primitiveToolStarting)
|
|
183564
|
+
await this._primitiveToolStarting;
|
|
183565
|
+
let resolveStarting;
|
|
183566
|
+
this._primitiveToolStarting = new Promise((r) => { resolveStarting = r; });
|
|
183567
|
+
try {
|
|
183568
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.notifications.outputPrompt("");
|
|
183569
|
+
await this.exitViewTool();
|
|
183570
|
+
if (undefined !== this._primitiveTool)
|
|
183571
|
+
await this.setPrimitiveTool(undefined);
|
|
183572
|
+
// clear the primitive tool first so following call does not trigger the refreshing of the ToolSetting for the previous primitive tool
|
|
183573
|
+
await this.exitInputCollector();
|
|
183574
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.viewManager.endDynamicsMode();
|
|
183575
|
+
this.setIncompatibleViewportCursor(true); // Don't restore this
|
|
183576
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.viewManager.invalidateDecorationsAllViews();
|
|
183577
|
+
this.toolState.coordLockOvr = _Tool__WEBPACK_IMPORTED_MODULE_13__.CoordinateLockOverrides.None;
|
|
183578
|
+
this.toolState.locateCircleOn = false;
|
|
183579
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw.onPrimitiveToolInstall();
|
|
183580
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuSnap.onStartTool();
|
|
183581
|
+
if (undefined !== newTool) {
|
|
183582
|
+
this.setCursor(_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.viewManager.crossHairCursor);
|
|
183583
|
+
await this.setPrimitiveTool(newTool);
|
|
183584
|
+
}
|
|
183585
|
+
// it is important to raise event after setPrimitiveTool is called
|
|
183586
|
+
this.onActiveToolChanged(undefined !== newTool ? newTool : this.idleTool, StartOrResume.Start);
|
|
183587
|
+
}
|
|
183588
|
+
finally {
|
|
183589
|
+
if (resolveStarting)
|
|
183590
|
+
resolveStarting();
|
|
183591
|
+
this._primitiveToolStarting = undefined;
|
|
183472
183592
|
}
|
|
183473
|
-
// it is important to raise event after setPrimitiveTool is called
|
|
183474
|
-
this.onActiveToolChanged(undefined !== newTool ? newTool : this.idleTool, StartOrResume.Start);
|
|
183475
183593
|
}
|
|
183476
183594
|
/** Method used by interactive tools to send updated values to UI components, typically showing tool settings.
|
|
183477
183595
|
* @beta
|
|
@@ -313169,9 +313287,9 @@ function _unsupportedIterableToArray(r, a) {
|
|
|
313169
313287
|
|
|
313170
313288
|
/***/ }),
|
|
313171
313289
|
|
|
313172
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313290
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/index.js":
|
|
313173
313291
|
/*!*************************************************************************************!*\
|
|
313174
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313292
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/index.js ***!
|
|
313175
313293
|
\*************************************************************************************/
|
|
313176
313294
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
313177
313295
|
|
|
@@ -313196,7 +313314,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313196
313314
|
/* harmony export */ spread: () => (/* binding */ spread),
|
|
313197
313315
|
/* harmony export */ toFormData: () => (/* binding */ toFormData)
|
|
313198
313316
|
/* 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.
|
|
313317
|
+
/* 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
313318
|
|
|
313201
313319
|
|
|
313202
313320
|
// This module is intended to unwrap Axios default export as named.
|
|
@@ -313218,7 +313336,7 @@ const {
|
|
|
313218
313336
|
HttpStatusCode,
|
|
313219
313337
|
formToJSON,
|
|
313220
313338
|
getAdapter,
|
|
313221
|
-
mergeConfig
|
|
313339
|
+
mergeConfig,
|
|
313222
313340
|
} = _lib_axios_js__WEBPACK_IMPORTED_MODULE_0__["default"];
|
|
313223
313341
|
|
|
313224
313342
|
|
|
@@ -313226,9 +313344,9 @@ const {
|
|
|
313226
313344
|
|
|
313227
313345
|
/***/ }),
|
|
313228
313346
|
|
|
313229
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313347
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/adapters.js":
|
|
313230
313348
|
/*!*****************************************************************************************************!*\
|
|
313231
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313349
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/adapters.js ***!
|
|
313232
313350
|
\*****************************************************************************************************/
|
|
313233
313351
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
313234
313352
|
|
|
@@ -313237,11 +313355,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313237
313355
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
313238
313356
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
313239
313357
|
/* 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.
|
|
313358
|
+
/* 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");
|
|
313359
|
+
/* 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");
|
|
313360
|
+
/* 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");
|
|
313361
|
+
/* 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");
|
|
313362
|
+
/* 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
313363
|
|
|
313246
313364
|
|
|
313247
313365
|
|
|
@@ -313254,7 +313372,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313254
313372
|
* - `http` for Node.js
|
|
313255
313373
|
* - `xhr` for browsers
|
|
313256
313374
|
* - `fetch` for fetch API-based requests
|
|
313257
|
-
*
|
|
313375
|
+
*
|
|
313258
313376
|
* @type {Object<string, Function|Object>}
|
|
313259
313377
|
*/
|
|
313260
313378
|
const knownAdapters = {
|
|
@@ -313262,7 +313380,7 @@ const knownAdapters = {
|
|
|
313262
313380
|
xhr: _xhr_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
313263
313381
|
fetch: {
|
|
313264
313382
|
get: _fetch_js__WEBPACK_IMPORTED_MODULE_2__.getFetch,
|
|
313265
|
-
}
|
|
313383
|
+
},
|
|
313266
313384
|
};
|
|
313267
313385
|
|
|
313268
313386
|
// Assign adapter names for easier debugging and identification
|
|
@@ -313279,7 +313397,7 @@ _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(knownAdapters, (fn, va
|
|
|
313279
313397
|
|
|
313280
313398
|
/**
|
|
313281
313399
|
* Render a rejection reason string for unknown or unsupported adapters
|
|
313282
|
-
*
|
|
313400
|
+
*
|
|
313283
313401
|
* @param {string} reason
|
|
313284
313402
|
* @returns {string}
|
|
313285
313403
|
*/
|
|
@@ -313287,17 +313405,18 @@ const renderReason = (reason) => `- ${reason}`;
|
|
|
313287
313405
|
|
|
313288
313406
|
/**
|
|
313289
313407
|
* Check if the adapter is resolved (function, null, or false)
|
|
313290
|
-
*
|
|
313408
|
+
*
|
|
313291
313409
|
* @param {Function|null|false} adapter
|
|
313292
313410
|
* @returns {boolean}
|
|
313293
313411
|
*/
|
|
313294
|
-
const isResolvedHandle = (adapter) =>
|
|
313412
|
+
const isResolvedHandle = (adapter) =>
|
|
313413
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].isFunction(adapter) || adapter === null || adapter === false;
|
|
313295
313414
|
|
|
313296
313415
|
/**
|
|
313297
313416
|
* Get the first suitable adapter from the provided list.
|
|
313298
313417
|
* Tries each adapter in order until a supported one is found.
|
|
313299
313418
|
* Throws an AxiosError if no adapter is suitable.
|
|
313300
|
-
*
|
|
313419
|
+
*
|
|
313301
313420
|
* @param {Array<string|Function>|string|Function} adapters - Adapter(s) by name or function.
|
|
313302
313421
|
* @param {Object} config - Axios request configuration
|
|
313303
313422
|
* @throws {AxiosError} If no suitable adapter is available
|
|
@@ -313334,14 +313453,17 @@ function getAdapter(adapters, config) {
|
|
|
313334
313453
|
}
|
|
313335
313454
|
|
|
313336
313455
|
if (!adapter) {
|
|
313337
|
-
const reasons = Object.entries(rejectedReasons)
|
|
313338
|
-
|
|
313456
|
+
const reasons = Object.entries(rejectedReasons).map(
|
|
313457
|
+
([id, state]) =>
|
|
313458
|
+
`adapter ${id} ` +
|
|
313339
313459
|
(state === false ? 'is not supported by the environment' : 'is not available in the build')
|
|
313340
|
-
|
|
313460
|
+
);
|
|
313341
313461
|
|
|
313342
|
-
let s = length
|
|
313343
|
-
|
|
313344
|
-
|
|
313462
|
+
let s = length
|
|
313463
|
+
? reasons.length > 1
|
|
313464
|
+
? 'since :\n' + reasons.map(renderReason).join('\n')
|
|
313465
|
+
: ' ' + renderReason(reasons[0])
|
|
313466
|
+
: 'as no adapter specified';
|
|
313345
313467
|
|
|
313346
313468
|
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__["default"](
|
|
313347
313469
|
`There is no suitable adapter to dispatch the request ` + s,
|
|
@@ -313366,15 +313488,15 @@ function getAdapter(adapters, config) {
|
|
|
313366
313488
|
* Exposes all known adapters
|
|
313367
313489
|
* @type {Object<string, Function|Object>}
|
|
313368
313490
|
*/
|
|
313369
|
-
adapters: knownAdapters
|
|
313491
|
+
adapters: knownAdapters,
|
|
313370
313492
|
});
|
|
313371
313493
|
|
|
313372
313494
|
|
|
313373
313495
|
/***/ }),
|
|
313374
313496
|
|
|
313375
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313497
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/fetch.js":
|
|
313376
313498
|
/*!**************************************************************************************************!*\
|
|
313377
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313499
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/fetch.js ***!
|
|
313378
313500
|
\**************************************************************************************************/
|
|
313379
313501
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
313380
313502
|
|
|
@@ -313384,15 +313506,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313384
313506
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
313385
313507
|
/* harmony export */ getFetch: () => (/* binding */ getFetch)
|
|
313386
313508
|
/* 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.
|
|
313509
|
+
/* 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");
|
|
313510
|
+
/* 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");
|
|
313511
|
+
/* 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");
|
|
313512
|
+
/* 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");
|
|
313513
|
+
/* 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");
|
|
313514
|
+
/* 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");
|
|
313515
|
+
/* 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");
|
|
313516
|
+
/* 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");
|
|
313517
|
+
/* 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
313518
|
|
|
313397
313519
|
|
|
313398
313520
|
|
|
@@ -313405,31 +313527,33 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313405
313527
|
|
|
313406
313528
|
const DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
313407
313529
|
|
|
313408
|
-
const {isFunction} = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"];
|
|
313530
|
+
const { isFunction } = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"];
|
|
313409
313531
|
|
|
313410
|
-
const globalFetchAPI = (({Request, Response}) => ({
|
|
313411
|
-
Request,
|
|
313532
|
+
const globalFetchAPI = (({ Request, Response }) => ({
|
|
313533
|
+
Request,
|
|
313534
|
+
Response,
|
|
313412
313535
|
}))(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].global);
|
|
313413
313536
|
|
|
313414
|
-
const {
|
|
313415
|
-
ReadableStream, TextEncoder
|
|
313416
|
-
} = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].global;
|
|
313417
|
-
|
|
313537
|
+
const { ReadableStream, TextEncoder } = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].global;
|
|
313418
313538
|
|
|
313419
313539
|
const test = (fn, ...args) => {
|
|
313420
313540
|
try {
|
|
313421
313541
|
return !!fn(...args);
|
|
313422
313542
|
} catch (e) {
|
|
313423
|
-
return false
|
|
313543
|
+
return false;
|
|
313424
313544
|
}
|
|
313425
|
-
}
|
|
313545
|
+
};
|
|
313426
313546
|
|
|
313427
313547
|
const factory = (env) => {
|
|
313428
|
-
env = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].merge.call(
|
|
313429
|
-
|
|
313430
|
-
|
|
313548
|
+
env = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].merge.call(
|
|
313549
|
+
{
|
|
313550
|
+
skipUndefined: true,
|
|
313551
|
+
},
|
|
313552
|
+
globalFetchAPI,
|
|
313553
|
+
env
|
|
313554
|
+
);
|
|
313431
313555
|
|
|
313432
|
-
const {fetch: envFetch, Request, Response} = env;
|
|
313556
|
+
const { fetch: envFetch, Request, Response } = env;
|
|
313433
313557
|
const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function';
|
|
313434
313558
|
const isRequestSupported = isFunction(Request);
|
|
313435
313559
|
const isResponseSupported = isFunction(Response);
|
|
@@ -313440,46 +313564,61 @@ const factory = (env) => {
|
|
|
313440
313564
|
|
|
313441
313565
|
const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream);
|
|
313442
313566
|
|
|
313443
|
-
const encodeText =
|
|
313444
|
-
|
|
313445
|
-
|
|
313446
|
-
|
|
313447
|
-
|
|
313448
|
-
|
|
313449
|
-
|
|
313450
|
-
|
|
313451
|
-
|
|
313452
|
-
|
|
313453
|
-
|
|
313454
|
-
|
|
313455
|
-
|
|
313456
|
-
|
|
313457
|
-
|
|
313458
|
-
|
|
313567
|
+
const encodeText =
|
|
313568
|
+
isFetchSupported &&
|
|
313569
|
+
(typeof TextEncoder === 'function'
|
|
313570
|
+
? (
|
|
313571
|
+
(encoder) => (str) =>
|
|
313572
|
+
encoder.encode(str)
|
|
313573
|
+
)(new TextEncoder())
|
|
313574
|
+
: async (str) => new Uint8Array(await new Request(str).arrayBuffer()));
|
|
313575
|
+
|
|
313576
|
+
const supportsRequestStream =
|
|
313577
|
+
isRequestSupported &&
|
|
313578
|
+
isReadableStreamSupported &&
|
|
313579
|
+
test(() => {
|
|
313580
|
+
let duplexAccessed = false;
|
|
313581
|
+
|
|
313582
|
+
const hasContentType = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_1__["default"].origin, {
|
|
313583
|
+
body: new ReadableStream(),
|
|
313584
|
+
method: 'POST',
|
|
313585
|
+
get duplex() {
|
|
313586
|
+
duplexAccessed = true;
|
|
313587
|
+
return 'half';
|
|
313588
|
+
},
|
|
313589
|
+
}).headers.has('Content-Type');
|
|
313459
313590
|
|
|
313460
|
-
|
|
313461
|
-
|
|
313591
|
+
return duplexAccessed && !hasContentType;
|
|
313592
|
+
});
|
|
313462
313593
|
|
|
313463
|
-
const supportsResponseStream =
|
|
313594
|
+
const supportsResponseStream =
|
|
313595
|
+
isResponseSupported &&
|
|
313596
|
+
isReadableStreamSupported &&
|
|
313464
313597
|
test(() => _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReadableStream(new Response('').body));
|
|
313465
313598
|
|
|
313466
313599
|
const resolvers = {
|
|
313467
|
-
stream: supportsResponseStream && ((res) => res.body)
|
|
313600
|
+
stream: supportsResponseStream && ((res) => res.body),
|
|
313468
313601
|
};
|
|
313469
313602
|
|
|
313470
|
-
isFetchSupported &&
|
|
313471
|
-
|
|
313472
|
-
|
|
313473
|
-
|
|
313603
|
+
isFetchSupported &&
|
|
313604
|
+
(() => {
|
|
313605
|
+
['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach((type) => {
|
|
313606
|
+
!resolvers[type] &&
|
|
313607
|
+
(resolvers[type] = (res, config) => {
|
|
313608
|
+
let method = res && res[type];
|
|
313474
313609
|
|
|
313475
|
-
|
|
313476
|
-
|
|
313477
|
-
|
|
313610
|
+
if (method) {
|
|
313611
|
+
return method.call(res);
|
|
313612
|
+
}
|
|
313478
313613
|
|
|
313479
|
-
|
|
313480
|
-
|
|
313481
|
-
|
|
313482
|
-
|
|
313614
|
+
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
|
|
313615
|
+
`Response type '${type}' is not supported`,
|
|
313616
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_NOT_SUPPORT,
|
|
313617
|
+
config
|
|
313618
|
+
);
|
|
313619
|
+
});
|
|
313620
|
+
});
|
|
313621
|
+
})();
|
|
313483
313622
|
|
|
313484
313623
|
const getBodyLength = async (body) => {
|
|
313485
313624
|
if (body == null) {
|
|
@@ -313509,13 +313648,13 @@ const factory = (env) => {
|
|
|
313509
313648
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(body)) {
|
|
313510
313649
|
return (await encodeText(body)).byteLength;
|
|
313511
313650
|
}
|
|
313512
|
-
}
|
|
313651
|
+
};
|
|
313513
313652
|
|
|
313514
313653
|
const resolveBodyLength = async (headers, body) => {
|
|
313515
313654
|
const length = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toFiniteNumber(headers.getContentLength());
|
|
313516
313655
|
|
|
313517
313656
|
return length == null ? getBodyLength(body) : length;
|
|
313518
|
-
}
|
|
313657
|
+
};
|
|
313519
313658
|
|
|
313520
313659
|
return async (config) => {
|
|
313521
313660
|
let {
|
|
@@ -313530,38 +313669,47 @@ const factory = (env) => {
|
|
|
313530
313669
|
responseType,
|
|
313531
313670
|
headers,
|
|
313532
313671
|
withCredentials = 'same-origin',
|
|
313533
|
-
fetchOptions
|
|
313672
|
+
fetchOptions,
|
|
313534
313673
|
} = (0,_helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__["default"])(config);
|
|
313535
313674
|
|
|
313536
313675
|
let _fetch = envFetch || fetch;
|
|
313537
313676
|
|
|
313538
313677
|
responseType = responseType ? (responseType + '').toLowerCase() : 'text';
|
|
313539
313678
|
|
|
313540
|
-
let composedSignal = (0,_helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__["default"])(
|
|
313679
|
+
let composedSignal = (0,_helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__["default"])(
|
|
313680
|
+
[signal, cancelToken && cancelToken.toAbortSignal()],
|
|
313681
|
+
timeout
|
|
313682
|
+
);
|
|
313541
313683
|
|
|
313542
313684
|
let request = null;
|
|
313543
313685
|
|
|
313544
|
-
const unsubscribe =
|
|
313545
|
-
composedSignal
|
|
313546
|
-
|
|
313686
|
+
const unsubscribe =
|
|
313687
|
+
composedSignal &&
|
|
313688
|
+
composedSignal.unsubscribe &&
|
|
313689
|
+
(() => {
|
|
313690
|
+
composedSignal.unsubscribe();
|
|
313691
|
+
});
|
|
313547
313692
|
|
|
313548
313693
|
let requestContentLength;
|
|
313549
313694
|
|
|
313550
313695
|
try {
|
|
313551
313696
|
if (
|
|
313552
|
-
onUploadProgress &&
|
|
313697
|
+
onUploadProgress &&
|
|
313698
|
+
supportsRequestStream &&
|
|
313699
|
+
method !== 'get' &&
|
|
313700
|
+
method !== 'head' &&
|
|
313553
313701
|
(requestContentLength = await resolveBodyLength(headers, data)) !== 0
|
|
313554
313702
|
) {
|
|
313555
313703
|
let _request = new Request(url, {
|
|
313556
313704
|
method: 'POST',
|
|
313557
313705
|
body: data,
|
|
313558
|
-
duplex:
|
|
313706
|
+
duplex: 'half',
|
|
313559
313707
|
});
|
|
313560
313708
|
|
|
313561
313709
|
let contentTypeHeader;
|
|
313562
313710
|
|
|
313563
313711
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {
|
|
313564
|
-
headers.setContentType(contentTypeHeader)
|
|
313712
|
+
headers.setContentType(contentTypeHeader);
|
|
313565
313713
|
}
|
|
313566
313714
|
|
|
313567
313715
|
if (_request.body) {
|
|
@@ -313580,7 +313728,7 @@ const factory = (env) => {
|
|
|
313580
313728
|
|
|
313581
313729
|
// Cloudflare Workers throws when credentials are defined
|
|
313582
313730
|
// see https://github.com/cloudflare/workerd/issues/902
|
|
313583
|
-
const isCredentialsSupported = isRequestSupported &&
|
|
313731
|
+
const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype;
|
|
313584
313732
|
|
|
313585
313733
|
const resolvedOptions = {
|
|
313586
313734
|
...fetchOptions,
|
|
@@ -313588,29 +313736,35 @@ const factory = (env) => {
|
|
|
313588
313736
|
method: method.toUpperCase(),
|
|
313589
313737
|
headers: headers.normalize().toJSON(),
|
|
313590
313738
|
body: data,
|
|
313591
|
-
duplex:
|
|
313592
|
-
credentials: isCredentialsSupported ? withCredentials : undefined
|
|
313739
|
+
duplex: 'half',
|
|
313740
|
+
credentials: isCredentialsSupported ? withCredentials : undefined,
|
|
313593
313741
|
};
|
|
313594
313742
|
|
|
313595
313743
|
request = isRequestSupported && new Request(url, resolvedOptions);
|
|
313596
313744
|
|
|
313597
|
-
let response = await (isRequestSupported
|
|
313745
|
+
let response = await (isRequestSupported
|
|
313746
|
+
? _fetch(request, fetchOptions)
|
|
313747
|
+
: _fetch(url, resolvedOptions));
|
|
313598
313748
|
|
|
313599
|
-
const isStreamResponse =
|
|
313749
|
+
const isStreamResponse =
|
|
313750
|
+
supportsResponseStream && (responseType === 'stream' || responseType === 'response');
|
|
313600
313751
|
|
|
313601
313752
|
if (supportsResponseStream && (onDownloadProgress || (isStreamResponse && unsubscribe))) {
|
|
313602
313753
|
const options = {};
|
|
313603
313754
|
|
|
313604
|
-
['status', 'statusText', 'headers'].forEach(prop => {
|
|
313755
|
+
['status', 'statusText', 'headers'].forEach((prop) => {
|
|
313605
313756
|
options[prop] = response[prop];
|
|
313606
313757
|
});
|
|
313607
313758
|
|
|
313608
313759
|
const responseContentLength = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toFiniteNumber(response.headers.get('content-length'));
|
|
313609
313760
|
|
|
313610
|
-
const [onProgress, flush] =
|
|
313611
|
-
|
|
313612
|
-
|
|
313613
|
-
|
|
313761
|
+
const [onProgress, flush] =
|
|
313762
|
+
(onDownloadProgress &&
|
|
313763
|
+
(0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.progressEventDecorator)(
|
|
313764
|
+
responseContentLength,
|
|
313765
|
+
(0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.progressEventReducer)((0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.asyncDecorator)(onDownloadProgress), true)
|
|
313766
|
+
)) ||
|
|
313767
|
+
[];
|
|
313614
313768
|
|
|
313615
313769
|
response = new Response(
|
|
313616
313770
|
(0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__.trackStream)(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
@@ -313623,7 +313777,10 @@ const factory = (env) => {
|
|
|
313623
313777
|
|
|
313624
313778
|
responseType = responseType || 'text';
|
|
313625
313779
|
|
|
313626
|
-
let responseData = await resolvers[_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].findKey(resolvers, responseType) || 'text'](
|
|
313780
|
+
let responseData = await resolvers[_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].findKey(resolvers, responseType) || 'text'](
|
|
313781
|
+
response,
|
|
313782
|
+
config
|
|
313783
|
+
);
|
|
313627
313784
|
|
|
313628
313785
|
!isStreamResponse && unsubscribe && unsubscribe();
|
|
313629
313786
|
|
|
@@ -313634,43 +313791,50 @@ const factory = (env) => {
|
|
|
313634
313791
|
status: response.status,
|
|
313635
313792
|
statusText: response.statusText,
|
|
313636
313793
|
config,
|
|
313637
|
-
request
|
|
313638
|
-
})
|
|
313639
|
-
})
|
|
313794
|
+
request,
|
|
313795
|
+
});
|
|
313796
|
+
});
|
|
313640
313797
|
} catch (err) {
|
|
313641
313798
|
unsubscribe && unsubscribe();
|
|
313642
313799
|
|
|
313643
313800
|
if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {
|
|
313644
313801
|
throw Object.assign(
|
|
313645
|
-
new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
|
|
313802
|
+
new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
|
|
313803
|
+
'Network Error',
|
|
313804
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_NETWORK,
|
|
313805
|
+
config,
|
|
313806
|
+
request,
|
|
313807
|
+
err && err.response
|
|
313808
|
+
),
|
|
313646
313809
|
{
|
|
313647
|
-
cause: err.cause || err
|
|
313810
|
+
cause: err.cause || err,
|
|
313648
313811
|
}
|
|
313649
|
-
)
|
|
313812
|
+
);
|
|
313650
313813
|
}
|
|
313651
313814
|
|
|
313652
313815
|
throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].from(err, err && err.code, config, request, err && err.response);
|
|
313653
313816
|
}
|
|
313654
|
-
}
|
|
313655
|
-
}
|
|
313817
|
+
};
|
|
313818
|
+
};
|
|
313656
313819
|
|
|
313657
313820
|
const seedCache = new Map();
|
|
313658
313821
|
|
|
313659
313822
|
const getFetch = (config) => {
|
|
313660
313823
|
let env = (config && config.env) || {};
|
|
313661
|
-
const {fetch, Request, Response} = env;
|
|
313662
|
-
const seeds = [
|
|
313663
|
-
Request, Response, fetch
|
|
313664
|
-
];
|
|
313824
|
+
const { fetch, Request, Response } = env;
|
|
313825
|
+
const seeds = [Request, Response, fetch];
|
|
313665
313826
|
|
|
313666
|
-
let len = seeds.length,
|
|
313667
|
-
|
|
313827
|
+
let len = seeds.length,
|
|
313828
|
+
i = len,
|
|
313829
|
+
seed,
|
|
313830
|
+
target,
|
|
313831
|
+
map = seedCache;
|
|
313668
313832
|
|
|
313669
313833
|
while (i--) {
|
|
313670
313834
|
seed = seeds[i];
|
|
313671
313835
|
target = map.get(seed);
|
|
313672
313836
|
|
|
313673
|
-
target === undefined && map.set(seed, target =
|
|
313837
|
+
target === undefined && map.set(seed, (target = i ? new Map() : factory(env)));
|
|
313674
313838
|
|
|
313675
313839
|
map = target;
|
|
313676
313840
|
}
|
|
@@ -313685,9 +313849,9 @@ const adapter = getFetch();
|
|
|
313685
313849
|
|
|
313686
313850
|
/***/ }),
|
|
313687
313851
|
|
|
313688
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313852
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/xhr.js":
|
|
313689
313853
|
/*!************************************************************************************************!*\
|
|
313690
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313854
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/xhr.js ***!
|
|
313691
313855
|
\************************************************************************************************/
|
|
313692
313856
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
313693
313857
|
|
|
@@ -313696,16 +313860,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313696
313860
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
313697
313861
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
313698
313862
|
/* 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.
|
|
313863
|
+
/* 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");
|
|
313864
|
+
/* 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");
|
|
313865
|
+
/* 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");
|
|
313866
|
+
/* 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");
|
|
313867
|
+
/* 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");
|
|
313868
|
+
/* 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");
|
|
313869
|
+
/* 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");
|
|
313870
|
+
/* 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");
|
|
313871
|
+
/* 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");
|
|
313872
|
+
/* 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
313873
|
|
|
313710
313874
|
|
|
313711
313875
|
|
|
@@ -313719,200 +313883,222 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313719
313883
|
|
|
313720
313884
|
const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
313721
313885
|
|
|
313722
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isXHRAdapterSupported &&
|
|
313723
|
-
|
|
313724
|
-
|
|
313725
|
-
|
|
313726
|
-
|
|
313727
|
-
|
|
313728
|
-
|
|
313729
|
-
|
|
313730
|
-
|
|
313886
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isXHRAdapterSupported &&
|
|
313887
|
+
function (config) {
|
|
313888
|
+
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
313889
|
+
const _config = (0,_helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_0__["default"])(config);
|
|
313890
|
+
let requestData = _config.data;
|
|
313891
|
+
const requestHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(_config.headers).normalize();
|
|
313892
|
+
let { responseType, onUploadProgress, onDownloadProgress } = _config;
|
|
313893
|
+
let onCanceled;
|
|
313894
|
+
let uploadThrottled, downloadThrottled;
|
|
313895
|
+
let flushUpload, flushDownload;
|
|
313731
313896
|
|
|
313732
|
-
|
|
313733
|
-
|
|
313734
|
-
|
|
313897
|
+
function done() {
|
|
313898
|
+
flushUpload && flushUpload(); // flush events
|
|
313899
|
+
flushDownload && flushDownload(); // flush events
|
|
313735
313900
|
|
|
313736
|
-
|
|
313901
|
+
_config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);
|
|
313737
313902
|
|
|
313738
|
-
|
|
313739
|
-
|
|
313903
|
+
_config.signal && _config.signal.removeEventListener('abort', onCanceled);
|
|
313904
|
+
}
|
|
313740
313905
|
|
|
313741
|
-
|
|
313906
|
+
let request = new XMLHttpRequest();
|
|
313742
313907
|
|
|
313743
|
-
|
|
313908
|
+
request.open(_config.method.toUpperCase(), _config.url, true);
|
|
313744
313909
|
|
|
313745
|
-
|
|
313746
|
-
|
|
313910
|
+
// Set the request timeout in MS
|
|
313911
|
+
request.timeout = _config.timeout;
|
|
313747
313912
|
|
|
313748
|
-
|
|
313749
|
-
|
|
313750
|
-
|
|
313913
|
+
function onloadend() {
|
|
313914
|
+
if (!request) {
|
|
313915
|
+
return;
|
|
313916
|
+
}
|
|
313917
|
+
// Prepare the response
|
|
313918
|
+
const responseHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(
|
|
313919
|
+
'getAllResponseHeaders' in request && request.getAllResponseHeaders()
|
|
313920
|
+
);
|
|
313921
|
+
const responseData =
|
|
313922
|
+
!responseType || responseType === 'text' || responseType === 'json'
|
|
313923
|
+
? request.responseText
|
|
313924
|
+
: request.response;
|
|
313925
|
+
const response = {
|
|
313926
|
+
data: responseData,
|
|
313927
|
+
status: request.status,
|
|
313928
|
+
statusText: request.statusText,
|
|
313929
|
+
headers: responseHeaders,
|
|
313930
|
+
config,
|
|
313931
|
+
request,
|
|
313932
|
+
};
|
|
313933
|
+
|
|
313934
|
+
(0,_core_settle_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
313935
|
+
function _resolve(value) {
|
|
313936
|
+
resolve(value);
|
|
313937
|
+
done();
|
|
313938
|
+
},
|
|
313939
|
+
function _reject(err) {
|
|
313940
|
+
reject(err);
|
|
313941
|
+
done();
|
|
313942
|
+
},
|
|
313943
|
+
response
|
|
313944
|
+
);
|
|
313945
|
+
|
|
313946
|
+
// Clean up request
|
|
313947
|
+
request = null;
|
|
313751
313948
|
}
|
|
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
313949
|
|
|
313767
|
-
(
|
|
313768
|
-
|
|
313769
|
-
|
|
313770
|
-
}
|
|
313771
|
-
|
|
313772
|
-
|
|
313773
|
-
|
|
313950
|
+
if ('onloadend' in request) {
|
|
313951
|
+
// Use onloadend if available
|
|
313952
|
+
request.onloadend = onloadend;
|
|
313953
|
+
} else {
|
|
313954
|
+
// Listen for ready state to emulate onloadend
|
|
313955
|
+
request.onreadystatechange = function handleLoad() {
|
|
313956
|
+
if (!request || request.readyState !== 4) {
|
|
313957
|
+
return;
|
|
313958
|
+
}
|
|
313774
313959
|
|
|
313775
|
-
|
|
313776
|
-
|
|
313777
|
-
|
|
313960
|
+
// The request errored out and we didn't get a response, this will be
|
|
313961
|
+
// handled by onerror instead
|
|
313962
|
+
// With one exception: request that using file: protocol, most browsers
|
|
313963
|
+
// will return status as 0 even though it's a successful request
|
|
313964
|
+
if (
|
|
313965
|
+
request.status === 0 &&
|
|
313966
|
+
!(request.responseURL && request.responseURL.indexOf('file:') === 0)
|
|
313967
|
+
) {
|
|
313968
|
+
return;
|
|
313969
|
+
}
|
|
313970
|
+
// readystate handler is calling before onerror or ontimeout handlers,
|
|
313971
|
+
// so we should call onloadend on the next 'tick'
|
|
313972
|
+
setTimeout(onloadend);
|
|
313973
|
+
};
|
|
313974
|
+
}
|
|
313778
313975
|
|
|
313779
|
-
|
|
313780
|
-
|
|
313781
|
-
|
|
313782
|
-
} else {
|
|
313783
|
-
// Listen for ready state to emulate onloadend
|
|
313784
|
-
request.onreadystatechange = function handleLoad() {
|
|
313785
|
-
if (!request || request.readyState !== 4) {
|
|
313976
|
+
// Handle browser request cancellation (as opposed to a manual cancellation)
|
|
313977
|
+
request.onabort = function handleAbort() {
|
|
313978
|
+
if (!request) {
|
|
313786
313979
|
return;
|
|
313787
313980
|
}
|
|
313788
313981
|
|
|
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);
|
|
313982
|
+
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"]('Request aborted', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ECONNABORTED, config, request));
|
|
313983
|
+
|
|
313984
|
+
// Clean up request
|
|
313985
|
+
request = null;
|
|
313799
313986
|
};
|
|
313800
|
-
}
|
|
313801
313987
|
|
|
313802
|
-
|
|
313803
|
-
|
|
313804
|
-
|
|
313805
|
-
|
|
313806
|
-
|
|
313988
|
+
// Handle low level network errors
|
|
313989
|
+
request.onerror = function handleError(event) {
|
|
313990
|
+
// Browsers deliver a ProgressEvent in XHR onerror
|
|
313991
|
+
// (message may be empty; when present, surface it)
|
|
313992
|
+
// See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event
|
|
313993
|
+
const msg = event && event.message ? event.message : 'Network Error';
|
|
313994
|
+
const err = new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](msg, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ERR_NETWORK, config, request);
|
|
313995
|
+
// attach the underlying event for consumers who want details
|
|
313996
|
+
err.event = event || null;
|
|
313997
|
+
reject(err);
|
|
313998
|
+
request = null;
|
|
313999
|
+
};
|
|
313807
314000
|
|
|
313808
|
-
|
|
314001
|
+
// Handle timeout
|
|
314002
|
+
request.ontimeout = function handleTimeout() {
|
|
314003
|
+
let timeoutErrorMessage = _config.timeout
|
|
314004
|
+
? 'timeout of ' + _config.timeout + 'ms exceeded'
|
|
314005
|
+
: 'timeout exceeded';
|
|
314006
|
+
const transitional = _config.transitional || _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__["default"];
|
|
314007
|
+
if (_config.timeoutErrorMessage) {
|
|
314008
|
+
timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
314009
|
+
}
|
|
314010
|
+
reject(
|
|
314011
|
+
new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](
|
|
314012
|
+
timeoutErrorMessage,
|
|
314013
|
+
transitional.clarifyTimeoutError ? _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ETIMEDOUT : _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ECONNABORTED,
|
|
314014
|
+
config,
|
|
314015
|
+
request
|
|
314016
|
+
)
|
|
314017
|
+
);
|
|
313809
314018
|
|
|
313810
|
-
|
|
313811
|
-
|
|
313812
|
-
|
|
314019
|
+
// Clean up request
|
|
314020
|
+
request = null;
|
|
314021
|
+
};
|
|
313813
314022
|
|
|
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
|
-
};
|
|
314023
|
+
// Remove Content-Type if data is undefined
|
|
314024
|
+
requestData === undefined && requestHeaders.setContentType(null);
|
|
313843
314025
|
|
|
313844
|
-
|
|
313845
|
-
|
|
314026
|
+
// Add headers to the request
|
|
314027
|
+
if ('setRequestHeader' in request) {
|
|
314028
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_5__["default"].forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
|
|
314029
|
+
request.setRequestHeader(key, val);
|
|
314030
|
+
});
|
|
314031
|
+
}
|
|
313846
314032
|
|
|
313847
|
-
|
|
313848
|
-
|
|
313849
|
-
|
|
313850
|
-
|
|
313851
|
-
});
|
|
313852
|
-
}
|
|
314033
|
+
// Add withCredentials to request if needed
|
|
314034
|
+
if (!_utils_js__WEBPACK_IMPORTED_MODULE_5__["default"].isUndefined(_config.withCredentials)) {
|
|
314035
|
+
request.withCredentials = !!_config.withCredentials;
|
|
314036
|
+
}
|
|
313853
314037
|
|
|
313854
|
-
|
|
313855
|
-
|
|
313856
|
-
|
|
313857
|
-
|
|
314038
|
+
// Add responseType to request if needed
|
|
314039
|
+
if (responseType && responseType !== 'json') {
|
|
314040
|
+
request.responseType = _config.responseType;
|
|
314041
|
+
}
|
|
313858
314042
|
|
|
313859
|
-
|
|
313860
|
-
|
|
313861
|
-
|
|
313862
|
-
|
|
314043
|
+
// Handle progress if needed
|
|
314044
|
+
if (onDownloadProgress) {
|
|
314045
|
+
[downloadThrottled, flushDownload] = (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventReducer)(onDownloadProgress, true);
|
|
314046
|
+
request.addEventListener('progress', downloadThrottled);
|
|
314047
|
+
}
|
|
313863
314048
|
|
|
313864
|
-
|
|
313865
|
-
|
|
313866
|
-
|
|
313867
|
-
request.addEventListener('progress', downloadThrottled);
|
|
313868
|
-
}
|
|
314049
|
+
// Not all browsers support upload events
|
|
314050
|
+
if (onUploadProgress && request.upload) {
|
|
314051
|
+
[uploadThrottled, flushUpload] = (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventReducer)(onUploadProgress);
|
|
313869
314052
|
|
|
313870
|
-
|
|
313871
|
-
if (onUploadProgress && request.upload) {
|
|
313872
|
-
([uploadThrottled, flushUpload] = (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventReducer)(onUploadProgress));
|
|
314053
|
+
request.upload.addEventListener('progress', uploadThrottled);
|
|
313873
314054
|
|
|
313874
|
-
|
|
314055
|
+
request.upload.addEventListener('loadend', flushUpload);
|
|
314056
|
+
}
|
|
313875
314057
|
|
|
313876
|
-
|
|
313877
|
-
|
|
314058
|
+
if (_config.cancelToken || _config.signal) {
|
|
314059
|
+
// Handle cancellation
|
|
314060
|
+
// eslint-disable-next-line func-names
|
|
314061
|
+
onCanceled = (cancel) => {
|
|
314062
|
+
if (!request) {
|
|
314063
|
+
return;
|
|
314064
|
+
}
|
|
314065
|
+
reject(!cancel || cancel.type ? new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__["default"](null, config, request) : cancel);
|
|
314066
|
+
request.abort();
|
|
314067
|
+
request = null;
|
|
314068
|
+
};
|
|
313878
314069
|
|
|
313879
|
-
|
|
313880
|
-
|
|
313881
|
-
|
|
313882
|
-
|
|
313883
|
-
|
|
313884
|
-
return;
|
|
314070
|
+
_config.cancelToken && _config.cancelToken.subscribe(onCanceled);
|
|
314071
|
+
if (_config.signal) {
|
|
314072
|
+
_config.signal.aborted
|
|
314073
|
+
? onCanceled()
|
|
314074
|
+
: _config.signal.addEventListener('abort', onCanceled);
|
|
313885
314075
|
}
|
|
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
314076
|
}
|
|
313895
|
-
}
|
|
313896
314077
|
|
|
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
|
-
}
|
|
314078
|
+
const protocol = (0,_helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_8__["default"])(_config.url);
|
|
313903
314079
|
|
|
314080
|
+
if (protocol && _platform_index_js__WEBPACK_IMPORTED_MODULE_9__["default"].protocols.indexOf(protocol) === -1) {
|
|
314081
|
+
reject(
|
|
314082
|
+
new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](
|
|
314083
|
+
'Unsupported protocol ' + protocol + ':',
|
|
314084
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ERR_BAD_REQUEST,
|
|
314085
|
+
config
|
|
314086
|
+
)
|
|
314087
|
+
);
|
|
314088
|
+
return;
|
|
314089
|
+
}
|
|
313904
314090
|
|
|
313905
|
-
|
|
313906
|
-
|
|
314091
|
+
// Send the request
|
|
314092
|
+
request.send(requestData || null);
|
|
314093
|
+
});
|
|
313907
314094
|
});
|
|
313908
|
-
});
|
|
313909
314095
|
|
|
313910
314096
|
|
|
313911
314097
|
/***/ }),
|
|
313912
314098
|
|
|
313913
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314099
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/axios.js":
|
|
313914
314100
|
/*!*****************************************************************************************!*\
|
|
313915
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314101
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/axios.js ***!
|
|
313916
314102
|
\*****************************************************************************************/
|
|
313917
314103
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
313918
314104
|
|
|
@@ -313921,23 +314107,23 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313921
314107
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
313922
314108
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
313923
314109
|
/* 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.
|
|
314110
|
+
/* 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");
|
|
314111
|
+
/* 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");
|
|
314112
|
+
/* 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");
|
|
314113
|
+
/* 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");
|
|
314114
|
+
/* 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");
|
|
314115
|
+
/* 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");
|
|
314116
|
+
/* 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");
|
|
314117
|
+
/* 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");
|
|
314118
|
+
/* 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");
|
|
314119
|
+
/* 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");
|
|
314120
|
+
/* 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");
|
|
314121
|
+
/* 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");
|
|
314122
|
+
/* 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");
|
|
314123
|
+
/* 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");
|
|
314124
|
+
/* 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");
|
|
314125
|
+
/* 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");
|
|
314126
|
+
/* 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
314127
|
|
|
313942
314128
|
|
|
313943
314129
|
|
|
@@ -313970,10 +314156,10 @@ function createInstance(defaultConfig) {
|
|
|
313970
314156
|
const instance = (0,_helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__["default"])(_core_Axios_js__WEBPACK_IMPORTED_MODULE_0__["default"].prototype.request, context);
|
|
313971
314157
|
|
|
313972
314158
|
// 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});
|
|
314159
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].extend(instance, _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__["default"].prototype, context, { allOwnKeys: true });
|
|
313974
314160
|
|
|
313975
314161
|
// Copy context to instance
|
|
313976
|
-
_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].extend(instance, context, null, {allOwnKeys: true});
|
|
314162
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].extend(instance, context, null, { allOwnKeys: true });
|
|
313977
314163
|
|
|
313978
314164
|
// Factory for creating new instances
|
|
313979
314165
|
instance.create = function create(instanceConfig) {
|
|
@@ -314017,7 +314203,7 @@ axios.mergeConfig = _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__["default"]
|
|
|
314017
314203
|
|
|
314018
314204
|
axios.AxiosHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_13__["default"];
|
|
314019
314205
|
|
|
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);
|
|
314206
|
+
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
314207
|
|
|
314022
314208
|
axios.getAdapter = _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__["default"].getAdapter;
|
|
314023
314209
|
|
|
@@ -314031,9 +314217,9 @@ axios.default = axios;
|
|
|
314031
314217
|
|
|
314032
314218
|
/***/ }),
|
|
314033
314219
|
|
|
314034
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314220
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CancelToken.js":
|
|
314035
314221
|
/*!******************************************************************************************************!*\
|
|
314036
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314222
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CancelToken.js ***!
|
|
314037
314223
|
\******************************************************************************************************/
|
|
314038
314224
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314039
314225
|
|
|
@@ -314042,7 +314228,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314042
314228
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
314043
314229
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
314044
314230
|
/* harmony export */ });
|
|
314045
|
-
/* harmony import */ var _CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314231
|
+
/* 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
314232
|
|
|
314047
314233
|
|
|
314048
314234
|
|
|
@@ -314069,7 +314255,7 @@ class CancelToken {
|
|
|
314069
314255
|
const token = this;
|
|
314070
314256
|
|
|
314071
314257
|
// eslint-disable-next-line func-names
|
|
314072
|
-
this.promise.then(cancel => {
|
|
314258
|
+
this.promise.then((cancel) => {
|
|
314073
314259
|
if (!token._listeners) return;
|
|
314074
314260
|
|
|
314075
314261
|
let i = token._listeners.length;
|
|
@@ -314081,10 +314267,10 @@ class CancelToken {
|
|
|
314081
314267
|
});
|
|
314082
314268
|
|
|
314083
314269
|
// eslint-disable-next-line func-names
|
|
314084
|
-
this.promise.then = onfulfilled => {
|
|
314270
|
+
this.promise.then = (onfulfilled) => {
|
|
314085
314271
|
let _resolve;
|
|
314086
314272
|
// eslint-disable-next-line func-names
|
|
314087
|
-
const promise = new Promise(resolve => {
|
|
314273
|
+
const promise = new Promise((resolve) => {
|
|
314088
314274
|
token.subscribe(resolve);
|
|
314089
314275
|
_resolve = resolve;
|
|
314090
314276
|
}).then(onfulfilled);
|
|
@@ -314172,7 +314358,7 @@ class CancelToken {
|
|
|
314172
314358
|
});
|
|
314173
314359
|
return {
|
|
314174
314360
|
token,
|
|
314175
|
-
cancel
|
|
314361
|
+
cancel,
|
|
314176
314362
|
};
|
|
314177
314363
|
}
|
|
314178
314364
|
}
|
|
@@ -314182,9 +314368,9 @@ class CancelToken {
|
|
|
314182
314368
|
|
|
314183
314369
|
/***/ }),
|
|
314184
314370
|
|
|
314185
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314371
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CanceledError.js":
|
|
314186
314372
|
/*!********************************************************************************************************!*\
|
|
314187
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314373
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CanceledError.js ***!
|
|
314188
314374
|
\********************************************************************************************************/
|
|
314189
314375
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314190
314376
|
|
|
@@ -314193,7 +314379,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314193
314379
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
314194
314380
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
314195
314381
|
/* 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.
|
|
314382
|
+
/* 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
314383
|
|
|
314198
314384
|
|
|
314199
314385
|
|
|
@@ -314220,9 +314406,9 @@ class CanceledError extends _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["de
|
|
|
314220
314406
|
|
|
314221
314407
|
/***/ }),
|
|
314222
314408
|
|
|
314223
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314409
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/isCancel.js":
|
|
314224
314410
|
/*!***************************************************************************************************!*\
|
|
314225
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314411
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/isCancel.js ***!
|
|
314226
314412
|
\***************************************************************************************************/
|
|
314227
314413
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314228
314414
|
|
|
@@ -314240,9 +314426,9 @@ function isCancel(value) {
|
|
|
314240
314426
|
|
|
314241
314427
|
/***/ }),
|
|
314242
314428
|
|
|
314243
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314429
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/Axios.js":
|
|
314244
314430
|
/*!**********************************************************************************************!*\
|
|
314245
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314431
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/Axios.js ***!
|
|
314246
314432
|
\**********************************************************************************************/
|
|
314247
314433
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314248
314434
|
|
|
@@ -314251,15 +314437,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314251
314437
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
314252
314438
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
314253
314439
|
/* 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.
|
|
314440
|
+
/* 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");
|
|
314441
|
+
/* 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");
|
|
314442
|
+
/* 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");
|
|
314443
|
+
/* 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");
|
|
314444
|
+
/* 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");
|
|
314445
|
+
/* 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");
|
|
314446
|
+
/* 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");
|
|
314447
|
+
/* 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");
|
|
314448
|
+
/* 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
314449
|
|
|
314264
314450
|
|
|
314265
314451
|
|
|
@@ -314286,7 +314472,7 @@ class Axios {
|
|
|
314286
314472
|
this.defaults = instanceConfig || {};
|
|
314287
314473
|
this.interceptors = {
|
|
314288
314474
|
request: new _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__["default"](),
|
|
314289
|
-
response: new _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__["default"]()
|
|
314475
|
+
response: new _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__["default"](),
|
|
314290
314476
|
};
|
|
314291
314477
|
}
|
|
314292
314478
|
|
|
@@ -314314,7 +314500,7 @@ class Axios {
|
|
|
314314
314500
|
err.stack = stack;
|
|
314315
314501
|
// match without the 2 top stack lines
|
|
314316
314502
|
} else if (stack && !String(err.stack).endsWith(stack.replace(/^.+\n.+\n/, ''))) {
|
|
314317
|
-
err.stack += '\n' + stack
|
|
314503
|
+
err.stack += '\n' + stack;
|
|
314318
314504
|
}
|
|
314319
314505
|
} catch (e) {
|
|
314320
314506
|
// ignore the case where "stack" is an un-writable property
|
|
@@ -314337,27 +314523,35 @@ class Axios {
|
|
|
314337
314523
|
|
|
314338
314524
|
config = (0,_mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__["default"])(this.defaults, config);
|
|
314339
314525
|
|
|
314340
|
-
const {transitional, paramsSerializer, headers} = config;
|
|
314526
|
+
const { transitional, paramsSerializer, headers } = config;
|
|
314341
314527
|
|
|
314342
314528
|
if (transitional !== undefined) {
|
|
314343
|
-
_helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(
|
|
314344
|
-
|
|
314345
|
-
|
|
314346
|
-
|
|
314347
|
-
|
|
314348
|
-
|
|
314529
|
+
_helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(
|
|
314530
|
+
transitional,
|
|
314531
|
+
{
|
|
314532
|
+
silentJSONParsing: validators.transitional(validators.boolean),
|
|
314533
|
+
forcedJSONParsing: validators.transitional(validators.boolean),
|
|
314534
|
+
clarifyTimeoutError: validators.transitional(validators.boolean),
|
|
314535
|
+
legacyInterceptorReqResOrdering: validators.transitional(validators.boolean),
|
|
314536
|
+
},
|
|
314537
|
+
false
|
|
314538
|
+
);
|
|
314349
314539
|
}
|
|
314350
314540
|
|
|
314351
314541
|
if (paramsSerializer != null) {
|
|
314352
314542
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].isFunction(paramsSerializer)) {
|
|
314353
314543
|
config.paramsSerializer = {
|
|
314354
|
-
serialize: paramsSerializer
|
|
314355
|
-
}
|
|
314544
|
+
serialize: paramsSerializer,
|
|
314545
|
+
};
|
|
314356
314546
|
} else {
|
|
314357
|
-
_helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(
|
|
314358
|
-
|
|
314359
|
-
|
|
314360
|
-
|
|
314547
|
+
_helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(
|
|
314548
|
+
paramsSerializer,
|
|
314549
|
+
{
|
|
314550
|
+
encode: validators.function,
|
|
314551
|
+
serialize: validators.function,
|
|
314552
|
+
},
|
|
314553
|
+
true
|
|
314554
|
+
);
|
|
314361
314555
|
}
|
|
314362
314556
|
}
|
|
314363
314557
|
|
|
@@ -314370,26 +314564,25 @@ class Axios {
|
|
|
314370
314564
|
config.allowAbsoluteUrls = true;
|
|
314371
314565
|
}
|
|
314372
314566
|
|
|
314373
|
-
_helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(
|
|
314374
|
-
|
|
314375
|
-
|
|
314376
|
-
|
|
314567
|
+
_helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(
|
|
314568
|
+
config,
|
|
314569
|
+
{
|
|
314570
|
+
baseUrl: validators.spelling('baseURL'),
|
|
314571
|
+
withXsrfToken: validators.spelling('withXSRFToken'),
|
|
314572
|
+
},
|
|
314573
|
+
true
|
|
314574
|
+
);
|
|
314377
314575
|
|
|
314378
314576
|
// Set config.method
|
|
314379
314577
|
config.method = (config.method || this.defaults.method || 'get').toLowerCase();
|
|
314380
314578
|
|
|
314381
314579
|
// Flatten headers
|
|
314382
|
-
let contextHeaders = headers && _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].merge(
|
|
314383
|
-
headers.common,
|
|
314384
|
-
headers[config.method]
|
|
314385
|
-
);
|
|
314580
|
+
let contextHeaders = headers && _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].merge(headers.common, headers[config.method]);
|
|
314386
314581
|
|
|
314387
|
-
headers &&
|
|
314388
|
-
['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
|
|
314389
|
-
(method) => {
|
|
314582
|
+
headers &&
|
|
314583
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'common'], (method) => {
|
|
314390
314584
|
delete headers[method];
|
|
314391
|
-
}
|
|
314392
|
-
);
|
|
314585
|
+
});
|
|
314393
314586
|
|
|
314394
314587
|
config.headers = _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__["default"].concat(contextHeaders, headers);
|
|
314395
314588
|
|
|
@@ -314404,7 +314597,8 @@ class Axios {
|
|
|
314404
314597
|
synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
|
|
314405
314598
|
|
|
314406
314599
|
const transitional = config.transitional || _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_5__["default"];
|
|
314407
|
-
const legacyInterceptorReqResOrdering =
|
|
314600
|
+
const legacyInterceptorReqResOrdering =
|
|
314601
|
+
transitional && transitional.legacyInterceptorReqResOrdering;
|
|
314408
314602
|
|
|
314409
314603
|
if (legacyInterceptorReqResOrdering) {
|
|
314410
314604
|
requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
|
|
@@ -314478,12 +314672,14 @@ class Axios {
|
|
|
314478
314672
|
// Provide aliases for supported request methods
|
|
314479
314673
|
_utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
|
|
314480
314674
|
/*eslint func-names:0*/
|
|
314481
|
-
Axios.prototype[method] = function(url, config) {
|
|
314482
|
-
return this.request(
|
|
314483
|
-
|
|
314484
|
-
|
|
314485
|
-
|
|
314486
|
-
|
|
314675
|
+
Axios.prototype[method] = function (url, config) {
|
|
314676
|
+
return this.request(
|
|
314677
|
+
(0,_mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__["default"])(config || {}, {
|
|
314678
|
+
method,
|
|
314679
|
+
url,
|
|
314680
|
+
data: (config || {}).data,
|
|
314681
|
+
})
|
|
314682
|
+
);
|
|
314487
314683
|
};
|
|
314488
314684
|
});
|
|
314489
314685
|
|
|
@@ -314492,14 +314688,18 @@ _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['post', 'put', 'patch
|
|
|
314492
314688
|
|
|
314493
314689
|
function generateHTTPMethod(isForm) {
|
|
314494
314690
|
return function httpMethod(url, data, config) {
|
|
314495
|
-
return this.request(
|
|
314496
|
-
|
|
314497
|
-
|
|
314498
|
-
|
|
314499
|
-
|
|
314500
|
-
|
|
314501
|
-
|
|
314502
|
-
|
|
314691
|
+
return this.request(
|
|
314692
|
+
(0,_mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__["default"])(config || {}, {
|
|
314693
|
+
method,
|
|
314694
|
+
headers: isForm
|
|
314695
|
+
? {
|
|
314696
|
+
'Content-Type': 'multipart/form-data',
|
|
314697
|
+
}
|
|
314698
|
+
: {},
|
|
314699
|
+
url,
|
|
314700
|
+
data,
|
|
314701
|
+
})
|
|
314702
|
+
);
|
|
314503
314703
|
};
|
|
314504
314704
|
}
|
|
314505
314705
|
|
|
@@ -314513,9 +314713,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['post', 'put', 'patch
|
|
|
314513
314713
|
|
|
314514
314714
|
/***/ }),
|
|
314515
314715
|
|
|
314516
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314716
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js":
|
|
314517
314717
|
/*!***************************************************************************************************!*\
|
|
314518
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314718
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js ***!
|
|
314519
314719
|
\***************************************************************************************************/
|
|
314520
314720
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314521
314721
|
|
|
@@ -314524,20 +314724,26 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314524
314724
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
314525
314725
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
314526
314726
|
/* harmony export */ });
|
|
314527
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314727
|
+
/* 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
314728
|
|
|
314529
314729
|
|
|
314530
314730
|
|
|
314531
314731
|
|
|
314532
314732
|
class AxiosError extends Error {
|
|
314533
|
-
|
|
314534
|
-
|
|
314535
|
-
|
|
314536
|
-
|
|
314537
|
-
|
|
314538
|
-
|
|
314733
|
+
static from(error, code, config, request, response, customProps) {
|
|
314734
|
+
const axiosError = new AxiosError(error.message, code || error.code, config, request, response);
|
|
314735
|
+
axiosError.cause = error;
|
|
314736
|
+
axiosError.name = error.name;
|
|
314737
|
+
|
|
314738
|
+
// Preserve status from the original error if not already set from response
|
|
314739
|
+
if (error.status != null && axiosError.status == null) {
|
|
314740
|
+
axiosError.status = error.status;
|
|
314539
314741
|
}
|
|
314540
314742
|
|
|
314743
|
+
customProps && Object.assign(axiosError, customProps);
|
|
314744
|
+
return axiosError;
|
|
314745
|
+
}
|
|
314746
|
+
|
|
314541
314747
|
/**
|
|
314542
314748
|
* Create an Error with the specified message, config, error code, request and response.
|
|
314543
314749
|
*
|
|
@@ -314550,37 +314756,48 @@ class AxiosError extends Error {
|
|
|
314550
314756
|
* @returns {Error} The created error.
|
|
314551
314757
|
*/
|
|
314552
314758
|
constructor(message, code, config, request, response) {
|
|
314553
|
-
|
|
314554
|
-
|
|
314555
|
-
|
|
314556
|
-
|
|
314557
|
-
|
|
314558
|
-
|
|
314559
|
-
|
|
314560
|
-
|
|
314561
|
-
|
|
314562
|
-
|
|
314759
|
+
super(message);
|
|
314760
|
+
|
|
314761
|
+
// Make message enumerable to maintain backward compatibility
|
|
314762
|
+
// The native Error constructor sets message as non-enumerable,
|
|
314763
|
+
// but axios < v1.13.3 had it as enumerable
|
|
314764
|
+
Object.defineProperty(this, 'message', {
|
|
314765
|
+
value: message,
|
|
314766
|
+
enumerable: true,
|
|
314767
|
+
writable: true,
|
|
314768
|
+
configurable: true
|
|
314769
|
+
});
|
|
314770
|
+
|
|
314771
|
+
this.name = 'AxiosError';
|
|
314772
|
+
this.isAxiosError = true;
|
|
314773
|
+
code && (this.code = code);
|
|
314774
|
+
config && (this.config = config);
|
|
314775
|
+
request && (this.request = request);
|
|
314776
|
+
if (response) {
|
|
314777
|
+
this.response = response;
|
|
314778
|
+
this.status = response.status;
|
|
314779
|
+
}
|
|
314563
314780
|
}
|
|
314564
314781
|
|
|
314565
|
-
|
|
314566
|
-
|
|
314567
|
-
|
|
314568
|
-
|
|
314569
|
-
|
|
314570
|
-
|
|
314571
|
-
|
|
314572
|
-
|
|
314573
|
-
|
|
314574
|
-
|
|
314575
|
-
|
|
314576
|
-
|
|
314577
|
-
|
|
314578
|
-
|
|
314579
|
-
|
|
314580
|
-
|
|
314581
|
-
|
|
314582
|
-
|
|
314583
|
-
|
|
314782
|
+
toJSON() {
|
|
314783
|
+
return {
|
|
314784
|
+
// Standard
|
|
314785
|
+
message: this.message,
|
|
314786
|
+
name: this.name,
|
|
314787
|
+
// Microsoft
|
|
314788
|
+
description: this.description,
|
|
314789
|
+
number: this.number,
|
|
314790
|
+
// Mozilla
|
|
314791
|
+
fileName: this.fileName,
|
|
314792
|
+
lineNumber: this.lineNumber,
|
|
314793
|
+
columnNumber: this.columnNumber,
|
|
314794
|
+
stack: this.stack,
|
|
314795
|
+
// Axios
|
|
314796
|
+
config: _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toJSONObject(this.config),
|
|
314797
|
+
code: this.code,
|
|
314798
|
+
status: this.status,
|
|
314799
|
+
};
|
|
314800
|
+
}
|
|
314584
314801
|
}
|
|
314585
314802
|
|
|
314586
314803
|
// This can be changed to static properties as soon as the parser options in .eslint.cjs are updated.
|
|
@@ -314602,9 +314819,9 @@ AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL';
|
|
|
314602
314819
|
|
|
314603
314820
|
/***/ }),
|
|
314604
314821
|
|
|
314605
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314822
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js":
|
|
314606
314823
|
/*!*****************************************************************************************************!*\
|
|
314607
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314824
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js ***!
|
|
314608
314825
|
\*****************************************************************************************************/
|
|
314609
314826
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314610
314827
|
|
|
@@ -314613,8 +314830,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314613
314830
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
314614
314831
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
314615
314832
|
/* 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.
|
|
314833
|
+
/* 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");
|
|
314834
|
+
/* 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
314835
|
|
|
314619
314836
|
|
|
314620
314837
|
|
|
@@ -314669,8 +314886,10 @@ function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {
|
|
|
314669
314886
|
}
|
|
314670
314887
|
|
|
314671
314888
|
function formatHeader(header) {
|
|
314672
|
-
return header
|
|
314673
|
-
.
|
|
314889
|
+
return header
|
|
314890
|
+
.trim()
|
|
314891
|
+
.toLowerCase()
|
|
314892
|
+
.replace(/([a-z\d])(\w*)/g, (w, char, str) => {
|
|
314674
314893
|
return char.toUpperCase() + str;
|
|
314675
314894
|
});
|
|
314676
314895
|
}
|
|
@@ -314678,12 +314897,12 @@ function formatHeader(header) {
|
|
|
314678
314897
|
function buildAccessors(obj, header) {
|
|
314679
314898
|
const accessorName = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toCamelCase(' ' + header);
|
|
314680
314899
|
|
|
314681
|
-
['get', 'set', 'has'].forEach(methodName => {
|
|
314900
|
+
['get', 'set', 'has'].forEach((methodName) => {
|
|
314682
314901
|
Object.defineProperty(obj, methodName + accessorName, {
|
|
314683
|
-
value: function(arg1, arg2, arg3) {
|
|
314902
|
+
value: function (arg1, arg2, arg3) {
|
|
314684
314903
|
return this[methodName].call(this, header, arg1, arg2, arg3);
|
|
314685
314904
|
},
|
|
314686
|
-
configurable: true
|
|
314905
|
+
configurable: true,
|
|
314687
314906
|
});
|
|
314688
314907
|
});
|
|
314689
314908
|
}
|
|
@@ -314705,7 +314924,12 @@ class AxiosHeaders {
|
|
|
314705
314924
|
|
|
314706
314925
|
const key = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].findKey(self, lHeader);
|
|
314707
314926
|
|
|
314708
|
-
if
|
|
314927
|
+
if (
|
|
314928
|
+
!key ||
|
|
314929
|
+
self[key] === undefined ||
|
|
314930
|
+
_rewrite === true ||
|
|
314931
|
+
(_rewrite === undefined && self[key] !== false)
|
|
314932
|
+
) {
|
|
314709
314933
|
self[key || _header] = normalizeValue(_value);
|
|
314710
314934
|
}
|
|
314711
314935
|
}
|
|
@@ -314714,21 +314938,26 @@ class AxiosHeaders {
|
|
|
314714
314938
|
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));
|
|
314715
314939
|
|
|
314716
314940
|
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)) {
|
|
314941
|
+
setHeaders(header, valueOrRewrite);
|
|
314942
|
+
} else if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
314719
314943
|
setHeaders((0,_helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"])(header), valueOrRewrite);
|
|
314720
314944
|
} else if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(header) && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isIterable(header)) {
|
|
314721
|
-
let obj = {},
|
|
314945
|
+
let obj = {},
|
|
314946
|
+
dest,
|
|
314947
|
+
key;
|
|
314722
314948
|
for (const entry of header) {
|
|
314723
314949
|
if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(entry)) {
|
|
314724
314950
|
throw TypeError('Object iterator must return a key-value pair');
|
|
314725
314951
|
}
|
|
314726
314952
|
|
|
314727
|
-
obj[key = entry[0]] = (dest = obj[key])
|
|
314728
|
-
|
|
314953
|
+
obj[(key = entry[0])] = (dest = obj[key])
|
|
314954
|
+
? _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(dest)
|
|
314955
|
+
? [...dest, entry[1]]
|
|
314956
|
+
: [dest, entry[1]]
|
|
314957
|
+
: entry[1];
|
|
314729
314958
|
}
|
|
314730
314959
|
|
|
314731
|
-
setHeaders(obj, valueOrRewrite)
|
|
314960
|
+
setHeaders(obj, valueOrRewrite);
|
|
314732
314961
|
} else {
|
|
314733
314962
|
header != null && setHeader(valueOrRewrite, header, rewrite);
|
|
314734
314963
|
}
|
|
@@ -314772,7 +315001,11 @@ class AxiosHeaders {
|
|
|
314772
315001
|
if (header) {
|
|
314773
315002
|
const key = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].findKey(this, header);
|
|
314774
315003
|
|
|
314775
|
-
return !!(
|
|
315004
|
+
return !!(
|
|
315005
|
+
key &&
|
|
315006
|
+
this[key] !== undefined &&
|
|
315007
|
+
(!matcher || matchHeaderValue(this, this[key], key, matcher))
|
|
315008
|
+
);
|
|
314776
315009
|
}
|
|
314777
315010
|
|
|
314778
315011
|
return false;
|
|
@@ -314812,7 +315045,7 @@ class AxiosHeaders {
|
|
|
314812
315045
|
|
|
314813
315046
|
while (i--) {
|
|
314814
315047
|
const key = keys[i];
|
|
314815
|
-
if(!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
|
|
315048
|
+
if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
|
|
314816
315049
|
delete this[key];
|
|
314817
315050
|
deleted = true;
|
|
314818
315051
|
}
|
|
@@ -314856,7 +315089,9 @@ class AxiosHeaders {
|
|
|
314856
315089
|
const obj = Object.create(null);
|
|
314857
315090
|
|
|
314858
315091
|
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(this, (value, header) => {
|
|
314859
|
-
value != null &&
|
|
315092
|
+
value != null &&
|
|
315093
|
+
value !== false &&
|
|
315094
|
+
(obj[header] = asStrings && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value) ? value.join(', ') : value);
|
|
314860
315095
|
});
|
|
314861
315096
|
|
|
314862
315097
|
return obj;
|
|
@@ -314867,11 +315102,13 @@ class AxiosHeaders {
|
|
|
314867
315102
|
}
|
|
314868
315103
|
|
|
314869
315104
|
toString() {
|
|
314870
|
-
return Object.entries(this.toJSON())
|
|
315105
|
+
return Object.entries(this.toJSON())
|
|
315106
|
+
.map(([header, value]) => header + ': ' + value)
|
|
315107
|
+
.join('\n');
|
|
314871
315108
|
}
|
|
314872
315109
|
|
|
314873
315110
|
getSetCookie() {
|
|
314874
|
-
return this.get(
|
|
315111
|
+
return this.get('set-cookie') || [];
|
|
314875
315112
|
}
|
|
314876
315113
|
|
|
314877
315114
|
get [Symbol.toStringTag]() {
|
|
@@ -314891,9 +315128,12 @@ class AxiosHeaders {
|
|
|
314891
315128
|
}
|
|
314892
315129
|
|
|
314893
315130
|
static accessor(header) {
|
|
314894
|
-
const internals =
|
|
314895
|
-
|
|
314896
|
-
|
|
315131
|
+
const internals =
|
|
315132
|
+
(this[$internals] =
|
|
315133
|
+
this[$internals] =
|
|
315134
|
+
{
|
|
315135
|
+
accessors: {},
|
|
315136
|
+
});
|
|
314897
315137
|
|
|
314898
315138
|
const accessors = internals.accessors;
|
|
314899
315139
|
const prototype = this.prototype;
|
|
@@ -314913,17 +315153,24 @@ class AxiosHeaders {
|
|
|
314913
315153
|
}
|
|
314914
315154
|
}
|
|
314915
315155
|
|
|
314916
|
-
AxiosHeaders.accessor([
|
|
315156
|
+
AxiosHeaders.accessor([
|
|
315157
|
+
'Content-Type',
|
|
315158
|
+
'Content-Length',
|
|
315159
|
+
'Accept',
|
|
315160
|
+
'Accept-Encoding',
|
|
315161
|
+
'User-Agent',
|
|
315162
|
+
'Authorization',
|
|
315163
|
+
]);
|
|
314917
315164
|
|
|
314918
315165
|
// reserved names hotfix
|
|
314919
|
-
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {
|
|
315166
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
|
|
314920
315167
|
let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`
|
|
314921
315168
|
return {
|
|
314922
315169
|
get: () => value,
|
|
314923
315170
|
set(headerValue) {
|
|
314924
315171
|
this[mapped] = headerValue;
|
|
314925
|
-
}
|
|
314926
|
-
}
|
|
315172
|
+
},
|
|
315173
|
+
};
|
|
314927
315174
|
});
|
|
314928
315175
|
|
|
314929
315176
|
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].freezeMethods(AxiosHeaders);
|
|
@@ -314933,9 +315180,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].freezeMethods(AxiosHeaders);
|
|
|
314933
315180
|
|
|
314934
315181
|
/***/ }),
|
|
314935
315182
|
|
|
314936
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315183
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/InterceptorManager.js":
|
|
314937
315184
|
/*!***********************************************************************************************************!*\
|
|
314938
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315185
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/InterceptorManager.js ***!
|
|
314939
315186
|
\***********************************************************************************************************/
|
|
314940
315187
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314941
315188
|
|
|
@@ -314944,7 +315191,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314944
315191
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
314945
315192
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
314946
315193
|
/* harmony export */ });
|
|
314947
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315194
|
+
/* 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
315195
|
|
|
314949
315196
|
|
|
314950
315197
|
|
|
@@ -314968,7 +315215,7 @@ class InterceptorManager {
|
|
|
314968
315215
|
fulfilled,
|
|
314969
315216
|
rejected,
|
|
314970
315217
|
synchronous: options ? options.synchronous : false,
|
|
314971
|
-
runWhen: options ? options.runWhen : null
|
|
315218
|
+
runWhen: options ? options.runWhen : null,
|
|
314972
315219
|
});
|
|
314973
315220
|
return this.handlers.length - 1;
|
|
314974
315221
|
}
|
|
@@ -315021,9 +315268,9 @@ class InterceptorManager {
|
|
|
315021
315268
|
|
|
315022
315269
|
/***/ }),
|
|
315023
315270
|
|
|
315024
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315271
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/buildFullPath.js":
|
|
315025
315272
|
/*!******************************************************************************************************!*\
|
|
315026
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315273
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/buildFullPath.js ***!
|
|
315027
315274
|
\******************************************************************************************************/
|
|
315028
315275
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315029
315276
|
|
|
@@ -315032,8 +315279,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315032
315279
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315033
315280
|
/* harmony export */ "default": () => (/* binding */ buildFullPath)
|
|
315034
315281
|
/* 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.
|
|
315282
|
+
/* 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");
|
|
315283
|
+
/* 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
315284
|
|
|
315038
315285
|
|
|
315039
315286
|
|
|
@@ -315060,9 +315307,9 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
|
315060
315307
|
|
|
315061
315308
|
/***/ }),
|
|
315062
315309
|
|
|
315063
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315310
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/dispatchRequest.js":
|
|
315064
315311
|
/*!********************************************************************************************************!*\
|
|
315065
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315312
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/dispatchRequest.js ***!
|
|
315066
315313
|
\********************************************************************************************************/
|
|
315067
315314
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315068
315315
|
|
|
@@ -315071,12 +315318,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315071
315318
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315072
315319
|
/* harmony export */ "default": () => (/* binding */ dispatchRequest)
|
|
315073
315320
|
/* 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.
|
|
315321
|
+
/* 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");
|
|
315322
|
+
/* 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");
|
|
315323
|
+
/* 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");
|
|
315324
|
+
/* 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");
|
|
315325
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
315326
|
+
/* 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
315327
|
|
|
315081
315328
|
|
|
315082
315329
|
|
|
@@ -315116,10 +315363,7 @@ function dispatchRequest(config) {
|
|
|
315116
315363
|
config.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(config.headers);
|
|
315117
315364
|
|
|
315118
315365
|
// Transform request data
|
|
315119
|
-
config.data = _transformData_js__WEBPACK_IMPORTED_MODULE_2__["default"].call(
|
|
315120
|
-
config,
|
|
315121
|
-
config.transformRequest
|
|
315122
|
-
);
|
|
315366
|
+
config.data = _transformData_js__WEBPACK_IMPORTED_MODULE_2__["default"].call(config, config.transformRequest);
|
|
315123
315367
|
|
|
315124
315368
|
if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {
|
|
315125
315369
|
config.headers.setContentType('application/x-www-form-urlencoded', false);
|
|
@@ -315127,44 +315371,43 @@ function dispatchRequest(config) {
|
|
|
315127
315371
|
|
|
315128
315372
|
const adapter = _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_3__["default"].getAdapter(config.adapter || _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__["default"].adapter, config);
|
|
315129
315373
|
|
|
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)) {
|
|
315374
|
+
return adapter(config).then(
|
|
315375
|
+
function onAdapterResolution(response) {
|
|
315145
315376
|
throwIfCancellationRequested(config);
|
|
315146
315377
|
|
|
315147
315378
|
// Transform response data
|
|
315148
|
-
|
|
315149
|
-
|
|
315150
|
-
|
|
315151
|
-
|
|
315152
|
-
|
|
315153
|
-
|
|
315154
|
-
|
|
315379
|
+
response.data = _transformData_js__WEBPACK_IMPORTED_MODULE_2__["default"].call(config, config.transformResponse, response);
|
|
315380
|
+
|
|
315381
|
+
response.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(response.headers);
|
|
315382
|
+
|
|
315383
|
+
return response;
|
|
315384
|
+
},
|
|
315385
|
+
function onAdapterRejection(reason) {
|
|
315386
|
+
if (!(0,_cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_5__["default"])(reason)) {
|
|
315387
|
+
throwIfCancellationRequested(config);
|
|
315388
|
+
|
|
315389
|
+
// Transform response data
|
|
315390
|
+
if (reason && reason.response) {
|
|
315391
|
+
reason.response.data = _transformData_js__WEBPACK_IMPORTED_MODULE_2__["default"].call(
|
|
315392
|
+
config,
|
|
315393
|
+
config.transformResponse,
|
|
315394
|
+
reason.response
|
|
315395
|
+
);
|
|
315396
|
+
reason.response.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(reason.response.headers);
|
|
315397
|
+
}
|
|
315155
315398
|
}
|
|
315156
|
-
}
|
|
315157
315399
|
|
|
315158
|
-
|
|
315159
|
-
|
|
315400
|
+
return Promise.reject(reason);
|
|
315401
|
+
}
|
|
315402
|
+
);
|
|
315160
315403
|
}
|
|
315161
315404
|
|
|
315162
315405
|
|
|
315163
315406
|
/***/ }),
|
|
315164
315407
|
|
|
315165
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315408
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/mergeConfig.js":
|
|
315166
315409
|
/*!****************************************************************************************************!*\
|
|
315167
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315410
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/mergeConfig.js ***!
|
|
315168
315411
|
\****************************************************************************************************/
|
|
315169
315412
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315170
315413
|
|
|
@@ -315173,15 +315416,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315173
315416
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315174
315417
|
/* harmony export */ "default": () => (/* binding */ mergeConfig)
|
|
315175
315418
|
/* 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.
|
|
315419
|
+
/* 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");
|
|
315420
|
+
/* 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
315421
|
|
|
315179
315422
|
|
|
315180
315423
|
|
|
315181
315424
|
|
|
315182
315425
|
|
|
315183
|
-
const headersToObject = (thing) =>
|
|
315184
|
-
thing instanceof _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? { ...thing } : thing;
|
|
315426
|
+
const headersToObject = (thing) => (thing instanceof _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? { ...thing } : thing);
|
|
315185
315427
|
|
|
315186
315428
|
/**
|
|
315187
315429
|
* Config-specific merge-function which creates a new config-object
|
|
@@ -315274,23 +315516,12 @@ function mergeConfig(config1, config2) {
|
|
|
315274
315516
|
mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true),
|
|
315275
315517
|
};
|
|
315276
315518
|
|
|
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
|
-
);
|
|
315519
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
|
|
315520
|
+
if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return;
|
|
315521
|
+
const merge = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
|
|
315522
|
+
const configValue = merge(config1[prop], config2[prop], prop);
|
|
315523
|
+
(_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
|
|
315524
|
+
});
|
|
315294
315525
|
|
|
315295
315526
|
return config;
|
|
315296
315527
|
}
|
|
@@ -315298,9 +315529,9 @@ function mergeConfig(config1, config2) {
|
|
|
315298
315529
|
|
|
315299
315530
|
/***/ }),
|
|
315300
315531
|
|
|
315301
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315532
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/settle.js":
|
|
315302
315533
|
/*!***********************************************************************************************!*\
|
|
315303
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315534
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/settle.js ***!
|
|
315304
315535
|
\***********************************************************************************************/
|
|
315305
315536
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315306
315537
|
|
|
@@ -315309,7 +315540,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315309
315540
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315310
315541
|
/* harmony export */ "default": () => (/* binding */ settle)
|
|
315311
315542
|
/* harmony export */ });
|
|
315312
|
-
/* harmony import */ var _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315543
|
+
/* 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
315544
|
|
|
315314
315545
|
|
|
315315
315546
|
|
|
@@ -315328,22 +315559,26 @@ function settle(resolve, reject, response) {
|
|
|
315328
315559
|
if (!response.status || !validateStatus || validateStatus(response.status)) {
|
|
315329
315560
|
resolve(response);
|
|
315330
315561
|
} else {
|
|
315331
|
-
reject(
|
|
315332
|
-
|
|
315333
|
-
|
|
315334
|
-
|
|
315335
|
-
|
|
315336
|
-
|
|
315337
|
-
|
|
315562
|
+
reject(
|
|
315563
|
+
new _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"](
|
|
315564
|
+
'Request failed with status code ' + response.status,
|
|
315565
|
+
[_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ERR_BAD_REQUEST, _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ERR_BAD_RESPONSE][
|
|
315566
|
+
Math.floor(response.status / 100) - 4
|
|
315567
|
+
],
|
|
315568
|
+
response.config,
|
|
315569
|
+
response.request,
|
|
315570
|
+
response
|
|
315571
|
+
)
|
|
315572
|
+
);
|
|
315338
315573
|
}
|
|
315339
315574
|
}
|
|
315340
315575
|
|
|
315341
315576
|
|
|
315342
315577
|
/***/ }),
|
|
315343
315578
|
|
|
315344
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315579
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/transformData.js":
|
|
315345
315580
|
/*!******************************************************************************************************!*\
|
|
315346
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315581
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/transformData.js ***!
|
|
315347
315582
|
\******************************************************************************************************/
|
|
315348
315583
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315349
315584
|
|
|
@@ -315352,9 +315587,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315352
315587
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315353
315588
|
/* harmony export */ "default": () => (/* binding */ transformData)
|
|
315354
315589
|
/* 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.
|
|
315590
|
+
/* 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");
|
|
315591
|
+
/* 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");
|
|
315592
|
+
/* 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
315593
|
|
|
315359
315594
|
|
|
315360
315595
|
|
|
@@ -315387,9 +315622,9 @@ function transformData(fns, response) {
|
|
|
315387
315622
|
|
|
315388
315623
|
/***/ }),
|
|
315389
315624
|
|
|
315390
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315625
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/index.js":
|
|
315391
315626
|
/*!**************************************************************************************************!*\
|
|
315392
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315627
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/index.js ***!
|
|
315393
315628
|
\**************************************************************************************************/
|
|
315394
315629
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315395
315630
|
|
|
@@ -315398,13 +315633,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315398
315633
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315399
315634
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
315400
315635
|
/* 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.
|
|
315636
|
+
/* 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");
|
|
315637
|
+
/* 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");
|
|
315638
|
+
/* 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");
|
|
315639
|
+
/* 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");
|
|
315640
|
+
/* 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");
|
|
315641
|
+
/* 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");
|
|
315642
|
+
/* 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
315643
|
|
|
315409
315644
|
|
|
315410
315645
|
|
|
@@ -315441,96 +315676,107 @@ function stringifySafely(rawValue, parser, encoder) {
|
|
|
315441
315676
|
}
|
|
315442
315677
|
|
|
315443
315678
|
const defaults = {
|
|
315444
|
-
|
|
315445
315679
|
transitional: _transitional_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
315446
315680
|
|
|
315447
315681
|
adapter: ['xhr', 'http', 'fetch'],
|
|
315448
315682
|
|
|
315449
|
-
transformRequest: [
|
|
315450
|
-
|
|
315451
|
-
|
|
315452
|
-
|
|
315683
|
+
transformRequest: [
|
|
315684
|
+
function transformRequest(data, headers) {
|
|
315685
|
+
const contentType = headers.getContentType() || '';
|
|
315686
|
+
const hasJSONContentType = contentType.indexOf('application/json') > -1;
|
|
315687
|
+
const isObjectPayload = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(data);
|
|
315453
315688
|
|
|
315454
|
-
|
|
315455
|
-
|
|
315456
|
-
|
|
315689
|
+
if (isObjectPayload && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isHTMLForm(data)) {
|
|
315690
|
+
data = new FormData(data);
|
|
315691
|
+
}
|
|
315457
315692
|
|
|
315458
|
-
|
|
315693
|
+
const isFormData = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFormData(data);
|
|
315459
315694
|
|
|
315460
|
-
|
|
315461
|
-
|
|
315462
|
-
|
|
315695
|
+
if (isFormData) {
|
|
315696
|
+
return hasJSONContentType ? JSON.stringify((0,_helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_2__["default"])(data)) : data;
|
|
315697
|
+
}
|
|
315463
315698
|
|
|
315464
|
-
|
|
315465
|
-
|
|
315466
|
-
|
|
315467
|
-
|
|
315468
|
-
|
|
315469
|
-
|
|
315470
|
-
|
|
315471
|
-
|
|
315472
|
-
|
|
315473
|
-
|
|
315474
|
-
|
|
315475
|
-
|
|
315476
|
-
|
|
315477
|
-
|
|
315478
|
-
|
|
315479
|
-
|
|
315699
|
+
if (
|
|
315700
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArrayBuffer(data) ||
|
|
315701
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isBuffer(data) ||
|
|
315702
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isStream(data) ||
|
|
315703
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFile(data) ||
|
|
315704
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isBlob(data) ||
|
|
315705
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReadableStream(data)
|
|
315706
|
+
) {
|
|
315707
|
+
return data;
|
|
315708
|
+
}
|
|
315709
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArrayBufferView(data)) {
|
|
315710
|
+
return data.buffer;
|
|
315711
|
+
}
|
|
315712
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isURLSearchParams(data)) {
|
|
315713
|
+
headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);
|
|
315714
|
+
return data.toString();
|
|
315715
|
+
}
|
|
315480
315716
|
|
|
315481
|
-
|
|
315717
|
+
let isFileList;
|
|
315482
315718
|
|
|
315483
|
-
|
|
315484
|
-
|
|
315485
|
-
|
|
315486
|
-
|
|
315719
|
+
if (isObjectPayload) {
|
|
315720
|
+
if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {
|
|
315721
|
+
return (0,_helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_3__["default"])(data, this.formSerializer).toString();
|
|
315722
|
+
}
|
|
315487
315723
|
|
|
315488
|
-
|
|
315489
|
-
|
|
315724
|
+
if (
|
|
315725
|
+
(isFileList = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFileList(data)) ||
|
|
315726
|
+
contentType.indexOf('multipart/form-data') > -1
|
|
315727
|
+
) {
|
|
315728
|
+
const _FormData = this.env && this.env.FormData;
|
|
315490
315729
|
|
|
315491
|
-
|
|
315492
|
-
|
|
315493
|
-
|
|
315494
|
-
|
|
315495
|
-
|
|
315730
|
+
return (0,_helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_4__["default"])(
|
|
315731
|
+
isFileList ? { 'files[]': data } : data,
|
|
315732
|
+
_FormData && new _FormData(),
|
|
315733
|
+
this.formSerializer
|
|
315734
|
+
);
|
|
315735
|
+
}
|
|
315496
315736
|
}
|
|
315497
|
-
}
|
|
315498
315737
|
|
|
315499
|
-
|
|
315500
|
-
|
|
315501
|
-
|
|
315502
|
-
|
|
315738
|
+
if (isObjectPayload || hasJSONContentType) {
|
|
315739
|
+
headers.setContentType('application/json', false);
|
|
315740
|
+
return stringifySafely(data);
|
|
315741
|
+
}
|
|
315503
315742
|
|
|
315504
|
-
|
|
315505
|
-
|
|
315743
|
+
return data;
|
|
315744
|
+
},
|
|
315745
|
+
],
|
|
315506
315746
|
|
|
315507
|
-
transformResponse: [
|
|
315508
|
-
|
|
315509
|
-
|
|
315510
|
-
|
|
315747
|
+
transformResponse: [
|
|
315748
|
+
function transformResponse(data) {
|
|
315749
|
+
const transitional = this.transitional || defaults.transitional;
|
|
315750
|
+
const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
|
|
315751
|
+
const JSONRequested = this.responseType === 'json';
|
|
315511
315752
|
|
|
315512
|
-
|
|
315513
|
-
|
|
315514
|
-
|
|
315753
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isResponse(data) || _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReadableStream(data)) {
|
|
315754
|
+
return data;
|
|
315755
|
+
}
|
|
315515
315756
|
|
|
315516
|
-
|
|
315517
|
-
|
|
315518
|
-
|
|
315757
|
+
if (
|
|
315758
|
+
data &&
|
|
315759
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(data) &&
|
|
315760
|
+
((forcedJSONParsing && !this.responseType) || JSONRequested)
|
|
315761
|
+
) {
|
|
315762
|
+
const silentJSONParsing = transitional && transitional.silentJSONParsing;
|
|
315763
|
+
const strictJSONParsing = !silentJSONParsing && JSONRequested;
|
|
315519
315764
|
|
|
315520
|
-
|
|
315521
|
-
|
|
315522
|
-
|
|
315523
|
-
|
|
315524
|
-
|
|
315525
|
-
|
|
315765
|
+
try {
|
|
315766
|
+
return JSON.parse(data, this.parseReviver);
|
|
315767
|
+
} catch (e) {
|
|
315768
|
+
if (strictJSONParsing) {
|
|
315769
|
+
if (e.name === 'SyntaxError') {
|
|
315770
|
+
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);
|
|
315771
|
+
}
|
|
315772
|
+
throw e;
|
|
315526
315773
|
}
|
|
315527
|
-
throw e;
|
|
315528
315774
|
}
|
|
315529
315775
|
}
|
|
315530
|
-
}
|
|
315531
315776
|
|
|
315532
|
-
|
|
315533
|
-
|
|
315777
|
+
return data;
|
|
315778
|
+
},
|
|
315779
|
+
],
|
|
315534
315780
|
|
|
315535
315781
|
/**
|
|
315536
315782
|
* A timeout in milliseconds to abort a request. If set to 0 (default) a
|
|
@@ -315546,7 +315792,7 @@ const defaults = {
|
|
|
315546
315792
|
|
|
315547
315793
|
env: {
|
|
315548
315794
|
FormData: _platform_index_js__WEBPACK_IMPORTED_MODULE_6__["default"].classes.FormData,
|
|
315549
|
-
Blob: _platform_index_js__WEBPACK_IMPORTED_MODULE_6__["default"].classes.Blob
|
|
315795
|
+
Blob: _platform_index_js__WEBPACK_IMPORTED_MODULE_6__["default"].classes.Blob,
|
|
315550
315796
|
},
|
|
315551
315797
|
|
|
315552
315798
|
validateStatus: function validateStatus(status) {
|
|
@@ -315555,10 +315801,10 @@ const defaults = {
|
|
|
315555
315801
|
|
|
315556
315802
|
headers: {
|
|
315557
315803
|
common: {
|
|
315558
|
-
|
|
315559
|
-
'Content-Type': undefined
|
|
315560
|
-
}
|
|
315561
|
-
}
|
|
315804
|
+
Accept: 'application/json, text/plain, */*',
|
|
315805
|
+
'Content-Type': undefined,
|
|
315806
|
+
},
|
|
315807
|
+
},
|
|
315562
315808
|
};
|
|
315563
315809
|
|
|
315564
315810
|
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {
|
|
@@ -315570,9 +315816,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'hea
|
|
|
315570
315816
|
|
|
315571
315817
|
/***/ }),
|
|
315572
315818
|
|
|
315573
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315819
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/transitional.js":
|
|
315574
315820
|
/*!*********************************************************************************************************!*\
|
|
315575
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315821
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/transitional.js ***!
|
|
315576
315822
|
\*********************************************************************************************************/
|
|
315577
315823
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315578
315824
|
|
|
@@ -315587,15 +315833,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315587
315833
|
silentJSONParsing: true,
|
|
315588
315834
|
forcedJSONParsing: true,
|
|
315589
315835
|
clarifyTimeoutError: false,
|
|
315590
|
-
legacyInterceptorReqResOrdering: true
|
|
315836
|
+
legacyInterceptorReqResOrdering: true,
|
|
315591
315837
|
});
|
|
315592
315838
|
|
|
315593
315839
|
|
|
315594
315840
|
/***/ }),
|
|
315595
315841
|
|
|
315596
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315842
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/env/data.js":
|
|
315597
315843
|
/*!********************************************************************************************!*\
|
|
315598
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315844
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/env/data.js ***!
|
|
315599
315845
|
\********************************************************************************************/
|
|
315600
315846
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315601
315847
|
|
|
@@ -315604,13 +315850,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315604
315850
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315605
315851
|
/* harmony export */ VERSION: () => (/* binding */ VERSION)
|
|
315606
315852
|
/* harmony export */ });
|
|
315607
|
-
const VERSION = "1.13.
|
|
315853
|
+
const VERSION = "1.13.6";
|
|
315608
315854
|
|
|
315609
315855
|
/***/ }),
|
|
315610
315856
|
|
|
315611
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315857
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/AxiosURLSearchParams.js":
|
|
315612
315858
|
/*!****************************************************************************************************************!*\
|
|
315613
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315859
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/AxiosURLSearchParams.js ***!
|
|
315614
315860
|
\****************************************************************************************************************/
|
|
315615
315861
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315616
315862
|
|
|
@@ -315619,7 +315865,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315619
315865
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315620
315866
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
315621
315867
|
/* harmony export */ });
|
|
315622
|
-
/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315868
|
+
/* 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
315869
|
|
|
315624
315870
|
|
|
315625
315871
|
|
|
@@ -315640,7 +315886,7 @@ function encode(str) {
|
|
|
315640
315886
|
')': '%29',
|
|
315641
315887
|
'~': '%7E',
|
|
315642
315888
|
'%20': '+',
|
|
315643
|
-
'%00': '\x00'
|
|
315889
|
+
'%00': '\x00',
|
|
315644
315890
|
};
|
|
315645
315891
|
return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {
|
|
315646
315892
|
return charMap[match];
|
|
@@ -315668,13 +315914,17 @@ prototype.append = function append(name, value) {
|
|
|
315668
315914
|
};
|
|
315669
315915
|
|
|
315670
315916
|
prototype.toString = function toString(encoder) {
|
|
315671
|
-
const _encode = encoder
|
|
315672
|
-
|
|
315673
|
-
|
|
315917
|
+
const _encode = encoder
|
|
315918
|
+
? function (value) {
|
|
315919
|
+
return encoder.call(this, value, encode);
|
|
315920
|
+
}
|
|
315921
|
+
: encode;
|
|
315674
315922
|
|
|
315675
|
-
return this._pairs
|
|
315676
|
-
|
|
315677
|
-
|
|
315923
|
+
return this._pairs
|
|
315924
|
+
.map(function each(pair) {
|
|
315925
|
+
return _encode(pair[0]) + '=' + _encode(pair[1]);
|
|
315926
|
+
}, '')
|
|
315927
|
+
.join('&');
|
|
315678
315928
|
};
|
|
315679
315929
|
|
|
315680
315930
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AxiosURLSearchParams);
|
|
@@ -315682,9 +315932,9 @@ prototype.toString = function toString(encoder) {
|
|
|
315682
315932
|
|
|
315683
315933
|
/***/ }),
|
|
315684
315934
|
|
|
315685
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315935
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/HttpStatusCode.js":
|
|
315686
315936
|
/*!**********************************************************************************************************!*\
|
|
315687
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315937
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/HttpStatusCode.js ***!
|
|
315688
315938
|
\**********************************************************************************************************/
|
|
315689
315939
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315690
315940
|
|
|
@@ -315774,9 +316024,9 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
|
315774
316024
|
|
|
315775
316025
|
/***/ }),
|
|
315776
316026
|
|
|
315777
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316027
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/bind.js":
|
|
315778
316028
|
/*!************************************************************************************************!*\
|
|
315779
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316029
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/bind.js ***!
|
|
315780
316030
|
\************************************************************************************************/
|
|
315781
316031
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315782
316032
|
|
|
@@ -315803,9 +316053,9 @@ function bind(fn, thisArg) {
|
|
|
315803
316053
|
|
|
315804
316054
|
/***/ }),
|
|
315805
316055
|
|
|
315806
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316056
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/buildURL.js":
|
|
315807
316057
|
/*!****************************************************************************************************!*\
|
|
315808
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316058
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/buildURL.js ***!
|
|
315809
316059
|
\****************************************************************************************************/
|
|
315810
316060
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315811
316061
|
|
|
@@ -315814,8 +316064,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315814
316064
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315815
316065
|
/* harmony export */ "default": () => (/* binding */ buildURL)
|
|
315816
316066
|
/* 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.
|
|
316067
|
+
/* 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");
|
|
316068
|
+
/* 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
316069
|
|
|
315820
316070
|
|
|
315821
316071
|
|
|
@@ -315830,11 +316080,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315830
316080
|
* @returns {string} The encoded value.
|
|
315831
316081
|
*/
|
|
315832
316082
|
function encode(val) {
|
|
315833
|
-
return encodeURIComponent(val)
|
|
315834
|
-
replace(/%3A/gi, ':')
|
|
315835
|
-
replace(/%24/g, '$')
|
|
315836
|
-
replace(/%2C/gi, ',')
|
|
315837
|
-
replace(/%20/g, '+');
|
|
316083
|
+
return encodeURIComponent(val)
|
|
316084
|
+
.replace(/%3A/gi, ':')
|
|
316085
|
+
.replace(/%24/g, '$')
|
|
316086
|
+
.replace(/%2C/gi, ',')
|
|
316087
|
+
.replace(/%20/g, '+');
|
|
315838
316088
|
}
|
|
315839
316089
|
|
|
315840
316090
|
/**
|
|
@@ -315851,11 +316101,13 @@ function buildURL(url, params, options) {
|
|
|
315851
316101
|
return url;
|
|
315852
316102
|
}
|
|
315853
316103
|
|
|
315854
|
-
const _encode = options && options.encode || encode;
|
|
316104
|
+
const _encode = (options && options.encode) || encode;
|
|
315855
316105
|
|
|
315856
|
-
const _options = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFunction(options)
|
|
315857
|
-
|
|
315858
|
-
|
|
316106
|
+
const _options = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFunction(options)
|
|
316107
|
+
? {
|
|
316108
|
+
serialize: options,
|
|
316109
|
+
}
|
|
316110
|
+
: options;
|
|
315859
316111
|
|
|
315860
316112
|
const serializeFn = _options && _options.serialize;
|
|
315861
316113
|
|
|
@@ -315864,13 +316116,13 @@ function buildURL(url, params, options) {
|
|
|
315864
316116
|
if (serializeFn) {
|
|
315865
316117
|
serializedParams = serializeFn(params, _options);
|
|
315866
316118
|
} 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);
|
|
316119
|
+
serializedParams = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isURLSearchParams(params)
|
|
316120
|
+
? params.toString()
|
|
316121
|
+
: new _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__["default"](params, _options).toString(_encode);
|
|
315870
316122
|
}
|
|
315871
316123
|
|
|
315872
316124
|
if (serializedParams) {
|
|
315873
|
-
const hashmarkIndex = url.indexOf(
|
|
316125
|
+
const hashmarkIndex = url.indexOf('#');
|
|
315874
316126
|
|
|
315875
316127
|
if (hashmarkIndex !== -1) {
|
|
315876
316128
|
url = url.slice(0, hashmarkIndex);
|
|
@@ -315884,9 +316136,9 @@ function buildURL(url, params, options) {
|
|
|
315884
316136
|
|
|
315885
316137
|
/***/ }),
|
|
315886
316138
|
|
|
315887
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316139
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/combineURLs.js":
|
|
315888
316140
|
/*!*******************************************************************************************************!*\
|
|
315889
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316141
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/combineURLs.js ***!
|
|
315890
316142
|
\*******************************************************************************************************/
|
|
315891
316143
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315892
316144
|
|
|
@@ -315914,9 +316166,9 @@ function combineURLs(baseURL, relativeURL) {
|
|
|
315914
316166
|
|
|
315915
316167
|
/***/ }),
|
|
315916
316168
|
|
|
315917
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316169
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/composeSignals.js":
|
|
315918
316170
|
/*!**********************************************************************************************************!*\
|
|
315919
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316171
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/composeSignals.js ***!
|
|
315920
316172
|
\**********************************************************************************************************/
|
|
315921
316173
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315922
316174
|
|
|
@@ -315925,15 +316177,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315925
316177
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315926
316178
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
315927
316179
|
/* 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.
|
|
316180
|
+
/* 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");
|
|
316181
|
+
/* 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");
|
|
316182
|
+
/* 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
316183
|
|
|
315932
316184
|
|
|
315933
316185
|
|
|
315934
316186
|
|
|
315935
316187
|
const composeSignals = (signals, timeout) => {
|
|
315936
|
-
const {length} = (signals = signals ? signals.filter(Boolean) : []);
|
|
316188
|
+
const { length } = (signals = signals ? signals.filter(Boolean) : []);
|
|
315937
316189
|
|
|
315938
316190
|
if (timeout || length) {
|
|
315939
316191
|
let controller = new AbortController();
|
|
@@ -315945,44 +316197,52 @@ const composeSignals = (signals, timeout) => {
|
|
|
315945
316197
|
aborted = true;
|
|
315946
316198
|
unsubscribe();
|
|
315947
316199
|
const err = reason instanceof Error ? reason : this.reason;
|
|
315948
|
-
controller.abort(
|
|
316200
|
+
controller.abort(
|
|
316201
|
+
err instanceof _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"]
|
|
316202
|
+
? err
|
|
316203
|
+
: new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__["default"](err instanceof Error ? err.message : err)
|
|
316204
|
+
);
|
|
315949
316205
|
}
|
|
315950
|
-
}
|
|
316206
|
+
};
|
|
315951
316207
|
|
|
315952
|
-
let timer =
|
|
315953
|
-
|
|
315954
|
-
|
|
315955
|
-
|
|
316208
|
+
let timer =
|
|
316209
|
+
timeout &&
|
|
316210
|
+
setTimeout(() => {
|
|
316211
|
+
timer = null;
|
|
316212
|
+
onabort(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"](`timeout of ${timeout}ms exceeded`, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ETIMEDOUT));
|
|
316213
|
+
}, timeout);
|
|
315956
316214
|
|
|
315957
316215
|
const unsubscribe = () => {
|
|
315958
316216
|
if (signals) {
|
|
315959
316217
|
timer && clearTimeout(timer);
|
|
315960
316218
|
timer = null;
|
|
315961
|
-
signals.forEach(signal => {
|
|
315962
|
-
signal.unsubscribe
|
|
316219
|
+
signals.forEach((signal) => {
|
|
316220
|
+
signal.unsubscribe
|
|
316221
|
+
? signal.unsubscribe(onabort)
|
|
316222
|
+
: signal.removeEventListener('abort', onabort);
|
|
315963
316223
|
});
|
|
315964
316224
|
signals = null;
|
|
315965
316225
|
}
|
|
315966
|
-
}
|
|
316226
|
+
};
|
|
315967
316227
|
|
|
315968
316228
|
signals.forEach((signal) => signal.addEventListener('abort', onabort));
|
|
315969
316229
|
|
|
315970
|
-
const {signal} = controller;
|
|
316230
|
+
const { signal } = controller;
|
|
315971
316231
|
|
|
315972
316232
|
signal.unsubscribe = () => _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].asap(unsubscribe);
|
|
315973
316233
|
|
|
315974
316234
|
return signal;
|
|
315975
316235
|
}
|
|
315976
|
-
}
|
|
316236
|
+
};
|
|
315977
316237
|
|
|
315978
316238
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (composeSignals);
|
|
315979
316239
|
|
|
315980
316240
|
|
|
315981
316241
|
/***/ }),
|
|
315982
316242
|
|
|
315983
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316243
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/cookies.js":
|
|
315984
316244
|
/*!***************************************************************************************************!*\
|
|
315985
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316245
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/cookies.js ***!
|
|
315986
316246
|
\***************************************************************************************************/
|
|
315987
316247
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315988
316248
|
|
|
@@ -315991,68 +316251,63 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315991
316251
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315992
316252
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
315993
316253
|
/* 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.
|
|
315996
|
-
|
|
316254
|
+
/* 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");
|
|
316255
|
+
/* 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");
|
|
315997
316256
|
|
|
315998
316257
|
|
|
315999
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv ?
|
|
316000
316258
|
|
|
316001
|
-
|
|
316002
|
-
|
|
316003
|
-
|
|
316004
|
-
|
|
316259
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv
|
|
316260
|
+
? // Standard browser envs support document.cookie
|
|
316261
|
+
{
|
|
316262
|
+
write(name, value, expires, path, domain, secure, sameSite) {
|
|
316263
|
+
if (typeof document === 'undefined') return;
|
|
316005
316264
|
|
|
316006
|
-
|
|
316265
|
+
const cookie = [`${name}=${encodeURIComponent(value)}`];
|
|
316007
316266
|
|
|
316008
|
-
|
|
316009
|
-
|
|
316010
|
-
|
|
316011
|
-
|
|
316012
|
-
|
|
316013
|
-
|
|
316014
|
-
|
|
316015
|
-
|
|
316016
|
-
|
|
316017
|
-
|
|
316018
|
-
|
|
316019
|
-
|
|
316020
|
-
|
|
316021
|
-
|
|
316022
|
-
|
|
316267
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isNumber(expires)) {
|
|
316268
|
+
cookie.push(`expires=${new Date(expires).toUTCString()}`);
|
|
316269
|
+
}
|
|
316270
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isString(path)) {
|
|
316271
|
+
cookie.push(`path=${path}`);
|
|
316272
|
+
}
|
|
316273
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isString(domain)) {
|
|
316274
|
+
cookie.push(`domain=${domain}`);
|
|
316275
|
+
}
|
|
316276
|
+
if (secure === true) {
|
|
316277
|
+
cookie.push('secure');
|
|
316278
|
+
}
|
|
316279
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isString(sameSite)) {
|
|
316280
|
+
cookie.push(`SameSite=${sameSite}`);
|
|
316281
|
+
}
|
|
316023
316282
|
|
|
316024
|
-
|
|
316025
|
-
|
|
316283
|
+
document.cookie = cookie.join('; ');
|
|
316284
|
+
},
|
|
316026
316285
|
|
|
316027
|
-
|
|
316028
|
-
|
|
316029
|
-
|
|
316030
|
-
|
|
316031
|
-
|
|
316286
|
+
read(name) {
|
|
316287
|
+
if (typeof document === 'undefined') return null;
|
|
316288
|
+
const match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));
|
|
316289
|
+
return match ? decodeURIComponent(match[1]) : null;
|
|
316290
|
+
},
|
|
316032
316291
|
|
|
316033
|
-
|
|
316034
|
-
|
|
316292
|
+
remove(name) {
|
|
316293
|
+
this.write(name, '', Date.now() - 86400000, '/');
|
|
316294
|
+
},
|
|
316035
316295
|
}
|
|
316036
|
-
|
|
316037
|
-
|
|
316038
|
-
|
|
316039
|
-
|
|
316040
|
-
|
|
316041
|
-
|
|
316042
|
-
|
|
316043
|
-
|
|
316044
|
-
return null;
|
|
316045
|
-
},
|
|
316046
|
-
remove() {}
|
|
316047
|
-
});
|
|
316048
|
-
|
|
316296
|
+
: // Non-standard browser env (web workers, react-native) lack needed support.
|
|
316297
|
+
{
|
|
316298
|
+
write() {},
|
|
316299
|
+
read() {
|
|
316300
|
+
return null;
|
|
316301
|
+
},
|
|
316302
|
+
remove() {},
|
|
316303
|
+
});
|
|
316049
316304
|
|
|
316050
316305
|
|
|
316051
316306
|
/***/ }),
|
|
316052
316307
|
|
|
316053
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316308
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/formDataToJSON.js":
|
|
316054
316309
|
/*!**********************************************************************************************************!*\
|
|
316055
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316310
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/formDataToJSON.js ***!
|
|
316056
316311
|
\**********************************************************************************************************/
|
|
316057
316312
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316058
316313
|
|
|
@@ -316061,7 +316316,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316061
316316
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316062
316317
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
316063
316318
|
/* harmony export */ });
|
|
316064
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316319
|
+
/* 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
316320
|
|
|
316066
316321
|
|
|
316067
316322
|
|
|
@@ -316078,7 +316333,7 @@ function parsePropPath(name) {
|
|
|
316078
316333
|
// foo.x.y.z
|
|
316079
316334
|
// foo-x-y-z
|
|
316080
316335
|
// foo x y z
|
|
316081
|
-
return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].matchAll(/\w+|\[(\w*)]/g, name).map(match => {
|
|
316336
|
+
return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
|
|
316082
316337
|
return match[0] === '[]' ? '' : match[1] || match[0];
|
|
316083
316338
|
});
|
|
316084
316339
|
}
|
|
@@ -316161,9 +316416,9 @@ function formDataToJSON(formData) {
|
|
|
316161
316416
|
|
|
316162
316417
|
/***/ }),
|
|
316163
316418
|
|
|
316164
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316419
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isAbsoluteURL.js":
|
|
316165
316420
|
/*!*********************************************************************************************************!*\
|
|
316166
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316421
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isAbsoluteURL.js ***!
|
|
316167
316422
|
\*********************************************************************************************************/
|
|
316168
316423
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316169
316424
|
|
|
@@ -316193,12 +316448,11 @@ function isAbsoluteURL(url) {
|
|
|
316193
316448
|
}
|
|
316194
316449
|
|
|
316195
316450
|
|
|
316196
|
-
|
|
316197
316451
|
/***/ }),
|
|
316198
316452
|
|
|
316199
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316453
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isAxiosError.js":
|
|
316200
316454
|
/*!********************************************************************************************************!*\
|
|
316201
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316455
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isAxiosError.js ***!
|
|
316202
316456
|
\********************************************************************************************************/
|
|
316203
316457
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316204
316458
|
|
|
@@ -316207,7 +316461,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316207
316461
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316208
316462
|
/* harmony export */ "default": () => (/* binding */ isAxiosError)
|
|
316209
316463
|
/* harmony export */ });
|
|
316210
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316464
|
+
/* 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
316465
|
|
|
316212
316466
|
|
|
316213
316467
|
|
|
@@ -316220,15 +316474,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316220
316474
|
* @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
|
|
316221
316475
|
*/
|
|
316222
316476
|
function isAxiosError(payload) {
|
|
316223
|
-
return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(payload) &&
|
|
316477
|
+
return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(payload) && payload.isAxiosError === true;
|
|
316224
316478
|
}
|
|
316225
316479
|
|
|
316226
316480
|
|
|
316227
316481
|
/***/ }),
|
|
316228
316482
|
|
|
316229
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316483
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isURLSameOrigin.js":
|
|
316230
316484
|
/*!***********************************************************************************************************!*\
|
|
316231
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316485
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isURLSameOrigin.js ***!
|
|
316232
316486
|
\***********************************************************************************************************/
|
|
316233
316487
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316234
316488
|
|
|
@@ -316237,28 +316491,30 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316237
316491
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316238
316492
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
316239
316493
|
/* 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.
|
|
316494
|
+
/* 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
316495
|
|
|
316242
316496
|
|
|
316243
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv
|
|
316244
|
-
|
|
316497
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv
|
|
316498
|
+
? ((origin, isMSIE) => (url) => {
|
|
316499
|
+
url = new URL(url, _platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].origin);
|
|
316245
316500
|
|
|
316246
|
-
|
|
316247
|
-
|
|
316248
|
-
|
|
316249
|
-
|
|
316250
|
-
|
|
316251
|
-
})(
|
|
316252
|
-
|
|
316253
|
-
|
|
316254
|
-
)
|
|
316501
|
+
return (
|
|
316502
|
+
origin.protocol === url.protocol &&
|
|
316503
|
+
origin.host === url.host &&
|
|
316504
|
+
(isMSIE || origin.port === url.port)
|
|
316505
|
+
);
|
|
316506
|
+
})(
|
|
316507
|
+
new URL(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].origin),
|
|
316508
|
+
_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].navigator && /(msie|trident)/i.test(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].navigator.userAgent)
|
|
316509
|
+
)
|
|
316510
|
+
: () => true);
|
|
316255
316511
|
|
|
316256
316512
|
|
|
316257
316513
|
/***/ }),
|
|
316258
316514
|
|
|
316259
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316515
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/null.js":
|
|
316260
316516
|
/*!************************************************************************************************!*\
|
|
316261
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316517
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/null.js ***!
|
|
316262
316518
|
\************************************************************************************************/
|
|
316263
316519
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316264
316520
|
|
|
@@ -316273,9 +316529,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316273
316529
|
|
|
316274
316530
|
/***/ }),
|
|
316275
316531
|
|
|
316276
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316532
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/parseHeaders.js":
|
|
316277
316533
|
/*!********************************************************************************************************!*\
|
|
316278
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316534
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/parseHeaders.js ***!
|
|
316279
316535
|
\********************************************************************************************************/
|
|
316280
316536
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316281
316537
|
|
|
@@ -316284,7 +316540,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316284
316540
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316285
316541
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
316286
316542
|
/* harmony export */ });
|
|
316287
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316543
|
+
/* 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
316544
|
|
|
316289
316545
|
|
|
316290
316546
|
|
|
@@ -316292,10 +316548,23 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316292
316548
|
// RawAxiosHeaders whose duplicates are ignored by node
|
|
316293
316549
|
// c.f. https://nodejs.org/api/http.html#http_message_headers
|
|
316294
316550
|
const ignoreDuplicateOf = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toObjectSet([
|
|
316295
|
-
'age',
|
|
316296
|
-
'
|
|
316297
|
-
'
|
|
316298
|
-
'
|
|
316551
|
+
'age',
|
|
316552
|
+
'authorization',
|
|
316553
|
+
'content-length',
|
|
316554
|
+
'content-type',
|
|
316555
|
+
'etag',
|
|
316556
|
+
'expires',
|
|
316557
|
+
'from',
|
|
316558
|
+
'host',
|
|
316559
|
+
'if-modified-since',
|
|
316560
|
+
'if-unmodified-since',
|
|
316561
|
+
'last-modified',
|
|
316562
|
+
'location',
|
|
316563
|
+
'max-forwards',
|
|
316564
|
+
'proxy-authorization',
|
|
316565
|
+
'referer',
|
|
316566
|
+
'retry-after',
|
|
316567
|
+
'user-agent',
|
|
316299
316568
|
]);
|
|
316300
316569
|
|
|
316301
316570
|
/**
|
|
@@ -316312,31 +316581,32 @@ const ignoreDuplicateOf = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toOb
|
|
|
316312
316581
|
*
|
|
316313
316582
|
* @returns {Object} Headers parsed into an object
|
|
316314
316583
|
*/
|
|
316315
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (rawHeaders => {
|
|
316584
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((rawHeaders) => {
|
|
316316
316585
|
const parsed = {};
|
|
316317
316586
|
let key;
|
|
316318
316587
|
let val;
|
|
316319
316588
|
let i;
|
|
316320
316589
|
|
|
316321
|
-
rawHeaders &&
|
|
316322
|
-
|
|
316323
|
-
|
|
316324
|
-
|
|
316590
|
+
rawHeaders &&
|
|
316591
|
+
rawHeaders.split('\n').forEach(function parser(line) {
|
|
316592
|
+
i = line.indexOf(':');
|
|
316593
|
+
key = line.substring(0, i).trim().toLowerCase();
|
|
316594
|
+
val = line.substring(i + 1).trim();
|
|
316325
316595
|
|
|
316326
|
-
|
|
316327
|
-
|
|
316328
|
-
|
|
316596
|
+
if (!key || (parsed[key] && ignoreDuplicateOf[key])) {
|
|
316597
|
+
return;
|
|
316598
|
+
}
|
|
316329
316599
|
|
|
316330
|
-
|
|
316331
|
-
|
|
316332
|
-
|
|
316600
|
+
if (key === 'set-cookie') {
|
|
316601
|
+
if (parsed[key]) {
|
|
316602
|
+
parsed[key].push(val);
|
|
316603
|
+
} else {
|
|
316604
|
+
parsed[key] = [val];
|
|
316605
|
+
}
|
|
316333
316606
|
} else {
|
|
316334
|
-
parsed[key] = [val
|
|
316607
|
+
parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
|
|
316335
316608
|
}
|
|
316336
|
-
}
|
|
316337
|
-
parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
|
|
316338
|
-
}
|
|
316339
|
-
});
|
|
316609
|
+
});
|
|
316340
316610
|
|
|
316341
316611
|
return parsed;
|
|
316342
316612
|
});
|
|
@@ -316344,9 +316614,9 @@ const ignoreDuplicateOf = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toOb
|
|
|
316344
316614
|
|
|
316345
316615
|
/***/ }),
|
|
316346
316616
|
|
|
316347
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316617
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/parseProtocol.js":
|
|
316348
316618
|
/*!*********************************************************************************************************!*\
|
|
316349
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316619
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/parseProtocol.js ***!
|
|
316350
316620
|
\*********************************************************************************************************/
|
|
316351
316621
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316352
316622
|
|
|
@@ -316359,15 +316629,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316359
316629
|
|
|
316360
316630
|
function parseProtocol(url) {
|
|
316361
316631
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
|
|
316362
|
-
return match && match[1] || '';
|
|
316632
|
+
return (match && match[1]) || '';
|
|
316363
316633
|
}
|
|
316364
316634
|
|
|
316365
316635
|
|
|
316366
316636
|
/***/ }),
|
|
316367
316637
|
|
|
316368
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316638
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/progressEventReducer.js":
|
|
316369
316639
|
/*!****************************************************************************************************************!*\
|
|
316370
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316640
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/progressEventReducer.js ***!
|
|
316371
316641
|
\****************************************************************************************************************/
|
|
316372
316642
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316373
316643
|
|
|
@@ -316378,9 +316648,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316378
316648
|
/* harmony export */ progressEventDecorator: () => (/* binding */ progressEventDecorator),
|
|
316379
316649
|
/* harmony export */ progressEventReducer: () => (/* binding */ progressEventReducer)
|
|
316380
316650
|
/* 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.
|
|
316651
|
+
/* 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");
|
|
316652
|
+
/* 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");
|
|
316653
|
+
/* 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
316654
|
|
|
316385
316655
|
|
|
316386
316656
|
|
|
@@ -316389,7 +316659,7 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
|
316389
316659
|
let bytesNotified = 0;
|
|
316390
316660
|
const _speedometer = (0,_speedometer_js__WEBPACK_IMPORTED_MODULE_0__["default"])(50, 250);
|
|
316391
316661
|
|
|
316392
|
-
return (0,_throttle_js__WEBPACK_IMPORTED_MODULE_1__["default"])(e => {
|
|
316662
|
+
return (0,_throttle_js__WEBPACK_IMPORTED_MODULE_1__["default"])((e) => {
|
|
316393
316663
|
const loaded = e.loaded;
|
|
316394
316664
|
const total = e.lengthComputable ? e.total : undefined;
|
|
316395
316665
|
const progressBytes = loaded - bytesNotified;
|
|
@@ -316401,37 +316671,44 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
|
316401
316671
|
const data = {
|
|
316402
316672
|
loaded,
|
|
316403
316673
|
total,
|
|
316404
|
-
progress: total ?
|
|
316674
|
+
progress: total ? loaded / total : undefined,
|
|
316405
316675
|
bytes: progressBytes,
|
|
316406
316676
|
rate: rate ? rate : undefined,
|
|
316407
316677
|
estimated: rate && total && inRange ? (total - loaded) / rate : undefined,
|
|
316408
316678
|
event: e,
|
|
316409
316679
|
lengthComputable: total != null,
|
|
316410
|
-
[isDownloadStream ? 'download' : 'upload']: true
|
|
316680
|
+
[isDownloadStream ? 'download' : 'upload']: true,
|
|
316411
316681
|
};
|
|
316412
316682
|
|
|
316413
316683
|
listener(data);
|
|
316414
316684
|
}, freq);
|
|
316415
|
-
}
|
|
316685
|
+
};
|
|
316416
316686
|
|
|
316417
316687
|
const progressEventDecorator = (total, throttled) => {
|
|
316418
316688
|
const lengthComputable = total != null;
|
|
316419
316689
|
|
|
316420
|
-
return [
|
|
316421
|
-
|
|
316422
|
-
|
|
316423
|
-
|
|
316424
|
-
|
|
316425
|
-
|
|
316690
|
+
return [
|
|
316691
|
+
(loaded) =>
|
|
316692
|
+
throttled[0]({
|
|
316693
|
+
lengthComputable,
|
|
316694
|
+
total,
|
|
316695
|
+
loaded,
|
|
316696
|
+
}),
|
|
316697
|
+
throttled[1],
|
|
316698
|
+
];
|
|
316699
|
+
};
|
|
316426
316700
|
|
|
316427
|
-
const asyncDecorator =
|
|
316701
|
+
const asyncDecorator =
|
|
316702
|
+
(fn) =>
|
|
316703
|
+
(...args) =>
|
|
316704
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].asap(() => fn(...args));
|
|
316428
316705
|
|
|
316429
316706
|
|
|
316430
316707
|
/***/ }),
|
|
316431
316708
|
|
|
316432
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316709
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/resolveConfig.js":
|
|
316433
316710
|
/*!*********************************************************************************************************!*\
|
|
316434
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316711
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/resolveConfig.js ***!
|
|
316435
316712
|
\*********************************************************************************************************/
|
|
316436
316713
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316437
316714
|
|
|
@@ -316440,14 +316717,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316440
316717
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316441
316718
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
316442
316719
|
/* 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.
|
|
316720
|
+
/* 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");
|
|
316721
|
+
/* 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");
|
|
316722
|
+
/* 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");
|
|
316723
|
+
/* 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");
|
|
316724
|
+
/* 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");
|
|
316725
|
+
/* 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");
|
|
316726
|
+
/* 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");
|
|
316727
|
+
/* 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
316728
|
|
|
316452
316729
|
|
|
316453
316730
|
|
|
@@ -316464,12 +316741,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316464
316741
|
|
|
316465
316742
|
newConfig.headers = headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(headers);
|
|
316466
316743
|
|
|
316467
|
-
newConfig.url = (0,_buildURL_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
316744
|
+
newConfig.url = (0,_buildURL_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
316745
|
+
(0,_core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_3__["default"])(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls),
|
|
316746
|
+
config.params,
|
|
316747
|
+
config.paramsSerializer
|
|
316748
|
+
);
|
|
316468
316749
|
|
|
316469
316750
|
// HTTP basic authentication
|
|
316470
316751
|
if (auth) {
|
|
316471
|
-
headers.set(
|
|
316472
|
-
|
|
316752
|
+
headers.set(
|
|
316753
|
+
'Authorization',
|
|
316754
|
+
'Basic ' +
|
|
316755
|
+
btoa(
|
|
316756
|
+
(auth.username || '') +
|
|
316757
|
+
':' +
|
|
316758
|
+
(auth.password ? unescape(encodeURIComponent(auth.password)) : '')
|
|
316759
|
+
)
|
|
316473
316760
|
);
|
|
316474
316761
|
}
|
|
316475
316762
|
|
|
@@ -316487,7 +316774,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316487
316774
|
}
|
|
316488
316775
|
});
|
|
316489
316776
|
}
|
|
316490
|
-
}
|
|
316777
|
+
}
|
|
316491
316778
|
|
|
316492
316779
|
// Add xsrf header
|
|
316493
316780
|
// This is only done if running in a standard browser environment.
|
|
@@ -316510,12 +316797,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316510
316797
|
});
|
|
316511
316798
|
|
|
316512
316799
|
|
|
316513
|
-
|
|
316514
316800
|
/***/ }),
|
|
316515
316801
|
|
|
316516
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316802
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/speedometer.js":
|
|
316517
316803
|
/*!*******************************************************************************************************!*\
|
|
316518
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316804
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/speedometer.js ***!
|
|
316519
316805
|
\*******************************************************************************************************/
|
|
316520
316806
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316521
316807
|
|
|
@@ -316574,7 +316860,7 @@ function speedometer(samplesCount, min) {
|
|
|
316574
316860
|
|
|
316575
316861
|
const passed = startedAt && now - startedAt;
|
|
316576
316862
|
|
|
316577
|
-
return passed ? Math.round(bytesCount * 1000 / passed) : undefined;
|
|
316863
|
+
return passed ? Math.round((bytesCount * 1000) / passed) : undefined;
|
|
316578
316864
|
};
|
|
316579
316865
|
}
|
|
316580
316866
|
|
|
@@ -316583,9 +316869,9 @@ function speedometer(samplesCount, min) {
|
|
|
316583
316869
|
|
|
316584
316870
|
/***/ }),
|
|
316585
316871
|
|
|
316586
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316872
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/spread.js":
|
|
316587
316873
|
/*!**************************************************************************************************!*\
|
|
316588
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316874
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/spread.js ***!
|
|
316589
316875
|
\**************************************************************************************************/
|
|
316590
316876
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316591
316877
|
|
|
@@ -316626,9 +316912,9 @@ function spread(callback) {
|
|
|
316626
316912
|
|
|
316627
316913
|
/***/ }),
|
|
316628
316914
|
|
|
316629
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316915
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/throttle.js":
|
|
316630
316916
|
/*!****************************************************************************************************!*\
|
|
316631
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316917
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/throttle.js ***!
|
|
316632
316918
|
\****************************************************************************************************/
|
|
316633
316919
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316634
316920
|
|
|
@@ -316657,23 +316943,23 @@ function throttle(fn, freq) {
|
|
|
316657
316943
|
timer = null;
|
|
316658
316944
|
}
|
|
316659
316945
|
fn(...args);
|
|
316660
|
-
}
|
|
316946
|
+
};
|
|
316661
316947
|
|
|
316662
316948
|
const throttled = (...args) => {
|
|
316663
316949
|
const now = Date.now();
|
|
316664
316950
|
const passed = now - timestamp;
|
|
316665
|
-
if (
|
|
316951
|
+
if (passed >= threshold) {
|
|
316666
316952
|
invoke(args, now);
|
|
316667
316953
|
} else {
|
|
316668
316954
|
lastArgs = args;
|
|
316669
316955
|
if (!timer) {
|
|
316670
316956
|
timer = setTimeout(() => {
|
|
316671
316957
|
timer = null;
|
|
316672
|
-
invoke(lastArgs)
|
|
316958
|
+
invoke(lastArgs);
|
|
316673
316959
|
}, threshold - passed);
|
|
316674
316960
|
}
|
|
316675
316961
|
}
|
|
316676
|
-
}
|
|
316962
|
+
};
|
|
316677
316963
|
|
|
316678
316964
|
const flush = () => lastArgs && invoke(lastArgs);
|
|
316679
316965
|
|
|
@@ -316685,9 +316971,9 @@ function throttle(fn, freq) {
|
|
|
316685
316971
|
|
|
316686
316972
|
/***/ }),
|
|
316687
316973
|
|
|
316688
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316974
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toFormData.js":
|
|
316689
316975
|
/*!******************************************************************************************************!*\
|
|
316690
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316976
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toFormData.js ***!
|
|
316691
316977
|
\******************************************************************************************************/
|
|
316692
316978
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316693
316979
|
|
|
@@ -316696,9 +316982,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316696
316982
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316697
316983
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
316698
316984
|
/* 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.
|
|
316985
|
+
/* 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");
|
|
316986
|
+
/* 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");
|
|
316987
|
+
/* 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
316988
|
|
|
316703
316989
|
|
|
316704
316990
|
|
|
@@ -316739,11 +317025,14 @@ function removeBrackets(key) {
|
|
|
316739
317025
|
*/
|
|
316740
317026
|
function renderKey(path, key, dots) {
|
|
316741
317027
|
if (!path) return key;
|
|
316742
|
-
return path
|
|
316743
|
-
|
|
316744
|
-
|
|
316745
|
-
|
|
316746
|
-
|
|
317028
|
+
return path
|
|
317029
|
+
.concat(key)
|
|
317030
|
+
.map(function each(token, i) {
|
|
317031
|
+
// eslint-disable-next-line no-param-reassign
|
|
317032
|
+
token = removeBrackets(token);
|
|
317033
|
+
return !dots && i ? '[' + token + ']' : token;
|
|
317034
|
+
})
|
|
317035
|
+
.join(dots ? '.' : '');
|
|
316747
317036
|
}
|
|
316748
317037
|
|
|
316749
317038
|
/**
|
|
@@ -316793,21 +317082,26 @@ function toFormData(obj, formData, options) {
|
|
|
316793
317082
|
formData = formData || new (_platform_node_classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__["default"] || FormData)();
|
|
316794
317083
|
|
|
316795
317084
|
// eslint-disable-next-line no-param-reassign
|
|
316796
|
-
options = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toFlatObject(
|
|
316797
|
-
|
|
316798
|
-
|
|
316799
|
-
|
|
316800
|
-
|
|
316801
|
-
|
|
316802
|
-
|
|
316803
|
-
|
|
317085
|
+
options = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toFlatObject(
|
|
317086
|
+
options,
|
|
317087
|
+
{
|
|
317088
|
+
metaTokens: true,
|
|
317089
|
+
dots: false,
|
|
317090
|
+
indexes: false,
|
|
317091
|
+
},
|
|
317092
|
+
false,
|
|
317093
|
+
function defined(option, source) {
|
|
317094
|
+
// eslint-disable-next-line no-eq-null,eqeqeq
|
|
317095
|
+
return !_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(source[option]);
|
|
317096
|
+
}
|
|
317097
|
+
);
|
|
316804
317098
|
|
|
316805
317099
|
const metaTokens = options.metaTokens;
|
|
316806
317100
|
// eslint-disable-next-line no-use-before-define
|
|
316807
317101
|
const visitor = options.visitor || defaultVisitor;
|
|
316808
317102
|
const dots = options.dots;
|
|
316809
317103
|
const indexes = options.indexes;
|
|
316810
|
-
const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob;
|
|
317104
|
+
const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob);
|
|
316811
317105
|
const useBlob = _Blob && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isSpecCompliantForm(formData);
|
|
316812
317106
|
|
|
316813
317107
|
if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFunction(visitor)) {
|
|
@@ -316849,6 +317143,11 @@ function toFormData(obj, formData, options) {
|
|
|
316849
317143
|
function defaultVisitor(value, key, path) {
|
|
316850
317144
|
let arr = value;
|
|
316851
317145
|
|
|
317146
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReactNative(formData) && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReactNativeBlob(value)) {
|
|
317147
|
+
formData.append(renderKey(path, key, dots), convertValue(value));
|
|
317148
|
+
return false;
|
|
317149
|
+
}
|
|
317150
|
+
|
|
316852
317151
|
if (value && !path && typeof value === 'object') {
|
|
316853
317152
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].endsWith(key, '{}')) {
|
|
316854
317153
|
// eslint-disable-next-line no-param-reassign
|
|
@@ -316857,17 +317156,22 @@ function toFormData(obj, formData, options) {
|
|
|
316857
317156
|
value = JSON.stringify(value);
|
|
316858
317157
|
} else if (
|
|
316859
317158
|
(_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
|
-
|
|
317159
|
+
((_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)))
|
|
317160
|
+
) {
|
|
316862
317161
|
// eslint-disable-next-line no-param-reassign
|
|
316863
317162
|
key = removeBrackets(key);
|
|
316864
317163
|
|
|
316865
317164
|
arr.forEach(function each(el, index) {
|
|
316866
|
-
!(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(el) || el === null) &&
|
|
316867
|
-
|
|
316868
|
-
|
|
316869
|
-
|
|
316870
|
-
|
|
317165
|
+
!(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(el) || el === null) &&
|
|
317166
|
+
formData.append(
|
|
317167
|
+
// eslint-disable-next-line no-nested-ternary
|
|
317168
|
+
indexes === true
|
|
317169
|
+
? renderKey([key], index, dots)
|
|
317170
|
+
: indexes === null
|
|
317171
|
+
? key
|
|
317172
|
+
: key + '[]',
|
|
317173
|
+
convertValue(el)
|
|
317174
|
+
);
|
|
316871
317175
|
});
|
|
316872
317176
|
return false;
|
|
316873
317177
|
}
|
|
@@ -316887,7 +317191,7 @@ function toFormData(obj, formData, options) {
|
|
|
316887
317191
|
const exposedHelpers = Object.assign(predicates, {
|
|
316888
317192
|
defaultVisitor,
|
|
316889
317193
|
convertValue,
|
|
316890
|
-
isVisitable
|
|
317194
|
+
isVisitable,
|
|
316891
317195
|
});
|
|
316892
317196
|
|
|
316893
317197
|
function build(value, path) {
|
|
@@ -316900,9 +317204,9 @@ function toFormData(obj, formData, options) {
|
|
|
316900
317204
|
stack.push(value);
|
|
316901
317205
|
|
|
316902
317206
|
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(value, function each(el, key) {
|
|
316903
|
-
const result =
|
|
316904
|
-
|
|
316905
|
-
|
|
317207
|
+
const result =
|
|
317208
|
+
!(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(el) || el === null) &&
|
|
317209
|
+
visitor.call(formData, el, _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(key) ? key.trim() : key, path, exposedHelpers);
|
|
316906
317210
|
|
|
316907
317211
|
if (result === true) {
|
|
316908
317212
|
build(el, path ? path.concat(key) : [key]);
|
|
@@ -316926,9 +317230,9 @@ function toFormData(obj, formData, options) {
|
|
|
316926
317230
|
|
|
316927
317231
|
/***/ }),
|
|
316928
317232
|
|
|
316929
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317233
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toURLEncodedForm.js":
|
|
316930
317234
|
/*!************************************************************************************************************!*\
|
|
316931
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317235
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toURLEncodedForm.js ***!
|
|
316932
317236
|
\************************************************************************************************************/
|
|
316933
317237
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316934
317238
|
|
|
@@ -316937,9 +317241,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316937
317241
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316938
317242
|
/* harmony export */ "default": () => (/* binding */ toURLEncodedForm)
|
|
316939
317243
|
/* 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.
|
|
317244
|
+
/* 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");
|
|
317245
|
+
/* 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");
|
|
317246
|
+
/* 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
317247
|
|
|
316944
317248
|
|
|
316945
317249
|
|
|
@@ -316948,7 +317252,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316948
317252
|
|
|
316949
317253
|
function toURLEncodedForm(data, options) {
|
|
316950
317254
|
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) {
|
|
317255
|
+
visitor: function (value, key, path, helpers) {
|
|
316952
317256
|
if (_platform_index_js__WEBPACK_IMPORTED_MODULE_1__["default"].isNode && _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].isBuffer(value)) {
|
|
316953
317257
|
this.append(key, value.toString('base64'));
|
|
316954
317258
|
return false;
|
|
@@ -316956,16 +317260,16 @@ function toURLEncodedForm(data, options) {
|
|
|
316956
317260
|
|
|
316957
317261
|
return helpers.defaultVisitor.apply(this, arguments);
|
|
316958
317262
|
},
|
|
316959
|
-
...options
|
|
317263
|
+
...options,
|
|
316960
317264
|
});
|
|
316961
317265
|
}
|
|
316962
317266
|
|
|
316963
317267
|
|
|
316964
317268
|
/***/ }),
|
|
316965
317269
|
|
|
316966
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317270
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/trackStream.js":
|
|
316967
317271
|
/*!*******************************************************************************************************!*\
|
|
316968
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317272
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/trackStream.js ***!
|
|
316969
317273
|
\*******************************************************************************************************/
|
|
316970
317274
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316971
317275
|
|
|
@@ -316976,7 +317280,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316976
317280
|
/* harmony export */ streamChunk: () => (/* binding */ streamChunk),
|
|
316977
317281
|
/* harmony export */ trackStream: () => (/* binding */ trackStream)
|
|
316978
317282
|
/* harmony export */ });
|
|
316979
|
-
|
|
316980
317283
|
const streamChunk = function* (chunk, chunkSize) {
|
|
316981
317284
|
let len = chunk.byteLength;
|
|
316982
317285
|
|
|
@@ -316993,13 +317296,13 @@ const streamChunk = function* (chunk, chunkSize) {
|
|
|
316993
317296
|
yield chunk.slice(pos, end);
|
|
316994
317297
|
pos = end;
|
|
316995
317298
|
}
|
|
316996
|
-
}
|
|
317299
|
+
};
|
|
316997
317300
|
|
|
316998
317301
|
const readBytes = async function* (iterable, chunkSize) {
|
|
316999
317302
|
for await (const chunk of readStream(iterable)) {
|
|
317000
317303
|
yield* streamChunk(chunk, chunkSize);
|
|
317001
317304
|
}
|
|
317002
|
-
}
|
|
317305
|
+
};
|
|
317003
317306
|
|
|
317004
317307
|
const readStream = async function* (stream) {
|
|
317005
317308
|
if (stream[Symbol.asyncIterator]) {
|
|
@@ -317010,7 +317313,7 @@ const readStream = async function* (stream) {
|
|
|
317010
317313
|
const reader = stream.getReader();
|
|
317011
317314
|
try {
|
|
317012
317315
|
for (;;) {
|
|
317013
|
-
const {done, value} = await reader.read();
|
|
317316
|
+
const { done, value } = await reader.read();
|
|
317014
317317
|
if (done) {
|
|
317015
317318
|
break;
|
|
317016
317319
|
}
|
|
@@ -317019,7 +317322,7 @@ const readStream = async function* (stream) {
|
|
|
317019
317322
|
} finally {
|
|
317020
317323
|
await reader.cancel();
|
|
317021
317324
|
}
|
|
317022
|
-
}
|
|
317325
|
+
};
|
|
317023
317326
|
|
|
317024
317327
|
const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
317025
317328
|
const iterator = readBytes(stream, chunkSize);
|
|
@@ -317031,45 +317334,48 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
|
317031
317334
|
done = true;
|
|
317032
317335
|
onFinish && onFinish(e);
|
|
317033
317336
|
}
|
|
317034
|
-
}
|
|
317337
|
+
};
|
|
317035
317338
|
|
|
317036
|
-
return new ReadableStream(
|
|
317037
|
-
|
|
317038
|
-
|
|
317039
|
-
|
|
317339
|
+
return new ReadableStream(
|
|
317340
|
+
{
|
|
317341
|
+
async pull(controller) {
|
|
317342
|
+
try {
|
|
317343
|
+
const { done, value } = await iterator.next();
|
|
317040
317344
|
|
|
317041
|
-
|
|
317042
|
-
|
|
317043
|
-
|
|
317044
|
-
|
|
317045
|
-
|
|
317345
|
+
if (done) {
|
|
317346
|
+
_onFinish();
|
|
317347
|
+
controller.close();
|
|
317348
|
+
return;
|
|
317349
|
+
}
|
|
317046
317350
|
|
|
317047
|
-
|
|
317048
|
-
|
|
317049
|
-
|
|
317050
|
-
|
|
317351
|
+
let len = value.byteLength;
|
|
317352
|
+
if (onProgress) {
|
|
317353
|
+
let loadedBytes = (bytes += len);
|
|
317354
|
+
onProgress(loadedBytes);
|
|
317355
|
+
}
|
|
317356
|
+
controller.enqueue(new Uint8Array(value));
|
|
317357
|
+
} catch (err) {
|
|
317358
|
+
_onFinish(err);
|
|
317359
|
+
throw err;
|
|
317051
317360
|
}
|
|
317052
|
-
|
|
317053
|
-
|
|
317054
|
-
_onFinish(
|
|
317055
|
-
|
|
317056
|
-
}
|
|
317361
|
+
},
|
|
317362
|
+
cancel(reason) {
|
|
317363
|
+
_onFinish(reason);
|
|
317364
|
+
return iterator.return();
|
|
317365
|
+
},
|
|
317057
317366
|
},
|
|
317058
|
-
|
|
317059
|
-
|
|
317060
|
-
return iterator.return();
|
|
317367
|
+
{
|
|
317368
|
+
highWaterMark: 2,
|
|
317061
317369
|
}
|
|
317062
|
-
|
|
317063
|
-
|
|
317064
|
-
})
|
|
317065
|
-
}
|
|
317370
|
+
);
|
|
317371
|
+
};
|
|
317066
317372
|
|
|
317067
317373
|
|
|
317068
317374
|
/***/ }),
|
|
317069
317375
|
|
|
317070
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317376
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/validator.js":
|
|
317071
317377
|
/*!*****************************************************************************************************!*\
|
|
317072
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317378
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/validator.js ***!
|
|
317073
317379
|
\*****************************************************************************************************/
|
|
317074
317380
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317075
317381
|
|
|
@@ -317078,8 +317384,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317078
317384
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
317079
317385
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
317080
317386
|
/* 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.
|
|
317387
|
+
/* 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");
|
|
317388
|
+
/* 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
317389
|
|
|
317084
317390
|
|
|
317085
317391
|
|
|
@@ -317107,7 +317413,15 @@ const deprecatedWarnings = {};
|
|
|
317107
317413
|
*/
|
|
317108
317414
|
validators.transitional = function transitional(validator, version, message) {
|
|
317109
317415
|
function formatMessage(opt, desc) {
|
|
317110
|
-
return
|
|
317416
|
+
return (
|
|
317417
|
+
'[Axios v' +
|
|
317418
|
+
_env_data_js__WEBPACK_IMPORTED_MODULE_0__.VERSION +
|
|
317419
|
+
"] Transitional option '" +
|
|
317420
|
+
opt +
|
|
317421
|
+
"'" +
|
|
317422
|
+
desc +
|
|
317423
|
+
(message ? '. ' + message : '')
|
|
317424
|
+
);
|
|
317111
317425
|
}
|
|
317112
317426
|
|
|
317113
317427
|
// eslint-disable-next-line func-names
|
|
@@ -317139,7 +317453,7 @@ validators.spelling = function spelling(correctSpelling) {
|
|
|
317139
317453
|
// eslint-disable-next-line no-console
|
|
317140
317454
|
console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);
|
|
317141
317455
|
return true;
|
|
317142
|
-
}
|
|
317456
|
+
};
|
|
317143
317457
|
};
|
|
317144
317458
|
|
|
317145
317459
|
/**
|
|
@@ -317165,7 +317479,10 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
317165
317479
|
const value = options[opt];
|
|
317166
317480
|
const result = value === undefined || validator(value, opt, options);
|
|
317167
317481
|
if (result !== true) {
|
|
317168
|
-
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"](
|
|
317482
|
+
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"](
|
|
317483
|
+
'option ' + opt + ' must be ' + result,
|
|
317484
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"].ERR_BAD_OPTION_VALUE
|
|
317485
|
+
);
|
|
317169
317486
|
}
|
|
317170
317487
|
continue;
|
|
317171
317488
|
}
|
|
@@ -317177,15 +317494,15 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
317177
317494
|
|
|
317178
317495
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
317179
317496
|
assertOptions,
|
|
317180
|
-
validators
|
|
317497
|
+
validators,
|
|
317181
317498
|
});
|
|
317182
317499
|
|
|
317183
317500
|
|
|
317184
317501
|
/***/ }),
|
|
317185
317502
|
|
|
317186
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317503
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/Blob.js":
|
|
317187
317504
|
/*!*****************************************************************************************************************!*\
|
|
317188
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317505
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/Blob.js ***!
|
|
317189
317506
|
\*****************************************************************************************************************/
|
|
317190
317507
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317191
317508
|
|
|
@@ -317201,9 +317518,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317201
317518
|
|
|
317202
317519
|
/***/ }),
|
|
317203
317520
|
|
|
317204
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317521
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/FormData.js":
|
|
317205
317522
|
/*!*********************************************************************************************************************!*\
|
|
317206
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317523
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/FormData.js ***!
|
|
317207
317524
|
\*********************************************************************************************************************/
|
|
317208
317525
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317209
317526
|
|
|
@@ -317219,9 +317536,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317219
317536
|
|
|
317220
317537
|
/***/ }),
|
|
317221
317538
|
|
|
317222
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317539
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js":
|
|
317223
317540
|
/*!****************************************************************************************************************************!*\
|
|
317224
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317541
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js ***!
|
|
317225
317542
|
\****************************************************************************************************************************/
|
|
317226
317543
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317227
317544
|
|
|
@@ -317230,7 +317547,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317230
317547
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
317231
317548
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
317232
317549
|
/* 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.
|
|
317550
|
+
/* 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
317551
|
|
|
317235
317552
|
|
|
317236
317553
|
|
|
@@ -317239,9 +317556,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317239
317556
|
|
|
317240
317557
|
/***/ }),
|
|
317241
317558
|
|
|
317242
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317559
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/index.js":
|
|
317243
317560
|
/*!**********************************************************************************************************!*\
|
|
317244
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317561
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/index.js ***!
|
|
317245
317562
|
\**********************************************************************************************************/
|
|
317246
317563
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317247
317564
|
|
|
@@ -317250,9 +317567,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317250
317567
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
317251
317568
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
317252
317569
|
/* 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.
|
|
317570
|
+
/* 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");
|
|
317571
|
+
/* 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");
|
|
317572
|
+
/* 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
317573
|
|
|
317257
317574
|
|
|
317258
317575
|
|
|
@@ -317262,17 +317579,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317262
317579
|
classes: {
|
|
317263
317580
|
URLSearchParams: _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__["default"],
|
|
317264
317581
|
FormData: _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
317265
|
-
Blob: _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__["default"]
|
|
317582
|
+
Blob: _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__["default"],
|
|
317266
317583
|
},
|
|
317267
|
-
protocols: ['http', 'https', 'file', 'blob', 'url', 'data']
|
|
317584
|
+
protocols: ['http', 'https', 'file', 'blob', 'url', 'data'],
|
|
317268
317585
|
});
|
|
317269
317586
|
|
|
317270
317587
|
|
|
317271
317588
|
/***/ }),
|
|
317272
317589
|
|
|
317273
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317590
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/common/utils.js":
|
|
317274
317591
|
/*!*********************************************************************************************************!*\
|
|
317275
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317592
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/common/utils.js ***!
|
|
317276
317593
|
\*********************************************************************************************************/
|
|
317277
317594
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317278
317595
|
|
|
@@ -317287,7 +317604,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317287
317604
|
/* harmony export */ });
|
|
317288
317605
|
const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
|
|
317289
317606
|
|
|
317290
|
-
const _navigator = typeof navigator === 'object' && navigator || undefined;
|
|
317607
|
+
const _navigator = (typeof navigator === 'object' && navigator) || undefined;
|
|
317291
317608
|
|
|
317292
317609
|
/**
|
|
317293
317610
|
* Determine if we're running in a standard browser environment
|
|
@@ -317306,7 +317623,8 @@ const _navigator = typeof navigator === 'object' && navigator || undefined;
|
|
|
317306
317623
|
*
|
|
317307
317624
|
* @returns {boolean}
|
|
317308
317625
|
*/
|
|
317309
|
-
const hasStandardBrowserEnv =
|
|
317626
|
+
const hasStandardBrowserEnv =
|
|
317627
|
+
hasBrowserEnv &&
|
|
317310
317628
|
(!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);
|
|
317311
317629
|
|
|
317312
317630
|
/**
|
|
@@ -317327,16 +317645,16 @@ const hasStandardBrowserWebWorkerEnv = (() => {
|
|
|
317327
317645
|
);
|
|
317328
317646
|
})();
|
|
317329
317647
|
|
|
317330
|
-
const origin = hasBrowserEnv && window.location.href || 'http://localhost';
|
|
317648
|
+
const origin = (hasBrowserEnv && window.location.href) || 'http://localhost';
|
|
317331
317649
|
|
|
317332
317650
|
|
|
317333
317651
|
|
|
317334
317652
|
|
|
317335
317653
|
/***/ }),
|
|
317336
317654
|
|
|
317337
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317655
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/index.js":
|
|
317338
317656
|
/*!**************************************************************************************************!*\
|
|
317339
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317657
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/index.js ***!
|
|
317340
317658
|
\**************************************************************************************************/
|
|
317341
317659
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317342
317660
|
|
|
@@ -317345,22 +317663,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317345
317663
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
317346
317664
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
317347
317665
|
/* 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.
|
|
317666
|
+
/* 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");
|
|
317667
|
+
/* 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
317668
|
|
|
317351
317669
|
|
|
317352
317670
|
|
|
317353
317671
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
317354
317672
|
..._common_utils_js__WEBPACK_IMPORTED_MODULE_0__,
|
|
317355
|
-
..._node_index_js__WEBPACK_IMPORTED_MODULE_1__["default"]
|
|
317673
|
+
..._node_index_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
317356
317674
|
});
|
|
317357
317675
|
|
|
317358
317676
|
|
|
317359
317677
|
/***/ }),
|
|
317360
317678
|
|
|
317361
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317679
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js":
|
|
317362
317680
|
/*!*****************************************************************************************!*\
|
|
317363
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317681
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js ***!
|
|
317364
317682
|
\*****************************************************************************************/
|
|
317365
317683
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317366
317684
|
|
|
@@ -317369,7 +317687,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317369
317687
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
317370
317688
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
317371
317689
|
/* 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.
|
|
317690
|
+
/* 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
317691
|
|
|
317374
317692
|
|
|
317375
317693
|
|
|
@@ -317408,7 +317726,7 @@ const { isArray } = Array;
|
|
|
317408
317726
|
*
|
|
317409
317727
|
* @returns {boolean} True if the value is undefined, otherwise false
|
|
317410
317728
|
*/
|
|
317411
|
-
const isUndefined = typeOfTest(
|
|
317729
|
+
const isUndefined = typeOfTest('undefined');
|
|
317412
317730
|
|
|
317413
317731
|
/**
|
|
317414
317732
|
* Determine if a value is a Buffer
|
|
@@ -317435,7 +317753,7 @@ function isBuffer(val) {
|
|
|
317435
317753
|
*
|
|
317436
317754
|
* @returns {boolean} True if value is an ArrayBuffer, otherwise false
|
|
317437
317755
|
*/
|
|
317438
|
-
const isArrayBuffer = kindOfTest(
|
|
317756
|
+
const isArrayBuffer = kindOfTest('ArrayBuffer');
|
|
317439
317757
|
|
|
317440
317758
|
/**
|
|
317441
317759
|
* Determine if a value is a view on an ArrayBuffer
|
|
@@ -317446,7 +317764,7 @@ const isArrayBuffer = kindOfTest("ArrayBuffer");
|
|
|
317446
317764
|
*/
|
|
317447
317765
|
function isArrayBufferView(val) {
|
|
317448
317766
|
let result;
|
|
317449
|
-
if (typeof ArrayBuffer !==
|
|
317767
|
+
if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {
|
|
317450
317768
|
result = ArrayBuffer.isView(val);
|
|
317451
317769
|
} else {
|
|
317452
317770
|
result = val && val.buffer && isArrayBuffer(val.buffer);
|
|
@@ -317461,7 +317779,7 @@ function isArrayBufferView(val) {
|
|
|
317461
317779
|
*
|
|
317462
317780
|
* @returns {boolean} True if value is a String, otherwise false
|
|
317463
317781
|
*/
|
|
317464
|
-
const isString = typeOfTest(
|
|
317782
|
+
const isString = typeOfTest('string');
|
|
317465
317783
|
|
|
317466
317784
|
/**
|
|
317467
317785
|
* Determine if a value is a Function
|
|
@@ -317469,7 +317787,7 @@ const isString = typeOfTest("string");
|
|
|
317469
317787
|
* @param {*} val The value to test
|
|
317470
317788
|
* @returns {boolean} True if value is a Function, otherwise false
|
|
317471
317789
|
*/
|
|
317472
|
-
const isFunction = typeOfTest(
|
|
317790
|
+
const isFunction = typeOfTest('function');
|
|
317473
317791
|
|
|
317474
317792
|
/**
|
|
317475
317793
|
* Determine if a value is a Number
|
|
@@ -317478,7 +317796,7 @@ const isFunction = typeOfTest("function");
|
|
|
317478
317796
|
*
|
|
317479
317797
|
* @returns {boolean} True if value is a Number, otherwise false
|
|
317480
317798
|
*/
|
|
317481
|
-
const isNumber = typeOfTest(
|
|
317799
|
+
const isNumber = typeOfTest('number');
|
|
317482
317800
|
|
|
317483
317801
|
/**
|
|
317484
317802
|
* Determine if a value is an Object
|
|
@@ -317487,7 +317805,7 @@ const isNumber = typeOfTest("number");
|
|
|
317487
317805
|
*
|
|
317488
317806
|
* @returns {boolean} True if value is an Object, otherwise false
|
|
317489
317807
|
*/
|
|
317490
|
-
const isObject = (thing) => thing !== null && typeof thing ===
|
|
317808
|
+
const isObject = (thing) => thing !== null && typeof thing === 'object';
|
|
317491
317809
|
|
|
317492
317810
|
/**
|
|
317493
317811
|
* Determine if a value is a Boolean
|
|
@@ -317505,7 +317823,7 @@ const isBoolean = (thing) => thing === true || thing === false;
|
|
|
317505
317823
|
* @returns {boolean} True if value is a plain Object, otherwise false
|
|
317506
317824
|
*/
|
|
317507
317825
|
const isPlainObject = (val) => {
|
|
317508
|
-
if (kindOf(val) !==
|
|
317826
|
+
if (kindOf(val) !== 'object') {
|
|
317509
317827
|
return false;
|
|
317510
317828
|
}
|
|
317511
317829
|
|
|
@@ -317533,10 +317851,7 @@ const isEmptyObject = (val) => {
|
|
|
317533
317851
|
}
|
|
317534
317852
|
|
|
317535
317853
|
try {
|
|
317536
|
-
return (
|
|
317537
|
-
Object.keys(val).length === 0 &&
|
|
317538
|
-
Object.getPrototypeOf(val) === Object.prototype
|
|
317539
|
-
);
|
|
317854
|
+
return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
|
|
317540
317855
|
} catch (e) {
|
|
317541
317856
|
// Fallback for any other objects that might cause RangeError with Object.keys()
|
|
317542
317857
|
return false;
|
|
@@ -317550,7 +317865,7 @@ const isEmptyObject = (val) => {
|
|
|
317550
317865
|
*
|
|
317551
317866
|
* @returns {boolean} True if value is a Date, otherwise false
|
|
317552
317867
|
*/
|
|
317553
|
-
const isDate = kindOfTest(
|
|
317868
|
+
const isDate = kindOfTest('Date');
|
|
317554
317869
|
|
|
317555
317870
|
/**
|
|
317556
317871
|
* Determine if a value is a File
|
|
@@ -317559,7 +317874,32 @@ const isDate = kindOfTest("Date");
|
|
|
317559
317874
|
*
|
|
317560
317875
|
* @returns {boolean} True if value is a File, otherwise false
|
|
317561
317876
|
*/
|
|
317562
|
-
const isFile = kindOfTest(
|
|
317877
|
+
const isFile = kindOfTest('File');
|
|
317878
|
+
|
|
317879
|
+
/**
|
|
317880
|
+
* Determine if a value is a React Native Blob
|
|
317881
|
+
* React Native "blob": an object with a `uri` attribute. Optionally, it can
|
|
317882
|
+
* also have a `name` and `type` attribute to specify filename and content type
|
|
317883
|
+
*
|
|
317884
|
+
* @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71
|
|
317885
|
+
*
|
|
317886
|
+
* @param {*} value The value to test
|
|
317887
|
+
*
|
|
317888
|
+
* @returns {boolean} True if value is a React Native Blob, otherwise false
|
|
317889
|
+
*/
|
|
317890
|
+
const isReactNativeBlob = (value) => {
|
|
317891
|
+
return !!(value && typeof value.uri !== 'undefined');
|
|
317892
|
+
}
|
|
317893
|
+
|
|
317894
|
+
/**
|
|
317895
|
+
* Determine if environment is React Native
|
|
317896
|
+
* ReactNative `FormData` has a non-standard `getParts()` method
|
|
317897
|
+
*
|
|
317898
|
+
* @param {*} formData The formData to test
|
|
317899
|
+
*
|
|
317900
|
+
* @returns {boolean} True if environment is React Native, otherwise false
|
|
317901
|
+
*/
|
|
317902
|
+
const isReactNative = (formData) => formData && typeof formData.getParts !== 'undefined';
|
|
317563
317903
|
|
|
317564
317904
|
/**
|
|
317565
317905
|
* Determine if a value is a Blob
|
|
@@ -317568,7 +317908,7 @@ const isFile = kindOfTest("File");
|
|
|
317568
317908
|
*
|
|
317569
317909
|
* @returns {boolean} True if value is a Blob, otherwise false
|
|
317570
317910
|
*/
|
|
317571
|
-
const isBlob = kindOfTest(
|
|
317911
|
+
const isBlob = kindOfTest('Blob');
|
|
317572
317912
|
|
|
317573
317913
|
/**
|
|
317574
317914
|
* Determine if a value is a FileList
|
|
@@ -317577,7 +317917,7 @@ const isBlob = kindOfTest("Blob");
|
|
|
317577
317917
|
*
|
|
317578
317918
|
* @returns {boolean} True if value is a File, otherwise false
|
|
317579
317919
|
*/
|
|
317580
|
-
const isFileList = kindOfTest(
|
|
317920
|
+
const isFileList = kindOfTest('FileList');
|
|
317581
317921
|
|
|
317582
317922
|
/**
|
|
317583
317923
|
* Determine if a value is a Stream
|
|
@@ -317595,17 +317935,27 @@ const isStream = (val) => isObject(val) && isFunction(val.pipe);
|
|
|
317595
317935
|
*
|
|
317596
317936
|
* @returns {boolean} True if value is an FormData, otherwise false
|
|
317597
317937
|
*/
|
|
317938
|
+
function getGlobal() {
|
|
317939
|
+
if (typeof globalThis !== 'undefined') return globalThis;
|
|
317940
|
+
if (typeof self !== 'undefined') return self;
|
|
317941
|
+
if (typeof window !== 'undefined') return window;
|
|
317942
|
+
if (typeof global !== 'undefined') return global;
|
|
317943
|
+
return {};
|
|
317944
|
+
}
|
|
317945
|
+
|
|
317946
|
+
const G = getGlobal();
|
|
317947
|
+
const FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined;
|
|
317948
|
+
|
|
317598
317949
|
const isFormData = (thing) => {
|
|
317599
317950
|
let kind;
|
|
317600
|
-
return (
|
|
317601
|
-
thing
|
|
317602
|
-
|
|
317603
|
-
|
|
317604
|
-
|
|
317605
|
-
|
|
317606
|
-
|
|
317607
|
-
|
|
317608
|
-
thing.toString() === "[object FormData]"))))
|
|
317951
|
+
return thing && (
|
|
317952
|
+
(FormDataCtor && thing instanceof FormDataCtor) || (
|
|
317953
|
+
isFunction(thing.append) && (
|
|
317954
|
+
(kind = kindOf(thing)) === 'formdata' ||
|
|
317955
|
+
// detect form-data instance
|
|
317956
|
+
(kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')
|
|
317957
|
+
)
|
|
317958
|
+
)
|
|
317609
317959
|
);
|
|
317610
317960
|
};
|
|
317611
317961
|
|
|
@@ -317616,13 +317966,13 @@ const isFormData = (thing) => {
|
|
|
317616
317966
|
*
|
|
317617
317967
|
* @returns {boolean} True if value is a URLSearchParams object, otherwise false
|
|
317618
317968
|
*/
|
|
317619
|
-
const isURLSearchParams = kindOfTest(
|
|
317969
|
+
const isURLSearchParams = kindOfTest('URLSearchParams');
|
|
317620
317970
|
|
|
317621
317971
|
const [isReadableStream, isRequest, isResponse, isHeaders] = [
|
|
317622
|
-
|
|
317623
|
-
|
|
317624
|
-
|
|
317625
|
-
|
|
317972
|
+
'ReadableStream',
|
|
317973
|
+
'Request',
|
|
317974
|
+
'Response',
|
|
317975
|
+
'Headers',
|
|
317626
317976
|
].map(kindOfTest);
|
|
317627
317977
|
|
|
317628
317978
|
/**
|
|
@@ -317632,9 +317982,9 @@ const [isReadableStream, isRequest, isResponse, isHeaders] = [
|
|
|
317632
317982
|
*
|
|
317633
317983
|
* @returns {String} The String freed of excess whitespace
|
|
317634
317984
|
*/
|
|
317635
|
-
const trim = (str) =>
|
|
317636
|
-
str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
|
|
317637
|
-
|
|
317985
|
+
const trim = (str) => {
|
|
317986
|
+
return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
|
|
317987
|
+
};
|
|
317638
317988
|
/**
|
|
317639
317989
|
* Iterate over an Array or an Object invoking a function for each item.
|
|
317640
317990
|
*
|
|
@@ -317653,7 +318003,7 @@ const trim = (str) =>
|
|
|
317653
318003
|
*/
|
|
317654
318004
|
function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
317655
318005
|
// Don't bother if no value provided
|
|
317656
|
-
if (obj === null || typeof obj ===
|
|
318006
|
+
if (obj === null || typeof obj === 'undefined') {
|
|
317657
318007
|
return;
|
|
317658
318008
|
}
|
|
317659
318009
|
|
|
@@ -317661,7 +318011,7 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
|
317661
318011
|
let l;
|
|
317662
318012
|
|
|
317663
318013
|
// Force an array if not already something iterable
|
|
317664
|
-
if (typeof obj !==
|
|
318014
|
+
if (typeof obj !== 'object') {
|
|
317665
318015
|
/*eslint no-param-reassign:0*/
|
|
317666
318016
|
obj = [obj];
|
|
317667
318017
|
}
|
|
@@ -317678,9 +318028,7 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
|
317678
318028
|
}
|
|
317679
318029
|
|
|
317680
318030
|
// Iterate over object keys
|
|
317681
|
-
const keys = allOwnKeys
|
|
317682
|
-
? Object.getOwnPropertyNames(obj)
|
|
317683
|
-
: Object.keys(obj);
|
|
318031
|
+
const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
|
|
317684
318032
|
const len = keys.length;
|
|
317685
318033
|
let key;
|
|
317686
318034
|
|
|
@@ -317691,6 +318039,14 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
|
317691
318039
|
}
|
|
317692
318040
|
}
|
|
317693
318041
|
|
|
318042
|
+
/**
|
|
318043
|
+
* Finds a key in an object, case-insensitive, returning the actual key name.
|
|
318044
|
+
* Returns null if the object is a Buffer or if no match is found.
|
|
318045
|
+
*
|
|
318046
|
+
* @param {Object} obj - The object to search.
|
|
318047
|
+
* @param {string} key - The key to find (case-insensitive).
|
|
318048
|
+
* @returns {?string} The actual key name if found, otherwise null.
|
|
318049
|
+
*/
|
|
317694
318050
|
function findKey(obj, key) {
|
|
317695
318051
|
if (isBuffer(obj)) {
|
|
317696
318052
|
return null;
|
|
@@ -317711,16 +318067,11 @@ function findKey(obj, key) {
|
|
|
317711
318067
|
|
|
317712
318068
|
const _global = (() => {
|
|
317713
318069
|
/*eslint no-undef:0*/
|
|
317714
|
-
if (typeof globalThis !==
|
|
317715
|
-
return typeof self !==
|
|
317716
|
-
? self
|
|
317717
|
-
: typeof window !== "undefined"
|
|
317718
|
-
? window
|
|
317719
|
-
: global;
|
|
318070
|
+
if (typeof globalThis !== 'undefined') return globalThis;
|
|
318071
|
+
return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global;
|
|
317720
318072
|
})();
|
|
317721
318073
|
|
|
317722
|
-
const isContextDefined = (context) =>
|
|
317723
|
-
!isUndefined(context) && context !== _global;
|
|
318074
|
+
const isContextDefined = (context) => !isUndefined(context) && context !== _global;
|
|
317724
318075
|
|
|
317725
318076
|
/**
|
|
317726
318077
|
* Accepts varargs expecting each argument to be an object, then
|
|
@@ -317745,7 +318096,7 @@ function merge(/* obj1, obj2, obj3, ... */) {
|
|
|
317745
318096
|
const result = {};
|
|
317746
318097
|
const assignValue = (val, key) => {
|
|
317747
318098
|
// Skip dangerous property names to prevent prototype pollution
|
|
317748
|
-
if (key ===
|
|
318099
|
+
if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
|
|
317749
318100
|
return;
|
|
317750
318101
|
}
|
|
317751
318102
|
|
|
@@ -317798,7 +318149,7 @@ const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
|
|
|
317798
318149
|
});
|
|
317799
318150
|
}
|
|
317800
318151
|
},
|
|
317801
|
-
{ allOwnKeys }
|
|
318152
|
+
{ allOwnKeys }
|
|
317802
318153
|
);
|
|
317803
318154
|
return a;
|
|
317804
318155
|
};
|
|
@@ -317827,17 +318178,14 @@ const stripBOM = (content) => {
|
|
|
317827
318178
|
* @returns {void}
|
|
317828
318179
|
*/
|
|
317829
318180
|
const inherits = (constructor, superConstructor, props, descriptors) => {
|
|
317830
|
-
constructor.prototype = Object.create(
|
|
317831
|
-
|
|
317832
|
-
descriptors,
|
|
317833
|
-
);
|
|
317834
|
-
Object.defineProperty(constructor.prototype, "constructor", {
|
|
318181
|
+
constructor.prototype = Object.create(superConstructor.prototype, descriptors);
|
|
318182
|
+
Object.defineProperty(constructor.prototype, 'constructor', {
|
|
317835
318183
|
value: constructor,
|
|
317836
318184
|
writable: true,
|
|
317837
318185
|
enumerable: false,
|
|
317838
318186
|
configurable: true,
|
|
317839
318187
|
});
|
|
317840
|
-
Object.defineProperty(constructor,
|
|
318188
|
+
Object.defineProperty(constructor, 'super', {
|
|
317841
318189
|
value: superConstructor.prototype,
|
|
317842
318190
|
});
|
|
317843
318191
|
props && Object.assign(constructor.prototype, props);
|
|
@@ -317867,20 +318215,13 @@ const toFlatObject = (sourceObj, destObj, filter, propFilter) => {
|
|
|
317867
318215
|
i = props.length;
|
|
317868
318216
|
while (i-- > 0) {
|
|
317869
318217
|
prop = props[i];
|
|
317870
|
-
if (
|
|
317871
|
-
(!propFilter || propFilter(prop, sourceObj, destObj)) &&
|
|
317872
|
-
!merged[prop]
|
|
317873
|
-
) {
|
|
318218
|
+
if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {
|
|
317874
318219
|
destObj[prop] = sourceObj[prop];
|
|
317875
318220
|
merged[prop] = true;
|
|
317876
318221
|
}
|
|
317877
318222
|
}
|
|
317878
318223
|
sourceObj = filter !== false && getPrototypeOf(sourceObj);
|
|
317879
|
-
} while (
|
|
317880
|
-
sourceObj &&
|
|
317881
|
-
(!filter || filter(sourceObj, destObj)) &&
|
|
317882
|
-
sourceObj !== Object.prototype
|
|
317883
|
-
);
|
|
318224
|
+
} while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);
|
|
317884
318225
|
|
|
317885
318226
|
return destObj;
|
|
317886
318227
|
};
|
|
@@ -317937,7 +318278,7 @@ const isTypedArray = ((TypedArray) => {
|
|
|
317937
318278
|
return (thing) => {
|
|
317938
318279
|
return TypedArray && thing instanceof TypedArray;
|
|
317939
318280
|
};
|
|
317940
|
-
})(typeof Uint8Array !==
|
|
318281
|
+
})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));
|
|
317941
318282
|
|
|
317942
318283
|
/**
|
|
317943
318284
|
* For each entry in the object, call the function with the key and value.
|
|
@@ -317980,14 +318321,12 @@ const matchAll = (regExp, str) => {
|
|
|
317980
318321
|
};
|
|
317981
318322
|
|
|
317982
318323
|
/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */
|
|
317983
|
-
const isHTMLForm = kindOfTest(
|
|
318324
|
+
const isHTMLForm = kindOfTest('HTMLFormElement');
|
|
317984
318325
|
|
|
317985
318326
|
const toCamelCase = (str) => {
|
|
317986
|
-
return str
|
|
317987
|
-
.
|
|
317988
|
-
|
|
317989
|
-
return p1.toUpperCase() + p2;
|
|
317990
|
-
});
|
|
318327
|
+
return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) {
|
|
318328
|
+
return p1.toUpperCase() + p2;
|
|
318329
|
+
});
|
|
317991
318330
|
};
|
|
317992
318331
|
|
|
317993
318332
|
/* Creating a function that will check if an object has a property. */
|
|
@@ -318004,7 +318343,7 @@ const hasOwnProperty = (
|
|
|
318004
318343
|
*
|
|
318005
318344
|
* @returns {boolean} True if value is a RegExp object, otherwise false
|
|
318006
318345
|
*/
|
|
318007
|
-
const isRegExp = kindOfTest(
|
|
318346
|
+
const isRegExp = kindOfTest('RegExp');
|
|
318008
318347
|
|
|
318009
318348
|
const reduceDescriptors = (obj, reducer) => {
|
|
318010
318349
|
const descriptors = Object.getOwnPropertyDescriptors(obj);
|
|
@@ -318028,10 +318367,7 @@ const reduceDescriptors = (obj, reducer) => {
|
|
|
318028
318367
|
const freezeMethods = (obj) => {
|
|
318029
318368
|
reduceDescriptors(obj, (descriptor, name) => {
|
|
318030
318369
|
// skip restricted props in strict mode
|
|
318031
|
-
if (
|
|
318032
|
-
isFunction(obj) &&
|
|
318033
|
-
["arguments", "caller", "callee"].indexOf(name) !== -1
|
|
318034
|
-
) {
|
|
318370
|
+
if (isFunction(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {
|
|
318035
318371
|
return false;
|
|
318036
318372
|
}
|
|
318037
318373
|
|
|
@@ -318041,7 +318377,7 @@ const freezeMethods = (obj) => {
|
|
|
318041
318377
|
|
|
318042
318378
|
descriptor.enumerable = false;
|
|
318043
318379
|
|
|
318044
|
-
if (
|
|
318380
|
+
if ('writable' in descriptor) {
|
|
318045
318381
|
descriptor.writable = false;
|
|
318046
318382
|
return;
|
|
318047
318383
|
}
|
|
@@ -318054,6 +318390,14 @@ const freezeMethods = (obj) => {
|
|
|
318054
318390
|
});
|
|
318055
318391
|
};
|
|
318056
318392
|
|
|
318393
|
+
/**
|
|
318394
|
+
* Converts an array or a delimited string into an object set with values as keys and true as values.
|
|
318395
|
+
* Useful for fast membership checks.
|
|
318396
|
+
*
|
|
318397
|
+
* @param {Array|string} arrayOrString - The array or string to convert.
|
|
318398
|
+
* @param {string} delimiter - The delimiter to use if input is a string.
|
|
318399
|
+
* @returns {Object} An object with keys from the array or string, values set to true.
|
|
318400
|
+
*/
|
|
318057
318401
|
const toObjectSet = (arrayOrString, delimiter) => {
|
|
318058
318402
|
const obj = {};
|
|
318059
318403
|
|
|
@@ -318063,9 +318407,7 @@ const toObjectSet = (arrayOrString, delimiter) => {
|
|
|
318063
318407
|
});
|
|
318064
318408
|
};
|
|
318065
318409
|
|
|
318066
|
-
isArray(arrayOrString)
|
|
318067
|
-
? define(arrayOrString)
|
|
318068
|
-
: define(String(arrayOrString).split(delimiter));
|
|
318410
|
+
isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));
|
|
318069
318411
|
|
|
318070
318412
|
return obj;
|
|
318071
318413
|
};
|
|
@@ -318073,9 +318415,7 @@ const toObjectSet = (arrayOrString, delimiter) => {
|
|
|
318073
318415
|
const noop = () => {};
|
|
318074
318416
|
|
|
318075
318417
|
const toFiniteNumber = (value, defaultValue) => {
|
|
318076
|
-
return value != null && Number.isFinite((value = +value))
|
|
318077
|
-
? value
|
|
318078
|
-
: defaultValue;
|
|
318418
|
+
return value != null && Number.isFinite((value = +value)) ? value : defaultValue;
|
|
318079
318419
|
};
|
|
318080
318420
|
|
|
318081
318421
|
/**
|
|
@@ -318089,11 +318429,17 @@ function isSpecCompliantForm(thing) {
|
|
|
318089
318429
|
return !!(
|
|
318090
318430
|
thing &&
|
|
318091
318431
|
isFunction(thing.append) &&
|
|
318092
|
-
thing[toStringTag] ===
|
|
318432
|
+
thing[toStringTag] === 'FormData' &&
|
|
318093
318433
|
thing[iterator]
|
|
318094
318434
|
);
|
|
318095
318435
|
}
|
|
318096
318436
|
|
|
318437
|
+
/**
|
|
318438
|
+
* Recursively converts an object to a JSON-compatible object, handling circular references and Buffers.
|
|
318439
|
+
*
|
|
318440
|
+
* @param {Object} obj - The object to convert.
|
|
318441
|
+
* @returns {Object} The JSON-compatible object.
|
|
318442
|
+
*/
|
|
318097
318443
|
const toJSONObject = (obj) => {
|
|
318098
318444
|
const stack = new Array(10);
|
|
318099
318445
|
|
|
@@ -318108,7 +318454,7 @@ const toJSONObject = (obj) => {
|
|
|
318108
318454
|
return source;
|
|
318109
318455
|
}
|
|
318110
318456
|
|
|
318111
|
-
if (!(
|
|
318457
|
+
if (!('toJSON' in source)) {
|
|
318112
318458
|
stack[i] = source;
|
|
318113
318459
|
const target = isArray(source) ? [] : {};
|
|
318114
318460
|
|
|
@@ -318129,8 +318475,20 @@ const toJSONObject = (obj) => {
|
|
|
318129
318475
|
return visit(obj, 0);
|
|
318130
318476
|
};
|
|
318131
318477
|
|
|
318132
|
-
|
|
318478
|
+
/**
|
|
318479
|
+
* Determines if a value is an async function.
|
|
318480
|
+
*
|
|
318481
|
+
* @param {*} thing - The value to test.
|
|
318482
|
+
* @returns {boolean} True if value is an async function, otherwise false.
|
|
318483
|
+
*/
|
|
318484
|
+
const isAsyncFn = kindOfTest('AsyncFunction');
|
|
318133
318485
|
|
|
318486
|
+
/**
|
|
318487
|
+
* Determines if a value is thenable (has then and catch methods).
|
|
318488
|
+
*
|
|
318489
|
+
* @param {*} thing - The value to test.
|
|
318490
|
+
* @returns {boolean} True if value is thenable, otherwise false.
|
|
318491
|
+
*/
|
|
318134
318492
|
const isThenable = (thing) =>
|
|
318135
318493
|
thing &&
|
|
318136
318494
|
(isObject(thing) || isFunction(thing)) &&
|
|
@@ -318140,6 +318498,14 @@ const isThenable = (thing) =>
|
|
|
318140
318498
|
// original code
|
|
318141
318499
|
// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34
|
|
318142
318500
|
|
|
318501
|
+
/**
|
|
318502
|
+
* Provides a cross-platform setImmediate implementation.
|
|
318503
|
+
* Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout.
|
|
318504
|
+
*
|
|
318505
|
+
* @param {boolean} setImmediateSupported - Whether setImmediate is supported.
|
|
318506
|
+
* @param {boolean} postMessageSupported - Whether postMessage is supported.
|
|
318507
|
+
* @returns {Function} A function to schedule a callback asynchronously.
|
|
318508
|
+
*/
|
|
318143
318509
|
const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
318144
318510
|
if (setImmediateSupported) {
|
|
318145
318511
|
return setImmediate;
|
|
@@ -318148,27 +318514,33 @@ const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
|
318148
318514
|
return postMessageSupported
|
|
318149
318515
|
? ((token, callbacks) => {
|
|
318150
318516
|
_global.addEventListener(
|
|
318151
|
-
|
|
318517
|
+
'message',
|
|
318152
318518
|
({ source, data }) => {
|
|
318153
318519
|
if (source === _global && data === token) {
|
|
318154
318520
|
callbacks.length && callbacks.shift()();
|
|
318155
318521
|
}
|
|
318156
318522
|
},
|
|
318157
|
-
false
|
|
318523
|
+
false
|
|
318158
318524
|
);
|
|
318159
318525
|
|
|
318160
318526
|
return (cb) => {
|
|
318161
318527
|
callbacks.push(cb);
|
|
318162
|
-
_global.postMessage(token,
|
|
318528
|
+
_global.postMessage(token, '*');
|
|
318163
318529
|
};
|
|
318164
318530
|
})(`axios@${Math.random()}`, [])
|
|
318165
318531
|
: (cb) => setTimeout(cb);
|
|
318166
|
-
})(typeof setImmediate ===
|
|
318532
|
+
})(typeof setImmediate === 'function', isFunction(_global.postMessage));
|
|
318167
318533
|
|
|
318534
|
+
/**
|
|
318535
|
+
* Schedules a microtask or asynchronous callback as soon as possible.
|
|
318536
|
+
* Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate.
|
|
318537
|
+
*
|
|
318538
|
+
* @type {Function}
|
|
318539
|
+
*/
|
|
318168
318540
|
const asap =
|
|
318169
|
-
typeof queueMicrotask !==
|
|
318541
|
+
typeof queueMicrotask !== 'undefined'
|
|
318170
318542
|
? queueMicrotask.bind(_global)
|
|
318171
|
-
: (typeof process !==
|
|
318543
|
+
: (typeof process !== 'undefined' && process.nextTick) || _setImmediate;
|
|
318172
318544
|
|
|
318173
318545
|
// *********************
|
|
318174
318546
|
|
|
@@ -318193,6 +318565,8 @@ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
|
|
|
318193
318565
|
isUndefined,
|
|
318194
318566
|
isDate,
|
|
318195
318567
|
isFile,
|
|
318568
|
+
isReactNativeBlob,
|
|
318569
|
+
isReactNative,
|
|
318196
318570
|
isBlob,
|
|
318197
318571
|
isRegExp,
|
|
318198
318572
|
isFunction,
|
|
@@ -321511,7 +321885,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
321511
321885
|
/***/ ((module) => {
|
|
321512
321886
|
|
|
321513
321887
|
"use strict";
|
|
321514
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.8.0-dev.
|
|
321888
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.8.0-dev.2","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
321889
|
|
|
321516
321890
|
/***/ })
|
|
321517
321891
|
|