setupin 3.2.0 → 3.3.0
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 +142 -138
- package/README.zh-CN.md +143 -139
- package/dist/main.js +338 -302
- package/dist/main.prod.js +104 -106
- package/package.json +20 -13
package/dist/main.js
CHANGED
|
@@ -51,6 +51,23 @@ var __async = (__this, __arguments, generator) => {
|
|
|
51
51
|
};
|
|
52
52
|
(function() {
|
|
53
53
|
"use strict";
|
|
54
|
+
function generator({ id: id2, appName, isScoped, mount }) {
|
|
55
|
+
return {
|
|
56
|
+
initCode: `let ${appName} = {}`,
|
|
57
|
+
createAppCode: `
|
|
58
|
+
import { createApp as _createApp, defineComponent as _defineComponent, h as _h, Suspense as _Suspense } from 'vue'
|
|
59
|
+
_createApp(_defineComponent(
|
|
60
|
+
String(${appName}.setup).startsWith('async')
|
|
61
|
+
? () => () => _h(_Suspense, null, {
|
|
62
|
+
default: _h(${appName}),
|
|
63
|
+
fallback: _h('div', 'Loading...'),
|
|
64
|
+
})
|
|
65
|
+
: ${appName}
|
|
66
|
+
)).mount("${mount}")
|
|
67
|
+
`,
|
|
68
|
+
scopeIdCode: isScoped ? `${appName}.__scopeId = "data-v-${id2}"` : ""
|
|
69
|
+
};
|
|
70
|
+
}
|
|
54
71
|
/**
|
|
55
72
|
* @vue/compiler-sfc v3.5.13
|
|
56
73
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
@@ -1122,6 +1139,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
1122
1139
|
case EntityDecoderState.NamedEntity: {
|
|
1123
1140
|
return this.result !== 0 && (this.decodeMode !== DecodingMode.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
|
|
1124
1141
|
}
|
|
1142
|
+
// Otherwise, emit a numeric entity if we have one.
|
|
1125
1143
|
case EntityDecoderState.NumericDecimal: {
|
|
1126
1144
|
return this.emitNumericEntity(0, 2);
|
|
1127
1145
|
}
|
|
@@ -14234,7 +14252,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
14234
14252
|
const flags = this.prodParam.currentFlags();
|
|
14235
14253
|
const prodParamToClear = 8 & flags;
|
|
14236
14254
|
if (prodParamToClear) {
|
|
14237
|
-
this.prodParam.enter(flags &
|
|
14255
|
+
this.prodParam.enter(flags & -9);
|
|
14238
14256
|
try {
|
|
14239
14257
|
return callback();
|
|
14240
14258
|
} finally {
|
|
@@ -16633,6 +16651,9 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
16633
16651
|
const isStaticPropertyKey = (node2, parent) => isStaticProperty(parent) && parent.key === node2;
|
|
16634
16652
|
function isReferenced(node2, parent, grandparent) {
|
|
16635
16653
|
switch (parent.type) {
|
|
16654
|
+
// yes: PARENT[NODE]
|
|
16655
|
+
// yes: NODE.child
|
|
16656
|
+
// no: parent.NODE
|
|
16636
16657
|
case "MemberExpression":
|
|
16637
16658
|
case "OptionalMemberExpression":
|
|
16638
16659
|
if (parent.property === node2) {
|
|
@@ -16641,12 +16662,23 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
16641
16662
|
return parent.object === node2;
|
|
16642
16663
|
case "JSXMemberExpression":
|
|
16643
16664
|
return parent.object === node2;
|
|
16665
|
+
// no: let NODE = init;
|
|
16666
|
+
// yes: let id = NODE;
|
|
16644
16667
|
case "VariableDeclarator":
|
|
16645
16668
|
return parent.init === node2;
|
|
16669
|
+
// yes: () => NODE
|
|
16670
|
+
// no: (NODE) => {}
|
|
16646
16671
|
case "ArrowFunctionExpression":
|
|
16647
16672
|
return parent.body === node2;
|
|
16673
|
+
// no: class { #NODE; }
|
|
16674
|
+
// no: class { get #NODE() {} }
|
|
16675
|
+
// no: class { #NODE() {} }
|
|
16676
|
+
// no: class { fn() { return this.#NODE; } }
|
|
16648
16677
|
case "PrivateName":
|
|
16649
16678
|
return false;
|
|
16679
|
+
// no: class { NODE() {} }
|
|
16680
|
+
// yes: class { [NODE]() {} }
|
|
16681
|
+
// no: class { foo(NODE) {} }
|
|
16650
16682
|
case "ClassMethod":
|
|
16651
16683
|
case "ClassPrivateMethod":
|
|
16652
16684
|
case "ObjectMethod":
|
|
@@ -16654,11 +16686,18 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
16654
16686
|
return !!parent.computed;
|
|
16655
16687
|
}
|
|
16656
16688
|
return false;
|
|
16689
|
+
// yes: { [NODE]: "" }
|
|
16690
|
+
// no: { NODE: "" }
|
|
16691
|
+
// depends: { NODE }
|
|
16692
|
+
// depends: { key: NODE }
|
|
16657
16693
|
case "ObjectProperty":
|
|
16658
16694
|
if (parent.key === node2) {
|
|
16659
16695
|
return !!parent.computed;
|
|
16660
16696
|
}
|
|
16661
|
-
return
|
|
16697
|
+
return true;
|
|
16698
|
+
// no: class { NODE = value; }
|
|
16699
|
+
// yes: class { [NODE] = value; }
|
|
16700
|
+
// yes: class { key = NODE; }
|
|
16662
16701
|
case "ClassProperty":
|
|
16663
16702
|
if (parent.key === node2) {
|
|
16664
16703
|
return !!parent.computed;
|
|
@@ -16666,47 +16705,80 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
16666
16705
|
return true;
|
|
16667
16706
|
case "ClassPrivateProperty":
|
|
16668
16707
|
return parent.key !== node2;
|
|
16708
|
+
// no: class NODE {}
|
|
16709
|
+
// yes: class Foo extends NODE {}
|
|
16669
16710
|
case "ClassDeclaration":
|
|
16670
16711
|
case "ClassExpression":
|
|
16671
16712
|
return parent.superClass === node2;
|
|
16713
|
+
// yes: left = NODE;
|
|
16714
|
+
// no: NODE = right;
|
|
16672
16715
|
case "AssignmentExpression":
|
|
16673
16716
|
return parent.right === node2;
|
|
16717
|
+
// no: [NODE = foo] = [];
|
|
16718
|
+
// yes: [foo = NODE] = [];
|
|
16674
16719
|
case "AssignmentPattern":
|
|
16675
16720
|
return parent.right === node2;
|
|
16721
|
+
// no: NODE: for (;;) {}
|
|
16676
16722
|
case "LabeledStatement":
|
|
16677
16723
|
return false;
|
|
16724
|
+
// no: try {} catch (NODE) {}
|
|
16678
16725
|
case "CatchClause":
|
|
16679
16726
|
return false;
|
|
16727
|
+
// no: function foo(...NODE) {}
|
|
16680
16728
|
case "RestElement":
|
|
16681
16729
|
return false;
|
|
16682
16730
|
case "BreakStatement":
|
|
16683
16731
|
case "ContinueStatement":
|
|
16684
16732
|
return false;
|
|
16733
|
+
// no: function NODE() {}
|
|
16734
|
+
// no: function foo(NODE) {}
|
|
16685
16735
|
case "FunctionDeclaration":
|
|
16686
16736
|
case "FunctionExpression":
|
|
16687
16737
|
return false;
|
|
16738
|
+
// no: export NODE from "foo";
|
|
16739
|
+
// no: export * as NODE from "foo";
|
|
16688
16740
|
case "ExportNamespaceSpecifier":
|
|
16689
16741
|
case "ExportDefaultSpecifier":
|
|
16690
16742
|
return false;
|
|
16743
|
+
// no: export { foo as NODE };
|
|
16744
|
+
// yes: export { NODE as foo };
|
|
16745
|
+
// no: export { NODE as foo } from "foo";
|
|
16691
16746
|
case "ExportSpecifier":
|
|
16692
16747
|
return parent.local === node2;
|
|
16748
|
+
// no: import NODE from "foo";
|
|
16749
|
+
// no: import * as NODE from "foo";
|
|
16750
|
+
// no: import { NODE as foo } from "foo";
|
|
16751
|
+
// no: import { foo as NODE } from "foo";
|
|
16752
|
+
// no: import NODE from "bar";
|
|
16693
16753
|
case "ImportDefaultSpecifier":
|
|
16694
16754
|
case "ImportNamespaceSpecifier":
|
|
16695
16755
|
case "ImportSpecifier":
|
|
16696
16756
|
return false;
|
|
16757
|
+
// no: import "foo" assert { NODE: "json" }
|
|
16697
16758
|
case "ImportAttribute":
|
|
16698
16759
|
return false;
|
|
16760
|
+
// no: <div NODE="foo" />
|
|
16699
16761
|
case "JSXAttribute":
|
|
16700
16762
|
return false;
|
|
16763
|
+
// no: [NODE] = [];
|
|
16764
|
+
// no: ({ NODE }) = [];
|
|
16701
16765
|
case "ObjectPattern":
|
|
16702
16766
|
case "ArrayPattern":
|
|
16703
16767
|
return false;
|
|
16768
|
+
// no: new.NODE
|
|
16769
|
+
// no: NODE.target
|
|
16704
16770
|
case "MetaProperty":
|
|
16705
16771
|
return false;
|
|
16772
|
+
// yes: type X = { someProperty: NODE }
|
|
16773
|
+
// no: type X = { NODE: OtherType }
|
|
16706
16774
|
case "ObjectTypeProperty":
|
|
16707
16775
|
return parent.key !== node2;
|
|
16776
|
+
// yes: enum X { Foo = NODE }
|
|
16777
|
+
// no: enum X { NODE }
|
|
16708
16778
|
case "TSEnumMember":
|
|
16709
16779
|
return parent.id !== node2;
|
|
16780
|
+
// yes: { [NODE]: value }
|
|
16781
|
+
// no: { NODE: value }
|
|
16710
16782
|
case "TSPropertySignature":
|
|
16711
16783
|
if (parent.key === node2) {
|
|
16712
16784
|
return !!parent.computed;
|
|
@@ -17356,7 +17428,9 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
17356
17428
|
case 17:
|
|
17357
17429
|
case 18:
|
|
17358
17430
|
case 19:
|
|
17431
|
+
// "
|
|
17359
17432
|
case 20:
|
|
17433
|
+
// '
|
|
17360
17434
|
case 21:
|
|
17361
17435
|
emitError(9, end);
|
|
17362
17436
|
break;
|
|
@@ -18306,6 +18380,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
18306
18380
|
context.helper(TO_DISPLAY_STRING);
|
|
18307
18381
|
}
|
|
18308
18382
|
break;
|
|
18383
|
+
// for container types, further traverse downwards
|
|
18309
18384
|
case 9:
|
|
18310
18385
|
for (let i2 = 0; i2 < node2.branches.length; i2++) {
|
|
18311
18386
|
traverseNode(node2.branches[i2], context);
|
|
@@ -18450,7 +18525,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
18450
18525
|
function requireUtil$3() {
|
|
18451
18526
|
if (hasRequiredUtil$3) return util$3;
|
|
18452
18527
|
hasRequiredUtil$3 = 1;
|
|
18453
|
-
(function(exports) {
|
|
18528
|
+
(function(exports$1) {
|
|
18454
18529
|
function getArg(aArgs, aName, aDefaultValue) {
|
|
18455
18530
|
if (aName in aArgs) {
|
|
18456
18531
|
return aArgs[aName];
|
|
@@ -18460,7 +18535,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
18460
18535
|
throw new Error('"' + aName + '" is a required argument.');
|
|
18461
18536
|
}
|
|
18462
18537
|
}
|
|
18463
|
-
exports.getArg = getArg;
|
|
18538
|
+
exports$1.getArg = getArg;
|
|
18464
18539
|
var urlRegexp = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;
|
|
18465
18540
|
var dataUrlRegexp = /^data:.+\,.+$/;
|
|
18466
18541
|
function urlParse2(aUrl) {
|
|
@@ -18476,7 +18551,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
18476
18551
|
path: match[5]
|
|
18477
18552
|
};
|
|
18478
18553
|
}
|
|
18479
|
-
exports.urlParse = urlParse2;
|
|
18554
|
+
exports$1.urlParse = urlParse2;
|
|
18480
18555
|
function urlGenerate(aParsedUrl) {
|
|
18481
18556
|
var url = "";
|
|
18482
18557
|
if (aParsedUrl.scheme) {
|
|
@@ -18497,7 +18572,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
18497
18572
|
}
|
|
18498
18573
|
return url;
|
|
18499
18574
|
}
|
|
18500
|
-
exports.urlGenerate = urlGenerate;
|
|
18575
|
+
exports$1.urlGenerate = urlGenerate;
|
|
18501
18576
|
var MAX_CACHED_INPUTS = 32;
|
|
18502
18577
|
function lruMemoize(f) {
|
|
18503
18578
|
var cache = [];
|
|
@@ -18530,7 +18605,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
18530
18605
|
}
|
|
18531
18606
|
path2 = url.path;
|
|
18532
18607
|
}
|
|
18533
|
-
var isAbsolute2 = exports.isAbsolute(path2);
|
|
18608
|
+
var isAbsolute2 = exports$1.isAbsolute(path2);
|
|
18534
18609
|
var parts = [];
|
|
18535
18610
|
var start = 0;
|
|
18536
18611
|
var i = 0;
|
|
@@ -18573,7 +18648,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
18573
18648
|
}
|
|
18574
18649
|
return path2;
|
|
18575
18650
|
});
|
|
18576
|
-
exports.normalize = normalize2;
|
|
18651
|
+
exports$1.normalize = normalize2;
|
|
18577
18652
|
function join2(aRoot, aPath) {
|
|
18578
18653
|
if (aRoot === "") {
|
|
18579
18654
|
aRoot = ".";
|
|
@@ -18606,8 +18681,8 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
18606
18681
|
}
|
|
18607
18682
|
return joined;
|
|
18608
18683
|
}
|
|
18609
|
-
exports.join = join2;
|
|
18610
|
-
exports.isAbsolute = function(aPath) {
|
|
18684
|
+
exports$1.join = join2;
|
|
18685
|
+
exports$1.isAbsolute = function(aPath) {
|
|
18611
18686
|
return aPath.charAt(0) === "/" || urlRegexp.test(aPath);
|
|
18612
18687
|
};
|
|
18613
18688
|
function relative2(aRoot, aPath) {
|
|
@@ -18629,11 +18704,11 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
18629
18704
|
}
|
|
18630
18705
|
return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1);
|
|
18631
18706
|
}
|
|
18632
|
-
exports.relative = relative2;
|
|
18633
|
-
var supportsNullProto = function() {
|
|
18707
|
+
exports$1.relative = relative2;
|
|
18708
|
+
var supportsNullProto = (function() {
|
|
18634
18709
|
var obj = /* @__PURE__ */ Object.create(null);
|
|
18635
18710
|
return !("__proto__" in obj);
|
|
18636
|
-
}();
|
|
18711
|
+
})();
|
|
18637
18712
|
function identity(s) {
|
|
18638
18713
|
return s;
|
|
18639
18714
|
}
|
|
@@ -18643,14 +18718,14 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
18643
18718
|
}
|
|
18644
18719
|
return aStr;
|
|
18645
18720
|
}
|
|
18646
|
-
exports.toSetString = supportsNullProto ? identity : toSetString;
|
|
18721
|
+
exports$1.toSetString = supportsNullProto ? identity : toSetString;
|
|
18647
18722
|
function fromSetString(aStr) {
|
|
18648
18723
|
if (isProtoString(aStr)) {
|
|
18649
18724
|
return aStr.slice(1);
|
|
18650
18725
|
}
|
|
18651
18726
|
return aStr;
|
|
18652
18727
|
}
|
|
18653
|
-
exports.fromSetString = supportsNullProto ? identity : fromSetString;
|
|
18728
|
+
exports$1.fromSetString = supportsNullProto ? identity : fromSetString;
|
|
18654
18729
|
function isProtoString(s) {
|
|
18655
18730
|
if (!s) {
|
|
18656
18731
|
return false;
|
|
@@ -18692,7 +18767,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
18692
18767
|
}
|
|
18693
18768
|
return strcmp(mappingA.name, mappingB.name);
|
|
18694
18769
|
}
|
|
18695
|
-
exports.compareByOriginalPositions = compareByOriginalPositions;
|
|
18770
|
+
exports$1.compareByOriginalPositions = compareByOriginalPositions;
|
|
18696
18771
|
function compareByOriginalPositionsNoSource(mappingA, mappingB, onlyCompareOriginal) {
|
|
18697
18772
|
var cmp;
|
|
18698
18773
|
cmp = mappingA.originalLine - mappingB.originalLine;
|
|
@@ -18713,7 +18788,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
18713
18788
|
}
|
|
18714
18789
|
return strcmp(mappingA.name, mappingB.name);
|
|
18715
18790
|
}
|
|
18716
|
-
exports.compareByOriginalPositionsNoSource = compareByOriginalPositionsNoSource;
|
|
18791
|
+
exports$1.compareByOriginalPositionsNoSource = compareByOriginalPositionsNoSource;
|
|
18717
18792
|
function compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) {
|
|
18718
18793
|
var cmp = mappingA.generatedLine - mappingB.generatedLine;
|
|
18719
18794
|
if (cmp !== 0) {
|
|
@@ -18737,7 +18812,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
18737
18812
|
}
|
|
18738
18813
|
return strcmp(mappingA.name, mappingB.name);
|
|
18739
18814
|
}
|
|
18740
|
-
exports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;
|
|
18815
|
+
exports$1.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;
|
|
18741
18816
|
function compareByGeneratedPositionsDeflatedNoLine(mappingA, mappingB, onlyCompareGenerated) {
|
|
18742
18817
|
var cmp = mappingA.generatedColumn - mappingB.generatedColumn;
|
|
18743
18818
|
if (cmp !== 0 || onlyCompareGenerated) {
|
|
@@ -18757,7 +18832,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
18757
18832
|
}
|
|
18758
18833
|
return strcmp(mappingA.name, mappingB.name);
|
|
18759
18834
|
}
|
|
18760
|
-
exports.compareByGeneratedPositionsDeflatedNoLine = compareByGeneratedPositionsDeflatedNoLine;
|
|
18835
|
+
exports$1.compareByGeneratedPositionsDeflatedNoLine = compareByGeneratedPositionsDeflatedNoLine;
|
|
18761
18836
|
function strcmp(aStr1, aStr2) {
|
|
18762
18837
|
if (aStr1 === aStr2) {
|
|
18763
18838
|
return 0;
|
|
@@ -18796,11 +18871,11 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
18796
18871
|
}
|
|
18797
18872
|
return strcmp(mappingA.name, mappingB.name);
|
|
18798
18873
|
}
|
|
18799
|
-
exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;
|
|
18874
|
+
exports$1.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;
|
|
18800
18875
|
function parseSourceMapInput(str) {
|
|
18801
18876
|
return JSON.parse(str.replace(/^\)]}'[^\n]*\n/, ""));
|
|
18802
18877
|
}
|
|
18803
|
-
exports.parseSourceMapInput = parseSourceMapInput;
|
|
18878
|
+
exports$1.parseSourceMapInput = parseSourceMapInput;
|
|
18804
18879
|
function computeSourceURL(sourceRoot, sourceURL, sourceMapURL) {
|
|
18805
18880
|
sourceURL = sourceURL || "";
|
|
18806
18881
|
if (sourceRoot) {
|
|
@@ -18824,7 +18899,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
18824
18899
|
}
|
|
18825
18900
|
return normalize2(sourceURL);
|
|
18826
18901
|
}
|
|
18827
|
-
exports.computeSourceURL = computeSourceURL;
|
|
18902
|
+
exports$1.computeSourceURL = computeSourceURL;
|
|
18828
18903
|
})(util$3);
|
|
18829
18904
|
return util$3;
|
|
18830
18905
|
}
|
|
@@ -19238,9 +19313,9 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
19238
19313
|
function requireBinarySearch$2() {
|
|
19239
19314
|
if (hasRequiredBinarySearch$2) return binarySearch$2;
|
|
19240
19315
|
hasRequiredBinarySearch$2 = 1;
|
|
19241
|
-
(function(exports) {
|
|
19242
|
-
exports.GREATEST_LOWER_BOUND = 1;
|
|
19243
|
-
exports.LEAST_UPPER_BOUND = 2;
|
|
19316
|
+
(function(exports$1) {
|
|
19317
|
+
exports$1.GREATEST_LOWER_BOUND = 1;
|
|
19318
|
+
exports$1.LEAST_UPPER_BOUND = 2;
|
|
19244
19319
|
function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) {
|
|
19245
19320
|
var mid = Math.floor((aHigh - aLow) / 2) + aLow;
|
|
19246
19321
|
var cmp = aCompare(aNeedle, aHaystack[mid], true);
|
|
@@ -19250,7 +19325,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
19250
19325
|
if (aHigh - mid > 1) {
|
|
19251
19326
|
return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias);
|
|
19252
19327
|
}
|
|
19253
|
-
if (aBias == exports.LEAST_UPPER_BOUND) {
|
|
19328
|
+
if (aBias == exports$1.LEAST_UPPER_BOUND) {
|
|
19254
19329
|
return aHigh < aHaystack.length ? aHigh : -1;
|
|
19255
19330
|
} else {
|
|
19256
19331
|
return mid;
|
|
@@ -19259,14 +19334,14 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
19259
19334
|
if (mid - aLow > 1) {
|
|
19260
19335
|
return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias);
|
|
19261
19336
|
}
|
|
19262
|
-
if (aBias == exports.LEAST_UPPER_BOUND) {
|
|
19337
|
+
if (aBias == exports$1.LEAST_UPPER_BOUND) {
|
|
19263
19338
|
return mid;
|
|
19264
19339
|
} else {
|
|
19265
19340
|
return aLow < 0 ? -1 : aLow;
|
|
19266
19341
|
}
|
|
19267
19342
|
}
|
|
19268
19343
|
}
|
|
19269
|
-
exports.search = function search(aNeedle, aHaystack, aCompare, aBias) {
|
|
19344
|
+
exports$1.search = function search(aNeedle, aHaystack, aCompare, aBias) {
|
|
19270
19345
|
if (aHaystack.length === 0) {
|
|
19271
19346
|
return -1;
|
|
19272
19347
|
}
|
|
@@ -19276,7 +19351,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
19276
19351
|
aNeedle,
|
|
19277
19352
|
aHaystack,
|
|
19278
19353
|
aCompare,
|
|
19279
|
-
aBias || exports.GREATEST_LOWER_BOUND
|
|
19354
|
+
aBias || exports$1.GREATEST_LOWER_BOUND
|
|
19280
19355
|
);
|
|
19281
19356
|
if (index < 0) {
|
|
19282
19357
|
return -1;
|
|
@@ -20725,6 +20800,7 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
20725
20800
|
case 21:
|
|
20726
20801
|
genNodeList(node2.body, context, true, false);
|
|
20727
20802
|
break;
|
|
20803
|
+
// SSR only types
|
|
20728
20804
|
case 22:
|
|
20729
20805
|
genTemplateLiteral(node2, context);
|
|
20730
20806
|
break;
|
|
@@ -20740,6 +20816,7 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
20740
20816
|
case 26:
|
|
20741
20817
|
genReturnStatement(node2, context);
|
|
20742
20818
|
break;
|
|
20819
|
+
/* v8 ignore start */
|
|
20743
20820
|
case 10:
|
|
20744
20821
|
break;
|
|
20745
20822
|
default: {
|
|
@@ -31574,7 +31651,7 @@ ${generateCodeFrame(
|
|
|
31574
31651
|
function requireUtil$2() {
|
|
31575
31652
|
if (hasRequiredUtil$2) return util$2;
|
|
31576
31653
|
hasRequiredUtil$2 = 1;
|
|
31577
|
-
(function(exports) {
|
|
31654
|
+
(function(exports$1) {
|
|
31578
31655
|
function getArg(aArgs, aName, aDefaultValue) {
|
|
31579
31656
|
if (aName in aArgs) {
|
|
31580
31657
|
return aArgs[aName];
|
|
@@ -31584,7 +31661,7 @@ ${generateCodeFrame(
|
|
|
31584
31661
|
throw new Error('"' + aName + '" is a required argument.');
|
|
31585
31662
|
}
|
|
31586
31663
|
}
|
|
31587
|
-
exports.getArg = getArg;
|
|
31664
|
+
exports$1.getArg = getArg;
|
|
31588
31665
|
var urlRegexp = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;
|
|
31589
31666
|
var dataUrlRegexp = /^data:.+\,.+$/;
|
|
31590
31667
|
function urlParse2(aUrl) {
|
|
@@ -31600,7 +31677,7 @@ ${generateCodeFrame(
|
|
|
31600
31677
|
path: match[5]
|
|
31601
31678
|
};
|
|
31602
31679
|
}
|
|
31603
|
-
exports.urlParse = urlParse2;
|
|
31680
|
+
exports$1.urlParse = urlParse2;
|
|
31604
31681
|
function urlGenerate(aParsedUrl) {
|
|
31605
31682
|
var url = "";
|
|
31606
31683
|
if (aParsedUrl.scheme) {
|
|
@@ -31621,7 +31698,7 @@ ${generateCodeFrame(
|
|
|
31621
31698
|
}
|
|
31622
31699
|
return url;
|
|
31623
31700
|
}
|
|
31624
|
-
exports.urlGenerate = urlGenerate;
|
|
31701
|
+
exports$1.urlGenerate = urlGenerate;
|
|
31625
31702
|
var MAX_CACHED_INPUTS = 32;
|
|
31626
31703
|
function lruMemoize(f) {
|
|
31627
31704
|
var cache = [];
|
|
@@ -31654,7 +31731,7 @@ ${generateCodeFrame(
|
|
|
31654
31731
|
}
|
|
31655
31732
|
path2 = url.path;
|
|
31656
31733
|
}
|
|
31657
|
-
var isAbsolute2 = exports.isAbsolute(path2);
|
|
31734
|
+
var isAbsolute2 = exports$1.isAbsolute(path2);
|
|
31658
31735
|
var parts = [];
|
|
31659
31736
|
var start = 0;
|
|
31660
31737
|
var i = 0;
|
|
@@ -31697,7 +31774,7 @@ ${generateCodeFrame(
|
|
|
31697
31774
|
}
|
|
31698
31775
|
return path2;
|
|
31699
31776
|
});
|
|
31700
|
-
exports.normalize = normalize2;
|
|
31777
|
+
exports$1.normalize = normalize2;
|
|
31701
31778
|
function join2(aRoot, aPath) {
|
|
31702
31779
|
if (aRoot === "") {
|
|
31703
31780
|
aRoot = ".";
|
|
@@ -31730,8 +31807,8 @@ ${generateCodeFrame(
|
|
|
31730
31807
|
}
|
|
31731
31808
|
return joined;
|
|
31732
31809
|
}
|
|
31733
|
-
exports.join = join2;
|
|
31734
|
-
exports.isAbsolute = function(aPath) {
|
|
31810
|
+
exports$1.join = join2;
|
|
31811
|
+
exports$1.isAbsolute = function(aPath) {
|
|
31735
31812
|
return aPath.charAt(0) === "/" || urlRegexp.test(aPath);
|
|
31736
31813
|
};
|
|
31737
31814
|
function relative2(aRoot, aPath) {
|
|
@@ -31753,11 +31830,11 @@ ${generateCodeFrame(
|
|
|
31753
31830
|
}
|
|
31754
31831
|
return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1);
|
|
31755
31832
|
}
|
|
31756
|
-
exports.relative = relative2;
|
|
31757
|
-
var supportsNullProto = function() {
|
|
31833
|
+
exports$1.relative = relative2;
|
|
31834
|
+
var supportsNullProto = (function() {
|
|
31758
31835
|
var obj = /* @__PURE__ */ Object.create(null);
|
|
31759
31836
|
return !("__proto__" in obj);
|
|
31760
|
-
}();
|
|
31837
|
+
})();
|
|
31761
31838
|
function identity(s) {
|
|
31762
31839
|
return s;
|
|
31763
31840
|
}
|
|
@@ -31767,14 +31844,14 @@ ${generateCodeFrame(
|
|
|
31767
31844
|
}
|
|
31768
31845
|
return aStr;
|
|
31769
31846
|
}
|
|
31770
|
-
exports.toSetString = supportsNullProto ? identity : toSetString;
|
|
31847
|
+
exports$1.toSetString = supportsNullProto ? identity : toSetString;
|
|
31771
31848
|
function fromSetString(aStr) {
|
|
31772
31849
|
if (isProtoString(aStr)) {
|
|
31773
31850
|
return aStr.slice(1);
|
|
31774
31851
|
}
|
|
31775
31852
|
return aStr;
|
|
31776
31853
|
}
|
|
31777
|
-
exports.fromSetString = supportsNullProto ? identity : fromSetString;
|
|
31854
|
+
exports$1.fromSetString = supportsNullProto ? identity : fromSetString;
|
|
31778
31855
|
function isProtoString(s) {
|
|
31779
31856
|
if (!s) {
|
|
31780
31857
|
return false;
|
|
@@ -31816,7 +31893,7 @@ ${generateCodeFrame(
|
|
|
31816
31893
|
}
|
|
31817
31894
|
return strcmp(mappingA.name, mappingB.name);
|
|
31818
31895
|
}
|
|
31819
|
-
exports.compareByOriginalPositions = compareByOriginalPositions;
|
|
31896
|
+
exports$1.compareByOriginalPositions = compareByOriginalPositions;
|
|
31820
31897
|
function compareByOriginalPositionsNoSource(mappingA, mappingB, onlyCompareOriginal) {
|
|
31821
31898
|
var cmp;
|
|
31822
31899
|
cmp = mappingA.originalLine - mappingB.originalLine;
|
|
@@ -31837,7 +31914,7 @@ ${generateCodeFrame(
|
|
|
31837
31914
|
}
|
|
31838
31915
|
return strcmp(mappingA.name, mappingB.name);
|
|
31839
31916
|
}
|
|
31840
|
-
exports.compareByOriginalPositionsNoSource = compareByOriginalPositionsNoSource;
|
|
31917
|
+
exports$1.compareByOriginalPositionsNoSource = compareByOriginalPositionsNoSource;
|
|
31841
31918
|
function compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) {
|
|
31842
31919
|
var cmp = mappingA.generatedLine - mappingB.generatedLine;
|
|
31843
31920
|
if (cmp !== 0) {
|
|
@@ -31861,7 +31938,7 @@ ${generateCodeFrame(
|
|
|
31861
31938
|
}
|
|
31862
31939
|
return strcmp(mappingA.name, mappingB.name);
|
|
31863
31940
|
}
|
|
31864
|
-
exports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;
|
|
31941
|
+
exports$1.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;
|
|
31865
31942
|
function compareByGeneratedPositionsDeflatedNoLine(mappingA, mappingB, onlyCompareGenerated) {
|
|
31866
31943
|
var cmp = mappingA.generatedColumn - mappingB.generatedColumn;
|
|
31867
31944
|
if (cmp !== 0 || onlyCompareGenerated) {
|
|
@@ -31881,7 +31958,7 @@ ${generateCodeFrame(
|
|
|
31881
31958
|
}
|
|
31882
31959
|
return strcmp(mappingA.name, mappingB.name);
|
|
31883
31960
|
}
|
|
31884
|
-
exports.compareByGeneratedPositionsDeflatedNoLine = compareByGeneratedPositionsDeflatedNoLine;
|
|
31961
|
+
exports$1.compareByGeneratedPositionsDeflatedNoLine = compareByGeneratedPositionsDeflatedNoLine;
|
|
31885
31962
|
function strcmp(aStr1, aStr2) {
|
|
31886
31963
|
if (aStr1 === aStr2) {
|
|
31887
31964
|
return 0;
|
|
@@ -31920,11 +31997,11 @@ ${generateCodeFrame(
|
|
|
31920
31997
|
}
|
|
31921
31998
|
return strcmp(mappingA.name, mappingB.name);
|
|
31922
31999
|
}
|
|
31923
|
-
exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;
|
|
32000
|
+
exports$1.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;
|
|
31924
32001
|
function parseSourceMapInput(str) {
|
|
31925
32002
|
return JSON.parse(str.replace(/^\)]}'[^\n]*\n/, ""));
|
|
31926
32003
|
}
|
|
31927
|
-
exports.parseSourceMapInput = parseSourceMapInput;
|
|
32004
|
+
exports$1.parseSourceMapInput = parseSourceMapInput;
|
|
31928
32005
|
function computeSourceURL(sourceRoot, sourceURL, sourceMapURL) {
|
|
31929
32006
|
sourceURL = sourceURL || "";
|
|
31930
32007
|
if (sourceRoot) {
|
|
@@ -31948,7 +32025,7 @@ ${generateCodeFrame(
|
|
|
31948
32025
|
}
|
|
31949
32026
|
return normalize2(sourceURL);
|
|
31950
32027
|
}
|
|
31951
|
-
exports.computeSourceURL = computeSourceURL;
|
|
32028
|
+
exports$1.computeSourceURL = computeSourceURL;
|
|
31952
32029
|
})(util$2);
|
|
31953
32030
|
return util$2;
|
|
31954
32031
|
}
|
|
@@ -32362,9 +32439,9 @@ ${generateCodeFrame(
|
|
|
32362
32439
|
function requireBinarySearch$1() {
|
|
32363
32440
|
if (hasRequiredBinarySearch$1) return binarySearch$1;
|
|
32364
32441
|
hasRequiredBinarySearch$1 = 1;
|
|
32365
|
-
(function(exports) {
|
|
32366
|
-
exports.GREATEST_LOWER_BOUND = 1;
|
|
32367
|
-
exports.LEAST_UPPER_BOUND = 2;
|
|
32442
|
+
(function(exports$1) {
|
|
32443
|
+
exports$1.GREATEST_LOWER_BOUND = 1;
|
|
32444
|
+
exports$1.LEAST_UPPER_BOUND = 2;
|
|
32368
32445
|
function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) {
|
|
32369
32446
|
var mid = Math.floor((aHigh - aLow) / 2) + aLow;
|
|
32370
32447
|
var cmp = aCompare(aNeedle, aHaystack[mid], true);
|
|
@@ -32374,7 +32451,7 @@ ${generateCodeFrame(
|
|
|
32374
32451
|
if (aHigh - mid > 1) {
|
|
32375
32452
|
return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias);
|
|
32376
32453
|
}
|
|
32377
|
-
if (aBias == exports.LEAST_UPPER_BOUND) {
|
|
32454
|
+
if (aBias == exports$1.LEAST_UPPER_BOUND) {
|
|
32378
32455
|
return aHigh < aHaystack.length ? aHigh : -1;
|
|
32379
32456
|
} else {
|
|
32380
32457
|
return mid;
|
|
@@ -32383,14 +32460,14 @@ ${generateCodeFrame(
|
|
|
32383
32460
|
if (mid - aLow > 1) {
|
|
32384
32461
|
return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias);
|
|
32385
32462
|
}
|
|
32386
|
-
if (aBias == exports.LEAST_UPPER_BOUND) {
|
|
32463
|
+
if (aBias == exports$1.LEAST_UPPER_BOUND) {
|
|
32387
32464
|
return mid;
|
|
32388
32465
|
} else {
|
|
32389
32466
|
return aLow < 0 ? -1 : aLow;
|
|
32390
32467
|
}
|
|
32391
32468
|
}
|
|
32392
32469
|
}
|
|
32393
|
-
exports.search = function search(aNeedle, aHaystack, aCompare, aBias) {
|
|
32470
|
+
exports$1.search = function search(aNeedle, aHaystack, aCompare, aBias) {
|
|
32394
32471
|
if (aHaystack.length === 0) {
|
|
32395
32472
|
return -1;
|
|
32396
32473
|
}
|
|
@@ -32400,7 +32477,7 @@ ${generateCodeFrame(
|
|
|
32400
32477
|
aNeedle,
|
|
32401
32478
|
aHaystack,
|
|
32402
32479
|
aCompare,
|
|
32403
|
-
aBias || exports.GREATEST_LOWER_BOUND
|
|
32480
|
+
aBias || exports$1.GREATEST_LOWER_BOUND
|
|
32404
32481
|
);
|
|
32405
32482
|
if (index < 0) {
|
|
32406
32483
|
return -1;
|
|
@@ -35670,9 +35747,9 @@ ${generateCodeFrame(
|
|
|
35670
35747
|
function requireUnesc() {
|
|
35671
35748
|
if (hasRequiredUnesc) return unesc.exports;
|
|
35672
35749
|
hasRequiredUnesc = 1;
|
|
35673
|
-
(function(module, exports) {
|
|
35674
|
-
exports.__esModule = true;
|
|
35675
|
-
exports["default"] = unesc2;
|
|
35750
|
+
(function(module, exports$1) {
|
|
35751
|
+
exports$1.__esModule = true;
|
|
35752
|
+
exports$1["default"] = unesc2;
|
|
35676
35753
|
function gobbleHex(str) {
|
|
35677
35754
|
var lower = str.toLowerCase();
|
|
35678
35755
|
var hex = "";
|
|
@@ -35725,7 +35802,7 @@ ${generateCodeFrame(
|
|
|
35725
35802
|
}
|
|
35726
35803
|
return ret;
|
|
35727
35804
|
}
|
|
35728
|
-
module.exports = exports.default;
|
|
35805
|
+
module.exports = exports$1.default;
|
|
35729
35806
|
})(unesc, unesc.exports);
|
|
35730
35807
|
return unesc.exports;
|
|
35731
35808
|
}
|
|
@@ -35734,9 +35811,9 @@ ${generateCodeFrame(
|
|
|
35734
35811
|
function requireGetProp() {
|
|
35735
35812
|
if (hasRequiredGetProp) return getProp.exports;
|
|
35736
35813
|
hasRequiredGetProp = 1;
|
|
35737
|
-
(function(module, exports) {
|
|
35738
|
-
exports.__esModule = true;
|
|
35739
|
-
exports["default"] = getProp2;
|
|
35814
|
+
(function(module, exports$1) {
|
|
35815
|
+
exports$1.__esModule = true;
|
|
35816
|
+
exports$1["default"] = getProp2;
|
|
35740
35817
|
function getProp2(obj) {
|
|
35741
35818
|
for (var _len = arguments.length, props = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
35742
35819
|
props[_key - 1] = arguments[_key];
|
|
@@ -35750,7 +35827,7 @@ ${generateCodeFrame(
|
|
|
35750
35827
|
}
|
|
35751
35828
|
return obj;
|
|
35752
35829
|
}
|
|
35753
|
-
module.exports = exports.default;
|
|
35830
|
+
module.exports = exports$1.default;
|
|
35754
35831
|
})(getProp, getProp.exports);
|
|
35755
35832
|
return getProp.exports;
|
|
35756
35833
|
}
|
|
@@ -35759,9 +35836,9 @@ ${generateCodeFrame(
|
|
|
35759
35836
|
function requireEnsureObject() {
|
|
35760
35837
|
if (hasRequiredEnsureObject) return ensureObject.exports;
|
|
35761
35838
|
hasRequiredEnsureObject = 1;
|
|
35762
|
-
(function(module, exports) {
|
|
35763
|
-
exports.__esModule = true;
|
|
35764
|
-
exports["default"] = ensureObject2;
|
|
35839
|
+
(function(module, exports$1) {
|
|
35840
|
+
exports$1.__esModule = true;
|
|
35841
|
+
exports$1["default"] = ensureObject2;
|
|
35765
35842
|
function ensureObject2(obj) {
|
|
35766
35843
|
for (var _len = arguments.length, props = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
35767
35844
|
props[_key - 1] = arguments[_key];
|
|
@@ -35774,7 +35851,7 @@ ${generateCodeFrame(
|
|
|
35774
35851
|
obj = obj[prop];
|
|
35775
35852
|
}
|
|
35776
35853
|
}
|
|
35777
|
-
module.exports = exports.default;
|
|
35854
|
+
module.exports = exports$1.default;
|
|
35778
35855
|
})(ensureObject, ensureObject.exports);
|
|
35779
35856
|
return ensureObject.exports;
|
|
35780
35857
|
}
|
|
@@ -35783,9 +35860,9 @@ ${generateCodeFrame(
|
|
|
35783
35860
|
function requireStripComments() {
|
|
35784
35861
|
if (hasRequiredStripComments) return stripComments.exports;
|
|
35785
35862
|
hasRequiredStripComments = 1;
|
|
35786
|
-
(function(module, exports) {
|
|
35787
|
-
exports.__esModule = true;
|
|
35788
|
-
exports["default"] = stripComments2;
|
|
35863
|
+
(function(module, exports$1) {
|
|
35864
|
+
exports$1.__esModule = true;
|
|
35865
|
+
exports$1["default"] = stripComments2;
|
|
35789
35866
|
function stripComments2(str) {
|
|
35790
35867
|
var s = "";
|
|
35791
35868
|
var commentStart = str.indexOf("/*");
|
|
@@ -35802,7 +35879,7 @@ ${generateCodeFrame(
|
|
|
35802
35879
|
s = s + str.slice(lastEnd);
|
|
35803
35880
|
return s;
|
|
35804
35881
|
}
|
|
35805
|
-
module.exports = exports.default;
|
|
35882
|
+
module.exports = exports$1.default;
|
|
35806
35883
|
})(stripComments, stripComments.exports);
|
|
35807
35884
|
return stripComments.exports;
|
|
35808
35885
|
}
|
|
@@ -35829,9 +35906,9 @@ ${generateCodeFrame(
|
|
|
35829
35906
|
function requireNode$1() {
|
|
35830
35907
|
if (hasRequiredNode$1) return node$1.exports;
|
|
35831
35908
|
hasRequiredNode$1 = 1;
|
|
35832
|
-
(function(module, exports) {
|
|
35833
|
-
exports.__esModule = true;
|
|
35834
|
-
exports["default"] = void 0;
|
|
35909
|
+
(function(module, exports$1) {
|
|
35910
|
+
exports$1.__esModule = true;
|
|
35911
|
+
exports$1["default"] = void 0;
|
|
35835
35912
|
var _util = /* @__PURE__ */ requireUtil$1();
|
|
35836
35913
|
function _defineProperties(target, props) {
|
|
35837
35914
|
for (var i = 0; i < props.length; i++) {
|
|
@@ -35872,7 +35949,7 @@ ${generateCodeFrame(
|
|
|
35872
35949
|
}
|
|
35873
35950
|
return cloned;
|
|
35874
35951
|
};
|
|
35875
|
-
var Node = /* @__PURE__ */ function() {
|
|
35952
|
+
var Node = /* @__PURE__ */ (function() {
|
|
35876
35953
|
function Node2(opts) {
|
|
35877
35954
|
if (opts === void 0) {
|
|
35878
35955
|
opts = {};
|
|
@@ -35996,9 +36073,9 @@ ${generateCodeFrame(
|
|
|
35996
36073
|
}
|
|
35997
36074
|
}]);
|
|
35998
36075
|
return Node2;
|
|
35999
|
-
}();
|
|
36000
|
-
exports["default"] = Node;
|
|
36001
|
-
module.exports = exports.default;
|
|
36076
|
+
})();
|
|
36077
|
+
exports$1["default"] = Node;
|
|
36078
|
+
module.exports = exports$1.default;
|
|
36002
36079
|
})(node$1, node$1.exports);
|
|
36003
36080
|
return node$1.exports;
|
|
36004
36081
|
}
|
|
@@ -36039,9 +36116,9 @@ ${generateCodeFrame(
|
|
|
36039
36116
|
function requireContainer() {
|
|
36040
36117
|
if (hasRequiredContainer) return container.exports;
|
|
36041
36118
|
hasRequiredContainer = 1;
|
|
36042
|
-
(function(module, exports) {
|
|
36043
|
-
exports.__esModule = true;
|
|
36044
|
-
exports["default"] = void 0;
|
|
36119
|
+
(function(module, exports$1) {
|
|
36120
|
+
exports$1.__esModule = true;
|
|
36121
|
+
exports$1["default"] = void 0;
|
|
36045
36122
|
var _node = _interopRequireDefault(/* @__PURE__ */ requireNode$1());
|
|
36046
36123
|
var types2 = _interopRequireWildcard(/* @__PURE__ */ requireTypes());
|
|
36047
36124
|
function _getRequireWildcardCache(nodeInterop) {
|
|
@@ -36138,7 +36215,7 @@ ${generateCodeFrame(
|
|
|
36138
36215
|
};
|
|
36139
36216
|
return _setPrototypeOf(o, p);
|
|
36140
36217
|
}
|
|
36141
|
-
var Container = /* @__PURE__ */ function(_Node) {
|
|
36218
|
+
var Container = /* @__PURE__ */ (function(_Node) {
|
|
36142
36219
|
_inheritsLoose(Container2, _Node);
|
|
36143
36220
|
function Container2(opts) {
|
|
36144
36221
|
var _this;
|
|
@@ -36416,9 +36493,9 @@ ${generateCodeFrame(
|
|
|
36416
36493
|
}
|
|
36417
36494
|
}]);
|
|
36418
36495
|
return Container2;
|
|
36419
|
-
}(_node["default"]);
|
|
36420
|
-
exports["default"] = Container;
|
|
36421
|
-
module.exports = exports.default;
|
|
36496
|
+
})(_node["default"]);
|
|
36497
|
+
exports$1["default"] = Container;
|
|
36498
|
+
module.exports = exports$1.default;
|
|
36422
36499
|
})(container, container.exports);
|
|
36423
36500
|
return container.exports;
|
|
36424
36501
|
}
|
|
@@ -36426,9 +36503,9 @@ ${generateCodeFrame(
|
|
|
36426
36503
|
function requireRoot() {
|
|
36427
36504
|
if (hasRequiredRoot) return root.exports;
|
|
36428
36505
|
hasRequiredRoot = 1;
|
|
36429
|
-
(function(module, exports) {
|
|
36430
|
-
exports.__esModule = true;
|
|
36431
|
-
exports["default"] = void 0;
|
|
36506
|
+
(function(module, exports$1) {
|
|
36507
|
+
exports$1.__esModule = true;
|
|
36508
|
+
exports$1["default"] = void 0;
|
|
36432
36509
|
var _container = _interopRequireDefault(/* @__PURE__ */ requireContainer());
|
|
36433
36510
|
var _types = /* @__PURE__ */ requireTypes();
|
|
36434
36511
|
function _interopRequireDefault(obj) {
|
|
@@ -36460,7 +36537,7 @@ ${generateCodeFrame(
|
|
|
36460
36537
|
};
|
|
36461
36538
|
return _setPrototypeOf(o, p);
|
|
36462
36539
|
}
|
|
36463
|
-
var Root = /* @__PURE__ */ function(_Container) {
|
|
36540
|
+
var Root = /* @__PURE__ */ (function(_Container) {
|
|
36464
36541
|
_inheritsLoose(Root2, _Container);
|
|
36465
36542
|
function Root2(opts) {
|
|
36466
36543
|
var _this;
|
|
@@ -36490,9 +36567,9 @@ ${generateCodeFrame(
|
|
|
36490
36567
|
}
|
|
36491
36568
|
}]);
|
|
36492
36569
|
return Root2;
|
|
36493
|
-
}(_container["default"]);
|
|
36494
|
-
exports["default"] = Root;
|
|
36495
|
-
module.exports = exports.default;
|
|
36570
|
+
})(_container["default"]);
|
|
36571
|
+
exports$1["default"] = Root;
|
|
36572
|
+
module.exports = exports$1.default;
|
|
36496
36573
|
})(root, root.exports);
|
|
36497
36574
|
return root.exports;
|
|
36498
36575
|
}
|
|
@@ -36501,9 +36578,9 @@ ${generateCodeFrame(
|
|
|
36501
36578
|
function requireSelector() {
|
|
36502
36579
|
if (hasRequiredSelector) return selector.exports;
|
|
36503
36580
|
hasRequiredSelector = 1;
|
|
36504
|
-
(function(module, exports) {
|
|
36505
|
-
exports.__esModule = true;
|
|
36506
|
-
exports["default"] = void 0;
|
|
36581
|
+
(function(module, exports$1) {
|
|
36582
|
+
exports$1.__esModule = true;
|
|
36583
|
+
exports$1["default"] = void 0;
|
|
36507
36584
|
var _container = _interopRequireDefault(/* @__PURE__ */ requireContainer());
|
|
36508
36585
|
var _types = /* @__PURE__ */ requireTypes();
|
|
36509
36586
|
function _interopRequireDefault(obj) {
|
|
@@ -36521,7 +36598,7 @@ ${generateCodeFrame(
|
|
|
36521
36598
|
};
|
|
36522
36599
|
return _setPrototypeOf(o, p);
|
|
36523
36600
|
}
|
|
36524
|
-
var Selector = /* @__PURE__ */ function(_Container) {
|
|
36601
|
+
var Selector = /* @__PURE__ */ (function(_Container) {
|
|
36525
36602
|
_inheritsLoose(Selector2, _Container);
|
|
36526
36603
|
function Selector2(opts) {
|
|
36527
36604
|
var _this;
|
|
@@ -36530,9 +36607,9 @@ ${generateCodeFrame(
|
|
|
36530
36607
|
return _this;
|
|
36531
36608
|
}
|
|
36532
36609
|
return Selector2;
|
|
36533
|
-
}(_container["default"]);
|
|
36534
|
-
exports["default"] = Selector;
|
|
36535
|
-
module.exports = exports.default;
|
|
36610
|
+
})(_container["default"]);
|
|
36611
|
+
exports$1["default"] = Selector;
|
|
36612
|
+
module.exports = exports$1.default;
|
|
36536
36613
|
})(selector, selector.exports);
|
|
36537
36614
|
return selector.exports;
|
|
36538
36615
|
}
|
|
@@ -36632,9 +36709,9 @@ ${generateCodeFrame(
|
|
|
36632
36709
|
function requireClassName() {
|
|
36633
36710
|
if (hasRequiredClassName) return className.exports;
|
|
36634
36711
|
hasRequiredClassName = 1;
|
|
36635
|
-
(function(module, exports) {
|
|
36636
|
-
exports.__esModule = true;
|
|
36637
|
-
exports["default"] = void 0;
|
|
36712
|
+
(function(module, exports$1) {
|
|
36713
|
+
exports$1.__esModule = true;
|
|
36714
|
+
exports$1["default"] = void 0;
|
|
36638
36715
|
var _cssesc = _interopRequireDefault(/* @__PURE__ */ requireCssesc());
|
|
36639
36716
|
var _util = /* @__PURE__ */ requireUtil$1();
|
|
36640
36717
|
var _node = _interopRequireDefault(/* @__PURE__ */ requireNode$1());
|
|
@@ -36668,7 +36745,7 @@ ${generateCodeFrame(
|
|
|
36668
36745
|
};
|
|
36669
36746
|
return _setPrototypeOf(o, p);
|
|
36670
36747
|
}
|
|
36671
|
-
var ClassName = /* @__PURE__ */ function(_Node) {
|
|
36748
|
+
var ClassName = /* @__PURE__ */ (function(_Node) {
|
|
36672
36749
|
_inheritsLoose(ClassName2, _Node);
|
|
36673
36750
|
function ClassName2(opts) {
|
|
36674
36751
|
var _this;
|
|
@@ -36702,9 +36779,9 @@ ${generateCodeFrame(
|
|
|
36702
36779
|
}
|
|
36703
36780
|
}]);
|
|
36704
36781
|
return ClassName2;
|
|
36705
|
-
}(_node["default"]);
|
|
36706
|
-
exports["default"] = ClassName;
|
|
36707
|
-
module.exports = exports.default;
|
|
36782
|
+
})(_node["default"]);
|
|
36783
|
+
exports$1["default"] = ClassName;
|
|
36784
|
+
module.exports = exports$1.default;
|
|
36708
36785
|
})(className, className.exports);
|
|
36709
36786
|
return className.exports;
|
|
36710
36787
|
}
|
|
@@ -36713,9 +36790,9 @@ ${generateCodeFrame(
|
|
|
36713
36790
|
function requireComment() {
|
|
36714
36791
|
if (hasRequiredComment) return comment.exports;
|
|
36715
36792
|
hasRequiredComment = 1;
|
|
36716
|
-
(function(module, exports) {
|
|
36717
|
-
exports.__esModule = true;
|
|
36718
|
-
exports["default"] = void 0;
|
|
36793
|
+
(function(module, exports$1) {
|
|
36794
|
+
exports$1.__esModule = true;
|
|
36795
|
+
exports$1["default"] = void 0;
|
|
36719
36796
|
var _node = _interopRequireDefault(/* @__PURE__ */ requireNode$1());
|
|
36720
36797
|
var _types = /* @__PURE__ */ requireTypes();
|
|
36721
36798
|
function _interopRequireDefault(obj) {
|
|
@@ -36733,7 +36810,7 @@ ${generateCodeFrame(
|
|
|
36733
36810
|
};
|
|
36734
36811
|
return _setPrototypeOf(o, p);
|
|
36735
36812
|
}
|
|
36736
|
-
var Comment = /* @__PURE__ */ function(_Node) {
|
|
36813
|
+
var Comment = /* @__PURE__ */ (function(_Node) {
|
|
36737
36814
|
_inheritsLoose(Comment2, _Node);
|
|
36738
36815
|
function Comment2(opts) {
|
|
36739
36816
|
var _this;
|
|
@@ -36742,9 +36819,9 @@ ${generateCodeFrame(
|
|
|
36742
36819
|
return _this;
|
|
36743
36820
|
}
|
|
36744
36821
|
return Comment2;
|
|
36745
|
-
}(_node["default"]);
|
|
36746
|
-
exports["default"] = Comment;
|
|
36747
|
-
module.exports = exports.default;
|
|
36822
|
+
})(_node["default"]);
|
|
36823
|
+
exports$1["default"] = Comment;
|
|
36824
|
+
module.exports = exports$1.default;
|
|
36748
36825
|
})(comment, comment.exports);
|
|
36749
36826
|
return comment.exports;
|
|
36750
36827
|
}
|
|
@@ -36753,9 +36830,9 @@ ${generateCodeFrame(
|
|
|
36753
36830
|
function requireId() {
|
|
36754
36831
|
if (hasRequiredId) return id.exports;
|
|
36755
36832
|
hasRequiredId = 1;
|
|
36756
|
-
(function(module, exports) {
|
|
36757
|
-
exports.__esModule = true;
|
|
36758
|
-
exports["default"] = void 0;
|
|
36833
|
+
(function(module, exports$1) {
|
|
36834
|
+
exports$1.__esModule = true;
|
|
36835
|
+
exports$1["default"] = void 0;
|
|
36759
36836
|
var _node = _interopRequireDefault(/* @__PURE__ */ requireNode$1());
|
|
36760
36837
|
var _types = /* @__PURE__ */ requireTypes();
|
|
36761
36838
|
function _interopRequireDefault(obj) {
|
|
@@ -36773,7 +36850,7 @@ ${generateCodeFrame(
|
|
|
36773
36850
|
};
|
|
36774
36851
|
return _setPrototypeOf(o, p);
|
|
36775
36852
|
}
|
|
36776
|
-
var ID = /* @__PURE__ */ function(_Node) {
|
|
36853
|
+
var ID = /* @__PURE__ */ (function(_Node) {
|
|
36777
36854
|
_inheritsLoose(ID2, _Node);
|
|
36778
36855
|
function ID2(opts) {
|
|
36779
36856
|
var _this;
|
|
@@ -36786,9 +36863,9 @@ ${generateCodeFrame(
|
|
|
36786
36863
|
return "#" + _Node.prototype.valueToString.call(this);
|
|
36787
36864
|
};
|
|
36788
36865
|
return ID2;
|
|
36789
|
-
}(_node["default"]);
|
|
36790
|
-
exports["default"] = ID;
|
|
36791
|
-
module.exports = exports.default;
|
|
36866
|
+
})(_node["default"]);
|
|
36867
|
+
exports$1["default"] = ID;
|
|
36868
|
+
module.exports = exports$1.default;
|
|
36792
36869
|
})(id, id.exports);
|
|
36793
36870
|
return id.exports;
|
|
36794
36871
|
}
|
|
@@ -36798,9 +36875,9 @@ ${generateCodeFrame(
|
|
|
36798
36875
|
function requireNamespace() {
|
|
36799
36876
|
if (hasRequiredNamespace) return namespace.exports;
|
|
36800
36877
|
hasRequiredNamespace = 1;
|
|
36801
|
-
(function(module, exports) {
|
|
36802
|
-
exports.__esModule = true;
|
|
36803
|
-
exports["default"] = void 0;
|
|
36878
|
+
(function(module, exports$1) {
|
|
36879
|
+
exports$1.__esModule = true;
|
|
36880
|
+
exports$1["default"] = void 0;
|
|
36804
36881
|
var _cssesc = _interopRequireDefault(/* @__PURE__ */ requireCssesc());
|
|
36805
36882
|
var _util = /* @__PURE__ */ requireUtil$1();
|
|
36806
36883
|
var _node = _interopRequireDefault(/* @__PURE__ */ requireNode$1());
|
|
@@ -36833,7 +36910,7 @@ ${generateCodeFrame(
|
|
|
36833
36910
|
};
|
|
36834
36911
|
return _setPrototypeOf(o, p);
|
|
36835
36912
|
}
|
|
36836
|
-
var Namespace = /* @__PURE__ */ function(_Node) {
|
|
36913
|
+
var Namespace = /* @__PURE__ */ (function(_Node) {
|
|
36837
36914
|
_inheritsLoose(Namespace2, _Node);
|
|
36838
36915
|
function Namespace2() {
|
|
36839
36916
|
return _Node.apply(this, arguments) || this;
|
|
@@ -36897,9 +36974,9 @@ ${generateCodeFrame(
|
|
|
36897
36974
|
}
|
|
36898
36975
|
}]);
|
|
36899
36976
|
return Namespace2;
|
|
36900
|
-
}(_node["default"]);
|
|
36901
|
-
exports["default"] = Namespace;
|
|
36902
|
-
module.exports = exports.default;
|
|
36977
|
+
})(_node["default"]);
|
|
36978
|
+
exports$1["default"] = Namespace;
|
|
36979
|
+
module.exports = exports$1.default;
|
|
36903
36980
|
})(namespace, namespace.exports);
|
|
36904
36981
|
return namespace.exports;
|
|
36905
36982
|
}
|
|
@@ -36907,9 +36984,9 @@ ${generateCodeFrame(
|
|
|
36907
36984
|
function requireTag() {
|
|
36908
36985
|
if (hasRequiredTag) return tag.exports;
|
|
36909
36986
|
hasRequiredTag = 1;
|
|
36910
|
-
(function(module, exports) {
|
|
36911
|
-
exports.__esModule = true;
|
|
36912
|
-
exports["default"] = void 0;
|
|
36987
|
+
(function(module, exports$1) {
|
|
36988
|
+
exports$1.__esModule = true;
|
|
36989
|
+
exports$1["default"] = void 0;
|
|
36913
36990
|
var _namespace = _interopRequireDefault(/* @__PURE__ */ requireNamespace());
|
|
36914
36991
|
var _types = /* @__PURE__ */ requireTypes();
|
|
36915
36992
|
function _interopRequireDefault(obj) {
|
|
@@ -36927,7 +37004,7 @@ ${generateCodeFrame(
|
|
|
36927
37004
|
};
|
|
36928
37005
|
return _setPrototypeOf(o, p);
|
|
36929
37006
|
}
|
|
36930
|
-
var Tag = /* @__PURE__ */ function(_Namespace) {
|
|
37007
|
+
var Tag = /* @__PURE__ */ (function(_Namespace) {
|
|
36931
37008
|
_inheritsLoose(Tag2, _Namespace);
|
|
36932
37009
|
function Tag2(opts) {
|
|
36933
37010
|
var _this;
|
|
@@ -36936,9 +37013,9 @@ ${generateCodeFrame(
|
|
|
36936
37013
|
return _this;
|
|
36937
37014
|
}
|
|
36938
37015
|
return Tag2;
|
|
36939
|
-
}(_namespace["default"]);
|
|
36940
|
-
exports["default"] = Tag;
|
|
36941
|
-
module.exports = exports.default;
|
|
37016
|
+
})(_namespace["default"]);
|
|
37017
|
+
exports$1["default"] = Tag;
|
|
37018
|
+
module.exports = exports$1.default;
|
|
36942
37019
|
})(tag, tag.exports);
|
|
36943
37020
|
return tag.exports;
|
|
36944
37021
|
}
|
|
@@ -36947,9 +37024,9 @@ ${generateCodeFrame(
|
|
|
36947
37024
|
function requireString() {
|
|
36948
37025
|
if (hasRequiredString) return string.exports;
|
|
36949
37026
|
hasRequiredString = 1;
|
|
36950
|
-
(function(module, exports) {
|
|
36951
|
-
exports.__esModule = true;
|
|
36952
|
-
exports["default"] = void 0;
|
|
37027
|
+
(function(module, exports$1) {
|
|
37028
|
+
exports$1.__esModule = true;
|
|
37029
|
+
exports$1["default"] = void 0;
|
|
36953
37030
|
var _node = _interopRequireDefault(/* @__PURE__ */ requireNode$1());
|
|
36954
37031
|
var _types = /* @__PURE__ */ requireTypes();
|
|
36955
37032
|
function _interopRequireDefault(obj) {
|
|
@@ -36967,7 +37044,7 @@ ${generateCodeFrame(
|
|
|
36967
37044
|
};
|
|
36968
37045
|
return _setPrototypeOf(o, p);
|
|
36969
37046
|
}
|
|
36970
|
-
var String2 = /* @__PURE__ */ function(_Node) {
|
|
37047
|
+
var String2 = /* @__PURE__ */ (function(_Node) {
|
|
36971
37048
|
_inheritsLoose(String3, _Node);
|
|
36972
37049
|
function String3(opts) {
|
|
36973
37050
|
var _this;
|
|
@@ -36976,9 +37053,9 @@ ${generateCodeFrame(
|
|
|
36976
37053
|
return _this;
|
|
36977
37054
|
}
|
|
36978
37055
|
return String3;
|
|
36979
|
-
}(_node["default"]);
|
|
36980
|
-
exports["default"] = String2;
|
|
36981
|
-
module.exports = exports.default;
|
|
37056
|
+
})(_node["default"]);
|
|
37057
|
+
exports$1["default"] = String2;
|
|
37058
|
+
module.exports = exports$1.default;
|
|
36982
37059
|
})(string, string.exports);
|
|
36983
37060
|
return string.exports;
|
|
36984
37061
|
}
|
|
@@ -36987,9 +37064,9 @@ ${generateCodeFrame(
|
|
|
36987
37064
|
function requirePseudo() {
|
|
36988
37065
|
if (hasRequiredPseudo) return pseudo.exports;
|
|
36989
37066
|
hasRequiredPseudo = 1;
|
|
36990
|
-
(function(module, exports) {
|
|
36991
|
-
exports.__esModule = true;
|
|
36992
|
-
exports["default"] = void 0;
|
|
37067
|
+
(function(module, exports$1) {
|
|
37068
|
+
exports$1.__esModule = true;
|
|
37069
|
+
exports$1["default"] = void 0;
|
|
36993
37070
|
var _container = _interopRequireDefault(/* @__PURE__ */ requireContainer());
|
|
36994
37071
|
var _types = /* @__PURE__ */ requireTypes();
|
|
36995
37072
|
function _interopRequireDefault(obj) {
|
|
@@ -37007,7 +37084,7 @@ ${generateCodeFrame(
|
|
|
37007
37084
|
};
|
|
37008
37085
|
return _setPrototypeOf(o, p);
|
|
37009
37086
|
}
|
|
37010
|
-
var Pseudo = /* @__PURE__ */ function(_Container) {
|
|
37087
|
+
var Pseudo = /* @__PURE__ */ (function(_Container) {
|
|
37011
37088
|
_inheritsLoose(Pseudo2, _Container);
|
|
37012
37089
|
function Pseudo2(opts) {
|
|
37013
37090
|
var _this;
|
|
@@ -37021,9 +37098,9 @@ ${generateCodeFrame(
|
|
|
37021
37098
|
return [this.rawSpaceBefore, this.stringifyProperty("value"), params, this.rawSpaceAfter].join("");
|
|
37022
37099
|
};
|
|
37023
37100
|
return Pseudo2;
|
|
37024
|
-
}(_container["default"]);
|
|
37025
|
-
exports["default"] = Pseudo;
|
|
37026
|
-
module.exports = exports.default;
|
|
37101
|
+
})(_container["default"]);
|
|
37102
|
+
exports$1["default"] = Pseudo;
|
|
37103
|
+
module.exports = exports$1.default;
|
|
37027
37104
|
})(pseudo, pseudo.exports);
|
|
37028
37105
|
return pseudo.exports;
|
|
37029
37106
|
}
|
|
@@ -37040,10 +37117,10 @@ ${generateCodeFrame(
|
|
|
37040
37117
|
function requireAttribute() {
|
|
37041
37118
|
if (hasRequiredAttribute) return attribute;
|
|
37042
37119
|
hasRequiredAttribute = 1;
|
|
37043
|
-
(function(exports) {
|
|
37044
|
-
exports.__esModule = true;
|
|
37045
|
-
exports["default"] = void 0;
|
|
37046
|
-
exports.unescapeValue = unescapeValue;
|
|
37120
|
+
(function(exports$1) {
|
|
37121
|
+
exports$1.__esModule = true;
|
|
37122
|
+
exports$1["default"] = void 0;
|
|
37123
|
+
exports$1.unescapeValue = unescapeValue;
|
|
37047
37124
|
var _cssesc = _interopRequireDefault(/* @__PURE__ */ requireCssesc());
|
|
37048
37125
|
var _unesc = _interopRequireDefault(/* @__PURE__ */ requireUnesc());
|
|
37049
37126
|
var _namespace = _interopRequireDefault(/* @__PURE__ */ requireNamespace());
|
|
@@ -37124,7 +37201,7 @@ ${generateCodeFrame(
|
|
|
37124
37201
|
opts.quoteMark = quoteMark;
|
|
37125
37202
|
return opts;
|
|
37126
37203
|
}
|
|
37127
|
-
var Attribute = /* @__PURE__ */ function(_Namespace) {
|
|
37204
|
+
var Attribute = /* @__PURE__ */ (function(_Namespace) {
|
|
37128
37205
|
_inheritsLoose(Attribute2, _Namespace);
|
|
37129
37206
|
function Attribute2(opts) {
|
|
37130
37207
|
var _this;
|
|
@@ -37407,8 +37484,8 @@ ${generateCodeFrame(
|
|
|
37407
37484
|
}
|
|
37408
37485
|
}]);
|
|
37409
37486
|
return Attribute2;
|
|
37410
|
-
}(_namespace["default"]);
|
|
37411
|
-
exports["default"] = Attribute;
|
|
37487
|
+
})(_namespace["default"]);
|
|
37488
|
+
exports$1["default"] = Attribute;
|
|
37412
37489
|
Attribute.NO_QUOTE = null;
|
|
37413
37490
|
Attribute.SINGLE_QUOTE = "'";
|
|
37414
37491
|
Attribute.DOUBLE_QUOTE = '"';
|
|
@@ -37435,9 +37512,9 @@ ${generateCodeFrame(
|
|
|
37435
37512
|
function requireUniversal() {
|
|
37436
37513
|
if (hasRequiredUniversal) return universal.exports;
|
|
37437
37514
|
hasRequiredUniversal = 1;
|
|
37438
|
-
(function(module, exports) {
|
|
37439
|
-
exports.__esModule = true;
|
|
37440
|
-
exports["default"] = void 0;
|
|
37515
|
+
(function(module, exports$1) {
|
|
37516
|
+
exports$1.__esModule = true;
|
|
37517
|
+
exports$1["default"] = void 0;
|
|
37441
37518
|
var _namespace = _interopRequireDefault(/* @__PURE__ */ requireNamespace());
|
|
37442
37519
|
var _types = /* @__PURE__ */ requireTypes();
|
|
37443
37520
|
function _interopRequireDefault(obj) {
|
|
@@ -37455,7 +37532,7 @@ ${generateCodeFrame(
|
|
|
37455
37532
|
};
|
|
37456
37533
|
return _setPrototypeOf(o, p);
|
|
37457
37534
|
}
|
|
37458
|
-
var Universal = /* @__PURE__ */ function(_Namespace) {
|
|
37535
|
+
var Universal = /* @__PURE__ */ (function(_Namespace) {
|
|
37459
37536
|
_inheritsLoose(Universal2, _Namespace);
|
|
37460
37537
|
function Universal2(opts) {
|
|
37461
37538
|
var _this;
|
|
@@ -37465,9 +37542,9 @@ ${generateCodeFrame(
|
|
|
37465
37542
|
return _this;
|
|
37466
37543
|
}
|
|
37467
37544
|
return Universal2;
|
|
37468
|
-
}(_namespace["default"]);
|
|
37469
|
-
exports["default"] = Universal;
|
|
37470
|
-
module.exports = exports.default;
|
|
37545
|
+
})(_namespace["default"]);
|
|
37546
|
+
exports$1["default"] = Universal;
|
|
37547
|
+
module.exports = exports$1.default;
|
|
37471
37548
|
})(universal, universal.exports);
|
|
37472
37549
|
return universal.exports;
|
|
37473
37550
|
}
|
|
@@ -37476,9 +37553,9 @@ ${generateCodeFrame(
|
|
|
37476
37553
|
function requireCombinator() {
|
|
37477
37554
|
if (hasRequiredCombinator) return combinator.exports;
|
|
37478
37555
|
hasRequiredCombinator = 1;
|
|
37479
|
-
(function(module, exports) {
|
|
37480
|
-
exports.__esModule = true;
|
|
37481
|
-
exports["default"] = void 0;
|
|
37556
|
+
(function(module, exports$1) {
|
|
37557
|
+
exports$1.__esModule = true;
|
|
37558
|
+
exports$1["default"] = void 0;
|
|
37482
37559
|
var _node = _interopRequireDefault(/* @__PURE__ */ requireNode$1());
|
|
37483
37560
|
var _types = /* @__PURE__ */ requireTypes();
|
|
37484
37561
|
function _interopRequireDefault(obj) {
|
|
@@ -37496,7 +37573,7 @@ ${generateCodeFrame(
|
|
|
37496
37573
|
};
|
|
37497
37574
|
return _setPrototypeOf(o, p);
|
|
37498
37575
|
}
|
|
37499
|
-
var Combinator = /* @__PURE__ */ function(_Node) {
|
|
37576
|
+
var Combinator = /* @__PURE__ */ (function(_Node) {
|
|
37500
37577
|
_inheritsLoose(Combinator2, _Node);
|
|
37501
37578
|
function Combinator2(opts) {
|
|
37502
37579
|
var _this;
|
|
@@ -37505,9 +37582,9 @@ ${generateCodeFrame(
|
|
|
37505
37582
|
return _this;
|
|
37506
37583
|
}
|
|
37507
37584
|
return Combinator2;
|
|
37508
|
-
}(_node["default"]);
|
|
37509
|
-
exports["default"] = Combinator;
|
|
37510
|
-
module.exports = exports.default;
|
|
37585
|
+
})(_node["default"]);
|
|
37586
|
+
exports$1["default"] = Combinator;
|
|
37587
|
+
module.exports = exports$1.default;
|
|
37511
37588
|
})(combinator, combinator.exports);
|
|
37512
37589
|
return combinator.exports;
|
|
37513
37590
|
}
|
|
@@ -37516,9 +37593,9 @@ ${generateCodeFrame(
|
|
|
37516
37593
|
function requireNesting() {
|
|
37517
37594
|
if (hasRequiredNesting) return nesting.exports;
|
|
37518
37595
|
hasRequiredNesting = 1;
|
|
37519
|
-
(function(module, exports) {
|
|
37520
|
-
exports.__esModule = true;
|
|
37521
|
-
exports["default"] = void 0;
|
|
37596
|
+
(function(module, exports$1) {
|
|
37597
|
+
exports$1.__esModule = true;
|
|
37598
|
+
exports$1["default"] = void 0;
|
|
37522
37599
|
var _node = _interopRequireDefault(/* @__PURE__ */ requireNode$1());
|
|
37523
37600
|
var _types = /* @__PURE__ */ requireTypes();
|
|
37524
37601
|
function _interopRequireDefault(obj) {
|
|
@@ -37536,7 +37613,7 @@ ${generateCodeFrame(
|
|
|
37536
37613
|
};
|
|
37537
37614
|
return _setPrototypeOf(o, p);
|
|
37538
37615
|
}
|
|
37539
|
-
var Nesting = /* @__PURE__ */ function(_Node) {
|
|
37616
|
+
var Nesting = /* @__PURE__ */ (function(_Node) {
|
|
37540
37617
|
_inheritsLoose(Nesting2, _Node);
|
|
37541
37618
|
function Nesting2(opts) {
|
|
37542
37619
|
var _this;
|
|
@@ -37546,9 +37623,9 @@ ${generateCodeFrame(
|
|
|
37546
37623
|
return _this;
|
|
37547
37624
|
}
|
|
37548
37625
|
return Nesting2;
|
|
37549
|
-
}(_node["default"]);
|
|
37550
|
-
exports["default"] = Nesting;
|
|
37551
|
-
module.exports = exports.default;
|
|
37626
|
+
})(_node["default"]);
|
|
37627
|
+
exports$1["default"] = Nesting;
|
|
37628
|
+
module.exports = exports$1.default;
|
|
37552
37629
|
})(nesting, nesting.exports);
|
|
37553
37630
|
return nesting.exports;
|
|
37554
37631
|
}
|
|
@@ -37557,15 +37634,15 @@ ${generateCodeFrame(
|
|
|
37557
37634
|
function requireSortAscending() {
|
|
37558
37635
|
if (hasRequiredSortAscending) return sortAscending.exports;
|
|
37559
37636
|
hasRequiredSortAscending = 1;
|
|
37560
|
-
(function(module, exports) {
|
|
37561
|
-
exports.__esModule = true;
|
|
37562
|
-
exports["default"] = sortAscending2;
|
|
37637
|
+
(function(module, exports$1) {
|
|
37638
|
+
exports$1.__esModule = true;
|
|
37639
|
+
exports$1["default"] = sortAscending2;
|
|
37563
37640
|
function sortAscending2(list) {
|
|
37564
37641
|
return list.sort(function(a, b) {
|
|
37565
37642
|
return a - b;
|
|
37566
37643
|
});
|
|
37567
37644
|
}
|
|
37568
|
-
module.exports = exports.default;
|
|
37645
|
+
module.exports = exports$1.default;
|
|
37569
37646
|
})(sortAscending, sortAscending.exports);
|
|
37570
37647
|
return sortAscending.exports;
|
|
37571
37648
|
}
|
|
@@ -37645,10 +37722,10 @@ ${generateCodeFrame(
|
|
|
37645
37722
|
function requireTokenize() {
|
|
37646
37723
|
if (hasRequiredTokenize) return tokenize;
|
|
37647
37724
|
hasRequiredTokenize = 1;
|
|
37648
|
-
(function(exports) {
|
|
37649
|
-
exports.__esModule = true;
|
|
37650
|
-
exports.FIELDS = void 0;
|
|
37651
|
-
exports["default"] = tokenize2;
|
|
37725
|
+
(function(exports$1) {
|
|
37726
|
+
exports$1.__esModule = true;
|
|
37727
|
+
exports$1.FIELDS = void 0;
|
|
37728
|
+
exports$1["default"] = tokenize2;
|
|
37652
37729
|
var t = _interopRequireWildcard(/* @__PURE__ */ requireTokenTypes());
|
|
37653
37730
|
var _unescapable, _wordDelimiters;
|
|
37654
37731
|
function _getRequireWildcardCache(nodeInterop) {
|
|
@@ -37738,7 +37815,7 @@ ${generateCodeFrame(
|
|
|
37738
37815
|
START_POS: 5,
|
|
37739
37816
|
END_POS: 6
|
|
37740
37817
|
};
|
|
37741
|
-
exports.FIELDS = FIELDS;
|
|
37818
|
+
exports$1.FIELDS = FIELDS;
|
|
37742
37819
|
function tokenize2(input2) {
|
|
37743
37820
|
var tokens = [];
|
|
37744
37821
|
var css = input2.css.valueOf();
|
|
@@ -37796,6 +37873,7 @@ ${generateCodeFrame(
|
|
|
37796
37873
|
endColumn = start - offset;
|
|
37797
37874
|
end = next;
|
|
37798
37875
|
break;
|
|
37876
|
+
// Consume these characters as single tokens.
|
|
37799
37877
|
case t.asterisk:
|
|
37800
37878
|
case t.ampersand:
|
|
37801
37879
|
case t.bang:
|
|
@@ -37902,9 +37980,9 @@ ${generateCodeFrame(
|
|
|
37902
37980
|
function requireParser() {
|
|
37903
37981
|
if (hasRequiredParser) return parser.exports;
|
|
37904
37982
|
hasRequiredParser = 1;
|
|
37905
|
-
(function(module, exports) {
|
|
37906
|
-
exports.__esModule = true;
|
|
37907
|
-
exports["default"] = void 0;
|
|
37983
|
+
(function(module, exports$1) {
|
|
37984
|
+
exports$1.__esModule = true;
|
|
37985
|
+
exports$1["default"] = void 0;
|
|
37908
37986
|
var _root = _interopRequireDefault(/* @__PURE__ */ requireRoot());
|
|
37909
37987
|
var _selector = _interopRequireDefault(/* @__PURE__ */ requireSelector());
|
|
37910
37988
|
var _className = _interopRequireDefault(/* @__PURE__ */ requireClassName());
|
|
@@ -38040,7 +38118,7 @@ ${generateCodeFrame(
|
|
|
38040
38118
|
return i === list.indexOf(item);
|
|
38041
38119
|
});
|
|
38042
38120
|
}
|
|
38043
|
-
var Parser = /* @__PURE__ */ function() {
|
|
38121
|
+
var Parser = /* @__PURE__ */ (function() {
|
|
38044
38122
|
function Parser2(rule2, options) {
|
|
38045
38123
|
if (options === void 0) {
|
|
38046
38124
|
options = {};
|
|
@@ -38165,6 +38243,7 @@ ${generateCodeFrame(
|
|
|
38165
38243
|
}
|
|
38166
38244
|
break;
|
|
38167
38245
|
}
|
|
38246
|
+
// Falls through
|
|
38168
38247
|
case tokens.caret:
|
|
38169
38248
|
if (next[_tokenize.FIELDS.TYPE] === tokens.equals) {
|
|
38170
38249
|
node2.operator = content;
|
|
@@ -38810,6 +38889,7 @@ ${generateCodeFrame(
|
|
|
38810
38889
|
case tokens.str:
|
|
38811
38890
|
this.string();
|
|
38812
38891
|
break;
|
|
38892
|
+
// These cases throw; no break needed.
|
|
38813
38893
|
case tokens.closeSquare:
|
|
38814
38894
|
this.missingSquareBracket();
|
|
38815
38895
|
case tokens.semicolon:
|
|
@@ -38909,9 +38989,9 @@ ${generateCodeFrame(
|
|
|
38909
38989
|
}
|
|
38910
38990
|
}]);
|
|
38911
38991
|
return Parser2;
|
|
38912
|
-
}();
|
|
38913
|
-
exports["default"] = Parser;
|
|
38914
|
-
module.exports = exports.default;
|
|
38992
|
+
})();
|
|
38993
|
+
exports$1["default"] = Parser;
|
|
38994
|
+
module.exports = exports$1.default;
|
|
38915
38995
|
})(parser, parser.exports);
|
|
38916
38996
|
return parser.exports;
|
|
38917
38997
|
}
|
|
@@ -38919,14 +38999,14 @@ ${generateCodeFrame(
|
|
|
38919
38999
|
function requireProcessor() {
|
|
38920
39000
|
if (hasRequiredProcessor) return processor.exports;
|
|
38921
39001
|
hasRequiredProcessor = 1;
|
|
38922
|
-
(function(module, exports) {
|
|
38923
|
-
exports.__esModule = true;
|
|
38924
|
-
exports["default"] = void 0;
|
|
39002
|
+
(function(module, exports$1) {
|
|
39003
|
+
exports$1.__esModule = true;
|
|
39004
|
+
exports$1["default"] = void 0;
|
|
38925
39005
|
var _parser = _interopRequireDefault(/* @__PURE__ */ requireParser());
|
|
38926
39006
|
function _interopRequireDefault(obj) {
|
|
38927
39007
|
return obj && obj.__esModule ? obj : { "default": obj };
|
|
38928
39008
|
}
|
|
38929
|
-
var Processor = /* @__PURE__ */ function() {
|
|
39009
|
+
var Processor = /* @__PURE__ */ (function() {
|
|
38930
39010
|
function Processor2(func, options) {
|
|
38931
39011
|
this.func = func || function noop2() {
|
|
38932
39012
|
};
|
|
@@ -39040,9 +39120,9 @@ ${generateCodeFrame(
|
|
|
39040
39120
|
return result2.string || result2.root.toString();
|
|
39041
39121
|
};
|
|
39042
39122
|
return Processor2;
|
|
39043
|
-
}();
|
|
39044
|
-
exports["default"] = Processor;
|
|
39045
|
-
module.exports = exports.default;
|
|
39123
|
+
})();
|
|
39124
|
+
exports$1["default"] = Processor;
|
|
39125
|
+
module.exports = exports$1.default;
|
|
39046
39126
|
})(processor, processor.exports);
|
|
39047
39127
|
return processor.exports;
|
|
39048
39128
|
}
|
|
@@ -39186,25 +39266,25 @@ ${generateCodeFrame(
|
|
|
39186
39266
|
function requireSelectors() {
|
|
39187
39267
|
if (hasRequiredSelectors) return selectors;
|
|
39188
39268
|
hasRequiredSelectors = 1;
|
|
39189
|
-
(function(exports) {
|
|
39190
|
-
exports.__esModule = true;
|
|
39269
|
+
(function(exports$1) {
|
|
39270
|
+
exports$1.__esModule = true;
|
|
39191
39271
|
var _types = /* @__PURE__ */ requireTypes();
|
|
39192
39272
|
Object.keys(_types).forEach(function(key) {
|
|
39193
39273
|
if (key === "default" || key === "__esModule") return;
|
|
39194
|
-
if (key in exports && exports[key] === _types[key]) return;
|
|
39195
|
-
exports[key] = _types[key];
|
|
39274
|
+
if (key in exports$1 && exports$1[key] === _types[key]) return;
|
|
39275
|
+
exports$1[key] = _types[key];
|
|
39196
39276
|
});
|
|
39197
39277
|
var _constructors = /* @__PURE__ */ requireConstructors();
|
|
39198
39278
|
Object.keys(_constructors).forEach(function(key) {
|
|
39199
39279
|
if (key === "default" || key === "__esModule") return;
|
|
39200
|
-
if (key in exports && exports[key] === _constructors[key]) return;
|
|
39201
|
-
exports[key] = _constructors[key];
|
|
39280
|
+
if (key in exports$1 && exports$1[key] === _constructors[key]) return;
|
|
39281
|
+
exports$1[key] = _constructors[key];
|
|
39202
39282
|
});
|
|
39203
39283
|
var _guards = /* @__PURE__ */ requireGuards();
|
|
39204
39284
|
Object.keys(_guards).forEach(function(key) {
|
|
39205
39285
|
if (key === "default" || key === "__esModule") return;
|
|
39206
|
-
if (key in exports && exports[key] === _guards[key]) return;
|
|
39207
|
-
exports[key] = _guards[key];
|
|
39286
|
+
if (key in exports$1 && exports$1[key] === _guards[key]) return;
|
|
39287
|
+
exports$1[key] = _guards[key];
|
|
39208
39288
|
});
|
|
39209
39289
|
})(selectors);
|
|
39210
39290
|
return selectors;
|
|
@@ -39213,9 +39293,9 @@ ${generateCodeFrame(
|
|
|
39213
39293
|
function requireDist() {
|
|
39214
39294
|
if (hasRequiredDist) return dist.exports;
|
|
39215
39295
|
hasRequiredDist = 1;
|
|
39216
|
-
(function(module, exports) {
|
|
39217
|
-
exports.__esModule = true;
|
|
39218
|
-
exports["default"] = void 0;
|
|
39296
|
+
(function(module, exports$1) {
|
|
39297
|
+
exports$1.__esModule = true;
|
|
39298
|
+
exports$1["default"] = void 0;
|
|
39219
39299
|
var _processor = _interopRequireDefault(/* @__PURE__ */ requireProcessor());
|
|
39220
39300
|
var selectors2 = _interopRequireWildcard(/* @__PURE__ */ requireSelectors());
|
|
39221
39301
|
function _getRequireWildcardCache(nodeInterop) {
|
|
@@ -39264,8 +39344,8 @@ ${generateCodeFrame(
|
|
|
39264
39344
|
Object.assign(parser2, selectors2);
|
|
39265
39345
|
delete parser2.__esModule;
|
|
39266
39346
|
var _default = parser2;
|
|
39267
|
-
exports["default"] = _default;
|
|
39268
|
-
module.exports = exports.default;
|
|
39347
|
+
exports$1["default"] = _default;
|
|
39348
|
+
module.exports = exports$1.default;
|
|
39269
39349
|
})(dist, dist.exports);
|
|
39270
39350
|
return dist.exports;
|
|
39271
39351
|
}
|
|
@@ -39586,7 +39666,7 @@ ${generateCodeFrame(
|
|
|
39586
39666
|
function requireUtil() {
|
|
39587
39667
|
if (hasRequiredUtil) return util;
|
|
39588
39668
|
hasRequiredUtil = 1;
|
|
39589
|
-
(function(exports) {
|
|
39669
|
+
(function(exports$1) {
|
|
39590
39670
|
function getArg(aArgs, aName, aDefaultValue) {
|
|
39591
39671
|
if (aName in aArgs) {
|
|
39592
39672
|
return aArgs[aName];
|
|
@@ -39596,7 +39676,7 @@ ${generateCodeFrame(
|
|
|
39596
39676
|
throw new Error('"' + aName + '" is a required argument.');
|
|
39597
39677
|
}
|
|
39598
39678
|
}
|
|
39599
|
-
exports.getArg = getArg;
|
|
39679
|
+
exports$1.getArg = getArg;
|
|
39600
39680
|
var urlRegexp = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;
|
|
39601
39681
|
var dataUrlRegexp = /^data:.+\,.+$/;
|
|
39602
39682
|
function urlParse2(aUrl) {
|
|
@@ -39612,7 +39692,7 @@ ${generateCodeFrame(
|
|
|
39612
39692
|
path: match[5]
|
|
39613
39693
|
};
|
|
39614
39694
|
}
|
|
39615
|
-
exports.urlParse = urlParse2;
|
|
39695
|
+
exports$1.urlParse = urlParse2;
|
|
39616
39696
|
function urlGenerate(aParsedUrl) {
|
|
39617
39697
|
var url = "";
|
|
39618
39698
|
if (aParsedUrl.scheme) {
|
|
@@ -39633,7 +39713,7 @@ ${generateCodeFrame(
|
|
|
39633
39713
|
}
|
|
39634
39714
|
return url;
|
|
39635
39715
|
}
|
|
39636
|
-
exports.urlGenerate = urlGenerate;
|
|
39716
|
+
exports$1.urlGenerate = urlGenerate;
|
|
39637
39717
|
function normalize2(aPath) {
|
|
39638
39718
|
var path2 = aPath;
|
|
39639
39719
|
var url = urlParse2(aPath);
|
|
@@ -39643,7 +39723,7 @@ ${generateCodeFrame(
|
|
|
39643
39723
|
}
|
|
39644
39724
|
path2 = url.path;
|
|
39645
39725
|
}
|
|
39646
|
-
var isAbsolute2 = exports.isAbsolute(path2);
|
|
39726
|
+
var isAbsolute2 = exports$1.isAbsolute(path2);
|
|
39647
39727
|
var parts = path2.split(/\/+/);
|
|
39648
39728
|
for (var part, up = 0, i = parts.length - 1; i >= 0; i--) {
|
|
39649
39729
|
part = parts[i];
|
|
@@ -39671,7 +39751,7 @@ ${generateCodeFrame(
|
|
|
39671
39751
|
}
|
|
39672
39752
|
return path2;
|
|
39673
39753
|
}
|
|
39674
|
-
exports.normalize = normalize2;
|
|
39754
|
+
exports$1.normalize = normalize2;
|
|
39675
39755
|
function join2(aRoot, aPath) {
|
|
39676
39756
|
if (aRoot === "") {
|
|
39677
39757
|
aRoot = ".";
|
|
@@ -39704,8 +39784,8 @@ ${generateCodeFrame(
|
|
|
39704
39784
|
}
|
|
39705
39785
|
return joined;
|
|
39706
39786
|
}
|
|
39707
|
-
exports.join = join2;
|
|
39708
|
-
exports.isAbsolute = function(aPath) {
|
|
39787
|
+
exports$1.join = join2;
|
|
39788
|
+
exports$1.isAbsolute = function(aPath) {
|
|
39709
39789
|
return aPath.charAt(0) === "/" || urlRegexp.test(aPath);
|
|
39710
39790
|
};
|
|
39711
39791
|
function relative2(aRoot, aPath) {
|
|
@@ -39727,11 +39807,11 @@ ${generateCodeFrame(
|
|
|
39727
39807
|
}
|
|
39728
39808
|
return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1);
|
|
39729
39809
|
}
|
|
39730
|
-
exports.relative = relative2;
|
|
39731
|
-
var supportsNullProto = function() {
|
|
39810
|
+
exports$1.relative = relative2;
|
|
39811
|
+
var supportsNullProto = (function() {
|
|
39732
39812
|
var obj = /* @__PURE__ */ Object.create(null);
|
|
39733
39813
|
return !("__proto__" in obj);
|
|
39734
|
-
}();
|
|
39814
|
+
})();
|
|
39735
39815
|
function identity(s) {
|
|
39736
39816
|
return s;
|
|
39737
39817
|
}
|
|
@@ -39741,14 +39821,14 @@ ${generateCodeFrame(
|
|
|
39741
39821
|
}
|
|
39742
39822
|
return aStr;
|
|
39743
39823
|
}
|
|
39744
|
-
exports.toSetString = supportsNullProto ? identity : toSetString;
|
|
39824
|
+
exports$1.toSetString = supportsNullProto ? identity : toSetString;
|
|
39745
39825
|
function fromSetString(aStr) {
|
|
39746
39826
|
if (isProtoString(aStr)) {
|
|
39747
39827
|
return aStr.slice(1);
|
|
39748
39828
|
}
|
|
39749
39829
|
return aStr;
|
|
39750
39830
|
}
|
|
39751
|
-
exports.fromSetString = supportsNullProto ? identity : fromSetString;
|
|
39831
|
+
exports$1.fromSetString = supportsNullProto ? identity : fromSetString;
|
|
39752
39832
|
function isProtoString(s) {
|
|
39753
39833
|
if (!s) {
|
|
39754
39834
|
return false;
|
|
@@ -39790,7 +39870,7 @@ ${generateCodeFrame(
|
|
|
39790
39870
|
}
|
|
39791
39871
|
return strcmp(mappingA.name, mappingB.name);
|
|
39792
39872
|
}
|
|
39793
|
-
exports.compareByOriginalPositions = compareByOriginalPositions;
|
|
39873
|
+
exports$1.compareByOriginalPositions = compareByOriginalPositions;
|
|
39794
39874
|
function compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) {
|
|
39795
39875
|
var cmp = mappingA.generatedLine - mappingB.generatedLine;
|
|
39796
39876
|
if (cmp !== 0) {
|
|
@@ -39814,7 +39894,7 @@ ${generateCodeFrame(
|
|
|
39814
39894
|
}
|
|
39815
39895
|
return strcmp(mappingA.name, mappingB.name);
|
|
39816
39896
|
}
|
|
39817
|
-
exports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;
|
|
39897
|
+
exports$1.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;
|
|
39818
39898
|
function strcmp(aStr1, aStr2) {
|
|
39819
39899
|
if (aStr1 === aStr2) {
|
|
39820
39900
|
return 0;
|
|
@@ -39853,11 +39933,11 @@ ${generateCodeFrame(
|
|
|
39853
39933
|
}
|
|
39854
39934
|
return strcmp(mappingA.name, mappingB.name);
|
|
39855
39935
|
}
|
|
39856
|
-
exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;
|
|
39936
|
+
exports$1.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;
|
|
39857
39937
|
function parseSourceMapInput(str) {
|
|
39858
39938
|
return JSON.parse(str.replace(/^\)]}'[^\n]*\n/, ""));
|
|
39859
39939
|
}
|
|
39860
|
-
exports.parseSourceMapInput = parseSourceMapInput;
|
|
39940
|
+
exports$1.parseSourceMapInput = parseSourceMapInput;
|
|
39861
39941
|
function computeSourceURL(sourceRoot, sourceURL, sourceMapURL) {
|
|
39862
39942
|
sourceURL = sourceURL || "";
|
|
39863
39943
|
if (sourceRoot) {
|
|
@@ -39881,7 +39961,7 @@ ${generateCodeFrame(
|
|
|
39881
39961
|
}
|
|
39882
39962
|
return normalize2(sourceURL);
|
|
39883
39963
|
}
|
|
39884
|
-
exports.computeSourceURL = computeSourceURL;
|
|
39964
|
+
exports$1.computeSourceURL = computeSourceURL;
|
|
39885
39965
|
})(util);
|
|
39886
39966
|
return util;
|
|
39887
39967
|
}
|
|
@@ -40278,9 +40358,9 @@ ${generateCodeFrame(
|
|
|
40278
40358
|
function requireBinarySearch() {
|
|
40279
40359
|
if (hasRequiredBinarySearch) return binarySearch;
|
|
40280
40360
|
hasRequiredBinarySearch = 1;
|
|
40281
|
-
(function(exports) {
|
|
40282
|
-
exports.GREATEST_LOWER_BOUND = 1;
|
|
40283
|
-
exports.LEAST_UPPER_BOUND = 2;
|
|
40361
|
+
(function(exports$1) {
|
|
40362
|
+
exports$1.GREATEST_LOWER_BOUND = 1;
|
|
40363
|
+
exports$1.LEAST_UPPER_BOUND = 2;
|
|
40284
40364
|
function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) {
|
|
40285
40365
|
var mid = Math.floor((aHigh - aLow) / 2) + aLow;
|
|
40286
40366
|
var cmp = aCompare(aNeedle, aHaystack[mid], true);
|
|
@@ -40290,7 +40370,7 @@ ${generateCodeFrame(
|
|
|
40290
40370
|
if (aHigh - mid > 1) {
|
|
40291
40371
|
return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias);
|
|
40292
40372
|
}
|
|
40293
|
-
if (aBias == exports.LEAST_UPPER_BOUND) {
|
|
40373
|
+
if (aBias == exports$1.LEAST_UPPER_BOUND) {
|
|
40294
40374
|
return aHigh < aHaystack.length ? aHigh : -1;
|
|
40295
40375
|
} else {
|
|
40296
40376
|
return mid;
|
|
@@ -40299,14 +40379,14 @@ ${generateCodeFrame(
|
|
|
40299
40379
|
if (mid - aLow > 1) {
|
|
40300
40380
|
return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias);
|
|
40301
40381
|
}
|
|
40302
|
-
if (aBias == exports.LEAST_UPPER_BOUND) {
|
|
40382
|
+
if (aBias == exports$1.LEAST_UPPER_BOUND) {
|
|
40303
40383
|
return mid;
|
|
40304
40384
|
} else {
|
|
40305
40385
|
return aLow < 0 ? -1 : aLow;
|
|
40306
40386
|
}
|
|
40307
40387
|
}
|
|
40308
40388
|
}
|
|
40309
|
-
exports.search = function search(aNeedle, aHaystack, aCompare, aBias) {
|
|
40389
|
+
exports$1.search = function search(aNeedle, aHaystack, aCompare, aBias) {
|
|
40310
40390
|
if (aHaystack.length === 0) {
|
|
40311
40391
|
return -1;
|
|
40312
40392
|
}
|
|
@@ -40316,7 +40396,7 @@ ${generateCodeFrame(
|
|
|
40316
40396
|
aNeedle,
|
|
40317
40397
|
aHaystack,
|
|
40318
40398
|
aCompare,
|
|
40319
|
-
aBias || exports.GREATEST_LOWER_BOUND
|
|
40399
|
+
aBias || exports$1.GREATEST_LOWER_BOUND
|
|
40320
40400
|
);
|
|
40321
40401
|
if (index < 0) {
|
|
40322
40402
|
return -1;
|
|
@@ -43060,6 +43140,7 @@ export default ${defaultVar}`;
|
|
|
43060
43140
|
);
|
|
43061
43141
|
}
|
|
43062
43142
|
case "TSExpressionWithTypeArguments":
|
|
43143
|
+
// referenced by interface extends
|
|
43063
43144
|
case "TSTypeReference": {
|
|
43064
43145
|
const typeName = getReferenceName(node2);
|
|
43065
43146
|
if ((typeName === "ExtractPropTypes" || typeName === "ExtractPublicPropTypes") && node2.typeParameters && ((_a2 = scope.imports[typeName]) == null ? void 0 : _a2.source) === "vue") {
|
|
@@ -43989,6 +44070,7 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
43989
44070
|
case "ConstructorParameters":
|
|
43990
44071
|
case "ReadonlyArray":
|
|
43991
44072
|
return ["String", "Number"];
|
|
44073
|
+
// TS built-in utility types
|
|
43992
44074
|
case "Record":
|
|
43993
44075
|
case "Partial":
|
|
43994
44076
|
case "Required":
|
|
@@ -44042,6 +44124,8 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
44042
44124
|
case "Promise":
|
|
44043
44125
|
case "Error":
|
|
44044
44126
|
return [node2.typeName.name];
|
|
44127
|
+
// TS built-in utility types
|
|
44128
|
+
// https://www.typescriptlang.org/docs/handbook/utility-types.html
|
|
44045
44129
|
case "Partial":
|
|
44046
44130
|
case "Required":
|
|
44047
44131
|
case "Readonly":
|
|
@@ -44138,6 +44222,7 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
44138
44222
|
}
|
|
44139
44223
|
break;
|
|
44140
44224
|
}
|
|
44225
|
+
// e.g. readonly
|
|
44141
44226
|
case "TSTypeOperator": {
|
|
44142
44227
|
return inferRuntimeType(
|
|
44143
44228
|
ctx,
|
|
@@ -45814,12 +45899,14 @@ ${exposeCall}`
|
|
|
45814
45899
|
case "UnaryExpression":
|
|
45815
45900
|
return isStaticNode(node2.argument);
|
|
45816
45901
|
case "LogicalExpression":
|
|
45902
|
+
// 1 > 2
|
|
45817
45903
|
case "BinaryExpression":
|
|
45818
45904
|
return isStaticNode(node2.left) && isStaticNode(node2.right);
|
|
45819
45905
|
case "ConditionalExpression": {
|
|
45820
45906
|
return isStaticNode(node2.test) && isStaticNode(node2.consequent) && isStaticNode(node2.alternate);
|
|
45821
45907
|
}
|
|
45822
45908
|
case "SequenceExpression":
|
|
45909
|
+
// (1, 2)
|
|
45823
45910
|
case "TemplateLiteral":
|
|
45824
45911
|
return node2.expressions.every((expr) => isStaticNode(expr));
|
|
45825
45912
|
case "ParenthesizedExpression":
|
|
@@ -45853,9 +45940,7 @@ ${exposeCall}`
|
|
|
45853
45940
|
libExports.parse;
|
|
45854
45941
|
function scriptCompiler(descriptor, id2) {
|
|
45855
45942
|
var _a2;
|
|
45856
|
-
const sfcScriptBlock = compileScript(descriptor, {
|
|
45857
|
-
id: id2
|
|
45858
|
-
});
|
|
45943
|
+
const sfcScriptBlock = compileScript(descriptor, { id: id2 });
|
|
45859
45944
|
(_a2 = sfcScriptBlock.warnings) == null ? void 0 : _a2.forEach((w) => console.warn(w));
|
|
45860
45945
|
return sfcScriptBlock;
|
|
45861
45946
|
}
|
|
@@ -45899,63 +45984,20 @@ ${exposeCall}`
|
|
|
45899
45984
|
function scriptTransformer({ content }, appName) {
|
|
45900
45985
|
return content.replace("export default", `${appName} =`).replace(/Object\.defineProperty\(__returned__.*/, "");
|
|
45901
45986
|
}
|
|
45902
|
-
function stylesTransformer(sfcStyleCompileResultsList) {
|
|
45903
|
-
return sfcStyleCompileResultsList.map((style) => style.code).join("\n");
|
|
45904
|
-
}
|
|
45905
45987
|
function templateTransformer({ code }, appName) {
|
|
45906
45988
|
return code.replace("export function render", `${appName}.render = function`);
|
|
45907
45989
|
}
|
|
45908
|
-
function
|
|
45909
|
-
if (cache[sfcSource])
|
|
45910
|
-
return cache[sfcSource];
|
|
45990
|
+
function sfc2esm(sfcSource, { id: id2 = "sfc2esm", appName = id2, mount = "#app" }) {
|
|
45911
45991
|
const { isScoped, compiled: c } = compilerSfc(sfcSource, id2);
|
|
45992
|
+
const appCode = scriptTransformer(c.sfcAppBlock, appName);
|
|
45993
|
+
const renderCode = templateTransformer(c.sfcTemplateCompileResults, appName);
|
|
45994
|
+
const { initCode, scopeIdCode, createAppCode } = generator({ id: id2, appName, isScoped, mount });
|
|
45912
45995
|
return {
|
|
45913
|
-
|
|
45914
|
-
|
|
45915
|
-
render: templateTransformer(c.sfcTemplateCompileResults, appName),
|
|
45916
|
-
css: stylesTransformer(c.sfcStyleCompileResultsList)
|
|
45917
|
-
},
|
|
45918
|
-
isScoped
|
|
45919
|
-
};
|
|
45920
|
-
}
|
|
45921
|
-
function generator({ id: id2, appName, isScoped, mount }) {
|
|
45922
|
-
return {
|
|
45923
|
-
initCode: `let ${appName} = {}`,
|
|
45924
|
-
createAppCode: `
|
|
45925
|
-
import { createApp as _createApp, defineComponent as _defineComponent, h as _h, Suspense as _Suspense } from 'vue'
|
|
45926
|
-
_createApp(_defineComponent(
|
|
45927
|
-
String(${appName}.setup).startsWith('async')
|
|
45928
|
-
? () => () => _h(_Suspense, null, {
|
|
45929
|
-
default: _h(${appName}),
|
|
45930
|
-
fallback: _h('div', 'Loading...'),
|
|
45931
|
-
})
|
|
45932
|
-
: ${appName}
|
|
45933
|
-
)).mount("${mount}")
|
|
45934
|
-
`,
|
|
45935
|
-
scopeIdCode: isScoped ? `${appName}.__scopeId = "data-v-${id2}"` : ""
|
|
45936
|
-
};
|
|
45937
|
-
}
|
|
45938
|
-
function useXxx2x({ id: id2 = "sfc2esm", appName = id2 } = {}) {
|
|
45939
|
-
const cache = /* @__PURE__ */ Object.create(null);
|
|
45940
|
-
const opt = { id: id2, appName };
|
|
45941
|
-
const h = (tag2, attrs, inner) => `<${tag2} ${Object.keys(attrs).map((k) => attrs[k] ? k : "").join(" ")}>${inner}</${tag2}>`;
|
|
45942
|
-
const a2b = (source, b) => convertor(source, __spreadValues({ cache }, opt)).code[b];
|
|
45943
|
-
return {
|
|
45944
|
-
scr2app: (scriptSource, setup = true) => a2b(h("script", { setup }, scriptSource), "app"),
|
|
45945
|
-
tem2render: (templateSource) => a2b(h("template", {}, templateSource), "render"),
|
|
45946
|
-
sty2css: (styleSource, scoped = false) => a2b(h("style", { scoped }, styleSource), "css"),
|
|
45947
|
-
sfc2x: (sfcSource, mount = "#app") => {
|
|
45948
|
-
const { isScoped, code: { app, render, css } } = convertor(sfcSource, __spreadValues({ cache }, opt));
|
|
45949
|
-
const { initCode, scopeIdCode, createAppCode } = generator(__spreadProps(__spreadValues({}, opt), { isScoped, mount }));
|
|
45950
|
-
return {
|
|
45951
|
-
esm: [initCode, app, render, scopeIdCode, createAppCode].join("\n"),
|
|
45952
|
-
app,
|
|
45953
|
-
render,
|
|
45954
|
-
css
|
|
45955
|
-
};
|
|
45956
|
-
}
|
|
45996
|
+
esmCode: [initCode, appCode, renderCode, scopeIdCode, createAppCode].join("\n"),
|
|
45997
|
+
cssCode: c.sfcStyleCompileResultsList.map((style) => style.code).join("\n")
|
|
45957
45998
|
};
|
|
45958
45999
|
}
|
|
46000
|
+
const asciiLogo = "/***************************************\r\n** _ _ **\r\n** ___ ___| |_ _ _ _ __ (_)_ __ **\r\n** / __|/ _ \\ __| | | | '_ \\| | '_ \\ **\r\n** \\__ \\ __/ |_| |_| | |_/ | | | | | **\r\n** |___/\\___|\\__|\\__,_| .__/|_|_| |_| **\r\n** |_| **\r\n***************************************/\r\n";
|
|
45959
46001
|
function createDom(row, inner) {
|
|
45960
46002
|
var _a2;
|
|
45961
46003
|
const container2 = document.createElement("main");
|
|
@@ -45995,19 +46037,13 @@ ${exposeCall}`
|
|
|
45995
46037
|
handler(sfcCode.join("\n"));
|
|
45996
46038
|
});
|
|
45997
46039
|
}
|
|
45998
|
-
const ASCII_LOGO = "/***************************************\r\n** _ _ **\r\n** ___ ___| |_ _ _ _ __ (_)_ __ **\r\n** / __|/ _ \\ __| | | | '_ \\| | '_ \\ **\r\n** \\__ \\ __/ |_| |_| | |_/ | | | | | **\r\n** |___/\\___|\\__|\\__,_| .__/|_|_| |_| **\r\n** |_| **\r\n***************************************/";
|
|
45999
|
-
const REPO_NAME = "setupin";
|
|
46000
|
-
const IMPORTS_TAG_CODE = `
|
|
46001
|
-
<script ${REPO_NAME} type="importmap">
|
|
46002
|
-
${JSON.stringify({ imports: { vue: "https://unpkg.com/vue@latest/dist/vue.runtime.esm-browser.js" } })}
|
|
46003
|
-
<\/script>
|
|
46004
|
-
`;
|
|
46005
46040
|
awaitClientCode((sfcCode) => {
|
|
46006
46041
|
var _a2, _b2, _c;
|
|
46007
46042
|
const site = document["head"];
|
|
46008
|
-
const {
|
|
46009
|
-
(_a2 = createDom(
|
|
46010
|
-
(_b2 = createDom(
|
|
46011
|
-
|
|
46043
|
+
const { esmCode, cssCode } = sfc2esm(sfcCode, { id: "setupin", mount: "body" });
|
|
46044
|
+
(_a2 = createDom('<script type="importmap">', JSON.stringify({ imports: { vue: "https://unpkg.com/vue@latest/dist/vue.runtime.esm-browser.js" } }))) == null ? void 0 : _a2.mount(site);
|
|
46045
|
+
(_b2 = createDom('<script type="module">', `${asciiLogo}
|
|
46046
|
+
${esmCode}`)) == null ? void 0 : _b2.mount(site);
|
|
46047
|
+
if (cssCode) (_c = createDom("<style>", cssCode)) == null ? void 0 : _c.mount(document.head);
|
|
46012
46048
|
});
|
|
46013
46049
|
})();
|