sass 1.76.0 → 1.77.1
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/LICENSE +33 -0
- package/package.json +1 -1
- package/sass.dart.js +140 -189
package/LICENSE
CHANGED
|
@@ -1635,6 +1635,39 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
1635
1635
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1636
1636
|
|
|
1637
1637
|
|
|
1638
|
+
--------------------------------------------------------------------------------
|
|
1639
|
+
|
|
1640
|
+
web_socket license:
|
|
1641
|
+
|
|
1642
|
+
Copyright 2024, the Dart project authors.
|
|
1643
|
+
|
|
1644
|
+
Redistribution and use in source and binary forms, with or without
|
|
1645
|
+
modification, are permitted provided that the following conditions are
|
|
1646
|
+
met:
|
|
1647
|
+
|
|
1648
|
+
* Redistributions of source code must retain the above copyright
|
|
1649
|
+
notice, this list of conditions and the following disclaimer.
|
|
1650
|
+
* Redistributions in binary form must reproduce the above
|
|
1651
|
+
copyright notice, this list of conditions and the following
|
|
1652
|
+
disclaimer in the documentation and/or other materials provided
|
|
1653
|
+
with the distribution.
|
|
1654
|
+
* Neither the name of Google LLC nor the names of its
|
|
1655
|
+
contributors may be used to endorse or promote products derived
|
|
1656
|
+
from this software without specific prior written permission.
|
|
1657
|
+
|
|
1658
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
1659
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
1660
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
1661
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
1662
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
1663
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
1664
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
1665
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
1666
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
1667
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
1668
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1669
|
+
|
|
1670
|
+
|
|
1638
1671
|
--------------------------------------------------------------------------------
|
|
1639
1672
|
|
|
1640
1673
|
yaml license:
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"sass","description":"A pure JavaScript implementation of Sass.","license":"MIT","bugs":"https://github.com/sass/dart-sass/issues","homepage":"https://github.com/sass/dart-sass","repository":{"type":"git","url":"https://github.com/sass/dart-sass"},"author":{"name":"Natalie Weizenbaum","email":"nweiz@google.com","url":"https://github.com/nex3"},"engines":{"node":">=14.0.0"},"dependencies":{"chokidar":">=3.0.0 <4.0.0","immutable":"^4.0.0","source-map-js":">=0.6.2 <2.0.0"},"keywords":["style","scss","sass","preprocessor","css"],"types":"types/index.d.ts","exports":{"types":"./types/index.d.ts","node":{"require":"./sass.node.js","default":"./sass.node.mjs"},"default":{"require":"./sass.default.cjs","default":"./sass.default.js"}},"version":"1.
|
|
1
|
+
{"name":"sass","description":"A pure JavaScript implementation of Sass.","license":"MIT","bugs":"https://github.com/sass/dart-sass/issues","homepage":"https://github.com/sass/dart-sass","repository":{"type":"git","url":"https://github.com/sass/dart-sass"},"author":{"name":"Natalie Weizenbaum","email":"nweiz@google.com","url":"https://github.com/nex3"},"engines":{"node":">=14.0.0"},"dependencies":{"chokidar":">=3.0.0 <4.0.0","immutable":"^4.0.0","source-map-js":">=0.6.2 <2.0.0"},"keywords":["style","scss","sass","preprocessor","css"],"types":"types/index.d.ts","exports":{"types":"./types/index.d.ts","node":{"require":"./sass.node.js","default":"./sass.node.mjs"},"default":{"require":"./sass.default.cjs","default":"./sass.default.js"}},"version":"1.77.1","bin":{"sass":"sass.js"},"main":"sass.node.js"}
|
package/sass.dart.js
CHANGED
|
@@ -27066,7 +27066,7 @@ self.util = _cliPkgRequires.util;
|
|
|
27066
27066
|
J.set$NodePackageImporter$x(self.exports, $.$get$nodePackageImporterClass());
|
|
27067
27067
|
J.set$deprecations$x(self.exports, A.jsify($.$get$deprecations()));
|
|
27068
27068
|
J.set$Version$x(self.exports, $.$get$versionClass());
|
|
27069
|
-
J.set$info$x(self.exports, "dart-sass\t1.
|
|
27069
|
+
J.set$info$x(self.exports, "dart-sass\t1.77.1\t(Sass Compiler)\t[Dart]\ndart2js\t3.3.4\t(Dart Compiler)\t[Dart]");
|
|
27070
27070
|
A.updateCanonicalizeContextPrototype();
|
|
27071
27071
|
A.updateSourceSpanPrototype();
|
|
27072
27072
|
J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
|
|
@@ -32034,7 +32034,7 @@ self.util = _cliPkgRequires.util;
|
|
|
32034
32034
|
switch ($async$goto) {
|
|
32035
32035
|
case 0:
|
|
32036
32036
|
// Function start
|
|
32037
|
-
$async$returnValue = "1.
|
|
32037
|
+
$async$returnValue = "1.77.1 compiled with dart2js 3.3.4";
|
|
32038
32038
|
// goto return
|
|
32039
32039
|
$async$goto = 1;
|
|
32040
32040
|
break;
|
|
@@ -47843,7 +47843,7 @@ self.util = _cliPkgRequires.util;
|
|
|
47843
47843
|
canonicalize$body$AsyncImportCache(_, url, baseImporter, baseUrl, forImport) {
|
|
47844
47844
|
var $async$goto = 0,
|
|
47845
47845
|
$async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
|
|
47846
|
-
$async$returnValue, $async$self = this, t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, cacheable, i, importer, perImporterKey,
|
|
47846
|
+
$async$returnValue, $async$self = this, t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, t6, cacheable, i, importer, perImporterKey, t7, _1_0, _1_2, result, t8, _1_2_isSet, _2_0, _2_1, _2_3, _2_5, _2_3_isSet, _2_5_isSet, j;
|
|
47847
47847
|
var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
|
|
47848
47848
|
if ($async$errorCode === 1)
|
|
47849
47849
|
return A._asyncRethrow($async$result, $async$completer);
|
|
@@ -47886,7 +47886,7 @@ self.util = _cliPkgRequires.util;
|
|
|
47886
47886
|
$async$goto = 1;
|
|
47887
47887
|
break;
|
|
47888
47888
|
}
|
|
47889
|
-
t2 = $async$self._async_import_cache$_importers, t3 = type$.Record_1_nullable_Object, t4 = $async$self._async_import_cache$_perImporterCanonicalizeCache, t5 = type$.Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl, cacheable = true, i = 0;
|
|
47889
|
+
t2 = $async$self._async_import_cache$_importers, t3 = type$.Record_1_nullable_Object, t4 = $async$self._async_import_cache$_perImporterCanonicalizeCache, t5 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl, t6 = type$.Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl, cacheable = true, i = 0;
|
|
47890
47890
|
case 6:
|
|
47891
47891
|
// for condition
|
|
47892
47892
|
if (!(i < t2.length)) {
|
|
@@ -47897,40 +47897,39 @@ self.util = _cliPkgRequires.util;
|
|
|
47897
47897
|
importer = t2[i];
|
|
47898
47898
|
perImporterKey = new A._Record_3_forImport(importer, url, forImport);
|
|
47899
47899
|
if (t4.containsKey$1(perImporterKey)) {
|
|
47900
|
-
|
|
47901
|
-
|
|
47902
|
-
_1_0 = new A._Record_1(t6);
|
|
47900
|
+
t7 = t4.$index(0, perImporterKey);
|
|
47901
|
+
_1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
|
|
47903
47902
|
} else
|
|
47904
47903
|
_1_0 = null;
|
|
47905
|
-
|
|
47906
|
-
if (
|
|
47904
|
+
t7 = t3._is(_1_0);
|
|
47905
|
+
if (t7) {
|
|
47907
47906
|
_1_2 = _1_0._0;
|
|
47908
47907
|
if (_1_2 != null) {
|
|
47909
|
-
|
|
47908
|
+
t6._as(_1_2);
|
|
47910
47909
|
result = _1_2;
|
|
47911
|
-
|
|
47910
|
+
t8 = true;
|
|
47912
47911
|
} else {
|
|
47913
47912
|
result = null;
|
|
47914
|
-
|
|
47913
|
+
t8 = false;
|
|
47915
47914
|
}
|
|
47916
47915
|
_1_2_isSet = true;
|
|
47917
47916
|
} else {
|
|
47918
47917
|
_1_2 = null;
|
|
47919
47918
|
_1_2_isSet = false;
|
|
47920
47919
|
result = null;
|
|
47921
|
-
|
|
47920
|
+
t8 = false;
|
|
47922
47921
|
}
|
|
47923
|
-
if (
|
|
47922
|
+
if (t8) {
|
|
47924
47923
|
$async$returnValue = result;
|
|
47925
47924
|
// goto return
|
|
47926
47925
|
$async$goto = 1;
|
|
47927
47926
|
break;
|
|
47928
47927
|
}
|
|
47929
|
-
if (
|
|
47930
|
-
|
|
47928
|
+
if (t7)
|
|
47929
|
+
t7 = (_1_2_isSet ? _1_2 : _1_0._0) == null;
|
|
47931
47930
|
else
|
|
47932
|
-
|
|
47933
|
-
if (
|
|
47931
|
+
t7 = false;
|
|
47932
|
+
if (t7) {
|
|
47934
47933
|
// goto for update
|
|
47935
47934
|
$async$goto = 7;
|
|
47936
47935
|
break;
|
|
@@ -47942,11 +47941,11 @@ self.util = _cliPkgRequires.util;
|
|
|
47942
47941
|
_2_0 = $async$result;
|
|
47943
47942
|
_2_1 = _2_0._0;
|
|
47944
47943
|
if (_2_1 != null) {
|
|
47945
|
-
result = _2_1 == null ?
|
|
47944
|
+
result = _2_1 == null ? t6._as(_2_1) : _2_1;
|
|
47946
47945
|
_2_3 = _2_0._1;
|
|
47947
|
-
|
|
47948
|
-
_2_5 =
|
|
47949
|
-
|
|
47946
|
+
t7 = _2_3;
|
|
47947
|
+
_2_5 = t7;
|
|
47948
|
+
t7 = t7 && cacheable;
|
|
47950
47949
|
_2_3_isSet = true;
|
|
47951
47950
|
_2_5_isSet = true;
|
|
47952
47951
|
} else {
|
|
@@ -47955,9 +47954,9 @@ self.util = _cliPkgRequires.util;
|
|
|
47955
47954
|
_2_3 = null;
|
|
47956
47955
|
_2_3_isSet = false;
|
|
47957
47956
|
result = null;
|
|
47958
|
-
|
|
47957
|
+
t7 = false;
|
|
47959
47958
|
}
|
|
47960
|
-
if (
|
|
47959
|
+
if (t7) {
|
|
47961
47960
|
t1.$indexSet(0, key, result);
|
|
47962
47961
|
$async$returnValue = result;
|
|
47963
47962
|
// goto return
|
|
@@ -47965,20 +47964,20 @@ self.util = _cliPkgRequires.util;
|
|
|
47965
47964
|
break;
|
|
47966
47965
|
}
|
|
47967
47966
|
if (_2_5_isSet)
|
|
47968
|
-
|
|
47967
|
+
t7 = _2_5;
|
|
47969
47968
|
else {
|
|
47970
47969
|
if (_2_3_isSet)
|
|
47971
|
-
|
|
47970
|
+
t7 = _2_3;
|
|
47972
47971
|
else {
|
|
47973
47972
|
_2_3 = _2_0._1;
|
|
47974
|
-
|
|
47973
|
+
t7 = _2_3;
|
|
47975
47974
|
_2_3_isSet = true;
|
|
47976
47975
|
}
|
|
47977
|
-
_2_5 = true ===
|
|
47978
|
-
|
|
47976
|
+
_2_5 = true === t7;
|
|
47977
|
+
t7 = _2_5;
|
|
47979
47978
|
}
|
|
47980
|
-
|
|
47981
|
-
if (
|
|
47979
|
+
t7 = t7 && !cacheable;
|
|
47980
|
+
if (t7) {
|
|
47982
47981
|
t4.$indexSet(0, perImporterKey, _2_1);
|
|
47983
47982
|
if (_2_1 != null) {
|
|
47984
47983
|
$async$returnValue = _2_1;
|
|
@@ -47990,8 +47989,8 @@ self.util = _cliPkgRequires.util;
|
|
|
47990
47989
|
$async$goto = 9;
|
|
47991
47990
|
break;
|
|
47992
47991
|
}
|
|
47993
|
-
|
|
47994
|
-
if (
|
|
47992
|
+
t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
|
|
47993
|
+
if (t7) {
|
|
47995
47994
|
if (cacheable) {
|
|
47996
47995
|
for (j = 0; j < i; ++j)
|
|
47997
47996
|
t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), null);
|
|
@@ -49761,7 +49760,7 @@ self.util = _cliPkgRequires.util;
|
|
|
49761
49760
|
}
|
|
49762
49761
|
try {
|
|
49763
49762
|
argVersion = A.Version_Version$parse(id);
|
|
49764
|
-
sassVersion = A.Version_Version$parse("1.
|
|
49763
|
+
sassVersion = A.Version_Version$parse("1.77.1");
|
|
49765
49764
|
if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
|
|
49766
49765
|
A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
|
|
49767
49766
|
J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
|
|
@@ -53301,7 +53300,7 @@ self.util = _cliPkgRequires.util;
|
|
|
53301
53300
|
};
|
|
53302
53301
|
A.ImportCache.prototype = {
|
|
53303
53302
|
canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
|
|
53304
|
-
var t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, cacheable, i, importer, perImporterKey,
|
|
53303
|
+
var t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, t6, cacheable, i, importer, perImporterKey, t7, _1_0, _1_2, result, t8, _1_2_isSet, _2_0, _2_1, _2_3, _2_5, _2_3_isSet, _2_5_isSet, j, _this = this, _null = null;
|
|
53305
53304
|
if (A.isBrowser())
|
|
53306
53305
|
t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && _this._importers.length === 0;
|
|
53307
53306
|
else
|
|
@@ -53321,50 +53320,49 @@ self.util = _cliPkgRequires.util;
|
|
|
53321
53320
|
t1 = _this._canonicalizeCache;
|
|
53322
53321
|
if (t1.containsKey$1(key))
|
|
53323
53322
|
return t1.$index(0, key);
|
|
53324
|
-
for (t2 = _this._importers, t3 = type$.Record_1_nullable_Object, t4 = _this._perImporterCanonicalizeCache, t5 = type$.Record_3_Importer_and_Uri_and_Uri_originalUrl, cacheable = true, i = 0; i < t2.length; ++i) {
|
|
53323
|
+
for (t2 = _this._importers, t3 = type$.Record_1_nullable_Object, t4 = _this._perImporterCanonicalizeCache, t5 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl, t6 = type$.Record_3_Importer_and_Uri_and_Uri_originalUrl, cacheable = true, i = 0; i < t2.length; ++i) {
|
|
53325
53324
|
importer = t2[i];
|
|
53326
53325
|
perImporterKey = new A._Record_3_forImport(importer, url, forImport);
|
|
53327
53326
|
if (t4.containsKey$1(perImporterKey)) {
|
|
53328
|
-
|
|
53329
|
-
|
|
53330
|
-
_1_0 = new A._Record_1(t6);
|
|
53327
|
+
t7 = t4.$index(0, perImporterKey);
|
|
53328
|
+
_1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
|
|
53331
53329
|
} else
|
|
53332
53330
|
_1_0 = _null;
|
|
53333
|
-
|
|
53334
|
-
if (
|
|
53331
|
+
t7 = t3._is(_1_0);
|
|
53332
|
+
if (t7) {
|
|
53335
53333
|
_1_2 = _1_0._0;
|
|
53336
53334
|
if (_1_2 != null) {
|
|
53337
|
-
|
|
53335
|
+
t6._as(_1_2);
|
|
53338
53336
|
result = _1_2;
|
|
53339
|
-
|
|
53337
|
+
t8 = true;
|
|
53340
53338
|
} else {
|
|
53341
53339
|
result = _null;
|
|
53342
|
-
|
|
53340
|
+
t8 = false;
|
|
53343
53341
|
}
|
|
53344
53342
|
_1_2_isSet = true;
|
|
53345
53343
|
} else {
|
|
53346
53344
|
result = _null;
|
|
53347
53345
|
_1_2 = result;
|
|
53348
53346
|
_1_2_isSet = false;
|
|
53349
|
-
|
|
53347
|
+
t8 = false;
|
|
53350
53348
|
}
|
|
53351
|
-
if (
|
|
53349
|
+
if (t8)
|
|
53352
53350
|
return result;
|
|
53353
|
-
if (
|
|
53354
|
-
|
|
53351
|
+
if (t7)
|
|
53352
|
+
t7 = (_1_2_isSet ? _1_2 : _1_0._0) == null;
|
|
53355
53353
|
else
|
|
53356
|
-
|
|
53357
|
-
if (
|
|
53354
|
+
t7 = false;
|
|
53355
|
+
if (t7)
|
|
53358
53356
|
continue;
|
|
53359
53357
|
$label0$1: {
|
|
53360
53358
|
_2_0 = _this._canonicalize$4(importer, url, baseUrl, forImport);
|
|
53361
53359
|
_2_1 = _2_0._0;
|
|
53362
53360
|
if (_2_1 != null) {
|
|
53363
|
-
result = _2_1 == null ?
|
|
53361
|
+
result = _2_1 == null ? t6._as(_2_1) : _2_1;
|
|
53364
53362
|
_2_3 = _2_0._1;
|
|
53365
|
-
|
|
53366
|
-
_2_5 =
|
|
53367
|
-
|
|
53363
|
+
t7 = _2_3;
|
|
53364
|
+
_2_5 = t7;
|
|
53365
|
+
t7 = t7 && cacheable;
|
|
53368
53366
|
_2_3_isSet = true;
|
|
53369
53367
|
_2_5_isSet = true;
|
|
53370
53368
|
} else {
|
|
@@ -53373,34 +53371,34 @@ self.util = _cliPkgRequires.util;
|
|
|
53373
53371
|
_2_5 = _2_3;
|
|
53374
53372
|
_2_5_isSet = false;
|
|
53375
53373
|
_2_3_isSet = false;
|
|
53376
|
-
|
|
53374
|
+
t7 = false;
|
|
53377
53375
|
}
|
|
53378
|
-
if (
|
|
53376
|
+
if (t7) {
|
|
53379
53377
|
t1.$indexSet(0, key, result);
|
|
53380
53378
|
return result;
|
|
53381
53379
|
}
|
|
53382
53380
|
if (_2_5_isSet)
|
|
53383
|
-
|
|
53381
|
+
t7 = _2_5;
|
|
53384
53382
|
else {
|
|
53385
53383
|
if (_2_3_isSet)
|
|
53386
|
-
|
|
53384
|
+
t7 = _2_3;
|
|
53387
53385
|
else {
|
|
53388
53386
|
_2_3 = _2_0._1;
|
|
53389
|
-
|
|
53387
|
+
t7 = _2_3;
|
|
53390
53388
|
_2_3_isSet = true;
|
|
53391
53389
|
}
|
|
53392
|
-
_2_5 = true ===
|
|
53393
|
-
|
|
53390
|
+
_2_5 = true === t7;
|
|
53391
|
+
t7 = _2_5;
|
|
53394
53392
|
}
|
|
53395
|
-
|
|
53396
|
-
if (
|
|
53393
|
+
t7 = t7 && !cacheable;
|
|
53394
|
+
if (t7) {
|
|
53397
53395
|
t4.$indexSet(0, perImporterKey, _2_1);
|
|
53398
53396
|
if (_2_1 != null)
|
|
53399
53397
|
return _2_1;
|
|
53400
53398
|
break $label0$1;
|
|
53401
53399
|
}
|
|
53402
|
-
|
|
53403
|
-
if (
|
|
53400
|
+
t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
|
|
53401
|
+
if (t7) {
|
|
53404
53402
|
if (cacheable) {
|
|
53405
53403
|
for (j = 0; j < i; ++j)
|
|
53406
53404
|
t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), _null);
|
|
@@ -64281,9 +64279,7 @@ self.util = _cliPkgRequires.util;
|
|
|
64281
64279
|
case 0:
|
|
64282
64280
|
// Function start
|
|
64283
64281
|
if ($async$self._async_evaluate$_declarationName != null)
|
|
64284
|
-
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.
|
|
64285
|
-
else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
|
|
64286
|
-
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rulk, node.span));
|
|
64282
|
+
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
|
|
64287
64283
|
$async$goto = 3;
|
|
64288
64284
|
return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1(node.name), $async$visitAtRule$1);
|
|
64289
64285
|
case 3:
|
|
@@ -65101,8 +65097,6 @@ self.util = _cliPkgRequires.util;
|
|
|
65101
65097
|
// Function start
|
|
65102
65098
|
if ($async$self._async_evaluate$_declarationName != null)
|
|
65103
65099
|
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
|
|
65104
|
-
else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
|
|
65105
|
-
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rulk, node.span));
|
|
65106
65100
|
$async$goto = 3;
|
|
65107
65101
|
return A._asyncAwait($async$self._visitMediaQueries$1(node.query), $async$visitMediaRule$1);
|
|
65108
65102
|
case 3:
|
|
@@ -65392,8 +65386,6 @@ self.util = _cliPkgRequires.util;
|
|
|
65392
65386
|
// Function start
|
|
65393
65387
|
if ($async$self._async_evaluate$_declarationName != null)
|
|
65394
65388
|
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
|
|
65395
|
-
else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
|
|
65396
|
-
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rulk, node.span));
|
|
65397
65389
|
t1 = node.condition;
|
|
65398
65390
|
$async$temp1 = A;
|
|
65399
65391
|
$async$temp2 = A;
|
|
@@ -67619,9 +67611,7 @@ self.util = _cliPkgRequires.util;
|
|
|
67619
67611
|
case 0:
|
|
67620
67612
|
// Function start
|
|
67621
67613
|
if ($async$self._async_evaluate$_declarationName != null)
|
|
67622
|
-
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.
|
|
67623
|
-
else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
|
|
67624
|
-
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rulk, node.span));
|
|
67614
|
+
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
|
|
67625
67615
|
if (node.isChildless) {
|
|
67626
67616
|
$async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
|
|
67627
67617
|
// goto return
|
|
@@ -67762,8 +67752,6 @@ self.util = _cliPkgRequires.util;
|
|
|
67762
67752
|
// Function start
|
|
67763
67753
|
if ($async$self._async_evaluate$_declarationName != null)
|
|
67764
67754
|
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
|
|
67765
|
-
else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
|
|
67766
|
-
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rulk, node.span));
|
|
67767
67755
|
mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure2($async$self, node));
|
|
67768
67756
|
t1 = mergedQueries == null;
|
|
67769
67757
|
if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
|
|
@@ -72533,17 +72521,14 @@ self.util = _cliPkgRequires.util;
|
|
|
72533
72521
|
return _null;
|
|
72534
72522
|
},
|
|
72535
72523
|
visitAtRule$1(node) {
|
|
72536
|
-
var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this
|
|
72537
|
-
_s8_ = "__parent";
|
|
72524
|
+
var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
|
|
72538
72525
|
if (_this._declarationName != null)
|
|
72539
|
-
throw A.wrapException(_this._evaluate$_exception$2(string$.
|
|
72540
|
-
else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock)
|
|
72541
|
-
throw A.wrapException(_this._evaluate$_exception$2(string$.At_rulk, node.span));
|
|
72526
|
+
throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
|
|
72542
72527
|
$name = _this._interpolationToValue$1(node.name);
|
|
72543
72528
|
value = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure(_this));
|
|
72544
72529
|
children = node.children;
|
|
72545
72530
|
if (children == null) {
|
|
72546
|
-
_this._assertInModule$2(_this.__parent,
|
|
72531
|
+
_this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
|
|
72547
72532
|
return null;
|
|
72548
72533
|
}
|
|
72549
72534
|
wasInKeyframes = _this._inKeyframes;
|
|
@@ -72874,8 +72859,6 @@ self.util = _cliPkgRequires.util;
|
|
|
72874
72859
|
var _0_0, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
|
|
72875
72860
|
if (_this._declarationName != null)
|
|
72876
72861
|
throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
|
|
72877
|
-
else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
|
|
72878
|
-
throw A.wrapException(_this._evaluate$_exception$2(string$.At_rulk, node.span));
|
|
72879
72862
|
_0_0 = _this._performInterpolationWithMap$2$warnForColor(node.query, true);
|
|
72880
72863
|
queries = A.CssMediaQuery_parseList(_0_0._0, _0_0._1, _this._evaluate$_logger);
|
|
72881
72864
|
mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure(_this, queries));
|
|
@@ -73019,8 +73002,6 @@ self.util = _cliPkgRequires.util;
|
|
|
73019
73002
|
var t1, _this = this;
|
|
73020
73003
|
if (_this._declarationName != null)
|
|
73021
73004
|
throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
|
|
73022
|
-
else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
|
|
73023
|
-
throw A.wrapException(_this._evaluate$_exception$2(string$.At_rulk, node.span));
|
|
73024
73005
|
t1 = node.condition;
|
|
73025
73006
|
_this._withParent$2$4$scopeWhen$through(A.ModifiableCssSupportsRule$(new A.CssValue(_this._visitSupportsCondition$1(t1), t1.get$span(t1), type$.CssValue_String), node.span), new A._EvaluateVisitor_visitSupportsRule_closure(_this, node), node.hasDeclarations, new A._EvaluateVisitor_visitSupportsRule_closure0(), type$.ModifiableCssSupportsRule, type$.Null);
|
|
73026
73007
|
return null;
|
|
@@ -73965,14 +73946,11 @@ self.util = _cliPkgRequires.util;
|
|
|
73965
73946
|
return new A.SassString(this._visitSupportsCondition$1(expression.condition), false);
|
|
73966
73947
|
},
|
|
73967
73948
|
visitCssAtRule$1(node) {
|
|
73968
|
-
var wasInKeyframes, wasInUnknownAtRule, t1, _this = this
|
|
73969
|
-
_s8_ = "__parent";
|
|
73949
|
+
var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
|
|
73970
73950
|
if (_this._declarationName != null)
|
|
73971
|
-
throw A.wrapException(_this._evaluate$_exception$2(string$.
|
|
73972
|
-
else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock)
|
|
73973
|
-
throw A.wrapException(_this._evaluate$_exception$2(string$.At_rulk, node.span));
|
|
73951
|
+
throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
|
|
73974
73952
|
if (node.isChildless) {
|
|
73975
|
-
_this._assertInModule$2(_this.__parent,
|
|
73953
|
+
_this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
|
|
73976
73954
|
return;
|
|
73977
73955
|
}
|
|
73978
73956
|
wasInKeyframes = _this._inKeyframes;
|
|
@@ -74020,8 +73998,6 @@ self.util = _cliPkgRequires.util;
|
|
|
74020
73998
|
var mergedQueries, t1, mergedSources, t2, t3, _this = this;
|
|
74021
73999
|
if (_this._declarationName != null)
|
|
74022
74000
|
throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
|
|
74023
|
-
else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
|
|
74024
|
-
throw A.wrapException(_this._evaluate$_exception$2(string$.At_rulk, node.span));
|
|
74025
74001
|
mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure(_this, node));
|
|
74026
74002
|
t1 = mergedQueries == null;
|
|
74027
74003
|
if (!t1 && J.get$isEmpty$asx(mergedQueries))
|
|
@@ -82219,9 +82195,7 @@ self.util = _cliPkgRequires.util;
|
|
|
82219
82195
|
case 0:
|
|
82220
82196
|
// Function start
|
|
82221
82197
|
if ($async$self._async_evaluate0$_declarationName != null)
|
|
82222
|
-
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.
|
|
82223
|
-
else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
|
|
82224
|
-
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rulk, node.span));
|
|
82198
|
+
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
|
|
82225
82199
|
$async$goto = 3;
|
|
82226
82200
|
return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1(node.name), $async$visitAtRule$1);
|
|
82227
82201
|
case 3:
|
|
@@ -83115,8 +83089,6 @@ self.util = _cliPkgRequires.util;
|
|
|
83115
83089
|
// Function start
|
|
83116
83090
|
if ($async$self._async_evaluate0$_declarationName != null)
|
|
83117
83091
|
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
|
|
83118
|
-
else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
|
|
83119
|
-
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rulk, node.span));
|
|
83120
83092
|
$async$goto = 3;
|
|
83121
83093
|
return A._asyncAwait($async$self._async_evaluate0$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
|
|
83122
83094
|
case 3:
|
|
@@ -83406,8 +83378,6 @@ self.util = _cliPkgRequires.util;
|
|
|
83406
83378
|
// Function start
|
|
83407
83379
|
if ($async$self._async_evaluate0$_declarationName != null)
|
|
83408
83380
|
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
|
|
83409
|
-
else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
|
|
83410
|
-
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rulk, node.span));
|
|
83411
83381
|
t1 = node.condition;
|
|
83412
83382
|
$async$temp1 = A;
|
|
83413
83383
|
$async$temp2 = A;
|
|
@@ -85633,9 +85603,7 @@ self.util = _cliPkgRequires.util;
|
|
|
85633
85603
|
case 0:
|
|
85634
85604
|
// Function start
|
|
85635
85605
|
if ($async$self._async_evaluate0$_declarationName != null)
|
|
85636
|
-
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.
|
|
85637
|
-
else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
|
|
85638
|
-
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rulk, node.span));
|
|
85606
|
+
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
|
|
85639
85607
|
if (node.isChildless) {
|
|
85640
85608
|
$async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
|
|
85641
85609
|
// goto return
|
|
@@ -85776,8 +85744,6 @@ self.util = _cliPkgRequires.util;
|
|
|
85776
85744
|
// Function start
|
|
85777
85745
|
if ($async$self._async_evaluate0$_declarationName != null)
|
|
85778
85746
|
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
|
|
85779
|
-
else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
|
|
85780
|
-
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rulk, node.span));
|
|
85781
85747
|
mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure8($async$self, node));
|
|
85782
85748
|
t1 = mergedQueries == null;
|
|
85783
85749
|
if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
|
|
@@ -90139,7 +90105,7 @@ self.util = _cliPkgRequires.util;
|
|
|
90139
90105
|
canonicalize$body$AsyncImportCache0(_, url, baseImporter, baseUrl, forImport) {
|
|
90140
90106
|
var $async$goto = 0,
|
|
90141
90107
|
$async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
|
|
90142
|
-
$async$returnValue, $async$self = this, t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, cacheable, i, importer, perImporterKey,
|
|
90108
|
+
$async$returnValue, $async$self = this, t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, t6, cacheable, i, importer, perImporterKey, t7, _1_0, _1_2, result, t8, _1_2_isSet, _2_0, _2_1, _2_3, _2_5, _2_3_isSet, _2_5_isSet, j;
|
|
90143
90109
|
var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
|
|
90144
90110
|
if ($async$errorCode === 1)
|
|
90145
90111
|
return A._asyncRethrow($async$result, $async$completer);
|
|
@@ -90182,7 +90148,7 @@ self.util = _cliPkgRequires.util;
|
|
|
90182
90148
|
$async$goto = 1;
|
|
90183
90149
|
break;
|
|
90184
90150
|
}
|
|
90185
|
-
t2 = $async$self._async_import_cache0$_importers, t3 = type$.Record_1_nullable_Object, t4 = $async$self._async_import_cache0$_perImporterCanonicalizeCache, t5 = type$.Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2, cacheable = true, i = 0;
|
|
90151
|
+
t2 = $async$self._async_import_cache0$_importers, t3 = type$.Record_1_nullable_Object, t4 = $async$self._async_import_cache0$_perImporterCanonicalizeCache, t5 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2, t6 = type$.Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2, cacheable = true, i = 0;
|
|
90186
90152
|
case 6:
|
|
90187
90153
|
// for condition
|
|
90188
90154
|
if (!(i < t2.length)) {
|
|
@@ -90193,40 +90159,39 @@ self.util = _cliPkgRequires.util;
|
|
|
90193
90159
|
importer = t2[i];
|
|
90194
90160
|
perImporterKey = new A._Record_3_forImport(importer, url, forImport);
|
|
90195
90161
|
if (t4.containsKey$1(perImporterKey)) {
|
|
90196
|
-
|
|
90197
|
-
|
|
90198
|
-
_1_0 = new A._Record_1(t6);
|
|
90162
|
+
t7 = t4.$index(0, perImporterKey);
|
|
90163
|
+
_1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
|
|
90199
90164
|
} else
|
|
90200
90165
|
_1_0 = null;
|
|
90201
|
-
|
|
90202
|
-
if (
|
|
90166
|
+
t7 = t3._is(_1_0);
|
|
90167
|
+
if (t7) {
|
|
90203
90168
|
_1_2 = _1_0._0;
|
|
90204
90169
|
if (_1_2 != null) {
|
|
90205
|
-
|
|
90170
|
+
t6._as(_1_2);
|
|
90206
90171
|
result = _1_2;
|
|
90207
|
-
|
|
90172
|
+
t8 = true;
|
|
90208
90173
|
} else {
|
|
90209
90174
|
result = null;
|
|
90210
|
-
|
|
90175
|
+
t8 = false;
|
|
90211
90176
|
}
|
|
90212
90177
|
_1_2_isSet = true;
|
|
90213
90178
|
} else {
|
|
90214
90179
|
_1_2 = null;
|
|
90215
90180
|
_1_2_isSet = false;
|
|
90216
90181
|
result = null;
|
|
90217
|
-
|
|
90182
|
+
t8 = false;
|
|
90218
90183
|
}
|
|
90219
|
-
if (
|
|
90184
|
+
if (t8) {
|
|
90220
90185
|
$async$returnValue = result;
|
|
90221
90186
|
// goto return
|
|
90222
90187
|
$async$goto = 1;
|
|
90223
90188
|
break;
|
|
90224
90189
|
}
|
|
90225
|
-
if (
|
|
90226
|
-
|
|
90190
|
+
if (t7)
|
|
90191
|
+
t7 = (_1_2_isSet ? _1_2 : _1_0._0) == null;
|
|
90227
90192
|
else
|
|
90228
|
-
|
|
90229
|
-
if (
|
|
90193
|
+
t7 = false;
|
|
90194
|
+
if (t7) {
|
|
90230
90195
|
// goto for update
|
|
90231
90196
|
$async$goto = 7;
|
|
90232
90197
|
break;
|
|
@@ -90238,11 +90203,11 @@ self.util = _cliPkgRequires.util;
|
|
|
90238
90203
|
_2_0 = $async$result;
|
|
90239
90204
|
_2_1 = _2_0._0;
|
|
90240
90205
|
if (_2_1 != null) {
|
|
90241
|
-
result = _2_1 == null ?
|
|
90206
|
+
result = _2_1 == null ? t6._as(_2_1) : _2_1;
|
|
90242
90207
|
_2_3 = _2_0._1;
|
|
90243
|
-
|
|
90244
|
-
_2_5 =
|
|
90245
|
-
|
|
90208
|
+
t7 = _2_3;
|
|
90209
|
+
_2_5 = t7;
|
|
90210
|
+
t7 = t7 && cacheable;
|
|
90246
90211
|
_2_3_isSet = true;
|
|
90247
90212
|
_2_5_isSet = true;
|
|
90248
90213
|
} else {
|
|
@@ -90251,9 +90216,9 @@ self.util = _cliPkgRequires.util;
|
|
|
90251
90216
|
_2_3 = null;
|
|
90252
90217
|
_2_3_isSet = false;
|
|
90253
90218
|
result = null;
|
|
90254
|
-
|
|
90219
|
+
t7 = false;
|
|
90255
90220
|
}
|
|
90256
|
-
if (
|
|
90221
|
+
if (t7) {
|
|
90257
90222
|
t1.$indexSet(0, key, result);
|
|
90258
90223
|
$async$returnValue = result;
|
|
90259
90224
|
// goto return
|
|
@@ -90261,20 +90226,20 @@ self.util = _cliPkgRequires.util;
|
|
|
90261
90226
|
break;
|
|
90262
90227
|
}
|
|
90263
90228
|
if (_2_5_isSet)
|
|
90264
|
-
|
|
90229
|
+
t7 = _2_5;
|
|
90265
90230
|
else {
|
|
90266
90231
|
if (_2_3_isSet)
|
|
90267
|
-
|
|
90232
|
+
t7 = _2_3;
|
|
90268
90233
|
else {
|
|
90269
90234
|
_2_3 = _2_0._1;
|
|
90270
|
-
|
|
90235
|
+
t7 = _2_3;
|
|
90271
90236
|
_2_3_isSet = true;
|
|
90272
90237
|
}
|
|
90273
|
-
_2_5 = true ===
|
|
90274
|
-
|
|
90238
|
+
_2_5 = true === t7;
|
|
90239
|
+
t7 = _2_5;
|
|
90275
90240
|
}
|
|
90276
|
-
|
|
90277
|
-
if (
|
|
90241
|
+
t7 = t7 && !cacheable;
|
|
90242
|
+
if (t7) {
|
|
90278
90243
|
t4.$indexSet(0, perImporterKey, _2_1);
|
|
90279
90244
|
if (_2_1 != null) {
|
|
90280
90245
|
$async$returnValue = _2_1;
|
|
@@ -90286,8 +90251,8 @@ self.util = _cliPkgRequires.util;
|
|
|
90286
90251
|
$async$goto = 9;
|
|
90287
90252
|
break;
|
|
90288
90253
|
}
|
|
90289
|
-
|
|
90290
|
-
if (
|
|
90254
|
+
t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
|
|
90255
|
+
if (t7) {
|
|
90291
90256
|
if (cacheable) {
|
|
90292
90257
|
for (j = 0; j < i; ++j)
|
|
90293
90258
|
t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), null);
|
|
@@ -94933,17 +94898,14 @@ self.util = _cliPkgRequires.util;
|
|
|
94933
94898
|
return _null;
|
|
94934
94899
|
},
|
|
94935
94900
|
visitAtRule$1(node) {
|
|
94936
|
-
var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this
|
|
94937
|
-
_s8_ = "__parent";
|
|
94901
|
+
var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
|
|
94938
94902
|
if (_this._evaluate0$_declarationName != null)
|
|
94939
|
-
throw A.wrapException(_this._evaluate0$_exception$2(string$.
|
|
94940
|
-
else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock0)
|
|
94941
|
-
throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rulk, node.span));
|
|
94903
|
+
throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
|
|
94942
94904
|
$name = _this._evaluate0$_interpolationToValue$1(node.name);
|
|
94943
94905
|
value = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure5(_this));
|
|
94944
94906
|
children = node.children;
|
|
94945
94907
|
if (children == null) {
|
|
94946
|
-
_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent,
|
|
94908
|
+
_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
|
|
94947
94909
|
return null;
|
|
94948
94910
|
}
|
|
94949
94911
|
wasInKeyframes = _this._evaluate0$_inKeyframes;
|
|
@@ -95302,8 +95264,6 @@ self.util = _cliPkgRequires.util;
|
|
|
95302
95264
|
var _0_0, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
|
|
95303
95265
|
if (_this._evaluate0$_declarationName != null)
|
|
95304
95266
|
throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
|
|
95305
|
-
else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
|
|
95306
|
-
throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rulk, node.span));
|
|
95307
95267
|
_0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.query, true);
|
|
95308
95268
|
queries = A.CssMediaQuery_parseList0(_0_0._0, _0_0._1, _this._evaluate0$_logger);
|
|
95309
95269
|
mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure5(_this, queries));
|
|
@@ -95447,8 +95407,6 @@ self.util = _cliPkgRequires.util;
|
|
|
95447
95407
|
var t1, _this = this;
|
|
95448
95408
|
if (_this._evaluate0$_declarationName != null)
|
|
95449
95409
|
throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
|
|
95450
|
-
else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
|
|
95451
|
-
throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rulk, node.span));
|
|
95452
95410
|
t1 = node.condition;
|
|
95453
95411
|
_this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssSupportsRule$0(new A.CssValue0(_this._evaluate0$_visitSupportsCondition$1(t1), t1.get$span(t1), type$.CssValue_String_2), node.span), new A._EvaluateVisitor_visitSupportsRule_closure3(_this, node), node.hasDeclarations, new A._EvaluateVisitor_visitSupportsRule_closure4(), type$.ModifiableCssSupportsRule_2, type$.Null);
|
|
95454
95412
|
return null;
|
|
@@ -96393,14 +96351,11 @@ self.util = _cliPkgRequires.util;
|
|
|
96393
96351
|
return new A.SassString0(this._evaluate0$_visitSupportsCondition$1(expression.condition), false);
|
|
96394
96352
|
},
|
|
96395
96353
|
visitCssAtRule$1(node) {
|
|
96396
|
-
var wasInKeyframes, wasInUnknownAtRule, t1, _this = this
|
|
96397
|
-
_s8_ = "__parent";
|
|
96354
|
+
var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
|
|
96398
96355
|
if (_this._evaluate0$_declarationName != null)
|
|
96399
|
-
throw A.wrapException(_this._evaluate0$_exception$2(string$.
|
|
96400
|
-
else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock0)
|
|
96401
|
-
throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rulk, node.span));
|
|
96356
|
+
throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
|
|
96402
96357
|
if (node.isChildless) {
|
|
96403
|
-
_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent,
|
|
96358
|
+
_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
|
|
96404
96359
|
return;
|
|
96405
96360
|
}
|
|
96406
96361
|
wasInKeyframes = _this._evaluate0$_inKeyframes;
|
|
@@ -96448,8 +96403,6 @@ self.util = _cliPkgRequires.util;
|
|
|
96448
96403
|
var mergedQueries, t1, mergedSources, t2, t3, _this = this;
|
|
96449
96404
|
if (_this._evaluate0$_declarationName != null)
|
|
96450
96405
|
throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
|
|
96451
|
-
else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
|
|
96452
|
-
throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rulk, node.span));
|
|
96453
96406
|
mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure5(_this, node));
|
|
96454
96407
|
t1 = mergedQueries == null;
|
|
96455
96408
|
if (!t1 && J.get$isEmpty$asx(mergedQueries))
|
|
@@ -100907,7 +100860,7 @@ self.util = _cliPkgRequires.util;
|
|
|
100907
100860
|
};
|
|
100908
100861
|
A.ImportCache0.prototype = {
|
|
100909
100862
|
canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
|
|
100910
|
-
var t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, cacheable, i, importer, perImporterKey,
|
|
100863
|
+
var t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, t6, cacheable, i, importer, perImporterKey, t7, _1_0, _1_2, result, t8, _1_2_isSet, _2_0, _2_1, _2_3, _2_5, _2_3_isSet, _2_5_isSet, j, _this = this, _null = null;
|
|
100911
100864
|
if (A.isBrowser())
|
|
100912
100865
|
t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && _this._import_cache$_importers.length === 0;
|
|
100913
100866
|
else
|
|
@@ -100927,50 +100880,49 @@ self.util = _cliPkgRequires.util;
|
|
|
100927
100880
|
t1 = _this._import_cache$_canonicalizeCache;
|
|
100928
100881
|
if (t1.containsKey$1(key))
|
|
100929
100882
|
return t1.$index(0, key);
|
|
100930
|
-
for (t2 = _this._import_cache$_importers, t3 = type$.Record_1_nullable_Object, t4 = _this._import_cache$_perImporterCanonicalizeCache, t5 = type$.Record_3_Importer_and_Uri_and_Uri_originalUrl_2, cacheable = true, i = 0; i < t2.length; ++i) {
|
|
100883
|
+
for (t2 = _this._import_cache$_importers, t3 = type$.Record_1_nullable_Object, t4 = _this._import_cache$_perImporterCanonicalizeCache, t5 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2, t6 = type$.Record_3_Importer_and_Uri_and_Uri_originalUrl_2, cacheable = true, i = 0; i < t2.length; ++i) {
|
|
100931
100884
|
importer = t2[i];
|
|
100932
100885
|
perImporterKey = new A._Record_3_forImport(importer, url, forImport);
|
|
100933
100886
|
if (t4.containsKey$1(perImporterKey)) {
|
|
100934
|
-
|
|
100935
|
-
|
|
100936
|
-
_1_0 = new A._Record_1(t6);
|
|
100887
|
+
t7 = t4.$index(0, perImporterKey);
|
|
100888
|
+
_1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
|
|
100937
100889
|
} else
|
|
100938
100890
|
_1_0 = _null;
|
|
100939
|
-
|
|
100940
|
-
if (
|
|
100891
|
+
t7 = t3._is(_1_0);
|
|
100892
|
+
if (t7) {
|
|
100941
100893
|
_1_2 = _1_0._0;
|
|
100942
100894
|
if (_1_2 != null) {
|
|
100943
|
-
|
|
100895
|
+
t6._as(_1_2);
|
|
100944
100896
|
result = _1_2;
|
|
100945
|
-
|
|
100897
|
+
t8 = true;
|
|
100946
100898
|
} else {
|
|
100947
100899
|
result = _null;
|
|
100948
|
-
|
|
100900
|
+
t8 = false;
|
|
100949
100901
|
}
|
|
100950
100902
|
_1_2_isSet = true;
|
|
100951
100903
|
} else {
|
|
100952
100904
|
result = _null;
|
|
100953
100905
|
_1_2 = result;
|
|
100954
100906
|
_1_2_isSet = false;
|
|
100955
|
-
|
|
100907
|
+
t8 = false;
|
|
100956
100908
|
}
|
|
100957
|
-
if (
|
|
100909
|
+
if (t8)
|
|
100958
100910
|
return result;
|
|
100959
|
-
if (
|
|
100960
|
-
|
|
100911
|
+
if (t7)
|
|
100912
|
+
t7 = (_1_2_isSet ? _1_2 : _1_0._0) == null;
|
|
100961
100913
|
else
|
|
100962
|
-
|
|
100963
|
-
if (
|
|
100914
|
+
t7 = false;
|
|
100915
|
+
if (t7)
|
|
100964
100916
|
continue;
|
|
100965
100917
|
$label0$1: {
|
|
100966
100918
|
_2_0 = _this._import_cache$_canonicalize$4(importer, url, baseUrl, forImport);
|
|
100967
100919
|
_2_1 = _2_0._0;
|
|
100968
100920
|
if (_2_1 != null) {
|
|
100969
|
-
result = _2_1 == null ?
|
|
100921
|
+
result = _2_1 == null ? t6._as(_2_1) : _2_1;
|
|
100970
100922
|
_2_3 = _2_0._1;
|
|
100971
|
-
|
|
100972
|
-
_2_5 =
|
|
100973
|
-
|
|
100923
|
+
t7 = _2_3;
|
|
100924
|
+
_2_5 = t7;
|
|
100925
|
+
t7 = t7 && cacheable;
|
|
100974
100926
|
_2_3_isSet = true;
|
|
100975
100927
|
_2_5_isSet = true;
|
|
100976
100928
|
} else {
|
|
@@ -100979,34 +100931,34 @@ self.util = _cliPkgRequires.util;
|
|
|
100979
100931
|
_2_5 = _2_3;
|
|
100980
100932
|
_2_5_isSet = false;
|
|
100981
100933
|
_2_3_isSet = false;
|
|
100982
|
-
|
|
100934
|
+
t7 = false;
|
|
100983
100935
|
}
|
|
100984
|
-
if (
|
|
100936
|
+
if (t7) {
|
|
100985
100937
|
t1.$indexSet(0, key, result);
|
|
100986
100938
|
return result;
|
|
100987
100939
|
}
|
|
100988
100940
|
if (_2_5_isSet)
|
|
100989
|
-
|
|
100941
|
+
t7 = _2_5;
|
|
100990
100942
|
else {
|
|
100991
100943
|
if (_2_3_isSet)
|
|
100992
|
-
|
|
100944
|
+
t7 = _2_3;
|
|
100993
100945
|
else {
|
|
100994
100946
|
_2_3 = _2_0._1;
|
|
100995
|
-
|
|
100947
|
+
t7 = _2_3;
|
|
100996
100948
|
_2_3_isSet = true;
|
|
100997
100949
|
}
|
|
100998
|
-
_2_5 = true ===
|
|
100999
|
-
|
|
100950
|
+
_2_5 = true === t7;
|
|
100951
|
+
t7 = _2_5;
|
|
101000
100952
|
}
|
|
101001
|
-
|
|
101002
|
-
if (
|
|
100953
|
+
t7 = t7 && !cacheable;
|
|
100954
|
+
if (t7) {
|
|
101003
100955
|
t4.$indexSet(0, perImporterKey, _2_1);
|
|
101004
100956
|
if (_2_1 != null)
|
|
101005
100957
|
return _2_1;
|
|
101006
100958
|
break $label0$1;
|
|
101007
100959
|
}
|
|
101008
|
-
|
|
101009
|
-
if (
|
|
100960
|
+
t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
|
|
100961
|
+
if (t7) {
|
|
101010
100962
|
if (cacheable) {
|
|
101011
100963
|
for (j = 0; j < i; ++j)
|
|
101012
100964
|
t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), _null);
|
|
@@ -116721,8 +116673,7 @@ self.util = _cliPkgRequires.util;
|
|
|
116721
116673
|
An_impu: "An importer must have either canonicalize and load methods, or a findFileUrl method.",
|
|
116722
116674
|
As_of_R: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nRecommendation: add `",
|
|
116723
116675
|
As_of_S: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nSince this assignment is at the root of the stylesheet, the !global flag is\nunnecessary and can safely be removed.",
|
|
116724
|
-
|
|
116725
|
-
At_ruln: "At-rules may not be used within nested declarations.",
|
|
116676
|
+
At_rul: "At-rules may not be used within nested declarations.",
|
|
116726
116677
|
Cannotff: "Cannot extract a file path from a URI with a fragment component",
|
|
116727
116678
|
Cannotfq: "Cannot extract a file path from a URI with a query component",
|
|
116728
116679
|
Cannotn: "Cannot extract a non-Windows file path from a file URI with an authority",
|