sass 1.103.1 → 1.104.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/package.json +1 -1
- package/sass.dart.js +149 -57
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":">=20.19.0"},"dependencies":{"chokidar":"^5.0.0","immutable":"^5.1.5","source-map-js":">=0.6.2 <2.0.0"},"optionalDependencies":{"@parcel/watcher":"^2.4.1"},"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":">=20.19.0"},"dependencies":{"chokidar":"^5.0.0","immutable":"^5.1.5","source-map-js":">=0.6.2 <2.0.0"},"optionalDependencies":{"@parcel/watcher":"^2.4.1"},"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.104.0","bin":{"sass":"sass.js"},"main":"sass.node.js"}
|
package/sass.dart.js
CHANGED
|
@@ -130,7 +130,7 @@ self.fs = _cliPkgRequires.fs;
|
|
|
130
130
|
self.nodeModule = _cliPkgRequires.nodeModule;
|
|
131
131
|
self.stream = _cliPkgRequires.stream;
|
|
132
132
|
self.util = _cliPkgRequires.util;
|
|
133
|
-
// Generated by dart2js (, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.13.
|
|
133
|
+
// Generated by dart2js (, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.13.3.
|
|
134
134
|
// The code supports the following hooks:
|
|
135
135
|
// dartPrint(message):
|
|
136
136
|
// if this function is defined it is called instead of the Dart [print]
|
|
@@ -17635,38 +17635,65 @@ self.util = _cliPkgRequires.util;
|
|
|
17635
17635
|
return A.SassColor_SassColor$forSpaceInternal(B.HwbColorSpace_guQ, t1, t2, t3, alpha == null ? _null : alpha);
|
|
17636
17636
|
},
|
|
17637
17637
|
SassColor_SassColor$forSpaceInternal(space, channel0, channel1, channel2, alpha) {
|
|
17638
|
-
var t1, t2, _null = null;
|
|
17638
|
+
var t1, t2, t3, _null = null;
|
|
17639
17639
|
$label0$0: {
|
|
17640
17640
|
if (B.HslColorSpace_JQ2 === space) {
|
|
17641
17641
|
t1 = channel1 == null;
|
|
17642
17642
|
t2 = A.SassColor__normalizeHue(channel0, !t1 && channel1 < 0 && !A.fuzzyEquals(channel1, 0));
|
|
17643
|
-
t2 = A.SassColor$_forSpace(space, t2, t1 ? _null : Math.abs(channel1), channel2, alpha, _null);
|
|
17643
|
+
t2 = A.SassColor$_forSpace(space, t2, A.SassColor__normalizeLinear(t1 ? _null : Math.abs(channel1)), A.SassColor__normalizeLinear(channel2), A.SassColor__normalizeLinear(alpha), _null);
|
|
17644
17644
|
t1 = t2;
|
|
17645
17645
|
break $label0$0;
|
|
17646
17646
|
}
|
|
17647
17647
|
if (B.HwbColorSpace_guQ === space) {
|
|
17648
|
-
t1 = A.SassColor$_forSpace(space, A.SassColor__normalizeHue(channel0, false), channel1, channel2, alpha, _null);
|
|
17648
|
+
t1 = A.SassColor$_forSpace(space, A.SassColor__normalizeHue(channel0, false), A.SassColor__normalizeLinear(channel1), A.SassColor__normalizeLinear(channel2), A.SassColor__normalizeLinear(alpha), _null);
|
|
17649
17649
|
break $label0$0;
|
|
17650
17650
|
}
|
|
17651
17651
|
if (B.LchColorSpace_Bpv === space || B.OklchColorSpace_9Gj === space) {
|
|
17652
|
-
t1 =
|
|
17653
|
-
t2 =
|
|
17654
|
-
|
|
17655
|
-
t1 = t2;
|
|
17652
|
+
t1 = A.SassColor__normalizeLinear(channel0);
|
|
17653
|
+
t2 = channel1 == null;
|
|
17654
|
+
t3 = A.SassColor__normalizeLinear(t2 ? _null : Math.abs(channel1));
|
|
17655
|
+
t1 = A.SassColor$_forSpace(space, t1, t3, A.SassColor__normalizeHue(channel2, !t2 && channel1 < 0 && !A.fuzzyEquals(channel1, 0)), A.SassColor__normalizeLinear(alpha), _null);
|
|
17656
|
+
break $label0$0;
|
|
17657
|
+
}
|
|
17658
|
+
t1 = A.SassColor$_forSpace(space, A.SassColor__normalizeLinear(channel0), A.SassColor__normalizeLinear(channel1), A.SassColor__normalizeLinear(channel2), A.SassColor__normalizeLinear(alpha), _null);
|
|
17659
|
+
break $label0$0;
|
|
17660
|
+
}
|
|
17661
|
+
return t1;
|
|
17662
|
+
},
|
|
17663
|
+
SassColor__normalizeLinear(value) {
|
|
17664
|
+
var t1;
|
|
17665
|
+
$label0$0: {
|
|
17666
|
+
if (value == null) {
|
|
17667
|
+
t1 = null;
|
|
17668
|
+
break $label0$0;
|
|
17669
|
+
}
|
|
17670
|
+
if (0 === value || isNaN(value)) {
|
|
17671
|
+
t1 = 0;
|
|
17656
17672
|
break $label0$0;
|
|
17657
17673
|
}
|
|
17658
|
-
t1 =
|
|
17674
|
+
t1 = value;
|
|
17659
17675
|
break $label0$0;
|
|
17660
17676
|
}
|
|
17661
17677
|
return t1;
|
|
17662
17678
|
},
|
|
17663
17679
|
SassColor__normalizeHue(hue, invert) {
|
|
17664
17680
|
var t1, t2;
|
|
17665
|
-
|
|
17666
|
-
|
|
17667
|
-
|
|
17668
|
-
|
|
17669
|
-
|
|
17681
|
+
$label0$0: {
|
|
17682
|
+
if (hue == null) {
|
|
17683
|
+
t1 = null;
|
|
17684
|
+
break $label0$0;
|
|
17685
|
+
}
|
|
17686
|
+
if (0 === hue || !isFinite(hue)) {
|
|
17687
|
+
t1 = 0;
|
|
17688
|
+
break $label0$0;
|
|
17689
|
+
}
|
|
17690
|
+
t1 = B.JSNumber_methods.$mod(hue, 360);
|
|
17691
|
+
t2 = invert ? 180 : 0;
|
|
17692
|
+
t2 = B.JSNumber_methods.$mod(t1 + 360 + t2, 360);
|
|
17693
|
+
t1 = t2;
|
|
17694
|
+
break $label0$0;
|
|
17695
|
+
}
|
|
17696
|
+
return t1;
|
|
17670
17697
|
},
|
|
17671
17698
|
SassColor: function SassColor(t0, t1, t2, t3, t4, t5) {
|
|
17672
17699
|
var _ = this;
|
|
@@ -20578,9 +20605,9 @@ self.util = _cliPkgRequires.util;
|
|
|
20578
20605
|
return $frames;
|
|
20579
20606
|
},
|
|
20580
20607
|
Trace$parseV8(trace) {
|
|
20581
|
-
var t1 =
|
|
20608
|
+
var t1 = type$.SkipWhileIterable_String,
|
|
20582
20609
|
t2 = type$.Frame;
|
|
20583
|
-
t2 = A.List_List$unmodifiable(A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseV8_tearOff$closure(), t1
|
|
20610
|
+
t2 = A.List_List$unmodifiable(A.MappedIterable_MappedIterable(new A.SkipWhileIterable(A._setArrayType(trace.split("\n"), type$.JSArray_String), new A.Trace$parseV8_closure(), t1), A.frame_Frame___parseV8_tearOff$closure(), t1._eval$1("Iterable.E"), t2), t2);
|
|
20584
20611
|
return new A.Trace(t2, new A._StringStackTrace(trace));
|
|
20585
20612
|
},
|
|
20586
20613
|
Trace$parseJSCore(trace) {
|
|
@@ -25066,38 +25093,65 @@ self.util = _cliPkgRequires.util;
|
|
|
25066
25093
|
return A.SassColor_SassColor$forSpaceInternal0(B.HwbColorSpace_guQ0, t1, t2, t3, alpha == null ? _null : alpha);
|
|
25067
25094
|
},
|
|
25068
25095
|
SassColor_SassColor$forSpaceInternal0(space, channel0, channel1, channel2, alpha) {
|
|
25069
|
-
var t1, t2, _null = null;
|
|
25096
|
+
var t1, t2, t3, _null = null;
|
|
25070
25097
|
$label0$0: {
|
|
25071
25098
|
if (B.HslColorSpace_JQ20 === space) {
|
|
25072
25099
|
t1 = channel1 == null;
|
|
25073
25100
|
t2 = A.SassColor__normalizeHue0(channel0, !t1 && channel1 < 0 && !A.fuzzyEquals0(channel1, 0));
|
|
25074
|
-
t2 = A.SassColor$_forSpace0(space, t2, t1 ? _null : Math.abs(channel1), channel2, alpha, _null);
|
|
25101
|
+
t2 = A.SassColor$_forSpace0(space, t2, A.SassColor__normalizeLinear0(t1 ? _null : Math.abs(channel1)), A.SassColor__normalizeLinear0(channel2), A.SassColor__normalizeLinear0(alpha), _null);
|
|
25075
25102
|
t1 = t2;
|
|
25076
25103
|
break $label0$0;
|
|
25077
25104
|
}
|
|
25078
25105
|
if (B.HwbColorSpace_guQ0 === space) {
|
|
25079
|
-
t1 = A.SassColor$_forSpace0(space, A.SassColor__normalizeHue0(channel0, false), channel1, channel2, alpha, _null);
|
|
25106
|
+
t1 = A.SassColor$_forSpace0(space, A.SassColor__normalizeHue0(channel0, false), A.SassColor__normalizeLinear0(channel1), A.SassColor__normalizeLinear0(channel2), A.SassColor__normalizeLinear0(alpha), _null);
|
|
25080
25107
|
break $label0$0;
|
|
25081
25108
|
}
|
|
25082
25109
|
if (B.LchColorSpace_Bpv0 === space || B.OklchColorSpace_9Gj0 === space) {
|
|
25083
|
-
t1 =
|
|
25084
|
-
t2 =
|
|
25085
|
-
|
|
25086
|
-
t1 = t2;
|
|
25110
|
+
t1 = A.SassColor__normalizeLinear0(channel0);
|
|
25111
|
+
t2 = channel1 == null;
|
|
25112
|
+
t3 = A.SassColor__normalizeLinear0(t2 ? _null : Math.abs(channel1));
|
|
25113
|
+
t1 = A.SassColor$_forSpace0(space, t1, t3, A.SassColor__normalizeHue0(channel2, !t2 && channel1 < 0 && !A.fuzzyEquals0(channel1, 0)), A.SassColor__normalizeLinear0(alpha), _null);
|
|
25114
|
+
break $label0$0;
|
|
25115
|
+
}
|
|
25116
|
+
t1 = A.SassColor$_forSpace0(space, A.SassColor__normalizeLinear0(channel0), A.SassColor__normalizeLinear0(channel1), A.SassColor__normalizeLinear0(channel2), A.SassColor__normalizeLinear0(alpha), _null);
|
|
25117
|
+
break $label0$0;
|
|
25118
|
+
}
|
|
25119
|
+
return t1;
|
|
25120
|
+
},
|
|
25121
|
+
SassColor__normalizeLinear0(value) {
|
|
25122
|
+
var t1;
|
|
25123
|
+
$label0$0: {
|
|
25124
|
+
if (value == null) {
|
|
25125
|
+
t1 = null;
|
|
25087
25126
|
break $label0$0;
|
|
25088
25127
|
}
|
|
25089
|
-
|
|
25128
|
+
if (0 === value || isNaN(value)) {
|
|
25129
|
+
t1 = 0;
|
|
25130
|
+
break $label0$0;
|
|
25131
|
+
}
|
|
25132
|
+
t1 = value;
|
|
25090
25133
|
break $label0$0;
|
|
25091
25134
|
}
|
|
25092
25135
|
return t1;
|
|
25093
25136
|
},
|
|
25094
25137
|
SassColor__normalizeHue0(hue, invert) {
|
|
25095
25138
|
var t1, t2;
|
|
25096
|
-
|
|
25097
|
-
|
|
25098
|
-
|
|
25099
|
-
|
|
25100
|
-
|
|
25139
|
+
$label0$0: {
|
|
25140
|
+
if (hue == null) {
|
|
25141
|
+
t1 = null;
|
|
25142
|
+
break $label0$0;
|
|
25143
|
+
}
|
|
25144
|
+
if (0 === hue || !isFinite(hue)) {
|
|
25145
|
+
t1 = 0;
|
|
25146
|
+
break $label0$0;
|
|
25147
|
+
}
|
|
25148
|
+
t1 = B.JSNumber_methods.$mod(hue, 360);
|
|
25149
|
+
t2 = invert ? 180 : 0;
|
|
25150
|
+
t2 = B.JSNumber_methods.$mod(t1 + 360 + t2, 360);
|
|
25151
|
+
t1 = t2;
|
|
25152
|
+
break $label0$0;
|
|
25153
|
+
}
|
|
25154
|
+
return t1;
|
|
25101
25155
|
},
|
|
25102
25156
|
SassColor0: function SassColor0(t0, t1, t2, t3, t4, t5) {
|
|
25103
25157
|
var _ = this;
|
|
@@ -29118,7 +29172,7 @@ self.util = _cliPkgRequires.util;
|
|
|
29118
29172
|
J.set$deprecations$x(self.exports, A.jsify($.$get$deprecations()));
|
|
29119
29173
|
J.set$Version$x(self.exports, $.$get$versionClass());
|
|
29120
29174
|
J.set$loadParserExports_$x(self.exports, A.allowInterop(A.parser0__loadParserExports$closure()));
|
|
29121
|
-
J.set$info$x(self.exports, "dart-sass\t1.
|
|
29175
|
+
J.set$info$x(self.exports, "dart-sass\t1.104.0\t(Sass Compiler)\t[Dart]\ndart2js\t3.13.3\t(Dart Compiler)\t[Dart]");
|
|
29122
29176
|
A.updateCanonicalizeContextPrototype();
|
|
29123
29177
|
A.updateSourceSpanPrototype();
|
|
29124
29178
|
J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
|
|
@@ -33748,7 +33802,7 @@ self.util = _cliPkgRequires.util;
|
|
|
33748
33802
|
return A.SassNumber_SassNumber(Math.pow(base._number$_value, exponent._number$_value), null);
|
|
33749
33803
|
},
|
|
33750
33804
|
DoubleWithSignedZero_get_signIncludingZero(_this) {
|
|
33751
|
-
if (_this
|
|
33805
|
+
if (self.Object.is(_this, -0.0))
|
|
33752
33806
|
return -1;
|
|
33753
33807
|
if (_this === 0)
|
|
33754
33808
|
return 1;
|
|
@@ -34172,7 +34226,7 @@ self.util = _cliPkgRequires.util;
|
|
|
34172
34226
|
return A.SassNumber_SassNumber0(Math.pow(base._number1$_value, exponent._number1$_value), null);
|
|
34173
34227
|
},
|
|
34174
34228
|
DoubleWithSignedZero_get_signIncludingZero0(_this) {
|
|
34175
|
-
if (_this
|
|
34229
|
+
if (self.Object.is(_this, -0.0))
|
|
34176
34230
|
return -1;
|
|
34177
34231
|
if (_this === 0)
|
|
34178
34232
|
return 1;
|
|
@@ -34343,7 +34397,7 @@ self.util = _cliPkgRequires.util;
|
|
|
34343
34397
|
switch ($async$goto) {
|
|
34344
34398
|
case 0:
|
|
34345
34399
|
// Function start
|
|
34346
|
-
$async$returnValue = "1.
|
|
34400
|
+
$async$returnValue = "1.104.0 compiled with dart2js 3.13.3";
|
|
34347
34401
|
// goto return
|
|
34348
34402
|
$async$goto = 1;
|
|
34349
34403
|
break;
|
|
@@ -43143,9 +43197,6 @@ self.util = _cliPkgRequires.util;
|
|
|
43143
43197
|
skip$1(_, count) {
|
|
43144
43198
|
return A.SkipIterable_SkipIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
|
|
43145
43199
|
},
|
|
43146
|
-
skipWhile$1(_, test) {
|
|
43147
|
-
return new A.SkipWhileIterable(this, test, A._instanceType(this)._eval$1("SkipWhileIterable<Iterable.E>"));
|
|
43148
|
-
},
|
|
43149
43200
|
get$first(_) {
|
|
43150
43201
|
var it = this.get$iterator(this);
|
|
43151
43202
|
if (!it.moveNext$0())
|
|
@@ -46720,8 +46771,14 @@ self.util = _cliPkgRequires.util;
|
|
|
46720
46771
|
};
|
|
46721
46772
|
A.Version__splitParts_closure.prototype = {
|
|
46722
46773
|
call$1(part) {
|
|
46723
|
-
var t1 =
|
|
46724
|
-
|
|
46774
|
+
var t1 = $.$get$Version__digitsPattern();
|
|
46775
|
+
if (t1._nativeRegExp.test(part)) {
|
|
46776
|
+
t1 = A.Primitives_parseInt(part, null);
|
|
46777
|
+
if (t1 == null)
|
|
46778
|
+
t1 = part;
|
|
46779
|
+
} else
|
|
46780
|
+
t1 = part;
|
|
46781
|
+
return t1;
|
|
46725
46782
|
},
|
|
46726
46783
|
$signature: 331
|
|
46727
46784
|
};
|
|
@@ -52939,7 +52996,7 @@ self.util = _cliPkgRequires.util;
|
|
|
52939
52996
|
}
|
|
52940
52997
|
try {
|
|
52941
52998
|
argVersion = A.Version_Version$parse(id);
|
|
52942
|
-
sassVersion = A.Version_Version$parse("1.
|
|
52999
|
+
sassVersion = A.Version_Version$parse("1.104.0");
|
|
52943
53000
|
if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
|
|
52944
53001
|
A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
|
|
52945
53002
|
J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
|
|
@@ -84036,23 +84093,28 @@ self.util = _cliPkgRequires.util;
|
|
|
84036
84093
|
_this._serialize$_buffer.writeCharCode$1(41);
|
|
84037
84094
|
},
|
|
84038
84095
|
_writeCalculationValue$1(value) {
|
|
84039
|
-
var t1, _0_0, _1_0, first, rest, left, right, operator, parenthesizeLeft, operatorWhitespace, parenthesizeRight, _this = this;
|
|
84096
|
+
var t1, _0_0, t2, _1_0, first, rest, left, right, operator, parenthesizeLeft, operatorWhitespace, parenthesizeRight, _this = this;
|
|
84040
84097
|
$label1$1: {
|
|
84041
84098
|
t1 = value instanceof A.SassNumber;
|
|
84042
84099
|
if (t1 && !isFinite(value._number$_value)) {
|
|
84100
|
+
t1 = _this._serialize$_buffer;
|
|
84101
|
+
_0_0 = value._number$_value;
|
|
84043
84102
|
$label0$0: {
|
|
84044
|
-
_0_0 = value._number$_value;
|
|
84045
84103
|
if (1 / 0 === _0_0) {
|
|
84046
|
-
|
|
84104
|
+
t2 = "infinity";
|
|
84047
84105
|
break $label0$0;
|
|
84048
84106
|
}
|
|
84049
84107
|
if (-1 / 0 === _0_0) {
|
|
84050
|
-
|
|
84108
|
+
t2 = "-infinity";
|
|
84109
|
+
break $label0$0;
|
|
84110
|
+
}
|
|
84111
|
+
if (isNaN(_0_0)) {
|
|
84112
|
+
t2 = "NaN";
|
|
84051
84113
|
break $label0$0;
|
|
84052
84114
|
}
|
|
84053
|
-
|
|
84054
|
-
_this._serialize$_buffer.write$1(0, "NaN");
|
|
84115
|
+
t2 = A.throwExpression(A.UnsupportedError$("Unexpected value " + A.S(_0_0)));
|
|
84055
84116
|
}
|
|
84117
|
+
t1.write$1(0, t2);
|
|
84056
84118
|
_this._writeCalculationUnits$2(value.get$numeratorUnits(value), value.get$denominatorUnits(value));
|
|
84057
84119
|
break $label1$1;
|
|
84058
84120
|
}
|
|
@@ -84114,14 +84176,18 @@ self.util = _cliPkgRequires.util;
|
|
|
84114
84176
|
}
|
|
84115
84177
|
},
|
|
84116
84178
|
_writeCalculationUnits$2(numeratorUnits, denominatorUnits) {
|
|
84117
|
-
var t1, t2, t3, _this = this;
|
|
84118
|
-
for (t1 = J.get$iterator$ax(numeratorUnits), t2 = _this._style !== B.OutputStyle_1; t1.moveNext$0();) {
|
|
84179
|
+
var t1, t2, negative, t3, _this = this;
|
|
84180
|
+
for (t1 = J.get$iterator$ax(numeratorUnits), t2 = _this._style !== B.OutputStyle_1, negative = false; t1.moveNext$0();) {
|
|
84119
84181
|
t3 = t1.get$current(t1);
|
|
84120
84182
|
if (t2)
|
|
84121
84183
|
_this._serialize$_buffer.writeCharCode$1(32);
|
|
84122
84184
|
_this._serialize$_buffer.writeCharCode$1(42);
|
|
84123
84185
|
if (t2)
|
|
84124
84186
|
_this._serialize$_buffer.writeCharCode$1(32);
|
|
84187
|
+
if (negative) {
|
|
84188
|
+
_this._serialize$_buffer.writeCharCode$1(45);
|
|
84189
|
+
negative = false;
|
|
84190
|
+
}
|
|
84125
84191
|
_this._serialize$_buffer.writeCharCode$1(49);
|
|
84126
84192
|
_this._serialize$_buffer.write$1(0, t3);
|
|
84127
84193
|
}
|
|
@@ -84132,6 +84198,10 @@ self.util = _cliPkgRequires.util;
|
|
|
84132
84198
|
_this._serialize$_buffer.writeCharCode$1(47);
|
|
84133
84199
|
if (t2)
|
|
84134
84200
|
_this._serialize$_buffer.writeCharCode$1(32);
|
|
84201
|
+
if (negative) {
|
|
84202
|
+
_this._serialize$_buffer.writeCharCode$1(45);
|
|
84203
|
+
negative = false;
|
|
84204
|
+
}
|
|
84135
84205
|
_this._serialize$_buffer.writeCharCode$1(49);
|
|
84136
84206
|
_this._serialize$_buffer.write$1(0, t3);
|
|
84137
84207
|
}
|
|
@@ -84754,6 +84824,10 @@ self.util = _cliPkgRequires.util;
|
|
|
84754
84824
|
_this.visitCalculation$1(new A.SassCalculation("calc", A.List_List$unmodifiable(A._setArrayType([A.SassNumber_SassNumber(number, null)], type$.JSArray_Object), type$.Object)));
|
|
84755
84825
|
return;
|
|
84756
84826
|
}
|
|
84827
|
+
if (self.Object.is(number, -0.0)) {
|
|
84828
|
+
_this._serialize$_buffer.write$1(0, "-0");
|
|
84829
|
+
return;
|
|
84830
|
+
}
|
|
84757
84831
|
_0_0 = _this._asInt$1(number);
|
|
84758
84832
|
if (_0_0 != null) {
|
|
84759
84833
|
_this._serialize$_buffer.write$1(0, _this._removeExponent$1(B.JSInt_methods.toString$0(_0_0)));
|
|
@@ -120707,23 +120781,28 @@ self.util = _cliPkgRequires.util;
|
|
|
120707
120781
|
_this._serialize0$_buffer.writeCharCode$1(41);
|
|
120708
120782
|
},
|
|
120709
120783
|
_serialize0$_writeCalculationValue$1(value) {
|
|
120710
|
-
var t1, _0_0, _1_0, first, rest, left, right, operator, parenthesizeLeft, operatorWhitespace, parenthesizeRight, _this = this;
|
|
120784
|
+
var t1, _0_0, t2, _1_0, first, rest, left, right, operator, parenthesizeLeft, operatorWhitespace, parenthesizeRight, _this = this;
|
|
120711
120785
|
$label1$1: {
|
|
120712
120786
|
t1 = value instanceof A.SassNumber0;
|
|
120713
120787
|
if (t1 && !isFinite(value._number1$_value)) {
|
|
120788
|
+
t1 = _this._serialize0$_buffer;
|
|
120789
|
+
_0_0 = value._number1$_value;
|
|
120714
120790
|
$label0$0: {
|
|
120715
|
-
_0_0 = value._number1$_value;
|
|
120716
120791
|
if (1 / 0 === _0_0) {
|
|
120717
|
-
|
|
120792
|
+
t2 = "infinity";
|
|
120718
120793
|
break $label0$0;
|
|
120719
120794
|
}
|
|
120720
120795
|
if (-1 / 0 === _0_0) {
|
|
120721
|
-
|
|
120796
|
+
t2 = "-infinity";
|
|
120797
|
+
break $label0$0;
|
|
120798
|
+
}
|
|
120799
|
+
if (isNaN(_0_0)) {
|
|
120800
|
+
t2 = "NaN";
|
|
120722
120801
|
break $label0$0;
|
|
120723
120802
|
}
|
|
120724
|
-
|
|
120725
|
-
_this._serialize0$_buffer.write$1(0, "NaN");
|
|
120803
|
+
t2 = A.throwExpression(A.UnsupportedError$("Unexpected value " + A.S(_0_0)));
|
|
120726
120804
|
}
|
|
120805
|
+
t1.write$1(0, t2);
|
|
120727
120806
|
_this._serialize0$_writeCalculationUnits$2(value.get$numeratorUnits(value), value.get$denominatorUnits(value));
|
|
120728
120807
|
break $label1$1;
|
|
120729
120808
|
}
|
|
@@ -120785,14 +120864,18 @@ self.util = _cliPkgRequires.util;
|
|
|
120785
120864
|
}
|
|
120786
120865
|
},
|
|
120787
120866
|
_serialize0$_writeCalculationUnits$2(numeratorUnits, denominatorUnits) {
|
|
120788
|
-
var t1, t2, t3, _this = this;
|
|
120789
|
-
for (t1 = J.get$iterator$ax(numeratorUnits), t2 = _this._serialize0$_style !== B.OutputStyle_10; t1.moveNext$0();) {
|
|
120867
|
+
var t1, t2, negative, t3, _this = this;
|
|
120868
|
+
for (t1 = J.get$iterator$ax(numeratorUnits), t2 = _this._serialize0$_style !== B.OutputStyle_10, negative = false; t1.moveNext$0();) {
|
|
120790
120869
|
t3 = t1.get$current(t1);
|
|
120791
120870
|
if (t2)
|
|
120792
120871
|
_this._serialize0$_buffer.writeCharCode$1(32);
|
|
120793
120872
|
_this._serialize0$_buffer.writeCharCode$1(42);
|
|
120794
120873
|
if (t2)
|
|
120795
120874
|
_this._serialize0$_buffer.writeCharCode$1(32);
|
|
120875
|
+
if (negative) {
|
|
120876
|
+
_this._serialize0$_buffer.writeCharCode$1(45);
|
|
120877
|
+
negative = false;
|
|
120878
|
+
}
|
|
120796
120879
|
_this._serialize0$_buffer.writeCharCode$1(49);
|
|
120797
120880
|
_this._serialize0$_buffer.write$1(0, t3);
|
|
120798
120881
|
}
|
|
@@ -120803,6 +120886,10 @@ self.util = _cliPkgRequires.util;
|
|
|
120803
120886
|
_this._serialize0$_buffer.writeCharCode$1(47);
|
|
120804
120887
|
if (t2)
|
|
120805
120888
|
_this._serialize0$_buffer.writeCharCode$1(32);
|
|
120889
|
+
if (negative) {
|
|
120890
|
+
_this._serialize0$_buffer.writeCharCode$1(45);
|
|
120891
|
+
negative = false;
|
|
120892
|
+
}
|
|
120806
120893
|
_this._serialize0$_buffer.writeCharCode$1(49);
|
|
120807
120894
|
_this._serialize0$_buffer.write$1(0, t3);
|
|
120808
120895
|
}
|
|
@@ -121425,6 +121512,10 @@ self.util = _cliPkgRequires.util;
|
|
|
121425
121512
|
_this.visitCalculation$1(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([A.SassNumber_SassNumber0(number, null)], type$.JSArray_Object), type$.Object)));
|
|
121426
121513
|
return;
|
|
121427
121514
|
}
|
|
121515
|
+
if (self.Object.is(number, -0.0)) {
|
|
121516
|
+
_this._serialize0$_buffer.write$1(0, "-0");
|
|
121517
|
+
return;
|
|
121518
|
+
}
|
|
121428
121519
|
_0_0 = _this._serialize0$_asInt$1(number);
|
|
121429
121520
|
if (_0_0 != null) {
|
|
121430
121521
|
_this._serialize0$_buffer.write$1(0, _this._serialize0$_removeExponent$1(B.JSInt_methods.toString$0(_0_0)));
|
|
@@ -130011,7 +130102,6 @@ self.util = _cliPkgRequires.util;
|
|
|
130011
130102
|
_.super$ListBase$setRange = _.setRange$4;
|
|
130012
130103
|
_ = A.Iterable.prototype;
|
|
130013
130104
|
_.super$Iterable$where = _.where$1;
|
|
130014
|
-
_.super$Iterable$skipWhile = _.skipWhile$1;
|
|
130015
130105
|
_ = A.ModifiableCssParentNode.prototype;
|
|
130016
130106
|
_.super$ModifiableCssParentNode$addChild = _.addChild$1;
|
|
130017
130107
|
_ = A.SimpleSelector.prototype;
|
|
@@ -131383,6 +131473,7 @@ self.util = _cliPkgRequires.util;
|
|
|
131383
131473
|
Set_Uri: findType("Set<Uri>"),
|
|
131384
131474
|
SimpleSelector: findType("SimpleSelector"),
|
|
131385
131475
|
SimpleSelector_2: findType("SimpleSelector0"),
|
|
131476
|
+
SkipWhileIterable_String: findType("SkipWhileIterable<String>"),
|
|
131386
131477
|
SourceFile: findType("SourceFile"),
|
|
131387
131478
|
SourceLocation: findType("SourceLocation"),
|
|
131388
131479
|
SourceSpan: findType("SourceSpan"),
|
|
@@ -132346,6 +132437,7 @@ self.util = _cliPkgRequires.util;
|
|
|
132346
132437
|
_lazyFinal($, "Style_platform", "$get$Style_platform", () => A.Style__getPlatformStyle());
|
|
132347
132438
|
_lazyFinal($, "startVersion", "$get$startVersion", () => A.RegExp_RegExp("^(\\d+)\\.(\\d+)\\.(\\d+)(-([0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*))?(\\+([0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*))?", false));
|
|
132348
132439
|
_lazyFinal($, "completeVersion", "$get$completeVersion", () => A.RegExp_RegExp($.$get$startVersion().pattern + "$", false));
|
|
132440
|
+
_lazyFinal($, "Version__digitsPattern", "$get$Version__digitsPattern", () => A.RegExp_RegExp("^\\d+$", false));
|
|
132349
132441
|
_lazyFinal($, "LegacyIfExpression_declaration", "$get$LegacyIfExpression_declaration", () => A.ParameterList_ParameterList$parse(string$.x40funct, null));
|
|
132350
132442
|
_lazyFinal($, "colorsByName", "$get$colorsByName", () => A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen", A.SassColor_SassColor$rgb(154, 205, 50, 1), "yellow", A.SassColor_SassColor$rgb(255, 255, 0, 1), "whitesmoke", A.SassColor_SassColor$rgb(245, 245, 245, 1), "white", A.SassColor_SassColor$rgb(255, 255, 255, 1), "wheat", A.SassColor_SassColor$rgb(245, 222, 179, 1), "violet", A.SassColor_SassColor$rgb(238, 130, 238, 1), "turquoise", A.SassColor_SassColor$rgb(64, 224, 208, 1), "transparent", A.SassColor_SassColor$rgb(0, 0, 0, 0), "tomato", A.SassColor_SassColor$rgb(255, 99, 71, 1), "thistle", A.SassColor_SassColor$rgb(216, 191, 216, 1), "teal", A.SassColor_SassColor$rgb(0, 128, 128, 1), "tan", A.SassColor_SassColor$rgb(210, 180, 140, 1), "steelblue", A.SassColor_SassColor$rgb(70, 130, 180, 1), "springgreen", A.SassColor_SassColor$rgb(0, 255, 127, 1), "snow", A.SassColor_SassColor$rgb(255, 250, 250, 1), "slategrey", A.SassColor_SassColor$rgb(112, 128, 144, 1), "slategray", A.SassColor_SassColor$rgb(112, 128, 144, 1), "slateblue", A.SassColor_SassColor$rgb(106, 90, 205, 1), "skyblue", A.SassColor_SassColor$rgb(135, 206, 235, 1), "silver", A.SassColor_SassColor$rgb(192, 192, 192, 1), "sienna", A.SassColor_SassColor$rgb(160, 82, 45, 1), "seashell", A.SassColor_SassColor$rgb(255, 245, 238, 1), "seagreen", A.SassColor_SassColor$rgb(46, 139, 87, 1), "sandybrown", A.SassColor_SassColor$rgb(244, 164, 96, 1), "salmon", A.SassColor_SassColor$rgb(250, 128, 114, 1), "saddlebrown", A.SassColor_SassColor$rgb(139, 69, 19, 1), "royalblue", A.SassColor_SassColor$rgb(65, 105, 225, 1), "rosybrown", A.SassColor_SassColor$rgb(188, 143, 143, 1), "red", A.SassColor_SassColor$rgb(255, 0, 0, 1), "rebeccapurple", A.SassColor_SassColor$rgb(102, 51, 153, 1), "purple", A.SassColor_SassColor$rgb(128, 0, 128, 1), "powderblue", A.SassColor_SassColor$rgb(176, 224, 230, 1), "plum", A.SassColor_SassColor$rgb(221, 160, 221, 1), "pink", A.SassColor_SassColor$rgb(255, 192, 203, 1), "peru", A.SassColor_SassColor$rgb(205, 133, 63, 1), "peachpuff", A.SassColor_SassColor$rgb(255, 218, 185, 1), "papayawhip", A.SassColor_SassColor$rgb(255, 239, 213, 1), "palevioletred", A.SassColor_SassColor$rgb(219, 112, 147, 1), "paleturquoise", A.SassColor_SassColor$rgb(175, 238, 238, 1), "palegreen", A.SassColor_SassColor$rgb(152, 251, 152, 1), "palegoldenrod", A.SassColor_SassColor$rgb(238, 232, 170, 1), "orchid", A.SassColor_SassColor$rgb(218, 112, 214, 1), "orangered", A.SassColor_SassColor$rgb(255, 69, 0, 1), "orange", A.SassColor_SassColor$rgb(255, 165, 0, 1), "olivedrab", A.SassColor_SassColor$rgb(107, 142, 35, 1), "olive", A.SassColor_SassColor$rgb(128, 128, 0, 1), "oldlace", A.SassColor_SassColor$rgb(253, 245, 230, 1), "navy", A.SassColor_SassColor$rgb(0, 0, 128, 1), "navajowhite", A.SassColor_SassColor$rgb(255, 222, 173, 1), "moccasin", A.SassColor_SassColor$rgb(255, 228, 181, 1), "mistyrose", A.SassColor_SassColor$rgb(255, 228, 225, 1), "mintcream", A.SassColor_SassColor$rgb(245, 255, 250, 1), "midnightblue", A.SassColor_SassColor$rgb(25, 25, 112, 1), "mediumvioletred", A.SassColor_SassColor$rgb(199, 21, 133, 1), "mediumturquoise", A.SassColor_SassColor$rgb(72, 209, 204, 1), "mediumspringgreen", A.SassColor_SassColor$rgb(0, 250, 154, 1), "mediumslateblue", A.SassColor_SassColor$rgb(123, 104, 238, 1), "mediumseagreen", A.SassColor_SassColor$rgb(60, 179, 113, 1), "mediumpurple", A.SassColor_SassColor$rgb(147, 112, 219, 1), "mediumorchid", A.SassColor_SassColor$rgb(186, 85, 211, 1), "mediumblue", A.SassColor_SassColor$rgb(0, 0, 205, 1), "mediumaquamarine", A.SassColor_SassColor$rgb(102, 205, 170, 1), "maroon", A.SassColor_SassColor$rgb(128, 0, 0, 1), "magenta", A.SassColor_SassColor$rgb(255, 0, 255, 1), "linen", A.SassColor_SassColor$rgb(250, 240, 230, 1), "limegreen", A.SassColor_SassColor$rgb(50, 205, 50, 1), "lime", A.SassColor_SassColor$rgb(0, 255, 0, 1), "lightyellow", A.SassColor_SassColor$rgb(255, 255, 224, 1), "lightsteelblue", A.SassColor_SassColor$rgb(176, 196, 222, 1), "lightslategrey", A.SassColor_SassColor$rgb(119, 136, 153, 1), "lightslategray", A.SassColor_SassColor$rgb(119, 136, 153, 1), "lightskyblue", A.SassColor_SassColor$rgb(135, 206, 250, 1), "lightseagreen", A.SassColor_SassColor$rgb(32, 178, 170, 1), "lightsalmon", A.SassColor_SassColor$rgb(255, 160, 122, 1), "lightpink", A.SassColor_SassColor$rgb(255, 182, 193, 1), "lightgrey", A.SassColor_SassColor$rgb(211, 211, 211, 1), "lightgreen", A.SassColor_SassColor$rgb(144, 238, 144, 1), "lightgray", A.SassColor_SassColor$rgb(211, 211, 211, 1), "lightgoldenrodyellow", A.SassColor_SassColor$rgb(250, 250, 210, 1), "lightcyan", A.SassColor_SassColor$rgb(224, 255, 255, 1), "lightcoral", A.SassColor_SassColor$rgb(240, 128, 128, 1), "lightblue", A.SassColor_SassColor$rgb(173, 216, 230, 1), "lemonchiffon", A.SassColor_SassColor$rgb(255, 250, 205, 1), "lawngreen", A.SassColor_SassColor$rgb(124, 252, 0, 1), "lavenderblush", A.SassColor_SassColor$rgb(255, 240, 245, 1), "lavender", A.SassColor_SassColor$rgb(230, 230, 250, 1), "khaki", A.SassColor_SassColor$rgb(240, 230, 140, 1), "ivory", A.SassColor_SassColor$rgb(255, 255, 240, 1), "indigo", A.SassColor_SassColor$rgb(75, 0, 130, 1), "indianred", A.SassColor_SassColor$rgb(205, 92, 92, 1), "hotpink", A.SassColor_SassColor$rgb(255, 105, 180, 1), "honeydew", A.SassColor_SassColor$rgb(240, 255, 240, 1), "grey", A.SassColor_SassColor$rgb(128, 128, 128, 1), "greenyellow", A.SassColor_SassColor$rgb(173, 255, 47, 1), "green", A.SassColor_SassColor$rgb(0, 128, 0, 1), "gray", A.SassColor_SassColor$rgb(128, 128, 128, 1), "goldenrod", A.SassColor_SassColor$rgb(218, 165, 32, 1), "gold", A.SassColor_SassColor$rgb(255, 215, 0, 1), "ghostwhite", A.SassColor_SassColor$rgb(248, 248, 255, 1), "gainsboro", A.SassColor_SassColor$rgb(220, 220, 220, 1), "fuchsia", A.SassColor_SassColor$rgb(255, 0, 255, 1), "forestgreen", A.SassColor_SassColor$rgb(34, 139, 34, 1), "floralwhite", A.SassColor_SassColor$rgb(255, 250, 240, 1), "firebrick", A.SassColor_SassColor$rgb(178, 34, 34, 1), "dodgerblue", A.SassColor_SassColor$rgb(30, 144, 255, 1), "dimgrey", A.SassColor_SassColor$rgb(105, 105, 105, 1), "dimgray", A.SassColor_SassColor$rgb(105, 105, 105, 1), "deepskyblue", A.SassColor_SassColor$rgb(0, 191, 255, 1), "deeppink", A.SassColor_SassColor$rgb(255, 20, 147, 1), "darkviolet", A.SassColor_SassColor$rgb(148, 0, 211, 1), "darkturquoise", A.SassColor_SassColor$rgb(0, 206, 209, 1), "darkslategrey", A.SassColor_SassColor$rgb(47, 79, 79, 1), "darkslategray", A.SassColor_SassColor$rgb(47, 79, 79, 1), "darkslateblue", A.SassColor_SassColor$rgb(72, 61, 139, 1), "darkseagreen", A.SassColor_SassColor$rgb(143, 188, 143, 1), "darksalmon", A.SassColor_SassColor$rgb(233, 150, 122, 1), "darkred", A.SassColor_SassColor$rgb(139, 0, 0, 1), "darkorchid", A.SassColor_SassColor$rgb(153, 50, 204, 1), "darkorange", A.SassColor_SassColor$rgb(255, 140, 0, 1), "darkolivegreen", A.SassColor_SassColor$rgb(85, 107, 47, 1), "darkmagenta", A.SassColor_SassColor$rgb(139, 0, 139, 1), "darkkhaki", A.SassColor_SassColor$rgb(189, 183, 107, 1), "darkgrey", A.SassColor_SassColor$rgb(169, 169, 169, 1), "darkgreen", A.SassColor_SassColor$rgb(0, 100, 0, 1), "darkgray", A.SassColor_SassColor$rgb(169, 169, 169, 1), "darkgoldenrod", A.SassColor_SassColor$rgb(184, 134, 11, 1), "darkcyan", A.SassColor_SassColor$rgb(0, 139, 139, 1), "darkblue", A.SassColor_SassColor$rgb(0, 0, 139, 1), "cyan", A.SassColor_SassColor$rgb(0, 255, 255, 1), "crimson", A.SassColor_SassColor$rgb(220, 20, 60, 1), "cornsilk", A.SassColor_SassColor$rgb(255, 248, 220, 1), "cornflowerblue", A.SassColor_SassColor$rgb(100, 149, 237, 1), "coral", A.SassColor_SassColor$rgb(255, 127, 80, 1), "chocolate", A.SassColor_SassColor$rgb(210, 105, 30, 1), "chartreuse", A.SassColor_SassColor$rgb(127, 255, 0, 1), "cadetblue", A.SassColor_SassColor$rgb(95, 158, 160, 1), "burlywood", A.SassColor_SassColor$rgb(222, 184, 135, 1), "brown", A.SassColor_SassColor$rgb(165, 42, 42, 1), "blueviolet", A.SassColor_SassColor$rgb(138, 43, 226, 1), "blue", A.SassColor_SassColor$rgb(0, 0, 255, 1), "blanchedalmond", A.SassColor_SassColor$rgb(255, 235, 205, 1), "black", A.SassColor_SassColor$rgb(0, 0, 0, 1), "bisque", A.SassColor_SassColor$rgb(255, 228, 196, 1), "beige", A.SassColor_SassColor$rgb(245, 245, 220, 1), "azure", A.SassColor_SassColor$rgb(240, 255, 255, 1), "aquamarine", A.SassColor_SassColor$rgb(127, 255, 212, 1), "aqua", A.SassColor_SassColor$rgb(0, 255, 255, 1), "antiquewhite", A.SassColor_SassColor$rgb(250, 235, 215, 1), "aliceblue", A.SassColor_SassColor$rgb(240, 248, 255, 1)], type$.String, type$.SassColor));
|
|
132351
132443
|
_lazyFinal($, "namesByColor", "$get$namesByColor", () => {
|
|
@@ -132647,7 +132739,7 @@ self.util = _cliPkgRequires.util;
|
|
|
132647
132739
|
_lazyFinal($, "Frame__uriRegExp", "$get$Frame__uriRegExp", () => A.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", false));
|
|
132648
132740
|
_lazyFinal($, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", () => A.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", false));
|
|
132649
132741
|
_lazyFinal($, "_terseRegExp", "$get$_terseRegExp", () => A.RegExp_RegExp("(-patch)?([/\\\\].*)?$", false));
|
|
132650
|
-
_lazyFinal($, "_v8Trace", "$get$_v8Trace", () => A.RegExp_RegExp("
|
|
132742
|
+
_lazyFinal($, "_v8Trace", "$get$_v8Trace", () => A.RegExp_RegExp("(?:^|\\n) ?at ", false));
|
|
132651
132743
|
_lazyFinal($, "_v8TraceLine", "$get$_v8TraceLine", () => A.RegExp_RegExp(" ?at ", false));
|
|
132652
132744
|
_lazyFinal($, "_firefoxEvalTrace", "$get$_firefoxEvalTrace", () => A.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+", false));
|
|
132653
132745
|
_lazyFinal($, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", () => A.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true));
|