@vesium/shared 1.0.1-beta.68 → 1.0.1-beta.71
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/README.md +1 -1
- package/dist/index.cjs +245 -154
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -44
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -44
- package/dist/index.d.mts.map +1 -1
- package/dist/index.iife.js +245 -154
- package/dist/index.iife.js.map +1 -1
- package/dist/index.iife.min.js +1 -1
- package/dist/index.iife.min.js.map +1 -1
- package/dist/index.min.cjs +1 -1
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.mjs.map +1 -1
- package/dist/index.mjs +244 -154
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CallbackProperty, Cartesian3, Cartographic, ConstantProperty, Ellipsoid, Material, Math as Math$1, defined } from "cesium";
|
|
2
2
|
|
|
3
|
-
//#region
|
|
3
|
+
//#region \0rolldown/runtime.js
|
|
4
4
|
var __create = Object.create;
|
|
5
5
|
var __defProp = Object.defineProperty;
|
|
6
6
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -459,9 +459,9 @@ function createCesiumProperty(scope, key, value, options = {}) {
|
|
|
459
459
|
}
|
|
460
460
|
|
|
461
461
|
//#endregion
|
|
462
|
-
//#region ../../node_modules/.pnpm/@vue+shared@3.5.
|
|
462
|
+
//#region ../../node_modules/.pnpm/@vue+shared@3.5.29/node_modules/@vue/shared/dist/shared.cjs.prod.js
|
|
463
463
|
/**
|
|
464
|
-
* @vue/shared v3.5.
|
|
464
|
+
* @vue/shared v3.5.29
|
|
465
465
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
466
466
|
* @license MIT
|
|
467
467
|
**/
|
|
@@ -946,9 +946,9 @@ var require_shared_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
946
946
|
}));
|
|
947
947
|
|
|
948
948
|
//#endregion
|
|
949
|
-
//#region ../../node_modules/.pnpm/@vue+shared@3.5.
|
|
949
|
+
//#region ../../node_modules/.pnpm/@vue+shared@3.5.29/node_modules/@vue/shared/dist/shared.cjs.js
|
|
950
950
|
/**
|
|
951
|
-
* @vue/shared v3.5.
|
|
951
|
+
* @vue/shared v3.5.29
|
|
952
952
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
953
953
|
* @license MIT
|
|
954
954
|
**/
|
|
@@ -986,14 +986,14 @@ var require_shared_cjs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
986
986
|
}));
|
|
987
987
|
|
|
988
988
|
//#endregion
|
|
989
|
-
//#region ../../node_modules/.pnpm/@vue+shared@3.5.
|
|
989
|
+
//#region ../../node_modules/.pnpm/@vue+shared@3.5.29/node_modules/@vue/shared/index.js
|
|
990
990
|
var require_shared = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
991
991
|
if (process.env.NODE_ENV === "production") module.exports = require_shared_cjs_prod();
|
|
992
992
|
else module.exports = require_shared_cjs();
|
|
993
993
|
}));
|
|
994
994
|
|
|
995
995
|
//#endregion
|
|
996
|
-
//#region ../../node_modules/.pnpm/entities@7.0.
|
|
996
|
+
//#region ../../node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/decode-codepoint.js
|
|
997
997
|
var require_decode_codepoint = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
998
998
|
var _a;
|
|
999
999
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1066,7 +1066,7 @@ var require_decode_codepoint = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1066
1066
|
}));
|
|
1067
1067
|
|
|
1068
1068
|
//#endregion
|
|
1069
|
-
//#region ../../node_modules/.pnpm/entities@7.0.
|
|
1069
|
+
//#region ../../node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/internal/decode-shared.js
|
|
1070
1070
|
var require_decode_shared = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1071
1071
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1072
1072
|
exports.decodeBase64 = decodeBase64;
|
|
@@ -1084,7 +1084,7 @@ var require_decode_shared = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1084
1084
|
}));
|
|
1085
1085
|
|
|
1086
1086
|
//#endregion
|
|
1087
|
-
//#region ../../node_modules/.pnpm/entities@7.0.
|
|
1087
|
+
//#region ../../node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/generated/decode-data-html.js
|
|
1088
1088
|
var require_decode_data_html = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1089
1089
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1090
1090
|
exports.htmlDecodeTree = void 0;
|
|
@@ -1093,7 +1093,7 @@ var require_decode_data_html = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1093
1093
|
}));
|
|
1094
1094
|
|
|
1095
1095
|
//#endregion
|
|
1096
|
-
//#region ../../node_modules/.pnpm/entities@7.0.
|
|
1096
|
+
//#region ../../node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/generated/decode-data-xml.js
|
|
1097
1097
|
var require_decode_data_xml = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1098
1098
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1099
1099
|
exports.xmlDecodeTree = void 0;
|
|
@@ -1102,7 +1102,7 @@ var require_decode_data_xml = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1102
1102
|
}));
|
|
1103
1103
|
|
|
1104
1104
|
//#endregion
|
|
1105
|
-
//#region ../../node_modules/.pnpm/entities@7.0.
|
|
1105
|
+
//#region ../../node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js
|
|
1106
1106
|
var require_bin_trie_flags = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1107
1107
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1108
1108
|
exports.BinTrieFlags = void 0;
|
|
@@ -1126,7 +1126,7 @@ var require_bin_trie_flags = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1126
1126
|
}));
|
|
1127
1127
|
|
|
1128
1128
|
//#endregion
|
|
1129
|
-
//#region ../../node_modules/.pnpm/entities@7.0.
|
|
1129
|
+
//#region ../../node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/decode.js
|
|
1130
1130
|
var require_decode = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1131
1131
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1132
1132
|
exports.xmlDecodeTree = exports.htmlDecodeTree = exports.replaceCodePoint = exports.fromCodePoint = exports.decodeCodePoint = exports.EntityDecoder = exports.DecodingMode = void 0;
|
|
@@ -1216,6 +1216,8 @@ var require_decode = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1216
1216
|
this.excess = 1;
|
|
1217
1217
|
/** The mode in which the decoder is operating. */
|
|
1218
1218
|
this.decodeMode = DecodingMode.Strict;
|
|
1219
|
+
/** The number of characters that have been consumed in the current run. */
|
|
1220
|
+
this.runConsumed = 0;
|
|
1219
1221
|
}
|
|
1220
1222
|
/** Resets the instance to make it reusable. */
|
|
1221
1223
|
startEntity(decodeMode) {
|
|
@@ -1225,6 +1227,7 @@ var require_decode = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1225
1227
|
this.treeIndex = 0;
|
|
1226
1228
|
this.excess = 1;
|
|
1227
1229
|
this.consumed = 1;
|
|
1230
|
+
this.runConsumed = 0;
|
|
1228
1231
|
}
|
|
1229
1232
|
/**
|
|
1230
1233
|
* Write an entity to the decoder. This can be called multiple times with partial entities.
|
|
@@ -1357,26 +1360,28 @@ var require_decode = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1357
1360
|
while (offset < input.length) {
|
|
1358
1361
|
if (valueLength === 0 && (current & bin_trie_flags_js_1.BinTrieFlags.FLAG13) !== 0) {
|
|
1359
1362
|
const runLength = (current & bin_trie_flags_js_1.BinTrieFlags.BRANCH_LENGTH) >> 7;
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
offset++;
|
|
1364
|
-
this.excess++;
|
|
1365
|
-
const remaining = runLength - 1;
|
|
1366
|
-
for (let runPos = 1; runPos < runLength; runPos += 2) {
|
|
1367
|
-
const packedWord = decodeTree[this.treeIndex + 1 + (runPos - 1 >> 1)];
|
|
1368
|
-
const low = packedWord & 255;
|
|
1369
|
-
if (input.charCodeAt(offset) !== low) return this.result === 0 ? 0 : this.emitNotTerminatedNamedEntity();
|
|
1363
|
+
if (this.runConsumed === 0) {
|
|
1364
|
+
const firstChar = current & bin_trie_flags_js_1.BinTrieFlags.JUMP_TABLE;
|
|
1365
|
+
if (input.charCodeAt(offset) !== firstChar) return this.result === 0 ? 0 : this.emitNotTerminatedNamedEntity();
|
|
1370
1366
|
offset++;
|
|
1371
1367
|
this.excess++;
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1368
|
+
this.runConsumed++;
|
|
1369
|
+
}
|
|
1370
|
+
while (this.runConsumed < runLength) {
|
|
1371
|
+
if (offset >= input.length) return -1;
|
|
1372
|
+
const charIndexInPacked = this.runConsumed - 1;
|
|
1373
|
+
const packedWord = decodeTree[this.treeIndex + 1 + (charIndexInPacked >> 1)];
|
|
1374
|
+
const expectedChar = charIndexInPacked % 2 === 0 ? packedWord & 255 : packedWord >> 8 & 255;
|
|
1375
|
+
if (input.charCodeAt(offset) !== expectedChar) {
|
|
1376
|
+
this.runConsumed = 0;
|
|
1377
|
+
return this.result === 0 ? 0 : this.emitNotTerminatedNamedEntity();
|
|
1377
1378
|
}
|
|
1379
|
+
offset++;
|
|
1380
|
+
this.excess++;
|
|
1381
|
+
this.runConsumed++;
|
|
1378
1382
|
}
|
|
1379
|
-
this.
|
|
1383
|
+
this.runConsumed = 0;
|
|
1384
|
+
this.treeIndex += 1 + (runLength >> 1);
|
|
1380
1385
|
current = decodeTree[this.treeIndex];
|
|
1381
1386
|
valueLength = (current & bin_trie_flags_js_1.BinTrieFlags.VALUE_LENGTH) >> 14;
|
|
1382
1387
|
}
|
|
@@ -1582,7 +1587,7 @@ var require_decode = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1582
1587
|
}));
|
|
1583
1588
|
|
|
1584
1589
|
//#endregion
|
|
1585
|
-
//#region ../../node_modules/.pnpm/@babel+parser@7.
|
|
1590
|
+
//#region ../../node_modules/.pnpm/@babel+parser@7.29.0/node_modules/@babel/parser/lib/index.js
|
|
1586
1591
|
var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1587
1592
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1588
1593
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
@@ -1857,17 +1862,15 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1857
1862
|
}
|
|
1858
1863
|
function toParseErrorConstructor({ toMessage, code, reasonCode, syntaxPlugin }) {
|
|
1859
1864
|
const hasMissingPlugin = reasonCode === "MissingPlugin" || reasonCode === "MissingOneOfPlugins";
|
|
1860
|
-
{
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
if (oldReasonCodes[reasonCode]) reasonCode = oldReasonCodes[reasonCode];
|
|
1870
|
-
}
|
|
1865
|
+
const oldReasonCodes = {
|
|
1866
|
+
AccessorCannotDeclareThisParameter: "AccesorCannotDeclareThisParameter",
|
|
1867
|
+
AccessorCannotHaveTypeParameters: "AccesorCannotHaveTypeParameters",
|
|
1868
|
+
ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference: "ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",
|
|
1869
|
+
SetAccessorCannotHaveOptionalParameter: "SetAccesorCannotHaveOptionalParameter",
|
|
1870
|
+
SetAccessorCannotHaveRestParameter: "SetAccesorCannotHaveRestParameter",
|
|
1871
|
+
SetAccessorCannotHaveReturnType: "SetAccesorCannotHaveReturnType"
|
|
1872
|
+
};
|
|
1873
|
+
if (oldReasonCodes[reasonCode]) reasonCode = oldReasonCodes[reasonCode];
|
|
1871
1874
|
return function constructor(loc, details) {
|
|
1872
1875
|
const error = /* @__PURE__ */ new SyntaxError();
|
|
1873
1876
|
error.code = code;
|
|
@@ -2177,11 +2180,10 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2177
2180
|
finishCallExpression(unfinished, optional) {
|
|
2178
2181
|
const node = super.finishCallExpression(unfinished, optional);
|
|
2179
2182
|
if (node.callee.type === "Import") {
|
|
2180
|
-
var _ref;
|
|
2183
|
+
var _ref, _ref2;
|
|
2181
2184
|
this.castNodeTo(node, "ImportExpression");
|
|
2182
2185
|
node.source = node.arguments[0];
|
|
2183
2186
|
node.options = (_ref = node.arguments[1]) != null ? _ref : null;
|
|
2184
|
-
var _ref2;
|
|
2185
2187
|
node.attributes = (_ref2 = node.arguments[1]) != null ? _ref2 : null;
|
|
2186
2188
|
delete node.arguments;
|
|
2187
2189
|
delete node.callee;
|
|
@@ -6664,7 +6666,6 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6664
6666
|
if (this.input.charCodeAt(this.offsetToSourcePos(commentStart) - 1) === 44) switch (node.type) {
|
|
6665
6667
|
case "ObjectExpression":
|
|
6666
6668
|
case "ObjectPattern":
|
|
6667
|
-
case "RecordExpression":
|
|
6668
6669
|
adjustInnerComments(node, node.properties, commentWS);
|
|
6669
6670
|
break;
|
|
6670
6671
|
case "CallExpression":
|
|
@@ -6684,7 +6685,6 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6684
6685
|
break;
|
|
6685
6686
|
case "ArrayExpression":
|
|
6686
6687
|
case "ArrayPattern":
|
|
6687
|
-
case "TupleExpression":
|
|
6688
6688
|
adjustInnerComments(node, node.elements, commentWS);
|
|
6689
6689
|
break;
|
|
6690
6690
|
case "ExportNamedDeclaration":
|
|
@@ -6697,7 +6697,16 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6697
6697
|
case "TSEnumBody":
|
|
6698
6698
|
adjustInnerComments(node, node.members, commentWS);
|
|
6699
6699
|
break;
|
|
6700
|
-
default:
|
|
6700
|
+
default:
|
|
6701
|
+
if (node.type === "RecordExpression") {
|
|
6702
|
+
adjustInnerComments(node, node.properties, commentWS);
|
|
6703
|
+
break;
|
|
6704
|
+
}
|
|
6705
|
+
if (node.type === "TupleExpression") {
|
|
6706
|
+
adjustInnerComments(node, node.elements, commentWS);
|
|
6707
|
+
break;
|
|
6708
|
+
}
|
|
6709
|
+
setInnerComments(node, comments);
|
|
6701
6710
|
}
|
|
6702
6711
|
else setInnerComments(node, comments);
|
|
6703
6712
|
}
|
|
@@ -9172,12 +9181,10 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
9172
9181
|
this.expectContextual(122);
|
|
9173
9182
|
} else if (this.eatContextual(122)) node.readonly = true;
|
|
9174
9183
|
this.expect(0);
|
|
9175
|
-
|
|
9176
|
-
|
|
9177
|
-
|
|
9178
|
-
|
|
9179
|
-
node.typeParameter = this.finishNode(typeParameter, "TSTypeParameter");
|
|
9180
|
-
}
|
|
9184
|
+
const typeParameter = this.startNode();
|
|
9185
|
+
typeParameter.name = this.tsParseTypeParameterName();
|
|
9186
|
+
typeParameter.constraint = this.tsExpectThenParseType(58);
|
|
9187
|
+
node.typeParameter = this.finishNode(typeParameter, "TSTypeParameter");
|
|
9181
9188
|
node.nameType = this.eatContextual(93) ? this.tsParseType() : null;
|
|
9182
9189
|
this.expect(3);
|
|
9183
9190
|
if (this.match(53)) {
|
|
@@ -9299,11 +9306,9 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
9299
9306
|
return this.finishNode(node, "TSLiteralType");
|
|
9300
9307
|
}
|
|
9301
9308
|
tsParseTemplateLiteralType() {
|
|
9302
|
-
|
|
9303
|
-
|
|
9304
|
-
|
|
9305
|
-
return this.finishNode(node, "TSLiteralType");
|
|
9306
|
-
}
|
|
9309
|
+
const node = this.startNode();
|
|
9310
|
+
node.literal = super.parseTemplate(false);
|
|
9311
|
+
return this.finishNode(node, "TSLiteralType");
|
|
9307
9312
|
}
|
|
9308
9313
|
parseTemplateSubstitution() {
|
|
9309
9314
|
if (this.state.inType) return this.tsParseType();
|
|
@@ -9569,12 +9574,10 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
9569
9574
|
tsParseHeritageClause(token) {
|
|
9570
9575
|
const originalStartLoc = this.state.startLoc;
|
|
9571
9576
|
const delimitedList = this.tsParseDelimitedList("HeritageClauseElement", () => {
|
|
9572
|
-
|
|
9573
|
-
|
|
9574
|
-
|
|
9575
|
-
|
|
9576
|
-
return this.finishNode(node, "TSExpressionWithTypeArguments");
|
|
9577
|
-
}
|
|
9577
|
+
const node = this.startNode();
|
|
9578
|
+
node.expression = this.tsParseEntityName(3);
|
|
9579
|
+
if (this.match(47)) node.typeParameters = this.tsParseTypeArguments();
|
|
9580
|
+
return this.finishNode(node, "TSExpressionWithTypeArguments");
|
|
9578
9581
|
});
|
|
9579
9582
|
if (!delimitedList.length) this.raise(TSErrors.EmptyHeritageClauseType, originalStartLoc, { token });
|
|
9580
9583
|
return delimitedList;
|
|
@@ -10016,7 +10019,7 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
10016
10019
|
return this.finishCallExpression(node, state.optionalChainMember);
|
|
10017
10020
|
}
|
|
10018
10021
|
const tokenType = this.state.type;
|
|
10019
|
-
if (tokenType === 48 || tokenType === 52 || tokenType !== 10 && tokenCanStartExpression(tokenType) && !this.hasPrecedingLineBreak()) return;
|
|
10022
|
+
if (tokenType === 48 || tokenType === 52 || tokenType !== 10 && tokenType !== 93 && tokenType !== 120 && tokenCanStartExpression(tokenType) && !this.hasPrecedingLineBreak()) return;
|
|
10020
10023
|
const node = this.startNodeAt(startLoc);
|
|
10021
10024
|
node.expression = base;
|
|
10022
10025
|
node.typeParameters = typeArguments;
|
|
@@ -10376,7 +10379,17 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
10376
10379
|
}
|
|
10377
10380
|
parseClassSuper(node) {
|
|
10378
10381
|
super.parseClassSuper(node);
|
|
10379
|
-
if (node.superClass
|
|
10382
|
+
if (node.superClass) {
|
|
10383
|
+
if (node.superClass.type === "TSInstantiationExpression") {
|
|
10384
|
+
const tsInstantiationExpression = node.superClass;
|
|
10385
|
+
const superClass = tsInstantiationExpression.expression;
|
|
10386
|
+
this.takeSurroundingComments(superClass, superClass.start, superClass.end);
|
|
10387
|
+
const superTypeArguments = tsInstantiationExpression.typeParameters;
|
|
10388
|
+
this.takeSurroundingComments(superTypeArguments, superTypeArguments.start, superTypeArguments.end);
|
|
10389
|
+
node.superClass = superClass;
|
|
10390
|
+
node.superTypeParameters = superTypeArguments;
|
|
10391
|
+
} else if (this.match(47) || this.match(51)) node.superTypeParameters = this.tsParseTypeArgumentsInExpression();
|
|
10392
|
+
}
|
|
10380
10393
|
if (this.eatContextual(113)) node.implements = this.tsParseHeritageClause("implements");
|
|
10381
10394
|
}
|
|
10382
10395
|
parseObjPropValue(prop, startLoc, isGenerator, isAsync, isPattern, isAccessor, refExpressionErrors) {
|
|
@@ -10983,7 +10996,8 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
10983
10996
|
return false;
|
|
10984
10997
|
}
|
|
10985
10998
|
verifyBreakContinue(node, isBreak) {
|
|
10986
|
-
|
|
10999
|
+
var _node$label;
|
|
11000
|
+
if (((_node$label = node.label) == null ? void 0 : _node$label.type) === "Placeholder") return;
|
|
10987
11001
|
super.verifyBreakContinue(node, isBreak);
|
|
10988
11002
|
}
|
|
10989
11003
|
parseExpressionStatement(node, expr) {
|
|
@@ -11136,6 +11150,7 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11136
11150
|
throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${proposalList}.`);
|
|
11137
11151
|
}
|
|
11138
11152
|
if (proposal === "hack") {
|
|
11153
|
+
var _pluginsMap$get;
|
|
11139
11154
|
if (pluginsMap.has("placeholders")) throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");
|
|
11140
11155
|
if (pluginsMap.has("v8intrinsic")) throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");
|
|
11141
11156
|
const topicToken = pluginsMap.get("pipelineOperator").topicToken;
|
|
@@ -11143,7 +11158,6 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11143
11158
|
const tokenList = TOPIC_TOKENS.map((t) => `"${t}"`).join(", ");
|
|
11144
11159
|
throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${tokenList}.`);
|
|
11145
11160
|
}
|
|
11146
|
-
var _pluginsMap$get;
|
|
11147
11161
|
if (topicToken === "#" && ((_pluginsMap$get = pluginsMap.get("recordAndTuple")) == null ? void 0 : _pluginsMap$get.syntaxType) === "hash") throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple", pluginsMap.get("recordAndTuple")])}\`.`);
|
|
11148
11162
|
} else if (proposal === "smart" && ((_pluginsMap$get2 = pluginsMap.get("recordAndTuple")) == null ? void 0 : _pluginsMap$get2.syntaxType) === "hash") throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple", pluginsMap.get("recordAndTuple")])}\`.`);
|
|
11149
11163
|
}
|
|
@@ -11154,7 +11168,8 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11154
11168
|
if (pluginsMap.has("importAssertions")) {
|
|
11155
11169
|
if (pluginsMap.has("deprecatedImportAssert")) throw new Error("Cannot combine importAssertions and deprecatedImportAssert plugins.");
|
|
11156
11170
|
}
|
|
11157
|
-
if (
|
|
11171
|
+
if (pluginsMap.has("deprecatedImportAssert"));
|
|
11172
|
+
else if (pluginsMap.has("importAttributes") && pluginsMap.get("importAttributes").deprecatedAssertSyntax) pluginsMap.set("deprecatedImportAssert", {});
|
|
11158
11173
|
if (pluginsMap.has("recordAndTuple")) {
|
|
11159
11174
|
const syntaxType = pluginsMap.get("recordAndTuple").syntaxType;
|
|
11160
11175
|
if (syntaxType != null) {
|
|
@@ -16504,9 +16519,9 @@ var require_source_map = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
16504
16519
|
}));
|
|
16505
16520
|
|
|
16506
16521
|
//#endregion
|
|
16507
|
-
//#region ../../node_modules/.pnpm/@vue+compiler-core@3.5.
|
|
16522
|
+
//#region ../../node_modules/.pnpm/@vue+compiler-core@3.5.29/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js
|
|
16508
16523
|
/**
|
|
16509
|
-
* @vue/compiler-core v3.5.
|
|
16524
|
+
* @vue/compiler-core v3.5.29
|
|
16510
16525
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16511
16526
|
* @license MIT
|
|
16512
16527
|
**/
|
|
@@ -21264,9 +21279,9 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
21264
21279
|
}));
|
|
21265
21280
|
|
|
21266
21281
|
//#endregion
|
|
21267
|
-
//#region ../../node_modules/.pnpm/@vue+compiler-core@3.5.
|
|
21282
|
+
//#region ../../node_modules/.pnpm/@vue+compiler-core@3.5.29/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js
|
|
21268
21283
|
/**
|
|
21269
|
-
* @vue/compiler-core v3.5.
|
|
21284
|
+
* @vue/compiler-core v3.5.29
|
|
21270
21285
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
21271
21286
|
* @license MIT
|
|
21272
21287
|
**/
|
|
@@ -23621,16 +23636,16 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
23621
23636
|
}));
|
|
23622
23637
|
|
|
23623
23638
|
//#endregion
|
|
23624
|
-
//#region ../../node_modules/.pnpm/@vue+compiler-core@3.5.
|
|
23639
|
+
//#region ../../node_modules/.pnpm/@vue+compiler-core@3.5.29/node_modules/@vue/compiler-core/index.js
|
|
23625
23640
|
var require_compiler_core = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
23626
23641
|
if (process.env.NODE_ENV === "production") module.exports = require_compiler_core_cjs_prod();
|
|
23627
23642
|
else module.exports = require_compiler_core_cjs();
|
|
23628
23643
|
}));
|
|
23629
23644
|
|
|
23630
23645
|
//#endregion
|
|
23631
|
-
//#region ../../node_modules/.pnpm/@vue+compiler-dom@3.5.
|
|
23646
|
+
//#region ../../node_modules/.pnpm/@vue+compiler-dom@3.5.29/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js
|
|
23632
23647
|
/**
|
|
23633
|
-
* @vue/compiler-dom v3.5.
|
|
23648
|
+
* @vue/compiler-dom v3.5.29
|
|
23634
23649
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
23635
23650
|
* @license MIT
|
|
23636
23651
|
**/
|
|
@@ -24064,9 +24079,9 @@ var require_compiler_dom_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
24064
24079
|
}));
|
|
24065
24080
|
|
|
24066
24081
|
//#endregion
|
|
24067
|
-
//#region ../../node_modules/.pnpm/@vue+compiler-dom@3.5.
|
|
24082
|
+
//#region ../../node_modules/.pnpm/@vue+compiler-dom@3.5.29/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.js
|
|
24068
24083
|
/**
|
|
24069
|
-
* @vue/compiler-dom v3.5.
|
|
24084
|
+
* @vue/compiler-dom v3.5.29
|
|
24070
24085
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
24071
24086
|
* @license MIT
|
|
24072
24087
|
**/
|
|
@@ -24718,16 +24733,16 @@ var require_compiler_dom_cjs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24718
24733
|
}));
|
|
24719
24734
|
|
|
24720
24735
|
//#endregion
|
|
24721
|
-
//#region ../../node_modules/.pnpm/@vue+compiler-dom@3.5.
|
|
24736
|
+
//#region ../../node_modules/.pnpm/@vue+compiler-dom@3.5.29/node_modules/@vue/compiler-dom/index.js
|
|
24722
24737
|
var require_compiler_dom = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
24723
24738
|
if (process.env.NODE_ENV === "production") module.exports = require_compiler_dom_cjs_prod();
|
|
24724
24739
|
else module.exports = require_compiler_dom_cjs();
|
|
24725
24740
|
}));
|
|
24726
24741
|
|
|
24727
24742
|
//#endregion
|
|
24728
|
-
//#region ../../node_modules/.pnpm/@vue+reactivity@3.5.
|
|
24743
|
+
//#region ../../node_modules/.pnpm/@vue+reactivity@3.5.29/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js
|
|
24729
24744
|
/**
|
|
24730
|
-
* @vue/reactivity v3.5.
|
|
24745
|
+
* @vue/reactivity v3.5.29
|
|
24731
24746
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
24732
24747
|
* @license MIT
|
|
24733
24748
|
**/
|
|
@@ -24755,6 +24770,7 @@ var require_reactivity_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24755
24770
|
*/
|
|
24756
24771
|
this.cleanups = [];
|
|
24757
24772
|
this._isPaused = false;
|
|
24773
|
+
this.__v_skip = true;
|
|
24758
24774
|
this.parent = activeEffectScope;
|
|
24759
24775
|
if (!detached && activeEffectScope) this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1;
|
|
24760
24776
|
}
|
|
@@ -26206,9 +26222,9 @@ var require_reactivity_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26206
26222
|
}));
|
|
26207
26223
|
|
|
26208
26224
|
//#endregion
|
|
26209
|
-
//#region ../../node_modules/.pnpm/@vue+reactivity@3.5.
|
|
26225
|
+
//#region ../../node_modules/.pnpm/@vue+reactivity@3.5.29/node_modules/@vue/reactivity/dist/reactivity.cjs.js
|
|
26210
26226
|
/**
|
|
26211
|
-
* @vue/reactivity v3.5.
|
|
26227
|
+
* @vue/reactivity v3.5.29
|
|
26212
26228
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
26213
26229
|
* @license MIT
|
|
26214
26230
|
**/
|
|
@@ -26220,16 +26236,16 @@ var require_reactivity_cjs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26220
26236
|
}));
|
|
26221
26237
|
|
|
26222
26238
|
//#endregion
|
|
26223
|
-
//#region ../../node_modules/.pnpm/@vue+reactivity@3.5.
|
|
26239
|
+
//#region ../../node_modules/.pnpm/@vue+reactivity@3.5.29/node_modules/@vue/reactivity/index.js
|
|
26224
26240
|
var require_reactivity = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
26225
26241
|
if (process.env.NODE_ENV === "production") module.exports = require_reactivity_cjs_prod();
|
|
26226
26242
|
else module.exports = require_reactivity_cjs();
|
|
26227
26243
|
}));
|
|
26228
26244
|
|
|
26229
26245
|
//#endregion
|
|
26230
|
-
//#region ../../node_modules/.pnpm/@vue+runtime-core@3.5.
|
|
26246
|
+
//#region ../../node_modules/.pnpm/@vue+runtime-core@3.5.29/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js
|
|
26231
26247
|
/**
|
|
26232
|
-
* @vue/runtime-core v3.5.
|
|
26248
|
+
* @vue/runtime-core v3.5.29
|
|
26233
26249
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
26234
26250
|
* @license MIT
|
|
26235
26251
|
**/
|
|
@@ -26749,36 +26765,44 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
26749
26765
|
if (isReorder) insert(anchor, container, parentAnchor);
|
|
26750
26766
|
}
|
|
26751
26767
|
function hydrateTeleport(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized, { o: { nextSibling, parentNode, querySelector, insert, createText } }, hydrateChildren) {
|
|
26752
|
-
function
|
|
26768
|
+
function hydrateAnchor(target2, targetNode) {
|
|
26769
|
+
let targetAnchor = targetNode;
|
|
26770
|
+
while (targetAnchor) {
|
|
26771
|
+
if (targetAnchor && targetAnchor.nodeType === 8) {
|
|
26772
|
+
if (targetAnchor.data === "teleport start anchor") vnode.targetStart = targetAnchor;
|
|
26773
|
+
else if (targetAnchor.data === "teleport anchor") {
|
|
26774
|
+
vnode.targetAnchor = targetAnchor;
|
|
26775
|
+
target2._lpa = vnode.targetAnchor && nextSibling(vnode.targetAnchor);
|
|
26776
|
+
break;
|
|
26777
|
+
}
|
|
26778
|
+
}
|
|
26779
|
+
targetAnchor = nextSibling(targetAnchor);
|
|
26780
|
+
}
|
|
26781
|
+
}
|
|
26782
|
+
function hydrateDisabledTeleport(node2, vnode2) {
|
|
26753
26783
|
vnode2.anchor = hydrateChildren(nextSibling(node2), vnode2, parentNode(node2), parentComponent, parentSuspense, slotScopeIds, optimized);
|
|
26754
|
-
vnode2.targetStart = targetStart;
|
|
26755
|
-
vnode2.targetAnchor = targetAnchor;
|
|
26756
26784
|
}
|
|
26757
26785
|
const target = vnode.target = resolveTarget(vnode.props, querySelector);
|
|
26758
26786
|
const disabled = isTeleportDisabled(vnode.props);
|
|
26759
26787
|
if (target) {
|
|
26760
26788
|
const targetNode = target._lpa || target.firstChild;
|
|
26761
|
-
if (vnode.shapeFlag & 16) if (disabled)
|
|
26762
|
-
|
|
26789
|
+
if (vnode.shapeFlag & 16) if (disabled) {
|
|
26790
|
+
hydrateDisabledTeleport(node, vnode);
|
|
26791
|
+
hydrateAnchor(target, targetNode);
|
|
26792
|
+
if (!vnode.targetAnchor) prepareAnchor(target, vnode, createText, insert, parentNode(node) === target ? node : null);
|
|
26793
|
+
} else {
|
|
26763
26794
|
vnode.anchor = nextSibling(node);
|
|
26764
|
-
|
|
26765
|
-
while (targetAnchor) {
|
|
26766
|
-
if (targetAnchor && targetAnchor.nodeType === 8) {
|
|
26767
|
-
if (targetAnchor.data === "teleport start anchor") vnode.targetStart = targetAnchor;
|
|
26768
|
-
else if (targetAnchor.data === "teleport anchor") {
|
|
26769
|
-
vnode.targetAnchor = targetAnchor;
|
|
26770
|
-
target._lpa = vnode.targetAnchor && nextSibling(vnode.targetAnchor);
|
|
26771
|
-
break;
|
|
26772
|
-
}
|
|
26773
|
-
}
|
|
26774
|
-
targetAnchor = nextSibling(targetAnchor);
|
|
26775
|
-
}
|
|
26795
|
+
hydrateAnchor(target, targetNode);
|
|
26776
26796
|
if (!vnode.targetAnchor) prepareAnchor(target, vnode, createText, insert);
|
|
26777
26797
|
hydrateChildren(targetNode && nextSibling(targetNode), vnode, target, parentComponent, parentSuspense, slotScopeIds, optimized);
|
|
26778
26798
|
}
|
|
26779
26799
|
updateCssVars(vnode, disabled);
|
|
26780
26800
|
} else if (disabled) {
|
|
26781
|
-
if (vnode.shapeFlag & 16)
|
|
26801
|
+
if (vnode.shapeFlag & 16) {
|
|
26802
|
+
hydrateDisabledTeleport(node, vnode);
|
|
26803
|
+
vnode.targetStart = node;
|
|
26804
|
+
vnode.targetAnchor = nextSibling(node);
|
|
26805
|
+
}
|
|
26782
26806
|
}
|
|
26783
26807
|
return vnode.anchor && nextSibling(vnode.anchor);
|
|
26784
26808
|
}
|
|
@@ -26801,13 +26825,13 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
26801
26825
|
ctx.ut();
|
|
26802
26826
|
}
|
|
26803
26827
|
}
|
|
26804
|
-
function prepareAnchor(target, vnode, createText, insert) {
|
|
26828
|
+
function prepareAnchor(target, vnode, createText, insert, anchor = null) {
|
|
26805
26829
|
const targetStart = vnode.targetStart = createText("");
|
|
26806
26830
|
const targetAnchor = vnode.targetAnchor = createText("");
|
|
26807
26831
|
targetStart[TeleportEndKey] = targetAnchor;
|
|
26808
26832
|
if (target) {
|
|
26809
|
-
insert(targetStart, target);
|
|
26810
|
-
insert(targetAnchor, target);
|
|
26833
|
+
insert(targetStart, target, anchor);
|
|
26834
|
+
insert(targetAnchor, target, anchor);
|
|
26811
26835
|
}
|
|
26812
26836
|
return targetAnchor;
|
|
26813
26837
|
}
|
|
@@ -26948,6 +26972,7 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
26948
26972
|
callHook(hook, [el]);
|
|
26949
26973
|
},
|
|
26950
26974
|
enter(el) {
|
|
26975
|
+
if (leavingVNodesCache[key] === vnode) return;
|
|
26951
26976
|
let hook = onEnter;
|
|
26952
26977
|
let afterHook = onAfterEnter;
|
|
26953
26978
|
let cancelHook = onEnterCancelled;
|
|
@@ -26957,7 +26982,7 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
26957
26982
|
cancelHook = onAppearCancelled || onEnterCancelled;
|
|
26958
26983
|
} else return;
|
|
26959
26984
|
let called = false;
|
|
26960
|
-
|
|
26985
|
+
el[enterCbKey] = (cancelled) => {
|
|
26961
26986
|
if (called) return;
|
|
26962
26987
|
called = true;
|
|
26963
26988
|
if (cancelled) callHook(cancelHook, [el]);
|
|
@@ -26965,6 +26990,7 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
26965
26990
|
if (hooks.delayedLeave) hooks.delayedLeave();
|
|
26966
26991
|
el[enterCbKey] = void 0;
|
|
26967
26992
|
};
|
|
26993
|
+
const done = el[enterCbKey].bind(null, false);
|
|
26968
26994
|
if (hook) callAsyncHook(hook, [el, done]);
|
|
26969
26995
|
else done();
|
|
26970
26996
|
},
|
|
@@ -26974,7 +27000,7 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
26974
27000
|
if (state.isUnmounting) return remove();
|
|
26975
27001
|
callHook(onBeforeLeave, [el]);
|
|
26976
27002
|
let called = false;
|
|
26977
|
-
|
|
27003
|
+
el[leaveCbKey] = (cancelled) => {
|
|
26978
27004
|
if (called) return;
|
|
26979
27005
|
called = true;
|
|
26980
27006
|
remove();
|
|
@@ -26983,6 +27009,7 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
26983
27009
|
el[leaveCbKey] = void 0;
|
|
26984
27010
|
if (leavingVNodesCache[key2] === vnode) delete leavingVNodesCache[key2];
|
|
26985
27011
|
};
|
|
27012
|
+
const done = el[leaveCbKey].bind(null, false);
|
|
26986
27013
|
leavingVNodesCache[key2] = vnode;
|
|
26987
27014
|
if (onLeave) callAsyncHook(onLeave, [el, done]);
|
|
26988
27015
|
else done();
|
|
@@ -27066,6 +27093,10 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
27066
27093
|
}
|
|
27067
27094
|
return r;
|
|
27068
27095
|
}
|
|
27096
|
+
function isTemplateRefKey(refs, key) {
|
|
27097
|
+
let desc;
|
|
27098
|
+
return !!((desc = Object.getOwnPropertyDescriptor(refs, key)) && !desc.configurable);
|
|
27099
|
+
}
|
|
27069
27100
|
const pendingSetRefMap = /* @__PURE__ */ new WeakMap();
|
|
27070
27101
|
function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
27071
27102
|
if (shared.isArray(rawRef)) {
|
|
@@ -27084,16 +27115,21 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
27084
27115
|
const setupState = owner.setupState;
|
|
27085
27116
|
const rawSetupState = reactivity.toRaw(setupState);
|
|
27086
27117
|
const canSetSetupRef = setupState === shared.EMPTY_OBJ ? shared.NO : (key) => {
|
|
27118
|
+
if (isTemplateRefKey(refs, key)) return false;
|
|
27087
27119
|
return shared.hasOwn(rawSetupState, key);
|
|
27088
27120
|
};
|
|
27121
|
+
const canSetRef = (ref2, key) => {
|
|
27122
|
+
if (key && isTemplateRefKey(refs, key)) return false;
|
|
27123
|
+
return true;
|
|
27124
|
+
};
|
|
27089
27125
|
if (oldRef != null && oldRef !== ref) {
|
|
27090
27126
|
invalidatePendingSetRef(oldRawRef);
|
|
27091
27127
|
if (shared.isString(oldRef)) {
|
|
27092
27128
|
refs[oldRef] = null;
|
|
27093
27129
|
if (canSetSetupRef(oldRef)) setupState[oldRef] = null;
|
|
27094
27130
|
} else if (reactivity.isRef(oldRef)) {
|
|
27095
|
-
oldRef.value = null;
|
|
27096
27131
|
const oldRawRefAtom = oldRawRef;
|
|
27132
|
+
if (canSetRef(oldRef, oldRawRefAtom.k)) oldRef.value = null;
|
|
27097
27133
|
if (oldRawRefAtom.k) refs[oldRawRefAtom.k] = null;
|
|
27098
27134
|
}
|
|
27099
27135
|
}
|
|
@@ -27104,14 +27140,14 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
27104
27140
|
if (_isString || _isRef) {
|
|
27105
27141
|
const doSet = () => {
|
|
27106
27142
|
if (rawRef.f) {
|
|
27107
|
-
const existing = _isString ? canSetSetupRef(ref) ? setupState[ref] : refs[ref] : ref.value;
|
|
27143
|
+
const existing = _isString ? canSetSetupRef(ref) ? setupState[ref] : refs[ref] : canSetRef() || !rawRef.k ? ref.value : refs[rawRef.k];
|
|
27108
27144
|
if (isUnmount) shared.isArray(existing) && shared.remove(existing, refValue);
|
|
27109
27145
|
else if (!shared.isArray(existing)) if (_isString) {
|
|
27110
27146
|
refs[ref] = [refValue];
|
|
27111
27147
|
if (canSetSetupRef(ref)) setupState[ref] = refs[ref];
|
|
27112
27148
|
} else {
|
|
27113
27149
|
const newVal = [refValue];
|
|
27114
|
-
ref.value = newVal;
|
|
27150
|
+
if (canSetRef(ref, rawRef.k)) ref.value = newVal;
|
|
27115
27151
|
if (rawRef.k) refs[rawRef.k] = newVal;
|
|
27116
27152
|
}
|
|
27117
27153
|
else if (!existing.includes(refValue)) existing.push(refValue);
|
|
@@ -27119,7 +27155,7 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
27119
27155
|
refs[ref] = value;
|
|
27120
27156
|
if (canSetSetupRef(ref)) setupState[ref] = value;
|
|
27121
27157
|
} else if (_isRef) {
|
|
27122
|
-
ref.value = value;
|
|
27158
|
+
if (canSetRef(ref, rawRef.k)) ref.value = value;
|
|
27123
27159
|
if (rawRef.k) refs[rawRef.k] = value;
|
|
27124
27160
|
}
|
|
27125
27161
|
};
|
|
@@ -28062,11 +28098,19 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
28062
28098
|
const ctx = getCurrentInstance();
|
|
28063
28099
|
let awaitable = getAwaitable();
|
|
28064
28100
|
unsetCurrentInstance();
|
|
28101
|
+
const cleanup = () => {
|
|
28102
|
+
if (getCurrentInstance() !== ctx) ctx.scope.off();
|
|
28103
|
+
unsetCurrentInstance();
|
|
28104
|
+
};
|
|
28065
28105
|
if (shared.isPromise(awaitable)) awaitable = awaitable.catch((e) => {
|
|
28066
28106
|
setCurrentInstance(ctx);
|
|
28107
|
+
Promise.resolve().then(() => Promise.resolve().then(cleanup));
|
|
28067
28108
|
throw e;
|
|
28068
28109
|
});
|
|
28069
|
-
return [awaitable, () =>
|
|
28110
|
+
return [awaitable, () => {
|
|
28111
|
+
setCurrentInstance(ctx);
|
|
28112
|
+
Promise.resolve().then(cleanup);
|
|
28113
|
+
}];
|
|
28070
28114
|
}
|
|
28071
28115
|
let shouldCacheAccess = true;
|
|
28072
28116
|
function applyOptions(instance) {
|
|
@@ -28561,7 +28605,7 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
28561
28605
|
const dynamicProps = nextVNode.dynamicProps;
|
|
28562
28606
|
for (let i = 0; i < dynamicProps.length; i++) {
|
|
28563
28607
|
const key = dynamicProps[i];
|
|
28564
|
-
if (nextProps
|
|
28608
|
+
if (hasPropValueChanged(nextProps, prevProps, key) && !isEmitListener(emits, key)) return true;
|
|
28565
28609
|
}
|
|
28566
28610
|
}
|
|
28567
28611
|
} else {
|
|
@@ -28580,10 +28624,16 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
28580
28624
|
if (nextKeys.length !== Object.keys(prevProps).length) return true;
|
|
28581
28625
|
for (let i = 0; i < nextKeys.length; i++) {
|
|
28582
28626
|
const key = nextKeys[i];
|
|
28583
|
-
if (nextProps
|
|
28627
|
+
if (hasPropValueChanged(nextProps, prevProps, key) && !isEmitListener(emitsOptions, key)) return true;
|
|
28584
28628
|
}
|
|
28585
28629
|
return false;
|
|
28586
28630
|
}
|
|
28631
|
+
function hasPropValueChanged(nextProps, prevProps, key) {
|
|
28632
|
+
const nextProp = nextProps[key];
|
|
28633
|
+
const prevProp = prevProps[key];
|
|
28634
|
+
if (key === "style" && shared.isObject(nextProp) && shared.isObject(prevProp)) return !shared.looseEqual(nextProp, prevProp);
|
|
28635
|
+
return nextProp !== prevProp;
|
|
28636
|
+
}
|
|
28587
28637
|
function updateHOCHostEl({ vnode, parent }, el) {
|
|
28588
28638
|
while (parent) {
|
|
28589
28639
|
const root = parent.subTree;
|
|
@@ -28900,7 +28950,7 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
28900
28950
|
else if (n2.type === "math") namespace = "mathml";
|
|
28901
28951
|
if (n1 == null) mountElement(n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
28902
28952
|
else {
|
|
28903
|
-
const customElement =
|
|
28953
|
+
const customElement = n1.el && n1.el._isVueCE ? n1.el : null;
|
|
28904
28954
|
try {
|
|
28905
28955
|
if (customElement) customElement._beginPatch();
|
|
28906
28956
|
patchElement(n1, n2, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
@@ -29074,7 +29124,7 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
29074
29124
|
if (isAsyncWrapperVNode && type.__asyncHydrate) type.__asyncHydrate(el, instance, hydrateSubTree);
|
|
29075
29125
|
else hydrateSubTree();
|
|
29076
29126
|
} else {
|
|
29077
|
-
if (root.ce && root.ce.
|
|
29127
|
+
if (root.ce && root.ce._hasShadowRoot()) root.ce._injectChildStyle(type);
|
|
29078
29128
|
const subTree = instance.subTree = renderComponentRoot(instance);
|
|
29079
29129
|
patch(null, subTree, container, anchor, instance, parentSuspense, namespace);
|
|
29080
29130
|
initialVNode.el = subTree.el;
|
|
@@ -29097,7 +29147,9 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
29097
29147
|
updateComponentPreRender(instance, next, optimized);
|
|
29098
29148
|
}
|
|
29099
29149
|
nonHydratedAsyncRoot.asyncDep.then(() => {
|
|
29100
|
-
|
|
29150
|
+
queuePostRenderEffect(() => {
|
|
29151
|
+
if (!instance.isUnmounted) update();
|
|
29152
|
+
}, parentSuspense);
|
|
29101
29153
|
});
|
|
29102
29154
|
return;
|
|
29103
29155
|
}
|
|
@@ -29465,8 +29517,10 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
29465
29517
|
}
|
|
29466
29518
|
if (!shallow && c2.patchFlag !== -2) traverseStaticChildren(c1, c2);
|
|
29467
29519
|
}
|
|
29468
|
-
if (c2.type === Text)
|
|
29469
|
-
|
|
29520
|
+
if (c2.type === Text) {
|
|
29521
|
+
if (c2.patchFlag === -1) c2 = ch2[i] = cloneIfMounted(c2);
|
|
29522
|
+
c2.el = c1.el;
|
|
29523
|
+
}
|
|
29470
29524
|
if (c2.type === Comment && !c2.el) c2.el = c1.el;
|
|
29471
29525
|
}
|
|
29472
29526
|
}
|
|
@@ -30279,7 +30333,7 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
30279
30333
|
if (isBlockTreeEnabled > 0 && currentBlock) currentBlock.push(cached);
|
|
30280
30334
|
return true;
|
|
30281
30335
|
}
|
|
30282
|
-
const version = "3.5.
|
|
30336
|
+
const version = "3.5.29";
|
|
30283
30337
|
const warn$1 = shared.NOOP;
|
|
30284
30338
|
const ErrorTypeStrings = ErrorTypeStrings$1;
|
|
30285
30339
|
const devtools = void 0;
|
|
@@ -30448,9 +30502,9 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
30448
30502
|
}));
|
|
30449
30503
|
|
|
30450
30504
|
//#endregion
|
|
30451
|
-
//#region ../../node_modules/.pnpm/@vue+runtime-core@3.5.
|
|
30505
|
+
//#region ../../node_modules/.pnpm/@vue+runtime-core@3.5.29/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js
|
|
30452
30506
|
/**
|
|
30453
|
-
* @vue/runtime-core v3.5.
|
|
30507
|
+
* @vue/runtime-core v3.5.29
|
|
30454
30508
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
30455
30509
|
* @license MIT
|
|
30456
30510
|
**/
|
|
@@ -31303,16 +31357,16 @@ var require_runtime_core_cjs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
31303
31357
|
}));
|
|
31304
31358
|
|
|
31305
31359
|
//#endregion
|
|
31306
|
-
//#region ../../node_modules/.pnpm/@vue+runtime-core@3.5.
|
|
31360
|
+
//#region ../../node_modules/.pnpm/@vue+runtime-core@3.5.29/node_modules/@vue/runtime-core/index.js
|
|
31307
31361
|
var require_runtime_core = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
31308
31362
|
if (process.env.NODE_ENV === "production") module.exports = require_runtime_core_cjs_prod();
|
|
31309
31363
|
else module.exports = require_runtime_core_cjs();
|
|
31310
31364
|
}));
|
|
31311
31365
|
|
|
31312
31366
|
//#endregion
|
|
31313
|
-
//#region ../../node_modules/.pnpm/@vue+runtime-dom@3.5.
|
|
31367
|
+
//#region ../../node_modules/.pnpm/@vue+runtime-dom@3.5.29/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js
|
|
31314
31368
|
/**
|
|
31315
|
-
* @vue/runtime-dom v3.5.
|
|
31369
|
+
* @vue/runtime-dom v3.5.29
|
|
31316
31370
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
31317
31371
|
* @license MIT
|
|
31318
31372
|
**/
|
|
@@ -32128,6 +32182,12 @@ var require_runtime_dom_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
32128
32182
|
/**
|
|
32129
32183
|
* @internal
|
|
32130
32184
|
*/
|
|
32185
|
+
_hasShadowRoot() {
|
|
32186
|
+
return this._def.shadowRoot !== false;
|
|
32187
|
+
}
|
|
32188
|
+
/**
|
|
32189
|
+
* @internal
|
|
32190
|
+
*/
|
|
32131
32191
|
_removeChildStyle(comp) {}
|
|
32132
32192
|
};
|
|
32133
32193
|
function useHost(caller) {
|
|
@@ -32208,10 +32268,7 @@ var require_runtime_dom_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
32208
32268
|
if (child.el && child.el instanceof Element) {
|
|
32209
32269
|
prevChildren.push(child);
|
|
32210
32270
|
runtimeCore.setTransitionHooks(child, runtimeCore.resolveTransitionHooks(child, cssTransitionProps, state, instance));
|
|
32211
|
-
positionMap.set(child,
|
|
32212
|
-
left: child.el.offsetLeft,
|
|
32213
|
-
top: child.el.offsetTop
|
|
32214
|
-
});
|
|
32271
|
+
positionMap.set(child, getPosition(child.el));
|
|
32215
32272
|
}
|
|
32216
32273
|
}
|
|
32217
32274
|
children = slots.default ? runtimeCore.getTransitionRawChildren(slots.default()) : [];
|
|
@@ -32229,10 +32286,7 @@ var require_runtime_dom_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
32229
32286
|
if (el[enterCbKey]) el[enterCbKey]();
|
|
32230
32287
|
}
|
|
32231
32288
|
function recordPosition(c) {
|
|
32232
|
-
newPositionMap.set(c,
|
|
32233
|
-
left: c.el.offsetLeft,
|
|
32234
|
-
top: c.el.offsetTop
|
|
32235
|
-
});
|
|
32289
|
+
newPositionMap.set(c, getPosition(c.el));
|
|
32236
32290
|
}
|
|
32237
32291
|
function applyTranslation(c) {
|
|
32238
32292
|
const oldPos = positionMap.get(c);
|
|
@@ -32240,12 +32294,29 @@ var require_runtime_dom_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
32240
32294
|
const dx = oldPos.left - newPos.left;
|
|
32241
32295
|
const dy = oldPos.top - newPos.top;
|
|
32242
32296
|
if (dx || dy) {
|
|
32243
|
-
const
|
|
32244
|
-
s
|
|
32297
|
+
const el = c.el;
|
|
32298
|
+
const s = el.style;
|
|
32299
|
+
const rect = el.getBoundingClientRect();
|
|
32300
|
+
let scaleX = 1;
|
|
32301
|
+
let scaleY = 1;
|
|
32302
|
+
if (el.offsetWidth) scaleX = rect.width / el.offsetWidth;
|
|
32303
|
+
if (el.offsetHeight) scaleY = rect.height / el.offsetHeight;
|
|
32304
|
+
if (!Number.isFinite(scaleX) || scaleX === 0) scaleX = 1;
|
|
32305
|
+
if (!Number.isFinite(scaleY) || scaleY === 0) scaleY = 1;
|
|
32306
|
+
if (Math.abs(scaleX - 1) < .01) scaleX = 1;
|
|
32307
|
+
if (Math.abs(scaleY - 1) < .01) scaleY = 1;
|
|
32308
|
+
s.transform = s.webkitTransform = `translate(${dx / scaleX}px,${dy / scaleY}px)`;
|
|
32245
32309
|
s.transitionDuration = "0s";
|
|
32246
32310
|
return c;
|
|
32247
32311
|
}
|
|
32248
32312
|
}
|
|
32313
|
+
function getPosition(el) {
|
|
32314
|
+
const rect = el.getBoundingClientRect();
|
|
32315
|
+
return {
|
|
32316
|
+
left: rect.left,
|
|
32317
|
+
top: rect.top
|
|
32318
|
+
};
|
|
32319
|
+
}
|
|
32249
32320
|
function hasCSSTransform(el, root, moveClass) {
|
|
32250
32321
|
const clone = el.cloneNode();
|
|
32251
32322
|
const _vtc = el[vtcKey];
|
|
@@ -32486,6 +32557,7 @@ var require_runtime_dom_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
32486
32557
|
exact: (e, modifiers) => systemModifiers.some((m) => e[`${m}Key`] && !modifiers.includes(m))
|
|
32487
32558
|
};
|
|
32488
32559
|
const withModifiers = (fn, modifiers) => {
|
|
32560
|
+
if (!fn) return fn;
|
|
32489
32561
|
const cache = fn._withMods || (fn._withMods = {});
|
|
32490
32562
|
const cacheKey = modifiers.join(".");
|
|
32491
32563
|
return cache[cacheKey] || (cache[cacheKey] = ((event, ...args) => {
|
|
@@ -32604,9 +32676,9 @@ var require_runtime_dom_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
32604
32676
|
}));
|
|
32605
32677
|
|
|
32606
32678
|
//#endregion
|
|
32607
|
-
//#region ../../node_modules/.pnpm/@vue+runtime-dom@3.5.
|
|
32679
|
+
//#region ../../node_modules/.pnpm/@vue+runtime-dom@3.5.29/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js
|
|
32608
32680
|
/**
|
|
32609
|
-
* @vue/runtime-dom v3.5.
|
|
32681
|
+
* @vue/runtime-dom v3.5.29
|
|
32610
32682
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
32611
32683
|
* @license MIT
|
|
32612
32684
|
**/
|
|
@@ -33459,6 +33531,12 @@ Expected function or array of functions, received type ${typeof value}.`);
|
|
|
33459
33531
|
/**
|
|
33460
33532
|
* @internal
|
|
33461
33533
|
*/
|
|
33534
|
+
_hasShadowRoot() {
|
|
33535
|
+
return this._def.shadowRoot !== false;
|
|
33536
|
+
}
|
|
33537
|
+
/**
|
|
33538
|
+
* @internal
|
|
33539
|
+
*/
|
|
33462
33540
|
_removeChildStyle(comp) {
|
|
33463
33541
|
this._styleChildren.delete(comp);
|
|
33464
33542
|
if (this._childStyles && comp.__hmrId) {
|
|
@@ -33559,10 +33637,7 @@ Expected function or array of functions, received type ${typeof value}.`);
|
|
|
33559
33637
|
if (child.el && child.el instanceof Element) {
|
|
33560
33638
|
prevChildren.push(child);
|
|
33561
33639
|
runtimeCore.setTransitionHooks(child, runtimeCore.resolveTransitionHooks(child, cssTransitionProps, state, instance));
|
|
33562
|
-
positionMap.set(child,
|
|
33563
|
-
left: child.el.offsetLeft,
|
|
33564
|
-
top: child.el.offsetTop
|
|
33565
|
-
});
|
|
33640
|
+
positionMap.set(child, getPosition(child.el));
|
|
33566
33641
|
}
|
|
33567
33642
|
}
|
|
33568
33643
|
children = slots.default ? runtimeCore.getTransitionRawChildren(slots.default()) : [];
|
|
@@ -33581,10 +33656,7 @@ Expected function or array of functions, received type ${typeof value}.`);
|
|
|
33581
33656
|
if (el[enterCbKey]) el[enterCbKey]();
|
|
33582
33657
|
}
|
|
33583
33658
|
function recordPosition(c) {
|
|
33584
|
-
newPositionMap.set(c,
|
|
33585
|
-
left: c.el.offsetLeft,
|
|
33586
|
-
top: c.el.offsetTop
|
|
33587
|
-
});
|
|
33659
|
+
newPositionMap.set(c, getPosition(c.el));
|
|
33588
33660
|
}
|
|
33589
33661
|
function applyTranslation(c) {
|
|
33590
33662
|
const oldPos = positionMap.get(c);
|
|
@@ -33592,12 +33664,29 @@ Expected function or array of functions, received type ${typeof value}.`);
|
|
|
33592
33664
|
const dx = oldPos.left - newPos.left;
|
|
33593
33665
|
const dy = oldPos.top - newPos.top;
|
|
33594
33666
|
if (dx || dy) {
|
|
33595
|
-
const
|
|
33596
|
-
s
|
|
33667
|
+
const el = c.el;
|
|
33668
|
+
const s = el.style;
|
|
33669
|
+
const rect = el.getBoundingClientRect();
|
|
33670
|
+
let scaleX = 1;
|
|
33671
|
+
let scaleY = 1;
|
|
33672
|
+
if (el.offsetWidth) scaleX = rect.width / el.offsetWidth;
|
|
33673
|
+
if (el.offsetHeight) scaleY = rect.height / el.offsetHeight;
|
|
33674
|
+
if (!Number.isFinite(scaleX) || scaleX === 0) scaleX = 1;
|
|
33675
|
+
if (!Number.isFinite(scaleY) || scaleY === 0) scaleY = 1;
|
|
33676
|
+
if (Math.abs(scaleX - 1) < .01) scaleX = 1;
|
|
33677
|
+
if (Math.abs(scaleY - 1) < .01) scaleY = 1;
|
|
33678
|
+
s.transform = s.webkitTransform = `translate(${dx / scaleX}px,${dy / scaleY}px)`;
|
|
33597
33679
|
s.transitionDuration = "0s";
|
|
33598
33680
|
return c;
|
|
33599
33681
|
}
|
|
33600
33682
|
}
|
|
33683
|
+
function getPosition(el) {
|
|
33684
|
+
const rect = el.getBoundingClientRect();
|
|
33685
|
+
return {
|
|
33686
|
+
left: rect.left,
|
|
33687
|
+
top: rect.top
|
|
33688
|
+
};
|
|
33689
|
+
}
|
|
33601
33690
|
function hasCSSTransform(el, root, moveClass) {
|
|
33602
33691
|
const clone = el.cloneNode();
|
|
33603
33692
|
const _vtc = el[vtcKey];
|
|
@@ -33841,6 +33930,7 @@ Expected function or array of functions, received type ${typeof value}.`);
|
|
|
33841
33930
|
exact: (e, modifiers) => systemModifiers.some((m) => e[`${m}Key`] && !modifiers.includes(m))
|
|
33842
33931
|
};
|
|
33843
33932
|
const withModifiers = (fn, modifiers) => {
|
|
33933
|
+
if (!fn) return fn;
|
|
33844
33934
|
const cache = fn._withMods || (fn._withMods = {});
|
|
33845
33935
|
const cacheKey = modifiers.join(".");
|
|
33846
33936
|
return cache[cacheKey] || (cache[cacheKey] = ((event, ...args) => {
|
|
@@ -34001,16 +34091,16 @@ Expected function or array of functions, received type ${typeof value}.`);
|
|
|
34001
34091
|
}));
|
|
34002
34092
|
|
|
34003
34093
|
//#endregion
|
|
34004
|
-
//#region ../../node_modules/.pnpm/@vue+runtime-dom@3.5.
|
|
34094
|
+
//#region ../../node_modules/.pnpm/@vue+runtime-dom@3.5.29/node_modules/@vue/runtime-dom/index.js
|
|
34005
34095
|
var require_runtime_dom = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
34006
34096
|
if (process.env.NODE_ENV === "production") module.exports = require_runtime_dom_cjs_prod();
|
|
34007
34097
|
else module.exports = require_runtime_dom_cjs();
|
|
34008
34098
|
}));
|
|
34009
34099
|
|
|
34010
34100
|
//#endregion
|
|
34011
|
-
//#region ../../node_modules/.pnpm/vue@3.5.
|
|
34101
|
+
//#region ../../node_modules/.pnpm/vue@3.5.29_typescript@5.9.3/node_modules/vue/dist/vue.cjs.prod.js
|
|
34012
34102
|
/**
|
|
34013
|
-
* vue v3.5.
|
|
34103
|
+
* vue v3.5.29
|
|
34014
34104
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
34015
34105
|
* @license MIT
|
|
34016
34106
|
**/
|
|
@@ -34056,9 +34146,9 @@ var require_vue_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
34056
34146
|
}));
|
|
34057
34147
|
|
|
34058
34148
|
//#endregion
|
|
34059
|
-
//#region ../../node_modules/.pnpm/vue@3.5.
|
|
34149
|
+
//#region ../../node_modules/.pnpm/vue@3.5.29_typescript@5.9.3/node_modules/vue/dist/vue.cjs.js
|
|
34060
34150
|
/**
|
|
34061
|
-
* vue v3.5.
|
|
34151
|
+
* vue v3.5.29
|
|
34062
34152
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
34063
34153
|
* @license MIT
|
|
34064
34154
|
**/
|
|
@@ -34114,14 +34204,14 @@ ${codeFrame}` : message);
|
|
|
34114
34204
|
}));
|
|
34115
34205
|
|
|
34116
34206
|
//#endregion
|
|
34117
|
-
//#region ../../node_modules/.pnpm/vue@3.5.
|
|
34207
|
+
//#region ../../node_modules/.pnpm/vue@3.5.29_typescript@5.9.3/node_modules/vue/index.js
|
|
34118
34208
|
var require_vue = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
34119
34209
|
if (process.env.NODE_ENV === "production") module.exports = require_vue_cjs_prod();
|
|
34120
34210
|
else module.exports = require_vue_cjs();
|
|
34121
34211
|
}));
|
|
34122
34212
|
|
|
34123
34213
|
//#endregion
|
|
34124
|
-
//#region ../../node_modules/.pnpm/@vueuse+shared@14.2.
|
|
34214
|
+
//#region ../../node_modules/.pnpm/@vueuse+shared@14.2.1_vue@3.5.29_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js
|
|
34125
34215
|
const isWorker = typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
|
|
34126
34216
|
function promiseTimeout(ms, throwOnTimeout = false, reason = "Timeout") {
|
|
34127
34217
|
return new Promise((resolve, reject) => {
|